/* Fleet Hub uses local CSS and system fonts only. */
:root {
  --canvas: #f5f7fb;
  --surface: #fff;
  --ink: #192837;
  --muted: #5f6d7b;
  --subtle: #748191;
  --line: #e2e7ef;
  --navy: #132331;
  --navy-soft: #213749;
  --cobalt: #315bd8;
  --cobalt-dark: #2448b7;
  --blue-soft: #edf2ff;
  --green: #25705a;
  --green-soft: #eaf6f0;
  --amber: #8b5a10;
  --amber-soft: #fff4dd;
  --red: #a33437;
  --red-soft: #ffeded;
  --radius: 12px;
  --shadow: 0 3px 14px rgb(25 40 55 / 3%);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--cobalt); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
img, svg { max-width: 100%; }
svg { display: block; }
svg:not(.brand-mark svg) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(27px, 2.35vw, 36px); line-height: 1.2; letter-spacing: -.035em; font-weight: 700; margin-bottom: 12px; overflow-wrap: anywhere; }
h2 { font-size: 17px; line-height: 1.35; letter-spacing: -.02em; font-weight: 650; margin-bottom: 0; }
h3 { font-size: 14px; font-weight: 650; line-height: 1.4; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
small { font-size: 12px; }
strong { font-weight: 650; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .87em; }
code { background: #f0f3f8; border-radius: 4px; padding: 2px 5px; }
pre { overflow: auto; }
::selection { background: #d9e4ff; }
:focus-visible { outline: 3px solid #567cf4; outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }
.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; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 10px 16px; color: var(--ink); background: white; border: 2px solid var(--cobalt); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.workspace { display: flex; min-height: 100vh; }
.sidebar { width: 236px; flex: 0 0 236px; min-height: 100vh; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 35px 20px 24px; background: var(--navy); color: #e7eef5; z-index: 3; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: white; width: fit-content; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 42px; border: 1px solid #4d6d93; border-radius: 11px; color: #d6e3ff; background: #243e60; flex-shrink: 0; }
.brand strong { display: block; font-size: 19px; line-height: 1.4; letter-spacing: -.035em; }
.brand small { display: block; font-size: 10px; font-weight: 500; color: #9bafc1; letter-spacing: .11em; text-transform: uppercase; }
.sidebar > .brand { margin: 0 6px 46px; }
.nav-label { margin: 0 15px 13px; color: #8ca2b5; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 650; }
.primary-nav { display: grid; gap: 7px; }
.primary-nav a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; color: #b7c7d5; font-size: 13px; font-weight: 550; transition: background .15s ease, color .15s ease; }
.primary-nav a:hover { text-decoration: none; color: #fff; background: #1c3142; }
.primary-nav a[aria-current=page] { background: var(--navy-soft); border-color: #304b61; color: #fff; box-shadow: inset 3px 0 #799cff; }
.primary-nav svg { width: 18px; height: 18px; color: #90a8be; flex-shrink: 0; }
.primary-nav [aria-current=page] svg { color: #aec4ff; }
.sidebar-foot { border-top: 1px solid #2b4051; margin-top: auto; padding: 24px 7px 0; }
.account { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; min-width: 0; }
.account-avatar { display: grid; place-items: center; background: #324b61; color: #d7e2ec; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; font-size: 12px; font-weight: 650; }
.account > span:last-child { min-width: 0; }
.account strong { display: block; color: #e1e8ef; font-size: 12px; overflow-wrap: anywhere; }
.account small { display: block; color: #94a9bb; font-size: 10px; }
.logout-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 1px; background: transparent; border: 0; color: #aabfce; font-size: 12px; }
.logout-button:hover { color: white; }
.workspace-body { margin-left: 236px; width: calc(100% - 236px); display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 42px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 85%); color: var(--muted); font-size: 12px; }
.access-label { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.access-label > span { width: 6px; height: 6px; border-radius: 50%; background: #668d7e; }
.main-content { flex: 1; width: 100%; max-width: 1680px; padding: 36px 42px 56px; margin: 0 auto; min-width: 0; outline: none; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 42px; color: var(--subtle); font-size: 10px; border-top: 1px solid var(--line); }
.workspace-footer > :first-child { font-weight: 650; color: #697b8c; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.page-heading > div { min-width: 0; }
.page-heading > .button { flex-shrink: 0; margin-top: 25px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 11px; }
.page-description { max-width: 670px; color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 41px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 650; line-height: 1.4; text-align: center; white-space: nowrap; }
.button:hover { text-decoration: none; }
.button-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: 0 2px 3px rgb(49 91 216 / 10%); }
.button-primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); color: #fff; }
.button-secondary { color: #384c62; background: white; border-color: #d9e1ec; }
.button-secondary:hover { color: var(--ink); background: #f6f8fc; border-color: #bdcbe0; }
.button-small { min-height: 35px; padding: 8px 11px; font-size: 11px; }
.button-disabled { opacity: .45; pointer-events: none; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; white-space: nowrap; }
.subtle-link { color: #425a75; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.muted { color: var(--muted); }
.wrap-code { overflow-wrap: anywhere; word-break: break-word; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.panel-heading > * { min-width: 0; }
.panel-body { padding: 22px 24px; }
.panel-note { padding: 14px 24px; border-top: 1px solid var(--line); color: var(--muted); background: #fbfcfe; border-radius: 0 0 var(--radius) var(--radius); font-size: 11px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px 23px 20px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.metric:hover { text-decoration: none; border-color: #afc0e2; }
.metric-label { color: var(--muted); font-weight: 550; font-size: 12px; }
.metric-value { font-size: 36px; font-weight: 650; letter-spacing: -.05em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.metric-description { display: flex; gap: 8px; align-items: center; justify-content: space-between; color: var(--subtle); font-size: 10px; }
.metric-description > span { color: #7390b9; font-size: 13px; }
.metric-attention { border-top: 3px solid #d6a64b; padding-top: 20px; }
.metric-attention .metric-value { color: var(--amber); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.host-summary { list-style: none; margin: 0; padding: 0 24px; }
.host-summary > li { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 19px 0; border-bottom: 1px solid #edf0f4; }
.host-summary > li:last-child { border-bottom: 0; }
.host-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.host-identity > div { min-width: 0; }
.host-identity a { color: var(--ink); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.host-identity small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.host-icon { display: grid; place-items: center; width: 36px; height: 38px; flex: 0 0 36px; border: 1px solid #e0e7f0; border-radius: 8px; color: #6583a4; background: #f6f8fc; }
.host-icon svg { width: 20px; height: 20px; }
.badge { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; gap: 4px; padding: 4px 8px; border-radius: 5px; font-size: 10px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.badge-neutral { background: #f0f3f7; color: #5e6b7c; }
.badge-blue { background: var(--blue-soft); color: #3d5ea4; }
.badge-success { background: var(--green-soft); color: var(--green); }
.badge-warning { background: var(--amber-soft); color: var(--amber); }
.badge-danger { background: var(--red-soft); color: var(--red); }
.guidance-panel { display: flex; gap: 20px; align-items: center; margin-top: 26px; padding: 24px 26px; border: 1px solid #dae4f4; border-radius: var(--radius); background: #edf2fb; }
.guidance-symbol { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid #cfdbf0; border-radius: 10px; color: #5776b6; background: #f8faff; font-size: 23px; }
.guidance-panel > div:nth-child(2) { flex: 1; min-width: 0; }
.guidance-panel h2 { font-size: 14px; margin-bottom: 6px; }
.guidance-panel p { color: #5c6c85; font-size: 12px; max-width: 750px; }
.event-list { list-style: none; padding: 8px 24px; margin: 0; }
.event-list > li { position: relative; display: flex; gap: 13px; padding: 20px 0; border-bottom: 1px solid #edf0f5; }
.event-list > li:last-child { border-bottom: 0; }
.event-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #8aa2c6; margin-top: 7px; }
.event-content { flex: 1; min-width: 0; }
.event-heading { display: flex; gap: 15px; justify-content: space-between; align-items: flex-start; }
.event-heading strong { font-size: 13px; overflow-wrap: anywhere; }
.event-heading time { color: var(--subtle); font-size: 10px; white-space: nowrap; margin-top: 2px; }
.event-asset { display: inline-block; margin-top: 5px; font-size: 11px; overflow-wrap: anywhere; }
.event-reason { font-size: 12px; color: var(--muted); margin: 6px 0 8px; overflow-wrap: anywhere; white-space: pre-line; }
.event-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; font-size: 10px; color: var(--subtle); overflow-wrap: anywhere; }
.event-list-compact .event-heading { display: block; }
.event-list-compact .event-heading time { display: block; margin-top: 3px; }
.event-list-compact .event-reason { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.event-list-compact > li { padding: 15px 0; }
.filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; padding: 23px 24px; border-bottom: 1px solid var(--line); }
.filter-field { min-width: 120px; flex: 1 1 130px; }
.filter-search { flex: 2 1 240px; }
.filter-field label { display: block; font-size: 10px; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { display: block; width: 100%; min-width: 0; max-width: 100%; border: 1px solid #cfd8e5; border-radius: 6px; background: #fff; color: var(--ink); padding: 10px 11px; font-size: 13px; min-height: 41px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #7b8797; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); }
select { padding-right: 28px; }
textarea { min-height: 116px; resize: vertical; }
.filter-field input, .filter-field select { font-size: 12px; }
.filter-reset { display: inline-flex; align-items: center; min-height: 41px; padding: 0 5px; font-size: 12px; color: var(--muted); }
.result-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 24px; color: var(--muted); font-size: 11px; }
.result-summary strong { color: var(--ink); }
.result-summary > :last-child { font-size: 10px; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; border-radius: 0 0 var(--radius) var(--radius); }
.table-scroll:focus-visible { outline-offset: -3px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.data-table th, .data-table td { padding: 19px 22px; border-bottom: 1px solid #e9edf3; vertical-align: top; }
.data-table thead th { padding-top: 11px; padding-bottom: 11px; color: #6d7c8d; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; background: #f9fafc; border-top: 1px solid var(--line); }
.data-table tbody th { font-weight: 400; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcff; }
.data-table small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.catalog-table { min-width: 760px; }
.catalog-table th:first-child { width: 38%; }
.catalog-table td:nth-child(2), .catalog-table td:nth-child(4) { white-space: nowrap; }
.record-name { display: block; color: #253f5d; font-size: 13px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.record-description { color: var(--muted); font-size: 11px; margin: 5px 0 8px; max-width: 450px; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; color: #677a91; background: #f1f4f9; font-size: 9px; padding: 2px 6px; border-radius: 4px; max-width: 100%; overflow-wrap: anywhere; }
.tag-more { color: var(--subtle); background: transparent; }
.kind-label { color: var(--muted); font-size: 11px; }
.date-cell { color: var(--muted); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-action { width: 42px; padding-left: 6px !important; padding-right: 16px !important; }
.row-action a { display: grid; place-items: center; color: #6881a4; width: 27px; height: 27px; border-radius: 5px; font-size: 18px; }
.row-action a:hover { background: var(--blue-soft); color: var(--cobalt); text-decoration: none; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; border-top: 1px solid var(--line); }
.pagination p { color: var(--muted); font-size: 11px; margin: 0; }
.pagination > div { display: flex; gap: 8px; }
.empty-state { padding: 38px 26px; text-align: center; max-width: 570px; margin: 0 auto; }
.empty-state-large { padding: 65px 26px; }
.empty-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #dfe7f3; border-radius: 12px; background: #f6f8fc; color: #8ca4c9; font-size: 28px; margin: 0 auto 18px; line-height: 1; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.empty-state p:last-child { margin-bottom: 0; }
.notice { border: 1px solid #d8e3f4; border-radius: 8px; padding: 14px 17px; margin-bottom: 22px; color: #4f6584; background: #eef4fc; font-size: 12px; overflow-wrap: anywhere; }
.notice strong { font-weight: 650; }
.notice-warning { border-color: #ead8b4; background: var(--amber-soft); color: var(--amber); }
.notice-success { border-color: #c8e5d7; background: var(--green-soft); color: var(--green); }
.notice-danger { border-color: #ecc5c7; background: var(--red-soft); color: var(--red); }
.messages { margin-bottom: 24px; }
.messages .notice:last-child { margin-bottom: 0; }
.heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.heading-meta .eyebrow { margin-bottom: 0; }
.detail-heading .page-description { max-width: 840px; white-space: pre-line; }
.detail-heading .tag-list { margin-top: 14px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 310px); gap: 24px; align-items: start; }
.detail-main, .detail-aside { display: grid; gap: 24px; min-width: 0; }
.revision-label { color: var(--subtle); font-size: 10px; white-space: nowrap; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 28px; padding: 24px; margin: 0; }
.detail-list > div { min-width: 0; }
.detail-list dt, .compact-details dt { color: var(--muted); font-size: 10px; margin-bottom: 7px; }
.detail-list dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.detail-full { grid-column: 1 / -1; }
.quick-links { padding: 6px 23px; }
.quick-links > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0; border-bottom: 1px solid #e9edf4; }
.quick-links > a:last-child { border-bottom: 0; }
.quick-links > a > span:first-child { min-width: 0; }
.quick-links strong { display: block; font-size: 12px; color: #344f77; }
.quick-links small { display: block; max-width: 100%; color: var(--subtle); font-size: 10px; margin-top: 4px; overflow-wrap: anywhere; }
.quick-links > p { padding: 16px 0; font-size: 12px; }
.review-note { white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; margin: 14px 0 18px; }
.compact-details { margin: 18px 0 0; display: grid; gap: 16px; }
.compact-details dd { font-size: 11px; margin: 0; overflow-wrap: anywhere; }
.compact-details small { display: block; color: var(--subtle); font-size: 10px; margin-top: 4px; }
.inline-note { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.dependency-list { list-style: none; padding: 6px 23px; margin: 0; }
.dependency-list li + li { border-top: 1px solid var(--line); }
.dependency-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 12px; overflow-wrap: anywhere; }
.component-table { min-width: 650px; }
.component-table th:first-child { width: 31%; }
.component-table td:last-child { width: 27%; }
.component-table .component-key { font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; overflow-wrap: anywhere; max-width: 260px; margin-bottom: 7px; }
.component-link { display: inline-flex; gap: 4px; margin-left: 8px; font-size: 10px; }
.cell-title { font-size: 12px; font-weight: 550; }
.observed-state { color: var(--ink) !important; overflow-wrap: anywhere; max-width: 180px; }
.binding-link { display: inline-block; max-width: 190px; overflow-wrap: anywhere; }
.server-list { display: grid; gap: 24px; }
.server-heading { display: flex; align-items: center; gap: 15px; }
.server-heading-actions { display: flex; align-items: center; gap: 24px; }
.coverage-table { min-width: 650px; }
.coverage-table th:first-child { width: 23%; }
.coverage-table .badge + .badge { margin: 3px 0 0 3px; }
.coverage-reason { color: var(--muted); font-size: 11px; max-width: 380px; overflow-wrap: anywhere; }
.edit-layout { display: grid; grid-template-columns: minmax(0, 750px) minmax(220px, 290px); gap: 40px; align-items: start; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 22px; padding: 29px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > label { display: block; margin-bottom: 8px; color: #3f5165; font-size: 12px; font-weight: 600; }
.required-marker { margin-left: 4px; color: #7688a2; }
.help-text { color: var(--muted); font-size: 11px; margin: 6px 0 0; }
.form-field select[multiple] { min-height: 135px; }
.form-field input[type=checkbox], .form-field input[type=radio] { accent-color: var(--cobalt); margin-right: 8px; }
.field-has-errors input, .field-has-errors select, .field-has-errors textarea { border-color: #c3595c !important; }
.field-errors { color: var(--red); margin: 7px 0 0; font-size: 11px; }
.errorlist { padding-left: 18px; margin: 0; }
.form-error-summary { margin: 25px 29px 0; border: 1px solid #edced1; border-radius: 8px; padding: 18px; background: #fff4f4; color: var(--red); font-size: 12px; }
.form-error-summary h2 { font-size: 14px; margin-bottom: 9px; }
.form-error-summary p { margin-bottom: 10px; }
.form-error-summary > ul { margin-bottom: 0; padding-left: 18px; }
.form-error-summary li { margin: 5px 0; }
.form-error-summary a { color: var(--red); text-decoration: underline; }
.form-error-summary + .form-fields { padding-top: 23px; }
.edit-form > .notice { margin: 25px 29px 0; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 11px; padding: 20px 29px; border-top: 1px solid var(--line); background: #fbfcfe; border-radius: 0 0 var(--radius) var(--radius); }
.form-guidance { padding-top: 5px; min-width: 0; }
.form-guidance .guidance-symbol { width: 34px; height: 34px; font-size: 17px; margin-bottom: 20px; }
.form-guidance h2 { font-size: 16px; margin-bottom: 12px; }
.form-guidance h3 { font-size: 12px; margin-top: 24px; margin-bottom: 7px; }
.form-guidance p { color: var(--muted); font-size: 12px; }
.activity-panel { max-width: 1050px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 24px; }
.guide-main, .guide-aside { display: grid; gap: 24px; min-width: 0; }
.prose { color: var(--muted); font-size: 12px; line-height: 1.75; }
.prose h3 { color: var(--ink); margin-top: 22px; margin-bottom: 7px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 19px; margin: 14px 0 20px; }
.prose li { margin: 7px 0; }
.prose .table-scroll { border: 1px solid var(--line); border-radius: 7px; }
.role-table { min-width: 360px; }
.role-table th, .role-table td { padding: 12px 16px; font-size: 11px; }
.role-table thead th { border-top: 0; }
.role-table tbody th { width: 115px; }
.endpoint { display: flex; align-items: center; gap: 11px; padding: 13px 15px; margin: 2px 0 17px; border-radius: 7px; background: #f3f6fb; border: 1px solid #e5eaf4; }
.endpoint code { padding: 0; background: transparent; color: #3e5779; overflow-wrap: anywhere; font-size: 11px; }
.http-method { color: var(--green); font-family: "SFMono-Regular", Consolas, monospace; font-weight: 700; font-size: 10px; }
.http-method-write { color: var(--cobalt); }
.code-block { padding: 16px; border: 1px solid #e0e7f1; border-radius: 7px; color: #3e5779; background: #f5f7fb; font-size: 11px; line-height: 1.85; }
.code-block code { padding: 0; background: none; font-size: inherit; }
.steps { counter-reset: steps; list-style: none; padding: 3px 0 0; margin: 22px 0 0; }
.steps > li { position: relative; padding-left: 38px; margin-bottom: 21px; counter-increment: steps; }
.steps > li::before { content: counter(steps); display: grid; place-items: center; position: absolute; top: 1px; left: 0; width: 24px; height: 24px; border-radius: 7px; background: var(--blue-soft); color: #5979b7; font-size: 10px; font-weight: 650; }
.steps strong { display: block; color: #32485f; margin-bottom: 4px; }
.steps span { display: block; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 25px; color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 15px; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: ""; position: absolute; top: 5px; left: 0; width: 11px; height: 11px; border: 1px solid #a7bbd9; border-radius: 3px; background: #f4f7fc; }
.auth-page { min-height: 100vh; }
.auth-main { min-height: 100vh; display: grid; place-items: center; padding: 40px; }
.auth-main > .messages { width: 100%; max-width: 1030px; margin-bottom: 0; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 1030px; min-height: 580px; border: 1px solid #e0e6ef; border-radius: 19px; overflow: hidden; box-shadow: 0 18px 65px rgb(25 40 55 / 7%); background: white; }
.login-introduction { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; padding: 44px 45px 37px; background: var(--navy); color: #eff4fc; }
.login-introduction > div:nth-child(2) { padding: 14px 0 20px; }
.login-introduction .eyebrow { color: #99b4d3; font-size: 9px; margin-bottom: 20px; }
.login-introduction h1 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -.04em; margin-bottom: 22px; font-weight: 650; }
.login-introduction p:not(.eyebrow) { max-width: 320px; color: #abbccc; font-size: 13px; line-height: 1.85; }
.login-caption { display: flex; gap: 12px; align-items: center; color: #8fa7bd; font-size: 10px; }
.login-caption-line { height: 1px; width: 25px; background: #557395; }
.login-card { align-self: center; padding: 50px 47px; min-width: 0; }
.login-lock { display: grid; place-items: center; width: 44px; height: 46px; border: 1px solid #dfe7f6; border-radius: 12px; color: #5c7bb5; background: #f3f6fc; margin-bottom: 30px; }
.login-lock svg { width: 23px; height: 23px; }
.login-card .eyebrow { color: #7c8fa6; font-size: 9px; }
.login-card h2 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 15px; line-height: 1.3; }
.login-card > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.85; margin-bottom: 28px; }
.login-button { width: 100%; min-height: 45px; justify-content: space-between; padding-left: 17px; padding-right: 17px; }
.login-security { display: flex; align-items: flex-start; gap: 11px; border-top: 1px solid var(--line); padding-top: 23px; margin-top: 29px; }
.login-security svg { width: 16px; height: 18px; flex: 0 0 16px; color: #7d91a9; margin-top: 1px; }
.login-security p { color: #7b8796; font-size: 10px; line-height: 1.8; }
@media (min-width: 1600px) {
  .main-content { padding-top: 44px; }
  .overview-grid { grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 1250px) {
  .sidebar { width: 214px; flex-basis: 214px; padding-left: 16px; padding-right: 16px; }
  .workspace-body { margin-left: 214px; width: calc(100% - 214px); }
  .main-content { padding: 30px 27px 44px; }
  .topbar, .workspace-footer { padding-left: 27px; padding-right: 27px; }
  .metrics { gap: 13px; }
  .metric { padding-left: 18px; padding-right: 18px; }
  .metric-label { min-height: 36px; }
  .metric-description { font-size: 9px; }
  .overview-grid { gap: 20px; }
  .panel-heading { padding-left: 21px; padding-right: 21px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-aside { grid-template-columns: 1fr 1fr; }
  .edit-layout { gap: 27px; grid-template-columns: minmax(0, 1fr) 235px; }
}
@media (max-width: 1000px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-label { min-height: auto; }
  .metric-description { font-size: 10px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .event-list-compact .event-heading { display: flex; }
  .guidance-panel { align-items: flex-start; flex-wrap: wrap; }
  .guidance-panel > .button { margin-left: 59px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { grid-template-columns: 1fr 1fr; align-items: start; }
  .edit-layout { grid-template-columns: minmax(0, 1fr); }
  .form-guidance { max-width: 680px; }
  .login-introduction { padding: 35px; }
  .login-card { padding: 40px 32px; }
}
@media (max-width: 760px) {
  .workspace { display: block; }
  .sidebar { position: relative; width: 100%; min-height: 0; padding: 20px 20px 0; overflow: visible; }
  .sidebar > .brand { margin: 0 0 19px; }
  .brand-mark { width: 34px; height: 36px; border-radius: 9px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 9px; }
  .nav-label { display: none; }
  .primary-nav { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 15px; margin: 0; scrollbar-width: thin; scrollbar-color: #52708a transparent; }
  .primary-nav a { flex-shrink: 0; min-height: 37px; font-size: 11px; padding: 8px 10px; gap: 8px; }
  .primary-nav svg { width: 15px; height: 15px; }
  .primary-nav a[aria-current=page] { box-shadow: none; }
  .sidebar-foot { position: absolute; right: 20px; top: 24px; border: 0; padding: 0; margin: 0; }
  .account { display: none; }
  .logout-button { font-size: 11px; gap: 13px; }
  .workspace-body { width: 100%; margin-left: 0; }
  .topbar { min-height: 49px; font-size: 11px; padding: 0 23px; }
  .access-label { font-size: 10px; }
  .main-content { padding: 26px 22px 40px; }
  .page-heading { gap: 18px; margin-bottom: 24px; }
  .page-heading > .button { margin-top: 22px; }
  .page-description { font-size: 12px; }
  .eyebrow { font-size: 9px; }
  .metrics { gap: 12px; margin-bottom: 22px; }
  .metric { padding: 18px; }
  .metric-attention { padding-top: 16px; }
  .metric-value { font-size: 31px; }
  .panel-heading { padding: 19px 20px; min-height: 71px; }
  .panel-heading p { font-size: 11px; }
  .panel-heading h2 { font-size: 15px; }
  .panel-body { padding: 20px; }
  .table-scroll { -webkit-overflow-scrolling: touch; }
  .filter-bar { padding: 20px; }
  .filter-search { flex-basis: 100%; }
  .filter-field { min-width: 110px; }
  .result-summary { padding: 13px 20px; }
  .data-table th, .data-table td { padding: 16px 20px; }
  .data-table thead th { padding-top: 10px; padding-bottom: 10px; }
  .server-heading-actions { gap: 14px; }
  .server-heading-actions .text-link { font-size: 10px; }
  .server-heading { gap: 11px; }
  .form-fields { padding: 24px; gap: 21px 18px; }
  .form-actions { padding: 18px 24px; }
  .form-error-summary { margin: 24px 24px 0; }
  .workspace-footer { padding: 17px 23px; }
  .auth-main { padding: 25px; }
  .login-shell { max-width: 520px; grid-template-columns: 1fr; min-height: auto; }
  .login-introduction { padding: 27px 31px 30px; gap: 31px; }
  .login-introduction > div:nth-child(2) { padding: 0; }
  .login-introduction h1 { font-size: 33px; margin-bottom: 14px; }
  .login-introduction .eyebrow { margin-bottom: 13px; }
  .login-introduction p:not(.eyebrow) { max-width: 340px; font-size: 12px; }
  .login-caption { display: none; }
  .login-card { padding: 34px 31px; }
  .login-lock { display: none; }
  .login-card h2 { font-size: 23px; }
}
@media (max-width: 480px) {
  .main-content { padding: 24px 16px 34px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .sidebar-foot { right: 16px; }
  .topbar, .workspace-footer { padding-left: 17px; padding-right: 17px; }
  .page-heading { flex-wrap: wrap; gap: 15px; }
  .page-heading > .button { margin-top: 0; }
  .metrics { gap: 10px; }
  .metric { padding-left: 14px; padding-right: 14px; }
  .metric-label { font-size: 11px; min-height: 34px; }
  .metric-description { font-size: 9px; align-items: flex-start; }
  .metric-description > span { display: none; }
  .panel-heading { gap: 10px; }
  .panel-heading .text-link { font-size: 10px; }
  .host-summary { padding: 0 20px; }
  .host-summary > li { gap: 9px; }
  .host-identity { gap: 9px; }
  .host-identity small { font-size: 10px; }
  .host-icon { width: 30px; height: 33px; flex-basis: 30px; }
  .host-icon svg { width: 18px; height: 18px; }
  .event-list { padding-left: 20px; padding-right: 20px; }
  .event-heading, .event-list-compact .event-heading { display: block; }
  .event-heading time { display: block; }
  .event-meta { gap: 5px 12px; }
  .guidance-panel { padding: 21px; gap: 14px; }
  .guidance-panel .guidance-symbol { width: 30px; height: 33px; flex-basis: 30px; }
  .guidance-panel > .button { margin-left: 44px; }
  .result-summary { gap: 10px; }
  .result-summary > :last-child { font-size: 9px; }
  .pagination { padding: 15px 18px; gap: 12px; flex-wrap: wrap; }
  .pagination .button { font-size: 10px; padding: 8px 10px; }
  .detail-aside, .guide-aside { grid-template-columns: minmax(0, 1fr); }
  .detail-list { gap: 21px; padding: 22px 20px; }
  .detail-list dd { font-size: 12px; }
  .server-panel .panel-heading { align-items: flex-start; }
  .server-heading-actions { flex-direction: column; gap: 8px; align-items: flex-end; }
  .server-heading p { max-width: 185px; }
  .form-fields { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .form-field-wide { grid-column: auto; }
  .form-actions { padding: 17px 20px; }
  .form-error-summary { margin: 22px 20px 0; }
  .workspace-footer { font-size: 9px; gap: 10px; }
  .auth-main { padding: 16px; }
  .login-shell { border-radius: 14px; }
  .login-introduction { padding: 25px; }
  .login-card { padding: 30px 25px; }
  .endpoint { gap: 9px; padding: 12px; }
  .endpoint code { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: black; }
  .sidebar, .topbar, .workspace-footer, .filter-bar, .form-actions, .page-heading > .button, .back-link, .pagination { display: none; }
  .workspace-body { margin: 0; width: 100%; }
  .main-content { max-width: none; padding: 0; }
  .panel { box-shadow: none; break-inside: avoid; }
  .detail-grid, .overview-grid, .guide-layout { display: block; }
  .detail-main > *, .detail-aside > *, .overview-grid > *, .guide-main > * { margin-bottom: 20px; }
  .table-scroll { overflow: visible; }
  .data-table { min-width: 0; }
  a { color: inherit; }
}
