﻿:root {
  color-scheme: dark;
  --bg: #08070d;
  --surface: #100e17;
  --surface-2: #16131f;
  --surface-3: #1d1929;
  --line: #292438;
  --line-light: #3a324c;
  --text: #f5f6fb;
  --muted: #8e94a8;
  --faint: #62687b;
  --violet: #9878ed;
  --violet-2: #7250cf;
  --violet-soft: rgba(139,111,247,.12);
  --cyan: #50c8dc;
  --blue: #5a8ef5;
  --gold: #efbd67;
  --green: #45d49b;
  --red: #f06c7b;
  --orange: #eaa653;
  --radius: 14px;
  --shadow: 0 22px 55px rgba(0,0,0,.28);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 21px Georgia, "Times New Roman", serif; letter-spacing: .01em; }
.logo-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: white; background: linear-gradient(145deg, var(--violet), #5133bd); box-shadow: 0 8px 24px rgba(111,82,229,.25); }
.logo-mark.moon-logo { border: 1px solid rgba(239,189,103,.25); color: var(--gold); background: radial-gradient(circle at 65% 32%,#2a203f,#17111f 68%); box-shadow: 0 0 28px rgba(239,189,103,.12),0 8px 24px rgba(0,0,0,.3); font: 700 28px/1 Georgia,serif; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; color: white; font-weight: 700; cursor: pointer; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: linear-gradient(135deg, var(--violet), var(--violet-2)); box-shadow: 0 10px 28px rgba(111,82,229,.22); }
.button.primary:hover { box-shadow: 0 13px 32px rgba(111,82,229,.34); }
.button.secondary { background: var(--surface-2); border-color: var(--line-light); }
.button.secondary:hover { border-color: var(--violet); background: var(--surface-3); }
.button.danger { background: rgba(240,108,123,.12); border-color: rgba(240,108,123,.3); color: #ff9ba6; }
.button.compact { min-height: 40px; padding: 0 15px; font-size: 13px; }

/* Marketing */
.marketing-page { position: relative; background: radial-gradient(circle at 76% 7%, rgba(114,80,207,.18), transparent 31%), radial-gradient(circle at 10% 42%,rgba(239,189,103,.035),transparent 23%),var(--bg); }
.marketing-page::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .32; background-image: radial-gradient(circle,rgba(255,255,255,.22) 0 1px,transparent 1px); background-size: 137px 137px; mask-image: linear-gradient(to bottom,black,transparent 72%); }
.marketing-nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.marketing-nav nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.marketing-nav nav > a:hover { color: var(--text); }
.marketing-nav .nav-invite { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(239,189,103,.22); border-radius: 9px; background: rgba(239,189,103,.045); color: #e9c27d; }.marketing-nav .nav-invite span { font: 700 17px Georgia,serif; }.marketing-nav .nav-invite:hover { border-color: rgba(239,189,103,.5); background: rgba(239,189,103,.08); color: var(--gold); }
.marketing-nav .nav-login { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(152,120,237,.4); border-radius: 9px; background: linear-gradient(135deg,rgba(152,120,237,.16),rgba(114,80,207,.1)); color: #e4ddff; }.marketing-nav .nav-login:hover { border-color: var(--violet); background: rgba(152,120,237,.2); }
.nav-user { display: flex; align-items: center; gap: 9px; color: var(--text); }
.nav-user img { width: 30px; height: 30px; border-radius: 50%; }
.product-hero { min-height: 650px; padding: 74px 0 90px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.product-badge { width: max-content; padding: 7px 11px; border: 1px solid rgba(239,189,103,.24); border-radius: 99px; background: rgba(239,189,103,.07); color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.product-badge span { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 11px rgba(239,189,103,.7); }
.hero-copy h1 { margin: 23px 0 20px; font: 700 clamp(48px,6vw,74px)/1.02 Georgia,"Times New Roman",serif; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-copy > p { max-width: 590px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 31px; }
.button.tavern { border-color: rgba(239,189,103,.28); background: linear-gradient(135deg,rgba(239,189,103,.1),rgba(152,120,237,.07)); color: #f0ce91; }.button.tavern > span { font: 700 21px Georgia,serif; }.button.tavern:hover { border-color: rgba(239,189,103,.58); background: rgba(239,189,103,.12); box-shadow: 0 10px 30px rgba(239,189,103,.08); }
.connection-state { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--faint); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.status-dot.online { background: var(--green); box-shadow: 0 0 9px rgba(69,212,155,.7); }
.inline-notice { margin-top: 18px; padding: 11px 13px; border: 1px solid rgba(234,166,83,.25); border-radius: 9px; background: rgba(234,166,83,.08); color: #efc389; font-size: 13px; }
.inline-notice.danger { border-color: rgba(240,108,123,.25); background: rgba(240,108,123,.08); color: #f5a2ac; }
.product-preview { overflow: hidden; border: 1px solid #3a3048; border-radius: 18px; background: #0c0a11; box-shadow: 0 38px 100px rgba(0,0,0,.45),0 0 90px rgba(114,80,207,.11),inset 0 1px rgba(239,189,103,.05); transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }
.preview-top { height: 42px; padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 8px; letter-spacing: .13em; }
.preview-dots { display: flex; gap: 5px; }.preview-dots i { width: 6px; height: 6px; border-radius: 50%; background: #333847; }.preview-dots i:first-child { background: #654adb; }
.live-pill { justify-self: end; color: var(--muted); letter-spacing: .05em; }.live-pill b { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.preview-body { height: 370px; display: grid; grid-template-columns: 58px 1fr; }
.preview-body > aside { display: flex; flex-direction: column; align-items: center; gap: 19px; padding-top: 20px; border-right: 1px solid var(--line); background: #090a0f; }
.preview-body > aside i { width: 18px; height: 4px; border-radius: 5px; background: #272b39; }.preview-body > aside i.selected { background: var(--violet); box-shadow: 0 0 12px rgba(139,111,247,.5); }
.preview-logo { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border: 1px solid rgba(239,189,103,.2); border-radius: 8px; background: #1b1425; color: var(--gold); font: 700 18px Georgia,serif; }
.preview-body > section { padding: 28px; background: radial-gradient(circle at 90% 0, rgba(111,82,229,.08), transparent 40%); }
.preview-heading { display: flex; justify-content: space-between; align-items: start; }.preview-heading div { display: grid; gap: 5px; }.preview-heading small,.preview-metrics small { color: var(--faint); font-size: 7px; letter-spacing: .12em; }.preview-heading strong { font: 700 20px Georgia,serif; }.preview-heading > span { color: var(--green); font-size: 8px; }
.preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 22px; }.preview-metrics article { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(19,22,32,.8); }.preview-metrics strong { font: 700 18px "Segoe UI Variable", "Segoe UI", sans-serif; }.preview-metrics b { color: var(--green); font-size: 7px; }
.preview-chart { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: rgba(19,22,32,.8); }.chart-label { display: flex; justify-content: space-between; font-size: 9px; }.chart-label small { color: var(--faint); }.chart-bars { height: 105px; display: flex; align-items: end; gap: 10px; padding-top: 14px; }.chart-bars i { flex: 1; min-height: 5%; border-radius: 3px 3px 1px 1px; background: linear-gradient(var(--violet), #49328f); }
.capability-strip { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 22px; border-block: 1px solid var(--line); color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }.capability-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-light); }
.public-stats { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; padding-top: 105px; }.stats-intro h2 { margin: 9px 0 10px; font: 700 38px Georgia,"Times New Roman",serif; }.stats-intro p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.6; }.stats-numbers { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }.stats-numbers article { position: relative; display: grid; gap: 4px; padding: 28px 22px; text-align: center; }.stats-numbers article + article::before { content: ''; position: absolute; top: 25%; bottom: 25%; left: 0; width: 1px; background: var(--line); }.stats-numbers strong { color: var(--gold); font: 700 35px Georgia,"Times New Roman",serif; }.stats-numbers strong small { margin-left: 2px; font-size: 16px; }.stats-numbers span { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.workspace-section, .feature-section { padding: 95px 0 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }.section-heading h2 { margin: 7px 0 5px; font: 750 34px "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: -.03em; }.section-heading p { margin: 0; color: var(--muted); }.section-heading.centered { justify-content: center; text-align: center; }
.account-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }.account-bar > div { display: flex; align-items: center; gap: 10px; }.account-bar img { width: 34px; height: 34px; border-radius: 50%; }.account-bar span { display: grid; }.account-bar small { color: var(--faint); font-size: 10px; }.account-bar > a { color: var(--muted); font-size: 13px; }
.workspace-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }.workspace-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: .18s; }.workspace-card:hover { transform: translateY(-2px); border-color: rgba(139,111,247,.55); background: var(--surface-2); box-shadow: var(--shadow); }.workspace-card img, .server-fallback { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }.server-fallback { display: grid; place-items: center; background: linear-gradient(145deg,var(--violet),#4932a4); font: 800 20px "Segoe UI Variable", "Segoe UI", sans-serif; }.workspace-card > div { display: grid; gap: 3px; }.workspace-card small { color: var(--muted); }.open-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-3); color: var(--violet); }
.empty-state { padding: 50px; border: 1px dashed var(--line-light); border-radius: 14px; text-align: center; }.empty-state > span { font-size: 38px; color: var(--violet); }.empty-state h3 { margin-bottom: 6px; }.empty-state p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }.feature-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.feature-grid article > span { color: var(--violet); font: 700 11px "Segoe UI Variable", "Segoe UI", sans-serif; }.feature-grid h3 { margin: 30px 0 9px; font: 700 19px "Segoe UI Variable", "Segoe UI", sans-serif; }.feature-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.marketing-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }.marketing-footer > span { text-align: center; }.marketing-footer nav { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }.marketing-footer nav a:hover { color: var(--gold); }

/* Application shell */
.app-page { background: #090a0f; }
.app-layout { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 245px; display: flex; flex-direction: column; padding: 22px 14px 15px; border-right: 1px solid var(--line); background: #0b0c11; }
.sidebar-brand { padding: 0 8px 21px; }
.workspace-switcher { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }.workspace-switcher img, .workspace-switcher .server-fallback { width: 36px; height: 36px; border-radius: 9px; font-size: 13px; }.workspace-switcher label { min-width: 0; }.workspace-switcher small { display: block; margin: 0 0 2px 3px; color: var(--faint); font-size: 8px; letter-spacing: .1em; }.workspace-switcher select { width: 100%; padding: 0 3px; border: 0; background: transparent; color: var(--text); font-size: 12px; font-weight: 700; outline: 0; }
.app-nav { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; margin-top: 22px; scrollbar-width: thin; scrollbar-color: var(--line-light) transparent; }.app-nav > small { margin: 20px 10px 6px; color: #505568; font-size: 9px; font-weight: 800; letter-spacing: .12em; }.app-nav > small:first-child { margin-top: 0; }.app-nav a { flex: 0 0 auto; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; min-height: 39px; padding: 0 10px; border-radius: 8px; color: #858a9d; font-size: 13px; font-weight: 600; }.app-nav a:hover { color: #d9dbea; background: rgba(255,255,255,.025); }.app-nav a.active { color: white; background: var(--violet-soft); }.app-nav a > span { font-size: 16px; color: var(--faint); }.app-nav a.active > span { color: var(--violet); }.app-nav a > b { min-width: 25px; padding: 2px 5px; border-radius: 99px; background: var(--surface-3); color: var(--muted); font-size: 9px; text-align: center; }
.sidebar-account { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 9px; padding: 13px 8px 0; margin-top: auto; border-top: 1px solid var(--line); }.sidebar-account img { width: 32px; height: 32px; border-radius: 50%; }.sidebar-account div { display: grid; min-width: 0; }.sidebar-account strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }.sidebar-account small { color: var(--faint); font-size: 9px; }.sidebar-account > a { color: var(--faint); }
.app-main { grid-column: 2; min-width: 0; }
.app-topbar { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(9,10,15,.88); backdrop-filter: blur(18px); }.breadcrumbs { display: flex; gap: 8px; color: var(--faint); font-size: 12px; }.breadcrumbs strong { color: var(--text); }.topbar-actions { display: flex; align-items: center; gap: 9px; }.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }.bot-state { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }.bot-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }.bot-state.online i { background: var(--green); box-shadow: 0 0 8px rgba(69,212,155,.6); }.bot-state small { color: var(--faint); }.mobile-menu { display: none; border: 0; background: none; color: white; font-size: 20px; }
.content-wrap { width: min(1280px, calc(100% - 60px)); margin: 0 auto; padding: 38px 0 100px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }.page-heading h1 { margin: 6px 0 4px; font: 750 30px "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: -.035em; }.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.metric-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.metric-icon { flex: 0 0 auto; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; font-size: 18px; }.metric-icon.violet { color: #b4a5ff; background: rgba(139,111,247,.13); }.metric-icon.blue { color: #8fb0ff; background: rgba(90,142,245,.13); }.metric-icon.cyan { color: #8ee1ec; background: rgba(80,200,220,.12); }.metric-icon.gold { color: #f0c984; background: rgba(234,185,107,.12); }.metric-card > div:last-child { display: grid; }.metric-card small { color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .09em; }.metric-card strong { margin: 3px 0; font: 750 22px "Segoe UI Variable", "Segoe UI", sans-serif; }.metric-card span { color: var(--muted); font-size: 10px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.overview-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 12px; margin-top: 12px; }.activity-panel, .health-panel { min-height: 320px; padding: 22px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }.panel-heading h2 { margin: 0 0 4px; font: 700 16px "Segoe UI Variable", "Segoe UI", sans-serif; }.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; }.legend { color: var(--faint); font-size: 10px; }.legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 2px; background: var(--violet); }
.activity-chart { height: 220px; display: flex; align-items: stretch; justify-content: space-around; gap: 14px; padding-top: 8px; }.chart-column { flex: 1; max-width: 60px; display: grid; grid-template-rows: 20px 1fr 18px; gap: 5px; text-align: center; }.chart-column .chart-value { color: var(--faint); font-size: 9px; opacity: 0; transition: .15s; }.chart-column:hover .chart-value { opacity: 1; }.bar-track { position: relative; display: flex; align-items: end; justify-content: center; }.bar-track i { width: 68%; min-height: 4px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,var(--violet),#49378d); box-shadow: 0 0 18px rgba(139,111,247,.12); }.chart-column small { color: var(--faint); font-size: 9px; }
.health-list { display: grid; }.health-list > div { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }.health-list > div:last-child { border: 0; }.health-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; font-size: 11px; }.health-icon.good { color: var(--green); background: rgba(69,212,155,.1); }.health-icon.bad { color: var(--red); background: rgba(240,108,123,.1); }.health-icon.warn { color: var(--orange); background: rgba(234,166,83,.1); }.health-list div > div { display: grid; }.health-list strong { font-size: 11px; }.health-list small { color: var(--faint); font-size: 9px; }
.status-label { padding: 4px 7px; border-radius: 5px; font-size: 8px; letter-spacing: .05em; }.status-label.good { color: var(--green); background: rgba(69,212,155,.09); }.status-label.bad { color: var(--red); background: rgba(240,108,123,.09); }.status-label.warn { color: var(--orange); background: rgba(234,166,83,.09); }
.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 12px; }.quick-actions button { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }.quick-actions button:hover { border-color: var(--line-light); background: var(--surface-2); }.quick-actions button > span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: var(--violet-soft); color: var(--violet); }.quick-actions button div { display: grid; }.quick-actions strong { font-size: 11px; }.quick-actions small { color: var(--faint); font-size: 9px; }.quick-actions b { color: var(--faint); }
.setup-summary { display: flex; align-items: center; gap: 10px; }.setup-summary > span { font: 700 21px "Segoe UI Variable", "Segoe UI", sans-serif; }.setup-summary > div { display: grid; gap: 5px; min-width: 130px; }.setup-summary strong { font-size: 9px; }.setup-summary i { overflow: hidden; height: 4px; border-radius: 5px; background: var(--line); }.setup-summary i b { display: block; height: 100%; border-radius: 5px; background: var(--violet); }
.settings-panel { margin-bottom: 12px; padding: 22px; }.settings-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.settings-heading > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--violet-soft); color: var(--violet); font: 700 10px "Segoe UI Variable", "Segoe UI", sans-serif; }.settings-heading > div { display: grid; gap: 3px; }.settings-heading h2 { margin: 0; font: 700 15px "Segoe UI Variable", "Segoe UI", sans-serif; }.settings-heading p { margin: 0; color: var(--muted); font-size: 10px; }.settings-heading .switch { margin-left: auto; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
label { display: grid; gap: 7px; color: #c5c8d5; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #0b0d12; color: var(--text); font-size: 12px; transition: .15s; }
input, select { height: 42px; }
textarea { min-height: 105px; padding-block: 11px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,111,247,.09); }
label > small { color: var(--faint); font-size: 9px; font-weight: 400; }
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; }.switch input { display: none; }.switch i { position: relative; width: 35px; height: 19px; border-radius: 99px; background: var(--line-light); }.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: white; transition: .18s; }.switch input:checked + i { background: var(--violet); }.switch input:checked + i::after { transform: translateX(16px); }.switch span { font-size: 10px; }
.form-actionbar { position: sticky; z-index: 10; bottom: 18px; display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; margin-top: 16px; border: 1px solid var(--line-light); border-radius: 11px; background: rgba(19,22,32,.94); box-shadow: 0 18px 45px rgba(0,0,0,.3); backdrop-filter: blur(15px); }.form-actionbar > div { display: grid; }.form-actionbar strong { font-size: 11px; }.form-actionbar small { color: var(--faint); font-size: 9px; }
.search-field { position: relative; width: 250px; }.search-field span { position: absolute; z-index: 1; left: 12px; top: 11px; color: var(--faint); }.search-field input { padding-left: 34px; }
.table-panel { overflow: hidden; }.table-meta { display: flex; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }tr:last-child td { border-bottom: 0; }th { color: var(--faint); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }td { color: #c4c7d4; font-size: 11px; }.member-cell { display: flex; align-items: center; gap: 10px; }.member-cell > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--violet-soft); color: #b5a6ff; font-weight: 800; }.member-cell > div { display: grid; }.member-cell strong { color: var(--text); }.member-cell small { color: var(--faint); font-size: 9px; }.level-pill { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 6px; color: #b7a9ff; background: var(--violet-soft); font-weight: 700; }.row-action { border: 0; background: none; color: var(--violet); font-size: 10px; font-weight: 700; cursor: pointer; }.row-action.danger { color: var(--red); }.empty-cell { height: 100px; color: var(--muted); text-align: center; }
.editor-panel { padding: 22px; margin-bottom: 12px; }.inline-form { display: grid; grid-template-columns: .55fr 1.2fr 1.2fr .8fr auto; align-items: end; gap: 12px; }.stack-form { display: grid; gap: 14px; }.stack-form .button { margin-top: 5px; }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; }.two-column .editor-panel { margin: 0; }.role-preview, .log-panel { padding: 22px; }.role-list { display: grid; gap: 7px; }.role-list > div:not(.panel-empty) { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #0b0d12; }.role-list > div > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: var(--violet-soft); color: var(--violet); }.role-list > div > div { display: grid; }.role-list strong { font-size: 10px; }.role-list small { color: var(--faint); font-size: 9px; }.role-delete, .modal-close { border: 0; background: none; color: var(--faint); font-size: 18px; cursor: pointer; }.role-delete:hover { color: var(--red); }.panel-empty { align-self: center; width: 100%; padding: 35px; color: var(--faint); text-align: center; font-size: 11px; }
.publish-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; margin-top: 12px; }.publish-panel > div { display: flex; align-items: center; gap: 12px; }.publish-panel h2 { margin: 0 0 3px; font: 700 13px "Segoe UI Variable", "Segoe UI", sans-serif; }.publish-panel p { margin: 0; color: var(--muted); font-size: 10px; }.publish-panel form { display: flex; gap: 8px; }.publish-panel select { width: 220px; }
.timeline { display: grid; }.timeline > div:not(.panel-empty) { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }.timeline > div:last-child { border: 0; }.timeline-dot { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(234,166,83,.08); }.timeline-dot.completed { background: var(--green); box-shadow: 0 0 0 4px rgba(69,212,155,.08); }.timeline-dot.failed { background: var(--red); box-shadow: 0 0 0 4px rgba(240,108,123,.08); }.timeline div > div { display: grid; gap: 2px; }.timeline strong { font-size: 10px; }.timeline small, .timeline p { margin: 0; color: var(--faint); font-size: 9px; }.timeline p { color: var(--muted); }
.faction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.faction-card { overflow: hidden; padding: 23px; background: radial-gradient(circle at 100% 0,rgba(152,120,237,.09),transparent 42%),var(--surface); }
.faction-title { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 12px; }
.faction-title > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(239,189,103,.2); border-radius: 10px; background: rgba(239,189,103,.07); color: var(--gold); font-weight: 800; }
.faction-title h2 { margin: 1px 0 5px; font: 700 18px Georgia,"Times New Roman",serif; }
.faction-title p { min-height: 34px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.faction-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 21px 0; border-block: 1px solid var(--line); }
.faction-stats > div { display: grid; gap: 3px; padding: 15px 4px; }.faction-stats > div + div { padding-left: 17px; border-left: 1px solid var(--line); }
.faction-stats strong { color: var(--gold); font-size: 22px; }.faction-stats small { color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.faction-form { display: grid; gap: 13px; }
.compact-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 720px; margin-bottom: 14px; }
.moderation-tools,.moderation-records { margin-bottom: 14px; }.moderation-records { grid-template-columns: 1fr 1fr; }
.moderation-records .timeline small { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }

/* Modals & feedback */
.modal-open { overflow: hidden; }.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(3,4,7,.74); backdrop-filter: blur(7px); }.modal { width: min(460px,100%); padding: 23px; border: 1px solid var(--line-light); border-radius: 15px; background: var(--surface-2); box-shadow: 0 35px 90px rgba(0,0,0,.55); }.modal.small { max-width: 390px; }.modal-header { display: flex; justify-content: space-between; margin-bottom: 20px; }.modal-header h2 { margin: 5px 0 0; font: 700 20px "Segoe UI Variable", "Segoe UI", sans-serif; }.modal > p { color: var(--muted); font-size: 12px; line-height: 1.6; }.modal form { display: grid; gap: 15px; }.member-modal-user { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #0b0d12; }.member-modal-user > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: var(--violet-soft); color: #b7a9ff; font-weight: 800; }.member-modal-user > div { display: grid; }.member-modal-user small { color: var(--faint); font-size: 9px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.toast-container { position: fixed; z-index: 120; right: 22px; bottom: 22px; display: grid; gap: 8px; }.toast { min-width: 260px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(69,212,155,.22); border-radius: 10px; background: #111b18; box-shadow: var(--shadow); color: #b9ead7; font-size: 11px; animation: toast-in .2s ease; }.toast > b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(69,212,155,.12); }.toast.error { border-color: rgba(240,108,123,.25); background: #201316; color: #f2b2b9; }.toast.error > b { background: rgba(240,108,123,.12); }@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.section-heading h2,.page-heading h1,.leaderboard-hero h1 { font-family: Georgia,"Times New Roman",serif; font-weight: 700; letter-spacing: -.025em; }.panel-heading h2,.settings-heading h2,.publish-panel h2,.modal-header h2 { font-family: Georgia,"Times New Roman",serif; letter-spacing: .005em; }.app-sidebar { background: linear-gradient(180deg,#0d0a12,#09080d); }.sidebar-brand { color: #faf3e7; }.app-nav a.active { background: linear-gradient(90deg,rgba(152,120,237,.15),rgba(239,189,103,.035)); }.app-nav a.active > span { color: var(--gold); }

/* Public leaderboard */
.leaderboard-page { background: radial-gradient(circle at 50% -15%,rgba(111,82,229,.17),transparent 38%),var(--bg); }.leaderboard-shell { width: min(900px,calc(100% - 30px)); margin: auto; padding: 25px 0 55px; }.leaderboard-overview .leaderboard-shell { width: min(1080px,calc(100% - 30px)); }.leaderboard-header { display: flex; align-items: center; justify-content: space-between; }.status { color: var(--muted); font-size: 11px; }.leaderboard-hero { display: flex; align-items: center; gap: 18px; padding: 60px 5px 28px; }.leaderboard-hero img { width: 76px; height: 76px; border-radius: 20px; }.leaderboard-hero h1 { margin: 4px 0; font: 750 40px "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: -.04em; }.leaderboard-hero p { margin: 0; color: var(--muted); }.ranking-tabs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 10px; }.ranking-tabs a { padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }.ranking-tabs a.active { border-color: rgba(139,111,247,.45); background: var(--violet-soft); color: #c5bbff; }.leaderboard-list { padding: 9px; }.ranking-row { display: grid; grid-template-columns: 45px 42px 1fr auto; align-items: center; gap: 12px; padding: 12px 13px; border-bottom: 1px solid var(--line); }.ranking-row.overview-row { grid-template-columns: 45px 42px minmax(180px,1fr) minmax(440px,1.35fr); }.ranking-row:last-child { border: 0; }.ranking-row.rank-1 { border-radius: 9px; background: rgba(234,185,107,.06); }.ranking-row .rank { color: var(--muted); font-weight: 800; text-align: center; }.rank-avatar { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: var(--violet-soft); color: #b8aaff; font-weight: 800; }.rank-user,.rank-value { display: grid; }.rank-user small,.rank-value small,.overview-values small { color: var(--faint); font-size: 9px; }.rank-value { text-align: right; }.rank-value strong { color: var(--gold); }.overview-values { display: grid; grid-template-columns: repeat(4,minmax(78px,1fr)); gap: 8px; }.overview-values > span { display: grid; gap: 2px; padding: 8px 11px; border-left: 1px solid var(--line); text-align: right; }.overview-values strong { color: #e4ddff; font-size: 12px; }.empty-ranking { padding: 45px; color: var(--muted); text-align: center; }.leaderboard-shell footer { display: flex; justify-content: center; gap: 25px; padding: 25px; color: var(--faint); font-size: 10px; text-align: center; }.leaderboard-shell footer nav { display: flex; gap: 12px; }.leaderboard-shell footer a:hover { color: var(--gold); }
@media (max-width: 760px) { .ranking-tabs { grid-template-columns: repeat(2,1fr); }.ranking-row.overview-row { grid-template-columns: 34px 38px 1fr; }.overview-row .overview-values { grid-column: 2 / -1; grid-template-columns: repeat(2,1fr); }.overview-values > span { border-left: 0; border-top: 1px solid var(--line); text-align: left; } }

/* Legal pages */
.legal-page { min-height: 100vh; background: radial-gradient(circle at 50% -20%,rgba(114,80,207,.16),transparent 35%),var(--bg); }
.legal-nav { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.legal-nav > a:last-child { color: var(--muted); font-size: 13px; }.legal-nav > a:last-child:hover { color: var(--gold); }
.legal-shell { width: min(820px,calc(100% - 36px)); margin: auto; padding: 80px 0 100px; }.legal-heading { margin-bottom: 35px; }.legal-heading h1 { margin: 9px 0 7px; font: 700 48px Georgia,"Times New Roman",serif; }.legal-heading p { margin: 0; color: var(--faint); }
.legal-warning { display: grid; gap: 4px; padding: 15px 17px; margin-bottom: 20px; border: 1px solid rgba(234,166,83,.28); border-radius: 10px; background: rgba(234,166,83,.07); color: #ebc080; }.legal-warning strong { font-size: 13px; }.legal-warning span { font-size: 11px; line-height: 1.5; }
.legal-content { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }.legal-content section { padding: 28px 31px; border-bottom: 1px solid var(--line); }.legal-content section:last-child { border: 0; }.legal-content h2 { margin: 0 0 12px; color: #f6ead7; font: 700 21px Georgia,"Times New Roman",serif; }.legal-content p,.legal-content li { color: #a7a8b5; font-size: 14px; line-height: 1.75; }.legal-content p { margin: 0; }.legal-content ul { margin: 10px 0 0; padding-left: 20px; }.legal-content a { color: var(--gold); }.legal-content code { padding: 2px 5px; border-radius: 4px; background: var(--surface-3); color: #c4b8ed; }.legal-content em { color: var(--orange); }.compact-legal section { padding-block: 32px; }
.legal-footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }.legal-footer > div { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }.legal-footer a:hover { color: var(--gold); }

@media (max-width: 1080px) {
  .product-hero { grid-template-columns: 1fr; padding-top: 55px; }.hero-copy { text-align: center; }.hero-copy > p { margin-inline: auto; }.product-badge,.connection-state { margin-inline: auto; }.hero-actions { justify-content: center; }.product-preview { width: min(680px,100%); margin: auto; transform: none; }
  .public-stats { grid-template-columns: 1fr; gap: 30px; }.metric-grid { grid-template-columns: repeat(2,1fr); }.overview-grid { grid-template-columns: 1fr; }.two-column { grid-template-columns: 1fr; }.faction-grid { grid-template-columns: 1fr 1fr; }.inline-form { grid-template-columns: repeat(2,1fr); }.inline-form .button { align-self: end; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 26px,1180px); }.marketing-nav nav > a:not(.nav-user,.nav-login) { display: none; }.product-hero { min-height: auto; gap: 45px; }.hero-copy h1 { font-size: 46px; }.preview-body { height: 300px; }.preview-body > section { padding: 18px; }.preview-metrics { gap: 5px; }.preview-metrics article { padding: 10px; }.capability-strip { overflow: hidden; justify-content: start; }.workspace-grid,.feature-grid { grid-template-columns: 1fr; }.section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .app-layout { display: block; }.app-sidebar { transform: translateX(-100%); transition: .2s; box-shadow: var(--shadow); }.app-sidebar.open { transform: translateX(0); }.app-main { grid-column: auto; }.mobile-menu { display: block; }.breadcrumbs { display: none; }.app-topbar { padding: 0 15px; }.content-wrap { width: min(100% - 28px,1280px); padding-top: 24px; }.page-heading { align-items: start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; }.quick-actions { grid-template-columns: 1fr; }.settings-grid { grid-template-columns: 1fr; }.faction-grid { grid-template-columns: 1fr; }.publish-panel { align-items: stretch; flex-direction: column; }.publish-panel form { width: 100%; }.publish-panel select { width: 100%; }.form-actionbar { bottom: 8px; }.search-field { width: 100%; }
}
@media (max-width: 500px) {
  .product-preview { display: none; }.product-hero { padding-bottom: 55px; }.hero-copy h1 { font-size: 40px; }.capability-strip { gap: 12px; font-size: 9px; }.public-stats { padding-top: 65px; }.stats-numbers { grid-template-columns: repeat(2,1fr); }.stats-numbers article:nth-child(3)::before { display: none; }.marketing-footer { align-items: start; flex-direction: column; gap: 12px; }.metric-grid { grid-template-columns: 1fr; }.activity-chart { gap: 5px; }.inline-form { grid-template-columns: 1fr; }.ranking-tabs { grid-template-columns: repeat(2,1fr); }.ranking-row,.ranking-row.overview-row { grid-template-columns: 34px 38px 1fr auto; padding-inline: 5px; }.overview-row .overview-values { grid-column: 2 / -1; grid-template-columns: repeat(2,1fr); }.overview-values > span { border-left: 0; border-top: 1px solid var(--line); text-align: left; }.rank-avatar { width: 36px; height: 36px; }.bot-state span,.bot-state small { display: none; }.form-actionbar small { display: none; }
}

/* Workspace dropdown */
.workspace-switcher { position: relative; overflow: visible; }
.workspace-button { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.workspace-button > span { min-width: 0; display: grid; gap: 2px; }
.workspace-button small { margin: 0; color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.workspace-button strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-button > b { color: var(--muted); transition: transform .15s; }
.workspace-button[aria-expanded="true"] > b { transform: rotate(180deg); }
.workspace-menu { position: absolute; z-index: 80; top: calc(100% + 9px); left: -1px; width: 320px; padding: 7px; border: 1px solid var(--line-light); border-radius: 12px; background: #15111d; box-shadow: 0 24px 70px rgba(0,0,0,.62); }
.workspace-menu-label { padding: 8px 9px 6px; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.workspace-menu > a { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 10px; padding: 9px; border-radius: 8px; color: var(--muted); }
.workspace-menu > a:hover,.workspace-menu > a.selected { background: rgba(152,120,237,.1); color: var(--text); }
.workspace-menu img,.workspace-menu .server-fallback { width: 37px; height: 37px; border-radius: 9px; font-size: 13px; }
.workspace-menu a > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.workspace-menu a strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-menu a small { color: var(--faint); font-size: 9px; }
.workspace-menu a > b { color: var(--gold); }
.workspace-menu .add-server { margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
select,select option { color: var(--text); background-color: #15111d; }

/* Dedicated server selection */
.server-select-page { min-height: 100vh; background: radial-gradient(circle at 50% 0,rgba(114,80,207,.16),transparent 34%),var(--bg); }
.selector-nav { height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.selector-nav > div { display: flex; align-items: center; gap: 10px; }
.selector-nav img { width: 34px; height: 34px; border-radius: 50%; }
.selector-nav div > span { display: grid; }
.selector-nav small { color: var(--faint); font-size: 9px; }
.selector-nav div > a { margin-left: 12px; color: var(--muted); font-size: 12px; }
.selector-shell { max-width: 980px; padding-top: 100px; }
.selector-heading { margin-bottom: 32px; text-align: center; }
.selector-heading h1 { max-width: 700px; margin: 10px auto 9px; font: 700 42px/1.15 Georgia,"Times New Roman",serif; }
.selector-heading p { margin: 0; color: var(--muted); }
.selector-footer { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 25px; color: var(--muted); font-size: 12px; }

/* Comfortable desktop density */
@media (min-width: 761px) {
  .app-layout { grid-template-columns: 285px 1fr; }
  .app-sidebar { width: 285px; padding: 27px 18px 18px; }
  .sidebar-brand { padding: 0 10px 27px; font-size: 25px; }
  .sidebar-brand .logo-mark { width: 42px; height: 42px; font-size: 32px; }
  .workspace-switcher { grid-template-columns: 44px 1fr; gap: 12px; padding: 12px; border-radius: 13px; }
  .workspace-switcher > img,.workspace-switcher > .server-fallback { width: 44px; height: 44px; border-radius: 11px; }
  .workspace-button small { font-size: 9px; }
  .workspace-button strong { font-size: 14px; }
  .app-nav { gap: 5px; margin-top: 27px; }
  .app-nav > small { margin: 24px 12px 7px; font-size: 10px; }
  .app-nav a { grid-template-columns: 29px 1fr auto; min-height: 46px; padding: 0 12px; border-radius: 10px; font-size: 15px; }
  .app-nav a > span { font-size: 18px; }
  .sidebar-account { grid-template-columns: 39px 1fr auto; padding: 17px 10px 0; }
  .sidebar-account img { width: 39px; height: 39px; }
  .sidebar-account strong { font-size: 13px; }
  .sidebar-account small { font-size: 10px; }
  .app-main { grid-column: 2; }
  .app-topbar { height: 74px; padding: 0 38px; }
  .breadcrumbs { gap: 10px; font-size: 14px; }
  .icon-button { width: 40px; height: 40px; }
  .bot-state { padding: 9px 13px; font-size: 12px; }
  .content-wrap { width: min(1500px,calc(100% - 72px)); padding: 47px 0 120px; }
  .page-heading { margin-bottom: 32px; }
  .page-heading h1 { margin-top: 8px; font-size: 40px; }
  .page-heading p { font-size: 16px; }
  .kicker { font-size: 12px; }
  .button.compact { min-height: 46px; padding-inline: 19px; font-size: 14px; }
  .metric-grid { gap: 16px; }
  .metric-card { min-height: 112px; gap: 17px; padding: 25px; border-radius: 16px; }
  .metric-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 21px; }
  .metric-card small { font-size: 11px; }
  .metric-card strong { font-size: 30px; }
  .metric-card span { font-size: 12px; }
  .overview-grid { gap: 16px; margin-top: 16px; }
  .activity-panel,.health-panel { min-height: 390px; padding: 28px; }
  .panel-heading { margin-bottom: 25px; }
  .panel-heading h2 { font-size: 21px; }
  .panel-heading p { font-size: 13px; }
  .activity-chart { height: 275px; gap: 17px; }
  .chart-column .chart-value,.chart-column small { font-size: 11px; }
  .health-list > div { grid-template-columns: 41px 1fr auto; gap: 13px; padding: 19px 0; }
  .health-icon { width: 36px; height: 36px; font-size: 13px; }
  .health-list strong { font-size: 14px; }
  .health-list small { font-size: 11px; }
  .status-label { padding: 5px 9px; font-size: 10px; }
  .quick-actions { gap: 16px; margin-top: 16px; }
  .quick-actions button { grid-template-columns: 43px 1fr auto; gap: 13px; padding: 19px; }
  .quick-actions button > span { width: 41px; height: 41px; }
  .quick-actions strong { font-size: 14px; }
  .quick-actions small { font-size: 11px; }
  .settings-panel,.editor-panel,.role-preview,.log-panel { padding: 29px; }
  .settings-heading h2 { font-size: 20px; }
  .settings-heading p { font-size: 13px; }
  .settings-grid { gap: 21px; }
  label { gap: 9px; font-size: 14px; }
  input,select { height: 49px; padding-inline: 14px; font-size: 14px; }
  textarea { min-height: 120px; padding: 13px 14px; font-size: 14px; }
  .table-meta { padding: 18px 22px; font-size: 12px; }
  th,td { padding: 18px 22px; }
  th { font-size: 11px; }
  td { font-size: 14px; }
  .member-cell > span { width: 39px; height: 39px; }
  .member-cell small { font-size: 11px; }
  .row-action { font-size: 12px; }
  .role-list strong { font-size: 13px; }
  .role-list small { font-size: 11px; }
  .publish-panel { padding: 23px 28px; }
  .publish-panel h2 { font-size: 18px; }
  .publish-panel p { font-size: 12px; }
  .timeline strong { font-size: 13px; }
  .timeline small,.timeline p { font-size: 11px; }
}

@media (max-width: 760px) {
  .marketing-footer { grid-template-columns: 1fr auto; }
  .marketing-footer > span { display: none; }
  .legal-shell { padding-top: 55px; }
  .legal-heading h1 { font-size: 39px; }
  .legal-content section { padding: 23px 21px; }
}
@media (max-width: 500px) {
  .marketing-footer { grid-template-columns: 1fr; gap: 18px; }
  .marketing-footer nav { justify-self: start; }
  .legal-nav > a:last-child { font-size: 11px; }
}


