/* DATRAVIX workbench appearance. Survey values and workflow rules remain in their records. */
:root {
  color-scheme: dark;
  --wb-bg: light-dark(#f3f5f7, #0d141c);
  --wb-surface: light-dark(#ffffff, #151f2a);
  --wb-elevated: light-dark(#f8fafb, #182431);
  --wb-inset: light-dark(#edf1f4, #101923);
  --wb-hover: light-dark(#e8eef2, #202f3d);
  --wb-text: light-dark(#1b2c3b, #e8edf2);
  --wb-muted: light-dark(#536a7e, #a1b3c5);
  --wb-faint: light-dark(#5f7487, #91a3b4);
  --wb-line: light-dark(#d8e1e8, #2b3947);
  --wb-line-strong: light-dark(#afc0cd, #3b4f60);
  --wb-copper: light-dark(#925b2b, #d9a46d);
  --wb-copper-fill: light-dark(#9d652f, #bd834b);
  --wb-on-copper: light-dark(#ffffff, #101923);
  --wb-copper-soft: light-dark(#f5eadf, #2e261f);
  --wb-cyan: light-dark(#087588, #79d3df);
  --wb-selected: light-dark(#e4f2f5, #17313b);
  --wb-good-bg: light-dark(#e4f3e9, #19352b);
  --wb-good-text: light-dark(#255d3f, #9bdbb7);
  --wb-warn-bg: light-dark(#fff3db, #372e20);
  --wb-warn-text: light-dark(#80530d, #edc577);
  --wb-bad-bg: light-dark(#fce8e7, #3c2426);
  --wb-bad-text: light-dark(#a23431, #f0acaa);
  --wb-shadow: 0 12px 35px light-dark(#18304620, #00000040);
  --wb-radius: 10px;
  --wb-top: 56px;
  --wb-rail: 174px;
  --wb-inspector: 320px;
  --wb-pad: 24px;
  --wb-card-pad: 22px;
  --wb-detail-pad: 22px;
  --wb-cell: 14px 16px;
  --wb-row-gap: 12px;
  --ink: var(--wb-text);
  --muted: var(--wb-muted);
  --line: var(--wb-line);
  --paper: var(--wb-bg);
  --nav: var(--wb-inset);
  --green: var(--wb-copper);
  --lime: var(--wb-copper);
}
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="system"] { color-scheme: light dark; }
:root[data-density="compact"] {
  --wb-pad: 18px;
  --wb-card-pad: 16px;
  --wb-detail-pad: 18px;
  --wb-cell: 10px 14px;
  --wb-row-gap: 8px;
}

html { scrollbar-color: var(--wb-line-strong) var(--wb-inset); }
body { background: var(--wb-bg); color: var(--wb-text); font-size: 14px; letter-spacing: -.1px; }
body.wb-active { min-width: 0; }
.wb-skip { position: fixed; left: 12px; top: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; border: 1px solid var(--wb-cyan); border-radius: 6px; color: var(--wb-text); background: var(--wb-surface); font-size: 13px; text-decoration: none; }
.wb-skip:focus { transform: translateY(0); outline: 2px solid var(--wb-cyan); outline-offset: 2px; }
button, input, select, textarea { font-size: 13px; }
button, .button { min-height: 38px; border-radius: 6px; padding: 8px 13px; background: var(--wb-copper-fill); color: var(--wb-on-copper); font-weight: 650; line-height: 1.4; transition: background-color .14s, border-color .14s, color .14s; }
button:hover, .button:hover { filter: none; background: var(--wb-copper); }
button:disabled { cursor: not-allowed; opacity: .5; }
button.secondary, .button.secondary { background: var(--wb-surface); color: var(--wb-text); border-color: var(--wb-line); }
button.secondary:hover, .button.secondary:hover { background: var(--wb-hover); border-color: var(--wb-line-strong); }
button.danger, .button.danger { background: var(--wb-bad-bg); color: var(--wb-bad-text); border-color: var(--wb-bad-text); }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--wb-cyan); outline-offset: 3px; }
input, select, textarea { background: var(--wb-inset); color: var(--wb-text); border: 1px solid var(--wb-line-strong); border-radius: 6px; min-height: 40px; padding: 9px 11px; }
input::placeholder, textarea::placeholder { color: var(--wb-faint); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--wb-cyan); outline: 2px solid var(--wb-selected); outline-offset: 1px; }
input[type="checkbox"] { accent-color: var(--wb-cyan); }
input[type="number"], .metric, .result strong, table, time, .wb-number { font-variant-numeric: tabular-nums; }
a { color: var(--wb-cyan); }
label { color: var(--wb-muted); font-size: 12px; font-weight: 600; }
.eyebrow, .wb-kicker { color: var(--wb-faint); font-size: 12px; font-weight: 650; letter-spacing: 1.7px; text-transform: uppercase; margin: 0 0 8px; }
.muted { color: var(--wb-muted); font-size: 12px; line-height: 1.65; }
.subtle { color: var(--wb-faint); font-size: 12px; }
.inline-link { color: var(--wb-cyan); }

/* One readable navigation column and an inspector only when it is in use. */
.topbar, .wb-topbar { min-height:var(--wb-top); height:var(--wb-top); position:sticky; top:0; z-index:50; background:var(--wb-surface); color:var(--wb-text); padding:8px 20px; gap:16px; border-bottom:1px solid var(--wb-line); }
.topbar .brand { gap:9px; flex-shrink:0; }
.topbar .brand-mark-crop { width:31px; height:31px; border-radius:6px; border-color:var(--wb-copper-fill); box-shadow:none; }
.topbar .brand-mark-crop img { width:132px; height:132px; left:-7px; top:-44px; }
.brand-copy strong { color:var(--wb-text); font-size:15px; letter-spacing:1.7px; }
.brand-copy strong span { color:var(--wb-copper); }
.brand-copy small { display:none; }
.top-actions { gap:8px; min-width:0; }
.topbar .secondary { color:var(--wb-text); border-color:var(--wb-line); background:transparent; }
.topbar .secondary:hover { background:var(--wb-hover); }
#releaseInfo { margin:0; font-size:12px; white-space:nowrap; }
#network, #wb-task-sync { display:inline-flex; align-items:center; flex-shrink:0; white-space:nowrap; font-size:12px; background:var(--wb-elevated); color:var(--wb-muted); border:1px solid var(--wb-line); padding:5px 8px; }
#network[data-state="offline"], #network.offline, #network.warn { background:var(--wb-warn-bg); color:var(--wb-warn-text); }
#network[data-state="online"] { color:var(--wb-good-text); }
#notice { position:relative; z-index:45; padding:10px 20px; font-size:13px; background:var(--wb-good-bg); color:var(--wb-good-text); border-bottom:1px solid var(--wb-line); }
#notice.error { background:var(--wb-warn-bg); color:var(--wb-warn-text); }
.wb-shell { display:grid; grid-template-columns:var(--wb-rail) minmax(0,1fr); min-height:calc(100dvh - var(--wb-top)); align-items:stretch; }
.wb-shell.wb-inspector-open { grid-template-columns:var(--wb-rail) minmax(0,1fr) var(--wb-inspector); }
.wb-rail { grid-column:1; background:var(--wb-inset); border-right:1px solid var(--wb-line); position:sticky; top:var(--wb-top); height:calc(100dvh - var(--wb-top)); overflow-y:auto; overscroll-behavior:contain; display:flex; flex-direction:column; gap:4px; padding:16px 9px 12px; }
.wb-rail nav, .wb-nav-group { display:flex; flex-direction:column; gap:4px; }
.wb-nav-group + .wb-nav-group { margin-top:14px; }
.wb-nav-group-label, .wb-nav-heading, .wb-nav-group > .eyebrow { color:var(--wb-muted); font-size:11px; letter-spacing:1.1px; text-transform:uppercase; margin:10px 9px 7px; font-weight:600; }
.wb-rail button, .wb-rail a { position:relative; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:9px; width:100%; min-height:44px; padding:9px; border:1px solid transparent; border-radius:7px; background:transparent; color:var(--wb-muted); font-size:13px; line-height:1.4; font-weight:500; text-align:left; text-decoration:none; }
.wb-rail button:hover, .wb-rail a:hover { color:var(--wb-text); background:var(--wb-hover); }
.wb-rail button.active, .wb-rail button[aria-current="page"], .wb-rail a.active { background:var(--wb-selected); color:var(--wb-cyan); border-color:var(--wb-line); }
.wb-rail button.active::before, .wb-rail button[aria-current="page"]::before { content:""; position:absolute; left:-10px; top:12px; bottom:12px; width:2px; border-radius:1px; background:var(--wb-cyan); }
.wb-icon { flex:0 0 auto; }
.wb-rail .wb-icon { font-size:19px; line-height:1; width:21px; height:22px; display:inline-flex; align-items:center; justify-content:center; }
.wb-rail svg { width:19px; height:19px; }
.wb-nav-label { display:block; min-width:0; }
.wb-nav-meta { margin:12px 9px 5px; font-size:12px; color:var(--wb-muted); }
.wb-rail-footer { margin-top:auto; padding-top:16px; border-top:1px solid var(--wb-line); }
.wb-main { grid-column:2; min-width:0; padding:0 var(--wb-pad) 20px; }
.wb-project { position:relative; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:58px; margin:0 calc(-1 * var(--wb-pad)); padding:9px var(--wb-pad); background:var(--wb-surface); border-bottom:1px solid var(--wb-line); }
.wb-project > div { min-width:0; }
.wb-project h1, .wb-project h2, .wb-project p { margin:0; }
.wb-project .eyebrow { display:none; }
.wb-project-name { font-size:15px; font-weight:600; letter-spacing:-.2px; }
.wb-project-meta { color:var(--wb-muted); font-size:12px; }
.wb-project select { background:var(--wb-surface); min-width:130px; max-width:230px; }
.wb-project .project-controls { gap:7px; flex-wrap:nowrap; align-items:center; }
.wb-project .project-controls label { font-size:12px; }
.wb-project .project-controls label select { margin-top:0; }
.wb-toolbar { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0 10px; flex-wrap:wrap; }
.wb-toolbar-main { display:flex; align-items:center; gap:18px; flex:1; min-width:0; flex-wrap:wrap; }
.wb-toolbar h1 { font-size:21px; line-height:1.25; font-weight:600; letter-spacing:-.5px; margin:0; }
.wb-toolbar .wb-kicker { display:none; }
.wb-toolbar p { margin:0; }
.wb-toolbar-actions { position:relative; display:flex; align-items:center; gap:7px; flex-shrink:0; flex-wrap:wrap; }
.wb-search-button { color:var(--wb-muted); justify-content:space-between; }
.wb-search-button .wb-icon { font-size:18px; }
.wb-display-trigger { display:none; min-width:40px; min-height:40px; padding:7px; }
.wb-appearance-inline .wb-appearance-fields { display:flex; gap:8px; align-items:center; }
.wb-appearance-inline .wb-appearance-fields select { font-size:13px; min-height:36px; width:auto; max-width:140px; padding:6px 9px; }
kbd { border:1px solid var(--wb-line-strong); color:var(--wb-muted); background:var(--wb-inset); border-radius:4px; font:11px/1.3 ui-monospace,Consolas,monospace; padding:3px 5px; white-space:nowrap; }
.wb-context { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; color:var(--wb-muted); font-size:12px; line-height:1.5; padding:4px 0; font-variant-numeric:tabular-nums; }
.wb-context span { display:inline-flex; align-items:center; gap:6px; }
.wb-context b { font-weight:500; color:var(--wb-text); }
.wb-context code { color:var(--wb-muted); font-size:12px; }
.wb-views, .wb-viewbar { display:flex; flex-wrap:wrap; gap:3px; align-items:center; padding:3px; margin:0; border:1px solid var(--wb-line); border-radius:8px; background:var(--wb-inset); }
.wb-views button { min-height:36px; padding:7px 10px; background:transparent; border:1px solid transparent; color:var(--wb-muted); font-size:12px; }
.wb-views button:hover { color:var(--wb-text); background:var(--wb-hover); }
.wb-views button.active, .wb-views button[aria-selected="true"], .wb-views button[aria-pressed="true"] { color:var(--wb-cyan); background:var(--wb-surface); border-color:var(--wb-line); }
.wb-map { position:relative; background:var(--wb-inset); border:1px solid var(--wb-line); border-radius:var(--wb-radius); overflow:hidden; margin:12px 0; height:clamp(400px,60vh,780px); }
.wb-map iframe { width:100%; height:100%; display:block; border:0; }
.wb-map .map-frame { height:100%; border:0; border-radius:0; box-shadow:none; }
.wb-map-caption { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--wb-muted); font-size:12px; line-height:1.5; }
.wb-map-caption button { font-size:12px; padding:6px 9px; min-height:36px; flex-shrink:0; }
.wb-module-host { margin:12px 0; border:1px solid var(--wb-line); border-radius:9px; overflow:hidden; background:var(--wb-surface); min-width:0; }
.wb-module-host iframe { width:100%; height:max(680px,calc(100dvh - 220px)); display:block; border:0; background:var(--wb-surface); }
.wb-content { min-width:0; padding-top:4px; }
.wb-content > .section-head:first-child { margin-top:16px; }
.wb-content .map-section { margin-bottom:22px; }
.wb-footer { color:var(--wb-muted); border-top:1px solid var(--wb-line); padding:12px 0 0; margin-top:22px; font-size:12px; line-height:1.5; }

/* Reference and recorded verification are distinct from the point's active status. */
.wb-detail { grid-column:3; background:var(--wb-surface); border-left:1px solid var(--wb-line); min-width:0; position:sticky; top:var(--wb-top); height:calc(100dvh - var(--wb-top)); overflow-y:auto; overscroll-behavior:contain; scroll-margin-top:calc(var(--wb-top) + 8px); }
.wb-detail-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px var(--wb-detail-pad); min-height:58px; border-bottom:1px solid var(--wb-line); }
.wb-detail-head .eyebrow { margin:0; font-size:11px; letter-spacing:1px; }
.wb-detail-head button { min-height:38px; min-width:38px; padding:6px; font-size:12px; background:transparent; color:var(--wb-muted); border-color:var(--wb-line); }
.wb-detail-content { padding:var(--wb-detail-pad); overflow-wrap:anywhere; }
.wb-detail-content h2 { font-size:24px; font-weight:600; letter-spacing:-.6px; margin:0 0 6px; }
.wb-detail-content h3 { font-size:14px; font-weight:600; margin:22px 0 12px; }
.wb-detail-content .muted { font-size:12px; margin:0 0 16px; }
.wb-detail-content dl { margin:16px 0; }
.wb-detail-content dl > div { padding:10px 0; border-bottom:1px solid var(--wb-line); }
.wb-detail-content dt { color:var(--wb-muted); font-size:12px; margin-bottom:3px; }
.wb-detail-content dd { margin:0; color:var(--wb-text); font-size:13px; font-variant-numeric:tabular-nums; }
.wb-point-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:10px 0 14px; }
.wb-point-meta .muted { margin:0; }
.wb-point-reference { padding:18px; margin:16px 0; border:1px solid var(--wb-line); border-radius:9px; background:var(--wb-inset); }
.wb-point-reference > p, .wb-point-reference > span, .wb-point-reference > label { display:block; color:var(--wb-muted); font-size:12px; margin:0 0 4px; }
.wb-point-reference > p:last-child { margin:6px 0 0; }
.wb-reference-value { display:inline; color:var(--wb-text); font-size:30px; line-height:1.25; letter-spacing:-.7px; font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.wb-reference-unit { margin-left:6px; color:var(--wb-muted); font-size:16px; font-weight:400; }
.wb-point-verification { border:1px solid var(--wb-line); border-radius:8px; padding:12px; margin:12px 0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.wb-point-verification.warn { color:var(--wb-warn-text); background:var(--wb-warn-bg); border-color:color-mix(in srgb,var(--wb-warn-text) 24%,transparent); }
.wb-point-verification.neutral { color:var(--wb-muted); background:var(--wb-inset); }
.wb-point-verification strong { display:block; font-size:13px; font-weight:600; }
.wb-point-verification p, .wb-point-verification small { display:block; margin:4px 0 0; color:inherit; font-size:12px; }
.wb-point-measured { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin:12px 0; font-size:13px; flex-wrap:wrap; }
.wb-point-primary { width:100%; min-height:44px; margin:6px 0 16px; }
.wb-detail button.wb-point-primary { background:var(--wb-copper-fill); color:var(--wb-on-copper); border-color:var(--wb-copper-fill); }
.wb-detail-fold { border-top:1px solid var(--wb-line); margin-top:12px; }
.wb-detail-fold summary { padding:13px 0; min-height:44px; font-size:13px; font-weight:500; cursor:pointer; }
.wb-detail-fold dl { margin:0 0 12px; }
.wb-detail-fold dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; border:0; padding:6px 0; }
.wb-detail-fold dd { text-align:right; }
.wb-detail-fold p { font-size:13px; line-height:1.6; }
.wb-detail-content .footer-actions, .wb-detail-actions { display:grid; grid-template-columns:1fr; gap:8px; margin-top:18px; }
.wb-detail-content .footer-actions button, .wb-detail-actions button, .wb-detail-actions a { width:100%; font-size:13px; white-space:normal; }
.wb-detail-content .result { padding:16px; margin:16px 0; }
.wb-detail-content .result strong { font-size:34px; }
.wb-detail-content .history { padding-left:14px; font-size:13px; }
.wb-detail-empty { padding:var(--wb-detail-pad); text-align:center; color:var(--wb-muted); }
.wb-detail-empty h2 { font-size:18px; }
.wb-inspector-note { border-top:1px solid var(--wb-line); margin-top:22px; padding-top:14px; color:var(--wb-muted); font-size:12px; line-height:1.6; }

/* Transient controls keep the mobile workspace free of a permanent preferences row. */
.wb-display-settings { position:absolute; top:calc(100% + 8px); right:0; z-index:70; width:min(292px,calc(100vw - 24px)); max-height:calc(100dvh - 160px); overflow:auto; padding:16px; background:var(--wb-surface); color:var(--wb-text); border:1px solid var(--wb-line-strong); border-radius:10px; box-shadow:var(--wb-shadow); }
.wb-display-settings-head, .wb-settings-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.wb-display-settings h2, .wb-display-settings h3 { margin:0; font-size:16px; }
.wb-settings-close { min-height:44px; min-width:44px; padding:8px; }
.wb-appearance-fields { display:grid; gap:12px; }
.wb-appearance-fields label { color:var(--wb-muted); font-size:12px; }
.wb-appearance-fields select { font-size:16px; min-height:44px; width:100%; }
.wb-mobile-nav, .wb-control-picker { display:none; }
.wb-mobile-more { width:min(480px,calc(100vw - 24px)); padding:18px; background:var(--wb-surface); color:var(--wb-text); }
.wb-mobile-more .dialog-head { margin-bottom:12px; }
.wb-mobile-more .dialog-head button { min-width:44px; min-height:44px; }
.wb-more-commands { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.wb-more-commands button { min-height:44px; white-space:normal; text-align:left; justify-content:flex-start; font-size:13px; }
.wb-mobile-more .project-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:18px; padding-top:14px; border-top:1px solid var(--wb-line); }
.wb-mobile-more .project-controls label { grid-column:1/-1; }
.wb-mobile-more .project-controls select { width:100%; font-size:16px; min-height:44px; }

/* Shared registers and existing workflows. */
.grid, .wb-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wb-metrics { margin: 16px 0 22px; }
.card { background: var(--wb-surface); border: 1px solid var(--wb-line); border-radius: var(--wb-radius); padding: var(--wb-pad); }
.card h2 { color: var(--wb-text); font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 13px; }
.card h3 { font-size: 13px; font-weight: 600; }
.card .metric { font-size: 30px; font-weight: 550; color: var(--wb-text); margin: 8px 0; letter-spacing: -1px; }
.wb-metrics .card { padding: 17px 19px; }
.wb-metrics .eyebrow { font-size: 11px; letter-spacing: 1.3px; }
.wb-metrics .metric { font-size: 29px; margin: 5px 0; }
.wb-metrics .muted { font-size: 12px; }
.wb-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--wb-surface); border: 1px solid var(--wb-line); border-radius: 8px; overflow: hidden; }
.wb-metrics > div { min-width: 0; padding: 18px; border-right: 1px solid var(--wb-line); }
.wb-metrics > div:last-child { border-right: 0; }
.wb-metrics > div > b { display: block; font-size: 25px; line-height: 1.2; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.7px; margin-bottom: 6px; }
.wb-metrics > div > span { display: block; color: var(--wb-muted); font-size: 12px; }
.wb-record-link { background: transparent; color: var(--wb-cyan); padding: 2px 0; min-height: 27px; border: 0; font-size: 13px; font-weight: 600; text-align: left; justify-content: flex-start; }
.wb-record-link:hover { background: transparent; color: var(--wb-text); text-decoration: underline; text-underline-offset: 3px; }
.wb-operator { padding: 22px; background: var(--wb-surface); border: 1px solid var(--wb-line); border-radius: 9px; margin: 16px 0 22px; }
.wb-operator h2 { margin: 0 0 8px; font-size: 24px; font-weight: 550; letter-spacing: -.7px; }
.wb-operator-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.wb-operator-actions button { min-height: 62px; font-size: 14px; }
.wb-operator-actions button:first-child { grid-column: 1 / -1; background: var(--wb-copper-fill); color: var(--wb-on-copper); border-color: transparent; }
.section-head { margin: 25px 0 13px; gap: 12px; flex-wrap: wrap; }
.section-head h2, .action-center .section-head h2, .map-section .section-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.section-head p { margin: 5px 0 0; }
.section-head .actions { display: flex; gap: 7px; flex-wrap: wrap; }
.section-head .actions button, .section-head .button { font-size: 12px; }
.rows { gap: 7px; }
.row { background: var(--wb-surface); border-color: var(--wb-line); border-radius: 7px; padding: var(--wb-cell); gap: 12px; }
.row b { font-size: 13px; font-weight: 600; }
.row .actions { flex-shrink: 0; gap: 6px; }
.row .actions button, .row .actions a { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.row .muted { font-size: 12px; }
.row p { margin-top: 8px; margin-bottom: 0; }
.badge { border-radius: 4px; padding: 4px 7px; font-weight: 550; line-height: 1.3; font-size: 12px; background: var(--wb-hover); color: var(--wb-muted); border: 1px solid transparent; vertical-align: middle; }
.badge.good { background: var(--wb-good-bg); color: var(--wb-good-text); }
.badge.warn { background: var(--wb-warn-bg); color: var(--wb-warn-text); }
.badge.bad, .badge.error { background: var(--wb-bad-bg); color: var(--wb-bad-text); }
.badge.selected { background: var(--wb-selected); color: var(--wb-cyan); }
.empty { background: var(--wb-inset); color: var(--wb-muted); border: 1px dashed var(--wb-line-strong); border-radius: 8px; padding: 28px; font-size: 12px; line-height: 1.8; }
.empty b { color: var(--wb-text); font-weight: 550; }
.note { background: var(--wb-warn-bg); color: var(--wb-warn-text); border-radius: 6px; border-left: 2px solid var(--wb-warn-text); padding: 12px 14px; font-size: 12px; line-height: 1.6; }
.model-pair { gap: 6px; }
.model-pair span { background: var(--wb-inset); color: var(--wb-muted); border-color: var(--wb-line); border-radius: 5px; padding: 6px 9px; font-size: 12px; }
.model-pair b { color: var(--wb-text); font-size: inherit; }
.filter-bar { background: var(--wb-selected); color: var(--wb-cyan); border-color: var(--wb-line); border-radius: 6px; font-size: 12px; }
.filter-bar button { min-height: 30px; font-size: 12px; }
.wb-register-wrap { overflow-x: auto; border: 1px solid var(--wb-line); border-radius: 8px; margin: 15px 0; background: var(--wb-surface); }
.wb-register { width: 100%; border-collapse: collapse; background: var(--wb-surface); font-size: 12px; text-align: left; }
.wb-register th { background: var(--wb-inset); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--wb-muted); padding: 11px 16px; border-bottom: 1px solid var(--wb-line); white-space: nowrap; }
.wb-register td { padding: var(--wb-cell); border-bottom: 1px solid var(--wb-line); color: var(--wb-text); vertical-align: middle; }
.wb-register tr:last-child td { border-bottom: 0; }
.wb-register tr[data-action], .wb-register tr[tabindex] { cursor: pointer; }
.wb-register tbody tr:hover { background: var(--wb-hover); }
.wb-register tbody tr.selected, .wb-register tbody tr[aria-selected="true"] { background: var(--wb-selected); }
.wb-register td:first-child { font-weight: 600; }
.wb-register td .muted { font-size: 12px; }
.wb-register td button { background: transparent; color: var(--wb-cyan); min-height: 30px; padding: 5px 0; font-size: 12px; }
.wb-register td.numeric, .wb-register th.numeric { text-align: right; white-space: nowrap; }
.wb-register td code { font-size: 12px; }
.wb-register .badge { white-space: nowrap; }
.action-center { margin-bottom: 25px; }
.action-card { background: var(--wb-surface); border-color: var(--wb-line); border-left-width: 3px; border-radius: 8px; padding: 17px 18px; gap: 13px 18px; }
.action-card.priority-high { border-left-color: #cb5a34; }
.action-card.priority-medium { border-left-color: #d29a2f; }
.action-title { gap: 11px; }
.action-title h3 { font-size: 14px; font-weight: 600; }
.action-title .eyebrow { font-size: 11px; }
.action-main > p { font-size: 12px; line-height: 1.7; }
.action-next { min-width: 160px; }
.action-next button { font-size: 12px; }
.action-next .eyebrow { font-size: 11px; }
.action-dot { width: 6px; height: 6px; }
.priority-high .action-dot { box-shadow: 0 0 0 3px var(--wb-bad-bg); }
.priority-medium .action-dot { box-shadow: 0 0 0 3px var(--wb-warn-bg); }
.action-card summary { color: var(--wb-muted); font-size: 12px; }
.action-card dl div { background: var(--wb-inset); border: 1px solid var(--wb-line); border-radius: 5px; }
.action-card dt { font-size: 11px; }
.action-card dd { font-size: 12px; }
.action-summary { gap: 6px; }
.action-summary span { background: var(--wb-elevated); border-color: var(--wb-line); border-radius: 5px; padding: 6px 9px; font-size: 12px; color: var(--wb-muted); }
.action-summary b { color: var(--wb-text); }
.status-explain { font-size: 12px; }
.map-frame { border-color: var(--wb-line); border-radius: 9px; box-shadow: none; }
.rule-toggle { background: var(--wb-inset); border-color: var(--wb-line); border-radius: 6px; color: var(--wb-text); font-size: 12px; }
.check-layout { gap: 18px; grid-template-columns: minmax(0, 1.3fr) minmax(240px, 1fr); }
.result { background: var(--wb-inset); border: 1px solid var(--wb-line-strong); border-radius: 9px; color: var(--wb-text); padding: 22px; }
.result .eyebrow { color: var(--wb-muted); }
.result strong { color: var(--wb-copper); font-size: 46px; font-weight: 550; }
.result p { font-size: 12px; }
.history { border-left-color: var(--wb-line-strong); padding-left: 19px; padding-bottom: 20px; font-size: 12px; }
.history b { font-weight: 600; }
.history small { color: var(--wb-faint); font-size: 12px; }
.form-grid { gap: 14px; }
.detail-grid { gap: 10px; }
.detail-grid p { color: var(--wb-muted); font-size: 12px; }
.detail-grid b { color: var(--wb-text); font-weight: 550; margin-top: 4px; }
.welcome { max-width: 510px; margin: 8vh auto; padding: 24px; }
.welcome h1 { font-size: 37px; font-weight: 550; letter-spacing: -1.4px; }
.welcome .eyebrow { color: var(--wb-copper); }
.welcome .card { padding: 26px; }

/* Native dialogs retain keyboard focus trapping and Escape behavior. */
dialog { background: var(--wb-surface); color: var(--wb-text); border: 1px solid var(--wb-line-strong); box-shadow: var(--wb-shadow); border-radius: 12px; padding: 25px; }
dialog::backdrop { background: #040a12b3; backdrop-filter: blur(3px); }
.dialog-head { margin-bottom: 20px; }
.dialog-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.dialog-head > button { width: 32px; min-height: 32px; padding: 3px; }
.wb-command { width: min(620px, calc(100vw - 32px)); padding: 0; margin-top: min(17vh, 150px); }
.wb-command .dialog-head { margin: 0; padding: 17px 20px; border-bottom: 1px solid var(--wb-line); }
.wb-command .dialog-head h2 { font-size: 14px; letter-spacing: -.2px; }
.wb-command input { width: calc(100% - 32px); margin: 16px; font-size: 15px; min-height: 47px; background: var(--wb-inset); padding: 12px 14px; }
.wb-command > label { padding-top: 15px; font-size: 12px; text-indent: 17px; }
.wb-command > label input { margin-top: 7px; text-indent: 0; }
.wb-command > .subtle { margin: 0 17px 13px; font-size: 12px; }
.wb-command-results { padding: 0 9px 12px; max-height: min(52vh, 480px); overflow-y: auto; }
.wb-command-results .empty { margin: 7px; }
.wb-command-results > p, .wb-command-results > .eyebrow { margin: 10px 12px; }
.wb-command-item, .wb-command-results button { display: flex; flex-direction: row; width: 100%; align-items: center; justify-content: space-between; padding: 11px 12px; margin: 2px 0; color: var(--wb-text); background: transparent; border: 1px solid transparent; text-align: left; border-radius: 6px; font-size: 13px; font-weight: 500; }
.wb-command-item:hover, .wb-command-item:focus, .wb-command-results button:hover, .wb-command-results button:focus { background: var(--wb-selected); color: var(--wb-cyan); border-color: var(--wb-line); }
.wb-command-item small, .wb-command-results button small { display: block; color: var(--wb-muted); font-size: 12px; line-height: 1.6; }
.wb-command-item > span:last-child:not(:first-child) { font-size: 12px; color: var(--wb-muted); }
.wb-command footer { border-top: 1px solid var(--wb-line); padding: 11px 20px; font-size: 12px; color: var(--wb-muted); display: flex; gap: 12px; }
.wb-assistant { background: var(--wb-surface); color: var(--wb-text); }
dialog.wb-assistant { width: min(580px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: 22px; margin: 16px 16px 16px auto; }
.wb-assistant-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--wb-line); gap: 12px; }
.wb-assistant-head h2 { font-size: 17px; margin: 0; }
.wb-assistant .card { padding: 0; border: 0; border-radius: 0; margin: 20px 0; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.wb-assistant .card + .card { border-top: 1px solid var(--wb-line); padding-top: 20px; }
.wb-assistant h3 { font-size: 12px; margin-top: 22px; }
.wb-assistant li { font-size: 12px; line-height: 1.8; margin-bottom: 8px; overflow-wrap: anywhere; }
.wb-assistant ul { padding-left: 18px; }
.wb-assistant .subtle { font-size: 12px; }
.wb-detail.wb-assistant > .card { padding: 0 18px; }
.wb-detail.wb-assistant > .wb-context { padding: 12px 18px 0; color: var(--wb-cyan); }
.wb-detail.wb-assistant > .card + .card { margin-top: 22px; padding-top: 18px; }
.wb-detail.wb-assistant .form-actions button { width: 100%; }
.wb-detail.wb-assistant input { min-width: 0; }
.wb-assistant form, .wb-assistant label, .wb-assistant .form-actions { min-width: 0; max-width: 100%; }
.wb-assistant input, .wb-assistant textarea, .wb-assistant select { width: 100%; max-width: 100%; }
.wb-assistant .note { overflow-wrap: anywhere; }
.wb-assistant .form-actions button { white-space: normal; overflow-wrap: anywhere; }

/* Authenticated child modules inherit the shell theme, including import reviews. */
.wb-embedded body { background: var(--wb-surface); }
.wb-embedded body > .topbar { display: none; }
.wb-embedded body > main, .wb-embedded .workspace { width: 100%; max-width: none; margin: 0; padding: 22px; }
.wb-embedded h1 { font-size: 24px; font-weight: 550; letter-spacing: -.7px; }
.wb-embedded h2 { font-size: 18px; font-weight: 600; }
.wb-embedded h3 { font-size: 14px; font-weight: 600; }
.wb-embedded .project-bar { gap: 15px; margin-bottom: 20px; }
.wb-embedded .project-bar h1 { font-size: 24px; }
.wb-embedded .project-controls { gap: 6px; }
.wb-embedded .project-controls button { min-height: 34px; font-size: 12px; }
.wb-embedded .operations-intro h1 { font-size: 24px; }
.wb-embedded .tabs { gap: 3px; padding-bottom: 8px; margin-bottom: 20px; }
.wb-embedded .tabs button { font-size: 12px; padding: 7px 11px; min-height: 34px; }
.wb-embedded .tabs button.active { background: var(--wb-selected); color: var(--wb-cyan); }
.wb-embedded .operation-card, .wb-embedded .operations-detail details, .wb-embedded .operation-create { background: var(--wb-surface); color: var(--wb-text); border-color: var(--wb-line); border-radius: 8px; }
.wb-embedded .operation-card:hover { background: var(--wb-hover); }
.wb-embedded .operation-card.selected { border-color: var(--wb-cyan); background: var(--wb-selected); box-shadow: none; }
.wb-embedded .operation-card strong { font-size: 14px; }
.wb-embedded .ops-metric, .wb-embedded .handover-snapshot article { background: var(--wb-inset); border: 1px solid var(--wb-line); border-radius: 6px; }
.wb-embedded .blocked-reasons, .wb-embedded .offline-banner, .wb-embedded .pending-evidence article, .wb-embedded .form-error { background: var(--wb-warn-bg); color: var(--wb-warn-text); border-color: var(--wb-warn-text); }
.wb-embedded .ops-history article { border-left-color: var(--wb-line-strong); }
.wb-embedded .due-overdue, .wb-embedded .rejected { color: var(--wb-bad-text); }
.wb-embedded .review { color: var(--wb-warn-text); }
.wb-embedded .accepted { color: var(--wb-good-text); }
.wb-embedded .file-card .result { background: var(--wb-inset); color: var(--wb-text); }
.wb-embedded .model-preview { border-color: var(--wb-line); background: var(--wb-surface); }
.wb-embedded .model-preview-toolbar, .wb-embedded .model-preview-options { background: var(--wb-inset); border-color: var(--wb-line); }
.wb-embedded .model-preview-label, .wb-embedded .model-preview-zoom, .wb-embedded .model-preview-options label { color: var(--wb-muted); }
.wb-embedded .model-preview button { background: var(--wb-surface); color: var(--wb-text); border-color: var(--wb-line-strong); }
.wb-embedded .model-preview [aria-pressed="true"] { color: var(--wb-cyan); background: var(--wb-selected); border-color: var(--wb-cyan); }
.wb-embedded table { border-collapse: collapse; font-size: 12px; }
.wb-embedded th { color: var(--wb-muted); font-size: 12px; letter-spacing: .5px; background: var(--wb-inset); }
.wb-embedded td, .wb-embedded th { border-color: var(--wb-line); }
.wb-embedded .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Density changes spacing; text sizes stay the same in both modes. */
.card { padding:var(--wb-card-pad); }
.rows { gap:var(--wb-row-gap); }
.empty, .model-pair span { background:var(--wb-inset); color:var(--wb-muted); border-color:var(--wb-line); }
.note { background:var(--wb-warn-bg); color:var(--wb-warn-text); }
.wb-register th { font-size:12px; letter-spacing:.2px; text-transform:none; }
.wb-register td, .wb-register td button, .wb-register td code { font-size:13px; }
.wb-register td button { min-height:38px; }
.wb-register .badge { white-space:normal; }
.wb-register-tools { display:flex; flex-wrap:wrap; gap:8px; }
.wb-register-tools > label { min-width:0; flex:1 1 140px; }
.wb-command > label, .wb-command > .subtle, .wb-command-item small, .wb-command-results button small, .wb-command footer { font-size:12px; }
.wb-command-item, .wb-command-results button { min-height:44px; white-space:normal; gap:12px; }
.wb-command-item small { text-align:right; }
@media (min-width:1600px) {
  :root { --wb-rail:184px; --wb-inspector:340px; }
  .wb-map { height:clamp(450px,65vh,900px); }
}
@media (max-width:980px) and (min-width:701px) {
  :root { --wb-rail:66px; --wb-inspector:292px; --wb-pad:18px; }
  .wb-rail { padding:14px 6px; }
  .wb-rail button, .wb-rail a { justify-content:center; padding:10px 5px; }
  .wb-rail .wb-nav-label, .wb-nav-group-label, .wb-nav-heading, .wb-rail .eyebrow, .wb-nav-meta { display:none; }
  .wb-toolbar-main { gap:10px; }
  .wb-toolbar h1 { font-size:19px; }
  #releaseInfo { display:none; }
}
@media (max-width:700px) {
  :root { --wb-top:52px; --wb-pad:14px; --wb-card-pad:18px; --wb-detail-pad:18px; --wb-mobile-nav:70px; }
  :root[data-density="compact"] { --wb-pad:12px; --wb-card-pad:14px; --wb-detail-pad:16px; --wb-cell:10px 12px; }
  html, body, #app { min-width:0; max-width:100%; }
  body.wb-active { min-width:0; }
  button, .button, summary { min-height:44px; }
  input, select, textarea, .wb-command input { font-size:16px; min-height:44px; max-width:100%; }
  label { font-size:13px; }
  .topbar, .wb-topbar { padding:6px 12px; gap:8px; height:var(--wb-top); }
  .topbar .brand { gap:7px; }
  .brand-copy strong { font-size:14px; letter-spacing:1.4px; }
  .brand-copy small, #releaseInfo, .topbar #map-link { display:none; }
  .top-actions { gap:5px; }
  .top-actions:has(#wb-task-sync) { flex-direction:column; align-items:flex-end; gap:2px; }
  #network, #wb-task-sync { font-size:12px; padding:3px 6px; line-height:1.25; }
  #notice { padding:10px 14px; font-size:13px; }
  .wb-shell, .wb-shell.wb-inspector-open { display:grid; grid-template-columns:minmax(0,1fr) 112px; gap:0; padding-bottom:calc(var(--wb-mobile-nav) + env(safe-area-inset-bottom)); min-height:calc(100dvh - var(--wb-top)); }
  .wb-desktop-navigation, .wb-rail { display:none; }
  .wb-main { display:contents; }
  .wb-project { grid-column:1; grid-row:1; margin:0; padding:5px 0 5px var(--wb-pad); min-height:54px; border-bottom:1px solid var(--wb-line); }
  .wb-project > div { width:100%; min-width:0; }
  .wb-project-name { font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .wb-project-meta { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .wb-project .project-controls, .wb-project .eyebrow { display:none; }
  .wb-toolbar { grid-column:2; grid-row:1; padding:5px var(--wb-pad) 5px 4px; margin:0; min-height:54px; background:var(--wb-surface); border-bottom:1px solid var(--wb-line); justify-content:flex-end; z-index:40; }
  .wb-toolbar-main, .wb-toolbar h1, .wb-toolbar .wb-views, .wb-main > .wb-context { display:none; }
  .wb-toolbar-actions { gap:5px; width:auto; flex-wrap:nowrap; }
  .wb-appearance-inline { display:none; }
  .wb-display-trigger { display:inline-flex; }
  .wb-toolbar-actions button, .wb-display-trigger, .wb-search-button { min-width:44px; min-height:44px; flex-shrink:0; padding:8px; }
  .wb-search-label, .wb-display-label, .wb-search-button kbd { display:none; }
  .wb-search-button { min-width:44px; justify-content:center; }
  .wb-display-settings { top:calc(100% + 8px); right:0; padding:14px; max-height:calc(100dvh - 200px); }
  .wb-display-settings button { min-width:44px; min-height:44px; }
  .wb-detail { order:1; grid-column:1/-1; grid-row:auto; position:static; width:100%; height:auto; max-height:none; overflow:visible; border-left:0; border-bottom:1px solid var(--wb-line); scroll-margin-top:calc(var(--wb-top) + 8px); }
  .wb-detail-head { min-height:52px; padding:8px var(--wb-detail-pad); }
  .wb-detail-head button { min-width:44px; min-height:44px; }
  .wb-detail-content { padding:var(--wb-detail-pad); }
  .wb-detail-content h2 { font-size:24px; }
  .wb-reference-value { font-size:34px; letter-spacing:-1px; }
  .wb-point-reference { margin:14px 0; padding:18px 16px; }
  .wb-point-primary { min-height:46px; }
  .wb-detail-content .footer-actions, .wb-detail-actions { display:flex; flex-wrap:wrap; gap:8px; }
  .wb-detail-content .footer-actions button, .wb-detail-actions button, .wb-detail-actions a { flex:1 1 130px; min-width:0; min-height:44px; font-size:13px; }
  .wb-detail-fold dl { display:block; }
  .wb-detail-fold dl > div { display:flex; }
  .wb-main > .wb-map { order:2; grid-column:1/-1; height:clamp(300px,52dvh,500px); margin:12px var(--wb-pad); border-radius:8px; }
  .wb-main > .wb-content { order:3; grid-column:1/-1; margin:0 var(--wb-pad); padding:0; }
  .wb-main > .wb-module-host { order:4; grid-column:1/-1; margin:12px var(--wb-pad); }
  .wb-main > .wb-footer { order:5; grid-column:1/-1; margin:20px var(--wb-pad) 0; font-size:12px; }
  .wb-mobile-nav { position:fixed; bottom:0; left:0; right:0; z-index:60; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:7px 8px calc(7px + env(safe-area-inset-bottom)); background:var(--wb-surface); border-top:1px solid var(--wb-line); }
  .wb-mobile-nav button { display:flex; flex-direction:column; gap:4px; min-height:54px; min-width:0; padding:6px 3px; font-size:12px; font-weight:500; background:transparent; color:var(--wb-muted); border-color:transparent; white-space:normal; }
  .wb-mobile-nav button.active, .wb-mobile-nav button[aria-current="page"], .wb-mobile-nav button[aria-pressed="true"] { color:var(--wb-cyan); background:var(--wb-selected); }
  .wb-mobile-nav .wb-icon { font-size:19px; line-height:1; }
  .wb-mobile-more { max-height:calc(100dvh - 24px); overflow:auto; }
  .wb-mobile-more .project-controls { display:grid; width:100%; }
  .wb-more-commands button { min-width:0; }
  .wb-control-picker { display:grid; gap:var(--wb-row-gap); padding:12px 0; }
  .wb-control-point { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:66px; padding:13px; background:var(--wb-surface); border-color:var(--wb-line); text-align:left; }
  .wb-control-point > span { min-width:0; }
  .wb-control-point span > b, .wb-control-point span > strong { display:block; color:var(--wb-text); font-size:14px; font-weight:600; overflow-wrap:anywhere; }
  .wb-control-point-name { display:block; color:var(--wb-text); font-size:14px; font-weight:600; overflow-wrap:anywhere; }
  .wb-control-point small { display:block; color:var(--wb-muted); font-size:12px; margin-top:3px; }
  .wb-control-point > strong { flex-shrink:0; color:var(--wb-text); font-size:13px; font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; }
  .wb-control-point[aria-pressed="true"], .wb-control-point.selected { border-color:var(--wb-cyan); background:var(--wb-selected); }
  .wb-point-register .wb-register { display:none; }
  .wb-point-register { border:0; background:transparent; margin:8px 0; overflow:visible; }
  .wb-register { min-width:0; width:100%; }
  .wb-register-wrap { max-width:100%; }
  .wb-register th { font-size:12px; white-space:normal; padding:10px; }
  .wb-register td { font-size:13px; padding:10px; overflow-wrap:anywhere; }
  .wb-register td button { min-height:44px; font-size:13px; white-space:normal; text-align:left; }
  .wb-register td.numeric { white-space:normal; }
  .section-head { align-items:flex-start; flex-wrap:wrap; gap:12px; margin:18px 0 12px; }
  .section-head > label { flex:1 1 130px; min-width:0; }
  .section-head input, .section-head select { width:100%; }
  .section-head .actions { flex-wrap:wrap; width:100%; }
  .section-head .actions button, .section-head .actions .button { flex:1 1 120px; min-height:44px; font-size:13px; }
  .grid { grid-template-columns:1fr; gap:10px; }
  .wb-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wb-metrics > div { padding:14px; border-bottom:1px solid var(--wb-line); }
  .wb-metrics > div:nth-child(2n) { border-right:0; }
  .wb-metrics > div:nth-last-child(-n+2) { border-bottom:0; }
  .wb-metrics > div > span { font-size:12px; }
  .check-layout, .form-grid, .rule-grid { grid-template-columns:1fr; gap:14px; }
  .row { align-items:flex-start; flex-direction:column; padding:var(--wb-card-pad); }
  .row .actions { flex-wrap:wrap; width:100%; }
  .row .actions button, .row .actions a { min-height:44px; font-size:13px; flex:1 1 120px; }
  .card { padding:var(--wb-card-pad); }
  .action-card { grid-template-columns:1fr; padding:var(--wb-card-pad); }
  .action-card details { grid-column:1; }
  .action-card dl { grid-template-columns:1fr; }
  .action-next { min-width:0; }
  .action-next button { min-height:44px; font-size:13px; }
  .action-main > p { font-size:13px; }
  .action-summary span { font-size:12px; }
  .filter-bar { flex-wrap:wrap; gap:8px; }
  .filter-bar button, .wb-map-caption button { min-height:44px; font-size:12px; }
  .wb-map-caption { flex-wrap:wrap; font-size:12px; gap:8px; }
  .result strong { font-size:42px; }
  .form-actions { flex-wrap:wrap; gap:8px; }
  .form-actions button { min-height:44px; min-width:0; font-size:13px; }
  .wb-operator { padding:var(--wb-card-pad); }
  .wb-operator-actions button { font-size:14px; min-height:60px; }
  .wb-module-host iframe { min-height:610px; height:78dvh; }
  .wb-embedded body > main, .wb-embedded .workspace { padding:var(--wb-pad); }
  .wb-embedded .grid { grid-template-columns:1fr; }
  .wb-embedded .tabs button, .wb-embedded .project-controls button { min-height:44px; font-size:13px; }
  dialog { width:calc(100vw - 24px); padding:18px; max-height:calc(100dvh - 24px); }
  .dialog-head h2 { font-size:19px; }
  .dialog-head > button { min-width:44px; min-height:44px; }
  .wb-command { width:calc(100vw - 20px); margin-top:12px; padding:0; }
  .wb-command-results { max-height:58dvh; }
  .wb-command-item, .wb-command-results button { font-size:13px; min-height:44px; }
  dialog.wb-assistant { margin:10px auto; width:calc(100vw - 20px); padding:18px; max-height:calc(100dvh - 20px); }
  .welcome { margin:4vh auto; padding:20px; }
  .welcome h1 { font-size:32px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
