/* GPS Workspace — local assets, no fonts or scripts loaded from third parties. */
:root {
  color-scheme: light;
  --page: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --ink: #1c2f2a;
  --muted: #64716c;
  --line: #e1e7e1;
  --green: #17644f;
  --green-hover: #104c3c;
  --green-soft: #e9f3ed;
  --sidebar: #152b24;
  --danger: #a53936;
  --shadow: 0 3px 16px rgba(25, 49, 38, .035);
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--ink); background: var(--page); font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .43; }
button:disabled:hover { transform: none; }
input, select, textarea { color: var(--ink); }
input::placeholder { color: #87928d; }
input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--green); vertical-align: middle; cursor: pointer; }
:focus-visible { outline: 3px solid #74bda2; outline-offset: 3px; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.2; font-weight: 680; letter-spacing: -1.1px; }
h2 { margin-bottom: 5px; font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -.35px; }
h3 { font-size: 16px; font-weight: 650; }
.muted { color: var(--muted); }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; }
.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; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 238px; flex: 0 0 238px; position: fixed; inset: 0 auto 0 0; padding: 32px 19px 22px; display: flex; flex-direction: column; background: var(--sidebar); color: #d9e6df; overflow-y: auto; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 36px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 42px; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid #6eab89; border-radius: 10px; color: #b6dabd; font-size: 25px; font-weight: 650; line-height: 1; background: #234334; }
.brand-title { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.25px; color: #fff; }
.brand-subtitle { display: block; color: #93b0a0; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; margin-top: 3px; }
.nav-label { color: #89a496; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; font-weight: 650; margin: 7px 13px 11px; }
.nav-link { min-height: 43px; display: flex; align-items: center; gap: 11px; border: 1px solid transparent; padding: 10px 13px; margin: 4px 0; border-radius: 8px; color: #b7cabd; font-size: 13px; font-weight: 500; }
.nav-link:hover { background: #203d30; text-decoration: none; color: #fff; }
.nav-link[aria-current="page"] { background: #294839; border-color: #365a46; color: #eff9f0; }
.nav-link svg { width: 18px; height: 18px; opacity: .85; }
.nav-link .badge { margin-left: auto; padding: 1px 7px; background: #3b604c; color: #e6f2e8; border: 0; }
.nav-label:not(:first-of-type) { margin-top: 26px; }
.nav-label > span { float: right; color: #b4c5b7; letter-spacing: 0; }
.nav-count { margin-left: auto; color: #8ead96; font-size: 10px; }
.nav-link[aria-current="page"] .nav-count { color: #d7e8d8; }
.brand-mark svg { width: 23px; height: 23px; }
.sidebar-footer { margin-top: auto; padding: 25px 11px 0; color: #97b1a0; font-size: 11px; }
.sidebar-footer::before { content: ""; display: block; height: 1px; background: #355041; margin-bottom: 21px; }
.sidebar-footer p { margin-bottom: 6px; }
.sidebar-footer strong { color: #d2e5d6; font-size: 12px; font-weight: 550; }
.sidebar-footer a { color: #d2e5d6; }
.sidebar-footer .nav-link { margin: 0 -10px 17px; padding-left: 9px; padding-right: 9px; font-size: 11px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.sidebar-user > div { min-width: 0; }
.sidebar-user > div > span { display: block; color: #8ea890; font-size: 9px; margin-top: 2px; }
.sidebar-user strong { overflow-wrap: anywhere; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; background: #324f39; color: #cadcbb; border: 1px solid #456347; border-radius: 50%; font-size: 12px; font-weight: 600; }
.sidebar-signout { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 15px; padding: 7px 0; border: 0; background: transparent; color: #a0b699; text-align: left; font-size: 10px; }
.sidebar-signout:hover { color: #fff; }
.main-content { flex: 1; min-width: 0; margin-left: 238px; padding: 0 38px 20px; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.breadcrumbs { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #7c8982; }
.breadcrumbs strong, .breadcrumbs [aria-current] { font-weight: 550; color: #374b41; }
.breadcrumbs a { color: #6b7970; }
.topbar-actions { display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: 12px; }
.topbar-actions .btn { min-height: 33px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-heading p { margin-bottom: 0; max-width: 670px; font-size: 13px; }
.eyebrow { display: block; margin-bottom: 8px; color: #4e7a60; font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; font-weight: 700; }
.heading-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 39px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #354b40; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; background: #f4f8f4; border-color: #c6d3c9; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 2px 3px rgba(13, 70, 48, .07); }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-secondary { background: #fff; border-color: #d3ddd4; color: #34533f; }
.btn-danger { color: var(--danger); border-color: #eccfcd; background: #fff; }
.btn-danger:hover { background: #fff1f0; border-color: #dbb4b0; }
.btn-quiet { background: transparent; border-color: transparent; box-shadow: none; color: #5c7063; }
.btn-quiet:hover { background: #eaf0e9; border-color: transparent; }
.btn-small { min-height: 31px; padding: 5px 10px; font-size: 11px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 32px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 21px 17px; box-shadow: var(--shadow); }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 550; display: flex; gap: 7px; align-items: center; }
.stat-label svg { width: 14px; height: 14px; color: #78927e; }
.stat-value { display: block; font-size: 29px; font-weight: 630; letter-spacing: -.9px; line-height: 1.3; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 15px; color: #748178; font-weight: 450; letter-spacing: 0; }
.stat-symbol { float: right; color: #afc7ac; }
.stat-symbol svg { width: 27px; height: 27px; }
.stat-value-size { font-size: 27px; }
.stat-card-wide { grid-column: span 2; }
.stat-path { display: block; margin-top: 14px; margin-bottom: 6px; font-size: 16px; font-weight: 500; letter-spacing: -.4px; overflow-wrap: anywhere; }
.stat-note { display: block; font-size: 10px; margin-top: 6px; color: #7d8981; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 14px; }
.section-heading h2 { margin-bottom: 2px; }
.section-heading p { margin: 0; font-size: 12px; color: var(--muted); }
.section-heading > .muted { font-size: 11px; }
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 29px; }
.device-card { display: block; padding: 20px 22px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.device-card:hover { text-decoration: none; border-color: #a8c5b0; box-shadow: 0 5px 20px rgba(24, 75, 44, .07); }
.device-card[aria-current="page"], .device-card.is-selected { border-color: #91b7a0; box-shadow: inset 0 3px 0 #438365; }
.device-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.device-icon { display: inline-flex; align-items: center; justify-content: center; height: 35px; width: 35px; border: 1px solid #e0e9e0; border-radius: 9px; color: #478463; background: #f0f6ef; }
.device-icon svg { width: 19px; height: 19px; }
.status-tag, .badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; color: #42684d; background: #edf4ea; padding: 3px 7px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-tag::before { content: ""; width: 5px; height: 5px; background: #6e9471; border-radius: 50%; }
.badge-muted { background: #f0f3ef; color: #6f7f70; }
.device-name { margin-bottom: 3px; font-size: 17px; font-weight: 650; letter-spacing: -.3px; }
.device-meta { margin: 0; color: #7c8980; font-size: 11px; }
.device-metrics { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 20px; margin-bottom: 19px; }
.device-metrics > div { display: flex; flex-direction: column; gap: 2px; }
.device-metrics strong { font-size: 17px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; }
.device-metrics span, .device-metrics small { font-size: 10px; color: #7e8a81; }
.device-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -22px; padding: 11px 22px; border-top: 1px solid #edf0ec; color: #55735b; background: #fafcf9; font-size: 11px; }
.device-card-footer svg { width: 14px; height: 14px; }
.device-card-footer > span { display: inline-flex; align-items: center; gap: 10px; color: #7c9175; font-size: 10px; }
.device-card-footer:hover { background: #f0f6ec; text-decoration: none; }
.device-last { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.device-last > span { color: #8a9882; font-size: 10px; }
.device-last > strong { color: #5e7654; font-size: 11px; font-weight: 500; }
.workspace-note { display: flex; align-items: flex-start; gap: 14px; padding: 19px 22px; border: 1px solid #e0e7d9; border-radius: 10px; background: #edf2e7; margin-bottom: 28px; }
.workspace-note > svg { width: 22px; height: 22px; margin-top: 1px; color: #799167; }
.workspace-note h3 { margin-bottom: 4px; color: #587147; font-size: 12px; font-weight: 600; }
.workspace-note p { max-width: 760px; margin-bottom: 0; color: #7b8b6e; font-size: 11px; line-height: 1.8; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 22px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 23px 16px; }
.panel-header h2 { font-size: 16px; margin-bottom: 3px; }
.panel-header p { font-size: 11px; color: var(--muted); margin-bottom: 0; }
.panel-header .badge { margin-left: 6px; vertical-align: middle; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 0 23px 19px; }
.search-field { display: flex; align-items: center; gap: 9px; min-width: 220px; max-width: 410px; flex: 1; position: relative; }
.search-field > svg { position: absolute; left: 12px; width: 15px; height: 15px; pointer-events: none; color: #7e9181; }
.search-field input, .filter-field select, select.filter-field { min-height: 37px; border: 1px solid #dce4da; border-radius: 7px; background: #fff; padding: 8px 11px; font-size: 11px; }
.search-field input { width: 100%; padding-left: 35px; background: #fafcf9; }
.search-field input:only-child { padding-left: 12px; }
.search-field input#file-search { padding-left: 12px; }
.filter-field { display: flex; align-items: center; gap: 7px; color: #6f8072; font-size: 11px; }
.filter-field select { max-width: 210px; }
.toolbar > .muted { font-size: 11px; margin-left: auto; }
.table-scroll { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.data-table thead { background: #f6f8f4; }
.data-table th { padding: 11px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #7c897f; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .8px; white-space: nowrap; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid #edf1eb; color: #5c7060; vertical-align: middle; }
.data-table th:first-child, .data-table td:first-child { padding-left: 23px; width: 42px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 23px; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fbfdf9; }
.data-table tbody tr:has(input[type="checkbox"]:checked) { background: #f1f7ef; }
.data-table .file-name { font-size: 11px; font-weight: 550; color: #354f3c; overflow-wrap: anywhere; }
.data-table a.file-name { display: block; margin-bottom: 5px; min-width: 178px; }
.nowrap { white-space: nowrap; }
.table-subtitle { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .1px; text-transform: none; color: #9ba696; font-weight: 400; }
.file-time-details { margin-top: 5px; font-size: 9px; color: #8a9b80; }
.file-time-details summary { cursor: pointer; }
.file-time-details summary:hover { color: #466239; }
.file-time-details > span { display: block; margin-top: 5px; padding: 6px 8px; background: #f1f6eb; border-radius: 4px; font-size: 9px; line-height: 1.7; }
.file-name a { color: inherit; }
.file-kind { display: inline-flex; gap: 5px; align-items: center; font-size: 9px; color: #647a69; border: 1px solid #e6ece3; background: #f7f9f5; border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.date-detail { display: block; color: #95a092; font-size: 10px; margin-top: 2px; }
.row-actions { display: flex; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.row-actions .btn { min-height: 29px; padding: 4px 8px; font-size: 10px; }
.row-actions form { margin: 0; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 23px; border-top: 1px solid var(--line); background: #fcfdfa; }
.selection-count { color: #81907d; font-size: 11px; }
.selection-count strong { color: #4e674e; font-weight: 600; }
.bulk-actions { display: flex; gap: 8px; align-items: center; }
.bulk-actions .btn { min-height: 34px; font-size: 11px; }
.table-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px; padding: 13px 23px; border-top: 1px solid var(--line); color: #8b9882; font-size: 9px; }
.table-footer strong { font-weight: 550; color: #566f4b; }
.preview-panel .panel-header h2 { font-size: 13px; overflow-wrap: anywhere; }
.log-preview { margin: 0 23px; padding: 18px; max-height: 370px; overflow: auto; border: 1px solid #dfe8d8; border-radius: 7px; background: #f5f8f1; color: #4d6841; font-size: 11px; line-height: 1.7; tab-size: 4; }
.preview-caption { margin: 12px 23px 18px; font-size: 10px; }
.empty-state { padding: 48px 25px; text-align: center; color: #80917e; }
.empty-state h2, .empty-state h3 { margin-bottom: 7px; color: #405c43; }
.empty-state p { max-width: 490px; margin: 0 auto; font-size: 12px; }
.empty-state svg { display: block; margin: 0 auto 15px; width: 32px; height: 32px; color: #7e9c7d; }
.notice { margin: 0 0 22px; padding: 12px 16px; border-radius: 8px; border: 1px solid #d5e4d4; background: #f0f7eb; color: #456442; font-size: 12px; overflow-wrap: anywhere; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-error { color: #913d38; border-color: #f0d1ca; background: #fff3ef; }
.notice-success { color: #2d6544; border-color: #c7e1cc; background: #edf8ed; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 8px 2px 4px; color: #87927f; font-size: 10px; }
.footer a { color: #718467; }
/* Authentication and recovery share the same calm visual language. */
.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 50px 24px; background: #eef2ed; }
.auth-layout { display: grid; grid-template-columns: 1.03fr 1fr; width: min(100%, 960px); min-height: 565px; overflow: hidden; border: 1px solid #dce4d9; border-radius: 18px; box-shadow: 0 20px 70px rgba(29, 52, 33, .08); background: #fff; }
.auth-intro { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 40px 43px 31px; background: #173929; color: #e7f0e3; }
.auth-intro::after { position: absolute; content: ""; width: 360px; height: 360px; bottom: -195px; right: -150px; border: 1px solid rgba(183, 213, 164, .14); border-radius: 50%; box-shadow: 0 0 0 50px rgba(183, 213, 164, .03), 0 0 0 100px rgba(183, 213, 164, .025); pointer-events: none; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: -.25px; margin-bottom: 57px; color: #fff; }
.auth-brand .brand-mark { height: 36px; width: 34px; font-size: 21px; background: #284936; border-color: #5a8563; }
.auth-kicker { font-size: 10px; color: #aac895; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 650; }
.auth-intro h1, .auth-intro h2 { max-width: 350px; font-size: clamp(28px, 3vw, 37px); font-weight: 550; line-height: 1.18; letter-spacing: -1.3px; margin-bottom: 19px; color: #eff6e9; }
.auth-intro > p { font-size: 13px; line-height: 1.8; color: #a8c0a7; max-width: 345px; }
.auth-story > p:not(.auth-kicker) { font-size: 13px; line-height: 1.8; color: #a8c0a7; max-width: 320px; }
.auth-orbit { height: 92px; margin: 16px -20px 16px -43px; overflow: hidden; color: #87b375; opacity: .7; }
.auth-orbit svg { display: block; width: 100%; height: 100%; }
.auth-feature { display: flex; align-items: center; gap: 10px; color: #c2d7b6; font-size: 12px; margin: 11px 0; }
.auth-feature svg { width: 16px; height: 16px; color: #99c689; }
.auth-feature:has(> p) { display: block; margin: 18px 0; }
.auth-feature > strong { display: block; margin-bottom: 5px; color: #d9e8cc; font-size: 12px; font-weight: 600; }
.auth-feature > p { margin-bottom: 0; color: #a8c0a0; font-size: 12px; line-height: 1.7; }
.auth-footnote { padding-top: 45px; margin-top: auto; font-size: 10px; color: #8fab86; line-height: 1.7; }
.auth-card { padding: 50px 42px 37px; align-self: center; min-width: 0; }
.auth-card h1 { font-size: 27px; font-weight: 640; letter-spacing: -.8px; margin-bottom: 9px; }
.auth-card > .muted { font-size: 12px; line-height: 1.75; margin-bottom: 29px; }
.auth-card > .auth-kicker { color: #658353; margin-bottom: 12px; }
.auth-card .notice { margin: 0 0 20px; line-height: 1.7; }
.auth-card .auth-form + .notice { margin-top: 23px; }
.auth-form { display: flex; flex-direction: column; gap: 19px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.form-label { display: block; color: #4a624d; font-size: 11px; font-weight: 600; }
.field > label { color: #4a624d; font-size: 11px; font-weight: 600; }
.form-input { display: block; width: 100%; min-height: 43px; border: 1px solid #d8e2d3; background: #fbfcfa; border-radius: 7px; padding: 10px 12px; font-size: 12px; line-height: 1.5; transition: border-color .15s; }
.form-input:hover { border-color: #b7cbb2; }
.form-input:focus { outline: 0; border-color: #689b6b; box-shadow: 0 0 0 3px rgba(75, 133, 65, .10); background: #fff; }
.form-error { margin: 0; color: var(--danger); font-size: 11px; }
.field small, .field .muted { font-size: 11px; line-height: 1.7; }
.form-row { display: flex; gap: 8px; align-items: center; }
.form-row .form-input { min-width: 0; flex: 1; }
.form-row .btn, .form-row button { flex-shrink: 0; }
.password-field { display: flex; position: relative; }
.password-field .form-input { padding-right: 63px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 28px; padding: 4px 8px; border: 0; border-radius: 4px; background: transparent; color: #678158; font-size: 10px; font-weight: 550; }
.password-toggle:hover { background: #edf3e7; }
.auth-form > .btn-primary { width: 100%; min-height: 43px; margin-top: 3px; }
.form-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn-primary { flex: 1; min-height: 43px; }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 23px; padding-top: 20px; border-top: 1px solid #e8eee3; font-size: 11px; }
.auth-links a { color: #597c4e; }
.auth-card .auth-footnote { color: #8b9984; padding-top: 25px; }
.login-note { margin: 22px 0 0; text-align: center; font-size: 10px; line-height: 1.7; }
.account-layout { width: min(100%, 680px); margin: 0 auto; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.account-layout .auth-card { padding: 0; }
.auth-layout > .auth-card.account-layout { width: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 50px 42px 37px; }
.recovery-code { display: block; width: 100%; resize: vertical; padding: 18px; margin: 17px 0; background: #f3f7ef; border: 1px dashed #9cb18d; border-radius: 7px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 14px; line-height: 1.8; letter-spacing: .5px; color: #3b6132; overflow-wrap: anywhere; user-select: all; }
.step-list { margin: 16px 0 24px; padding-left: 21px; color: #667b5e; font-size: 12px; line-height: 1.8; }
.step-list li { margin: 8px 0; padding-left: 3px; }
@media (min-width: 1600px) {
  .main-content { padding-left: 50px; padding-right: 50px; }
  .data-table td { padding-top: 15px; padding-bottom: 15px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 214px; flex-basis: 214px; padding-left: 15px; padding-right: 15px; }
  .main-content { margin-left: 214px; padding-left: 25px; padding-right: 25px; }
  .brand-title { font-size: 13px; }
  .brand-subtitle { font-size: 9px; }
  .stat-card { padding: 17px 16px; }
  .data-table { min-width: 730px; }
  .page-heading { gap: 15px; }
}
@media (max-width: 960px) {
  .sidebar { width: 185px; flex-basis: 185px; padding-left: 11px; padding-right: 11px; }
  .main-content { margin-left: 185px; padding-left: 20px; padding-right: 20px; }
  .brand { padding-left: 4px; gap: 8px; }
  .brand-mark { width: 32px; height: 36px; font-size: 21px; }
  .brand-title { font-size: 12px; }
  .brand-subtitle { font-size: 8px; letter-spacing: .7px; }
  .nav-link { padding-left: 10px; font-size: 12px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-value { font-size: 26px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { align-self: flex-start; }
  .topbar { gap: 10px; }
  .topbar-actions { gap: 5px; }
  .topbar-actions > .muted { display: none; }
  .toolbar .search-field { max-width: none; min-width: 100%; }
  .auth-intro { padding: 35px 31px 30px; }
  .auth-card { padding: 43px 31px 35px; }
  .auth-layout > .auth-card.account-layout { padding: 43px 31px 35px; }
}
@media (max-width: 700px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; padding: 14px 18px 12px; overflow: visible; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .brand { padding: 0; margin-right: auto; }
  .brand-title { font-size: 14px; }
  .brand-subtitle { font-size: 9px; }
  .sidebar nav { display: flex; gap: 5px; flex-wrap: wrap; }
  .nav-label { display: none; }
  .sidebar-footer { display: flex; align-items: center; flex-wrap: wrap; width: 100%; gap: 10px; margin-top: 5px; padding: 10px 0 0; border-top: 1px solid #355041; }
  .sidebar-footer::before { display: none; }
  .sidebar-footer .nav-link { margin: 0; padding: 4px 6px; min-height: 29px; }
  .sidebar-user { gap: 7px; margin-left: auto; }
  .sidebar-user .avatar { width: 24px; height: 24px; font-size: 10px; }
  .sidebar-user strong { font-size: 10px; }
  .sidebar-user > div > span { display: none; }
  .sidebar-footer form { margin: 0; }
  .sidebar-signout { margin: 0; gap: 10px; padding: 6px; }
  .nav-link { min-height: 33px; padding: 6px 9px; font-size: 11px; gap: 6px; margin: 0; }
  .nav-link svg { width: 15px; height: 15px; }
  .main-content { margin-left: 0; padding: 0 18px 21px; }
  .topbar { min-height: 65px; margin-bottom: 25px; }
  .breadcrumbs { font-size: 10px; gap: 7px; }
  .topbar-actions { font-size: 10px; }
  .topbar-actions .btn { font-size: 10px; padding: 5px 7px; min-height: 30px; }
  .page-heading { margin-bottom: 22px; gap: 17px; }
  h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .stats-grid { margin-bottom: 25px; }
  .stat-card { padding: 15px; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 26px; }
  .stat-note { font-size: 9px; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .device-card { padding: 15px 15px 0; }
  .device-card-footer { margin-left: -15px; margin-right: -15px; padding: 10px 15px; }
  .device-name { font-size: 15px; }
  .device-metrics { gap: 14px; }
  .device-metrics strong { font-size: 15px; }
  .status-tag { font-size: 9px; }
  .panel-header { padding: 19px 17px 16px; }
  .toolbar { padding: 0 17px 17px; }
  .filter-field select { max-width: 160px; }
  .data-table th:first-child, .data-table td:first-child { padding-left: 17px; }
  .data-table th:last-child, .data-table td:last-child { padding-right: 17px; }
  .bulk-bar { padding: 13px 17px; }
  .bulk-actions .btn { padding: 6px 10px; font-size: 10px; }
  .auth-page { padding: 22px 16px; }
  .auth-layout { grid-template-columns: 1fr; min-height: unset; width: min(100%, 490px); border-radius: 13px; }
  .auth-intro { padding: 27px 29px 25px; }
  .auth-brand { margin-bottom: 25px; }
  .auth-intro h1, .auth-intro h2 { font-size: 29px; max-width: 100%; margin-bottom: 12px; }
  .auth-intro > p { font-size: 12px; max-width: 100%; margin-bottom: 0; }
  .auth-intro .auth-feature, .auth-intro .auth-footnote { display: none; }
  .auth-orbit { display: none; }
  .auth-story > p:not(.auth-kicker) { max-width: 100%; margin-bottom: 0; font-size: 12px; }
  .auth-card { padding: 31px 29px 29px; }
  .auth-layout > .auth-card.account-layout { padding: 31px 29px 29px; }
  .auth-card h1 { font-size: 25px; }
  .auth-card > .muted { margin-bottom: 23px; }
  .account-layout { padding: 25px 22px; }
  .workspace-note { padding: 16px; gap: 10px; }
  .table-footer { padding-left: 17px; padding-right: 17px; }
  .log-preview { margin-left: 17px; margin-right: 17px; }
  .preview-caption { margin-left: 17px; margin-right: 17px; }
}
@media (max-width: 420px) {
  .sidebar { gap: 12px; }
  .sidebar nav { width: 100%; padding-top: 3px; }
  .nav-link { flex: 1; }
  .main-content { padding-left: 13px; padding-right: 13px; }
  .topbar { gap: 5px; }
  .breadcrumbs { gap: 5px; }
  .device-grid { grid-template-columns: 1fr; }
  .device-metrics { gap: 35px; }
  .stats-grid { gap: 9px; }
  .stat-card { padding: 13px; }
  .bulk-actions { width: 100%; }
  .bulk-actions .btn { flex: 1; }
  .filter-field select { max-width: 145px; }
  .auth-card { padding: 29px 22px; }
  .auth-layout > .auth-card.account-layout { padding: 29px 22px; }
  .auth-intro { padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  body { background: #fff; font-size: 10pt; }
  .sidebar, .topbar-actions, .heading-actions, .toolbar, .bulk-bar, .row-actions, input[type="checkbox"] { display: none !important; }
  .main-content { margin: 0; padding: 0; }
  .topbar { min-height: 35px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .panel, .stat-card, .device-card { box-shadow: none; break-inside: avoid; }
  .table-scroll { overflow: visible; }
  .data-table { min-width: 0; }
  .data-table td, .data-table th { padding: 7px; }
  a { color: inherit; }
  .auth-page { display: block; padding: 0; }
  .auth-layout { display: block; border: 0; box-shadow: none; }
  .auth-intro { display: none; }
  .auth-card { padding: 20px; }
}
