.oel-shell {
    --oel-ink: #172033;
    --oel-muted: #677389;
    --oel-line: #e1e7f0;
    --oel-soft: #f7f9fc;
    --oel-brand: #4f46e5;
    --oel-brand-dark: #3730a3;
    --oel-danger: #b42338;
    display: grid;
    gap: 18px;
    color: var(--oel-ink);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.oel-shell *, .oel-modal *, .oel-modal-mask { box-sizing: border-box; }
.oel-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 30px;
    border: 1px solid #dfe5ef;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #f6f7ff 60%, #f2f7ff 100%);
    box-shadow: 0 16px 44px rgba(31, 45, 77, .07);
}
.oel-eyebrow { color: #6366f1; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.oel-hero h2, .oel-modal h2 { margin: 7px 0 7px; color: #1d2638; font-size: 24px; line-height: 1.25; }
.oel-hero p, .oel-modal > header p { max-width: 780px; margin: 0; color: var(--oel-muted); font-size: 12px; line-height: 1.75; }

.oel-button, .oel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    justify-self: start;
    width: auto;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #d5dce8;
    border-radius: 9px;
    background: #fff;
    color: #475469;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}
.oel-button:hover:not(:disabled), .oel-link:hover:not(:disabled) { border-color: #aeb9cd; background: #fafbfe; }
.oel-button:focus-visible, .oel-link:focus-visible, .oel-close:focus-visible, .oel-detail-tabs button:focus-visible { outline: 3px solid rgba(79, 70, 229, .2); outline-offset: 2px; }
.oel-button.primary { border-color: var(--oel-brand); background: var(--oel-brand); color: #fff; box-shadow: 0 7px 18px rgba(79, 70, 229, .18); }
.oel-button.primary:hover:not(:disabled) { border-color: var(--oel-brand-dark); background: var(--oel-brand-dark); }
.oel-button.danger { border-color: var(--oel-danger); background: var(--oel-danger); color: #fff; }
.oel-button.ghost { background: #fff; color: #536076; }
.oel-button:disabled, .oel-link:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.oel-link { height: 38px; min-height: 38px; padding: 0 9px; border-color: transparent; background: transparent; color: #3f4fbd; }
.oel-hero > .oel-button { align-self: flex-start; }

.oel-ai-boundary {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border: 1px solid #dcdcfb;
    border-left: 4px solid #7569ee;
    border-radius: 12px;
    background: #f7f6ff;
}
.oel-ai-boundary b { color: #423aa7; font-size: 12px; }
.oel-ai-boundary span { color: #646b83; font-size: 11px; line-height: 1.65; }

.oel-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.oel-metric { display: grid; gap: 5px; padding: 17px 18px; border: 1px solid var(--oel-line); border-radius: 14px; background: #fff; }
.oel-metric span { color: #69758a; font-size: 11px; }
.oel-metric strong { color: #3345ad; font-size: 25px; line-height: 1.1; }
.oel-metric small { color: #8a94a5; font-size: 10px; }
.oel-metric.success strong { color: #16754b; }
.oel-metric.danger strong { color: #ad293c; }

.oel-ledger { border: 1px solid var(--oel-line); border-radius: 16px; background: #fff; overflow: hidden; }
.oel-ledger > header { padding: 18px 20px 14px; }
.oel-ledger h3 { margin: 0 0 5px; color: #273146; font-size: 16px; }
.oel-ledger > header p { margin: 0; color: #788397; font-size: 11px; line-height: 1.6; }
.oel-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .7fr) minmax(180px, .8fr) auto;
    align-items: end;
    gap: 11px;
    padding: 14px 20px;
    border-block: 1px solid var(--oel-line);
    background: #fafbfc;
}
.oel-filter-actions, .oel-form-actions, .oel-command-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.oel-filter-actions { align-self: end; justify-self: end; }

.oel-field { display: grid; align-content: start; gap: 6px; min-width: 0; color: #566276; font-size: 11px; }
.oel-field.wide { grid-column: 1 / -1; }
.oel-field > span { font-weight: 650; }
.oel-field em { margin-left: 3px; color: #c1293f; font-style: normal; }
.oel-field input, .oel-field select, .oel-field textarea, .oel-pagination select {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
    background: #fff;
    color: #293448;
    font: inherit;
    font-size: 12px;
    line-height: 1.45;
}
.oel-field textarea { min-height: 88px; resize: vertical; }
.oel-field input:hover, .oel-field select:hover, .oel-field textarea:hover { border-color: #abb7ca; }
.oel-field input:focus, .oel-field select:focus, .oel-field textarea:focus, .oel-pagination select:focus { border-color: #6258dc; outline: 3px solid rgba(79, 70, 229, .13); }
.oel-field small { min-height: 14px; color: #8b95a7; font-size: 9px; line-height: 1.45; }
.oel-field.has-error input, .oel-field.has-error select, .oel-field.has-error textarea { border-color: #ce4257; background: #fffafb; }
.oel-field.has-error small { color: #b42338; font-weight: 650; }
.oel-field[hidden], .oel-form-section[hidden] { display: none !important; }

.oel-table-scroll { width: 100%; overflow: auto; scrollbar-gutter: stable; }
.oel-table { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: fixed; }
.oel-table th { padding: 11px 14px; border-bottom: 1px solid var(--oel-line); background: #fafbfc; color: #778398; font-size: 10px; font-weight: 750; text-align: left; }
.oel-table td { padding: 13px 14px; border-bottom: 1px solid #edf0f4; color: #4c586c; font-size: 11px; line-height: 1.5; vertical-align: middle; }
.oel-table tbody tr:hover { background: #fbfcff; }
.oel-table th:nth-child(1), .oel-table td:nth-child(1) { width: 150px; }
.oel-table th:nth-child(2), .oel-table td:nth-child(2) { width: 86px; }
.oel-table th:nth-child(3), .oel-table td:nth-child(3) { width: 150px; }
.oel-table th:nth-child(4), .oel-table td:nth-child(4) { width: 180px; }
.oel-table th:nth-child(5), .oel-table td:nth-child(5) { width: 105px; }
.oel-table th:nth-child(6), .oel-table td:nth-child(6) { width: 130px; }
.oel-table th:nth-child(7), .oel-table td:nth-child(7) { width: 142px; }
.oel-table th:nth-child(8), .oel-table td:nth-child(8) { width: 72px; }
.oel-table td strong, .oel-table td small, .oel-table td span { display: block; }
.oel-table td strong { color: #2f394b; font-size: 12px; }
.oel-table td small { margin-top: 3px; color: #8b95a6; font-size: 9px; }
.oel-clamp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.oel-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 5px 8px; border-radius: 999px; background: #eef1f5; color: #5f6b7d; font-size: 10px; font-weight: 750; white-space: nowrap; }
.oel-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.oel-status--draft, .oel-status--returned, .oel-status--pending, .oel-status--ready { background: #f1f3f7; color: #596579; }
.oel-status--pending_approval, .oel-status--effecting, .oel-status--running, .oel-status--compensating, .oel-status--proposed { background: #edf1ff; color: #4053bd; }
.oel-status--approved_pending_effective, .oel-status--effective, .oel-status--succeeded, .oel-status--completed, .oel-status--accepted { background: #e8f8ef; color: #19734b; }
.oel-status--partial_failed, .oel-status--failed, .oel-status--manual_intervention { background: #fff0f1; color: #ac263c; }
.oel-status--rejected, .oel-status--cancelled, .oel-status--compensated, .oel-status--stale { background: #f4f1f1; color: #77686a; }

.oel-pagination { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 13px 16px; border-top: 1px solid var(--oel-line); color: #798497; font-size: 11px; }
.oel-pagination p { margin: 0; }
.oel-pagination > div { display: flex; gap: 7px; }
.oel-pagination > label { display: flex; align-items: center; gap: 7px; }
.oel-pagination select { width: auto; min-height: 38px; padding-block: 6px; }

.oel-state, .oel-modal-state { display: grid; min-height: 300px; place-items: center; align-content: center; gap: 8px; padding: 34px; color: #768197; text-align: center; }
.oel-state b, .oel-modal-state b { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #eff1fa; color: #5660bd; font-size: 18px; }
.oel-state strong, .oel-modal-state strong { color: #354054; font-size: 16px; }
.oel-state p, .oel-modal-state p { max-width: 560px; margin: 0; font-size: 11px; line-height: 1.7; }
.oel-state.error b, .oel-modal-state.error b { background: #fff0f1; color: #b42338; }
.oel-state.error strong, .oel-modal-state.error strong { color: #a5263b; }
.oel-spinner { width: 24px; height: 24px; border: 3px solid #dde2ef; border-top-color: #5b53d3; border-radius: 50%; animation: oel-spin .75s linear infinite; }
@keyframes oel-spin { to { transform: rotate(360deg); } }

html.oel-modal-open { overflow: hidden; }
.oel-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(19, 27, 44, .48);
    backdrop-filter: blur(5px);
}
.oel-modal {
    display: flex;
    flex-direction: column;
    width: min(1040px, calc(100vw - 36px));
    height: auto;
    max-height: calc(100dvh - 36px);
    border: 1px solid #dbe2ed;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16, 26, 47, .27);
    overflow: hidden;
}
.oel-modal.medium { width: min(780px, calc(100vw - 36px)); }
.oel-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex: 0 0 auto; padding: 22px 24px 18px; border-bottom: 1px solid var(--oel-line); background: #fff; }
.oel-modal > header > div { min-width: 0; }
.oel-close { display: inline-grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border: 1px solid #dbe1eb; border-radius: 9px; background: #fff; color: #667287; cursor: pointer; font-size: 23px; line-height: 1; }
.oel-close:hover { background: #f6f7fa; color: #222d40; }
.oel-modal-body { min-height: 260px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.oel-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 13px 16px; padding: 22px 24px 0; }
.oel-form-section { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin-top: 4px; padding: 11px 0 3px; border-top: 1px solid var(--oel-line); }
.oel-form-section h4 { margin: 0; color: #303a50; font-size: 13px; }
.oel-form-section p { margin: 0; color: #8993a5; font-size: 10px; }
.oel-form-error { padding: 11px 13px; border: 1px solid #efc6cc; border-radius: 9px; background: #fff2f3; color: #a9253a; font-size: 11px; line-height: 1.6; }
.oel-form-error[hidden] { display: none; }
.oel-form > .oel-form-error, .oel-form > .oel-form-actions { grid-column: 1 / -1; }
.oel-form-actions { position: sticky; bottom: 0; z-index: 4; margin: 6px -24px 0; padding: 14px 24px; border-top: 1px solid var(--oel-line); background: rgba(255, 255, 255, .98); box-shadow: 0 -10px 28px rgba(32, 46, 75, .06); }

.oel-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 24px 13px; background: #fafbfe; }
.oel-detail-heading span { color: #737f94; font-size: 10px; }
.oel-detail-heading h3 { margin: 4px 0 0; color: #273147; font-size: 17px; }
.oel-detail-tabs { position: sticky; top: 0; z-index: 6; display: flex; gap: 4px; padding: 7px 24px; border-block: 1px solid var(--oel-line); background: rgba(255, 255, 255, .97); overflow: auto; backdrop-filter: blur(10px); }
.oel-detail-tabs button { flex: 0 0 auto; width: auto; min-height: 40px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; color: #6d788c; cursor: pointer; font: inherit; font-size: 11px; font-weight: 650; white-space: nowrap; }
.oel-detail-tabs button.active { background: #eef0ff; color: #433bb3; box-shadow: inset 0 0 0 1px #dedffc; }
.oel-detail-panel { padding: 22px 24px 26px; }
.oel-detail-panel[hidden] { display: none !important; }
.oel-modal-footer { display: flex; justify-content: flex-end; padding: 13px 24px; border-top: 1px solid var(--oel-line); background: #fff; }
.oel-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 0; }
.oel-facts > div { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 14px 15px; border: 1px solid var(--oel-line); border-radius: 11px; background: #fafbfe; }
.oel-facts > div.wide { grid-column: 1 / -1; }
.oel-facts dt { color: #818b9d; font-size: 9px; }
.oel-facts dd { min-width: 0; margin: 0; color: #313b4e; font-size: 12px; font-weight: 650; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

.oel-inline-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 7px; padding: 28px; border: 1px dashed #d9e0eb; border-radius: 12px; background: #fafbfc; color: #8490a2; text-align: center; }
.oel-inline-empty strong { color: #505c70; font-size: 13px; }
.oel-inline-empty p { max-width: 520px; margin: 0; font-size: 10px; line-height: 1.6; }
.oel-snapshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.oel-snapshot { min-width: 0; border: 1px solid var(--oel-line); border-radius: 12px; background: #fbfcfe; overflow: hidden; }
.oel-snapshot.planned { border-color: #dcdcfb; background: #fbfaff; }
.oel-snapshot.actual { border-color: #cce8d9; background: #f8fdf9; }
.oel-snapshot > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border-bottom: 1px solid var(--oel-line); }
.oel-snapshot h4 { margin: 0; color: #344054; font-size: 12px; }
.oel-snapshot header span { color: #8892a5; font-size: 9px; }
.oel-snapshot dl { margin: 0; }
.oel-snapshot dl div { display: grid; grid-template-columns: minmax(72px, .65fr) minmax(0, 1.35fr); gap: 8px; padding: 9px 14px; border-bottom: 1px solid #e9edf3; }
.oel-snapshot dl div:last-child { border-bottom: 0; }
.oel-snapshot dt { color: #8490a3; font-size: 9px; }
.oel-snapshot dd { margin: 0; color: #394558; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.oel-snapshot > p { min-height: 150px; margin: 0; padding: 28px 16px; color: #8994a6; font-size: 10px; line-height: 1.65; text-align: center; }

.oel-timeline, .oel-audit { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.oel-timeline li, .oel-audit li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 0 0 18px; }
.oel-timeline li::before, .oel-audit li::before { content: ""; position: absolute; top: 13px; bottom: -1px; left: 5px; width: 1px; background: #dfe5ed; }
.oel-timeline li:last-child::before, .oel-audit li:last-child::before { display: none; }
.oel-timeline li > i, .oel-audit li > i { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 3px; border: 3px solid #e8ebf1; border-radius: 50%; background: #7a879a; }
.oel-timeline li.approved > i, .oel-timeline li.completed > i { border-color: #d6f0e2; background: #1a8052; }
.oel-timeline li.rejected > i, .oel-timeline li.returned > i { border-color: #f8dce0; background: #b42338; }
.oel-timeline strong, .oel-audit strong { display: block; color: #344054; font-size: 12px; }
.oel-timeline span, .oel-audit span, .oel-timeline time { display: block; margin-top: 3px; color: #7b8698; font-size: 10px; }
.oel-timeline p, .oel-audit p { margin: 6px 0 0; padding: 9px 10px; border-radius: 7px; background: #f7f8fa; color: #606b7e; font-size: 10px; line-height: 1.55; }

.oel-task-list, .oel-suggestion-list { display: grid; gap: 12px; }
.oel-task-list > article, .oel-suggestion-list > article { padding: 16px; border: 1px solid var(--oel-line); border-radius: 13px; background: #fbfcfe; }
.oel-task-list article > header, .oel-suggestion-list article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.oel-task-list header span, .oel-suggestion-list header span { color: #7d889a; font-size: 9px; }
.oel-task-list h4, .oel-suggestion-list h4 { margin: 4px 0 0; color: #303a4e; font-size: 13px; }
.oel-task-list dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 13px 0 0; }
.oel-task-list dl div { min-width: 0; padding: 10px; border-radius: 8px; background: #fff; }
.oel-task-list dt { color: #8b95a6; font-size: 9px; }
.oel-task-list dd { margin: 5px 0 0; color: #495568; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.oel-model-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.oel-model-meta span { padding: 5px 8px; border-radius: 7px; background: #eef1f5; color: #687386; font-size: 9px; }
.oel-evidence { max-height: 420px; margin: 12px 0; padding: 14px; border-radius: 10px; background: #192235; color: #dce8fb; font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow: auto; overflow-wrap: anywhere; }
.oel-prose { margin: 12px 0; padding: 13px 14px; border: 1px solid #e2e6ef; border-radius: 10px; background: #fff; color: #4e5a6e; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.oel-suggestion-list article > aside { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: #fff8e7; color: #75511a; font-size: 10px; line-height: 1.55; }
.oel-decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }

.oel-action-zone > aside { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 14px; border: 1px solid #dce2ec; border-radius: 10px; background: #f8f9fc; color: #667287; font-size: 10px; line-height: 1.6; }
.oel-action-zone > aside b { color: #3d485d; }
.oel-action-list { display: grid; gap: 10px; margin-top: 12px; align-items: start; }
.oel-action-list > .oel-button { justify-self: start; }
.oel-action-card { align-self: start; border: 1px solid #dce2ec; border-radius: 11px; background: #fbfcfe; overflow: hidden; }
.oel-action-card.emphasized { border-color: #cbd0fa; background: #faf9ff; }
.oel-action-card.danger { border-color: #edccd1; background: #fffafa; }
.oel-action-card.ai { border-color: #dcd9fa; background: #fbfaff; }
.oel-action-card > summary { padding: 13px 15px; color: #4653ae; cursor: pointer; font-size: 11px; font-weight: 800; }
.oel-action-card.danger > summary { color: #a5293c; }
.oel-action-card[open] > summary { border-bottom: 1px solid var(--oel-line); }
.oel-command-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; padding: 15px; }
.oel-command-form > .wide, .oel-command-form > .oel-confirm, .oel-command-form > .oel-form-error, .oel-command-form > .oel-command-actions, .oel-command-form > .oel-action-note { grid-column: 1 / -1; }
.oel-command-actions { justify-self: end; }
.oel-action-note { margin: 0; padding: 10px 12px; border-radius: 8px; background: #f2f4f8; color: #687386; font-size: 10px; line-height: 1.6; }
.oel-confirm { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border: 1px solid #dce2ec; border-radius: 9px; background: #fff; color: #536076; font-size: 10px; line-height: 1.55; }
.oel-confirm input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--oel-brand); }
.oel-confirm.has-error { border-color: #ce4257; background: #fffafb; }

@media (max-width: 980px) {
    .oel-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oel-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oel-filter-actions { justify-self: start; }
    .oel-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oel-snapshot-grid { grid-template-columns: 1fr; }
    .oel-task-list dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .oel-shell { gap: 14px; }
    .oel-hero { align-items: stretch; flex-direction: column; padding: 21px 19px; }
    .oel-hero > .oel-button { align-self: flex-start; }
    .oel-ai-boundary { grid-template-columns: 1fr; }
    .oel-metrics, .oel-filters, .oel-form, .oel-facts, .oel-task-list dl, .oel-decision-grid, .oel-command-form { grid-template-columns: 1fr; }
    .oel-filters { align-items: stretch; padding-inline: 16px; }
    .oel-filter-actions { justify-self: stretch; }
    .oel-ledger > header { padding-inline: 16px; }
    .oel-pagination { grid-template-columns: 1fr; align-items: stretch; }
    .oel-pagination > label { justify-content: space-between; }
    .oel-modal-mask { padding: 8px; place-items: center; }
    .oel-modal, .oel-modal.medium { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
    .oel-modal > header { padding: 18px 16px; }
    .oel-modal > header p { padding-right: 4px; }
    .oel-modal-body { scrollbar-gutter: auto; }
    .oel-form { padding: 18px 16px 0; }
    .oel-form > .oel-form-error, .oel-form > .oel-form-actions, .oel-form > .oel-field.wide, .oel-form-section { grid-column: auto; }
    .oel-form-section { display: grid; gap: 4px; }
    .oel-form-actions { margin-inline: -16px; padding-inline: 16px; }
    .oel-detail-heading, .oel-detail-panel { padding-inline: 16px; }
    .oel-modal-footer { padding-inline: 16px; }
    .oel-detail-tabs { padding-inline: 16px; }
    .oel-command-form > .wide, .oel-command-form > .oel-confirm, .oel-command-form > .oel-form-error, .oel-command-form > .oel-command-actions, .oel-command-form > .oel-action-note { grid-column: auto; }
    .oel-suggestion-list article > aside, .oel-action-zone > aside { grid-template-columns: 1fr; }
    .oel-button, .oel-link { min-height: 44px; height: 44px; }
    .oel-detail-tabs button { min-height: 44px; }
    .oel-field input, .oel-field select, .oel-field textarea { min-height: 44px; font-size: 16px; }
}

@media (max-width: 420px) {
    .oel-metrics { grid-template-columns: 1fr; }
    .oel-detail-heading { align-items: flex-start; flex-direction: column; }
    .oel-form-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .oel-form-actions .oel-button { width: 100%; }
    .oel-filter-actions .oel-button { flex: 1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
    .oel-shell *, .oel-modal * { scroll-behavior: auto !important; transition: none !important; }
    .oel-spinner { animation-duration: 1.5s; }
}
