/* Manager decision layer. Global type, color, navigation, and theme behavior come from assets/site.css. */

.brief-page { background: var(--paper); }
.brief-shell { width: min(calc(100% - 40px), 1120px); margin-inline: auto; }
.brief-page main { overflow: clip; }
.brief-page .site-header { background: color-mix(in srgb, var(--paper) 94%, transparent); }
.brief-page .header-inner { max-width: 1160px; }
.brief-page .brand { min-width: auto; font-family: var(--serif); font-size: 18px; font-weight: 560; }

/* Sticky ask - immediately under header; stays visible while scrolling */
.ask-bar {
  position: sticky;
  top: 64px; /* below .site-header (sticky top:0, z-index 80) */
  z-index: 70;
  background: var(--navy-2);
  color: #f3eee3;
  border-bottom: 1px solid rgba(243, 238, 227, .14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
@media (max-width: 900px) {
  .ask-bar { top: 56px; }
}
.ask-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  padding: .85rem 0;
  flex-wrap: wrap;
}
.ask-kicker {
  margin: 0 0 .2rem;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #86c9c4;
}
.ask-statement {
  margin: 0;
  max-width: 52rem;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(243, 238, 227, .92);
}
.ask-statement strong { color: #fff; font-weight: 650; }
.ask-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  flex-shrink: 0;
}
.ask-bar .button {
  background: #f3eee3;
  color: var(--navy-2);
}
.ask-bar .button:hover { background: #fff; color: #000; }
.ask-bar .ask-bar-secondary {
  background: transparent;
  color: #f3eee3;
  border: 1px solid rgba(243, 238, 227, .35);
}
.ask-bar .ask-bar-secondary:hover {
  background: rgba(243, 238, 227, .1);
  color: #fff;
}

.ask-callout {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: color-mix(in srgb, var(--cyan) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, var(--line-strong));
  border-left: 4px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-soft);
}
.ask-callout-label {
  margin: 0 0 .45rem;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.ask-callout-text {
  margin: 0 0 .75rem;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.ask-callout-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.ask-callout-list li { margin: .35rem 0; }
.ask-callout .hero-actions { margin-bottom: 0; }

.brief-hero { padding: 48px 0 60px; border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr); gap: 56px; align-items: start; }
.hero-copy { max-width: 720px; }
.brief-page h1 { max-width: 760px; margin: 14px 0 20px; font-size: clamp(40px, 5vw, 56px); line-height: 1.08; font-weight: 500; }
.brief-page h2 { font-size: clamp(28px, 3.1vw, 38px); line-height: 1.18; font-weight: 520; }
.brief-page h3 { font-size: 19px; line-height: 1.3; }
.brief-page .hero-lede { max-width: 690px; margin-bottom: 28px; font-size: 19px; line-height: 1.58; }
.brief-page .hero-actions { margin-bottom: 22px; }
.brief-page .hero-note { max-width: 680px; margin: 0; padding-left: 16px; border-left: 2px solid var(--line-strong); color: var(--ink-2); font-family: var(--sans); font-size: 14px; font-style: normal; line-height: 1.55; }

.decision-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-soft); }
.panel-label, .scope-label { margin: 0 0 8px; color: var(--cyan); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.decision-panel h2 { margin: 0 0 10px; font-size: 27px; }
.panel-ask-line { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.decision-panel > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 720px) {
  .ask-bar-inner { padding: .75rem 0; }
  .ask-statement { font-size: 13.5px; }
  .ask-bar-actions { width: 100%; }
  .ask-bar-actions .button { flex: 1; text-align: center; justify-content: center; }
}
.decision-facts { margin: 0; border-top: 1px solid var(--line); }
.decision-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.decision-facts dt { color: var(--ink-2); font-size: 14px; }
.decision-facts dd { margin: 0; color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 600; white-space: nowrap; }

.boundary-band { padding: 58px 0; color: #f3eee3; background: var(--navy-2); }
.boundary-band .eyebrow { color: #86c9c4; }
.boundary-band h2 { margin: 8px 0 0; color: #f3eee3; }
.compact-heading { margin-bottom: 30px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.boundary-grid article { padding: 26px 26px 26px 0; }
.boundary-grid article + article { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.18); }
.boundary-grid h3 { margin: 0 0 10px; color: #f3eee3; }
.boundary-grid p { margin: 0; color: rgba(243,238,227,.73); font-size: 15px; line-height: 1.65; }
.boundary-link { margin: 24px 0 0; }
.boundary-link a { color: #b6ded9; font-weight: 600; }
.boundary-link a:hover { color: #fff; }

.brief-section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.anchor-alias { display: block; position: relative; top: -92px; height: 0; visibility: hidden; }
.section-tint { background: var(--surface-2); }
.section-heading { margin-bottom: 34px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .66fr); gap: 52px; align-items: end; }
.section-heading h2 { max-width: 720px; margin: 8px 0 0; }
.section-heading > p, .split-heading > p { margin: 0 0 5px; color: var(--ink-2); font-size: 17px; line-height: 1.62; }

.three-column { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scope-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.scope-card.positive { border-top: 3px solid var(--green); }
.scope-card.closed { border-top: 3px solid var(--red); }
.scope-card.measured { border-top: 3px solid var(--amber); }
.scope-card h3 { margin: 0 0 14px; }
.scope-card ul { margin: 0; padding-left: 19px; }
.scope-card li { margin: 8px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.outcome-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.outcome-grid article { min-height: 210px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.outcome-grid span { color: var(--cyan); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.outcome-grid h3 { margin: 24px 0 9px; }
.outcome-grid p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.hours-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.hours-table th, .hours-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; font-variant-numeric: tabular-nums; }
.hours-table thead th { color: var(--muted); background: var(--surface-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.hours-table th:first-child, .hours-table td:first-child { text-align: left; }
.hours-table tbody th { width: 260px; color: var(--ink); font-weight: 600; }
.hours-table tbody td { color: var(--ink-2); }
.hours-table tfoot th, .hours-table tfoot td { border-bottom: 0; background: color-mix(in srgb, var(--cyan) 6%, var(--surface)); font-weight: 650; }
.planning-note { max-width: 820px; margin: 18px 0 0; color: var(--ink-2); font-size: 14px; }

.pilot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pilot-grid article { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pilot-grid h3 { margin: 0 0 12px; }
.pilot-grid ul, .pilot-grid ol { margin: 0; padding-left: 20px; }
.pilot-grid li { margin: 8px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.section-action { margin: 24px 0 0; font-weight: 650; }

.decision-record-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: 54px; align-items: start; }
.decision-record-layout h2 { margin: 8px 0 16px; }
.decision-record-layout > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 16.5px; }
.support-links { display: grid; gap: 8px; margin-top: 24px; }
.support-links a { width: fit-content; font-weight: 600; }
.decision-form { padding: 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-soft); }
.decision-form fieldset { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; border: 0; }
.decision-form legend { margin-bottom: 10px; font-weight: 650; }
.decision-form fieldset label { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; }
.form-row { display: grid; gap: 7px; margin-bottom: 16px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.form-row input, .form-row textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 15px/1.45 var(--sans); }
.form-row textarea { min-height: 104px; resize: vertical; }
.two-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.routing-note { margin: 14px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.decision-output { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.output-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 10px; }
.text-button { padding: 3px 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font: 600 12px var(--sans); }
.decision-output pre { margin: 0; white-space: pre-wrap; color: var(--ink-2); font: 12px/1.55 var(--mono); }
.copy-status { margin: 8px 0 0; color: var(--green); font-size: 12px; }

.site-footer { padding: 42px 0 72px; color: var(--ink-2); background: var(--paper); border-top: 0; }
.footer-layout { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 42px; }
.footer-layout > div { display: grid; align-content: start; gap: 7px; }
.footer-layout strong { color: var(--ink); }
.footer-layout p { max-width: 470px; margin: 0; font-size: 13px; }
.footer-layout a { width: fit-content; font-size: 13px; }

@media (max-width: 980px) {
  .hero-layout, .split-heading, .decision-record-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 36px; }
  .decision-panel { max-width: 620px; }
  .three-column, .pilot-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .brief-shell { width: min(calc(100% - 28px), 1120px); }
  .brief-hero, .brief-section { padding: 56px 0; }
  .boundary-band { padding: 48px 0; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-grid article, .boundary-grid article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .boundary-grid article:last-child { border-bottom: 0; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid article { min-height: 0; }
  .two-field-row, .footer-layout { grid-template-columns: 1fr; }
  .decision-form { padding: 22px; }
}

@media print {
  .brief-page .site-header, .hero-actions, .decision-form, .site-footer { display: none !important; }
  .brief-hero, .brief-section, .boundary-band, .section-tint { padding: 28px 0; color: #000; background: #fff; }
  .boundary-band h2, .boundary-grid h3, .boundary-band .eyebrow { color: #000; }
  .boundary-grid p { color: #333; }
  .boundary-grid, .boundary-grid article + article { border-color: #bbb; }
  .scope-card, .outcome-grid article, .pilot-grid article, .table-scroll, .decision-panel { break-inside: avoid; box-shadow: none; }
}


/* live-system */
.doc-mode .table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.doc-mode .table-scroll table { margin: 0; min-width: 640px; }
.doc-mode blockquote {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--cyan);
  background: var(--surface);
  color: var(--ink-2);
}

/* Anchor targets must land below the sticky header and ask bar */
#ask { scroll-margin-top: 250px; }
main [id], .doc-body [id] { scroll-margin-top: 120px; }
