/* Voksa — memakai identitas BAMAHA Digital (teal #052325 + lime #baff2b, Manrope + Inter) */
:root {
  --bg: #052325;
  --bg-alt: #031a1c;
  --surface: rgba(241, 250, 244, .045);
  --surface-2: rgba(241, 250, 244, .08);
  --text: #f1faf4;
  --muted: #9db8b5;
  --line: rgba(241, 250, 244, .12);
  --line-strong: rgba(241, 250, 244, .22);
  --accent: #baff2b;
  --accent-ink: #052325;
  --accent-soft: rgba(186, 255, 43, .12);
  --link: #baff2b;
  --ok: #baff2b;
  --warn: #ffb547;
  --crit: #ff8a7a;
  --header-bg: rgba(5, 35, 37, .86);
  --phone-bg: #0b1418;
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) {
    --bg: #f5faf6;
    --bg-alt: #e9f2ec;
    --surface: #ffffff;
    --surface-2: #eef6f1;
    --text: #052325;
    --muted: #4e6866;
    --line: rgba(5, 35, 37, .12);
    --line-strong: rgba(5, 35, 37, .22);
    --accent: #baff2b;
    --accent-ink: #052325;
    --accent-soft: rgba(59, 110, 0, .1);
    --link: #3b6e00;
    --ok: #3b6e00;
    --warn: #a35f00;
    --crit: #b3261e;
    --header-bg: rgba(245, 250, 246, .88);
    --phone-bg: #e4ece6;
    color-scheme: light;
  }
}
html[data-theme="light"] {
    --bg: #f5faf6;
    --bg-alt: #e9f2ec;
    --surface: #ffffff;
    --surface-2: #eef6f1;
    --text: #052325;
    --muted: #4e6866;
    --line: rgba(5, 35, 37, .12);
    --line-strong: rgba(5, 35, 37, .22);
    --accent: #baff2b;
    --accent-ink: #052325;
    --accent-soft: rgba(59, 110, 0, .1);
    --link: #3b6e00;
    --ok: #3b6e00;
    --warn: #a35f00;
    --crit: #b3261e;
    --header-bg: rgba(245, 250, 246, .88);
    --phone-bg: #e4ece6;
    color-scheme: light;
  }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hl { color: var(--accent); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .hl { color: var(--link); }
}
html[data-theme="light"] .hl { color: var(--link); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { text-decoration: none; color: var(--text); }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-full .logo-img { height: 56px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 420px) { .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font: 600 .95rem var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 8px 30px -6px rgba(186, 255, 43, .55); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-danger { background: transparent; color: var(--crit); border-color: var(--crit); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .85rem; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 var(--section); background: radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .ticks li::before { color: var(--link); }
}
html[data-theme="light"] .ticks li::before { color: var(--link); }

.founding .ticks { flex-direction: column; }

/* Phone mockup */
.phone { justify-self: center; width: min(340px, 100%); }
.phone-screen { background: var(--phone-bg); border: 1px solid var(--line-strong); border-radius: 34px; padding: 22px 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 12px; }
.phone-top { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; padding: 0 4px 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.rec { background: var(--crit); }
.card-mini { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.card-mini p { margin: 0; }
.mini-h { font-size: .72rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px !important; }
.mini-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-tasks li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mini-tasks em { font-style: normal; color: var(--muted); font-size: .8rem; }
.chk { width: 14px; height: 14px; border: 2px solid var(--line-strong); border-radius: 4px; flex: none; position: relative; top: 2px; }
.chk.done { background: var(--accent); border-color: var(--accent); }
.toast { background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .82rem; padding: 10px 12px; border-radius: 12px; }
.mock-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 10px; }

/* Sections */
.section { padding: var(--section) 0; }
.section.alt { background: var(--bg-alt); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li, .feature, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; font-family: var(--font-display); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature p, .steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps, .features { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); }
.compare td:last-child, .compare thead th:last-child { color: var(--accent); font-weight: 600; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .compare td:last-child, html:not([data-theme="dark"]) .compare thead th:last-child { color: var(--link); }
}
html[data-theme="light"] .compare td:last-child, html[data-theme="light"] .compare thead th:last-child { color: var(--link); }

.compare tbody tr:last-child > * { border-bottom: 0; }

/* Founding + forms */
.founding { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .founding { grid-template-columns: 1fr; } }
.form { display: grid; gap: 14px; }
.form h3, .form h1 { margin-bottom: 4px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 13px; }
textarea { min-height: 260px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.survey summary { cursor: pointer; font-weight: 500; color: var(--link); }
.survey[open] { display: grid; gap: 10px; }
.alert { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); }
.alert.ok { border-color: var(--ok); }
.alert.err { border-color: var(--crit); color: var(--crit); }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { margin: 0; font-size: 1.02rem; }
.faq details p { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.hi { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); flex: 1; }
.plan li::before { content: "✓ "; color: var(--accent); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .plan li::before { color: var(--link); }
}
html[data-theme="light"] .plan li::before { color: var(--link); }

.badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* Prose (legal / guide) */
.prose { max-width: 760px; padding-block: 56px var(--section); }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote, .prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin: 1em 0; white-space: pre-wrap; font-size: .92rem; }

.cta-final { background: radial-gradient(800px 300px at 50% 100%, var(--accent-soft), transparent 70%); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.by-bamaha img { height: 40px; width: auto; margin-bottom: 8px; }
.site-footer .logo-full .logo-img { height: 48px; margin-bottom: 4px; }
.logo-on-light { display: none !important; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .logo-on-dark { display: none !important; }
html:not([data-theme="dark"]) .logo-on-light { display: block !important; }
}
html[data-theme="light"] .logo-on-dark { display: none !important; }
html[data-theme="light"] .logo-on-light { display: block !important; }


/* App */
.app-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.app-side { border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 24px; background: var(--bg-alt); }
.app-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.app-nav a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-weight: 500; }
.app-nav a:hover, .app-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.app-main { padding: clamp(20px, 3vw, 36px); max-width: 1100px; width: 100%; }
.app-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.app-head h1 { font-size: 1.8rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.list-item a { color: var(--text); text-decoration: none; font-weight: 600; }
.list-item p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.task { display: flex; gap: 12px; align-items: flex-start; }
.task form { margin: 0; }
.task-btn { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong); background: transparent; cursor: pointer; flex: none; margin-top: 2px; padding: 0; }
.task-btn.done { background: var(--accent); border-color: var(--accent); }
.task.is-done .task-text { text-decoration: line-through; color: var(--muted); }
.meta { font-size: .82rem; color: var(--muted); }
.pill { display: inline-block; font-size: .75rem; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.pill.late { border-color: var(--crit); color: var(--crit); }
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 10px 12px; border-radius: 8px; word-break: break-all; display: block; }
.danger-zone { border-color: var(--crit) !important; }
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
  .app-nav { display: flex; flex-wrap: wrap; }
  .grid2, .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.jc { justify-content: center; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.auth { max-width: 460px; }
.inline { display: inline; margin: 0; }
.stack { display: grid; gap: 20px; }

/* ================= v2: tampilan modern ================= */
:root { --c-meeting: #baff2b; --c-topic: #8fa9ff; --c-person: #f1faf4; --c-decision: #ffb547; --c-task: #5ee6c4; --c-risk: #ff8a7a; --glass: rgba(241,250,244,.05); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) { --c-meeting: #4f8a00; --c-topic: #3858e9; --c-person: #052325; --c-decision: #b36b00; --c-task: #0f8a72; --c-risk: #b3261e; --glass: rgba(255,255,255,.7); }
}
html[data-theme="light"] { --c-meeting: #4f8a00; --c-topic: #3858e9; --c-person: #052325; --c-decision: #b36b00; --c-task: #0f8a72; --c-risk: #b3261e; --glass: rgba(255,255,255,.7); }


.grad { background: linear-gradient(100deg, var(--accent) 10%, #5ee6c4 60%, #8fa9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .grad { background-image: linear-gradient(100deg, #3b6e00, #0f8a72 55%, #3858e9); }
}
html[data-theme="light"] .grad { background-image: linear-gradient(100deg, #3b6e00, #0f8a72 55%, #3858e9); }


.hero2 { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden;
  background: radial-gradient(900px 480px at 50% -8%, rgba(186,255,43,.16), transparent 65%), radial-gradient(700px 420px at 90% 30%, rgba(143,169,255,.10), transparent 60%); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); opacity: .55; pointer-events: none; }
.hero2-copy { position: relative; max-width: 920px; }
.hero2 h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); letter-spacing: -.035em; margin-top: 18px; }
.hero2 .lead { max-width: 720px; margin-inline: auto; }
.chip-link { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--glass); color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; backdrop-filter: blur(8px); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }

/* App window mockup */
.window { position: relative; margin-top: clamp(40px, 6vw, 64px); border-radius: 22px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(241,250,244,.06), rgba(241,250,244,.02)); box-shadow: 0 50px 120px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(186,255,43,.06), 0 0 80px -20px rgba(186,255,43,.18); overflow: hidden; backdrop-filter: blur(10px); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .window { background: #fff; box-shadow: 0 40px 100px -40px rgba(5,35,37,.35); }
}
html[data-theme="light"] .window { background: #fff; box-shadow: 0 40px 100px -40px rgba(5,35,37,.35); }

.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.window-bar p { margin: 0 auto; font-size: .8rem; color: var(--muted); padding: 3px 14px; border-radius: 8px; background: var(--surface-2); }
.window-body { display: grid; grid-template-columns: 190px 1fr 290px; min-height: 480px; }
.win-side { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; font-size: .9rem; }
.win-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: var(--muted); }
.win-side li { padding: 8px 10px; border-radius: 8px; }
.win-side li.on { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.win-brand { margin: 0 0 6px; }
.win-brand .logo-img { height: 22px; }
.win-stat { margin-top: auto; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.win-stat b { display: block; font: 800 1.6rem var(--font-display); color: var(--accent); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .win-stat b { color: var(--link); }
}
html[data-theme="light"] .win-stat b { color: var(--link); }

.win-stat span { font-size: .78rem; color: var(--muted); }
.win-graph { position: relative; min-width: 0; }
.win-panel { border-left: 1px solid var(--line); padding: 18px 16px; display: grid; gap: 10px; align-content: start; }
.win-card { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: .86rem; }
.win-card p { margin: 0; }
.tag { display: inline-block; font-size: .68rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px !important; }
.tag-d { color: var(--c-decision); } .tag-t { color: var(--c-task); } .tag-r { color: var(--c-risk); }
.mini-tasks span em { display: block; }
@media (max-width: 1000px) { .window-body { grid-template-columns: 1fr 260px; } .win-side { display: none; } }
@media (max-width: 720px) { .window-body { grid-template-columns: 1fr; } .win-panel { border-left: 0; border-top: 1px solid var(--line); } }

/* Knowledge graph */
.kg-box { position: relative; width: 100%; height: 100%; min-height: 420px; }
.kg-box.tall { min-height: 560px; }
.kg-svg { width: 100%; height: 100%; display: block; position: absolute; inset: 0; touch-action: none; cursor: grab; }
.kg-link { stroke: var(--line-strong); stroke-width: 1.2; transition: stroke .2s, opacity .2s; }
.kg-link.on { stroke: var(--accent); stroke-width: 2; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .kg-link.on { stroke: var(--link); }
}
html[data-theme="light"] .kg-link.on { stroke: var(--link); }

.kg-node { cursor: pointer; transition: opacity .2s; outline: none; }
.kg-shape { stroke-width: 2; transition: transform .2s; }
.kg-node.t-meeting .kg-shape { fill: var(--c-meeting); stroke: var(--bg); }
.kg-node.t-meeting .kg-halo { fill: none; stroke: var(--c-meeting); stroke-opacity: .25; stroke-width: 2; }
.kg-node.t-topic .kg-shape { fill: var(--bg); stroke: var(--c-topic); stroke-width: 3; }
.kg-node.t-person .kg-shape { fill: var(--surface-2); stroke: var(--c-person); }
.kg-node.t-decision .kg-shape { fill: var(--c-decision); stroke: var(--bg); }
.kg-node.t-task .kg-shape { fill: var(--c-task); stroke: var(--bg); }
.kg-node.t-risk .kg-shape { fill: var(--c-risk); stroke: var(--bg); }
.kg-initial { fill: var(--text); font: 700 11px var(--font-display); pointer-events: none; }
.kg-label { fill: var(--text); font: 600 11px var(--font-body); pointer-events: none; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.kg-label-hover { opacity: 0; }
.kg-node.t-meeting .kg-label { font-size: 12px; font-weight: 700; }
.kg-focused .kg-node { opacity: .18; }
.kg-focused .kg-link { opacity: .12; }
.kg-focused .kg-node.on, .kg-focused .kg-link.on { opacity: 1; }
.kg-focused .kg-node.on .kg-label-hover { opacity: 1; }
.kg-node:focus-visible .kg-shape { stroke: var(--accent); stroke-width: 3; }
.kg-legend { position: absolute; top: 12px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .74rem; color: var(--muted); }
.lg::before, .fchip::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: currentColor; }
.lg.t-meeting::before, .fchip.t-meeting::before { background: var(--c-meeting); }
.lg.t-topic::before, .fchip.t-topic::before { background: transparent; border: 2px solid var(--c-topic); width: 7px; height: 7px; }
.lg.t-person::before, .fchip.t-person::before { background: var(--c-person); }
.lg.t-decision::before, .fchip.t-decision::before { background: var(--c-decision); border-radius: 2px; transform: rotate(45deg); }
.lg.t-task::before, .fchip.t-task::before { background: var(--c-task); }
.fchip.t-risk::before { background: var(--c-risk); }
.kg-stage { margin-top: 36px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); overflow: hidden; }
.kg-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.fchip { display: inline-flex; align-items: center; gap: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .84rem; cursor: pointer; user-select: none; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip:has(input:not(:checked)) { opacity: .45; text-decoration: line-through; }
.fchip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.kg-layout { display: grid; grid-template-columns: 1fr 320px; }
.kg-panel { border-left: 1px solid var(--line); padding: 20px; font-size: .92rem; overflow-y: auto; max-height: 560px; }
.kg-panel h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.kg-panel ul { margin: 4px 0 10px; padding-left: 18px; color: var(--muted); }
.kg-p-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.kg-p-type.t-meeting { color: var(--c-meeting); } .kg-p-type.t-topic { color: var(--c-topic); } .kg-p-type.t-person { color: var(--text); } .kg-p-type.t-decision { color: var(--c-decision); } .kg-p-type.t-task { color: var(--c-task); } .kg-p-type.t-risk { color: var(--c-risk); }
.kg-p-h { font-size: .78rem; font-weight: 600; color: var(--muted); margin: 14px 0 0; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .kg-layout { grid-template-columns: 1fr; } .kg-panel { border-left: 0; border-top: 1px solid var(--line); max-height: none; } .kg-box.tall { min-height: 440px; } }

/* Flow */
.flow { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), #5ee6c4, #8fa9ff, transparent); opacity: .5; }
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-step h3 { margin-top: 16px; }
.flow-step p { color: var(--muted); font-size: .92rem; }
.flow-ico { width: 76px; height: 76px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 0 0 6px var(--bg), 0 0 40px -10px rgba(186,255,43,.4); position: relative; }
.flow-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.flow-ico svg circle { fill: var(--accent-soft); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .flow-ico svg { stroke: var(--link); }
}
html[data-theme="light"] .flow-ico svg { stroke: var(--link); }

.wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.wave i { width: 3px; border-radius: 3px; background: var(--accent); animation: wv 1.1s ease-in-out infinite; height: 40%; }
.wave i:nth-child(2n) { animation-delay: .15s; } .wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(4n) { animation-delay: .45s; }
@keyframes wv { 50% { height: 100%; } }
.wave.big { height: 60px; gap: 5px; margin-top: 18px; } .wave.big i { width: 5px; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .wave i { background: var(--link); }
}
html[data-theme="light"] .wave i { background: var(--link); }

.lines { display: grid; gap: 5px; width: 34px; } .lines i { height: 4px; border-radius: 3px; background: var(--accent); } .lines i:nth-child(2) { width: 75%; background: var(--c-decision); } .lines i:nth-child(3) { width: 55%; background: var(--c-task); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; gap: 28px 14px; } .flow::before { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 2; } }
.ticks.col { flex-direction: column; gap: 10px; margin-top: 8px; }
.narrow-head { max-width: 760px; margin: 0 auto; }

/* Note card w/ tabs */
.note-card, .acc-card, .chat { border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); padding: 20px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.6); }
.note-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.note-title { font: 700 1.15rem var(--font-display); margin: 0; }
.pill-live { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--text); white-space: nowrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.tabs button { font: 600 .88rem var(--font-body); color: var(--muted); background: none; border: 0; padding: 10px 12px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab-panel { min-height: 150px; font-size: .95rem; }
.dec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dec-list li { padding: 10px 12px 10px 34px; border-radius: 10px; background: var(--surface-2); position: relative; }
.dec-list li::before { content: ""; position: absolute; left: 13px; top: 16px; width: 9px; height: 9px; background: var(--c-decision); transform: rotate(45deg); border-radius: 2px; }
.dec-list.risk li::before { background: var(--c-risk); border-radius: 50%; transform: none; }
.task-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.task-table th { text-align: left; font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; }
.task-table td { padding: 10px 8px; border-top: 1px solid var(--line); }
.av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); font: 700 .72rem var(--font-display); margin-right: 8px; vertical-align: middle; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line-strong); display: grid; gap: 12px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline b { font-family: ui-monospace, Menlo, monospace; color: var(--muted); margin-right: 8px; font-weight: 500; }

/* Accountability */
.acc { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.acc li { display: flex; gap: 12px; align-items: center; }
.acc li > div { flex: 1; }
.acc p { margin: 0 0 6px; font-weight: 600; display: flex; justify-content: space-between; }
.acc em { font-style: normal; color: var(--muted); font-weight: 400; font-size: .85rem; }
.acc .av { width: 34px; height: 34px; margin: 0; }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #5ee6c4); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.bar.warn span { background: linear-gradient(90deg, var(--warn), var(--crit)); }
.wa-bubble { background: #0b3b32; color: #e9fdf2; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: .9rem; }
.wa-bubble .mini-h { color: #9fd9c4 !important; }
.wa-bubble p { margin: 0; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .wa-bubble { background: #dcf8c6; color: #052325; }
html:not([data-theme="dark"]) .wa-bubble .mini-h { color: #3b6e00 !important; }
}
html[data-theme="light"] .wa-bubble { background: #dcf8c6; color: #052325; }
html[data-theme="light"] .wa-bubble .mini-h { color: #3b6e00 !important; }

.seat-meter { margin: 20px 0; } .seat-meter .bar { height: 10px; }

/* Chat */
.chat { display: grid; gap: 12px; }
.chat-head { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-ai { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 800 .7rem var(--font-display); }
.msg { padding: 12px 14px; border-radius: 14px; font-size: .93rem; max-width: 92%; }
.msg p { margin: 0 0 6px; }
.msg.user { justify-self: end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; font-weight: 500; }
.msg.ai { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg .tool { font-family: ui-monospace, Menlo, monospace; font-size: .76rem; color: var(--muted); }
.msg .cite { font-size: .78rem; color: var(--muted); margin: 8px 0 0; opacity: 0; transition: opacity .4s; }
.msg.done .cite, .msg .cite:only-child { opacity: 1; }
.msg.ai:not(:has([data-typewriter])) .cite { opacity: 1; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.b { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--surface); position: relative; overflow: hidden; }
.b p { color: var(--muted); margin: 0; }
.b-wide { grid-column: span 2; background: radial-gradient(500px 200px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; } }
.glass { background: var(--glass); backdrop-filter: blur(12px); border-color: var(--line-strong); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .wave i, .chip-dot { animation: none; } }
.b-full { grid-column: 1 / -1; background: radial-gradient(600px 200px at 0% 100%, rgba(143,169,255,.12), transparent 70%), var(--surface); }

/* ===== App v2 ===== */
.app-side { gap: 20px; }
.app-nav a { display: flex; align-items: center; gap: 10px; }
.app-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.side-cta { width: 100%; }
.app-main { max-width: 1240px; }
.app-head h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.app-head .sub { margin: 4px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: var(--surface); position: relative; overflow: hidden; }
.kpi b { display: block; font: 800 2rem/1.1 var(--font-display); margin: 4px 0 2px; }
.kpi .k-l { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.kpi .k-s { font-size: .82rem; color: var(--muted); }
.kpi.accent { background: radial-gradient(300px 120px at 100% 0, var(--accent-soft), transparent 70%), var(--surface); }
.kpi.warn b { color: var(--crit); }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
.ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.dash { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 18px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-h h2 { font-size: 1.05rem; margin: 0; }
.panel-h a { font-size: .85rem; text-decoration: none; }
.panel.graph-panel { padding: 0; overflow: hidden; }
.panel.graph-panel .panel-h { padding: 16px 18px 0; }
.panel.graph-panel .kg-box { min-height: 360px; }
.dec-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dec-feed li { padding: 10px 12px 10px 32px; border-radius: 12px; background: var(--surface-2); position: relative; font-size: .92rem; }
.dec-feed li::before { content: ""; position: absolute; left: 12px; top: 15px; width: 8px; height: 8px; background: var(--c-decision); transform: rotate(45deg); border-radius: 2px; }
.dec-feed .meta a { color: var(--muted); }
.acc.compact { gap: 12px; margin: 0; }
.acc.compact .av { width: 30px; height: 30px; }
.meet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.meet { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--text); transition: border-color .2s; }
.meet:hover { border-color: var(--accent); }
.meet-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; }
.meet-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .meet-ico svg { stroke: var(--link); }
}
html[data-theme="light"] .meet-ico svg { stroke: var(--link); }

.meet b { display: block; font-weight: 600; }
.meet p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: .72rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.chip.t { border-color: var(--c-topic); color: var(--c-topic); }
.task-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.task-row:first-child { border-top: 0; }
.task-row form { margin: 0; }
.task-row.is-done .task-text { text-decoration: line-through; color: var(--muted); }
.dash-side { display: grid; gap: 18px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: 1fr 1fr; } .dash { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }
.graph-page { border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); overflow: hidden; }
.graph-page .kg-box { min-height: calc(100vh - 260px); }
.graph-page .kg-panel { max-height: calc(100vh - 260px); }
.zoom-ctrl { margin-left: auto; display: flex; gap: 6px; }
.zoom-ctrl button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); cursor: pointer; font-size: 1rem; }
.group { margin-bottom: 18px; }
.group-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.group-h a { color: var(--text); font-weight: 700; text-decoration: none; font-family: var(--font-display); }
.person-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.person-card .ph { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.person-card .ph .av { width: 40px; height: 40px; margin: 0; font-size: .9rem; }
.person-card .ph b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .ins-grid { grid-template-columns: 1fr; } }
.search { display: flex; gap: 8px; max-width: 420px; }
.flex1 { flex: 1; } .late-t { color: var(--crit); } .meet-hero { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: radial-gradient(500px 180px at 100% 0, var(--accent-soft), transparent 70%), var(--surface); margin-bottom: 18px; } .meet-hero h1 { margin: 6px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); } .meet-hero .lead { margin: 0; color: var(--text); opacity: .9; } .q-list { margin: 0; padding-left: 18px; color: var(--muted); }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 1.5rem; } .ring { display: none; } .side-cta { width: auto; } }
.app-main .plans { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 8px; } .app-main .plan .price { font-size: 1.6rem; } .app-main .plan .h3 { font-size: 1.05rem; }

/* ===== Toggle tema ===== */
.theme-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.theme-toggle button { width: 30px; height: 30px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.theme-toggle button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.theme-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* ===== App shell v3: sidebar profesional ===== */
.app-shell { grid-template-columns: 264px minmax(0, 1fr); }
.app-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 16px 16px; gap: 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--bg-alt); }
.side-top { display: flex; align-items: center; justify-content: space-between; }
.side-close { display: none; }
.side-cta { width: 100%; justify-content: center; gap: 6px; }
.side-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.side-nav { display: grid; gap: 4px; }
.side-label { margin: 10px 12px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.app-nav a { padding: 10px 12px; font-size: .93rem; }
.side-bottom { margin-top: auto; display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.side-quota { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.side-quota:hover { border-color: var(--accent); }
.sq-head { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; }
.sq-head span { color: var(--muted); }
.sq-foot { font-size: .78rem; color: var(--link); font-weight: 600; }
.side-theme { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.side-user { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.side-user form { margin: 0; }
.su-text { display: grid; min-width: 0; line-height: 1.25; }
.su-text strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-text span { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-lg { width: 36px; height: 36px; margin: 0; font-size: .9rem; background: #052325; color: #baff2b; border-color: transparent; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.app-topbar { display: none; }
.app-main { padding: clamp(20px, 3vw, 40px); max-width: 1280px; }
.side-overlay { position: fixed; inset: 0; background: rgba(3, 26, 28, .55); backdrop-filter: blur(2px); z-index: 60; }
body.no-scroll { overflow: hidden; }
@media (max-width: 960px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-topbar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 50; padding: 10px 16px; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .app-topbar .brand { margin-right: auto; }
  .app-side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 70; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 20px 0 60px -20px rgba(0,0,0,.5); border-right: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .app-side.open { transform: none; }
  .side-close { display: grid; }
  .app-nav { display: grid; }
}

/* ===== Langganan: status ===== */
.bill-status { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.bill-card { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.bill-card .k-l { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.bill-plan { flex-direction: column; align-items: flex-start; gap: 6px; background: radial-gradient(360px 160px at 100% 0, var(--accent-soft), transparent 70%), var(--surface); }
.bill-plan p { margin: 0; }
.bill-plan .btn { margin-top: 8px; }
.bill-plan-name { font: 800 1.9rem/1.1 var(--font-display); }
.bill-q { margin: 0 0 2px; }
.bill-q strong { font: 800 1.5rem var(--font-display); }
.ring-lg { --p: 0; flex: none; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); }
.ring-lg.warn { background: conic-gradient(var(--crit) calc(var(--p) * 1%), var(--surface-2) 0); }
.ring-lg::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg); }
.ring-lg span { position: relative; z-index: 1; display: grid; text-align: center; line-height: 1; }
.ring-lg b { font: 800 1.7rem var(--font-display); }
.ring-lg small { font-size: .72rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 1100px) { .bill-status { grid-template-columns: 1fr 1fr; } .bill-plan { grid-column: 1 / -1; } }
@media (max-width: 600px) { .bill-status { grid-template-columns: 1fr; } }
.side-top .side-close { display: none; }
@media (max-width: 960px) { .side-top .side-close { display: grid; } }
.bill-card > div:last-child { min-width: 0; }
