/* Direction A: Warm precision. Source: tokens.json. Not a complete component library. */
:root {
  --compound-ink: #172C2A;
  --compound-paper: #F7F5EF;
  --compound-green: #21614C;
  --compound-green-hover: #194D3C;
  --compound-muted: #52635F;
  --compound-clay: #8D493A;
  --compound-clay-hover: #773D31;
  --compound-surface: #FFFFFF;
  --compound-soft: #E9EEE5;
  --compound-border: #D9DDD5;
  --compound-control-border: #77857C;
  --compound-focus: #8D493A;
  --compound-error: #9B332E;
  --compound-error-surface: #FFF1EF;
  --compound-success: #21614C;
  --compound-success-surface: #E9EEE5;
  --compound-font-display: "Noto Serif", Georgia, serif;
  --compound-font-body: "Noto Sans", "Segoe UI", sans-serif;
  --compound-radius-control: 4px;
  --compound-radius-panel: 4px;
  --compound-content-max: 1240px;
  --compound-reading-max: 640px;
  --compound-space-1: 4px;
  --compound-space-2: 8px;
  --compound-space-3: 12px;
  --compound-space-4: 16px;
  --compound-space-5: 24px;
  --compound-space-6: 32px;
  --compound-space-7: 48px;
  --compound-space-8: 64px;
  --compound-space-9: 96px;
  --compound-motion-fast: 140ms;
  --compound-motion-standard: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --compound-motion-fast: 0ms; --compound-motion-standard: 0ms; }
}
*{box-sizing:border-box}body{margin:0;background:var(--compound-paper);color:var(--compound-ink);font:16px/1.6 var(--compound-font-body)}a{color:inherit;text-underline-offset:4px}header,footer{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 36px}header{border-bottom:1px solid var(--compound-border)}.wordmark{text-decoration:none;font-size:26px;display:flex;align-items:center;gap:6px;white-space:nowrap}.mark{color:var(--compound-green);font-size:40px;line-height:1;margin-right:7px}.account-label,.eyebrow,.section-number{letter-spacing:.12em;font-size:11px;font-weight:600;color:var(--compound-muted)}main{max-width:1108px;margin:64px auto 90px;padding:0 36px;min-height:54vh}.eyebrow{margin-bottom:16px}h1{font-family:var(--compound-font-display);font-weight:400;font-size:clamp(32px,4.2vw,52px);line-height:1.2;letter-spacing:-.025em;margin:0 0 20px}h2{font-size:21px;line-height:1.35;font-weight:500;margin:14px 0 24px}h3{font-size:19px;margin:8px 0}p{margin:0 0 18px}.lead{font-size:18px;color:var(--compound-muted);max-width:620px;margin-bottom:40px}.panel{max-width:640px;background:var(--compound-surface);border:1px solid var(--compound-border);padding:32px;border-radius:4px}.layout{display:grid;grid-template-columns:1.08fr 1fr;gap:52px;align-items:start}.section-number{color:var(--compound-green)}label{display:block;font-size:14px;font-weight:600;margin:20px 0 8px}input,select{font:inherit;background:white;border:1px solid var(--compound-control-border);border-radius:4px;min-height:48px;width:100%;padding:10px 12px;color:inherit}button{font:inherit;font-weight:500;cursor:pointer;background:var(--compound-green);color:white;border:1px solid var(--compound-green);border-radius:4px;padding:12px 20px;min-height:48px}button:hover{background:var(--compound-green-hover)}form>button{margin-top:20px}button span{margin-left:12px}.hint{font-size:13px;line-height:1.65;color:var(--compound-muted);margin:16px 0 0}.secondary{background:transparent;color:var(--compound-green);padding:8px 15px;min-height:42px}.secondary:hover{background:var(--compound-soft)}:focus-visible{outline:3px solid var(--compound-focus);outline-offset:4px}.connection{border-top:1px solid var(--compound-border);padding:24px 0}.connection p{margin-bottom:3px}.status{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--compound-green)}.empty{background:var(--compound-soft);padding:30px;margin-bottom:24px}.empty-symbol{font-size:30px;color:var(--compound-green)}.empty p{color:var(--compound-muted);max-width:260px}.count{font-size:13px;vertical-align:middle;border:1px solid var(--compound-border);padding:2px 8px;margin-left:8px}.preview{background:var(--compound-soft);font-size:13px;text-align:center;padding:10px 18px}.cancel{margin-left:18px}dt{font-size:12px;color:var(--compound-muted);text-transform:uppercase;letter-spacing:.08em;margin-top:20px}dd{margin:4px 0 18px;font-size:19px}footer{border-top:1px solid var(--compound-border);font-size:13px;color:var(--compound-muted)}footer form{margin:0}.text-button{background:none!important;color:inherit;border:0;margin:0;padding:4px;font-size:13px;text-decoration:underline;min-height:44px}@media(max-width:720px){header,footer{padding:20px}header{flex-wrap:wrap;gap:20px}.account-identity{flex-basis:100%;text-align:left}main{margin:40px auto 60px;padding:0 20px}.layout{grid-template-columns:1fr;gap:32px}.panel{padding:24px}footer{gap:18px;align-items:flex-start}.wordmark{font-size:23px}}

.account-identity{max-width:100%;min-width:0;text-align:right}.account-identity .account-label{display:block;letter-spacing:.06em}.account-email{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.account-identity form{margin:0}.account-identity .text-button{margin:0}header{gap:24px}.account-identity{flex-shrink:1}@media(max-width:720px){.account-identity{text-align:left}}

/* Beta acknowledgement and policy pages use the existing account palette. */
.acceptance{display:flex;align-items:flex-start;gap:12px;font-weight:400;line-height:1.5}.acceptance input{width:20px;min-height:20px;margin:3px 0 0;padding:0;flex:0 0 20px}.policy{max-width:760px}.policy h2{margin-top:36px;margin-bottom:10px}.policy-meta{font-size:13px;color:var(--compound-muted);border-bottom:1px solid var(--compound-border);padding-bottom:18px}

/* Financial review uses the existing account palette and remains readable on phones. */
.recovery-actions{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px}.recovery-actions a{display:inline-flex;align-items:center;min-height:44px}
main table{border-collapse:collapse;width:100%;margin:20px 0;table-layout:fixed}main th,main td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid var(--compound-border);overflow-wrap:anywhere}main th{font-size:13px;color:var(--compound-muted)}main pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;background:var(--compound-soft);padding:16px}main summary{cursor:pointer;padding:12px 0;overflow-wrap:anywhere}main dd{overflow-wrap:anywhere}

/* Long submitted goal titles and source labels stay within the review surface. */
.soft-goal-review{overflow-wrap:anywhere}

.soft-mobile-label{display:none}
@media(max-width:600px){.soft-goal-review table,.soft-goal-review tbody,.soft-goal-review tr,.soft-goal-review th,.soft-goal-review td{display:block;width:100%}.soft-goal-review thead{display:none}.soft-goal-review caption{display:block;text-align:left;padding-bottom:12px}.soft-goal-review tr{border-top:1px solid var(--compound-border);padding:12px 0}.soft-goal-review th,.soft-goal-review td{border:0;padding:8px 0}.soft-goal-review th[scope=row]{font-size:16px;color:inherit}.soft-mobile-label{display:block;font-size:12px;color:var(--compound-muted);font-weight:600}}

/* Signed-in account app: quiet light surfaces and a separate data workspace. */
.skip-link{position:absolute;left:16px;top:-100px;padding:12px;background:var(--compound-surface);z-index:2}.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.account-app{background:#fafaf8}.account-app header,.account-app footer{max-width:1400px;padding:20px 32px}.account-app .account-layout{display:grid;grid-template-columns:210px minmax(0,1fr);max-width:1400px;margin:auto;min-height:70vh}.account-sidebar{padding:32px 16px;border-right:1px solid var(--compound-border)}.account-nav{display:grid;gap:6px}.account-nav a{text-decoration:none;padding:10px 16px;border-radius:8px;min-height:44px;font-size:15px}.account-nav a:hover{background:#f0f1ed}.account-nav a[aria-current=page]{background:#e9ebe7;font-weight:600}.account-app main{width:100%;max-width:1040px;margin:0;padding:40px;min-width:0}.account-app h1{font-family:var(--compound-font-body);font-size:30px;font-weight:600;margin-bottom:10px}.account-app h2{font-size:18px;margin:0 0 10px;font-weight:600}.account-app .lead{font-size:16px;max-width:none;margin-bottom:28px}.account-app button,.account-app .action-link{background:var(--compound-ink);border-color:var(--compound-ink);border-radius:7px;min-height:44px;padding:9px 15px;font-size:14px}.account-app button:hover,.account-app .action-link:hover{background:#29413e}.account-app .secondary{color:var(--compound-ink);background:white;border-color:var(--compound-border)}.account-app .secondary:hover{background:#f3f4f0}.account-app .text-button{border:0}.data-surface{background:white;border:1px solid var(--compound-border);border-radius:10px;padding:24px}.data-tabs{display:flex;gap:24px;overflow-x:auto;white-space:nowrap;margin-bottom:0;padding:0 20px}.data-tabs a{padding:14px 2px;text-decoration:none;border-bottom:3px solid transparent;min-height:48px;font-size:14px}.data-tabs a[aria-current=page]{border-color:var(--compound-ink);font-weight:600}.data-picker{display:flex;align-items:flex-end;gap:12px;padding-bottom:24px;border-bottom:1px solid var(--compound-border);margin-bottom:24px}.data-picker>div{flex:1;max-width:420px}.data-picker label{margin-top:0}.data-picker select{min-height:44px}.data-picker>button{margin:0;flex-shrink:0}.data-table-scroll{overflow-x:auto}.client-data-table th:last-child,.client-data-table td:last-child{width:180px}.client-data-table th[scope=row]{color:var(--compound-ink);font-size:15px;font-weight:500}.client-data-table form>button{margin:0}.account-app .empty{background:#f7f8f5;border-radius:7px}.account-app .empty p{max-width:none}.data-controls{max-width:620px}.data-controls h2:not(:first-child){margin-top:30px}.action-link{display:inline-flex;align-items:center;text-decoration:none}.assistant-row{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:24px 0;border-bottom:1px solid var(--compound-border)}.assistant-row:first-child{padding-top:0}.assistant-row h2{margin-bottom:4px}.assistant-row p{margin-bottom:4px}.assistant-actions{max-width:300px}.assistant-actions summary{min-height:44px;font-size:14px}.assistant-actions p{font-size:14px;margin-top:12px}.permission-badge{display:inline-block;background:var(--compound-soft);color:var(--compound-green);border-radius:5px;padding:3px 8px;font-size:12px;margin-top:10px}.connection-note{max-width:680px}.account-details{padding:12px 0;border-bottom:1px solid var(--compound-border);margin-top:12px}.account-details summary{font-size:15px;font-weight:500;min-height:44px}.account-details>p{max-width:680px;font-size:14px}.account-app .panel{max-width:none;border:0;padding:12px 0}.account-app .section-number{display:none}
@media(max-width:760px){.account-app header,.account-app footer{padding:18px 20px}.account-app .account-layout{grid-template-columns:1fr}.account-sidebar{border-right:0;border-bottom:1px solid var(--compound-border);padding:8px 12px}.account-nav{display:flex;overflow-x:auto;gap:4px}.account-nav a{white-space:nowrap;flex-shrink:0}.account-app main{padding:24px 20px}.data-surface{padding:18px}.data-picker{flex-wrap:wrap}.data-picker>div{flex-basis:100%;max-width:none}.assistant-row{flex-direction:column;gap:12px}.assistant-actions{max-width:none;width:100%}.data-tabs{gap:20px;padding:0 8px}.client-data-table th:last-child,.client-data-table td:last-child{width:135px}.account-app footer{flex-wrap:wrap}}

/* Account identity and a persistent, neutral-light Beta boundary. */
.account-identity{position:relative}.account-identity>summary{cursor:pointer;min-height:44px;padding:8px 12px;border:1px solid var(--compound-border);border-radius:7px;font-size:14px}.account-profile{position:absolute;right:0;top:100%;z-index:3;background:white;border:1px solid var(--compound-border);border-radius:8px;padding:18px;min-width:260px;max-width:calc(100vw - 40px);box-shadow:0 8px 24px #00000012}.environment-banner{background:#fff3d6;color:#5b4312;border-bottom:1px solid #dfc995;padding:8px 24px;font-size:14px;text-align:center}.setup-badge{display:inline-block;color:var(--compound-muted);background:#f1f2ef;padding:3px 8px;border-radius:5px;font-size:12px;margin-top:10px}.host-account-email{font-size:14px;color:var(--compound-muted)}
@media(max-width:720px){.account-identity{flex-basis:auto;margin-left:auto}.account-profile{text-align:left}}
