:root {
  --doc-black: #050505;
  --doc-white: #fff;
  --doc-alt: #f3f3f3;
  --doc-line: #d5d5d5;
  --doc-muted: #656565;
}

.deliverable-page { margin: 0; color: var(--doc-black); background: var(--doc-white); }
.deliverable-shell { width: min(calc(100% - 64px), var(--studio-container-wide)); margin-inline: auto; }
.deliverable-header { position: sticky; top: 0; z-index: 20; color: #fff; background: rgba(5,5,5,.98); border-bottom: 1px solid #2c2c2c; }
.deliverable-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; min-height: var(--studio-header-height); }
.deliverable-header .brand { color: #fff; }
.deliverable-header .brand-mark,
.deliverable-footer .brand-mark { display: block; aspect-ratio: 1; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: contain; }
.deliverable-header-meta { display: flex; gap: 10px; align-items: baseline; font-size: 12px; }
.deliverable-header-meta span { color: #8d8d8d; text-transform: uppercase; letter-spacing: .08em; }
.deliverable-header-button { justify-self: end; min-height: 48px; padding-inline: 24px; border-color: #fff; border-radius: var(--studio-radius-control); color: #050505; background: #fff; box-shadow: none; }
.deliverable-hero { padding: 92px 0 76px; color: #fff; background: var(--doc-black); }
.deliverable-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); gap: 88px; align-items: end; }
.deliverable-hero-grid > *, .document-heading > *, .launch-grid > *, .deliverable-cta-grid > * { min-width: 0; }
.deliverable-kicker { margin: 0 0 20px; color: #858585; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.deliverable-hero h1 { max-width: 800px; margin: 0; color: #fff; font-family: var(--display-font); font-size: clamp(58px,7vw,98px); font-weight: 700; line-height: .9; letter-spacing: -.04em; overflow-wrap: anywhere; text-transform: uppercase; }
.deliverable-lead { max-width: 760px; margin: 32px 0 0; color: #adadad; font-size: 19px; line-height: 1.6; }
.document-card { margin: 0; border: 1px solid #303030; background: #0e0e0e; }
.document-card div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 17px 20px; border-bottom: 1px solid #303030; }
.document-card div:last-child { border-bottom: 0; }
.document-card dt { color: #777; font-size: 11px; text-transform: uppercase; }
.document-card dd { min-width: 0; margin: 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.status-pill { display: inline-block; padding: 5px 8px; color: #050505; background: #fff; font-size: 10px; text-transform: uppercase; }
.deliverable-summary { padding: 56px 0; border-bottom: 1px solid var(--doc-line); background: #fff; }
.deliverable-summary-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.65fr); gap: 56px; align-items: end; }
.deliverable-summary-heading h2 { margin: 0; font-family: var(--display-font); font-size: clamp(34px,4vw,54px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.deliverable-summary-heading > p { max-width: 620px; margin: 0; color: var(--doc-muted); font-size: 15px; line-height: 1.6; }
.deliverable-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 40px 0 0; border-top: 1px solid var(--doc-line); border-left: 1px solid var(--doc-line); }
.deliverable-summary-grid div { min-height: 150px; padding: 24px; border-right: 1px solid var(--doc-line); border-bottom: 1px solid var(--doc-line); }
.deliverable-summary-grid dt { color: #777; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.deliverable-summary-grid dd { margin: 30px 0 0; font-size: 15px; font-weight: 650; line-height: 1.5; }
.deliverable-summary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.deliverable-summary-actions .button { min-height: 48px; }
.deliverable-disclaimer { max-width: 820px; margin: 18px 0 0; color: #6f6f6f; font-size: 12px; line-height: 1.55; }
.deliverable-nav { position: sticky; top: var(--studio-header-height); z-index: 19; border-bottom: 1px solid var(--doc-line); background: rgba(255,255,255,.97); box-shadow: 0 10px 24px rgba(0,0,0,.06); backdrop-filter: blur(16px); }
.deliverable-nav .deliverable-shell { display: flex; gap: 32px; overflow-x: auto; }
.deliverable-nav a { flex: 0 0 auto; padding: 19px 0 16px; border-bottom: 3px solid transparent; color: var(--doc-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.deliverable-nav a:hover, .deliverable-nav a:focus-visible, .deliverable-nav a.is-active, .deliverable-nav a[aria-current="true"] { border-color: #050505; color: #050505; }
.document-section { padding: 96px 0; scroll-margin-top: calc(var(--studio-header-height) + 68px); }
.document-section-alt { background: var(--doc-alt); }
.document-section-dark { color: #fff; background: var(--doc-black); }
.document-heading { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(280px,.55fr); gap: 34px; align-items: start; margin-bottom: 48px; }
.document-heading > span { color: #9a9a9a; font-family: var(--display-font); font-size: 48px; font-weight: 700; line-height: .9; }
.document-heading p { margin: 0; color: var(--doc-muted); font-size: 14px; line-height: 1.6; }
.document-heading div > p { margin-bottom: 10px; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.document-heading h2 { max-width: 760px; margin: 0; font-family: var(--display-font); font-size: clamp(38px,4.5vw,62px); font-weight: 700; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.document-section-dark .document-heading p { color: #929292; }
.process-map { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; border-top: 1px solid var(--doc-line); border-left: 1px solid var(--doc-line); list-style: none; }
.process-map li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; min-height: 240px; padding: 28px; border-right: 1px solid var(--doc-line); border-bottom: 1px solid var(--doc-line); }
.process-map li > span { color: #9a9a9a; font-family: var(--display-font); font-size: 26px; font-weight: 700; }
.process-map small { color: #8a8a8a; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.process-map h3 { margin: 20px 0 12px; font-size: 23px; }
.process-map p { margin: 0; color: var(--doc-muted); font-size: 14px; line-height: 1.55; }
.table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--doc-line); background: #fff; }
.runbook-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.runbook-table th, .runbook-table td { padding: 20px 22px; border-right: 1px solid var(--doc-line); border-bottom: 1px solid var(--doc-line); text-align: left; vertical-align: top; }
.runbook-table th { color: var(--doc-muted); background: #ececec; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.runbook-table td { font-size: 13px; line-height: 1.45; }
.runbook-table tr:last-child td { border-bottom: 0; }
.runbook-table th:last-child, .runbook-table td:last-child { border-right: 0; }
.role-grid, .boundary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--doc-line); border-left: 1px solid var(--doc-line); }
.role-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--doc-line); border-bottom: 1px solid var(--doc-line); }
.role-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #050505; font-weight: 800; }
.role-grid h3 { margin: 46px 0 14px; font-size: 22px; }
.role-grid p { margin: 0; color: var(--doc-muted); font-size: 14px; line-height: 1.55; }
.boundary-grid { grid-template-columns: repeat(3,minmax(0,1fr)); border-color: #303030; }
.boundary-grid article { min-height: 390px; padding: 34px; border-right: 1px solid #303030; border-bottom: 1px solid #303030; }
.boundary-grid article > p { color: #7f7f7f; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.boundary-grid h3 { min-height: 64px; margin: 52px 0 28px; color: #fff; font-size: 25px; }
.boundary-grid ul { margin: 0; padding: 0; list-style: none; }
.boundary-grid li { padding: 12px 0; border-top: 1px solid #303030; color: #b3b3b3; font-size: 13px; }
.launch-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.8fr); gap: 28px; }
.checklist, .metric-panel { border: 1px solid var(--doc-line); background: #fff; }
.checklist label { display: flex; gap: 14px; align-items: center; min-height: 66px; padding: 14px 22px; border-bottom: 1px solid var(--doc-line); font-size: 14px; font-weight: 650; }
.checklist label:last-child { border-bottom: 0; }
.checklist input { width: 19px; height: 19px; accent-color: #050505; }
.metric-panel { padding: 28px; color: #fff; background: #050505; }
.metric-panel dl { margin: 0; }
.metric-panel dl div { display: flex; justify-content: space-between; gap: 22px; padding: 17px 0; border-top: 1px solid #303030; }
.metric-panel dt { color: #aaa; font-size: 13px; }
.metric-panel dd { margin: 0; font-family: var(--display-font); font-size: 25px; font-weight: 700; }
.metric-panel small { display: block; margin-top: 22px; color: #777; font-size: 11px; line-height: 1.5; }
.deliverable-cta { padding: 90px 0; color: #fff; background: #050505; }
.deliverable-cta-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 70px; align-items: end; }
.deliverable-cta h2 { max-width: 820px; margin: 0; color: #fff; font-family: var(--display-font); font-size: clamp(42px,5vw,68px); line-height: .95; text-transform: uppercase; }
.deliverable-cta p:not(.deliverable-kicker) { max-width: 720px; color: #aaa; line-height: 1.6; }
.deliverable-cta-grid > div:last-child { display: grid; gap: 10px; min-width: 220px; }
.deliverable-cta .button-inverse { color: #fff; background: transparent; border-color: #5a5a5a; }
.deliverable-cta .button-inverse:hover, .deliverable-cta .button-inverse:focus-visible { color: #050505; background: #fff; border-color: #fff; }
.deliverable-footer { padding: 34px 0; color: #999; background: #050505; border-top: 1px solid #303030; }
.deliverable-footer-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 38px; align-items: center; font-size: 12px; }
.deliverable-footer a { color: #fff; }
.deliverable-footer-brand { display: inline-flex; gap: 10px; align-items: center; }
.deliverable-footer-brand img { border-radius: 50%; }
.deliverable-footer-brand span { display: grid; }
.deliverable-footer-brand strong { font-size: 15px; }
.deliverable-footer-brand small { color: #9b9b9b; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.deliverable-footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: center; }
.deliverable-footer-links a { color: #b7b7b7; }
.deliverable-footer-links a:hover, .deliverable-footer-links a:focus-visible { color: #fff; }
.deliverable-footer-meta { display: flex; gap: 18px; align-items: center; justify-content: flex-end; white-space: nowrap; }

@media (max-width: 980px) {
  .deliverable-header-inner { grid-template-columns: 1fr auto; }
  .deliverable-header-meta { display: none; }
  .deliverable-hero-grid, .deliverable-summary-heading, .document-heading, .launch-grid, .deliverable-cta-grid { grid-template-columns: 1fr; }
  .deliverable-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .document-heading { gap: 18px; }
  .deliverable-footer-inner { grid-template-columns: auto 1fr; }
  .deliverable-footer-links { justify-content: flex-end; }
  .deliverable-footer-meta { grid-column: 1 / -1; justify-content: space-between; padding-top: 20px; border-top: 1px solid #303030; }
}

@media (max-width: 680px) {
  .deliverable-shell { width: calc(100% - 32px); }
  .deliverable-header-inner { grid-template-columns: 1fr auto; gap: 12px; min-height: 68px; }
  .deliverable-header-button { min-height: 40px; padding-inline: 14px; font-size: 12px; white-space: nowrap; }
  .deliverable-header .brand-text span { display: none; }
  .deliverable-hero { padding: 64px 0 54px; }
  .deliverable-hero h1 { font-size: clamp(34px,9.2vw,38px); overflow-wrap: normal; hyphens: auto; }
  .deliverable-hero-grid { gap: 42px; }
  .document-card div { grid-template-columns: 1fr; gap: 7px; }
  .deliverable-summary { padding: 44px 0; }
  .deliverable-summary-heading { gap: 20px; }
  .deliverable-summary-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .deliverable-summary-grid div { min-height: 0; }
  .deliverable-summary-grid dd { margin-top: 14px; }
  .deliverable-summary-actions { display: grid; }
  .deliverable-summary-actions .button { width: 100%; }
  .deliverable-nav { top: 68px; }
  .deliverable-nav .deliverable-shell { gap: 22px; }
  .document-section { padding: 70px 0; scroll-margin-top: 128px; }
  .process-map, .role-grid, .boundary-grid { grid-template-columns: 1fr; }
  .process-map li, .role-grid article, .boundary-grid article { min-height: 0; padding: 24px; }
  .boundary-grid h3 { min-height: 0; margin-top: 34px; }
  .table-scroll { overflow: visible; border: 0; background: transparent; }
  .runbook-table { display: block; min-width: 0; }
  .runbook-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .runbook-table tbody, .runbook-table tr, .runbook-table td { display: block; width: 100%; }
  .runbook-table tr { margin-bottom: 14px; border: 1px solid var(--doc-line); background: #fff; }
  .runbook-table tr:last-child { margin-bottom: 0; }
  .runbook-table td { display: grid; grid-template-columns: minmax(96px,.42fr) minmax(0,1fr); gap: 14px; padding: 14px 16px; border-right: 0; }
  .runbook-table td::before { color: #777; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
  #sla .runbook-table td:nth-child(1)::before { content: "Статус"; }
  #sla .runbook-table td:nth-child(2)::before { content: "Данные"; }
  #sla .runbook-table td:nth-child(3)::before { content: "Ответственный"; }
  #sla .runbook-table td:nth-child(4)::before { content: "SLA"; }
  #sla .runbook-table td:nth-child(5)::before { content: "Выход"; }
  #exceptions .runbook-table td:nth-child(1)::before { content: "Ситуация"; }
  #exceptions .runbook-table td:nth-child(2)::before { content: "Автоматическое действие"; }
  #exceptions .runbook-table td:nth-child(3)::before { content: "Передача"; }
  #exceptions .runbook-table td:nth-child(4)::before { content: "Контроль"; }
  .deliverable-cta-grid > div:last-child { min-width: 0; }
  .deliverable-cta .button { width: 100%; }
  .deliverable-footer-inner { grid-template-columns: 1fr; align-items: start; }
  .deliverable-footer-links { display: grid; justify-content: start; }
  .deliverable-footer-meta { grid-column: auto; align-items: flex-start; }
}

/* The demonstration document follows the Studio preference as well. It keeps
   its editorial layout, but no longer becomes a bright island after a dark
   theme reveal elsewhere on the site. */
:root[data-theme="dark"] .deliverable-page {
  --doc-black: #f4f0f5;
  --doc-white: #17151b;
  --doc-alt: #1d1a21;
  --doc-line: rgba(239,232,241,.13);
  --doc-muted: #aaa3ae;
  color: var(--doc-black);
  background: #141217;
}

:root[data-theme="dark"] .deliverable-header {
  color: var(--doc-black);
  border-color: rgba(239,232,241,.13);
  background: rgba(31,28,36,.86);
  box-shadow: 0 16px 48px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04);
}

:root[data-theme="dark"] .deliverable-header :is(.brand, strong),
:root[data-theme="dark"] .deliverable-page :is(h1, h2, h3, h4, strong, dd) { color: #f4f0f5; }
:root[data-theme="dark"] .deliverable-page :is(p, li, dt, small) { color: #aaa3ae; }

:root[data-theme="dark"] .deliverable-hero {
  color: #f4f0f5;
  background:
    radial-gradient(circle at 18% 22%, rgba(211,188,210,.105), transparent 31rem),
    radial-gradient(circle at 80% 14%, rgba(172,184,211,.1), transparent 34rem),
    linear-gradient(118deg, #1b181f, #121015);
  background-size: 118% 118%, 124% 124%, 100% 100%;
  animation: deliverable-dark-pearl-drift 16s cubic-bezier(.22,.72,.24,1) infinite alternate;
}

:root[data-theme="dark"] :is(.document-card, .process-map li, .role-grid article, .table-scroll, .runbook-table, .metric-panel, .launch-grid > *) {
  border-color: var(--doc-line);
  color: #f4f0f5;
  background: rgba(31,28,36,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

:root[data-theme="dark"] :is(.deliverable-summary, .deliverable-nav, .document-section, .document-section-alt, .document-section-dark, .deliverable-cta, .deliverable-footer) {
  border-color: var(--doc-line);
  color: #f4f0f5;
  background: #17151b;
}

:root[data-theme="dark"] :is(.document-section-alt, .document-section-dark, .deliverable-cta, .deliverable-footer) {
  background: #1d1a21;
}

:root[data-theme="dark"] .deliverable-nav a { color: #aaa3ae; }
:root[data-theme="dark"] .deliverable-nav a:is(:hover, :focus-visible, .is-active, [aria-current="true"]) {
  border-color: #d8cfdc;
  color: #f4f0f5;
}

:root[data-theme="dark"] :is(.status-pill, .role-grid article > span) {
  color: #e3dce6;
  background: rgba(239,232,241,.1);
}

:root[data-theme="dark"] .deliverable-page .button {
  border: 1px solid transparent;
  color: #211e26;
  background:
    linear-gradient(rgba(244,240,245,.97), rgba(226,220,229,.93)) padding-box,
    linear-gradient(108deg, #9be9ff, #bbb2ff, #ffd1df, #fff0c8, #c8f5d7) border-box;
}

:root[data-theme="dark"] .deliverable-footer :is(a, .deliverable-footer-links a) { color: #f4f0f5; }

@keyframes deliverable-dark-pearl-drift {
  from { background-position: 0% 0%, 100% 0%, 0 0; }
  to { background-position: 8% 7%, 91% 9%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-theme="dark"] .deliverable-hero { animation: none; }
}

@media print {
  .deliverable-header, .deliverable-nav, .deliverable-summary-actions, .deliverable-cta, .deliverable-footer { display: none; }
  .deliverable-summary { padding: 28px 0; }
  .document-section { break-inside: avoid; padding: 38px 0; }
}

/* Pearl presentation layer: the document stays functional without a separate dark brand language. */
.deliverable-page {
  --doc-black: #211e2a;
  --doc-white: #f8f7fb;
  --doc-alt: #f1eef5;
  --doc-line: rgba(67, 57, 73, .13);
  --doc-muted: #6f6877;
  color: var(--doc-black);
  background: var(--doc-white);
}

.deliverable-header {
  color: var(--doc-black);
  border-color: rgba(67, 57, 73, .1);
  background: rgba(249, 248, 252, .82);
  box-shadow: 0 12px 40px rgba(52, 45, 74, .08);
  backdrop-filter: blur(22px) saturate(125%);
}
.deliverable-header .brand { color: var(--doc-black); }
.deliverable-header-meta span { color: #7e758b; }
.deliverable-header-button,
.deliverable-page .button {
  border: 1px solid transparent;
  color: #211e2a;
  background:
    linear-gradient(rgba(255, 255, 255, .9), rgba(247, 246, 252, .84)) padding-box,
    linear-gradient(108deg, #a7e8f6, #b8adf5 35%, #f4cdda 68%, #dceebd) border-box;
  box-shadow: 0 12px 32px rgba(78, 67, 124, .13), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.deliverable-hero {
  color: var(--doc-black);
  background:
    radial-gradient(circle at 82% 14%, rgba(211, 207, 244, .48), transparent 30rem),
    linear-gradient(122deg, #f8f7fb, #eeebf2);
}
.deliverable-hero h1,
.deliverable-summary-heading h2,
.document-heading h2,
.deliverable-cta h2 {
  color: var(--doc-black);
  font-family: var(--font-body);
  font-weight: 440;
  letter-spacing: -.055em;
  text-transform: none;
}
.deliverable-lead { color: var(--doc-muted); }
.deliverable-kicker { color: #81758f; }
.document-card {
  border-color: var(--doc-line);
  border-radius: 22px;
  color: var(--doc-black);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 18px 54px rgba(64, 54, 78, .07);
  overflow: hidden;
}
.document-card div { border-color: var(--doc-line); }
.document-card dt { color: #81798a; }
.status-pill { color: #5f537a; background: #ece8f8; }
.deliverable-summary,
.deliverable-nav { background: rgba(250, 249, 252, .9); }
.deliverable-nav a:is(:hover, :focus-visible, .is-active, [aria-current="true"]) { border-color: #74678f; color: var(--doc-black); }
.document-section-dark,
.metric-panel,
.deliverable-cta,
.deliverable-footer {
  color: var(--doc-black);
  background: #efebf1;
}
.document-section-dark .document-heading p,
.deliverable-cta p:not(.deliverable-kicker),
.metric-panel dt,
.metric-panel small { color: var(--doc-muted); }
.boundary-grid { border-color: var(--doc-line); }
.boundary-grid article,
.boundary-grid li,
.metric-panel dl div { border-color: var(--doc-line); }
.boundary-grid h3,
.boundary-grid li,
.metric-panel dd { color: var(--doc-black); }
.role-grid article > span { color: #5f537a; background: #e9e4f6; }
.metric-panel { border-color: var(--doc-line); border-radius: 22px; }
.deliverable-cta { border-top: 1px solid var(--doc-line); }
.deliverable-cta .button-inverse,
.deliverable-cta .button-inverse:is(:hover, :focus-visible) {
  border: 1px solid transparent;
  color: #211e2a;
  background:
    linear-gradient(rgba(255, 255, 255, .9), rgba(247, 246, 252, .84)) padding-box,
    linear-gradient(108deg, #a7e8f6, #b8adf5 35%, #f4cdda 68%, #dceebd) border-box;
}
.deliverable-footer { border-color: var(--doc-line); color: var(--doc-muted); }
.deliverable-footer a,
.deliverable-footer-links a,
.deliverable-footer-links a:is(:hover, :focus-visible) { color: var(--doc-black); }

/* Match the Studio's editorial typography while keeping the document layout distinct. */
.deliverable-hero h1 {
  max-width: 860px;
  font-size: clamp(50px, 6.2vw, 84px);
  font-weight: 420;
  line-height: .96;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.deliverable-summary-heading h2,
.document-heading h2,
.deliverable-cta h2 {
  font-weight: 460;
  line-height: 1;
  letter-spacing: -.048em;
}

.deliverable-kicker,
.document-heading div > p,
.document-heading > span,
.process-map li > span {
  color: #756f79;
}

.deliverable-header {
  background: rgba(249, 248, 251, .88);
  box-shadow: 0 10px 34px rgba(52, 45, 64, .07);
}

/* Shared Studio chrome; the runbook keeps its printable document layout. */
:root[data-theme] body.deliverable-page.studio-unified .document-card { background:var(--suite-panel)!important; color:var(--suite-ink)!important; }
:root[data-theme] body.deliverable-page.studio-unified .document-card dt { color:var(--suite-muted)!important; }
:root[data-theme] body.deliverable-page.studio-unified .status-pill { background:var(--suite-soft)!important; color:var(--suite-ink)!important; }
body.deliverable-page.studio-rail-ready .deliverable-shell { width:auto; max-width:none; margin-left:112px; margin-right:56px; }
body.deliverable-page.studio-rail-ready .deliverable-nav { top:92px; }
body.deliverable-page.studio-unified .deliverable-nav a.is-active { border-color:var(--studio-red); color:var(--suite-ink); }
body.deliverable-page.studio-unified .role-grid article>span { background:var(--suite-soft); color:var(--suite-ink); }
body.deliverable-page.studio-unified .deliverable-hero { padding-top:140px; }
@media(max-width:767px) {
 body.deliverable-page.studio-rail-ready .deliverable-shell { margin-inline:20px; }
 body.deliverable-page.studio-rail-ready .deliverable-nav { top:80px; }
}
@media print {
 body.deliverable-page.studio-rail-ready .deliverable-shell { margin-inline:auto; width:100%; }
 .deliverable-page .studio-header,.deliverable-page .studio-footer,.deliverable-page .studio-rail { display:none!important; }
}

@media (max-width: 680px) {
  .deliverable-hero h1 { font-size: clamp(36px, 10.8vw, 48px); }
  .deliverable-summary-heading h2,
  .document-heading h2,
  .deliverable-cta h2 { font-size: clamp(32px, 9vw, 42px); }
}
