/* Tơ Line — concept by Doris Studio. Woven-label & bundle-ticket identity, Linear-level calm. */
:root {
  --bg: #F1EDE5; --surface: #FBF9F5; --surface-2: #E7E2D8; --ink: #16181D; --ink-2: #474A52; --ink-3: #66696F;
  --line: rgba(22, 24, 29, .08); --acc: #2B3F86; --acc-ink: #fff; --acc-soft: rgba(43, 63, 134, .09);
  --heat: #CF3C25; --heat-soft: rgba(207, 60, 37, .11); --sage: #3B7558; --sage-soft: rgba(59, 117, 88, .12); --warm: #9A6E16; --warm-soft: rgba(183, 134, 43, .16);
  --logo-bg: #16181D; --logo-fg: #F1EDE5; --paper: #F6F0E2;
  --f-d: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --f-b: 'Hanken Grotesk', system-ui, sans-serif; --f-m: 'Geist Mono', ui-monospace, monospace;
  --r: 14px; --r-s: 10px; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --weave: repeating-linear-gradient(0deg, rgba(22, 24, 29, .016) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(22, 24, 29, .014) 0 1px, transparent 1px 3px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0E1013; --surface: #16191D; --surface-2: #1F2328; --ink: #ECE8E0; --ink-2: #B9B5AD; --ink-3: #908C85;
  --line: rgba(236, 232, 224, .08); --acc: #93A6F4; --acc-ink: #0E1013; --acc-soft: rgba(147, 166, 244, .12);
  --heat: #FF6B4D; --heat-soft: rgba(255, 107, 77, .14); --sage: #7CC29C; --sage-soft: rgba(124, 194, 156, .13); --warm: #E2B45C; --warm-soft: rgba(226, 180, 92, .14);
  --logo-bg: #ECE8E0; --logo-fg: #0E1013; --paper: #E9E1CF;
  --weave: repeating-linear-gradient(0deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .01) 0 1px, transparent 1px 3px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) var(--weave); color: var(--ink); font: 400 16px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.sm { font-size: 14px; }
.eyebrow { font: 600 13px/1.4 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, opacity .2s; white-space: nowrap; }
.btn:hover { background: color-mix(in srgb, var(--surface-2) 80%, var(--ink) 8%); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { background: color-mix(in srgb, var(--acc) 88%, #000); }
[data-theme="dark"] .btn-acc:hover { background: color-mix(in srgb, var(--acc) 85%, #fff); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--acc-soft); }
.btn-danger { background: var(--heat); color: #fff; }
.btn-dz:hover { color: var(--heat); background: var(--heat-soft); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn.busy { position: relative; color: transparent; }
.btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--acc-ink); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lnk { display: inline-flex; align-items: center; gap: 6px; color: var(--acc); font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px 0; min-height: 44px; }
.lnk .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.lnk:hover .ic { transform: translateX(3px); }
.ib { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: inherit; transition: background .2s, transform .2s var(--ease); }
.ib:hover { background: var(--acc-soft); }
.ib:active { transform: scale(.94); }
.ib.on { color: var(--acc); background: var(--acc-soft); }
.lang { font: 600 13px var(--f-m); letter-spacing: .05em; }
.row-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

/* chips, segments, meters */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-hot { background: var(--heat-soft); color: var(--heat); }
.chip-ok { background: var(--sage-soft); color: var(--sage); }
.chip.st-sewing { background: var(--acc-soft); color: var(--acc); }
.chip.st-cutting { background: var(--warm-soft); color: var(--warm); }
.chip.st-shipped { background: var(--sage-soft); color: var(--sage); }
.chip.st-finishing { background: var(--surface-2); }
.chip.cat { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.seg-b { min-height: 40px; padding: 0 14px; border: 0; background: transparent; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.seg-b:hover { color: var(--ink); }
.seg-b.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--acc); border-radius: inherit; transition: width .6s var(--ease); }
.meter i.hot { background: var(--heat); }
.meter.lg { height: 10px; }
.ld { font: 600 14px var(--f-m); padding: 3px 9px; border-radius: 8px; }
.ld.ok { color: var(--sage); background: var(--sage-soft); }
.ld.warm { color: var(--warm); background: var(--warm-soft); }
.ld.hot { color: var(--heat); background: var(--heat-soft); }
.sim-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--warm); background: var(--warm-soft); padding: 6px 10px; border-radius: 999px; }
.sim-tag .ic { width: 14px; height: 14px; }
.sim-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 0 0 var(--heat); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--heat) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.dot-hot { width: 8px; height: 8px; border-radius: 50%; background: var(--heat); margin-left: auto; }
.sd { display: inline-flex; gap: 3px; vertical-align: middle; }
.sd i { width: 10px; height: 10px; border-radius: 3px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sd i.f { background: var(--acc); box-shadow: none; }

/* avatars */
.av { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font: 700 14px/1 var(--f-b); letter-spacing: .02em; color: #fff; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.lg { width: 52px; height: 52px; font-size: 17px; }
.av.xl { width: 88px; height: 88px; font-size: 30px; }
.av.t0 { background: #2B3F86; } .av.t1 { background: #7A4E2D; } .av.t2 { background: #3B7558; } .av.t3 { background: #8C3A4E; } .av.t4 { background: #4F5A66; } .av.t5 { background: #8A6A12; }
.av-ic { background: var(--surface-2); color: var(--ink); }
.av-ic .ic { width: 20px; height: 20px; }

/* ---------- app shell ---------- */
.app { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.sb { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 16px 20px; display: flex; flex-direction: column; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 26px/1 var(--f-d); letter-spacing: .01em; text-decoration: none; text-transform: uppercase; }
.brand .logo { width: 36px; height: 36px; }
.sb .brand { padding: 4px 8px; }
.site { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border-radius: 12px; }
.site img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.site b { display: block; font-size: 14px; line-height: 1.3; }
.site small { font-size: 13px; color: var(--ink-3); line-height: 1.35; display: block; }
.nav-g { display: flex; flex-direction: column; gap: 2px; }
.nav-h { font: 600 12px var(--f-m); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 0 12px 6px; }
.nav-i { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; transition: background .2s, color .2s; }
.nav-i:hover { background: var(--surface); color: var(--ink); }
.nav-i.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.nav-i.on .ic { color: var(--acc); }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.sb-note { font-size: 13px; line-height: 1.5; color: var(--ink-3); padding: 12px 12px 0; }
.sb-note a { color: var(--ink-2); }
.col { min-width: 0; display: flex; flex-direction: column; }
.tb { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 14px 36px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kbar { display: flex; align-items: center; gap: 10px; flex: 0 1 420px; min-height: 46px; padding: 0 12px 0 14px; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink-3); cursor: pointer; text-align: left; transition: box-shadow .2s; }
.kbar:hover { box-shadow: inset 0 0 0 1px var(--line), 0 2px 8px rgba(0, 0, 0, .04); }
.kbar span { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
kbd { font: 600 12px var(--f-m); padding: 3px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.tb-live { display: flex; align-items: center; gap: 8px; font: 600 15px var(--f-m); }
.tb-live small { font: 500 12px var(--f-m); color: var(--warm); text-transform: uppercase; letter-spacing: .06em; }
.tb-r { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.me { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; margin-left: 8px; }
.main { padding: 8px 36px 72px; outline: none; }
.view { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.tabbar { display: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .55s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.calm .rv, .calm .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }

/* view head */
.vh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 16px; }
.vh h1 { font: 800 44px/1 var(--f-d); text-transform: uppercase; letter-spacing: .005em; }
.vh-sub { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.vh-r { display: flex; gap: 12px; flex-wrap: wrap; }
.card { background: var(--surface); border-radius: var(--r); padding: 28px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.card-h h2, .card-t { font: 700 20px/1.2 var(--f-b); letter-spacing: -.01em; }
.card-t { margin-bottom: 18px; }
.mini-h { font-size: 14px; font-weight: 600; color: var(--ink-3); margin: 22px 0 10px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--f-m); }
.mid { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.mid b { font: 800 48px/1 var(--f-d); }
.mid span { color: var(--ink-2); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin: 22px 0 0; }
.facts.f4 { grid-template-columns: repeat(3, 1fr); }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; background: var(--surface); border-radius: 12px; flex: 1 1 220px; max-width: 360px; color: var(--ink-3); }
.search input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 15px; color: var(--ink); }
.sel select, .fld input, .fld select { min-height: 48px; border-radius: 10px; border: 0; background: var(--surface); padding: 0 14px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); }
.crumb { margin-top: 8px; }

/* today */
.hero-strip { position: relative; height: 232px; border-radius: var(--r); overflow: hidden; background: #2a2a28; color: #F6F2EA; margin-top: 8px; }
.hero-strip img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 55%; }
.hero-strip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 19, .78) 0%, rgba(14, 16, 19, .25) 65%, rgba(14, 16, 19, .1)); }
.hs-in { position: absolute; left: 36px; bottom: 32px; z-index: 1; }
.hs-in .eyebrow { color: rgba(246, 242, 234, .8); }
.hs-in h1 { font: 800 48px/1 var(--f-d); text-transform: uppercase; margin-top: 10px; }
.hs-pill { position: absolute; right: 24px; bottom: 28px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; background: rgba(246, 242, 234, .94); color: #16181D; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.g-today { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.out-card { grid-column: span 7; }
.ag-card { grid-column: span 5; }
.lines-card { grid-column: span 8; grid-row: span 2; }
.q-mini { grid-column: span 4; }
.due-mini { grid-column: span 4; }
.g-today > .q-mini { grid-row: span 1; }
.big-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.big { display: flex; align-items: baseline; gap: 12px; }
.big b { font: 800 72px/.9 var(--f-d); letter-spacing: -.01em; }
.big span { color: var(--ink-2); font-size: 16px; }
.vs { color: var(--ink-2); font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vs b { color: var(--ink); }
.delta { font: 600 14px var(--f-m); padding: 4px 10px; border-radius: 8px; }
.delta.neg { color: var(--heat); background: var(--heat-soft); }
.delta.pos, .pos { color: var(--sage); }
.delta.pos { background: var(--sage-soft); }
.hbars { position: relative; height: 210px; margin-top: 32px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; align-items: end; padding-bottom: 28px; }
.hb { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.hb-bar { position: relative; background: var(--ink); border-radius: 6px 6px 3px 3px; transition: height .6s var(--ease); min-height: 2px; }
[data-theme="dark"] .hb-bar { background: #CFCBC2; }
.hb-bar.under { background: var(--acc); }
.hb.cur .hb-bar { background: repeating-linear-gradient(-45deg, var(--acc) 0 6px, color-mix(in srgb, var(--acc) 70%, transparent) 6px 12px); }
.hb-bar b { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 600 13px var(--f-m); color: var(--surface); }
.hb.cur .hb-bar b { top: -24px; color: var(--ink-2); }
.hb > span { position: absolute; bottom: -28px; left: 0; right: 0; text-align: center; font: 500 13px var(--f-m); color: var(--ink-3); }
.hb.fut::before { content: ''; position: absolute; inset: auto 0 0; height: 100%; border-radius: 6px; background: repeating-linear-gradient(0deg, transparent 0 7px, var(--line) 7px 8px); opacity: .7; }
.hb-tgt { position: absolute; left: 0; right: 0; bottom: calc(28px + (100% - 28px) * var(--v)); border-top: 2px dashed var(--heat); z-index: 2; pointer-events: none; }
.hb-tgt span { position: absolute; right: 0; top: -26px; font: 600 12px var(--f-m); color: var(--heat); background: var(--surface); padding: 2px 6px; border-radius: 4px; }
.ag-card { display: flex; flex-direction: column; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.ag-card::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--heat) 45%, transparent), transparent 70%); pointer-events: none; }
.ag-card .muted { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.ag-card .btn-acc { background: var(--bg); color: var(--ink); }
.ag-card .btn-ghost { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 25%, transparent); color: var(--bg); }
.ag-card .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); }
.ag-card .row-act { margin-top: auto; padding-top: 22px; }
.ag-calm::before { background: radial-gradient(circle, color-mix(in srgb, var(--sage) 45%, transparent), transparent 70%); }
.ag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ag-who { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-m); letter-spacing: .02em; }
.ag-who .ic { color: var(--heat); }
.ag-h { font: 600 24px/1.3 var(--f-b); letter-spacing: -.015em; margin: 18px 0 20px; max-width: 34ch; }
.ag-h em { font-style: normal; color: var(--heat); }
.ba { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.ba div { display: flex; flex-direction: column; }
.ba small { font-size: 13px; opacity: .7; }
.ba b { font: 800 52px/1 var(--f-d); }
.ba span { font-size: 14px; opacity: .75; }
.ba-after b { color: color-mix(in srgb, var(--sage) 80%, var(--bg)); }
.ba-arr { opacity: .5; width: 28px; height: 28px; }
.lrows { display: flex; flex-direction: column; }
.lrow { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1.1fr) 92px auto; gap: 18px; align-items: center; min-height: 80px; padding: 12px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.lrow:hover { background: var(--bg); }
.th56 { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; overflow: hidden; }
.lr-n b { display: block; font-size: 16px; }
.lr-n small, .lr-p small { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-p small { margin-top: 6px; }
.lr-p small b { color: var(--ink); }
.lr-e { font-weight: 700; font-size: 18px; text-align: right; }
.lr-e small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.qm-last { display: flex; gap: 14px; align-items: center; padding: 12px; margin: 10px -12px 6px; border-radius: 12px; text-decoration: none; }
.qm-last:hover { background: var(--bg); }
.qm-last b { display: block; font-size: 15px; }
.qm-last small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.dth { display: block; overflow: hidden; border-radius: 10px; flex: none; background: var(--surface-2); }
.dth img { width: 100%; height: 100%; object-fit: cover; }
.dth.th56 { width: 56px; height: 56px; }
.dth.th64 { width: 72px; height: 72px; }
.dm { display: flex; gap: 14px; align-items: center; }
.dm img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.dm b { display: block; } .dm small { color: var(--ink-3); font-size: 13px; }
.due-mini .mid { margin-top: 16px; }

/* twin */
.tw-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.tw-stage { position: relative; height: calc(100vh - 220px); min-height: 520px; border-radius: var(--r); overflow: hidden; background: #E9E5DC; touch-action: none; }
[data-theme="dark"] .tw-stage { background: #0f1114; }
.tw-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.ready .tw-cv { opacity: 1; }
.tw-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(.6); opacity: .5; transform: scale(1.1); transition: opacity .6s; }
.ready .tw-poster { opacity: 0; }
.nogl .tw-poster { filter: none; opacity: 1; transform: none; }
.tw-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--surface); padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.ready .tw-load { display: none; }
.sk-line { width: 16px; height: 16px; border: 2px solid var(--acc); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.tw-legend { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--surface) 92%, transparent); padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--ink-2); }
.tw-legend i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #b9c6b3, #e2c27a 55%, var(--heat)); }
[data-theme="dark"] .tw-legend i { background: linear-gradient(90deg, #27342e, #6b5a2c 55%, var(--heat)); }
.tw-hud { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; pointer-events: none; }
.tw-hint { font-size: 13px; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 90%, transparent); padding: 6px 10px; border-radius: 8px; }
.tw-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tw-tag { position: absolute; left: 0; top: 0; margin: -54px 0 0 -2px; display: flex; flex-direction: column; background: var(--heat); color: #fff; padding: 8px 12px; border-radius: 10px 10px 10px 2px; white-space: nowrap; box-shadow: 0 6px 20px color-mix(in srgb, var(--heat) 35%, transparent); }
.tw-tag b { font: 800 22px/1 var(--f-d); }
.tw-tag span { font-size: 13px; font-weight: 600; }
.tw-side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.side-h { font: 700 26px/1.15 var(--f-b); letter-spacing: -.015em; margin: 8px 0 14px; }
.load-big { display: flex; align-items: baseline; gap: 10px; }
.load-big b { font: 800 64px/1 var(--f-d); }
.load-big.hot b { color: var(--heat); } .load-big.ok b { color: var(--sage); } .load-big.warm b { color: var(--warm); }
.load-big span { color: var(--ink-2); }
.plist, .lsum, .ldlist, .logl, .seq, .hbar, .sklist, .steps, .think { list-style: none; margin: 0; padding: 0; }
.plist a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; min-height: 56px; }
.plist a:hover { background: var(--bg); }
.plist b { display: block; font-size: 15px; } .plist small { font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.tw-side .btn.wide { margin-top: 22px; }
.ldlist button, .lsum button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 6px 10px; margin: 0 -10px; width: calc(100% + 20px); border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; font-size: 15px; }
.ldlist button:hover, .lsum button:hover { background: var(--bg); }
.lsum { margin: 18px 0 14px; }
.lsum button { min-height: 60px; }
.lsum b { width: 72px; flex: none; } .lsum span:nth-of-type(1) { flex: 1; color: var(--ink-2); font-size: 14px; }

/* agent */
.g-agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.plan .ag-h { font-size: 26px; }
.think { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.think li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-3); opacity: .35; transition: opacity .3s, color .3s; }
.think li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; flex: none; }
.think li.on { opacity: 1; color: var(--ink-2); }
.think li.on::before { border-color: var(--sage); background: var(--sage); }
.think.done { display: none; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.steps.wait { display: none; }
.step { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 12px; background: var(--bg); transition: opacity .3s, transform .4s var(--ease); }
.steps:not(.wait) .step:not(.in) { opacity: 1; }
.step.off { opacity: .5; }
.step.off p b { text-decoration: line-through; }
.step p { font-size: 16px; line-height: 1.55; }
.step p a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
.step small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pill i { font: 600 12px var(--f-m); font-style: normal; }
.pill i.hot { color: var(--heat); } .pill i.ok { color: var(--sage); }
.st-tg { position: relative; width: 24px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.st-tg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.st-tg span { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink-3); transition: background .2s; }
.st-tg input:checked + span { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: none; }
[data-theme="dark"] .st-tg input:checked + span { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1013' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.st-tg input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.sim .seg { margin-bottom: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.mt small { font-size: 13px; color: var(--ink-3); display: block; }
.mt p { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.mt .m-b { color: var(--ink-3); font-size: 16px; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 50%, transparent); }
.mt .ic { width: 14px; height: 14px; color: var(--ink-3); }
.mt b { font: 800 34px/1 var(--f-d); }
.lbars { position: relative; height: 240px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; align-items: end; padding-bottom: 26px; }
.lb { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.lb-bar { border-radius: 5px 5px 2px 2px; transition: height .6s var(--spring), background .4s; position: relative; min-height: 3px; }
.lb-bar.ok { background: color-mix(in srgb, var(--sage) 55%, var(--surface-2)); }
.lb-bar.warm { background: var(--warm); }
.lb-bar.hot { background: var(--heat); }
.lb-bar b { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font: 600 13px var(--f-m); white-space: nowrap; }
.lb > span { position: absolute; bottom: -26px; left: 0; right: 0; text-align: center; font: 500 13px var(--f-m); color: var(--ink-3); }
.lb-takt { position: absolute; left: 0; right: 0; bottom: calc(26px + (100% - 26px) * var(--v)); border-top: 2px dashed var(--ink); z-index: 2; pointer-events: none; }
.lb-takt span { position: absolute; left: 0; top: -24px; font: 600 12px var(--f-m); background: var(--surface); padding: 2px 6px 2px 0; }
.lb-cap { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.logl li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; min-height: 56px; }
.logl li + li { box-shadow: 0 -1px 0 var(--line); }
.logl small { display: block; font-size: 13px; color: var(--ink-3); }
.lg-i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.lg-i .ic { width: 16px; height: 16px; }
.lg-i.agent { background: var(--heat-soft); color: var(--heat); }
.lg-ap .lg-i { background: var(--sage-soft); color: var(--sage); }
.empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 0; overflow: hidden; }
.empty img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.empty > div { padding: 32px 32px 32px 0; }
.empty h2 { font: 800 40px/1.1 var(--f-d); text-transform: uppercase; margin: 10px 0 14px; }
.empty-s { display: flex; align-items: center; gap: 24px; padding: 24px; background: var(--surface); border-radius: var(--r); flex-wrap: wrap; }
.empty-s img { width: 120px; height: 96px; border-radius: 10px; object-fit: cover; }
.empty-s p { flex: 1; min-width: 200px; color: var(--ink-2); }
.empty-s b { color: var(--ink); }

/* orders */
.olist { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: var(--r); padding: 12px; }
.orow { display: grid; grid-template-columns: 72px minmax(0, 1.6fr) 70px minmax(0, 1fr) 128px 112px; gap: 20px; align-items: center; min-height: 92px; padding: 10px 14px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.orow:hover { background: var(--bg); }
.orow .ph { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.or-n b { display: block; font-size: 17px; } .or-n small, .or-p small, .or-d small, .or-s small { display: block; font-size: 13px; color: var(--ink-3); }
.or-s { text-align: right; } .or-s b { font-size: 18px; }
.or-p small { margin-top: 6px; }
.or-d b { font-size: 16px; }
.or-d.late small { color: var(--heat); font-weight: 600; }
.orow .chip { justify-self: end; }
.od { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: start; }
.od-ph { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--surface-2); }
.od-ph img { width: 100%; height: 100%; object-fit: cover; }
.od-ph .chip { position: absolute; left: 16px; top: 16px; background: var(--surface); }
.od-h { font: 800 52px/1.06 var(--f-d); text-transform: uppercase; margin-top: 10px; }
.prog { margin-top: 28px; }
.prog-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.prog-h b { font: 800 40px/1 var(--f-d); } .prog-h span { color: var(--ink-2); }
.fc { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; padding: 18px; border-radius: 12px; background: var(--sage-soft); }
.fc.late { background: var(--heat-soft); }
.fc > .ic { color: var(--sage); } .fc.late > .ic { color: var(--heat); }
.fc p { flex: 1; min-width: 220px; }
.seq li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 56px 72px; gap: 16px; align-items: center; min-height: 60px; padding: 8px 0; }
.seq li + li { box-shadow: 0 -1px 0 var(--line); }
.sq-i { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font: 600 13px var(--f-m); }
.sq-n b { display: block; font-size: 15px; } .sq-n small { color: var(--ink-3); font-size: 13px; }
.sq-ops { display: flex; } .sq-ops .av + .av { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); }
.seq .num { text-align: right; }
.seq .ld { justify-self: end; }
.form { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.fg2, .fg3 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg3 { grid-template-columns: repeat(3, 1fr); }
.fld { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.fld > span { margin: 0; }
.fld input, .fld select { background: var(--bg); width: 100%; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--acc); outline-offset: 0; }
.fld.bad input, .fld.bad select { box-shadow: inset 0 0 0 2px var(--heat); }
.ferr { color: var(--heat); font-weight: 600; font-size: 14px; min-height: 1px; }
.pick { display: flex; gap: 12px; flex-wrap: wrap; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick img, .pick .dth { width: 96px; height: 76px; border-radius: 10px; object-fit: cover; transition: transform .2s var(--ease), box-shadow .2s; }
.pick input:checked + img, .pick input:checked + .dth { box-shadow: 0 0 0 3px var(--acc); }
.pick input:focus-visible + img, .pick input:focus-visible + .dth { outline: 2px solid var(--acc); outline-offset: 4px; }
.pick label:hover img { transform: translateY(-2px); }
.cpick { display: flex; flex-wrap: wrap; gap: 8px; }
.cpick label { position: relative; }
.cpick input { position: absolute; opacity: 0; }
.cpick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.cpick input:checked + span { background: var(--ink); color: var(--bg); }
.cpick input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--acc); }

/* people */
.mx { padding: 8px 12px; overflow-x: auto; }
.mxt { width: 100%; border-collapse: collapse; min-width: 860px; }
.mxt thead th { position: sticky; top: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: center; padding: 16px 8px 12px; background: var(--surface); }
.mxt thead th:first-child { text-align: left; padding-left: 12px; }
.mxt tbody tr { transition: background .2s; }
.mxt tbody tr:hover { background: var(--bg); }
.mxt tbody th { text-align: left; font-weight: 400; padding: 6px 12px; }
.mxt tbody th a { display: flex; gap: 12px; align-items: center; text-decoration: none; min-height: 56px; }
.mxt tbody th b { display: block; font-size: 15px; white-space: nowrap; } .mxt tbody th small { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.mxt tbody th em { color: var(--heat); font-style: normal; }
.mxt td { text-align: center; padding: 4px; }
.mxc { min-width: 72px; min-height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; transition: background .2s, transform .25s var(--spring); }
.mxc:hover { background: var(--acc-soft); }
.mxc.cur { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 55%, transparent); }
.mxc.bump { transform: scale(1.12); }
.legend-p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cur-k { padding: 2px 8px; border-radius: 6px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 55%, transparent); }
.plgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pcard { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--surface); border-radius: var(--r); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.pcard > span:nth-child(2) { flex: 1; min-width: 0; }
.pcard b { display: block; } .pcard small { display: block; font-size: 13px; color: var(--ink-3); }
.pc-k { display: flex !important; gap: 6px; align-items: center; margin-top: 4px; }
.pc-e { font-weight: 700; font-size: 18px; }
.pd { display: flex; flex-direction: column; gap: 24px; }
.pd-head { display: flex; gap: 24px; align-items: center; }
.g-pd { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.sklist li { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.sklist li + li { box-shadow: 0 -1px 0 var(--line); }
.g-pd .fld { margin: 22px 0 14px; }

/* quality */
.g-q { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.q-hero { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 16px 28px 16px 16px; }
.q-hero img { width: 200px; height: 180px; border-radius: 10px; object-fit: cover; }
.hbar li { display: grid; grid-template-columns: 130px 1fr 40px; gap: 14px; align-items: center; min-height: 36px; font-size: 14px; }
.hb-t { height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.hb-t i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.hbar li:first-child .hb-t i { background: var(--heat); }
.hbar b { text-align: right; }
.dlist { display: flex; flex-direction: column; gap: 12px; }
.drow { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 16px 20px 16px 16px; background: var(--surface); border-radius: var(--r); }
.dr-m p { display: flex; gap: 8px; margin-bottom: 6px; }
.dr-m b { display: block; font-size: 16px; }
.dr-m small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.dr-a { display: flex; gap: 6px; align-items: center; }

/* reports */
.brief { background: var(--ink); color: var(--bg); }
.brief-t { font-size: 19px; line-height: 1.6; margin-top: 16px; max-width: 70ch; }
.brief .ag-who .ic { color: var(--heat); }
.smm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sm-chart { margin: 0; }
.sm-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sm-chart figcaption span { font: 800 28px/1 var(--f-d); }
.sm-chart svg, .dhu { width: 100%; height: auto; overflow: visible; }
.ln { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rv:not(.in) .ln { stroke-dashoffset: 1; }
.rv .ln { transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.ln.hot { stroke: var(--heat); }
.ref { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.dot { fill: var(--ink); } .dot.hot { fill: var(--heat); }
.lbl { font: 600 16px var(--f-m); fill: var(--ink); }
.ax { font: 500 15px var(--f-m); fill: var(--ink-3); }
.g-rep { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.g-rep .hbar li { grid-template-columns: 90px 1fr 50px; }
.g-rep .hbar li:first-child .hb-t i { background: var(--ink); }

/* skeleton */
.sk { gap: 24px; }
.sk-b { display: block; border-radius: var(--r); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shim 1.2s linear infinite; }
.sk-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@keyframes shim { to { background-position: -150% 0; } }

/* modal, palette, toast */
.mdl { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.mdl-bg { position: absolute; inset: 0; background: rgba(10, 11, 13, .42); opacity: 0; transition: opacity .25s; }
.mdl-card { position: relative; width: min(560px, 100%); max-height: 80vh; overflow-y: auto; background: var(--surface); border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.mdl.in .mdl-bg { opacity: 1; } .mdl.in .mdl-card { opacity: 1; transform: none; }
.mdl-card h2 { font: 700 22px/1.25 var(--f-b); margin-bottom: 10px; }
.mdl-card form { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.dlg-act { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.dlg-m { width: min(620px, 100%); }
.dlg-pal { padding: 0; width: min(640px, 100%); overflow: hidden; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 0 20px; min-height: 64px; box-shadow: 0 1px 0 var(--line); color: var(--ink-3); }
.pal-in input { flex: 1; border: 0; background: none; outline: none; font-size: 17px; color: var(--ink); min-width: 0; }
#pall { list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow-y: auto; }
.pal-g { font: 600 12px var(--f-m); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 12px 12px 6px; }
.pal-i { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.pal-i > span:not(.av) { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: baseline; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pal-i small { color: var(--ink-3); font-size: 13px; }
.pal-i.on { background: var(--acc-soft); }
.pal-i.on > .ic { color: var(--acc); }
.pal-i .dot-hot { margin-left: 0; }
.pal-e { padding: 24px 12px; color: var(--ink-2); }
.pal-f { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 20px; font-size: 13px; color: var(--ink-3); box-shadow: 0 -1px 0 var(--line); }
.pal-f kbd { margin-right: 3px; }
.dlg-sheet .more { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.more a, .more button { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: 500; border: 0; background: none; cursor: pointer; text-align: left; }
.more a:hover, .more button:hover { background: var(--bg); }
#toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 16px; background: var(--ink); color: var(--bg); padding: 12px 12px 12px 18px; border-radius: 12px; font-size: 15px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .3s var(--ease), transform .4s var(--spring); }
.toast.in { opacity: 1; transform: none; }
.tb-undo { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: color-mix(in srgb, var(--bg) 14%, transparent); color: inherit; font-weight: 600; cursor: pointer; }
.tb-undo .ic { width: 16px; height: 16px; }

/* ---------- landing ---------- */
.is-landing { background: var(--bg) var(--weave); }
.ln-nav { position: fixed; left: 0; right: 0; top: 0; z-index: 40; display: flex; align-items: center; gap: 32px; padding: 18px 48px; color: #F3EFE7; transition: background .35s, color .35s, padding .35s var(--ease); }
.ln-nav .logo { --logo-bg: #F3EFE7; --logo-fg: #16181D; }
.ln-nav.solid { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); padding: 12px 48px; }
.ln-nav.solid .logo { --logo-bg: var(--ink); --logo-fg: var(--bg); }
.ln-nav nav { display: flex; gap: 28px; }
.ln-nav nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; padding: 10px 0; }
.ln-nav nav a:hover { opacity: 1; }
.ln-r { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ln-r .btn { margin-left: 10px; }
.ln-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: #F3EFE7; background: #121315; display: flex; align-items: flex-end; }
.lh-img { position: absolute; inset: 0; }
.lh-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 50%; }
.lh-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 19, .55) 0%, rgba(14, 16, 19, .15) 30%, rgba(14, 16, 19, .55) 62%, rgba(14, 16, 19, .92) 100%), linear-gradient(90deg, rgba(14, 16, 19, .5), transparent 60%); }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.lh-in { position: relative; z-index: 2; width: 100%; padding: 0 48px 56px; }
.lh-in .eyebrow { color: rgba(243, 239, 231, .78); margin-bottom: 18px; }
.lh-h { font: 900 clamp(64px, 10.2vw, 168px)/.9 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; display: flex; flex-direction: column; }
.lh-h span { display: block; }
.lh-h .ln2 { padding-left: 8vw; color: rgba(243, 239, 231, .5); }
.lh-h .ln3 { color: #FF6A4C; }
.lh-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.lh-sub { max-width: 54ch; font-size: 19px; line-height: 1.55; color: rgba(243, 239, 231, .86); }
.lh-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lh-cta .btn-acc, .final .btn-acc { background: #F3EFE7; color: #16181D; }
.lh-cta .btn-acc:hover, .final .btn-acc:hover { background: #fff; }
.lnk-lt { color: #F3EFE7; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(243, 239, 231, .4); }
.is-landing .lh-h span { animation: rise .9s var(--ease) both; }
.is-landing .lh-h .ln2 { animation-delay: .08s; } .is-landing .lh-h .ln3 { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(40%); opacity: 0; clip-path: inset(-40% -4% 100% -4%); } to { transform: none; opacity: 1; clip-path: inset(-40% -4% -20% -4%); } }
.calm .lh-h span, .calm .ticket { animation: none !important; }
.ticket { position: absolute; z-index: 3; right: 48px; top: 120px; width: 268px; background: var(--paper); color: #16181D; padding: 20px 22px 18px; transform: rotate(2.5deg); font-family: var(--f-m); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: drop 1s .4s var(--spring) both;
  -webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
@keyframes drop { from { opacity: 0; transform: translateY(-30px) rotate(-4deg); } }
.tk-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: .1em; border-bottom: 1.5px dashed rgba(22, 24, 29, .35); padding-bottom: 10px; }
.tk-h b { font: 800 26px/1 var(--f-d); letter-spacing: 0; }
.tk-r { display: flex; flex-direction: column; font-size: 13px; margin-top: 10px; line-height: 1.5; }
.tk-st { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 600; color: #B8321D; }
.tk-st i { width: 8px; height: 8px; border-radius: 50%; background: #CF3C25; animation: pulse 2s infinite; }
.tk-big { font: 900 72px/.9 var(--f-d); margin-top: 6px; color: #CF3C25; }
.tk-big small { font: 600 16px var(--f-m); margin-left: 6px; color: #16181D; }
.tk-f { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-top: 1.5px dashed rgba(22, 24, 29, .35); padding-top: 10px; margin-top: 10px; }
.marq { overflow: hidden; background: var(--ink); color: var(--bg); padding: 18px 0; }
.marq > div { display: flex; gap: 48px; width: max-content; animation: marq 36s linear infinite; }
.marq span { font: 800 28px/1 var(--f-d); text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marq span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; }
.marq span.hot { color: #FF6A4C; }
@keyframes marq { to { transform: translateX(-50%); } }
.calm .marq > div { animation: none; }
.story { position: relative; height: 340vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-stage { position: absolute; inset: 0; background: #E9E5DC; }
[data-theme="dark"] .story-stage { background: #0f1114; }
.story-stage .tw-labels { z-index: 1; }
.story-txt { position: absolute; left: 48px; bottom: 56px; width: min(460px, calc(100% - 96px)); z-index: 3; }
.st-card { position: absolute; left: 0; bottom: 0; width: 100%; background: var(--surface); border-radius: var(--r); padding: 28px 30px; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.st-card h2 { font: 800 40px/1.06 var(--f-d); text-transform: uppercase; margin: 10px 0 12px; }
.st-card p:last-child { color: var(--ink-2); font-size: 16px; }
.story[data-s="0"] .st-card[data-i="0"], .story[data-s="1"] .st-card[data-i="1"], .story[data-s="2"] .st-card[data-i="2"] { opacity: 1; transform: none; pointer-events: auto; }
.story[data-s="1"] .st-card[data-i="1"] .eyebrow { color: var(--heat); }
.story-prog { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.story-prog i { width: 4px; height: 36px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background .3s; }
.story[data-s="0"] .story-prog i:nth-child(1), .story[data-s="1"] .story-prog i:nth-child(-n+2), .story[data-s="2"] .story-prog i { background: var(--ink); }
.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 140px 48px; max-width: 1440px; margin: 0 auto; }
.pf-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; }
.reveal { clip-path: inset(12% 0 12% 0 round 14px); opacity: .2; transition: clip-path 1.1s var(--ease), opacity .8s var(--ease); }
.reveal.in { clip-path: inset(0 0 0 0 round 14px); opacity: 1; }
.h-xl { font: 800 clamp(44px, 5.4vw, 84px)/1.04 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; }
.h-xxl { font: 900 clamp(56px, 8vw, 132px)/1.02 var(--f-d); text-transform: uppercase; }
.pf-txt .eyebrow { margin-bottom: 18px; }
.nums { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-direction: column; }
.nums li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; padding: 20px 0; box-shadow: 0 -1px 0 var(--line); }
.nums b { font: 900 64px/1 var(--f-d); }
.nums li:first-child b { color: var(--sage); }
.nums li:nth-child(2) b { color: var(--heat); }
.nums span { color: var(--ink-2); font-size: 17px; }
.agent-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 120px 48px; background: var(--surface); }
.agent-demo > * { max-width: 640px; }
.ad-txt { justify-self: end; }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 24px; max-width: 48ch; }
.ad-card { background: var(--bg); padding: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .08); transition: box-shadow .4s; }
.ad-card.ok { box-shadow: 0 30px 70px color-mix(in srgb, var(--sage) 22%, transparent); }
.ad-q { font: 600 22px/1.35 var(--f-b); margin: 18px 0; }
.ad-q em { color: var(--heat); font-style: normal; }
.ad-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--surface); }
.ad-bars { position: relative; height: 130px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; margin: 24px 0 8px; }
.ad-bars i { display: block; border-radius: 4px 4px 2px 2px; transition: height .7s var(--spring), background .4s; }
.ad-bars i.ok { background: color-mix(in srgb, var(--sage) 55%, var(--surface-2)); } .ad-bars i.warm { background: var(--warm); } .ad-bars i.hot { background: var(--heat); }
.ad-takt { position: absolute; left: 0; right: 0; bottom: 80%; border-top: 2px dashed var(--ink); }
.ad-res { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.ad-res span { color: var(--ink-2); } .ad-res b { font: 800 44px/1 var(--f-d); } .ad-res em { font-style: normal; font-weight: 700; }
.ad-card .row-act { margin-top: 18px; }
.feat, .price { padding: 140px 48px; max-width: 1440px; margin: 0 auto; }
.ft-h { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bt { position: relative; background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), clip-path 1.1s var(--ease), opacity .8s; }
.bt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent calc(var(--sx, -40%) - 20%), rgba(255, 255, 255, .22) var(--sx, -40%), transparent calc(var(--sx, -40%) + 20%)); pointer-events: none; opacity: 0; transition: opacity .3s; }
.bt:hover::after { opacity: 1; }
.bt0 { grid-column: span 7; } .bt1 { grid-column: span 5; } .bt2 { grid-column: span 5; } .bt3 { grid-column: span 7; }
.bt-shot { padding: 28px 28px 0; background: var(--surface-2); }
.bt-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; border-radius: 10px 10px 0 0; box-shadow: 0 -2px 30px rgba(0, 0, 0, .08); }
.bt-t { padding: 24px 28px 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.bt-t h3 { font: 700 20px/1.2 var(--f-b); }
.bt-t p { grid-column: 2; color: var(--ink-2); font-size: 15px; }
.bt-t .ic { color: var(--heat); }
.quote { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; padding: 80px 48px 140px; max-width: 1440px; margin: 0 auto; align-items: center; }
.q-img { grid-row: span 2; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.q-img img { width: 100%; height: 100%; object-fit: cover; }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; font: 600 clamp(24px, 2.5vw, 36px)/1.3 var(--f-b); letter-spacing: -.015em; }
.quote .q2 blockquote { font-size: 20px; font-weight: 500; color: var(--ink-2); }
.quote figcaption { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.quote figcaption b { display: block; } .quote figcaption small { color: var(--ink-3); font-size: 14px; }
.quote .q2 { padding-top: 32px; box-shadow: 0 -1px 0 var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-c { position: relative; background: var(--surface); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-c.best { background: var(--ink); color: var(--bg); }
.plan-c.best .btn-acc { background: var(--bg); color: var(--ink); }
.plan-c h3 { font: 700 20px var(--f-b); }
.pc-p b { display: block; font: 900 56px/1 var(--f-d); }
.pc-p span { color: inherit; opacity: .7; font-size: 15px; }
.plan-c ul { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 12px; }
.plan-c li { display: flex; gap: 10px; font-size: 15px; }
.plan-c li .ic { width: 18px; height: 18px; color: var(--sage); margin-top: 3px; }
.plan-c.best li .ic { color: #7CC29C; }
.pc-tag { position: absolute; top: 24px; right: 24px; font: 600 12px var(--f-m); text-transform: uppercase; letter-spacing: .05em; color: #FF8A6E; }
.final { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; color: #F3EFE7; text-align: center; background: #121315; }
.final img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.final::after { content: ''; position: absolute; inset: 0; background: rgba(14, 16, 19, .6); }
.final > div { position: relative; z-index: 1; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.ln-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 48px 56px; background: var(--ink); color: var(--bg); }
.ln-foot .logo { --logo-bg: var(--bg); --logo-fg: var(--ink); }
.ln-foot p { margin-top: 14px; color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 56ch; }
.ln-foot .sm { font-size: 14px; }
.ln-foot .lnk { color: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .out-card, .ag-card { grid-column: span 12; }
  .lines-card { grid-column: span 12; }
  .lines-card { grid-row: auto; }
  .q-mini, .due-mini { grid-column: span 6; }
  .tw-wrap { grid-template-columns: 1fr; }
  .tw-side { position: static; max-height: none; }
  .g-agent { grid-template-columns: 1fr; }
  .orow { grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) 120px; }
  .orow .or-s, .orow .chip { display: none; }
  .smm { grid-template-columns: repeat(2, 1fr); }
  .agent-demo, .proof { gap: 40px; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sb { display: none; }
  .tb { padding: 10px 16px; gap: 8px; }
  .tb .kbar { flex: 1; }
  .tb .kbar kbd, .tb-r .ib[data-act="calm"] { display: none; }
  .main { padding: 4px 16px 112px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; text-decoration: none; font-size: 12px; font-weight: 600; color: var(--ink-3); border: 0; background: none; border-radius: 10px; cursor: pointer; }
  .tab.on { color: var(--acc); }
  .tab .ic { width: 22px; height: 22px; }
  .ln-nav { padding: 14px 20px; gap: 12px; } .ln-nav.solid { padding: 10px 20px; }
  .ln-nav nav { display: none; }
  .ln-r .ib[data-act="calm"] { display: none; }
  .ticket { right: 20px; top: 92px; width: 210px; padding: 16px 18px 14px; }
  .tk-big { font-size: 54px; }
  .lh-in { padding: 0 20px 36px; }
  .proof, .agent-demo, .quote { grid-template-columns: 1fr; padding: 96px 20px; }
  .ad-txt { justify-self: start; }
  .q-img { grid-row: auto; aspect-ratio: 16 / 10; }
  .feat, .price { padding: 96px 20px; }
  .bt0, .bt1, .bt2, .bt3 { grid-column: span 12; }
  .plans { grid-template-columns: 1fr; }
  .ln-foot { grid-template-columns: 1fr; padding: 48px 20px; }
  .story-txt { left: 20px; bottom: 28px; width: calc(100% - 40px); }
  .story-prog { right: 16px; }
  .od { grid-template-columns: 1fr; gap: 24px; }
  .od-ph { aspect-ratio: 16 / 11; }
  .g-q, .g-rep, .g-pd { grid-template-columns: 1fr; }
  .empty { grid-template-columns: 1fr; }
  .empty img { min-height: 200px; max-height: 240px; }
  .empty > div { padding: 0 24px 28px; }
}
@media (max-width: 640px) {
  .vh h1 { font-size: 36px; }
  .card { padding: 22px; }
  .hero-strip { height: 200px; }
  .hs-in { left: 20px; bottom: 64px; right: 20px; } .hs-in h1 { font-size: 36px; }
  .hs-pill { left: 20px; right: auto; bottom: 18px; font-size: 13px; padding: 8px 12px; }
  .q-mini, .due-mini { grid-column: span 12; }
  .big b { font-size: 60px; }
  .hbars { gap: 6px; height: 180px; }
  .hb-bar b { font-size: 11px; top: 6px; }
  .hb > span { font-size: 11px; }
  .lrow { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .lrow .lr-p, .lrow .lr-e { display: none; }
  .lrow .chip { font-size: 12px; padding: 6px 10px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .tb-live small { display: none; }
  .tw-stage { height: 58vh; min-height: 380px; }
  .tw-hint { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics .mt:last-child { grid-column: span 2; }
  .lbars { gap: 4px; height: 200px; }
  .lb-bar b { font-size: 11px; }
  .step { grid-template-columns: auto 1fr; padding: 14px; }
  .step > .av { display: none; }
  .orow { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 12px 8px; }
  .orow .ph { grid-row: span 3; width: 64px; height: 64px; }
  .orow .or-p, .orow .or-d { grid-column: 2; }
  .or-d { display: flex; gap: 8px; align-items: baseline; } .or-d b { font-size: 14px; }
  .olist { padding: 6px; }
  .search { max-width: none; }
  .fg2, .fg3 { grid-template-columns: 1fr; }
  .facts.f4 { grid-template-columns: 1fr 1fr; }
  .od-h { font-size: 40px; }
  .seq li { grid-template-columns: 32px minmax(0, 1fr) 64px; }
  .seq .sq-ops, .seq .num { display: none; }
  .q-hero { grid-template-columns: 1fr; padding: 16px; } .q-hero img { width: 100%; height: 160px; }
  .hbar li { grid-template-columns: 110px 1fr 32px; }
  .drow { grid-template-columns: 64px 1fr; padding: 14px; gap: 14px; }
  .drow .dth.th64 { width: 64px; height: 64px; }
  .dr-a { grid-column: 1 / -1; justify-content: flex-end; }
  .smm { grid-template-columns: 1fr; }
  .pd-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lh-h { font-size: 15.5vw; }
  .lh-h .ln2 { padding-left: 0; }
  .lh-sub { font-size: 17px; }
  .ticket { display: none; }
  .marq span { font-size: 22px; }
  .nums li { grid-template-columns: 1fr; gap: 4px; }
  .st-card { padding: 22px; } .st-card h2 { font-size: 32px; }
  .story-prog { display: none; }
  .mdl { padding: 8vh 12px 12px; }
  .mdl-card { padding: 22px; }
  .pal-f { display: none; }
  .ln-r .btn { padding: 0 14px; font-size: 14px; margin-left: 4px; }
  .ln-nav .brand span { display: none; }
  .ba b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .reveal { opacity: 1; transform: none; clip-path: none; }
}

/* overflow guards */
html, body { overflow-x: clip; }
.g-today, .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.kbar, .vh > div, .vh-r, .toolbar > *, .card, .tw-wrap > *, .g-agent > *, .od > *, .g-q > *, .g-rep > *, .g-pd > * { min-width: 0; }
.vh-r { max-width: 100%; }
@media (max-width: 900px) {
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg-b { flex: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .seg { align-self: flex-start; }
}
@media (max-width: 640px) {
  .lh-h { font-size: 12.6vw; }
  .ag-h { font-size: 21px; }
  .plan .ag-h { font-size: 22px; }
  .tb .kbar span { font-size: 14px; }
  .step p { font-size: 15px; }
  .pill { white-space: normal; }
}
@media (max-width: 640px) {
  .lh-h { font-size: 50px; }
  .lh-img::after { background: linear-gradient(180deg, rgba(14, 16, 19, .6) 0%, rgba(14, 16, 19, .45) 35%, rgba(14, 16, 19, .8) 60%, rgba(14, 16, 19, .95) 100%); }
  .hs-in .eyebrow { font-size: 12px; }
  .hs-in h1 { font-size: 30px; }
  .hero-strip::after { background: linear-gradient(0deg, rgba(14, 16, 19, .85), rgba(14, 16, 19, .3)); }
}
.lh-h .ln2 { color: rgba(243, 239, 231, .62); }
.lh-img img { filter: brightness(.52) contrast(1.08) saturate(.8); }
.hero-strip img { filter: brightness(.72) saturate(.85); }
.final img { filter: brightness(.7) saturate(.8); }
