/* Composition and scale from the approved four-dashboard reference. */
body:has(.reference-shell){background:#f1f5fc}
.reference-shell.with-sidebar{grid-template-columns:208px minmax(0,1fr)}
.reference-shell .sidebar{padding:15px 9px;background:#1e1341;border-radius:0;box-shadow:none;overflow-y:auto}
.reference-shell .brand{display:flex;align-items:center;gap:8px;padding:0 12px 21px;margin:0;border:0;color:#fff}
.reference-shell .brand img{width:35px;height:38px;object-fit:contain}.reference-shell .brand strong{font-size:31px;letter-spacing:-1.3px;font-weight:650}
.reference-shell .nav{gap:4px}.reference-shell .nav button{padding:10px 11px;margin:0;min-height:39px;border-radius:5px;font-size:12px;font-weight:400;gap:11px;color:#fff}.reference-shell .nav button.active{background:#6638d1;box-shadow:inset 0 1px 0 #ffffff15}.reference-shell .nav .nav-icon,.reference-shell .nav svg{width:19px;height:19px;flex-shrink:0}
.reference-shell .topbar{min-height:58px;height:58px;padding:10px 18px;background:#ffffffeb;border-bottom:1px solid #dce3f0;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:12px;position:relative;z-index:20}
.ref-search{position:relative;display:flex;align-items:center;gap:8px;width:min(470px,55%);height:34px;border:1px solid #dce3f0;border-radius:5px;background:#f6f8fc;padding:0 11px}.ref-search>svg{width:16px;height:16px;flex-shrink:0}.reference-shell .ref-search input{min-height:0;height:30px;width:100%;padding:0;border:0;background:transparent;font-size:12px;outline:0}.ref-search-results{position:absolute;left:0;right:0;top:38px;box-shadow:0 8px 25px #1e134122;background:#fff;border:1px solid #dce3f0;border-radius:5px;padding:7px;z-index:40}.ref-search-results button{display:block;width:100%;text-align:left;background:white;border:0;padding:11px!important}
.ref-header-controls{display:flex;align-items:center;gap:19px}.reference-shell .header-calendar-toggle{border:0!important;padding:5px!important;background:transparent!important;font-size:12px;gap:7px}.reference-shell .header-calendar-toggle svg{width:17px;height:17px}.reference-shell .avatar{width:32px;height:32px;background:#6638d1;color:white;font-size:11px}.reference-shell .ref-bell{border:0;background:none;padding:3px}.ref-bell svg{width:21px;height:21px}.ref-profile-menu{position:relative}.ref-profile-options{position:absolute;right:0;top:41px;background:white;min-width:160px;border:1px solid #dce3f0;box-shadow:0 4px 12px #1e134118;border-radius:5px;padding:7px;z-index:50}.reference-shell .ref-profile-options button{display:block;text-align:left;width:100%;border:0;background:white;padding:10px;color:#1e1341}.ref-profile-options button:hover{background:#f4efff}
.reference-shell .content{padding:17px 18px;max-width:1800px;background:#f2f5fb;min-height:calc(100vh - 58px)}
.reference-shell .welcome{display:flex;margin:0 0 15px;padding:0;gap:12px}.reference-shell .welcome h1{font-size:22px;letter-spacing:-.6px;margin:0;font-weight:650;line-height:1.25}.reference-shell .welcome p{font-size:12px}
.reference-shell .card{border:1px solid #dfe5f0;border-radius:7px;box-shadow:none;padding:13px;background:#fff}.reference-shell .section-head{margin:0 0 9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.reference-shell .section-head h3,.reference-shell h3{font-size:14px;font-weight:650;letter-spacing:-.25px;margin:0}.reference-shell .section-head .eyebrow{display:none}
.reference-shell .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 15px}.reference-shell .stats.ref-secretary-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.reference-shell[data-view-role=staff] .ref-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.reference-shell .stat{display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:78px;padding:12px 16px;text-align:left}.reference-shell .stat>.icon{order:-1;background:none;padding:0;width:28px;height:28px;flex:0 0 28px;color:#6638d1}.reference-shell .stat .label{font-size:11px;font-weight:400;color:#413966;line-height:1.3}.reference-shell .stat .value{font-size:23px;font-weight:650;letter-spacing:-.5px;line-height:1.15;margin:5px 0 0;white-space:nowrap}.reference-shell .stats .delta{display:none}.ref-metric-icon{width:30px;height:30px;flex-shrink:0;color:#6638d1}.ref-metric-icon svg{width:27px;height:27px}.ref-metric.green .ref-metric-icon{color:#0d913e}.ref-metric.blue .ref-metric-icon{color:#2448fb}.ref-metric.orange .ref-metric-icon{color:#fa8800}.ref-metric.red .ref-metric-icon{color:#ef2727}
.reference-shell .ref-grid{display:grid;gap:13px;margin-bottom:13px;align-items:stretch}.ref-admin-grid{grid-template-columns:minmax(0,1.85fr) minmax(225px,1fr)}.ref-manager-grid{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}.ref-staff-grid{grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr)}.ref-equal{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-shell .ref-panel{margin-bottom:13px;min-width:0}.ref-grid .ref-panel{margin-bottom:0}
.reference-shell table{width:100%;border-collapse:collapse}.reference-shell th{font-size:10px;letter-spacing:0;text-transform:none;color:#211640;font-weight:550;background:#f2f5fb;padding:9px 8px;border:0;white-space:nowrap}.reference-shell td{font-size:11px;padding:9px 8px;border-bottom:1px solid #edf0f7;color:#20153f;line-height:1.45}.reference-shell tbody tr:last-child td{border-bottom:0}.reference-shell td button{margin:0 4px 0 0;font-size:10px}.reference-shell td:first-child button{border:0;background:transparent;padding:0!important;text-align:left;color:#1e1341;font-size:11px;font-weight:400;box-shadow:none}.reference-shell td select{font-size:10px;min-height:27px;height:27px;padding:3px 6px;border-radius:4px;max-width:150px}.reference-shell td button.primary{background:#6638d1;color:white}
.reference-shell button{border-radius:5px;font-weight:500;font-size:11px;padding:8px 11px;line-height:1.2}.reference-shell .primary{box-shadow:0 2px 5px #6638d11c}.reference-shell .secondary{border-color:#d8dff0;background:#fbfcff}.reference-shell .badge{font-size:10px;padding:4px 8px;border-radius:4px;white-space:nowrap}.reference-shell .badge.pending{background:#fff1d4;color:#9c5100}.reference-shell .badge.delivered{background:#ddf9e8;color:#13733c}.reference-shell .delivery-status.pending{color:#a05200;border:1px solid #f1dcaf;background:#fff3dc}.reference-shell .delivery-status.delivered{color:#126d37;background:#e2f8eb;border:1px solid #bddfca}
.ref-attention{display:grid;gap:0}.reference-shell .ref-attention button{width:100%;padding:12px 7px;display:flex;justify-content:space-between;border:0;border-bottom:1px solid #e8edf6;border-radius:0;text-align:left;background:white}.ref-attention button:after{content:'›';font-size:16px}.ref-attention button:first-child{color:#b52c39}
.ref-gallery-strip{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:18px}#ref-gallery-covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.reference-shell .ref-gallery-cover{border:0;padding:0;background:#f3f5fa;position:relative;overflow:hidden;height:155px;text-align:left}.ref-gallery-cover img{width:100%;height:100%;object-fit:cover}.ref-gallery-cover>span{display:grid;place-items:center;height:100%;color:#8a74b4}.ref-gallery-cover svg{width:28px;height:28px}.ref-gallery-cover small{position:absolute;bottom:0;left:0;right:0;padding:7px 9px;background:#1e1341b5;color:white;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ref-gallery-actions{display:flex;flex-direction:column;gap:9px;justify-content:center}.ref-gallery-actions button{text-align:left!important;min-height:35px}
.reference-shell .ref-recent,.reference-shell .ref-extras,.reference-shell .ref-expected,.reference-shell .dashboard-events{margin:0 0 12px;padding:10px 13px}.reference-shell summary{font-size:12px;font-weight:550;padding:1px 0}.ref-extras[open]>:not(summary){margin-top:12px}.reference-shell .ref-recent summary,.reference-shell .ref-extras summary{list-style:none;display:flex;justify-content:space-between}.ref-recent summary:after,.ref-extras summary:after{content:'⌄'}
.reference-shell .ref-initial{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:5px;background:#6638d1;color:white;border-radius:50%;font-size:8px}.reference-shell .reference-empty{font-size:12px;color:#756b8a;padding:16px 6px;font-weight:400}.reference-shell #ref-upload-state{font-size:12px}.reference-shell progress{width:100%;height:9px;accent-color:#6638d1;margin:12px 0 0}.reference-shell #ref-upload-state p{color:#6b6283;font-size:11px}
.reference-shell .ref-registration{margin:0 0 13px;border:0;background:transparent;border-radius:0}.reference-shell .ref-registration>.register-toggle{display:none}.reference-shell .ref-registration .register-body{padding:0;display:block}.reference-shell .ref-registration .form-card{margin:0;padding:13px}.reference-shell .ref-registration .section-head p,.reference-shell .ref-registration .mini-icon{display:none}.reference-shell .ref-registration .form-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 13px}.reference-shell .ref-registration .field{margin:0;min-width:0}.reference-shell .ref-registration .field.full{grid-column:auto}.reference-shell .ref-registration .split-box{grid-column:span 2!important;border:0;background:none;padding:0}.reference-shell .ref-registration .split-box>label{display:none}.reference-shell .ref-registration .split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.reference-shell .ref-registration label{font-size:10px;margin:0 0 5px;display:block;color:#32254f;font-weight:400}.reference-shell .ref-registration input,.reference-shell .ref-registration select{min-height:33px;height:33px;padding:6px 8px;font-size:11px;border:1px solid #d5deee;border-radius:4px;background:#fcfdff}.reference-shell .ref-registration .balance{min-height:33px;height:33px;background:#ecf0f7;border:1px solid #dfe5f0;border-radius:4px;padding:7px 8px;font-size:11px}.reference-shell .ref-registration .ref-save{align-self:end;display:flex;margin:0;justify-content:flex-end}.reference-shell .ref-registration .ref-save button{min-height:33px;width:100%}.reference-shell .ref-registration #booking-match{font-size:10px;margin:3px 0}.reference-shell .ref-registration #booking-match:empty{display:none}.reference-shell .ref-registration .hidden{display:none!important}
.reference-shell .team-app-tools{margin:0}.reference-shell .ref-profile-options .team-app-tools{display:block}.reference-shell .header-calendar-panel{right:0;left:auto;max-width:calc(100vw - 30px)}
@media(min-width:1200px){.reference-shell .ref-registration .field:has(#regName),.reference-shell .ref-registration .field:has(#regPhone),.reference-shell .ref-registration .field:has(#regShootDate),.reference-shell .ref-registration .field:has(#regPhotographer){grid-column:span 5}.reference-shell .ref-registration .form-grid{grid-template-columns:repeat(20,minmax(0,1fr))}.reference-shell .ref-registration .field{grid-column:span 4}.reference-shell .ref-registration .split-box{grid-column:span 8!important}.reference-shell .ref-registration .ref-save{grid-column:span 4}}
@media(max-width:1100px){.reference-shell.with-sidebar{grid-template-columns:178px minmax(0,1fr)}.reference-shell .nav button{font-size:11px;padding:9px 8px}.reference-shell .stat{padding:10px;gap:8px}.reference-shell .stat .value{font-size:20px}.reference-shell .ref-grid{grid-template-columns:1fr}.reference-shell .ref-registration .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-shell .stats.ref-secretary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.reference-shell.with-sidebar{display:block}.reference-shell .sidebar{width:210px}.reference-shell .topbar{height:55px;padding:8px 11px;gap:8px}.ref-search{width:auto;flex:1;min-width:0}.ref-header-controls{gap:9px}.reference-shell #personalDashboardDateLabel{display:none}.reference-shell .content{padding:15px 12px}.reference-shell .welcome h1{font-size:20px}.reference-shell .stats,.reference-shell .stats.ref-secretary-stats,.reference-shell[data-view-role=staff] .ref-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-shell .ref-registration .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-gallery-strip{grid-template-columns:1fr}.ref-gallery-actions{flex-direction:row;flex-wrap:wrap}.reference-shell .ref-gallery-cover{height:120px}.reference-shell .ref-registration .ref-save{grid-column:span 2}.reference-shell .stat .value{font-size:20px}.reference-shell .table-wrap{overflow-x:auto}.reference-shell .ref-profile-options{min-width:175px}.reference-shell .workstation-menu{padding:6px;min-height:32px}}

/* Override legacy global important declarations and fixed-width navigation labels. */
.reference-shell .card{border:1px solid #dfe5f0!important;border-radius:7px!important;box-shadow:none!important}
.reference-shell .brand{height:64px;padding-bottom:16px}
.reference-shell .nav button{border-radius:5px!important;white-space:nowrap}
.reference-shell .nav button>span:last-child{width:auto;min-width:0;flex:1}
.reference-shell .nav .nav-icon{margin:0}
.reference-shell .ref-metric-icon svg,.reference-shell .ref-search>svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.reference-shell .ref-registration .form-card{max-width:none;width:100%}
.reference-shell .ref-registration .field input,.reference-shell .ref-registration .field select{width:100%;min-width:0}
@media(min-width:1200px){.reference-shell .ref-registration .field.full:not(.split-box){grid-column:span 4}}

.target-achieved{--target-color:#15803d;--target-bg:#e4f7eb}.target-progress{--target-color:#b96500;--target-bg:#fff1db}.target-behind{--target-color:#c83232;--target-bg:#ffeded}.target-neutral{--target-color:#716c82;--target-bg:#f0f2f7}
.target-summary h3{color:var(--target-color)}.target-summary progress{accent-color:var(--target-color)}
.target-result{display:inline-block;padding:5px 9px;border-radius:4px;background:var(--target-bg);color:var(--target-color);font-weight:600}.target-row td:first-child{border-left:3px solid var(--target-color)}
.reference-shell .ref-panel table,.reference-shell #ref-workload table,.reference-shell .ref-recent table{min-width:0}
.reference-shell .ref-metric svg{color:inherit}
.reference-shell .ref-registration .ref-save{grid-column:1/-1;justify-self:end;width:160px}
.reference-shell .ref-secretary-stats .stat:nth-child(3) svg{color:#0d913e}.reference-shell .ref-secretary-stats .stat:nth-child(4) svg{color:#2448fb}
@media(max-width:760px){.reference-shell .ref-panel table{min-width:580px}.reference-shell #ref-workload table{min-width:280px}}

.ref-registration-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.reference-shell .ref-editing .ref-save{width:auto;gap:8px}.reference-shell .ref-editing .ref-save button{width:auto}.reference-shell .ref-editing{scroll-margin-top:15px}

.reference-shell .ref-registration>.register-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:13px;background:#fff;border:1px solid #dfe5f0;border-radius:7px!important;text-align:left;color:#1e1341}.reference-shell .ref-registration>.register-toggle small{display:none}.reference-shell .ref-registration>.register-toggle b{font-size:12px;font-weight:600}.reference-shell .ref-registration .register-plus{display:none}.reference-shell .ref-registration .chevron{margin-left:auto}.reference-shell .ref-registration .register-body:not(.hidden){margin-top:8px}
@media(min-width:1200px){.reference-shell .ref-registration .field:has(#regName),.reference-shell .ref-registration .field:has(#regPhone),.reference-shell .ref-registration .field:has(#regShootDate),.reference-shell .ref-registration .field:has(#regPhotographer){grid-column:span 4}}

.reference-shell .brand .original-platform-logo{width:155px;max-width:100%;height:48px;max-height:48px;object-fit:contain}
/* Original supplied mark, enlarged without changing the brand artwork. */
.reference-shell .brand{height:88px;padding:0 4px 12px}
.reference-shell .brand .original-platform-logo{width:180px;height:70px;max-height:70px;max-width:100%;object-fit:contain}
.reference-shell .target-summary .target-progress-bar{accent-color:var(--target-color)!important}
.reference-shell .target-summary .target-progress-bar::-webkit-progress-value{background:var(--target-color)}
.reference-shell .target-summary .target-progress-bar::-moz-progress-bar{background:var(--target-color)}
.target-days,.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:15px 0}.reference-shell .target-day{border-top:4px solid var(--target-color)!important}.target-day-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.target-day-head b{font-size:14px}.target-day dl{margin:18px 0}.target-day dl>div{display:flex;justify-content:space-between;gap:8px;margin:11px 0;font-size:13px}.target-day dd{margin:0;font-weight:650}.target-day dt{color:#756d85}.health-metric{display:flex;flex-direction:column;gap:10px}.health-metric strong{font-size:26px}.health-metric small{color:#756d85}.health-result h2{font-size:34px;margin:12px 0}.positive{color:#15803d}.negative{color:#c83232}.neutral{color:#716c82}.reference-shell .health-result.positive{border-left:5px solid #15803d!important}.reference-shell .health-result.negative{border-left:5px solid #c83232!important}
@media(max-width:1100px){.target-days,.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.target-days,.health-grid{grid-template-columns:1fr}}
.health-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}@media(max-width:760px){.health-grid{grid-template-columns:1fr}}

/* V36.28: auditable daily collection records. */
.target-payment-records{margin:12px 0 14px;border-top:1px solid #e8edf6;padding-top:10px}
.target-payment-records summary{cursor:pointer;color:#4f426d;font-size:11px;font-weight:650}
.target-record-list{display:grid;gap:7px;margin-top:9px}
.target-record-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 9px;border:1px solid #e8edf6;border-radius:5px;background:#fafbfe}
.target-record-row>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.target-record-row b{font-size:11px;overflow-wrap:anywhere}
.target-record-row small{font-size:9px;color:#756d85;line-height:1.35}
.target-record-row strong{font-size:11px;white-space:nowrap;color:#15803d}
.target-record-row strong.negative{color:#c83232}
.target-record-empty{margin:9px 0 0;color:#81778f;font-size:10px}
.target-stat-detail{display:block;margin-top:3px;color:#756d85;font-size:9px;line-height:1.3}
.health-primary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.health-primary-grid .health-metric{min-height:145px}.today-collection-card{display:flex;align-items:center;justify-content:space-between;gap:28px}.today-collection-card>div{display:flex;flex-direction:column;gap:8px}.today-collection-card strong{font-size:30px}.today-collection-card small{color:#756d85}.today-collection-card progress{width:min(420px,48%);height:14px}.health-details>summary{cursor:pointer;font-weight:700;font-size:15px}.health-details[open]>summary{margin-bottom:18px}@media(max-width:1050px){.health-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.health-primary-grid{grid-template-columns:1fr}.today-collection-card{align-items:stretch;flex-direction:column}.today-collection-card progress{width:100%}}

/* V36.31: working-day editing schedule for Sunday client deliveries. */
.editing-plan{margin-top:10px;padding:10px 11px;border:1px solid #e4def1;border-radius:6px;background:#faf8ff;color:#24183f}
.editing-plan-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.editing-plan-heading b{font-size:11px;font-weight:700}.editing-plan-heading span{font-size:9px;color:#756d85;text-align:right;line-height:1.4}
.editing-batches{display:flex;flex-wrap:wrap;gap:7px}.editing-batch{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:9px;row-gap:2px;align-items:center;min-width:190px;padding:8px 9px;border:1px solid #e4def1;border-left:3px solid #b46a00;border-radius:5px;background:#fff}
.editing-batch b{font-size:10px}.editing-batch span{font-size:10px;color:#514664}.editing-batch em{grid-column:2;grid-row:1/3;font-style:normal;font-size:9px;font-weight:700;color:#a55d00}.editing-batch .text-action{grid-column:1/-1;justify-self:start;margin-top:3px;padding:0!important;border:0!important;background:transparent!important;color:#6235c8!important;font-size:9px!important}
.editing-batch.delivered{border-left-color:#15803d;background:#f7fff9}.editing-batch.delivered em{color:#15803d}
.editing-plan-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:10px;font-weight:650}.editing-plan-mode select{min-width:min(100%,360px);min-height:31px;height:31px;padding:4px 8px;font-size:10px}
.editing-plan-warning{margin:7px 0 0;padding:8px 9px;border-left:3px solid #c83232;background:#fff0f0;color:#942121;font-size:10px;line-height:1.45}.editing-plan-fixed{display:block;margin-top:7px;font-size:10px;color:#756d85}
.editing-plan-compact{margin-top:8px;padding:8px}.editing-plan-compact .editing-plan-heading{margin-bottom:6px}.editing-plan-compact .editing-batch{min-width:165px;padding:6px 7px}
.editing-plan-preview{grid-column:1/-1;margin:0;padding:9px 11px;border:1px solid #e4def1;border-left:3px solid #6638d1;border-radius:5px;background:#faf8ff;font-size:10px;line-height:1.5;color:#4f426d}.editing-plan-preview b{color:#24183f}
@media(max-width:760px){.editing-plan-heading,.editing-plan-mode{align-items:stretch;flex-direction:column}.editing-plan-heading span{text-align:left}.editing-plan-mode select{width:100%;min-width:0}.editing-batch{width:100%;min-width:0}}

/* V36.32: finance is separated into period cash flow, current position and actual savings. */
.finance-overview-section{margin:22px 0 26px}
.finance-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 2px 10px}
.finance-section-heading h2{margin:4px 0 0;font-size:20px;color:#211936}
.finance-section-heading>small{max-width:520px;color:#756d85;text-align:right;line-height:1.45}
.health-cashflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.health-position-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.health-savings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.health-cashflow-grid .health-metric,.health-position-grid .health-metric,.health-savings-grid .health-metric{min-height:118px;justify-content:flex-start}
.health-metric strong.health-unset{font-size:21px;color:#716c82}
.finance-position-note{margin:2px 2px 0}
.today-collection-compact{min-height:0;padding:15px 18px;margin:4px 0 24px}
.today-collection-compact>div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:18px;row-gap:3px}
.today-collection-compact>div span{font-weight:700;color:#2b2143}
.today-collection-compact>div strong{font-size:24px}
.today-collection-compact>div small{grid-column:1/-1}
.today-collection-compact progress{height:10px}
.health-update-details{margin-top:8px}
.finance-position-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}
.finance-position-form label{display:flex;flex-direction:column;gap:7px;color:#6f6680;font-size:11px;font-weight:650}
.finance-position-form input{width:100%}
.finance-position-form button{min-height:42px;white-space:nowrap}
.finance-warning{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:5px;align-items:center;border-left:4px solid #b46a00!important}
.finance-warning b,.finance-warning span{grid-column:1}
.finance-warning span{color:#756d85;font-size:11px;line-height:1.5}
.finance-warning button{grid-column:2;grid-row:1/3}
@media(max-width:1180px){.health-position-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-position-form{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-position-form button{width:max-content}}
@media(max-width:820px){.health-cashflow-grid,.health-position-grid,.health-savings-grid,.finance-position-form{grid-template-columns:1fr}.finance-section-heading{align-items:flex-start;flex-direction:column;gap:6px}.finance-section-heading>small{text-align:left}.today-collection-compact{align-items:stretch;flex-direction:column}.today-collection-compact progress{width:100%}.finance-warning{grid-template-columns:1fr}.finance-warning button{grid-column:1;grid-row:auto;width:max-content}}
/* V36.33 finance clarity */
.health-position-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cash-formula-list{display:grid;gap:10px;margin-top:16px}.cash-formula-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #ece8f2}.cash-formula-list>div:last-child{border-bottom:0}.cash-formula-list span{color:#756d85}.cash-formula-list strong{white-space:nowrap}.cash-formula-total{font-size:15px;font-weight:700;color:#211936}.cash-formula-total span{color:#211936}
.finance-position-form-v33{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.savings-transfer-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
.savings-transfer-list{margin-top:18px;border-top:1px solid #ece8f2;padding-top:16px}.savings-transfer-list h3{margin:0 0 10px}.savings-transfer-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #f0edf5}.savings-transfer-row>div{display:flex;flex-direction:column;gap:3px}.savings-transfer-row small{color:#756d85;font-size:10px}.savings-transfer-row strong{white-space:nowrap}
.finance-warning-compact{margin:14px 0 0}.target-context-note{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px;border-left:4px solid #6638d1!important}.target-context-note b{white-space:nowrap}.target-context-note span{color:#756d85;line-height:1.45}.target-summary-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:1180px){.finance-position-form-v33{grid-template-columns:repeat(2,minmax(0,1fr))}.savings-transfer-form{grid-template-columns:repeat(2,minmax(0,1fr))}.health-position-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.finance-position-form-v33,.savings-transfer-form,.health-position-grid-three,.target-summary-stats{grid-template-columns:1fr!important}.target-context-note{flex-direction:column;gap:6px}}

/* V36.35: weekly savings due with manual actual-savings control. */
.savings-control-card{margin-top:16px}
.savings-control-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.savings-control-heading h3{margin:0 0 5px;font-size:16px;color:#211936}
.savings-control-heading p{margin:0;color:#756d85;font-size:11px;line-height:1.45}
.savings-control-heading>small{color:#756d85;text-align:right;line-height:1.45}
.savings-entry-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) minmax(155px,.8fr) minmax(220px,1.4fr) auto;gap:12px;align-items:end}
.savings-entry-form label,.savings-settings-form label{display:flex;flex-direction:column;gap:7px;color:#6f6680;font-size:11px;font-weight:650}
.savings-entry-form input,.savings-entry-form select,.savings-settings-form input{width:100%}
.savings-entry-form button,.savings-settings-form button{min-height:42px;white-space:nowrap}
.savings-entry-form .form-alert,.savings-settings-form .form-alert{grid-column:1/-1;margin:0;color:#c83232;font-size:11px}
.savings-week-list{display:grid;gap:0;margin-top:14px}
.savings-week-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #ece8f2}
.savings-week-row:last-child{border-bottom:0}
.savings-week-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.savings-week-row b{font-size:12px;color:#2b2143}
.savings-week-row small{font-size:10px;color:#756d85;line-height:1.4}
.savings-week-row strong{white-space:nowrap;color:#6638d1}
.savings-week-row.current{padding:12px;border:1px solid #ded2f2;border-left:4px solid #6638d1;border-radius:7px;background:#fbf9ff}
.savings-entry-actions{display:flex;align-items:flex-end;flex-direction:column;gap:4px}
.savings-entry-actions small{font-size:9px;color:#756d85}
.savings-entry-actions .text-action{padding:0!important;border:0!important;background:transparent!important;color:#6235c8!important;font-size:10px!important}
.savings-settings-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end;margin-top:18px;padding-top:16px;border-top:1px solid #ece8f2}
@media(max-width:1180px){.savings-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.savings-entry-form button{width:max-content}.savings-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.savings-settings-form button{width:max-content}}
@media(max-width:760px){.savings-control-heading,.savings-week-row{align-items:flex-start;flex-direction:column}.savings-control-heading>small{text-align:left}.savings-entry-form,.savings-settings-form{grid-template-columns:1fr}.savings-entry-form button,.savings-settings-form button{width:100%}.savings-entry-actions{align-items:flex-start}}
