:root {
  color-scheme: light;
  --ink: #202e35; --muted: #708088; --border: #e3e9e8;
  --accent: #176d60; --accent-soft: #edf6f2; --paper: #f7f9f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); display: flex; min-height: 100vh; }
a { color: inherit; } button, input, select, textarea { font: inherit; }
button { cursor: pointer; } button:disabled { cursor: default; opacity: .42; }
button, a, input, select, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; display: block; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sidebar { width: 224px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--border); padding: 30px 18px 18px; display: flex; flex-direction: column; height: 100vh; position: sticky; top: 0; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; margin: 0 10px 32px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand strong { display: block; font-size: 25px; line-height: 1.2; letter-spacing: -.06em; text-transform: none; color: #213b34; }
.mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 43px; border-radius: 12px; background: #234b40; color: #fff; font-size: 34px; font-weight: 650; font-style: italic; letter-spacing: -.12em; text-transform: none; padding-right: 7px; }
.mark span { color: #b6dcc4; }
.workspace-name { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; margin: 0 2px 30px; padding: 11px 8px; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.workspace-name small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.workspace-symbol { display: grid; place-items: center; width: 28px; height: 28px; background: #fff; border: 1px solid var(--border); border-radius: 6px; color: var(--accent); }
.section-label { padding: 0 11px; color: #81908e; font-size: 10px; text-transform: uppercase; font-weight: 650; letter-spacing: .09em; margin-bottom: 10px; }
.primary-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; background: transparent; border: 0; text-align: left; padding: 11px 12px; border-radius: 7px; color: #566660; font-weight: 550; font-size: 13px; }
.nav-item:hover { background: #f3f6f4; }.nav-item.active { background: var(--accent-soft); color: #245d4d; }
.nav-count { margin-left: auto; font-size: 11px; color: #527469; background: #ddeee4; padding: 1px 6px; border-radius: 5px; }
.group-nav-label { margin-top: 31px; display: flex; justify-content: space-between; gap: 4px; }.small-note { font-size: 9px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.group-nav { overflow-y: auto; max-height: 35vh; }.group-nav button { font-size: 12px; font-weight: 400; overflow-wrap: anywhere; }
.group-nav .group-dot { width: 7px; height: 7px; background: #8faaa0; border-radius: 2px; margin: 0 6px; flex-shrink: 0; }
.sidebar-bottom { margin-top: auto; padding: 20px 0 0; display: flex; gap: 9px; align-items: center; border-top: 1px solid var(--border); }
.avatar { border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; background: #e8eee9; color: #4e6b5b; font-size: 11px; font-weight: 600; }
.account-info { min-width: 0; font-size: 10px; }.account-info strong { display: block; font-weight: 550; }.account-info span { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 114px; }
.sidebar-bottom .icon-button { margin-left: auto; padding: 5px; }.sidebar-bottom svg { width: 16px; }
main { width: 100%; min-width: 0; }
.workspace-bar { min-height: 73px; padding: 16px 40px; border-bottom: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.breadcrumbs { display: flex; gap: 12px; font-size: 12px; color: #8b9795; min-width: 0; }.breadcrumbs span:last-child { color: #4a5e56; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-content { padding: 37px 40px 44px; max-width: 1640px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6d8378; }
h1 { font-size: 30px; letter-spacing: -.04em; line-height: 1.25; font-weight: 600; margin: 7px 0 8px; overflow-wrap: anywhere; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; margin: 0; overflow-wrap: anywhere; }
h3 { font-size: 14px; font-weight: 600; }.page-heading p { color: var(--muted); margin: 0; font-size: 13px; }
.button { border: 1px solid var(--border); border-radius: 7px; padding: 8px 13px; font-size: 12px; font-weight: 550; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; line-height: 1.5; }
.button svg { width: 15px; height: 15px; }.secondary { background: #fff; color: #44554e; box-shadow: 0 1px 2px #23372c04; }.primary { background: var(--accent); color: #fff; border-color: var(--accent); }.quiet { background: transparent; color: #62716a; border-color: transparent; }
.button:hover:not(:disabled) { filter: brightness(.97); }.icon-button { border: 0; background: transparent; padding: 8px; color: #7e8b85; display: inline-flex; justify-content: center; border-radius: 5px; }.icon-button:hover { background: #edf2ef; }
.page-actions { display: flex; gap: 7px; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-bottom: 30px; }.metric { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 9px; background: #fff; padding: 17px 19px; }.metric-icon { width: 38px; height: 38px; border-radius: 9px; background: #f2f5f4; color: #768982; }.metric-icon.green { background: #edf6ee; color: #5b8b69; }.metric-icon.violet { background: #f1f0f9; color: #8c7aac; }.metric div>span { font-size: 11px; color: var(--muted); }.metric strong { display: block; font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.045em; }
.toolbar { display: flex; align-items: center; gap: 10px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); }
input, select { border: 1px solid #dfe6e1; border-radius: 7px; background: #fff; color: #43564d; padding: 9px 12px; min-width: 0; font-size: 12px; }input { width: 100%; }select { max-width: 100%; }
.search { flex: 1; position: relative; }.search input { padding-left: 37px; height: 38px; }.search [data-icon] { position: absolute; left: 12px; top: 10px; color: #8e9b94; }.search svg { width: 17px; height: 17px; }
.view-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); background: #fff; border-radius: 7px; }.view-switch .icon-button { padding: 5px 7px; }.view-switch svg { width: 17px; height: 17px; }.view-switch .active { background: #eaf2ed; color: #416d58; }
.directory-context { display: flex; justify-content: space-between; gap: 10px; margin: 22px 0 13px; color: #87938d; font-size: 10px; }#result-count { color: #667a6c; font-size: 11px; }
.device-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }.device-tile { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 21px 20px 0; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }.device-tile:hover { border-color: #b4c9bc; box-shadow: 0 5px 16px #27473707; transform: translateY(-2px); }.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.platform-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: #eef2f5; color: #5c7c95; }.platform-icon svg { width: 23px; height: 23px; }.platform-icon.panel { background: #f0edf8; color: #8975b4; }.platform-icon.opta { background: #faf1e5; color: #b78a4c; }.platform-icon.nuc { background: #eaf3ef; color: #588f79; }.platform-icon.sonicscan { background: #e8f4f5; color: #599095; }.platform-icon.large { width: 58px; height: 58px; border-radius: 13px; }.platform-icon.large svg { width: 30px; height: 30px; }
.device-button { background: none; border: 0; padding: 0; color: #2e4538; font-weight: 600; font-size: 14px; text-align: left; overflow-wrap: anywhere; }.device-tile .device-button { display: block; width: 100%; }.device-tile .device-button::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }.device-button:hover { color: var(--accent); }.device-button:focus-visible { outline: none; }.device-button:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }td .device-button:focus-visible { outline: 2px solid var(--accent); }
.device-meta { font-size: 11px; color: #849089; margin-top: 4px; }.tile-group { display: flex; align-items: center; gap: 6px; color: #779182; font-size: 11px; margin: 18px 0 16px; overflow-wrap: anywhere; }.tile-group svg { width: 13px; height: 13px; }.tile-footer { border-top: 1px solid #eff2ef; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #8a9690; font-size: 10px; }.tile-footer svg { width: 15px; height: 15px; }.device-id { font-size: 10px; color: var(--muted); margin-top: 4px; font-family: ui-monospace,monospace; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.6; font-weight: 550; border: 1px solid #e8edea; border-radius: 5px; padding: 2px 7px; background: #f6f8f7; color: #8a9691; white-space: nowrap; }.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status.online { background: #edf7ef; color: #51865f; border-color: #dfefe2; }.status.revoked { background: #fbf0ee; color: #a57069; border-color: #f2e0dc; }.status.pending { background: #fcf7e9; color: #a18b52; border-color: #f3ecd5; }
.group-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.group-tile { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 23px; min-width: 0; }.group-tile .tile-top { align-items: center; margin-bottom: 14px; }.group-tile h2 { overflow-wrap: anywhere; }.group-tile p { color: var(--muted); font-size: 12px; }.group-tile .button { margin-top: 15px; }.group-members { display: flex; gap: 6px; flex-wrap: wrap; }.group-members span { padding: 4px 9px; background: #f4f6f5; border: 1px solid #e8eeea; border-radius: 5px; color: #7e8e84; font-size: 10px; }
.table-scroll { overflow: auto; border: 1px solid var(--border); background: #fff; border-radius: 9px; }table { width: 100%; border-collapse: collapse; text-align: left; }th { font-size: 10px; font-weight: 550; color: #7c8a81; background: #fcfdfc; padding: 13px 19px; border-bottom: 1px solid var(--border); white-space: nowrap; }td { padding: 15px 19px; border-bottom: 1px solid #eff2ef; font-size: 12px; white-space: nowrap; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover { background: #fafcfb; }.table-footer { padding: 22px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #839188; font-size: 10px; }.table-footer div { display: flex; gap: 10px; align-items: center; }.table-footer .button { padding: 6px 11px; font-size: 11px; }
#message { padding: 35px 24px; color: var(--muted); line-height: 1.8; text-align: center; background: #fff; border: 1px dashed #d7e2db; border-radius: 9px; margin-bottom: 14px; }#message:empty { display: none; }#sign-in { margin-bottom: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #798a80; font-size: 12px; margin-bottom: 24px; }.back-link:hover { color: var(--accent); }.back-link svg { width: 16px; height: 16px; }
.device-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 29px; }.device-heading-text { min-width: 0; }.device-heading h1 { font-size: 27px; margin: 3px 0 8px; }.device-subtitle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; color: #7f9086; }.group-link { border: 0; background: none; padding: 0; color: var(--accent); font-size: 11px; }.group-link:hover { text-decoration: underline; }.live-indicator { margin-left: auto; font-size: 10px; color: #768e7e; max-width: 200px; text-align: right; }.notice { font-size: 12px; color: #9b7549; }.notice:empty { display: none; }
.device-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }.device-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 2px; background: none; color: #7c8c81; font-size: 12px; font-weight: 500; white-space: nowrap; }.device-tabs button[aria-selected=true] { color: #2b6650; border-bottom-color: #398465; }.device-tabs svg { width: 16px; height: 16px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 20px; align-items: start; }.device-card { border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 23px; min-width: 0; }.card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }.card-heading svg { width: 18px; height: 18px; color: #82988a; }.card-heading h2 { font-size: 13px; }.count-badge { margin-left: auto; border-radius: 5px; background: #f2f5f3; padding: 1px 7px; font-size: 10px; color: #768a7c; }.card-description,.empty-copy { font-size: 12px; color: #839087; }.information-card { grid-row: span 2; }.access-card { grid-column: 1 / -1; padding: 15px 23px; }dl { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 0; margin: 0; }dt,dd { border-bottom: 1px solid #f0f3f1; padding: 13px 0; font-size: 11px; }dt { color: #87938a; }dd { margin: 0; color: #526758; overflow-wrap: anywhere; white-space: pre-wrap; }dt:last-of-type,dd:last-of-type { border-bottom: 0; }
summary { cursor: pointer; font-size: 12px; color: #718276; }#permissions { line-height: 1.9; color: #839087; font-size: 11px; overflow-wrap: anywhere; }#service-list { display: flex; gap: 8px; flex-wrap: wrap; }.service-tag { display: inline-block; border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; color: var(--muted); font-size: 11px; }#service-list p { font-size: 12px; color: var(--muted); margin: 0; }.alert { padding: 11px 12px; font-size: 12px; overflow-wrap: anywhere; list-style: none; border-radius: 6px; background: #f4f6f4; margin-bottom: 8px; }.alert.critical { color: #96574c; background: #fdf2ef; }.alert.warning { color: #9b7f48; background: #fcf8ee; }#alerts { padding: 0; margin: 13px 0; }
.view-heading { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }.view-heading h2 { margin-right: auto; }#view-status,#terminal-status { font-size: 12px; color: var(--muted); }#view-frame { width: 100%; height: 68vh; border: 1px solid var(--border); border-radius: 7px; }#terminal-screen { background: #101917; padding: 12px; overflow: auto; max-width: 100%; border-radius: 7px; }#terminal-card { min-width: 0; }
dialog { width: min(660px,calc(100vw - 32px)); max-height: calc(100vh - 40px); border: 1px solid var(--border); border-radius: 13px; padding: 28px; color: var(--ink); box-shadow: 0 20px 90px #203c2733; }dialog::backdrop { background: #1d302866; }.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }dialog p { font-size: 12px; color: var(--muted); }form { display: grid; gap: 14px; margin: 18px 0; }form .button { justify-self: start; }.form-actions { display: flex; gap: 8px; flex-wrap: wrap; }textarea { width: 100%; font: 12px ui-monospace,monospace; border: 1px solid var(--border); border-radius: 6px; padding: 12px; }pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }#access-dialog section { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 24px; }#key-list li,#deployment-list li { padding: 8px 0; overflow-wrap: anywhere; font-size: 12px; }li .button { margin-left: 12px; }select[multiple] { white-space: normal; }
@media(min-width:1800px) { .device-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:1150px) { .sidebar { width: 190px; padding-left: 12px; padding-right: 12px; }.page-content { padding: 28px; }.workspace-bar { padding: 16px 28px; }.device-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.metric { padding: 14px 12px; gap: 9px; }.metric-icon { width: 30px; height: 30px; }.account-info span { max-width: 90px; }.detail-grid { grid-template-columns: 1fr; }.information-card { grid-row: auto; } }
@media(max-width:760px) { body { display: block; }.sidebar { position: static; width: 100%; height: auto; flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--border); }.brand { margin: 0 auto 0 0; gap: 8px; }.brand strong { font-size: 20px; }.mark { width: 32px; height: 35px; font-size: 29px; }.workspace-name,.section-label,.group-nav { display: none; }.primary-nav { display: flex; gap: 4px; }.nav-item { padding: 9px; font-size: 11px; gap: 5px; }.nav-item svg { width: 16px; height: 16px; }.nav-count { display: none; }.sidebar-bottom { margin: 0; padding: 0 0 0 6px; border: 0; }.account-info,.sidebar-bottom .avatar { display: none; }.workspace-bar { min-height: 55px; padding: 10px 18px; }.breadcrumbs { font-size: 10px; gap: 8px; }.page-actions .button { padding: 6px 7px; font-size: 10px; }.page-actions svg { display: none; }.page-content { padding: 26px 18px; }.page-heading { margin-bottom: 23px; }.page-heading h1 { font-size: 28px; }.page-heading p { font-size: 11px; }.metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 23px; }.metric { gap: 12px; padding: 13px 15px; }.metric strong { font-size: 23px; }.toolbar { flex-wrap: wrap; gap: 8px; }.search { flex-basis: 100%; }.toolbar>label:not(.search) { flex: 1; }.toolbar select { width: 100%; }.directory-context { margin-top: 18px; }#scope-note { font-size: 9px; text-align: right; max-width: 138px; }.device-grid,.group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.device-tile { padding: 15px 13px 0; }.tile-top { margin-bottom: 15px; }.platform-icon { width: 33px; height: 33px; border-radius: 8px; }.platform-icon svg { width: 20px; height: 20px; }.device-tile .device-button { font-size: 12px; }.status { font-size: 9px; padding: 1px 5px; }.device-meta,.tile-group { font-size: 10px; }.tile-footer { font-size: 9px; }.table-footer { font-size: 9px; gap: 8px; }.table-footer div { gap: 6px; }.table-footer .button { font-size: 10px; padding: 5px 7px; }.device-heading { gap: 12px; flex-wrap: wrap; margin-bottom: 19px; }.device-heading-text { flex: 1; }.device-heading h1 { font-size: 23px; }.live-indicator { text-align: left; max-width: 100%; margin: 0; flex-basis: 100%; }.device-tabs { gap: 20px; }.device-tabs button { font-size: 11px; }.device-card { padding: 18px; }.detail-grid { gap: 13px; }dl { grid-template-columns: 105px minmax(0,1fr); }.group-tile { padding: 16px; }.group-tile .tile-top { flex-wrap: wrap; } }
@media(max-width:380px) { .sidebar { padding-left: 12px; padding-right: 12px; gap: 5px; }.device-grid,.group-grid { grid-template-columns: 1fr; }.breadcrumbs>span:first-child,.breadcrumbs>span:nth-child(2) { display: none; } }
@media(prefers-reduced-motion:reduce) { .device-tile { transition: none; }.device-tile:hover { transform: none; } }
.group-tile .tile-top { justify-content: flex-start; }
#detail-title:focus { outline: none; }
