:root {
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #292d29; background: #f3f4f1; font-size: 14px; line-height: 1.5;
  font-synthesis: none; letter-spacing: 0;
  --line: #e5e7e2; --muted: #70756e; --green: #267457; --red: #ad3b48; --ink: #252824;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a.button {
  cursor: pointer; color: inherit; background: #fff; border: 1px solid #dfe2db; border-radius: 7px;
  padding: 8px 12px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; font-weight: 550; text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: var(--ink); border-color: var(--ink); color: white; }
button.danger { color: var(--red); border-color: #ebd7db; }
button.icon { width: 34px; height: 34px; min-height: 34px; padding: 8px; flex: none; }
button.text-button { background: transparent; border-color: transparent; padding: 5px 0; color: #535c52; min-height: 30px; }
svg.lucide { width: 17px; height: 17px; flex-shrink: 0; stroke-width: 1.65; }
input, select, textarea {
  background: #fff; color: inherit; border: 1px solid #dfe2db; border-radius: 7px;
  padding: 10px 11px; min-width: 0; width: 100%; min-height: 40px; font-size: 13px;
}
input::placeholder, textarea::placeholder { color: #858b83; }
input[type=checkbox] { width: 17px; height: 17px; min-height: 0; accent-color: var(--green); }
input[type=file] { padding: 6px; }
input::file-selector-button { border: 0; padding: 6px 9px; border-radius: 4px; margin-right: 8px; color: var(--ink); background: #ecefe8; font: inherit; }
textarea { min-height: 86px; resize: vertical; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 550; color: #565e54; }
.field-help { color: var(--muted); font-size: 11px; font-weight: 450; line-height: 1.45; }
a { color: var(--green); }
:focus-visible { outline: 2px solid #4a8273; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 25px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
h2 { font-size: 15px; line-height: 1.5; font-weight: 600; }
h3 { font-size: 13px; font-weight: 600; }
strong { font-weight: 600; }
small, .muted { color: var(--muted); }
.small { font-size: 12px; }
.loading { padding: 40px; }
.eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 650; color: var(--muted); }
.brand { display: flex; gap: 10px; align-items: center; font-size: 21px; font-weight: 650; }
.brand img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.brand small { display: block; font-size: 10px; font-weight: 500; }
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 28px; background: #f3f4f1; }
.auth-inner { width: min(100%,410px); }
.auth .brand { margin-bottom: 40px; }
.auth h1 { font-size: 30px; margin: 0 0 12px; }
.auth p { margin-bottom: 24px; }
.auth button { width: 100%; margin-top: 12px; min-height: 42px; }
.auth details { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dcded8; }
.auth summary { cursor: pointer; font-size: 13px; }
.auth label { margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 4px 9px; font-size: 10px; white-space: nowrap; }
.tag svg { width: 13px; height: 13px; }
.tag.good { background: #f0f5eb; color: #4b6542; border-color: #e2ebd8; }
.tag.warn { color: #7e591b; background: #fff8e8; border-color: #eadfbe; }
.shell { display: grid; grid-template-columns: 68px minmax(0,1fr); min-height: 100dvh; }
.shell.nav-expanded { grid-template-columns: 212px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; min-height: 0; display: flex; flex-direction: column; padding: 19px 12px 14px; background: #fbfcfa; border-right: 1px solid var(--line); z-index: 5; }
.sidebar .brand { padding: 0 4px 24px; min-height: 58px; }
.sidebar .brand>div, .sidebar .nav-label, .profile-text { display: none; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d5dad1 transparent; }
.sidebar nav button, .sidebar #signOut { position: relative; border-color: transparent; background: transparent; justify-content: flex-start; width: 42px; min-height: 38px; padding: 10px 11px; color: #737a70; font-weight: 500; font-size: 12px; flex-shrink: 0; }
.sidebar nav button.active { color: #323b2d; background: #eaf0df; }
.sidebar nav button.active::before { content: ""; position: absolute; left: -1px; height: 14px; width: 2px; background: #81a84b; border-radius: 2px; }
.sidebar nav button.nav-divider { margin-top: 13px; }
.sidebar .spacer { flex: 1; min-height: 24px; }
.profile { border-top: 1px solid var(--line); padding: 14px 3px 9px; display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { width: 33px; height: 33px; border: 1px solid #e2e6dc; background: #ebeee5; color: #4d5d40; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.profile strong { display: block; font-size: 12px; }
.profile-text { font-size: 10px; min-width: 0; overflow-wrap: anywhere; }
.nav-expanded .sidebar .brand>div, .nav-expanded .profile-text, .nav-expanded .sidebar .nav-label { display: block; }
.nav-expanded .sidebar nav button, .nav-expanded .sidebar #signOut { width: 100%; }
.sidebar [data-tooltip]::after { content: attr(data-tooltip); display: none; position: fixed; left: 61px; padding: 6px 10px; background: #292e27; color: white; border-radius: 5px; font-size: 11px; font-weight: 500; z-index: 8; pointer-events: none; white-space: nowrap; box-shadow: 0 3px 12px #20282012; }
.shell:not(.nav-expanded):not(.menu-open) .sidebar [data-tooltip]:focus-visible::after { display: block; }
.nav-scrim { display: none; }
.workspace { min-width: 0; }
.toolbar { height: 65px; background: #fbfcfa; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; gap: 12px; }
.toolbar .left, .toolbar .right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.toolbar .left { flex: 1; }
.toolbar .right { flex-shrink: 0; gap: 8px; }
.toolbar .icon { background: transparent; border-color: transparent; color: #71786c; }
.toolbar-divider { height: 18px; width: 1px; background: #dedfd9; flex: none; }
.toolbar .scope { width: 230px; max-width: 100%; min-height: 34px; font-size: 12px; padding: 5px 8px; border-color: transparent; background: transparent; font-weight: 550; }
.breadcrumb { display: flex; gap: 12px; color: #b2b6af; white-space: nowrap; font-size: 11px; }
.breadcrumb span { color: #757b72; }
.banner { display: flex; align-items: center; gap: 7px; padding: 10px 32px; font-size: 10px; color: #766a4f; background: #f5f2e9; border-bottom: 1px solid #eae6da; }
.banner svg { width: 13px; height: 13px; }
.banner-separator { padding: 0 5px; }
.content { padding: 30px 32px 52px; max-width: 1600px; margin: auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.page-head p { margin-top: 5px; max-width: 660px; font-size: 12px; }
.page-head .actions { padding-top: 2px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.view-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: -6px 0 24px; }
.view-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.view-tabs button { background: transparent; border-color: transparent; color: #697065; border-radius: 20px; font-weight: 500; padding: 7px 13px; }
.view-tabs button[aria-current=page] { background: #e8ebe3; color: #30382a; }
.view-tabs svg { width: 15px; height: 15px; }
.currency-filter { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 11px; }
.currency-filter select { width: 83px; min-height: 33px; padding: 5px 7px; font-size: 12px; background: transparent; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
.metric { background: white; border: 1px solid #e6e9e1; border-radius: 8px; padding: 18px 19px 16px; min-width: 0; }
.metric:first-child { background: #eaf2d9; border-color: #e1e9d2; }
.metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #626a5c; font-size: 12px; }
.metric-label svg { color: #89917e; width: 16px; height: 16px; }
.metric strong { display: block; margin: 12px 0 8px; font-size: 24px; line-height: 1.25; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric small { display: block; font-size: 10px; line-height: 1.5; }
.overview-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 30px; background: white; padding: 26px; border-radius: 8px; }
.overview-main { min-width: 0; }
.section { padding: 0 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.section-head p { margin-top: 4px; font-size: 11px; }
.section-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.count { font-size: 10px; font-weight: 500; color: #737c6a; border-radius: 4px; padding: 1px 6px; background: #eef1e9; }
.cash-section { margin-bottom: 24px; padding-bottom: 12px; }
.chart { position: relative; height: 260px; min-width: 0; }
.chart canvas { max-width: 100%; }
.chart-empty { text-align: center; margin-bottom: 12px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid #e9ebe6; border-radius: 7px; background: #f7f8f5; flex: none; }
.segmented button { min-height: 28px; padding: 4px 9px; font-size: 10px; color: #737a6d; background: transparent; border-color: transparent; border-radius: 4px; }
.segmented button svg { height: 13px; width: 13px; }
.segmented button[aria-pressed=true] { background: white; color: #363e2d; border-color: #e6e9e0; box-shadow: 0 1px 2px #20282006; }
.recent-section { margin: 0; padding: 0; border: 0; }
.recent-section .table-scroll { border: 0; border-radius: 0; }
.recent-section th, .recent-section td { padding: 12px 8px; }
.recent-section th:first-child, .recent-section td:first-child { padding-left: 0; }
.recent-section th { background: white; }
.context-column { min-width: 0; align-self: start; background: #f6f7f4; padding: 17px; border-radius: 7px; }
.context-section + .context-section { border-top: 1px solid #e5e8df; padding-top: 20px; margin-top: 20px; }
.context-section .section-head { margin-bottom: 13px; gap: 8px; }
.context-section h2 { font-size: 13px; }
.context-section .icon { border-color: transparent; background: transparent; height: 28px; width: 28px; min-height: 28px; padding: 5px; }
.bank-list { display: grid; gap: 12px; }
.bank-card { background: #fff; border-radius: 7px; overflow: hidden; min-width: 0; }
.bank-card-head { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #e1eef7; }
.bank-card:nth-child(even) .bank-card-head { background: #e9ebe7; }
.bank-card-head h3 { font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
.bank-card-head>span { margin-left: auto; color: #64737c; font-size: 10px; flex: none; }
.bank-card-head svg { width: 14px; height: 14px; color: #58758c; }
.bank-card-body { padding: 12px; font-size: 12px; overflow-wrap: anywhere; }
.bank-card-body p { margin-top: 3px; font-size: 10px; color: #767e72; }
.bank-opening { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; margin-top: 14px; padding-top: 9px; border-top: 1px solid #f0f1ec; font-size: 10px; color: #747d6c; }
.bank-opening span:last-child { color: #414c38; font-variant-numeric: tabular-nums; }
.bank-more { margin-top: 10px; }
.detail-list { margin: 0; display: grid; gap: 13px; font-size: 11px; }
.detail-list>div { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 8px; }
.detail-list dt { color: #7b8175; }
.detail-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.filing-summary { display: flex; gap: 9px; align-items: center; }
.filing-summary>div { flex: 1; min-width: 0; }
.filing-summary p { font-size: 10px; color: #777e6f; margin-top: 2px; }
.filing-summary h3 { font-size: 12px; }
.context-icon { width: 31px; height: 31px; background: #e7eddd; border-radius: 6px; display: grid; place-items: center; flex: none; color: #6b7e51; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; scrollbar-width: thin; scrollbar-color: #d7ddd0 transparent; }
table { border-collapse: collapse; width: 100%; font-size: 12px; }
th { text-align: left; color: #858a80; font-size: 10px; font-weight: 500; background: #fafbf8; white-space: nowrap; }
th, td { padding: 14px 16px; border-bottom: 1px solid #ecefe7; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.description { min-width: 140px; max-width: 340px; overflow-wrap: anywhere; }
td.description strong { font-weight: 550; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.positive { color: #3d775f; }
.negative { color: #785252; }
.table-actions { display: flex; gap: 3px; justify-content: flex-end; }
.table-actions .icon, .photo-strip .icon { width: 28px; height: 28px; min-height: 28px; padding: 5px; background: transparent; border-color: transparent; color: #88907f; }
.table-actions .icon.danger { color: #a27379; }
.table-actions svg, .photo-strip .icon svg { width: 14px; height: 14px; }
.ledger-kind { font-size: 10px; color: #8a9083; margin-top: 2px; text-transform: capitalize; }
.empty { padding: 38px 20px; text-align: center; color: var(--muted); border: 1px dashed #d9ded1; border-radius: 8px; font-size: 13px; }
.empty h2 { color: #4c5542; margin: 8px 0; }
.empty button { margin-top: 16px; }
.list { display: grid; gap: 12px; }
.item { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; min-width: 0; }
.item>div { min-width: 0; overflow-wrap: anywhere; }
.item p { font-size: 12px; margin-top: 5px; color: var(--muted); }
.grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.grid .wide { grid-column: 1/-1; }
.form { display: grid; gap: 20px; }
.form-footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 4px; }
.role-row { display: grid; grid-template-columns: minmax(0,1fr) 145px; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
.role-row small { display: block; }
.role-row select { font-size: 12px; }
.company-title { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.company-item .actions { flex-shrink: 0; }
.access-form [hidden] { display: none !important; }
.access-company { font-size: 15px; overflow-wrap: anywhere; }
.access-modes { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.access-modes legend { font-size: 12px; font-weight: 600; padding: 0 0 10px; }
.access-modes label { display: flex; align-items: center; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; min-width: 0; }
.access-modes label:has(:checked) { background: #edf3e4; border-color: #94af7d; color: #354a2e; }
.access-modes input { flex: none; width: 16px; height: 16px; min-height: 16px; margin: 0; accent-color: var(--green); }
.access-owner, .access-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.access-owner { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.access-owner>svg { margin-left: auto; color: var(--muted); }
.access-owner small { display: block; font-size: 11px; }
.access-person>div, .access-owner>div { min-width: 0; overflow-wrap: anywhere; }
.access-person strong, .access-owner strong { font-size: 13px; }
.access-person small { font-size: 11px; }
.access-search { margin-bottom: 10px; }
.access-form .role-row { grid-template-columns: minmax(0,1fr) 144px 34px; gap: 7px 10px; padding: 14px 0; }
.access-form .role-row select { min-height: 36px; padding: 7px; }
.access-note { grid-column: 1/-1; font-size: 11px; color: var(--muted); }
.access-result { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.access-result span { color: var(--muted); }
.access-form .form-footer { position: sticky; bottom: 0; background: #fff; padding: 12px 0; margin-bottom: 0; box-shadow: 0 24px 0 #fff; z-index: 1; }
.help { border-left: 3px solid #89a672; padding: 12px 15px; background: #f0f5e9; margin: 14px 0; font-size: 13px; color: #4a613a; }
.warning { border-left-color: #c2943f; background: #fff8eb; color: #765923; }
.error { color: var(--red); padding: 10px 0; font-size: 13px; }
.photo-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-strip button { font-size: 12px; }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filters input { max-width: 330px; }
.filters select { width: auto; max-width: 190px; }
.pagination { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: 11px; color: var(--muted); }
.notes { max-width: 800px; }
.notes p { margin: 10px 0 26px; color: var(--muted); line-height: 1.8; font-size: 13px; }
.notes h2 { margin-top: 22px; }
.upload { display: grid; place-items: center; gap: 10px; border: 1px dashed #c7d3b5; background: #f8faf4; padding: 32px; border-radius: 8px; text-align: center; margin-bottom: 20px; }
.upload>svg { width: 26px; height: 26px; color: #768b5f; }
.upload input { max-width: 360px; font-size: 12px; }
.upload.dragover { background: #eaf3dd; border-color: #698f40; }
dialog { border: 1px solid #e0e5d9; border-radius: 8px; padding: 0; width: min(650px,calc(100vw - 32px)); max-height: calc(100dvh - 48px); color: inherit; box-shadow: 0 24px 80px #1a221529; overflow-x: hidden; }
dialog::backdrop { background: #252e2859; }
dialog .dialog-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 24px; position: sticky; top: 0; background: #fff; z-index: 1; }
dialog .dialog-head h2 { font-size: 18px; font-weight: 550; }
dialog .dialog-head .icon { border-color: transparent; color: #828978; }
dialog .dialog-body { padding: 24px; }
dialog img.evidence { display: block; width: 100%; height: auto; max-height: 65dvh; object-fit: contain; }
.secret { overflow-wrap: anywhere; background: #f5f7f1; border: 1px solid var(--line); padding: 12px; border-radius: 6px; font-size: 12px; user-select: all; }
.install-prompt { position: fixed; right: 20px; bottom: 20px; z-index: 9; width: min(430px,calc(100vw - 40px)); display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding: 20px 44px 20px 20px; color: var(--ink); background: #fff; border: 1px solid #dfe4da; border-radius: 8px; box-shadow: 0 20px 60px #20282024; }
.install-prompt[hidden] { display: none; }
.install-mark { width: 46px; height: 46px; border-radius: 8px; background: #eff3ea; display: grid; place-items: center; }
.install-mark img { width: 36px; height: 36px; border-radius: 7px; }
.install-copy { min-width: 0; }
.install-copy h2 { margin: 3px 0 7px; font-size: 17px; }
.install-copy p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.install-close { position: absolute; top: 10px; right: 10px; border-color: transparent; background: transparent; color: #7c8378; }
.install-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; }
.install-actions .text-button { margin-left: 2px; }
#notice { position: fixed; bottom: 20px; right: 20px; max-width: min(460px,calc(100vw - 40px)); padding: 13px 18px; background: #2b3425; color: #fff; border-radius: 7px; z-index: 10; box-shadow: 0 6px 24px #0002; font-size: 12px; }
#notice.error { background: #8a2936; }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { flex: none; margin-top: 3px; }
.dot { width: 6px; height: 6px; border-radius: 100%; background: currentColor; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
@media (hover:hover) and (pointer:fine) {
  button:not(:disabled):hover, a.button:hover { background: #f0f3eb; border-color: #d8dece; }
  button.primary:not(:disabled):hover { background: #454e3d; border-color: #454e3d; }
  button.danger:not(:disabled):hover { background: #fcf1f2; border-color: #eed5da; }
  .sidebar nav button:not(:disabled):hover, .sidebar #signOut:hover { background: #eff2e8; border-color: transparent; color: #37462b; }
  .shell:not(.nav-expanded):not(.menu-open) .sidebar [data-tooltip]:hover::after { display: block; }
  tbody tr:hover { background: #fafbf8; }
  button.text-button:hover { background: transparent; border-color: transparent; color: #252d21; }
}
@media (max-width:1200px) {
  .content { padding: 26px 24px 42px; }
  .toolbar, .banner { padding-left: 24px; padding-right: 24px; }
  .overview-layout { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 22px; }
  .context-column { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 22px; background: #f7f8f5; padding: 18px; }
  .context-section + .context-section { border-top: 0; padding-top: 0; margin-top: 0; }
  .context-column .filing-summary { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 16px; }
  .metrics { gap: 10px; }
  .metric { padding: 16px; }
  .breadcrumb { display: none; }
}
@media (max-width:960px) {
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toolbar .right .tag { display: none; }
}
@media (max-width:760px) {
  .shell, .shell.nav-expanded { display: block; }
  .sidebar { position: fixed; z-index: 6; width: 218px; transform: translateX(-100%); box-shadow: 8px 0 25px #0001; }
  .shell.menu-open .sidebar { transform: translateX(0); }
  .shell.menu-open .nav-scrim { display: block; position: fixed; inset: 0; z-index: 5; border: 0; border-radius: 0; background: #26322044; width: 100%; }
  .sidebar .brand>div, .sidebar .nav-label, .profile-text { display: block; }
  .sidebar nav button, .sidebar #signOut { width: 100%; }
  .sidebar [data-tooltip]::after { display: none !important; }
  .toolbar { height: 58px; padding: 0 12px; gap: 4px; }
  .toolbar .left { gap: 4px; }
  .toolbar .right { gap: 2px; }
  .toolbar-divider { display: none; }
  .toolbar .scope { width: 100%; }
  .banner { padding: 10px 16px; font-size: 10px; align-items: flex-start; }
  .banner svg { margin-top: 1px; }
  .content { padding: 24px 16px 40px; }
  .page-head { flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
  .view-bar { flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
  .view-tabs { gap: 0; }
  .view-tabs button { padding: 7px 10px; font-size: 11px; }
  .view-tabs svg { width: 13px; height: 13px; }
  .metric { padding: 14px 12px; }
  .metric-label { font-size: 11px; }
  .metric-label svg { width: 13px; height: 13px; }
  .metric small { font-size: 10px; }
  .overview-layout { padding: 18px 14px; gap: 24px; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .context-column { display: block; padding: 16px; }
  .context-section + .context-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
  .chart { height: 230px; }
  .grid { grid-template-columns: minmax(0,1fr); }
  .grid .wide { grid-column: auto; }
  .item { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
  .item .actions { width: 100%; }
  dialog .dialog-body { padding: 18px; }
  dialog .dialog-head { padding: 16px 18px; }
  th, td { padding: 12px; }
  .role-row { grid-template-columns: minmax(0,1fr) 125px; }
  .access-form .role-row { grid-template-columns: minmax(0,1fr) 34px; }
  .access-form .role-row select { grid-column: 1; grid-row: 2; }
  .access-form .role-row [data-block] { grid-column: 2; grid-row: 2; }
  .access-person { grid-column: 1/-1; }
  .access-modes label { gap: 6px; padding: 10px 8px; }
  .access-modes label>svg { display: none; }
  .form-footer { flex-wrap: wrap; }
  .upload { padding: 24px 12px; }
  .install-prompt { right: 12px; bottom: 12px; width: calc(100vw - 24px); grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 17px 40px 17px 16px; }
  .install-mark { width: 40px; height: 40px; }
  .install-mark img { width: 32px; height: 32px; }
  .install-actions { align-items: flex-start; flex-direction: column; }
  .install-actions .text-button { margin: 0; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
