:root{--navy:#101e2d;--navy2:#1b3441;--forest:#24775e;--mint:#b7f3d4;--ink:#213144;--muted:#778795;--paper:#f5f7f7;--surface:#fff;--line:#e8edf0;--blue:#6177c7;--orange:#cd7b3e;--shadow:0 8px 25px rgba(19,42,55,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:0.875rem}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #6aaedf;outline-offset:3px}h1,h2,h3,p{margin:0}em{font-style:normal;color:#358268}.app-shell{min-height:100vh;display:flex}.sidebar{width:246px;flex-shrink:0;background:var(--navy);color:#b9c9d1;padding:34px 20px 25px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.logo{text-decoration:none;color:#fff;font-size:1.5625rem;letter-spacing:-1.4px;font-weight:850;display:flex;align-items:center;gap:10px;margin:0 10px 52px}.logo-mark{display:inline-grid;place-items:center;min-width:39px;height:39px;border-radius:12px;background:var(--mint);color:#14384a;font-size:1.6875rem;line-height:1;transform:rotate(-11deg);font-weight:400}.logo-stop{color:#8fe2bb}.side-caption{color:#698292;letter-spacing:2px;font-size:0.75rem;font-weight:800;padding:0 12px;margin-bottom:18px}.navigation{display:grid;gap:5px}.nav-item{display:flex;gap:14px;align-items:center;text-align:left;background:transparent;border:none;border-radius:12px;color:#b5c6d1;font-size:0.8125rem;font-weight:700;padding:15px 14px;width:100%}.nav-item:hover{background:#253747;color:#fff}.nav-item.active{background:#b9f5d5;color:#152e3b}.nav-ico{width:22px;text-align:center;font-size:1.25rem;font-weight:400}.sidebar-bottom{margin-top:auto}.sidebar-tip{padding:18px;border:1px solid #39505e;background:#1b3242;border-radius:17px;margin-bottom:22px}.tip-icon{font-size:1.4375rem;color:#aff4d4;display:block;margin-bottom:12px}.sidebar-tip b{font-size:0.8125rem;color:#fff}.sidebar-tip p{line-height:1.65;color:#adbdc9;font-size:0.75rem;margin-top:8px}.privacy-line{font-size:0.75rem;color:#8297a8;white-space:nowrap}.privacy-dot{display:inline-block;width:7px;height:7px;background:#8be5b5;border-radius:100%;margin-right:7px}.main-content{min-width:0;flex:1;max-width:1580px;margin:0 auto;padding:0 clamp(22px,4vw,62px) 60px}.topbar{height:87px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.top-eyebrow,.eyebrow{font-size:0.75rem;letter-spacing:1.9px;font-weight:850;color:#81919d}.top-sep{color:#b4bfc6;padding:0 10px}.top-eyebrow strong{color:#314757}.top-actions{display:flex;gap:13px;align-items:center}.beta-pill{border:1px solid #dce6e2;border-radius:100px;padding:7px 12px;color:#52856a;font-size:0.75rem;font-weight:800;letter-spacing:.5px}.avatar-btn{width:33px;height:33px;display:grid;place-items:center;border:0;border-radius:50%;font-size:0.75rem;font-weight:850;background:#e7e4f4;color:#6a6091}.mobile-brand{display:none}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:37px 0 24px}.page-head h1{font-size:clamp(1.875rem,3.2vw,2.6875rem);letter-spacing:-2.1px;line-height:1.15;font-weight:820;margin:8px 0}.page-head p{color:var(--muted);font-size:0.8125rem;line-height:1.65}.page-actions{display:flex;gap:8px;align-items:center}.soft-btn,.outline-btn{border:1px solid #e0e8eb;background:#fff;border-radius:11px;padding:10px 14px;font-size:0.75rem;font-weight:750;color:#405569;display:inline-flex;align-items:center;justify-content:center;gap:8px}.soft-btn:hover,.outline-btn:hover{background:#f4f9f7}.primary-btn{background:#1a3945;color:#fff;border:1px solid #1a3945;border-radius:11px;padding:13px 18px;font-size:0.8125rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary-btn:hover{background:#274d56}.primary-btn span:last-child{font-size:1.125rem}.overview-hero{display:grid;grid-template-columns:1.25fr .75fr;min-height:252px;gap:30px;padding:32px 38px 31px;background:radial-gradient(circle at 100% 15%,#325966 0,#1e4150 28%,#142f40 62%,#132735 100%);border-radius:22px;color:#fff;position:relative;overflow:hidden;box-shadow:0 14px 32px #1d455315}.overview-hero:after{position:absolute;content:'';right:-95px;top:-150px;width:490px;height:490px;border:1px solid #b2efcd40;border-radius:50%;box-shadow:0 0 0 45px #b2efcd09,0 0 0 92px #b2efcd08;pointer-events:none}.hero-content,.hero-aside{position:relative;z-index:1}.hero-eyebrow{color:#b6d1d1;font-size:0.75rem;font-weight:650;display:flex;gap:9px;align-items:center}.hero-eyebrow i{height:7px;width:7px;background:#a8ebc4;border-radius:50%}.hero-value{font-size:clamp(2.5625rem,5.1vw,4rem);font-weight:850;letter-spacing:-3px;margin:15px 0 5px}.hero-subtext{color:#b4c8ce;font-size:0.75rem}.hero-pills{display:flex;flex-wrap:wrap;gap:11px;margin-top:28px}.hero-tag{background:#ffffff13;border:1px solid #ffffff22;border-radius:10px;padding:9px 13px;color:#dfefeb;font-size:0.75rem}.hero-tag strong{font-size:0.8125rem;color:#fff;margin-left:5px}.hero-aside{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.pay-ring{height:148px;width:148px;border-radius:50%;border:14px solid #9aebc8;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#1d4650;box-shadow:0 0 0 11px #ffffff10}.pay-ring strong{font-size:1.625rem;letter-spacing:-1.1px}.pay-ring span{font-size:0.75rem;color:#b5ced0}.hero-aside p{font-size:0.75rem;color:#b9d1ce}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 22px}.stat-card,.card{background:var(--surface);border:1px solid #e9eef0;border-radius:18px;box-shadow:var(--shadow)}.stat-card{padding:20px 21px}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#82909d;font-size:0.75rem;font-weight:700}.stat-icon{width:32px;height:32px;border-radius:9px;background:#eff9f3;color:#358663;display:grid;place-items:center;font-size:1.0625rem}.stat-icon.warm{background:#fff3e9;color:#bc793f}.stat-icon.blue{background:#edf0ff;color:#697ab8}.stat-value{font-weight:850;letter-spacing:-1.2px;font-size:clamp(1.375rem,2.6vw,1.9375rem);margin:11px 0 4px}.stat-hint{font-size:0.75rem;color:#8e9ba5}.grid-two{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:20px}.card{padding:24px}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.card-head h2{font-size:1rem;font-weight:820;letter-spacing:-.4px}.card-head p{font-size:0.75rem;color:#8897a2;margin-top:5px;line-height:1.5}.text-button{border:0;background:transparent;color:#417e68;font-size:0.75rem;font-weight:850;padding:5px 0;text-align:right}.break-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:0.75rem;color:#5e6e7e}.break-row b{font-size:0.75rem;color:#314658;font-weight:780}.break-row.highlight{color:#1e4857;font-weight:800;margin-top:18px;border-top:1px solid var(--line);padding-top:17px}.break-row.highlight b{font-size:1.1875rem}.deduct-progress{width:100%;height:9px;accent-color:#2d9a74;margin:4px 0 7px}.info-strip{background:#edf8f1;border:1px solid #e1f1e5;border-radius:12px;padding:14px 15px;display:flex;gap:10px;align-items:flex-start;margin-top:19px;font-size:0.75rem;color:#376750;line-height:1.55}.info-strip strong{display:block;color:#2a6651;margin-bottom:3px}.simple-list{display:grid;gap:15px}.guide-row{display:flex;gap:12px;align-items:flex-start}.guide-icon{background:#f2f5f8;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;font-size:1rem;color:#6a7b8a}.guide-row strong{display:block;font-size:0.75rem;color:#35495c}.guide-row p{font-size:0.75rem;color:#82919e;line-height:1.6;margin-top:4px}.section-heading{font-size:0.875rem;letter-spacing:-.4px;margin:26px 0 14px}.recent-list{width:100%;border-collapse:collapse}.recent-list th{text-align:left;color:#90a0a9;font-weight:750;font-size:0.75rem;text-transform:uppercase;letter-spacing:.7px;border-bottom:1px solid var(--line);padding:11px 8px}.recent-list td{font-size:0.75rem;padding:15px 8px;border-bottom:1px solid #f0f3f3}.recent-list tr:last-child td{border:0}.recent-list td:last-child,.recent-list th:last-child{text-align:right}.recent-list .amount-strong{font-weight:800;color:#277a60}.muted{color:#8797a3}.center{text-align:center}.empty-state{color:#8b9aa5;text-align:center;font-size:0.75rem;padding:35px}.period-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.period-nav{display:flex;align-items:center;background:#fff;border:1px solid var(--line);padding:6px;border-radius:12px;gap:10px}.period-nav button{background:#f3f6f7;border:0;border-radius:8px;font-size:1.125rem;padding:6px 12px;color:#455666}.period-nav button:disabled{opacity:.3}.period-nav span{font-weight:760;font-size:0.75rem;min-width:154px;text-align:center}.field-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.field{display:grid;gap:8px}.field>label,.field>span{font-weight:770;font-size:0.75rem;color:#526475}.field input,.field select,.field textarea,.field-stack select,.input-end input{width:100%;height:44px;border:1px solid #dfe7eb;border-radius:10px;background:#fff;padding:0 12px;color:#263e4c;outline:0}.field input:focus,.field select:focus,.field-stack input:focus,.field-stack select:focus{border-color:#429775;box-shadow:0 0 0 3px #64b6941c}.hint{font-size:0.75rem;color:#84939e;line-height:1.6}.mode-control{display:inline-flex;background:#edf1f1;border-radius:11px;padding:4px;gap:4px}.mode-control button{border:0;background:transparent;border-radius:8px;padding:10px 15px;color:#70828c;font-size:0.75rem;font-weight:800}.mode-control button.selected{background:#fff;color:#1d4850;box-shadow:0 2px 8px #1f34421a}.hours-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:19px 0 9px}.day-cell{padding:12px 8px;border:1px solid #e7edf0;border-radius:13px;text-align:center;background:#fff;min-width:0}.day-cell.weekend{background:#fafbfb}.day-cell label{font-size:0.75rem;display:block;font-weight:850;color:#80929d}.day-cell small{display:block;font-size:0.75rem;color:#96a4ad;margin-top:2px}.day-cell input{margin-top:10px;width:100%;min-width:0;border:1px solid #d9e3e7;border-radius:8px;height:39px;text-align:center;padding:0 4px;font-weight:700;font-size:0.8125rem}.day-cell input:focus{outline:2px solid #74ba9a}.week-break{grid-column:1/-1;height:0;border-top:1px dashed #e8edef;margin:4px 0}.week-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f2;padding:12px 0;gap:12px}.week-row label{font-size:0.8125rem;color:#526477;font-weight:750}.week-row input{width:110px;height:40px;border:1px solid #dfe6ea;border-radius:8px;padding:0 12px}.tracker-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:19px;margin-top:16px;font-size:0.75rem;color:#7d8c98}.tracker-total b{font-size:1.625rem;color:#243c4b}.pay-stub-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stub-result{background:#f4f8f6;border:1px solid #e2eee9;border-radius:14px;padding:18px}.stub-big{font-size:1.9375rem;font-weight:850;letter-spacing:-1.4px;margin:9px 0}.stub-result .hint{font-size:0.75rem}.pill-small{display:inline-flex;align-items:center;font-size:0.75rem;border-radius:50px;padding:5px 9px;background:#e3f2e9;color:#32775a;font-weight:800}.note{background:#fff8ed;border:1px solid #f8edda;border-radius:12px;padding:13px 16px;color:#8b6c39;font-size:0.75rem;line-height:1.6;margin-top:19px}.back-link{margin-top:12px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-card{min-height:180px}.settings-card h2{margin-bottom:9px;font-size:0.9375rem}.settings-card p{font-size:0.75rem;color:#8795a0;line-height:1.7;margin-bottom:20px}.settings-card .field-stack{margin-bottom:14px}.settings-card .outline-btn{margin-right:8px;margin-bottom:8px}.page-footer{font-size:0.75rem;line-height:1.6;color:#8b99a3;padding-top:26px}.page-footer a{text-decoration:underline;text-underline-offset:3px;color:#4e806a}.mobile-nav{display:none}.toast{position:fixed;bottom:25px;right:25px;padding:13px 18px;background:#193e41;color:#fff;border-radius:11px;box-shadow:0 15px 40px #182b3344;z-index:40;font-size:0.75rem;font-weight:750;opacity:0;pointer-events:none;transition:opacity .2s}.toast.visible{opacity:1}.onboarding{position:fixed;inset:0;display:grid;grid-template-columns:1fr 1fr;background:#fff;z-index:50}.onboarding[hidden]{display:none}.welcome-side{background:#142b3b;color:#fff;padding:42px 6vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.welcome-side:after{content:'';position:absolute;right:-150px;top:10%;height:560px;width:560px;border:1px solid #a5eec344;border-radius:50%;box-shadow:0 0 0 40px #a5eec311,0 0 0 100px #a5eec30d}.welcome-side>div{z-index:1;position:relative}.welcome-logo{display:flex;align-items:center;gap:10px;font-weight:850;font-size:1.4375rem;letter-spacing:-1px}.welcome-copy{max-width:510px}.small-tag{font-size:0.75rem;font-weight:850;color:#c2ebd7;letter-spacing:1.7px}.welcome-copy h1{font-size:clamp(2.25rem,4.4vw,4rem);letter-spacing:-3px;line-height:1.15;margin:22px 0}.welcome-copy h1 em{color:#b0ebc9}.welcome-copy p{font-size:0.9375rem;color:#bfd0d6;line-height:1.8;max-width:420px}.welcome-perks{display:grid;gap:14px;margin-top:30px;color:#c8e8dc;font-size:0.75rem;font-weight:650}.welcome-foot{font-size:0.75rem;color:#718d9d}.welcome-form-panel{display:flex;justify-content:center;align-items:center;padding:40px 6vw;overflow:auto}.welcome-form{width:100%;max-width:450px}.form-counter{font-size:0.75rem;font-weight:850;letter-spacing:2px;color:#8c9ca7;display:flex;justify-content:space-between}.form-counter span{color:#54a684}.welcome-form h2{font-size:clamp(2.125rem,3.4vw,3.125rem);letter-spacing:-2px;line-height:1.16;margin:21px 0 11px}.welcome-form>p{color:#7f909e;font-size:0.8125rem;line-height:1.6}.field-stack{display:grid;gap:9px;margin-top:24px}.field-stack label{font-size:0.75rem;font-weight:800;color:#405568}.field-stack select{height:49px}.money-input,.input-end{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #dfe8eb;border-radius:11px;padding:0 14px;height:54px}.money-input input,.input-end input{border:0;outline:0;min-width:0;flex:1;width:40px;height:100%;background:transparent;font-weight:750;font-size:1.0625rem;color:#213e49}.money-input span:first-child{color:#6a8f7e;font-weight:800;font-size:1.25rem}.money-input span:last-child,.input-end span{color:#8b9ca8;font-weight:750;font-size:0.75rem;white-space:nowrap}.onboard-cta{width:100%;height:53px;justify-content:space-between;margin-top:27px;font-size:0.875rem}.form-note{font-size:0.75rem!important;text-align:center;margin-top:15px;color:#91a0a8!important}.notice-chip{display:inline-flex;gap:6px;padding:7px 11px;background:#eef7f3;color:#3e8868;border-radius:100px;font-size:0.75rem;font-weight:800}.file-label{font-size:0.75rem;background:#fff;border:1px solid var(--line);padding:10px 12px;display:inline-flex;border-radius:10px;cursor:pointer}.file-label input{display:none}
@media(max-width:1070px){.sidebar{width:210px;padding-inline:14px}.main-content{padding-inline:24px}.overview-hero{grid-template-columns:1fr .6fr}.hours-grid{gap:6px}.day-cell{padding:9px 4px}}
@media(max-width:820px){.sidebar{display:none}.main-content{padding:0 18px 100px}.topbar{height:72px}.mobile-brand{display:flex;gap:7px;align-items:center;color:#193b47;font-size:1.375rem;font-weight:850;letter-spacing:-1.2px}.mobile-brand .logo-mark{min-width:29px;width:29px;height:29px;font-size:1.3125rem;border-radius:9px}.top-eyebrow{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e3eaec;padding:7px 8px calc(8px + env(safe-area-inset-bottom));z-index:25;box-shadow:0 -8px 30px #22394c13}.mobile-nav button{flex:1;border:0;border-radius:10px;padding:6px 0;background:transparent;font-size:1.1875rem;display:grid;gap:3px;justify-items:center;color:#80919c}.mobile-nav button span{font-size:0.75rem;font-weight:800}.mobile-nav button.active{color:#267658;background:#eff8f3}.onboarding{grid-template-columns:1fr}.welcome-side{padding:25px 25px 23px;min-height:230px}.welcome-copy h1{font-size:2rem;margin:10px 0}.welcome-copy p{font-size:0.75rem}.welcome-perks,.welcome-foot{display:none}.welcome-form-panel{padding:28px 25px 55px;align-items:flex-start}}
@media(max-width:650px){.topbar .beta-pill{display:none}.page-head{padding-top:25px;align-items:flex-start}.page-head h1{font-size:2rem;letter-spacing:-1.4px}.page-actions{margin-top:8px}.overview-hero{grid-template-columns:1fr;padding:25px;gap:20px;min-height:0}.hero-aside{display:none}.hero-value{font-size:2.875rem}.hero-pills{gap:7px;margin-top:23px}.hero-tag{font-size:0.75rem;padding:8px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:17px 14px}.stat-grid .stat-card:last-child{grid-column:1/-1}.stat-value{font-size:1.5rem}.grid-two,.settings-grid,.pay-stub-grid{grid-template-columns:1fr}.card{padding:19px}.period-toolbar{display:grid}.period-nav{justify-content:space-between}.field-row{grid-template-columns:1fr 1fr}.field-row .field:last-child{grid-column:1/-1}.hours-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.day-cell{padding:7px 2px;border-radius:9px}.day-cell label{font-size:0.75rem}.day-cell small{font-size:0.75rem}.day-cell input{font-size:0.75rem;padding:0;height:35px}.welcome-side{min-height:225px}.welcome-form-panel{padding-top:28px}.welcome-form h2{font-size:2.1875rem}}
@media(max-width:350px){.hero-value{font-size:2.375rem}.hours-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.day-cell label{font-size:0.75rem}.day-cell input{height:32px}.mobile-brand{font-size:1.1875rem}}

.stub-net-field{margin-bottom:15px}.ytd-fields{margin-top:15px}
@media(max-width:650px){.page-head{flex-direction:column;align-items:flex-start;gap:10px}.page-actions{margin-top:0;align-self:flex-start}.page-actions .soft-btn{white-space:nowrap}.card-head{flex-wrap:wrap}}

/* Northstar 1.1: pay-stub education, historical editing and detailed earnings. */
.help-card{background:#ecf7f1;border:1px solid #d6e9df;border-radius:18px;padding:20px 24px;margin-bottom:18px;display:grid;gap:14px}
.help-card h2{font-size:1.125rem;letter-spacing:-.4px;margin:6px 0}
.help-card p{font-size:0.75rem;color:#597468;line-height:1.7;max-width:800px}
.help-card details{min-width:0}
.help-card summary{cursor:pointer;list-style:none}
.help-card summary::-webkit-details-marker{display:none}
.example-stub{background:white;border:1px solid #dbece2;border-radius:12px;padding:17px;margin-top:15px}
.example-stub .example-title{font-size:0.8125rem;font-weight:850;margin-bottom:14px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}
.example-title span{font-size:0.75rem;color:#708a7e;font-weight:650}
.example-stub .outline-btn{margin-top:15px}
.subsection{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.subsection .card-head{margin-bottom:17px}
.takehome-hour{background:#edf7f1;padding:15px;border-radius:12px;display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:15px;color:#32684f;font-size:0.75rem}
.takehome-hour strong{font-size:1.4375rem;letter-spacing:-.8px}
.onboard-guide{background:#f0f8f4;border:1px solid #dfeee5;border-radius:13px;padding:13px 15px;margin-top:16px}
.onboard-guide strong{font-size:0.75rem;color:#286c50}
.onboard-guide p{font-size:0.75rem;line-height:1.55;color:#5e7b6b;margin-top:6px}
.recent-list .text-button{white-space:nowrap}
@media(max-width:650px){.help-card{padding:17px}.takehome-hour{flex-direction:column;align-items:flex-start}.field-row .field{grid-column:auto}.field-row{grid-template-columns:1fr 1fr}.field-row .field:last-child{grid-column:auto}.pay-stub-grid .field-row{grid-template-columns:1fr}.subsection .field-row{grid-template-columns:1fr 1fr}.subsection .field-row .field:last-child{grid-column:auto}.table-scroller{overflow-x:auto;max-width:100%}.recent-list{min-width:620px}.welcome-form-panel{overflow:visible}.onboarding{overflow-y:auto}}

/* v1.2 Everyday money */
.finance-form{display:grid;gap:15px}.finance-form .field{min-width:0}.finance-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.finance-category{margin:12px 0}.finance-bar{height:7px;border-radius:9px;background:#e9efed;overflow:hidden}.finance-bar span{display:block;height:100%;border-radius:9px;background:#379c7b}.recurring-list{margin-top:18px}.recurring-list .break-row{gap:12px;flex-wrap:wrap}.finance-form input,.finance-form select{max-width:100%}@media(max-width:650px){.mobile-nav{display:flex;justify-content:space-around}.mobile-nav button{min-width:0;padding-left:3px;padding-right:3px;font-size:0.75rem}.finance-form .field-row{grid-template-columns:1fr}.finance-actions>*{width:100%}}


/* Version 1.5 — accessible mobile-first driver workspace */
.driver-icon{width:28px;height:28px;flex-shrink:0;display:inline-block}
.driver-hero{background:linear-gradient(125deg,#183343,#276a5b);border-radius:24px;color:white;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;flex-wrap:wrap}
.driver-vehicle{display:flex;align-items:center;gap:18px;min-width:0}
.driver-photo,.driver-photo-placeholder{width:148px;height:110px;border-radius:17px;object-fit:cover;flex-shrink:0;border:2px solid #ffffff55}
.driver-photo-placeholder{display:grid;place-items:center;background:#ffffff20}
.driver-photo-placeholder .driver-icon{width:65px;height:65px;color:#b8f5d4}
.driver-vehicle h2{font-size:1.5rem;margin:7px 0;overflow-wrap:anywhere}
.driver-vehicle p{color:#c7dedb;font-size:0.75rem;line-height:1.5}
.driver-kicker{font-size:0.75rem;letter-spacing:1.6px;font-weight:850;color:#baf4d4}
.driver-upload{display:flex;align-items:center;justify-content:center;gap:10px;background:#b9f5d5;color:#153b35;border-radius:14px;padding:15px 20px;font-weight:800;min-height:52px;cursor:pointer}
.driver-upload input{position:absolute;width:1px;height:1px;opacity:0}
.driver-upload:focus-within{outline:3px solid #f8d486;outline-offset:3px}
.driver-vehicle-form{display:flex;gap:12px;align-items:end;background:#fff;border:1px solid #e9eef0;border-radius:16px;padding:16px;margin-bottom:18px;flex-wrap:wrap}
.driver-vehicle-form label{font-size:0.75rem;font-weight:800}
.driver-vehicle-form input{border:1px solid #dfe7eb;border-radius:10px;padding:12px;min-height:46px;min-width:180px;flex:1}
.driver-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.driver-tile{background:#fff;border:1px solid #e7ecef;border-radius:18px;padding:22px;display:grid;gap:10px}
.driver-tile .driver-icon{color:#2b8d69;background:#e9f8f0;border-radius:12px;padding:8px;width:48px;height:48px}
.driver-tile span{color:#637a87;font-size:0.75rem;font-weight:750}
.driver-tile strong{font-size:clamp(1.4375rem,3vw,2.125rem);letter-spacing:-1px;overflow-wrap:anywhere}
.driver-section{margin-bottom:18px}
.driver-section h2{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.driver-section h2 .driver-icon{color:#24775e}
.driver-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.driver-form .primary-btn{grid-column:1/-1;min-height:50px}
.driver-entry-list{display:grid;gap:12px}
.driver-entry{display:flex;align-items:center;gap:12px;justify-content:space-between;border-bottom:1px solid #edf1f2;padding:12px 0}
.driver-entry>div{display:grid;gap:4px}
.driver-entry span{color:#7e8c99;font-size:0.75rem}
.driver-entry button{background:transparent;border:1px solid #dbe4e7;border-radius:9px;padding:9px}
.driver-privacy{display:flex;align-items:start;gap:12px;color:#58736d;font-size:0.75rem;line-height:1.6;padding:14px 0 28px}
@media(max-width:700px){.driver-hero{padding:18px;gap:16px}.driver-vehicle{width:100%}.driver-photo,.driver-photo-placeholder{width:110px;height:94px}.driver-vehicle h2{font-size:1.25rem}.driver-upload{width:100%;font-size:0.9375rem}.driver-upload .driver-icon{width:30px;height:30px}.driver-tiles{grid-template-columns:1fr;gap:10px}.driver-tile{display:flex;align-items:center;gap:14px;padding:14px}.driver-tile span{flex:1}.driver-tile strong{font-size:1.5rem}.driver-form{grid-template-columns:1fr}.driver-form .field input,.driver-form .field select{min-height:48px}.driver-vehicle-form input{width:100%}.driver-entry{flex-wrap:wrap}}

.driver-review{border:1px solid #b9dccc;background:#f3faf6;border-radius:16px;padding:20px;margin-top:18px}
.driver-review h3{font-size:1.0625rem;margin-bottom:8px}.driver-review>p{color:#526c68;line-height:1.6}
.driver-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.driver-review-grid>div{display:grid;gap:5px;background:white;border:1px solid #e2eee8;border-radius:12px;padding:13px}
.driver-review-grid span{font-size:0.75rem;color:#627f78}.driver-review-grid b{font-size:1rem;overflow-wrap:anywhere}
.driver-review-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
@media(max-width:700px){.driver-review{padding:14px}.driver-review-grid{grid-template-columns:1fr}.driver-review-actions button{width:100%;min-height:48px}}

/* Reality Check: compact mobile-first financial feedback. */
.reality-hourbar{display:flex;width:100%;height:24px;overflow:hidden;border-radius:10px;background:#e7ecee;margin:15px 0;gap:2px}
.reality-hourbar span{display:block;height:100%;min-width:0}
.reality-tax{background:#64748b}.reality-needs{background:#e3a05c}.reality-free{background:#29966e}
.reality-progress{width:100%;height:13px;border-radius:99px;background:#e7ecee;overflow:hidden;margin:14px 0}
.reality-progress>span{display:block;height:100%;background:#29966e;transition:width .2s}
.reality-quick-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;align-items:end}
.reality-quick-form .primary-btn{width:100%;min-height:44px}
.reality-balance .stat-grid{margin:14px 0}
.reality-allocation,.reality-balance,.reality-quick{margin-bottom:18px}
@media(max-width:640px){.reality-quick-form{grid-template-columns:1fr}.reality-balance .stat-grid{grid-template-columns:1fr}}

/* Future Freedom */
.future-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-top:16px}
.future-fields .field{display:flex;flex-direction:column;gap:8px;font-weight:600}
.future-fields input{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.future-results{margin:18px 0}
.future-hours{font-size:clamp(2rem,6vw,3.625rem);font-weight:800;letter-spacing:-.04em;color:var(--forest);margin:12px 0}
@media(max-width:600px){.future-fields{grid-template-columns:1fr 1fr;gap:10px}.future-fields .field{font-size:0.75rem}.future-fields input{min-width:0}}

/* Simple bilingual feature guide */
.guide-language{display:inline-flex;gap:5px;padding:5px;background:#e8f0ee;border-radius:12px;margin:15px 0}
.guide-language button{border:0;background:transparent;padding:9px 17px;border-radius:9px;font-weight:700;color:var(--ink)}
.guide-language button[aria-pressed="true"]{background:#fff;box-shadow:0 2px 9px #172f281c;color:var(--forest)}
.guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px;margin:16px 0 25px}
.guide-card{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:21px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;box-shadow:var(--shadow)}
.guide-card h2{margin:0;font-size:1.125rem;line-height:1.25}.guide-card p{margin:0 0 8px;color:var(--muted);line-height:1.55;flex:1}
.guide-number{font-weight:800;font-size:0.75rem;letter-spacing:.08em;color:var(--forest)}
.guide-upcoming{font-size:0.75rem;font-weight:700;color:var(--orange);background:#fff4e8;padding:7px 10px;border-radius:8px}
@media(max-width:600px){.guide-grid{grid-template-columns:1fr}.guide-card{padding:17px}}

.app-language{display:flex;gap:3px;background:#e6efec;border-radius:10px;padding:3px;flex-shrink:0}
.app-language button{border:0;background:transparent;color:#29463f;padding:7px 9px;border-radius:7px;font-size:0.75rem;font-weight:800}
.app-language button[aria-pressed="true"]{background:#fff;color:#17684f;box-shadow:0 1px 5px #102b2520}
@media(max-width:520px){.app-language button{padding:6px 7px}.top-actions .beta-pill{display:none}}


/* Paycheque what-if panel, independent of saved hours */
.pay-preview{margin:20px 0;border:2px solid #328c9b;background:#f0f9fb;overflow:hidden}.pay-preview>summary{cursor:pointer;display:flex;flex-direction:column;gap:5px;padding:19px;list-style:none}.pay-preview>summary::-webkit-details-marker{display:none}.pay-preview>summary strong{font-size:clamp(17px,2.5vw,23px);color:#124b62}.pay-preview>summary span{font-size:13px;color:#466575}.pay-preview>summary:focus-visible{outline:3px solid #17778b;outline-offset:-3px}.pay-preview-body{padding:0 18px 18px}.pay-preview-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pay-preview-fields input,.pay-preview-fields select{width:100%;min-width:0}.pay-preview-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0}.pay-preview-results>div{display:flex;flex-direction:column;gap:8px;background:#e5f3ff;border-radius:12px;padding:13px;min-width:0}.pay-preview-results .pay-preview-net{background:#ddf5e8}.pay-preview-results span{font-size:12px;color:#38596b}.pay-preview-results b{font-size:clamp(20px,2.8vw,29px);color:#123f5c;overflow-wrap:anywhere}
@media(max-width:700px){.pay-preview-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pay-preview-results{grid-template-columns:1fr}.pay-preview-body{padding:0 12px 14px}}@media(max-width:390px){.pay-preview-fields{grid-template-columns:1fr}}
/* Money Coach: local calculations and optional, consented AI explanations. */
.coach-intro{background:#edf7f3;border-color:#91bfa9}.coach-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.coach-fields label{display:flex;flex-direction:column;gap:8px;font-size:0.875rem;font-weight:600;min-width:0}.coach-fields input,.coach-fields select{width:100%;min-width:0;padding:12px;border:1px solid #9bb2bd;border-radius:10px;background:#fff;color:#16394d;font:inherit}.coach-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.coach-results .card{margin:0 0 18px}.coach-prompts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.coach-consent{display:flex;align-items:flex-start;gap:12px;margin:18px 0;line-height:1.6}.coach-consent input{flex:none;width:20px;height:20px;margin-top:3px}#mc-question-form{display:flex;flex-direction:column;gap:12px}#mc-question{width:100%;min-height:100px;resize:vertical;padding:14px;border:1px solid #91aba5;border-radius:12px;font:inherit}#mc-question-form button{align-self:flex-start}#mc-shared{max-height:320px;overflow:auto;padding:12px;background:#fff;border-radius:10px;font-size:0.75rem}.coach-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#mc-preview{max-width:100%;max-height:360px;object-fit:contain;margin:16px 0}#money-coach details{margin:18px 0}#money-coach summary{cursor:pointer;font-weight:650}#money-coach button:disabled{opacity:.6;cursor:wait}@media(max-width:800px){.coach-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.coach-fields,.coach-results{grid-template-columns:1fr}}
.coach-summary{margin:0 0 16px}.coach-summary>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #d8e5df;padding:8px 0}.coach-summary dt{flex:1}.coach-summary dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stub-photo{max-width:100%;max-height:440px;object-fit:contain}

/* Reality-check card: visible only when pay-period expenses have been recorded. */
.stat-card-living{border:2px solid #c43b3b;box-shadow:0 6px 24px rgba(164,35,35,.09)}
.stat-card-living .stat-label{color:#a62929}
.stat-card-living .stat-icon{background:#fff0f0;color:#a62929}
.stat-card-living .stat-value{color:#982323}
.stat-card-living .stat-hint{line-height:1.45}
/* Spacing previously set with inline style attributes, which the CSP blocks. */
.driver-comparison{margin-top:20px}
.work-costs{margin-top:16px;padding:18px}
