:root {
  color-scheme: light;
  --ink: #090d12;
  --ink-2: #141b23;
  --paper: #f7f7f4;
  --silver: #dbdcda;
  --muted: #555e65;
  --line: #d6d8d8;
  --red: #b82e22;
  --red-bright: #df3d2b;
  --blue: #0876bb;
  --gold: #e5b148;
  --white: #fffefa;
  --display: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: #075f98; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .57; }
button, .button { min-height: 44px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sidebar :focus-visible, .access-brand :focus-visible { outline-color: var(--gold); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }
input, select, textarea { min-width: 0; max-width: 100%; }
h1, h2, h3, p, dl { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 3.1vw, 3.3rem); line-height: 1.1; margin-bottom: .85rem; }
h2 { font-size: 1.65rem; line-height: 1.25; }
h3 { font-size: 1.35rem; }
p { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); z-index: 100; padding: 12px 18px; color: var(--white); background: var(--ink); border: 2px solid var(--gold); }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; gap: .7rem; align-items: center; width: max-content; min-height: 44px; color: var(--white); text-decoration: none; }
.brand-logo { display: block; width: 180px; max-width: 100%; height: auto; background: #000; }
.brand-mark { position: relative; display: grid; place-items: center; width: 31px; height: 31px; transform: rotate(-32deg); color: #2997df; }
.brand-mark::before { content: ''; position: absolute; width: 25px; height: 25px; border: 2px solid currentColor; border-radius: 50% 50% 5px 50%; }
.brand-mark i { position: absolute; display: block; height: 1px; background: currentColor; transform-origin: left; }
.brand-mark i:nth-child(1) { width: 18px; transform: translate(-4px,-7px) rotate(30deg); }
.brand-mark i:nth-child(2) { width: 14px; transform: translate(-1px,0) rotate(30deg); }
.brand-mark i:nth-child(3) { width: 10px; transform: translate(1px,7px) rotate(30deg); }
.brand-name { display: block; font-size: .98rem; font-weight: 800; letter-spacing: .06em; line-height: 1.1; white-space: nowrap; }
.brand-name b { color: #2997df; }
.brand-name small { display: block; margin-top: .42rem; font-size: .45rem; font-weight: 650; letter-spacing: .14em; }
.eyebrow { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 1rem; }
.section-number { font-size: .68rem; font-weight: 750; letter-spacing: .13em; }
.fine-print { color: var(--muted); font-size: .79rem; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .65rem 1rem; border: 1px solid #b5b9bb; border-radius: 2px; color: var(--ink); background: transparent; font-size: .81rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button:hover:not(:disabled) { background: #e7e8e5; border-color: var(--ink); }
.button.primary { color: white; background: var(--red); border-color: var(--red); }
.button.primary:hover:not(:disabled) { background: #922318; }
.button.dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button.dark:hover:not(:disabled) { background: #293440; }
.button.quiet { border-color: transparent; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.notice { padding: 1rem 1.15rem; margin: 0 0 1.5rem; border: 1px solid #c5cbd0; border-left: 3px solid var(--blue); background: #eef4f7; font-size: .87rem; overflow-wrap: anywhere; }
.notice.error { background: #fff0ee; border-color: #e4c0b9; border-left-color: var(--red); color: #862519; }
.notice.warning { background: #fff7e4; border-color: #e6d8b4; border-left-color: #8b6008; color: #61470e; }
.notice.success { background: #edf4ef; border-color: #b9cdc0; border-left-color: #326143; color: #234c32; }
.badge { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: .27rem .55rem; border: 1px solid #cad0d4; background: #eef0f1; color: #36424b; font-size: .65rem; font-weight: 800; line-height: 1.5; letter-spacing: .03em; overflow-wrap: anywhere; }
.badge.gold { border-color: #ddc58f; color: #695018; background: #fbf1d8; }
.badge.blue { border-color: #b9d5e6; color: #075783; background: #eaf3fa; }
.badge.red { border-color: #e3bfb8; color: #932c20; background: #fff0ed; }
.badge.green { border-color: #b9cdc0; color: #2d5a3b; background: #edf4ef; }
.access-gate { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 100dvh; }
.access-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem,6vw,7rem); color: var(--white); background: var(--ink); border-top: 6px solid var(--red-bright); }
.access-brand > .brand { margin-bottom: clamp(4rem,10vh,7rem); }
.access-brand > .eyebrow { color: var(--gold); }
.access-statement { font: 400 clamp(2.6rem,4.4vw,5rem)/1.06 var(--display); letter-spacing: -.04em; margin-bottom: 1.5rem; }
.access-caption { max-width: 330px; color: #b9c0c5; margin-bottom: 3.5rem; }
.light-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; color: #e4e7e9; font-size: .8rem; }
.access-content { align-self: center; padding: clamp(2rem,6vw,6rem); max-width: 760px; }
.access-content > .section-number { display: block; margin-bottom: 2rem; color: var(--red); }
.access-content > p:not(.fine-print) { color: var(--muted); font-size: 1rem; }
.access-content .actions { margin: 2rem 0; }
.access-content .fine-print { border-top: 1px solid var(--line); padding-top: 1.6rem; max-width: 440px; }
#phone-first-guidance a { display: inline-flex; align-items: center; min-height: 44px; }
.workspace { display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; align-self: start; height: 100dvh; padding: 2.1rem 1.2rem 1.4rem; color: var(--white); background: var(--ink); border-top: 4px solid var(--red-bright); overflow-y: auto; }
.sidebar > .brand { margin: .3rem .4rem 3.1rem; }
.sidebar-label { color: #a8b1b9; font-size: .6rem; font-weight: 750; letter-spacing: .13em; padding: 0 .65rem; margin-bottom: .9rem; }
.section-tabs { display: flex; flex-direction: column; gap: .4rem; }
.section-tabs button { position: relative; display: flex; gap: .7rem; align-items: center; width: 100%; min-height: 49px; border: 1px solid transparent; border-left: 3px solid transparent; padding: .7rem .55rem; color: #bdc3c9; background: transparent; font-size: .8rem; font-weight: 600; text-align: left; }
.section-tabs button:hover { color: white; background: #19222b; }
.section-tabs button[aria-selected="true"] { color: white; background: #202a34; border-left-color: var(--red-bright); }
.nav-number { color: #8b99a6; font-size: .62rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.section-tabs button[aria-selected="true"] .nav-number { color: var(--gold); }
.nav-tag { padding: 1px 3px; color: var(--gold); border: 1px solid #6b572e; font-size: .5rem; letter-spacing: .03em; }
.sidebar-bottom { margin-top: auto; padding: 3rem .65rem .4rem; color: #c0c6cc; font-size: .65rem; }
.sidebar-bottom p { margin-top: .9rem; color: #949fa9; }
.sidebar-bottom a { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; color: #dce1e4; font-size: .72rem; }
.security-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: .4rem; }
.workspace-body { min-width: 0; }
.topbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 83px; padding: .8rem clamp(1.5rem,3vw,3.5rem); background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb { margin: 0; color: var(--muted); font-size: .72rem; }
.breadcrumb > span:first-child { margin: 0 .7rem; color: #a5aaad; }
#current-section { color: var(--ink); font-weight: 650; }
.account { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .65rem; max-width: 65%; font-size: .76rem; }
#account-name { overflow-wrap: anywhere; }
.account .button { padding-right: .4rem; }
.main { padding: 2.7rem clamp(1.5rem,3vw,3.5rem) 1.5rem; }
.tabpanel { min-height: calc(100dvh - 210px); }
.tabpanel:focus-visible { outline-offset: 8px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2rem; }
.page-heading > div { max-width: 800px; }
.page-heading > div > p:last-child { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.page-heading > .button { flex-shrink: 0; }
.section-state { color: var(--muted); font-size: .86rem; margin: 1rem 0 1.5rem; }
.section-state.empty { padding: 2.5rem 1.4rem; color: #505b64; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eff0ed; }
.section-state.error { padding: 1rem; color: #862519; background: #fff0ee; border-left: 3px solid var(--red); }
.metric-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 2.8rem; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--white); }
.metric-strip > div { padding: 1.5rem clamp(.8rem,1.5vw,1.6rem); border-right: 1px solid var(--line); }
.metric-strip > div:last-child { border-right: 0; }
.metric-strip dt { font-size: .75rem; font-weight: 650; }
.metric-strip dd { margin: .9rem 0 .5rem; font: 400 clamp(2.2rem,3.2vw,3.6rem)/1.1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.metric-strip dd.metric-text { min-height: 2.8rem; font-family: var(--sans); font-size: 1.05rem; line-height: 1.4; letter-spacing: normal; overflow-wrap: anywhere; }
.metric-strip > div > span { display: block; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.report-heading, .list-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.report-heading h2, .list-heading h2 { margin: 0; }
.report-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); }
.report-columns > section { min-width: 0; padding: 1.5rem 1.4rem 1.5rem 0; }
.report-columns > section + section { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.report-columns h3 { margin-bottom: 1.2rem; font: 750 .68rem var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.distribution { margin: 0; }
.distribution > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; padding: .72rem 0; border-bottom: 1px solid #e0e2e1; font-size: .78rem; }
.distribution dt { overflow-wrap: anywhere; color: #45515b; }
.distribution dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.editorial-note { margin: 2rem 0; border-left: 2px solid var(--gold); padding: .3rem 0 .3rem 1.3rem; color: var(--muted); font-size: .82rem; }
.editorial-note .section-number { color: #77571a; }
.editorial-note p { margin: .6rem 0 0; }
.filter-form { display: grid; grid-template-columns: minmax(180px,1.6fr) minmax(150px,1fr) minmax(150px,1fr); gap: 1rem; margin-bottom: 2.5rem; padding: 1.4rem; background: #e9ebe8; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field label { color: #35414b; font-size: .76rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #aeb5b9; border-radius: 2px; background: var(--white); color: var(--ink); font-size: .88rem; line-height: 1.45; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #69737a; opacity: 1; }
.field [aria-invalid="true"] { border: 2px solid var(--red); }
.field .help { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.55; }
.filter-actions { display: flex; align-items: flex-end; gap: .6rem; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink); }
.lead-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .82rem; }
.lead-table th { padding: .9rem 1rem; background: #eceeea; color: #52606b; font-size: .64rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.lead-table td { padding: 1.2rem 1rem; vertical-align: top; border-top: 1px solid var(--line); }
.lead-table td:first-child { min-width: 190px; }
.lead-table td:nth-child(2) { min-width: 145px; }
.lead-table td:nth-child(3) { min-width: 160px; }
.lead-table td:nth-child(4) { min-width: 160px; }
.lead-table strong { display: block; font-size: .85rem; font-weight: 700; }
.lead-table small { display: block; margin-top: .35rem; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.lead-table tbody tr:hover { background: #f6f7f4; }
.lead-table .button { white-space: nowrap; }
.pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 1.2rem 0 1.8rem; }
.pagination p { margin: 0; color: var(--muted); font-size: .78rem; }
.project-list { border-top: 2px solid var(--ink); }
.project-row { display: grid; grid-template-columns: minmax(0,1fr) 180px auto; align-items: center; gap: 1.7rem; padding: 1.8rem .3rem; border-bottom: 1px solid var(--line); }
.project-row h3 { margin: .6rem 0 .45rem; font-size: 1.45rem; }
.project-row p { margin: 0; color: var(--muted); font-size: .82rem; }
.project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; font-size: .76rem; }
.integration-statuses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.integration-group { padding: 1.4rem; border: 1px solid var(--line); background: var(--white); }
.integration-group h3 { margin-bottom: 1rem; overflow-wrap: anywhere; }
.status-list { margin: 0; }
.status-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .85rem 0; }
.status-list dt { font-size: .78rem; color: #46525b; overflow-wrap: anywhere; }
.status-list dd { margin: 0; text-align: right; }
.backup-section { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #a7afb3; }
.backup-section > div { max-width: 620px; }
.backup-section p:not(.eyebrow) { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.backup-section .button { flex-shrink: 0; }
.concept-banner { color: var(--white); background: var(--ink); padding: clamp(1.5rem,3vw,3rem); border-top: 3px solid var(--gold); margin-bottom: 2.5rem; }
.concept-banner .section-number { color: var(--gold); }
.concept-banner h2 { font-size: clamp(1.9rem,3vw,2.8rem); margin: 1.3rem 0 1rem; max-width: 600px; }
.concept-banner p { max-width: 760px; color: #c4cbd1; margin-bottom: 0; font-size: .88rem; }
.concept-benefits > ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style-position: inside; padding: 0; margin: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); counter-reset: ideas; }
.concept-benefits li { list-style: none; padding: 1.5rem 1.2rem 0 0; counter-increment: ideas; }
.concept-benefits li::before { content: '0' counter(ideas); display: block; color: var(--red); font-size: .7rem; font-weight: 750; margin-bottom: 1rem; }
.concept-benefits li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.concept-benefits strong { display: block; font-size: .85rem; font-weight: 700; }
.concept-benefits p { color: var(--muted); font-size: .8rem; margin: .8rem 0 0; }
.architecture { border-top: 2px solid var(--ink); }
.architecture > div { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.architecture dt { font-weight: 700; font-size: .83rem; }
.architecture dd { margin: 0; color: var(--muted); font-size: .83rem; }
.workspace-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #647079; font-size: .61rem; letter-spacing: .06em; }
body:has(dialog[open]) { overflow: hidden; }
dialog { color: var(--ink); background: var(--paper); border: 0; }
dialog::backdrop { background: rgb(9 13 18 / 65%); }
.detail-dialog { position: fixed; inset: 0 0 0 auto; width: min(740px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; margin: 0 0 0 auto; box-shadow: -10px 0 60px rgb(0 0 0 / 15%); }
.dialog-heading { display: flex; position: sticky; top: 0; z-index: 2; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 2rem; background: var(--white); border-top: 4px solid var(--red-bright); border-bottom: 1px solid var(--line); }
.dialog-heading .eyebrow { margin-bottom: .5rem; }
.dialog-heading h2 { margin: 0; overflow-wrap: anywhere; font-size: 1.7rem; }
.dialog-heading > .button { flex-shrink: 0; }
.dialog-content { padding: 1.8rem 2rem 3rem; }
.detail-summary { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.detail-summary h3 { margin: 0 0 .4rem; font-size: 1.7rem; }
.detail-summary p { color: var(--muted); margin: 0; font-size: .8rem; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; margin-bottom: 2rem; }
.detail-facts > div { border-top: 1px solid var(--line); padding-top: .7rem; }
.detail-facts dt { font-size: .64rem; font-weight: 750; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .4rem; }
.detail-facts dd { margin: 0; font-size: .85rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.detail-section { margin: 1.7rem 0; }
.detail-section h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; }
.edit-form { border-top: 2px solid var(--ink); margin-top: 2rem; padding-top: 1.5rem; }
.edit-form h3 { margin-bottom: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.edit-form > .field, .project-form > .field { margin-bottom: 1.3rem; }
.edit-form .actions, .project-form .actions { margin-top: 1.5rem; }
.check-label { display: flex; align-items: flex-start; gap: .75rem; min-height: 44px; padding: .7rem 0; font-size: .86rem; cursor: pointer; }
.check-label input { appearance: auto; width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0; accent-color: var(--red); }
.publish-controls { margin: 1.8rem 0 0; padding: 1rem; border: 1px solid #d9cba5; background: #fcf6e8; }
.publish-controls legend { padding: 0 .4rem; font-size: .8rem; font-weight: 750; }
.publish-controls p { color: #70561e; font-size: .76rem; margin-bottom: .4rem; }
.photo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-item { min-width: 0; padding: 1rem; border: 1px solid var(--line); background: var(--white); }
.photo-item .button { width: 100%; }
.photo-item p { font-size: .74rem; color: var(--muted); margin-bottom: .65rem; }
.photo-item img { width: 100%; max-height: 350px; object-fit: contain; margin-top: .8rem; background: #e9eceb; }
.delivery-list { list-style: none; margin: 0; padding: 0; }
.delivery-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .78rem; }
.delivery-list time { margin-left: auto; color: var(--muted); font-size: .72rem; }
.file-summary { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.confirm-dialog { width: min(540px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 2rem; border-top: 4px solid var(--gold); }
.confirm-dialog h2 { font-size: 2rem; }
.confirm-dialog > p:not(.eyebrow) { font-size: .9rem; color: var(--muted); }
.confirm-dialog .actions > .button { flex: 1; }
@media (min-width: 1600px) { .main { max-width: 1500px; margin-inline: auto; } }
@media (max-width: 1150px) {
  .workspace { grid-template-columns: 210px minmax(0,1fr); }
  .sidebar { padding-inline: .8rem; }
  .sidebar > .brand { margin-inline: .2rem; }
  .brand-name { font-size: .86rem; }
  .brand-name small { font-size: .4rem; }
  .page-heading { align-items: flex-start; }
  .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-row { grid-template-columns: minmax(0,1fr) auto; }
  .project-meta { grid-row: 2; flex-direction: row; flex-wrap: wrap; grid-column: 1 / -1; }
  .project-row > .button { grid-row: 1; grid-column: 2; }
  .backup-section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 840px) {
  .workspace { display: block; }
  .sidebar { position: relative; height: auto; padding: 1.25rem 1.25rem 0; overflow: visible; }
  .sidebar > .brand { margin: 0 0 1.1rem; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .section-tabs { flex-direction: row; overflow-x: auto; padding: 4px 4px 8px; margin-inline: -4px; gap: .25rem; }
  .section-tabs button { flex-shrink: 0; width: auto; white-space: nowrap; min-height: 48px; padding: .65rem .85rem; border-left: 1px solid transparent; border-bottom: 3px solid transparent; }
  .section-tabs button[aria-selected="true"] { border-left-color: transparent; border-bottom-color: var(--red-bright); }
  .nav-number { display: none; }
  .topbar { min-height: 68px; }
  .main { padding-top: 2rem; }
  .tabpanel { min-height: 50dvh; }
  .access-gate { grid-template-columns: 1fr; }
  .access-brand { padding: 2rem; }
  .access-brand > .brand { margin-bottom: 2.8rem; }
  .access-statement { font-size: 2.8rem; }
  .access-caption { margin-bottom: 1rem; }
  .access-content { padding: 2.2rem 2rem; }
  .access-content > .section-number { margin-bottom: 1.2rem; }
}
@media (max-width: 580px) {
  body { font-size: 14px; }
  .main { padding: 1.7rem 1.1rem 1.2rem; }
  .topbar { padding: .75rem 1.1rem; }
  .breadcrumb { display: none; }
  .account { width: 100%; max-width: 100%; justify-content: flex-start; gap: .5rem; }
  .account > .button { margin-left: auto; }
  .account > #account-name { max-width: 52%; }
  .page-heading { flex-direction: column; gap: 1.3rem; padding-bottom: 1.6rem; }
  .page-heading h1 { font-size: 2.3rem; }
  .page-heading .button { width: 100%; }
  .metric-strip { margin-bottom: 2rem; }
  .metric-strip > div { padding: 1.25rem .8rem; }
  .metric-strip dt { font-size: .7rem; }
  .metric-strip dd { font-size: 2.6rem; }
  .report-heading { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .report-columns, .integration-statuses, .concept-benefits > ol { grid-template-columns: 1fr; }
  .report-columns > section { padding: 1.3rem 0; }
  .report-columns > section + section { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .filter-form { padding: 1rem; gap: .9rem; }
  .filter-form .search-field, .filter-form .filter-actions { grid-column: 1 / -1; }
  .filter-actions > .button { flex: 1; }
  .filter-form .field select, .filter-form .field input { font-size: 16px; }
  .pagination { align-items: stretch; flex-direction: column; }
  .pagination .actions > .button { flex: 1; }
  .project-row { gap: 1rem; padding-block: 1.5rem; }
  .project-row h3 { font-size: 1.3rem; }
  .project-meta { gap: .65rem; }
  .backup-section .button { width: 100%; }
  .concept-benefits li { padding: 1.3rem 0; }
  .concept-benefits li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .architecture > div { grid-template-columns: 1fr; gap: .65rem; }
  .dialog-heading { padding: 1.2rem; }
  .dialog-heading h2 { font-size: 1.45rem; }
  .dialog-heading .eyebrow { font-size: .58rem; }
  .dialog-content { padding: 1.4rem 1.2rem 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .detail-facts { gap: 1rem; }
  .detail-summary { flex-direction: column; }
  .photo-list { grid-template-columns: 1fr; }
  .edit-form .actions > .button, .project-form .actions > .button { width: 100%; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .confirm-dialog { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
