.settlement-card{min-height:325px}.settlement-card .settlement-label{font-size:11px}.home-period-nav{display:grid;grid-template-columns:27px minmax(0,1fr) 27px;gap:3px;align-items:center;margin:9px 0 2px;flex-shrink:0}.settlement-card .home-period-nav button{width:27px;min-height:30px;height:30px;margin:0;padding:0;border:1px solid #dbe3ef;border-radius:8px;font-size:20px;font-weight:400;background:white;color:#657a98;touch-action:manipulation}.home-period-nav strong{text-align:center;font-size:10px;white-space:nowrap;color:#344a6c}.home-period-nav button:disabled{opacity:.25}.settlement-card .settlement-period-text{font-size:10px!important;white-space:nowrap}.settlement-workdays{font-size:11px;color:#71829a;margin:8px 0 0!important}.settlement-workdays strong{color:#344a6c;margin-left:5px}.settlement-card .settlement-page>strong{margin:10px 0 12px}.settlement-card .driver-result-total{margin:10px 0 12px}.settlement-change-badge{align-self:flex-start;font-size:10px;font-weight:700;background:#fff2f4;color:#a3455c;border-radius:6px;padding:4px 6px;margin-bottom:8px}.settlement-detail-summary{position:relative}.detail-workdays{font-size:14px;color:#65758a;position:absolute;right:20px;top:20px;text-align:right}.detail-workdays strong{display:block;font-size:25px;color:#2e466f;margin-top:6px}.settlement-change-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.settlement-change-head[hidden]{display:none}.settlement-change-head h2{margin:0;font-size:21px}.settlement-change-head button{flex-shrink:0;background:#2e466f;color:white;border:0;border-radius:10px;font-size:12px;min-height:38px;padding:10px 13px}.settlement-change-head button:disabled{opacity:.55}.settlement-change-direction{color:#7b8aa1;font-size:12px;line-height:1.7;margin:12px 0}.has-settlement-change{border-color:#e7adba;background:#fff6f7}.has-settlement-change .settlement-counts{gap:0;margin-top:15px}.has-settlement-change .settlement-counts dt,.has-settlement-change .settlement-counts dd{padding:16px 0;border-bottom:1px solid #efdee4;align-self:center}.has-settlement-change .settlement-counts dt{font-size:13px;color:#65758a}.has-settlement-change .settlement-counts dd{font-size:17px;display:flex;gap:6px;align-items:center;justify-content:flex-end;white-space:nowrap}.settlement-counts del{color:#9ca7b7;font-size:11px;font-weight:400}.settlement-change-arrow{color:#a8b2c1;font-size:12px;font-weight:400}.settlement-change-delta{font-size:11px;min-width:45px;text-align:right}.settlement-change-delta.positive{color:#416a9c}.settlement-change-delta.negative{color:#b34e65}.settlement-change-unread{animation:settlement-unread-pulse 1.8s ease-in-out infinite}@keyframes settlement-unread-pulse{0%,100%{background:#fff3f5;border-color:#e8b5c1}50%{background:#f8cdd2;border-color:#dc8f9d}}.settlement-calendar .changed:not(.selected){border-color:#d28b9e;background:#fff0f3}@media(max-width:350px){.settlement-card{padding:15px 10px;min-height:340px}.home-period-nav{grid-template-columns:24px minmax(0,1fr) 24px;gap:2px}.settlement-card .home-period-nav button{width:24px}.home-period-nav strong{font-size:9px}.has-settlement-change .settlement-counts dt{font-size:11px}.has-settlement-change .settlement-counts dd{font-size:15px;gap:4px}.settlement-counts del{font-size:10px}.settlement-change-delta{font-size:10px;min-width:39px}.settlement-change-head h2{font-size:19px}}.pc-app .settlement-change-unread .settlement-page{background:transparent}.pc-app .home-period-nav{max-width:260px;width:100%;align-self:center}.pc-app .home-period-nav strong{font-size:12px}

.has-settlement-change #detail-shift{flex:0 0 76px;min-width:0;width:76px;min-height:32px;margin:0;padding:6px 9px;border-radius:8px;background:#edf1f8;border-color:#e1e6ef;color:#526989;font-size:12px}.has-settlement-change .settlement-date-head h2{font-size:16px}.has-settlement-change #settlement-edit{font-size:12px;min-height:36px;padding:8px 12px;margin:10px 0 0;background:white;color:#526989}.has-settlement-change label[for=detail-shift][hidden]{display:none!important}
#settlement-open.settlement-change-unread{animation:settlement-unread-pulse 1.8s ease-in-out infinite;color:#913b50;border:1px solid #e8b5c1}
.has-settlement-change .settlement-counts dt,.has-settlement-change .settlement-counts dd{align-self:stretch;display:flex;align-items:center}
.settlement-shift-section{margin-top:24px}.settlement-shift-section+ .settlement-shift-section{border-top:1px solid #e7ebf2;padding-top:24px}.settlement-shift-section h3{display:flex;align-items:center;gap:8px;font-size:15px;color:#30466f;margin:0 0 18px}.settlement-shift-dot{width:7px;height:7px;background:#738fbd;border-radius:50%}#night-settlement .settlement-shift-dot{background:#7f78a6}.settlement-shift-section .settlement-counts{margin:0;gap:18px 10px;font-size:14px;align-items:center}.settlement-shift-section .settlement-counts dt{color:#65748a}.settlement-shift-section .settlement-counts dd{text-align:right;font-size:16px}.settlement-shift-section .settlement-counts .shift-subtotal{font-weight:700;color:#30466f}.settlement-day-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1f4f9;border-radius:12px;padding:16px 13px;margin:24px 0 19px;font-size:14px;font-weight:650;color:#30466f}.settlement-day-summary strong{font-size:23px}.settlement-report-entry{display:block;width:100%;text-align:center;padding:17px 12px;margin-top:22px;border:1px solid #e7c4cd;border-radius:14px;background:#fff5f6;color:#a53d51}.settlement-report-entry strong{display:block;font-size:15px;line-height:1.5}.settlement-report-entry span{display:block;font-size:11px;line-height:1.7;font-weight:400;color:#8c6370;margin-top:5px;word-break:keep-all}.settlement-shift-section.has-settlement-change{border:1px solid #e7adba;border-radius:12px;padding:16px 10px;margin-top:22px}.settlement-shift-section.has-settlement-change .settlement-counts{gap:0}.settlement-shift-section.has-settlement-change .settlement-counts dd{font-size:17px}.settlement-shift-section.has-settlement-change .settlement-counts dt{font-size:13px}@media(max-width:350px){.settlement-report-entry strong{font-size:14px}.settlement-shift-section.has-settlement-change .settlement-counts dd{font-size:15px}.settlement-shift-section.has-settlement-change .settlement-counts dt{font-size:11px}}
.home-summary .greeting{justify-content:flex-start;gap:8px;padding-top:18px;padding-bottom:0;align-self:start}.home-summary .greeting h1{margin:0}.home-summary .greeting .eyebrow,.home-summary .greeting>p:last-child{transform:none;margin:0}.home-settlement-metric{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:16px 0 18px;min-width:0}.home-settlement-metric>strong{font-size:28px;line-height:1.3;letter-spacing:-1px;color:#2e466f;min-width:0;overflow-wrap:anywhere}.home-settlement-metric .settlement-workdays{display:flex;flex-direction:column;gap:2px;align-items:flex-end;flex-shrink:0;margin:0!important;font-size:9px;white-space:nowrap}.home-settlement-metric .settlement-workdays strong{font-size:12px;margin:0}.settlement-card{min-height:270px}.settlement-card .home-period-nav{margin-top:0}.pc-app #home .home-settlement-metric>strong{font-size:38px}.pc-app #home .home-settlement-metric .settlement-workdays{font-size:12px}.pc-app #home .home-settlement-metric .settlement-workdays strong{font-size:16px}@media(max-width:350px){.settlement-card{min-height:285px}.home-settlement-metric>strong{font-size:24px}.home-settlement-metric .settlement-workdays{font-size:8px}.home-settlement-metric .settlement-workdays strong{font-size:11px}.home-summary .greeting{gap:8px;padding-top:12px}}
.settlement-card{min-height:325px}.home-settlement-metric{flex-shrink:0}.home-settlement-metric .driver-result-total{margin:0}.driver-result-view .home-settlement-metric{margin:10px 0 16px}@media(max-width:350px){.settlement-card{min-height:340px}}
.home-summary .home-info-tile{display:flex;align-items:center;gap:8px;align-self:stretch;min-height:56px;padding:11px 10px;margin-top:16px;border:1px solid #e1e6ef;border-radius:14px;background:white;color:#263955;font-size:14px;text-align:left;box-shadow:0 4px 14px #17243b03}.home-info-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:9px;background:#eaf1ff;color:#4d79ba}.home-info-chevron{margin-left:auto;font-size:23px;font-weight:400;color:#8b9bb2}.pc-app #home .home-info-tile{align-self:flex-start;min-width:170px;max-width:240px}@media(max-width:350px){.home-summary .home-info-tile{padding:10px 8px;font-size:13px;gap:6px}.home-info-icon{width:27px;height:27px}}
.settlement-card{min-height:300px}.driver-result-view .home-settlement-metric{margin:8px 0 10px}@media(max-width:350px){.settlement-card{min-height:300px}}
.home-summary .greeting #assignment{margin:0;font-size:19px;line-height:1.5;transform:none}
.home-summary .greeting{align-self:stretch}.home-summary .home-info-tile{position:relative;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;min-height:100px;padding:18px 16px;margin-top:16px;gap:12px;font-size:16px}.home-summary .home-info-icon{width:36px;height:36px;border-radius:11px}.home-summary .home-info-chevron{position:absolute;right:14px;top:50%;transform:translateY(-50%);margin:0}.settlement-card{min-height:270px}.home-settlement-metric{margin:12px 0 10px}.settlement-card .settlement-page>button{margin-top:12px}.settlement-card .driver-result-view #driver-open{margin-top:10px}.driver-result-view .home-settlement-metric{margin:6px 0 8px}.settlement-card dl{font-size:11px;gap:5px 4px;margin-bottom:6px}@media(max-width:350px){.settlement-card{min-height:270px}.home-summary .home-info-tile{padding:16px 12px;font-size:15px;gap:10px}}.pc-app #home .home-info-tile{flex:none}
.home-summary .home-info-tile{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}.home-info-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.home-info-copy strong{font-size:16px;line-height:1.5}.home-info-copy>span{font-size:11px;line-height:1.6;font-weight:400;color:#7b8797;word-break:keep-all}@media(max-width:350px){.home-summary .home-info-tile{gap:8px;padding:16px 10px}.home-summary .home-info-icon{width:30px;height:30px}.home-info-copy strong{font-size:15px}}
.mobile-main .settlement-card:has(>.settlement-dots[hidden]){min-height:0}
.mobile-main .home-summary:has(.settlement-dots[hidden]) .home-info-tile{min-height:76px;padding-top:12px;padding-bottom:12px}
.mobile-main .home-summary:has(.settlement-dots[hidden]) .home-info-tile{min-height:60px;padding-top:10px;padding-bottom:10px}.mobile-main .home-summary{margin-bottom:14px}

/* The searched name uses existing card padding; every summary keeps its rows. */
.mobile-main .settlement-page>.home-settlement-metric,.mobile-main .driver-result-view>.home-settlement-metric{flex:1 0 auto;align-items:flex-start}
.mobile-main .driver-result-view .home-settlement-metric{margin:12px 0 10px}.mobile-main .driver-result-view dl{margin-bottom:6px}.mobile-main .settlement-card .driver-result-view #driver-open{margin-top:12px;min-height:40px;padding:9px 5px;flex-shrink:0}
.mobile-main .settlement-card{position:relative}.mobile-main .settlement-card>#driver-search-back.driver-floating-name{position:absolute;top:0;left:50%;transform:translateX(-50%);display:none;align-items:center;justify-content:center;width:auto;max-width:calc(100% - 56px);height:21px;min-height:21px;margin:0;padding:0 4px;border:0;border-radius:0;background:transparent;color:#344a6c;font-size:11px;line-height:14px;box-shadow:none;z-index:1}.mobile-main .settlement-card:has(.driver-result-view:not([hidden])):has(.settlement-dots [data-scope=driver][aria-pressed=true])>#driver-search-back.driver-floating-name{display:flex}.driver-floating-name #driver-result-name{font-size:11px;line-height:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settlement-refresh-status{position:absolute;top:7px;right:14px;font-size:10px;color:#68758a;line-height:1.2;pointer-events:none}

/* Reserve one stable count area for single-shift and mixed-shift summaries. */
.settlement-card dl.home-summary-counts{min-height:55px;height:55px;flex-shrink:0;align-content:start;line-height:14px}.settlement-card dl.home-summary-counts.is-mixed{row-gap:1px;line-height:12px}.mobile-main .home-summary-counts.is-mixed{font-size:10px}@media(max-width:350px){.mobile-main .home-summary-counts.is-mixed{font-size:9px}}

.pc-app #home .settlement-page dl.home-summary-counts{min-height:68px;height:68px;line-height:14px;row-gap:2px}

@media(max-width:350px){.mobile-main .settlement-card dl.home-summary-counts{min-height:52px;height:52px}}

/* Enlarge the text inside its existing footprint; navigation and buttons stay fixed. */
.mobile-main .settlement-card dl.home-summary-counts{position:relative;top:-2px;font-size:12px;line-height:18px;row-gap:4px;column-gap:4px}
.mobile-main .home-summary-counts dd{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile-main .settlement-card dl.home-summary-counts[data-count-rows="4"]{top:-4px;line-height:16px;row-gap:2px}
.mobile-main .settlement-card dl.home-summary-counts[data-count-rows="2"]{top:3px;line-height:23px;row-gap:8px}
@media(max-width:350px){.mobile-main .settlement-card dl.home-summary-counts{font-size:10.5px}.mobile-main .home-summary-counts dd{font-size:11.5px}}

@media(max-width:350px){.mobile-main .settlement-card dl.home-summary-counts[data-count-rows="4"]{line-height:15px}}

/* Move the main count and workdays together without moving the detail rows. */
.mobile-main .settlement-card .home-settlement-metric{position:relative;top:-4px}

.settlement-charter-details{margin-top:20px;border-top:1px solid #e5e8ef;padding-top:16px}.settlement-charter-details[hidden]{display:none}.settlement-charter-details h3{font-size:15px;margin:0 0 12px}.settlement-charter-row{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere}.settlement-charter-row:last-child{border-bottom:0}.settlement-charter-row strong{font-size:14px}.settlement-charter-row span,.settlement-charter-row small{font-size:12px;color:#68778a;line-height:1.5}

/* Lv4+ only: redistribute existing padding without changing the tile footprint. */
.mobile-main .settlement-card.manager-summary{padding-top:30px;padding-bottom:6px}
@media(max-width:350px){.mobile-main .settlement-card.manager-summary{padding-top:27px;padding-bottom:3px}}
.mobile-main .settlement-card>.driver-floating-label{position:absolute;top:10px;left:50%;transform:translateX(-50%);max-width:calc(100% - 68px);margin:0;font-size:12px;line-height:18px;letter-spacing:0;font-weight:650;color:#344a6c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none}
.mobile-main .settlement-card>#driver-search-back.driver-result-close{position:absolute;top:4px;right:5px;width:26px;min-height:26px;height:26px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#8490a2;font-size:19px;line-height:1;display:none;z-index:1}
.mobile-main .settlement-card:has(.driver-result-view:not([hidden])):has(.settlement-dots [data-scope=driver][aria-pressed=true])>.driver-floating-label,
.mobile-main .settlement-card:has(.driver-result-view:not([hidden])):has(.settlement-dots [data-scope=driver][aria-pressed=true])>#driver-search-back.driver-result-close{display:flex;align-items:center;justify-content:center}
.pc-app #home .driver-result-head{position:relative;justify-content:center;padding:0 30px}
.pc-app #home #driver-search-back{position:absolute;right:0;top:0;font-size:22px}
#settlement-panel .settlement-bar{display:flex;justify-content:center;position:relative}
#settlement-panel #settlement-heading{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);width:100%;margin:0;text-align:center}

.settlement-date-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.settlement-charter-badge{font-size:12px;line-height:18px;font-weight:650;color:#ad4057;background:#fff0f3;border-radius:7px;padding:3px 8px}.settlement-charter-reference{margin:16px 0 8px;padding:16px 12px;border:1px solid #eed9df;border-radius:12px;background:#fff8fa}.settlement-charter-reference h3{font-size:14px;color:#52647b;margin:0 0 14px}.settlement-charter-reference .settlement-counts{display:grid;grid-template-columns:1fr auto;gap:12px;margin:0;font-size:14px}.settlement-charter-reference dd{margin:0;font-weight:650;color:#b2435c;text-align:right}.settlement-charter-reference s{text-decoration-thickness:1.5px}.settlement-charter-reference>div+div{border-top:1px solid #eed9df;padding-top:14px;margin-top:16px}.settlement-charter-reference>p{font-size:11px;line-height:1.7;color:#8a7480;margin:14px 0 0;word-break:keep-all}
