@font-face {
  font-family:Manrope;
  src:url('../assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}

:root {
  color-scheme:dark;
  --bg:#101012;
  --panel:#19191c;
  --inset:#202024;
  --fg:#f8f8f3;
  --muted:#aaa9ae;
  --quiet:#89888e;
  --line:#333337;
  --strongline:#46464a;
  --pink:#ff69b0;
  --chart:#ff499c;
  --lime:#e3f3a8;
  --limetext:#e3f3a8;
  --limebg:#283025;
  --wash:#242427;
  --surface:#202023;
  --track:#343438;
  --key:#f8f8f3;
  --keytext:#1d1c1d;
  --rad:20px;
  --width:1384px;
  --mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  font-family:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-synthesis:none;
}

:root[data-theme=light] {
  color-scheme:light;
  --bg:#f5f5ef;
  --panel:#fffefa;
  --inset:#f4f3ed;
  --fg:#1d1c1d;
  --muted:#605e62;
  --quiet:#666569;
  --line:#ddded7;
  --strongline:#c8c8c1;
  --pink:#aa0056;
  --chart:#d70070;
  --limetext:#405219;
  --limebg:#e4edcd;
  --wash:#e8e7e3;
  --surface:#f8f8f3;
  --track:#e8e7e1;
  --key:#232124;
  --keytext:#f8f8f3;
}

* {
  box-sizing:border-box;
}

html {
  background:var(--bg);
  scroll-padding-top:15px;
}

body {
  margin:0;
  color:var(--fg);
  background:var(--bg);
  line-height:1.45;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

button,input,select {
  font:inherit;
}

button,a,select,input {
  -webkit-tap-highlight-color:transparent;
}

button,a,select {
  touch-action:manipulation;
}

button,a {
  color:inherit;
}

a {
  text-decoration:none;
}

button {
  cursor:pointer;
}

button {
  border:none;
  background:none;
}

button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible {
  outline:2px solid var(--chart);
  outline-offset:3px;
}

button:hover,a.btn:hover,.iconbtn:hover {
  filter:brightness(1.12);
}

button:active,a.btn:active {
  transform:translateY(1px);
}

h1,h2,h3,p {
  margin:0;
}

em {
  font:italic 1em Georgia,'Times New Roman',serif;
  letter-spacing:-.055em;
}

h1,h2,strong,b {
  font-weight:700;
}

h1 {
  font-size:clamp(40px,3.8vw,64px);
  letter-spacing:-.067em;
  line-height:1.05;
}

h1 em {
  margin-left:.015em;
}

h2 {
  font-size:25px;
  line-height:1.19;
  letter-spacing:-.052em;
}

.ico {
  flex:none;
  vertical-align:middle;
}

.skip {
  position:fixed;
  left:1rem;
  top:-120px;
  background:var(--key);
  color:var(--keytext);
  padding:10px;
  z-index:100;
}

.skip:focus {
  top:10px;
}

.mast {
  border-bottom:1px solid var(--line);
  padding:0 max(26px,3.5vw);
  background:var(--bg);
}

.mast-inner {
  margin:auto;
  max-width:var(--width);
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand,.head-actions,.nav,.page-actions,.btn,.iconbtn,.live,.demo,.inset-label,.eyebrow,.chip,.textlink,.tile-top,.goalcap,.wall-actions,.alertstatus {
  display:inline-flex;
  align-items:center;
}

.brand {
  gap:12px;
  flex:none;
}

.brand img {
  width:103px;
  height:auto;
}

.brand i {
  width:1px;
  height:23px;
  background:var(--strongline);
}

.brand strong {
  font-size:15px;
  font-weight:800;
  letter-spacing:.19em;
  font-style:italic;
}

.nav {
  gap:4px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:30px;
  padding:4px;
}

.nav a,.dock a {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-weight:650;
}

.nav a {
  padding:7px 15px;
  border-radius:24px;
  font-size:12px;
}

.nav a[aria-current] {
  background:var(--wash);
  box-shadow:0 1px 4px #0002;
  color:var(--fg);
}

.nav a[aria-current] .ico,.dock a[aria-current] .ico {
  color:var(--pink);
}

.head-actions,.wall-actions {
  gap:9px;
}

.demo,.live,.chip {
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  gap:7px;
  white-space:nowrap;
}

.demo {
  padding:6px 10px;
  background:var(--panel);
  border:1px solid var(--line);
  color:var(--muted);
}

.demo i,.live i,.eyebrow.date i,.record {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--lime);
  flex:none;
}

.demo i {
  background:var(--quiet);
}

.iconbtn {
  justify-content:center;
  flex:none;
  min-width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--panel);
  position:relative;
}

.unread:after {
  content:'';
  position:absolute;
  top:6px;
  right:7px;
  width:6px;
  height:6px;
  background:#ef398f;
  border-radius:50%;
  border:1px solid var(--panel);
}

.container,.footer,.wall {
  max-width:calc(var(--width) + max(52px,7vw));
  margin:auto;
  padding-left:max(26px,3.5vw);
  padding-right:max(26px,3.5vw);
}

.container {
  min-height:calc(100svh - 164px);
}

.page-title {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:33px 0 23px;
}

.eyebrow,.inset-label {
  font-family:var(--mono);
  font-size:10px;
  font-weight:500;
  letter-spacing:.115em;
  line-height:1.4;
  color:var(--muted);
}

.eyebrow.date {
  gap:8px;
  color:var(--muted);
  margin-bottom:9px;
}

.eyebrow.date i {
  background:#e80078;
}

.page-actions {
  gap:8px;
  padding-bottom:2px;
}

.btn {
  justify-content:center;
  gap:9px;
  border:1px solid var(--line);
  border-radius:11px;
  min-height:38px;
  padding:8px 13px;
  background:var(--panel);
  font-size:12px;
  font-weight:650;
}

.btn.tv {
  background:var(--key);
  color:var(--keytext);
  border-color:transparent;
}

.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1.76fr) minmax(0,1fr);
  gap:16px;
}

.card,.hero,.wallstrip,.ticker {
  border:1px solid var(--line);
  border-radius:var(--rad);
  background:var(--panel);
  min-width:0;
}

.card {
  padding:23px 25px;
}

.hero {
  background:#171419;
  color:#f8f8f3;
  min-height:313px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border-color:#3b3039;
}

.hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-3;
  background:radial-gradient(ellipse at 85% 49%,#492039 0,transparent 49%),linear-gradient(115deg,#1b191d,#211720 57%,#1e131c);
}

.hero:after {
  content:'';
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:radial-gradient(#e5a1c130 .7px,transparent 1px);
  background-size:13px 13px;
  mask-image:linear-gradient(105deg,transparent,#000 64%);
}

.mesh {
  position:absolute;
  z-index:-1;
  right:-5%;
  top:-9%;
  width:66%;
  height:112%;
  background:url('../assets/signal.webp') center/contain no-repeat;
  filter:drop-shadow(0 10px 10px #08020866);
  animation:breathe 9s ease-in-out infinite;
  pointer-events:none;
}

@keyframes breathe {
  50% {
    transform:translateY(-4px) rotate(1.2deg);
  }
}

.hero-copy {
  padding:26px 30px 14px;
  position:relative;
}

.inset-label {
  color:#f4b5d3;
  gap:8px;
  font-size:10px;
}

.record {
  background:#ff549e;
  box-shadow:0 0 8px #eb398d88;
}

.hero h2 {
  font-size:16px;
  letter-spacing:-.025em;
  font-weight:550;
  margin:23px 0 1px;
  color:#ebe8ec;
}

.hero-value {
  font-size:clamp(52px,5.2vw,84px);
  font-weight:650;
  line-height:1.06;
  letter-spacing:-.078em;
  font-variant-numeric:tabular-nums;
}

.hero-units {
  font:11px var(--mono);
  color:#c9c1c7;
  margin:7px 0 14px;
  letter-spacing:.025em;
}

.hero-units span {
  color:#8f7888;
}

.delta {
  display:flex;
  gap:8px;
  align-items:center;
}

.chip {
  background:var(--wash);
  color:var(--muted);
  padding:4px 8px;
  font-size:11px;
}

.chip.lime {
  background:var(--limebg);
  color:var(--limetext);
}

.hero .chip {
  color:#e3f3a8;
  background:#363d2d;
}

.hero-context {
  font-size:11px;
  color:#cac3c9;
}

.hero-foot {
  margin:0 29px;
  padding:11px 0 14px;
  border-top:1px solid #ffffff23;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#d4cad2;
  font:11px var(--mono);
}

.hero-foot span:first-child {
  display:flex;
  align-items:center;
  gap:7px;
  color:#ff9fc9;
}

.cardhead,.sheethead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.cardhead .eyebrow {
  margin-bottom:6px;
}

.live {
  padding:5px 9px;
  color:var(--limetext);
  background:var(--limebg);
  font-size:10px;
}

.live i {
  background:currentColor;
  animation:blink 3s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity:.45;
  }
}

.studio {
  display:flex;
  flex-direction:column;
}

.studio-list {
  margin:13px 0 8px;
}

.event {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  min-width:0;
}

.event:last-child {
  border-bottom:0;
}

.eventicon,.tile-icon,.notice-icon {
  width:35px;
  height:35px;
  border-radius:11px;
  display:inline-grid;
  place-items:center;
  flex:none;
}

.pink {
  color:#ff8bc3;
  background:#432536;
}

.sage {
  color:#d4e8ac;
  background:#30372a;
}

.purple {
  color:#c2b8fb;
  background:#322d40;
}

.blue {
  color:#accef2;
  background:#2a3340;
}

.orange {
  color:#ffc093;
  background:#3f3029;
}

[data-theme=light] .pink {
  color:#ab105b;
  background:#fae5ed;
}

[data-theme=light] .sage {
  color:#4c6021;
  background:#e6edda;
}

[data-theme=light] .purple {
  color:#65588c;
  background:#edeaf5;
}

[data-theme=light] .blue {
  color:#365e8b;
  background:#e5ecf5;
}

[data-theme=light] .orange {
  color:#885224;
  background:#f4e7dc;
}

.event-copy {
  min-width:0;
  flex:1;
}

.event-copy strong,.event-copy small,.tile strong,.tile small,.detailval,.device-card small,.choice small {
  display:block;
}

.event-copy strong {
  font-size:13px;
  letter-spacing:-.015em;
}

.event-copy small,.tile small,.event time,.fine,.goalunit {
  color:var(--muted);
  font-size:11px;
}

.event time {
  font-family:var(--mono);
  font-size:10px;
  white-space:nowrap;
}

.textlink {
  gap:8px;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:11px;
  margin-top:auto;
  font-size:12px;
  font-weight:650;
}

.textlink .ico {
  color:var(--pink);
}

.tiles {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.tile {
  text-align:left;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:18px 21px 19px;
  transition:border-color .15s;
}

.tile:hover {
  border-color:var(--strongline);
}

.tile-top {
  justify-content:space-between;
  width:100%;
  color:var(--quiet);
  margin-bottom:12px;
}

.tile-icon {
  width:31px;
  height:31px;
  border-radius:9px;
}

.tile-label {
  font-size:12px;
  font-weight:550;
  color:var(--muted);
}

.tile strong {
  font-size:clamp(28px,2.45vw,39px);
  letter-spacing:-.065em;
  line-height:1.2;
  margin:3px 0;
}

.tile small {
  margin-top:2px;
}

.plot-summary {
  display:flex;
  align-items:baseline;
  gap:9px;
  margin:17px 0 11px;
}

.plot-summary>span {
  font-size:23px;
  font-weight:700;
  letter-spacing:-.05em;
}

.plot-summary small,.axis,.axisdates {
  color:var(--muted);
  font:10px var(--mono);
}

.segments,.filters,.sheet-tabs {
  display:inline-flex;
  align-items:center;
  gap:3px;
}

.segments {
  margin-left:auto;
  align-self:center;
}

.segments button,.filters button,.sheet-tabs button {
  border-radius:7px;
  color:var(--muted);
  min-height:29px;
  padding:4px 9px;
  font-size:11px;
  font-weight:600;
}

.segments button[aria-pressed=true],.filters button[aria-pressed=true],.sheet-tabs button[aria-pressed=true] {
  background:var(--wash);
  color:var(--fg);
}

.select-wrap {
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  position:relative;
}

.select-wrap select {
  appearance:none;
  padding:7px 24px 7px 10px;
  color:var(--fg);
  background:transparent;
  border:0;
  font-size:11px;
  font-weight:650;
  cursor:pointer;
}

.select-wrap .ico {
  position:absolute;
  right:7px;
  pointer-events:none;
}

option {
  background:var(--panel);
  color:var(--fg);
}

.chartbox {
  display:flex;
  height:105px;
  gap:10px;
}

.axis {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-width:47px;
  padding:1px 0;
  text-align:right;
}

.plot {
  flex:1;
  position:relative;
  min-width:0;
}

.plot>svg {
  display:block;
  height:100%;
  width:100%;
  overflow:visible;
}

.scrubber {
  opacity:0;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:crosshair;
}

.plot:focus-within {
  outline:1px solid var(--chart);
}

.axisdates {
  display:flex;
  justify-content:space-between;
  margin:8px 0 0 57px;
}

.planbar {
  display:flex;
  height:16px;
  gap:3px;
  border-radius:5px;
  overflow:hidden;
  margin:24px 0 18px;
}

.free {
  background:#87838c;
}

.pro {
  background:#e3f3a8;
}

.plus {
  background:#ed3d91;
}

.planbar i[style="flex:0"] {
  display:none;
}

.planlist>div,.walletkey>div {
  display:flex;
  align-items:center;
  gap:12px;
}

.planlist>div {
  padding:8px 0;
  border-top:1px solid var(--line);
}

.planlist small,.walletkey {
  color:var(--muted);
  font-size:12px;
}

.planlist b,.walletkey b {
  margin-left:auto;
  color:var(--fg);
  font-size:14px;
}

.planname {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:650;
  min-width:57px;
}

.planname i,.walletkey i {
  width:8px;
  height:8px;
  border-radius:2px;
}

.goalstats {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:22px 0 12px;
}

.goalstats strong {
  font-size:29px;
  letter-spacing:-.06em;
}

.goalstats small,.wall-goal p,.laboratory p,dialog p {
  font-size:13px;
  color:var(--muted);
}

.goalstats b {
  margin-left:auto;
  color:var(--limetext);
  font:13px var(--mono);
}

.track {
  height:10px;
  background:repeating-linear-gradient(120deg,var(--inset),var(--inset) 4px,var(--track) 4px,var(--track) 5px);
  border-radius:5px;
  overflow:hidden;
}

.track i {
  display:block;
  height:100%;
  background:var(--lime);
  border-radius:5px;
}

[data-theme=light] .track i {
  background:#98b555;
}

.walletbody {
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:14px;
}

.ring {
  width:76px;
  height:76px;
  flex:none;
  border-radius:50%;
  background:conic-gradient(#e3f3a8 var(--split),#ed3d91 0);
  padding:7px;
}

.ring>span {
  border-radius:50%;
  background:var(--panel);
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  letter-spacing:-.05em;
}

.ring small {
  font-size:10px;
  color:var(--muted);
  font-weight:450;
  letter-spacing:0;
}

.walletkey {
  flex:1;
}

.walletkey>div {
  gap:7px;
  margin:7px 0;
}

.walletkey b {
  font-size:12px;
}

.footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font:10px var(--mono);
  color:var(--quiet);
  padding-top:26px;
  padding-bottom:25px;
}

.footer span:first-child {
  display:flex;
  align-items:center;
  gap:7px;
}

.dock {
  display:none;
}

.goals-grid,.activity-grid {
  display:grid;
  gap:16px;
  align-items:start;
}

.goals-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.activity-grid {
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
}

.goalcap {
  justify-content:space-between;
  width:100%;
  margin-bottom:25px;
}

.goalfull .btn {
  margin-top:25px;
}

.goalunit {
  display:block;
  margin-top:8px;
}

.filters,.sheet-tabs {
  margin:18px 0 10px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:10px;
  max-width:100%;
}

.timeline .event {
  padding:13px 0;
}

.laboratory p,dialog p {
  margin:14px 0 20px;
  line-height:1.65;
}

.laboratory label,dialog label {
  display:block;
  margin:12px 0 7px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}

.laboratory select,dialog input {
  width:100%;
  padding:11px;
  border:1px solid var(--strongline);
  font-size:16px;
  color:var(--fg);
  background:var(--inset);
  border-radius:9px;
}

.accent {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  background:#d30470;
  color:white;
  border-radius:10px;
  padding:12px 16px;
  margin-top:14px;
  font-weight:700;
  font-size:14px;
}

.rule {
  border-top:1px solid var(--line);
  margin:22px 0 8px;
}

.switchrow,.choice {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  text-align:left;
}

.switchrow {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  min-height:47px;
  font-size:13px;
}

.switchrow:last-child {
  border-bottom:0;
}

.switch {
  width:34px;
  height:20px;
  flex:none;
  border-radius:12px;
  background:var(--track);
  padding:3px;
}

.switch b {
  display:block;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--muted);
  transition:transform .18s;
}

.switchrow[aria-checked=true] .switch {
  background:var(--lime);
}

.switchrow[aria-checked=true] .switch b {
  background:#303528;
  transform:translateX(14px);
}

dialog {
  width:min(460px,calc(100% - 28px));
  max-height:85vh;
  max-height:85dvh;
  overflow:auto;
  overscroll-behavior:contain;
  padding:25px;
  border:1px solid var(--strongline);
  border-radius:22px;
  background:var(--panel);
  color:var(--fg);
  box-shadow:0 25px 100px #0005;
}

dialog::backdrop {
  background:#09080cc9;
  backdrop-filter:blur(5px);
}

body:has(dialog[open]) {
  overflow:hidden;
}

.sheethead {
  margin-bottom:10px;
}

.sheet-tabs {
  display:flex;
}

.sheet-tabs button {
  flex:1;
}

.alertstatus {
  gap:8px;
  margin:8px 0;
}

.alertstatus small,.device-card small,.choice small {
  color:var(--muted);
  font-size:11px;
}

.device-card {
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--inset);
  padding:16px;
  border-radius:13px;
  margin:15px 0 5px;
}

.device-card small {
  margin-top:4px;
}

.device-card img,.homescreen img {
  border-radius:22%;
}

dialog h3 {
  font-size:16px;
  margin:18px 0 12px;
}

.install {
  display:flex;
  align-items:center;
  gap:12px;
  margin:12px 0;
  font-size:13px;
}

.install .ico {
  color:var(--pink);
}

.homescreen {
  border-radius:13px;
  background:radial-gradient(at 80% 20%,#a05176,transparent 58%),linear-gradient(38deg,#312c41,#602642);
  padding:18px 25px;
  text-align:left;
  color:white;
}

.homescreen span {
  display:block;
  width:48px;
  text-align:center;
  font-size:10px;
}

.fine {
  margin:6px 0 0;
}

.choice {
  border:1px solid var(--line);
  padding:15px;
  border-radius:11px;
  margin:8px 0;
  background:var(--inset);
}

.choice strong {
  font-size:14px;
}

.choice small {
  margin-top:3px;
}

.detailval {
  font-size:clamp(40px,7vw,60px);
  letter-spacing:-.065em;
  font-weight:650;
  margin-top:20px;
}

.detailval+b {
  font-size:13px;
}

.empty {
  font-size:13px;
  color:var(--muted);
  padding:15px 0;
}

.wall {
  padding-top:22px;
  padding-bottom:20px;
  max-width:1900px;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.wall header,.walltitle,.wallstrip,.ticker {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.wall header {
  border-bottom:1px solid var(--line);
  padding-bottom:15px;
}

.walltitle {
  margin:clamp(14px,3vh,30px) 0;
}

.walltitle h1 {
  font-size:clamp(26px,3.7vw,70px);
}

.walltitle>span {
  font:clamp(22px,2.7vw,42px) var(--mono);
  letter-spacing:-.07em;
}

.walltitle small {
  font-size:11px;
  letter-spacing:0;
  color:var(--muted);
}

.wall-grid {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:16px;
}

.wall .hero {
  min-height:clamp(235px,34vh,480px);
}

.wall .hero-value {
  font-size:clamp(52px,6vw,120px);
}

.wall .hero h2 {
  font-size:clamp(15px,1.45vw,29px);
}

.wall .hero-copy {
  padding:clamp(20px,2vw,46px);
}

.wall-goal {
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.wall-goal h2 {
  font-size:clamp(24px,2.8vw,50px);
}

.wall-goal .goalstats strong {
  font-size:clamp(35px,4vw,76px);
}

.wall-goal p {
  margin-top:22px;
}

.wallstrip {
  margin:16px 0;
  padding:20px 10px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}

.wallstrip>div {
  padding:0 clamp(12px,2vw,38px);
  border-left:1px solid var(--line);
}

.wallstrip>div:first-child {
  border-left:0;
}

.wallstrip small {
  font-size:clamp(12px,1.1vw,22px);
  color:var(--muted);
}

.wallstrip strong {
  display:block;
  font-size:clamp(25px,3.2vw,66px);
  letter-spacing:-.055em;
}

.ticker {
  justify-content:flex-start;
  padding:14px 20px;
}

.ticker strong {
  font-size:clamp(15px,1.4vw,26px);
}

.ticker>span:last-child {
  font-size:clamp(13px,1.1vw,22px);
  color:var(--muted);
}

#notice {
  pointer-events:none;
  position:fixed;
  bottom:28px;
  left:50%;
  z-index:5;
  transform:translate(-50%,10px);
  display:flex;
  align-items:center;
  gap:12px;
  max-width:calc(100vw - 32px);
  padding:13px 20px 13px 12px;
  border:1px solid var(--strongline);
  background:var(--inset);
  box-shadow:0 8px 42px #0004;
  border-radius:15px;
  opacity:0;
  transition:opacity .18s,transform .18s;
}

#notice.visible {
  opacity:1;
  transform:translate(-50%,0);
}

#notice strong,#notice small {
  display:block;
}

#notice strong {
  font-size:13px;
}

#notice small {
  font-size:11px;
  margin-top:2px;
  color:var(--muted);
}

.notice-icon {
  color:var(--limetext);
  background:var(--limebg);
}

#notice.celebration {
  border-color:#a84d77;
  background:linear-gradient(110deg,var(--panel) 55%,var(--wash));
  box-shadow:0 6px 48px #e8007833;
}

#notice.celebration .notice-icon {
  color:#ff9aca;
  background:#432536;
  animation:pop .6s ease-out;
}

@keyframes pop {
  40% {
    transform:rotate(13deg) scale(1.22);
  }
}

@media(min-width:1600px) {
  .hero {
    min-height:345px;
  }
  .hero-copy {
    padding:30px 35px;
  }
  .card {
    padding:26px 28px;
  }
  .tile {
    padding:19px 23px;
  }
  .event {
    padding:14px 0;
  }
  .hero h2 {
    margin-top:28px;
  }
}

@media(max-width:1030px) {
  .mast,.container,.footer,.wall {
    padding-left:24px;
    padding-right:24px;
  }
  .overview-grid {
    grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  }
  .card {
    padding:19px;
  }
  .tile {
    padding:17px;
  }
  .hero-copy {
    padding:23px;
  }
  .hero-foot {
    margin:0 23px;
  }
  .mesh {
    right:-9%;
    width:64%;
  }
  .nav a {
    padding:7px 10px;
  }
  .goals-grid {
    gap:10px;
  }
  .goalstats {
    flex-wrap:wrap;
  }
  .wall-goal .goalstats {
    gap:6px;
  }
  .walletbody {
    gap:12px;
  }
  .tile-label {
    font-size:11px;
  }
}

@media(max-width:760px) {
  :root {
    --rad:17px;
  }
  .mast,.container,.footer,.wall {
    padding-left:18px;
    padding-right:18px;
  }
  .mast-inner {
    height:61px;
  }
  .brand {
    gap:8px;
  }
  .brand img {
    width:86px;
  }
  .brand strong {
    font-size:12px;
  }
  .brand i {
    height:19px;
  }
  .nav {
    display:none;
  }
  .head-actions {
    gap:6px;
  }
  .head-actions .demo {
    font-size:9px;
    background:transparent;
    border:0;
    padding:3px;
  }
  .iconbtn {
    min-width:34px;
    height:34px;
  }
  .dock {
    position:fixed;
    z-index:3;
    left:0;
    right:0;
    bottom:0;
    background:var(--bg);
    background:color-mix(in srgb,var(--bg) 92%,transparent);
    backdrop-filter:blur(16px);
    border-top:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-around;
    padding:5px 10px calc(5px + env(safe-area-inset-bottom));
  }
  .dock a {
    flex:1;
    min-height:45px;
    font-size:10px;
    flex-direction:column;
    justify-content:center;
    gap:3px;
  }
  .dock .ico {
    width:18px;
    height:18px;
  }
  .dock a[aria-current] {
    color:var(--fg);
  }
  .footer {
    padding-bottom:calc(80px + env(safe-area-inset-bottom));
    font-size:9px;
  }
  .page-title {
    margin:21px 0 17px;
    align-items:center;
    gap:8px;
  }
  .page-title h1 {
    font-size:clamp(28px,5.9vw,43px);
  }
  .eyebrow.date {
    font-size:9px;
    margin-bottom:6px;
  }
  .btn.tv {
    display:none;
  }
  .btn.scenario {
    gap:5px;
    font-size:11px;
    padding:7px 8px;
    min-height:34px;
  }
  .page-actions {
    padding:0;
  }
  .overview-grid {
    grid-template-columns:1fr;
    gap:12px;
  }
  .hero {
    grid-row:1;
    min-height:259px;
  }
  .hero-copy {
    padding:22px 22px 16px;
  }
  .hero h2 {
    font-size:14px;
    margin-top:17px;
  }
  .hero-value {
    font-size:clamp(49px,9vw,72px);
  }
  .hero-foot {
    margin:0 22px;
    padding:10px 0 12px;
    font-size:10px;
  }
  .mesh {
    width:59%;
    right:-7%;
    top:-4%;
    height:105%;
  }
  .hero-context {
    font-size:10px;
  }
  .hero-units {
    font-size:10px;
    margin:5px 0 13px;
  }
  .inset-label {
    font-size:9px;
  }
  .tiles {
    grid-row:2;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .tile {
    padding:15px;
  }
  .tile-top {
    margin-bottom:9px;
  }
  .tile strong {
    font-size:29px;
  }
  .tile small {
    font-size:10px;
  }
  .history {
    grid-row:3;
  }
  .studio {
    grid-row:4;
  }
  .studio-list {
    margin-top:10px;
  }
  .card:not(.tile) {
    padding:20px;
  }
  .goals-grid,.activity-grid {
    grid-template-columns:1fr;
    gap:12px;
  }
  .activity-grid .laboratory {
    grid-row:1;
  }
  .goalfull .goalcap {
    margin-bottom:15px;
  }
  .goalstats {
    flex-wrap:nowrap;
  }
  .walletbody {
    gap:22px;
  }
  .walletkey {
    max-width:360px;
  }
  .wall-grid {
    grid-template-columns:1fr;
  }
  .wall-grid .wall-goal {
    padding:16px;
  }
  .wall-goal .goalstats {
    margin:10px 0;
  }
  .wall-goal p {
    margin-top:10px;
  }
  .wall header {
    gap:4px;
  }
  .wall .hero {
    min-height:230px;
  }
  .wallstrip {
    grid-template-columns:1fr 1fr;
    row-gap:15px;
  }
  .wallstrip>div:nth-child(3) {
    border:0;
  }
  .ticker {
    flex-wrap:wrap;
    gap:7px 12px;
  }
  .walltitle small {
    display:block;
    font-size:9px;
    text-align:right;
  }
  .walltitle {
    margin:15px 0;
  }
  .walltitle h1 {
    font-size:34px;
  }
  #notice {
    bottom:calc(70px + env(safe-area-inset-bottom));
    min-width:min(330px,calc(100vw - 32px));
  }
  .wall~#notice {
    bottom:18px;
  }
  .wall-actions {
    gap:5px;
  }
}

@media(max-width:430px) {
  .mast,.container,.footer,.wall {
    padding-left:14px;
    padding-right:14px;
  }
  .hero {
    min-height:242px;
  }
  .hero-copy {
    padding:20px 17px 14px;
  }
  .hero-foot {
    margin:0 17px;
  }
  .hero h2 {
    font-size:13px;
  }
  .hero-value {
    font-size:49px;
  }
  .mesh {
    width:63%;
    right:-11%;
    top:-4%;
  }
  .delta {
    gap:5px;
  }
  .page-title {
    align-items:flex-end;
  }
  .btn.scenario .ico:first-child {
    display:none;
  }
  .page-title h1 {
    font-size:29px;
  }
  .hero .chip {
    font-size:10px;
  }
  .footer span:last-child {
    font-size:8px;
  }
  dialog {
    margin:auto auto 0;
    width:100%;
    max-width:100%;
    max-height:90dvh;
    border-radius:22px 22px 0 0;
    padding-bottom:calc(22px + env(safe-area-inset-bottom));
  }
  .wall .demo {
    font-size:9px;
    padding:4px 6px;
  }
  .brand img {
    width:81px;
  }
  .brand strong {
    font-size:11px;
  }
  .plot-summary {
    gap:6px;
  }
  .tile {
    padding:14px;
  }
  .tile-label {
    font-size:11px;
  }
}

@media(max-width:355px) {
  .head-actions .demo {
    font-size:8px;
    gap:3px;
  }
  .head-actions {
    gap:3px;
  }
  .brand {
    gap:5px;
  }
  .page-title h1 {
    font-size:25px;
  }
  .hero-value {
    font-size:44px;
  }
  .hero-copy {
    padding-left:15px;
  }
  .plot-summary>span {
    font-size:20px;
  }
  .segments button {
    padding:4px 6px;
  }
  .goalstats strong {
    font-size:24px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}


/* Verified laboratory states */
.pulse-status{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .65rem;margin-top:.55rem}
.pulse-status small{color:var(--muted);font-size:.73rem}
.pulse-status .live i,.demo i{animation:none}
.pulse-status[data-freshness=stale] .live{background:#d9a24d24;color:#d9a24d}
.pulse-status[data-freshness=unavailable] .live{background:var(--wash);color:var(--muted)}
.pulse-status[data-freshness=stale] .live i{background:#d9a24d}
.pulse-status[data-freshness=unavailable] .live i{background:var(--muted)}
.missing{font-size:clamp(.85rem,1.65vw,1.25rem)!important;letter-spacing:0!important}
.hero-value .missing{font-size:clamp(1.4rem,4vw,3.4rem)!important}
.ring.ring-empty{background:var(--line)}
.auth{padding-block:4rem}
.auth .card{max-width:30rem;margin-inline:auto}
.auth form{display:grid;gap:.6rem}
.auth input{background:var(--panel);border:1px solid var(--line);color:inherit;padding:.75rem;border-radius:.5rem;min-width:0}
.ticker .event{padding:0;border:0;width:auto;flex:1}
.ticker .empty{margin:0}
@media(max-width:480px){
  .mast .demo,.wall .demo{font-size:.61rem;white-space:nowrap}
  .lab-detail{display:none}
  .mast .head-actions{gap:.25rem}
  .mast .head-actions .iconbtn{min-width:31px;width:31px;height:31px}
}

/* Directed completion: wallet text centering and existing notification sheet. */
.ring>span{width:100%;min-width:0;text-align:center;line-height:1.15}
.ring small{display:block;text-align:center;line-height:1.15}
.mobile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.mobile-option{display:flex;align-items:center;gap:10px;margin:12px 0;min-height:44px}
.mobile-option input{width:20px;height:20px;margin:0}
.mobile-devices>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}
#mobile-goals{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
#mobile-goals label,#session-form label{display:block;margin:12px 0}
#session-form input{font-size:16px}
