@charset "UTF-8";
:root{
  color-scheme:dark;
  --bg:#10191d;
  --sidebar:#0c1417;
  --panel:#172226;
  --panel-raised:#1b292d;
  --line:#29383d;
  --text:#ecf1ed;
  --muted:#9aabae;
  --mint:#a3e8c3;
  --mint-dim:#213e32;
  --amber:#e9c08a;
  --red:#f1a89e;
  --radius:14px;
  font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;
  font-size:14px;
  line-height:1.5;
  font-synthesis:none
}
*{
  box-sizing:border-box
}
[hidden]{
  display:none!important
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text)
}
button,input,select,textarea{
  font:inherit
}
button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button:disabled{
  cursor:wait;
  opacity:.6
}
a{
  color:inherit;
  text-decoration:none
}
h1,h2,h3,p{
  margin-top:0
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,pre:focus-visible{
  outline:2px solid var(--mint);
  outline-offset:4px
}
input,select,textarea{
  width:100%;
  min-width:0;
  border:1px solid #3a4a4e;
  border-radius:8px;
  padding:11px 12px;
  background:#111d21;
  color:var(--text);
  transition:border-color .15s
}
input:focus,select:focus,textarea:focus{
  border-color:var(--mint)
}
textarea{
  resize:vertical;
  line-height:1.6
}
input::placeholder,textarea::placeholder{
  color:#72868b
}
input[type=checkbox]{
  width:16px;
  min-width:16px;
  height:16px;
  accent-color:var(--mint)
}
label{
  display:block;
  margin:18px 0 7px;
  font-size:12px;
  font-weight:600;
  color:#c5d2d1
}
label:first-child{
  margin-top:0
}
code,pre,textarea#job-args,textarea#enrollment-command{
  font-family:"Cascadia Code","SFMono-Regular",Consolas,monospace
}
pre{
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.muted{
  color:var(--muted)
}
.mint{
  color:var(--mint)!important
}
.amber{
  color:var(--amber)
}
.eyebrow,.mini-label{
  font-size:10px;
  letter-spacing:1.6px;
  font-weight:700;
  color:var(--muted)
}
.mini-label{
  font-size:9px;
  letter-spacing:1.3px
}
.wordmark{
  display:flex;
  align-items:center;
  font-size:27px;
  letter-spacing:-1.5px;
  font-weight:750
}
.brand-symbol{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--mint);
  color:#12221b;
  font:700 20px monospace;
  letter-spacing:-3px;
  padding-right:4px;
  width:36px;
  height:36px;
  margin-right:11px;
  border-radius:10px
}
.brand-suffix{
  color:var(--mint);
  margin-left:3px
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:42px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  padding:11px 17px;
  transition:background .15s,transform .15s
}
.button:hover{
  filter:brightness(1.06)
}
.button:active{
  transform:translateY(1px)
}
.button.primary{
  background:var(--mint);
  color:#163126
}
.button.secondary{
  background:#243438;
  border-color:#3c4f53;
  color:var(--text)
}
.button.ghost{
  background:transparent;
  color:var(--muted)
}
.button.danger{
  background:#492b29;
  border-color:#774440;
  color:#ffb8ac
}
.full{
  width:100%
}
.text-button{
  padding:6px 0;
  color:var(--mint);
  font-size:11px;
  font-weight:600;
  border:0;
  background:transparent
}
.text-button:hover{
  text-decoration:underline
}
.icon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0;
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  font-size:21px;
  border-radius:7px
}
.icon-button:hover{
  background:#253438;
  color:var(--text)
}
.field-help{
  font-size:11px;
  color:var(--muted);
  margin:8px 0;
  line-height:1.7;
  overflow-wrap:anywhere
}
.inline-error{
  font-size:12px;
  color:var(--red);
  min-height:0;
  margin:12px 0
}
.inline-error:empty{
  display:none
}
.alert{
  font-size:12px;
  line-height:1.7;
  border:1px solid #526353;
  border-radius:8px;
  padding:12px 15px;
  margin:18px 0
}
.alert.error{
  color:#f4b3a8;
  border-color:#71443f;
  background:#332724
}
.alert.warning{
  color:#ebc796;
  border-color:#63503a;
  background:#2e2b23
}
.alert.success{
  color:var(--mint);
  background:#1b352a;
  border-color:#355b45
}
.status-dot{
  display:inline-block;
  flex:0 0 auto;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--mint);
  box-shadow:0 0 0 4px #a3e8c30a
}
.status-dot.offline{
  background:#829398;
  box-shadow:none
}
.status-dot.error{
  background:var(--red)
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  border:1px solid #405258;
  color:#bfd1d3;
  background:#24363a;
  font-size:9px;
  font-weight:650;
  letter-spacing:.25px;
  border-radius:5px;
  padding:4px 7px
}
.badge.online,.badge.succeeded{
  background:#203b2f;
  border-color:#315440;
  color:var(--mint)
}
.badge.running,.badge.queued{
  background:#203941;
  color:#a6d9e8;
  border-color:#355460
}
.badge.pending_approval,.amber-badge{
  background:#3a3023;
  border-color:#5e4b34;
  color:var(--amber)
}
.badge.failed,.badge.revoked,.badge.uncertain{
  background:#3b2a28;
  border-color:#67433e;
  color:var(--red)
}
.badge.cancelled,.badge.timed_out,.badge.offline{
  color:#a9b6b9;
  border-color:#425158;
  background:#273237
}
.login-screen{
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.1fr 1fr
}
.login-art{
  position:relative;
  overflow:hidden;
  min-height:100dvh;
  padding:48px 60px;
  background:#132623;
  border-right:1px solid #33443b
}
.login-art:after{
  position:absolute;
  content:"";
  inset:0;
  background-image:radial-gradient(#6a9a8133 .7px,transparent .7px);
  background-size:9px 9px;
  pointer-events:none;
  mask-image:linear-gradient(90deg,transparent,#000);
  opacity:.35
}
.login-hero{
  position:relative;
  z-index:1;
  margin:17vh 0 110px;
  max-width:490px
}
.login-hero .eyebrow{
  color:#8cae99;
  font-size:9px
}
.login-hero h1{
  font-size:clamp(45px,4.3vw,70px);
  letter-spacing:-3.5px;
  line-height:1.06;
  font-weight:550;
  margin:23px 0 28px
}
.login-hero em{
  font-style:normal;
  color:var(--mint)
}
.login-hero p{
  max-width:330px;
  font-size:13px;
  line-height:1.9;
  color:#a1b8ab
}
.art-foot{
  position:absolute;
  bottom:40px;
  font-size:8px;
  letter-spacing:2px;
  color:#719480
}
.orbit{
  position:absolute;
  border:1px solid #9ce7bf18;
  border-radius:50%;
  width:640px;
  height:640px;
  right:-310px;
  top:160px
}
.orbit-two{
  width:800px;
  height:800px;
  right:-390px;
  top:80px
}
.login-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px
}
.login-card{
  width:100%;
  max-width:340px
}
.login-card h2{
  font-size:25px;
  letter-spacing:-.9px;
  line-height:1.3;
  margin:16px 0 12px
}
.login-card>p{
  font-size:12px;
  margin-bottom:30px
}
.login-card .button{
  margin-top:24px;
  justify-content:space-between
}
.login-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:9px;
  color:#8d9e9e;
  margin-top:26px
}
.workspace{
  display:flex;
  min-height:100dvh
}
.sidebar{
  width:218px;
  position:fixed;
  inset:0 auto 0 0;
  background:var(--sidebar);
  border-right:1px solid #263438;
  padding:29px 19px 16px;
  display:flex;
  flex-direction:column;
  z-index:20
}
.sidebar .wordmark{
  font-size:26px;
  margin:0 8px 36px
}
.workspace-caption{
  font-size:8px;
  font-weight:600;
  letter-spacing:1.5px;
  color:#72888c;
  padding-left:12px
}
.nav{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:5px
}
.nav-item{
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  gap:13px;
  min-height:42px;
  border:0;
  background:transparent;
  color:#91a5a9;
  padding:11px 12px;
  text-align:left;
  border-radius:7px;
  font-size:11px;
  font-weight:600
}
.nav-item>span:first-child{
  font-size:16px;
  width:17px;
  text-align:center;
  line-height:1
}
.nav-item.active{
  background:#1e342a;
  color:var(--mint)
}
.nav-item:hover{
  background:#1b282b
}
.nav-item.active:before{
  content:"";
  position:absolute;
  left:-19px;
  top:11px;
  bottom:11px;
  width:2px;
  background:var(--mint)
}
.nav-count{
  margin-left:auto;
  font-size:9px;
  padding:1px 6px;
  border-radius:4px;
  background:#2a3b3b;
  color:#aabfbd
}
.sidebar-bottom{
  margin-top:auto
}
.boundary-note{
  padding:18px 12px;
  border-top:1px solid var(--line);
  margin-top:40px
}
.boundary-note .mini-label{
  font-size:8px;
  color:#91ab9b;
  letter-spacing:1px
}
.boundary-note p{
  font-size:10px;
  line-height:1.9;
  color:#9aabae;
  margin:10px 0
}
.text-link{
  font-size:8px;
  color:#6f9280
}
.profile{
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--line);
  padding:20px 4px 0
}
.avatar{
  display:flex;
  width:31px;
  height:31px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  color:var(--mint);
  background:#294335;
  border:1px solid #3b5a48;
  font-size:11px
}
.profile>div{
  min-width:0;
  flex:1
}
.profile strong{
  display:block;
  font-size:10px;
  overflow:hidden;
  text-overflow:ellipsis
}
.profile small{
  font-size:8px;
  color:#7f959b
}
.main-shell{
  margin-left:218px;
  min-width:0;
  flex:1
}
.topbar{
  height:66px;
  border-bottom:1px solid var(--line);
  padding:0 36px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.breadcrumb{
  font-size:10px;
  color:#81979e;
  display:flex;
  align-items:center;
  gap:15px
}
.breadcrumb>span{
  color:#465b63
}
.breadcrumb>strong{
  font-weight:500;
  color:#c2d0d1
}
.topbar-actions{
  display:flex;
  align-items:center;
  gap:24px
}
.connection{
  display:flex;
  align-items:center;
  gap:8px;
  color:#a5b7b8;
  font-size:9px
}
.main-content{
  padding:35px 36px 20px;
  max-width:1650px;
  margin:auto
}
.page-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.page-heading .eyebrow{
  font-size:8px;
  letter-spacing:1.8px;
  color:#7e9d96
}
.page-heading h1{
  font-weight:500;
  font-size:29px;
  letter-spacing:-1px;
  line-height:1.25;
  margin:10px 0
}
.page-heading p{
  font-size:11px;
  color:var(--muted);
  margin-bottom:0
}
.page-heading>.button{
  min-height:39px;
  font-size:10px;
  padding:10px 14px;
  flex:0 0 auto
}
.project-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:27px 0 22px
}
.project-picker{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0
}
.project-picker>label{
  margin:0;
  font-size:9px;
  color:#9aadad
}
.project-picker select{
  width:175px;
  padding:8px 10px;
  background:#1a272b;
  border-color:#334248;
  font-size:10px
}
.project-picker .text-button{
  font-size:9px
}
.scope-label{
  font-size:8px;
  color:#79928f;
  letter-spacing:.3px;
  white-space:nowrap
}
.scope-label>span{
  margin-right:6px;
  color:#afcdb9
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  margin-bottom:23px
}
.stat{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:11px;
  padding:17px 19px 15px;
  position:relative;
  overflow:hidden
}
.stat-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:9px;
  color:#9eb0b2
}
.stat-label>span{
  font-size:13px;
  color:#94aaa8
}
.stat>strong{
  display:block;
  font-size:35px;
  font-weight:500;
  letter-spacing:-1px;
  margin:9px 0 3px;
  line-height:1.2
}
.stat small{
  font-size:8px;
  color:#789094
}
.content-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);
  gap:22px;
  margin-bottom:23px
}
.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  min-width:0;
  overflow:hidden
}
.panel-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:21px 22px 18px
}
.panel-heading .mini-label{
  font-size:7px;
  letter-spacing:1.3px;
  color:#7f9c95
}
.panel-heading h2{
  font-size:15px;
  font-weight:550;
  letter-spacing:-.3px;
  margin:6px 0 0
}
.panel-heading .text-button{
  font-size:9px
}
.empty-state{
  padding:34px 26px 38px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  color:var(--muted)
}
.empty-state>.empty-icon{
  width:49px;
  height:49px;
  border:1px solid #3a4f4e;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:17px;
  font-size:22px;
  color:#8bb8a2;
  background:#1b2d29
}
.empty-state h3{
  font-size:13px;
  color:#c8d9d3;
  font-weight:550;
  margin:0 0 8px
}
.empty-state p{
  font-size:10px;
  max-width:300px;
  line-height:1.8;
  margin-bottom:18px
}
.empty-state .button{
  min-height:33px;
  padding:7px 13px;
  font-size:9px
}
.posture-panel{
  background:linear-gradient(145deg,#1c2c27,#172226 80%)
}
.posture-panel .panel-heading{
  padding-bottom:21px
}
.shield{
  font-size:27px;
  color:#b1c9b6;
  font-weight:300
}
.posture-line{
  display:flex;
  gap:12px;
  margin:0 22px 19px
}
.checkmark{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:20px;
  height:20px;
  border-radius:50%;
  font-size:10px;
  background:#294738;
  color:var(--mint);
  margin-top:1px
}
.posture-line strong{
  font-size:10px;
  font-weight:550
}
.posture-line p{
  font-size:9px;
  color:#8fa5a2;
  margin:4px 0;
  line-height:1.7
}
.health-strip{
  border-top:1px solid #2f403a;
  margin:2px 22px 0;
  padding:15px 0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:8px;
  color:#b5c9ba
}
.health-strip>span:last-child{
  margin-left:auto;
  font-size:7px
}
.device-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 22px;
  border-top:1px solid var(--line);
  min-width:0
}
.server-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:35px;
  height:35px;
  border:1px solid #3b5053;
  background:#223237;
  border-radius:8px;
  color:#a6c0b8;
  font-size:18px;
  flex:0 0 auto
}
.device-row-info{
  min-width:0;
  flex:1
}
.device-row-info strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:600
}
.device-row-info small{
  display:block;
  font-size:8px;
  color:#789398;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.device-row>.icon-button{
  font-size:17px;
  margin-left:4px
}
.device-details{
  padding:16px 22px 19px;
  border-top:1px solid var(--line)
}
.device-details:first-child{
  border-top:0
}
.device-details-header{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:14px
}
.device-details-header>div:nth-child(2){
  min-width:0;
  flex:1
}
.device-details-header strong{
  font-size:13px
}
.device-details-header small{
  display:block;
  font-size:9px;
  color:#8aa0a5;
  overflow-wrap:anywhere
}
.device-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding-left:46px
}
.device-meta dt{
  font-size:8px;
  color:#7f989b;
  margin-bottom:6px
}
.device-meta dd{
  font:10px/1.7 "Cascadia Code",Consolas,monospace;
  margin:0;
  color:#c2d1cd;
  overflow-wrap:anywhere
}
.device-actions{
  display:flex;
  gap:10px;
  margin:17px 0 0 46px
}
.device-actions .button{
  min-height:30px;
  font-size:9px;
  padding:6px 10px
}
.work-grid{
  display:grid;
  grid-template-columns:minmax(290px,.9fr) minmax(0,1.3fr);
  gap:22px
}
.padded-form{
  padding:0 22px 24px
}
.padded-form label{
  font-size:10px;
  margin-top:17px
}
.padded-form input,.padded-form select,.padded-form textarea{
  font-size:11px
}
.padded-form .field-help{
  font-size:9px
}
.form-note{
  font-size:10px;
  color:#acb8ad;
  line-height:1.8;
  border-left:2px solid #6b916f;
  padding-left:11px;
  margin:20px 0
}
.padded-form .button{
  font-size:10px
}
.job-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px;
  border-top:1px solid var(--line);
  padding:15px 22px
}
.job-row-main{
  min-width:0
}
.job-row-main strong{
  display:block;
  font-family:"Cascadia Code",Consolas,monospace;
  font-size:10px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.job-row-main small{
  display:block;
  font-size:8px;
  color:#7c959a;
  margin-top:4px
}
.job-row>time{
  font-size:8px;
  color:#7c959a;
  white-space:nowrap
}
.job-open{
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  color:inherit;
  width:100%;
  cursor:pointer
}
.job-open:hover strong{
  color:var(--mint)
}
.file-guide{
  padding:28px;
  background:linear-gradient(145deg,#1c3029,#172226 80%)
}
.file-guide>.mini-label{
  color:#86a997
}
.file-guide>h2{
  font-size:28px;
  line-height:1.2;
  font-weight:450;
  letter-spacing:-1px;
  margin:24px 0 20px
}
.file-guide>p{
  font-size:11px;
  line-height:1.9;
  max-width:350px;
  color:#9db5ab;
  margin-bottom:34px
}
.guide-block{
  display:flex;
  gap:16px;
  margin:25px 0
}
.guide-block>span{
  font:10px/1.6 monospace;
  color:#7aa78b;
  padding-top:1px
}
.guide-block strong{
  font-size:11px;
  font-weight:550
}
.guide-block p{
  font-size:10px;
  color:#8ba79b;
  line-height:1.8;
  margin:5px 0
}
.audit-row{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:16px 22px;
  border-top:1px solid var(--line)
}
.audit-row>.audit-marker{
  width:6px;
  height:6px;
  background:#7aa590;
  border-radius:50%;
  margin-top:5px;
  flex:0 0 auto
}
.audit-row-main{
  min-width:0;
  flex:1
}
.audit-row-main strong{
  font-size:10px;
  font-weight:550
}
.audit-row-main p{
  font:9px/1.8 "Cascadia Code",Consolas,monospace;
  color:#8da5a7;
  overflow-wrap:anywhere;
  margin:5px 0 0
}
.audit-row>time{
  font-size:8px;
  color:#7d959b;
  white-space:nowrap
}
.page-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:32px 0 0;
  font-size:7px;
  letter-spacing:.5px;
  color:#678087
}
.footer-separator{
  color:#3c565e;
  padding:0 8px
}
.dialog{
  width:min(540px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  margin:auto;
  border:1px solid #435951;
  border-radius:17px;
  background:#18262a;
  color:var(--text);
  padding:27px;
  box-shadow:0 30px 100px #0007
}
.dialog::backdrop{
  background:#061014bf;
  backdrop-filter:blur(5px)
}
.dialog-heading{
  display:flex;
  align-items:flex-start;
  gap:18px;
  justify-content:space-between;
  margin-bottom:22px
}
.dialog-heading h2{
  font-size:21px;
  letter-spacing:-.7px;
  line-height:1.25;
  margin:10px 0 0;
  font-weight:500
}
.dialog-heading .eyebrow{
  font-size:8px
}
.dialog-heading>.icon-button{
  flex:0 0 auto;
  font-size:25px;
  margin-top:-9px;
  margin-right:-9px
}
.dialog form>p{
  font-size:11px;
  line-height:1.8
}
.dialog label{
  font-size:10px
}
.dialog input,.dialog textarea,.dialog select{
  font-size:11px
}
.dialog .field-help{
  font-size:9px
}
.dialog .button{
  font-size:10px;
  margin-top:10px
}
.small-dialog{
  width:min(420px,calc(100% - 32px))
}
.capability-options{
  padding:12px 0 0;
  margin:18px 0 5px;
  border:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.capability-options legend{
  font-size:10px;
  font-weight:600;
  color:#c5d2d1;
  padding:0
}
.capability-options label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:10px;
  font-weight:400
}
.job-dialog{
  width:min(750px,calc(100% - 32px))
}
.job-detail-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.job-detail-meta code{
  font-size:9px;
  color:#8da9a9;
  overflow-wrap:anywhere
}
.payload-preview{
  font-size:10px;
  line-height:1.9;
  background:#111c20;
  border:1px solid #2d4145;
  border-radius:9px;
  padding:15px;
  max-height:230px;
  overflow:auto;
  margin:18px 0
}
.job-actions{
  display:flex;
  gap:10px;
  margin:14px 0 23px
}
.output-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px
}
.output-heading .muted{
  font-size:8px
}
.terminal-output{
  min-height:160px;
  max-height:350px;
  overflow:auto;
  padding:17px;
  background:#0b1418;
  border:1px solid #304246;
  border-radius:8px;
  font-size:11px;
  line-height:1.8;
  color:#b9dfc8;
  margin:0
}
.toast{
  position:fixed;
  z-index:60;
  bottom:24px;
  right:25px;
  max-width:min(400px,calc(100vw - 32px));
  padding:13px 19px;
  border:1px solid #4b6b56;
  border-radius:9px;
  background:#254134;
  color:#d2f1df;
  box-shadow:0 8px 30px #0005;
  font-size:11px
}
.toast.toast-error{
  background:#452b28;
  border-color:#81534b;
  color:#f7bdb0
}
@media(min-width:1500px){
  .main-content{
    padding-top:45px
  }
  .page-heading h1{
    font-size:34px
  }
  .stat{
    padding:22px
  }
  .stat>strong{
    font-size:42px
  }
  .content-grid{
    grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr)
  }
}
@media(max-width:1100px){
  .sidebar{
    width:190px;
    padding-inline:15px
  }
  .nav-item.active:before{
    left:-15px
  }
  .main-shell{
    margin-left:190px
  }
  .main-content{
    padding:28px 24px 18px
  }
  .topbar{
    padding-inline:24px
  }
  .stats-grid{
    gap:10px
  }
  .stat{
    padding:15px 14px
  }
  .content-grid{
    gap:15px;
    grid-template-columns:1.25fr 1fr
  }
  .work-grid{
    gap:15px;
    grid-template-columns:1fr 1fr
  }
  .scope-label{
    display:none
  }
  .device-meta{
    grid-template-columns:1fr
  }
  .job-row{
    gap:9px;
    padding-inline:17px
  }
  .job-row>time{
    display:none
  }
  .panel-heading{
    padding-inline:18px
  }
  .posture-line{
    margin-inline:18px
  }
  .health-strip{
    margin-inline:18px
  }
  .login-art{
    padding:40px
  }
  .login-hero h1{
    font-size:54px
  }
  .login-panel{
    padding:35px
  }
}
@media(max-width:800px){
  .sidebar{
    width:73px;
    padding:27px 10px 15px
  }
  .sidebar .wordmark{
    font-size:0;
    margin:0 8px 30px
  }
  .sidebar .brand-symbol{
    margin:0;
    width:36px;
    height:36px;
    flex:0 0 auto
  }
  .sidebar .workspace-caption,.sidebar .nav-item>span:not(:first-child),.sidebar .boundary-note,.sidebar .profile>div,.sidebar .profile>.avatar{
    display:none
  }
  .sidebar .nav-item{
    justify-content:center;
    padding:12px;
    min-height:45px
  }
  .sidebar .nav-item>span:first-child{
    font-size:19px
  }
  .sidebar .profile{
    justify-content:center;
    padding-top:16px
  }
  .sidebar .nav-item.active:before{
    left:-10px
  }
  .main-shell{
    margin-left:73px
  }
  .content-grid{
    grid-template-columns:1fr
  }
  .posture-panel .panel-heading{
    padding-bottom:18px
  }
  .posture-panel{
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .posture-panel .panel-heading,.posture-panel .health-strip{
    grid-column:1/-1
  }
  .posture-line{
    margin-bottom:15px
  }
  .posture-line:last-of-type{
    grid-column:1/-1
  }
  .work-grid{
    grid-template-columns:1fr
  }
  .page-heading h1{
    font-size:25px
  }
  .page-heading .button{
    font-size:9px;
    gap:5px
  }
  .page-heading .eyebrow{
    font-size:7px
  }
  .page-heading p{
    font-size:10px
  }
  .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .stat{
    padding:16px
  }
  .stat>strong{
    font-size:32px
  }
  .project-toolbar{
    padding-top:23px
  }
  .login-screen{
    grid-template-columns:1fr
  }
  .login-art{
    display:none
  }
  .login-panel{
    min-height:100dvh;
    padding:32px
  }
  .login-card:before{
    content:"Nodru ID";
    display:block;
    font:700 26px/1.3 monospace;
    letter-spacing:-1px;
    color:var(--mint);
    margin-bottom:70px
  }
  .device-meta{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(max-width:550px){
  .sidebar{
    position:fixed;
    inset:auto 0 0;
    width:100%;
    height:64px;
    padding:0 4px;
    border-right:0;
    border-top:1px solid #34464a;
    background:#0e191e;
    z-index:40
  }
  .sidebar>.wordmark,.sidebar>.workspace-caption,.sidebar-bottom{
    display:none
  }
  .nav{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:0;
    margin:0;
    height:100%
  }
  .sidebar .nav-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    padding:7px 2px;
    min-height:0;
    border-radius:0;
    font-size:8px
  }
  .sidebar .nav-item>span:nth-child(2){
    display:block!important;
    font-size:7px;
    letter-spacing:0
  }
  .sidebar .nav-item>span:first-child{
    width:auto;
    font-size:17px;
    height:20px
  }
  .sidebar .nav-item.active:before{
    left:20px;
    right:20px;
    top:0;
    bottom:auto;
    height:2px;
    width:auto
  }
  .main-shell{
    margin-left:0;
    padding-bottom:64px
  }
  .topbar{
    height:51px;
    padding:0 19px
  }
  .breadcrumb{
    font-size:9px;
    gap:11px
  }
  .topbar-actions{
    gap:8px
  }
  .connection{
    font-size:8px;
    gap:6px
  }
  .topbar .icon-button{
    height:30px;
    min-width:30px;
    font-size:20px
  }
  .main-content{
    padding:25px 18px 17px
  }
  .page-heading{
    align-items:flex-start;
    gap:15px;
    flex-wrap:wrap
  }
  .page-heading h1{
    font-size:25px;
    letter-spacing:-1px;
    margin:8px 0
  }
  .page-heading p{
    font-size:10px;
    line-height:1.8
  }
  .page-heading>.button{
    min-height:34px;
    font-size:9px;
    gap:7px;
    padding:9px 12px;
    margin-top:2px
  }
  .project-toolbar{
    padding:23px 0 18px
  }
  .project-picker{
    gap:9px;
    width:100%
  }
  .project-picker>label{
    font-size:8px
  }
  .project-picker select{
    width:auto;
    max-width:180px;
    flex:1;
    font-size:9px;
    padding:8px
  }
  .project-picker .text-button{
    font-size:8px;
    margin-left:auto;
    flex-shrink:0
  }
  .stats-grid{
    gap:10px;
    margin-bottom:17px
  }
  .stat{
    padding:15px
  }
  .stat-label{
    font-size:8px;
    gap:5px
  }
  .stat>strong{
    font-size:31px;
    margin-top:9px
  }
  .stat small{
    font-size:7px
  }
  .content-grid{
    gap:17px;
    margin-bottom:17px
  }
  .panel{
    border-radius:12px
  }
  .panel-heading{
    padding:19px 17px 16px;
    gap:7px
  }
  .panel-heading h2{
    font-size:14px
  }
  .panel-heading .mini-label{
    font-size:6px
  }
  .panel-heading .text-button{
    font-size:8px
  }
  .panel-heading .badge{
    font-size:7px;
    padding:3px 5px
  }
  .empty-state{
    padding:25px 20px 29px
  }
  .empty-state h3{
    font-size:12px
  }
  .empty-state p{
    font-size:9px
  }
  .posture-panel{
    display:block
  }
  .posture-line{
    margin:0 17px 17px
  }
  .health-strip{
    margin:2px 17px 0;
    font-size:7px
  }
  .posture-panel .panel-heading{
    padding-bottom:20px
  }
  .checkmark{
    width:19px;
    height:19px
  }
  .posture-line strong{
    font-size:10px
  }
  .posture-line p{
    font-size:9px
  }
  .page-footer{
    padding-top:24px;
    gap:7px;
    align-items:flex-start;
    flex-direction:column;
    font-size:6px
  }
  .device-row{
    padding:14px 17px;
    gap:10px
  }
  .device-row-info strong{
    font-size:10px
  }
  .device-row-info small{
    font-size:7px
  }
  .device-row>.badge{
    font-size:7px;
    padding:3px 5px
  }
  .device-details{
    padding:18px 17px
  }
  .device-details-header{
    flex-wrap:wrap;
    gap:9px
  }
  .device-details-header>div:nth-child(2){
    flex-basis:calc(100% - 50px)
  }
  .device-details-header>.badge{
    margin-left:44px;
    margin-top:-2px
  }
  .device-meta{
    grid-template-columns:1fr;
    padding-left:44px;
    gap:11px;
    margin-top:0
  }
  .device-actions{
    margin-left:44px;
    flex-wrap:wrap
  }
  .device-actions .button{
    font-size:8px
  }
  .work-grid{
    gap:17px
  }
  .padded-form{
    padding:0 17px 20px
  }
  .job-row{
    padding:15px 17px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px
  }
  .job-row .badge{
    font-size:7px;
    padding:3px 5px
  }
  .job-row-main strong{
    font-size:9px
  }
  .job-row-main small{
    font-size:7px
  }
  .file-guide{
    padding:24px
  }
  .file-guide>h2{
    font-size:26px
  }
  .audit-row{
    padding:15px 17px;
    gap:10px;
    flex-wrap:wrap
  }
  .audit-row-main{
    flex-basis:calc(100% - 20px)
  }
  .audit-row>time{
    padding-left:16px;
    font-size:7px
  }
  .dialog{
    padding:23px 20px;
    max-height:calc(100dvh - 24px);
    width:calc(100% - 24px);
    border-radius:13px
  }
  .dialog-heading h2{
    font-size:20px
  }
  .dialog-heading{
    gap:10px
  }
  .dialog-heading .eyebrow{
    font-size:7px
  }
  .capability-options{
    gap:12px 8px
  }
  .capability-options label{
    font-size:9px
  }
  .job-detail-meta{
    align-items:flex-start
  }
  .job-detail-meta code{
    font-size:8px
  }
  .job-detail-meta .badge{
    font-size:7px
  }
  .payload-preview{
    font-size:9px;
    padding:12px
  }
  .terminal-output{
    font-size:10px;
    min-height:140px;
    padding:12px
  }
  .job-actions{
    flex-wrap:wrap
  }
  .toast{
    bottom:78px;
    right:16px;
    font-size:10px
  }
  .login-card h2{
    font-size:24px
  }
  .login-card:before{
    margin-bottom:55px
  }
}
@media(prefers-reduced-motion:reduce){
  *{
    scroll-behavior:auto!important;
    transition:none!important
  }
}
.mobile-logout{
  display:none
}
@media(max-width:550px){
  .mobile-logout{
    display:inline-flex
  }
}
.oauth-consent {
  width: min(680px, calc(100% - 32px));
  margin: 48px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1c3029, var(--panel) 70%);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.oauth-consent h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.7px;
  font-weight: 500;
  margin-bottom: 28px;
}
.oauth-consent p { color: #b5c9c3; margin-bottom: 20px; }
.oauth-consent strong { color: var(--text); }
.oauth-consent code {
  color: var(--mint);
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.oauth-consent form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.oauth-consent button, .oauth-consent a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #435951;
  border-radius: 8px;
  background: #243438;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}
.oauth-consent button:last-child, .oauth-consent a {
  background: var(--mint);
  border-color: var(--mint);
  color: #163126;
}
@media (max-width: 550px) {
  .oauth-consent { margin: 20px auto; padding: 24px 20px; font-size: 13px; }
  .oauth-consent h1 { font-size: 24px; }
  .oauth-consent code { font-size: 11px; }
  .oauth-consent form button { flex: 1 1 auto; }
}
