/* NG Notes — sito e area clienti/admin. Font Urbanist dal template Sandbox. */
@font-face { font-family: Urbanist; src: url(../fonts/urbanist/Urbanist-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/urbanist/Urbanist-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/urbanist/Urbanist-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/urbanist/Urbanist-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --primary: #1e5eff;
  --primary-dark: #1546c9;
  --violet: #7c3aed;
  --grad: linear-gradient(120deg, #1e5eff, #7c3aed);
  --text: #1d2433;
  --muted: #687089;
  --bg: #ffffff;
  --bg-alt: #f3f6fd;
  --surface: #ffffff;
  --border: #e3e8f3;
  --green: #12a150;
  --red: #e5484d;
  --amber: #d98b00;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(25, 45, 105, 0.09);
  --shadow-lg: 0 24px 70px rgba(25, 45, 105, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 Urbanist, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.ic { fill: currentColor; flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.center { text-align: center; }
.hidden { display: none !important; }
.grow { flex: 1; min-width: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.pt-0 { padding-top: 0 !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: rgba(30, 94, 255, .08); padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(30, 94, 255, .3); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(30, 94, 255, .4); }
.btn-light { background: #fff; color: var(--text); border-color: var(--border); }
.btn-light:hover { border-color: #c5cee3; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-white { background: #fff; color: var(--primary); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; margin-top: 10px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.row-btns.center { justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); color: var(--primary); }
.icon-btn.done { color: var(--green); }

/* Barra superiore */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(227, 232, 243, .7); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none !important; }
.brand img { border-radius: 10px; }
.brand-light { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a:not(.btn) { color: var(--text); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav > a:not(.btn):hover { background: var(--bg-alt); text-decoration: none; }
.nav .lang { display: inline-flex; align-items: center; gap: 4px; color: var(--muted) !important; font-size: .9rem; }
.nav-sep { width: 1px; height: 26px; background: var(--border); margin: 0 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-sep { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 110px; background: radial-gradient(1000px 500px at 85% 10%, rgba(124, 58, 237, .12), transparent 60%), radial-gradient(900px 600px at 0% 0%, rgba(30, 94, 255, .12), transparent 55%), #f7f9ff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-cta.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--green); }
.hero-visual { position: relative; min-height: 460px; }
.hero-photo { position: absolute; inset: 0 0 0 40px; border-radius: 28px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.hero-device { position: absolute; left: -10px; bottom: -40px; width: 64%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-card .ic { color: #fff; background: var(--grad); border-radius: 12px; padding: 9px; width: 42px; height: 42px; }
.float-card b { display: block; }
.float-card small { color: var(--muted); }
.float-a { top: 26px; right: -14px; }
.float-b { bottom: 24px; right: -14px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin-top: 10px; }
  .hero-photo { left: 0; }
  .float-a { right: 10px; }
  .float-b { right: 10px; }
}
@media (max-width: 640px) {
  .hero-device { display: none; }
  .hero-visual { min-height: 300px; }
  .float-card { padding: 10px 14px; }
}

/* Cornici dispositivo per gli screenshot */
.device { margin: 0; background: #11131a; padding: 12px; border-radius: 26px; box-shadow: var(--shadow-lg); }
.device img { border-radius: 16px; width: 100%; }

.strip { background: #fff; border-bottom: 1px solid var(--border); margin-top: -40px; position: relative; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transform: translateY(-30px); }
.strip-grid > div { padding: 26px 24px; display: grid; gap: 4px; }
.strip-grid > div + div { border-left: 1px solid var(--border); }
.strip-grid .ic { color: var(--primary); margin-bottom: 4px; }
.strip-grid span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--border); }
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(30, 94, 255, .09); color: var(--primary); margin-bottom: 16px; }
.feature:nth-child(3n+2) .feature-ic { background: rgba(124, 58, 237, .1); color: var(--violet); }
.feature:nth-child(3n) .feature-ic { background: rgba(18, 161, 80, .1); color: var(--green); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 96px; }
.split-rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media .photo { border-radius: 26px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.illu { position: absolute; width: 110px; background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow); }
.illu-a { right: -24px; bottom: -28px; }
.illu-b { left: -24px; top: -28px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-media { order: 0; }
  .illu { width: 84px; }
  .illu-a { right: 8px; }
  .illu-b { left: 8px; }
}

.shots { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } .shots > :first-child { grid-column: 1 / -1; } }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: how; }
.how { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow); }
.how img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 14px; }
.how-n { position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.how p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 1000px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 26px; justify-content: center; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.price-card .check-list { flex: 1; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price span { font-size: 2.8rem; font-weight: 800; letter-spacing: -.02em; }
.price small { color: var(--muted); font-weight: 600; }
.ribbon { position: absolute; top: -14px; right: 24px; background: var(--grad); color: #fff; font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 99px; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--primary); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.cta-band { color: #fff; padding: 96px 0; background-size: cover; background-position: center; }
.cta-band .lead { color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 auto; }

/* Pagine interne */
.page-hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 100% 0, rgba(124, 58, 237, .1), transparent 60%), #f7f9ff; }
.page-hero.small { padding: 40px 0 28px; }
.page-hero + .section { padding-top: 40px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(25, 45, 105, .03); }
.card h3 { display: flex; align-items: center; gap: 8px; }
.card h3 .ic { color: var(--primary); }
.card.center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 26px; }
.card.center > .ic { margin-bottom: 10px; }
.download-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.download-card img { border-radius: 22px; }
.download-card h2 { margin: 0; font-size: 1.6rem; }
.download-card p { margin: 0; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step > b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.notes { color: var(--muted); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.flashes { margin-top: 18px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 500; }
.alert-success { background: #e9f8ef; color: #0c6b37; }
.alert-error { background: #fdecec; color: #b42328; }
.alert-info { background: #eaf1ff; color: #1546c9; }

/* Moduli */
.auth { padding: 60px 20px 90px; background: radial-gradient(800px 400px at 50% 0, rgba(30, 94, 255, .1), transparent 70%), #f7f9ff; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.9rem; }
.auth-links { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 20px; font-size: .95rem; }
.form { display: grid; gap: 14px; margin-top: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form label small { color: var(--muted); font-weight: 500; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form label.check input { margin-top: 4px; }
input, select, textarea { font: inherit; color: var(--text); }
.form input:not([type=checkbox]), .form select, .form textarea, .inline-form input, .filters input, .filters select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus, .inline-form input:focus, .filters input:focus, .filters select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 94, 255, .12); }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 26px 0 18px; font-weight: 600; font-size: .85rem; text-transform: uppercase; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
@media (max-width: 520px) { .inline-form { flex-direction: column; } .auth-card { padding: 26px 20px; } }

/* Area clienti */
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-head h1 { font-size: 2rem; margin: 0; }
.account-head p { margin: 0; }
.account-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.h-sec { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin: 6px 0 16px; }
.h-sec .ic { color: var(--primary); }
.license-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(25, 45, 105, .03); }
.license-card.is-new { border: 2px solid var(--green); box-shadow: 0 0 0 6px rgba(18, 161, 80, .1); }
.license-card.is-revoked { opacity: .7; }
.license-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.code { display: flex; align-items: center; gap: 4px; font: 700 1.35rem/1.3 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .04em; }
.license-device { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; background: var(--bg-alt); border-radius: 14px; flex-wrap: wrap; }
.license-device b, .license-device small { display: block; }
.device-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--muted); }
.device-ic.on { color: var(--green); }
.hint { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-green { background: #e3f6eb; color: #0c7a3f; }
.badge-red { background: #fde8e8; color: #b42328; }
.badge-blue { background: #e7efff; color: #1546c9; }
.badge-violet { background: #f0e8ff; color: #6427c9; }
.badge-gray { background: #eef0f5; color: #555e74; }
.badge-amber { background: #fff3dc; color: #8a5a00; }
.small-steps { padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.empty-state h3 { justify-content: center; }
@media (max-width: 960px) { .account-grid { grid-template-columns: 1fr; } }

.buy-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; max-width: 980px; align-items: start; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; background: #fafbfe; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbff; }
.table td small { display: block; color: var(--muted); }

.prose h2 { font-size: 1.3rem; margin-top: 28px; }
.prose p { color: #3c465c; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(15, 22, 40, .45); display: grid; place-items: center; padding: 20px; animation: fade .15s; }
.dialog { background: #fff; border-radius: 20px; padding: 26px; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); }
.dialog p { font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; }
.dialog .row-btns { justify-content: flex-end; }
@keyframes fade { from { opacity: 0; } }

/* Footer */
.footer { background: #0f1630; color: #b8c0d9; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a:not(.brand) { display: flex; align-items: center; gap: 6px; color: #b8c0d9; padding: 3px 0; }
.footer a:not(.brand):hover { color: #fff; text-decoration: none; }
.footer-text { margin-top: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 22px 20px; font-size: .88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 90px; }
  .split + .split { margin-top: 64px; }
}

/* ---------- Admin ---------- */
.admin { background: #f4f6fb; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #0f1630; color: #b8c0d9; padding: 22px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-side .brand { color: #fff; padding: 0 10px 22px; }
.admin-side .brand small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8a94b8; font-weight: 700; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; color: #b8c0d9; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.admin-nav a.active { background: var(--grad); color: #fff; }
.admin-side .admin-user { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.admin-side .admin-user button { background: none; border: 0; color: #b8c0d9; cursor: pointer; padding: 6px 0; display: flex; align-items: center; gap: 6px; font: inherit; }
.admin-main { padding: 30px 34px 60px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.8rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 26px; }
.stat { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); display: flex; gap: 14px; align-items: center; }
.stat .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(30, 94, 255, .09); color: var(--primary); }
.stat:nth-child(2) .ic { background: rgba(18, 161, 80, .1); color: var(--green); }
.stat:nth-child(3) .ic { background: rgba(124, 58, 237, .1); color: var(--violet); }
.stat:nth-child(4) .ic { background: rgba(217, 139, 0, .12); color: var(--amber); }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; }
.stat small { color: var(--muted); font-weight: 600; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters input { flex: 1; min-width: 220px; }
.filters select { width: auto; }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; align-items: center; color: var(--muted); }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.actions form { margin: 0; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; word-break: break-word; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.timeline li:last-child { border-bottom: 0; }
.secret { white-space: pre-line; display: flex; gap: 8px; align-items: center; background: var(--bg-alt); border-radius: 10px; padding: 8px 12px; word-break: break-all; }
.admin-mobile-bar { display: none; }
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; position: fixed; inset: 0; z-index: 100; height: auto; }
  .admin-side.open { display: flex; }
  .admin-mobile-bar { display: flex; align-items: center; justify-content: space-between; background: #0f1630; color: #fff; padding: 10px 16px; }
  .admin-mobile-bar button { background: none; border: 0; color: #fff; }
  .admin-main { padding: 22px 16px 50px; }
  .grid-2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
