/* startup: rider-monthly-report.css */
#rider>.detail-card{order:5!important}
#rider>.rider-goal-settings{order:6!important}
#rider>.rider-monthly-report-settings{position:relative;order:7!important;overflow:hidden;background:linear-gradient(90deg,#fbfdff,#fff)!important}
#rider>.settlement-card-action{order:8!important}
#rider>.settlement-settings{order:9!important}
#rider>.bank-settings{order:10!important}
#rider>.notification-settings{order:11!important}
#rider>.inquiry-settings{order:12!important}

#rider .rider-monthly-report-settings:before{position:absolute;z-index:1;top:12px;left:0;width:3px;height:30px;border-radius:0 4px 4px 0;background:#3970cd;content:''}

#rider .rider-monthly-report-settings summary{min-height:58px!important;padding:13px 15px 13px 14px!important;list-style:none!important;-webkit-appearance:none!important}
#rider .rider-monthly-report-settings summary::marker{content:'';font-size:0}
#rider .rider-monthly-report-settings summary::-webkit-details-marker{display:none!important}
#rider .rider-monthly-report-settings summary>span{color:#304766!important;font-size:13px!important;font-weight:850!important}
#rider .rider-monthly-report-settings summary small{overflow:hidden;max-width:65%;color:#7487a2!important;text-overflow:ellipsis;white-space:nowrap}
#rider .rider-monthly-report-settings summary:after{background:#eff5ff!important;color:#3970cd!important}
#rider .rider-monthly-report-settings[open]{background:#fff!important}
#rider .rider-monthly-report-card{overflow:hidden!important;margin:7px!important;padding:0!important;border:1px solid #dce6f3!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 20px rgba(29,57,98,.05)!important}

.rider-monthly-report-heading{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:end;gap:18px;padding:20px 21px 17px;border-bottom:1px solid #e6edf5;background:linear-gradient(135deg,#fbfdff,#f1f6fd)}
.rider-monthly-report-heading>div{min-width:0}
.rider-monthly-report-kicker{display:block;color:#5277b8;font-size:9px;font-weight:900;letter-spacing:.14em}
.rider-monthly-report-heading h2{margin:5px 0 5px!important;color:#1d3558!important;font-size:20px!important;letter-spacing:-.045em!important}
.rider-monthly-report-heading p{margin:0!important;color:#7a899e!important;font-size:11px!important;line-height:1.5!important}
.rider-monthly-report-heading label{margin:0!important;color:#61748f!important;font-size:11px!important;font-weight:800!important}
.rider-monthly-report-heading select{min-height:42px;margin-top:7px!important;padding:9px 34px 9px 12px!important;border-color:#d6e2f0!important;border-radius:10px!important;background:#fff!important;color:#25466f!important;font-size:12px!important;font-weight:850!important}
.rider-monthly-report-content{padding:18px 20px 4px}

.rider-monthly-report-primary{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:10px}
.rider-monthly-report-primary article{min-width:0;padding:15px;border:1px solid #dfe8f3;border-radius:13px;background:#f9fbfe}
.rider-monthly-report-primary article.is-pay{border-color:#cfdef4;background:linear-gradient(140deg,#eef5ff,#f8fbff)}
.rider-monthly-report-primary span,.rider-monthly-report-primary small{display:block;color:#708199;font-size:10px;font-weight:750}
.rider-monthly-report-primary strong{display:block;overflow:hidden;margin:7px 0 6px;color:#1d385d;font-size:20px;font-weight:900;letter-spacing:-.05em;text-overflow:ellipsis;white-space:nowrap}
.rider-monthly-report-primary .is-pay strong{color:#245eaf;font-size:23px}
.rider-monthly-report-primary small{color:#8a98aa;font-size:9px}
.rider-monthly-report-primary.is-financial{grid-template-columns:repeat(4,minmax(0,1fr))}
.rider-monthly-report-primary.is-financial strong{overflow:visible;font-size:19px;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.rider-monthly-report-primary.is-financial .is-pay strong{font-size:20px}
.rider-monthly-financial-other{margin:10px 0 0;padding:10px 12px;border:1px solid #e1e8f1;border-radius:10px;background:#fbfcfe;color:#6a7e99;font-size:11px;line-height:1.6}
@media(max-width:760px){.rider-monthly-report-primary.is-financial{grid-template-columns:repeat(2,minmax(0,1fr))}.rider-monthly-report-primary.is-financial .is-pay{grid-column:auto;grid-row:auto;order:initial}.rider-monthly-report-primary.is-financial strong,.rider-monthly-report-primary.is-financial .is-pay strong{font-size:18px}}

.rider-monthly-report-section{margin-top:17px;padding-top:16px;border-top:1px solid #e7edf5}
.rider-monthly-report-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.rider-monthly-report-section-title b{color:#263f60;font-size:13px}
.rider-monthly-report-section-title span{color:#8a98aa;font-size:9px;font-weight:700;text-align:right}
.rider-monthly-platforms{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.rider-monthly-platform{position:relative;overflow:hidden;padding:14px 15px 13px;border:1px solid #dfe7f1;border-radius:12px;background:#fff}
.rider-monthly-platform:before{position:absolute;inset:0 auto 0 0;width:4px;content:'';background:#3c79d5}
.rider-monthly-platform.is-coupang:before{background:#7658bb}
.rider-monthly-platform span,.rider-monthly-platform small{display:block;color:#718198;font-size:10px;font-weight:800}
.rider-monthly-platform strong{display:block;margin:6px 0 5px;color:#1e395c;font-size:18px;letter-spacing:-.045em}
.rider-monthly-platform small{color:#8795a8;font-size:9px}

.rider-monthly-statuses{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rider-monthly-statuses article{padding:12px;border:1px solid #e1e8f1;border-radius:11px;background:#fbfcfe}
.rider-monthly-statuses span,.rider-monthly-statuses small{display:block;color:#718096;font-size:9px;font-weight:800}
.rider-monthly-statuses strong{display:block;overflow:hidden;margin:6px 0 4px;color:#264464;font-size:14px;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}
.rider-monthly-statuses .is-paid{border-color:#d4eade;background:#f7fcf9}
.rider-monthly-statuses .is-paid strong{color:#19764f}
.rider-monthly-statuses .is-held{border-color:#eeded9;background:#fffaf8}
.rider-monthly-statuses .is-held strong{color:#a85443}

.rider-monthly-insights{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:8px;margin-top:13px}
.rider-monthly-insights article{padding:12px 13px;border:1px solid #e1e8f1;border-radius:11px;background:#fff}
.rider-monthly-insights span{display:block;color:#8190a3;font-size:9px;font-weight:800}
.rider-monthly-insights strong{display:block;margin-top:5px;color:#304a6c;font-size:12px;line-height:1.4}
.rider-monthly-insights .monthly-tax-breakdown{display:block;margin-top:6px;color:#7d8da1;font-size:9px;line-height:1.65;font-weight:500;overflow-wrap:anywhere;white-space:normal}
.rider-monthly-insights .monthly-tax-breakdown b{font-weight:650;color:#61748f}
#rider .monthly-report-fold{min-width:0;margin-top:12px;padding:0 12px;border:1px solid #e0e8f2;border-radius:12px;background:#fbfcff}
#rider .monthly-report-fold>summary{min-height:0!important;padding:12px 0!important;color:#536c8d!important;font-size:11px!important;font-weight:800!important;line-height:1.6!important;cursor:pointer}
#rider .monthly-report-fold>summary:after{display:none!important}
#rider .monthly-report-fold>summary:focus-visible{outline:2px solid #a6c5ee;outline-offset:2px;border-radius:5px}
#rider .monthly-report-fold[open]{border-color:#cbdbee}
#rider .monthly-tax-detail{display:grid;min-width:0;gap:8px;padding-bottom:12px}
#rider .monthly-tax-detail>p{margin:0;color:#7c8da5;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
#rider .rider-monthly-mission>.monthly-tax-breakdown{display:block;grid-column:1/-1;margin:0;color:#7c8da5;font-size:9px;line-height:1.65;overflow-wrap:anywhere;white-space:normal}
#rider .monthly-tax-status{color:#986b27;font-size:11px;font-weight:750}

.rider-monthly-periods{display:grid;gap:7px}
.rider-monthly-period.is-overflow{display:none}
.rider-monthly-periods.is-expanded{max-height:420px;overflow-y:auto;padding-right:4px;scrollbar-color:#b8c8dc #eef3f8;scrollbar-width:thin}
.rider-monthly-periods.is-expanded .rider-monthly-period.is-overflow{display:grid}
.rider-monthly-period{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;padding:11px 12px;border:1px solid #e0e8f2;border-radius:11px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
.rider-monthly-period:hover{border-color:#b9cce4;background:#f8fbff}
.rider-monthly-period:focus-visible{outline:0;border-color:#7da6da;box-shadow:0 0 0 3px rgba(61,116,189,.16)}
.rider-monthly-period>span{display:flex;align-items:center;min-width:0;gap:8px}
.rider-monthly-period i{flex:0 0 auto;padding:4px 6px;border-radius:7px;background:#eaf2ff;color:#2d66bd;font-size:8px;font-style:normal;font-weight:900}
.rider-monthly-period i.is-coupang{background:#f0ecfb;color:#6c4eb0}
.rider-monthly-period b{overflow:hidden;color:#2c4567;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.rider-monthly-period em{color:#546b88;font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}
.rider-monthly-period small{padding:4px 6px;border-radius:999px;background:#edf3fd;color:#55749c;font-size:8px;font-weight:900;white-space:nowrap}
.rider-monthly-period small.is-paid{background:#e8f7ef;color:#217b55}
.rider-monthly-period small.is-held{background:#fff0ec;color:#aa5745}
.rider-monthly-period-toggle{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:39px;margin-top:9px;padding:9px 12px;border:1px solid #d7e2ef;border-radius:10px;background:#f6f9fd;color:#41658f;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.rider-monthly-period-toggle:hover{border-color:#b9cce4;background:#eef5fd}
.rider-monthly-period-toggle i{font-size:14px;font-style:normal;line-height:1;transition:transform .16s}
.rider-monthly-period-toggle[aria-expanded="true"] i{transform:rotate(180deg)}

.rider-monthly-report-actions{padding:13px 20px 0}
.rider-monthly-report-download{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:11px 16px;border:1px solid #c6d8ef;border-radius:11px;background:#f3f7fd;color:#28599d;font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.rider-monthly-report-download:hover{border-color:#9db9df;background:#eaf2fd}
.rider-monthly-report-download:disabled{cursor:default;opacity:.5}
.rider-monthly-report-actions+.message{min-height:17px;margin:9px 20px 0!important;font-size:11px!important}
.rider-monthly-report-note{margin:8px 20px 18px!important;color:#98a4b3!important;font-size:9px!important;line-height:1.5!important}
.rider-monthly-report-empty{display:grid;gap:5px;padding:22px;border:1px dashed #d6e1ef;border-radius:12px;background:#f9fbfe;text-align:center}
.rider-monthly-report-empty b{color:#536a87;font-size:12px}
.rider-monthly-report-empty span{color:#8a98aa;font-size:10px;line-height:1.5}
.rider-monthly-report-notice{display:grid;gap:6px;margin:13px 0;padding:12px 14px;border:1px solid #dce7f5;border-radius:11px;background:#f5f9ff;color:#627995;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.rider-monthly-report-notice b{color:#344e70;font-size:12px}
.rider-monthly-report-notice.is-error{border-color:#efd6cd;background:#fff8f4;color:#995443}
.rider-monthly-report-notice button{justify-self:start;min-height:36px;padding:7px 14px;border:1px solid #d4dfed;border-radius:9px;background:#fff;color:#315b91;font:inherit;font-weight:800;cursor:pointer}
.rider-monthly-operation-details,.rider-monthly-legacy-details{margin:12px 0;border:1px solid #e0e8f3;border-radius:11px;background:#fbfdff}
#rider .rider-monthly-report-settings .rider-monthly-operation-details>summary,#rider .rider-monthly-report-settings .rider-monthly-legacy-details>summary{min-height:42px!important;padding:11px 12px!important;color:#446182;font-size:11px;font-weight:800;cursor:pointer}
.rider-monthly-operation-list{max-height:320px;overflow:auto;padding:0 12px 8px;overscroll-behavior:contain}
.rider-monthly-operation-list p,.rider-monthly-operation-details>p,.rider-monthly-legacy-details>p{margin:0;padding:0 12px 12px;color:#7c8da2;font-size:10px;line-height:1.6}
.rider-monthly-operation{display:grid;grid-template-columns:100px 54px minmax(45px,1fr) minmax(80px,1fr);gap:8px;align-items:center;padding:10px 0;border-top:1px solid #e8edf5;color:#607895;font-size:10px}
.rider-monthly-operation b,.rider-monthly-operation strong{text-align:right;font-weight:800;color:#345171}
.rider-monthly-mission{margin-top:8px}
.rider-monthly-mission b{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.rider-monthly-mission-period{grid-column:1/-1;color:#8391a3;font-size:9px;line-height:1.5;overflow-wrap:anywhere}
.rider-monthly-report-paid-reference{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;align-items:center;padding:15px;border:1px solid #dbe6f3;border-radius:12px;background:#f8fbff}
.rider-monthly-report-paid-reference>span{color:#546d8b;font-size:11px;font-weight:800}
.rider-monthly-report-paid-reference>strong{color:#2e547e;font-size:19px;font-weight:900;overflow-wrap:anywhere}
.rider-monthly-report-paid-reference>small{grid-column:1/-1;color:#8a99ab;font-size:10px;line-height:1.5}
.rider-monthly-legacy-details>.rider-monthly-periods{max-height:360px;overflow:auto;padding:0 12px 12px;overscroll-behavior:contain}

/* Shared monthly evidence notices span both goal metrics on small screens too. */
#rider .rider-goal-progress>.rider-goal-empty{grid-column:1/-1;min-width:0;margin:0;color:#738297;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#rider .rider-goal-progress>[data-rider-goal-retry]{grid-column:1/-1;min-height:38px;margin:0;font-size:12px}

@media(max-width:620px){
  #rider .rider-monthly-report-settings summary small{max-width:58%}
  .rider-monthly-report-heading{grid-template-columns:1fr;gap:13px;padding:17px 16px 15px}
  .rider-monthly-report-heading h2{font-size:18px!important}
  .rider-monthly-report-content{padding:14px 14px 3px}
  .rider-monthly-report-section-title{align-items:flex-start;flex-direction:column;gap:5px}
  .rider-monthly-report-section-title span{text-align:left}
  .rider-monthly-report-primary{grid-template-columns:1fr 1fr}
  .rider-monthly-report-primary article.is-pay{grid-column:1/-1;grid-row:1}
  .rider-monthly-report-primary strong{font-size:18px}
  .rider-monthly-report-primary .is-pay strong{font-size:24px}
  .rider-monthly-platforms{grid-template-columns:1fr}
  .rider-monthly-statuses{grid-template-columns:1fr}
  .rider-monthly-statuses .is-scheduled.is-empty,.rider-monthly-statuses .is-held.is-empty{display:none}
  .rider-monthly-statuses article{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px}
  .rider-monthly-statuses strong{grid-row:1/3;grid-column:2;margin:0;font-size:15px;text-align:right}
  .rider-monthly-insights{grid-template-columns:1fr}
  .rider-monthly-period{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .rider-monthly-periods.is-expanded{max-height:385px}
  .rider-monthly-period>em{grid-column:1;font-size:9px}
  .rider-monthly-period>small{grid-row:1/3;grid-column:2}
  .rider-monthly-report-actions{padding:12px 14px 0}
  .rider-monthly-report-actions+.message{margin:8px 14px 0!important}
  .rider-monthly-report-note{margin:8px 14px 15px!important}
  .rider-monthly-operation{grid-template-columns:84px 40px minmax(34px,1fr) minmax(65px,1fr);gap:5px;font-size:9px}
  .rider-monthly-report-notice{padding:11px 12px;font-size:10px}
  .rider-monthly-report-paid-reference{grid-template-columns:1fr;gap:6px}
  .rider-monthly-report-paid-reference>strong{font-size:22px}
  .rider-monthly-mission-period{padding-top:2px}
}

/* Monthly report shell is static; nested report details and Baemin remain unchanged. */
@media screen {
  #rider .rider-monthly-report-settings > .rider-monthly-report-header {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 8px 14px; min-height: 54px; padding: 13px 17px; box-sizing: border-box;
    border-bottom: 1px solid #e8eef5; color: #263e59; background: #fff;
  }
  #rider .rider-monthly-report-settings > .rider-monthly-report-header > span {
    min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.5;
  }
  #rider .rider-monthly-report-settings > .rider-monthly-report-header > small {
    min-width: 0; max-width: 100%; margin-left: auto; color: #6b7f96;
    font-size: 13px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere;
  }
}


/* startup: rider-compact-workspace.css */
#rider>.notification-settings{order:-10!important}
#rider>.rider-detail-workspace{order:5!important}
#rider>.rider-performance-group{order:6!important}
#rider>.rider-account-group{order:7!important}

.login-card #login-message:empty{display:none}
#login .login-card .privacy-note{margin-top:17px!important}
.login-contact{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:13px 0 0;padding:13px 0 0;border-top:1px solid #e5ebf3;color:#8793a6;font-size:10px;line-height:1.4;text-align:center}
.login-contact span{color:#7c899b;font-weight:750}
.login-contact a{color:#4f6788;font-weight:800;text-decoration:none}
.login-contact a:hover,.login-contact a:focus-visible{color:#315d98;text-decoration:underline;text-underline-offset:3px}

.rider-feature-group{overflow:hidden;margin:0 0 14px;border:1px solid #d8e3f0;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(25,50,89,.055)}
.rider-feature-group-heading{position:relative;padding:17px 19px 15px;border-bottom:1px solid #e4ebf4;background:linear-gradient(135deg,#f8fbff,#f2f6fc)}
.rider-feature-group-heading span{display:block;color:#557bb9;font-size:8px;font-weight:900;letter-spacing:.16em}
.rider-account-group .rider-feature-group-heading span{color:#667d92}
.rider-feature-group-heading h2{margin:4px 0 3px;color:#203b5e;font-size:18px;letter-spacing:-.045em}
.rider-feature-group-heading p{margin:0;color:#7d8b9e;font-size:10px;line-height:1.45}
.rider-feature-list{display:grid;background:#fff}
.rider-feature-list>.rider-settings{position:relative;overflow:hidden;width:100%;margin:0!important;border:0!important;border-top:1px solid #e8eef5!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.rider-feature-list>.rider-settings:first-child{border-top:0!important}
.rider-feature-list>.rider-settings>summary{min-height:57px!important;padding-right:17px!important;padding-left:17px!important}
.rider-feature-list>.rider-settings:before{top:13px!important;height:29px!important}
.rider-feature-list>.rider-settings[open]{background:#fbfdff!important}
.rider-feature-list>.rider-settings[open]>summary{border-bottom:1px solid #e8eef5}

#rider>.rider-detail-workspace{overflow:hidden!important;margin-bottom:14px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,1.25fr)!important;gap:13px 20px!important;align-items:center!important;margin:0!important;padding:16px 20px 18px!important;border:0!important;border-top:1px solid #dfe8f2!important;border-radius:0!important;background:linear-gradient(135deg,#f9fbfe,#f2f7fd)!important;box-shadow:none!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-kicker{margin-bottom:3px!important;font-size:8px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded h2{font-size:15px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded p{margin-top:3px!important;font-size:10px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-actions{grid-template-columns:112px 1fr 1fr!important;gap:7px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-actions button,
#rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-type select{min-height:40px!important;font-size:11px!important}
#rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-message{grid-column:1/-1}

@media(min-width:621px){
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-actions{grid-template-columns:150px minmax(0,1fr) minmax(0,1fr)!important;align-items:end!important;padding-top:6px!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-type{display:grid!important;gap:7px!important;min-width:0!important;overflow:visible!important;color:#52657f!important;font-size:10px!important;font-weight:850!important;line-height:1.5!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-type select{min-width:150px!important;min-height:42px!important;padding-right:30px!important;padding-left:12px!important;font-size:11px!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-actions button{min-height:42px!important}
}

@media(max-width:620px){
  #login .login-card .privacy-note{margin-top:15px!important}
  .login-contact{gap:7px;margin-top:11px;padding-top:11px;font-size:9px}
  .rider-feature-group{margin-bottom:10px;border-radius:15px}
  .rider-feature-group-heading{padding:14px 16px 13px}
  .rider-feature-group-heading h2{font-size:16px}
  .rider-feature-group-heading p{font-size:9px}
  .rider-feature-list>.rider-settings>summary{min-height:54px!important;padding:11px 15px!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded{grid-template-columns:1fr!important;gap:10px!important;padding:14px 15px 16px!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded>div:first-child{display:block!important;margin:0!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded p{display:block!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-actions{grid-template-columns:1fr 1fr!important;margin-top:0!important}
  #rider>.rider-detail-workspace>.settlement-card-action--embedded .settlement-card-type{grid-column:1/-1!important}
}

@media(min-width:561px){
  .app-header #add-to-home-screen{display:none!important}
}


/* startup: rider-mobile-navigation.css */
/*
  2026-10-16 rider category navigation
  Shared categories with a desktop sidebar and mobile/tablet quick navigation.
  Settlement values, payment states and database writes remain unchanged.
*/

.rider-mobile-quick-nav {
  display: none;
}

.rider-workspace-shell {
  display: contents;
}

.rider-workspace-shell:has(> #rider[hidden]) {
  display: none !important;
}

.rider-desktop-sidebar {
  display: none;
}

#rider {
  scroll-margin-top: 100px;
}

/* Keep one category visible on every viewport, without moving rider children. */
#rider[data-rider-mobile-view="settlement"] > :is(.rider-performance-group, .rider-account-group, .rider-notices-section),
#rider[data-rider-mobile-view="monthly"] > :is(.page-heading, .retention-note, .rider-settlement-state, .stats, .rider-detail-workspace, .rider-account-group, .rider-notices-section),
#rider[data-rider-mobile-view="settings"] > :is(.page-heading, .retention-note, .rider-settlement-state, .stats, .rider-detail-workspace, .rider-performance-group, .rider-notices-section),
#rider[data-rider-mobile-view="notices"] > :is(.page-heading, .retention-note, .rider-settlement-state, .stats, .rider-detail-workspace, .rider-performance-group, .rider-account-group) {
  display: none !important;
}

.rider-detail-inquiry-actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.rider-detail-inquiry-actions[hidden] {
  display: none;
}

.rider-current-inquiry-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d9e4f2;
  border-radius: 11px;
  background: #f7faff;
  color: #213b60;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.rider-current-inquiry-button:hover {
  border-color: #b9cdec;
  background: #eef5ff;
  transform: translateY(-1px);
}

.rider-current-inquiry-button:disabled {
  cursor: default;
  opacity: .55;
  transform: none;
}

.rider-current-inquiry-button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.rider-current-inquiry-button strong {
  color: #1d3659;
  font-size: 12px;
  font-weight: 850;
}

.rider-current-inquiry-button small {
  color: #718197;
  font-size: 9px;
  font-weight: 650;
}

.rider-current-inquiry-icon {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #e8f1ff;
  color: #3569ba;
  font-size: 13px;
  font-weight: 900;
}

.rider-current-inquiry-arrow {
  color: #4c73ad;
  font-size: 16px;
  font-weight: 800;
}

#rider .inquiry-settings {
  scroll-margin-top: 88px;
}

@media (max-width: 959px) {
  #rider > .rider-mobile-quick-nav {
    position: sticky;
    z-index: 4;
    top: 70px;
    display: grid;
    order: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
    padding: 7px;
    scroll-margin-top: 72px;
    border: 1px solid #dce5f0;
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 22px rgba(27, 49, 82, .10);
    backdrop-filter: blur(12px);
  }

  .rider-mobile-quick-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 3px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #627188;
    font: inherit;
    cursor: pointer;
  }

  .rider-mobile-quick-item > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
    text-align: center;
  }

  .rider-mobile-quick-item b {
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rider-mobile-quick-item small {
    display: none;
  }

  .rider-mobile-quick-icon {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    background: #fff;
    color: #55708f;
    font-size: 12px;
    font-weight: 900;
  }

  .rider-mobile-quick-item.is-active {
    border-color: #cbdcf5;
    background: #eef5ff;
    color: #214f92;
  }

  .rider-mobile-quick-item.is-active .rider-mobile-quick-icon {
    border-color: #b9d0f4;
    background: #dceaff;
    color: #245fac;
  }

}

@media (max-width: 620px) {
  .rider-detail-inquiry-actions {
    padding: 12px 15px 14px;
  }

  .rider-current-inquiry-button {
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
  }

  .rider-current-inquiry-button > span:nth-child(2) {
    flex: 1 1 auto;
  }

  #rider .inquiry-settings {
    scroll-margin-top: 150px;
  }
}

@media (min-width: 621px) and (max-width: 959px) {
  #rider > .rider-mobile-quick-nav {
    top: 84px;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px;
  }

  .rider-mobile-quick-item {
    flex-direction: row;
    min-height: 62px;
    gap: 9px;
    padding: 9px 8px;
  }

  .rider-mobile-quick-item > span:last-child {
    text-align: left;
  }

  .rider-mobile-quick-item b {
    font-size: 12px;
  }

  .rider-mobile-quick-item small {
    display: block;
    color: #8291a7;
    font-size: 9px;
    line-height: 1.4;
  }

  #rider .rider-mobile-quick-item[data-rider-mobile-view="notices"] > span:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: start;
    gap: 2px 4px;
  }

  #rider .rider-mobile-quick-item[data-rider-mobile-view="notices"] small {
    grid-column: 1 / -1;
  }

  #rider .inquiry-settings {
    scroll-margin-top: 174px;
  }
}

@media (min-width: 960px) {
  body:has(#rider:not([hidden])) main {
    width: calc(100% - 48px);
    max-width: 1440px;
    padding: 28px 0 36px;
  }

  body:has(#rider:not([hidden])) .header-inner {
    width: calc(100% - 48px);
    max-width: 1440px;
    padding-inline: 0;
  }

  .rider-workspace-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    min-width: 0;
  }

  .rider-workspace-shell > #rider {
    min-width: 0;
    width: 100%;
    max-width: none !important;
    margin: 0;
  }

  .rider-desktop-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - 116px);
    max-height: calc(100dvh - 116px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce4ef;
    border-radius: 21px;
    background: linear-gradient(180deg, #fff 0%, #f8fafd 100%);
    box-shadow: 0 14px 32px rgba(24, 45, 76, .07);
  }

  .rider-sidebar-brand {
    flex: 0 0 auto;
    padding: 23px 22px 21px;
    border-bottom: 1px solid #e5ebf3;
    background: rgba(248, 250, 253, .82);
  }

  .rider-sidebar-brand > span,
  .rider-sidebar-brand strong,
  .rider-sidebar-brand small {
    display: block;
  }

  .rider-sidebar-brand > span {
    margin-bottom: 7px;
    color: #6d87ad;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
  }

  .rider-sidebar-brand strong {
    color: #182d49;
    font-size: 19px;
    font-weight: 850;
  }

  .rider-sidebar-brand small {
    margin-top: 5px;
    color: #8b98aa;
    font-size: 10px;
  }

  .rider-desktop-nav {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 21px 12px;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #b6c5d9 transparent;
  }

  .rider-desktop-nav::-webkit-scrollbar {
    width: 7px;
  }

  .rider-desktop-nav::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    background: #b6c5d9;
    background-clip: padding-box;
  }

  .rider-sidebar-label {
    padding: 0 11px 5px;
    color: #9aa6b7;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
  }

  .rider-desktop-item {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 65px;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #53657e;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .rider-desktop-item > span:last-child {
    display: grid;
    min-width: 0;
    gap: 4px;
  }

  .rider-desktop-item b {
    color: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.4;
  }

  .rider-desktop-item small {
    color: #8b98aa;
    font-size: 10px;
    line-height: 1.45;
  }

  .rider-desktop-item > .rider-mobile-quick-icon {
    display: grid;
    width: 35px;
    height: 39px;
    flex: 0 0 35px;
    place-items: center;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    background: #f0f4f9;
    color: #60799b;
    font-size: 17px;
    font-weight: 850;
  }

  .rider-desktop-item:hover {
    border-color: #e2e8f1;
    background: #f4f7fb;
    color: #263f63;
  }

  .rider-desktop-item.is-active {
    border-color: #cbdcf6;
    background: linear-gradient(105deg, #eef4ff, #e7f0ff);
    color: #2457a7;
    box-shadow: inset 3px 0 0 #3470d3, 0 5px 13px rgba(48, 99, 184, .07);
  }

  .rider-desktop-item.is-active > .rider-mobile-quick-icon {
    border-color: #c6d8f5;
    background: #dfeaff;
    color: #2b62ba;
  }

  .rider-desktop-item:focus-visible {
    outline: 3px solid #9abdf2;
    outline-offset: 2px;
  }

  .rider-sidebar-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 17px 22px;
    border-top: 1px solid #e5ebf3;
    background: rgba(248, 250, 253, .88);
  }

  .rider-sidebar-footer > i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #34b28e;
    box-shadow: 0 0 0 4px #e6f6ef;
  }

  .rider-sidebar-footer span,
  .rider-sidebar-footer b,
  .rider-sidebar-footer small {
    display: block;
  }

  .rider-sidebar-footer b {
    color: #52647d;
    font-size: 10px;
    font-weight: 750;
  }

  .rider-sidebar-footer small {
    margin-top: 3px;
    color: #8d99aa;
    font-size: 9px;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  #rider > .rider-detail-workspace > .settlement-card-action--embedded {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
}

@media (min-width: 960px) and (max-height: 480px) {
  .rider-sidebar-brand,
  .rider-sidebar-footer {
    display: none;
  }
}

@media print {
  .rider-workspace-shell {
    display: block;
  }

  .rider-desktop-sidebar,
  #rider > .rider-mobile-quick-nav {
    display: none !important;
  }

  body:has(#rider:not([hidden])) main,
  .rider-workspace-shell > #rider {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }
}

@media (max-width: 360px) {
  #rider > .rider-mobile-quick-nav {
    gap: 5px;
    padding: 6px;
  }

  .rider-mobile-quick-item {
    min-height: 61px;
    gap: 3px;
    padding-inline: 3px;
  }

  .rider-mobile-quick-item b {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rider-current-inquiry-button {
    transition: none;
  }
}

/* BEGIN rider settlement browser presentation. 2026-10-18
   View-only: existing records, amounts, exports and category routes are retained. */
#rider > .rider-settlement-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px 22px;
  align-items: start;
  min-width: 0;
  margin-bottom: 12px;
}
#rider .rider-period-browser {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #f8fbff;
  box-shadow: none;
}
#rider .rider-period-browser > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  color: #3d608c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
#rider .rider-period-browser > summary::-webkit-details-marker { display: none; }
#rider .rider-period-browser > summary::after {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin: 0 2px 3px auto;
  border-right: 2px solid #7289a7;
  border-bottom: 2px solid #7289a7;
  transform: rotate(45deg);
}
#rider .rider-period-browser[open] > summary { border-bottom: 1px solid #e3ebf5; }
#rider .rider-period-browser[open] > summary::after { margin-top: 5px; transform: rotate(225deg); }
#rider #rider-period-browser-title { flex: 0 0 auto; }
#rider .rider-period-browser-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 12px;
}
#rider .rider-period-browser-heading p {
  margin: 0;
  color: #203b5e;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: -.025em;
}
#rider .rider-period-browser-heading button {
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #dce5f0;
  border-radius: 9px;
  background: #f7faff;
  color: #365b88;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
#rider .rider-period-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0 12px 12px;
}
#rider .rider-period-filter-grid label,
#rider .rider-period-control > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: #526780;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}
#rider .rider-period-browser select,
#rider .rider-period-control > select {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0 !important;
  min-height: 44px !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 10px 30px 10px 12px !important;
  border: 1px solid #cedbeb;
  border-radius: 9px;
  background-color: #fff;
  color: #213c5f;
  font: inherit;
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
}
#rider .rider-period-control {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 0;
  gap: 6px;
  border: 0;
}
#rider .rider-period-control #rider-period-current {
  color: #536b88;
  font-size: 12px;
  line-height: 1.5;
}
#rider .rider-period-filter-summary {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #60758f;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#rider .rider-period-browser :is(button, select, summary):focus-visible,
#rider .rider-period-control > select:focus-visible {
  outline: 3px solid #91b6eb;
  outline-offset: 3px;
}
#rider .rider-period-browser :is(button, select):disabled {
  cursor: not-allowed;
  opacity: .65;
}
#rider .stats .pay-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center !important;
  gap: 8px 16px;
  min-height: 168px !important;
}
#rider .stats .pay-card #rider-pay-title { grid-column: 1; grid-row: 1; align-self: center; }
#rider .stats .pay-card #rider-pay {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 0 !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#rider .stats .pay-card > small { grid-column: 1; grid-row: 3; margin: 0 !important; }
#rider .stats .pay-card .pay-card-status {
  position: static !important;
  grid-column: 2;
  grid-row: 1 / 4;
  justify-self: end;
  align-self: center;
  min-height: 32px !important;
  padding: 0 11px !important;
  transform: none !important;
}
#rider .stats .pay-card #rider-payment-date {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 1px 0 0;
  color: #d8e8ff;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#rider .stats .pay-card #rider-payment-date[hidden] { display: none !important; }
#rider .stats .pay-card .pay-card-status strong { max-width: 110px; white-space: normal !important; line-height: 1.3 !important; }
#rider .detail-card > table th::before {
  content: none !important;
  display: none !important;
}
#rider #rider-detail .rider-detail-group > th {
  padding: 11px 14px !important;
  border-top: 1px solid #dce5ef !important;
  border-bottom: 1px solid #dce5ef !important;
  background: #edf3fa !important;
  color: #34577f !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.5;
  text-align: left;
  letter-spacing: -.015em;
}
#rider #rider-detail .rider-detail-group:first-child > th { border-top: 0 !important; }
#rider #rider-detail .rider-detail-subtotal > th,
#rider #rider-detail .rider-detail-subtotal > td {
  border-top: 1px solid #d3deec !important;
  border-bottom: 1px solid #d3deec !important;
  background: #f5f8fc !important;
  color: #1e3c60 !important;
  font-weight: 850 !important;
}
#rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th {
  padding-left: 28px !important;
  font-weight: 600 !important;
  line-height: 1.55;
}
#rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td { font-weight: 700 !important; }
#rider #rider-detail .rider-detail-subtotal > th,
#rider .detail-card > table tfoot th { padding-left: 14px !important; }
#rider #rider-detail tr:not(.rider-detail-group) > th { overflow-wrap: anywhere; }
#rider #rider-detail tr:not(.rider-detail-group) > td { font-variant-numeric: tabular-nums; }
@media (max-width: 959px) {
  #rider > .rider-settlement-heading { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 620px) {
  #rider .rider-period-browser { border-radius: 9px; }
  #rider .rider-period-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #rider .rider-period-filter-grid > label:last-child { grid-column: 1 / -1; }
  #rider .rider-period-browser select { font-size: 12px !important; }
  #rider .stats .pay-card { gap: 8px 10px; min-height: 156px !important; }
  #rider #rider-detail .rider-detail-group > th { padding: 10px 11px !important; }
  #rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th { padding-left: 23px !important; }
  #rider #rider-detail .rider-detail-subtotal > th,
  #rider .detail-card > table tfoot th { padding-left: 11px !important; }
}
@media (max-width: 360px) {
  #rider .stats .pay-card #rider-pay { font-size: 24px !important; }
}
/* END rider settlement browser presentation. */

/* BEGIN premium rider statement. 2026-10-18 */
#rider > .detail-card {
  border: 1px solid #e1e8f0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 16px 48px rgba(22, 43, 72, .06) !important;
}
#rider .detail-card .section-title {
  padding: 28px 30px 10px !important;
  border: 0 !important;
  background: #fff !important;
}
#rider .detail-card .section-title > div::before {
  color: #657890 !important;
  font-size: 9px;
  letter-spacing: .18em;
}
#rider .detail-card .section-title h2 {
  color: #172d48 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
}
#rider .detail-card .section-title p { color: #64768d !important; line-height: 1.7; }
#rider .detail-card > table {
  width: calc(100% - 60px) !important;
  margin: 0 30px 28px !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
#rider #rider-detail > tr,
#rider #rider-detail > tr:nth-child(even),
#rider #rider-detail > tr:hover {
  background: transparent !important;
  box-shadow: none !important;
}
#rider #rider-detail > tr > th,
#rider #rider-detail > tr > td {
  padding: 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
  vertical-align: middle;
}
#rider #rider-detail > tr > td { text-align: right !important; white-space: nowrap; }
#rider #rider-detail .rider-detail-group > th {
  padding: 24px 0 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #60738d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .025em;
}
#rider #rider-detail .rider-detail-group:first-child > th { padding-top: 14px !important; }
#rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th {
  padding-left: 8px !important;
  color: #485e78 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.6;
}
#rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td {
  color: #1b314e !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
}
#rider #rider-detail .rider-detail-subtotal > th,
#rider #rider-detail .rider-detail-subtotal > td {
  padding: 18px 0 8px !important;
  border: 0 !important;
  border-top: 1px solid #e2e8f0 !important;
  background: transparent !important;
  color: #18314e !important;
  font-weight: 800 !important;
}
#rider #rider-detail .rider-detail-subtotal > td { font-size: 18px !important; }
#rider #rider-detail > tr:last-child:not(.rider-detail-group) > th,
#rider #rider-detail > tr:last-child:not(.rider-detail-group) > td { padding-bottom: 26px !important; }
#rider .detail-card > table tfoot,
#rider .detail-card > table tfoot tr { border: 0 !important; background: transparent !important; }
#rider .detail-card > table tfoot th,
#rider .detail-card > table tfoot td {
  padding: 22px 20px !important;
  border: 0 !important;
  background: #172f4d !important;
  color: #fff !important;
}
#rider .detail-card > table tfoot th {
  border-radius: 17px 0 0 17px;
  color: #d7e1ef !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.5;
}
#rider .detail-card > table tfoot td { border-radius: 0 17px 17px 0; text-align: right !important; }
#rider .detail-card > table tfoot #rider-final {
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 850 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em !important;
}
@media (max-width: 620px) {
  #rider > .detail-card { border-radius: 20px !important; }
  #rider .detail-card .section-title { padding: 23px 18px 8px !important; }
  #rider .detail-card .section-title h2 { font-size: 20px !important; }
  #rider .detail-card > table { width: calc(100% - 36px) !important; margin: 0 18px 20px !important; }
  #rider #rider-detail .rider-detail-group > th { padding: 21px 0 8px !important; font-size: 11px !important; }
  #rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th { font-size: 13px !important; }
  #rider #rider-detail tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td { font-size: 14px !important; }
  #rider #rider-detail .rider-detail-subtotal > td { font-size: 16px !important; }
  #rider .detail-card > table tfoot tr { padding: 0 !important; align-items: stretch !important; }
  #rider .detail-card > table tfoot th,
  #rider .detail-card > table tfoot td { padding: 18px 15px !important; align-content: center; }
  #rider .detail-card > table tfoot #rider-final { font-size: 23px !important; }
}
@media print {
  #rider .detail-card > table tfoot th,
  #rider .detail-card > table tfoot td,
  #rider .detail-card > table tfoot #rider-final {
    border-top: 1px solid #b8c5d5 !important;
    background: #fff !important;
    color: #172f4d !important;
  }
}
/* END premium rider statement. */

/* BEGIN grouped rider statement surfaces. 2026-10-18 */
#rider .detail-card .section-title { padding: 24px 24px 18px !important; }
#rider .detail-card > table {
  display: block;
  width: calc(100% - 48px) !important;
  margin: 0 24px 24px !important;
}
#rider .detail-card > table > tbody,
#rider .detail-card > table > tfoot { display: block; width: 100%; }
#rider #rider-detail > tr,
#rider .detail-card > table tfoot > tr {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch !important;
  min-height: 0 !important;
  margin: 0 !important;
}
#rider #rider-detail > tr > th,
#rider #rider-detail > tr > td {
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
  align-content: center;
}
#rider #rider-detail > tr.rider-detail-group {
  margin-top: 14px !important;
  padding: 14px 18px 10px !important;
  border: 1px solid #dfe7f0 !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0;
  background: #f5f8fc !important;
}
#rider #rider-detail > .rider-detail-group:first-child { margin-top: 0 !important; }
#rider #rider-detail > .rider-detail-group > th {
  grid-column: 1 / -1;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #e2e9f2 !important;
  color: #294765 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -.015em;
}
#rider #rider-detail > .rider-detail-group:first-child > th { padding-top: 0 !important; }
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) {
  padding: 9px 18px !important;
  border: 1px solid #dfe7f0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #f5f8fc !important;
  gap: 16px;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th,
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td { padding: 0 !important; }
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th {
  padding-left: 0 !important;
  color: #465d77 !important;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-group),
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-subtotal),
#rider #rider-detail > tr:last-child:not(.rider-detail-group):not(.rider-detail-subtotal) {
  padding-bottom: 16px !important;
  border-bottom: 1px solid #dfe7f0 !important;
  border-radius: 0 0 14px 14px;
}
#rider #rider-detail > tr.rider-detail-subtotal {
  margin-top: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid #d5e0ee !important;
  border-radius: 12px;
  background: #eaf0f8 !important;
  gap: 16px;
}
#rider #rider-detail > .rider-detail-subtotal > th,
#rider #rider-detail > .rider-detail-subtotal > td {
  padding: 0 !important;
  border: 0 !important;
}
#rider .detail-card > table > tfoot { margin-top: 16px; }
#rider .detail-card > table tfoot > tr { padding: 0 !important; }
#rider .detail-card > table tfoot th,
#rider .detail-card > table tfoot td { width: auto !important; min-width: 0; align-content: center; }
@media (max-width: 620px) {
  #rider .detail-card .section-title { padding: 22px 16px 16px !important; }
  #rider .detail-card > table { width: calc(100% - 32px) !important; margin: 0 16px 20px !important; }
  #rider #rider-detail > tr.rider-detail-group { padding: 13px 13px 8px !important; margin-top: 12px !important; }
  #rider #rider-detail > .rider-detail-group > th { font-size: 12px !important; padding-bottom: 9px !important; }
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) { padding: 9px 13px !important; gap: 10px; }
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-group),
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-subtotal),
  #rider #rider-detail > tr:last-child:not(.rider-detail-group):not(.rider-detail-subtotal) { padding-bottom: 14px !important; }
  #rider #rider-detail > tr.rider-detail-subtotal { padding: 14px 13px !important; gap: 10px; }
  #rider #rider-detail > .rider-detail-group:first-child { margin-top: 0 !important; }
}
@media print {
  #rider #rider-detail > tr,
  #rider #rider-detail > tr.rider-detail-group,
  #rider #rider-detail > tr.rider-detail-subtotal,
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) { background: #fff !important; }
}
/* END grouped rider statement surfaces. */

/* BEGIN cohesive rider statement. 2026-10-18 */
/* One statement surface; saved rows and amounts are never hidden or reordered. */
#rider > .detail-card {
  border-color: #e0e6ee !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(27, 48, 75, .045) !important;
}
#rider .detail-card .section-title {
  padding: 24px 26px 18px !important;
}
#rider .detail-card .section-title > div::before {
  color: #657890 !important;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .12em;
}
#rider .detail-card .section-title h2 {
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
}
#rider .detail-card > table {
  width: calc(100% - 52px) !important;
  margin: 0 26px 24px !important;
}
#rider #rider-detail > tr.rider-detail-group {
  margin-top: 18px !important;
  padding: 16px 0 8px !important;
  border: 0 !important;
  border-top: 1px solid #e8edf3 !important;
  border-radius: 0;
  background: transparent !important;
}
#rider #rider-detail > .rider-detail-group:first-child {
  margin-top: 0 !important;
  padding-top: 4px !important;
  border-top: 0 !important;
}
#rider #rider-detail > .rider-detail-group > th {
  padding: 0 0 4px !important;
  border: 0 !important;
  color: #64758b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: -.015em;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) {
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  gap: 18px;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th,
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td {
  padding: 0 !important;
  line-height: 1.55;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th {
  color: #53657b !important;
  font-size: 14px !important;
  font-weight: 450 !important;
  letter-spacing: -.015em;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td {
  max-width: min(48vw, 280px);
  color: #213852 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-group),
#rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal):has(+ .rider-detail-subtotal),
#rider #rider-detail > tr:last-child:not(.rider-detail-group):not(.rider-detail-subtotal) {
  padding-bottom: 8px !important;
  border: 0 !important;
  border-radius: 0;
}
#rider #rider-detail > tr.rider-detail-subtotal {
  margin-top: 10px !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-top: 1px solid #dce5ef !important;
  border-bottom: 1px solid #dce5ef !important;
  border-radius: 0;
  background: transparent !important;
  gap: 18px;
}
#rider #rider-detail > .rider-detail-subtotal > th {
  color: #263f5d !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
#rider #rider-detail > .rider-detail-subtotal > td {
  color: #1b3554 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}
#rider #rider-detail > .rider-detail-subtotal + tr.rider-detail-group {
  margin-top: 8px !important;
  padding-top: 12px !important;
  border-top: 0 !important;
}
#rider .detail-card > table > tfoot {
  margin-top: 18px;
}
#rider .detail-card > table tfoot th,
#rider .detail-card > table tfoot td {
  padding: 18px 18px !important;
  background: #1b3554 !important;
}
#rider .detail-card > table tfoot th {
  border-radius: 12px 0 0 12px;
  color: #e0e9f4 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
#rider .detail-card > table tfoot td {
  border-radius: 0 12px 12px 0;
}
#rider .detail-card > table tfoot #rider-final {
  max-width: min(48vw, 340px);
  color: #fff !important;
  font-size: 25px !important;
  font-weight: 750 !important;
  line-height: 1.25;
  letter-spacing: -.035em;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  #rider > .detail-card { border-radius: 16px !important; }
  #rider .detail-card .section-title { padding: 20px 18px 16px !important; }
  #rider .detail-card .section-title h2 { font-size: 19px !important; }
  #rider .detail-card > table { width: calc(100% - 36px) !important; margin: 0 18px 20px !important; }
  #rider #rider-detail > tr.rider-detail-group { margin-top: 16px !important; padding: 14px 0 6px !important; }
  #rider #rider-detail > .rider-detail-group:first-child { margin-top: 0 !important; padding-top: 2px !important; }
  #rider #rider-detail > .rider-detail-group > th { font-size: 11px !important; padding-bottom: 4px !important; }
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) { padding: 7px 0 !important; gap: 12px; }
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > th { font-size: 13px !important; }
  #rider #rider-detail > tr:not(.rider-detail-group):not(.rider-detail-subtotal) > td { font-size: 14px !important; }
  #rider #rider-detail > tr.rider-detail-subtotal { padding: 12px 0 !important; gap: 12px; }
  #rider #rider-detail > .rider-detail-subtotal > td { font-size: 16px !important; }
  #rider .detail-card > table tfoot th,
  #rider .detail-card > table tfoot td { padding: 16px 14px !important; }
  #rider .detail-card > table tfoot #rider-final { font-size: 23px !important; }
}
@media print {
  #rider > .detail-card { box-shadow: none !important; }
  #rider .detail-card > table tfoot th,
  #rider .detail-card > table tfoot td,
  #rider .detail-card > table tfoot #rider-final {
    background: #fff !important;
    color: #172d48 !important;
  }
}
/* END cohesive rider statement. */


/* startup: rider-sticker-status.css */
#admin .rider-list-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 10px 13px;
  border-bottom: 1px solid #e7ebf1;
  background: #fbfcfe;
}

#admin .rider-list-filters > :is(.rider-status-filters, .rider-sticker-filters) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#admin .rider-list-filters .rider-filter-label {
  min-width: 32px;
  color: #65758d;
  font-size: 11px;
  font-weight: 800;
}

#admin .rider-list-filters .rider-status-filter {
  white-space: nowrap;
}

#admin .rider-list-filters .rider-status-filter:focus-visible {
  outline: 3px solid rgba(55, 112, 210, .25);
  outline-offset: 2px;
}

#admin .rider-sticker-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d8e1ed;
  border-radius: 10px;
  background: #f8fafc;
  color: #526176;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

#admin .rider-sticker-toggle span {
  color: #7c899b;
  font-size: 10px;
  font-weight: 750;
}

#admin .rider-sticker-toggle strong {
  font-size: 11px;
  font-weight: 900;
}

#admin .rider-sticker-toggle.is-attached {
  border-color: #a7dcc2;
  background: #eefaf4;
  color: #187b51;
}

#admin .rider-sticker-toggle.is-unattached {
  border-color: #d8e1ed;
  background: #f8fafc;
  color: #5f6d80;
}

#admin .rider-sticker-toggle:hover {
  border-color: #79a7e8;
  box-shadow: 0 4px 12px rgba(31, 75, 137, .09);
}

#admin .rider-sticker-toggle:focus-visible {
  outline: 3px solid rgba(55, 112, 210, .18);
  outline-offset: 2px;
}

#admin .rider-sticker-toggle:disabled {
  cursor: wait;
  opacity: .58;
}

@media (max-width: 560px) {
  #admin .rider-list-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding: 10px;
  }

  #admin .rider-sticker-toggle {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }
}

/* Keep status copy and the nearby save message from nudging the list. */
@media screen {
  #admin .rider-sticker-toggle strong { min-width: 4.5em; text-align: right; }
  #admin #riders-pane #rider-message { min-height: 24px !important; }
}


