:root {
  --bg: #0a0c15;
  --card: #0f1320;
  --text: #e6edf7;
  --muted: #a1a9b8;
  --accent: #ef4444;
  --accent2: #f43f5e;
  --border: #1b2135;
  --hero-texture: none;
}
* { box-sizing: border-box; }
html { background-color: #0a0c15; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif; background: radial-gradient(1400px 800px at 12% -20%, rgba(244,63,94,0.18), transparent), radial-gradient(1200px 700px at 90% -10%, rgba(239,68,68,0.15), transparent), var(--bg); color: var(--text); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; background-image: radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 20% 80%, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 30% 40%, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 80% 30%, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 45% 60%, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.6), transparent); opacity: 0.22; pointer-events: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 24px; position: relative; z-index: 1; }
.site-header { background: rgba(10,12,21,0.72); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: conic-gradient(from 220deg at 20% 20%, rgba(244,63,94,0.25), transparent 40%), conic-gradient(from 120deg at 80% 0%, rgba(239,68,68,0.18), transparent 50%); animation: auroraShift 12s ease-in-out infinite alternate; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 40px; }
.brand-logo img { height: 100%; width: auto; display: block; object-fit: contain; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: linear-gradient(90deg, transparent, rgba(239,68,68,0.6), transparent); opacity: 0; transition: opacity .2s ease; }
.nav a:hover::after, .nav a.active::after { opacity: 1; }
.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; transition: all .2s ease; }
.nav a.active, .nav a:hover { color: #fff; background: #141826; border-color: var(--border); box-shadow: 0 6px 14px rgba(244,63,94,0.18); }
h1, h2, h3 { color: #fff; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.01em; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin-bottom: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.reveal { opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity .45s ease, transform .45s ease; }
.reveal.show { opacity: 1; transform: translateY(0) scale(1); }
.btn { display: inline-block; background: linear-gradient(180deg, #ef4444, #b91c1c); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, filter .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(239,68,68,0.28); filter: brightness(1.07); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: linear-gradient(180deg, #7f1d1d, #661414); }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; align-items: center; margin-bottom: 12px; }
input, select { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #2a3147; background: #0b1220; color: #fff; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,68,68,0.22); }
label { color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--border); padding: 18px 0 26px; color: var(--muted); background: radial-gradient(800px 380px at 0% 0%, rgba(15,23,42,0.7), transparent), radial-gradient(800px 380px at 100% 0%, rgba(15,23,42,0.7), transparent), rgba(3,7,18,0.96); position: relative; z-index: 1; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: #6b7280; justify-content: center; text-align: center; }
.footer-dot { opacity: .6; }

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid rgba(255,255,255,0.2);
}
.wa-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}
@media (max-width: 768px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .wa-float span {
    display: none;
  }
}
@media (min-width: 768px) {
  .footer-meta { justify-content: center; }
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; border: 1px solid #2a3147; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gallery img:hover { transform: scale(1.03); box-shadow: 0 10px 22px rgba(239,68,68,0.22); border-color: var(--accent); }

.people-section h3 { margin: 24px 0 8px; font-size: 18px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.person-card { background: transparent; padding: 8px 4px; text-align: center; border: none; box-shadow: none; color: var(--text); }
.person-avatar { width: 80px; height: 96px; border-radius: 22px; margin: 0 auto 8px; background: #020617; display: grid; place-items: center; font-weight: 700; font-size: 28px; color: #e5e7eb; overflow: hidden; border: 1px solid #1f2937; }
.person-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.person-avatar.small { width: 52px; height: 62px; margin: 0; font-size: 20px; }
.person-name { font-weight: 600; font-size: 14px; color: #f9fafb; }
.person-role { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.people-grid-full { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person-card-wide { text-align: left; padding: 8px 0; background: transparent; border: none; box-shadow: none; }
.person-card-header { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.person-meta { font-size: 12px; color: #6b7280; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.stats { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.stat { background: #0b1220; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); color: #e5e7eb; box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.hero { position: relative; padding: 80px 0 56px; display: grid; align-items: center; min-height: auto; background: none; border: none; border-radius: 0; box-shadow: none; overflow: visible; }
.hero-content { max-width: 760px; text-align: left; }
.hero::before,
.hero::after { content: none; }
.hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -0.02em; background: linear-gradient(90deg, #ffffff 0%, #ffe4e6 45%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 span { display: inline-block; background: linear-gradient(90deg, #ff3b3b, #f43f5e, #fecaca); -webkit-background-clip: text; background-clip: text; color: transparent; animation: hueShift 6s ease-in-out infinite alternate; }
.hero-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #a5b4fc; margin-bottom: 10px; }
.hero p { color: var(--muted); max-width: 720px; font-size: 17px; margin-top: 12px; }
.btn-group { margin-top: 16px; display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-pill-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; background: rgba(15,23,42,0.92); border-radius: 999px; padding: 6px 8px; border: 1px solid rgba(31,41,55,0.9); box-shadow: 0 16px 36px rgba(15,23,42,0.9); }
.hero-pill { display: flex; flex-direction: column; min-width: 0; padding: 6px 14px; border-radius: 999px; }
.hero-pill-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #9ca3af; }
.hero-pill-value { font-size: 13px; font-weight: 600; color: #e5e7eb; }

.hero-cta-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.hero-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.rundown-header h3 { margin: 0 0 6px; font-size: 22px; }
.rundown-header p { margin: 0 0 12px; color: var(--muted); }
.rundown-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 8px; }
.rundown-summary-item { background: #0b1220; border-radius: 14px; padding: 10px 12px; border: 1px solid rgba(248,113,113,0.35); box-shadow: 0 10px 24px rgba(15,23,42,0.6); }
.rundown-summary-item .r-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #fecaca; margin-bottom: 4px; }
.rundown-summary-item .r-value { display: block; font-weight: 600; font-size: 14px; }
.rundown-days { margin-top: 18px; background: radial-gradient(900px 600px at 0% -20%, rgba(248,113,113,0.12), transparent), radial-gradient(900px 600px at 100% -20%, rgba(248,113,113,0.12), transparent), #050816; }
.rundown-days .rundown-day { background: rgba(15,23,42,0.9); border-radius: 18px; padding: 16px 18px; border: 1px solid rgba(148,163,184,0.3); box-shadow: 0 16px 36px rgba(15,23,42,0.9); }
.rundown-days .rundown-day + .rundown-day { margin-top: 16px; }
.rundown-day-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.rundown-day-title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.rundown-day-title span:last-child { color: #e5e7eb; }
.rundown-day-time { font-size: 13px; color: #fecaca; }
.rundown-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(148,163,184,0.4); }
.rundown-item { display: flex; gap: 12px; padding: 10px 0 10px 12px; position: relative; }
.rundown-item::before { content: ""; position: absolute; left: -7px; top: 18px; width: 10px; height: 10px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, #fee2e2, #ef4444); box-shadow: 0 0 0 4px rgba(248,113,113,0.25); }
.rundown-time { font-size: 13px; font-weight: 600; color: #fecaca; min-width: 96px; }
.rundown-body { flex: 1; }
.rundown-title { font-weight: 600; color: #f9fafb; margin-bottom: 2px; }
.rundown-meta { font-size: 13px; color: #9ca3af; }
@keyframes hueShift { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(18deg); } }
@keyframes auroraShift { 0% { transform: translate3d(0,0,0); filter: hue-rotate(0deg); } 100% { transform: translate3d(0,2px,0); filter: hue-rotate(10deg); } }
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .hero { padding: 58px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-pill-row { border-radius: 18px; justify-content: center; }
  .hero-pill { border-radius: 14px; background: rgba(15,23,42,0.9); }
  .hero-cta-row { grid-template-columns: 1fr; }
}

.ticket { max-width: 460px; margin: 8px auto 0; background: #ffffff; color: #0b1220; border-radius: 18px; box-shadow: 0 18px 32px rgba(0,0,0,0.35); position: relative; overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; background: #0b1220; transform: translateY(-50%); border-radius: 50%; }
.ticket::before { left: -8px; }
.ticket::after { right: -8px; }
.ticket-head { padding: 10px 18px 8px; display: flex; align-items: center; justify-content: center; }
.ticket-brand { display: flex; align-items: center; gap: 10px; }
.ticket-logo { width: 34px; height: 34px; border-radius: 50%; background: #ef4444; color: #fff; display: grid; place-items: center; font-weight: 700; }
.ticket-div { color: #6b7280; }
.ticket-logo-text { font-weight: 800; letter-spacing: .02em; color: #111827; }
.ticket-body { padding: 12px 18px 18px; }
.ticket-sep { height: 0; border-top: 2px dashed #cbd5e1; margin: 6px 0 12px; }
.ticket-fields { display: grid; gap: 6px; font-size: 14px; grid-template-columns: minmax(0,1fr); }
.ticket-fields .tf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket-fields .tf .k { color: #6b7280; min-width: 115px; }
.ticket-fields .tf .v { color: #0f172a; font-weight: 600; text-align: right; }
.ticket-venue { text-align: center; color: #374151; margin: 8px 0 10px; font-weight: 600; font-size: 13px; }
.ticket-qr { display: grid; place-items: center; padding: 6px 0 2px; }
.ticket-code { display: none; }

@media (min-width: 640px) {
  .ticket-fields { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 20px; }
}

.scanner-box { position: relative; width: 100%; max-width: 440px; height: 300px; margin: 0 auto; border-radius: 16px; background: #0b1220; border: 1px solid var(--border); box-shadow: 0 12px 26px rgba(0,0,0,0.35), 0 0 0 2px rgba(239,68,68,0.08) inset; overflow: hidden; }
.scanner-box #reader { width: 100%; height: 100%; }
.scanner-box::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(90deg, rgba(239,68,68,0.18), rgba(239,68,68,0.0), rgba(239,68,68,0.18)); opacity: .3; pointer-events: none; }
.scanner-box::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 20px; height: 6px; background: linear-gradient(90deg, #6d28d9, #9333ea, #22d3ee); filter: blur(4px); opacity: .8; animation: scanGlow 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes scanGlow { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-8px); opacity: .9; } }
.scan-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.scan-overlay .corner { position: absolute; width: 52px; height: 52px; border: 4px solid rgba(255,255,255,0.9); border-radius: 16px; }
.scan-overlay .corner.tl { left: 22px; top: 22px; border-right: none; border-bottom: none; }
.scan-overlay .corner.tr { right: 22px; top: 22px; border-left: none; border-bottom: none; }
.scan-overlay .corner.bl { left: 22px; bottom: 22px; border-right: none; border-top: none; }
.scan-overlay .corner.br { right: 22px; bottom: 22px; border-left: none; border-top: none; }
.scan-overlay .torch { position: absolute; bottom: 14px; width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35); }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 18px; }
.admin-sidebar { background: #0b1220; border: 1px solid var(--border); border-radius: 16px; padding: 14px; position: sticky; top: 84px; height: fit-content; }
.admin-sidebar a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; border: 1px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: #fff; background: #141826; border-color: var(--border); }
.admin-content { min-height: 400px; }
.admin-topbar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-topbar a { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; color: #fecaca; border: 1px solid rgba(248,113,113,0.45); background: radial-gradient(180% 180% at 10% 0%, rgba(248,113,113,0.25), rgba(127,29,29,0.45)); box-shadow: 0 10px 20px rgba(248,113,113,0.25); transition: background .18s ease, transform .15s ease, box-shadow .18s ease, color .18s ease; }
.admin-topbar a:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(248,113,113,0.35); }
.admin-topbar a.active { background: linear-gradient(180deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 16px 32px rgba(239,68,68,0.45); border-color: rgba(248,113,113,0.8); }
.admin-time { margin: 4px 0 12px; font-size: 12px; color: #9ca3af; }
.admin-time span:last-child { color: #e5e7eb; font-weight: 500; margin-left: 4px; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table thead th { text-align: left; font-weight: 700; color: #cbd5e1; background: #0f1320; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid #1f283f; }
.table tbody tr:hover { background: #0b1220; }

.action-icons { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1f283f;
  background: rgba(15,19,32,0.55);
  color: #e5e7eb;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(20,24,38,0.85);
  border-color: rgba(248,113,113,0.35);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
.icon-btn:active { transform: translateY(0); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.ticket { color: #38bdf8; }
.icon-btn.edit { color: #a7f3d0; }
.icon-btn.danger { color: #fca5a5; border-color: rgba(249,115,115,0.35); }
.icon-btn.danger:hover { border-color: rgba(249,115,115,0.55); background: rgba(249,115,115,0.10); }

.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 12px; border: 1px solid transparent; }
.badge-success { background: rgba(34,197,94,0.14); color: #bbf7d0; border-color: rgba(34,197,94,0.45); }
.badge-muted { background: rgba(148,163,184,0.14); color: #e5e7eb; border-color: rgba(148,163,184,0.35); }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.chart-card { background: #050816; border-radius: 16px; border: 1px solid rgba(148,163,184,0.35); padding: 12px 14px; box-shadow: 0 12px 26px rgba(15,23,42,0.7); }
.chart-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.chart-subtitle { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
.chart-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #020617; border: 1px solid #1f2937; margin-bottom: 6px; }
.chart-bar-small { height: 10px; }
.chart-segment { height: 100%; }
.chart-hadir { background: linear-gradient(90deg, #22c55e, #16a34a); }
.chart-belum { background: linear-gradient(90deg, #4b5563, #1f2937); }
.chart-kaos { background: linear-gradient(90deg, #f97316, #ea580c); }
.chart-kaos-muted { background: linear-gradient(90deg, #4b5563, #111827); }
.chart-jaket { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.chart-jaket-muted { background: linear-gradient(90deg, #4b5563, #020617); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: #9ca3af; }
.chart-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; margin-right: 4px; }
.chart-dot.chart-hadir { background: #22c55e; }
.chart-dot.chart-belum { background: #4b5563; }
.chart-dot.chart-kaos { background: #f97316; }
.chart-dot.chart-kaos-muted { background: #4b5563; }
.chart-dot.chart-jaket { background: #38bdf8; }
.chart-dot.chart-jaket-muted { background: #4b5563; }
.chart-sep { opacity: .6; }
.chart-pie { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-bottom: 6px; }
.chart-pie-circle { width: 110px; height: 110px; border-radius: 999px; background: #020617; border: 4px solid #020617; box-shadow: 0 10px 22px rgba(15,23,42,0.8); position: relative; }
.chart-pie-center { position: absolute; width: 60px; height: 60px; border-radius: 999px; background: #020617; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #e5e7eb; box-shadow: 0 0 0 1px rgba(148,163,184,0.6); }
.chart-pie-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }

.admin-dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,2.2fr) minmax(0,2fr);
  gap: 20px;
  background: radial-gradient(700px 380px at 0% 0%, rgba(248,113,113,0.20), transparent),
              radial-gradient(600px 320px at 100% 0%, rgba(239,68,68,0.18), transparent),
              #050816;
  border-radius: 22px;
  border: 1px solid rgba(248,113,113,0.45);
  box-shadow: 0 22px 48px rgba(0,0,0,0.6);
}
.admin-dashboard-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 6px;
}
.admin-dashboard-hero h2 {
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.admin-dashboard-hero p {
  margin: 0;
  color: var(--muted);
}
.admin-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  align-self: center;
}
.admin-dashboard-summary-item {
  background: rgba(10,10,24,0.9);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(248,113,113,0.55);
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}
.admin-dashboard-summary-item .r-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fecaca;
  margin-bottom: 4px;
}
.admin-dashboard-summary-item .r-value {
  display: block;
  font-weight: 700;
  font-size: 18px;
}
.admin-dashboard-latest { margin-top: 18px; }
.admin-dashboard-latest .grid { margin-top: 12px; }
.admin-dashboard-person {
  background: radial-gradient(500px 260px at 0% 0%, rgba(248,113,113,0.16), transparent),
              #0b1220;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 12px 26px rgba(15,23,42,0.8);
}
.admin-dashboard-person-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.admin-dashboard-person-name {
  font-weight: 600;
  color: #f9fafb;
}
.admin-dashboard-person-role {
  font-size: 13px;
  color: #c4b5fd;
}
.admin-dashboard-person-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 768px) {
  .admin-dashboard-hero {
    grid-template-columns: minmax(0,1fr);
  }
  .admin-dashboard-summary {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
.inline-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inline-form select, .inline-form input { padding: 6px 8px; font-size: 13px; }
.inline-form input { max-width: 150px; }
.inline-form .btn { padding: 8px 10px; font-size: 13px; }

@media (max-width: 768px) {
  .admin-content h2 { font-size: 18px; margin-bottom: 12px; }
  .scanner-box { max-width: 100%; height: 260px; }
  .admin-topbar { overflow-x: auto; padding-bottom: 4px; }
  .admin-topbar a { white-space: nowrap; }
}

@media (max-width: 480px) {
  .container { padding: 18px 14px; }
  .card { padding: 14px; margin-bottom: 12px; }
  .scanner-box { height: 230px; box-shadow: 0 8px 18px rgba(0,0,0,0.35), 0 0 0 1px rgba(239,68,68,0.08) inset; }
  .scan-overlay .corner { width: 42px; height: 42px; border-width: 3px; }
  .scan-overlay .corner.tl { left: 16px; top: 16px; }
  .scan-overlay .corner.tr { right: 16px; top: 16px; }
  .scan-overlay .corner.bl { left: 16px; bottom: 16px; }
  .scan-overlay .corner.br { right: 16px; bottom: 16px; }
  .scan-overlay .torch { bottom: 10px; width: 26px; height: 26px; }
  .btn { width: 100%; text-align: center; }
}
