:root {
  --bg: #080d0f;
  --surface: #101719;
  --surface-raised: #151f20;
  --surface-soft: #0d1416;
  --border: rgba(202, 230, 216, .09);
  --border-strong: rgba(183, 243, 74, .25);
  --text: #e8eee9;
  --muted: #879492;
  --muted-2: #596966;
  --lime: #b7f34a;
  --lime-soft: rgba(183, 243, 74, .12);
  --teal: #76e0c0;
  --violet: #bb9cff;
  --amber: #f0bd68;
  --blue: #83b9ff;
  --danger: #ff8b8b;
  --shadow: 0 24px 80px rgba(0,0,0,.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); background-image: radial-gradient(circle at 75% -10%, rgba(77, 111, 97, .16), transparent 34rem), radial-gradient(circle at 0% 55%, rgba(34, 70, 62, .09), transparent 26rem); }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; width: 244px; border-right: 1px solid var(--border); background: rgba(8, 13, 15, .88); backdrop-filter: blur(18px); display: flex; flex-direction: column; padding: 28px 18px 22px; }
.brand-lockup { display: flex; gap: 11px; align-items: center; padding: 0 12px; }
.brand-lockup strong { display: block; letter-spacing: .18em; font-size: 15px; color: #f1f6ef; }
.brand-lockup small { color: var(--muted-2); display: block; margin-top: 4px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 24px; height: 24px; position: relative; transform: rotate(-30deg); }
.brand-mark span { position: absolute; display: block; border: 2px solid var(--lime); border-radius: 8px; width: 17px; height: 8px; transform: rotate(40deg); }
.brand-mark span:nth-child(1) { left: 0; top: 2px; opacity: .55; }
.brand-mark span:nth-child(2) { left: 4px; top: 8px; opacity: .78; }
.brand-mark span:nth-child(3) { left: 8px; top: 14px; }
.workspace-label { margin: 56px 12px 15px; color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.workspace-label span { float: right; color: var(--lime); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.nav-list { display: grid; gap: 5px; }
.nav-item { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 9px; padding: 12px 11px; display: flex; align-items: center; gap: 12px; font-size: 12px; text-align: left; transition: .2s ease; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-item.active { color: var(--lime); background: var(--lime-soft); border-color: rgba(183,243,74,.12); }
.nav-icon { width: 20px; color: currentColor; font-size: 17px; line-height: 1; text-align: center; }
.nav-count { margin-left: auto; font-family: monospace; font-size: 10px; color: var(--muted-2); }
.nav-item.active .nav-count { color: var(--lime); }
.sidebar-bottom { margin-top: auto; }
.agent-chip { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 9px; padding: 10px; }
.agent-avatar { width: 27px; height: 27px; border-radius: 7px; display: grid; place-items: center; background: var(--lime); color: #10170d; font-weight: 800; font-size: 12px; }
.agent-chip strong { display: block; font-size: 10px; font-weight: 600; color: #d9e3dd; }
.agent-chip small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.agent-chip i, .live-dot, .autonomy-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(183,243,74,.1); margin-left: auto; }
.sidebar-note { color: var(--muted-2); font-size: 10px; line-height: 1.7; font-style: italic; margin: 24px 11px; }
.version-row { color: #465553; font: 9px monospace; letter-spacing: .04em; display: flex; gap: 7px; align-items: center; padding: 0 11px; }
.version-row .live-dot { margin-left: 0; width: 4px; height: 4px; background: var(--teal); box-shadow: none; }
.main-content { width: calc(100% - 244px); margin-left: 244px; padding: 0 clamp(25px, 4vw, 68px) 40px; max-width: 1600px; }
.topbar { height: 78px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font: 10px monospace; letter-spacing: .12em; color: var(--muted-2); }
.breadcrumb strong { color: var(--muted); font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.system-status { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; }
.status-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.ghost-button, .text-button, .more-button { background: transparent; color: var(--muted); border: 0; font-size: 10px; }
.ghost-button:hover, .text-button:hover { color: var(--lime); }
.user-orb { width: 27px; height: 27px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.hero-section { display: flex; align-items: center; justify-content: space-between; min-height: 300px; padding: 45px 4px 40px; overflow: hidden; }
.eyebrow, .section-kicker { color: var(--lime); font: 10px monospace; letter-spacing: .16em; }
.eyebrow { display: flex; gap: 9px; align-items: center; }
.eyebrow-line { width: 28px; height: 1px; background: var(--lime); opacity: .8; }
.eyebrow-tag { color: var(--bg); background: var(--lime); padding: 3px 5px; border-radius: 3px; font-size: 8px; letter-spacing: .08em; }
.hero-copy h1 { font-size: clamp(32px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -.055em; font-weight: 560; margin: 21px 0 17px; max-width: 690px; }
.hero-copy h1 em { color: var(--lime); font-style: normal; }
.hero-copy p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; }
.hero-orbit { position: relative; width: 260px; height: 200px; margin-right: 4vw; opacity: .92; }
.orbit-ring { border: 1px solid rgba(183,243,74,.25); border-radius: 50%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-15deg); }
.ring-one { width: 154px; height: 69px; box-shadow: 0 0 42px rgba(183,243,74,.1); }
.ring-two { width: 209px; height: 105px; transform: translate(-50%, -50%) rotate(32deg); border-color: rgba(118,224,192,.13); }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 19px; background: #182216; border: 1px solid var(--lime); box-shadow: 0 0 34px rgba(183,243,74,.17), inset 0 0 22px rgba(183,243,74,.1); display: grid; place-items: center; align-content: center; }
.orbit-core span { color: var(--lime); font: 700 17px monospace; }
.orbit-core small { color: var(--muted); font: 9px monospace; margin-top: 3px; }
.orbit-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.spark-one { left: 13%; top: 33%; }.spark-two { right: 9%; top: 27%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }.spark-three { left: 79%; bottom: 11%; width: 3px; height: 3px; }
.glass-panel { border: 1px solid var(--border); background: linear-gradient(145deg, rgba(18,27,28,.86), rgba(13,19,21,.86)); border-radius: 12px; box-shadow: var(--shadow); }
.goal-command { padding: 22px 24px 17px; margin-bottom: 17px; }
.command-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.command-heading h2, .panel-heading h2 { margin: 8px 0 0; font-size: 16px; line-height: 1.2; font-weight: 550; letter-spacing: -.025em; }
.command-state { color: var(--teal); font-size: 10px; display: flex; align-items: center; gap: 7px; padding-top: 3px; }
.command-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(118,224,192,.11); }
.command-state.paused { color: var(--amber); }.command-state.paused i { background: var(--amber); box-shadow: 0 0 0 3px rgba(240,189,104,.11); }
.goal-form { display: flex; gap: 10px; margin-top: 20px; }
.goal-input-wrap { height: 49px; flex: 1; min-width: 0; position: relative; display: flex; align-items: center; border: 1px solid rgba(183,243,74,.19); border-radius: 7px; background: rgba(4,9,10,.36); transition: .2s ease; }
.goal-input-wrap:focus-within { border-color: rgba(183,243,74,.55); box-shadow: 0 0 0 3px rgba(183,243,74,.06); }
.input-prefix { color: var(--lime); font: 10px monospace; letter-spacing: .1em; padding: 0 15px; border-right: 1px solid var(--border); height: 21px; line-height: 21px; }
.goal-input-wrap input { color: var(--text); background: transparent; border: 0; outline: 0; padding: 0 14px; width: 100%; font-size: 13px; }
.input-limit { color: var(--muted-2); position: absolute; right: 13px; font: 9px monospace; }
.primary-button { border: 0; border-radius: 7px; background: var(--lime); color: #10160d; font-size: 11px; font-weight: 750; padding: 0 17px; display: flex; align-items: center; gap: 16px; min-width: 145px; justify-content: center; transition: .2s ease; }
.primary-button:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(183,243,74,.17); }.button-arrow { font-size: 18px; font-weight: 400; }
.goal-suggestions { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--muted-2); font-size: 10px; }.goal-suggestions span { margin-right: 4px; }
.suggestion { border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 20px; padding: 5px 9px; font-size: 10px; transition: .2s ease; }.suggestion:hover { color: var(--lime); border-color: rgba(183,243,74,.35); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(370px, .9fr); gap: 17px; }
.loop-panel, .score-panel, .memory-panel, .strategy-panel, .activity-panel { padding: 23px 24px; }
.live-indicator { margin-left: 7px; font: 8px monospace; color: var(--teal); vertical-align: 2px; letter-spacing: .1em; }.live-indicator i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-right: 4px; }
.cycle-counter { display: flex; align-items: baseline; gap: 5px; color: var(--muted-2); font: 9px monospace; }.cycle-counter strong { color: var(--lime); font: 24px monospace; letter-spacing: -.08em; }.cycle-counter small { font-size: 10px; }
.loop-track { position: relative; display: flex; justify-content: space-between; margin: 38px 18px 22px; }.track-line { height: 1px; background: #2b3935; position: absolute; top: 17px; left: 17px; right: 17px; }.track-line span { display: block; background: var(--lime); height: 100%; width: 0%; transition: .5s ease; box-shadow: 0 0 9px var(--lime); }
.loop-node { position: relative; z-index: 1; text-align: center; color: var(--muted-2); }.node-icon { width: 35px; height: 35px; margin: 0 auto 9px; border: 1px solid #2b3935; background: var(--surface); border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--muted); transition: .35s ease; }.loop-node strong { display: block; font-size: 10px; font-weight: 500; }.loop-node small { display: block; font: 8px monospace; margin-top: 4px; letter-spacing: .06em; }.loop-node.active { color: var(--lime); }.loop-node.active .node-icon { background: var(--lime-soft); border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 5px rgba(183,243,74,.05), 0 0 22px rgba(183,243,74,.13); }.loop-node.complete { color: var(--teal); }.loop-node.complete .node-icon { border-color: rgba(118,224,192,.5); color: var(--teal); }
.current-action { min-height: 91px; padding: 15px 17px; border-left: 2px solid var(--lime); background: rgba(183,243,74,.045); border-radius: 0 8px 8px 0; }.action-status { display: flex; gap: 8px; align-items: center; color: var(--lime); font-size: 11px; font-weight: 600; }.spinner { width: 10px; height: 10px; border: 1.5px solid rgba(183,243,74,.24); border-top-color: var(--lime); border-radius: 50%; animation: spin 1s linear infinite; }.spinner.paused { animation-play-state: paused; opacity: .5; }@keyframes spin { to { transform: rotate(360deg); } }.current-action p { color: var(--muted); font-size: 11px; margin: 9px 0 12px; }.action-meta { display: flex; gap: 15px; color: var(--muted-2); font: 9px monospace; }
.subgoal-card { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }.subgoal-index { color: var(--lime); font: 8px monospace; letter-spacing: .08em; line-height: 1.3; min-width: 37px; }.subgoal-index strong { font-size: 20px; font-weight: 400; }.card-label { display: block; color: var(--muted-2); font: 9px monospace; margin-bottom: 6px; }.subgoal-card > div:nth-child(2) { flex: 1; }.subgoal-card > div:nth-child(2) strong { font-size: 11px; line-height: 1.5; font-weight: 500; }.check-mark { color: var(--lime); border: 1px solid rgba(183,243,74,.25); border-radius: 50%; width: 21px; height: 21px; display: grid; place-items: center; font-size: 11px; }
.loop-controls { display: flex; align-items: center; gap: 9px; margin-top: 15px; }.control-button { color: var(--text); border: 1px solid var(--border); background: rgba(255,255,255,.035); border-radius: 5px; font-size: 10px; padding: 7px 10px; }.control-button:hover { border-color: rgba(183,243,74,.35); color: var(--lime); }.control-button.subtle { color: var(--muted); }.autonomy-note { margin-left: auto; display: flex; gap: 7px; align-items: center; color: var(--muted-2); font: 9px monospace; }.autonomy-note i { margin: 0; width: 5px; height: 5px; }
.more-button { letter-spacing: 3px; }.score-main { display: flex; align-items: end; gap: 13px; margin-top: 30px; }.score-value strong { font: 500 48px monospace; letter-spacing: -.11em; color: var(--text); }.score-value span { color: var(--muted-2); font: 11px monospace; margin-left: 5px; }.score-delta { font: 10px monospace; color: var(--teal); padding-bottom: 8px; }.score-caption { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10px; color: var(--muted-2); }.score-caption strong { font-weight: 500; color: var(--teal); }.chart-wrap { position: relative; height: 172px; margin: 20px 0 4px; padding: 0 0 0 27px; }.chart-y-labels { position: absolute; left: 0; top: 0; bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted-2); font: 8px monospace; }.score-chart { width: 100%; height: 140px; overflow: visible; }.chart-grid line { stroke: rgba(255,255,255,.055); stroke-width: 1; stroke-dasharray: 2 3; }.chart-x-labels { display: flex; justify-content: space-between; color: var(--muted-2); font: 8px monospace; margin-top: 9px; }.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }.metric-row > div + div { padding-left: 15px; border-left: 1px solid var(--border); }.metric-label { display: block; color: var(--muted-2); font-size: 9px; margin-bottom: 6px; }.metric-row strong { font: 16px monospace; color: var(--text); }.metric-row small { color: var(--muted-2); font-size: 9px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(370px, .9fr); gap: 17px; margin-top: 17px; }.memory-panel, .strategy-panel { min-height: 330px; }.memory-count { color: var(--muted-2); font: 10px monospace; margin-left: 6px; }.memory-list { margin-top: 17px; }.memory-item { display: flex; gap: 11px; align-items: flex-start; position: relative; padding: 12px 0; border-bottom: 1px solid var(--border); }.memory-item.faded { opacity: .62; }.memory-icon { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; background: rgba(118,224,192,.1); color: var(--teal); }.memory-icon.violet { color: var(--violet); background: rgba(187,156,255,.1); }.memory-icon.amber { color: var(--amber); background: rgba(240,189,104,.1); }.memory-icon.blue { color: var(--blue); background: rgba(131,185,255,.1); }.memory-item > div:nth-child(2) { min-width: 0; padding-right: 17px; }.memory-item strong { font-size: 11px; font-weight: 550; }.memory-item p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 5px 0; }.memory-item p b { color: var(--teal); font-weight: 550; }.memory-item span { color: var(--muted-2); font: 9px monospace; }.memory-pin { position: absolute; right: 2px; top: 12px; color: var(--muted-2); font-style: normal; }.load-more { color: var(--muted-2); background: transparent; border: 0; display: block; margin: 15px auto 0; font: 9px monospace; }.load-more:hover { color: var(--lime); }.load-more:disabled { opacity: .5; cursor: default; }
.update-badge { color: var(--lime); border: 1px solid rgba(183,243,74,.24); background: rgba(183,243,74,.08); border-radius: 4px; font: 8px monospace; padding: 4px 6px; letter-spacing: .08em; }.strategy-compare { display: flex; gap: 13px; align-items: center; margin-top: 33px; }.strategy-column { flex: 1; }.strategy-tag { color: var(--muted-2); font: 9px monospace; letter-spacing: .1em; }.strategy-column.new .strategy-tag { color: var(--lime); }.strategy-column p { min-height: 32px; color: var(--text); font-size: 11px; line-height: 1.45; margin: 10px 0; }.strategy-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }.strategy-bar span { height: 100%; display: block; background: #52615c; border-radius: inherit; }.new .strategy-bar span { background: var(--lime); box-shadow: 0 0 10px rgba(183,243,74,.35); }.strategy-column small { display: block; margin-top: 8px; color: var(--muted-2); font-size: 9px; }.strategy-arrow { color: var(--lime); font-size: 18px; padding-top: 6px; }.strategy-reason { display: flex; gap: 10px; margin-top: 28px; padding: 12px; background: rgba(255,255,255,.025); border-radius: 6px; }.reason-icon { color: var(--lime); font-size: 17px; }.strategy-reason strong { font-size: 10px; font-weight: 600; }.strategy-reason p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 6px 0 0; }.strategy-reason b { color: var(--amber); font-weight: 550; }.strategy-button { width: 100%; margin-top: 18px; border: 1px solid rgba(183,243,74,.2); border-radius: 5px; padding: 10px; background: transparent; color: var(--lime); font-size: 10px; }.strategy-button:hover { background: rgba(183,243,74,.08); }.strategy-button span { float: right; font-size: 16px; }
.activity-panel { margin-top: 17px; }.log-tools { display: flex; gap: 18px; align-items: center; }.log-tools > span { color: var(--muted-2); font: 9px monospace; }.log-tools .live-dot { display: inline-block; margin-right: 7px; width: 5px; height: 5px; }.timeline { margin-top: 13px; }.timeline-item { min-height: 58px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 15px 75px minmax(0, 1fr) 54px; gap: 11px; align-items: center; position: relative; }.timeline-item.current { border-top-color: rgba(183,243,74,.25); }.timeline-dot { width: 7px; height: 7px; border: 1px solid var(--muted-2); border-radius: 50%; }.timeline-item.current .timeline-dot { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 10px rgba(183,243,74,.5); }.timeline-time { color: var(--muted-2); font: 9px monospace; }.timeline-body strong { display: block; color: var(--text); font-size: 10px; font-weight: 550; }.timeline-body p { color: var(--muted); font-size: 10px; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.timeline-score { color: var(--muted-2); font: 10px monospace; text-align: right; }.timeline-score.positive { color: var(--teal); }.log-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 13px; color: var(--muted-2); font: 9px monospace; }.log-footer b { color: var(--text); font-weight: 500; }.footer { display: flex; justify-content: space-between; color: #3e4b49; font: 9px monospace; padding: 26px 3px 0; letter-spacing: .04em; }.footer b { color: var(--lime); font-weight: 500; }.toast { position: fixed; z-index: 10; bottom: 24px; left: 50%; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; background: #dffab2; color: #14200c; padding: 11px 15px; border-radius: 6px; font-size: 11px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: .25s ease; }.toast.visible { opacity: 1; transform: translate(-50%, 0); }.just-added { animation: slide-in .5s ease both; }@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }.empty-state span { display: block; color: var(--lime); font-size: 25px; margin-bottom: 12px; }.empty-state strong { display: block; font-size: 11px; color: var(--text); }.empty-state p { font-size: 10px; }
@media (max-width: 1120px) { .sidebar { width: 205px; }.main-content { width: calc(100% - 205px); margin-left: 205px; padding-left: 27px; padding-right: 27px; }.dashboard-grid, .lower-grid { grid-template-columns: 1fr; }.hero-orbit { margin-right: 0; }.memory-panel, .strategy-panel { min-height: auto; } }
@media (max-width: 760px) { .sidebar { position: static; width: 100%; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); padding: 19px 18px 14px; }.app-shell { display: block; }.workspace-label, .sidebar-note, .version-row, .sidebar-bottom { display: none; }.nav-list { display: flex; margin-top: 22px; overflow-x: auto; padding-bottom: 1px; }.nav-item { flex: 0 0 auto; padding: 8px 10px; }.nav-count { display: none; }.main-content { width: 100%; margin: 0; padding: 0 15px 30px; }.topbar { height: 60px; }.system-status, .ghost-button { display: none; }.auth-button { display: block; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hero-section { min-height: 250px; padding: 38px 4px 32px; }.hero-copy h1 { font-size: 35px; }.hero-copy p { font-size: 11px; }.hero-orbit { width: 120px; height: 130px; transform: scale(.7); transform-origin: right center; margin-left: -35px; }.goal-command, .loop-panel, .score-panel, .memory-panel, .strategy-panel, .activity-panel { padding: 18px 16px; }.goal-form { display: block; }.goal-input-wrap { width: 100%; }.primary-button { height: 43px; width: 100%; margin-top: 9px; }.goal-suggestions { overflow-x: auto; white-space: nowrap; padding-bottom: 3px; }.dashboard-grid, .lower-grid { display: block; }.score-panel, .strategy-panel, .activity-panel { margin-top: 15px; }.loop-track { margin-left: 4px; margin-right: 4px; }.loop-node strong { font-size: 9px; }.loop-node small { font-size: 7px; }.timeline-item { grid-template-columns: 10px 53px minmax(0, 1fr) 38px; gap: 8px; }.timeline-body p { max-width: 180px; }.log-tools { gap: 8px; }.log-tools .text-button { display: none; }.footer { gap: 10px; line-height: 1.5; flex-wrap: wrap; }.footer span:last-child { width: 100%; }.chat-launcher { right: 15px; bottom: 15px; }.chat-panel { right: 15px; bottom: 66px; width: min(355px, calc(100vw - 30px)); height: min(535px, calc(100vh - 90px)); } }

body.buddha-only { overflow: hidden; background: #080d0f; }
body.buddha-only .app-shell, body.buddha-only .chat-launcher { display: none; }
body.buddha-only .chat-panel { display: flex; position: fixed; inset: 0; z-index: 50; width: 100vw; height: 100dvh; transform: none; opacity: 1; visibility: visible; border: 0; border-radius: 0; background: radial-gradient(circle at 50% -15%, rgba(118,224,192,.11), transparent 35rem), #080d0f; }
body.buddha-only .chat-header, body.buddha-only .chat-context, body.buddha-only .chat-messages, body.buddha-only .quick-prompts, body.buddha-only .chat-form, body.buddha-only .chat-footer { width: min(980px, calc(100vw - 40px)); margin-left: auto; margin-right: auto; }
body.buddha-only .chat-header { flex: 0 0 84px; padding: 0; border-bottom-color: rgba(118,224,192,.15); }
body.buddha-only .chat-agent strong { font-size: 15px; letter-spacing: .02em; }
body.buddha-only .chat-agent small { color: var(--teal); }
body.buddha-only .chat-context { margin-top: 16px; border: 1px solid rgba(118,224,192,.15); border-radius: 10px; padding: 12px 15px; background: rgba(118,224,192,.035); }
body.buddha-only .learning-live { display: none; }
body.buddha-only .chat-messages { flex: 1; min-height: 0; padding: 24px 0; }
body.buddha-only .chat-message { max-width: 760px; }
body.buddha-only .quick-prompts { padding: 12px 0; border-top: 1px solid var(--border); overflow-x: auto; white-space: nowrap; }
body.buddha-only .chat-form { padding: 12px 0 0; border-top: 1px solid var(--border); }
body.buddha-only .chat-form input { font-size: 15px; padding: 16px 18px; }
body.buddha-only .chat-form button { width: 48px; height: 48px; }
body.buddha-only .chat-footer { padding: 14px 0 20px; text-align: center; color: var(--muted-2); }
body.buddha-only .chat-close { display: none; }
body.buddha-only .chat-agent .agent-avatar { background: var(--teal); color: #08201c; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.auth-button { border: 1px solid rgba(183,243,74,.28); border-radius: 16px; padding: 7px 10px; background: rgba(183,243,74,.06); color: var(--lime); font-size: 9px; transition: .2s ease; }.auth-button:hover { background: var(--lime); color: #13200d; }.chat-footer { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.learning-live { padding: 9px 13px 7px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, rgba(183,243,74,.035), rgba(68,221,204,.025)); }.live-feed-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted-2); font: 8px monospace; letter-spacing: .05em; }.live-feed-head span { display: flex; align-items: center; gap: 5px; }.live-feed-head span i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 7px var(--teal); }.live-feed-head b { color: var(--lime); font-weight: 400; }.live-screen { position: relative; height: 84px; margin-top: 6px; border: 1px solid rgba(183,243,74,.12); border-radius: 7px; overflow: hidden; background: #081114; }.live-screen::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(183,243,74,.025) 6px); pointer-events: none; }.live-screen canvas { width: 100%; height: 100%; display: block; opacity: .95; }.live-caption { position: absolute; left: 9px; right: 9px; bottom: 7px; color: rgba(235,255,221,.88); font-size: 9px; text-shadow: 0 1px 4px #081114; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.live-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 7px; }.live-steps span { padding: 4px 2px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted-2); text-align: center; font-size: 8px; transition: .2s ease; }.live-steps span.active { border-color: rgba(183,243,74,.45); color: var(--lime); background: rgba(183,243,74,.08); }.live-steps span.done { color: var(--teal); border-color: rgba(68,221,204,.25); }.live-disclosure { display: block; margin-top: 6px; color: var(--muted-2); font: 8px monospace; }
.chat-launcher { position: fixed; z-index: 8; right: 190px; bottom: 24px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(183,243,74,.3); border-radius: 22px; padding: 9px 13px 9px 9px; background: rgba(21,32,25,.94); color: var(--lime); box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 4px rgba(183,243,74,.03); font-size: 10px; transition: .2s ease; }.chat-launcher:hover, .chat-launcher.active { background: var(--lime); color: #10200c; transform: translateY(-2px); }.chat-launcher-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #14200d; font-size: 13px; }.chat-launcher:hover .chat-launcher-icon, .chat-launcher.active .chat-launcher-icon { background: rgba(16,32,12,.12); }.chat-launcher i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 7px var(--teal); }.chat-panel { position: fixed; z-index: 9; right: 190px; bottom: 75px; width: 355px; height: 535px; border: 1px solid rgba(183,243,74,.2); border-radius: 13px; background: rgba(12,19,20,.97); box-shadow: 0 25px 75px rgba(0,0,0,.52), 0 0 0 5px rgba(183,243,74,.025); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transform-origin: bottom right; transition: .25s ease; }.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); }.chat-agent { display: flex; align-items: center; gap: 9px; }.chat-agent .agent-avatar { width: 29px; height: 29px; }.chat-agent strong { display: block; font-size: 11px; }.chat-agent small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; margin-top: 4px; }.chat-agent small i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); }.chat-close { color: var(--muted); border: 0; background: transparent; font-size: 21px; line-height: 1; }.chat-close:hover { color: var(--lime); }.chat-context { display: flex; gap: 8px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--border); color: var(--muted-2); font: 9px monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.context-label { color: var(--lime); letter-spacing: .1em; }.chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; }.chat-message { display: flex; max-width: 88%; }.chat-message.user { align-self: flex-end; }.chat-message.agent { align-self: flex-start; }.chat-bubble { padding: 10px 11px; border-radius: 10px 10px 10px 3px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 11px; line-height: 1.6; white-space: pre-wrap; }.chat-message.user .chat-bubble { border-radius: 10px 10px 3px 10px; background: var(--lime); color: #15210e; }.quick-prompts { display: flex; align-items: center; gap: 5px; padding: 8px 13px; border-top: 1px solid var(--border); overflow-x: auto; white-space: nowrap; }.quick-prompts > span { color: var(--muted-2); font: 9px monospace; margin-right: 2px; }.quick-prompts button { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 12px; background: transparent; color: var(--muted); padding: 5px 7px; font-size: 9px; }.quick-prompts button:hover { color: var(--lime); border-color: rgba(183,243,74,.3); }.chat-form { display: flex; gap: 7px; padding: 10px 13px 9px; border-top: 1px solid var(--border); }.chat-form input { min-width: 0; flex: 1; border: 1px solid var(--border); border-radius: 7px; outline: 0; background: rgba(0,0,0,.2); color: var(--text); padding: 9px 10px; font-size: 11px; }.chat-form input:focus { border-color: rgba(183,243,74,.45); }.chat-form button { width: 33px; border: 0; border-radius: 7px; background: var(--lime); color: #14200d; font-size: 18px; }.chat-footer { padding: 0 13px 11px; color: var(--muted-2); font: 8px monospace; }

.chat-header-actions { display: flex; align-items: center; gap: 14px; }
.chat-auth-button { font-size: 10px; }
body.buddha-only .chat-header-actions { gap: 18px; }
.voice-button { width: 38px !important; border: 1px solid rgba(118,224,192,.25) !important; background: rgba(118,224,192,.08) !important; color: var(--teal) !important; font-size: 14px !important; }.voice-button.listening { background: var(--teal) !important; color: #08201c !important; box-shadow: 0 0 0 4px rgba(118,224,192,.12); }
