/* OA delegation, reminder and SLA workspace. Every selector is locally scoped. */
.oad-shell {
    --oad-ink: #1f2937;
    --oad-muted: #667085;
    --oad-line: #dfe6ef;
    --oad-soft: #f7f9fc;
    --oad-primary: #4f5fc7;
    --oad-primary-dark: #3849ad;
    display: grid;
    gap: 16px;
    min-width: 0;
    color: var(--oad-ink);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.oad-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 2px;
}

.oad-hero > div { min-width: 0; }

.oad-hero > div > span,
.oad-modal > header > div > span {
    color: var(--oad-primary, #4f5fc7);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.oad-hero h2 {
    margin: 6px 0 8px;
    color: #172033;
    font-size: clamp(23px, 2.3vw, 29px);
    line-height: 1.25;
}

.oad-hero p {
    max-width: 830px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.oad-button {
    display: inline-flex;
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    align-self: center;
    align-items: center;
    justify-self: start;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #d4dce8;
    border-radius: 9px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.oad-button:hover:not(:disabled) { border-color: #aeb9cb; background: #f8fafc; }
.oad-button:active:not(:disabled) { transform: translateY(1px); }
.oad-button:disabled { opacity: .48; cursor: not-allowed; }

.oad-button.primary {
    border-color: #4f5fc7;
    background: #4f5fc7;
    color: #fff;
    box-shadow: 0 7px 18px rgba(79, 95, 199, .18);
}

.oad-button.primary:hover:not(:disabled) { border-color: #3d4db4; background: #3d4db4; }
.oad-button.secondary { background: #fff; color: #4051b5; }
.oad-button.ghost { border-color: transparent; background: transparent; color: #667085; box-shadow: none; }
.oad-button.danger { border-color: #b93849; background: #b93849; color: #fff; }
.oad-button.danger:hover:not(:disabled) { border-color: #9f2c3d; background: #9f2c3d; }
.oad-button.warning { border-color: #a9660e; background: #a9660e; color: #fff; }

.oad-boundary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #cfdaea;
    border-radius: 12px;
    background: #f5f8fd;
    color: #526078;
    font-size: 12px;
    line-height: 1.6;
}

.oad-boundary.compact { margin-bottom: 14px; padding: 10px 12px; }
.oad-boundary strong { flex: 0 0 auto; color: #344054; }

.oad-summaries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.oad-summary {
    position: relative;
    display: grid;
    min-height: 110px;
    box-sizing: border-box;
    align-content: center;
    gap: 4px;
    overflow: hidden;
    padding: 16px 18px;
    border: 1px solid #dfe6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(36, 49, 75, .045);
}

.oad-summary::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #8695e6;
    content: "";
}

.oad-summary.success::before { background: #34a47b; }
.oad-summary.danger::before { background: #d34b5e; }
.oad-summary.warning::before { background: #dfa13b; }
.oad-summary > span { color: #667085; font-size: 11px; font-weight: 700; }
.oad-summary > strong { color: #202a3b; font-size: 27px; font-variant-numeric: tabular-nums; }
.oad-summary > small { color: #8a94a6; font-size: 10px; }

.oad-ledger {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(35, 49, 75, .05);
}

.oad-tabs,
.oad-detail-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
    border-bottom: 1px solid #e4e9f0;
    background: #fafbfe;
}

.oad-tabs { padding: 10px 16px; }
.oad-detail-tabs { flex: 0 0 auto; padding: 8px 24px; }

.oad-tabs button,
.oad-detail-tabs button {
    height: 40px;
    min-height: 40px;
    padding: 7px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #667085;
    font: inherit;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.oad-tabs button.active,
.oad-tabs button[aria-selected="true"],
.oad-detail-tabs button.active,
.oad-detail-tabs button[aria-selected="true"] {
    background: #edf0ff;
    color: #3547b0;
    font-weight: 760;
}

.oad-filters {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 180px 180px auto;
    gap: 11px;
    align-items: end;
    padding: 14px 16px;
    border-bottom: 1px solid #e7ebf1;
    background: #fff;
}

.oad-filters > label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.oad-filters > label > span {
    color: #667085;
    font-size: 10px;
    font-weight: 750;
}

.oad-filters input,
.oad-filters select,
.oad-pagination select {
    width: 100%;
    min-height: 39px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d1d9e6;
    border-radius: 9px;
    background: #fff;
    color: #2f394b;
    font: inherit;
    font-size: 12px;
}

.oad-filter-actions { display: flex; align-items: center; gap: 7px; }

.oad-table-wrap {
    width: 100%;
    overflow: auto;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
}

.oad-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.oad-table.delegations { min-width: 980px; }
.oad-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 11px 12px;
    border-bottom: 1px solid #dde4ee;
    background: #f6f8fb;
    color: #667085;
    font-size: 11px;
    font-weight: 760;
    text-align: left;
    white-space: nowrap;
}

.oad-table td {
    height: 58px;
    padding: 10px 12px;
    border-bottom: 1px solid #edf0f4;
    color: #485466;
    font-size: 12px;
    line-height: 1.45;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oad-table tbody tr:hover { background: #fafbff; }
.oad-table tbody tr:last-child td { border-bottom: 0; }
.oad-table td > strong,
.oad-table td > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oad-table td > strong { color: #273247; font-weight: 700; }
.oad-table td > small { margin-top: 3px; color: #8490a2; font-size: 10px; }

.oad-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef1f5;
    color: #596579;
    font-size: 10px;
    font-weight: 760;
    white-space: nowrap;
}

.oad-chip.active,
.oad-chip.approved,
.oad-chip.on_track,
.oad-chip.resolved { background: #e8f7f0; color: #176f50; }
.oad-chip.scheduled,
.oad-chip.submitted,
.oad-chip.in_review,
.oad-chip.pending,
.oad-chip.tracking { background: #eaf1ff; color: #315b9b; }
.oad-chip.due_soon { background: #fff5df; color: #956019; }
.oad-chip.breached,
.oad-chip.escalated,
.oad-chip.rejected { background: #ffedef; color: #a62f3d; }
.oad-chip.revoked,
.oad-chip.expired,
.oad-chip.cancelled { background: #f0f1f4; color: #667085; }
.oad-chip.returned { background: #fff4e5; color: #935d16; }

.oad-link {
    display: inline-flex;
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    align-items: center;
    justify-self: start;
    padding: 0 3px;
    border: 0;
    background: transparent;
    color: #4052bb;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.oad-link:hover:not(:disabled) { text-decoration: underline; }
.oad-link:disabled { opacity: .45; cursor: not-allowed; }

.oad-pagination {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #e7ebf1;
    background: #fbfcfe;
    color: #737e90;
    font-size: 11px;
}

.oad-pagination label,
.oad-pagination > div { display: flex; align-items: center; gap: 8px; }
.oad-pagination select { width: 78px; min-height: 34px; padding: 5px 7px; }
.oad-pagination .oad-button { min-height: 34px; padding: 6px 10px; }

.oad-state,
.oad-modal-state,
.oad-panel-empty {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    min-height: 260px;
    padding: 34px;
    color: #7b8495;
    text-align: center;
}

.oad-state > b,
.oad-modal-state > b {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #eef1ff;
    color: #4f5fc7;
}

.oad-state strong,
.oad-modal-state strong,
.oad-panel-empty strong { color: #30384a; font-size: 16px; }
.oad-state p,
.oad-modal-state p,
.oad-panel-empty p { max-width: 560px; margin: 0 0 7px; line-height: 1.6; }
.oad-state.error > b,
.oad-modal-state.error > b { background: #ffedef; color: #b43748; }
.oad-state.error strong,
.oad-modal-state.error strong { color: #a62f3d; }
.oad-panel-empty { min-height: 150px; padding: 24px; border: 1px dashed #d8e0eb; border-radius: 11px; background: #fafbfd; }

.oad-spinner {
    width: 27px;
    height: 27px;
    box-sizing: border-box;
    border: 3px solid #dbe1ed;
    border-top-color: #5967d8;
    border-radius: 50%;
    animation: oad-spin .78s linear infinite;
}

@keyframes oad-spin { to { transform: rotate(360deg); } }

body.oad-modal-open { overflow: hidden; }

.oad-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(21, 30, 46, .42);
    backdrop-filter: blur(3px);
}

.oad-modal {
    --oad-primary: #4f5fc7;
    display: flex;
    flex-direction: column;
    width: min(820px, calc(100vw - 36px));
    max-height: calc(100dvh - 36px);
    overflow: hidden;
    border: 1px solid rgba(221, 227, 237, .95);
    border-radius: 18px;
    background: #fff;
    color: #263247;
    box-shadow: 0 28px 90px rgba(20, 31, 50, .27);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.oad-modal.wide { width: min(920px, calc(100vw - 36px)); }
.oad-modal.large { width: min(1040px, calc(100vw - 36px)); }

.oad-modal > header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 24px 17px;
    border-bottom: 1px solid #e4e9f0;
    background: #fff;
}

.oad-modal > header h2 { margin: 5px 0 5px; color: #202a3b; font-size: 22px; line-height: 1.3; }
.oad-modal > header p { margin: 0; color: #758094; font-size: 11px; line-height: 1.5; }

.oad-close {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f4f6f9;
    color: #647083;
    font: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.oad-close:hover { background: #eceff4; color: #2f394b; }
.oad-close.floating { position: absolute; top: 15px; right: 15px; }

.oad-modal-body {
    min-height: 0;
    padding: 20px 24px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.oad-form,
.oad-inline-form,
.oad-action-grid form { display: grid; gap: 14px; }

.oad-form-grid,
.oad-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
}

.oad-field {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.oad-field > span,
.oad-check-field > legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #455168;
    font-size: 11px;
    font-weight: 730;
}

.oad-field > span em,
.oad-check-field legend em {
    padding: 1px 5px;
    border-radius: 5px;
    background: #fff1f2;
    color: #b4233d;
    font-size: 9px;
    font-style: normal;
}

.oad-field :is(input, select, textarea) {
    width: 100%;
    min-height: 41px;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #cfd8e5;
    border-radius: 9px;
    background: #fff;
    color: #222f43;
    font: inherit;
    font-size: 12px;
}

.oad-field textarea { min-height: 88px; line-height: 1.55; resize: vertical; }
.oad-field > small,
.oad-check-field > small { min-height: 14px; color: #7b8798; font-size: 10px; line-height: 1.4; }
.oad-field.has-error :is(input, select, textarea),
.oad-field :is(input, select, textarea)[aria-invalid="true"],
.oad-check-field.has-error { border-color: #d14354; background: #fffafb; box-shadow: 0 0 0 3px rgba(209, 67, 84, .1); }
.oad-field.has-error > small,
.oad-check-field.has-error > small { color: #c13646; font-weight: 650; }

.oad-check-field {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid #d6deea;
    border-radius: 10px;
}

.oad-check-field.wide { grid-column: 1 / -1; }
.oad-check-field[hidden] { display: none; }
.oad-check-field > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.oad-check-field > div label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 9px; border: 1px solid #dbe2ec; border-radius: 8px; background: #fafbfd; color: #4d596c; font-size: 11px; cursor: pointer; }
.oad-check-field input { accent-color: #4f5fc7; }

.oad-form-error {
    padding: 10px 12px;
    border: 1px solid #efb8bf;
    border-radius: 9px;
    background: #fff4f5;
    color: #a92e3b;
    font-size: 11px;
    line-height: 1.55;
}

.oad-form-error[hidden] { display: none; }
.oad-form > footer { display: flex; justify-content: flex-end; gap: 9px; padding-top: 14px; border-top: 1px solid #e5e9f0; }

.oad-detail-list { margin: 0; }
.oad-detail-list > div { min-width: 0; padding: 12px 13px; border: 1px solid #e1e7ef; border-radius: 10px; background: #fafbfe; }
.oad-detail-list > div.wide { grid-column: 1 / -1; }
.oad-detail-list dt { margin-bottom: 5px; color: #7b8495; font-size: 10px; }
.oad-detail-list dd { margin: 0; color: #2c3749; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }

.oad-subsection { margin-top: 17px; padding-top: 15px; border-top: 1px solid #e5e9f0; }
.oad-subsection > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.oad-subsection > header h3 { margin: 0; color: #344054; font-size: 13px; }
.oad-subsection > header span { color: #7e899a; font-size: 10px; }

.oad-timeline,
.oad-route,
.oad-audit-list { display: grid; gap: 10px; }

.oad-timeline > article,
.oad-route > article {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e7ef;
    border-radius: 11px;
    background: #fff;
}

.oad-timeline > article > i,
.oad-route > article > span {
    display: grid;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    place-items: center;
    border-radius: 50%;
    background: #eef1ff;
    color: #4053bc;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.oad-timeline > article > i::before { content: "•"; font-size: 18px; }
.oad-timeline article header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.oad-timeline article header span { color: #5363c9; font-size: 9px; font-weight: 760; }
.oad-timeline p,
.oad-route p,
.oad-route blockquote { margin: 4px 0; color: #677489; font-size: 11px; line-height: 1.55; }
.oad-timeline small,
.oad-route small { color: #8490a2; font-size: 10px; }
.oad-route blockquote { padding: 7px 9px; border-left: 2px solid #cbd5e1; background: #fafbfc; }

.oad-audit-list > article {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 13px;
    padding: 11px 0;
    border-bottom: 1px solid #ebeff4;
}

.oad-audit-list > article:last-child { border-bottom: 0; }
.oad-audit-list time { color: #7b8798; font-size: 10px; }
.oad-audit-list strong { color: #344054; font-size: 11px; }
.oad-audit-list p { margin: 3px 0; color: #637086; font-size: 11px; line-height: 1.55; }
.oad-audit-list small { color: #8a94a6; font-size: 9px; }

.oad-action-zone {
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid #dfe5ed;
}

.oad-action-zone > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
.oad-action-zone > header h3 { margin: 0 0 4px; color: #293548; font-size: 14px; }
.oad-action-zone > header p { margin: 0; color: #6b778b; font-size: 10px; line-height: 1.55; }
.oad-action-zone > header > span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #eef1ff; color: #4052b8; font-size: 9px; font-weight: 750; }

.oad-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }
.oad-action-grid > details { align-self: start; overflow: hidden; border: 1px solid #dbe3ed; border-radius: 11px; background: #fff; }
.oad-action-grid > details > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; color: #344054; font-size: 11px; font-weight: 750; cursor: pointer; list-style: none; }
.oad-action-grid > details > summary::-webkit-details-marker { display: none; }
.oad-action-grid > details > summary::after { content: "展开"; color: #5363c9; font-size: 9px; }
.oad-action-grid > details[open] > summary { border-bottom: 1px solid #e5e9f0; background: #fafbfe; }
.oad-action-grid > details[open] > summary::after { content: "收起"; }
.oad-action-grid > details > form { align-items: start; padding: 13px; }

.oad-inline-form { align-items: start; padding: 13px; border: 1px solid #e1e7ef; border-radius: 11px; background: #fafbfe; }
.oad-view-gate { display: flex; align-items: flex-start; gap: 13px; padding: 13px 14px; border: 1px solid #d6deea; border-radius: 11px; background: #f8fafd; color: #657186; font-size: 11px; line-height: 1.55; }
.oad-view-gate strong { flex: 0 0 auto; color: #344054; }

.oad-modal-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
    border-top: 1px solid #e0e6ef;
    background: rgba(255, 255, 255, .98);
}

.oad-modal-footer > span { color: #758094; font-size: 9px; line-height: 1.45; }

.oad-shell :is(button, input, select, textarea):focus-visible,
.oad-modal :is(button, input, select, textarea, summary):focus-visible {
    border-color: #6575dc;
    outline: 3px solid rgba(79, 95, 199, .15);
    outline-offset: 1px;
}

@media (max-width: 960px) {
    .oad-summaries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oad-filters { grid-template-columns: minmax(220px, 1fr) 160px 160px; }
    .oad-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 700px) {
    .oad-button,
    .oad-link,
    .oad-tabs button,
    .oad-detail-tabs button { height: 44px; min-height: 44px; }
    .oad-hero { flex-direction: column; align-items: stretch; gap: 13px; }
    .oad-hero > .oad-button { width: 100%; }
    .oad-boundary { flex-direction: column; gap: 5px; }
    .oad-summaries { grid-template-columns: 1fr 1fr; gap: 8px; }
    .oad-summary { min-height: 96px; padding: 13px 14px; }
    .oad-summary > strong { font-size: 23px; }
    .oad-filters { grid-template-columns: 1fr; }
    .oad-filter-actions { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; }
    .oad-pagination { grid-template-columns: 1fr; gap: 9px; }
    .oad-pagination > div { justify-content: space-between; }
    .oad-pagination label { justify-content: flex-start; }

    .oad-table-wrap { overflow: visible; }
    .oad-table,
    .oad-table.delegations,
    .oad-table tbody { display: block; min-width: 0; }
    .oad-table thead { display: none; }
    .oad-table tr { display: grid; gap: 8px; margin: 11px; padding: 13px; border: 1px solid #e0e6ef; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(35, 49, 75, .04); }
    .oad-table td { display: grid; grid-template-columns: 100px minmax(0, 1fr); min-height: 30px; height: auto; padding: 3px 0; border: 0; text-align: right; overflow: visible; }
    .oad-table td::before { align-self: start; color: #7b8495; font-size: 10px; font-weight: 700; text-align: left; content: attr(data-label); }
    .oad-table td > :is(strong, small, span, button) { justify-self: end; max-width: 100%; }
    .oad-table td > small { white-space: normal; }

    .oad-modal-mask { align-items: center; justify-content: center; padding: 7px; }
    .oad-modal,
    .oad-modal.wide,
    .oad-modal.large { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); border-radius: 15px; }
    .oad-modal > header { padding: 17px 17px 14px; }
    .oad-modal > header h2 { font-size: 19px; }
    .oad-detail-tabs { padding-inline: 13px; }
    .oad-modal-body { padding: 16px 17px; }
    .oad-form-grid,
    .oad-detail-list,
    .oad-action-grid { grid-template-columns: 1fr; }
    .oad-check-field.wide,
    .oad-detail-list > div.wide { grid-column: auto; }
    .oad-form > footer,
    .oad-modal-footer,
    .oad-view-gate,
    .oad-action-zone > header { flex-direction: column; align-items: stretch; }
    .oad-form > footer .oad-button,
    .oad-modal-footer .oad-button,
    .oad-action-grid .oad-button,
    .oad-inline-form .oad-button { width: 100%; }
    .oad-modal-footer { padding: 11px 17px; }
    .oad-audit-list > article { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 420px) {
    .oad-summaries { grid-template-columns: 1fr; }
    .oad-summary { min-height: 82px; }
    .oad-table td { grid-template-columns: 82px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .oad-spinner { animation-duration: 1.6s; }
    .oad-button { transition: none; }
}
