@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.2bf3d951bf9d.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --portal-ink: #001449;
  --portal-blue: #1647a5;
  --portal-muted: #52617c;
  --portal-line: #d5dce8;
  --portal-surface: #fff;
  --portal-canvas: #f4f6fa;
  --portal-focus: #ffbf47;
  --portal-danger: #9d1c2b;
  font-family: Inter, Arial, sans-serif;
  color: var(--portal-ink);
  background: var(--portal-canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; min-height: 100vh; line-height: 1.6; }
html { scroll-padding-top: 1.5rem; }
section[id] { scroll-margin-top: 1.5rem; }
a { color: #17479b; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #001449; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--portal-focus); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: -5rem; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.portal-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .75rem clamp(1rem, 4vw, 3rem); background: white; color: var(--portal-ink); border-bottom: 1px solid var(--portal-line); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 48px; gap: 1.1rem; color: var(--portal-ink); text-decoration: none; }
.brand-caption { max-width: 110px; border-left: 1px solid var(--portal-line); padding-left: 1.1rem; font-size: .75rem; line-height: 1.35; font-weight: 650; }
.brand img { display: block; width: 118px; max-height: 48px; object-fit: contain; }
.portal-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.25rem; }
.portal-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--portal-ink); }
.portal-nav a:focus-visible { outline-color: var(--portal-focus); }
.portal-nav .portal-install-link { padding: .35rem .75rem; border: 1px solid var(--portal-line); border-radius: 8px; font-weight: 650; text-decoration: none; }
.portal-nav .portal-install-link:hover { border-color: var(--portal-blue); background: #eaf0fb; }
.context-label { max-width: 290px; color: var(--portal-muted); font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.context-label strong, .context-label span { display: block; }
.context-label strong { color: var(--portal-ink); font-size: .85rem; }
.preview-notice { padding: .5rem 1rem; background: #e9edf6; color: #001449; font-size: .8rem; text-align: center; }
.portal-main { width: min(1160px, calc(100% - 2rem)); min-height: calc(100vh - 150px); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.portal-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--portal-line); color: var(--portal-muted); font-size: .875rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: .75rem; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.25; }
h3 { font-size: 1.15rem; }
.eyebrow { margin-bottom: .55rem; color: #426092; font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hero-card, .form-card, .page-heading, .panel, .info-card, .empty-state { margin-bottom: 1.25rem; border: 1px solid var(--portal-line); border-radius: 12px; background: var(--portal-surface); box-shadow: 0 3px 12px rgb(0 20 73 / 3%); }
.hero-card { padding: clamp(2rem, 7vw, 5rem); background: linear-gradient(135deg, #fff 30%, #eaf1fc); }
.hero-card > p:not(.eyebrow) { max-width: 650px; color: var(--portal-muted); font-size: 1.1rem; }
.page-heading { padding: clamp(1.5rem, 4vw, 2.5rem); }
.page-heading > p { color: var(--portal-muted); }
.panel, .info-card, .empty-state { padding: clamp(1.25rem, 3vw, 2rem); }
.panel > :last-child, .info-card > :last-child { margin-bottom: 0; }
.narrow { width: min(100%, 580px); margin-inline: auto; }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.portal-entry-heading { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.portal-entry-heading h1 { text-wrap: balance; }
.portal-entry-heading > p:last-child { color: var(--portal-muted); font-size: 1.1rem; }
.portal-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.portal-choice { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--portal-line); border-top: 4px solid var(--portal-blue); border-radius: 12px; background: var(--portal-surface); }
.portal-choice h2 { font-size: clamp(1.75rem, 3vw, 2.1rem); letter-spacing: -.025em; }
.portal-choice > p:not(.eyebrow), .portal-choice li { color: var(--portal-muted); }
.portal-choice ul { margin: 0 0 2rem; padding-left: 1.2rem; }
.portal-choice li + li { margin-top: .5rem; }
.portal-choice .button { width: 100%; margin-top: auto; touch-action: manipulation; }
.portal-choice-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.5rem; border-radius: 12px; background: #eaf0fb; color: var(--portal-blue); }
.portal-choice-icon svg { width: 32px; height: 32px; }
.portal-entry-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--portal-line); border-radius: 12px; }
.portal-entry-help > div { flex: 1 1 350px; min-width: 0; }
.portal-entry-help p { margin: .3rem 0 0; color: var(--portal-muted); font-size: .9rem; }
.portal-entry-help > a { display: inline-flex; align-items: center; min-height: 44px; gap: .5rem; }
.portal-app-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--portal-line); border-radius: 12px; background: #eaf0fb; }
.portal-app-promo > div { flex: 1 1 380px; min-width: 0; }
.portal-app-promo h2 { margin-bottom: .5rem; text-wrap: balance; }
.portal-app-promo p:last-child { max-width: 660px; margin-bottom: 0; color: var(--portal-muted); }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin: 0; }
.info-card .button { margin-top: auto; }
.info-card h2 { margin-bottom: .35rem; }
.info-card p:not(.eyebrow) { color: var(--portal-muted); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--portal-blue); border-radius: 8px; padding: .65rem 1.1rem; background: var(--portal-blue); color: white; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--portal-ink); background: var(--portal-ink); color: white; }
.button-secondary { background: white; color: var(--portal-ink); }
.button-secondary:hover { background: #eef3fc; color: var(--portal-ink); }
.button-quiet { min-height: 44px; border-color: var(--portal-line); padding: .4rem .7rem; background: transparent; color: var(--portal-ink); }
.button-danger { border-color: var(--portal-danger); background: var(--portal-danger); }
.inline-form { display: inline-flex; margin: 0; }
.portal-form { display: grid; gap: 1.15rem; max-width: 760px; }
.portal-form > .button { justify-self: start; }
.field { display: grid; gap: .35rem; }
.field label, .portal-form > label, .compact-form > label { font-weight: 650; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid #8b98ad; border-radius: 7px; padding: .65rem .75rem; background: white; color: var(--portal-ink); font: inherit; }
textarea { min-height: 120px; resize: vertical; }
input[type="checkbox"] { width: 22px; min-height: 22px; height: 22px; accent-color: var(--portal-blue); }
input[type="file"] { min-height: 48px; padding: .4rem; }
fieldset { min-width: 0; border: 1px solid var(--portal-line); border-radius: 8px; padding: 1rem; }
legend { padding: 0 .35rem; font-weight: 700; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; min-height: 44px; padding: .45rem 0; }
.check-row input { flex: 0 0 22px; margin-top: .1rem; }
.field-error { color: #a31124; }
.field-error ul, .notice ul { margin: 0; padding-left: 1.2rem; }
.notice { margin-bottom: 1rem; border: 1px solid #a9bfdf; border-radius: 8px; padding: 1rem 1.15rem; background: #edf4ff; }
.notice-error { border-color: #d79da5; background: #fff0f1; color: #761526; }
.notice-warning { border-color: #d9ad53; background: #fff8e6; }
.notice-success { border-color: #90c6ab; background: #eef8f2; color: #16553c; }
.notice-list { margin: 0; padding-left: 1.25rem; }
.notice-list li + li { margin-top: .5rem; }
.link-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.section-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.section-title h2 { margin-bottom: 0; }
.section-description { margin: .5rem 0 1.25rem; color: var(--portal-muted); font-size: .9rem; }
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.search-form label { flex-basis: 100%; font-weight: 650; }
.search-form input { width: min(100%, 280px); }
.search-form .button { min-height: 46px; }
.case-list, .document-list { margin: 0; padding: 0; list-style: none; }
.case-row { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--portal-line); padding: 1.25rem .5rem; color: var(--portal-ink); text-decoration: none; }
.case-row:hover { background: #f6f8fc; }
.case-row strong, .case-row small { display: block; }
.case-row small, .document-list small { color: var(--portal-muted); }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .7rem; background: #eaf0fb; color: var(--portal-ink); font-size: .82rem; font-weight: 650; }
.status-wait { background: #fff1ce; color: #654400; }
.status-information { background: #fff1ce; color: #654400; }
.status-answered, .status-ok { background: #e6f3eb; color: #1c5d3d; }
.status-review { background: #e8eefc; color: #274987; }
.status-closed { background: #eef0f3; color: #4e5c71; }
.status-problem { background: #fbe7e9; color: #8d2030; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1rem; }
.pagination a { display: inline-flex; min-height: 44px; align-items: center; }
.message-list { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.message-list li { border-left: 3px solid #9cb6df; padding: .75rem 1rem; background: #f6f8fc; }
.message-list p { margin-bottom: .4rem; overflow-wrap: anywhere; }
.message-list small { color: var(--portal-muted); }
.document-list li { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--portal-line); padding: 1rem .25rem; }
.document-list li > div:first-child { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.document-list small { display: block; }
.document-list p { margin: .5rem 0; }
.document-list form { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.detail-grid { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: .4rem 1rem; margin: 1.5rem 0 0; }
.detail-grid dt { color: var(--portal-muted); font-weight: 650; }
.detail-grid dd { margin: 0; overflow-wrap: anywhere; }
.back-link { margin-bottom: 1rem; }
.back-link a { display: inline-flex; min-height: 44px; align-items: center; }
.muted { color: var(--portal-muted); }
.publication-card { margin: 1rem 0; border: 1px solid var(--portal-line); border-radius: 10px; padding: 1.25rem; background: #fbfcfe; }
.publication-card p { overflow-wrap: anywhere; }
.publication-card details { margin-top: 1rem; }
.compact-form, .action-stack { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.compact-form { width: min(100%, 430px); }
.inline-action { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.inline-action label { flex-basis: 100%; font-weight: 650; }
.inline-action input { width: min(100%, 360px); }
.one-time-code { display: block; overflow-wrap: anywhere; padding: 1rem; border-radius: 6px; background: white; font-size: 1.05rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.app-heading { display: flex; align-items: flex-start; gap: 1.5rem; }
.app-heading > div { min-width: 0; }
.app-icon { flex: 0 0 auto; border-radius: 20px; }
.app-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1rem; }
[data-pwa-install]:disabled { cursor: wait; opacity: .65; }
.app-guides { margin-bottom: 1.25rem; }
.app-guides > .panel { margin-bottom: 0; }
[data-pwa-status] { max-width: 680px; color: var(--portal-muted); font-size: .9rem; }
[data-pwa-status]:focus { outline: 3px solid var(--portal-focus); outline-offset: 5px; }
@media (max-width: 600px) {
  .app-heading { flex-direction: column; gap: 1rem; }
  .app-icon { width: 64px; height: 64px; border-radius: 14px; }
}
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 3px solid var(--portal-blue); }
.dashboard-heading > div { min-width: 0; }
.dashboard-heading > div > p:last-child { max-width: 680px; margin-bottom: 0; color: var(--portal-muted); }
.dashboard-heading > .button { flex-shrink: 0; }
.dashboard-heading h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.5rem; }
.summary-card { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; border: 1px solid var(--portal-line); border-radius: 10px; padding: 1.15rem 1.25rem; background: white; color: var(--portal-ink); text-decoration: none; }
.summary-card > span { font-size: .8rem; color: var(--portal-muted); }
.summary-card strong { font-size: 2.25rem; line-height: 1.3; letter-spacing: -.05em; font-weight: 600; }
.summary-card small { font-size: .73rem; color: var(--portal-muted); }
a.summary-card:hover { border-color: #7997c5; background: #f9fbfe; }
.summary-attention { border-top: 3px solid #c48b23; }
.section-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: 0 0 1.25rem; border-bottom: 1px solid var(--portal-line); padding: 0 .25rem .65rem; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--portal-muted); font-weight: 600; font-size: .86rem; text-decoration: none; }
.section-nav a:hover { color: var(--portal-blue); text-decoration: underline; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.dashboard-grid > .panel { min-width: 0; }
.case-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin: 1.25rem 0 .5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--portal-line); }
.case-filters > .field:first-child { flex: 1 1 280px; }
.case-filters > .field { flex: 1 1 210px; }
.case-filters > a { display: inline-flex; align-items: center; min-height: 48px; font-size: .85rem; }
.case-filters label { font-size: .82rem; }
.case-row-main { min-width: 0; overflow-wrap: anywhere; }
.case-row-main strong { margin: .25rem 0; font-size: 1.05rem; }
.case-row-main small { font-size: .77rem; }
.case-next-action { display: block; margin-bottom: .5rem; font-size: .88rem; color: var(--portal-muted); }
.case-row-end { display: flex; flex-shrink: 0; max-width: 240px; align-items: flex-end; flex-direction: column; gap: .75rem; }
.case-open { color: var(--portal-blue); font-size: .8rem; font-weight: 650; }
.empty-inline { padding: 1.25rem 0; color: var(--portal-muted); }
.empty-inline h3 { color: var(--portal-ink); margin-bottom: .5rem; }
.empty-inline p { max-width: 650px; margin: 0; }
.empty-inline a { display: inline-flex; align-items: center; min-height: 44px; }
.activity-list, .requirement-list { list-style: none; padding: 0; margin: 0; }
.activity-list li, .requirement-list li { border-bottom: 1px solid var(--portal-line); padding: 1rem 0; overflow-wrap: anywhere; }
.activity-list li:last-child, .requirement-list li:last-child { border-bottom: 0; }
.activity-list a { font-weight: 600; }
.activity-list small, .requirement-list small { display: block; color: var(--portal-muted); margin-top: .25rem; font-size: .78rem; }
.activity-list .status-pill { margin-top: .6rem; }
.form-introduction { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 2rem; margin-bottom: 1.5rem; }
.form-introduction > div > p:last-child { color: var(--portal-muted); max-width: 580px; }
.form-guide { border-left: 3px solid #b2c7e6; background: #f5f8fc; padding: 1rem 1.25rem; font-size: .85rem; }
.form-guide h3 { margin-bottom: .5rem; font-size: .9rem; }
.form-guide ul { padding-left: 1.1rem; margin: 0 0 .6rem; color: var(--portal-muted); }
.form-guide p { margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: .25rem; }
.form-actions .field-help { flex: 1 1 220px; max-width: 360px; }
.field-help { margin: .2rem 0 0; color: var(--portal-muted); font-size: .8rem; line-height: 1.55; }
.optional-label { display: inline-block; margin-left: .5rem; font-weight: 400; color: var(--portal-muted); font-size: .75rem; }
.field-checkbox { padding: .25rem 0; }
.field-checkbox fieldset > div > div > label { display: flex; align-items: flex-start; gap: .65rem; margin: .5rem 0; font-weight: 400; overflow-wrap: anywhere; }
.field-checkbox fieldset input { flex: 0 0 22px; }
.heading-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: var(--portal-muted); font-size: .82rem; }
.case-heading .case-description { max-width: 900px; color: var(--portal-ink); overflow-wrap: anywhere; }
.next-action { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; border-left: 3px solid var(--portal-blue); margin-top: 1.5rem; padding: 1rem 1.25rem; background: #f1f5fc; }
.next-action > div { min-width: 0; }
.next-action p { margin: .3rem 0 0; overflow-wrap: anywhere; }
.next-action .eyebrow { font-size: .7rem; }
.detail-label { display: block; color: var(--portal-muted); font-size: .75rem; }
.message-list .message-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; font-size: .8rem; }
.message-meta time { color: var(--portal-muted); font-size: .75rem; }
.message-list .message-company { border-left-color: #9aabc3; background: #f5f7fa; }
.message-list .message-etar { border-left-color: var(--portal-blue); background: #f0f5fd; }
.format-label { color: var(--portal-muted); font-size: .78rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.document-observation { margin-top: .75rem; border-left: 2px solid #a6bad7; padding-left: .85rem; font-size: .88rem; }
.document-observation strong { font-size: .78rem; }
.document-download { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 650; }
.download-unavailable { max-width: 200px; color: var(--portal-muted); font-size: .78rem; }
.upload-section { border-top: 1px solid var(--portal-line); padding-top: 1.5rem; margin-top: 1rem; }
.upload-section h3 { margin-bottom: .5rem; }
.receipt-action { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; width: min(100%, 240px); }
.receipt-action small { color: var(--portal-muted); font-size: .75rem; }
details summary { cursor: pointer; min-height: 44px; padding: .55rem 0; font-size: .85rem; font-weight: 650; }
.source-details { margin: .75rem 0; }
.source-details p { font-size: .8rem; color: var(--portal-muted); }
.workflow-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; padding: 1rem .25rem; }
.workflow-guide > div { display: grid; grid-template-columns: 32px 1fr; gap: .1rem .6rem; }
.workflow-guide > div > span { grid-row: span 2; color: #6a7f9e; font-size: .75rem; padding-top: .2rem; }
.workflow-guide strong { font-size: .85rem; }
.workflow-guide p { margin: 0; font-size: .78rem; color: var(--portal-muted); }
.integration-panel { border-top: 3px solid var(--portal-blue); }
.dispatch-trace { display: grid; grid-template-columns: minmax(140px, .4fr) 1fr; gap: .35rem 1rem; font-size: .8rem; }
.dispatch-trace dt { color: var(--portal-muted); }
.dispatch-trace dd { margin: 0; overflow-wrap: anywhere; }
.dispatch-trace code { font-size: .78rem; }
.digest { display: block; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .brand-caption { display: none; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .portal-header { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .portal-nav { justify-content: flex-start; }
  .portal-main { width: min(100% - 1.25rem, 1120px); padding-top: 1.5rem; }
  .portal-footer { flex-wrap: wrap; }
  .case-row { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .detail-grid { grid-template-columns: 1fr; gap: .15rem; }
  .detail-grid dd { margin-bottom: .65rem; }
  .search-form { width: 100%; }
  .search-form input { flex: 1 1 160px; }
  .context-label { flex-basis: 100%; max-width: 100%; }
  .portal-nav { width: 100%; column-gap: 1rem; }
  .portal-nav .inline-form { margin-left: auto; }
  .portal-nav:has(.context-label) { position: relative; padding-right: 4rem; }
  .portal-nav:has(.context-label) .inline-form { position: absolute; right: 0; top: 0; }
  .summary-grid { gap: .6rem; }
  .summary-card { padding: .85rem; }
  .summary-card strong { font-size: 1.85rem; }
  .summary-card small { font-size: .7rem; }
  .dashboard-grid, .form-introduction, .workflow-guide { grid-template-columns: 1fr; }
  .form-introduction { gap: .75rem; }
  .dashboard-grid { gap: 0; }
  .case-row-end { flex-direction: row; max-width: none; width: 100%; align-items: center; justify-content: space-between; gap: .65rem; }
  .case-row { gap: .85rem; }
  .case-filters > .field { flex-basis: 100%; }
  .section-nav { gap: .15rem 1rem; }
  .section-nav a { font-size: .78rem; }
  .next-action { padding: 1rem; }
  .dispatch-trace { grid-template-columns: 1fr; gap: .1rem; }
  .dispatch-trace dd { margin-bottom: .5rem; }
  .document-list li { flex-direction: column; }
  .document-list li > div:first-child { width: 100%; }
  .document-list li > form { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
