/* Tema administrativo alinhado à identidade VS Car. */
.admin-shell {
  --admin-bg: #0c0b08;
  --admin-surface: #15130e;
  --admin-surface-raised: #1b1811;
  --admin-border: rgba(242, 193, 78, .18);
  --admin-border-soft: rgba(255, 255, 255, .09);
  --admin-text: #f5f1e7;
  --admin-muted: #a7a093;
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-shell .admin-topbar {
  background: #0a0907;
  border-bottom-color: rgba(242, 193, 78, .38);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}

.admin-shell .admin-sidebar {
  position: sticky;
  top: 72px;
  align-self: flex-start;
  height: calc(100vh - 72px);
  max-height: calc(100vh - 72px);
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #12100c 0%, #0c0b08 100%);
  border-right-color: var(--admin-border-soft);
  scrollbar-color: #806529 transparent;
  scrollbar-width: thin;
}

.admin-shell .admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-shell .admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-shell .admin-sidebar::-webkit-scrollbar-thumb { background: #806529; border-radius: 20px; }

.admin-shell .sidebar-section { padding: .6rem .7rem .42rem; color: #777064; font-size: .52rem; font-weight: 900; letter-spacing: .15em; line-height: 1.3; }
.admin-shell .sidebar-dev-label { color: #f2c14e; }
.admin-shell .sidebar-divider { height: 1px; margin: .75rem .35rem; background: var(--admin-border-soft); }

.admin-shell .admin-sidebar .admin-nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 39px;
  margin: .18rem 0;
  padding: .6rem .7rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #bdb6a8;
  font-size: .71rem;
  font-weight: 550;
  letter-spacing: .005em;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.admin-shell .admin-sidebar .admin-nav-link .nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #8b8477;
  transition: color .2s, transform .2s;
}

.admin-shell .admin-sidebar .admin-nav-link .nav-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.admin-shell .admin-sidebar .admin-nav-link:hover .nav-icon {
  color: #f2c14e;
  transform: translateX(1px);
}

.admin-shell .admin-sidebar .admin-nav-link:hover {
  background: rgba(242, 193, 78, .08);
  border-color: rgba(242, 193, 78, .2);
  color: #fffaf0;
}

.admin-shell .admin-sidebar .admin-nav-link.active {
  background: linear-gradient(90deg, rgba(242, 193, 78, .22), rgba(242, 193, 78, .045));
  border-color: rgba(242, 193, 78, .38);
  box-shadow: inset 3px 0 0 #f2c14e, 0 8px 22px rgba(0, 0, 0, .12);
  color: #ffe18a;
}

.admin-shell .admin-sidebar .admin-nav-link.active .nav-icon { color: #f2c14e; }
.admin-shell .admin-sidebar .admin-nav-link.external-link { margin-top: .3rem; }

.admin-shell .admin-sidebar .external-link { color: #a49c8d; }
.admin-shell .admin-content {
  background: radial-gradient(circle at 82% 0%, rgba(192, 145, 35, .08), transparent 28rem), #0c0b08;
}

.admin-shell .admin-page-header h1,
.admin-shell .admin-content h2,
.admin-shell .admin-content h3,
.admin-shell .admin-section-heading h2,
.admin-shell .table-card-header h2 {
  color: var(--admin-text);
}

.admin-shell .admin-page-header p,
.admin-shell .settings-description,
.admin-shell .settings-panel small {
  color: var(--admin-muted);
}

.admin-shell .text-muted,
.admin-shell .admin-content .text-muted,
.admin-shell .admin-content .form-text {
  color: #b3ab9d !important;
}

.admin-shell .text-primary,
.admin-shell .eyebrow.text-primary {
  color: #f2c14e !important;
}

.admin-shell .admin-content .h3,
.admin-shell .admin-content .h5,
.admin-shell .admin-content .h6,
.admin-shell .admin-content p,
.admin-shell .admin-content li,
.admin-shell .admin-content label {
  color: inherit;
}

.admin-shell .admin-overview-banner {
  border-color: var(--admin-border);
  background: linear-gradient(105deg, #1b1811, #262015);
  box-shadow: 0 15px 38px rgba(0, 0, 0, .2);
}

.admin-shell .admin-stat-card,
.admin-shell .admin-quick-card,
.admin-shell .admin-table-card,
.admin-shell .settings-panel,
.admin-shell .admin-content .card {
  border-color: var(--admin-border-soft) !important;
  background: linear-gradient(145deg, rgba(28, 25, 17, .98), rgba(18, 16, 11, .98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  color: var(--admin-text);
}

.admin-shell .admin-stat-card strong,
.admin-shell .admin-quick-card,
.admin-shell .settings-switch strong {
  color: var(--admin-text);
}

.admin-shell .stat-label,
.admin-shell .admin-stat-card small,
.admin-shell .admin-quick-card small,
.admin-shell .empty-state,
.admin-shell .settings-switch p {
  color: var(--admin-muted) !important;
}

.admin-shell .admin-quick-card:hover {
  border-color: rgba(242, 193, 78, .5) !important;
  background: linear-gradient(145deg, #292315, #18140c);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
}

.admin-shell .table-card-header,
.admin-shell .settings-panel-heading {
  border-bottom-color: var(--admin-border-soft);
}

.admin-shell .admin-table-card table th { color: #a89d89; }
.admin-shell .admin-table-card table td { color: #c0b8aa; border-color: rgba(255, 255, 255, .07); }
.admin-shell .table { --bs-table-color: #c0b8aa; --bs-table-bg: transparent; --bs-table-border-color: rgba(255, 255, 255, .08); }
.admin-shell .admin-table-card table tbody tr:hover { background: rgba(242, 193, 78, .05); }
.admin-shell .participant-cell a { color: #f4d277; }
.admin-shell .table-action,
.admin-shell .table-card-header > a { color: #f2c14e; }

.admin-shell .settings-panel-heading h2 { color: #fffaf0; }
.admin-shell .settings-panel-number { color: #f2c14e; }
.admin-shell .settings-panel .form-label { color: #d8d0c0; }

.admin-shell .settings-panel .form-control,
.admin-shell .settings-panel .form-select,
.admin-shell .admin-content .form-control,
.admin-shell .admin-content .form-select {
  border-color: #4a4130;
  background-color: #0d0d0b;
  color: #f6f1e6;
}

.admin-shell .settings-panel .form-control::placeholder,
.admin-shell .admin-content .form-control::placeholder { color: #756f63; }
.admin-shell .settings-panel .form-control:focus,
.admin-shell .settings-panel .form-select:focus,
.admin-shell .admin-content .form-control:focus,
.admin-shell .admin-content .form-select:focus {
  border-color: #f2c14e;
  box-shadow: 0 0 0 .2rem rgba(242, 193, 78, .14);
}

.admin-shell .settings-switch {
  border-color: var(--admin-border-soft);
  background: rgba(255, 255, 255, .035);
}

.admin-shell .campaign-current-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.25rem;
  color: #f2c14e;
  font-size: 1.15rem;
  font-weight: 800;
}

.admin-shell .campaign-current-meta span { display: flex; flex-direction: column; gap: .25rem; }
.admin-shell .campaign-current-meta small,
.admin-shell .admin-campaigns-table td small { color: #8e877a; font-size: .62rem; letter-spacing: .1em; }
.admin-shell .campaign-action-form { margin-top: .5rem; }
.admin-shell .campaign-action-form span { margin-left: .45rem; }
.admin-shell .campaign-closed-note { color: #bdb4a5; font-size: .78rem; }
.admin-shell .campaign-status-badge { display: inline-flex; align-items: center; padding: .35rem .6rem; border: 1px solid; border-radius: 999px; font-size: .6rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .campaign-status-draft { border-color: rgba(180, 170, 150, .35); color: #c7bdad; }
.admin-shell .campaign-status-active { border-color: rgba(112, 214, 157, .4); color: #9de1b7; }
.admin-shell .campaign-status-pending { border-color: rgba(160, 132, 255, .42); color: #c4aeff; }
.admin-shell .campaign-status-paused { border-color: rgba(242, 193, 78, .45); color: #f2c14e; }
.admin-shell .campaign-status-closed,
.admin-shell .campaign-status-finished { border-color: rgba(255, 116, 94, .4); color: #ff9d8d; }
.admin-shell .admin-campaigns-table td { vertical-align: middle; }
.admin-shell .admin-campaigns-table td:first-child { color: #f5f1e7; }
.admin-shell .admin-campaigns-table td:first-child strong,
.admin-shell .admin-campaigns-table td:first-child small { display: block; }
.admin-shell .official-info-note { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-left: 3px solid #f2c14e; border-radius: 0 8px 8px 0; background: rgba(242, 193, 78, .07); color: #bdb4a5; font-size: .76rem; line-height: 1.55; }
.admin-shell .official-info-note strong { color: #f2c14e; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .official-info-note a { color: #f2c14e; }
.admin-shell .draw-options { display: grid; gap: .85rem; }
.admin-shell .draw-option { display: flex; gap: 1rem; padding: 1.15rem; border: 1px solid var(--admin-border-soft); border-radius: 10px; background: rgba(255,255,255,.035); }
.admin-shell .draw-option-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid rgba(242,193,78,.4); border-radius: 10px; color: #f2c14e; }
.admin-shell .draw-option h3 { margin: 0; color: #f5f1e7; font-size: .9rem; }
.admin-shell .draw-option p { margin: .35rem 0 .9rem; color: #b3ab9d; font-size: .74rem; line-height: 1.5; }
.admin-shell .draw-option .btn-outline-primary { border-color: #c89b3c; color: #f2c14e; }
.admin-shell .draw-option .btn-outline-primary:hover { background: #f2c14e; color: #171108; }
.admin-shell .draw-option .form-control { min-height: 40px; }

body:has(.broadcast-page) .admin-topbar,
body:has(.broadcast-page) .admin-sidebar { display: none; }
body:has(.broadcast-page) .admin-layout { display: block; min-height: 100vh; }
body:has(.broadcast-page) .admin-content { min-height: 100vh; padding: 0; }
body:has(.broadcast-page) .admin-content > .container-fluid { max-width: none; padding: 0 !important; }
.broadcast-page { position: relative; min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 50% 5%, rgba(200,155,60,.16), transparent 27rem), radial-gradient(circle at 15% 75%, rgba(107,57,20,.13), transparent 22rem), #080806; color: #fff; }
.broadcast-page::before { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.025) 50%, transparent 52%); content: ""; pointer-events: none; }
.broadcast-topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1rem, 4vw, 3.5rem); border-bottom: 1px solid rgba(242,193,78,.2); }
.broadcast-brand { display: flex; align-items: center; gap: .75rem; }
.broadcast-brand .brand-symbol { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c89b3c; border-radius: 50%; color: #f2c14e; font-size: .7rem; font-weight: 900; }
.broadcast-brand strong,.broadcast-brand small { display: block; }
.broadcast-brand strong { color: #fffaf0; font-size: .9rem; }
.broadcast-brand small { margin-top: .2rem; color: #a9a092; font-size: .56rem; letter-spacing: .16em; }
.broadcast-actions { display: flex; align-items: center; gap: .9rem; }
.broadcast-actions a,.broadcast-actions button { border: 0; background: transparent; color: #b9ae9a; font-size: .68rem; text-decoration: none; }
.broadcast-actions a:hover,.broadcast-actions button:hover { color: #f2c14e; }
.broadcast-live-dot { display: inline-flex; align-items: center; gap: .4rem; color: #f2c14e; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.broadcast-live-dot::before { width: 7px; height: 7px; border-radius: 50%; background: #e85d4a; box-shadow: 0 0 0 5px rgba(232,93,74,.12); content: ""; animation: broadcast-pulse 1.5s infinite; }
.broadcast-stage { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; min-height: calc(100vh - 80px); padding: clamp(4rem, 10vh, 8rem) 1rem 3rem; text-align: center; }
.broadcast-kicker { color: #d4b33b; font-size: .68rem; font-weight: 900; letter-spacing: .28em; }
.broadcast-stage h1 { max-width: 900px; margin: .8rem auto .6rem; color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 900; letter-spacing: -.06em; text-transform: uppercase; }
.broadcast-subtitle { margin: 0; color: #b8afa0; font-size: clamp(.85rem, 2vw, 1rem); }
.broadcast-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.6rem, 2vw, 1rem); margin: 2.5rem auto 2.8rem; }
.broadcast-number { display: grid; place-items: center; width: clamp(58px, 10vw, 94px); height: clamp(58px, 10vw, 94px); border: 2px solid rgba(242,193,78,.45); border-radius: 50%; background: linear-gradient(145deg, #f2c14e, #a97624); box-shadow: 0 0 0 8px rgba(242,193,78,.04), 0 15px 38px rgba(214,155,41,.2); color: #171108; font-size: clamp(1rem, 3vw, 1.45rem); font-weight: 950; opacity: 0; transform: translateY(22px) scale(.72); }
.broadcast-number.is-placeholder { opacity: .35; transform: none; background: rgba(242,193,78,.08); color: #f2c14e; box-shadow: none; }
.broadcast-number.is-randomizing { opacity: 1; transform: scale(1); filter: blur(.15px); animation: broadcast-number-random .18s ease-in-out infinite alternate; }
.broadcast-number.is-visible { animation: broadcast-number-in .75s cubic-bezier(.18,.8,.24,1) forwards; }
.broadcast-winner { position: relative; z-index: 3; min-width: min(90vw, 660px); padding: 1.45rem 2rem 1.6rem; border: 1px solid rgba(242,193,78,.35); border-radius: 16px; background: linear-gradient(145deg, rgba(54,39,16,.86), rgba(21,16,8,.86)); box-shadow: 0 20px 65px rgba(0,0,0,.35); opacity: 0; transform: translateY(24px); }
.broadcast-winner.is-randomizing { opacity: 1; transform: none; border-color: rgba(242,193,78,.5); box-shadow: 0 0 36px rgba(242,193,78,.12), 0 20px 65px rgba(0,0,0,.35); }
.broadcast-winner.is-visible { animation: broadcast-winner-in .9s cubic-bezier(.18,.8,.24,1) forwards; }
.broadcast-winner > span { color: #f2c14e; font-size: .68rem; font-weight: 900; letter-spacing: .25em; }
.broadcast-winner h2 { margin: .55rem 0 .2rem; color: #fff; font-size: clamp(1.45rem, 4vw, 2.5rem); font-weight: 900; letter-spacing: -.04em; }
.broadcast-winner p { margin: 0; color: #aa9e8c; font-size: .75rem; }
.broadcast-footer-note { margin: auto 0 0; color: #6f685d; font-size: .66rem; letter-spacing: .08em; }
.broadcast-control { position: relative; z-index: 4; display: grid; justify-items: center; gap: .7rem; margin-top: 1.4rem; }
.broadcast-control small { color: #8f877a; font-size: .68rem; }
.broadcast-start-button { min-width: 240px; min-height: 52px; }
.broadcast-saved-label { color: #9dddb1; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.broadcast-countdown-wrap { display: grid; justify-items: center; gap: .25rem; margin: 1.6rem auto -1rem; color: #a99c86; }
.broadcast-countdown-wrap strong { color: #f2c14e; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; text-shadow: 0 0 24px rgba(242,193,78,.35); }
.broadcast-countdown-wrap span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.broadcast-loading-dots { margin-left: .3rem; animation: broadcast-pulse 1s infinite; }
.broadcast-empty { position: relative; z-index: 2; display: grid; place-items: center; align-content: center; min-height: calc(100vh - 80px); padding: 2rem; text-align: center; }
.broadcast-empty h1 { margin: .8rem 0; color: #fff; }
.broadcast-empty p { max-width: 420px; color: #aaa195; }
.broadcast-fireworks { position: absolute; inset: 12% 10% 20%; pointer-events: none; }
.broadcast-fireworks::before,.broadcast-fireworks::after,.broadcast-fireworks i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f2c14e; content: ""; opacity: 0; animation: broadcast-firework 3.2s ease-out infinite; animation-play-state: paused; }
.broadcast-fireworks.is-active::before,.broadcast-fireworks.is-active::after,.broadcast-fireworks.is-active i { animation-play-state: running; }
.broadcast-fireworks::before { top: 22%; left: 12%; box-shadow: 28px -25px #ff8066, 52px 2px #fff, 28px 34px #f2c14e, -22px 24px #6fd6c0, -25px -21px #ffb23e; }
.broadcast-fireworks::after { top: 25%; right: 12%; background: #ff8066; box-shadow: 28px -25px #f2c14e, 52px 2px #fff, 28px 34px #6fd6c0, -22px 24px #ffb23e, -25px -21px #f2c14e; animation-delay: .9s; }
.broadcast-fireworks i:nth-child(1) { top: 7%; left: 48%; background: #fff; box-shadow: 22px -17px #f2c14e, 37px 4px #ff8066, 14px 29px #6fd6c0, -22px 20px #f2c14e, -25px -16px #ffb23e; animation-delay: 1.6s; }
.broadcast-fireworks i:nth-child(2) { top: 45%; right: 28%; background: #6fd6c0; box-shadow: 22px -17px #fff, 37px 4px #f2c14e, 14px 29px #ff8066, -22px 20px #ffb23e, -25px -16px #f2c14e; animation-delay: 2.2s; }
.broadcast-fireworks i:nth-child(3) { bottom: 17%; left: 28%; background: #ffb23e; box-shadow: 22px -17px #f2c14e, 37px 4px #fff, 14px 29px #ff8066, -22px 20px #6fd6c0, -25px -16px #f2c14e; animation-delay: 2.7s; }
.broadcast-fireworks i:nth-child(4),.broadcast-fireworks i:nth-child(5) { display: none; }
@keyframes broadcast-number-in { 0% { opacity: 0; transform: translateY(22px) scale(.72); } 65% { opacity: 1; transform: translateY(-5px) scale(1.08); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes broadcast-number-random { from { box-shadow: 0 0 0 6px rgba(242,193,78,.05), 0 0 18px rgba(242,193,78,.18); } to { box-shadow: 0 0 0 12px rgba(242,193,78,.03), 0 0 32px rgba(242,193,78,.38); } }
@keyframes broadcast-winner-in { 0% { opacity: 0; transform: translateY(24px) scale(.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes broadcast-firework { 0%, 10% { opacity: 0; transform: scale(.2); } 25% { opacity: 1; transform: scale(1); } 70% { opacity: .8; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes broadcast-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 700px) { .broadcast-topbar { align-items: flex-start; flex-direction: column; } .broadcast-actions { width: 100%; justify-content: space-between; } .broadcast-stage { padding-top: 4rem; } .broadcast-winner { min-width: 0; width: min(100%, 660px); padding-left: 1rem; padding-right: 1rem; } }

.admin-shell .audit-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(145px, .65fr) minmax(145px, .65fr) auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--admin-border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.admin-shell .audit-filters .form-label { color: #d8d0c0; font-size: .72rem; font-weight: 700; }
.admin-shell .audit-filter-button { display: flex; align-items: center; gap: .8rem; }
.admin-shell .audit-filter-button a { color: #cdbb91; font-size: .75rem; text-decoration: none; }
.admin-shell .audit-filter-button a:hover { color: #f2c14e; }
.admin-shell .audit-export-button { align-self: center; white-space: nowrap; }
.admin-shell .audit-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem 0; border-top: 1px solid var(--admin-border-soft); color: #958c7e; font-size: .68rem; }
.admin-shell .audit-page-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; color: #cfc3af; white-space: nowrap; }
.admin-shell .audit-page-actions .btn { padding: .42rem .65rem; font-size: .66rem; }
.admin-shell .audit-table { min-width: 980px; border-collapse: separate; border-spacing: 0; }
.admin-shell .audit-table thead th { background: #15130e; color: #d8c7a3; }
.admin-shell .audit-sticky-header { position: fixed; z-index: 1030; overflow: hidden; border-bottom: 1px solid rgba(242,193,78,.2); background: #15130e; box-shadow: 0 8px 18px rgba(0,0,0,.28); pointer-events: none; }
.admin-shell .audit-sticky-header table { margin: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.admin-shell .audit-sticky-header th { position: static !important; background: #15130e; box-shadow: none; color: #d8c7a3; white-space: nowrap; }
.admin-shell .audit-table td { color: #c0b8aa; font-size: .76rem; }
.admin-shell .audit-table td strong,
.admin-shell .audit-table td small { display: block; }
.admin-shell .audit-table td strong { color: #f5f1e7; }
.admin-shell .audit-table td small { margin-top: .25rem; color: #918979; font-size: .66rem; }
.admin-shell .audit-date { white-space: nowrap; color: #e1d7c1 !important; }
.admin-shell .audit-action { color: #f2c14e; font-weight: 750; }
.admin-shell .audit-table code { color: #a99d83; font-size: .68rem; }
.admin-shell .audit-table details summary { color: #f2c14e; cursor: pointer; font-size: .7rem; }
.admin-shell .audit-table pre { max-width: 260px; margin: .55rem 0 0; white-space: pre-wrap; color: #c7bdab; font-size: .67rem; }

@media (max-width: 767px) {
  .admin-shell .audit-filters { grid-template-columns: 1fr; }
  .admin-shell .audit-filter-button { justify-content: space-between; }
  .admin-shell .admin-page-header { align-items: flex-start; gap: 1rem; flex-direction: column; }
  .admin-shell .audit-export-button { width: 100%; }
  .admin-shell .audit-pagination { align-items: flex-start; flex-direction: column; padding-left: .75rem; padding-right: .75rem; }
  .admin-shell .audit-page-actions { justify-content: space-between; width: 100%; }
}

.admin-shell .form-check-input {
  background-color: #29251b;
  border-color: #6a5a36;
}

.admin-shell .form-check-input:checked {
  background-color: #c89b3c;
  border-color: #f2c14e;
}

.admin-shell .btn-primary,
.admin-shell .settings-actions .btn {
  border-color: #c89b3c;
  background: linear-gradient(135deg, #f2c14e, #c89b3c);
  color: #171108;
  font-weight: 800;
}

.admin-shell .btn-primary:hover,
.admin-shell .settings-actions .btn:hover {
  border-color: #ffe18a;
  background: linear-gradient(135deg, #ffe18a, #e0aa3e);
  color: #171108;
}

.admin-shell .btn-dark {
  border-color: #c89b3c;
  background: linear-gradient(135deg, #f2c14e, #c89b3c);
  color: #171108;
  font-weight: 800;
}

.admin-shell .btn-dark:hover {
  border-color: #ffe18a;
  background: #ffe18a;
  color: #171108;
}

.admin-shell .badge.bg-secondary {
  border: 1px solid rgba(255, 255, 255, .16);
  background: #373126 !important;
  color: #efe6d3 !important;
}

.admin-shell .badge.bg-warning {
  background: #f2c14e !important;
  color: #171108 !important;
}

.admin-shell .current-document,
.admin-shell .guide-nav a {
  color: #c9c0af;
}

.admin-shell .current-document a,
.admin-shell .guide-nav a:hover {
  color: #f2c14e;
}

.admin-shell .alert-success {
  border-color: rgba(113, 214, 156, .35);
  background: rgba(35, 102, 65, .28);
  color: #baf1cb;
}

.admin-shell .alert-danger {
  border-color: rgba(255, 104, 87, .4);
  background: rgba(106, 35, 28, .3);
  color: #ffb4a9;
}

@media (max-width: 767px) {
  .admin-shell .admin-sidebar {
    width: 72px;
    top: 62px;
    height: calc(100vh - 62px);
    max-height: calc(100vh - 62px);
    padding: .75rem .4rem 1rem;
  }

  .admin-shell .admin-sidebar .admin-nav-link { justify-content: center; padding: .65rem .45rem; }
  .admin-shell .admin-sidebar .admin-nav-link > span:last-child { display: none; }
  .admin-shell .admin-sidebar .admin-nav-link .nav-icon { flex-basis: 20px; width: 20px; height: 20px; }
  .admin-shell .admin-sidebar .admin-nav-link .nav-icon svg { width: 17px; height: 17px; }
  .admin-shell .admin-sidebar .sidebar-section { display: none; }
  .admin-shell .admin-sidebar .sidebar-divider { margin: .65rem .2rem; }
  .admin-shell .admin-content { background: #0c0b08; }
}

.admin-shell .diagnostics-header { align-items: flex-end; }
.admin-shell .diagnostics-header-actions { display: flex; align-items: center; gap: 1rem; }
.admin-shell .diagnostics-checked { color: #8e877a; font-size: .7rem; }
.admin-shell .diagnostics-summary { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; padding: 1.35rem 1.5rem; border: 1px solid rgba(242,193,78,.22); border-radius: 14px; background: linear-gradient(110deg, rgba(242,193,78,.13), rgba(255,255,255,.035)); }
.admin-shell .diagnostics-summary-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid rgba(242,193,78,.5); border-radius: 50%; color: #f2c14e; font-size: 1.25rem; font-weight: 900; }
.admin-shell .diagnostics-summary h2 { margin: .2rem 0 .25rem; font-size: 1.3rem; }
.admin-shell .diagnostics-summary p { margin: 0; color: #aaa294; font-size: .76rem; }
.admin-shell .diagnostics-summary-status { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; color: #9dddb1; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.admin-shell .diagnostic-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #72d69d; box-shadow: 0 0 0 5px rgba(114,214,157,.12); }
.admin-shell .diagnostics-summary-attention { border-color: rgba(242,193,78,.4); }
.admin-shell .diagnostics-summary-attention .diagnostics-summary-status { color: #f2c14e; }
.admin-shell .diagnostics-summary-attention .diagnostic-status-dot { background: #f2c14e; box-shadow: 0 0 0 5px rgba(242,193,78,.12); }
.admin-shell .diagnostics-summary-fail { border-color: rgba(255,104,87,.45); background: linear-gradient(110deg, rgba(126,42,32,.25), rgba(255,255,255,.035)); }
.admin-shell .diagnostics-summary-fail .diagnostics-summary-icon { border-color: rgba(255,104,87,.6); color: #ff9d8d; }
.admin-shell .diagnostics-summary-fail .diagnostics-summary-status { color: #ff9d8d; }
.admin-shell .diagnostics-summary-fail .diagnostic-status-dot { background: #ff6857; box-shadow: 0 0 0 5px rgba(255,104,87,.12); }
.admin-shell .diagnostics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.admin-shell .diagnostic-card { min-height: 172px; padding: 1.1rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: rgba(255,255,255,.035); }
.admin-shell .diagnostic-card-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.15rem; }
.admin-shell .diagnostic-card-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(114,214,157,.35); border-radius: 9px; color: #9dddb1; font-size: .8rem; font-weight: 900; }
.admin-shell .diagnostic-card h3 { margin: 0 0 .4rem; font-size: .88rem; }
.admin-shell .diagnostic-card p { min-height: 2.3rem; margin: 0; color: #c0b8aa; font-size: .74rem; line-height: 1.5; }
.admin-shell .diagnostic-card small { display: block; margin-top: .75rem; color: #8e877a; font-size: .65rem; }
.admin-shell .diagnostic-badge { color: #9dddb1; font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .diagnostic-card-attention { border-color: rgba(242,193,78,.3); }
.admin-shell .diagnostic-card-attention .diagnostic-card-icon { border-color: rgba(242,193,78,.45); color: #f2c14e; }
.admin-shell .diagnostic-card-attention .diagnostic-badge { color: #f2c14e; }
.admin-shell .diagnostic-card-fail { border-color: rgba(255,104,87,.42); }
.admin-shell .diagnostic-card-fail .diagnostic-card-icon { border-color: rgba(255,104,87,.5); color: #ff9d8d; }
.admin-shell .diagnostic-card-fail .diagnostic-badge { color: #ff9d8d; }
.admin-shell .diagnostics-note { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1.1rem; padding: 1rem 1.1rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: rgba(255,255,255,.025); }
.admin-shell .diagnostics-note-icon { color: #f2c14e; font-size: 1rem; }
.admin-shell .diagnostics-note strong { color: #f2c14e; font-size: .75rem; }
.admin-shell .diagnostics-note p { margin: .25rem 0 0; color: #aaa294; font-size: .72rem; line-height: 1.5; }
.admin-shell .diagnostics-note code { color: #e9ce81; font-size: .68rem; }
@media (max-width: 991px) { .admin-shell .diagnostics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .admin-shell .diagnostics-header, .admin-shell .diagnostics-header-actions { align-items: flex-start; flex-direction: column; } .admin-shell .diagnostics-summary { align-items: flex-start; flex-wrap: wrap; } .admin-shell .diagnostics-summary-status { margin-left: 0; } .admin-shell .diagnostics-grid { grid-template-columns: 1fr; } }

.admin-shell .dashboard-header { margin-bottom: 1.25rem; }
.admin-shell .dashboard-banner { position: relative; overflow: hidden; }
.admin-shell .dashboard-banner::after { position: absolute; right: 8%; bottom: -4rem; width: 13rem; height: 13rem; border: 1px solid rgba(242,193,78,.13); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(242,193,78,.035), 0 0 0 3rem rgba(242,193,78,.02); content: ""; pointer-events: none; }
.admin-shell .dashboard-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .9rem; margin: 1.1rem 0 1.35rem; padding: .9rem 1rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: rgba(255,255,255,.035); }
.admin-shell .dashboard-filters > div:first-child { display: flex; flex-direction: column; min-width: 180px; margin-right: auto; gap: .2rem; }
.admin-shell .dashboard-filters > div:first-child strong { color: #f5f1e7; font-size: .86rem; }
.admin-shell .dashboard-filters label { display: flex; flex-direction: column; gap: .3rem; color: #9d9587; font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-shell .dashboard-filters input { min-width: 142px; padding: .55rem .65rem; border: 1px solid #4a4130; border-radius: 7px; background: #12100c; color: #f5f1e7; font-size: .74rem; letter-spacing: normal; text-transform: none; }
.admin-shell .dashboard-filters input:focus { border-color: #f2c14e; outline: 0; box-shadow: 0 0 0 .2rem rgba(242,193,78,.12); }
.admin-shell .dashboard-filters .btn { min-height: 38px; white-space: nowrap; }
.admin-shell .dashboard-filter-presets { display: flex !important; align-items: center; flex-direction: row !important; gap: .8rem; width: 100%; margin-top: .1rem; }
.admin-shell .dashboard-filter-presets a { color: #cdbb91; font-size: .66rem; text-decoration: none; }
.admin-shell .dashboard-filter-presets a:hover { color: #f2c14e; }
.admin-shell .dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: 2rem; }
.admin-shell .dashboard-kpi { position: relative; min-height: 168px; overflow: hidden; padding: 1.1rem 1.15rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: linear-gradient(145deg, #1c1911, #12100c); box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.admin-shell .dashboard-kpi-main { border-color: rgba(242,193,78,.36); background: linear-gradient(145deg, #2a2111, #15120c); }
.admin-shell .dashboard-kpi-soft { background: linear-gradient(145deg, #191713, #11100d); }
.admin-shell .kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.admin-shell .kpi-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(242,193,78,.38); border-radius: 9px; background: rgba(242,193,78,.07); color: #f2c14e; font-size: .86rem; }
.admin-shell .kpi-caption { color: #877d6d; font-size: .57rem; font-weight: 900; letter-spacing: .15em; }
.admin-shell .kpi-label { display: block; color: #c3bbad; font-size: .72rem; }
.admin-shell .dashboard-kpi strong { display: block; margin: .25rem 0 .2rem; color: #fffaf0; font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.admin-shell .dashboard-kpi small { color: #918878; font-size: .65rem; }
.admin-shell .kpi-accent { position: absolute; right: -2rem; bottom: -4rem; width: 9rem; height: 9rem; border: 1px solid rgba(242,193,78,.18); border-radius: 50%; box-shadow: 0 0 0 1rem rgba(242,193,78,.035); }
.admin-shell .dashboard-section-heading { align-items: center; }
.admin-shell .dashboard-period-label { color: #928a7b; font-size: .66rem; letter-spacing: .08em; }
.admin-shell .dashboard-quick-card { min-height: 82px; }
.admin-shell .dashboard-activity-card { margin-top: .2rem; }
@media (max-width: 1100px) { .admin-shell .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .admin-shell .dashboard-filters { align-items: stretch; flex-direction: column; } .admin-shell .dashboard-filters > div:first-child { width: 100%; } .admin-shell .dashboard-filters label, .admin-shell .dashboard-filters input, .admin-shell .dashboard-filters .btn { width: 100%; } .admin-shell .dashboard-filter-presets { flex-wrap: wrap; } .admin-shell .dashboard-kpis { grid-template-columns: 1fr; } .admin-shell .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; } }
.admin-shell .dashboard-live-state { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; color: #8f877a; font-size: .62rem; }
.admin-shell .dashboard-live-state i { width: 6px; height: 6px; border-radius: 50%; background: #72d69d; box-shadow: 0 0 0 4px rgba(114,214,157,.1); animation: dashboard-live-pulse 1.8s infinite; }
.admin-shell .dashboard-live-state b { color: #c9bd9f; font-weight: 700; }
.admin-shell .dashboard-kpi.is-live-updated { animation: dashboard-card-refresh .65s ease-out; }
@keyframes dashboard-live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes dashboard-card-refresh { 0% { border-color: rgba(242,193,78,.75); box-shadow: 0 0 0 0 rgba(242,193,78,.22), 0 14px 34px rgba(0,0,0,.2); } 100% { border-color: var(--admin-border-soft); box-shadow: 0 14px 34px rgba(0,0,0,.2); } }

.admin-shell .tracking-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.admin-shell .tracking-kpi { position: relative; overflow: hidden; min-height: 142px; padding: 1.05rem 1.1rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: linear-gradient(145deg,#1c1911,#12100c); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.admin-shell .tracking-kpi-highlight { border-color: rgba(242,193,78,.4); background: linear-gradient(145deg,#2a2111,#15120c); }
.admin-shell .tracking-kpi-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: .7rem; border: 1px solid rgba(242,193,78,.38); border-radius: 9px; background: rgba(242,193,78,.07); color: #f2c14e; font-size: .85rem; }
.admin-shell .tracking-kpi small { display: block; color: #877d6d; font-size: .56rem; font-weight: 900; letter-spacing: .14em; }
.admin-shell .tracking-kpi strong { display: block; margin: .2rem 0 .2rem; color: #fffaf0; font-size: 2rem; letter-spacing: -.06em; line-height: 1; }
.admin-shell .tracking-kpi > span:last-child { color: #918878; font-size: .65rem; }
.admin-shell .tracking-create-panel,.admin-shell .tracking-source-panel,.admin-shell .tracking-links-panel { height: 100%; }
.admin-shell .tracking-source-list { display: grid; gap: .9rem; }
.admin-shell .tracking-source-row { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; padding-bottom: .85rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-shell .tracking-source-row:last-child { padding-bottom: 0; border-bottom: 0; }
.admin-shell .tracking-source-row strong { display: block; color: #f5f1e7; font-size: .82rem; }
.admin-shell .tracking-source-row small { color: #928a7b; font-size: .66rem; }
.admin-shell .tracking-source-numbers { text-align: right; }
.admin-shell .tracking-source-numbers strong { color: #f2c14e; font-size: 1.05rem; }
.admin-shell .tracking-source-numbers span { display: block; color: #928a7b; font-size: .6rem; }
.admin-shell .tracking-source-bar { grid-column: 1/-1; height: 4px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.08); }
.admin-shell .tracking-source-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f2c14e,#c89b3c); }
.admin-shell .tracking-empty { display: grid; place-items: center; min-height: 140px; color: #928a7b; font-size: .76rem; text-align: center; }
.admin-shell .tracking-table { min-width: 940px; }
.admin-shell .tracking-table td { color: #c0b8aa; font-size: .74rem; }
.admin-shell .tracking-table td strong,.admin-shell .tracking-table td small { display: block; }
.admin-shell .tracking-table td strong { color: #f5f1e7; }
.admin-shell .tracking-table td small { margin-top: .25rem; color: #8e877a; font-size: .64rem; }
.admin-shell .tracking-url { max-width: 360px; margin-top: .45rem; overflow: hidden; color: #d4b33b; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .tracking-copy { margin-top: .45rem; padding: 0; border: 0; background: transparent; color: #f2c14e; font-size: .64rem; cursor: pointer; }
.admin-shell .tracking-source-pill,.admin-shell .tracking-status { display: inline-flex; align-items: center; padding: .3rem .5rem; border-radius: 999px; font-size: .58rem; font-weight: 800; white-space: nowrap; }
.admin-shell .tracking-source-pill { border: 1px solid rgba(242,193,78,.3); color: #e9ce81; }
.admin-shell .tracking-status.is-active { border: 1px solid rgba(114,214,157,.35); color: #9dddb1; }
.admin-shell .tracking-status.is-off { border: 1px solid rgba(255,104,87,.35); color: #ff9d8d; }
.admin-shell .tracking-table .btn-outline-primary { padding: .35rem .55rem; font-size: .62rem; }
.admin-shell .tracking-privacy-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid var(--admin-border-soft); border-radius: 10px; background: rgba(255,255,255,.025); }
.admin-shell .tracking-privacy-note > span { color: #f2c14e; }
.admin-shell .tracking-privacy-note p { margin: 0; color: #918878; font-size: .68rem; line-height: 1.5; }
@media (max-width: 1100px) { .admin-shell .tracking-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767px) { .admin-shell .tracking-kpis { grid-template-columns: 1fr; } }

.admin-shell .campaigns-header { align-items: center; }
.admin-shell .campaign-top-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,430px); gap: 1.25rem; align-items: stretch; margin-bottom: 1.2rem; }
.admin-shell .campaign-top-copy { min-width: 0; }
.admin-shell .campaign-top-copy .admin-page-header { min-height: 100%; margin-bottom: 0; }
.admin-shell .campaign-current-panel { align-self: start; height: auto; margin-bottom: 0; padding: 1rem 1.1rem; }
.admin-shell .campaign-current-panel .settings-panel-heading { margin-bottom: .7rem; padding-bottom: .7rem; }
.admin-shell .campaign-current-panel .campaign-closed-note { gap: .2rem; padding: .6rem .7rem; }
.admin-shell .campaign-current-panel .settings-description { max-width: 310px; }
.admin-shell .campaign-current-heading { position: relative; }
.admin-shell .campaign-info-help { position: relative; flex: none; }
.admin-shell .campaign-info-help summary { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(242,193,78,.45); border-radius: 50%; color: #f2c14e; cursor: pointer; font-family: Georgia,serif; font-size: .75rem; font-weight: 700; list-style: none; transition: background .2s,color .2s; }
.admin-shell .campaign-info-help summary::-webkit-details-marker { display: none; }
.admin-shell .campaign-info-help summary:hover,.admin-shell .campaign-info-help[open] summary { background: #f2c14e; color: #171108; }
.admin-shell .campaign-info-help > div { position: absolute; top: 30px; right: 0; z-index: 20; width: 235px; padding: .7rem .8rem; border: 1px solid rgba(242,193,78,.35); border-radius: 9px; background: #211a0f; box-shadow: 0 14px 28px rgba(0,0,0,.35); color: #c8bead; font-size: .66rem; line-height: 1.45; }
.admin-shell .campaigns-header-mark { display: flex; align-items: center; gap: .75rem; color: #8e877a; font-size: .58rem; font-weight: 900; letter-spacing: .16em; }
.admin-shell .campaigns-header-mark strong { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(242,193,78,.35); border-radius: 50%; color: #f2c14e; font-size: .85rem; letter-spacing: 0; }
.admin-shell .campaign-hero-panel { position: relative; overflow: hidden; margin-bottom: 1.15rem; padding: 1.45rem 1.55rem 1.15rem; border: 1px solid rgba(242,193,78,.28); border-radius: 16px; background: radial-gradient(circle at 88% 15%, rgba(242,193,78,.15), transparent 17rem), linear-gradient(115deg,#211a0f,#15130e 65%,#251c0c); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.admin-shell .campaign-hero-panel::after { position: absolute; right: -5rem; bottom: -7rem; width: 18rem; height: 18rem; border: 1px solid rgba(242,193,78,.12); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(242,193,78,.025), 0 0 0 3rem rgba(242,193,78,.018); content: ""; pointer-events: none; }
.admin-shell .campaign-hero-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.admin-shell .campaign-hero-top h2 { margin: .25rem 0 .25rem; color: #fffaf0; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; }
.admin-shell .campaign-hero-top p { margin: 0; color: #aaa294; font-size: .76rem; }
.admin-shell .campaign-hero-top .campaign-status-badge { margin-top: .25rem; }
.admin-shell .campaign-status-badge { gap: .4rem; }
.admin-shell .campaign-status-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.admin-shell .campaign-progress { position: relative; z-index: 1; display: flex; justify-content: space-between; margin: 2rem 0 1.45rem; }
.admin-shell .campaign-progress-line { position: absolute; top: 14px; right: 9%; left: 9%; height: 1px; background: rgba(255,255,255,.12); }
.admin-shell .campaign-progress-line i { display: block; height: 100%; background: linear-gradient(90deg,#c89b3c,#f2c14e); transition: width .3s ease; }
.admin-shell .campaign-progress-step { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; gap: .45rem; width: 33.33%; color: #716a5e; font-size: .62rem; text-align: center; }
.admin-shell .campaign-progress-step b { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #17140e; color: #827968; font-size: .6rem; }
.admin-shell .campaign-progress-step.is-done { color: #d8c184; }
.admin-shell .campaign-progress-step.is-done b { border-color: rgba(242,193,78,.58); background: #322510; color: #f2c14e; }
.admin-shell .campaign-hero-footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 2.1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.09); }
.admin-shell .campaign-hero-footer span { display: flex; flex-direction: column; gap: .25rem; color: #e1d7c1; font-size: .74rem; }
.admin-shell .campaign-hero-footer small { color: #877d6d; font-size: .57rem; letter-spacing: .12em; }
.admin-shell .campaign-metrics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; margin-bottom: 1.4rem; }
.admin-shell .campaign-metric-card { position: relative; overflow: hidden; min-height: 145px; padding: 1.1rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: linear-gradient(145deg,#1c1911,#12100c); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.admin-shell .campaign-metric-highlight { border-color: rgba(242,193,78,.38); background: linear-gradient(145deg,#2a2111,#15120c); }
.admin-shell .campaign-metric-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: .8rem; border: 1px solid rgba(242,193,78,.38); border-radius: 9px; color: #f2c14e; font-size: .85rem; }
.admin-shell .campaign-metric-card > span { display: block; color: #938978; font-size: .57rem; font-weight: 900; letter-spacing: .12em; }
.admin-shell .campaign-metric-card strong { display: block; margin: .2rem 0 .2rem; color: #fffaf0; font-size: 2rem; letter-spacing: -.06em; line-height: 1; }
.admin-shell .campaign-metric-card small { color: #918878; font-size: .65rem; }
.admin-shell .campaign-front-state { color: #9dddb1 !important; letter-spacing: .04em !important; }
.admin-shell .campaign-action-panel { height: 100%; }
.admin-shell .campaign-actions-row { align-items: flex-start; }
.admin-shell .campaign-action-panel { padding: 1.15rem 1.25rem; }
.admin-shell .campaign-action-panel .btn-primary { margin-top: .4rem; }
.admin-shell .campaign-new-form { display: grid; gap: .65rem; }
.admin-shell .campaign-new-form .btn { margin-top: .25rem; }
.admin-shell .campaign-closed-note { display: flex; flex-direction: column; gap: .3rem; padding: .8rem .9rem; border-left: 2px solid #72d69d; border-radius: 0 8px 8px 0; background: rgba(114,214,157,.06); }
.admin-shell .campaign-closed-note strong { color: #9dddb1; font-size: .75rem; }
.admin-shell .campaign-closed-note span { color: #aaa294; font-size: .72rem; }
.admin-shell .campaign-closed-note form { margin-top: .45rem; }
.admin-shell .campaign-finalize-fields { display: grid; gap: .55rem; margin: .35rem 0 .75rem; }
.admin-shell .campaign-finalize-fields > .form-label { margin: 0; color: #d8cda9; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .campaign-finalize-fields [hidden] { display: none !important; }
.admin-shell .campaign-no-winner-toggle { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .9rem; border: 1px solid rgba(242,193,78,.22); border-radius: .7rem; background: rgba(242,193,78,.06); cursor: pointer; }
.admin-shell .campaign-no-winner-toggle input { margin-top: .2rem; accent-color: #f2c14e; }
.admin-shell .campaign-no-winner-toggle strong { display: block; color: #f4e8c5; font-size: .82rem; }
.admin-shell .campaign-no-winner-toggle small { display: block; margin-top: .2rem; color: #a99f86; line-height: 1.45; }
.admin-shell .campaign-finalize-submit { min-width: 210px; }
.admin-shell .campaign-registered-winner,
.admin-shell .campaign-no-winner,
.admin-shell .campaign-pending-winner { display: flex; flex-direction: column; gap: .28rem; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid rgba(242,193,78,.25); border-radius: 10px; background: rgba(242,193,78,.06); }
.admin-shell .campaign-registered-winner strong { color: #f5d67e; font-size: .95rem; }
.admin-shell .campaign-no-winner strong,
.admin-shell .campaign-pending-winner strong { color: #e9dfc9; font-size: .82rem; }
.admin-shell .campaign-registered-winner small,
.admin-shell .campaign-no-winner small,
.admin-shell .campaign-pending-winner small { color: #aaa294; font-size: .7rem; }
.admin-shell .campaign-registered-winner .eyebrow,
.admin-shell .campaign-no-winner .eyebrow { color: #f2c14e; }
.admin-shell .campaign-history-panel { margin-top: 1.4rem; }
.admin-shell .campaign-name-cell { display: flex; align-items: center; gap: .7rem; }
.admin-shell .campaign-table-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid rgba(242,193,78,.3); border-radius: 8px; color: #f2c14e; font-size: .72rem; }
.admin-shell .campaign-name-cell strong,.admin-shell .campaign-name-cell small { display: block; }
.admin-shell .campaign-name-link { display: block; color: inherit; text-decoration: none; }
.admin-shell .campaign-name-link:hover .campaign-name-cell strong { color: #f2c14e; }
.admin-shell .campaign-name-cell small { margin-top: .2rem; color: #8e877a; font-size: .62rem; }
.admin-shell .campaign-table-number { color: #e9ce81; font-size: .82rem; }
.admin-shell .campaign-in-progress { color: #f2c14e; font-size: .7rem; }
@media (max-width: 900px) { .admin-shell .campaign-metrics-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-shell .campaigns-header { align-items: flex-start; flex-direction: column; } .admin-shell .campaign-hero-top { flex-direction: column; } .admin-shell .campaign-hero-footer { gap: 1rem 1.5rem; } .admin-shell .campaign-progress-step span { font-size: .56rem; } }

@media (max-width: 991px) { .admin-shell .campaign-top-layout { grid-template-columns: 1fr; } .admin-shell .campaign-current-panel { margin-top: 0; } }

.admin-shell .campaign-create-form { display: block; }
.admin-shell .campaign-create-form > .row { --bs-gutter-y: .75rem; }
.admin-shell .campaign-create-form .form-control { min-height: 40px; }
.admin-shell .campaign-create-form textarea.form-control { min-height: 0; }
.admin-shell .campaign-create-form small { display: block; margin-top: .35rem; color: #8e877a; font-size: .62rem; line-height: 1.4; }
.admin-shell .campaign-create-divider { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .2rem; border-top: 1px solid var(--admin-border-soft); }
.admin-shell .campaign-create-divider span { color: #f2c14e; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .campaign-create-divider small { margin: 0; color: #82796a; font-size: .61rem; }
.admin-shell .campaign-create-toggle { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem .85rem; border: 1px solid rgba(242,193,78,.18); border-radius: 9px; background: rgba(242,193,78,.045); cursor: pointer; }
.admin-shell .campaign-create-toggle input { flex: none; margin-top: .2rem; accent-color: #f2c14e; }
.admin-shell .campaign-create-toggle strong,.admin-shell .campaign-create-toggle small { display: block; }
.admin-shell .campaign-create-toggle strong { color: #e9dec9; font-size: .7rem; }
.admin-shell .campaign-create-toggle small { margin-top: .2rem; }
.admin-shell .campaign-create-submit { min-height: 42px; width: 100%; }
@media (min-width: 992px) { .admin-shell .campaign-actions-row > .col-lg-5 { order: 2; } .admin-shell .campaign-actions-row > .col-lg-7 { order: 1; } }
@media (max-width: 767px) { .admin-shell .campaign-create-divider { align-items: flex-start; flex-direction: column; gap: .3rem; } }

.admin-shell .campaign-detail-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-shell .campaign-back-link { display: inline-block; margin-bottom: .75rem; color: #f2c14e; font-size: .66rem; text-decoration: none; }
.admin-shell .campaign-back-link:hover { color: #ffe18a; }
.admin-shell .campaign-detail-header h1 { margin: .25rem 0 .25rem; color: #fffaf0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.055em; }
.admin-shell .campaign-detail-header p { margin: 0; color: #9e9585; font-size: .74rem; }
.admin-shell .campaign-detail-status { display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: .5rem .7rem; border: 1px solid; border-radius: 999px; font-size: .61rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .campaign-detail-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.admin-shell .campaign-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: linear-gradient(145deg,#1b1811,#12100c); }
.admin-shell .campaign-detail-summary div { display: flex; flex-direction: column; gap: .32rem; min-width: 0; }
.admin-shell .campaign-detail-summary small,.admin-shell .campaign-detail-data small,.admin-shell .campaign-content-preview small { color: #887e6d; font-size: .53rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .campaign-detail-summary strong { color: #e8deca; font-size: .72rem; font-weight: 700; }
.admin-shell .campaign-approval-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: 1rem 1.15rem; border: 1px solid rgba(242,193,78,.35); border-radius: 12px; background: radial-gradient(circle at 100% 0,rgba(242,193,78,.12),transparent 18rem),rgba(242,193,78,.045); }
.admin-shell .campaign-approval-card h2 { margin: .25rem 0 .3rem; color: #fffaf0; font-size: 1rem; }
.admin-shell .campaign-approval-card p { max-width: 640px; margin: 0; color: #a99f8e; font-size: .7rem; line-height: 1.5; }
.admin-shell .campaign-approval-card form { flex: none; }
.admin-shell .campaign-detail-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.admin-shell .campaign-detail-metrics article { min-width: 0; padding: 1rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: linear-gradient(145deg,#1b1811,#12100c); }
.admin-shell .campaign-detail-metrics article > span { color: #f2c14e; font-size: .9rem; }
.admin-shell .campaign-detail-metrics small,.admin-shell .campaign-detail-metrics strong { display: block; }
.admin-shell .campaign-detail-metrics small { margin-top: .65rem; color: #8d8475; font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .campaign-detail-metrics strong { margin-top: .2rem; color: #fffaf0; font-size: 1.55rem; letter-spacing: -.05em; }
.admin-shell .campaign-detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 1rem; margin-bottom: 1rem; }
.admin-shell .campaign-detail-panel { height: 100%; margin-bottom: 0; }
.admin-shell .campaign-detail-result-numbers { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0 .7rem; }
.admin-shell .campaign-detail-result-numbers span { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(242,193,78,.45); border-radius: 50%; background: rgba(242,193,78,.08); color: #f2c14e; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .7rem; font-weight: 900; }
.admin-shell .campaign-detail-result-meta { color: #8f8677; font-size: .64rem; }
.admin-shell .campaign-detail-winners { display: grid; gap: .45rem; margin-top: 1rem; }
.admin-shell .campaign-detail-winners > div { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: .65rem; padding: .65rem; border: 1px solid rgba(114,214,157,.16); border-radius: 9px; background: rgba(114,214,157,.04); }
.admin-shell .campaign-detail-winners > div > span { display: grid; grid-row: span 2; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(114,214,157,.12); color: #9dddb1; font-size: .65rem; font-weight: 900; }
.admin-shell .campaign-detail-winners strong { color: #e8f1e9; font-size: .72rem; }
.admin-shell .campaign-detail-winners small { margin-top: .15rem; color: #8fa095; font-size: .62rem; }
.admin-shell .campaign-detail-empty { padding: .85rem; border: 1px dashed rgba(242,193,78,.24); border-radius: 9px; color: #978d7c; font-size: .68rem; line-height: 1.5; }
.admin-shell .campaign-detail-data { display: grid; gap: .7rem; }
.admin-shell .campaign-detail-data div { display: flex; flex-direction: column; gap: .25rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-shell .campaign-detail-data div:last-child { padding-bottom: 0; border-bottom: 0; }
.admin-shell .campaign-detail-data strong { color: #e5dbc7; font-size: .7rem; line-height: 1.45; }
.admin-shell .campaign-detail-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .campaign-detail-actions a { color: #f2c14e; font-size: .66rem; text-decoration: none; }
.admin-shell .campaign-detail-actions a:hover { color: #ffe18a; }
.admin-shell .campaign-content-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.admin-shell .campaign-content-preview > div { min-width: 0; padding: .8rem; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.025); }
.admin-shell .campaign-content-preview strong { display: block; margin-top: .3rem; color: #eee5d3; font-size: .72rem; line-height: 1.4; }
.admin-shell .campaign-content-preview p { margin: .3rem 0 0; color: #aaa294; font-size: .68rem; line-height: 1.5; }
.admin-shell .campaign-edit-panel { margin-bottom: 0; }
.admin-shell .campaign-edit-panel .campaign-create-submit { width: auto; min-width: 210px; }
@media (max-width: 900px) { .admin-shell .campaign-detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-shell .campaign-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-shell .campaign-detail-header { align-items: flex-start; flex-direction: column; } .admin-shell .campaign-detail-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-shell .campaign-approval-card { align-items: flex-start; flex-direction: column; } .admin-shell .campaign-approval-card .btn { width: 100%; } .admin-shell .campaign-detail-metrics { grid-template-columns: 1fr 1fr; } .admin-shell .campaign-content-preview { grid-template-columns: 1fr; } }

.admin-shell .backup-header { align-items: center; }
.admin-shell .backup-header > div:first-child { max-width: 680px; }
.admin-shell .backup-header h1 { margin-bottom: .25rem; }
.admin-shell .backup-header-badge { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; border: 1px solid rgba(114,214,157,.24); border-radius: 10px; background: rgba(114,214,157,.05); }
.admin-shell .backup-header-badge > span { color: #9dddb1; font-size: 1rem; }
.admin-shell .backup-header-badge strong,.admin-shell .backup-header-badge small { display: block; }
.admin-shell .backup-header-badge strong { color: #dce9de; font-size: .68rem; }
.admin-shell .backup-header-badge small { margin-top: .15rem; color: #8fa095; font-size: .59rem; }
.admin-shell .backup-policy-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.1rem; padding: 1rem 1.2rem; border-color: rgba(242,193,78,.25); background: radial-gradient(circle at 100% 0,rgba(242,193,78,.11),transparent 18rem),linear-gradient(145deg,#1d1810,#12100c); }
.admin-shell .backup-policy-panel h2 { margin: .25rem 0 .35rem; color: #fffaf0; font-size: 1rem; }
.admin-shell .backup-policy-panel p { max-width: 650px; margin: 0; color: #a69c8b; font-size: .7rem; line-height: 1.5; }
.admin-shell .backup-policy-points { display: grid; gap: .45rem; flex: none; min-width: 260px; }
.admin-shell .backup-policy-points span { color: #bdb4a5; font-size: .65rem; }
.admin-shell .backup-policy-points i { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: .35rem; border-radius: 50%; background: rgba(114,214,157,.12); color: #9dddb1; font-size: .58rem; font-style: normal; }
.admin-shell .backup-list-panel { margin-bottom: 1.1rem; }
.admin-shell .backup-list-panel .settings-panel-heading { align-items: center; }
.admin-shell .backup-bulk-form { display: block; }
.admin-shell .backup-bulk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; padding: .8rem .9rem; border: 1px solid rgba(242,193,78,.2); border-radius: 10px; background: rgba(242,193,78,.045); }
.admin-shell .backup-bulk-toolbar strong,.admin-shell .backup-bulk-toolbar small { display: block; }
.admin-shell .backup-bulk-toolbar strong { color: #e9dec9; font-size: .72rem; }
.admin-shell .backup-bulk-toolbar small { margin-top: .2rem; color: #8f8677; font-size: .61rem; }
.admin-shell .backup-bulk-controls { display: flex; align-items: center; gap: .55rem; min-width: 430px; }
.admin-shell .backup-bulk-controls .form-control { min-height: 38px; }
.admin-shell .backup-bulk-controls .btn { flex: none; white-space: nowrap; }
.admin-shell .backup-count { color: #f2c14e; font-size: .63rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.admin-shell .backup-count-muted { color: #9a9181; }
.admin-shell .backup-campaign-list { display: grid; gap: .55rem; }
.admin-shell .backup-campaign-row { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(160px, .55fr); align-items: center; gap: 1rem; padding: .85rem .9rem; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.admin-shell .backup-campaign-main { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.admin-shell .backup-campaign-main a { color: #f1eadb; text-decoration: none; }
.admin-shell .backup-campaign-main a:hover { color: #f2c14e; }
.admin-shell .backup-campaign-main strong,.admin-shell .backup-campaign-main small { display: block; }
.admin-shell .backup-campaign-main strong { font-size: .75rem; }
.admin-shell .backup-campaign-main small { margin-top: .2rem; color: #898173; font-size: .6rem; }
.admin-shell .backup-campaign-action { justify-self: end; }
.admin-shell .backup-select-campaign { display: inline-flex; align-items: center; gap: .45rem; color: #c7bdad; cursor: pointer; font-size: .63rem; }
.admin-shell .backup-select-campaign input { width: 16px; height: 16px; accent-color: #f2c14e; }
.admin-shell .backup-select-campaign:hover { color: #f2c14e; }
.admin-shell .backup-archive-details { position: relative; }
.admin-shell .backup-archive-details summary { padding: .45rem .65rem; border: 1px solid rgba(242,193,78,.3); border-radius: 7px; color: #f2c14e; cursor: pointer; font-size: .63rem; list-style: none; }
.admin-shell .backup-archive-details summary::-webkit-details-marker { display: none; }
.admin-shell .backup-archive-details[open] summary { background: rgba(242,193,78,.08); }
.admin-shell .backup-archive-details form { position: absolute; top: 2.4rem; right: 0; z-index: 15; width: 250px; padding: .8rem; border: 1px solid rgba(242,193,78,.28); border-radius: 10px; background: #211a0f; box-shadow: 0 18px 35px rgba(0,0,0,.35); }
.admin-shell .backup-archive-details label { display: block; margin-bottom: .35rem; color: #d7c6a3; font-size: .62rem; font-weight: 800; }
.admin-shell .backup-archive-details textarea { display: block; width: 100%; min-height: 58px; margin-bottom: .55rem; padding: .55rem; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: #12100c; color: #f5f1e7; font-size: .65rem; resize: vertical; }
.admin-shell .backup-archive-details textarea:focus { outline: 0; border-color: #f2c14e; }
.admin-shell .backup-protected { color: #857c6d; font-size: .62rem; }
.admin-shell .backup-empty { padding: 1rem; border: 1px dashed rgba(242,193,78,.2); border-radius: 9px; color: #8f8677; font-size: .7rem; text-align: center; }
.admin-shell .backup-table { min-width: 850px; }
.admin-shell .backup-table td { color: #bdb4a5; font-size: .7rem; }
.admin-shell .backup-table td > a { color: inherit; text-decoration: none; }
.admin-shell .backup-table td > a:hover strong { color: #f2c14e; }
.admin-shell .backup-table td strong,.admin-shell .backup-table td small { display: block; }
.admin-shell .backup-table td strong { color: #e7ddca; }
.admin-shell .backup-table td small { margin-top: .25rem; color: #847b6d; font-size: .6rem; }
.admin-shell .backup-reason { display: block; max-width: 280px; color: #aaa294; line-height: 1.45; }
@media (max-width: 900px) { .admin-shell .backup-policy-panel { align-items: flex-start; flex-direction: column; } .admin-shell .backup-policy-points { width: 100%; min-width: 0; grid-template-columns: repeat(3,minmax(0,1fr)); } .admin-shell .backup-bulk-toolbar { align-items: flex-start; flex-direction: column; } .admin-shell .backup-bulk-controls { width: 100%; min-width: 0; } .admin-shell .backup-campaign-row { grid-template-columns: minmax(0,1fr) auto; } .admin-shell .backup-campaign-action { grid-column: 1/-1; justify-self: start; } }
@media (max-width: 767px) { .admin-shell .backup-header { align-items: flex-start; flex-direction: column; } .admin-shell .backup-header-badge { width: 100%; } .admin-shell .backup-policy-points { grid-template-columns: 1fr; } .admin-shell .backup-campaign-row { grid-template-columns: 1fr; align-items: flex-start; } .admin-shell .backup-campaign-row > .campaign-status-badge { justify-self: start; } .admin-shell .backup-archive-details form { position: fixed; top: 50%; right: 1rem; left: 1rem; width: auto; transform: translateY(-50%); } }

.admin-shell .participant-blocks-header { align-items: center; }
.admin-shell .participant-blocks-header > div:first-child { max-width: 680px; }
.admin-shell .participant-blocks-header h1 { margin-bottom: .28rem; letter-spacing: -.055em; }
.admin-shell .participant-blocks-header p { max-width: 590px; }
.admin-shell .participant-blocks-badge { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; border: 1px solid rgba(255,104,87,.25); border-radius: 10px; background: rgba(106,35,28,.12); }
.admin-shell .participant-blocks-badge > span { color: #ff9d8d; font-size: 1rem; }
.admin-shell .participant-blocks-badge strong,.admin-shell .participant-blocks-badge small { display: block; }
.admin-shell .participant-blocks-badge strong { color: #ffe0db; font-size: .68rem; }
.admin-shell .participant-blocks-badge small { margin-top: .15rem; color: #ba8f87; font-size: .59rem; }
.admin-shell .participant-blocks-import-panel,.admin-shell .participant-blocks-search-panel,.admin-shell .participant-blocks-history-panel { margin-bottom: 1.1rem; box-shadow: 0 16px 36px rgba(0,0,0,.16); }
.admin-shell .participant-blocks-search-panel { padding: 1rem 1.2rem; border-color: rgba(242,193,78,.2); background: radial-gradient(circle at 100% 0,rgba(242,193,78,.08),transparent 18rem),linear-gradient(145deg,#1b1811,#12100c); }
.admin-shell .participant-blocks-search-panel .settings-panel-heading { margin-bottom: .8rem; padding-bottom: .8rem; }
.admin-shell .participant-block-import-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 1rem; }
.admin-shell .participant-blocks-import-panel { border-color: rgba(242,193,78,.25); background: linear-gradient(145deg,rgba(29,24,16,.98),rgba(17,15,11,.98)); }
.admin-shell .participant-blocks-import-panel .settings-panel-heading h2 { letter-spacing: -.035em; }
.admin-shell .participant-block-import-grid small { display: block; margin-top: .35rem; color: #8e877a; font-size: .61rem; line-height: 1.4; }
.admin-shell .participant-block-import-grid textarea { min-height: 116px; resize: vertical; }
.admin-shell .participant-block-import-grid textarea::placeholder { color: #756d60; }
.admin-shell .participant-block-import-grid .form-control[type="file"] { padding-top: .6rem; color: #bdb4a5; }
.admin-shell .participant-block-reason-label { display: block; margin-top: .9rem; }
.admin-shell .participant-block-selection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--admin-border-soft); }
.admin-shell .participant-block-selection-heading strong { display: block; margin-top: .3rem; color: #e9dec9; font-size: .75rem; }
.admin-shell .participant-block-selection-heading > span,.admin-shell .participant-block-count { color: #f2c14e; font-size: .62rem; font-weight: 900; white-space: nowrap; }
.admin-shell .participant-block-table-wrap { overflow-x: auto; margin-top: .75rem; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(8,8,6,.24); }
.admin-shell .participant-block-table { min-width: 900px; }
.admin-shell .participant-block-table thead th { padding-top: .75rem; padding-bottom: .75rem; border-bottom-color: rgba(242,193,78,.16); color: #8e877a; font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .participant-block-table td { color: #bdb4a5; font-size: .68rem; }
.admin-shell .participant-block-table tbody tr { transition: background .2s ease; }
.admin-shell .participant-block-table tbody tr:hover { background: rgba(242,193,78,.045); }
.admin-shell .participant-block-table td strong,.admin-shell .participant-block-table td small { display: block; }
.admin-shell .participant-block-table td strong { color: #e9e0cf; }
.admin-shell .participant-block-table td small { margin-top: .2rem; color: #847b6d; font-size: .59rem; }
.admin-shell .participant-select-box { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .5rem; border: 1px solid rgba(242,193,78,.16); border-radius: 7px; background: rgba(242,193,78,.035); color: #c9c0af; cursor: pointer; font-size: .62rem; white-space: nowrap; transition: border-color .2s,background .2s,color .2s; }
.admin-shell .participant-select-box input { width: 16px; height: 16px; accent-color: #f2c14e; }
.admin-shell .participant-select-box:hover,.admin-shell .participant-select-box:has(input:checked) { border-color: rgba(242,193,78,.55); background: rgba(242,193,78,.1); color: #f2c14e; }
.admin-shell .participant-blocked-label { color: #ff9d8d; font-size: .6rem; white-space: nowrap; }
.admin-shell .participant-block-actions { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .participant-block-actions small { color: #8e877a; font-size: .61rem; }
.admin-shell .participant-block-actions .btn { min-height: 40px; box-shadow: 0 8px 20px rgba(200,155,60,.12); }
.admin-shell .participant-block-search { display: flex; align-items: center; gap: .65rem; }
.admin-shell .participant-block-search .input-with-icon { flex: 1; }
.admin-shell .participant-block-search .form-control { min-height: 42px; }
.admin-shell .participant-block-search > a { color: #f2c14e; font-size: .66rem; text-decoration: none; }
.admin-shell .participant-block-history-panel { background: linear-gradient(145deg,rgba(25,22,15,.98),rgba(15,14,10,.98)); }
.admin-shell .participant-block-history { min-width: 820px; }
.admin-shell .participant-block-history thead th { border-bottom-color: rgba(242,193,78,.16); color: #8e877a; font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .participant-block-history td { color: #bdb4a5; font-size: .69rem; }
.admin-shell .participant-block-history tbody tr { transition: background .2s ease; }
.admin-shell .participant-block-history tbody tr:hover { background: rgba(255,255,255,.025); }
.admin-shell .participant-block-history td strong,.admin-shell .participant-block-history td small { display: block; }
.admin-shell .participant-block-history td strong { color: #e9e0cf; }
.admin-shell .participant-block-history td small { margin-top: .2rem; color: #847b6d; font-size: .59rem; }
.admin-shell .participant-block-reason { display: block; max-width: 260px; color: #aaa294; line-height: 1.45; }
@media (max-width: 900px) { .admin-shell .participant-blocks-header { align-items: flex-start; flex-direction: column; } .admin-shell .participant-blocks-badge { width: 100%; } .admin-shell .participant-block-import-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-shell .participant-block-selection-heading { align-items: flex-start; flex-direction: column; } .admin-shell .participant-block-actions { align-items: flex-start; flex-direction: column; } .admin-shell .participant-block-actions .btn { width: 100%; } .admin-shell .participant-block-search { align-items: stretch; flex-direction: column; } .admin-shell .participant-block-search .btn { width: 100%; } }

.admin-shell .developer-credit-header { align-items: center; }
.admin-shell .developer-credit-header > div:first-child { max-width: 620px; }
.admin-shell .developer-credit-header h1 { margin-bottom: .28rem; letter-spacing: -.055em; }
.admin-shell .developer-credit-preview { display: flex; flex-direction: column; gap: .3rem; min-width: 260px; padding: .85rem 1rem; border: 1px solid rgba(242,193,78,.25); border-radius: 11px; background: radial-gradient(circle at 100% 0,rgba(242,193,78,.1),transparent 12rem),#17140e; }
.admin-shell .developer-credit-preview small { color: #8e877a; font-size: .53rem; font-weight: 900; letter-spacing: .12em; }
.admin-shell .developer-credit-preview span { color: #8f8677; font-size: .62rem; }
.admin-shell .developer-credit-preview strong { color: #f2c14e; font-size: .7rem; }
.admin-shell .developer-credit-form { margin-bottom: 0; border-color: rgba(242,193,78,.24); background: linear-gradient(145deg,rgba(29,24,16,.98),rgba(17,15,11,.98)); box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.admin-shell .developer-credit-switch { display: flex; align-items: flex-start; gap: .65rem; padding: .85rem .95rem; border: 1px solid rgba(242,193,78,.18); border-radius: 10px; background: rgba(242,193,78,.045); cursor: pointer; }
.admin-shell .developer-credit-switch input { flex: none; width: 17px; height: 17px; margin-top: .1rem; accent-color: #f2c14e; }
.admin-shell .developer-credit-switch strong,.admin-shell .developer-credit-switch small { display: block; }
.admin-shell .developer-credit-switch strong { color: #e9dec9; font-size: .72rem; }
.admin-shell .developer-credit-switch small { margin-top: .2rem; color: #8e877a; font-size: .62rem; }
.admin-shell .developer-credit-form .form-control,.admin-shell .developer-credit-form .form-select { min-height: 42px; }
.admin-shell .developer-credit-form .col-md-4 small { display: block; margin-top: .35rem; color: #8e877a; font-size: .61rem; }
.admin-shell .developer-credit-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); color: #8e877a; font-size: .63rem; }
.admin-shell .developer-credit-actions .btn { min-height: 40px; }
.public-shell .developer-credit-separator { margin: 0 .2rem; color: rgba(255,255,255,.3); }
.public-shell .developer-credit-line { display: inline-block; margin-top: .35rem; }
.public-shell .developer-credit-link { color: inherit; text-decoration: none; transition: color .2s ease; }
.public-shell .developer-credit-link:hover { color: var(--brand-gold-light); text-decoration: underline; }
.admin-shell .email-settings-header { align-items: center; }
.admin-shell .email-settings-header > div:first-child { max-width: 690px; }
.admin-shell .email-settings-header h1 { margin-bottom: .28rem; letter-spacing: -.055em; }
.admin-shell .email-settings-status { display: flex; flex-direction: column; min-width: 205px; padding: .85rem 1rem; border: 1px solid rgba(242,193,78,.25); border-radius: 11px; background: #17140e; }
.admin-shell .email-settings-status span { font-size: .62rem; font-weight: 900; letter-spacing: .15em; }
.admin-shell .email-settings-status small { margin-top: .25rem; color: #8e877a; font-size: .62rem; }
.admin-shell .email-settings-status.is-on { border-color: rgba(114,214,157,.35); background: rgba(31,69,44,.18); }
.admin-shell .email-settings-status.is-on span { color: #9dddb1; }
.admin-shell .email-settings-status.is-off span { color: #d9a84e; }
.admin-shell .email-settings-form { border-color: rgba(242,193,78,.24); background: linear-gradient(145deg,rgba(29,24,16,.98),rgba(17,15,11,.98)); box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.admin-shell .email-settings-switch { display: flex; align-items: flex-start; gap: .65rem; padding: .85rem .95rem; border: 1px solid rgba(242,193,78,.18); border-radius: 10px; background: rgba(242,193,78,.045); cursor: pointer; }
.admin-shell .email-settings-switch input { flex: none; width: 17px; height: 17px; margin-top: .1rem; accent-color: #f2c14e; }
.admin-shell .email-settings-switch strong,.admin-shell .email-settings-switch small { display: block; }
.admin-shell .email-settings-switch strong { color: #e9dec9; font-size: .72rem; }
.admin-shell .email-settings-switch small { margin-top: .2rem; color: #8e877a; font-size: .62rem; line-height: 1.4; }
.admin-shell .email-settings-form .form-control,.admin-shell .email-settings-form .form-select { min-height: 42px; }
.admin-shell .email-settings-form .row small { display: block; margin-top: .35rem; color: #8e877a; font-size: .61rem; line-height: 1.4; }
.admin-shell .email-subheading { margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .email-token-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .65rem; }
.admin-shell .email-template-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.admin-shell .email-template-toolbar .email-token-list { flex: 1; }
.admin-shell .email-preview-button { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; white-space: nowrap; }
.admin-shell .email-preview-button svg { width: 15px; height: 15px; fill: none; stroke: #f2c14e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.admin-shell .email-token-list code { padding: .3rem .45rem; border: 1px solid rgba(242,193,78,.2); border-radius: 5px; background: rgba(242,193,78,.06); color: #e8c96e; font-size: .62rem; }
.admin-shell .email-template { min-height: 330px; resize: vertical; border-color: #4a4130; background: #12100c; color: #d8cdb9; font-family: Consolas,Monaco,monospace; font-size: .68rem; line-height: 1.5; }
.admin-shell .email-template:focus { border-color: #c89b3c; background: #12100c; color: #fff4de; }
.admin-shell .email-clear-password { display: inline-flex; align-items: center; gap: .45rem; color: #b9a98f; font-size: .65rem; cursor: pointer; }
.admin-shell .email-clear-password input { accent-color: #f2c14e; }
.admin-shell .email-test-panel { border-color: rgba(242,193,78,.2); background: linear-gradient(145deg,#1b1811,#12100c); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.admin-shell .email-test-form { display: flex; align-items: flex-end; gap: .8rem; }
.admin-shell .email-test-form > div { flex: 1; }
.admin-shell .email-test-form .btn { min-height: 42px; white-space: nowrap; }
.admin-shell .site-mode-admin-header { align-items: center; }
.admin-shell .site-mode-admin-header > div:first-child { max-width: 690px; }
.admin-shell .site-mode-admin-header h1 { margin-bottom: .28rem; letter-spacing: -.055em; }
.admin-shell .site-mode-admin-status { display: flex; flex-direction: column; min-width: 205px; padding: .85rem 1rem; border: 1px solid rgba(242,193,78,.25); border-radius: 11px; background: #17140e; }
.admin-shell .site-mode-admin-status span { font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.admin-shell .site-mode-admin-status small { margin-top: .25rem; color: #8e877a; font-size: .62rem; }
.admin-shell .site-mode-admin-status.live span { color: #9dddb1; }
.admin-shell .site-mode-admin-status.maintenance span { color: #f2c14e; }
.admin-shell .site-mode-admin-status.coming_soon span { color: #d8a7f0; }
.admin-shell .site-mode-admin-form { border-color: rgba(242,193,78,.24); background: linear-gradient(145deg,rgba(29,24,16,.98),rgba(17,15,11,.98)); box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.admin-shell .site-mode-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.admin-shell .site-mode-option { display: flex; align-items: flex-start; gap: .55rem; min-height: 108px; padding: .85rem; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .2s,background .2s,transform .2s; }
.admin-shell .site-mode-option:hover { border-color: rgba(242,193,78,.42); transform: translateY(-1px); }
.admin-shell .site-mode-option.is-selected { border-color: rgba(242,193,78,.66); background: rgba(242,193,78,.08); }
.admin-shell .site-mode-option:has(input:checked) { border-color: rgba(242,193,78,.66); background: rgba(242,193,78,.08); }
.admin-shell .site-mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.admin-shell .site-mode-option-icon { display: grid; flex: none; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(242,193,78,.35); border-radius: 7px; color: #f2c14e; font-size: .75rem; font-weight: 900; }
.admin-shell .site-mode-option strong,.admin-shell .site-mode-option small { display: block; }
.admin-shell .site-mode-option strong { color: #e9dec9; font-size: .72rem; line-height: 1.3; }
.admin-shell .site-mode-option small { margin-top: .35rem; color: #8e877a; font-size: .61rem; line-height: 1.45; }
.admin-shell .site-mode-subheading { margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .site-mode-admin-form .row small { display: block; margin-top: .35rem; color: #8e877a; font-size: .61rem; line-height: 1.4; }
.admin-shell .site-mode-current-image { display: flex; align-items: center; gap: .55rem; margin-top: .55rem; color: #8e877a; font-size: .6rem; }
.admin-shell .site-mode-current-image img { width: 42px; height: 30px; object-fit: cover; border: 1px solid rgba(242,193,78,.3); border-radius: 5px; }
.admin-shell .email-provider-help { border-color: rgba(242,193,78,.2); background: linear-gradient(145deg,#1b1811,#12100c); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.admin-shell .email-provider-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.9fr); gap: 1.25rem; align-items: stretch; }
.admin-shell .email-provider-grid > div:first-child { padding: 1rem; border: 1px solid rgba(242,193,78,.16); border-radius: 10px; background: rgba(242,193,78,.04); }
.admin-shell .email-provider-grid strong { color: #f2c14e; font-size: .8rem; }
.admin-shell .email-provider-grid p { margin: .45rem 0 .7rem; color: #a9a092; font-size: .68rem; line-height: 1.55; }
.admin-shell .email-provider-grid a { color: #f2c14e; font-size: .65rem; text-decoration: none; }
.admin-shell .email-provider-grid a:hover { text-decoration: underline; }
.admin-shell .email-provider-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.admin-shell .email-provider-values > div { padding: .7rem .75rem; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(0,0,0,.14); }
.admin-shell .email-provider-values span,.admin-shell .email-provider-values strong { display: block; }
.admin-shell .email-provider-values span { color: #8e877a; font-size: .56rem; text-transform: uppercase; letter-spacing: .08em; }
.admin-shell .email-provider-values strong { margin-top: .25rem; color: #e9dec9; font-size: .68rem; }
.admin-shell .email-provider-note { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); color: #8e877a; font-size: .64rem; line-height: 1.5; }
.admin-shell .email-preview-dialog { width: min(100% - 2rem, 960px); padding: 0; border: 1px solid rgba(242,193,78,.38); border-radius: 14px; background: #11100d; box-shadow: 0 30px 80px rgba(0,0,0,.55); color: #fff; }
.admin-shell .email-preview-dialog::backdrop { background: rgba(5,5,4,.78); backdrop-filter: blur(4px); }
.admin-shell .email-preview-window { display: grid; grid-template-rows: auto minmax(420px,72vh); }
.admin-shell .email-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid rgba(255,255,255,.09); background: #18150f; }
.admin-shell .email-preview-header h2 { margin: .2rem 0; color: #fffaf0; font-size: 1rem; }
.admin-shell .email-preview-header small { color: #8e877a; font-size: .64rem; }
.admin-shell .email-preview-close { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: transparent; color: #d8cdb9; font-size: 1.2rem; line-height: 1; }
.admin-shell .email-preview-close:hover { border-color: #f2c14e; color: #f2c14e; }
.admin-shell .email-preview-dialog iframe { width: 100%; height: 100%; border: 0; background: #f4f1e9; }
@media (max-width: 900px) { .admin-shell .email-settings-header { align-items: flex-start; flex-direction: column; } .admin-shell .email-settings-status { width: 100%; } }
@media (max-width: 767px) { .admin-shell .email-template-toolbar { align-items: stretch; flex-direction: column; } .admin-shell .email-preview-button { justify-content: center; width: 100%; } .admin-shell .email-test-form { align-items: stretch; flex-direction: column; } .admin-shell .email-test-form .btn { width: 100%; } .admin-shell .email-provider-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .admin-shell .site-mode-admin-header { align-items: flex-start; flex-direction: column; } .admin-shell .site-mode-admin-status { width: 100%; } .admin-shell .site-mode-options { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .admin-shell .developer-credit-header { align-items: flex-start; flex-direction: column; } .admin-shell .developer-credit-preview { width: 100%; } }
@media (max-width: 767px) { .admin-shell .developer-credit-actions { align-items: flex-start; flex-direction: column; } .admin-shell .developer-credit-actions .btn { width: 100%; } }

.admin-shell .official-header { align-items: center; }
.admin-shell .official-header-mark { display: flex; align-items: center; gap: .75rem; color: #8e877a; font-size: .58rem; font-weight: 900; letter-spacing: .14em; }
.admin-shell .official-header-mark strong { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .65rem; border: 1px solid; border-radius: 999px; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .official-header-mark i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.admin-shell .official-status-complete { border-color: rgba(114,214,157,.35); color: #9dddb1; }
.admin-shell .official-status-partial { border-color: rgba(242,193,78,.4); color: #f2c14e; }
.admin-shell .official-status-pending { border-color: rgba(255,255,255,.16); color: #a9a092; }
.admin-shell .official-hero-panel { position: relative; display: flex; justify-content: space-between; gap: 2rem; overflow: hidden; margin-bottom: 1.25rem; padding: 1.5rem 1.6rem; border: 1px solid rgba(242,193,78,.3); border-radius: 16px; background: radial-gradient(circle at 90% 0%,rgba(242,193,78,.16),transparent 17rem),linear-gradient(115deg,#211a0f,#15130e); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.admin-shell .official-hero-panel::after { position: absolute; right: -3rem; bottom: -6rem; width: 15rem; height: 15rem; border: 1px solid rgba(242,193,78,.12); border-radius: 50%; box-shadow: 0 0 0 1.2rem rgba(242,193,78,.025); content: ""; pointer-events: none; }
.admin-shell .official-hero-content { position: relative; z-index: 1; max-width: 570px; }
.admin-shell .official-hero-content h2 { margin: .25rem 0 .35rem; color: #fffaf0; font-size: clamp(1.35rem,3vw,2rem); letter-spacing: -.04em; }
.admin-shell .official-hero-content p { margin: 0; color: #aaa294; font-size: .76rem; }
.admin-shell .official-hero-meta { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 1.6rem; }
.admin-shell .official-hero-meta span { display: flex; flex-direction: column; gap: .25rem; color: #e1d7c1; font-size: .75rem; white-space: nowrap; }
.admin-shell .official-hero-meta small { color: #877d6d; font-size: .56rem; letter-spacing: .11em; }
.admin-shell .official-form-panel { height: 100%; }
.admin-shell .official-input-wrap { position: relative; }
.admin-shell .official-input-wrap > span { position: absolute; top: 50%; left: .85rem; z-index: 1; color: #f2c14e; transform: translateY(-50%); }
.admin-shell .official-input-wrap .form-control { padding-left: 2.4rem; }
.admin-shell .official-field-help { display: block; margin-top: .6rem; color: #8e877a; font-size: .66rem; line-height: 1.45; }
.admin-shell .official-reference-panel .settings-description { max-width: 220px; }
.admin-shell .official-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding: 1rem 1.2rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: rgba(255,255,255,.035); }
.admin-shell .official-actions p { margin: .25rem 0 0; color: #8e877a; font-size: .68rem; }
.admin-shell .official-actions .btn { min-width: 190px; }
.admin-shell .official-bottom-row { margin-top: 1.25rem; }
.admin-shell .official-result-card { height: 100%; }
.admin-shell .official-result-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(242,193,78,.35); border-radius: 10px; color: #f2c14e; }
.admin-shell .official-result-icon.is-ready { border-color: rgba(114,214,157,.35); color: #9dddb1; }
.admin-shell .official-result-number { margin: .2rem 0 1rem; color: #f2c14e; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; }
.admin-shell .official-how-card { height: 100%; padding: 1.35rem 1.4rem; border: 1px solid rgba(242,193,78,.25); border-radius: 13px; background: linear-gradient(145deg,#2a2111,#15120c); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.admin-shell .official-how-card h2 { margin: .35rem 0 1.1rem; color: #fffaf0; font-size: 1.05rem; }
.admin-shell .official-how-step { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.08); color: #c4baaa; font-size: .72rem; line-height: 1.45; }
.admin-shell .official-how-step b { color: #f2c14e; font-size: .68rem; }
.admin-shell .official-how-card p { margin: .8rem 0 0; color: #8e877a; font-size: .66rem; line-height: 1.45; }
@media (max-width: 900px) { .admin-shell .official-hero-panel { flex-direction: column; } .admin-shell .official-hero-meta { align-items: flex-start; flex-wrap: wrap; } }
@media (max-width: 767px) { .admin-shell .official-header { align-items: flex-start; flex-direction: column; } .admin-shell .official-actions { align-items: stretch; flex-direction: column; } .admin-shell .official-actions .btn { width: 100%; } }

.admin-shell .participants-header { align-items: center; }
.admin-shell .participants-summary { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.15rem; padding: 1rem 1.2rem; border: 1px solid rgba(242,193,78,.23); border-radius: 13px; background: linear-gradient(105deg,#211a0f,#15130e); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.admin-shell .participants-summary-main { display: flex; flex-direction: column; min-width: 190px; margin-right: auto; }
.admin-shell .participants-summary-main strong { margin: .1rem 0; color: #fffaf0; font-size: 1.8rem; letter-spacing: -.06em; line-height: 1; }
.admin-shell .participants-summary-main > span:last-child { color: #978e7f; font-size: .66rem; }
.admin-shell .participants-summary-item { display: flex; align-items: center; gap: .6rem; min-width: 120px; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.1); }
.admin-shell .participants-summary-item i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #f2c14e; font-size: .68rem; font-style: normal; }
.admin-shell .participants-summary-item i.is-valid { border-color: rgba(114,214,157,.35); background: rgba(114,214,157,.07); color: #9dddb1; }
.admin-shell .participants-summary-item i.is-blocked { border-color: rgba(255,104,87,.35); background: rgba(255,104,87,.06); color: #ff9d8d; }
.admin-shell .participants-summary-item small { display: block; color: #877d6d; font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .participants-summary-item strong { display: block; margin-top: .15rem; color: #e9ce81; font-size: .95rem; }
.admin-shell .participants-filter-panel { margin-bottom: 1.15rem; padding: 1rem 1.15rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: rgba(255,255,255,.035); }
.admin-shell .participants-filter-title { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.admin-shell .filter-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(242,193,78,.35); border-radius: 9px; color: #f2c14e; font-size: .75rem; }
.admin-shell .participants-filter-title strong,.admin-shell .participants-filter-title small { display: block; }
.admin-shell .participants-filter-title strong { color: #f5f1e7; font-size: .82rem; }
.admin-shell .participants-filter-title small { margin-top: .2rem; color: #918878; font-size: .65rem; }
.admin-shell .participants-filter-form { display: grid; grid-template-columns: minmax(220px,1.5fr) repeat(4,minmax(110px,1fr)) auto; align-items: end; gap: .75rem; }
.admin-shell .participants-filter-form label { display: block; margin-bottom: .35rem; color: #9d9587; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .participants-filter-form .form-control,.admin-shell .participants-filter-form .form-select,.admin-shell .input-with-icon { min-height: 39px; border-color: #4a4130; background: #12100c; color: #f5f1e7; font-size: .72rem; }
.admin-shell .input-with-icon { position: relative; display: flex; align-items: center; border: 1px solid #4a4130; border-radius: 6px; }
.admin-shell .input-with-icon > span { padding-left: .65rem; color: #f2c14e; font-size: .9rem; transform: rotate(-20deg); }
.admin-shell .input-with-icon input { width: 100%; padding: .55rem .65rem; border: 0; outline: 0; background: transparent; color: #f5f1e7; font-size: .72rem; }
.admin-shell .input-with-icon:focus-within { border-color: #f2c14e; box-shadow: 0 0 0 .2rem rgba(242,193,78,.12); }
.admin-shell .participants-filter-actions { display: flex; align-items: center; flex-direction: column; gap: .35rem; }
.admin-shell .participants-filter-actions .btn { min-height: 39px; white-space: nowrap; }
.admin-shell .participants-filter-actions a { color: #9d9587; font-size: .63rem; text-decoration: none; }
.admin-shell .participants-filter-actions a:hover { color: #f2c14e; }
.admin-shell .participants-table-card { overflow: hidden; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.admin-shell .participants-table-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.15rem; border-bottom: 1px solid var(--admin-border-soft); }
.admin-shell .participants-table-header h2 { margin: .2rem 0 0; font-size: 1rem; }
.admin-shell .participants-result-count { color: #9c927f; font-size: .68rem; }
.admin-shell .participants-table { min-width: 980px; }
.admin-shell .participants-table th { padding: .85rem 1.15rem; color: #938978; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .participants-table td { padding: .85rem 1.15rem; color: #c0b8aa; font-size: .73rem; }
.admin-shell .participants-table td strong,.admin-shell .participants-table td small { display: block; }
.admin-shell .participants-table td strong { color: #f1eadb; font-size: .74rem; }
.admin-shell .participants-table td small { margin-top: .22rem; color: #898173; font-size: .63rem; }
.admin-shell .participants-table .participant-cpf { color: #e9ce81; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .02em; }
.admin-shell .participant-profile { display: flex; align-items: center; gap: .65rem; }
.admin-shell .participant-profile > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(242,193,78,.35); border-radius: 50%; background: rgba(242,193,78,.08); color: #f2c14e; font-size: .72rem; font-weight: 900; }
.admin-shell .participant-profile small { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }
.admin-shell .participants-table tbody tr:hover { background: rgba(242,193,78,.045); }
.admin-shell .participants-combination-count { display: inline-grid !important; place-items: center; min-width: 34px; padding: .3rem .45rem; border: 1px solid rgba(242,193,78,.25); border-radius: 7px; color: #e9ce81 !important; }
.admin-shell .participant-status { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .5rem; border: 1px solid; border-radius: 999px; font-size: .59rem; font-weight: 800; white-space: nowrap; }
.admin-shell .participant-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.admin-shell .participant-status-valid { border-color: rgba(114,214,157,.35); color: #9dddb1; }
.admin-shell .participant-status-blocked { border-color: rgba(255,104,87,.35); color: #ff9d8d; }
.admin-shell .participants-open-button { color: #f2c14e; font-size: .68rem; text-decoration: none; white-space: nowrap; }
.admin-shell .participants-open-button:hover { color: #ffe18a; }
.admin-shell .participants-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.15rem; border-top: 1px solid var(--admin-border-soft); color: #918878; font-size: .67rem; }
.admin-shell .participants-pagination > div { display: flex; gap: .8rem; }
.admin-shell .participants-pagination a { color: #f2c14e; text-decoration: none; }
@media (max-width: 1100px) { .admin-shell .participants-filter-form { grid-template-columns: repeat(3,minmax(0,1fr)); } .admin-shell .participants-search-field { grid-column: span 3; } .admin-shell .participants-filter-actions { align-items: flex-start; flex-direction: row; } }
@media (max-width: 767px) { .admin-shell .participants-header { align-items: flex-start; flex-direction: column; } .admin-shell .participants-summary { align-items: stretch; flex-wrap: wrap; } .admin-shell .participants-summary-main { width: 100%; } .admin-shell .participants-summary-item { flex: 1; min-width: 100px; } .admin-shell .participants-filter-form { grid-template-columns: 1fr; } .admin-shell .participants-search-field { grid-column: auto; } .admin-shell .participants-filter-actions { align-items: stretch; flex-direction: column; } .admin-shell .participants-pagination { align-items: flex-start; flex-direction: column; } }

.admin-shell .combinations-header { align-items: center; }
.admin-shell .combinations-header-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .72rem; border: 1px solid rgba(114,214,157,.28); border-radius: 999px; background: rgba(114,214,157,.06); color: #9dddb1; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .combinations-header-badge span { width: 6px; height: 6px; border-radius: 50%; background: #72d69d; box-shadow: 0 0 0 4px rgba(114,214,157,.1); }
.admin-shell .combinations-summary { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.15rem; padding: 1rem 1.2rem; border: 1px solid rgba(242,193,78,.23); border-radius: 13px; background: linear-gradient(105deg,#211a0f,#15130e); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.admin-shell .combinations-summary-main { display: flex; flex-direction: column; min-width: 220px; margin-right: auto; }
.admin-shell .combinations-summary-main strong { margin: .1rem 0; color: #fffaf0; font-size: 1.8rem; letter-spacing: -.06em; line-height: 1; }
.admin-shell .combinations-summary-main > span:last-child { color: #978e7f; font-size: .66rem; }
.admin-shell .combinations-summary-item { display: flex; align-items: center; gap: .6rem; min-width: 150px; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.1); }
.admin-shell .combinations-summary-item i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(242,193,78,.32); border-radius: 8px; color: #f2c14e; font-size: .7rem; font-style: normal; }
.admin-shell .combinations-summary-item i.is-live { border-color: rgba(114,214,157,.35); color: #9dddb1; }
.admin-shell .combinations-summary-item small { display: block; color: #877d6d; font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .combinations-summary-item strong { display: block; margin-top: .15rem; color: #e9ce81; font-size: .95rem; }
.admin-shell .combinations-filter-panel { margin-bottom: 1.15rem; padding: 1rem 1.15rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: rgba(255,255,255,.035); }
.admin-shell .combinations-filter-form { display: grid; grid-template-columns: minmax(200px,1.35fr) minmax(180px,1.1fr) repeat(3,minmax(110px,1fr)) auto; align-items: end; gap: .75rem; }
.admin-shell .combinations-filter-form label { display: block; margin-bottom: .35rem; color: #9d9587; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .combinations-filter-form .form-control,.admin-shell .combinations-filter-form .form-select { min-height: 39px; border-color: #4a4130; background: #12100c; color: #f5f1e7; font-size: .72rem; }
.admin-shell .combinations-filter-form .form-control::placeholder { color: #6f675a; }
.admin-shell .combinations-filter-form .form-control:focus,.admin-shell .combinations-filter-form .form-select:focus { border-color: #f2c14e; box-shadow: 0 0 0 .2rem rgba(242,193,78,.12); }
.admin-shell .combinations-table-card { overflow: hidden; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.admin-shell .combinations-table-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.15rem; border-bottom: 1px solid var(--admin-border-soft); }
.admin-shell .combinations-table-header h2 { margin: .2rem 0 0; font-size: 1rem; }
.admin-shell .combinations-table { min-width: 850px; }
.admin-shell .combinations-table th { padding: .85rem 1.15rem; color: #938978; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .combinations-table td { padding: .85rem 1.15rem; color: #c0b8aa; font-size: .73rem; }
.admin-shell .combinations-table tbody tr:hover { background: rgba(242,193,78,.045); }
.admin-shell .combination-number-pills { display: flex; align-items: center; gap: .28rem; flex-wrap: wrap; }
.admin-shell .combination-number { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 .3rem; border: 1px solid rgba(242,193,78,.38); border-radius: 7px; background: rgba(242,193,78,.08); color: #f5d97e; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .66rem; font-weight: 800; }
.admin-shell .combination-reference { display: block; margin-top: .45rem; color: #817867; font-size: .59rem; }
.admin-shell .combination-public-id { padding: .34rem .45rem; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: #aaa092; font-size: .62rem; }
.admin-shell .combination-date { display: block; color: #f1eadb; font-size: .72rem; }
.admin-shell .combinations-table td > small { display: block; margin-top: .22rem; color: #898173; font-size: .63rem; }
@media (max-width: 1150px) { .admin-shell .combinations-filter-form { grid-template-columns: repeat(3,minmax(0,1fr)); } .admin-shell .combinations-search-field,.admin-shell .combinations-participant-field { grid-column: span 3; } .admin-shell .combinations-filter-form .participants-filter-actions { align-items: flex-start; flex-direction: row; } }
@media (max-width: 767px) { .admin-shell .combinations-header { align-items: flex-start; flex-direction: column; } .admin-shell .combinations-summary { align-items: stretch; flex-wrap: wrap; } .admin-shell .combinations-summary-main { width: 100%; } .admin-shell .combinations-summary-item { flex: 1; min-width: 130px; } .admin-shell .combinations-filter-form { grid-template-columns: 1fr; } .admin-shell .combinations-search-field,.admin-shell .combinations-participant-field { grid-column: auto; } .admin-shell .combinations-filter-form .participants-filter-actions { align-items: stretch; flex-direction: column; } }

.admin-shell .result-header { align-items: center; }
.admin-shell .result-status-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-shell .result-status-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.admin-shell .result-status-badge.is-ready { border-color: rgba(114,214,157,.35); background: rgba(114,214,157,.06); color: #9dddb1; }
.admin-shell .result-status-badge.is-pending { border-color: rgba(242,193,78,.35); background: rgba(242,193,78,.06); color: #f2c14e; }
.admin-shell .result-overview { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.2rem; padding: 1.5rem 1.6rem; border: 1px solid rgba(242,193,78,.3); border-radius: 16px; background: radial-gradient(circle at 90% 0%,rgba(242,193,78,.16),transparent 17rem),linear-gradient(115deg,#211a0f,#15130e); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.admin-shell .result-overview-copy { max-width: 570px; }
.admin-shell .result-overview-copy h2 { margin: .25rem 0 .4rem; color: #fffaf0; font-size: clamp(1.4rem,3vw,2rem); letter-spacing: -.04em; }
.admin-shell .result-overview-copy p { margin: 0; color: #aaa294; font-size: .76rem; line-height: 1.55; }
.admin-shell .result-overview-stats { display: flex; gap: 1.4rem; }
.admin-shell .result-overview-stats div { min-width: 105px; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.12); }
.admin-shell .result-overview-stats strong,.admin-shell .result-overview-stats small { display: block; }
.admin-shell .result-overview-stats strong { color: #f2c14e; font-size: 1.15rem; }
.admin-shell .result-overview-stats small { margin-top: .35rem; color: #887e6e; font-size: .52rem; font-weight: 900; letter-spacing: .09em; line-height: 1.35; }
.admin-shell .result-actions-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.4fr); gap: 1rem; }
.admin-shell .result-action-card { padding: 1.3rem 1.4rem; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(31,27,18,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.admin-shell .result-action-live { border-color: rgba(242,193,78,.34); background: radial-gradient(circle at 100% 0%,rgba(242,193,78,.15),transparent 13rem),linear-gradient(145deg,#2a2111,#15120c); }
.admin-shell .result-action-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-shell .result-action-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(242,193,78,.42); border-radius: 10px; color: #f2c14e; font-size: .95rem; }
.admin-shell .result-step { color: #928875; font-size: .57rem; font-weight: 900; letter-spacing: .13em; }
.admin-shell .result-action-card h2 { margin: 1.1rem 0 .4rem; color: #fffaf0; font-size: 1.1rem; letter-spacing: -.03em; }
.admin-shell .result-action-card p { min-height: 48px; margin: 0 0 1.1rem; color: #aaa294; font-size: .72rem; line-height: 1.55; }
.admin-shell .result-action-card .btn { min-height: 40px; }
.admin-shell .result-action-external { background: rgba(255,255,255,.035); }
.admin-shell .result-number-form { margin-top: .4rem; }
.admin-shell .result-number-fields { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .55rem; }
.admin-shell .result-number-fields label { display: block; margin: 0 0 .35rem; color: #8f8677; font-size: .53rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .result-number-fields .form-control { min-height: 40px; border-color: #4a4130; background: #12100c; color: #fffaf0; text-align: center; font-weight: 800; }
.admin-shell .result-number-fields .form-control:focus { border-color: #f2c14e; box-shadow: 0 0 0 .2rem rgba(242,193,78,.12); }
.admin-shell .result-save-button { margin-top: 1rem; }
.admin-shell .result-security-note { display: flex; align-items: center; gap: .7rem; margin: .9rem 0 1.2rem; padding: .75rem .9rem; border: 1px solid rgba(242,193,78,.18); border-radius: 10px; background: rgba(242,193,78,.045); }
.admin-shell .result-security-note > span { color: #f2c14e; }
.admin-shell .result-security-note p { margin: 0; color: #9b9181; font-size: .66rem; line-height: 1.45; }
.admin-shell .result-locked-note { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; padding: 1rem 1.1rem; border-left: 3px solid #f2c14e; border-radius: 0 10px 10px 0; background: rgba(242,193,78,.07); }
.admin-shell .result-note-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(242,193,78,.35); border-radius: 50%; color: #f2c14e; }
.admin-shell .result-locked-note strong { color: #f2c14e; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .result-locked-note p { margin: .25rem 0 0; color: #aaa294; font-size: .72rem; line-height: 1.5; }
.admin-shell .result-showcase { margin-top: 1.2rem; padding: 1.35rem 1.45rem 1.25rem; border: 1px solid rgba(114,214,157,.28); border-radius: 15px; background: radial-gradient(circle at 100% 0%,rgba(114,214,157,.09),transparent 16rem),linear-gradient(145deg,#172219,#121711); box-shadow: 0 18px 38px rgba(0,0,0,.2); }
.admin-shell .result-showcase-heading,.admin-shell .result-winners-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-shell .result-showcase-heading h2,.admin-shell .result-winners-heading h2 { margin: .25rem 0 .25rem; color: #fffaf0; font-size: 1.2rem; letter-spacing: -.03em; }
.admin-shell .result-showcase-heading p { margin: 0; color: #9aaa9e; font-size: .7rem; }
.admin-shell .result-number-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.25rem 0; }
.admin-shell .result-number-pills span { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(242,193,78,.5); border-radius: 50%; background: linear-gradient(145deg,#f2c14e,#a97624); box-shadow: 0 7px 20px rgba(214,155,41,.18); color: #171108; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .85rem; font-weight: 900; }
.admin-shell .result-meta-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.admin-shell .result-meta-row div { display: flex; flex-direction: column; gap: .3rem; }
.admin-shell .result-meta-row small { color: #789080; font-size: .53rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .result-meta-row strong { color: #dbe8dc; font-size: .72rem; }
.admin-shell .result-winners-card { margin-top: 1.2rem; padding: 1.25rem 1.35rem; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); }
.admin-shell .result-winners-count { color: #9dddb1; font-size: .65rem; }
.admin-shell .result-winners-list { margin-top: 1rem; }
.admin-shell .result-winner-row { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .result-winner-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(242,193,78,.35); border-radius: 50%; background: rgba(242,193,78,.08); color: #f2c14e; font-size: .72rem; font-weight: 900; }
.admin-shell .result-winner-person { flex: 1; min-width: 0; }
.admin-shell .result-winner-person strong,.admin-shell .result-winner-person small { display: block; }
.admin-shell .result-winner-person strong { color: #f1eadb; font-size: .74rem; }
.admin-shell .result-winner-person small { margin-top: .2rem; color: #898173; font-size: .63rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .result-winner-row code { padding: .3rem .4rem; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: #aaa092; font-size: .6rem; }
.admin-shell .result-winner-combination { color: #e9ce81; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .65rem; }
.admin-shell .result-empty-state { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(242,193,78,.25); border-radius: 10px; color: #9d9587; }
.admin-shell .result-empty-state > span { color: #f2c14e; font-size: 1.2rem; }
.admin-shell .result-empty-state strong { color: #e4d9c5; font-size: .75rem; }
.admin-shell .result-empty-state p { margin: .25rem 0 0; font-size: .68rem; }
@media (max-width: 980px) { .admin-shell .result-overview { align-items: flex-start; flex-direction: column; } .admin-shell .result-overview-stats { width: 100%; } .admin-shell .result-actions-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-shell .result-header { align-items: flex-start; flex-direction: column; } .admin-shell .result-overview-stats { flex-wrap: wrap; gap: .8rem; } .admin-shell .result-overview-stats div { flex: 1; min-width: 95px; } .admin-shell .result-number-fields { grid-template-columns: repeat(3,1fr); } .admin-shell .result-showcase-heading,.admin-shell .result-winners-heading { align-items: flex-start; flex-direction: column; } .admin-shell .result-showcase-heading .btn { width: 100%; } .admin-shell .result-meta-row { grid-template-columns: 1fr; } .admin-shell .result-winner-row { align-items: flex-start; flex-wrap: wrap; } .admin-shell .result-winner-person { min-width: calc(100% - 48px); } .admin-shell .result-winner-row code,.admin-shell .result-winner-combination { margin-left: 2.6rem; } }
.admin-shell .dashboard-capacity-card { margin-bottom: 2rem; padding: 1.2rem 1.25rem; border: 1px solid rgba(242,193,78,.25); border-radius: 14px; background: linear-gradient(145deg,#211a0f,#15130e); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.admin-shell .dashboard-capacity-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.admin-shell .dashboard-capacity-heading h2 { margin: .2rem 0 .3rem; color: #fffaf0; font-size: 1.05rem; letter-spacing: -.035em; }
.admin-shell .dashboard-capacity-heading p { max-width: 670px; margin: 0; color: #978e7f; font-size: .68rem; line-height: 1.5; }
.admin-shell .dashboard-capacity-status { display: inline-flex; align-items: center; padding: .45rem .7rem; border: 1px solid rgba(114,214,157,.3); border-radius: 999px; color: #9dddb1; background: rgba(114,214,157,.07); font-size: .61rem; font-weight: 800; white-space: nowrap; }
.admin-shell .dashboard-capacity-status.is-closed { border-color: rgba(255,104,87,.35); color: #ff9d8d; background: rgba(255,104,87,.08); }
.admin-shell .dashboard-capacity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.2rem; }
.admin-shell .dashboard-capacity-metric { padding: .95rem 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.12); }
.admin-shell .dashboard-capacity-metric > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.admin-shell .dashboard-capacity-metric > div:first-child span { color: #9d9587; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.admin-shell .dashboard-capacity-metric strong { color: #fffaf0; font-size: 1.45rem; letter-spacing: -.05em; }
.admin-shell .dashboard-capacity-metric strong small { color: #9b917f; font-size: .68rem; font-weight: 700; letter-spacing: normal; }
.admin-shell .dashboard-capacity-track { height: 7px; margin: .75rem 0 .45rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.admin-shell .dashboard-capacity-track i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg,#c89b3c,#f2c14e); box-shadow: 0 0 14px rgba(242,193,78,.28); transition: width .45s ease; }
.admin-shell .dashboard-capacity-metric > small { color: #887e6e; font-size: .62rem; }
.admin-shell .dashboard-capacity-metric > small b { color: #d9bd6e; }
.broadcast-numbers.is-code { margin-top: 3.2rem; margin-bottom: 3.5rem; }
.broadcast-number.broadcast-code-number { width: min(82vw, 360px); height: 112px; border-radius: 22px; font-size: clamp(2rem, 7vw, 4rem); letter-spacing: .16em; }
.broadcast-number.broadcast-code-number.is-placeholder { letter-spacing: .12em; }
.admin-shell .result-code-field { max-width: 330px; }
.admin-shell .result-code-field label { display: block; margin-bottom: .4rem; color: #c9bdab; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .result-code-field .form-control { min-height: 52px; border-color: #806323; background: #12100c; color: #fffaf0; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 1.35rem; font-weight: 900; letter-spacing: .16em; text-align: center; }
.admin-shell .result-code-field small { display: block; margin-top: .5rem; color: #8f8677; font-size: .63rem; line-height: 1.45; }
.admin-shell .result-number-pills.is-code span { width: auto; min-width: 150px; height: 52px; padding: 0 1rem; border-radius: 11px; font-size: 1.25rem; letter-spacing: .15em; }
.admin-shell .campaign-detail-result-numbers.is-code span { width: auto; min-width: 150px; border-radius: 11px; font-size: 1.05rem; letter-spacing: .12em; }
.admin-shell .combination-number-pills .combination-number.code-number { min-width: 82px; height: 34px; border-radius: 9px; font-size: .82rem; letter-spacing: .08em; }
@media (max-width: 767px) { .admin-shell .dashboard-capacity-heading { flex-direction: column; } .admin-shell .dashboard-capacity-status { align-self: flex-start; } .admin-shell .dashboard-capacity-grid { grid-template-columns: 1fr; } }

.admin-shell .guide-header { align-items: center; }
.admin-shell .guide-role-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid rgba(242,193,78,.32); border-radius: 999px; background: rgba(242,193,78,.06); color: #f2c14e; font-size: .63rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-shell .guide-role-badge i { width: 6px; height: 6px; border-radius: 50%; background: #f2c14e; box-shadow: 0 0 0 4px rgba(242,193,78,.1); }
.admin-shell .guide-role-badge span { color: #978e7f; font-size: .57rem; font-weight: 600; letter-spacing: .03em; text-transform: none; }
.admin-shell .guide-hero-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.2rem; padding: 1.45rem 1.55rem; border: 1px solid rgba(242,193,78,.28); border-radius: 16px; background: radial-gradient(circle at 100% 0%,rgba(242,193,78,.17),transparent 18rem),linear-gradient(115deg,#211a0f,#15130e); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.admin-shell .guide-hero-copy { max-width: 550px; }
.admin-shell .guide-hero-copy h2 { margin: .3rem 0 .4rem; color: #fffaf0; font-size: clamp(1.45rem,3vw,2.1rem); letter-spacing: -.05em; }
.admin-shell .guide-hero-copy p { margin: 0; color: #aaa294; font-size: .76rem; line-height: 1.55; }
.admin-shell .guide-hero-checklist { display: flex; gap: .7rem; }
.admin-shell .guide-hero-checklist > div { min-width: 98px; padding: .75rem; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.035); }
.admin-shell .guide-hero-checklist span,.admin-shell .guide-hero-checklist strong,.admin-shell .guide-hero-checklist small { display: block; }
.admin-shell .guide-hero-checklist span { color: #8e877a; font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.admin-shell .guide-hero-checklist span.is-done { color: #9dddb1; }
.admin-shell .guide-hero-checklist strong { margin-top: .5rem; color: #f3ecdf; font-size: .7rem; }
.admin-shell .guide-hero-checklist small { margin-top: .18rem; color: #8c8272; font-size: .58rem; }
.admin-shell .guide-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 1.2rem; align-items: start; }
.admin-shell .guide-section { margin-bottom: 1.2rem; padding: 1.35rem 1.4rem; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 32px rgba(0,0,0,.16); }
.admin-shell .guide-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.admin-shell .guide-section-heading h2 { margin: .25rem 0 .25rem; color: #fffaf0; font-size: 1.18rem; letter-spacing: -.035em; }
.admin-shell .guide-section-heading p { margin: 0; color: #948a7b; font-size: .7rem; }
.admin-shell .guide-section-number { color: #f2c14e; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .72rem; font-weight: 900; }
.admin-shell .guide-step-list { display: grid; gap: .55rem; }
.admin-shell .guide-step-card { display: flex; align-items: center; gap: .8rem; padding: .85rem .9rem; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); color: inherit; text-decoration: none; transition: border-color .2s,background .2s,transform .2s; }
.admin-shell .guide-step-card:hover { border-color: rgba(242,193,78,.35); background: rgba(242,193,78,.055); transform: translateX(3px); }
.admin-shell .guide-step-card > span { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid rgba(242,193,78,.35); border-radius: 8px; color: #f2c14e; font-size: .6rem; font-weight: 900; }
.admin-shell .guide-step-card div { flex: 1; }
.admin-shell .guide-step-card strong { display: block; color: #f4ecdd; font-size: .75rem; }
.admin-shell .guide-step-card p { margin: .25rem 0 0; color: #958b7c; font-size: .67rem; line-height: 1.45; }
.admin-shell .guide-step-card > b { color: #f2c14e; font-size: .95rem; font-weight: 400; }
.admin-shell .guide-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.admin-shell .guide-feature-card { padding: .95rem; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); color: inherit; text-decoration: none; transition: border-color .2s,background .2s; }
.admin-shell .guide-feature-card:hover { border-color: rgba(242,193,78,.32); background: rgba(242,193,78,.05); }
.admin-shell .guide-feature-icon { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: .65rem; border: 1px solid rgba(242,193,78,.3); border-radius: 8px; color: #f2c14e; font-size: .7rem; }
.admin-shell .guide-feature-card strong { color: #f2eadb; font-size: .75rem; }
.admin-shell .guide-feature-card p { margin: .3rem 0 0; color: #948a7b; font-size: .67rem; line-height: 1.45; }
.admin-shell .guide-warning { display: flex; gap: .65rem; margin-top: .9rem; padding: .8rem .9rem; border-left: 3px solid #f2c14e; border-radius: 0 9px 9px 0; background: rgba(242,193,78,.06); }
.admin-shell .guide-warning > span { color: #f2c14e; }
.admin-shell .guide-warning strong { color: #f2c14e; font-size: .68rem; }
.admin-shell .guide-warning p { margin: .2rem 0 0; color: #9c9281; font-size: .66rem; line-height: 1.45; }
.admin-shell .guide-timeline { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.admin-shell .guide-timeline > div { position: relative; padding: .9rem .9rem .9rem 2.4rem; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.admin-shell .guide-timeline > div > span { position: absolute; top: .9rem; left: .85rem; color: #f2c14e; font-size: .65rem; font-weight: 900; }
.admin-shell .guide-timeline strong { display: block; color: #f2eadb; font-size: .74rem; }
.admin-shell .guide-timeline p { margin: .25rem 0 0; color: #948a7b; font-size: .66rem; line-height: 1.45; }
.admin-shell .guide-action-row { display: flex; align-items: center; gap: 1.1rem; margin-top: 1rem; }
.admin-shell .guide-action-row .btn { min-height: 40px; }
.admin-shell .guide-text-link,.admin-shell .guide-dev-links a { color: #f2c14e; font-size: .67rem; text-decoration: none; }
.admin-shell .guide-text-link:hover,.admin-shell .guide-dev-links a:hover { color: #ffe18a; }
.admin-shell .guide-safety-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.admin-shell .guide-safety-grid > div { padding: .85rem; border: 1px solid rgba(114,214,157,.15); border-radius: 10px; background: rgba(114,214,157,.035); }
.admin-shell .guide-safety-grid span { color: #9dddb1; font-size: .8rem; }
.admin-shell .guide-safety-grid strong { display: block; margin-top: .4rem; color: #e8f1e9; font-size: .72rem; }
.admin-shell .guide-safety-grid p { margin: .25rem 0 0; color: #91a094; font-size: .65rem; line-height: 1.45; }
.admin-shell .guide-technical-section { border-color: rgba(153,125,255,.3); background: radial-gradient(circle at 100% 0%,rgba(126,93,197,.13),transparent 18rem),linear-gradient(145deg,#211b2a,#15121c); }
.admin-shell .guide-doc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.admin-shell .guide-doc-grid > div { padding: .8rem; border: 1px solid rgba(185,157,255,.14); border-radius: 9px; background: rgba(255,255,255,.025); }
.admin-shell .guide-doc-grid strong { color: #e8ddff; font-size: .7rem; }
.admin-shell .guide-doc-grid p { margin: .3rem 0 0; color: #aa9fbb; font-size: .64rem; line-height: 1.45; }
.admin-shell .guide-doc-grid code { color: #f2c14e; }
.admin-shell .guide-dev-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.1); }
.admin-shell .guide-dev-note { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.2rem; padding: 1rem; border: 1px solid rgba(153,125,255,.25); border-radius: 12px; background: rgba(126,93,197,.08); }
.admin-shell .guide-dev-note > span { color: #c3a8ff; font-size: 1.1rem; }
.admin-shell .guide-dev-note strong { color: #e6d8ff; font-size: .72rem; }
.admin-shell .guide-dev-note p { margin: .25rem 0 0; color: #a99dbb; font-size: .66rem; line-height: 1.45; }
.admin-shell .guide-aside { position: sticky; top: 86px; }
.admin-shell .guide-nav-card,.admin-shell .guide-help-card { padding: 1rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.15); }
.admin-shell .guide-nav-card a { display: block; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #bdb3a3; font-size: .68rem; text-decoration: none; }
.admin-shell .guide-nav-card a:last-child { border-bottom: 0; }
.admin-shell .guide-nav-card a:hover { color: #f2c14e; }
.admin-shell .guide-help-card { margin-top: .8rem; border-color: rgba(242,193,78,.25); background: linear-gradient(145deg,#2a2111,#15120c); }
.admin-shell .guide-help-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: .7rem; border: 1px solid rgba(242,193,78,.38); border-radius: 50%; color: #f2c14e; font-weight: 900; }
.admin-shell .guide-help-card strong { display: block; color: #f5eee1; font-size: .75rem; }
.admin-shell .guide-help-card p { margin: .35rem 0 .8rem; color: #9d9383; font-size: .66rem; line-height: 1.45; }
.admin-shell .guide-help-card a { color: #f2c14e; font-size: .67rem; text-decoration: none; }
@media (max-width: 1000px) { .admin-shell .guide-layout { grid-template-columns: 1fr; } .admin-shell .guide-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; } .admin-shell .guide-help-card { margin-top: 0; } }
@media (max-width: 767px) { .admin-shell .guide-header { align-items: flex-start; flex-direction: column; } .admin-shell .guide-hero-panel { align-items: flex-start; flex-direction: column; } .admin-shell .guide-hero-checklist { width: 100%; } .admin-shell .guide-hero-checklist > div { flex: 1; min-width: 0; } .admin-shell .guide-feature-grid,.admin-shell .guide-timeline,.admin-shell .guide-safety-grid,.admin-shell .guide-doc-grid { grid-template-columns: 1fr; } .admin-shell .guide-section-heading { align-items: flex-start; } .admin-shell .guide-action-row { align-items: stretch; flex-direction: column; gap: .8rem; } .admin-shell .guide-action-row .btn { width: 100%; } .admin-shell .guide-aside { grid-template-columns: 1fr; } .admin-shell .guide-help-card { margin-top: 0; } }

.admin-shell .traffic-header { align-items: center; }
.admin-shell .traffic-live-status { display: flex; align-items: center; gap: .45rem; min-width: 170px; padding: .8rem .9rem; border: 1px solid rgba(114,214,157,.28); border-radius: 12px; background: rgba(31,69,44,.12); }
.admin-shell .traffic-live-status strong { color: #9dddb1; font-size: .64rem; letter-spacing: .13em; }
.admin-shell .traffic-live-status small { display: block; margin-left: auto; color: #849487; font-size: .58rem; }
.admin-shell .traffic-live-pulse { width: 8px; height: 8px; border-radius: 50%; background: #72d69d; box-shadow: 0 0 0 5px rgba(114,214,157,.1); animation: traffic-pulse 1.6s ease-in-out infinite; }
.admin-shell .traffic-metric-card { min-height: 142px; padding: 1rem; border: 1px solid var(--admin-border-soft); border-radius: 13px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.admin-shell .traffic-metric-primary { border-color: rgba(242,193,78,.42); background: radial-gradient(circle at 100% 0%,rgba(242,193,78,.11),transparent 11rem),linear-gradient(145deg,#2a2111,#17130d); }
.admin-shell .traffic-metric-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: .7rem; border: 1px solid rgba(242,193,78,.38); border-radius: 8px; color: #f2c14e; font-size: .85rem; }
.admin-shell .traffic-metric-card small { display: block; color: #9c8e74; font-size: .56rem; font-weight: 900; letter-spacing: .12em; }
.admin-shell .traffic-metric-card strong { display: block; margin-top: .32rem; color: #f6efe1; font-size: 1.65rem; letter-spacing: -.04em; }
.admin-shell .traffic-metric-card p { margin: .25rem 0 0; color: #887f70; font-size: .61rem; }
.admin-shell .traffic-chart-panel,.admin-shell .traffic-health-panel,.admin-shell .traffic-routes-panel { height: 100%; border-color: rgba(242,193,78,.2); }
.admin-shell .traffic-updated { align-self: flex-start; color: #8f887c; font-size: .62rem; white-space: nowrap; }
.admin-shell .traffic-updated b { color: #f2c14e; }
.admin-shell .traffic-chart { display: flex; align-items: end; gap: 3px; height: 178px; padding: 1rem .2rem .2rem; border-bottom: 1px solid rgba(255,255,255,.1); background: repeating-linear-gradient(to bottom,transparent 0 43px,rgba(255,255,255,.045) 43px 44px); }
.admin-shell .traffic-chart span { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg,#f2c14e,#9b7225); opacity: .86; transition: height .35s ease; }
.admin-shell .traffic-chart span:hover { opacity: 1; background: #ffe18a; }
.admin-shell .traffic-chart-axis { display: flex; justify-content: space-between; margin-top: .35rem; color: #766f63; font-size: .58rem; }
.admin-shell .traffic-health-list { display: grid; gap: .7rem; }
.admin-shell .traffic-health-list > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-shell .traffic-health-list span { color: #a49a8b; font-size: .66rem; }
.admin-shell .traffic-health-list strong { color: #f2c14e; font-size: .72rem; white-space: nowrap; }
.admin-shell .traffic-note { margin-top: 1rem; padding: .7rem; border-left: 2px solid #c89b3c; background: rgba(242,193,78,.05); color: #8e877a; font-size: .61rem; line-height: 1.45; }
.admin-shell .traffic-routes-panel { margin-top: 1rem; }
.admin-shell .traffic-routes-table code { color: #f2c14e; font-size: .68rem; }
.admin-shell .traffic-route-bar { width: 150px; height: 5px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.08); }
.admin-shell .traffic-route-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#9b7225,#f2c14e); }
@keyframes traffic-pulse { 0%,100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.05); } }
@media (max-width: 767px) { .admin-shell .traffic-header { align-items: flex-start; flex-direction: column; gap: .9rem; } .admin-shell .traffic-live-status { width: 100%; } .admin-shell .traffic-updated { margin-top: .4rem; } .admin-shell .traffic-route-bar { width: 90px; } }

.admin-shell .security-keys-header { align-items: center; }
.admin-shell .security-keys-lock { padding: .45rem .7rem; border: 1px solid rgba(242,193,78,.32); border-radius: 999px; color: #f2c14e; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .generated-keys-panel { border-color: rgba(114,214,157,.35); background: linear-gradient(145deg,rgba(20,38,25,.96),rgba(18,16,11,.98)); }
.admin-shell .generated-key-list { display: grid; gap: .85rem; }
.admin-shell .generated-key-item label { display: block; margin-bottom: .4rem; color: #bcb09a; font-size: .64rem; font-weight: 900; letter-spacing: .12em; }
.admin-shell .generated-key-row { display: flex; gap: .6rem; }
.admin-shell .generated-key-row .form-control { min-width: 0; border-color: rgba(242,193,78,.25); background: rgba(0,0,0,.22); color: #f7d77e; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .75rem; letter-spacing: .03em; }
.admin-shell .generated-key-row .btn { flex: 0 0 auto; }
.admin-shell .generated-keys-next { display: flex; gap: .8rem; margin-top: 1rem; padding: .85rem 1rem; border-left: 2px solid #72d69d; background: rgba(114,214,157,.07); color: #a8b5a8; font-size: .68rem; line-height: 1.5; }
.admin-shell .generated-keys-next strong { color: #9dddb1; white-space: nowrap; }
.admin-shell .security-key-status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }
.admin-shell .security-key-status { display: flex; align-items: center; gap: .65rem; min-height: 68px; padding: .75rem; border: 1px solid var(--admin-border-soft); border-radius: 12px; background: rgba(255,255,255,.02); }
.admin-shell .security-key-status strong,.admin-shell .security-key-status small { display: block; }
.admin-shell .security-key-status strong { color: #f5eee1; font-size: .68rem; }
.admin-shell .security-key-status small { margin-top: .22rem; color: #8e877a; font-size: .58rem; }
.admin-shell .security-key-status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #bd5144; box-shadow: 0 0 0 4px rgba(189,81,68,.1); }
.admin-shell .security-key-status.is-ready .security-key-status-dot { background: #72d69d; box-shadow: 0 0 0 4px rgba(114,214,157,.1); }
.admin-shell .security-key-status-count { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid rgba(242,193,78,.3); border-radius: 8px; color: #f2c14e; font-size: .72rem; font-weight: 900; }
.admin-shell .security-keys-warning { padding: .95rem 1rem; border-left: 2px solid #c89b3c; border-radius: 0 10px 10px 0; background: rgba(200,155,60,.07); color: #a49a8b; font-size: .68rem; line-height: 1.55; }
.admin-shell .security-keys-warning strong { color: #f2c14e; }
.admin-shell .security-keys-warning p { margin: .35rem 0 .4rem; }
.admin-shell .security-keys-warning ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.admin-shell .security-keys-form { display: flex; justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 900px) { .admin-shell .security-key-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .admin-shell .security-keys-header { align-items: flex-start; flex-direction: column; gap: .7rem; } .admin-shell .generated-key-row { align-items: stretch; flex-direction: column; } .admin-shell .generated-key-row .btn { width: 100%; } .admin-shell .generated-keys-next { align-items: flex-start; flex-direction: column; gap: .25rem; } .admin-shell .security-key-status-grid { grid-template-columns: 1fr; } .admin-shell .security-keys-form .btn { width: 100%; } }

.admin-shell .audit-table .audit-action,
.admin-shell .audit-table .audit-entity { display: block; color: #f2c14e; font-size: .68rem; font-weight: 800; }
.admin-shell .audit-table .audit-entity { color: #d8c7a3; }
.admin-shell .audit-table td small { display: block; margin-top: .3rem; color: #81796e; font-size: .58rem; line-height: 1.35; }
.admin-shell .audit-detail-summary { max-width: 300px; color: #cfc5b5; font-size: .66rem; line-height: 1.45; }
.admin-shell .audit-detail-disclosure { margin-top: .45rem; }
.admin-shell .audit-detail-disclosure summary { cursor: pointer; color: #f2c14e; font-size: .61rem; font-weight: 800; list-style: none; }
.admin-shell .audit-detail-disclosure summary::before { content: '\25B6'; display: inline-block; margin-right: .35rem; font-size: .48rem; transition: transform .2s ease; }
.admin-shell .audit-detail-disclosure[open] summary::before { transform: rotate(90deg); }
.admin-shell .audit-detail-list { display: grid; gap: .35rem; margin: .65rem 0 0; padding: .65rem; border: 1px solid rgba(242,193,78,.13); border-radius: 8px; background: rgba(0,0,0,.14); }
.admin-shell .audit-detail-list > div { display: grid; grid-template-columns: minmax(80px, .8fr) minmax(110px, 1.2fr); gap: .65rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-shell .audit-detail-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.admin-shell .audit-detail-list dt { color: #8e877a; font-size: .58rem; }
.admin-shell .audit-detail-list dd { margin: 0; color: #e4d9c8; font-size: .6rem; overflow-wrap: anywhere; }

.admin-shell .admins-page-header { margin-bottom: 1.25rem; }
.admin-shell .admins-page-header h1 { margin: .25rem 0 .35rem; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.045em; }
.admin-shell .admins-page-header p { max-width: 620px; margin: 0; color: #a7a093; font-size: .76rem; }
.admin-shell .admins-management-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr); gap: 1.15rem; align-items: start; }
.admin-shell .admins-list-panel { overflow: hidden; }
.admin-shell .admins-table { min-width: 650px; }
.admin-shell .admins-table th { padding: .85rem 1.1rem; color: #938978; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-shell .admins-table td { padding: .95rem 1.1rem; color: #c0b8aa; font-size: .72rem; }
.admin-shell .admins-table td strong, .admin-shell .admins-table td small { display: block; }
.admin-shell .admins-table td strong { color: #f1eadb; font-size: .76rem; }
.admin-shell .admins-table td small { margin-top: .25rem; color: #81796e; font-size: .61rem; }
.admin-shell .admins-table tbody tr { transition: background .2s ease; }
.admin-shell .admins-table tbody tr:hover { background: rgba(242,193,78,.045); }
.admin-shell .admin-role-badge { display: inline-flex; align-items: center; padding: .35rem .55rem; border: 1px solid rgba(242,193,78,.24); border-radius: 999px; color: #e9ce81; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.admin-shell .admin-role-dev { border-color: rgba(242,193,78,.5); background: rgba(242,193,78,.1); color: #f2c14e; }
.admin-shell .admin-role-admin { border-color: rgba(114,214,157,.3); background: rgba(114,214,157,.06); color: #9dddb1; }
.admin-shell .admin-role-operator { border-color: rgba(151,174,213,.3); background: rgba(151,174,213,.06); color: #b4c8e5; }
.admin-shell .admins-never-accessed { color: #908777 !important; }
.admin-shell .admins-create-card { position: relative; padding: 1.35rem 1.4rem 1.4rem; border-color: rgba(242,193,78,.28) !important; background: radial-gradient(circle at 100% 0, rgba(242,193,78,.12), transparent 15rem), linear-gradient(145deg,rgba(29,24,16,.98),rgba(17,15,11,.98)); }
.admin-shell .admins-create-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 1rem; border: 1px solid rgba(242,193,78,.4); border-radius: 9px; background: rgba(242,193,78,.08); color: #f2c14e; font-size: 1.25rem; line-height: 1; }
.admin-shell .admins-create-card h2 { margin: .25rem 0 .4rem; color: #fffaf0; font-size: 1.18rem; letter-spacing: -.03em; }
.admin-shell .admins-create-card .settings-description { margin-bottom: 1.25rem; font-size: .69rem; line-height: 1.5; }
.admin-shell .admin-create-form { display: grid; gap: .8rem; }
.admin-shell .admin-form-field label { display: block; margin-bottom: .35rem; color: #d8d0c0; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .admin-form-field .form-control, .admin-shell .admin-form-field .form-select { min-height: 42px; font-size: .75rem; }
.admin-shell .admin-form-field small { display: block; margin-top: .35rem; color: #81796e; font-size: .61rem; }
.admin-shell .admin-password-field .form-control { padding-right: 3.25rem; }
.admin-shell .admin-password-field .password-toggle { color: #9da6b3; }
.admin-shell .admins-create-button { width: 100%; min-height: 44px; margin-top: .25rem; border: 0; background: linear-gradient(135deg,#f2c14e,#c89b3c); color: #171108; font-size: .74rem; font-weight: 900; }
.admin-shell .admins-create-button span { margin-left: .45rem; }
@media (max-width: 1050px) { .admin-shell .admins-management-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-shell .admins-create-card { padding: 1.1rem; } .admin-shell .admins-table { min-width: 620px; } }

.admin-shell .automation-header { align-items: center; }
.admin-shell .automation-status { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem .85rem; border: 1px solid rgba(189,81,68,.35); border-radius: 999px; color: #e48e82; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-shell .automation-status.is-ready { border-color: rgba(114,214,157,.3); color: #9dddb1; }
.admin-shell .automation-status span { width: 8px; height: 8px; border-radius: 50%; background: #bd5144; }
.admin-shell .automation-status.is-ready span { background: #72d69d; box-shadow: 0 0 0 4px rgba(114,214,157,.1); }
.admin-shell .automation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 1rem; }
.admin-shell .automation-panel,.admin-shell .automation-instructions { padding: 1.25rem; border: 1px solid var(--admin-border-soft); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.admin-shell .automation-panel-main { border-color: rgba(242,193,78,.28); }
.admin-shell .automation-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-shell .automation-panel-heading h2,.admin-shell .automation-instructions h2 { margin: .25rem 0 0; color: #fffaf0; font-size: 1.12rem; letter-spacing: -.03em; }
.admin-shell .automation-live-pill { padding: .35rem .55rem; border: 1px solid rgba(189,81,68,.35); border-radius: 999px; color: #e48e82; font-size: .56rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-shell .automation-live-pill.is-ready { border-color: rgba(114,214,157,.3); color: #9dddb1; }
.admin-shell .automation-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; }
.admin-shell .automation-metric { min-height: 105px; padding: .8rem; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.025); }
.admin-shell .automation-metric small,.admin-shell .automation-metric span { display: block; color: #948978; font-size: .58rem; }
.admin-shell .automation-metric strong { display: block; margin: .45rem 0 .15rem; color: #f2c14e; font-size: 1.55rem; }
.admin-shell .automation-last-run { margin-top: 1rem; padding: .75rem .85rem; border-left: 2px solid #c89b3c; background: rgba(242,193,78,.055); color: #a9a093; font-size: .65rem; line-height: 1.5; }
.admin-shell .automation-last-run strong { color: #f2c14e; }
.admin-shell .automation-run-form { display: flex; justify-content: flex-end; margin-top: 1rem; }
.admin-shell .automation-copy-field { margin-top: 1rem; }
.admin-shell .automation-copy-field:first-of-type { margin-top: 0; }
.admin-shell .automation-copy-field label { display: block; margin-bottom: .35rem; color: #d8d0c0; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .automation-copy-field > div { padding: .7rem .75rem; border: 1px solid rgba(242,193,78,.2); border-radius: 8px; background: rgba(0,0,0,.22); }
.admin-shell .automation-copy-field code { color: #f2c14e; font-size: .65rem; overflow-wrap: anywhere; }
.admin-shell .automation-copy-row { display: flex; align-items: center; gap: .55rem; }
.admin-shell .automation-copy-row > code { min-width: 0; flex: 1; }
.admin-shell .automation-copy-row > .automation-copy { flex: 0 0 auto; padding: .42rem .6rem; font-size: .6rem; }
.admin-shell .automation-copy-field small { display: block; margin-top: .35rem; color: #81796e; font-size: .59rem; line-height: 1.45; }
.admin-shell .automation-instructions { margin-top: 1rem; border-color: rgba(114,214,157,.2); }
.admin-shell .automation-instructions ol { margin: 1rem 0 0; padding-left: 1.2rem; color: #afa696; font-size: .68rem; line-height: 1.65; }
.admin-shell .automation-instructions li + li { margin-top: .4rem; }
.admin-shell .automation-instructions code { color: #f2c14e; }
@media (max-width: 900px) { .admin-shell .automation-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .admin-shell .automation-header { align-items: flex-start; flex-direction: column; gap: .75rem; } .admin-shell .automation-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-shell .automation-panel-heading { flex-direction: column; } .admin-shell .automation-copy-row { align-items: stretch; flex-direction: column; } .admin-shell .automation-copy-row > .automation-copy { width: 100%; } .admin-shell .automation-run-form .btn { width: 100%; } }

.admin-shell .site-mode-return-control { display: flex; align-items: stretch; gap: .45rem; }
.admin-shell .site-mode-return-control .form-control { min-width: 0; }
.admin-shell .site-mode-clear-return { flex: 0 0 auto; border: 1px solid rgba(242,193,78,.3); color: #f2c14e; font-size: .65rem; }
.admin-shell .site-mode-clear-return:hover { border-color: #f2c14e; background: rgba(242,193,78,.1); color: #ffe18a; }
.admin-shell .site-mode-countdown-toggle { display: flex; align-items: flex-start; gap: .6rem; min-height: 42px; padding: .6rem .7rem; border: 1px solid rgba(242,193,78,.18); border-radius: 8px; background: rgba(0,0,0,.16); cursor: pointer; }
.admin-shell .site-mode-countdown-toggle input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .12rem; accent-color: #f2c14e; }
.admin-shell .site-mode-countdown-toggle strong,.admin-shell .site-mode-countdown-toggle small { display: block; }
.admin-shell .site-mode-countdown-toggle strong { color: #d8d0c0; font-size: .65rem; }
.admin-shell .site-mode-countdown-toggle small { margin-top: .25rem; color: #81796e; font-size: .58rem; line-height: 1.3; }
@media (max-width: 575px) { .admin-shell .site-mode-return-control { align-items: stretch; flex-direction: column; } .admin-shell .site-mode-clear-return { width: 100%; } }

.admin-shell .automation-header-tools { display: flex; align-items: center; gap: .8rem; }
.admin-shell .automation-updated { color: #827a6d; font-size: .62rem; white-space: nowrap; }
.admin-shell .automation-updated b { color: #f2c14e; }
.admin-shell .automation-kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.admin-shell .automation-kpi { display: flex; align-items: center; gap: .75rem; min-height: 112px; padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: linear-gradient(145deg,rgba(28,25,17,.98),rgba(18,16,11,.98)); }
.admin-shell .automation-kpi-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid rgba(242,193,78,.3); border-radius: 10px; color: #f2c14e; font-size: 1.05rem; }
.admin-shell .automation-kpi small,.admin-shell .automation-kpi span { display: block; color: #9a907f; font-size: .58rem; }
.admin-shell .automation-kpi strong { display: block; margin: .2rem 0; color: #f7f0df; font-size: 1.7rem; line-height: 1; }
.admin-shell .automation-kpi-pending { border-color: rgba(242,193,78,.3); }.admin-shell .automation-kpi-processing { border-color: rgba(113,168,218,.3); }.admin-shell .automation-kpi-sent { border-color: rgba(114,214,157,.3); }.admin-shell .automation-kpi-failed { border-color: rgba(189,81,68,.35); }
.admin-shell .automation-main-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(310px,.75fr); gap: 1rem; align-items: start; }
.admin-shell .automation-side-stack { display: grid; gap: 1rem; }
.admin-shell .automation-panel p { margin: .35rem 0 0; color: #8f877a; font-size: .66rem; line-height: 1.5; }
.admin-shell .automation-refresh { padding: .5rem .7rem; font-size: .62rem; white-space: nowrap; }
.admin-shell .automation-table-wrap { overflow-x: auto; margin: 0 -1.25rem -1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-shell .automation-queue-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.admin-shell .automation-queue-table th { padding: .75rem 1.25rem; color: #8f877a; font-size: .56rem; font-weight: 900; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-shell .automation-queue-table td { padding: .75rem 1.25rem; border-top: 1px solid rgba(255,255,255,.055); color: #beb5a6; font-size: .65rem; white-space: nowrap; }
.admin-shell .automation-queue-table td strong { color: #f0e8d8; font-size: .68rem; }.admin-shell .automation-queue-table code { color: #c9a44e; font-size: .62rem; }
.admin-shell .queue-status { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .45rem; border: 1px solid rgba(242,193,78,.25); border-radius: 999px; color: #e9cb7b; font-size: .55rem; font-weight: 900; }
.admin-shell .queue-status i { width: 6px; height: 6px; border-radius: 50%; background: #f2c14e; }.admin-shell .queue-status.is-processing { border-color: rgba(113,168,218,.35); color: #9ec5ea; }.admin-shell .queue-status.is-processing i { background: #71a8da; animation: traffic-pulse 1.3s infinite; }.admin-shell .queue-status.is-sent { border-color: rgba(114,214,157,.3); color: #9dddb1; }.admin-shell .queue-status.is-sent i { background: #72d69d; }.admin-shell .queue-status.is-failed { border-color: rgba(189,81,68,.4); color: #ef9589; }.admin-shell .queue-status.is-failed i { background: #bd5144; }
.admin-shell .queue-error { display: inline-block; max-width: 210px; overflow: hidden; color: #ee9587; text-overflow: ellipsis; vertical-align: bottom; }.admin-shell .queue-muted { color: #777064; }.admin-shell .automation-empty { padding: 2rem 1.25rem !important; color: #81796e !important; text-align: center; }
.admin-shell .automation-run-panel .btn { width: 100%; margin-top: 1rem; }.admin-shell .automation-last-run { display: grid; gap: .18rem; margin-top: 1rem; padding: .75rem .85rem; border-left: 2px solid #c89b3c; background: rgba(242,193,78,.055); color: #a9a093; font-size: .63rem; }.admin-shell .automation-last-run strong { color: #f2c14e; }.admin-shell .automation-last-run span { color: #d2c5ae; }.admin-shell .automation-last-run small { color: #887f70; }
.admin-shell .automation-host-detected { display: grid; gap: .25rem; padding: .75rem; border: 1px solid rgba(114,214,157,.2); border-radius: 9px; background: rgba(114,214,157,.045); }.admin-shell .automation-host-detected span { color: #8a958a; font-size: .57rem; text-transform: uppercase; letter-spacing: .1em; }.admin-shell .automation-host-detected strong { color: #9dddb1; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .68rem; }.admin-shell .automation-host-detected small { color: #c4b9a8; font-size: .63rem; font-weight: 400; }
.admin-shell .automation-checklist { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }.admin-shell .automation-checklist > div { display: flex; align-items: flex-start; gap: .55rem; color: #a9a093; font-size: .65rem; line-height: 1.45; }.admin-shell .automation-checklist b { color: #f2c14e; font-size: .68rem; }.admin-shell .automation-checklist code { color: #f2c14e; }.admin-shell .automation-checklist strong { color: #9dddb1; }
.admin-shell .automation-warning { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; padding: .8rem 1rem; border-left: 2px solid #bd5144; background: rgba(189,81,68,.08); color: #c5b9a8; font-size: .67rem; }.admin-shell .automation-warning strong { color: #ef9589; }.admin-shell .automation-warning code { color: #f2c14e; }
.admin-shell .automation-schedule-panel { margin-bottom: 1rem; border-color: rgba(242,193,78,.28); }
.admin-shell .automation-schedule-form { display: grid; grid-template-columns: minmax(250px,1fr) minmax(300px,1.5fr); gap: 1rem; align-items: center; }
.admin-shell .automation-schedule-toggle { min-height: 64px; }
.admin-shell .automation-schedule-meta { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; color: #8f877a; font-size: .64rem; }
.admin-shell .automation-schedule-meta strong { color: #f2c14e; }
.admin-shell .automation-schedule-meta .btn { flex: 0 0 auto; }
@media (max-width: 1050px) { .admin-shell .automation-main-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .admin-shell .automation-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.admin-shell .automation-checklist { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .admin-shell .automation-header-tools { align-items: flex-start; flex-direction: column; gap: .45rem; }.admin-shell .automation-kpi-grid,.admin-shell .automation-checklist { grid-template-columns: 1fr; }.admin-shell .automation-panel { padding: 1rem; }.admin-shell .automation-table-wrap { margin-left: -1rem; margin-right: -1rem; margin-bottom: -1rem; }.admin-shell .automation-queue-table th,.admin-shell .automation-queue-table td { padding-left: 1rem; padding-right: 1rem; } }
@media (max-width: 760px) { .admin-shell .automation-schedule-form { grid-template-columns: 1fr; }.admin-shell .automation-schedule-meta { align-items: flex-start; flex-direction: column; gap: .45rem; }.admin-shell .automation-schedule-meta .btn { width: 100%; } }
