/* DOS website v4: new components on the v3 aurora design, plus design fixes found in the v3 audit. */
:root { --brand: #9a3412; --accent: #0ea5e9; --ease: cubic-bezier(.2, .8, .2, 1); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: .86rem; }

/* ---------- header: DOS tag, search button, menu breakpoint for the longer nav ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-dos { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; padding: 5px 8px; border-radius: 8px; color: #05060a; background: var(--aurora); }
.kbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); font: 500 .86rem/1 var(--body); cursor: pointer; }
.kbtn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.kbtn svg { width: 16px; height: 16px; }
.kbtn kbd, .pal-in kbd { font: 500 .7rem/1 var(--mono); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.dd-panel { width: 360px; grid-template-columns: 1fr; }
.dd-panel.two { width: 600px; grid-template-columns: 1fr 1fr; }
@media (max-width: 1240px) { .kbtn span, .kbtn kbd { display: none; } .kbtn { width: 40px; justify-content: center; padding: 0; } }
@media (max-width: 1180px) {
  .head .wrap { grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; border-radius: 20px; padding: 10px; background: rgba(8, 10, 16, .98); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { padding: 14px; font-size: 1rem; justify-content: space-between; width: 100%; }
  .dd-panel, .dd-panel.two { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; background: transparent; border: 0; padding: 0 0 6px; }
  .hide-sm { display: none !important; }
}
@media (max-width: 480px) { .brand-dos { display: none; } .kbtn { width: 38px; height: 38px; } }

/* scroll progress */
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.scrollbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--aurora); }

/* ---------- hero (fix: contrast scrim behind text; left-aligned notes on phones) ---------- */
.hero-dos .hero-inner::before { content: ""; position: absolute; inset: -40px -10% -20px; z-index: -1; background: radial-gradient(60% 55% at 50% 45%, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 70%); pointer-events: none; }
.hero-dos h1 { max-width: 17ch; }
.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pill svg { width: 14px; height: 14px; opacity: .7; }
.hero-note { list-style: none; margin: 0; padding: 0; }
.hero-note li::before { content: "✓ "; color: var(--amber); }
.hero-shot { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 640px) {
  .pill span { font-size: .8rem; }
  .hero-note { display: grid; justify-content: center; text-align: left; gap: 6px; }
  .rotline { font-size: 1rem; }
}

/* ---------- browser frame (screenshots) and the industry switcher screen, in the dark look of the real DOS app ---------- */
.am-chrome, .browser .am-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0b0d14; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 .78rem/1 var(--body); color: #8b93a7; }
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.am-url { flex: 1; min-width: 0; text-align: center; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #b9c0cf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-live { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; font-weight: 600; flex: none; }
.am-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes amswap { from { opacity: .25; transform: translateY(6px); } }

.wsbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 0 0 18px; font-size: .84rem; color: var(--muted); }
.wsbar > span:first-child { flex-basis: 100%; text-align: center; margin-bottom: 2px; }
.wsb { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); font: 500 .82rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.wsb i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); color: #fff; font: 700 .62rem/1 var(--body); flex: none; }
.wsb:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.wsb[aria-pressed="true"] { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); box-shadow: 0 0 0 1px var(--c) inset, 0 8px 30px -12px var(--c); }
.wsb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.appmock { --brand: #3F86FF; --accent: #38BDF8; position: relative; border-radius: 18px; overflow: hidden; text-align: left; background: #05060a; color: #eef1f7; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.appmock::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(760px 280px at 12% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); transition: background .5s; }
.am-body { display: grid; grid-template-columns: 212px minmax(0, 1fr); min-height: 680px; }
.am-side { background: rgba(255, 255, 255, .02); border-right: 1px solid rgba(255, 255, 255, .07); padding: 14px 10px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; font: 500 .84rem/1 var(--body); color: #9aa3b5; min-width: 0; }
.am-logo { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.am-logo i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 6px 18px -8px var(--brand); color: #fff; font: 700 .74rem/1 var(--body); }
.am-lt { min-width: 0; display: grid; gap: 4px; }
.am-lt b, .am-lt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-lt b { color: #fff; font-size: .95rem; }
.am-lt small { font: 500 .68rem/1.1 var(--body); color: #7f889c; }
.am-nav { display: grid; align-content: start; gap: 2px; }
.am-nav span { padding: 9px 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; }
.am-nav span b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-nav span.on { background: color-mix(in srgb, var(--brand) 22%, transparent); color: #fff; box-shadow: inset 2px 0 0 var(--brand); }
.am-nav em { font-style: normal; font: 600 .68rem/1 var(--body); padding: 3px 7px; border-radius: 999px; background: var(--accent); color: #0b0d14; flex: none; }
.am-nav em.am-ct { background: rgba(255, 255, 255, .08); color: #b9c0cf; }
.am-auto { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.am-auto small { font: 500 .7rem/1 var(--body); color: #7f889c; }
.am-auto b { font: 600 .76rem/1 var(--mono); color: #fff; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 30%, transparent); }
.am-main { position: relative; z-index: 1; padding: 18px 20px 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.am-main.swap { animation: amswap .45s var(--ease, ease) both; }
.am-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.am-head > div { display: grid; gap: 4px; min-width: 0; }
.am-head b { font: 600 1.05rem/1.2 var(--body); color: #fff; }
.am-head small { font: 500 .74rem/1.2 var(--body); color: #7f889c; }
.am-ask { font: 600 .76rem/1 var(--body); padding: 9px 12px; border-radius: 999px; background: var(--brand); color: #fff; white-space: nowrap; flex: none; }
.am-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.am-kpis > div { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 11px 13px; min-width: 0; }
.am-kpis > div:first-child { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255, 255, 255, .03)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.am-kpis small { display: block; font: 500 .7rem/1.2 var(--body); color: #7f889c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-kpis b { display: block; margin-top: 7px; font: 600 1.4rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.am-card { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; min-width: 0; }
.am-ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 26px; flex-wrap: wrap; }
.am-ch h5 { margin: 0; font: 600 .86rem/1.2 var(--body); color: #fff; }
.am-cnt { font: 500 .7rem/1 var(--mono); color: #7f889c; }
.am-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.am-tab { font: 500 .72rem/1 var(--body); padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #9aa3b5; cursor: pointer; }
.am-tab[aria-pressed="true"] { background: color-mix(in srgb, var(--brand) 26%, transparent); border-color: var(--brand); color: #fff; }
.am-sts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 8px; position: relative; }
.am-st { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 7px; padding: 12px 11px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid #34d399; min-width: 0; min-height: 138px; animation: rise .45s var(--ease, ease) both; transition: border-color .3s, box-shadow .3s, background .3s; }
.am-st.amber { border-top-color: #fbbf24; } .am-st.red { border-top-color: #f87171; } .am-st.idle { border-top-color: #475569; }
.am-st.hit { background: color-mix(in srgb, var(--brand) 14%, rgba(0, 0, 0, .3)); box-shadow: 0 0 0 1px var(--brand) inset, 0 10px 30px -14px var(--brand); }
.am-st-n { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 600 .68rem/1 var(--mono); background: rgba(255, 255, 255, .08); color: #fff; }
.am-st b { font: 600 .78rem/1.25 var(--body); color: #eef1f7; }
.am-st-a { display: flex; flex-wrap: wrap; gap: 4px; align-content: start; }
.am-st-a em { font-style: normal; font: 500 .64rem/1.2 var(--mono); padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: #cfe7ff; max-width: 100%; overflow-wrap: anywhere; }
.am-st-s { font: 600 .68rem/1.2 var(--body); color: #6ee7b7; }
.am-st.amber .am-st-s { color: #fcd34d; } .am-st.red .am-st-s { color: #fca5a5; } .am-st.idle .am-st-s { color: #94a3b8; }
.am-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; }
.am-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.am-items li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); min-height: 54px; }
.am-items .rk { justify-self: start; font: 600 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 5px 7px; border-radius: 6px; }
.am-items b { display: block; font: 500 .76rem/1.3 var(--body); color: #eef1f7; }
.am-items small { display: block; margin-top: 3px; font: 400 .68rem/1.2 var(--body); color: #7f889c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.am-feed ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 8px; height: 186px; overflow: hidden; }
.am-feed li { font: 500 .72rem/1.35 var(--body); color: #b9c0cf; padding-left: 12px; position: relative; animation: slidein .45s var(--ease, ease) both; }
.am-feed li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.am-feed li time { color: #6b7385; font-family: var(--mono); margin-right: 6px; }
@media (max-width: 1100px) { .am-sts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .am-st { min-height: 120px; } }
@media (max-width: 900px) { .am-body { grid-template-columns: 1fr; min-height: 0; } .am-side { display: none; } .am-grid { grid-template-columns: minmax(0, 1fr); } .am-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .am-sts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .am-main { padding: 14px; } .am-head small { display: none; } .am-st { min-height: 0; } .am-feed { display: none; } .am-items li:nth-child(n+3) { display: none; } }
@media (max-width: 640px) {
  .hero-shot .wsbar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero-shot .wsbar::-webkit-scrollbar { display: none; }
  .hero-shot .wsbar > span { display: none; }
  .wsb { flex: none; }
}

/* ---------- workflow-board analogy ---------- */
.an-wrap { align-items: center; gap: 48px; }
.an-wrap .head-block { grid-template-columns: 1fr; margin-bottom: 18px; }
.an-wrap .head-block p { justify-self: start; }
.an-map { display: grid; gap: 10px; }
.an-head { display: grid; grid-template-columns: 1fr 34px 1.4fr; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 14px; }
.an-row { display: grid; grid-template-columns: 1fr 34px 1.4fr; align-items: center; gap: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
.an-j { color: var(--muted); font-size: .92rem; }
.an-arrow svg { width: 16px; height: 16px; color: var(--amber); }
.an-d b { display: block; font: 500 1rem/1.2 var(--display); }
.an-d small { color: var(--muted); font-size: .8rem; }

.strip-dos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .strip-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip-dos > div:last-child { grid-column: 1 / -1; } }

/* ---------- layer explorer ---------- */
.lx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.lx-stack-wrap { display: grid; gap: 16px; justify-items: center; }
.lx-stack { position: relative; width: 100%; max-width: 520px; display: grid; gap: 10px; perspective: 1400px; }
.lx-layer { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(12, 15, 22, .82); color: #fff; cursor: pointer; transform-origin: 50% 100%;
  transition: transform .7s var(--ease), opacity .5s, border-color .2s, background .2s, filter .5s; font: inherit; }
.lx-layer:hover { border-color: rgba(255, 255, 255, .35); }
.lx-layer[aria-pressed="true"] { border-color: transparent; background: linear-gradient(rgba(12, 15, 22, .94), rgba(12, 15, 22, .94)) padding-box, var(--aurora) border-box; box-shadow: 0 20px 60px rgba(63, 134, 255, .18); }
.lx-n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 .9rem/1 var(--mono); background: var(--glass-2); border: 1px solid var(--line-2); }
.lx-layer.L1 .lx-n { background: var(--aurora); color: #05060a; border: 0; }
.lx-t b { display: block; font: 500 1.05rem/1.2 var(--display); }
.lx-t small { color: var(--muted); font-size: .82rem; }
.lx-v { font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.lx-layer.visible .lx-v { color: #05060a; background: var(--warm-white); border-color: transparent; }
/* closed: hidden layers tucked under L1 */
.js .lx-stack:not(.open) .lx-layer.hidden { transform: translateY(calc(var(--i) * -76px)) scale(calc(1 - var(--i) * .035)) rotateX(10deg); filter: brightness(.45) blur(.4px); pointer-events: none; }
.js .lx-stack:not(.open) .lx-layer.hidden .lx-t, .js .lx-stack:not(.open) .lx-layer.hidden .lx-v, .js .lx-stack:not(.open) .lx-layer.hidden .lx-n { opacity: 0; }
.lx-layer .lx-t, .lx-layer .lx-v, .lx-layer .lx-n { transition: opacity .35s; }
.lx-layer.L1 { z-index: 5; position: relative; }
.lx-toggle svg { width: 16px; height: 16px; }
.lx-info { display: grid; gap: 18px; }
.lx-detail { display: grid; gap: 12px; animation: rise .45s var(--ease) both; }
.lx-detail h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lx-detail p { color: var(--text-2); }
.lx-couple { padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .22); color: var(--text-2); font-size: .92rem; }
@media (max-width: 900px) { .lx { grid-template-columns: 1fr; } }

/* ---------- configuration playground ---------- */
.cfg { display: grid; gap: 18px; }
.cfg-tabs { justify-self: start; flex-wrap: wrap; }
.cfg-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.cfg label, .rf label, .pf label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 .9rem/1.3 var(--body); color: var(--text-2); }
.cfg label span { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.cfg output, .rf output, .pf output { font: 600 1.25rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 8px 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--blue)) 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .12); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--blue)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid #05060a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 6px 18px rgba(0, 0, 0, .6); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #05060a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.cfg-mc { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .07); display: grid; gap: 10px; animation: rise .35s var(--ease) both; }
.cfg-mc p { color: var(--text-2); font-size: .92rem; }
.cfg-ver { margin-top: 14px; font-size: .78rem; color: var(--ok); }
.cfg-ver.pending { color: var(--hold); }
.cfg-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cfg-sum > div { border-radius: 12px; padding: 10px 12px; background: var(--glass); border: 1px solid var(--line); }
.cfg-sum small { display: block; color: var(--muted); font-size: .76rem; }
.cfg-sum b { font: 600 1.6rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.cfg-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cfg-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: .86rem; transition: border-color .3s, background .3s; }
.cfg-list li .mono { color: var(--muted); font-size: .74rem; }
.cfg-list em { font: 600 .66rem/1 var(--mono); letter-spacing: .04em; padding: 5px 7px; border-radius: 999px; font-style: normal; text-transform: uppercase; white-space: nowrap; }
.cfg-list li.auto { border-color: rgba(74, 222, 154, .35); } .cfg-list li.auto em { background: rgba(74, 222, 154, .14); color: var(--ok); }
.cfg-list li.appr { border-color: rgba(255, 181, 71, .4); } .cfg-list li.appr em { background: rgba(255, 181, 71, .14); color: var(--hold); }
.cfg-list li.deny { border-color: rgba(255, 107, 87, .4); } .cfg-list li.deny em { background: rgba(255, 107, 87, .14); color: var(--fault); }
.cfg-list li.flash { animation: flash .6s ease; }
@keyframes flash { 30% { background: rgba(255, 255, 255, .12); } }
@media (max-width: 860px) { .cfg-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cfg-list { grid-template-columns: 1fr; } }

/* ---------- event simulator ---------- */
.es-top { display: grid; gap: 14px; margin-bottom: 14px; }
.es-ws { display: flex; flex-wrap: wrap; gap: 8px; }
.es-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); min-height: 58px; }
.es-bar > div:first-child { display: grid; gap: 4px; min-width: 0; }
.es-bar b { font: 600 1rem/1.2 var(--body); color: #fff; }
.es-bar small { font: 500 .78rem/1.2 var(--body); color: var(--muted); }
.es-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.es-tabs .chip[aria-pressed="true"] { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.es-team { margin-top: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); }
.es-team-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.es-team-h h4 { margin: 0; font: 600 .95rem/1.2 var(--body); }
.es-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.es-agent { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--text-2); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; min-width: 0; }
.es-agent b { font: 600 .9rem/1.2 var(--body); color: #fff; }
.es-agent small { font: 400 .78rem/1.4 var(--body); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.es-agent-st { justify-self: start; font: 500 .68rem/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--text-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-agent.on { border-color: rgba(255, 162, 26, .45); background: rgba(255, 162, 26, .06); }
.es-agent.on .es-agent-st { background: rgba(255, 162, 26, .16); color: #ffd79a; }
.es-agent:hover { border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.es-agent:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.es-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.es h4 { font: 600 .95rem/1.2 var(--body); margin: 0 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.es-events { display: grid; gap: 8px; margin: 12px 0; }
.es-ev { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; font: 500 .84rem/1.2 var(--mono); cursor: pointer; min-height: 44px; }
.es-ev small { display: block; font: 400 .74rem/1.2 var(--body); color: var(--muted); margin-top: 3px; }
.es-ev span.go { font: 600 .74rem/1 var(--body); padding: 6px 9px; border-radius: 999px; background: var(--aurora); color: #05060a; }
.es-ev:hover { border-color: rgba(255, 255, 255, .4); }
.es-code { margin: 0; padding: 10px 12px; border-radius: 12px; background: #05060a; border: 1px solid var(--line); font: 400 .72rem/1.5 var(--mono); color: #9fb3d8; white-space: pre-wrap; word-break: break-word; min-height: 84px; }
.es-path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 14px; }
.es-node { text-align: center; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line-2); font: 500 .72rem/1 var(--mono); color: var(--muted); transition: all .25s; }
.es-node.on { color: #05060a; background: var(--warm-white); border-color: transparent; box-shadow: 0 0 24px rgba(255, 233, 209, .4); }
.es-packet { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); opacity: 0; pointer-events: none; }
.es-stages { display: grid; gap: 8px; }
.es-stage { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s, box-shadow .3s; }
.es-stage > i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 600 .7rem/1 var(--mono); background: var(--glass-2); }
.es-stage b { display: block; font: 500 .88rem/1.2 var(--body); }
.es-stage small { display: block; font: 400 .72rem/1.35 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.es-stage em { font: 600 .68rem/1 var(--mono); font-style: normal; color: var(--muted); }
.es-stage.hit { border-color: rgba(255, 162, 26, .7); background: rgba(255, 162, 26, .08); box-shadow: 0 0 30px rgba(255, 162, 26, .15); }
.es-stage.hit em { color: var(--amber); }
.es-feed { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 7px; max-height: 260px; overflow: auto; }
.es-feed li { font: 400 .8rem/1.4 var(--body); color: var(--text-2); padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border-left: 2px solid var(--blue); animation: slidein .4s var(--ease) both; }
.es-feed li.ok { border-left-color: var(--ok); } .es-feed li.hold { border-left-color: var(--hold); } .es-feed li.co { border-left-color: var(--amber); }
.es-feed time { font: 400 .7rem/1 var(--mono); color: var(--muted); margin-right: 6px; }
.es-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.es-k > div { border-radius: 10px; padding: 8px 10px; background: var(--glass); border: 1px solid var(--line); }
.es-k small { display: block; font-size: .72rem; color: var(--muted); }
.es-k b { font: 600 1.25rem/1.1 var(--display); }
.es-compact .es-code { display: none; }
@media (max-width: 1020px) { .es-grid { grid-template-columns: 1fr 1fr; } .es-right { grid-column: 1 / -1; } }
@media (max-width: 680px) { .es-grid { grid-template-columns: 1fr; } }

/* ---------- domains ---------- */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dcard { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.dcard::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--c); opacity: .22; filter: blur(50px); transition: opacity .3s; }
.dcard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .28); }
.dcard:hover::after { opacity: .4; }
.dcard p { color: var(--muted); font-size: .9rem; }
.dchain { display: flex; gap: 4px; }
.dchain i { flex: 1; height: 6px; border-radius: 999px; background: var(--ok); }
.dchain i.amber { background: var(--hold); } .dchain i.red { background: var(--fault); } .dchain i.idle { background: rgba(255, 255, 255, .2); }
.dproc { font: 500 .78rem/1 var(--mono); color: var(--text-2); }
.dcard .meter { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--muted); }
.dcard .meter b { color: #fff; }
@media (max-width: 1100px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dgrid { grid-template-columns: 1fr; } }

/* ---------- trust band ---------- */
.trust-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 90% at 0% 0%, rgba(255, 162, 26, .12), transparent 60%), radial-gradient(70% 80% at 100% 100%, rgba(63, 134, 255, .16), transparent 60%), #06070b; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); display: grid; gap: 6px; }
.tg b { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); }
.tg span { color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) { .trust-band { grid-template-columns: 1fr; } }

/* ---------- ROI calculator + plan finder ---------- */
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.roi-in { display: grid; gap: 6px; }
.rf { display: grid; gap: 2px; }
.rf select, .h2h select, .dapp select { width: 100%; }
.roi-cur { justify-self: start; margin-top: 8px; }
.roi-out { display: grid; gap: 16px; position: sticky; top: 90px; }
.roi-big small, .roi-row small { display: block; color: var(--muted); font-size: .82rem; }
.roi-big b { display: block; font: 600 clamp(2.6rem, 6vw, 4rem)/1 var(--display); letter-spacing: -.03em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.roi-big span { color: var(--text-2); font-size: .9rem; }
.roi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-row > div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.roi-row b { font: 600 1.4rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.roi-row em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.roi-bars { display: grid; gap: 8px; }
.roi-bars > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.roi-bars i { display: block; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .5); width: var(--w, 100%); transition: width .6s var(--ease); }
.roi-bars i[data-r-bar="after"] { background: var(--aurora); }
@media (max-width: 860px) { .roi { grid-template-columns: 1fr; } .roi-out { position: static; } }
.pf { display: grid; gap: 12px; }
.pf-grid { display: grid; gap: 4px; }
.pf-check { display: flex !important; justify-content: flex-start !important; gap: 10px !important; align-items: center !important; min-height: 40px; }
.pf-res b { font: 600 1.3rem/1 var(--display); background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- plans (4 columns) ---------- */
.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan .plan-sub { font-size: .86rem; margin-top: -8px; }
.plan .price.ent { font-size: 2rem; }
.plan.p3 { background: radial-gradient(100% 70% at 50% 100%, rgba(63, 134, 255, .22), transparent 60%), radial-gradient(90% 60% at 50% 0%, rgba(255, 162, 26, .12), transparent 60%), #07080c; }
.plan.p4 { background: radial-gradient(100% 80% at 50% 0%, rgba(255, 233, 209, .08), transparent 60%), #07080c; }
@media (max-width: 1150px) { .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .plans-4 { grid-template-columns: 1fr; } }

/* ---------- comparison matrix ---------- */
.cmp { display: grid; gap: 14px; }
.cmp .seg { justify-self: start; flex-wrap: wrap; }
.cmp-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; background: linear-gradient(90deg, #000 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(-90deg, #000 30%, transparent) right / 40px 100% no-repeat local, linear-gradient(90deg, rgba(255, 255, 255, .12), transparent) left / 14px 100% no-repeat scroll, linear-gradient(-90deg, rgba(255, 255, 255, .12), transparent) right / 14px 100% no-repeat scroll; }
.cmp-t { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: .86rem; }
.cmp-t th, .cmp-t td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp-t thead th { font: 500 .74rem/1.2 var(--body); color: var(--muted); position: sticky; top: 0; background: #07080c; }
.cmp-t tbody th { text-align: left; font-weight: 500; color: var(--text-2); position: sticky; left: 0; background: #050608; min-width: 220px; z-index: 1; }
.cmp-t thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; }
.cmp-t .dos { background: rgba(255, 162, 26, .08); color: #fff; }
.cmp-t thead th.dos { color: #05060a; background: var(--aurora); font-weight: 700; }
.mk { font-style: normal; font-size: 1.05rem; }
.mk.m2 { color: var(--ok); } .mk.m1 { color: var(--hold); } .mk.m0 { color: rgba(255, 255, 255, .3); }
.cmp-t [data-g].off { display: none; }

/* ---------- compare page extras ---------- */
.mk-legend { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.mk-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.b25 { background: rgba(255, 255, 255, .35); } .b26 { background: var(--aurora); }
.mk-row { display: grid; grid-template-columns: 150px 1fr 82px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.mk-name { color: var(--text-2); }
.mk-bars { display: grid; gap: 4px; }
.mk-bars i { display: block; height: 14px; border-radius: 4px; width: 0; transition: width 1.1s var(--ease); position: relative; }
.mk-row.in .mk-bars i, .no-js .mk-bars i { width: var(--w); }
.mk-bars em { position: absolute; right: -2px; top: 50%; transform: translate(100%, -50%); font: 500 .7rem/1 var(--mono); color: var(--muted); font-style: normal; padding-left: 6px; white-space: nowrap; }
.mk-cagr { font: 500 .74rem/1 var(--mono); color: var(--amber); text-align: right; }
.gapviz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.gv { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.gv b { font: 600 2.6rem/1 var(--display); }
.gv i { font: 600 1.4rem/1 var(--display); font-style: normal; color: var(--amber); }
.gv span { display: block; margin-top: 8px; color: var(--muted); font-size: .84rem; }
.h2h { display: grid; gap: 16px; }
.h2h select { max-width: 420px; }
.h2h-card { padding: clamp(18px, 3vw, 30px); border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); display: grid; gap: 16px; animation: rise .4s var(--ease) both; }
.h2h-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.h2h-card blockquote { margin: 0; padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(255, 162, 26, .06); border-radius: 0 12px 12px 0; color: #fff; font-size: 1.02rem; }
@media (max-width: 760px) { .gapviz { grid-template-columns: 1fr 1fr; } .mk-row { grid-template-columns: 1fr 64px; } .mk-name { grid-column: 1 / -1; } }

/* ---------- process chain on solution pages ---------- */
.pchain { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; counter-reset: s; }
.pstage { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); border-top: 3px solid var(--ok); }
.pstage.amber { border-top-color: var(--hold); } .pstage.red { border-top-color: var(--fault); } .pstage.idle { border-top-color: rgba(255, 255, 255, .25); }
.pstage::after { content: ""; position: absolute; right: -10px; top: 32px; width: 8px; height: 8px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }
.pstage:last-child::after { display: none; }
.pn { font: 500 .74rem/1 var(--mono); color: var(--amber); }
.pstage b { font: 500 1.02rem/1.25 var(--display); }
.pstage small { font: 400 .76rem/1.3 var(--mono); color: var(--muted); }
.ptrig { display: flex; flex-wrap: wrap; gap: 4px; }
.ptrig i { font: 400 .68rem/1 var(--mono); font-style: normal; padding: 4px 6px; border-radius: 6px; background: rgba(63, 134, 255, .14); color: var(--blue-2); }
.pmeta { font-size: .78rem; color: var(--text-2); }
.pnum { font-size: .76rem; color: var(--muted); }
.pnum em { font-style: normal; color: #fff; font-weight: 600; }
@media (max-width: 1000px) { .pchain { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } .pstage::after { display: none; } }
@media (max-width: 560px) { .pchain { grid-template-columns: 1fr; } }
.kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- product tour, brand grid, browser frame ---------- */
.browser { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); background: #05060a; }
.browser img { width: 100%; }
.tour { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.tour-tabs { grid-auto-flow: row; }
.tour-pane { margin: 0; display: grid; gap: 12px; animation: rise .4s var(--ease) both; }
.tour-pane figcaption { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour-tabs { grid-auto-flow: column; overflow-x: auto; } }
.brandgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brandgrid figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #05060a; transition: transform .3s var(--ease); }
.brandgrid figure:hover { transform: translateY(-3px); }
.brandgrid figcaption { background: #07080c; color: var(--text-2); font-size: .84rem; padding: 10px 14px; }
@media (max-width: 640px) { .brandgrid { grid-template-columns: 1fr; } }
.cp-shot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
@media (max-width: 860px) { .cp-shot { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.auto-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.auto-step { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); display: grid; gap: 8px; }
.auto-step:nth-child(1) { min-height: 150px; } .auto-step:nth-child(2) { min-height: 175px; } .auto-step:nth-child(3) { min-height: 200px; } .auto-step:nth-child(4) { min-height: 225px; } .auto-step:nth-child(5) { min-height: 250px; }
.auto-step b { font: 600 .9rem/1 var(--mono); color: var(--amber); }
.auto-step p { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .auto-ladder { grid-template-columns: 1fr; } .auto-step { min-height: 0 !important; } }
.onboard { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: o; }
.onboard li { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.onboard i { font: 600 .9rem/1 var(--mono); font-style: normal; color: var(--amber); }
.onboard b { display: block; font: 500 1.02rem/1.2 var(--display); }
.onboard span { color: var(--muted); font-size: .88rem; }
.onboard em { font: 500 .78rem/1 var(--mono); font-style: normal; color: var(--text-2); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
@media (max-width: 560px) { .onboard li { grid-template-columns: 34px 1fr; } .onboard em { grid-column: 2; justify-self: start; } }
.phases-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .phases-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- governance ---------- */
.gov-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gf { position: relative; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); display: grid; gap: 6px; }
.gf span { font: 600 .8rem/1 var(--mono); color: var(--amber); }
.gf small { color: var(--muted); font-size: .84rem; }
.gf:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--amber); z-index: 1; }
@media (max-width: 860px) { .gov-flow { grid-template-columns: 1fr; } .gf::after { display: none; } }
.ctl-f { margin-bottom: 14px; flex-wrap: wrap; }
.ctl tr.off { display: none; }

/* ---------- interactive DOS workspace (demo page) ---------- */
.dapp { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #05060a; color: #eef1f7; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.dapp-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; background: #0b0d13; color: #fff; }
.dapp-top select { max-width: 260px; }
.dapp-top .live { margin-left: auto; }
.dapp-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 560px; --brand: #9a3412; --accent: #0ea5e9; }
.dapp-nav { background: rgba(255, 255, 255, .02); border-right: 1px solid rgba(255, 255, 255, .07); padding: 12px 10px; display: grid; align-content: start; gap: 4px; }
.dapp-nav button { text-align: left; padding: 11px 12px; border-radius: 10px; border: 0; background: transparent; color: #9aa3b5; font: 500 .9rem/1 var(--body); cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 42px; }
.dapp-nav button[aria-current="page"] { background: color-mix(in srgb, var(--brand) 22%, transparent); color: #fff; font-weight: 600; box-shadow: inset 2px 0 0 var(--brand); }
.dapp-nav em { font-style: normal; font: 600 .7rem/1 var(--body); padding: 3px 7px; border-radius: 999px; background: var(--accent); color: #111; }
.dapp-view { padding: 20px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.dapp-view h3 { color: #fff; font-size: 1.3rem; }
.dapp-view .muted, .dapp-view p { color: #9aa3b5; }
.dv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.dv-kpis > div, .dv-card { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; }
.dv-kpis small { display: block; color: #7f889c; font-size: .74rem; }
.dv-kpis b { font: 600 1.5rem/1.1 var(--display); font-variant-numeric: tabular-nums; color: #fff; }
.dv-stages { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .dv-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dv-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dv-proc { display: grid; gap: 12px; padding-bottom: 18px; } .dv-proc + .dv-proc { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }
.dv-stage { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid #34d399; border-radius: 12px; padding: 12px; display: grid; gap: 4px; font-size: .82rem; color: #b9c0cf; }
.dv-stage.amber { border-top-color: #f59e0b; } .dv-stage.red { border-top-color: #ef4444; } .dv-stage.idle { border-top-color: #475569; }
.dv-stage b { color: #fff; font-size: .9rem; }
.dv-stage .mono { font-size: .7rem; color: #7f889c; }
.dv-items { display: grid; gap: 10px; }
.dv-item { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.dv-item header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.dv-item .rk { font: 600 .68rem/1 var(--mono); text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.rk.high { background: rgba(248, 113, 113, .14); color: #fca5a5; } .rk.medium { background: rgba(251, 191, 36, .14); color: #fcd34d; } .rk.low { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.dv-item dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; font-size: .86rem; color: #b9c0cf; }
.dv-item dt { color: #7f889c; }
.dv-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dv-btn { min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #eef1f7; font: 600 .84rem/1 var(--body); cursor: pointer; }
.dv-btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.dv-btn:disabled { opacity: .45; cursor: not-allowed; }
.dv-msg { font-size: .82rem; color: #9aa3b5; }
.dv-msg.err { color: #fca5a5; } .dv-msg.ok { color: #6ee7b7; }
.dv-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dv-feed li { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 12px; font-size: .86rem; color: #b9c0cf; animation: slidein .35s var(--ease) both; }
.dv-feed time { font: 400 .74rem/1 var(--mono); color: #6b7385; margin-right: 8px; }
.dv-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dapp-view input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brand), var(--accent)) 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .12); }
.dapp-view input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, .12); }
.dapp-view input[type="range"]::-webkit-slider-thumb { border-color: #fff; box-shadow: 0 0 0 2px var(--brand), 0 4px 10px rgba(0, 0, 0, .2); }
@media (max-width: 760px) { .dapp-body { grid-template-columns: 1fr; } .dapp-nav { grid-auto-flow: column; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e5e8ee; } .dapp-nav button { white-space: nowrap; } .dv-item dl { grid-template-columns: 1fr; } }

/* ---------- code blocks ---------- */
pre.code { margin: 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #05060a; overflow-x: auto; font: 400 .8rem/1.6 var(--mono); color: #c9d6f0; }
.olist { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--text-2); }

/* ---------- command palette ---------- */
.palette { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 12vh 16px 16px; }
.pal-box { width: min(640px, 100%); border-radius: 18px; border: 1px solid var(--line-2); background: #0a0c12; box-shadow: 0 30px 100px rgba(0, 0, 0, .7); overflow: hidden; animation: rise .25s var(--ease) both; }
.pal-in { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pal-in svg { width: 18px; height: 18px; color: var(--muted); }
.pal-in input { border: 0; background: transparent; padding: 6px 0; font-size: 1rem; color: #fff; outline: none; box-shadow: none; }
.palette ul { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.palette li a { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: #fff; }
.palette li a small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.palette li a span { font: 500 .7rem/1 var(--mono); color: var(--muted); align-self: center; }
.palette li[aria-selected="true"] a, .palette li a:hover { background: var(--glass-2); }

/* ---------- spotlight cards + magnetic button ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 233, 209, .10), transparent 45%); }
.spot:hover::before { opacity: 1; }
.magnetic { transition: transform .25s var(--ease); }

/* ---------- footer ---------- */
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 40px; margin-bottom: 30px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: var(--muted); font-size: .9rem; max-width: 36ch; }
.news { display: flex; gap: 8px; }
.news input { min-width: 0; flex: 1; }
.foot a { display: inline-block; padding-block: 4px; }
.foot-base a { color: var(--muted); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- fixes from the v3 audit ---------- */
/* 1. Tables: on phones each row becomes a labelled card instead of clipping columns */
@media (max-width: 720px) {
  .rtable { overflow: visible; border: 0; background: transparent; }
  .rtable table, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable tr { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; margin-bottom: 10px; background: var(--glass); }
  .rtable td { border: 0; padding: 6px 0; text-align: left !important; display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 10px; }
  .rtable td::before { content: attr(data-label); font: 500 .7rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .rtable td[data-label=""]::before { content: none; }
  .rtable td[data-label=""] { grid-template-columns: 1fr; font-size: 1rem; }
}
/* 2. The heal table no longer clips its status column on phones */
@media (max-width: 640px) { .heal table th:nth-child(2), .heal table td:nth-child(2) { display: none; } .heal { overflow-x: auto; } }
/* 3. Final call-to-action word always fits the screen */
.bigword { font-size: clamp(5rem, 32vw, 22rem); letter-spacing: -.04em; }
.final h2 { max-width: 20ch; }
.final .eyebrow { margin-bottom: -4px; }
/* 4. Chat button: compact on phones, never over the hero, room above the footer */
.chat-fab { transition: opacity .3s, transform .3s; }
.chat-fab.away { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 640px) { .chat-fab { padding: 0; width: 52px; height: 52px; justify-content: center; border-radius: 50%; } .chat-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .foot { padding-bottom: 90px; } }
/* 5. Bigger tap targets */
.chip, .seg button, .tablist button, .frow .chip { min-height: 40px; }
.faq-col { display: grid; gap: 14px; align-content: start; }
/* 6. Tag rows and crumbs wrap cleanly */
.tag-row { flex-wrap: wrap; }
.crumbs { overflow-wrap: anywhere; }
.logo-tile { position: relative; }
.dos-word { position: absolute; right: 18px; bottom: 14px; font: 600 .8rem/1 var(--mono); letter-spacing: .14em; padding: 6px 9px; border-radius: 8px; background: var(--aurora); color: #05060a; }

@media (prefers-reduced-motion: reduce) {
  .lx-layer, .mk-bars i, .roi-bars i, .dcard, .brandgrid figure, .magnetic { transition: none !important; }
  .am-feed li, .es-feed li, .dv-feed li, .am-stage, .h2h-card, .tour-pane, .lx-detail, .pal-box, .cfg-mc { animation: none !important; }
  .am-live i { animation: none; }
}
/* segmented controls never push the page wider than the screen */
.seg { max-width: 100%; flex-wrap: wrap; }
.seg button { white-space: normal; }
.cfg-tabs { display: flex; }
.cfg-tabs button { flex: 1 1 auto; }
.cfg-list li > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 860px) { .cfg-grid, .roi, .lx, .es-grid, .trust-band, .cp-shot, .tour { grid-template-columns: minmax(0, 1fr) !important; } }
.cfg label span, .rf label, .pf label { min-width: 0; overflow-wrap: anywhere; }
.rtable td, .rtable td > * { min-width: 0; overflow-wrap: anywhere; }
.rtable .mono { word-break: break-word; }
/* header: logo + DOS tag never collide with the centred nav */
.head .wrap { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
.head .nav { justify-self: center; }
@media (max-width: 1320px) { .nav > a, .nav .dd > button { padding: 10px 11px; } }
h1, h2, h3 { text-wrap: balance; }
.lx-detail .tag { justify-self: start; }
.lx-detail h3 .muted { font-weight: 400; }
.cfg-list li > span:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; }
.mk.m2 { background: var(--ok); box-shadow: 0 0 10px rgba(74, 222, 154, .45); }
.mk.m1 { background: linear-gradient(90deg, var(--hold) 50%, transparent 50%); border: 2px solid var(--hold); }
.mk.m0 { border: 2px solid rgba(255, 255, 255, .28); }
.cmp-t tbody th { font: 500 .88rem/1.35 var(--body); text-transform: none; letter-spacing: 0; }
.cmp-t thead th { font: 600 .7rem/1.2 var(--mono); letter-spacing: .06em; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.cmp-legend span { display: inline-flex; gap: 6px; align-items: center; }
.plan .plan-sub { min-height: 2.7em; }
.dcta { border-style: dashed; border-color: rgba(255, 255, 255, .22); background: transparent; --c: #3f86ff; }
.dcta .link-arrow { margin-top: auto; }
.dgrid .dcta { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; min-height: 0; }
.dgrid .dcta h3 { margin: 0; }
.dgrid .dcta p { margin: 0; grid-column: 2; }
.dgrid .dcta .dd-ic { grid-row: span 2; }
.dgrid .dcta .link-arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 640px) { .dgrid .dcta { grid-template-columns: auto minmax(0, 1fr); } .dgrid .dcta .link-arrow { grid-column: 2; grid-row: auto; } }
.final h2 { max-width: 24ch; }
@media (max-width: 640px) { .cmp-t tbody th { min-width: 150px; max-width: 170px; font-size: .8rem; } .cmp-t { min-width: 640px; } }
.head-cta { gap: 8px; }
.brand { margin-right: 6px; }
.cmp-t tbody th { white-space: normal; }
.mk-name { overflow-wrap: anywhere; min-width: 0; }
.link-arrow { padding-block: 8px; }
.dv-chip { display: inline-flex; gap: 4px; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #b9c0cf; font-size: .82rem; }
.dv-chip b { color: var(--brand); }
@media (max-width: 560px) { .phases-7, .phases { grid-template-columns: minmax(0, 1fr) !important; } }
.ribbon * { min-width: 0; overflow-wrap: anywhere; }
.cfg-mc .tag { justify-self: start; }

/* ---------- v5: footer with five columns, use-case cards, article layout ---------- */
.foot-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ucgrid .uc h3 { font-size: 1.05rem; }
.ucgrid .uc p { font-size: .92rem; }
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.art-toc { position: sticky; top: 96px; display: grid; gap: 12px; padding: 20px; }
.art-toc b { color: #fff; font-size: .95rem; }
.art-toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .9rem; }
.art-toc a { color: var(--text-2); text-decoration: none; }
.art-toc a:hover { color: #fff; }
.art-body { display: grid; gap: 22px; min-width: 0; }
.art-body .prose { max-width: 74ch; gap: 14px; }
.art-body .prose h2 { font-size: 1.55rem; margin-top: 22px; scroll-margin-top: 96px; }
.art-body .prose p, .art-body .prose li { font-size: 1.04rem; line-height: 1.7; }
.art-body .table { margin: 6px 0; }
.art-cta { margin-top: 18px; }
@media (max-width: 900px) { .article { grid-template-columns: minmax(0, 1fr); } .art-toc { position: static; } }

/* ---------- v6: market chart (renamed from .mk, which clashed with the matrix marks) ---------- */
.mkt { display: grid; gap: 0; min-width: 0; }
.mkt-legend { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 16px; align-items: center; font-size: .8rem; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mkt-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mkt-lc { text-align: right; font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mkt-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 64px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.mkt-name { color: var(--text-2); overflow-wrap: anywhere; line-height: 1.3; }
.mkt-bars { display: grid; gap: 5px; min-width: 0; }
.mkt-bars > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mkt-bars i { display: block; flex: none; height: 12px; border-radius: 4px; width: 0; transition: width 1.1s var(--ease); }
.mkt-row.in .mkt-bars i, .no-js .mkt-bars i, html:not(.js) .mkt-bars i { width: calc(var(--w) * .72); }
.mkt-bars em { font: 500 .72rem/1 var(--mono); color: var(--muted); font-style: normal; white-space: nowrap; }
.mkt-cagr { display: grid; gap: 3px; text-align: right; font: 600 .9rem/1 var(--mono); color: var(--amber); }
.mkt-cagr small { font: 500 .62rem/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
@media (max-width: 760px) { .mkt-row { grid-template-columns: minmax(0, 1fr) 58px; gap: 8px 12px; } .mkt-name { grid-column: 1 / -1; font-weight: 500; } }
@media (prefers-reduced-motion: reduce) { .mkt-bars i { transition: none !important; } }

/* ---------- v6: the DOS app mock and every product screenshot in the dark "Aurora" look of the real app ---------- */
/* screenshots: dark frame, soft edge glow, no white flashes while loading */
.browser { background: #05060a; border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.browser img, .brandgrid img { display: block; background: #05060a; }
.brandgrid figure { background: #05060a; border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.brandgrid figcaption { border-top: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 8px; }
.brandgrid figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
/* the interactive Try DOS workspace, in the same dark look */
.dapp { background: #05060a; color: #eef1f7; border-color: rgba(255, 255, 255, .12); }
.dapp-top { background: #0b0d14; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dapp-nav { background: rgba(255, 255, 255, .02); border-right-color: rgba(255, 255, 255, .07); }
.dapp-nav button { color: #9aa3b5; }
.dapp-nav button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.dapp-nav button[aria-current="page"] { background: color-mix(in srgb, var(--brand) 22%, transparent); color: #fff; box-shadow: inset 2px 0 0 var(--brand); }
.dapp-nav em { background: var(--accent); color: #111; }
.dapp-view h3 { color: #fff; }
.dapp-view .muted, .dapp-view p { color: #9aa3b5; }
.dv-kpis > div, .dv-card, .dv-stage, .dv-item, .dv-feed li { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .08); color: #b9c0cf; }
.dv-kpis small, .dv-item dt, .dv-stage .mono { color: #7f889c; }
.dv-kpis b, .dv-stage b { color: #fff; }
.dv-stage { border-top-color: #34d399; } .dv-stage.amber { border-top-color: #fbbf24; } .dv-stage.red { border-top-color: #f87171; } .dv-stage.idle { border-top-color: #475569; }
.dv-item dl { color: #b9c0cf; }
.dv-item b, .dv-item strong { color: #fff; }
.dv-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #eef1f7; }
.dv-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.dv-btn.pri { background: var(--brand); border-color: transparent; color: #fff; }
.dv-msg { color: #9aa3b5; } .dv-msg.err { color: #fca5a5; } .dv-msg.ok { color: #6ee7b7; }
.dv-feed time { color: #6b7385; }
.dapp-view input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brand), var(--accent)) 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .12); }
.dapp-view input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, .12); }
.rk.high { background: rgba(248, 113, 113, .14); color: #fca5a5; } .rk.medium { background: rgba(251, 191, 36, .14); color: #fcd34d; } .rk.low { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.dv-chip { background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .12) !important; color: #b9c0cf !important; }

/* v7: manufacturing solution page - downtime figures and the minute-by-minute timeline */
.mstat { display: grid; gap: 8px; align-content: start; }
.mstat-n { font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--display, inherit); letter-spacing: -.02em; background: linear-gradient(90deg, #fde68a, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mstat p { margin: 0; }
.mstat small { color: var(--muted); font-size: .76rem; }
.mtl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; max-width: 860px; }
.mtl::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#fbbf24, rgba(56, 189, 248, .5)); opacity: .6; }
.mtl-i { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; align-items: start; padding: 12px 0; position: relative; }
.mtl-t { justify-self: center; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; padding: 7px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg, #0b0f17); color: #fde68a; position: relative; z-index: 1; white-space: nowrap; }
.mtl-i b { display: block; margin-bottom: 4px; }
.mtl-i p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .mtl::before { left: 29px; } .mtl-i { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; } }
@media (max-width: 560px) {
  .es-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .es-agent { padding: 10px; }
  .es-agent small { display: none; }
  .es-ws { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .es-ws::-webkit-scrollbar { display: none; }
  .es-ws .wsb { flex: none; }
}
