:root {
  color-scheme: dark;
  --bg: #07080b;
  --surface: #0d0f14;
  --surface-2: #12151c;
  --line: #20242e;
  --line-soft: #171a21;
  --text: #f5f5f7;
  --muted: #858a97;
  --muted-2: #5f6470;
  --lime: #caff45;
  --lime-deep: #8dbd1a;
  --violet: #9b6dff;
  --blue: #59a8ff;
  --amber: #f7b84b;
  --red: #ff6e7a;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 18px 18px; border-right: 1px solid var(--line-soft); background: #090a0e; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; padding: 0 8px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #414832; border-radius: 11px; color: var(--lime); font-weight: 900; letter-spacing: -.08em; background: linear-gradient(145deg, #1b2115, #0b0d0a); box-shadow: inset 0 0 18px rgba(202,255,69,.07); }
.brand b, .brand small { display: block; letter-spacing: .14em; }
.brand b { font-size: 13px; }
.brand small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.nav { display: grid; gap: 5px; margin-top: 46px; }
.nav a, .nav button { display: flex; align-items: center; gap: 13px; min-height: 45px; padding: 0 13px; border: 0; border-radius: 11px; color: #9196a2; background: transparent; text-align: left; text-decoration: none; font-size: 13px; font-weight: 650; transition: .18s ease; }
.nav button { width: 100%; }
.nav a span, .nav button span { width: 22px; text-align: center; font-size: 17px; color: #69707c; }
.nav a:hover, .nav button:hover { color: var(--text); background: #111319; }
.nav a.active { color: var(--text); background: #171a20; box-shadow: inset 2px 0 var(--lime); }
.nav a.active span { color: var(--lime); }
.sidebar-footer { margin-top: auto; display: grid; gap: 16px; }
.overwatch-button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; border: 1px solid #26301f; border-radius: 13px; padding: 12px; color: var(--text); background: linear-gradient(135deg, rgba(202,255,69,.07), rgba(155,109,255,.04)); text-align: left; }
.overwatch-button b, .overwatch-button small { display: block; }
.overwatch-button b { font-size: 11px; }
.overwatch-button small { font-size: 9px; color: var(--lime); margin-top: 3px; }
.eila-orb { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #efffbd 0 5%, #b5ec36 10%, #5e761f 35%, #171b10 68%); box-shadow: 0 0 22px rgba(202,255,69,.2), inset -6px -8px 16px rgba(0,0,0,.55); }
.eila-orb i { width: 9px; height: 9px; border-radius: 50%; background: white; filter: blur(2px); opacity: .85; }
.identity { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 14px 7px 2px; border-top: 1px solid var(--line-soft); }
.identity > span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #111; background: var(--lime); font-size: 10px; font-weight: 900; }
.identity p { margin: 0; }
.identity b, .identity small { display: block; }
.identity b { font-size: 11px; }
.identity small { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.identity button { border: 0; color: var(--muted); background: transparent; }

.main { min-width: 0; padding: 31px clamp(22px, 3.2vw, 54px) 60px; background: radial-gradient(circle at 70% -10%, rgba(155,109,255,.055), transparent 28%), var(--bg); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.eyebrow, .section-kicker { margin: 0; font-size: 9px; letter-spacing: .16em; color: var(--muted); font-weight: 800; }
.topbar h1 { margin: 7px 0 0; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.035em; }
.topbar h1 em { color: var(--muted); font-style: normal; font-weight: 450; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.mode-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; color: #9ea3ad; background: #0d0f13; font-size: 10px; font-weight: 700; }
.mode-pill i, .composer-footer p i, .good-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 9px rgba(247,184,75,.6); }
.mode-pill.live i, .composer-footer p i, .good-dot { background: var(--lime); box-shadow: 0 0 9px rgba(202,255,69,.55); }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: #b5bac5; background: #101218; }
.icon-button:hover { border-color: #39402f; color: var(--lime); }
.icon-button.small { width: 31px; height: 31px; font-size: 14px; }
.primary-button { min-height: 40px; border: 0; border-radius: 10px; padding: 0 17px; color: #0b0d07; background: var(--lime); font-size: 11px; font-weight: 900; box-shadow: 0 8px 30px rgba(202,255,69,.08); }
.primary-button:hover { background: #d9ff73; transform: translateY(-1px); }
.primary-button:disabled { opacity: .5; cursor: wait; transform: none; }
.text-button { border: 0; padding: 5px; color: var(--lime); background: transparent; font-size: 10px; font-weight: 800; }
.text-button:hover { color: #e3ff9b; }

.hero { position: relative; min-height: 283px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; overflow: hidden; border: 1px solid #20241e; border-radius: 22px; padding: clamp(28px, 5vw, 57px); background: linear-gradient(112deg, #12160e 0%, #0d100c 45%, #0b0c10 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(90deg, black, transparent); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.section-kicker { color: var(--lime); }
.hero h2 { margin: 13px 0; font-size: clamp(34px, 5vw, 60px); line-height: .98; letter-spacing: -.055em; font-weight: 450; }
.hero h2 strong { color: var(--lime); font-weight: 850; }
.hero p { max-width: 570px; margin: 0; color: #8e9488; line-height: 1.6; font-size: 13px; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 25px; }
.orbit { position: relative; width: min(320px, 28vw); aspect-ratio: 1; justify-self: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(202,255,69,.14); border-radius: 50%; animation: spin 25s linear infinite; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.ring-one { inset: 13%; }
.ring-one::before { left: 8%; top: 21%; }
.ring-two { inset: 0; border-color: rgba(155,109,255,.11); animation-direction: reverse; animation-duration: 36s; }
.ring-two::after { right: 14%; bottom: 18%; background: var(--violet); }
.orbit-core { position: absolute; inset: 30%; display: grid; place-items: center; align-content: center; border: 1px solid #354122; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #232e14, #0d100a 62%); box-shadow: 0 0 65px rgba(202,255,69,.12), inset 0 0 30px rgba(202,255,69,.05); }
.orbit-core span { color: var(--lime); font-size: clamp(25px, 3vw, 42px); font-weight: 950; letter-spacing: -.09em; }
.orbit-core small { color: #667049; font-size: 7px; letter-spacing: .2em; }
.orbit-node { position: absolute; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #343a2c; border-radius: 50%; color: #b6c08f; background: #11140e; font-size: 10px; font-weight: 900; }
.node-one { left: 6%; top: 25%; }.node-two { right: 2%; top: 41%; }.node-three { left: 27%; bottom: 1%; }
@keyframes spin { to { transform: rotate(360deg); } }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 13px 0; }
.metrics article { min-width: 0; display: grid; grid-template-columns: 41px 1fr; gap: 12px; align-items: center; padding: 17px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface); }
.metric-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; font-size: 16px; }
.metric-icon.violet { color: #be9fff; background: rgba(155,109,255,.11); }.metric-icon.green { color: var(--lime); background: rgba(202,255,69,.09); }.metric-icon.blue { color: var(--blue); background: rgba(89,168,255,.1); }.metric-icon.amber { color: var(--amber); background: rgba(247,184,75,.1); }
.metrics small, .metrics b, .metrics p { display: block; }
.metrics small { color: var(--muted); font-size: 9px; }
.metrics b { margin-top: 3px; font-size: 22px; letter-spacing: -.04em; }
.metrics p { margin: 3px 0 0; color: var(--muted-2); font-size: 8px; white-space: nowrap; }
.metrics p i { font-style: normal; }.metrics .up { color: var(--lime); }
.good-dot { display: inline-block; margin-right: 4px; width: 5px; height: 5px; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 13px; }
.side-stack { display: grid; align-content: start; gap: 13px; }
.panel { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }
.composer-panel { padding: 23px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.panel-heading.tight { margin-bottom: 13px; }
.panel-heading h3 { margin: 6px 0 0; font-size: 17px; letter-spacing: -.025em; }
.adapter-pill, .live-pill { padding: 6px 8px; border: 1px solid #343b28; border-radius: 999px; color: var(--lime); background: #12160d; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
#composer-form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #8f949f; font-size: 9px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #242831; border-radius: 9px; outline: none; color: var(--text); background: #101218; }
input, select { min-height: 38px; padding: 0 11px; }
textarea { resize: vertical; min-height: 126px; padding: 13px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: #566533; box-shadow: 0 0 0 3px rgba(202,255,69,.045); }
.field-grid { display: grid; gap: 10px; }.field-grid.three { grid-template-columns: repeat(3, 1fr); }.field-grid.compact input, .field-grid.compact select { min-height: 36px; }
.caption-field { position: relative; }.caption-field > span { position: absolute; right: 10px; bottom: 9px; color: var(--muted-2); font-size: 8px; }
.media-drop { min-height: 62px; display: grid; grid-template-columns: 31px auto 1fr; align-items: center; gap: 11px; border: 1px dashed #30353e; border-radius: 10px; padding: 10px 12px; background: #0c0e13; }
.media-drop > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--lime); background: rgba(202,255,69,.08); }
.media-drop b, .media-drop small { display: block; }.media-drop b { font-size: 10px; }.media-drop small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }
.media-drop input { justify-self: end; max-width: 290px; }
.context-strip { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; min-height: 55px; padding: 9px 11px; border: 1px solid #202630; border-radius: 10px; background: #0b0e13; }
.tracer-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #b99cff; background: rgba(155,109,255,.11); font-size: 11px; font-weight: 900; }
.context-strip p { margin: 0; }.context-strip b, .context-strip small { display: block; }.context-strip b { font-size: 9px; }.context-strip small { margin-top: 3px; color: var(--muted-2); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 2px; }
.composer-footer p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 9px; }

.side-stack .panel { padding: 19px; }
.channel-list { display: grid; }
.channel-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 11px 2px; border-top: 1px solid var(--line-soft); }
.channel-row:first-child { border-top: 0; }
.channel-logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #e9e9ec; background: #171a21; font-size: 10px; font-weight: 900; }
.channel-row b, .channel-row small { display: block; }.channel-row b { font-size: 10px; }.channel-row small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }
.channel-state { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.channel-state.offline { color: var(--red); }
.agent-panel { background: radial-gradient(circle at 80% 0, rgba(202,255,69,.06), transparent 38%), var(--surface); }
.agent-head { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 10px; margin-bottom: 9px; }.eila-orb.large { width: 42px; height: 42px; }.agent-head h3 { margin: 5px 0 0; font-size: 15px; }
.lane-list { margin: 0; padding: 0; list-style: none; }
.lane-list li { display: grid; grid-template-columns: 23px 1fr auto; gap: 9px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line-soft); color: #777d88; }
.lane-list li > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #292d35; border-radius: 50%; font-size: 8px; }
.lane-list p { margin: 0; }.lane-list b, .lane-list small { display: block; }.lane-list b { font-size: 9px; color: #a8adb7; }.lane-list small { margin-top: 2px; font-size: 7px; }.lane-list i { font-style: normal; font-size: 6px; font-weight: 900; letter-spacing: .08em; }
.lane-list li.done > span { color: #111; border-color: var(--lime); background: var(--lime); }.lane-list li.done i { color: var(--lime); }.lane-list li.active { color: var(--lime); }.lane-list li.active > span { color: var(--lime); border-color: var(--lime); box-shadow: 0 0 12px rgba(202,255,69,.12); }.lane-list li.active b { color: var(--text); }.lane-list li.active i { padding: 4px 6px; border-radius: 999px; color: var(--lime); background: rgba(202,255,69,.08); }

.queue-panel { margin-top: 13px; padding: 21px 23px; }
.queue-tools { display: flex; align-items: center; gap: 13px; color: var(--muted-2); font-size: 8px; }
.queue-list { display: grid; }
.queue-row { display: grid; grid-template-columns: 105px 34px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 55px; border-top: 1px solid var(--line-soft); }
.queue-row:first-child { border-top: 0; }
.queue-time { color: #8d929d; font-size: 8px; }.queue-copy { min-width: 0; }.queue-copy b { display: block; font-size: 9px; }.queue-copy p { overflow: hidden; margin: 3px 0 0; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.queue-tag, .queue-status { border-radius: 999px; padding: 5px 7px; background: #171a21; color: #8c929d; font-size: 7px; font-weight: 800; }.queue-status { color: var(--amber); border: 1px solid #44371e; background: #17140c; }.queue-status.published { color: var(--lime); border-color: #34441f; background: #10150b; }.queue-status.draft { color: #ad91ee; border-color: #392c56; background: #120f1a; }
.empty-state { padding: 24px; border: 1px dashed #292d36; border-radius: 11px; color: var(--muted); text-align: center; font-size: 10px; }

.overwatch-dialog { width: min(480px, calc(100vw - 30px)); border: 1px solid #30362b; border-radius: 20px; padding: 0; color: var(--text); background: #0d0f13; box-shadow: 0 35px 120px rgba(0,0,0,.75); }
.overwatch-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }.dialog-head h3 { margin: 5px 0 0; }.dialog-body { padding: 29px; text-align: center; }.hero-orb { width: 78px; height: 78px; margin: 0 auto; }.dialog-body h4 { margin: 20px 0 10px; font-size: 19px; }.dialog-body > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }.dialog-status { display: flex; justify-content: space-between; margin-top: 23px; padding: 12px; border-radius: 10px; color: var(--muted); background: #111319; font-size: 8px; }.dialog-status span:first-child { color: var(--lime); }.dialog-status i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--lime); }
.toast { position: fixed; right: 22px; bottom: 94px; z-index: 70; max-width: min(360px, calc(100vw - 44px)); padding: 12px 15px; border: 1px solid #343a2b; border-radius: 11px; color: var(--text); background: #151811; box-shadow: 0 14px 50px rgba(0,0,0,.5); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }.toast.visible { opacity: 1; transform: translateY(0); }

.memory-button { width: 100%; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; margin-top: 10px; padding: 11px; border: 1px solid #293022; border-radius: 10px; color: var(--text); background: rgba(202,255,69,.035); text-align: left; }
.memory-button > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #b99cff; background: rgba(155,109,255,.11); }
.memory-button p { margin: 0; }.memory-button b, .memory-button small { display: block; }.memory-button b { font-size: 9px; }.memory-button small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }.memory-button > i { color: var(--lime); font-style: normal; }
.side-dialog { width: min(460px, 100vw); max-width: none; height: 100vh; max-height: none; margin: 0 0 0 auto; border: 0; border-left: 1px solid var(--line); padding: 0; color: var(--text); background: #0b0d11; box-shadow: -30px 0 90px rgba(0,0,0,.55); }
.side-dialog.wide { width: min(620px, 100vw); }
.side-dialog::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }
.side-dialog[open] { animation: slide-in .2s ease-out; }
@keyframes slide-in { from { transform: translateX(35px); opacity: .7; } }
.side-dialog-body { display: grid; gap: 19px; padding: 24px; }
.connection-state { display: grid; grid-template-columns: 9px 1fr; gap: 10px; align-items: center; padding: 13px; border: 1px solid #302b1d; border-radius: 11px; background: #151208; }
.connection-state > i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(247,184,75,.45); }
.connection-state b, .connection-state small { display: block; }.connection-state b { font-size: 10px; }.connection-state small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.connection-state.live { border-color: #2e3d1d; background: #101509; }.connection-state.live > i { background: var(--lime); box-shadow: 0 0 10px rgba(202,255,69,.45); }
.security-note { margin: -3px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.6; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.text-button.danger { color: var(--red); }
.memory-search, .memory-add { display: grid; gap: 13px; }.memory-add { padding-top: 20px; border-top: 1px solid var(--line); }.memory-add h4 { margin: 5px 0 0; font-size: 15px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.inline-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.inline-input .primary-button { min-height: 38px; }
.memory-results { display: grid; gap: 8px; max-height: 290px; overflow: auto; }
.memory-result { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #101218; }.memory-result header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.memory-result b { font-size: 10px; }.memory-result em { color: var(--violet); font-size: 7px; font-style: normal; text-transform: uppercase; }.memory-result p { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
#memory-status { color: var(--muted); font-size: 8px; }

.help-launcher { position: fixed; right: 22px; bottom: 21px; z-index: 65; display: grid; grid-template-columns: 31px 1fr 22px; align-items: center; gap: 10px; min-width: 178px; padding: 9px 10px; border: 1px solid #364225; border-radius: 14px; color: var(--text); background: linear-gradient(135deg, #161b10, #101217); box-shadow: 0 18px 60px rgba(0,0,0,.58), 0 0 24px rgba(202,255,69,.08); text-align: left; }
.help-launcher:hover { border-color: #637d31; transform: translateY(-2px); }
.help-launcher .eila-orb { width: 30px; height: 30px; }
.help-launcher > span:nth-child(2) b, .help-launcher > span:nth-child(2) small { display: block; }
.help-launcher > span:nth-child(2) b { font-size: 10px; letter-spacing: .02em; }
.help-launcher > span:nth-child(2) small { margin-top: 2px; color: var(--lime); font-size: 8px; }
.help-launcher > i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--lime); font-size: 10px; font-style: normal; font-weight: 950; }
.help-dialog { width: min(720px, 100vw); }
.help-head .eyebrow { color: var(--lime); }
.help-body { height: calc(100vh - 79px); display: grid; align-content: start; gap: 19px; overflow-y: auto; padding: 23px; }
.help-welcome { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; padding: 17px; border: 1px solid #2b3521; border-radius: 15px; background: radial-gradient(circle at 0 0, rgba(202,255,69,.09), transparent 40%), #11140e; }
.help-orb { width: 46px; height: 46px; }
.help-welcome h4, .popular-help h4 { margin: 0; font-size: 15px; }
.help-welcome p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.help-search { display: grid; grid-template-columns: 28px 1fr; align-items: center; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #101218; }
.help-search:focus-within { border-color: #566533; box-shadow: 0 0 0 3px rgba(202,255,69,.04); }
.help-search input { min-width: 0; border: 0; padding: 0; background: transparent; box-shadow: none; }
.help-search input:focus { border: 0; box-shadow: none; }
.help-categories { display: flex; flex-wrap: wrap; gap: 7px; }
.help-categories button { min-height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 0 11px; color: var(--muted); background: #101218; font-size: 8px; font-weight: 800; }
.help-categories button:hover, .help-categories button.active { border-color: #53652e; color: var(--lime); background: rgba(202,255,69,.06); }
.popular-help { display: grid; gap: 12px; }
.popular-help h4 { margin-top: 5px; }
.help-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.help-shortcuts button { display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; align-items: center; min-height: 65px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--text); background: #101218; text-align: left; }
.help-shortcuts button:hover { border-color: #46552d; background: #13170f; }
.help-shortcuts button > span { grid-row: 1 / 3; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--lime); background: rgba(202,255,69,.08); font-size: 8px; font-weight: 900; }
.help-shortcuts b, .help-shortcuts small { display: block; }
.help-shortcuts b { font-size: 9px; }.help-shortcuts small { color: var(--muted-2); font-size: 7px; }
.help-articles { display: grid; gap: 7px; }
.help-articles details { border: 1px solid var(--line); border-radius: 12px; background: #0f1116; }
.help-articles details[hidden] { display: none; }
.help-articles summary { display: grid; grid-template-columns: 88px 1fr 18px; align-items: center; gap: 8px; min-height: 50px; padding: 0 13px; cursor: pointer; list-style: none; }
.help-articles summary::-webkit-details-marker { display: none; }
.help-articles summary span { color: var(--violet); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.help-articles summary b { font-size: 9px; }
.help-articles summary i { color: var(--lime); font-style: normal; text-align: center; transition: .18s ease; }
.help-articles details[open] summary i { transform: rotate(45deg); }
.help-article-body { padding: 0 16px 16px 109px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.help-article-body p { margin: 0 0 9px; }.help-article-body p:last-child { margin-bottom: 0; }
.help-article-body ol { margin: 0; padding-left: 16px; }.help-article-body li + li { margin-top: 6px; }
.help-article-body strong { color: var(--text); }.help-article-body code { color: #c9b8f5; font-size: 8px; }
.help-live-card { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; padding: 13px; border: 1px solid #30274a; border-radius: 13px; background: linear-gradient(135deg, rgba(155,109,255,.08), rgba(202,255,69,.025)); }
.help-live-card .eila-orb { width: 35px; height: 35px; }.help-live-card b, .help-live-card small { display: block; }.help-live-card b { font-size: 10px; }.help-live-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.help-live-card button { min-height: 30px; border: 1px solid #4a396d; border-radius: 9px; padding: 0 10px; color: #c8b2fa; background: rgba(155,109,255,.08); font-size: 8px; font-weight: 850; }

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 76px minmax(0,1fr); }
  .sidebar { padding-inline: 11px; }
  .brand { justify-content: center; padding: 0; }.brand > span:last-child, .nav a:not(.active)::after, .nav a, .nav button { font-size: 0; }.nav a, .nav button { justify-content: center; padding: 0; }.nav a span, .nav button span { font-size: 18px; }.overwatch-button { display: flex; justify-content: center; padding: 10px 0; }.overwatch-button > span:not(.eila-orb), .identity p, .identity button { display: none; }.identity { display: flex; justify-content: center; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }.side-stack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; flex-direction: row; align-items: center; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { justify-content: flex-start; }.nav { display: flex; margin: 0 0 0 auto; }.nav a, .nav button { width: 37px; min-height: 37px; }.sidebar-footer { margin: 0 0 0 4px; }.identity { display: none; }.overwatch-button { width: 37px; border: 0; background: transparent; }.overwatch-button .eila-orb { width: 28px; height: 28px; }
  .main { padding: 22px 14px 45px; }.topbar { align-items: flex-start; }.top-actions .mode-pill, .top-actions .icon-button { display: none; }.topbar h1 { font-size: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 330px; padding: 28px; }.orbit { position: absolute; right: -85px; bottom: -90px; width: 260px; opacity: .6; }.hero-copy { max-width: 85%; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .metrics { grid-template-columns: 1fr 1fr; }.metrics article { padding: 13px; grid-template-columns: 34px 1fr; }.metric-icon { width: 33px; height: 33px; }
  .composer-panel { padding: 17px; }.field-grid.three { grid-template-columns: 1fr; }.media-drop { grid-template-columns: 31px 1fr; }.media-drop input { grid-column: 1 / -1; max-width: none; }.composer-footer { align-items: stretch; flex-direction: column; }.composer-footer .primary-button { width: 100%; }.side-stack { grid-template-columns: 1fr; }
  .queue-panel { padding: 17px; }.queue-row { grid-template-columns: 75px 30px minmax(0,1fr) auto; }.queue-tag { display: none; }.queue-tools > span { display: none; }
  .field-grid.two { grid-template-columns: 1fr; }.side-dialog-body { padding: 18px; }
  .help-dialog { width: 100vw; height: min(88vh, 760px); margin: auto 0 0; border-top: 1px solid var(--line); border-left: 0; border-radius: 18px 18px 0 0; }.help-body { height: calc(min(88vh, 760px) - 79px); padding: 17px; }.help-shortcuts { grid-template-columns: 1fr; }.help-article-body { padding: 0 14px 15px; }.help-articles summary { grid-template-columns: 72px 1fr 16px; }.help-live-card { grid-template-columns: 33px 1fr; }.help-live-card button { grid-column: 1 / -1; }.help-launcher { right: 14px; bottom: 14px; min-width: 48px; grid-template-columns: 28px 18px; }.help-launcher > span:nth-child(2) { display: none; }.toast { right: 14px; bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.orbit-ring { animation: none; } * { transition-duration: 0s !important; } }
