:root {
  --black: #111111;
  --dark-grey: #282828;
  --slate: #555555;
  --light-grey: #d1d1d1;
  --cloud: #f7f7f7;
  --white: #ffffff;
  --blue: #085fa5;
  --teal: #168c8c;
  --blue-soft: #eef5fa;
  --rule: #dedede;
  --page: min(1240px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--black);
  background: var(--white);
  font-family: Aptos, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  height: 68px;
  flex: 0 0 68px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid #353535;
}
.brand { height: 100%; display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 150px; height: 62px; object-fit: contain; }
.utility-nav { display: flex; align-items: center; gap: 18px; }
.icon-button, .profile-button { border: 0; color: inherit; cursor: pointer; }
.icon-button { width: 36px; height: 36px; background: transparent; padding: 7px; }
.icon-button svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.waffle-button svg { fill: currentColor; stroke: none; }
.application-control { position: relative; }
.application-menu { position: absolute; z-index: 30; top: calc(100% + 14px); right: -54px; width: 290px; padding: 10px; color: var(--black); background: var(--white); border: 1px solid var(--rule); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.application-menu[hidden] { display: none; }
.application-menu::before { content: ""; position: absolute; top: -5px; right: 64px; width: 9px; height: 9px; background: var(--white); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); transform: rotate(45deg); }
.application-menu > p { margin: 2px 8px 8px; color: #777; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.application-menu a { padding: 10px 8px; display: grid; grid-template-columns: 26px 1fr; color: var(--dark-grey); text-decoration: none; border-top: 1px solid #ececec; }
.application-menu a > span { grid-row: 1 / 3; color: var(--blue); font-size: 16px; }
.application-menu a strong { font-size: 12px; }
.application-menu a small { margin-top: 2px; color: #888; font-size: 9px; }
.application-menu a:hover, .application-menu a:focus-visible { color: var(--blue); background: var(--cloud); outline: none; }
.icon-button:hover { color: #76add5; }
.icon-button:focus-visible, .profile-button:focus-visible { outline: 2px solid #76add5; outline-offset: 2px; }
.profile-button { width: 36px; height: 36px; border-radius: 50%; background: var(--dark-grey); font-size: 12px; font-weight: 700; }
.profile-button:hover, .profile-button[aria-expanded="true"] { background: #3b3b3b; }
.profile-control { position: relative; }
.profile-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  width: 238px;
  padding: 8px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}
.profile-menu[hidden] { display: none; }
.profile-menu::before { content: ""; position: absolute; top: -5px; right: 14px; width: 9px; height: 9px; background: var(--white); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); transform: rotate(45deg); }
.profile-summary { display: flex; align-items: center; gap: 11px; padding: 8px 8px 10px; }
.profile-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 11px; font-weight: 700; }
.profile-summary span:last-child { display: grid; gap: 2px; min-width: 0; }
.profile-summary strong { font-size: 13px; font-weight: 650; }
.profile-summary small { overflow: hidden; color: var(--slate); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.menu-divider { height: 1px; margin: 5px 0; background: #e7e7e7; }
.profile-menu > button, .profile-menu > a, .profile-menu > form button { width: 100%; padding: 9px 10px; display: block; color: var(--dark-grey); font: inherit; font-size: 12px; text-align: left; text-decoration: none; border: 0; background: transparent; cursor: pointer; }
.profile-menu > button:hover, .profile-menu > button:focus-visible, .profile-menu > a:hover, .profile-menu > a:focus-visible, .profile-menu > form button:hover, .profile-menu > form button:focus-visible { color: var(--blue); background: var(--cloud); outline: none; }
.profile-menu > form { margin: 0; }
.profile-menu .sign-out { color: #8a2f2f; }

.login-page { min-height: calc(100vh - 110px); padding: clamp(30px, 6vh, 70px) 32px; display: grid; place-items: center; background: var(--dark-grey); }
.login-frame { width: min(920px, 100%); min-height: 480px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); border-top: 4px solid var(--blue); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.login-brand-panel { padding: 54px 46px 44px; display: flex; flex-direction: column; color: var(--white); background: var(--black); }
.login-mark { width: 72px; height: 72px; margin-bottom: 46px; object-fit: contain; object-position: left center; }
.login-kicker { margin: 0 0 15px; color: #76add5; font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.login-brand-panel h1 { margin: 0 0 20px; color: var(--white); font-size: clamp(34px, 3vw, 44px); line-height: 1.02; letter-spacing: -1.8px; }
.login-brand-panel > p:not(.login-kicker) { max-width: 360px; margin-bottom: 30px; color: #c8c8c8; font-size: 14px; line-height: 1.55; }
.login-framework { margin-top: auto; color: #8f8f8f; font-size: 10px; letter-spacing: .45px; }
.login-form-panel { padding: 70px 58px 48px; align-self: center; }
.login-form-panel .eyebrow { margin-bottom: 14px; }
.login-form-panel h2 { margin: 0 0 9px; font-size: 34px; line-height: 1.05; letter-spacing: -1.2px; }
.login-intro { margin-bottom: 30px; color: var(--slate); font-size: 13px; }
.login-form { display: grid; gap: 9px; }
.login-form label { margin-top: 7px; color: var(--dark-grey); font-size: 11px; font-weight: 700; }
.login-form input { width: 100%; height: 44px; padding: 10px 12px; color: var(--black); background: var(--cloud); border: 1px solid #bdbdbd; border-radius: 0; font: 14px Aptos,Arial,sans-serif; }
.login-form input:focus { background: var(--white); border-color: var(--blue); outline: 2px solid rgba(8,95,165,.16); outline-offset: 0; }
.login-form .button { width: 100%; margin-top: 18px; justify-content: space-between; border: 0; cursor: pointer; }
.login-error { margin: -12px 0 18px; padding: 11px 13px; display: grid; gap: 3px; color: #842f28; background: #f9e4e0; border-left: 3px solid #a43d34; font-size: 11px; }
.login-error span { line-height: 1.4; }
.login-assistance { margin: 22px 0 0; color: #888; font-size: 10px; }

.agreement-page { min-width: 320px; color: var(--black); background: var(--dark-grey); }
.agreement-backdrop { min-height: 100vh; padding: clamp(24px,5vh,54px) 24px; display: grid; place-items: center; background: radial-gradient(circle at 75% 15%,rgba(8,95,165,.2),transparent 34%),var(--dark-grey); }
.agreement-modal { width: min(980px,100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--white); border-top: 4px solid var(--blue); box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.agreement-header { padding: 24px 30px 20px; display: flex; align-items: center; gap: 18px; color: var(--white); background: var(--black); }.agreement-mark { width: 52px; height: 52px; flex: 0 0 auto; }.agreement-header .eyebrow { margin-bottom: 5px; color: #76add5; }.agreement-header h1 { margin: 0 0 4px; color: var(--white); font-size: 28px; letter-spacing: -1px; }.agreement-header > div > p:last-child { margin: 0; color: #aaa; font-size: 10px; }
.agreement-intro, .agreement-accepted, .agreement-draft { margin: 0; padding: 12px 30px; font-size: 11px; line-height: 1.45; }.agreement-intro { color: var(--slate); background: var(--cloud); }.agreement-accepted { display: flex; align-items: center; gap: 12px; color: #126f6f; background: #edf7f7; }.agreement-accepted span { color: var(--slate); }.agreement-draft { color: #704f0d; background: #fff7df; border-left: 3px solid #d7a330; }
.agreement-copy { min-height: 0; padding: 24px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; overflow-y: auto; }.agreement-copy > section + section { padding-left: 34px; border-left: 1px solid var(--rule); }.agreement-section-title { margin-bottom: 13px; display: flex; align-items: baseline; gap: 9px; }.agreement-section-title span { color: var(--blue); font: 9px Consolas,monospace; }.agreement-section-title h2 { margin: 0; font-size: 20px; }.agreement-copy article { margin-top: 12px; }.agreement-copy h3 { margin: 0 0 4px; font-size: 11px; }.agreement-copy article p { margin: 0; color: var(--slate); font-size: 10px; line-height: 1.45; }
.agreement-confirmation { padding: 18px 30px 22px; background: var(--cloud); border-top: 1px solid var(--rule); }.agreement-accept-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px 20px; }.agreement-accept-form label { min-height: 38px; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 8px; color: var(--dark-grey); font-size: 10px; line-height: 1.35; }.agreement-accept-form input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--blue); }.agreement-accept-form .button { border: 0; cursor: pointer; white-space: nowrap; }.agreement-accept-form .field-error { grid-row: 2; }.agreement-decline-form { margin-top: 10px; text-align: right; }.agreement-decline-form button { padding: 0; color: #8a2f2f; background: none; border: 0; cursor: pointer; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }.agreement-actions { padding: 18px 30px; display: flex; justify-content: flex-end; background: var(--cloud); border-top: 1px solid var(--rule); }

.site-header + main { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.system-page { min-height: calc(100vh - 110px); padding-block: 30px; }
.system-heading { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.system-heading h1 { margin: 0 0 8px; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -2px; }
.system-heading > div > p:last-child { margin: 0; color: var(--slate); font-size: 14px; }
.system-card { background: var(--white); border: 1px solid var(--rule); }
.app-identity { margin-bottom: 18px; padding: 20px 24px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px; }
.app-identity img { width: 52px; height: 52px; }
.app-identity h2 { margin: 0; font-size: 22px; }
.app-identity p { margin: 3px 0; color: var(--blue); font-weight: 700; }
.app-identity span { color: var(--slate); font-size: 11px; }
.release-badge { padding: 5px 8px; color: var(--blue) !important; background: rgba(8,95,165,.08); border: 1px solid rgba(8,95,165,.2); font-size: 9px !important; font-weight: 700; text-transform: uppercase; }
.system-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: 18px; margin-bottom: 18px; }
.info-panel { padding: 22px; }
.info-panel h2 { margin: 0 0 8px; font-size: 20px; }
.info-panel > p:not(.eyebrow) { color: var(--slate); font-size: 12px; line-height: 1.55; }
.release-index { margin: 15px 0 10px; display: flex; gap: 6px; overflow-x: auto; }
.release-index a { flex: 0 0 auto; padding: 5px 8px; color: var(--slate); border: 1px solid var(--rule); font-size: 10px; text-decoration: none; }
.release-index a[aria-current="true"] { color: var(--white); background: var(--blue); border-color: var(--blue); }
.release-history { max-height: 360px; overflow-y: auto; border-top: 1px solid var(--rule); }
.release-history article { padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.release-title { display: flex; justify-content: space-between; gap: 15px; }
.release-title h3 { margin: 0; font-size: 15px; }
.release-title p { margin: 3px 0 0; color: #888; font-size: 10px; }
.release-history li { margin: 6px 0; color: var(--slate); font-size: 11px; line-height: 1.45; }
.technical-list { margin: 0; }
.technical-list div { padding: 10px 0; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 12px; border-bottom: 1px solid var(--rule); }
.technical-list dd { margin: 0; overflow-wrap: anywhere; }
.path-value { font: 9px/1.4 Consolas, monospace; }
.data-notice { margin-bottom: 18px; border-left: 3px solid var(--blue); }
.maintenance-summary { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.maintenance-summary .summary { position: relative; padding: 16px 18px; display: grid; background: var(--white); border: 1px solid var(--rule); overflow: hidden; }
.maintenance-summary .summary::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; }
.maintenance-summary .healthy::before { background: var(--teal); }.maintenance-summary .due::before { background: #c18b18; }.maintenance-summary .action::before { background: #a43d34; }
.maintenance-summary span { color: var(--slate); font-size: 10px; font-weight: 700; text-transform: uppercase; }.maintenance-summary strong { margin: 3px 0; color: var(--blue); font-size: 26px; }.maintenance-summary small { color: #888; font-size: 9px; }
.maintenance-checks { margin-bottom: 18px; display: grid; gap: 9px; }
.maintenance-check { padding: 14px 16px; display: grid; grid-template-columns: 12px minmax(0,1fr) auto auto; align-items: center; gap: 14px; }
.maintenance-check p { margin: 0; font-size: 12px; font-weight: 700; }.maintenance-check small { color: #888; font-size: 10px; }.maintenance-check > strong { font-size: 12px; }
.health-dot { width: 10px; height: 10px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,140,140,.12); }.status-due .health-dot { background: #c18b18; }.status-action .health-dot { background: #a43d34; }
.health-label { min-width: 92px; padding: 4px 8px; color: #117272; background: #edf7f7; font-size: 9px; font-weight: 700; text-align: center; text-transform: uppercase; }.status-due .health-label { color: #805b0d; background: #fff6df; }.status-action .health-label { color: #842f28; background: #f9e4e0; }
.maintenance-grid { grid-template-columns: 1fr 1fr; }
.playbook-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.playbook-grid article { padding: 14px; background: var(--cloud); border: 1px solid var(--rule); }.playbook-grid p { margin: 5px 0 0; color: var(--slate); font-size: 11px; line-height: 1.5; }
.developer-notes { margin-bottom: 18px; }.developer-notes summary { padding: 17px 20px; cursor: pointer; font-weight: 700; }.developer-notes > div { padding: 16px 22px 22px; border-top: 1px solid var(--rule); }.developer-notes h2 { font-size: 18px; }.developer-notes li, .developer-notes p { color: var(--slate); font-size: 11px; line-height: 1.5; }
.backup-card { margin-bottom: 18px; padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; border-left: 3px solid var(--blue); }
.backup-copy h2 { margin: 0 0 7px; font-size: 20px; }.backup-copy > p:not(.eyebrow) { max-width: 720px; color: var(--slate); font-size: 12px; line-height: 1.5; }
.backup-copy dl { margin: 15px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.backup-copy dl div { padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); }.backup-copy dd { overflow-wrap: anywhere; }
.backup-actions { min-width: 260px; display: grid; gap: 12px; text-align: center; }.backup-actions .button { justify-content: space-between; }.restore-link { color: #8a2f2f; font-size: 11px; font-weight: 700; text-underline-offset: 3px; }.backup-actions small { max-width: 260px; color: #888; font-size: 9px; line-height: 1.4; }
.account-admin-card { margin-bottom: 18px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border-left: 3px solid var(--blue); }
.account-admin-card h2 { margin: 0 0 7px; font-size: 20px; }.account-admin-card p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--slate); font-size: 12px; line-height: 1.5; }
.heading-actions { display: flex; gap: 10px; }
.system-message { margin: 0 0 16px; padding: 12px 15px; color: #117272; background: #edf7f7; border-left: 3px solid var(--teal); font-size: 12px; font-weight: 700; }
.user-directory { overflow: hidden; }
.user-directory-heading, .user-row { display: grid; grid-template-columns: minmax(230px,1.4fr) minmax(110px,.55fr) minmax(125px,.65fr) 90px 80px; align-items: center; gap: 18px; }
.user-directory-heading { padding: 10px 18px; color: #777; background: var(--cloud); border-bottom: 1px solid var(--rule); font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.user-row { min-height: 70px; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.user-row:last-child { border-bottom: 0; }.user-row > div:first-child { display: grid; gap: 3px; }.user-row strong { font-size: 13px; }.user-row small { color: var(--slate); font-size: 10px; }
.user-row > a { color: var(--blue); font-size: 11px; font-weight: 700; text-align: right; text-decoration: none; }.user-row > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.user-flags span { padding: 4px 7px; color: var(--blue); background: var(--blue-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.user-state { color: #8a8a8a; font-size: 10px; font-weight: 700; text-transform: uppercase; }.user-state.active { color: #117272; }
.agreement-state { display: grid; gap: 2px; color: #8a2f2f; }.agreement-state strong { font-size: 9px; text-transform: uppercase; }.agreement-state small { color: #888; font-size: 8px; }.agreement-state.accepted { color: var(--teal); }
.empty-state { padding: 24px; color: var(--slate); }
.user-form-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }.user-form-grid.single { grid-template-columns: minmax(0,720px); }
.user-form-card { padding: 26px; }.user-form-card h2 { margin: 0 0 20px; font-size: 23px; }.user-form-card > p:not(.eyebrow) { margin: -11px 0 20px; color: var(--slate); font-size: 11px; line-height: 1.5; }
.user-form-card form { display: grid; gap: 12px; }.field-row { display: grid; gap: 5px; }.field-row label { color: var(--dark-grey); font-size: 11px; font-weight: 700; }
.field-row input[type="text"], .field-row input[type="email"], .field-row input[type="password"] { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--black); background: var(--cloud); border: 1px solid #c8c8c8; font: 13px Aptos,Arial,sans-serif; }
.field-row input:focus { background: var(--white); border-color: var(--blue); outline: 2px solid rgba(8,95,165,.14); }.field-checkbox { grid-template-columns: 22px 1fr; align-items: center; }.field-checkbox label { grid-column: 2; grid-row: 1; }.field-checkbox input { grid-column: 1; grid-row: 1; width: 16px; height: 16px; accent-color: var(--blue); }.field-checkbox .field-help, .field-checkbox .field-error { grid-column: 2; }
.field-help { color: #888; font-size: 9px; line-height: 1.4; }.field-help ul { margin: 3px 0 0; padding-left: 17px; }.field-error, .errorlist { margin: 0; color: #842f28; font-size: 10px; }.user-form-card .button { width: max-content; margin-top: 8px; border: 0; cursor: pointer; }
.restore-panel { max-width: 820px; margin-inline: auto; padding: 28px; }.restore-panel h2 { margin: 0 0 8px; font-size: 24px; }.restore-panel > p:not(.eyebrow) { color: var(--slate); font-size: 12px; line-height: 1.55; }
.restore-panel form { margin-top: 22px; display: grid; gap: 10px; }.restore-panel label { color: var(--dark-grey); font-size: 11px; font-weight: 700; }.restore-panel input[type="file"], .restore-panel input[type="text"] { width: 100%; padding: 11px; color: var(--black); background: var(--white); border: 1px solid #c9c9c9; font: 12px Aptos,Arial,sans-serif; }.restore-panel form .button { width: max-content; margin-top: 8px; }
.button-danger { color: var(--white); background: #8a2f2f; border: 1px solid #8a2f2f; }.button-danger:hover { background: #6d2222; }
.restore-alert { max-width: 820px; margin: 0 auto 15px; padding: 14px 18px; border-left: 3px solid #a43d34; }.restore-alert p { margin: 4px 0 0; font-size: 11px; }.restore-error { color: #842f28; background: #f9e4e0; }
.validation-badge { margin: 15px 0; padding: 10px 12px; color: #117272; background: #edf7f7; border-left: 3px solid var(--teal); font-size: 11px; font-weight: 700; }
.restore-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.restore-review div { padding: 10px; border-bottom: 1px solid var(--rule); }.restore-warning { margin-top: 20px; padding: 15px; color: #842f28; background: #f9e4e0; border: 1px solid #e5bdb8; }.restore-warning p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; }.restore-complete { border-top: 3px solid var(--teal); }
.hero {
  position: relative;
  flex: 0 0 46vh;
  min-height: 318px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding-block: 28px 30px;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--rule) 0 68%, var(--blue) 68% 76%, var(--rule) 76% 100%);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 660px; margin-bottom: 16px; font-size: clamp(40px, 4vw, 58px); line-height: .98; letter-spacing: -2.5px; font-weight: 650; }
h1 span { color: var(--blue); }
.hero-summary { max-width: 570px; margin-bottom: 20px; color: var(--slate); font-size: 16px; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; gap: 42px; min-height: 44px; padding: 0 18px; text-decoration: none; font-weight: 650; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #064d88; }
.text-link { color: var(--dark-grey); font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.flywheel { position: relative; min-height: 300px; height: 100%; max-height: 370px; }
.flywheel-aperture { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.aperture-blade { fill: transparent; transition: fill 150ms ease; }
.blade-group.active .aperture-blade { fill: var(--blue); }
.blade-group.preview:not(.active) .aperture-blade { fill: #3b789f; }
.selected-label { opacity: 0; fill: var(--white); font-family: Arial,Helvetica,sans-serif; font-weight: 700; text-anchor: middle; pointer-events: none; }
.selected-label text:first-child { fill: #0098e2; font-size: 23px; }
.selected-label text:nth-child(2) { font-size: 20px; }
.selected-label path { fill: none; stroke: #0098e2; stroke-width: 2; stroke-linecap: round; }
.blade-group.active .selected-label, .blade-group.preview .selected-label { opacity: 1; }
.aperture-signal { fill: var(--blue); opacity: 0; transition: opacity 100ms ease; }
.aperture-signal.visible { opacity: 1; }
.stage {
  position: absolute;
  width: 116px;
  min-height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.stage:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.stage-discover { left: 17%; top: 42%; transform: translate(-50%, -50%); }
.stage-diagnose { left: 31%; top: 75%; transform: translate(-50%, -50%); }
.stage-design { left: 67%; top: 75%; transform: translate(-50%, -50%); }
.stage-deploy { left: 83%; top: 42%; transform: translate(-50%, -50%); }

.workspace { flex: 1; min-height: 0; padding-block: 11px 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 8px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin-bottom: 0; font-size: 24px; letter-spacing: -.8px; font-weight: 650; }
.section-heading > p { max-width: 430px; margin-bottom: 1px; color: var(--slate); font-size: 13px; line-height: 1.4; }
.workspace-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); background: var(--white); }
.module-card { min-height: 202px; padding: 12px 20px 11px; display: flex; flex-direction: column; border-right: 1px solid var(--rule); background: var(--white); transition: background-color 140ms ease; }
.module-card:last-child { border-right: 0; }
.module-card:hover { background: var(--cloud); }
.module-primary { position: relative; border-top: 3px solid var(--blue); padding-top: 9px; background: linear-gradient(180deg, var(--blue-soft), var(--white) 42%); }
.module-topline { display: flex; align-items: center; justify-content: space-between; }
.module-number { color: #999; font-family: Consolas, monospace; font-size: 11px; }
.status { color: #8a8a8a; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.status-live { color: var(--teal); }
.status-live i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; }
.module-icon { width: 36px; height: 36px; margin: 9px 0 8px; display: grid; place-items: center; border: 1px solid #d8d8d8; background: var(--white); }
.module-icon svg { width: 20px; fill: none; stroke: var(--dark-grey); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.module-primary .module-icon { border-color: #a9cce7; background: var(--white); }
.module-primary .module-icon svg { stroke: var(--blue); }
.module-kicker { margin-bottom: 8px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.module-card h3 { margin-bottom: 5px; font-size: 17px; letter-spacing: -.3px; }
.module-card > p:not(.module-kicker) { margin-bottom: 7px; color: var(--slate); font-size: 11px; line-height: 1.35; }
.card-action { margin-top: auto; display: flex; justify-content: space-between; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.card-action.muted { color: #999; font-weight: 500; }

.site-footer { height: 42px; flex: 0 0 42px; display: flex; align-items: center; color: var(--white); background: var(--black); }
.footer-content { display: grid; grid-template-columns: auto minmax(280px, 1.25fr) minmax(120px, .7fr) auto auto; align-items: center; gap: 18px; }
.footer-content p { margin: 0; }
.footer-kicker { color: #5ca0d3; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-content strong { font-size: 13px; line-height: 1.1; }
.footer-path { display: flex; align-items: center; }
.footer-path span { height: 1px; flex: 1; background: #4c4c4c; }
.footer-path i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(8,95,165,.18); }
.footer-steps { color: #b8b8b8; font-size: 10px; white-space: nowrap; }
.footer-brand { color: #b8b8b8; font-size: 10px; white-space: nowrap; }
.footer-brand span { color: #777; }

@media (max-width: 1000px) {
  body { overflow: auto; }
  .site-header + main { display: block; }
  .system-grid { grid-template-columns: minmax(0,1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .flywheel { max-width: 650px; width: 100%; margin-inline: auto; }
  .workspace-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card:nth-child(2) { border-right: 0; }
}

@media (max-width: 660px) {
  :root { --page: calc(100% - 36px); }
  .site-header { padding-inline: 18px; }
  .application-menu { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; }
  .application-menu::before { display: none; }
  .system-heading { align-items: flex-start; flex-direction: column; }
  .maintenance-summary { grid-template-columns: 1fr; }
  .maintenance-check { grid-template-columns: 12px 1fr; }
  .maintenance-check > strong, .health-label { grid-column: 2; }
  .app-identity { grid-template-columns: 48px 1fr; }.app-identity > .release-badge { grid-column: 1 / -1; width: max-content; }
  .playbook-grid { grid-template-columns: 1fr; }
  .backup-card { grid-template-columns: 1fr; }.backup-actions { min-width: 0; text-align: left; }.restore-review, .backup-copy dl { grid-template-columns: 1fr; }
  .account-admin-card, .system-heading .heading-actions { align-items: flex-start; flex-direction: column; }
  .user-directory-heading { display: none; }.user-row { grid-template-columns: 1fr auto; gap: 10px; }.user-row > div:first-child { grid-column: 1 / -1; }.user-row > a { grid-column: 2; grid-row: 2; }.user-form-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 126px; height: 58px; }
  .login-page { padding: 24px 18px; }
  .login-frame { grid-template-columns: 1fr; }
  .login-brand-panel { min-height: 220px; padding: 30px; }
  .login-mark { width: 56px; height: 56px; margin-bottom: 24px; }
  .login-brand-panel h1 { font-size: 32px; }
  .login-brand-panel > p:not(.login-kicker), .login-framework { display: none; }
  .login-form-panel { padding: 38px 30px 40px; }
  .agreement-backdrop { padding: 0; }.agreement-modal { min-height: 100vh; max-height: 100vh; }.agreement-header { padding: 20px; }.agreement-copy { padding: 20px; grid-template-columns: 1fr; gap: 22px; }.agreement-copy > section + section { padding: 22px 0 0; border-top: 1px solid var(--rule); border-left: 0; }.agreement-intro, .agreement-accepted, .agreement-draft { padding-inline: 20px; }.agreement-confirmation { padding: 16px 20px 20px; }.agreement-accept-form { grid-template-columns: 1fr; }.agreement-accept-form .field-error { grid-row: auto; }.agreement-decline-form { text-align: left; }
  .hero { min-height: auto; height: auto; padding-top: 55px; gap: 30px; }
  h1 { font-size: 46px; letter-spacing: -2px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .flywheel { min-height: 360px; height: 360px; margin-bottom: 0; }
  .stage { width: 105px; min-height: 42px; padding: 3px; }
  .stage span { font-size: 7px; }
  .stage strong { font-size: 10px; }
  .stage small { font-size: 7px; }
  .workspace { padding-block: 68px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .module-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .module-card:last-child { border-bottom: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .site-footer { height: auto; padding-block: 22px; }
  .footer-content { grid-template-columns: 1fr; gap: 10px; }
  .footer-path { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
