/* Kartavya family dashboard, card view: the landing page's card language as a bento grid.
   Deep feature cards with soft glows and a dot grid, big light numerals, a navy hero with the status gauge. */

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --canvas: #edf1f3;
  --surface: #ffffff;
  --text: #13222a;
  --muted: #55646d;
  --line: #e0e7ea;
  --teal: #2a9d8f;
  --teal-d: #1f7a6f;
  --mint: #5fe3d3;
  --orange: #c65d1e;
  --navy: #0d2836;
  --warm: #fbeee3;
  --focus: #0b6bcb;
  --pill-d: #0d2836; --pill-d-t: #fff;
  --shadow: 0 1px 2px rgba(13, 40, 54, .06), 0 14px 34px rgba(13, 40, 54, .09);
  --r: 26px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #060c10; --surface: #0f191f; --text: #e6eef2; --muted: #98abb5; --line: #1d2c35; --warm: #24170f; --focus: #f2c879;
    --pill-d: #5fe3d3; --pill-d-t: #0b1d26; --shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #060c10; --surface: #0f191f; --text: #e6eef2; --muted: #98abb5; --line: #1d2c35; --warm: #24170f; --focus: #f2c879;
  --pill-d: #5fe3d3; --pill-d-t: #0b1d26; --shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .5); color-scheme: dark;
}
html { font-size: 16px; }
html[data-fs="-1"] { font-size: 14px; }
html[data-fs="1"] { font-size: 18px; }
html[data-fs="2"] { font-size: 20px; }
*, *::before, *::after { box-sizing: border-box; }
body.cd { margin: 0; background: var(--canvas); color: var(--text); font: 400 1rem/1.5 "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.cd :is(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.cd :is(ul, ol) { list-style: none; }
:where(.cd) a { color: inherit; }
:where(.cd) button { font: inherit; color: inherit; cursor: pointer; }
.cd [hidden] { display: none !important; }
.cd :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.cd #main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 40px, 1260px); margin-inline: auto; }
.av { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgba(95, 227, 211, .16); color: var(--mint); font: 800 .78rem Manrope, sans-serif; letter-spacing: .04em; }
.tool { display: inline-grid; place-items: center; position: relative; min-width: 40px; height: 40px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: .9rem; }
.tool:hover { background: rgba(255, 255, 255, .12); }

/* ---------- hero: top bar, greeting, demo, status ---------- */
.hero { position: relative; color: #fff; padding-bottom: 30px; overflow: hidden;
  background: radial-gradient(900px 480px at 82% -10%, rgba(95, 227, 211, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, var(--hero-warm, rgba(198, 93, 30, .24)), transparent 60%),
    linear-gradient(165deg, #0b2230 0%, #123649 58%, #1b4a5f 100%); transition: background .6s; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 22px 22px; -webkit-mask: linear-gradient(#000, transparent 92%); mask: linear-gradient(#000, transparent 92%); }
body[data-level="1"] .hero { --hero-warm: rgba(229, 165, 48, .3); }
body[data-level="2"] .hero { --hero-warm: rgba(240, 122, 53, .38); }
body[data-level="3"] .hero { --hero-warm: rgba(240, 82, 75, .45); }
.tb { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px; width: min(100% - 40px, 1260px); height: 76px; margin-inline: auto; }
.tb-logo img { display: block; height: 38px; width: auto; }
.tb-app { padding: 4px 11px; border-radius: 20px; background: rgba(255, 255, 255, .14); font: 800 .7rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.tb-who { display: flex; align-items: center; gap: 10px; margin-left: 6px; padding: 5px 16px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; line-height: 1.2; }
.tb-who small { display: block; color: rgba(255, 255, 255, .65); font-size: .75rem; }
.tb-r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); }
.seg a { padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .7); text-decoration: none; }
.seg a[aria-current] { background: #fff; color: var(--navy); }
.tb-tools { display: flex; gap: 2px; }
.tb-bell .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #f0524b; box-shadow: 0 0 0 2px #123649, 0 0 10px #f0524b; }
.me { position: relative; }
.me-btn { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border: 0; border-radius: 999px; background: transparent; }
.me-btn:hover { background: rgba(255, 255, 255, .1); }
.me-btn .ic { width: 16px; height: 16px; }
.av-me { background: #f2c879; color: #3a2508; }
.me-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 248px; padding: 8px; border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.me-pop p { padding: 10px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.me-pop small { display: block; color: var(--muted); font-size: .8rem; }
.me-pop :is(a, button) { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; text-decoration: none; font-size: .92rem; }
.me-pop :is(a, button):hover { background: var(--canvas); }
.me-tools { display: none; align-items: center; gap: 4px; padding: 6px 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.me-tools span { margin-right: auto; font-size: .85rem; color: var(--muted); }
.me-pop .me-tools .tool { width: auto; min-width: 40px; justify-content: center; }
@media (max-width: 760px) { .me-tools { display: flex; } }

.hero-in { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 26px; }
.eyebrow { font: 800 .74rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.greet h1 { margin-top: 8px; font: 300 clamp(2rem, 1.3rem + 2.6vw, 3.3rem)/1.05 Manrope, sans-serif; letter-spacing: -.035em; }
.greet h1 span { color: var(--mint); font-weight: 500; }
.greet-s { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.demo { display: grid; gap: 8px; justify-items: end; }
.demo > span { font: 800 .68rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.demo > div { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .12); }
.demo button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .85rem; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.demo button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.demo button:hover { background: rgba(255, 255, 255, .1); }
.demo button[aria-pressed="true"] { background: #fff; color: var(--navy); }

.status { position: relative; z-index: 2; display: grid; grid-template-columns: 210px minmax(0, 1fr) 250px; gap: 30px; align-items: center; margin-top: 24px; padding: 26px 30px; border-radius: 30px; isolation: isolate;
  background: radial-gradient(520px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 45%),
    radial-gradient(60% 140% at 0% 50%, color-mix(in srgb, var(--lv) 38%, transparent), transparent 62%), rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 30px 60px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.status[data-level="3"] { animation: alarm 2s ease-out infinite; }
@keyframes alarm { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lv) 70%, transparent), 0 30px 60px rgba(0, 0, 0, .25); } 70%, 100% { box-shadow: 0 0 0 16px transparent, 0 30px 60px rgba(0, 0, 0, .25); } }
.st-g { text-align: center; }
.gauge { display: block; width: 100%; height: auto; overflow: visible; }
.g-seg { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 14; stroke-linecap: round; transition: stroke .5s; }
.g-seg.past { stroke: color-mix(in srgb, var(--c) 45%, transparent); }
.g-seg.on { stroke: var(--c); filter: drop-shadow(0 0 8px var(--c)); }
.g-needle { transform-origin: 100px 100px; transition: transform 1.1s cubic-bezier(.3, 1.45, .5, 1); }
.g-needle line { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.g-needle circle { fill: #fff; }
.st-n { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.st-n b { font: 300 2.2rem/1 Manrope, sans-serif; color: #fff; }
.st-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--lv) 22%, transparent); border: 1px solid color-mix(in srgb, var(--lv) 55%, transparent); font: 800 .72rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.st-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 10px var(--lv); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.5); opacity: .6; } }
.status h2 { margin-top: 12px; font: 600 clamp(1.55rem, 1.1rem + 1.5vw, 2.35rem)/1.12 Manrope, sans-serif; letter-spacing: -.025em; }
.st-p { margin-top: 8px; max-width: 62ch; color: rgba(255, 255, 255, .85); }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.who span { margin-right: 4px; font: 800 .68rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.who em { padding: 4px 12px; border-radius: 999px; font-style: normal; font-weight: 700; font-size: .8rem; color: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .18); transition: background .4s, color .4s; }
.who em.lit { background: var(--lv); border-color: var(--lv); color: #0b1d26; box-shadow: 0 0 14px color-mix(in srgb, var(--lv) 60%, transparent); }
.inc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.inc li { padding: 9px 10px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; line-height: 1.3; }
.inc i { display: grid; place-items: center; width: 20px; height: 20px; margin-bottom: 6px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); }
.inc li.done i { border: 0; background: var(--lv); color: #0b1d26; }
.inc i .ic { width: 13px; height: 13px; stroke-width: 3; }
.inc b { display: block; }
.inc small { color: rgba(255, 255, 255, .6); }
.cdn { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; font-size: .9rem; color: #ffd2cf; }
.st-a { display: grid; gap: 10px; }
.pill-w, .pill-g, .pill-d, .pill-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.pill-w { border: 0; background: #fff; color: var(--navy); }
.pill-w:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.pill-g { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; }
.pill-g:hover { background: rgba(255, 255, 255, .14); }
.pill-d { justify-self: start; align-self: flex-start; border: 0; background: var(--pill-d); color: var(--pill-d-t); }
.pill-d:hover { transform: translateY(-1px); }
.pill-b { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: .85rem; }
.st-told { display: flex; gap: 8px; margin-top: 4px; font-size: .82rem; color: rgba(255, 255, 255, .7); }
.st-told .ic { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- the bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding: 28px 0 8px; }
.c-live { grid-column: span 7; }
.c-ai { grid-column: span 5; }
.c-dai, .c-sleep, .c-circle { grid-column: span 4; }
.c-day { grid-column: span 6; }
.c-visit, .c-notes { grid-column: span 3; }
.c-kit { grid-column: span 7; }
.c-hist { grid-column: span 5; }

.c { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; border-radius: var(--r); overflow: hidden; isolation: isolate; color: var(--text);
  background: radial-gradient(420px circle at var(--mx, -300px) var(--my, -300px), var(--spot, rgba(42, 157, 143, .09)), transparent 45%), var(--bg, var(--surface));
  box-shadow: var(--shadow); animation: rise .8s calc(var(--i) * 70ms) cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.c.dk { color: #fff; --spot: rgba(255, 255, 255, .08); box-shadow: 0 18px 40px rgba(8, 25, 34, .22); }
.c.dk::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(75% 60% at 92% 100%, var(--glow), transparent 70%), radial-gradient(55% 45% at 0% 40%, var(--glow2, transparent), transparent 70%); }
.c.dk::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .32), transparent 32%), radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.6px) 0 0 / 22px 22px; }
.c-live { --bg: #0d2836; --glow: rgba(95, 227, 211, .16); --glow2: rgba(198, 93, 30, .14); }
.c-ai { --bg: #14191b; --glow: rgba(42, 157, 143, .45); --glow2: rgba(198, 93, 30, .26); }
.c-dai { --bg: #0a2926; --glow: rgba(42, 157, 143, .6); }
.c-sleep { --bg: #09202a; --glow: rgba(70, 140, 170, .45); --glow2: rgba(42, 157, 143, .22); }
.c-circle { --bg: #14504a; --glow: rgba(120, 230, 214, .36); --glow2: rgba(255, 255, 255, .08); }
.c-kit { --bg: linear-gradient(135deg, #c65d1e, #8c3910); --glow: rgba(255, 170, 100, .28); --glow2: rgba(255, 210, 160, .12); }
.c-notes { --bg: var(--warm); --spot: rgba(198, 93, 30, .1); }

.c-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.c-h h2 { font: 500 1.45rem/1.15 Manrope, sans-serif; letter-spacing: -.02em; }
.tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 4px 11px; border-radius: 20px; background: rgba(255, 255, 255, .16); font: 800 .6875rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.c:not(.dk) .tag { background: var(--canvas); }
.c-time { font-weight: 700; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.c.dk .c-time { color: rgba(255, 255, 255, .7); }
.c-sub { font-size: .9rem; color: var(--muted); }
.c.dk .c-sub { color: rgba(255, 255, 255, .78); }
.c-note { display: flex; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.c-note .ic { width: 16px; height: 16px; margin-top: 2px; }
.explore { align-self: flex-start; margin-top: auto; padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: 800 .75rem Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; transition: color .2s; }
.explore::after { content: " \2192"; transition: margin .2s; }
.explore:hover { color: var(--teal); }
.c.dk .explore:hover { color: var(--mint); }
.explore:hover::after { margin-left: 4px; }

/* live home */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f0524b; box-shadow: 0 0 10px #f0524b; animation: beat 1.4s ease-in-out infinite; }
.live { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: center; flex: 1; }
.live-plan .pl { display: block; width: 100%; height: auto; }
.live-room { display: flex; align-items: center; gap: 10px; font: 300 1.9rem/1.1 Manrope, sans-serif; letter-spacing: -.02em; }
.live-room .ic { width: 28px; height: 28px; color: var(--mint); }
.live-sub { margin-top: 4px; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.live-rooms { display: grid; gap: 6px; margin-top: 16px; }
.live-rooms li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: rgba(255, 255, 255, .75); transition: background .3s; }
.live-rooms .ic { width: 16px; height: 16px; }
.live-rooms li.on { background: rgba(95, 227, 211, .16); border-color: rgba(95, 227, 211, .5); color: #fff; font-weight: 700; }
.live-rooms li.on::after { content: "Now"; margin-left: auto; font: 800 .62rem Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.live-rooms li.alert { background: rgba(240, 82, 75, .25); border-color: #f0524b; }
.live-rooms li.alert::after { color: #ffb3ae; }
.live-lock { display: flex; gap: 8px; margin-top: 14px; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.live-lock .ic { width: 15px; height: 15px; margin-top: 2px; }

/* floor plan (light by default: the sheet), dark inside the live card */
.pl { display: block; width: 100%; height: auto; }
.pl-out { fill: var(--canvas); stroke: var(--line); stroke-width: 2; }
.pl-room { fill: transparent; transition: fill .4s; }
.pl-room.is-here { fill: rgba(42, 157, 143, .14); }
.pl-room.is-alert { fill: rgba(240, 82, 75, .22); animation: roomalert 1.4s ease-in-out infinite; }
@keyframes roomalert { 50% { fill: rgba(240, 82, 75, .4); } }
.pl-wall { fill: none; stroke: var(--line); stroke-width: 2; }
.pl-lbl text { font: 800 10.5px Manrope, sans-serif; letter-spacing: 1.4px; fill: var(--muted); }
.pl-trail { fill: none; stroke: #e2a63b; stroke-width: 2; stroke-dasharray: 4 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.pl-dev circle { stroke-width: 1.5; }
.pl-dev text { font: 800 8.5px Manrope, sans-serif; }
.pl-w circle { fill: #fff; stroke: #0f1516; }
.pl-w text { fill: #0f1516; }
.pl-t circle { fill: var(--teal); stroke: rgba(255, 255, 255, .7); }
.pl-o circle { fill: var(--orange); stroke: rgba(255, 255, 255, .7); }
.pl-t text, .pl-o text { fill: #fff; }
.pl-dot { fill: #f2c879; stroke: #fff; stroke-width: 2; }
.pl-pulse { fill: #f2c879; transform-box: fill-box; transform-origin: center; animation: plp 2s ease-out infinite; }
.pl-pulse.p2 { animation-delay: 1s; }
.pl-me.is-alert .pl-dot, .pl-me.is-alert .pl-pulse { fill: #f0524b; }
@keyframes plp { from { transform: scale(1); opacity: .65; } to { transform: scale(3.6); opacity: 0; } }
.c-live .pl-out { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .32); }
.c-live .pl-room.is-here { fill: rgba(95, 227, 211, .14); }
.c-live .pl-wall { stroke: rgba(255, 255, 255, .26); }
.c-live .pl-lbl text { fill: #a2acae; }

/* Kartavya AI */
.ai-ring { position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--a), transparent 0deg, rgba(95, 227, 211, .9) 60deg, transparent 120deg, transparent 180deg, rgba(198, 93, 30, .8) 240deg, transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 8s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: linear-gradient(135deg, rgba(95, 227, 211, .22), rgba(198, 93, 30, .22)); border: 1px solid rgba(255, 255, 255, .18); font: 700 1rem Manrope, sans-serif; letter-spacing: 0; }
.ai-badge .ic { width: 18px; height: 18px; color: var(--mint); }
.c-ai .explore { margin-top: 6px; white-space: nowrap; }
.ai-say { min-height: 6.2em; font: 400 1.06rem/1.55 Manrope, sans-serif; color: rgba(255, 255, 255, .92); }
.ai-say.typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--mint); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-tips { display: grid; gap: 6px; }
.ai-tips li { display: flex; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.ai-tips .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--mint); }
.ai-chat { display: flex; flex-direction: column; gap: 8px; max-height: 170px; overflow-y: auto; padding: 4px 2px; }
.b { max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .12); font-size: .88rem; line-height: 1.45; animation: pop .3s ease both; }
.b.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #fff; color: #101415; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: tp 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 50% { opacity: .25; transform: translateY(-3px); } }
.ai-sug { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ai-sug button { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .85); transition: background .2s, border-color .2s; }
.ai-sug button:hover { background: var(--teal); border-color: var(--teal); }
.ai-ask { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.ai-ask:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(95, 227, 211, .2); }
.ai-ask input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; background: transparent; color: #fff; font: inherit; outline: none; }
.ai-ask input::placeholder { color: rgba(255, 255, 255, .5); }
.ai-ask button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mint); color: #0b1d26; }

/* daily activity (as on the landing card) */
.dai { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm { padding: 16px 14px; border-radius: 20px; background: rgba(0, 0, 0, .3); }
.dm-l { font: 800 .6875rem Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.dm-v { margin-top: 8px; font: 300 clamp(1.9rem, 1.5rem + 1vw, 2.5rem)/1 Manrope, sans-serif; letter-spacing: -.03em; }
.dm-v small { margin-left: 4px; font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.bar { position: relative; height: 6px; margin: 16px 0 10px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.bar i { display: block; width: var(--w); height: 100%; border-radius: 4px; background: var(--mint); animation: grow 1.3s ease both; }
.bar u { position: absolute; top: -5px; left: var(--avg); width: 2px; height: 16px; background: #fff; }
@keyframes grow { from { width: 0; } }
.delta { font-size: .76rem; color: rgba(255, 255, 255, .75); }
.delta em { font-style: normal; font-weight: 800; color: var(--mint); }
.delta em.low { color: #f2c879; }
.wk { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding-top: 4px; }
.wk span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.wk i { width: 100%; height: calc((100% - 20px) * var(--k)); border-radius: 6px; background: rgba(255, 255, 255, .2); transform-origin: bottom; animation: barup .8s calc(var(--i) * 60ms) cubic-bezier(.2, .7, .2, 1) both; }
.wk .on i { background: var(--mint); box-shadow: 0 0 16px rgba(95, 227, 211, .5); }
.wk small { font-size: .66rem; color: rgba(255, 255, 255, .6); }
.wk .on small { color: #fff; font-weight: 700; }
@keyframes barup { from { transform: scaleY(0); } }
.legend { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.legend u { display: inline-block; width: 2px; height: 12px; background: #fff; }

/* sleep */
.sl { padding: 14px 16px 8px; border-radius: 20px; background: rgba(0, 0, 0, .3); }
.sl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sl-h b { font: 300 2.1rem Manrope, sans-serif; letter-spacing: -.02em; }
.sl-h span { font: 800 .66rem Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.nb { display: block; width: 100%; height: auto; margin-top: 4px; }
.nb-track { fill: var(--canvas); }
.nb-settle { fill: #9cc9c2; }
.nb-asleep { fill: var(--teal); }
.nb-up { fill: var(--orange); }
.nb-t { font: 600 14px Manrope, sans-serif; fill: var(--muted); }
.c-sleep .nb-track { fill: rgba(255, 255, 255, .08); }
.c-sleep .nb-settle { fill: rgba(95, 227, 211, .35); }
.c-sleep .nb-asleep { fill: #5fb9d6; }
.c-sleep .nb-up { fill: #ff8a4c; }
.c-sleep .nb-t { fill: rgba(255, 255, 255, .6); font-size: 22px; }
.mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mini p { padding: 10px 11px; border-radius: 14px; background: rgba(0, 0, 0, .3); }
.mini b { display: block; font: 700 1.2rem/1.2 Manrope, sans-serif; }
.mini b small { font-size: .75rem; opacity: .7; }
.mini span { font-size: .68rem; color: rgba(255, 255, 255, .7); }

/* circle network */
.cn { display: block; width: 100%; height: auto; overflow: visible; }
.cn-l { stroke: rgba(255, 255, 255, .28); stroke-width: 1.8; stroke-dasharray: 4 6; }
.cn-l.cn-told { stroke: #ff8a4c; animation: dash 1.2s linear infinite; }
.cn-l.cn-seen { stroke: var(--mint); animation: dash 1.2s linear infinite; }
.cn-l.cn-go { stroke: #3fbf86; stroke-width: 2.6; animation: dash .7s linear infinite reverse; }
.cn-n circle { fill: #0f1516; stroke: rgba(95, 227, 211, .7); stroke-width: 2.5; }
.cn-n.cn-told circle { stroke: #ff8a4c; }
.cn-n.cn-go circle { stroke: #3fbf86; fill: #123a2c; }
.cn-i { font: 800 11px Manrope, sans-serif; fill: #fff; }
.cn-t { font: 700 12.5px Manrope, sans-serif; fill: #fff; }
.cn-s { font: 600 10.5px "Noto Sans", sans-serif; fill: rgba(255, 255, 255, .72); }
.cn-n.cn-go .cn-s { fill: #8ef0bf; }
.cn-me { fill: #fff; }
.cn-mt { font: 800 13px Manrope, sans-serif; fill: #0f1516; }
.cn-ring { fill: none; stroke: var(--c); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.cn-ring.r2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* today ribbon */
.rb { display: block; width: 100%; height: auto; overflow: visible; }
.rb-line { stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.rb-done { stroke: var(--teal); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.rb-t { font: 600 13px Manrope, sans-serif; fill: var(--muted); }
.rb-ev line { stroke: var(--line); stroke-width: 1.5; }
.rb-ev circle { fill: var(--cc, #8a9aa3); stroke: var(--surface); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: dot .5s calc(var(--i) * 50ms) cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes dot { from { transform: scale(0); } }
.rb-bedroom { --cc: #5b7fa6; } .rb-bathroom { --cc: #2a9d8f; } .rb-kitchen { --cc: #d4823f; } .rb-living { --cc: #1b4a5f; } .rb-entrance { --cc: #8a6fb0; }
.rb-ai { --cc: #5fe3d3; } .rb-watch { --cc: #e5a530; } .rb-chk { --cc: #f07a35; } .rb-resp { --cc: #f0524b; }
:root[data-theme="dark"] .rb-living { --cc: #7fb4c9; }
.rb-now circle { fill: var(--text); stroke: var(--surface); stroke-width: 3; }
.rb-now text { font: 800 12px Manrope, sans-serif; fill: var(--text); }
.recent { display: grid; gap: 4px; }
.recent li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--canvas); font-size: .88rem; }
.recent time { font-weight: 700; color: var(--muted); white-space: nowrap; }
.recent small { display: block; color: var(--muted); font-size: .78rem; }
.recent li.t-watch { box-shadow: inset 3px 0 0 #e5a530; }
.recent li.t-chk { box-shadow: inset 3px 0 0 #f07a35; }
.recent li.t-resp { box-shadow: inset 3px 0 0 #f0524b; background: color-mix(in srgb, #f0524b 10%, var(--canvas)); }
.recent li.t-ai { box-shadow: inset 3px 0 0 var(--teal); }

/* next visit, notes */
.vs { display: flex; gap: 16px; align-items: center; }
.vs-d { display: grid; place-items: center; align-content: center; width: 78px; height: 92px; flex: none; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #2a9d8f, #14504a); box-shadow: 0 10px 22px rgba(42, 157, 143, .3); }
.vs-d small { font: 800 .66rem Manrope, sans-serif; letter-spacing: .16em; opacity: .85; }
.vs-d b { font: 300 2.3rem/1 Manrope, sans-serif; }
.vs-w { font: 700 1.05rem Manrope, sans-serif; }
.vs-t { font-weight: 700; color: var(--teal); }
.vs-s { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.vs-r { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); }
.vs-r .ic { width: 16px; height: 16px; margin-top: 1px; }
.vs-q { padding: 12px 14px; border-radius: 16px; background: var(--canvas); font-size: .82rem; }
.vs-q p { margin-bottom: 4px; font: 800 .66rem Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vs-q ol { padding-left: 18px; list-style: decimal; }
.c-visit .pill-d { margin-top: auto; min-height: 42px; padding: 0 16px; font-size: .86rem; }
.nl { display: grid; gap: 10px; }
.nl li { padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: .88rem; }
.nl-d { font: 800 .7rem Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }

/* kit (as the care kits panel on the landing page) */
.kit { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; }
.kit-big { font: 800 4.6rem/.9 Manrope, sans-serif; letter-spacing: -.04em; }
.kit-n p:not(.kit-big) { margin-top: 6px; font-size: .92rem; }
.kit-room { display: inline-block; margin-top: 10px !important; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 700; font-size: .78rem !important; }
.kit-g { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; }
.kt, .kt-e { aspect-ratio: 1; border-radius: 10px; }
.kt { display: grid; place-items: center; background: #fff; color: #1f7a6f; box-shadow: 0 6px 14px rgba(70, 20, 0, .25); animation: tile .5s calc(var(--i) * 45ms) cubic-bezier(.3, 1.4, .5, 1) both; }
.kt .ic { width: 62%; height: 62%; }
.kt.alert { background: #f0524b; color: #fff; animation: tile .5s both, flash 1s ease-in-out infinite; }
@keyframes tile { from { transform: scale(.5); opacity: 0; } }
@keyframes flash { 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .45); } }
.kt-e { display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .35); }
.kt-e::after { content: "+"; color: rgba(255, 255, 255, .45); font-weight: 700; }

/* alert history */
.hl { display: grid; }
.hl li { position: relative; display: flex; gap: 14px; padding: 0 0 16px; }
.hl li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.hl li:last-child::before { display: none; }
.hl i { width: 14px; height: 14px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.hl-s { font-size: .8rem; color: var(--muted); }

/* footer */
.ft { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; margin-bottom: 30px; padding: 18px 24px; border-radius: 20px; background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .85rem; }
.ft-lg { height: 30px; width: auto; }
.ft nav { display: flex; gap: 16px; margin-left: auto; }
.ft a { color: #fff; }

/* ---------- detail sheet ---------- */
.sheet { position: fixed; inset: 0 0 0 auto; width: min(680px, 100%); height: 100%; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 28px 0 0 28px; background: var(--surface); color: var(--text); box-shadow: -20px 0 60px rgba(0, 0, 0, .3); }
.sheet[open] { animation: slide .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.sheet::backdrop { background: rgba(5, 15, 20, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sh-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sh-bar h2 { font: 600 1.35rem Manrope, sans-serif; letter-spacing: -.02em; }
.sh-bar > div { display: flex; gap: 6px; }
.sheet .tool:hover { background: var(--canvas); }
.sh-body { display: grid; gap: 16px; padding: 22px 24px 36px; }
.sh-body h3 { margin-top: 8px; font: 700 1rem Manrope, sans-serif; }
.sh-note { font-size: .85rem; color: var(--muted); }
.sh-tabs { display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; background: var(--canvas); }
.sh-tabs button { padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .85rem; color: var(--muted); }
.sh-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.sh-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sh-kpi p { padding: 14px; border-radius: 16px; background: var(--canvas); }
.sh-kpi b { display: block; font: 300 1.8rem/1.1 Manrope, sans-serif; letter-spacing: -.02em; }
.sh-kpi span { font-size: .78rem; color: var(--muted); }
.sh-key { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); }
.sh-key li { display: flex; align-items: center; gap: 6px; }
.sh-key i { width: 14px; height: 10px; border-radius: 3px; }
.k-settle { background: #9cc9c2; } .k-asleep { background: var(--teal); } .k-up { background: var(--orange); }
.sh-ppl { display: grid; gap: 6px; }
.sh-ppl li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--canvas); }
.sh-ppl .av { background: rgba(42, 157, 143, .14); color: var(--teal-d); }
:root[data-theme="dark"] .sh-ppl .av { color: var(--mint); }
.sh-ppl div { flex: 1; min-width: 0; }
.sh-ppl small { display: block; color: var(--muted); font-size: .8rem; }
.sh-ppl em { font-style: normal; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.sh-now { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, var(--canvas)); border-left: 4px solid var(--c); }
.sh-notes { display: grid; gap: 8px; }
.sh-notes li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--canvas); font-size: .9rem; }
.sh-notes small { color: var(--muted); }
.sh-form { display: grid; gap: 12px; }
.sh-form label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.sh-form input[type="text"] { height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; }
.sh-form input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(42, 157, 143, .2); }
.sh-form .chk { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.sh-form .chk input { width: 18px; height: 18px; accent-color: var(--teal-d); }
.lvt { display: inline-block; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-weight: 800; font-size: .76rem; white-space: nowrap; }
:root[data-theme="dark"] .lvt { color: color-mix(in srgb, var(--c) 55%, #fff); }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(42, 157, 143, .16); color: var(--teal); }
.yes .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.no { color: var(--muted); }
.tw { overflow-x: auto; }
.ct { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ct th, .ct td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ct thead th { font: 800 .7rem Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct td small { display: block; color: var(--muted); font-size: .78rem; }
.ct tbody tr:last-child td { border-bottom: 0; }

/* charts inside the sheet */
.ch { display: block; width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: var(--line); }
.ch-ax, .ch-x { font: 600 13px Manrope, sans-serif; fill: var(--muted); }
.ch-x.is-hi { font-weight: 800; fill: var(--text); }
.ch-bar { fill: color-mix(in srgb, var(--teal) 35%, var(--surface)); transform-box: fill-box; transform-origin: bottom; animation: barup .7s calc(var(--i) * 40ms) cubic-bezier(.2, .7, .2, 1) both; }
.ch-bar.is-hi { fill: var(--teal); }
.ch-avg { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 5; }
.ch-avg-t { font: 800 13px Manrope, sans-serif; fill: var(--orange); }
.ch-mark { stroke: #e5a530; stroke-width: 1.5; stroke-dasharray: 3 4; }
.ch-mark-t { font: 800 12px Manrope, sans-serif; fill: #b57b12; }

/* doctor summary */
.ds { display: grid; gap: 18px; font-size: .92rem; }
.ds-h { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--text); }
.ds-h h2 { font: 600 1.45rem Manrope, sans-serif; }
.ds-k { font: 800 .7rem Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ds-badge { align-self: start; padding: 4px 12px; border-radius: 999px; background: rgba(42, 157, 143, .14); color: var(--teal); font-weight: 800; font-size: .78rem; white-space: nowrap; }
.ds h3 { margin: 0 0 6px; font: 700 .98rem Manrope, sans-serif; }
.ds ul, .ds ol { padding-left: 20px; list-style: disc; }
.ds ol { list-style: decimal; }
.kv-table { width: 100%; border-collapse: collapse; }
.kv-table th, .kv-table td { padding: 7px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.kv-table th { width: 46%; font-weight: 500; color: var(--muted); }
.ds-f { padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* toast */
.kv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: #0d2836; color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.kv-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .c-live, .c-ai, .c-circle, .c-day, .c-kit, .c-hist { grid-column: span 6; }
  .c-dai, .c-sleep, .c-visit, .c-notes { grid-column: span 3; }
  .status { grid-template-columns: 180px minmax(0, 1fr); }
  .st-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; }
  .inc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tb-who { display: none; }
}
@media (max-width: 760px) {
  .wrap, .tb { width: min(100% - 28px, 1260px); }
  .tb { gap: 8px; height: 64px; }
  .tb-app, .tb-tools { display: none; }
  .tb-logo img { height: 32px; }
  .hero-in { flex-direction: column; align-items: flex-start; padding-top: 14px; }
  .demo { justify-items: start; }
  .status { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; border-radius: 24px; }
  .st-g { width: 190px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento > .c { grid-column: auto; }
  .c { padding: 20px 18px; border-radius: 22px; }
  .live { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-kpi { grid-template-columns: 1fr; }
  .sh-notes li { grid-template-columns: 1fr; gap: 4px; }
  .sheet { border-radius: 22px 22px 0 0; inset: auto 0 0 0; width: 100%; height: 92%; }
  .ft nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body.cd > :not(.sheet) { display: none !important; }
  .sheet { position: static; display: block; width: auto; height: auto; box-shadow: none; border-radius: 0; }
  .sh-bar { display: none; }
}
