@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
:root {
  --bg-body: #f0f4f8;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-hover: #f8fafc;
  --bg-muted: #f1f5f9;
  --t-base: #18181b;
  --t-muted: #5f6368;
  --t-light: #8a8f98;
  --t-strong: var(--t-base);
  --t-soft: var(--t-light);
  --bg: var(--bg-body);
  --border: #e4e8ef;
  --border-soft: #eef1f5;
  --primary: #2563eb;
  --primary-soft: #eff6ff;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --info: #0ea5e9;
  --info-soft: #f0f9ff;
  --purple: #8b5cf6;
  --purple-soft: #f5f3ff;
  --surface-glow-strong: color-mix(in srgb, var(--primary-soft) 52%, transparent);
  --surface-glow-soft: color-mix(in srgb, var(--primary-soft) 18%, transparent);
  --surface-panel-glow: color-mix(in srgb, var(--primary) 16%, transparent);
  --surface-panel-glow-strong: color-mix(in srgb, var(--primary) 22%, transparent);
  --surface-backdrop: rgba(15,23,42,.55);
  --surface-mask: color-mix(in srgb, #050816 74%, transparent);
  --auth-aside-accent: color-mix(in srgb, var(--primary) 56%, var(--bg-card));
  --shadow-card: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,.08), 0 4px 6px -4px rgba(15,23,42,.05);
  --overlay: rgba(240,244,248,.72);
  --hajobot-page: var(--bg-body);
  --hajobot-surface: var(--bg-card);
  --hajobot-surface-muted: var(--bg-muted);
  --hajobot-card-radius: 14px;
  --hajobot-control-radius: 9px;
  --hajobot-header-height: 60px;
  --hajobot-header-background: var(--bg-sidebar);
  --hajobot-card-shadow: none;
  --hajobot-card-outline: transparent;
}

html:root[data-accent="red"] {
  --primary: #ef4444;
  --primary-soft: #fef2f2;
}
html:root[data-accent="pink"] {
  --primary: #ec4899;
  --primary-soft: #fdf2f8;
}
html:root[data-accent="blue"] {
  --primary: #2563eb;
  --primary-soft: #eff6ff;
}
html:root[data-accent="orange"] {
  --primary: #f97316;
  --primary-soft: #fff7ed;
}
html:root[data-accent="green"] {
  --primary: #22c55e;
  --primary-soft: #f0fdf4;
}
html:root[data-accent="gray"] {
  --primary: #64748b;
  --primary-soft: #f1f5f9;
}

/* Shared dark-mode palette. */
html:root[data-theme="dark"] {
  --bg-body: #0b0b0c;
  --bg-card: #171719;
  --bg-sidebar: #111113;
  --bg-hover: #202124;
  --bg-muted: #202124;
  --t-base: #f4f4f5;
  --t-muted: #a1a1aa;
  --t-light: #71717a;
  --t-inverse: #0b0b0c;
  --border: #2a2a2d;
  --border-soft: #222225;
  --primary: #60a5fa;
  --primary-light: color-mix(in srgb, var(--primary) 72%, #ffffff);
  --primary-dark: color-mix(in srgb, var(--primary) 78%, #000000);
  --primary-soft: #0f2847;
  --primary-ring: color-mix(in srgb, var(--primary) 22%, transparent);
  --success: #34d399;
  --success-soft: #0f2a20;
  --danger: #f87171;
  --danger-soft: #2b1414;
  --warning: #fbbf24;
  --warning-soft: #2b1f08;
  --info: #a1a1aa;
  --info-soft: #232326;
  --purple: #a1a1aa;
  --purple-soft: #232326;
  --teal: #a1a1aa;
  --teal-soft: #232326;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.38);
  --surface-glow-strong: rgba(255,255,255,.04);
  --surface-glow-soft: rgba(255,255,255,.02);
  --surface-panel-glow: rgba(255,255,255,.035);
  --surface-panel-glow-strong: rgba(255,255,255,.045);
  --surface-backdrop: rgba(0,0,0,.76);
  --surface-mask: rgba(0,0,0,.74);
  --auth-aside-accent: color-mix(in srgb, var(--primary) 42%, var(--bg-card));
  --shadow-card: 0 1px 3px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.25);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.50), 0 4px 6px -4px rgba(0,0,0,.40);
  --overlay: rgba(0,0,0,.72);
}

html[data-theme="dark"][data-accent="red"] {
  --primary: #f87171;
  --primary-soft: #2b1414;
}
html[data-theme="dark"][data-accent="pink"] {
  --primary: #f472b6;
  --primary-soft: #301426;
}
html[data-theme="dark"][data-accent="blue"] {
  --primary: #3b82f6;
  --primary-soft: #172033;
}
html[data-theme="dark"][data-accent="orange"] {
  --primary: #fb923c;
  --primary-soft: #311b0b;
}
html[data-theme="dark"][data-accent="green"] {
  --primary: #34d399;
  --primary-soft: #0f2a20;
}
html[data-theme="dark"][data-accent="gray"] {
  --primary: #d4d4d8;
  --primary-soft: #27272a;
}

/* HAJOBOT Design System: shared surfaces, controls and semantic color variants. */

*,
*::before,
*::after { box-sizing: border-box; }
html,
body { margin: 0; min-height: 100%; }
button,
input,
select,
textarea { font: inherit; }
button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
a { color: inherit; }
ol,
ul { list-style: none; margin: 0; padding: 0; }
img,
svg { display: block; max-width: 100%; }

/* Shared tab navigation formerly supplied by Adminator. */
.tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.tabs > .tab {
  border-bottom: 2px solid transparent;
  color: var(--t-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  position: relative;
  top: 1px;
  transition: color .16s, border-color .16s;
  white-space: nowrap;
}
.tabs > .tab:hover { color: var(--t-base); }
.tabs > .tab.is-active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

/* HAJOBOT owns the app-shell icon sizing previously supplied by Adminator. */
body.adminator-app .d-sidebar .nav-link > svg {
  display: block;
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}
body.adminator-app .d-sidebar button.nav-link {
  appearance: none;
  background-color: transparent;
  border: 0;
  color: var(--t-muted);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
body.adminator-app .d-sidebar button.nav-link:hover {
  background-color: var(--bg-hover);
  color: var(--t-base);
}
body.adminator-app .d-sidebar button.nav-link.is-active {
  background-color: var(--primary-soft);
  color: var(--primary);
}
body.adminator-app .d-sidebar .nav-item-group > .nav-link .chev {
  flex: 0 0 11px;
  height: 11px;
  width: 11px;
}

body.adminator-app,
body.public-shell,
body.status-page {
  background: var(--hajobot-page);
}

body.public-shell {
  color: var(--t-base);
  font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

/* One Korean-first type family across the public site and workspace. */
body.adminator-app,
body.public-shell,
body.status-page,
body.auth-page {
  font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.02em;
}
p {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.7;
}

/* Shared form layout and controls; keep labels, fields and switches aligned on every page. */
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid > .span-2 { grid-column: 1 / -1; }
.field {
  align-content: start;
  display: grid;
  gap: 7px;
  min-width: 0;
}
.field-label {
  color: var(--t-base);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.field-help {
  color: var(--t-muted);
  font-size: 12px;
  line-height: 1.55;
}
.switch {
  align-items: center;
  color: var(--t-base);
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  line-height: 1.45;
  min-height: 24px;
  position: relative;
  width: fit-content;
}
.switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}
.switch .track {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  flex: 0 0 38px;
  height: 22px;
  position: relative;
  transition: background-color .18s ease, border-color .18s ease;
  width: 38px;
}
.switch .track::after {
  background: var(--bg-card);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  content: "";
  height: 16px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform .18s ease;
  width: 16px;
}
.switch input:checked + .track {
  background: var(--primary);
  border-color: var(--primary);
}
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track {
  outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 2px;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: color-mix(in srgb, var(--t-light) 48%, transparent) transparent;
  scrollbar-width: thin;
  width: 100%;
}
.table {
  border-collapse: collapse;
  color: var(--t-base);
  font-size: 13px;
  line-height: 1.5;
  min-width: 760px;
  table-layout: fixed;
  width: 100%;
}
.table th,
.table td {
  border-bottom: 1px solid var(--border-soft);
  overflow-wrap: anywhere;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}
.table th {
  background: color-mix(in srgb, var(--bg-card) 88%, var(--bg-muted));
  color: var(--t-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.table td { color: var(--t-base); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: color-mix(in srgb, var(--primary) 4%, transparent); }
.table td .muted { color: var(--t-muted); font-size: 11px; overflow-wrap: anywhere; }
.table td .btn { min-height: 34px; padding: 7px 10px; }
.table--rewards th:nth-child(1),
.table--rewards td:nth-child(1) { width: 30%; }
.table--rewards th:nth-child(2),
.table--rewards td:nth-child(2) { width: 28%; }
.table--rewards th:nth-child(3),
.table--rewards td:nth-child(3) { width: 18%; }
.table--rewards th:nth-child(4),
.table--rewards td:nth-child(4) { width: 24%; }
.table--history th:nth-child(1),
.table--history td:nth-child(1) { width: 22%; }
.table--history th:nth-child(2),
.table--history td:nth-child(2) { width: 34%; }
.table--history th:nth-child(3),
.table--history td:nth-child(3) { width: 26%; }
.table--history th:nth-child(4),
.table--history td:nth-child(4) { width: 18%; }
@media (max-width: 900px) {
  .form-grid.three,
  .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .form-grid,
  .form-grid.two,
  .form-grid.three,
  .form-grid.four { grid-template-columns: minmax(0, 1fr); }
  .form-grid > .span-2 { grid-column: 1; }
}

body.adminator-app .d-footer {
  align-items: center;
  color: var(--t-muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 24px 32px 28px;
}
body.adminator-app .d-footer a { color: var(--primary); font-weight: 600; }
body.adminator-app .d-footer a:hover { color: var(--primary-dark); }

/* Fade theme palette changes instead of flashing the whole interface at once. */
html.theme-transitioning,
html.theme-transitioning body,
html.theme-transitioning body * {
  transition-delay: 0ms;
  transition-duration: 320ms;
  transition-property: color, background-color, background-image, border-color, box-shadow, fill, stroke;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
  html.theme-transitioning,
  html.theme-transitioning body,
  html.theme-transitioning body * { transition-duration: 0s !important; }
}

/* Snapshot the whole interface so the sidebar and page crossfade as one surface. */
html.theme-view-transition,
html.theme-view-transition body,
html.theme-view-transition body * { transition-duration: 0s !important; }
html.theme-view-transition::view-transition-old(root),
html.theme-view-transition::view-transition-new(root) {
  animation-duration: 340ms;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
}
html.theme-view-transition::view-transition-old(root) { animation-name: hajobot-theme-fade-out; }
html.theme-view-transition::view-transition-new(root) { animation-name: hajobot-theme-fade-in; }
@keyframes hajobot-theme-fade-out { to { opacity: 0; } }
@keyframes hajobot-theme-fade-in { from { opacity: 0; } }

/* Keep the sidebar palette in step with the rest of the theme, including its mobile transform rule. */
html.theme-transitioning body.adminator-app .d-sidebar,
html.theme-transitioning body.adminator-app .d-sidebar *,
html.theme-transitioning body.adminator-app .d-sidebar .nav-link {
  transition-delay: 0ms !important;
  transition-duration: 320ms !important;
  transition-property: color, background-color, background-image, border-color, box-shadow, fill, stroke, transform !important;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1) !important;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-transitioning body.adminator-app .d-sidebar,
  html.theme-transitioning body.adminator-app .d-sidebar * { transition-duration: 0s !important; }
}

/* Keep the application chrome quiet: surfaces stay distinct through fill, not seams or glow. */
.d-sidebar {
  background: var(--bg-sidebar);
  border: 0;
  box-shadow: none;
  transition: background-color 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1);
}
.d-sidebar .nav-link,
.d-sidebar .nav-sub-label { transition: color 180ms cubic-bezier(.22, .61, .36, 1), background-color 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1), padding-left .16s ease; }
.d-sidebar .nav-mini-toggle__track { transition: background-color 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1), opacity .18s ease; }
.brand { border: 0; }
.sidebar-footer { border: 0; }
.nav-subgroup,
.nav-subgroup:has(.nav-sub-label) { border-left: 0; }
.nav-submenu::before { display: none; }
.d-topbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--hajobot-header-background);
  border: 0;
  box-shadow: none;
}
.d-sidebar .nav-link.is-active {
  background-image: none !important;
  border-left: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.d-sidebar .nav-link.is-active::before,
.d-sidebar .nav-link.is-active::after { content: none !important; display: none !important; }

/* Accent color stays in the floating vector blobs instead of a full-page glow. */
body.public-shell.home-page {
  background-color: var(--bg-body);
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg-body) 96%, var(--bg-card)) 0%, var(--bg-body) 70%);
}
body.adminator-app::before { display: none; }
.public-shell__header,
body.adminator-app .d-topbar {
  background: color-mix(in srgb, var(--hajobot-header-background) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  box-shadow: none;
}
.public-shell__header { min-height: var(--hajobot-header-height); }
.public-shell__header-inner,
.home-header__inner { min-height: var(--hajobot-header-height); }
.home-brand__mark { border-radius: 10px; height: 36px; width: 36px; }
body.public-shell.home-page .hajobot-ambient,
body.adminator-app .hajobot-ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}
.hajobot-ambient::after {
  background: color-mix(in srgb, var(--bg-body) 46%, transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.hajobot-ambient__blob-layer {
  filter: blur(20px) saturate(1.4);
  inset: -48px;
  pointer-events: none;
  position: absolute;
}
.hajobot-ambient--low-power .hajobot-ambient__blob-layer { filter: blur(12px) saturate(1.3); }
.hajobot-ambient__blob {
  animation: hajobot-ambient-drift-one 34s ease-in-out infinite alternate;
  color: var(--primary);
  filter: none;
  height: min(90vw, 920px);
  position: absolute;
  width: min(90vw, 920px);
  opacity: .22;
}
.hajobot-ambient__blob path { fill: currentColor; }
.hajobot-ambient__blob-layer .hajobot-ambient__blob:nth-of-type(1) { left: -21%; top: -21%; }
.hajobot-ambient__blob-layer .hajobot-ambient__blob:nth-of-type(2) { animation: hajobot-ambient-drift-two 41s ease-in-out infinite alternate; bottom: -31%; right: -20%; opacity: .19; }
.hajobot-ambient__blob-layer .hajobot-ambient__blob:nth-of-type(3) { animation: hajobot-ambient-drift-three 29s ease-in-out infinite alternate; height: min(58vw, 620px); left: 35%; opacity: .16; top: 32%; width: min(58vw, 620px); }
.hajobot-ambient--dashboard .hajobot-ambient__blob { opacity: .19; }
@keyframes hajobot-ambient-drift-one {
  from { transform: translate3d(-64px, 38px, 0) rotate(-12deg) scale(.91, 1.09); }
  to { transform: translate3d(82px, -72px, 0) rotate(15deg) scale(1.09, .91); }
}
@keyframes hajobot-ambient-drift-two {
  from { transform: translate3d(72px, -48px, 0) rotate(13deg) scale(1.08, .92); }
  to { transform: translate3d(-84px, 62px, 0) rotate(-15deg) scale(.92, 1.08); }
}
@keyframes hajobot-ambient-drift-three {
  from { transform: translate3d(-48px, -62px, 0) rotate(-10deg) scale(.9, 1.1); }
  to { transform: translate3d(58px, 52px, 0) rotate(14deg) scale(1.1, .9); }
}
body.public-shell.home-page::before { display: none; }

/* The viewport, sidebar, and nested update panes use one scrollbar treatment. */
html,
body.adminator-app,
body.public-shell,
body.adminator-app *,
body.public-shell * {
  scrollbar-color: color-mix(in srgb, var(--t-light) 42%, transparent) transparent;
  scrollbar-width: thin;
}
html::-webkit-scrollbar,
body.adminator-app::-webkit-scrollbar,
body.public-shell::-webkit-scrollbar,
body.adminator-app *::-webkit-scrollbar,
body.public-shell *::-webkit-scrollbar { height: 6px !important; width: 6px !important; }
html::-webkit-scrollbar-track,
body.adminator-app::-webkit-scrollbar-track,
body.public-shell::-webkit-scrollbar-track,
body.adminator-app *::-webkit-scrollbar-track,
body.public-shell *::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb,
body.adminator-app::-webkit-scrollbar-thumb,
body.public-shell::-webkit-scrollbar-thumb,
body.adminator-app *::-webkit-scrollbar-thumb,
body.public-shell *::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--t-light) 42%, transparent);
  border: 0;
  border-radius: 999px;
  background-clip: border-box;
}
html::-webkit-scrollbar-thumb:hover,
body.adminator-app::-webkit-scrollbar-thumb:hover,
body.public-shell::-webkit-scrollbar-thumb:hover,
body.adminator-app *::-webkit-scrollbar-thumb:hover,
body.public-shell *::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--primary) 62%, transparent); }
/* Match the sidebar thumb's visible width to the viewport scrollbar. */
body.adminator-app .d-sidebar { scrollbar-gutter: auto; }
body.adminator-app .d-sidebar::-webkit-scrollbar { height: 6px !important; width: 6px !important; }
body.adminator-app .d-sidebar::-webkit-scrollbar-track { background: transparent; }
body.adminator-app .d-sidebar::-webkit-scrollbar-thumb {
  border: 0;
  background-clip: border-box;
}

/* Full-width dashboard chrome; the navigation rail begins directly below it. */
body.adminator-app { --hajobot-topbar-height: var(--hajobot-header-height); padding-top: var(--hajobot-topbar-height); }
body.adminator-app .shell { min-height: calc(100vh - var(--hajobot-topbar-height)); }
body.adminator-app .d-topbar {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 248px) minmax(0, 1fr) auto;
  height: var(--hajobot-header-height);
  inset: 0 0 auto;
  padding: 0 24px;
  position: fixed;
  width: 100%;
  z-index: 200;
}
body.adminator-app [data-shell-topbar]:empty { height: var(--hajobot-header-height); inset: 0 0 auto; padding: 0 24px; position: fixed; width: 100%; z-index: 200; }
body.adminator-app [data-shell-topbar]:empty::before,
body.adminator-app [data-shell-topbar]:empty::after { display: none; }
body.adminator-app .d-sidebar { align-self: start; height: calc(100vh - var(--hajobot-topbar-height)); position: sticky; top: var(--hajobot-topbar-height); }
.topbar-brand-group { align-items: center; display: flex; min-width: 0; }
.topbar-brand { align-items: center; color: var(--t-base); display: inline-flex; gap: 10px; min-width: 0; text-decoration: none; }
.topbar-brand img { border-radius: 10px; display: block; height: 36px; object-fit: cover; width: 36px; }
.topbar-brand__copy { display: grid; line-height: 1.1; min-width: 0; }
.topbar-brand__copy strong { font-size: 14px; font-weight: 850; letter-spacing: -.025em; }
.topbar-brand__copy small { color: var(--t-light); font-size: 9px; font-weight: 700; letter-spacing: .09em; margin-top: 3px; white-space: nowrap; }
body.adminator-app .d-topbar .crumbs { min-width: 0; }
body.adminator-app .d-topbar .topbar-actions { justify-self: end; }
.mobile-nav-toggle,
.mobile-nav-scrim { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hajobot-ambient__blob { animation: none; }
}

@media (max-width: 900px) {
  /* The shell's desktop stacking context trapped the fixed drawer under the body-level scrim. */
  body.adminator-app .shell { grid-template-columns: minmax(0, 1fr); z-index: auto; }
  body.adminator-app .d-sidebar {
    background: var(--bg-sidebar);
    height: calc(100dvh - var(--hajobot-topbar-height));
    left: 0;
    overflow-x: hidden;
    padding: 18px 16px;
    position: fixed;
    top: var(--hajobot-topbar-height);
    transform: translateX(-105%);
    transition: transform .2s ease;
    width: min(280px, 86vw);
    z-index: 170;
  }
  body.adminator-app.has-mobile-sidebar-open .d-sidebar { transform: translateX(0); }
  body.adminator-app .d-topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 0 16px; }
  body.adminator-app [data-shell-topbar]:empty { padding: 0 16px; }
  body.adminator-app .d-topbar .crumbs { display: none; }
  .topbar-brand-group { gap: 10px; }
  .mobile-nav-toggle { align-items: center; background: transparent; border: 0; border-radius: 8px; color: var(--t-base); display: inline-grid; height: 38px; justify-items: center; padding: 0; width: 38px; }
  .mobile-nav-toggle:hover { background: var(--bg-hover); }
  .mobile-nav-toggle svg { fill: none; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; width: 21px; }
  .mobile-nav-scrim { background: rgba(0, 0, 0, .48); border: 0; display: block; inset: var(--hajobot-topbar-height) 0 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .2s ease; z-index: 160; }
  body.adminator-app.has-mobile-sidebar-open .mobile-nav-scrim { opacity: 1; pointer-events: auto; }
  body.adminator-app .d-topbar .topbar-actions { gap: 4px; }
  body.adminator-app .topbar-meta { display: none; }
}
@media (max-width: 480px) {
  body.adminator-app .d-topbar { gap: 6px; padding: 0 10px; }
  body.adminator-app [data-shell-topbar]:empty { padding: 0 10px; }
  .topbar-brand { gap: 7px; }
  .topbar-brand img { height: 32px; width: 32px; }
  .topbar-brand__copy small { font-size: 8px; }
  body.adminator-app .d-topbar .accent-picker { display: none; }
  body.adminator-app .d-topbar .topbar-actions { gap: 2px; }
}

body.adminator-app::before,
body.status-page::before,
body.auth-page::before {
  display: none;
}

.hj-card,
.card:not(dialog.card),
dialog.card {
  background: var(--hajobot-surface);
  border: 0;
  border-radius: var(--hajobot-card-radius);
  box-shadow: var(--hajobot-card-shadow);
}

.hj-card[data-hajobot-tone="muted"],
.card[data-hajobot-tone="muted"] {
  background: var(--hajobot-surface-muted);
}

.hj-card[data-hajobot-tone="brand"],
.card[data-hajobot-tone="brand"] {
  background: color-mix(in srgb, var(--primary) 8%, var(--hajobot-surface));
}

.hj-card[data-hajobot-tone="danger"],
.card[data-hajobot-tone="danger"] {
  background: color-mix(in srgb, var(--danger) 8%, var(--hajobot-surface));
}

.btn,
.hj-button {
  align-items: center;
  border: 0;
  border-radius: var(--hajobot-control-radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, filter .16s ease;
}

.btn--ghost,
.hj-button--muted {
  background: var(--hajobot-surface-muted);
  border: 0;
  color: var(--t-base);
}

.btn--ghost:hover:not(:disabled),
.hj-button--muted:hover:not(:disabled) {
  background: color-mix(in srgb, var(--hajobot-surface-muted) 75%, var(--primary));
}

.btn--primary,
.hj-button--primary,
.btn--danger {
  border: 0;
}

.hj-button--primary { background: var(--primary); color: #fff; }
.hj-button--primary:hover:not(:disabled) { filter: brightness(.96); }

body.adminator-app input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]),
body.adminator-app select,
body.adminator-app textarea,
body.public-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]),
body.public-shell select,
body.public-shell textarea {
  background-color: var(--hajobot-surface);
  border-color: var(--border);
  border-radius: var(--hajobot-control-radius);
  color: var(--t-base);
}

body.adminator-app input:focus-visible,
body.adminator-app select:focus-visible,
body.adminator-app textarea:focus-visible,
body.public-shell input:focus-visible,
body.public-shell select:focus-visible,
body.public-shell textarea:focus-visible {
  border-color: var(--primary);
  outline: 2px solid color-mix(in srgb, var(--primary) 22%, transparent);
  outline-offset: 1px;
}

.site-callout {
  align-items: center;
  background: color-mix(in srgb, var(--callout-accent, var(--primary)) var(--callout-tint, 9%), var(--hajobot-surface));
  border: 0;
  border-radius: var(--hajobot-card-radius);
  box-shadow: none;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.site-partnership-banner {
  --callout-accent: var(--primary);
  --callout-tint: 13%;
  margin: -14px auto 32px;
  max-width: 920px;
  padding: 16px 20px;
}

.site-partnership-banner__copy { display: grid; gap: 4px; }
.site-partnership-banner__copy .eyebrow { color: var(--primary); }
.site-partnership-banner__copy strong { color: var(--t-base); font-size: 15px; font-weight: 850; }
.site-partnership-banner__copy > span:last-child { color: var(--t-muted); font-size: 12px; }
.site-partnership-banner__action {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: var(--hajobot-control-radius);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}
.site-partnership-banner__action:hover { filter: brightness(1.06); }

.shell-auth-banner {
  --callout-accent: var(--danger);
  --callout-tint: 8%;
  color: var(--t-base);
  margin-bottom: 20px;
  padding: 14px 16px;
}

.shell-auth-banner div { display: grid; gap: 3px; }
.shell-auth-banner strong { font-size: 14px; }
.shell-auth-banner span { color: var(--t-muted); font-size: 12px; }
.shell-auth-banner__action {
  background: var(--danger);
  color: #fff;
  flex: 0 0 auto;
}
.shell-auth-banner__action:hover { background: color-mix(in srgb, var(--danger) 86%, #000); color: #fff; }

.hj-legal-wrap {
  margin: 0 auto;
  max-width: 980px;
  padding: 42px 20px 64px;
}
.hj-legal-head { margin-bottom: 24px; }
.hj-legal-eyebrow {
  color: var(--primary);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hj-legal-title {
  color: var(--t-base);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.2;
  margin: 10px 0 0;
}
.hj-legal-date { color: var(--t-muted); margin: 8px 0 0; }
.hj-legal-card { display: grid; gap: 22px; padding: clamp(20px, 4vw, 30px); }
.hj-legal-card section { display: grid; gap: 10px; }
.hj-legal-card h2 { color: var(--t-base); font-size: 18px; margin: 0; }
.hj-legal-card p,
.hj-legal-card li { color: var(--t-muted); line-height: 1.75; }
.hj-legal-card p { margin: 0; }
.hj-legal-card a:not(.hj-button) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.hj-legal-card ul { list-style: disc; margin: 0; padding-left: 20px; }
.pricing-wrap { max-width: 1160px; }
.pricing-head { text-align: center; }
.pricing-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-card { align-content: start; }
.pricing-card h2 { color: var(--t-base); font-size: 20px; margin: 0; }
.pricing-price { color: var(--t-base); font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
.pricing-price small { color: var(--t-muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.pricing-buy { margin-top: auto; width: 100%; }
.pricing-status { color: var(--t-muted); min-height: 1.4em; margin: 0; }
.pricing-note { margin-top: 22px; }
.pricing-note .hj-button { margin-top: 6px; }
.hj-legal-table { border-collapse: collapse; width: 100%; }
.hj-legal-table th,
.hj-legal-table td { border-bottom: 1px solid var(--border-soft); padding: 12px; text-align: left; vertical-align: top; }
.hj-legal-table th { background: var(--hajobot-surface-muted); color: var(--t-base); font-weight: 750; }
.hj-legal-back { margin-top: 24px; }

.status-card {
  background: var(--hajobot-surface);
  border: 0;
  border-radius: var(--hajobot-card-radius);
  box-shadow: none;
}

@media (max-width: 800px) {
  .site-partnership-banner { align-items: stretch; flex-direction: column; gap: 12px; margin: -10px auto 24px; padding: 14px; }
  .site-partnership-banner__action { width: 100%; }
}

@media (max-width: 720px) {
  .shell-auth-banner { align-items: stretch; flex-direction: column; }
  .shell-auth-banner__action { justify-content: center; width: 100%; }
  .hj-legal-wrap { padding: 30px 16px 48px; }
  .hj-legal-table { min-width: 640px; }
  .hj-legal-card section:has(.hj-legal-table) { overflow-x: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
}
