:root {
  --sidebar: #10201b;
  --sidebar-line: rgba(236, 244, 237, 0.13);
  --sidebar-text: #eef5ef;
  --sidebar-muted: #8fa79b;
  --canvas: #eef1ec;
  --surface: #f8faf7;
  --ink: #16201c;
  --muted: #66736c;
  --line: #d3dad4;
  --accent: #b8ee63;
  --accent-ink: #1b2a20;
  --cyan: #2aa6a1;
  --warn: #d59d22;
  --bad: #c95050;
  --sidebar-width: 224px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "IBM Plex Sans", "Aptos", sans-serif; }
button, a { font: inherit; }
button { letter-spacing: 0; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; color: var(--sidebar-text); background: var(--sidebar); border-right: 1px solid #263832; z-index: 30; }
.brand-block { height: 76px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--sidebar-line); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent); font-family: "Bahnschrift", sans-serif; font-size: 13px; font-weight: 800; }
.brand-block div { min-width: 0; display: grid; gap: 3px; }
.brand-block strong { font-size: 14px; white-space: nowrap; }
.brand-block small { color: var(--sidebar-muted); font-size: 9px; letter-spacing: .16em; }
.service-nav { flex: 1; overflow-y: auto; padding: 18px 8px; }
.nav-label { margin: 16px 0 7px; color: var(--sidebar-muted); font-size: 10px; text-align: center; text-transform: uppercase; letter-spacing: .15em; }
.nav-label:first-child { margin-top: 0; }
.nav-item { width: 100%; min-height: 54px; display: grid; justify-items: center; gap: 3px; padding: 9px 10px; color: var(--sidebar-text); text-align: center; border: 0; border-left: 3px solid transparent; background: transparent; cursor: pointer; }
.nav-item span { font-size: 14px; font-weight: 700; }
.nav-badge { display: inline-grid; min-width: 17px; height: 17px; margin-left: 4px; place-items: center; padding: 0 4px; border-radius: 9px; color: #fff; background: #c43838; font-size: 10px; line-height: 1; vertical-align: 1px; }
.nav-item small { max-width: 100%; overflow-wrap: anywhere; color: var(--sidebar-muted); font-size: 11px; }
.nav-item:hover { background: rgba(238, 245, 239, .07); }
.nav-item.active { color: var(--accent); border-left-color: var(--accent); background: rgba(184, 238, 99, .09); }
.nav-item.active small { color: #c3d1c8; }
.nav-item.nav-item-planned { cursor: default; opacity: .58; }
.nav-item.nav-item-planned:hover { background: transparent; }

.workspace { min-width: 0; height: 100vh; display: grid; grid-template-rows: 64px minmax(0, 1fr); overflow: hidden; }
.workspace-bar { display: flex; align-items: center; gap: 16px; padding: 0 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.view-identity { min-width: 0; display: grid; gap: 2px; }
.view-identity strong { font-size: 14px; }
.view-identity small { color: var(--muted); font-size: 11px; }
.open-link { margin-left: auto; padding: 8px 11px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: #fff; font-size: 12px; }
.open-link:hover { border-color: var(--cyan); color: #176c69; }
.account-menu { position: relative; margin-left: 2px; }
.account-button { min-height: 34px; max-width: 210px; overflow: hidden; padding: 7px 10px; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.account-button:hover { border-color: var(--cyan); color: #176c69; }
.account-popover { position: absolute; top: calc(100% + 7px); right: 0; z-index: 40; width: 218px; padding: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 28px rgba(16, 32, 27, .16); }
.account-popover strong, .account-popover span { display: block; overflow-wrap: anywhere; }
.account-popover strong { font-size: 13px; }
.account-popover span { margin: 4px 0 10px; color: var(--muted); font-size: 11px; }
.account-popover a, .account-popover button { width: 100%; display: block; margin-top: 7px; padding: 8px 9px; color: var(--ink); text-align: left; text-decoration: none; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12px; }
.account-popover a:hover, .account-popover button:hover { border-color: var(--cyan); background: #e7efe6; }
.menu-button { display: none; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.view { min-width: 0; min-height: 0; }
.overview-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.overview-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 25px; }
.overview-heading p, .nomad-heading p { margin: 0 0 7px; color: #39716a; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.overview-heading h1, .nomad-heading h1 { margin: 0; font-family: "Bahnschrift", "Aptos Display", sans-serif; font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.overview-heading > small { color: var(--muted); font-size: 11px; }
.workspace-band { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 16px; color: var(--sidebar-text); background: var(--sidebar); border-left: 5px solid var(--accent); }
.workspace-band > div { display: flex; align-items: center; gap: 10px; }
.workspace-band strong { font-size: 13px; }
.workspace-band > span { color: #a9bbb1; font-size: 11px; }
.state-dot { flex: 0 0 auto; width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: var(--warn); }
.state-dot.ok { background: var(--accent); box-shadow: 0 0 0 4px rgba(184, 238, 99, .12); }
.state-dot.error { background: var(--bad); box-shadow: 0 0 0 4px rgba(201, 80, 80, .12); }
.state-dot.pending { background: var(--warn); }
.workspace-section { margin-top: 28px; border-top: 2px solid var(--ink); }
.section-heading { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 15px; }
.section-heading span { color: var(--muted); font-size: 11px; }
.section-heading-actions { display: flex; align-items: center; gap: 8px; }
.workspace-entry-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.doc-shortcut-list { grid-template-columns: repeat(4, minmax(220px, 1fr)); }
.workspace-entry { min-width: 0; min-height: 138px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: space-between; gap: 14px 8px; padding: 16px; color: var(--ink); text-align: left; border: 0; border-right: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.workspace-entry:last-child { border-right: 0; }
.workspace-entry:hover { background: #e7efe6; }
.workspace-entry__identity, .workspace-entry__state { min-width: 0; display: grid; gap: 4px; }
.workspace-entry__identity strong { font-size: 14px; }
.doc-shortcut-list .workspace-entry { min-height: 126px; align-content: start; gap: 12px 8px; }
.doc-shortcut-list .workspace-entry__state { align-self: start; }
.doc-shortcut-list .workspace-entry__arrow { align-self: end; }
.workspace-entry small { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; line-height: 1.45; }
.workspace-entry__state b { font-size: 12px; }
.workspace-entry--ok .workspace-entry__state b { color: #39716a; }
.workspace-entry--warn .workspace-entry__state b { color: #9a6913; }
.workspace-entry__arrow { align-self: center; color: var(--cyan); font-size: 24px; line-height: 1; }
.workspace-attention-list { display: grid; border-bottom: 1px solid var(--line); }
.workspace-attention { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; color: var(--ink); text-align: left; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.workspace-attention:last-child { border-bottom: 0; }
.workspace-attention:hover { background: #e7efe6; }
.workspace-attention > span:first-child { display: grid; gap: 3px; }
.workspace-attention strong { font-size: 12px; }
.workspace-attention small, .workspace-empty { color: var(--muted); font-size: 11px; }
.workspace-attention > span:last-child { color: var(--cyan); font-size: 22px; }
.workspace-empty { min-height: 62px; display: flex; align-items: center; padding: 0 16px; background: var(--surface); }
.embed-view { position: relative; background: #fff; }
.embed-view iframe { width: 100%; height: 100%; display: block; border: 0; background: #fff; }
.frame-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--canvas); font-size: 12px; z-index: 2; }
.frame-loading.loaded { display: none; }
.frame-failure { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 9px; padding: 24px; color: var(--ink); text-align: center; background: var(--canvas); font-size: 12px; z-index: 3; }
.frame-failure strong { font-size: 15px; }
.frame-failure span { color: var(--muted); }
.frame-failure-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 5px; }
.frame-failure-actions button, .frame-failure-actions a { min-height: 34px; padding: 8px 12px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12px; }
.frame-failure-actions button:hover, .frame-failure-actions a:hover { border-color: var(--cyan); color: #176c69; }
.external-view { display: grid; place-items: center; padding: 28px; background: var(--canvas); }
.external-entry { width: min(100%, 480px); display: grid; gap: 12px; padding: 26px; border-top: 3px solid var(--ink); background: var(--surface); box-shadow: 0 10px 28px rgba(20, 49, 42, .08); }
.external-entry p { margin: 0; color: #39716a; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.external-entry h1 { margin: 0; font-family: "Bahnschrift", "Aptos Display", sans-serif; font-size: 30px; }
.external-entry span { color: var(--muted); font-size: 12px; }
.external-entry a { justify-self: start; margin-top: 8px; padding: 10px 13px; color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 800; text-decoration: none; }
.external-entry a:hover { background: #c8e4a5; }

.nomad-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.alerts-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.boss-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.boss-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.boss-panel { margin-top: 28px; border-top: 2px solid var(--ink); background: var(--surface); }
.boss-grid .boss-panel { margin-top: 0; }
.boss-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boss-summary > div { display: grid; gap: 5px; min-height: 78px; align-content: center; padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.boss-summary > div:nth-child(2n) { border-right: 0; }
.boss-summary span, .boss-task small, .boss-review small { color: var(--muted); font-size: 10px; }
.boss-summary strong { font-size: 19px; }
.boss-summary-details { display: inline-flex; margin-left: 8px; padding: 3px 7px; color: var(--ink); border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 10px; }
.boss-summary-details:hover { border-color: var(--cyan); }
.boss-summary-conclusion { max-height: 8em; overflow: auto; white-space: pre-wrap; }
.boss-summary > div.is-expanded .boss-summary-conclusion { max-height: none; }
.boss-chat { min-height: 220px; max-height: 340px; overflow-y: auto; padding: 14px 16px; }
.boss-work-summary { display: grid; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #f4f7f3; }
.boss-work-summary > header, .boss-work-item-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.boss-work-summary > header > div { display: grid; gap: 3px; }
.boss-work-summary header span, .boss-work-summary header small, .boss-work-item small, .boss-work-item details, .boss-work-plan small { color: var(--muted); font-size: 10px; }
.boss-work-summary header strong { font-size: 14px; }
.boss-work-headline { margin: 0; font-size: 12px; line-height: 1.6; }
.boss-work-next { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; background: #fff; border-left: 3px solid var(--accent); font-size: 11px; line-height: 1.5; }
.boss-work-next--primary { border-left-color: var(--ink); }
.boss-work-next span, .boss-work-item p, .boss-work-item li { overflow-wrap: anywhere; }
.boss-work-plan { font-size: 11px; }
.boss-work-plan p { margin: 7px 0; line-height: 1.5; }
.boss-work-list { display: grid; gap: 8px; }
.boss-work-item { display: grid; gap: 7px; padding: 11px; background: #fff; border: 1px solid var(--line); }
.boss-work-item-heading strong { font-size: 12px; }
.boss-work-item-heading b { color: var(--accent-ink); font-size: 11px; }
.boss-work-item p { margin: 0; font-size: 11px; line-height: 1.55; }
.boss-work-reason { color: #785500; }
.boss-work-channel-note { display: block; color: var(--muted); line-height: 1.45; }
.boss-work-action { justify-self: start; min-height: 30px; padding: 6px 10px; border: 0; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.boss-work-action:disabled { color: var(--muted); background: #e6e9e7; cursor: wait; }
.boss-work-item details { font-size: 10px; }
.boss-work-item details ul { margin: 7px 0; padding-left: 18px; }
.boss-work-empty { color: var(--muted); font-size: 11px; }
.boss-message { display: grid; gap: 5px; margin-bottom: 12px; padding: 10px 12px; border-left: 3px solid var(--line); background: #f4f7f3; }
.boss-message--boss { border-left-color: var(--cyan); }
.boss-message--benson { border-left-color: var(--accent); }
.boss-message strong { font-size: 11px; }
.boss-message p { margin: 0; white-space: pre-wrap; font-size: 12px; line-height: 1.5; }
.boss-message time { color: var(--muted); font-size: 10px; }
.boss-chat-form { display: grid; gap: 9px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.boss-backend-field { display: grid; grid-template-columns: auto minmax(220px, 420px) minmax(0, 1fr); gap: 10px; align-items: center; }
.boss-backend-field label { font-size: 11px; font-weight: 800; }
.boss-backend-field select { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.boss-backend-field small { color: var(--muted); font-size: 10px; }
.boss-chat-form textarea { width: 100%; box-sizing: border-box; resize: vertical; padding: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.boss-chat-form button { justify-self: end; min-height: 34px; padding: 7px 12px; border: 0; color: var(--accent-ink); background: var(--accent); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.boss-task-list, .boss-review-list, .boss-process-list, .boss-operation-list { display: grid; }
.boss-operation-toolbar { display: grid; grid-template-columns: auto minmax(240px, 1fr) auto minmax(180px, .7fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.boss-operation-toolbar label { font-size: 11px; font-weight: 800; }
.boss-operation-toolbar select, .boss-operation-toolbar input { min-height: 34px; padding: 6px 9px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 11px; }
.boss-operation-toolbar button { min-height: 34px; padding: 7px 12px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.boss-operation-item { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(120px, .7fr) minmax(0, 2fr) minmax(190px, 1fr); gap: 14px; align-items: center; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.boss-operation-item > div { min-width: 0; display: grid; gap: 4px; }
.boss-operation-item strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-operation-item small { color: var(--muted); font-size: 10px; }
.boss-query-notice, .boss-section-help { margin: 0 0 12px; color: var(--muted); line-height: 1.6; }
.boss-query-notice { padding: 10px 12px; border-left: 3px solid var(--accent); background: #f3f6f3; }
.boss-work-actions, .boss-query-action, .boss-task-query-action, .boss-work-decision .boss-acceptance-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.boss-work-actions button, .boss-query-action button, .boss-task-query-action button { min-height: 30px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.boss-work-decision { margin-top: 8px; padding: 12px; border: 1px solid #c8861a; background: #fff9ed; }
.boss-work-decision > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.boss-topic-history, .boss-operation-catalog > div { display: grid; gap: 8px; }
.boss-topic-history-item, .boss-operation-catalog article { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.boss-topic-history-item div, .boss-operation-catalog article { min-width: 0; }
.boss-topic-history-item small, .boss-topic-history-item span, .boss-operation-catalog small, .boss-operation-catalog span { display: block; color: var(--muted); overflow-wrap: anywhere; }
.boss-operation-description { margin: 12px 16px; padding: 14px; border: 1px solid var(--line); background: #f3f6f3; }
.boss-operation-description dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.boss-operation-description dt { color: var(--muted); font-size: 10px; }
.boss-operation-description dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 11px; }
.boss-operation-catalog { margin: 0 16px 12px; }
.boss-operation-catalog article { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.4fr) minmax(0, 1fr); }
.boss-operation-item details { min-width: 0; }
.boss-operation-item details pre { max-height: 280px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10px; }
.boss-process-item { display: grid; grid-template-columns: 130px minmax(150px, .8fr) minmax(0, 2fr) minmax(190px, 1fr); gap: 14px; align-items: center; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.boss-process-item > div { min-width: 0; display: grid; gap: 4px; }
.boss-process-item strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-process-item small { color: var(--muted); font-size: 10px; }
.boss-process-state { display: inline-flex; align-items: center; width: max-content; min-height: 22px; padding: 3px 7px; border: 1px solid var(--line); font-size: 10px; font-weight: 800; }
.boss-process-state--running { color: #785500; border-color: #e7bd52; background: #fff7dc; }
.boss-process-state--completed { color: #14663d; border-color: #8bcda9; background: #ecf9f1; }
.boss-process-state--failed { color: #9d1d2d; border-color: #ef9da7; background: #fff0f2; }
.boss-process-state--accepted { color: #785500; border-color: #e7bd52; background: #fff7dc; }
.boss-process-state--rolled_back { color: #785500; border-color: #e7bd52; background: #fff7dc; }
.boss-task, .boss-review { display: grid; grid-template-columns: minmax(170px, 1.5fr) minmax(110px, .8fr) minmax(130px, 1fr) minmax(180px, 1.5fr); gap: 14px; align-items: center; min-height: 72px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.boss-task > div, .boss-review > div { min-width: 0; display: grid; gap: 4px; }
.boss-task strong, .boss-review strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-task b, .boss-review b { font-size: 11px; }
.boss-task-result > strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.45; }
.boss-task-result button { justify-self: start; min-height: 25px; padding: 3px 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.boss-task-result button:hover { border-color: var(--cyan); }
.boss-task-actions { grid-column: 1 / -1; display: flex !important; flex-wrap: wrap; gap: 6px !important; padding-top: 4px; }
.boss-task-technical { min-width: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.boss-task-technical summary { cursor: pointer; font-weight: 800; }
.boss-task-actions button { min-height: 28px; padding: 5px 9px; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.boss-task-actions button:disabled { color: var(--muted); background: #f1f3f1; cursor: not-allowed; }
.boss-unavailable { margin-top: 0; }
.boss-tabs { display: flex; gap: 0; margin-top: 8px; border-bottom: 1px solid var(--line); }
.boss-tabs button { min-height: 42px; padding: 9px 18px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.boss-tabs button.is-active { color: var(--ink); border-bottom-color: var(--cyan); background: #e9f4ee; }
.boss-tabs button:hover { color: var(--ink); background: #f1f6f2; }
.boss-tabs button:focus-visible, .boss-channel-toolbar button:focus-visible, .boss-channel-table button:focus-visible, .node-register-form button:focus-visible { outline: 3px solid rgba(42, 166, 161, .45); outline-offset: 2px; }
.boss-tab { margin-top: 22px; }
.boss-tab[hidden] { display: none; }
.active-work-panel { display: grid; gap: 0; }
.active-work-panel .section-heading { padding: 0 16px; }
.active-work-panel .section-heading > div { display: grid; gap: 3px; }
.active-work-panel .section-heading > div > span { color: var(--muted); font-size: 10px; }
.active-work-feedback { display: grid; gap: 4px; margin: 12px 16px; padding: 10px 12px; border: 1px solid var(--line); border-left: 5px solid #7a8790; background: #f3f6f3; font-size: 11px; line-height: 1.45; }
.active-work-feedback span { color: var(--muted); }
.active-work-feedback.is-loading { border-left-color: var(--cyan); background: #e9f7f5; }.active-work-feedback.is-success { border-left-color: #26764e; background: #ecf9f1; }.active-work-feedback.is-warning { border-left-color: #9c7600; background: #fff7dc; }.active-work-feedback.is-error { border-left-color: #a01e32; background: #fff0f2; color: #8e1b2a; }
.active-work-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.active-work-overview > div { min-width: 0; display: grid; gap: 5px; padding: 12px 16px; border-right: 1px solid var(--line); }.active-work-overview > div:last-child { border-right: 0; }.active-work-overview span { color: var(--muted); font-size: 10px; }.active-work-overview strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }
.active-work-toolbar, .active-work-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.active-work-toolbar button, .active-work-actions button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }.active-work-toolbar button:first-child { border-color: #315f91; color: #173e65; background: #edf5fb; }.active-work-toolbar button:last-child { border-color: #26764e; color: #1f6241; background: #ecf9f1; }.active-work-actions button:hover, .active-work-toolbar button:hover { border-color: var(--cyan); background: #edf5ef; }
.active-work-list-heading { margin: 0; border-bottom: 1px solid var(--line); }.active-work-list-heading h3 { margin: 0; font-size: 13px; }
.active-work-policies, .active-work-runs { display: grid; }
.active-work-policy, .active-work-run { display: grid; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.active-work-policy header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.active-work-policy header > div { min-width: 0; display: grid; gap: 4px; }.active-work-policy header strong, .active-work-run strong { overflow-wrap: anywhere; font-size: 12px; }.active-work-policy header small, .active-work-run small { color: var(--muted); font-size: 10px; line-height: 1.45; }.active-work-policy p, .active-work-run p { margin: 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.55; }.active-work-run-task { padding: 8px 10px; color: #365348; border-left: 3px solid var(--cyan); background: #edf5ef; }
.active-work-status { flex: 0 0 auto; padding: 4px 7px; border: 1px solid #26764e; color: #1f6241; background: #ecf9f1; font-size: 10px; }.active-work-status--muted { border-color: var(--line); color: var(--muted); background: #f3f6f3; }
.active-work-policy-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }.active-work-policy-summary span { min-width: 0; overflow-wrap: anywhere; }
.active-work-policy details { color: var(--muted); font-size: 10px; }.active-work-policy summary, .active-work-technical summary { cursor: pointer; font-weight: 800; }.active-work-policy dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; margin: 9px 0 0; }.active-work-policy dt { color: var(--muted); }.active-work-policy dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); }
.active-work-technical { border-top: 1px solid var(--line); }.active-work-technical > summary { padding: 12px 16px; font-size: 11px; }.active-work-run { background: #fafcfb; }
.boss-workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 32%); gap: 18px; align-items: start; }
.boss-workbench .boss-panel, .boss-tab > .boss-panel:first-child { margin-top: 0; }
.boss-chat { min-height: 390px; max-height: calc(100vh - 360px); }
.boss-live-panel { position: sticky; top: 18px; max-height: calc(100vh - 150px); overflow: auto; }
.boss-live-heading-actions { display: flex; align-items: center; gap: 8px; }
.boss-live-heading-actions button { display: none; min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.boss-live-panel .boss-process-item { grid-template-columns: 1fr; gap: 6px; padding: 11px 14px; }
.boss-interaction-status { display: grid; gap: 5px; padding: 13px 14px; border-bottom: 1px solid var(--line); background: #edf5ef; }
.boss-interaction-status strong { font-size: 12px; }
.boss-interaction-status span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.boss-composer-toolbar { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.boss-control-field { flex: 0 1 max-content; min-width: 0; }
.boss-control-field select { width: auto; max-width: min(100%, 330px); min-height: 34px; padding: 6px 28px 6px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.boss-control-field--channel { flex-basis: min(320px, 100%); }
.boss-control-field--channel select { width: 100%; }
.boss-control-field--reasoning select { min-width: 96px; }
.boss-control-field--budget select { min-width: 102px; }
.boss-control-field--daily select { min-width: 154px; }
.boss-composer-toolbar > small { min-width: 0; flex: 1; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.boss-tool-button { flex: 0 0 34px; width: 34px; padding: 0 !important; border: 1px solid var(--line) !important; color: var(--ink) !important; background: #fff !important; font-size: 20px !important; }
.boss-application-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 42px; width: min(340px, calc(100vw - 32px)); display: grid; gap: 5px; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 28px rgba(7, 20, 13, .18); }
.boss-application-menu button { display: grid; gap: 3px; width: 100%; padding: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.boss-application-menu button:hover { border-color: var(--cyan); background: #f1f8f4; }
.boss-application-menu small { color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.boss-control-field--mode select { min-width: 92px; }
.boss-send-button { flex: 0 0 auto; min-width: 72px; }
.boss-draft-composer-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; padding: 9px 11px; border: 1px solid #4a8c79; border-left: 5px solid #26764e; background: #edf7ef; }
.boss-draft-composer-state > div:first-child { display: grid; min-width: 0; gap: 3px; }.boss-draft-composer-state strong { font-size: 11px; }.boss-draft-composer-state span { color: #385c4a; font-size: 10px; line-height: 1.4; }.boss-draft-composer-state.is-alternative { border-color: #2a7881; border-left-color: #187581; background: #eaf5f6; }.boss-draft-composer-state.is-alternative span { color: #315a61; }
.boss-draft-composer-actions { display: flex; flex: 0 0 auto; gap: 6px; }.boss-draft-composer-actions button { min-height: 30px; padding: 5px 8px; border: 1px solid #39716a; background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }.boss-draft-composer-actions button:last-child { width: 30px; padding: 0; font-size: 18px; }
.console-modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10, 24, 18, .46); }
.console-modal-backdrop.is-overlay { z-index: 120; }
.console-modal { width: min(100%, 520px); display: grid; gap: 15px; padding: 20px; border: 1px solid #4e6758; background: var(--surface); box-shadow: 0 22px 60px rgba(7, 20, 13, .34); }
.console-modal header, .console-modal footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.console-modal h2, .console-modal p { margin: 0; }
.console-modal h2 { font-size: 18px; }
.console-modal p, .console-modal label { color: var(--muted); font-size: 12px; line-height: 1.55; }
.console-modal--detail #console-modal-description { max-height: min(56vh, 520px); overflow: auto; white-space: pre-wrap; color: var(--ink); }
.console-modal header button, .console-modal footer button { min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.console-modal header button { width: 34px; padding: 0; font-size: 20px; }
.console-modal footer #console-modal-confirm { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.console-modal textarea { width: 100%; min-height: 80px; resize: vertical; padding: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.console-modal-options { display: grid; gap: 8px; }
.console-modal-options button { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.console-modal-options button.is-selected { border-color: var(--cyan); background: #e7f3ef; }
.boss-channel-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px 0; }
.boss-channel-toolbar button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.boss-channel-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.boss-channel-table { width: 100%; min-width: 1220px; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.boss-channel-table th, .boss-channel-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.boss-channel-table th { color: var(--muted); background: #f3f6f3; font-size: 10px; font-weight: 800; }
.boss-channel-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.boss-channel-table th:nth-child(1) { width: 13%; }.boss-channel-table th:nth-child(2) { width: 14%; }.boss-channel-table th:nth-child(3) { width: 8%; }.boss-channel-table th:nth-child(4) { width: 13%; }.boss-channel-table th:nth-child(5), .boss-channel-table th:nth-child(6), .boss-channel-table th:nth-child(7), .boss-channel-table th:nth-child(8), .boss-channel-table th:nth-child(9) { width: 9%; }.boss-channel-table th:nth-child(10) { width: 16%; }
.channel-current-button { width: 100%; min-height: 30px; padding: 5px 7px; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.channel-current-button.is-current { border-color: #1f6241; color: #fff; background: #26764e; }
.channel-current-button:disabled { cursor: default; opacity: .52; }
.boss-channel-toolbar button:hover, .boss-channel-table button:hover { border-color: #39716a; background: #edf5ef; }
.boss-channel-table button.is-pending, .boss-channel-toolbar button.is-pending, .node-register-form button.is-pending { opacity: .7; cursor: wait; }
.boss-channel-feedback { display: grid; gap: 4px; min-height: 46px; margin: 12px 16px; padding: 10px 12px; border: 1px solid var(--line); border-left: 5px solid #7a8790; color: var(--ink); background: #f3f6f3; font-size: 11px; line-height: 1.5; }
.boss-channel-feedback strong { font-size: 12px; }
.boss-channel-feedback span { color: var(--muted); }
.boss-channel-feedback.is-loading { border-left-color: #2aa6a1; background: #e9f7f5; }
.boss-channel-feedback.is-success { border-left-color: #26764e; background: #ecf9f1; }
.boss-channel-feedback.is-success span { color: #14663d; }
.boss-channel-feedback.is-info { border-left-color: #386f9e; background: #edf5fb; }
.boss-channel-feedback.is-error { border-left-color: #a01e32; background: #fff0f2; }
.boss-channel-feedback.is-error strong { color: #9d1d2d; }
.boss-channel-feedback.is-error span { color: #79202d; }
.channel-na, .channel-system-state { color: var(--muted); font-size: 10px; }
.boss-attachment-queue { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; border-top: 1px solid var(--line); }
.boss-attachment-item { min-width: 210px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 26px; gap: 8px; align-items: center; padding: 7px; border: 1px solid var(--line); background: #fff; }
.boss-attachment-item img, .boss-attachment-icon { width: 38px; height: 38px; object-fit: cover; display: grid; place-items: center; color: var(--muted); background: #edf1ee; font-size: 8px; }
.boss-attachment-item div { min-width: 0; display: grid; gap: 3px; }
.boss-attachment-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.boss-attachment-item small { color: var(--muted); font-size: 9px; }
.boss-attachment-item button { width: 26px; height: 26px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 18px; }
.boss-memory-search, .boss-memory-form, .boss-context-manifest-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.boss-memory-form { grid-template-columns: minmax(0, 1fr) auto; }
.boss-memory-search input, .boss-memory-form input, .boss-context-manifest-form input, .boss-context-manifest-form select { min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.boss-memory-search label, .boss-context-manifest-form label { font-size: 10px; font-weight: 800; }
.boss-memory-search button, .boss-memory-form button, .boss-context-manifest-form button, .boss-memory-actions button { min-height: 32px; padding: 6px 10px; border: 0; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.boss-memory-search button:last-child { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.boss-memory-list { display: grid; }
.boss-memory-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 66px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.boss-memory-content { min-width: 0; display: grid; gap: 6px; }
.boss-memory-item strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-memory-item small { color: var(--muted); font-size: 10px; }
.boss-memory-metadata { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 2px 0 0; }
.boss-memory-metadata div { min-width: 0; padding: 6px 8px; background: #f3f6f3; }
.boss-memory-metadata dt { color: var(--muted); font-size: 9px; }
.boss-memory-metadata dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 10px; }
.boss-memory-actions { display: flex; gap: 5px; }
.boss-context-manifest-panel { margin-top: 18px !important; }
.boss-context-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.boss-context-summary div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); }
.boss-context-summary div:last-child { border-right: 0; }
.boss-context-summary span, .boss-context-summary strong { display: block; overflow-wrap: anywhere; }
.boss-context-summary span { color: var(--muted); font-size: 9px; }
.boss-context-summary strong { margin-top: 3px; font-size: 11px; }
.boss-context-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boss-context-columns > section { min-width: 0; padding: 12px 16px; }
.boss-context-columns > section + section { border-left: 1px solid var(--line); }
.boss-context-columns h3 { margin: 0 0 8px; font-size: 11px; }
.boss-context-item { display: grid; gap: 3px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.boss-context-item strong { overflow-wrap: anywhere; font-size: 11px; }
.boss-context-item small { color: var(--muted); font-size: 9px; }
.boss-deliverables-state { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--muted); background: #f4f7f3; font-size: 11px; line-height: 1.5; }
.boss-topic-toolbar { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #f7faf7; font-size: 11px; }
.boss-topic-toolbar select { flex: 1; min-width: 0; min-height: 32px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.boss-topic-toolbar button { min-height: 32px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.boss-message-meta { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.boss-message-meta { display: grid; gap: 4px; }
.boss-message-meta button { justify-self: start; min-height: 26px; padding: 4px 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 10px; }
.boss-message-meta button:hover { border-color: var(--cyan); }
.boss-plan-draft { display: grid; gap: 9px; margin: 10px 16px; padding: 13px; border: 1px solid #769a8c; border-left: 5px solid var(--cyan); background: #f0f8f4; }
.boss-plan-draft--confirmed { border-left-color: #26764e; background: #edf7ef; }
.boss-plan-draft--superseded { border-left-color: #98a39c; background: #f4f6f4; opacity: .78; }
.boss-plan-draft header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.boss-plan-draft header strong { font-size: 12px; }.boss-plan-draft header span, .boss-plan-draft > small { color: var(--muted); font-size: 10px; }
.boss-plan-draft p { margin: 0; font-size: 11px; line-height: 1.5; }.boss-plan-draft ul { display: grid; gap: 5px; margin: 0; padding-left: 18px; }
.boss-plan-request { display: grid; gap: 4px; padding: 8px 9px; border-left: 3px solid var(--accent); background: #fff; }.boss-plan-request strong { font-size: 10px; }.boss-plan-request p { overflow-wrap: anywhere; }
.boss-plan-draft li { display: grid; gap: 2px; font-size: 11px; }.boss-plan-draft li small { color: var(--muted); font-size: 10px; }
.boss-plan-draft.is-editing { border-color: #26764e; box-shadow: inset 0 0 0 1px rgba(38, 118, 78, .2); }.boss-plan-draft-actions { display: flex; flex-wrap: wrap; gap: 7px; }.boss-plan-draft-actions button { min-height: 30px; padding: 6px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }.boss-plan-draft-actions button.is-active { border-color: #1f6241; color: #fff; background: #26764e; }
.boss-plan-draft-actions button[data-plan-draft-action="confirm"] { border-color: #26764e; color: #1f6241; background: #fff; }
.boss-deliverables-workspace { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.4fr); gap: 12px; align-items: start; }
.boss-deliverables-workspace > .boss-panel { min-width: 0; }
.boss-deliverables-panel { max-height: calc(100vh - 220px); overflow: auto; }
.boss-deliverable-detail-panel { max-height: calc(100vh - 220px); overflow: auto; }
.boss-deliverables-state.warn { color: #785500; background: #fff7dc; }
.boss-deliverables-state.error { color: #9d1d2d; background: #fff0f2; }
.boss-deliverables-toolbar { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto minmax(150px, 1fr); gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.boss-deliverables-toolbar label { font-size: 11px; font-weight: 800; }
.boss-deliverables-toolbar select, .boss-deliverables-toolbar input { min-width: 0; min-height: 34px; padding: 6px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.boss-deliverables-toolbar button, .boss-acceptance-actions button { min-height: 34px; padding: 7px 11px; border: 0; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.boss-acceptance-actions button[data-acceptance-decision="reject"] { background: #9d1d2d; }
.boss-deliverable-list { display: grid; }
.boss-deliverable { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .45fr); gap: 14px; align-items: center; width: 100%; min-height: 70px; padding: 11px 16px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; cursor: pointer; font: inherit; }
.boss-deliverable:hover, .boss-deliverable.is-selected { background: #edf5ef; }
.boss-deliverable > span { min-width: 0; display: grid; gap: 4px; }
.boss-deliverable strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-deliverable small, .boss-deliverable-overview small, .boss-detail-section small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.boss-deliverable-detail { display: grid; }
.boss-deliverable-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.boss-deliverable-overview > div { display: grid; gap: 5px; min-width: 0; padding: 12px 16px; border-right: 1px solid var(--line); }
.boss-deliverable-overview > div:last-child { border-right: 0; }
.boss-deliverable-overview span { color: var(--muted); font-size: 10px; }
.boss-deliverable-overview strong { overflow-wrap: anywhere; font-size: 12px; }
.boss-detail-section { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.boss-detail-section h3 { margin: 0 0 9px; font-size: 12px; }
.boss-detail-section article { display: grid; gap: 4px; padding: 9px 0; border-top: 1px solid #e5e9e5; }
.boss-detail-section article:first-of-type { border-top: 0; }
.boss-detail-section article strong { overflow-wrap: anywhere; font-size: 11px; }
.boss-detail-section p { margin: 0; color: var(--muted); overflow-wrap: anywhere; font-size: 11px; line-height: 1.5; }
.boss-detail-empty { color: var(--muted); font-size: 11px; }
.boss-deliverable-preview { max-height: 280px; margin: 0 0 7px; padding: 10px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: #f4f7f3; border: 1px solid var(--line); font: inherit; font-size: 11px; line-height: 1.5; }
.boss-access-ready { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.boss-access-link { display: inline-block; padding: 7px 10px; color: var(--accent-ink); background: var(--accent); font-size: 11px; font-weight: 800; text-decoration: none; }
.boss-access-link:hover { background: #c8e4a5; }
.boss-acceptance-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.boss-acceptance-actions span { margin-right: 2px; font-size: 11px; font-weight: 800; }
.boss-acceptance-actions button:disabled { opacity: .55; cursor: wait; }
.providers-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.provider-panel { margin-top: 28px; border-top: 2px solid var(--ink); background: var(--surface); }
.providers-unavailable { margin-top: 0; }
.provider-source-list { display: grid; }
.provider-source { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; min-height: 66px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.provider-source > div { min-width: 0; display: grid; gap: 4px; }
.provider-source strong { overflow-wrap: anywhere; font-size: 12px; }
.provider-source small { color: var(--muted); font-size: 10px; }
.provider-catalog-state { padding: 14px 16px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.provider-feedback { min-height: 20px; padding: 0 16px 14px; color: var(--muted); font-size: 11px; }
.provider-feedback.error { color: var(--bad); }
.nodes-view { overflow-y: auto; padding: 30px clamp(20px, 4vw, 52px) 48px; }
.node-register-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px; border-bottom: 1px solid var(--line); }
.node-registration-note { margin: 10px 16px 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.node-register-form input { min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); font: inherit; font-size: 11px; }
.node-register-form button, .node-actions button, #nodes-refresh { min-height: 34px; padding: 7px 10px; border: 0; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.node-list { display: grid; }
.node-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.3fr) auto; gap: 16px; align-items: center; min-height: 74px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.node-row > div { min-width: 0; display: grid; gap: 4px; }
.node-row strong, .node-row b { overflow-wrap: anywhere; font-size: 12px; }
.node-row small { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.node-actions { display: flex !important; flex-wrap: wrap; gap: 5px; justify-content: end; }
.node-actions button { min-width: 44px; background: #39716a; }
.node-actions button:last-child { background: var(--bad); }
.node-state { text-transform: uppercase; }
.node-state--online { color: #39716a; }
.node-state--offline { color: var(--bad); }
.node-state--unknown { color: var(--warn); }
.node-unmanaged { color: var(--muted); font-size: 10px; white-space: nowrap; }
.node-action-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.node-action-toolbar label { color: var(--muted); font-size: 11px; }
.node-action-toolbar select { min-width: 280px; min-height: 34px; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.node-action-toolbar button { min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); background: var(--ink); color: #fff; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.node-action-toolbar button:disabled { opacity: .55; cursor: wait; }
.node-operation-progress { display: grid; grid-template-columns: auto auto 1fr; gap: 8px 14px; align-items: center; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); background: #eef4ed; font-size: 11px; }
.node-operation-progress strong { font-size: 11px; }
.node-operation-progress small { min-width: 0; overflow-wrap: anywhere; color: var(--muted); }
.node-progress-state { font-weight: 800; text-transform: uppercase; }
.node-progress-state--accepted, .node-progress-state--running { color: var(--warn); }
.node-progress-state--completed { color: #39716a; }
.node-progress-state--failed, .node-progress-state--rolled_back { color: var(--bad); }
.node-status-panel { padding-bottom: 0; overflow: hidden; }
.node-status-open { color: var(--cyan); font-size: 11px; text-decoration: none; }
.node-status-panel iframe { display: block; width: 100%; height: 1500px; border: 0; background: var(--canvas); }
.nodes-subnav { display: flex; gap: 0; margin-top: 22px; border-bottom: 2px solid var(--ink); }
.nodes-subnav-tab { min-height: 40px; padding: 9px 16px; color: var(--muted); border: 0; border-bottom: 3px solid transparent; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.nodes-subnav-tab:hover { color: var(--ink); background: rgba(42, 166, 161, .08); }
.nodes-subnav-tab.active { color: var(--ink); border-bottom-color: var(--cyan); background: var(--surface); }
.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; }
.nomad-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 25px; }
.nomad-heading p { margin: 0 0 7px; color: #39716a; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.nomad-heading h1 { margin: 0; font-family: "Bahnschrift", "Aptos Display", sans-serif; font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.nomad-heading > small { color: var(--muted); font-size: 11px; }
.nomad-access-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 18px; color: var(--sidebar-text); background: var(--sidebar); border-left: 5px solid var(--accent); }
.nomad-access-note > div { display: grid; gap: 5px; }
.nomad-access-note strong { font-size: 13px; }
.nomad-access-note span { color: #a9bbb1; font-size: 11px; line-height: 1.5; }
.nomad-access-note a { flex: 0 0 auto; padding: 9px 12px; color: var(--accent-ink); text-decoration: none; background: var(--accent); font-size: 12px; font-weight: 800; }
.nomad-stat-strip { min-height: 72px; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.nomad-stat-strip > div { display: grid; align-content: center; gap: 5px; padding: 12px 16px; border-right: 1px solid var(--line); }
.nomad-stat-strip > div:last-child { border-right: 0; }
.nomad-stat-strip span { color: var(--muted); font-size: 10px; }
.nomad-stat-strip strong { font-size: 18px; }
.nomad-section { margin-top: 28px; border-top: 2px solid var(--ink); }
.nomad-columns, .nomad-row { display: grid; gap: 18px; align-items: center; }
.jobs-columns { grid-template-columns: minmax(210px, 1.6fr) .65fr .65fr minmax(210px, 1.4fr) minmax(150px, 1fr); }
.clients-columns { grid-template-columns: minmax(210px, 1.5fr) repeat(4, minmax(110px, 1fr)); }
.allocations-columns { grid-template-columns: minmax(250px, 1.7fr) minmax(180px, 1.2fr) minmax(140px, 1fr) minmax(120px, .8fr) minmax(150px, 1fr); }
.evaluations-columns { grid-template-columns: minmax(210px, 1.5fr) minmax(130px, 1fr) minmax(110px, .8fr) minmax(160px, 1.1fr) minmax(150px, 1fr); }
.nomad-columns { min-height: 34px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; }
.nomad-row { min-height: 64px; border-bottom: 1px solid var(--line); }
.nomad-row > div { min-width: 0; display: grid; gap: 3px; }
.nomad-row strong, .nomad-row b { overflow-wrap: anywhere; font-size: 12px; }
.nomad-row small { display: block; color: var(--muted); font-size: 10px; }
.data-empty { min-height: 62px; display: flex; align-items: center; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
.data-empty.error { color: var(--bad); }
.alert-row { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.alert-row--critical { border-left: 4px solid var(--bad); }
.alert-row--warning { border-left: 4px solid var(--warn); }
.alert-row--resolved { border-left: 4px solid #72b93e; }
.alert-row__main { min-width: 0; display: grid; gap: 7px; }
.alert-row__main > div { display: flex; align-items: center; gap: 10px; }
.alert-row__main strong { font-size: 13px; }
.alert-row__main p { margin: 0; font-size: 13px; }
.alert-row__main small, .alert-row__action > span { color: var(--muted); font-size: 11px; }
.alert-row__action { flex: 0 0 auto; display: grid; justify-items: end; gap: 8px; }
.alert-result { display: grid; gap: 4px; padding: 9px 10px; border-left: 3px solid var(--cyan); background: var(--accent-soft); }
.alert-result strong { font-size: 11px; }
.alert-result p { font-size: 11px; line-height: 1.5; }
.alert-result small { font-size: 10px; }
.alert-next-step { display: grid; gap: 4px; padding: 9px 10px; border-left: 3px solid var(--warn); background: #fff8e8; }
.alert-next-step strong { font-size: 11px; }
.alert-next-step p { margin: 0; font-size: 11px; line-height: 1.5; }
.alert-history { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.alert-history summary { cursor: pointer; }
.alert-history > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; padding: 7px; border-left: 2px solid var(--line); }
.alert-history p { grid-column: 1 / -1; margin: 0; }
.alert-history-empty { color: var(--muted); font-size: 11px; }
.c3-status-list { display: grid; gap: 1px; background: var(--line); }
.c3-status-row { display: grid; grid-template-columns: minmax(120px, 1fr) 110px 110px minmax(180px, 1.4fr); gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); font-size: 13px; }
.c3-status-row strong { font-size: 14px; }
.c3-status-row small { color: var(--muted); }
.alert-dispatch { min-height: 34px; padding: 7px 10px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.alert-dispatch:hover { background: #c8e4a5; }
.alert-action-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.status-text { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.status-text i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--bad); }
.status-text.ok i { background: #72b93e; }
.status-text.warn i { background: var(--warn); }
.status-text.error i { background: var(--bad); }
.sidebar-scrim { display: none; }
.system-info-lead { padding: 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.system-info-lead h3 { margin: 0 0 8px; font-size: 14px; }
.system-info-lead p { margin: 0; color: var(--muted); line-height: 1.7; }
.system-flow { display: flex; align-items: stretch; gap: 10px; color: var(--muted); }
.system-flow > div { flex: 1; display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.system-flow strong { color: var(--ink); font-size: 14px; }
.system-flow small { line-height: 1.45; }
.system-flow > span { align-self: center; color: var(--accent-strong); font-weight: 800; }
.system-term-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.system-term-grid article { display: grid; gap: 6px; min-height: 92px; padding: 14px; background: var(--surface); }
.system-term-grid strong { font-size: 14px; }
.system-term-grid small { color: var(--muted); line-height: 1.55; }
.applications-view { padding: 28px 30px 40px; overflow: auto; }
.applications-workspace { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.8fr); border: 1px solid var(--line); background: var(--line); }
.application-list-panel, .application-detail-panel { min-width: 0; background: var(--surface); }
.application-list-panel { border-right: 1px solid var(--line); }
.applications-list { display: grid; }
.application-list-item { display: grid; gap: 6px; width: 100%; padding: 16px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.application-list-item.is-selected { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent-strong); }
.application-list-item small, .application-list-item span, .application-compose p, .application-result p, .application-history p { color: var(--muted); line-height: 1.55; }
.application-list-item span { font-size: 11px; font-weight: 800; }
.application-detail-panel { min-height: 520px; }
#application-workspace { display: grid; gap: 18px; padding: 18px; }
.application-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.application-actions button, .application-compose button { min-height: 34px; padding: 7px 12px; border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 800; cursor: pointer; }
.application-actions button + button { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.application-compose, .application-result, .application-history { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.application-compose h3, .application-result h3, .application-history h3, .application-result h4 { margin: 0; font-size: 14px; }
.application-compose p, .application-result p, .application-history p { margin: 0; font-size: 12px; }
.application-compose textarea { width: 100%; min-height: 180px; box-sizing: border-box; resize: vertical; padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; line-height: 1.5; }
.application-file-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.application-file-choice input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.application-file-choice .button-like { min-height: 34px; box-sizing: border-box; padding: 7px 12px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 800; cursor: pointer; }
.application-file-choice span { min-width: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.application-file-reference { display: grid; gap: 8px; }
.application-file-reference summary { cursor: pointer; font-weight: 800; font-size: 12px; }
.application-file-reference input, .application-file-reference select { min-width: 0; min-height: 36px; box-sizing: border-box; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.application-result-block { display: grid; gap: 6px; padding: 10px; border-left: 3px solid var(--cyan); background: var(--accent-soft); }
.application-run-control { display: grid; gap: 8px; }
.application-run-control > button { min-height: 38px; font-weight: 800; }
.application-run-progress, .application-run-events, .application-run-decisions { display: grid; gap: 6px; padding: 10px; border-left: 3px solid var(--cyan); background: var(--accent-soft); }
.application-run-progress span, .application-run-events span, .application-result-source { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.application-run-decisions { grid-template-columns: 1fr auto auto; align-items: center; border-left-color: var(--accent); }
.application-run-decisions button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-weight: 800; }
.application-run-decisions button:first-of-type { background: var(--accent); color: var(--accent-ink); }
.application-history { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.application-history h3 { grid-column: 1 / -1; }
.application-history button { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.application-history small, .application-state, .application-feedback { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.application-state { font-weight: 800; }
.application-feedback { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--cyan); background: var(--accent-soft); }
.application-p7-controls { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.application-p7-controls .section-heading { margin: 0; }
.application-p7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.application-p7-grid article { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #fff; }
.application-p7-grid h4 { margin: 0; font-size: 13px; }
.application-p7-grid p, .application-p7-grid span, #application-settings-summary, #application-input-set-summary { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.application-p7-grid button { justify-self: start; min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); background: var(--accent-soft); color: var(--ink); cursor: pointer; font: inherit; font-weight: 800; }
.application-p7-feedback { min-height: 20px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.application-file-picker { width: min(100%, 680px); max-height: min(82vh, 720px); overflow: auto; }
.application-file-picker-roots { display: flex; flex-wrap: wrap; gap: 6px; }
.application-file-picker-roots button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.application-file-picker-roots button.is-active { border-color: var(--cyan); background: #e7f3ef; }
.application-file-picker-breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); background: #f5f8f5; color: var(--muted); font-size: 11px; }
.application-file-picker-breadcrumb span { min-width: 0; overflow-wrap: anywhere; }
.application-file-picker-breadcrumb button { flex: 0 0 auto; min-height: 28px; padding: 4px 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 11px; }
.application-file-picker-list { display: grid; gap: 6px; max-height: 46vh; overflow: auto; }
.application-file-entry { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.application-file-entry strong { color: var(--cyan); font-size: 10px; }
.application-file-entry span { min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
.application-file-entry small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.application-file-entry:hover { border-color: var(--cyan); background: #f1f8f4; }

@media (max-width: 900px) {
  :root { --sidebar-width: 238px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; width: var(--sidebar-width); transform: translateX(-100%); transition: transform .2s ease; }
  body.nav-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; display: block; visibility: hidden; opacity: 0; border: 0; background: rgba(12, 23, 19, .42); transition: opacity .2s ease; z-index: 20; }
  body.nav-open .sidebar-scrim { visibility: visible; opacity: 1; }
  .menu-button { display: inline-block; }
  .workspace { height: 100vh; }
  .workspace-entry-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace-entry:nth-child(3n) { border-right: 0; }
  .workspace-entry:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .doc-shortcut-list .workspace-entry { border-right: 1px solid var(--line); border-bottom: 0; }
  .doc-shortcut-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-shortcut-list .workspace-entry:nth-child(2n) { border-right: 0; }
  .doc-shortcut-list .workspace-entry:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nomad-stat-strip { grid-template-columns: 1fr 1fr; }
  .nomad-stat-strip > div:nth-child(2) { border-right: 0; }
  .nomad-stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .system-flow { flex-direction: column; }
  .system-flow > span { transform: rotate(90deg); align-self: center; }
  .node-register-form { grid-template-columns: 1fr 1fr; }
  .node-row { grid-template-columns: 1fr; }
  .node-actions { justify-content: start; }
}

@media (max-width: 600px) {
  .application-p7-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .workspace { height: 100dvh; }
  .workspace-bar { padding: 0 12px; }
  .open-link { padding: 7px 8px; font-size: 11px; }
  .account-button { max-width: 112px; font-size: 11px; }
  .overview-view { padding: 22px 14px 36px; }
  .overview-heading { align-items: start; flex-direction: column; gap: 12px; }
  .workspace-band { align-items: start; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 14px; }
  .workspace-entry-list { grid-template-columns: 1fr; }
  .workspace-entry { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-entry:last-child { border-bottom: 0; }
  .nomad-view { padding: 22px 14px 36px; }
  .alerts-view { padding: 22px 14px 36px; }
  .boss-view { min-height: 0; padding: 22px 14px 36px; overscroll-behavior: contain; }
  .providers-view { padding: 22px 14px 36px; }
  .applications-view { padding: 22px 14px 36px; }
  .nomad-heading { align-items: start; flex-direction: column; gap: 12px; }
  .nomad-access-note { align-items: start; flex-direction: column; }
  .alert-row { align-items: start; flex-direction: column; }
  .alert-row__action { width: 100%; justify-items: start; }
  .c3-status-row { grid-template-columns: 1fr 1fr; }
  .boss-grid { grid-template-columns: 1fr; }
  .boss-workbench { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .boss-chat { min-height: 280px; max-height: min(46dvh, 420px); }
  .boss-work-summary > header, .boss-work-item-heading { align-items: flex-start; }
  .boss-work-next { grid-template-columns: 1fr; gap: 3px; }
  .boss-live-panel { position: static; max-height: none; overflow: visible; }
  .boss-live-heading-actions button { display: inline-block; }
  .boss-live-content { display: none; }
  .boss-live-panel.is-expanded .boss-live-content { display: block; }
  .boss-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boss-tabs button { min-width: 0; padding-inline: 8px; overflow-wrap: anywhere; }
  .active-work-overview { grid-template-columns: 1fr; }
  .active-work-overview > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .active-work-overview > div:last-child { border-bottom: 0; }
  .active-work-toolbar, .active-work-actions { display: grid; grid-template-columns: 1fr; }
  .active-work-toolbar button, .active-work-actions button { width: 100%; }
  .active-work-policy header { display: grid; }
  .active-work-policy-summary { grid-template-columns: 1fr; }
  .boss-composer-toolbar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 62px; align-items: stretch; }
  .boss-control-field { grid-column: 1 / -1; min-width: 0; }
  .boss-control-field select { width: 100%; max-width: none; }
  .boss-composer-toolbar > small { grid-column: 1 / 3; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .boss-send-button { grid-column: 3; }
  .boss-draft-composer-state { align-items: flex-start; flex-direction: column; }.boss-draft-composer-actions { width: 100%; }.boss-draft-composer-actions button:first-child { flex: 1; }
  .console-modal-backdrop { align-items: center; padding: 12px; }
  .boss-memory-item { grid-template-columns: 1fr auto; }
  .boss-memory-actions { grid-column: 1 / -1; }
  .boss-memory-search, .boss-context-manifest-form { grid-template-columns: 1fr 1fr; }
  .boss-memory-search label, .boss-context-manifest-form label, .boss-memory-search input, .boss-context-manifest-form input, .boss-context-manifest-form select { grid-column: 1 / -1; }
  .boss-memory-metadata { grid-template-columns: 1fr 1fr; }
  .boss-context-summary, .boss-context-columns { grid-template-columns: 1fr; }
  .boss-context-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .boss-context-columns > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .boss-deliverables-toolbar { grid-template-columns: 1fr; }
  .boss-topic-toolbar { flex-wrap: wrap; }
  .boss-topic-toolbar select { flex-basis: 100%; order: 2; }
  .boss-deliverables-workspace { grid-template-columns: 1fr; }
  .boss-deliverables-panel, .boss-deliverable-detail-panel { max-height: none; overflow: visible; }
  .boss-deliverable { grid-template-columns: 1fr; gap: 7px; }
  .boss-deliverable-overview { grid-template-columns: 1fr; }
  .boss-deliverable-overview > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .boss-deliverable-overview > div:last-child { border-bottom: 0; }
  .boss-acceptance-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 12px; }
  .boss-acceptance-actions span { grid-column: 1 / -1; }
  .boss-acceptance-actions button { min-width: 0; width: 100%; }
  .boss-backend-field { grid-template-columns: 1fr; }
  .boss-task, .boss-review, .boss-process-item, .boss-operation-item { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .boss-operation-toolbar { grid-template-columns: 1fr; }
  .boss-topic-history-item, .boss-operation-catalog article, .boss-operation-description dl { grid-template-columns: 1fr; }
  .boss-operation-description, .boss-operation-catalog { margin-inline: 0; }
  .node-register-form { grid-template-columns: 1fr; }
  .provider-source { grid-template-columns: 1fr; gap: 10px 16px; }
  .system-term-grid { grid-template-columns: 1fr 1fr; }
  .applications-workspace { grid-template-columns: 1fr; }
  .application-list-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .application-detail-panel { min-height: 0; }
  .nomad-columns { display: none; }
  .nomad-row { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px 0; }
  .nomad-row > div:first-child { grid-column: 1 / -1; }
}
