@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #fff;
  --ink: #202434;
  --muted: #717688;
  --line: #e9ebf0;
  --purple: #7253d6;
  --purple-dark: #6041c2;
  --purple-soft: #f0ebfc;
  --green: #25765b;
  --radius: 14px;
  --sidebar: 218px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.6 Manrope, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--purple-dark); text-decoration: none; }
a:hover { text-decoration: none; color: #4d2da9; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px; background: var(--surface); border: 1px solid #dfe2e9; border-radius: 8px; color: #474c5d; font-size: 12px; font-weight: 650; line-height: 1.5; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
button:hover, .button:hover { background: #f5f4f9; border-color: #c9c2dc; color: var(--ink); }
button:disabled { cursor: not-allowed; opacity: .5; }
.primary { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 3px 6px #6041c21a, inset 0 1px 0 #ffffff20; }
.primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.danger { background: #b43548; color: #fff; border-color: #b43548; }
.danger:hover { background: #982c3d; color: #fff; border-color: #982c3d; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; opacity: .65; }
.primary .icon, .home-mark .icon, .login-symbol .icon { filter: invert(1); opacity: 1; }
.icon-button { width: 34px; height: 34px; min-height: 34px; padding: 7px; border-color: transparent; background: transparent; flex: 0 0 auto; }
.icon-button:hover { border-color: transparent; background: #efedf5; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, .table-scroll:focus-visible { outline: 3px solid #a88be8; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 30; transform: translateY(-160%); background: white; padding: 12px 18px; border: 2px solid var(--purple); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: var(--sidebar); background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-head { display: flex; align-items: center; gap: 13px; height: 86px; padding: 0 25px; flex-shrink: 0; }
.home-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--purple); box-shadow: 0 4px 9px #7253d620; }
.home-mark:hover { background: var(--purple-dark); }
.home-mark .icon { width: 21px; height: 21px; }
.workspace-label { font-size: 11px; font-weight: 750; letter-spacing: 1px; color: #7a7f8e; }
.workspace-label span { color: #ced0d9; padding: 0 5px; }
.sidebar nav { padding: 9px 14px 24px; flex-shrink: 0; }
.nav-label { display: block; padding: 2px 13px 11px; color: #7c8190; font-size: 11px; font-weight: 650; letter-spacing: .65px; text-transform: uppercase; }
.nav-label.second { margin-top: 29px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 10px 13px; margin: 3px 0; border-radius: 8px; font-size: 13px; font-weight: 550; color: #656b7c; }
.sidebar nav a:hover { color: #323649; background: #f7f7fa; }
.sidebar nav a[aria-current] { color: #6946ce; background: var(--purple-soft); font-weight: 750; }
.sidebar nav a[aria-current] .icon, .stat-icon.violet .icon { filter: invert(32%) sepia(25%) saturate(2621%) hue-rotate(225deg) brightness(92%); opacity: 1; }
.sidebar nav .icon { width: 18px; height: 18px; }
.sidebar-bottom { margin-top: auto; padding: 20px 17px 0; }
.worker-card { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fcfcfd; color: var(--ink); }
.worker-card:hover { background: #f7f7fa; color: var(--ink); }
.worker-title { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #c69036; box-shadow: 0 0 0 3px #faf1de; flex-shrink: 0; }
.status-dot.online { background: #3b9373; box-shadow: 0 0 0 3px #e8f5ee; }
.worker-description { font-size: 11px; color: var(--muted); padding-left: 13px; }
.account { display: flex; gap: 9px; align-items: center; margin: 20px -3px 0; padding: 17px 0; border-top: 1px solid var(--line); }
.avatar { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; flex-shrink: 0; background: #f3e8dc; border: 3px solid #fff; outline: 1px solid #ece8e2; font-size: 12px; font-weight: 700; color: #8d6b48; }
.account-info { display: grid; flex: 1; min-width: 0; }
.account strong { font-size: 11px; overflow-wrap: anywhere; }
.account-info span { font-size: 11px; color: var(--muted); }
.account form { margin: 0; }
.account .icon { width: 16px; height: 16px; }
.workspace { min-width: 0; margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { min-height: 65px; padding: 12px 32px; background: #ffffffd9; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 11px; }
.breadcrumb-root { color: var(--muted); white-space: nowrap; }
.breadcrumbs > .icon { width: 13px; height: 13px; opacity: .3; }
.breadcrumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; font-weight: 650; }
.topbar-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.topbar-meta .icon { width: 14px; height: 14px; opacity: .45; }
.nav-toggle, .nav-close, .nav-overlay { display: none; }
main { width: 100%; max-width: 1640px; padding: 27px 32px 36px; margin: 0 auto; flex: 1; min-width: 0; overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 9px; font-size: 28px; font-weight: 750; letter-spacing: -1px; line-height: 1.25; }
h2 { margin-bottom: 18px; font-size: 14px; font-weight: 750; line-height: 1.5; letter-spacing: -.2px; }
h3 { margin: 25px 0 10px; font-size: 13px; font-weight: 700; }
p { margin-bottom: 14px; }
.muted { color: var(--muted); }
.small, .help { font-size: 11px; }
.eyebrow { margin-bottom: 8px; color: #7a7e8e; font-size: 11px; font-weight: 600; letter-spacing: .5px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 4px 0 27px; }
.page-heading > div { min-width: 0; }
.page-heading p { margin-bottom: 0; font-size: 12px; }
.page-heading > .action-row { margin: 0; }
.dashboard-heading { margin-top: 26px; }
.dashboard-heading h1 { font-size: 30px; }
.demo-notice { margin-bottom: 22px; border: 1px solid #e6e2ef; background: #f2eff8; border-radius: 8px; color: #6d647c; font-size: 11px; }
.demo-notice summary { display: flex; align-items: center; gap: 9px; padding: 9px 12px; cursor: pointer; list-style: none; }
.demo-notice summary::-webkit-details-marker { display: none; }
.demo-notice .icon { width: 14px; height: 14px; opacity: .5; }
.demo-notice strong { font-weight: 750; white-space: nowrap; }
.demo-notice summary > span { border-left: 1px solid #dcd5e8; padding-left: 10px; }
.demo-notice p { padding: 0 12px 10px 35px; margin-bottom: 0; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 25px; }
.stat-card { display: block; min-width: 0; padding: 18px 19px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 2px 2px #242b4302; transition: border-color .16s, box-shadow .16s; }
.stat-card:hover { color: var(--ink); border-color: #cec1ef; box-shadow: 0 4px 14px #66529009; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #666c7f; font-size: 12px; font-weight: 600; }
.stat-icon { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 9px; flex-shrink: 0; }
.stat-icon.violet { background: #f2edfc; }
.stat-icon.blue { background: #edf3fd; }
.stat-icon.blue .icon { filter: invert(40%) sepia(42%) saturate(1178%) hue-rotate(185deg); opacity: 1; }
.stat-icon.mint { background: #eaf5f0; }
.stat-icon.mint .icon { filter: invert(39%) sepia(42%) saturate(594%) hue-rotate(110deg); opacity: 1; }
.stat-icon.amber { background: #fcf4e8; }
.stat-icon.amber .icon { filter: invert(51%) sepia(24%) saturate(1060%) hue-rotate(351deg); opacity: 1; }
.stat-card > strong { display: block; margin: 8px 0 13px; font-size: 34px; letter-spacing: -1.2px; line-height: 1.2; font-weight: 750; font-variant-numeric: tabular-nums; }
.stat-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: #737889; }
.stat-bottom .icon { width: 14px; height: 14px; opacity: .35; }
.panel { padding: 23px; margin-bottom: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 2px #242b4302; min-width: 0; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 23px; align-items: start; }
.dashboard-main, .dashboard-aside { min-width: 0; }
.dashboard-panel { padding: 21px 22px; margin-bottom: 23px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 11px; }
.section-heading form { max-width: 100%; }
.section-title { display: flex; gap: 9px; align-items: center; }
.section-caption { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 21px; border-radius: 6px; padding: 1px 6px; background: #f3f3f7; color: #777b8d; font-size: 11px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.text-link .icon { width: 14px; height: 14px; filter: invert(30%) sepia(27%) saturate(2406%) hue-rotate(229deg); opacity: .8; }
.table-scroll { position: relative; overflow: auto; width: 100%; max-width: 100%; min-width: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.table-scroll table { min-width: 660px; }
th { color: #787d8d; font-size: 11px; font-weight: 600; background: #fafbfc; white-space: nowrap; }
th, td { padding: 15px 13px; border-bottom: 1px solid #eff0f4; vertical-align: middle; }
th { padding-top: 10px; padding-bottom: 10px; border-top: 1px solid #eff0f4; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfbfe; }
td a.strong { color: #363b4c; }
td a.strong:hover { color: var(--purple-dark); }
.strong { font-weight: 700; }
.sub { display: block; color: #737889; font-size: 11px; margin-top: 4px; overflow-wrap: anywhere; max-width: 330px; }
.mono, code, pre, .log-output { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.nowrap { white-space: nowrap; }
.wrap { overflow-wrap: anywhere; }
.status, .tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid #e8e9ee; border-radius: 5px; background: #f6f7f9; color: #666d7e; font-size: 11px; font-weight: 600; line-height: 1.45; }
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: .8; }
.table-scroll .status { white-space: nowrap; }
.status.ready, .status.succeeded, .status.handed-off { color: #26785b; background: #eef8f3; border-color: #deeee5; }
.status.failed, .status.interrupted { color: #b33a50; background: #fff1f3; border-color: #f3dce1; }
.status.running, .status.queued, .status.pending, .status.preparing { color: #987028; background: #fff8e9; border-color: #f1e6cc; }
.status.prepared-empty, .status.ci-managed { color: #536bbb; background: #f0f3fc; border-color: #e0e6f7; }
.entity { display: flex; align-items: center; gap: 11px; }
.entity > div { min-width: 0; }
.entity-icon { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 36px; background: #f7f7fa; border: 1px solid #eaeaf0; border-radius: 8px; flex-shrink: 0; }
.entity-icon .icon { width: 17px; height: 17px; opacity: .5; }
.sites-panel { padding-left: 0; padding-right: 0; padding-bottom: 0; overflow: hidden; }
.sites-panel > .section-heading { padding: 0 22px; }
.table-scroll .overview-sites { min-width: 520px; }
.overview-sites th:first-child, .overview-sites td:first-child { padding-left: 22px; }
.overview-sites td { padding-top: 18px; padding-bottom: 18px; }
.overview-sites td:first-child { width: 42%; }
.overview-sites td:last-child { width: 38px; padding: 6px 11px 6px 0; }
.overview-sites td:last-child .icon { width: 15px; height: 15px; opacity: .35; }
.stack-label { font-size: 11px; }
.environment-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.environment-dot.dev { background: #9c83d9; }
.environment-dot.prod { background: #5d9f8d; }
.panel-footnote { display: flex; align-items: center; gap: 7px; padding: 12px 22px; border-top: 1px solid #eff0f4; font-size: 11px; color: #737889; }
.panel-footnote .icon { width: 13px; height: 13px; opacity: .4; }
.empty { text-align: center; padding: 35px 24px; color: var(--muted); font-size: 12px; }
.empty strong { display: block; color: #585e70; font-size: 12px; font-weight: 650; }
.empty p { max-width: 300px; margin: 7px auto 0; font-size: 11px; line-height: 1.8; }
.empty .text-link { margin-top: 17px; }
.empty-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin: 0 auto 15px; border-radius: 12px; background: #f6f4fa; border: 1px solid #eeebf5; }
.empty-icon .icon { width: 21px; height: 21px; opacity: .4; }
.table-scroll table:has(tbody > tr:only-child > td.empty) { min-width: 0; }
.table-scroll td.empty { white-space: normal; }
.operation-list { margin: 0 -22px -6px; }
.operation-item { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid #eff0f4; color: var(--ink); }
.operation-item:hover { background: #fcfbfe; color: var(--ink); }
.operation-icon { display: flex; align-items: center; justify-content: center; background: #f5f5fa; border-radius: 10px; width: 33px; height: 33px; flex-shrink: 0; }
.operation-icon.succeeded { background: #eef8f3; }
.operation-icon.failed, .operation-icon.interrupted { background: #fff1f3; }
.operation-copy { display: grid; flex: 1; min-width: 0; }
.operation-copy strong { font-size: 12px; font-weight: 650; }
.operation-copy > span { margin-top: 3px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.operation-item > .icon { width: 14px; height: 14px; opacity: .3; }
.operations-empty { padding: 28px 20px 32px; border-top: 1px solid #eff0f4; }
.placement-panel > .section-heading { margin-bottom: 19px; }
.muted-icon { opacity: .35; }
.environment-list { margin: 0 -2px; }
.environment-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; color: var(--ink); }
.environment-row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.environment-row strong { font-size: 11px; font-weight: 650; }
.environment-row small { font-size: 11px; color: var(--muted); }
.environment-row > .icon { width: 13px; height: 13px; opacity: .3; }
.environment-badge { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 38px; border: 1px solid #e9e3f6; border-radius: 8px; font-size: 11px; font-weight: 750; letter-spacing: .5px; background: #f6f2fc; color: #8b70b9; flex-shrink: 0; }
.environment-badge.prod { background: #edf7f4; color: #548b78; border-color: #dfede7; }
.placement-summary { display: flex; align-items: center; justify-content: space-between; padding-top: 21px; margin: 16px 0 18px; border-top: 1px solid var(--line); color: #737889; font-size: 11px; }
.placement-summary strong { font-size: 18px; color: var(--ink); }
.allocation-states { display: grid; gap: 15px; }
.allocation-state { --state-color: #9b84d1; }
.allocation-state.preparing { --state-color: #d3aa5c; }
.allocation-state.prepared { --state-color: #7d9acf; }
.allocation-state.handed-off { --state-color: #6da98f; }
.allocation-state > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 11px; color: #6a7082; }
.allocation-state > div > span { display: flex; gap: 7px; align-items: center; }
.allocation-state strong { color: #565c6d; font-weight: 700; font-variant-numeric: tabular-nums; }
.allocation-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--state-color); }
progress { appearance: none; border: none; border-radius: 10px; overflow: hidden; background: #f1f1f6; width: 100%; height: 8px; margin: 7px 0 17px; accent-color: var(--purple); }
progress::-webkit-progress-bar { background: #f1f1f6; border-radius: 10px; }
progress::-webkit-progress-value { background: var(--state-color, var(--purple)); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--state-color, var(--purple)); border-radius: 10px; }
.allocation-state progress { display: block; height: 4px; margin: 0; }
.placement-help { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 22px; color: #737889; font-size: 11px; }
.placement-help summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.placement-help summary::-webkit-details-marker { display: none; }
.placement-help .icon { width: 13px; height: 13px; opacity: .4; }
.placement-help p { margin: 10px 0 0; line-height: 1.9; }
.clients-panel .section-heading { margin-bottom: 8px; }
.client-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; color: var(--ink); }
.client-item > span:nth-child(2) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.client-item strong { font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.client-item small { font-size: 11px; color: var(--muted); }
.client-item > .icon { width: 13px; height: 13px; opacity: .3; }
.client-avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid #eae4f4; background: #f5f0fb; color: #9b7cbe; font-size: 14px; font-weight: 650; flex-shrink: 0; }
.add-client { width: 100%; margin-top: 14px; min-height: 34px; font-size: 11px; border-style: dashed; color: #7a7d8f; }
.add-client .icon { width: 13px; height: 13px; opacity: .45; }
.notice { margin-bottom: 22px; display: grid; gap: 5px; padding: 15px 17px; border-radius: 9px; border: 1px solid #e0e6f2; background: #f3f6fc; color: #596987; font-size: 12px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { font-weight: 700; }
.notice.warning { background: #fffaef; border-color: #f0e3c5; color: #886b32; }
.notice.error { background: #fff2f4; border-color: #f1d7dd; color: #a9344b; }
.notice.success { background: #eff8f4; border-color: #d4eadd; color: #2f7556; }
.back-link { display: inline-flex; font-size: 11px; color: #7a718b; margin-bottom: 20px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 660px) minmax(220px, 1fr); gap: 35px; max-width: 1100px; }
.form-panel { padding: 28px; }
.explanation { max-width: 330px; padding: 20px 0; color: var(--muted); font-size: 12px; }
.explanation h2 { color: #4e5366; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 650; color: #505568; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #dfe2e9; border-radius: 8px; padding: 10px 12px; background: #fff; color: #303548; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: #989caa; font-size: 11px; }
.field input:hover, .field select:hover { border-color: #bfb4d8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); }
.field input[aria-invalid=true], .field select[aria-invalid=true] { border-color: #b43548; }
.help { margin-top: 7px; color: #777c8e; line-height: 1.8; overflow-wrap: anywhere; }
.field-error { color: #ae334b; font-size: 11px; margin-top: 6px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap; }
.checkbox-field input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--purple); }
.checkbox-field label { flex: 1; margin: 0; font-weight: 450; }
.checkbox-field .help, .checkbox-field .field-error { flex-basis: 100%; }
.form-actions { border-top: 1px solid var(--line); padding-top: 23px; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.filter-form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; font-size: 12px; }
.filter-form select { min-height: 40px; max-width: 100%; border: 1px solid #dfe2e9; border-radius: 8px; padding: 8px 30px 8px 10px; background: white; color: #505568; }
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
dl { display: grid; grid-template-columns: 145px minmax(0, 1fr); font-size: 12px; gap: 13px 18px; margin: 21px 0; }
dt { color: #737889; }
dd { margin: 0; overflow-wrap: anywhere; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0; min-width: 0; }
.action-row form { display: flex; gap: 8px; flex-wrap: wrap; }
.action-row a { font-size: 12px; }
.danger-zone { margin-top: 25px; padding-top: 19px; border-top: 1px solid #f0dfe3; font-size: 12px; }
.danger-zone summary { color: #b43548; cursor: pointer; font-weight: 650; }
.danger-zone p { margin-top: 15px; color: var(--muted); }
.capacity-note { margin: 16px 0 0; }
.capacity-note summary { cursor: pointer; color: var(--purple-dark); font-size: 11px; }
.env-card .primary { margin-top: 10px; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; }
.timeline time { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.log-output, pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f8f9fc; border: 1px solid var(--line); border-radius: 8px; padding: 17px; font-size: 11px; max-height: 520px; overflow: auto; }
.log-output > div { padding: 7px 0; border-bottom: 1px solid var(--line); }
.log-time { color: #7a7f8f; font-size: 11px; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; color: var(--muted); font-size: 11px; }
footer { display: flex; justify-content: space-between; gap: 12px; margin: 0 32px; padding: 18px 0; border-top: 1px solid var(--line); color: #737889; font-size: 11px; }
.footer-dot { margin: 0 8px; color: #a6a9b7; }
.auth-workspace { margin: 0; width: 100%; }
.auth-workspace main { max-width: 640px; padding-top: 8vh; }
.auth-workspace .demo-notice { margin-bottom: 35px; }
.auth-workspace footer { max-width: 576px; width: calc(100% - 64px); margin: 0 auto; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; max-width: 440px; margin: 25px auto; padding: 38px; box-shadow: 0 12px 35px #2e214d06; }
.login-symbol { display: flex; align-items: center; justify-content: center; background: var(--purple); width: 44px; height: 44px; border-radius: 12px; margin-bottom: 26px; }
.login-symbol .icon { width: 25px; height: 25px; }
.login-card h1 { font-size: 25px; letter-spacing: -.7px; }
.login-card > p { font-size: 12px; }
.login-card form { margin: 27px 0 24px; }
.login-card button { width: 100%; justify-content: space-between; min-height: 44px; padding-left: 15px; padding-right: 15px; }
.login-help { display: flex; align-items: center; gap: 7px; color: #737889; font-size: 11px !important; margin-bottom: 0; }
.login-help .icon { width: 14px; height: 14px; opacity: .4; }
.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; }
@media (min-width: 1500px) {
  :root { --sidebar: 238px; }
  main { padding: 32px 42px 40px; }
  .topbar { padding-left: 42px; padding-right: 42px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .stats { gap: 23px; }
  .stat-card { padding: 20px 23px 17px; }
  footer { margin-left: 42px; margin-right: 42px; }
}
@media (max-width: 1200px) {
  :root { --sidebar: 196px; }
  main { padding: 24px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
  .sidebar-head { padding-left: 21px; }
  .sidebar nav { padding-left: 10px; padding-right: 10px; }
  .sidebar nav a { font-size: 12px; gap: 10px; }
  .sidebar-bottom { padding-left: 13px; padding-right: 13px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 264px; gap: 18px; }
  .dashboard-panel { padding: 19px 18px; }
  .sites-panel { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .stats { gap: 12px; }
  .stat-card { padding: 15px; }
  .stat-top { font-size: 11px; }
  .stat-icon { width: 29px; height: 29px; }
  .stat-bottom { font-size: 11px; }
  .detail-grid { grid-template-columns: 1fr; gap: 0; }
  .operation-list { margin-left: -18px; margin-right: -18px; }
  .operation-item { padding-left: 18px; padding-right: 18px; }
  .form-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 225px; }
}
@media (max-width: 1000px) {
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dashboard-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .stat-top { font-size: 11px; }
  .stat-bottom { font-size: 11px; }
  .stat-card > strong { font-size: 30px; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
  .explanation { max-width: none; padding: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .workspace { margin-left: 0; }
  .sidebar { position: static; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-head { height: 65px; padding: 0 20px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 18px; }
  .nav-label { grid-column: 1 / -1; margin-top: 16px; }
  .sidebar nav a { font-size: 12px; min-height: 44px; }
  .sidebar-bottom { display: none; }
  .has-js .sidebar { position: fixed; width: 268px; transform: translateX(-100%); transition: transform .2s ease; border-right: 1px solid var(--line); }
  .has-js .sidebar nav { display: block; }
  .has-js .sidebar-bottom { display: block; }
  .has-js .nav-toggle, .has-js .nav-close { display: inline-flex; }
  .nav-close { margin-left: auto; }
  .nav-open { overflow: hidden; }
  .nav-open .sidebar { transform: translateX(0); }
  .nav-overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 19; width: 100%; height: 100%; border: 0; border-radius: 0; background: #23203855; backdrop-filter: blur(2px); }
  .topbar { min-height: 59px; padding: 10px 17px; gap: 10px; }
  .breadcrumbs { gap: 8px; }
  .breadcrumb-root { display: none; }
  .breadcrumbs > .icon { display: none; }
  .breadcrumb-current { font-size: 12px; max-width: 250px; }
  .topbar-meta { font-size: 11px; }
  .topbar-meta .icon { display: none; }
  main { padding: 20px; }
  .dashboard-heading { margin-top: 22px; }
  h1, .dashboard-heading h1 { font-size: 27px; }
  .page-heading { gap: 17px; margin-bottom: 24px; }
  .page-heading p { font-size: 11px; }
  .demo-notice { font-size: 11px; }
  .demo-notice summary { gap: 7px; align-items: flex-start; }
  .demo-notice .icon { margin-top: 1px; }
  .stats { gap: 12px; margin-bottom: 20px; }
  .stat-card { padding: 16px; border-radius: 11px; }
  .stat-card > strong { margin-top: 10px; }
  .panel { padding: 20px; border-radius: 12px; margin-bottom: 20px; }
  .sites-panel { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .dashboard-panel > .section-heading { gap: 8px; }
  .dashboard-aside { gap: 16px; }
  .table-scroll table { min-width: 610px; }
  .table-scroll .overview-sites { min-width: 520px; }
  .operation-list { margin-left: -20px; margin-right: -20px; }
  .operation-item { padding-left: 20px; padding-right: 20px; }
  .form-panel { padding: 23px 20px; }
  .field input:not([type=checkbox]), .field select, .field textarea { font-size: 16px; }
  .field input::placeholder, .field textarea::placeholder { font-size: 12px; }
  .action-row { gap: 8px; }
  .action-row button, .action-row .button { font-size: 11px; }
  .form-actions .primary { max-width: 100%; }
  dl { grid-template-columns: 105px minmax(0, 1fr); font-size: 11px; gap: 12px; }
  footer { margin: 0 20px; font-size: 11px; }
  .login-card { padding: 30px; }
  .auth-workspace main { padding-top: 28px; }
  .auth-workspace footer { width: calc(100% - 40px); }
}
@media (max-width: 480px) {
  main { padding: 18px 16px 26px; }
  .topbar { padding-left: 10px; padding-right: 16px; }
  .breadcrumb-current { max-width: 165px; }
  .topbar-meta { font-size: 11px; }
  .page-heading .action-row { width: 100%; }
  .page-heading .action-row .primary { flex: 1; }
  .stat-card { padding: 14px; }
  .stat-top { font-size: 11px; align-items: flex-start; }
  .stat-icon { width: 27px; height: 27px; border-radius: 7px; }
  .stat-icon .icon { width: 15px; height: 15px; }
  .stat-card > strong { font-size: 29px; }
  .stat-bottom { font-size: 10px; gap: 3px; }
  .stat-bottom .icon { width: 12px; height: 12px; }
  .dashboard-aside { display: block; }
  .section-heading h2 { font-size: 13px; }
  .section-heading > a { font-size: 11px; }
  .panel-footnote { font-size: 11px; }
  .operation-item { gap: 9px; flex-wrap: wrap; }
  .operation-item > .icon { display: none; }
  .operation-copy { min-width: 130px; }
  .operation-item .status { margin-left: 42px; }
  .operation-copy strong { font-size: 12px; }
  .operation-copy > span { font-size: 11px; }
  .login-card { padding: 27px 24px; margin: 18px auto; }
  .login-card h1 { font-size: 23px; }
  .demo-notice summary > span { font-size: 10px; }
  .form-layout { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.server-links { display: grid; gap: 8px; }
.server-links a { display: flex; gap: 8px; align-items: center; color: #62697e; font-size: 11px; }
.server-links a:hover { color: var(--purple-dark); }
.environment-chip { display: inline-flex; justify-content: center; min-width: 35px; padding: 1px 5px; border-radius: 4px; background: #f2eef9; color: #7b62a4; font-size: 9px; font-weight: 700; }
.environment-chip.prod { background: #edf6f1; color: #4c826b; }

.mobile-environment { display: none; }
@media (max-width: 560px) {
  .table-scroll .overview-sites { min-width: 0; }
  .overview-sites thead { display: none; }
  .overview-sites tbody { display: block; }
  .overview-sites tbody tr:not(:has(.empty)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; padding: 18px 20px; gap: 16px 12px; border-top: 1px solid var(--line); }
  .overview-sites tbody td { display: block; padding: 0; width: auto; border: 0; }
  .overview-sites tbody td:first-child { grid-column: 1 / -1; padding: 0 25px 0 0; width: auto; }
  .overview-sites tbody td:last-child:not(.empty) { position: absolute; top: 17px; right: 10px; padding: 0; width: auto; }
  .overview-sites .mobile-environment { display: block; margin-bottom: 6px; font-size: 10px; color: #777184; font-weight: 700; letter-spacing: .6px; }
  .overview-sites tbody td.empty { padding: 30px 20px; }
  .overview-sites .status { font-size: 10px; white-space: normal; }
  .overview-sites .stack-label { font-size: 10px; }
}

.gitlab-filters { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 24px; }
.gitlab-filters .field { flex: 1; min-width: 180px; margin: 0; }
.table-wrap { overflow-x: auto; }
.status.success { background: #edf6f1; color: #387255; }
.status.missing, .status.incomplete, .status.manual, .status.unknown { background: #fff3dc; color: #855812; }
.status.canceled { background: #f8e9ec; color: #a63d51; }

.gitlab-table { min-width: 760px; }
.gitlab-table td:first-child { min-width: 210px; }
.page-heading h1 .count-badge { vertical-align: middle; margin-left: 6px; }

.gitlab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.gitlab-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 24px; }
.gitlab-source { margin: 0; min-width: 0; }
.gitlab-source .section-heading { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.gitlab-source p { margin: 8px 0; }
.main-actions { margin: 0 0 24px; }
.access-item { padding: 18px 0; border-bottom: 1px solid var(--border, #e8ebf0); }
.access-item:last-child { border-bottom: 0; }
.access-item form, .access-item details { margin-top: 12px; }
.access-item label { display: block; margin-bottom: 10px; }
.panel > form label { display: block; }
@media(max-width:700px) { .main-actions .button { flex:1 1 100%; } .access-item input { max-width:100%; } }

.domain-actions { display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start; }
.domain-actions form { flex:1 1 260px; }
.domain-actions [role="status"] { display:block; margin-top:8px; }
.domain-observations { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; }
.domain-observation { border:1px solid var(--border,#e1e5eb); border-radius:8px; padding:12px; min-width:0; }
.domain-observation p { margin:6px 0 0; }
.domain-binding table { min-width:640px; }
.domain-binding caption { text-align:left; padding:12px 0; font-weight:650; }

/* Developer handbook uses the same navigation and form system as operations. */
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.handbook-search { display: flex; gap: 10px; max-width: 720px; margin: 20px 0 24px; }
.handbook-search input { flex: 1; min-width: 0; }
.handbook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-bottom: 24px; }
.handbook-grid.placements { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.handbook-grid .panel { margin: 0; min-width: 0; }
.project-card { display: flex; flex-direction: column; align-items: flex-start; }
.project-card h2 { margin: 2px 0; font-size: 20px; }
.project-places { width: 100%; border-top: 1px solid var(--line); margin: 10px 0 20px; padding-top: 10px; }
.project-places p { display: flex; align-items: center; gap: 10px; }
.project-open { margin-top: auto; font-weight: 700; }
.environment-chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; background: var(--purple-soft); color: var(--purple-dark); font-size: 11px; font-weight: 800; }
.environment-chip.prod { background: #e7f2ed; color: #206048; }
.handbook-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.section-heading { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.section-heading h2, .section-heading h3 { margin: 0; }
.personal-connection { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.connection-command { display: block; background: #f5f4f9; padding: 12px 14px; border-radius: 8px; overflow-wrap: anywhere; }
.key-status-row { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: baseline; border-top: 1px solid var(--line); padding: 12px 0; }
.key-status-row .small { flex-basis: 100%; }
.key-status { color: #77561a; font-size: 12px; }
.key-status.confirmed { color: #206048; }
.key-status.revoked, .key-status.removing { color: #a33240; }
.key-status.absent, .key-status.unverified { color: var(--muted); }
.device-card { border-top: 1px solid var(--line); padding: 20px 0; }
.device-card h3 { margin: 0 0 10px; }
.device-card details { margin-top: 12px; }
.device-card form { max-width: 620px; }
.device-card input { margin: 8px 0 12px; }
.change-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.change-row h2 { font-size: 16px; margin: 0; }
.change-row p { margin: 5px 0 0; }
.change-row time { flex-shrink: 0; font-size: 11px; color: var(--muted); }
.handbook-change { padding-bottom: 14px; }
.handbook-change .change-row { border: 0; }
.change-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.change-diff > div { min-width: 0; }
.change-diff pre, .device-card pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-prose { overflow-wrap: anywhere; line-height: 1.8; }
.field.multiple { display: block; border: 0; padding: 0; min-width: 0; }
.field.multiple legend { font-weight: 650; margin-bottom: 10px; }
.field.multiple label { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; margin: 10px 0; }
.field.multiple input { width: auto; flex-shrink: 0; margin-top: 5px; }
.field.multiple label { padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; cursor: pointer; }
.field.multiple label:has(input:checked) { border-color: #b5a2e4; background: var(--purple-soft); }
.field.multiple input[type=checkbox] { accent-color: var(--purple); width: 17px; height: 17px; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; background: #f1f2f6; color: #555d70; font-size: 11px; line-height: 1.5; }
.badge.verified { background: #eaf5ee; color: #276345; }
.badge.revoked { background: #fbeef0; color: #a33240; }
.devices-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,360px),1fr)); gap: 18px; margin-top: 22px; }
.profile-device { padding: 20px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.profile-device .section-heading { align-items: flex-start; gap: 8px; }
.profile-device .section-heading h3 { margin: 0; font-size: 15px; }
.profile-device .fingerprint-label { margin: 20px 0 5px; font-size: 10px; }
.device-card code { display: block; overflow-wrap: anywhere; }
.device-card label { overflow-wrap: anywhere; }
.device-card summary, .placement-details summary { cursor: pointer; padding: 6px 0; }
.key-revoke-details summary { color: #a33240; }
.placement-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.personal-connection h3 { margin: 0 0 10px; }
.personal-connection > p:first-of-type { color: #77561a; font-size: 12px; }
.personal-connection .button { margin-top: 12px; }
.handbook-grid .empty { grid-column: 1 / -1; }
.placement-card .section-heading h2 { overflow-wrap: anywhere; }
.handbook-search.field input { width: auto; }
.request-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,420px); gap: 22px; align-items: start; }
.request-layout > div { min-width: 0; }
.request-layout > .form-panel { position: sticky; top: 86px; }
.request-layout .form-panel .action-row button { width: 100%; }
.handbook-links [aria-current=page] { background: var(--purple-soft); border-color: #c8b9e9; color: var(--purple-dark); }
@media (max-width: 1100px) {
  .request-layout { grid-template-columns: 1fr; }
  .request-layout > .form-panel { position: static; }
}
@media (max-width: 760px) {
  .change-row { flex-direction: column; gap: 6px; }
  .change-diff { grid-template-columns: 1fr; }
  .handbook-search { flex-wrap: wrap; }
  .placements dl { grid-template-columns: 1fr; }
  .placements dd { margin-bottom: 8px; }
}

/* Server connection follows the dashboard's existing form and panel language. */
.journey-steps {display:flex;flex-wrap:wrap;gap:.65rem;list-style:none;padding:0;margin:1rem 0 1.4rem}
.journey-steps li {border:1px solid var(--border,#dce2e9);border-radius:6px;padding:.55rem .8rem;font-size:.9rem}
.journey-steps .complete {background:#e9f4ee;color:#205b3a;border-color:#bfdcc9}
.onboarding-steps {padding-left:1.25rem;line-height:1.65}.onboarding-steps li{margin-bottom:.65rem}
.fingerprint {padding:1rem;background:var(--bg,#f5f7fa);border-radius:6px;overflow-wrap:anywhere}
[hidden] {display:none!important}
@media(max-width:650px){.journey-steps{display:grid;grid-template-columns:1fr 1fr}.journey-steps li{font-size:.8rem;padding:.55rem}.fingerprint{font-size:.85rem}}
