/* In TERIO: the H9 pilot's project page, drawn as Soft studio's project page (bom.html, bom-tree.html) */
.interio { --interio-pad: 16px; --interio-late: var(--tint-bad-fg); position: relative; isolation: isolate; }
/* A sheet the reader opens on a phone covers the whole screen, the nav included */
@media (max-width: 759px) { .interio.is-layer { isolation: auto; } }
html.interio-lock { overflow: hidden; }
.interio-sheet { position: relative; }
/* clip, not hidden: hidden would make the sheet a scroll box and stop the demo control from sticking */
.interio > .sheet.interio-sheet { overflow: clip; }

/* The bar: the project, the six pages and, on a desktop, search. On a desktop it scrolls with the window rather than
   sticking under the site's nav, where a second pinned bar hid the window's own head. A phone, whose pages run to two
   screens, pins the tabs alone under the nav, the crumb tucked under it, about 50 px of the screen. */
.interio-top { position: relative; z-index: 8; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumb" "tabs"; align-items: center; gap: 0 8px; padding: 8px 8px 0 16px; border-bottom: 1px solid var(--line); background: var(--sheet); }
.interio-crumb { grid-area: crumb; }
.interio-tabs { grid-area: tabs; }
.interio-top-end { display: contents; }
.interio-crumb { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.interio-mark { width: 18px; height: 19px; flex: none; margin-right: 4px; }
.interio-top-end .btn.sm { min-height: 44px; padding: 0 14px; }
.interio .pebble { width: 28px; height: 28px; font-size: 13px; letter-spacing: 0; }
.interio .pebble.lg { width: 36px; height: 36px; font-size: 14px; }

/* Replay is the page's control, not the app's: it hangs on the window's frame, under its right corner */
.interio-ctl { position: absolute; right: 20px; bottom: 0; z-index: 9; display: flex; transform: translateY(50%); }
.interio-find.interio-find-bar { display: none; }
/* Skip while the arrival plays, Replay at rest: both words hold the button's width, so it never changes size */
.interio-play [data-ic="skip"] { fill: currentColor; stroke-linejoin: round; }
.interio-play[data-state="playing"] [data-ic="skip"] { display: inline; }
.interio-play-l { display: inline-grid; }
.interio-play-l > * { grid-area: 1 / 1; }
.interio-play[data-state="playing"] [data-l="replay"], .interio-play:not([data-state="playing"]) [data-l="skip"] { visibility: hidden; }
.interio-tabs-more, .interio-tabs-less { display: none; }

.interio-tabs { display: flex; gap: 2px; min-width: 0; margin: 4px 0 0 -16px; padding: 0 8px 8px 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); }
.interio-tabs::-webkit-scrollbar { display: none; }
.interio-tab { position: relative; display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--ink-2); font: 500 14px/1 var(--font-sans); cursor: pointer; transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease), box-shadow var(--quick) var(--ease); }
.interio-tab .i { width: 16px; height: 16px; color: var(--ink-3); }
@media (hover: hover) { .interio-tab:hover { background: var(--outline-hover); color: var(--ink); } }
.interio-tab.is-on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--depth-thumb); }
.interio-tab.is-on .i { color: var(--ink); }
.interio-tab em { color: var(--ink-3); font: 400 13px/1 var(--font-sans); font-style: normal; font-variant-numeric: tabular-nums; }
@container (max-width: 899px) {
  .interio-tab { gap: 6px; padding: 0 12px; }
  .interio-tab .i { display: none; }
}

.interio-find { position: relative; display: flex; align-items: center; }
.interio-find .i { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.interio-find input { width: 100%; height: 44px; padding: 0 12px 0 34px; border: 0; border-radius: var(--r-full); background: var(--neutral-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 400 16px/1 var(--font-sans); outline: none; -webkit-appearance: none; appearance: none; }
.interio-find input::placeholder { color: var(--ink-3); }
.interio-find input:placeholder-shown::-webkit-search-cancel-button { display: none; }
.interio-find input:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); background: var(--card); }

/* The page under the bar */
.interio-stage { position: relative; }
.interio-view { padding: 20px var(--interio-pad) var(--interio-pad); min-width: 0; }
.interio.is-held .interio-view, .interio-view[data-v="overview"] { min-height: var(--interio-h, 0px); }
/* Every width holds the window to the screen under the nav (R43), as an app's window is held: the overview fits it
   by folding (interio.js sets the levels below, each keeping the ones before it), and every other page shows what
   fits and one line that counts the rest, so no page scrolls inside the window until the reader asks for all of it.
   A desktop keeps every page at the overview's height, so a tab pressed moves nothing under the window. A page shown
   in full on a desktop scrolls in its window only once all of it is on screen (is-inview), so a reader scrolling past
   moves the page. Nothing else is clipped: text spaced wider (WCAG 1.4.12) makes the window taller instead. */
.interio-svh { position: fixed; top: 0; left: 0; width: 0; height: 100svh; visibility: hidden; pointer-events: none; }
.interio.is-measure .interio-view { min-height: 0 !important; max-height: none !important; }
@container (min-width: 900px) {
  .interio .interio-view { min-height: min(var(--interio-h, 0px), var(--interio-cap, 100svh)); overflow-x: hidden; }
  .interio.is-all .interio-view { max-height: min(var(--interio-h, 100svh), var(--interio-cap, 100svh)); overflow-y: hidden; scrollbar-width: thin; scrollbar-gutter: stable; }
  .interio.is-all.is-inview .interio-view { overflow-y: auto; }
  .interio.is-all .interio-view.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); }
  /* A shorter screen folds the closed assemblies to one line under the open ones (is-fold), then drops the drone card
     as well (is-tight), then folds the two rows no desk message lands on and keeps the figures without their
     breakdown, as a phone does (is-snug), then drops the queue and the open rows no message lands on but the first
     (is-short), then the figures (is-min) */
  .interio.is-fold .interio-tree tbody.interio-fold, .interio.is-tight .interio-model-slot, .interio.is-snug .interio-tree tr.interio-row-sn { display: none; }
  .interio.is-fold .interio-tree + .interio-all { display: flex; min-height: 32px; }
  .interio.is-fold .interio-sec-all { display: none; }
  .interio.is-fold .interio-all-n { display: inline; }
  .interio.is-fold .interio-all-w { display: none; }
  .interio.is-snug :is(.interio-all-o, .interio-all-ro) { display: none; }
  .interio.is-snug :is(.interio-all-s, .interio-all-sr) { display: inline; }
  .interio.is-snug .interio-ks { display: none; }
  .interio.is-snug .interio-kpis .split { gap: 0; border-radius: var(--r-full); background: var(--track); }
  .interio.is-snug .interio-kpis .split i:not(.green) { visibility: hidden; }
  .interio.is-snug .interio-kpis .interio-mbar i { display: none; }
  .interio.is-snug .interio-kpis .interio-mbar .tot { display: block; }
  .interio.is-snug .interio-view { padding-top: 12px; padding-bottom: 12px; }
  .interio.is-snug .interio-decide { --pt: 16px; }
  .interio.is-snug .interio-claim { margin-top: 8px; }
  .interio.is-snug .interio-rule { margin: 8px 0; }
  .interio.is-short :is(.interio-queue, .interio-tree tr.interio-row-x) { display: none; }
  .interio.is-min .interio-kpis { display: none; }
}
.interio-view.is-enter { animation: interio-in var(--m-enter) var(--m-ease-enter) both; }

.interio-head { display: grid; gap: 12px; margin-bottom: 20px; }
.interio-head-t { display: grid; gap: 4px; min-width: 0; }
.interio-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.interio-dot { width: 3px; height: 3px; border-radius: var(--r-full); background: var(--ink-3); }
.interio-title { font-size: 28px; font-weight: var(--w-display); line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); }
.interio-lede { margin-top: 4px; min-height: 3em; font-size: 18px; font-weight: 450; line-height: 1.5; color: var(--ink-2); max-width: 46em; }
.interio-lede b { color: var(--ink); font-weight: 600; }
.interio-verdict { display: inline-flex; align-items: baseline; gap: 5px; color: var(--tint-warn-fg); font-weight: 600; }
.interio-verdict.is-ok { color: var(--settled); }
.interio-verdict .i { width: 13px; height: 13px; align-self: center; fill: currentColor; stroke: none; }
.interio-verdict.is-ok .i { fill: none; stroke: currentColor; stroke-width: 2; }
.interio-vn { display: inline-block; }
.interio-try { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 24px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.interio-try.is-gone { visibility: hidden; }
/* The hint sits on the decision's own heading line, at its right end over the card it points at */
.interio-sec > .interio-try-rail { min-height: 0; margin-left: auto; white-space: nowrap; }
.interio-try-dot { position: relative; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--accent); }

.interio-sec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-height: 28px; margin-bottom: 10px; }
.interio-sec-t { font-size: 18px; font-weight: var(--w-title); letter-spacing: -0.01em; color: var(--ink); }
.interio-n { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.interio-n-src { display: none; }
.interio-tree .interio-chip-x { display: none; }

.interio-cols { display: grid; gap: 24px; }
.interio-rail, .interio-mainc { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; min-width: 0; }
.interio-mainc { gap: 24px; }
.interio-rail > .interio-sec { margin: 0 0 -2px; }

/* The model: a hovered line lights its assembly */
.interio > .interio-model { display: none; }
.interio-model-slot { display: none; }
.interio-model { overflow: hidden; border-radius: var(--r-md); background: var(--picture-tile); box-shadow: inset 0 0 0 1px var(--line); }
.interio-model-st { position: relative; aspect-ratio: 600 / 340; overflow: hidden; }
.interio-model-st img { position: absolute; left: 0; top: -9%; width: 100%; height: auto; }
.interio-model-base { transition: opacity var(--m-story-in) var(--m-ease-move); }
.interio-cut, .interio-pp, .interio-solo { opacity: 0; transition: opacity var(--m-story-out) var(--m-ease-exit); }
.interio-cut.is-on, .interio-pp.is-on, .interio-solo.is-on { opacity: 1; transition: opacity var(--m-story-in) var(--m-ease-move); }
/* A hovered line shows its part alone, on the tile tinted by its state */
.interio-model-st { transition: background-color var(--m-state) var(--ease); }
.interio-model-st.is-part .interio-model-base { opacity: 0; transition: opacity var(--m-story-out) var(--m-ease-exit); }
.interio-model .interio-model-st[data-tone="risk"] { background: var(--tint-warn-bg); }
.interio-model .interio-model-st[data-tone="late"] { background: var(--tint-bad-wash); }
.interio-model-cap span[data-tone="risk"] { color: var(--tint-warn-fg); }
.interio-model-cap span[data-tone="late"] { color: var(--interio-late); }
.interio-model-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 14px 12px; font-size: 13px; line-height: 18px; color: var(--ink-3); white-space: nowrap; }
.interio-model-cap span { flex: none; }
.interio-model-cap b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; font-weight: 600; }

/* The decision card */
.interio-decide { --pt: 20px; --px: 18px; padding: var(--pt) var(--px); }
/* Approving keeps the card whole, so its date bar shows the new date and nothing below it moves: the marker
   slides back ahead of the need, and the done line takes the buttons' place in the same cell. is-swap is the moment
   between, when both show while interio.js crossfades them. */
.interio-decide { position: relative; }
.interio-end { display: grid; margin-top: 18px; }
.interio-end > * { grid-area: 1 / 1; min-width: 0; }
.interio-folded { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.interio .interio-folded .btn { margin-left: 0; }
.interio-decide:not(.is-done):not(.is-swap) :is(.interio-folded, .interio-k-post), .interio-decide.is-done:not(.is-swap) :is(.interio-acts, .interio-k-pre) { visibility: hidden; }
.interio-decide.is-done :is(.interio-over, .interio-lab-r, .interio-lab-l, .interio-who-chip, .interio-knob:not(.interio-knob-k)) { opacity: 0; }
.interio-decide.is-done:not(.is-swap) .interio-who-chip { visibility: hidden; }
.interio-who { display: flex; align-items: center; gap: 12px; }
.interio-obj { background: var(--tint-warn-bg); color: var(--tint-warn-fg); }
.interio-who-t { display: grid; min-width: 0; }
.interio-who-n { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ink); }
.interio-who-m { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
/* The status sits on the part number's line, so the part's name keeps one line beside its tile */
.interio-who-m .interio-who-chip { align-self: center; }
.interio-claim { margin-top: 16px; font-size: 18px; font-weight: var(--w-display); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
/* Today 16 Oct to Vale's cut on Mon 19 Oct: the window to approve Rev B runs from the marker, today, to the cut's tick */
.interio-tl { position: relative; height: 64px; margin: 18px 0 2px; --need: 92%; }
.interio-track, .interio-over { position: absolute; top: 25px; height: 8px; }
.interio-track { left: 0; right: 0; border-radius: var(--r-full); background: var(--track); }
.interio-over { left: 0; width: var(--need); border-radius: var(--r-full) 0 0 var(--r-full); background: var(--tint-warn-mid); }
.interio-need { position: absolute; top: 23px; left: var(--need); width: 2px; height: 22px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.interio-knob { position: absolute; top: 21px; left: 0; width: 16px; height: 16px; border-radius: var(--r-full); background: var(--card); box-shadow: inset 0 0 0 3.5px var(--tint-warn-fg), var(--depth-thumb); }
.interio-knob-k { box-shadow: inset 0 0 0 3.5px var(--settled), var(--depth-thumb); opacity: 0; }
.interio-lab { position: absolute; top: 0; font-size: 13px; line-height: 16px; color: var(--ink-3); white-space: nowrap; }
.interio-lab-l { left: 0; }
.interio-lab-r { right: calc(100% - var(--need)); color: var(--tint-warn-fg); font-weight: 500; }
.interio-lab-b { top: auto; bottom: 0; right: calc(100% - var(--need) - 8px); color: var(--ink); font-weight: 500; }
/* After the approval the done marker's own words, where "Today" stood */
.interio-lab-k { left: 0; color: var(--settled); font-weight: 500; opacity: 0; }
.interio-decide.is-done :is(.interio-lab-k, .interio-knob-k) { opacity: 1; }
.interio-late-t { color: var(--interio-late); font-weight: 500; }
.interio-sq { border-radius: var(--r-xs); }
.interio-rule { height: 1px; margin: 18px 0 14px; border: 0; background: var(--line); }
.interio-ifs { display: grid; gap: 8px; min-width: 0; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.interio-k { display: grid; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.interio-k > * { grid-area: 1 / 1; min-width: 0; }
.interio-k-post { display: flex; align-items: flex-start; gap: 6px; color: var(--ink-2); }
.interio-k-post b { color: var(--ink); font-weight: 600; }
.interio-k-post .i { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--settled); stroke-width: 2; }
.interio-ifs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.interio-ifs li { display: flex; align-items: flex-start; gap: 10px; }
.interio-ifs li .i { margin-top: 2px; color: var(--ink-3); }
.interio-ifs b { color: var(--ink); font-weight: 600; }
.interio-acts { display: grid; align-content: start; align-self: start; gap: 8px; }
.interio-acts .btn { width: 100%; }
.interio-cta { position: relative; }
.interio-cta::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 2px var(--accent); opacity: 0; pointer-events: none; }
.interio-offers { display: grid; margin-top: 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.interio-offers[hidden] { display: none; }
.interio-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 44px; padding: 0 14px; }
.interio-offer + .interio-offer { border-top: 1px solid var(--line); }
.interio-offer b { font-weight: 500; color: var(--ink); }
.interio-offer-n { display: grid; min-width: 0; padding: 6px 0; }
.interio-offer-n small { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.interio-offer.is-best { background: color-mix(in oklab, var(--tint-good-bg) 70%, transparent); }
.interio-amt { min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

/* The rest of what is next, one act each */
.interio-queue { padding: 4px 0; }
.interio-queue ul { margin: 0; padding: 0; list-style: none; }
.interio-q { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 16px; }
.interio-q + .interio-q { border-top: 1px solid var(--line); }
.interio-q-t { display: grid; align-content: center; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; font: inherit; line-height: 20px; cursor: pointer; }
.interio-q-t b { font-size: 14px; font-weight: 600; color: var(--ink); }
.interio-q-t span { font-size: 13px; color: var(--ink-3); }
.interio-q-t span.is-late { color: var(--interio-late); }
.interio-q-t span.is-wait { color: var(--tint-warn-fg); }
@media (hover: hover) { .interio-q-t:hover b { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; } }
.interio-qbtn, .interio-wait { grid-column: 3; justify-self: end; }
.interio-wait { white-space: nowrap; }
.interio-t-late { background: var(--tint-bad-wash); color: var(--tint-bad-fg); }
.interio-t-lilac { background: var(--tile-lilac-bg); color: var(--tile-lilac-fg); }
.interio-t-wait { background: var(--tint-warn-bg); color: var(--tint-warn-fg); }
.interio-t-ok { background: var(--tint-good-bg); color: var(--tint-good-fg); }
.interio-t-mute { background: var(--neutral-2); color: var(--ink-2); }
.interio-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--ink); font: 500 13px/1 var(--font-sans); cursor: pointer; }
.interio-more-wd, .interio-more-dk { display: none; }
/* The link to Risks reads as the parts list's "more" line does: a row with its count and a chevron */
.interio-queue .interio-more { justify-content: space-between; gap: 12px; width: 100%; border-top: 1px solid var(--line); color: var(--ink-3); font: 400 14px/20px var(--font-sans); text-align: left; }
.interio-queue .interio-more b { color: var(--ink); font-weight: 600; }
.interio-queue .interio-more .i { flex: none; width: 14px; height: 14px; }
@media (hover: hover) { .interio-queue .interio-more:hover { background: var(--outline-hover); text-decoration: none; } }
/* One next step under the decision, the rest a link to Risks; a tablet, with the queue beside the card, shows two */
.interio-q:nth-child(n+2) { display: none; }
@media (hover: hover) { .interio-link:hover { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; } }
.interio-okline { padding: 12px 16px; font-size: 14px; color: var(--settled); }

/* Progress, money and time */
.interio-kpis { display: grid; padding: 0; }
.interio-kpi { display: grid; gap: 4px; align-content: start; padding: 14px 16px; min-width: 0; }
.interio-kpi + .interio-kpi { border-top: 1px solid var(--line); }
.interio-kl { font-size: 13px; line-height: 18px; color: var(--ink-3); font-weight: 500; }
.interio-kv { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.interio-kv b { font-size: 24px; font-weight: var(--w-display); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
.interio-kv small { font-size: 14px; color: var(--ink-3); }
.interio-kbar { margin: 4px 0 2px; transform-origin: left center; }
.interio-kbar.split i { flex: var(--n) 1 0; min-width: 4px; }
.interio-kbar.split i[style*="--n:0"] { display: none; }
.interio-mbar, .interio-tbar { position: relative; display: flex; height: 8px; border-radius: var(--r-full); background: var(--track); overflow: hidden; }
.interio-mbar i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: left center; transform: translateX(calc(var(--x) * 100%)) scaleX(var(--s)); }
.interio-mbar .ag { background: var(--ink-2); }
.interio-mbar .qu { background: var(--accent-mid); }
.interio-mbar .es { background: var(--neutral-4); }
.interio-mbar .tot { display: none; background: var(--ink-2); }
.interio-tbar { overflow: visible; }
/* A timeline, not a meter: today is its start and 30 Nov its end; the dot is 9 Nov, 24 of the 45 days in */
.interio-tbar i { position: absolute; top: 50%; left: 53.33%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: var(--r-full); background: var(--mark-amber); box-shadow: 0 0 0 2px var(--card); }
.interio-tbar em { position: absolute; top: -3px; bottom: -3px; left: 0; width: 2px; border-radius: 2px; background: var(--ink); }
.interio-ks { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.interio-key { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.interio-key i { width: 8px; height: 8px; flex: none; border-radius: 2px; }
.interio-key .green { background: var(--mark-green); }
.interio-key .blue { background: var(--mark-blue); }
.interio-key .lilac { background: var(--mark-lilac); }
.interio-key .amber { background: var(--mark-amber); }
.interio-key .ag { background: var(--ink-2); }
.interio-key .qu { background: var(--accent-mid); }
.interio-key .es { background: var(--neutral-4); }

/* Tables: the overview's BOM, the Parts tab and Suppliers */
.interio-lines { padding: 0; overflow: hidden; }
.interio-tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.interio-tbl thead { display: none; }
.interio-tbl tbody, .interio-tbl tr { display: block; }
.interio-tbl th, .interio-tbl td { padding: 0; text-align: left; font-weight: 400; min-width: 0; }
.interio-tbl tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.interio-tbl tbody:first-of-type tr:first-child { border-top: 0; }
.interio-tbl th[scope="row"] { flex: 1 1 0; min-width: 0; }
.interio-tbl .interio-asm { display: block; padding: 10px 16px; background: var(--neutral-1); }
.interio-tbl .interio-asm th, .interio-tbl .interio-asm td { display: block; }
.interio-asm-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14px; }
.interio-asm-in b { font-weight: 600; color: var(--ink); }
/* The overview names each assembly and its count of risks; its part numbers are in the part's peek and the Parts page */
.interio-tree .interio-asm-in .id { display: none; }
.interio-roll { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--tint-warn-fg); }
.interio-roll.is-late { color: var(--interio-late); }
.interio-pbtn { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.interio-ptx { display: grid; min-width: 0; }
.interio-pn { font-weight: 600; color: var(--ink); }
@media (hover: hover) { .interio-pbtn:hover .interio-pn { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; } }
.interio-pos { flex: none; min-width: 28px; padding-top: 1px; font: 400 13px/20px var(--font-mono); color: var(--ink-3); }
.interio-meta-x { display: none; }
.interio-ptx .id { white-space: nowrap; }
.interio-own { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); white-space: nowrap; }
.interio-own > span:last-child, .interio-own > b { overflow: hidden; text-overflow: ellipsis; }
.interio-own b { font-weight: 600; }
/* A supplier holding a part: its whole name on a phone's card; in a table's narrow column its short name, marked as
   the supplier so it does not read as one of the team */
.interio-own-n { display: grid; line-height: 18px; }
.interio-own-r { display: none; }
.interio-own-k { font-size: 13px; line-height: 16px; color: var(--ink-3); }
@media (max-width: 759px) {
  .interio-own-n { display: inline; min-width: 0; white-space: normal; }
  .interio-own-r { display: inline; }
  .interio-own-k { display: none; }
}
.interio .interio-co { flex: none; background: var(--neutral-1); color: var(--ink-3); }
.interio-co .i { width: 16px; height: 16px; }
.interio-when { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.interio-when.is-late { color: var(--interio-late); font-weight: 600; }
.interio-mute { color: var(--ink-3); white-space: nowrap; }
.interio-row { cursor: pointer; }
@media (hover: hover) { .interio-row:hover { background: var(--outline-hover); } }
.interio-row.is-sel { background: var(--selected); }
/* The parts row an act changed lights once its new words are in, then lets go. The light is the accent, never
   green: it says that something changed, and Undo changes things for the worse. */
.interio-row.is-changed > * { position: relative; isolation: isolate; }
/* The light comes in on the page's arrival, holds, and goes on its exit: two fades, each on the motion tokens */
.interio-row.is-changed > *::after { content: ""; position: absolute; inset: -12px -8px; z-index: -1; background: var(--accent-tint); opacity: 0; pointer-events: none; animation: interio-lit-in var(--m-story-in) var(--m-ease-enter) var(--lit-d, 0ms) both, interio-lit-out var(--m-story-out) var(--m-ease-exit) calc(var(--lit-d, 0ms) + var(--m-story-in) + 560ms) forwards; }
.interio-latest > div { position: relative; isolation: isolate; display: grid; gap: 0; }
/* The scrap each message was on the desk above, at reading size: a mail line or a sheet's cell. It is
   a copy interio.js adds only while the arrival is armed or playing; it lies across its row where the stage, owner
   and date will be (a phone: over the owner line), tilted as it was on the desk, and lands on the row's note. */
.interio-latest { position: relative; }
.interio-scrap { position: absolute; left: 0; top: 0; z-index: 3; display: none; align-items: baseline; margin: 0; padding: 4px 10px; overflow: hidden; border-radius: 4px 12px 12px 12px; background: var(--card); box-shadow: var(--depth-float); white-space: nowrap; pointer-events: none; transform-origin: 0 50%; }
.interio-tree .interio-scrap small { font: 500 15px/20px var(--font-sans); color: var(--ink-3); }
.interio-tree .interio-latest .interio-scrap small::after { content: "\00a0—\00a0"; }
.interio-tree .interio-scrap span { font: 500 15px/20px var(--font-sans); color: var(--ink); }
.interio-tree [data-land="lq"] .interio-scrap { border-radius: 2px; background: var(--tint-warn-bg); box-shadow: var(--depth-float), inset 0 0 0 1.5px var(--tint-warn-mid); }
.interio-tree [data-land="lq"] .interio-scrap small { font: 400 15px/20px var(--font-mono); }
.interio-tree :is([data-land="lr"], [data-land="lh"]) .interio-scrap { border-radius: var(--r-xs); box-shadow: var(--depth-float), inset 4px 0 0 var(--tint-info-fg); }
.interio-tree :is([data-land="lr"], [data-land="lh"]) .interio-scrap small { color: var(--tint-info-fg); font-weight: 600; }
[data-land] { --from-x: 0px; --from-y: -24px; }
[data-land="lh"] { --tilt: -2deg; } [data-land="lq"] { --tilt: 1.5deg; } [data-land="lr"] { --tilt: -1.5deg; }
@container (min-width: 760px) { [data-land] { --from-y: 0px; } [data-land="lh"] { --tilt: -1deg; } [data-land="lq"] { --tilt: 0.8deg; } [data-land="lr"] { --tilt: -0.8deg; } }
/* Each landing row's stand-in, which the arrival's trigger watches: laid over its row, never seen */
.interio-land-mark { position: absolute; left: 0; top: 0; width: 100px; height: 100px; visibility: hidden; pointer-events: none; transform: scale(0); transform-origin: 0 0; }
/* A row card's scrap stays inside the card, wrapping if it must */
@container (max-width: 759px) { .interio-scrap { max-width: 100%; white-space: normal; } }
:is([data-armed] [data-land], [data-land][data-armed]) .interio-scrap { display: flex; transform: translate(calc(var(--sx, 0px) + var(--from-x)), calc(var(--sy, 0px) + var(--from-y))) rotate(var(--tilt)); }
/* The scrap stands in for its row's next step, a desktop's from the first frame and a phone's on its row's turn; the
   row's stage, owner and date stay */
:is([data-armed] [data-land], [data-land][data-armed][data-turn]) .interio-latest > div { opacity: 0; }
.interio-latest small { font: 400 13px/18px var(--font-sans); color: var(--ink-3); }
.interio-src-r { font-style: normal; }
.interio-latest span { color: var(--ink); }

/* The rows read at 14 px, the app's table size */
.interio-tree tr.interio-row { font-size: 14px; line-height: 20px; }
.interio-tree tr.interio-row .interio-latest :is(small, span) { font-size: 14px; line-height: 20px; }
.interio-tree tr.interio-row .interio-latest .interio-scrap :is(small, span) { font-size: 15px; line-height: 20px; }
/* Phone rows: name and status, then owner and date, then the latest word */
.interio-tree .interio-ptx .id, .interio-tbl td .pebble, .interio-ptab .interio-c-q, .interio-ptab .interio-c-ob, .interio-ptab.is-sup .interio-c-pr { display: none; }
.interio-tree tr.interio-row, .interio-ptab tr.interio-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
.interio-tree tr.interio-row > *, .interio-ptab tr.interio-row > * { grid-column: 1; }
.interio-tree tr.interio-row > th, .interio-ptab tr.interio-row > th { grid-row: 1; }
.interio-tree .interio-pbtn { min-height: 0; padding: 12px 0; margin: -12px 0; }
.interio-tree tr.interio-row > .interio-c-st, .interio-ptab.is-sup tr.interio-row > td:nth-child(3), .interio-ptab.is-eng tr.interio-row > td:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
.interio-tree tr.interio-row > .interio-c-arr, .interio-ptab.is-sup tr.interio-row > .interio-c-arr { grid-column: 2; grid-row: 2; justify-self: end; }
.interio-tree .interio-c-own, .interio-ptab .interio-c-own, .interio-ptab.is-eng td:nth-child(3) { grid-row: 2; font-size: 14px; color: var(--ink-2); }
.interio-ptab .interio-c-own, .interio-ptab.is-eng td:nth-child(3) { padding-left: 38px; }
.interio-tree tr.interio-row > .interio-c-own { font-size: 14px; }
.interio-ptab.is-eng tr.interio-row > td:nth-child(5) { grid-column: 1 / -1; grid-row: 3; padding-left: 38px; font-size: 14px; color: var(--ink-2); }
.interio-ptab td { font-size: 14px; color: var(--ink-2); }
/* The rule sits on the note itself, under its scrap card, so it shows only once the card has faded */
.interio-tree tr.interio-row > .interio-latest { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; padding: 2px 0; }
.interio-tree .interio-latest > div { display: block; padding-left: 12px; box-shadow: inset 2px 0 0 var(--line-strong); }
.interio-tree .interio-latest small::after { content: ": "; }
/* The overview opens four rows and folds every other assembly to its header and count; a phone lists the open rows
   and one line for the rest. Every part is one press away in the Parts page. */
.interio-tree tbody.interio-fold, .interio-tree .interio-gl, .interio-sec-all { display: none; }
.interio-tree tbody[data-asm] .interio-asm { border-top: 1px solid var(--line); }
.interio-tree tbody:first-of-type .interio-asm { border-top: 0; }
.interio-asm-in .interio-n { font-size: 13px; }
.interio-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink-3); font: 400 14px/20px var(--font-sans); text-align: left; cursor: pointer; }
.interio-all b { color: var(--ink); font-weight: 600; }
.interio-all-c > .interio-all { border-top: 0; }
.interio-sr.interio-sr-one { grid-template-columns: minmax(0, 1fr); color: var(--ink-2); }
.interio-all .i { width: 14px; height: 14px; }
@media (hover: hover) { .interio-all:hover { background: var(--outline-hover); } }
.interio-all-w, .interio-all-s, .interio-all-sr, .interio-all-p, .interio-all-pr, .interio-all-pw, .interio-arr-k { display: none; }
/* A phone's figures, in one line under the verdict; a wider screen has their card */
.interio-sum { display: none; }

/* Parts tab */
.interio-vh { display: grid; gap: 2px; margin-bottom: 16px; }
.interio-vt { font-size: 26px; font-weight: var(--w-display); line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); }
.interio-vs { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.interio-vh.is-tight .interio-vt { display: none; }
.interio-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 10px; }
.interio-tools .interio-find-v { flex: 1 1 100%; }
.interio-count { margin-left: auto; }
.interio-seg { display: inline-flex; padding: 3px; border-radius: var(--r-full); background: var(--neutral-2); }
.interio-seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: var(--r-full); background: none; color: var(--ink-2); font: 500 14px/1 var(--font-sans); cursor: pointer; }
.interio-seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--depth-thumb); }
.interio-chips { display: flex; gap: 8px; margin: 0 calc(-1 * var(--interio-pad)) 14px; padding: 2px var(--interio-pad); overflow-x: auto; scrollbar-width: none; }
.interio-chips::-webkit-scrollbar { display: none; }
.interio-fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-full); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font: 500 14px/1 var(--font-sans); cursor: pointer; }
.interio-fchip em { font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.interio-fchip[aria-pressed="true"] { background: var(--ink); color: var(--sheet); box-shadow: none; }
.interio-fchip[aria-pressed="true"] em { color: color-mix(in oklab, var(--sheet) 75%, transparent); }
.interio-arr { display: inline-flex; align-items: center; gap: 10px; }
.interio-trk { display: none; position: relative; width: 84px; height: 6px; border-radius: var(--r-full); background: var(--track); }
.interio-trk i { position: absolute; top: 0; height: 100%; left: var(--l); width: var(--w); border-radius: var(--r-full); background: var(--accent-mid); }
.interio-trk i.o { background: var(--tint-bad-mid); border-radius: 0 var(--r-full) var(--r-full) 0; }
.interio-trk i.n { width: 2px; top: -3px; height: 12px; margin-left: -1px; background: var(--ink); }
.interio-rev { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: var(--r-xs); background: var(--neutral-2); color: var(--ink); font: 600 13px/1 var(--font-mono); }
.interio-c-lack { color: var(--ink-2); }
.interio-empty { display: grid; justify-items: start; gap: 12px; padding: 20px 16px; font-size: 14px; color: var(--ink-2); }
.interio-mp { display: grid; gap: 10px; margin-bottom: 14px; padding: 14px 16px; }
.interio-mp-h { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.interio-mp-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.interio-mp .interio-mbar { margin: 0; }
.interio-mp-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.interio-mp-r { display: grid; min-width: 0; }
.interio-mp-r dt { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.interio-mp-r dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.interio-mp-t dd b { font-weight: 600; }
.interio-mp-k { width: 8px; height: 8px; flex: none; border-radius: 2px; }
.interio-mp-k.ag { background: var(--ink-2); }
.interio-mp-k.qu { background: var(--accent-mid); }
.interio-mp-k.es { background: var(--neutral-4); }

/* Requests */
.interio-rq { padding: 0; margin-bottom: 12px; }
.interio-rq-h { display: grid; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.interio-rq-t { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--ink-2); }
.interio-rq-t b { color: var(--ink); font-weight: 600; }
.interio-rq-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.interio-rq-a .btn.sm { min-height: 44px; }
.interio-rq-b { display: grid; }
.interio-sr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 10px 16px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.interio-sr + .interio-sr { border-top: 1px solid var(--line); }
.interio-sr b { font-weight: 600; color: var(--ink); }
.interio-ofr { grid-template-columns: minmax(0, 1fr) auto; }
.interio-ofr > span:first-of-type { grid-column: 1; }
.interio-ofr em { grid-column: 2; grid-row: 1; font-style: normal; color: var(--ink); text-align: right; }
.interio-ofr-a { grid-column: 2; grid-row: 2; justify-self: end; }
.interio-ofr-a .btn.sm { min-height: 40px; }
.interio-ofr.is-dim b { font-weight: 500; }
.interio-not { font-size: 13px; line-height: 20px; color: var(--ink-3); white-space: nowrap; }
.interio-ok-t { color: var(--settled); }
.interio-done-t { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--settled); white-space: nowrap; }
.interio-done-t .i { stroke-width: 2; }

/* Suppliers */
/* A supplier's name keeps its whole width: a status with no room beside it goes under it */
.interio-sp th[scope="row"] { flex: 1 0 auto; max-width: 100%; }
.interio-sp .interio-c-sst { flex: none; margin-left: auto; }
.interio-sp .interio-c-what { flex: 1 1 100%; margin-left: 32px; font-size: 13px; color: var(--ink-3); }
.interio-sp .interio-c-ln { flex: 1 1 100%; margin-left: 32px; font-size: 14px; color: var(--ink-2); }
.interio-sp .interio-c-ln:empty { display: none; }
/* A supplier card puts its open count on the name's line */
.interio-sp tr > * { order: 2; }
.interio-sp th[scope="row"] { order: 0; }
.interio-sp .interio-c-sst { order: 1; }

/* Risks */
.interio-stack { display: grid; gap: 12px; }
.interio-rk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
.interio-rk-b { display: grid; gap: 4px; min-width: 0; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.interio-rk-b i { font-style: normal; color: var(--ink-3); }
.interio-rk-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 2px; }
.interio-rk-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.interio-rk-a { grid-column: 2; }
.interio-rk-a .btn.sm { min-height: 44px; }
.interio-rk.is-done { background: color-mix(in oklab, var(--card) 70%, var(--tint-good-bg)); }

/* Team */
.interio-tms { display: grid; gap: 12px; }
.interio-tm { padding: 16px 18px 8px; }
.interio-tm-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.interio-tm-h div { display: grid; }
.interio-tm-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.interio-tm-h span { font-size: 13px; color: var(--ink-3); }
.interio-tm ul { margin: 0; padding: 0; list-style: none; }
.interio-tm li { display: flex; gap: 10px; padding: 10px 0; font-size: 14px; line-height: 20px; color: var(--ink); }
.interio-tm li + li { border-top: 1px solid var(--line); }
.interio-tm li > i { flex: none; width: 8px; height: 8px; margin: 6px 3px 0; border-radius: var(--r-full); background: var(--mark-amber); }
.interio-tm li .i { color: var(--settled); stroke-width: 2; }
.interio-tm li.is-done { color: var(--ink-3); }
.interio-tm.is-sup .interio-co { width: 36px; height: 36px; }
.interio-tm li.is-late > i { background: var(--tint-bad-mid); }

/* The peek and the drawing: a panel beside the page on wide screens, a bottom sheet on phones */
/* Above the page and the model (6), under the scene's bar (8); a phone's sheet and the drawing sit over the scrim (91) */
.interio-peek { z-index: 7; }
.interio-dlg { z-index: 94; }
.interio-peek, .interio-dlg { display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--card); color: var(--ink); }
.interio-peek[hidden], .interio-dlg[hidden] { display: none; }
.interio-pk-bar-p { order: -1; }
.interio-pk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 8px 6px 20px; border-bottom: 1px solid var(--line); }
.interio-pk-nav { display: flex; gap: 2px; }
.interio-ib { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-full); background: none; color: var(--ink-2); cursor: pointer; }
@media (hover: hover) { .interio-ib:hover { background: var(--outline-hover); color: var(--ink); } }
.interio-ib:disabled { opacity: 0.35; cursor: default; }
.interio-pk-sc { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.interio-pk-pic { position: relative; flex: none; aspect-ratio: 600 / 250; overflow: hidden; border-radius: var(--r-sm); background: var(--picture-tile); }
.interio-pk-pic img { position: absolute; left: 10%; top: -10%; width: 80%; height: auto; }
.interio-pk-pic .interio-model-base { opacity: 0.22; }
/* A part with its own render shows that part, whole, in the middle of the tile */
.interio-pk-pic.is-pp img { left: 50%; top: 8px; width: auto; height: calc(100% - 16px); transform: translateX(-50%); }
.interio-pk-cap { position: absolute; left: 10px; bottom: 8px; z-index: 1; padding: 0 8px; border-radius: var(--r-full); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 22px; color: var(--ink-2); }
.interio-pk-sc > * { flex: none; }
.interio .is-quiet:focus-visible { outline: none; }
.interio-pk-t { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: var(--w-display); line-height: 1.25; letter-spacing: -0.02em; outline-offset: 4px; border-radius: var(--r-xs); }
.interio-pk-m { margin-top: -12px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.interio-facts { display: grid; margin: 0; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.interio-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 14px; font-size: 14px; }
.interio-facts > div + div { border-top: 1px solid var(--line); }
.interio-facts dt { color: var(--ink-3); }
.interio-facts dd { margin: 0; color: var(--ink); text-align: right; }
.interio-pk-sec { display: grid; gap: 8px; }
.interio-pk-sec .interio-offers { margin-top: 0; }
.interio-hist { display: grid; margin: 0; padding: 0; list-style: none; }
.interio-hist li { position: relative; display: flex; gap: 12px; padding: 0 0 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.interio-hist li::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.interio-hist li:last-child::before { display: none; }
.interio-hist li > i { flex: none; width: 12px; height: 12px; margin-top: 4px; border-radius: var(--r-full); background: var(--card); box-shadow: inset 0 0 0 2px var(--neutral-4); }
.interio-hist li.is-past > i { background: var(--settled); box-shadow: none; }
.interio-hist li.is-now { color: var(--ink); font-weight: 600; }
.interio-hist li.is-now > i { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.interio-hist li.is-now.is-late > i { background: var(--tint-warn-fg); box-shadow: 0 0 0 3px var(--tint-warn-bg); }
.interio-hist div { display: grid; }
.interio-hist small { font-size: 13px; font-weight: 400; line-height: 19px; color: var(--ink-2); }
.interio-pk-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.interio-pk-acts .btn { flex: 1 1 auto; }
.interio-dlg-h { min-width: 0; font-size: 14px; font-weight: 600; line-height: 20px; }
.interio-dlg-b { display: grid; gap: 16px; padding: 16px 20px 22px; overflow-y: auto; }
.interio-dlg-t { display: grid; gap: 8px; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.interio-dlg-t b { color: var(--ink); font-weight: 600; }
.interio-dlg-t .interio-pk-acts { margin-top: 6px; }
.interio-drw-svg { display: block; width: 100%; height: auto; border-radius: var(--r-sm); background: var(--neutral-1); }
.interio-drw-svg .pg { fill: var(--card); stroke: var(--line-strong); stroke-width: 1; }
.interio-drw-svg .ln { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.interio-drw-svg .hd { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 3; }
.interio-drw-svg .cl { stroke: var(--ink-3); stroke-width: 0.8; stroke-dasharray: 10 3 2 3; }
.interio-drw-svg .bad, .interio-drw-svg .good { fill: none; stroke-width: 2; transform-origin: 120px 82px; }
.interio-drw-svg .bad, .interio-drw-svg.is-ok .good { transition: opacity var(--m-story-in) var(--m-ease-move), transform var(--m-story-in) var(--m-ease-move); }
.interio-drw-svg .good, .interio-drw-svg.is-ok .bad { transition: opacity var(--m-story-out) var(--m-ease-exit), transform var(--m-story-out) var(--m-ease-exit); }
.interio-drw-svg .bad { stroke: var(--tint-bad-fg); }
.interio-drw-svg .good { stroke: var(--settled); opacity: 0; transform: scale(1.12); }
.interio-drw-svg text { stroke: none; font: 600 14px var(--font-sans); }
.interio-drw-svg .bad text { fill: var(--tint-bad-fg); }
.interio-drw-svg .good text { fill: var(--settled); }
.interio-drw-svg .tb { fill: var(--ink); font: 500 13px var(--font-mono); }
.interio-drw-svg.is-ok .bad { opacity: 0; transform: scale(0.92); }
.interio-drw-svg.is-ok .good { opacity: 1; transform: none; }

.interio-scrim { position: fixed; inset: 0; z-index: 91; background: color-mix(in oklab, var(--ink) 28%, transparent); opacity: 0; visibility: hidden; transition: opacity var(--m-story-out) var(--m-ease-exit), visibility 0s linear var(--m-story-out); }
.interio-scrim.is-on { opacity: 1; visibility: visible; transition: opacity var(--m-story-in) var(--m-ease-move), visibility 0s; }

@media (min-width: 760px) {
  .interio .interio-toast { left: var(--tl, 24px); right: auto; bottom: 24px; width: var(--tw, 420px); max-width: calc(100% - 48px); }
}
@media (max-width: 759px) {
  .interio-pk-in { display: contents; }
  .interio-peek { z-index: 94; }
  .interio-peek, .interio-dlg { position: fixed; left: 0; right: 0; bottom: 0; max-height: min(86svh, 720px); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--depth-float); padding-bottom: env(safe-area-inset-bottom); transform: translateY(104%); transition: transform var(--m-story-out) var(--m-ease-exit), opacity var(--m-story-out) var(--m-ease-exit); }
  .interio-peek.is-open, .interio-dlg.is-open { transform: none; transition: transform var(--m-story-in) var(--m-ease-move), opacity var(--m-story-in) var(--m-ease-move); }
  /* The drawing opened from a part's sheet crossfades with that sheet, in its place */
  .interio.is-drw-over .interio-peek { opacity: 0; visibility: hidden; transition: opacity var(--m-story-out) var(--m-ease-exit), visibility 0s linear var(--m-story-out); }
  .interio-dlg.is-over { transform: none; opacity: 0; transition: opacity var(--m-story-out) var(--m-ease-exit); }
  .interio-dlg.is-over.is-open { opacity: 1; transition: opacity var(--m-story-in) var(--m-ease-move); }
  .interio-pk-bar.is-back { justify-content: flex-start; gap: 4px; padding-left: 6px; }
  /* A part's act stays pinned at the sheet's foot, and what it says scrolls under it */
  .interio-pk-sc > .interio-pk-acts { position: sticky; bottom: -24px; z-index: 1; margin: 0 -20px -24px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--card); }
  .interio .interio-pk-cap { font-size: 14px; }
  .interio-peek::before, .interio-dlg::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: var(--r-full); background: var(--neutral-3); }
}
@media (min-width: 760px) {
  /* The panel runs down the window's right side and its card sticks under the bar, so its Close stays in reach */
  .interio-peek { position: absolute; top: 0; bottom: 0; right: 12px; display: block; width: min(400px, calc(100% - 24px)); background: none; pointer-events: none; }
  .interio-pk-in { position: sticky; top: calc(var(--nav-h) + 12px); display: flex; flex-direction: column; margin-top: var(--top, 12px); max-height: min(calc(100svh - var(--nav-h) - 24px), calc(100% - var(--top, 12px) - 12px)); overflow: hidden; border-radius: var(--r-md); background: var(--card); box-shadow: var(--depth-float), 0 0 0 1px var(--line); pointer-events: auto; opacity: 0; transform: translateX(24px); transition: transform var(--m-story-out) var(--m-ease-exit), opacity var(--m-story-out) var(--m-ease-exit); }
  .interio-peek.is-open .interio-pk-in { opacity: 1; transform: none; transition: transform var(--m-story-in) var(--m-ease-move), opacity var(--m-story-in) var(--m-ease-move); }
  .interio-stage::after { content: ""; position: absolute; inset: 0; z-index: 6; background: linear-gradient(90deg, transparent calc(100% - 520px), color-mix(in oklab, var(--sheet) 85%, transparent) calc(100% - 420px)); opacity: 0; pointer-events: none; transition: opacity var(--m-story-out) var(--m-ease-exit); }
  .interio.is-peek .interio-stage::after { opacity: 1; transition: opacity var(--m-story-in) var(--m-ease-move); }
  .interio-pk-sc.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
  .interio-pk-sc { gap: 12px; padding-bottom: 18px; }
  .interio-pk-pic { aspect-ratio: 600 / 170; }
  /* The whole drone fits the wider tile, its feet included */
  .interio-pk-pic:not(.is-pp) img { left: 14%; top: -45%; width: 68%; }
  .interio-pk-m { margin-top: -10px; }
  .interio-facts > div { min-height: 36px; }
  .interio-pk-in > .interio-pk-bar { flex: none; }
  .interio-pk-in > .interio-pk-sc { flex: 1 1 auto; min-height: 0; }
  .interio-dlg { position: absolute; top: var(--top, 96px); left: 50%; width: min(680px, calc(100% - 32px)); margin-left: calc(min(680px, calc(100% - 32px)) / -2); border-radius: var(--r-lg); box-shadow: var(--depth-float), 0 0 0 1px var(--line); opacity: 0; transform: translateY(12px) scale(0.98); transition: transform var(--m-story-out) var(--m-ease-exit), opacity var(--m-story-out) var(--m-ease-exit); }
  .interio-dlg.is-open { opacity: 1; transform: none; transition: transform var(--m-story-in) var(--m-ease-move), opacity var(--m-story-in) var(--m-ease-move); }
  .interio-dlg-b { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
  .interio-scrim { position: absolute; z-index: 91; border-radius: inherit; }
  .interio.is-layer .interio-scrim { inset: 0; }
}
.interio-sheet > .interio-scrim { border-radius: var(--r-md); }

/* The one-line message after an act. Its host, at the foot of the window, sticks to the foot of the screen while the
   window runs past it, so the message stays inside the window and in sight */
.interio-toast-host { position: sticky; bottom: 0; z-index: 80; height: 0; pointer-events: none; }
.interio-toast { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--sheet); box-shadow: var(--depth-float); font-size: 14px; line-height: 20px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity var(--m-story-out) var(--m-ease-exit), transform var(--m-story-out) var(--m-ease-exit), visibility 0s linear var(--m-story-out); pointer-events: none; }
.interio-toast .i { margin-top: 2px; color: var(--mark-green); stroke-width: 2; }
.interio-toast b { font-weight: 600; }
.interio-toast.is-top { top: var(--tt, 120px); bottom: auto; transform: translateY(-12px); }
.interio-toast.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--m-story-in) var(--m-ease-move), transform var(--m-story-in) var(--m-ease-move), visibility 0s; }

/* The demo's pointer */

@keyframes interio-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes interio-lit-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes interio-lit-out { from { opacity: 1; } to { opacity: 0; } }

/* What sank while a row landed lifts back on the story's beat when the play is ended early */
.interio .is-lift { transition: opacity var(--m-story-in) var(--m-ease-move); }
/* What a keyboard reaches is scrolled clear of the nav and the scene's bar */
.interio-view :is(button, input, [tabindex]), .interio-pk-in :is(button, [tabindex]) { scroll-margin-top: calc(var(--nav-h) + 16px); scroll-margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) {
  .interio-peek, .interio-pk-in, .interio-dlg, .interio-toast, .interio-scrim, .interio-drw-svg .bad, .interio-drw-svg .good { transition-duration: 1ms !important; transition-delay: 0s !important; }
}
/* Reduced motion, Save-Data or a low-memory device: an act changes the page at once */
:root[data-motion="calm"] .interio .interio-view.is-enter { animation: none; opacity: 1; }
:root[data-motion="calm"] .interio .interio-row.is-changed > *::after { animation: none; opacity: 0; }
:root[data-motion="calm"] .interio :is(.interio-peek, .interio-pk-in, .interio-dlg, .interio-toast, .interio-scrim) { transition-duration: 1ms !important; transition-delay: 0s !important; }

@container (max-width: 599px) {
  .interio-ptab .interio-pbtn { min-height: 44px; }
  .interio .interio-qbtn, .interio-seg button, .interio-fchip, .interio .interio-ofr-a .btn.sm, .interio .interio-folded .btn { min-height: 44px; }
  /* A phone keeps the figures and drops their breakdown, which the Parts tab carries; its bars then draw the one
     figure each states, so no colour is left without a word */
  .interio-ks { display: none; }
  .interio-kpis .split { gap: 0; border-radius: var(--r-full); background: var(--track); }
  .interio-kpis .split i:not(.green) { visibility: hidden; }
  .interio-kpis .interio-mbar i { display: none; }
  .interio-kpis .interio-mbar .tot { display: block; }
  .interio-kpi { padding: 12px 16px; }
  .interio-tree tr:not(.is-risk) > .interio-latest-x { display: none; }
}
@container (min-width: 340px) and (max-width: 599px) {
  .interio-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .interio-kpi { padding: 12px 10px 14px 12px; gap: 2px; }
  .interio-kpi + .interio-kpi { border-top: 0; border-left: 1px solid var(--line); }
  .interio-kv { display: grid; }
  .interio-kv b { font-size: 18px; letter-spacing: -0.02em; }
  .interio-kv small { font-size: 13px; line-height: 17px; }
}
/* A narrow phone puts a long status on its own line under the part's name, so the name keeps the row's width */
@container (max-width: 479px) {
  .interio-ptab.is-sup tr.interio-row > td.interio-c-long { grid-column: 1 / -1; grid-row: 2; justify-self: start; padding-left: 38px; }
  .interio-ptab.is-sup tr.interio-row:has(> .interio-c-long) > :is(.interio-c-own, .interio-c-arr) { grid-row: 3; }
  .interio-ptab.is-sup tr.interio-row:has(> .interio-c-long) > th { grid-column: 1 / -1; }
}
/* The narrowest phones do that for every status in the Parts page, and for a long one in the overview */
@container (max-width: 319px) {
  .interio-ptab.is-sup tr.interio-row > td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; justify-self: start; padding-left: 38px; }
  .interio-ptab.is-sup tr.interio-row > :is(.interio-c-own, .interio-c-arr) { grid-row: 3; }
  .interio-ptab.is-sup tr.interio-row > th { grid-column: 1 / -1; }
  .interio-tree tr.interio-row > td.interio-c-long { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .interio-tree tr.interio-row:has(> .interio-c-long) > :is(.interio-c-own, .interio-c-arr) { grid-row: 3; }
  .interio-tree tr.interio-row:has(> .interio-c-long) > .interio-latest { grid-row: 4; }
  .interio-tree tr.interio-row:has(> .interio-c-long) > th { grid-column: 1 / -1; }
}
/* A phone puts a queue item's act under its name, so the act keeps its whole label */
@container (max-width: 479px) {
  .interio-q { grid-template-columns: auto minmax(0, 1fr); padding-right: 16px; }
  .interio-qbtn, .interio-wait { grid-column: 2; justify-self: start; }
}

/* Tablet */
@container (min-width: 600px) {
  .interio { --interio-pad: 24px; }

  .interio-top { padding: 8px 10px 0 20px; }
  .interio-view { padding-top: 24px; }
  .interio-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .interio-title { font-size: 34px; }
  .interio-decide { --pt: 24px; --px: 24px; }
  .interio-ifs { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 12px; }
  .interio-acts { display: flex; flex-wrap: wrap; }
  .interio-acts .btn { width: auto; }
  .interio-folded .btn { margin-left: auto; }
  .interio-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .interio-kpi + .interio-kpi { border-top: 0; border-left: 1px solid var(--line); }
  .interio-tools .interio-find-v { flex: 0 1 260px; }
  .interio-rq-h { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .interio-sr { grid-template-columns: 200px minmax(0, 1fr); }
  .interio-ofr { grid-template-columns: 200px minmax(0, 1fr) 80px 136px; }
  .interio-ofr > span:first-of-type { grid-column: 2; }
  .interio-ofr em { grid-column: 3; }
  .interio-ofr-a { grid-column: 4; grid-row: 1; }
  .interio-rk { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .interio-rk-a { grid-column: 3; }
  .interio-tms { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .interio-tm.is-sup { grid-column: 1 / -1; }
  .interio-tm-h { flex-direction: column; align-items: flex-start; gap: 8px; }
  .interio-mp { grid-template-columns: minmax(150px, auto) minmax(120px, 1fr); align-items: center; gap: 12px 24px; }
  .interio-mp-l { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; column-gap: 32px; }
}

@container (min-width: 700px) and (max-width: 899px) {
  .interio-kpis .interio-ks { display: none; }
  .interio-kpis .split { gap: 0; border-radius: var(--r-full); background: var(--track); }
  .interio-kpis .split i:not(.green) { visibility: hidden; }
  .interio-kpis .interio-mbar i { display: none; }
  .interio-kpis .interio-mbar .tot { display: block; }
}
@container (min-width: 600px) and (max-width: 899px) {
  .interio-q:nth-child(2) { display: grid; }
  .interio-more-ph { display: none; }
  .interio-more-wd { display: inline; }
  .interio-link-ph { display: none; }
}
/* A tablet keeps the page to two columns where it can: the decision beside the queue and the figures, the parts under */
@container (min-width: 700px) and (max-width: 899px) {
  .interio-cols { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 12px 20px; align-items: start; }
  .interio-rail, .interio-mainc { display: contents; }
  .interio-rail > .interio-sec { grid-column: 1; grid-row: 1; }
  .interio-decide { grid-column: 1; grid-row: 2 / span 2; }
  .interio-queue { grid-column: 2; grid-row: 2; }
  .interio-kpis { grid-column: 2; grid-row: 3; grid-template-columns: minmax(0, 1fr); }
  .interio-kpis .interio-kpi + .interio-kpi { border-left: 0; border-top: 1px solid var(--line); }
  .interio-parts { grid-column: 1 / -1; grid-row: 4; margin-top: 4px; }
  .interio-kpis .interio-kpi { padding: 12px 18px; }
  /* Each column is under 440 px here: the card's label goes over its list, and a queue item's act under its name */
  .interio-ifs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .interio-q { grid-template-columns: auto minmax(0, 1fr); padding-right: 16px; }
  .interio-qbtn, .interio-wait { grid-column: 2; justify-self: start; }
  /* The title carries its eyebrow on its line, and the decision its bar, as a desktop's do */
  .interio-view { padding-top: 16px; }
  .interio-decide { --pt: 18px; --px: 20px; }
  .interio-claim { margin-top: 10px; }
  .interio-tl { height: 52px; margin: 8px 0 0; }
  .interio-track, .interio-over { top: 21px; }
  .interio-need { top: 19px; height: 16px; }
  .interio-knob { top: 17px; }
  .interio-rule { margin: 10px 0 8px; }
  .interio-end { margin-top: 14px; }
  .interio-head { margin-bottom: 16px; }
  .interio-head-t { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 16px; }
  .interio-head-t .interio-eyebrow { grid-column: 2; grid-row: 1; }
  .interio-head-t .interio-title { grid-column: 1; grid-row: 1; }
  .interio-head-t :is(.interio-lede, .interio-sum) { grid-column: 1 / -1; }
  /* The figures are one line under the verdict, as a phone's are, so the queue alone stands beside the decision */
  .interio .interio-kpis { display: none; }
  .interio-decide { grid-row: 2; }
  .interio-sum { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
  .interio-sum span { white-space: nowrap; }
  /* A row card reads in two lines: its name, owner and status, then its next step and its date */
  .interio .interio-tree tr.interio-row { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 16px; }
  .interio .interio-tree tr.interio-row > .interio-c-own { grid-column: 2; grid-row: 1; }
  .interio .interio-tree tr.interio-row > .interio-c-st { grid-column: 3; grid-row: 1; align-self: center; }
  .interio .interio-tree tr.interio-row > .interio-latest { grid-column: 1 / 3; grid-row: 2; margin-top: 0; }
  .interio .interio-tree tr.interio-row > .interio-c-arr { grid-column: 3; grid-row: 2; }
  .interio .interio-tree tr.interio-row { padding-top: 10px; padding-bottom: 10px; }
  /* The parts list keeps the rows a phone keeps, and one line counts the rest, so the window keeps to one screen */
  .interio .interio-tree :is(tr.interio-row-x, tbody.interio-fold), .interio .interio-sec-all { display: none; }
  .interio .interio-tree + .interio-all { display: flex; }
  .interio .interio-tree + .interio-all :is(.interio-all-n, .interio-all-p, .interio-all-pr, .interio-all-pw) { display: inline; }
  .interio .interio-tree + .interio-all :is(.interio-all-o, .interio-all-ro, .interio-all-s, .interio-all-sr, .interio-all-w) { display: none; }
}

/* Wide: the tables become tables */
@container (min-width: 760px) {
  .interio-tbl { table-layout: fixed; }
  .interio-tbl thead { display: table-header-group; }
  .interio-tbl tbody { display: table-row-group; }
  .interio-tbl tr, .interio-tbl .interio-asm { display: table-row; padding: 0; border: 0; }
  .interio-tbl th, .interio-tbl td, .interio-tbl .interio-asm th, .interio-tbl .interio-asm td { display: table-cell; vertical-align: middle; padding: 10px 10px; border-top: 1px solid var(--line); }
  .interio-tbl thead th { padding: 12px 10px 10px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
  .interio-tbl tbody:first-of-type tr:first-child > * { border-top: 0; }
  .interio-tbl tr > :first-child { padding-left: 18px; }
  .interio-tbl tr > :last-child { padding-right: 18px; }
  .interio-tbl .interio-asm > * { padding-top: 9px; padding-bottom: 9px; background: var(--neutral-1); }
  .interio-tree tbody.interio-fold { display: table-row-group; }
  .interio-tree .interio-gl { display: block; flex: none; align-self: center; width: 14px; height: 14px; margin-left: -4px; color: var(--ink-3); }
  .interio-tree .interio-fold .interio-asm, .interio-tree .interio-fold .interio-asm > * { padding: 0; background: none; }
  .interio-fold-b { align-items: center; width: 100%; min-height: 32px; padding: 0 18px; border: 0; background: none; color: inherit; text-align: left; font: inherit; font-size: 14px; cursor: pointer; }
  .interio-fold-b b { font-weight: 500; }
  @media (hover: hover) {
    .interio-fold-b:hover { background: var(--outline-hover); }
    .interio-fold-b:hover b { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
  }
  .interio-sec-all { display: inline-flex; min-height: 32px; margin: -4px -8px -4px auto; padding: 0 8px; border-radius: var(--r-xs); }
  .interio-n-src { display: inline; }
  .interio-tbl td .pebble { display: inline-grid; }
  .interio-tree .interio-pbtn { align-items: center; min-height: 40px; padding: 0; margin: 0; }
  .interio-ptab.is-sup .interio-c-pr, .interio-ptab .interio-c-q, .interio-ptab .interio-c-ob { display: table-cell; }
  .interio-tree tr.interio-row, .interio-ptab tr.interio-row { display: table-row; }
  .interio-ptab .interio-c-own, .interio-ptab.is-eng td:nth-child(3), .interio-ptab.is-eng td:nth-child(5) { padding-left: 10px; }
  .interio-tree tr.interio-row > .interio-latest { margin-top: 0; padding: 10px 18px 10px 10px; border-radius: 0; background: none; }
  .interio-tree .interio-latest > div { display: grid; padding-left: 0; box-shadow: none; }
  .interio-tree .interio-latest small::after { content: none; }
  /* A note's source is one line, cut short where the column is narrow: a file name has no place to wrap */
  .interio-tree .interio-latest > div > small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .interio-tree thead th:nth-child(1) { width: 23%; }
  .interio-tree thead th:nth-child(2) { width: 124px; }
  .interio-tree .interio-c-st .chip { white-space: nowrap; }
  .interio-tree thead th:nth-child(3) { width: 104px; }
  /* A table's open rows mostly have no date yet: each date is in its row's latest note, and the column gives way */
  .interio-tree thead th:nth-child(4), .interio-tree .interio-c-arr { display: none; }
  .interio-tree tr.interio-row > * { padding-top: 12px; padding-bottom: 12px; }
  .interio-row.is-changed > *::after { inset: 0; }
  .interio-all-n { display: none; }
  .interio-all-w { display: inline; }
  .interio-ptab .interio-c-q { text-align: right; }
  .interio-ptab thead th:nth-child(1) { width: 30%; }
  .interio-ptab thead th:nth-child(2) { width: 56px; text-align: right; }
  .interio-ptab.is-sup thead th:nth-child(3) { width: 170px; }
  .interio-ptab.is-sup thead th:nth-child(4) { width: 84px; }
  .interio-ptab.is-sup thead th:nth-child(5) { width: 120px; }
  .interio-ptab.is-sup thead th:nth-child(6) { width: 150px; }
  .interio-ptab.is-sup thead th:nth-child(7) { width: 96px; text-align: right; }
  .interio-ptab .interio-c-pr { text-align: right; }
  .interio-ptab.is-eng thead th:nth-child(3) { width: 150px; }
  .interio-ptab.is-eng thead th:nth-child(4) { width: 140px; }
  .interio-pos { min-width: 30px; }
  .interio-trk { display: inline-block; }
  .interio-sp thead th:nth-child(1) { width: 200px; }
  .interio-sp thead th:nth-child(2) { width: 26%; }
  .interio-sp thead th:nth-child(4) { width: 156px; }
  .interio-sp .interio-c-what { font-size: 14px; color: var(--ink-2); }
  .interio-sp .interio-c-ln { font-size: 14px; }
  .interio-tree + .interio-all { display: none; }
}

/* A tablet's table: its long statuses whole, and rows as tight as a desktop's */
@container (min-width: 760px) and (max-width: 899px) {
  .interio-tree thead th:nth-child(2) { width: 156px; }
  .interio-tree tr.interio-row > * { padding-top: 8px; padding-bottom: 8px; }
}

/* Desktop: the bar holds the six pages; the rail and the BOM side by side */
@container (min-width: 900px) {
  .interio { --interio-pad: 32px; }
  .interio-top { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: none; min-height: 60px; padding: 0 12px 0 22px; }
  .interio-crumb, .interio-tabs { grid-area: auto; }
  .interio-top-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
  .interio-tabs { grid-column: auto; margin: 0 0 0 4px; padding: 8px 0; -webkit-mask-image: none; mask-image: none; }
  .interio-tab { min-height: 36px; padding: 0 10px; gap: 6px; }
  .interio-find.interio-find-bar { display: flex; width: 148px; }
  .interio-find-bar input { height: 36px; font-size: 16px; }
  .interio-top-end .btn.sm { min-height: 36px; }
  .interio-tools .interio-find-v { display: none; }
  .interio-view { padding-top: 24px; padding-bottom: 24px; }
  .interio-lede { min-height: 0; }
  .interio-title { font-size: 40px; letter-spacing: -0.04em; }
  .interio-kv b { font-size: 28px; }
  .interio-head { margin-bottom: 20px; }
  .interio-cols { grid-template-columns: minmax(300px, 344px) minmax(0, 1fr); gap: 24px; align-items: start; }
  /* The drone has its own card at the foot of the rail; a hovered line lights its assembly there */
  .interio-model-slot { display: block; }
  .interio-model-slot .interio-model { display: block; background: var(--card); box-shadow: var(--depth-card); }
  .interio-model-slot .interio-model-st { aspect-ratio: 600 / 280; background: var(--picture-tile); }
  .interio-model-slot .interio-model-st img { top: -36%; }
  .interio-model-cap { padding-top: 10px; }
  .interio-decide { --pt: 22px; --px: 22px; }
  .interio-ifs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .interio-acts { flex-wrap: nowrap; }
  .interio-acts .btn { flex: 1 1 auto; padding: 0 14px; }
  .interio-q { padding: 10px 12px 10px 16px; gap: 8px 10px; }
  .interio-q .btn.sm { padding: 0 12px; }
  .interio-tbl { font-size: 14px; }
  .interio-tms { gap: 16px; }
  .interio-tm-h { flex-direction: row; align-items: center; }
  .interio-tm.is-sup ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .interio-tm.is-sup li + li { border-top: 0; }
  /* The whole window reads in one 1440 x 900 screen under the nav */
  .interio-top { min-height: 48px; }
  .interio-tabs { padding: 4px 0; }
  .interio-tab { min-height: 32px; }
  .interio-find-bar input { height: 32px; font-size: 16px; }
  .interio-view { padding-top: 16px; padding-bottom: 14px; }
  .interio-head { gap: 8px; margin-bottom: 12px; }
  /* The title carries its eyebrow on its own line */
  .interio-head-t { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 16px; }
  .interio-head-t .interio-eyebrow { grid-column: 2; grid-row: 1; }
  .interio-head-t .interio-title { grid-column: 1; grid-row: 1; line-height: 1.05; }
  .interio-head-t .interio-lede { grid-column: 1 / -1; margin-top: 2px; }
  .interio-sec { min-height: 24px; margin-bottom: 8px; line-height: 24px; }
  .interio-decide { --pt: 18px; --px: 20px; }
  .interio-claim { margin-top: 10px; }
  .interio-tl { height: 52px; margin: 8px 0 0; }
  .interio-track, .interio-over { top: 21px; }
  .interio-need { top: 19px; height: 16px; }
  .interio-knob { top: 17px; }
  .interio-rule { margin: 10px 0 8px; }
  .interio-ifs, .interio-ifs ul { gap: 4px; }
  .interio-ifs li { gap: 8px; }
  .interio-end { margin-top: 14px; }
  .interio-queue { padding: 0; }
  .interio-q { padding: 4px 12px 4px 16px; }
  .interio-q-t { min-height: 36px; }
  .interio-queue .interio-link { min-height: 32px; }
  .interio-model-slot .interio-model { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; }
  .interio-model-slot .interio-model-st { aspect-ratio: auto; height: 76px; }
  .interio-model-slot .interio-model-st img { left: -6%; top: -38%; width: 106%; }
  .interio-model-slot .interio-model-st img.interio-pp { left: 50%; top: 6px; width: auto; height: calc(100% - 12px); transform: translateX(-50%); }
  /* Each assembly alone is framed to the tile by its own box, set on its image */
  .interio-model-slot .interio-model-st img.interio-solo { left: var(--sl); top: var(--st); width: var(--sw); max-width: none; }
  .interio-model-slot .interio-model-cap { display: grid; gap: 2px; padding: 0 16px; white-space: normal; }
  .interio-mainc { gap: 14px; }
  .interio-kpis .interio-kpi { gap: 2px; padding: 7px 16px 8px; }
  .interio-kv b { font-size: 26px; line-height: 1.1; }
  .interio-tbl thead th { padding: 7px 10px 6px; line-height: 17px; }
  .interio-tbl .interio-asm > th { padding-top: 6px; padding-bottom: 6px; }
  .interio-tree tr.interio-row > *, .interio-tree tr.interio-row > .interio-latest { padding-top: 5px; padding-bottom: 5px; }
  .interio-tree tr.interio-row .interio-latest :is(small, span) { line-height: 20px; }
  .interio-fold-b { min-height: 28px; }
}
/* Just past a small desktop the six pages and search share the bar, so the pages pad a little less */
@container (min-width: 1100px) and (max-width: 1199px) { .interio-tab { padding: 0 8px; } }
@container (min-width: 1100px) {
  .interio-tree thead th:nth-child(1) { width: 26%; }
  .interio-tree thead th:nth-child(2) { width: 158px; }
  .interio-tree thead th:nth-child(3) { width: 94px; }
  .interio-tree tr.interio-row > .interio-c-st { padding-left: 8px; padding-right: 4px; }
  .interio-tree .interio-c-own .interio-own { gap: 6px; }
  .interio-tree .interio-c-st .chip { height: 22px; min-height: 0; padding: 0 8px; }
}
/* A small desktop (a 1024 screen): a narrower gutter, and owners by name alone, so the parts table keeps every column
   beside the rail. The rail stays wide enough that the decision does not wrap, and the hint sits on the title's line,
   so the verdict keeps one line. */
@container (min-width: 900px) and (max-width: 1099px) {
  .interio { --interio-pad: 24px; }
  .interio-cols { grid-template-columns: 312px minmax(0, 1fr); gap: 20px; }
  .interio-head { grid-template-columns: minmax(0, 1fr) auto; }
  .interio-head-t { grid-column: 1 / -1; grid-row: 1; }
  .interio-decide { --px: 18px; }
  .interio-tree thead th:nth-child(1) { width: 30%; }
  .interio-tree thead th:nth-child(2) { width: 150px; }
  .interio-tree thead th:nth-child(3) { width: 58px; }
  /* The status whole, as every width says it; the owner by their pebble, and the next step without its holder, whom
     the pebble names: the next step takes two lines where the row has room for them */
  .interio-tree .interio-c-own .interio-own > :not(.pebble) { display: none; }
  .interio-tree thead th:nth-child(3) { padding-left: 8px; padding-right: 0; }
  .interio-tree .interio-latest > div > small { display: none; }
  .interio-tree tr.interio-row > .interio-latest { padding-right: 12px; }
  .interio-tree tr.interio-row .interio-latest .interio-scrap :is(small, span) { font-size: 14px; }
  .interio-tree tr.interio-row > .interio-c-st { padding-left: 6px; padding-right: 4px; }
  .interio-tree .interio-c-st .chip { padding: 3px 6px; }
  .interio-kpis .interio-kpi { padding-left: 14px; padding-right: 12px; }
  .interio-tab { padding: 0 6px; }
  .interio-find.interio-find-bar { width: 140px; }
  .interio-find-bar input { padding-right: 8px; }
}
/* Narrower, Sample data stays and search folds to its icon; pressed, or holding words, it opens over the bar's end */
@container (min-width: 900px) and (max-width: 1019px) {
  .interio .interio-top .chip.sample { display: inline-flex; padding: 0 8px; font-size: 13px; }
  .interio-tab { padding: 0 6px; }
  .interio-find.interio-find-bar { width: 32px; height: 32px; }
  .interio-find-bar input { position: absolute; right: 0; top: 0; width: 32px; padding: 0 0 0 32px; }
  .interio-find-bar input::placeholder { color: transparent; }
  .interio-find-bar .i { left: 8px; z-index: 1; }
  .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) { z-index: 2; }
  .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) input { width: 180px; padding-left: 34px; background: var(--card); }
  .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) input::placeholder { color: var(--ink-3); }
  .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) .i { left: calc(32px - 180px + 12px); }
}

/* A phone reads nothing in the scene under 14 px */
@media (max-width: 759px) {
  .interio :is(.pebble, .chip, .id, .btn.sm, .interio-n, .interio-tab em, .interio-who-m, .interio-lab, .interio-chan, .interio-k, .interio-q-t span, .interio-wait, .interio-kl, .interio-roll, .interio-latest small, .interio-model-cap, .interio-pos, .interio-mp-h, .interio-mp-r dt, .interio-not, .interio-tm-h span, .interio-pk-m, .interio-hist small, .interio-kv small, .interio-tbl thead th, .interio-sp .interio-c-what) { font-size: 14px; }
}

/* Desktop controls take the app's sizes (button.tsx: a button 32 px at 14 px, a small one 28 px at 13 px); a phone
   keeps 44 px targets */
@media (min-width: 760px) {
  .interio .sheet :is(.btn, .btn.soft, .btn.primary, .btn.ghost) { min-height: 0; height: 32px; padding: 0 14px; font: 500 14px/1 var(--font-sans); }
  .interio .sheet :is(.btn.primary) { padding: 0 16px; }
  .interio .sheet :is(.btn.ghost) { padding: 0 10px; }
  .interio .sheet :is(.btn.sm, .interio-top-end .btn.sm, .interio-rq-a .btn.sm, .interio-rk-a .btn.sm, .interio-ofr-a .btn.sm) { min-height: 0; height: 28px; padding: 0 12px; font-size: 13px; }
  .interio-acts, .interio-folded { align-items: center; }
}
/* A touch screen at a desktop's width keeps the desktop's layout with a finger's sizes: every target 44 px, 8 px from
   the next (R48). A mouse keeps the app's sizes. */
@media (min-width: 760px) and (pointer: coarse) {
  .interio .sheet :is(.btn, .btn.soft, .btn.primary, .btn.ghost, .btn.sm, .interio-top-end .btn.sm, .interio-rq-a .btn.sm, .interio-rk-a .btn.sm, .interio-ofr-a .btn.sm) { height: auto; min-height: 44px; }
  .interio .interio-tabs { gap: 8px; }
  .interio .interio-tab { min-height: 44px; }
  .interio .interio-play { height: 44px; }
  .interio .interio-play::after { content: none; }
  .interio .interio-find.interio-find-bar { height: 44px; }
  .interio .interio-find-bar input { height: 44px; }
  .interio .interio-q-t, .interio .interio-queue .interio-link, .interio .interio-fold-b, .interio .interio-all, .interio .interio-tree .interio-pbtn, .interio .interio-ptab .interio-pbtn, .interio .interio-seg button, .interio .interio-fchip { min-height: 44px; }
  .interio .interio-seg { gap: 8px; }
  @container (min-width: 900px) {
    .interio .interio-q { padding-top: 4px; padding-bottom: 8px; }
    .interio .interio-tree tr.interio-row > *, .interio .interio-tree tr.interio-row > .interio-latest { padding-top: 4px; padding-bottom: 4px; }
    .interio .interio-tree + .interio-all { margin-top: 4px; }
  }
  .interio.is-fold .interio-tree + .interio-all { min-height: 44px; }
  @container (min-width: 900px) and (max-width: 1099px) {
    .interio .interio-top .scene-play.scene-bar-ctl { width: 44px; min-width: 44px; }
  }
  @container (min-width: 900px) and (max-width: 1199px) {
    .interio .interio-tab .i { display: none; }
  }
  @container (min-width: 900px) and (max-width: 1019px) {
    .interio .interio-find.interio-find-bar { width: 44px; }
    .interio .interio-find-bar input { width: 44px; padding-left: 44px; }
    .interio .interio-find-bar .i { left: 14px; }
    .interio .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) input { width: 180px; padding-left: 34px; }
    .interio .interio-find-bar:is(:focus-within, :has(input:not(:placeholder-shown))) .i { left: calc(44px - 180px + 12px); }
  }
}
/* The app's soft button: a filled step, no edge */
.interio.frame .btn.soft { background: var(--neutral-2); box-shadow: none; }
@media (hover: hover) { .interio.frame .btn.soft:hover { background: var(--secondary-hover); } }
/* Icons are 16 px, 18 in a 36 px tile */
.interio .tile:not(.sm) .i { width: 18px; height: 18px; }

/* A phone's window is one screen under the nav (R43): the bar's two rows, the crumb with Sample data and Replay, then
   the pages in one row (R44); then the overview: the verdict and the figures in one line, then the part it names
   first, the folding hinge, its row heading its decision, then the rows the desk's messages land on while they fit,
   and one line that counts every part not shown. */
@media (max-width: 759px) {
  .interio-top { row-gap: 8px; padding: 8px 8px 8px 16px; }
  .interio-crumb { min-height: 44px; }
  .interio-ctl { top: 8px; right: 8px; bottom: auto; align-items: center; gap: 8px; height: 44px; transform: none; }
  .interio-tabs { justify-content: space-between; gap: 8px; margin: 0 0 0 -8px; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .interio-tab { justify-content: center; padding: 0 12px; }
  .interio-tabs-more, .interio-tabs-less { display: none; }
  .interio-view :is(button, input, [tabindex]) { scroll-margin-top: calc(var(--nav-h) + 16px); }
  .interio-view[data-v="overview"] { padding-top: 12px; padding-bottom: 12px; }
  .interio-view[data-v="overview"] :is(.interio-eyebrow, .interio-title) { display: none; }
  .interio-head { gap: 4px; margin-bottom: 12px; }
  .interio-lede { min-height: 0; margin-top: 0; font-size: 17px; line-height: 24px; }
  /* The card under the verdict is the part it names first */
  .interio-lede-first { display: none; }
  .interio-cols { display: flex; flex-direction: column; gap: 8px; }
  .interio-rail, .interio-mainc, .interio-parts, .interio-lines { display: contents; }
  .interio-cols .interio-sec, .interio-kpis, .interio-tree .interio-asm { display: none; }
  .interio-sum { display: block; font-size: 14px; line-height: 20px; color: var(--ink-2); }
  .interio-sum span { white-space: nowrap; }
  /* The days left are the verdict's date counted; the figures keep one line */
  .interio-sum-x { display: none; }
  .interio-tree, .interio-tree tbody:not(.interio-fold) { display: contents; }
  .interio-tree tr.interio-row { order: 4; }
  .interio-queue, .interio-tree tr.interio-row-x { display: none; }
  .interio-tree tr.interio-row { padding: 8px 16px; border-top: 0; border-radius: var(--r-md); background: var(--card); box-shadow: var(--depth-card); }
  .interio-tree tr.interio-row.is-sel { background: var(--selected); }
  /* What an act changed lights the row's whole card, on a layer of its own so only its opacity moves: a light per
     cell would spill over its neighbours' words */
  .interio-tree tr.interio-row.is-changed > *::after { content: none; }
  .interio-tree tr.interio-row.is-changed { isolation: isolate; }
  .interio-tree tr.interio-row.is-changed::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent-tint); opacity: 0; pointer-events: none; animation: interio-lit-in var(--m-story-in) var(--m-ease-enter) var(--lit-d, 0ms) both, interio-lit-out var(--m-story-out) var(--m-ease-exit) calc(var(--lit-d, 0ms) + var(--m-story-in) + 560ms) forwards; }
  :root[data-motion="calm"] .interio-tree tr.interio-row.is-changed::after { animation: none; }
  .interio-tree tr[data-land="lh"] { order: 1; }
  .interio-tree tr.interio-row > .interio-latest { margin-top: 0; }
  /* The card's holder line already names who takes the next step */
  .interio-tree .interio-latest > div > small { display: none; }
  .interio-decide { --pt: 12px; --px: 16px; order: 2; }
  /* The row above it names the part, its status and its holder */
  .interio-decide :is(.interio-obj, .interio-who-m) { display: none; }
  .interio-folded { flex-wrap: nowrap; gap: 12px; }
  .interio-folded .btn { flex: none; margin-left: auto; }
  .interio-tl { height: 52px; margin-top: 8px; }
  .interio-track, .interio-over { top: 21px; }
  .interio-need { top: 19px; height: 16px; }
  .interio-knob { top: 17px; }
  /* The bar and what approving does read as one block: no rule between them */
  .interio-decide .interio-rule { display: none; }
  .interio-ifs { margin-top: 8px; }
  .interio-ifs, .interio-ifs ul { gap: 4px; }
  .interio-end { margin-top: 12px; }
  .interio-arr-k { display: inline; color: var(--ink-3); }
  .interio-tree + .interio-all { order: 5; min-height: 44px; border-top: 0; border-radius: var(--r-md); background: var(--card); box-shadow: var(--depth-card); }
  .interio-tree + .interio-all :is(.interio-all-o, .interio-all-ro) { display: none; }
  .interio-tree + .interio-all :is(.interio-all-p, .interio-all-pr, .interio-all-pw) { display: inline; }
  /* The decision's Open the drawing is the first act in reach, so the card needs no hint line over it */
  .interio-rail > .interio-sec { display: none; }
  /* The hinge's row and its decision are one card: the row heads it, so the card drops its own name and its claim,
     which the verdict above already says */
  .interio-tree tr[data-land="lh"] { border-radius: var(--r-md) var(--r-md) 0 0; }
  .interio-decide { position: relative; z-index: 1; margin-top: -8px; border-top-left-radius: 0; border-top-right-radius: 0; box-shadow: inset 0 1px 0 var(--line), var(--depth-card); }
  .interio-decide .interio-who, .interio-claim { display: none; }
  .interio-decide .interio-tl { margin-top: 0; }
  /* Its date is the card's bar, so the row does not say it again */
  .interio-tree tr[data-land="lh"] > .interio-c-arr { display: none; }
  /* A scrap waiting its turn tucks under the card below it instead of lying over that card's name */
  .interio-tree tr.interio-row { position: relative; z-index: 0; }
  /* A card's scrap is one line inside the card's body, under its name: the text alone, at the card's own width */
  .interio-tree .interio-scrap { max-width: 100%; padding: 4px 12px; white-space: nowrap; }
  .interio-tree .interio-scrap small { display: none; }
  .interio-tree tr.interio-row .interio-latest .interio-scrap span { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 15px; line-height: 20px; }
}
/* A phone's row of pages: five, by name alone; Suppliers is a desktop's and a tablet's page, and the narrowest phone
   keeps four */
@container (max-width: 599px) {
  .interio-tab[data-view="suppliers"], .interio-tab em { display: none; }
  .interio-tab { flex: 0 1 auto; min-width: 44px; padding: 0 4px; }
}
@container (max-width: 299px) { .interio-tab[data-view="team"] { display: none; } }
/* A phone's pages: the selected tab names the page, so each opens on its one line of what it holds; the parts open
   on their search and their columns in one row, the money being the overview's; a risk is its name, its status, why
   and its act, which is the way out */
@container (max-width: 599px) {
  .interio { --interio-pad: 12px; }
  .interio-view { padding-top: 12px; padding-bottom: 12px; }
  .interio-vt, .interio-count, .interio-mp { display: none; }
  .interio-vh { margin-bottom: 12px; }
  .interio-tools { gap: 8px; margin-bottom: 8px; }
  /* Search folds to its icon beside the columns; pressed, or holding words, it opens across the row */
  .interio-tools { position: relative; }
  .interio-tools .interio-find-v { position: static; flex: none; width: 44px; height: 44px; }
  .interio-find-v input { position: absolute; top: 0; left: 0; width: 44px; padding: 0 0 0 44px; }
  .interio-find-v input::placeholder { color: transparent; }
  .interio-find-v .i { left: 14px; z-index: 1; }
  .interio-find-v:is(:focus-within, :has(input:not(:placeholder-shown))) { z-index: 2; }
  .interio-find-v:is(:focus-within, :has(input:not(:placeholder-shown))) input { width: 100%; padding-left: 40px; background: var(--card); }
  .interio-find-v:is(:focus-within, :has(input:not(:placeholder-shown))) input::placeholder { color: var(--ink-3); }
  .interio-chips { margin-bottom: 12px; }
  .interio-rk { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .interio-rk > .tile, .interio-rk-b > p:nth-child(3) { display: none; }
  .interio-rk-a { grid-column: 1; }
  .interio-tm { padding: 12px 16px 4px; }
  .interio .interio-all { min-height: 44px; }
  .interio-decide { --px: 12px; }
  .interio-tree tr.interio-row { padding-right: 12px; padding-left: 12px; }
}
/* A phone or a tablet too short for the whole overview: the open row no message lands on goes, then the motor mount's
   and the RTK module's rows, then the figures' line, then what approving does (interio.js) */
@container (max-width: 899px) {
  .interio.is-n1 .interio-tree tr.interio-row:not([data-land]) { display: none; }
  .interio.is-n2 .interio-tree tr[data-land="lq"] { display: none; }
  .interio.is-n3 .interio-tree tr[data-land="lr"], .interio.is-n3 .interio-queue { display: none; }
  .interio.is-n4 :is(.interio-sum, .interio-kpis) { display: none; }
  .interio.is-n5 .interio-ifs { display: none; }
  .interio.is-n6 .interio-view[data-v="overview"] { padding-top: 8px; padding-bottom: 8px; }
  .interio.is-n6 :is(.interio-head, .interio-tl) { margin-bottom: 8px; }
  .interio.is-n6 .interio-decide { --pt: 8px; }
  .interio.is-n6 .interio-end { margin-top: 8px; }
  .interio.is-n6 .interio-cols { gap: 4px; }
  .interio.is-n7 .interio-decide .interio-tl { display: none; }
  .interio.is-n7 .interio-decide .interio-end { margin-top: 0; }
}

/* Without script nothing measures the overview, so the screen's size picks the fold interio.js would: the first
   whose height, measured at every desktop width, fits under the window's cap (100svh less the nav, the bar and 32 px).
   It folds the assemblies, then drops the drone card, then reads as is-snug; too short for that, the page scrolls. */
@media (scripting: none) and (min-width: 964px) and (max-width: 969px) and (min-height: 858px) and (max-height: 1310px),
  (scripting: none) and (min-width: 970px) and (max-width: 975px) and (min-height: 838px) and (max-height: 1290px),
  (scripting: none) and (min-width: 976px) and (max-width: 987px) and (min-height: 818px) and (max-height: 1270px),
  (scripting: none) and (min-width: 988px) and (max-width: 991px) and (min-height: 818px) and (max-height: 1250px),
  (scripting: none) and (min-width: 992px) and (max-width: 1012px) and (min-height: 798px) and (max-height: 1230px),
  (scripting: none) and (min-width: 1013px) and (max-width: 1023px) and (min-height: 778px) and (max-height: 1210px),
  (scripting: none) and (min-width: 1024px) and (max-width: 1044px) and (min-height: 798px) and (max-height: 1230px),
  (scripting: none) and (min-width: 1045px) and (max-width: 1085px) and (min-height: 778px) and (max-height: 1210px),
  (scripting: none) and (min-width: 1086px) and (max-width: 1094px) and (min-height: 758px) and (max-height: 1190px),
  (scripting: none) and (min-width: 1095px) and (max-width: 1099px) and (min-height: 758px) and (max-height: 1174px),
  (scripting: none) and (min-width: 1100px) and (max-width: 1123px) and (min-height: 738px) and (max-height: 1154px),
  (scripting: none) and (min-width: 1124px) and (max-width: 1151px) and (min-height: 738px) and (max-height: 1134px),
  (scripting: none) and (min-width: 1152px) and (max-width: 1170px) and (min-height: 729px) and (max-height: 1114px),
  (scripting: none) and (min-width: 1171px) and (max-width: 1186px) and (min-height: 729px) and (max-height: 1096px),
  (scripting: none) and (min-width: 1187px) and (max-width: 1195px) and (min-height: 729px) and (max-height: 1094px),
  (scripting: none) and (min-width: 1196px) and (max-width: 1226px) and (min-height: 758px) and (max-height: 1154px),
  (scripting: none) and (min-width: 1227px) and (max-width: 1232px) and (min-height: 738px) and (max-height: 1134px),
  (scripting: none) and (min-width: 1233px) and (max-width: 1242px) and (min-height: 738px) and (max-height: 1116px),
  (scripting: none) and (min-width: 1243px) and (max-width: 1248px) and (min-height: 729px) and (max-height: 1096px),
  (scripting: none) and (min-width: 1249px) and (max-width: 1266px) and (min-height: 729px) and (max-height: 1094px),
  (scripting: none) and (min-width: 1267px) and (min-height: 729px) and (max-height: 1074px) {
  .interio .interio-tree tbody.interio-fold, .interio .interio-all-w, .interio .interio-sec-all { display: none; }
  .interio .interio-tree + .interio-all { display: flex; min-height: 32px; }
  .interio .interio-all-n { display: inline; }
}
@media (scripting: none) and (min-width: 964px) and (max-width: 969px) and (min-height: 858px) and (max-height: 1081px),
  (scripting: none) and (min-width: 970px) and (max-width: 975px) and (min-height: 838px) and (max-height: 1061px),
  (scripting: none) and (min-width: 976px) and (max-width: 987px) and (min-height: 818px) and (max-height: 1041px),
  (scripting: none) and (min-width: 988px) and (max-width: 991px) and (min-height: 818px) and (max-height: 1021px),
  (scripting: none) and (min-width: 992px) and (max-width: 1012px) and (min-height: 798px) and (max-height: 1001px),
  (scripting: none) and (min-width: 1013px) and (max-width: 1023px) and (min-height: 778px) and (max-height: 981px),
  (scripting: none) and (min-width: 1024px) and (max-width: 1044px) and (min-height: 798px) and (max-height: 1001px),
  (scripting: none) and (min-width: 1045px) and (max-width: 1085px) and (min-height: 778px) and (max-height: 981px),
  (scripting: none) and (min-width: 1086px) and (max-width: 1094px) and (min-height: 758px) and (max-height: 961px),
  (scripting: none) and (min-width: 1095px) and (max-width: 1099px) and (min-height: 758px) and (max-height: 945px),
  (scripting: none) and (min-width: 1100px) and (max-width: 1123px) and (min-height: 738px) and (max-height: 925px),
  (scripting: none) and (min-width: 1124px) and (max-width: 1151px) and (min-height: 738px) and (max-height: 905px),
  (scripting: none) and (min-width: 1152px) and (max-width: 1170px) and (min-height: 729px) and (max-height: 885px),
  (scripting: none) and (min-width: 1171px) and (max-width: 1186px) and (min-height: 729px) and (max-height: 867px),
  (scripting: none) and (min-width: 1187px) and (max-width: 1195px) and (min-height: 729px) and (max-height: 865px),
  (scripting: none) and (min-width: 1196px) and (max-width: 1226px) and (min-height: 758px) and (max-height: 925px),
  (scripting: none) and (min-width: 1227px) and (max-width: 1232px) and (min-height: 738px) and (max-height: 905px),
  (scripting: none) and (min-width: 1233px) and (max-width: 1242px) and (min-height: 738px) and (max-height: 887px),
  (scripting: none) and (min-width: 1243px) and (max-width: 1248px) and (min-height: 729px) and (max-height: 867px),
  (scripting: none) and (min-width: 1249px) and (max-width: 1266px) and (min-height: 729px) and (max-height: 865px),
  (scripting: none) and (min-width: 1267px) and (min-height: 729px) and (max-height: 845px) {
  .interio .interio-model-slot { display: none; }
}
@media (scripting: none) and (min-width: 964px) and (max-width: 969px) and (min-height: 858px) and (max-height: 1081px),
  (scripting: none) and (min-width: 970px) and (max-width: 975px) and (min-height: 838px) and (max-height: 1061px),
  (scripting: none) and (min-width: 976px) and (max-width: 987px) and (min-height: 818px) and (max-height: 1041px),
  (scripting: none) and (min-width: 988px) and (max-width: 991px) and (min-height: 818px) and (max-height: 1021px),
  (scripting: none) and (min-width: 992px) and (max-width: 1012px) and (min-height: 798px) and (max-height: 1001px),
  (scripting: none) and (min-width: 1013px) and (max-width: 1023px) and (min-height: 778px) and (max-height: 981px),
  (scripting: none) and (min-width: 1024px) and (max-width: 1044px) and (min-height: 798px) and (max-height: 1001px),
  (scripting: none) and (min-width: 1045px) and (max-width: 1085px) and (min-height: 778px) and (max-height: 981px),
  (scripting: none) and (min-width: 1086px) and (max-width: 1094px) and (min-height: 758px) and (max-height: 961px),
  (scripting: none) and (min-width: 1095px) and (max-width: 1099px) and (min-height: 758px) and (max-height: 945px),
  (scripting: none) and (min-width: 1100px) and (max-width: 1123px) and (min-height: 738px) and (max-height: 925px),
  (scripting: none) and (min-width: 1124px) and (max-width: 1151px) and (min-height: 738px) and (max-height: 905px),
  (scripting: none) and (min-width: 1152px) and (max-width: 1170px) and (min-height: 729px) and (max-height: 885px),
  (scripting: none) and (min-width: 1171px) and (max-width: 1186px) and (min-height: 729px) and (max-height: 867px),
  (scripting: none) and (min-width: 1187px) and (max-width: 1195px) and (min-height: 729px) and (max-height: 865px),
  (scripting: none) and (min-width: 1196px) and (max-width: 1226px) and (min-height: 758px) and (max-height: 925px),
  (scripting: none) and (min-width: 1227px) and (max-width: 1232px) and (min-height: 738px) and (max-height: 905px),
  (scripting: none) and (min-width: 1233px) and (max-width: 1242px) and (min-height: 738px) and (max-height: 887px),
  (scripting: none) and (min-width: 1243px) and (max-width: 1248px) and (min-height: 729px) and (max-height: 867px),
  (scripting: none) and (min-width: 1249px) and (max-width: 1266px) and (min-height: 729px) and (max-height: 865px),
  (scripting: none) and (min-width: 1267px) and (min-height: 729px) and (max-height: 845px) {
  .interio .interio-tree tr.interio-row-sn, .interio .interio-all-o, .interio .interio-all-ro, .interio .interio-ks, .interio .interio-kpis .interio-mbar i { display: none; }
  .interio .interio-all-s, .interio .interio-all-sr { display: inline; }
  .interio .interio-kpis .split { gap: 0; border-radius: var(--r-full); background: var(--track); }
  .interio .interio-kpis .split i:not(.green) { visibility: hidden; }
  .interio .interio-kpis .interio-mbar .tot { display: block; }
  .interio .interio-view { padding-top: 12px; padding-bottom: 10px; }
  .interio .interio-decide { --pt: 14px; }
  .interio .interio-claim { margin-top: 6px; }
  .interio .interio-rule { margin: 8px 0 6px; }
}
@media (scripting: none) and (min-width: 964px) and (max-width: 969px) and (max-height: 857px),
  (scripting: none) and (min-width: 970px) and (max-width: 975px) and (max-height: 837px),
  (scripting: none) and (min-width: 976px) and (max-width: 991px) and (max-height: 817px),
  (scripting: none) and (min-width: 992px) and (max-width: 1012px) and (max-height: 797px),
  (scripting: none) and (min-width: 1013px) and (max-width: 1023px) and (max-height: 777px),
  (scripting: none) and (min-width: 1024px) and (max-width: 1044px) and (max-height: 797px),
  (scripting: none) and (min-width: 1045px) and (max-width: 1085px) and (max-height: 777px),
  (scripting: none) and (min-width: 1086px) and (max-width: 1099px) and (max-height: 757px),
  (scripting: none) and (min-width: 1100px) and (max-width: 1151px) and (max-height: 737px),
  (scripting: none) and (min-width: 1152px) and (max-width: 1195px) and (max-height: 728px),
  (scripting: none) and (min-width: 1196px) and (max-width: 1226px) and (max-height: 757px),
  (scripting: none) and (min-width: 1227px) and (max-width: 1242px) and (max-height: 737px),
  (scripting: none) and (min-width: 1243px) and (max-height: 728px) {
  .interio.frame .interio-view[data-v] { min-height: 0; max-height: none; overflow: visible; scrollbar-gutter: auto; }
}
