:root{
  --bg:#0b1220;
  --border:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --primary:#7c5cff;
  --ok:#22c55e;
  --warn:#f59e0b;
  --shadow:0 16px 48px rgba(0,0,0,.35);
  --r:16px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"DM Sans", "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple SD Gothic Neo", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(34,197,94,.20), transparent 55%),
    linear-gradient(180deg, #070b14, var(--bg));
}
.shell{ height:100%; display:flex; flex-direction:column; }
.top{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(12,18,34,.92), rgba(8,12,22,.72));
  backdrop-filter: blur(14px);
  position:relative;
}
.top::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(124,92,255,.35), rgba(34,197,94,.25), transparent);
  pointer-events:none;
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  font-weight:950;
  background:linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,197,94,.75));
  box-shadow:0 12px 24px rgba(124,92,255,.22);
}
.title{ font-weight:900; }
.title .alias{
  font-weight:800;
  color:rgba(250,230,170,.95);
  font-size:0.92em;
}
.title .aliasSec{
  font-weight:750;
  color:rgba(190,210,255,.88);
  font-size:0.88em;
  margin-left:8px;
}
.sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.guideDetails{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
}
.guideDetails summary{
  cursor:pointer;
  font-weight:800;
  color:rgba(255,255,255,.88);
}
.guideList{
  margin:12px 0 0;
  padding-left:1.25rem;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.55;
}
.guideList code{
  font-size:0.92em;
  padding:1px 6px;
  border-radius:8px;
  background:rgba(124,92,255,.18);
  border:1px solid rgba(124,92,255,.25);
}
.accessPlainBody{
  font-size:13px;
  line-height:1.6;
  color:rgba(255,255,255,.88);
}
.accessPlainBody p{ margin:0 0 10px; }
.accessPlainBody ul{ margin:6px 0 10px; padding-left:1.2rem; }
.accessPlainBody li{ margin:4px 0; }
.accessPlainBody .accessPlainWarn{
  color:rgba(250,204,21,.95);
}
.accessPlainBody .muted.small{ font-size:12px; color:var(--muted); margin-top:8px; }

.guideLink{
  color:rgba(190,210,255,.95);
  font-weight:800;
  text-decoration: underline;
  text-underline-offset:3px;
}
.guideLink:hover{ color:#fff; }
.btn.recording{
  box-shadow:0 0 0 3px rgba(245,158,11,.35);
  border-color:rgba(245,158,11,.55);
  color:rgba(253,224,200,.95);
}
.right{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.hdrJump{
  font-size:12px;
  font-weight:850;
  color:rgba(253,224,200,.92);
  text-decoration:none;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(245,158,11,.35);
  background:rgba(245,158,11,.08);
  white-space:nowrap;
}
.hdrJump:hover{
  border-color:rgba(245,158,11,.55);
  background:rgba(245,158,11,.14);
}
.card--aurora-chat{
  border-color:rgba(124,92,255,.28);
  box-shadow:0 20px 48px rgba(124,92,255,.15);
}
.card--ops-work-chat{
  border-color:rgba(45,212,191,.32);
  box-shadow:0 20px 48px rgba(45,212,191,.12);
}
.orderPanel{
  margin-top:4px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.orderPanel__block{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.12);
}
.orderPanel__gate{
  background:rgba(45,212,191,.06);
  border-color:rgba(45,212,191,.22);
}
.orderPanel__blockHead{
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(148,163,184,.95);
  margin-bottom:8px;
}
.orderPanel__gateText{
  margin:0 0 10px;
  font-size:13px;
  line-height:1.45;
  color:rgba(226,232,240,.92);
}
.orderPanel__gateList{
  margin:0;
  padding-left:1.1rem;
  font-size:12px;
  line-height:1.55;
  color:rgba(203,213,225,.88);
}
.orderPanel__btnPanel{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:10px;
}
.orderPanel__btnGroup{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.orderPanel__btnGroup--sensitive .orderPanel__btnLabel{
  color:rgba(251,191,36,.95);
}
.orderPanel__btnLabel{
  font-size:11px;
  font-weight:700;
  color:rgba(148,163,184,.9);
  letter-spacing:.02em;
}
.orderPanel__btnRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.orderPanel__feedback{
  padding:10px 12px 12px;
  background:rgba(0,0,0,.18);
}
.orderPanel__feedback .chatWindowBar{
  margin:-2px -4px 8px -4px;
}
.orderPanel__poll .token{
  min-width:110px;
}
.chatWindowBar--ops{
  background:linear-gradient(90deg, rgba(45,212,191,.22), rgba(14,165,233,.14));
  border:1px solid rgba(255,255,255,.10);
}
.chatLog--ops{
  min-height:220px;
  max-height:min(48vh, 400px);
}
.chatUser--ops{
  background:rgba(45,212,191,.18);
  border-color:rgba(45,212,191,.28);
}
.chatAi--ops{
  background:rgba(15,23,42,.55);
  border-color:rgba(148,163,184,.22);
}
.auroraChatShell{
  margin-top:4px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
}
.chatWindowBar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  margin:-4px -4px 4px -4px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(124,92,255,.25), rgba(34,197,94,.14));
  border:1px solid rgba(255,255,255,.10);
}
.chatWindowDots{
  display:inline-flex;
  gap:6px;
  align-items:center;
}
.chatWindowDot{
  width:10px;
  height:10px;
  border-radius:50%;
  opacity:.9;
}
.chatWindowDot--r{ background:#ff5f57; }
.chatWindowDot--y{ background:#febc2e; }
.chatWindowDot--g{ background:#28c840; }
.chatWindowTitle{
  font-size:13px;
  font-weight:900;
  color:rgba(255,255,255,.92);
  letter-spacing:.02em;
}
.chatLog--aurora{
  min-height:240px;
  max-height:min(52vh, 420px);
}
.chatComposerLbl{
  display:block;
  margin-top:12px;
  font-size:11px;
  font-weight:900;
  color:rgba(255,255,255,.72);
  letter-spacing:.06em;
}
.chatComposerInput{
  margin-top:8px !important;
}
.chatEmptyState{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px 16px;
  min-height:200px;
  color:rgba(255,255,255,.72);
}
.chatEmptyTitle{
  margin:0 0 8px;
  font-size:15px;
  font-weight:900;
  color:rgba(250,230,170,.96);
}
.chatEmptyHint{
  margin:0;
  font-size:13px;
  line-height:1.55;
  max-width:400px;
}
.token{
  width: 240px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.14);
  color:var(--text);
  outline:none;
}
.token:focus{ border-color: rgba(124,92,255,.45); box-shadow:0 0 0 4px rgba(124,92,255,.14); }
.btn{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.btn:hover{ background:rgba(255,255,255,.085); }
.btn.primary{
  background:linear-gradient(135deg, rgba(124,92,255,.95), rgba(124,92,255,.65));
  border-color: rgba(124,92,255,.65);
}
.btn.ghost{ background:transparent; }
.btn.sm{
  padding:6px 10px;
  font-size:12px;
  border-radius:10px;
  font-weight:750;
}
.main{
  flex:1;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  padding:14px;
  overflow:auto;
}
.col{ display:flex; flex-direction:column; gap:14px; min-width: 0; }
.card{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--r);
  padding:14px;
  box-shadow: var(--shadow);
}
.card--hash-focus{
  border-color:rgba(120,200,255,.55);
  box-shadow:0 0 0 2px rgba(120,200,255,.22), var(--shadow);
}
.cardHead{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.cardTitle{ font-weight:950; }
.cardMeta{ color:var(--muted); font-size:12px; }
.llmStatus{
  margin:10px 0 0;
  padding:10px 12px;
  border-radius:12px;
  font-size:12px;
  line-height:1.45;
  border:1px solid rgba(255,255,255,.10);
}
.llmStatus--muted{
  color:var(--muted);
  background:rgba(0,0,0,.08);
}
.llmStatus--ok{
  color:rgba(255,255,255,.88);
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.28);
}
.llmStatus--warn{
  color:rgba(255,255,255,.88);
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.30);
}
.prompt{
  width:100%;
  margin-top:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.12);
  color:var(--text);
  padding:12px;
  outline:none;
  resize: vertical;
}
.prompt:focus{ border-color: rgba(124,92,255,.40); box-shadow:0 0 0 4px rgba(124,92,255,.14); }
.row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:10px; }
.uploads{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.86);
  font-size:12px;
}
.deployGrid{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.field{ display:flex; flex-direction:column; gap:6px; min-width: 0; }
.field .lbl{ color:rgba(255,255,255,.75); font-size:11px; font-weight:900; letter-spacing:.06em; }
.span2{ grid-column: span 2; }
.code{
  margin:10px 0 0;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.14);
  color:rgba(255,255,255,.86);
  overflow:auto;
  max-height: 360px;
}
.jobsTop{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.pill{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.80);
}
.pill--prod{
  border-color: rgba(34,197,94,.38);
  background: rgba(34,197,94,.12);
  color: rgba(187,247,208,.95);
  font-weight: 750;
}
.chatLog{
  margin-top:10px;
  max-height:280px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}
.chatBubble{
  max-width:92%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  font-size:13px;
}
.chatBubble .who{ font-size:11px; font-weight:800; color:rgba(255,255,255,.55); margin-bottom:6px; letter-spacing:.04em; }
.chatBubble .txt{ white-space:pre-wrap; line-height:1.5; color:rgba(255,255,255,.88); }
.chatUser{
  align-self:flex-end;
  background:rgba(124,92,255,.22);
}
.chatAi{
  align-self:flex-start;
  background:rgba(0,0,0,.18);
}
.job{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  border-radius:14px;
  padding:10px 12px;
}
.jobTop{ display:flex; justify-content:space-between; gap:10px; }
.jobId{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size:12px; color:rgba(255,255,255,.75); }
.jobStatus{ font-weight:900; }
.jobStatus.running{ color: var(--warn); }
.jobStatus.completed{ color: var(--ok); }
.jobMeta{ margin-top:6px; color:var(--muted); font-size:12px; }
.timeline{ margin-top:10px; display:flex; flex-direction:column; gap:8px; }
.evt{ display:flex; gap:10px; align-items:flex-start; font-size:12px; color:rgba(255,255,255,.84); }
.at{ color:rgba(255,255,255,.55); min-width: 64px; }
.aiHubGrid{
  display:grid;
  gap:18px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px){
  .aiHubGrid{ grid-template-columns: 1fr; }
}
.aiHubCol{ min-width: 0; }
.aiHubSub{
  margin:0 0 10px;
  font-size:13px;
  font-weight:850;
  color:rgba(255,255,255,.9);
}
.aiHubLinks{
  margin:0 0 12px;
  padding-left:1.2rem;
  line-height:1.55;
  font-size:13px;
  color:rgba(255,255,255,.82);
}
.card--ai-hub{
  border-color: rgba(124,92,255,.28);
  background: linear-gradient(145deg, rgba(124,92,255,.06), rgba(0,0,0,.08));
}
.hubOrderSummary{
  margin:10px 0;
  font-size:12px;
  line-height:1.5;
  color:var(--muted);
}
.hubOrderList{
  max-height:240px;
  overflow:auto;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.16);
  padding:10px 12px;
  font-size:12px;
  margin-bottom:10px;
}
.hubOrderItem + .hubOrderItem{
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(255,255,255,.09);
}
.hubOrderBadge{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:750;
  margin-right:6px;
  background:rgba(99,179,237,.18);
  border:1px solid rgba(99,179,237,.25);
}
.hubOrderBadge--run{ color: var(--warn); border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.12); }
.hubOrderBadge--q{ color: rgba(190,210,255,.95); }
.hubOrderBadge--cl{ color: rgba(34,197,94,.9); }
.hubOrderMuted{ margin-top:4px; opacity:.78; font-size:11px; line-height:1.45; word-break: break-word; }
.hubHealthMini{ flex-shrink: 0; }

.pipelineBotsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
  gap:10px;
  margin-top:10px;
}
.pipelineBot{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.2);
}
.pipelineBot--run{ border-color:rgba(245,158,11,.45); }
.pipelineBot--ok{ border-color:rgba(34,197,94,.35); }
.pipelineBot--fail{ border-color:rgba(239,68,68,.4); }
.pipelineBot__order{
  font-weight:800;
  font-size:18px;
  color:rgba(124,92,255,.95);
  min-width:22px;
}
.pipelineBot__name{ font-weight:700; font-size:13px; }
.pipelineBot__meta{ font-size:11px; margin-top:4px; opacity:.85; }
.pipelineBot__sum{ font-size:11px; margin-top:6px; line-height:1.4; }

.toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%) translateY(120%);
  max-width:min(92vw, 520px);
  padding:12px 18px;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,197,94,.85));
  box-shadow:var(--shadow);
  z-index:9999;
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
  pointer-events:none;
}
.toast.show{
  transform:translateX(-50%) translateY(0);
  opacity:1;
}
.uiGateBanner{
  margin:0 16px 0;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(245,158,11,.45);
  background:rgba(245,158,11,.12);
  color:rgba(255,255,255,.92);
  font-size:13px;
  line-height:1.5;
}
.uiGateBanner--ok{
  border-color:rgba(34,197,94,.4);
  background:rgba(34,197,94,.1);
}
.uiGateBanner a{ color:rgba(190,230,255,.95); }

@media (max-width: 980px){
  .main{ grid-template-columns: 1fr; }
  .token{ width: 100%; }
}

