:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0B1220; background: #F5F7F8; --navy:#0B1220; --blue:#56C7C4; --teal:#56C7C4; --mint:#B7E3D6; --green:#147a3d; --muted:#667085; --line:#e4e9f2; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.container { max-width: 1120px; margin: 0 auto; padding: 28px 20px; }
.nav { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.nav nav { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.nav a { text-decoration:none; color:#24324a; font-weight:700; }
.brand { font-weight:900; color:var(--navy); text-decoration:none; letter-spacing:-.03em; font-size:20px; display:inline-flex; align-items:center; gap:9px; }
.brand:before { content:""; width:24px; height:24px; border-radius:7px; display:inline-block; background:linear-gradient(135deg,var(--teal) 0 42%,#fff0 42%), linear-gradient(45deg,var(--navy) 0 50%,var(--mint) 50%); box-shadow:inset 0 0 0 2px rgba(255,255,255,.72), 0 8px 18px rgba(11,18,32,.12); }
.hero { min-height: 78vh; display: grid; place-items: center; }
.marketing-hero { background: radial-gradient(circle at 20% 20%, #dbeafe, transparent 30%), linear-gradient(180deg,#fff,#f6f8fb); }
.hero-grid { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap:34px; align-items:center; }
h1 { font-size: clamp(40px, 8vw, 78px); line-height:.95; letter-spacing:-.06em; margin: 8px 0 18px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height:1; letter-spacing:-.04em; margin: 8px 0 16px; }
h3 { margin-bottom: 6px; }
.lead { font-size: 21px; line-height:1.45; color:#3b4a60; max-width:660px; }
.eyebrow { color: var(--blue); text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:900; }
.trust,.muted { color:var(--muted); }
.card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 16px 40px rgba(20,30,60,.07); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.split { display:grid; grid-template-columns: .8fr 1.2fr; gap:34px; align-items:start; }
.section { padding-top:56px; padding-bottom:56px; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 12px; }
.button, button { display: inline-block; width: auto; border: 0; background: var(--navy); color: white; padding: 12px 18px; border-radius: 999px; text-decoration: none; cursor: pointer; font-weight: 800; font: inherit; }
.button.small { padding:9px 13px; font-size:14px; }
.secondary { background:#E7F7F2; color:#0B1220; }
input, select { width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid #ccd6e0; font: inherit; margin: 6px 0 14px; background:#fff; }
textarea { width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid #ccd6e0; font: inherit; margin: 6px 0 14px; background:#fff; resize: vertical; }
label { font-weight:800; font-size:14px; }
.kpi { font-size: 34px; font-weight: 900; margin: 6px 0; letter-spacing:-.04em; }
.good { color: var(--green); } .warn,.error { color: #b42318; background:#fef3f2; border:1px solid #fecdca; padding:10px 12px; border-radius:12px; }
.notice { background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; padding:10px 12px; border-radius:12px; margin:12px 0; overflow-wrap:anywhere; }
.dev-link { background:#fffbeb; border:1px solid #fde68a; padding:12px; border-radius:12px; overflow-wrap:anywhere; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #edf1f5; }
.header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.metric-row { display:flex; justify-content:space-between; border-bottom:1px solid #edf1f5; padding:14px 0; }
.safe-card { background:#ecfdf5; color:#065f46; padding:20px; border-radius:18px; display:flex; justify-content:space-between; align-items:center; margin:16px 0; }
.safe-card strong { font-size:34px; }
.envelope-pill { display:inline-block; background:#f2f6ff; color:#203864; padding:8px 10px; border-radius:999px; margin:4px; font-weight:800; font-size:13px; }
.mini-label { color:var(--muted); font-weight:800; margin-bottom:8px; }
.checklist { padding:0; list-style:none; }
.checklist li { margin:10px 0; padding-left:28px; position:relative; }
.checklist li:before { content:'✓'; position:absolute; left:0; color:var(--green); font-weight:900; }
blockquote { margin:0; font-size:18px; line-height:1.45; }
cite { display:block; margin-top:16px; color:var(--muted); font-size:14px; font-style:normal; font-weight:800; }
.final-cta { text-align:center; margin-bottom:56px; }
.auth-shell { min-height:100vh; display:grid; grid-template-columns:minmax(320px,520px) 1fr; }
.auth-card { border-radius:0; box-shadow:none; padding: clamp(28px,6vw,72px); display:flex; flex-direction:column; justify-content:center; }
.auth-card h1 { font-size: clamp(36px,5vw,58px); }
.auth-side { background:linear-gradient(135deg,#0B1220,#168986); color:white; padding: clamp(28px,6vw,72px); display:flex; flex-direction:column; justify-content:center; }
.auth-side p,.auth-side .checklist li:before { color:white; }
.login-auth { grid-template-columns:1fr; place-items:center; padding:clamp(28px,6vw,72px) 20px; }
.login-auth .auth-card { width:min(100%,520px); border-radius:28px; box-shadow:0 24px 70px rgba(20,30,60,.10); }
.setup-card { margin-bottom:16px; }
.setup-list { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 14px; }
.setup-list span { background:#f2f6ff; color:#203864; padding:9px 11px; border-radius:999px; font-weight:800; font-size:13px; }
.legal { max-width: 880px; line-height: 1.7; }
.legal h1 { font-size: clamp(38px, 6vw, 64px); }
.legal h2 { font-size: 26px; margin-top: 34px; }
.legal-page { min-height:100vh; background:radial-gradient(circle at 50% -10%, rgba(0,113,227,.14), transparent 34%), linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 44%,#eef1f6 100%); }
.legal-topbar nav a[aria-current='page'], .legal-footer a[aria-current='page'] { color:#1d1d1f; font-weight:950; }
.legal-shell { max-width:960px; margin:0 auto; padding:74px 22px 34px; }
.legal-hero { text-align:center; padding:40px 0 30px; }
.legal-hero h1 { margin:8px auto 14px; max-width:780px; font-size:clamp(48px,9vw,92px); line-height:.9; letter-spacing:-.075em; }
.legal-summary { max-width:720px; margin:0 auto; color:#515154; font-size:clamp(18px,2.4vw,23px); line-height:1.36; font-weight:650; }
.legal-updated { display:inline-flex; margin:24px 0 0; padding:9px 13px; border-radius:999px; background:#fff; border:1px solid rgba(0,0,0,.06); color:#6e6e73; font-size:13px; font-weight:900; box-shadow:0 14px 40px rgba(20,40,80,.06); }
.legal-card { background:rgba(255,255,255,.88); border:1px solid rgba(0,0,0,.065); border-radius:34px; padding:clamp(24px,5vw,54px); box-shadow:0 30px 90px rgba(20,40,80,.10); backdrop-filter:blur(18px); line-height:1.72; color:#24324a; }
.legal-card h2 { margin:38px 0 12px; color:#1d1d1f; font-size:clamp(24px,3.3vw,34px); line-height:1.08; letter-spacing:-.045em; }
.legal-card h2:first-child { margin-top:0; }
.legal-card h3 { margin:24px 0 8px; color:#1d1d1f; font-size:18px; letter-spacing:-.02em; }
.legal-card p, .legal-card li { font-size:16px; }
.legal-card p { margin:0 0 15px; }
.legal-card ul { margin:10px 0 18px; padding-left:1.25rem; }
.legal-card li { margin:8px 0; padding-left:4px; }
.legal-card a { color:#168986; font-weight:850; }
.legal-footer { margin-top:34px; }
.footer { display:flex; gap:18px; justify-content:center; color:var(--muted); padding-bottom:42px; }
.inline { display:inline-flex; align-items:center; gap:8px; margin:4px; }
.inline select { width:auto; min-width:100px; margin:0; }
.divider { display:flex; align-items:center; gap:12px; color:#98a2b3; margin:18px 0; font-weight:800; }
.divider:before,.divider:after { content:''; height:1px; background:#e4e9f2; flex:1; }
.google-button { width:100%; background:#fff; color:#1d1d1f; border:1px solid #d0d5dd; border-radius:999px; box-shadow:0 4px 14px rgba(16,24,40,.06); }
@media (max-width: 800px) { .hero-grid,.split,.auth-shell { grid-template-columns:1fr; } .auth-side { display:none; } .nav { align-items:flex-start; } .nav nav { justify-content:flex-end; gap:10px; } h1 { font-size:44px; } }

/* Premium Fundlyr redesign */
.premium { background:#f5f5f7; color:#1d1d1f; }
.topbar { position:sticky; top:0; z-index:20; backdrop-filter:saturate(180%) blur(20px); background:rgba(251,251,253,.78); border-bottom:1px solid rgba(0,0,0,.06); height:52px; display:flex; align-items:center; justify-content:space-between; padding:0 max(22px,calc((100vw - 1180px)/2)); }
.topbar nav { display:flex; gap:22px; align-items:center; font-size:13px; }
.topbar a { color:#1d1d1f; text-decoration:none; }
.pill-link { background:#56C7C4; color:white!important; padding:7px 13px; border-radius:999px; }
.apple-hero { text-align:center; padding:86px 20px 36px; overflow:hidden; background:radial-gradient(circle at 50% 25%, #fff 0, #F5F7F8 42%, #E7F7F2 100%); }
.apple-hero h1 { max-width:980px; margin:10px auto 18px; font-size:clamp(58px,11vw,132px); line-height:.88; letter-spacing:-.075em; font-weight:900; }
.hero-subtitle { max-width:760px; margin:0 auto; color:#515154; font-size:clamp(20px,2.4vw,28px); line-height:1.25; font-weight:600; }
.hero-actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin:30px 0 48px; }
.button.dark { background:#1d1d1f; color:#fff; }
.button.glass { background:rgba(255,255,255,.78); color:#1d1d1f; border:1px solid rgba(0,0,0,.08); }
.button.light { background:#fff; color:#111; }
.device-stage { perspective:1200px; display:grid; place-items:center; min-height:560px; position:relative; isolation:isolate; }
.iphone-card { width:min(420px,88vw); border-radius:54px; background:linear-gradient(180deg,#111827,#05070c); color:#fff; padding:26px; box-shadow:0 55px 130px rgba(20,40,100,.34), inset 0 0 0 10px #0b0d12; transform:rotateX(8deg); }
.motion-ok .iphone-card { animation: phoneFloat 7s ease-in-out infinite; }
.dynamic-island { width:118px; height:34px; border-radius:999px; background:#020409; margin:0 auto 10px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.05); }
.phone-header { display:flex; justify-content:space-between; color:#c7d2fe; font-size:14px; padding:8px 8px 18px; }
.safe-amount { background:linear-gradient(135deg,#e8fff5,#baf7d4); color:#064e3b; border-radius:34px; padding:28px; text-align:left; }
.safe-amount span,.balance-grid span,.envelope-line span { display:block; color:inherit; opacity:.72; font-size:13px; font-weight:800; }
.safe-amount strong { font-size:74px; letter-spacing:-.07em; display:block; }
.balance-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.balance-grid div { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.09); border-radius:22px; padding:18px; text-align:left; }
.balance-grid b { font-size:25px; letter-spacing:-.04em; }
.envelope-line { background:rgba(255,255,255,.08); border-radius:18px; padding:14px; margin-top:10px; display:grid; grid-template-columns:92px 1fr 70px; gap:10px; align-items:center; text-align:left; }
.envelope-line i { height:8px; background:linear-gradient(90deg,#dbeafe,#60a5fa); border-radius:999px; display:block; transform-origin:left; }
.motion-ok .envelope-line i { animation: barFill 1.2s ease both; }
.home-indicator { width:132px; height:5px; border-radius:999px; background:rgba(255,255,255,.45); margin:22px auto 2px; }
.photo-orbit { position:absolute; z-index:-1; border-radius:34px; overflow:hidden; box-shadow:0 34px 90px rgba(20,40,80,.22); border:1px solid rgba(255,255,255,.62); }
.photo-orbit img { width:100%; height:100%; object-fit:cover; display:block; }
.photo-one { width:260px; height:330px; left:8%; top:48px; transform:rotate(-8deg); }
.photo-two { width:190px; height:190px; right:10%; bottom:72px; transform:rotate(10deg); }
.paycheck-toast { position:absolute; right:12%; top:86px; background:rgba(255,255,255,.86); backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.7); border-radius:22px; padding:14px 16px; box-shadow:0 22px 60px rgba(20,40,80,.18); text-align:left; min-width:210px; }
.paycheck-toast b,.paycheck-toast span { display:block; }
.paycheck-toast span { color:#667085; font-size:13px; margin-top:3px; }
.premium-section { max-width:1180px; margin:0 auto; padding:88px 22px; }
.centered { text-align:center; }
.centered h2 { max-width:930px; margin:0 auto 18px; font-size:clamp(42px,7vw,86px); letter-spacing:-.065em; }
.section-copy { max-width:760px; margin:0 auto; color:#515154; font-size:22px; line-height:1.35; }
.feature-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:20px; }
.premium-card { background:#fff; border-radius:34px; padding:36px; min-height:260px; box-shadow:none; border:0; }
.premium-card.large { grid-row:span 2; min-height:540px; background:linear-gradient(160deg,#fff,#eaf1ff); }
.premium-card h3 { font-size:clamp(30px,4vw,54px); line-height:1; letter-spacing:-.055em; margin:0 0 14px; }
.premium-card p { color:#515154; font-size:20px; line-height:1.35; }
.dark-panel { background:#111; color:#fff; border-radius:44px; padding:60px; }
.dark-panel h2 { color:#fff; font-size:clamp(42px,7vw,82px); }
.security-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; margin-top:30px; }
.security-grid div { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:22px; padding:22px; }
.security-grid b,.security-grid span { display:block; }
.security-grid span { color:#c9c9cf; margin-top:8px; }
.review-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:32px; }
.review-row blockquote { background:#fff; border-radius:30px; padding:30px; text-align:left; font-size:21px; }
.final-band { background:linear-gradient(135deg,#56C7C4,#B7E3D6); color:#fff; border-radius:44px; text-align:center; margin-bottom:70px; }
.final-band h2 { color:#fff; font-size:clamp(44px,8vw,92px); }
.final-band p { font-size:22px; color:rgba(255,255,255,.82); }
.premium-footer { max-width:1180px; margin:0 auto; padding:24px 22px 44px; display:flex; gap:18px; justify-content:center; color:#6e6e73; font-size:13px; }
.premium-footer a { color:#6e6e73; text-decoration:none; }
.reveal { opacity:1; transform:none; }
.motion-ok .reveal { opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .5s ease; }
.motion-ok .reveal:not(.is-visible) { will-change:opacity, transform; }
.motion-ok .reveal.is-visible { opacity:1; transform:translateY(0); }
@keyframes phoneFloat { 0%,100%{ transform:rotateX(8deg) translateY(0); } 50%{ transform:rotateX(8deg) translateY(-10px); } }
@keyframes barFill { from { transform:scaleX(.08); opacity:.4; } to { transform:scaleX(1); opacity:1; } }
@media (max-width:850px){ .topbar { padding:0 16px; } .topbar nav { gap:12px; } .topbar nav a:not(.pill-link):not([href='/login']){display:none;} .feature-grid{grid-template-columns:1fr;} .premium-card.large{min-height:320px;} .dark-panel{border-radius:28px; padding:34px;} .apple-hero { padding-top:62px; } .apple-hero h1{font-size:clamp(52px,15vw,72px);} .hero-subtitle{font-size:20px;} .device-stage{min-height:500px;} .photo-one{width:150px;height:190px;left:-28px;top:20px;} .photo-two{width:120px;height:120px;right:-22px;bottom:78px;} .paycheck-toast{right:8px;top:42px;transform:scale(.88);transform-origin:top right;} .iphone-card{width:min(360px,92vw); border-radius:42px; padding:20px; box-shadow:0 35px 90px rgba(20,40,100,.28), inset 0 0 0 8px #0b0d12;} .safe-amount strong{font-size:58px;} .envelope-line{grid-template-columns:82px 1fr 58px;font-size:13px;} .premium-section{padding:58px 18px;} .centered h2,.pricing-panel h2,.final-band h2,.dark-panel h2{font-size:clamp(38px,12vw,58px);} }
.pricing-panel { display:grid; grid-template-columns:1fr 360px; gap:24px; align-items:center; }
.pricing-panel h2 { font-size:clamp(42px,7vw,82px); }
.pricing-panel p { color:#515154; font-size:21px; line-height:1.35; }
.price-card { background:#fff; border-radius:34px; padding:34px; box-shadow:0 24px 80px rgba(20,40,80,.10); }
.price-card span,.price-card small,.price-card em { display:block; color:#6e6e73; }
.price-card strong { font-size:88px; letter-spacing:-.08em; line-height:1; display:inline-block; margin:12px 0; }
.price-card .button { margin:22px 0 12px; }
@media (max-width:850px){ .pricing-panel{grid-template-columns:1fr;} }
@media (max-width: 720px) {
  .dashboard-page { padding:18px 12px 42px; }
  .dashboard-page .header { align-items:flex-start; }
  .dashboard-page .header h1 { font-size:34px; letter-spacing:-.05em; }
  .dashboard-page .grid { grid-template-columns:1fr; gap:12px; }
  .dashboard-page .grid > .card:nth-child(3) { position:sticky; top:8px; z-index:10; border-color:#bbf7d0; }
  .setup-list { display:grid; grid-template-columns:1fr; }
  .data-card table, .data-card thead, .data-card tbody, .data-card tr, .data-card th, .data-card td { display:block; width:100%; }
  .data-card thead { display:none; }
  .data-card tr { background:#f8fafc; border:1px solid #e4e9f2; border-radius:18px; padding:12px; margin:12px 0; }
  .data-card td { border:0; padding:7px 0; display:flex; justify-content:space-between; gap:18px; text-align:right; }
  .data-card td:before { content:attr(data-label); color:#667085; font-weight:800; text-align:left; }
  .data-card td[data-label='Name'] { display:block; text-align:left; font-weight:900; font-size:16px; }
  .data-card td[data-label='Name']:before { display:none; }
  .data-card td[data-label='Amount'], .data-card td[data-label='Balance'] { font-weight:900; color:#111827; }
}
.auth-preview { margin-top:34px; width:min(320px,100%); border-radius:30px; padding:24px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.24); box-shadow:0 30px 80px rgba(0,0,0,.22); backdrop-filter:blur(18px); }
.auth-preview span { display:block; color:rgba(255,255,255,.72); font-weight:800; }
.auth-preview strong { display:block; font-size:46px; letter-spacing:-.06em; margin:4px 0 14px; }
.auth-preview i { display:block; height:8px; border-radius:999px; background:linear-gradient(90deg,#fff,rgba(255,255,255,.25)); margin:0 0 18px; transform-origin:left; }
.motion-ok .auth-preview i { animation: barFill 1.4s ease both; }
.auth-preview p { margin:10px 0 0; color:rgba(255,255,255,.82); font-weight:750; }
.notice.is-warning { border-color:#fed7aa; background:#fff7ed; color:#9a3412; }
@media (max-width: 820px) { .auth-side { display:none; } .auth-card { border-radius:28px; } }
.app-shell { min-height:100vh; background:radial-gradient(circle at 50% -10%, rgba(0,113,227,.18), transparent 34%), linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 38%,#eef1f6 100%); color:#1d1d1f; }
.mobile-app { max-width:480px; margin:0 auto; padding:max(18px, env(safe-area-inset-top)) 16px 42px; }
.app-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.app-kicker { margin:0 0 3px; color:#6e6e73; font-size:13px; font-weight:800; }
.app-header h1 { margin:0; font-size:32px; letter-spacing:-.055em; }
.icon-button { width:42px; height:42px; border-radius:999px; background:rgba(255,255,255,.74); color:#1d1d1f; border:1px solid rgba(0,0,0,.06); box-shadow:0 12px 32px rgba(20,40,80,.08); }
.toast { border-radius:18px; padding:13px 15px; margin:0 0 14px; font-weight:800; }
.toast.success { background:#ecfdf3; color:#05603a; border:1px solid #bbf7d0; }
.safe-spend-card { position:relative; overflow:hidden; border-radius:34px; padding:28px; color:#063f2b; background:radial-gradient(circle at 85% 10%, rgba(255,255,255,.9), transparent 28%), linear-gradient(135deg,#dcfff1,#a9f4cb 48%,#75dda7); box-shadow:0 28px 80px rgba(22,163,74,.22); }
.safe-spend-card span { display:block; font-weight:900; color:rgba(6,63,43,.68); }
.safe-spend-card strong { display:block; margin:6px 0 8px; font-size:clamp(56px,17vw,72px); line-height:.9; letter-spacing:-.085em; }
.safe-spend-card p { margin:0; max-width:280px; color:rgba(6,63,43,.72); font-weight:700; }
.money-strip { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.money-strip div,.progress-card,.bucket-card,.activity-row,.form-sheet { background:rgba(255,255,255,.78); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 50px rgba(20,40,80,.08); backdrop-filter:blur(22px); }
.money-strip div { border-radius:24px; padding:17px; }
.money-strip span,.bucket-card p,.activity-row p { color:#6e6e73; font-size:13px; font-weight:800; }
.money-strip b { display:block; margin-top:4px; font-size:24px; letter-spacing:-.045em; }
.progress-card { border-radius:28px; padding:20px; margin:16px 0 22px; }
.progress-head,.section-title { display:flex; align-items:center; justify-content:space-between; }
.progress-head h2,.section-title h2 { margin:0; font-size:22px; letter-spacing:-.04em; }
.section-title a { text-decoration:none; font-weight:900; color:#1d1d1f; }
.section-title a:after { content:' ›'; }
.progress-bar { height:9px; border-radius:999px; background:#e9edf3; overflow:hidden; margin:14px 0; }
.progress-bar i,.bucket-meter i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#0071e3,#34c759); }
.setup-chips { display:flex; gap:8px; flex-wrap:wrap; }
.setup-chips span { padding:8px 10px; border-radius:999px; background:#f2f6ff; color:#168986; font-size:12px; font-weight:900; }
.app-section { margin-top:24px; }
.bucket-list,.activity-list { display:grid; gap:12px; margin-top:12px; }
.bucket-card { border-radius:26px; padding:18px; display:grid; grid-template-columns:1fr auto; gap:12px; }
.bucket-card h3,.activity-row h3 { margin:0 0 4px; font-size:17px; letter-spacing:-.025em; }
.bucket-card strong { font-size:20px; letter-spacing:-.04em; }
.bucket-meter { grid-column:1 / -1; height:8px; border-radius:999px; background:#edf1f5; overflow:hidden; }
.activity-row { border-radius:24px; padding:14px; display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; }
.merchant-dot { width:42px; height:42px; border-radius:15px; display:grid; place-items:center; background:#111827; color:white; font-weight:900; }
.activity-row strong { font-size:16px; letter-spacing:-.03em; }
.activity-row strong.positive { color:#118447; }
.empty-state { margin:0; border-radius:22px; padding:18px; background:rgba(255,255,255,.64); color:#6e6e73; font-weight:750; }
.form-sheet { margin-top:16px; border-radius:26px; padding:6px 18px 18px; }
.form-sheet summary { cursor:pointer; padding:16px 0; font-size:18px; font-weight:900; letter-spacing:-.03em; }
.form-sheet form { margin-top:4px; }
@media (min-width:900px){ .mobile-app{max-width:820px;} .bucket-list{grid-template-columns:1fr 1fr;} .safe-spend-card{padding:36px;} }
.review-card { border-radius:26px; padding:16px; background:rgba(255,255,255,.84); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 50px rgba(20,40,80,.08); }
.review-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.review-head h3 { margin:0 0 4px; font-size:17px; letter-spacing:-.025em; }
.review-head p { margin:0; color:#6e6e73; font-size:13px; font-weight:800; }
.review-head span { border-radius:999px; background:#fff7ed; color:#9a3412; padding:7px 9px; font-size:11px; font-weight:950; white-space:nowrap; }
.review-form { display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:end; margin-top:14px; }
.review-form select { margin:0; }
.review-form button { margin:0; padding:11px 12px; }
@media (max-width:520px){ .review-form{grid-template-columns:1fr 1fr;} .review-form select{grid-column:1 / -1;} }
/* Refined marketing + onboarding polish */
.lux-hero { max-width:1220px; margin:0 auto; padding:118px 22px 58px; display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,560px); gap:54px; align-items:center; }
.hero-copy { text-align:left; }
.hero-copy h1 { margin:10px 0 20px; font-size:clamp(58px,8vw,112px); line-height:.9; letter-spacing:-.075em; }
.hero-copy .hero-subtitle { margin-left:0; }
.hero-art { position:relative; min-height:620px; display:grid; place-items:center; isolation:isolate; }
.lifestyle-panel { position:absolute; inset:28px 80px auto 0; height:390px; border-radius:42px; overflow:hidden; box-shadow:0 36px 100px rgba(20,40,80,.20); z-index:-2; }
.lifestyle-panel:after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(9,17,32,.08),rgba(9,17,32,.38)); }
.lifestyle-panel img { width:100%; height:100%; object-fit:cover; display:block; }
.lifestyle-panel span { position:absolute; left:24px; bottom:22px; z-index:1; color:white; font-weight:900; letter-spacing:-.02em; }
.refined-phone { transform:translate(58px,60px) rotateX(5deg); }
.motion-ok .refined-phone { animation: phoneFloatRefined 7s ease-in-out infinite; }
.refined-toast { right:18px; top:88px; }
.product-story { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.product-story article { min-height:260px; border-radius:34px; padding:26px; background:linear-gradient(180deg,#fff,#f6f8fb); border:1px solid rgba(0,0,0,.055); box-shadow:0 24px 70px rgba(20,40,80,.08); }
.product-story span { color:#9aa4b2; font-weight:950; }
.product-story h3 { font-size:25px; letter-spacing:-.045em; margin:42px 0 10px; }
.product-story p { color:#667085; font-weight:700; line-height:1.55; }
.site-footer { width:100%; max-width:none; box-sizing:border-box; margin:0; padding:48px max(22px,calc((100vw - 1180px) / 2 + 22px)) 60px; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:60px; color:#6e6e73; background:rgba(255,255,255,.52); border-top:1px solid rgba(0,0,0,.08); }
.site-footer p { max-width:300px; line-height:1.5; }
.site-footer nav { display:grid; gap:10px; align-content:start; }
.site-footer strong { color:#1d1d1f; font-size:13px; }
.site-footer a { text-decoration:none; color:#6e6e73; font-weight:750; }
.footer-legal { grid-column:1 / -1; text-align:center; font-size:13px; color:#8a93a3; margin-top:6px; }
.simple-footer { width:100%; box-sizing:border-box; display:flex; justify-content:center; gap:20px; margin:0; padding:22px 18px 36px; color:#8a93a3; font-size:13px; background:rgba(255,255,255,.52); border-top:1px solid rgba(0,0,0,.08); }
.simple-footer a { color:inherit; text-decoration:none; font-weight:750; }
.refined-auth { background:radial-gradient(circle at 70% 12%,rgba(255,255,255,.18),transparent 30%), linear-gradient(135deg,#f8fafc,#eef4ff); }
.stepper { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:16px 0 22px; }
.stepper span { text-align:center; border-radius:999px; padding:8px 7px; background:#eef2f7; color:#667085; font-size:11px; font-weight:950; }
.stepper span.done { background:#111827; color:white; }
.trial-panel { margin:20px 0; border-radius:26px; padding:22px; background:linear-gradient(135deg,#f8fafc,#edf7ff); border:1px solid #e4e9f2; }
.trial-panel span { color:#667085; font-weight:900; }
.trial-panel strong { display:block; font-size:42px; letter-spacing:-.06em; margin:2px 0 4px; }
.trial-panel p { margin:0; color:#667085; font-weight:700; }
.subtle-action { width:100%; margin-top:10px; }
.choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
.logout-button { border:1px solid rgba(0,0,0,.07); background:rgba(255,255,255,.78); color:#1d1d1f; border-radius:999px; padding:11px 15px; font-weight:900; box-shadow:0 12px 32px rgba(20,40,80,.08); }
.action-dock { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:24px; }
@keyframes phoneFloatRefined { 0%,100%{ transform:translate(58px,60px) rotateX(5deg) translateY(0); } 50%{ transform:translate(58px,60px) rotateX(5deg) translateY(-10px); } }
@media (min-width:980px){ .dashboard-page { max-width:1120px; display:grid; grid-template-columns:minmax(360px, .95fr) minmax(460px,1.05fr); gap:18px; align-items:start; } .dashboard-page .app-header,.dashboard-page .safe-spend-card,.dashboard-page .money-strip,.dashboard-page .progress-card,.dashboard-page .action-dock { grid-column:1; } .dashboard-page .app-section { grid-column:2; margin-top:0; } .dashboard-page .app-section + .app-section { margin-top:18px; } .action-dock { grid-template-columns:1fr; position:sticky; top:18px; } }
@media (max-width:900px){ .lux-hero{grid-template-columns:1fr; padding-top:82px; gap:18px;} .hero-copy{text-align:center;} .hero-copy .hero-subtitle{margin-left:auto;} .hero-art{min-height:470px;} .lifestyle-panel{display:none;} .refined-phone{transform:none;} .motion-ok .refined-phone{animation:phoneFloat 7s ease-in-out infinite;} .product-story{grid-template-columns:1fr;} .site-footer{grid-template-columns:1fr; gap:24px;} .choice-grid{grid-template-columns:1fr;} .action-dock{grid-template-columns:1fr;} }
/* Restore stronger landing explanation/reviews */
.restored-hero { background:radial-gradient(circle at 50% 18%,#fff 0,#f7f7fa 40%,#eef3ff 100%); }
.single-visual { min-height:540px; }
.single-visual:before { content:''; position:absolute; width:min(780px,92vw); height:360px; border-radius:54px; background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(219,234,254,.72)); box-shadow:0 50px 120px rgba(30,58,138,.14); transform:translateY(28px); z-index:-2; }
.process-band { max-width:1180px; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.process-grid div { border-radius:32px; padding:24px; background:#fff; border:1px solid rgba(0,0,0,.055); box-shadow:0 24px 70px rgba(20,40,80,.07); }
.process-grid b { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#111827; color:white; }
.process-grid h3 { font-size:23px; letter-spacing:-.04em; margin:28px 0 8px; }
.process-grid p { color:#667085; font-weight:700; line-height:1.55; margin:0; }
.restored .review-row blockquote { background:#fff; box-shadow:0 24px 70px rgba(20,40,80,.08); }
@media (max-width:900px){ .process-grid{grid-template-columns:1fr;} .single-visual{min-height:500px;} .single-visual:before{height:300px;} }
.contact-page { min-height:100vh; background:radial-gradient(circle at 72% 12%, rgba(0,113,227,.18), transparent 28%), linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 44%,#eef3ff 100%); }
.contact-shell { max-width:1180px; margin:0 auto; padding:88px 22px 64px; display:grid; grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr); gap:44px; align-items:start; }
.contact-hero { position:sticky; top:92px; }
.contact-hero h1 { margin:10px 0 18px; font-size:clamp(52px,8vw,94px); line-height:.9; letter-spacing:-.075em; }
.contact-hero .hero-subtitle { margin:0; max-width:590px; color:#515154; font-size:clamp(20px,2.3vw,26px); line-height:1.28; }
.contact-card { background:rgba(255,255,255,.86); border:1px solid rgba(0,0,0,.06); border-radius:36px; padding:30px; box-shadow:0 34px 100px rgba(20,40,80,.13); backdrop-filter:blur(22px); }
.contact-card-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:20px; }
.contact-card-head h2 { margin:4px 0 0; font-size:clamp(32px,4vw,48px); letter-spacing:-.055em; }
.contact-card-head > span { border-radius:999px; padding:8px 11px; background:#edf7ff; color:#168986; font-size:12px; font-weight:950; white-space:nowrap; }
.form-status { border-radius:22px; padding:16px 18px; margin:0 0 16px; }
.form-status strong,.form-status p { display:block; margin:0; }
.form-status p { margin-top:4px; font-weight:750; line-height:1.45; }
.form-status.success { background:#ecfdf3; color:#05603a; border:1px solid #bbf7d0; }
.form-status.error-state { background:#fef3f2; color:#b42318; border:1px solid #fecdca; }
.premium-contact-form { display:grid; gap:14px; }
.premium-contact-form .form-row { display:grid; gap:7px; }
.premium-contact-form label { font-size:13px; color:#344054; letter-spacing:-.01em; }
.premium-contact-form input,.premium-contact-form textarea { margin:0; border:1px solid #d9e1ec; border-radius:18px; padding:15px 16px; background:#fbfcff; box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.premium-contact-form input:focus,.premium-contact-form textarea:focus { outline:3px solid rgba(0,113,227,.18); border-color:#0071e3; background:#fff; }
.premium-contact-form textarea { min-height:168px; }
.contact-submit { width:100%; margin-top:4px; padding:15px 18px; }
.contact-note { margin:0; color:#6e6e73; font-size:13px; font-weight:750; line-height:1.45; text-align:center; }
@media (max-width:900px){ .contact-shell{grid-template-columns:1fr; padding:58px 16px 44px; gap:24px;} .contact-hero{position:static; text-align:center;} .contact-hero .hero-subtitle{margin:0 auto;} .contact-card{border-radius:30px; padding:22px 18px;} .contact-card-head{display:block;} .contact-card-head > span{display:inline-block; margin-top:12px;} }
@media (max-width:520px){ .contact-page .topbar nav a:not(.pill-link):not([href='/login']){display:none;} .contact-shell{padding-top:42px;} .contact-hero h1{font-size:clamp(46px,15vw,62px);} .contact-card{margin:0 -2px;} .premium-contact-form input,.premium-contact-form textarea{font-size:16px;} }
.admin-page .card { margin-top:16px; }
.admin-readiness { margin-top:18px; }
.readiness-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:14px; }
.readiness-grid article { border:1px solid #e4e9f2; border-radius:22px; padding:16px; background:#f8fafc; }
.readiness-grid h3 { margin:0 0 10px; font-size:17px; letter-spacing:-.025em; }
.readiness-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.readiness-grid li { font-size:13px; color:#667085; }
.readiness-grid li.ok { color:#118447; }
.readiness-grid li.missing { color:#b42318; }
.readiness-grid code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.progress-card p { color:#6e6e73; font-weight:750; line-height:1.45; }
@media (max-width:720px){ .readiness-grid{grid-template-columns:1fr;} }

/* Admin console */
.admin-console { max-width:1240px; }
.admin-hero { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:18px; }
.admin-hero h1 { font-size:clamp(42px,7vw,72px); }
.admin-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:18px 0; }
.metric-card { margin:0!important; padding:20px; }
.metric-card span,.metric-card small { display:block; color:#6e6e73; font-weight:850; }
.metric-card strong { display:block; font-size:clamp(34px,5vw,54px); line-height:1; letter-spacing:-.07em; margin:8px 0; }
.admin-tabs { position:sticky; top:10px; z-index:12; display:flex; gap:8px; padding:8px; margin:22px 0 16px; border:1px solid rgba(0,0,0,.06); border-radius:999px; background:rgba(255,255,255,.78); box-shadow:0 18px 50px rgba(20,40,80,.08); backdrop-filter:blur(18px); overflow-x:auto; }
.admin-tab { display:inline-flex; align-items:center; border:0; border-radius:999px; background:transparent; color:#4b5563; padding:10px 15px; white-space:nowrap; text-decoration:none; font-weight:950; }
.admin-tab.is-active { background:#111827; color:white; }
.admin-tab span { display:inline-grid; place-items:center; min-width:22px; height:22px; margin-left:5px; border-radius:999px; background:rgba(0,0,0,.08); font-size:12px; }
.admin-tab.is-active span { background:rgba(255,255,255,.18); }
.admin-panel { animation: adminFade .18s ease; }
.admin-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:16px; }
.admin-section-head h2 { margin-top:0; }
.search-box { min-width:min(320px,100%); }
.search-box span { display:block; margin-bottom:4px; color:#667085; }
.search-box input { margin:0; border-radius:999px; }
.table-scroll { overflow-x:auto; }
.admin-user-table th:last-child,.admin-user-table td:last-child { min-width:260px; }
.status-pill { display:inline-flex; align-items:center; gap:6px; width:max-content; border-radius:999px; padding:6px 10px; background:#f2f4f7; color:#475467; font-size:12px; font-weight:950; text-transform:capitalize; }
.status-pill.is-active { background:#ecfdf3; color:#05603a; }
.status-pill.is-disabled { background:#fef3f2; color:#b42318; }
.status-pill.is-admin { background:#eef4ff; color:#168986; }
.table-note { display:block; margin-top:6px; color:#6e6e73; font-weight:750; }
.admin-actions-cell { white-space:nowrap; }
.admin-action-form button { padding:10px 13px; }
.admin-action-form select { min-width:110px; }
.readiness-score { align-self:flex-start; border-radius:999px; padding:9px 12px; background:#eef4ff; color:#168986; font-weight:950; white-space:nowrap; }
.readiness-grid article.is-ready { background:#f0fdf4; border-color:#bbf7d0; }
.readiness-grid article.needs-work { background:#fff7ed; border-color:#fed7aa; }
.admin-empty { margin-top:14px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@keyframes adminFade { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
@media (max-width:900px){ .admin-metrics{grid-template-columns:repeat(2,1fr);} .admin-section-head{display:block;} .search-box{display:block; margin-top:14px;} }
@media (max-width:720px){ .admin-console{padding:18px 12px 42px;} .admin-hero{display:block;} .admin-hero form{margin-top:14px;} .admin-metrics{grid-template-columns:1fr 1fr; gap:10px;} .metric-card{padding:16px;} .admin-tabs{top:6px; border-radius:22px;} .admin-tab{padding:9px 12px;} .admin-actions-cell{white-space:normal;} .admin-action-form{display:grid; grid-template-columns:1fr auto; width:100%; margin:7px 0;} .admin-action-form select{width:100%;} .admin-action-form button{width:100%;} .data-card td[data-label='User']{display:block; text-align:left;} .data-card td[data-label='User']:before{display:none;} .data-card td[data-label='Actions']{display:block;} .data-card td[data-label='Actions']:before{display:block; margin-bottom:8px;} }

/* CLEAR-3 landing page refinement */
.restored { --premium-ink:#141923; --premium-muted:#5f6b7a; --premium-line:rgba(20,25,35,.08); --premium-accent:#14532d; background:linear-gradient(180deg,#fbfbfd 0%,#f5f7fb 52%,#eef3f8 100%); }
.restored .eyebrow { color:#556170; letter-spacing:.15em; }
.restored .pill-link { background:#141923; color:#fff!important; box-shadow:0 10px 28px rgba(20,25,35,.14); }
.landing-topbar { box-shadow:0 1px 0 rgba(255,255,255,.7) inset; }
.restored .topbar { backdrop-filter:none; background:rgba(251,251,253,.96); }
.restored main > .premium-section { content-visibility:auto; contain-intrinsic-size:1px 620px; }
.landing-hero { max-width:1220px; margin:0 auto; padding:110px 22px 74px; display:grid; grid-template-columns:minmax(0,1fr) minmax(390px,540px); gap:58px; align-items:center; }
.landing-hero .hero-copy { text-align:left; }
.landing-hero h1 { margin:10px 0 20px; max-width:760px; font-size:clamp(54px,8.4vw,112px); line-height:.89; letter-spacing:-.078em; color:var(--premium-ink); }
.landing-hero .hero-subtitle { margin:0; max-width:650px; color:#475467; font-size:clamp(20px,2vw,25px); line-height:1.28; font-weight:650; }
.hero-proof { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hero-proof span { border:1px solid var(--premium-line); background:rgba(255,255,255,.76); color:#475467; border-radius:999px; padding:9px 12px; font-size:13px; font-weight:850; box-shadow:0 10px 26px rgba(20,40,80,.05); }
.tasteful-visual { position:relative; min-height:620px; display:grid; place-items:center; isolation:isolate; }
.halo-card { position:absolute; width:min(520px,92vw); height:520px; border-radius:42% 58% 48% 52%; background:radial-gradient(circle at 30% 20%,#fff 0 18%,transparent 42%), linear-gradient(135deg,#eef7ff,#e7f8ee 48%,#f7f0ff); box-shadow:0 48px 120px rgba(35,55,95,.16); z-index:-2; transform:rotate(-7deg); }
.tasteful-visual:after { content:''; position:absolute; width:380px; height:90px; bottom:38px; border-radius:50%; background:rgba(20,25,35,.14); filter:blur(26px); z-index:-3; }
.landing-hero .refined-phone { transform:translate(16px,36px) rotateX(6deg) rotateZ(-1deg); width:min(390px,88vw); }
.motion-ok .landing-hero .refined-phone { animation: landingPhoneFloat 7s ease-in-out infinite; will-change:transform; }
.safe-amount small { display:block; margin-top:6px; color:rgba(6,78,59,.66); font-weight:850; }
.review-toast { position:absolute; left:10px; bottom:92px; background:rgba(255,255,255,.94); backdrop-filter:none; border:1px solid rgba(255,255,255,.74); border-radius:22px; padding:14px 16px; box-shadow:0 18px 42px rgba(20,40,80,.13); text-align:left; min-width:210px; }
.review-toast b,.review-toast span { display:block; }
.review-toast span { color:#667085; font-size:13px; margin-top:3px; }
.intro-section { padding-top:72px; }
.method-section { padding-top:54px; }
.method-head { max-width:860px; margin:0 auto 28px; text-align:center; }
.method-head h2 { margin-left:auto; margin-right:auto; max-width:820px; font-size:clamp(42px,6.5vw,78px); letter-spacing:-.065em; color:var(--premium-ink); }
.method-head p:not(.eyebrow) { max-width:720px; margin:0 auto; color:#5f6b7a; font-size:21px; line-height:1.4; font-weight:650; }
.method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.method-grid article { background:rgba(255,255,255,.82); border:1px solid var(--premium-line); border-radius:32px; padding:30px; box-shadow:0 24px 70px rgba(20,40,80,.07); }
.method-grid span { color:#98a2b3; font-weight:950; }
.method-grid h3 { margin:34px 0 10px; color:#141923; font-size:clamp(26px,3vw,38px); line-height:1; letter-spacing:-.055em; }
.method-grid p { margin:0; color:#5f6b7a; font-size:18px; line-height:1.5; font-weight:700; }
.product-explainer { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr); gap:26px; align-items:start; }
.explainer-copy { position:sticky; top:84px; background:#141923; color:white; border-radius:38px; padding:38px; box-shadow:0 30px 90px rgba(20,25,35,.18); }
.explainer-copy h2 { color:white; font-size:clamp(38px,5vw,66px); letter-spacing:-.065em; margin:8px 0 16px; }
.explainer-copy p:not(.eyebrow) { color:rgba(255,255,255,.78); font-size:19px; line-height:1.45; font-weight:650; }
.explainer-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.explainer-grid .premium-card { min-height:286px; border:1px solid var(--premium-line); box-shadow:0 24px 70px rgba(20,40,80,.07); }
.explainer-grid .premium-card span { color:#98a2b3; font-weight:950; }
.explainer-grid .premium-card h3 { margin-top:34px; font-size:clamp(28px,3.2vw,42px); }
.process-band > .eyebrow { text-align:center; }
.process-grid div { transition:transform .2s ease, box-shadow .2s ease; }
.process-grid div:hover { transform:translateY(-3px); box-shadow:0 30px 80px rgba(20,40,80,.10); }
.review-section .review-row blockquote { border:1px solid var(--premium-line); min-height:238px; display:flex; flex-direction:column; }
.review-section .review-row blockquote span { color:#14532d; font-size:13px; letter-spacing:.08em; font-weight:950; margin-bottom:16px; }
.review-section cite { margin-top:auto; padding-top:20px; }
.faq-section { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:28px; align-items:start; }
.faq-head { position:sticky; top:84px; }
.faq-head h2 { max-width:540px; font-size:clamp(42px,6vw,76px); letter-spacing:-.065em; color:var(--premium-ink); }
.faq-head p:not(.eyebrow) { max-width:520px; color:#5f6b7a; font-size:20px; line-height:1.4; font-weight:650; }
.faq-list { display:grid; gap:12px; }
.faq-list details { background:rgba(255,255,255,.78); border:1px solid var(--premium-line); border-radius:28px; padding:0 24px; box-shadow:0 24px 70px rgba(20,40,80,.07); overflow:hidden; }
.faq-list summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:24px 0; color:#141923; font-size:21px; line-height:1.15; letter-spacing:-.035em; font-weight:950; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary:after { content:'+'; display:grid; place-items:center; flex:0 0 auto; width:32px; height:32px; border-radius:50%; background:#eef4ff; color:#168986; font-size:22px; line-height:1; transition:transform .18s ease, background .18s ease; }
.faq-list details[open] summary:after { content:'–'; background:#141923; color:#fff; transform:rotate(180deg); }
.faq-list p { margin:0; padding:0 0 24px; color:#5f6b7a; font-size:17px; line-height:1.55; font-weight:700; }
.site-footer { margin-top:20px; }
.site-footer a:hover,.simple-footer a:hover,.topbar nav a:hover { color:#111827; text-decoration:underline; text-underline-offset:4px; }
.restored .paycheck-toast { background:rgba(255,255,255,.94); backdrop-filter:none; box-shadow:0 18px 42px rgba(20,40,80,.13); }
.motion-ok .paycheck-toast,.motion-ok .review-toast { animation: toastDrift 7s ease-in-out infinite; will-change:transform; }
.motion-ok .review-toast { animation-delay:-2.2s; }
.is-scrolling .landing-hero .refined-phone,
.is-scrolling .paycheck-toast,
.is-scrolling .review-toast { animation-play-state:paused; }
@keyframes landingPhoneFloat { 0%,100%{ transform:translate(16px,36px) rotateX(6deg) rotateZ(-1deg) translateY(0); } 50%{ transform:translate(16px,36px) rotateX(6deg) rotateZ(-1deg) translateY(-12px); } }
@keyframes toastDrift { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
@media (max-width:960px){ .landing-hero{grid-template-columns:1fr; padding-top:78px; gap:24px;} .landing-hero .hero-copy{text-align:center;} .landing-hero .hero-subtitle{margin:0 auto;} .hero-proof{justify-content:center;} .tasteful-visual{min-height:520px;} .method-grid{grid-template-columns:1fr;} .product-explainer,.faq-section{grid-template-columns:1fr;} .explainer-copy,.faq-head{position:relative; top:auto;} .faq-head{text-align:center;} .faq-head h2,.faq-head p:not(.eyebrow){margin-left:auto; margin-right:auto;} }
@media (max-width:720px){ .landing-hero{padding:62px 18px 40px;} .landing-hero h1{font-size:clamp(48px,15vw,70px);} .tasteful-visual{min-height:500px;} .halo-card{height:410px;} .landing-hero .refined-phone{transform:none;} .motion-ok .landing-hero .refined-phone{animation:phoneFloat 7s ease-in-out infinite;} .review-toast{left:8px; bottom:50px; transform:scale(.88); transform-origin:bottom left;} .refined-toast{right:4px; top:34px;} .method-section{padding-top:36px;} .method-grid article{padding:26px; border-radius:28px;} .explainer-grid{grid-template-columns:1fr;} .explainer-copy{padding:30px; border-radius:30px;} .faq-list details{border-radius:22px; padding:0 18px;} .faq-list summary{font-size:18px; padding:20px 0;} .faq-list p{font-size:16px; padding-bottom:20px;} }
@media (max-width:850px){ .legal-topbar{height:auto; min-height:52px; align-items:flex-start; gap:12px; padding:12px 16px;} .legal-topbar nav{justify-content:flex-end; gap:10px; line-height:1.2;} .legal-page .legal-topbar nav a:not(.pill-link):not([href='/login']){display:inline;} .legal-shell{padding:38px 16px 24px;} .legal-hero{padding:28px 0 22px;} .legal-card{border-radius:28px; line-height:1.65;} .legal-footer{grid-template-columns:1fr; gap:22px;} }
@media (max-width:520px){ .legal-topbar{display:block;} .legal-topbar nav{justify-content:flex-start; margin-top:12px;} .legal-topbar .pill-link{display:none;} .legal-card{margin:0 -2px; padding:22px 18px;} .legal-card p,.legal-card li{font-size:15px;} }

.bank-cta { display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center; margin:0 0 14px; border-radius:28px; padding:18px; background:linear-gradient(135deg,#111827,#2457d6); color:white; box-shadow:0 24px 70px rgba(36,87,214,.22); }
.bank-cta.is-connected { background:linear-gradient(135deg,#ecfdf3,#dbeafe); color:#132033; border:1px solid rgba(0,0,0,.055); }
.bank-cta span,.goal-card span,.allocation-summary span { display:block; font-size:12px; font-weight:950; letter-spacing:.02em; text-transform:uppercase; opacity:.72; }
.bank-cta strong { display:block; margin:4px 0 5px; font-size:19px; line-height:1.08; letter-spacing:-.035em; }
.bank-cta p { margin:0; color:rgba(255,255,255,.76); font-size:13px; font-weight:700; line-height:1.35; }
.bank-cta.is-connected p { color:#667085; }
.bank-cta .button { white-space:nowrap; background:#fff; color:#111827; }
.bank-cta.is-connected .button { background:#e8eefc; color:#172554; }
.goal-card { margin:14px 0 16px; border-radius:30px; padding:20px; display:grid; grid-template-columns:1fr 116px; gap:14px; align-items:center; background:rgba(255,255,255,.82); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 50px rgba(20,40,80,.08); backdrop-filter:blur(22px); }
.goal-card h2 { margin:4px 0 6px; font-size:24px; letter-spacing:-.045em; }
.goal-card p { margin:0; color:#6e6e73; font-size:13px; line-height:1.4; font-weight:750; }
.goal-ring { width:104px; height:104px; border-radius:50%; display:grid; place-items:center; text-align:center; background:conic-gradient(#34c759 var(--goal), #e9edf3 0); position:relative; }
.goal-ring:before { content:''; position:absolute; inset:10px; border-radius:50%; background:white; }
.goal-ring strong,.goal-ring span { position:relative; z-index:1; }
.goal-ring strong { display:block; align-self:end; font-size:25px; letter-spacing:-.05em; }
.goal-ring span { align-self:start; margin-top:-4px; color:#6e6e73; font-size:11px; font-weight:950; text-transform:uppercase; }
.allocation-summary { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:12px 0; }
.allocation-summary article { border-radius:24px; padding:17px; background:rgba(255,255,255,.78); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 50px rgba(20,40,80,.08); }
.allocation-summary strong { display:block; margin:4px 0; font-size:28px; letter-spacing:-.055em; }
.allocation-summary p { margin:0; color:#6e6e73; font-size:13px; font-weight:750; }
.allocation-list { display:grid; gap:10px; margin:12px 0; }
.allocation-row { display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:center; border-radius:22px; padding:13px; background:rgba(255,255,255,.74); border:1px solid rgba(0,0,0,.055); }
.allocation-row > span { width:42px; height:42px; display:grid; place-items:center; border-radius:15px; background:#eef4ff; color:#168986; font-weight:950; }
.allocation-row h3 { margin:0 0 3px; font-size:16px; letter-spacing:-.025em; }
.allocation-row p { margin:0; color:#6e6e73; font-size:13px; font-weight:800; }
.review-count { color:#6e6e73; font-size:12px; font-weight:950; }
.logout-button { background:rgba(255,255,255,.74); color:#1d1d1f; border:1px solid rgba(0,0,0,.06); box-shadow:0 12px 32px rgba(20,40,80,.08); padding:10px 13px; }
@media (max-width:520px){ .bank-cta{grid-template-columns:1fr;} .bank-cta .button{width:100%; text-align:center;} .goal-card{grid-template-columns:1fr;} .goal-ring{margin:auto;} .allocation-summary{grid-template-columns:1fr;} }

/* CLEAR-12 dashboard command center */
.command-shell { background:radial-gradient(circle at 12% 0%, rgba(36,87,214,.18), transparent 30%), radial-gradient(circle at 88% 8%, rgba(20,122,61,.14), transparent 28%), linear-gradient(180deg,#fbfbfd 0%,#f3f6fb 48%,#eaf0f8 100%); }
.command-center { padding-bottom:56px; }
.command-header { margin-bottom:16px; }
.command-header h1 { font-size:clamp(34px,8vw,54px); line-height:.92; }
.command-header p:not(.app-kicker) { margin:6px 0 0; max-width:520px; color:#667085; font-weight:750; line-height:1.4; }
.command-toast { grid-column:1 / -1; }
.bank-command-card { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; margin:0 0 16px; border:1px solid rgba(0,0,0,.06); border-radius:32px; padding:22px; background:rgba(255,255,255,.82); box-shadow:0 24px 80px rgba(20,40,80,.10); backdrop-filter:blur(22px); }
.bank-command-card.is-connected { background:linear-gradient(135deg,rgba(236,253,243,.9),rgba(255,255,255,.86)); border-color:rgba(22,163,74,.18); }
.bank-command-card.needs-connection { background:linear-gradient(135deg,rgba(238,244,255,.94),rgba(255,255,255,.86)); }
.status-pill-dot { display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:7px 10px; background:rgba(17,24,39,.06); color:#344054; font-size:12px; font-weight:950; }
.status-pill-dot i { display:block; width:9px; height:9px; border-radius:50%; background:#f59e0b; box-shadow:0 0 0 4px rgba(245,158,11,.14); }
.is-connected .status-pill-dot i { background:#16a34a; box-shadow:0 0 0 4px rgba(22,163,74,.14); }
.bank-status-copy h2 { margin:10px 0 8px; font-size:clamp(26px,4vw,38px); letter-spacing:-.055em; line-height:1; }
.bank-status-copy p { margin:0; max-width:680px; color:#5f6b7a; font-weight:720; line-height:1.45; }
.bank-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.light-action { background:#fff; color:#111827; border:1px solid rgba(0,0,0,.08); box-shadow:0 10px 28px rgba(20,40,80,.06); }
.command-safe-card { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:18px; align-items:end; }
.safe-breakdown { border-radius:24px; padding:16px; background:rgba(255,255,255,.42); border:1px solid rgba(255,255,255,.46); }
.safe-breakdown b,.safe-breakdown span { display:block; }
.safe-breakdown b { font-size:23px; letter-spacing:-.045em; }
.safe-breakdown span { margin:2px 0 11px; color:rgba(6,63,43,.66); font-size:12px; font-weight:900; }
.safe-breakdown span:last-child { margin-bottom:0; }
.command-metrics { grid-template-columns:repeat(3,1fr); }
.command-metrics div { min-height:96px; display:flex; flex-direction:column; justify-content:space-between; }
.goal-card { margin:16px 0; border-radius:32px; padding:22px; display:grid; grid-template-columns:minmax(0,1fr) 116px; gap:18px; align-items:center; background:linear-gradient(135deg,#111827,#203864); color:white; box-shadow:0 28px 80px rgba(17,24,39,.18); overflow:hidden; position:relative; }
.goal-card:before { content:''; position:absolute; inset:-60px -30px auto auto; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.09); }
.goal-copy span { color:#bfd7ff; font-weight:950; font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.goal-copy h2 { margin:7px 0; color:white; font-size:clamp(28px,5vw,42px); }
.goal-copy p { margin:0; color:rgba(255,255,255,.76); font-weight:720; line-height:1.45; }
.goal-copy a { display:inline-flex; margin-top:13px; color:#fff; font-weight:950; }
.goal-ring { width:112px; height:112px; border-radius:50%; display:grid; place-items:center; text-align:center; background:conic-gradient(#7dd3fc var(--goal), rgba(255,255,255,.16) 0); position:relative; }
.goal-ring:after { content:''; position:absolute; inset:10px; border-radius:50%; background:#172554; }
.goal-ring strong,.goal-ring span { position:relative; z-index:1; display:block; }
.goal-ring strong { font-size:28px; letter-spacing:-.05em; }
.goal-ring span { color:#c7d2fe; font-size:11px; font-weight:900; margin-top:-22px; }
.command-progress-card { margin-top:16px; }
.action-grid-section { grid-column:1 / -1; }
.action-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px; }
.dashboard-action-card { display:block; min-height:190px; border-radius:28px; padding:20px; background:rgba(255,255,255,.82); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 55px rgba(20,40,80,.08); text-decoration:none; transition:transform .18s ease, box-shadow .18s ease; }
.dashboard-action-card:hover { transform:translateY(-2px); box-shadow:0 26px 70px rgba(20,40,80,.11); }
.dashboard-action-card.primary { background:linear-gradient(135deg,#eef4ff,#fff); border-color:rgba(36,87,214,.14); }
.dashboard-action-card span { color:#98a2b3; font-weight:950; font-size:12px; }
.dashboard-action-card h3 { margin:30px 0 8px; font-size:24px; letter-spacing:-.045em; line-height:1.02; }
.dashboard-action-card p { margin:0; color:#667085; font-weight:720; line-height:1.42; }
.allocation-summary { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:12px 0; }
.command-allocation-summary { grid-template-columns:repeat(3,1fr); }
.allocation-summary article { border-radius:24px; padding:17px; background:rgba(255,255,255,.78); border:1px solid rgba(0,0,0,.055); box-shadow:0 18px 50px rgba(20,40,80,.07); }
.allocation-summary span { color:#6e6e73; font-size:12px; font-weight:900; }
.allocation-summary strong { display:block; margin:4px 0; font-size:25px; letter-spacing:-.05em; }
.allocation-summary p { margin:0; color:#667085; font-size:13px; font-weight:720; line-height:1.35; }
.allocation-row { display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:center; border-radius:22px; padding:14px; margin-bottom:10px; background:rgba(255,255,255,.74); border:1px solid rgba(0,0,0,.05); }
.allocation-row > span { width:42px; height:42px; border-radius:15px; display:grid; place-items:center; background:#eef4ff; color:#168986; font-weight:950; }
.allocation-row h3 { margin:0 0 3px; font-size:16px; letter-spacing:-.025em; }
.allocation-row p { margin:0; color:#667085; font-size:13px; font-weight:750; }
.command-bucket-card { min-height:118px; }
.command-review-card { border-left:4px solid #f59e0b; }
.command-activity-row { min-height:76px; }
.command-action-dock .form-sheet { background:rgba(255,255,255,.86); }
@media (min-width:980px){
  .command-center { grid-template-columns:minmax(360px,.86fr) minmax(0,1.14fr); gap:20px; }
  .command-center .command-header,.command-center .bank-command-card,.command-center .action-grid-section { grid-column:1 / -1; }
  .command-center .command-safe-card,.command-center .command-metrics,.command-center .command-goal-card,.command-center .command-progress-card,.command-center .command-action-dock { grid-column:1; }
  .command-center .allocation-section,.command-center .envelope-overview-section,.command-center .review-section,.command-center .recent-section { grid-column:2; }
  .command-center .allocation-section { margin-top:0; }
  .command-center .command-action-dock { position:sticky; top:18px; }
}
@media (max-width:760px){
  .bank-command-card,.command-safe-card,.goal-card { grid-template-columns:1fr; }
  .bank-actions { justify-content:stretch; }
  .bank-actions .button { flex:1; text-align:center; }
  .command-metrics,.action-card-grid,.command-allocation-summary { grid-template-columns:1fr; }
  .safe-breakdown { display:grid; grid-template-columns:1fr 1fr; column-gap:12px; }
  .safe-breakdown span { margin-bottom:0; }
  .goal-ring { justify-self:start; }
  .dashboard-action-card { min-height:150px; }
  .dashboard-action-card h3 { margin-top:18px; }
}
@media (max-width:430px){ .command-header { align-items:flex-start; } .command-header .logout-button { padding:10px 12px; } .command-safe-card strong { font-size:52px; } }

/* CLEAR-12 dashboard revisit */
.command-center { max-width:1180px; }
.command-safe-card { background:radial-gradient(circle at 88% 10%, rgba(255,255,255,.92), transparent 28%), linear-gradient(135deg,#B7E3D6,#56C7C4 54%,#168986); color:#0B1220; }
.command-safe-card span,.command-safe-card p { color:rgba(11,18,32,.72); }
.formula-breakdown { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:10px; align-items:center; min-width:min(100%,460px); }
.formula-breakdown div { min-width:0; }
.formula-breakdown i { font-style:normal; font-weight:950; color:rgba(11,18,32,.48); }
.formula-breakdown b { color:#0B1220; }
.command-setup-chips a,.command-setup-chips span { text-decoration:none; padding:8px 10px; border-radius:999px; background:#fff7ed; color:#9a3412; font-size:12px; font-weight:900; }
.command-setup-chips .is-done { background:#ecfdf3; color:#05603a; }
.priority-panel { border:1px solid rgba(86,199,196,.22); border-radius:34px; padding:18px; background:rgba(255,255,255,.45); box-shadow:0 24px 80px rgba(20,40,80,.06); }
.command-review-card { border-left-color:#56C7C4; }
.command-bucket-card h3,.command-review-card h3,.command-activity-row h3 { overflow-wrap:anywhere; }
@media (min-width:980px){
  .command-center { grid-template-columns:minmax(390px,.92fr) minmax(0,1.08fr); }
  .command-center .review-section { order:-1; }
}
@media (max-width:760px){
  .formula-breakdown { grid-template-columns:1fr; }
  .formula-breakdown i { display:none; }
  .safe-breakdown { display:grid; grid-template-columns:1fr; row-gap:8px; }
  .command-header { display:grid; grid-template-columns:1fr auto; gap:12px; }
  .command-header h1 { font-size:clamp(34px,10vw,46px); }
  .priority-panel { padding:14px; border-radius:26px; }
}

/* CLEAR-12 complete dashboard/configuration redesign */
.fundlyr-dashboard-shell { background:radial-gradient(circle at 10% 0%, rgba(86,199,196,.22), transparent 34%), radial-gradient(circle at 95% 12%, rgba(183,227,214,.42), transparent 36%), linear-gradient(135deg,#f4f8fb 0%,#f6fbf9 48%,#eef6f5 100%); }
.fundlyr-dashboard { width:min(100% - 48px,1480px); margin:0 auto; padding:clamp(24px,4vw,56px) 0 70px; }
.fundlyr-dashboard-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:end; margin-bottom:24px; }
.fundlyr-dashboard-hero h1 { margin:4px 0 8px; font-size:clamp(56px,8vw,118px); line-height:.86; letter-spacing:-.08em; color:#0B1220; }
.fundlyr-dashboard-hero p:not(.app-kicker) { max-width:680px; margin:0; color:#475467; font-size:clamp(18px,2vw,24px); line-height:1.28; font-weight:750; }
.hero-actions-panel { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.fundlyr-bank-banner { margin-bottom:22px; border-radius:34px; padding:26px; background:rgba(255,255,255,.82); border:1px solid rgba(11,18,32,.07); box-shadow:0 28px 90px rgba(20,40,80,.09); backdrop-filter:blur(18px); }
.fundlyr-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr); gap:22px; align-items:start; }
.dashboard-zone,.configuration-zone { display:grid; gap:18px; min-width:0; }
.configuration-zone { position:sticky; top:18px; align-self:start; }
.zone-heading { display:flex; justify-content:space-between; gap:18px; align-items:end; padding:0 4px; }
.zone-heading h2 { margin:0; font-size:clamp(32px,4vw,54px); line-height:.95; letter-spacing:-.06em; color:#0B1220; }
.zone-heading .eyebrow { margin:0 0 8px; color:#168986; }
.zone-heading > span { border-radius:999px; padding:9px 12px; background:#fff; color:#667085; font-size:13px; font-weight:950; box-shadow:0 14px 40px rgba(20,40,80,.06); }
.fundlyr-safe-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.78fr); gap:22px; align-items:center; min-height:320px; padding:34px; border-radius:38px; background:radial-gradient(circle at 88% 14%, rgba(255,255,255,.9), transparent 26%), linear-gradient(135deg,#B7E3D6 0%,#56C7C4 52%,#168986 100%); color:#0B1220; box-shadow:0 34px 100px rgba(22,137,134,.24); }
.fundlyr-safe-card .safe-main strong { font-size:clamp(72px,9vw,128px); line-height:.82; letter-spacing:-.095em; color:#0B1220; }
.fundlyr-safe-card .safe-main span { color:rgba(11,18,32,.74); }
.fundlyr-safe-card .safe-main p { max-width:420px; color:rgba(11,18,32,.7); font-size:17px; }
.formula-card { display:grid; gap:10px; padding:18px; border-radius:28px; background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.7); box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 22px 60px rgba(11,18,32,.10); }
.formula-card div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:10px 12px; border-radius:18px; background:rgba(255,255,255,.58); }
.formula-card b { font-size:clamp(22px,2.2vw,34px); letter-spacing:-.06em; color:#0B1220; }
.formula-card span { text-align:right; color:#475467; font-size:12px; font-weight:950; }
.formula-card i { display:none; }
.dashboard-kpis { grid-template-columns:repeat(4,1fr); margin:0; }
.dashboard-kpis div { background:rgba(255,255,255,.84); border:1px solid rgba(11,18,32,.06); box-shadow:0 20px 70px rgba(20,40,80,.07); }
.dashboard-card-section,.priority-panel,.config-card { border-radius:32px; padding:20px; background:rgba(255,255,255,.78); border:1px solid rgba(11,18,32,.06); box-shadow:0 24px 80px rgba(20,40,80,.07); backdrop-filter:blur(18px); }
.config-heading { padding-top:4px; }
.config-card { margin:0; }
.configuration-zone .goal-card { grid-template-columns:1fr 108px; }
.configuration-zone .goal-card h2 { font-size:clamp(28px,3vw,42px); }
.configuration-zone .allocation-summary,.configuration-zone .command-allocation-summary { grid-template-columns:repeat(3,1fr); }
.configuration-forms { padding-top:6px; }
.configuration-forms .form-sheet { margin-top:12px; background:rgba(245,247,248,.9); box-shadow:none; }
.command-setup-chips a,.command-setup-chips span { display:inline-flex; align-items:center; }
@media (max-width:1100px){
  .fundlyr-dashboard-grid { grid-template-columns:1fr; }
  .configuration-zone { position:static; }
  .fundlyr-safe-card { grid-template-columns:1fr; }
}
@media (max-width:760px){
  .fundlyr-dashboard { width:min(100% - 24px,1480px); padding-top:24px; }
  .fundlyr-dashboard-hero { grid-template-columns:1fr; align-items:start; }
  .hero-actions-panel { justify-content:stretch; }
  .hero-actions-panel .button,.hero-actions-panel form,.hero-actions-panel button { width:100%; text-align:center; }
  .fundlyr-bank-banner { grid-template-columns:1fr; border-radius:26px; }
  .fundlyr-safe-card { min-height:0; padding:24px; border-radius:28px; }
  .dashboard-kpis { grid-template-columns:1fr 1fr; }
  .configuration-zone .allocation-summary,.configuration-zone .command-allocation-summary { grid-template-columns:1fr; }
  .zone-heading { align-items:flex-start; }
}
@media (max-width:520px){ .dashboard-kpis { grid-template-columns:1fr; } .fundlyr-dashboard-hero h1 { font-size:52px; } }

/* CLEAR-12 tabbed simplification */
.tabbed-dashboard { max-width:1280px; }
.compact-dashboard-hero { margin-bottom:18px; }
.compact-dashboard-hero h1 { font-size:clamp(52px,7vw,96px); }
.dashboard-tabs { margin-top:22px; }
.tab-radio { position:absolute; opacity:0; pointer-events:none; }
.tab-list { position:sticky; top:10px; z-index:30; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding:8px; margin:0 0 18px; border-radius:999px; background:rgba(255,255,255,.78); border:1px solid rgba(11,18,32,.07); box-shadow:0 20px 70px rgba(20,40,80,.10); backdrop-filter:blur(18px); }
.tab-button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; border-radius:999px; color:#475467; font-weight:950; cursor:pointer; user-select:none; transition:background .18s ease, color .18s ease, box-shadow .18s ease; }
.tab-button span { min-width:24px; height:24px; display:inline-grid; place-items:center; border-radius:999px; background:rgba(11,18,32,.08); font-size:12px; }
#tab-overview:checked ~ .tab-list .overview-tab,
#tab-actions:checked ~ .tab-list .actions-tab,
#tab-configuration:checked ~ .tab-list .configuration-tab { background:#0B1220; color:#fff; box-shadow:0 12px 28px rgba(11,18,32,.20); }
#tab-actions:checked ~ .tab-list .actions-tab span { background:rgba(255,255,255,.18); }
.tab-panel { display:none; animation:adminFade .16s ease; }
#tab-overview:checked ~ .overview-panel,
#tab-actions:checked ~ .actions-panel,
#tab-configuration:checked ~ .configuration-panel { display:block; }
.tab-panel-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin:4px 4px 16px; }
.tab-panel-head h2 { margin:0; font-size:clamp(34px,4.6vw,64px); line-height:.94; letter-spacing:-.065em; color:#0B1220; }
.tab-panel-head .eyebrow { margin:0 0 8px; color:#168986; }
.tab-panel-head > span { border-radius:999px; padding:9px 12px; background:#fff; color:#667085; font-size:13px; font-weight:950; box-shadow:0 14px 40px rgba(20,40,80,.06); white-space:nowrap; }
.tab-safe-card { grid-template-columns:minmax(0,1fr) minmax(320px,.55fr); }
.overview-bottom-grid { display:grid; grid-template-columns:minmax(320px,.72fr) minmax(0,1fr); gap:16px; margin-top:16px; }
.overview-bottom-grid label,.section-title label { color:#168986; font-weight:950; cursor:pointer; }
.compact-list { max-height:360px; overflow:auto; padding-right:4px; }
.tab-action-cards { margin-bottom:16px; }
.tab-action-cards label { cursor:pointer; }
.configuration-grid-tabs { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:16px; align-items:start; }
.configuration-grid-tabs .configuration-forms { grid-column:1 / -1; }
.configuration-grid-tabs .envelope-overview-section { grid-row:span 2; }
@media (max-width:980px){
  .tab-safe-card,.overview-bottom-grid,.configuration-grid-tabs { grid-template-columns:1fr; }
  .configuration-grid-tabs .envelope-overview-section { grid-row:auto; }
}
@media (max-width:640px){
  .tab-list { border-radius:24px; grid-template-columns:1fr; position:static; }
  .tab-button { justify-content:flex-start; padding:0 16px; }
  .tab-panel-head { display:block; }
  .tab-panel-head > span { display:inline-flex; margin-top:10px; }
}

/* CLEAR-27 admin user/trial controls */
.admin-user-tools { display:flex; align-items:end; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.admin-user-tools .search-box { min-width:min(320px,100%); }
.trial-form { display:grid; grid-template-columns:minmax(76px,96px) auto; gap:6px; align-items:end; margin-top:9px; }
.trial-form input { margin:0; padding:9px 10px; border-radius:12px; }
.trial-form button { padding:9px 11px; white-space:nowrap; }
@media (max-width:720px){ .admin-user-tools{justify-content:stretch;} .admin-user-tools .search-box{width:100%;} .trial-form{grid-template-columns:1fr auto;} }

/* CLEAR-28 envelope onboarding + CLEAR-29 admin defaults */
.envelope-onboarding .auth-card { max-width:760px; }
.onboarding-card-wide h1 { font-size:clamp(42px,6vw,72px); }
.questionnaire-form { display:grid; gap:18px; }
.question-group { border:1px solid rgba(11,18,32,.08); background:#fff; border-radius:26px; padding:18px; box-shadow:0 18px 50px rgba(20,40,80,.06); }
.question-group h2 { font-size:clamp(24px,3vw,34px); margin:0 0 14px; }
.question-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.question-grid label { display:grid; gap:6px; }
.question-grid input { margin:0; }
@media (max-width:680px){ .question-grid{grid-template-columns:1fr;} .envelope-onboarding .auth-card{max-width:none;} }
.trial-form { align-items:end; grid-template-columns:minmax(120px,1fr) auto; }
.trial-form label span { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:#64748b; margin-bottom:4px; }
.factor-builder form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.factor-builder button { grid-column:1/-1; }
@media (max-width:720px){ .factor-builder form{grid-template-columns:1fr;} }


/* Failed-validation rework: make envelope setup visible */
.visible-setup-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; margin:18px 0; padding:24px; border-radius:32px; background:linear-gradient(135deg,#0B1220,#123C4A); color:#fff; box-shadow:0 28px 80px rgba(11,18,32,.22); }
.visible-setup-card .eyebrow { color:#7DE4D4; margin:0 0 8px; }
.visible-setup-card h2 { color:#fff; margin:0; font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.06em; }
.visible-setup-card p { color:rgba(255,255,255,.78); max-width:720px; }
.setup-mode-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.setup-mode-score { width:150px; height:150px; border-radius:36px; display:grid; place-items:center; text-align:center; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); }
.setup-mode-score strong { font-size:44px; letter-spacing:-.08em; }
.setup-mode-score span { display:block; color:rgba(255,255,255,.72); font-weight:800; }
.recommended-envelope-panel { margin:0 0 18px; padding:20px; border-radius:30px; background:#fff; border:1px solid rgba(11,18,32,.07); box-shadow:0 20px 70px rgba(20,40,80,.08); }
.recommended-envelope-panel .section-title { align-items:end; }
.recommended-envelope-panel .section-title h2 { margin:0; font-size:clamp(32px,4vw,56px); letter-spacing:-.055em; }
.recommended-envelope-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:14px; }
.recommended-envelope-card { display:grid; gap:7px; text-align:left; padding:16px; border-radius:22px; border:1px solid rgba(11,18,32,.08); background:linear-gradient(180deg,#fff,#F7FAFA); }
.recommended-envelope-card span { color:#168986; font-size:11px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.recommended-envelope-card h3 { margin:0; font-size:20px; letter-spacing:-.03em; }
.recommended-envelope-card p { margin:0; color:#667085; min-height:38px; }
.recommended-envelope-card button { margin-top:6px; padding:10px 12px; }
.paycheck-preview-card { margin-top:12px; padding:18px; border-radius:24px; background:#EFFFFB; border:1px solid rgba(22,137,134,.16); }
.paycheck-preview-card h3 { margin:0 0 6px; }
.paycheck-preview-card p { margin:0 0 12px; color:#456; }
.trial-date-form { grid-template-columns:minmax(220px,1fr) auto; padding:10px; border-radius:18px; background:#F8FAFC; border:1px solid rgba(11,18,32,.06); }
.trial-date-form input { width:100%; }
@media (max-width:1100px){ .recommended-envelope-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:720px){ .visible-setup-card{grid-template-columns:1fr;} .setup-mode-score{width:100%; height:auto; padding:20px;} .recommended-envelope-grid{grid-template-columns:1fr;} .trial-date-form{grid-template-columns:1fr;} }

/* CLEAR-28 concept reset: Apple-simple Fundlyr home */
.fundlyr-home-shell { background:#F5F7F8; color:#111827; }
.fundlyr-home { width:min(1180px, calc(100% - 32px)); margin:0 auto; padding:24px 0 72px; }
.home-topbar { display:flex; align-items:center; gap:18px; justify-content:space-between; margin-bottom:18px; }
.home-topbar .brand { font-size:22px; font-weight:950; letter-spacing:-.04em; color:#0B1220; text-decoration:none; }
.home-topbar nav { display:flex; gap:8px; padding:6px; border-radius:999px; background:rgba(255,255,255,.72); border:1px solid rgba(11,18,32,.07); box-shadow:0 12px 40px rgba(15,23,42,.05); }
.home-topbar nav a { text-decoration:none; color:#526071; font-size:14px; font-weight:850; padding:9px 13px; border-radius:999px; }
.home-topbar nav a:hover { background:#fff; color:#0B1220; }
.text-button { background:transparent; border:0; color:#526071; font-weight:900; padding:10px; box-shadow:none; }
.home-hero-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:end; padding:34px; border-radius:38px; background:linear-gradient(135deg,#fff,#ECFFFB); border:1px solid rgba(11,18,32,.07); box-shadow:0 28px 80px rgba(15,23,42,.08); }
.home-hero-card h1 { margin:0; max-width:780px; font-size:clamp(44px,7vw,88px); line-height:.9; letter-spacing:-.075em; color:#0B1220; }
.home-hero-card p:not(.eyebrow) { max-width:620px; color:#5B6675; font-size:18px; line-height:1.5; }
.hero-primary-action { display:flex; justify-content:flex-end; }
.money-answer-grid { display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:14px; margin:16px 0; }
.money-answer-grid article { padding:22px; border-radius:28px; background:#fff; border:1px solid rgba(11,18,32,.06); box-shadow:0 16px 50px rgba(15,23,42,.05); }
.money-answer-grid span { display:block; color:#64748B; font-weight:900; font-size:13px; }
.money-answer-grid strong { display:block; margin:8px 0 4px; font-size:clamp(30px,4vw,52px); line-height:.95; letter-spacing:-.06em; color:#0B1220; }
.money-answer-grid p { margin:0; color:#667085; }
.safe-spend-answer { background:#0B1220 !important; color:#fff; }
.safe-spend-answer strong,.safe-spend-answer span { color:#fff; }
.safe-spend-answer p { color:rgba(255,255,255,.72); }
.guided-setup-card,.home-card { padding:24px; border-radius:34px; background:#fff; border:1px solid rgba(11,18,32,.07); box-shadow:0 20px 70px rgba(15,23,42,.06); }
.guided-setup-card { margin-bottom:16px; }
.section-heading-row { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:14px; }
.section-heading-row h2 { margin:0; font-size:clamp(28px,4vw,48px); line-height:.95; letter-spacing:-.06em; color:#0B1220; }
.section-heading-row .eyebrow { color:#168986; margin:0 0 8px; }
.section-heading-row > span { display:grid; place-items:center; min-width:42px; height:42px; border-radius:999px; background:#EFFFFB; color:#168986; font-weight:950; }
.section-intro { color:#64748B; margin-top:-4px; }
.starter-envelope-grid { display:grid; grid-template-columns:repeat(7,minmax(130px,1fr)); gap:10px; overflow-x:auto; padding-bottom:4px; }
.starter-envelope-card { min-width:150px; display:grid; gap:8px; text-align:left; padding:16px; border-radius:24px; background:linear-gradient(180deg,#fff,#F8FAFC); border:1px solid rgba(11,18,32,.08); }
.starter-envelope-card span { color:#168986; font-size:11px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.starter-envelope-card h3 { margin:0; font-size:20px; letter-spacing:-.035em; }
.starter-envelope-card p { min-height:44px; margin:0; color:#64748B; font-size:13px; }
.starter-envelope-card button { padding:10px 12px; }
.home-two-column { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); gap:16px; align-items:start; }
.home-stack { display:grid; gap:16px; }
.attention-list,.transaction-inbox,.wallet-envelope-list { display:grid; gap:10px; }
.attention-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:12px; align-items:center; width:100%; text-decoration:none; text-align:left; padding:14px; border-radius:22px; border:1px solid rgba(11,18,32,.07); background:#F8FAFC; color:#0B1220; }
.attention-row span { display:grid; place-items:center; width:36px; height:36px; border-radius:999px; background:#fff; color:#168986; font-weight:950; }
.attention-row h3,.transaction-review-row h3,.wallet-envelope-card h3 { margin:0; letter-spacing:-.03em; }
.attention-row p,.transaction-review-row p,.wallet-envelope-card p { margin:3px 0 0; color:#64748B; }
.attention-row.urgent { background:#EFFFFB; border-color:rgba(22,137,134,.16); }
.transaction-review-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:14px; border-radius:22px; background:#F8FAFC; border:1px solid rgba(11,18,32,.07); }
.transaction-review-row form { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.transaction-review-row select { min-width:160px; margin:0; }
.wallet-envelope-card { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:16px; border-radius:24px; background:#F8FAFC; border:1px solid rgba(11,18,32,.07); }
.wallet-envelope-card strong { font-size:18px; }
.wallet-envelope-card i { position:absolute; left:0; bottom:0; height:5px; background:linear-gradient(90deg,#168986,#7DE4D4); border-radius:999px; }
.plan-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.plan-stats span { padding:14px; border-radius:20px; background:#F8FAFC; color:#64748B; }
.plan-stats b { display:block; color:#0B1220; font-size:24px; letter-spacing:-.04em; }
.simple-envelope-form summary { cursor:pointer; font-weight:950; color:#0B1220; padding:12px 0; }
.simple-envelope-form form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.simple-envelope-form label { display:grid; gap:6px; color:#526071; font-weight:850; }
.simple-envelope-form button { grid-column:1/-1; }
.calm-empty { padding:18px; border-radius:20px; background:#F8FAFC; color:#64748B; }
@media (max-width:980px){ .home-hero-card,.home-two-column,.money-answer-grid{grid-template-columns:1fr;} .hero-primary-action{justify-content:flex-start;} .starter-envelope-grid{grid-template-columns:repeat(4,minmax(160px,1fr));} }
@media (max-width:680px){ .fundlyr-home{width:min(100% - 20px, 1180px); padding-top:12px;} .home-topbar{align-items:flex-start; flex-wrap:wrap;} .home-topbar nav{order:3; width:100%; overflow-x:auto; justify-content:flex-start;} .home-hero-card,.guided-setup-card,.home-card{padding:18px; border-radius:26px;} .starter-envelope-grid,.simple-envelope-form form{grid-template-columns:1fr;} .transaction-review-row,.attention-row{grid-template-columns:1fr;} .transaction-review-row form{justify-content:flex-start;} }

/* CLEAR-28 money control layer */
.fundlyr-control-shell{background:#F6F7F8;color:#111827}.control-layer{width:min(1120px,calc(100% - 28px));margin:0 auto;padding:22px 0 70px}.control-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.control-topbar .brand{font-size:22px;font-weight:950;letter-spacing:-.04em;color:#0B1220;text-decoration:none}.control-topbar nav{display:flex;gap:6px;padding:6px;border-radius:999px;background:#fff;border:1px solid rgba(11,18,32,.07);box-shadow:0 10px 30px rgba(15,23,42,.05)}.control-topbar nav a{text-decoration:none;color:#5B6675;font-weight:900;padding:9px 14px;border-radius:999px}.control-topbar nav a.is-active,.control-topbar nav a:hover{background:#0B1220;color:#fff}.safe-first-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;align-items:stretch;margin-bottom:16px}.safe-copy{padding:30px;border-radius:36px;background:#0B1220;color:#fff;box-shadow:0 24px 70px rgba(11,18,32,.2)}.safe-copy h1{margin:0;font-size:clamp(58px,12vw,132px);letter-spacing:-.09em;line-height:.82;color:#fff}.safe-copy p{color:rgba(255,255,255,.75);font-size:18px;max-width:620px}.safe-copy .eyebrow{color:#7DE4D4}.safe-equation{display:grid;grid-template-columns:1fr 1fr;gap:10px}.safe-equation div,.money-purpose-card,.spend-question-card,.control-card{padding:22px;border-radius:28px;background:#fff;border:1px solid rgba(11,18,32,.07);box-shadow:0 18px 60px rgba(15,23,42,.06)}.safe-equation span{display:block;color:#64748B;font-weight:900}.safe-equation strong{display:block;margin-top:8px;font-size:clamp(28px,4vw,46px);letter-spacing:-.06em}.money-purpose-card,.spend-question-card,.control-card{margin-bottom:16px}.purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.purpose-card{position:relative;overflow:hidden;padding:18px;border-radius:24px;background:#F8FAFC;border:1px solid rgba(11,18,32,.07);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.purpose-card h3{margin:0}.purpose-card p{margin:4px 0 0;color:#64748B}.purpose-card strong{font-size:22px}.purpose-card i{position:absolute;left:0;bottom:0;height:5px;background:linear-gradient(90deg,#168986,#7DE4D4)}.purpose-card.is-overspent{background:#FFF1F2}.spendable-list,.funding-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.spendable-list div,.funding-options article{padding:16px;border-radius:20px;background:#F8FAFC}.spendable-list span{display:block;color:#64748B;font-weight:900}.spendable-list strong{font-size:26px}.screen-hero{padding:28px;border-radius:34px;background:linear-gradient(135deg,#fff,#ECFFFB);border:1px solid rgba(11,18,32,.07);box-shadow:0 20px 70px rgba(15,23,42,.06);margin-bottom:16px}.screen-hero h1{margin:0;font-size:clamp(42px,7vw,82px);line-height:.9;letter-spacing:-.075em}.control-table{width:100%;border-collapse:separate;border-spacing:0 8px}.control-table th{text-align:left;color:#64748B;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.control-table td{background:#F8FAFC;padding:14px;border-top:1px solid rgba(11,18,32,.06);border-bottom:1px solid rgba(11,18,32,.06)}.control-table td:first-child{border-left:1px solid rgba(11,18,32,.06);border-radius:16px 0 0 16px}.control-table td:last-child{border-right:1px solid rgba(11,18,32,.06);border-radius:0 16px 16px 0}.control-table small{display:block;color:#64748B;margin-top:4px}.drag-handle{cursor:grab;color:#94A3B8}.control-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.control-form-grid label{display:grid;gap:6px;font-weight:900;color:#526071}.control-form-grid button{grid-column:1/-1}.inline-correction-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-correction-form select{min-width:160px;margin:0}.empty-control-state{padding:24px;border-radius:24px;background:#F8FAFC}.envelope-table-wrap{overflow-x:auto}@media(max-width:900px){.safe-first-card,.purpose-grid,.spendable-list,.funding-options{grid-template-columns:1fr}.control-form-grid{grid-template-columns:1fr 1fr}.control-topbar{align-items:flex-start;flex-wrap:wrap}.control-topbar nav{order:3;width:100%;overflow-x:auto}.safe-copy{padding:24px}.safe-equation{grid-template-columns:1fr 1fr}}@media(max-width:600px){.control-layer{width:calc(100% - 18px);padding-top:10px}.safe-first-card{display:flex;flex-direction:column}.safe-copy{order:0;border-radius:28px}.safe-equation{grid-template-columns:1fr}.money-purpose-card,.control-card,.screen-hero{padding:18px;border-radius:24px}.control-form-grid{grid-template-columns:1fr}.control-table{font-size:14px}.control-table td,.control-table th{padding:10px}.section-heading-row{display:block}.section-heading-row .button{margin-top:10px}}
.priority-cell{display:flex;align-items:center;justify-content:space-between;gap:10px}.priority-buttons{display:flex;gap:4px}.priority-buttons button{min-width:34px;padding:7px 9px;border-radius:10px;background:#fff;color:#0B1220;border:1px solid rgba(11,18,32,.12);box-shadow:none}.priority-buttons button:disabled{opacity:.32;cursor:not-allowed}.inline-correction-form+small{display:block;margin-top:6px;color:#64748B}@media(max-width:700px){.priority-cell{align-items:flex-start;flex-direction:column;min-width:92px}.priority-buttons button{min-width:42px;padding:10px 12px}.drag-handle{display:none}}

/* Mobile priority: safe-to-spend, then money-by-purpose bar chart */
.purpose-bar{grid-column:1/-1;display:block;height:9px;border-radius:999px;background:#E5EDF5;overflow:hidden}.purpose-bar i{position:static;display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#168986,#7DE4D4)}
@media(max-width:600px){.control-layer{display:flex;flex-direction:column}.safe-first-card{display:contents}.safe-copy{order:1;margin-bottom:16px}.money-purpose-card{order:2}.safe-equation{order:3;margin-bottom:16px}.spend-question-card{order:4}.money-purpose-card .section-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.money-purpose-card .section-heading-row .button{margin-top:0;white-space:nowrap}.purpose-grid{display:grid;grid-template-columns:1fr;gap:10px}.purpose-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px 15px 16px;border-radius:20px}.purpose-card h3{font-size:16px}.purpose-card p{font-size:12px}.purpose-card strong{font-size:18px}.purpose-card>i{display:none}.purpose-bar{height:11px;margin-top:2px}}

/* Envelope editing */
.envelope-edit summary{cursor:pointer;font-weight:950;color:#168986}.envelope-edit-form{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:8px;margin-top:10px;min-width:360px}.envelope-edit-form label{display:grid;gap:4px;color:#526071;font-size:12px;font-weight:900}.envelope-edit-form input,.envelope-edit-form select{margin:0;padding:9px 10px;border-radius:12px}.envelope-edit-form button{grid-column:1/-1;margin-top:0}.danger-button{margin-top:8px;background:#FFF1F2!important;color:#BE123C!important;border:1px solid rgba(190,18,60,.18)!important;box-shadow:none!important}@media(max-width:700px){.envelope-edit-form{grid-template-columns:1fr;min-width:260px}.envelope-priority-table th:nth-child(6),.envelope-priority-table td:nth-child(6){display:none}}

/* Pencil edit affordance */
.envelope-edit{position:relative}.envelope-edit summary.icon-edit-button{list-style:none;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff;color:#0B1220;border:1px solid rgba(11,18,32,.12);box-shadow:0 8px 20px rgba(15,23,42,.06);font-size:18px;line-height:1}.envelope-edit summary.icon-edit-button::-webkit-details-marker{display:none}.envelope-edit[open] summary.icon-edit-button{background:#0B1220;color:#fff}.envelope-edit[open] .envelope-edit-form{margin-top:10px}

/* Billing subscription state polish */
.billing-subscribe-action{display:block;width:100%;box-sizing:border-box;text-align:center;margin-top:18px}.billing-escape{text-align:center;margin-top:18px}.billing-escape a{font-weight:850}.billing-required-copy{text-align:center}.billing-required-copy+.trial-panel{text-align:left}

/* Polished Google auth button */
.google-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;box-sizing:border-box;background:#fff;color:#1f2937;border:1px solid #dadce0;border-radius:999px;box-shadow:0 3px 12px rgba(16,24,40,.06);font-weight:850;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.google-button:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,24,40,.1);border-color:#c7ccd4}.google-button:before{content:'';width:20px;height:20px;flex:0 0 20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24s.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Admin operations tab */
.ops-metrics{margin:18px 0}.ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.ops-card{padding:18px;border-radius:24px;background:#F8FAFC;border:1px solid rgba(11,18,32,.07)}.ops-card h3{margin:0 0 12px}.ops-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.ops-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(11,18,32,.06)}.ops-list li:last-child{border-bottom:0}.admin-user-table.compact td,.admin-user-table.compact th{padding:10px}@media(max-width:800px){.ops-grid{grid-template-columns:1fr}}

/* Admin mobile polish */
@media (max-width:720px){
  .admin-console{width:calc(100% - 18px);padding:12px 0 36px;}
  .admin-hero{padding:18px;border-radius:28px;background:#fff;border:1px solid rgba(11,18,32,.07);box-shadow:0 16px 42px rgba(15,23,42,.06);}
  .admin-hero h1{font-size:42px;line-height:.92;}
  .admin-hero form button{width:100%;}
  .admin-metrics{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0;}
  .metric-card{border-radius:20px;padding:13px!important;}
  .metric-card strong{font-size:30px;letter-spacing:-.05em;}
  .metric-card small{font-size:11px;line-height:1.25;}
  .admin-tabs{position:sticky;top:4px;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;border-radius:20px;padding:6px;margin:14px 0;background:rgba(255,255,255,.94);}
  .admin-tab{justify-content:center;padding:10px 8px;font-size:13px;}
  .admin-table-card,.admin-readiness{padding:14px!important;border-radius:24px!important;}
  .admin-section-head h2{font-size:24px;margin-bottom:6px;}
  .admin-user-tools{display:grid;gap:10px;}
  .admin-user-tools .status-pill{justify-content:center;width:100%;box-sizing:border-box;}
  .search-box input{width:100%;font-size:16px;}
  .table-scroll{overflow:visible;}
  .admin-user-table,.admin-user-table thead,.admin-user-table tbody,.admin-user-table tr,.admin-user-table th,.admin-user-table td{display:block;width:100%;}
  .admin-user-table thead{display:none;}
  .admin-user-table tr{box-sizing:border-box;margin:0 0 12px;padding:14px;border-radius:22px;background:#F8FAFC;border:1px solid rgba(11,18,32,.07);}
  .admin-user-table td{box-sizing:border-box;display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;padding:9px 0!important;border:0!important;background:transparent!important;text-align:left;min-width:0!important;}
  .admin-user-table td:before{content:attr(data-label);color:#64748B;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;}
  .admin-user-table td[data-label='User']{display:block;padding-top:0!important;}
  .admin-user-table td[data-label='User'] strong,.admin-user-table td[data-label='User'] .muted{overflow-wrap:anywhere;}
  .admin-user-table td[data-label='User']:before{display:none;}
  .admin-user-table td[data-label='Actions']{display:block;padding-bottom:0!important;}
  .admin-user-table td[data-label='Actions']:before{display:block;margin-bottom:8px;}
  .trial-form{grid-template-columns:1fr;gap:8px;margin-top:10px;}
  .trial-form input{width:100%;box-sizing:border-box;font-size:16px;}
  .trial-form button{width:100%;}
  .admin-action-form{grid-template-columns:1fr;gap:8px;margin:8px 0!important;}
  .admin-action-form select,.admin-action-form button{width:100%;box-sizing:border-box;}
  .readiness-score{display:inline-flex;margin-top:10px;}
  .readiness-grid article,.ops-card{border-radius:20px;padding:14px;}
  .ops-list li{align-items:flex-start;flex-direction:column;gap:6px;}
  .admin-user-table.compact td{display:grid;grid-template-columns:92px minmax(0,1fr);}
  .admin-user-table.compact td:nth-child(1):before{content:'User';display:block;}
  .admin-user-table.compact td:nth-child(2):before{content:'Sub';}
  .admin-user-table.compact td:nth-child(3):before{content:'Bank';}
  .admin-user-table.compact td:nth-child(4):before{content:'Txns';}
}

/* Dedicated pricing page */
.pricing-page-shell{max-width:1120px;margin:0 auto;text-align:center;padding-top:110px}.pricing-page-shell h1{font-size:clamp(48px,8vw,88px);line-height:.9;letter-spacing:-.075em;margin:10px auto 16px;max-width:850px}.pricing-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:34px auto;max-width:900px}.pricing-choice-card{position:relative;text-align:left;padding:28px;border-radius:32px;background:#fff;border:1px solid rgba(20,25,35,.08);box-shadow:0 24px 70px rgba(15,23,42,.08)}.pricing-choice-card.featured{background:linear-gradient(180deg,#fff,#ECFFFB);border-color:rgba(22,137,134,.22)}.pricing-choice-card b{position:absolute;right:22px;top:18px;border-radius:999px;background:#0B1220;color:#fff;padding:7px 10px;font-size:12px}.pricing-choice-card span{display:block;color:#64748B;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.pricing-choice-card strong{display:inline-block;margin-top:14px;font-size:64px;letter-spacing:-.08em}.pricing-choice-card em{font-style:normal;color:#64748B;font-weight:900}.pricing-choice-card p{min-height:52px;color:#526071}.pricing-choice-card .button{width:100%;box-sizing:border-box;text-align:center}.pricing-includes{max-width:900px;margin:20px auto 0;text-align:left;padding:24px;border-radius:28px;background:#F8FAFC}.pricing-includes h2{margin-top:0}.pricing-includes ul{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;padding-left:18px;color:#526071;font-weight:800}@media(max-width:760px){.pricing-page-shell{padding-top:72px}.pricing-choice-grid,.pricing-includes ul{grid-template-columns:1fr}.pricing-choice-card p{min-height:0}.pricing-choice-card strong{font-size:54px}}
