/* FIOS public page, first testable draft (web_c). The look follows runda-26/KRISS-DESIGN.md and runda-26/AUDIT-KRISS.md
   (kriss.ai, measured at 1440x900). Nothing from the FIOS design kit. Text keeps a contrast of 4.5:1 or better. */

:root {
  --ink: rgb(15, 15, 15);
  --ink-soft: rgba(15, 15, 15, .75);       /* Kriss uses .5 and .6 on its pages; below .72 the text falls under 4.5:1 on the sky */
  --ink-20: rgba(15, 15, 15, .2);
  --hair: rgba(15, 15, 15, .5);
  --white: #fff;
  --glass: rgba(255, 255, 255, .2);
  --glass-stroke: rgba(255, 255, 255, .3);
  --blur: blur(15px);
  --cta: rgb(15, 15, 15);
  --cta-hover: rgb(51, 51, 51);
  --cta-text: #fff;
  --room-text: rgb(15, 15, 15);
  --room-rgb: 15, 15, 15;
  --font: "Hanken Grotesk", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --card-h: 0px;
  color-scheme: light;
}
body { --room-cta: rgba(var(--room-rgb), .35); --room-cta-hover: rgba(var(--room-rgb), .5); }
body[data-mode="room"], body[data-mode="panel"] { --cta: color-mix(in srgb, rgb(var(--room-rgb)) 35%, rgba(255, 255, 255, .6)); --cta-hover: color-mix(in srgb, rgb(var(--room-rgb)) 50%, rgba(255, 255, 255, .6)); --cta-text: var(--room-text); }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font: 400 16px/1.2 var(--font); color: var(--ink);
  background: linear-gradient(0deg, rgb(178, 159, 163), rgb(210, 202, 204));
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }
img { display: block; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(15, 15, 15, .55); border-radius: 2px; }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.ghost { pointer-events: none !important; }

/* ---------- scene ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; transition: opacity .4s var(--ease); }
body.fade #scene, body.fade #stills { opacity: 0; }
#stills { position: fixed; inset: 0; overflow: hidden; transition: opacity .4s var(--ease); }
#stills img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
#stills.rm img { transition: opacity .3s var(--ease); }
#clouds { position: fixed; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
body[data-mode="page"] #clouds { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
body[data-mode="page"] #scene, body[data-mode="page"] #stills { opacity: 0; }
#clouds g { animation: cloud 26s ease-in-out infinite alternate; transform-box: fill-box; }
#clouds g.cl1 { animation-duration: 32s; } #clouds g.cl2 { animation-duration: 21s; } #clouds g.cl3 { animation-duration: 28s; }
@keyframes cloud { from { translate: -6px 3px; } to { translate: 10px -5px; } }
#stage { position: fixed; inset: 0; z-index: 6; touch-action: none; }
#stage .layer { position: absolute; inset: 0; pointer-events: none; }
#stage .layer > * { pointer-events: auto; }
#stage .scrolls { touch-action: pan-y; }

/* ---------- loading ---------- */
/* number as kriss.ai (18vh, weight 600, -.02em, line height .7, white at .36); CEO 2026-11-11: centred on the screen, the sentence above it slightly larger */
#load { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 4vh; text-align: center; color: var(--ink); pointer-events: none; transition: opacity .5s var(--ease); }
body:not([data-ready]) #top, body:not([data-ready]) #stage { visibility: hidden; }   /* only the number while loading, as on Kriss */
#load.out { opacity: 0; }
#load-text { font-size: 20px; line-height: 28px; margin: 0 0 2.4vh; }
#load-pct { font-size: min(18vh, 37vw); font-weight: 600; letter-spacing: -.02em; line-height: .7; color: rgba(255, 255, 255, .36); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- glass and bracket frame ---------- */
.glass { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.framed { position: relative; }
.fr { display: block; }

/* ---------- typewriter ---------- */
.ch { opacity: 0; transition: opacity .18s linear; }
.ch.on { opacity: 1; }
.cursor { transition: transform .05s linear; position: absolute; left: 0; top: 0; width: 2.16px; height: 1.2em; margin-top: -.05em; border-radius: 100px; background: var(--white); animation: blink 1s steps(1) infinite; pointer-events: none; }
.cursor.end { animation: blink 1s steps(1) 3; }
.cursor.gone { opacity: 0; animation: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 30px; font-size: 14px; line-height: 21px; background: var(--cta); color: var(--cta-text); border-radius: 3px; transition: background-color .3s, color .3s; white-space: nowrap; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-glass { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 10px 15px; font-size: 12px; line-height: 18px; color: var(--ink); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 3px; transition: background-color .3s; white-space: nowrap; }
.btn-glass:hover { background: rgba(255, 255, 255, .6); }

/* ---------- top ---------- */
#top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; pointer-events: none; }
#top > * { pointer-events: auto; }
.brand { position: absolute; left: 30px; top: 30px; height: 53px; display: inline-flex; align-items: center; gap: 10px; padding: 0 4px; color: var(--white); font-weight: 600; font-size: 20px; letter-spacing: .3em; }
.brand svg { width: 34px; height: 34px; stroke: var(--white); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#top .right { position: absolute; right: 38px; top: 38px; display: flex; align-items: center; border-radius: 3px; }
#menu-btn { display: none; }
#menu { display: flex; align-items: stretch; height: 47px; }
#menu ul { display: flex; align-items: center; }
#menu a { display: inline-flex; align-items: center; height: 47px; padding: 0 15px; font-size: 14px; line-height: 21px; color: var(--ink); white-space: nowrap; position: relative; }
#nav-list li:first-child a { padding-left: 30px; }
#nav-auth li:last-child a { padding-right: 30px; }
#menu .sep { display: none; }
#menu .btn-cta { border-radius: 0 3px 3px 0; height: 47px; padding: 0 30px; }
#menu a.btn-cta, #menu a.btn-cta:hover { color: var(--cta-text); }
body[data-mode="panel"] .brand { opacity: 0; pointer-events: none; }
#try-phone { display: none; }
body[data-ready="1"] #top .right { animation: ui-in 1s linear .9s backwards; }
body[data-ready="1"] .hint #intro-hint-text, body[data-ready="1"] .hint #overview-hint-text { animation: ui-in 1s linear .8s backwards; }
@keyframes ui-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- intro ---------- */
#intro .home { position: absolute; left: 50%; top: calc(50% - 150px); width: 320px; margin-left: -160px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .5s var(--ease), visibility 0s .5s; }
#intro .home h1 { position: relative; margin-top: 20.7px; font-size: 60px; line-height: 58.2px; font-weight: 600; color: var(--ink); white-space: nowrap; }
#intro .home .hero-cursor { width: 5.4px; height: 72px; margin-top: -7px; }
#intro .home .lead { width: 100%; margin-top: 50px; font-size: 24px; line-height: 28.8px; color: var(--ink); opacity: 0; transition: opacity .5s linear; }
#intro .home .lead .word { display: block; position: relative; height: 33.6px; overflow: hidden; }
#intro .home .lead .word > span { position: absolute; left: 0; right: 0; top: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
#intro .home .lead .word > span.in { opacity: 1; transform: translateY(0); }
#intro .home .lead .word > span.up { opacity: 0; transform: translateY(-10px); }
#intro .home .lead .word > span.down { opacity: 0; transform: translateY(10px); transition: none; }
#intro .home .cta { margin-top: 50px; display: flex; justify-content: center; opacity: 0; transition: opacity 1s linear .24s; }
#intro .home.shown .lead, #intro .home.shown .cta { opacity: 1; }
#intro .home .btn-glass { width: 120px; }
#intro .s2 { position: absolute; left: calc(50% - 280px); top: 50%; transform: translateY(-50%); width: 560px; font-size: 24px; line-height: 28.8px; color: var(--ink); white-space: pre-wrap; transition: opacity .4s var(--ease), visibility 0s .4s; }
#intro .msg { opacity: 0; visibility: hidden; }
#intro .msg.in { opacity: 1; visibility: visible; transition: opacity .5s var(--ease) .05s; }
.hint { position: absolute; left: 35px; top: calc(100% - 73.6px); display: flex; align-items: center; color: var(--ink); font-size: 14px; line-height: 16.8px; width: 240px; transition: opacity .4s var(--ease); }
.hint span:last-child { margin: -6px -10px; padding: 6px 10px; border-radius: 3px; background: rgba(255, 255, 255, .55); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); } /* Kriss: bare white text; it stays under 2.5:1 on this backdrop */
#overview-hint { width: 340px; top: calc(100% - 82px); }
.hint .mouse { width: 17px; height: 28px; margin-right: 23px; border: 1px solid var(--white); border-radius: 8px; position: relative; flex: none; }
.hint .mouse::before { content: ""; position: absolute; left: 50%; top: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--white); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
#skip-intro { position: absolute; right: 40px; bottom: 40px; }

/* ---------- overview ---------- */
#hotspots { position: absolute; inset: 0; pointer-events: none; }
.hot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: auto; transition: opacity .35s var(--ease); }
.hot .disc { position: absolute; left: 50%; top: 0; width: 44px; height: 44px; transform: translateX(-50%); border-radius: 100px; background: rgb(145, 154, 142); transition: width .35s var(--ease), background-color .3s; }
.hot.open { z-index: 2; }
.hot.open .disc { width: var(--w, 44px); background: color-mix(in srgb, rgb(var(--hot-rgb)) 42%, white); }
.hot .hot-ring { position: absolute; inset: 3px; border-radius: 100px; }
.hot .plus { position: absolute; left: 15px; top: 15px; width: 14px; height: 14px; background: linear-gradient(var(--white), var(--white)) 6px 0 / 2px 14px no-repeat, linear-gradient(var(--white), var(--white)) 0 6px / 14px 2px no-repeat; transition: opacity .2s; }
.hot.open .plus { opacity: 0; }
.hot .hot-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 23px; font-size: 12px; line-height: 19.2px; font-weight: 600; color: var(--hot-ink); white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.hot .hot-label b { font-weight: 600; margin-right: 9px; }
.hot.open .hot-label { opacity: 1; }
.hot[data-off="1"] { opacity: 0; pointer-events: none; }
body.flying .hot { pointer-events: none; }

/* ---------- room card ---------- */
#card, #panel, #rowcard { background: rgba(255, 255, 255, .52); } /* Kriss: .2. Measured against our darker rooms, .2 leaves the text under 4.5:1 */
#rowcard, #dots, .panel-next, #menu-catch { display: none; }  /* phone only */
#menu > .fr { display: none; }
#card { position: absolute; left: 40px; bottom: 40px; width: 390px; display: flex; flex-direction: column; border-radius: 6px; color: var(--room-text); }
#card.ghost { position: absolute; }
#card-scroll, #card .card-scroll { display: flex; flex-direction: column; min-height: 462px; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; border-radius: 6px; }
#card .card-name { padding: 30px 20px 0; font-size: 38px; line-height: 36.86px; font-weight: 400; }
#card .card-phrase { margin-top: auto; padding: 100px 20px 0; font-size: 16px; line-height: 19.2px; }
#card .card-helps { padding: 10px 20px 7px; font-size: 12px; line-height: 18px; }
#card .rows li { border-top: 1px solid var(--hair); }
#card .row { display: flex; align-items: center; height: 51px; padding: 15px 20px; font-size: 16px; line-height: 19.2px; }
#card .ic-box { width: 40px; height: 40px; margin: -10px; display: grid; place-items: center; flex: none; transition: transform .3s; }
#card .row-t { margin-left: 15px; transition: transform .3s; }
#card .row:hover .ic-box, #card .row:hover .row-t, #card .row:focus-visible .ic-box, #card .row:focus-visible .row-t { transform: translateX(10px); }
#card .row:focus-visible { outline-offset: -3px; }
.ic { width: 24px; height: 24px; flex: none; object-fit: contain; }
.ic.ph { border-radius: 50%; background: rgba(255, 255, 255, .45); border: 1px solid var(--glass-stroke); }
#card .buttons { display: flex; flex: none; border-radius: 0 0 6px 6px; overflow: hidden; }
#card .buttons a { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 49px; padding: 15px 20px; font-size: 16px; line-height: 19.2px; background-color: var(--room-cta); transition: background-color .7s; }
#card .buttons a + a { border-left: 1px solid var(--glass-stroke); }
#card .buttons a:hover, #card .buttons a:focus-visible { background-color: var(--room-cta-hover); }
#card .buttons a:focus-visible { outline-offset: -3px; }
.arrow { width: 15px; height: 13px; fill: currentColor; flex: none; }
.arrow.back { transform: scaleX(-1); }

/* ---------- panel ---------- */
#panel { position: absolute; left: 0; top: 0; bottom: 0; width: 470px; padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--room-text); }
#panel-body, .panel-ghost { padding: 0 0 60px; }
.panel-ghost { position: absolute; left: 0; right: 0; pointer-events: none; }
#panel .panel-top { position: relative; height: 90px; }
#panel .panel-ic { position: absolute; left: 30px; top: 42px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
#panel .panel-ic img { width: 28px; height: 28px; object-fit: contain; }
#panel .panel-ic .ph { width: 20px; height: 20px; border-radius: 50%; background: var(--room-cta); }
#panel .x { position: absolute; z-index: 3; right: 15px; top: 41.5px; width: 47px; height: 47px; display: grid; place-items: center; border-radius: 3px; }
#panel .x svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; }
#panel h2 { margin: 50px 53.5px 0 30px; font-size: 38px; line-height: 36.86px; font-weight: 400; }
#panel .panel-phrase { margin: 30px 124px 0 30px; font-size: 16px; line-height: 19.2px; }
#panel hr { border: 0; border-top: 1px solid var(--hair); margin: 20px 0 0; }
#panel .messages { padding: 10px 0 0; }
.msgcard { position: relative; margin-top: 20px; margin-bottom: 40px; padding: 22px; font-size: 16px; line-height: 19.2px; }
.msgcard.user { margin-left: 87.5px; margin-right: 30px; background: var(--white); border-radius: 9px 9px 0 9px; transform-origin: 100% 100%; }
.msgcard.answer { margin-left: 30px; margin-right: 87.5px; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 9px 9px 9px 0; transform-origin: 0 100%; }
.msgcard .caption { position: absolute; top: 100%; margin-top: 4px; font-size: 10px; line-height: 12px; color: var(--room-text); white-space: nowrap; }
.msgcard.user .caption { right: 20px; }
.msgcard.answer .caption { left: 20px; }
.msgcard .corner { position: absolute; pointer-events: none; }
.msgcard .corner.right { right: -12px; bottom: -12px; }
.msgcard .corner.left { left: -12px; bottom: -12px; }
.msgcard .title { font-size: 16px; line-height: 19.2px; }
.msgcard .sub { margin-top: 6px; font-size: 12px; line-height: 18px; }
.msgcard .block + .block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair); }
.b-label { font-size: 12px; line-height: 18px;  }
.b-big .val { margin-top: 4px; font-size: 38px; line-height: 36.86px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.b-big .val small { font-size: 16px; line-height: 19.2px; margin-left: 6px; letter-spacing: 0; }
.b-big .b-hint { margin-top: 8px; font-size: 12px; line-height: 18px;  }
.b-rows .r { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--glass-stroke); }
.b-rows .r:first-child { border-top: 0; padding-top: 0; }
.b-rows .r .l { min-width: 0; }
.b-rows .r .s { display: block; font-size: 12px; line-height: 18px;  }
.b-rows .r .v { white-space: nowrap; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 8px; }
.b-rows .r.total { border-top: 1px solid currentColor; font-weight: 600; margin-top: 4px; padding-top: 10px; }
.tag { display: inline-block; font-size: 10px; line-height: 12px; padding: 3px 6px; border-radius: 3px; background: var(--room-cta); white-space: nowrap; font-weight: 400; }
.tag.warn { background: rgba(196, 45, 45, .3); }
.tag.ok { background: rgba(25, 147, 23, .3); }
.b-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 18px; font-variant-numeric: tabular-nums; }
.b-table th { text-align: left; font-weight: 400; font-size: 12px; line-height: 18px;  padding: 0 6px 6px 0; }
.b-table td { padding: 7px 6px 7px 0; border-top: 1px solid var(--glass-stroke); vertical-align: top; }
.b-table th:not(:first-child), .b-table td:not(:first-child) { text-align: right; padding-right: 0; padding-left: 6px; white-space: nowrap; }
.b-table tr.hl td { background: rgba(var(--room-rgb), .14); }
.b-bars .bar { padding: 6px 0; }
.b-bars .bar .t { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 18px; }
.b-bars .bar .t .v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-bars .track { margin-top: 5px; height: 4px; border-radius: 2px; background: rgba(var(--room-rgb), .18); overflow: hidden; }
.b-bars .track i { display: block; height: 100%; background: rgba(var(--room-rgb), .8); border-radius: 2px; }
.b-line svg { width: 100%; height: auto; display: block; overflow: visible; }
.b-line .axis { font-size: 10px; fill: currentColor;  }
.b-line .pt { font-size: 10px; fill: currentColor; }
.b-callout { padding: 14px 16px; border-left: 3px solid rgba(var(--room-rgb), .8); background: rgba(255, 255, 255, .25); border-radius: 0 6px 6px 0; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.b-callout.warn { background: rgba(196, 45, 45, .12); border-left-color: rgba(196, 45, 45, .8); }
.b-callout.ok { background: rgba(25, 147, 23, .12); border-left-color: rgba(25, 147, 23, .8); }
.b-callout .val { margin-top: 4px; font-size: 24px; line-height: 26px; font-variant-numeric: tabular-nums; }
.b-callout .val small { font-size: 14px; margin-left: 4px; }
.b-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; line-height: 18px; }
.b-checks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.6' fill='none' stroke='%230f0f0f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.b-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b-tiles .tile { padding: 12px 12px 11px; border-radius: 6px; background: rgba(255, 255, 255, .28); border: 1px solid var(--glass-stroke); font-size: 14px; line-height: 18px; }
.b-tiles .tile .s { display: block; margin-top: 2px; font-size: 12px; line-height: 16px;  }

/* ---------- controls ---------- */
#controls { position: absolute; right: 111px; bottom: 38px; width: 171px; height: 32px; display: flex; color: var(--room-text); border-radius: 3px; opacity: 0; transition: opacity .4s var(--ease) .2s; }
#controls.in { opacity: 1; }
#controls a { display: grid; place-items: center; height: 32px; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: background-color .3s; }
#controls .ov { width: 32px; border-radius: 6px; }
#controls .pill { display: flex; margin-left: 8px; gap: 1px; }
#controls .pill a { width: 65px; }
#controls .pill a:first-child { border-radius: 6px 0 0 6px; }
#controls .pill a:last-child { border-radius: 0 6px 6px 0; }
#controls a:hover, #controls a:focus-visible { background: rgba(var(--room-rgb), .5); }
#controls .grid { width: 12px; height: 12px; fill: currentColor; }

/* ---------- final ---------- */
#final { display: grid; place-items: center; padding: 40px; }
#final .final-card { width: 390px; padding: 30px 20px 0; border-radius: 6px; color: var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
#final.in .final-card { opacity: 1; transform: none; }
#final h2 { font-size: 38px; line-height: 36.86px; font-weight: 400; }
#final .lead { margin-top: 26px; font-size: 16px; line-height: 19.2px; }
#final .note { margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--ink-soft); }
#final .actions { margin: 24px -20px 0; display: flex; }
#final .actions a { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 49px; padding: 15px 20px; font-size: 16px; line-height: 19.2px; transition: background-color .3s; }
#final .actions .primary { background: var(--ink); color: var(--white); border-radius: 0 0 0 6px; }
#final .actions .primary:hover { background: rgb(51, 51, 51); }
#final .actions .secondary { background: rgba(255, 255, 255, .25); border-radius: 0 0 6px 0; border-left: 1px solid var(--glass-stroke); }
#final .actions .secondary:hover { background: rgba(255, 255, 255, .6); }

/* ---------- frames that come apart: labels on the scene, or a list in the panel ---------- */
#parts { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
#parts .part-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 1px rgba(15, 15, 15, .35)); }
#parts .part-line { stroke: var(--white); stroke-width: 1; }
#parts .part-dot { fill: var(--white); stroke: rgba(15, 15, 15, .25); stroke-width: 1; }
#parts .part { position: absolute; left: 0; top: 0; will-change: transform; color: var(--room-text); }
#parts .part-body { position: relative; padding: 12px 14px; border-radius: 6px; background: rgba(255, 255, 255, .52); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.part-title { display: block; font-size: 16px; line-height: 19.2px; }
.part-line-t, .part-loss { display: block; font-size: 12px; line-height: 18px; }
.part-cost { display: block; font-size: 16px; line-height: 19.2px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.part-loss { font-weight: 600; }
#parts .part.compact .part-body { padding: 8px 10px; }
#parts .part.compact .part-title, #parts .part.compact .part-cost { font-size: 14px; line-height: 17px; }
#parts .part.compact .part-line-t, #parts .part.compact .part-loss { font-size: 11px; line-height: 15px; }
.b-parts { display: none; }
body.parts-list .b-parts { display: block; }
body.parts-list .parts-rows { margin-top: 12px !important; padding-top: 0 !important; border-top: 0 !important; }
body.parts-list .parts-rows .r:not(.total) { display: none; }
.b-parts li { padding: 9px 0; border-top: 1px solid var(--glass-stroke); }
.b-parts li:first-child { border-top: 0; padding-top: 0; }

/* ---------- login ---------- */
/* CEO 2026-11-09: an ordinary flat card on the free right side, the room card's mirror; the camera ends behind the person at the PC */
#login { display: grid; justify-items: end; align-items: center; padding: 110px 40px; overflow: auto; }
#login-form { position: relative; width: 390px; padding: 30px 20px 22px; color: var(--ink); background: rgba(255, 255, 255, .52); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 6px; opacity: 0; transition: opacity .4s var(--ease); }
#login.in #login-form { opacity: 1; }
#login-form h2 { font-size: 38px; line-height: 36.86px; font-weight: 400; }
#login-form .note { margin-top: 10px; font-size: 12px; line-height: 18px; color: var(--ink-soft); }
#login-form label { display: block; margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--ink-soft); }
#login-form input { display: block; width: 100%; margin-top: 4px; height: 44px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--ink-20); border-radius: 3px; }
#login-form input:focus-visible { outline: none; box-shadow: none; border-color: var(--ink); }
#login-form .submit { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#login-form .submit .btn-cta { --cta: rgb(15, 15, 15); --cta-text: #fff; --cta-hover: rgb(15, 15, 15); }
#login-form button[disabled] { opacity: .4; cursor: not-allowed; }
#login-form .form-hint { font-size: 10px; line-height: 12px; color: var(--ink-soft); }
#login-form .alt { display: inline-flex; align-items: center; margin-top: 12px; min-height: 44px; font-size: 12px; line-height: 18px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#login-form .caption { position: absolute; right: 20px; top: 100%; margin-top: 14px; font-size: 10px; line-height: 12px; color: var(--ink); }
#skip-flight { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); }

/* ---------- pages ---------- */
#page { overflow: auto; overscroll-behavior: contain; pointer-events: auto; opacity: 0; transition: opacity .4s var(--ease); }
#page.in { opacity: 1; }
/* Tura 17: scrolled text fades out below the floating menu instead of running under the logo and the menu. Nothing moves; at rest the first heading sits below the fade. */
#page { -webkit-mask-image: linear-gradient(to bottom, transparent 96px, #000 150px); mask-image: linear-gradient(to bottom, transparent 96px, #000 150px); }
#page .paper { width: 822px; max-width: calc(100% - 60px); margin: 0 auto; padding: 250px 0 120px; color: var(--ink); }
#page h1 { position: relative; font-size: 40px; line-height: 48px; font-weight: 400; letter-spacing: -.8px; max-width: 675px; white-space: pre-wrap; }
#page .lead { margin-top: 30px; font-size: 22px; line-height: 25.3px; letter-spacing: -.44px; max-width: 640px; }
#page .section { margin-top: 110px; }
#page .section + .section { margin-top: 100px; }
#page .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 25px; }
#page .sec-head h2 { font-size: 40px; line-height: 48px; font-weight: 400; letter-spacing: -.8px; }
#page .sec-head .n { font-size: 80px; line-height: 77.6px; font-weight: 400; letter-spacing: -1.6px; color: rgba(15, 15, 15, .2); }
#page .cols { display: grid; grid-template-columns: 255px 1fr; gap: 0 16px; }
#page .cols > * { border-top: 1px solid var(--hair); padding: 20px 0; }
#page .cols .side { font-size: 22px; line-height: 25.3px; letter-spacing: -.44px; color: var(--ink-soft); }
#page .cols .side.strong { color: var(--ink); }
#page .cols .text { font-size: 22px; line-height: 25.3px; letter-spacing: -.44px; color: var(--ink-soft); padding-right: 41px; }
#page .cols .text p + p { margin-top: 25.3px; }
#page .cols .text ul li { padding: 0 0 12px; }
#page .cols.faq-group { grid-template-columns: 269px 1fr; gap: 0 15.7px; }
#page .faq-items details { border-bottom: 1px solid var(--hair); }
#page .faq-items summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 21px 0 20px; font-size: 22px; line-height: 25.3px; letter-spacing: -.44px; color: var(--ink-soft); min-height: 44px; transition: color .3s; }
#page .faq-items summary:hover { color: var(--ink); }
#page .faq-items summary::-webkit-details-marker { display: none; }
#page .faq-items summary svg { flex: none; width: 12px; height: 12px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
#page .faq-items details[open] summary svg { transform: rotate(180deg); }
#page .faq-items .a { padding: 0 40px 24px 0; font-size: 18px; line-height: 25px; color: var(--ink-soft); }
#page .cols.faq-group > .side { border-top: 1px solid var(--hair); }
#page .cols.faq-group > .faq-items { border-top: 0; padding: 0; }
#page .cols.faq-group > .faq-items details:first-child { border-top: 1px solid var(--hair); }
#page .plan-items li { display: flex; gap: 12px; padding: 6px 0; }
#page .plan-items li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; margin-top: 10px; }
#page .page-cta { margin-top: 80px; display: flex; gap: 22px; align-items: center; }
#page .page-cta .btn-glass { min-height: 38px; }
#page footer { margin-top: 140px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; font-size: 14px; line-height: 21px; color: var(--ink-soft); }
#page footer ul { display: flex; flex-wrap: wrap; }
#page footer li { display: flex; align-items: center; }
#page footer li + li::before { content: "·"; margin: 0 10px; }
#page footer a { min-height: 44px; min-width: 44px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
#page footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- stub note ---------- */
.stub-note { position: fixed; z-index: 7; left: 50%; top: 10px; transform: translateX(-50%); font-size: 10px; line-height: 12px; color: var(--ink); pointer-events: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  #final .final-card, #intro .home .lead .word > span { transition-property: opacity, background-color, color !important; transition-duration: .25s !important; }
  #final .final-card { transform: none; }
  #card .row:hover .ic-box, #card .row:hover .row-t { transform: none; }
}

/* ---------- short windows ---------- */
@media (max-height: 700px) and (min-width: 721px) {
  #card-scroll, #card .card-scroll { min-height: 0; }
  #card .card-phrase { padding-top: 40px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  /* Measured on kriss.ai at 390x844 and 360x740; AUDIT-KRISS-MOBIL.md. */
  .brand { left: 25px; top: 25px; height: 53px; font-size: 17px; }
  .brand svg { width: 28px; height: 28px; }
  #top .right { right: 33px; top: 33px; height: 37px; gap: 4px; border-radius: 3px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; } /* a backdrop-filter here would become the containing block of the fixed menu */
  #menu-btn { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 3px; position: relative; z-index: 31; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
  #menu-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; }
  #menu-btn .close-ic { display: none; }
  body.menu-open #menu-btn .close-ic { display: block; }
  body.menu-open #menu-btn .open-ic { display: none; }
  #menu-btn::after, #try-phone::after { content: ""; position: absolute; inset: -4px 0; } /* 45 px to the finger, 37 to the eye */
  #try-phone { display: inline-flex; position: relative; min-height: 37px; height: 37px; border-radius: 3px; padding: 0 16px; font-size: 12px; line-height: 18px; }
  #menu-catch { display: block; position: fixed; inset: 0; z-index: 28; background: rgba(13, 17, 19, .325); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  body.menu-open #menu-catch { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  #menu {
    position: fixed; left: 33px; right: 33px; top: 110px; z-index: 29; height: auto; max-height: calc(100vh - 130px); overflow-y: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; border-radius: 6px;
    padding: 5px 20px 20px; background: rgba(255, 255, 255, .52); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
  }
  #menu > .fr { display: block; }
  body.menu-open #menu { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  #menu ul { flex-direction: column; align-items: stretch; }
  #menu ul li { border-bottom: 1px solid var(--glass-stroke); }
  #nav-auth li:last-child { border-bottom: 0; }
  #menu a, #nav-list li:first-child a, #nav-auth li:last-child a { height: 76px; font-size: 34px; line-height: 40.8px; padding: 0; }
  #menu a.btn-cta, #menu a.btn-cta:hover { --cta: #fff; --cta-hover: #fff; --cta-text: var(--ink); margin: 50px 0 0; height: 43px; min-height: 43px; padding: 0 20px; border-radius: 3px; justify-content: center; font-size: 12px; line-height: 18px; flex: none; }

  #intro .home { top: calc(24% + 70px); width: calc(100% - 40px); margin-left: 0; left: 20px; }
  #intro .home h1 { margin-top: 34px; font-size: 12.2vw; line-height: 1; white-space: nowrap; }
  #intro .home .hero-cursor { height: 54px; margin-top: -3px; }
  #intro .home .lead { margin-top: 23px; }
  #intro .home .cta { margin-top: 50px; }
  #intro .s2 { left: 25px; width: calc(100% - 50px); font-size: 24px; line-height: 28.8px; }
  .hint { left: 0; right: 0; top: auto; bottom: calc(25px + env(safe-area-inset-bottom, 0px)); width: auto; flex-direction: column; justify-content: flex-end; text-align: center; }
  .hint .mouse { margin: 0 0 16px; width: 20px; height: 28px; }
  .hint span:last-child { max-width: 250px; }
  #overview-hint { display: flex; width: auto; top: auto; } /* CEO 2026-11-11: the swipe-up message stays on the overview, the same pill and place as on the first screen (the desktop rule above sets an id width and top) */
  #skip-intro { right: 25px; bottom: 96px; }

  /* the room card and the row card are the same object: narrow, at the bottom, one button; the scene keeps the rest */
  #card, #rowcard { left: 24px; right: 24px; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); width: auto; }
  #stage #card .card-scroll { min-height: 263px; max-height: none; overflow: hidden; touch-action: none; } /* the height of Kriss's shortest card */
  #card .card-name { padding: 30px 20px 0; font-size: 38px; line-height: 36.86px; }
  #card .card-phrase { margin-top: auto; padding: 60px 20px 10px; }
  #card .card-helps, #card .rows { display: none; }
  #card .buttons a { padding: 15px 20px; white-space: nowrap; }

  #rowcard { display: flex; flex-direction: column; min-height: 263px; position: absolute; border-radius: 6px; color: var(--room-text); }
  #rowcard.ghost { position: absolute; }
  #rowcard .rc-step { padding: 20px 20px 0; font-size: 12px; line-height: 18px; }
  #rowcard h2 { padding: 6px 20px 0; font-size: 30px; line-height: 32px; font-weight: 400; }
  #rowcard .rc-phrase { margin-top: auto; padding: 24px 20px 10px; font-size: 16px; line-height: 19.2px; }
  #rowcard .buttons { display: flex; border-radius: 0 0 6px 6px; overflow: hidden; }
  #rowcard .buttons a { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 49px; padding: 15px 20px; font-size: 16px; line-height: 19.2px; background-color: var(--room-cta); transition: background-color .7s; }
  body[data-mode="panel"]:not(.sheet-open) .brand { opacity: 1; pointer-events: auto; }

  /* CEO 2026-11-10: vertical, on the right edge, in the free space above the card (the card is at least 263px tall and sits 60px from the bottom) */
  #dots { display: flex; flex-direction: column; position: fixed; z-index: 7; right: calc(8px + env(safe-area-inset-right, 0px)); top: calc((100vh - 323px) / 2 + 30px); top: calc((100svh - 323px) / 2 + 30px); transform: translateY(-50%); width: 21px; padding: 8px 0; gap: 5px; align-items: center; border-radius: 6px; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); pointer-events: none; }
  #dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 0, 0, .15); transition: background-color .3s; }
  #dots i.on { background: var(--white); }
  body.sheet-open #dots { display: none; }

  /* the example, open only on request: full-height glass, as Kriss's panel on a phone */
  #panel { width: 100vw; display: none; z-index: 8; }
  body.sheet-open #panel { display: block; }
  body.sheet-open #top .right, body.sheet-open .brand { visibility: hidden; }
  body.sheet-open #parts { visibility: hidden; }
  #panel-body, .panel-ghost { padding-bottom: 0; }
  #panel .panel-ic { left: 25px; top: 35px; }
  #panel .x { right: 10px; top: 37px; }
  #panel .panel-top { height: 85px; }
  #panel h2 { margin: 50px 25px 0; }
  #panel .panel-phrase { margin: 30px 25px 0; }
  #panel hr { margin-top: 19px; }
  .msgcard.user, .msgcard.answer { margin-left: 25px; margin-right: 25px; }
  .panel-next { display: flex; align-items: center; justify-content: space-between; height: calc(50px + env(safe-area-inset-bottom, 0px)); padding: 0 20px env(safe-area-inset-bottom, 0px); margin-top: 60px; font-size: 16px; line-height: 19.2px; color: var(--room-text); background: var(--room-cta); }

  /* out of sight on a phone (Kriss has the dots and the swipes), still there for a screen reader */
  #controls { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  #parts .part.chip .part-body { padding: 6px 8px; }
  #parts .part.chip .part-title, #parts .part.chip .part-cost { font-size: 12px; line-height: 15px; }
  #parts .part.chip .part-line-t, #parts .part.chip .part-loss { display: none; }

  #final { padding: 90px 24px calc(60px + env(safe-area-inset-bottom, 0px)); align-items: end; }
  #final .final-card { width: 100%; padding-top: 24px; }
  #final h2 { font-size: 30px; line-height: 32px; }
  #final .lead { margin-top: 14px; }
  #final .note { margin-top: 8px; }
  #final .actions { flex-direction: column; margin-top: 16px; }
  #final .actions .primary { border-radius: 0; }
  #final .actions .secondary { border-radius: 0 0 6px 6px; border-left: 0; border-top: 1px solid var(--glass-stroke); }
  #login { justify-items: stretch; align-items: end; padding: 90px 24px calc(60px + env(safe-area-inset-bottom, 0px)); }
  #login-form { width: 100%; padding: 20px 20px 10px; }
  #login-form h2 { font-size: 30px; line-height: 32px; }
  #login-form .note { margin-top: 6px; line-height: 16px; }
  #login-form label { margin-top: 8px; }
  #login-form .submit { margin-top: 12px; }
  #login-form .alt { margin-top: 2px; }
  #skip-flight { bottom: 14px; }

  #page { -webkit-mask-image: linear-gradient(to bottom, transparent 82px, #000 128px); mask-image: linear-gradient(to bottom, transparent 82px, #000 128px); }
  #page .paper { max-width: calc(100% - 40px); padding: 150px 0 80px; }
  #page h1 { font-size: 30px; line-height: 38px; letter-spacing: -.6px; }
  #page .lead { font-size: 18px; line-height: 25px; }
  #page .section { margin-top: 90px; }
  #page .section + .section { margin-top: 70px; }
  #page .sec-head h2 { font-size: 28px; line-height: 32px; letter-spacing: -.56px; }
  #page .sec-head .n { font-size: 48px; line-height: 48px; }
  #page .cols, #page .cols.faq-group { grid-template-columns: 1fr; gap: 0; }
  #page .cols > .side { border-top: 1px solid var(--hair); padding: 18px 0 8px; font-size: 16px; line-height: 22px; letter-spacing: 0; }
  #page .cols > .text { border-top: 0; padding: 0; font-size: 17px; line-height: 24px; letter-spacing: 0; }
  #page .cols.faq-group > .faq-items details:first-child { border-top: 0; }
  #page .faq-items summary { font-size: 17px; line-height: 24px; letter-spacing: 0; padding: 16px 0; }
  #page .faq-items .a { font-size: 15px; line-height: 22px; padding-right: 24px; }
  #page footer { margin-top: 90px; }
  /* Tura 17: the room list wraps on a phone; a separator dot that would open the second line is clipped away. Spacing between names stays 24px. */
  #page footer ul { margin-left: -24px; clip-path: inset(-8px -8px -8px 18px); }
  #page footer li::before, #page footer li + li::before { content: "·"; width: 24px; margin: 0; text-align: center; flex: none; }
}
@media (max-width: 380px) { #card .buttons a + a, #card .buttons a:first-child:not(:last-child) { padding: 15px 14px; gap: 8px; font-size: 15px; } }


/* first-time tests, 2026-11-09: nobody should have to wonder which way to go. The cue moves and is dark enough to see on the sky */
html, body { overscroll-behavior: none; }
.hint .mouse { border-color: var(--ink); }
.hint .mouse::before { background: var(--ink); }
@keyframes chev { 0% { translate: 0 10px; opacity: 0; } 35% { opacity: 1; } 100% { translate: 0 -8px; opacity: 0; } }
@media (max-width: 720px) {
  .hint .mouse { border: 0; width: 28px; height: 30px; margin: 0 0 8px; }
  .hint .mouse::before, .hint .mouse::after { content: ""; position: absolute; left: 50%; width: 13px; height: 13px; margin-left: -7.5px; border: solid var(--ink); border-width: 2.5px 0 0 2.5px; border-radius: 2px 0 0 0; background: none; opacity: 0; transform: none; rotate: 45deg; animation: chev 1.5s var(--ease) infinite; }
  .hint .mouse::before { top: 15px; }
  .hint .mouse::after { top: 6px; animation-delay: .16s; }
}

/* the thumb lands on the card: it answers a press, and until the first swipes a cue says what the swipe does (first-time tests, 2026-11-09) */
#swipe-cue { display: none; }
@media (max-width: 720px) {
  #card, #rowcard { cursor: pointer; transition: scale .15s var(--ease); -webkit-tap-highlight-color: transparent; }
  #card:active, #rowcard:active { scale: .985; }
  #swipe-cue:not([hidden]) { display: flex; position: fixed; z-index: 7; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 6px; background: rgba(255, 255, 255, .55); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); color: var(--ink); font-size: 14px; line-height: 16px; white-space: nowrap; pointer-events: none; }
  #swipe-cue .chev { position: relative; width: 14px; height: 18px; flex: none; }
  #swipe-cue .chev::before, #swipe-cue .chev::after { content: ""; position: absolute; left: 2px; width: 9px; height: 9px; border: solid var(--ink); border-width: 2px 0 0 2px; border-radius: 1px 0 0 0; opacity: 0; rotate: 45deg; animation: chev-s 1.5s var(--ease) infinite; }
  #swipe-cue .chev::before { top: 9px; }
  #swipe-cue .chev::after { top: 4px; animation-delay: .16s; }
  body.sheet-open #swipe-cue { display: none; }
}
@keyframes chev-s { 0% { translate: 0 6px; opacity: 0; } 35% { opacity: 1; } 100% { translate: 0 -5px; opacity: 0; } }


/* the example cards carry the new FIOS look (final kit, runda kit-final, ALEGERI 93); the panel around them stays Kriss. Values are the kit's tokens, light theme */
.msgcard.answer.fios { --k-fg: #0F1F17; --k-muted: #5C6963; --k-border: #E2E7E4; --k-soft: #EEF1EF; --k-primary: #1B4332; --k-chart: #2D6A4F; --k-gold: #C9A84C; --k-accent: #D8F0E6; --k-warn-bg: #FBEFC9; --k-warn-fg: #6B4A00; padding: 18px; color: var(--k-fg); background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid var(--k-border); border-radius: 12px; box-shadow: 0 1px 2px rgb(15 31 23 / .05), 0 10px 30px -16px rgb(15 31 23 / .18); font-family: var(--font-manrope, "Manrope"), system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; }
.msgcard.answer.fios > .caption { font-family: var(--font-hanken-grotesk, "Hanken Grotesk"), sans-serif; font-weight: 400; }
.fios .block + .block { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--k-border); }
.fios .b-label { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--k-muted); }
.fios .b-big .val { margin-top: 4px; font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.fios .b-big .val small { margin-left: 5px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0; color: var(--k-muted); }
.fios .b-big .b-hint { margin-top: 6px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--k-muted); }
.fios .b-rows .r { padding: 9px 0; border-top: 1px solid var(--k-border); font-size: 14px; line-height: 20px; font-weight: 600; }
.fios .b-rows .r:first-child, .fios .b-rows .b-label + .r { border-top: 0; }
.fios .b-rows .r:first-child { padding-top: 0; }
.fios .b-rows .r:last-child { padding-bottom: 0; }
.fios .b-rows .r .s { margin-top: 1px; font-size: 12.5px; line-height: 17px; font-weight: 500; color: var(--k-muted); }
.fios .b-rows .r .v { font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.fios .b-rows .r.total { margin-top: 4px; padding-top: 11px; border-top: 1.5px solid var(--k-fg); font-weight: 800; }
.fios .b-rows .r.total .v { font-weight: 800; }
.fios .tag { padding: 2px 8px; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 700; color: #3B4842; background: var(--k-soft); }
.fios .tag.ok { color: var(--k-primary); background: var(--k-accent); }
.fios .tag.warn { color: var(--k-warn-fg); background: var(--k-warn-bg); }
.fios .b-table table { font-size: 13px; line-height: 18px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.fios .b-table th { padding: 0 6px 8px 0; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--k-muted); }
.fios .b-table td { padding: 8px 6px 8px 0; border-top: 1px solid var(--k-border); }
.fios .b-table tr.hl td { font-weight: 800; background: var(--k-accent); }
.fios .b-table tr.hl td:first-child { border-radius: 6px 0 0 6px; padding-left: 6px; }
.fios .b-table tr.hl td:last-child { border-radius: 0 6px 6px 0; padding-right: 6px; }
.fios .b-bars .bar { padding: 7px 0; }
.fios .b-bars .bar .t { font-size: 14px; line-height: 20px; font-weight: 600; }
.fios .b-bars .bar .t .v { font-weight: 700; }
.fios .b-bars .track { margin-top: 6px; height: 8px; border-radius: 4px; background: var(--k-soft); }
.fios .b-bars .track i { border-radius: 4px; background: var(--k-chart); }
.fios .b-line svg { color: var(--k-chart); }
.fios .b-line .target { color: var(--k-gold); opacity: 1; }
.fios .b-line .axis { fill: var(--k-muted); font-size: 11px; font-weight: 600; }
.fios .b-line .pt { fill: var(--k-fg); font-size: 11px; font-weight: 700; }
.fios .block + .b-callout, .fios .b-callout { padding: 12px 14px; border: 1px solid var(--k-border); border-radius: 6px; background: var(--k-soft); }
.fios .block + .b-callout { margin-top: 16px; }
.fios .b-callout.warn { color: var(--k-warn-fg); background: var(--k-warn-bg); border-color: #F0DFA6; }
.fios .b-callout.ok { color: var(--k-primary); background: var(--k-accent); border-color: #BFE3D0; }
.fios .b-callout .b-label { color: inherit; }
.fios .b-callout .val { margin-top: 2px; font-size: 22px; line-height: 26px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; }
.fios .b-callout .val small { font-size: 13px; font-weight: 700; }
.fios .b-callout .tag { background: rgba(255, 255, 255, .7); color: inherit; }
.fios .b-checks li { padding: 6px 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.fios .b-checks li::before { width: 18px; height: 18px; margin-top: 1px; background: var(--k-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.6' fill='none' stroke='%231B4332' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.fios .b-tiles .tile { padding: 12px; border: 1px solid var(--k-border); border-radius: 6px; background: #fff; font-size: 14px; line-height: 18px; font-weight: 700; }
.fios .b-tiles .tile .s { margin-top: 3px; font-size: 12.5px; line-height: 17px; font-weight: 500; color: var(--k-muted); }
.fios .b-parts li { border-top: 1px solid var(--k-border); }
.fios .part-title, .fios .part-cost { font-size: 14px; line-height: 20px; font-weight: 700; }
.fios .part-line-t, .fios .part-loss { font-size: 12.5px; line-height: 17px; color: var(--k-muted); }
.fios .part-loss { color: var(--k-warn-fg); font-weight: 700; }

/* a real piece of a FIOS page: the page's own background around it, and a soft end where the section goes on */
.msgcard.answer.fios.snip { padding: 8px; background: #F4F6F5; }
.snip-img { display: block; width: 100%; height: auto; border-radius: 8px; }
.fios.cut .snip-img { -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }

/* the buttons wait for the end of the first walk; the way back to them from the last screen */
#hotspots[hidden] { display: none; }
#final .final-rooms { display: block; padding: 13px 20px 13px; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }   /* 46 px tall: a finger can hit it */
/* Android hides the browser bar: the canvas must already be as tall as the screen without it, or a band shows at the bottom */
@supports (height: 100lvh) { #scene, #stills { height: 100lvh; } }
