/* TACTRA dashboard — the approved Overview design (navy glass over a fading dot grid, green glow bottom right). */
:root {
  --t1: #f5f5f7; --t2: #a1a1a6; --t3: #6e6e73;
  --blue: #0a84ff; --green: #30d158; --mint: #63e6be; --teal: #5ac8fa; --lgreen: #86e3a4;
  --glass: rgba(22, 26, 40, .5); --glass-b: rgba(255, 255, 255, .09); --line: rgba(255, 255, 255, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--t1); font: 14px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body { min-height: 100vh; background-attachment: fixed; background:
  radial-gradient(ellipse 120% 90% at 30% 0%, transparent 35%, rgba(2, 4, 12, .85) 85%),
  radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 14px 14px,
  radial-gradient(1000px 800px at 0% 0%, #0c2b72, transparent 65%),
  radial-gradient(900px 700px at 100% 100%, #081f57, transparent 60%),
  radial-gradient(800px 650px at 100% 100%, rgba(48, 209, 88, .12), transparent 60%), #02040c; }
button, input { font: inherit; color: inherit; }

/* sidebar */
.side { position: fixed; inset: 0 auto 0 0; width: 232px; padding: 30px 14px; background: rgba(12, 16, 30, .35);
  backdrop-filter: blur(30px); border-right: 1px solid rgba(255, 255, 255, .07); }
.brand { font-size: 14px; font-weight: 600; letter-spacing: .38em; padding: 0 12px; margin-bottom: 34px; }
.navlabel { font-size: 11px; font-weight: 500; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; padding: 0 12px; margin: 0 0 8px; }
nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; margin-bottom: 2px; border-radius: 8px;
  color: var(--t2); text-decoration: none; font-size: 14px; }
nav a.on { background: rgba(10, 132, 255, .16); color: var(--blue); font-weight: 500; }
nav a.soon { color: #4a4f5c; pointer-events: none; }
nav a.soon::after { content: "soon"; font-size: 10.5px; color: #3c4150; }
.sidefoot { position: absolute; left: 14px; right: 14px; bottom: 22px; }
.store { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 13px; color: var(--t2); }
.store .r { margin-left: auto; font-size: 11px; color: var(--t3); }
.store.off { color: var(--t3); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #4a4a4e; }
.dot.on { background: var(--blue); }
.who { margin-top: 16px; padding: 14px 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: var(--t3); }
.who b { display: block; color: var(--t2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who button { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--t3); cursor: pointer; font-size: 12px; text-decoration: underline; }

/* page */
main { margin-left: 232px; padding: 34px 40px 44px; }
.top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -.022em; margin: 0 0 4px; }
.sub { color: var(--t2); font-size: 15px; }
.ctl { text-align: right; }
.row1 { display: flex; gap: 10px; justify-content: flex-end; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .07); border-radius: 9px; padding: 2px; }
.seg span { padding: 5px 12px; border-radius: 7px; font-size: 12.5px; color: var(--t2); font-weight: 500; }
.seg span.on { background: rgba(255, 255, 255, .18); color: var(--t1); }
.seg span.off { color: #48484a; }
.stamp { margin-top: 10px; font-size: 12px; color: var(--t3); }
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.c2 { grid-template-columns: 1fr 1fr; }
.c3 { grid-template-columns: repeat(3, 1fr); }
.toprow { grid-template-columns: 1fr 1fr 300px; }
.card { background: var(--glass); border: 1px solid var(--glass-b); border-radius: 20px; padding: 20px 22px; min-width: 0;
  backdrop-filter: blur(32px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.card h3 { margin: 0 0 16px; font-size: 13px; font-weight: 500; color: var(--t2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 .m { color: var(--t3); font-weight: 400; }
.fill { display: flex; flex-direction: column; }
.grow { flex: 1; min-height: 0; }
.lab { font-size: 13px; color: var(--t2); }
.bigv { font-size: 38px; font-weight: 600; letter-spacing: -.03em; margin: 6px 0; }
.pill { display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 10px; background: rgba(48, 209, 88, .14); color: var(--green); font-size: 12px; font-weight: 600; }
.pill span { color: var(--t3); font-weight: 400; margin-left: 4px; }
.pill.flat { background: rgba(255, 255, 255, .06); color: var(--t2); }
.cap { font-size: 12px; color: var(--t3); margin-top: 10px; }

/* hero cards */
.hero { display: flex; flex-direction: column; padding: 26px 28px; }
.hero .bigv { font-size: 66px; font-weight: 700; letter-spacing: -.045em; }
.small .bigv { font-size: 32px; }
.msw { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.mh { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--t3); margin-bottom: 8px; }
.mh b { font-size: 14px; color: var(--t1); font-weight: 600; }
.mh b.dim { font-size: 12px; color: var(--t2); }

/* thin bars, like the app's chart bars side by side */
.tb { display: grid; align-items: end; }
.tb i { display: block; border-radius: 2.5px; }
.ttop { position: relative; height: 20px; margin-bottom: 5px; }
.ttop div { position: absolute; bottom: 0; transform: translateX(-50%); width: 0; height: 0; border: 4px solid transparent; border-top: 5px solid var(--t2); }
.tlabs { position: relative; height: 40px; margin-top: 8px; }
.tlabs div { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-size: 11.5px; color: var(--t3); white-space: nowrap; padding-top: 9px; }
.tlabs div::before { content: ""; position: absolute; top: 0; left: 50%; width: 1.5px; height: 6px; margin-left: -.75px; border-radius: 1px; background: rgba(255, 255, 255, .45); }
.tlabs div.r { transform: translateX(-100%); text-align: right; }
.tlabs div.r::before { left: auto; right: 3px; }
.tlabs b { display: block; color: var(--t1); font-size: 12.5px; font-weight: 600; }

/* funnel */
.pz { display: grid; grid-template-columns: 240px 1fr 150px; column-gap: 24px; }
.pz > .l, .pz > .p, .pz > .tk { height: 80px; display: flex; flex-direction: column; justify-content: center; }
.pz > .l { font-size: 13px; color: var(--t2); }
.pz > .l b { display: block; font-size: 28px; color: var(--t1); font-weight: 600; letter-spacing: -.025em; margin-top: 2px; }
.pz > .p { text-align: right; font-size: 12px; color: var(--t3); }
.pz > .p b { display: block; font-size: 19px; color: var(--green); font-weight: 600; }
.pz > .p b.lead { color: var(--t1); }
.pz > .sep { border-bottom: 1px solid var(--line); }
.pz > .tk { position: relative; }
.pz .in { position: relative; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, .035); }
.pz .in.wait { border: 1.5px dashed rgba(255, 255, 255, .12); background: none; display: flex; align-items: center; padding-left: 14px; font-size: 12px; color: var(--t3); }
.pz .pc { position: absolute; top: 0; bottom: 0; border-radius: 7px; filter: drop-shadow(0 0 9px var(--gc)); }
.pz .ov { grid-column: 2; position: relative; pointer-events: none; }
.zbeam { position: absolute; left: 2px; right: 2px; pointer-events: none; }

/* charts (the app's Stats bars over its fading dot grid) */
.apc { position: relative; }
.apc::before { content: ""; position: absolute; left: 0; right: 0; bottom: var(--pb, 24px); height: calc(100% + 16px);
  background: radial-gradient(rgba(255, 255, 255, .17) .8px, transparent 1.15px) 0 0 / 13px 13px;
  -webkit-mask: linear-gradient(transparent, #fff 55%, #fff); mask: linear-gradient(transparent, #fff 55%, #fff); pointer-events: none; }
.apc svg { position: relative; display: block; }
.ax { fill: var(--t3); font-size: 11px; }
.vl { fill: var(--t2); font-size: 11px; font-weight: 500; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--t2); font-weight: 400; }
.legend span, .key span:first-child { display: flex; align-items: center; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; flex: none; }

/* lists, split bars */
.key { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #18181a; }
.key:last-child { border-bottom: 0; }
.key > span:last-child { color: var(--t2); }
.rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin-top: 12px; }
.split { display: flex; gap: 4px; height: 22px; filter: drop-shadow(0 0 10px rgba(62, 109, 189, .35)); }
.split i { display: block; border-radius: 5px; min-width: 8px; }
.cflag, .cflag.fi { display: inline-block; width: 28px; height: 19px; line-height: 19px; border-radius: 4px; overflow: hidden; margin-right: 10px; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); background-size: cover; background-position: center; }
.money .two { display: flex; gap: 28px; margin-bottom: 18px; }
.money .label { font-size: 13px; color: var(--t2); }
.money .v { font-size: 36px; font-weight: 600; letter-spacing: -.03em; margin: 4px 0 2px; }
.money .v.s { font-size: 24px; color: var(--t2); margin-top: 12px; }

/* at this pace */
.paceb { display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: 14px; }
.nxA { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nxk { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--t3); margin-bottom: 6px; }
.prw .t { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 9px; }
.prw .t b { font-size: 15px; font-weight: 600; }
.nxA .prw .t { font-size: 17px; }
.prw .s { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t3); margin-top: 7px; }

/* sign-in, messages, toast */
.gate { min-height: 100vh; display: grid; place-items: center; }
.gate .card { width: 360px; padding: 32px; }
.gate .brand { padding: 0; margin-bottom: 24px; }
.gate p { color: var(--t2); font-size: 13px; margin: 0 0 18px; }
.gate input { width: 100%; padding: 11px 13px; margin-bottom: 10px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); outline: none; }
.gate input:focus { border-color: var(--blue); }
.gate button { width: 100%; padding: 11px; margin-top: 6px; border: 0; border-radius: 11px; background: var(--blue); font-weight: 600; cursor: pointer; }
.gate button[disabled] { opacity: .6; }
.gate .err { min-height: 18px; color: #ff6961; font-size: 12.5px; margin-top: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; padding: 14px 18px; border-radius: 14px; background: rgba(28, 32, 46, .92); border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px); font-size: 13.5px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: opacity .4s, transform .4s; }
.toast b { color: var(--green); }
.toast.hide { opacity: 0; transform: translateY(10px); }
.loading { color: var(--t3); padding: 80px 0; text-align: center; }
