/* Kindue · customers dashboard concept — Larpcore Labs
   Desktop: a 1440×1000 design canvas scaled to fit (html:not(.fluid)).
   Phones/tablets: the same DOM in a fluid stacked layout (html.fluid). */

@font-face {
  font-family: 'Inter Tight';
  src: url(../fonts/inter-tight-latin-wght-normal.woff2) format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  src: url(../fonts/inter-tight-latin-ext-wght-normal.woff2) format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}

:root {
  --stone: #EFEDE9;
  --stone-2: #E9E7E3;
  --card: #FDFDFC;
  --ink: #151514;
  --ink-2: #8B8985;
  --ink-3: #ADABA7;
  --line: #F1F0ED;
  --accent: #FF7B43;
  --accent-text: #E5703F;
  --lav: #BDB8E8;
  --black: #1A1A1A;
  --zone-a: #FDF4F0;
  --zone-b: #FFEDE3;
  --warm-bg: #FCE8DC;
  --warm: #DE6E3E;
  --neutral-bg: #ECEAE6;
  --neutral: #7B7874;
  --hover: #EFEDE9;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .03), 0 8px 24px rgba(0, 0, 0, .035);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --s: .78;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #6F6E92;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum' 0;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
:focus { outline: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
:focus-visible { outline: 2px solid #5B57A8; outline-offset: 2px; }

/* ───────────── Stage ───────────── */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 24px 14px;
  isolation: isolate;
}
.stage-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 48% at 96% 78%, rgba(236, 150, 98, .95), rgba(236, 150, 98, 0) 72%),
    radial-gradient(40% 36% at 78% 102%, rgba(224, 128, 84, .8), rgba(224, 128, 84, 0) 70%),
    radial-gradient(50% 46% at 4% 100%, rgba(58, 52, 64, .95), rgba(58, 52, 64, 0) 72%),
    radial-gradient(42% 40% at -4% 52%, rgba(160, 122, 120, .85), rgba(160, 122, 120, 0) 70%),
    radial-gradient(60% 40% at 50% -6%, rgba(98, 100, 140, .9), rgba(98, 100, 140, 0) 70%),
    linear-gradient(180deg, #6E6F95 0%, #7E7896 34%, #A0848A 60%, #8E6A68 80%, #4A3E48 100%);
}
.stage-bg::after {
  content: ''; position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.intro .bezel { opacity: 0; transform: translateY(26px) scale(.985); }
.frame-box { position: relative; width: var(--fw, 1120px); height: var(--fh, 780px); flex: none; }
.frame { position: absolute; left: 0; top: 0; width: 1456px; height: 1016px; transform: scale(var(--s)); transform-origin: 0 0; }
.bezel {
  width: 100%; height: 100%; padding: 8px; border-radius: 37px;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 40px 90px -20px rgba(36, 26, 44, .45), 0 10px 30px rgba(36, 26, 44, .12), inset 0 0 0 1px rgba(255, 255, 255, .28);
  transform-origin: 50% 50%;
}
.screen {
  position: relative; width: 1440px; height: 1000px; border-radius: 29px; overflow: hidden;
  background: var(--stone); isolation: isolate;
  -webkit-user-select: none; user-select: none;
}
.layer { position: absolute; inset: 0; }
.layer--app { z-index: 1; }

.ghost { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; opacity: 0; will-change: transform; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }

.toast {
  position: absolute; left: 50%; bottom: 26px; z-index: 8; transform: translate(-50%, 16px);
  padding: 11px 18px; border-radius: 999px; background: #1B1A1D; color: #fff; font-size: 14px; letter-spacing: -.005em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity .22s ease, transform .32s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.stage-foot {
  width: var(--fw, 1120px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .72);
}
.foot-note { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 1px; }
.foot-note:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.foot-note:active { opacity: .7; }
.foot-hint { flex: 1; text-align: center; opacity: .8; transition: opacity .22s ease; }
.foot-hint.is-out { opacity: 0; transition-duration: .12s; }
.replay {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 13.5px;
  transition: background .15s ease, transform .15s ease;
}
.replay:hover { background: rgba(255, 255, 255, .26); }
.replay:active { transform: scale(.97); }

/* ───────────── Kindue app ───────────── */

.app { position: absolute; inset: 0; background: linear-gradient(180deg, var(--stone) 0%, #EBE9E5 100%); font-size: 15px; letter-spacing: -.01em; }

.card { position: absolute; background: var(--card); border-radius: 23px; box-shadow: var(--shadow-card); }

.press { transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.press:active { transform: scale(.97); }

/* top bar */
.tb { position: absolute; top: 31px; left: 36px; right: 37px; height: 44px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19.5px; font-weight: 520; letter-spacing: -.025em; }
.brand-mark { width: 26px; height: 26px; }
.nav {
  position: absolute; left: 420px; top: 0; height: 44px; padding: 4px; display: flex; align-items: center;
  border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 18px rgba(0, 0, 0, .04);
}
.nav-pill { position: absolute; left: 0; top: 4px; height: 36px; width: 0; border-radius: 999px; background: #19181B; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); will-change: transform, width; }
.nav-item {
  position: relative; z-index: 1; height: 36px; padding: 0 17px 0 16px; display: flex; align-items: center; gap: 8px;
  border-radius: 999px; color: #6B6A68; font-size: 14.5px; white-space: nowrap; transition: color .25s ease;
}
.nav-item svg { width: 15px; height: 15px; flex: none; }
.nav-item:hover { color: #2A2A2A; }
.nav-item.is-on { color: #fff; }

.tb-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search {
  height: 44px; width: 152px; padding: 0 7px 0 16px; display: flex; align-items: center; gap: 8px; border-radius: 999px;
  background: var(--card); color: var(--ink-3); font-size: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 18px rgba(0, 0, 0, .04);
}
.search:hover { color: var(--ink-2); }
.search svg { width: 14px; height: 14px; }
.kbd { margin-left: auto; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 7px; background: #EFEDEA; color: #9C9A96; font-size: 11.5px; font-weight: 500; }
.team { display: flex; padding-left: 4px; }
.team .av { width: 34px; height: 34px; margin-left: -7px; box-shadow: 0 0 0 2.5px var(--stone); }
.bell {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 18px rgba(0, 0, 0, .04);
}
.bell svg { width: 16px; height: 16px; }
.bell::after { content: ''; position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }
.bell:hover, .search:hover { background: #fff; }

.av { position: relative; flex: none; border-radius: 50%; background: #E3DED7; }
.av svg, .av img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }

/* views */
.view { position: absolute; inset: 0; top: 90px; }
/* the shown view is its own layer: the tab cross-fade is compositor-only (opacity, not transform: a transform
   would trap the invoice sheet, which is position: fixed on phones) */
.view:not(.is-off) { will-change: opacity; }
.view.is-off { content-visibility: hidden; pointer-events: none; }

/* title row */
.head { position: absolute; left: 36px; right: 37px; top: 19px; height: 70px; }
.overline { position: absolute; left: 1px; top: 3px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: opacity .24s var(--ease), transform .3s var(--ease); }
.overline.is-out { opacity: 0; transform: translateY(-3px); transition: opacity .12s ease-in, transform .12s ease-in; }
.title { position: absolute; left: -1px; top: 31px; margin: 0; font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.head-right { position: absolute; right: 0; top: 33px; display: flex; align-items: center; gap: 13px; }
.seg { position: relative; height: 42px; padding: 4px; display: flex; align-items: center; border-radius: 999px; background: #E6E2DD; }
.seg-pill { position: absolute; left: 0; top: 4px; height: 34px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); will-change: transform, width; }
.seg-item { position: relative; z-index: 1; height: 34px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-radius: 999px; color: #8D8A86; font-size: 14px; white-space: nowrap; transition: color .2s ease; }
.seg-item b { font-weight: 500; }
.seg-item small { font-size: 11.5px; color: #B3B0AB; transition: color .2s ease; }
.seg-item:hover { color: #3D3C3A; }
.seg-item.is-on { color: var(--ink); }
.seg-item.is-on small { color: #A9A6A1; }
.seg-item { transition: color .2s ease, transform .15s ease; }
.seg-item:active { transform: scale(.96); }
.btn-black {
  height: 42px; padding: 0 19px 0 16px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px;
  background: #19181B; color: #fff; font-size: 14.5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.btn-black svg { width: 14px; height: 14px; }
.btn-black:hover { background: #2C2B2F; }
.btn-black:disabled { background: #DCD9D4; color: #9A9792; box-shadow: none; cursor: default; }
.press:disabled:active { transform: none; }

/* map card */
.map-card { left: 36px; top: 121px; width: 947px; height: 391px; contain: layout style; }
.card-title { margin: 0; font-size: 20.5px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.map-card .card-title { position: absolute; left: 25px; top: 22px; }
.card-sub { position: absolute; left: 25px; top: 50px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.legend { position: absolute; right: 23px; top: 27px; display: flex; gap: 17px; font-size: 13px; color: #5E5C59; }
.legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.c-ontime { --c: var(--lav); }
.c-late { --c: var(--black); }
.c-risk { --c: var(--accent); }
.legend i { background: var(--c); }

.plot { position: absolute; left: 69px; top: 92px; width: 845px; height: 251px; }
.grid-y { position: absolute; left: -13px; right: 0; height: 1px; background: #F3F2EF; }
.ylab { position: absolute; left: -44px; transform: translateY(-50%); font-size: 12px; color: var(--ink-3); }
.xlab { position: absolute; top: calc(100% + 11px); transform: translateX(-50%); font-size: 12px; color: var(--ink-3); }
.zone { position: absolute; left: 75%; right: 0; top: 0; bottom: 0; border-radius: 16px; background: linear-gradient(90deg, var(--zone-a), var(--zone-b)); }
.guide { position: absolute; top: -8px; bottom: 0; width: 1px; background: repeating-linear-gradient(to bottom, #CFCCC8 0 3px, transparent 3px 6px); }
.guide-tag {
  position: absolute; top: -30px; transform: translateX(-50%); height: 22px; padding: 0 9px; display: flex; align-items: center;
  border-radius: 999px; background: #F2F0ED; color: #8E8B87; font-size: 11.5px; white-space: nowrap;
}
.dots { position: absolute; inset: 0; }
.dot {
  position: absolute; width: var(--hit, 22px); height: var(--hit, 22px); margin: calc(var(--hit, 22px) / -2) 0 0 calc(var(--hit, 22px) / -2);
  border-radius: 50%; z-index: 1;
}
.dot.is-hot { z-index: 5; }
.dot.is-off { pointer-events: none; }
.bub { position: absolute; left: 50%; top: 50%; width: var(--S, 34px); height: var(--S, 34px); margin: calc(var(--S, 34px) / -2) 0 0 calc(var(--S, 34px) / -2); border-radius: 50%; will-change: transform; }
.bub > * { position: absolute; inset: 0; border-radius: 50%; }
.bub .ring { inset: -2px; background: #fff; opacity: 0; visibility: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.bub .fill { background: var(--c); }
.bub .face { opacity: 0; visibility: hidden; overflow: hidden; }
.bub .face svg, .bub .face img { width: 100%; height: 100%; }
.bub .tint { background: var(--c); opacity: 0; visibility: hidden; }

.tip {
  position: absolute; z-index: 6; height: 32px; padding: 0 13px; display: flex; align-items: center; gap: 5px; border-radius: 999px;
  background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04); font-size: 13.5px; white-space: nowrap; pointer-events: none;
}
.tip b { font-weight: 500; }
.tip span { color: var(--ink-2); }
.map-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; color: var(--ink-3); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.map-empty.is-on { opacity: 1; }

/* pulse (dark photo) card */
.pulse-card { left: 1003px; top: 121px; width: 400px; height: 391px; overflow: hidden; contain: layout paint style; background: #2B4651; color: #fff; isolation: isolate; }
.pulse-bg { position: absolute; inset: -6%; width: 112%; height: 112%; z-index: -2; will-change: transform; }
.pulse-title { position: absolute; left: 24px; top: 31px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.pulse-open {
  position: absolute; right: 23px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .17); color: rgba(255, 255, 255, .88);
}
.pulse-open:hover { background: rgba(255, 255, 255, .25); }
.pulse-open svg { width: 13px; height: 13px; }
.matrix { position: absolute; left: 26px; top: 80px; display: flex; gap: 12px; }
.digit { display: grid; grid-template-columns: repeat(5, 8.5px); grid-auto-rows: 8.5px; gap: 3.6px; }
.digit i { display: block; width: 8.5px; height: 8.5px; border-radius: 50%; background: rgba(255, 255, 255, .17); }
.pulse-note { position: absolute; left: 24px; top: 186px; font-size: 14px; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.bars { position: absolute; left: 0; right: 0; bottom: 45px; height: 0; }
.bar { position: absolute; bottom: 0; width: 44px; margin-left: -22px; height: 120px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-fill {
  position: relative; width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.bar-fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #FAFAFD; opacity: var(--solid, 0); }
.bar-lab { position: absolute; top: calc(100% + 9px); font-size: 12px; color: rgba(255, 255, 255, .72); white-space: nowrap; transition: color .2s ease; }
.bar.is-sel .bar-lab { color: #fff; }
.bar-fill { transition: transform .15s ease; }
.bar:active .bar-fill { transform: scale(.94); }
.bar-tip {
  position: absolute; bottom: calc(var(--h, 26px) + 10px); left: 50%; transform: translate(-50%, 4px); opacity: 0; pointer-events: none;
  padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1A1A1A; font-size: 12px; white-space: nowrap;
  transition: opacity .16s ease, transform .22s var(--ease);
}
.bar.is-tip .bar-tip { opacity: 1; transform: translate(-50%, 0); }

/* table card */
.table-card { left: 36px; top: 534px; width: 1367px; height: 338px; overflow: hidden; contain: layout paint style; }
.tc-head { position: absolute; left: 28px; right: 30px; top: 0; height: 66px; display: flex; align-items: center; }
.tc-head .card-title { margin-top: -3px; }
.sort-btn { margin-left: 13px; margin-top: -1px; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ink-2); border-radius: 6px; padding: 2px 4px 2px 2px; }
.sort-btn svg { width: 12px; height: 12px; opacity: 0; transform: translateY(-1px); transition: opacity .15s ease; }
.sort-btn:hover { color: #4A4946; }
.sort-btn { transition: color .15s ease, transform .15s ease; }
.sort-btn:active { transform: scale(.97); }
.sort-btn:hover svg, .sort-btn:focus-visible svg { opacity: 1; }
.find {
  margin-left: auto; position: relative; width: 142px; height: 36px; border-radius: 999px; background: #EFEDEA; color: var(--ink-2);
  transition: width .35s var(--ease), background-color .2s ease, box-shadow .2s ease;
}
.find svg { position: absolute; left: 13px; top: 11px; width: 14px; height: 14px; pointer-events: none; }
.find input { width: 100%; height: 100%; border: 0; background: none; padding: 0 12px 0 33px; font-size: 13.5px; border-radius: inherit; }
.find input::placeholder { color: #9A9894; }
.find input:focus-visible { outline: none; }
.find:focus-within { width: 220px; background: #fff; box-shadow: 0 0 0 1px #E2DFDA, 0 4px 14px rgba(0, 0, 0, .05); }
.tc-rule { position: absolute; left: 18px; right: 18px; top: 66px; height: 1px; background: var(--line); }
.tc-cols, .row { display: grid; grid-template-columns: 327px 163px 165px 238px 150px 229px 1fr; padding-left: 28px; align-items: center; }
.tc-cols { position: absolute; left: 0; right: 0; top: 72px; height: 18px; font-size: 12.5px; color: #A9A7A3; }
.tc-body { position: absolute; left: 0; right: 0; top: 95px; height: 240px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; will-change: scroll-position; }
.tc-body::-webkit-scrollbar { display: none; }
.row { position: relative; height: 60px; overflow: hidden; cursor: default; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.row.is-in { animation: rowIn .36s cubic-bezier(.22, .8, .24, 1) var(--d, 0s) both; }
.row-bg { position: absolute; left: 15px; right: 15px; top: 1px; bottom: 1px; border-radius: 16px; background: var(--hover); opacity: 0; pointer-events: none; }
.row > *:not(.row-bg) { position: relative; }
.c-cust { display: flex; align-items: center; gap: 13px; min-width: 0; }
.c-cust .av { width: 34px; height: 34px; }
.names { position: relative; display: flex; flex-direction: column; min-width: 0; }
.names b { font-weight: 500; font-size: 15px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.names span { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; }
.c-open { font-size: 15px; font-variant-numeric: tabular-nums; }
.c-days { font-size: 15px; font-variant-numeric: tabular-nums; }
.c-days.is-risk { color: var(--accent-text); }
.rel { display: flex; gap: 4.2px; }
.rel i { width: 8.6px; height: 8.6px; border-radius: 50%; display: block; background: #FDFDFC; box-shadow: inset 0 0 0 1px #E1E0DB; }
.rel i.on { background: var(--black); box-shadow: none; }
.rel.is-risk i.on { background: var(--accent); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; }
.chip--warm { background: var(--warm-bg); color: var(--warm); }
.chip--neutral { background: var(--neutral-bg); color: var(--neutral); }
.chip--firm { background: #1A1A1A; color: #fff; }
.st { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; white-space: nowrap; }
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--black); flex: none; }
.st-dot.is-risk { background: var(--accent); }
.st-dot.is-soft { background: var(--lav); }
.c-go { color: #B9B7B2; transition: transform .25s var(--ease), color .2s ease; justify-self: start; width: 40px; height: 40px; margin: -17px 0 -13px -13px; display: grid; place-items: center; border-radius: 50%; }
.c-go:hover { color: #3D3C3A; }
.c-go:active { transform: scale(.9); }
.c-go i { display: block; width: 7px; height: 7px; margin-left: -3px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.row.is-hot .c-go { color: #6F6D69; transform: translateX(3px); }
.tc-empty { height: 120px; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; }
.tc-more { display: none; }

/* ───────────── Fluid layout (phones, tablets) ───────────── */

html.fluid body { background: #6E6F95; }
html.fluid .stage { display: block; padding: 10px 10px 22px; min-height: 0; }

html.fluid .frame-box { width: auto; height: auto; }
html.fluid .frame { position: relative; width: auto; height: auto; transform: none; }
html.fluid .bezel { padding: 5px; border-radius: 27px; box-shadow: 0 16px 36px -18px rgba(36, 26, 44, .4), inset 0 0 0 1px rgba(255, 255, 255, .28); }
html.fluid .screen { width: auto; height: auto; border-radius: 22px; }
html.fluid .layer--app { position: relative; }

html.fluid .stage-foot { width: auto; margin: 14px 4px 0; flex-wrap: wrap; font-size: 12.5px; }
html.fluid .foot-hint { display: none; }
html.fluid .toast { position: fixed; bottom: 22px; font-size: 13.5px; white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 40px); }

html.fluid .app { position: relative; inset: auto; padding: 14px 14px 16px; background: var(--stone); }
html.fluid .tb { position: relative; inset: auto; height: auto; display: flex; flex-wrap: wrap; row-gap: 14px; }
html.fluid .brand { font-size: 18px; }
html.fluid .brand-mark { width: 24px; height: 24px; }
html.fluid .tb-right { gap: 8px; }
html.fluid .search { width: 40px; height: 40px; padding: 0; justify-content: center; }
html.fluid .search span, html.fluid .search .kbd { display: none; }
html.fluid .bell { width: 40px; height: 40px; }
html.fluid .bell::after { top: 10px; right: 11px; }
html.fluid .team .av { width: 30px; height: 30px; }
html.fluid .nav { position: relative; left: auto; order: 3; width: 100%; height: 46px; justify-content: space-between; }
html.fluid .nav-pill { height: 38px; }
html.fluid .nav-item { height: 38px; flex: 1 1 0; justify-content: center; padding: 0 10px; gap: 7px; font-size: 14px; min-width: 0; }
html.fluid .view { position: relative; inset: auto; top: auto; margin-top: 22px; }
html.fluid .view.is-off { position: absolute; left: 14px; right: 14px; top: 0; }
html.fluid .head { position: relative; inset: auto; height: auto; display: flex; flex-direction: column; }
html.fluid .overline { position: static; font-size: 13px; white-space: normal; text-wrap: balance; }
html.fluid .title { position: static; margin-top: 8px; font-size: 38px; }
html.fluid .head-right { position: static; margin-top: 16px; gap: 8px; }
html.fluid .seg { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
html.fluid .seg::-webkit-scrollbar { display: none; }
html.fluid .seg-item { padding: 0 11px; font-size: 13.5px; }
html.fluid .btn-black { flex: none; padding: 0 16px 0 14px; }
html.fluid .card { position: relative; inset: auto; width: auto; }
html.fluid .main { margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
html.fluid .map-card { height: 352px; }
html.fluid .map-card .card-title { left: 18px; top: 18px; font-size: 19px; }
html.fluid .card-sub { left: 18px; top: 44px; font-size: 12.5px; white-space: normal; right: 18px; line-height: 1.35; }
html.fluid .legend { left: 18px; right: auto; top: 84px; gap: 13px; font-size: 12px; }
html.fluid .plot { left: 50px; right: 18px; width: auto; top: 150px; height: auto; bottom: 46px; }
html.fluid .ylab { left: -36px; font-size: 11px; }
html.fluid .xlab { font-size: 11px; }
html.fluid .guide-tag { font-size: 11px; height: 20px; padding: 0 7px; top: -27px; }
html.fluid .tip { height: 30px; font-size: 13px; padding: 0 11px; }
html.fluid .pulse-card { height: 340px; }
html.fluid .pulse-title { left: 20px; top: 24px; }
html.fluid .pulse-open { right: 18px; top: 16px; }
html.fluid .matrix { left: 22px; top: 70px; }
html.fluid .pulse-note { left: 20px; top: 172px; white-space: normal; right: 20px; }
html.fluid .table-card { height: auto; margin-top: 12px; padding-bottom: 8px; overflow: visible; }
html.fluid .tc-head { position: relative; left: auto; right: auto; padding: 0 18px; flex-wrap: wrap; height: auto; min-height: 64px; row-gap: 10px; padding-top: 16px; padding-bottom: 12px; }
html.fluid .tc-head .card-title { margin: 0; }
html.fluid .find { order: 3; width: 100%; margin-left: 0; }
html.fluid .find:focus-within { width: 100%; }
html.fluid .sort-btn svg { opacity: 1; }
html.fluid .tc-rule { position: relative; left: auto; right: auto; top: auto; margin: 0 14px; }
html.fluid .tc-cols { display: none; }
html.fluid .tc-body { position: relative; top: auto; height: auto; overflow: visible; padding-top: 6px; }
html.fluid .row {
  grid-template-columns: 46px minmax(0, 1fr) auto 22px; grid-template-areas: 'av name open go' 'av st days go';
  padding: 0 14px 0 20px; height: 64px; row-gap: 3px; align-content: center;
}
html.fluid .row-bg { left: 8px; right: 8px; }
html.fluid .tc-body .row { content-visibility: auto; contain-intrinsic-size: auto 64px; }
html.fluid .c-cust { display: contents; }
html.fluid .c-cust .av { grid-area: av; }
html.fluid .names { grid-area: name; }
html.fluid .names span { display: none; }
html.fluid .c-open { grid-area: open; text-align: right; font-size: 14.5px; }
html.fluid .c-days { grid-area: days; text-align: right; font-size: 12.5px; color: var(--ink-2); }
html.fluid .c-days.is-risk { color: var(--accent-text); }
html.fluid .c-rel, html.fluid .c-tone { display: none; }
html.fluid .c-status { grid-area: st; min-width: 0; }
html.fluid .st { font-size: 12.5px; color: #5E5C59; gap: 7px; }
html.fluid .st-dot { width: 6px; height: 6px; }
html.fluid .c-go { grid-area: go; justify-self: center; margin: -9px; }
html.fluid .tc-more {
  display: flex; margin: 6px auto 4px; height: 40px; padding: 0 16px; align-items: center; border-radius: 999px;
  background: #EFEDEA; color: #4A4946; font-size: 13.5px; transition: background-color .15s ease, transform .15s ease;
}
html.fluid .tc-more:hover { background: #E7E4E0; }
html.fluid .tc-more:active { transform: scale(.97); }
html.fluid .tc-more[hidden] { display: none; }

@media (min-width: 640px) {
  html.fluid .stage { padding: 16px 18px 26px; }
  html.fluid .app { padding: 18px 20px 20px; }
  html.fluid .row { grid-template-columns: 46px minmax(0, 1fr) 110px 22px; }
}
@media (min-width: 760px) {
  html.fluid .main { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
  html.fluid .map-card, html.fluid .pulse-card { height: 380px; }
  html.fluid .legend { left: auto; right: 20px; top: 22px; }
  html.fluid .card-sub { right: auto; white-space: nowrap; }
  html.fluid .plot { top: 112px; }
  html.fluid .head { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
  html.fluid .head > div:first-child { display: flex; flex-direction: column; }
  html.fluid .head-right { margin-top: 12px; }
  html.fluid .seg { flex: none; }
  html.fluid .nav { width: auto; order: 0; margin: 0 auto; }
  html.fluid .nav-item { flex: none; padding: 0 14px; }
  html.fluid .tc-cols { display: grid; position: relative; top: auto; padding: 8px 0 0; grid-template-columns: minmax(0, 1.6fr) 1fr .8fr 1fr 1.2fr 30px; padding-left: 24px; height: 28px; }
  html.fluid .tc-cols span:nth-child(4) { display: none; }
  html.fluid .row { grid-template-columns: minmax(0, 1.6fr) 1fr .8fr 1fr 1.2fr 30px; grid-template-areas: none; padding: 0 0 0 24px; height: 60px; }
  html.fluid .c-cust { display: flex; }
  html.fluid .c-cust .av, html.fluid .names, html.fluid .c-open, html.fluid .c-days, html.fluid .c-status, html.fluid .c-go { grid-area: auto; }
  html.fluid .names span { display: block; }
  html.fluid .c-open, html.fluid .c-days { text-align: left; font-size: 14.5px; color: var(--ink); }
  html.fluid .c-tone { display: block; }
  html.fluid .c-go { justify-self: start; }
  html.fluid .tc-head { flex-wrap: nowrap; }
  html.fluid .find { order: 0; width: 160px; margin-left: auto; }
  html.fluid .find:focus-within { width: 220px; }
}
@media (max-width: 759px) {
  html.fluid .seg { height: 48px; }
  html.fluid .seg-pill { height: 40px; }
  html.fluid .seg-item { height: 40px; }
  html.fluid .nav { height: 48px; }
  html.fluid .nav-pill { height: 40px; }
  html.fluid .nav-item { height: 40px; }
  html.fluid .find { height: 40px; }
  html.fluid .find svg { top: 13px; }
  html.fluid .pulse-open { width: 40px; height: 40px; }
  html.fluid .sort-btn { min-height: 40px; }
  html.fluid .foot-note { display: inline-flex; align-items: center; min-height: 40px; border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
  html.fluid .replay { height: 40px; }
  html.fluid .head-right .btn-black { position: absolute; right: 0; top: 22px; }
  html.fluid .seg { width: 100%; justify-content: space-between; }
  html.fluid .seg-item { padding: 0 10px; gap: 5px; }
}
@media (max-width: 420px) {
  html.fluid .nav-item span { display: none; }
  html.fluid .nav-item.is-on span { display: inline; }
  html.fluid .nav-item { flex: 0 1 auto; padding: 0 13px; }
  html.fluid .nav-item.is-on { flex: 1 1 auto; }
  html.fluid .btn-black span { display: none; }
  html.fluid .btn-black { width: 42px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
