@charset "UTF-8";

/* The same self-hosted type, brand raster and role colours as ozerin.pro. */
@font-face { font-family: "General Sans"; src: url("./GeneralSans-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("./GeneralSans-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
:root {
  --background: #f0f3f4;
  --foreground: #000;
  --accent: #00ff99;
  --surface: #fdffff;
  --hairline: rgba(0, 0, 0, .1);
  --hairline-strong: rgba(0, 0, 0, .2);
  --muted: #62686b;
  --body: #303639;
  --radius-card: 16px;
  --sans: "General Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--body); background: var(--background); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--foreground); outline-offset: 4px; }
input:focus-visible { outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--foreground); overflow-wrap: anywhere; }
::selection { background: var(--accent); color: var(--foreground); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; color: var(--foreground); background: var(--accent); border-radius: 999px; }
.skip-link:focus { top: 16px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .075em; line-height: 1.5; text-transform: uppercase; }
.brand { display: block; flex-shrink: 0; width: fit-content; text-decoration: none; border-radius: var(--radius-card); }
.brand-lockup { position: relative; display: block; width: 168px; height: 50px; overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.brand-lockup img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; transform: translateY(-50%); }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 13px; }
.quiet-link:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; font-weight: 400; text-decoration: none; line-height: 1.5; }
.button span[aria-hidden] { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--foreground); font-size: 18px; line-height: 1; }
.button-primary { background: var(--accent); color: var(--foreground); }
.button-primary:hover { border-color: var(--foreground); }
.button-secondary { color: var(--foreground); background: var(--surface); }
.button-secondary:hover { border-color: var(--foreground); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); border: 1px solid #007548; flex-shrink: 0; }
.logout-button { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--foreground); font-size: 13px; text-align: left; }
.logout-button:hover { border-color: var(--foreground); }

/* Entry: the site's open spacing and light headline, with an ordinary form. */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-header, .login-footer { width: min(1320px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.login-header { padding: 20px 0; }
.back-link { padding: 0 18px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; }
.login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 80px; width: min(1180px, calc(100% - 96px)); margin: 64px auto 100px; }
.login-intro { padding-bottom: 16px; }
.login-intro .eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 1px solid #007548; }
.login-intro h1 { margin-top: 26px; font-size: clamp(42px, 4.7vw, 66px); font-weight: 300; line-height: 1.14; letter-spacing: -.045em; }
.headline-accent { padding: 0 8px 4px; margin-left: -8px; background: var(--accent); border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.login-description { max-width: 450px; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.login-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.note-mark { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--hairline); background: var(--surface); border-radius: 50%; color: var(--foreground); font-size: 20px; }
.login-note p { font-size: 14px; color: var(--foreground); }
.login-note p span { color: var(--muted); }
.login-panel { width: 100%; padding: 38px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.small-index { display: block; color: var(--muted); font-size: 11px; letter-spacing: .075em; text-transform: uppercase; }
.panel-heading h2 { font-size: 32px; font-weight: 300; line-height: 1.2; letter-spacing: -.025em; margin-top: 12px; }
.panel-heading p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.login-form { margin-top: 30px; }
.field + .field { margin-top: 20px; }
.field label { display: block; color: var(--foreground); font-size: 13px; margin-bottom: 8px; }
.field input { display: block; width: 100%; min-width: 0; height: 50px; padding: 10px 15px; color: var(--foreground); background: var(--surface); border: 1px solid #7f888b; border-radius: 10px; }
.login-submit { width: 100%; margin-top: 26px; justify-content: space-between; min-height: 52px; }
.access-note { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--muted); line-height: 1.7; }
.form-error { margin-top: 24px; padding: 14px 16px; border: 1px solid #e6b3af; border-radius: 10px; background: #fff0ee; color: #842a24; font-size: 13px; }
.form-error strong { font-weight: 600; }
.form-error p { margin-top: 4px; overflow-wrap: anywhere; }
.login-footer { padding: 20px 0; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }

/* A person's companies. Cards contain only names actually granted by the server. */
.companies-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; }
.header-context { padding: 12px 22px; color: var(--muted); background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; font-size: 13px; }
.header-account { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.account-name { max-width: 240px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.companies-main { flex: 1; width: min(1200px, calc(100% - 96px)); margin: 64px auto 80px; }
.companies-heading { max-width: 760px; }
.companies-heading .eyebrow { display: flex; align-items: center; gap: 10px; }
.companies-heading h1 { margin-top: 22px; font-size: clamp(42px, 5vw, 68px); font-weight: 300; line-height: 1.1; letter-spacing: -.045em; }
.companies-description { max-width: 620px; margin-top: 24px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.company-list-heading { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; margin-bottom: 18px; }
.company-list-heading h2 { font-size: 14px; font-weight: 400; }
.company-list-heading > span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 12px; color: var(--muted); }
.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.company-card { display: flex; flex-direction: column; min-width: 0; min-height: 256px; padding: 26px; color: var(--foreground); text-decoration: none; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.company-card:hover { border-color: var(--foreground); }
.company-card-top, .company-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.company-card-index { font-size: 11px; color: var(--muted); }
.company-card h2 { margin: 30px 0 32px; font-size: 30px; line-height: 1.25; letter-spacing: -.025em; font-weight: 300; }
.company-card-bottom { margin-top: auto; font-size: 13px; }
.company-card-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--accent); border: 1px solid var(--hairline); border-radius: 50%; font-size: 23px; }
.company-access-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
.companies-empty { margin-top: 48px; padding: 36px; max-width: 760px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.empty-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--muted); font-size: 24px; }
.companies-empty h2 { font-size: 25px; line-height: 1.3; font-weight: 300; letter-spacing: -.02em; }
.companies-empty p { margin-top: 16px; max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.account-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: calc(100% - 64px); padding: 18px 0; margin: 0 auto; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }

/* Company workspace: a quiet white rail and an open, readable work canvas. */
.portal-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 22px; border-right: 1px solid var(--hairline); background: var(--surface); }
.all-companies { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 28px; color: var(--muted); font-size: 13px; text-decoration: none; }
.all-companies:hover { color: var(--foreground); text-decoration: underline; }
.company-marker { padding: 25px 0 30px; min-width: 0; }
.company-marker > * { display: block; }
.company-marker strong { margin-top: 10px; font-size: 31px; font-weight: 300; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; color: var(--foreground); }
.company-marker > span:last-child:not(:first-child) { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.project-nav { display: flex; flex-direction: column; gap: 8px; }
.project-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 12px; min-height: 48px; border: 1px solid var(--hairline); border-radius: 999px; text-decoration: none; font-size: 13px; color: var(--foreground); }
.project-nav a:hover { background: var(--background); border-color: var(--hairline-strong); }
.nav-number { width: 18px; color: var(--muted); font-size: 10px; }
.nav-arrow { margin-left: auto; color: var(--muted); font-size: 17px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.owner-note { font-size: 11px; color: var(--muted); }
.owner-note strong { display: block; margin-top: 5px; color: var(--foreground); font-size: 13px; font-weight: 400; }
.account-block { border-top: 1px solid var(--hairline); padding-top: 18px; margin-top: 24px; }
.account-block > p { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.account-dot { margin-top: 6px; width: 6px; height: 6px; background: #007548; border-radius: 50%; flex-shrink: 0; }
.account-block .logout-button { margin-top: 14px; font-size: 12px; width: 100%; justify-content: space-between; }
.project-main { min-width: 0; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.project-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 98px; border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: 11px; }
.project-topline > span { min-width: 0; overflow-wrap: anywhere; }
.project-topline strong { font-weight: 400; color: var(--foreground); }
.topline-separator { padding: 0 12px; color: var(--muted); }
.overview-section { padding-top: 48px; }
.overview-heading { max-width: 820px; }
.overview-heading > .eyebrow { display: flex; align-items: center; gap: 9px; }
.overview-heading h1 { margin-top: 20px; font-size: clamp(36px, 3.8vw, 55px); font-weight: 300; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.overview-summary { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.overview-actions { margin-top: 24px; }
.overview-actions .button { text-align: left; max-width: 100%; }
.scope-note { display: flex; align-items: flex-start; gap: 24px; padding: 22px 24px; margin-top: 30px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.scope-label { width: 145px; flex: 0 0 145px; font-size: 11px; color: var(--foreground); line-height: 1.7; }
.scope-note p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.milestone-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 38px 0 0; }
.milestone { min-width: 0; padding-top: 18px; border-top: 2px solid var(--hairline); }
.milestone-current { border-color: var(--foreground); }
.milestone-done { border-color: #007548; }
.milestone-track { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 22px; color: var(--muted); }
.milestone-track > span:first-child { width: 23px; height: 23px; flex-shrink: 0; display: grid; place-content: center; border: 1px solid var(--hairline-strong); border-radius: 50%; font-size: 10px; }
.milestone-current .milestone-track { color: var(--foreground); }
.milestone-current .milestone-track > span:first-child { color: var(--foreground); background: var(--accent); border-color: var(--hairline); }
.milestone-done .milestone-track > span:first-child { background: var(--surface); color: #007548; border-color: #007548; font-size: 12px; }
.milestone-blocked .milestone-status { color: #875119; }
.milestone h2 { margin-top: 15px; font-size: 14px; font-weight: 500; line-height: 1.45; }
.milestone p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.content-section { padding-top: 56px; margin-top: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-heading h2, .project-bottom-grid h2 { margin-top: 8px; font-size: 32px; font-weight: 300; letter-spacing: -.025em; line-height: 1.2; }
.section-count { padding-bottom: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.section-intro { max-width: 760px; margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.requirement-list { margin-top: 25px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.requirement { border-bottom: 1px solid var(--hairline); }
.requirement:last-child { border-bottom: 0; }
.requirement:first-child summary { border-radius: 15px 15px 0 0; }
.requirement:last-child:not([open]) summary { border-radius: 0 0 15px 15px; }
.requirement summary { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px; gap: 18px; align-items: center; padding: 22px; list-style: none; }
.requirement summary::-webkit-details-marker { display: none; }
.requirement summary:hover, .requirement[open] summary { background: var(--background); }
.requirement-id { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.requirement-title { min-width: 0; }
.requirement-area { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.requirement-title strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--foreground); overflow-wrap: anywhere; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 11px; white-space: nowrap; line-height: 1.4; }
.status-pill::before { content: ""; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.status-done { color: #00663d; background: #deffef; }
.status-demo { color: #705115; background: #fff4d9; }
.status-planned { color: #62686b; background: var(--background); }
.status-blocked { color: #875119; background: #fff0e1; }
.expand-icon { position: relative; width: 12px; height: 12px; }
.expand-icon::before, .expand-icon::after { content: ""; position: absolute; background: var(--foreground); width: 10px; height: 1px; top: 5px; left: 1px; }
.expand-icon::after { transform: rotate(90deg); }
.requirement[open] .expand-icon::after { transform: rotate(0); }
.requirement-detail { padding: 4px 40px 28px 78px; background: var(--background); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.requirement:last-child .requirement-detail { border-radius: 0 0 15px 15px; }
.detail-note { margin-top: 16px; }
.detail-note h3 { margin-bottom: 4px; font-size: 12px; font-weight: 500; }
.detail-note p { color: var(--muted); }
.deliverable-list { margin-top: 25px; }
.deliverable { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.deliverable + .deliverable { margin-top: 14px; }
.deliverable-index { align-self: start; padding-top: 3px; color: var(--muted); font-size: 11px; }
.deliverable-content .eyebrow { font-size: 10px; letter-spacing: .05em; }
.deliverable h3 { margin-top: 5px; font-size: 20px; font-weight: 400; line-height: 1.4; letter-spacing: -.015em; }
.deliverable p { max-width: 590px; margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.deliverable .button { font-size: 12px; min-height: 44px; }
.project-bottom-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 60px; }
.project-bottom-grid h2 { font-size: 27px; }
.needs-list, .activity-list { list-style: none; margin: 26px 0 0; padding: 0; }
.needs-list li { display: flex; align-items: flex-start; gap: 15px; margin-top: 22px; }
.need-number { flex: 0 0 21px; padding-top: 3px; font-size: 10px; color: var(--muted); }
.needs-list h3 { font-size: 14px; font-weight: 500; }
.needs-list p { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.needs-footnote { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 11px; line-height: 1.7; color: var(--muted); }
.activity-list { border-left: 1px solid var(--hairline-strong); padding-left: 21px; margin-left: 3px; }
.activity-list li { position: relative; padding-bottom: 25px; }
.activity-list li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 7px; height: 7px; border: 1px solid var(--hairline-strong); border-radius: 50%; background: var(--surface); }
.activity-list li:first-child::before { background: var(--accent); border-color: #007548; }
.activity-list li:last-child { padding-bottom: 0; }
.activity-date { display: block; color: var(--muted); font-size: 11px; }
.activity-list p { margin-top: 7px; color: var(--body); font-size: 13px; line-height: 1.75; }
.empty-state { margin-top: 24px; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.empty-state h3 { font-size: 17px; font-weight: 400; }
.empty-state p, .empty-copy { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.project-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 62px; padding: 22px 0; border-top: 1px solid var(--hairline); font-size: 11px; color: var(--muted); }
.project-footer > span { overflow-wrap: anywhere; }

@media (max-width: 1150px) {
  .portal-layout { grid-template-columns: 232px minmax(0, 1fr); }
  .sidebar { padding-inline: 18px; }
  .project-main { padding-inline: 32px; }
  .milestone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .requirement summary { gap: 12px; padding-inline: 18px; }
  .requirement-detail { padding-left: 68px; }
  .project-bottom-grid { gap: 32px; }
  .login-layout { gap: 48px; }
}
@media (max-width: 900px) {
  .portal-layout { display: block; }
  .sidebar { position: static; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; padding: 20px 28px 22px; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .sidebar .brand { grid-column: 1; grid-row: 1; }
  .all-companies { grid-column: 1 / -1; grid-row: 2; margin-top: 18px; }
  .company-marker { grid-column: 1 / -1; grid-row: 3; padding: 10px 0 24px; }
  .company-marker strong { font-size: 30px; }
  .company-marker > span:last-child { max-width: 480px; }
  .sidebar-bottom { display: flex; align-items: center; grid-column: 2; grid-row: 1; padding: 0; margin: 0; }
  .owner-note, .account-block > p { display: none; }
  .account-block { padding: 0; margin: 0; border: 0; }
  .account-block .logout-button { margin: 0; width: auto; }
  .project-nav { flex-direction: row; grid-column: 1 / -1; grid-row: 4; gap: 12px; }
  .project-nav a { flex: 1; justify-content: center; font-size: 12px; padding-inline: 10px; }
  .nav-arrow { display: none; }
  .project-main { padding-inline: 28px; }
  .project-topline { min-height: 70px; }
  .overview-section { padding-top: 36px; }
  .overview-heading h1 { font-size: 44px; max-width: 640px; }
  .project-bottom-grid { gap: 32px; }
  .login-header, .login-footer { width: calc(100% - 56px); }
  .login-layout { width: calc(100% - 56px); grid-template-columns: 1fr; gap: 34px; max-width: 550px; margin: 36px auto 56px; }
  .login-intro h1 { font-size: 52px; margin-top: 20px; }
  .login-description { max-width: 480px; margin-top: 22px; }
  .login-note { display: none; }
  .login-panel { padding: 34px; }
  .header-context { display: none; }
  .account-header { padding: 20px 28px; }
  .account-name { max-width: 200px; }
  .companies-main { width: calc(100% - 56px); margin-top: 44px; }
  .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .company-card { padding: 24px; }
  .company-card h2 { font-size: 28px; }
  .account-footer { width: calc(100% - 56px); }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 16px; }
  .brand-lockup { width: 148px; height: 46px; }
  .sidebar { padding: 16px; gap: 0 12px; }
  .account-block .logout-button { font-size: 11px; gap: 8px; max-width: 124px; padding-inline: 12px; }
  .project-nav { gap: 6px; }
  .project-nav a { font-size: 11px; padding-inline: 9px; min-height: 44px; }
  .project-nav .nav-number { display: none; }
  .all-companies { margin-top: 14px; }
  .company-marker { padding-top: 10px; padding-bottom: 22px; }
  .company-marker strong { font-size: 28px; }
  .project-main { padding: 0 16px; }
  .project-topline { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; font-size: 10px; padding: 14px 0; min-height: 68px; }
  .topline-separator { padding: 0 6px; }
  .overview-section { padding-top: 30px; }
  .overview-heading h1 { font-size: 37px; margin-top: 18px; }
  .overview-summary { margin-top: 20px; font-size: 15px; line-height: 1.75; }
  .eyebrow { font-size: 10px; }
  .overview-actions .button { padding-inline: 17px; gap: 12px; font-size: 13px; }
  .scope-note { display: block; padding: 18px; margin-top: 24px; }
  .scope-label { width: auto; display: block; font-size: 11px; }
  .scope-note p { margin-top: 8px; font-size: 13px; }
  .milestone-list { gap: 26px 18px; margin-top: 30px; }
  .milestone-track { font-size: 10px; gap: 7px; }
  .milestone h2 { font-size: 13px; }
  .milestone p { font-size: 13px; }
  .content-section { padding-top: 40px; margin-top: 10px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 29px; }
  .section-count { display: block; margin-top: 10px; font-size: 11px; }
  .section-intro { margin-top: 12px; font-size: 13px; }
  .requirement-list { margin-top: 20px; }
  .requirement summary { grid-template-columns: 25px minmax(0, 1fr) 12px; gap: 8px 10px; padding: 19px 14px; }
  .requirement-id { align-self: start; padding-top: 2px; font-size: 9px; grid-column: 1; grid-row: 1; }
  .requirement-title { grid-column: 2; grid-row: 1; }
  .requirement-title strong { font-size: 14px; }
  .requirement-area { font-size: 11px; margin-bottom: 4px; }
  .requirement .status-pill { grid-column: 2; grid-row: 2; justify-self: start; font-size: 10px; padding: 4px 8px; }
  .expand-icon { grid-column: 3; grid-row: 1 / 3; }
  .requirement-detail { padding: 5px 22px 24px 49px; font-size: 14px; }
  .detail-note h3 { font-size: 11px; }
  .deliverable { grid-template-columns: 22px minmax(0, 1fr); gap: 16px 12px; padding: 20px 18px; }
  .deliverable-index { font-size: 10px; }
  .deliverable h3 { font-size: 18px; }
  .deliverable p { font-size: 13px; }
  .deliverable .button { grid-column: 2; justify-self: start; min-height: 44px; padding: 8px 14px; }
  .project-bottom-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; }
  .project-bottom-grid h2 { font-size: 27px; }
  .project-footer { margin-top: 40px; gap: 16px; font-size: 10px; }
  .project-footer .quiet-link { font-size: 11px; flex-shrink: 0; }
  .login-header { padding: 16px 0; gap: 12px; }
  .login-header, .login-footer, .login-layout { width: calc(100% - 32px); }
  .back-link { padding: 5px 12px; gap: 5px; font-size: 11px; max-width: 130px; line-height: 1.5; }
  .login-layout { margin-top: 32px; gap: 28px; }
  .login-intro { padding: 0 4px; }
  .login-intro h1 { font-size: clamp(36px, 10vw, 48px); }
  .login-description { font-size: 16px; margin-top: 22px; }
  .login-panel { padding: 26px 22px; }
  .panel-heading h2 { font-size: 30px; }
  .panel-heading p { font-size: 13px; }
  .login-form { margin-top: 26px; }
  .access-note { font-size: 12px; }
  .login-footer { align-items: flex-start; font-size: 10px; gap: 20px; }
  .login-footer span:last-child { max-width: 145px; text-align: right; }
  .account-header { padding: 16px; align-items: flex-start; gap: 12px; }
  .header-account { gap: 8px; flex-wrap: wrap; max-width: 155px; }
  .account-name { width: 100%; font-size: 11px; text-align: right; }
  .header-account .logout-button { min-height: 44px; font-size: 12px; }
  .companies-main { width: calc(100% - 32px); margin: 36px auto 56px; }
  .companies-heading h1 { font-size: 42px; margin-top: 20px; }
  .companies-description { font-size: 16px; margin-top: 20px; }
  .company-list-heading { margin-top: 40px; }
  .company-grid { grid-template-columns: 1fr; gap: 14px; }
  .company-card { min-height: 230px; padding: 24px; }
  .company-card h2 { font-size: 30px; margin: 26px 0; }
  .company-access-note { line-height: 1.7; }
  .companies-empty { padding: 26px 22px; margin-top: 34px; }
  .companies-empty h2 { font-size: 25px; }
  .companies-empty p { font-size: 14px; }
  .account-footer { width: calc(100% - 32px); align-items: flex-start; font-size: 10px; gap: 16px; }
  .account-footer > span { max-width: 170px; padding-top: 12px; }
  .account-footer .quiet-link { font-size: 11px; flex-shrink: 0; }
}
@media (max-width: 360px) {
  .sidebar .brand-lockup { width: 136px; }
  .account-block .logout-button { max-width: 132px; font-size: 10px; }
  .login-header .brand-lockup { width: 138px; }
  .login-header .back-link { max-width: 122px; font-size: 10px; }
  .login-panel { padding-inline: 20px; }
  .panel-heading h2 { font-size: 28px; }
  .companies-heading h1 { font-size: 38px; }
  .account-header .brand-lockup { width: 138px; }
  .header-account { max-width: 138px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The demonstration is the primary action; project status follows below it. */
.dashboard-page .project-main { max-width: 1440px; padding-inline: 38px; }
.dashboard-page .project-topline { min-height: 66px; font-size: 11px; }
.demo-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 36px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--hairline); }
.demo-entry h1 { margin-top: 9px; font-size: clamp(34px, 3.1vw, 48px); font-weight: 300; line-height: 1.12; letter-spacing: -.035em; }
.demo-entry-description { max-width: 580px; margin-top: 16px; font-size: 15px; line-height: 1.65; }
.demo-entry-actions { display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: 8px; }
.demo-launch { min-height: 64px; padding: 15px 22px; gap: 22px; font-size: 17px; }
.demo-tour { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.demo-tour span[aria-hidden] { width: 24px; height: 24px; border: 1px solid var(--hairline); font-size: 14px; }
.demo-entry-actions > p { margin-top: 2px; text-align: center; color: var(--muted); font-size: 12px; }
.demo-entry-limits { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--hairline); max-width: 100%; font-size: 14px; line-height: 1.6; }
.project-nav a.nav-demo { background: var(--accent); border-color: transparent; }
.project-nav a.nav-demo:hover { border-color: var(--foreground); }
.nav-demo .nav-number, .nav-demo .nav-arrow { color: var(--foreground); }
.project-detail-nav { display: grid; gap: 2px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.project-detail-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 12px; color: var(--muted); text-decoration: none; border-radius: 10px; }
.project-detail-nav a:hover { color: var(--foreground); background: var(--background); }
.agent-launch-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.agent-launch-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.agent-launch-moment { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.agent-launch-moment > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--background); color: #007548; font-size: 11px; }
.agent-launch-card h2 { margin-top: 17px; font-size: 29px; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.agent-launch-result { flex: 1; margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--body); }
.agent-launch-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 24px; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: #e2ffef; font-size: 13px; color: var(--foreground); text-decoration: none; }
.agent-launch-link > span { font-size: 21px; line-height: 1; }
.agent-launch-link:hover { border-color: #007548; background: var(--accent); }
.demo-entry-limits strong { color: var(--foreground); font-weight: 500; }
.project-status-description { margin-top: 10px; color: var(--muted); font-size: 14px; }
.project-section-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 22px; }
.project-section-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 12px; color: var(--muted); text-decoration: none; }
.project-section-links a:hover { color: var(--foreground); border-color: var(--hairline-strong); background: var(--surface); }
.dashboard-page .overview-section { padding-top: 28px; }
.dashboard-page .overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.dashboard-page .overview-heading :is(h1, h2) { margin-top: 7px; font-size: clamp(31px, 2.8vw, 42px); font-weight: 300; line-height: 1.15; letter-spacing: -.035em; }
.dashboard-page .current-stage { max-width: 350px; min-width: 0; }
.dashboard-page .current-stage > .eyebrow { font-size: 10px; }
.dashboard-page .current-stage strong { display: flex; gap: 9px; align-items: baseline; margin-top: 5px; color: var(--foreground); font-size: 14px; font-weight: 400; line-height: 1.5; }
.dashboard-page .current-stage p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.dashboard-summary { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); grid-template-areas: "progress focus"; gap: 16px; margin-top: 26px; }
.progress-panel { grid-area: progress; padding: 26px 28px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.progress-panel h2 { font-size: 23px; font-weight: 400; }
.progress-value { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.progress-value > strong { font-size: 80px; line-height: 1; font-weight: 300; letter-spacing: -.075em; color: var(--foreground); font-variant-numeric: tabular-nums; }
.progress-value > strong > span { margin-left: 4px; font-size: 38px; letter-spacing: -.04em; }
.progress-value > span { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.work-progress { appearance: none; display: block; width: 100%; height: 10px; margin: 22px 0 0; overflow: hidden; border: 0; border-radius: 999px; background: var(--background); color: var(--accent); accent-color: var(--accent); }
.work-progress::-webkit-progress-bar { background: var(--background); border-radius: 999px; }
.work-progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.work-progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.progress-scope { margin-top: 18px; font-size: 12px; color: var(--foreground); }
.progress-method { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.progress-unavailable { max-width: 340px; margin-top: 22px; font-size: 30px; font-weight: 300; line-height: 1.2; letter-spacing: -.025em; color: var(--foreground); }
.progress-counts { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.count-card { display: block; padding: 18px 20px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); text-decoration: none; }
.count-card:hover { border-color: var(--foreground); }
.count-label { display: flex; align-items: center; gap: 7px; color: var(--foreground); font-size: 12px; }
.count-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--muted); }
.count-done .count-dot { background: #007548; }
.count-demo .count-dot { background: #9c771a; }
.count-blocked .count-dot { background: #9f581b; }
.count-card > strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--foreground); font-size: 34px; font-weight: 300; line-height: 1.15; }
.count-card > strong > span { display: grid; place-items: center; width: 26px; height: 26px; color: var(--muted); border: 1px solid var(--hairline); border-radius: 50%; font-size: 16px; }
.count-description { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.focus-panel { display: flex; flex-direction: column; align-items: flex-start; grid-area: focus; padding: 26px 28px; border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.focus-panel h2 { max-width: 380px; margin-top: 10px; font-size: 24px; font-weight: 300; letter-spacing: -.025em; line-height: 1.25; }
.focus-panel > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.focus-panel .button { margin-top: 20px; padding: 9px 16px; min-height: 46px; gap: 14px; font-size: 12px; max-width: 100%; }
.focus-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 6px; text-decoration: none; color: var(--muted); font-size: 12px; }
.focus-link:hover { color: var(--foreground); text-decoration: underline; }
.scope-disclosure { margin-top: 16px; font-size: 12px; color: var(--muted); }
.scope-disclosure summary { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; list-style: none; }
.scope-disclosure summary::-webkit-details-marker { display: none; }
.scope-disclosure summary span { font-size: 17px; }
.scope-disclosure p { max-width: 900px; padding: 6px 0 14px; font-size: 13px; line-height: 1.7; }
.progress-warning { margin-top: 16px; padding: 14px 18px; border: 1px solid #dec99f; border-radius: 10px; background: #fff4d9; color: #705115; font-size: 13px; }
.dashboard-page .content-section { padding-top: 38px; margin-top: 10px; }
.dashboard-page .section-heading h2 { font-size: 29px; }
.dashboard-page .section-heading .quiet-link { font-size: 12px; flex-shrink: 0; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.module-card { min-width: 0; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.module-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module-index { color: var(--muted); font-size: 11px; }
.module-card > h3 { margin-top: 18px; font-size: 25px; font-weight: 300; letter-spacing: -.025em; line-height: 1.2; }
.module-summary { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.module-progress { margin-top: 22px; }
.module-progress > p { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.module-progress > p > strong { color: var(--foreground); font-size: 14px; font-weight: 400; white-space: nowrap; }
.module-progress .work-progress { margin-top: 10px; height: 5px; }
.module-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.module-state-grid h4 { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--foreground); font-size: 12px; font-weight: 400; }
.module-works h4 > span { color: #007548; }
.module-missing h4 > span { color: #875119; }
.module-state-grid ul { display: grid; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.module-state-grid li, .module-state-grid p { color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.module-state-grid p { margin-top: 12px; }
.dashboard-page .milestone-list { margin-top: 26px; gap: 22px; }
.dashboard-page .milestone h3 { margin-top: 15px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.dashboard-page .milestone-current { border-color: #007548; }
.dashboard-page .milestone-current .milestone-status { color: #00663d; }
.work-next-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 32px; }
.next-actions-panel, .workflow-panel { min-width: 0; padding: 26px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--surface); }
.work-next-grid h3 { font-size: 19px; font-weight: 400; letter-spacing: -.015em; }
.next-actions, .workflow-list { list-style: none; padding: 0; margin: 24px 0 0; }
.next-actions li { display: flex; align-items: flex-start; gap: 14px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--hairline); }
.next-actions li:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.action-index { flex-shrink: 0; width: 22px; padding-top: 3px; color: var(--muted); font-size: 10px; }
.action-owner { color: #00663d; font-size: 11px; }
.work-next-grid h4 { margin: 4px 0 0; color: var(--foreground); font-weight: 400; font-size: 14px; line-height: 1.5; }
.work-next-grid li p { margin-top: 7px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.workflow-list { counter-reset: workstep; }
.workflow-list li { counter-increment: workstep; position: relative; padding-left: 34px; margin-top: 22px; }
.workflow-list li:first-child { margin-top: 0; }
.workflow-list li::before { content: counter(workstep); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--hairline-strong); border-radius: 50%; color: var(--muted); font-size: 10px; }
.requirement-group { margin-top: 24px; scroll-margin-top: 20px; }
.requirement-group:target { border-left: 2px solid var(--foreground); padding-left: 14px; }
.requirement-group-title { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 12px; }
.requirement-group-title > span:last-child { color: var(--muted); }
.dashboard-page .requirement-list { margin-top: 12px; }
.dashboard-page .requirement summary { grid-template-columns: 38px minmax(0, 1fr) 16px; padding-block: 18px; }
.dashboard-page .requirement-detail h4 { margin: 0 0 4px; color: var(--foreground); font-size: 12px; font-weight: 400; }
.status-unknown { background: var(--background); color: var(--muted); }
.group-empty { padding: 14px 0; font-size: 13px; color: var(--muted); }
.dashboard-page .project-bottom-grid { padding-top: 48px; }
.dashboard-page .project-bottom-grid h2 { font-size: 26px; }

@media (max-width: 1150px) {
  .dashboard-page .project-main { padding-inline: 28px; }
  .dashboard-page .overview-heading { align-items: flex-start; gap: 20px; }
  .dashboard-page .overview-heading :is(h1, h2) { font-size: 32px; }
  .demo-entry { column-gap: 24px; }
  .demo-launch { font-size: 15px; gap: 14px; padding-inline: 18px; }
  .agent-launch-card { padding: 20px 18px; }
  .agent-launch-card h2 { font-size: 26px; }
  .agent-launch-result { font-size: 13px; }
  .agent-launch-link { padding-inline: 10px; font-size: 12px; }
  .dashboard-page .current-stage { max-width: 245px; }
  .dashboard-summary { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; }
  .progress-panel, .focus-panel { padding: 23px; }
  .progress-value { gap: 18px; }
  .progress-value > strong { font-size: 70px; }
  .progress-value > span { font-size: 12px; }
  .focus-panel h2 { font-size: 22px; }
  .count-card { padding: 16px; }
  .count-label { font-size: 11px; }
  .count-description { font-size: 10px; }
  .module-card { padding: 22px; }
  .module-state-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-next-grid { gap: 18px; }
  .next-actions-panel, .workflow-panel { padding: 23px; }
}
@media (max-width: 900px) {
  .dashboard-page .sidebar { grid-template-columns: 1fr auto 1fr; padding: 8px 28px 12px; gap: 4px 16px; }
  .dashboard-page .sidebar .brand { display: none; }
  .dashboard-page .sidebar .brand-lockup { width: 150px; height: 44px; }
  .dashboard-page .all-companies { grid-row: 1; grid-column: 1; margin: 0; min-height: 44px; font-size: 12px; }
  .dashboard-page .company-marker { grid-column: 2; grid-row: 1; padding: 0; text-align: center; align-self: center; }
  .dashboard-page .company-marker strong { margin: 0; font-size: 16px; font-weight: 400; }
  .dashboard-page .company-marker > span { display: none; }
  .dashboard-page .sidebar-bottom { grid-column: 3; grid-row: 1; justify-self: end; }
  .dashboard-page .logout-long-label { display: none; }
  .dashboard-page .account-block .logout-button { min-height: 44px; font-size: 12px; gap: 12px; padding: 8px 16px; }
  .dashboard-page .project-nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dashboard-page .project-nav a { min-height: 44px; font-size: 13px; gap: 6px; padding: 8px 12px; }
  .dashboard-page .project-nav a:only-child { grid-column: 1 / -1; }
  .dashboard-page .project-nav .nav-number { display: none; }
  .dashboard-page .project-detail-nav { display: none; }
  .dashboard-page .project-topline { min-height: 38px; padding-block: 10px; gap: 16px; justify-content: flex-end; border-bottom: 0; }
  .dashboard-page .project-topline > span:first-child { display: none; }
  .dashboard-page .overview-section { padding-top: 24px; }
  .dashboard-page .overview-heading :is(h1, h2) { font-size: 34px; }
  .dashboard-summary { margin-top: 22px; }
  .module-state-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dashboard-page .sidebar { padding: 6px 16px 10px; gap: 4px 8px; }
  .dashboard-page .sidebar .brand-lockup { width: 138px; height: 42px; }
  .dashboard-page .account-block .logout-button { padding: 8px 10px; gap: 8px; }
  .dashboard-page .project-nav { gap: 6px; margin-top: 0; }
  .dashboard-page .project-nav a { min-height: 44px; padding: 8px 6px; font-size: 12px; }
  .dashboard-page .project-main { padding-inline: 16px; }
  .dashboard-page .project-topline { min-height: 34px; padding: 9px 0 0; align-items: flex-start; justify-content: center; font-size: 10px; }
  .dashboard-page .overview-section { padding-top: 28px; }
  .dashboard-page .overview-heading { display: block; }
  .dashboard-page .overview-heading :is(h1, h2) { font-size: 31px; margin-top: 5px; }
  .demo-entry { grid-template-columns: 1fr; padding: 14px 0 28px; gap: 18px; }
  .demo-entry h1 { margin-top: 8px; font-size: 33px; max-width: 420px; }
  .demo-entry-description { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .demo-entry-actions { gap: 8px; }
  .demo-launch { width: 100%; min-height: 52px; justify-content: space-between; font-size: 15px; padding: 10px 18px; }
  .demo-tour { min-height: 44px; padding-block: 8px; }
  .agent-launch-grid { grid-template-columns: 1fr; gap: 12px; }
  .agent-launch-card { padding: 19px 20px 17px; }
  .agent-launch-moment { font-size: 11px; gap: 8px; }
  .agent-launch-moment > span { width: 22px; height: 22px; font-size: 10px; }
  .agent-launch-card h2 { margin-top: 10px; font-size: 27px; }
  .agent-launch-result { margin-top: 8px; font-size: 14px; line-height: 1.6; }
  .agent-launch-link { margin-top: 15px; padding-inline: 12px; font-size: 13px; }
  .demo-entry-limits { padding-top: 0; border-top: 0; font-size: 12px; }
  .project-section-links { gap: 6px; margin-top: 18px; }
  .project-section-links a { padding-inline: 12px; font-size: 11px; }
  .project-status-description { margin-top: 9px; font-size: 13px; }
  .dashboard-page .current-stage { max-width: none; margin-top: 14px; }
  .dashboard-page .current-stage > .eyebrow { display: none; }
  .dashboard-page .current-stage strong { font-size: 13px; }
  .dashboard-page .current-stage p { font-size: 11px; margin-top: 4px; }
  .dashboard-summary { grid-template-columns: 1fr; grid-template-areas: "progress" "focus"; margin-top: 18px; gap: 12px; }
  .progress-panel, .focus-panel { padding: 22px; }
  .progress-panel h2 { font-size: 21px; }
  .progress-value { margin-top: 14px; gap: 24px; }
  .progress-value > strong { font-size: 70px; }
  .progress-value > strong > span { font-size: 33px; }
  .progress-value > span { font-size: 12px; }
  .work-progress { height: 8px; margin-top: 18px; }
  .progress-scope { margin-top: 15px; font-size: 11px; }
  .progress-method { font-size: 11px; line-height: 1.65; }
  .progress-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .count-card { padding: 15px; }
  .count-label { font-size: 11px; }
  .count-card > strong { font-size: 31px; }
  .count-description { font-size: 10px; }
  .focus-panel h2 { max-width: none; font-size: 24px; }
  .scope-disclosure { margin-top: 8px; font-size: 11px; }
  .dashboard-page .content-section { padding-top: 32px; }
  .dashboard-page .section-heading { display: block; }
  .dashboard-page .section-heading h2 { font-size: 27px; }
  .dashboard-page .section-heading .quiet-link { margin-top: 6px; }
  .module-grid { grid-template-columns: 1fr; margin-top: 16px; gap: 14px; }
  .module-card { padding: 22px; }
  .module-card > h3 { font-size: 25px; }
  .module-state-grid { grid-template-columns: 1fr; gap: 20px; }
  .module-state-grid ul { margin-top: 9px; gap: 7px; }
  .module-state-grid li { font-size: 13px; }
  .dashboard-page .milestone-list { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .dashboard-page .milestone { padding: 0 0 0 17px; border-top: 0; border-left: 2px solid var(--hairline); }
  .dashboard-page .milestone-current { border-left-color: #007548; }
  .dashboard-page .milestone-done { border-left-color: #007548; }
  .dashboard-page .milestone h3 { margin-top: 8px; font-size: 14px; }
  .dashboard-page .milestone p { margin-top: 6px; font-size: 13px; }
  .work-next-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
  .next-actions-panel, .workflow-panel { padding: 22px; }
  .requirement-group { margin-top: 24px; }
  .dashboard-page .requirement summary { grid-template-columns: 27px minmax(0, 1fr) 12px; gap: 10px; padding: 17px 14px; }
  .dashboard-page .requirement .expand-icon { grid-column: 3; grid-row: 1; }
  .dashboard-page .requirement-detail { padding: 4px 18px 22px 51px; font-size: 13px; }
  .dashboard-page .requirement-detail h4 { font-size: 12px; }
  .dashboard-page .project-footer { font-size: 10px; }
  .dashboard-page .project-footer > span { max-width: 190px; }
}

/* The full catalog is the only source of the main completion percentage. */
.catalog-disclosure { margin-top: 22px; }
.catalog-disclosure > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: var(--radius-card); font-size: 14px; list-style: none; cursor: pointer; }
.catalog-disclosure summary::-webkit-details-marker { display: none; }
.catalog-disclosure > summary > span { font-size: 22px; }
.catalog-list { display: grid; gap: 8px; padding: 12px 0 0; margin: 0; list-style: none; }
.catalog-agent { background: var(--surface); border-radius: var(--radius-card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .025); transition: background-color 150ms ease, box-shadow 150ms ease; }
.catalog-agent > summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 30px; gap: 14px; align-items: center; min-height: 76px; padding: 18px; border-radius: var(--radius-card); font-size: 15px; line-height: 1.5; list-style: none; cursor: pointer; }
.catalog-agent > summary:focus-visible { outline-color: #007548; outline-offset: 2px; }
.catalog-list strong { color: var(--foreground); font-weight: 400; overflow-wrap: anywhere; text-wrap: pretty; }
.catalog-id, .catalog-status { color: var(--muted); font-size: 12px; }
.catalog-id { display: grid; place-items: center; width: 32px; height: 32px; background: var(--background); border-radius: 10px; }
.catalog-status { justify-self: start; padding: 4px 10px; background: var(--background); border-radius: 999px; line-height: 1.5; }
.catalog-toggle { display: grid; place-items: center; width: 30px; height: 30px; background: var(--background); border-radius: 50%; color: var(--foreground); font-size: 18px; transition: transform 150ms ease, background-color 150ms ease; }
.catalog-agent[open] { background: #f8fffc; box-shadow: 0 0 0 1px rgba(0, 117, 72, .24), 0 2px 4px rgba(0, 0, 0, .025); }
.catalog-agent[open] .catalog-toggle { transform: rotate(45deg); background: var(--accent); }
.catalog-description { padding: 0 62px 24px 64px; max-width: 84ch; }
.catalog-description p { color: var(--body); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; text-wrap: pretty; }
@media (hover: hover) {
  .catalog-agent:hover { box-shadow: 0 0 0 1px rgba(0, 117, 72, .24), 0 3px 8px rgba(0, 0, 0, .035); }
  .catalog-disclosure > summary:hover { background: var(--surface); }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-agent, .catalog-toggle { transition: none; }
}
@media (max-width: 580px) {
  .catalog-agent > summary { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 8px 10px; padding: 16px 14px; }
  .catalog-id { width: 28px; height: 28px; border-radius: 8px; }
  .catalog-status { grid-column: 2; padding: 3px 8px; }
  .catalog-toggle { grid-column: 3; grid-row: 1; width: 28px; height: 28px; }
  .catalog-description { padding: 0 18px 22px; }
}
