/* Gestalt Digital site. Colours come from the operator's brand (navy #051B3A, gold #E4A92C). No external fonts or
   images: a system font stack, inline SVG and the two logo files. Logical properties throughout so right to left
   mirrors. External stylesheet only, so a strict Content-Security-Policy works (style-src 'self'). */
:root {
  --bg: #f1f6fe; --surface: #ffffff; --surface-2: #e8eef7; --ink: #051b3a; --muted: #4a5b73; --line: #d3ddea;
  --accent: #e4a92c; --accent-ink: #8a5e0b; --accent-soft: #fbf1dc; --link: #355787; --navy: #051b3a; --focus: #1f4fa3;
  --ok: #0b6b4a; --ok-bg: #dcf3e8; --pre: #7a4e00; --pre-bg: #fdecc4; --plan: #3d4a5f; --plan-bg: #e3e8f0; --first: #1b4f9c; --first-bg: #dce8fb;
  --shadow: 0 10px 30px rgba(5, 27, 58, 0.12); --m-ink: #051b3a; --m-edge: rgba(5, 27, 58, 0.35); --m-pin: #e4a92c;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Noto Sans Arabic', 'Segoe UI Arabic', Tahoma, sans-serif;
  --radius: 16px; color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #040f22; --surface: #0b2146; --surface-2: #11305f; --ink: #eaf1fb; --muted: #afc0d8; --line: #24437a;
  --accent-ink: #e4a92c; --accent-soft: #2a2410; --link: #9db8e3; --focus: #9cc2ff;
  --ok: #7be3b4; --ok-bg: #0c3a2c; --pre: #ffd36b; --pre-bg: #3d2f08; --plan: #c3cfe2; --plan-bg: #1c2f50; --first: #a9c8ff; --first-bg: #12305f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5); --m-ink: #ffffff; --m-edge: rgba(255, 255, 255, 0.28); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #040f22; --surface: #0b2146; --surface-2: #11305f; --ink: #eaf1fb; --muted: #afc0d8; --line: #24437a;
    --accent-ink: #e4a92c; --accent-soft: #2a2410; --link: #9db8e3; --focus: #9cc2ff;
    --ok: #7be3b4; --ok-bg: #0c3a2c; --pre: #ffd36b; --pre-bg: #3d2f08; --plan: #c3cfe2; --plan-bg: #1c2f50; --first: #a9c8ff; --first-bg: #12305f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5); --m-ink: #ffffff; --m-edge: rgba(255, 255, 255, 0.28); color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); text-rendering: optimizeLegibility; }
img, svg, canvas { max-inline-size: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; } a { color: var(--link); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.35; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; z-index: 100; background: var(--accent); color: #051b3a; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { inset-block-start: 8px; }
.wrap { inline-size: min(100% - 2rem, 1240px); margin-inline: auto; }
.wrap--narrow { inline-size: min(100% - 2rem, 820px); }
.muted { color: var(--muted); } .caption { color: var(--muted); font-size: 0.9rem; margin-block: 0.8rem 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-inline-size: 38ch; } .lead-sm { font-size: 1.1rem; color: var(--muted); max-inline-size: 62ch; }
kbd { font: 600 0.72rem/1 var(--font); padding: 0.2rem 0.4rem; border: 1px solid currentColor; border-radius: 6px; opacity: 0.75; }
.noscript { padding: 1rem; background: var(--accent-soft); color: var(--ink); text-align: center; margin: 0; }

/* buttons */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 44px; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.95rem var(--font); cursor: pointer; text-decoration: none; transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s; }
.btn:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(228, 169, 44, 0.25); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #051b3a; }
.btn--primary:hover { background: #f0b83d; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #051b3a; }
.btn--ghost { background: transparent; }
.btn--small { padding: 0.35rem 0.85rem; font-size: 0.88rem; }
.btn--big { padding: 0.8rem 1.5rem; font-size: 1.05rem; }
.iconbtn { appearance: none; inline-size: 44px; block-size: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: 700 1.25rem var(--font); transition: border-color 0.18s, transform 0.18s; }
.iconbtn:hover { border-color: var(--accent); transform: translateY(-1px); }
.iconbtn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ic-moon { fill: currentColor; stroke: none; } .ic-sun { display: none; }
:root[data-theme='dark'] .ic-sun { display: inline; } :root[data-theme='dark'] .ic-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .ic-sun { display: inline; } :root:not([data-theme='light']) .ic-moon { display: none; } }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ''; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: currentColor; }
.badge--available { background: var(--ok-bg); color: var(--ok); }
.badge--preview { background: var(--pre-bg); color: var(--pre); border-style: dashed; border-color: currentColor; }
.badge--planned { background: var(--plan-bg); color: var(--plan); border-style: dotted; border-color: currentColor; }
.badge--first { background: var(--first-bg); color: var(--first); }

/* header */
.site-header { background: var(--surface); border-block-end: 1px solid var(--line); position: sticky; inset-block-start: 0; z-index: 60; }
html { scroll-padding-block-start: 5rem; }
.site-header__in { display: flex; align-items: center; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.brand { display: inline-flex; flex: none; } .brand__img { block-size: 26px; inline-size: auto; }
.brand__img--dark { display: none; }
:root[data-theme='dark'] .brand__img--light { display: none; } :root[data-theme='dark'] .brand__img--dark { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .brand__img--light { display: none; } :root:not([data-theme='light']) .brand__img--dark { display: inline; } }
.nav { display: flex; gap: 0.15rem; flex: 1 1 auto; overflow-x: auto; scrollbar-width: thin; }
.nav a { padding: 0.5rem 0.7rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.site-header__tools { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
@media (max-width: 960px) { .nav { order: 3; flex-basis: 100%; } }

/* hero */
.hero { position: relative; overflow: hidden; color: #eaf1fb; background: radial-gradient(1200px 600px at 75% 10%, #123a73 0%, rgba(18, 58, 115, 0) 60%), linear-gradient(180deg, #051b3a 0%, #031025 100%); padding-block: clamp(1.5rem, 4vw, 3.5rem) 2.5rem; }
.hero__glow { position: absolute; inset-inline-end: -10%; inset-block-start: -20%; inline-size: 60vw; block-size: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 169, 44, 0.22), rgba(228, 169, 44, 0)); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(1rem, 3vw, 3rem); align-items: center; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
:lang(ar) .kicker { letter-spacing: 0; text-transform: none; }
.hero .lead { color: #c9d6ea; } .hero .hint { color: #9fb2cf; font-size: 0.85rem; }
.hero__cta .btn { background: rgba(255, 255, 255, 0.08); color: #eaf1fb; border-color: rgba(255, 255, 255, 0.28); }
.hero__cta .btn--primary { background: var(--accent); color: #051b3a; border-color: var(--accent); }
.hero :focus-visible { outline-color: #ffd36b; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.4rem 1rem; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

.cutaway { min-inline-size: 0; }
.cutaway__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-block-end: 0.6rem; flex-wrap: wrap; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.15rem; padding: 0; margin: 0; font-size: 0.9rem; }
.crumbs li + li::before { content: '\203A'; margin-inline: 0.35rem; color: #8fa6c8; }
:root[dir='rtl'] .crumbs li + li::before { content: '\2039'; }
.crumb { appearance: none; background: none; border: 0; color: #cfe0ff; font: 600 0.9rem var(--font); cursor: pointer; padding: 0.3rem 0.4rem; border-radius: 6px; text-decoration: underline; text-underline-offset: 3px; }
.crumb--here { color: #fff; text-decoration: none; cursor: default; }
.cutaway__tools { display: flex; gap: 0.4rem; }
.cutaway__tools .iconbtn { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); inline-size: 40px; block-size: 40px; }
.stagewrap { position: relative; }
.stage { position: relative; aspect-ratio: 1000 / 820; inline-size: 100%; border-radius: 22px; overflow: hidden; background: radial-gradient(600px 400px at 50% 55%, rgba(53, 87, 135, 0.45), rgba(4, 15, 34, 0.0) 70%), linear-gradient(180deg, #08224a, #041229); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08); cursor: grab; touch-action: pan-y; user-select: none; }
.stage.is-zoomed { touch-action: none; } .stage.is-dragging { cursor: grabbing; }
.stage__art { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.stage__drag { position: absolute; inset-block-end: 10px; inset-inline-end: 14px; margin: 0; font-size: 0.75rem; color: #8fa6c8; pointer-events: none; }
.stage.has-sel .stage__drag, .stage.in-scene .stage__drag { display: none; }
@media (max-width: 720px) { .stage { aspect-ratio: 1 / 1.05; border-radius: 16px; } .stage.in-scene { aspect-ratio: auto; min-block-size: min(86vh, 700px); } }

/* artwork */
.part { transition: opacity 0.5s, filter 0.5s; cursor: pointer; }
.stage.has-sel .part:not(.on) { opacity: 0.2; }
.part.on { filter: drop-shadow(0 0 14px rgba(255, 211, 107, 0.55)); }
.s-top, .s-left, .s-right, .c-top, .c-left, .c-right, .t-app, .t-bronze, .t-silver, .t-gold { stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.8; stroke-linejoin: round; }
.l-env.s-top { fill: #15315e; } .l-env.s-left { fill: #0f2548; } .l-env.s-right { fill: #0b1e3d; }
.l-src.s-top { fill: #3a6ea8; } .l-src.s-left { fill: #2b5486; } .l-src.s-right { fill: #234672; }
.l-bronze.s-top { fill: #b87333; } .l-bronze.s-left { fill: #8c5426; } .l-bronze.s-right { fill: #6f4220; } .t-bronze { fill: #e3a56d; opacity: 0.85; }
.l-silver.s-top { fill: #c3ccd9; } .l-silver.s-left { fill: #8e9bb0; } .l-silver.s-right { fill: #76839a; } .t-silver { fill: #f1f4f9; opacity: 0.9; }
.l-gold.s-top { fill: #e4a92c; } .l-gold.s-left { fill: #b5841a; } .l-gold.s-right { fill: #8f6612; } .t-gold { fill: #fff0c4; opacity: 0.92; }
.ico .i-body, .ico .c-left { fill: #9ec3ee; } .ico .i-top, .ico .c-top { fill: #d8e8fb; } .ico .c-right { fill: #7aa7d8; }
.plug { fill: none; stroke: #bfe0ff; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; animation: dash 2.4s linear infinite; }
.floor-glow { fill: rgba(80, 150, 255, 0.10); }
.stream { stroke: rgba(255, 224, 140, 0.9); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 16; animation: rise 2.2s linear infinite; }
.stream--1 { animation-duration: 1.7s; } .stream--2 { animation-duration: 2.8s; }
@keyframes rise { to { stroke-dashoffset: -34; } } @keyframes dash { to { stroke-dashoffset: -22; } }
.shell.s-left, .shell.s-right, .shell.s-roof { fill: rgba(120, 200, 255, 0.10); stroke: #7fd0ff; stroke-width: 1.4; stroke-dasharray: 7 6; }
.shell.s-roof { fill: rgba(120, 200, 255, 0.05); } .shell-edge { stroke: #7fd0ff; stroke-width: 1.4; stroke-dasharray: 7 6; opacity: 0.8; }
.app.s-top { fill: #5b9bf0; } .app.s-left { fill: #3f78c8; } .app.s-right { fill: #315fa2; } .t-app { fill: #dcebff; opacity: 0.9; }
.model3 .c-top { fill: #f2c25d; } .model3 .c-left { fill: #c7922b; } .model3 .c-right { fill: #9e7120; }
.orbit { fill: none; stroke: #ffe39a; stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 3s linear infinite; }
.mapc.s-top { fill: #3c7a68; } .mapc.s-left { fill: #2b5d4e; } .mapc.s-right { fill: #204a3e; } .map-river { fill: none; stroke: #8fd3ff; stroke-width: 3; stroke-linecap: round; } .map-pin { fill: #ffd36b; stroke: #fff; stroke-width: 1; }
.orb { stroke: #fff; stroke-width: 1; } .orb-a { stop-color: #fff3c9; } .orb-b { stop-color: #e4a92c; }
.orb-ring { fill: none; stroke: rgba(255, 224, 140, 0.55); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.orb-ring--b { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }
.bic.s-top { fill: #7b5bd0; } .bic.s-left { fill: #5a3fa8; } .bic.s-right { fill: #45317f; } .bi-bar { fill: #f5e6ff; stroke: rgba(255, 255, 255, 0.4); stroke-width: 0.8; }

/* hotspots */
.spots { position: absolute; inset: 0; pointer-events: none; }
.spot { appearance: none; position: absolute; inline-size: 44px; block-size: 44px; margin: -22px 0 0 -22px; padding: 0; background: transparent; border: 0; cursor: pointer; pointer-events: auto; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: opacity 0.3s; }
:root[dir='rtl'] .spot { margin: -22px -22px 0 0; }
.spot.is-off { opacity: 0; pointer-events: none; }
.spot__core { inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(5, 27, 58, 0.6), 0 0 14px rgba(228, 169, 44, 0.9); position: relative; z-index: 1; transition: transform 0.2s; }
.spot--preview .spot__core { background: #7fd0ff; box-shadow: 0 0 0 3px rgba(5, 27, 58, 0.6), 0 0 14px rgba(127, 208, 255, 0.9); }
.spot--planned .spot__core { background: #b8c6da; box-shadow: 0 0 0 3px rgba(5, 27, 58, 0.6); }
.spot__ring { position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.2s ease-out infinite; }
.spot--preview .spot__ring { border-color: #7fd0ff; border-style: dashed; } .spot--planned .spot__ring { border-color: #b8c6da; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.95; } 100% { transform: scale(1.7); opacity: 0; } }
.spot:hover .spot__core, .spot:focus-visible .spot__core, .spot.is-sel .spot__core { transform: scale(1.5); }
.spot:focus-visible { outline: 3px solid #ffd36b; outline-offset: 0; }
.spot__label { position: absolute; inset-inline-start: 100%; inset-block-start: 50%; transform: translateY(-50%); margin-inline-start: 4px; background: rgba(4, 15, 34, 0.92); color: #fff; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; border: 1px solid rgba(255, 255, 255, 0.25); z-index: 2; }
.spot:hover .spot__label, .spot:focus-visible .spot__label, .spot.is-sel .spot__label { opacity: 1; }
.stage.has-sel .spot:not(.is-sel) { opacity: 0.45; }

/* card */
.card { position: absolute; inset-inline-start: 14px; inset-block-end: 14px; inline-size: min(360px, calc(100% - 28px)); max-block-size: calc(100% - 28px); overflow: auto; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); transition: opacity 0.35s, transform 0.35s; z-index: 5; }
.card.is-open { opacity: 1; transform: none; }
.card__top { display: flex; align-items: center; gap: 0.6rem; margin-block-end: 0.4rem; } .card__kicker { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.card__title { font-size: 1.25rem; } .card p { font-size: 0.95rem; margin-block-end: 0.6rem; } .card__note { color: var(--muted); font-size: 0.85rem !important; }
.card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 980px) { .card { position: relative; inset: auto; inline-size: 100%; max-block-size: none; margin-block-start: 0.8rem; transform: none; } .card[hidden] { display: none; } }

/* scene overlay */
.scene { position: absolute; inset: 0; z-index: 6; background: var(--surface); color: var(--ink); overflow: auto; padding: 1rem 1.1rem; opacity: 0; transform: scale(0.97); transition: opacity 0.35s, transform 0.35s; cursor: auto; user-select: text; }
.scene.is-open { opacity: 1; transform: none; } .scene[hidden] { display: none; }
.stage.in-scene .spots { visibility: hidden; }
.scene__head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-block-end: 0.8rem; flex-wrap: wrap; } .scene__title { margin: 0; font-size: 1.25rem; }
.scene .caption { margin-block-start: 0.7rem; }
.hotlist { margin-block-start: 0.8rem; color: #c9d6ea; } .hotlist summary { cursor: pointer; font-weight: 600; padding: 0.4rem 0; }
.hotlist__ul { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.4rem; }
.hot { appearance: none; inline-size: 100%; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; min-block-size: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); font: 600 0.88rem var(--font); cursor: pointer; text-align: start; }
.hot[aria-pressed='true'] { border-color: var(--accent); background: rgba(228, 169, 44, 0.16); }
.hot .badge { font-size: 0.7rem; }

/* sections */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); } .section--alt { background: var(--surface-2); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem 0.6rem; }
.filter { appearance: none; min-block-size: 44px; padding: 0.35rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.9rem var(--font); cursor: pointer; transition: all 0.18s; }
.filter:hover { border-color: var(--accent); } .filter[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
:root[data-theme='dark'] .filter[aria-pressed='true'] { background: var(--accent); color: #051b3a; border-color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .filter[aria-pressed='true'] { background: var(--accent); color: #051b3a; border-color: var(--accent); } }
.count, .counts { color: var(--muted); font-weight: 600; }
.mod-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .mod-layout { grid-template-columns: 1fr; } }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.8rem; }
.mcard { appearance: none; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; text-align: start; padding: 0.9rem 1rem; border-radius: var(--radius); background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); font: inherit; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; min-block-size: 130px; }
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); } .mcard[aria-pressed='true'] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.mcard__name { font-weight: 800; font-size: 1.1rem; } .mcard__area { font-size: 0.75rem; color: var(--accent-ink); font-weight: 700; } .mcard__p { font-size: 0.85rem; color: var(--muted); }
.mpanel, .rpanel { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: sticky; inset-block-start: 4.5rem; }
.mpanel ul { padding-inline-start: 1.2rem; }
.rcols { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-block: 1rem; }
/* Horizontal panels: each status is a full-width band whose chips flow across, so the section is short. */
.rcol > ul, .rlist { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.rcol { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1rem; border-block-start: 5px solid var(--ok); }
.rcol--preview { border-block-start-color: #d99a1c; border-block-start-style: dashed; } .rcol--planned { border-block-start-color: #7a8ba6; border-block-start-style: dotted; }
.rcol h3 { display: flex; justify-content: space-between; } .rcol__n { color: var(--muted); }
.rlist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rchip { appearance: none; padding: 0.35rem 0.75rem; min-block-size: 36px; border-radius: 999px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); font: 500 0.85rem var(--font); cursor: pointer; text-align: start; }
.rchip:hover { border-color: var(--accent); } .rchip[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
:root[data-theme='dark'] .rchip[aria-pressed='true'] { background: var(--accent); color: #051b3a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .rchip[aria-pressed='true'] { background: var(--accent); color: #051b3a; } }
.rpanel { position: static; } .basis { color: var(--muted); font-size: 0.85rem; margin-block-start: 1rem; }
.scards { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.scard { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.1rem; position: relative; transition: transform 0.2s, border-color 0.2s; } .scard:hover { transform: translateY(-3px); border-color: var(--accent); }
.scard__n { display: inline-grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--accent); color: #051b3a; font-weight: 800; margin-block-end: 0.5rem; }
.acc { border-block-end: 1px solid var(--line); } .acc h3 { margin: 0; }
.acc__btn { appearance: none; inline-size: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0.2rem; min-block-size: 56px; background: none; border: 0; color: var(--ink); font: 700 1.05rem var(--font); cursor: pointer; text-align: start; }
.acc__icon { inline-size: 12px; block-size: 12px; border-inline-end: 2.5px solid currentColor; border-block-end: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; flex: none; }
.acc__btn[aria-expanded='true'] .acc__icon { transform: rotate(-135deg); } .acc__panel { padding: 0 0.2rem 1rem; color: var(--muted); }
.cta { background: linear-gradient(180deg, #051b3a, #031025); color: #eaf1fb; text-align: center; } .cta .lead-sm, .cta .muted { color: #c1d0e6; margin-inline: auto; }
.cta__in { padding-block: 1rem; } .cta :focus-visible { outline-color: #ffd36b; }
.site-footer { padding-block: 1.5rem; border-block-start: 1px solid var(--line); font-size: 0.9rem; }
.site-footer__in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; } .site-footer p { margin: 0; }

/* tabs */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-block: 1rem; }
.tabs [role='tab'] { appearance: none; min-block-size: 44px; padding: 0.4rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.92rem var(--font); cursor: pointer; }
.tabs [role='tab'][aria-selected='true'] { background: var(--accent); border-color: var(--accent); color: #051b3a; }
.tabpanel { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); min-block-size: 360px; }

/* story */
.story { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.story__visual { position: sticky; inset-block-start: calc(4vh + 3.5rem); block-size: calc(92vh - 3.5rem); max-block-size: 640px; display: grid; place-items: center; align-self: start; overflow: hidden; }
.story__visual svg { inline-size: min(100%, 520px); block-size: auto; position: relative; }
.story__glow { position: absolute; inline-size: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 169, 44, 0.25), rgba(228, 169, 44, 0)); }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-block-size: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.45; transition: opacity 0.4s; max-inline-size: 36rem; }
.story__step.is-active { opacity: 1; } .story__no { color: var(--accent-ink); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.1em; }
.story__step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); } .story__step p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 800px) { .story__grid { grid-template-columns: 1fr; gap: 0; } .story__visual { block-size: 38vh; inset-block-start: 3.5rem; z-index: 2; background: var(--bg); } .story__visual svg { inline-size: auto; block-size: 100%; } .story__step { min-block-size: 55vh; } }
.sv-frame rect { fill: none; stroke: var(--line); stroke-width: 2; transition: stroke 0.6s; }
.sv-block { transform-box: fill-box; transform-origin: center; transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s; stroke: rgba(5, 27, 58, 0.25); stroke-width: 1; }
.sv-block--0 { fill: #355787; } .sv-block--1 { fill: #e4a92c; } .sv-block--2 { fill: #b8c6da; } .sv-block--3 { fill: #b87333; }
.sv-lines line { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 4 8; opacity: 0; transition: opacity 0.6s; }
.sv-app { fill: #5b9bf0; opacity: 0; transform: translateY(16px); transition: opacity 0.7s, transform 0.7s; stroke: rgba(5, 27, 58, 0.25); }
.sv-shell { fill: none; stroke: #2aa3d6; stroke-width: 3; stroke-dasharray: 10 8; opacity: 0; transition: opacity 0.7s; }
svg[data-step='0'] .sv-lines line { opacity: 0.8; }
svg[data-step='3'] .sv-app, svg[data-step='4'] .sv-app, svg[data-step='5'] .sv-app { opacity: 1; transform: none; }
svg[data-step='4'] .sv-shell, svg[data-step='5'] .sv-shell { opacity: 1; }
svg[data-step='5'] .sv-frame rect { stroke: var(--accent); stroke-dasharray: 12 8; }
html:not(.js) .story__step { min-block-size: 0; opacity: 1; margin-block: 1.5rem; } html:not(.js) .story__visual { display: none; }

/* Ask Keystone */
.fab { position: fixed; inset-block-end: 18px; inset-inline-end: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 0.6rem; min-block-size: 52px; padding: 0.6rem 1.1rem; border-radius: 999px; border: 0; background: linear-gradient(135deg, #f3bd45, #e4a92c); color: #051b3a; font: 800 1rem var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(228, 169, 44, 0.25); transition: transform 0.2s; }
.fab:hover { transform: translateY(-2px) scale(1.03); } .fab[hidden] { display: none; }
.fab__spark { inline-size: 12px; block-size: 12px; border-radius: 50%; background: #051b3a; box-shadow: 0 0 0 0 rgba(5, 27, 58, 0.5); animation: spark 2s infinite; }
@keyframes spark { 70% { box-shadow: 0 0 0 10px rgba(5, 27, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 27, 58, 0); } }
.ask { position: fixed; inset-block-end: 18px; inset-inline-end: 18px; z-index: 70; inline-size: min(400px, calc(100vw - 24px)); max-block-size: min(640px, calc(100vh - 36px)); display: flex; flex-direction: column; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); color: var(--ink); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); overflow: hidden; animation: pop 0.3s ease-out; }
.ask[hidden], .askmini[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.ask__head { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.9rem 1rem 0.6rem; background: linear-gradient(135deg, #051b3a, #123a73); color: #fff; } .ask__head h2 { font-size: 1.15rem; margin: 0; } .ask__sub { margin: 0.2rem 0 0; font-size: 0.8rem; color: #c1d0e6; }
.ask__btns { display: flex; gap: 0.3rem; } .ask__head .iconbtn { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.3); inline-size: 40px; block-size: 40px; }
.ask__log { flex: 1 1 auto; overflow: auto; padding: 0.8rem 1rem; display: flex; flex-direction: column; gap: 0.7rem; min-block-size: 140px; }
.msg { max-inline-size: 92%; padding: 0.6rem 0.85rem; border-radius: 16px; background: var(--surface-2); } .msg--me { align-self: flex-end; background: var(--accent); color: #051b3a; border-end-end-radius: 4px; } .msg--bot { align-self: flex-start; border-end-start-radius: 4px; }
.msg__who { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; opacity: 0.7; text-transform: uppercase; } .msg__text { margin: 0.1rem 0 0; font-size: 0.93rem; }
.msg.is-typing .msg__text::after { content: '\258B'; margin-inline-start: 2px; animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.msg__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-start: 0.5rem; } .msg--unknown { border: 1.5px dashed var(--accent); }
.ask__chips { padding: 0 1rem 0.5rem; max-block-size: 200px; overflow: auto; } .ask__label { margin: 0 0 0.3rem; font-size: 0.75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ask__chiprow { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-block-start: 0.4rem; }
.chipbtn { appearance: none; min-block-size: 36px; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); font: 600 0.8rem var(--font); cursor: pointer; text-align: start; transition: border-color 0.15s, transform 0.15s; } .chipbtn:hover { border-color: var(--accent); transform: translateY(-1px); }
.ask__form { display: flex; gap: 0.5rem; padding: 0.7rem 1rem 1rem; border-block-start: 1px solid var(--line); } .ask__form input { flex: 1; min-inline-size: 0; min-block-size: 44px; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 1rem var(--font); }
.askmini { position: fixed; inset-block-end: 18px; inset-inline-end: 18px; z-index: 70; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.7rem; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--accent); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); max-inline-size: calc(100vw - 24px); flex-wrap: wrap; } .askmini__text { font-weight: 700; padding-inline: 0.4rem; font-size: 0.9rem; }
@media (max-width: 560px) { .ask { inset-inline: 8px; inset-block-end: 8px; inline-size: auto; max-block-size: 82vh; } .fab__text { font-size: 0.95rem; } .fab kbd { display: none; } }

/* scene content */
.seg { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.25rem; border-radius: 999px; background: var(--surface-2); margin-block-end: 0.8rem; }
.seg__btn { appearance: none; min-block-size: 40px; padding: 0.3rem 1rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 600 0.88rem var(--font); cursor: pointer; transition: background 0.2s; } .seg__btn[aria-pressed='true'] { background: var(--navy); color: #fff; } .seg__btn:disabled { opacity: 0.45; cursor: not-allowed; }
:root[data-theme='dark'] .seg__btn[aria-pressed='true'] { background: var(--accent); color: #051b3a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .seg__btn[aria-pressed='true'] { background: var(--accent); color: #051b3a; } }
.check { display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 44px; font-weight: 600; cursor: pointer; padding-inline-end: 0.8rem; } .check input { inline-size: 20px; block-size: 20px; accent-color: var(--accent); }
.props { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 0.8rem; font-size: 0.88rem; margin: 0; } .props dt { color: var(--muted); font-weight: 600; } .props dd { margin: 0; overflow-wrap: anywhere; }
.viewer { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1rem; } @media (max-width: 800px) { .viewer { grid-template-columns: 1fr; } }
.viewer__canvas { position: relative; aspect-ratio: 16 / 10; min-block-size: 260px; border-radius: 14px; overflow: hidden; background: radial-gradient(500px 300px at 50% 40%, #1a3f77, #08224a); border: 1px solid var(--line); }
.viewer__canvas canvas { inline-size: 100%; block-size: 100%; display: block; touch-action: none; cursor: grab; } .viewer__tag { position: absolute; inset-block-start: 8px; inset-inline-start: 10px; font-size: 0.72rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: rgba(5, 27, 58, 0.8); color: #fff; }
.viewer__canvas { --m-ink: #ffffff; --m-edge: rgba(255, 255, 255, 0.3); }
.viewer__tools { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-start: 0.6rem; } .viewer__panel { background: var(--surface-2); border-radius: 14px; padding: 0.9rem 1rem; max-block-size: 420px; overflow: auto; }
.mapview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1rem; } @media (max-width: 800px) { .mapview { grid-template-columns: 1fr; } }
.map { inline-size: 100%; block-size: auto; border-radius: 14px; border: 1px solid var(--line); background: #0d2a52; } .map-bg { fill: #0d2a52; } .map-grid line { stroke: rgba(255, 255, 255, 0.07); }
.ml { transition: opacity 0.35s; } .ml.is-off { opacity: 0; pointer-events: none; }
.mf { cursor: pointer; stroke-width: 2; paint-order: stroke; } .mf:focus-visible { outline: none; stroke: #fff; stroke-width: 4; } .mf.is-sel { stroke: #fff; stroke-width: 3.5; }
.ml--tenement .mf { fill: rgba(127, 208, 255, 0.10); stroke: #7fd0ff; stroke-dasharray: 6 5; } .ml--lease .mf { fill: rgba(228, 169, 44, 0.16); stroke: #e4a92c; } .ml--exclusion .mf { fill: rgba(255, 99, 99, 0.25); stroke: #ff7a7a; }
.ml--tailings .mf { fill: rgba(150, 160, 175, 0.5); stroke: #c3ccd9; } .ml--pit .mf { fill: rgba(184, 115, 51, 0.7); stroke: #e3a56d; }
.ml--haul_road .mf, .ml--rail .mf { fill: none; stroke-width: 4; stroke-linecap: round; } .ml--haul_road .mf { stroke: #ffd36b; stroke-dasharray: 2 7; } .ml--rail .mf { stroke: #ff9ff3; }
.ml--survey .mf { fill: #fff; stroke: #0d2a52; }
.layers { border: 1.5px solid var(--line); border-radius: 14px; padding: 0.6rem 0.9rem; margin: 0 0 0.8rem; } .layers .check { display: flex; }
.layers legend { font-weight: 700; padding-inline: 0.4rem; } .layers__bar { display: flex; gap: 0.4rem; margin-block-start: 0.4rem; }
.sw { inline-size: 14px; block-size: 14px; border-radius: 4px; display: inline-block; border: 2px solid; }
.sw--tenement { border-color: #2f9ccc; } .sw--lease { border-color: #e4a92c; background: rgba(228, 169, 44, 0.3); } .sw--exclusion { border-color: #e34848; background: rgba(255, 99, 99, 0.3); } .sw--tailings { border-color: #8c97a8; background: rgba(150, 160, 175, 0.5); } .sw--pit { border-color: #b87333; background: rgba(184, 115, 51, 0.6); } .sw--haul_road { border-color: #c79200; border-style: dashed; } .sw--rail { border-color: #d44ec0; } .sw--survey { border-color: #fff; background: #345; border-radius: 50%; }
.mapcard { background: var(--surface-2); border-radius: 14px; padding: 0.9rem 1rem; }
.flow { position: relative; display: grid; gap: 0.6rem; } .flow__lane { position: relative; border-radius: 14px; padding: 0.7rem 1rem 1rem; min-block-size: 130px; border: 1.5px dashed var(--line); background: var(--surface-2); } .flow__lane h4 { margin: 0; } .flow__lane.is-focus { border-color: var(--accent); border-style: solid; }
.flow__lane--bronze { background: linear-gradient(90deg, rgba(184, 115, 51, 0.18), transparent); } .flow__lane--silver { background: linear-gradient(90deg, rgba(150, 165, 190, 0.25), transparent); } .flow__lane--gold { background: linear-gradient(90deg, rgba(228, 169, 44, 0.25), transparent); }
.flow__lock { position: absolute; inset-inline-end: 14px; inset-block-start: 10px; letter-spacing: 0.3em; color: var(--accent-ink); }
.packet { position: absolute; padding: 0.25rem 0.7rem; border-radius: 10px; font-size: 0.82rem; font-weight: 600; background: #b87333; color: #fff; transition: top 1s cubic-bezier(0.65, 0, 0.35, 1), background 0.6s, border-radius 0.6s, inset-inline-start 0.6s; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.packet--bronze { background: #b87333; transform: rotate(-0.6deg); } .packet--silver { background: #6f7f99; } .packet--gold { background: #e4a92c; color: #051b3a; border-radius: 999px; }
.flow__bar, .rls__bar { display: flex; gap: 0.5rem; margin-block-start: 0.8rem; flex-wrap: wrap; }
.rls__people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 640px) { .rls__people { grid-template-columns: 1fr; } }
.person { background: var(--surface-2); border-radius: 14px; padding: 0.8rem 1rem; } .person h4 { margin: 0; } .person__count { color: var(--accent-ink); font-weight: 700; font-size: 0.85rem; margin-block: 0.2rem 0.5rem; }
.rtable { inline-size: 100%; border-collapse: collapse; font-size: 0.88rem; } .rtable th, .rtable td { padding: 0.35rem 0.4rem; text-align: start; border-block-end: 1px solid var(--line); } .rtable .num { text-align: end; font-variant-numeric: tabular-nums; }
.row-vis { animation: fadein 0.5s; } .row-hid td { color: var(--muted); font-style: italic; border-style: dashed; opacity: 0.65; font-size: 0.78rem; } @keyframes fadein { from { opacity: 0; transform: translateX(8px); } }
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1rem; } @media (max-width: 700px) { .report { grid-template-columns: 1fr; } }
.report__toggles { border: 1.5px solid var(--line); border-radius: 14px; padding: 0.6rem 0.9rem; margin: 0; align-self: start; } .report__toggles legend { font-weight: 700; padding-inline: 0.4rem; } .report__toggles .check { display: flex; }
.report__page { background: var(--surface-2); border-radius: 14px; padding: 1rem; }
.collapse { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.45s, opacity 0.45s; } .collapse.is-open { grid-template-rows: 1fr; opacity: 1; } .collapse__in { overflow: hidden; min-block-size: 0; } .collapse.is-open .collapse__in { padding-block-end: 0.8rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } .tile { border-radius: 12px; padding: 0.6rem 0.8rem; background: var(--surface); border: 1px solid var(--line); } .tile strong { font-size: 1.6rem; display: block; } .tile__bar { display: block; block-size: 6px; border-radius: 3px; background: var(--ok); } .tile--late .tile__bar { background: #d99a1c; } .tile--risk .tile__bar { background: #d65454; }
.hbar { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: 0.6rem; margin-block: 0.4rem; font-size: 0.88rem; } .hbar__track { display: block; block-size: 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; } .hbar__fill { display: block; block-size: 100%; inline-size: calc(var(--v) * 1%); background: linear-gradient(90deg, #355787, #e4a92c); border-radius: 6px; }
.chart { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; block-size: 230px; align-items: end; padding: 0.5rem 0.5rem 1.8rem; border-radius: 14px; background: var(--surface-2); margin-block: 0.4rem; }
.cbar { position: relative; block-size: 100%; display: flex; align-items: flex-end; justify-content: center; } .cbar span { position: absolute; inset-block-end: -1.5rem; font-size: 0.72rem; color: var(--muted); white-space: nowrap; } .cbar__fill { display: block; inline-size: 70%; block-size: calc(var(--v) * 1%); background: linear-gradient(180deg, #e4a92c, #b5841a); border-radius: 8px 8px 0 0; transition: block-size 0.6s; }
.band { position: absolute; inset-inline: 0.5rem; border-radius: 8px; opacity: 0; transition: opacity 0.5s; pointer-events: none; border: 2px dashed; } .band.is-on { opacity: 1; }
.band--operator { inset-block-end: calc(1.8rem + (230px - 2.3rem) * 0.40); block-size: calc((230px - 2.3rem) * 0.45); background: rgba(53, 87, 135, 0.2); border-color: #355787; }
.band--group { inset-block-end: calc(1.8rem + (230px - 2.3rem) * 0.38); block-size: calc((230px - 2.3rem) * 0.42); background: rgba(123, 91, 208, 0.2); border-color: #7b5bd0; }
.chart__title { font-weight: 700; margin-block-end: 0.3rem; } .bench__status { font-weight: 600; color: var(--accent-ink); min-block-size: 1.6em; }
.aimock { display: grid; gap: 0.7rem; } .aimock__stream { background: var(--surface-2); border-radius: 14px; padding: 1rem; display: grid; gap: 0.6rem; min-block-size: 180px; } .bubble { margin: 0; padding: 0.6rem 0.9rem; border-radius: 14px; max-inline-size: 90%; } .bubble--me { background: var(--accent); color: #051b3a; justify-self: end; } .bubble--bot { background: var(--surface); border: 1px solid var(--line); min-block-size: 3.2em; }
.srcs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.85rem; } .chip { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); } .aimock__row { display: flex; gap: 0.5rem; } .aimock__in { flex: 1; min-block-size: 44px; padding: 0 0.9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 1rem var(--font); }
.conn__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.8rem; margin-block: 0.8rem; } .conn__group { background: var(--surface-2); border-radius: 14px; padding: 0.7rem 0.9rem; } .conn__group h4 { margin-block-end: 0.3rem; } .conn__group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; font-size: 0.9rem; } .conn__group li::before { content: ''; display: inline-block; inline-size: 8px; block-size: 8px; border-radius: 50%; background: #7fd0ff; margin-inline-end: 0.5rem; }
.conn__into { block-size: 40px; border-radius: 12px; background: repeating-linear-gradient(115deg, rgba(184, 115, 51, 0.5) 0 14px, rgba(184, 115, 51, 0.2) 14px 28px); background-size: 56px 100%; animation: slide 1.6s linear infinite; display: grid; place-items: center; font-weight: 700; color: var(--ink); } @keyframes slide { to { background-position: 56px 0; } } :root[dir='rtl'] .conn__into { animation-direction: reverse; }
.hostgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 700px) { .hostgrid { grid-template-columns: 1fr; } } .hostcol { background: var(--surface-2); border-radius: 14px; padding: 0.9rem 1rem; } .hostlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; } .hostlist li { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding-block-end: 0.4rem; border-block-end: 1px solid var(--line); font-size: 0.92rem; }
.bi { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; } @media (max-width: 700px) { .bi { grid-template-columns: 1fr; } .bi__view { transform: rotate(90deg); justify-self: center; } } .bi__card { background: var(--surface-2); border-radius: 14px; padding: 0.9rem 1rem; } .bi__view { font-size: 2rem; color: var(--accent-ink); }
.mini { display: flex; align-items: flex-end; gap: 0.5rem; block-size: 110px; } .mini__bar { flex: 1; block-size: calc(var(--v) * 1%); background: linear-gradient(180deg, #7b5bd0, #45317f); border-radius: 6px 6px 0 0; } .code { background: #051b3a; color: #cfe0ff; padding: 0.7rem 0.9rem; border-radius: 10px; font: 0.8rem/1.5 ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace; overflow: auto; direction: ltr; text-align: left; margin: 0 0 0.6rem; }
.nf { min-block-size: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; } .nf__in .brand__img { block-size: 32px; margin-block-end: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .story__visual { position: static; block-size: auto; } .story__step { min-block-size: 0; margin-block: 2rem; opacity: 1; }
}
@media print { .fab, .ask, .askmini { display: none; } }
