:root { color-scheme: dark; --bg:#080c11; --panel:#111821; --panel2:#151e29; --line:#263241; --text:#e8edf2; --muted:#8d9aaa; --blue:#62a8ff; --green:#48d597; --yellow:#f3c96b; --red:#ff6b78; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.installer-key { border-top:1px solid var(--line); padding:12px 0; }.installer-key code { font-size:10px; overflow-wrap:anywhere; }.installer-key button { background:var(--panel2); color:var(--text); border:1px solid var(--line); border-radius:6px; padding:7px; cursor:pointer; }#installer-key-message { color:var(--muted); font-size:11px; margin-top:12px; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
.policy-grid { display:grid; grid-template-columns:repeat(3,minmax(160px,1fr)); gap:12px; }.policy-grid button { padding:9px; background:var(--panel2); color:var(--text); border:1px solid var(--line); border-radius:6px; margin:4px; }.diff-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.diff-columns pre { white-space:pre-wrap; overflow-wrap:anywhere; background:var(--bg); padding:12px; border-radius:6px; font-size:11px; }.change-batch { border-bottom:1px solid var(--line); padding:12px 0; }summary { cursor:pointer; }#insight-content { max-width:1300px; }#insight-agent { width:min(600px,70vw); }.metric-chart { width:100%; height:150px; }.metric-chart polyline { stroke:var(--blue); stroke-width:2; fill:none; }.chart-grid { stroke:var(--line); fill:none; }#monitor-badge { color:var(--yellow); }#alert-rows button { padding:6px; margin:3px; color:var(--text); background:var(--panel2); border:1px solid var(--line); border-radius:5px; }#alert-rows small { display:block; color:var(--muted); }#alert-rows td { white-space:normal; }#insights-view .table-wrap td { white-space:normal; overflow-wrap:anywhere; }.endpoint-tools { flex-wrap:wrap; }
button { cursor:pointer; }button:disabled { cursor:default; opacity:.55; }
.fleet-filters { margin:0 7px 10px; color:var(--muted); font-size:11px; }.fleet-filters label { display:block; margin-top:10px; }.fleet-filters .inline { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; }.fleet-count { margin:0 8px 10px; color:var(--muted); font-size:10px; }
.fleet-filters button,.job-filters button,.jobs-table button,#close-asset { padding:7px; background:var(--panel2); color:var(--text); border:1px solid var(--line); border-radius:6px; }
.job-filters { display:flex; gap:12px; margin:24px 0 12px; }.job-filters input { flex:1; }.job-filters select { width:180px; }.jobs-table { max-height:55vh; }.jobs-table td { white-space:normal; overflow-wrap:anywhere; }.jobs-table small { display:block; color:var(--muted); margin-top:5px; }.jobs-table button { margin:3px; }.jobs-table td:nth-child(2) { max-width:260px; }
#job-detail { margin-top:18px; }#job-detail-output { white-space:pre-wrap; overflow-wrap:anywhere; max-height:400px; overflow:auto; font-size:12px; }
dialog { color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:12px; width:min(650px,90vw); max-height:90vh; overflow:auto; }dialog::backdrop { background:#000b; }dialog p { font-size:12px; color:var(--muted); }textarea { font:inherit; width:100%; display:block; background:var(--bg); color:var(--text); border:1px solid var(--line); border-radius:6px; padding:9px; margin-top:5px; }
body { margin:0; background:var(--bg); color:var(--text); min-width:900px; }
button,input,select { font:inherit; }
header { height:64px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); padding:0 24px; background:#0b1016; }
.brand { display:flex; gap:11px; align-items:center; }.brand>span { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; color:#07111d; font-weight:800; background:linear-gradient(135deg,#95c7ff,#4e91ec); }.brand strong,.brand small { display:block; }.brand strong { font-size:14px; }.brand small,.status { color:var(--muted); font-size:11px; margin-top:2px; }.header-right,.status { display:flex; align-items:center; gap:8px; }.status i { width:8px; height:8px; border-radius:9px; background:var(--yellow); }.status i.good { background:var(--green); box-shadow:0 0 10px #48d59780; }.status i.bad { background:var(--red); }.secure-mark { color:#8fe6be; border:1px solid #22583f; background:#102b21; padding:4px 7px; border-radius:99px; font-size:9px; font-weight:700; }#logout { background:transparent; border:1px solid var(--line); color:var(--muted); border-radius:6px; padding:5px 8px; cursor:pointer; }
.mode-tabs { align-self:stretch; display:flex; align-items:flex-end; gap:4px; }.mode-tabs button { height:43px; padding:0 18px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); cursor:pointer; font-size:11px; }.mode-tabs button.active { color:var(--text); border-bottom-color:var(--blue); }
main { display:grid; grid-template-columns:290px minmax(0,1fr); min-height:calc(100vh - 64px); }
aside { border-right:1px solid var(--line); background:#0c1118; padding:18px 12px; display:flex; flex-direction:column; }.aside-title { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.1em; padding:0 7px 12px; }.aside-title button { background:transparent; color:var(--blue); border:0; cursor:pointer; font-size:11px; }
.fleet { flex:1; min-height:120px; overflow:auto; }.agent { width:100%; border:1px solid transparent; background:transparent; color:var(--text); border-radius:8px; padding:12px; text-align:left; cursor:pointer; margin-bottom:5px; }.agent:hover { background:#141c26; }.agent.selected { background:#172539; border-color:#294466; }.agent strong,.agent small { display:block; overflow:hidden; text-overflow:ellipsis; }.agent strong { font-size:13px; }.agent small { color:var(--muted); font-size:10px; margin-top:4px; }.agent .agent-state { float:right; width:7px; height:7px; border-radius:9px; background:#596372; margin-top:5px; }.agent .agent-state.online { background:var(--green); box-shadow:0 0 8px #48d59780; }.compact-label,.tenant-tools label { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.07em; }.compact-label { margin:0 7px 10px; }.compact-label select { margin-top:6px; }
.empty { color:var(--muted); font-size:12px; padding:16px 8px; }.tenant-tools { border-top:1px solid var(--line); padding:13px 7px 0; }.tenant-tools label { margin-top:9px; }.tenant-tools code { display:block; color:#a8cfff; font-size:9px; overflow-wrap:anywhere; margin:9px 0; max-height:50px; overflow:auto; }.tenant-tools .inline { display:flex; gap:5px; }.tenant-tools input,.tenant-tools select { margin-top:5px; }.tenant-tools button,.move button,.approve { border:1px solid #38506e; background:#1a2b40; color:#dcebff; border-radius:6px; padding:7px 9px; cursor:pointer; font-size:10px; }.tenant-tools .wide { width:100%; margin-top:6px; }.tenant-tools .inline button { margin-top:5px; }
.workspace { padding:31px clamp(25px,4vw,55px) 70px; overflow:hidden; }.empty-state { text-align:center; color:var(--muted); margin-top:25vh; }.empty-state h1 { color:var(--text); font-size:24px; }.heading { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:22px; }.heading h1 { margin:2px 0 5px; font-size:26px; letter-spacing:-.03em; }.heading p { color:var(--muted); margin:0; font-size:12px; }.eyebrow { color:var(--blue)!important; font-size:10px!important; font-weight:700; letter-spacing:.16em; }.heading-right { display:flex; flex-direction:column; align-items:flex-end; gap:9px; }.move { display:flex; gap:5px; }.move select { width:190px; margin:0; padding:6px; }
.pill { display:inline-block; padding:5px 8px; border:1px solid var(--line); border-radius:99px; color:var(--muted); font-size:10px; }.pill.good { color:#8fe6be; background:#102b21; border-color:#22583f; }.pill.warn { color:#f4d691; background:#302817; border-color:#5a4927; }.pill.bad { color:#ffabb3; background:#371a20; border-color:#68303a; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(140px,1fr)); gap:11px; margin-bottom:14px; }.metric { min-height:92px; padding:15px; border:1px solid var(--line); border-radius:10px; background:linear-gradient(145deg,var(--panel),#0e151d); }.metric label,.metric span,.metric small { display:block; }.metric label { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.07em; }.metric span { font-size:21px; margin-top:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.metric small { color:var(--muted); font-size:9px; margin-top:3px; }
.grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr); gap:14px; }article { border:1px solid var(--line); border-radius:10px; background:var(--panel); overflow:hidden; margin-bottom:14px; }.article-head { min-height:44px; padding:12px 15px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }.article-head h2 { font-size:13px; margin:0; }.article-head span { color:var(--muted); font-size:9px; }
.inventory { max-height:390px; overflow:auto; }.section { border-bottom:1px solid #202b38; padding:11px 15px; }.section:last-child { border:0; }.section strong { font-size:11px; text-transform:capitalize; }.section span { float:right; color:var(--muted); font-size:10px; }.section small { display:block; color:#7f8d9d; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:6px; font-size:9px; }
form { padding:15px; }form label { display:block; color:var(--muted); font-size:10px; margin-bottom:11px; }input,select { display:block; width:100%; margin-top:5px; padding:8px 9px; color:var(--text); background:#0b1118; border:1px solid var(--line); border-radius:6px; font-size:11px; }input:focus,select:focus { outline:1px solid var(--blue); border-color:var(--blue); }.form-row { display:flex; justify-content:space-between; align-items:center; margin-top:15px; }button[type=submit] { border:1px solid #38506e; background:#1a2b40; color:#dcebff; padding:8px 12px; border-radius:7px; cursor:pointer; font-size:11px; }button[type=submit]:hover { background:#223752; }#form-message { min-height:20px; padding:0 15px 12px; color:var(--muted); font-size:10px; }#form-message.error { color:var(--red); }#form-message.success { color:var(--green); }
.table-wrap { overflow:auto; max-height:340px; }table { width:100%; border-collapse:collapse; font-size:10px; }th { position:sticky; top:0; color:var(--muted); background:#101720; text-align:left; text-transform:uppercase; letter-spacing:.06em; font-size:9px; }th,td { padding:10px 12px; border-bottom:1px solid #202b38; white-space:nowrap; }td:nth-last-child(2) { max-width:280px; overflow:hidden; text-overflow:ellipsis; }.status-text.succeeded { color:var(--green); }.status-text.failed,.status-text.rejected { color:var(--red); }.status-text.queued,.status-text.leased,.status-text.pending_approval { color:var(--yellow); }.approve { padding:5px 8px; }
.login-layer { position:fixed; inset:0; z-index:50; display:grid; place-items:center; background:rgba(4,7,10,.88); backdrop-filter:blur(12px); }.login-layer[hidden] { display:none; }.login-card { width:min(440px,calc(100vw - 40px)); padding:28px; border:1px solid #31445b; border-radius:14px; background:linear-gradient(145deg,#131c27,#0d141c); box-shadow:0 24px 100px #000a; }.login-card h1 { margin:5px 0 9px; font-size:25px; }.login-card>p:not(.eyebrow) { color:var(--muted); font-size:11px; line-height:1.55; margin-bottom:20px; }.login-card label { color:var(--muted); font-size:10px; }.login-card label small { float:right; color:#687687; }.login-card button { width:100%; margin-top:10px; border:1px solid #41648c; background:#1e3856; color:#e8f2ff; border-radius:7px; padding:10px; cursor:pointer; }.login-lock { display:grid; place-items:center; width:42px; height:42px; border-radius:11px; background:linear-gradient(135deg,#95c7ff,#4e91ec); color:#07111d; font-weight:800; margin-bottom:18px; }#login-message { min-height:18px; color:var(--red); font-size:10px; margin-top:10px; }
.workspace { padding:0; min-height:0; }
.download-card .job-filters input { flex:1; width:auto; min-width:180px; }
.download-card .job-filters select { flex:0 0 180px; width:180px; }
#machine { height:calc(100vh - 64px); min-height:0; display:flex; flex-direction:column; }
#machine[hidden] { display:none; }
.endpoint-bar { min-height:58px; padding:9px 14px; border-bottom:1px solid var(--line); background:#0c1219; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.endpoint-bar>div:first-child { min-width:0; }
.endpoint-bar strong,.endpoint-bar span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.endpoint-bar strong { font-size:13px; }.endpoint-bar>div:first-child span { color:var(--muted); font-size:9px; margin-top:4px; }
.endpoint-tools { display:flex; align-items:center; gap:7px; flex-shrink:0; }.endpoint-tools label { color:var(--muted); font-size:9px; display:flex; align-items:center; gap:6px; }.endpoint-tools select { width:170px; margin:0; padding:6px; }
.endpoint-tools button { border:1px solid #38506e; background:#1a2b40; color:#dcebff; border-radius:6px; padding:7px 9px; cursor:pointer; font-size:10px; }
#endpoint-console { flex:1; min-height:0; width:100%; border:0; background:#080c11; }
.downloads-view { min-height:calc(100vh - 64px); padding:48px clamp(28px,7vw,100px); background:radial-gradient(circle at 76% 12%,#13243a 0,transparent 35%),var(--bg); }.downloads-view[hidden] { display:none; }.download-heading { max-width:720px; }.download-heading h1 { margin:5px 0 9px; font-size:31px; }.download-heading>p:last-child { color:var(--muted); font-size:13px; }.download-grid { display:grid; grid-template-columns:minmax(350px,560px) minmax(300px,440px); gap:20px; margin-top:30px; }.download-card { border:1px solid var(--line); border-radius:12px; padding:24px; background:linear-gradient(145deg,#131c27,#0d141c); }.download-card h2 { margin:0 0 9px; font-size:16px; }.download-card p,.download-card li { color:var(--muted); font-size:11px; line-height:1.6; }.download-card label { display:block; color:var(--muted); font-size:10px; margin-top:16px; }.download-card input,.download-card select { width:100%; margin-top:6px; }.download-card>button { width:100%; margin-top:18px; border:1px solid #41648c; background:#1e3856; color:#e8f2ff; border-radius:7px; padding:11px; cursor:pointer; }.download-card>button:disabled { opacity:.55; cursor:wait; }.download-card ul { padding-left:18px; }.download-card #installer-message { min-height:20px; margin-top:12px; font-size:10px; color:var(--muted); }.download-card #installer-message.success { color:var(--green); }.download-card #installer-message.error { color:var(--red); }
.endpoint-bar { flex-wrap:wrap; }
.endpoint-tools { flex-wrap:wrap; flex-shrink:1; }
.endpoint-tools button:disabled { opacity:.5; cursor:default; }
#endpoint-message { padding:8px 14px; color:var(--green); background:#0c1219; font-size:12px; }
#endpoint-message.error { color:var(--red); }
@media(max-width:1050px){main{grid-template-columns:245px minmax(0,1fr)}.endpoint-tools{width:100%}}
:is(.advanced-monitor) { grid-column: 1 / -1; border: 1px solid #304056; border-radius: 8px; padding: 12px; }
.advanced-monitor summary { cursor: pointer; font-weight: 600; }
#device-policy-json { width: 100%; font-family: Consolas,monospace; }
#library-view { max-width:1500px; margin:auto; }
#library-view .download-card { margin-bottom:18px; }
#library-view pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:320px; overflow:auto; font-size:12px; }
#library-view td { white-space:normal; overflow-wrap:anywhere; }
#library-view small { display:block; color:var(--muted); }
#library-view summary { padding:10px 0; font-weight:600; }
#library-view button { padding:8px 12px; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--panel2); }
#library-view #library-message { min-height:20px; color:var(--yellow); }
/* Laptop-sized technician consoles: retain all controls without page-wide scroll. */
@media(max-width:1250px) {
  header { height:auto; min-height:64px; flex-wrap:wrap; gap:8px; padding:12px 16px; }
  .mode-tabs { order:3; flex-basis:100%; overflow-x:auto; }
  .mode-tabs button { white-space:nowrap; padding:0 12px; }
  .download-grid { grid-template-columns:minmax(0,1fr); }
  .job-filters { flex-wrap:wrap; }
  .policy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .downloads-view { padding:24px; }
}
@media(max-width:900px) {
  body { min-width:0; }
  main { grid-template-columns:200px minmax(0,1fr); }
  .endpoint-tools select { width:130px; }
  .metrics,.policy-grid,.diff-columns { grid-template-columns:minmax(0,1fr); }
}
button:focus-visible,a:focus-visible,summary:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
