.op-shell {
    --op-panel: var(--panel, #fff);
    --op-bg: var(--bg, #f1f2f6);
    --op-ink: var(--ink, #1b2427);
    --op-muted: var(--muted, #50595e);
    --op-line: var(--line, #dce0e4);
    --op-accent: #009d9e;
    --op-soft: #ebfafb;
    --op-soft-ink: #075456;
    --op-neutral: #e9edf0;
    --op-warning: #faf3d4;
    --op-warn-ink: #674e09;
    --op-danger: #fff0f0;
    --op-danger-ink: #9b2226;
    --op-good: #daf8e5;
    --op-good-ink: #126138;
    --op-shadow: 0 10px 22px -17px #17283348, 0 2px 2px #17283306;
    container: owner-paid / inline-size;
    color: var(--op-ink);
    min-width: 0;
}

[data-theme=dark] .op-shell {
    --op-accent: #2bc3c3;
    --op-soft: #15383c;
    --op-soft-ink: #a7e6e7;
    --op-neutral: #30373e;
    --op-warning: #3d311a;
    --op-warn-ink: #ffe29a;
    --op-danger: #3e242b;
    --op-danger-ink: #ffb8b8;
    --op-good: #153a2b;
    --op-good-ink: #a6efc1;
    --op-shadow: 0 8px 20px -14px #0009;
    color-scheme: dark;
}

.op-shell :where(h1, h2, h3, p, dl, dd, fieldset) { margin: 0; }
.op-shell h1 { font-size: clamp(1.75rem, 1.25rem + 1.4vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.op-shell h2 { font-size: 1.03rem; line-height: 1.25; letter-spacing: -.012em; }
.op-shell h3 { font-size: .91rem; }
.op-shell p { color: var(--op-muted); line-height: 1.45; }
.op-shell small { color: var(--op-muted); font-size: .82em; }
.op-shell :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--op-accent); outline-offset: 2px; }
.op-shell input:is([type=checkbox], [type=radio]) { width: 19px; height: 19px; min-height: 0; padding: 0; flex: 0 0 auto; margin: 0; accent-color: var(--op-accent); }
.op-shell form { width: auto; max-width: none; }
.op-shell form :is(label.op-field, label.op-option, label.op-pill, label.op-inline-check) { display: flex; margin: 0; }
.op-shell form fieldset, .op-shell fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.op-shell legend { padding: 0; margin-block: 0 8px; font-size: .87rem; font-weight: 600; }
.op-shell legend small { margin-inline-start: .25rem; font-weight: 400; }

.op-shell .op-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
}

.op-stack { display: grid; gap: 18px; min-width: 0; align-content: start; }
.op-compact { gap: 8px; }
.op-line, .op-actions, .op-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.op-line > *, .op-page-head > * { min-width: 0; }
.op-group { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.op-shell .op-page-head { margin-block-end: 5px; }
.op-page-head p { margin-block-start: 4px; }
.op-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.op-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.op-split { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.op-inbox { grid-template-columns: minmax(0, 1fr) minmax(0, 2.04fr); }
.op-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }

.op-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--op-line);
    border-radius: 17px;
    background: var(--op-panel);
    box-shadow: var(--op-shadow);
}

.op-flush { padding: 0; overflow: hidden; }
.op-card h2 + p, .op-card h3 + p { margin-block-start: 3px; }
.op-list-title { padding: 16px; }
.op-list-title h2 .op-tag { margin-inline-start: 5px; }
.op-list-title h2 + div { margin-block-start: 12px; }
.op-list-title.op-line h2 + div { margin-block-start: 0; }
.op-shell .op-kicker { font-weight: 600; font-size: .77rem; text-transform: uppercase; letter-spacing: .105em; }
.op-muted { color: var(--op-muted); }
.op-mono { font-family: "IBM Plex Mono", ui-monospace, monospace !important; }
.op-centered { text-align: center; }

.op-shell .op-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin: 0;
    padding: 7px 14px;
    background: var(--op-panel);
    border: 1px solid var(--op-line);
    border-radius: 12px;
    color: var(--op-ink);
    font: inherit;
    font-size: .9rem;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 2px #152a3812;
}

.op-shell .op-button:hover { filter: brightness(.96); }
.op-shell .op-primary { background: var(--op-accent); border-color: var(--op-accent); color: #062528; }
.op-shell .op-danger-button { background: #d71523; border-color: #d71523; color: #fff; }
.op-shell .op-text-button { background: transparent; border-color: transparent; box-shadow: none; }
.op-shell .op-icon-button { width: 34px; min-height: 34px; padding: 0; }
.op-shell .op-disabled { color: var(--op-muted); cursor: default; }
.op-shell .op-field { display: flex; flex-direction: column; align-items: stretch; gap: 7px; color: var(--op-ink); font-size: .83rem; font-weight: 600; }

.op-shell :is(.op-field input, .op-field select, .op-field textarea, .op-filter input, .op-filter select, input.op-mono) {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    background: var(--op-panel);
    color: var(--op-ink);
    border: 1px solid var(--op-line);
    border-radius: 11px;
    font: inherit;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: inset 0 1px 2px #00000007;
    box-sizing: border-box;
}

.op-shell .op-field textarea { resize: vertical; }
.op-shell input.op-mono { font-size: .78rem; }
.op-shell :is(.op-field input, .op-field textarea):user-invalid { border-color: #c32433; }
.op-currency { position: relative; }
.op-currency > span { position: absolute; inset-inline-start: 12px; inset-block-start: 50%; transform: translateY(-50%); color: var(--op-muted); font-weight: 400; pointer-events: none; }
.op-shell .op-currency input { padding-inline-start: 22px; }
.op-inline-check { align-items: center; gap: 10px; font-size: .92rem; font-weight: 400; }
.op-segment { display: flex; border-radius: 12px; background: var(--op-neutral); padding: 3px; min-width: 0; }
.op-shell .op-segment button { flex: 1; border: 1px solid transparent; background: none; min-height: 30px; border-radius: 10px; padding: 5px 8px; color: var(--op-muted); font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; margin: 0; }
.op-shell .op-segment button[aria-pressed=true] { background: var(--op-panel); color: var(--op-ink); border-color: var(--op-line); box-shadow: 0 1px 2px #00000009; }

.op-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    max-width: 100%;
    border-radius: 20px;
    padding: 3px 10px;
    background: var(--op-neutral);
    color: var(--op-muted);
    font-size: .77rem;
    line-height: 1.25;
    font-weight: 600;
}
.op-teal { color: var(--op-soft-ink); background: var(--op-soft); }
.op-danger-tag { color: var(--op-danger-ink); background: var(--op-danger); }
.op-warn { color: var(--op-warn-ink); background: var(--op-warning); }
.op-good { color: var(--op-good-ink); background: var(--op-good); }
.op-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--op-soft-ink);
    background: var(--op-soft);
    font-size: .88rem;
    line-height: 1.4;
}
.op-shell > .op-banner { margin-block-end: 16px; }
.op-banner b { font-size: 1.08rem; }
.op-banner .op-button { margin-inline-start: auto; flex: 0 0 auto; min-height: 32px; }
.op-danger-banner { color: var(--op-danger-ink); background: var(--op-danger); }
.op-warn-banner { color: var(--op-warn-ink); background: var(--op-warning); }
.op-inset, .op-details {
    padding: 12px;
    border: 1px solid var(--op-line);
    border-radius: 14px;
}
.op-inset, .op-details-inset { background: var(--op-bg); }
.op-inset { margin-block: 14px 8px; }
.op-stack > .op-inset { margin-block: 0; }
.op-details > div { display: flex; justify-content: space-between; gap: 10px; border-block-end: 1px solid var(--op-line); padding: 8px 2px; font-size: .92rem; }
.op-details > div:last-child { border: 0; }
.op-details dt { color: var(--op-muted); }
.op-details dd { font-weight: 600; text-align: end; }
.op-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--op-line);
    border-radius: 14px;
    background: var(--op-panel);
    cursor: pointer;
}
.op-option input { margin-top: 2px; }
.op-option[data-selected=true] { border-color: var(--op-accent); background: var(--op-soft); }
.op-option :is(strong,small), .op-data-row small, .op-team-table small { display: block; }
.op-option strong, .op-data-row strong { font-size: .91rem; }
.op-option small { margin-block-start: 3px; line-height: 1.35; }

.op-request { display: grid; width: 100%; gap: 2px; text-align: start; padding: 14px 16px; border: 0; border-block-start: 1px solid var(--op-line); background: var(--op-panel); color: var(--op-ink); font: inherit; font-size: .88rem; cursor: pointer; }
.op-request[aria-pressed=true] { background: var(--op-soft); }
.op-request .op-tag { margin-block-start: 5px; }
.op-attachment { width: 72px; aspect-ratio: 1; border: 1px dashed var(--op-line); border-radius: 13px; background: repeating-linear-gradient(135deg, var(--op-panel) 0 6px, var(--op-bg) 6px 8px); }
.op-team { display: grid; gap: 20px; max-width: 760px; }
.op-table-scroll { position: relative; overflow: auto; min-width: 0; }
.op-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: start; font-size: .88rem; }
.op-table :is(th,td) { padding: 14px 16px; text-align: start; border-block-end: 1px solid var(--op-line); }
.op-table thead { background: var(--op-bg); color: var(--op-muted); font-size: .77rem; }
.op-table tbody tr:last-child :is(th,td) { border: 0; }
.op-team-table th[scope=row] { min-width: 175px; }
.op-team-table td:nth-child(3) { min-width: 160px; }
.op-sms-table { min-width: 630px; }
.op-ledger-table { min-width: 690px; }
.op-ledger-table tbody tr :is(th,td) { height: 58px; }
.op-ledger-table :is(th,td):nth-child(5) { text-align: end; }
.op-ledger-table td strong { color: var(--op-ink); }
.op-table tbody td { color: var(--op-muted); }
.op-avatar { display: inline-grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 100%; color: var(--op-soft-ink); background: var(--op-soft); font-size: .72rem; font-weight: 600; }
.op-owner-avatar { color: var(--op-panel); background: var(--op-ink); }
.op-row-list > * { border-block-start: 1px solid var(--op-line); }
.op-row-list { margin-block-start: 6px; }
.op-data-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 0; }
.op-data-row > :is(div, span) { min-width: 0; }
.op-data-row strong + .op-tag { margin-inline-start: 5px; }
.op-toggle-row { cursor: pointer; }
.op-shell input.op-switch {
    appearance: none;
    width: 40px;
    height: 22px;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #a2a8ae;
    cursor: pointer;
}
.op-shell input.op-switch::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0005; }
.op-shell input.op-switch:checked { background: var(--op-accent); justify-content: end; }
.op-shell input.op-switch:disabled { cursor: default; }
.op-pill { position: relative; align-items: center; font-size: .78rem; cursor: pointer; }
.op-pill input { opacity: 0; position: absolute; width: 100%; height: 100%; }
.op-pill span { border-radius: 14px; padding: 5px 9px; color: var(--op-muted); background: var(--op-neutral); }
.op-pill input:checked + span { color: var(--op-soft-ink); background: var(--op-soft); }
.op-pill input:checked + span::before { content: "✓ "; }
.op-pill input:focus-visible + span { outline: 2px solid var(--op-accent); outline-offset: 2px; }

.op-stripe-card { display: grid; align-content: start; gap: 12px; font-size: .9rem; }
.op-stripe-card p { min-height: 59px; }
.op-mode-options { gap: 9px; }
.op-issue { display: flex; align-items: flex-start; gap: 12px; border-inline-start: 4px solid #b18d18; }
.op-issue > span { color: var(--op-warn-ink); }
.op-issue-urgent { border-inline-start-color: #ce1531; }
.op-issue-urgent > span { color: var(--op-danger-ink); }
.op-issue-resolved { border-inline-start-color: #158857; }
.op-issue p { font-size: .9rem; }
.op-issue .op-button { min-height: 32px; padding: 5px 11px; font-size: .83rem; }
.op-filter { display: flex; gap: 10px; flex-wrap: wrap; padding: 15px 16px; }
.op-shell .op-filter :is(input,select) { width: auto; max-width: 100%; min-height: 36px; }
.op-filter .op-export { margin-inline-start: auto; }
.op-ledger .e-grid, .op-ledger .e-grid .e-headercontent { border-color: var(--op-line); min-width: 720px; }
.op-ledger .e-grid :is(.e-gridheader, .e-headercell, .e-rowcell) { border-color: var(--op-line); font: inherit; color: var(--op-ink); }
.op-ledger .e-grid .e-gridheader .e-headercell { background: var(--op-bg); font-size: .79rem; }
.op-ledger .e-grid .e-rowcell { background: var(--op-panel); font-size: .92rem; }
.op-ledger .e-grid .e-rowcell .op-tag { white-space: normal; }
.op-ledger .e-grid .e-rowcell:has(.op-tag) { overflow: visible; }
.op-ledger .e-grid .e-rowcell strong { font-weight: 600; }
.op-repeat-row { display: grid; grid-template-columns: 32px minmax(96px, .46fr) minmax(70px, .32fr) minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 0; font-size: .9rem; min-height: 42px; }
.op-repeat-row .op-button { font-size: .8rem; min-height: 32px; padding: 5px 9px; }
.op-qr-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.op-qr { width: fit-content; min-width: 0; padding: 7px; border: 1px solid var(--op-line); border-radius: 15px; background: #fff; }
.op-qr :is(svg, img) { display: block; max-width: 100%; height: auto; }
.op-qr-layout p { font-size: .9rem; }

.op-billing-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.op-billing-status h2 { font-size: 1.25rem; }
.op-billing-status p { font-size: .89rem; }
.op-feature-icon { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 15px; background: var(--op-soft); color: var(--op-soft-ink); font-size: 1.6rem; font-weight: 700; }
.op-plan { display: grid; align-content: start; }
.op-paid-plan { border-color: var(--op-accent); outline: 1px solid var(--op-accent); outline-offset: -1px; }
.op-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.op-plan-price strong { font-size: 2.2rem; line-height: 1.07; letter-spacing: -.045em; }
.op-plan-price span { color: var(--op-muted); font-size: .9rem; }
.op-plan p { font-size: .88rem; }
.op-check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0; list-style: none; font-size: .92rem; line-height: 1.3; }
.op-check-list li { display: flex; align-items: baseline; gap: 9px; }
.op-check-list li span { color: var(--op-soft-ink); font-weight: 700; }
.op-metric { display: grid; gap: 2px; align-content: start; }
.op-metric > span { color: var(--op-muted); font-size: .9rem; }
.op-metric strong { font-size: 2.2rem; letter-spacing: -.045em; line-height: 1.13; }
.op-mini-metrics { gap: 12px; }
.op-mini-metrics .op-metric { border-radius: 14px; padding: 12px 14px; box-shadow: none; }
.op-mini-metrics .op-metric strong { font-size: 1.36rem; letter-spacing: -.025em; }
.op-mini-metrics .op-metric span { font-size: .81rem; }
.op-trial { gap: 34px; }
.op-shell .op-trial-title { font-size: clamp(1.85rem, 1.55rem + 1.25vw, 2.16rem); line-height: 1.12; letter-spacing: -.045em; margin-block: 8px; }
.op-trial .op-kicker { color: var(--op-soft-ink); }
.op-trial .op-card { gap: 15px; padding: 25px; }
.op-trial .op-card p { font-size: .76rem; }
.op-trial .op-card .op-primary { min-height: 46px; }
.op-schedule-row { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 10px; padding: 13px 0; font-size: .9rem; }
.op-locked { opacity: .48; }
.op-lock-wrap { position: relative; padding-block-end: 28px; }
.op-today-list { min-height: 390px; }
.op-lock-card { position: absolute; width: min(420px, calc(100% - 32px)); bottom: 0; right: 5%; display: flex; gap: 12px; box-shadow: 0 18px 35px #17283324; }
.op-lock-card .op-button { justify-self: start; }
.op-lock-card p { font-size: .9rem; }
.op-timeline { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .89rem; }
.op-timeline dt { color: var(--op-muted); }
.op-progress { width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: var(--op-neutral); accent-color: #ac8706; }
.op-progress::-webkit-progress-bar { background: var(--op-neutral); }
.op-progress::-webkit-progress-value { background: #ac8706; border-radius: 8px; }
.op-progress::-moz-progress-bar { background: #ac8706; border-radius: 8px; }

.op-modal {
    width: min(520px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100dvh - 52px);
    margin: 6dvh auto auto;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--op-line);
    border-radius: 21px;
    background: var(--op-panel);
    color: var(--op-ink);
    font: inherit;
    box-shadow: 0 26px 80px #12212540;
    box-sizing: border-box;
}
.op-modal::backdrop { background: #20282f55; overflow: hidden; overscroll-behavior: contain; }
.op-modal-medium { width: min(630px, calc(100% - 28px)); }
.op-modal-large { width: min(858px, calc(100% - 28px)); }
.op-modal-trial { width: min(1000px, calc(100% - 28px)); }
.op-modal-drawer { inset: 0 0 0 auto; width: min(440px, 100%); height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 20px 0 0 20px; padding: 27px; }
.op-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-block-end: 17px; }
.op-dialog-head h2 { font-size: 1.42rem; letter-spacing: -.023em; }
.op-dialog-head p { font-size: .9rem; }
.op-dialog-head p:empty { display: none; }
.op-modal > p { margin-block: 0 20px; }
.op-modal-trial .op-dialog-head { margin-block-end: 4px; }
.op-modal-trial .op-dialog-head > div { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.op-modal-trial .op-dialog-head .op-icon-button { margin-inline-start: auto; }

.op-standalone-mail {
    min-height: 100dvh;
    padding: clamp(18px, 3.3vw, 52px);
    background: radial-gradient(ellipse at 50% 0%, var(--panel, #fff), var(--bg, #e9edf1) 90%);
}
.op-standalone-mail .op-shell { max-width: 1500px; margin-inline: auto; }
.op-email-board-head { display: flex; align-items: center; gap: 18px; margin-block-end: 10px; }
.op-email-board-head .op-page-head { width: 100%; margin: 0; gap: 14px; }
.op-email-board-head h1 { font-size: clamp(1.4rem, 1.1rem + .7vw, 1.6rem); }
.op-email-board-head p { font-size: .9rem; }
.op-email-brand { display: flex; flex: 0 0 auto; align-items: center; width: 150px; padding-inline-end: 13px; border-inline-end: 1px solid var(--op-line); }
.op-email-brand img { width: 100%; height: auto; }
.op-email-brand .op-email-brand-dark, [data-theme=dark] .op-email-brand-light { display: none; }
[data-theme=dark] .op-email-brand .op-email-brand-dark { display: block; }
.op-email-grid { gap: 26px; }
.op-email-grid > div { scroll-margin-top: 18px; }
.op-shell .op-email-label { font-size: .79rem; }
.op-email-label span, .op-email-check { color: var(--op-soft-ink); }
.op-email-phone { position: relative; min-width: 0; min-height: 655px; height: 100%; padding: 11px 11px 30px; border: 5px solid #0d1517; border-radius: 36px; background: var(--op-bg); box-shadow: 0 24px 38px -21px #0d151783; }
.op-email-phone::after { content: ""; position: absolute; inset-inline-start: 50%; inset-block-end: 8px; width: 32%; height: 3px; transform: translateX(-50%); border-radius: 5px; background: var(--op-ink); opacity: .75; }
.op-email-status { display: grid; grid-template-columns: 1fr minmax(50px, .8fr) 1fr; align-items: center; gap: 5px; padding: 0 4px; font-size: .66rem; }
.op-email-status b { text-align: end; }
.op-email-status span { height: 19px; border-radius: 15px; background: #0d1517; }
.op-email-inbox { display: block; width: fit-content; margin: 12px 0 8px; color: var(--op-soft-ink); font-weight: 600; font-size: .76rem; }
.op-email-from { display: flex; align-items: center; gap: 7px; margin-block: 9px 12px; padding-block-end: 8px; border-block-end: 1px solid var(--op-line); font-size: .72rem; }
.op-email-from small { display: block; }
.op-email-from .op-avatar { width: 21px; height: 21px; flex-basis: 21px; font-size: .63rem; }
.op-email-body { padding: 11px; border-radius: 12px; }
.op-email-body .op-details { padding: 3px 7px; border-radius: 9px; }
.op-email-body .op-details > div { font-size: .72rem; padding: 6px 0; }
.op-email-body .op-button { font-size: .75rem; min-height: 30px; }
.op-email-body small { font-size: .69rem; }
.op-email-body p { font-size: .75rem; }

@media (min-width: 1180px) {
    .op-modal:not(.op-modal-drawer) { inset-inline-start: 15rem; max-width: calc(100% - 17rem); }
}

@container owner-paid (width < 820px) {
    .op-mode-options, .op-email-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .op-banner, .op-billing-status { flex-wrap: wrap; }
    .op-billing-status { grid-template-columns: auto minmax(0, 1fr); }
    .op-billing-status > .op-group { grid-column: 1 / -1; }
    .op-inbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}

@container owner-paid (width < 630px) {
    .op-page-head { align-items: flex-start; flex-wrap: wrap; }
    .op-columns:not(.op-four), .op-split { grid-template-columns: minmax(0, 1fr); }
    .op-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .op-card:not(.op-flush) { padding: 16px; }
    .op-metric strong { font-size: 1.65rem; }
    .op-lock-card { position: relative; inset: auto; width: 100%; margin-block-start: 12px; }
    .op-today-list { min-height: 240px; }
    .op-data-row, .op-actions { flex-wrap: wrap; }
    .op-filter .op-export { margin-inline-start: 0; }
    .op-email-grid { grid-template-columns: minmax(0, 1fr); }
    .op-email-phone { min-height: 420px; }
    .op-email-board-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .op-email-brand { border: 0; }
}

@media (max-width: 670px) {
    .op-modal {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        margin: 10px auto auto;
        padding: 16px;
    }
    .op-modal-drawer { width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
    .op-modal :is(.op-columns, .op-qr-layout) { grid-template-columns: minmax(0, 1fr); }
    .op-modal .op-qr { justify-self: center; }
    .op-modal .op-repeat-row { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr); }
    .op-modal .op-repeat-row .op-tag { grid-column: 2 / -1; }
    .op-modal .op-repeat-row .op-button { grid-column: 2 / -1; justify-self: start; }
    .op-shell :is(.op-field input, .op-field select, .op-field textarea, .op-filter input, .op-filter select, input.op-mono) { min-height: 44px; font-size: 1rem; }
    .op-shell :is(.op-button, .op-segment button) { min-height: 42px; }
}
