/* startup: premium-detail-polish.css */
/* Run Settlement / fine-detail polish, 2026-10-19.
   Screen presentation only. No visibility, layout order, scroll containment,
   semantic status colors, statement/export surfaces or business logic changes. */
@media screen {
  /* Clear hierarchy without making every label and button equally heavy. */
  #admin .admin-content > section > .section-title:first-child h2,
  #admin #branches-pane > .section-title h2 {
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -.035em !important;
  }
  #admin .admin-content > section > .section-title:first-child p {
    color: #607187 !important;
    font-size: 12px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
  }
  #admin .admin-content label {
    font-weight: 650 !important;
    line-height: 1.6;
    letter-spacing: -.012em;
  }
  #admin .admin-content :is(.event-panel-heading, .referral-card-heading,
    .referral-progress-heading, .branch-pane-heading, .admin-notice-form-heading) :is(h3, h4) {
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
  }
  #admin .admin-content :is(.mission-payout-form, .mission-rule-form,
    .referral-rule-form, .referral-link-form) label > small {
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
  }
  #admin .admin-content .message {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
  }

  /* Preserve each action's existing role color and all disabled styling. */
  #admin .admin-content .primary {
    font-weight: 700 !important;
    letter-spacing: -.015em;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
  }
  #admin .admin-content .primary:not(:disabled) { box-shadow: 0 2px 5px #163a6014 !important; }
  #admin .admin-content .primary:not(:disabled):hover {
    transform: none !important;
    box-shadow: 0 3px 8px #163a601c !important;
  }
  #admin .admin-content .rider-action {
    font-size: 11px !important;
    font-weight: 650 !important;
    letter-spacing: -.01em;
    box-shadow: none !important;
    transition: background-color .15s ease, border-color .15s ease !important;
  }
  #admin .admin-content .rider-action:not(:disabled):hover { transform: none !important; }

  /* Native text controls retain size/validation; checkboxes/radios/files do not
     receive these text-field rules. Inputs used by sticky money tables keep
     their existing width, height and numeric alignment. */
  #admin .admin-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), select, textarea):not(:disabled) {
    border-color: #ccd8e5 !important;
    border-radius: 9px !important;
    box-shadow: 0 1px 2px #18334f04 !important;
    font-weight: 600 !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
  }
  #admin .admin-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), select, textarea):not(:disabled):hover {
    border-color: #9eb3ca !important;
  }
  #admin .admin-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), select, textarea):not(:disabled):focus {
    border-color: #4b78a5 !important;
    box-shadow: 0 0 0 3px #416f9e16 !important;
  }
  #admin .admin-content :is(input, textarea)::placeholder {
    color: #64758a !important;
    font-weight: 400 !important;
  }
  #admin .admin-content input[type="file"]:not(:disabled)::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 1px solid #d6e1ec;
    border-radius: 7px;
    background: #eef3f8;
    color: #284c70;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
  }

  /* Same selected-state language, without changing authoritative tab state. */
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs) {
    padding: 5px;
    border-color: #e1e7ef !important;
    background: #f3f6fa !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs) > button {
    font-weight: 650 !important;
    letter-spacing: -.015em;
    border-radius: 7px !important;
    box-shadow: none !important;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs)
    > button:is(.active, .is-active, [aria-selected="true"]) {
    background: #fff !important;
    border-color: #c9d7e6 !important;
    color: #244e79 !important;
    box-shadow: 0 1px 3px #183b6010 !important;
  }
  #admin #raw-settlement-automation :is(.raw-automation-navigation,
    .raw-automation-settings-tabs, .raw-automation-tabs) > button {
    font-weight: 650 !important;
    letter-spacing: -.015em;
    box-shadow: none !important;
  }
  #admin #raw-settlement-automation .raw-automation-navigation > button[aria-pressed="true"] {
    background: #244769 !important;
    color: #fff !important;
    border-color: #244769 !important;
  }

  /* Four genuine edit dialogs, not statement detail/export or install sheets.
     Existing backdrop visibility, focus handling and scrolling stay intact. */
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .password-modal {
    border: 1px solid #dce4ed !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 24px 80px #0c223d30 !important;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .modal-heading {
    padding-bottom: 19px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5ebf2;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .modal-heading h2 {
    color: #1a3551;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.4;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .modal-heading p {
    color: #60738b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .modal-close {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid #dce5ef;
    border-radius: 9px;
    background: #f7f9fc;
    color: #4b6580;
    box-shadow: none;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) label {
    color: #405974;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.65;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) label > small {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal)
    :is(input:not([type="hidden"]), select, textarea):not(:disabled) {
    border-color: #ccd8e5 !important;
    border-radius: 9px !important;
    background: #fff;
    color: #213c58;
    font-size: 14px;
    font-weight: 500;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .primary:not(:disabled) {
    border: 1px solid #285580 !important;
    border-radius: 9px !important;
    background: #285580 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 5px #183b6018 !important;
    transform: none !important;
  }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .message {
    font-size: 12px;
    line-height: 1.75;
  }

  /* Login and rider settings: no settlement-summary/detail/report selectors. */
  #login .login-card h2 { font-weight: 700 !important; letter-spacing: -.04em !important; }
  #login .login-card .card-description { color: #60738b; line-height: 1.8; }
  #login .login-card label { font-weight: 650; }
  #login .login-card .privacy-note { color: #687a90; line-height: 1.7; }
  #rider :is(.bank-settings, .settlement-settings, .inquiry-settings) label {
    font-weight: 650 !important;
    line-height: 1.65;
  }
  #login .login-card :is(input, select):not(:disabled),
  #rider :is(.bank-settings, .settlement-settings, .inquiry-settings) :is(input, select, textarea):not(:disabled) {
    border-color: #ccd8e5 !important;
    border-radius: 9px !important;
    box-shadow: none;
    font-weight: 500;
  }
  #rider :is(.bank-settings, .settlement-settings, .inquiry-settings) .primary:not(:disabled) {
    background: #285580 !important;
    color: #fff !important;
    border-color: #285580 !important;
    border-radius: 9px !important;
    font-weight: 700;
    box-shadow: 0 2px 5px #183b6014 !important;
    transform: none !important;
  }
  #admin .admin-content :is(button, summary, select, input, textarea):focus-visible,
  #login .login-card :is(button, input, select):focus-visible,
  #rider :is(.bank-settings, .settlement-settings, .inquiry-settings) :is(button, input, select, textarea):focus-visible,
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) :is(button, input, select, textarea):focus-visible {
    outline: 2px solid #4674a4 !important;
    outline-offset: 3px;
  }
  #admin #raw-settlement-automation .raw-automation-workbar :is(button, input, select, textarea):focus-visible {
    outline-color: #a9cdff !important;
  }
}

@media screen and (max-width: 760px) {
  #login .login-card :is(input, select),
  #rider :is(.bank-settings, .settlement-settings, .inquiry-settings) :is(input, select, textarea),
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal)
    :is(input:not([type="hidden"]), select, textarea) { font-size: 16px !important; }
  :is(#password-modal, #rider-edit-modal, #rider-note-modal, #payment-rider-note-modal) .modal-heading h2 { font-size: 20px; }
}

@media screen and (prefers-reduced-motion: reduce) {
  #admin .admin-content :is(.primary, .rider-action, input, select, textarea) { transition: none !important; }
}

/* Auth connection status: presentation only; private workspaces remain hidden until authorized. */
#admin-auth-loading[hidden] { display: none !important; }
#admin-auth-loading:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 480px;
  margin: clamp(28px, 7vh, 72px) auto;
  padding: 20px;
  border: 1px solid #dae3ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #1a35500a;
}
#admin-auth-loading .admin-connection-brand {
  display: flex;
  flex: 0 0 90px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #172f4b;
}
#admin-auth-loading .admin-connection-brand img { display: block; width: 70px; height: auto; }
#admin-auth-loading .admin-connection-copy { min-width: 0; flex: 1; }
#admin-auth-loading .admin-connection-copy h2 {
  margin: 0;
  color: #1b3550;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.035em;
}
#admin-auth-loading .admin-connection-copy p {
  margin: 4px 0 0;
  color: #65778d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#admin-auth-loading .admin-connection-indicator { display: flex; flex: 0 0 auto; gap: 4px; }
#admin-auth-loading .admin-connection-indicator i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #355d84;
}
#admin-auth-loading .admin-connection-indicator i:nth-child(2) { opacity: .55; }
#admin-auth-loading .admin-connection-indicator i:nth-child(3) { opacity: .25; }
@media screen and (max-width: 480px) {
  #admin-auth-loading:not([hidden]) { gap: 12px; padding: 16px; border-radius: 14px; }
  #admin-auth-loading .admin-connection-brand { flex-basis: 76px; padding-inline: 8px; }
  #admin-auth-loading .admin-connection-brand img { width: 60px; }
  #admin-auth-loading .admin-connection-indicator { display: none; }
}
@media print { #admin-auth-loading { display: none !important; } }


/* startup: admin-efficient-layout.css */
/* Rider efficiency-only layout · 2026-10-20.
   Keep the operating site's visual theme, payment badge placement and native
   view/hidden rules. Only compact the desktop title and period controls. */
@media screen and (min-width: 960px) {
  #rider > .rider-settlement-heading {
    min-height: 0 !important;
    padding: 0 !important;
    align-items: center !important;
  }
  #rider .rider-period-control { gap: 4px !important; }
  #rider .rider-period-control > #rider-period {
    min-height: 40px !important;
    padding: 8px 30px 8px 12px !important;
  }
  #rider .rider-period-control #rider-period-current { margin: 0 !important; }
  #rider .rider-period-browser > summary {
    min-height: 34px !important;
    padding: 7px 12px !important;
  }
}


/* startup: admin-workspace-consistency.css */
/* Administrator workspace consistency · operating navy/white theme retained.
   Presentation only: no visibility, DOM order, financial table or rider rules.
   The filled raw-automation-navigation remains the higher-level work selector. */
@media screen {
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs) {
    gap: 6px !important;
    margin-block: 14px 18px !important;
    padding: 5px !important;
    border: 1px solid #dce5ef !important;
    border-radius: 10px !important;
    background: #f3f6fa !important;
    box-shadow: none !important;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs) > button {
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #60738b !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    letter-spacing: -.015em;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs) > button:not(:disabled):hover {
    border-color: #d7e2ef !important;
    background: #fff !important;
    color: #355779 !important;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs)
    > button:is(.active, .is-active, [aria-selected="true"]) {
    border: 1px solid #c9d7e6 !important;
    background: #fff !important;
    color: #244e79 !important;
    box-shadow: 0 1px 3px #183b6010 !important;
  }
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs) > button:focus-visible {
    outline: 2px solid #7196bc;
    outline-offset: 2px;
  }

  /* These are three independent screens, not a sequential numbered wizard. */
  #admin .admin-content .referral-workspace-tabs > button {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 0;
    justify-items: center;
    text-align: center;
  }
  #admin .admin-content .referral-workspace-tabs > button > b {
    color: inherit;
    font-size: 13px;
    font-weight: 650;
  }
  #admin .admin-content .referral-workspace-tabs > button > small {
    color: #718198;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
  }

  /* Existing form/search grids keep their layout and responsive visibility. */
  #admin #riders-pane > .form-grid.three {
    gap: 14px !important;
    margin-block: 18px 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  #admin #riders-pane > .form-grid.three > label { margin-top: 0; }
  #admin #riders-pane > #create-rider { margin-block: 12px 20px; }
  #admin .admin-content :is(.rider-directory-tools, .period-directory-tools,
    .settlement-type-tools, .inquiry-admin-tools, .mission-payout-view-filters,
    .referral-progress-tools) {
    gap: 12px;
    margin-block: 18px;
  }
  #admin .admin-content :is(.rider-directory-tools, .period-directory-tools,
    .settlement-type-tools, .inquiry-admin-tools, .mission-payout-view-filters,
    .referral-progress-tools) > label { margin-top: 0; }
  #admin .admin-content :is(.rider-directory-tools, .period-directory-tools,
    .settlement-type-tools, .inquiry-admin-tools, .mission-payout-view-filters,
    .referral-progress-tools) :is(input, select) {
    min-height: 44px;
    margin-top: 7px;
  }
  #admin #notices-pane > .admin-notice-form {
    margin-block: 18px 22px;
    padding: 20px;
    gap: 10px;
  }
  #admin #notices-pane > .admin-notice-list-heading {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e1e8f0;
  }
  #admin .admin-content .referral-link-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr) !important;
    gap: 14px;
    align-items: start;
  }
  #admin .admin-content .referral-link-form > label { margin: 0 !important; }
  #admin .admin-content .referral-link-form > label > input { margin-top: 7px; }
  #admin .admin-content .referral-link-form-actions { margin: 12px 0 0 !important; }
  #admin .admin-content .referral-link-form-actions > .primary {
    min-height: 44px !important;
    margin: 0 !important;
    border-radius: 11px !important;
  }

  /* Opt-in explanations only. Existing menu/category disclosures are untouched. */
  #admin .admin-content .admin-help-disclosure {
    margin-block: 12px 16px;
    padding: 0;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #fff;
  }
  #admin .admin-content .admin-help-disclosure > summary {
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 9px;
    color: #355779;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
  }
  #admin .admin-content .admin-help-disclosure > summary::marker { content: ''; }
  #admin .admin-content .admin-help-disclosure > summary::after {
    content: '⌄';
    float: right;
    margin-left: 12px;
    color: #607e9d;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.1;
  }
  #admin .admin-content .admin-help-disclosure[open] > summary::after { content: '⌃'; }
  #admin .admin-content .admin-help-disclosure > summary:focus-visible {
    outline: 2px solid #7196bc;
    outline-offset: 2px;
  }
  #admin .admin-content .admin-help-disclosure > :not(summary) {
    margin: 0 14px 14px;
    color: #63758b;
    font-size: 12px;
    line-height: 1.75;
  }

  /* Read-only context, visually lighter than an action or validation warning. */
  #admin .admin-content .admin-workspace-target {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    flex: 1 0 100%;
    grid-column: 1 / -1;
    min-width: 0;
    gap: 6px 18px;
    margin-block: 12px 16px;
    padding: 12px 14px;
    border: 1px solid #dce5ef;
    border-left: 3px solid #a8c0da;
    border-radius: 9px;
    background: #fff;
    overflow-wrap: anywhere;
  }
  #admin .admin-content .admin-workspace-target-label {
    margin: 0;
    color: #718198;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
  }
  #admin .admin-content .admin-workspace-target-value {
    margin: 0;
    color: #294b70;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
  }
  #admin .admin-content .admin-workspace-target-note {
    grid-column: 1 / -1;
    margin: 0;
    color: #63758b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
  }
}
@media screen and (max-width: 760px) {
  #admin .admin-content :is(.manual-upload-tabs, .settlement-history-view-switch,
    .partner-mission-tabs, .referral-workspace-tabs, .branch-workspace-tabs,
    .raw-automation-tabs, .raw-automation-fee-tabs, .raw-automation-settings-tabs) > button {
    flex: 1 1 0 !important;
    padding-inline: 9px !important;
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  #admin .admin-content :is(.branch-workspace-tabs, .raw-automation-settings-tabs,
    .settlement-history-view-switch) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  #admin #riders-pane > .form-grid.three { grid-template-columns: minmax(0, 1fr); }
  #admin #notices-pane > .admin-notice-form { padding: 16px; }
  #admin .admin-content .referral-link-form { grid-template-columns: minmax(0, 1fr) !important; }
  #admin .admin-content .admin-workspace-target { grid-template-columns: minmax(0, 1fr); }
}
/* Administrator readability layer · 2026-10-25.
   Opt-in screen presentation only: every selector is inside
   #admin.admin-simple-workspace. Preserve the operating navy/white palette,
   menu/DOM order, native disclosures, hidden/disabled states, data, amounts,
   validation messages and permission boundaries. Rider, login, print, export
   and dialogs outside the administrator workspace are not selected. */
@media screen {
  #admin.admin-simple-workspace .admin-sidebar-brand {
    padding-block: 17px;
  }
  #admin.admin-simple-workspace .admin-sidebar-brand strong {
    margin-top: 0;
    font-size: 19px;
    line-height: 1.4;
  }
  #admin.admin-simple-workspace .admin-menu-category-summary {
    min-height: 46px;
    gap: 9px;
    color: #385574 !important;
  }
  #admin.admin-simple-workspace .admin-menu-category-title {
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.5;
  }
  #admin.admin-simple-workspace .admin-menu-category-count {
    font-size: 12px;
  }
  #admin.admin-simple-workspace .admin-nav .tab {
    min-height: 56px !important;
    padding: 10px !important;
  }
  #admin.admin-simple-workspace .admin-nav .tab b {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
  #admin.admin-simple-workspace .admin-nav .tab small {
    margin-top: 4px;
    color: #62758c !important;
    font-size: 12px !important;
    line-height: 1.4;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  #admin.admin-simple-workspace .admin-nav .tab.active {
    color: #1b426d !important;
    border-color: #a6bdd9 !important;
    background: #eaf1fa !important;
    box-shadow: inset 4px 0 #285580 !important;
  }
  #admin.admin-simple-workspace .admin-nav .tab.active small {
    color: #446383 !important;
  }
  #admin.admin-simple-workspace .admin-workspace-bar > div:first-child strong {
    font-size: 20px !important;
    line-height: 1.4;
  }
  /* The category can be Korean and changes with navigation; keep it visible. */
  #admin.admin-simple-workspace #admin-section-kicker {
    font-size: 12px !important;
    line-height: 1.5;
    letter-spacing: 0;
  }

  /* One clear title, readable guidance, and visible field labels. */
  #admin.admin-simple-workspace .admin-content > section > .section-title h2,
  #admin.admin-simple-workspace .dashboard-topline h2 {
    font-size: 22px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    letter-spacing: -.025em !important;
  }
  #admin.admin-simple-workspace .admin-content > section > .section-title p,
  #admin.admin-simple-workspace .dashboard-topline p {
    margin-top: 5px !important;
    color: #596e85 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  #admin.admin-simple-workspace .admin-content label {
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.6;
  }
  #admin.admin-simple-workspace #branches-pane label {
    font-size: 14px !important;
    line-height: 1.6;
  }
  #admin.admin-simple-workspace .admin-content :is(
    .message, .rejection-message, .admin-workspace-target-note,
    .raw-automation-help, .manual-upload-template-note
  ) {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  #admin.admin-simple-workspace .admin-content .admin-workspace-target-label {
    font-size: 12px;
  }
  #admin.admin-simple-workspace .admin-content .admin-workspace-target-value {
    font-size: 15px;
    line-height: 1.6;
  }
  #admin.admin-simple-workspace .admin-content .admin-help-disclosure > summary,
  #admin.admin-simple-workspace .raw-automation-help > summary {
    min-height: 44px;
    font-size: 14px !important;
    line-height: 1.6;
  }
  #admin.admin-simple-workspace .raw-automation-adjustment-tools > .admin-simple-help {
    grid-column: 1 / -1;
    min-width: 0;
  }

  /* Do not resize compact financial-table editors, checkboxes, radios or files. */
  #admin.admin-simple-workspace .admin-content :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
    select
  ):not(:where(table input, table select)) {
    min-height: 46px;
    font-size: 15px !important;
    line-height: 1.5;
  }
  #admin.admin-simple-workspace .admin-content textarea {
    font-size: 15px !important;
    line-height: 1.65;
  }

  /* Primary actions are easier to find; existing semantic/disabled colors stay. */
  #admin.admin-simple-workspace .admin-content .primary {
    min-height: 46px !important;
    padding-block: 12px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.45;
  }
  #admin.admin-simple-workspace .admin-content .rider-action {
    min-height: 42px;
    font-size: 13px !important;
    line-height: 1.5;
  }
  #admin.admin-simple-workspace .admin-workspace-actions > button {
    min-height: 42px;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Keep the existing work/sub-menu hierarchy and native selected attributes. */
  #admin.admin-simple-workspace .admin-content :is(
    .manual-upload-tabs, .settlement-history-view-switch, .partner-mission-tabs,
    .partner-mission-settings-tabs, .mission-payment-tabs, .referral-workspace-tabs,
    .branch-workspace-tabs, .raw-automation-tabs, .raw-automation-fee-tabs,
    .raw-automation-settings-tabs
  ) > button {
    min-height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }
  #admin.admin-simple-workspace .admin-content :is(
    .manual-upload-tabs, .settlement-history-view-switch, .partner-mission-tabs,
    .partner-mission-settings-tabs, .mission-payment-tabs, .referral-workspace-tabs,
    .branch-workspace-tabs, .raw-automation-tabs, .raw-automation-fee-tabs,
    .raw-automation-settings-tabs
  ) > button:is(.active, .is-active, [aria-selected="true"]):not(:disabled) {
    color: #214c76 !important;
    border-color: #9db5d0 !important;
    background: #fff !important;
    box-shadow: inset 0 -3px #285580 !important;
  }
  #admin.admin-simple-workspace .raw-automation-navigation > button {
    min-height: 48px;
    font-size: 15px;
    line-height: 1.5;
  }
  #admin.admin-simple-workspace .raw-automation-navigation > button[aria-pressed="true"] {
    border-color: #244769 !important;
    background: #244769 !important;
    color: #fff !important;
  }

  #admin.admin-simple-workspace :is(button, summary, input, select, textarea):focus-visible {
    outline: 3px solid #7199c5 !important;
    outline-offset: 3px;
  }
}

@media screen and (max-width: 760px) {
  #admin.admin-simple-workspace .admin-mobile-quick-item {
    min-height: 64px;
  }
  #admin.admin-simple-workspace .admin-mobile-quick-item > b {
    font-size: 12px;
    line-height: 1.35;
  }
  #admin.admin-simple-workspace .admin-content > section > .section-title h2,
  #admin.admin-simple-workspace .dashboard-topline h2 {
    font-size: 21px !important;
  }
  #admin.admin-simple-workspace .admin-workspace-bar > div:first-child strong {
    font-size: 19px !important;
  }
  #admin.admin-simple-workspace .admin-content :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
    select, textarea
  ):not(:where(table input, table select, table textarea)) {
    font-size: 16px !important;
  }
  #admin.admin-simple-workspace .admin-content :is(
    .manual-upload-tabs, .settlement-history-view-switch, .partner-mission-tabs,
    .partner-mission-settings-tabs, .mission-payment-tabs, .referral-workspace-tabs,
    .branch-workspace-tabs, .raw-automation-tabs, .raw-automation-fee-tabs,
    .raw-automation-settings-tabs
  ) > button {
    padding-inline: 9px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  #admin.admin-simple-workspace .raw-automation-navigation > button {
    font-size: 14px;
  }
}


/* startup: rider-readable-workspace.css */
/* Rider readability · 2026-10-25.
   Opt-in, screen-only presentation. All workspace selectors require
   #rider.rider-readable-workspace; the existing sibling sidebar additionally
   requires that opted-in rider as a direct child of #rider-workspace-shell.
   Keep the operating navy/white palette, four categories, native disclosures,
   authoritative hidden/disabled states, every saved financial row and its DOM
   order, notices, goals and payment semantics. No admin/login/modal/print,
   exported-image/canvas or calculation rules are selected. */
@media screen {
  /* English headings and decorative labels remain intact. */
  #rider.rider-readable-workspace .rider-mobile-quick-item b {
    font-size: 14px !important;
    line-height: 1.4;
    white-space: normal;
  }
  #rider.rider-readable-workspace .rider-mobile-quick-item small {
    font-size: 12px;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace label,
  #rider.rider-readable-workspace .rider-period-control > label,
  #rider.rider-readable-workspace .rider-period-filter-grid label {
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace #rider-inquiry-form label {
    font-size: 14px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
    select
  ),
  #rider.rider-readable-workspace #rider-period {
    min-height: 46px !important;
    font-size: 15px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace textarea,
  #rider.rider-readable-workspace #rider-inquiry-question {
    font-size: 15px !important;
    line-height: 1.7;
  }
  #rider.rider-readable-workspace :is(
    .primary, .rider-goal-delete, .rider-monthly-report-download,
    .rider-period-browser-heading > button, .rider-monthly-period-toggle
  ),
  #rider.rider-readable-workspace #save-rider-goal {
    min-height: 46px !important;
    font-size: 15px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-current-inquiry-button {
    min-height: 46px;
  }
  #rider.rider-readable-workspace .rider-current-inquiry-button strong {
    font-size: 15px;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-current-inquiry-button small {
    font-size: 13px;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-settings > summary {
    min-height: 54px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-settings > summary > span {
    font-size: 16px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-settings > summary > small {
    font-size: 13px !important;
    line-height: 1.5;
    min-width: 0;
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace :is(
    .rider-period-browser > summary, .rider-goal-editor > summary,
    .monthly-report-fold > summary, .rider-monthly-operation-details > summary,
    .rider-monthly-legacy-details > summary
  ) {
    min-height: 46px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace :is(
    .retention-note, .bank-account-note, .rider-goal-description,
    .rider-goal-storage-note, .rider-feature-group-heading p,
    .rider-period-browser-heading p, .rider-period-filter-summary,
    .rider-period-control #rider-period-current
  ) {
    color: #5f728b !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  #rider.rider-readable-workspace :is(
    .section-title p, .message, .rider-settlement-state,
    .settlement-card-message, .rider-monthly-report-notice,
    .rider-monthly-operation-details > p, .rider-monthly-legacy-details > p,
    .rider-monthly-operation-list > p
  ) {
    font-size: 14px !important;
    line-height: 1.7 !important;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace :is(
    .rider-feature-group-heading h2, .rider-monthly-report-heading h2,
    .rider-goal-card .section-title h2
  ) {
    font-size: 21px !important;
    line-height: 1.45 !important;
  }

  /* Image saving/sharing remains directly available with the original controls,
     state, event handlers and status message. No additional open step. */
  #rider.rider-readable-workspace .settlement-card-action {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  #rider.rider-readable-workspace .settlement-card-action h2 {
    font-size: 18px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .settlement-card-action > div:first-child > p {
    font-size: 14px !important;
    line-height: 1.7;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-actions {
    min-width: 0;
    grid-template-columns: minmax(140px, .8fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: end !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-type {
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-type select {
    min-width: 0 !important;
    min-height: 46px !important;
    font-size: 15px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-actions button {
    min-width: 0;
    min-height: 46px !important;
    padding: 10px !important;
    font-size: 15px !important;
    line-height: 1.5;
    white-space: normal;
  }

  /* Monthly financial values remain complete, in their existing DOM order. */
  #rider.rider-readable-workspace :is(
    .rider-monthly-report-primary span, .rider-monthly-report-primary small,
    .rider-monthly-report-section-title > span, .rider-monthly-platform span,
    .rider-monthly-platform small, .rider-monthly-statuses span,
    .rider-monthly-statuses small, .rider-monthly-insights > article > span,
    .rider-monthly-insights .monthly-tax-breakdown,
    .rider-monthly-mission > .monthly-tax-breakdown,
    .rider-monthly-mission-period, .rider-monthly-report-paid-reference > small,
    .rider-monthly-operation,
    .rider-monthly-report-empty span
  ) {
    color: #5f728b !important;
    font-size: 13px !important;
    line-height: 1.7;
  }
  /* A paid/held badge keeps its existing semantic foreground and background. */
  #rider.rider-readable-workspace .rider-monthly-period small {
    font-size: 13px !important;
    line-height: 1.7;
  }
  #rider.rider-readable-workspace :is(
    .rider-monthly-report-heading p, .rider-monthly-report-note,
    .rider-monthly-report-section-title > b, .rider-monthly-period b,
    .rider-monthly-period em, .monthly-tax-detail > p,
    .rider-monthly-financial-other, .rider-monthly-report-paid-reference > span
  ) {
    color: #526b86 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary strong,
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial strong,
  #rider.rider-readable-workspace .rider-monthly-statuses strong,
  #rider.rider-readable-workspace .rider-monthly-insights strong,
  #rider.rider-readable-workspace .rider-goal-metric strong {
    max-width: 100%;
    font-size: 20px !important;
    line-height: 1.4;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
  }
  #rider.rider-readable-workspace .rider-monthly-platform > strong,
  #rider.rider-readable-workspace .rider-monthly-report-primary .is-pay strong,
  #rider.rider-readable-workspace .rider-monthly-report-paid-reference > strong {
    max-width: 100%;
    font-size: 22px !important;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary article {
    min-width: 0;
    padding: 13px;
  }
  #rider.rider-readable-workspace .rider-monthly-period > span {
    min-width: 0;
    flex-wrap: wrap;
  }
  #rider.rider-readable-workspace .rider-monthly-period :is(b, em, small) {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace :is(button, summary, input, select, textarea):focus-visible {
    outline: 3px solid #7199c5 !important;
    outline-offset: 3px;
  }

  #rider-workspace-shell:has(> #rider.rider-readable-workspace) .rider-desktop-sidebar .rider-sidebar-brand {
    padding-block: 19px;
  }
  #rider-workspace-shell:has(> #rider.rider-readable-workspace) .rider-desktop-item b {
    font-size: 15px;
    line-height: 1.5;
  }
  #rider-workspace-shell:has(> #rider.rider-readable-workspace) .rider-desktop-item small {
    color: #60748b !important;
    font-size: 12px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 959px) {
  #rider.rider-readable-workspace :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
    select, textarea
  ),
  #rider.rider-readable-workspace #rider-period,
  #rider.rider-readable-workspace #rider-inquiry-question,
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-type select {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 760px) {
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #rider.rider-readable-workspace .rider-monthly-report-section-title {
    gap: 7px;
    align-items: flex-start;
    flex-direction: column;
  }
  #rider.rider-readable-workspace .rider-monthly-report-section-title > span {
    text-align: left;
  }
  #rider.rider-readable-workspace .rider-monthly-operation {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 12px;
  }
  #rider.rider-readable-workspace .rider-monthly-operation :is(b, strong) {
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace .rider-monthly-period {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  #rider.rider-readable-workspace .rider-monthly-period > :is(span, em, small) {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start;
    text-align: left;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  #rider.rider-readable-workspace .settlement-card-action .settlement-card-type {
    grid-column: 1 / -1 !important;
  }
}

/* On narrow phones keep the four-character notice label intact. The existing
   unread count becomes an icon-corner indicator; native hidden/color stay. */
@media screen and (max-width: 620px) {
  #rider.rider-readable-workspace .rider-mobile-quick-item[data-rider-mobile-view="notices"] {
    position: relative;
  }
  #rider.rider-readable-workspace .rider-mobile-quick-item[data-rider-mobile-view="notices"] b {
    white-space: nowrap;
  }
  #rider.rider-readable-workspace .rider-mobile-quick-item[data-rider-mobile-view="notices"] .rider-notice-unread-badge {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

/* The selector already names the chosen round. Keep the controller node intact. */
@media screen {
  #rider.rider-readable-workspace #rider-period-current {
    display: none !important;
  }
}


/* startup: app-install-guide.css */
/* Installation presentation only. Existing web-app access and push stay intact. */
#home-screen-install-modal .home-screen-install-modal {
  width: min(100%, 560px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #18314f;
}
#home-screen-install-modal [hidden] { display: none !important; }
#home-screen-install-modal .modal-heading > div { min-width: 0; }
#home-screen-install-modal h2 { overflow-wrap: anywhere; }
#home-screen-install-modal .app-install-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
#home-screen-install-modal .app-install-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-height: 78px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #d5e1f1;
  border-radius: 12px;
  background: #fff;
  color: #18314f;
  text-align: left;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
#home-screen-install-modal .app-install-choice strong { font-size: 16px; }
#home-screen-install-modal .app-install-choice span { font-size: 12px; color: #617895; }
#home-screen-install-modal .app-install-choice[aria-pressed="true"] {
  border-color: #326bd0;
  background: #edf4ff;
  box-shadow: inset 0 0 0 1px #326bd0;
}
#home-screen-install-modal .app-install-choice:hover { border-color: #769bd6; }
#home-screen-install-modal :is(button, a):focus-visible {
  outline: 3px solid #6297ef;
  outline-offset: 3px;
}
#home-screen-install-modal .app-install-panel { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e0e8f2; }
#home-screen-install-modal .app-install-panel h3 { margin: 0 0 8px; font-size: 16px; }
#home-screen-install-modal .app-install-panel p,
#home-screen-install-modal .app-install-selection-note { color: #526b88; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
#home-screen-install-modal .app-install-selection-note { margin: 16px 0 0; }
#home-screen-install-modal .app-install-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  margin-top: 16px;
  border: 1px solid #244e7e;
  border-radius: 10px;
  background: #254f80;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
#home-screen-install-modal .app-install-download:hover { background: #1b3e68; }
#home-screen-install-modal .app-install-version { display: block; margin-top: 9px; color: #617895; font-size: 11px; line-height: 1.7; }
#home-screen-install-modal .home-screen-install-steps { margin-top: 16px; }
#home-screen-install-modal .app-install-security-note { margin: 14px 0 0; font-size: 12px; }
#home-screen-install-modal .app-install-existing-note { margin: 20px 0 0; color: #617895; font-size: 12px; line-height: 1.7; }
#home-screen-install-modal #close-home-screen-install { width: 100%; min-height: 44px; }
@media (min-width: 561px) {
  html:not([data-run-native="android"]) #add-to-home-screen:not([hidden]) { display: inline-flex !important; }
}
@media (max-width: 360px) {
  #home-screen-install-modal .home-screen-install-modal { padding: 20px 16px; }
  #home-screen-install-modal .app-install-choice { padding: 13px 10px; }
  #home-screen-install-modal .app-install-choice span { font-size: 11px; }
}
@media (max-width: 340px) {
  html:not([data-run-native="android"]) .app-header .header-inner:has(#add-to-home-screen:not([hidden])) {
    height: auto !important;
    min-height: 68px !important;
    padding-block: 10px !important;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }
  html:not([data-run-native="android"]) .header-inner:has(#add-to-home-screen:not([hidden])) .brand { margin-inline: auto; }
  html:not([data-run-native="android"]) .header-inner:has(#add-to-home-screen:not([hidden])) .header-actions {
    flex: 1 1 100%;
    min-width: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 280px) {
  #home-screen-install-modal .app-install-platforms { grid-template-columns: minmax(0, 1fr); }
}

/* Android installation now uses Google Play; no direct APK installation. */
#home-screen-install-modal .app-install-test-tag { display: inline-flex; align-items: center; padding: 5px 10px; margin: 0 0 12px; border-radius: 6px; background: #edf3fd; color: #355d92; font-size: 11px; font-weight: 750; letter-spacing: .01em; }
#home-screen-install-modal .app-install-test-request { margin-top: 16px; padding: 17px 18px; border: 1px solid #dce6f2; border-radius: 13px; background: #f7faff; }
#home-screen-install-modal .app-install-test-request h4 { margin: 0 0 7px; color: #1c3656; font-size: 14px; }
#home-screen-install-modal .app-install-test-request p { margin: 0; }
#home-screen-install-modal .app-install-request-fields { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
#home-screen-install-modal .app-install-request-fields span { padding: 5px 8px; border: 1px solid #e0e8f3; border-radius: 6px; background: #fff; color: #47617f; font-size: 12px; line-height: 1.5; }
#home-screen-install-modal .app-install-test-email { display: inline-block; max-width: 100%; color: #244e7d; font-size: 15px; font-weight: 750; line-height: 1.6; text-underline-offset: 4px; overflow-wrap: anywhere; }
#home-screen-install-modal .app-install-test-request .app-install-test-followup { margin-top: 10px; font-size: 12px; color: #657b94; }
#home-screen-install-modal .app-install-play-store { display: block; width: min(224px, 100%); margin: 14px auto 0; border-radius: 7px; text-decoration: none; }
#home-screen-install-modal .app-install-play-store img { display: block; width: 100%; height: auto; }
#home-screen-install-modal .app-install-play-account { margin: 2px 0 0; text-align: center; font-size: 11px; color: #657b94; line-height: 1.7; }


/* startup: rider-settings-cards.css */
/* Settings summaries only: no admin, statement image, print or payment styling. */
@media screen {
  #rider.rider-readable-workspace .rider-account-group {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  #rider.rider-readable-workspace .rider-account-group > .rider-feature-group-heading {
    padding: 8px 4px 20px;
    border: 0;
    background: transparent;
  }
  #rider.rider-readable-workspace .rider-account-group > .rider-feature-list {
    gap: 14px;
    background: transparent;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings {
    --settings-accent: #3265af;
    --settings-tint: #edf4ff;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #dce5f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgb(24 53 83 / 3%);
  }
  #rider.rider-readable-workspace .rider-account-group .bank-settings {
    --settings-accent: #227d78;
    --settings-tint: #edf8f5;
  }
  #rider.rider-readable-workspace .rider-account-group .inquiry-settings {
    --settings-accent: #6267aa;
    --settings-tint: #f1f2fc;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings > .rider-settings-card-summary {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 0 !important;
    padding: 22px !important;
    list-style: none;
    color: #19344e;
    background: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary::-webkit-details-marker { display: none; }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary::before,
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary::after,
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary > span::before,
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary > span::after { display: none !important; content: none !important; }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary:focus-visible {
    outline: 3px solid #5d8be3;
    outline-offset: -4px;
    border-radius: 17px;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary > .rider-settings-card-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--settings-accent) 15%, white);
    border-radius: 13px;
    color: var(--settings-accent);
    background: var(--settings-tint);
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-icon svg { width: 24px; height: 24px; }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-copy {
    display: grid;
    align-items: stretch;
    justify-items: stretch;
    flex: 1;
    gap: 6px;
    min-width: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-title {
    color: #60738a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-value {
    color: #19344e;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -.025em;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-hint {
    color: #6c7d90;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    margin-top: 7px;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-status {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 4px 9px;
    border-radius: 7px;
    color: var(--settings-accent);
    background: var(--settings-tint);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: normal;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--settings-accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
  }
  #rider.rider-readable-workspace .rider-account-group .rider-settings-card-action svg { flex: 0 0 17px; width: 17px; height: 17px; transition: transform .15s ease; }
  #rider.rider-readable-workspace .rider-account-group .rider-settings[open] .rider-settings-card-action svg { transform: rotate(90deg); }
  #rider.rider-readable-workspace .rider-account-group .rider-settings[open] > .box {
    margin: 0 !important;
    padding: 20px 22px;
    border: 0;
    border-top: 1px solid #e8edf4;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  #rider.rider-readable-workspace .rider-inquiry-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin: 20px 0 12px;
    min-width: 0;
  }
  #rider.rider-readable-workspace .rider-inquiry-tools h3 {
    margin: 0;
    color: #19344e;
    font-size: 15px;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace #refresh-rider-inquiries {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 9px 13px;
    border: 1px solid #d4d9ee;
    border-radius: 9px;
    color: #515b98;
    background: #f6f7fd;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
  }
  #rider.rider-readable-workspace #refresh-rider-inquiries:disabled { opacity: .6; cursor: default; }
  #rider.rider-readable-workspace #refresh-rider-inquiries:focus-visible { outline: 3px solid #5d8be3; outline-offset: 2px; }
  html[data-run-native="android"] #rider.rider-readable-workspace .rider-account-group .native-app-info-trigger--rider {
    justify-self: start;
    width: auto;
    min-height: 44px;
    margin: 0 4px;
    padding: 8px 4px;
    border: 0;
    border-radius: 6px;
    color: #61758b;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
  }
  @media (max-width: 620px) {
    #rider.rider-readable-workspace .rider-account-group > .rider-feature-group-heading { padding: 4px 3px 17px; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings > .rider-settings-card-summary { gap: 12px; padding: 19px 17px !important; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings-card-value { font-size: 19px; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings[open] > .box { padding: 18px 16px; }
  }
  @media (max-width: 340px) {
    #rider.rider-readable-workspace .rider-account-group .rider-settings > .rider-settings-card-summary { gap: 10px; padding: 17px 13px !important; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings-card-summary > .rider-settings-card-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings-card-icon svg { width: 21px; height: 21px; }
    #rider.rider-readable-workspace .rider-account-group .rider-settings-card-value { font-size: 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #rider.rider-readable-workspace .rider-account-group .rider-settings-card-action svg { transition: none; }
  }
}


/* startup: rider-monthly-compact.css */
/* Monthly screen presentation only; data, image canvas, admin and print stay unchanged. */
@media screen {
  #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-primary.is-financial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 15px;
    background: #fff;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article {
    min-width: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2px 12px;
    padding: 11px 16px;
    border-top: 1px solid #e9eef4;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) > span {
    font-size: 13px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) > strong {
    margin: 0;
    color: #1b3854;
    font-size: 18px !important;
    line-height: 1.5;
    text-align: right;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) > small {
    grid-column: 1 / -1;
    font-size: 12px !important;
    line-height: 1.5;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay {
    order: -1;
    grid-row: auto;
    grid-column: auto;
    padding: 19px 18px;
    background: #1b3854;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay > :is(span, small) {
    color: #d1e0ee !important;
    font-size: 13px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay > strong {
    margin: 7px 0;
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1.4;
    letter-spacing: -.03em;
  }
  #rider.rider-readable-workspace .rider-monthly-report-section {
    margin-top: 17px;
    padding-top: 15px;
  }
  #rider.rider-readable-workspace .rider-monthly-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
  }
  #rider.rider-readable-workspace .rider-monthly-platform {
    min-width: 0;
    padding: 13px 12px 0 14px;
    background: #fff;
  }
  #rider.rider-readable-workspace .rider-monthly-platform > span {
    font-size: 13px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-platform > strong {
    margin: 6px 0 4px;
    font-size: 20px !important;
    line-height: 1.4;
  }
  #rider.rider-readable-workspace .rider-monthly-platform > small {
    font-size: 12px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-report-card details {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace .rider-monthly-report-card details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px !important;
    padding: 10px 12px !important;
    color: #48617d !important;
    font-size: 13px !important;
    font-weight: 650;
    line-height: 1.6 !important;
    list-style: none;
    white-space: normal;
    cursor: pointer;
  }
  #rider.rider-readable-workspace .rider-monthly-report-card details > summary::marker { content: ''; }
  #rider.rider-readable-workspace .rider-monthly-report-card details > summary::-webkit-details-marker { display: none; }
  #rider.rider-readable-workspace .rider-monthly-report-card details > summary::after {
    display: block !important;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin: -4px 3px 0;
    border: 0;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    border-radius: 0;
    background: transparent !important;
    font-size: 0;
    line-height: 0;
    content: '' !important;
    transform: rotate(45deg);
  }
  #rider.rider-readable-workspace .rider-monthly-report-card details[open] > summary::after {
    margin-top: 4px;
    transform: rotate(225deg);
  }
  #rider.rider-readable-workspace .rider-monthly-platform-breakdown {
    margin-top: 8px;
    border-top: 1px solid #e9eef4;
  }
  #rider.rider-readable-workspace .rider-monthly-platform-breakdown > summary {
    padding-inline: 0 !important;
    font-size: 12px !important;
  }
  #rider.rider-readable-workspace .rider-monthly-platform-breakdown .monthly-tax-detail {
    padding: 0 0 13px;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #e0e8f2;
    border-radius: 12px;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 3px 12px;
    padding: 12px 13px;
    border: 0;
    border-radius: 0;
    background: #fff;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article + article { border-top: 1px solid #e9eef4; }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article > span {
    display: grid;
    min-width: 0;
    gap: 3px;
    color: #526b86;
    font-size: 13px;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article > span > b { font-weight: 650; }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article > strong {
    min-width: 0;
    margin: 0;
    font-size: 18px !important;
    line-height: 1.5;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-row > .monthly-tax-breakdown { grid-column: 1 / -1; }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list > .rider-monthly-missions-empty { margin: 0; padding: 12px 13px; }
  #rider.rider-readable-workspace .rider-monthly-mission-summary-list .monthly-tax-breakdown {
    margin-top: 0;
    color: #60758c;
    font-size: 12px !important;
    line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-mission-empty,
  #rider.rider-readable-workspace .rider-monthly-report-basis-note,
  #rider.rider-readable-workspace .rider-monthly-missions-empty,
  #rider.rider-readable-workspace .rider-monthly-basis-short {
    margin: 10px 0;
    color: #60758c;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  #rider.rider-readable-workspace .rider-monthly-extra-details {
    display: grid;
    gap: 8px;
    margin-top: 14px;
  }
  #rider.rider-readable-workspace .rider-monthly-extra-details > details,
  #rider.rider-readable-workspace .monthly-report-basis {
    margin: 0;
    border: 1px solid #e0e8f2;
    border-radius: 11px;
    background: #fbfdff;
  }
  #rider.rider-readable-workspace .monthly-report-basis > :is(p, div) {
    margin: 0;
    padding: 0 12px 12px;
    color: #60758c;
    font-size: 13px;
    line-height: 1.7;
  }
  #rider.rider-readable-workspace .monthly-report-basis > .rider-monthly-report-notice { border: 0; border-radius: 0; background: transparent; }
  #rider.rider-readable-workspace .rider-monthly-report-note { font-size: 12px !important; }
  @media (min-width: 621px) {
    #rider.rider-readable-workspace .rider-monthly-report-heading { grid-template-columns: minmax(0, 1fr) 220px; }
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-primary.is-financial { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay { grid-column: 1 / -1; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 5px; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) + article:not(.is-pay) { border-left: 1px solid #e9eef4; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) > strong { text-align: left; }
    #rider.rider-readable-workspace .rider-monthly-mission-summary-list > article { padding-block: 8px; }
  }
  @media (max-width: 340px) {
    #rider.rider-readable-workspace .rider-monthly-platforms { grid-template-columns: minmax(0, 1fr); }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) { gap: 3px 8px; padding: 10px 12px; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay { padding: 16px 13px; }
    #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay > strong { font-size: 27px !important; }
  }
}

/* Monthly title and controls only; calculations, image exports and app header stay unchanged. */
@media screen {
  #rider.rider-readable-workspace .rider-monthly-report-header > h2 {
    min-width: 0; margin: 0; color: #263e59; font-size: 16px; font-weight: 760; line-height: 1.5;
    letter-spacing: -.025em;
  }
  #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-toolbar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
    gap: 10px; padding: 14px 16px; background: #f8fbff;
  }
  #rider.rider-readable-workspace .rider-monthly-report-toolbar > label { min-width: 0; }
  #rider.rider-readable-workspace .rider-monthly-report-toolbar select {
    width: 100%; min-width: 0; min-height: 44px; font-size: 14px !important;
  }
  #rider.rider-readable-workspace #rider-monthly-report-refresh {
    min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px;
    border: 1px solid #cbd9e9; border-radius: 10px; background: #fff; color: #315b83;
    font: inherit; font-size: 13px; font-weight: 750; line-height: 1.5; white-space: nowrap;
    cursor: pointer;
  }
  #rider.rider-readable-workspace #rider-monthly-report-refresh:disabled {
    opacity: 1; color: #66798d; background: #edf2f7; cursor: default;
  }
  #rider.rider-readable-workspace #rider-monthly-report-refresh:focus-visible {
    outline: 2px solid #3970cd; outline-offset: 2px;
  }
  @media (max-width: 340px) {
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-toolbar { gap: 8px; padding: 12px; }
    #rider.rider-readable-workspace #rider-monthly-report-refresh { padding-inline: 10px; font-size: 12px; }
  }
}

/* Premium monthly presentation only. No data, event, export, header or print behavior changes. */
@media screen {
  #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium {
    position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: flex-end;
    gap: 12px; padding: 16px 18px;
    border-bottom: 1px solid #dce7f3;
    background: radial-gradient(ellipse at 100% 0, rgba(174,202,236,.22), transparent 65%), linear-gradient(115deg,#f9fcff,#edf4fd);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium > label { position: relative; display: grid; gap: 0; flex: 1 1 12em; min-width: min(100%,12em); }
  #rider.rider-readable-workspace .rider-monthly-report-eyebrow {
    display: block; color: #536f95; font-size: 10px; font-weight: 800; line-height: 1.5;
    letter-spacing: .16em; white-space: nowrap;
  }
  #rider.rider-readable-workspace .rider-monthly-report-control-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-month {
    min-height: 50px; margin-top: 7px !important; padding: 8px 28px 8px 11px !important;
    border: 1px solid rgba(173,193,218,.65) !important; border-radius: 12px !important;
    background-color: rgba(255,255,255,.82) !important; color: #183958 !important;
    font-size: 22px !important; font-weight: 850 !important; line-height: 1.3;
    letter-spacing: -.035em; box-shadow: 0 3px 8px rgba(43,74,116,.035), inset 0 1px 0 #fff;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-refresh {
    flex: 0 0 auto; min-height: 50px; padding: 10px 13px; border-color: #c7d7e9; border-radius: 12px;
    background: linear-gradient(#fff,#f8fbff); color: #2b5079;
    box-shadow: 0 3px 8px rgba(43,74,116,.045), inset 0 1px 0 #fff;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-refresh:disabled {
    background: #edf2f8; color: #66798d; box-shadow: none;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial {
    border-color: #d6e2ef; box-shadow: 0 7px 22px rgba(24,51,78,.055);
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay {
    background: radial-gradient(circle at 104% 2%,transparent 0 68px,rgba(210,230,250,.075) 69px 70px,transparent 71px), radial-gradient(ellipse at 105% -12%,rgba(126,175,221,.16),transparent 64%), linear-gradient(120deg,#14344d,#20435d);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay > strong {
    font-variant-numeric: tabular-nums; letter-spacing: -.035em;
    text-shadow: 0 1px 1px rgba(0,0,0,.08);
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article:not(.is-pay) {
    background: linear-gradient(100deg,#fff,#fcfdff);
  }
  @media (min-width: 621px) {
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium { justify-content: space-between; }
    #rider.rider-readable-workspace .rider-monthly-report-premium > label { flex: 0 1 320px; max-width: 100%; }
    #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-month { font-size: 24px !important; }
  }
  @media (max-width: 360px) {
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium { gap: 8px; padding: 14px 12px; }
    #rider.rider-readable-workspace .rider-monthly-report-eyebrow { font-size: 9px; letter-spacing: .12em; }
    #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-month { font-size: 18px !important; padding-inline: 9px 25px !important; }
    #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-refresh { padding-inline: 10px; }
  }
}

/* Keep exceptional monthly warnings separated. No general help panel is added. */
@media screen {
 #rider.rider-readable-workspace .monthly-report-warning-list { display: block; }
 #rider.rider-readable-workspace .monthly-report-warning-list > p { margin: 0; font-size: inherit; line-height: inherit; }
 #rider.rider-readable-workspace .monthly-report-warning-list > p + p { margin-top: 10px; }
}

/* The monthly operation count lives in the existing payment hero, not the section title. */
@media screen {
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay .rider-monthly-payment-heading {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 7px 12px; min-width: 0;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay .rider-monthly-payment-heading > span {
    min-width: 0; color: #d1e0ee !important; font-size: 13px !important; line-height: 1.6;
  }
  #rider.rider-readable-workspace .rider-monthly-report-primary.is-financial > article.is-pay .rider-monthly-payment-heading > .rider-monthly-operation-count {
    flex: 0 0 auto; max-width: 100%; margin-left: auto; padding: 3px 9px;
    border: 1px solid rgba(209,224,238,.24); border-radius: 999px;
    background: rgba(235,245,255,.08); color: #e4eef8 !important;
    font-size: 12px !important; font-weight: 750 !important; line-height: 1.5;
    font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  }
}

/* Keep monthly controls on one shared row, including large-text settings. */
@media screen {
  #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch;
    gap: 7px 12px;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium > .rider-monthly-report-eyebrow {
    grid-column: 1 / -1; grid-row: 1;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium > label {
    display: flex; min-width: 0; width: 100%; max-width: none; grid-column: 1; grid-row: 2;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-month {
    box-sizing: border-box; min-height: 50px !important; height: auto !important; margin-top: 0 !important;
    align-self: stretch;
  }
  #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-refresh {
    box-sizing: border-box; min-height: 50px !important; height: auto !important;
    grid-column: 2; grid-row: 2; align-self: stretch;
  }
  @media (min-width: 621px) {
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium {
      grid-template-columns: minmax(0, 320px) auto;
    }
    #rider.rider-readable-workspace .rider-monthly-report-premium #rider-monthly-report-refresh { justify-self: end; }
  }
  @media (max-width: 360px) {
    #rider.rider-readable-workspace .rider-monthly-report-card .rider-monthly-report-premium { gap: 7px 8px; }
  }
}


/* startup: rider-footer-polish.css */
/* Quiet service footer. Visibility, account routing and business logic stay owned by the existing app. */
#rider-support-footer.support-footer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 22px 24px 28px;
  color: #52677d;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}
#rider-support-footer.support-footer[hidden],
#site-copyright-footer.site-copyright-footer[hidden] { display: none !important; }
#rider-support-footer.support-footer::after { content: none; display: none; }
#rider-support-footer .support-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #dce4ed;
}
#rider-support-footer .support-footer-brand {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  line-height: 0;
}
#rider-support-footer .support-footer-brand img {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
  opacity: .82;
}
#rider-support-footer .support-footer-contact {
  display: grid;
  justify-items: start;
  gap: 0;
  min-width: 0;
}
#rider-support-footer .support-footer-label {
  color: #5f6f82;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}
#rider-support-footer a {
  box-sizing: border-box;
  color: #294d70;
  font-weight: 500;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
#rider-support-footer a:hover { color: #153b61; text-decoration: underline; text-underline-offset: 4px; }
#rider-support-footer a:focus-visible { outline: 2px solid #4c78b8; outline-offset: 4px; border-radius: 5px; }
#rider-support-footer .support-footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
#rider-support-footer .support-footer-email span { min-width: 0; overflow-wrap: anywhere; }
#rider-support-footer a svg { display: block; flex: 0 0 auto; width: 17px; height: 17px; color: #6a849e; pointer-events: none; }
#rider-support-footer .support-footer-email .support-footer-arrow { width: 13px; height: 13px; margin-left: 1px; }
#rider-support-footer .support-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 20px;
  min-width: 0;
  padding-top: 8px;
}
#rider-support-footer .support-footer-policy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 0;
  color: #52677d;
  font-size: 12px;
  line-height: 1.6;
}
#rider-support-footer .support-footer-policy span { min-width: 0; overflow-wrap: anywhere; }
#rider-support-footer .support-footer-policy svg { width: 12px; height: 12px; color: #7a8b9d; }
#rider-support-footer .support-footer-copyright {
  display: block;
  min-width: 0;
  color: #5f6f82;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#site-copyright-footer.site-copyright-footer {
  box-sizing: border-box;
  color: #5f6f82;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  #rider-support-footer.support-footer { margin-top: 8px; padding: 20px 18px 24px; }
  #rider-support-footer .support-footer-main { gap: 12px; padding-bottom: 10px; }
  #rider-support-footer .support-footer-brand img { width: 84px; }
  #rider-support-footer .support-footer-email { gap: 6px; font-size: 12px; }
  #rider-support-footer .support-footer-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 4px; }
}
@media (max-width: 340px) {
  #rider-support-footer .support-footer-main { flex-direction: column; align-items: flex-start; gap: 14px; }
  #rider-support-footer .support-footer-contact { width: 100%; }
  #rider-support-footer .support-footer-email { width: 100%; }
}
@media print {
  #rider-support-footer.support-footer, #site-copyright-footer.site-copyright-footer { display: none !important; }
}


/* Account guidance belongs to Settings, not the service contact footer. */
#rider .rider-privacy-settings[hidden] { display: none !important; }
#rider .rider-account-group > .rider-privacy-settings {
  box-sizing: border-box;
  min-width: 0;
  margin: 18px 4px 0;
  padding-top: 14px;
  border-top: 1px solid #dce5f0;
}
#rider .rider-privacy-link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 10px 4px;
  border-radius: 9px;
  color: #52677d;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
#rider .rider-privacy-link:hover { color: #294d70; background: #eaf0f7; }
#rider .rider-privacy-link:focus-visible { outline: 2px solid #4c78b8; outline-offset: 3px; }
#rider .rider-privacy-link svg { display: block; flex: 0 0 auto; pointer-events: none; }
#rider .rider-privacy-icon { width: 22px; height: 22px; color: #61758b; }
#rider .rider-privacy-copy { display: grid; flex: 1; min-width: 0; gap: 4px; }
#rider .rider-privacy-title { color: #52677d; font-size: 13px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
#rider .rider-privacy-hint { color: #5f6f82; font-size: 12px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
#rider .rider-privacy-arrow { width: 14px; height: 14px; color: #61758b; }
#rider-support-footer .support-footer-meta { justify-content: flex-end; padding-top: 14px; }
@media (max-width: 600px) {
  #rider .rider-account-group > .rider-privacy-settings { margin: 16px 3px 0; padding-top: 12px; }
  #rider .rider-privacy-link { gap: 10px; }
  #rider-support-footer .support-footer-meta { align-items: flex-start; padding-top: 12px; }
}
@media print { #rider .rider-privacy-settings { display: none !important; } }


/* Local design candidate only: compact service footer and one quiet utility list. */
body:has(#rider:not([hidden])) > main { padding-bottom: 0 !important; }
#rider[data-rider-mobile-view="settlement"] > .rider-detail-workspace,
#rider[data-rider-mobile-view="settings"] > .rider-account-group { margin-bottom: 0; }
#rider-support-footer.support-footer {
  margin-top: 0;
  padding: 6px 24px 18px;
}
#rider-support-footer .support-footer-brand { display: none; }
#rider-support-footer .support-footer-main {
  display: block;
  padding-bottom: 0;
  border-bottom: 0;
}
#rider-support-footer .support-footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 10px;
}
#rider-support-footer .support-footer-label { font-size: 11px; font-weight: 400; }
#rider-support-footer .support-footer-email {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  padding: 6px 0;
  color: #52677d;
  font-size: 12px;
  font-weight: 500;
}
#rider-support-footer .support-footer-email > svg { display: none; }
#rider-support-footer .support-footer-meta {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 0;
}
#rider-support-footer .support-footer-copyright { font-size: 10px; text-align: center; }

#rider #native-app-info-open-rider {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #dce5f0;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  color: #52677d;
  background: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}
#rider #native-app-info-open-rider::after {
  content: "›";
  margin-left: 14px;
  color: #61758b;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
#rider .rider-account-group > #rider-privacy-settings {
  min-width: 0;
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: #fff;
}
#rider .rider-account-group:has(#native-app-info-open-rider) > #rider-privacy-settings {
  margin-top: 0;
  border-radius: 0 0 14px 14px;
}
#rider #rider-account-deletion {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: inherit;
  color: #52677d;
}
#rider #rider-account-deletion .rider-privacy-icon,
#rider #rider-account-deletion .rider-privacy-hint { display: none; }
#rider #rider-account-deletion .rider-privacy-copy { display: block; }
#rider #rider-account-deletion .rider-privacy-title { font-size: 13px; font-weight: 500; line-height: 1.6; }
#rider #rider-account-deletion .rider-privacy-arrow { width: 13px; height: 13px; }
#rider #native-app-info-open-rider:hover,
#rider #rider-account-deletion:hover { background: #f7f9fc; }
#rider #native-app-info-open-rider:focus-visible,
#rider #rider-account-deletion:focus-visible { outline: 2px solid #4c78b8; outline-offset: -3px; }
@media (max-width: 600px) {
  #rider-support-footer.support-footer { margin-top: 0; padding: 4px 18px 16px; }
}
@media (max-width: 340px) {
  #rider-support-footer .support-footer-main { display: block; }
  #rider-support-footer .support-footer-contact { width: 100%; gap: 0 8px; }
  #rider-support-footer .support-footer-email { width: auto; }
}

/* Second local design study. No authentication, account or settlement logic. */
@media screen {
  #login .login-card:has(.login-refined-footer) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, max-content) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
  }
  #login .login-card:has(.login-refined-footer) > *,
  #login .login-card:has(.login-refined-footer)::before,
  #login .login-card:has(.login-refined-footer)::after { grid-column: 1 / -1; }
  #login .login-card:has(.login-refined-footer) > .card-description + label { margin-top: 0; }
  #login .login-card .login-refined-footer,
  #login .login-card .login-refined-links { display: contents; }

  #login .login-card .login-refined-footer > .privacy-note {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 15px 0 17px !important;
    padding: 0;
    border: 0;
    color: #63758a !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.7;
    text-align: center;
    word-break: keep-all;
    text-wrap: balance;
  }
  #login .login-card .login-refined-footer > .privacy-note svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #71879c;
  }
  #login .login-card .login-refined-footer > .privacy-note span { min-width: 0; }

  #login .login-card .login-refined-links > a,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 13px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: #52677f !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    text-underline-offset: 4px;
    white-space: normal;
    word-break: keep-all;
    cursor: pointer;
  }
  #login .login-card .login-refined-mail { grid-column: 2; }
  #login .login-card .login-refined-links > #login-account-deletion { grid-column: 3; }
  #login .login-card .login-refined-links > #login-account-deletion::before,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 11px;
    background: #d9e1ea;
    transform: translateY(-50%);
    pointer-events: none;
  }
  #login .login-card .login-refined-links > a:hover,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login:hover {
    color: #294f73 !important;
    text-decoration: underline;
  }
  #login .login-card .login-refined-links > a:focus-visible,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login:focus-visible {
    outline: 2px solid #456f99;
    outline-offset: 2px;
    text-decoration: underline;
  }
  #login .login-card:has(.login-refined-footer):has(> #native-app-info-open-login) {
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, max-content) minmax(0, max-content) minmax(0, 1fr);
  }
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login { grid-column: 4; }
  body:has(#login:not([hidden])) #site-copyright-footer {
    margin-top: 0;
    padding-top: 0;
    color: #65758a;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
  }
}
@media screen and (max-width: 360px) {
  #login .login-card .login-refined-links > a,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login { padding-inline: 8px; }
}
@media screen and (max-width: 300px) {
  #login .login-card .login-refined-links > a,
  #login .login-card:has(.login-refined-footer) > #native-app-info-open-login { padding-inline: 6px; font-size: 11px !important; }
}


/* startup: rider-branch-label.css */
/* Self-scope rider affiliation; no title/refresh layout changes. */
#rider .rider-heading-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 10px;
  vertical-align: top;
}
#rider > .page-heading .rider-heading-kicker > .eyebrow {
  margin: 0 !important;
}
#rider .rider-own-branch-label {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  max-width: min(240px, 100%);
  box-sizing: border-box;
  padding: 4px 9px;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  background: #edf4ff;
  color: #285a91;
  font: 700 12px/1.3 Pretendard, "Noto Sans KR", sans-serif;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
#rider .rider-own-branch-label[hidden] {
  display: none !important;
}
@media (max-width: 380px) {
  #rider .rider-heading-kicker { gap: 6px; }
  #rider .rider-own-branch-label { max-width: 190px; }
}


/* startup: rider-period-filter-copy.css */
#rider .rider-period-browser #rider-period-filter-summary {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
#rider .rider-period-browser .rider-period-filter-note {
  margin: 0 12px 12px;
  color: var(--run-muted, #5f728b);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}


/* startup: admin-clarity-20261030.css */
/* Scoped administration clarity polish. No data or behavior. */
/* patch-clarity-missions-20261030.cjs */
/* Tier rows only: keep the ordinal intact and make narrow-screen fields usable. */
#event-referral-panel .referral-tier-order{display:inline-flex;align-items:center;align-self:start;min-height:28px;white-space:nowrap;word-break:keep-all;font-weight:800}
#event-referral-panel .referral-tier-row input,#event-mission-panel .mission-tier-row input{box-sizing:border-box;width:100%;min-width:0;min-height:44px}
#event-referral-panel .referral-tier-remove,#event-mission-panel .mission-tier-remove,#event-referral-panel #add-referral-tier,#event-mission-panel #add-mission-tier{min-height:44px}
@media(max-width:760px){
  #event-referral-panel .referral-tier-row{grid-template-columns:minmax(52px,max-content) minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:560px){
  #event-referral-panel .referral-tier-row,#event-mission-panel .mission-tier-row{grid-template-columns:minmax(0,1fr);min-width:0;gap:10px}
  #event-referral-panel .referral-tier-order,#event-referral-panel .referral-tier-row label,#event-mission-panel .mission-tier-row label{grid-column:1/-1;min-width:0}
  #event-referral-panel .referral-tier-row input,#event-mission-panel .mission-tier-row input{height:44px}
  #event-referral-panel .referral-tier-remove,#event-mission-panel .mission-tier-remove{grid-column:1/-1;justify-self:end;align-self:auto;width:auto;min-width:88px;height:44px}
}

/* patch-clarity-workflow-20261030.cjs */
/* Local feedback never replaces or reparents financial inputs or approval controls. */
.raw-clarity-stage-error{margin:12px 0 18px;padding:15px 18px;border:1px solid #e4bdb7;border-left:3px solid #ae5143;border-radius:12px;background:#fff8f6;color:#773d34;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere;scroll-margin-block:22px}
.raw-clarity-review-warnings{margin:14px 0 20px;padding:15px 18px;border:1px solid #e1d4b4;border-left:3px solid #a77b2c;border-radius:12px;background:#fffcf3;color:#6a5329;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.raw-clarity-stage-error[hidden],.raw-clarity-review-warnings[hidden]{display:none!important}

/* patch-clarity-payments-20261030.cjs */


/* Admin-only navigation feedback. It never intercepts inputs or lower actions. */
#admin-navigation-status,
#admin-mobile-navigation-status {
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #c7d5e6;
  border-radius: 12px;
  background: #f4f8fd;
  color: #233f61;
  font: 500 13px/1.6 system-ui, "Malgun Gothic", sans-serif;
  overflow-wrap: anywhere;
  pointer-events: none;
}
#admin-navigation-status:not([hidden]) {
  position: sticky;
  top: var(--admin-navigation-feedback-top, 88px);
  z-index: 7;
  max-width: 620px;
  margin: 0 0 12px;
  box-shadow: 0 4px 16px #142b4314;
}
#admin-mobile-navigation-status:not([hidden]) {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 12px 0;
}
#admin-navigation-status[hidden],
#admin-mobile-navigation-status[hidden] { display: none !important; }
#admin #admin-section-title:focus-visible {
  outline: 2px solid #4b75aa;
  outline-offset: 5px;
  border-radius: 3px;
}

