/* YODEZEEN space — PoC simulation styles */
:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #EEEBE5;
  --surface-3: #E6E2DA;
  --ink: #1B1A17;
  --ink-2: #57534B;
  --ink-3: #8C867B;
  --line: #E2DDD4;
  --accent: #8A6A40;
  --accent-ink: #FFFFFF;
  --accent-soft: #F1E9DC;
  --ok: #4D7A5A;
  --ok-soft: #E4EEE5;
  --warn: #A97A1F;
  --warn-soft: #F6ECD6;
  --risk: #B0503A;
  --risk-soft: #F6E2DC;
  --info: #4A6886;
  --info-soft: #E2E9F0;
  --shadow: 0 1px 2px rgba(27, 26, 23, .04), 0 8px 24px rgba(27, 26, 23, .06);
  --shadow-lg: 0 24px 64px rgba(27, 26, 23, .18);
  --scrim: rgba(20, 19, 17, .42);
  --radius: 14px;
  --radius-sm: 9px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11110F; --surface: #191816; --surface-2: #211F1C; --surface-3: #2A2824;
    --ink: #EEEAE2; --ink-2: #B5AFA3; --ink-3: #7D776C; --line: #2D2B27;
    --accent: #CBA673; --accent-ink: #17140F; --accent-soft: #2B241A;
    --ok: #82B08C; --ok-soft: #1D2A20; --warn: #DDB25C; --warn-soft: #2E2616;
    --risk: #E07F67; --risk-soft: #34201B; --info: #8EAACB; --info-soft: #1C2530;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 24px 64px rgba(0,0,0,.55); --scrim: rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11110F; --surface: #191816; --surface-2: #211F1C; --surface-3: #2A2824;
  --ink: #EEEAE2; --ink-2: #B5AFA3; --ink-3: #7D776C; --line: #2D2B27;
  --accent: #CBA673; --accent-ink: #17140F; --accent-soft: #2B241A;
  --ok: #82B08C; --ok-soft: #1D2A20; --warn: #DDB25C; --warn-soft: #2E2616;
  --risk: #E07F67; --risk-soft: #34201B; --info: #8EAACB; --info-soft: #1C2530;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.55); --scrim: rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11", "tnum";
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 12px; }
.tnum { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.hide { display: none !important; }
.ico { width: 16px; height: 16px; flex: none; }

/* ---------- Shell ---------- */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; padding: 24px 16px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px; background: var(--bg);
}
.brand { padding: 0 10px; }
.brand .word { font-family: var(--serif); font-size: 23px; letter-spacing: .22em; font-weight: 600; }
.brand .sub { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border: 0; background: none;
  border-radius: var(--radius-sm); color: var(--ink-2); text-align: left; font-size: 13.5px;
}
.nav button:hover { background: var(--surface-2); color: var(--ink); }
.nav button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.nav .ico { width: 18px; height: 18px; flex: none; opacity: .85; }
.nav .badge { margin-left: auto; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 0 6px; }
.me { display: flex; gap: 10px; align-items: center; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 14px 32px; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.top .title { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top .title b { color: var(--ink); font-weight: 600; }
.content { padding: 32px; max-width: 1240px; width: 100%; margin: 0 auto; }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.select {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 7px 30px 7px 12px; border-radius: 999px; font: inherit; font-size: 13px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.iconbtn {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; color: var(--ink-2); flex: none;
}
.iconbtn:hover { color: var(--ink); }
.iconbtn svg { width: 16px; height: 16px; }

/* status pill + timer chip */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot.warn { background: var(--warn); }
.dot.risk { background: var(--risk); }
.dot.info { background: var(--info); }
.dot.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.timer-chip { background: var(--ink); color: var(--bg); border-color: var(--ink); cursor: pointer; }
.timer-chip .t { font-variant-numeric: tabular-nums; font-weight: 600; }
.demo-time { font-size: 11px; color: var(--ink-3); white-space: nowrap; }

/* ---------- Typography blocks ---------- */
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
h1.hero { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.05; margin: 6px 0 4px; letter-spacing: -.015em; }
h2.sec { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; letter-spacing: -.01em; }
h3 { font-size: 14px; font-weight: 600; margin: 0; }
.lede { color: var(--ink-2); font-size: 15px; max-width: 640px; }

/* ---------- Cards & grid ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.card.tint { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.section { margin-top: 34px; }
.section > .spread { margin-bottom: 14px; }

.kpi .v { font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.kpi .l { color: var(--ink-3); font-size: 12px; }
.kpi .d { font-size: 12px; margin-top: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line);
  background: var(--surface); padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { opacity: .9; }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { border-color: transparent; background: none; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { padding: 5px 11px; font-size: 12px; }
.btn.lg { padding: 12px 22px; font-size: 14.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 15px; height: 15px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.risk { background: var(--risk-soft); color: var(--risk); }
.tag.info { background: var(--info-soft); color: var(--info); }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.code {
  font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; font-size: 12px; background: var(--surface); cursor: pointer;
}
.code:hover { border-color: var(--accent); color: var(--accent); }
.badge { min-width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; display: inline-grid; place-items: center; padding: 0 5px; }

.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600;
  background: var(--surface-3); color: var(--ink-2); flex: none; letter-spacing: .03em;
}
.avatar.lg { width: 40px; height: 40px; font-size: 13px; }

/* bars */
.bar { position: relative; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: visible; }
.bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--ink-2); transition: width .6s ease; }
.bar > i.ok { background: var(--ok); } .bar > i.warn { background: var(--warn); } .bar > i.risk { background: var(--risk); } .bar > i.accent { background: var(--accent); } .bar > i.info { background: var(--info); }
.bar .mark { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--ink-3); opacity: .5; }
.bar .mark span { position: absolute; top: -16px; left: -10px; font-size: 9.5px; color: var(--ink-3); width: 20px; text-align: center; }
.bar.thin { height: 5px; }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 11.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td b { white-space: nowrap; }
table.t td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--surface-2); }
table.t .num { text-align: right; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }

input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 0; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
.switch.on { background: var(--ok); }
.switch.on::after { left: 19px; }

.privacy {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--info-soft); color: var(--ink); font-size: 13px;
}
.privacy svg { width: 18px; height: 18px; color: var(--info); flex: none; margin-top: 1px; }

/* ---------- Today ---------- */
.assistant { position: relative; overflow: hidden; }
.assistant .orb { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #F2D9AE, var(--accent) 60%, #4E3A22); flex: none; box-shadow: 0 0 0 5px var(--accent-soft); }
.assistant ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.assistant li { display: flex; gap: 10px; align-items: baseline; }
.assistant li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }

.quest { display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, border-color .2s; }
.quest.active { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft), var(--shadow); }
.quest.urgent { border-color: var(--warn); }
.quest.done { opacity: .62; }
.quest .qt { font-size: 16px; font-weight: 600; line-height: 1.3; }
.quest.done .qt { text-decoration: line-through; text-decoration-color: var(--ink-3); }
.quest .links { display: flex; flex-wrap: wrap; gap: 6px; }
.quest .links button { border: 1px dashed var(--line); background: none; border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--ink-2); }
.quest .links button:hover { border-color: var(--accent); color: var(--accent); }
.ring { width: 44px; height: 44px; flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: var(--surface-2); }
.ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .6s; transform: rotate(-90deg); transform-origin: 50% 50%; }
.quest.done .ring .fg { stroke: var(--ok); }

.seglist { display: flex; flex-direction: column; gap: 8px; }
.seglist .s { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.seglist .s .when { color: var(--ink-3); font-variant-numeric: tabular-nums; width: 96px; flex: none; }

/* ---------- Tracker feed ---------- */
.feed { display: flex; flex-direction: column; }
.feed .it { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.feed .it:last-child { border-bottom: 0; }
.feed .appn { font-weight: 600; }
.feed .arrow { color: var(--ink-3); margin: 0 6px; }
.ask { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Render ---------- */
.cams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cam { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--surface); position: relative; }
.cam.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cam .art { aspect-ratio: 16/10; display: block; }
.cam .cn { padding: 7px 9px; font-size: 11.5px; display: flex; justify-content: space-between; gap: 6px; }
.cam .chk { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 12px; box-shadow: var(--shadow); }
.cam.on .chk { background: var(--accent); color: var(--accent-ink); }
.machines { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.machine { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; background: var(--surface); font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.machine .id { font-weight: 600; font-size: 12.5px; letter-spacing: .02em; }
.machine.rendering { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Art ---------- */
.art svg, svg.art { width: 100%; height: 100%; display: block; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.gallery .shot { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/10; cursor: crosshair; background: var(--surface-2); }
.gallery .shot > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery .shot.main { grid-row: span 2; aspect-ratio: auto; min-height: 320px; }
.pin { position: absolute; transform: translate(-50%, -100%); background: var(--ink); color: var(--bg); font-size: 11.5px; padding: 5px 9px; border-radius: 10px 10px 10px 2px; white-space: nowrap; box-shadow: var(--shadow-lg); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.4); letter-spacing: .04em; }

/* ---------- Stages timeline ---------- */
.stages { display: flex; gap: 4px; }
.stages .st { flex: 1; min-width: 0; }
.stages .st i { display: block; height: 4px; border-radius: 999px; background: var(--surface-3); }
.stages .st.done i { background: var(--ink-2); }
.stages .st.now i { background: var(--accent); }
.stages .st span { display: block; font-size: 10.5px; margin-top: 7px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stages .st.now span { color: var(--ink); font-weight: 600; }

/* ---------- Drawer & modal ---------- */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 60; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); z-index: 61;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .25s ease;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer .dh { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer .db { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer .df { padding: 14px 20px; border-top: 1px solid var(--line); }
.msg { display: flex; gap: 10px; }
.msg .bubble { background: var(--surface-2); border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 13px; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine .bubble { background: var(--accent-soft); border-radius: 14px 4px 14px 14px; }
.msg.mention .bubble { box-shadow: inset 3px 0 0 var(--accent); }
.msg .meta { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.msg .lnk { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--accent); border: 1px solid var(--line); background: var(--surface); padding: 3px 9px; border-radius: 999px; }
.composer { display: flex; gap: 8px; }
.composer input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: inherit; }
.mention-tok { color: var(--accent); font-weight: 600; }

.modal-wrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.modal {
  position: relative; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); width: min(760px, 100%);
  max-height: calc(100vh - 40px); overflow-y: auto; animation: rise .28s ease; z-index: 71;
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.modal .mh { padding: 26px 30px 6px; }
.modal .mb { padding: 14px 30px 20px; }
.modal .mf { padding: 16px 30px 24px; display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }

/* tour */
.tour { width: min(880px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.tour .vis { background: var(--surface-2); min-height: 440px; position: relative; overflow: hidden; }
.tour .txt { padding: 40px 38px 30px; display: flex; flex-direction: column; gap: 14px; }
.tour h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.tour p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.tour ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.tour .steps { display: flex; gap: 6px; margin-top: auto; padding-top: 18px; }
.tour .steps i { flex: 1; height: 3px; border-radius: 999px; background: var(--surface-3); }
.tour .steps i.on { background: var(--accent); }
.chaos { position: absolute; inset: 0; }
.chaos span { position: absolute; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); box-shadow: var(--shadow); white-space: nowrap; animation: drift 6s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(8px, -10px) rotate(1.5deg); } }
.vis-center { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; }

/* lock (Face ID) */
.lock { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: grid; place-items: center; text-align: center; padding: 24px; animation: fade .3s; }
.lock .face { width: 120px; height: 120px; margin: 26px auto; position: relative; cursor: pointer; }
.lock .face svg { width: 100%; height: 100%; color: var(--ink-2); }
.lock .face.scan svg { color: var(--ok); }
.lock .face .beam { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--ok); top: 10%; opacity: 0; box-shadow: 0 0 12px var(--ok); }
.lock .face.scan .beam { animation: beam .9s ease-in-out 2; opacity: 1; }
@keyframes beam { 50% { top: 88%; } }

/* toasts */
.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100% - 32px)); }
@media (min-width: 781px) { .toasts.beside-chat { right: 422px; } }
.toast { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; gap: 12px; animation: rise .3s ease; font-size: 13px; }
.toast .tt { font-weight: 600; margin-bottom: 2px; }
.toast .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* scenario launcher */
.scen { position: relative; }
.scen-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 40; }
.scen-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--radius-sm); }
.scen-menu button:hover { background: var(--surface-2); }
.scen-menu .d { font-size: 12px; color: var(--ink-3); }

.empty { padding: 26px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -10px; width: 7px; height: 11px; border-radius: 2px; animation: fall 1.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg); opacity: .2; } }

.bottomnav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .cams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .top { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
  .top .title { display: none; }
  .top { justify-content: flex-end; }
  .top .select { padding-left: 10px; }
  .content { padding: 20px 16px 96px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1.hero { font-size: 34px; }
  .tour { grid-template-columns: 1fr; }
  .tour .vis { min-height: 200px; }
  .tour .txt { padding: 26px 22px 22px; }
  .tour h2 { font-size: 27px; }
  .modal .mh, .modal .mb, .modal .mf { padding-left: 20px; padding-right: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .shot.main { min-height: 220px; aspect-ratio: 16/10; }
  .feed .it { grid-template-columns: 1fr; gap: 4px; }
  .bottomnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface);
    border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around;
  }
  .bottomnav button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: var(--ink-3); padding: 4px 6px; min-width: 0; flex: 1; }
  .bottomnav button.on { color: var(--ink); }
  .bottomnav svg { width: 20px; height: 20px; }
  .hide-m { display: none !important; }
  .toasts { right: 16px; bottom: 80px; }
  .scen-menu { position: fixed; left: 16px; right: 16px; top: 64px; width: auto; }
  table.t td, table.t th { padding: 9px 6px; }
}
@media (min-width: 781px) { .only-m { display: none !important; } }
.kpi .btn { white-space: normal; text-align: left; max-width: 100%; }

/* ---------- module registry UI ---------- */
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-sec { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 4px; }
.nav .nav-toggle { margin-top: 8px; color: var(--ink-3); }
.nav-soon { display: flex; flex-direction: column; gap: 1px; }
.nav-soon button { font-size: 12.5px; padding: 6px 10px; }
.side { overflow-y: auto; }
.soon-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); flex: none; }
.soon-dot.partial { background: var(--info); }
.doclink { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--surface); }
.doclink:hover { border-color: var(--accent); }
.doclink .ico { width: 13px; height: 13px; }
code { font-size: 12px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }

/* ---------- logo (original wordmark) ---------- */
.logo { display: inline-flex; align-items: center; color: var(--ink); cursor: pointer; line-height: 0; border-radius: 6px; transition: background .2s, color .2s; }
.logo svg { height: 15px; width: auto; display: block; }
.logo.inv { background: var(--ink); color: var(--bg); padding: 9px 11px; }
.side .brand { padding: 4px 10px 0; }
.lock-brand .logo svg { height: 22px; }
.lock-brand { display: flex; justify-content: center; }
.top-logo { display: flex; align-items: center; }
.top-logo .logo svg { height: 12px; }
.top-logo .logo.inv { padding: 7px 9px; }
.iconbtn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.model { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mnode { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--surface); }
.mnode .ico { color: var(--accent); }
.mx { color: var(--ink-3); }
table.reg td .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--ink-3); }
@media (max-width: 1180px) and (min-width: 781px) {
  .top .title { display: none; }
  .top { justify-content: flex-end; }
}
@media (max-width: 780px) {
  .top { flex-wrap: nowrap; }
  .top .iconbtn[data-a="logo-invert"], .top [data-a="lang-sel"], .top .iconbtn[data-a="theme"] { display: none; }
  .top { justify-content: flex-start !important; gap: 6px; }
  .top > * { flex-shrink: 0; }
  .top > .top-logo { flex: 1 1 0; min-width: 0; overflow: hidden; }
  .top-logo .logo svg { height: 11px; }
  .top .select { max-width: 112px; padding-right: 26px; }
  .top .select[data-a="lang-sel"] { max-width: 64px; }
  .top .btn[data-a="scen"] { padding: 8px 10px; }
}

.sheet-settings { gap: 10px; padding: 0 4px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sheet-settings .logo svg { height: 12px; }
.sheet-settings .logo:not(.inv) { padding: 9px 4px; }

/* responsive tables */
.side { overflow-x: hidden; }
table.reg .rsum { display: none; }
@media (max-width: 1240px) { table.reg .rc { display: none; } table.reg .rsum { display: table-cell; color: var(--ink-2); } }
@media (max-width: 560px) { table.t.mw { min-width: 480px; } }

/* remote session mock */
.session { border-color: var(--ok); }
.remote { border-radius: 10px; overflow: hidden; background: #1d1f22; color: #c9cdd2; font-size: 11px; }
.remote .rbar { display: flex; justify-content: space-between; padding: 7px 12px; background: #2a2d31; }
.remote .rbody { display: grid; grid-template-columns: 90px 1fr; min-height: 220px; }
.remote .rside { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #24272b; }
.remote .rview { position: relative; }
.remote .rview svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.remote .rlabel { position: absolute; left: 10px; top: 8px; color: #e8e3d8; text-shadow: 0 1px 3px #000; }
.qr { width: 108px; height: 108px; flex: none; padding: 8px; background: #fff; color: #111; border-radius: 10px; }
.qr svg { width: 100%; height: 100%; display: block; }

.logo img { height: 22px; width: auto; display: block; max-width: 160px; object-fit: contain; }
.logo .wordmark { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; font-weight: 600; }
.top-logo .logo .wordmark { font-size: 15px; }

/* forms: white-label, wizard, calculator */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-3); }
.input { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 14px; min-width: 0; width: 100%; }
.input.sm { padding: 7px 10px; font-size: 13px; }
.input:focus { outline: none; border-color: var(--accent); }
input[type="file"].input { padding: 7px; font-size: 12px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.swatch.on { box-shadow: 0 0 0 2px var(--ink); }
.colorpick { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: none; overflow: hidden; cursor: pointer; }
.brand-preview { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; }
.wsteps { display: flex; gap: 6px; margin-top: 14px; }
.wsteps i { flex: 1; height: 3px; border-radius: 999px; background: var(--surface-3); }
.wsteps i.on { background: var(--accent); }
.tagx { border: 0; background: none; color: inherit; padding: 0 0 0 4px; font-size: 14px; line-height: 1; }
.check { gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
input[type="range"] { accent-color: var(--accent); width: 100%; }

/* command palette */
.pal-wrap { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.pal { position: relative; z-index: 1; width: min(620px, 100%); background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .18s ease; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.pal-in input { flex: 1; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.pal-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.pal-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.pal-item.on, .pal-item:hover { background: var(--surface-2); }
.pal-item .ico { color: var(--ink-3); }
.kbd { font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-3); font-family: var(--sans); }
.kbd-btn { gap: 6px; color: var(--ink-3); }
tr.flash td { animation: flash 2s ease; }
@keyframes flash { 0%, 60% { background: var(--accent-soft); } }

/* presentation mode */
.present { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 110; width: min(760px, calc(100% - 32px)); background: var(--ink); color: var(--bg); border-radius: 18px; padding: 16px 20px 14px; box-shadow: var(--shadow-lg); animation: rise .3s ease; }
.present .eyebrow { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.present .faint { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.pr-top { display: flex; justify-content: space-between; }
.pr-cap { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin: 6px 0 12px; }
.pr-bar { display: flex; gap: 3px; height: 10px; align-items: center; }
.pr-bar i { flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--bg) 20%, transparent); cursor: pointer; position: relative; overflow: hidden; transition: height .15s; }
.pr-bar i:hover { height: 7px; } .pr-bar i.on { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.pr-bar u { position: absolute; inset: 0 auto 0 0; background: var(--bg); transition: width .4s; }
.pr-l { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: var(--bg); color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: 0; }
.pr-list { position: absolute; right: 0; bottom: calc(100% + 8px); width: min(340px, 100%); max-height: 52vh; overflow: auto; padding: 6px; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-lg); display: grid; }
.pr-list button { display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: transparent; color: var(--bg); padding: 7px 10px; border-radius: 8px; font: 13px var(--sans); cursor: pointer; }
.pr-list button b { width: 18px; opacity: .55; font-weight: 600; } .pr-list button:hover, .pr-list button.on { background: color-mix(in srgb, var(--bg) 12%, transparent); }
body.presenting .pt-foot, body.presenting .pt-back, body.presenting .asst-fab { visibility: hidden; }
.pr-ctl { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.pr-ctl .iconbtn { background: transparent; border-color: color-mix(in srgb, var(--bg) 25%, transparent); color: var(--bg); width: 30px; height: 30px; }
.pr-ctl .iconbtn svg { width: 12px; height: 12px; }
.pr-top { padding-right: 210px; }
body.presenting .toasts { bottom: 170px; }
@media (max-width: 780px) { .present { bottom: 76px; } .pr-cap { font-size: 18px; } }

/* assistant */
.orb.sm { width: 22px; height: 22px; box-shadow: none; flex: none; }
.asst-fab { position: fixed; left: 22px; bottom: 22px; z-index: 45; border: 0; background: var(--surface); border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.asst-fab .orb { width: 30px; height: 30px; }
.asst-pop { position: fixed; left: 22px; bottom: 22px; z-index: 65; width: min(400px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; animation: rise .2s ease; }
.asst-msgs { max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.asst-msgs .msg { align-items: flex-start; }
.asst-msgs .bubble { font-size: 13px; }
@media (min-width: 781px) { .asst-fab, .asst-pop { left: 254px; } }
@media (max-width: 780px) { .asst-fab { bottom: 84px; left: 16px; width: 46px; height: 46px; } .asst-pop { left: 16px; bottom: 80px; } }

/* phone mock */
.ph-stage { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; justify-content: center; }
.phone { width: 300px; height: 610px; border-radius: 46px; background: #0d0d0c; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2a28; position: relative; flex: none; }
.ph-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #000; z-index: 2; }
.ph-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); position: relative; }
.ph-lock { height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 70px; gap: 6px; background: linear-gradient(160deg, #3b3631, #11110f); color: #f2eee6; }
.ph-time { font-family: var(--serif); font-size: 64px; line-height: 1; }
.ph-face { width: 70px; height: 70px; margin: 120px 0 10px; color: #f2eee6; cursor: pointer; }
.ph-face.scan { color: #82b08c; animation: pulse 1s infinite; }
.ph-app { height: 100%; padding: 54px 16px 70px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ph-head { display: flex; justify-content: space-between; align-items: center; }
.ph-logo .logo svg { height: 10px; } .ph-logo .logo { pointer-events: none; }
.ph-pill { font-size: 11px; display: inline-flex; gap: 6px; align-items: center; background: var(--surface); border-radius: 999px; padding: 4px 9px; }
.ph-h1 { font-size: 30px; margin: 4px 0; }
.ph-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ph-card.on { border-color: var(--ok); }
.ph-t { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 0 18px; background: var(--surface); border-top: 1px solid var(--line); }
.ph-tabs button { border: 0; background: none; color: var(--ink-3); } .ph-tabs button.on { color: var(--ink); }
.ph-cam { height: 100%; background: #111; color: #eee; display: flex; flex-direction: column; }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 52px 18px 10px; }
.ph-x { border: 0; background: none; color: #eee; font-size: 22px; }
.ph-view { flex: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #3a3d40, #121314); }
.ph-frame { padding: 14px; border: 2px solid rgba(255,255,255,.7); border-radius: 18px; }
.ph-frame.ok { border-color: #82b08c; }
.ph-frame .qr { width: 120px; height: 120px; }
.ph-hint, .ph-sheet { padding: 16px 18px 28px; text-align: center; }
.ph-sheet { background: var(--surface); color: var(--ink); border-radius: 18px 18px 0 0; text-align: left; }
.ph-step { text-align: left; font-size: 13.5px; cursor: pointer; }
.ph-step.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
/* assistant orb lives bottom-right; toasts sit above it */
.asst-fab, .asst-pop { left: auto !important; right: 22px; }
.toasts { bottom: 88px; }
@media (max-width: 780px) { .asst-fab, .asst-pop { right: 16px; } .toasts { bottom: 140px; } }
.phase-cell { white-space: nowrap; }
@media (max-width: 1180px) {
  .top .pill:not(.timer-chip) { display: none; }
  .kbd-btn .kbd { display: none; }
}
@media (min-width: 781px) { body:has(#chat-body) .asst-pop, body:has(#chat-body) .asst-fab { right: 422px; } }
.ph-logo .logo .wordmark { font-size: 11px; max-width: 120px; letter-spacing: .1em; }
.ph-logo .logo img { height: 14px; }
.ph-pill { white-space: nowrap; }
.orb { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #F2D9AE, var(--accent) 60%, #2a2016); flex: none; }
.remote .rlabel { background: rgba(0,0,0,.5); padding: 2px 7px; border-radius: 4px; }

/* ======================================================================
   v3 shell: slim rail, quiet top bar, launcher, profile menu
   ====================================================================== */
.app { grid-template-columns: 76px 1fr; }
.side { display: none; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; border-right: 1px solid var(--line); background: var(--bg); z-index: 25; }
.rail-logo { cursor: pointer; padding: 6px 4px 14px; }
.rail-logo .logo svg { height: 9px; }
.rail-logo .logo.inv { padding: 7px 6px; }
.rail-logo .logo .wordmark { font-size: 10px; max-width: 64px; letter-spacing: .08em; }
.rail-logo .logo img { height: 16px; max-width: 60px; }
.rail nav { display: flex; flex-direction: column; gap: 4px; }
.rail-foot { margin-top: auto; }
.rb { position: relative; width: 60px; border: 0; background: none; border-radius: 12px; padding: 9px 2px 7px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-3); font-size: 10.5px; line-height: 1.1; }
.rb .ico { width: 20px; height: 20px; }
.rb span { max-width: 58px; overflow: hidden; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: normal; } .rb span.long { font-size: 9px; letter-spacing: -.01em; }
.rb:hover { background: var(--surface-2); color: var(--ink); }
.rb.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.rbadge { position: absolute; top: 4px; right: 8px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.top { padding: 10px 22px; gap: 10px; }
.crumbs { font-size: 13px; color: var(--ink-3); display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.crumbs b { color: var(--ink); font-weight: 600; }
.crumbs i { font-style: normal; opacity: .6; }
.crumb-link { cursor: pointer; } .crumb-link:hover { color: var(--ink); }
.demo-time { margin-left: 10px; }
.search { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); border-radius: 999px; padding: 7px 12px; min-width: 240px; font-size: 13px; }
.search:hover { color: var(--ink); border-color: var(--ink-3); }
.search .kbd { margin-left: auto; }
.timer-chip { gap: 8px; }
.timer-chip .ico { width: 13px; height: 13px; }
.me-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 3px 6px 3px 3px; border-radius: 999px; text-align: left; }
.me-btn:hover { background: var(--surface-2); }
.me-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.me-btn b { font-size: 13px; } .me-btn i { font-style: normal; font-size: 11px; color: var(--ink-3); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; }
.menu-sec { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 10px 10px 6px; }
.menu .pm { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; border-radius: 10px; padding: 7px 8px; text-align: left; }
.menu .pm:hover, .menu .pm.on { background: var(--surface-2); }
.menu .pm span { display: flex; flex-direction: column; line-height: 1.2; }
.menu .pm i { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.menu-roles { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 8px; }
.menu-roles button { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.menu-roles button.on, .menu-roles button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.apps-wrap { align-items: start; padding-top: 6vh; }
.apps { position: relative; z-index: 71; width: min(1080px, 100%); max-height: 86vh; overflow-y: auto; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px 28px 30px; animation: rise .22s ease; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.app-grid.sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.app-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 14px; min-height: 108px; transition: transform .12s, box-shadow .12s; }
.app-tile .ico { width: 22px; height: 22px; color: var(--accent); }
.app-tile b { font-size: 14px; } .app-tile span { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.app-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.app-tile.soon { min-height: 0; padding: 10px 12px; opacity: .78; } .app-tile.soon .ico { color: var(--ink-3); width: 18px; height: 18px; }
.app.full .main { height: 100vh; overflow: hidden; }
.canvas-host { position: relative; flex: 1; min-height: 0; }

/* ======================================================================
   Space: infinite canvas
   ====================================================================== */
.space { position: absolute; inset: 0; overflow: hidden; cursor: grab; outline: none; touch-action: none;
  background-color: var(--bg); background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1.1px, transparent 1.2px); }
.space.grabbing { cursor: grabbing; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.frame { position: absolute; border-radius: 28px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame.mine { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.frame.me, .frame.studio, .frame.team, .frame.infra, .frame.pmhome { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); }
.ftitle { position: absolute; left: 30px; top: 22px; right: 30px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: move; }
.fcode { font-variant-numeric: tabular-nums; letter-spacing: .06em; font-weight: 700; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 3px 9px; font-size: 13px; }
.fcode.sm { font-size: 12px; padding: 2px 8px; }
.fbig { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--serif); font-size: 230px; color: var(--ink); opacity: .9; pointer-events: none; text-align: center; line-height: .9; padding: 40px; }
.frame.me .fbig, .frame.studio .fbig, .frame.team .fbig, .frame.infra .fbig, .frame.pmhome .fbig, .frame.inside .fbig { font-size: 120px; }
.finner { position: absolute; left: 40px; right: 40px; top: 70px; bottom: 30px; }
.fhello { position: absolute; left: 0; top: 0; }
.fcover { position: absolute; left: 0; top: 0; width: 570px; height: 360px; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--surface-2); box-shadow: var(--shadow); }
.fcover img, .fcover svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.fcover:hover img { transform: scale(1.03); }
.fcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.fcap b { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.fcap span:last-child { font-size: 12px; opacity: .85; }
.fcap .fcode { align-self: flex-start; background: rgba(255,255,255,.92); color: #111; }
.badge3d { position: absolute; top: 12px; left: 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; background: rgba(20,20,18,.62); color: #fff; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge3d .ico { width: 13px; height: 13px; }
.fstage { position: absolute; left: 0; top: 374px; width: 570px; }
.pnl { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s; }
.pnl.lifted { box-shadow: var(--shadow-lg); z-index: 5; }
.ph { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px 14px; font-size: 13px; cursor: move; color: var(--ink-2); user-select: none; }
.ph b { color: var(--ink); font-weight: 600; }
.ph .ico { width: 15px; height: 15px; color: var(--accent); }
.po { margin-left: auto; border: 0; background: none; color: var(--ink-3); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.po:hover { background: var(--surface-2); color: var(--ink); } .po .ico { width: 14px; height: 14px; color: inherit; }
.pb { padding: 4px 14px 14px; overflow: auto; flex: 1; min-height: 0; }
.pfar { display: none; }
.big { font-family: var(--serif); font-size: 38px; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.qrow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; }
.qrow.on { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.brief { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.tree { display: flex; flex-direction: column; gap: 3px; }
.fold > button { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; width: 100%; text-align: left; border: 0; background: none; padding: 6px 6px; border-radius: 8px; }
.fold > button:hover, .fold.open > button { background: var(--surface-2); }
.fold > button .ico { grid-row: span 2; color: var(--accent); margin-top: 2px; }
.fold b { font-size: 12.5px; letter-spacing: .02em; } .fold span { font-size: 11.5px; color: var(--ink-3); }
.files { padding: 4px 6px 6px 32px; display: flex; flex-direction: column; gap: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; } .thumb svg { width: 100%; height: 100%; display: block; }
.board { position: relative; height: 100%; min-height: 160px; }
.ref { position: absolute; width: 150px; height: 110px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); border: 4px solid #fff; }
.ref:nth-child(1) { left: 0; top: 4px; } .ref:nth-child(2) { left: 150px; top: 30px; } .ref:nth-child(3) { left: 300px; top: 0; } .ref:nth-child(4) { display: none; }
.ref svg { width: 100%; height: 100%; display: block; }
.sticky { position: absolute; width: 150px; min-height: 76px; padding: 10px; font-size: 12.5px; line-height: 1.3; box-shadow: 0 6px 14px rgba(0,0,0,.12); border-radius: 3px; color: #2a2620; }
.sticky.y { background: #F6E7A6; } .sticky.p { background: #F3C9C4; } .sticky.g { background: #CFE5C3; } .sticky.b { background: #C9DDF0; }
.sticky [contenteditable] { outline: none; cursor: text; }
.add-note { position: absolute; right: 0; bottom: 0; }
.archmap { position: absolute; left: 0; top: 130px; right: 0; bottom: 0; }
.arch { position: absolute; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.arch b { font-family: var(--serif); font-size: 24px; font-weight: 500; } .arch span { color: var(--ink-2); font-size: 13px; }
.arch.core { background: var(--accent-soft); } .arch.vault { background: var(--info-soft); } .arch.bridge { background: var(--surface-2); }
/* levels of detail */
.space[data-lod="mid"] .pb > *, .space[data-lod="far"] .pb > * { visibility: hidden; }
.space[data-lod="mid"] .pfar, .space[data-lod="far"] .pfar { display: grid; position: absolute; inset: 0; place-items: center; font-family: var(--serif); font-size: 34px; color: var(--ink-2); pointer-events: none; }
.space[data-lod="far"] .finner, .space[data-lod="far"] .ftitle { visibility: hidden; }
.space[data-lod="far"] .fbig { display: grid; }
/* overlay controls */
.sp-tools { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 5px; z-index: 5; }
.sp-tools button { border: 0; background: none; height: 34px; min-width: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; font-size: 13px; color: var(--ink-2); }
.sp-tools button:hover { background: var(--surface-2); color: var(--ink); }
.sp-tools .zl { min-width: 58px; } .sp-tools .sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.sp-mini { position: absolute; right: 18px; bottom: 18px; width: 200px; height: 140px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 5; cursor: pointer; }
.sp-list { position: absolute; left: 18px; top: 18px; z-index: 5; }
.sp-frames { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; width: 260px; display: flex; flex-direction: column; }
.sp-frames button { display: flex; gap: 10px; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 9px; font-size: 13px; }
.sp-frames button:hover { background: var(--surface-2); }
.sp-hint { position: absolute; left: 18px; bottom: 22px; color: var(--ink-3); z-index: 4; pointer-events: none; }
@media (max-width: 780px) { .sp-mini, .sp-hint { display: none; } .sp-tools { bottom: 78px; } .app { grid-template-columns: 1fr; } .rail { display: none; } .search { min-width: 0; } }

/* ======================================================================
   3D viewer
   ====================================================================== */
.splat-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.splat-canvas:active { cursor: grabbing; }
.vol-modal { position: fixed; inset: 0; z-index: 105; display: grid; place-items: center; padding: 24px; }
.vol-modal .scrim { position: absolute; inset: 0; }
.vol-box { position: relative; z-index: 1; width: min(1400px, 100%); height: min(880px, 100%); border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #f3efe8, #d9d2c7); box-shadow: var(--shadow-lg); animation: rise .25s ease; }
:root[data-theme="dark"] .vol-box, :root[data-theme="dark"] .vol-host.page { background: radial-gradient(ellipse at 50% 35%, #2c2925, #12110f); }
.vol-modal.drag .vol-box { outline: 3px dashed var(--accent); outline-offset: -12px; }
.vol-host { position: absolute; inset: 0; }
.vol-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px; pointer-events: none; }
.vol-hud > * { pointer-events: auto; }
.vol-help { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.vol-card { padding: 12px; }
.vol-host.page { position: relative; height: 520px; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #f3efe8, #d9d2c7); }
.vol-badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(20,20,18,.6); color: #fff; padding: 4px 10px; border-radius: 999px; }
.vthumb { position: relative; border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; background: none; width: 120px; }
.vthumb img { width: 100%; display: block; } .vthumb span { position: absolute; left: 6px; bottom: 4px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000; }
.vthumb.on { border-color: var(--accent); }
.pipe { margin: 10px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.drop { cursor: pointer; border-style: dashed; } .drop:hover { border-color: var(--accent); }

.avs { display: flex; } .avs .avatar { margin-right: -8px; border: 2px solid var(--surface); }
.pnl .ico { vertical-align: -3px; }
.board, .pnl [data-pid$=":board"] .pb { overflow: hidden; }
.pnl:has(.board) .pb { overflow: hidden; }
.fbig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.fbig span { position: relative; z-index: 1; }
.frame.project .fbig span { background: color-mix(in srgb, var(--surface) 86%, transparent); padding: 10px 40px; border-radius: 24px; font-size: 200px; }
body:has(.space) .asst-fab, body:has(.space) .asst-pop { bottom: 176px; }

/* ======================================================================
   Render manager
   ====================================================================== */
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.rgrid .est { position: sticky; top: 76px; }
@media (max-width: 1080px) { .rgrid { grid-template-columns: 1fr; } .rgrid .est { position: static; } }
.chipb { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.chipb:hover { border-color: var(--ink-3); color: var(--ink); }
.chipb.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chipb.xs { padding: 2px 8px; font-size: 11px; }
.scene { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.scene span:last-child { font-size: 11.5px; color: var(--ink-3); }
.scene.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.checks .ok { color: var(--ok); }
.camgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.camc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); opacity: .6; transition: opacity .15s; }
.camc.on { opacity: 1; border-color: var(--accent); }
.camc .art { position: relative; aspect-ratio: 16/10; cursor: pointer; }
.camc .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.camc .chk { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 12px; box-shadow: var(--shadow); }
.camc.on .chk { background: var(--accent); color: var(--accent-ink); }
.camc .cn { padding: 7px 9px 4px; font-size: 11.5px; display: flex; flex-direction: column; gap: 1px; }
.warnt { color: var(--warn); }
.frow { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; font-size: 12.5px; color: var(--ink-2); }
.frow > span { display: flex; justify-content: space-between; }
.warnbox, .okbox, .infobox { border-radius: 10px; padding: 8px 10px; }
.warnbox { background: var(--warn-soft); color: var(--ink); } .okbox { background: var(--ok-soft); color: var(--ok); } .infobox { background: var(--info-soft); }
.job { margin-bottom: 14px; } .job.paused { opacity: .7; }
.crows { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 10px; }
.crow { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.crow.rendering { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.crow.done { background: color-mix(in srgb, var(--ok-soft) 50%, var(--surface)); }
.prev { position: relative; width: 96px; height: 60px; flex: none; border-radius: 8px; overflow: hidden; background: #111; }
.prev svg { width: 100%; height: 100%; display: block; filter: blur(var(--b)) saturate(calc(1 - var(--b) / 14px)); transform: scale(1.06); transition: filter 1s; }
.prev .pct { position: absolute; right: 4px; bottom: 3px; font-size: 10.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000; }
.crow.done .prev svg { filter: none; }

/* ======================================================================
   Under the hood
   ====================================================================== */
.about .hero-why { padding: 10px 0 6px; }
.about-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.about-nav a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink-2); background: var(--surface); }
.about-nav a:hover { color: var(--ink); border-color: var(--ink-3); }
.about .section { scroll-margin-top: 80px; }
.wins { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.win h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 14px 0 8px; line-height: 1.15; }
.win p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.wi { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.wi .ico { width: 20px; height: 20px; }
.wnum { font-family: var(--serif); font-size: 22px; color: var(--accent); }
table.vs td { vertical-align: top; }
.good { display: inline-flex; gap: 6px; align-items: flex-start; color: var(--ink); }
.good .ico { color: var(--ok); width: 15px; height: 15px; flex: none; margin-top: 2px; }
.arch-svg { width: 100%; height: auto; display: block; }
.arch-svg .ab rect { fill: var(--surface); stroke: var(--line); }
.arch-svg .ab.sync rect { fill: var(--surface-2); }
.arch-svg .ab.core rect { fill: var(--accent-soft); stroke: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.arch-svg .ab.vault rect { fill: var(--info-soft); stroke: color-mix(in srgb, var(--info) 40%, var(--line)); }
.arch-svg .ab.mod rect { fill: var(--surface); }
.arch-svg .ab.bridge rect { fill: var(--surface-2); stroke-dasharray: 5 4; }
.arch-svg .at { font-family: var(--serif); font-size: 21px; fill: var(--ink); }
.arch-svg .as { font-family: var(--sans); font-size: 12.5px; fill: var(--ink-2); }
.arch-svg .al { stroke: var(--ink-3); stroke-width: 1.5; }
.arch-svg .al.priv { stroke: var(--info); stroke-dasharray: 5 4; }
.arch-svg .priv-t { fill: var(--info); }
.arch-svg .am { fill: var(--ink-3); }
.chain { display: flex; align-items: stretch; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 6px; }
.cstep { flex: 1 0 150px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; opacity: .5; transition: all .4s; position: relative; }
.cstep .ico { width: 22px; height: 22px; color: var(--ink-3); }
.cstep b { font-size: 13.5px; line-height: 1.3; }
.cstep code { font-size: 11px; align-self: flex-start; }
.cstep .cn { position: absolute; top: 10px; right: 12px; font-size: 11px; color: var(--ink-3); }
.cstep.on { opacity: 1; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.cstep.on .ico { color: var(--accent); }
.cstep.cur { box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); transform: translateY(-3px); }
.carrow { align-self: center; color: var(--line); font-size: 20px; transition: color .4s; } .carrow.on { color: var(--accent); }
.pcol { border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.pcol.up { background: var(--ok-soft); } .pcol.stay { background: var(--info-soft); }

.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: visible; }
.carrow { display: none; }
.p3d { position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; aspect-ratio: 16/8; background: var(--surface-2); box-shadow: var(--shadow); }
.p3d img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.p3d:hover img { transform: scale(1.03); }
.p3d .go3d { position: absolute; right: 14px; bottom: 14px; }
.walk { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.walk .p3d { border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: 240px; }
.walk .wtxt { padding: 26px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
@media (max-width: 780px) { .walk { grid-template-columns: 1fr; } }

/* ======================================================================
   My timeline
   ====================================================================== */
.tl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 1080px) { .tl-grid { grid-template-columns: 1fr; } }
.tl-week { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tl-head { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tl-dh { padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; border-left: 1px solid var(--line); }
.tl-dh span { font-size: 11.5px; color: var(--ink-3); }
.tl-dh.today { background: var(--accent-soft); } .tl-dh.today b { color: var(--accent); }
.tl-body { position: relative; display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); height: 552px; overflow-y: auto; }
.tl-hours { position: relative; }
.tl-hours span { position: absolute; right: 8px; font-size: 10.5px; color: var(--ink-3); transform: translateY(-6px); }
.tl-col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 46px; }
.tl-col.weekend { background-color: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.tl-col.today { background-color: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.tl-b { position: absolute; left: 3px; right: 3px; border: 0; text-align: left; border-radius: 8px; padding: 4px 6px; font-size: 11px; line-height: 1.25; overflow: hidden; cursor: pointer;
  background: color-mix(in srgb, var(--c) 22%, var(--surface)); border-left: 3px solid var(--c); color: var(--ink); display: flex; flex-direction: column; gap: 1px; transition: box-shadow .15s, transform .15s; }
.tl-b b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tl-b span { color: var(--ink-2); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-b:hover { box-shadow: var(--shadow); transform: translateX(1px); z-index: 2; }
.tl-b.sel { box-shadow: 0 0 0 2px var(--c); z-index: 3; }
.tl-b.meet { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, var(--surface)) 0 6px, color-mix(in srgb, var(--c) 24%, var(--surface)) 6px 12px); }
.tl-b.lunch { --c: var(--ink-3); background: var(--surface-2); border-left-color: var(--surface-3); color: var(--ink-3); }
.tl-b.leave { --c: var(--info); background: repeating-linear-gradient(45deg, var(--info-soft) 0 8px, color-mix(in srgb, var(--info) 14%, var(--surface)) 8px 16px); border-left-color: var(--info); justify-content: center; align-items: center; text-align: center; }
.tl-b.plan { background: transparent; border: 1.5px dashed var(--c); border-left-width: 3px; color: var(--ink-2); }
.tl-b.now { box-shadow: 0 0 0 2px var(--ok-soft); }
.tl-b.now::after { content: ''; position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.tl-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--risk); z-index: 4; }
.tl-now::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--risk); }
.tl-detail { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tl-att { margin-bottom: 12px; display: flex; flex-direction: column; gap: 5px; }
.tl-att .eyebrow { display: flex; gap: 6px; align-items: center; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.shot-s { aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; filter: blur(2px); } .shot-s svg { width: 100%; height: 100%; display: block; }
.pdot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.tl-month { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; }
.tl-mh, .tl-mw { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tl-mh span { font-size: 11px; color: var(--ink-3); padding: 4px 6px; }
.tl-mw { margin-bottom: 6px; }
.tl-md { min-height: 84px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 7px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; background: var(--bg); }
.tl-md.weekend { background: var(--surface-2); }
.tl-md.past { opacity: .85; }
.tl-md.today { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tl-md.sp.vacation { background: repeating-linear-gradient(45deg, var(--info-soft) 0 8px, color-mix(in srgb, var(--info) 12%, var(--surface)) 8px 16px); }
.tl-md.sp.trip, .tl-md.sp.site, .tl-md.sp.learn { background: var(--accent-soft); }
.tl-bar { height: 4px; background: var(--surface-3); border-radius: 999px; } .tl-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.tl-tag { font-size: 11px; color: var(--ink-2); }
.tl-dl { font-size: 10.5px; border-left: 3px solid var(--c); padding-left: 5px; color: var(--ink-2); }
.rhythm .water { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.rhythm .water i { width: 14px; height: 20px; border-radius: 3px 3px 6px 6px; border: 1.5px solid var(--info); opacity: .5; }
.rhythm .water i.f { background: var(--info); opacity: 1; }
.rhythm .water .btn { margin-left: 6px; }
@media (max-width: 780px) { .tl-head, .tl-body { grid-template-columns: 40px repeat(7, 120px); } .tl-week { overflow-x: auto; } .tl-mw .tl-md { min-height: 60px; } }

/* watch */
.watch { display: flex; flex-direction: column; align-items: center; flex: none; }
.w-band { width: 104px; height: 70px; background: linear-gradient(#3a3631, #2a2724); border-radius: 14px 14px 4px 4px; }
.w-band.b { border-radius: 4px 4px 14px 14px; }
.w-body { position: relative; width: 188px; height: 220px; border-radius: 48px; background: #0d0d0c; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2a28; }
.w-crown { position: absolute; right: -7px; top: 62px; width: 8px; height: 30px; border-radius: 3px; background: #3a3631; }
.w-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; background: #000; color: #f4efe6; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; }
.w-ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.w-ring circle { fill: none; stroke-width: 6; } .w-ring .bg { stroke: #222; } .w-ring .fg { stroke: #82b08c; stroke-linecap: round; }
.w-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.w-time { font-size: 13px; opacity: .7; } .w-task { font-size: 12px; letter-spacing: .08em; color: #cba673; } .w-t { font-family: var(--serif); font-size: 34px; line-height: 1; }
.w-row { display: flex; gap: 6px; margin-top: 6px; } .w-row button { border: 0; background: #1d1d1b; color: #f4efe6; border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.w-next { font-size: 10.5px; opacity: .6; margin-top: 4px; }
.w-q { display: flex; flex-direction: column; gap: 2px; font-size: 11px; opacity: .9; margin-bottom: 4px; } .w-q b { font-size: 14px; }
.w-opt { width: 100%; border: 0; border-radius: 12px; background: #1f2a20; color: #dfe9dc; padding: 6px 8px; font-size: 11px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-opt.ghost { background: #1d1d1b; color: #bbb; }

/* ======================================================================
   Plugins: 3ds Max mock with the docked panel
   ====================================================================== */
.max-win { border-radius: 14px; overflow: hidden; background: #1f2124; box-shadow: var(--shadow-lg); border: 1px solid #111; color: #c9ced6; font-size: 12px; }
.max-title { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #2a2c30; color: #aeb4bd; }
.max-title .dots { display: flex; gap: 5px; } .max-title .dots i { width: 10px; height: 10px; border-radius: 50%; background: #4a4d52; }
.max-menu { display: flex; gap: 2px; padding: 4px 8px; background: #26282c; border-bottom: 1px solid #111; overflow-x: auto; }
.max-menu span { padding: 3px 8px; border-radius: 4px; color: #9aa1aa; white-space: nowrap; } .max-menu span.on { background: #3b3326; color: #e8d4a8; }
.max-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 460px; }
.max-vpw { position: relative; border-right: 1px solid #111; }
.max-vp { width: 100%; height: 100%; display: block; }
.max-vp .vo { cursor: pointer; transition: filter .2s; }
.max-vp .vo:hover { filter: brightness(1.08); }
.max-vp .vo.sel, .max-vp .vo.sel > * { stroke: #f2c46b; stroke-width: 2.5; }
.yz-dock { background: var(--bg); color: var(--ink); display: flex; flex-direction: column; min-width: 0; }
.yz-dh { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.yz-dh .logo svg { height: 10px; }
.yz-tabs { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.yz-tabs button { border: 0; background: none; border-radius: 8px; padding: 5px 8px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.yz-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.yz-body { padding: 12px; overflow-y: auto; max-height: 520px; }
.path { display: block; margin-top: 4px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-rev { margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 6px; }
.mat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mat-sw { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px; cursor: grab; position: relative; }
.mat-sw i { display: block; height: 54px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.mat-sw b { font-size: 12px; margin-top: 4px; } .mat-sw span { font-size: 10.5px; color: var(--ink-3); }
.mat-sw em { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 10px; background: rgba(255,255,255,.9); color: #3a5a3a; border-radius: 999px; padding: 1px 6px; }
.mat-sw:hover { border-color: var(--accent); }
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lib-it { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px; }
.lib-th { height: 60px; border-radius: 6px; overflow: hidden; } .lib-th svg { width: 100%; height: 100%; display: block; }
.lib-it b { font-size: 12px; } .lib-it span { font-size: 10.5px; color: var(--ink-3); }
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
@media (max-width: 900px) { .max-main { grid-template-columns: 1fr; } .max-vpw { border-right: 0; border-bottom: 1px solid #111; } }

/* ======================================================================
   Scenes & lobby: Unreal over Pixel Streaming
   ====================================================================== */
.lb-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lb-scene { display: flex; flex-direction: column; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 8px; cursor: pointer; color: var(--ink); }
.lb-scene img { width: 100%; aspect-ratio: 9 / 5; object-fit: cover; border-radius: 10px; background: var(--bg-2, var(--line)); display: block; }
.lb-scene > div { padding: 0 4px 4px; display: flex; flex-direction: column; gap: 4px; }
.lb-scene.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.lb-host { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.lb-host.on { border-color: var(--accent); background: var(--accent-soft); }
.lb-live { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.lb-stage { position: relative; min-height: 520px; border-radius: 18px; overflow: hidden; background: #111; }
.lb-stream { position: absolute; inset: 0; transition: filter .3s; }
.lb-stream canvas { width: 100%; height: 100%; display: block; }
.lb-boot { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px; color: #f4efe6; background: radial-gradient(circle at 30% 30%, #2b2722, #121110); }
.lb-boot .faint { color: rgba(244,239,230,.55); }
.lb-hud { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; font-size: 11.5px; color: #fff; }
.lb-hud > span { background: rgba(0,0,0,.5); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 999px; }
.lb-rec { display: flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: .08em; }
.lb-rec i { width: 7px; height: 7px; border-radius: 50%; background: #e5534b; animation: lbBlink 1.4s infinite; }
@keyframes lbBlink { 50% { opacity: .3; } }
.lb-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(18,17,16,.62); backdrop-filter: blur(12px); color: #f4efe6; font-size: 12px; }
.lb-tools button { border: 0; background: rgba(255,255,255,.08); color: #f4efe6; border-radius: 9px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.lb-tools button.on { background: #f4efe6; color: #1a1816; }
.lb-tools label { display: flex; align-items: center; gap: 6px; }
.lb-tools input[type=range] { width: 110px; }
.lb-tools .sep { width: 1px; height: 20px; background: rgba(255,255,255,.18); }
.lb-side { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 16px; display: flex; flex-direction: column; }
.lb-meter { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .lb-live { grid-template-columns: 1fr; } .lb-stage { min-height: 380px; } .lb-scenes { grid-template-columns: 1fr; } }

/* ======================================================================
   Map: projects by geo, offices & people
   ====================================================================== */
.mp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-bottom: 16px; }
.mp-map { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 520px; }
.mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mp-crumbs { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; }
.mp-crumbs button { display: flex; align-items: center; gap: 6px; border: 0; background: var(--bg); color: var(--ink); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.mp-crumbs svg { width: 14px; height: 14px; }
.mp-sea { fill: var(--bg); } .mp-grat { stroke: var(--line); stroke-width: 1; fill: none; stroke-dasharray: 2 4; }
.mp-cont { fill: var(--surface-3, #e6e0d5); stroke: var(--line); stroke-width: 1; }
.mp-arc { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: .7; }
.mp-city { cursor: pointer; } .mp-city circle { fill: var(--accent); } .mp-city .halo { fill: var(--accent); opacity: .18; transition: r .2s; }
.mp-city:hover .halo { r: 22; }
.mp-city text { font-size: 14px; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.mp-city .cn { font-weight: 600; } .mp-city .ct { fill: var(--ink-3); font-variant-numeric: tabular-nums; } .mp-city .cs { font-size: 12px; fill: var(--ink-2); }
.mp-land { fill: var(--surface); } .mp-st { stroke: var(--line); stroke-width: 1; fill: none; } .mp-road { stroke: var(--line); stroke-width: 5; fill: none; opacity: .9; }
.mp-park { fill: var(--ok-soft); } .mp-water { fill: var(--info-soft); } .mp-river { stroke: var(--info-soft); fill: none; stroke-linecap: round; }
.mp-dist { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-3); }
.mp-pin { cursor: pointer; } .mp-pin path { fill: var(--accent); stroke: var(--surface); stroke-width: 2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.mp-pin.h-fire path { fill: var(--risk); } .mp-pin.h-watch path { fill: var(--warn); } .mp-pin.h-ok path { fill: var(--ok); }
.mp-pin > text { font-size: 10px; font-weight: 700; fill: #fff; }
.mp-pin .lbl, .mp-office .lbl { font-size: 13px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.mp-pin .lbl.s, .mp-office .lbl.s { font-size: 11px; font-weight: 500; fill: var(--ink-2); stroke-width: 0; }
.mp-pin .onsite { fill: var(--info-soft); }
.mp-pin.on path { stroke: var(--ink); stroke-width: 2.5; }
.mp-area { cursor: pointer; } .mp-area circle { fill: var(--accent); opacity: .14; stroke: var(--accent); stroke-dasharray: 4 4; } .mp-area text { font-size: 12px; font-weight: 600; fill: var(--accent); }
.mp-office { cursor: pointer; } .mp-office rect { fill: var(--ink); } .mp-office > text:not(.lbl) { font-size: 13px; font-family: var(--serif); font-weight: 700; fill: var(--bg); }
.mp-office.big rect { stroke: var(--accent); stroke-width: 3; }
.mp-side { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 16px; max-height: 620px; overflow-y: auto; }
.mp-person { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); border-radius: 12px; padding: 7px 8px; cursor: pointer; position: relative; }
.mp-person:hover, .mp-person.on { background: var(--bg); }
.mp-person > .mp-dot { position: absolute; left: 34px; top: 30px; border: 2px solid var(--surface); }
.mp-person .avs { display: flex; } .mp-person .avs .avatar { width: 22px; height: 22px; font-size: 8px; margin-left: -6px; border: 2px solid var(--surface); }
.mp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ink-3); }
.mp-dot.st-ok { background: var(--ok); } .mp-dot.st-accent { background: var(--accent); } .mp-dot.st-info { background: var(--info); } .mp-dot.st-warn { background: var(--warn); } .mp-dot.st-risk { background: var(--risk); }
.mp-dot.st-none { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-3); }
.mp-ofc { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; flex: none; }
.mp-stat { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; }
.mp-contact { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg); }
.mp-contact > a { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; }
.mp-contact > a svg { width: 16px; height: 16px; }
.mp-chs { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-ask { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mp-ask textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; background: var(--surface); color: var(--ink); }
.mp-ask .spread { gap: 10px; align-items: flex-end; }
.mp-addr { display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--bg); }
.mp-addr svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.mp-mine { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.mp-mine button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; }
.mp-mine button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mp-tz { margin-bottom: 16px; }
.tzr { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 8px; }
.tzb { position: relative; height: 14px; border-radius: 7px; background: var(--bg); overflow: hidden; }
.tzb i { position: absolute; top: 0; bottom: 0; background: var(--accent-soft); border-radius: 7px; }
.tzb em { position: absolute; top: 0; bottom: 0; background: var(--ok); opacity: .45; }
.tzb b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--risk); }
.tzax { display: flex; justify-content: space-between; }
@media (max-width: 900px) { .mp-wrap { grid-template-columns: 1fr; } .mp-map { min-height: 340px; } .mp-side { max-height: none; } .tzr { grid-template-columns: 64px minmax(0, 1fr); } }
.mp-map:has(.world) { background: var(--bg); }
.mp-map { min-height: 0; }
.mp-map .mp-svg { position: static; height: auto; }
@media (max-width: 900px) { .mp-map { min-height: 0; } }

/* ======================================================================
   Yellow Pages: drives directory (yellow only for "needs sorting")
   ====================================================================== */
:root { --yp: #F2C230; --yp-ink: #1B1A17; }
.yp-y { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--yp); color: var(--yp-ink); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yp-y.sm { height: 18px; font-size: 10.5px; font-weight: 600; }
.yp-health { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.yp-health > div { background: var(--surface); padding: 14px 16px; }
.yp-hv { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 4px; }
.yp-hv .yp-y { font-family: var(--sans); font-size: 20px; height: 34px; padding: 0 12px; }
.yp-srcs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; }
.yp-srcs button { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 7px 12px; cursor: pointer; font-size: 12.5px; }
.yp-srcs button span { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.yp-srcs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); } .yp-srcs button.on span { color: var(--bg); opacity: .7; }
.yp-grid { display: grid; grid-template-columns: 280px 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); height: 640px; }
.yp-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--line); }
.yp-col:last-child { border-right: 0; }
.yp-scroll { overflow-y: auto; flex: 1; min-height: 0; }
.yp-mid .yp-scroll { padding: 16px; }
.yp-h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px 6px; }
.yp-mid .yp-h { padding: 14px 0 6px; }
.yp-p { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 9px 14px; cursor: pointer; font-size: 13px; }
.yp-p.on { background: var(--ink); color: var(--bg); } .yp-p.on .faint { color: var(--bg); opacity: .65; }
.yp-p .mp-dot { width: 7px; height: 7px; }
.yp-code { font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 600; min-width: 36px; padding: 3px 0; text-align: center; border: 1px solid currentColor; border-radius: 6px; opacity: .8; }
.yp-bars { display: flex; flex-direction: column; }
.yp-bars button { display: flex; align-items: center; gap: 8px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 6px 2px; font-size: 12.5px; cursor: pointer; text-align: left; }
.yp-bars button .grow { display: flex; align-items: center; gap: 6px; } .yp-bars button svg { width: 13px; height: 13px; opacity: .6; }
.yp-bars button i { height: 6px; border-radius: 3px; background: var(--ink-3); opacity: .35; }
.yp-bars button.on { font-weight: 600; } .yp-bars button.on i { background: var(--accent); opacity: 1; }
.yp-bars .tnum { font-size: 11px; min-width: 70px; text-align: right; }
.yp-matrix { display: flex; flex-direction: column; gap: 6px; padding: 4px 0 6px; } .yp-matrix .row { gap: 10px; }
.yp-note { display: flex; gap: 8px; margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--bg); } .yp-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.yp-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); } .yp-search svg { width: 16px; height: 16px; color: var(--ink-3); }
.yp-search input { flex: 1; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.yp-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 14px 0; align-items: center; }
.yp-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.yp-chips button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.yp-chips button.yy.on { background: var(--yp); color: var(--yp-ink); border-color: var(--yp); }
.yp-f { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 7px 14px; cursor: pointer; font-size: 13px; }
.yp-f:hover { background: var(--bg); } .yp-f.on { background: var(--accent-soft); }
.yp-f .grow { min-width: 0; } .yp-f b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.path { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.yp-ext { flex: none; width: 40px; text-align: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; border-radius: 6px; background: var(--bg); color: var(--ink-2); }
.yp-ext.e-scene { background: var(--accent-soft); color: var(--accent); } .yp-ext.e-render, .yp-ext.e-image { background: var(--info-soft); color: var(--info); } .yp-ext.e-cad { background: var(--ok-soft); color: var(--ok); }
.yp-detail { border-top: 1px solid var(--line); padding: 12px 14px; background: var(--bg); }
@media (max-width: 1100px) { .yp-grid { grid-template-columns: 240px minmax(0, 1fr); height: auto; } .yp-files { grid-column: 1 / -1; border-top: 1px solid var(--line); height: 560px; } .yp-col { max-height: 520px; } .yp-health { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .yp-grid { grid-template-columns: 1fr; } .yp-col { border-right: 0; border-bottom: 1px solid var(--line); max-height: 360px; } .yp-files { max-height: none; } .yp-health { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* file house: waves of order */
.yp-health.oh .yp-hv .yp-y { font-size: 16px; height: 28px; padding: 0 10px; }
.ho-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 320px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); height: 640px; }
.ho-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--line); } .ho-col:last-child { border-right: 0; }
.ho-act { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.ho-act .row svg { width: 15px; height: 15px; color: var(--accent); }
.ho-tree { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 3px; }
.ho-prog { width: 220px; height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; } .ho-prog i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
@media (max-width: 1100px) { .ho-grid { grid-template-columns: 240px minmax(0, 1fr); height: auto; } .ho-grid .ho-col:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); } .ho-col { max-height: 560px; } }
@media (max-width: 700px) { .ho-grid { grid-template-columns: 1fr; } .ho-col { border-right: 0; border-bottom: 1px solid var(--line); max-height: 420px; } }

/* ======================================================================
   Monochrome studio map + Desk
   ====================================================================== */
.mp-sea { fill: var(--bg); } .mp-grat { stroke: var(--ink); opacity: .07; stroke-dasharray: 1 5; }
.mp-cont { fill: var(--surface); stroke: var(--ink); stroke-width: .7; opacity: .9; }
.mp-arc { stroke: var(--ink); opacity: .3; stroke-width: 1; }
.mp-city circle { fill: var(--ink); } .mp-city .halo { fill: var(--ink); opacity: .1; }
.desk { position: relative; margin: -8px 0 0; min-height: calc(100vh - 120px); }
.desk-map { position: absolute; inset: -24px -24px auto; height: 560px; opacity: .55; cursor: pointer; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.desk-map .mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk-map .mp-sea { fill: transparent; }
.desk-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; pointer-events: none; }
.desk-in > * { pointer-events: auto; }
.desk-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 24px 0 8px; }
.desk-greet { font-size: 15px; color: var(--ink-2); }
.desk-clock { font-family: var(--serif); font-size: clamp(72px, 11vw, 132px); line-height: .95; letter-spacing: -.02em; }
.desk-date { font-size: 15px; margin-top: 6px; }
.desk-tz { display: flex; gap: 16px; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; } .desk-tz b { color: var(--ink-2); font-weight: 500; }
.flow-go { display: flex; align-items: center; gap: 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); padding: 14px 26px 14px 18px; cursor: pointer; text-align: left; box-shadow: var(--shadow-lg); transition: transform .15s; }
.flow-go:hover { transform: translateY(-1px); }
.flow-go svg { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--accent); color: #fff; }
.flow-go b { display: block; font-size: 17px; } .flow-go i { font-style: normal; font-size: 12px; opacity: .65; }
.desk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.dcard { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; min-width: 0; }
.d-cont { grid-column: span 7; } .d-todo { grid-column: span 5; } .d-night { grid-column: span 6; } .d-play { grid-column: span 6; } .d-msg { grid-column: span 6; } .d-day { grid-column: span 6; }
.d-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; } .d-h span { letter-spacing: 0; text-transform: none; font-size: 12px; }
.d-cont-in { display: flex; gap: 16px; align-items: stretch; }
.d-snap { position: relative; flex: none; width: 46%; aspect-ratio: 56 / 30; border-radius: 14px; overflow: hidden; background: var(--bg); }
.d-snap img { width: 100%; height: 100%; object-fit: cover; display: block; } .d-snap .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; border: 0; }
.d-file { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 6px 0 4px; word-break: break-word; }
.d-check { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.d-check input { width: 18px; height: 18px; accent-color: var(--ink); } .d-check.done .grow { text-decoration: line-through; color: var(--ink-3); }
.d-add input { width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 10px 2px 2px; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.d-ev { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 10px 2px; cursor: pointer; font-size: 13.5px; }
.d-ev.seen { opacity: .55; } .d-ev.held { background: var(--accent-soft); border-radius: 12px; padding: 10px; border: 0; margin-bottom: 4px; }
.d-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); } .d-ic svg { width: 16px; height: 16px; }
.d-ic.k-render { background: var(--info-soft); color: var(--info); } .d-ic.k-agent { background: var(--accent-soft); color: var(--accent); } .d-ic.k-build { background: var(--ok-soft); color: var(--ok); }
.d-m { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 10px 2px; cursor: pointer; }
.d-slot { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; } .d-slot b { min-width: 46px; font-weight: 600; }
.d-hot { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; } .d-hot svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.d-now { display: flex; gap: 12px; align-items: center; }
.d-eq { display: flex; align-items: flex-end; gap: 3px; width: 34px; height: 30px; padding: 6px; border-radius: 10px; background: var(--ink); box-sizing: border-box; }
.d-eq i { flex: 1; height: 30%; background: var(--bg); border-radius: 1px; } .d-eq.on i { animation: deq 1s infinite ease-in-out; } .d-eq.on i:nth-child(2) { animation-delay: -.3s; } .d-eq.on i:nth-child(3) { animation-delay: -.6s; } .d-eq.on i:nth-child(4) { animation-delay: -.15s; }
@keyframes deq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.d-ctl { display: flex; gap: 8px; justify-content: center; margin: 12px 0; } .d-ctl button { border: 0; background: var(--bg); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; } .d-ctl .big { width: 48px; height: 48px; background: var(--ink); color: var(--bg); font-size: 16px; }
.d-lists { display: flex; flex-wrap: wrap; gap: 5px; } .d-lists button { border: 1px solid var(--line); background: none; color: var(--ink-2); border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; } .d-lists button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.d-rh { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); } .d-rh button { border: 0; background: var(--info-soft); color: var(--ink); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.desk-mapbtn { align-self: center; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-size: 13.5px; } .desk-mapbtn svg { width: 16px; height: 16px; }
.flow { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: grid; place-items: center; }
.flow-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 24px; max-width: 760px; }
.flow-task { font-size: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.flow-t { font-family: var(--serif); font-size: clamp(96px, 18vw, 200px); line-height: .9; }
.flow-meta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--ink-2); } .flow-meta span { display: flex; align-items: center; gap: 6px; } .flow-meta svg { width: 14px; height: 14px; }
@media (max-width: 1000px) { .desk-grid > .dcard { grid-column: span 6; } .desk-grid > .d-cont { grid-column: span 12; } }
@media (max-width: 700px) { .desk-grid > .dcard, .desk-grid > .d-cont { grid-column: span 12; } .d-cont-in { flex-direction: column; } .d-snap { width: 100%; } .desk-map { height: 340px; } .flow-go, .desk-flowbtn { width: 100%; } }

/* role desks: every role has its own question and its own numbers */
.desk-q { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; max-width: 16ch; margin-top: 6px; }
.desk-date b { font-weight: 600; }
.rd-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.rd-hero > div { background: color-mix(in srgb, var(--surface) 92%, transparent); padding: 16px 18px; border-top: 3px solid transparent; }
.rd-v { font-family: var(--serif); font-size: 40px; line-height: 1; margin-bottom: 6px; }
.rd-hero .lv-ok { border-top-color: var(--ok); } .rd-hero .lv-warn { border-top-color: var(--warn); } .rd-hero .lv-risk { border-top-color: var(--risk); }
.rd-hero .lv-risk .rd-v { color: var(--risk); }
.rd-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 10px 2px; cursor: pointer; font-size: 14px; }
.rd-row:hover { background: var(--bg); }
.rd-k { flex: none; min-width: 44px; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 3px 6px; border-radius: 6px; background: var(--bg); text-align: center; }
.rd-r { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-row.lv-risk .rd-k { background: var(--risk-soft); color: var(--risk); } .rd-row.lv-warn .rd-k { background: var(--warn-soft); color: var(--warn); } .rd-row.lv-ok .rd-k { background: var(--ok-soft); color: var(--ok); }
.d-more { border: 0; background: none; color: var(--ink-3); font-size: 12px; cursor: pointer; letter-spacing: 0; text-transform: none; }
.d-more:hover { color: var(--ink); }
.heat { display: grid; grid-template-columns: 70px repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; }
.heat b { font-size: 11px; color: var(--ink-3); text-align: center; font-weight: 500; }
.heat i { font-style: normal; text-align: center; font-size: 11.5px; padding: 7px 0; border-radius: 6px; font-variant-numeric: tabular-nums; }
.heat .h0 { background: var(--bg); color: var(--ink-3); } .heat .h1 { background: var(--ok-soft); } .heat .h2 { background: var(--warn-soft); } .heat .h3 { background: var(--risk-soft); color: var(--risk); font-weight: 600; }
.tone-ink .flow-go svg { background: var(--ink); outline: 1px solid var(--bg); }
.tone-info .flow-go svg { background: var(--info); } .tone-ok .flow-go svg { background: var(--ok); } .tone-warn .flow-go svg { background: var(--warn); }
@media (max-width: 1000px) { .rd-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); } .desk-grid > .dcard[style] { grid-column: span 12 !important; } }

/* ======================================================================
   Calls & screens
   ====================================================================== */
.cl-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.cl-p { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; }
.cl-p:hover { border-color: var(--ink); } .cl-p.off { opacity: .5; }
.cl-stage { display: flex; flex-direction: column; gap: 10px; background: #121110; color: #f4efe6; border-radius: 20px; padding: 12px; margin: -6px 0 0; }
.cl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 2px 4px; }
.cl-top .row { gap: 10px; } .cl-top .faint { color: rgba(244,239,230,.6); }
.cl-net { color: rgba(244,239,230,.7); background: rgba(255,255,255,.06); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.cl-main { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 10px; }
.cl-win { border-radius: 14px; overflow: hidden; background: #1f2124; display: flex; flex-direction: column; min-height: 520px; }
.cl-wbar { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #2a2c30; font-size: 12px; color: #aeb4bd; }
.cl-wbar .dots { display: flex; gap: 5px; } .cl-wbar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #4a4d52; }
.cl-ctl { display: flex; align-items: center; gap: 6px; background: #3b82f6; color: #fff; padding: 3px 10px; border-radius: 999px; } .cl-ctl svg { width: 13px; height: 13px; }
.cl-view { position: relative; flex: 1; min-height: 460px; }
#call-win { position: absolute; inset: 0; } #call-win canvas { width: 100%; height: 100%; display: block; }
#call-draw { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#call-draw.on { pointer-events: auto; cursor: crosshair; }
.cl-cursor { position: absolute; left: 40%; top: 40%; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; animation: clc 6s infinite ease-in-out; }
.cl-cursor svg { width: 18px; height: 18px; fill: #3b82f6; stroke: #fff; stroke-width: 1; } .cl-cursor span { background: #3b82f6; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 6px; margin-top: 14px; }
@keyframes clc { 0% { left: 40%; top: 40%; } 25% { left: 62%; top: 52%; } 50% { left: 55%; top: 30%; } 75% { left: 30%; top: 58%; } 100% { left: 40%; top: 40%; } }
.cl-side { display: flex; flex-direction: column; gap: 8px; }
.cl-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: radial-gradient(circle at 30% 20%, #3a342c, #1a1816); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; border: 2px solid transparent; }
.cl-tile.talk { border-color: #22a06b; box-shadow: 0 0 0 3px rgba(34,160,107,.25); }
.cl-tile em { position: absolute; right: 6px; top: 4px; font-style: normal; }
.cl-side .btn { color: #f4efe6; border-color: rgba(255,255,255,.15); }
.cl-bar { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 4px; }
.cl-bar button, .cl-share { display: flex; align-items: center; gap: 6px; border: 0; background: rgba(255,255,255,.08); color: #f4efe6; border-radius: 12px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.cl-bar button span { font-size: 12px; } .cl-bar button.on { background: #f4efe6; color: #121110; } .cl-bar button.off { background: rgba(229,83,75,.25); }
.cl-bar .end { background: #e5534b; color: #fff; font-weight: 600; }
.cl-share select { background: none; border: 0; color: inherit; font: inherit; font-size: 12px; } .cl-share option { color: #000; }
@media (max-width: 900px) { .cl-main { grid-template-columns: 1fr; } .cl-side { flex-direction: row; overflow-x: auto; } .cl-tile { flex: none; width: 110px; } .cl-win { min-height: 360px; } .cl-view { min-height: 300px; } }

/* ======================================================================
   Brand pass — after yodezeen.com: grotesk (Neue Haas / Helvetica Neue), uppercase headlines with tight
   tracking, warm light grey, graphite ink, pill buttons, monochrome; colour only for status.
   ====================================================================== */
:root {
  --bg: #EFEEEC; --surface: #F8F7F5; --surface-2: #E7E5E2; --surface-3: #DCDAD6;
  --ink: #2D2A2A; --ink-2: #5F5B59; --ink-3: #97928F; --line: #DCDAD6;
  --accent: #2D2A2A; --accent-ink: #F8F7F5; --accent-soft: #E4E2DE;
  --ok: #4F7A5C; --ok-soft: #E1EAE2; --warn: #9C7424; --warn-soft: #F1E8D6; --risk: #A9503D; --risk-soft: #F2E1DB; --info: #4D6378; --info-soft: #E1E7EC;
  --serif: "Neue Haas Grotesk Display Pro", "NeueHaasDisplayPro", "Helvetica Neue", "HelveticaNeueCyr", "Inter Tight", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", "HelveticaNeueCyr", "Inter Tight", Helvetica, Arial, sans-serif;
  --radius: 16px;
}
:root[data-theme="dark"] {
  --bg: #161515; --surface: #1E1D1D; --surface-2: #252323; --surface-3: #2E2C2C;
  --ink: #ECEAE7; --ink-2: #B4AFAB; --ink-3: #7E7976; --line: #2F2D2D;
  --accent: #ECEAE7; --accent-ink: #161515; --accent-soft: #2B2929;
}
body { font-weight: 450; letter-spacing: .01em; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1.hero { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: -.03em; font-size: 46px; line-height: .98; }
h2.sec, .card h3, .modal h2 { font-family: var(--serif); letter-spacing: -.01em; }
.eyebrow { letter-spacing: .14em; font-weight: 500; }
.btn { border-radius: 999px; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { filter: none; opacity: .88; }
.desk-clock, .flow-t, .rd-v, .yp-hv, .d-file { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.desk-clock { font-weight: 400; }
.desk-q { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; max-width: 18ch; }
.flow-go svg { background: var(--bg); color: var(--ink); }
.tone-info .flow-go svg, .tone-ok .flow-go svg, .tone-warn .flow-go svg, .tone-ink .flow-go svg { background: var(--bg); color: var(--ink); outline: 0; }
.dcard { border-radius: 18px; background: var(--surface); backdrop-filter: none; }
.ax-pan { position: absolute; inset: -4%; animation: axpan 28s ease-in-out infinite alternate; }
.ax-pan svg { width: 100%; height: 100%; display: block; }
@keyframes axpan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, -1%); } }
#call-win, #lb-host { overflow: hidden; }
.p3d img, .d-snap img { background: var(--bg); }

/* ---------- entrance: one door for the team, clients and contractors ---------- */
.entry { position: fixed; inset: 0; z-index: 80; overflow-y: auto; background: #0f0e0e; color: #f3f1ee; font-family: var(--sans); }
.entry-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 20% 15%, #d9a96a 0%, #8d6a45 18%, #3a3027 42%, #141312 75%); }
.entry-hero.photo { background: #141312 url(assets/login-hero.jpg) center/cover no-repeat; }
.entry-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.1) 40%, rgba(0,0,0,.65)); pointer-events: none; }
.entry-art { position: absolute; inset: 8% 0 0 22%; opacity: .9; mix-blend-mode: screen; }
.entry-art svg { width: 100%; height: 100%; }
.entry-nav { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 32px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.entry-nav .l { display: flex; gap: 28px; opacity: .85; } .entry-nav .r { display: flex; justify-content: flex-end; gap: 10px; }
.entry-nav .logo svg { height: 16px; } .entry-nav .logo svg * { fill: #f3f1ee !important; }
.entry .pill { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #f3f1ee; border-radius: 999px; padding: 7px 16px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); }
.entry .pill.solid { background: #f3f1ee; color: #1a1818; border-color: #f3f1ee; }
.entry-mid { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 32px 40px; gap: 26px; }
.entry-h { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(40px, 7.4vw, 108px); max-width: 15ch; }
.entry-h em { font-style: normal; opacity: .45; }
.entry-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1100px; }
.door { text-align: left; border: 1px solid rgba(255,255,255,.22); background: rgba(20,19,18,.45); backdrop-filter: blur(16px); color: #f3f1ee; border-radius: 18px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: background .2s, border-color .2s; }
.door:hover, .door.on { background: rgba(243,241,238,.12); border-color: rgba(255,255,255,.6); }
.door b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; } .door span { font-size: 13px; opacity: .7; line-height: 1.4; }
.entry-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 1100px; }
.entry-form .who { display: flex; gap: 6px; flex-wrap: wrap; }
.entry-form .who button { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(20,19,18,.4); color: #f3f1ee; border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer; font-size: 13px; }
.entry-form .who button.on { background: #f3f1ee; color: #1a1818; }
.entry-form .who .avatar { width: 26px; height: 26px; font-size: 9px; }
.entry-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 14px 32px 22px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.entry .face { width: 64px; height: 64px; color: #f3f1ee; margin: 0; }
@media (max-width: 800px) { .entry-doors { grid-template-columns: 1fr; } .entry-nav { grid-template-columns: auto 1fr; } .entry-nav .l { display: none; } .entry-mid { padding: 0 18px 28px; } .entry-nav { padding: 16px 18px; } .entry-art { inset: 10% -30% 30% 0; } }
.entry-hero.photo .entry-art { display: none; }

/* plugin tasks + Corona VFB */
.pl-task { padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; background: var(--surface); }
.pl-task.active { border-color: var(--ok); } .pl-task.review { border-color: var(--warn); } .pl-task.done { opacity: .6; }
.vfb { position: absolute; right: 14px; top: 14px; width: min(78%, 520px); background: #18191b; border: 1px solid #000; border-radius: 10px; box-shadow: 0 18px 48px rgba(0,0,0,.5); overflow: hidden; color: #c9ced6; z-index: 3; }
.vfb-h { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; background: #232427; font-size: 12px; } .vfb-h .iconbtn { width: 24px; height: 24px; border: 0; color: #c9ced6; }
.vfb-img { position: relative; aspect-ratio: 640 / 380; background: #0e0e0f; }
.vfb-img img { width: 100%; height: 100%; display: block; transition: clip-path .25s; }
.vfb-noise { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.12) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; pointer-events: none; }
.vfb-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #232427; }
.rv-img { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg); } .rv-img img { width: 100%; display: block; } .rv-img .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; border: 0; }

.pill.priv { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.pill.priv svg { width: 15px; height: 15px; } .pill.priv.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.d-map { margin-top: 4px; } .d-mapin { position: relative; aspect-ratio: 1000 / 440; border-radius: 12px; overflow: hidden; background: var(--bg); cursor: pointer; }
.d-mapin .mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk { min-height: 0; } .desk-in { pointer-events: auto; }
/* shell page */
.sh { display: flex; flex-direction: column; gap: 18px; }
.sh-hero { padding: 18px 0 6px; } .sh-h { font-size: clamp(40px, 6vw, 84px); max-width: 16ch; line-height: .94; }
.sh-surf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-s { display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer; color: var(--ink); }
.sh-s b { font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.sh-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; }
.sh-arch { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.sh-lay { padding: 12px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; } .sh-lay.dark { background: var(--ink); color: var(--bg); } .sh-lay.dark .eyebrow { color: var(--bg); opacity: .6; } .sh-lay.dark .tag { background: rgba(255,255,255,.1); color: var(--bg); border-color: transparent; }
.sh-arrow { text-align: center; font-size: 12px; color: var(--ink-3); }
.sh-hud { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--bg); padding: 10px 12px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: 13.5px; max-width: calc(100% - 32px); }
.sh-hud button { border: 0; background: var(--bg); color: var(--ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
@media (max-width: 1000px) { .sh-surf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sh-surf { grid-template-columns: 1fr; } }

/* ======================================================================
   One channel · Studio feed · Reel studio
   ====================================================================== */
.ib { display: grid; grid-template-columns: 320px minmax(0, 1fr) 280px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); min-height: 600px; }
.ib-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 720px; }
.ib-row { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); padding: 12px 14px; cursor: pointer; }
.ib-row:hover { background: var(--bg); } .ib-row.on { background: var(--ink); color: var(--bg); } .ib-row.on .faint, .ib-row.on .muted { color: var(--bg); opacity: .7; }
.ib-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ib-ch { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.ib-ch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ib-row.on .ib-ch { color: var(--bg); } .ib-row.on .ib-ch::before { background: var(--bg); }
.ib-read { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ib-bubble { align-self: flex-start; max-width: 80%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--bg); font-size: 14.5px; }
.ib-bubble.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--bg); } .ib-bubble.me .faint { color: var(--bg); opacity: .65; }
.ib-att { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--ink-2); } .ib-att svg { width: 14px; height: 14px; }
.ib-sugg { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; } .ib-sugg svg { width: 15px; height: 15px; flex: none; } .ib-sugg .small { flex: 1; }
.ib-reply { display: flex; gap: 8px; margin-top: auto; } .ib-reply input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit; background: var(--bg); color: var(--ink); }
.ib-api { border-left: 1px solid var(--line); padding: 16px; overflow-y: auto; max-height: 720px; }
.ib-conn { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fd { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.fd-col { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.fd-new { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.fd-new input { flex: 1; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.fd-post { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.fd-post.pinned { border-color: var(--ink); } .fd-post .tag svg { width: 12px; height: 12px; }
.fd-t { font-size: 15.5px; line-height: 1.5; }
.fd-hello { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg); }
.fd-img { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg); } .fd-img img { width: 100%; display: block; } .fd-img .code { position: absolute; left: 10px; top: 10px; z-index: 1; }
.fd-poll { display: flex; flex-direction: column; gap: 6px; }
.fd-poll button { position: relative; overflow: hidden; display: flex; justify-content: space-between; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; text-align: left; }
.fd-poll button i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-soft); z-index: 0; } .fd-poll button span, .fd-poll button b { position: relative; } .fd-poll button.on { border-color: var(--ink); }
.fd-must { display: flex; align-items: center; gap: 12px; }
.fd-bar { display: flex; align-items: center; gap: 6px; } .fd-bar > button:not(.btn) { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 13px; color: var(--ink); } .fd-bar > button.on { background: var(--ink); color: var(--bg); }
.fd-bar svg { width: 13px; height: 13px; vertical-align: -2px; }
.fd-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; }
.rl { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; }
.rl-bin { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 14px; max-height: 760px; overflow-y: auto; }
.rl-bi { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 8px 2px; cursor: pointer; }
.rl-th { flex: none; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--bg); }
.rl-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rl-stage { display: flex; justify-content: center; background: #121111; border-radius: 18px; padding: 18px; min-height: 420px; align-items: center; }
.rl-screen { position: relative; height: min(62vh, 560px); max-width: 100%; border-radius: 10px; overflow: hidden; background: #000; }
.rl-img { width: 100%; height: 100%; overflow: hidden; } .rl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-img.kb img { animation: rlkb 4s ease-out forwards; } @keyframes rlkb { from { transform: scale(1.12); } to { transform: scale(1); } }
.rl-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; display: flex; flex-direction: column; } .rl-cap span { font-size: 11px; letter-spacing: .12em; opacity: .7; } .rl-cap b { font-family: var(--serif); font-size: 26px; text-transform: uppercase; letter-spacing: -.02em; }
.rl-title { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: #1a1818; color: #f3f1ee; text-align: center; padding: 10px; }
.rl-title b { font-family: var(--serif); text-transform: uppercase; letter-spacing: -.03em; font-size: 11px; line-height: 1; } .rl-title span { font-size: 6px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.rl-title.big b { font-size: clamp(28px, 4vw, 52px); } .rl-title.big span { font-size: 12px; }
.rl-prog { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.2); } .rl-prog i { display: block; height: 100%; background: #fff; transition: width .3s; }
.rl-ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .rl-ctl select { font: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; background: var(--surface); color: var(--ink); }
.rl-tl { display: flex; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow-x: auto; min-height: 120px; }
.rl-clip { position: relative; min-width: 96px; border: 2px solid transparent; border-radius: 10px; background: var(--bg); cursor: pointer; display: flex; flex-direction: column; overflow: hidden; }
.rl-clip.on { border-color: var(--ink); } .rl-clip.now { border-color: #e5534b; }
.rl-cth { height: 56px; } .rl-cm { display: flex; justify-content: space-between; gap: 6px; padding: 5px 7px; font-size: 11px; } .rl-cm b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-ops { position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; } .rl-ops button { border: 0; background: rgba(0,0,0,.65); color: #fff; width: 20px; height: 20px; border-radius: 5px; font-size: 11px; cursor: pointer; }
@media (max-width: 1100px) { .ib { grid-template-columns: 280px minmax(0, 1fr); } .ib-api { display: none; } .fd { grid-template-columns: 1fr; } .fd-side { position: static; } .rl { grid-template-columns: 1fr; } .rl-bin { max-height: 300px; } }
@media (max-width: 700px) { .ib { grid-template-columns: 1fr; } .ib-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); } .rl-screen { height: 52vh; } }
.entry { overflow-x: hidden; } .entry-hero { overflow: hidden; } @media (max-width: 800px) { .entry-foot { flex-direction: column; gap: 4px; padding: 12px 18px 18px; } }

/* ======================================================================
   Knowledge base · AI studio canvas
   ====================================================================== */
.kb { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.kb-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 80px; }
.kb-nav button { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 10px 12px; cursor: pointer; }
.kb-nav button b { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; } .kb-nav button span { font-size: 12px; color: var(--ink-3); }
.kb-nav button i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--ok); }
.kb-nav button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); } .kb-nav button.on span { color: var(--bg); opacity: .7; }
.kb-main { display: flex; flex-direction: column; gap: 14px; }
.kb-l { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.kb-l.done { border-color: var(--ok); }
.kb-pic { background: var(--bg); display: grid; place-items: center; padding: 18px; color: var(--ink); min-height: 200px; }
.kb-svg { width: 100%; max-width: 420px; height: auto; }
.kb-big { font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-size: 44px; letter-spacing: -.03em; opacity: .85; text-align: center; }
.kb-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.kb-body h3 { margin: 0; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; }
.kb-body dl { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 6px 10px; margin: 0; font-size: 14px; }
.kb-body dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; } .kb-body dt.ok { color: var(--ok); } .kb-body dt.no { color: var(--risk); }
.kb-body dd { margin: 0; } .kb-body .btn { align-self: flex-start; }
.an-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.an-top select { font: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; background: var(--surface); color: var(--ink); }
.an { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; }
.an-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background-color: var(--bg); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; min-height: 460px; max-height: 640px; }
.an-cv { position: relative; margin: 20px; }
.an-wires { position: absolute; inset: 0; pointer-events: none; }
.an-w { fill: none; stroke: var(--ink-3); stroke-width: 1.6; } .an-w.done { stroke: var(--ok); stroke-width: 2.2; } .an-w.run { stroke: var(--ink); stroke-dasharray: 6 5; animation: anw 1s linear infinite; }
@keyframes anw { to { stroke-dashoffset: -22; } }
.an-node { position: absolute; width: 180px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; user-select: none; }
.an-node.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.an-node.s-done { border-color: var(--ok); } .an-node.s-waiting { border-color: var(--warn); } .an-node.s-blocked, .an-node.lk { border-color: var(--risk); } .an-node.s-running { border-color: var(--ink); }
.an-h { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); cursor: grab; }
.an-h svg { width: 13px; height: 13px; } .an-h span { flex: 1; } .an-ok { font-style: normal; font-size: 12px; }
.an-node.t-gate .an-h { background: var(--warn-soft); } .an-node.t-vid .an-h, .an-node.t-img .an-h { background: var(--accent-soft); }
.an-n { padding: 8px 10px 2px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.an-e { padding: 0 10px; font-size: 11.5px; color: var(--ink-3); }
.an-st { padding: 6px 10px 10px; font-size: 12px; min-height: 30px; display: flex; align-items: center; }
.an-bar { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; } .an-bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.an-ins { max-height: 640px; overflow-y: auto; }
.an-eng { display: flex; gap: 8px; align-items: flex-start; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 8px 10px; margin-bottom: 6px; cursor: pointer; }
.an-eng.on { border-color: var(--ink); background: var(--bg); } .an-eng:disabled { opacity: .45; cursor: not-allowed; }
.an-prompt { margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--bg); font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; line-height: 1.5; }
.an-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; } .an-tbl th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 6px 8px; } .an-tbl td { padding: 9px 8px; border-top: 1px solid var(--line); vertical-align: top; }
@media (max-width: 1000px) { .kb { grid-template-columns: 1fr; } .kb-nav { position: static; flex-direction: row; overflow-x: auto; } .kb-nav button { min-width: 180px; } .kb-l { grid-template-columns: 1fr; } .an { grid-template-columns: 1fr; } .an-tbl { display: block; overflow-x: auto; } }
/* channel: groups, important, devices */
.ib.ib4 { grid-template-columns: 210px 300px minmax(0, 1fr) 270px; }
.ib-groups { border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; max-height: 720px; }
.ib-g { display: flex; gap: 6px; align-items: center; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 13px; }
.ib-g:hover { background: var(--bg); } .ib-g.on { background: var(--ink); color: var(--bg); } .ib-g b { font-size: 11px; opacity: .7; }
.ib-g .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-gh { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 4px; }
.ib-newg input { width: 100%; border: 1px dashed var(--line); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 12.5px; background: none; color: var(--ink); margin-top: 6px; }
.ib-row.vip b { color: var(--ink); } .ib-row.vip { box-shadow: inset 3px 0 0 var(--warn); }
.ib-addg { font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; background: var(--surface); color: var(--ink); }
.ib-rule { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ib-dev { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.ib-dev.d-away { background: var(--warn-soft); } .ib-dev.d-focus { background: var(--ink); color: var(--bg); }
@media (max-width: 1300px) { .ib.ib4 { grid-template-columns: 190px 280px minmax(0, 1fr); } }
@media (max-width: 1000px) { .ib.ib4 { grid-template-columns: 1fr; } .ib-groups { flex-direction: row; flex-wrap: wrap; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); } .ib-g { width: auto; } .ib-gh, .ib-newg { display: none; } }
@media (max-width: 1300px) and (min-width: 1001px) { .ib.ib4 .ib-api { display: block; grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); max-height: none; } }
/* R&D portal */
.rd-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rd-case { display: flex; flex-direction: column; } .rd-case .btn { align-self: flex-start; margin-top: auto; }
.rd-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.rd-n.pinned { border-color: var(--ink); } .rd-n.unv { border-style: dashed; border-color: var(--risk); }
.rd-nt { font-family: var(--serif); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; margin: 8px 0 6px; }
.rd-step { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .rd-step:first-child { border-top: 0; }
.rd-sn { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--bg); }
.rd-step.done .rd-sn { background: var(--ok); color: #fff; } .rd-step.now .rd-sn { background: var(--ink); color: var(--bg); } .rd-step.stop .rd-sn { background: var(--risk); color: #fff; }
.rd-json { margin: 0; font-size: 11.5px; line-height: 1.45; background: var(--bg); border-radius: 10px; padding: 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
/* money, procurement, site, access, sales, portfolio, master plan, migration */
.co-flow { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.co-flow i { font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-3); }
.co-flow i.on { background: var(--ink); color: var(--bg); }
.dcard.co.late { border-color: var(--risk); }
.cs-ph { width: 120px; height: 75px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.ac td, .ac th { text-align: center; } .ac td:first-child { text-align: left; } .ac tr.on td { background: var(--bg); }
.ac-p { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink); cursor: pointer; font: inherit; white-space: nowrap; }
.ac-c { cursor: pointer; white-space: nowrap; }
.sl { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 10px; overflow-x: auto; }
.sl-col { background: var(--bg); border-radius: 16px; padding: 10px; min-height: 300px; display: flex; flex-direction: column; gap: 8px; }
.sl-card { display: flex; flex-direction: column; gap: 4px; } .sl-card .btn { align-self: flex-start; margin-top: 6px; }
.pf-img { border-radius: 12px; overflow: hidden; background: var(--bg); } .pf-img img { width: 100%; display: block; }
.pg-stage { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); perspective: 1400px; height: 520px; display: grid; place-items: center; }
.pg-rot { width: 100%; transition: transform .4s; transform-origin: 50% 50%; } .pg-stage.orbit .pg-rot { width: 78%; }
.pg-svg { width: 100%; display: block; }
.pg-ground { fill: var(--surface); } .pg-water { fill: var(--info-soft); } .pg-site { fill: none; stroke: var(--ink-3); stroke-dasharray: 6 5; }
.pg-road { fill: none; stroke: var(--line); stroke-width: 22; stroke-linecap: round; } .pg-road.sm { stroke-width: 12; }
.pg-tree { fill: var(--ok-soft); stroke: var(--ok); stroke-width: .6; }
.pg-plot { cursor: pointer; } .pg-plot rect:first-child { fill: var(--surface); stroke: var(--ink); stroke-width: 1; }
.pg-plot.s-built rect:first-child { fill: var(--accent-soft); } .pg-plot.s-build rect:first-child { fill: var(--warn-soft); }
.pg-plot.on rect:first-child { stroke-width: 3; } .pg-house { fill: var(--ink); opacity: .8; } .pg-plot text { font-size: 11px; fill: var(--ink); font-weight: 600; }
.pg-lbl { font-size: 13px; fill: var(--ink-2); letter-spacing: .1em; }
.pg-walk { position: relative; border-radius: 18px; overflow: hidden; background: #111; } .pg-walk img { width: 100%; display: block; }
.pg-hud { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; } .pg-hud span { background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.pg-nav { position: absolute; bottom: 14px; right: 14px; display: flex; gap: 8px; }
.mg-s { text-align: left; cursor: pointer; color: var(--ink); } .mg-s.on { border-color: var(--ink); }
@media (max-width: 900px) { .pg-stage { height: 340px; } }
/* new project wizard */
.np-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.np-steps button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; text-align: left; }
.np-steps button b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; flex: none; }
.np-steps button.on { border-color: var(--ink); } .np-steps button.on b { background: var(--ink); color: var(--bg); } .np-steps button.done b { background: var(--ok); color: #fff; } .np-steps button:disabled { opacity: .45; cursor: default; }
.np-f { display: flex; flex-direction: column; gap: 10px; max-width: 640px; } .np-f label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-3); }
.np-f input { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); }
.np-code { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 14px; border-radius: 14px; background: var(--ink); color: var(--bg); } .np-code b { font-size: 40px; font-family: var(--serif); letter-spacing: -.02em; } .np-code .faint { color: var(--bg); opacity: .6; }
.np-map { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.np-svg { width: 100%; display: block; cursor: crosshair; }
.np-poly { fill: rgba(45,42,42,.08); stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 4; } .np-poly.closed { fill: rgba(156,116,36,.18); stroke-dasharray: none; }
.np-pt { fill: var(--surface); stroke: var(--ink); stroke-width: 2; } .np-bp { fill: var(--risk); } .np-north { stroke: var(--ink); stroke-width: 2; } .np-n { font-size: 12px; font-weight: 700; fill: var(--ink); }
.np-stitch { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg); overflow: hidden; }
.np-l { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--risk); border-radius: 50%; }
.np-cross::before, .np-cross::after { content: ""; position: absolute; background: var(--risk); } .np-cross::before { left: 9px; top: -8px; width: 2px; height: 34px; } .np-cross::after { top: 9px; left: -8px; height: 2px; width: 34px; }
@media (max-width: 800px) { .np-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.np-scale line { stroke: var(--ink); stroke-width: 3; } .np-scale text { font-size: 12px; fill: var(--ink); font-weight: 600; }

.mm-pw { padding: 12px; border-radius: 12px; background: var(--bg); margin-top: 8px; }
.d-pc { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }

/* real map (Leaflet) */
.mp-map.lf-host { min-height: 560px; } #lf-map, #np-lf { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.mp-map.lf-host .mp-crumbs { z-index: 500; }
.leaflet-container { font-family: var(--sans); background: var(--bg); }
.lf-ic { background: none; border: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lf-ofc { width: 26px; height: 26px; border-radius: 7px; background: #2d2a2a; color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.lf-l { display: flex; flex-direction: column; background: rgba(255,255,255,.92); border-radius: 8px; padding: 3px 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 12px; color: #2d2a2a; }
.lf-l i { font-style: normal; font-size: 11px; color: #6b6663; }
.lf-pin { min-width: 40px; text-align: center; padding: 4px 6px; border-radius: 8px 8px 8px 2px; background: #4f7a5c; color: #fff; font-weight: 700; font-size: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.lf-pin.h-fire { background: #a9503d; } .lf-pin.h-watch { background: #9c7424; }
.lf-ic.on .lf-pin { outline: 3px solid #2d2a2a; }
.np-map.lf-host { position: relative; height: 520px; }
.np-vx { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #2d2a2a; } .np-vx.first { width: 16px; height: 16px; background: #a9503d; }
.np-basebar { position: absolute; z-index: 500; top: 10px; right: 10px; }

.tl-catbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 10px; gap: 1px; }
.tl-rules { margin-top: 10px; } .tl-rules summary { cursor: pointer; color: var(--ink-2); } .tl-rules .pdot { display: inline-block; vertical-align: middle; }
.lf-far .lf-l { display: none; } .lf-far .lf-ic.ofc .lf-l { display: flex; }

/* pictures in chat messages + full-size view */
.msg-pics { display: grid; gap: 4px; margin-top: 8px; grid-template-columns: repeat(3, 1fr); max-width: 300px; }
.msg-pics.n1 { grid-template-columns: 1fr; max-width: 280px; } .msg-pics.n2 { grid-template-columns: 1fr 1fr; }
.msg-pic { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--surface); aspect-ratio: 4 / 3; }
.msg-pics.n1 .msg-pic { aspect-ratio: 16 / 10; }
.msg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; } .msg-pic:hover img { transform: scale(1.04); }
.msg-play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(20,20,20,.65); color: #fff; display: grid; place-items: center; }
.msg-play.big { width: 64px; height: 64px; }
.pv { position: fixed; inset: 0; z-index: 2000; background: rgba(15,15,15,.82); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.pv-in { position: relative; max-width: min(1100px, 100%); cursor: default; }
.pv-in > img { display: block; width: min(1000px, 92vw); max-width: 100%; object-fit: contain; max-height: calc(100vh - 120px); border-radius: 12px; background: #f4f3f1; }
.pv-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface); color: var(--ink); }

/* ---------- Space: the studio globe with a HUD ---------- */
.earth { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 55%, #ffffff 0%, var(--bg) 62%); color: var(--ink); }
.earth.dk { background: radial-gradient(ellipse at 50% 55%, #24221f 0%, #121110 65%); }
.eg-slot { position: absolute; inset: 0; } .eg { width: 100%; height: 100%; cursor: grab; } .eg:active { cursor: grabbing; }
.eg-off { position: absolute; inset: 60px 40px 120px; display: grid; place-items: center; } .eg-off svg { width: 100%; height: 100%; }
.earth::after { content: ''; position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .55s ease .7s; }
.earth.diving::after { opacity: 1; }
.eg-mk { width: 0; height: 0; overflow: visible; cursor: pointer; user-select: none; transition: opacity .25s; }
.eg-ofc { position: absolute; left: -13px; top: -13px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.eg-y { width: 26px; height: 26px; border-radius: 7px; background: #2d2a2a; color: #fff; display: grid; place-items: center; font: 700 14px var(--serif); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.eg-ofc.mine .eg-y { background: #a9503d; box-shadow: 0 0 0 4px rgba(169,80,61,.25), 0 4px 14px rgba(0,0,0,.25); }
.eg-ofc.on .eg-y { outline: 2px solid var(--ink); outline-offset: 2px; }
.eg-l { display: flex; flex-direction: column; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 8px; padding: 3px 8px; font-size: 12px; color: #2d2a2a; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.eg-l i { font-style: normal; font-size: 11px; color: #6b6663; display: none; }
.eg-ofc.mine .eg-l i, .eg-ofc.on .eg-l i, .eg-mk:hover .eg-l i { display: block; } .eg-mk:hover { z-index: 5; }
.eg-pin { position: absolute; left: -8px; top: -10px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.eg-pin span { padding: 3px 6px; border-radius: 7px 7px 7px 2px; background: #4f7a5c; color: #fff; font-weight: 700; font-size: 10.5px; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.eg-pin.h-fire span { background: #a9503d; } .eg-pin.h-watch span { background: #9c7424; }
.eg-pin em { font-style: normal; font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,.75); border-radius: 6px; padding: 1px 6px; opacity: 0; transition: opacity .2s; }
.eg-mk:hover .eg-pin em, .eg-pin.on em { opacity: 1; } .eg-pin.on span { outline: 2px solid var(--ink); }
.eg-area { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; border: 1px dashed var(--ink-2); background: rgba(45,42,42,.06); }
.eg-tip { background: rgba(20,20,20,.85); color: #fff; padding: 4px 9px; border-radius: 8px; font: 12px var(--sans); }
.earth.dk .eg-l, .earth.dk .eg-pin em { background: rgba(30,28,27,.88); color: #e9e5df; } .earth.dk .eg-l i { color: #a39d96; }
/* HUD */
.eh-top { position: absolute; top: 16px; left: 16px; right: 16px; display: grid; grid-template-columns: minmax(0, 320px) 1fr minmax(0, 210px); gap: 16px; align-items: start; pointer-events: none; }
.eh-top > * { pointer-events: auto; }
.eh-card { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.eh-me { display: flex; gap: 10px; align-items: flex-start; }
.eh-task { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; min-width: 0; } .eh-task .ellipsis { flex: 1; min-width: 0; }
.eh-clock { text-align: center; justify-self: center; pointer-events: none; }
.eh-time { font: 300 clamp(48px, 7vw, 92px)/1 var(--sans); letter-spacing: -.03em; }
.eh-date { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.eh-offs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 10px; pointer-events: auto; }
.eh-offs button { border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 75%, transparent); backdrop-filter: blur(8px); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--ink-2); cursor: pointer; display: flex; gap: 5px; align-items: center; }
.eh-offs button.night { color: var(--ink-3); } .eh-offs button.mine { border-color: var(--ink); color: var(--ink); } .eh-offs i { font-style: normal; }
.eh-lh { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 6px; }
.eh-lay { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--ink-3); cursor: pointer; text-align: left; }
.eh-lay i { width: 26px; height: 14px; border-radius: 7px; background: var(--line); position: relative; transition: background .2s; }
.eh-lay i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: left .2s; }
.eh-lay.on { color: var(--ink); } .eh-lay.on i { background: var(--ink); } .eh-lay.on i::after { left: 14px; }
.eh-right { position: absolute; right: 16px; top: 374px; width: min(340px, calc(100% - 32px)); }
.eh-panel h3 { margin: 4px 0 2px; } .eh-ax { width: 100%; border-radius: 10px; margin-top: 10px; display: block; background: var(--bg); }
.eh-ppl { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; } .eh-pp { position: relative; border: 0; background: none; padding: 0; cursor: pointer; } .eh-pp .mp-dot { position: absolute; right: -1px; bottom: -1px; border: 2px solid var(--surface); }
.eh-hint { position: absolute; right: 0; top: 0; width: 200px; font-size: 12px; color: var(--ink-3); text-align: right; line-height: 1.5; }
.eh-bottom { position: absolute; left: 16px; right: 88px; bottom: 16px; display: flex; gap: 12px; align-items: stretch; }
.eh-tl { flex: 1; min-width: 0; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 6px; }
.eh-tlh { display: flex; align-items: center; gap: 10px; font-size: 13px; } .eh-tlh .btn { margin-left: auto; }
.eh-bar { position: relative; height: 22px; margin-top: 8px; border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 14 - 1px), var(--line) calc(100% / 14 - 1px) calc(100% / 14)); }
.eh-bar > i { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: var(--c, #7a7672); cursor: pointer; min-width: 2px; }
.eh-bar > i.plan { background: transparent; border: 1.5px dashed var(--c, #7a7672); opacity: .8; }
.eh-bar > i.lunch { background: repeating-linear-gradient(45deg, var(--line) 0 4px, transparent 4px 8px); }
.eh-bar > i.afk { background: #b9b4ad; } .eh-bar > i.now { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 35%, transparent); }
.eh-bar > i:hover { filter: brightness(1.12); transform: scaleY(1.15); }
.eh-now { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); border-radius: 1px; }
.eh-now span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10.5px; background: var(--ink); color: var(--bg); padding: 1px 5px; border-radius: 5px; }
.eh-hours { position: relative; height: 16px; font-size: 10.5px; color: var(--ink-3); } .eh-hours span { position: absolute; transform: translateX(-50%); top: 2px; }
.eh-dive { flex: none; width: 92px; border: 0; border-radius: 16px; background: var(--ink); color: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; cursor: pointer; transition: transform .15s; }
.eh-dive:hover { transform: translateY(-2px); } .eh-dive .ico { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .eh-top { grid-template-columns: 1fr; } .eh-layers, .eh-me { display: none; } .eh-time { font-size: 54px; }
  .eh-right { top: auto; bottom: 150px; } .eh-hint { display: none; } .eh-dive { width: 64px; } .eh-tlh .faint { display: none; }
}
.eg-slot { z-index: 0; isolation: isolate; } .eh-top, .eh-right, .eh-bottom { z-index: 2; }
.earth.sat { background: radial-gradient(ellipse at 50% 55%, #1d2733 0%, #0b0e12 65%); }
.earth.sat .eh-time, .earth.sat .eh-date { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.earth.sat .eh-hint { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .eh-bottom { bottom: 72px; right: 72px; left: 10px; } .eh-tlh b { white-space: nowrap; } .eh-tlh .btn { display: none; } .eh-top { top: 10px; left: 10px; right: 10px; } }

.tl-cheer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px; border-radius: 16px; background: linear-gradient(100deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line); }
.tl-cheer-e { font-size: 30px; line-height: 1; } .tl-cheer b { font-size: 15px; } .tl-cheer-n { flex-basis: 100%; margin-left: 44px; margin-top: -6px; }

.d-agents { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.d-agents .grow { min-width: 0; flex: 1 1 260px; } .d-ag-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }

.pr-p { margin-left: 10px; padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .08em; border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); }
.pr-p.win { background: var(--accent); border-color: var(--accent); color: #fff; }
body.presenting [data-a=pt-auto] { display: none; }
body.presenting:has(.earth) .present { bottom: 104px; }
@media (max-width: 780px) { body.presenting:has(.earth) .present { bottom: 150px; } }
.tour-swap { width: 100%; max-width: 320px; gap: 10px; } .tour-swap div { display: grid; grid-template-columns: 1fr 20px 1.3fr; align-items: center; gap: 8px; font-size: 14px; }
.tour-swap s { color: var(--ink-3); } .tour-swap i { font-style: normal; color: var(--ink-3); } .tour-swap b { font-weight: 500; }
.ab-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; max-width: 980px; }
.ab-g { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.ab-g:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.ab-g span { grid-row: span 2; font-size: 22px; font-weight: 300; color: var(--ink-3); line-height: 1; }
.ab-g b { font-weight: 500; font-size: 14.5px; } .ab-g small { color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
@media (max-width: 860px) { .ab-guide { grid-template-columns: 1fr; } }
.wins .win:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.pr-top .tnum, .pt-top .tnum { white-space: nowrap; }
@media (max-width: 780px) {
  .present { padding: 12px 14px 10px; }
  .pr-top { padding-right: 0; gap: 8px; } .pr-top .eyebrow { font-size: 10px; }
  .pr-ctl { position: static; justify-content: space-between; margin-top: 10px; } .pr-ctl .iconbtn { width: 40px; height: 34px; }
  .pr-p { display: none; }
  .pr-cap { font-size: 17px; margin: 4px 0 10px; }
}
.st-mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .st-mgrid .check { min-width: 0; } .st-mgrid .ico { width: 14px; height: 14px; flex: none; color: var(--ink-3); }
.st-mods { max-height: 46vh; overflow: auto; padding-right: 4px; }
@media (max-width: 640px) { .st-mgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .tour { max-height: calc(100dvh - 40px); overflow: auto; }
  .tour .vis { min-height: 150px; height: 150px; }
  .tour .txt { gap: 10px; } .tour ul { font-size: 13px; gap: 4px; }
}
.d-guide { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 10px 10px 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.d-gs { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; min-width: 0; }
.d-gs button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 12px 6px 6px; font: 13px var(--sans); cursor: pointer; }
.d-gs button:hover { border-color: var(--ink-3); } .d-gs b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 500; }
.d-guide .iconbtn { border: 0; width: 28px; height: 28px; }
.pr-ctl .iconbtn.on { background: var(--bg); color: var(--ink); } .pr-ctl .iconbtn:disabled { opacity: .35; cursor: default; }
.pr-end { display: grid; gap: 12px; } .pr-end .pr-cap { margin: 0; }
.pr-end .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); } .pr-end .btn:hover { background: color-mix(in srgb, var(--bg) 12%, transparent); }
.pr-end .iconbtn { background: transparent; border-color: color-mix(in srgb, var(--bg) 25%, transparent); color: var(--bg); margin-left: auto; }
.ent-show { border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; border-radius: 999px; padding: 6px 14px; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; opacity: 1; } .ent-show:hover { background: rgba(255,255,255,.12); }
.entry-foot { align-items: center; }
body:has(.sp-mini) .toasts { bottom: 176px; }
@media (max-width: 780px) { .pt { padding-bottom: 84px !important; } .pt-foot { padding-right: 70px; } }
.rd { width: min(820px, 100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.rd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.rd-body { overflow: auto; padding: 28px clamp(18px, 4vw, 48px) 40px; line-height: 1.6; font-size: 15px; color: var(--ink-2); }
.rd-body h1 { font: 400 clamp(28px, 4vw, 40px)/1.08 var(--serif); text-transform: uppercase; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.rd-body h2 { font: 500 22px/1.2 var(--sans); color: var(--ink); margin: 32px 0 10px; } .rd-body h3 { font-size: 16px; color: var(--ink); margin: 20px 0 6px; }
.rd-body p { margin: 0 0 12px; } .rd-body ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; } .rd-body b { color: var(--ink); font-weight: 600; }
.rd-body code { font-size: 12.5px; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; } .rd-body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.rd-body .tablewrap { margin: 8px 0 16px; } .rd-body table { font-size: 13.5px; }
.rd-body pre { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; font-size: 12px; line-height: 1.5; overflow: auto; white-space: pre; margin: 0 0 14px; }
.rd-body blockquote { margin: 0 0 14px; padding: 4px 14px; border-left: 3px solid var(--line); color: var(--ink-3); } .rd-body ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }

/* globe · time zones, the sun, the picked point; the sun dial; the 3D city */
.eg-zone { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; line-height: 1.1; font-size: 10px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.eg-zone b { font-weight: 500; font-size: 11px; } .eg-zone i { font-style: normal; color: var(--ink-3); font-size: 9px; letter-spacing: .02em; }
.eg-zone.night b { color: var(--ink-3); } .eg-zone.mine b { color: #a9503d; font-weight: 600; }
.earth.sat .eg-zone b, .earth.dk .eg-zone b { color: rgba(255,255,255,.85); } .earth.sat .eg-zone i, .earth.dk .eg-zone i { color: rgba(255,255,255,.5); }
.earth.sat .eg-zone.night b, .earth.dk .eg-zone.night b { color: rgba(255,255,255,.5); } .earth.sat .eg-zone.mine b, .earth.dk .eg-zone.mine b { color: #ffb59f; }
.eg-sun { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #ffd27a 0 45%, rgba(255,190,90,.35) 46% 100%); box-shadow: 0 0 0 6px rgba(255,190,90,.14), 0 0 24px 6px rgba(255,190,90,.35); cursor: pointer; }
.eg-pt { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #a9503d; background: rgba(255,255,255,.9); box-shadow: 0 0 0 5px rgba(169,80,61,.18); }
.eh-sunrow { display: flex; gap: 14px; align-items: center; margin-top: 10px; } .eh-sunrow > div { min-width: 0; }
.eh-sunt { display: flex; gap: 10px; margin: 8px 0 2px; } .eh-sunt span { white-space: nowrap; }
.sun-dial { flex: none; color: var(--ink); } .sun-dial .g { fill: none; stroke: var(--line); } .sun-dial .g.f { stroke-dasharray: 2 3; }
.sun-dial text { font-size: 9px; fill: var(--ink-3); text-anchor: middle; } .sun-dial .p { fill: none; stroke: #e0a24a; stroke-width: 1.5; stroke-dasharray: 3 2; }
.sun-dial .ray { stroke: #e0a24a; stroke-width: 1.5; } .sun-dial .s { fill: #f2b24d; stroke: #fff; stroke-width: 2; }
.sun-dial .ray.off { stroke: var(--ink-3); stroke-dasharray: 2 3; } .sun-dial .s.off { fill: var(--surface-3); stroke: var(--ink-3); stroke-width: 1; }
.c3 { position: fixed; inset: 0; z-index: 90; background: #f3f1ee; } .c3.dk { background: #1b1a1a; color: #e9e5df; }
.c3 .c3-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.eg { position: relative; } .eg .maplibregl-canvas { outline: none; } .eg.zfar .eg-k-zone { display: none; }
.eg-mk { width: 0; height: 0; } .eg.street .eg-l i { display: none; }
.eg-ofc.busy .eg-y::after { content: ''; position: absolute; inset: -4px; border-radius: 10px; border: 2px solid #a9503d; animation: egPulse 1.6s ease-out infinite; }
.eg-y { position: relative; } @keyframes egPulse { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
.eh-range { width: 100%; margin-top: 12px; accent-color: #e0a24a; } .eh-ticks { display: flex; justify-content: space-between; margin-top: -2px; } .eh-scrub { color: #c47f1c; }
.c3.c3-in { position: absolute; z-index: 5; background: transparent; opacity: 0; transition: opacity .7s ease; } .c3.c3-in.c3-on { opacity: 1; }
.c3.c3-in .c3-head, .c3.c3-in .c3-sun { transition: opacity .4s; } .c3.c3-out .c3-head, .c3.c3-out .c3-sun { opacity: 0; }
.earth .eh-top, .earth .eh-right, .earth .eh-bottom { transition: opacity .4s; } .earth.city .eh-top, .earth.city .eh-right, .earth.city .eh-bottom { opacity: 0; pointer-events: none; }
.c3-head { align-items: center; } .c3-proj { display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.18); font: 500 12px var(--sans); cursor: pointer; white-space: nowrap; }
.c3-proj b { background: #c98a76; color: #fff; border-radius: 999px; padding: 2px 7px; font-size: 11px; } .c3-proj.on b { background: #a9503d; } .c3-proj span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.c3-head, .c3-sun { position: absolute; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.c3-head { left: 16px; top: 16px; display: flex; gap: 16px; align-items: flex-start; padding: 12px 12px 12px 16px; max-width: calc(100% - 32px); }
.c3-head b { font-size: 16px; display: block; margin-top: 2px; }
.c3-sun { right: 16px; top: 16px; width: 248px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.c3-now { font-size: 13px; } .c3-range { width: 100%; accent-color: #e0a24a; } .c3-ticks { width: 100%; display: flex; justify-content: space-between; margin-top: -6px; }
.c3-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.c3-pin { width: 26px; height: 26px; border-radius: 50%; background: #a9503d; color: #fff; display: grid; place-items: center; font: 600 12px var(--sans); box-shadow: 0 0 0 5px rgba(169,80,61,.22), 0 4px 14px rgba(0,0,0,.3); }
@media (max-width: 760px) { .c3-sun { top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; } .c3-sun .sun-dial { width: 96px; height: 96px; } }

/* ===== Space · YODEZEEN look: deep space, a lit Earth with its atmosphere, a quiet glass HUD, thin markers ===== */
.earth, .earth.dk, .earth.sat { --bg: #06080b; --surface: #111317; --surface-2: #181b20; --surface-3: #22262c; --ink: #ece8e2; --ink-2: #b4aea6; --line: rgba(255,255,255,.09); color: var(--ink);
  background: radial-gradient(ellipse 70% 60% at 50% 52%, #0f1622 0%, #070a0f 55%, #030405 100%); }
.earth { --ink-3: #7a756f; }
.earth::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1px 1px at 7% 12%, #fff 50%, transparent), radial-gradient(1px 1px at 18% 64%, #fff 50%, transparent), radial-gradient(1px 1px at 27% 31%, #cfd8ff 50%, transparent), radial-gradient(1.5px 1.5px at 36% 88%, #fff 50%, transparent), radial-gradient(1px 1px at 44% 8%, #fff 50%, transparent), radial-gradient(1px 1px at 58% 92%, #ffe9d6 50%, transparent), radial-gradient(1px 1px at 66% 17%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 74% 71%, #fff 50%, transparent), radial-gradient(1px 1px at 83% 38%, #cfd8ff 50%, transparent), radial-gradient(1px 1px at 92% 83%, #fff 50%, transparent), radial-gradient(1px 1px at 96% 9%, #fff 50%, transparent), radial-gradient(1px 1px at 3% 47%, #fff 50%, transparent), radial-gradient(1px 1px at 51% 41%, #fff 50%, transparent), radial-gradient(1px 1px at 12% 93%, #fff 50%, transparent), radial-gradient(1px 1px at 88% 57%, #fff 50%, transparent);
  background-size: 640px 520px; }
.earth::after { background: #f3f1ee; }
.eh-card, .eh-tl { background: rgba(17,19,23,.58); border-color: rgba(255,255,255,.08); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.eh-offs button { background: rgba(17,19,23,.5); border-color: rgba(255,255,255,.08); color: var(--ink-2); }
.eh-offs button.mine { border-color: rgba(255,255,255,.5); color: #fff; }
.eh-time, .eh-date { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.5); } .eh-date { color: rgba(255,255,255,.55); }
.eh-hint { color: rgba(255,255,255,.45); }
.eh-dive { background: #ece8e2; color: #111; }
.eh-lay.on i { background: #ece8e2; } .eh-lay.on i::after { background: #111; }
/* the clock sits over the planet, not over the middle grid column */
.eh-clock { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: max-content; max-width: 100%; }
/* markers: a dot and a whisper of text */
.eg-ofc { left: -5px; top: -5px; gap: 7px; }
.eg-y { width: 10px; height: 10px; border-radius: 50%; background: #fff; font-size: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 0 14px rgba(255,255,255,.5); }
.eg-ofc.mine .eg-y { background: #e0795f; box-shadow: 0 0 0 3px rgba(224,121,95,.25), 0 0 16px rgba(224,121,95,.7); }
.eg-ofc.on .eg-y { outline: 1px solid #fff; outline-offset: 3px; }
.eg-ofc.busy .eg-y::after { inset: -3px; border-radius: 50%; border: 1px solid #e0795f; }
.eg-l, .earth.dk .eg-l { background: rgba(8,10,13,.62); backdrop-filter: blur(6px); color: #f2efea; border-radius: 4px; padding: 2px 7px; box-shadow: none; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.eg-l b { font-weight: 500; } .eg-l i, .earth.dk .eg-l i { color: rgba(255,255,255,.55); letter-spacing: .02em; text-transform: none; font-size: 10.5px; }
.eg-pin { left: -3px; top: -3px; gap: 6px; }
.eg-pin span { width: 6px; height: 6px; padding: 0; border-radius: 50%; font-size: 0; background: #7fb08c; box-shadow: 0 0 0 2px rgba(8,10,13,.55); }
.eg-pin.h-fire span { background: #e0795f; } .eg-pin.h-watch span { background: #d9a74a; }
.eg-pin em, .earth.dk .eg-pin em { opacity: 1; background: rgba(8,10,13,.55); color: rgba(255,255,255,.85); border-radius: 3px; padding: 1px 5px; font-size: 10px; letter-spacing: .04em; }
.eg-pin em::before { content: attr(data-c); font-weight: 600; margin-right: 5px; color: #fff; }
.eg-pin.on span { outline: 1px solid #fff; outline-offset: 3px; }
.eg-area { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.eg-zone b, .earth.sat .eg-zone b, .earth.dk .eg-zone b { color: rgba(255,255,255,.75); font-weight: 400; font-size: 10px; } .eg-zone i, .earth.sat .eg-zone i, .earth.dk .eg-zone i { color: rgba(255,255,255,.38); font-size: 8.5px; }
.eg-zone.night b { color: rgba(255,255,255,.4); } .eg-zone.mine b { color: #f0a08b; }
.eg-pt { border-color: #fff; background: #e0a24a; box-shadow: 0 0 0 4px rgba(224,162,74,.25), 0 0 18px rgba(224,162,74,.6); width: 10px; height: 10px; left: -5px; top: -5px; border-width: 1.5px; }
.eg .maplibregl-ctrl-attrib { background: rgba(8,10,13,.4) !important; } .eg .maplibregl-ctrl-attrib a, .eg .maplibregl-ctrl-attrib { color: rgba(255,255,255,.45) !important; }
.eh-layers { grid-column: 3; }
.eg-atmo { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(170,200,255,.35), inset 0 0 36px 6px rgba(120,165,255,.28), 0 0 0 1px rgba(170,200,255,.18), 0 0 26px 4px rgba(110,160,255,.38), 0 0 110px 30px rgba(60,110,230,.16); transition: opacity .3s; }
.eg .maplibregl-marker { z-index: 2; }
/* down in a lit street the clock turns to ink */
.earth:has(.eg.street) .eh-time { color: #141312; text-shadow: 0 1px 18px rgba(255,255,255,.6); } .earth:has(.eg.street) .eh-date { color: rgba(20,19,18,.6); text-shadow: none; }
.earth:has(.eg.street) .eh-hint { color: rgba(20,19,18,.55); }
/* globe: only offices from orbit; projects come out when you are down at the city */
.eg .eg-k-project { display: none; } .eg.near .eg-k-project { display: block; }
.eg-ofc .eg-l i { display: none; } .eg-ofc.mine .eg-l i, .eg-mk:hover .eg-l i, .eg-ofc.on .eg-l i { display: block; }
/* office panel: a quiet list */
.eh-office { max-height: calc(100vh - 420px); min-height: 0; overflow: auto; }
.eh-stat { display: flex; gap: 14px; margin: 10px 0 4px; color: var(--ink-3); } .eh-stat b { color: var(--ink); font-weight: 500; }
.eh-office .eh-lh { margin: 14px 0 4px; }
.eh-rows { display: flex; flex-direction: column; }
.eh-row { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: none; color: var(--ink); padding: 6px 4px; border-radius: 8px; cursor: pointer; text-align: left; font-size: 13px; min-width: 0; }
.eh-row:hover { background: rgba(255,255,255,.06); } .eh-row .avatar { width: 24px; height: 24px; font-size: 10px; flex: none; }
.eh-row > .ellipsis { flex: 1; min-width: 0; } .eh-row b { font-weight: 500; }
.eh-st { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.eh-hd { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #7fb08c; } .eh-hd.warn { background: #d9a74a; } .eh-hd.risk { background: #e0795f; }
.eh-card, .eh-tl { background: rgba(14,16,19,.84); backdrop-filter: blur(18px) saturate(1.2); }
.eh-row .faint { color: var(--ink-3); }

/* ===== The OS: no side menu. One mark opens everything; the rest is hidden until asked for ===== */
.app, .app.full { grid-template-columns: minmax(0, 1fr); }
.top { padding: 12px 18px; gap: 8px; border-bottom: 0; background: color-mix(in srgb, var(--bg) 78%, transparent); }
.crumbs b { font-weight: 500; font-size: 13.5px; } .crumbs i { font-style: normal; color: var(--ink-3); }
.os-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 6px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
.os-btn:hover, .os-btn.on { background: var(--surface-2); } .os-c { width: 12px; height: 12px; opacity: .55; transition: transform .25s cubic-bezier(.2,.8,.2,1); } .os-btn.on .os-c { transform: rotate(180deg); }
.os { position: relative; }
.os-menu { position: absolute; left: 0; top: calc(100% + 8px); width: 248px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; transform-origin: 20px 0; animation: osIn .22s cubic-bezier(.2,.9,.2,1) both; }
@keyframes osIn { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.os-i { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; border: 0; background: none; color: inherit; border-radius: 11px; padding: 9px 10px; font-size: 14px; text-align: left; cursor: pointer; }
.os-i:hover { background: var(--surface-2); } .os-i.on { font-weight: 600; } .os-i .ico { width: 18px; height: 18px; color: var(--ink-3); } .os-i.on .ico { color: var(--ink); }
.os-b { margin-left: auto; font-style: normal; font-size: 11px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 7px; }
.os-k { position: absolute; right: 18px; margin-top: -31px; pointer-events: none; }
.os-sec { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 6px; margin-top: 6px; border-top: 1px solid var(--line); }
.os-sec:empty { padding: 0; margin: 6px 0; }
.os-menu .eh-lay { padding: 6px 10px; color: var(--ink-3); } .os-menu .eh-lay.on { color: var(--ink); } .os-menu .eh-lay i { background: var(--line); }
.os-menu .eh-lay.on i { background: var(--ink); } .os-menu .eh-lay.on i::after { background: var(--bg); }
.me-btn { padding: 3px; }
.priv.on { background: var(--ink); color: var(--bg); }

/* the Earth is the desktop: the top bar floats on it */
.on-earth .top { position: absolute; left: 0; right: 0; top: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 6; pointer-events: none; }
.on-earth .top > * { pointer-events: auto; } .on-earth .crumbs { visibility: hidden; }
.on-earth .os-btn { background: rgba(14,16,19,.62); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .on-earth .os-btn:hover, .on-earth .os-btn.on { background: rgba(14,16,19,.85); }
.eh-clock { top: 14px; z-index: 2; } .eh-time { font: 200 clamp(32px, 3.6vw, 52px)/1 var(--sans); letter-spacing: -.02em; }
.earth .eh-offs { gap: 16px; margin-top: 6px; }
.earth .eh-offs button { border: 0; background: none; backdrop-filter: none; padding: 2px 0; color: rgba(255,255,255,.5); font-size: 11.5px; transition: color .2s; cursor: pointer; }
.earth .eh-offs button b { font-weight: 400; margin-left: 3px; } .earth .eh-offs button:hover, .earth .eh-offs button.mine, .earth .eh-offs button.on { color: #fff; border: 0; }
.earth:has(.eg.street) .eh-offs button { color: rgba(20,19,18,.55); } .earth:has(.eg.street) .eh-offs button:hover, .earth:has(.eg.street) .eh-offs button.mine, .earth:has(.eg.street) .eh-offs button.on { color: #141312; }
.eh-right { top: 70px; }
.eh-bottom { left: 50%; right: auto; bottom: 30px; transform: translateX(-50%); z-index: 3; }
.eh-go { border: 1px solid rgba(255,255,255,.14); background: rgba(14,16,19,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-radius: 999px; padding: 11px 22px; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.eh-go:hover { background: #fff; color: #111; }
.eh-hint { top: auto; right: auto; left: 50%; bottom: 8px; width: max-content; max-width: 90%; transform: translateX(-50%); text-align: center; font-size: 11.5px; z-index: 2; pointer-events: none; animation: hintOut 9s ease both; }
@keyframes hintOut { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
body.locked .eh-clock, body.locked .eh-bottom, body.locked .eh-hint, body.locked .eh-right, body.locked .top { display: none; }
body.locked .eg-mk { pointer-events: none; }

/* city names: just the word, ink on the lit side and white in the night */
.eg-ofc { left: -3.5px; top: -3.5px; gap: 8px; }
.eg-ofc .eg-y { width: 7px; height: 7px; flex: none; box-shadow: none; transition: transform .2s cubic-bezier(.2,.8,.2,1); } .eg-mk:hover .eg-y { transform: scale(1.5); }
.eg-ofc.nt { color: #fff; text-shadow: 0 0 10px rgba(0,0,0,.65); } .eg-ofc.dy { color: #141312; text-shadow: 0 0 8px rgba(255,255,255,.8); }
.eg-ofc.nt .eg-y { background: #fff; } .eg-ofc.dy .eg-y { background: #141312; }
.eg-ofc.mine .eg-y { background: #e0795f; box-shadow: 0 0 0 3px rgba(224,121,95,.22); }
.eg-ofc.on .eg-y { outline: none; transform: scale(1.5); }
.eg-ofc .eg-l, .earth.dk .eg-ofc .eg-l { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-radius: 0; color: inherit; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.eg-pin { gap: 7px; } .eg-pin span { box-shadow: none; }
.eg-pin em, .earth.dk .eg-pin em { background: none; padding: 0; font-style: normal; font-size: 11.5px; letter-spacing: .01em; }
.eg-pin em::before { content: none; }
.eg-pin.nt em { color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.7); } .eg-pin.dy em { color: #141312; text-shadow: 0 0 8px rgba(255,255,255,.9); }
.earth:not(.sat) .eg-zone:not(.night) b { color: rgba(20,19,18,.6); } .earth:not(.sat) .eg-zone:not(.night) i { color: rgba(20,19,18,.38); }

/* the mini panel, right on the city */
.eg-pop { width: 272px; padding: 14px 16px 14px; border-radius: 18px; background: rgba(14,16,19,.88); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); color: #ece8e2; box-shadow: 0 18px 60px rgba(0,0,0,.45); font-size: 12.5px; z-index: 5; cursor: default; }
.eg-pop::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.eg-pop > * { animation: popUp .34s cubic-bezier(.2,.9,.2,1) both; } .eg-pop > :nth-child(2) { animation-delay: .03s; } .eg-pop > :nth-child(3) { animation-delay: .06s; } .eg-pop > :nth-child(4) { animation-delay: .09s; } .eg-pop > :nth-child(n+5) { animation-delay: .12s; }
@keyframes popUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pop-h { display: flex; justify-content: space-between; align-items: center; } .pop-h b { font: 400 21px/1.1 var(--serif); }
.pop-x { border: 0; background: none; color: rgba(255,255,255,.5); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; } .pop-x:hover { background: rgba(255,255,255,.1); color: #fff; } .pop-x .ico { width: 14px; height: 14px; }
.pop-now { display: flex; align-items: center; gap: 6px; margin: 6px 0 8px; color: rgba(255,255,255,.72); } .pop-now i { width: 6px; height: 6px; border-radius: 50%; background: #8d8780; } .pop-now i.on { background: #7fb08c; }
.pop-l { display: block; color: rgba(255,255,255,.55); line-height: 1.5; text-decoration: none; } a.pop-l:hover { color: #fff; }
.pop-sec { margin: 12px 0 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.pop-ppl { display: flex; flex-wrap: wrap; gap: 6px 12px; } .pop-ppl span { display: inline-flex; align-items: center; gap: 6px; } .pop-ppl em { font-style: normal; } .pop-ppl .avatar { width: 22px; height: 22px; font-size: 9px; }
.pop-pr { display: block; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 3px 0; font-size: 12.5px; cursor: pointer; } .pop-pr:hover { transform: translateX(3px); color: #fff; }
.pop-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .eg-pop .btn { padding: 7px 13px; font-size: 12.5px; background: rgba(255,255,255,.1); border-color: transparent; color: #fff; } .eg-pop .btn:hover { background: rgba(255,255,255,.18); } .eg-pop .btn.primary { background: #ece8e2; color: #111; } .eg-pop .btn.primary:hover { background: #fff; opacity: 1; }

/* Everything: ideas, not tiles */
.w-wrap { position: fixed; inset: 0; z-index: 70; } .w-wrap .scrim { position: absolute; inset: 0; background: var(--scrim); animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.w-sheet { position: absolute; inset: 12px; background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; animation: sheetIn .36s cubic-bezier(.2,.9,.2,1) both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.w-x { position: absolute; right: 16px; top: 16px; z-index: 2; }
.w-nav { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 28px; border-right: 1px solid var(--line); overflow: auto; }
.w-nav button { border: 0; background: none; text-align: left; padding: 7px 0; font: 400 21px/1.2 var(--serif); color: var(--ink-3); cursor: pointer; } .w-nav button:hover { color: var(--ink); transform: translateX(4px); } .w-nav button.on { color: var(--ink); transform: translateX(8px); }
.wo-body { padding: 8vh 48px 40px; overflow: auto; animation: popUp .3s cubic-bezier(.2,.9,.2,1) both; }
.w-line { font: 300 clamp(22px, 2.4vw, 34px)/1.25 var(--serif); margin: 0; max-width: 760px; }
.w-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 16px; margin-top: 30px; }
.w-mod { display: flex; gap: 12px; align-items: flex-start; border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 13px; cursor: pointer; color: var(--ink); animation: popUp .36s cubic-bezier(.2,.9,.2,1) both; }
.w-mod:hover { background: var(--surface-2); } .w-mod .ico { width: 18px; height: 18px; color: var(--ink-3); flex: none; margin-top: 2px; transition: transform .2s cubic-bezier(.2,.8,.2,1); } .w-mod:hover .ico { transform: scale(1.15); color: var(--ink); }
.w-mod span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .w-mod b { font-weight: 500; font-size: 14px; } .w-mod i { font-style: normal; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.w-mod:nth-child(2) { animation-delay: .03s; } .w-mod:nth-child(3) { animation-delay: .06s; } .w-mod:nth-child(4) { animation-delay: .09s; } .w-mod:nth-child(5) { animation-delay: .12s; } .w-mod:nth-child(6) { animation-delay: .15s; } .w-mod:nth-child(n+7) { animation-delay: .18s; }
/* the flow schema: a light runs along the chain */
.fl { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 34px 0 6px; max-width: 760px; }
.fl::before { content: ''; position: absolute; top: 6px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 1px; background: var(--line); }
.fl-n { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-3); text-align: center; animation: flText 5s infinite; animation-delay: calc(var(--i) * 1s); }
.fl-n i { width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 1px solid var(--ink-3); animation: flNode 5s infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes flNode { 0%, 24%, 100% { background: var(--surface); transform: none; } 6%, 14% { background: var(--accent); border-color: var(--accent); transform: scale(1.35); } }
@keyframes flText { 0%, 24%, 100% { color: var(--ink-3); } 6%, 14% { color: var(--ink); } }
.fl-run { display: none; }
.h-sheet { position: absolute; right: 12px; top: 12px; bottom: 12px; width: min(420px, calc(100% - 24px)); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px; overflow: auto; animation: helpIn .32s cubic-bezier(.2,.9,.2,1) both; }
@keyframes helpIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.h-sheet h3 { font: 400 26px/1.15 var(--serif); margin: 0 40px 8px 0; } .h-sheet p { margin: 0 0 14px; line-height: 1.5; } .h-sheet .eyebrow { margin-top: 18px; } .h-sheet .fl { margin: 18px 0 16px; }

/* the demo console: outside the product, on its own */
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 65; }
.demo-btn { border: 1px dashed rgba(127,127,127,.5); background: rgba(14,16,19,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(255,255,255,.8); border-radius: 999px; padding: 6px 13px; font-size: 11px; letter-spacing: .06em; cursor: pointer; } .demo-btn:hover, .demo-btn.on { background: rgba(14,16,19,.9); color: #fff; }
.demo-p { position: absolute; left: 0; bottom: calc(100% + 8px); width: 340px; max-height: 72vh; overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; transform-origin: 20px 100%; animation: osIn .22s cubic-bezier(.2,.9,.2,1) both; }
.demo-h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 4px 2px 8px; } .d-whos + .demo-h { margin-top: 14px; }
.d-whos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.d-who { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: inherit; border-radius: 10px; padding: 5px 6px; text-align: left; font-size: 12.5px; cursor: pointer; } .d-who:hover, .d-who.on { background: var(--surface-2); } .d-who b { font-weight: 500; } .d-who .avatar { width: 24px; height: 24px; font-size: 9px; }
.d-acts button { display: block; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 6px; border-radius: 9px; font-size: 13px; cursor: pointer; } .d-acts button:hover { background: var(--surface-2); }
@media (max-width: 780px) { .demo { bottom: 76px; left: 10px; } .demo-p { width: calc(100vw - 20px); } body.locked .demo { bottom: 12px; } .w-sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); inset: 0; border-radius: 0; } .w-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 56px 10px 16px; gap: 16px; justify-content: flex-start; } .w-nav button { white-space: nowrap; font-size: 16px; } .w-nav button.on { transform: none; } .wo-body { padding: 24px 16px 40px; } }

/* the entrance: you stand on the Earth */
.ent { position: fixed; inset: 0; z-index: 30; pointer-events: none; color: #fff; } .ent > * { pointer-events: auto; }
.ent-top { position: absolute; left: 0; right: 0; top: 22px; display: flex; justify-content: center; pointer-events: none; } .ent-logo { pointer-events: none; }
.ent-lang { position: absolute; right: 22px; top: 2px; display: flex; gap: 2px; pointer-events: auto; } .ent-lang button { border: 0; background: none; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; cursor: pointer; } .ent-lang button:hover, .ent-lang button.on { color: #fff; }
.ent-mid { position: absolute; left: 50%; top: 15vh; width: min(900px, 92%); margin-left: calc(min(900px, 92%) / -2); text-align: center; pointer-events: none; animation: popUp .9s cubic-bezier(.2,.9,.2,1) both; }
.ent-mid h1 { font: 300 clamp(30px, 4.6vw, 68px)/1.08 var(--serif); margin: 0; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.5); } .ent-mid p { margin: 12px 0 0; color: rgba(255,255,255,.62); font-size: clamp(13px, 1.2vw, 16px); }
.ent-card { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; max-width: 94%; }
.ent-go { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 999px; background: rgba(14,16,19,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 60px rgba(0,0,0,.4); animation: popUp .7s .15s cubic-bezier(.2,.9,.2,1) both; }
.ent-me { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: #fff; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 13.5px; cursor: pointer; } .ent-me:hover { background: rgba(255,255,255,.1); }
.ent-face { width: 38px; height: 38px; padding: 7px; margin: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; position: relative; overflow: hidden; } .ent-face svg { width: 100%; height: 100%; display: block; }
.ent-btn { border: 0; background: #ece8e2; color: #111; border-radius: 999px; padding: 11px 20px; font-size: 13.5px; cursor: pointer; white-space: nowrap; } .ent-btn:hover { background: #fff; }
.ent-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 8px; border-radius: 20px; background: rgba(14,16,19,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: popUp .28s cubic-bezier(.2,.9,.2,1) both; max-width: 520px; }
.ent-who button { display: flex; align-items: center; gap: 7px; border: 0; background: none; color: rgba(255,255,255,.8); font-size: 12.5px; padding: 4px 10px 4px 4px; border-radius: 999px; cursor: pointer; } .ent-who button:hover, .ent-who button.on { background: rgba(255,255,255,.12); color: #fff; } .ent-who .avatar { width: 24px; height: 24px; font-size: 9px; }
.ent-doors { display: flex; gap: 14px; } .ent-doors button { border: 0; background: none; color: rgba(255,255,255,.5); font-size: 12px; cursor: pointer; padding: 2px; } .ent-doors button:hover { color: #fff; }

/* the office window */
.of { max-width: 1120px; margin: 0 auto; }
.of-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: stretch; }
.of-title { display: flex; flex-direction: column; align-items: flex-start; }
.of-back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink-3); font-size: 12.5px; padding: 4px 0; cursor: pointer; } .of-back:hover { color: var(--ink); } .of-back .ico { width: 16px; height: 16px; }
.of-title h1 { font: 300 clamp(44px, 6vw, 84px)/1 var(--serif); margin: 26px 0 8px; letter-spacing: -.01em; } .of-title p { margin: 0; color: var(--ink-2); }
.of-now { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-2); } .of-now i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); } .of-now i.on { background: var(--ok); } .of-now b { font-weight: 500; color: var(--ink); margin-left: 6px; }
.of-switch { display: flex; gap: 14px; margin-top: auto; padding-top: 28px; } .of-switch button { border: 0; background: none; color: var(--ink-3); font-size: 13px; padding: 2px 0; cursor: pointer; } .of-switch button:hover { color: var(--ink); } .of-switch button.on { color: var(--ink); font-weight: 600; }
.of-desk { margin-top: 18px; }
.of-map { height: 380px; border-radius: 22px; overflow: hidden; background: var(--surface-2); z-index: 0; }
.of-pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #a9503d; box-shadow: 0 0 0 6px rgba(169,80,61,.2); }
.of-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin-top: 44px; }
.of-sec.wide { grid-column: span 2; }
.of-sec h4 { margin: 0 0 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); } .of-sec h4 em { font-style: normal; margin-left: 6px; letter-spacing: 0; }
.of-row { display: flex; justify-content: space-between; gap: 14px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; text-decoration: none; font-size: 13.5px; text-align: left; } .of-row > span { color: var(--ink-3); flex: none; } .of-row b { font-weight: 400; text-align: right; transition: transform .2s cubic-bezier(.2,.8,.2,1); } .of-row b.ok { color: var(--ok); }
a.of-row:hover b, .of-row.act:hover b { transform: translateX(-3px); } .of-row.act { cursor: pointer; } .of-row.act > span { color: var(--ink); }
.of-pass { border: 0; background: none; color: inherit; text-align: right; cursor: pointer; padding: 0; } .of-pass code { font-size: 13px; } .of-pass i { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); } .of-pass.on i { color: var(--ok); }
.of-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.of-person { display: flex; align-items: center; gap: 10px; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; padding: 9px 0; text-align: left; cursor: pointer; min-width: 0; } .of-person span { display: flex; flex-direction: column; min-width: 0; flex: 1; } .of-person b { font-weight: 500; font-size: 13.5px; } .of-person i { font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .of-person u { display: flex; align-items: center; gap: 5px; text-decoration: none; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.of-note { margin: 34px 0 0; font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 860px) { .of-hero, .of-grid { grid-template-columns: minmax(0, 1fr); } .of-sec.wide { grid-column: auto; } .of-people { grid-template-columns: minmax(0, 1fr); } .of-map { height: 260px; } }

/* touch: everything answers */
button, .btn, .pill, .iconbtn, .app-tile, .os-btn, .eh-go, .ent-btn, .demo-btn { transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s, color .18s, opacity .18s, box-shadow .18s; }
button:active, .btn:active, .pill:active, .iconbtn:active { transform: scale(.96); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-tip] { position: relative; } [data-tip]::after { content: attr(data-tip); position: absolute; right: 0; top: calc(100% + 8px); width: max-content; max-width: 240px; padding: 5px 9px; border-radius: 8px; background: #141312; color: #fff; font-size: 11.5px; font-weight: 400; line-height: 1.3; text-align: left; text-shadow: none; opacity: 0; transform: translateY(-3px); pointer-events: none; transition: opacity .16s .35s, transform .16s .35s; z-index: 80; }
[data-tip]:hover::after { opacity: 1; transform: none; }
.ent-me[data-tip]::after { right: auto; left: 0; top: auto; bottom: calc(100% + 8px); }
.content.enter > * { animation: popUp .42s cubic-bezier(.2,.9,.2,1) both; } .content.enter > :nth-child(2) { animation-delay: .05s; } .content.enter > :nth-child(3) { animation-delay: .1s; } .content.enter > :nth-child(n+4) { animation-delay: .14s; }
::view-transition-old(root) { animation: vtOut .16s ease both; } ::view-transition-new(root) { animation: vtIn .28s ease both; }
@keyframes vtOut { to { opacity: 0; } } @keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }
.ent-logo { filter: brightness(0) invert(1); opacity: .9; }

.of-person > .avatar { flex: none; } .of-person .avatar { display: inline-grid; }
.eh-bottom[hidden] { display: none; }
/* the desk: where was I, today, go */
.dk-min .desk-in, .desk .desk-in { max-width: 1040px; margin: 0 auto; }
.dk-hi { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 3vh 0 18px; font: 300 clamp(24px, 3vw, 40px)/1.15 var(--serif); } .dk-hi .faint { font: 400 13px var(--sans); } .dk-hi b { font-weight: 500; color: var(--ink); }
.dk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 26px; flex-wrap: wrap; }
.dk-more { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--ink-3); font-size: 13px; padding: 10px 2px; cursor: pointer; margin: 8px 0 18px; } .dk-foot .dk-more { margin: 0; } .dk-more:hover { color: var(--ink); } .dk-more svg { width: 12px; height: 12px; transition: transform .25s cubic-bezier(.2,.8,.2,1); } .dk-more.on svg { transform: rotate(180deg); }
.dk-cta { display: block; width: 100%; text-align: left; border: 0; background: var(--ink); color: var(--bg); border-radius: 16px; padding: 16px 20px; font-size: 15px; margin: 16px 0 6px; cursor: pointer; } .dk-cta:hover { opacity: .9; }
.dk-rest { animation: popUp .36s cubic-bezier(.2,.9,.2,1) both; }
.w-sheet, .h-sheet { z-index: 2; }
.w-wrap .scrim { z-index: 0; }
@media (max-width: 780px) { .eh-clock { top: 58px; } .on-earth .crumbs { visibility: hidden; } .crumbs { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .top:has(.timer-chip) .crumbs b { display: none; } }
.on-earth .os-btn .logo { filter: brightness(0) invert(1); }

/* ===== Modules: one calm language. Paper, hairlines, one serif headline; colour only where it means something ===== */
.content { max-width: 1120px; padding: 18px 28px 64px; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 2vh 0 30px; }
.pg-t { min-width: 0; max-width: 760px; } .pg-r { justify-content: flex-end; } .pg-r:empty { display: none; }
h1.hero { font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.012em; margin: 6px 0 0; }
.lede { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; max-width: 620px; }
.eyebrow { font-size: 10.5px; letter-spacing: .14em; }
.row.wrap:empty, .spread:empty { display: none; }
.card { box-shadow: none; border-radius: 18px; padding: 22px; border-color: var(--line); transition: border-color .2s, transform .22s cubic-bezier(.2,.8,.2,1); }
.card[data-a]:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.card.tint { background: var(--surface-2); }
.card h3, .card .head h3 { font-weight: 500; font-size: 14px; letter-spacing: 0; }
.grid { gap: 14px; }
.kpi .v { font-weight: 300; font-size: 36px; letter-spacing: -.01em; }
.tag { background: none; border: 1px solid var(--line); color: var(--ink-2); font-weight: 400; }
.tag.ok, .tag.warn, .tag.risk, .tag.info, .tag.accent { background: none; border-color: currentColor; }
table.t th { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
table.t td { padding: 12px 10px; } table.t tr.click { transition: background-color .15s; }
.btn { box-shadow: none; }
.btn:not(.primary):not(.accent):not(.ghost) { background: none; }
.btn:not(.primary):not(.accent):not(.ghost):hover { background: var(--surface-2); }

/* the filter button: says what is chosen, opens what can be chosen */
.crumbs { flex: none; max-width: 40%; } .f-dock { position: relative; } .f-dock[hidden] { display: none; }
.f-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; max-width: 280px; border: 1px solid var(--line); background: none; color: var(--ink); border-radius: 999px; padding: 0 13px 0 11px; font-size: 12.5px; cursor: pointer; }
.f-btn:hover, .f-dock.open .f-btn { background: var(--surface-2); } .f-btn svg { width: 14px; height: 14px; flex: none; color: var(--ink-3); } .f-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-p { display: none; position: absolute; left: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; z-index: 60; flex-direction: column; gap: 10px; }
.f-dock.open .f-p { display: flex; animation: osIn .2s cubic-bezier(.2,.9,.2,1) both; transform-origin: 20px 0; }
.f-p > * { margin: 0 !important; }
.f-p .seg, .f-p .row.wrap, .f-p .yp-srcs { display: flex; flex-wrap: wrap; gap: 3px; background: none; padding: 0; border-radius: 0; }
.f-p button { border: 0 !important; background: none; color: var(--ink-2); border-radius: 9px !important; padding: 6px 10px !important; font-size: 13px; box-shadow: none !important; cursor: pointer; }
.f-p button:hover { background: var(--surface-2); color: var(--ink); } .f-p button.on { background: var(--ink) !important; color: var(--bg) !important; }
.f-p .row.wrap > :not(button):not([data-a]) { width: 100%; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 2px 2px 3px; }
@media (max-width: 780px) { .content { padding: 12px 16px 96px; } .crumbs { display: none; } .f-btn { max-width: 170px; } }
h1.hero { text-transform: none; }
.content { max-width: 1240px; }
.ib.ib4.no-api { grid-template-columns: 210px 320px minmax(0, 1fr); } .ib.ib4.no-api .ib-api { display: none !important; }
@media (max-width: 1000px) { .ib.ib4.no-api { grid-template-columns: minmax(0, 1fr); } }
.ib-read > .spread { flex-wrap: wrap; gap: 8px; } .ib-row.on .code { background: none; color: inherit; border-color: rgba(255,255,255,.4); }
/* phone: nothing widens the page; wide things scroll inside their own card */
@media (max-width: 780px) {
  .btn { white-space: normal; height: auto; max-width: 100%; }
  .content { overflow-x: clip; } .content > * { max-width: 100%; min-width: 0; }
  .card, .dcard { overflow-x: auto; max-width: 100%; } .stack, .grid > * { min-width: 0; }
  .rm-line { overflow-x: auto; } .fd { grid-template-columns: minmax(0, 1fr); } .fd-col { min-width: 0; }
  .f-dock { min-width: 0; flex: 0 1 auto; } .f-btn { max-width: 100%; } .top { min-width: 0; }
  .pg-r .btn, .np-steps button { flex-shrink: 1; } .np-steps { overflow-x: auto; }
}
/* desktop: long pills in narrow cards wrap instead of sticking out */
.sl-card .btn, .bd-card .tag { white-space: normal; max-width: 100%; height: auto; }
.tag { max-width: 100%; }
.kpi .v.long { font-size: 19px; line-height: 1.2; font-weight: 400; }

/* live weather */
.wx-wind { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; mix-blend-mode: difference; } .wx-wind[hidden] { display: none; }
.earth.sat .wx-wind { mix-blend-mode: normal; }
.wx { display: flex; align-items: center; gap: 5px; min-height: 18px; font-size: 12.5px; } .wx:empty { min-height: 0; } .wx b { font-weight: 500; }
.wx-a { width: 11px; height: 11px; flex: none; }
.eg-pop .wx { margin: 0 0 8px; color: #fff; } .of-wx { margin-top: 8px; color: var(--ink-2); } .eh-panel .wx { margin-top: 6px; }
.eg .maplibregl-ctrl-attrib.maplibregl-compact { opacity: .5; } .eg .maplibregl-ctrl-attrib.maplibregl-compact:hover { opacity: 1; }
.eg .maplibregl-ctrl-attrib.maplibregl-compact:not(:hover):not(:focus-within) .maplibregl-ctrl-attrib-inner { display: none; }
.eg .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 22px; min-width: 22px; }

/* the entrance as yodezeen.com: menu, logo with its line, one uppercase statement, offices with their clocks */
.ent-site .ent-top { display: none; }
.es-nav { position: absolute; left: 28px; right: 28px; top: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; pointer-events: auto; }
.es-nav nav { display: flex; gap: 26px; align-items: center; } .es-r { justify-content: flex-end; }
.es-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: color .2s; } .es-nav a:hover { color: #fff; }
.es-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; } .es-logo .logo { filter: brightness(0) invert(1); } .es-logo span { font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.es-lang { display: flex; gap: 0; margin-left: 10px; } .es-lang button { border: 0; background: none; color: rgba(255,255,255,.4); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 5px; cursor: pointer; } .es-lang button.on, .es-lang button:hover { color: #fff; }
.ent-site .ent-mid { top: 17vh; }
.ent-site .ent-mid h1 { font: 300 clamp(26px, 3.7vw, 58px)/1.08 var(--sans); text-transform: uppercase; letter-spacing: -.01em; max-width: 1000px; margin: 0 auto; }
.ent-site .ent-mid p { max-width: 560px; margin: 16px auto 0; }
.ent-site .ent-card { bottom: 66px; }
.es-foot { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: auto; }
.es-offs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; } .es-offs span { display: inline-flex; gap: 7px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); } .es-offs b { font-weight: 500; color: rgba(255,255,255,.85); } .es-offs i { font-style: normal; letter-spacing: .04em; }
.es-c { font-size: 10.5px; color: rgba(255,255,255,.38); letter-spacing: .04em; } .es-c a { color: inherit; }
.pop-rep { display: block; font: 400 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 3px; }
@media (max-width: 780px) { .es-nav nav a { display: none; } .es-nav { left: 14px; right: 14px; } .ent-site .ent-card { bottom: 84px; } .es-offs { gap: 2px 12px; padding: 0 10px; } }
.ent-site .ent-mid p { text-shadow: 0 1px 18px rgba(0,0,0,.7); color: rgba(255,255,255,.75); }

/* navigation: one quiet glass column */
.eg .maplibregl-ctrl-bottom-right { bottom: 34px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.eg .maplibregl-ctrl-group { background: rgba(14,16,19,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 14px; box-shadow: none; border: 1px solid rgba(255,255,255,.1); overflow: hidden; margin: 0 !important; }
.eg .maplibregl-ctrl-group button { width: 34px; height: 34px; background-color: transparent; border-color: rgba(255,255,255,.08) !important; }
.eg .maplibregl-ctrl-group button:hover { background-color: rgba(255,255,255,.08); }
.eg .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.6); opacity: .82; }
.eg .eg-nav button { color: #fff; font: 600 10.5px var(--sans); letter-spacing: .04em; display: grid; place-items: center; } .eg .eg-nav svg { width: 15px; height: 15px; }
.eg .eg-nav [data-tip]::after { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
body.locked .eg .maplibregl-ctrl-group { display: none; }
@media (max-width: 780px) { .eg .maplibregl-ctrl-bottom-right { bottom: 78px; } }

/* nothing covers anything: every element has its own place */
/* the project chat is a window beside the page: the page makes room for it */
body.chat-open .app { margin-right: 412px; transition: margin-right .35s cubic-bezier(.2,.8,.2,1); }
.drawer { top: 12px !important; right: 12px !important; bottom: 12px !important; height: auto !important; width: 388px !important; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; animation: helpIn .32s cubic-bezier(.2,.9,.2,1) both; }
/* notices: one small strip at the top, never over the work */
.toasts, .toasts.beside-chat { top: 62px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); gap: 6px; }
body.chat-open .toasts { left: calc((100% - 412px) / 2); }
body:has(.on-earth) .toasts { top: 104px; }
.toast { padding: 10px 14px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.16); font-size: 13px; }
.toasts > .toast:nth-child(n+3) { display: none; }
/* globe: panels on the left, the map's navigation in the middle of the right edge, the assistant below it */
.eh-right { left: 16px; right: auto; top: 70px; }
.eg .maplibregl-ctrl-bottom-right { top: 50%; bottom: auto !important; transform: translateY(-50%); }
.eg-ofc.tour .eg-y { transform: scale(1.8); box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 18px rgba(255,255,255,.55); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s; }
.eg-ofc.tour .eg-l { letter-spacing: .26em; transition: letter-spacing .8s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 780px) { body.chat-open .app { margin-right: 0; } .drawer { top: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; border-radius: 0; } body.chat-open .toasts { left: 50%; } }

/* the way back: a quiet pill beside the mark that says where it leads */
.top .bk { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 8px; margin-right: 6px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface, #fff) 60%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: var(--ink-2, inherit); font: 500 12.5px var(--sans); cursor: pointer; transition: transform .18s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; max-width: 220px; }
.top .bk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .bk svg { width: 15px; height: 15px; flex: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.top .bk:hover { color: var(--ink, inherit); background: color-mix(in srgb, var(--surface, #fff) 90%, transparent); } .top .bk:hover svg { transform: translateX(-2px); }
.top .bk:active { transform: scale(.95); }
@media (max-width: 780px) { .top .bk span { display: none; } .top .bk { padding: 0 9px; } }

/* credits on the flat maps: a small (i), the text on hover — as on the globe */
.leaflet-control-attribution { position: relative; width: 22px; height: 22px; padding: 0 !important; margin: 0 8px 8px 0 !important; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--surface, #fff) 70%, transparent) !important; backdrop-filter: blur(10px); font-size: 0 !important; opacity: .55; transition: opacity .2s, width .3s; cursor: default; }
.leaflet-control-attribution::before { content: 'i'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 11px/1 var(--sans); font-style: italic; color: var(--ink-2, #555); }
.leaflet-control-attribution:hover, .leaflet-control-attribution:focus-within { width: auto; height: auto; padding: 4px 10px !important; font-size: 10.5px !important; opacity: 1; border-radius: 10px; }
.leaflet-control-attribution:hover::before, .leaflet-control-attribution:focus-within::before { content: none; }

/* phones: the way back keeps a short name; floating pills never sit on the bottom bar or the chat */
@media (max-width: 780px) { .top .bk span { display: inline; max-width: 84px; } .top .bk { padding: 0 10px 0 6px; } .pt-back { bottom: 76px; } body.chat-open .demo { display: none; } }

/* ===== 2030 · glass + kinetic layer: one material, one motion language ===== */
:root {
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 22px; --r-xl: 28px;
  --g-bg: color-mix(in srgb, var(--surface) 74%, transparent);
  --g-bg-strong: color-mix(in srgb, var(--surface) 88%, transparent);
  --g-blur: blur(24px) saturate(1.7);
  --g-line: color-mix(in srgb, var(--ink) 9%, transparent);
  --g-hi: rgba(255,255,255,.75);                 /* top specular edge */
  --g-spec: rgba(255,255,255,.55);               /* cursor light */
  --g-glow: color-mix(in srgb, var(--accent) 55%, transparent);
  --g-sh: 0 1px 1px rgba(27,26,23,.03), 0 6px 16px -6px rgba(27,26,23,.08), 0 24px 48px -18px rgba(27,26,23,.14);
  --g-sh-lift: 0 2px 4px rgba(27,26,23,.04), 0 14px 28px -10px rgba(27,26,23,.14), 0 40px 80px -30px rgba(27,26,23,.22);
  --g-ring: 0 0 0 .5px var(--g-line), inset 0 1px 0 var(--g-hi), inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent);
  --hud-bg: rgba(14,16,19,.66); --hud-line: rgba(255,255,255,.1); --hud-hi: rgba(255,255,255,.09);
  --ease-out: cubic-bezier(.2,.9,.2,1); --ease-spring: cubic-bezier(.34,1.56,.64,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --t-1: .14s; --t-2: .24s; --t-3: .42s; --t-4: .7s;
}
:root[data-theme="dark"] {
  --g-bg: color-mix(in srgb, var(--surface) 70%, transparent);
  --g-bg-strong: color-mix(in srgb, var(--surface) 86%, transparent);
  --g-line: rgba(255,255,255,.08); --g-hi: rgba(255,255,255,.07); --g-spec: rgba(255,255,255,.07);
  --g-sh: 0 1px 1px rgba(0,0,0,.3), 0 8px 20px -8px rgba(0,0,0,.45), 0 28px 60px -24px rgba(0,0,0,.6);
  --g-sh-lift: 0 2px 4px rgba(0,0,0,.35), 0 18px 36px -12px rgba(0,0,0,.55), 0 48px 90px -30px rgba(0,0,0,.7);
  --g-ring: 0 0 0 .5px var(--g-line), inset 0 1px 0 var(--g-hi);
}

/* ambient depth: two soft light pools behind everything (the globe covers them) */
body { background:
  radial-gradient(1100px 620px at 88% -12%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 62%),
  radial-gradient(900px 560px at -8% 108%, color-mix(in srgb, var(--info) 7%, transparent), transparent 60%), var(--bg);
  background-attachment: fixed; }

/* top bar: the blur moves onto a pseudo layer so the menus inside can blur the page themselves */
.top { backdrop-filter: none; -webkit-backdrop-filter: none; background: none; isolation: isolate; }
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.on-earth .top::before { display: none; }

/* floating glass: menus, popovers, sheets, modals, toasts */
.os-menu, .f-p, .demo-p, .scen-menu, .toast, .modal, .w-sheet, .h-sheet, .apps {
  background: var(--g-bg-strong); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 0; box-shadow: var(--g-ring), var(--g-sh-lift); }
.os-menu, .f-p, .demo-p, .scen-menu { border-radius: var(--r-md); }
.toast { border-radius: var(--r-md); animation: glDrop var(--t-3) var(--ease-spring) both; }
.modal { border-radius: var(--r-lg); animation: glRise var(--t-3) var(--ease-out) both; }
.h-sheet, .apps { border-radius: var(--r-lg); } .w-sheet { border-radius: var(--r-xl); }
.scrim { background: color-mix(in srgb, var(--scrim) 80%, transparent); backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1); }
/* drawer: glass through ::before, so the fixed chat image viewer (.pv) inside it is not trapped */
.drawer { background: transparent; border: 0; box-shadow: var(--g-ring), var(--g-sh-lift); isolation: isolate; }
.drawer::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--g-bg-strong); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur); }
.drawer .dh, .drawer .df { border-color: var(--g-line); }
.os-i, .w-mod, .d-who, .d-acts button, .scen-menu button { transition: background-color var(--t-1), transform var(--t-2) var(--ease-out); }
.os-i:hover, .w-mod:hover, .d-who:hover, .d-acts button:hover, .scen-menu button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.os-i:active, .w-mod:active, .d-who:active, .d-acts button:active { transform: scale(.98); }

/* cards: paper material + cursor light + hairline glow (both pseudo layers sit under or around the content) */
.card, .dcard { position: relative; isolation: isolate; border-color: var(--g-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff) 0%, var(--surface) 60%);
  box-shadow: inset 0 1px 0 var(--g-hi), var(--g-sh);
  transition: transform var(--t-3) var(--ease-out), box-shadow var(--t-3) var(--ease-out), border-color var(--t-2); }
.dcard { background: var(--g-bg); -webkit-backdrop-filter: blur(14px); }
.card.flat { box-shadow: inset 0 1px 0 var(--g-hi); }
.card.tint { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); border-color: transparent; }
.card::before, .dcard::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--g-spec), transparent 55%);
  transition: opacity var(--t-3) var(--ease-out); }
.card::after, .dcard::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--g-glow), transparent 60%);
  -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); transition: opacity var(--t-3) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover::before, .dcard:hover::before, .card:hover::after, .dcard:hover::after { opacity: 1; }
  .card[data-a]:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 var(--g-hi), var(--g-sh-lift); border-color: var(--g-line); }
}
.card[data-a]:active { transform: translateY(-1px) scale(.992); transition-duration: var(--t-1); }
.card.kpi .v { letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; transition: transform var(--t-3) var(--ease-spring); }
.card.kpi .l { letter-spacing: .02em; }
@media (hover: hover) { .card.kpi:hover .v { transform: translateY(-1px); } }

/* staggered entrance: cards in grids arrive one after another; "backwards" leaves no transform behind */
.content.enter .grid > *, .content.enter .w-mods > * { animation: glIn var(--t-4) var(--ease-out) backwards; animation-delay: calc(var(--gi, 0) * 45ms + 60ms); }
.content.enter .grid > :nth-child(2) { --gi: 1; } .content.enter .grid > :nth-child(3) { --gi: 2; } .content.enter .grid > :nth-child(4) { --gi: 3; }
.content.enter .grid > :nth-child(5) { --gi: 4; } .content.enter .grid > :nth-child(6) { --gi: 5; } .content.enter .grid > :nth-child(7) { --gi: 6; }
.content.enter .grid > :nth-child(n+8) { --gi: 7; }
@keyframes glIn { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } }
@keyframes glRise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes glDrop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* buttons: tactile press, spring release, magnetic offset (--tx/--ty from JS) */
.btn, .os-btn, .eh-go, .ent-btn, .dk-cta, .iconbtn, .f-btn, .demo-btn {
  translate: var(--tx, 0) var(--ty, 0);
  transition: transform var(--t-2) var(--ease-spring), translate var(--t-3) var(--ease-out), background-color var(--t-1), color var(--t-1), box-shadow var(--t-2), opacity var(--t-1); }
.btn:active, .os-btn:active, .eh-go:active, .ent-btn:active, .dk-cta:active, .iconbtn:active, .f-btn:active, .demo-btn:active {
  transform: scale(.955); transition-duration: 60ms; }
.btn.primary { position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 6px 18px -8px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn.primary::after, .btn.accent::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 60%); transition: opacity var(--t-2); }
.btn.accent { position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px -8px var(--g-glow); }
@media (hover: hover) { .btn.primary:hover::after, .btn.accent:hover::after { opacity: 1; } .btn.primary:hover, .btn.accent:hover { opacity: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 26px -10px color-mix(in srgb, var(--ink) 70%, transparent); } }
.iconbtn { border-color: var(--g-line); background: var(--g-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 var(--g-hi); }
.iconbtn:hover { background: var(--g-bg-strong); }

/* segmented control: one glass pill */
.seg { background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent); }
.seg button { transition: background-color var(--t-2) var(--ease-out), color var(--t-1), box-shadow var(--t-2), transform var(--t-2) var(--ease-spring); }
.seg button:hover:not(.on) { color: var(--ink); background: color-mix(in srgb, var(--surface) 45%, transparent); }
.seg button.on { background: var(--surface); box-shadow: inset 0 1px 0 var(--g-hi), 0 1px 2px rgba(0,0,0,.08), 0 4px 10px -4px rgba(0,0,0,.14); }
.seg button:active { transform: scale(.94); }

/* focus: a calm double ring, visible on paper and on the globe */
:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 85%, var(--ink)); outline-offset: 3px; transition: outline-offset var(--t-2) var(--ease-spring); }
:focus:not(:focus-visible) { outline: none; }
.composer input:focus-visible, .select:focus-visible { outline-offset: 1px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.earth :focus-visible, .ent :focus-visible, .on-earth .top :focus-visible { outline-color: rgba(255,255,255,.85); }

/* HUD on the globe: one dark glass, hairline, specular top edge, Safari prefix */
.eh-card, .eh-tl, .eg-pop, .eg .maplibregl-ctrl-group, .on-earth .os-btn, .eh-go, .ent-go, .ent-who, .demo-btn {
  background: var(--hud-bg); backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid var(--hud-line); box-shadow: inset 0 1px 0 var(--hud-hi), 0 18px 50px -18px rgba(0,0,0,.6); }
.eh-card, .eh-tl { border-radius: var(--r-md); background: rgba(14,16,19,.74); }
.eg-pop { border-radius: var(--r-md); background: rgba(14,16,19,.8); border: 1px solid var(--hud-line); }
.eg-pop::after { background: rgba(14,16,19,.8); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); border: solid var(--hud-line); border-width: 0 1px 1px 0; }
.demo-btn { border-style: dashed; }
.eh-card::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); }
.eh-card { position: relative; }
.eh-row, .pop-pr, .eh-lay, .eh-sel, .eh-layer, .eg .maplibregl-ctrl-group button { transition: background-color var(--t-1), color var(--t-1), transform var(--t-2) var(--ease-out); }
.eh-row:active, .pop-pr:active, .eh-lay:active, .eh-sel:active, .eg .maplibregl-ctrl-group button:active { transform: scale(.96); }
.eh-time { font-variant-numeric: tabular-nums; }
.on-earth .os-btn:hover, .on-earth .os-btn.on, .eh-go:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(255,255,255,.18), 0 18px 50px -18px rgba(0,0,0,.6); }
.eh-go:hover { background: #fff; color: #111; }
@media (max-width: 780px) { .eh-right { bottom: auto; } }

/* touch: no cursor light, no magnet; keep the press */
@media (hover: none), (pointer: coarse) {
  .card::before, .card::after, .dcard::before, .dcard::after, .btn.primary::after, .btn.accent::after { display: none; }
  .btn, .os-btn, .eh-go, .ent-btn, .dk-cta, .iconbtn, .f-btn, .demo-btn { translate: none; }
}
/* the user asked for less transparency: solid surfaces, same layout */
@media (prefers-reduced-transparency: reduce) {
  .os-menu, .f-p, .demo-p, .scen-menu, .toast, .modal, .w-sheet, .h-sheet, .apps, .iconbtn, .dcard { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .drawer::before { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .eh-card, .eh-tl, .eg-pop, .eg-pop::after { background: #111317; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* the user asked for less motion: no entrance, no lift, no magnet, no blur-in */
@media (prefers-reduced-motion: reduce) {
  .content.enter .grid > *, .content.enter .w-mods > *, .toast, .modal { animation: none !important; }
  .card[data-a]:hover, .card[data-a]:active, .card.kpi:hover .v { transform: none; }
  .btn, .os-btn, .eh-go, .ent-btn, .dk-cta, .iconbtn, .f-btn, .demo-btn { translate: none; }
  .btn:active, .os-btn:active, .eh-go:active, .ent-btn:active, .dk-cta:active, .iconbtn:active, .f-btn:active, .demo-btn:active, .seg button:active { transform: none; }
}

/* a notice never sits on the work: when one arrives, the page slides down and makes room for it */
.content { transition: padding-top .45s cubic-bezier(.2,.9,.2,1); }
body:has(.toasts > .toast):not(:has(.on-earth)) .content { padding-top: 118px; }
body:has(.toasts > .toast:nth-child(2)):not(:has(.on-earth)) .content { padding-top: 220px; }
.toasts > .toast:nth-child(n+3) { display: none; }
@media (prefers-reduced-motion: reduce) { .content { transition: none; } }
.app .content { padding-bottom: 112px; } /* the assistant orb and the demo pill never sit on the last line */
/* on the globe the way back is dark glass, like the rest of the HUD */
.on-earth .top .bk, body:has(.on-earth) .top .bk { background: rgba(14,16,19,.62); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.on-earth .top .bk:hover, body:has(.on-earth) .top .bk:hover { color: #fff; background: rgba(28,31,36,.75); }

/* ======================================================================
   Craft pass — measured, not guessed.
   1. Small grey text now passes 4.5:1 on every surface, in both themes.
   2. Nothing floats over a page: the assistant and the demo console live in the top bar.
   3. Headlines break into even lines; paragraphs never leave one word alone.
   ====================================================================== */
:root { --ink-2: #524E4C; --ink-3: #6E6966; }
:root[data-theme="dark"] { --ink-2: #B9B4B0; --ink-3: #938E8A; }
.earth { --ink-3: #8f8a84; }
h1, h2, h3, .hero, .ent-h, .pt-h, .h-sheet h3 { text-wrap: balance; }
p, li, .muted, .faint, .lede, .ent-sub { text-wrap: pretty; }

.asst-top { width: 34px; height: 34px; padding: 0; flex: none; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.asst-top .orb { width: 20px; height: 20px; }
.asst-top:hover { border-color: var(--ink-3); }
body:not(:has(.on-earth)) .asst-fab { display: none; }
body:not(:has(.on-earth)) .asst-pop { top: 62px; bottom: auto; transform-origin: 100% 0; }
.top .demo { position: relative; left: auto; bottom: auto; z-index: auto; }
.top .demo-btn { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink-3); border-color: color-mix(in srgb, var(--ink-3) 55%, transparent); }
.top .demo-btn:hover, .top .demo-btn.on { color: var(--ink); border-color: var(--ink-2); }
.top .demo-p { left: auto; right: 0; bottom: auto; top: calc(100% + 10px); }
@media (max-width: 780px) {
  body:not(:has(.on-earth)) .asst-pop { top: 54px; left: 10px; right: 10px; width: auto; }
  .top .demo-p { position: fixed; top: 54px; left: 10px; right: 10px; width: auto; }
}

.me-btn .avatar { display: inline-grid; place-items: center; line-height: 1; }
.only-m { display: none !important; }
@media (max-width: 780px) {
  .only-m { display: flex !important; }
  .asst-top, .top .demo-btn { display: none; }
  .top .demo { position: static; }
  .bottomnav .bn-orb .orb { display: block; width: 22px; height: 22px; margin-bottom: -1px; }
  body:not(:has(.on-earth)) .asst-pop { bottom: auto; }
}

/* the office card on the Earth: placed by the module, never over the clock or the map buttons */
.eg > .eg-pop { position: absolute; left: 0; top: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; will-change: transform; }
.eg > .eg-pop:not(.notail) { overflow: visible; }
.eg > .eg-pop::after { left: var(--tail, 50%); }
.eg > .eg-pop[data-side="down"]::after { bottom: auto; top: -6px; transform: rotate(225deg); }
.eg > .eg-pop.notail::after { display: none; }
@media (max-width: 780px) { body:not(:has(.on-earth)) .asst-pop { top: auto; bottom: 76px; } }

/* sign-in: the planet sinks into the dark at the bottom, so the sign-in row, the doors and the city clocks
   always stand on a dark base — never white on the lit side of the Earth */
.ent-site::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: min(44vh, 380px); pointer-events: none; background: linear-gradient(to top, rgba(7,8,11,.97) 0, rgba(7,8,11,.92) 24%, rgba(7,8,11,.6) 56%, rgba(7,8,11,0)); }
.ent-doors button { color: rgba(255,255,255,.72); } .es-c { color: rgba(255,255,255,.56); } .es-offs span { color: rgba(255,255,255,.66); }

/* labels that would print over a neighbour step back; a hover or a closer look brings them out */
.eg-l, .eg-pin em { transition: opacity .25s; }
.eg-ofc.nolab .eg-l { opacity: 0; pointer-events: none; }
.eg-mk:hover .eg-ofc.nolab .eg-l { opacity: 1; }
.ent-site .ent-mid p { max-width: 700px; text-wrap: balance; }
.eg-ofc.flip { flex-direction: row-reverse; transform: translateX(calc(-100% + 10px)); }

/* entering a page: bars draw themselves from the left, after the cards have landed */
.content.enter .bar > i { animation: barIn .9s .18s cubic-bezier(.2,.8,.2,1) both; }
@keyframes barIn { from { clip-path: inset(0 100% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }

/* the real Earth: in the street the ground is an aerial photo, so the clock and the city strip stay light on it */
.earth.sat:has(.eg.street) .eh-time { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.4); }
.earth.sat:has(.eg.street) .eh-offs button { color: rgba(255,255,255,.72); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.earth.sat:has(.eg.street) .eh-offs button:hover, .earth.sat:has(.eg.street) .eh-offs button.mine, .earth.sat:has(.eg.street) .eh-offs button.on { color: #fff; }
.earth.sat:has(.eg.street) .eh-hint, .earth.sat:has(.eg.street) .eh-date { color: rgba(255,255,255,.75); text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* the chosen office already has its name on the card: its own label steps aside instead of hiding half under it */
.eg:has(> .eg-pop) .eg-ofc.on .eg-l { opacity: 0; pointer-events: none; }

/* narrow tablets (about 780–1000 px): nothing pushes the page wider than the screen */
.grid > * { min-width: 0; }
.content .rm-ph { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .content .rm-line { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.eg.grabbing, .eg.grabbing .maplibregl-canvas { cursor: grabbing; }

/* ---------- welcome: the first minute. One question on the screen, the Earth turning behind it ---------- */
.hello { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; color: #fff; background: radial-gradient(120% 90% at 50% 45%, rgba(7,8,11,.5) 0, rgba(7,8,11,.82) 60%, rgba(7,8,11,.95) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hl-top, .hl-foot { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; }
.hl-logo .logo { filter: brightness(0) invert(1); height: 14px; }
.hl-lang { display: flex; } .hl-lang button, .hl-skip { border: 0; background: none; color: rgba(255,255,255,.5); font: 500 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 8px; cursor: pointer; transition: color .2s; }
.hl-lang button.on, .hl-lang button:hover, .hl-skip:hover { color: #fff; }
.hl-mid { align-self: center; justify-self: center; width: min(820px, calc(100% - 48px)); text-align: center; }
.hl-mid > * { animation: popUp .6s cubic-bezier(.2,.9,.2,1) both; } .hl-mid > :nth-child(2) { animation-delay: .08s; } .hl-mid > :nth-child(3) { animation-delay: .16s; } .hl-mid > :nth-child(4) { animation-delay: .24s; }
.hl-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hl-mid h1 { font: 300 clamp(28px, 4.4vw, 58px)/1.1 var(--serif); letter-spacing: -.01em; margin: 18px 0 0; text-wrap: balance; }
.hl-as { display: grid; gap: 10px; width: min(460px, 100%); margin: 40px auto 0; }
.hl-as button { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; font: 400 15px/1.35 var(--sans); padding: 15px 20px; border-radius: 14px; cursor: pointer; text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.hl-as button:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateX(4px); }
.hl-echo { display: grid; gap: 14px; width: min(560px, 100%); margin: 36px auto 0; text-align: left; }
.hl-echo div { display: grid; gap: 3px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); }
.hl-echo s { color: rgba(255,255,255,.45); font-size: 13px; } .hl-echo b { font-weight: 400; font-size: 16px; line-height: 1.35; }
.hl-go { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; align-items: center; margin-top: 40px; }
.hl-btn { border: 0; background: #fff; color: #141312; font: 500 15px var(--sans); padding: 15px 26px; border-radius: 999px; cursor: pointer; transition: transform .2s; } .hl-btn:hover { transform: scale(1.03); }
.hl-note { margin: 18px 0 0; font-size: 12.5px; color: rgba(255,255,255,.5); }
.hl-dots { display: flex; gap: 6px; } .hl-dots i { width: 18px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .3s; } .hl-dots i.on { background: rgba(255,255,255,.6); } .hl-dots i.cur { background: #fff; }
.hl-foot > span { width: 90px; } .hl-foot .hl-skip { width: 90px; text-align: left; } .hl-foot .hl-skip:last-child { text-align: right; }
@media (max-width: 640px) { .hl-top, .hl-foot { padding: 16px 16px; } .hl-as { margin-top: 28px; } .hl-as button { font-size: 14px; padding: 13px 16px; } .hl-echo b { font-size: 14.5px; } .hl-foot .hl-skip, .hl-foot > span { width: auto; } }
@media (prefers-reduced-motion: reduce) { .hl-mid > * { animation: none; } }

/* the walk: the person leads, so "Next" is the one obvious button; a ring shows what the caption speaks about */
.pr-next { border: 0; background: var(--bg); color: var(--ink); font: 500 13px var(--sans); padding: 0 16px; height: 30px; border-radius: 999px; cursor: pointer; transition: transform .15s; } .pr-next:hover { transform: scale(1.04); }
.pr-go { background: var(--bg) !important; color: var(--ink) !important; border-color: var(--bg) !important; }
#pr-spot { position: fixed; z-index: 105; pointer-events: none; border-radius: 14px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px rgba(20,19,17,.28); animation: spotIn .45s cubic-bezier(.2,.9,.2,1) both; }
@keyframes spotIn { from { opacity: 0; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { #pr-spot { animation: none; } }

/* ---------- welcome scenes: one thought per screen, a lot of air ---------- */
.wl { max-width: 980px; margin: 0 auto; padding: 4vh 0 180px; } .wl.wl-c { max-width: 620px; }
.wl-h { margin-bottom: 28px; } .wl-h h1 { font: 400 clamp(28px, 3.4vw, 44px)/1.12 var(--serif); margin: 10px 0 0; letter-spacing: -.01em; text-wrap: balance; } .wl-h p { margin: 10px 0 0; color: var(--ink-2); max-width: 520px; }
.wl-foot { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.wl-opts, .wl-quick { display: flex; flex-wrap: wrap; gap: 8px; } .wl-quick { margin-top: 10px; }
.wl-opts button, .wl-quick button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--sans); padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.wl-opts button:hover { border-color: var(--ink); } .wl-opts button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wl-quick button { font-size: 13px; padding: 9px 14px; background: var(--surface-2); border-color: transparent; }
.wl-seen { margin-top: 26px; border-top: 1px solid var(--line); }
.wl-who { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; } .wl-who b { font-weight: 500; min-width: 72px; }
.wl-who.wait span { margin: 0; color: var(--ink-3); }
.wl-who.me { animation: popUp .5s cubic-bezier(.2,.9,.2,1) both; } .wl-who.me b { font-weight: 600; } .wl-who.me span { color: var(--ink); }
.wl-phone { width: min(340px, 100%); margin: 0 auto; padding: 30px 22px 26px; border-radius: 38px; background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 8px var(--ink); } .wl-phone .wl-h h1 { font-size: 26px; } .wl-phone .wl-h { margin-bottom: 20px; } .wl-phone .wl-opts button { padding: 10px 14px; font-size: 13px; }
.wl-list { border-top: 1px solid var(--line); }
.wl-n { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); animation: popUp .5s cubic-bezier(.2,.9,.2,1) both; }
.wl-n:nth-child(2) { animation-delay: .06s; } .wl-n:nth-child(3) { animation-delay: .12s; } .wl-n:nth-child(4) { animation-delay: .18s; } .wl-n:nth-child(5) { animation-delay: .24s; }
.wl-src { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); } .wl-n b { font-weight: 500; font-size: 13px; color: var(--ink-2); } .wl-n p { margin: 2px 0 0; font-size: 15px; }
.wl-n em { font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; } .wl-n.task em { color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; } .wl-n.you em { color: var(--ink); font-weight: 500; }
.wl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-card { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 22px 20px; cursor: pointer; display: grid; gap: 6px; font-family: var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.wl-card b { font-weight: 500; font-size: 17px; } .wl-card span { font-size: 13px; color: var(--ink-3); } .wl-card:hover { border-color: var(--ink); } .wl-card.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wl-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.wl-steps li { display: flex; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; animation: popUp .45s cubic-bezier(.2,.9,.2,1) both; }
.wl-steps li:nth-child(2) { animation-delay: .35s; } .wl-steps li:nth-child(3) { animation-delay: .7s; } .wl-steps li:nth-child(4) { animation-delay: 1.05s; }
.wl-steps svg { width: 16px; height: 16px; flex: none; color: var(--ok); }
.wl-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.wl-side h3 { font: 500 18px var(--sans); margin: 0 0 8px; } .wl-side p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.55; } .wl-side .wl-steps { margin-top: 16px; }
.wl-tree { border-top: 1px solid var(--line); } .wl-root { font: 12px ui-monospace, Consolas, monospace; color: var(--ink-3); padding: 10px 2px; border-bottom: 1px solid var(--line); }
.wl-f { display: grid; grid-template-columns: 96px 1fr 70px; gap: 4px 12px; align-items: baseline; padding: 13px 10px 13px 2px; border-bottom: 1px solid var(--line); font-size: 14px; transition: background .3s; }
.wl-dir, .wl-app { font-size: 11.5px; color: var(--ink-3); } .wl-app { text-align: right; } .wl-f b { font-weight: 500; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.wl-f em { grid-column: 2 / -1; font-style: normal; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.wl-f.src { background: var(--accent-soft); } .wl-f.src em { color: var(--ink); font-weight: 500; } .wl-f.warn em { color: var(--warn); } .wl-f.risk em { color: var(--risk); } .wl-f.wl-dev { background: var(--risk-soft); } .wl-f.warn.wl-dev { background: var(--warn-soft); }
.wl-pic { border-radius: var(--radius-sm); aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--surface-2); }
.wl-pic.p1 { background: linear-gradient(160deg, #d9c9b2 0, #b79c7c 38%, #6f5a47 70%, #2f2924 100%); } .wl-pic.p2 { background: linear-gradient(200deg, #c9d2d6 0, #8e9ea6 45%, #46525a 100%); } .wl-pic.p3 { background: linear-gradient(140deg, #e6ddd0 0, #c2ad92 50%, #7d6a55 100%); }
.wl-pic.p0 { background: repeating-linear-gradient(45deg, var(--surface-2) 0 8px, var(--surface-3) 8px 16px); }
.wl-pic > span { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.wl-say { display: flex; gap: 12px; margin-top: 16px; } .wl-say b { font-weight: 500; font-size: 13px; } .wl-say p { margin: 2px 0 4px; font: 400 19px/1.3 var(--serif); }
.wl-next { display: grid; gap: 8px; } .wl-next button { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font: 13px var(--sans); color: var(--ink-3); transition: border-color .2s; }
.wl-next button:hover { border-color: var(--ink); } .wl-next b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; } .wl-next svg { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.wl-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wl-tool { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 4px; align-content: start; } .wl-tool.wide { grid-column: 1 / -1; }
.wl-tool > b { font-weight: 500; font-size: 16px; } .wl-tool > p { margin: 0 0 12px; font-size: 13px; color: var(--ink-3); } .wl-tool > .btn { justify-self: start; margin-top: 14px; }
.wl-yp { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); } .wl-q { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink); margin-bottom: 4px; } .wl-q svg { width: 14px; height: 14px; }
.wl-crop i { position: absolute; border: 1.5px solid #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.wl-pdf { position: relative; height: 96px; } .wl-pdf i { position: absolute; left: 0; top: 0; width: 62px; height: 82px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; box-shadow: var(--shadow); } .wl-pdf i:nth-child(2) { left: 14px; top: 6px; } .wl-pdf i:nth-child(3) { left: 28px; top: 12px; background: var(--accent-soft); }
.wl-pdf span { position: absolute; left: 108px; top: 38px; font-size: 12.5px; color: var(--ink-2); }
.wl-slides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .wl-slide { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; display: grid; gap: 7px; background: var(--bg); }
.wl-slide u { display: block; height: 6px; width: 80%; border-radius: 3px; background: var(--surface-3); text-decoration: none; } .wl-slide .wl-pic { transition: background .4s; }
@media (max-width: 760px) { .wl { padding-top: 8px; } .wl-split, .wl-two, .wl-tools { grid-template-columns: 1fr; gap: 14px; } .wl-n { grid-template-columns: 1fr auto; } .wl-src { grid-column: 1 / -1; } .wl-slides { gap: 6px; } .wl-slide { padding: 6px; } .wl-f { grid-template-columns: 1fr auto; } .wl-dir { grid-column: 1 / -1; } .wl-f em { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .wl-n, .wl-steps li, .wl-who.me { animation: none; } }

.dot.accent { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wl-who > span:last-child { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; } .wl-who > .avatar { margin: 0; }
/* the caption never lies on an open drawer: it moves to the free side */
body:has(.drawer) #present .present { left: 16px; transform: none; width: min(760px, calc(100% - 32px - min(420px, 100%))); }
@media (max-width: 900px) { body:has(.drawer) #present .present { width: calc(100% - 32px); bottom: auto; top: 12px; } }
.wl-who.wait > span:last-child { margin-left: 0; color: var(--ink-3); }
/* the caption is centred by its margins, so its entrance (a rise) never throws it sideways */
.present { left: 0; right: 0; margin-inline: auto; transform: none; }
body:has(.drawer) #present .present { right: auto; margin-inline: 0; }
/* while the person is being led, nothing else speaks: notices wait */
body.walking .toasts { display: none; }

/* a city's card says three things and gets out of the way; the rest is one tap further, in the office window */
.eg > .eg-pop { width: 236px; padding: 12px 14px; } .pop-sum { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.62); } .pop-sum b { color: #fff; font-weight: 500; }
.eg-pop .pop-acts { margin-top: 10px; } .eg-pop .btn { padding: 6px 11px; font-size: 12px; }
.eg > .eg-pop { width: 260px; } .eg-pop .pop-acts { flex-wrap: nowrap; } .eg-pop .pop-acts .btn { white-space: nowrap; }

/* ---------- the walk's scenes became real screens: check-in, since yesterday, where to open, BIM map, tools ---------- */
.dk-in { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 18px; } .dk-in:empty { display: none; }
.pin-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.pin-strip > b { font-weight: 500; margin-right: 4px; } .pin-strip > span { color: var(--ink-2); }
.pin-strip button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 13px var(--sans); padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: border-color .2s; } .pin-strip button:hover { border-color: var(--ink); }
.pin-strip.done { padding: 7px 6px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); animation: popUp .4s cubic-bezier(.2,.9,.2,1) both; }
.pin-strip.done button { border: 0; background: none; padding: 0 8px; color: var(--ink-3); font-weight: 400; font-size: 12px; } .pin-strip.done button:hover { color: var(--ink); }
.dk-strip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font: 13px var(--sans); color: var(--ink-2); cursor: pointer; transition: border-color .2s; } .dk-strip:hover { border-color: var(--ink); }
.dk-strip b { font-weight: 500; color: var(--ink); } .dk-strip span { color: var(--accent); font-weight: 500; } .dk-strip i { font-style: normal; color: var(--ink-3); }
.ph-app .pin-strip { margin: 2px 0 12px; font-size: 12px; } .ph-app .pin-strip > b { flex-basis: 100%; } .ph-app .pin-strip button { padding: 6px 10px; font-size: 12px; }
.prx .pin-strip { margin-top: 14px; }
button.wl-n { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s; } button.wl-n:hover { background: var(--surface); }
.wl-n.seen { opacity: .45; } .wl-n.seen em { background: none !important; color: var(--ink-3) !important; padding: 0 !important; }
.modal .wl-steps { margin-top: 18px; } .modal .wl-foot { margin-top: 14px; }
.bim-devs { display: grid; gap: 8px; margin-bottom: 22px; } .bim-devs:empty { display: none; }
.bim-dev { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); font-size: 13px; } .bim-dev.risk { background: var(--risk-soft); }
.bim-dev b { font: 500 12.5px ui-monospace, Consolas, monospace; } .bim-dev span { color: var(--ink-2); } .bim-dev .btn { justify-self: start; margin-top: 6px; }
.bim-host .eyebrow { margin-bottom: 8px; } .bim-host .wl-steps { margin-top: 10px; }
.wl-h .eyebrow { display: flex; align-items: center; gap: 8px; }
label.wl-q { cursor: text; } .wl-q input { flex: 1; min-width: 0; border: 0; background: none; font: 13px var(--sans); color: var(--ink); outline: none; }
.tl-r { display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 12.5px; } .tl-r:last-child { border-bottom: 0; }
.tl-r i { font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); grid-row: span 2; padding-top: 2px; } .tl-r b { font-weight: 500; } .tl-r span { color: var(--ink-3); } .tl-r.none { display: block; color: var(--ink-3); }
.tl-crop .wl-crop { margin-bottom: 10px; } .wl-crop i { transition: inset .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 0 999px rgba(0,0,0,.28); } .tl-crop .seg { justify-self: start; }
.tl-sheets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .tl-sheets button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font: 12px ui-monospace, Consolas, monospace; padding: 6px 9px; border-radius: 6px; cursor: pointer; } .tl-sheets button.on { color: var(--ink); border-color: var(--ink); }
.tl-pdf > .btn { justify-self: start; margin-top: 0; } .tl-done { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ok-soft); font-size: 12.5px; color: var(--ink-2); animation: popUp .4s both; } .tl-done b { display: block; color: var(--ink); font-weight: 500; } .tl-done svg { width: 18px; height: 18px; color: var(--ok); }
/* while the person is led, a dialog stands above the caption, never under it */
body.walking .modal-wrap { place-items: start center; padding-top: 7vh; }

/* the walk does not blink: the caption appears once (not on every step), the ring marks without dimming the page */
#present .present { animation: none; } #present { animation: fadeIn .35s ease both; }
#pr-spot { box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
/* the start page without the site's menu: the logo in the middle, the language on the right */
.es-nav > span { min-width: 1px; }

/* ---------- the walk: what stands behind a step. One line of the path is always there; the sheet opens on demand ---------- */
.hw-row { display: flex; align-items: center; gap: 12px; margin: -4px 0 12px; }
.hw-line { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 11.5px; color: color-mix(in srgb, var(--bg) 62%, transparent); }
.hw-line b { font-weight: 500; white-space: nowrap; } .hw-line b.k-core { color: var(--bg); } .hw-line i { font-style: normal; opacity: .5; }
.pr-how { flex: none; border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); background: transparent; color: var(--bg); font: 500 12px var(--sans); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .15s; }
.pr-how:hover { background: color-mix(in srgb, var(--bg) 12%, transparent); } .pr-how.on { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.hw-sheet { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); max-height: min(58vh, 520px); overflow: auto; padding: 18px 20px 20px; border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); animation: popUp .28s cubic-bezier(.2,.9,.2,1) both; }
.hw-sec { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); margin: 16px 0 8px; } .hw-sec:first-child { margin-top: 0; }
.hw-why { margin: 0; font: 400 19px/1.3 var(--serif); text-wrap: pretty; }
.hw-flow { display: flex; align-items: stretch; gap: 0; } .hw-n { flex: 1 1 0; min-width: 0; padding: 10px 11px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); display: grid; gap: 3px; align-content: start; }
.hw-n b { font-weight: 500; font-size: 13px; line-height: 1.2; } .hw-n span { font-size: 11.5px; line-height: 1.3; color: color-mix(in srgb, var(--bg) 62%, transparent); }
.hw-n.k-core { background: color-mix(in srgb, var(--bg) 14%, transparent); border-color: color-mix(in srgb, var(--bg) 45%, transparent); } .hw-n.k-ext { border-style: dashed; } .hw-n.k-store { border-radius: 3px; } .hw-n.k-gpu { border-width: 2px; }
.hw-a { flex: none; width: 22px; align-self: center; height: 1px; background: color-mix(in srgb, var(--bg) 45%, transparent); position: relative; } .hw-a::after { content: ''; position: absolute; right: 0; top: -3px; border: solid color-mix(in srgb, var(--bg) 60%, transparent); border-width: 1px 1px 0 0; width: 6px; height: 6px; transform: rotate(45deg); }
.hw-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 11px; color: color-mix(in srgb, var(--bg) 55%, transparent); } .hw-key span { display: inline-flex; align-items: center; gap: 6px; }
.hw-key u { width: 12px; height: 9px; border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent); border-radius: 3px; } .hw-key .k-core u { background: color-mix(in srgb, var(--bg) 22%, transparent); } .hw-key .k-ext u { border-style: dashed; } .hw-key .k-store u { border-radius: 0; } .hw-key .k-gpu u { border-width: 2px; }
.hw-tech { display: flex; flex-wrap: wrap; gap: 6px; } .hw-tech span { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); font-size: 12.5px; line-height: 1.3; }
.hw-tech em { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 45%, transparent); white-space: nowrap; } .hw-tech .ok em { color: var(--ok); } .hw-tech .ok { border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
@media (max-width: 780px) { .hw-line { display: none; } .hw-row { justify-content: flex-end; margin-top: -6px; } .hw-flow { flex-direction: column; } .hw-a { width: 1px; height: 14px; margin-left: 18px; align-self: flex-start; } .hw-a::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); } .hw-why { font-size: 16px; } .hw-sheet { max-height: 62vh; } }
@media (prefers-reduced-motion: reduce) { .hw-sheet { animation: none; } }
/* the caption and its sheet always stand above dialogs */
#present { position: relative; z-index: 110; }

/* ---------- the show: "the technical decision" as a slide of its own, between the screens ---------- */
.hw-full { position: fixed; inset: 0; z-index: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; padding: 48px 40px 230px; overflow: auto; animation: fadeIn .35s ease both; }
.hw-full-in { width: min(1180px, 100%); } .hw-full .eyebrow { color: color-mix(in srgb, var(--bg) 55%, transparent); margin-bottom: 26px; }
.hw-full .hw-sheet { position: static; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none; animation: none; border-radius: 0; }
.hw-full .hw-sec { margin: 34px 0 12px; font-size: 11px; } .hw-full .hw-sec:first-child { margin-top: 0; }
.hw-full .hw-why { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.18; max-width: 26em; }
.hw-full .hw-n { padding: 16px 16px 18px; border-radius: 14px; gap: 6px; } .hw-full .hw-n b { font-size: 16px; } .hw-full .hw-n span { font-size: 13px; }
.hw-full .hw-n.k-store { border-radius: 4px; } .hw-full .hw-a { width: 30px; } .hw-full .hw-key { margin-top: 12px; font-size: 12px; }
.hw-full .hw-tech span { font-size: 14px; padding: 9px 13px; border-radius: 10px; }
@media (max-width: 780px) { .hw-full { padding: 24px 16px 250px; place-items: start; } .hw-full .hw-n { padding: 10px 12px; } .hw-full .hw-n b { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .hw-full { animation: none; } }

/* ---------- primer: the first page. Black on white, one column, nothing moves ---------- */
.pm { position: fixed; inset: 0; z-index: 80; overflow-y: auto; background: #fff; color: #111; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.pm-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 18px; padding: 16px 28px; background: rgba(255,255,255,.94); border-bottom: 1px solid #e6e6e6; }
.pm-logo .logo { height: 14px; filter: brightness(0); display: block; } .pm-lang { margin-left: auto; display: flex; }
.pm-lang button, .pm-skip { border: 0; background: none; color: #777; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 7px; cursor: pointer; } .pm-lang button.on, .pm-lang button:hover, .pm-skip:hover { color: #111; }
.pm-skip { letter-spacing: 0; text-transform: none; font-size: 13.5px; color: #111; border: 1px solid #111; border-radius: 999px; padding: 8px 16px; } .pm-skip:hover { background: #111; color: #fff; }
.pm-main { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 120px; }
.pm h1 { font: 600 clamp(30px, 4.6vw, 52px)/1.12 var(--sans); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.pm-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; margin: 26px 0 0; color: #333; }
.pm-note { margin: 44px 0 0; padding: 20px 24px; border: 1.5px solid #111; border-radius: 4px; font-size: 16px; line-height: 1.55; } .pm-note b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.pm-s { margin-top: 88px; } .pm-n { font: 600 14px var(--sans); width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; }
.pm h2 { font: 600 clamp(23px, 2.6vw, 32px)/1.2 var(--sans); letter-spacing: -.01em; margin: 16px 0 0; text-wrap: balance; }
.pm-d { margin: 26px 0 6px; padding: 20px; border: 1px solid #e2e2e2; border-radius: 4px; color: #111; } .pm-d svg { display: block; width: 100%; height: auto; max-height: 240px; } .pm-d text { font-family: var(--sans); }
.pm dl { margin: 22px 0 0; display: grid; grid-template-columns: 132px 1fr; gap: 14px 20px; font-size: 17px; line-height: 1.55; } .pm dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #777; padding-top: 5px; } .pm dd { margin: 0; }
.pm-s > p { font-size: 17px; line-height: 1.6; margin: 18px 0 0; }
.pm-roles { margin-top: 22px; border-top: 1px solid #111; } .pm-role { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e2e2e2; } .pm-role p { margin: 0; flex: 1; font-size: 17px; line-height: 1.5; }
.pm-role button, .pm-btn { border: 1px solid #111; background: #fff; color: #111; font: 500 14px var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; } .pm-role button:hover, .pm-btn.ghost:hover { background: #111; color: #fff; }
.pm-end { margin-top: 96px; padding-top: 40px; border-top: 1.5px solid #111; } .pm-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .pm-btn { font-size: 16px; padding: 15px 28px; } .pm-btn:not(.ghost) { background: #111; color: #fff; } .pm-btn:not(.ghost):hover { background: #333; }
@media (max-width: 640px) { .pm-top { padding: 12px 16px; gap: 10px; } .pm-skip { padding: 7px 12px; font-size: 12.5px; } .pm-main { padding: 44px 0 90px; } .pm dl { grid-template-columns: 1fr; gap: 4px; } .pm dd { margin-bottom: 12px; } .pm-s { margin-top: 64px; } .pm-role { flex-direction: column; align-items: flex-start; gap: 10px; } .pm-d { padding: 12px; } }
.pm-skip { white-space: nowrap; } @media (max-width: 420px) { .pm-top { gap: 6px; padding: 10px 12px; } .pm-lang button { padding: 6px 4px; } .pm-skip { font-size: 12px; padding: 7px 10px; } }

/* ---------- Earth: the passage through cloud between orbit and a city (iteration 78) ---------- */
.eg-veil { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(ellipse at 50% 46%, #f7f5f1 0%, #eceae6 58%, #e3e0da 100%); color: #2d2a2a; opacity: 0; pointer-events: none; transition: opacity 1.25s cubic-bezier(.4, 0, .2, 1); }
.eg-veil.on { opacity: 1; pointer-events: auto; transition-duration: .8s; }
.eg-veil.now { transition: none; }
.eg-veil.nt { background: radial-gradient(ellipse at 50% 46%, #131826 0%, #0b0f19 60%, #070a12 100%); color: #ebe8e2; }
.eg-veil b { font-weight: 500; font-size: 12px; line-height: 1; letter-spacing: .44em; padding-left: .44em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.eg-veil b:empty { display: none; }
.eg-veil.on b { opacity: 1; transform: none; transition-delay: .3s; }
.eg-veil i { width: 72px; height: 1px; background: currentColor; opacity: .38; transform: scaleX(0); transition: transform .5s ease; }
.eg-veil.on i { transform: scaleX(1); transition: transform 2.2s cubic-bezier(.3, 0, .2, 1) .35s; }
@media (prefers-reduced-motion: reduce) { .eg-veil, .eg-veil b, .eg-veil i { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* over the white model by day the words on the Earth are ink (iteration 78) */
.eh-time, .eh-offs button, .eh-hint, .eg-ofc, .eg-pin em { transition: color .6s ease, text-shadow .6s ease; }
.earth.sat:has(.eg.paper) .eh-time { color: #141312; text-shadow: 0 1px 18px rgba(255,255,255,.7); }
.earth.sat:has(.eg.paper) .eh-offs button { color: rgba(20,19,18,.55); text-shadow: none; }
.earth.sat:has(.eg.paper) .eh-offs button:hover, .earth.sat:has(.eg.paper) .eh-offs button.mine, .earth.sat:has(.eg.paper) .eh-offs button.on { color: #141312; }
.earth.sat:has(.eg.paper) .eh-hint, .earth.sat:has(.eg.paper) .eh-date { color: rgba(20,19,18,.55); text-shadow: none; }
.eg.paper .eg-ofc.nt { color: #141312; text-shadow: 0 0 8px rgba(255,255,255,.85); } .eg.paper .eg-ofc.nt .eg-y { background: #141312; color: #fff; }
.eg.paper .eg-pin.nt em { color: #141312; text-shadow: 0 0 8px rgba(255,255,255,.9); }


/* ======================================================================
   Iteration 80 — white space. The page is white, the sign-in is one button, the top bar carries two quiet icons.
   ====================================================================== */
:root:not([data-theme="dark"]) { --bg: #FFFFFF; --surface: #FAFAF9; --surface-2: #F2F1EF; --surface-3: #E7E5E2; --line: #E9E7E4; --accent-soft: #F1F0EE; }
.lg { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: #fff; color: #141313; font-size: 13.5px; }
:root[data-theme="dark"] .lg { background: #131212; color: #f0eeeb; }
.lg button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.lg-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; }
.lg-doors, .lg-lang { display: flex; gap: 18px; } .lg-doors button, .lg-lang button { color: #a09c99; transition: color .25s; } .lg-lang button { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.lg-doors button.on, .lg-lang button.on, .lg-doors button:hover, .lg-lang button:hover { color: inherit; }
.lg-mid { display: grid; place-content: center; justify-items: center; gap: 56px; padding: 0 24px 6vh; }
.lg-logo { animation: lgIn 1.1s cubic-bezier(.2,.8,.2,1) both; } .lg-logo .logo { height: 30px; } .lg-logo img, .lg-logo svg { height: 30px; width: auto; }
.lg-box { position: relative; width: min(340px, 86vw); display: grid; gap: 10px; animation: lgIn 1.1s .12s cubic-bezier(.2,.8,.2,1) both; }
.lg-who { display: grid !important; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; height: 60px; padding: 0 18px 0 12px !important; border: 1px solid #e9e7e4 !important; border-radius: 16px; transition: border-color .25s; }
.lg-who:hover, .lg-who.open { border-color: currentColor !important; } .lg-who svg { width: 12px; height: 12px; color: #a09c99; transition: transform .35s cubic-bezier(.2,.8,.2,1); } .lg-who.open svg { transform: rotate(180deg); }
.lg-who span, .lg-pick span { display: grid; min-width: 0; } .lg-who b, .lg-pick b { font-weight: 500; } .lg-who i, .lg-pick i { font-style: normal; font-size: 12px; color: #a09c99; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-pick { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); max-height: 46vh; overflow: auto; display: grid; padding: 6px; border: 1px solid #e9e7e4; border-radius: 16px; background: inherit; background-color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.10); animation: lgIn .35s cubic-bezier(.2,.8,.2,1) both; z-index: 2; }
:root[data-theme="dark"] .lg-pick { background-color: #1c1b1b; border-color: #2a2828; } :root[data-theme="dark"] .lg-who { border-color: #2a2828 !important; }
.lg-pick button { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 12px; transition: background .2s; } .lg-pick button:hover, .lg-pick button.on { background: rgba(127,127,127,.10); }
.lg-go { position: relative; height: 56px; border-radius: 999px; background: #141313 !important; color: #fff !important; font-weight: 500; letter-spacing: .01em; overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s; }
:root[data-theme="dark"] .lg-go { background: #f0eeeb !important; color: #131212 !important; }
.lg-go:hover { transform: translateY(-1px); opacity: .9; } .lg-go:active { transform: scale(.985); } .lg-go span { position: relative; z-index: 1; }
.lg-go i { position: absolute; inset: 0; background: rgba(255,255,255,.22); transform: scaleX(0); transform-origin: 0 50%; } .lg-go.scan i { transform: scaleX(1); transition: transform 1.05s cubic-bezier(.65,0,.2,1); }
.lg-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: #a09c99; line-height: 1.5; } .lg-note button { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lg-foot { padding: 22px 28px; text-align: center; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #a09c99; }
@keyframes lgIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .lg-logo, .lg-box, .lg-pick { animation: none; } }
.top .t-ic { position: relative; width: 34px; height: 34px; border-color: transparent; background: none; color: var(--ink-2); } .top .t-ic:hover { color: var(--ink); border-color: var(--line); }
.top .t-ic i { position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 9.5px/1 var(--sans); font-style: normal; }
@media (max-width: 899px) { .top .t-ic[data-a="help"] { display: none; } }
.hw { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 16px; margin: 18px 0 6px; font-size: 13px; } .hw dt, .hw dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); } .hw dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 13px; } .hw dd { color: var(--ink-2); }
.hw-p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .hw-p span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 12px; } .hw-p i { font-style: normal; color: var(--ink-3); }
/* iteration 81: old pages sit on the white with hairlines, not shadows */
:root:not([data-theme="dark"]) .content .card { box-shadow: none; border: 1px solid var(--line); }
/* iteration 82: one scroll per page. A card never scrolls inside itself; where a wide table or a long list has to move,
   it moves without a scrollbar of its own. */
@media (max-width: 780px) { .card, .dcard { overflow-x: clip; overflow-y: visible; } }
#app *, #ov * { scrollbar-width: none; } #app *::-webkit-scrollbar, #ov *::-webkit-scrollbar { display: none; }
html { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (max-width: 900px) { .yp-scroll { overflow: visible; flex: none; } .yp-col, .ho-col { height: auto !important; max-height: none !important; min-height: 0; } .yp, .yp-grid, .ho-grid { height: auto !important; max-height: none !important; } }
/* iteration 84: menus of the top bar open over a full-screen page, never under it */
.app.full .top { position: relative; z-index: 40; overflow: visible; } .app.full .canvas-host { z-index: 1; } .top .menu, .top .os-menu, .top .demo-p { z-index: 50; }

/* iteration 88: the dimming layer sits under its own window (search, modals, volume), not over it */
.pal-wrap > .scrim, .modal-wrap > .scrim, .vol-modal > .scrim, .w-wrap > .scrim { z-index: 0; }
.pal-wrap > .pal, .modal-wrap > .modal, .vol-modal > .vol-box { position: relative; z-index: 1; }

/* iteration 88: "How it works" is a word, not a riddle icon; the help sheet lists this screen's paths */
.top .t-how { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); font: 500 12.5px var(--sans); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.top .t-how .ico { width: 15px; height: 15px; } .top .t-how:hover { color: var(--ink); border-color: var(--ink-3); }
@media (max-width: 700px) { .top .t-how { width: 32px; padding: 0; justify-content: center; } .top .t-how span { display: none; } }
.on-earth .top .t-how { pointer-events: auto; color: rgba(255,255,255,.86); border-color: rgba(255,255,255,.18); background: rgba(14,16,19,.62); }
.hw-fl { display: flex; flex-direction: column; margin: 16px 0 18px; border-top: 1px solid var(--line); }
.hw-fl button { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 500 13.5px var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.hw-fl button span { flex: 1; } .hw-fl button i { font-style: normal; color: var(--ink-3); transition: transform .2s; } .hw-fl button:hover i { transform: translateX(3px); }
.hw-fl button .ico { width: 15px; height: 15px; color: var(--ink-3); }
.hw-fl .hw-walk { border: 0; margin-top: 12px; justify-content: center; height: 38px; border-radius: 999px; background: var(--ink); color: var(--surface); } .hw-fl .hw-walk .ico { color: var(--surface); }
.hm-sec .hw-b, .hm-wh .hw-b { margin-left: auto; } .hm-sec > span + .hw-b { margin-left: auto; } .hm-sec > span ~ span + .hw-b { margin-left: 10px; }
.tl-tasks .head .hw-b, .card .head .hw-b { margin-left: auto; margin-right: 8px; }

/* project card: the "Walk around in 3D" button sits inside the picture (.btn sets position: relative later on) */
.p3d .btn.go3d { position: absolute; left: auto; right: 14px; bottom: 14px; }

/* leaving the framework: a visible sign-out in the top bar, what keeps working and what stops, the outside screen */
.out-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.out-btn .ico { width: 15px; height: 15px; } .out-btn:hover, .out-btn.on { border-color: var(--ink); }
.menu.out-m { width: min(420px, calc(100vw - 24px)); right: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.out-h b { font-size: 15px; } .out-h p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.out-l { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .out-l > div { display: flex; flex-direction: column; gap: 6px; }
.out-l i { font-style: normal; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.out-l span { font-size: 12.5px; line-height: 1.35; padding-left: 14px; position: relative; } .out-l span::before { content: '–'; position: absolute; left: 0; color: var(--ink-3); } .out-l span.ok::before { content: '✓'; color: var(--ok, #2e9b5b); }
.out-nda { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; background: var(--bg); } .out-nda .ico { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.out-b { display: flex; gap: 8px; flex-wrap: wrap; } .out-b .ico { width: 15px; height: 15px; }
.out-s .out-box { width: min(560px, 100%); display: flex; flex-direction: column; gap: 16px; text-align: left; } .out-s .out-box h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; } .out-s .out-box p { margin: 0; font-size: 14px; line-height: 1.5; }
.out-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; } .out-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn, #c98a1b); }
.out-f { display: flex; flex-direction: column; border-top: 1px solid var(--line); } .out-f > i { font-style: normal; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0 4px; }
.out-f > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .out-f .ico { width: 15px; height: 15px; } .out-f small { font-size: 11.5px; color: var(--ink-3); } .out-f .locked { color: var(--ink-3); }
@media (max-width: 760px) { .out-btn span { display: none; } .out-btn { padding: 0 9px; } .out-l { grid-template-columns: 1fr; } }
.out-s .out-b button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #141313; background: #fff; color: #141313; font: 500 14px/1 "Inter Tight", system-ui, sans-serif; cursor: pointer; }
.out-s .out-b button.primary { background: #141313; color: #fff; } .out-s .out-b .ico { width: 16px; height: 16px; }

/* 3ds Max panel: publish your own model, the assistant in the viewport; tabs wrap instead of scrolling */
.yz-tabs { flex-wrap: wrap; overflow: visible; }
.pub-h { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; } .pub-th { width: 72px; flex: none; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; } .pub-th > * { width: 100%; height: 100%; display: block; }
.pub-h b { display: block; font-size: 13px; } .pub-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 11px; color: var(--ink-3); } .pub-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.pub-c { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; } .pub-c > span { width: 16px; flex: none; text-align: center; font-weight: 600; color: var(--ok, #2e9b5b); } .pub-c.warn > span { color: var(--warn, #c98a1b); }
.pub-ok { font-size: 12px; line-height: 1.45; padding: 9px 11px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.ai-case { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; background: var(--surface); } .ai-case.on { border-color: var(--ink); }
.ai-q { all: unset; box-sizing: border-box; width: 100%; padding: 9px 11px; font-size: 12.5px; cursor: pointer; } .ai-a { padding: 0 11px 11px; font-size: 12px; line-height: 1.5; color: var(--ink-2, var(--ink)); } .ai-ok { color: var(--ok, #2e9b5b); }
