:root {
  --ink: #090a0c;
  --muted: #6b6361;
  --paper: #fff8f4;
  --white: #ffffff;
  --lime: #d9ff72;
  --purple: #e80b4f;
  --coral: #ff6335;
  --sky: #ffb39d;
  --brand-gradient: linear-gradient(135deg, #ff6837 0%, #f43d3f 52%, #e80b4f 100%);
  --brand-soft: #fff0ec;
  --line: rgba(9, 10, 12, 0.14);
  --soft-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(45, 12, 18, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; letter-spacing: normal; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Baloo Bhai 2", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.seo-fallback { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 80px; }
.seo-fallback header img { width: 230px; height: auto; }
.seo-fallback section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.seo-fallback h1 { max-width: 780px; margin: 10px 0 18px; font: 800 clamp(48px, 8vw, 82px)/1 "Baloo Bhai 2", sans-serif; }
.seo-fallback h2 { font: 800 34px/1.1 "Baloo Bhai 2", sans-serif; }
.seo-fallback p, .seo-fallback li { max-width: 760px; color: var(--muted); line-height: 1.65; }
.seo-fallback a { display: inline-flex; margin-top: 16px; padding: 13px 20px; border-radius: 999px; background: var(--ink); color: white; font-weight: 700; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font: 700 12px/1 "Baloo Bhai 2", sans-serif;
  letter-spacing: normal;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 239, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 "Baloo Bhai 2", sans-serif; letter-spacing: normal; }
.brand-wordmark { display: block; position: relative; width: 202px; aspect-ratio: 2020 / 524; }
.brand-logo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-logo-light { display: none; }
.brand-icon { display: none; position: relative; width: 42px; height: 42px; }
.brand-favicon { display: none; position: absolute; inset: 0; width: 42px; height: 42px; object-fit: contain; }
.sidebar .brand-logo-dark, .login-art .brand-logo-dark, .site-footer .brand-logo-dark, .event-cover .brand-logo-dark { display: none; }
.sidebar .brand-logo-light, .login-art .brand-logo-light, .site-footer .brand-logo-light, .event-cover .brand-logo-light { display: block; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; color: var(--lime); }
.brand-mark .material-symbols-rounded { font-size: 19px; }
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--purple); }
.btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,17,17,.16); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-purple { background: var(--brand-gradient); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: #ffe8e4; color: #a6220b; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.hero { min-height: 780px; padding: 74px 0 86px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { margin: 0; font: 800 clamp(54px, 7vw, 94px)/.97 "Baloo Bhai 2", sans-serif; letter-spacing: normal; max-width: 760px; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 28px 0 34px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.micro-trust { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.micro-trust span { display: inline-flex; gap: 7px; align-items: center; }
.micro-trust .material-symbols-rounded { color: var(--purple); font-size: 17px; font-variation-settings: "FILL" 1; }
.visual-stage { position: relative; min-height: 570px; }
.photo-accent { position: absolute; inset: 7% 0 2% 8%; border-radius: 42px; background: var(--brand-gradient); transform: rotate(-4deg); }
.hero-photo-frame { position: absolute; inset: 1% 7% 4% 4%; margin: 0; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.8deg); background: #211d24; }
.hero-photo-frame::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.hero-photo-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-meta { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 25px; color: white; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.hero-photo-meta strong { display: block; font: 700 18px/1.2 "Baloo Bhai 2"; }
.hero-photo-meta span:not(.material-symbols-rounded) { font-size: 12px; opacity: .8; }
.photo-status { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 999px; color: var(--ink); background: var(--lime); font-weight: 800; font-size: 11px; white-space: nowrap; }
.photo-status .material-symbols-rounded { font-size: 16px; }
.floating-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.72); box-shadow: 0 14px 40px rgba(17,17,17,.18); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; }
.floating-chip .material-symbols-rounded { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); font-size: 18px; }
.floating-chip.uploaded { right: 0; top: 10%; transform: rotate(3deg); }
.floating-chip.live { left: -3%; bottom: 8%; transform: rotate(-3deg); }
.section { padding: 110px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-purple { background: var(--brand-gradient); color: var(--white); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 58px; }
.section-head h2, .sim-copy h2, .cta-band h2 { margin: 0; font: 800 clamp(38px, 5vw, 66px)/1.04 "Baloo Bhai 2", sans-serif; letter-spacing: normal; max-width: 760px; }
.section-head p { color: #aaa9a5; max-width: 420px; margin: 0; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 30px; min-height: 330px; border: 1px solid var(--soft-line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.step:nth-child(2) { background: var(--brand-gradient); color: var(--white); border-color: transparent; transform: translateY(22px); }
.step:nth-child(3) { background: var(--white); color: var(--ink); border-color: var(--white); }
.step-number { font: 800 14px/1 "Baloo Bhai 2"; opacity: .6; }
.step-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; border: 1px solid currentColor; }
.step-icon .material-symbols-rounded { font-size: 31px; }
.step h3 { margin: 0 0 10px; font: 700 24px/1.2 "Baloo Bhai 2"; letter-spacing: normal; }
.step p { margin: 0; opacity: .67; line-height: 1.6; }
.use-cases { background: #fff3ee; }
.use-cases-head p { color: var(--muted); }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use-case-grid article { min-height: 240px; padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid rgba(9,10,12,.07); box-shadow: 0 12px 36px rgba(45,12,18,.05); }
.use-case-grid article > .material-symbols-rounded { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-soft); color: var(--purple); font-size: 27px; font-variation-settings: "FILL" 1; }
.use-case-grid h3 { margin: 42px 0 10px; font: 750 21px/1.15 "Baloo Bhai 2", sans-serif; }
.use-case-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.sim-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px; align-items: center; }
.sim-copy p { color: var(--muted); line-height: 1.7; font-size: 17px; max-width: 510px; }
.included { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.included li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.included li::before { content: "check"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--purple); font: 700 18px/1 "Material Symbols Rounded"; font-variation-settings: "FILL" 1; }
.simulator { background: var(--white); border-radius: 30px; padding: 38px; box-shadow: var(--shadow); }
.simulator h3 { margin: 0 0 24px; font: 750 24px/1.2 "Baloo Bhai 2"; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(232,11,79,.13); }
.price-result { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.price-result small { display: block; color: var(--muted); margin-bottom: 5px; }
.price { font: 800 42px/1 "Baloo Bhai 2"; letter-spacing: normal; }
.days-badge { background: var(--brand-soft); color: #bd123e; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.test-badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 8px 11px; margin-bottom: 18px; border-radius: 999px; background: #fff1dc; color: #7b5600; font-size: 11px; font-weight: 800; }
.test-badge .material-symbols-rounded { font-size: 16px; }
.test-result .price { font-size: 34px; }
.simulator .btn { width: 100%; margin-top: 24px; }
.faq-section { background: var(--ink); color: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: 118px; }
.faq-intro h2 { margin: 0; font: 800 clamp(38px, 5vw, 58px)/1.04 "Baloo Bhai 2", sans-serif; max-width: 520px; }
.faq-intro > p:last-child { color: #aaa9a5; line-height: 1.65; max-width: 470px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--soft-line); border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; }
.faq-list summary { min-height: 70px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .material-symbols-rounded { flex: 0 0 auto; transition: transform .2s ease; }
.faq-list details[open] summary .material-symbols-rounded { transform: rotate(180deg); }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: #c2c0bc; line-height: 1.65; }
.cta-band { padding: 92px 0; text-align: center; }
.cta-band h2 { margin-inline: auto; max-width: 850px; }
.cta-band p { opacity: .78; margin: 22px auto 30px; font-size: 18px; }
.cta-band .btn-lime { background: var(--white); color: var(--ink); }
.contact-section { background: #f1eee8; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: 70px; align-items: start; }
.contact-copy { position: sticky; top: 118px; }
.contact-copy h2 { max-width: 520px; margin: 0 0 18px; font: 800 clamp(42px, 5vw, 64px)/1.02 "Baloo Bhai 2", sans-serif; }
.contact-copy > p:not(.eyebrow) { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-points { display: grid; gap: 11px; margin-top: 30px; }
.contact-points > span { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.contact-points .material-symbols-rounded { color: var(--purple); }
.contact-card { padding: 34px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }
.contact-feedback { min-height: 22px; margin: 12px 0 0; font-size: 13px; font-weight: 700; }
.contact-feedback.is-success { color: #287423; }
.contact-feedback.is-error { color: #a63220; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.site-footer { background: var(--ink); color: var(--white); padding: 46px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #aaa9a5; font-size: 13px; }
.footer-row .brand { color: var(--white); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #cfcdc8; }
.footer-links a:hover { color: white; }
.modal-shell { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; background: rgba(17,17,17,.65); backdrop-filter: blur(10px); }
.modal { width: min(590px, 100%); max-height: calc(100vh - 44px); overflow: auto; background: var(--paper); border-radius: 28px; padding: 32px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.modal h2 { margin: 0; font: 800 32px/1.08 "Baloo Bhai 2"; letter-spacing: normal; }
.icon-button { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.icon-button .material-symbols-rounded { font-size: 21px; }
.btn-google { width: 100%; min-height: 50px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 5px 18px rgba(9,10,12,.06); }
.btn-google:hover { background: #fffdfc; }
.google-letter { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 43%, #fbbc05 0 68%, #ea4335 0); color: white; font: 800 14px/1 Arial, sans-serif; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-divider span { white-space: nowrap; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 4px 0 12px; padding: 4px; border-radius: 14px; background: #e9e7e1; }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 700 13px/1 "Baloo Bhai 2"; cursor: pointer; transition: .2s ease; }
.auth-tabs button.active { background: var(--white); color: var(--ink); box-shadow: 0 4px 14px rgba(17,17,17,.08); }
.auth-tabs button:focus-visible { outline: 3px solid rgba(232,11,79,.24); outline-offset: 2px; }
.auth-note { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.auth-link { display: block; width: fit-content; margin: -5px 0 16px auto; padding: 0; border: 0; background: transparent; color: var(--purple); font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.google-account { min-height: 70px; margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: var(--brand-soft); display: flex; align-items: center; gap: 12px; }
.google-account > .material-symbols-rounded { color: var(--purple); font-size: 30px; }
.google-account div { min-width: 0; display: grid; flex: 1; }
.google-account small { color: var(--muted); font-size: 11px; }
.google-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.google-account button { border: 0; background: transparent; color: var(--purple); font: 700 12px/1 "Baloo Bhai 2"; cursor: pointer; }
.order-summary { background: var(--ink); color: white; border-radius: 18px; padding: 20px; margin: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.order-summary strong { font: 800 24px/1 "Baloo Bhai 2"; }
.legal { color: var(--muted); font-size: 12px; line-height: 1.5; }
.legal a, .legal-consent a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.legal-agreement { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.56); }
.legal-agreement .material-symbols-rounded { flex: 0 0 auto; margin-top: 1px; color: var(--purple); font-size: 18px; }
.legal-consent { display: flex; align-items: start; gap: 9px; margin: 16px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.legal-consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--purple); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: white; border-radius: 999px; padding: 13px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 15px 40px rgba(0,0,0,.22); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #aa2e1a; }

/* Participant upload */
.event-page { min-height: 100vh; background: #fff0eb; padding: 24px; display: grid; place-items: center; }
.phone-shell { width: min(520px, 100%); background: var(--white); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.event-cover { min-height: 220px; padding: 30px; background: var(--ink); color: white; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.event-cover::after { display: none; }
.event-cover .brand { position: relative; z-index: 1; }
.event-cover h1 { position: relative; z-index: 1; margin: 42px 0 0; font: 800 38px/1.03 "Baloo Bhai 2"; letter-spacing: normal; max-width: 370px; }
.upload-area { padding: 28px; }
.upload-area h2 { margin: 0 0 8px; font: 750 24px/1.2 "Baloo Bhai 2"; }
.drop-zone { margin: 22px 0; min-height: 210px; border: 2px dashed rgba(232,11,79,.34); border-radius: 20px; background: #fff7f4; display: grid; place-items: center; text-align: center; padding: 24px; cursor: pointer; overflow: hidden; position: relative; }
.drop-zone.drag { border-color: var(--purple); background: var(--brand-soft); }
.drop-zone img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.drop-copy { position: relative; z-index: 1; }
.drop-zone.has-image .drop-copy { background: rgba(17,17,17,.72); color: white; padding: 12px 16px; border-radius: 999px; }
.drop-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.upload-status { padding: 16px; border-radius: 14px; background: #eefbe9; color: #23691e; line-height: 1.5; }

/* Admin */
.admin-layout { min-height: 100vh; background: #f4f3ef; display: grid; grid-template-columns: 252px 1fr; }
.sidebar { background: var(--ink); color: white; padding: 26px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-nav { margin-top: 42px; display: grid; gap: 7px; }
.side-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 0; border-radius: 12px; background: transparent; color: #aaa9a5; text-align: left; cursor: pointer; }
.side-nav button.active, .side-nav button:hover { background: rgba(255,255,255,.1); color: white; }
.side-nav .material-symbols-rounded { font-size: 20px; }
.sidebar-foot { margin-top: auto; }
.admin-main { padding: 36px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 34px; }
.admin-top h1 { margin: 0; font: 800 34px/1.1 "Baloo Bhai 2"; letter-spacing: normal; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-gradient); color: white; display: grid; place-items: center; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { background: white; border-radius: 18px; padding: 20px; border: 1px solid rgba(17,17,17,.06); }
.stat span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat strong { display: block; margin-top: 10px; font: 800 30px/1 "Baloo Bhai 2"; }
.stat strong.operation-online { display: flex; align-items: center; gap: 6px; color: #287423; font-size: 18px; }
.operation-online .material-symbols-rounded { color: inherit; font-size: 15px; font-variation-settings: "FILL" 1; }
.panel { background: white; border: 1px solid rgba(17,17,17,.06); border-radius: 22px; padding: 24px; margin-bottom: 20px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.panel h2 { margin: 0; font: 750 21px/1.2 "Baloo Bhai 2"; }
.events-list { display: grid; gap: 10px; }
.event-row { border: 1px solid var(--line); border-radius: 15px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.event-row.is-closed { background: #faf9f6; }
.event-row h3 { margin: 0 0 5px; font-size: 15px; }
.event-meta { color: var(--muted); font-size: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: end; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; }
.photo-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9e7e0; }
.photo-info { padding: 11px; }
.photo-info p { margin: 0 0 10px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.status-chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #fff4d4; color: #856000; font-size: 11px; font-weight: 700; }
.status-chip.is-closed { background: #e8e7e3; color: #5e5d59; }
.retention-note { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 11px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff4d4; color: #76570a; font-size: 11px; line-height: 1.4; }
.retention-note .material-symbols-rounded { font-size: 17px; }
.retention-note.photos-deleted { background: #ecebe8; color: #65635e; }
.retention-policy { display: flex; align-items: start; gap: 9px; margin: 2px 0 20px; padding: 13px; border-radius: 12px; background: #fff4d4; color: #76570a; font-size: 12px; line-height: 1.5; }
.retention-policy .material-symbols-rounded { font-size: 19px; }
.retention-warning { display: flex; align-items: start; gap: 13px; padding: 18px; border-radius: 16px; background: #fff1dc; color: #6b4c00; }
.retention-warning > .material-symbols-rounded { font-size: 25px; }
.retention-warning p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.modal-actions { display: flex; justify-content: end; gap: 9px; margin-top: 24px; }
.empty { text-align: center; color: var(--muted); padding: 54px 20px; border: 1px dashed var(--line); border-radius: 16px; }
.qr-box { background: white; padding: 16px; border-radius: 16px; display: inline-block; }
.qr-box img, .qr-box canvas { width: 180px !important; height: 180px !important; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.login-art { color: white; padding: 64px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 25% 20%, rgba(255,99,53,.82), transparent 34%), radial-gradient(circle at 80% 76%, rgba(232,11,79,.42), transparent 28%), #090a0c; }
.login-art h1 { font: 800 clamp(45px, 6vw, 78px)/.98 "Baloo Bhai 2"; letter-spacing: normal; max-width: 620px; margin: 0; }
.login-form-wrap { background: var(--paper); padding: 50px; display: grid; place-items: center; }
.login-form { width: min(420px, 100%); }
.login-form h2 { font: 800 34px/1.1 "Baloo Bhai 2"; letter-spacing: normal; margin: 0 0 10px; }
.login-form form { margin-top: 30px; }
.login-form > .btn-google { margin-top: 26px; }
.login-form .auth-divider + form { margin-top: 0; }
.login-form .btn { width: 100%; }

/* Master */
.master-layout { grid-template-columns: 270px 1fr; }
.master-sidebar { background: linear-gradient(165deg, #231014 0%, #090a0c 60%); }
.master-badge { width: fit-content; display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; padding: 7px 10px; border-radius: 999px; background: var(--brand-soft); color: #bd123e; font: 800 10px/1 "Baloo Bhai 2"; letter-spacing: normal; }
.master-badge .material-symbols-rounded { font-size: 15px; }
.sidebar-badge { background: rgba(216,255,99,.12); color: var(--lime); border: 1px solid rgba(216,255,99,.25); }
.master-profile { display: flex; align-items: center; gap: 13px; }
.master-profile > div:first-child { display: grid; text-align: right; font-size: 13px; }
.master-profile span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.master-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.master-stat-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.master-stat-grid .stat { min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.master-stat-grid .stat strong { font-size: clamp(25px, 2.4vw, 36px); }
.master-stat-grid .stat small { display: block; color: var(--muted); font-size: 12px; }
.master-stat-grid .featured-stat { background: var(--ink); color: white; border-color: var(--ink); }
.master-stat-grid .featured-stat span, .master-stat-grid .featured-stat small { color: #aaa9a5; }
.master-stat-grid .featured-stat strong { color: #ff7042; }
.master-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 20px; }
.compact-copy { margin: 5px 0 0; font-size: 13px; }
.revenue-chart { height: 250px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; padding-top: 18px; }
.revenue-column { height: 100%; display: grid; grid-template-rows: 30px 1fr 24px; align-items: end; text-align: center; min-width: 0; }
.revenue-value { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.revenue-track { height: 100%; border-radius: 10px; background: #f0eee9; display: flex; align-items: end; overflow: hidden; }
.revenue-track span { width: 100%; min-height: 3px; border-radius: 10px; background: linear-gradient(180deg, var(--coral), var(--purple)); }
.revenue-column b { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.health-list { display: grid; }
.health-list > div { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.health-list > div:last-child { border-bottom: 0; }
.health-list span { color: var(--muted); font-size: 13px; }
.health-list strong { font: 800 20px/1 "Baloo Bhai 2"; }
.data-table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.data-table th { padding: 11px 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: normal; text-transform: uppercase; text-align: left; white-space: nowrap; }
.data-table td { padding: 15px 13px; border-bottom: 1px solid rgba(17,17,17,.08); font-size: 13px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td strong, .data-table td small { display: block; }
.data-table td small { margin-top: 4px; max-width: 300px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-chip, .sale-status { display: inline-flex; align-items: center; width: fit-content; padding: 6px 9px; border-radius: 999px; background: var(--brand-soft); color: #bd123e; font-size: 10px; font-weight: 800; }
.sale-status.is-paid, .status-chip.is-paid { background: #eaf9e7; color: #287423; }
.sale-status.is-pending { background: #fff4d4; color: #856000; }
.sale-status.is-failed { background: #ffebe7; color: #a63220; }
.settings-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 20px; align-items: start; }
.integration-panel { border-top: 4px solid var(--purple); }
.integration-state { display: inline-flex; align-items: center; gap: 7px; color: #8a6711; background: #fff4d4; padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.integration-state .material-symbols-rounded { color: #d9a51c; font-size: 11px; font-variation-settings: "FILL" 1; }
.integration-state.connected { color: #287423; background: #eaf9e7; }
.integration-state.connected .material-symbols-rounded { color: #40a238; }
.secure-note { display: flex; gap: 9px; align-items: start; margin: 18px 0; padding: 13px; border-radius: 12px; background: var(--brand-soft); color: #a91439; font-size: 12px; line-height: 1.45; }
.secure-note .material-symbols-rounded { font-size: 18px; }
.smtp-panel { border-top: 4px solid var(--coral); }
.message-list { display: grid; gap: 13px; }
.message-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.message-card.is-resolved { background: #faf9f6; opacity: .78; }
.message-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.message-card-head h3 { margin: 10px 0 0; font: 750 19px/1.2 "Baloo Bhai 2"; }
.message-card-head time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.message-card > p { margin: 16px 0; color: #4f4d49; line-height: 1.6; white-space: pre-wrap; }
.message-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.message-meta span { display: inline-flex; align-items: center; gap: 5px; }
.message-meta .material-symbols-rounded { font-size: 16px; color: var(--purple); }
.master-login .login-art { background: radial-gradient(circle at 24% 20%, rgba(255,99,53,.88), transparent 35%), radial-gradient(circle at 75% 75%, rgba(232,11,79,.38), transparent 28%), #090a0c; }

/* Slideshow */
.slideshow { position: fixed; inset: 0; background: #070707; color: white; overflow: hidden; }
.slide-content { position: absolute; inset: 0; overflow: hidden; }
.slide-frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1.25s ease-in-out; will-change: opacity; }
.slide-frame.is-active { opacity: 1; z-index: 2; }
.slide-frame.is-leaving { opacity: 0; z-index: 1; }
.slide-blur { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(30px) brightness(.36); transform: scale(1.08); opacity: .65; }
.slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.slide-bar { position: absolute; z-index: 5; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.slide-title { text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.slide-title strong { display: block; font: 800 clamp(24px,3vw,44px)/1 "Baloo Bhai 2"; letter-spacing: normal; }
.slide-title span { opacity: .72; font-size: 14px; }
.slide-qr { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.9); color: var(--ink); padding: 10px 14px 10px 10px; border-radius: 14px; }
.slide-qr img, .slide-qr canvas { width: 58px !important; height: 58px !important; }
.slide-qr b { font-size: 12px; max-width: 110px; }
.fullscreen { position: absolute; z-index: 6; right: 28px; top: 24px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.24); color: white; }
.waiting-screen { height: 100%; display: grid; place-items: center; text-align: center; padding: 30px; }
.waiting-screen h1 { font: 800 clamp(42px,7vw,90px)/.98 "Baloo Bhai 2"; letter-spacing: normal; margin: 0 0 18px; }
@media (prefers-reduced-motion: reduce) {
  .slide-frame { transition-duration: .01ms; }
}
.success-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--brand-gradient); }
.success-card { width: min(620px, 100%); padding: 46px; border-radius: 30px; background: white; text-align: center; box-shadow: var(--shadow); }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--lime); font-size: 32px; font-weight: 800; }
.success-icon .material-symbols-rounded { font-size: 40px; font-variation-settings: "FILL" 1; }
.success-card h1 { font: 800 40px/1.05 "Baloo Bhai 2"; letter-spacing: normal; margin: 0 0 14px; }

/* Legal */
.legal-header { position: static; background: white; }
.legal-page { background: #f7f5f0; min-height: 70vh; }
.legal-hero { padding: 76px 0 66px; background: var(--ink); color: white; }
.legal-hero h1 { max-width: 820px; margin: 8px 0 14px; font: 800 clamp(44px, 7vw, 78px)/.98 "Baloo Bhai 2"; letter-spacing: normal; }
.legal-hero p { max-width: 720px; margin: 0 0 20px; color: #c8c6c1; font-size: 18px; line-height: 1.6; }
.legal-hero small { color: #94918b; }
.legal-document { width: min(900px, calc(100% - 40px)); padding-top: 64px; padding-bottom: 80px; }
.legal-document > section { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 13px; font: 750 25px/1.2 "Baloo Bhai 2"; letter-spacing: normal; }
.legal-document p, .legal-document li { color: #4f4d49; font-size: 15px; line-height: 1.75; }
.legal-document li + li { margin-top: 7px; }
.legal-document a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal-document .legal-contact { padding: 28px; border: 1px solid #f0d9a6; border-radius: 20px; background: #fff9e9; }
.legal-contact dl { margin: 20px 0 0; display: grid; gap: 12px; }
.legal-contact dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.legal-contact dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.legal-contact dd { margin: 0; font-size: 14px; font-weight: 650; }
.legal-contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.legal-contact-form > p { margin: -5px 0 24px; }
.legal-contact-form .contact-form { margin-top: 20px; }

@media (max-width: 920px) {
  .hero-grid, .sim-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .visual-stage { min-height: 520px; max-width: 650px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .faq-intro { position: static; }
  .contact-copy { position: static; }
  .step { min-height: 260px; }
  .step:nth-child(2) { transform: none; }
  .section-head { display: block; }
  .section-head p { margin-top: 20px; }
  .admin-layout { grid-template-columns: 78px 1fr; }
  .sidebar { padding: 24px 13px; }
  .sidebar .brand-wordmark { display: none; }
  .sidebar .brand-icon { display: block; }
  .sidebar .brand-favicon-light { display: block; }
  .sidebar .brand span:last-child, .side-nav button span:last-child, .sidebar-foot span { display: none; }
  .side-nav button { justify-content: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .master-layout { grid-template-columns: 78px 1fr; }
  .master-stat-grid { grid-template-columns: 1fr 1fr; }
  .master-columns, .settings-grid { grid-template-columns: 1fr; }
  .sidebar-badge { display: none; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .login-page { grid-template-columns: 1fr; }
  .login-art { min-height: 300px; padding: 36px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .nav .brand-wordmark { width: 145px; }
  .nav-links a:not(.btn) { display: none; }
  .nav .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(47px, 15vw, 66px); }
  .hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .visual-stage { min-height: 400px; }
  .hero-photo-frame { inset: 0 4% 5% 5%; }
  .floating-chip.uploaded { right: -1%; }
  .section { padding: 80px 0; }
  .use-case-grid { grid-template-columns: 1fr; }
  .simulator { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .price-result { align-items: center; }
  .footer-row { flex-direction: column; align-items: start; }
  .legal-hero { padding: 58px 0 50px; }
  .legal-document { width: min(100% - 28px, 900px); padding-top: 46px; }
  .legal-contact dl div { grid-template-columns: 1fr; gap: 3px; }
  .contact-card, .legal-contact-form { padding: 24px; }
  .modal { padding: 24px; }
  .event-page { padding: 0; display: block; background: white; }
  .phone-shell { min-height: 100vh; border-radius: 0; box-shadow: none; }
  .admin-layout { display: block; }
  .sidebar { position: fixed; z-index: 30; bottom: 0; top: auto; width: 100%; height: 66px; padding: 8px 14px; flex-direction: row; align-items: center; }
  .sidebar .brand, .sidebar-foot { display: none; }
  .side-nav { margin: 0; display: flex; width: 100%; justify-content: space-around; }
  .side-nav button { padding: 11px 16px; }
  .admin-main { padding: 24px 16px 92px; }
  .admin-top { align-items: start; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .master-stat-grid, .master-stat-grid.compact { grid-template-columns: 1fr 1fr; }
  .master-profile > div:first-child { display: none; }
  .master-layout .side-nav button { padding: 11px 12px; }
  .revenue-chart { gap: 7px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 1fr; }
  .row-actions { justify-content: start; }
  .login-form-wrap { padding: 42px 24px; }
  .slide-bar { left: 16px; right: 16px; bottom: 15px; }
  .slide-qr b { display: none; }
}
