/* Orbitrix CRM demo — styles */
:root {
  --bg: #F3F5FA; --card: #FFFFFF; --ink: #0D1324; --ink2: #475069; --ink3: #8790A8;
  --line: #E4E7EF; --line2: #EEF0F6;
  --brand: #5B4BF5; --brand2: #8B5CF6;
  --navy: #0A0F1F;
  --red: #E5484D; --red-bg: #FFEDED; --amber: #B96404; --amber-bg: #FFF3DD;
  --green: #119C4F; --green-bg: #E4F6EB; --slate-bg: #F0F2F7;
  --r: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.05);
  --shadow-lg: 0 24px 60px rgba(10,15,31,.24);
  --ease: cubic-bezier(.2,.8,.2,1);
  --sb: 256px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
}
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink3); }
.small { font-size: 12.5px; }
.t-red { color: var(--red); } .t-green { color: var(--green); } .t-amber { color: var(--amber); }
.show-m, .lbl-short, .tb-logo { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--sb) 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none;
  background: radial-gradient(120% 50% at 0% 0%, #1D2152 0%, transparent 60%), var(--navy);
  color: #C9CEE3; display: flex; flex-direction: column; padding: 20px 14px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.logo svg, .tb-logo svg { width: 34px; height: 34px; display: block; }
.brand-name { color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand-name span, .grad { background: linear-gradient(90deg, #A99CFF, #5EE7F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: 11.5px; color: #7F88A8; }
.biz { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.biz-av { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #C98A2B, #7B4A12); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; flex: none; }
.biz-name { color: #fff; font-weight: 600; font-size: 13px; }
.biz-sub { font-size: 11.5px; color: #7F88A8; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #AEB5CE; font-weight: 500; transition: background .2s, color .2s; position: relative; width: 100%; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(124,108,255,.3), rgba(124,108,255,.06)); color: #fff; }
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #8B7CFF; }
.nav-badge, .nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.nav-badge { background: var(--red); color: #fff; }
.nav-count { background: rgba(255,255,255,.12); color: #fff; }
.nav-badge[hidden], .nav-count[hidden] { display: none; }
.nav-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #5E6788; padding: 18px 12px 6px; font-weight: 700; }
.nav-item.locked { color: #8189A6; font-size: 13px; }
.nav-item .lk { margin-left: auto; width: 13px; height: 13px; opacity: .6; }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.cta-card { padding: 16px; border-radius: 14px; background: linear-gradient(145deg, rgba(124,108,255,.38), rgba(34,211,238,.14)); border: 1px solid rgba(255,255,255,.12); }
.cta-t { color: #fff; font-weight: 700; font-size: 14px; }
.cta-card p { font-size: 12px; color: #C9CEE3; margin: 4px 0 12px; }
.btn-cta { display: flex; justify-content: center; background: #fff; color: var(--navy); font-weight: 700; font-size: 12.5px; padding: 10px 12px; border-radius: 10px; transition: transform .2s var(--ease), box-shadow .2s; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.sb-reset { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; border-radius: 10px; color: #AEB5CE; font-size: 12.5px; border: 1px dashed rgba(255,255,255,.16); transition: all .2s; }
.sb-reset .i { width: 15px; height: 15px; }
.sb-reset:hover { color: #fff; border-color: rgba(255,255,255,.4); }

.main { min-width: 0; display: flex; flex-direction: column; }
.demo-banner { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 8px 16px; background: linear-gradient(90deg, #4F46E5, #7C3AED 55%, #0891B2); color: #fff; font-size: 12.5px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; animation: pulse 2s infinite; }
.banner-text { opacity: .85; }
.demo-banner a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.banner-reset { display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 600; font-size: 12px; transition: background .2s; }
.banner-reset:hover { background: rgba(255,255,255,.3); }
.banner-reset .i { width: 13px; height: 13px; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(243,245,250,.84); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.tb-title { min-width: 0; }
.tb-title h1 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tb-title p { color: var(--ink3); font-size: 12.5px; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.me { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.me .oav { width: 30px; height: 30px; font-size: 12px; }
.me b { font-size: 12.5px; display: block; line-height: 1.15; }
.me span { font-size: 11px; color: var(--ink3); }
#view { padding: 6px 28px 48px; max-width: 1480px; width: 100%; }
#view.enter > * { animation: rise .55s var(--ease) both; }
#view.enter > *:nth-child(2) { animation-delay: .05s; }
#view.enter > *:nth-child(3) { animation-delay: .1s; }
#view.enter > *:nth-child(4) { animation-delay: .15s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 11px; font-weight: 600; font-size: 13.5px; transition: transform .18s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .i { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 6px 18px rgba(91,75,245,.32), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(91,75,245,.45); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink2); }
.btn-ghost:hover { border-color: #C5CADB; color: var(--ink); }
.btn-won { background: linear-gradient(135deg, #16A34A, #0D9488); color: #fff; box-shadow: 0 6px 18px rgba(22,163,74,.28); }
.btn-won:hover { box-shadow: 0 10px 24px rgba(22,163,74,.38); transform: translateY(-1px); }
.btn-sim { position: relative; overflow: hidden; }
.btn-sim::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4.5s 2.5s infinite; }
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }
.wide { width: 100%; }

/* ---------- Today ---------- */
.hero { padding: 10px 0 18px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 6px; }
.lede { color: var(--ink2); font-size: 15px; max-width: 780px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--card); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); border: 1px solid var(--line2); text-align: left; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; width: 100%; }
.kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,24,40,.1); }
.kpi::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: var(--tone); opacity: .07; }
.kpi-top { display: flex; align-items: center; gap: 8px; color: var(--ink2); font-weight: 600; font-size: 12.5px; }
.kpi-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 13%, white); color: var(--tone); flex: none; }
.kpi-ico .i { width: 15px; height: 15px; }
.kpi-val { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.k-brand { --tone: #5B4BF5; } .k-red { --tone: #E5484D; } .k-green { --tone: #119C4F; } .k-amber { --tone: #D97706; }
.k-red .kpi-val { color: var(--red); } .k-green .kpi-val { color: var(--green); }
.kpi.bump { animation: bump 1s var(--ease); }
@keyframes bump { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 50%, transparent); transform: scale(1.02); } 100% { box-shadow: 0 0 0 16px transparent; transform: none; } }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line2); min-width: 0; }
.card-h { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 8px; }
.card-h h2 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card-h p { font-size: 12.5px; color: var(--ink3); }
.count { margin-left: auto; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.c-red { background: var(--red-bg); color: var(--red); } .c-amber { background: var(--amber-bg); color: var(--amber); } .c-brand { background: #EFEDFF; color: var(--brand); }
.list { display: flex; flex-direction: column; padding: 4px 8px 8px; }
.enter .list > * { animation: rise .5s var(--ease) both; }
.enter .list > *:nth-child(2) { animation-delay: .12s; } .enter .list > *:nth-child(3) { animation-delay: .16s; }
.enter .list > *:nth-child(4) { animation-delay: .2s; } .enter .list > *:nth-child(5) { animation-delay: .24s; }
.enter .list > *:nth-child(6) { animation-delay: .28s; } .enter .list > *:nth-child(n+7) { animation-delay: .32s; }

.row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; width: 100%; transition: background .18s; }
.row:hover { background: #F5F6FB; }
.row-main { flex: 1; min-width: 0; }
.row-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.row-name { font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.row-val { font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }

.av { position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 13.5px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 68%, #000)); }
.av.lg { width: 54px; height: 54px; font-size: 18px; }
.av-ch { position: absolute; right: -3px; bottom: -3px; width: 19px; height: 19px; border-radius: 50%; background: var(--cc); border: 2px solid #fff; display: grid; place-items: center; color: #fff; }
.av.lg .av-ch { width: 22px; height: 22px; }
.av-ch .i { width: 10px; height: 10px; stroke-width: 2.6; }
.oav { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.oav.none { background: #fff; border: 1.5px dashed #B6BCCF; color: #9AA1B8; }
.chb { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--cc); background: color-mix(in srgb, var(--cc) 11%, white); white-space: nowrap; }
.chb .i { width: 12px; height: 12px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill .i { width: 12px; height: 12px; stroke-width: 2.4; }
.p-untouched, .p-overdue { background: var(--red-bg); color: var(--red); }
.p-untouched { animation: glow 2.4s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } 50% { box-shadow: 0 0 0 4px rgba(229,72,77,.14); } }
.p-today, .p-nofollow { background: var(--amber-bg); color: var(--amber); }
.p-scheduled { background: var(--slate-bg); color: var(--ink2); }
.p-won { background: var(--green-bg); color: var(--green); }
.p-lost { background: #F1F2F5; color: #7C849B; }
.stag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, white); white-space: nowrap; }
.flash { animation: flash 2.4s var(--ease); }
@keyframes flash { 0%, 30% { background: rgba(91,75,245,.14); box-shadow: inset 0 0 0 2px rgba(91,75,245,.55); } 100% { background: transparent; box-shadow: inset 0 0 0 2px transparent; } }

.empty { padding: 26px 16px; text-align: center; color: var(--ink3); font-size: 12.5px; }
.empty-ico { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.empty b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }

.chan { padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 11px; }
.chan-row { display: grid; grid-template-columns: 118px 1fr 26px; align-items: center; gap: 10px; font-size: 12.5px; }
.chan-name { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.chan-name .i { color: var(--cc); width: 16px; height: 16px; }
.bar { height: 8px; border-radius: 99px; background: #F0F2F7; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--cc); width: var(--w); animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.chan-n { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.team { padding: 2px 12px 10px; }
.team-row { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 14px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line2); }
.team-row:first-child { border-top: 0; }
.team-row .oav { width: 32px; height: 32px; font-size: 13px; }
.team-name { min-width: 0; }
.team-name b { display: block; font-size: 13px; white-space: nowrap; }
.team-name span { font-size: 11.5px; color: var(--ink3); }
.team-stat { font-size: 11px; color: var(--ink3); text-align: right; }
.team-stat b { display: block; color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.team-stat.red b { color: var(--red); }

/* ---------- Inbox ---------- */
.toolbar { padding: 14px; display: flex; flex-direction: column; gap: 12px; margin: 4px 0 14px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 42px; border-radius: 11px; background: #F4F5F9; border: 1px solid transparent; transition: border .2s, box-shadow .2s, background .2s; }
.search:focus-within { background: #fff; border-color: #C7C2FF; box-shadow: 0 0 0 4px rgba(91,75,245,.12); }
.search .i { color: var(--ink3); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; min-width: 0; }
.chips { display: flex; gap: 8px; }
.scroll-x { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: all .2s var(--ease); flex: none; }
.chip:hover { border-color: #C5CADB; }
.chip .i { width: 14px; height: 14px; color: var(--cc, currentColor); }
.chip em { font-style: normal; font-size: 11px; color: var(--ink3); background: #F1F2F6; border-radius: 99px; padding: 0 6px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on em { background: rgba(255,255,255,.18); color: #fff; }
.chip.on .i { color: #fff; }
.toolbar-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: #F1F2F7; gap: 2px; max-width: 100%; }
.seg button { padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: all .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.list-head { display: flex; justify-content: space-between; padding: 8px 10px 6px; font-size: 12px; color: var(--ink3); font-weight: 600; }
.irow { display: flex; gap: 12px; padding: 12px 10px; border-radius: 12px; width: 100%; transition: background .18s; align-items: flex-start; position: relative; }
.irow:hover { background: #F6F7FB; }
.irow + .irow::before { content: ""; position: absolute; left: 62px; right: 10px; top: 0; height: 1px; background: var(--line2); }
.irow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.irow-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.irow-top .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irow-top .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.irow-top .time { margin-left: auto; font-size: 12px; color: var(--ink3); white-space: nowrap; flex: none; }
.irow-item { font-size: 12.5px; color: var(--ink2); }
.irow-item b { color: var(--ink); }
.irow-msg { font-size: 13px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irow-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 5px; }
.irow-owner { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink2); margin-left: auto; }

/* ---------- Pipeline ---------- */
.pipe-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 4px 0 10px; }
.mini { background: #fff; border-radius: 14px; padding: 12px 16px; border: 1px solid var(--line2); box-shadow: var(--shadow); }
.mini span { font-size: 12px; color: var(--ink3); font-weight: 600; }
.mini b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mini.green b { color: var(--green); }
.hint { display: flex; gap: 8px; align-items: center; color: var(--ink3); font-size: 12.5px; margin: 8px 2px 12px; }
.hint .i { width: 15px; height: 15px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(232px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.col { background: #EBEEF5; border-radius: 16px; padding: 10px; min-height: 220px; transition: background .2s, box-shadow .2s; }
.col.over { background: #E4E1FF; box-shadow: inset 0 0 0 2px #8B7CFF; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; font-weight: 700; font-size: 13px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc) 22%, transparent); flex: none; }
.col-count { font-size: 11.5px; color: var(--ink3); background: #fff; border-radius: 99px; padding: 1px 7px; }
.col-total { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
.col-body { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.col-empty { border: 1.5px dashed #CBD0DE; border-radius: 12px; padding: 20px 12px; text-align: center; color: var(--ink3); font-size: 12px; }
.pcard { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.04); cursor: grab; transition: box-shadow .2s, transform .2s var(--ease), opacity .2s; user-select: none; -webkit-user-select: none; position: relative; }
.pcard:hover { box-shadow: 0 8px 24px rgba(16,24,40,.12); }
.pcard.hot { box-shadow: inset 3px 0 0 var(--red), 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.04); }
.pcard.dragging { opacity: .35; }
.pcard.flash { animation: flashc 2.4s var(--ease); }
@keyframes flashc { 0%, 30% { box-shadow: 0 0 0 3px rgba(91,75,245,.55), 0 10px 30px rgba(91,75,245,.25); } 100% { box-shadow: 0 1px 2px rgba(16,24,40,.06); } }
.pc-top { display: flex; align-items: center; gap: 8px; }
.pc-ch { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 13%, white); color: var(--cc); flex: none; }
.pc-ch .i { width: 13px; height: 13px; }
.pc-name { font-weight: 700; font-size: 13.5px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-item { font-size: 12.5px; color: var(--ink2); margin: 6px 0 9px; line-height: 1.35; }
.pc-bot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.pc-val { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.pc-next { margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 9px; background: #F3F2FF; color: var(--brand); font-weight: 700; font-size: 12px; transition: background .2s, transform .15s; }
.pc-next:hover { background: #E6E3FF; }
.pc-next:active { transform: scale(.97); }
.pc-next .i { width: 14px; height: 14px; }
.pc-next.won { background: var(--green-bg); color: var(--green); }
.pc-next.won:hover { background: #D2F0DE; }

/* ---------- Drawer ---------- */
.drawer-wrap { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.scrim { position: absolute; inset: 0; background: rgba(10,15,31,.4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.drawer-wrap.open { pointer-events: auto; }
.drawer-wrap.open .scrim { opacity: 1; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--ease); }
.drawer-wrap.open .drawer { transform: none; }
.dw-head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line2); position: relative; }
.dw-id { flex: 1; min-width: 0; }
.dw-id h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--ink2); background: #F4F5F9; transition: background .2s; flex: none; }
.icon-btn:hover { background: #E8EAF1; }
.dw-body { flex: 1; overflow-y: auto; padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 18px; overscroll-behavior: contain; }
.lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin-bottom: 8px; }
.lbl .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.dw-deal { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #F6F5FF, #EFFAFF); border: 1px solid #E7E4FF; }
.dw-deal .lbl { margin-bottom: 3px; }
.dw-item { font-weight: 600; }
.dw-val { text-align: right; flex: none; }
.dw-val .v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dw-status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12.5px; margin-top: -6px; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--ink3); background: #F5F6F9; transition: all .3s var(--ease); text-align: center; }
.step:hover { background: #ECEEF4; color: var(--ink); }
.step-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #fff; border: 1.5px solid #D5D9E5; transition: all .3s var(--ease); }
.step-dot .i { width: 13px; height: 13px; stroke-width: 3; }
.step.done { color: var(--brand); background: #F3F2FF; }
.step.done .step-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.cur { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 6px 16px rgba(91,75,245,.3); }
.step.cur .step-dot { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); color: #fff; }
.step[data-v="won"].cur { background: linear-gradient(135deg, #16A34A, #0D9488); box-shadow: 0 6px 16px rgba(22,163,74,.3); }
.stepper.is-lost .step { opacity: .55; }
.lost-note { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6B7390; background: #F4F5F8; padding: 9px 11px; border-radius: 10px; }
.lost-note .i { width: 14px; height: 14px; }
.link { color: var(--brand); font-weight: 700; margin-left: auto; }
.won-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--green-bg); color: #0E5A31; font-weight: 600; font-size: 13px; }
.won-note .i { color: var(--green); }
.dw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.owner-pick, .fu-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.opick, .fpick { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 5px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink2); background: #fff; transition: all .22s var(--ease); }
.fpick { padding: 6px 11px; }
.opick:hover, .fpick:hover { border-color: #C5CADB; color: var(--ink); }
.opick.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, white); color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.fpick.on { border-color: var(--brand); background: #F3F2FF; color: var(--brand); box-shadow: 0 0 0 3px rgba(91,75,245,.14); }
.fpick.date { padding: 3px 8px; gap: 4px; cursor: pointer; }
.fpick.date input { border: 0; outline: 0; background: transparent; font-size: 12.5px; width: 122px; color: var(--ink2); cursor: pointer; }
.fpick .i { width: 14px; height: 14px; }
.fu-state, .warn { margin-top: 9px; font-size: 12.5px; display: flex; align-items: center; gap: 6px; color: var(--ink2); flex-wrap: wrap; }
.fu-state .i, .warn .i { width: 14px; height: 14px; }
.warn { color: var(--amber); }
.dw-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 10px; width: 2px; background: #ECEEF4; }
.tl { display: flex; gap: 12px; position: relative; }
.tl-ico { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #ECEEF4; z-index: 1; }
.tl-ico .i { width: 14px; height: 14px; }
.tl-c { flex: 1; min-width: 0; padding-top: 5px; }
.tl-t { font-size: 12px; color: var(--ink3); font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; }
.tl-when { font-weight: 500; color: #A0A7BC; }
.tl p { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.bubble { margin-top: 6px; padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: #F2F3F8; font-size: 13.5px; color: var(--ink); max-width: 94%; width: fit-content; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-out .bubble { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-radius: 14px 4px 14px 14px; margin-left: auto; }
.notebox { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #FFF8E6; border: 1px solid #FBE6AE; font-size: 13px; color: #6B4A07; white-space: pre-wrap; overflow-wrap: anywhere; }
.qbox { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid #F6DCA6; background: #FFFBF1; font-size: 13px; }
.qbox b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qbox.won { border-color: #B5E6C7; background: #EEFAF2; color: #0E5A31; }
.tl-sys .tl-ico { height: 18px; background: transparent; box-shadow: none; border: 0; color: #B5BBCC; }
.tl-sys .tl-c { padding-top: 0; }
.tl-sys .tl-t { font-weight: 500; }
.tl.fresh { animation: rise .5s var(--ease); }
.dw-compose { border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #FBFBFE; }
.ctabs { display: flex; gap: 4px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.ctabs button { padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink3); white-space: nowrap; transition: all .2s; }
.ctabs button:hover { color: var(--ink); }
.ctabs button.on { background: #EFEDFF; color: var(--brand); }
.qrs { display: flex; gap: 6px; margin-bottom: 8px; }
.qr { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: all .2s; flex: none; }
.qr:hover { border-color: var(--brand); color: var(--brand); }
.comp-row { display: flex; gap: 8px; align-items: flex-end; }
.comp-row textarea, .inp { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: none; outline: 0; background: #fff; font-size: 14px; transition: border .2s, box-shadow .2s; }
.inp { height: 44px; }
.comp-row textarea:focus, .inp:focus, .money:focus-within { border-color: #C7C2FF; box-shadow: 0 0 0 4px rgba(91,75,245,.12); }
.money { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: #fff; width: 140px; height: 44px; flex: none; transition: border .2s, box-shadow .2s; }
.money span { font-weight: 700; color: var(--ink3); }
.money input { border: 0; outline: 0; width: 100%; padding: 0 4px; font-weight: 700; font-size: 14px; background: transparent; }
.comp-row .btn { height: 44px; flex: none; }
.comp-hint { font-size: 11.5px; color: var(--ink3); margin-top: 7px; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- Modal ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-wrap .scrim { background: rgba(10,15,31,.48); }
.modal { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.modal-wrap.open .scrim { opacity: 1; }
.modal-wrap.open .modal { opacity: 1; transform: none; }
.full-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #06B6D4); color: #fff; margin-bottom: 14px; box-shadow: 0 10px 24px rgba(91,75,245,.35); }
.full-ico .i { width: 24px; height: 24px; }
.badge-full { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--brand); background: #F0EEFF; padding: 4px 10px; border-radius: 999px; }
.badge-full .i { width: 12px; height: 12px; }
.modal h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 6px; }
.modal p { color: var(--ink2); }
.modal ul { list-style: none; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 9px; }
.modal li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.modal li .i { color: var(--green); width: 16px; height: 16px; margin-top: 2px; }
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }
.reasons { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 14px; }
.reason { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; transition: all .2s; }
.reason:hover { border-color: var(--red); background: #FFF7F7; color: var(--red); }
.sheet-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sheet-h svg { width: 36px; height: 36px; display: block; }
.sheet-h b { display: block; font-size: 15px; }
.sheet-h span { font-size: 12px; color: var(--ink3); }
.sheet-list { display: flex; flex-direction: column; margin-bottom: 16px; }
.sheet-list button { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--line2); font-weight: 600; width: 100%; }
.sheet-list button .lk { margin-left: auto; width: 14px; height: 14px; color: var(--ink3); }
.sheet-list button .i:first-child { color: var(--brand); }

/* ---------- Toasts ---------- */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
body.lock #toasts { right: calc(min(580px, 100%) + 20px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 390px; padding: 12px 14px; border-radius: 14px; background: #0F1530; color: #D9DDEC; font-size: 13px; box-shadow: 0 14px 40px rgba(10,15,31,.35); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); cursor: default; }
.toast.show { opacity: 1; transform: none; }
.toast.hide { opacity: 0; transform: translateY(6px) scale(.98); }
.toast .i { width: 16px; height: 16px; }
.toast.success .i { color: #4ADE80; }
.toast b { color: #fff; }
.toast.inquiry { align-items: flex-start; background: #fff; color: var(--ink2); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(10,15,31,.22); }
.toast.inquiry b { color: var(--ink); display: block; font-size: 13px; }
.tmsg { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; }
.tico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cc); color: #fff; flex: none; }
.tico .i { width: 18px; height: 18px; }
.tbtn { padding: 8px 13px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; flex: none; align-self: center; }
.typing { display: inline-flex; gap: 3px; margin-right: 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #A99CFF; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

#fx { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.cf { position: absolute; width: 9px; height: 14px; border-radius: 2px; }

/* ---------- Splash ---------- */
#splash { position: fixed; inset: 0; z-index: 200; background: radial-gradient(80% 60% at 50% 40%, #1D2152, #0A0F1F); display: grid; place-items: center; color: #fff; transition: opacity .6s var(--ease), visibility .6s; padding: 24px; cursor: pointer; }
#splash.out { opacity: 0; visibility: hidden; }
.sp-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sp-logo svg { width: 64px; height: 64px; display: block; animation: spinin 1s var(--ease) both; }
@keyframes spinin { from { opacity: 0; transform: rotate(-90deg) scale(.6); } to { opacity: 1; transform: none; } }
.sp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 360px; }
.sp-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 12.5px; font-weight: 600; animation: chipin 1.5s var(--ease) both; }
.sp-chips span:nth-child(1) { --x: -120px; --y: -60px; animation-delay: .1s; }
.sp-chips span:nth-child(2) { --x: 140px; --y: -40px; animation-delay: .16s; }
.sp-chips span:nth-child(3) { --x: -90px; --y: 70px; animation-delay: .22s; }
.sp-chips span:nth-child(4) { --x: 110px; --y: 80px; animation-delay: .28s; }
.sp-chips span:nth-child(5) { --x: -160px; --y: 10px; animation-delay: .34s; }
.sp-chips span:nth-child(6) { --x: 170px; --y: 20px; animation-delay: .4s; }
.sp-chips span:nth-child(7) { --x: 0; --y: 110px; animation-delay: .46s; text-decoration: line-through; opacity: .6; }
@keyframes chipin { 0% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(-8deg); } 40% { opacity: 1; transform: translate(calc(var(--x) * .5), calc(var(--y) * .5)) rotate(4deg); } 100% { transform: none; } }
.sp-t { font-size: 24px; font-weight: 800; letter-spacing: -.02em; animation: rise .7s .9s var(--ease) both; }
.sp-sub { font-size: 12.5px; color: #8E97B8; animation: rise .7s 1.1s var(--ease) both; }

/* ---------- Mobile ---------- */
.tabbar { display: none; }
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --r: 14px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--ink3); position: relative; transition: color .2s; }
  .tab .i { width: 22px; height: 22px; }
  .tab.active { color: var(--brand); }
  .tab .nav-badge { position: absolute; top: 0; left: calc(50% + 5px); min-width: 17px; height: 17px; font-size: 10px; padding: 0 5px; margin: 0; }
  .tab .nav-badge.soft { background: var(--brand); }
  #view { padding: 4px 16px 104px; }
  .topbar { padding: 10px 16px; gap: 10px; }
  .tb-logo { display: block; }
  .tb-logo svg { width: 30px; height: 30px; }
  .tb-title p, .me, .banner-text, .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .tb-title h1 { font-size: 18px; }
  .btn-sim { padding: 9px 13px; font-size: 13px; }
  .demo-banner { font-size: 11.5px; gap: 10px; padding: 7px 12px; }
  .hero { padding: 6px 0 14px; }
  .hero h1 { font-size: 22px; }
  .lede { font-size: 14px; }
  .kpis { gap: 10px; margin-bottom: 14px; }
  .kpi { padding: 13px 14px; }
  .kpi-val { font-size: 19px; margin-top: 8px; }
  .kpi-top { font-size: 11.5px; gap: 6px; }
  .kpi-ico { width: 24px; height: 24px; }
  .kpi-sub { font-size: 11px; }
  .pipe-sum { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mini b { font-size: 18px; }
  .board { grid-template-columns: repeat(5, 84%); scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 12px; scroll-padding: 0 16px; }
  .col { scroll-snap-align: start; }
  .hide-m { display: none; }
  .show-m { display: inline; }
  .drawer { top: auto; height: 94vh; height: 94dvh; width: 100%; border-radius: 22px 22px 0 0; transform: translateY(104%); }
  .dw-head { padding: 22px 16px 14px; }
  .dw-head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #D7DBE6; }
  .dw-body { padding: 16px; }
  .dw-grid { grid-template-columns: 1fr; gap: 16px; }
  .dw-val .v { font-size: 19px; }
  .dw-compose { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .comp-hint { display: none; }
  .comp-row.wrap { flex-wrap: wrap; }
  .comp-row.wrap .inp { flex-basis: 100%; order: -1; }
  .comp-row.wrap .money { flex: 1; }
  .modal-wrap { place-items: end center; padding: 0; }
  .modal { width: 100%; border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 90vh; }
  #toasts, body.lock #toasts { left: 12px; right: 12px; bottom: auto; top: 12px; align-items: stretch; }
  .toast { max-width: none; transform: translateY(-14px) scale(.98); }
  .chan-row { grid-template-columns: 104px 1fr 24px; }
  .team-row { gap: 10px; grid-template-columns: auto 1fr auto auto; }
  .team-row .team-val { display: none; }
  .irow-owner { margin-left: 0; }
  .irow + .irow::before { left: 10px; }
}
@media (max-width: 380px) {
  .kpi-val { font-size: 17px; }
  .row { gap: 10px; padding: 10px 6px; }
}
@media (max-width: 330px) {
  .btn-sim .lbl-short { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
