:root {
  color-scheme:dark;
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  color:#e6ebef;
  background:#090e16;
  --bg:#090e16;
  --sidebar:#0c121c;
  --panel:#121b27;
  --panel-raised:#182432;
  --border:rgba(179,202,215,.12);
  --text:#e6ebef;
  --muted:#91a1ae;
  --muted2:#6f8191;
  --accent:#d7bea0;
  --focus:#9bc5c9;
  --teal:#81b9b3;
  --error:#e49d9d;
  --radius:18px;
  --shadow:0 26px 70px #02060c55
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  min-width:320px
}

a {
  color:#c2dbdd;
  text-decoration:none
}

a:hover {
  color:#f2fbfb
}

button,input,select,textarea {
  font:inherit
}

button {
  cursor:pointer
}

svg {
  width:19px;
  height:19px;
  flex:none
}

::selection {
  background:#547c80aa;
  color:white
}

:focus-visible {
  outline:2px solid var(--focus);
  outline-offset:3px
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  font-family:'Segoe UI',system-ui,sans-serif;
  letter-spacing:-.035em
}

h1 {
  font-size:clamp(2rem,3.6vw,3.6rem);
  line-height:1.13;
  font-weight:700
}

h2 {
  font-size:1.25rem;
  line-height:1.35;
  font-weight:650
}

h3 {
  font-size:1rem;
  font-weight:650
}

p {
  line-height:1.6
}

small,.muted {
  color:var(--muted);
  line-height:1.5
}

.eyebrow {
  display:block;
  color:var(--accent);
  font-size:.71rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:13px
}

.mono {
  font-variant-numeric:tabular-nums
}

.skip-link {
  position:absolute;
  z-index:30;
  left:16px;
  top:-60px;
  padding:12px;
  background:#fff;
  color:#111
}

.skip-link:focus {
  top:10px
}

.app-shell {
  display:flex;
  min-height:100vh;
  background:radial-gradient(ellipse 70% 65% at 85% 1%,#17243079 0%,transparent 72%),var(--bg)
}

.sidebar {
  width:258px;
  min-width:258px;
  position:sticky;
  top:0;
  height:100vh;
  padding:30px 16px 20px 20px;
  border-right:1px solid var(--border);
  background:linear-gradient(180deg,#101923,#0b111a 68%);
  display:flex;
  flex-direction:column;
  z-index:12
}

.sidebar-close,.sidebar-backdrop {
  display:none
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  padding:1px 11px 34px
}

.brand:hover {
  color:var(--text)
}

.brand-mark {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #d7bea07a;
  border-radius:12px;
  color:var(--accent);
  background:#d7bea014;
  font-family:'Segoe UI',system-ui,sans-serif;
  font-size:22px;
  font-weight:800;
  clip-path:polygon(0 0,100% 0,100% 78%,78% 100%,0 100%)
}

.brand-wordmark {
  font-family:'Segoe UI',system-ui,sans-serif;
  font-weight:800;
  font-size:.98rem;
  letter-spacing:.045em;
  white-space:nowrap
}

.brand-wordmark>span {
  font-weight:500;
  color:#b5c6ca
}

.brand-wordmark small {
  display:block;
  font-family:'Segoe UI',system-ui,sans-serif;
  letter-spacing:.18em;
  font-size:.56rem;
  margin-top:3px;
  color:var(--muted2)
}

.nav-caption {
  color:var(--muted2);
  padding:8px 15px 13px;
  letter-spacing:.17em;
  font-weight:700;
  font-size:.65rem
}

.sidebar nav {
  display:grid;
  gap:5px
}

.nav-item {
  min-height:45px;
  display:flex;
  align-items:center;
  gap:13px;
  color:#9aaab6;
  padding:0 14px;
  border-radius:11px;
  font-size:.88rem;
  font-weight:600;
  transition:background .18s,color .18s,transform .18s
}

.nav-item:hover {
  background:#ffffff0c;
  color:white;
  transform:translateX(2px)
}

.nav-item[aria-current] {
  color:#e9edef;
  background:#d7bea015;
  box-shadow:inset 2px 0 0 var(--accent)
}

.nav-item[aria-current] svg {
  color:var(--accent)
}

.sidebar-bottom {
  margin-top:auto;
  border-top:1px solid var(--border);
  padding:19px 10px 0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px
}

.user-avatar {
  height:29px;
  width:29px;
  display:grid;
  place-items:center;
  color:#99c1b7;
  background:#142e30;
  border:1px solid #82bcb550;
  border-radius:50%;
  font-size:.45rem
}

.user-email {
  font-size:.76rem;
  color:#afbdc6;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:148px;
  white-space:nowrap
}

.sidebar-bottom form {
  width:100%;
  margin-top:3px
}

.logout-button {
  font-size:.75rem;
  border:0;
  background:transparent;
  color:var(--muted);
  padding:7px 0
}

.logout-button:hover {
  color:var(--text)
}

.content-shell {
  width:calc(100% - 258px);
  min-width:0
}

.topbar {
  height:78px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 clamp(22px,3.8vw,66px);
  background:#0b111980
}

.breadcrumb {
  font-size:.83rem;
  color:#c9d1d6;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap
}

.breadcrumb span[aria-hidden] {
  color:var(--accent)
}

.breadcrumb-label {
  font-size:.65rem;
  letter-spacing:.17em;
  color:var(--muted2);
  font-weight:700;
  margin-right:6px
}

.topbar-status {
  margin-left:auto;
  color:var(--muted);
  font-size:.7rem;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:9px
}

.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#96b8ac;
  box-shadow:0 0 0 3px #96b8ac22
}

.menu-toggle {
  display:none;
  background:transparent;
  border:0;
  color:var(--text);
  padding:7px
}

main {
  max-width:1640px;
  margin:0 auto;
  padding:clamp(25px,4vw,62px) clamp(20px,3.8vw,66px) 100px
}

.back-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.8rem;
  margin-bottom:24px;
  color:var(--muted)
}

.back-link:hover {
  color:var(--text)
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:34px
}

.page-heading p {
  margin:8px 0 0
}

.page-heading h1 {
  margin:0
}

.page-heading .eyebrow {
  margin-bottom:8px
}

.card,.surface {
  background:linear-gradient(145deg,#182230ce,#111925ea);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:clamp(19px,2vw,29px);
  box-shadow:0 14px 45px #03081138;
  margin:0 0 18px
}

.card h2,.surface h2 {
  margin-bottom:15px
}

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));
  gap:18px
}

.grid>.card {
  margin:0
}

.card:hover,.surface:hover {
  border-color:#a5bac526
}

.section-heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px
}

.section-heading h2 {
  margin:0
}

.section-heading a {
  font-size:.8rem
}

.section-heading a svg {
  width:14px;
  height:14px;
  vertical-align:middle;
  margin-left:4px
}

.section-caption {
  font-size:.77rem;
  color:var(--muted);
  margin:-8px 0 20px
}

.scheduler-note {
  color:var(--muted);
  font-size:.81rem;
  margin:0 0 13px
}

.button,button:not(.link):not(.menu-toggle):not(.logout-button):not(.button-danger-outline) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid #d9c5ab88;
  background:#ceb798;
  color:#15202a;
  border-radius:10px;
  padding:10px 17px;
  font-weight:700;
  font-size:.83rem;
  min-height:39px;
  line-height:1.2;
  transition:transform .18s,background .18s,border-color .18s,box-shadow .18s
}

.button:hover,button:not(.link):not(.menu-toggle):not(.logout-button):not(.button-danger-outline):hover {
  background:#e5d1b5;
  color:#14202b;
  transform:translateY(-1px);
  box-shadow:0 8px 20px #0004
}

.button-secondary {
  background:#ffffff0b!important;
  color:var(--text)!important;
  border-color:var(--border)!important
}

.button-secondary:hover {
  background:#ffffff18!important
}

.link {
  background:none;
  border:0;
  color:var(--teal);
  padding:3px 0;
  font-weight:600;
  font-size:.81rem
}

.link:hover {
  color:#d8eee8
}

.row {
  display:flex;
  gap:14px;
  align-items:end;
  flex-wrap:wrap
}

.row>div {
  flex:1;
  min-width:140px
}

.row form {
  display:inline
}

form {
  max-width:100%
}

label {
  display:block;
  margin:16px 0 7px;
  font-size:.79rem;
  color:#c3d1d7;
  font-weight:600
}

input:not([type=hidden]),textarea,select {
  width:100%;
  border:1px solid #a7bfcd36;
  background:#0b141e;
  color:var(--text);
  border-radius:10px;
  padding:10px 12px;
  min-height:42px;
  outline:0;
  transition:border-color .16s,box-shadow .16s
}

input:hover,select:hover,textarea:hover {
  border-color:#a7bfcd66
}

input:focus,select:focus,textarea:focus {
  border-color:var(--focus);
  box-shadow:0 0 0 3px #9bc5c923
}

textarea {
  min-height:110px;
  resize:vertical
}

input:disabled {
  opacity:.62
}

.item {
  padding:15px 0;
  border-top:1px solid var(--border);
  font-size:.88rem
}

.item:first-child {
  border-top:0
}

.item small {
  display:block;
  margin-top:4px
}

pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:inherit;
  line-height:1.65;
  background:#090f19;
  padding:18px;
  border:1px solid var(--border);
  border-radius:11px;
  color:#cdd8df
}

hr {
  border:0;
  border-top:1px solid var(--border);
  margin:24px 0
}

.error {
  color:var(--error)
}

.status {
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid #ffffff1b;
  color:#bac6cd;
  background:#ffffff0b;
  padding:5px 10px;
  border-radius:99px;
  font-size:.71rem;
  font-weight:700;
  white-space:nowrap
}

.status:before {
  content:"";
  width:5px;
  height:5px;
  background:currentColor;
  border-radius:50%
}

.status--active,.status--approved,.status--configured {
  color:#a7cfbd;
  background:#85c6ad10;
  border-color:#8ac6aa35
}

.status--proposed,.status--review {
  color:#e4c396;
  background:#cda87213;
  border-color:#d4b58043
}

.status--working,.status--running,.status--queued {
  color:#a8c9de;
  background:#86b0cb19;
  border-color:#7da6c845
}

.status--paused,.status--parked,.status--disabled {
  color:#a8aeb9
}

.status--rejected,.status--failed {
  color:#e2a9a9;
  background:#d4777711;
  border-color:#d4777739
}

.badge {
  display:inline-block;
  padding:5px 10px;
  border-radius:99px;
  background:#ffffff14;
  color:#c3d3db;
  font-size:.75rem
}

.hero-heading {
  margin-bottom:30px
}

.hero-heading h1 {
  margin:0 0 8px
}

.hero-heading p {
  color:var(--muted);
  margin:0
}

.command-layout {
  display:grid;
  grid-template-columns:minmax(0,1.72fr) minmax(250px,.9fr);
  gap:18px;
  margin-bottom:30px;
  align-items:stretch
}

.core-panel {
  position:relative;
  min-height:420px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  border:1px solid #b6cdd22c;
  border-radius:22px;
  background:radial-gradient(circle at 50% 41%,#39545b88 0,#24374083 24%,transparent 61%),linear-gradient(155deg,#1b2b35,#111a24 73%);
  box-shadow:var(--shadow)
}

.core-panel:before {
  content:"";
  position:absolute;
  inset:15px;
  border:1px solid #ffffff0d;
  border-radius:15px;
  pointer-events:none
}

.core-panel:after {
  content:"";
  position:absolute;
  width:700px;
  height:700px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border:1px solid #b6c8c80d;
  border-radius:50%;
  pointer-events:none
}

.core-panel>* {
  position:relative;
  z-index:1
}

.core-panel .eyebrow {
  position:absolute;
  left:32px;
  top:29px;
  margin:0;
  color:#9db8b9
}

.vulka-core {
  height:242px;
  width:242px;
  display:grid;
  place-items:center;
  position:relative;
  isolation:isolate
}

.core-orbit,.core-sphere {
  position:absolute;
  border-radius:50%
}

.core-halo {
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  background:radial-gradient(circle,#9dc0bc12 24%,#88aaad09 54%,transparent 70%);
  box-shadow:0 0 63px #a8c7c014;
  pointer-events:none
}

.core-orbit--outer {
  width:234px;
  height:234px;
  border:1px solid #a5cbcb36;
  box-shadow:inset 0 0 0 7px #b7d2d208,0 0 0 7px #bec9c408;
  animation:core-breathe 9s ease-in-out infinite
}

.core-orbit--outer:before {
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid #bdd9d622;
  border-radius:50%
}

.core-orbit--middle {
  width:199px;
  height:199px;
  border:1px solid #e1e6dd1e;
  box-shadow:inset 0 0 15px #bad6cd0b;
  transform:rotate(24deg)
}

.core-orbit--middle:before,.core-orbit--middle:after {
  content:"";
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#c4d7d1a8;
  box-shadow:0 0 7px #c4d7d158
}

.core-orbit--middle:before {
  top:14%;
  left:14%
}

.core-orbit--middle:after {
  right:14%;
  bottom:14%;
  opacity:.56
}

.core-orbit--inner {
  width:175px;
  height:175px;
  border:1px dashed #bbdbd83a;
  transform:rotate(-28deg);
  animation:core-rotate 55s linear infinite
}

.core-sphere {
  width:146px;
  height:146px;
  display:grid;
  place-items:center;
  background:radial-gradient(ellipse at 36% 24%,#b4cfca7a 0%,transparent 45%),radial-gradient(circle at 43% 31%,#5b7c7e,#293f48 49%,#0d1d29 83%);
  border:1px solid #c5e0d997;
  box-shadow:inset -16px -22px 31px #03111ab8,inset 8px 9px 25px #ffffff26,0 30px 52px #0009,0 0 40px #9abcb520;
  animation:core-breathe 9s ease-in-out infinite
}

.core-sphere:after {
  content:"";
  position:absolute;
  inset:5px;
  border-radius:50%;
  border-top:1px solid #ecf3e65c;
  border-left:1px solid #ecf3e620;
  pointer-events:none
}

.core-glyph {
  font:700 68px 'Segoe UI',system-ui,sans-serif;
  letter-spacing:-.13em;
  transform:translateX(-5px);
  color:#e3e8e6;
  text-shadow:0 2px 22px #c3dbda91
}

.vulka-core[data-state=listening] .core-orbit--outer,.vulka-core[data-state=speaking] .core-orbit--outer {
  border-color:#abd8d8
}

.vulka-core[data-state=thinking] .core-orbit--inner {
  border-style:solid
}

.vulka-core[data-state=delegating] .core-orbit--outer {
  border-style:dashed
}

.core-panel h2 {
  margin:8px 0 2px;
  font-size:1.25rem
}

.core-panel .core-subtitle {
  font-size:.8rem;
  color:#a9bac0;
  margin:0 0 26px
}

.command-bar {
  width:min(90%,530px);
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid #b0c9c45e;
  background:linear-gradient(110deg,#0c2029f2,#08121bf7);
  border-radius:13px;
  padding:6px;
  box-shadow:inset 0 1px #d9e3d712,0 14px 37px #02070f9c;
  transition:border-color .18s,box-shadow .18s
}

.command-bar:focus-within {
  border-color:#bbd4cd9c;
  box-shadow:0 0 0 3px #a7cfc119,0 18px 38px #02070fa8
}

.command-input {
  display:flex;
  align-items:center;
  flex:1;
  min-width:0
}

.command-sigil {
  flex:none;
  margin-left:13px;
  color:#c3d8d0;
  font-size:1rem;
  line-height:1;
  opacity:.83
}

.command-bar input:not([type=hidden]) {
  border:0;
  background:transparent;
  box-shadow:none;
  min-width:0;
  flex:1;
  margin:0;
  padding-left:10px
}

.command-bar input::placeholder {
  color:#91a7b1
}

.command-bar button {
  flex:none
}

.command-bar .voice-trigger {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  padding:0;
  background:#182b33;
  border:1px solid #abc8be48;
  border-radius:10px;
  color:#d7e7e0;
  box-shadow:none
}

.voice-trigger svg { width:20px; height:20px }
.command-bar .voice-trigger:hover,.command-bar .voice-trigger:focus-visible {
  background:#274149;
  border-color:#c7dfd0
}
.command-bar .voice-trigger[aria-pressed=true] {
  background:#355057;
  border-color:#bbd7c7;
  box-shadow:0 0 0 3px #aec7b31e
}
.command-bar .voice-trigger:disabled { opacity:.52; cursor:not-allowed }
.conversation-panel {
  width:min(90%,530px);
  margin:17px auto 0;
  text-align:left;
  border:1px solid #a9c4bb33;
  background:#091923e0;
  border-radius:14px;
  padding:17px;
  box-shadow:inset 0 1px #f6fff30c,0 18px 42px #0005
}
.conversation-panel[hidden],.conversation-message[hidden],.conversation-actions [hidden] { display:none!important }
.conversation-status { margin:0; color:#b8cec9; font-size:.84rem }
.conversation-message {
  margin-top:14px;
  border-top:1px solid #9fbbb626;
  padding-top:13px
}
.conversation-message>span { display:block; color:#b8d3c8; font-size:.73rem; font-weight:700 }
.conversation-message p,.conversation-message pre {
  margin:8px 0 0;
  color:#eef0ea;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:inherit;
  font-size:.91rem;
  line-height:1.55
}
.conversation-message--vulka pre { max-height:360px; overflow:auto }
.conversation-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; align-items:center }
.conversation-actions a { color:#d7e8df; text-decoration:underline; text-underline-offset:3px }
.conversation-actions button { font-size:.79rem }

.command-note {
  font-size:.7rem;
  color:#91a9ad;
  margin:11px 0 0
}

.core-inactive {
  padding:13px 20px;
  border-radius:10px;
  background:#0b141ea8;
  color:var(--muted);
  font-size:.85rem
}

.briefing-card {
  display:flex;
  flex-direction:column
}

.briefing-card .eyebrow {
  margin-bottom:10px
}

.briefing-card h2 {
  font-size:1.45rem;
  margin:0 0 8px
}

.briefing-card>p {
  font-size:.85rem;
  color:var(--muted);
  margin-bottom:20px
}

.brief-metric {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-top:1px solid var(--border)
}

.brief-metric span {
  font-size:.82rem;
  color:#b3c2c9
}

.brief-metric strong {
  font-family:'Segoe UI',system-ui,sans-serif;
  font-size:1.37rem;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums
}

.brief-metric strong.attention {
  color:#e4c396
}

.briefing-note {
  margin:auto 0 0!important;
  padding-top:24px;
  font-size:.75rem!important
}

.dashboard-section {
  margin-top:34px
}

.fleet-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));
  gap:14px
}

.agent-tile {
  min-height:191px;
  display:flex;
  flex-direction:column;
  border-radius:16px;
  padding:19px;
  border:1px solid var(--border);
  background:linear-gradient(155deg,#1a2730,#111a25 65%);
  color:var(--text);
  transition:transform .2s,border-color .2s,box-shadow .2s
}

.agent-tile:hover {
  transform:translateY(-3px);
  border-color:#a7c5c070;
  box-shadow:0 19px 38px #02070c77;
  color:white
}

.agent-tile:focus-visible {
  border-color:#b5d2c5a3;
  box-shadow:0 19px 38px #02070c77;
  transform:translateY(-3px)
}

.fleet-grid--page {
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-bottom:22px
}

.fleet-grid--page .agent-tile {
  min-height:220px;
  padding:24px;
  background:radial-gradient(circle at 12% 6%,#3c595034,transparent 47%),linear-gradient(150deg,#192732,#111b27 70%)
}

.fleet-grid--page .agent-glyph {
  width:44px;
  height:44px
}

.fleet-grid--page .agent-tile h3 {
  font-size:1.06rem
}

.agent-create {
  border-style:dashed;
  background:#111a2499
}

.agent-create summary,.agent-inspector summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px
}

.agent-create summary span,.agent-inspector summary span {
  font-weight:400;
  font-size:.78rem;
  color:var(--muted)
}

.agent-create:not([open]) summary,.agent-inspector:not([open]) summary {
  margin-bottom:0
}

.agent-create form {
  max-width:700px;
  padding-top:10px
}

.agent-tile-top {
  display:flex;
  justify-content:space-between;
  gap:5px;
  align-items:start
}

.agent-glyph {
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#8fb9b71b;
  border:1px solid #9abdb549;
  color:#bedbd6;
  font-family:'Segoe UI',system-ui,sans-serif;
  font-size:.95rem;
  font-weight:800;
  width:38px;
  height:38px
}

.agent-tile h3 {
  margin:22px 0 3px;
  font-size:.96rem
}

.agent-tile p {
  font-size:.74rem;
  color:var(--muted);
  margin-bottom:13px;
  line-height:1.4
}

.agent-model {
  margin-top:auto;
  font-size:.72rem;
  color:#b5c5ca;
  overflow-wrap:anywhere
}

.agent-model span {
  color:var(--muted2)
}

.agent-tile .status {
  font-size:.64rem;
  padding:4px 7px
}

.decision-card {
  position:relative;
  overflow:hidden;
  border:1px solid #d5b89538;
  border-radius:18px;
  background:radial-gradient(circle at 5% 2%,#bb967326,transparent 38%),linear-gradient(125deg,#202730,#121e2a 72%);
  box-shadow:0 18px 40px #02070c64;
  padding:27px 29px;
  margin-bottom:16px;
  min-height:194px
}

.decision-card:before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(#ecd1ac,#927556)
}

.decision-board {
  width:100%;
  max-width:1020px;
  margin:0 auto
}

.decision-intro {
  margin:0 0 17px
}

.decision-bulk-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 8px
}

.decision-bulk-reject {
  background:transparent;
  border:1px solid #b977775c;
  color:#e4b4b4;
  border-radius:9px;
  padding:10px 14px;
  font-weight:700
}

.decision-bulk-reject:not(:disabled):hover,.decision-bulk-reject:not(:disabled):focus-visible {
  background:#a8565624;
  border-color:#d19797
}

.decision-bulk-reject:disabled { opacity:.48;cursor:not-allowed }
.decision-bulk-note { font-size:.8rem;margin:0 0 20px }

.decision-select {
  display:grid;
  flex:0 0 40px;
  place-items:center;
  height:44px;
  border:1px solid #d5b89545;
  border-radius:10px;
  cursor:pointer
}

.decision-select:focus-within { outline:2px solid #e2c59b;outline-offset:2px }
.decision-select input { width:18px;height:18px;margin:0;accent-color:#c8ad86;cursor:pointer }

.decision-main {
  display:flex;
  align-items:flex-start;
  gap:18px
}

.decision-copy {
  flex:1;
  min-width:0
}

.decision-glyph {
  width:44px;
  height:44px;
  background:#d7bea018;
  border-color:#d7bea060;
  color:#ecd2ad
}

.decision-main>.status {
  margin-left:auto
}

.decision-card .eyebrow {
  margin:2px 0 8px;
  font-size:.65rem
}

.decision-card h3 {
  margin:0 0 6px;
  font-size:1.18rem
}

.decision-card p {
  font-size:.91rem;
  color:#c7d3d9;
  margin:0 0 15px;
  overflow-wrap:anywhere
}

.decision-meta {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.77rem;
  margin:14px 0 0 62px;
  padding-top:14px;
  border-top:1px solid var(--border)
}

.decision-card a.decision-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#e7d2b7;
  font-size:.82rem;
  font-weight:700;
  border:1px solid #d5b89558;
  padding:10px 13px;
  border-radius:9px;
  background:#d5b8950e
}

.decision-card a.decision-link:hover,.decision-card a.decision-link:focus-visible {
  background:#d5b89521;
  border-color:#d5b895a8
}

.decision-card a svg {
  width:15px;
  height:15px
}

.empty-state {
  border:1px dashed #b7c5ca27;
  border-radius:15px;
  padding:27px;
  color:var(--muted);
  font-size:.86rem;
  background:#ffffff04
}

.two-column {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);
  gap:18px
}

.activity-list {
  list-style:none;
  padding:0;
  margin:0
}

.activity-list li {
  display:flex;
  align-items:baseline;
  gap:14px;
  padding:13px 0;
  border-bottom:1px solid var(--border)
}

.activity-list li:last-child {
  border:0
}

.activity-marker {
  width:7px;
  height:7px;
  flex:none;
  border:1px solid #b6d1c6;
  background:#83adac;
  border-radius:50%
}

.activity-list li span {
  font-size:.81rem;
  color:#c4d1d5;
  overflow-wrap:anywhere
}

.activity-list time {
  color:var(--muted2);
  font-size:.71rem;
  margin-left:auto;
  white-space:nowrap
}

.task-item {
  display:flex;
  align-items:start;
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid var(--border)
}

.task-item:last-child {
  border:0
}

.task-item-body {
  flex:1;
  min-width:0
}

.task-item strong {
  font-size:.84rem;
  display:block;
  overflow-wrap:anywhere
}

.task-item small {
  display:block;
  margin-top:3px;
  font-size:.72rem
}

.task-item form {
  flex:none
}

.task-item button.link {
  white-space:nowrap
}

.task-item .task-priority {
  width:5px;
  height:24px;
  flex:none;
  border-radius:4px;
  background:#69848a
}

.task-item .task-priority--3 {
  background:#c8a678
}

.task-item .task-priority--1 {
  background:#667782
}

.task-create {
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--border)
}

.task-create h3 {
  margin-bottom:4px
}

.schedule-list {
  margin-bottom:20px
}

.list-row {
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  padding:17px 0;
  border-top:1px solid var(--border)
}

.list-row:first-child {
  border:0
}

.list-row>a {
  font-weight:650;
  font-size:.93rem
}

.list-row p {
  font-size:.76rem;
  color:var(--muted);
  margin:4px 0 0
}

.list-row aside {
  flex:none
}

.detail-meta {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 30px
}

.detail-meta .meta-pill {
  border:1px solid var(--border);
  padding:8px 12px;
  border-radius:9px;
  font-size:.77rem;
  color:#c8d3d8
}

.detail-meta .meta-pill b {
  color:var(--muted);
  font-weight:500
}

.agent-heading {
  align-items:center;
  margin-bottom:24px
}

.agent-identity {
  display:flex;
  align-items:center;
  gap:21px;
  min-width:0
}

.agent-identity>div {
  min-width:0
}

.agent-avatar {
  width:72px;
  height:72px;
  flex:none;
  display:grid;
  place-items:center;
  border:1px solid #afccc080;
  border-radius:20px;
  color:#e7eee8;
  background:radial-gradient(circle at 35% 28%,#628a7c88,transparent 70%),#183038;
  box-shadow:inset 0 1px #ebf6e51f,0 18px 37px #02070c86;
  font-size:1.95rem;
  font-weight:650
}

.agent-detail-layout {
  grid-template-columns:minmax(0,1.38fr) minmax(260px,.72fr)
}

.agent-detail-layout>aside {
  min-width:0
}

.agent-run-panel {
  background:radial-gradient(circle at 88% 2%,#87afa329,transparent 56%),linear-gradient(145deg,#1a2a34,#101d28 72%);
  border-color:#aed1c144
}

.agent-run-panel .eyebrow {
  font-size:.65rem;
  margin-bottom:9px
}

.agent-run-panel h2 {
  font-size:1.47rem;
  margin-bottom:4px
}

.agent-run-panel>p {
  color:var(--muted);
  font-size:.83rem;
  margin:0
}

.agent-run-panel textarea {
  min-height:137px
}

.agent-inspector {
  background:#151f2acc
}

.agent-inspector form {
  padding-top:7px
}

.agent-lifecycle {
  padding:0 7px
}

.agent-instructions pre {
  margin-bottom:0
}

.agent-history {
  margin-top:7px!important
}

.recent-run {
  display:flex;
  align-items:center;
  gap:15px;
  justify-content:space-between;
  padding:16px 0;
  border-top:1px solid var(--border)
}

.recent-run>div {
  min-width:0
}

.recent-run a {
  display:block;
  font-size:.85rem;
  overflow-wrap:anywhere
}

.recent-run small {
  display:block;
  margin-top:4px;
  font-size:.72rem
}

.detail-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:18px
}

.detail-grid>div>* {
  margin-bottom:18px
}

.run-action-group {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px
}

.run-action-group form {
  margin:0
}

.run-action-group .decision-primary {
  padding:11px 21px;
  box-shadow:0 8px 24px #02070c55
}

.run-action-group .decision-reject {
  box-shadow:none!important;
  border-color:#a9b8bd40!important;
  color:#b4c1c7!important
}

.run-content {
  font-size:.94rem
}

.run-proposal {
  padding:22px 24px;
  border:1px solid #d4bc994a;
  border-left:2px solid #d4bc99;
  border-radius:13px;
  background:linear-gradient(120deg,#c6a27112,#07121b50)
}

.run-proposal .eyebrow {
  font-size:.64rem;
  margin-bottom:5px
}

.run-proposal h2 {
  margin-bottom:14px
}

.run-proposal pre {
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  color:#e0e9e9
}

.provider-card {
  max-width:1070px;
  margin-left:auto;
  margin-right:auto;
  padding:0;
  overflow:hidden
}

.provider-heading {
  display:flex;
  align-items:center;
  gap:18px;
  padding:27px 30px;
  background:radial-gradient(circle at 10% 0%,#8bb3ac20,transparent 54%),#1825326b
}

.provider-mark {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  flex:none;
  border:1px solid #a9c9bc79;
  border-radius:15px;
  color:#dcebe3;
  background:#8bb3ac1b;
  font-size:1.2rem;
  font-weight:700
}

.provider-heading>div {
  flex:1;
  min-width:0
}

.provider-heading .eyebrow {
  margin-bottom:4px;
  font-size:.63rem
}

.provider-heading h2 {
  margin:0;
  font-size:1.38rem
}

.provider-heading p {
  margin:4px 0 0;
  font-size:.79rem;
  color:var(--muted)
}

.provider-config {
  border-top:1px solid var(--border);
  padding:29px 30px
}

.provider-config h3 {
  margin-bottom:5px
}

.provider-config p {
  font-size:.82rem
}

.provider-config form {
  max-width:660px;
  margin-top:18px
}

.risk-zone {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
  margin:0 30px 30px;
  padding:22px 24px;
  border:1px solid #c3808040;
  border-radius:13px;
  background:#8f3b3b0a
}

.risk-zone .eyebrow {
  color:#d4a0a0;
  font-size:.65rem;
  margin:0 0 7px
}

.risk-zone h3 {
  margin:0 0 5px
}

.risk-zone p {
  color:var(--muted);
  font-size:.8rem;
  max-width:600px;
  margin:0
}

button.button-danger-outline {
  background:transparent;
  color:#e1aaaa;
  border:1px solid #c787875e;
  border-radius:9px;
  padding:10px 15px;
  font-size:.81rem;
  font-weight:650
}

button.button-danger-outline:hover,button.button-danger-outline:focus-visible {
  background:#ae6b6b16;
  border-color:#d39999a3;
  color:#f1c2c2
}

.run-note {
  font-size:.78rem;
  color:var(--muted);
  margin:12px 0 0
}

.company-card {
  position:relative
}

.company-card h2 {
  margin:0 0 5px
}

.company-card p {
  font-size:.82rem
}

.company-card .button {
  margin-top:9px
}

.company-card .status {
  margin-bottom:14px
}

.login-body {
  min-height:100vh;
  background:radial-gradient(ellipse at 50% -10%,#1b323c 0%,transparent 48%),radial-gradient(ellipse at 4% 100%,#172029 0%,transparent 50%),#080e16
}

.login-shell {
  max-width:none;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:42px 20px
}

.login-stage {
  width:min(100%,970px);
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #b5cad12e;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 35px 95px #0008;
  background:#101923
}

.login-story {
  min-height:600px;
  padding:52px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:radial-gradient(circle at 60% 41%,#34546057 0%,transparent 55%),linear-gradient(145deg,#1b2b36,#101a23);
  border-right:1px solid var(--border)
}

.login-story .brand {
  padding:0
}

.login-story .vulka-core {
  margin:auto;
  transform:scale(1.05)
}

.login-story h2 {
  font-size:1.55rem;
  max-width:330px;
  margin-bottom:8px
}

.login-story p {
  color:#aabdc3;
  font-size:.84rem;
  max-width:340px;
  margin:0
}

.login-form-area {
  padding:clamp(28px,5vw,65px);
  display:flex;
  flex-direction:column;
  justify-content:center
}

.login-form-area .eyebrow {
  margin-bottom:15px
}

.login-form-area h1 {
  font-size:2rem
}

.login-form-area>p {
  font-size:.84rem;
  color:var(--muted)
}

.login-form-area form {
  margin-top:20px
}

.login-form-area form button {
  width:100%;
  margin-top:19px
}

.login-form-area .privacy-note {
  margin-top:24px;
  font-size:.73rem;
  color:var(--muted2)
}

.login-error {
  margin:18px 0 0;
  border:1px solid #d4777755;
  border-radius:9px;
  padding:12px 14px;
  color:#efb4b4;
  background:#d4777712;
  font-size:.82rem
}

@keyframes core-breathe {
  50% {
    transform:scale(1.045);
    opacity:.85
  }
}

@keyframes core-rotate {
  to {
    transform:rotate(332deg)
  }
}

@media(max-width:1180px) {
  .command-layout {
    grid-template-columns:1.5fr 1fr
  }
  .two-column {
    grid-template-columns:1fr
  }
  .fleet-grid {
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))
  }
  .fleet-grid--page {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(max-width:900px) {
  .sidebar-backdrop.is-open {
    display:block;
    position:fixed;
    inset:0;
    background:#02070bbd;
    z-index:11
  }
  .sidebar {
    position:fixed;
    transform:translateX(-102%);
    transition:transform .25s;
    box-shadow:20px 0 60px #0008
  }
  .sidebar.is-open {
    transform:translateX(0)
  }
  .sidebar-close {
    display:grid;
    place-items:center;
    position:absolute;
    top:77px;
    right:18px;
    width:34px;
    height:34px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#ffffff0a;
    color:var(--text);
    cursor:pointer
  }
  .sidebar-close:hover,.sidebar-close:focus-visible {
    background:#ffffff1a;
    border-color:var(--accent)
  }
  .sidebar-close svg {
    width:17px;
    height:17px
  }
  .content-shell {
    width:100%
  }
  .menu-toggle {
    display:block
  }
  .topbar {
    padding:0 24px
  }
  .topbar-status {
    display:none
  }
  .command-layout {
    grid-template-columns:1fr 1fr
  }
  .core-panel {
    min-height:420px
  }
  .login-story {
    padding:35px
  }
}

@media(max-width:680px) {
  .topbar {
    height:68px
  }
  .breadcrumb-label {
    display:none
  }
  main {
    padding:29px 18px 65px
  }
  .command-layout,.detail-grid {
    grid-template-columns:1fr
  }
  .core-panel {
    min-height:390px
  }
  .briefing-card {
    min-height:280px
  }
  .fleet-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .fleet-grid--page {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .decision-card {
    padding:21px 18px;
    min-height:0
  }
  .decision-main {
    gap:12px;
    flex-wrap:wrap
  }
  .decision-copy {
    flex-basis:calc(100% - 60px)
  }
  .decision-card--selectable .decision-copy {
    flex-basis:calc(100% - 110px)
  }
  .decision-main>.status {
    margin:0 0 0 56px
  }
  .decision-meta {
    margin-left:0
  }
  .agent-avatar {
    width:57px;
    height:57px;
    border-radius:16px;
    font-size:1.55rem
  }
  .agent-identity {
    gap:13px
  }
  .agent-identity h1 {
    overflow-wrap:anywhere
  }
  .provider-heading {
    padding:21px 20px;
    gap:11px;
    flex-wrap:wrap
  }
  .provider-config {
    padding:23px 20px
  }
  .risk-zone {
    margin:0 20px 20px;
    padding:19px
  }
  .run-proposal {
    padding:19px
  }
  .login-stage {
    grid-template-columns:1fr;
    max-width:440px
  }
  .login-story {
    display:none
  }
  .login-form-area {
    min-height:450px
  }
  .page-heading {
    margin-bottom:25px
  }
}

@media(max-width:420px) {
  .fleet-grid {
    grid-template-columns:1fr
  }
  .fleet-grid--page {
    grid-template-columns:1fr
  }
  .core-panel .eyebrow {
    left:23px;
    top:23px
  }
  .command-bar {
    width:calc(100% - 30px);
    flex-wrap:wrap
  }
  .command-input {
    width:calc(100% - 56px)
  }
  .command-bar input:not([type=hidden]) {
    width:100%
  }
  .command-bar button[type=submit] {
    width:100%;
    padding:10px 12px!important
  }
  .conversation-panel { width:calc(100% - 30px) }
  .list-row {
    align-items:start
  }
  .task-item {
    flex-wrap:wrap
  }
  .task-item form {
    margin-left:17px
  }
  .breadcrumb {
    font-size:.72rem
  }
  .decision-meta {
    align-items:flex-start;
    flex-direction:column
  }
  .agent-identity {
    align-items:flex-start
  }
  .agent-identity h1 {
    font-size:1.85rem
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
  .agent-tile:hover,.agent-tile:focus-visible,.nav-item:hover,.button:hover {
    transform:none
  }
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

summary {
  cursor:pointer;
  font-weight:700;
  margin-bottom:15px
}

details[open] summary {
  padding-bottom:15px;
  border-bottom:1px solid var(--border)
}
