/* Shared guided dark workspace. Forms, permissions and provider actions retain their owners. */
.guided-app .account-brief .profile-intro h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(27px,3vw,36px);font-weight:500;max-width:28ch}
.account-brief-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:10px 0 28px;border-bottom:1px solid var(--line);margin:0}
.account-brief-values dt,.account-brief-values small{color:var(--muted);font-size:12px}
.account-brief-values dd{font-size:clamp(24px,3vw,36px);font-weight:500;margin:8px 0;line-height:1.3;font-variant-numeric:tabular-nums}
.account-plan-context{padding:24px;background:var(--surface);border-radius:12px;margin-top:24px}
.guided-app .account-plan-context h2{font:500 20px/1.3 Inter,system-ui,sans-serif;margin:8px 0 12px}
.account-plan-context p{color:var(--muted);margin:10px 0}.account-plan-context a{display:inline-block;margin-top:10px;font-size:13px}
@media(max-width:400px){.account-brief-values{gap:14px}.account-plan-context{padding:18px}.account-brief-values dd{font-size:24px}}
body.guided-app{color-scheme:dark;--bg:#10120f;--surface:#1b1e18;--gold:#d5c285;--bright:#eee5cb;--text:#f0eee5;--muted:#b0b5a6;--line:#34382e;--input-bg:#151812;--input-line:#4c5541;--button-text:#211e12;--notice-bg:#22261c;--notice-line:#586346;--hover-text:#e5d49f;background:var(--bg);color:var(--text);font:14px/1.6 Inter,system-ui,sans-serif}
.guided-app .guided-header{background:#141610;min-height:80px;height:auto;padding:20px 32px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}
.guided-app .guided-header .brand{font:600 28px/1 Inter,system-ui,sans-serif;letter-spacing:-1px;gap:10px;text-decoration:none;color:var(--text)}
.guided-identity{display:flex;align-items:center;gap:16px;min-width:0}.guided-identity>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere;max-width:40ch}.guided-account{position:relative}.guided-account>summary{list-style:none;cursor:pointer}.guided-account>summary::-webkit-details-marker{display:none}.guided-account .avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#292e23;border:1px solid var(--line);color:var(--text);font-size:12px}.guided-account form{position:absolute;right:0;z-index:6;width:130px;background:var(--surface);border:1px solid var(--line);padding:8px;border-radius:8px}
.guided-app .mode{padding:6px 32px;background:#141610;font-size:9px;letter-spacing:.08em}.guided-layout{max-width:1500px;margin:auto;display:grid;grid-template-columns:210px minmax(0,1fr)}.guided-layout.guided-public{display:block}.guided-app .guided-layout>main{width:100%;max-width:1150px;min-width:0;margin:0 auto;padding:38px 42px 56px;min-height:calc(100vh - 175px)}
.journey-sidebar{background:#141610;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column;gap:12px;min-width:0}.guided-app .journey-label{font-size:10px;letter-spacing:.12em;color:var(--muted);margin:0;padding:0 12px 10px}.journey-nav{display:flex;flex-direction:column;gap:6px;flex:0}.journey-nav a{display:flex;align-items:center;gap:11px;padding:13px 12px;border-radius:8px;font-size:13px;color:var(--muted);text-decoration:none;min-height:64px}.journey-nav a:hover{background:#20261b;text-decoration:none}.journey-nav a[aria-current]{background:#262b20;color:var(--text)}.journey-number{width:24px;height:24px;display:grid;place-items:center;border:1px solid #59624e;border-radius:50%;flex:none;font-size:11px}.journey-nav a[aria-current] .journey-number{border-color:var(--gold);color:var(--gold)}.journey-nav small{display:block;font-size:11px;color:#a7af9d;line-height:1.4;margin-top:4px}.guided-app .journey-foot{margin-top:auto;padding:35px 12px 0;font-size:11px;color:var(--muted)}.journey-foot strong{display:block;font-weight:500;color:var(--text);margin-bottom:5px}
.guided-app h1,.guided-app .profile-intro h1{font:400 clamp(30px,3.3vw,42px)/1.18 Lora,Georgia,serif;letter-spacing:-.7px;margin:12px 0 18px}.guided-app h2{font-weight:500}.guided-app .eyebrow{font:500 11px/1.4 Inter,system-ui,sans-serif;letter-spacing:.11em;color:var(--gold);margin-bottom:12px}.guided-app .profile-intro>p:not(.eyebrow){color:var(--muted);max-width:68ch;line-height:1.7}.guided-app .profile-intro{margin-bottom:28px}.guided-app p{overflow-wrap:anywhere}.guided-app button,.guided-app .button{font-family:Inter,system-ui,sans-serif;border-radius:7px;min-height:44px;transition:background .15s,border-color .15s,transform .15s}.guided-app button:not(.quiet):not(.secondary):not(:disabled):hover,.guided-app .button:hover{transform:translateY(-1px)}.guided-app a:focus-visible,.guided-app button:focus-visible,.guided-app summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.guided-app button:disabled{transform:none}.guided-app input,.guided-app textarea,.guided-app select{font-family:Inter,system-ui,sans-serif;max-width:100%}.guided-app :is(h1,h2,h3,a,dd){overflow-wrap:anywhere}
.guided-app .plan-status{font-size:13px;padding:14px 0}.guided-app .plan-status strong{font-weight:500}.guided-app .plan-request,.guided-app .plan-proposal{max-width:none}.guided-app .plan-request p{margin:12px 0}.guided-app .plan-receipt,.guided-app .plan-reasoning{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:8px 0;margin:12px 0;max-width:none}.guided-app .plan-receipt>summary,.guided-app .plan-reasoning>summary{font-size:13px;font-weight:500;color:var(--text);cursor:pointer;min-height:44px;align-content:center}.guided-app .plan-receipt p{margin:12px 0}.guided-app .plan-next{background:var(--surface);border:1px solid var(--notice-line);border-radius:10px}.guided-app .plan-goal-card{background:#20251a}.guided-app .plan-card-preview{font-size:16px}.guided-app .plan-card-grid .review-section>summary{min-height:150px}.guided-app .strategy-rule-details{max-width:none}.guided-app .strategy-rule-details h3{font-family:Inter,system-ui,sans-serif;font-weight:500}
.guided-app #interview-app .interview-top{margin-bottom:14px}.guided-app #interview-app .interview-top h1{font:400 32px/1.2 Lora,Georgia,serif}.guided-app #interview-app .conversation-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:32px}.guided-app #interview-app .chat-main{grid-column:1;grid-row:1}.guided-app #interview-app .profile-side{grid-column:2;grid-row:1;border:0;border-left:1px solid var(--line);padding:0 0 0 24px;min-width:0}.guided-app #interview-app .current-question:not(.edit-question){background:transparent;border:0;padding:16px 0}.guided-app .current-question h2{font:400 27px/1.35 Lora,Georgia,serif}.guided-app #interview-app .direct-choices{display:grid;grid-template-columns:1fr;gap:10px}.guided-app .direct-choices form{margin:0}.guided-app .direct-choices button.secondary{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:56px;padding:16px 18px;border:1px solid #424b36;border-radius:8px;background:#191d15;color:var(--text);font-weight:400;text-align:left}.guided-app .direct-choices button:hover{border-color:var(--gold);background:#252b1d}.guided-app .guided-answer{background:transparent;border:0;padding:0}.guided-app .guided-answer button{margin-top:16px}.guided-app .guided-answer input,.guided-app .guided-answer textarea{font-size:16px}.guided-app .brief-progress{gap:12px;flex-wrap:wrap}.guided-app .conversation-history{font-size:12px}
.guided-next{padding:24px 0;border-block:1px solid var(--line);margin:24px 0}.guided-app .guided-next p{margin:12px 0}.guided-app .guided-next h2{font:400 26px/1.3 Lora,Georgia,serif}.guided-app .dashboard-refresh{margin:24px 0}.guided-app .dashboard-refresh p{margin-top:12px}.briefing-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0 16px}.briefing-facts dt{font-size:11px;color:var(--muted)}.briefing-facts dd{font-size:13px;margin:6px 0;font-weight:500}.guided-app .guided-review-status{font-size:10px;letter-spacing:.12em;color:var(--gold);margin:26px 0 0}.guided-app .dashboard-next{margin-top:0}.guided-app .dashboard-next h2{font:400 34px/1.2 Lora,Georgia,serif}.guided-app .dashboard-split{gap:32px;margin:24px 0}.guided-app .dashboard-split dt{font-size:12px}.guided-app .dashboard-split dd{font:400 30px/1.3 Lora,Georgia,serif}.guided-app .dashboard-order{padding:22px 0}.guided-app .dashboard-order p{margin:12px 0}.guided-app .dashboard-order-title strong{font:400 26px/1.3 Lora,Georgia,serif}.guided-app .guided-review-controls{margin-top:22px}.guided-app .dashboard-trades{margin-top:8px}.guided-app .dashboard-trades>h2{font:400 28px/1.3 Lora,Georgia,serif}.guided-app .notice{background:var(--notice-bg);border-color:var(--notice-line)}.guided-app footer{padding:18px 32px;background:#141610;color:var(--muted);font-size:11px}
@media(max-width:1100px){.guided-app .guided-layout>main{padding:30px}.guided-app #interview-app .conversation-layout{grid-template-columns:1fr}.guided-app #interview-app .profile-side{grid-column:1;grid-row:2;border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.guided-app .title-progress{gap:24px;flex-wrap:wrap}.guided-app .snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.guided-layout{display:block}.guided-app .guided-header{padding:14px 20px;min-height:64px}.guided-identity>span{display:none}.guided-app .mode{padding:5px 20px}.guided-app .mode span:not(.dot){display:none}.journey-sidebar{padding:8px 20px;border-right:0;border-bottom:1px solid var(--line);display:block}.journey-label,.journey-foot{display:none}.guided-app .journey-nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;padding:0}.journey-nav a{min-height:36px;padding:6px 8px;font-size:11px;gap:6px}.journey-nav .journey-number{display:none}.journey-nav small{display:none}.guided-app .guided-layout>main{padding:24px 20px 40px}.guided-app h1,.guided-app .profile-intro h1{font-size:30px}.guided-app #interview-app .interview-top h1{font-size:25px}.guided-app .current-question h2{font-size:24px}.guided-app .snapshot-grid{grid-template-columns:1fr}.guided-app .briefing-facts{grid-template-columns:1fr;gap:14px}.guided-app .accounts{grid-template-columns:1fr}.guided-app .plan-path{grid-template-columns:1fr}.guided-app .title-progress{display:block}.guided-app .completion-summary{margin-top:20px;width:100%}.guided-app .dashboard-refresh button{width:100%}.guided-app .dashboard-split{gap:20px}.guided-app .guided-review-controls button{width:100%}.guided-app .dashboard-order-title{flex-wrap:wrap}.guided-app footer{padding:16px 20px}.guided-app .actions{gap:12px}.guided-app #interview-app .profile-side{grid-row:2}.guided-app .interview-top .small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.guided-app *{transition:none!important;animation:none!important}}
.guided-app .journey-toggle{display:none}
@media(max-width:760px){.guided-app .journey-ready .journey-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;font-size:12px;padding:4px 0;min-height:36px;color:var(--gold)}.guided-app .journey-ready .journey-toggle[aria-expanded=false]+.journey-nav{display:none}.guided-app #interview-app .current-question:not(.edit-question){padding-top:4px}.guided-app #interview-app .brief-toggle{margin-top:0;margin-bottom:0}.guided-app #interview-app .interview-top{margin-bottom:8px}}
.guided-app .funding-ring{position:relative;float:right;width:170px;height:170px;margin:16px 0 20px 28px;display:grid;place-items:center}.funding-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.funding-ring circle{fill:none;stroke-width:8}.funding-track{stroke:#3c4632}.funding-amount{stroke:var(--gold)}.funding-ring figcaption{text-align:center;position:relative;padding:20px}.funding-ring strong{display:block;font:400 25px/1.3 Lora,Georgia,serif;overflow-wrap:anywhere}.funding-ring span{display:block;font-size:9px;letter-spacing:.05em;color:var(--muted);margin-top:5px}.guided-app .dashboard-next:after{content:'';display:block;clear:both}.guided-app .dashboard-refresh button.secondary{background:transparent;color:var(--gold);border-color:var(--line)}
@media(max-width:600px){.guided-app .funding-ring{float:none;width:130px;height:130px;margin:8px auto 20px}.funding-ring strong{font-size:20px}}
@media(max-width:600px){.guided-app .dashboard-next{display:flex;flex-direction:column}.guided-app .funding-ring{order:1;flex:none}.guided-app .dashboard-next:after{display:none}}
