/* Shared operation surfaces. Existing business layouts keep their structure. */
:root {
  --primary: #242833;
  --muted: #4c5566;
  --border: #d8dee8;
  --amber: #805414;
  --surface: #fff;
  --canvas: #f4f5f8;
  --ink: #343b49;
  --surface-subtle: #f4f5f8;
  --danger: #a0352b;
  --focus: #4c5566;
  --radius: 12px;
  --control-radius: 8px;
  --space: 8px;
  --overlay-shadow: 0 16px 48px #24283326;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
::selection { background: #d8dee8; color: #242833; }
button, input, select, textarea { border-radius: var(--control-radius); }
button { min-height: 40px; padding: 8px 14px; font-weight: 600; transition: background-color 160ms, border-color 160ms; }
button:hover:not(:disabled) { background: #f4f5f8; border-color: #b8c2d2; }
button.primary:hover:not(:disabled) { background: #343b49; border-color: #343b49; }
button:active:not(:disabled) { background: #e9ecf2; }
button.primary:active:not(:disabled) { background: #242833; }
button:disabled { opacity: .6; cursor: not-allowed; }
button.danger, button.danger-link { color: var(--danger); background: transparent; border-color: transparent; }
button.danger:hover:not(:disabled), button.danger-link:hover:not(:disabled) { background: #fceeea; border-color: #ecc8c0; }
input, select, textarea { min-height: 42px; border-color: #b8c2d2; caret-color: var(--primary); }
input::placeholder, textarea::placeholder { color: #6c7788; opacity: 1; }
input[type=checkbox] { min-height: 18px; width: 18px; height: 18px; accent-color: var(--primary); }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-subtle); color: var(--muted); }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
label > span { color: #4c5566; font-weight: 500; }
.layout { grid-template-columns: 216px minmax(0, 1fr); }
.sidebar { padding: 24px 16px; background: #242833; }
.brand { font-size: 18px; letter-spacing: .5px; }
.brand small, .sidebar-footer { color: #b8c2d2; }
.brand-mark { background: #d8dee8; border-radius: 10px; margin-bottom: 16px; }
.sidebar .line { margin: 22px 0; }
.sidebar nav { gap: 6px; }
.sidebar nav button { display: flex; align-items: center; gap: 10px; padding: 12px; color: #d8dee8; font-size: 14px; }
.sidebar nav button.active { background: #e9ecf2; color: #242833; font-weight: 650; }
.sidebar nav button:hover:not(.active) { background: #343b49; color: #fff; }
.nav-icon { flex: 0 0 18px; width: 18px; height: 18px; opacity: 1; }
.nav-icon svg { display: block; width: 18px; height: 18px; }
.topbar { height: 64px; padding: 0 32px; background: var(--surface); }
.topbar .title-path { color: var(--muted); font-size: 13px; }
.account { gap: 10px; }
.account-name { font-size: 13px; }
.account .role { font-size: 12px; }
.content { margin: 0 auto; padding: 28px 32px 56px; }
.eyebrow { display: none; }
h1 { font-size: 26px; line-height: 1.35; letter-spacing: 0; margin-bottom: 8px; }
h2 { font-size: 18px; line-height: 1.5; }
.subtitle { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 72ch; }
.page-heading { margin-bottom: 24px; }
small, .muted, .catalog-meta, .order-color-brief { color: var(--muted); font-size: 13px; }
.panel, details, .stat { border-radius: var(--radius); border-color: var(--border); }
.panel { padding: 20px; }
.panel-head { gap: 12px; flex-wrap: wrap; }
.panel-head h2 { margin-right: auto; }
.stats { gap: 12px; margin-bottom: 24px; }
.stat { padding: 18px 20px; }
.stat .caption, .stat small { color: var(--muted); font-size: 13px; }
.stat strong { font-size: 30px; margin: 8px 0 4px; }
.task-title { font-size: 14px; line-height: 1.6; }
.tag { font-size: 12px; padding: 3px 8px; color: #343b49; background: #e9ecf2; }
.tag.neutral { color: #4c5566; background: #f4f5f8; }
.tag.warn { color: #805414; background: #fff2d9; }
.tag.red { color: #96382c; background: #fceeea; }
th { color: #4c5566; background: #f4f5f8; font-weight: 600; padding: 12px; }
td { padding: 13px 12px; line-height: 1.65; vertical-align: top; }
tbody tr:hover { background: #fbfbfc; }
.table-wrap { border-radius: 8px; }
.table-wrap:focus-visible { outline-offset: -3px; }
.toolbar { gap: 8px; }
.toolbar input { max-width: 420px; }
.subnav { gap: 4px; }
.subnav button { background: transparent; border-color: transparent; color: var(--muted); }
.subnav button.primary { background: #e9ecf2; color: var(--primary); border-color: #d8dee8; }
.subnav button.primary:hover:not(:disabled) { background: #d8dee8; color: var(--primary); border-color: #b8c2d2; }
.catalog-card { margin-bottom: 10px; }
.catalog-card > summary { padding: 16px 20px; }
.catalog-card .material-name { font-size: 16px; line-height: 1.6; }
.catalog-meta { margin-top: 4px; }
.catalog-actions { gap: 4px; }
.catalog-actions button { padding: 8px 10px; }
.catalog-card[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.empty { padding: 32px 20px; color: var(--muted); }
.empty-symbol { display: none; }
.help { color: var(--muted); border-left-width: 1px; font-size: 13px; }
.flow div { font-size: 12px; color: #4c5566; }
.pager { gap: 12px; padding-top: 8px; }
.utility-menu > summary { min-height: 40px; font-size: 13px; padding: 8px 12px; }
.utility-popover { box-shadow: var(--overlay-shadow); border: 0; }
.utility-popover small { color: var(--amber); font-size: 12px; }
.account-menu { position: relative; margin: 0; border: 0; overflow: visible; }
.account-menu > summary { padding: 4px 8px; min-height: 40px; gap: 8px; border-radius: 8px; }
.account-menu > summary::before { display: none; }
.account-menu > summary::after { content: ''; width: 6px; height: 6px; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 4px; }
.account-menu[open] > summary { background: var(--surface-subtle); }
.account-menu .utility-popover { top: calc(100% + 8px); }
.menu-backdrop { display: none; }
dialog { border: 0; border-radius: 16px; box-shadow: var(--overlay-shadow); padding: 28px; max-height: calc(100dvh - 48px); }
dialog::backdrop { background: #24283366; }
.dialog-head { gap: 16px; }
.dialog-head [data-action=close-modal] { min-width: 40px; font-size: 22px; padding: 2px 8px; border-color: transparent; }
.dialog-actions { gap: 12px; }
.form-error { color: #92352c; background: #fceeea; border: 1px solid #ecc8c0; line-height: 1.6; }
form[aria-busy=true] { cursor: progress; }
form[aria-busy=true] button[type=submit] { opacity: .75; }
#toast { max-width: calc(100vw - 32px); text-align: center; line-height: 1.6; background: var(--primary); }
.auth-story { background: #242833; }
.auth-story h1 { font-size: 38px; letter-spacing: 0; }
.auth-story p { color: #d8dee8; }
.auth-form { background: var(--canvas); }
.auth-form form { max-width: 400px; }
.auth-form .subtitle { margin-bottom: 12px; }
@media (max-width: 1023px) {
  .layout { display: block; }
  .sidebar { display: none; position: fixed; top: 64px; left: 0; width: 256px; height: calc(100dvh - 64px); max-height: none; z-index: 40; }
  .sidebar.open { display: flex; }
  .mobile-menu { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; }
  .topbar { position: sticky; top: 0; z-index: 45; gap: 12px; padding: 0 20px; }
  .topbar .title-path { display: block; margin-right: auto; }
  .layout:has(.sidebar.open) .menu-backdrop { display: block; position: fixed; inset: 64px 0 0; z-index: 35; background: #24283355; border: 0; border-radius: 0; }
  .content { padding: 24px 20px 48px; }
  .grid { grid-template-columns: 1fr; gap: 0; }
  button, .utility-menu > summary, .account-menu > summary { min-height: 44px; }
  .board-number-link, .board-style-link, .board-styles > summary { min-height: 44px; }
  .account .role { display: none; }
}
@media (max-width: 700px) {
  .topbar { height: 64px; padding: 0 12px; gap: 8px; }
  .topbar .title-path { display: none; }
  .account { margin-left: auto; gap: 4px; }
  .account-name { max-width: 90px; font-size: 12px; }
  .account button { font-size: 14px; padding: 10px 12px; }
  .avatar { width: 28px; height: 28px; flex-basis: 28px; }
  .utility-menu > summary { padding: 8px 10px; font-size: 13px; }
  .utility-popover, .account-menu .utility-popover { position: fixed; top: 60px; right: 12px; width: min(260px, calc(100vw - 24px)); }
  .content { padding: 24px 16px 40px; }
  h1 { font-size: 24px; }
  .page-heading { gap: 16px; margin-bottom: 20px; }
  .page-heading .actions > .primary { flex: 1; }
  .panel { padding: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; min-width: 0; }
  .stat strong { font-size: 26px; overflow-wrap: anywhere; }
  .toolbar { flex-wrap: wrap; }
  .toolbar input { flex: 1 1 150px; max-width: none; }
  .board-tools { display: block; }
  .board-tools .toolbar { width: 100%; min-width: 0; }
  .board-tools .toolbar input { flex: 1; min-width: 0; }
  .board-count { margin-top: 10px; }
  input, select, textarea { font-size: 16px; min-height: 44px; }
  .subnav { gap: 4px; }
  .subnav button { padding: 9px 11px; }
  .catalog-card > summary { padding: 14px; gap: 8px; }
  .catalog-actions { padding-top: 8px; justify-content: flex-start; border-top: 1px solid var(--border); gap: 4px; }
  .catalog-actions button { flex: 1 0 auto; }
  .catalog-card .material-name { font-size: 16px; }
  .catalog-card .summary-title { min-width: 0; }
  .catalog-tools .subnav { margin-bottom: 12px; }
  .task { flex-wrap: wrap; gap: 10px; }
  .responsive-table, .responsive-table tbody { display: block; width: 100%; }
  .board-style-demand-modal table.responsive-table { min-width: 0; width: 100%; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .responsive-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .responsive-table tr:last-child { border-bottom: 0; }
  .responsive-table td { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; font-size: 13px; overflow-wrap: anywhere; }
  .responsive-table td::before { content: attr(data-label); font-size: 12px; color: var(--muted); font-weight: 500; }
  .responsive-table .cell-value { min-width: 0; }
  .responsive-table .cell-value > .actions { gap: 6px; }
  .responsive-table .cell-value button { white-space: normal; }
  .table-wrap { margin: 0; }
  dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px 16px 0 0; padding: 20px; }
  .dialog-actions { bottom: -20px; padding: 16px 0 max(20px, env(safe-area-inset-bottom)); }
  .auth-story { padding: 28px 24px; }
  .auth-story h1 { font-size: 26px; margin-top: 24px; }
  .auth-form { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .menu-backdrop { display: none !important; } }

/* 2026 visual system: graphite navigation, quiet work surfaces, sparse semantic tint. */
:root {
  --graphite: #252936;
  --graphite-hover: #353b49;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --surface-subtle: #f0f2f6;
  --ink: #252b36;
  --muted: #647080;
  --border: #e2e5ea;
  --blue-bg: #eaf2fa;
  --blue-ink: #345d84;
  --purple-bg: #f1ecfa;
  --purple-ink: #66518d;
  --apricot-bg: #fff1de;
  --apricot-ink: #87571e;
  --focus: #607ea8;
  --primary: var(--graphite); /* Shared primary action token. */
  --overlay-shadow: 0 24px 64px #2529362b;
  background: var(--canvas);
  color: var(--ink);
}
body { background: var(--canvas); }
::selection { background: #e4ddf5; color: var(--graphite); }
.layout { background: var(--canvas); }
.sidebar { background: var(--graphite); color: #f5f6fa; border-right: 1px solid #363c49; }
.brand { letter-spacing: .02em; }
.brand-mark { background: #e9e2f8; color: var(--graphite); }
.sidebar .line { background: #454b58; }
.sidebar nav button { color: #c8ced9; border-radius: 9px; transition: background-color 140ms ease, color 140ms ease, transform 140ms ease; }
.sidebar nav button.active { background: #e9e2f8; color: #252936; }
.sidebar nav button:hover:not(.active) { background: #353b49; color: #fff; }
.sidebar nav button:active { transform: scale(.985); }
.sidebar-footer, .brand small { color: #b7becb; }
.layout:has(.order-workspace) .sidebar { background: var(--graphite); color: #f5f6fa; border-color: #363c49; }
.layout:has(.order-workspace) .sidebar nav button { color: #c8ced9; }
.layout:has(.order-workspace) .sidebar nav button.active { background: #e9e2f8; color: var(--graphite); }
.layout:has(.order-workspace) .sidebar .muted,
.layout:has(.order-workspace) .sidebar-footer { color: #b7becb; }
.topbar { border-bottom: 1px solid var(--border); }
.content { max-width: 1512px; }
.grid { align-items: start; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(24px, 1.9vw, 30px); font-weight: 700; }
.subtitle { color: var(--muted); }
.panel, .stat, details, .board-fabric, .board-order, .order-scan-card,
.order-inspector, .order-style-card, .order-material-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 2px #25293608;
}
.panel-head { border-color: var(--border); }
.content > .empty { display: grid; place-items: center; min-height: 160px; margin-top: 12px; background: #fff; border: 1px dashed #cdd5e1; border-radius: 14px; }
.stat { position: relative; overflow: hidden; min-width: 0; }
.stat:nth-child(4n + 1)::before, .stat:nth-child(4n + 2)::before,
.stat:nth-child(4n + 3)::before, .stat:nth-child(4n + 4)::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
}
.stat:nth-child(4n + 1)::before { background: #b8c8e2; }
.stat:nth-child(4n + 2)::before { background: #d6c8ef; }
.stat:nth-child(4n + 3)::before { background: #f4d5a8; }
.stat:nth-child(4n + 4)::before { background: #c5cedd; }
.stat strong, .mini-stats b, .board-figure strong,
.order-figure strong, .order-scan-numbers strong { color: var(--graphite); }
.stat.warn strong { color: var(--apricot-ink); }
button { color: var(--graphite); border-color: var(--border); transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease; }
button:not(:disabled):active { transform: scale(.98); }
button.primary, .order-inspector-footer .primary { background: var(--graphite); color: #fff; border-color: var(--graphite); }
button.primary:hover:not(:disabled), .order-inspector-footer .primary:hover:not(:disabled) { background: var(--graphite-hover); border-color: var(--graphite-hover); box-shadow: 0 4px 12px #2529361c; }
button.primary:active:not(:disabled) { background: #1d202a; }
button.link, a, .order-scan-name button.link { color: #405f85; }
button.link:hover:not(:disabled), a:hover { color: #28476a; }
.subnav button.primary, .board-tabs button.active,
.order-work-tools .subnav button.primary { background: var(--purple-bg); color: var(--purple-ink); border-color: #e4daf5; }
.subnav button.primary:hover:not(:disabled), .order-work-tools .subnav button.primary:hover:not(:disabled) { background: #e8def7; color: #57427e; }
.tag, .material-style-tag { background: var(--blue-bg); color: var(--blue-ink); }
.tag.neutral { background: #eff1f4; color: #596474; }
.tag.warn { background: var(--apricot-bg); color: var(--apricot-ink); }
.tag.red { background: #fff0ed; color: #9b3c35; }
.banner, .arrival-demand-hint, .name-preview, .order-lock-hint { background: var(--blue-bg); border-color: #d6e4f3; color: #3c5878; }
.banner.warn { background: var(--apricot-bg); border-color: #f2dbb6; color: var(--apricot-ink); }
.flow div, .demand-progress-wrap, .order-inspector-totals { background: #f4f6f9; color: #586576; }
.demand-progress li.linked::after { background: #9cb7d6; }
.demand-progress li.complete .demand-progress-marker,
.demand-progress li.active .demand-progress-marker { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
th, .board-table-head, .order-material-columns { background: #f5f6f8; color: #596474; }
td, .task, .notice-list li { border-color: var(--border); }
tbody tr:hover { background: #f8f9fc; }
.catalog-card[open] > summary, .board-fabric-head,
.order-inspector-color, .order-scan-fabric + .order-scan-fabric { border-color: var(--border); }
.board-fabric-head, .order-style-head { background: #fff; }
.board-summary, .board-order-total, .order-inspector-totals { background: #f3f5f9; }
.order-scan-card.selected { border-color: #abbcda; background: #fcfdff; box-shadow: 0 0 0 2px #e7eef9; }
.order-view-button { background: #eef1f6; color: var(--graphite); }
.order-color-choice:has(input:checked) { background: var(--purple-bg); border-color: #bca9df; }
.stock-number.available { background: var(--blue-bg); color: var(--blue-ink); }
.attachment { background: var(--blue-bg); color: var(--blue-ink); }
input, select, textarea { color: var(--ink); border-color: #cdd4df; caret-color: var(--graphite); }
input:focus, select:focus, textarea:focus { outline: 3px solid #aec3e1; outline-offset: 2px; border-color: #738fb8; }
input[type=checkbox] { accent-color: #506c94; }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.order-workspace button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.utility-popover, dialog { box-shadow: var(--overlay-shadow); }
dialog { overscroll-behavior: contain; }
dialog[open] { opacity: 1; transform: translateY(0); transition: opacity 160ms ease, transform 160ms ease; }
@starting-style { dialog[open] { opacity: 0; transform: translateY(8px); } }
dialog::backdrop { background: #20242eb3; backdrop-filter: blur(3px); }
.dialog-actions { background: #fff; }
#toast { background: var(--graphite); box-shadow: 0 12px 30px #25293630; }
.auth-story { color: #fff; background: linear-gradient(145deg, #252936, #3b4152); }
.auth-story h1 { color: #fff; }
.auth-story p { color: #d8deea; }
.auth-form { background: var(--canvas); }
.help { border-color: #bac9dc; }

@media (max-width: 1023px) {
  .sidebar { box-shadow: 10px 0 36px #25293626; transform: translateX(-110%); display: flex; visibility: hidden; transition: transform 180ms ease; }
  .sidebar.open { transform: translateX(0); visibility: visible; }
  .menu-backdrop { transition: opacity 180ms ease; }
}
@media (max-width: 700px) {
  .content { padding: 20px 14px max(38px, env(safe-area-inset-bottom)); }
  .page-heading { align-items: stretch; }
  .page-heading .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); width: 100%; }
  .page-heading .actions > button { min-width: 0; white-space: normal; }
  .stats { gap: 8px; }
  .stat { padding: 14px 12px 14px 16px; }
  .stat strong { font-size: 24px; margin: 6px 0 3px; }
  .panel, .board-fabric, .board-order, .order-scan-card { border-radius: 12px; }
  .board-tools .toolbar input { min-width: 0; }
  .catalog-card > summary { align-items: start; }
  .catalog-actions { width: 100%; }
  .catalog-actions button { min-height: 44px; }
  .responsive-table tr { padding: 12px 2px; }
  .responsive-table td { grid-template-columns: minmax(76px, 30%) minmax(0, 1fr); align-items: start; }
  .responsive-table td:has(button) .cell-value { display: flex; flex-wrap: wrap; gap: 6px; }
  dialog { margin: auto auto 0; width: 100vw; max-height: calc(100dvh - 8px); border-radius: 18px 18px 0 0; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .dialog-actions { bottom: calc(-1 * max(22px, env(safe-area-inset-bottom))); }
  .order-master-detail.has-selection { display: flex; flex-direction: column; }
  .order-inspector { width: 100%; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar, .menu-backdrop, button, .sidebar nav button, dialog { transition: none !important; animation: none !important; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) { dialog::backdrop { backdrop-filter: none; } }
@media (prefers-contrast: more) {
  :root { --border: #8994a6; --muted: #46505f; --focus: #335f9d; }
  .tag, .tag.neutral, .tag.warn, .tag.red { border: 1px solid currentColor; }
}

/* Board: show shared fabric totals before the color-level breakdown. */
.board-fabric-main { flex: 1 1 auto; min-width: 0; }
.board-fabric-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 650px; margin: 13px 0 8px; }
.board-fabric-metrics > div { min-width: 0; padding: 8px 12px; background: var(--surface-subtle); border-radius: 8px; }
.board-fabric-metrics small { display: block; color: var(--muted); font-size: 12px; }
.board-fabric-metrics strong { display: block; color: var(--graphite); font-size: 20px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.board-fabric-signals { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 7px; }
.board-fabric-signals:empty { display: none; }
.board-mobile-colors { display: none; }

/* Demand: one primary task, with maintenance actions disclosed on request. */
.demand-page-more { position: relative; margin: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.demand-page-more > summary { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--control-radius); background: var(--surface); color: var(--graphite); font-weight: 600; list-style: none; white-space: nowrap; }
.demand-page-more > summary::-webkit-details-marker { display: none; }
.demand-page-more > summary::before, .demand-search-panel > summary::before { display: none; }
.demand-page-more > summary::after, .demand-search-panel > summary::after { content: ''; width: 6px; height: 6px; margin-left: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.demand-page-more[open] > summary::after, .demand-search-panel[open] > summary::after { transform: rotate(225deg); }
.demand-page-more-menu { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; display: grid; gap: 4px; min-width: 215px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--overlay-shadow); }
.demand-page-more-menu button { width: 100%; text-align: left; }
.demand-search-panel { margin: 0 0 14px; border: 0; background: none; box-shadow: none; overflow: visible; }
.demand-search-panel > summary { display: none; }
.demand-search-panel .toolbar { margin: 0; }

@media (max-width: 760px) {
  .board-fabric-head { flex-direction: column; align-items: stretch; gap: 6px; }
  .board-fabric-metrics { gap: 5px; margin-top: 11px; }
  .board-fabric-metrics > div { padding: 7px 6px; }
  .board-fabric-metrics small { font-size: 11px; white-space: nowrap; }
  .board-fabric-metrics strong { font-size: 17px; white-space: nowrap; }
  .board-fabric-head .actions { justify-content: flex-start; }
  .board-desktop-colors { display: none; }
  .board-mobile-colors { display: block; margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; box-shadow: none; }
  .board-mobile-colors > summary { min-height: 44px; padding: 10px 14px; color: var(--blue-ink); font-size: 13px; font-weight: 600; }
  .board-mobile-colors .board-color-row { border-top: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .demand-page-more { min-width: 0; }
  .demand-page-more > summary { justify-content: center; }
  .demand-page-more-menu { right: 0; max-width: calc(100vw - 28px); }
  .demand-search-panel { margin-bottom: 12px; border: 0; border-radius: 0; }
  .demand-search-panel > summary { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--control-radius); background: var(--surface); color: var(--graphite); font-weight: 600; }
  .demand-search-panel > summary::after { margin-left: auto; }
  .demand-search-panel[open] > summary { margin-bottom: 10px; }
}
