@import url('./stage-workbench.css?v=20260926-cache-static-r35');
@import url('./knowledge-libraries.css?v=20260913-1');
@import url('./pipeline-workbench.css?v=20260925-pipeline-cache-r19');
@import url('./period-import.css?v=20260913-file-reveal');
@import url('./customer-service-workspace.css?v=20260915-community-panel');
@import url('./launch-materials.css?v=20260912-1');
@import url('./marketing-dashboard.css?v=20260914-controls1');
@import url('./intelligence-dashboard.css?v=20260924-status-in-warning1');
@import url('./schedule-basics.css?v=20260925-sb-layout-r24');
@import url('./launch-calendar.css?v=20260912-2');
@import url('./intelligence-rules.css?v=20260912-1');
@import url('./trims-inventory.css');
@import url('./media-empty.css');
@import url('./production-workspace.css');
@import url('./inspection-quality.css?v=20260913-quality');
:root {
  color-scheme: light;
  --forest: #123f34;
  --forest-deep: #0b2f27;
  --wine: #8e2638;
  --gold: #bc9951;
  --paper: #f4f4ef;
  --paper-warm: #fbfbf7;
  --ink: #17271f;
  --muted: #6d7971;
  --line: #cbd2c9;
  --line-dark: #315b4e;
  --success: #2d7053;
  --warning: #967125;
  --shadow: 0 18px 40px rgba(18, 63, 52, .08);
}

.ability-center { margin-top: 24px; }
.ability-controls { display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin:24px 0; }
.ability-controls label { display:grid; gap:6px; flex:1 1 180px; color:var(--forest); margin:0; }
.ability-controls select, .ability-controls input { width:100%; min-height:44px; padding:8px; border:1px solid var(--line-dark); background:var(--paper-warm); color:var(--ink); }
.ability-center summary { cursor:pointer; padding:12px 0; color:var(--forest); }
.ability-list { border-top:1px solid var(--line); margin-top:20px; }
.ability-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 24px; padding:24px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.ability-row > p, .ability-row > details { grid-column:1/-1; max-width:75ch; margin:0; }
.ability-row .pill { align-self:start; color:var(--forest); background:var(--paper-warm); border:1px solid var(--line); }
.ability-center :focus-visible { outline:2px solid var(--wine); outline-offset:3px; }
.ability-settings { max-width:760px; padding:24px 0; margin-bottom:32px; border-bottom:1px solid var(--line); }
.member-profile { max-width:760px; padding:24px 0; margin-bottom:24px; border-bottom:1px solid var(--line); }
.production-months[hidden] { display:none; }
.profile-avatar-row { display:flex; gap:24px; align-items:flex-start; margin:24px 0; }
.profile-avatar-preview { width:88px; height:88px; flex:0 0 88px; border-radius:50%; overflow:hidden; background:var(--forest); color:var(--paper-warm); display:grid; place-items:center; font-size:32px; }
.profile-avatar-preview img { width:100%; height:100%; object-fit:cover; }
.profile-fields { display:grid; grid-template-columns:minmax(0,1fr); gap:8px 24px; }
.profile-fields label { min-width:0; }
.profile-avatar-editor { min-width:0; flex:1; }
.profile-upload-controls { display:flex; gap:16px; align-items:stretch; }
.profile-avatar-dropzone { position:relative; display:grid; align-content:center; gap:2px; flex:1; min-width:0; min-height:88px; margin:0; padding:14px 18px; border:1px dashed var(--line-dark); border-radius:8px; background:var(--paper-warm); color:var(--forest); cursor:pointer; transition:border-color .15s ease,background .15s ease; }
.profile-avatar-dropzone:hover,.profile-avatar-dropzone.is-dragging { border-color:var(--gold); background:#fffdf6; }
.profile-avatar-dropzone:focus-within { outline:2px solid var(--wine); outline-offset:3px; }
.profile-avatar-dropzone strong { font-size:15px; }
.profile-avatar-dropzone span { color:var(--muted); font-size:13px; }
.profile-avatar-dropzone input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.profile-upload-controls [data-clear-avatar] { flex-shrink:0; margin:0; min-height:44px; align-self:center; }
.profile-avatar-row input { width:100%; }
.avatar-cropper { width:min(100%,420px); margin-top:18px; padding:18px; border:1px solid var(--line); border-radius:10px; background:var(--paper-warm); }
.avatar-cropper[hidden] { display:none; }
.avatar-cropper > p { display:grid; gap:2px; margin-bottom:14px; }
.avatar-cropper > p .muted { font-size:13px; }
.avatar-crop-stage { width:min(100%,320px); aspect-ratio:1; margin:0 auto 16px; overflow:hidden; border:3px solid var(--gold); border-radius:50%; background:#e5e7e2; cursor:grab; touch-action:none; user-select:none; }
.avatar-crop-stage:active { cursor:grabbing; }
.avatar-crop-stage canvas { display:block; width:100%; height:100%; }
.avatar-zoom-control { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:12px; margin:0 0 14px; color:var(--forest); font-weight:700; }
.avatar-zoom-control input { accent-color:var(--forest); }
.avatar-crop-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.avatar-crop-actions .button { margin:0; }
.my-avatar { width:28px; height:28px; object-fit:cover; border-radius:50%; margin-right:8px; vertical-align:middle; }
#my-profile-summary { padding:12px 16px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
#my-profile-summary p { margin:6px 0 0; font-size:13px; }
#my-profile-summary strong { color:var(--forest); font-size:18px; }
#token-section > details > summary { cursor:pointer; padding:12px 0; color:var(--forest); font-weight:700; }
@media(max-width:540px) { .profile-fields {grid-template-columns:1fr;} .profile-avatar-row {align-items:flex-start;gap:16px;flex-direction:column;} .profile-avatar-editor {width:100%;} .profile-upload-controls {flex-wrap:wrap;} .profile-avatar-dropzone {flex-basis:100%;} .profile-upload-controls [data-clear-avatar] {width:100%;} .avatar-cropper {padding:14px;} .avatar-crop-actions .button {flex:1 1 30%;padding-inline:10px;} }
.ability-settings label { display:grid; gap:8px; margin:18px 0 8px; }
.ability-settings input,.ability-settings select { min-height:44px; width:100%; }
.ability-settings button { margin:8px 12px 8px 0; }
.ability-pairing code { display:block; overflow-wrap:anywhere; }
.operation-notice { position:fixed; z-index:1000; right:24px; bottom:24px; width:min(440px,calc(100vw - 32px)); display:flex; gap:14px; align-items:flex-start; padding:18px; background:var(--paper-warm); color:var(--forest); border:1px solid var(--line-dark); border-radius:12px; animation:notice-enter .2s ease-out; }
.operation-notice > div { flex:1; min-width:0; }
.operation-notice strong { font-size:15px; }
.operation-notice p { font-size:14px; line-height:1.6; margin:6px 0 0; overflow-wrap:anywhere; }
.operation-notice button { background:transparent; color:inherit; padding:6px; min-height:32px; border:0; margin:0; }
.operation-notice[data-state=error],.operation-notice[data-state=partial] { color:var(--wine); border-color:var(--wine); }
.operation-indicator { width:18px; height:18px; flex:0 0 18px; margin-top:2px; border-radius:50%; background:currentColor; }
.operation-notice[data-state=pending] .operation-indicator { background:transparent; border:2px solid var(--line); border-top-color:var(--forest); animation:notice-spin .8s linear infinite; }
@keyframes notice-spin { to {transform:rotate(360deg);} }
@keyframes notice-enter { from {transform:translateY(8px);} to {transform:translateY(0);} }
@media(prefers-reduced-motion:reduce) { .operation-notice,.operation-notice[data-state=pending] .operation-indicator { animation:none; } }
@media(max-width:540px) { .operation-notice { right:16px; bottom:16px; } }
/* Capability catalog is its own surface, not an operating dashboard. */
body.ability-mode #workspace .view:not(#systems),
body.ability-mode .workspace-strip, body.ability-mode .workflow-rail,
body.ability-mode #systems > .page-heading, body.ability-mode #systems > .notice { display:none !important; }
body.ability-mode #systems { margin-top:32px; }
body.ability-mode #operating-detail { padding:0; border:0; background:transparent; box-shadow:none; }
body.ability-mode #operating-detail > .detail-close { display:none; }
.ability-center > h2 { font-size:clamp(1.8rem,3vw,2.5rem); letter-spacing:-.02em; margin-bottom:10px; }
.ability-center > .muted, .ability-center > [role=status] { color:var(--line-dark); font-size:.88rem; }
.ability-sections { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 16px; }
.ability-sections button { min-height:44px; border:1px solid var(--line); border-radius:8px; background:var(--paper-warm); color:var(--forest); padding:9px 18px; font-weight:700; }
.ability-sections button[aria-pressed=true] { background:var(--forest); border-color:var(--forest); color:var(--paper-warm); }
.ability-sections button:hover { border-color:var(--forest); }
.ability-sections button:active { transform:translateY(1px); }
.ability-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:minmax(370px,auto); gap:18px; border:0; align-items:stretch; }
.ability-row { display:flex; flex-direction:column; gap:10px; padding:22px; border:1px solid var(--line); border-radius:12px; background:var(--paper-warm); min-width:0; min-height:370px; }
.ability-row h3, .ability-description { display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; -webkit-line-clamp:3; }
.ability-row h3 { -webkit-line-clamp:2; }
.ability-controls .ability-refresh { height:44px; min-height:44px; margin:0; padding:8px 18px; background:var(--wine); border:1px solid var(--wine); color:var(--paper-warm); white-space:nowrap; }
.ability-controls input, .ability-controls select { height:44px; box-sizing:border-box; }
.ability-refresh:disabled { opacity:.65; cursor:wait; }
.ability-center > details input { display:block; min-height:44px; margin:8px 0; }
.ability-center > details button { margin:8px 12px 8px 0; }
.ability-center > details code { display:block; overflow-wrap:anywhere; }
.ability-row h3 { font-size:1.1rem; line-height:1.4; margin:0 0 8px; }
.ability-row .muted { color:var(--line-dark); font-size:.82rem; }
.ability-row > p { font-size:.9rem; line-height:1.65; }
.ability-row .pill { order:-1; font-size:.75rem; }
.ability-row details { border-top:1px solid var(--line); width:100%; margin-top:auto; }
.ability-row summary { font-size:.86rem; font-weight:700; }
@media(max-width:1000px) { .ability-list {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:767px) { .ability-list {grid-template-columns:1fr;} .ability-sections {gap:6px;} .ability-sections button {padding:8px 12px;} }
@media(max-width:540px) { .ability-controls {display:grid;grid-template-columns:1fr;} .ability-row {gap:8px;} }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 15px; font-size: clamp(2.55rem, 5.1vw, 4.7rem); line-height: 1.04; letter-spacing: -.065em; font-weight: 820; }
h2 { font-size: 2rem; line-height: 1.12; letter-spacing: -.045em; }
h3 { margin: 8px 0 4px; }

.topbar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 158px; padding: 18px clamp(24px, 6vw, 96px) 15px; background: #0f2d27; border-bottom: 1px solid #315b4e; }
.topbar {--header-textile:url('assets/header-woven-green.png');background-image:linear-gradient(rgba(15,45,39,.72),rgba(15,45,39,.72)),var(--header-textile);background-size:auto,420px 420px;background-repeat:repeat;}
body[data-unified] .topbar {--header-textile:url('/hub-ui/header-woven-green.png');}
.topbar .brand-logo {mix-blend-mode:normal;filter:url(#brand-ink-only);}
.topbar-meta { display: grid; gap: 5px; align-self: end; padding-bottom: 4px; }
.meta-kicker { color: #fff; font-size: .75rem; font-weight: 850; letter-spacing: .15em; }
.meta-caption { color: #b8d0c1; font-size: .77rem; }
.brand-center { display: grid; justify-items: center; gap: 8px; text-align: center; }
.topbar button.brand-center { border:0; padding:0; background:transparent; border-radius:0; }
.topbar button.brand-center:focus-visible { outline:2px solid var(--gold); outline-offset:6px; }
.brand-logo { display: block; width: min(430px, 48vw); height: auto; max-height: 122px; object-fit: contain; }
.brand-context { display: flex; justify-content: center; gap: 14px; color: #c8d9ce; font-size: .68rem; letter-spacing: .15em; }
.brand-context span:first-child { color: #d1ae60; font-weight: 850; }
.topbar-tools { display: flex; flex-wrap: wrap; min-width: 0; justify-content: flex-end; align-items: center; gap: 12px 22px; align-self: end; padding-bottom: 4px; }
.topbar-tools .workspace-meta { flex-shrink: 0; white-space: nowrap; }
.topbar-tools .personal-menu { min-width: 0; max-width: 100%; }
.topbar-tools #my-menu-trigger { display: flex; align-items: center; max-width: 100%; }
.topbar-tools #identity { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12em; }
.topbar-tools .my-avatar { flex-shrink: 0; }
.workspace-meta { display: grid; gap: 2px; text-align: right; color: #b8d0c1; font-size: .74rem; }
.workspace-meta strong { color: #fff; font-size: .9rem; }
.status { border: 1px solid #6f9680; border-radius: 999px; padding: 6px 12px; background: rgba(255, 255, 255, .06); color: #d5e7da; font-size: .74rem; white-space: nowrap; }
.status.ok { background: rgba(182, 219, 192, .13); color: #d8efdf; }
.status.warn { background: rgba(228, 199, 131, .16); border-color: #b8944b; color: #f4ddb1; }
.status.error { background: #fae2de; border-color: #dfaaa1; color: #7c251b; }

.shell { max-width: 1440px; margin: 0 auto; padding: 0 clamp(22px, 6vw, 96px) 96px; }
.tabs { position: relative; z-index: 20; display: flex; flex-wrap: wrap; gap: 0 27px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); overflow: visible; }
.tab { position: relative; flex: 0 0 auto; border: 0; padding: 16px 0 14px; background: transparent; color: var(--muted); font-size: .84rem; font-weight: 800; white-space: nowrap; }
.tabs > .tab { font-size: 1.1rem; padding-block: 20px 18px; }
.tabs > .nav-menu:first-of-type { margin-left: auto; }
.tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: transparent; }
.tab:hover, .tab:focus-visible { color: var(--forest); outline: none; }
.tab.is-active { color: var(--forest); }
.tab.is-active::after { background: var(--wine); }
.nav-menu { position: relative; flex: 0 0 auto; }
.menu-trigger { display: inline-flex; align-items: center; gap: 5px; }
.menu-trigger > span { color: var(--gold); font-size: .78rem; transition: transform .18s ease; }
.nav-menu:not(.is-dismissed):hover .menu-trigger, .nav-menu:focus-within .menu-trigger, .nav-menu.is-open .menu-trigger { color: var(--forest); }
.nav-menu:not(.is-dismissed):hover .menu-trigger > span, .nav-menu:focus-within .menu-trigger > span, .nav-menu.is-open .menu-trigger > span { transform: rotate(180deg); }
.menu-panel { position: absolute; z-index: 30; top: calc(100% - 1px); left: -16px; display: grid; min-width: 250px; border: 1px solid var(--line); background: var(--paper-warm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nav-menu:nth-last-child(-n + 2) .menu-panel { right: -16px; left: auto; }
.nav-menu:not(.is-dismissed):hover .menu-panel, .nav-menu:focus-within .menu-panel, .nav-menu.is-open .menu-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 18px; align-items: center; width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 13px 15px; background: transparent; color: var(--forest); text-align: left; }
.menu-item:last-child { border-bottom: 0; }
.menu-item:hover, .menu-item:focus-visible, .menu-item.is-selected { background: var(--forest); color: #fff; outline: none; }
.menu-item strong { font-size: .8rem; }
.menu-item span { color: var(--wine); font-size: .65rem; font-weight: 850; white-space: nowrap; }
.menu-item:hover span, .menu-item:focus-visible span, .menu-item.is-selected span { color: var(--gold); }

.workspace-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 25px; padding: 19px 24px; background: var(--forest); color: #fff; }
.strip-label { display: block; margin-bottom: 3px; color: #b8d0c1; font-size: .67rem; letter-spacing: .16em; }
.workspace-strip strong { font-size: 1.02rem; letter-spacing: -.01em; }
.strip-facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; color: #d7e8dc; font-size: .76rem; }

.workflow-rail { display: grid; grid-template-columns: minmax(168px, .22fr) minmax(0, 1fr); align-items: stretch; margin: 34px 0 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(251, 251, 247, .42); }
.rail-heading { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: 17px 18px 17px 0; border-right: 1px solid var(--line); }
.rail-heading .eyebrow { margin-bottom: 1px; }
.rail-heading strong { color: var(--forest); font-size: .86rem; font-weight: 760; letter-spacing: -.01em; }
.eyebrow { margin: 0 0 8px; color: var(--wine); font-size: .66rem; letter-spacing: .16em; font-weight: 850; text-transform: uppercase; }
.workflow-stage-list { border-left: 0; }
.workflow-stage-list .map-node-stage { min-height: 84px; padding: 18px 3px 16px; border-right: 0; background: transparent; text-align: center; }
.workflow-stage-list .map-node-stage .map-node-copy { justify-items: center; gap: 4px; }
.workflow-stage-list .map-node-stage strong { white-space: nowrap; }
.workflow-stage-list .map-node-stage .map-node-stage-en { min-height: 0; color: var(--gold); font-size: .5rem; font-weight: 760; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.workflow-stage-list .map-node-stage.is-selected .map-node-stage-en { color: var(--gold); }
.workflow-stage-list .map-node-stage::after { content: ""; position: absolute; right: 14px; bottom: -1px; left: 14px; height: 2px; background: var(--wine); opacity: 0; transform: scaleX(.35); transition: opacity .18s ease, transform .24s cubic-bezier(.22, 1, .36, 1); }
.workflow-stage-list .map-node-stage:hover, .workflow-stage-list .map-node-stage:focus-visible, .workflow-stage-list .map-node-stage.is-selected { background: transparent; color: var(--forest); }
.workflow-stage-list .map-node-stage.is-selected::after { opacity: 1; transform: scaleX(1); }
.workflow-stage-list .map-node-stage:focus-visible { outline: 2px solid var(--gold); outline-offset: -5px; }

.view { display: none; }
.view.is-visible { display: block; }
.page-frame { min-height: 420px; padding: 0; background: transparent; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; }
.page-heading { align-items: flex-end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.heading-copy { max-width: 760px; }
.page-heading .muted { max-width: 650px; font-size: .95rem; }
.heading-meta { display: flex; align-items: center; gap: 15px; padding-bottom: 3px; color: var(--muted); font-size: .79rem; white-space: nowrap; }
.heading-meta > span { color: var(--forest); font-weight: 800; }
.muted { margin-bottom: 0; color: var(--muted); }
.page-status { display: inline-flex; align-items: center; padding: 6px 0 5px 15px; border-left: 2px solid var(--gold); color: var(--forest); font-size: .78rem; white-space: nowrap; }

.today-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: clamp(35px, 7vw, 100px); margin-top: 44px; }
.section-caption { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--forest); font-size: .79rem; font-weight: 850; }
.section-caption > span:last-child { color: var(--muted); font-size: .7rem; font-weight: 500; }
.caption-rule { flex: 1; height: 1px; background: var(--line); }
.cards, .list { display: grid; gap: 0; }
.card, .task { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 19px 0; border-top: 1px solid var(--line); background: transparent; }
.card:last-child, .task:last-child { border-bottom: 1px solid var(--line); }
.card h3 { margin-top: 7px; font-size: 1.04rem; }
.card p, .task p { margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.card.overdue { border-left: 0; }
.card.blocked { border-left: 0; background: #f8f0d9; padding-right: 12px; padding-left: 12px; }
.side-note { align-self: start; padding: 4px 0 0 26px; border-left: 2px solid var(--wine); }
.note-label { display: block; margin-bottom: 14px; color: var(--wine); font-size: .68rem; font-weight: 850; letter-spacing: .15em; }
.side-note strong { display: block; color: var(--forest); font-size: 1.45rem; line-height: 1.18; letter-spacing: -.035em; }
.side-note p { margin: 15px 0 18px; color: var(--muted); font-size: .82rem; }
.today-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.today-heading h1 { margin-bottom: 10px; }
.today-heading-tools { display: contents; }
#today, #tasks, #work { position:relative; }
#today > .today-heading, #tasks > .page-heading, #work > .heading { position:relative; height:158px; min-height:158px; align-items:flex-end; padding-bottom:28px; border-bottom:1px solid var(--line); }
#work > .heading { margin-bottom:24px; }
#work > .heading h1 { margin-bottom:10px; }
#work > .heading p { margin-bottom:0; }
#tasks .today-switch-host > .page-status { align-self:flex-start; }
.today-view-switch { display: flex; border: 1px solid var(--line); border-radius:6px; overflow:hidden; background: var(--paper-warm); }
.today-switch-host .today-view-switch { position:absolute; right:86px; bottom:28px; margin:0; }
.today-page-refresh { position:absolute; right:0; bottom:28px; min-width:74px; min-height:40px; margin:0; border:1px solid var(--wine); border-radius:6px; padding:8px 14px; background:var(--wine); color:#fff; font-size:.76rem; font-weight:850; }
.today-page-refresh:hover, .today-page-refresh:focus-visible { border-color:var(--wine); background:#712032; color:#fff; outline:2px solid var(--gold); outline-offset:3px; }
.today-page-refresh:active { transform:translateY(1px); }
.today-view-switch button { position:relative; min-height: 40px; border: 0; border-radius:0; padding: 8px 14px; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 850; white-space:nowrap; }
.today-view-switch button:not(:last-child)::after { content:''; position:absolute; right:0; top:10px; bottom:10px; width:1px; background:var(--line); }
.today-view-switch button:last-child { border-right: 0; }
.today-view-switch button:hover, .today-view-switch button:focus-visible { color: var(--forest); outline: 2px solid var(--gold); outline-offset: -3px; }
.today-view-switch button.is-active { background: var(--forest); color: #fff; }
.today-view-switch button.is-active::after { display:none; }
.today-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 42px; border-top: 1px solid var(--forest); border-bottom: 1px solid var(--line); }
.today-summary-item { display: grid; gap: 2px; min-height: 84px; padding: 15px 18px 14px 0; }
.today-summary-item + .today-summary-item { padding-left: 18px; border-left: 1px solid var(--line); }
.today-summary-item span { color: var(--muted); font-size: .68rem; font-weight: 760; letter-spacing: .08em; }
.today-summary-item strong { color: var(--forest); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.today-summary-item small { color: var(--muted); font-size: .68rem; }
.today-summary.is-over-capacity { border-top-color: var(--wine); }
.today-summary.is-over-capacity .today-summary-item:first-child strong { color: var(--wine); }
.today-ledger { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .72fr); gap: clamp(34px, 6vw, 76px); }
.today-main-column, .today-side-column { display: grid; align-content: start; gap: 42px; }
.today-block > header { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding:16px; background:var(--forest); border-bottom: 2px solid var(--forest); }
.today-block > header h2, .today-block > header .ledger-index, .today-block > header .ledger-count { color:var(--paper-warm); }
.today-block > header > div { display: flex; align-items: baseline; gap: 12px; }
.today-block h2 { margin: 0; color: var(--forest); font-size: 1.02rem; letter-spacing: -.015em; }
.ledger-index { color: var(--wine); font: 850 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.ledger-count { min-width: 28px; color: var(--muted); font: 750 .76rem ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.today-confirmation-block > header { border-bottom-color: var(--wine); }
.today-completed-block > header { border-bottom-color: var(--gold); }
.today-list { display: grid; }
.today-entry { border-bottom: 1px solid var(--line); }
.today-entry-primary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 18px; align-items: start; padding: 16px 0 13px; }
.today-entry-kicker { display: flex; flex-wrap: wrap; gap: 7px 12px; color: var(--wine); font-size: .66rem; font-weight: 850; }
.today-entry h3 { margin: 0; color: var(--ink); font-size: .94rem; letter-spacing: -.012em; }
.today-entry-meta { grid-column: 1; margin: 0; color: var(--muted); font-size: .72rem; }
.today-entry-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; align-items: flex-start; gap: 7px; }
.today-entry-actions button { min-height: 34px; padding: 6px 9px; border: 1px solid var(--line); background: transparent; color: var(--forest); font-size: .68rem; font-weight: 850; }
.today-entry-actions button.today-primary-action { border-color: var(--forest); background: var(--forest); color: #fff; }
.today-entry-actions button:hover, .today-entry-actions button:focus-visible { border-color: var(--forest); outline: 2px solid var(--gold); outline-offset: 2px; }
.today-entry details { margin: 0; padding: 0 0 12px; }
.today-entry summary { width: fit-content; padding: 0; color: var(--muted); font-size: .68rem; font-weight: 760; }
.today-entry dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 7px 11px; margin: 12px 0 0; font-size: .72rem; }
.today-entry dt { color: var(--muted); }
.today-entry dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.today-empty { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.today-capacity { padding: 19px 20px; border: 1px solid var(--forest); background: var(--paper-warm); }
.today-capacity > span { display: block; color: var(--wine); font-size: .66rem; font-weight: 850; letter-spacing: .11em; }
.today-capacity strong { display: block; margin: 6px 0 3px; color: var(--forest); font-size: 1.72rem; font-variant-numeric: tabular-nums; }
.today-capacity p { margin: 0 0 15px; color: var(--muted); font-size: .71rem; }
.today-capacity-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.today-capacity-actions .button { flex: 1 1 150px; white-space: nowrap; }
.today-capacity.is-full { border-color: var(--wine); }
.today-capacity.is-full strong { color: var(--wine); }
.today-switch-host { align-self: flex-end; }
.today-switch-host .today-view-switch { margin-left: auto; }
#new-form input[type="checkbox"] { width: auto; min-width: 0; margin-right: 7px; accent-color: var(--forest); }
.text-link { padding: 0; border: 0; background: transparent; color: var(--wine); font-size: .8rem; font-weight: 850; }
.text-link:hover, .text-link:focus-visible { color: var(--forest); outline: none; }
.button { border: 1px solid var(--forest); border-radius: 0; padding: 10px 15px; background: var(--forest); color: #fff; font-size: .79rem; font-weight: 850; transition: background .22s ease, transform .22s ease; }
.button:hover, .button:focus-visible { background: var(--forest-deep); outline: 2px solid rgba(188, 153, 81, .55); outline-offset: 3px; }
.button:active { transform: translateY(1px); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--forest); box-shadow: none; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--forest); background: #e8eee8; }

.metric-grid { display: grid; gap: 0; }
.series-heading { padding-bottom: 31px; }
.series-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.series-toolbar label { display: grid; gap: 7px; min-width: 210px; color: var(--forest); font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.series-toolbar select { min-height: 42px; padding: 8px 36px 8px 12px; border: 1px solid var(--forest); border-radius: 0; background: var(--paper-warm); color: var(--forest); font-family: inherit; font-size: .78rem; font-weight: 800; }
.series-filter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; }
.series-filter button { min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-right-width: 0; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 800; }
.series-filter button:last-child { border-right-width: 1px; }
.series-filter button.is-active { border-color: var(--forest); background: var(--forest); color: #fff; }
.series-filter button.is-active + button { border-left-color: var(--forest); }
.series-filter button:focus-visible, .series-toolbar select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.series-metrics { grid-template-columns: repeat(4, 1fr); margin: 0 0 45px; border-bottom: 1px solid var(--line); }
.metric-grid article { min-height: 132px; padding: 21px 26px 22px 0; }
.metric-grid article + article { padding-left: 25px; border-left: 1px solid var(--line); }
.metric-grid span { display: block; color: var(--muted); font-size: .77rem; }
.metric-grid strong { display: block; margin-top: 9px; color: var(--forest); font-size: 1.37rem; letter-spacing: -.035em; }
.metric-grid small { display: block; margin-top: 10px; color: var(--muted); font-size: .74rem; }
.series-board { padding: 0; background: transparent; color: var(--ink); }
.series-board .section-caption { margin-bottom: 17px; color: var(--forest); }
.series-board .section-caption > span:last-child { color: var(--muted); }
.series-board .caption-rule { background: var(--line); }
.series-card-grid,.pipeline-style-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: 14px; }
.pipeline-style-grid { align-items: stretch; }
.series-product-card { position:relative; min-width: 0; overflow:hidden; border: 1px solid var(--line); border-radius:0; background: var(--paper-warm); box-shadow: 0 0 0 rgba(18, 63, 52, 0); transition: transform .2s ease, border-color .2s ease; }
.series-product-card::after { content:""; position:absolute; inset:0; z-index:1; background:rgba(0,0,0,.16); opacity:0; pointer-events:none; transition:opacity .16s ease; }
.series-product-card:hover { transform: translateY(-2px); border-color: var(--line); box-shadow:none; }
.series-product-card.is-related-hover::after,.series-product-card.is-related-open::after { opacity:1; }
.series-product-card > * { position:relative; z-index:2; }
.series-product-card > button { display: grid; grid-template-rows: auto auto; align-content: start; width: 100%; height: auto; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.series-product-card > button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.series-product-image { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.series-product-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-white-frame,.pipeline-live .product-white-frame { position:relative;display:block;width:100%;aspect-ratio:1;min-height:0;overflow:hidden;background:#fff; }
.series-product-image.product-white-frame { width:calc(100% - 20px); margin:10px 10px 0; aspect-ratio:4 / 3; }
.product-white-frame>img,.pipeline-live .product-white-frame>img { position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;margin:0;object-fit:contain;object-position:center; }
.product-white-frame>img[data-white-fitted],.pipeline-live .product-white-frame>img[data-white-fitted] { inset:auto;width:var(--white-width);height:var(--white-height);left:var(--white-left);top:var(--white-top); }
.series-product-image em { position: absolute; top: 11px; left: 11px; padding: 5px 8px; background: rgba(244, 244, 239, .94); color: var(--forest); font-size: .63rem; font-style: normal; font-weight: 850; letter-spacing: .06em; }
.series-image-empty { display: grid; width: 100%; min-height: 100%; place-items: center; padding: 20px; background: #e7e7df; color: var(--muted); font-size: .72rem; }
.series-product-copy { display: grid; align-content: start; min-height: 0; padding: 10px 12px 0; }
.series-product-index { color: var(--wine); font: 850 .64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; }
.series-product-copy > strong { margin-top: 4px; color: var(--forest); font-size: .94rem; line-height: 1.25; }
.series-product-copy > small { min-height: 0; margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.series-product-status { width: fit-content; margin-top: 8px; padding: 3px 6px; border: 1px solid #9bc5a7; background: #e0f0e3; color: var(--success); font-size: .61rem; font-weight: 850; }
.series-product-blocker { min-height: 0; margin-top: 6px; color: var(--wine); font-size: .64rem; line-height: 1.35; }
.series-product-open { display: flex; align-items: center; justify-content: space-between; margin: 8px -12px 0; padding: 9px 12px 10px; border-top: 1px solid var(--line); color: var(--forest); font-size: .64rem; font-weight: 850; }
.series-product-open b { color: var(--gold); font-size: 1rem; }
.series-empty { grid-column: 1 / -1; padding: 46px 20px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.series-product-detail { margin-top: 7px; }
.series-product-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 24px 0 25px; border-bottom: 2px solid var(--forest); background: transparent; color: var(--ink); }
.series-product-detail > header .eyebrow { color: var(--wine); }
.series-product-detail h2 { margin: 8px 0 5px; color: var(--forest); font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
.series-product-detail header p { margin: 0; color: var(--muted); }
.series-detail-summary { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .74rem; }
.series-detail-summary span { color: var(--success); font-weight: 850; }
.series-detail-summary strong { color: var(--wine); }
.series-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.series-detail-facts > div { min-height: 105px; padding: 20px 22px 18px 0; }
.series-detail-facts > div:not(:nth-child(3n + 1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.series-detail-facts > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
.series-detail-facts dt, .series-record-grid span { color: var(--muted); font-size: .68rem; }
.series-detail-facts dd { margin: 9px 0 0; color: var(--ink); font-size: .82rem; line-height: 1.5; overflow-wrap: anywhere; }
.series-record-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 31px 0 46px; background: var(--forest); color: #fff; }
.series-record-grid section { min-height: 100px; padding: 20px; border-right: 1px solid var(--line-dark); }
.series-record-grid section:last-child { border-right: 0; }
.series-record-grid span { color: #bfd4c3; }
.series-record-grid strong { display: block; margin-top: 10px; color: #fff; font-size: .82rem; overflow-wrap: anywhere; }
.series-detail-media > .section-caption { margin-bottom: 14px; }
.series-media-group { padding: 20px 0 30px; border-top: 1px solid var(--line); }
.series-media-group h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--forest); font-size: .82rem; }
.series-media-group h4 span { color: var(--wine); font: 850 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.series-media-group > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.series-media-group figure { margin: 0; border: 1px solid var(--line); background: var(--paper-warm); }
.series-media-group img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e7e7df; }
.series-media-group figcaption { display: grid; gap: 4px; padding: 12px; }
.series-media-group figcaption strong { color: var(--forest); font-size: .72rem; }
.series-media-group figcaption small { color: var(--muted); font-size: .65rem; line-height: 1.45; }

.operating-map { display: grid; gap: 18px; margin-top: 34px; }
.map-layer { min-width: 0; border: 1px solid var(--line); background: rgba(251, 251, 247, .64); }
.map-layer-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; min-height: 62px; padding: 16px 19px 15px; border-bottom: 1px solid var(--line); }
.map-layer-heading span { color: var(--wine); font-size: .66rem; font-weight: 850; letter-spacing: .16em; }
.map-layer-heading h2 { margin: 0; color: var(--forest); font-size: 1rem; letter-spacing: -.02em; }
.capability-layer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.operating-stages { display: grid; grid-template-columns: repeat(7, minmax(116px, 1fr)); overflow-x: auto; scrollbar-color: var(--gold) transparent; }
.workflow-rail .workflow-stage-list { grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; }
.topbar-tools .personal-menu { order: 10; }
.topbar-tools #my-menu-trigger { color: #fff; border: 1px solid #668578; padding: 10px 14px; border-radius: 20px; }
.personal-menu .menu-panel { right: 0; left: auto; }
body:not([data-member]) .personal-menu { display: none; }
.tabs [data-map-id].is-selected { color: var(--forest); box-shadow: inset 0 -3px var(--wine); }
.module-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.module-subnav button { padding: 10px 18px; border: 1px solid var(--line); background: var(--paper-warm); color: var(--forest); cursor: pointer; }
.module-subnav button[aria-pressed="true"] { background: var(--forest); color: white; }
.knowledge-layer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.map-node { position: relative; display: grid; align-content: space-between; gap: 16px; min-width: 0; min-height: 132px; padding: 18px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; transition: background .2s ease, color .2s ease, transform .2s ease; }
.map-node:last-child { border-right: 0; }
.map-node:hover { background: #e7ede6; color: var(--forest); }
.map-node:focus-visible { z-index: 2; outline: 3px solid var(--gold); outline-offset: -3px; }
.map-node.is-selected { background: var(--forest); color: #fff; }
.map-node-stage { min-height: 78px; }
.map-node-stage .map-node-copy { align-self: center; }
.map-node-copy { display: grid; gap: 7px; align-self: end; }
.map-node-copy strong { color: inherit; font-size: 1rem; letter-spacing: -.02em; }
.map-node-copy small { min-height: 3.8em; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.map-node.is-selected .map-node-copy small { color: #c8ddd0; }
.map-node-meta { color: var(--wine); font-size: .65rem; font-weight: 850; }
.map-node.is-selected .map-node-meta { color: var(--gold); }
.map-lower-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .75fr); gap: 18px; }
.support-layer { min-height: 132px; }
.support-node { display: grid; gap: 11px; padding: 20px; }
.support-node strong { color: var(--forest); font-size: 1rem; }
.support-node p { margin: 0; color: var(--muted); font-size: .78rem; }
.support-node span { width: fit-content; border-bottom: 1px solid var(--gold); color: var(--wine); font-size: .67rem; font-weight: 850; }
.operating-detail { margin-top: 18px; padding: 24px; border: 1px solid var(--forest); background: var(--paper-warm); box-shadow: var(--shadow); }
.operating-detail[hidden] { display: none; }
.knowledge-detail { display: grid; gap: 22px; }
.knowledge-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.knowledge-detail-actions { display: flex; align-items: flex-start; gap: 18px; flex-shrink: 0; }
.knowledge-review-action { border: 1px solid var(--forest); padding: 8px 15px; background: var(--forest); color: #fff; font-size: .72rem; font-weight: 850; }
.knowledge-review-action:hover, .knowledge-review-action:focus-visible { background: var(--forest-deep); outline: 2px solid var(--gold); outline-offset: 2px; }
.knowledge-detail-header h2 { margin: 0 0 8px; color: var(--forest); font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.04em; }
.knowledge-detail-header p:last-child { max-width: 68ch; margin: 0; color: var(--muted); line-height: 1.65; }
.knowledge-boundary { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 16px 18px; border-left: 3px solid var(--gold); background: #edf1e9; }
.knowledge-boundary > span { color: var(--wine); font-size: .66rem; font-weight: 850; letter-spacing: .12em; }
.knowledge-boundary p { margin: 0; color: var(--forest); font-size: .76rem; line-height: 1.55; }
.knowledge-handoff { border: 0; border-bottom: 1px solid var(--wine); padding: 3px 0; background: transparent; color: var(--wine); font-size: .68rem; font-weight: 850; cursor: pointer; white-space: nowrap; }
.knowledge-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.knowledge-guide-grid.brand-guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.knowledge-guide-card { min-height: 190px; padding: 18px; border: 1px solid var(--line); background: rgba(251, 251, 247, .7); }
.knowledge-guide-card header { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.knowledge-guide-card header > span { color: var(--wine); font: 850 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.knowledge-guide-card h3 { margin: 0; color: var(--forest); font-size: .9rem; }
.knowledge-guide-card header p { margin: 4px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.knowledge-guide-card ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.knowledge-guide-card li { position: relative; padding-left: 14px; color: var(--ink); font-size: .72rem; line-height: 1.45; }
.knowledge-guide-card li::before { position: absolute; top: .5em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); content: ''; }
.knowledge-sources { border: 1px solid var(--line); background: rgba(251, 251, 247, .7); }
.knowledge-sources > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.knowledge-sources h3 { margin: 3px 0 0; color: var(--forest); font-size: .96rem; }
.knowledge-sources > header > span { color: var(--muted); font-size: .68rem; }
.knowledge-sources ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.knowledge-sources li { display: grid; grid-template-columns: 86px 1fr auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .72rem; }
.knowledge-sources li:last-child { border-bottom: 0; }
.knowledge-topic-id { color: var(--wine); font: 850 .64rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.knowledge-topic-state { color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .05em; }
.knowledge-topic-state-verified, .knowledge-topic-state-recorded { color: var(--forest); }
.knowledge-topic-state-to_validate { color: var(--warning); }
.knowledge-source-empty { grid-template-columns: 1fr !important; color: var(--muted) !important; }
.knowledge-event-note { margin: 0; padding: 12px 18px 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .68rem; }
.knowledge-tools { margin-top: 0; padding-top: 4px; }
.operating-detail.product-data-page { padding: 0; overflow: visible; border-color: transparent; box-shadow: none; background:#fff !important; background-color:#fff !important; }
.operating-detail.product-data-page > .page-heading { display:none !important; }
.operating-detail.product-data-page .product-data-heading { background:transparent !important; }
.product-data-loading, .product-data-error { min-height: 240px; display: grid; place-items: center; padding: 32px; color: var(--muted); background: var(--paper-warm); }
.product-data-error { color: var(--wine); }
.product-data-native { --product-card-radius: 12px; position: relative; padding: clamp(26px, 3vw, 42px); background: transparent; color: var(--ink); }
.product-data-heading { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:0 0 26px; border-bottom:1px solid var(--line); }
.product-data-heading h2 { margin:6px 0 8px; color:var(--forest); font-size:clamp(1.9rem,3vw,2.65rem); letter-spacing:-.04em; }
.product-data-heading p:not(.product-data-eyebrow) { margin:0; max-width:62ch; color:var(--muted); font-size:.82rem; line-height:1.6; }
.product-data-eyebrow { margin:0; color:var(--wine); font:850 .65rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.product-data-heading-meta { display:flex; align-items:center; gap:16px; color:var(--muted); font-size:.7rem; white-space:nowrap; }
.product-data-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:22px 0 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.product-data-metric { min-width:0; padding:17px 18px 16px 0; }
.product-data-metric + .product-data-metric { padding-left:18px; border-left:1px solid var(--line); }
.product-data-metric span,.product-data-metric small { display:block; color:var(--muted); font-size:.68rem; }
.product-data-metric strong { display:block; margin:6px 0 3px; color:var(--forest); font-size:1.55rem; letter-spacing:-.04em; }
.product-data-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,220px) minmax(240px,1.25fr); gap:18px; align-items:end; padding:22px 0; border-bottom:1px solid var(--line); }
.product-data-view-tabs { display:flex; gap:22px; align-items:center; min-height:42px; }
.product-data-view-tabs button { position:relative; border:0; padding:9px 0 12px; background:transparent; color:var(--muted); font-size:.76rem; font-weight:850; }
.product-data-view-tabs button::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:transparent; }
.product-data-view-tabs button.is-active { color:var(--forest); }
.product-data-view-tabs button.is-active::after { background:var(--wine); }
.product-data-view-tabs button:focus-visible,.product-data-close:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.product-data-select,.product-data-search { display:grid; gap:6px; color:var(--muted); font-size:.68rem; font-weight:850; }
.product-data-select select,.product-data-search input { width:100%; border:1px solid var(--line); border-radius:8px; padding:10px 11px; background:var(--paper-warm); color:var(--ink); }
.product-data-select select:focus,.product-data-search input:focus { border-color:var(--forest); outline:2px solid rgba(188,153,81,.34); outline-offset:2px; }
.product-data-result-bar { display:flex; justify-content:space-between; gap:18px; padding:16px 0; color:var(--muted); font-size:.7rem; }
.product-data-result-bar span:first-child { color:var(--forest); font-weight:850; }
.product-data-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.product-data-card { position:relative; display:grid; grid-template-rows:auto auto auto; min-width:0; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--product-card-radius); background:var(--paper-warm); color:inherit; text-align:left; cursor:pointer; transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.product-data-card:is(:hover,:focus,:focus-visible,:active,.is-selected) { background:var(--paper-warm); }
.product-data-card:hover,.product-data-card:focus-visible { border-color:var(--forest); box-shadow:0 8px 22px rgba(18,63,52,.08); outline:none; transform:translateY(-2px); }
.product-data-card-top { display:flex; justify-content:space-between; gap:8px; padding:12px 13px 0; color:var(--muted); font:850 .62rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; }
.product-data-code { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.product-data-hot { color:var(--wine); letter-spacing:.08em; }
.product-data-image { display:grid; place-items:center; width:100%; aspect-ratio:1 / 1; min-width:0; min-height:0; overflow:hidden; padding:10px; }
.product-data-image img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
.product-data-image-empty { color:var(--muted); font-size:.72rem; }
.product-data-card-body { display:grid; align-content:start; min-height:0; gap:6px; padding:12px 14px 16px; }
.product-data-card-body strong { overflow:hidden; color:var(--forest); font-size:.9rem; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.product-data-card-body > span:not(.product-data-card-meta) { color:var(--muted); font-size:.68rem; }
.product-data-card-meta { color:var(--ink); font-size:.68rem; line-height:1.45; }
.product-data-empty { grid-column:1 / -1; padding:48px 0; color:var(--muted); text-align:center; }
.product-data-drawer { position:fixed; z-index:20; inset:0; display:flex; justify-content:flex-end; background:rgba(23,35,31,.18); }
.product-data-drawer[hidden] { display:none; }
.product-data-drawer-content { width:min(680px,92vw); height:100%; overflow:auto; padding:30px; background:var(--paper); box-shadow:-12px 0 30px rgba(23,35,31,.12); }
.product-data-drawer-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.product-data-drawer-head h3 { margin:6px 0 6px; color:var(--forest); font-size:1.35rem; }
.product-data-drawer-head p { margin:0; color:var(--muted); font-size:.72rem; }
.product-data-close { border:0; border-bottom:1px solid var(--wine); padding:3px 0; background:transparent; color:var(--wine); font-size:.72rem; font-weight:850; }
.product-data-detail-hero { display:grid; grid-template-columns:200px 1fr; gap:24px; padding:24px 0; border-bottom:1px solid var(--line); }
.product-data-detail-image { display:grid; place-items:center; height:220px; padding:12px; border:1px solid var(--line); background:var(--paper-warm); }
.product-data-detail-image img { width:100%; height:100%; object-fit:contain; object-position:center; }
.product-data-detail-image span { color:var(--muted); font-size:.72rem; }
.product-data-detail-facts { display:grid; align-content:start; gap:14px; }
.product-data-detail-facts div { display:grid; gap:4px; }
.product-data-detail-facts span { color:var(--muted); font-size:.67rem; }
.product-data-detail-facts strong { color:var(--forest); font-size:.8rem; line-height:1.45; }
.product-data-detail-section { padding:20px 0; border-bottom:1px solid var(--line); }
.product-data-detail-section h4 { margin:0 0 10px; color:var(--forest); font-size:.86rem; }
.product-data-detail-section p { margin:6px 0; color:var(--muted); font-size:.74rem; line-height:1.6; }
.product-data-table-wrap { overflow:auto; border:1px solid var(--line); }
.product-data-table { width:100%; border-collapse:collapse; font-size:.68rem; }
.product-data-table th,.product-data-table td { padding:9px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.product-data-table th { color:var(--muted); font-weight:850; background:var(--paper-warm); }
.product-data-table td { color:var(--ink); }
.product-data-detail-empty { padding:12px 0; }
.operating-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.operating-detail-header h2 { margin: 0 0 8px; color: var(--forest); font-size: clamp(1.75rem, 3vw, 2.65rem); }
.operating-detail-header p:last-child { max-width: 58ch; margin: 0; color: var(--muted); }
.detail-close { border: 0; border-bottom: 1px solid var(--wine); padding: 3px 0; background: transparent; color: var(--wine); font-size: .72rem; font-weight: 850; }
.detail-close:hover, .detail-close:focus-visible { color: var(--forest); outline: 2px solid var(--gold); outline-offset: 4px; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 9px 24px; padding: 16px 0; color: var(--muted); font-size: .72rem; }
.detail-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.detail-tools h3 { grid-column: 1 / -1; margin: 5px 0 7px; color: var(--forest); font-size: .82rem; letter-spacing: .04em; }
.detail-tasks { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-tasks h3 { margin: 0; color: var(--forest); font-size: .82rem; letter-spacing: .04em; }
.control-page-tabs { display: flex; width: min(440px, 100%); margin-bottom: 20px; border: 1px solid var(--line); }
.control-page-tabs button, .control-scope-tabs button { min-height: 42px; border: 0; border-right: 1px solid var(--line); padding: 10px 24px; background: transparent; color: var(--muted); font-weight: 850; cursor: pointer; }
.control-page-tabs button:last-child, .control-scope-tabs button:last-child { border-right: 0; }
.control-page-tabs button[aria-pressed="true"], .control-scope-tabs button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.control-detail-header { align-items: end; }
.control-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0 0; }
.control-scope-tabs { display: flex; border: 1px solid var(--line); }
.control-scope-tabs button { min-width: 104px; }
.control-toolbar > p { display: flex; gap: 15px; margin: 0; color: var(--muted); font-size: .72rem; }
.control-toolbar > p strong { color: var(--forest); }
.control-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-metrics article { min-width: 0; padding: 18px 22px 17px; }
.control-metrics article:first-child { padding-left: 0; }
.control-metrics article + article { border-left: 1px solid var(--line); }
.control-metrics span, .control-metrics small { display: block; color: var(--muted); font-size: .68rem; }
.control-metrics strong { display: block; margin: 7px 0 5px; color: var(--forest); font-size: 1.55rem; letter-spacing: -.04em; }
.sales-control-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(390px, .95fr); gap: 18px; align-items: start; }
.sales-ledgers { display: grid; gap: 18px; }
.control-ledger, .product-watch { border: 1px solid var(--line); background: rgba(251, 251, 247, .7); }
.control-ledger > header, .product-watch > header, .single-product-detail > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--paper-warm); color: var(--ink); }
.control-ledger h3, .product-watch h3, .single-product-detail h3 { margin: 3px 0 0; color: var(--forest); font-size: 1rem; }
.control-ledger > header > span, .single-product-detail > header > span { color: var(--muted); font-size: .67rem; }
.ledger-columns { display: grid; grid-template-columns: minmax(190px, 1.6fr) repeat(4, minmax(72px, .7fr)) minmax(66px, .55fr); gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .64rem; }
.ledger-row { display: grid; grid-template-columns: 28px minmax(150px, 1.45fr) repeat(4, minmax(72px, .7fr)) minmax(66px, .55fr); gap: 12px; align-items: center; padding: 15px 18px; }
.ledger-row > b { color: var(--wine); font-size: .75rem; }
.ledger-row div strong { color: var(--forest); font-size: .77rem; }
.ledger-row div p { margin: 3px 0 0; color: var(--muted); font-size: .66rem; }
.ledger-row > span { color: var(--muted); font-size: .67rem; }
.ledger-row > em { width: fit-content; padding: 3px 7px; background: #f5ead4; color: var(--warning); font-size: .64rem; font-style: normal; font-weight: 850; }
.ledger-empty { padding: 24px 18px; }
.ledger-empty strong { color: var(--forest); font-size: .84rem; }
.ledger-empty p { margin: 6px 0 0; color: var(--muted); font-size: .72rem; }
.text-action { border: 0; border-bottom: 1px solid var(--wine); padding: 2px 0; background: transparent; color: var(--wine); font-size: .7rem; font-weight: 850; }
.product-selector { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.product-selector strong { color: var(--forest); font-size: .78rem; }
.product-selector span { color: var(--muted); font-size: .68rem; }
.product-selector button { border: 0; border-bottom: 1px solid var(--forest); padding: 2px 0; background: transparent; color: var(--forest); font-size: .67rem; font-weight: 850; }
.single-product-detail > header { padding: 14px 18px; background: #edf1e9; }
.product-module { padding: 0 18px 13px; }
.product-module + .product-module { border-top: 1px solid var(--line); }
.product-module > header { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 12px 0 9px; background: transparent; color: var(--ink); }
.product-module > header span { color: var(--wine); font: 850 .62rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-module h4 { margin: 0; color: var(--forest); font-size: .78rem; }
.product-module > header b { color: var(--warning); font-size: .62rem; }
.product-module dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-module dl div { min-width: 0; padding: 7px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-module dt { color: var(--muted); font-size: .58rem; }
.product-module dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: .64rem; }
.control-placeholder { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 42px; margin-top: 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-placeholder h3 { margin: 7px 0; color: var(--forest); font-size: 1.2rem; }
.control-placeholder p { margin: 0; color: var(--muted); font-size: .77rem; }
.control-section-index { color: var(--wine); font: 850 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.control-placeholder dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.control-placeholder dl div { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-placeholder dt { color: var(--muted); font-size: .66rem; }
.control-placeholder dd { margin: 5px 0 0; color: var(--forest); font-size: .76rem; font-weight: 850; }
.control-related-tools { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.control-related-tools h3 { margin: 0 0 10px; color: var(--forest); font-size: .76rem; }
.control-related-tools > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.system-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 15px; align-items: center; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); background: var(--paper-warm); color: var(--ink); text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.system-entry:hover, .system-entry:focus-visible { border-color: var(--forest); background: #fff; outline: none; transform: translateY(-1px); }
.system-primary { border-color: var(--forest); background: var(--forest); color: #fff; }
.system-primary:hover, .system-primary:focus-visible { border-color: var(--forest); background: #194c3e; color: #fff; }
.system-entry-title { min-width: 0; overflow: hidden; color: inherit; font-size: .92rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.system-entry-meta { grid-column: 1; color: var(--muted); font-size: .7rem; }
.system-primary .system-entry-meta { color: #c8ddd0; }
.system-entry-open { grid-column: 2; grid-row: 1 / span 2; color: var(--wine); font-size: .71rem; font-weight: 850; white-space: nowrap; }
.system-primary .system-entry-open { color: #e4c783; }
.system-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.system-variants .system-entry { padding: 10px 11px; }
.system-variants .system-entry-title { font-size: .77rem; }
.system-variants .system-entry-meta { font-size: .66rem; }
.system-variants .system-entry-open { font-size: .64rem; }
.system-entry.is-missing { border-style: dashed; background: transparent; color: var(--muted); }
.system-entry-missing { grid-column: 2; grid-row: 1 / span 2; color: var(--warning); font-size: .7rem; font-weight: 850; white-space: nowrap; }

.task-list, .evidence-list { margin-top: 37px; }
.task strong { color: var(--forest); font-size: .97rem; }
.task .pill, .card .pill { flex: 0 0 auto; }
.notice { margin-top: 23px; padding: 16px 18px; border-left: 2px solid var(--gold); background: #eef2e9; color: var(--forest); font-size: .81rem; }
.empty { padding: 28px 0; color: var(--muted); }

.employee-metrics { grid-template-columns: repeat(5, 1fr); margin: 37px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.employee-metrics article { min-height: 108px; padding: 17px 15px 16px 0; }
.employee-metrics article + article { padding-left: 15px; }
.employee-metrics strong { font-size: 1.58rem; }
.employee-groups { display: flex; gap: 22px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.group-tab { position: relative; border: 0; padding: 10px 0 12px; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 850; }
.group-tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.group-tab.is-active { color: var(--forest); }
.group-tab.is-active::after { background: var(--wine); }
.directory-toolbar { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(135px, 1fr)); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.directory-toolbar label { display: grid; gap: 6px; color: var(--muted); font-size: .74rem; font-weight: 850; }
.directory-toolbar input, .directory-toolbar select { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 10px 11px; background: var(--paper-warm); color: var(--ink); }
.directory-toolbar input:focus, .directory-toolbar select:focus { border-color: var(--forest); outline: 2px solid rgba(188, 153, 81, .38); outline-offset: 2px; }
.directory-result { margin: 18px 0 4px; color: var(--muted); font-size: .82rem; }
.employee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.employee-card { display: grid; gap: 14px; padding: 23px 0 24px; border-bottom: 1px solid var(--line); }
.employee-card-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.employee-card h3 { margin: 7px 0 3px; font-size: 1.05rem; }
.employee-card-header p { margin: 0; color: var(--muted); font-size: .8rem; }
.employee-id { color: var(--wine); font: 850 .73rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.status-chip { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 850; white-space: nowrap; }
.status-active { border-color: #9bc5a7; background: #e0f0e3; color: var(--success); } .status-idle { background: #edf0f6; color: #4a628d; } .status-notLoaded { background: #f0ece8; color: #75665b; } .status-archived { background: #ece8e2; color: #75685d; }
.employee-responsibility { margin: 0; color: var(--ink); font-size: .88rem; }
.employee-details { display: grid; gap: 9px; margin: 0; }
.employee-details div { display: grid; gap: 3px; }
.employee-details dt { color: var(--muted); font-size: .7rem; }
.employee-details dd { margin: 0; }
.employee-details code { display: block; overflow-wrap: anywhere; color: #405047; font: .7rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.employee-badges, .actions { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 9px; background: #e6f0e8; color: var(--success); font-size: .7rem; font-weight: 850; }
.pill.pending, .pill.inferred, .pill.to_validate { background: #fff0d0; color: var(--warning); }
.link-button.is-disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 1050px) {
  .topbar { grid-template-columns: 1fr auto; }
  .brand-center { grid-column: 1 / -1; grid-row: 1; }
  .topbar-meta { grid-column: 1; grid-row: 2; }
  .topbar-tools { grid-column: 2; grid-row: 2; }
  .today-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 44px; }
  .today-ledger { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); gap: 42px; }
  .employee-metrics { grid-template-columns: repeat(3, 1fr); }
  .sales-control-grid { grid-template-columns: 1fr; }
  .series-card-grid, .pipeline-style-grid, .series-media-group > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .knowledge-guide-grid.brand-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  h1 { font-size: clamp(2.5rem, 12vw, 4.1rem); }
  .topbar { display: grid; grid-template-columns: 1fr; min-height: 0; gap: 14px; padding: 24px 20px 20px; }
  .brand-center, .topbar-meta, .topbar-tools { grid-column: 1; grid-row: auto; justify-self: center; }
  .brand-logo { width: min(320px, 82vw); max-height: 98px; }
  .brand-context { font-size: .63rem; }
  .topbar-meta { justify-self: start; }
  .topbar-tools { width: 100%; justify-content: space-between; align-items: flex-start; }
  .workspace-meta { text-align: left; }
  .shell { padding-inline: 20px; }
  .tabs { gap: 0 21px; padding-block: 4px; }
  .tabs > .tab { font-size: 1rem; }
  .tabs::before { content: ''; order: 1; flex-basis: 100%; }
  .tabs > .nav-menu { order: 2; }
  .menu-panel, .nav-menu:nth-last-child(-n + 2) .menu-panel { position: fixed; top: var(--menu-top, 0); right: 20px; left: 20px; width: auto; min-width: 0; }
  .workspace-strip { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .strip-facts { justify-content: flex-start; gap: 8px 14px; }
  .workflow-rail { grid-template-columns: 1fr; margin-top: 38px; margin-bottom: 41px; }
  .rail-heading { gap: 3px; padding: 15px 0 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .page-heading, .section-heading { align-items: flex-start; flex-direction: column; gap: 19px; }
  .page-heading { padding-bottom: 26px; }
  .heading-meta { width: 100%; justify-content: space-between; }
  .page-status { padding-left: 0; border-left: 0; }
  .today-layout { grid-template-columns: 1fr; gap: 39px; margin-top: 35px; }
  .today-heading { align-items: flex-start; flex-direction: column; width: 100%; }
  .today-view-switch { width: 100%; }
  #today > .today-heading, #tasks > .page-heading, #work > .heading { height:260px; min-height:260px; }
  .today-switch-host .today-view-switch { position:absolute; right:86px; bottom:28px; left:0; width:auto; }
  .today-page-refresh { bottom:28px; }
  .today-view-switch button { flex: 1; min-width:0; padding-inline:5px; font-size:.68rem; }
  .today-switch-host { align-self: stretch; width: 100%; }
  .today-switch-host .today-view-switch { margin-left: 0; }
  .today-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 34px; }
  .today-summary-item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .today-summary-item:nth-child(4) { border-top: 1px solid var(--line); }
  .today-ledger { grid-template-columns: 1fr; gap: 42px; }
  .today-entry-primary { grid-template-columns: minmax(0, 1fr); }
  .today-entry-actions { grid-column: 1; grid-row: auto; padding-top: 4px; }
  .side-note { padding: 22px 0 0; border-top: 2px solid var(--wine); border-left: 0; }
  .series-toolbar { align-items: stretch; flex-direction: column; }
  .series-toolbar label { min-width: 0; }
  .series-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-filter button, .series-filter button:last-child { border: 1px solid var(--line); }
  .series-filter button.is-active { border-color: var(--forest); }
  .series-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid article, .metric-grid article + article { min-height: 0; padding: 17px 0; border-left: 0; }
  .metric-grid article + article { border-top: 1px solid var(--line); }
  .series-metrics article:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .series-card-grid, .pipeline-style-grid, .series-media-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-product-detail > header, .series-detail-summary { align-items: flex-start; flex-direction: column; }
  .series-detail-facts { grid-template-columns: 1fr; }
  .series-detail-facts > div, .series-detail-facts > div:not(:nth-child(3n + 1)), .series-detail-facts > div:nth-child(n + 4) { min-height: 0; padding: 16px 0; border-top: 1px solid var(--line); border-left: 0; }
  .series-detail-facts > div:first-child { border-top: 0; }
  .series-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-record-grid section:nth-child(2) { border-right: 0; }
  .series-record-grid section:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .capability-layer, .knowledge-layer, .map-lower-grid { grid-template-columns: 1fr; }
  .operating-stages { grid-template-columns: 1fr; overflow: visible; }
  .workflow-rail .workflow-stage-list { grid-template-columns: repeat(8, minmax(96px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; }
  .map-node { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .map-node:last-child { border-bottom: 0; }
  .map-node-stage { grid-template-columns: 1fr; align-items: center; min-height: 64px; }
  .workflow-stage-list .map-node-stage { min-height: 62px; border-bottom: 0; scroll-snap-align: start; }
  .map-node-stage .map-node-copy { align-self: center; }
  .map-node-stage .map-node-copy small { min-height: 0; }
  .operating-detail { padding: 18px; }
  .knowledge-detail-header { flex-direction: column; }
  .knowledge-boundary { grid-template-columns: 1fr; gap: 9px; }
  .knowledge-handoff { justify-self: start; white-space: normal; text-align: left; }
  .knowledge-guide-grid, .knowledge-guide-grid.brand-guide-grid { grid-template-columns: 1fr; }
  .knowledge-guide-card { min-height: 0; }
  .knowledge-sources li { grid-template-columns: 74px 1fr; }
  .knowledge-topic-state { grid-column: 2; }
  .operating-detail-header { gap: 18px; }
  .detail-tools { grid-template-columns: 1fr; }
  .control-page-tabs, .control-scope-tabs { width: 100%; overflow-x: auto; }
  .control-page-tabs button, .control-scope-tabs button { flex: 1 0 auto; min-width: 98px; padding-inline: 14px; }
  .control-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .control-metrics { grid-template-columns: repeat(2, 1fr); }
  .control-metrics article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .control-metrics article:nth-child(4) { border-top: 1px solid var(--line); }
  .ledger-columns { display: none; }
  .ledger-row { grid-template-columns: 24px 1fr auto; }
  .ledger-row > span { display: none; }
  .product-module dl, .control-placeholder dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-placeholder { grid-template-columns: 1fr; gap: 20px; }
  .employee-metrics { grid-template-columns: repeat(2, 1fr); }
  .employee-grid { grid-template-columns: 1fr; }
  .directory-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .series-card-grid, .pipeline-style-grid, .series-media-group > div { grid-template-columns: 1fr; }
}
@media (max-width: 1280px) {
  .product-data-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .product-data-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .product-data-native { padding:20px; }
  .product-data-heading { align-items:flex-start; flex-direction:column; gap:16px; }
  .product-data-heading-meta { width:100%; justify-content:space-between; }
  .product-data-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-data-metric + .product-data-metric { padding-left:14px; }
  .product-data-metric:nth-child(3) { padding-left:0; border-top:1px solid var(--line); border-left:0; }
  .product-data-metric:nth-child(4) { border-top:1px solid var(--line); }
  .product-data-controls { grid-template-columns:1fr; align-items:stretch; }
  .product-data-view-tabs { gap:18px; }
  .product-data-result-bar { align-items:flex-start; flex-direction:column; gap:6px; }
  .product-data-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-data-detail-hero { grid-template-columns:1fr; }
  .product-data-detail-image { height:260px; }
}
@media (max-width: 480px) {
  .product-data-grid { grid-template-columns:1fr; }
  .product-data-summary { grid-template-columns:1fr 1fr; }
  .product-data-drawer-content { width:100%; padding:22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.series-image-viewer{max-width:96vw;max-height:96vh;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;}
.series-image-viewer::backdrop{background:rgba(0,0,0,.78);}
.series-image-viewer>img{display:block;max-width:96vw;max-height:96vh;width:auto;height:auto;object-fit:contain;margin:0;cursor:zoom-out;}
.series-image-viewer>.gw-viewer-close{position:absolute;top:14px;right:14px;z-index:3;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:50%;background:rgb(17 38 29/.55);color:#fff;font:inherit;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.series-image-viewer>.gw-viewer-close:hover{background:rgb(17 38 29/.75);}
.series-image-viewer>.gw-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#fff;font:inherit;font-size:34px;line-height:1;display:flex;align-items:center;justify-content:center;text-shadow:0 1px 6px rgb(0 0 0/.65);cursor:pointer;}
.series-image-viewer>.gw-viewer-nav:hover{background:none;color:#fff;text-shadow:0 1px 8px rgb(0 0 0/.8);}
.series-image-viewer>.gw-viewer-nav.prev{left:16px;}
.series-image-viewer>.gw-viewer-nav.next{right:16px;}
.series-image-viewer>.gw-viewer-nav[hidden]{display:none;}
.series-image-viewer>.gw-viewer-caption{position:absolute;left:0;right:0;bottom:0;z-index:2;margin:0;padding:34px 20px 14px;background:linear-gradient(transparent,rgb(0 0 0/.55));color:#fff;font-size:14px;line-height:1.4;text-align:left;pointer-events:none;}
.team-profile-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:24px;}
.team-profile-person{display:flex;align-items:center;gap:10px;min-width:100px;}
.team-profile-strip .team-profile-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;object-fit:cover;background:#e7ede4;color:#143e34;display:grid;place-items:center;font-weight:700;}
.team-profile-strip strong{display:block;color:#fff;font-size:14px;}
.team-profile-strip small{display:block;color:#d9e7dd;font-size:12px;max-width:160px;overflow-wrap:anywhere;}
@media(max-width:640px){.team-profile-strip{justify-content:flex-start;gap:16px;}.team-profile-person{min-width:0;}}
