/* glen-design: v1 */
/* Digital twins (prefix tw-). A stage with one right flank, like Core: the site
   is the one focal point, everything else floats quietly around it. */

.tw{ display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 400px); height: calc(100dvh - var(--topbar-h)); min-height: 640px; overflow: hidden; }
.tw-main{ position: relative; min-width: 0; overflow: hidden; background:
  radial-gradient(120% 90% at 30% 40%, var(--aurora-1), transparent 62%), var(--bg); }
.tw-stage{ position: absolute; inset: 0; }
.tw-stage .failed{ position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s2); text-align: center; padding: var(--s6); }
.tw-canvas{ width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.tw-tags{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tw-loading{ position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s3); color: var(--ink-dim); font-size: var(--fs-sm); pointer-events: none; }
.tw-loading .skeleton{ width: min(46%, 420px); aspect-ratio: 2 / 1; border-radius: var(--r-lg); transform: skewY(-12deg) scaleY(.7); }
.tw-loading b{ font-weight: 600; }

/* value tags pinned to the model */
.tw-tag{ position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; font: inherit; color: var(--ink); border: 0; display: grid; gap: 1px; justify-items: center; text-align: center;
  padding: var(--s1) var(--s2); border-radius: var(--r-sm); background: var(--mat-float); -webkit-backdrop-filter: var(--mat-blur); backdrop-filter: var(--mat-blur); box-shadow: var(--shadow-1), var(--ring);
  line-height: 1.15; white-space: nowrap; will-change: transform; transition: box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.tw-tag[hidden]{ display: none; }
.tw-tag b{ font-size: var(--fs-micro); font-weight: 600; color: var(--ink-dim); max-width: 132px; overflow: hidden; text-overflow: ellipsis; }
.tw-tag span{ font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; }
.tw-tag span:empty{ display: none; }
.tw-tag::after{ content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--s2); background: var(--line-2); }
.tw-tag[data-state="ok"] span{ color: var(--ok); }
.tw-tag[data-state="warn"]{ background: color-mix(in oklab, var(--warn) 14%, var(--surface-1)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--warn) 50%, transparent); }
.tw-tag[data-state="warn"] span{ color: var(--warn); }
.tw-tag[data-state="bad"]{ background: color-mix(in oklab, var(--bad) 14%, var(--surface-1)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--bad) 60%, transparent); }
.tw-tag[data-state="bad"] span, .tw-tag[data-state="bad"] b{ color: var(--bad); }
.tw-tag.on{ box-shadow: 0 0 0 2px var(--ink), var(--shadow-2); }
.tw-tag:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine){ .tw-tag:hover{ box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); } }
.tw-tag:active{ transform-origin: center; filter: brightness(.96); }

/* site picker */
.tw-sites{ position: absolute; left: var(--s5); right: var(--s5); top: var(--s4); display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding: var(--s1); margin: calc(var(--s1) * -1); z-index: 2; }
.tw-sites::-webkit-scrollbar{ display: none; }
.tw-site{ flex: 1 1 0; min-width: 150px; max-width: 240px; display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border: 0; cursor: pointer; font: inherit; color: var(--ink-dim); text-align: left;
  border-radius: var(--r); background: var(--mat-float); -webkit-backdrop-filter: var(--mat-blur); backdrop-filter: var(--mat-blur); box-shadow: var(--shadow-1), var(--ring);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.tw-site > svg{ width: 18px; height: 18px; flex: none; }
.tw-site-t{ flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.tw-site-t b{ font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-site-t small{ font-size: var(--fs-micro); color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-site-s{ flex: none; min-width: 22px; height: 22px; padding: 0 var(--s1); border-radius: var(--r-pill); display: grid; place-items: center; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 600; }
.tw-site-s svg{ width: 13px; height: 13px; }
.tw-site-s.ok{ background: var(--ok-tint); color: var(--ok); } .tw-site-s.warn{ background: var(--warn-tint); color: var(--warn); } .tw-site-s.bad{ background: var(--bad-tint); color: var(--bad); }
.tw-site[aria-selected="true"]{ color: var(--ink); background: var(--surface-1); box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-2); }
.tw-site[aria-selected="true"] > svg{ color: var(--accent); }
.tw-site:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine){ .tw-site:hover{ transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow-2), var(--ring); } }
.tw-site:active{ transform: scale(.97); }

/* the lens: what the colours on the model mean right now */
.tw-lensbar{ position: absolute; left: var(--s5); top: calc(var(--s4) + 62px); max-width: min(420px, calc(100% - var(--s7))); display: grid; gap: var(--s2); z-index: 1; pointer-events: none; }
.tw-lensbar > *{ pointer-events: auto; }
.tw-lens{ justify-self: start; max-width: 100%; background: var(--mat-float); -webkit-backdrop-filter: var(--mat-blur); backdrop-filter: var(--mat-blur); }
.tw-lens button{ display: inline-flex; align-items: center; gap: var(--s1); white-space: nowrap; }
.tw-lens svg{ width: 14px; height: 14px; }
.tw-read{ justify-self: start; font-size: var(--fs-micro); color: var(--ink-dim); max-width: 36ch; line-height: 1.4; text-wrap: pretty; padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--mat-float); -webkit-backdrop-filter: var(--mat-blur); backdrop-filter: var(--mat-blur); box-shadow: var(--ring); }
.tw-read:empty{ display: none; }

/* key and dock */
.tw-key{ position: absolute; left: var(--s5); bottom: calc(var(--s5) + 62px); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); font-size: var(--fs-micro); color: var(--ink-dim); z-index: 1; }
.tw-key span{ display: inline-flex; align-items: center; gap: var(--s1); }
.tw-key i{ width: 9px; height: 9px; border-radius: 3px; background: var(--ok); }
.tw-key i.warn{ background: var(--warn); } .tw-key i.bad{ background: var(--bad); }
.tw-home svg{ width: 14px; height: 14px; }
.tw-dock{ position: absolute; left: var(--s5); right: var(--s5); bottom: var(--s4); display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3);
  border-radius: var(--r-lg); background: var(--mat-chrome); -webkit-backdrop-filter: var(--mat-blur); backdrop-filter: var(--mat-blur); box-shadow: var(--shadow-2), var(--ring); z-index: 2; }
.tw-play[data-on="true"]{ --btn-bg: var(--accent); --btn-bg-hover: var(--accent); --btn-ink: var(--on-accent); }
.tw-clock{ display: grid; line-height: 1.1; min-width: 92px; }
.tw-clock b{ font-size: var(--fs-lg); font-weight: 500; }
.tw-clock span{ font-size: var(--fs-micro); color: var(--ink-dim); }
.tw-track{ position: relative; height: 34px; display: grid; align-items: center; }
.tw-ticks{ position: absolute; left: 8px; right: 8px; top: 0; bottom: 0; pointer-events: none; }
.tw-ticks i{ position: absolute; top: 3px; width: 2px; height: 8px; margin-left: -1px; border-radius: 1px; background: var(--ink-faint); }
.tw-ticks i.warn{ background: var(--warn); } .tw-ticks i.bad{ background: var(--bad); } .tw-ticks i.ok{ background: var(--ok); }
.tw-ticks i.run{ top: auto; bottom: 3px; height: 3px; margin: 0; background: var(--accent); opacity: .6; }
.tw-track input{ -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; margin: 0; cursor: pointer; }
.tw-track input::-webkit-slider-runnable-track{ height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--at, 50%), var(--line-2) var(--at, 50%)); }
.tw-track input::-moz-range-track{ height: 4px; border-radius: 2px; background: var(--line-2); }
.tw-track input::-moz-range-progress{ height: 4px; border-radius: 2px; background: var(--accent); }
.tw-track input::-webkit-slider-thumb{ -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--surface-1); box-shadow: 0 0 0 2px var(--accent), var(--shadow-1); transition: transform var(--dur-fast) var(--ease-out); }
.tw-track input::-moz-range-thumb{ width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--surface-1); box-shadow: 0 0 0 2px var(--accent); }
.tw-track input:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }
@media (hover: hover) and (pointer: fine){ .tw-track input:hover::-webkit-slider-thumb{ transform: scale(1.2); } }
.tw-track input:active::-webkit-slider-thumb{ transform: scale(.97); }

/* the flank */
.tw-panel{ min-width: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-1); box-shadow: -1px 0 0 var(--line); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s5); }
.tw-panel > *{ flex: none; }
.tw-p-head{ display: grid; gap: var(--s2); }
.tw-p-head h2{ font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); letter-spacing: -.02em; line-height: 1.12; }
.tw-p-head h1{ font-family: var(--font-display); font-weight: 300; font-size: var(--fs-2xl); letter-spacing: -.03em; line-height: 1.05; }
.tw-p-head h1 small{ display: block; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--ink-dim); margin-top: var(--s2); }
.tw-p-head .lede{ font-size: var(--fs-base); color: var(--ink-dim); line-height: 1.45; text-wrap: pretty; margin-top: var(--s1); }
.tw-p-head .lede b{ color: var(--ink); font-weight: 600; }
.tw-p-head .btn{ justify-self: start; margin-left: calc(var(--s3) * -1); }
.tw-p-head .meta{ line-height: 1.45; text-wrap: pretty; }
.tw-chips{ display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.tw-chips .chip{ border: 0; font: inherit; font-size: var(--fs-micro); }
button.chip{ cursor: pointer; }
.tw-figs{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.tw-fig{ display: grid; gap: var(--s1); padding: var(--s3); border-radius: var(--r); background: var(--surface-2); box-shadow: var(--ring); }
.tw-fig .fig{ font-size: var(--fs-xl); }
.tw-fig .label{ font-size: var(--fs-micro); line-height: 1.25; }
.tw-sec{ display: grid; gap: var(--s2); }
.tw-sec h3{ font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--ink-dim); display: flex; align-items: center; gap: var(--s2); }
.tw-sec h3 .num{ font-size: var(--fs-micro); padding: 1px var(--s2); border-radius: var(--r-pill); background: var(--warn-tint); color: var(--warn); }
.tw-sec .rows{ margin: 0 calc(var(--s3) * -1); }
.tw-sec .row{ width: 100%; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tw-sec .row .s{ white-space: normal; }
.tw-sec .row > svg{ width: 16px; height: 16px; color: var(--ink-faint); flex: none; }
.tw-sc-ic{ width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); flex: none; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.tw-sc-ic svg{ width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine){ .tw-sc:hover .tw-sc-ic{ transform: scale(1.12); background: var(--accent); color: var(--on-accent); } }
.tw-allok{ display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--ok); padding: var(--s3); border-radius: var(--r); background: var(--ok-tint); }
.tw-allok svg{ width: 16px; height: 16px; }
.tw-finds-t{ display: flex; align-items: center; gap: var(--s2); width: 100%; border: 0; background: transparent; font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-dim); cursor: pointer; padding: var(--s2) 0; border-radius: var(--r-sm); }
.tw-finds-t svg{ width: 15px; height: 15px; } .tw-finds-t svg:last-child{ margin-left: auto; transition: transform var(--dur-base) var(--ease-out); }
.tw-finds-t[aria-expanded="true"] svg:last-child{ transform: rotate(180deg); }
.tw-finds-t .num{ font-size: var(--fs-micro); color: var(--ink-faint); font-weight: 500; }
.tw-finds-t:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.tw-finds{ list-style: none; display: grid; gap: var(--s2); padding: 0; margin: 0; }
.tw-finds li{ display: grid; grid-template-columns: auto 1fr; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-dim); line-height: 1.4; }
.tw-finds li svg{ width: 15px; height: 15px; margin-top: 2px; color: var(--ink-faint); }
.tw-finds li.got{ color: var(--ink); } .tw-finds li.got svg{ color: var(--ok); }
.tw-links{ display: flex; flex-wrap: wrap; gap: var(--s1); }
.tw-links .chip{ border: 0; font: inherit; font-size: var(--fs-micro); }
.tw-panel > .tw-p-foot{ margin-top: auto; }
.tw-p-foot{ display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; padding-top: var(--s3); }
.tw-p-foot .meta{ flex-basis: 100%; font-size: var(--fs-micro); color: var(--ink-faint); }

/* one thing: its readings, its day, its records */
.tw-ms{ display: grid; gap: var(--s2); }
.tw-m{ display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); align-items: baseline; text-align: left; padding: var(--s3); border: 0; border-radius: var(--r); background: var(--surface-2); box-shadow: var(--ring); font: inherit; color: inherit; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.tw-m .label{ display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--fs-sm); }
.tw-m .label svg{ width: 14px; height: 14px; }
.tw-m b{ font-size: var(--fs-lg); font-weight: 500; }
.tw-m-s{ font-size: var(--fs-micro); font-weight: 600; } .tw-m-s.ok{ color: var(--ok); } .tw-m-s.warn{ color: var(--warn); } .tw-m-s.bad{ color: var(--bad); } .tw-m-s.none{ color: var(--ink-faint); font-weight: 400; }
.tw-m small{ font-size: var(--fs-micro); color: var(--ink-faint); text-align: right; }
.tw-m.on{ background: var(--surface-1); box-shadow: 0 0 0 1.5px var(--accent); }
.tw-m:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine){ .tw-m:hover{ transform: translateY(-2px); box-shadow: var(--shadow-1), 0 0 0 1px var(--line-2); } .tw-m.on:hover{ box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-1); } }
.tw-m:active{ transform: scale(.97); }
.tw-legend{ display: flex; flex-wrap: wrap; gap: var(--s3); font-size: var(--fs-micro); color: var(--ink-dim); }
.tw-legend span{ display: inline-flex; align-items: center; gap: var(--s1); }
.tw-legend i{ width: 12px; height: 3px; border-radius: 2px; background: var(--accent); }
.tw-legend i.band{ height: 9px; background: var(--ok-tint); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 40%, transparent); }
.tw-legend i.now{ width: 2px; height: 11px; background: var(--ink); }
.tw-legend i.auto, .tw-legend i.approve, .tw-legend i.person{ width: 9px; height: 9px; border-radius: 50%; }
.tw-legend i.auto{ background: var(--ok); } .tw-legend i.approve{ background: var(--warn); } .tw-legend i.person{ background: var(--ink-faint); }
.tw-spark{ width: 100%; height: auto; display: block; overflow: visible; }
.tw-spark path{ fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tw-spark .tw-band{ fill: var(--ok-tint); }
.tw-spark .tw-nowline{ stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.tw-spark circle{ fill: var(--surface-1); stroke: var(--ink); stroke-width: 2; }
.tw-spark text{ font-family: var(--font-mono); font-size: 10px; fill: var(--ink-faint); }
.tw-table-wrap{ overflow-x: auto; margin: 0 calc(var(--s2) * -1); }
.tw-table{ width: 100%; border-collapse: collapse; font-size: var(--fs-micro); }
.tw-table th, .tw-table td{ padding: var(--s2); text-align: right; border-bottom: 1px solid var(--line); line-height: 1.3; vertical-align: top; }
.tw-table thead th{ white-space: nowrap; }
.tw-table th:first-child{ text-align: left; } .tw-table thead th{ color: var(--ink-faint); font-weight: 500; }
.tw-table tbody th{ font-weight: 600; color: var(--ink); min-width: 120px; }
.tw-table tr.warn td:last-child{ color: var(--warn); font-weight: 600; } .tw-table tr.bad td:last-child{ color: var(--bad); font-weight: 600; } .tw-table tr.ok td:last-child{ color: var(--ok); }

/* a what-if playing: the clock and Back stay in reach while the steps scroll */
.tw-run-top{ position: sticky; top: calc(var(--s5) * -1); z-index: 2; display: grid; gap: var(--s2); margin: calc(var(--s5) * -1) calc(var(--s5) * -1) 0; padding: var(--s4) var(--s5) var(--s3); background: var(--surface-1); box-shadow: 0 1px 0 var(--line); }
.tw-run-top .btn{ justify-self: start; margin-left: calc(var(--s3) * -1); }
.tw-run-bar{ position: relative; display: flex; align-items: baseline; gap: var(--s3); padding: var(--s3) var(--s3) calc(var(--s3) + 4px); border-radius: var(--r); background: var(--surface-2); box-shadow: var(--ring); overflow: hidden; }
.tw-run-bar b{ font-size: var(--fs-xl); font-weight: 500; }
.tw-run-bar span{ font-size: var(--fs-sm); color: var(--ink-dim); }
.tw-run-bar i{ position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform var(--dur-base) linear; }
.tw-steps{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tw-steps li{ position: relative; display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); padding: var(--s2) 0 var(--s3) 0; opacity: .34; transition: opacity var(--dur-slow) var(--ease-out); }
.tw-steps li:not(.on) p{ display: none; }
.tw-steps li::before{ content: ''; position: absolute; left: 53px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); box-shadow: 0 0 0 3px var(--surface-1); z-index: 1; }
.tw-steps li::after{ content: ''; position: absolute; left: 57px; top: 16px; bottom: -12px; width: 1px; background: var(--line-2); }
.tw-steps li:last-child::after{ display: none; }
.tw-steps li > div{ padding-left: var(--s5); display: grid; gap: 2px; }
.tw-steps li.on{ opacity: 1; }
.tw-steps li.on.auto::before{ background: var(--ok); } .tw-steps li.on.approve::before{ background: var(--warn); }
.tw-step-t{ font-size: var(--fs-micro); color: var(--ink-faint); padding-top: 2px; }
.tw-steps b{ font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.tw-steps small{ font-size: var(--fs-micro); color: var(--ink-dim); }
.tw-steps p{ font-size: var(--fs-sm); color: var(--ink-dim); line-height: 1.4; margin-top: 2px; animation: tw-in var(--dur-slow) var(--ease-out) both; }
@keyframes tw-in{ from{ opacity: 0; transform: translateY(4px); } to{ opacity: 1; transform: none; } }
.tw-outcome{ display: grid; gap: var(--s2); opacity: .3; filter: saturate(.4); transition: opacity var(--dur-reveal) var(--ease-out), filter var(--dur-reveal) var(--ease-out); }
.tw-outcome.on{ opacity: 1; filter: none; }
.tw-outcome > div{ padding: var(--s3); border-radius: var(--r); background: var(--surface-2); box-shadow: var(--ring); display: grid; gap: var(--s1); }
.tw-outcome p{ font-size: var(--fs-sm); line-height: 1.4; }
.tw-outcome .good{ background: var(--ok-tint); box-shadow: none; } .tw-outcome .good .label{ color: var(--ok); }
.tw-saved .fig{ font-size: var(--fs-2xl); color: var(--ok); }
.tw-empty{ margin: var(--s6); }

/* a narrower laptop: the flank tightens */
@media (max-width: 1180px){
  .tw{ grid-template-columns: minmax(0, 1fr) 320px; }
  .tw-p-head h1{ font-size: var(--fs-xl); }
  .tw-site{ min-width: 132px; }
}
/* tablets and phones: the model on top, the day under it, then the detail */
@media (max-width: 900px){
  .tw{ display: block; height: auto; min-height: 0; overflow: visible; }
  .tw-main{ height: min(74vh, 620px); }
  .tw-sites{ left: var(--s3); right: var(--s3); top: var(--s3); }
  .tw-site{ flex: none; min-width: 0; }
  .tw-lensbar{ left: var(--s3); top: calc(var(--s3) + 56px); max-width: calc(100% - var(--s5)); }
  .tw-lens{ overflow-x: auto; scrollbar-width: none; }
  .tw-read{ max-width: none; }
  .tw-key{ left: var(--s4); bottom: calc(var(--s3) + 62px); gap: var(--s2); }
  .tw-dock{ left: var(--s3); right: var(--s3); bottom: var(--s3); gap: var(--s2); }
  .tw-clock{ min-width: 64px; } .tw-clock span{ display: none; }
  .tw-panel{ box-shadow: 0 -1px 0 var(--line); padding: var(--s4); overflow: visible; scroll-margin-top: 64px; }
  .tw-tag b{ max-width: 84px; }
  .tw-canvas{ touch-action: pan-y; }
  .tw-tag{ min-height: 44px; align-content: center; }
  .tw-lens button, .tw-dock .btn, .tw-home{ min-height: 44px; min-width: 44px; }
  .tw-track{ height: 44px; }
  .tw-chips .chip, .tw-links .chip{ min-height: 36px; }
  .tw-run-top{ top: 0; margin: calc(var(--s4) * -1) calc(var(--s4) * -1) 0; padding: var(--s3) var(--s4); }
  .tw-key{ row-gap: var(--s1); }
}
@media (prefers-reduced-motion: reduce){
  .tw-steps p{ animation: none; }
  .tw-site, .tw-m, .tw-sc-ic, .tw-run-bar i{ transition: none; }
}
