:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --card: rgba(255, 255, 255, .92);
  --line: rgba(0, 0, 0, .075);
  --forest: #1d1d1f;
  --forest-2: #0071e3;
  --mint: #e8f3ff;
  --gold: #ff9f0a;
  --coral: #ff453a;
  --blue: #0071e3;
  --shadow: 0 10px 32px rgba(0, 0, 0, .055), 0 1px 2px rgba(0, 0, 0, .04);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 78% -20%, #e8f3ff 0, transparent 32%), var(--paper); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.app { min-height: 100vh; display: block; }
.sidebar { background: var(--forest); color: #eff7f1; padding: 30px 18px 22px; position: fixed; inset: 0 auto 0 0; width: 236px; display: flex; flex-direction: column; z-index: 3; }
.brand { font-weight: 750; font-size: 20px; display: flex; gap: 11px; align-items: center; padding: 0 10px 34px; letter-spacing: -.3px; }
.brand-mark { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--forest); color: white; font-family: Georgia, serif; font-size: 29px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.brand-mark.small { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; background: #d9eee0; color: var(--forest); }
nav { display: grid; gap: 5px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; padding: 11px 13px; border-radius: 10px; background: transparent; color: #b9cbbf; text-align: left; font-weight: 600; }
.nav-item span { width: 18px; text-align: center; font-size: 17px; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,.1); color: white; }
.side-bottom { margin-top: auto; }
.local-pill { margin: 18px 10px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; color: #a9c0b1; display: flex; gap: 8px; align-items: center; }
.local-pill span { width: 7px; height: 7px; border-radius: 50%; background: #77d696; box-shadow: 0 0 0 4px rgba(119,214,150,.12); }
main { grid-column: 2; min-width: 0; }
.topbar { min-height: 104px; padding: 24px 42px 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(245,244,239,.88); position: sticky; top: 0; z-index: 2; backdrop-filter: blur(12px); }
.eyebrow { margin: 0 0 6px; font-size: 10px; letter-spacing: 1.6px; font-weight: 800; color: #7b8780; }
.topbar h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: 27px; letter-spacing: -.4px; }
.header-actions, .row { display: flex; align-items: center; gap: 10px; }
.primary, .secondary, .ghost, .danger { border-radius: 9px; border: 1px solid transparent; padding: 10px 15px; font-weight: 700; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: var(--forest-2); }
.secondary { background: white; border-color: #ced2cc; color: var(--ink); }
.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.danger { color: #a63c2b; background: #fff5f2; border-color: #f0cfc7; }
.full { width: 100%; }
.icon-button { width: 38px; height: 38px; border: 1px solid #d5d7d1; background: white; border-radius: 9px; font-size: 18px; color: #445148; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #e0b65f; color: #382a0e; font-weight: 800; }
.content { padding: 30px 42px 55px; max-width: 1480px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-bottom: 18px; }
.hero-main { color: white; min-height: 205px; padding: 28px 30px; border-radius: 17px; background: linear-gradient(128deg, #18382c 0%, #244e3d 75%, #41624f 100%); position: relative; overflow: hidden; }
.hero-main:after { content:""; position:absolute; width:260px; height:260px; border: 1px solid rgba(255,255,255,.12); border-radius:50%; right:-85px; top:-105px; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02); }
.hero-main .eyebrow { color: #adc6b6; }
.net-worth { font-family: Georgia, serif; font-size: 43px; margin: 20px 0 8px; letter-spacing: -1px; }
.delta { font-size: 12px; color: #bfd6c7; }
.hero-side, .card { border: 1px solid var(--line); background: var(--card); border-radius: 15px; box-shadow: 0 2px 0 rgba(24,56,44,.02); }
.hero-side { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.health-row { display: flex; align-items: center; gap: 18px; }
.score-ring { --score: 72; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--forest-2) calc(var(--score) * 1%), #e5e7e2 0); position:relative; font-size: 22px; font-weight: 800; }
.score-ring:before { content:""; position:absolute; inset:8px; border-radius:50%; background:white; }
.score-ring span { position:relative; }
.health-row h3 { margin: 0 0 5px; font-size: 16px; }
.health-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.progress { height: 7px; background: #e8e9e5; border-radius: 10px; overflow:hidden; }
.progress span { height:100%; display:block; background: var(--forest-2); border-radius:10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 19px 20px; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.stat-value { font-size: 22px; font-weight: 750; margin: 10px 0 4px; letter-spacing: -.5px; }
.stat-note { font-size: 11px; color: var(--muted); }
.positive { color: #23734b; }
.negative { color: #b24a39; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.grid-wide { display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; }
.card { padding: 22px; }
.card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:18px; }
.card h3 { margin:0; font-size:15px; }
.card-sub { margin:5px 0 0; color:var(--muted); font-size:12px; }
.link-button, .text-button { border:0; background:transparent; color:var(--forest-2); padding:3px; font-weight:750; font-size:12px; }
.allocation { display:flex; align-items:center; gap:25px; min-height:180px; }
canvas { max-width:100%; }
.donut-wrap { width:150px; height:150px; flex: 0 0 auto; }
.legend { flex:1; display:grid; gap:10px; }
.legend-row { display:grid; grid-template-columns: 10px 1fr auto; gap:8px; align-items:center; font-size:12px; }
.dot { width:8px; height:8px; border-radius:50%; }
.legend-row span:nth-child(2) { color:var(--muted); }
.table-card { padding:0; overflow:hidden; }
.table-card .card-head { padding:22px 22px 0; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th { text-align:left; color:#78837d; font-size:10px; letter-spacing:.7px; text-transform:uppercase; padding:12px 16px; border-bottom:1px solid var(--line); }
td { padding:14px 16px; border-bottom:1px solid #ecece8; }
tr:last-child td { border-bottom:0; }
.member-chip { display:inline-flex; gap:6px; align-items:center; color:var(--muted); font-size:11px; }
.member-chip i { width:7px; height:7px; border-radius:50%; display:block; }
.tag { display:inline-block; padding:4px 8px; border-radius:20px; font-size:10px; font-weight:750; background:#edf2ee; color:#4b6758; }
.page-intro { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:22px; }
.page-intro h3 { margin:0 0 7px; font-family:Georgia,serif; font-size:25px; font-weight:500; }
.page-intro p { margin:0; color:var(--muted); font-size:13px; }
.empty { padding:45px 20px; text-align:center; color:var(--muted); }
.members-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.member-card { padding:22px; }
.member-top { display:flex; align-items:center; gap:13px; }
.member-avatar { width:44px; height:44px; border-radius:14px; color:white; display:grid; place-items:center; font-weight:800; }
.member-card h3 { margin:0 0 3px; }
.member-card .amount { font-size:20px; font-weight:750; margin:22px 0 5px; }
.split { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; padding-top:12px; border-top:1px solid var(--line); margin-top:15px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.field { display:grid; gap:6px; }
.field.wide { grid-column:1/-1; }
label { font-size:11px; font-weight:750; color:#536059; }
input, select { width:100%; border:1px solid #d3d6d0; background:white; color:var(--ink); border-radius:9px; padding:11px 12px; outline:none; }
input:focus, select:focus { border-color:#527c68; box-shadow:0 0 0 3px rgba(82,124,104,.12); }
.modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }
dialog { width:min(560px, calc(100vw - 30px)); border:0; border-radius:17px; padding:0; box-shadow:0 30px 80px rgba(15,32,24,.28); }
dialog::backdrop { background:rgba(13,30,22,.55); backdrop-filter:blur(3px); }
.modal-shell { padding:25px; }
.modal-head { display:flex; justify-content:space-between; align-items:start; margin-bottom:22px; }
.modal-head h3 { margin:0; font-family:Georgia,serif; font-size:23px; font-weight:500; }
.planner-layout { display:grid; grid-template-columns:340px 1fr; gap:18px; }
.planner-output { background:var(--forest); color:white; border-radius:15px; padding:27px; }
.planner-output .eyebrow { color:#aac3b3; }
.planner-number { font-family:Georgia,serif; font-size:38px; margin:14px 0 4px; }
.planner-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.13); margin-top:27px; }
.planner-metrics div { background:var(--forest); padding:15px 12px; }
.planner-metrics small { display:block; color:#aac3b3; margin-bottom:7px; }
.range-line { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); }
input[type="range"] { padding:0; accent-color:var(--forest-2); }
.assistant-shell { display:grid; grid-template-columns:1fr 270px; gap:18px; min-height:560px; }
.chat { display:flex; flex-direction:column; padding:0; overflow:hidden; }
.chat-log { padding:25px; flex:1; display:flex; flex-direction:column; gap:14px; max-height:520px; overflow:auto; }
.message { max-width:78%; padding:13px 15px; border-radius:13px; line-height:1.55; font-size:13px; white-space:pre-line; }
.message.bot { background:#edf2ee; align-self:flex-start; border-bottom-left-radius:4px; }
.message.user { background:var(--forest); color:white; align-self:flex-end; border-bottom-right-radius:4px; }
.chat-form { display:flex; gap:9px; border-top:1px solid var(--line); padding:15px; }
.chat-form input { flex:1; }
.suggestions { display:grid; gap:8px; align-content:start; }
.suggestion { text-align:left; border:1px solid var(--line); background:white; border-radius:10px; padding:11px; color:#46524b; font-size:11px; line-height:1.4; }
.security-list { display:grid; gap:12px; }
.security-row { display:flex; justify-content:space-between; align-items:center; padding:17px 0; border-bottom:1px solid var(--line); }
.security-row:last-child { border-bottom:0; }
.security-row h4 { margin:0 0 4px; font-size:13px; }
.security-row p { margin:0; color:var(--muted); font-size:11px; }
.lock-screen { position:fixed; inset:0; display:grid; place-items:center; background:radial-gradient(circle at 70% 20%, #385b49 0, #17362b 42%, #10271f 100%); z-index:20; padding:20px; }
.lock-card { width:min(420px,100%); background:#fafaf7; padding:34px; border-radius:19px; box-shadow:0 35px 80px rgba(0,0,0,.28); }
.lock-card .brand-mark { margin-bottom:25px; }
.lock-card h1 { margin:0 0 10px; font-family:Georgia,serif; font-size:28px; font-weight:500; }
.muted { color:var(--muted); line-height:1.55; }
.lock-card form { display:grid; gap:10px; margin-top:24px; }
.recovery-link { display:block; margin:14px auto 0; }
.reset-link { display:block; margin:8px auto 0; padding:3px; border:0; background:transparent; color:#a33a31; font-size:10px; font-weight:650; }
.reset-link:hover { text-decoration:underline; }
.recovery-code { margin:16px 0; padding:17px; border:1px solid #b9d8f5; border-radius:14px; background:#f1f8ff; color:#064f91; text-align:center; font:700 17px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing:.6px; overflow-wrap:anywhere; user-select:all; }
.recovery-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.password-wrap { position:relative; }
.password-wrap input { padding-right:55px; }
.password-wrap button { position:absolute; right:10px; top:9px; }
.fine-print { color:#8a938e; font-size:10px; line-height:1.5; margin:16px 0 0; }
.error { min-height:16px; color:#b44232; font-size:11px; }
.toast { position:fixed; right:24px; bottom:24px; padding:12px 16px; background:#172a21; color:white; border-radius:10px; opacity:0; transform:translateY(8px); transition:.2s; z-index:30; font-size:12px; pointer-events:none; }
.toast.show { opacity:1; transform:none; }
.callout { border-left:3px solid var(--gold); background:#fbf6e9; padding:13px 15px; border-radius:0 9px 9px 0; color:#675630; font-size:11px; line-height:1.55; }
.source { font-size:10px; color:#65726a; padding-top:8px; margin-top:9px; border-top:1px solid rgba(23,56,44,.12); }
@media (max-width: 980px) {
  .app { grid-template-columns:76px 1fr; }
  .sidebar { width:76px; padding:25px 10px; }
  .brand { padding:0 10px 30px; }
  .brand > span:last-child, .nav-item:not(.active) { font-size:0; }
  .nav-item { justify-content:center; gap:0; }
  .nav-item span { font-size:18px; }
  .side-bottom .local-pill { display:none; }
  main { grid-column:2; }
  .hero, .grid-wide, .planner-layout, .assistant-shell { grid-template-columns:1fr; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .members-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 650px) {
  .app { display:block; }
  .sidebar { position:fixed; inset:auto 0 0; width:auto; height:64px; flex-direction:row; padding:8px; z-index:10; }
  .brand, .side-bottom { display:none; }
  nav { display:flex; width:100%; justify-content:space-around; }
  .nav-item { width:auto; font-size:0; padding:9px; }
  main { padding-bottom:65px; }
  .topbar, .content { padding-left:18px; padding-right:18px; }
  .topbar { min-height:84px; }
  #quick-add { font-size:0; width:39px; }
  #quick-add:first-letter { font-size:18px; }
  .hero, .grid-2, .stat-grid, .members-grid { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .field.wide { grid-column:auto; }
}

/* Plutus premium interface */
.sidebar {
  inset: 18px auto 18px 18px;
  width: 72px;
  padding: 13px 10px;
  border-radius: 23px;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 60px rgba(0,0,0,.11), 0 2px 8px rgba(0,0,0,.05);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  overflow: visible;
}
.brand { justify-content: center; padding: 1px 0 25px; }
.brand-mark.small {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(145deg, #1687f8, #0064cf);
  color: white; font-family: inherit; font-size: 21px; font-weight: 760;
  box-shadow: 0 8px 18px rgba(0,113,227,.25), inset 0 1px 0 rgba(255,255,255,.28);
}
nav { gap: 7px; }
.nav-item {
  position: relative; justify-content: center; width: 50px; height: 48px;
  padding: 0; border-radius: 14px; color: #86868b; gap: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-item:hover { background: rgba(0,0,0,.045); color: #1d1d1f; transform: translateY(-1px); }
.nav-item.active { background: #0071e3; color: white; box-shadow: 0 7px 18px rgba(0,113,227,.24); }
.nav-item span { width: 21px; height: 21px; font-size: 0; display: grid; place-items: center; }
.nav-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nav-item[data-label]:after {
  content: attr(data-label); position: absolute; left: 62px; top: 50%; transform: translate(-5px,-50%);
  background: rgba(29,29,31,.92); color: white; border-radius: 8px; padding: 7px 10px;
  font-size: 11px; font-weight: 650; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease; box-shadow: 0 5px 18px rgba(0,0,0,.16);
}
.nav-item[data-label]:hover:after { opacity: 1; transform: translate(0,-50%); }
.side-bottom { margin-top: auto; display: grid; justify-items: center; }
.local-pill { width: 50px; justify-content: center; border-top: 1px solid rgba(0,0,0,.08); margin: 10px 0 0; padding: 15px 0 5px; }
.local-pill span { background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.12); }
main { margin-left: 104px; min-width: 0; }
.topbar {
  padding: 30px 42px 19px; min-height: 108px; border-bottom: 0;
  background: rgba(245,245,247,.72); backdrop-filter: saturate(170%) blur(22px);
}
.topbar h2, .page-intro h3, .modal-head h3 { font-family: inherit; font-weight: 690; letter-spacing: -.65px; }
.topbar h2 { font-size: 28px; }
.eyebrow { color: #86868b; letter-spacing: 1.45px; font-weight: 720; }
.content { padding: 25px 42px 60px; }
.primary, .secondary, .ghost, .danger { border-radius: 12px; padding: 10px 16px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.primary { background: #0071e3; box-shadow: 0 5px 14px rgba(0,113,227,.18); }
.primary:hover { background: #0077ed; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,113,227,.23); }
.secondary { border-color: rgba(0,0,0,.09); background: rgba(255,255,255,.86); }
.secondary:hover, .ghost:hover { background: white; transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0,0,0,.06); }
.icon-button { border-color: rgba(0,0,0,.08); border-radius: 12px; background: rgba(255,255,255,.8); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.avatar { background: linear-gradient(145deg,#242426,#050506); color:white; border:0; border-radius:50%; box-shadow:0 4px 12px rgba(0,0,0,.14); cursor:pointer; }
.save-status { display:flex; align-items:center; gap:7px; color:#86868b; font-size:11px; font-weight:600; min-width:64px; }
.save-status i { width:7px; height:7px; border-radius:50%; background:#34c759; transition:background .2s; }
.save-status.saving i { background:#ff9f0a; }
.save-status.error i { background:#ff453a; }
.account-list { display:grid; gap:10px; }
.account-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); }
.account-identity { display:flex; align-items:center; gap:11px; min-width:0; }
.account-identity .member-avatar { width:38px; height:38px; border-radius:50%; flex:0 0 auto; }
.account-identity h4 { margin:0 0 3px; font-size:13px; }
.account-identity p { margin:0; color:var(--muted); font-size:10px; }
.account-choice { width:100%; text-align:left; border:1px solid var(--line); background:white; border-radius:14px; padding:14px; transition:.16s; }
.account-choice:hover { border-color:#8fc5f5; background:#f5faff; transform:translateY(-1px); }
.permission-note { display:flex; gap:9px; padding:12px 14px; border-radius:12px; background:#f2f6fa; color:#53616d; font-size:11px; line-height:1.5; margin-bottom:16px; }
.owner-only { grid-column:1/-1; }
.hero { gap: 16px; }
.hero-main {
  min-height: 218px; padding: 30px 32px; border-radius: 22px;
  background: radial-gradient(circle at 80% 25%, rgba(40,145,255,.58), transparent 34%), linear-gradient(130deg,#111113 0%,#202025 58%,#073a70 100%);
  box-shadow: 0 18px 45px rgba(0,0,0,.14); border: 1px solid rgba(255,255,255,.08);
}
.hero-main:after { border-color: rgba(255,255,255,.1); }
.hero-main .eyebrow { color: rgba(255,255,255,.58); }
.net-worth { font-family: inherit; font-weight: 650; font-size: 46px; letter-spacing: -2px; }
.delta { color: rgba(255,255,255,.66); }
.hero-side, .card {
  border-color: rgba(0,0,0,.065); border-radius: 20px; box-shadow: var(--shadow);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.hero-side { padding: 27px; }
.score-ring { background: conic-gradient(#34c759 calc(var(--score) * 1%), #ededf0 0); }
.stat-grid { gap: 14px; }
.stat { padding: 21px 22px; }
.stat-label { color: #86868b; font-weight: 650; }
.stat-value { font-size: 24px; letter-spacing: -.7px; }
.positive { color: #248a3d; }
.negative { color: #d70015; }
.progress span { background: #0071e3; }
.card { padding: 24px; }
.card h3 { font-weight: 680; letter-spacing: -.18px; }
.card-sub, .stat-note { color: #86868b; }
.link-button, .text-button { color: #0071e3; }
.tag { background: #eef5fc; color: #0066cc; }
th { color: #86868b; font-weight: 650; }
td { border-bottom-color: rgba(0,0,0,.055); }
tr:hover td { background: rgba(0,113,227,.025); }
input, select { border-color: rgba(0,0,0,.12); border-radius: 11px; background: rgba(255,255,255,.9); }
input:focus, select:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.13); }
dialog { border-radius: 22px; box-shadow: 0 35px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(0,0,0,.34); backdrop-filter: blur(12px); }
.planner-output { border-radius: 20px; background: radial-gradient(circle at 90% 0,rgba(0,122,255,.65),transparent 36%),#1d1d1f; box-shadow: 0 18px 42px rgba(0,0,0,.15); }
.planner-number { font-family:inherit; font-weight:650; letter-spacing:-1.5px; }
.planner-metrics div { background:#1d1d1f; }
.message.bot { background: #f0f0f2; }
.message.user { background: #0071e3; }
.suggestion:hover { border-color:#99c9f5; background:#f5faff; }
.lock-screen { background: radial-gradient(circle at 68% 18%, #2390fb 0, #0d62b8 28%, #17171a 66%, #09090a 100%); }
.lock-card { background: rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.5); border-radius: 26px; padding: 38px; backdrop-filter:blur(28px); }
.lock-card .brand-mark { background:linear-gradient(145deg,#1687f8,#0064cf); font-family:inherit; font-weight:750; border-radius:17px; box-shadow:0 12px 24px rgba(0,113,227,.24); }
.lock-card h1 { font-family:inherit; font-weight:690; letter-spacing:-.8px; }
.callout { border-left-color:#ff9f0a; background:#fff7e6; color:#6f5018; }
.toast { background: rgba(29,29,31,.94); border-radius:12px; backdrop-filter:blur(18px); }

.today-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:16px 0; }
.today-strip button { display:grid; grid-template-columns:38px 1fr auto; gap:12px; align-items:center; text-align:left; padding:15px; border:1px solid rgba(0,0,0,.065); border-radius:17px; background:rgba(255,255,255,.82); box-shadow:var(--shadow); transition:.18s; }
.today-strip button:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.08); }
.today-strip b,.today-strip small { display:block; }
.today-strip b { color:#1d1d1f; font-size:12px; margin-bottom:3px; }
.today-strip small { color:#86868b; line-height:1.35; }
.today-strip strong { color:#a1a1a6; font-size:22px; font-weight:400; }
.today-icon,.insight-icon { width:36px; height:36px; border-radius:11px; display:grid; place-items:center; font-size:16px; font-weight:700; }
.today-icon.blue { color:#0071e3; background:#eaf4ff; }.today-icon.orange { color:#c76b00; background:#fff3df; }.today-icon.purple { color:#8944ab; background:#f5eafa; }
.insight-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:18px; }
.insight { display:flex; gap:14px; align-items:flex-start; padding:19px; }
.insight-icon { background:#f1f1f3; color:#1d1d1f; flex:0 0 auto; }
.insight small { color:#86868b; font-size:9px; font-weight:700; letter-spacing:.9px; }.insight h3 { margin:6px 0; font-size:16px; }.insight p { color:#6e6e73; font-size:10px; line-height:1.5; margin:0; }
.goal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.goal-card { min-width:0; }.goal-amount { display:flex; align-items:baseline; gap:6px; margin:22px 0 10px; }.goal-amount b { font-size:25px; letter-spacing:-.6px; }.goal-amount span,.goal-footer { color:#86868b; font-size:10px; }.goal-footer { display:flex; justify-content:space-between; margin-top:9px; }
.segmented { width:max-content; max-width:100%; display:flex; gap:3px; padding:4px; margin:0 0 18px; border-radius:12px; background:#e8e8ed; overflow-x:auto; }
.segmented button { border:0; border-radius:9px; background:transparent; color:#6e6e73; padding:8px 14px; white-space:nowrap; font-size:11px; font-weight:650; }
.segmented button.active { color:#1d1d1f; background:white; box-shadow:0 2px 8px rgba(0,0,0,.1); }
.decision-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:18px; }
.decision-result { padding:30px; border-radius:20px; color:white; background:radial-gradient(circle at 85% 0,rgba(0,122,255,.62),transparent 42%),#1d1d1f; box-shadow:0 18px 42px rgba(0,0,0,.14); }
.decision-result .eyebrow,.decision-result p { color:rgba(255,255,255,.66); }.decision-result h3 { font-size:24px; letter-spacing:-.6px; }.decision-emi { font-size:15px; }.scenario-compare { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:24px 0; }.scenario-compare div { padding:16px; border-radius:13px; background:rgba(255,255,255,.09); }.scenario-compare small,.scenario-compare b { display:block; }.scenario-compare small { color:rgba(255,255,255,.58); line-height:1.4; min-height:28px; }.scenario-compare b { margin-top:7px; font-size:16px; }
.connection-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.connection-card { display:flex; flex-direction:column; align-items:flex-start; gap:13px; }.connection-card p { color:#86868b; font-size:11px; line-height:1.5; min-height:34px; }.connection-logo { width:43px; height:43px; border-radius:13px; display:grid; place-items:center; color:#0066cc; background:#eaf4ff; font-size:12px; font-weight:750; }
.budget-card { margin-bottom:18px; }.budget-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px 26px; }.budget-item small { display:block; color:#86868b; margin-top:7px; }.progress.over span { background:#ff453a; }
.consent-card .security-row { border-top:1px solid var(--line); }
.tax-intro { align-items:flex-end; }
.tax-context { display:flex; align-items:flex-end; gap:10px; }
.tax-context label { color:#86868b; font-size:9px; font-weight:700; letter-spacing:.7px; text-transform:uppercase; }
.tax-context select { display:block; min-width:150px; margin-top:5px; padding:8px 30px 8px 10px; text-transform:none; }
.tax-hero { display:grid; grid-template-columns:minmax(260px,.75fr) minmax(430px,1.25fr); gap:22px; padding:28px; margin-bottom:18px; border-radius:22px; color:white; background:radial-gradient(circle at 82% 5%,rgba(52,199,89,.48),transparent 33%),linear-gradient(135deg,#111113,#202b24); box-shadow:0 18px 45px rgba(0,0,0,.14); }
.tax-hero h3 { margin:8px 0; font-size:29px; letter-spacing:-.8px; }.tax-hero>div>p:not(.eyebrow) { color:rgba(255,255,255,.63); font-size:11px; }.tax-hero .eyebrow { color:rgba(255,255,255,.55); }
.tax-settlement { display:grid; grid-template-columns:1fr auto; align-items:end; margin-top:24px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); }.tax-settlement span { color:rgba(255,255,255,.65); font-size:11px; }.tax-settlement b { font-size:22px; }.tax-settlement small { grid-column:1/-1; color:rgba(255,255,255,.45); margin-top:4px; }
.regime-compare { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-self:stretch; }.regime-card { position:relative; display:flex; flex-direction:column; justify-content:center; padding:22px; border:1px solid rgba(255,255,255,.12); border-radius:17px; background:rgba(255,255,255,.065); }.regime-card.recommended { border-color:rgba(81,224,126,.65); background:rgba(52,199,89,.12); }.regime-card span { color:rgba(255,255,255,.55); font-size:9px; font-weight:750; letter-spacing:1px; }.regime-card b { margin:10px 0 6px; font-size:27px; letter-spacing:-.6px; }.regime-card small { color:rgba(255,255,255,.52); }.regime-card i { position:absolute; top:12px; right:12px; padding:4px 7px; border-radius:7px; color:#83ef9f; background:rgba(52,199,89,.14); font-size:8px; font-style:normal; font-weight:700; }
.tax-layout { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }.tax-form .field small { display:block; min-height:24px; margin-top:5px; color:#86868b; font-size:9px; line-height:1.35; }.tax-form input:disabled,.tax-form select:disabled { color:#86868b; background:#f5f5f7; }.tax-derived { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }.tax-derived span { padding:11px; border-radius:11px; color:#6e6e73; background:#f5f5f7; font-size:10px; }.tax-derived b { display:block; margin-top:4px; color:#1d1d1f; font-size:15px; }
.deduction-opportunity { margin-top:18px; padding:15px; border-radius:13px; background:#f2f8f3; }.deduction-opportunity span { color:#246b35; font-size:11px; }.deduction-opportunity span b { font-size:17px; }.deduction-opportunity p { margin:6px 0 0; color:#5e7564; font-size:9px; line-height:1.45; }
.filing-progress { display:flex; align-items:center; gap:12px; margin-bottom:17px; }.filing-progress .progress { flex:1; }.filing-progress b { color:#248a3d; font-size:12px; }.document-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }.tax-document { display:flex; align-items:center; gap:10px; min-height:70px; padding:12px; text-align:left; border:1px solid var(--line); border-radius:13px; background:white; transition:.16s; }.tax-document:hover { border-color:#99c9f5; transform:translateY(-1px); }.tax-document>span:first-child { display:grid; place-items:center; width:24px; height:24px; flex:0 0 auto; border-radius:50%; color:#86868b; background:#f1f1f3; }.tax-document.done { border-color:#b8e8c3; background:#f4fbf5; }.tax-document.done>span:first-child { color:white; background:#34c759; }.tax-document b,.tax-document small { display:block; }.tax-document b { color:#1d1d1f; font-size:10px; }.tax-document small { margin-top:3px; color:#86868b; font-size:8px; line-height:1.3; }
.filing-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:24px; padding-top:17px; border-top:1px solid var(--line); }.filing-steps span { position:relative; display:flex; align-items:center; gap:7px; color:#86868b; font-size:10px; font-weight:650; }.filing-steps span:not(:last-child):after { content:''; position:absolute; right:10px; width:calc(100% - 86px); height:1px; background:#d2d2d7; }.filing-steps i { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; color:#86868b; background:#ededf0; font-size:9px; font-style:normal; }.filing-steps .done { color:#248a3d; }.filing-steps .done i { color:white; background:#34c759; }.tax-warning { border-left-color:#ff453a; background:#fff0f0; color:#8b1e28; }.tax-disclaimer { margin-top:14px; }.tax-disclaimer a { color:#0066cc; font-weight:650; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0 13px; color:#a1a1a6; font-size:10px; text-transform:uppercase; }.auth-divider:before,.auth-divider:after { content:''; height:1px; flex:1; background:rgba(0,0,0,.1); }
.google-auth-area { display:grid; justify-items:center; gap:8px; }.google-auth-note { max-width:310px; margin:0; color:#86868b; font-size:9px; line-height:1.45; text-align:center; }.google-setup-button { width:100%; min-height:42px; border:1px solid rgba(0,0,0,.11); border-radius:21px; background:white; color:#3c4043; font-size:12px; font-weight:650; }.google-setup-button:hover { background:#f8faff; border-color:#aac9ed; }
.google-account-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 0; }.google-account-identity { display:flex; align-items:center; gap:13px; min-width:0; }.google-account-identity h4 { margin:0 0 4px; font-size:13px; }.google-account-identity p { margin:0; color:#86868b; font-size:10px; line-height:1.45; }.google-g { display:grid; place-items:center; width:42px; height:42px; flex:0 0 auto; border:1px solid var(--line); border-radius:13px; color:#4285f4; background:white; font-size:20px; font-weight:750; box-shadow:0 4px 12px rgba(0,0,0,.05); }.google-link-button { min-height:44px; display:grid; place-items:center; margin:22px auto; }

@media (max-width: 980px) {
  .app { display:block; }
  .sidebar { width:72px; padding:13px 10px; }
  main { margin-left:104px; }
  .brand { padding:1px 0 25px; }
  .nav-item:not(.active) { font-size:inherit; }
  .today-strip,.insight-grid,.connection-grid { grid-template-columns:1fr; }
  .tax-hero,.tax-layout { grid-template-columns:1fr; }
  .document-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 650px) {
  .sidebar { inset:auto 12px 12px; width:auto; height:68px; border-radius:22px; padding:8px 10px; }
  .sidebar nav { display:flex; justify-content:flex-start; align-items:center; overflow-x:auto; scrollbar-width:none; }
  .nav-item { width:45px; height:45px; }
  .nav-item[data-label]:after, .brand, .side-bottom { display:none; }
  main { margin-left:0; padding-bottom:88px; }
  .topbar { padding:21px 18px 13px; }
  .content { padding:17px 16px 40px; }
  .net-worth { font-size:38px; }
  .goal-grid,.decision-layout,.budget-grid { grid-template-columns:1fr; }
  .scenario-compare { grid-template-columns:1fr; }
  .tax-context { align-items:flex-start; flex-direction:column; }.tax-intro { align-items:flex-start; }.regime-compare,.tax-derived { grid-template-columns:1fr; }.document-grid { grid-template-columns:1fr; }.filing-steps { grid-template-columns:1fr 1fr; gap:12px; }.filing-steps span:after { display:none; }
  .google-account-row { align-items:flex-start; flex-direction:column; }
}
