/* NexusBrand Painel: black, Volt #F9FD53, liquid glass. Unbounded for numbers and titles, Geist for text. */
:root {
  --void: #000; --ink: #050506; --volt: #F9FD53; --volt-d: #c9cc2f; --bone: #f2f2ec; --ash: #8b8b86; --dim: #5d5d59;
  --line: rgb(255 255 255 / .07); --line-2: rgb(255 255 255 / .12);
  --good: #F9FD53; --bad: #ff5d4d; --warn: #ffb547; --cool: #8fd3ff;
  --display: "Unbounded", system-ui, sans-serif; --text: "Geist", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1); --r: 22px; --side: 248px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--void); color: var(--bone); font: 400 14px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the room: deep black with two soft lights, nothing that moves with the pointer */
.room { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(60% 50% at 12% -10%, rgb(249 253 83 / .09), transparent 70%),
  radial-gradient(50% 40% at 100% 0%, rgb(143 211 255 / .05), transparent 70%),
  radial-gradient(80% 60% at 50% 120%, rgb(249 253 83 / .05), transparent 70%), #000; }

/* liquid glass */
.glass { position: relative; border-radius: var(--r);
  background: linear-gradient(180deg, rgb(255 255 255 / .055), rgb(255 255 255 / .018));
  border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 30px 60px -30px rgb(0 0 0 / .8); }
.glass--lit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 60% at 0% 0%, rgb(249 253 83 / .1), transparent 60%); }

/* ------------------------------------------------------------- shell */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; padding: 22px 16px; display: flex; flex-direction: column; gap: 26px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent 40%); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px; }
.brand svg { width: 26px; height: 26px; fill: var(--volt); }
.brand b { font: 600 15px/1 var(--display); letter-spacing: -0.04em; }
.brand b span { font-weight: 300; color: var(--volt); }
.brand small { margin-left: auto; font-size: 10px; color: var(--ash); border: 1px solid var(--line-2); border-radius: 99px; padding: 3px 8px; }
.nav { display: grid; gap: 4px; }
.nav__lbl { font-size: 11px; color: var(--dim); padding: 14px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #b6b6b0; transition: background .2s, color .2s; }
.nav a svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { background: rgb(255 255 255 / .04); color: var(--bone); }
.nav a[aria-current="page"] { background: rgb(249 253 83 / .1); color: var(--volt); box-shadow: inset 0 0 0 1px rgb(249 253 83 / .18); }
.nav a .tag { margin-left: auto; font-size: 10px; padding: 2px 7px; border-radius: 99px; background: var(--volt); color: #000; font-weight: 600; }
.side__foot { margin-top: auto; display: grid; gap: 12px; }
.who { display: flex; align-items: center; gap: 10px; padding: 12px; }
.av { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font: 500 12px/1 var(--display); letter-spacing: -0.04em;
  background: linear-gradient(160deg, #2a2b20, #111); border: 1px solid var(--line-2); color: var(--bone); flex: none; }
.av + .av { margin-left: -12px; }
.who p { margin: 0; font-size: 12px; line-height: 1.3; } .who p span { color: var(--ash); }

.main { min-width: 0; padding: 18px clamp(16px, 2.4vw, 34px) 60px; }
.top { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; margin-bottom: 26px; border-radius: 20px; }
.top h1 { margin: 0; font: 500 18px/1 var(--display); letter-spacing: -0.04em; }
.top__sp { flex: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgb(0 0 0 / .4); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 10px; color: var(--ash); cursor: pointer; font-size: 13px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: rgb(255 255 255 / .1); color: var(--bone); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 12px; color: var(--volt); background: rgb(249 253 83 / .08); border: 1px solid rgb(249 253 83 / .2); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgb(249 253 83 / .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(249 253 83 / 0); } 100% { box-shadow: 0 0 0 0 rgb(249 253 83 / 0); } }
.ibtn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: rgb(0 0 0 / .35); cursor: pointer; position: relative; }
.ibtn svg { width: 18px; height: 18px; stroke: var(--bone); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ibtn .dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }
.menu-btn { display: none; }

/* ------------------------------------------------------------- grid + cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
.card { padding: 20px; min-width: 0; }
.card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card__h h2, .card__h h3 { margin: 0; font: 500 14px/1.2 var(--display); letter-spacing: -0.03em; }
.card__h p { margin: 2px 0 0; color: var(--ash); font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font-size: 11px; border: 1px solid var(--line-2); color: #c9c9c3; white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.up { color: var(--volt); } .down { color: var(--bad); }
.delta { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.delta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* hero: the profit, big */
.hero { padding: 26px 26px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; overflow: hidden; isolation: isolate; }
.hero__lbl { color: #c9c9c3; font-size: 13px; display: flex; align-items: center; gap: 10px; }
/* solid text: gradient-clipped text repainted every count-up frame flickered over the glass */
.hero__val { font: 500 clamp(40px, 5.4vw, 78px)/1.08 var(--display); letter-spacing: -0.05em; margin: 12px 0 8px; padding-top: .04em;
  color: #f4f4ee; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgb(255 255 255 / .08), 0 18px 40px rgb(0 0 0 / .5); }
.hero__val small { font-size: .42em; letter-spacing: -0.03em; margin-right: .2em; }
.hero__sub { color: var(--ash); font-size: 13px; }
.hero__spark { grid-column: 1 / -1; height: 84px; margin: 6px -26px -18px; }
.hero__side { display: grid; gap: 10px; justify-items: end; align-self: start; }

.kpi { padding: 18px 18px 14px; display: grid; gap: 6px; }
.kpi__lbl { color: var(--ash); font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi__val { font: 500 clamp(20px, 1.9vw, 28px)/1.1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kpi__spark { height: 34px; margin-top: 4px; }

/* charts */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.axis text { fill: var(--dim); font-size: 10px; font-family: var(--text); }
.axis line { stroke: var(--line); }
.tip { position: absolute; pointer-events: none; min-width: 170px; padding: 12px 14px; border-radius: 14px; font-size: 12px; opacity: 0; transform: translate(-50%, -110%); transition: opacity .15s;
  background: rgb(14 14 15 / .92); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -10px #000; }
.tip.on { opacity: 1; }
.tip b { display: block; font: 500 12px var(--display); margin-bottom: 6px; }
.tip div { display: flex; justify-content: space-between; gap: 14px; color: #c9c9c3; } .tip div span:last-child { color: var(--bone); font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #c9c9c3; }
.legend span { display: inline-flex; align-items: center; gap: 7px; } .legend i { width: 10px; height: 10px; border-radius: 3px; }

/* the live pulse feed */
.feed { display: grid; gap: 8px; max-height: 420px; overflow: hidden; mask-image: linear-gradient(180deg, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); }
.sale { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / .025); border: 1px solid var(--line); }
.sale.new { animation: drop .7s var(--ease) both; border-color: rgb(249 253 83 / .3); background: rgb(249 253 83 / .05); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.sale p { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale small { color: var(--ash); font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale .num { font-size: 14px; color: var(--volt); }
.pf { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 600 11px/1 var(--display); color: #000; flex: none; }

/* funnel */
.funnel { display: grid; gap: 10px; }
.fstep { display: grid; grid-template-columns: 130px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: 12px; }
.fstep span { color: #c9c9c3; }
.fbar { height: 30px; border-radius: 9px; background: rgb(255 255 255 / .04); overflow: hidden; position: relative; }
.fbar i { position: absolute; inset: 0 auto 0 0; border-radius: 9px; background: linear-gradient(90deg, rgb(249 253 83 / .9), rgb(249 253 83 / .35)); transform-origin: left; animation: grow 1.1s var(--ease) both; }
.fbar em { position: absolute; left: 10px; top: 50%; translate: 0 -50%; font: 500 12px var(--display); font-style: normal; color: #000; mix-blend-mode: normal; }
.fstep b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scaleX(0); } }

/* heatmap */
.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; font-size: 10px; color: var(--dim); }
.heat i { aspect-ratio: 1; border-radius: 4px; background: rgb(249 253 83 / var(--a)); }
.heat span { display: grid; align-items: center; }

/* split bars */
.split { display: grid; gap: 14px; }
.srow { display: grid; gap: 7px; }
.srow__top { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.srow__top b { margin-left: auto; font: 500 13px var(--display); letter-spacing: -0.03em; }
.srow__top small { color: var(--ash); }
.sbar { height: 8px; border-radius: 99px; background: rgb(255 255 255 / .05); overflow: hidden; }
.sbar i { display: block; height: 100%; border-radius: 99px; animation: grow 1s var(--ease) both; transform-origin: left; }

/* copilot */
.tips { display: grid; gap: 10px; }
.tipc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .03); border: 1px solid var(--line); }
.tipc__ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.tipc__ic svg { width: 17px; height: 17px; stroke: #000; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tipc p { margin: 0; font-size: 13px; } .tipc small { color: var(--ash); font-size: 12px; display: block; margin-top: 3px; }
.tipc__act { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .05); cursor: pointer; font-size: 13px; white-space: nowrap; transition: background .2s, transform .15s; }
.btn:hover { background: rgb(255 255 255 / .09); } .btn:active { transform: scale(.97); }
.btn--volt { background: var(--volt); color: #000; border-color: transparent; font-weight: 600; box-shadow: 0 8px 24px -8px rgb(249 253 83 / .6); }
.btn--volt:hover { background: #fdff7a; }
.btn--sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 9px; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 -20px -20px; padding: 0 20px 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
th { text-align: right; font-weight: 400; color: var(--ash); font-size: 11px; padding: 0 12px 12px; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
td { text-align: right; padding: 13px 12px; border-top: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.lvl1 td:first-child { padding-left: 34px; color: #d6d6d0; } tr.lvl2 td:first-child { padding-left: 58px; color: #b6b6b0; }
tr.lvl1 td, tr.lvl2 td { background: rgb(255 255 255 / .015); }
.tname { display: flex; align-items: center; gap: 10px; }
.tog { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center; color: var(--ash); flex: none; }
.tog svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.tog[aria-expanded="true"] svg { transform: rotate(90deg); }
.sw { width: 34px; height: 20px; border-radius: 99px; background: rgb(255 255 255 / .12); border: 0; position: relative; cursor: pointer; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.sw[aria-checked="true"] { background: var(--volt); } .sw[aria-checked="true"]::after { transform: translateX(14px); background: #000; }
.roas { display: inline-flex; padding: 3px 8px; border-radius: 8px; font: 500 12px var(--display); letter-spacing: -0.02em; }
.roas.hi { background: rgb(249 253 83 / .14); color: var(--volt); } .roas.mid { background: rgb(255 181 71 / .12); color: var(--warn); } .roas.lo { background: rgb(255 93 77 / .12); color: var(--bad); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; } .st i { width: 7px; height: 7px; border-radius: 50%; }

/* creatives */
.creatives { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cr { overflow: hidden; padding: 0; transition: transform .25s var(--ease); }
.cr:hover { transform: translateY(-3px); }
.cr__art { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.cr__art > div:not(.cr__hook) { position: absolute; inset: 0; }
.cr__fmt { position: absolute; top: 12px; left: 12px; } .cr__rank { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 600 12px var(--display); background: var(--volt); color: #000; }
.cr__hook { position: absolute; left: 14px; right: 14px; bottom: 14px; font: 500 17px/1.15 var(--display); letter-spacing: -0.04em; text-wrap: balance; text-shadow: 0 2px 20px #000; }
.cr__body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.cr__name { font-size: 12px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cr__stats div { display: grid; gap: 2px; } .cr__stats span { font-size: 10px; color: var(--dim); } .cr__stats b { font: 500 14px var(--display); letter-spacing: -0.03em; }

/* tracking */
.code { position: relative; border-radius: 16px; background: #070708; border: 1px solid var(--line); padding: 16px 18px; font: 12.5px/1.7 ui-monospace, "SF Mono", Consolas, monospace; color: #c9c9c3; overflow-x: auto; white-space: pre; }
.code .k { color: var(--volt); } .code .s { color: #9ee6a8; } .code .c { color: var(--dim); }
.code .btn { position: absolute; top: 10px; right: 10px; }
.field { display: grid; gap: 6px; } .field label { font-size: 12px; color: var(--ash); }
.input { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgb(0 0 0 / .4); outline: none; width: 100%; }
.input:focus { border-color: rgb(249 253 83 / .5); box-shadow: 0 0 0 3px rgb(249 253 83 / .12); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.url-out { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgb(249 253 83 / .06); border: 1px dashed rgb(249 253 83 / .3); font: 12.5px/1.6 ui-monospace, Consolas, monospace; word-break: break-all; color: var(--bone); }
.url-out b { color: var(--volt); font-weight: 400; }
.journey { display: grid; gap: 0; position: relative; padding-left: 28px; }
.journey::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--volt), rgb(249 253 83 / .1)); border-radius: 2px; }
.jstep { position: relative; padding: 10px 0; }
.jstep::before { content: ""; position: absolute; left: -23px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #000; border: 2px solid var(--volt); }
.jstep.buy::before { background: var(--volt); box-shadow: 0 0 14px var(--volt); }
.jstep p { margin: 0; font-size: 13px; } .jstep small { color: var(--ash); font-size: 12px; }
.gauge { display: grid; place-items: center; position: relative; }
.gauge b { position: absolute; top: 52%; translate: 0 -50%; font: 500 36px var(--display); letter-spacing: -0.05em; }
.gauge span { position: absolute; top: 74%; font-size: 12px; color: var(--ash); }
.evt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; align-items: center; }
.evt:first-child { border-top: 0; }

/* integrations */
.ints { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.int { padding: 20px; display: grid; gap: 14px; }
.int__top { display: flex; align-items: center; gap: 12px; }
.int__logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 600 14px var(--display); color: #fff; flex: none; }
.int__top b { font: 500 15px var(--display); letter-spacing: -0.03em; display: block; } .int__top small { color: var(--ash); font-size: 12px; }
.int p { margin: 0; color: #b6b6b0; font-size: 13px; }
.int__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* page entrance: one orchestrated rise per view */
.view > * { animation: rise .7s var(--ease) both; }
.view > *:nth-child(2) { animation-delay: .05s; } .view > *:nth-child(3) { animation-delay: .1s; } .view > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.sec-t { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 14px; }
.sec-t h2 { margin: 0; font: 500 20px/1.1 var(--display); letter-spacing: -0.04em; }
.sec-t p { margin: 4px 0 0; color: var(--ash); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 60; padding: 12px 18px; border-radius: 14px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: .3s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1200px) { .c3 { grid-column: span 6; } .c4, .c5, .c7, .c8 { grid-column: span 12; } .c6 { grid-column: span 12; } }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 50; left: 0; top: 0; width: 270px; transform: translateX(-102%); transition: transform .35s var(--ease); background: #070708; }
  .app.nav-open .side { transform: none; box-shadow: 30px 0 60px #000; }
  .menu-btn { display: grid; }
  .top { padding-left: 10px; flex-wrap: wrap; }
  .top .seg { order: 5; width: 100%; } .top .seg button { flex: 1; }
  .hero { grid-template-columns: 1fr; } .hero__side { justify-items: start; grid-auto-flow: column; justify-content: start; }
  .form-grid { grid-template-columns: 1fr; }
  .fstep { grid-template-columns: 96px minmax(0, 1fr) 56px; }
}
@media (max-width: 560px) { .c3 { grid-column: span 12; } .kpi.c3 { grid-column: span 6; padding: 14px; } .kpi.c3 .kpi__val { font-size: 19px; } .kpi.c3 .kpi__lbl { font-size: 11px; flex-wrap: wrap; gap: 4px; } .kpi.c3 .kpi__spark { height: 30px; } .heat { grid-template-columns: 28px repeat(12, minmax(0, 1fr)); } .heat .hx { display: none; } .live span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* change-password dialog */
.pwd { width: min(400px, calc(100vw - 32px)); padding: 26px; border-radius: 24px; color: var(--bone); background: #0b0b0c; }
.pwd::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(6px); }
.pwd form { display: grid; gap: 14px; }
.pwd h2 { margin: 0 0 4px; font: 500 18px/1.2 var(--display); letter-spacing: -0.03em; }
.pwd__msg { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #ffb3a8; background: rgb(255 93 77 / .1); }
.pwd__msg.ok { color: var(--volt); background: rgb(249 253 83 / .08); }
.pwd__act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.who p { min-width: 0; } .who p span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* notifications (bell) */
.bell { position: relative; }
.ibtn .count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font: 600 10px/1 var(--display); background: var(--volt); color: #000; box-shadow: 0 0 0 3px #000; }
.notif { position: absolute; right: 0; top: calc(100% + 12px); width: min(380px, calc(100vw - 32px)); max-height: min(560px, 70vh); display: flex; flex-direction: column; padding: 0; overflow: hidden; z-index: 60; background: linear-gradient(180deg, #141415, #0b0b0c); box-shadow: 0 30px 80px -10px #000, inset 0 1px 0 rgb(255 255 255 / .08); animation: drop .22s var(--ease); }
.notif[hidden] { display: none; }
.notif__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.notif__h b { font: 500 14px var(--display); letter-spacing: -0.03em; }
.notif__list { overflow-y: auto; padding: 6px; display: grid; gap: 2px; }
.notif__empty { margin: 0; padding: 28px 16px; text-align: center; color: var(--ash); font-size: 13px; }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; color: inherit; position: relative; transition: background .15s; }
.note:hover { background: rgb(255 255 255 / .05); }
.note.unread::after { content: ""; position: absolute; top: 16px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }
.note__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.note__ic svg { width: 16px; height: 16px; stroke: #000; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note__t { display: grid; gap: 3px; padding-right: 14px; }
.note__t b { font-weight: 500; font-size: 13px; }
.note__t small { color: var(--ash); font-size: 12px; line-height: 1.4; }
.note__t em { font-style: normal; color: var(--dim); font-size: 11px; }
.note:not(.unread) .note__t b { color: #c9c9c3; }
@media (max-width: 900px) { .bell { position: static; } .notif { right: 10px; left: 10px; width: auto; top: calc(100% + 8px); } }

/* costs and taxes */
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hint { display: block; color: var(--dim); font-size: 11px; line-height: 1.4; margin-top: 6px; }
.affix { position: relative; display: flex; align-items: center; }
.affix .input { width: 100%; padding-right: 34px; font-variant-numeric: tabular-nums; }
.affix > span { position: absolute; right: 12px; color: var(--ash); font-size: 13px; pointer-events: none; }
.affix--pre .input { padding-left: 36px; padding-right: 12px; }
.affix--pre > span { left: 12px; right: auto; }
.crow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.crow--head { border-top: 0; padding: 0 0 6px; color: var(--ash); font-size: 11px; }
.crow--m { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; }
.seg--sm button { padding: 6px 14px; font-size: 12px; } .crow .seg { justify-self: start; }
.ibtn--sm { width: 34px; height: 34px; border-radius: 10px; } .ibtn--sm svg { width: 15px; height: 15px; }
.costs-side { position: sticky; top: 96px; align-self: start; min-width: 0; }
.wf { display: grid; gap: 2px; }
.wf__row { display: grid; grid-template-columns: minmax(0, 1fr) 80px auto 46px; gap: 10px; align-items: center; padding: 8px 0; font-size: 13px; border-top: 1px solid var(--line); }
.wf__row span { color: #c9c9c3; }
.wf__row b { font: 500 13px var(--display); letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.wf__row em { font-style: normal; color: var(--dim); font-size: 11px; text-align: right; }
.wf__row--top { grid-template-columns: 1fr auto; border-top: 0; }
.wf__row--top b { font-size: 15px; color: var(--bone); }
.wf__bar { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .05); overflow: hidden; }
.wf__bar i { display: block; height: 100%; border-radius: inherit; background: rgb(255 93 77 / .7); transition: width .3s var(--ease); }
.wf__res { margin-top: 14px; padding: 16px; border-radius: 16px; background: rgb(249 253 83 / .06); border: 1px solid rgb(249 253 83 / .18); display: grid; gap: 4px; }
.wf__res > span { font-size: 12px; color: #c9c9c3; }
.wf__res b { font: 500 clamp(26px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.wf__res small { color: var(--ash); font-size: 12px; }
.costs-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.costs-act .st { margin-right: auto; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
@media (max-width: 1200px) { .costs-side { position: static; } }
@media (max-width: 700px) { .form-grid--3 { grid-template-columns: 1fr; } .crow { grid-template-columns: 1fr 1fr; } .crow > span:first-child { grid-column: 1 / -1; } .crow--head { display: none; } .crow--m { grid-template-columns: minmax(0, 1fr) 110px auto; } .crow--m > :first-child { grid-column: auto; } .wf__row { grid-template-columns: minmax(0, 1fr) auto 40px; } .wf__bar { display: none; } }
