/* Focused, linear journey. The old dashboard rules remain unused in app.css. */
.flow-body{min-height:100vh;background:#f7f9f7}
.flow-header{background:#fff;border-bottom:1px solid var(--line)}
.flow-header-inner{max-width:970px;margin:0 auto;min-height:76px;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.flow-brand{display:inline-flex;align-items:center;gap:11px;color:var(--ink)}
.flow-brand .brand-mark{width:38px;height:38px;font-size:24px}
img.brand-mark{display:block;object-fit:contain;background:transparent;border-radius:0}
.flow-brand strong,.flow-brand small{display:block}
.flow-brand strong{font-size:19px;letter-spacing:.11em;line-height:1.2}
.flow-brand small{font-size:10px;color:#819991;letter-spacing:.03em}
.flow-account{display:flex;align-items:center;gap:16px;font-size:12px;color:#748a84}
.flow-account form{margin:0}.flow-account button{border:0;background:none;color:#277361;padding:5px 0;font-size:12px;font-weight:700}
.flow-main{max-width:970px;margin:0 auto;padding:0 28px 88px}
.flow-progress{display:flex;align-items:center;justify-content:center;gap:14px;padding:25px 0 4px;color:#9aaca5;font-size:12px}
.flow-progress span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.flow-progress b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d4e0d9;border-radius:50%;font-size:10px;color:#8ca39a}.flow-progress i{width:50px;height:1px;background:#d9e5de}.flow-progress .current{color:#176b59;font-weight:700}.flow-progress .current b{background:#1c6857;border-color:#1c6857;color:#fff}.flow-progress .done{color:#5b8d78}.flow-progress .done b{background:#e1f1e6;color:#25705c;border-color:#e1f1e6}
.flow-intro{padding:54px 0 31px}.flow-intro h1{font-size:clamp(30px,4vw,47px);font-weight:600;margin:0 0 12px}.flow-intro p{max-width:690px;font-size:15px;line-height:1.8;margin:0}.flow-intro .eyebrow{margin-bottom:14px}.flow-back{display:inline-flex;color:#286f5f;font-size:12px;font-weight:700;margin-top:20px}.flow-back:hover{text-decoration:underline}
.flow-back-links{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.flow-section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px 34px;margin:0 0 18px;box-shadow:var(--shadow)}.flow-section-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:20px}.flow-section-head h2{font-size:24px;margin:0}.flow-section-head .eyebrow{margin-bottom:7px}.flow-section>p{line-height:1.75}.flow-hint{font-size:12px;color:#899c93;margin:16px 0 0!important}.flow-action{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:12px}.flow-action small{color:#869c91;max-width:340px}.profile-form{margin-top:22px}.profile-chat{max-height:430px;min-height:100px;padding:5px 3px 12px}.agent-section{border-color:#d6e9dc}.agent-section .chat-compose{margin-top:12px}.agent-section .bubble{max-width:78%}
.flow-disclosure{background:#fff;border:1px solid var(--line);border-radius:13px;margin:0 0 18px;padding:0 25px}.flow-disclosure summary{cursor:pointer;list-style:none;padding:21px 0;font-size:13px;font-weight:700;color:#2d6154}.flow-disclosure summary::-webkit-details-marker{display:none}.flow-disclosure summary:after{content:'＋';float:right;color:#7f9b8b}.flow-disclosure[open] summary:after{content:'−'}.flow-disclosure[open]{padding-bottom:22px}.flow-disclosure>p{font-size:12px}.flow-disclosure .stack-form{max-width:380px}.flow-disclosure .trace-list{grid-template-columns:1fr}.flow-disclosure .source-list{margin-top:12px}
.flow-next{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e3f1e7;border:1px solid #d8ebde;border-radius:15px;padding:22px 26px;margin:23px 0 0}.flow-next strong,.flow-next small{display:block}.flow-next strong{font-size:15px}.flow-next small{font-size:12px;color:#6e8b7c;margin-top:3px}.flow-next-actions{display:flex;gap:8px;flex-wrap:wrap}.flow-next-pending{font-size:12px;color:#7e968a}.quiet-action{text-align:center;padding:19px}.quiet-action .link-button{margin:0;color:#417865}
.ledger-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:18px;overflow:hidden}.ledger-summary>div{padding:18px 25px;border-right:1px solid var(--line)}.ledger-summary>div:last-child{border-right:0}.ledger-summary small,.ledger-summary strong{display:block}.ledger-summary small{color:#8aa098}.ledger-summary strong{font-size:22px;font-weight:600;margin-top:4px}.entry-choice{border:1px solid #e0eae3;border-radius:11px;margin-top:10px}.entry-choice summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 19px}.entry-choice summary::-webkit-details-marker{display:none}.entry-choice summary b,.entry-choice summary small{display:block}.entry-choice summary b{font-size:14px}.entry-choice summary small{font-size:11px;font-weight:400;color:#8da197;margin-top:2px}.entry-choice summary>span:last-child{font-size:21px;color:#71947e}.entry-choice[open]{border-color:#b5d9c0;background:#fbfdfb}.entry-choice[open] summary>span:last-child{transform:rotate(45deg)}.entry-content{padding:2px 19px 20px}.entry-content>p{font-size:12px}.entry-content .dropzone{margin:12px 0}.demo-inline{border-top:1px solid var(--line);margin-top:26px;padding-top:19px;display:flex;align-items:center;justify-content:space-between;gap:20px}.demo-inline p{font-size:12px;margin:0}.ledger-filter{margin:0 0 18px;flex-wrap:wrap}.ledger-filter select{width:160px;min-height:32px;padding:5px 8px}.flow-section .table-wrap{margin:0 -5px}.flow-section td{white-space:normal}
.plan-lead{background:linear-gradient(120deg,#205950,#143e3c);color:#fff;border-radius:16px;padding:29px 36px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:end;gap:22px}.plan-lead h2{font-size:17px;font-weight:500;margin:0 0 5px;color:#cde1d4}.plan-lead>div:first-child>strong{font-size:clamp(35px,5vw,53px);line-height:1.15;letter-spacing:-.05em;font-weight:600}.plan-lead p{color:#bbd4c7;font-size:12px;margin:10px 0 0}.plan-lead-risk{text-align:right;border-left:1px solid #4e7a6d;padding-left:25px}.plan-lead-risk>*{display:block}.plan-lead-risk span,.plan-lead-risk small{font-size:11px;color:#b7d6c4}.plan-lead-risk strong{font-size:20px;margin:5px 0}.plan-section{padding-top:28px}.money-path{border-top:1px solid var(--line)}.money-path>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.money-path>div span{color:#6e8278}.money-path strong{white-space:nowrap;font-size:15px}.money-path-result{background:#f0f8f1;margin:0 -15px;padding:16px 15px!important;border-radius:8px;border-bottom:0!important}.money-path-result span,.money-path-result strong{color:#1c6e58!important;font-weight:700}.money-path.compact>div{padding:12px 0}.allocation-rows>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:15px;padding:17px 0;border-top:1px solid var(--line)}.allocation-rows>div:last-child{border-bottom:1px solid var(--line)}.allocation-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e5f2e7;color:#2b8265;font-size:21px}.allocation-rows strong,.allocation-rows small{display:block}.allocation-rows strong{font-size:13px}.allocation-rows small{font-size:11px;color:#8da197}.allocation-rows b{font-size:17px;font-weight:600;white-space:nowrap}.scenario-inline{background:#f6f8f4;border-radius:10px;padding:16px 18px;margin-top:19px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.scenario-inline span{font-size:12px}.scenario-inline strong{font-size:15px;color:#2a745e}.scenario-inline small{flex-basis:100%;color:#8da197}.plan-section .narrative{white-space:pre-wrap}.ready-plan{text-align:center;padding:45px 35px}.ready-plan .ready-icon{font-size:35px;color:#65a184}.ready-plan h2{margin:8px 0}.ready-plan p{max-width:580px;margin:0 auto 25px}.ready-plan .flow-back{display:block}
.flow-auth-body{min-height:100vh;background:radial-gradient(circle at 50% 0%,#e5f2e9 0,#f7f9f7 46%)}.auth-focus{max-width:510px;margin:0 auto;padding:48px 20px 50px}.auth-brand{margin:0 0 40px}.auth-focus-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:39px 42px;box-shadow:0 20px 60px rgba(18,53,47,.07)}.auth-focus-card h1{font-size:34px;margin:0 0 10px}.auth-focus-card>p{font-size:13px;margin-bottom:28px}.auth-focus-card .stack-form{gap:17px}.auth-switch{margin:22px 0 0!important;text-align:center}.auth-footnote{text-align:center;font-size:12px;color:#80998c;margin-top:27px}.auth-footnote span{color:#a2b9aa;margin:0 7px}
@media(max-width:700px){.flow-header-inner{min-height:66px;padding:10px 16px}.flow-brand small{display:none}.flow-main{padding:0 16px 65px}.flow-progress{gap:6px;justify-content:space-between;padding:18px 0 0;font-size:10px}.flow-progress i{flex:1;width:auto}.flow-progress b{width:20px;height:20px;font-size:9px}.flow-intro{padding:36px 0 24px}.flow-intro h1{font-size:32px}.flow-intro p{font-size:13px}.flow-section{padding:22px 19px;margin-bottom:12px}.flow-section-head h2{font-size:21px}.flow-action{align-items:stretch}.flow-action .button{width:100%}.profile-form,.mapping-grid{grid-template-columns:1fr}.agent-section .bubble{max-width:94%}.chat-compose{flex-wrap:wrap}.chat-compose input{min-width:0;flex-basis:100%}.chat-compose .button{width:100%}.ledger-summary>div{padding:13px 11px}.ledger-summary strong{font-size:15px}.ledger-summary small{font-size:10px}.demo-inline{align-items:start;flex-direction:column}.flow-next{align-items:stretch;flex-direction:column;padding:19px}.flow-next .button{width:100%}.flow-next-actions{display:grid}.plan-lead{padding:25px;align-items:start;flex-direction:column}.plan-lead-risk{text-align:left;border-left:0;border-top:1px solid #4e7a6d;padding:15px 0 0}.allocation-rows>div{grid-template-columns:32px 1fr auto;gap:10px}.allocation-rows b{font-size:14px}.flow-disclosure{padding:0 18px}.flow-section .filter-form input{width:150px}.auth-focus{padding:27px 16px}.auth-brand{margin-bottom:25px}.auth-focus-card{padding:29px 23px}.auth-focus-card h1{font-size:29px}}
@media(max-width:500px){.ledger-summary{grid-template-columns:1fr}.ledger-summary>div{display:flex;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);padding:11px 17px}.ledger-summary>div:last-child{border-bottom:0}.ledger-summary strong{margin:0;font-size:18px}.flow-progress span{gap:4px}.flow-progress b{width:18px;height:18px}.allocation-rows small{max-width:160px}}

.ledger-skip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;margin-bottom:18px;background:#e3f1e7;border:1px solid #b5d9c0;border-radius:15px}.ledger-skip strong{font-size:16px;color:#205950}.ledger-skip p{margin:5px 0 0;font-size:13px;color:#476b5c;line-height:1.6}.ledger-skip .btn{flex-shrink:0;min-height:48px}
@media(max-width:700px){.ledger-skip{align-items:stretch;flex-direction:column;padding:19px;gap:14px}.ledger-skip .btn{width:100%}}
