:root {
    --ink: #1d2b36;
    --muted: #6b7b87;
    --line: #e1e8e9;
    --paper: #f5f8f7;
    --teal: #126f64;
    --teal-dark: #0e554d;
    --mint: #e8f4ee;
    --orange: #dc9d5e;
    --shadow: 0 14px 46px #1b403b08;
    --sidebar-width: 248px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

/* Shared primitives */
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid #df9b49;
    outline-offset: 4px;
}
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -.04em; margin-bottom: 14px; font-weight: 650; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; letter-spacing: -.02em; margin-bottom: 14px; }
p { line-height: 1.7; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.eyebrow { font-size: .7rem; letter-spacing: .18em; font-weight: 750; color: var(--teal); margin-bottom: 16px; }
.skip { position: fixed; left: 10px; top: -100px; background: white; padding: 12px; z-index: 100; }
.skip:focus { top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 1.4rem; font-weight: 720; letter-spacing: -.05em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; background: var(--teal); color: white; width: 36px; height: 36px; flex: 0 0 36px; font-size: 1.15rem; border-radius: 10px; letter-spacing: -.12em; padding-right: 3px; }
.brand-label { font-size: .57rem; letter-spacing: .17em; color: #84938e; border-left: 1px solid var(--line); margin-left: 8px; padding-left: 18px; font-weight: 600; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; background: var(--teal); border: 1px solid var(--teal); border-radius: 8px; padding: 12px 19px; color: white; font-size: .82rem; font-weight: 600; cursor: pointer; line-height: 1.35; min-height: 43px; }
.button:hover { background: var(--teal-dark); color: white; text-decoration: none; }
.button.full { width: 100%; justify-content: space-between; }
.button.ghost { background: white; color: var(--teal); border-color: #cddfd7; }
.button.ghost:hover { background: var(--mint); }
.button.small { font-size: .72rem; padding: 8px 11px; min-height: 35px; white-space: nowrap; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; border-radius: 6px; background: #edf1f3; color: #586c77; padding: 6px 10px; font-size: .67rem; font-weight: 600; white-space: nowrap; }
.badge.good { background: #e8f4ed; color: #2c7351; }
.badge.pending { background: #fff2dd; color: #967036; }
.notice { font-size: .82rem; line-height: 1.7; padding: 14px 17px; border-radius: 9px; margin-bottom: 24px; border: 1px solid; overflow-wrap: anywhere; }
.notice.success { background: #eff8f1; color: #2e6845; border-color: #d9eadd; }
.notice.error { background: #fff4ed; color: #8b442d; border-color: #f3d9cb; }
.card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.card p { font-size: .85rem; }
.card dl { display: grid; grid-template-columns: 1fr 1.5fr; gap: 17px; font-size: .8rem; margin-bottom: 0; }
.card dt { color: var(--muted); }
.card dd { margin: 0; overflow-wrap: anywhere; }
.card-icon { background: #eaf3ee; color: var(--teal); width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 22px; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; max-width: calc(100% - 10vw); margin: auto; padding: 24px 0; color: #91a098; font-size: .66rem; gap: 20px; }
.footer span:first-child { font-weight: 650; color: #526d60; }
.standalone { max-width: 650px; margin: 15vh auto; }

/* Shared forms */
.form-stack { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.form-stack label { font-size: .8rem; font-weight: 600; display: flex; flex-direction: column; gap: 9px; }
.form-stack input { width: 100%; min-width: 0; height: 47px; border: 1px solid #d9e2df; border-radius: 8px; padding: 10px 13px; color: var(--ink); background: white; }
.form-stack input:focus, .form-stack select:focus { border-color: var(--teal); }
select { color: var(--ink); background: white; border: 1px solid #d9e2df; border-radius: 8px; padding: 10px 13px; max-width: 100%; }
.form-stack select { width: 100%; min-height: 47px; }
.field-hint { color: var(--muted); font-size: .72rem; font-weight: 400; line-height: 1.6; }
.field-error { color: #8b442d; font-size: .75rem; font-weight: 500; line-height: 1.6; }
.form-stack [aria-invalid="true"] { border-color: #b5573b; }
.form-links { display: flex; justify-content: flex-end; font-size: .75rem; margin-top: -4px; }
.form-foot { font-size: .73rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 23px; line-height: 1.8; }
.back-link { font-size: .8rem; display: inline-block; margin-top: 8px; }
.form-card { max-width: 700px; }
.form-card .form-stack { margin-top: 0; }

/* One authenticated shell shared by every private page */
.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; background: #fbfdfc; border-right: 1px solid var(--line); padding: 0 18px; overflow-y: auto; }
.sidebar-brand-row { height: 94px; display: flex; align-items: center; padding: 0 10px; }
.sidebar-brand { font-size: 1.35rem; }
.sidebar-menu > summary { display: none; }
.sidebar-panel { min-height: calc(100vh - 94px); min-height: calc(100dvh - 94px); display: flex; flex-direction: column; padding: 17px 0 24px; }
.nav-label { font-size: .58rem; font-weight: 700; letter-spacing: .12em; color: #8a9993; margin: 0 12px 15px; }
.sidebar nav { display: flex; flex-direction: column; gap: 7px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 12px; border-radius: 9px; color: #64796f; font-size: .8rem; font-weight: 550; line-height: 1.4; }
.nav-link:hover { background: #eff5f1; color: var(--teal); text-decoration: none; }
.nav-link.is-active { background: #e4f1ea; color: var(--teal-dark); font-weight: 650; }
.nav-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.sidebar-profile { display: flex; align-items: center; gap: 10px; padding: 18px 4px; border-top: 1px solid var(--line); }
.profile-mark { width: 36px; height: 36px; border: 1px solid #deebe4; border-radius: 50%; display: grid; place-items: center; color: #698679; flex: 0 0 36px; }
.sidebar-profile > div { min-width: 0; }
.sidebar-profile strong, .sidebar-profile span:not(.profile-mark) { display: block; }
.sidebar-profile strong { font-size: .74rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.5; }
.sidebar-profile div > span { color: var(--muted); font-size: .66rem; margin-top: 3px; }
.sidebar-logout { margin: 0; }
.sidebar-logout .button { width: 100%; min-height: 40px; background: transparent; border-color: var(--line); }
.sidebar-logout .button:hover { background: var(--mint); }
.workspace-main { display: flex; flex-direction: column; min-width: 0; }
.workspace-header { min-height: 94px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px clamp(24px, 3vw, 48px); background: #ffffffb3; }
.workspace-label { display: block; color: #94a09a; font-size: .55rem; font-weight: 650; letter-spacing: .15em; margin-bottom: 6px; }
.workspace-header p { font-size: .85rem; font-weight: 550; margin: 0; line-height: 1.4; }
.workspace { width: 100%; flex: 1; padding: 36px clamp(24px, 3vw, 48px) 48px; min-width: 0; }
.workspace-content { width: 100%; min-width: 0; }
.workspace-footer { max-width: none; margin: 0 clamp(24px, 3vw, 48px); }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 28px; }
.page-heading p:last-child { margin-bottom: 0; font-size: .87rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dashboard-grid .accent-card { grid-column: 1 / -1; background: #eaf3ee; box-shadow: none; }
.accent-card p { max-width: 650px; color: #647b6c; }
.completion-card { max-width: 880px; padding: 38px; }
.step { display: flex; gap: 22px; padding: 28px 0 0; margin-top: 28px; border-top: 1px solid var(--line); }
.step-number { background: var(--mint); color: var(--teal); width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 600; font-size: .8rem; }
.step p { color: var(--muted); }

/* Account management keeps wide tables inside their own scrolling region. */
.accounts-grid { display: grid; grid-template-columns: minmax(270px, 320px) minmax(0, 1fr); gap: 24px; align-items: start; }
.accounts-grid > .card { padding: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.section-heading > .muted { font-size: .67rem; }
.scope-note { color: var(--muted); font-size: .82rem; line-height: 1.7; margin: -10px 0 26px; max-width: 1050px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .75rem; }
th { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 15px 8px; border-bottom: 1px solid var(--line); }
td { padding: 20px 8px; border-bottom: 1px solid #edf1ef; vertical-align: middle; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
.accounts-table { min-width: 670px; }
.cell-sub { display: block; color: var(--muted); font-size: .68rem; line-height: 1.6; margin-top: 5px; }
.account-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.role-form { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; min-width: 190px; }
.role-form select { font-size: .72rem; min-height: 36px; padding: 7px 9px; min-width: 105px; }
.account-actions > .cell-sub { max-width: 190px; margin-top: 0; }
.empty { padding: 40px 0; color: var(--muted); }

/* ToolMod and license pages reuse the shell, forms and table primitives. */
.management-grid { display: grid; grid-template-columns: minmax(310px, .8fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.management-stack, .license-detail-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-grid > label { min-width: 0; }
.form-wide, .form-submit { grid-column: 1 / -1; }
.form-submit { justify-self: start; }
.tools-table { min-width: 620px; }
.licenses-table { min-width: 880px; }
.history-table { min-width: 570px; }
.tool-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 155px; }
.danger-details summary { font-size: .75rem; color: #a14d34; cursor: pointer; }
.danger-details[open] { max-width: 250px; }
.compact-form { gap: 12px; margin-top: 14px; }
.compact-form .field-hint { margin: 0; }
.button.danger { background: #a14d34; border-color: #a14d34; }
.button.danger:hover { background: #803c29; border-color: #803c29; }
.form-stack .checkbox-label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .75rem; font-weight: 500; line-height: 1.6; }
.form-stack .checkbox-label input { width: 17px; height: 17px; flex: 0 0 17px; margin: 2px 0 0; padding: 0; accent-color: var(--teal); }
.create-license > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.create-license > summary::-webkit-details-marker { display: none; }
.create-license > summary strong { font-size: 1rem; }
.details-indicator { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); font-size: 1.2rem; }
.create-license[open] .details-indicator { transform: rotate(45deg); }
.license-create-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-back { margin: 0 0 22px; }
.license-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 24px; align-items: start; }
.license-overview .section-heading { margin-bottom: 24px; }
.card .detail-list { grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); }
.time-note { margin: 24px 0 0; }
.key-card { background: #f1f8f3; }
.key-label { display: block; font-size: .73rem; margin-bottom: 12px; color: var(--muted); }
.key-value { display: block; width: 100%; min-width: 0; resize: vertical; min-height: 100px; border: 1px solid #cddfd4; border-radius: 9px; padding: 14px; color: var(--teal-dark); background: white; font: .92rem/1.65 Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; }
.key-value:focus-visible { outline: 3px solid #df9b49; outline-offset: 3px; }
.key-card > .field-hint { margin: 12px 0 0; }
.license-download { margin-top: 20px; }
.copy-control { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.copy-control > .button[hidden] { display: none; }
.copy-control > .button:disabled { opacity: .65; cursor: wait; }
.copy-feedback { flex: 1 1 170px; margin: 0; }
.cooldown-card { border-color: #eedab7; background: #fffaf0; }
.cooldown-card > p:last-child { margin-bottom: 0; }
.license-actions, .license-history { margin-top: 24px; }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.action-panel { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); gap: 16px; }
.action-panel h3 { font-size: .92rem; font-weight: 600; margin: 0; }
.action-panel p { margin: 0; }
.action-panel > .button { justify-self: start; align-self: flex-start; margin-top: auto; }

/* Search and history use the same filter controls and bounded page navigation. */
.filters-card .form-stack { margin-top: 18px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.filter-grid > label { min-width: 0; }
.filter-search { grid-column: span 2; }
.filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 3px; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pagination-total { font-size: .75rem !important; color: var(--muted); margin: 0; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 35px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; font-size: .74rem; line-height: 1.4; }
a.page-link:hover { text-decoration: none; background: var(--mint); border-color: #bdd8ca; }
.page-link.is-current { background: var(--teal); color: white; border-color: var(--teal); font-weight: 650; }
.page-link.disabled { color: #a0ada6; background: #f8faf9; }
.page-gap { color: var(--muted); padding: 0 3px; font-size: .75rem; }
.history-page-size { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 16px; }
.history-page-size label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .73rem; color: var(--muted); }
.history-page-size select { min-height: 35px; padding: 6px 9px; font-size: .74rem; }
.global-history-table { min-width: 1000px; }
.global-history-table td:first-child { white-space: nowrap; }
.global-history-table .event-summary { min-width: 180px; max-width: 260px; font-size: .72rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 1450px) {
    .management-grid { grid-template-columns: 1fr; }
    .management-grid .field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1150px) {
    .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .license-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .license-detail-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .license-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .filter-grid { grid-template-columns: minmax(0, 1fr); }
    .filter-search { grid-column: auto; }
    .filter-actions > .button { flex: 1 1 150px; }
    .pagination-bar { align-items: flex-start; }
    .history-page-size { margin-top: 5px; }
    .field-grid, .management-grid .field-grid, .license-create-form, .license-detail-side, .action-grid { grid-template-columns: minmax(0, 1fr); }
    .management-grid, .license-detail-grid, .management-stack, .license-detail-side { gap: 20px; }
    .card .detail-list { grid-template-columns: minmax(0, 1fr); }
    .license-overview .section-heading { gap: 12px; }
    .form-submit { width: 100%; }
    .key-value { font-size: .8rem; }
}

/* Public authentication pages share the same forms without private navigation. */
.topbar { min-height: 88px; border-bottom: 1px solid var(--line); background: #ffffffd9; display: flex; align-items: center; justify-content: space-between; padding: 20px max(28px, 5vw); gap: 24px; }
.topbar-note { color: var(--muted); font-size: .8rem; }
.auth-shell { max-width: 1130px; margin: 70px auto 75px; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; padding: 0 24px; }
.intro { position: relative; overflow: hidden; background: #eaf2ee; border-radius: 24px 0 0 24px; padding: 48px 44px; min-height: 590px; }
.intro h1 { font-size: clamp(2rem, 3.3vw, 2.85rem); line-height: 1.18; letter-spacing: -.055em; }
.intro > p { font-size: .87rem; max-width: 310px; color: #60786d; }
.intro-graphic { height: 245px; position: relative; margin-top: 15px; }
.orbit { position: absolute; border: 1px solid #bed5ca; border-radius: 50%; left: 50%; top: 49%; transform: translate(-50%, -50%) rotate(-22deg); }
.orbit-one { width: 330px; height: 170px; }
.orbit-two { width: 245px; height: 245px; border-style: dashed; opacity: .75; }
.graphic-key { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-9deg); width: 156px; height: 116px; border-radius: 19px; background: linear-gradient(145deg, #307d6e, #13574e); color: white; box-shadow: 8px 18px 0 #b8d5c5; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; font-size: 2.7rem; letter-spacing: -.12em; font-weight: 700; }
.graphic-key span { font-size: .55rem; letter-spacing: .25em; font-weight: 500; margin-top: 10px; }
.graphic-tag { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .63rem; color: #738c7e; background: #f9fcf8; padding: 8px 16px; border: 1px solid #e1ebe3; border-radius: 20px; }
.intro .intro-foot { font-size: .68rem; position: absolute; bottom: 13px; color: #82958b; }
.auth-panel { padding: 55px 48px; background: white; border: 1px solid var(--line); border-left: 0; border-radius: 0 24px 24px 0; box-shadow: var(--shadow); align-self: stretch; min-width: 0; }
.auth-panel > .muted { font-size: .87rem; }

@media (max-width: 1350px) {
    .accounts-grid { grid-template-columns: 1fr; }
}

@media (min-width: 700px) and (max-width: 1350px) {
    .accounts-grid .form-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; margin-top: 20px; }
    .accounts-grid .form-stack > label { min-width: 0; }
    .accounts-grid .form-stack > .button { grid-column: 1 / -1; justify-self: end; width: auto; min-width: 210px; }
}

@media (max-width: 950px) {
    .brand-label { display: none; }
    .auth-shell { max-width: 880px; margin: 40px auto; padding: 0 20px; }
    .intro { padding: 38px 28px; }
    .auth-panel { padding: 45px 30px; }
    .intro-graphic { margin-left: -10px; }
}

/* The same details/menu becomes a compact, keyboard-operable mobile header. */
@media (max-width: 900px) {
    .app-shell { display: block; }
    .sidebar { position: relative; height: auto; padding: 0 24px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
    .sidebar-brand-row { height: 78px; padding: 0; }
    .sidebar-menu > summary { position: absolute; right: 24px; top: 19px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--teal-dark); font-size: .73rem; font-weight: 600; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; list-style: none; min-height: 40px; }
    .sidebar-menu > summary::-webkit-details-marker { display: none; }
    .menu-chevron { width: 14px; height: 14px; }
    .sidebar-menu[open] .menu-chevron { transform: rotate(180deg); }
    .sidebar-panel { min-height: 0; padding: 16px 0 22px; border-top: 1px solid var(--line); }
    .sidebar-bottom { padding-top: 20px; }
    .sidebar-profile { padding: 14px 4px; }
    .sidebar-logout .button { width: auto; padding-left: 22px; padding-right: 22px; }
    .workspace-header { min-height: 78px; padding: 17px 24px; }
    .workspace { padding: 28px 24px 40px; }
    .workspace-footer { margin: 0 24px; }
}

@media (max-width: 650px) {
    .topbar { min-height: 74px; padding: 18px 20px; flex-wrap: wrap; gap: 14px; }
    .topbar-note { font-size: .65rem; }
    .auth-shell { display: block; margin: 24px auto 35px; padding: 0 16px; min-height: 0; }
    .intro { min-height: 0; padding: 28px; border-radius: 18px 18px 0 0; }
    .intro h1 { font-size: 1.75rem; margin-bottom: 8px; }
    .intro > p { margin-bottom: 0; max-width: none; font-size: .8rem; }
    .intro-graphic, .intro .intro-foot { display: none; }
    .intro .eyebrow { font-size: .58rem; margin-bottom: 12px; }
    .auth-panel { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; padding: 30px 26px; }
    .auth-panel h1 { font-size: 1.6rem; }
    .sidebar { padding: 0 18px; }
    .sidebar-brand-row { height: 74px; }
    .sidebar-brand { font-size: 1.2rem; }
    .sidebar-menu > summary { right: 18px; top: 17px; }
    .sidebar-menu > summary .nav-icon { display: none; }
    .workspace-header { min-height: 74px; padding: 16px 18px; }
    .workspace { padding: 26px 18px 36px; }
    .workspace-footer { margin: 0 18px; }
    .page-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
    .page-heading h1 { font-size: 1.6rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-grid .accent-card { grid-column: auto; }
    .card, .accounts-grid > .card { padding: 22px; }
    .card dl { grid-template-columns: 1fr; gap: 9px; }
    .card dd { margin-bottom: 9px; }
    .section-heading { flex-direction: column; gap: 0; }
    .completion-card { padding: 25px; }
    .step { gap: 14px; }
    .footer { max-width: calc(100% - 40px); line-height: 1.6; }
    .workspace-footer { max-width: none; }
    .standalone { margin: 12vh 20px; }
    .button { min-height: 44px; }
}
