:root{--bg:#f6f7f2;--surface:#fff;--ink:#1e302d;--muted:#74817a;--line:#e5e9e1;--green:#28674e;--green-soft:#edf5eb;--nav:#172e2b;--lime:#d2f3ac;--orange:#a56b24;--orange-soft:#fbf2e4;--danger:#a4443b;--danger-soft:#f9ece9;--shadow:0 18px 60px rgba(28,50,36,.06);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #7bb78a;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #8cb898;outline-offset:1px}h1,h2,h3,p{margin:0}button svg,svg.icon{width:20px;height:20px;flex-shrink:0}button svg{vertical-align:middle}svg.icon{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.hidden,[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.label{font-size:11px;font-weight:650;letter-spacing:.14em;text-transform:uppercase}.tabular{font-variant-numeric:tabular-nums}.positive{color:var(--green)}.negative{color:var(--danger)}.skip-link{position:absolute;top:-80px;left:16px;padding:12px;background:var(--nav);color:white;z-index:100}.skip-link:focus{top:12px}.boot-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}.brand-mark{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:var(--nav);color:var(--lime);font-family:Georgia,serif;font-size:30px;font-weight:bold;letter-spacing:-5px;padding-right:5px}.brand{display:flex;align-items:center;gap:12px}.brand-word{font-size:21px;letter-spacing:-.7px;font-weight:750}.brand-word small{display:block;font-size:10px;letter-spacing:1.6px;font-weight:500;margin-top:5px;color:var(--muted)}.btn{border:1px solid var(--line);border-radius:10px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:600;min-height:43px;text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#f0f3eb}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#20543f}.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--nav)}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:var(--danger);border-color:#eccdca;background:#fff}.btn.sm{padding:7px 11px;min-height:34px;font-size:12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:10px;width:42px;height:42px;color:var(--ink);flex-shrink:0;position:relative}.icon-btn:hover{background:var(--green-soft)}.icon-btn .unread-dot{position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:50%;background:var(--orange)}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.spacer{flex:1}.text-button{border:0;background:none;padding:0;color:var(--green);font-weight:600;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;gap:5px}.text-button:hover{text-decoration:underline}.text-button svg{width:14px;height:14px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:30px;padding:5px 9px;font-size:10px;font-weight:650;background:#f1f3ed;color:#617167;white-space:nowrap}.pill.good{color:#376945;background:#edf4e8}.pill.warn{color:var(--orange);background:var(--orange-soft)}.pill.bad{color:var(--danger);background:var(--danger-soft)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:23px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.panel-head h2,.panel-head h3{font-size:16px;font-weight:650;letter-spacing:-.3px}.panel-head .small{margin-top:5px}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.section-heading h2{font-size:22px;letter-spacing:-.6px}.section-heading p{font-size:13px;color:var(--muted);margin-top:7px;line-height:1.7}.empty{padding:30px 12px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty svg{margin-bottom:9px;width:30px;height:30px}.empty strong{display:block;color:var(--ink);margin-bottom:4px;font-weight:550}.error-box{border:1px solid #edcfc9;background:var(--danger-soft);color:var(--danger);padding:13px 15px;border-radius:10px;font-size:13px;line-height:1.5}.success-box{background:var(--green-soft);color:var(--green);padding:15px;border-radius:10px;font-size:13px;line-height:1.7}.notice{border-radius:10px;background:#f2f4ee;padding:13px 15px;font-size:12px;color:#5b6a60;line-height:1.7}.page-stack{display:grid;gap:22px}.two-col{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.equal-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.full{width:100%}.break-word{overflow-wrap:anywhere}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:228px;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:0 2px 42px}.nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;color:#78837c;background:transparent;border:0;border-radius:9px;padding:13px 16px;font-size:13px;font-weight:550;text-align:left;min-height:46px}.nav-item:hover{background:#f5f6f0;color:var(--ink)}.nav-item.active{background:var(--green-soft);color:var(--green)}.nav-item.active svg{stroke-width:2}.nav-item .nav-indicator{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--green)}.sidebar-bottom{margin-top:auto;padding-top:42px}.level-card{background:#f3f5ec;border:1px solid #e8ebde;border-radius:13px;padding:17px 15px}.level-top{display:flex;gap:10px;align-items:center;margin-bottom:12px}.level-top .level-icon{width:34px;height:34px;background:#e4ebd5;border-radius:10px;color:#647a44;display:grid;place-items:center}.level-top strong{font-size:12px}.level-top small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.progress{height:5px;border-radius:5px;overflow:hidden;background:#e9ede3}.progress i{display:block;height:100%;border-radius:inherit;background:var(--green)}.level-card .small{display:block;margin-top:9px;font-size:10px}.sidebar-user{display:flex;gap:10px;align-items:center;padding:23px 1px 0}.avatar{width:35px;height:35px;border-radius:50%;background:#e8eddf;color:#526842;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.sidebar-user strong{font-size:12px}.sidebar-user small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.sidebar-user button{margin-left:auto;border:0;background:transparent;color:var(--muted);padding:4px}.main{margin-left:228px;padding:30px 36px 45px;max-width:1510px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:32px}.topbar .eyebrow{font-size:11px;color:var(--muted);margin-bottom:8px}.topbar h1{font-size:27px;font-weight:600;letter-spacing:-.9px}.topbar .date-label{font-size:12px;color:var(--muted)}.mobile-brand{display:none}.page{animation:appear .2s ease}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.home-intro{margin:-11px 0 24px;font-size:13px;color:var(--muted)}.home-hero-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:22px}.safe-card{background:var(--nav);color:#fff;border-radius:18px;padding:28px 30px 25px;position:relative;overflow:hidden;min-height:285px;display:flex;flex-direction:column;align-items:flex-start}.safe-card:after{content:"";position:absolute;right:-45px;bottom:-86px;width:270px;height:270px;border:1px solid rgba(207,240,177,.11);border-radius:50%;box-shadow:0 0 0 32px rgba(207,240,177,.025),0 0 0 64px rgba(207,240,177,.025);pointer-events:none}.safe-card .safe-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.safe-card .label{color:#bdcfc2;font-size:10px;letter-spacing:.18em}.safe-card .pill{background:rgba(195,239,157,.14);color:var(--lime)}.safe-card .pill.warn{color:#f1cd8d;background:rgba(246,207,141,.12)}.safe-card .pill.bad{color:#ffc2b9;background:rgba(255,192,182,.1)}.safe-amount{font-family:Georgia,"Times New Roman",serif;letter-spacing:-2.5px;font-weight:400;font-size:70px;line-height:1.12;margin:23px 0 12px;position:relative;z-index:1}.safe-copy{color:#c2cec6;font-size:12px;line-height:1.8;max-width:410px}.safe-copy strong{color:#e9f1e8;font-weight:500}.safe-card .actions{margin-top:auto;padding-top:23px;position:relative;z-index:1}.safe-card .btn{min-height:37px;font-size:11px;padding:9px 12px}.safe-card .btn.ghost{color:#e7f1e9;border-color:#4a6157}.safe-card .btn.ghost:hover{background:#30483b}.hero-side{display:grid;gap:16px;grid-template-rows:auto auto}.hero-goal{padding:22px 23px}.goal-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.goal-icon{display:grid;place-items:center;color:#547756;background:#eff4e8;width:35px;height:35px;border-radius:10px}.hero-goal h3{font-size:16px;margin-top:4px}.hero-goal .goal-amount{margin:15px 0 12px;display:flex;gap:5px;align-items:baseline}.goal-amount strong{font-size:23px;letter-spacing:-.7px;font-weight:650}.goal-amount span{font-size:11px;color:var(--muted)}.hero-goal .goal-footer{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin-top:11px}.streak-strip{display:flex;align-items:center;gap:12px;border-radius:13px;background:#f0f1e5;border:1px solid #e8e9da;padding:15px 18px}.streak-strip svg{color:#a28640;width:25px;height:25px}.streak-strip strong{display:block;font-size:12px}.streak-strip small{font-size:10px;color:#8b896f;display:block;margin-top:5px}.streak-strip .pill{margin-left:auto;background:#e4e7d2;color:#65753f}.cycle-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid var(--line);border-radius:15px;margin-top:22px;padding:21px 0}.cycle-stat{padding:0 25px;border-right:1px solid var(--line);display:flex;align-items:center;gap:13px}.cycle-stat:last-child{border:0}.stat-icon{width:37px;height:37px;border-radius:50%;background:#f0f5ec;color:#6c8656;display:grid;place-items:center}.cycle-stat:nth-child(2) .stat-icon{background:#f8f1e7;color:#ba8c4b}.cycle-stat:nth-child(3) .stat-icon{background:#edf1f7;color:#6482a1}.cycle-stat .small{font-size:10px;margin-bottom:5px}.cycle-stat strong{font-size:22px;font-weight:600;letter-spacing:-.6px}.home-main-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px;margin-top:22px}.forecast-chart{width:100%;height:165px;display:block;margin-bottom:18px;overflow:visible}.forecast-chart text{font-size:10px;font-family:inherit;fill:var(--muted)}.forecast-chart .chart-line{stroke:var(--green);stroke-width:2.5;fill:none}.chart-legend{display:flex;gap:13px;align-items:center;font-size:10px;color:var(--muted)}.chart-legend i{width:15px;height:2px;background:var(--green);display:inline-block;margin-right:5px;vertical-align:middle}.forecast-footer{padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.forecast-footer strong{font-size:16px;color:var(--ink);font-weight:600}.coach-note{border-radius:11px;background:#f5f7ee;padding:17px;margin-bottom:17px}.coach-note .coach-note-head{display:flex;align-items:center;gap:7px;color:#6e814f;font-size:10px;font-weight:650;margin-bottom:10px}.coach-note svg{width:14px;height:14px}.coach-note h3{font-size:14px;line-height:1.5;margin-bottom:7px;font-weight:600}.coach-note p{color:#718066;font-size:12px;line-height:1.8}.obligation-row{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.obligation-row:last-child{border:0;padding-bottom:0}.merchant-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#f1f3ed;color:#7b876d;font-size:12px;font-weight:600;flex-shrink:0}.obligation-row .merchant-name{font-size:12px;font-weight:550}.obligation-row .small{font-size:10px;margin-top:4px}.obligation-row .due-amount{margin-left:auto;font-weight:600;font-size:12px}.section-mini-title{display:flex;align-items:center;justify-content:space-between;margin:20px 0 3px}.section-mini-title h3{font-size:12px;font-weight:600}.breakdown{display:grid;gap:13px}.breakdown-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:12px}.breakdown-row .dot-label{display:flex;align-items:center;gap:8px;color:var(--muted)}.breakdown-dot{width:7px;height:7px;border-radius:50%;background:#8d9d78;flex-shrink:0}.breakdown-row:nth-child(2) .breakdown-dot{background:#d2b58d}.breakdown-row:nth-child(3) .breakdown-dot{background:#7d9b9b}.breakdown-row:nth-child(4) .breakdown-dot{background:#b2bcc8}.breakdown-total{border-top:1px solid var(--line);padding-top:13px;font-weight:600}.insight-row{font-size:12px;line-height:1.8;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--line)}.insight-row:last-child{border:0}.insight-row strong{display:block;color:var(--ink);font-size:12px;font-weight:550;margin-bottom:3px}.challenge-panel{background:#eaf0de;border:1px solid #e1e7d4}.challenge-panel h3{font-size:19px;line-height:1.5;letter-spacing:-.5px}.challenge-panel .progress{margin:19px 0 12px;background:#dce5cb}.challenge-panel p{font-size:12px;color:#73805e;line-height:1.8;margin-top:8px}.challenge-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#73805e}.timeline-list{display:grid}.timeline-item{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:start;position:relative;padding:12px 0}.timeline-item:before{content:"";position:absolute;left:4px;width:1px;top:20px;bottom:-9px;background:var(--line)}.timeline-item:last-child:before{display:none}.timeline-dot{margin-top:4px;width:9px;height:9px;border:2px solid #789b83;border-radius:50%;background:white;position:relative;z-index:1}.timeline-dot.completed{background:#789b83}.timeline-dot.pending{border-color:#bf9b57}.timeline-dot.predicted{border-style:dashed;border-color:#a0a991}.timeline-dot.planned{border-color:#7c93ab}.timeline-title{font-size:12px;font-weight:550}.timeline-meta{display:flex;align-items:center;gap:7px;margin-top:5px;color:var(--muted);font-size:10px}.timeline-item .amount{font-size:12px;font-weight:550;margin-top:2px}.timeline-legend{display:flex;gap:13px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:13px}.timeline-legend span{display:flex;align-items:center;gap:5px}.timeline-legend .timeline-dot{margin:0;width:7px;height:7px}
.filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:17px}.search-field{position:relative;flex:1;min-width:180px}.search-field svg{position:absolute;left:12px;top:11px;color:var(--muted);width:17px;height:17px}.search-field input{padding-left:38px!important}.filter-row select{width:auto;min-width:145px}.field input,.field select,.field textarea,.filter-row input,.filter-row select{display:block;width:100%;border:1px solid #dfe5d9;background:#fff;color:var(--ink);border-radius:9px;padding:11px 12px;font-size:13px;min-height:42px;transition:border-color .15s}.field input:disabled{background:#f3f5ed;color:var(--muted)}.field textarea{resize:vertical;line-height:1.7;min-height:100px}.field{display:block;min-width:0}.field>span,.field>label{display:block;font-size:12px;font-weight:550;margin-bottom:8px}.field small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.field .inline-label{font-weight:400;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.form-grid .wide{grid-column:1/-1}.form-stack{display:grid;gap:19px}.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;align-items:center}.check-field{display:flex;align-items:center;gap:9px;font-size:12px;color:#59695c;line-height:1.7}.check-field input{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}.transaction-row{display:grid;grid-template-columns:36px minmax(130px,1fr) minmax(90px,.6fr) auto 34px;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}.transaction-row:last-child{border-bottom:0}.transaction-row .tx-name{font-size:13px;font-weight:550;overflow-wrap:anywhere}.transaction-row .tx-meta{font-size:10px;color:var(--muted);margin-top:5px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}.transaction-row .tx-category{font-size:11px;color:#7f8a7e}.transaction-row .tx-amount{text-align:right;font-size:13px;font-weight:550;white-space:nowrap}.transaction-row .tx-amount small{display:block;font-size:10px;color:var(--muted);margin-top:5px;font-weight:400}.transaction-row .icon-btn{width:30px;height:30px;border-color:transparent;background:transparent}.transaction-row .icon-btn:hover{background:var(--green-soft)}.transaction-row .icon-btn svg{width:16px;height:16px}.tx-date-group{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.05em;text-transform:uppercase;padding:19px 0 3px}.list-count{font-size:11px;color:var(--muted);margin-top:15px}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.goal-card{padding:24px}.goal-card-header{display:flex;align-items:center;gap:13px;margin-bottom:24px}.goal-card-header h3{font-size:16px;font-weight:600;letter-spacing:-.3px}.goal-card-header .small{font-size:11px;margin-top:5px}.goal-card-header .icon-btn{margin-left:auto;width:30px;height:30px;border-color:transparent}.goal-card .goal-amount{display:flex;align-items:baseline;gap:7px;margin-bottom:15px}.goal-card .goal-amount strong{font-size:31px;font-weight:550;letter-spacing:-.8px}.goal-card .goal-amount span{font-size:12px;color:var(--muted)}.goal-card .progress{height:7px}.goal-card .goal-info-row{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:13px;gap:12px}.goal-card .goal-plan{margin-top:22px;display:flex;gap:18px;border-top:1px solid var(--line);padding-top:18px}.goal-plan>div{flex:1}.goal-plan span{font-size:10px;color:var(--muted);display:block;margin-bottom:6px}.goal-plan strong{font-size:14px;font-weight:600}.goal-card .goal-action{margin-top:18px;font-size:11px;color:#5c7958;line-height:1.8;background:#f4f7ef;padding:12px;border-radius:8px}.goal-card .goal-action.at_risk{background:var(--orange-soft);color:#8d713b}.simulator-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.simulation-score{font-size:48px;letter-spacing:-1.8px;font-family:Georgia,serif;margin:16px 0}.simulation-facts{display:grid;gap:0}.simulation-fact{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line)}.simulation-fact>span{color:var(--muted)}.simulation-result .notice{margin-top:20px}.result-factor-list{display:grid;gap:10px;margin-top:18px}.result-factor-list p{font-size:12px;line-height:1.7;color:var(--muted)}
.coach-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,.8fr);gap:22px}.chat-panel{padding:0;overflow:hidden}.chat-title{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.coach-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:var(--green-soft);color:var(--green);flex-shrink:0}.chat-title strong{font-size:13px;font-weight:600}.chat-title small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.chat-messages{padding:24px;min-height:320px;max-height:600px;overflow-y:auto;display:flex;flex-direction:column;gap:24px}.message{display:flex;gap:11px;max-width:94%;font-size:13px;line-height:1.9}.message.user{margin-left:auto;max-width:88%;display:block;padding:12px 17px;border-radius:13px 13px 2px 13px;background:var(--green-soft);color:#355641}.message .message-body{flex:1;min-width:0}.message-label{font-size:10px;color:var(--muted);margin-bottom:6px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere}.message .coach-avatar{width:29px;height:29px;border-radius:9px}.chat-compose{border-top:1px solid var(--line);padding:15px 20px;display:flex;align-items:flex-end;gap:10px;background:#fff}.chat-compose textarea{border:1px solid var(--line);border-radius:9px;padding:11px 13px;font-size:13px;resize:vertical;min-height:43px;max-height:130px;flex:1;line-height:1.5;width:0}.chat-compose .icon-btn{background:var(--green);color:white;border-color:var(--green)}.chat-footer{padding:0 20px 15px;font-size:10px;color:var(--muted);text-align:center}.prompt-list{display:grid;gap:10px}.prompt-btn{font-size:12px;line-height:1.7;text-align:left;border:1px solid var(--line);border-radius:9px;background:white;padding:12px 13px;color:#5b6d5d}.prompt-btn:hover{background:var(--green-soft);border-color:#d0dfc8}.coach-side .notice{margin-top:20px}.profile-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.profile-summary{display:flex;align-items:center;gap:14px;margin-bottom:25px}.profile-summary .avatar{width:48px;height:48px;font-size:16px}.profile-summary h3{font-size:17px}.profile-summary .small{margin-top:5px}.account-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.account-row:last-child{border:0}.account-row strong{font-size:12px}.account-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.account-row .account-value{text-align:right;font-size:13px}.obligations-editor{display:grid;gap:12px}.obligation-edit-row{display:grid;grid-template-columns:1.2fr .8fr 1fr 34px;gap:10px;align-items:end}.obligation-edit-row input{min-width:0;width:100%;font-size:12px;padding:10px 9px;border:1px solid #dfe5d9;border-radius:8px;min-height:40px}.obligation-edit-row .icon-btn{height:40px;width:34px}.obligation-labels{display:grid;grid-template-columns:1.2fr .8fr 1fr 34px;gap:10px;font-size:10px;color:var(--muted);margin-bottom:10px}.danger-zone{border-color:#ead8d3}.danger-zone p{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0 17px}.achievement-list{display:flex;flex-wrap:wrap;gap:8px}.achievement{font-size:11px;background:#f2f5ea;border-radius:8px;padding:9px 11px;color:#677b4a;display:inline-flex;align-items:center;gap:7px}.achievement svg{width:15px;height:15px}.profile-xp{display:flex;align-items:baseline;gap:8px;margin-bottom:15px}.profile-xp strong{font-size:32px;font-family:Georgia,serif;font-weight:400}.profile-xp span{font-size:12px;color:var(--muted)}.notification-row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}.notification-row:last-child{border:0}.notification-row strong{font-size:13px;line-height:1.6}.notification-row p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:6px}.notification-row.read{opacity:.6}.notification-row .icon-btn{width:31px;height:31px;margin-left:auto}.notification-row .icon-btn svg{width:15px;height:15px}
dialog{border:1px solid var(--line);border-radius:18px;width:min(590px,calc(100% - 32px));max-height:calc(100dvh - 50px);padding:26px;box-shadow:0 30px 100px #0e2a2333;background:var(--surface);color:var(--ink)}dialog::backdrop{background:rgba(14,31,26,.4);backdrop-filter:blur(4px)}dialog .modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}dialog .modal-head h2{font-size:22px;letter-spacing:-.5px}dialog .modal-head p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:9px}dialog .modal-head .icon-btn{width:32px;height:32px;flex-shrink:0;border:0;background:#f4f6ef}.modal-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:22px}.modal-tab{background:none;border:0;padding:10px 14px 13px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent;margin-bottom:-1px}.modal-tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.dialog-copy{font-size:13px;line-height:1.9;color:var(--muted)}.preview-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f5f7ef;padding:18px;border-radius:10px;margin-top:16px}.preview-details span{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.preview-details strong{font-size:13px;font-weight:550}.toast{position:fixed;left:50%;bottom:27px;transform:translate(-50%,20px);max-width:calc(100% - 32px);background:var(--nav);color:#fff;border-radius:11px;padding:13px 19px;box-shadow:0 12px 35px #14352426;font-size:12px;line-height:1.6;z-index:100;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading-line{height:2px;background:linear-gradient(90deg,transparent,var(--green),transparent);position:fixed;top:0;left:0;width:100%;z-index:100;animation:loading 1s infinite}@keyframes loading{from{opacity:.3}to{opacity:1}}.onboarding-label{font-size:10px;color:var(--green);font-weight:650;letter-spacing:.15em;text-transform:uppercase;margin-bottom:11px}.onboarding-note{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:23px}
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1.03fr 1fr}.auth-story{background:var(--nav);color:#eef4e9;display:flex;flex-direction:column;padding:47px 58px;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:550px;height:550px;border:1px solid #456248;border-radius:50%;bottom:-260px;right:-190px;box-shadow:0 0 0 65px #4562480f,0 0 0 130px #4562480d;pointer-events:none}.auth-story .brand-mark{background:#314a38}.auth-story .brand-word{font-size:23px}.auth-story .brand-word small{color:#93ac98}.auth-story-copy{margin:auto 0;padding:65px 0 50px;position:relative;z-index:1}.auth-story .auth-kicker{font-size:10px;letter-spacing:.18em;color:#a5c48e;font-weight:600;margin-bottom:23px}.auth-story h1{font-family:Georgia,serif;font-size:52px;font-weight:400;line-height:1.16;letter-spacing:-1.8px;max-width:470px}.auth-story h1 em{font-weight:400;color:var(--lime)}.auth-story-copy>p{font-size:13px;line-height:1.9;color:#a6bbaa;max-width:370px;margin-top:24px}.preview-money{margin-top:42px;border:1px solid #506550;background:#263e30;border-radius:14px;padding:24px;max-width:350px}.preview-money .label{font-size:9px;color:#b5c9a5;letter-spacing:.17em}.preview-money .preview-number{font-family:Georgia,serif;font-size:49px;color:var(--lime);letter-spacing:-1.7px;margin:12px 0 15px}.preview-money .preview-foot{font-size:10px;color:#b4c8b0;display:flex;gap:8px;align-items:center}.preview-money .preview-foot svg{width:13px;height:13px}.auth-trust{display:flex;align-items:center;gap:8px;font-size:10px;color:#9bb198;position:relative;z-index:1}.auth-trust svg{width:14px;height:14px}.auth-main{display:flex;flex-direction:column;justify-content:center;padding:50px 12%;background:#fafbf6}.auth-form-wrap{max-width:355px;width:100%;margin:0 auto}.auth-main h2{font-size:28px;font-weight:600;letter-spacing:-1px;margin-bottom:12px}.auth-description{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:28px}.auth-switch{display:flex;padding:4px;border-radius:10px;background:#edf0e7;margin-bottom:26px}.auth-switch button{width:50%;border:0;background:transparent;color:#8b9584;padding:10px;font-size:12px;border-radius:7px}.auth-switch button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #2a3d2010;font-weight:600}.auth-divider{display:flex;align-items:center;gap:12px;color:#9aa292;font-size:10px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-foot{font-size:10px;line-height:1.8;color:#9aa28f;text-align:center;margin-top:23px}.auth-error{margin-bottom:17px}.auth-main .form-stack{gap:17px}.auth-mobile-brand{display:none}
@media(min-width:1600px){.main{padding-left:55px;padding-right:55px}}@media(max-width:1200px){.sidebar{width:195px;padding:28px 17px}.brand-word{font-size:19px}.brand-word small{font-size:9px}.main{margin-left:195px;padding:27px 25px}.safe-card{padding:25px}.safe-amount{font-size:60px}.home-hero-grid{grid-template-columns:1.5fr 1fr;gap:18px}.cycle-stat{padding:0 18px;gap:10px}.cycle-stat strong{font-size:20px}.home-main-grid,.two-col,.equal-col,.coach-layout,.profile-layout{gap:18px}.panel{padding:20px}.auth-story{padding:40px}.auth-story h1{font-size:45px}.auth-main{padding:45px 10%}}
@media(max-width:1000px){.sidebar{width:83px;padding:26px 15px}.sidebar .brand-word,.nav-item span,.nav-item .nav-indicator,.sidebar-bottom .level-card,.sidebar-user>div:not(.avatar),.sidebar-user button{display:none}.sidebar .brand{margin:0 5px 40px}.nav-item{justify-content:center;padding:13px}.sidebar-user{padding:0;justify-content:center}.main{margin-left:83px;padding:27px 25px}.safe-amount{font-size:55px}.safe-card .safe-head{align-items:flex-start;flex-direction:column;gap:12px}.safe-amount{margin-top:17px}.home-main-grid{grid-template-columns:1.25fr 1fr}.profile-layout,.coach-layout{grid-template-columns:1fr}.coach-side{display:none}.sidebar-bottom{padding-top:30px}.auth-story{padding:35px}.auth-story h1{font-size:40px}.auth-main{padding:35px 8%}}
@media(max-width:760px){.main{padding:24px 22px 40px}.home-hero-grid{grid-template-columns:1fr}.safe-card{min-height:290px}.safe-card .safe-head{flex-direction:row;align-items:center}.safe-amount{font-size:66px}.hero-side{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:1fr}.hero-goal{padding:20px}.hero-goal .goal-label{margin-bottom:12px}.streak-strip{flex-direction:column;align-items:flex-start;gap:10px;padding:20px;justify-content:center}.streak-strip .pill{margin:0}.home-main-grid,.two-col,.equal-col,.simulator-layout{grid-template-columns:1fr}.cycle-stat{padding:0 14px;display:block}.cycle-stat .stat-icon{display:none}.cycle-stat strong{font-size:20px}.cycle-stat .small{font-size:9px}.cycle-stats{padding:20px 0}.goal-grid{grid-template-columns:1fr}.transaction-row{grid-template-columns:34px minmax(100px,1fr) auto 28px;gap:10px}.transaction-row .tx-category{display:none}.auth-story{display:none}.auth-shell{display:block}.auth-main{min-height:100dvh;padding:40px 25px}.auth-main .auth-mobile-brand{display:flex;margin-bottom:45px}.topbar h1{font-size:24px}.topbar .date-label{display:none}}
@media(max-width:560px){.sidebar{inset:auto 0 0 0;width:100%;height:73px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);z-index:30}.sidebar>.brand,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around;gap:2px}.nav-item{flex-direction:column;gap:4px;padding:5px 12px;font-size:10px;min-height:52px;flex:1}.nav-item svg{width:19px;height:19px}.nav-item span{display:block;font-size:9px}.main{margin-left:0;padding:20px 17px 105px}.topbar{margin-bottom:25px}.topbar h1{font-size:24px}.topbar .eyebrow{font-size:10px}.topbar>.actions .btn{display:none}.topbar .icon-btn{width:38px;height:38px}.mobile-brand{display:flex;align-items:center;gap:8px;margin-bottom:24px;font-size:17px;font-weight:700;letter-spacing:-.7px}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:9px;font-size:22px}.mobile-brand > .brand-tagline{color:#697966;font-size:9px;font-weight:400;letter-spacing:0;margin-left:auto}.home-intro{font-size:12px;margin-top:-8px;line-height:1.7}.safe-card{padding:23px 22px;min-height:285px}.safe-card .label{font-size:9px;letter-spacing:.1em}.safe-card .pill{font-size:9px}.safe-amount{font-size:65px;margin-top:24px}.safe-copy{font-size:11px;max-width:290px}.safe-card .actions{padding-top:23px;gap:8px}.safe-card .btn{font-size:10px;padding:9px 11px}.hero-side{grid-template-columns:1.25fr 1fr;gap:12px}.hero-goal{padding:18px}.hero-goal .goal-label{margin-bottom:11px}.hero-goal h3{font-size:13px;line-height:1.5}.hero-goal .goal-amount strong{font-size:21px}.hero-goal .goal-amount span{font-size:9px}.hero-goal .goal-amount{flex-wrap:wrap;gap:2px;margin:12px 0}.hero-goal .goal-footer{font-size:9px;line-height:1.6;flex-wrap:wrap;gap:1px}.goal-label .label{font-size:8px;letter-spacing:.08em}.goal-icon{width:27px;height:27px;border-radius:8px}.goal-icon svg{width:16px;height:16px}.streak-strip{padding:16px 14px;gap:11px}.streak-strip strong{font-size:12px;line-height:1.5}.streak-strip small{font-size:9px;line-height:1.6}.streak-strip .pill{font-size:9px}.cycle-stats{margin-top:17px;padding:19px 0}.cycle-stat{padding:0 12px}.cycle-stat .small{font-size:9px;line-height:1.6;margin-bottom:5px}.cycle-stat strong{font-size:17px;letter-spacing:-.3px}.home-main-grid{margin-top:18px;gap:18px}.panel{padding:20px 18px;border-radius:14px}.panel-head{margin-bottom:20px}.panel-head h2,.panel-head h3{font-size:15px}.section-heading{align-items:flex-start;gap:12px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading .actions{justify-content:flex-end}.section-heading .btn{padding:9px 11px;font-size:11px;min-height:39px}.section-heading .btn svg{width:15px;height:15px}.filter-row{gap:9px}.filter-row select{flex:1;min-width:110px;font-size:12px}.search-field{min-width:100%;flex-basis:100%}.transaction-row{grid-template-columns:32px minmax(80px,1fr) auto 26px;gap:9px;padding:15px 0}.transaction-row .tx-name{font-size:12px}.transaction-row .tx-meta{font-size:9px;gap:4px;line-height:1.6}.transaction-row .tx-amount{font-size:12px}.transaction-row .merchant-icon{width:31px;height:31px;border-radius:9px;font-size:10px}.transaction-row .pill{font-size:8px;padding:3px 5px}.transaction-row .icon-btn{width:26px;height:32px}.form-grid{grid-template-columns:1fr;gap:17px}.form-grid .wide{grid-column:auto}.goal-card .goal-amount strong{font-size:28px}.goal-card .goal-amount span{font-size:11px}.goal-card .goal-plan{gap:13px}.goal-plan strong{font-size:13px}.goal-card .goal-info-row{font-size:10px}.profile-layout{gap:18px}.obligation-edit-row{grid-template-columns:1fr 75px 104px 28px;gap:5px}.obligation-labels{grid-template-columns:1fr 75px 104px 28px;gap:5px}.obligation-edit-row input{font-size:11px;padding:9px 6px}.obligation-edit-row .icon-btn{width:28px}.chat-messages{padding:21px 16px;min-height:280px;max-height:none}.message{max-width:100%;gap:9px;font-size:12px}.message.user{max-width:92%;padding:11px 14px}.chat-compose{padding:14px}.chat-title{padding:18px}.chat-footer{font-size:9px}.chat-compose textarea{font-size:12px}.coach-layout .panel{border-radius:14px}.chat-panel{padding:0}.coach-side{display:block}.prompt-list{grid-template-columns:1fr 1fr;gap:8px}.prompt-btn{font-size:10px;padding:10px;line-height:1.7}.coach-side .notice{display:none}.toast{bottom:90px;font-size:12px}.auth-main{padding:32px 25px}.auth-main h2{font-size:27px}.auth-description{font-size:12px}.auth-mobile-brand{display:flex!important;margin-bottom:43px}.auth-mobile-brand .brand-word{font-size:21px}dialog{padding:22px 19px;max-height:calc(100dvh - 30px);width:calc(100% - 24px);border-radius:15px}dialog .modal-head h2{font-size:21px}dialog .modal-head p{font-size:11px}.modal-tab{padding:10px 12px;font-size:11px}.preview-details{padding:15px;gap:15px}.form-footer{gap:8px;flex-wrap:wrap}.form-footer .btn{flex:1}.notification-row strong{font-size:12px}.notification-row p{font-size:11px}}
@media(max-width:560px){.obligation-edit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:7px;padding:11px 0;border-bottom:1px solid var(--line)}.obligation-edit-row input:first-child{grid-column:1/3}.obligation-edit-row input:nth-child(2){grid-column:1}.obligation-edit-row input:nth-child(3){grid-column:2}.obligation-edit-row .icon-btn{grid-column:3;grid-row:1/3;height:100%}.obligation-labels{display:none}.safe-amount{overflow-wrap:anywhere}.goal-amount{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* MoneyQuest IND enhancements: readable details and comfortable controls. */
:root{--muted:#5f7065;--orange:#8b5a19;--mq-focus:#39764e;--mq-paper:#fbfcf7}
body{line-height:1.5}
.main,.page,.panel,.home-hero-grid>*,.home-main-grid>*,.equal-col>*,.two-col>*{min-width:0}
.btn,.btn.sm,.safe-card .btn,.section-heading .btn,.text-button,.modal-tab,.auth-switch button{min-height:44px}
.icon-btn,.topbar .icon-btn,.transaction-row .icon-btn,.goal-card-header .icon-btn,.notification-row .icon-btn,dialog .modal-head .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px}
.text-button{padding:6px 2px;line-height:1.4}
.sidebar-user button{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center}
.sidebar-user>div:not(.avatar){min-width:0;flex:1}
.sidebar-user strong,.sidebar-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-item{color:#5d6b63}.nav-item.active{color:var(--green)}
button:focus-visible,a:focus-visible{outline:3px solid var(--mq-focus);outline-offset:3px}
.field input,.field select,.filter-row input,.filter-row select,.obligation-edit-row input{min-height:44px}
.safe-amount{font-size:clamp(42px,4.8vw,68px);line-height:1.12;letter-spacing:-.045em;max-width:100%;font-variant-numeric:tabular-nums}
.safe-card .label{font-size:11px;letter-spacing:.12em}.safe-card .pill{font-size:11px}
.safe-copy{font-size:13px;line-height:1.75}.safe-card .btn{font-size:12px}
.cycle-stat .small,.hero-goal .goal-footer,.goal-amount span,.streak-strip small,.timeline-meta,.timeline-legend,.list-count,.chat-title small,.chat-footer{font-size:11px}
.streak-strip small{color:#656a4e}.hero-goal .goal-amount span{font-size:11px}
.panel-head h2,.panel-head h3{line-height:1.4}
.transaction-row .tx-meta,.transaction-row .tx-category,.transaction-row .tx-amount small{font-size:11px;line-height:1.6}
.transaction-row .tx-category{color:var(--muted)}.transaction-row .tx-amount{font-variant-numeric:tabular-nums}
.transaction-row .pill{font-size:10px;line-height:1.5;white-space:normal}
.transaction-row{grid-template-columns:36px minmax(0,1fr) minmax(70px,.48fr) auto 44px}
.goal-label .label,.message-label{font-size:11px}.chat-compose textarea{min-height:44px}
.notification-row.read{opacity:1}.notification-row.read strong{color:var(--muted);font-weight:500}

/* Home: useful starting points without competing with the spending plan. */
.home-quick-actions{margin:22px 0}
.quick-actions-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.quick-actions-head h2,.quick-actions-head h3{font-size:14px;font-weight:600;letter-spacing:-.2px}
.quick-actions-head p{font-size:12px;color:var(--muted)}
.quick-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.quick-action{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:106px;padding:17px 15px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);text-align:left;transition:background .15s,border-color .15s,transform .15s}
.quick-action:hover{background:var(--mq-paper);border-color:#b7cbb6;transform:translateY(-1px)}.quick-action:active{transform:none}
.quick-action-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:var(--green-soft);color:var(--green)}
.quick-action-icon svg{width:19px;height:19px}
.quick-action-copy{display:grid;gap:5px;min-width:0}
.quick-action-copy strong{font-size:13px;font-weight:600;line-height:1.5}
.quick-action-copy>span,.quick-action-copy small{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6}
.quick-action-arrow{color:var(--green);margin-left:auto;flex-shrink:0}

/* Home: real next steps in a short, quiet planning list. */
.plan-health{margin-top:22px;background:var(--mq-paper)}
.plan-health-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:6px}
.plan-health-heading h2,.plan-health-heading h3{font-size:16px;line-height:1.5;letter-spacing:-.25px}
.plan-health-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:5px}
.plan-health-list{list-style:none;margin:0;padding:0}
.plan-health-step{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);min-width:0}
.plan-health-step:last-child{border-bottom:0;padding-bottom:0}
.plan-health-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#e7efdf;color:var(--green);align-self:flex-start;margin-top:2px}
.plan-health-icon svg{width:17px;height:17px}
.plan-health-copy{flex:1;min-width:0}
.plan-health-copy strong,.plan-health-copy h3{display:block;font-size:13px;font-weight:600;line-height:1.6}
.plan-health-copy p,.plan-health-copy>span{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}
.plan-health-action{flex-shrink:0;max-width:160px}

/* Activity: intentional entry methods and visible, local review filters. */
.activity-intake{margin-bottom:22px}
.intake-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.intake-head h2,.intake-head h3{font-size:16px;font-weight:600;letter-spacing:-.25px}
.intake-head p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:5px}
.intake-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.intake-option{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;min-width:0;min-height:100px;padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--mq-paper);color:var(--ink);text-align:left}
.intake-option:hover{border-color:#b7cbb6;background:#f1f5e9}
.intake-option>.icon,.intake-option>svg{color:var(--green);margin-top:1px;flex-shrink:0}
.intake-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;color:var(--green);background:#e8efdf}
.intake-option strong{display:block;font-size:13px;font-weight:600;line-height:1.5}
.intake-option small,.intake-option span:not(.intake-icon):not(.intake-copy){display:block;font-size:11px;line-height:1.65;color:var(--muted);font-weight:400;margin-top:4px}
.intake-copy{min-width:0;display:block}
.message-privacy-note,.coach-privacy-note{font-size:12px;line-height:1.75;color:#53664f}
.message-privacy-note{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:12px 14px;background:#f0f4e8;border-radius:9px}
.message-privacy-note svg{flex:0 0 17px;width:17px;height:17px;margin-top:2px}
.review-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:17px 0}
.review-filter{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:500;line-height:1.4}
.review-filter:hover{background:var(--green-soft);border-color:#b7cbb6;color:var(--ink)}
.review-filter[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}
.review-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:6px;background:#edf0e9;color:#50634d;font-size:11px;font-variant-numeric:tabular-nums}
.review-filter[aria-pressed="true"] .review-count{background:#fff;color:var(--green)}
.activity-scope-note{color:var(--muted);font-size:11px;line-height:1.7;margin-top:12px}
.activity-note{margin-top:18px}
.tx-review-badges{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:7px}
.review-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:5px;color:#795018;background:#fbf1dc;font-size:10px;font-weight:600;line-height:1.55}
.review-badge svg{width:13px;height:13px}
.review-badge.refund{color:#3f6359;background:#eaf2ed}
.tx-review-detail{font-size:11px;line-height:1.6;color:#795018;margin-top:6px;max-width:480px;overflow-wrap:anywhere}
.transaction-review-action{min-height:44px;min-width:44px;padding:7px 9px;font-size:11px;font-weight:600;line-height:1.4;border-radius:8px;border:1px solid #dfcea8;background:#fffaf0;color:#795018}
.transaction-review-action:hover{background:#f8edcf}

/* Coach and Profile: factual guidance, with no implied bank connection. */
.coach-privacy-note{margin-top:16px;padding:13px 15px;border-left:3px solid #bfd0ad;background:var(--mq-paper)}
.coach-guidance{display:grid;gap:8px;margin-bottom:18px}
.coach-guidance h3{font-size:14px;font-weight:600}.coach-guidance p{font-size:12px;line-height:1.75;color:var(--muted)}
.coach-guidance-points{margin:0;padding-left:18px;display:grid;gap:7px;font-size:12px;line-height:1.7;color:var(--muted)}
.prompt-btn{min-height:44px;font-size:12px;color:#455e47}
.data-sources-card .panel-head{margin-bottom:8px}
.data-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px 0;border-bottom:1px solid var(--line)}
.data-source-row:last-of-type{border-bottom:0}
.data-source-name{font-size:13px;font-weight:600;line-height:1.6}
.data-source-status{align-self:start;display:inline-flex;align-items:center;padding:4px 7px;border-radius:6px;background:#edf0e9;color:#53614f;font-size:10px;font-weight:600;line-height:1.5}
.data-source-copy{grid-column:1/-1;font-size:12px;color:var(--muted);line-height:1.7}
.data-sources-card>.actions{margin-top:14px}
.data-sources-card>.actions .btn{flex:1;font-size:12px}
@media(pointer:coarse){button,.btn,.icon-btn{min-height:44px}.field input,.field select,.field textarea,.filter-row input,.filter-row select,.chat-compose textarea,.obligation-edit-row input{font-size:16px}.text-button{padding:8px 0}.transaction-row{grid-template-columns:32px minmax(65px,1fr) auto 44px}.transaction-row .icon-btn{width:44px}.obligation-edit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.obligation-edit-row .icon-btn{width:44px}.prompt-btn{font-size:12px}}

/* Enhancement breakpoints: fit the content, rather than shrinking tap targets. */
@media(min-width:761px){
  .transaction-row{grid-template-columns:36px minmax(0,1fr) minmax(70px,.48fr) auto max-content}
}
@media(max-width:1180px){
  .quick-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-action{min-height:94px;align-items:center}
  .intake-option{padding:14px 12px;gap:9px}
}
@media(min-width:561px) and (max-width:1000px){
  .intake-options{grid-template-columns:1fr}
  .intake-option{min-height:76px;align-items:center}
  .intake-option strong{font-size:13px}
  .plan-health-action{max-width:135px}
  .coach-side{display:block}
  .prompt-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .transaction-row{grid-template-columns:32px minmax(0,1fr) auto max-content;gap:9px}
  .transaction-row>div:nth-child(2){min-width:0}
  .transaction-row .tx-meta{font-size:11px;line-height:1.55;gap:3px 6px}
  .transaction-row .tx-amount{font-size:12px}
  .quick-actions-head{align-items:flex-start;flex-wrap:wrap;gap:4px}
  .review-toolbar{gap:7px}
  .section-heading{flex-wrap:wrap}
  .section-heading>.actions{margin-left:auto}
}
@media(max-width:560px){
  .main{padding-bottom:calc(108px + env(safe-area-inset-bottom))}
  .sidebar{height:calc(73px + env(safe-area-inset-bottom))}
  .nav-item{padding:5px 4px;min-width:0}
  .nav-item span{font-size:10px}
  .topbar .icon-btn{width:44px;height:44px}
  .safe-card{padding:23px 21px;min-height:288px}
  .safe-card .safe-head{flex-wrap:wrap;gap:9px}
  .safe-amount{font-size:clamp(42px,13vw,62px);margin-top:20px}
  .safe-copy{font-size:12px;max-width:none}
  .safe-card .actions{padding-top:20px;gap:8px}
  .safe-card .btn{font-size:11px;min-height:44px;padding:9px 10px}
  .hero-side{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
  .cycle-stat{padding:0 10px}
  .cycle-stat .small{font-size:10px}
  .cycle-stat strong{font-size:17px}
  .home-quick-actions{margin:20px 0}
  .quick-action-grid{gap:10px}
  .quick-action{flex-direction:column;align-items:flex-start;gap:10px;min-height:135px;padding:14px 13px}
  .quick-action{position:relative}
  .quick-action-arrow{position:absolute;top:22px;right:13px}
  .quick-action-arrow svg{width:17px;height:17px}
  .quick-action-copy strong{font-size:13px}
  .quick-action-copy>span,.quick-action-copy small{font-size:11px}
  .intake-head{flex-wrap:wrap;gap:5px;margin-bottom:14px}
  .intake-options{grid-template-columns:1fr;gap:9px}
  .intake-option{padding:14px;align-items:center;min-height:78px}
  .message-privacy-note{font-size:11px;padding:11px 12px}
  .plan-health{margin-top:18px}
  .plan-health-heading{flex-wrap:wrap;gap:7px}
  .plan-health-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:7px 11px;padding:16px 0}
  .plan-health-icon{width:30px;height:30px;flex-basis:30px;grid-row:1/3}
  .plan-health-action{grid-column:2;justify-self:start;max-width:none;margin-top:3px}
  .plan-health-copy strong,.plan-health-copy h3{font-size:13px}
  .plan-health-copy p,.plan-health-copy>span{font-size:12px}
  .review-filter{padding:9px 11px;font-size:11px}
  .review-count{font-size:10px;min-width:19px;height:19px}
  .tx-review-detail{font-size:11px}
  .transaction-row .tx-name{font-size:12px;line-height:1.5}
  .transaction-row .tx-amount small{font-size:10px}
  .transaction-review-action{padding:7px 6px;font-size:10px}
  .chat-messages{padding:20px 15px;gap:20px}
  .chat-footer{font-size:11px;line-height:1.65}
  .prompt-list{grid-template-columns:1fr}
  .prompt-btn{font-size:12px;padding:12px 13px}
  .coach-privacy-note{font-size:11px;margin-top:14px}
  .data-source-row{grid-template-columns:1fr;gap:5px}
  .data-source-status{justify-self:start}
  .data-source-copy{grid-column:auto}
}
@media(max-width:360px){
  .main{padding-left:13px;padding-right:13px}
  .panel{padding-left:15px;padding-right:15px}
  .hero-side{grid-template-columns:1fr}
  .streak-strip{flex-direction:row;align-items:center;gap:10px;padding:14px 16px}
  .streak-strip .pill{margin-left:auto}
  .transaction-row{grid-template-columns:28px minmax(0,1fr) auto max-content;gap:6px}
  .transaction-row .merchant-icon{width:28px;height:28px;font-size:10px}
  .transaction-row .tx-amount{font-size:11px}
  .transaction-row .tx-meta{font-size:10px}
  .transaction-row .pill{font-size:9px;padding:3px 5px}
  .quick-action{padding:13px 11px}
  .review-filter{font-size:11px;padding:9px 10px}
  .safe-card .actions .btn{flex:1}
  .cycle-stat strong{font-size:15px}
  .cycle-stat .small{font-size:10px}
  .auth-main{padding-left:20px;padding-right:20px}
}
@media(prefers-reduced-motion:reduce){
  .page,.quick-action,.btn,.toast,.loading-line{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .quick-action:hover,.quick-action:active,.btn:active{transform:none}
}

/* Selected MoneyQuest IND MQ monogram. Preserve the existing desktop/mobile sizes. */
.brand-mark{padding:0;letter-spacing:0;flex-shrink:0;overflow:hidden;background:#092d62}.brand-mark .brand-logo{display:block;width:100%;height:100%}.brand-ind{color:#00c9ad}.sidebar .brand{gap:10px}.sidebar .brand-word{font-size:18px;letter-spacing:-.6px;white-space:nowrap}.mobile-brand-word{white-space:nowrap}
.notification-row.budget-warning{background:#fff1f2;border:1px solid #fecaca;border-left:5px solid #b91c1c;border-radius:12px;padding:16px;margin:12px 0;gap:12px}.notification-row.budget-warning.read{opacity:1}.notification-copy{min-width:0;overflow-wrap:anywhere}.notification-row .notification-copy>strong{display:block}.notification-warning-icon{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:#b91c1c;color:#fff;font-size:16px;font-weight:800}.notification-warning-label{display:inline-flex;padding:4px 8px;margin:0 0 7px;background:#b91c1c;color:#fff;border-radius:6px;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.03em}.notification-row.budget-warning strong{color:#991b1b}.notification-row.budget-warning p{color:#7f1d1d}.notification-row.budget-warning .icon-btn{color:#991b1b;border-color:#fecaca;background:#fff;flex-shrink:0}.icon-btn .unread-dot.budget-unread{background:#b91c1c;width:9px;height:9px}
.auth-forgot{align-self:flex-end;min-height:32px}.auth-back{margin-top:20px}.auth-message{font-size:13px;line-height:1.65;color:#075c63}.auth-message:empty{display:none}.coach-connection{margin:14px 20px;padding:14px;border:1px solid #dbe5ee;background:#f7fafc;border-radius:12px;font-size:13px;line-height:1.6}.coach-connection strong{display:block;color:#092d62}.coach-connection p{margin:7px 0;color:#526171}.coach-connection .btn{font-size:12px;margin-top:7px}
