@scope (#nyan-ops-app) {
  :scope {
    --sidebar-width: 232px;
    --blue: var(--nyan-accent);
    --line: var(--nyan-line);
    --muted: var(--nyan-text-muted);
    --good: var(--nyan-accent);
    --bad: var(--nyan-danger);
    min-height: 100vh;
    display: flow-root;
    color: #eaf2f4;
    background:
      linear-gradient(rgba(99, 223, 193, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(99, 223, 193, 0.018) 1px, transparent 1px),
      #07141d;
    background-size: 32px 32px;
  }

  .app-header {
    height: 64px;
    border-bottom: 1px solid #203744;
    color: #eaf2f4;
    background: rgba(7, 20, 29, 0.96);
    box-shadow: none;
  }
  :scope:has(#console-shell:not([hidden])) > .app-header {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    padding-left: 22px;
  }
  :scope:has(#console-shell:not([hidden])) > .app-header::before {
    content: 'Operations workspace';
    color: #9bb0ba;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
  :scope:has(#console-shell.sidebar-collapsed:not([hidden])) {
    --sidebar-width: 72px;
  }
  :scope:has(#console-shell:not([hidden])) > .app-header .brand {
    position: fixed;
    top: 0;
    left: calc(-1 * var(--sidebar-width));
    z-index: 50;
    display: flex;
    width: var(--sidebar-width);
    height: 64px;
    align-items: center;
    padding: 8px 18px;
    border-radius: 0;
    border-right: 1px solid #203b47;
    background: #0b1d27;
  }
  :scope:has(#console-shell.sidebar-collapsed:not([hidden])) > .app-header .brand {
    justify-content: center;
    padding-inline: 8px;
  }
  :scope:has(#console-shell.sidebar-collapsed:not([hidden])) > .app-header .brand-copy {
    display: none;
  }
  .app-header .brand {
    flex: 0 0 auto;
    gap: 12px;
    min-height: 48px;
    padding: 4px;
    border-radius: 12px;
  }
  .app-header .brand .genius-brand-symbol {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    filter: saturate(0.72) brightness(0.9);
  }
  .app-header .brand .brand-copy {
    gap: 3px;
    min-width: 0;
  }
  .app-header .brand .genius-wordmark {
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
  .app-header .brand .genius-wordmark-geni {
    color: #a8d9e8;
  }
  .app-header .brand .genius-wordmark-us {
    color: #e7a361;
  }
  .app-header .brand .brand-copy small {
    color: #92aeb8;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.16em;
  }
  .app-header .brand:focus-visible {
    outline-offset: 4px;
  }
  .brand > span:first-child {
    border: 1px solid rgba(99, 223, 193, 0.42);
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
    box-shadow: inset 0 0 22px rgba(99, 223, 193, 0.06);
  }
  .brand-copy strong {
    color: #edf5f6;
    font-size: 16px;
    letter-spacing: 0.01em;
  }
  .brand-copy small,
  .kicker,
  nav::before,
  .filter-field > span {
    color: #72d8c0;
    letter-spacing: 0.16em;
  }
  .secure strong {
    color: #d9e9eb;
  }
  .secure small {
    color: #7f98a6;
  }
  .secure i,
  .live-status i {
    background: #63dfc1;
    box-shadow: 0 0 0 4px rgba(99, 223, 193, 0.1);
  }
  .staff-account-menu summary {
    min-height: 42px;
    padding: 3px 6px 3px 3px;
    border-color: transparent;
    border-radius: 9px;
    color: #dcebed;
    background: transparent;
  }
  .staff-account-menu summary:hover,
  .staff-account-menu[open] summary {
    border-color: #294755;
    background: #102632;
    box-shadow: none;
  }
  .staff-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .staff-identity-copy strong {
    color: #edf5f6;
  }
  .staff-identity-copy small {
    display: none;
  }
  .staff-identity-copy small,
  .staff-identity-copy > span,
  .account-chevron {
    color: #8ba2ae;
  }
  .account-popover {
    border-color: #294755;
    border-radius: 8px;
    background: #0b1d28;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
  }
  .account-session {
    border: 1px solid rgba(99, 223, 193, 0.15);
    border-radius: 5px;
    background: rgba(99, 223, 193, 0.06);
  }
  .account-session strong {
    color: #dff4ef;
  }
  .account-session small {
    color: #8ca6b1;
  }
  .session-icon {
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.12);
  }
  .app-header .account-popover button.account-action {
    border: 1px solid transparent;
    border-radius: 7px;
    color: #c4d6dc;
    background: transparent;
    box-shadow: none;
  }
  .app-header .account-popover button.account-action:hover:not(:disabled) {
    color: #ecf6f7;
    background: #132a36;
  }
  .app-header .account-popover button.account-sign-out {
    border-top: 1px solid #284451;
    border-radius: 5px;
    color: #ff9b87;
  }
  .app-header .account-popover button.account-sign-out:hover:not(:disabled) {
    color: #ffd0c4;
    background: rgba(255, 155, 135, 0.1);
  }

  main {
    width: min(1760px, calc(100% - 36px));
    margin-top: 20px;
  }
  .login {
    width: min(100%, 560px);
    max-width: none;
    margin: clamp(52px, 9vh, 104px) auto;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid #315563;
    border-radius: 12px;
    color: #eaf2f4;
    background:
      radial-gradient(circle at 100% 0, rgba(99, 223, 193, 0.1), transparent 36%),
      linear-gradient(145deg, rgba(13, 38, 49, 0.98), rgba(8, 25, 35, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  }
  .login h1 {
    max-width: 470px;
    margin: 12px 0 18px;
    color: #f1f7f8;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }
  .login > p:not(.kicker) {
    max-width: 470px;
    margin: 0 0 26px;
    color: #a5bac3;
    font-size: 16px;
    line-height: 1.55;
  }
  .login form {
    display: grid;
    gap: 17px;
  }
  .login label {
    gap: 8px;
    margin: 0;
    color: #d6e5e8;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  .login input {
    min-height: 50px;
    border-color: #355866;
    border-radius: 7px;
    color: #eff7f8;
    background: #081923;
    caret-color: #63dfc1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  }
  .login input:hover {
    border-color: #4a7482;
  }
  .login input:focus {
    border-color: #63dfc1;
    outline: 3px solid rgba(99, 223, 193, 0.14);
    outline-offset: 1px;
  }
  .login input:disabled {
    border-color: #294653;
    color: #78909b;
    background: #0b202a;
  }
  .login-actions {
    gap: 12px;
    margin-top: 3px;
  }
  .login-actions button {
    min-height: 46px;
    border-radius: 7px;
    border-color: #3c6572;
    color: #dcebed;
    background: #102935;
  }
  .login-actions button:hover {
    border-color: #5b8995;
    color: #fff;
    background: #153540;
  }
  .login-actions .primary {
    border-color: #63dfc1;
    color: #062018;
    background: #63dfc1;
  }
  .login-actions .primary:hover {
    border-color: #8aecd6;
    color: #062018;
    background: #8aecd6;
  }
  .login .verify-login-status {
    margin-top: 2px;
    border-color: rgba(99, 223, 193, 0.38);
    color: #dff4ef;
    background: rgba(99, 223, 193, 0.07);
  }
  .login .verify-login-status p {
    color: #94adb7;
  }
  .login .verify-login-status a,
  .login .verify-login-status > span {
    color: #72e2c8;
  }
  #console-shell {
    display: block;
    padding-left: calc(var(--sidebar-width) + 32px);
    transition: padding-left 180ms ease;
  }
  :scope:has(#console-shell:not([hidden])) main {
    width: 100%;
    max-width: none;
    padding: 0 22px 0 0;
  }
  #console-shell[hidden] {
    display: none;
  }
  #console-shell.sidebar-collapsed {
    --sidebar-width: 72px;
  }
  #console {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
  }
  #console[hidden] {
    display: none;
  }
  #console > .title,
  #console > .metrics,
  #console > section {
    grid-column: 1;
  }
  .title {
    min-height: 134px;
    padding: 16px 2px 20px;
    border-bottom: 1px solid #1d3743;
  }
  .title h1 {
    color: #eff6f7;
    font-size: clamp(34px, 4vw, 49px);
    letter-spacing: -0.045em;
  }
  .view-description {
    color: #9eb1bb;
  }
  .title .refresh-time {
    color: #6f8997;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.02em;
  }
  .live-status {
    border-color: #315564;
    border-radius: 5px;
    color: #92e9d4;
    background: rgba(99, 223, 193, 0.06);
  }
  .refresh-action,
  .primary-action {
    min-height: 44px;
    border-radius: 6px;
    box-shadow: none;
  }
  .refresh-action {
    border-color: #315463;
    color: #c5d7dd;
    background: #0b1d28;
  }
  .refresh-action:hover {
    border-color: #4a7482;
    color: #fff;
    background: #112b37;
  }
  .primary-action,
  .fleet-empty .empty-primary {
    border-color: #4ebfa5;
    color: #062018;
    background: #63dfc1;
    box-shadow: 0 0 22px rgba(99, 223, 193, 0.12);
  }
  .primary-action:hover,
  .fleet-empty .empty-primary:hover {
    border-color: #83ead2;
    background: #83ead2;
  }
  #console button:not(.metric-card):not(.primary-action) {
    border-color: #315463;
    color: #c5d7dd;
    background: #0c212c;
    box-shadow: none;
  }
  #console button:not(.metric-card):not(.primary-action):hover:not(:disabled) {
    border-color: #4b7785;
    color: #fff;
    background: #132d39;
  }
  #console button.primary,
  #console button.empty-primary {
    border-color: #4ebfa5;
    color: #062018;
    background: #63dfc1;
  }
  #console button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
  }

  #console-shell > nav {
    position: fixed;
    z-index: 20;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    height: auto;
    gap: 3px;
    padding: 76px 9px 12px;
    border-color: #203b47;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: #0b1d27;
    box-shadow: none;
    min-height: 0;
    align-content: start;
    overflow-y: auto;
  }
  nav::before {
    display: none;
  }
  .nav-head {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 4px 12px 10px;
    color: #7f99a7;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  #console-shell #sidebar-toggle {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border-color: transparent;
    border-radius: 6px;
    color: #83a0ad;
    background: transparent;
    font-size: 22px;
    line-height: 1;
  }
  #console-shell #sidebar-toggle:hover {
    color: #63dfc1;
    background: #12303b;
  }
  .nav-group-label {
    margin: 10px 9px 4px;
    color: #78919b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
  }
  .nav-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #24404b;
  }
  .nav-footer > [role='tab'] {
    width: 100%;
  }
  .nav-environment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 8px;
    border-radius: 8px;
    background: rgba(99, 223, 193, 0.035);
  }
  .nav-environment i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #63dfc1;
    box-shadow: 0 0 0 4px rgba(99, 223, 193, 0.08);
  }
  .nav-environment span {
    display: grid;
    gap: 2px;
  }
  .nav-environment strong {
    color: #cedcdf;
    font-size: 10px;
  }
  .nav-environment small {
    color: #829aa4;
    font-size: 9px;
  }
  #console-shell > nav [role='tab'] {
    display: flex;
    min-height: 42px;
    gap: 10px;
    padding: 5px 9px;
    border: 0;
    border-radius: 7px;
    color: #98acb8;
    background: transparent;
    font-size: 12px;
    font-weight: 650;
    transform: none;
  }
  #console-shell > nav [role='tab']:not(.metric-card):not(.primary-action) {
    border-color: transparent;
    background: transparent;
  }
  nav button::before {
    display: none;
  }
  .nav-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    padding: 1px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: #8da5b2;
    background: transparent;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  #console-shell > nav [role='tab'][aria-selected='false']:hover:not(:disabled) {
    color: #d9e8eb;
    background: #112a36;
  }
  #console-shell > nav [role='tab'].active:not(.metric-card):not(.primary-action) {
    color: #75e2c8;
    background: rgba(99, 223, 193, 0.09);
    box-shadow: inset 2px 0 #63dfc1;
  }
  nav button.active .nav-icon {
    color: #63dfc1;
    background: transparent;
  }
  #console-shell.sidebar-collapsed nav {
    padding-right: 6px;
    padding-left: 6px;
  }
  #console-shell.sidebar-collapsed .nav-head {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }
  #console-shell.sidebar-collapsed .nav-head > span,
  #console-shell.sidebar-collapsed .nav-group-label,
  #console-shell.sidebar-collapsed .nav-environment,
  #console-shell.sidebar-collapsed nav [role='tab'] > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  #console-shell.sidebar-collapsed nav [role='tab'] {
    justify-content: center;
    padding: 6px;
  }
  #console-shell.sidebar-collapsed .nav-footer {
    padding-top: 8px;
  }

  .metrics {
    gap: 8px;
  }
  .metrics article,
  .metrics article:nth-child(n) {
    min-height: 96px;
    border-color: #284754;
    border-radius: 7px;
    background: #0a1d28;
    box-shadow: none;
  }
  .metric-card {
    min-height: 94px;
    padding: 13px 15px;
    color: #dce9ec;
  }
  .metric-card:hover {
    background: #102a36;
    box-shadow: inset 0 0 0 1px #3b6876;
  }
  .metric-card[aria-pressed='true'] {
    color: #7de5cd;
    background: rgba(99, 223, 193, 0.07);
    box-shadow: inset 0 0 0 1px #63dfc1;
  }
  .metric-card small {
    color: #8da4b0;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .metric-card strong {
    color: #edf5f6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .metric-card span {
    color: #6f8997;
  }
  .metric-card::after {
    width: 7px;
    height: 7px;
    background: #617886;
    box-shadow: 0 0 0 3px rgba(97, 120, 134, 0.1);
  }
  .metrics article:nth-child(2) .metric-card::after {
    background: #63dfc1;
    box-shadow: 0 0 0 3px rgba(99, 223, 193, 0.1);
  }
  .metrics article:nth-child(3) .metric-card::after,
  .metrics article:nth-child(4) .metric-card::after,
  .metrics article:nth-child(5) .metric-card::after {
    background: #ffbd66;
  }

  .panel,
  .toolbar,
  .environment-card,
  .installation-record,
  .installation-form,
  .release-form,
  .staff-request-form,
  .staff-policy,
  .staff-section {
    border-color: #284754;
    border-radius: 8px;
    color: #dbe8eb;
    background: #0a1d28;
    box-shadow: none;
  }
  .toolbar {
    padding: 11px;
  }
  .toolbar input,
  .toolbar select,
  :where(.installation-form, .release-form, .staff-request-form)
    :where(input, select, textarea) {
    border-color: #315361;
    border-radius: 5px;
    color: #e4eff1;
    background: #081923;
  }
  .toolbar input::placeholder,
  textarea::placeholder {
    color: #617986;
  }
  .toolbar input:hover,
  .toolbar select:hover {
    border-color: #477180;
  }
  .toolbar input:focus,
  .toolbar select:focus {
    border-color: #63dfc1;
    outline-color: rgba(99, 223, 193, 0.14);
  }
  .fleet-summary-bar {
    color: #78919e;
  }
  .fleet-summary-bar p strong {
    color: #cfe0e4;
  }
  .fleet-empty {
    border: 1px solid #284754;
    border-radius: 8px;
    background:
      radial-gradient(circle at 50% 15%, rgba(99, 223, 193, 0.06), transparent 40%),
      #091b26;
  }
  .fleet-empty h3 {
    color: #edf5f6;
  }
  .fleet-empty p {
    color: #8fa6b2;
  }
  .fleet-empty-icon {
    border: 1px solid rgba(99, 223, 193, 0.28);
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
  }

  .staff-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
  .staff-metrics article {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    min-height: 104px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid #284754;
    border-radius: 8px;
    background: #0a1d28;
  }
  .staff-metrics article::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    content: '';
    background: #63dfc1;
  }
  .staff-metrics article.attention::before {
    background: #ffbd66;
  }
  .staff-metrics small {
    align-self: start;
    color: #93a9b4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  .staff-metrics strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: #eaf4f5;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 32px;
    line-height: 1;
  }
  .staff-metrics article > span {
    align-self: end;
    color: #758e9a;
    font-size: 12px;
  }
  .staff-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    gap: 14px;
  }
  .staff-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #63dfc1;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .staff-request-form {
    display: block;
    padding: 20px;
  }
  .staff-request-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    height: auto;
    min-height: 0;
    margin-bottom: 16px;
    padding: 0;
    align-items: start;
    color: inherit;
    background: transparent;
  }
  .staff-request-head h3,
  .staff-request-head p {
    margin: 0;
  }
  .staff-request-head h3 {
    color: #eef6f7;
    font-size: 21px;
  }
  .staff-request-head p {
    max-width: 680px;
    margin-top: 6px;
    color: #8fa6b2;
  }
  .staff-access-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
  }
  .staff-access-flow li {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 8px;
    padding-right: 14px;
    color: #8299a5;
  }
  .staff-access-flow li:not(:last-child)::after {
    position: absolute;
    top: 14px;
    right: 8px;
    left: 37px;
    height: 1px;
    content: '';
    background: #294955;
  }
  .staff-access-flow li > span {
    z-index: 1;
    display: grid;
    grid-row: 1 / span 2;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #315462;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #0d2631;
  }
  .staff-access-flow li.current > span {
    border-color: #63dfc1;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .staff-access-flow strong {
    z-index: 1;
    width: fit-content;
    padding-right: 6px;
    color: #dbe8eb;
    background: #0a1d28;
  }
  .staff-access-flow small {
    color: #718b98;
  }
  .staff-request-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .staff-request-fields label {
    display: grid;
    align-content: start;
    gap: 6px;
    color: #d7e4e7;
    font-size: 12px;
    font-weight: 800;
  }
  .staff-field-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }
  .staff-field-label b {
    color: #66818e;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .staff-control-shell {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #315361;
    border-radius: 6px;
    color: #dce9ec;
    background: #081923;
    transition:
      border-color 130ms ease,
      box-shadow 130ms ease,
      background 130ms ease;
  }
  .staff-control-shell:hover {
    border-color: #477180;
    background: #0a1d28;
  }
  .staff-control-shell:focus-within {
    border-color: #63dfc1;
    box-shadow: 0 0 0 3px rgba(99, 223, 193, 0.12);
  }
  .staff-request-form .staff-control-shell :where(input, select, textarea) {
    width: 100%;
    margin: 0;
    padding: 11px 12px;
    border: 0;
    border-radius: 0;
    color: #edf5f6;
    background: transparent;
    color-scheme: dark;
    outline: 0;
  }
  #console .staff-request-form .staff-control-shell textarea {
    border: 0;
    color: #edf5f6;
    background: transparent;
  }
  .staff-request-form .staff-control-shell :where(input, textarea)::placeholder {
    color: #68828f;
    opacity: 1;
  }
  .staff-email-control > span {
    display: grid;
    width: 40px;
    height: 28px;
    flex: 0 0 40px;
    place-items: center;
    border-right: 1px solid #294955;
    color: #72d8c0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
  }
  .staff-email-control input {
    padding-left: 11px !important;
  }
  .staff-form-field.is-error .staff-control-shell {
    border-color: #b65e5a;
    box-shadow: 0 0 0 3px rgba(255, 130, 122, 0.08);
  }
  .staff-form-field.is-error > small {
    color: #ff9b94;
  }
  .staff-form-field.is-valid .staff-control-shell {
    border-color: #3f8b79;
  }
  .staff-form-field.is-valid > small {
    color: #71d6bf;
  }
  .staff-form-field.is-pending .staff-control-shell {
    border-color: #8c7045;
  }
  .staff-form-field.is-pending > small {
    color: #d8b370;
  }
  .staff-request-fields label > small {
    min-height: 30px;
    color: #748e9b;
    font-weight: 500;
  }
  .staff-request-fields label.is-disabled {
    opacity: 0.48;
  }
  .staff-request-fields :where(input, select, textarea) {
    min-height: 44px;
  }
  .staff-request-fields textarea {
    min-height: 84px;
    resize: vertical;
  }
  .staff-request-preview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #2b4d5a;
    border-radius: 6px;
    background: #0d2530;
  }
  .staff-request-preview > span,
  .staff-request-preview > b {
    color: #71dbc3;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .staff-request-preview > div {
    display: grid;
    gap: 2px;
    padding-left: 12px;
    border-left: 1px solid #2b4d5a;
  }
  .staff-request-preview small {
    color: #86a0ac;
  }
  .staff-request-actions {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #203d49;
  }
  .staff-request-actions > span {
    display: grid;
    gap: 2px;
  }
  .staff-request-actions strong {
    color: #dce9eb;
    font-size: 12px;
  }
  .staff-request-actions small {
    color: #78919d;
  }
  .staff-request-actions button {
    min-width: 220px;
  }
  .staff-request-actions button:disabled {
    border-color: #294653;
    color: #66808c;
    background: #0b202b;
    cursor: not-allowed;
  }
  .staff-policy {
    padding: 20px;
  }
  .staff-policy h3,
  .staff-policy p {
    margin: 0;
  }
  .staff-policy p {
    margin-top: 6px;
    color: #879fab;
  }
  .staff-policy ul {
    gap: 0;
    margin: 16px 0;
    padding: 0;
    list-style: none;
  }
  .staff-policy li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 9px;
    padding: 10px 0;
    border-top: 1px solid #203c48;
  }
  .staff-policy li > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .staff-policy li > div {
    display: grid;
  }
  .staff-policy li strong {
    color: #dce9eb;
    font-size: 12px;
  }
  .staff-policy li small,
  .staff-policy-note small {
    color: #78929e;
  }
  .staff-policy-note {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid rgba(255, 189, 102, 0.24);
    border-radius: 6px;
    background: rgba(255, 189, 102, 0.06);
  }
  .staff-policy-note strong {
    color: #ffd18d;
  }
  .staff-section {
    padding: 0;
    overflow: hidden;
  }
  .staff-section > header {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #284754;
    background: #0c212c;
  }
  .staff-section > header h3 {
    margin: 0;
    font-size: 17px;
  }
  .staff-section-count {
    padding: 5px 8px;
    border: 1px solid #315260;
    border-radius: 4px;
    color: #91a8b3;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .staff-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px;
  }
  .staff-empty > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .staff-empty > div {
    display: grid;
    gap: 2px;
  }
  .staff-empty small {
    color: #7f98a4;
  }
  .staff-account-head,
  .staff-account {
    grid-template-columns: 12px minmax(220px, 1.5fr) minmax(160px, 1fr) minmax(160px, 1fr);
    padding-right: 18px;
    padding-left: 18px;
  }
  .staff-account-head {
    display: grid;
    gap: 14px;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #66818e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #091a24;
  }
  .staff-account {
    border-top-color: #203c48;
  }
  .staff-audit-section .audit {
    padding: 0 18px 10px;
  }
  .empty-setup-steps li {
    border-color: #2a4956;
    border-radius: 5px;
    color: #9cb0ba;
    background: #0d222d;
  }
  .empty-setup-steps li span {
    border-radius: 3px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }

  .environment-card-head,
  .environment-facts section {
    border-color: #284754;
  }
  .environment-card :where(h3, h4, strong),
  .section-heading :where(h2, h3),
  .installation-record :where(h3, h4, strong),
  .release :where(h3, strong),
  .staff-section :where(h3, strong),
  .audit strong {
    color: #e7f1f3;
  }
  .section-heading p,
  .environment-card :where(p, small, span),
  .installation-record :where(p, small),
  .release :where(p, small),
  .audit :where(small, time) {
    color: #8ba2ae;
  }
  .health-pill,
  .version,
  .retention-badge {
    border-color: #315563;
    color: #9ab1bc;
    background: #0d2430;
  }

  .fleet-setup-card,
  .fleet-setup-card.action-required {
    border-color: rgba(255, 189, 102, 0.46);
    border-radius: 8px;
    color: #dce8eb;
    background: rgba(255, 189, 102, 0.055);
  }
  .fleet-setup-card > div:first-child {
    grid-column: 1 / -1;
  }
  .fleet-setup-card.ready {
    border-color: rgba(99, 223, 193, 0.42);
    background: rgba(99, 223, 193, 0.055);
  }
  .fleet-setup-card.blocked {
    border-color: rgba(255, 130, 122, 0.42);
    background: rgba(255, 130, 122, 0.055);
  }
  .setup-dot {
    background: #ffbd66;
    box-shadow: 0 0 0 5px rgba(255, 189, 102, 0.1);
  }
  .fleet-setup-card.ready .setup-dot {
    background: #63dfc1;
    box-shadow: 0 0 0 5px rgba(99, 223, 193, 0.1);
  }
  .fleet-setup-card.blocked .setup-dot {
    background: #ff827a;
    box-shadow: 0 0 0 5px rgba(255, 130, 122, 0.1);
  }
  .setup-status,
  .setup-status.action-required {
    border-radius: 4px;
    color: #ffcd84 !important;
    background: rgba(255, 189, 102, 0.1);
  }
  .setup-status.ready {
    color: #7ee7cf !important;
    background: rgba(99, 223, 193, 0.1);
  }
  .setup-status.blocked {
    color: #ffaaa4 !important;
    background: rgba(255, 130, 122, 0.1);
  }
  .setup-guidance,
  .installation-blocked {
    border: 1px solid rgba(255, 189, 102, 0.2);
    border-radius: 5px;
    color: #e8c68e;
    background: rgba(255, 189, 102, 0.075);
  }
  .fleet-setup-card details,
  .fleet-setup-actions {
    grid-column: 1 / -1;
  }
  .fleet-setup-card details {
    width: 100%;
  }
  .fleet-setup-card summary {
    width: fit-content;
    padding: 4px 0;
  }
  .fleet-setup-checks {
    position: static;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    margin-top: 8px;
    padding: 0;
    overflow: hidden;
    border-color: #294a57;
    border-radius: 6px;
    background: #0d222d;
    box-shadow: none;
  }
  .fleet-setup-checks p {
    align-content: start;
    min-width: 0;
    border-right: 1px solid #294a57;
  }
  .fleet-setup-checks p:last-child {
    border-right: 0;
  }
  .fleet-setup-checks p > strong {
    color: #dce9ec;
    font-size: 10px;
  }
  .fleet-setup-checks p > small {
    color: #78919e;
    line-height: 1.4;
  }
  .fleet-setup-actions {
    justify-content: flex-end;
    padding-top: 2px;
  }
  .digitalocean-connection,
  .fleet-setup-checks,
  .quick-profile > div,
  .installation-organization-card,
  .installation-owner,
  .installation-summary article,
  .installation-activity .installation-empty {
    border-color: #294a57;
    border-radius: 6px;
    color: #dce9ec;
    background: #0d222d;
    box-shadow: none;
  }
  .fleet-setup-card summary,
  .installation-onboarding-link {
    color: #72dfc5;
  }
  .installation-summary strong {
    color: #75e2c8;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .installation-mode-head {
    border-color: #294754;
  }
  .installation-mode-head h3,
  .installation-quick-form > h3,
  .installation-activity h3 {
    color: #eaf3f5;
  }
  .installation-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
  }
  .installation-journey li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid #294a57;
    border-radius: 5px;
    color: #78919e;
    background: #0b202b;
    font-size: 9px;
  }
  .installation-journey li > span {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #365b68;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .installation-journey li.current {
    border-color: #63dfc1;
    color: #dff5f0;
    background: rgba(99, 223, 193, 0.07);
  }
  .installation-journey li.current > span,
  .installation-journey li.complete > span {
    border-color: rgba(99, 223, 193, 0.4);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .installation-journey li.complete {
    color: #9fc4bb;
  }
  .installation-layout:has(.installation-activity .installation-empty) {
    grid-template-columns: minmax(0, 1fr);
  }
  .installation-layout:has(.installation-activity .installation-empty)
    .installation-activity {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(280px, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #294a57;
    border-radius: 6px;
    background: #0a1d28;
  }
  .installation-layout:has(.installation-activity .installation-empty)
    .installation-activity
    > div {
    display: grid;
    gap: 2px;
    margin: 0;
  }
  .installation-layout:has(.installation-activity .installation-empty)
    .installation-empty {
    padding: 12px 14px;
  }
  .installation-quick-form:has(.organization-picker) {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    column-gap: 20px;
  }
  .installation-quick-form:has(.organization-picker)
    :where(.installation-mode-head, .installation-journey, .installation-blocked, .readiness-jump) {
    grid-column: 1 / -1;
  }
  .installation-quick-form:has(.organization-picker) > h3,
  .installation-quick-form:has(.organization-picker) > .installation-lead,
  .installation-quick-form:has(.organization-picker) > .organization-picker,
  .installation-quick-form:has(.organization-picker)
    > .installation-organization-card,
  .installation-quick-form:has(.organization-picker) > .installation-owner,
  .installation-quick-form:has(.organization-picker)
    > .installation-organization-actions {
    grid-column: 1;
  }
  .installation-quick-form:has(.organization-picker) > .quick-profile {
    grid-column: 2;
    grid-row: 3 / span 6;
    grid-template-columns: 1fr;
    align-self: start;
    padding: 12px;
    border: 1px solid #294a57;
    border-radius: 6px;
    background: rgba(5, 17, 25, 0.32);
  }
  .readiness-jump {
    min-height: 46px;
    border-color: rgba(255, 189, 102, 0.48) !important;
    color: #ffd18e !important;
    background: rgba(255, 189, 102, 0.08) !important;
  }
  .readiness-jump::before {
    margin-right: 7px;
    content: '↑';
  }
  .organization-picker {
    display: grid;
    gap: 7px;
    margin: 16px 0 12px;
  }
  .organization-picker > label > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .organization-picker label strong {
    color: #dce9ec;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .organization-picker label small {
    color: #718b98;
    font-size: 9px;
    font-weight: 650;
  }
  .organization-select-control {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #315563;
    border-radius: 6px;
    background: #081923;
    transition:
      border-color 130ms ease,
      box-shadow 130ms ease;
  }
  .organization-select-control:focus-within {
    border-color: #63dfc1;
    box-shadow: 0 0 0 3px rgba(99, 223, 193, 0.12);
  }
  .organization-select-mark {
    position: absolute;
    left: 9px;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.3);
    border-radius: 4px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
    font-size: 10px;
    font-weight: 850;
    pointer-events: none;
  }
  .organization-select-control select {
    width: 100%;
    min-height: 54px;
    appearance: none;
    padding: 10px 45px 10px 55px;
    border: 0;
    color: #eef6f7;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    outline: 0;
  }
  .organization-select-chevron {
    position: absolute;
    right: 15px;
    color: #7d97a4;
    font-size: 15px;
    pointer-events: none;
  }
  .organization-picker + input[type='hidden'] + input[type='hidden'] {
    display: none;
  }
  .installation-organization-card {
    margin-top: 0;
  }
  .installation-mode-head p,
  .installation-lead,
  .quick-profile :where(small, span),
  .installation-summary span,
  .installation-activity > div > small,
  .installation-organization-card :where(small, span),
  .installation-owner :where(small, span) {
    color: #8ca3ae;
  }
  .installation-avatar {
    border: 1px solid rgba(99, 223, 193, 0.28);
    border-radius: 4px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }

  .demo-pilot {
    display: grid;
    gap: 14px;
  }
  .demo-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .demo-section-heading h2,
  .demo-section-heading p {
    margin: 0;
  }
  .demo-section-heading h2 {
    color: #edf5f6;
    font-size: 25px;
  }
  .demo-section-heading p {
    max-width: 760px;
    margin-top: 6px;
    color: #8da4b0;
  }
  .demo-program-state {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid rgba(255, 189, 102, 0.36);
    border-radius: 4px;
    color: #ffd18e;
    background: rgba(255, 189, 102, 0.07);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .demo-stage-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    padding: 0;
    overflow: hidden;
  }
  .demo-stage-summary,
  .demo-next-steps {
    padding: 19px;
  }
  .demo-stage-summary {
    border-right: 1px solid #284754;
    background:
      radial-gradient(circle at 15% 15%, rgba(99, 223, 193, 0.08), transparent 44%),
      #0b202b;
  }
  .demo-stage-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
  }
  .demo-stage-summary h3 {
    margin: 0;
    color: #edf5f6;
    font-size: 23px;
    text-transform: capitalize;
  }
  .demo-stage-summary > div > span,
  .demo-stage-summary > small {
    color: #819aa6;
    font-size: 11px;
  }
  .demo-readiness-meter {
    display: block;
    width: 100%;
    height: 7px;
    margin: 18px 0 8px;
    border: 0;
    border-radius: 99px;
    background: #17313d;
  }
  .demo-readiness-meter::-webkit-meter-bar {
    border: 0;
    border-radius: 99px;
    background: #17313d;
  }
  .demo-readiness-meter::-webkit-meter-optimum-value,
  .demo-readiness-meter::-webkit-meter-suboptimum-value,
  .demo-readiness-meter::-webkit-meter-even-less-good-value {
    border-radius: 99px;
    background: #63dfc1;
  }
  .demo-next-steps ol {
    display: grid;
    gap: 7px;
    margin: 10px 0 14px;
    padding: 0;
    list-style: none;
  }
  .demo-next-steps li {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 9px;
    align-items: start;
  }
  .demo-next-steps li > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 4px;
    color: #79d9c2;
    background: #0d2732;
    font: 750 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-next-steps li p {
    margin: 2px 0 0;
    color: #bdcdd2;
    line-height: 1.4;
  }
  .demo-stage-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .demo-readiness-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-top: 4px;
    padding-bottom: 9px;
    border-bottom: 1px solid #203d49;
  }
  .demo-readiness-head h3 {
    margin: 0;
    color: #e9f2f4;
    font-size: 18px;
  }
  .demo-readiness-head > span {
    color: #78929e;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-integration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .demo-integration-card {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 11px 12px;
    border: 1px solid #284754;
    border-radius: 6px;
    background: #0a1d28;
  }
  .demo-integration-card.blocked {
    border-color: rgba(255, 189, 102, 0.24);
    background: linear-gradient(110deg, rgba(255, 189, 102, 0.035), transparent 52%), #0a1d28;
  }
  .demo-integration-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 189, 102, 0.32);
    border-radius: 4px;
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.08);
    font: 850 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-integration-card.ready .demo-integration-icon {
    border-color: rgba(99, 223, 193, 0.3);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .demo-integration-card > div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .demo-integration-card strong {
    overflow: hidden;
    color: #dce9ec;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .demo-integration-card small {
    color: #78919d;
  }
  .demo-readiness-state {
    padding: 4px 6px;
    border-radius: 3px;
    color: #d5a75f;
    background: rgba(255, 189, 102, 0.08);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .demo-integration-card.ready .demo-readiness-state {
    color: #65d7bd;
    background: rgba(99, 223, 193, 0.08);
  }
  .demo-blocker-summary,
  .demo-ready-summary {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(255, 189, 102, 0.34);
    border-radius: 7px;
    background: rgba(255, 189, 102, 0.055);
  }
  .demo-blocker-summary > span,
  .demo-ready-summary > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.11);
    font-weight: 900;
  }
  .demo-blocker-summary > div {
    display: grid;
    gap: 2px;
  }
  .demo-blocker-summary strong {
    color: #ffd18e;
  }
  .demo-blocker-summary p {
    margin: 0;
    color: #8fa5b0;
  }
  .demo-ready-summary {
    grid-template-columns: 34px 1fr;
    border-color: rgba(99, 223, 193, 0.3);
    color: #bde8de;
    background: rgba(99, 223, 193, 0.05);
  }
  .demo-ready-summary > span {
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .demo-reseller-layout {
    margin: 0;
  }
  .demo-reseller-readiness {
    padding: 0;
    overflow: hidden;
  }
  .demo-reseller-readiness > header {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #284754;
    color: inherit;
    background: #0c212c;
  }
  .demo-reseller-readiness > header h3 {
    margin: 0;
    color: #eaf3f4;
  }
  .demo-reseller-readiness > header > span {
    color: #8199a5;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-reseller-readiness > .empty {
    padding: 18px;
  }
  .demo-monitoring-head {
    margin-top: 2px;
  }
  .demo-monitor-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
  .demo-monitor-grid article {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid #284754;
    border-radius: 6px;
    background: #0a1d28;
  }
  .demo-monitor-grid small {
    color: #78919d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .demo-monitor-grid strong {
    color: #e7f1f3;
    font: 800 24px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-analytics {
    display: grid;
    gap: 12px;
    margin-top: 24px;
  }
  .demo-analytics .demo-readiness-head h2 {
    margin: 0;
    color: #e9f2f4;
    font-size: 21px;
  }
  .demo-analytics-copy {
    margin: -3px 0 0;
    color: #8ca3ae;
  }
  .demo-quality-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .demo-quality-grid article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #284754;
    border-radius: 6px;
    background: #0a1d28;
  }
  .demo-quality-grid small {
    color: #829aa6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .demo-quality-grid strong {
    color: #e8f2f4;
    font: 800 22px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-quality-list {
    padding: 0;
    overflow: hidden;
  }
  .demo-quality-list > header {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #284754;
    color: inherit;
    background: #0c212c;
  }
  .demo-quality-list > header h3 {
    margin: 0;
    color: #eaf3f4;
  }
  .demo-quality-list > header > span {
    color: #8199a5;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .demo-quality-list > .empty {
    padding: 18px;
  }
  .demo-pilot .rollout-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
  }
  .demo-pilot .rollout-form > :where(h3, p, button, small) {
    grid-column: 1 / -1;
  }
  .demo-pilot .rollout-form :where(input, select) {
    min-height: 44px;
    border-color: #315361;
    border-radius: 6px;
    color: #edf5f6;
    background: #081923;
    color-scheme: dark;
  }

  .commerce-overview {
    display: grid;
    gap: 12px;
  }
  .commerce-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    padding-bottom: 9px;
    border-bottom: 1px solid #203d49;
  }
  .commerce-heading-row h2 {
    margin: 0;
    color: #e9f2f4;
    font-size: 20px;
  }
  .commerce-heading-row > span {
    color: #78929e;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .commerce-metrics article {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid #284754;
    border-radius: 6px;
    background: #0a1d28;
  }
  .commerce-metrics article > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.3);
    border-radius: 4px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
    font: 750 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-metrics article > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }
  .commerce-metrics small {
    color: #829aa6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .commerce-metrics strong {
    color: #e8f2f4;
    font: 800 24px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-metrics article.awaiting strong {
    color: #d4ad70;
    font-size: 12px;
  }
  .commerce-funnel,
  .commerce-settlement-form,
  .commerce-review-panel {
    padding: 0;
    overflow: hidden;
  }
  .commerce-panel-head {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #284754;
    color: inherit;
    background: #0c212c;
  }
  .commerce-panel-head h3 {
    margin: 0;
    color: #e8f2f4;
    font-size: 16px;
  }
  .commerce-panel-head > span {
    color: #8199a5;
    font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
  }
  .commerce-funnel-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .commerce-funnel-steps article {
    position: relative;
    display: grid;
    gap: 3px;
    min-height: 82px;
    padding: 13px 15px;
    border-right: 1px solid #203d49;
  }
  .commerce-funnel-steps article:last-child {
    border-right: 0;
  }
  .commerce-funnel-steps article > span {
    color: #71d9c1;
    font: 750 10px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
  }
  .commerce-funnel-steps strong {
    color: #edf5f6;
    font: 800 23px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-funnel-steps small {
    color: #78919d;
  }
  .commerce-settlement-heading {
    margin-top: 24px;
  }
  .commerce-settlement-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 12px;
    margin-top: 12px;
    align-items: start;
  }
  .commerce-settlement-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .commerce-settlement-form > :where(header, p, .commerce-approval-flow, .commerce-form-status, button) {
    grid-column: 1 / -1;
  }
  .commerce-settlement-form > p {
    margin: 0;
    padding: 13px 16px 0;
    color: #8ca3ae;
  }
  .commerce-settlement-form > label {
    display: grid;
    gap: 6px;
    margin: 0 16px;
    color: #d7e5e8;
    font-size: 11px;
    font-weight: 800;
  }
  .commerce-settlement-form > label:nth-of-type(even) {
    margin-left: 0;
  }
  .commerce-settlement-form > label:nth-of-type(odd) {
    margin-right: 0;
  }
  #console .commerce-settlement-form :where(input, select) {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #315361;
    border-radius: 5px;
    color: #edf5f6;
    background: #081923;
    color-scheme: dark;
  }
  #console .commerce-settlement-form input[readonly] {
    color: #8da5b0;
    background: #0d222d;
  }
  .commerce-approval-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 16px;
  }
  .commerce-approval-flow span {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 8px;
    border: 1px solid #294955;
    border-radius: 5px;
    color: #829aa6;
    font-size: 10px;
    font-weight: 750;
  }
  .commerce-approval-flow span.current {
    border-color: rgba(99, 223, 193, 0.38);
    color: #cfe9e3;
    background: rgba(99, 223, 193, 0.06);
  }
  .commerce-approval-flow b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 3px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-form-status {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 2px 16px 0;
    padding: 11px 12px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #0d2530;
  }
  .commerce-form-status > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
    font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .commerce-form-status > div {
    display: grid;
    gap: 2px;
  }
  .commerce-form-status strong {
    color: #dbe9eb;
    font-size: 12px;
  }
  .commerce-form-status small {
    color: #78929e;
  }
  .commerce-form-status[data-state='attention'] {
    border-color: rgba(255, 189, 102, 0.4);
    background: rgba(255, 189, 102, 0.06);
  }
  .commerce-form-status[data-state='attention'] > span {
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.12);
  }
  .commerce-settlement-form > button {
    margin: 0 16px 16px;
  }
  .commerce-settlement-form > button:disabled {
    border-color: #294653;
    color: #66808c;
    background: #0b202b;
    cursor: not-allowed;
  }
  .commerce-review-panel .bank-review {
    margin: 0 16px;
    border-bottom-color: #203d49;
  }
  .commerce-empty {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 18px 16px;
  }
  .commerce-empty > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .commerce-empty > div {
    display: grid;
    gap: 2px;
  }
  .commerce-empty strong {
    color: #dbe9eb;
  }
  .commerce-empty small {
    color: #7f98a4;
  }

  .reconciliation-workspace {
    display: grid;
    gap: 14px;
  }
  .reconciliation-date {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #284754;
    border-radius: 7px;
    background: #0a1d28;
  }
  .reconciliation-date > div {
    display: grid;
    gap: 4px;
  }
  .reconciliation-date label {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #d9e7e9;
  }
  #console .reconciliation-date input {
    width: auto;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #315361;
    border-radius: 5px;
    color: #edf5f6;
    background: #081923;
    color-scheme: dark;
  }
  .reconciliation-version {
    align-self: center;
    padding: 5px 7px;
    border: 1px solid #315260;
    border-radius: 4px;
    color: #8098a4;
    font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .reconciliation-summary article {
    position: relative;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 72px;
    padding: 11px 12px;
    border: 1px solid #284754;
    border-radius: 6px;
    background: #0a1d28;
  }
  .reconciliation-summary article.attention {
    border-color: rgba(255, 189, 102, 0.42);
    background: linear-gradient(110deg, rgba(255, 189, 102, 0.055), transparent 60%), #0a1d28;
  }
  .reconciliation-summary article > span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #315462;
    border-radius: 4px;
    color: #72909d;
    font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-summary article.attention > span {
    border-color: rgba(255, 189, 102, 0.38);
    color: #ffbd66;
  }
  .reconciliation-summary article > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .reconciliation-summary small {
    color: #829aa6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .reconciliation-summary strong {
    color: #e9f3f4;
    font: 800 23px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-daily {
    padding: 0;
    overflow: hidden;
  }
  .reconciliation-daily > header,
  .reconciliation-queue > header,
  .reconciliation-override > header {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 13px 15px;
    border-bottom: 1px solid #284754;
    color: inherit;
    background: #0c212c;
  }
  .reconciliation-daily > header h3,
  .reconciliation-queue > header h3,
  .reconciliation-override > header h3 {
    margin: 0;
    color: #e8f2f4;
    font-size: 15px;
  }
  .reconciliation-daily > header > span,
  .reconciliation-override > header > span {
    color: #8199a5;
    font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
  }
  .reconciliation-totals {
    gap: 8px;
    padding: 14px;
  }
  .reconciliation-totals > .empty {
    width: 100%;
    padding: 12px;
    color: #829aa6;
    text-align: center;
  }
  .reconciliation-total {
    min-width: 170px;
    border-color: #294a57;
    border-radius: 6px;
    background: #0d222d;
  }
  .reconciliation-section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-top: 8px;
    padding-bottom: 9px;
    border-bottom: 1px solid #203d49;
  }
  .reconciliation-section-head h2 {
    margin: 0;
    color: #e9f2f4;
    font-size: 19px;
  }
  .reconciliation-section-head > span {
    padding: 5px 8px;
    border: 1px solid #315260;
    border-radius: 4px;
    color: #8199a5;
    font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
  }
  .reconciliation-section-head > span.attention {
    border-color: rgba(255, 189, 102, 0.4);
    color: #ffd18e;
    background: rgba(255, 189, 102, 0.06);
  }
  .reconciliation-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: end;
    margin: 12px 0 8px;
    padding: 11px 12px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #0a202b;
  }
  .reconciliation-filter label {
    display: grid;
    gap: 5px;
    color: #63dfc1;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .reconciliation-filter input {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #e4eff1;
    background: #071923;
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
  }
  .reconciliation-filter :where(input, button):focus-visible {
    outline: 2px solid #63dfc1;
    outline-offset: 2px;
  }
  .reconciliation-filter button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #bbced2;
    background: #0b222d;
    font-size: 10px;
    font-weight: 800;
  }
  .reconciliation-filter > span {
    padding-bottom: 12px;
    color: #839ba5;
    font-size: 10px;
    white-space: nowrap;
  }
  .reconciliation-filter > span strong {
    color: #63dfc1;
    font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-filter-empty {
    display: grid;
    gap: 4px;
    padding: 16px;
    color: #dce8ea;
    background: #0a202b;
  }
  .reconciliation-filter-empty span {
    color: #8199a5;
    font-size: 11px;
  }
  .reconciliation-grid {
    gap: 9px;
    margin: 0;
  }
  .reconciliation-queue {
    min-height: 108px;
    padding: 0;
    overflow: hidden;
  }
  .reconciliation-queue.has-items {
    border-color: rgba(255, 189, 102, 0.34);
  }
  .reconciliation-queue > header > span {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 4px;
    color: #78929e;
    background: #122d38;
    font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-queue.has-items > header > span {
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.1);
  }
  .reconciliation-queue .bank-review {
    margin: 0 14px;
    border-bottom-color: #203d49;
  }
  .reconciliation-empty {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 14px 15px;
    color: #78929e;
  }
  .reconciliation-empty > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .finance-trust-section {
    margin-top: 12px;
    padding-top: 18px;
    border-top-color: #203d49;
  }
  .reconciliation-override {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 0 16px;
    overflow: hidden;
  }
  .reconciliation-override > :where(header, p, .reconciliation-control-notice, .reconciliation-override-status, button) {
    grid-column: 1 / -1;
  }
  .reconciliation-override > p {
    margin: 0;
    padding: 13px 16px 0;
  }
  .reconciliation-override > label {
    margin: 0 16px;
    color: #d7e5e8;
  }
  .reconciliation-override > label:nth-of-type(even) {
    margin-left: 0;
  }
  .reconciliation-override > label:nth-of-type(odd) {
    margin-right: 0;
  }
  #console .reconciliation-override :where(input, select, textarea) {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #315361;
    border-radius: 5px;
    color: #edf5f6;
    background: #081923;
    color-scheme: dark;
  }
  #console .reconciliation-override textarea {
    min-height: 88px;
    resize: vertical;
  }
  .reconciliation-override label > small {
    color: #748e9b;
    font-weight: 500;
  }
  .reconciliation-control-notice,
  .reconciliation-override-status {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 16px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 189, 102, 0.3);
    border-radius: 6px;
    background: rgba(255, 189, 102, 0.055);
  }
  .reconciliation-control-notice > span,
  .reconciliation-override-status > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.11);
    font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reconciliation-control-notice > div,
  .reconciliation-override-status > div {
    display: grid;
    gap: 2px;
  }
  .reconciliation-control-notice strong,
  .reconciliation-override-status strong {
    color: #e4ecee;
    font-size: 12px;
  }
  .reconciliation-control-notice small,
  .reconciliation-override-status small {
    color: #8199a5;
  }
  .reconciliation-override-status {
    border-color: #294b58;
    background: #0d2530;
  }
  .reconciliation-override-status > span {
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .reconciliation-override > button {
    margin: 0 16px;
  }
  .reconciliation-override > button:disabled {
    border-color: #294653;
    color: #66808c;
    background: #0b202b;
    cursor: not-allowed;
  }
  .demo-rollout-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    margin-top: 4px;
    padding: 18px;
  }
  .demo-rollout-create > :where(.staff-eyebrow, h3, p, small) {
    grid-column: 1 / -1;
    margin: 0;
  }
  .demo-rollout-create label {
    display: grid;
    gap: 6px;
    color: #d8e5e8;
    font-size: 12px;
    font-weight: 800;
  }
  .demo-rollout-create input {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #315361;
    border-radius: 6px;
    color: #edf5f6;
    background: #081923;
  }
  .demo-rollout-create small {
    color: #78919d;
  }

  /* Pilot launch mission control */
  #launch-content {
    display: grid;
    gap: 14px;
  }
  .launch-eyebrow {
    color: #63dfc1;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .launch-state-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 9px;
    border: 1px solid rgba(255, 189, 102, 0.35);
    border-radius: 999px;
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.07);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .launch-state-badge.active,
  .launch-state-badge.completed {
    border-color: rgba(99, 223, 193, 0.4);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .launch-empty-hero,
  .launch-program-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 28px;
    align-items: end;
    padding: 20px 22px;
    border: 1px solid #284957;
    border-radius: 7px;
    background:
      linear-gradient(110deg, rgba(99, 223, 193, 0.065), transparent 58%),
      #0a1e29;
  }
  .launch-empty-hero > div,
  .launch-program-head > div {
    display: grid;
    gap: 9px;
  }
  .launch-empty-hero h2,
  .launch-program-head h2 {
    max-width: 760px;
    margin: 0;
    color: #edf5f6;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }
  .launch-empty-hero p,
  .launch-program-head p {
    max-width: 760px;
    margin: 0;
    color: #93aab5;
    font-size: 13px;
    line-height: 1.55;
  }
  .launch-empty-hero > aside,
  .launch-program-head > aside {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 9px;
    padding-left: 18px;
    border-left: 1px solid #2b4b58;
  }
  .launch-empty-hero > aside strong,
  .launch-program-head > aside strong {
    grid-row: 1 / 3;
    color: #63dfc1;
    font: 700 38px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .launch-empty-hero > aside span,
  .launch-program-head > aside span {
    align-self: end;
    color: #dce8ea;
    font-weight: 800;
  }
  .launch-empty-hero > aside small,
  .launch-program-head > aside small {
    color: #839ba6;
    line-height: 1.35;
  }
  .launch-empty-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
    gap: 14px;
    align-items: start;
  }
  :where(.launch-roadmap, .launch-create, .launch-read-only) {
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .launch-roadmap,
  .launch-create,
  .launch-read-only {
    max-width: none;
    padding: 20px;
  }
  .launch-roadmap header,
  .launch-create header,
  .launch-read-only {
    display: grid;
    gap: 6px;
  }
  .launch-roadmap header,
  .launch-create header,
  .advance-card header {
    height: auto;
    min-height: 0;
    padding: 0;
    align-items: start;
    color: inherit;
    background: transparent;
  }
  .launch-roadmap h3,
  .launch-create h3,
  .launch-read-only h3 {
    margin: 0;
    color: #e9f1f2;
    font-size: 19px;
  }
  .launch-roadmap p,
  .launch-create p,
  .launch-read-only p {
    margin: 0;
    color: #91a8b3;
    line-height: 1.45;
  }
  .launch-roadmap ol {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }
  .launch-roadmap li {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    padding: 0 0 15px;
  }
  .launch-roadmap li:not(:last-child)::after {
    position: absolute;
    top: 29px;
    bottom: 2px;
    left: 14px;
    width: 1px;
    background: #31515d;
    content: '';
  }
  .launch-roadmap li > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #3a606d;
    border-radius: 50%;
    color: #63dfc1;
    background: #0c2833;
    font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .launch-roadmap li > div {
    display: grid;
    gap: 2px;
  }
  .launch-roadmap li strong {
    color: #dfeaec;
    font-size: 12px;
  }
  .launch-roadmap li small {
    color: #7f98a4;
    line-height: 1.35;
  }
  .launch-create {
    display: grid;
    gap: 16px;
  }
  .launch-create .launch-field {
    display: grid;
    gap: 6px;
    margin: 0;
  }
  .launch-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #dfeaec;
    font-size: 11px;
    font-weight: 800;
  }
  .launch-field > span b {
    color: #6cdac1;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .launch-field > div {
    position: relative;
  }
  .launch-create .launch-field input {
    width: 100%;
    min-height: 42px;
    padding: 10px 42px 10px 11px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #edf5f6;
    background: #071923;
    font: inherit;
  }
  .launch-create .launch-name input {
    padding-right: 11px;
  }
  .launch-field em {
    position: absolute;
    top: 50%;
    right: 12px;
    color: #77909c;
    font-style: normal;
    transform: translateY(-50%);
  }
  .launch-field small {
    color: #77909c;
    line-height: 1.35;
  }
  .launch-thresholds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 0;
    padding: 14px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: rgba(5, 18, 26, 0.25);
  }
  .launch-thresholds legend {
    padding: 0 7px;
    color: #91a7b2;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .launch-form-status {
    display: grid;
    gap: 2px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 189, 102, 0.28);
    border-radius: 5px;
    color: #ffca7f;
    background: rgba(255, 189, 102, 0.055);
  }
  .launch-form-status.ready {
    border-color: rgba(99, 223, 193, 0.25);
    color: #9cebd8;
    background: rgba(99, 223, 193, 0.055);
  }
  .launch-form-status strong {
    font-size: 11px;
  }
  .launch-form-status small {
    color: #829ba6;
  }
  .launch-create footer {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid #294653;
  }
  .launch-create footer > span {
    display: grid;
    gap: 2px;
  }
  .launch-create footer strong {
    color: #dce8ea;
    font-size: 11px;
  }
  .launch-create footer small {
    color: #7b94a0;
  }
  .launch-create button:disabled,
  .advance-card button:disabled {
    border-color: #294653;
    color: #65808b;
    background: #0b202b;
    cursor: not-allowed;
  }
  .launch-stages {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #294b58;
    border-radius: 7px;
    overflow: hidden;
    background: #091b25;
  }
  .launch-stages li {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 0;
    border-right: 1px solid #24424e;
    border-radius: 0;
    color: #78919d;
    background: transparent;
    text-transform: none;
  }
  .launch-stages li:last-child {
    border-right: 0;
  }
  .launch-stages li > span {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #31515e;
    border-radius: 50%;
    font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .launch-stages li > div {
    display: grid;
    min-width: 0;
    gap: 1px;
  }
  .launch-stages li strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .launch-stages li small {
    color: #647f8a;
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .launch-stages li.in_progress {
    border-color: #24424e;
    color: #dff5ef;
    background: rgba(99, 223, 193, 0.09);
    box-shadow: inset 0 -2px #63dfc1;
  }
  .launch-stages li.in_progress > span,
  .launch-stages li.completed > span {
    border-color: rgba(99, 223, 193, 0.45);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .launch-stages li.completed {
    color: #a8c7c3;
    background: rgba(99, 223, 193, 0.025);
  }
  .launch-metrics-section {
    display: grid;
    gap: 10px;
  }
  .launch-section-head {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
  }
  .launch-section-head > div {
    display: grid;
    gap: 3px;
  }
  .launch-section-head h3 {
    margin: 0;
    color: #e5eef0;
    font-size: 18px;
  }
  .launch-section-head > small {
    max-width: 360px;
    color: #7d96a2;
    text-align: right;
  }
  .launch-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }
  .launch-metrics .launch-metric {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 104px;
    padding: 13px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #0a202b;
  }
  .launch-metric-state {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #587381;
    box-shadow: 0 0 0 4px rgba(88, 115, 129, 0.08);
  }
  .launch-metric.passed {
    border-color: rgba(99, 223, 193, 0.3);
  }
  .launch-metric.passed .launch-metric-state {
    background: #63dfc1;
    box-shadow: 0 0 0 4px rgba(99, 223, 193, 0.09);
  }
  .launch-metric.blocked {
    border-color: rgba(255, 130, 122, 0.35);
  }
  .launch-metric.blocked .launch-metric-state {
    background: #ff827a;
  }
  .launch-metrics .launch-metric small,
  .launch-metrics .launch-metric > span:last-child {
    color: #839ca7;
    font-size: 10px;
  }
  .launch-metrics .launch-metric > small {
    padding-right: 14px;
    font-weight: 800;
  }
  .launch-metrics .launch-metric strong {
    align-self: end;
    color: #eaf2f4;
    font: 700 19px/1.05 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .launch-metric.awaiting strong {
    max-width: 120px;
    color: #9bb0ba;
    font: 800 12px/1.2 inherit;
  }
  .launch-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 14px;
  }
  .launch-cohort,
  .advance-card {
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .pilot-head {
    padding: 16px;
    border-bottom: 1px solid #284754;
  }
  .pilot-head > div {
    display: grid;
    gap: 3px;
  }
  .pilot-head h3,
  .advance-card h3 {
    margin: 0;
    color: #e6eff0;
    font-size: 18px;
  }
  .pilot-head p,
  .advance-card p {
    margin: 0;
    color: #859da8;
    font-size: 11px;
  }
  .pilot-enroll {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 13px 16px;
    border-bottom: 1px solid #284754;
    background: rgba(99, 223, 193, 0.035);
  }
  .pilot-enroll label {
    display: grid;
    gap: 5px;
    color: #a5bbc4;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .pilot-enroll select {
    min-height: 40px;
    border-color: #315563;
    border-radius: 5px;
    color: #eaf2f4;
    background: #071923;
  }
  .pilot-enroll-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid #284754;
    color: #849ca7;
    font-size: 11px;
  }
  .pilot-table-head,
  .pilot-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(110px, 1fr));
    gap: 12px;
    align-items: center;
  }
  .pilot-table-head {
    padding: 9px 16px;
    color: #68838e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .pilot-row {
    padding: 12px 16px;
    border-top: 1px solid #24434f;
  }
  .pilot-identity {
    display: flex;
    gap: 9px;
    align-items: center;
  }
  .pilot-identity > span {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.3);
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
    font-size: 10px;
    font-weight: 900;
  }
  .pilot-identity > div,
  .pilot-signal,
  .pilot-assessment {
    display: grid;
    gap: 2px;
  }
  .pilot-row strong {
    color: #dce8ea;
    font-size: 11px;
    text-transform: capitalize;
  }
  .pilot-row small,
  .pilot-row span {
    color: #7c95a0;
    font-size: 10px;
  }
  .pilot-assessment.passed strong {
    color: #63dfc1;
  }
  .pilot-assessment button {
    width: max-content;
    margin-top: 3px;
    padding: 5px 8px;
    font-size: 10px;
  }
  .pilot-assessment-form {
    display: grid;
    gap: 6px;
    min-width: 0;
    margin-top: 4px;
  }
  .pilot-assessment-form label {
    display: grid;
    gap: 4px;
    color: #8ca5af;
    font-size: 9px;
    font-weight: 800;
  }
  .pilot-assessment-form textarea {
    width: 100%;
    min-height: 58px;
    padding: 7px;
    border: 1px solid #315563;
    border-radius: 4px;
    color: #e4eff1;
    background: #071923;
    font: inherit;
    font-size: 10px;
    line-height: 1.4;
    resize: vertical;
  }
  .pilot-assessment-form button {
    width: 100%;
    margin: 0;
    white-space: normal;
  }
  .launch-members-empty {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 24px 16px;
    border-top: 1px solid #24434f;
  }
  .launch-members-empty > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #63dfc1;
  }
  .launch-members-empty > div {
    display: grid;
    gap: 2px;
  }
  .launch-members-empty strong {
    color: #dfeaec;
    font-size: 12px;
  }
  .launch-members-empty small {
    color: #7e97a2;
  }
  .advance-card {
    display: grid;
    gap: 13px;
    padding: 16px;
  }
  .advance-card header {
    display: grid;
    gap: 5px;
  }
  .launch-gate-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .launch-gate-list li {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: #91a7b1;
    font-size: 11px;
  }
  .launch-gate-list li span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .launch-gate-list li.passed span {
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .launch-gate-list li.blocked span {
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.1);
  }
  .readiness {
    gap: 0;
    margin: 0;
    padding: 0;
    border-color: #294b58;
    border-radius: 5px;
    overflow: hidden;
  }
  .readiness legend {
    margin-left: 8px;
    padding: 0 6px;
    color: #829ba6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .readiness label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 9px 11px;
    border-bottom: 1px solid #24434f;
    color: #d8e5e8;
    text-transform: none;
  }
  .readiness label:last-child {
    border-bottom: 0;
  }
  .readiness label > span {
    display: grid;
    gap: 1px;
  }
  .readiness label strong {
    font-size: 10px;
  }
  .readiness label small {
    color: #728b96;
    font-size: 9px;
  }
  .launch-complete {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(99, 223, 193, 0.27);
    border-radius: 5px;
    background: rgba(99, 223, 193, 0.06);
  }
  .launch-complete > span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.12);
  }
  .launch-complete > div {
    display: grid;
    gap: 2px;
  }
  .launch-complete small {
    color: #829ba6;
  }
  .launch-read-only-action {
    display: grid;
    gap: 2px;
    padding: 11px 12px;
    border: 1px solid #294b58;
    border-radius: 5px;
    background: #0b202b;
  }
  .launch-read-only-action strong {
    color: #d9e7e9;
    font-size: 11px;
  }
  .launch-read-only-action small {
    color: #78919d;
  }

  /* Immutable release train */
  .release-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(370px, 0.9fr);
    gap: 14px;
    align-items: start;
  }
  .release-layout > div:first-child {
    display: grid;
    gap: 12px;
  }
  .release-layout .section-heading {
    display: grid;
    gap: 5px;
    margin: 0;
  }
  .release-layout .section-heading h2 {
    color: #e9f1f2;
    font-size: 22px;
  }
  .release-layout .section-heading p {
    max-width: 620px;
    margin: 0;
    color: #8ba2ae;
    line-height: 1.45;
  }
  .release-eyebrow {
    color: #63dfc1;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .release-state-badge {
    display: inline-flex;
    width: max-content;
    padding: 4px 8px;
    border: 1px solid rgba(255, 189, 102, 0.34);
    border-radius: 999px;
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.07);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .release-state-badge.verified,
  .release-state-badge.completed {
    border-color: rgba(99, 223, 193, 0.38);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
  }
  .release-state-badge.deploying {
    border-color: rgba(111, 177, 255, 0.38);
    color: #8cc4ff;
    background: rgba(111, 177, 255, 0.07);
  }
  .release-empty-state {
    display: grid;
    gap: 14px;
    min-height: 520px;
    padding: 22px;
    border: 1px solid #294b58;
    border-radius: 7px;
    background:
      linear-gradient(145deg, rgba(99, 223, 193, 0.05), transparent 58%),
      #0a202b;
  }
  .release-empty-state h3 {
    max-width: 620px;
    margin: 0;
    color: #edf5f6;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .release-empty-state > p {
    max-width: 650px;
    margin: 0;
    color: #90a8b3;
    line-height: 1.55;
  }
  .release-empty-state > ol {
    display: grid;
    gap: 0;
    margin: 6px 0;
    padding: 0;
    list-style: none;
  }
  .release-empty-state > ol li {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 16px;
  }
  .release-empty-state > ol li:not(:last-child)::after {
    position: absolute;
    top: 31px;
    bottom: 3px;
    left: 15px;
    width: 1px;
    background: #31515d;
    content: '';
  }
  .release-empty-state > ol li > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.38);
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
    font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-empty-state > ol li > div {
    display: grid;
    gap: 2px;
  }
  .release-empty-state > ol strong {
    color: #dce8ea;
    font-size: 12px;
  }
  .release-empty-state > ol small {
    color: #7e97a2;
    line-height: 1.35;
  }
  .release-empty-state > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: end;
    border: 1px solid #294b58;
    border-radius: 6px;
    overflow: hidden;
    background: #091b25;
  }
  .release-empty-state > aside > div {
    display: grid;
    gap: 3px;
    padding: 13px;
    border-right: 1px solid #294653;
  }
  .release-empty-state > aside > div:last-child {
    border-right: 0;
  }
  .release-empty-state > aside span {
    color: #63dfc1;
    font: 700 20px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-empty-state > aside small {
    color: #7b94a0;
  }
  .release-form {
    display: grid;
    gap: 14px;
    height: max-content;
    padding: 18px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .release-form > header,
  .release > header {
    height: auto;
    min-height: 0;
    padding: 0;
    color: inherit;
    background: transparent;
  }
  .release-form > header {
    display: grid;
    gap: 5px;
    align-items: start;
  }
  .release-form > header h2 {
    margin: 0;
    color: #e9f1f2;
    font-size: 20px;
  }
  .release-form > header p {
    margin: 0;
    color: #8ca4af;
    line-height: 1.45;
  }
  .release-contract {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .release-contract > span {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    padding: 7px 8px;
    border: 1px solid #294b58;
    border-radius: 5px;
    color: #9ab0ba;
    background: #091b25;
    font-size: 9px;
    font-weight: 800;
  }
  .release-contract b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 4px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.09);
    font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-receipt-field {
    display: grid;
    gap: 6px;
  }
  .release-receipt-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #dbe8ea;
    font-size: 11px;
    font-weight: 850;
  }
  .release-receipt-field > span b {
    color: #63dfc1;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  #console .release-form .release-receipt-field textarea {
    min-height: 190px;
    padding: 12px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #e4eff1;
    background: #071923;
    caret-color: #63dfc1;
    resize: vertical;
    font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  #console .release-form .release-receipt-field textarea::placeholder {
    color: #68828e;
  }
  #console .release-form .release-receipt-field textarea:focus {
    border-color: #63dfc1;
    outline: 2px solid rgba(99, 223, 193, 0.11);
    outline-offset: 1px;
  }
  .release-receipt-field > small {
    color: #79929d;
  }
  .release-receipt-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #294b58;
    border-radius: 5px;
    overflow: hidden;
  }
  .release-receipt-preview > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px;
    border-right: 1px solid #294653;
  }
  .release-receipt-preview > div:last-child {
    border-right: 0;
  }
  .release-receipt-preview span {
    color: #718b96;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .release-receipt-preview strong {
    overflow: hidden;
    color: #dbe7e9;
    font-size: 10px;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
  }
  .release-receipt-status {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 10px;
    border: 1px solid #294b58;
    border-radius: 5px;
    color: #dbe7e9;
    background: #0b222d;
  }
  .release-receipt-status > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    color: #819ba6;
    background: rgba(129, 155, 166, 0.1);
    font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-receipt-status > div {
    display: grid;
    gap: 2px;
  }
  .release-receipt-status strong {
    font-size: 10px;
  }
  .release-receipt-status small {
    color: #7d96a1;
  }
  .release-receipt-status.invalid {
    border-color: rgba(255, 130, 122, 0.34);
    background: rgba(255, 130, 122, 0.05);
  }
  .release-receipt-status.invalid > span {
    color: #ff827a;
    background: rgba(255, 130, 122, 0.1);
  }
  .release-receipt-status.ready {
    border-color: rgba(99, 223, 193, 0.32);
    background: rgba(99, 223, 193, 0.05);
  }
  .release-receipt-status.ready > span {
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.1);
  }
  .release-form > footer {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid #294653;
  }
  .release-form > footer > span {
    display: grid;
    gap: 2px;
  }
  .release-form > footer strong {
    color: #d8e5e7;
    font-size: 10px;
  }
  .release-form > footer small {
    color: #758f9a;
  }
  .release-form button:disabled {
    border-color: #294653;
    color: #66808c;
    background: #0b202b;
    cursor: not-allowed;
  }
  #release-list {
    display: grid;
    gap: 10px;
  }
  .release-overview {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border: 1px solid #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .release-overview > div {
    display: grid;
    gap: 2px;
  }
  .release-overview h3 {
    margin: 0;
    color: #e7eff1;
    font-size: 16px;
  }
  .release-overview p {
    margin: 0;
    color: #77919c;
    font-size: 10px;
  }
  .release-overview > aside {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 8px;
    align-items: center;
  }
  .release-overview > aside strong {
    grid-row: 1 / 3;
    color: #63dfc1;
    font: 700 24px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-overview > aside span {
    color: #a1b5bd;
    font-size: 10px;
  }
  .release-overview > aside button {
    padding: 0;
    border: 0;
    color: #63dfc1;
    background: transparent;
    font-size: 9px;
    text-align: left;
  }
  .release {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 16px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .release.latest {
    border-color: rgba(99, 223, 193, 0.34);
    box-shadow: inset 2px 0 #63dfc1;
  }
  .release > header {
    display: flex;
    gap: 16px;
    align-items: end;
    justify-content: space-between;
  }
  .release > header > div {
    display: grid;
    gap: 4px;
  }
  .release > header h3 {
    margin: 0;
    color: #eaf2f4;
    font-size: 23px;
    letter-spacing: -0.03em;
  }
  .release > header p {
    margin: 0;
    color: #78919c;
    font-size: 10px;
  }
  .release > header aside {
    display: grid;
    justify-items: end;
    gap: 2px;
  }
  .release > header aside span {
    color: #63dfc1;
    font: 700 18px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release > header aside small {
    color: #768f9a;
    font-size: 9px;
  }
  .release-evidence {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #294b58;
    border-radius: 5px;
    overflow: hidden;
  }
  .release-evidence > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px;
    border-right: 1px solid #294653;
  }
  .release-evidence > div:last-child {
    border-right: 0;
  }
  .release-evidence span {
    color: #6f8994;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .release-evidence strong {
    overflow: hidden;
    color: #d5e3e6;
    font-size: 9px;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
  }
  .release .release-train {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border: 1px solid #294b58;
    border-radius: 5px;
    overflow: hidden;
  }
  .release-train li {
    display: flex;
    gap: 7px;
    align-items: center;
    min-width: 0;
    padding: 9px;
    border-right: 1px solid #294653;
    border-radius: 0;
    color: #718b96;
    background: #091b25;
    text-transform: none;
  }
  .release-train li:last-child {
    border-right: 0;
  }
  .release-train li > span {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid #31515d;
    border-radius: 50%;
    font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-train li > div {
    display: grid;
    min-width: 0;
    gap: 1px;
  }
  .release-train li strong {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .release-train li small {
    margin: 0;
    color: #617d88;
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .release-train li.completed {
    color: #9bdccb;
    background: rgba(99, 223, 193, 0.04);
  }
  .release-train li.completed > span {
    border-color: rgba(99, 223, 193, 0.35);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .release-train li:where(.queued, .running, .in_progress) {
    color: #dce8ea;
    background: rgba(111, 177, 255, 0.07);
    box-shadow: inset 0 -2px #6fb1ff;
  }
  .release-train li.failed {
    color: #ffb0a8;
    background: rgba(255, 130, 122, 0.07);
  }
  .release-train li.failed > span {
    border-color: rgba(255, 130, 122, 0.4);
    color: #ff827a;
  }
  .release-train li.blocked {
    color: #ffcf8e;
    background: rgba(255, 189, 102, 0.045);
  }
  .release-train li.blocked > span {
    border-color: rgba(255, 189, 102, 0.35);
    color: #ffbd66;
  }
  .release-train li.blocked small,
  .release-train li.failed small {
    color: currentColor;
  }
  .release > footer {
    padding-top: 1px;
  }
  .release-read-only.release-blocked {
    border-color: rgba(255, 130, 122, 0.3);
    background: rgba(255, 130, 122, 0.045);
  }
  .release-read-only.release-blocked strong {
    color: #ffaaa1;
  }
  :where(.release-target-required, .release-promotion-ready, .release-monitoring, .release-complete, .release-read-only) {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 11px;
    border: 1px solid #294b58;
    border-radius: 5px;
    background: #0b222d;
  }
  :where(.release-target-required, .release-monitoring, .release-complete, .release-read-only) > div,
  .release-read-only {
    gap: 2px;
  }
  :where(.release-target-required, .release-monitoring, .release-complete) > div,
  .release-read-only {
    display: grid;
  }
  :where(.release-target-required, .release-monitoring, .release-complete, .release-read-only) strong,
  .release-promotion-ready strong {
    color: #dbe7e9;
    font-size: 10px;
  }
  :where(.release-target-required, .release-monitoring, .release-complete, .release-read-only) small,
  .release-promotion-ready small {
    color: #758f9a;
    font-size: 9px;
  }
  .release-monitoring > span,
  .release-complete > span {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: rgba(99, 223, 193, 0.1);
  }
  .release-monitoring > span {
    background: #6fb1ff;
    box-shadow: 0 0 0 5px rgba(111, 177, 255, 0.08);
  }
  .release-complete > span {
    color: #63dfc1;
  }
  .release-promotion-ready > div {
    display: flex;
    gap: 9px;
    align-items: center;
  }
  .release-promotion-ready > div > span {
    color: #63dfc1;
    font: 700 22px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .release-promotion-ready p {
    display: grid;
    gap: 1px;
    margin: 0;
  }

  /* Read-only audit evidence ledger */
  #audit-view > .section-heading {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
  }
  #audit-view > .section-heading h2 {
    margin: 0;
    color: #e9f1f2;
    font-size: 22px;
  }
  #audit-view > .section-heading p {
    margin: 0;
    color: #8ba2ae;
  }
  .audit-workspace {
    display: grid;
    gap: 10px;
  }
  .audit-eyebrow {
    color: #63dfc1;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .audit-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: 18px 20px;
    border: 1px solid #294b58;
    border-radius: 7px;
    background:
      linear-gradient(115deg, rgba(99, 223, 193, 0.055), transparent 60%),
      #0a202b;
  }
  .audit-overview > div {
    display: grid;
    gap: 4px;
  }
  .audit-overview h3 {
    margin: 0;
    color: #eaf2f4;
    font-size: 24px;
    letter-spacing: -0.025em;
  }
  .audit-overview p {
    max-width: 680px;
    margin: 0;
    color: #87a0ab;
    line-height: 1.4;
  }
  .audit-overview > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    border: 1px solid #294b58;
    border-radius: 6px;
    overflow: hidden;
    background: #091b25;
  }
  .audit-overview > aside > div {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-right: 1px solid #294653;
  }
  .audit-overview > aside > div:last-child {
    border-right: 0;
  }
  .audit-overview > aside strong {
    color: #63dfc1;
    font: 700 20px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .audit-overview > aside small {
    color: #708994;
    font-size: 9px;
  }
  .audit-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(150px, 190px) minmax(140px, 170px) auto;
    gap: 9px;
    padding: 12px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .audit-controls label {
    display: grid;
    gap: 5px;
    min-width: 0;
  }
  .audit-controls label > span {
    color: #72d8c0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .audit-controls input,
  .audit-controls select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #e4eff1;
    background: #071923;
    font: inherit;
  }
  .audit-controls input::placeholder {
    color: #66818c;
  }
  .audit-controls :where(input, select):focus {
    border-color: #63dfc1;
    outline: 2px solid rgba(99, 223, 193, 0.11);
    outline-offset: 1px;
  }
  .audit-controls .audit-clear {
    align-self: end;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #b7cbd0;
    background: #0b222d;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }
  .audit-controls .audit-clear:hover {
    border-color: #63dfc1;
    color: #63dfc1;
  }
  .audit-controls .audit-clear:focus-visible,
  .audit-empty button:focus-visible {
    outline: 2px solid #63dfc1;
    outline-offset: 2px;
  }
  .audit-search > div {
    position: relative;
  }
  .audit-search > div > span {
    position: absolute;
    top: 50%;
    left: 11px;
    z-index: 1;
    color: #63dfc1;
    font-size: 16px;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .audit-search input {
    padding-left: 34px;
  }
  .audit-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px;
    color: #718b96;
    font-size: 10px;
  }
  .audit-results-head p {
    margin: 0;
  }
  .audit-results-head strong {
    color: #d7e5e7;
  }
  #audit-results {
    display: grid;
    gap: 14px;
  }
  .audit-day {
    display: grid;
    gap: 7px;
  }
  .audit-day > header {
    display: flex;
    height: auto;
    min-height: 0;
    padding: 0 3px;
    align-items: center;
    justify-content: space-between;
    color: inherit;
    background: transparent;
  }
  .audit-day > header h3 {
    margin: 0;
    color: #dce8ea;
    font-size: 12px;
  }
  .audit-day > header span {
    color: #708a95;
    font-size: 9px;
  }
  .audit-timeline {
    border-color: #294b58;
    border-radius: 7px;
    overflow: hidden;
    background: #0a202b;
  }
  .audit-event {
    border-bottom: 1px solid #294653;
  }
  .audit-event:last-child {
    border-bottom: 0;
  }
  .audit-event > summary {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto 18px;
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 10px 14px;
    list-style: none;
    cursor: pointer;
    transition: background 140ms ease;
  }
  .audit-event > summary::-webkit-details-marker {
    display: none;
  }
  .audit-event > summary:hover {
    background: rgba(99, 223, 193, 0.035);
  }
  .audit-event[open] > summary {
    background: rgba(99, 223, 193, 0.055);
  }
  .audit-event-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #708995;
    box-shadow: 0 0 0 4px rgba(112, 137, 149, 0.08);
  }
  .audit-event.security .audit-event-dot {
    background: #63dfc1;
    box-shadow: 0 0 0 4px rgba(99, 223, 193, 0.09);
  }
  .audit-event.operations .audit-event-dot {
    background: #6fb1ff;
    box-shadow: 0 0 0 4px rgba(111, 177, 255, 0.09);
  }
  .audit-event:where(.commerce, .release) .audit-event-dot {
    background: #ffbd66;
    box-shadow: 0 0 0 4px rgba(255, 189, 102, 0.08);
  }
  .audit-event > summary > div {
    display: grid;
    min-width: 0;
    gap: 2px;
  }
  .audit-event > summary > div > span {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .audit-event > summary strong {
    overflow: hidden;
    color: #dce8ea;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .audit-event > summary small {
    overflow: hidden;
    color: #718b96;
    font: 500 9px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .audit-event > summary time {
    color: #829ba6;
    font-size: 9px;
    white-space: nowrap;
  }
  .audit-event > summary i {
    color: #718b96;
    font-style: normal;
    transition: transform 140ms ease;
  }
  .audit-event[open] > summary i {
    transform: rotate(180deg);
  }
  .audit-event > section {
    display: grid;
    gap: 12px;
    padding: 14px 14px 16px 34px;
    border-top: 1px solid #294653;
    background: #081b25;
  }
  .audit-event > section > header {
    display: flex;
    height: auto;
    min-height: 0;
    padding: 0;
    align-items: end;
    justify-content: space-between;
    color: inherit;
    background: transparent;
  }
  .audit-event > section > header > div {
    display: grid;
    gap: 3px;
  }
  .audit-event > section h4 {
    margin: 0;
    color: #dce8ea;
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .audit-event > section time {
    color: #78919c;
    font-size: 9px;
  }
  .audit-event dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
  }
  .audit-event dl > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px;
    border: 1px solid #294b58;
    border-radius: 5px;
    background: #0a202b;
  }
  .audit-event dt {
    color: #6f8994;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .audit-event dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: #cddde0;
    font: 600 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .audit-event > section > p {
    margin: 0;
    color: #708a95;
    font-size: 9px;
  }
  .audit-empty {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 48px 20px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
    text-align: center;
  }
  .audit-empty > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
    font-size: 18px;
  }
  .audit-empty h3 {
    margin: 2px 0 0;
    color: #e4edef;
    font-size: 16px;
  }
  .audit-empty p {
    max-width: 540px;
    margin: 0;
    color: #7d96a1;
  }
  .settings-workspace {
    display: grid;
    gap: 12px;
  }
  .settings-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 20px;
    align-items: center;
    border: 1px solid #315563;
    border-radius: 7px;
    background:
      linear-gradient(100deg, rgba(99, 223, 193, 0.065), transparent 58%),
      #0a202b;
  }
  .settings-hero > div,
  .settings-card > header > div,
  .settings-section-head > div,
  .settings-boundaries > header > div {
    display: grid;
    gap: 3px;
  }
  .settings-eyebrow {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .settings-hero h3 {
    margin: 0;
    color: #e4edef;
    font-size: 20px;
    letter-spacing: -0.025em;
  }
  .settings-hero p {
    max-width: 670px;
    margin: 0;
    color: #849da7;
    font-size: 10px;
  }
  .settings-hero > aside {
    display: flex;
    gap: 9px;
    min-width: 220px;
    padding: 11px;
    align-items: center;
    border: 1px solid #35695f;
    border-radius: 6px;
    background: rgba(5, 21, 29, 0.55);
  }
  .settings-health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #63dfc1;
    box-shadow: 0 0 0 5px rgba(99, 223, 193, 0.09);
  }
  .settings-hero > aside > div {
    display: grid;
    gap: 2px;
  }
  .settings-hero > aside strong {
    color: #d6e5e7;
    font-size: 10px;
  }
  .settings-hero > aside small {
    color: #78929d;
    font-size: 8px;
  }
  .settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 10px;
    align-items: start;
  }
  .settings-card,
  .settings-boundaries {
    overflow: hidden;
    padding: 0;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  :where(.settings-card, .settings-boundaries) > header {
    display: flex;
    min-height: 0;
    height: auto;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #294653;
    color: inherit;
    background: #0b2530;
  }
  :where(.settings-card, .settings-boundaries) > header h3 {
    margin: 0;
    color: #dce8ea;
    font-size: 13px;
  }
  :where(.settings-card, .settings-boundaries) > header > span {
    color: #78929d;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .settings-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 15px;
  }
  .settings-fields > label {
    display: grid;
    gap: 5px;
    margin: 0;
  }
  .settings-fields > label > span:first-child,
  .settings-fields > label > span > strong {
    color: #bdcfd3;
    font-size: 9px;
    font-weight: 800;
  }
  .settings-fields label > small,
  .settings-toggle span small {
    color: #6f8994;
    font-size: 8px;
  }
  .settings-fields select {
    min-height: 39px;
    margin: 0;
    border-color: #315563;
    border-radius: 5px;
    color: #dce8ea;
    background: #081b25;
  }
  .settings-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    align-items: center;
    border: 1px solid #31515e;
    border-radius: 5px;
    background: #081b25;
  }
  .settings-toggle input {
    width: 17px;
    height: 17px;
    margin: 0;
  }
  .settings-toggle span {
    display: grid;
    gap: 2px;
  }
  .settings-card > footer {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #294653;
    background: rgba(5, 21, 29, 0.35);
  }
  .settings-card > footer > div {
    display: grid;
    gap: 2px;
  }
  .settings-card > footer strong {
    color: #c9dadd;
    font-size: 9px;
  }
  .settings-card > footer small {
    color: #6f8994;
    font-size: 8px;
  }
  .settings-person {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
    align-items: center;
    border-bottom: 1px solid #294653;
  }
  .settings-person > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #35695f;
    border-radius: 6px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .settings-person > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .settings-person strong {
    color: #dce8ea;
    font-size: 10px;
  }
  .settings-person small {
    overflow: hidden;
    color: #748e99;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .settings-person em {
    padding: 4px 6px;
    border: 1px solid #3b6673;
    border-radius: 999px;
    color: #9eb3ba;
    font-size: 7px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
  }
  .settings-security-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .settings-security-list li {
    display: flex;
    gap: 9px;
    padding: 11px 14px;
    border-bottom: 1px solid #294653;
  }
  .settings-security-list li > span {
    color: #63dfc1;
    font-weight: 900;
  }
  .settings-security-list li > div {
    display: grid;
    gap: 2px;
  }
  .settings-security-list strong {
    color: #cddde0;
    font-size: 9px;
  }
  .settings-security-list small {
    color: #718b96;
    font-size: 8px;
  }
  .settings-identity > footer {
    justify-content: flex-end;
  }
  .settings-mfa {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
    align-items: center;
    border-bottom: 1px solid #294653;
    background: rgba(255, 181, 86, 0.04);
  }
  .settings-mfa.enabled {
    background: rgba(99, 223, 193, 0.04);
  }
  .settings-mfa-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 181, 86, 0.45);
    border-radius: 50%;
    color: #ffbe69;
    background: rgba(255, 181, 86, 0.08);
    font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .settings-mfa.enabled .settings-mfa-icon {
    border-color: rgba(99, 223, 193, 0.45);
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .settings-mfa > div {
    display: grid;
    gap: 2px;
  }
  .settings-mfa small {
    color: #79939e;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .settings-mfa strong {
    color: #e1ecee;
    font-size: 10px;
  }
  .settings-mfa p {
    margin: 0;
    color: #76909a;
    font-size: 8px;
  }
  .settings-mfa-actions {
    display: flex;
    gap: 7px;
    flex-direction: column;
    align-items: stretch;
  }
  .settings-mfa-actions > * {
    justify-content: center;
    width: 100%;
  }
  .settings-mfa-actions a {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 10px;
    align-items: center;
    border: 1px solid #3b6673;
    border-radius: 5px;
    color: #b9ced3;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
  }
  .settings-mfa-actions a:hover {
    border-color: #63dfc1;
    color: #eaf5f3;
  }
  .security-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: auto;
    border: 1px solid #35616e;
    border-radius: 8px;
    color: #e7f0f2;
    background: #091d27;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  }
  .security-dialog::backdrop {
    background: rgba(2, 10, 15, 0.78);
    backdrop-filter: blur(4px);
  }
  .security-dialog-card {
    margin: 0;
    padding: 0;
    color: inherit;
  }
  .security-dialog-card > header {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    align-items: start;
    justify-content: space-between;
    border-bottom: 1px solid #2a4c58;
    background: rgba(99, 223, 193, 0.035);
  }
  .security-dialog-card > header > div {
    display: grid;
    gap: 4px;
  }
  .security-dialog-card > header span,
  .mfa-secret-block > span,
  .mfa-recovery-codes > span {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .security-dialog-card > header h2,
  .mfa-recovery-codes h3 {
    margin: 0;
    color: #edf5f6;
  }
  .security-dialog-card > header h2 {
    font-size: 19px;
  }
  .security-dialog-card > header > button {
    min-width: 34px;
    padding: 6px 9px;
    font-size: 18px;
    line-height: 1;
  }
  .security-dialog-body {
    display: grid;
    gap: 16px;
    padding: 20px;
  }
  .security-dialog-body > p,
  .mfa-recovery-codes p,
  .mfa-risk-notice p {
    margin: 0;
    color: #91a7b0;
    line-height: 1.5;
  }
  .mfa-qr-block,
  .mfa-secret-block,
  .mfa-recovery-codes,
  .mfa-risk-notice {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #31535f;
    border-radius: 6px;
    background: #071821;
  }
  .mfa-qr-block {
    justify-items: center;
    text-align: center;
  }
  .mfa-qr-block > div {
    padding: 9px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(99, 223, 193, 0.32);
  }
  .mfa-qr-block img {
    display: block;
    width: min(224px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  .mfa-qr-block > span {
    color: #dce8ea;
    font-size: 11px;
    font-weight: 850;
  }
  .mfa-qr-block > small {
    max-width: 380px;
    color: #78929c;
    font-size: 9px;
    line-height: 1.45;
  }
  .mfa-secret-block code {
    padding: 11px;
    overflow-wrap: anywhere;
    border: 1px dashed #47737e;
    border-radius: 4px;
    color: #dce8ea;
    background: #0c2632;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-align: center;
  }
  .mfa-secret-block small,
  .security-dialog-form small {
    color: #708b95;
    font-size: 9px;
  }
  .security-dialog-form {
    display: grid;
    gap: 13px;
  }
  .security-dialog-form label {
    display: grid;
    gap: 6px;
    color: #cbdadd;
    font-size: 10px;
    font-weight: 800;
  }
  .security-dialog-form input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #3a6270;
    border-radius: 5px;
    color: #eff6f7;
    background: #071821;
  }
  .security-dialog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .security-dialog-confirm {
    grid-column: 1 / -1;
  }
  .mfa-recovery-codes pre {
    margin: 0;
    padding: 12px;
    overflow: auto;
    border-radius: 5px;
    color: #cfeee7;
    background: #041219;
    font-size: 11px;
    line-height: 1.55;
    columns: 2;
  }
  .security-dialog-card > footer {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    justify-content: flex-end;
    border-top: 1px solid #2a4c58;
  }
  .security-dialog-danger {
    border-color: #7c494a;
  }
  .security-dialog-danger .security-dialog-card > header {
    background: rgba(255, 130, 122, 0.045);
  }
  .security-dialog-danger .security-dialog-card > header span,
  .mfa-risk-notice strong {
    color: #ff918a;
  }
  .mfa-risk-notice {
    border-color: rgba(255, 130, 122, 0.38);
    background: rgba(255, 130, 122, 0.045);
  }
  .security-dialog button.danger {
    border-color: #9c5652;
    color: #fff2f0;
    background: #7e3f3d;
  }
  .settings-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 10px 2px 0;
  }
  .settings-section-head h2 {
    margin: 0;
    color: #dce8ea;
    font-size: 16px;
  }
  .settings-section-head > span {
    color: #718b96;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .settings-operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .settings-operations-grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    padding: 14px;
    align-items: center;
    border: 1px solid #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .settings-config-icon {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.055);
    font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .settings-operations-grid article > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .settings-operations-grid small {
    color: #718b96;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .settings-operations-grid strong {
    overflow: hidden;
    color: #d8e5e7;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .settings-operations-grid p {
    margin: 0;
    color: #718b96;
    font-size: 8px;
  }
  .settings-provider > p {
    margin: 0;
    padding: 13px 15px 0;
    color: #a8bec7;
    font-size: 11px;
  }
  .settings-provider dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 15px;
  }
  .settings-provider dl > div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #08202a;
  }
  .settings-provider dt {
    color: #78929d;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .settings-provider dd {
    overflow-wrap: anywhere;
    margin: 5px 0 0;
    color: #dce8ea;
    font-size: 11px;
  }
  .settings-provider > footer {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #294653;
  }
  .settings-provider > footer small { color: #90aab5; }
  .demo-setup-overview, .demo-setup-content { padding: 16px; }
  .demo-setup-overview { background: #102e39; }
  .demo-setup-overview p, .demo-setup-content p { margin: 0 0 12px; line-height: 1.5; }
  .demo-setup-step { border-top: 1px solid #294653; }
  .demo-setup-step > summary { padding: 16px; cursor: pointer; }
  .demo-setup-step > summary > span { margin-inline-start: 12px; color: #a9c8d2; }
  .demo-setup-content { display: grid; gap: 16px; }
  .demo-provider { border: 1px solid #315563; border-radius: 8px; padding: 16px; }
  .demo-provider h4 { margin: 0 0 8px; }
  .demo-provider small { display: block; margin-bottom: 8px; color: #a9c8d2; }
  .demo-provider details { margin-top: 12px; }
  .demo-provider summary { cursor: pointer; }
  .demo-provider [data-demo-credential-feedback]:empty { display: none; }
  .demo-credential-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 12px;
    align-items: end;
    padding: 12px 0 0;
  }
  .demo-credential-form > label { display: grid; gap: 5px; min-width: 0; }
  .demo-credential-form label > span { color: #dce8ea; font-size: 13px; }
  .demo-credential-form input {
    width: 100%; min-height: 36px; margin: 0;
    color: #dce8ea; background: #081b25;
    border: 1px solid #315563; border-radius: 5px;
  }
  .demo-credential-form button { min-height: 36px; justify-self: start; }
  .demo-credential-form [data-demo-credential-feedback] { grid-column: 1 / -1; }
  @media (max-width: 700px) {
    .settings-provider dl { grid-template-columns: 1fr; }
    .settings-provider > footer { align-items: stretch; flex-direction: column; }
  }
  .settings-boundaries > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .settings-boundaries article {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-right: 1px solid #294653;
  }
  .settings-boundaries article:last-child {
    border-right: 0;
  }
  .settings-boundaries article > span {
    color: #63dfc1;
    font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .settings-boundaries article strong {
    color: #d0dfe1;
    font-size: 9px;
  }
  .settings-boundaries article small {
    color: #718b96;
    font-size: 8px;
  }
  .workspace-compact #console-shell > nav [role='tab'] {
    min-height: 42px;
  }
  .workspace-compact :where(.settings-fields, .settings-person) {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .reduce-motion *,
  .reduce-motion *::before,
  .reduce-motion *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .payment-launch-form,
  .payment-migration-create {
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border-color: #315563;
    border-radius: 7px;
    background: #0a202b;
  }
  :where(.payment-launch-form, .payment-migration-create) > header {
    display: flex;
    min-height: 0;
    height: auto;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #294653;
    color: inherit;
    background: #0b2530;
  }
  :where(.payment-launch-form, .payment-migration-create) > header > div {
    display: grid;
    gap: 3px;
  }
  :where(.payment-launch-form, .payment-migration-create) > header h3 {
    margin: 0;
    color: #e0eaec;
    font-size: 15px;
  }
  :where(.payment-launch-form, .payment-migration-create) > header > span {
    padding: 5px 7px;
    border: 1px solid #3a6572;
    border-radius: 999px;
    color: #91a7af;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .payment-launch-intro,
  .payment-migration-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px;
    align-items: center;
    background:
      linear-gradient(100deg, rgba(99, 223, 193, 0.055), transparent 58%),
      #081b25;
  }
  :where(.payment-launch-intro, .payment-migration-hero) > div {
    display: grid;
    gap: 4px;
  }
  :where(.payment-launch-intro, .payment-migration-hero) strong {
    color: #dce8ea;
    font-size: 12px;
  }
  :where(.payment-launch-intro, .payment-migration-hero) p {
    max-width: 680px;
    margin: 0;
    color: #819aa4;
    font-size: 9px;
  }
  .payment-launch-intro aside {
    display: grid;
    min-width: 115px;
    padding: 9px 12px;
    border: 1px solid #35695f;
    border-radius: 6px;
    text-align: center;
  }
  .payment-launch-intro aside span {
    color: #63dfc1;
    font: 800 18px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .payment-launch-intro aside small {
    color: #76909a;
    font-size: 7px;
    text-transform: uppercase;
  }
  .payment-launch-flow,
  .payment-migration-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid #294653;
    border-bottom: 1px solid #294653;
    background: #0a202b;
    list-style: none;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li {
    display: flex;
    gap: 8px;
    padding: 11px 13px;
    align-items: center;
    border-right: 1px solid #294653;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li:last-child {
    border-right: 0;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li > span {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #367267;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li > div {
    display: grid;
    gap: 1px;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li strong {
    color: #cbdadd;
    font-size: 9px;
  }
  :where(.payment-launch-flow, .payment-migration-flow) li small {
    color: #6f8994;
    font-size: 7px;
  }
  .payment-program-name {
    display: grid;
    gap: 4px;
    margin: 14px 16px 2px;
    color: #b9cdd1;
    font-size: 9px;
    font-weight: 800;
  }
  .payment-program-name small {
    color: #6f8994;
    font-size: 8px;
    font-weight: 500;
  }
  .payment-launch-form > fieldset {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
  }
  .payment-launch-form > fieldset > legend {
    padding: 0;
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .payment-rail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .payment-rail-grid > section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 12px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #081b25;
  }
  .payment-rail-grid > section > header {
    display: flex;
    grid-column: 1 / -1;
    gap: 9px;
    min-height: 0;
    height: auto;
    padding: 0 0 9px;
    align-items: center;
    border-bottom: 1px solid #294653;
    color: inherit;
    background: transparent;
  }
  .payment-rail-grid > section > header > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #35695f;
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .payment-rail-grid > section > header > div {
    display: grid;
    gap: 1px;
  }
  .payment-rail-grid > section > header strong {
    color: #d2e1e3;
    font-size: 10px;
  }
  .payment-rail-grid > section > header small {
    color: #718b96;
    font-size: 8px;
  }
  :where(.payment-rail-grid, .payment-cohort-control) label {
    display: grid;
    gap: 4px;
    margin: 0;
    color: #aec3c7;
    font-size: 8px;
    font-weight: 700;
  }
  :where(.payment-launch-form, .payment-migration-create)
    :where(input, select) {
    min-height: 38px;
    margin: 0;
    border-color: #315563;
    border-radius: 5px;
    color: #dce8ea;
    background: #0a202b;
  }
  .payment-approval-confirm {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 9px;
    margin: 0 16px 14px;
    padding: 11px;
    align-items: center;
    border: 1px solid #3b5c59;
    border-radius: 6px;
    background: rgba(99, 223, 193, 0.035);
  }
  .payment-approval-confirm input {
    width: 16px;
    height: 16px;
    min-height: 0;
  }
  .payment-approval-confirm > span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
  }
  .payment-approval-confirm > div {
    display: grid;
    gap: 2px;
  }
  .payment-approval-confirm strong {
    color: #d1e1e3;
    font-size: 9px;
  }
  .payment-approval-confirm small {
    color: #718b96;
    font-size: 8px;
  }
  :where(.payment-launch-form, .payment-migration-create) > footer {
    display: flex;
    gap: 14px;
    padding: 13px 16px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #294653;
    background: rgba(5, 21, 29, 0.38);
  }
  :where(.payment-launch-form, .payment-migration-create) > footer > div {
    display: grid;
    gap: 2px;
  }
  :where(.payment-launch-form, .payment-migration-create) > footer strong {
    color: #c9dadd;
    font-size: 9px;
  }
  :where(.payment-launch-form, .payment-migration-create) > footer small {
    color: #6f8994;
    font-size: 8px;
  }
  .payment-migration-create {
    margin-top: 14px;
    border-color: #395b66;
  }
  .payment-migration-hero > span {
    padding: 7px 9px;
    border: 1px solid #35695f;
    border-radius: 5px;
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .payment-cohort-control {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
    gap: 12px;
    padding: 15px 16px;
  }
  .payment-cohort-control label small {
    color: #6f8994;
    font-size: 8px;
    font-weight: 500;
  }
  .payment-cohort-control > div {
    display: flex;
    gap: 11px;
    padding: 11px;
    align-items: center;
    border: 1px solid #315563;
    border-radius: 6px;
    background: #081b25;
  }
  .payment-cohort-control > div > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #367267;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 800 16px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .payment-cohort-control > div > div {
    display: grid;
    gap: 2px;
  }
  .payment-cohort-control > div strong {
    color: #d2e2e4;
    font-size: 10px;
  }
  .payment-cohort-control > div small {
    color: #718b96;
    font-size: 8px;
  }
  .payment-migration-guardrails {
    display: flex;
    gap: 10px;
    margin: 0 16px 15px;
    padding: 11px;
    border: 1px solid #3b5c59;
    border-radius: 6px;
    background: rgba(99, 223, 193, 0.035);
  }
  .payment-migration-guardrails > span {
    color: #63dfc1;
    font-weight: 900;
  }
  .payment-migration-guardrails > div {
    display: grid;
    gap: 2px;
  }
  .payment-migration-guardrails strong {
    color: #d1e1e3;
    font-size: 9px;
  }
  .payment-migration-guardrails small {
    color: #718b96;
    font-size: 8px;
  }
  .cash-workspace,
  .reseller-workspace {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }
  .commerce-subsection-heading {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid #294653;
  }
  .commerce-subsection-heading > div {
    display: grid;
    gap: 5px;
  }
  .commerce-subsection-heading h2,
  .commerce-subsection-heading p {
    margin: 0;
  }
  .commerce-policy-badge {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid #35695f;
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .cash-overview,
  .reseller-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .cash-overview article {
    display: flex;
    gap: 10px;
    padding: 14px;
    align-items: center;
    border-right: 1px solid #294653;
  }
  .cash-overview article:last-child {
    border-right: 0;
  }
  .cash-overview article > span {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #89a1ab;
    background: #0b2530;
    font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .cash-overview article.protected > span {
    border-color: #357267;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
  }
  .cash-overview article > div {
    display: grid;
    gap: 2px;
  }
  .cash-overview small,
  .reseller-overview small {
    color: #718b96;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .cash-overview strong {
    color: #dce8ea;
    font-size: 11px;
  }
  .cash-policy-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #2c534f;
    border-radius: 7px;
    background: rgba(99, 223, 193, 0.035);
  }
  .cash-policy-strip article {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-right: 1px solid #294e4b;
  }
  .cash-policy-strip article:last-child {
    border-right: 0;
  }
  .cash-policy-strip article > span,
  .reseller-guardrail li b {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #071b24;
    background: #63dfc1;
    font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .cash-policy-strip article > div {
    display: grid;
    gap: 2px;
  }
  .cash-policy-strip strong {
    color: #cfe0e2;
    font-size: 9px;
  }
  .cash-policy-strip small {
    color: #738d98;
    font-size: 8px;
  }
  .cash-queue-layout,
  .reseller-operations-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cash-queue,
  .reseller-onboarding,
  .reseller-accounts,
  .reseller-operation-card,
  .reseller-statements {
    overflow: hidden;
    padding: 0;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  :where(.cash-queue, .reseller-onboarding, .reseller-accounts, .reseller-operation-card, .reseller-statements)
    > header {
    display: flex;
    min-height: 0;
    height: auto;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #294653;
    color: inherit;
    background: #0b2530;
  }
  :where(.cash-queue, .reseller-onboarding, .reseller-accounts, .reseller-operation-card, .reseller-statements)
    > header > div {
    display: grid;
    gap: 3px;
  }
  :where(.cash-queue, .reseller-onboarding, .reseller-accounts, .reseller-operation-card, .reseller-statements)
    > header h3 {
    margin: 0;
    color: #dce8ea;
    font-size: 13px;
  }
  :where(.cash-queue, .reseller-onboarding, .reseller-accounts, .reseller-operation-card, .reseller-statements)
    > header > span {
    color: #78929d;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .cash-deposit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px 15px;
    align-items: center;
    border-bottom: 1px solid #294653;
  }
  .cash-deposit-icon,
  .reseller-avatar {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid #35695f;
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .cash-deposit > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .cash-deposit small {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .cash-deposit strong {
    color: #dbe7e9;
    font-size: 11px;
  }
  .cash-deposit > div > span {
    overflow: hidden;
    color: #748e99;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cash-safety-note {
    display: flex;
    gap: 9px;
    margin: 12px;
    padding: 10px;
    border: 1px solid #665635;
    border-radius: 5px;
    background: rgba(255, 189, 102, 0.055);
  }
  .cash-safety-note > span {
    color: #ffbd66;
    font-weight: 900;
  }
  .cash-safety-note > div {
    display: grid;
    gap: 2px;
  }
  .cash-safety-note strong {
    color: #e4c98f;
    font-size: 9px;
  }
  .cash-safety-note small {
    color: #8f8d7b;
    font-size: 8px;
  }
  .cash-queue > footer {
    display: flex;
    gap: 10px;
    padding: 12px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #294653;
  }
  .cash-queue > footer small {
    color: #6f8994;
    font-size: 8px;
  }
  .commerce-empty-state {
    display: flex;
    gap: 11px;
    min-height: 88px;
    padding: 18px;
    align-items: center;
    justify-content: center;
    text-align: left;
  }
  .commerce-empty-state.compact {
    min-height: 62px;
  }
  .commerce-empty-state > span {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #35695f;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
  }
  .commerce-empty-state > div {
    display: grid;
    gap: 2px;
  }
  .commerce-empty-state strong {
    color: #cbdcde;
    font-size: 10px;
  }
  .commerce-empty-state small {
    color: #738d98;
    font-size: 9px;
  }
  .reseller-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .reseller-overview article {
    display: grid;
    gap: 2px;
    padding: 14px;
    border-right: 1px solid #294653;
  }
  .reseller-overview article:last-child {
    border-right: 0;
  }
  .reseller-overview article.attention {
    background: rgba(255, 189, 102, 0.05);
  }
  .reseller-overview strong {
    color: #dce8ea;
    font: 800 19px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .reseller-overview article > span {
    color: #718b96;
    font-size: 8px;
  }
  .reseller-guardrail {
    display: grid;
    grid-template-columns: auto minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 13px;
    padding: 14px;
    align-items: center;
    border: 1px solid #2c534f;
    border-radius: 7px;
    background: rgba(99, 223, 193, 0.035);
  }
  .reseller-guardrail > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #357267;
    border-radius: 50%;
    color: #63dfc1;
  }
  .reseller-guardrail > div {
    display: grid;
    gap: 2px;
  }
  .reseller-guardrail strong {
    color: #d3e3e5;
    font-size: 10px;
  }
  .reseller-guardrail small {
    color: #78929d;
    font-size: 8px;
  }
  .reseller-guardrail ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .reseller-guardrail li {
    display: flex;
    gap: 6px;
    align-items: center;
    color: #8aa1aa;
    font-size: 8px;
  }
  .reseller-guardrail li b {
    width: 17px;
    height: 17px;
  }
  .reseller-management-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    gap: 10px;
    align-items: start;
  }
  .reseller-onboarding > p,
  .reseller-operation-card > p {
    margin: 0;
    padding: 12px 15px;
    color: #819aa4;
    font-size: 9px;
  }
  .reseller-onboarding fieldset {
    display: grid;
    gap: 10px;
    margin: 0 15px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #294653;
  }
  .reseller-onboarding legend {
    display: flex;
    gap: 7px;
    padding: 0;
    align-items: center;
    color: #bed0d4;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .reseller-onboarding legend span {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid #367267;
    border-radius: 4px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font-size: 8px;
  }
  .reseller-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .reseller-field-grid label,
  .reseller-tax-form label {
    display: grid;
    gap: 4px;
    margin: 0;
    color: #b6c9cd;
    font-size: 9px;
    font-weight: 700;
  }
  .reseller-field-grid label > small {
    color: #69838e;
    font-size: 8px;
    font-weight: 500;
  }
  :where(.reseller-field-grid, .reseller-tax-form, .reseller-statement)
    :where(input, select) {
    min-height: 38px;
    margin: 0;
    border-color: #315563;
    border-radius: 5px;
    color: #dce8ea;
    background: #081b25;
  }
  .reseller-onboarding > footer {
    display: flex;
    gap: 12px;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 21, 29, 0.35);
  }
  .reseller-onboarding > footer > div {
    display: grid;
    gap: 2px;
  }
  .reseller-onboarding > footer strong {
    color: #bcd0d4;
    font-size: 9px;
  }
  .reseller-onboarding > footer small {
    color: #708a95;
    font-size: 8px;
  }
  .reseller-account {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 9px;
    padding: 12px 14px;
    align-items: center;
    border-bottom: 1px solid #294653;
  }
  .reseller-account > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .reseller-account strong {
    color: #dbe7e9;
    font-size: 10px;
  }
  .reseller-account small,
  .reseller-account > div > span {
    overflow: hidden;
    color: #758f99;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .reseller-status {
    padding: 4px 6px;
    border: 1px solid #3b6673;
    border-radius: 999px;
    color: #9bb0b7;
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .reseller-status.approved {
    border-color: #35695f;
    color: #63dfc1;
  }
  .reseller-status.pending_approval {
    border-color: #6a5737;
    color: #ffbd66;
  }
  .reseller-tax-form {
    display: grid;
    gap: 9px;
    margin: 12px;
    padding: 12px;
    border: 1px solid #294b58;
    border-radius: 6px;
    background: #081b25;
  }
  .reseller-tax-form > div {
    display: grid;
    gap: 2px;
  }
  .reseller-tax-form > div strong {
    color: #d3e2e4;
    font-size: 10px;
  }
  .reseller-operation-card > .reseller-field-grid {
    padding: 2px 15px 13px;
  }
  .reseller-operation-card > button {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }
  .reseller-account.commission {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
  .reseller-statements {
    margin-bottom: 6px;
  }
  .reseller-statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr) auto;
    gap: 10px;
    padding: 12px 15px;
    align-items: center;
    border-bottom: 1px solid #294653;
  }
  .reseller-statement > div {
    display: grid;
    gap: 2px;
  }
  .reseller-statement strong {
    color: #dbe7e9;
    font-size: 10px;
  }
  .reseller-statement small {
    color: #758f99;
    font-size: 8px;
  }
  .alerts-workspace {
    display: grid;
    gap: 12px;
  }
  .alerts-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #2b4b58;
    border-radius: 7px;
    background:
      linear-gradient(100deg, rgba(99, 223, 193, 0.07), transparent 58%),
      #0a202b;
  }
  .alerts-overview.attention {
    border-color: rgba(255, 130, 122, 0.48);
    background:
      linear-gradient(100deg, rgba(255, 130, 122, 0.08), transparent 58%),
      #0a202b;
  }
  .alerts-overview > div {
    display: grid;
    gap: 4px;
  }
  .alerts-eyebrow {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .alerts-overview.attention .alerts-eyebrow {
    color: #ff9c94;
  }
  .alerts-overview h3,
  .alerts-healthy h3 {
    margin: 0;
    color: #e7f0f1;
    font-size: 20px;
    letter-spacing: -0.025em;
  }
  .alerts-overview p,
  .alerts-healthy p {
    max-width: 650px;
    margin: 0;
    color: #8ca3ad;
    font-size: 11px;
  }
  .alerts-overview > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    border: 1px solid #2b4c58;
    border-radius: 6px;
    background: rgba(5, 21, 29, 0.58);
  }
  .alerts-overview > aside > div {
    display: grid;
    gap: 4px;
    min-width: 82px;
    padding: 10px 13px;
    border-right: 1px solid #2b4c58;
  }
  .alerts-overview > aside > div:last-child {
    border-right: 0;
  }
  .alerts-overview > aside strong {
    color: #e6eff0;
    font: 800 20px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .alerts-overview > aside small {
    color: #78919c;
    font-size: 8px;
    text-transform: uppercase;
  }
  .alerts-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
  .alert-category-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-column: span 2;
    gap: 8px;
    position: relative;
    min-width: 0;
    padding: 13px;
    border: 1px solid #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .alert-category-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
  .alert-category-card.attention {
    background: rgba(255, 189, 102, 0.055);
  }
  .alert-category-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.06);
    font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.04em;
  }
  .alert-category-card.attention .alert-category-icon {
    border-color: rgba(255, 189, 102, 0.45);
    color: #ffbd66;
    background: rgba(255, 189, 102, 0.07);
  }
  .alert-category-card > div {
    display: grid;
    min-width: 0;
    align-content: start;
  }
  .alert-category-card > div small {
    overflow: hidden;
    color: #718b96;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .alert-category-card > div strong {
    color: #dbe7e9;
    font-size: 10px;
  }
  .alert-category-card > aside {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 7px;
    border-top: 1px solid #203e49;
  }
  .alert-category-card > aside b {
    color: #dfeaec;
    font: 800 15px ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  .alert-category-card > aside span {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .alert-category-card.attention > aside span {
    color: #ffbd66;
  }
  .alerts-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 210px;
    gap: 10px;
    padding: 12px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
  }
  .alerts-controls label {
    display: grid;
    gap: 5px;
    margin: 0;
  }
  .alerts-controls label > span {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .alerts-controls :where(input, select) {
    min-height: 40px;
    margin: 0;
    border-color: #315563;
    border-radius: 5px;
    color: #dce8ea;
    background: #081b25;
  }
  .alerts-controls .alerts-clear {
    align-self: end;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #315563;
    border-radius: 5px;
    color: #b7cbd0;
    background: #0b222d;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }
  .alerts-controls .alerts-clear:hover {
    border-color: #63dfc1;
    color: #63dfc1;
  }
  .alerts-controls :where(input, select, button):focus-visible {
    outline: 2px solid #63dfc1;
    outline-offset: 2px;
  }
  .alert-no-environment {
    color: #8097a2;
    font-size: 10px;
  }
  .alerts-search > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    border: 1px solid #315563;
    border-radius: 5px;
    background: #081b25;
  }
  .alerts-search > div > span {
    padding-left: 12px;
    color: #66818d;
    font-size: 15px;
  }
  .alerts-search input {
    border: 0;
    background: transparent;
  }
  .alerts-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    color: #78919c;
    font-size: 9px;
  }
  .alerts-results-head p {
    margin: 0;
  }
  .alerts-results-head strong {
    color: #dce8ea;
  }
  #alerts-results {
    display: grid;
    gap: 8px;
  }
  .operational-alert {
    overflow: hidden;
    border: 1px solid #315563;
    border-left: 3px solid #ffbd66;
    border-radius: 7px;
    background: #0a202b;
  }
  .operational-alert.critical {
    border-left-color: #ff827a;
  }
  .operational-alert > header {
    display: flex;
    min-height: 0;
    height: auto;
    padding: 9px 13px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #284653;
    color: inherit;
    background: #0b2530;
  }
  .operational-alert > header > div {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .operational-alert > header time {
    color: #77909b;
    font-size: 9px;
  }
  .alert-severity {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #ffbd66;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .alert-severity.critical {
    color: #ff9c94;
  }
  .alert-severity i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 189, 102, 0.08);
  }
  .alert-category-name {
    padding-left: 8px;
    border-left: 1px solid #31515e;
    color: #8199a4;
    font-size: 9px;
  }
  .operational-alert-body {
    display: flex;
    gap: 12px;
    padding: 15px;
  }
  .operational-alert-body > div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .operational-alert-body small {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .operational-alert-body h3 {
    margin: 0;
    color: #e3edef;
    font-size: 15px;
  }
  .operational-alert-body p {
    margin: 0;
    color: #829ba6;
    font-size: 10px;
  }
  .operational-alert > footer {
    display: flex;
    gap: 14px;
    padding: 11px 14px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #284653;
    background: rgba(5, 21, 29, 0.35);
  }
  .operational-alert > footer > div {
    display: grid;
    gap: 2px;
  }
  .operational-alert > footer span {
    color: #a8bdc4;
    font-size: 9px;
    font-weight: 800;
  }
  .operational-alert > footer small {
    color: #708995;
    font-size: 9px;
  }
  .operational-alert > footer button {
    flex: 0 0 auto;
  }
  .alerts-healthy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 18px;
    padding: 24px;
    align-items: start;
    border-color: #2e594f;
    border-radius: 7px;
    background:
      radial-gradient(circle at 12% 25%, rgba(99, 223, 193, 0.06), transparent 35%),
      #0a202b;
  }
  .alerts-healthy-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #367568;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.08);
    font-size: 20px;
  }
  .alerts-healthy > div {
    display: grid;
    gap: 5px;
  }
  .alerts-healthy > aside {
    padding-left: 18px;
    border-left: 1px solid #2a4b57;
  }
  .alerts-healthy > aside strong {
    color: #cbdcde;
    font-size: 10px;
  }
  .alerts-healthy ul {
    display: grid;
    gap: 5px;
    margin: 8px 0 0;
    padding: 0;
    color: #78939d;
    font-size: 9px;
    list-style: none;
  }
  .alerts-healthy li::before {
    margin-right: 7px;
    color: #63dfc1;
    content: '✓';
  }
  .alerts-healthy > footer {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #2a4b57;
  }
  .alerts-healthy > footer span {
    color: #63dfc1;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .alerts-healthy > footer small {
    color: #75909a;
    font-size: 9px;
  }
  .alerts-empty {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 42px 20px;
    border-color: #294b58;
    border-radius: 7px;
    background: #0a202b;
    text-align: center;
  }
  .alerts-empty > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #315563;
    border-radius: 50%;
    color: #63dfc1;
    background: rgba(99, 223, 193, 0.07);
  }
  .alerts-empty h3 {
    margin: 2px 0 0;
    color: #e4edef;
    font-size: 15px;
  }
  .alerts-empty p {
    max-width: 540px;
    margin: 0;
    color: #7d96a1;
  }
  #toast {
    border-color: #3c6674;
    border-radius: 6px;
    background: #102a36;
  }

  :where(header, #login, #console)
    :where(button, a, input, select, textarea, summary):focus-visible {
    outline-color: #63dfc1;
  }

  /* The sidebar leaves a narrower content area before the mobile breakpoint. */
  @media (min-width: 901px) and (max-width: 1250px) {
    .installation-layout,
    .installation-quick-form:has(.organization-picker),
    .staff-layout,
    .staff-request-fields,
    .demo-stage-panel,
    .demo-integration-grid,
    .demo-pilot .rollout-form,
    .commerce-settlement-layout,
    .commerce-settlement-form,
    .reseller-management-layout,
    .reseller-operations-layout,
    .reconciliation-override,
    .payment-rail-grid,
    .launch-empty-layout,
    .launch-layout,
    .release-layout,
    .settings-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .demo-stage-summary {
      border-right: 0;
      border-bottom: 1px solid #284754;
    }
    .commerce-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .commerce-metrics article > div {
      min-width: 0;
      grid-template-columns: minmax(0, 1fr);
      gap: 3px;
    }
    .commerce-metrics :where(small, strong) {
      overflow-wrap: anywhere;
    }
    .commerce-funnel-steps {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .commerce-funnel-steps article:nth-child(3n) {
      border-right: 0;
    }
    .commerce-funnel-steps article:nth-child(-n + 3) {
      border-bottom: 1px solid #203d49;
    }
  }

  @media (max-width: 900px) {
    .app-header {
      min-height: 64px;
    }
    :scope:has(#console-shell:not([hidden])) > .app-header {
      width: 100%;
      margin-left: 0;
      padding-left: 16px;
    }
    :scope:has(#console-shell:not([hidden])) > .app-header::before {
      display: none;
    }
    :scope:has(#console-shell:not([hidden])) > .app-header .brand {
      position: static;
      left: auto;
      width: auto;
      height: auto;
      padding: 4px;
    }
    :scope:has(#console-shell.sidebar-collapsed:not([hidden])) > .app-header .brand-copy {
      display: grid;
    }
    #console-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
      padding-left: 0;
    }
    :scope:has(#console-shell:not([hidden])) main {
      width: calc(100% - 24px);
      padding: 0;
    }
    #console-shell > nav {
      position: sticky;
      inset: auto;
      top: 70px;
      grid-column: 1;
      grid-row: 1;
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      width: 100%;
      height: auto;
      min-height: 0;
      padding: 6px;
      border-radius: 7px;
      background: #0a1d28;
    }
    #console {
      grid-column: 1;
      grid-row: 2;
    }
    .nav-head {
      display: none;
    }
    .nav-group-label,
    .nav-environment {
      display: none;
    }
    .nav-footer {
      display: contents;
    }
    #console-shell.sidebar-collapsed nav [role='tab'] > span {
      position: static;
      width: auto;
      height: auto;
      overflow: visible;
      clip: auto;
    }
    .nav-icon {
      width: 28px;
      height: 28px;
      padding: 5px;
    }
    .fleet-setup-checks {
      grid-template-columns: 1fr;
    }
    .fleet-setup-checks p {
      border-right: 0;
      border-bottom: 1px solid #294a57;
    }
    .fleet-setup-checks p:last-child {
      border-bottom: 0;
    }
    .installation-journey {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .installation-quick-form:has(.organization-picker) {
      grid-template-columns: minmax(0, 1fr);
    }
    .installation-quick-form:has(.organization-picker) > .quick-profile {
      grid-column: 1;
      grid-row: auto;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .installation-layout:has(.installation-activity .installation-empty)
      .installation-activity {
      grid-template-columns: 1fr;
    }
    .staff-layout,
    .staff-request-fields {
      grid-template-columns: minmax(0, 1fr);
    }
    .staff-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .staff-access-flow {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
    }
    .staff-access-flow li:not(:last-child)::after {
      display: none;
    }
    .staff-request-actions {
      align-items: stretch;
      flex-direction: column;
    }
    .staff-request-actions button {
      width: 100%;
    }
    .staff-request-preview {
      grid-template-columns: minmax(0, 1fr);
    }
    .staff-request-preview > div {
      padding: 0;
      border-left: 0;
    }
    .staff-account-head {
      display: none;
    }
    .demo-stage-panel,
    .demo-integration-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .demo-stage-summary {
      border-right: 0;
      border-bottom: 1px solid #284754;
    }
    .demo-monitor-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .demo-quality-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .demo-pilot .rollout-form {
      grid-template-columns: minmax(0, 1fr);
    }
    .commerce-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .commerce-funnel-steps,
    .commerce-settlement-layout,
    .commerce-settlement-form {
      grid-template-columns: minmax(0, 1fr);
    }
    .commerce-funnel-steps article {
      border-right: 0;
      border-bottom: 1px solid #203d49;
    }
    .commerce-settlement-form > label,
    .commerce-settlement-form > label:nth-of-type(even),
    .commerce-settlement-form > label:nth-of-type(odd) {
      margin-right: 16px;
      margin-left: 16px;
    }
    .reseller-management-layout,
    .reseller-operations-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .reseller-guardrail {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .reseller-guardrail ol {
      grid-column: 1 / -1;
    }
    .reconciliation-summary {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reconciliation-date {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .reconciliation-version {
      grid-column: 1 / -1;
    }
    .reconciliation-override {
      grid-template-columns: minmax(0, 1fr);
    }
    .reconciliation-override > label,
    .reconciliation-override > label:nth-of-type(even),
    .reconciliation-override > label:nth-of-type(odd) {
      margin-right: 16px;
      margin-left: 16px;
    }
    .payment-rail-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .launch-empty-layout,
    .launch-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .launch-stages,
    .launch-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .launch-stages li:nth-child(2n) {
      border-right: 0;
    }
    .launch-stages li {
      border-bottom: 1px solid #24424e;
    }
    .launch-stages li:nth-last-child(-n + 2) {
      border-bottom: 0;
    }
    .release-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .release-form {
      order: -1;
    }
    .audit-controls {
      grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 0.45fr));
    }
    .settings-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .settings-boundaries > div {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .settings-boundaries article:nth-child(2n) {
      border-right: 0;
    }
    .settings-boundaries article:nth-child(-n + 2) {
      border-bottom: 1px solid #294653;
    }
    .alerts-category-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .alert-category-card,
    .alert-category-card:nth-last-child(-n + 2) {
      grid-column: auto;
    }
    .alert-category-card:last-child {
      grid-column: 1 / -1;
    }
    .alerts-controls {
      grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 0.45fr));
    }
  }

  @media (max-width: 560px) {
    .login {
      margin: 28px auto;
      padding: 24px 20px;
      border-radius: 9px;
    }
    .login h1 {
      font-size: clamp(36px, 12vw, 48px);
    }
    .login-actions,
    .login-actions button {
      width: 100%;
    }
    .staff-metrics {
      grid-template-columns: minmax(0, 1fr);
    }
    .demo-section-heading,
    .demo-readiness-head,
    .demo-blocker-summary {
      align-items: stretch;
      grid-template-columns: minmax(0, 1fr);
      flex-direction: column;
    }
    .demo-monitor-grid,
    .demo-quality-grid,
    .demo-rollout-create {
      grid-template-columns: minmax(0, 1fr);
    }
    .commerce-heading-row {
      align-items: stretch;
      flex-direction: column;
    }
    .commerce-subsection-heading {
      align-items: start;
      flex-direction: column;
    }
    .commerce-metrics,
    .commerce-approval-flow {
      grid-template-columns: minmax(0, 1fr);
    }
    .cash-overview,
    .cash-policy-strip,
    .cash-queue-layout,
    .reseller-overview,
    .reseller-field-grid,
    .reseller-guardrail,
    .reseller-guardrail ol,
    .reseller-statement {
      grid-template-columns: minmax(0, 1fr);
    }
    .cash-overview article,
    .cash-policy-strip article,
    .reseller-overview article {
      border-right: 0;
      border-bottom: 1px solid #294653;
    }
    :where(.cash-overview, .cash-policy-strip, .reseller-overview)
      article:last-child {
      border-bottom: 0;
    }
    .reseller-guardrail ol {
      grid-column: auto;
    }
    .reseller-onboarding > footer,
    .cash-queue > footer {
      align-items: stretch;
      flex-direction: column;
    }
    .reseller-account,
    .reseller-account.commission {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .reseller-account > :where(.reseller-status, button) {
      grid-column: 2;
      justify-self: start;
    }
    .reconciliation-summary,
    .reconciliation-date {
      grid-template-columns: minmax(0, 1fr);
    }
    .reconciliation-section-head {
      align-items: stretch;
      flex-direction: column;
    }
    .payment-launch-intro,
    .payment-migration-hero,
    .payment-cohort-control {
      grid-template-columns: minmax(0, 1fr);
    }
    .payment-launch-intro aside {
      justify-items: start;
      text-align: left;
    }
    .payment-launch-flow,
    .payment-migration-flow,
    .payment-rail-grid,
    .payment-rail-grid > section {
      grid-template-columns: minmax(0, 1fr);
    }
    :where(.payment-launch-flow, .payment-migration-flow) li {
      border-right: 0;
      border-bottom: 1px solid #294653;
    }
    :where(.payment-launch-flow, .payment-migration-flow) li:last-child {
      border-bottom: 0;
    }
    .payment-rail-grid > section > header {
      grid-column: auto;
    }
    :where(.payment-launch-form, .payment-migration-create) > footer,
    .payment-approval-confirm {
      align-items: stretch;
      grid-template-columns: auto minmax(0, 1fr);
      flex-direction: column;
    }
    .payment-approval-confirm > div {
      grid-column: 1 / -1;
    }
    .launch-empty-hero,
    .launch-program-head {
      grid-template-columns: minmax(0, 1fr);
    }
    .launch-empty-hero > aside,
    .launch-program-head > aside {
      padding-top: 14px;
      padding-left: 0;
      border-top: 1px solid #2b4b58;
      border-left: 0;
    }
    .launch-thresholds,
    .launch-metrics,
    .launch-stages {
      grid-template-columns: minmax(0, 1fr);
    }
    .launch-stages li,
    .launch-stages li:nth-child(2n),
    .launch-stages li:nth-last-child(-n + 2) {
      border-right: 0;
      border-bottom: 1px solid #24424e;
    }
    .launch-stages li:last-child {
      border-bottom: 0;
    }
    .launch-section-head,
    .launch-create footer,
    .pilot-enroll,
    .pilot-enroll-empty {
      align-items: stretch;
      flex-direction: column;
      grid-template-columns: minmax(0, 1fr);
    }
    .launch-section-head > small {
      text-align: left;
    }
    .pilot-table-head {
      display: none;
    }
    .pilot-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .release-contract,
    .release-receipt-preview,
    .release-evidence,
    .release .release-train,
    .release-empty-state > aside {
      grid-template-columns: minmax(0, 1fr);
    }
    .release-receipt-preview > div,
    .release-evidence > div,
    .release-train li,
    .release-empty-state > aside > div {
      border-right: 0;
      border-bottom: 1px solid #294653;
    }
    :where(.release-receipt-preview, .release-evidence, .release-train, .release-empty-state > aside)
      > :last-child {
      border-bottom: 0;
    }
    .release-form > footer,
    .release-overview,
    :where(.release-target-required, .release-promotion-ready) {
      align-items: stretch;
      flex-direction: column;
    }
    .audit-overview,
    .audit-controls,
    .audit-event dl {
      grid-template-columns: minmax(0, 1fr);
    }
    .settings-hero,
    .settings-fields,
    .settings-operations-grid,
    .settings-boundaries > div {
      grid-template-columns: minmax(0, 1fr);
    }
    .settings-hero > aside {
      min-width: 0;
    }
    .settings-section-head,
    .settings-card > footer {
      align-items: stretch;
      flex-direction: column;
    }
    .settings-mfa {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .settings-mfa-actions {
      grid-column: 2;
      justify-self: start;
      align-items: stretch;
      flex-direction: column;
    }
    .security-dialog-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .security-dialog-confirm {
      grid-column: auto;
    }
    .security-dialog-card > footer {
      align-items: stretch;
      flex-direction: column-reverse;
    }
    .mfa-recovery-codes pre {
      columns: 1;
    }
    .settings-operations-grid article {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .settings-operations-grid article > button {
      grid-column: 2;
      justify-self: start;
    }
    .settings-boundaries article,
    .settings-boundaries article:nth-child(2n),
    .settings-boundaries article:nth-child(-n + 2) {
      border-right: 0;
      border-bottom: 1px solid #294653;
    }
    .settings-boundaries article:last-child {
      border-bottom: 0;
    }
    .audit-overview > aside {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .audit-event > summary {
      grid-template-columns: 9px minmax(0, 1fr) 18px;
    }
    .audit-event > summary time {
      display: none;
    }
    .audit-event > section {
      padding-left: 14px;
    }
    .alerts-overview,
    .alerts-healthy,
    .alerts-controls {
      grid-template-columns: minmax(0, 1fr);
    }
    .alerts-overview > aside {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .alerts-category-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .alert-category-card,
    .alert-category-card:nth-child(2n),
    .alert-category-card:nth-last-child(-n + 2),
    .alert-category-card:last-child {
      grid-column: auto;
    }
    .alerts-healthy > aside {
      padding-top: 14px;
      padding-left: 0;
      border-top: 1px solid #2a4b57;
      border-left: 0;
    }
    .operational-alert > footer,
    .alerts-healthy > footer {
      align-items: stretch;
      flex-direction: column;
    }
    .operational-alert > footer button {
      width: 100%;
    }
  }

  /* Installation Center: make prerequisites, progress and recovery scannable. */
  .fleet-setup-checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--nyan-line);
    background: var(--nyan-surface-0);
  }
  .setup-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-content: start;
    align-items: start;
    gap: 5px 9px;
    min-width: 0;
    padding: 13px;
    border-right: 1px solid var(--nyan-line);
    border-bottom: 1px solid var(--nyan-line);
    background: var(--nyan-surface-1);
  }
  .setup-check:nth-child(3n) {
    border-right: 0;
  }
  .setup-check:last-child,
  .setup-check:nth-last-child(2):nth-child(3n + 1) {
    border-bottom: 0;
  }
  .setup-check-icon {
    grid-row: 1 / span 2;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(255, 189, 102, 0.35);
    border-radius: 50%;
    color: var(--nyan-warning);
    background: rgba(255, 189, 102, 0.08);
    font-size: 12px;
    font-weight: 850;
  }
  .setup-check.ready .setup-check-icon {
    border-color: rgba(99, 223, 193, 0.35);
    color: var(--nyan-accent);
    background: rgba(99, 223, 193, 0.08);
  }
  .setup-check strong {
    min-width: 0;
    color: var(--nyan-text);
    font-size: 12px;
    line-height: 1.35;
  }
  .setup-check small {
    grid-column: 2 / -1;
    color: var(--nyan-text-muted);
    font-size: 11px;
    line-height: 1.45;
  }
  .setup-check-state {
    padding: 3px 6px;
    border-radius: 999px;
    color: #ffd994;
    background: rgba(255, 189, 102, 0.09);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
  }
  .setup-check.ready .setup-check-state {
    color: #a4efdc;
    background: rgba(99, 223, 193, 0.09);
  }
  .fleet-setup-card details > summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
  }
  .installation-request-feedback {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 var(--nyan-space-4);
    padding: 14px 16px;
    border: 1px solid rgba(255, 130, 122, 0.42);
    border-radius: var(--nyan-radius-md);
    color: var(--nyan-text);
    background: rgba(255, 130, 122, 0.08);
  }
  .installation-request-feedback > span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--nyan-danger);
    background: rgba(255, 130, 122, 0.12);
    font-weight: 900;
  }
  .installation-request-feedback > div {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
  }
  .installation-request-feedback strong {
    color: #ffd0cc;
    font-size: 13px;
  }
  .installation-request-feedback p,
  .installation-request-feedback small {
    margin: 0;
    color: #e2b8b6;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .installation-request-feedback small {
    color: var(--nyan-text-muted);
  }
  .installation-request-feedback button {
    flex: 0 0 auto;
    min-height: 36px;
  }
  .installation-stepper button:not(:disabled):hover {
    color: var(--nyan-text);
    background: var(--nyan-surface-2);
  }
  #console button[aria-busy='true'] {
    cursor: progress;
  }
  @media (max-width: 900px) {
    .fleet-setup-checks {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .setup-check:nth-child(3n) {
      border-right: 1px solid var(--nyan-line);
    }
    .setup-check:nth-child(2n) {
      border-right: 0;
    }
    .setup-check:nth-child(3n + 1):nth-last-child(-n + 2),
    .setup-check:nth-child(3n + 2):nth-last-child(-n + 2) {
      border-bottom: 1px solid var(--nyan-line);
    }
    .setup-check:last-child,
    .setup-check:nth-last-child(2):nth-child(2n + 1) {
      border-bottom: 0;
    }
  }
  @media (max-width: 560px) {
    .fleet-setup-checks {
      grid-template-columns: minmax(0, 1fr);
    }
    .setup-check,
    .setup-check:nth-child(2n),
    .setup-check:nth-child(3n) {
      border-right: 0;
      border-bottom: 1px solid var(--nyan-line);
    }
    .setup-check:last-child {
      border-bottom: 0;
    }
    .installation-request-feedback {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
    }
    .installation-request-feedback button {
      grid-column: 2;
      justify-self: start;
    }
  }

  /* Staff access requests: distinguish scope, eligibility and decision state. */
  .staff-request-head p {
    max-width: 76ch;
    line-height: 1.55;
  }
  .staff-access-flow li.current strong {
    color: var(--nyan-accent);
  }
  .staff-access-flow li strong {
    font-size: 12px;
  }
  .staff-access-flow li small {
    max-width: 24ch;
    line-height: 1.4;
  }
  .staff-request-fields label > small {
    min-height: 0;
    line-height: 1.45;
  }
  .staff-role-preview {
    color: var(--nyan-text-muted);
  }
  .staff-request-preview {
    grid-template-columns: auto minmax(0, 1fr) auto;
    border-color: var(--nyan-line-strong);
    background: var(--nyan-surface-2);
  }
  .staff-request-preview > div {
    min-width: 0;
  }
  .staff-request-preview small {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .staff-request-preview > b {
    width: max-content;
    padding: 5px 8px;
    border: 1px solid rgba(255, 189, 102, 0.32);
    border-radius: 999px;
    color: #ffd994;
    background: rgba(255, 189, 102, 0.08);
  }
  .staff-form-feedback {
    display: grid;
    gap: 3px;
    margin-top: var(--nyan-space-3);
    padding: 11px 13px;
    border: 1px solid var(--nyan-line);
    border-radius: var(--nyan-radius-sm);
    background: rgba(99, 223, 193, 0.045);
  }
  .staff-form-feedback strong {
    color: var(--nyan-text);
    font-size: 12px;
  }
  .staff-form-feedback span {
    color: var(--nyan-text-muted);
    font-size: 11px;
    line-height: 1.45;
  }
  .staff-form-feedback[data-state='error'] {
    border-color: rgba(255, 130, 122, 0.42);
    background: rgba(255, 130, 122, 0.07);
  }
  .staff-form-feedback[data-state='error'] strong {
    color: #ffd0cc;
  }
  .staff-form-feedback[data-state='sending'] {
    border-color: rgba(99, 223, 193, 0.42);
  }
  .staff-request-pending {
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid rgba(255, 189, 102, 0.35);
    border-radius: 999px;
    color: #ffd994;
    background: rgba(255, 189, 102, 0.08);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .staff-request-gates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .staff-request .staff-request-gates > span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 7px;
    border: 1px solid var(--nyan-line);
    border-radius: 999px;
    color: var(--nyan-text-muted);
    background: var(--nyan-surface-2);
    font-size: 9px;
    font-weight: 750;
  }
  .staff-request .staff-request-gates > span.ready {
    border-color: rgba(99, 223, 193, 0.28);
    color: #a4efdc;
    background: rgba(99, 223, 193, 0.07);
  }
  .staff-request .staff-request-gates > span.needs-action {
    border-color: rgba(255, 189, 102, 0.35);
    color: #ffd994;
    background: rgba(255, 189, 102, 0.08);
  }
  .staff-request .staff-request-target > strong {
    color: var(--nyan-text);
    font-size: 14px;
  }
  .staff-request .staff-request-target > small,
  .staff-request .staff-request-review > small {
    color: var(--nyan-text-muted);
    line-height: 1.45;
  }
  .staff-request-review {
    display: grid;
    align-content: start;
    justify-items: end;
    gap: var(--nyan-space-2);
  }
  .staff-request-review em {
    max-width: 31ch;
    color: #ffd994;
    line-height: 1.45;
  }
  .staff-section-count.attention {
    border-color: rgba(255, 189, 102, 0.35);
    color: #ffd994;
    background: rgba(255, 189, 102, 0.08);
  }
  .staff-policy li > div {
    gap: 3px;
  }
  .staff-policy li small {
    line-height: 1.45;
  }
  @media (max-width: 760px) {
    .staff-request-preview {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .staff-request-preview > b {
      grid-column: 2;
      width: fit-content;
      margin-left: 12px;
    }
    .staff-request-review {
      justify-items: start;
    }
  }
}

/* One-time commercial installation setup */
@scope (#nyan-ops-app) {
  :scope:has(#setup:not([hidden])) > .app-header {
    display: none;
  }

  :scope:has(#setup:not([hidden])) main {
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: clamp(18px, 3vh, 34px);
    display: grid;
    place-items: center;
  }

  :scope:has(#setup:not([hidden])) {
    background:
      radial-gradient(circle at 18% 18%, rgba(64, 161, 148, 0.12), transparent 30%),
      radial-gradient(circle at 82% 80%, rgba(33, 111, 151, 0.12), transparent 34%),
      #071721;
  }

  #setup[hidden],
  #setup [hidden] {
    display: none !important;
  }

  #setup {
    width: min(100%, 1080px);
    min-height: min(720px, calc(100dvh - 48px));
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(90, 142, 158, 0.3);
    border-radius: 24px;
    background: #0a202b;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
  }

  #setup .setup-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: initial;
    padding: clamp(38px, 5vw, 64px);
    border-right: 1px solid rgba(83, 133, 148, 0.22);
    background:
      linear-gradient(145deg, rgba(21, 68, 75, 0.32), transparent 58%),
      #0a2631;
  }

  #setup .login-product-lockup {
    justify-content: flex-start;
    margin-bottom: clamp(42px, 7vh, 72px);
  }

  #setup .login-product-lockup img {
    width: 48px;
    height: 48px;
  }

  #setup .login-product-lockup strong {
    font-size: 24px;
  }

  #setup .setup-intro > .kicker {
    margin-bottom: 14px;
  }

  #setup .setup-intro h1 {
    max-width: 430px;
    font-size: clamp(42px, 4.6vw, 60px);
    line-height: 0.98;
  }

  #setup .login-description {
    margin-top: 20px;
    font-size: 15px;
  }

  #setup .setup-auth-panel {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    padding: clamp(34px, 4.5vw, 58px);
    border: 0;
    border-radius: 0;
    background: linear-gradient(160deg, #0b222e, #091c27);
    box-shadow: none;
  }

  #setup .login-auth-heading {
    margin-bottom: 20px;
  }

  #setup .setup-step {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    color: #68ddc2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  #setup .setup-step small {
    color: #718d98;
    font-size: inherit;
    letter-spacing: 0.08em;
  }

  #setup .setup-auth-panel form {
    gap: 11px;
  }

  #setup .login-auth-panel .login-field {
    gap: 6px;
  }

  #setup .login-auth-panel input {
    min-height: 46px;
  }

  #setup .setup-password-guidance {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: -2px;
  }

  #setup .setup-password-guidance span {
    padding: 5px 8px;
    border: 1px solid rgba(93, 143, 156, 0.22);
    border-radius: 999px;
    color: #8fa8b1;
    background: rgba(8, 26, 36, 0.48);
    font-size: 10px;
    font-weight: 700;
  }

  #setup .login-note {
    text-align: center;
  }

  #setup .password-visibility-toggle {
    right: 8px;
  }

  @media (max-width: 880px) {
    :scope:has(#setup:not([hidden])) main {
      padding: 16px;
    }

    #setup {
      width: min(100%, 620px);
      min-height: 0;
      grid-template-columns: minmax(0, 1fr);
      overflow: visible;
    }

    #setup .setup-intro {
      padding: 30px;
      border-right: 0;
      border-bottom: 1px solid rgba(83, 133, 148, 0.22);
    }

    #setup .login-product-lockup {
      margin-bottom: 28px;
    }

    #setup .setup-intro h1 {
      font-size: clamp(38px, 8vw, 50px);
    }

    #setup .setup-assurance {
      margin-top: 20px;
    }

    #setup .setup-auth-panel {
      padding: 30px;
    }
  }

  @media (max-width: 520px) {
    :scope:has(#setup:not([hidden])) main {
      padding: 0;
      place-items: start stretch;
    }

    #setup {
      border: 0;
      border-radius: 0;
      box-shadow: none;
    }

    #setup .setup-intro,
    #setup .setup-auth-panel {
      padding: 26px 20px;
    }

    #setup .login-product-lockup {
      margin-bottom: 24px;
    }

    #setup .setup-intro h1 {
      font-size: 40px;
    }
  }
}

#setup .setup-assurance {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(89, 214, 195, 0.22);
  border-radius: 14px;
  background: rgba(89, 214, 195, 0.06);
}

#setup .setup-assurance > span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #071c25;
  background: #59d6c3;
  font-weight: 800;
}

#setup .setup-assurance p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

#setup .setup-assurance small {
  color: var(--muted, #9db0b8);
  line-height: 1.45;
}

/* Shared Fleet card surface: one dark system with explicit semantic contrast. */
@scope (#nyan-ops-app) {
  #fleet-attention {
    margin: 0 0 var(--nyan-space-3);
  }
  .fleet-attention-panel,
  .fleet-all-clear {
    border: 1px solid var(--nyan-line);
    border-radius: var(--nyan-radius-md);
    background: var(--nyan-surface-1);
  }
  .fleet-attention-panel {
    overflow: hidden;
    border-color: rgba(255, 189, 102, 0.34);
    background: linear-gradient(115deg, rgba(255, 189, 102, 0.055), transparent 58%), var(--nyan-surface-1);
  }
  .fleet-attention-heading {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--nyan-space-3);
    padding: var(--nyan-space-4) var(--nyan-space-4) var(--nyan-space-3);
  }
  .fleet-attention-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 189, 102, 0.35);
    border-radius: var(--nyan-radius-sm);
    color: #ffcf8c;
    background: rgba(255, 189, 102, 0.1);
    font-size: 17px;
    font-weight: 850;
  }
  .fleet-attention-heading h2,
  .fleet-attention-heading p,
  .fleet-attention-more {
    margin: 0;
  }
  .fleet-attention-eyebrow {
    margin-bottom: 4px !important;
    color: #ffcf8c;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .fleet-attention-heading h2 {
    color: var(--nyan-text);
    font-size: 15px;
    letter-spacing: -0.02em;
  }
  .fleet-attention-heading div > p:last-child {
    margin-top: 4px;
    color: var(--nyan-text-muted);
    font-size: 11px;
    line-height: 1.45;
  }
  #console .fleet-attention-heading > button {
    min-height: 36px;
    padding: 7px 11px;
    white-space: nowrap;
  }
  .fleet-attention-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 8px;
    padding: 0 var(--nyan-space-4) var(--nyan-space-3);
  }
  .fleet-attention-list article {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--nyan-line);
    border-radius: var(--nyan-radius-sm);
    background: var(--nyan-surface-2);
  }
  .fleet-attention-status {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffcf8c;
    background: rgba(255, 189, 102, 0.12);
    font-weight: 900;
  }
  .fleet-attention-status.failed {
    color: #ffc0bb;
    background: rgba(255, 130, 122, 0.14);
  }
  .fleet-attention-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }
  .fleet-attention-copy strong,
  .fleet-attention-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .fleet-attention-copy strong {
    color: var(--nyan-text);
    font-size: 11px;
  }
  .fleet-attention-copy small {
    color: var(--nyan-text-muted);
    font-size: 10px;
  }
  #console .fleet-attention-list article > button {
    min-height: 32px;
    padding: 5px 8px;
    color: var(--nyan-accent);
    font-size: 10px;
    white-space: nowrap;
  }
  .fleet-attention-more {
    padding: 0 var(--nyan-space-4) var(--nyan-space-3);
    color: var(--nyan-text-muted);
    font-size: 10px;
  }
  .fleet-all-clear {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: var(--nyan-space-3);
    padding: 12px 15px;
    border-color: rgba(99, 223, 193, 0.22);
    background: rgba(99, 223, 193, 0.035);
  }
  .fleet-all-clear > span {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--nyan-accent);
    background: rgba(99, 223, 193, 0.1);
    font-size: 13px;
    font-weight: 900;
  }
  .fleet-all-clear > div {
    display: grid;
    gap: 3px;
  }
  .fleet-all-clear strong {
    color: var(--nyan-text);
    font-size: 11px;
  }
  .fleet-all-clear small {
    color: var(--nyan-text-muted);
    font-size: 10px;
  }
  .environment-card:focus-visible {
    outline: 3px solid var(--nyan-accent);
    outline-offset: 4px;
  }
  .environment-card {
    overflow: clip;
    border-color: var(--nyan-line);
    border-radius: var(--nyan-radius-md);
    color: var(--nyan-text);
    background: var(--nyan-surface-1);
    box-shadow: var(--nyan-shadow);
  }
  .environment-card:hover {
    border-color: var(--nyan-line-strong);
    box-shadow: 0 20px 52px rgba(0, 8, 13, 0.32);
  }
  .environment-card-head {
    min-height: 76px;
    border-color: var(--nyan-line);
    color: var(--nyan-text);
    background: linear-gradient(100deg, var(--nyan-surface-2), #0b202b);
  }
  .environment-select strong,
  .environment-card .environment-facts strong {
    color: var(--nyan-text);
  }
  .environment-select small,
  .environment-select em,
  .environment-card .environment-facts :where(small, span) {
    color: var(--nyan-text-muted);
  }
  .environment-select input {
    accent-color: var(--nyan-accent);
  }
  .health-pill {
    min-width: 170px;
    border-color: rgba(255, 189, 102, 0.48);
    color: #ffe0aa;
    background: #25251f;
  }
  .health-pill.good {
    border-color: rgba(99, 223, 193, 0.52);
    color: #baf7e8;
    background: #102d2f;
  }
  .health-pill.bad {
    border-color: rgba(255, 130, 122, 0.58);
    color: #ffd0cc;
    background: #2b2027;
  }
  .health-pill small {
    color: currentColor;
    opacity: 0.78;
  }
  .environment-facts section {
    border-color: var(--nyan-line);
    background: var(--nyan-surface-1);
  }
  .environment-facts .fact-attention {
    background: #211d24;
  }
  .environment-facts .fact-attention .fact-icon {
    color: #ffd0cc;
    background: rgba(255, 130, 122, 0.18);
  }
  .environment-facts button {
    border-color: var(--nyan-line-strong);
    color: var(--nyan-text);
    background: var(--nyan-surface-raised);
  }
  .environment-facts button:hover {
    border-color: var(--nyan-accent);
    color: #071a21;
    background: var(--nyan-accent);
  }
  #fleet-table {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  #fleet-table .environment-card {
    min-width: 0;
    max-width: 100%;
  }
  .retention-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border-color: rgba(255, 189, 102, 0.36);
    border-radius: var(--nyan-radius-md);
    color: var(--nyan-text);
    background: #102630;
  }
  .retention-row > div {
    min-width: 0;
  }
  .retention-summary {
    grid-column: 1 / -1;
    padding: 0 0 13px;
    border-bottom: 1px solid var(--nyan-line);
  }
  .retention-summary strong,
  .retention-check strong {
    color: var(--nyan-text);
    overflow-wrap: anywhere;
  }
  .retention-row small {
    color: var(--nyan-text-muted);
    overflow-wrap: anywhere;
  }
  .retention-row .retention-badge {
    border: 1px solid rgba(255, 189, 102, 0.38);
    color: #ffcf85;
    background: rgba(255, 189, 102, 0.1);
  }
  .retention-check {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .retention-check > div {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
  .retention-check > span {
    color: #a9f1dd;
    background: rgba(99, 223, 193, 0.12);
  }
  .retention-check:nth-child(3) > span {
    color: #ffcf85;
    background: rgba(255, 189, 102, 0.12);
  }
  .testing-access,
  .test-credential-card {
    min-width: 0;
    border-color: rgba(255, 189, 102, 0.38);
    color: var(--nyan-text);
    background: #14262c;
  }
  .testing-access > span {
    min-width: 0;
  }
  .testing-access small,
  .test-credential-card small {
    color: var(--nyan-text-muted);
  }
  .test-credential-card code {
    color: var(--nyan-text);
    background: #071923;
  }
  .retention-actions {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    padding-top: 13px;
    border-top: 1px solid var(--nyan-line);
  }
  .retention-actions button {
    max-width: 100%;
    white-space: normal;
  }
  #console .retention-actions button:disabled {
    border-color: #3a5360;
    color: #9bb0b8;
    background: #152b35;
    opacity: 1;
  }
  @media (max-width: 760px) {
    .retention-row {
      grid-template-columns: minmax(0, 1fr);
    }
    .retention-actions {
      justify-content: stretch;
    }
    .retention-actions button {
      width: 100%;
    }
  }
  .installation-template,
  .hr-install-profile,
  .hr-module-rollout {
    border: 1px solid var(--nyan-line);
    border-radius: var(--nyan-radius-md);
    background: var(--nyan-surface-2);
  }
  .installation-template {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nyan-space-4);
    padding: var(--nyan-space-4);
  }
  .installation-template div,
  .installation-template small,
  .hr-module-rollout summary span {
    display: grid;
    gap: var(--nyan-space-1);
  }
  .hr-install-profile {
    display: grid;
    gap: var(--nyan-space-4);
    padding: var(--nyan-space-4);
  }
  .hr-install-profile h4,
  .hr-install-profile p {
    margin: 0;
  }
  .hr-core-modules,
  .hr-install-profile fieldset,
  .hr-module-form fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--nyan-space-2);
  }
  .hr-core-modules small,
  .hr-install-profile legend,
  .hr-module-form legend {
    grid-column: 1 / -1;
  }
  .hr-core-modules span,
  .hr-install-profile label,
  .hr-module-form label {
    padding: 9px 10px;
    border: 1px solid var(--nyan-line);
    border-radius: var(--nyan-radius-sm);
    color: var(--nyan-text);
    background: var(--nyan-surface-1);
  }
  .hr-module-rollout {
    margin: var(--nyan-space-4);
  }
  .hr-module-rollout > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nyan-space-4);
    padding: var(--nyan-space-4);
    color: var(--nyan-text);
    cursor: pointer;
  }
  .hr-module-rollout > summary small,
  .hr-module-rollout > summary > span:last-child,
  .hr-module-form > small {
    color: var(--nyan-text-muted);
  }
  .hr-module-summary,
  .hr-module-form {
    display: grid;
    gap: var(--nyan-space-3);
    padding: 0 var(--nyan-space-4) var(--nyan-space-4);
  }
  .hr-module-summary > div {
    display: grid;
    gap: var(--nyan-space-1);
  }
  .hr-module-form button {
    justify-self: start;
  }
  @media (max-width: 760px) {
    .fleet-attention-heading {
      grid-template-columns: 34px minmax(0, 1fr);
    }
    .fleet-attention-icon {
      width: 32px;
      height: 32px;
    }
    #console .fleet-attention-heading > button {
      grid-column: 2;
      justify-self: start;
    }
    .fleet-attention-list {
      grid-template-columns: minmax(0, 1fr);
    }
    .environment-card-head {
      align-items: stretch;
      flex-direction: column;
    }
    .health-pill {
      width: 100%;
      min-width: 0;
    }
    .environment-facts {
      grid-template-columns: minmax(0, 1fr);
      padding: 0;
    }
    .environment-facts section {
      min-height: 0;
      border-right: 0;
      border-bottom: 1px solid var(--nyan-line);
    }
    .environment-facts section:last-child {
      border-bottom: 0;
    }
    .installation-template,
    .hr-module-rollout > summary {
      align-items: stretch;
      flex-direction: column;
    }
    .hr-core-modules,
    .hr-install-profile fieldset,
    .hr-module-form fieldset {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* Shared control-plane UI primitives: keep every workspace section coherent. */
  :where(button, input, select, textarea, summary) {
    font-family: var(--nyan-font-sans);
  }
  :where(button, input, select, textarea) {
    transition:
      border-color 140ms ease,
      background-color 140ms ease,
      color 140ms ease,
      box-shadow 140ms ease;
  }
  :where(button, a, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--nyan-focus);
    outline-offset: 3px;
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    ) {
    min-height: 42px;
    border-color: var(--nyan-line-strong);
    border-radius: var(--nyan-radius-sm);
    color: var(--nyan-text);
    background-color: var(--nyan-surface-0);
    color-scheme: dark;
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      textarea
    )::placeholder {
    color: #91a8b2;
    opacity: 1;
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    ):hover:not(:disabled) {
    border-color: #5b8794;
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    ):focus-visible {
    border-color: var(--nyan-focus);
    box-shadow: 0 0 0 3px rgba(135, 234, 211, 0.14);
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    )[aria-invalid='true'] {
    border-color: var(--nyan-danger);
  }
  #console
    :where(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    ):disabled {
    color: #8da2ab;
    background: #0b202a;
    cursor: not-allowed;
  }
  #console :where(.panel, .toolbar, .installation-record, .release-form, .staff-section) {
    border-color: var(--nyan-line);
    border-radius: var(--nyan-radius-md);
    background-color: var(--nyan-surface-1);
    box-shadow: var(--nyan-shadow);
  }
  #console .installation-record-head > div {
    min-width: 0;
  }
  #console .installation-record-head small {
    overflow-wrap: anywhere;
  }
  #console .installation-state {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 189, 102, 0.38);
    color: #ffcf91;
    background: rgba(255, 189, 102, 0.1);
  }
  #console .installation-state.bad {
    border-color: rgba(255, 130, 122, 0.4);
    color: #ffc2bc;
    background: rgba(255, 130, 122, 0.1);
  }
  #console .installation-state.good {
    border-color: rgba(99, 223, 193, 0.4);
    color: #a3f0dc;
    background: rgba(99, 223, 193, 0.1);
  }
  #console .installation-state strong {
    color: inherit;
  }
  #console .retained-scan > span {
    min-width: 0;
    border: 1px solid #31505c;
    color: #e7f1f3;
    background: #102c38;
  }
  #console .retained-scan small {
    color: #a4bac4;
  }
  #console .retained-scan strong {
    color: #e7f1f3;
    line-height: 1.35;
  }
  #console .installation-failure {
    min-width: 0;
    border-color: rgba(255, 130, 122, 0.42);
    color: #f6d5d0;
    background: #2a2028;
  }
  #console .installation-failure > div > span {
    min-width: 0;
  }
  #console .installation-failure :where(small, p) {
    color: #dfb5b0;
  }
  #console .installation-failure strong {
    color: #fff0ed;
    overflow-wrap: anywhere;
  }
  #console .installation-failure code {
    color: #ffd2cb;
    background: #492b32;
    overflow-wrap: anywhere;
  }
  #console .failure-recovery > span {
    min-width: 0;
    border: 1px solid rgba(255, 130, 122, 0.2);
    background: #35242d;
  }
  @media (max-width: 760px) {
    #console .installation-record-head,
    #console .installation-failure > div:first-child {
      flex-wrap: wrap;
    }
    #console .retained-scan,
    #console .failure-recovery {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  #console > section > .section-heading {
    display: grid;
    gap: var(--nyan-space-2);
    margin: 0 0 var(--nyan-space-4);
  }
  #console > section > .section-heading h2 {
    color: var(--nyan-text);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.2;
    letter-spacing: -0.025em;
  }
  #console > section > .section-heading p {
    max-width: 78ch;
    margin: 0;
    color: var(--nyan-text-muted);
    font-size: 14px;
    line-height: 1.55;
  }
  #console :where(.empty, .installation-empty, .commerce-empty-state, .alerts-empty) {
    color: var(--nyan-text-muted);
    line-height: 1.55;
  }
  #console :where(button, .metric-card) {
    -webkit-tap-highlight-color: transparent;
  }
  #console button:disabled {
    border-color: var(--nyan-line);
    color: #91a5ae;
    background: var(--nyan-surface-1);
    box-shadow: none;
    opacity: 1;
  }
  .skip-link:focus-visible {
    z-index: 1000;
    outline: 3px solid var(--nyan-focus);
    outline-offset: 3px;
  }
  @media (max-width: 900px) {
    .title {
      gap: var(--nyan-space-3);
    }
    .title-actions {
      flex-wrap: wrap;
    }
    #console-shell > nav {
      position: sticky;
      z-index: 5;
      top: 70px;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scrollbar-width: thin;
    }
    #console-shell > nav [role='tablist'] {
      min-width: 0;
    }
    .reconciliation-filter {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .reconciliation-filter > span {
      grid-column: 1 / -1;
      padding-bottom: 0;
    }
    .alerts-controls {
      grid-template-columns: minmax(0, 1fr) repeat(2, minmax(120px, 0.45fr)) auto;
    }
  }
  @media (max-width: 560px) {
    .app-header .brand {
      gap: 10px;
      padding-right: 2px;
    }
    .app-header .brand .genius-brand-symbol {
      width: 42px;
      height: 42px;
      border-radius: 10px;
    }
    .app-header .brand .genius-wordmark {
      font-size: 15px;
    }
    .app-header .brand .brand-copy small {
      font-size: 8px;
      letter-spacing: 0.14em;
    }
    main {
      width: min(100% - 24px, 1760px);
      margin-top: 12px;
    }
    .title {
      align-items: stretch;
      flex-direction: column;
      padding: 12px 0 16px;
    }
    .title-actions,
    .title-actions > button {
      width: 100%;
    }
    #console-shell > nav {
      top: 70px;
      display: flex;
      width: 100%;
      min-height: 0;
      gap: 6px;
      padding: 6px;
      white-space: nowrap;
    }
    #console-shell > nav [role='tab'] {
      flex: 0 0 auto;
      min-height: 42px;
    }
    .reconciliation-filter {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .reconciliation-filter > label,
    .reconciliation-filter > span {
      grid-column: 1 / -1;
    }
    .reconciliation-filter button {
      width: 100%;
    }
    .alerts-controls {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .alerts-controls .alerts-search {
      grid-column: 1 / -1;
    }
    #console-shell > nav .nav-head {
      display: none;
    }
    #console > section > .section-heading {
      margin-bottom: var(--nyan-space-3);
    }
  }

  /* Signed-out experience: editorial welcome panel + focused authentication card. */
  :scope:has(#login:not([hidden])) > .app-header {
    display: none;
  }
  :scope:has(#login:not([hidden])) main {
    margin-top: clamp(8px, 2vh, 20px);
  }
  #login {
    width: min(100%, 1120px);
    min-height: min(680px, calc(100dvh - 132px));
    margin: clamp(28px, 5vh, 64px) auto;
    padding: clamp(28px, 5.5vw, 68px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    border: 1px solid rgba(105, 150, 165, 0.24);
    border-radius: 24px;
    background:
      radial-gradient(ellipse at 10% 8%, rgba(70, 155, 145, 0.14), transparent 44%),
      linear-gradient(145deg, rgba(10, 30, 41, 0.96), rgba(7, 20, 30, 0.98));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  }
  #login[hidden],
  #login form[hidden],
  #login [hidden] {
    display: none !important;
  }
  .login-intro {
    max-width: 560px;
    align-self: start;
    padding-top: clamp(8px, 2vw, 26px);
  }
  .login-product-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .login-product-lockup img {
    width: clamp(56px, 7vw, 76px);
    height: clamp(56px, 7vw, 76px);
    object-fit: contain;
  }
  .login-product-lockup > span {
    display: grid;
    gap: 5px;
  }
  .login-product-lockup strong {
    color: #edf5f6;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1;
  }
  .login-product-lockup small {
    color: #83a1ac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
  }
  .login-intro > .kicker {
    margin: 0 0 18px;
    color: #67ddc1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
  }
  .login-intro > .kicker span {
    padding: 0 5px;
    color: #67828e;
  }
  .login-intro h1 {
    max-width: 540px;
    margin: 0;
    font-size: clamp(44px, 5.6vw, 68px);
    font-weight: 720;
    line-height: 1.02;
    letter-spacing: -0.065em;
  }
  .login-description {
    max-width: 420px;
    margin: 20px 0 0;
    color: #a7bdc5;
    font-size: 16px;
    line-height: 1.5;
  }
  .login-benefits {
    display: grid;
    gap: 10px;
    max-width: 460px;
  }
  .login-benefits > div {
    min-height: 66px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border: 1px solid rgba(82, 126, 141, 0.2);
    border-radius: 12px;
    background: rgba(10, 35, 47, 0.52);
  }
  .login-benefits > div > span:first-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.24);
    border-radius: 10px;
    color: #6ee2c7;
    background: rgba(99, 223, 193, 0.08);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .login-benefits > div > span:last-child,
  .login-card-foot > span:last-child {
    display: grid;
    gap: 3px;
  }
  .login-benefits strong {
    color: #e2eef0;
    font-size: 13px;
    font-weight: 700;
  }
  .login-benefits small {
    color: #91aab4;
    font-size: 12px;
  }
  .login-boundary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 460px;
    margin: 22px 0 0;
    color: #8ea8b2;
    font-size: 12px;
    line-height: 1.55;
  }
  .login-boundary > span {
    margin-top: 2px;
    color: #70dec5;
    font-size: 10px;
  }
  .login-auth-panel {
    width: 100%;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #294956;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(12, 34, 46, 0.98), rgba(8, 25, 36, 0.98));
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  }
  .login-auth-heading {
    margin-bottom: 24px;
    padding-right: 0;
  }
  .login-auth-heading .kicker {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
  }
  .login-auth-heading h2,
  .password-change-heading h2 {
    margin: 0;
    color: #eef6f7;
    font-size: clamp(25px, 2.5vw, 31px);
    font-weight: 720;
    line-height: 1.15;
    letter-spacing: -0.04em;
  }
  .login-auth-heading > p:last-child {
    margin: 9px 0 0;
    color: #9cb3bd;
    font-size: 14px;
    line-height: 1.5;
  }
  .login-auth-panel form {
    display: grid;
    gap: 16px;
  }
  .login-auth-panel .login-field {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #d9e7ea;
    font-size: 13px;
    font-weight: 650;
  }
  .login-auth-panel input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #355865;
    border-radius: 10px;
    color: #eef6f7;
    background: #071a25;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
  }
  .login-auth-panel input::placeholder {
    color: #718b96;
    opacity: 1;
  }
  .login-auth-panel input:hover {
    border-color: #4c7481;
  }
  .login-auth-panel input:focus-visible {
    border-color: #67dfc3;
    outline: 3px solid rgba(99, 223, 193, 0.19);
    outline-offset: 2px;
    background: #091e29;
  }
  .login-auth-panel input:disabled {
    border-color: #294653;
    color: #78909b;
    background: #0b202a;
    cursor: not-allowed;
  }
  .login-auth-panel .login-actions {
    margin-top: 4px;
  }
  .login-auth-panel .login-actions button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 17px;
    border: 1px solid #67dfc3;
    border-radius: 10px;
    color: #06251e;
    background: #67dfc3;
    font-size: 14px;
    font-weight: 750;
    transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
  }
  .login-auth-panel .login-actions button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #82ead2;
    box-shadow: 0 8px 20px rgba(49, 178, 149, 0.17);
  }
  .login-auth-panel .login-actions button:focus-visible {
    outline: 3px solid rgba(99, 223, 193, 0.3);
    outline-offset: 3px;
  }
  .login-auth-panel .login-actions button:disabled {
    opacity: 0.7;
    cursor: wait;
  }
  .login-auth-panel .login-note {
    margin: 0;
    color: #8fa8b1;
    font-size: 12px;
    line-height: 1.55;
  }
  .login-card-foot {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(76, 115, 128, 0.3);
  }
  .login-lock {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(99, 223, 193, 0.22);
    border-radius: 9px;
    color: #72e1c8;
    background: rgba(99, 223, 193, 0.08);
    font-size: 13px;
  }
  .login-card-foot strong {
    color: #d7e7e9;
    font-size: 12px;
  }
  .login-card-foot small {
    color: #829ca7;
    font-size: 11px;
    line-height: 1.45;
  }
  .login-auth-panel .password-change-heading {
    margin: 0 0 6px;
  }
  .login-auth-panel .password-change-heading .kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
  }
  .login-auth-panel .password-change-heading p {
    margin: 9px 0 0;
    color: #9cb3bd;
    font-size: 14px;
    line-height: 1.5;
  }
  @media (max-width: 860px) {
    #login {
      width: min(100%, 700px);
      min-height: 0;
      grid-template-columns: minmax(0, 1fr);
      gap: 34px;
      padding: clamp(26px, 6vw, 48px);
    }
    .login-intro {
      max-width: none;
    }
    .login-intro h1 {
      max-width: 600px;
      font-size: clamp(40px, 8vw, 58px);
    }
    .login-description {
      max-width: 600px;
      margin: 16px 0 22px;
    }
    .login-benefits {
      max-width: none;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .login-benefits > div {
      grid-template-columns: 32px minmax(0, 1fr);
      gap: 8px;
      padding: 10px;
    }
    .login-benefits > div > span:first-child {
      width: 30px;
      height: 30px;
    }
    .login-benefits strong {
      font-size: 12px;
    }
    .login-benefits small {
      font-size: 11px;
      line-height: 1.35;
    }
    .login-boundary {
      max-width: none;
      margin-top: 16px;
    }
    .login-auth-panel {
      max-width: 560px;
    }
  }
  @media (max-width: 560px) {
    #login {
      width: 100%;
      margin: 12px auto 26px;
      gap: 26px;
      padding: 24px 19px;
      border-radius: 17px;
    }
    .login-intro > .kicker {
      margin-bottom: 15px;
      font-size: 9px;
      letter-spacing: 0.13em;
    }
    .login-intro {
      padding-top: 0;
    }
    .login-intro h1 {
      font-size: clamp(38px, 11vw, 50px);
    }
    .login-description {
      font-size: 15px;
      line-height: 1.55;
    }
    .login-benefits {
      grid-template-columns: minmax(0, 1fr);
    }
    .login-benefits > div {
      min-height: 58px;
      grid-template-columns: 34px minmax(0, 1fr);
      padding: 8px 11px;
    }
    .login-auth-panel {
      padding: 22px 18px;
      border-radius: 14px;
    }
    .login-auth-heading {
      margin-bottom: 22px;
    }
    .login-auth-panel form {
      gap: 14px;
    }
    .login-auth-panel .login-actions button {
      min-height: 50px;
    }
    .login-card-foot {
      margin-top: 20px;
      padding-top: 15px;
    }
  }

  /* Compact, unified sign-in card: brand and authentication belong together. */
  :scope:has(#login:not([hidden])) main {
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 24px 0;
    display: grid;
    place-items: center;
  }
  :scope:has(#login:not([hidden])) {
    background:
      radial-gradient(ellipse at 50% 42%, rgba(27, 61, 76, 0.34), transparent 58%),
      #0b1b26;
  }
  #login {
    width: min(100% - 32px, 440px);
    min-height: 0;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    border: 1px solid rgba(105, 150, 165, 0.28);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(10, 30, 41, 0.98), rgba(7, 20, 30, 0.99));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  }
  .login-intro {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .login-product-lockup {
    justify-content: center;
    gap: 13px;
  }
  .login-product-lockup img {
    width: 52px;
    height: 52px;
  }
  .login-product-lockup strong {
    font-size: 25px;
  }
  .login-product-lockup small {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .login-description {
    margin: 13px 0 0;
    font-size: 14px;
    text-align: center;
  }
  .login-auth-panel {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .login-auth-heading {
    margin-bottom: 20px;
  }
  .login-auth-heading h2 {
    font-size: 23px;
  }
  .login-auth-heading > p {
    margin: 6px 0 0;
    font-size: 13px;
  }
  .login-auth-panel form {
    gap: 15px;
  }
  .login-password-control {
    position: relative;
    display: block;
  }
  .login-auth-panel .login-password-control input {
    padding-right: 70px;
  }
  .login-auth-panel .password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 44px;
    min-height: 44px;
    padding: 12px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    color: #a9c0c8;
    background: transparent;
    cursor: pointer;
  }
  .password-visibility-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .password-visibility-toggle .eye-slash {
    display: none;
  }
  .password-visibility-toggle[aria-pressed="true"] .eye-slash {
    display: block;
  }
  .login-auth-panel .password-visibility-toggle:hover {
    color: #eff8f8;
    background: rgba(99, 223, 193, 0.1);
  }
  .login-auth-panel .password-visibility-toggle:focus-visible {
    outline: 2px solid #67dfc3;
    outline-offset: 2px;
  }
  .login-auth-panel .login-actions button {
    min-height: 48px;
  }
  .login-auth-panel input::placeholder {
    color: #91a8b2;
  }
  .login-error {
    margin: 0;
    padding: 11px 12px;
    border: 1px solid rgba(247, 147, 135, 0.36);
    border-radius: 9px;
    color: #ffd2ca;
    background: rgba(137, 49, 47, 0.15);
    font-size: 12px;
    line-height: 1.45;
  }

  .demo-environment-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 28px;
    align-items: center;
    padding: 22px;
    border: 1px solid #315362;
    border-radius: 14px;
    background: #102632;
  }
  .demo-environment-intro h3,
  .demo-environment-list-head h3 {
    margin: 8px 0;
    color: #eff8f8;
  }
  .demo-environment-intro p,
  .demo-environment-empty p {
    margin: 0;
    color: #adc0c8;
    line-height: 1.5;
  }
  .demo-create-action {
    display: grid;
    gap: 9px;
    justify-items: end;
  }
  .demo-create-action button:disabled {
    opacity: .55;
    cursor: not-allowed;
  }
  .demo-runtime-state,
  .demo-legacy-warning {
    color: #f4c888;
    font-size: 12px;
  }
  .demo-environment-intro .demo-runtime-reason {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid #315362;
    font-size: 13px;
  }
  .demo-environment-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
  }
  .demo-environment-list,
  .demo-environment-item,
  .demo-environment-item > div {
    display: grid;
    gap: 8px;
  }
  .demo-environment-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #315362;
    border-radius: 12px;
    background: #102632;
  }
  .demo-environment-item :where(strong, small) {
    overflow-wrap: anywhere;
  }
  .demo-environment-item small {
    color: #adc0c8;
  }
  .demo-environment-actions {
    justify-items: end;
  }
  .demo-creation-form,
  .demo-delete-form {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #315362;
  }
  .demo-creation-form label,
  .demo-delete-form label {
    display: grid;
    gap: 7px;
    color: #dce9ed;
    font-size: 13px;
  }
  .demo-creation-form :where(input, select),
  .demo-delete-form input {
    width: 100%;
    min-width: 0;
    color: #eff8f8;
    background: #0b1d27;
    border: 1px solid #4c6c79;
    border-radius: 8px;
    padding: 11px 12px;
  }
  .demo-creation-form :where(p, .demo-preflight-summary),
  .demo-delete-form :where(p, label) {
    grid-column: 1 / -1;
  }
  .demo-preflight-summary {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #357665;
    border-radius: 9px;
    color: #dffaf0;
    overflow-wrap: anywhere;
  }
  .demo-preflight-summary small {
    color: #a9c0c8;
  }
  .demo-environment-empty {
    padding: 24px;
    border: 1px dashed #315362;
    border-radius: 12px;
    background: #10202b;
  }
  .demo-reseller-heading {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #315362;
  }
  @media (max-width: 760px) {
    .demo-environment-intro,
    .demo-environment-item {
      grid-template-columns: minmax(0, 1fr);
    }
    .demo-create-action,
    .demo-environment-actions {
      justify-items: stretch;
    }
    .demo-creation-form,
    .demo-delete-form {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

.demo-readiness, .demo-administration-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border, #29434d); }
.demo-readiness ul { padding-left: 1.2rem; line-height: 1.8; }
.demo-readiness strong { color: #ffc66d; }
.demo-administration-form header { display: flex; flex-wrap: wrap; gap: 1rem; }
.demo-administration-form input, .demo-administration-form select { max-width: 100%; }
.demo-staff-options { margin: 1.2rem 0; padding: 1rem; border: 1px solid var(--border, #29434d); border-radius: 8px; }
.demo-staff-options label { display: flex; align-items: center; gap: .7rem; margin-top: .7rem; }
.demo-staff-options input { width: auto; }
.demo-administration-form footer { margin-top: 1rem; }
/* Reset the generic fixed-height header inside the demo configuration form. */
.demo-administration-form > header { display: block; height: auto; min-height: 0; padding: 16px 15px; margin: 0; background: transparent; }
.demo-administration-form > header h4 { margin: 0 0 8px; }
.demo-administration-form > header p { margin: 0; line-height: 1.5; font-size: 11px; color: #9eb7bf; }
.demo-administration-form > header > span { display: block; margin-top: 8px; font-size: 10px; color: #9eb7bf; }
.demo-readiness { padding: 16px 15px; }
.demo-readiness h4 { margin: 0 0 12px; }
.demo-readiness ul { margin: 10px 0; font-size: 12px; }
.demo-readiness small { display: block; line-height: 1.5; color: #9eb7bf; font-size: 11px; }
.demo-administration-form > footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 15px; }

.demo-policy-card pre { max-width: 100%; max-height: 24rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; background: #071b25; border: 1px solid #29434d; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.demo-policy-card details { margin: 12px 0; }
.demo-policy-card summary { cursor: pointer; }
.demo-policy-card form > label { display: grid; gap: 8px; margin: 14px 0; }
.demo-policy-card textarea { width: 100%; min-height: 130px; box-sizing: border-box; }
.demo-policy-next { padding: 16px; margin-bottom: 16px; background: #102e39; border: 1px solid #315563; border-radius: 8px; }
.demo-policy-next h5 { margin: 0 0 8px; font-size: 1rem; }
.demo-policy-next [data-demo-policy-status-feedback] { margin: 12px 0 0; }
.demo-policy-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.demo-policy-facts div { padding: 12px; background: #102e39; border-radius: 6px; }
.demo-policy-facts dt { font-size: .85rem; color: #a9c8d2; }
.demo-policy-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }

.demo-staff-create, .demo-staff-card { padding: 22px; margin-bottom: 16px; }
.demo-staff-create h3, .demo-staff-card h3 { margin: 10px 0; }
.demo-staff-create label { display: grid; gap: 8px; max-width: 420px; margin: 18px 0; }
.demo-staff-create select { padding: 12px; border: 1px solid #315362; border-radius: 8px; background: #102632; color: #eff8f8; }
.demo-staff-create small { display: block; margin-top: 16px; color: #adc0c8; }
.demo-staff-card-heading { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.demo-setup-stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.demo-setup-stages li { display: grid; gap: 8px; padding: 12px; border: 1px solid #315362; border-radius: 8px; font-size: 12px; }
.demo-setup-stages li.complete { border-color: #35816e; }
.demo-setup-stages span { color: #adc0c8; }
.demo-staff-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.demo-admin-details { margin-top: 18px; padding: 14px; font-size: 12px; overflow-wrap: anywhere; }
.demo-admin-details summary { cursor: pointer; color: #adc0c8; }
.demo-admin-details dl { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 10px; }
.demo-admin-details dd { margin: 0; }
@media (max-width:760px) { .demo-setup-stages { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.demo-admin-details pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; }

.demo-diagnostics-scroll { overflow-x: auto; }
.demo-diagnostics-scroll table { width:100%; border-collapse:collapse; font-size:12px; }
.demo-diagnostics-scroll th,.demo-diagnostics-scroll td { padding:8px; border-bottom:1px solid var(--border, #29434c); text-align:left; vertical-align:top; }

/* Staff demo workspace: primary actions and automatic progress. */
.demo-create-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.demo-create-heading p { margin:6px 0 0; }
.demo-readiness-badge { border:1px solid #526773; border-radius:99px; padding:7px 12px; font-size:12px; white-space:nowrap; }
.demo-readiness-badge.is-ready { color:#8cebd3; background:#153e3a; border-color:#397d6c; }
.demo-limit-chips { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.demo-limit-chips span { padding:6px 10px; background:#102b34; border-radius:6px; color:#b4cbd2; font-size:12px; }
.demo-create-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
#console .demo-staff-create .demo-create-actions .primary:not(:disabled), #console .demo-staff-buttons .primary:not(:disabled) { background:#60ddc0; border-color:#60ddc0; color:#09232b; font-weight:700; }
#console .demo-staff-create .demo-create-actions .primary:not(:disabled):hover, #console .demo-staff-buttons .primary:not(:disabled):hover { background:#91f2d9; }
.demo-create-actions button { min-height:44px; }
.demo-quick-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:18px 0 0; margin:22px 0 0; gap:18px; border-top:1px solid #294653; }
.demo-quick-guide li { display:grid; gap:5px; font-size:13px; }
.demo-quick-guide span { color:#adc0c8; }
.demo-setup-stages li.current { border-color:#60ddc0; background:#123b39; }
.demo-setup-stages li.waiting { opacity:.65; }
.demo-reseller-tools { margin-top:24px; padding:18px; }
.demo-reseller-tools > summary { cursor:pointer; color:#adc0c8; }
.demo-refresh-warning { padding:12px; border:1px solid #b58b46; border-radius:8px; color:#edc689; }
.demo-staff-create button:focus-visible, .demo-staff-card button:focus-visible, .demo-reseller-tools summary:focus-visible { outline:3px solid #92f0d5; outline-offset:3px; }
@media(max-width:600px) { .demo-quick-guide { grid-template-columns:1fr; gap:12px; } .demo-create-actions .primary { width:100%; } .demo-staff-create,.demo-staff-card { padding:18px; } }

/* Demo spend: estimates remain readable on small staff screens. */
.demo-cost-dashboard { padding:22px; margin-bottom:20px; }
.demo-cost-dashboard h3 { margin:10px 0; }
.demo-cost-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:18px 0; }
.demo-cost-metrics > div { display:grid; gap:8px; padding:16px; border:1px solid #315362; border-radius:10px; }
.demo-cost-metrics strong { font-size:1.6rem; color:#91f2d9; }
.demo-cost-dashboard details { margin:16px 0; }
.demo-cost-dashboard summary { cursor:pointer; padding:8px 0; }
.demo-cost-dashboard small { display:block; color:#adc0c8; margin-top:8px; }
.demo-card-cost { padding:12px; border-left:3px solid #60ddc0; background:#102632; }

/* Installation infrastructure choices */
.installation-server-selector, .installation-server-review { margin-block: 1rem; padding: 1.25rem; border: 1px solid var(--border, #315363); border-radius: 12px; background: #0b222e; }
.installation-server-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .75rem; margin-block: 1rem; }
.installation-server-option { display: flex !important; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid #315363; border-radius: 10px; cursor: pointer; }
.installation-server-option:has(input:checked) { border-color: #5bd8c3; background: #123b40; }
.installation-server-option:focus-within { outline: 2px solid #5bd8c3; outline-offset: 2px; }
.installation-server-option > input { width: auto; margin-top: .25rem; }
.installation-server-option > span { display: grid; gap: .4rem; }
.installation-server-option small { overflow-wrap: anywhere; }
.installation-server-warning { color: #ffd08a; }
.installation-server-selector, .installation-server-review { grid-column: 1 / -1; min-width: 0; }
.installation-server-options { border: 0; padding: 0; min-width: 0; }
#nyan-ops-app .installation-server-option > input[type='radio'] { flex: 0 0 1rem; width: 1rem; height: 1rem; min-height: 0; padding: 0; }
#nyan-ops-app .installation-server-option > span { flex: 1; min-width: 0; font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: normal; }
#nyan-ops-app .installation-server-option strong { font-size: 16px; line-height: 1.4; }
#nyan-ops-app .installation-server-option small { font-size: 12px; line-height: 1.4; }
