@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-semibold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-medium.woff2") format("woff2"); }

:root {
  color-scheme: light;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  --ink: #14212b;
  --muted: #52616d;
  --faint: #76838d;
  --line: #d4dce1;
  --line-strong: #b9c5cc;
  --canvas: #f2f5f6;
  --surface: #ffffff;
  --surface-subtle: #f7f9fa;
  --sidebar: #0d171f;
  --sidebar-raised: #17242d;
  --sidebar-line: #2a3944;
  --accent: #b91f43;
  --accent-hover: #941936;
  --blue: #156b87;
  --green: #14724b;
  --amber: #8a6200;
  --orange: #ad480b;
  --shadow-soft: 0 1px 2px rgb(14 28 38 / 5%);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; background: var(--canvas); color: var(--ink); font-size: 11px; }
body, button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgb(23 105 170 / 22%); outline-offset: 1px; }
h1, h2, h3, p { margin-top: 0; letter-spacing: 0; }
h1 { margin-bottom: 0; font-size: 18px; line-height: 1.25; }
h2 { margin-bottom: 0; font-size: 14px; line-height: 1.3; }
h3 { margin-bottom: 0; font-size: 11px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.error-page-body { min-height: 100vh; background: #f3f5f7; }
.error-page { width: min(920px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; padding: 34px 0 24px; display: flex; flex-direction: column; }
.error-page-brand { align-self: flex-start; }
.error-page-brand .product-logo { width: 44px; }
.error-page-brand small { color: var(--muted); }
.error-page-content { width: min(520px, 100%); margin: auto 0; padding: 44px 0; border-top: 1px solid #cfd5d9; border-bottom: 1px solid #cfd5d9; }
.error-page-code { display: block; color: #b4233a; font-size: 68px; line-height: .9; }
.error-page-content h1 { margin-top: 20px; font-size: 28px; }
.error-page-content > p:not(.eyebrow) { max-width: 400px; margin: 10px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.error-page-action { min-height: 38px; display: inline-flex; align-items: center; text-decoration: none; }
.error-page footer { display: flex; justify-content: space-between; color: #7d8790; font-size: 9px; font-weight: 700; text-transform: uppercase; }

.login-screen { height: 100dvh; min-height: 620px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(420px, .72fr); background: #fff; }
.login-story { min-width: 0; min-height: 100%; padding: 42px 58px 52px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; background: #171d21; color: #f6f8f9; scrollbar-color: #4d5961 #171d21; scrollbar-width: thin; }
.login-story:focus-visible { outline: 3px solid rgb(89 163 202 / 55%); outline-offset: -3px; }
.login-brand { align-self: flex-start; }
.login-brand .product-logo { width: 48px; }
.login-brand strong { font-size: 17px; }
.login-brand small { color: #9fa9b0; }
.login-story-copy { width: min(720px, 100%); margin: 72px 0 26px; }
.login-story-copy .eyebrow { margin-bottom: 11px; color: #ed7d8e; }
.login-story-copy h1 { max-width: 700px; font-size: 40px; line-height: 1.15; }
.login-story-copy > p:last-child { max-width: 640px; margin: 15px 0 0; color: #b7c0c6; font-size: 14px; line-height: 1.65; }
.login-workflow { width: min(820px, 100%); border: 1px solid #3d474e; border-radius: 6px; overflow: hidden; background: #20282e; box-shadow: 0 22px 55px rgb(0 0 0 / 24%); }
.login-workflow > header { min-height: 48px; padding: 0 17px; border-bottom: 1px solid #39434a; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #252e34; color: #fff; }
.login-workflow > header > div { display: flex; align-items: center; gap: 9px; }
.login-workflow > header strong { font-size: 11px; }
.login-workflow > header small { color: #98a5ad; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.login-workflow-indicator { width: 7px; height: 7px; border-radius: 50%; background: #34a66f; box-shadow: 0 0 0 4px rgb(52 166 111 / 16%); animation: login-status-pulse 2.4s ease-in-out infinite; }
.login-analysis-surface { min-height: 208px; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(230px, .68fr); }
.login-code-surface { position: relative; min-width: 0; padding: 0 22px 17px; border-right: 1px solid #354047; overflow: hidden; background: #11171b; }
.login-code-header { min-height: 43px; margin: 0 -22px 14px; padding: 0 18px; border-bottom: 1px solid #2d373d; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aeb8be; }
.login-code-header span { font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.login-code-header small { color: #6f7e87; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.login-code-lines { position: relative; z-index: 1; margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.login-code-lines li { min-width: 0; height: 20px; display: grid; grid-template-columns: 25px minmax(34px, .22fr) minmax(60px, .78fr); align-items: center; gap: 8px; }
.login-code-lines b { color: #4f5d65; font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.code-token { width: 72%; height: 5px; border-radius: 1px; display: block; background: #66737b; }
.code-token.token-wide { width: 86%; }
.code-token.token-medium { width: 64%; }
.code-token.token-short { width: 42%; }
.code-token.token-indent { width: 58%; margin-left: 12px; }
.code-token.token-blue { background: #4f98bd; }
.code-token.token-red { background: #d45a6d; }
.code-token.token-green { background: #47a875; }
.code-token.token-muted { background: #8d7caf; }
.login-code-focus { position: absolute; z-index: 0; right: 0; left: 0; top: 54px; height: 26px; border-left: 2px solid #d34a60; background: #3a2027; opacity: .9; animation: login-code-review 8s ease-in-out infinite; }
.login-evidence-surface { min-width: 0; padding: 0 20px 16px; background: #1d252a; }
.login-evidence-surface > header { min-height: 43px; margin: 0 -20px 11px; padding: 0 16px; border-bottom: 1px solid #354047; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.login-evidence-surface > header strong { color: #cbd3d8; font-size: 9px; }
.login-evidence-surface > header small { color: #76858e; font-size: 8px; text-transform: uppercase; }
.login-evidence-path { min-height: 138px; position: relative; display: grid; grid-template-rows: 38px 12px 38px 12px 38px; align-content: center; }
.login-evidence-path > span { min-width: 0; padding-left: 28px; position: relative; display: grid; align-content: center; }
.login-evidence-path > span > i { position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; border: 2px solid #67767f; border-radius: 50%; background: #1d252a; }
.login-evidence-path > span > b { overflow: hidden; color: #dce2e6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.login-evidence-path > span > small { margin-top: 2px; color: #7f8c94; font-size: 8px; }
.login-evidence-path > em { width: 1px; height: 100%; margin-left: 8px; display: block; background: #526069; }
.login-evidence-path .evidence-source > i { border-color: #d45a6d; }
.login-evidence-path .evidence-boundary > i { border-color: #d49b43; }
.login-evidence-path .evidence-sink > i { border-color: #47a875; }
.login-path-runner { position: absolute; z-index: 2; left: 5px; top: 15px; width: 8px; height: 8px; border: 0; border-radius: 50%; display: block; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 9%); animation: login-path-trace 8s ease-in-out infinite; }
.login-workflow-steps { min-height: 68px; margin: 0; padding: 0 17px; border-top: 1px solid #39434a; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; background: #252e34; }
.login-workflow-steps li { min-width: 0; position: relative; display: flex; align-items: center; gap: 9px; }
.login-workflow-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: 10px; width: 25%; height: 1px; background: #4b575f; }
.login-workflow-steps li > span { width: 25px; height: 25px; border: 1px solid #68767f; border-radius: 50%; display: grid; place-items: center; background: #20282e; color: #aeb8be; font-size: 9px; font-weight: 800; animation: login-stage-pulse 8s ease-in-out infinite; }
.login-workflow-steps li:nth-child(2) > span { animation-delay: 2s; }
.login-workflow-steps li:nth-child(3) > span { animation-delay: 4s; }
.login-workflow-steps li:nth-child(4) > span { animation-delay: 6s; }
.login-workflow-steps strong, .login-workflow-steps small { display: block; }
.login-workflow-steps strong { overflow: hidden; color: #e3e8eb; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.login-workflow-steps small { margin-top: 3px; color: #7e8b93; font-size: 8px; }
.login-outcomes { width: min(820px, 100%); margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3b444a; }
.login-outcomes > div { min-width: 0; padding: 18px 18px 0 0; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; }
.login-outcomes > div + div { padding-left: 18px; border-left: 1px solid #3b444a; }
.login-outcomes span { grid-row: 1 / 3; color: #ed7d8e; font-size: 9px; font-weight: 800; }
.login-outcomes strong, .login-outcomes small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-outcomes strong { color: #edf1f3; font-size: 11px; }
.login-outcomes small { margin-top: 4px; color: #89969e; font-size: 9px; }
.login-modes { width: min(820px, 100%); margin-top: 54px; padding-top: 34px; border-top: 1px solid #3b444a; }
.login-modes > header .eyebrow, .login-pr-flow .eyebrow, .login-intake .eyebrow { color: #ed7d8e; }
.login-modes > header h2, .login-pr-flow h2, .login-intake h2 { color: #f4f6f7; font-size: 20px; }
.login-mode-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #3d474e; background: #20282e; }
.login-mode-grid article { min-width: 0; padding: 25px; }
.login-mode-grid article + article { border-left: 1px solid #3d474e; }
.login-mode-label { display: flex; align-items: center; gap: 9px; }
.login-mode-label span { color: #ed7d8e; font-size: 9px; font-weight: 800; }
.login-mode-label strong { color: #e6ebee; font-size: 11px; text-transform: uppercase; }
.login-mode-grid h3 { margin-top: 23px; color: #fff; font-size: 16px; }
.login-mode-grid p { min-height: 64px; margin: 9px 0 20px; color: #aeb9bf; font-size: 11px; line-height: 1.65; }
.login-mode-grid ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.login-mode-grid li { min-width: 0; position: relative; padding: 19px 5px 0 0; color: #87959d; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.login-mode-grid li::before { content: ""; position: absolute; top: 5px; left: 0; width: 7px; height: 7px; border: 1px solid #68767f; border-radius: 50%; background: #20282e; }
.login-mode-grid li:not(:last-child)::after { content: ""; position: absolute; top: 9px; right: 7px; left: 12px; height: 1px; background: #505d65; }
.login-mode-grid article:first-child li:nth-child(2)::before { border-color: #d34a60; background: #d34a60; }
.login-mode-grid article:last-child li:nth-child(3)::before { border-color: #47a875; background: #47a875; }
.login-data-flow { width: min(820px, 100%); margin-top: 42px; padding-top: 34px; border-top: 1px solid #3b444a; }
.login-data-flow > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.login-data-flow > header .eyebrow { color: #ed7d8e; }
.login-data-flow > header h2 { color: #f4f6f7; font-size: 20px; }
.login-data-flow > header > p { max-width: 330px; margin: 0; color: #89969e; font-size: 9px; line-height: 1.6; text-align: right; }
.login-data-flow-map { min-height: 270px; margin-top: 22px; padding: 18px; position: relative; border: 1px solid #3d474e; display: grid; grid-template-columns: minmax(168px, .78fr) 42px minmax(138px, .66fr) 42px minmax(250px, 1.18fr); grid-template-rows: repeat(2, minmax(84px, 1fr)) 42px; align-items: center; overflow: hidden; background: #11171b; }
.login-data-entry { min-width: 0; min-height: 78px; padding: 13px; border: 1px solid #3d474e; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; background: #1d252a; }
.login-data-entry > span { width: 32px; height: 32px; border: 1px solid #5a6871; border-radius: 4px; display: grid; place-items: center; background: #252e34; color: #cbd3d8; font-size: 7px; font-weight: 800; }
.login-data-entry small, .login-data-entry strong, .login-data-entry p { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-data-entry small { color: #78868e; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.login-data-entry strong { margin-top: 4px; color: #e8edef; font-size: 10px; }
.login-data-entry p { margin: 4px 0 0; color: #89969e; font-size: 8px; }
.login-data-source { grid-column: 1; grid-row: 1; }
.login-data-import { grid-column: 1; grid-row: 2; }
.login-data-link { height: 1px; position: relative; background: #536069; }
.login-data-link::after { content: ""; position: absolute; top: -3px; right: -1px; width: 6px; height: 6px; border-top: 1px solid #71808a; border-right: 1px solid #71808a; transform: rotate(45deg); }
.login-data-link > span { width: 7px; height: 7px; position: absolute; top: -3px; left: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 8%); animation: login-data-particle 6s ease-in-out infinite; }
.login-data-link-source { grid-column: 2; grid-row: 1; }
.login-data-link-import { grid-column: 2; grid-row: 2; }
.login-data-link-import > span { animation-delay: 1.8s; }
.login-data-link-out { grid-column: 4; grid-row: 1 / 3; }
.login-data-link-out > span { animation-delay: 3.4s; }
.login-data-hub { min-width: 0; min-height: 126px; padding: 18px 12px; position: relative; grid-column: 3; grid-row: 1 / 3; border: 1px solid #59676f; display: grid; align-content: center; justify-items: center; background: #20282e; text-align: center; }
.login-data-hub-pulse { width: 10px; height: 10px; margin-bottom: 12px; border-radius: 50%; background: #d34a60; box-shadow: 0 0 0 6px rgb(211 74 96 / 11%); animation: login-data-hub-pulse 4s ease-in-out infinite; }
.login-data-hub > small { color: #829099; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.login-data-hub > strong { margin-top: 5px; color: #fff; font-size: 12px; }
.login-data-hub > p { margin: 6px 0 0; color: #87949c; font-size: 7px; line-height: 1.5; }
.login-data-actions { min-width: 0; margin: 0; padding: 0; grid-column: 5; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #3d474e; border-left: 1px solid #3d474e; list-style: none; }
.login-data-actions li { min-width: 0; min-height: 78px; padding: 12px; border-right: 1px solid #3d474e; border-bottom: 1px solid #3d474e; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; background: #1d252a; animation: login-data-action 12s ease-in-out infinite; }
.login-data-actions li:nth-child(2) { animation-delay: 3s; }
.login-data-actions li:nth-child(3) { animation-delay: 6s; }
.login-data-actions li:nth-child(4) { animation-delay: 9s; }
.login-data-actions li > span { color: #ed7d8e; font-size: 8px; font-weight: 800; }
.login-data-actions strong, .login-data-actions small { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-data-actions strong { color: #e6ebee; font-size: 9px; }
.login-data-actions small { margin-top: 4px; color: #75838b; font-size: 7px; }
.login-data-controls { min-width: 0; align-self: end; grid-column: 1 / 6; grid-row: 3; border-top: 1px solid #303a40; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.login-data-controls span { min-width: 0; padding: 13px 8px 0; overflow: hidden; color: #748189; font-size: 7px; font-weight: 700; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.login-data-controls span + span { border-left: 1px solid #303a40; }
.login-pr-flow { width: min(820px, 100%); margin-top: 42px; padding-top: 34px; border-top: 1px solid #3b444a; }
.login-pr-flow > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.login-pr-flow > header > p { max-width: 350px; margin: 0; color: #89969e; font-size: 9px; line-height: 1.6; text-align: right; }
.login-pr-workspace { min-height: 228px; margin-top: 22px; border: 1px solid #3d474e; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); overflow: hidden; background: #11171b; }
.login-pr-stages { margin: 0; padding: 17px 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; list-style: none; }
.login-pr-stages li { min-width: 0; position: relative; padding: 52px 10px 0 0; align-self: stretch; }
.login-pr-stages li::before { content: ""; position: absolute; top: 30px; left: 9px; width: 9px; height: 9px; border: 1px solid #68767f; border-radius: 50%; background: #1d252a; animation: login-pr-stage 12.5s ease-in-out infinite; }
.login-pr-stages li:not(:last-child)::after { content: ""; position: absolute; top: 35px; right: 6px; left: 21px; height: 1px; background: #4b575f; }
.login-pr-stages li:nth-child(2)::before { animation-delay: 2.5s; }
.login-pr-stages li:nth-child(3)::before { animation-delay: 5s; }
.login-pr-stages li:nth-child(4)::before { animation-delay: 7.5s; }
.login-pr-stages li:nth-child(5)::before { animation-delay: 10s; }
.login-pr-stages li > span { color: #ed7d8e; font-size: 7px; font-weight: 800; }
.login-pr-stages strong, .login-pr-stages small { min-width: 0; display: block; }
.login-pr-stages strong { margin-top: 8px; color: #e6ebee; font-size: 9px; line-height: 1.45; }
.login-pr-stages small { margin-top: 5px; color: #75838b; font-size: 7px; line-height: 1.45; }
.login-pr-result { min-width: 0; margin: 18px; border: 1px solid #46535b; align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; background: #20282e; }
.login-pr-result > header { min-height: 43px; padding: 0 13px; border-bottom: 1px solid #3d474e; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.login-pr-result > header > span { display: flex; align-items: center; gap: 8px; color: #dce2e6; font-size: 9px; font-weight: 700; }
.login-pr-result > header i { width: 7px; height: 7px; border-radius: 50%; display: block; background: #d34a60; box-shadow: 0 0 0 4px rgb(211 74 96 / 12%); }
.login-pr-result > header small { color: #87959d; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.login-pr-result > div { padding: 19px 14px; align-self: center; }
.login-pr-result > div small { color: #829099; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.login-pr-result > div strong { margin-top: 6px; display: block; color: #fff; font-size: 12px; line-height: 1.4; }
.login-pr-result > div p { margin: 7px 0 0; color: #87949c; font-size: 8px; line-height: 1.55; }
.login-pr-result > footer { min-height: 40px; padding: 0 12px; border-top: 1px solid #3d474e; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.login-pr-result > footer span { padding: 3px 6px; border: 1px solid #4b5860; border-radius: 3px; color: #89969e; font-size: 6px; font-weight: 700; text-transform: uppercase; }
.login-pr-note { margin: 12px 0 0; color: #79878f; font-size: 9px; line-height: 1.55; }
.login-intake { width: min(820px, 100%); margin-top: 42px; padding-top: 34px; border-top: 1px solid #3b444a; }
.login-intake > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.login-intake > header small { padding-bottom: 2px; color: #78868e; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.login-intake-sources { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3d474e; border-left: 1px solid #3d474e; list-style: none; }
.login-intake-sources li { min-width: 0; min-height: 70px; padding: 13px; border-right: 1px solid #3d474e; border-bottom: 1px solid #3d474e; display: flex; align-items: center; gap: 11px; background: #1d252a; }
.login-intake-sources li > span { width: 30px; height: 30px; flex: none; border: 1px solid #53616a; border-radius: 4px; display: grid; place-items: center; background: #252e34; color: #cbd3d8; font-size: 8px; font-weight: 800; }
.login-intake-sources strong, .login-intake-sources small { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-intake-sources strong { color: #e9edef; font-size: 10px; }
.login-intake-sources small { margin-top: 4px; color: #7e8b93; font-size: 8px; }
.login-intake-note { margin: 14px 0 0; color: #79878f; font-size: 9px; line-height: 1.55; }
.login-access { position: sticky; top: 0; height: 100dvh; min-height: 620px; padding: 44px; border-left: 1px solid #d8dde1; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; background: #fff; }
.login-panel { width: min(390px, 100%); margin: auto; }
.login-panel-logo { width: 72px; height: auto; margin-bottom: 28px; display: block; }
.login-form-heading { margin-bottom: 32px; }
.login-form-heading h2 { font-size: 26px; }
.login-form-heading > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.login-panel .field { margin-bottom: 17px; }
.login-panel .field > span { font-size: 11px; }
.login-panel .field input { min-height: 46px; background: #fbfcfc; }
.login-panel .field input:focus { background: #fff; }
.login-panel .primary-button { width: 100%; min-height: 44px; margin-top: 7px; }
.login-mfa-panel { align-self: center; }
.login-mfa-panel .login-panel-logo { margin-bottom: 22px; }
.login-mfa-heading { margin-bottom: 20px; }
.login-mfa-heading h2 { font-size: 24px; line-height: 1.15; }
.login-mfa-heading > p:last-child { max-width: 350px; margin-top: 8px; font-size: 11px; line-height: 1.55; }
.login-mfa-form { display: grid; }
.login-mfa-identity { min-width: 0; min-height: 52px; margin-bottom: 17px; padding: 9px 11px; border: 1px solid #dfe4e7; border-radius: 5px; display: flex; align-items: center; gap: 10px; background: #f8fafb; }
.login-mfa-identity-mark { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #27313a; color: #fff; font-size: 11px; font-weight: 750; }
.login-mfa-identity > div { min-width: 0; }
.login-mfa-identity strong, .login-mfa-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-mfa-identity strong { font-size: 11px; }
.login-mfa-identity small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.login-mfa-methods { margin-bottom: 14px; padding: 3px; border: 1px solid #d8dde1; border-radius: 5px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: #f2f4f5; }
.login-mfa-method { min-height: 33px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.login-mfa-method:hover { color: var(--ink); }
.login-mfa-method.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(26 34 39 / 12%); }
.login-mfa-form .field { margin-bottom: 10px; }
.login-mfa-submit { width: 100%; min-height: 44px !important; margin-top: 4px; }
.login-mfa-signout { width: 100%; margin-top: 9px; }
.login-mfa-enrollment { margin-bottom: 15px; display: grid; justify-items: center; }
.login-mfa-enrollment img { width: min(188px, 100%); height: auto; aspect-ratio: 1; padding: 8px; border: 1px solid #d8dde1; border-radius: 5px; background: #fff; }
.login-mfa-manual-key { width: 100%; margin-top: 9px; padding: 9px 11px; border-left: 2px solid #58636c; background: #f5f7f8; }
.login-mfa-manual-key span, .login-mfa-manual-key small, .login-mfa-manual-key code { display: block; }
.login-mfa-manual-key span { font-size: 10px; font-weight: 700; }
.login-mfa-manual-key small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.login-mfa-manual-key code { margin-top: 6px; overflow-wrap: anywhere; color: #34414a; font-size: 10px; }
.login-mfa-loading { min-height: 166px; display: grid; align-content: center; justify-items: center; gap: 12px; color: var(--muted); }
.login-mfa-loading span { width: 22px; height: 22px; border: 2px solid #d9dee1; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.login-mfa-loading p { margin: 0; font-size: 10px; }
.login-mfa-recovery-codes { max-height: 220px; margin: 0 0 12px; padding: 13px; border: 1px solid #d8dde1; border-radius: 5px; columns: 2; column-gap: 20px; overflow: auto; background: #f7f9fa; color: #2e3b43; font: 10px/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.login-mfa-code-actions { margin-bottom: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.login-mfa-code-actions .secondary-button { min-height: 36px; }
.login-access-note { min-height: 46px; margin-top: 22px; border-top: 1px solid #e1e5e8; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.login-access-note > span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.login-access-note small { font-size: 9px; }
.login-footer { width: min(390px, 100%); margin: auto auto 0; padding-top: 24px; display: flex; justify-content: space-between; color: #87919a; font-size: 9px; font-weight: 700; text-transform: uppercase; }
@keyframes login-status-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes login-code-review { 0%, 8%, 100% { top: 54px; opacity: 0; } 14%, 24% { top: 54px; opacity: .9; } 34%, 44% { top: 84px; opacity: .9; } 54%, 64% { top: 114px; opacity: .9; } 74%, 84% { top: 144px; opacity: .9; } 92% { top: 174px; opacity: 0; } }
@keyframes login-path-trace { 0%, 10%, 100% { top: 15px; opacity: 0; } 18%, 30% { top: 15px; opacity: 1; } 48%, 61% { top: 65px; opacity: 1; } 79%, 91% { top: 115px; opacity: 1; } 96% { opacity: 0; } }
@keyframes login-stage-pulse { 0%, 18%, 100% { border-color: #68767f; background: #20282e; color: #aeb8be; box-shadow: none; } 6%, 12% { border-color: #d34a60; background: #d34a60; color: #fff; box-shadow: 0 0 0 4px rgb(211 74 96 / 13%); } }
@keyframes login-data-particle { 0%, 12% { left: 0; opacity: 0; } 25%, 75% { opacity: 1; } 88%, 100% { left: calc(100% - 7px); opacity: 0; } }
@keyframes login-data-particle-vertical { 0%, 12% { top: 0; opacity: 0; } 25%, 75% { opacity: 1; } 88%, 100% { top: calc(100% - 7px); opacity: 0; } }
@keyframes login-data-hub-pulse { 0%, 100% { opacity: .55; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }
@keyframes login-data-action { 0%, 18%, 100% { background: #1d252a; } 5%, 13% { background: #29343a; box-shadow: inset 2px 0 #d34a60; } }
@keyframes login-pr-stage { 0%, 18%, 100% { border-color: #68767f; background: #1d252a; box-shadow: none; } 6%, 13% { border-color: #d34a60; background: #d34a60; box-shadow: 0 0 0 4px rgb(211 74 96 / 12%); } }
.product-lockup { display: flex; align-items: center; gap: 11px; }
.product-lockup strong, .product-lockup small { display: block; }
.product-lockup strong { font-size: 13px; }
.product-lockup small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.product-logo { width: 40px; height: auto; flex: none; display: block; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 18px 12px 15px; display: flex; flex-direction: column; background: var(--sidebar); color: #fff; }
.sidebar-brand { padding: 0 9px 23px; }
.sidebar-brand .product-logo { width: 38px; }
.sidebar-brand small { color: #989ea5; }
.org-picker { display: grid; gap: 6px; padding: 0 7px 18px; }
.org-picker span { color: #9ca6af; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.org-picker select { min-height: 34px; border-color: #3c4650; background: #202932; color: #fff; }
.navigation { display: grid; gap: 4px; }
.nav-button { min-height: 35px; padding: 0 10px; border: 0; border-left: 3px solid transparent; border-radius: 4px; background: transparent; color: #b4bdc5; text-align: left; font-size: 10px; font-weight: 600; }
.nav-button:hover { background: #202932; color: #fff; }
.nav-button.active { border-left-color: #ed5b70; background: #27313a; color: #fff; }
.sidebar-footer { margin-top: auto; padding: 17px 9px 0; border-top: 1px solid var(--sidebar-line); display: flex; align-items: center; gap: 10px; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 12px; }
.sidebar-footer small { max-width: 165px; margin-top: 4px; overflow: hidden; color: #9ca6af; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.engine-indicator { width: 8px; height: 8px; border-radius: 50%; background: #29a269; box-shadow: 0 0 0 4px rgb(41 162 105 / 13%); }

.workspace { min-width: 0; padding: 0 24px 36px; }
.topbar { min-height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.user-menu { min-width: 124px; min-height: 40px; padding: 3px 7px 3px 12px; border: 0; border-left: 1px solid var(--line); border-radius: 0 4px 4px 0; background: transparent; color: var(--ink); text-align: left; }
.user-menu:hover { background: #eef2f4; }
.user-menu strong, .user-menu small { display: block; }
.user-menu strong { max-width: 180px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.user-menu small { margin-top: 2px; color: var(--muted); font-size: 9px; text-transform: capitalize; }
.content { width: 100%; max-width: 1600px; margin-inline: auto; padding-top: 15px; display: grid; gap: 14px; }
.loading { min-height: 260px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.loading::after { content: ""; width: 20px; height: 20px; margin-top: -210px; border: 2px solid #cbd1d6; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.primary-button, .secondary-button, .quiet-button, .danger-button, .icon-button { min-height: 31px; border-radius: 4px; font-size: 10px; font-weight: 650; }
.primary-button { padding: 0 13px; border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.primary-button:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.secondary-button { padding: 0 11px; border: 1px solid #c9ced2; background: #fff; color: var(--ink); }
a.secondary-button { display: inline-flex; align-items: center; text-decoration: none; }
.quiet-button { min-height: 27px; padding: 0 7px; border: 0; background: transparent; color: var(--blue); }
.danger-text { color: var(--accent); }
.danger-button { padding: 0 11px; border: 1px solid #d7a5ad; background: #fff; color: var(--accent); }
.icon-button { width: 35px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 23px; }
.icon-button:hover { background: #eef0f2; color: var(--ink); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.monospace { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.error-banner, .form-error, .dialog-error, .failure { padding: 10px 12px; border-left: 3px solid var(--accent); background: #fff0f2; color: #8e1830; font-size: 12px; }
.error-banner { margin-top: 16px; }
.form-error { margin: 5px 0 10px; }
.dialog-error { margin: 0 20px 14px; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.metric { min-width: 0; min-height: 90px; padding: 14px 16px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric > span, .metric > strong, .metric > small { display: block; }
.metric > span { color: var(--muted); font-size: 9px; font-weight: 650; }
.metric > strong { margin: 10px 0 5px; font-size: 22px; line-height: 1; }
.metric > small { overflow: hidden; color: var(--faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.section { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); overflow: hidden; }
.section-header { min-height: 49px; padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.knowledge-base-guidance { padding: 14px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f6f8f9; }
.knowledge-base-guidance strong { font-size: 12px; }
.knowledge-base-guidance p { max-width: 860px; margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.project-pull-requests { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.pr-workspace-header { min-height: 66px; padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; }
.pr-workspace-header .eyebrow { margin-bottom: 4px; }
.pr-workspace-header h3 { font-size: 15px; }
.pr-workspace-header small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.pr-header-actions { justify-content: flex-end; flex-wrap: nowrap; }
.pr-automation-activity { border-bottom: 1px solid var(--line); background: #fff; }
.pr-automation-activity > summary { min-height: 38px; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.pr-automation-activity > summary strong { font-size: 10px; }
.pr-automation-activity > summary small { color: var(--muted); font-size: 9px; }
.pr-automation-activity table { min-width: 680px; }
.checkbox-field { min-height: 48px; padding: 9px 10px; border: 1px solid var(--line); display: flex; align-items: flex-start; gap: 10px; background: #f8f9fa; }
.checkbox-field input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--blue); }
.checkbox-field span, .checkbox-field strong, .checkbox-field small { display: block; }
.checkbox-field strong { font-size: 11px; }
.checkbox-field small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.pr-review-list { background: #fff; }
.pr-list-header { min-height: 45px; padding: 9px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f7f8fa; }
.pr-list-header strong, .pr-list-header small { display: block; }
.pr-list-header strong { font-size: 10px; }
.pr-list-header small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.pr-list-header > span { color: var(--faint); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.pr-review-row { min-width: 0; min-height: 132px; padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(260px, 1.5fr) minmax(145px, .72fr) minmax(118px, .58fr) minmax(165px, .8fr) minmax(150px, auto); align-items: center; gap: 18px; }
.pr-review-row:last-child { border-bottom: 0; }
.pr-review-row:hover { background: #fbfcfd; }
.pr-review-primary { min-width: 0; }
.pr-number-line { margin-bottom: 5px; display: flex; align-items: center; gap: 7px; color: var(--blue); font-size: 9px; font-weight: 750; }
.pr-draft-label { padding: 2px 5px; border: 1px solid #cbd2d7; border-radius: 3px; background: #f5f6f7; color: var(--muted); font-size: 7px; text-transform: uppercase; }
.pr-review-primary > strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pr-review-primary > small { display: block; margin-top: 4px; color: var(--faint); font-size: 8px; }
.pr-branch-line { max-width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.pr-branch-line code { max-width: 42%; padding: 3px 5px; border: 1px solid #d7dde1; border-radius: 3px; overflow: hidden; background: #f6f8f9; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pr-branch-line span { color: var(--faint); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.pr-review-column { min-width: 0; align-self: stretch; padding-left: 16px; border-left: 1px solid #e2e6e9; display: flex; align-content: center; align-items: flex-start; flex-direction: column; justify-content: center; }
.pr-review-column > span:first-child { margin-bottom: 8px; color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.pr-review-column > strong { font-size: 10px; line-height: 1.35; }
.pr-review-column > small { margin-top: 6px; color: var(--faint); font-size: 8px; line-height: 1.4; }
.pr-review-outcome > small { max-width: 180px; }
.pr-review-revisions { gap: 5px; }
.pr-review-revisions > span:first-child { margin-bottom: 3px; }
.pr-review-revisions > div { max-width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 5px; }
.pr-review-revisions small { color: var(--faint); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.pr-review-revisions code { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pr-review-row-actions { min-width: 0; align-self: stretch; padding-left: 16px; border-left: 1px solid #e2e6e9; display: flex; align-items: center; }
.pr-review-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-start; gap: 5px; }
.pr-action-button { min-height: 28px; padding-inline: 8px; white-space: nowrap; }
.pr-action-primary { border-color: #9dbfce; background: #f0f7fa; color: #175f7f; }
.pr-action-primary:hover { border-color: #6f9fb3; background: #e4f1f6; }
.revision-confirmation { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 10px; padding: 11px; border: 1px solid var(--line); background: #f7f8f9; }
.revision-confirmation span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.revision-confirmation code { min-width: 0; overflow-wrap: anywhere; font-size: 10px; }
.knowledge-base-download { display: inline-flex; align-items: center; text-decoration: none; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th { height: 33px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f7f8fa; color: var(--muted); font-size: 9px; font-weight: 750; text-align: left; text-transform: uppercase; }
td { height: 45px; padding: 6px 12px; border-bottom: 1px solid #e9edf0; font-size: 10px; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: #fafbfb; }
td strong, td small { display: block; }
td strong { font-size: 10px; }
td small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.finding-item.finding-closed { background: #fafcfb; }
.finding-item.finding-closed .finding-copy > strong { color: #42544b; }
.finding-item.finding-closed .finding-copy > p { color: var(--muted); }
.empty { min-height: 190px; padding: 32px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty strong { font-size: 13px; }
.empty p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }

.status, .severity { display: inline-flex; align-items: center; white-space: nowrap; text-transform: capitalize; }
.status { gap: 6px; padding: 4px 8px; border-radius: 999px; background: #eceff1; color: #596168; font-size: 10px; font-weight: 700; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-running, .status-queued, .status-preparing, .status-ready, .status-enabled, .status-success, .status-generating, .status-verifying { background: #e8f3fb; color: var(--blue); }
.status-completed, .status-passed, .status-active, .status-approved, .status-ready_for_review, .status-merged, .status-validation_complete, .status-closed, .status-no_chains, .status-confirmed { background: #e9f7ef; color: var(--green); }
.status-post_merge_validation { background: #e8f3fb; color: var(--blue); }
.status-failed, .status-findings_detected, .status-denied, .status-failure, .status-suspended, .status-credential, .status-rejected, .status-validation_failed { background: #fff0f2; color: var(--accent); }
.status-no_change, .status-stale, .status-cancelled, .status-not_reviewed, .status-superseded, .status-not_started, .status-pr_closed, .status-conditional { background: #f0f2f3; color: #58636c; }
.status-reportable { background: #fff0f2; color: var(--accent); }
.status-suppressed, .status-not_applicable { background: #e9f7ef; color: var(--green); }
.status-deferred { background: #e8f3fb; color: var(--blue); }
.status-sast { background: #e9f7ef; color: var(--green); }
.status-sca { background: #fff6df; color: #7b5a05; }
.severity { min-width: 76px; justify-content: center; padding: 5px 8px; border-radius: 3px; color: #fff; font-size: 10px; font-weight: 750; }
.severity-critical { background: #9f1239; }
.severity-high { background: var(--orange); }
.severity-medium { background: var(--amber); }
.severity-low { background: #147868; }
.severity-informational { background: #647078; }

.project-layout { width: 100%; min-width: 0; height: calc(100dvh - 112px); display: grid; grid-template-columns: 286px minmax(0, 1fr); border: 1px solid #cbd5da; border-radius: 4px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.project-list { min-width: 0; min-height: 0; border-right: 1px solid #cbd5da; background: #f5f7f8; display: flex; flex-direction: column; }
.project-list > header { min-height: 62px; padding: 11px 14px; border-bottom: 1px solid #d8e0e4; display: flex; align-items: center; justify-content: space-between; }
.project-list > header h2 { font-size: 15px; font-weight: 600; }
.project-list > header .eyebrow { margin-bottom: 2px; }
.project-list > header small { padding: 3px 6px; border: 1px solid #ccd6dc; border-radius: 3px; background: #fff; color: #60717c; font-size: 9px; font-weight: 600; }
.project-list-controls { padding: 10px 12px; border-bottom: 1px solid #d8e0e4; display: grid; gap: 8px; background: #eef2f4; }
.project-list-controls > input { width: 100%; min-height: 34px; padding-inline: 10px; font-size: 10px; }
.project-list-filter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; }
.project-list-filter span { color: #687983; font-size: 8px; font-weight: 600; text-transform: uppercase; }
.project-list-filter select { width: 100%; min-height: 32px; padding-block: 0; background: #fff; font-size: 10px; }
.project-list-items { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.project-item { width: 100%; min-height: 82px; padding: 11px 12px 10px 14px; border: 0; border-bottom: 1px solid #dfe5e8; border-left: 3px solid transparent; background: transparent; color: var(--ink); text-align: left; }
.project-item:hover { background: #fff; }
.project-item.active { border-left-color: var(--accent); background: #fff; box-shadow: inset 0 0 0 1px rgb(200 210 216 / 35%); }
.project-item:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.project-item strong, .project-item small { display: block; }
.project-item-primary { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.project-source-mark { width: 34px; height: 30px; border: 1px solid #bbc8cf; border-radius: 3px; display: grid; place-items: center; background: #e7edf0; color: #40545f; font: 600 8px/1 "IBM Plex Mono", ui-monospace, monospace; }
.project-source-mark.source-github { border-color: #aebac1; background: #202b32; color: #f5f7f8; }
.project-source-mark.source-upload { border-color: #b6cddd; background: #eaf4f8; color: #1b607e; }
.project-item-title { min-width: 0; }
.project-item-title strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-item-title strong { font-size: 11px; font-weight: 600; }
.project-item-title small { margin-top: 3px; overflow: hidden; color: #6c7b85; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.project-external-tag { flex: none; padding: 3px 5px; border: 1px solid #b8cbd5; border-radius: 3px; background: #eef4f7; color: #245d7a; font-size: 8px; font-weight: 750; line-height: 1.2; text-transform: uppercase; }
.project-item-meta { margin: 9px 0 0 43px; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 6px; color: #77858e; font-size: 8px; }
.project-item-meta span + span::before { margin-right: 6px; color: #a5b0b6; content: "·"; }
.project-item-meta time { overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.project-search-empty { min-height: 180px; padding-inline: 18px; }
.project-pane { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.project-list-items, .project-pane { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.project-list-items:hover, .project-list-items:focus-within, .project-pane:hover, .project-pane:focus-within { scrollbar-color: #b8c0c7 transparent; }
.project-list-items::-webkit-scrollbar, .project-pane::-webkit-scrollbar { width: 6px; height: 6px; }
.project-list-items::-webkit-scrollbar-track, .project-pane::-webkit-scrollbar-track { background: transparent; }
.project-list-items::-webkit-scrollbar-thumb, .project-pane::-webkit-scrollbar-thumb { border-radius: 999px; background: transparent; }
.project-list-items:hover::-webkit-scrollbar-thumb, .project-list-items:focus-within::-webkit-scrollbar-thumb,
.project-pane:hover::-webkit-scrollbar-thumb, .project-pane:focus-within::-webkit-scrollbar-thumb { background: #b8c0c7; }
.project-list-items::-webkit-scrollbar-thumb:hover, .project-pane::-webkit-scrollbar-thumb:hover { background: #87939d; }
.project-heading { min-height: 98px; padding: 15px 18px 14px; border-bottom: 1px solid #dbe2e6; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.project-title-group { min-width: 0; }
.project-heading-meta { margin-bottom: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.project-key, .project-source-chip, .project-readiness { min-height: 20px; padding: 4px 6px; border: 1px solid #c7d1d6; border-radius: 2px; display: inline-flex; align-items: center; background: #f5f7f8; color: #566974; font-size: 8px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.project-key { border-color: #9cb8c7; background: #eef5f8; color: #245d78; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.project-source-chip.source-github { border-color: #adb9c0; background: #26333b; color: #fff; }
.project-source-chip.source-upload { border-color: #b6cddd; background: #eaf4f8; color: #1b607e; }
.project-readiness::before { width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #7b8991; content: ""; }
.project-readiness.pending { border-color: #dccb9a; background: #fff8e8; color: #745708; }
.project-readiness.pending::before { background: #a97900; }
.project-heading h2 { overflow: hidden; font-size: 18px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.project-heading .muted { max-width: 760px; margin: 5px 0 0; overflow: hidden; color: #687781; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.project-heading > .button-row { flex: none; }
.project-summary { min-height: 68px; border-bottom: 1px solid #dbe2e6; display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(90px, .65fr)); background: #f8fafb; }
.project-summary > div { min-width: 0; padding: 12px 15px; border-right: 1px solid #dbe2e6; display: grid; align-content: center; gap: 5px; }
.project-summary > div:last-child { border-right: 0; }
.project-summary span { color: #71808a; font-size: 8px; font-weight: 600; text-transform: uppercase; }
.project-summary strong { overflow: hidden; color: #20313b; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.project-summary-source strong { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; }
.tabs { min-height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); display: flex; align-items: stretch; gap: 20px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; text-transform: capitalize; }
.tabs button.active { border-bottom-color: var(--accent); color: var(--ink); font-weight: 700; }
.project-tabs { min-height: 44px; padding-inline: 17px; position: sticky; z-index: 8; top: 0; gap: 18px; overflow-x: auto; background: rgb(255 255 255 / 97%); scrollbar-width: none; }
.project-tabs::-webkit-scrollbar { display: none; }
.project-tabs button { min-width: max-content; display: flex; align-items: center; gap: 6px; color: #65747e; font-size: 10px; font-weight: 500; }
.project-tabs button.active { color: #1a2b35; font-weight: 600; }
.project-tab-count { min-width: 20px; padding: 2px 5px; border-radius: 9px; background: #e8edf0; color: #5e6d77; font-size: 8px; font-weight: 600; line-height: 1.3; }
.project-tabs button.active .project-tab-count { background: #f8e8ec; color: #981b38; }
.settings-grid { padding: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.settings-page-header { min-height: 62px; padding: 3px 2px 11px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.settings-page-header > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.settings-tabs { border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: #fff; }
.settings-content { min-width: 0; }
.settings-content > .section { border-radius: 0 0 6px 6px; }
.settings-project-toolbar { display: grid; grid-template-columns: minmax(180px, 280px) 150px auto; align-items: center; gap: 8px; }
.settings-project-toolbar input, .settings-project-toolbar select { min-height: 36px; font-size: 11px; }
.settings-user-toolbar { display: grid; grid-template-columns: minmax(180px, 260px) 150px 140px auto; align-items: center; gap: 8px; }
.settings-user-toolbar input, .settings-user-toolbar select { min-height: 36px; font-size: 11px; }
.platform-admin-badge { width: max-content; margin-top: 6px; padding: 3px 6px; border: 1px solid #b8d4e2; border-radius: 3px; display: block; background: #edf7fb; color: #24617d; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.shared-account-badge { width: max-content; margin-top: 6px; padding: 3px 6px; border: 1px solid #d8c98e; border-radius: 3px; display: block; background: #fff9df; color: #67561d; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.access-policy { border-top: 1px solid var(--line); background: #f8fafb; }
.access-policy > header { padding: 16px 18px 12px; }
.access-policy h3 { font-size: 13px; }
.access-policy p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.access-policy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.access-policy-role { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line); }
.access-policy-role:last-child { border-right: 0; }
.access-policy-role strong, .access-policy-role small { display: block; }
.access-policy-role strong { font-size: 11px; }
.access-policy-role small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.settings-retention-note { padding: 15px 18px; border-top: 1px solid var(--line); background: #f8fafb; }
.settings-retention-note strong { font-size: 11px; }
.settings-retention-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.dialog-policy-note { padding: 13px 14px; border-left: 3px solid #4d879f; background: #f2f7f9; }
.dialog-policy-note strong, .dialog-policy-note p { display: block; }
.dialog-policy-note strong { font-size: 11px; }
.dialog-policy-note p { margin: 5px 0 0; color: #53636d; font-size: 11px; line-height: 1.55; }
.pr-remediation-finding-list { max-height: 330px; overflow: auto; border: 1px solid var(--line); background: #fff; }
.pr-remediation-finding { min-height: 54px; padding: 10px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 18px 72px minmax(0, 1fr); align-items: center; gap: 10px; cursor: pointer; }
.pr-remediation-finding:last-child { border-bottom: 0; }
.pr-remediation-finding:hover { background: #f7faf8; }
.pr-remediation-finding input { width: 15px; height: 15px; accent-color: var(--green); }
.pr-remediation-finding span, .pr-remediation-finding strong, .pr-remediation-finding small { min-width: 0; display: block; }
.pr-remediation-finding strong { font-size: 11px; line-height: 1.35; }
.pr-remediation-finding small { margin-top: 3px; overflow: hidden; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.identity-summary { padding: 13px 14px; border: 1px solid var(--line); background: #f8fafb; }
.identity-summary strong, .identity-summary small { display: block; }
.identity-summary strong { font-size: 13px; }
.identity-summary small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.identity-summary p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.mfa-profile-card { padding: 14px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.mfa-profile-card span, .mfa-profile-card strong, .mfa-profile-card small { display: block; }
.mfa-profile-card span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.mfa-profile-card strong { margin-top: 4px; font-size: 13px; }
.mfa-profile-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.mfa-profile-card .button-row { flex: none; }
.mfa-enrollment { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 22px; }
.mfa-enrollment img { width: 240px; height: 240px; border: 1px solid var(--line); background: #fff; }
.mfa-enrollment strong, .mfa-enrollment small, .mfa-enrollment code { display: block; }
.mfa-enrollment p { margin: 8px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.mfa-enrollment small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.mfa-enrollment code { margin-top: 7px; padding: 9px; border: 1px solid var(--line); background: #f5f7f8; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.mfa-recovery-codes { margin: 0; padding: 16px; border: 1px solid #c8d3da; background: #f4f7f9; color: #23313b; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; columns: 2; }
.notification-settings-form { padding: 20px; display: grid; gap: 20px; }
.notification-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.notification-provider-fields { grid-column: 1 / -1; padding: 16px; border: 1px solid var(--line); background: #f8fafb; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notification-secure-toggle { align-self: end; min-height: 52px; border: 1px solid var(--line); background: var(--surface); }
.notification-events { padding: 0; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notification-events legend { margin-left: 12px; padding: 0 6px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.notification-toggle { min-width: 0; padding: 14px 15px; display: flex; align-items: flex-start; gap: 10px; }
.notification-events .notification-toggle + .notification-toggle { border-left: 1px solid var(--line); }
.notification-toggle input { width: 16px; height: 16px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.notification-toggle strong, .notification-toggle small { display: block; }
.notification-toggle strong { font-size: 11px; }
.notification-toggle small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.notification-form-footer { min-height: 66px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.notification-form-footer > .notification-toggle { padding: 0; }
.presentation-settings-form { padding: 20px; display: grid; gap: 18px; }
.presentation-preset-row { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); gap: 16px; align-items: stretch; }
.presentation-policy-note { padding: 14px 16px; border: 1px solid var(--line); background: #f8fafb; }
.presentation-policy-note strong { font-size: 11px; }
.presentation-policy-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.presentation-field-grid { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.presentation-field-grid .notification-toggle { border-bottom: 1px solid var(--line); }
.presentation-field-grid .notification-toggle:nth-child(odd) { border-right: 1px solid var(--line); }
.presentation-field-grid .notification-toggle:last-child { border-bottom: 0; }
.notification-history { border-top: 1px solid var(--line); }
.notification-history > header { min-height: 58px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-history h3 { font-size: 13px; }
.notification-history header small { color: var(--muted); font-size: 10px; }
.definition-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.definition { min-width: 0; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.definition:nth-child(2n) { border-right: 0; }
.definition > span:first-child, .definition > strong { display: block; }
.definition > span:first-child { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.definition > strong, .definition > .status { margin-top: 7px; font-size: 12px; overflow-wrap: anywhere; }
.definition > .scan-target { margin-top: 7px; }

.scan-mode-cell strong { font-size: 11px; }
.scan-purpose-label { width: max-content; max-width: 145px; margin-top: 5px; padding: 3px 6px; border: 1px solid #ccd3d8; border-radius: 3px; display: inline-flex; background: #f2f4f5; color: #5a6670; font-size: 8px; font-weight: 750; line-height: 1.25; text-transform: uppercase; white-space: normal; }
.scan-purpose-label.post-merge { border-color: #9fc5d5; background: #edf7fb; color: #235f78; }
.scan-validation-policy-badge { width: max-content; max-width: 160px; margin-top: 5px; padding: 3px 6px; border: 1px solid #aebfca; border-radius: 3px; display: inline-flex; background: #eef5f8; color: #315c70; font-size: 8px; font-weight: 750; line-height: 1.25; text-transform: uppercase; white-space: normal; cursor: help; }
.scan-validation-policy-badge:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.scan-target-cell { min-width: 190px; max-width: 320px; vertical-align: top; }
.scan-target { min-width: 0; max-width: 100%; display: grid; gap: 3px; }
.scan-target strong { font-size: 11px; line-height: 1.35; }
.scan-target small { min-width: 0; margin-top: 0; color: var(--muted); font-size: 9px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

.finding-list { display: grid; }
.finding-item { min-width: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: start; gap: 13px; }
.finding-item:last-child { border-bottom: 0; }
.finding-copy { min-width: 0; }
.finding-copy strong { font-size: 11px; line-height: 1.35; }
.finding-title-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 7px; }
.finding-origin-badge { margin-top: 1px; padding: 2px 5px; border: 1px solid #a9c7d5; background: #eef7fa; color: #235f78; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.finding-context { display: block; margin-top: 5px; color: #64717b; font-size: 10px; line-height: 1.4; }
.finding-copy p { margin: 6px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.finding-copy code { display: block; overflow: hidden; color: #4f5b65; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.attack-path { margin-top: 9px; }
.attack-path summary { color: var(--blue); cursor: pointer; font-size: 11px; font-weight: 700; }
.analysis-document { min-width: 0; border: 1px solid var(--line); background: #fff; }
.project-pane > .analysis-document { margin: 20px; }
.analysis-document-header { min-height: 66px; padding: 14px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-document-header .eyebrow { margin-bottom: 4px; }
.analysis-document-header h3 { font-size: 16px; }
.analysis-summary { padding: 17px; border-bottom: 1px solid var(--line); background: #f8fafb; }
.analysis-summary > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.analysis-summary p { max-width: 1100px; margin: 0; color: #33414b; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.threat-domain-grid { display: grid; grid-template-columns: 1fr 1fr; }
.threat-domain { min-width: 0; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.threat-domain:nth-child(2n) { border-right: 0; }
.threat-domain:last-child { grid-column: 1 / -1; border-right: 0; }
.threat-domain header { margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.threat-domain h4 { margin: 0; font-size: 12px; }
.threat-domain header span { min-width: 23px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: #edf1f3; color: var(--muted); font-size: 9px; font-weight: 750; }
.threat-domain ul { margin: 0; padding-left: 17px; color: #3e4952; font-size: 12px; line-height: 1.6; }
.threat-domain li + li { margin-top: 7px; }
.analysis-muted { margin: 0; color: var(--faint); font-size: 11px; line-height: 1.5; }
.raw-artifact { padding: 12px 17px; background: #fafbfb; }
.raw-artifact summary { color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 700; }
.raw-artifact .report-pre { margin-top: 11px; }
.attack-path-document { min-width: 0; border: 1px solid var(--line); background: #fff; }
.attack-path-header { min-height: 72px; padding: 13px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f8fafb; }
.attack-path-decision > span, .attack-path-decision > strong { display: block; }
.attack-path-decision > span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.attack-path-decision > strong { position: relative; margin-top: 6px; padding-left: 13px; font-size: 13px; text-transform: capitalize; }
.attack-path-decision > strong::before { position: absolute; top: 5px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #75818a; content: ""; }
.attack-path-decision > .decision-reportable::before { background: var(--accent); }
.attack-path-decision > .decision-deferred::before { background: var(--amber); }
.attack-path-decision > .decision-ignore::before { background: #69757e; }
.attack-path-signals { display: flex; align-items: stretch; }
.attack-path-signal { min-width: 86px; padding: 3px 13px; border-left: 1px solid var(--line); }
.attack-path-signal span, .attack-path-signal strong { display: block; overflow-wrap: anywhere; }
.attack-path-signal span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.attack-path-signal strong { margin-top: 5px; font-size: 12px; text-transform: capitalize; }
.signal-critical, .signal-reportable { color: #87102f; }
.signal-high { color: #9b3d0f; }
.signal-medium, .signal-deferred { color: #795300; }
.signal-low { color: #116457; }
.signal-ignore { color: #58636c; }
.attack-chain { margin: 0; padding: 7px 17px 7px 19px; list-style: none; }
.attack-chain li { position: relative; min-width: 0; padding: 14px 0 14px 41px; }
.attack-chain li:not(:last-child)::after { position: absolute; top: 39px; bottom: -8px; left: 14px; width: 1px; background: #c8d4db; content: ""; }
.attack-chain-step { position: absolute; z-index: 1; top: 14px; left: 0; width: 29px; height: 29px; border: 1px solid #9eb9c7; border-radius: 50%; display: grid; place-items: center; background: #f2f7f9; color: #235b76; font-size: 9px; font-weight: 750; }
.attack-chain strong { display: block; color: #28343d; font-size: 11px; }
.attack-chain p { margin: 5px 0 0; color: #4a5660; font-size: 11px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.attack-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.attack-evidence section { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafbfb; }
.attack-evidence section:nth-child(2n) { border-right: 0; }
.attack-evidence section:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.attack-evidence strong { display: block; color: #3e4a53; font-size: 10px; }
.attack-evidence p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.attack-path-document > .analysis-muted { padding: 15px; }
.attack-path-compact { margin-top: 10px; }
.attack-path-compact .attack-path-header { min-height: 60px; padding: 10px 12px; }
.attack-path-compact .attack-path-signal { min-width: 72px; padding-inline: 9px; }
.attack-path-compact .attack-chain { padding: 4px 12px; }
.attack-path-compact .attack-chain li { padding-block: 11px; padding-left: 34px; }
.attack-path-compact .attack-chain li:not(:last-child)::after { top: 32px; left: 11px; }
.attack-path-compact .attack-chain-step { top: 10px; width: 23px; height: 23px; }
.attack-path-compact .attack-evidence { display: none; }

/* Multi-finding attack-chain workspace */
.attack-chain-workspace { min-height: 620px; display: grid; grid-template-columns: 286px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface); box-shadow: 0 10px 28px rgb(24 36 29 / 5%); }
.chain-analysis-list { min-width: 0; overflow-y: auto; border-right: 1px solid var(--line); background: #f7f9f8; }
.chain-analysis-row { width: 100%; padding: 14px 15px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; display: block; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.chain-analysis-row:hover { background: #eef3f0; }
.chain-analysis-row.active { box-shadow: inset 3px 0 var(--blue); background: var(--surface); }
.chain-analysis-row > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chain-analysis-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.chain-analysis-row p { margin: 8px 0 5px; color: var(--muted); font-size: 10px; }
.chain-analysis-row small { color: var(--faint); font-size: 9px; }
.chain-analysis-detail { min-width: 0; background: var(--surface); }
.chain-detail-header { min-height: 73px; padding: 15px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.chain-detail-header h2 { margin: 2px 0 0; font-size: 17px; }
.chain-detail-actions { display: flex; align-items: center; gap: 8px; }
.chain-analysis-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #fafcfb; }
.chain-analysis-meta .definition { padding: 12px 15px; border-right: 1px solid var(--line); }
.chain-analysis-meta .definition:last-child { border-right: 0; }
.chain-running { padding: 20px; }
.chain-running > div:first-child { padding: 15px 16px; display: flex; align-items: center; gap: 13px; background: #edf6fa; border-left: 3px solid var(--blue); }
.chain-running h3 { margin: 0; font-size: 13px; }
.chain-running p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.chain-running-indicator { width: 11px; height: 11px; flex: 0 0 auto; border: 2px solid #87b5c9; border-top-color: var(--blue); border-radius: 50%; animation: spin .9s linear infinite; }
.chain-progress { margin: 18px 0 0; padding: 0; list-style: none; }
.chain-progress li { position: relative; min-height: 42px; padding: 0 0 14px 28px; }
.chain-progress li:not(:last-child)::after { position: absolute; top: 12px; bottom: -1px; left: 5px; width: 1px; background: var(--line); content: ""; }
.chain-progress li > span { position: absolute; z-index: 1; top: 3px; left: 0; width: 11px; height: 11px; border: 2px solid var(--surface); border-radius: 50%; background: #8ca0aa; box-shadow: 0 0 0 1px #8ca0aa; }
.chain-progress .event-completed > span { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.chain-progress .event-failed > span { background: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.chain-progress strong, .chain-progress small { display: block; }
.chain-progress strong { font-size: 11px; }
.chain-progress small { margin-top: 3px; color: var(--faint); font-size: 9px; }
.attack-impact-groups { padding: 0 18px 22px; }
.attack-impact-group { padding-top: 20px; }
.impact-group-header { padding: 0 0 10px; border-bottom: 2px solid #27343b; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.impact-group-header h2 { max-width: 900px; margin: 3px 0 0; font-size: 15px; line-height: 1.4; }
.impact-group-header > span { color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.chain-route-record { padding: 17px 0 5px; border-bottom: 1px solid var(--line); }
.chain-route-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.chain-route-header small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.chain-route-header h3 { margin: 4px 0 0; font-size: 13px; }
.chain-route-signals { display: flex; align-items: center; gap: 7px; }
.confidence { padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: capitalize; }
.confidence-high { border-color: #d0a6ad; color: var(--danger); }
.confidence-medium { border-color: #d8c68c; color: #745a08; }
.chain-route-context { margin-top: 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fafcfb; }
.chain-route-context > div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); }
.chain-route-context > div:last-child { border-right: 0; }
.chain-route-context span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.chain-route-context p { margin: 4px 0 0; color: #38464e; font-size: 10px; line-height: 1.5; }
.attack-chain-route { max-width: 920px; margin: 17px auto; }
.chain-stage { border: 1px solid var(--line); border-left: 3px solid #81929b; background: var(--surface); }
.chain-stage-entry { border-left-color: var(--blue); }
.chain-stage-impact { border-left-color: var(--danger); }
.chain-stage > header { min-height: 49px; padding: 9px 12px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.chain-stage-index { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.chain-stage h4 { margin: 2px 0 0; font-size: 11px; }
.chain-stage header small { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.chain-stage > p { margin: 0; padding: 0 12px 10px 54px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.chain-capability { margin: 0 12px 10px 54px; padding: 8px 10px; border-left: 2px solid #87aeba; background: #f2f7f8; }
.chain-capability span, .chain-capability strong { display: block; }
.chain-capability span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.chain-capability strong { margin-top: 3px; font-size: 10px; }
.chain-transition { min-height: 62px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; }
.chain-transition > span { color: #72909d; font-size: 20px; text-align: center; }
.chain-transition strong { display: block; color: var(--blue); font-size: 9px; text-transform: uppercase; }
.chain-transition p { max-width: 760px; margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.chain-stage-evidence { border-top: 1px solid var(--line); }
.chain-stage-evidence > summary, .chain-priority > summary { padding: 8px 12px 8px 54px; color: var(--blue); cursor: pointer; font-size: 9px; font-weight: 700; }
.chain-evidence-list { border-top: 1px solid var(--line); background: #f8faf9; }
.chain-evidence-list section { padding: 11px 13px; border-bottom: 1px solid var(--line); }
.chain-evidence-list section:last-child { border-bottom: 0; }
.chain-evidence-list header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chain-evidence-list strong { font-size: 9px; }
.chain-evidence-list header code { color: var(--muted); font-size: 8px; }
.chain-evidence-list pre { max-height: 260px; margin: 8px 0 0; padding: 10px; overflow: auto; background: #172019; color: #dce7df; font-size: 9px; line-height: 1.5; }
.chain-evidence-list p { margin: 7px 0 0; color: var(--muted); font-size: 9px; }
.chain-priority { margin: 9px 0 11px; border: 1px solid var(--line); }
.chain-priority > summary { padding-left: 12px; }
.chain-priority ol { margin: 0; padding: 0 14px 10px 34px; }
.chain-priority li { padding: 5px 0; }
.chain-priority strong { font-size: 10px; }
.chain-priority p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }

/* Project attack-path directory */
.project-attack-paths { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.attack-path-module-header { min-height: 112px; padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--surface); }
.attack-path-module-header > div { min-width: 0; }
.attack-path-module-header h2 { margin: 4px 0 0; font-size: 19px; }
.attack-path-module-header > div > p:last-child { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.attack-path-module-header dl { margin: 0; display: flex; align-items: stretch; }
.attack-path-module-header dl > div { min-width: 92px; padding: 5px 15px; border-left: 1px solid var(--line); }
.attack-path-module-header dt { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.attack-path-module-header dd { margin: 5px 0 0; font-size: 17px; font-weight: 650; }
.attack-path-module-workspace { min-height: 630px; margin: 16px 0 0; display: grid; grid-template-columns: 248px minmax(0, 1fr); border: 1px solid var(--line); background: var(--surface); }
.attack-path-projects { min-width: 0; border-right: 1px solid var(--line); background: #f6f8f7; }
.attack-path-projects > header { min-height: 58px; padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.attack-path-projects > header strong { font-size: 11px; }
.attack-path-projects > header small { color: var(--muted); font-size: 8px; }
.attack-path-project-search { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.attack-path-project-search input { width: 100%; min-height: 33px; }
.attack-path-project-list { max-height: 710px; overflow-y: auto; }
.attack-path-project { width: 100%; min-height: 65px; padding: 11px 13px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; display: block; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.attack-path-project:hover { background: #eef3f0; }
.attack-path-project.active { box-shadow: inset 3px 0 var(--blue); background: var(--surface); }
.attack-path-project > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.attack-path-project strong { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.attack-path-project span { flex: none; color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 8px; }
.attack-path-project small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }
.attack-path-module-pane { min-width: 0; padding: 13px; }
.attack-path-module-pane .project-attack-paths { min-height: 600px; }
.attack-path-directory-header { min-height: 68px; }
.attack-path-directory-header h3 { margin: 0; font-size: 13px; }
.attack-path-directory-header small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.attack-path-version { min-width: 260px; margin-left: auto; }
.attack-path-version > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.attack-path-version select { width: 100%; min-height: 32px; font-size: 9px; }
.attack-path-evidence-help { padding: 9px 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #f8faf9; }
.attack-path-evidence-help > div { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; }
.attack-path-evidence-help p { margin: 1px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.attack-path-evidence-help p strong { color: var(--text); }
.attack-path-history-notice { padding: 9px 13px; border-bottom: 1px solid var(--line); border-left: 3px solid #6e7f88; background: #f4f6f7; }
.attack-path-history-notice strong { display: block; font-size: 9px; }
.attack-path-history-notice p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.attack-path-directory-toolbar { padding: 10px 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(220px, 1fr) 180px; gap: 8px; background: #f7f9f8; }
.attack-path-directory-toolbar input, .attack-path-directory-toolbar select { min-height: 34px; }
.attack-path-directory-results { min-width: 0; overflow-x: auto; }
.attack-path-directory-results table { min-width: 980px; table-layout: fixed; }
.attack-path-directory-results th:nth-child(1) { width: 25%; }
.attack-path-directory-results th:nth-child(2) { width: 31%; }
.attack-path-directory-results th:nth-child(3) { width: 9%; }
.attack-path-directory-results th:nth-child(4) { width: 7%; }
.attack-path-directory-results th:nth-child(5) { width: 10%; }
.attack-path-directory-results th:nth-child(6) { width: 9%; }
.attack-path-directory-results th:nth-child(7) { width: 12%; }
.attack-path-directory-results td > strong { display: block; font-size: 10px; line-height: 1.35; }
.attack-path-directory-results td > small { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.attack-path-route-preview { min-width: 0; display: flex; align-items: center; gap: 5px; overflow: hidden; }
.attack-path-route-preview span { min-width: 0; max-width: 94px; padding: 5px 7px; overflow: hidden; border: 1px solid #b9c6cc; background: #fff; color: #43525a; font-size: 8px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.attack-path-route-preview .route-entry { border-style: dashed; border-color: #70a0b5; background: #edf6fa; color: #245f78; }
.attack-path-route-preview .route-impact { border-style: dashed; border-color: #c98591; background: #fff2f3; color: #8b3040; }
.attack-path-route-preview i { color: #82919a; font-style: normal; }
.attack-path-route-preview small { flex: none; color: var(--muted); font-size: 8px; }
.attack-path-job-banner, .attack-path-job-warning { min-height: 56px; padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.attack-path-job-banner { border-left: 3px solid var(--blue); background: #eff7fa; }
.attack-path-job-warning { border-left: 3px solid #ae7e24; background: #fff8e8; }
.attack-path-job-banner strong, .attack-path-job-warning strong { display: block; font-size: 10px; }
.attack-path-job-banner p, .attack-path-job-warning p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }

/* Dedicated attack-path investigation */
.attack-path-investigation { min-width: 0; padding-bottom: 28px; }
.attack-path-investigation-header { min-height: 126px; padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; background: var(--surface); }
.attack-path-investigation-header > div:first-child { min-width: 0; }
.attack-path-investigation-header .scan-back { margin-bottom: 14px; }
.attack-path-investigation-header h1 { max-width: 980px; margin: 4px 0 0; font-size: 22px; line-height: 1.28; letter-spacing: 0; }
.attack-path-investigation-header > div:first-child > p:last-child { max-width: 920px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.attack-path-investigation-actions { padding-top: 22px; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.attack-path-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #f8faf9; }
.attack-path-facts .definition { min-width: 0; padding: 12px 16px; border-right: 1px solid var(--line); }
.attack-path-facts .definition:last-child { border-right: 0; }
.attack-path-facts .severity { min-width: 70px; }
.attack-path-graph-shell { min-width: 0; margin: 18px 20px 0; border: 1px solid #bdc8cd; background: #f5f8f7; position: relative; }
.attack-path-graph-header { min-height: 54px; padding: 10px 13px; border-bottom: 1px solid #cbd4d8; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #27343b; color: #fff; }
.attack-path-graph-header strong, .attack-path-graph-header small { display: block; }
.attack-path-graph-header strong { font-size: 11px; }
.attack-path-graph-header small { margin-top: 3px; color: #bfcbd1; font-size: 8px; }
.graph-legend { display: flex; align-items: center; gap: 12px; }
.graph-legend span { position: relative; padding-left: 14px; color: #dce4e7; font-size: 8px; font-weight: 650; }
.graph-legend span::before { position: absolute; top: 2px; left: 0; width: 8px; height: 8px; border: 2px solid #80919a; background: #fff; content: ""; }
.graph-legend .legend-context::before { border-style: dashed; border-color: #6da4bc; background: #dceff7; }
.graph-legend .legend-finding::before { border-color: #d05a4a; }
.graph-legend .legend-impact::before { border-style: dashed; border-color: #c56877; background: #f8dfe3; }
.attack-path-graph-layout { min-width: 0; height: 590px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.attack-path-graph-canvas { min-width: 0; height: 590px; position: relative; background-color: #f7faf8; background-image: linear-gradient(#e9eeeb 1px, transparent 1px), linear-gradient(90deg, #e9eeeb 1px, transparent 1px); background-size: 24px 24px; }
.attack-path-graph-inspector { min-width: 0; height: 590px; overflow-y: auto; border-left: 1px solid #cbd4d8; background: var(--surface); }
.attack-path-graph-inspector > header { padding: 16px 16px 13px; border-bottom: 1px solid var(--line); }
.attack-path-graph-inspector h3 { margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.graph-inspector-summary { margin: 0; padding: 14px 16px; color: #46545c; font-size: 10px; line-height: 1.6; }
.graph-inspector-hint { margin: 0 16px 16px; padding: 10px 11px; border-left: 2px solid #8da7b2; background: #f2f6f7; color: var(--muted); font-size: 9px; line-height: 1.55; }
.graph-inspector-facts { margin: 0; }
.graph-inspector-facts > div { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.graph-inspector-facts dt { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.graph-inspector-facts dd { margin: 4px 0 0; color: #38464e; font-size: 10px; line-height: 1.55; }
.graph-inspector-signals { padding: 11px 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.graph-cwe { padding: 4px 6px; border-left: 2px solid var(--blue); background: #edf4f7; color: #36586a; font-size: 8px; font-weight: 750; }
.graph-inspector-capability { margin: 0 16px 14px; padding: 9px 10px; border-left: 2px solid #56869b; background: #eef5f7; }
.graph-inspector-capability span, .graph-inspector-capability strong { display: block; }
.graph-inspector-capability span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.graph-inspector-capability strong { margin-top: 4px; font-size: 9px; line-height: 1.45; }
.graph-inspector-evidence { border-top: 1px solid var(--line); }
.graph-inspector-evidence h4 { margin: 0; padding: 10px 16px; background: #f7f9f8; font-size: 9px; text-transform: uppercase; }
.graph-inspector-evidence article { padding: 11px 16px; border-top: 1px solid var(--line); }
.graph-inspector-evidence article > strong, .graph-inspector-evidence article > code { display: block; }
.graph-inspector-evidence article > strong { font-size: 9px; }
.graph-inspector-evidence article > code { margin-top: 4px; color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
.graph-inspector-evidence pre { max-height: 180px; margin: 8px 0 0; padding: 9px; overflow: auto; background: #172019; color: #dce7df; font-size: 8px; line-height: 1.5; }
.attack-path-graph-inspector > footer { padding: 13px 16px; border-top: 1px solid var(--line); }
.graph-edge-endpoints { padding: 13px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 4px; }
.graph-edge-endpoints span { padding: 7px; border: 1px solid var(--line); background: #f8faf9; font-size: 8px; line-height: 1.35; text-align: center; }
.graph-edge-endpoints i { color: var(--blue); font-style: normal; text-align: center; }
.graph-controls { position: absolute; z-index: 10; right: 345px; bottom: 14px; padding: 4px; border: 1px solid #bec9ce; display: flex; gap: 2px; background: rgb(255 255 255 / 94%); box-shadow: 0 5px 16px rgb(30 43 36 / 12%); }
.graph-tool { width: 30px; height: 30px; border-radius: 2px; }
.graph-tool svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.attack-path-graph-shell:fullscreen { margin: 0; border: 0; background: #f5f8f7; }
.attack-path-graph-shell:fullscreen .attack-path-graph-layout { height: calc(100vh - 54px); }
.attack-path-graph-shell:fullscreen .attack-path-graph-canvas, .attack-path-graph-shell:fullscreen .attack-path-graph-inspector { height: calc(100vh - 54px); }
.attack-path-narrative { margin: 22px 20px 0; border-top: 2px solid #27343b; }
.attack-path-narrative > section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.attack-path-narrative > section > header h2 { margin: 4px 0 0; font-size: 15px; }
.attack-path-story-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.attack-path-story-grid > div { padding: 13px 15px; border-right: 1px solid var(--line); }
.attack-path-story-grid > div:last-child { border-right: 0; }
.attack-path-story-grid span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.attack-path-story-grid p { margin: 5px 0 0; color: #39474f; font-size: 10px; line-height: 1.6; }
.attack-path-assumptions { margin-top: 10px; padding: 11px 14px; border-left: 3px solid #ae7e24; background: #fff8e8; }
.attack-path-assumptions strong { font-size: 9px; }
.attack-path-assumptions ul { margin: 7px 0 0; padding-left: 18px; color: #5f563d; font-size: 9px; line-height: 1.55; }
.attack-path-evidence-stage { margin-top: 13px; border: 1px solid var(--line); }
.attack-path-evidence-stage > header { min-height: 56px; padding: 9px 13px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: #f8faf9; }
.attack-path-evidence-stage .stage-number { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.attack-path-evidence-stage header small { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.attack-path-evidence-stage h3 { margin: 3px 0 0; font-size: 11px; }
.attack-path-evidence-stage > p { margin: 0; padding: 12px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.6; }
.stage-evidence-meta { padding: 0 56px 11px; display: flex; flex-wrap: wrap; gap: 5px; }
.stage-evidence-meta span { padding: 3px 6px; background: #eef3f1; color: #4f6058; font-size: 8px; font-weight: 700; }
.stage-source-evidence { border-top: 1px solid var(--line); }
.stage-source-evidence summary { min-height: 38px; padding: 8px 14px 8px 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.stage-source-evidence summary strong { font-size: 9px; }
.stage-source-evidence summary code { color: var(--muted); font-size: 8px; }
.stage-source-evidence pre { max-height: 360px; margin: 0; padding: 13px 16px; overflow: auto; border-top: 1px solid #2a3931; background: #172019; color: #dce7df; font-size: 9px; line-height: 1.55; }
.stage-source-evidence > p { margin: 0; padding: 12px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.attack-path-remediation-order ol { margin: 15px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.attack-path-remediation-order li { min-height: 58px; padding: 10px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 8px; }
.attack-path-remediation-order li > span { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.attack-path-remediation-order strong { font-size: 10px; }
.attack-path-remediation-order p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

html[data-theme="dark"] .attack-path-directory-toolbar,
html[data-theme="dark"] .attack-path-evidence-help,
html[data-theme="dark"] .attack-path-facts,
html[data-theme="dark"] .attack-path-evidence-stage > header,
html[data-theme="dark"] .graph-inspector-evidence h4 { background: #151c18; }
html[data-theme="dark"] .attack-path-route-preview span,
html[data-theme="dark"] .graph-edge-endpoints span { border-color: #39453e; background: #1a221e; color: #c6d0ca; }
html[data-theme="dark"] .attack-path-route-preview .route-entry { border-color: #4f849a; background: #14242b; color: #b9deed; }
html[data-theme="dark"] .attack-path-route-preview .route-impact { border-color: #9a5360; background: #2b181b; color: #f2c4cb; }
html[data-theme="dark"] .attack-path-job-banner { background: #12242b; }
html[data-theme="dark"] .attack-path-job-warning, html[data-theme="dark"] .attack-path-assumptions { background: #292314; }
html[data-theme="dark"] .attack-path-history-notice { background: #1b2220; }
html[data-theme="dark"] .attack-path-graph-shell { border-color: #3c4b43; background: #111714; }
html[data-theme="dark"] .attack-path-graph-canvas { background-color: #111714; background-image: linear-gradient(#1c2520 1px, transparent 1px), linear-gradient(90deg, #1c2520 1px, transparent 1px); }
html[data-theme="dark"] .attack-path-graph-inspector { border-color: #39453e; }
html[data-theme="dark"] .graph-inspector-summary, html[data-theme="dark"] .graph-inspector-facts dd, html[data-theme="dark"] .attack-path-story-grid p { color: #c1cbc5; }
html[data-theme="dark"] .graph-inspector-hint, html[data-theme="dark"] .graph-inspector-capability { background: #16231f; }
html[data-theme="dark"] .graph-cwe { background: #16262c; color: #b9d7e3; }
html[data-theme="dark"] .graph-controls { border-color: #435048; background: rgb(23 29 26 / 95%); }
html[data-theme="dark"] .attack-path-story-grid > div, html[data-theme="dark"] .attack-path-evidence-stage { background: var(--surface); }
html[data-theme="dark"] .stage-evidence-meta span { background: #1a241f; color: #b9c6be; }
html[data-theme="dark"] .attack-path-projects { background: #141b17; }
html[data-theme="dark"] .attack-path-project:hover { background: #1b2520; }
html[data-theme="dark"] .attack-path-project.active { background: var(--surface); }

@media (max-width: 1100px) {
  .attack-path-module-header { align-items: flex-start; flex-direction: column; }
  .attack-path-module-workspace { grid-template-columns: 210px minmax(0, 1fr); }
  .attack-path-graph-layout { height: auto; grid-template-columns: 1fr; }
  .attack-path-graph-canvas { height: 520px; }
  .attack-path-graph-inspector { height: auto; max-height: 460px; border-top: 1px solid #cbd4d8; border-left: 0; }
  .graph-controls { right: 14px; bottom: auto; top: 68px; }
  .attack-path-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .attack-path-facts .definition:nth-child(3) { border-right: 0; }
}

@media (max-width: 720px) {
  .attack-path-module-header { padding: 15px; }
  .attack-path-module-header dl { width: 100%; }
  .attack-path-module-header dl > div { flex: 1; padding-inline: 9px; }
  .attack-path-module-workspace { grid-template-columns: 1fr; }
  .attack-path-projects { border-right: 0; border-bottom: 1px solid var(--line); }
  .attack-path-project-list { max-height: 220px; }
  .attack-path-module-pane { padding: 9px; }
  .attack-path-directory-toolbar { grid-template-columns: 1fr; }
  .attack-path-directory-header { align-items: stretch; flex-direction: column; }
  .attack-path-version { width: 100%; min-width: 0; margin-left: 0; }
  .attack-path-evidence-help { grid-template-columns: 1fr; }
  .attack-path-investigation-header { padding: 15px; display: block; }
  .attack-path-investigation-actions { padding-top: 14px; }
  .attack-path-investigation-header h1 { font-size: 18px; }
  .attack-path-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attack-path-facts .definition { border-bottom: 1px solid var(--line); }
  .attack-path-graph-shell, .attack-path-narrative { margin-inline: 10px; }
  .attack-path-graph-header { align-items: flex-start; flex-direction: column; }
  .attack-path-graph-canvas { height: 440px; }
  .attack-path-story-grid { grid-template-columns: 1fr; }
  .attack-path-story-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .attack-path-story-grid > div:last-child { border-bottom: 0; }
  .attack-path-evidence-stage > p, .stage-evidence-meta { padding-inline: 14px; }
  .stage-source-evidence summary { padding-left: 14px; align-items: flex-start; flex-direction: column; }
}
.finding-actions { min-width: 95px; display: grid; justify-items: end; gap: 7px; }
.compact-select { width: 164px; min-height: 34px; }
.finding-taxonomy { width: fit-content; max-width: 100%; min-height: 28px; padding: 4px 6px 4px 8px; border-left: 3px solid #31759a; background: #eef4f7; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; }
.finding-taxonomy-category { color: #3c5564; font-size: 9px; font-weight: 750; text-transform: capitalize; }
.finding-cwe-list { display: flex; flex-wrap: wrap; gap: 4px; }
.finding-cwe-list span { padding: 2px 5px; border: 1px solid #b8cbd5; background: #fff; color: #245d7a; font: 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.finding-toolbar { padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f8f9fa; display: grid; grid-template-columns: minmax(210px, 2fr) repeat(6, minmax(110px, 1fr)) auto; gap: 7px; align-items: center; }
.finding-toolbar input, .finding-toolbar select { min-height: 31px; font-size: 10px; }
.finding-toolbar .secondary-button { min-height: 34px; }
.finding-results { min-height: 120px; }
.finding-pagination { min-height: 45px; padding: 7px 13px; border-top: 1px solid var(--line); background: #fafbfb; display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.finding-page-summary { color: var(--muted); font-size: 10px; }
.finding-pagination-controls { display: flex; align-items: center; gap: 8px; }
.finding-pagination-controls select { width: 112px; min-height: 34px; font-size: 11px; }
.finding-page-button { min-width: 76px; min-height: 34px; }
.finding-page-position { min-width: 88px; color: #46535c; font-size: 10px; font-weight: 700; text-align: center; }
.finding-dashboard .section-header small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.cwe-overview > .section-header small { color: var(--muted); font-size: 10px; }
.cwe-ranking { padding: 6px 0; }
.cwe-rank-row { width: 100%; min-height: 46px; padding: 0 18px; border: 0; border-bottom: 1px solid #edf0f2; background: transparent; display: grid; grid-template-columns: 88px minmax(100px, 1fr) 42px; align-items: center; gap: 14px; color: var(--ink); text-align: left; }
.cwe-rank-row:last-child { border-bottom: 0; }
.cwe-rank-row:hover { background: #f8fafb; }
.cwe-rank-row strong { font: 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.cwe-rank-track { width: 100%; height: 7px; border: 0; border-radius: 0; appearance: none; background: #e8edf0; overflow: hidden; }
.cwe-rank-track::-webkit-progress-bar { background: #e8edf0; }
.cwe-rank-track::-webkit-progress-value { background: #31759a; }
.cwe-rank-track::-moz-progress-bar { background: #31759a; }
.cwe-rank-count { color: #354651; font-size: 11px; font-weight: 750; text-align: right; }
.overview-insights > .section-header small { color: var(--muted); font-size: 10px; }
.finding-distribution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.finding-distribution { min-width: 0; padding: 16px 18px 18px; }
.finding-distribution + .finding-distribution { border-left: 1px solid var(--line); }
.finding-distribution > header { margin-bottom: 13px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.finding-distribution h3 { font-size: 13px; }
.finding-distribution header small { color: var(--muted); font-size: 9px; }
.finding-distribution-rows { display: grid; gap: 10px; }
.finding-distribution-row { display: grid; grid-template-columns: 92px minmax(80px, 1fr) 32px; align-items: center; gap: 10px; }
.finding-distribution-row > span { color: #46535c; font-size: 10px; }
.finding-distribution-row > strong { color: #354651; font-size: 10px; text-align: right; }
.finding-distribution-bar { width: 100%; height: 8px; border: 0; border-radius: 0; appearance: none; background: #e8edf0; overflow: hidden; }
.finding-distribution-bar::-webkit-progress-bar { background: #e8edf0; }
.distribution-critical::-webkit-progress-value { background: #b72742; }
.distribution-high::-webkit-progress-value { background: #d16020; }
.distribution-medium::-webkit-progress-value { background: #b98908; }
.distribution-low::-webkit-progress-value { background: #288568; }
.distribution-informational::-webkit-progress-value, .distribution-open::-webkit-progress-value { background: #31759a; }
.distribution-accepted_risk::-webkit-progress-value { background: #715d91; }
.distribution-resolved::-webkit-progress-value { background: #36815b; }
.distribution-false_positive::-webkit-progress-value { background: #78858d; }
.distribution-critical::-moz-progress-bar { background: #b72742; }
.distribution-high::-moz-progress-bar { background: #d16020; }
.distribution-medium::-moz-progress-bar { background: #b98908; }
.distribution-low::-moz-progress-bar { background: #288568; }
.distribution-informational::-moz-progress-bar, .distribution-open::-moz-progress-bar { background: #31759a; }
.distribution-accepted_risk::-moz-progress-bar { background: #715d91; }
.distribution-resolved::-moz-progress-bar { background: #36815b; }
.distribution-false_positive::-moz-progress-bar { background: #78858d; }
.overview-disclosure > summary { cursor: pointer; list-style: none; }
.overview-disclosure > summary::-webkit-details-marker { display: none; }
.overview-disclosure > summary small { margin-left: auto; color: var(--muted); font-size: 10px; }
.overview-disclosure > summary::after { width: 24px; color: var(--blue); content: "+"; font-size: 20px; font-weight: 400; text-align: right; }
.overview-disclosure[open] > summary::after { content: "−"; }
.overview-disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.overview-disclosure > summary + .table-scroll { border-top: 0; }
.remediation-dashboard .section-header small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.remediation-tabs { margin-bottom: 14px; border: 1px solid var(--line); background: #fff; }
.remediation-attempt-detail { overflow: hidden; }
.remediation-attempt-status { min-height: 52px; padding: 12px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f9fa; display: flex; align-items: center; gap: 14px; }
.remediation-attempt-status p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.remediation-attempt-detail > .definition-grid { border-bottom: 1px solid var(--line); }
.remediation-scope { padding: 16px; border-bottom: 1px solid var(--line); }
.remediation-scope > h3, .remediation-attempt-detail > .remediation-activity > h3 { margin-bottom: 10px; font-size: 12px; }
.remediation-attempt-detail > .remediation-activity, .remediation-attempt-detail > .remediation-review { margin: 0; padding: 16px; border-bottom: 1px solid var(--line); }
.remediation-attempt-detail > .remediation-controls { padding: 14px 16px; }
.remediation-selection-summary { color: var(--muted); font-size: 10px; font-weight: 700; }
.remediation-finding-selector { grid-column: 1 / -1; max-height: min(390px, 45vh); border: 1px solid var(--line); overflow-y: auto; background: #fff; }
.remediation-finding-choice { min-height: 58px; padding: 9px 12px; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 11px; border-bottom: 1px solid #edf0f2; cursor: pointer; }
.remediation-finding-choice:last-child { border-bottom: 0; }
.remediation-finding-choice:hover { background: #f6f9fa; }
.remediation-finding-choice input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--green); }
.remediation-finding-choice strong, .remediation-finding-choice small { display: block; }
.remediation-finding-choice strong { font-size: 11px; line-height: 1.4; }
.remediation-finding-choice small { margin-top: 3px; color: var(--faint); font-size: 9px; }
.remediation-toolbar { padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f8f9fa; display: grid; grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) minmax(150px, 1fr) auto; gap: 7px; align-items: center; }
.remediation-toolbar input, .remediation-toolbar select { min-height: 31px; font-size: 10px; }
.remediation-pagination { min-height: 45px; padding: 7px 13px; border-top: 1px solid var(--line); background: #fafbfb; display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.remediation-page-summary { color: var(--muted); font-size: 10px; }
.remediation-pagination-controls { display: flex; align-items: center; gap: 8px; }
.remediation-pagination-controls select { width: 112px; min-height: 34px; font-size: 11px; }
.remediation-page-button { min-width: 76px; min-height: 34px; }
.remediation-page-position { min-width: 88px; color: #46535c; font-size: 10px; font-weight: 700; text-align: center; }
.remediation-results { min-width: 0; min-height: 120px; }
.remediation-results table { min-width: 760px; table-layout: fixed; }
.remediation-results th:first-child, .remediation-results td:first-child { width: 82px; }
.remediation-results th:nth-child(2), .remediation-results td:nth-child(2) { width: 29%; }
.remediation-results th:nth-child(3), .remediation-results td:nth-child(3) { width: 15%; }
.remediation-results th:nth-child(4), .remediation-results td:nth-child(4) { width: 17%; }
.remediation-results th:nth-child(5), .remediation-results td:nth-child(5) { width: 17%; }
.remediation-results th:last-child, .remediation-results td:last-child { width: 102px; }
.remediation-finding-cell, .remediation-candidate-cell, .remediation-delivery-cell { min-width: 0; overflow-wrap: anywhere; }
.remediation-finding-cell > strong { line-height: 1.4; overflow-wrap: anywhere; }
.remediation-finding-id { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.remediation-state-cell .status { max-width: 100%; white-space: normal; }
.remediation-state-cell > small { line-height: 1.35; }
.remediation-results .remediation-delivery-summary { min-width: 0; }
.remediation-review-button { min-width: 78px; min-height: 32px; }
.remediation-set-section > .empty-state { border-top: 1px solid var(--line); }
.remediation-set-summary { min-height: 42px; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); background: #f6f8f9; color: var(--muted); font-size: 10px; }
.remediation-set-summary span { white-space: nowrap; }
.remediation-set-group { border-top: 1px solid var(--line); }
.remediation-set-group-header { min-height: 54px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.remediation-set-group-header strong, .remediation-set-group-header small { display: block; }
.remediation-set-group-header small { margin-top: 3px; color: var(--muted); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.remediation-set-history { border-top: 1px solid var(--line); }
.remediation-set-history > h3 { padding: 14px 16px 8px; font-size: 12px; }
.remediation-set-findings { width: min(420px, 36vw); min-width: 280px; display: grid; gap: 0; }
.remediation-set-finding { min-width: 0; padding: 7px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid #edf0f2; }
.remediation-set-finding:first-child { padding-top: 2px; }
.remediation-set-finding-copy { min-width: 0; }
.remediation-set-finding-copy strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.remediation-set-finding-copy small { margin-top: 3px; color: var(--faint); font-size: 9px; }
.remediation-set-finding .severity { min-width: 62px; padding: 4px 7px; font-size: 9px; }
.remediation-set-findings > .remediation-set-more { margin-top: 7px; color: var(--blue); font-size: 9px; font-weight: 700; }
.remediation-set-findings > .remediation-set-project { margin-top: 8px; color: var(--muted); font-size: 9px; }
.remediation-set-actions { min-width: 132px; flex-wrap: nowrap; }
.remediation-set-actions .quiet-button { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.remediation-delivery-summary { min-width: 118px; display: grid; justify-items: start; gap: 5px; }
.remediation-delivery-summary small { color: var(--muted); font-size: 9px; }
.delivery-link { color: #075f91; font-size: 11px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.remediation-set-section input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); }
.dialog-copy { grid-column: 1 / -1; margin: 0; line-height: 1.55; }

.integration-workspace { overflow: hidden; }
.integration-hero { min-height: 92px; padding: 17px 19px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; }
.integration-hero-identity { min-width: 0; display: flex; align-items: center; gap: 13px; }
.integration-hero-identity .eyebrow { margin-bottom: 3px; }
.integration-hero-identity h2 { font-size: 16px; }
.integration-hero-identity small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.github-mark { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: #24292f; color: #fff; font-size: 11px; font-weight: 800; }
.integration-actions { justify-content: flex-end; }
.integration-health-strip { display: grid; grid-template-columns: .72fr 1.08fr 1fr .9fr .9fr; border-bottom: 1px solid var(--line); background: #f8fafb; }
.integration-health-item { min-width: 0; min-height: 102px; padding: 14px 15px; border-right: 1px solid var(--line); display: flex; align-items: flex-start; flex-direction: column; }
.integration-health-item:last-child { border-right: 0; }
.integration-health-item > span:first-child { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.integration-health-item > strong { max-width: 100%; margin-top: 10px; overflow: hidden; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.integration-health-item > .status { margin-top: 8px; }
.integration-health-item > small { width: 100%; margin-top: auto; padding-top: 8px; overflow: hidden; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.integration-capability-section { background: #fff; }
.integration-capability-section > header { min-height: 54px; padding: 12px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.integration-capability-section > header strong, .integration-capability-section > header small { display: block; }
.integration-capability-section > header strong { font-size: 11px; }
.integration-capability-section > header small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.integration-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.integration-capability { min-width: 0; min-height: 112px; padding: 16px; border-right: 1px solid var(--line); display: grid; grid-template-columns: 25px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 10px; }
.integration-capability:last-child { border-right: 0; }
.integration-capability-index { color: var(--accent); font-size: 8px; font-weight: 800; }
.integration-capability > div { min-width: 0; }
.integration-capability > div strong { font-size: 11px; }
.integration-capability > div p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.integration-capability > .status { width: max-content; grid-column: 2; }
.integration-policy-bar { min-height: 78px; padding: 13px 17px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 13px; background: #fff; }
.integration-policy-mark { width: 34px; height: 34px; border: 1px solid #b8c4ca; border-radius: 4px; display: grid; place-items: center; background: #f4f7f8; color: #426173; font-size: 8px; font-weight: 800; }
.integration-policy-bar span, .integration-policy-bar strong, .integration-policy-bar small { display: block; }
.integration-policy-bar span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.integration-policy-bar strong { margin-top: 3px; font-size: 11px; }
.integration-policy-bar small { margin-top: 3px; color: var(--faint); font-size: 8px; }
.integration-policy-warning { padding: 12px 16px; border-top: 1px solid #ead7a2; border-left: 3px solid var(--amber); background: #fff9e8; }
.integration-policy-warning strong { display: block; font-size: 10px; }
.integration-policy-warning p { margin: 4px 0 0; color: #6e5a22; font-size: 9px; line-height: 1.5; }

input, select, textarea { width: 100%; min-width: 0; border: 1px solid #c5cdd4; border-radius: 4px; background: #fff; color: var(--ink); font-size: 10px; }
input, select { min-height: 32px; padding: 0 8px; }
textarea { min-height: 78px; padding: 9px; resize: vertical; line-height: 1.5; }
.field { min-width: 0; display: grid; align-content: start; gap: 6px; }
.field > span { color: #36414a; font-size: 10px; font-weight: 700; }
.field > small { color: var(--faint); font-size: 10px; line-height: 1.45; }
.field-wide { grid-column: 1 / -1; }
.provider-guidance { padding: 12px 14px; border-left: 3px solid var(--blue); background: #f1f5f7; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.provider-guidance div { min-width: 0; }
.provider-guidance span, .provider-guidance strong, .provider-guidance code { display: block; }
.provider-guidance span { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.provider-guidance strong, .provider-guidance code { font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.provider-guidance code { color: #28516c; }
.provider-guidance p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.target-guidance { border-left-color: var(--green); }
.scan-profile-field { margin: 0; padding: 0; border: 0; }
.scan-profile-field legend { margin-bottom: 8px; padding: 0; color: #36414a; font-size: 11px; font-weight: 700; }
.scan-profile-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #cbd1d5; border-radius: 5px; overflow: hidden; }
.scan-profile-option { position: relative; min-width: 0; min-height: 76px; border-right: 1px solid #cbd1d5; background: #fff; }
.scan-profile-option:last-child { border-right: 0; }
.scan-profile-option input { position: absolute; width: 1px; min-height: 1px; opacity: 0; pointer-events: none; }
.scan-profile-choice { min-height: 76px; padding: 11px; display: block; cursor: pointer; }
.scan-profile-copy { display: grid; gap: 6px; }
.scan-profile-option:has(.scan-profile-settings) .scan-profile-copy { padding-right: 27px; }
.scan-profile-copy strong { font-size: 12px; }
.scan-profile-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.scan-profile-settings { position: absolute; z-index: 1; top: 7px; right: 7px; width: 27px; min-height: 27px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #8f2f20; font-size: 15px; line-height: 1; }
.scan-profile-settings:hover { border-color: #dfb3aa; background: #fff; }
.scan-profile-settings:disabled { cursor: not-allowed; opacity: .38; }
.scan-profile-option:hover { background: #f6f8f9; }
.scan-profile-option:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: -2px; }
.scan-profile-option:has(input:checked) { background: #edf5f9; box-shadow: inset 0 3px 0 var(--blue); }
.scan-profile-option:has(input:disabled) { background: #f4f5f6; color: var(--muted); cursor: not-allowed; opacity: .62; }
.scan-profile-option:has(input:disabled) .scan-profile-choice { cursor: not-allowed; }
.scan-profile-option:has(input:disabled):hover { background: #f4f5f6; }
.scan-profile-option-warning:has(input:checked) { background: #fff2ee; box-shadow: inset 0 3px 0 #b6412c; }
.scan-profile-option-warning .scan-profile-copy strong { color: #8f2f20; }
.scan-compatibility-note { padding: 12px 14px; border-left: 3px solid #9a6700; background: #fff8db; }
.scan-compatibility-note strong { display: block; margin-bottom: 4px; font-size: 12px; }
.scan-compatibility-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.scan-profile-note { color: #8f2f20 !important; }
.compact-dialog { width: min(560px, calc(100vw - 28px)); }
.extreme-capacity-summary { padding: 12px 14px; border-left: 3px solid var(--orange); background: #fff5ef; }
.extreme-capacity-summary strong { display: block; color: #7d2b17; font-size: 12px; }
.extreme-capacity-summary p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.dialog-leading-action { margin-right: auto; }

#form-dialog:has(.scan-wizard-progress) { width: min(820px, calc(100vw - 28px)); }
.scan-wizard-progress { grid-column: 1 / -1; margin: 0; padding: 0 0 17px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.scan-wizard-progress li { min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; color: var(--faint); }
.scan-wizard-progress li > span { width: 26px; height: 26px; border: 1px solid #bec7ce; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 11px; font-weight: 750; }
.scan-wizard-progress strong, .scan-wizard-progress small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-wizard-progress strong { font-size: 11px; }
.scan-wizard-progress small { margin-top: 2px; font-size: 9px; }
.scan-wizard-progress li.active { color: var(--ink); }
.scan-wizard-progress li.active > span { border-color: var(--blue); background: var(--blue); color: #fff; }
.scan-wizard-progress li.complete > span { border-color: var(--green); background: #e8f5ed; color: var(--green); }
.scan-wizard-step { grid-column: 1 / -1; min-width: 0; }
.scan-wizard-heading { margin-bottom: 18px; }
.scan-wizard-heading h3 { font-size: 15px; }
.scan-wizard-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.scan-wizard-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scan-review { grid-column: 1 / -1; display: grid; gap: 14px; }
.scan-review .definition-grid { grid-template-columns: 1fr 1fr; }
.scan-review-warning { padding: 12px 14px; border-left: 3px solid var(--orange); background: #fff5ef; color: #7d3210; font-size: 12px; line-height: 1.5; }
.component-plan-review { min-width: 0; border: 1px solid var(--line); background: #fff; }
.component-plan-heading { min-height: 55px; padding: 11px 13px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f7f9fa; }
.component-plan-heading span, .component-plan-heading strong { display: block; }
.component-plan-heading span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.component-plan-heading strong { margin-top: 3px; font-size: 12px; }
.component-plan-heading > small { color: var(--muted); font-size: 10px; }
.component-plan-list { display: grid; }
.component-plan-item { min-width: 0; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.component-plan-item:last-child { border-bottom: 0; }
.component-plan-item > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.component-plan-item > header strong, .component-plan-item > header small { display: block; }
.component-plan-item > header strong { font-size: 11px; }
.component-plan-item > header small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.component-plan-selector { min-width: 0; display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 8px; cursor: pointer; }
.component-plan-selector input { width: 14px; min-height: 14px; margin-top: 1px; }
.component-plan-item-excluded { background: #f7f8f9; }
.component-plan-item-excluded .component-plan-selector > span, .component-plan-item-excluded .component-plan-count, .component-plan-item-excluded .component-plan-paths { opacity: .55; }
.component-plan-count { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--muted); font-size: 9px; }
.component-plan-size-warning { padding: 2px 5px; border: 1px solid #d8c98e; background: #fff9df; color: #67561d; font-weight: 750; text-transform: uppercase; }
.component-plan-paths { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.component-plan-paths code { max-width: 100%; padding: 3px 5px; border: 1px solid #d8dee2; background: #f8fafb; color: #33434d; font: 9px/1.4 var(--mono); overflow-wrap: anywhere; }
.component-plan-exclusions { border-top: 1px solid var(--line); background: #fbfcfc; }
.component-plan-exclusions summary { min-height: 52px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.component-plan-exclusions summary strong, .component-plan-exclusions summary small { display: block; }
.component-plan-exclusions summary strong { font-size: 10px; }
.component-plan-exclusions summary small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.component-plan-exclusions summary > span:last-child { flex: none; color: var(--blue); font-size: 9px; font-weight: 750; }
.component-plan-exclusions > p { margin: 0; padding: 10px 13px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.component-plan-exclusion-list { padding: 8px 13px 12px; display: grid; }
.component-plan-exclusion { min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 8px; cursor: pointer; }
.component-plan-exclusion:last-child { border-bottom: 0; }
.component-plan-exclusion input { width: 14px; min-height: 14px; margin-top: 1px; }
.component-plan-exclusion strong, .component-plan-exclusion small { display: block; }
.component-plan-exclusion code { color: var(--ink); font: 9px/1.4 var(--mono); overflow-wrap: anywhere; }
.component-plan-exclusion small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }

.scan-workspace { min-height: calc(100vh - 112px); border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.scan-workspace-header { min-height: 84px; padding: 14px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.scan-back { min-height: 28px; margin: 0 0 5px -8px; }
.scan-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.scan-title-row h2 { font-size: 15px; }
.scan-workspace-header p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.scan-workspace-actions { justify-content: flex-end; }
.scan-workspace-tabs { min-height: 39px; padding: 0 16px; border-bottom: 1px solid var(--line); display: flex; align-items: stretch; gap: 20px; overflow-x: auto; }
.scan-workspace-tabs button { min-width: max-content; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; }
.scan-workspace-tabs button.active { border-bottom-color: var(--accent); color: var(--ink); font-weight: 750; }
.scan-workspace-panel { min-width: 0; padding: 16px; }
.scan-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scan-summary-grid .definition:nth-child(2n) { border-right: 1px solid var(--line); }
.scan-summary-grid .definition:nth-child(3n) { border-right: 0; }
.scan-notice { margin-top: 18px; padding: 15px 17px; border-left: 3px solid var(--amber); background: #fff8e7; }
.scan-notice h3 { margin-bottom: 8px; }
.scan-notice ul { margin: 0; padding-left: 18px; color: #5e4a12; font-size: 12px; line-height: 1.6; }
.scan-policy-disclosure { margin-top: 18px; border: 1px solid var(--line); background: #f8fafb; }
.scan-policy-disclosure summary { min-height: 62px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style-position: inside; }
.scan-policy-disclosure summary div { min-width: 0; }
.scan-policy-disclosure summary span, .scan-policy-disclosure summary strong { display: block; }
.scan-policy-disclosure summary span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.scan-policy-disclosure summary strong { margin-top: 5px; font-size: 12px; }
.scan-policy-disclosure summary small { flex: none; color: var(--blue); font-size: 10px; font-weight: 700; }
.scan-policy-disclosure[open] summary { border-bottom: 1px solid var(--line); }
.scan-policy-disclosure pre { max-height: 320px; margin: 0; padding: 15px; overflow: auto; background: #fff; color: var(--ink); font: 11px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.scan-phase-track { display: grid; grid-template-columns: repeat(8, minmax(90px, 1fr)); overflow-x: auto; border: 1px solid var(--line); }
.scan-phase-step { min-width: 90px; min-height: 74px; padding: 13px 10px; border-right: 1px solid var(--line); display: grid; align-content: center; justify-items: center; gap: 7px; color: var(--faint); text-align: center; }
.scan-phase-step:last-child { border-right: 0; }
.scan-phase-step span { width: 22px; height: 22px; border: 1px solid #bbc4cb; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.scan-phase-step strong { font-size: 10px; }
.scan-phase-step.complete { background: #f0f8f3; color: var(--green); }
.scan-phase-step.complete span { border-color: var(--green); background: var(--green); color: #fff; }
.scan-phase-step.active { background: #edf5f9; color: var(--blue); }
.scan-phase-step.active span { border-color: var(--blue); background: var(--blue); color: #fff; }
.scan-activity-summary { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch; border: 1px solid var(--line); }
.scan-activity-summary .definition { border-bottom: 0; }
.scan-activity-summary > button { align-self: center; margin: 0 16px; }
.scan-report { max-height: none; min-height: 420px; }
.artifact-list { border: 1px solid var(--line); }
.artifact-row { min-height: 56px; padding: 10px 13px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.artifact-row:last-child { border-bottom: 0; }
.artifact-row strong, .artifact-row small { display: block; }
.artifact-row strong { font-size: 12px; }
.artifact-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.validation-workspace-body { padding: 22px; }
.validation-workspace-body > .scan-summary-grid { margin-bottom: 22px; border: 1px solid var(--line); }
.validation-report-section, .validation-artifact-section { margin-top: 22px; border: 1px solid var(--line); }
.validation-section-header { min-height: 68px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #f7f9fa; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.validation-section-header h3 { margin-top: 3px; font-size: 15px; }
.artifact-count { flex: none; color: var(--muted); font-size: 10px; font-weight: 700; }
.markdown-document { max-width: 920px; padding: 20px; color: #303941; font-size: 12px; line-height: 1.7; }
.markdown-document > :first-child { margin-top: 0; }
.markdown-document > :last-child { margin-bottom: 0; }
.markdown-document h2, .markdown-document h3, .markdown-document h4, .markdown-document h5, .markdown-document h6 { margin: 22px 0 8px; color: var(--ink); letter-spacing: 0; }
.markdown-document h2 { font-size: 19px; }
.markdown-document h3 { font-size: 16px; }
.markdown-document h4 { font-size: 14px; }
.markdown-document p, .markdown-document ul, .markdown-document ol, .markdown-document blockquote, .markdown-document pre, .markdown-document .table-scroll { margin: 10px 0; }
.markdown-document ul, .markdown-document ol { padding-left: 24px; }
.markdown-document li + li { margin-top: 5px; }
.markdown-document li > p { margin: 3px 0; }
.markdown-document .markdown-task-list { padding-left: 0; list-style: none; }
.markdown-document .markdown-task-item { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 9px; }
.markdown-document .markdown-task-item + .markdown-task-item { margin-top: 8px; }
.markdown-task-state { width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.markdown-task-state.correct { background: var(--green); }
.markdown-task-state.incorrect { background: var(--accent); }
.markdown-list-item-content { min-width: 0; padding: 0; }
.markdown-list-item-content > :first-child { margin-top: 0; }
.markdown-list-item-content > :last-child { margin-bottom: 0; }
.markdown-document code { padding: 2px 4px; border: 1px solid #cfe2eb; border-radius: 2px; background: #edf7fb; color: #174f6b; font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.markdown-document pre { max-height: 520px; padding: 14px; overflow: auto; background: #171b1f; color: #e1e7eb; }
.markdown-document pre code { padding: 0; background: transparent; color: inherit; white-space: pre; }
.markdown-document blockquote { padding: 8px 14px; border-left: 3px solid #8aa9bb; background: #f2f7f9; color: #435560; }
.markdown-document hr { margin: 20px 0; border: 0; border-top: 1px solid var(--line); }
.markdown-document table { min-width: 620px; }
.markdown-document th, .markdown-document td { padding: 8px 10px; }
.markdown-document a { color: var(--blue); }
.markdown-align-center { text-align: center; }
.markdown-align-right { text-align: right; }
.markdown-align-left { text-align: left; }
.validation-artifact-intro { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.55; }
.validation-artifact-list { min-width: 0; }
.validation-artifact-item { border-bottom: 1px solid var(--line); }
.validation-artifact-item:last-child { border-bottom: 0; }
.validation-artifact-item > header { min-height: 68px; padding: 11px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.validation-artifact-item strong, .validation-artifact-item small { display: block; }
.validation-artifact-item strong { overflow-wrap: anywhere; font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.validation-artifact-item small { margin-top: 4px; color: var(--muted); font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.validation-artifact-preview { max-height: 520px; margin: 0; padding: 14px 16px; overflow: auto; border-top: 1px solid #343b41; background: #171b1f; color: #dfe6ea; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.validation-artifact-omissions { padding: 11px 15px; border-top: 1px solid var(--line); background: #fff8e7; color: #5e4a12; font-size: 10px; }
.validation-artifact-omissions summary { cursor: pointer; font-weight: 700; }
.validation-artifact-omissions ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.55; }

dialog { width: min(700px, calc(100vw - 28px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 6px; box-shadow: 0 24px 75px rgb(0 0 0 / 28%); }
dialog::backdrop { background: rgb(20 22 24 / 48%); }
.dialog-header { min-height: 53px; padding: 10px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.dialog-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.dialog-footer { min-height: 51px; padding: 9px 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.member-list { max-height: 180px; overflow-y: auto; border: 1px solid var(--line); }
.member-row { min-height: 48px; padding: 8px 11px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.member-row:last-child { border-bottom: 0; }
.member-row strong, .member-row small { display: block; }
.member-row strong { font-size: 12px; }
.member-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgb(24 26 29 / 28%); }
.drawer { position: fixed; z-index: 40; top: 0; right: 0; width: min(640px, 100vw); height: 100vh; overflow-y: auto; background: #fff; box-shadow: -16px 0 48px rgb(0 0 0 / 16%); transform: translateX(102%); transition: transform .18s ease; }
.drawer.open { transform: translateX(0); }
.drawer-header { position: sticky; z-index: 2; top: 0; min-height: 58px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; }
.drawer-content { padding: 16px; }
.drawer-actions { margin-top: 15px; }
.drawer-section { margin-top: 24px; }
.drawer-section > h3 { margin-bottom: 9px; }
.drawer-section .finding-list { border: 1px solid var(--line); }
.drawer-section .finding-item { grid-template-columns: 68px minmax(0, 1fr); }
.drawer-section .finding-actions { grid-column: 2; display: flex; justify-self: end; }
.finding-review-header { margin-bottom: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.finding-review-header h2 { font-size: 17px; line-height: 1.3; }
.finding-review-header p { margin: 5px 0 0; color: var(--muted); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.finding-review-section > p { margin: 0; color: #3f464c; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.remediation-workspace { min-width: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.remediation-header { min-height: 50px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.remediation-header h3 { margin-top: 3px; font-size: 15px; }
.remediation-intro { margin: 8px 0 14px; color: #4a555e; font-size: 11px; line-height: 1.6; }
.remediation-danger-notice { margin: 0 0 14px; padding: 9px 11px; border-left: 3px solid var(--accent); background: #fff0f1; color: #76232c; font-size: 10px; line-height: 1.55; }
.remediation-baseline-notice { margin: 12px 0 14px; padding: 9px 11px; border-left: 3px solid #ad7800; background: #fff8df; color: #664800; font-size: 10px; line-height: 1.55; }
.remediation-definitions { margin-top: 12px; border: 1px solid var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.remediation-definitions .definition:nth-child(n) { min-height: 58px; border-right: 1px solid var(--line); }
.remediation-definitions .definition:nth-child(3n) { border-right: 0; }
.remediation-activity { margin-top: 14px; border: 1px solid var(--line); }
.remediation-activity h4 { padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f6f8f9; font-size: 11px; }
.remediation-timeline { margin: 0; padding: 0; list-style: none; }
.remediation-event { position: relative; min-height: 42px; padding: 8px 12px 8px 31px; border-bottom: 1px solid #edf0f2; }
.remediation-event:last-child { border-bottom: 0; }
.remediation-event::before { position: absolute; top: 15px; left: 13px; width: 7px; height: 7px; border-radius: 50%; background: #80909a; content: ""; }
.remediation-event.event-completed::before, .remediation-event.event-ready_for_review::before, .remediation-event.event-approved::before, .remediation-event.event-exported::before { background: var(--green); }
.remediation-event.event-running::before, .remediation-event.event-generating::before, .remediation-event.event-verifying::before, .remediation-event.event-queued::before { background: var(--blue); }
.remediation-event.event-failed::before, .remediation-event.event-rejected::before { background: var(--accent); }
.remediation-event span, .remediation-event strong { display: block; }
.remediation-event span { color: var(--faint); font-size: 9px; }
.remediation-event strong { margin-top: 3px; color: #3c464e; font-size: 10px; font-weight: 600; }
.remediation-error { margin-top: 14px; }
.remediation-review { margin-top: 14px; min-width: 0; border: 1px solid var(--line); }
.remediation-review > header { min-height: 50px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f6f8f9; display: flex; align-items: center; justify-content: space-between; }
.remediation-review > header h4, .remediation-review > header small { display: block; }
.remediation-review > header h4 { font-size: 12px; }
.remediation-review > header small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.remediation-files { padding: 10px 12px 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.remediation-files:empty { display: none; }
.remediation-files code { max-width: 100%; padding: 4px 6px; border: 1px solid #d7dde1; background: #f7f8f9; color: #34424c; font: 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.remediation-file-review { min-width: 0; }
.remediation-file-button { min-width: 0; min-height: 29px; padding: 0; border: 1px solid #d7dde1; border-radius: 3px; display: flex; align-items: stretch; overflow: hidden; background: #f7f8f9; color: #34424c; }
.remediation-file-button:hover, .remediation-file-button.active { border-color: #7e9aaa; background: #eef5f8; }
.remediation-file-button.locked { border-color: var(--blue); box-shadow: inset 0 -2px var(--blue); }
.remediation-file-button code { min-width: 0; max-width: 300px; padding: 6px 7px; border: 0; overflow: hidden; background: transparent; text-overflow: ellipsis; white-space: nowrap; }
.remediation-file-button > span { padding: 0 6px; border-left: 1px solid #d7dde1; display: flex; align-items: center; gap: 5px; font-size: 8px; }
.remediation-file-button b { color: var(--green); font-weight: 750; }
.remediation-file-button i { color: var(--accent); font-style: normal; font-weight: 750; }
.remediation-file-preview { margin: 5px 12px 10px; border: 1px solid #cbd3d8; background: #fff; }
.remediation-file-preview > header { min-height: 36px; padding: 7px 10px; border-bottom: 1px solid #343a40; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #26313a; color: #f0f4f6; }
.remediation-file-preview > header strong { min-width: 0; overflow: hidden; font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.remediation-file-preview > header span { flex: none; color: #b7c3ca; font-size: 8px; text-transform: capitalize; }
.remediation-file-preview .patch-diff { max-height: 300px; border-top: 0; }
.patch-digest { padding: 8px 12px 11px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: start; }
.patch-digest span { color: var(--muted); font-size: 9px; font-weight: 700; }
.patch-digest code { min-width: 0; color: #3d4952; font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.verification-report, .patch-review { border-top: 1px solid var(--line); }
.verification-report summary, .patch-review summary { padding: 10px 12px; background: #fafbfb; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 700; }
.verification-report > .markdown-document { max-width: none; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 11px; }
.verification-report > .markdown-document h2 { font-size: 16px; }
.verification-report > .markdown-document h3 { font-size: 14px; }
.verification-report > .markdown-document h4 { font-size: 12px; }
.artifact-document-unavailable { margin: 0; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.patch-diff { max-height: 520px; overflow: auto; border-top: 1px solid #343a40; background: #14181b; color: #dce3e8; font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.patch-line { min-width: max-content; padding: 0 12px; white-space: pre; }
.patch-line code { white-space: pre; }
.patch-addition { background: #173326; color: #b9e6c9; }
.patch-deletion { background: #3c2228; color: #f0c1c8; }
.patch-header { background: #23303a; color: #9dd0ee; }
.patch-file { color: #d9bf7d; }
.remediation-controls { margin-top: 14px; }
.remediation-delivery-note { margin: 10px 0 0; padding: 9px 11px; border-left: 3px solid var(--blue); background: #eef6fa; color: #31586b; font-size: 10px; line-height: 1.5; }
.remediation-attempts { margin: 12px 0 0; color: var(--faint); font-size: 9px; }
.finding-validations > .muted { margin: 5px 0 10px; font-size: 10px; line-height: 1.5; }
.finding-validation-result { padding: 10px 0; border-top: 1px solid var(--line); }
.finding-validation-result > div:first-child { display: flex; align-items: center; gap: 8px; }
.finding-validation-result strong { font-size: 11px; text-transform: capitalize; }
.finding-validation-result small { margin-left: auto; color: var(--faint); font-size: 9px; }
.finding-validation-result > .quiet-button { margin-top: 8px; }
.finding-validation-report { margin-top: 8px; max-height: 360px; overflow: auto; border: 1px solid var(--line); }
.finding-validation-report .report-pre { margin: 0; border: 0; }
.scanner-code-evidence article { margin-top: 10px; border: 1px solid var(--line); }
.scanner-code-evidence article > header { padding: 8px 10px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: #f6f8f9; }
.scanner-code-evidence article > header strong { font-size: 10px; }
.scanner-code-evidence article > header small { color: var(--faint); font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.scanner-code-evidence article > .report-pre { margin: 0; border: 0; border-bottom: 1px solid var(--line); }
.scanner-code-evidence article > p { padding: 9px 10px; font-size: 10px; line-height: 1.5; }
.finding-control-list { margin: 7px 0 0 18px; color: #3c464e; font-size: 10px; line-height: 1.55; }
.source-evidence { min-width: 0; }
.source-evidence-notice, .source-evidence-unavailable { margin: 0 0 10px !important; padding: 9px 11px; border-left: 3px solid var(--amber); background: #fff8e7; color: #5e4a12 !important; font-size: 10px !important; overflow-wrap: anywhere; }
.source-evidence-notice.verified { border-left-color: var(--green); background: #edf7f1; color: #285c3e !important; }
.source-evidence-header { min-height: 44px; padding: 8px 11px; border: 1px solid #cfd6dc; border-bottom: 0; background: #f4f6f7; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-evidence-header:not(:first-of-type) { margin-top: 14px; }
.source-evidence-header strong { min-width: 0; overflow-wrap: anywhere; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-evidence-header small { flex: none; color: var(--muted); font-size: 9px; }
.source-code { max-height: 460px; overflow: auto; border: 1px solid #cfd6dc; background: #15191d; color: #dce3e8; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-line { min-width: max-content; display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.source-line-number { padding: 1px 10px; border-right: 1px solid #333a40; color: #7f8a93; text-align: right; user-select: none; }
.source-line code { padding: 1px 12px; white-space: pre; }
.source-line.finding-line { background: #40232a; }
.source-line.finding-line .source-line-number { border-right-color: #854452; background: #542a34; color: #f1bdc7; }
.latest-findings > .section-header { padding: 13px 16px; }
.latest-findings > .section-header small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.project-imports > .section-header { padding: 13px 16px; }
.project-imports > .section-header small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.project-imports table { min-width: 940px; }
.project-imports td > small { display: block; margin-top: 3px; color: var(--faint); font-size: 9px; }
.import-diagnostics { border-top: 1px solid var(--line); }
.import-diagnostics details { border-bottom: 1px solid var(--line); }
.import-diagnostics details:last-child { border-bottom: 0; }
.import-diagnostics summary { padding: 12px 16px; color: #33444f; cursor: pointer; font-size: 10px; font-weight: 700; }
.import-diagnostics ol { max-height: 260px; margin: 0; padding: 0 34px 14px 50px; overflow: auto; color: var(--muted); font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.import-decision-list { padding: 0 16px 10px; display: grid; }
.import-decision { min-width: 0; padding: 9px 0; border-top: 1px solid #edf0f2; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.import-decision strong, .import-decision small { display: block; }
.import-decision strong { font-size: 11px; }
.import-decision small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.import-diagnostic-summary { border-top: 1px solid #edf0f2; }
.import-diagnostic-summary > header, .import-diagnostic-group > header { padding: 11px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.import-diagnostic-summary > header strong, .import-diagnostic-summary > header small, .import-diagnostic-group > header strong, .import-diagnostic-group > header small { display: block; }
.import-diagnostic-summary > header strong, .import-diagnostic-group > header strong { font-size: 11px; }
.import-diagnostic-summary > header small, .import-diagnostic-group > header small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.import-diagnostic-group { border-top: 1px solid #edf0f2; }
.import-diagnostic-count { padding: 4px 7px; border-radius: 4px; font-size: 9px; font-weight: 750; text-transform: uppercase; white-space: nowrap; }
.import-diagnostic-count.excluded { background: #eef3f5; color: #4e626d; }
.import-diagnostic-count.malformed { background: #fff0ed; color: #a43a29; }
.import-preview-summary { padding: 13px 15px; border-left: 3px solid var(--blue); background: #f1f5f7; }
.import-preview-summary strong { font-size: 12px; }
.import-preview-summary p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.import-tool-list { max-height: min(440px, 48vh); overflow: auto; border: 1px solid var(--line); }
.import-tool-row { min-width: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 260px); align-items: end; gap: 18px; }
.import-tool-row:last-child { border-bottom: 0; }
.import-tool-identity { min-width: 0; }
.import-tool-identity strong, .import-tool-identity small { display: block; overflow-wrap: anywhere; }
.import-tool-identity strong { font-size: 12px; }
.import-tool-identity small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.import-tool-choice { display: grid; gap: 5px; }
.import-tool-choice > span { color: #36414a; font-size: 10px; font-weight: 700; }
.import-policy-choice { padding: 11px 13px; border: 1px solid var(--line); background: #fafbfb; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.import-policy-choice input { width: 16px; min-height: 16px; margin-top: 1px; accent-color: var(--green); }
.import-policy-choice strong, .import-policy-choice small { display: block; }
.import-policy-choice strong { font-size: 11px; }
.import-policy-choice small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.report-pre { max-height: 480px; margin: 0; padding: 15px; overflow: auto; border: 1px solid var(--line); background: #f6f7f8; color: #34393e; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

.activity-dialog { width: min(1040px, calc(100vw - 28px)); background: #171a1d; color: #edf1f3; }
.activity-dialog .dialog-header { border-color: #373c42; background: #202429; }
.activity-dialog .eyebrow { color: #98a2aa; }
.activity-dialog .icon-button { color: #c5cbd0; }
.activity-context { margin: 0; padding: 9px 18px; border-bottom: 1px solid #373c42; background: #1c2024; color: #aeb7bd; font-size: 10px; line-height: 1.45; }
.activity-phases { display: grid; grid-template-columns: repeat(8, minmax(76px, 1fr)); overflow-x: auto; border-bottom: 1px solid #373c42; background: #202429; }
.activity-phase { min-width: 82px; padding: 10px 8px; border: 0; border-right: 1px solid #373c42; background: transparent; color: #8f99a1; font-size: 10px; line-height: 1.25; text-align: center; white-space: nowrap; }
.activity-phase:not(:disabled) { cursor: pointer; }
.activity-phase:disabled { opacity: 1; cursor: default; }
.activity-phase::before { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border: 1px solid #69737b; border-radius: 50%; content: ""; vertical-align: 0; }
.activity-phase.complete { color: #b9c1c7; }
.activity-phase.complete::before { border-color: #55a477; background: #55a477; }
.activity-phase.active { color: #f1f5f7; background: #292e33; }
.activity-phase.active::before { border-color: #71b4df; background: #71b4df; }
.activity-phase.failed { color: #f0b4ae; }
.activity-phase.failed::before { border-color: #d16f66; background: #d16f66; }
.terminal { height: min(620px, calc(100vh - 170px)); padding: 15px 18px; overflow: auto; background: #151719; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-line { min-width: 0; display: grid; grid-template-columns: 84px 116px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid #262a2e; }
.terminal-line time { color: #79838b; }
.terminal-kind { color: #73b7e6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.terminal-line p { margin: 0; color: #d7dde1; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-checkpoint { border-left: 2px solid #c99a42; padding-left: 8px; }
.terminal-checkpoint .terminal-kind, .terminal-checkpoint p { color: #d8bd87; }
.terminal-result { border-left: 2px solid #55a477; padding-left: 8px; }
.terminal-result .terminal-kind, .terminal-result p { color: #9dd0b1; }
.terminal-line.phase-target { background: #26333c; }
.terminal-muted { color: #8f989f; }
.toast { position: fixed; z-index: 100; right: 18px; bottom: 18px; max-width: 380px; padding: 12px 15px; border-left: 3px solid var(--green); border-radius: 4px; background: #202830; color: #fff; box-shadow: 0 8px 25px rgb(0 0 0 / 20%); font-size: 12px; }


.guide-introduction { min-width: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; background: #fff; display: grid; grid-template-columns: minmax(250px, .8fr) minmax(520px, 1.2fr); align-items: center; gap: 30px; }
.guide-introduction h2 { font-size: 20px; }
.guide-introduction > div > p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.guide-concept-flow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.guide-concept-flow li { position: relative; min-width: 0; min-height: 68px; padding: 11px; border-left: 1px solid var(--line); display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; }
.guide-concept-flow li::after { position: absolute; top: 50%; right: -4px; z-index: 1; width: 7px; height: 7px; border-top: 1px solid #9ba7ae; border-right: 1px solid #9ba7ae; content: ""; transform: rotate(45deg); }
.guide-concept-flow li:last-child::after { display: none; }
.guide-concept-flow li > span { color: var(--blue); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.guide-concept-flow strong, .guide-concept-flow small { display: block; }
.guide-concept-flow strong { font-size: 11px; }
.guide-concept-flow small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.guide-index { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9fa; display: flex; align-items: center; gap: 24px; }
.guide-index a { color: var(--blue); font-size: 10px; font-weight: 700; text-decoration: none; }
.guide-index a:hover { text-decoration: underline; }
.guide-section { min-width: 0; scroll-margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.guide-section-header { padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.guide-section-header h2 { font-size: 16px; }
.guide-section-header > p:last-child { max-width: 820px; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.guide-section .table-scroll { border: 0; }
.guide-section table { min-width: 900px; table-layout: fixed; }
.guide-section th:first-child { width: 18%; }
.guide-section td { height: auto; padding-block: 10px; line-height: 1.45; vertical-align: top; }
.guide-section td span { color: #4f5d66; }
.guide-callout { padding: 13px 18px; border-top: 1px solid #cbdde7; background: #f1f7fa; }
.guide-callout strong { color: #194f6d; font-size: 11px; }
.guide-callout p { margin: 5px 0 0; color: #4e6674; font-size: 10px; line-height: 1.55; }
.guide-callout-neutral { border-color: var(--line); background: #f7f8f9; }
.guide-callout-neutral strong { color: var(--ink); }
.guide-callout-neutral p { color: var(--muted); }
.guide-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-mode-grid > article { min-width: 0; padding: 17px 18px; border-right: 1px solid var(--line); }
.guide-mode-grid > article:last-child { border-right: 0; }
.guide-mode-grid header span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.guide-mode-grid h3 { margin-top: 5px; font-size: 14px; }
.guide-mode-grid > article > p { min-height: 50px; margin: 9px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.guide-mode-grid dl, .guide-mode-grid dl div { margin: 0; }
.guide-mode-grid dl div { padding: 9px 0; border-top: 1px solid #e7ebee; }
.guide-mode-grid dt { color: var(--ink); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.guide-mode-grid dd { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.guide-validation-notes { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.guide-validation-notes article { padding: 14px 18px; }
.guide-validation-notes article + article { border-left: 1px solid var(--line); }
.guide-validation-notes strong { font-size: 11px; }
.guide-validation-notes p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

/* Security operations interface foundation */
.app-shell { grid-template-columns: 232px minmax(0, 1fr); background: var(--canvas); }
.sidebar { padding: 20px 13px 16px; border-right: 1px solid #263641; background: var(--sidebar); }
.sidebar-brand { min-height: 54px; padding: 0 10px 20px; }
.sidebar-brand .product-logo { width: 40px; }
.sidebar-brand strong { color: #f4f7f8; font-size: 14px; font-weight: 600; }
.sidebar-brand small { margin-top: 3px; color: #84939e; font-size: 9px; }
.org-picker { gap: 7px; padding: 0 7px 21px; }
.org-picker span, .nav-section-label { color: #70818d; font-size: 8px; font-weight: 600; text-transform: uppercase; }
.org-picker select { min-height: 38px; padding-inline: 10px 28px; border-color: #344651; border-radius: 3px; background: var(--sidebar-raised); color: #edf2f4; font-size: 10px; }
.navigation { gap: 2px; }
.nav-section-label { min-height: 29px; padding: 12px 10px 5px; display: flex; align-items: flex-end; }
.nav-section-label:first-child { padding-top: 3px; }
.nav-button { min-height: 36px; padding: 0 11px; position: relative; border-left: 0; border-radius: 3px; color: #a8b4bc; font-size: 10px; font-weight: 500; }
.nav-button::before { width: 2px; position: absolute; top: 8px; bottom: 8px; left: 0; background: transparent; content: ""; }
.nav-button:hover { background: #15232c; color: #f3f6f7; }
.nav-button.active { background: #1c2a34; color: #fff; }
.nav-button.active::before { background: #ef5a75; }
.sidebar-footer { margin-inline: 7px; padding: 15px 3px 0; }
.sidebar-footer strong { font-size: 10px; font-weight: 600; }
.sidebar-footer small { font-size: 8px; }
.engine-indicator { width: 7px; height: 7px; }

.workspace { padding: 0 28px 40px; }
.topbar { min-height: 76px; position: sticky; z-index: 20; top: 0; border-bottom-color: #ccd5da; background: #f2f5f6; }
.topbar h1 { font-size: 20px; font-weight: 600; }
.topbar .eyebrow { margin-bottom: 4px; }
.topbar-actions { gap: 9px; }
.user-menu { min-width: 176px; min-height: 42px; padding: 4px 9px; border: 1px solid transparent; border-left-color: var(--line); border-radius: 3px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; }
.user-menu:hover { border-color: var(--line); background: #fff; }
.user-avatar { width: 28px; height: 28px; border: 1px solid #b8c5cc; border-radius: 50%; display: grid; place-items: center; background: #e7edf0; color: #354853; font-size: 10px; font-weight: 700; }
.user-menu-copy { min-width: 0; }
.user-menu strong { font-size: 10px; font-weight: 600; }
.user-menu small { color: #6f7d87; font-size: 8px; }
.content { max-width: 1680px; padding-top: 18px; gap: 16px; }

.primary-button, .secondary-button, .quiet-button, .danger-button, .icon-button { border-radius: 3px; font-weight: 600; }
.primary-button { min-height: 34px; padding-inline: 14px; box-shadow: 0 1px 1px rgb(82 9 26 / 12%); }
.secondary-button { min-height: 32px; border-color: #bfc9cf; background: #fff; }
.secondary-button:hover { border-color: #8697a1; background: #f7f9fa; }
.quiet-button { color: #315f75; }
input, select, textarea { border-color: #bfc9cf; border-radius: 3px; background-color: #fff; }
input:hover, select:hover, textarea:hover { border-color: #91a1aa; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(21 107 135 / 10%); }

.metrics { border-color: #cbd5da; border-radius: 4px; box-shadow: var(--shadow-soft); }
.metric { min-height: 104px; padding: 15px 17px 14px; position: relative; border-right-color: #dbe1e5; }
.metric::before { height: 3px; position: absolute; top: 0; right: 0; left: 0; background: #82919a; content: ""; }
.metric-info::before { background: var(--blue); }
.metric-active::before { background: #a97900; }
.metric-risk::before { background: var(--accent); }
.metric-success::before { background: var(--green); }
.metric > span { color: #5e6d77; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.metric > strong { margin: 14px 0 7px; color: #12212b; font-size: 27px; font-weight: 600; }
.metric-risk > strong { color: #981b38; }
.metric > small { color: #74818a; font-size: 9px; }

.section { border-color: #cbd5da; border-radius: 4px; box-shadow: var(--shadow-soft); }
.section-header { min-height: 57px; padding: 11px 16px; border-bottom-color: #dbe1e5; }
.section-header h2 { font-size: 14px; font-weight: 600; }
.section-header .eyebrow { margin-bottom: 3px; }
.eyebrow { color: #687883; font-weight: 600; }

table { font-variant-numeric: tabular-nums; }
th { height: 36px; padding-inline: 13px; background: #f4f7f8; color: #65747e; font-size: 8px; font-weight: 600; }
td { height: 48px; padding: 7px 13px; border-bottom-color: #e4e9ec; font-size: 10px; }
tr.clickable:hover { background: #f5f8f9; }
td strong { color: #24333d; font-weight: 600; }
td small { color: #71808a; }
code, pre, .scan-purpose-label, .finding-cwe-list span, .cwe-rank-row strong, .remediation-file-button code, .remediation-file-preview > header strong { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.status { padding: 4px 8px; border-radius: 3px; font-size: 9px; font-weight: 600; }
.severity { min-width: 64px; padding: 5px 7px; border-radius: 2px; font-size: 9px; font-weight: 600; }

.overview-intelligence-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: 16px; align-items: stretch; }
.overview-intelligence-grid > .section { min-width: 0; }
.overview-insights, .cwe-overview { height: 100%; }
.finding-distribution { padding: 18px 19px 20px; }
.finding-distribution h3 { font-size: 11px; font-weight: 600; }
.finding-distribution-rows { gap: 12px; }
.finding-distribution-row { grid-template-columns: 90px minmax(70px, 1fr) 28px; }
.finding-distribution-bar, .cwe-rank-track { height: 6px; }
.cwe-ranking { padding-block: 8px; }
.cwe-rank-row { min-height: 47px; padding-inline: 16px; grid-template-columns: 74px minmax(80px, 1fr) 30px; gap: 11px; }
.cwe-rank-row strong { font-size: 9px; font-weight: 500; }
.overview-disclosure > summary::after { color: #496e80; font-size: 17px; font-weight: 500; }

.finding-dashboard, .remediation-dashboard { overflow: visible; }
.finding-dashboard > .section-header, .remediation-dashboard > .section-header { border-radius: 4px 4px 0 0; background: #fff; }
.finding-dashboard .section-header h2, .remediation-dashboard .section-header h2 { font-size: 15px; }
.finding-toolbar { padding: 11px 13px; grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(125px, 1fr)) auto; grid-auto-flow: row; gap: 8px; background: #f4f7f8; }
.finding-toolbar input { grid-column: span 2; }
.finding-toolbar input, .finding-toolbar select, .remediation-toolbar input, .remediation-toolbar select { min-height: 35px; padding-inline: 10px; font-size: 10px; }
.finding-toolbar .secondary-button { min-height: 35px; }
.finding-list { background: #fff; }
.finding-item { min-height: 126px; padding: 15px 16px 15px 19px; position: relative; grid-template-columns: 66px minmax(0, 1fr) 170px; gap: 16px; }
.finding-item::before { width: 3px; position: absolute; top: 0; bottom: 0; left: 0; background: #7c8991; content: ""; }
.finding-item.finding-critical::before { background: #9f1239; }
.finding-item.finding-high::before { background: var(--orange); }
.finding-item.finding-medium::before { background: var(--amber); }
.finding-item.finding-low::before { background: #147868; }
.finding-item:hover { background: #f9fbfb; }
.finding-title-row { gap: 8px; }
.finding-copy strong { color: #172630; font-size: 12px; font-weight: 600; line-height: 1.4; }
.finding-context { margin-top: 6px; color: #687781; font-size: 9px; }
.finding-copy p { max-width: 1050px; margin: 8px 0; color: #465560; font-size: 10px; line-height: 1.55; }
.finding-copy code { color: #52636e; font-size: 9px; }
.finding-taxonomy { min-height: 25px; margin-top: 9px; padding-block: 3px; border-left-width: 2px; background: #eff5f7; }
.finding-cwe-list span { font-size: 8px; font-weight: 500; }
.finding-actions { min-width: 0; justify-items: stretch; align-content: start; }
.finding-actions > .status { width: max-content; justify-self: end; }
.finding-actions .compact-select { width: 100%; min-height: 34px; }
.finding-review-button { width: 100%; }
.finding-pagination, .remediation-pagination { min-height: 51px; padding: 8px 13px; background: #f7f9fa; }
.finding-page-button, .remediation-page-button { min-height: 32px; }

.remediation-tabs { width: max-content; min-height: 38px; margin-bottom: 0; padding: 3px; border-radius: 4px; gap: 3px; background: #e7ecef; }
.remediation-tabs button { min-width: 100px; min-height: 31px; padding-inline: 14px; border: 0; border-radius: 2px; }
.remediation-tabs button.active { border: 0; background: #fff; color: #1c2c36; box-shadow: 0 1px 2px rgb(14 28 38 / 10%); }
.remediation-toolbar { padding: 11px 13px; background: #f4f7f8; grid-template-columns: minmax(280px, 2fr) minmax(170px, 1fr) minmax(160px, 1fr) auto; gap: 8px; }
.remediation-results table { min-width: 820px; }
.remediation-results td { height: 58px; }
.remediation-finding-cell > strong { color: #172630; font-size: 11px; font-weight: 600; }
.remediation-candidate-cell > span { color: #33444f; line-height: 1.45; }
.remediation-review-button { min-height: 32px; }
.remediation-attempt-status { background: #f4f7f8; }
.remediation-review, .remediation-activity { border-color: #cbd5da; border-radius: 3px; }

@media (max-width: 1500px) {
  .pr-review-row { grid-template-columns: minmax(245px, 1.25fr) minmax(145px, .7fr) minmax(120px, .55fr); }
  .pr-review-delivery { min-height: 58px; grid-column: 1 / 3; grid-row: 2; }
  .pr-review-row-actions { min-height: 58px; grid-column: 3; grid-row: 2; }
}

@media (max-width: 1180px) {
  .overview-intelligence-grid { grid-template-columns: 1fr; }
  .finding-toolbar { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .finding-toolbar input { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-section-label { display: none; }
  .user-menu { min-width: 44px; grid-template-columns: 28px; }
  .user-menu-copy { display: none; }
  .finding-item { grid-template-columns: 58px minmax(0, 1fr); }
  .finding-actions { grid-column: 1 / -1; grid-template-columns: auto minmax(130px, 1fr) 100px; align-items: center; }
  .finding-actions > .status { justify-self: start; }
}

@media (max-width: 980px) {
  .guide-introduction { grid-template-columns: 1fr; gap: 16px; }
  .guide-concept-flow li:first-child { border-left: 0; }
  .guide-mode-grid { grid-template-columns: 1fr; }
  .guide-mode-grid > article { border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-mode-grid > article:last-child { border-bottom: 0; }
  .guide-mode-grid > article > p { min-height: 0; }
}

@media (max-width: 680px) {
  .guide-introduction { padding: 18px; }
  .guide-concept-flow { grid-template-columns: 1fr 1fr; }
  .guide-concept-flow li { border-top: 1px solid var(--line); }
  .guide-concept-flow li:nth-child(odd) { border-left: 0; }
  .guide-concept-flow li::after { display: none; }
  .guide-index { padding: 10px 12px; flex-wrap: wrap; gap: 9px 18px; }
  .guide-validation-notes { grid-template-columns: 1fr; }
  .guide-validation-notes article + article { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 1240px) {
  .login-screen { height: auto; min-height: 100vh; overflow: visible; grid-template-columns: 1fr; }
  .login-access { position: static; height: auto; min-height: 560px; padding: 36px; order: 1; border-bottom: 1px solid #d8dde1; border-left: 0; }
  .login-story { min-height: auto; padding: 36px; overflow: visible; order: 2; }
  .login-story-copy { margin: 32px 0 24px; }
  .login-story-copy h1 { font-size: 34px; }
  .login-outcomes { margin-bottom: 4px; }
  .pr-review-row { grid-template-columns: minmax(245px, 1.25fr) minmax(145px, .7fr) minmax(120px, .55fr); }
  .pr-review-delivery { grid-column: 1 / 3; grid-row: 2; min-height: 58px; }
  .pr-review-row-actions { grid-column: 3; grid-row: 2; min-height: 58px; }
  .integration-health-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .integration-health-item:nth-child(3) { border-right: 0; }
  .integration-health-item:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 920px) {
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .workspace { padding-inline: 22px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .project-layout { grid-template-columns: 246px minmax(0, 1fr); }
  .project-summary { grid-template-columns: minmax(170px, 1.4fr) repeat(2, minmax(88px, .6fr)); }
  .project-summary > div:nth-child(3) { border-right: 0; }
  .project-summary > div:nth-child(-n + 3) { border-bottom: 1px solid #dbe2e6; }
  .finding-toolbar { grid-template-columns: 1fr 1fr 1fr; }
  .finding-toolbar input { grid-column: 1 / -1; }
  .remediation-toolbar { grid-template-columns: 1fr 1fr 1fr; }
  .remediation-toolbar input { grid-column: 1 / -1; }
  .remediation-set-group-header { align-items: flex-start; flex-direction: column; }
  .scan-summary-grid { grid-template-columns: 1fr 1fr; }
  .scan-summary-grid .definition:nth-child(3n) { border-right: 1px solid var(--line); }
  .scan-summary-grid .definition:nth-child(2n) { border-right: 0; }
  .scan-activity-summary { grid-template-columns: 1fr 1fr; }
  .scan-activity-summary > button { margin: 12px; }
  .integration-capability-grid { grid-template-columns: 1fr; }
  .integration-capability { min-height: 84px; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 25px minmax(0, 1fr) auto; grid-template-rows: 1fr; align-items: center; }
  .integration-capability:last-child { border-bottom: 0; }
  .integration-capability > .status { grid-column: 3; }
}

@media (max-width: 680px) {
  .login-access { min-height: 100vh; padding: 28px 22px; }
  .login-story { padding: 30px 22px; }
  .login-story-copy h1 { font-size: 29px; }
  .login-story-copy > p:last-child { font-size: 13px; }
  .login-mfa-recovery-codes { max-height: 250px; columns: 1; }
  .login-analysis-surface { grid-template-columns: 1fr; }
  .login-code-surface { min-height: 208px; border-right: 0; border-bottom: 1px solid #354047; }
  .login-evidence-surface { padding: 0 12px 12px; }
  .login-evidence-surface > header { margin-inline: -12px; }
  .login-evidence-path { min-height: 80px; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr); grid-template-rows: 1fr; align-items: center; }
  .login-evidence-path > span { min-height: 58px; padding: 25px 3px 0; text-align: center; }
  .login-evidence-path > span > i { top: 8px; left: calc(50% - 5px); }
  .login-evidence-path > em { width: 100%; height: 1px; margin: 0; }
  .login-evidence-path > span > small { display: none; }
  .login-path-runner { display: none; }
  .login-workflow-steps { padding: 0 8px; }
  .login-workflow-steps li { flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
  .login-workflow-steps li:not(:last-child)::after { display: none; }
  .login-workflow-steps small { display: none; }
  .login-outcomes { grid-template-columns: 1fr; }
  .login-outcomes > div { padding: 13px 0; border-bottom: 1px solid #3b444a; }
  .login-outcomes > div + div { padding-left: 0; border-left: 0; }
  .login-outcomes > div:last-child { border-bottom: 0; }
  .login-modes, .login-data-flow, .login-pr-flow, .login-intake { margin-top: 34px; padding-top: 28px; }
  .login-mode-grid { grid-template-columns: 1fr; }
  .login-mode-grid article { padding: 21px; }
  .login-mode-grid article + article { border-top: 1px solid #3d474e; border-left: 0; }
  .login-mode-grid p { min-height: 0; }
  .login-data-flow > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-data-flow > header > p { max-width: none; text-align: left; }
  .login-data-flow-map { min-height: 0; padding: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 28px auto 28px auto auto; gap: 0 8px; }
  .login-data-entry { min-height: 92px; padding: 10px; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; }
  .login-data-entry > span { width: 27px; height: 27px; }
  .login-data-source { grid-column: 1; grid-row: 1; }
  .login-data-import { grid-column: 2; grid-row: 1; }
  .login-data-link { width: 1px; height: 28px; justify-self: center; }
  .login-data-link::after { display: none; }
  .login-data-link > span { top: 0; left: -3px; animation-name: login-data-particle-vertical; }
  .login-data-link-source { grid-column: 1; grid-row: 2; }
  .login-data-link-import { grid-column: 2; grid-row: 2; }
  .login-data-hub { min-height: 104px; grid-column: 1 / 3; grid-row: 3; }
  .login-data-link-out { grid-column: 1 / 3; grid-row: 4; }
  .login-data-actions { grid-column: 1 / 3; grid-row: 5; }
  .login-data-actions li { min-height: 76px; padding: 10px; }
  .login-data-controls { grid-column: 1 / 3; grid-row: 6; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-data-controls span:nth-child(3) { border-left: 0; }
  .login-pr-flow > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-pr-flow > header > p { max-width: none; text-align: left; }
  .login-pr-workspace { grid-template-columns: 1fr; }
  .login-pr-stages { min-height: 170px; padding: 13px 15px; }
  .login-pr-stages li { padding: 47px 6px 0 0; }
  .login-pr-stages strong { font-size: 8px; }
  .login-pr-stages small { display: none; }
  .login-pr-result { min-height: 190px; margin: 0; border-width: 1px 0 0; }
  .login-intake > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-intake-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding: 12px; }
  .sidebar-brand { min-height: 0; padding: 0 0 12px; display: flex; }
  .sidebar-brand .product-logo { width: 32px; }
  .sidebar-brand strong { font-size: 12px; }
  .sidebar-brand small { font-size: 8px; }
  .sidebar-footer { display: none; }
  .org-picker { padding: 0 0 9px; }
  .navigation { grid-template-columns: repeat(3, 1fr); }
  .nav-button { min-height: 40px; padding: 0 5px; text-align: center; }
  .primary-button, .secondary-button, .danger-button, input, select { min-height: 38px; }
  .workspace { padding: 0 14px 30px; }
  .topbar { min-height: 78px; padding-block: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
  .topbar-actions { display: grid; grid-template-columns: auto auto; align-items: center; justify-items: end; gap: 7px; }
  .topbar-actions > .primary-button { grid-column: 1 / -1; grid-row: 2; }
  .topbar-actions > .user-menu { grid-column: 1; grid-row: 1; }
  .topbar-actions > #logout-button { grid-column: 2; grid-row: 1; }
  .user-menu { min-width: 0; max-width: 180px; padding-left: 8px; }
  .mfa-profile-card { align-items: flex-start; flex-direction: column; }
  .mfa-enrollment { grid-template-columns: 1fr; }
  .mfa-enrollment img { width: min(240px, 100%); height: auto; justify-self: center; }
  .mfa-recovery-codes { columns: 1; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 100px; padding: 15px; }
  .project-layout { height: auto; min-height: 0; display: block; overflow: visible; }
  .project-list { width: 100%; max-width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-list-items { max-height: min(320px, 44vh); }
  .project-pane { overflow: visible; }
  .project-heading { align-items: flex-start; flex-direction: column; }
  .project-heading > .button-row { width: 100%; justify-content: flex-start; }
  .project-summary { grid-template-columns: 1fr 1fr; }
  .project-summary > div:nth-child(n) { border-right: 1px solid #dbe2e6; border-bottom: 1px solid #dbe2e6; }
  .project-summary > div:nth-child(3), .project-summary > div:nth-child(5) { border-right: 0; }
  .project-summary > div:nth-child(n + 4) { border-bottom: 0; }
  .project-summary-source { grid-column: 1 / -1; }
  .project-summary > .project-summary-source { border-right: 0; }
  .project-heading h2, .project-heading .muted { white-space: normal; }
  .settings-page-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .settings-page-header > p { text-align: left; }
  .settings-content .section-header { align-items: flex-start; flex-direction: column; }
  .settings-project-toolbar { width: 100%; grid-template-columns: 1fr 1fr; }
  .settings-project-toolbar input { grid-column: 1 / -1; }
  .settings-user-toolbar { width: 100%; grid-template-columns: 1fr 1fr; }
  .settings-user-toolbar input { grid-column: 1 / -1; }
  .notification-events { grid-template-columns: 1fr; }
  .notification-events .notification-toggle + .notification-toggle { border-top: 1px solid var(--line); border-left: 0; }
  .notification-form-footer { align-items: flex-start; flex-direction: column; }
  .presentation-preset-row, .presentation-field-grid { grid-template-columns: 1fr; }
  .presentation-field-grid .notification-toggle:nth-child(odd) { border-right: 0; }
  .access-policy-grid { grid-template-columns: 1fr 1fr; }
  .access-policy-role:nth-child(2n) { border-right: 0; }
  .access-policy-role:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .tabs { overflow-x: auto; }
  .finding-item { grid-template-columns: 80px minmax(0, 1fr); }
  .finding-actions { grid-column: 2; display: flex; align-items: center; }
  .finding-toolbar { grid-template-columns: 1fr 1fr; }
  .finding-toolbar input { grid-column: 1 / -1; }
  .finding-pagination { align-items: flex-start; flex-direction: column; }
  .finding-pagination-controls { width: 100%; display: grid; grid-template-columns: minmax(100px, 1fr) auto auto auto; }
  .finding-distribution-grid { grid-template-columns: 1fr; }
  .finding-distribution + .finding-distribution { border-top: 1px solid var(--line); border-left: 0; }
  .finding-distribution > header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .finding-distribution-row { grid-template-columns: 82px minmax(70px, 1fr) 26px; gap: 7px; }
  .overview-disclosure > summary { min-height: 72px; }
  .remediation-toolbar { grid-template-columns: 1fr 1fr; }
  .remediation-toolbar input { grid-column: 1 / -1; }
  .remediation-pagination { align-items: flex-start; flex-direction: column; }
  .remediation-pagination-controls { width: 100%; display: grid; grid-template-columns: minmax(100px, 1fr) auto auto auto; }
  .remediation-attempt-status { align-items: flex-start; flex-direction: column; gap: 7px; }
  .project-pane > .analysis-document { margin: 14px; }
  .analysis-document-header { align-items: flex-start; flex-direction: column; }
  .threat-domain-grid { grid-template-columns: 1fr; }
  .threat-domain:nth-child(n) { grid-column: 1; border-right: 0; }
  .attack-path-header { align-items: flex-start; flex-direction: column; }
  .attack-path-signals { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .attack-path-signal { min-width: 0; padding: 9px 8px 2px; }
  .attack-path-signal:first-child { border-left: 0; }
  .attack-evidence { grid-template-columns: 1fr; }
  .attack-evidence section:nth-child(n) { grid-column: 1; border-right: 0; }
  .dialog-body { grid-template-columns: 1fr; }
  .field-wide { grid-column: 1; }
  .provider-guidance { grid-template-columns: 1fr; }
  .provider-guidance p { grid-column: 1; }
  .scan-profile-picker { grid-template-columns: 1fr; }
  .scan-profile-option { min-height: 62px; border-right: 0; border-bottom: 1px solid #cbd1d5; }
  .scan-profile-choice { min-height: 62px; }
  .scan-profile-option:last-child { border-bottom: 0; }
  .definition-grid, .settings-grid { grid-template-columns: 1fr; }
  .access-policy-grid { grid-template-columns: 1fr; }
  .access-policy-role:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .access-policy-role:last-child { border-bottom: 0; }
  .notification-fields { grid-template-columns: 1fr; }
  .notification-provider-fields { grid-template-columns: 1fr; }
  .notification-provider-fields > span:empty { display: none; }
  .definition { border-right: 0; }
  .remediation-definitions .definition:nth-child(n) { border-right: 0; }
  .scan-wizard-progress { grid-template-columns: repeat(5, 110px); overflow-x: auto; }
  .scan-wizard-progress li { grid-template-columns: 26px minmax(0, 1fr); }
  .scan-wizard-fields { grid-template-columns: 1fr; }
  .component-plan-heading, .component-plan-item > header { align-items: flex-start; flex-direction: column; }
  .component-plan-count { width: 100%; justify-content: flex-start; }
  .component-plan-exclusions summary { align-items: flex-start; flex-direction: column; }
  .scan-workspace-header { align-items: flex-start; flex-direction: column; }
  .scan-workspace-actions { justify-content: flex-start; }
  .scan-workspace-tabs { padding-inline: 14px; gap: 20px; }
  .scan-workspace-panel { padding: 14px; }
  .scan-summary-grid { grid-template-columns: 1fr; }
  .scan-summary-grid .definition:nth-child(n) { border-right: 0; }
  .scan-activity-summary { grid-template-columns: 1fr; }
  .scan-activity-summary > button { margin: 12px; }
  .artifact-row { align-items: flex-start; flex-direction: column; }
  .validation-workspace-body { padding: 14px; }
  .validation-section-header, .validation-artifact-item > header { align-items: flex-start; flex-direction: column; }
  .validation-artifact-item > header .button-row { width: 100%; justify-content: flex-start; }
  .markdown-document { padding: 15px; }
  .pr-workspace-header, .integration-hero { align-items: flex-start; flex-direction: column; }
  .pr-header-actions, .integration-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .integration-health-strip { grid-template-columns: 1fr; }
  .integration-health-item:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .integration-health-item:last-child { border-bottom: 0; }
  .pr-review-row { grid-template-columns: 1fr; gap: 13px; }
  .pr-review-column, .pr-review-row-actions { min-height: 0; padding: 11px 0 0; border-top: 1px solid #e2e6e9; border-left: 0; }
  .pr-review-delivery, .pr-review-row-actions { grid-column: 1; grid-row: auto; }
  .pr-review-revisions { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .pr-review-revisions > span:first-child { margin: 0; }
  .integration-capability { grid-template-columns: 25px minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .integration-capability > .status { grid-column: 2; }
  .integration-policy-bar { grid-template-columns: 36px minmax(0, 1fr); }
  .integration-policy-bar > .button-row { grid-column: 2; justify-content: flex-start; }
  .import-tool-row { grid-template-columns: 1fr; align-items: stretch; }
  .terminal-line { grid-template-columns: 72px minmax(0, 1fr); }
  .terminal-line p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Refined login presentation: preserve the product narrative and functional diagrams. */
.login-screen { grid-template-columns: minmax(0, 1.42fr) minmax(410px, .58fr); }
.login-story { padding: 34px 44px 48px; background: #11171b; scrollbar-color: #47535a #11171b; }
.login-story > * { flex: none; }
.login-brand { min-height: 46px; }
.login-brand .product-logo { width: 43px; }
.login-brand strong { color: #fff; font-size: 15px; }
.login-brand small { color: #87949b; font-size: 9px; }
.login-story-copy { margin: 58px 0 28px; }
.login-story-copy .eyebrow { color: #f07a8d; }
.login-story-copy h1 { max-width: 680px; color: #fff; font-size: 38px; line-height: 1.12; }
.login-story-copy > p:last-child { max-width: 600px; margin-top: 13px; color: #aab5bb; font-size: 13px; line-height: 1.6; }

.login-workflow { width: min(880px, 100%); border-color: #465159; border-radius: 3px; background: #182126; box-shadow: none; }
.login-workflow > header { min-height: 43px; padding-inline: 15px; border-bottom-color: #3b464d; background: #20292e; }
.login-analysis-surface { min-height: 198px; }
.login-code-surface { background: #0c1216; }
.login-code-header, .login-evidence-surface > header { min-height: 39px; }
.login-evidence-surface { background: #171f24; }
.login-workflow-steps { min-height: 60px; background: #20292e; }
.login-workflow-steps li > span { width: 23px; height: 23px; background: #171f24; }
.login-outcomes { width: min(880px, 100%); margin-top: 0; border-top: 0; border-bottom: 1px solid #3d484f; }
.login-outcomes > div { min-height: 72px; padding: 19px 18px 17px 0; align-content: center; }
.login-outcomes > div + div { padding-left: 18px; border-left-color: #3d484f; }
.login-outcomes span { color: #ef7589; }
.login-outcomes strong { font-size: 10px; }
.login-outcomes small { color: #7e8c93; font-size: 8px; }

.login-modes, .login-data-flow, .login-pr-flow, .login-intake { width: min(880px, 100%); margin-top: 48px; padding-top: 31px; border-top-color: #354047; }
.login-modes > header, .login-data-flow > header, .login-pr-flow > header, .login-intake > header { position: relative; padding-left: 14px; }
.login-modes > header::before, .login-data-flow > header::before, .login-pr-flow > header::before, .login-intake > header::before { content: ""; position: absolute; top: 2px; bottom: 2px; left: 0; width: 2px; background: #ca2c49; }
.login-modes > header h2, .login-data-flow > header h2, .login-pr-flow h2, .login-intake h2 { font-size: 19px; }
.login-mode-grid { margin-top: 20px; border-width: 1px 0; background: transparent; }
.login-mode-grid article { padding: 24px 26px 24px 0; }
.login-mode-grid article + article { padding-right: 0; padding-left: 26px; }
.login-mode-grid h3 { margin-top: 19px; font-size: 15px; }
.login-mode-grid p { color: #9ca8ae; }
.login-mode-grid li::before { background: #11171b; }

.login-data-flow-map { border-color: #465159; border-radius: 3px; background: #0c1216; }
.login-data-entry, .login-data-actions li { background: #171f24; }
.login-data-entry > span { background: #20292e; }
.login-data-hub { background: #20292e; }
.login-pr-workspace { border-color: #465159; border-radius: 3px; background: #0c1216; }
.login-pr-result { margin: 14px; border-color: #536068; border-radius: 2px; background: #1a2328; }
.login-pr-note, .login-intake-note { color: #89969d; }
.login-intake-sources { border-top-color: #465159; border-left-color: #465159; }
.login-intake-sources li { min-height: 64px; border-color: #465159; background: #171f24; }
.login-intake-sources li > span { border-radius: 2px; background: #20292e; }

.login-access { padding: 42px 46px; border-left-color: #cdd5d9; background: #fbfcfc; }
.login-panel { width: min(360px, 100%); }
.login-panel-logo { width: 66px; margin-bottom: 24px; }
.login-form-heading { margin-bottom: 27px; }
.login-form-heading h2 { color: #17232b; font-size: 24px; }
.login-form-heading > p:last-child { font-size: 11px; }
.login-panel .field { margin-bottom: 15px; }
.login-panel .field input { min-height: 43px; border-color: #c4cfd5; border-radius: 3px; background: #fff; }
.login-panel .primary-button { min-height: 42px; border-radius: 3px; }
.login-access-note { margin-top: 20px; }
.login-footer { width: min(360px, 100%); color: #7b878f; font-size: 8px; }

@media (max-width: 1240px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-story { padding: 34px; }
  .login-story-copy { margin-top: 34px; }
}

@media (max-width: 680px) {
  .login-story { padding: 28px 22px 34px; }
  .login-story-copy { margin-top: 30px; }
  .login-story-copy h1 { font-size: 29px; }
  .login-workflow { border-radius: 2px; }
  .login-outcomes > div { min-height: 58px; }
  .login-modes > header, .login-data-flow > header, .login-pr-flow > header, .login-intake > header { padding-left: 11px; }
  .login-mode-grid article { padding: 21px 0; }
  .login-mode-grid article + article { padding-left: 0; }
  .login-access { padding: 28px 22px; }
}

/* Product-wide Inspectra concept direction */
:root {
  --ink: #111614;
  --muted: #65716a;
  --faint: #7c8780;
  --line: #d9dfdb;
  --line-strong: #c5cec8;
  --canvas: #f5f7f5;
  --surface: #ffffff;
  --surface-subtle: #f8faf8;
  --sidebar: #f7f8f6;
  --sidebar-raised: #ffffff;
  --sidebar-line: #d9dfdb;
  --accent: #15966a;
  --accent-hover: #0f7b56;
  --blue: #168e64;
  --green: #168e64;
  --danger: #bd3048;
  --amber: #9b6a08;
  --orange: #c54f2d;
  --shadow-soft: 0 10px 30px rgb(28 47 37 / 5%);
}

html, body { background: var(--canvas); color: var(--ink); }
.app-shell { grid-template-columns: 238px minmax(0, 1fr); background: var(--canvas); }
.sidebar { padding: 20px 14px 16px; border-right: 1px solid var(--line); background: var(--sidebar); color: var(--ink); }
.sidebar-brand { min-height: 58px; padding: 0 10px 20px; }
.sidebar-brand .product-logo { width: 41px; }
.sidebar-brand strong { color: var(--ink); font-size: 14px; font-weight: 700; }
.sidebar-brand small { color: #748078; }
.org-picker { padding: 0 7px 22px; }
.org-picker span, .nav-section-label { color: #808b84; }
.org-picker select { min-height: 39px; border-color: #cdd5d0; border-radius: 6px; background: #fff; color: #1b231e; }
.navigation { gap: 3px; }
.nav-section-label { min-height: 30px; padding: 13px 10px 5px; }
.nav-button { min-height: 37px; border-radius: 5px; color: #5e6962; font-weight: 600; }
.nav-button::before { top: 9px; bottom: 9px; background: transparent; }
.nav-button:hover { background: #edf2ee; color: #18221c; }
.nav-button.active { background: #e6f2ec; color: #0e704e; }
.nav-button.active::before { background: #15966a; }
.sidebar-footer { border-top-color: var(--line); }
.sidebar-footer strong { color: #243029; }
.sidebar-footer small { color: #78847c; }
.engine-indicator { background: #1cad79; box-shadow: 0 0 0 4px rgb(28 173 121 / 12%); }

.workspace { padding: 0 30px 42px; }
.topbar { min-height: 78px; border-bottom-color: var(--line); background: var(--canvas); }
.topbar h1 { color: #111614; font-size: 21px; font-weight: 700; }
.eyebrow { color: #748078; font-weight: 700; }
.content { max-width: 1640px; padding-top: 22px; gap: 18px; }
.user-menu { min-width: 178px; min-height: 43px; border-left-color: transparent; border-radius: 6px; }
.user-menu:hover { border-color: var(--line); background: #fff; }
.user-avatar { border-color: #b9d8c8; background: #e5f4ed; color: #0d7852; }

.primary-button, .secondary-button, .quiet-button, .danger-button, .icon-button { border-radius: 6px; }
.primary-button { min-height: 35px; border-color: #111614; background: #111614; box-shadow: none; }
.primary-button:hover { border-color: #28312c; background: #28312c; }
.secondary-button { min-height: 34px; border-color: #cbd3ce; background: #fff; }
.secondary-button:hover { border-color: #9faaA3; background: #f7f9f7; }
.quiet-button { color: #0e7e57; }
.danger-text { color: var(--danger); }
.danger-button { border-color: #dfb6bd; color: var(--danger); }
.icon-button:hover { background: #edf1ee; }
input, select, textarea { border-color: #c9d2cc; border-radius: 6px; background: #fff; }
input:hover, select:hover, textarea:hover { border-color: #9daaa2; }
input:focus, select:focus, textarea:focus { border-color: #15966a; box-shadow: 0 0 0 3px rgb(21 150 106 / 10%); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline-color: rgb(21 150 106 / 28%); }
.checkbox-field input, .notification-toggle input { accent-color: #15966a; }

.error-banner, .form-error, .dialog-error, .failure { border-left-color: var(--danger); }
.status-failed, .status-findings_detected, .status-denied, .status-failure, .status-suspended, .status-credential, .status-rejected, .status-validation_failed, .status-reportable { color: var(--danger); }
.danger-text, .remediation-file-button i { color: var(--danger); }
.remediation-danger-notice { border-left-color: var(--danger); }
.markdown-task-state.incorrect, .remediation-event.event-failed::before, .remediation-event.event-rejected::before, .attack-path-decision > .decision-reportable::before { background: var(--danger); }

.metrics { gap: 10px; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.metric { min-height: 104px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 24px rgb(30 46 37 / 4%); }
.metric:last-child { border-right: 1px solid var(--line); }
.metric::before { display: none; }
.metric > span { color: #69756e; }
.metric > strong { margin: 13px 0 6px; color: #111614; font-size: 27px; font-weight: 700; }
.metric-risk > strong { color: #9f2940; }
.section, .project-pull-requests, .guide-introduction, .guide-section { border-color: var(--line); border-radius: 7px; box-shadow: 0 8px 26px rgb(26 42 33 / 4%); }
.section-header { min-height: 58px; padding: 12px 17px; border-bottom-color: #e2e7e4; }
.section-header h2 { color: #172019; font-size: 14px; font-weight: 700; }
th { height: 38px; background: #f7f9f7; color: #68746c; }
td { height: 50px; border-bottom-color: #e7ebe8; }
tr.clickable:hover { background: #f6faf7; }
td strong { color: #202a24; }
.status { border-radius: 4px; }
.severity { border-radius: 3px; }
.tabs button.active, .scan-workspace-tabs button.active { border-bottom-color: #15966a; }
.project-tabs button.active .project-tab-count { background: #e4f3eb; color: #0c7450; }

.project-layout { height: calc(100dvh - 122px); border-color: var(--line); border-radius: 7px; box-shadow: 0 12px 35px rgb(24 42 32 / 6%); }
.project-list { border-right-color: var(--line); background: #f7f9f7; }
.project-list > header, .project-list-controls { border-bottom-color: #e0e5e2; }
.project-list-controls { background: #f0f4f1; }
.project-item { border-bottom-color: #e3e8e5; }
.project-item:hover { background: #fff; }
.project-item.active { border-left-color: #15966a; background: #fff; box-shadow: none; }
.project-source-mark { border-color: #c4cec8; background: #edf1ee; color: #415048; }
.project-source-mark.source-github, .project-source-chip.source-github { border-color: #1c2520; background: #17201b; }
.project-key { border-color: #a9d1bd; background: #eaf5ef; color: #0e7250; }
.project-heading, .project-summary, .project-tabs { border-color: #e0e5e2; }
.project-summary { background: #f8faf8; }
.project-summary > div { border-color: #e0e5e2; }
.project-tabs { background: rgb(255 255 255 / 98%); }

.finding-dashboard > .section-header, .remediation-dashboard > .section-header { border-radius: 7px 7px 0 0; }
.finding-toolbar, .remediation-toolbar { border-color: #e1e6e3; background: #f6f8f6; }
.finding-item { border-bottom-color: #e3e8e5; }
.finding-item:hover { background: #f7faf8; }
.finding-taxonomy { border-left-color: #15966a; background: #edf6f1; }
.finding-cwe-list span { border-color: #bfd8cb; color: #176f50; }
.finding-origin-badge { border-color: #b9d7c8; background: #edf7f2; color: #176f50; }
.finding-pagination, .remediation-pagination { background: #f8faf8; }
.finding-distribution-bar, .cwe-rank-track { background: #e7ece8; }
.finding-distribution-bar::-webkit-progress-bar { background: #e7ece8; }
.metric-risk::before { background: var(--danger); }

.audit-dashboard > .section-header small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.audit-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 8px; padding: 11px 13px; border-bottom: 1px solid var(--line); background: #f6f8f6; }
.audit-toolbar input { min-height: 35px; }
.audit-toolbar .secondary-button { min-width: 72px; }
.audit-results { min-height: 120px; transition: opacity 120ms ease; }
.audit-dashboard.is-loading .audit-results { opacity: .55; }
.audit-pagination { display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 48px; padding: 7px 13px; border-top: 1px solid var(--line); background: #f8faf8; }
.audit-page-summary { color: var(--muted); font-size: 10px; }
.audit-pagination-controls { display: flex; align-items: center; gap: 8px; }
.audit-pagination-controls select { width: 112px; min-height: 34px; font-size: 10px; }
.audit-page-button { min-width: 76px; min-height: 34px; }
.audit-page-position { min-width: 88px; color: #46534b; font-size: 10px; font-weight: 700; text-align: center; }

.dialog { border-radius: 8px; box-shadow: 0 24px 80px rgb(14 25 19 / 24%); }
.dialog-header, .drawer-header { background: #f8faf8; }
.drawer { box-shadow: -20px 0 60px rgb(20 35 27 / 14%); }
.drawer-backdrop { background: rgb(9 16 12 / 42%); }
.toast { border-left-color: #15966a; border-radius: 6px; background: #101713; }

/* Sign-in and product narrative */
.login-screen { grid-template-columns: minmax(0, 1fr) clamp(380px, 31vw, 460px); background: #f7f9f7; }
.login-story { padding: 40px 54px 54px; background: #07100c; color: #f4f7f5; scrollbar-color: #345347 #07100c; }
.login-brand { order: 0; }
.login-story-copy { order: 1; width: min(760px, 100%); margin: 106px 0 28px; }
.login-story-copy .eyebrow { color: #61d2a3; }
.login-story-copy h1 { max-width: 650px; color: #f4f7f5; font-size: 56px; line-height: 1.02; }
.login-story-copy h1 span { display: block; color: #61d2a3; }
.login-story-copy > p:last-child { max-width: 580px; margin-top: 20px; color: #9ba9a1; font-size: 15px; line-height: 1.7; }
.login-brand .product-logo { width: 45px; }
.login-brand strong { font-size: 16px; }
.login-brand small { color: #77877e; }
.login-outcomes { order: 2; width: min(840px, 100%); margin-top: 16px; border-top: 1px solid #294036; border-bottom: 0; }
.login-outcomes > div { min-height: 78px; border-color: #294036; }
.login-outcomes span { color: #61d2a3; }
.login-outcomes strong { color: #f0f5f2; }
.login-outcomes small { color: #78877f; }
.login-workflow { order: 3; width: min(1040px, 100%); margin-top: 86px; border-color: #345046; background: #111c17; }
.login-workflow > header, .login-workflow-steps { background: #17251f; }
.login-workflow-indicator { background: #54d39d; }
.login-code-surface { background: #080f0c; }
.login-evidence-surface { background: #101a16; }
.login-modes { order: 4; }
.login-data-flow { order: 5; }
.login-pr-flow { order: 6; }
.login-intake { order: 7; }
.login-modes, .login-data-flow, .login-pr-flow, .login-intake { width: min(1040px, 100%); }
.login-modes, .login-data-flow, .login-pr-flow, .login-intake { border-top-color: #294036; }
.login-modes > header::before, .login-data-flow > header::before, .login-pr-flow > header::before, .login-intake > header::before { background: #45c893; }
.login-modes > header .eyebrow, .login-data-flow > header .eyebrow, .login-pr-flow .eyebrow, .login-intake .eyebrow { color: #61d2a3; }
.login-mode-grid { border-color: #345046; }
.login-data-flow-map, .login-pr-workspace { border-color: #345046; background: #080f0c; }
.login-data-entry, .login-data-actions li, .login-intake-sources li { background: #101a16; }
.login-data-hub, .login-pr-result { background: #17251f; }
.login-access { padding: 38px 34px; border-left-color: #dbe2dd; background: #f7f9f7; }
.login-panel { width: min(340px, 100%); }
.login-panel-logo { width: 62px; }
.login-form-heading h2 { font-size: 26px; }
.login-panel .field input { min-height: 43px; border-radius: 7px; }
.login-panel .primary-button { min-height: 44px; border-radius: 7px; }
.login-access-note { justify-content: flex-start; }
.login-footer { width: min(340px, 100%); }

@media (max-width: 1240px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-access { padding: 38px; }
  .login-story { padding: 38px; }
  .login-story-copy { margin-top: 64px; }
  .login-story-copy h1 { font-size: 48px; }
}

@media (max-width: 920px) {
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .workspace { padding-inline: 22px; }
}

@media (max-width: 680px) {
  .login-access { padding: 30px 22px; }
  .login-story { padding: 28px 22px 38px; }
  .login-story-copy { margin-top: 52px; }
  .login-story-copy h1 { font-size: 39px; }
  .login-story-copy > p:last-child { font-size: 14px; }
  .login-outcomes { grid-template-columns: 1fr; }
  .login-workflow { margin-top: 56px; }
  .app-shell { display: block; }
  .sidebar { background: #f7f8f6; }
  .nav-button { color: #5e6962; }
  .nav-button:hover { background: #edf2ee; color: #18221c; }
  .nav-button.active { background: #e6f2ec; color: #0e704e; }
  .workspace { padding-inline: 14px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .audit-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .audit-pagination { align-items: stretch; flex-direction: column; }
  .audit-pagination-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .audit-pagination-controls select { width: 100%; }
  .audit-page-position { order: -1; grid-column: 1 / -1; min-width: 0; padding: 3px 0; }
}

/* Collapsible desktop navigation rail */
.icon-sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.sidebar { overflow: visible; }
.app-shell { transition: grid-template-columns 180ms ease; }
.sidebar-collapse { width: 28px; height: 28px; padding: 0; position: absolute; z-index: 25; top: 21px; right: -14px; border: 1px solid #cbd4ce; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #526159; box-shadow: 0 3px 10px rgb(25 43 33 / 10%); cursor: pointer; }
.sidebar-collapse:hover { border-color: #9eaca4; color: #0e704e; background: #f8faf8; }
.sidebar-collapse:focus-visible { outline: 2px solid #15966a; outline-offset: 2px; }
.sidebar-collapse svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.nav-button { display: flex; align-items: center; gap: 0; }
.nav-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-button > .nav-icon { display: none; }
.nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-compact-button { display: none; }

.app-shell.sidebar-collapsed { grid-template-columns: 72px minmax(0, 1fr); }
.app-shell.sidebar-collapsed .sidebar { padding-inline: 10px; }
.app-shell.sidebar-collapsed .sidebar-brand { min-height: 58px; padding: 0 0 20px; justify-content: center; }
.app-shell.sidebar-collapsed .sidebar-brand .product-logo { width: 35px; }
.app-shell.sidebar-collapsed .sidebar-brand-copy,
.app-shell.sidebar-collapsed .org-picker,
.app-shell.sidebar-collapsed .nav-label,
.app-shell.sidebar-collapsed .sidebar-footer > div { display: none; }
.app-shell.sidebar-collapsed .sidebar-collapse svg { transform: rotate(180deg); }
.app-shell.sidebar-collapsed .org-compact-button { width: 42px; height: 40px; margin: 0 auto 11px; padding: 0; position: relative; border: 1px solid #d4ddd7; border-radius: 6px; display: grid; place-items: center; background: #fff; color: #647169; cursor: pointer; }
.app-shell.sidebar-collapsed .org-compact-button:hover,
.app-shell.sidebar-collapsed .org-compact-button:focus-visible { border-color: #a9b8af; background: #edf4f0; color: #0e704e; }
.app-shell.sidebar-collapsed .navigation { width: 100%; min-width: 0; }
.app-shell.sidebar-collapsed .nav-section-label { width: auto; min-width: 0; min-height: 15px; margin: 8px 9px 4px; padding: 0; border-top: 1px solid #dde4df; overflow: hidden; color: transparent; font-size: 0; white-space: nowrap; }
.app-shell.sidebar-collapsed .nav-section-label:first-child { margin-top: 0; }
.app-shell.sidebar-collapsed .nav-button { width: 44px; min-width: 44px; min-height: 40px; margin-inline: 0; padding: 0; justify-self: center; justify-content: center; overflow: visible; }
.app-shell.sidebar-collapsed .nav-button > .nav-icon { display: block; }
.app-shell.sidebar-collapsed .nav-button::before { top: 9px; bottom: 9px; }
.app-shell.sidebar-collapsed .nav-button::after,
.app-shell.sidebar-collapsed .org-compact-button::after { padding: 7px 9px; position: absolute; z-index: 80; top: 50%; left: calc(100% + 11px); border: 1px solid #cbd4ce; border-radius: 5px; background: #111a15; color: #f4f7f5; box-shadow: 0 8px 22px rgb(12 24 17 / 18%); content: attr(data-tooltip); font-size: 9px; font-weight: 650; line-height: 1; letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(4px, -50%); transition: opacity 120ms ease, transform 120ms ease; }
.app-shell.sidebar-collapsed .nav-button:hover::after,
.app-shell.sidebar-collapsed .nav-button:focus-visible::after,
.app-shell.sidebar-collapsed .org-compact-button:hover::after,
.app-shell.sidebar-collapsed .org-compact-button:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.app-shell.sidebar-collapsed .sidebar-footer { margin-inline: 6px; padding-inline: 0; justify-content: center; }
.app-shell.sidebar-collapsed .engine-indicator { width: 9px; height: 9px; }

@media (prefers-reduced-motion: reduce) {
  .app-shell, .sidebar-collapse svg { transition: none; }
}

@media (max-width: 680px) {
  .sidebar-collapse, .org-compact-button { display: none !important; }
  .app-shell.sidebar-collapsed { display: block; }
  .app-shell.sidebar-collapsed .sidebar { padding: 12px; }
  .app-shell.sidebar-collapsed .sidebar-brand { min-height: 0; padding: 0 0 12px; justify-content: flex-start; }
  .app-shell.sidebar-collapsed .sidebar-brand .product-logo { width: 32px; }
  .app-shell.sidebar-collapsed .sidebar-brand-copy { display: block; }
  .app-shell.sidebar-collapsed .org-picker { display: grid; }
  .app-shell.sidebar-collapsed .nav-label { display: inline; }
  .app-shell.sidebar-collapsed .nav-button > .nav-icon { display: none; }
  .app-shell.sidebar-collapsed .navigation { grid-template-columns: repeat(3, 1fr); }
  .app-shell.sidebar-collapsed .nav-button { width: auto; min-height: 40px; margin: 0; padding: 0 5px; justify-content: center; }
  .app-shell.sidebar-collapsed .nav-button::after { display: none; }
  .app-shell.sidebar-collapsed .sidebar-footer { display: none; }
}

/* Persistent application theme */
.theme-toggle { width: 34px; height: 34px; min-height: 34px; padding: 0; flex: 0 0 34px; border: 1px solid #cbd3ce; border-radius: 6px; display: grid; place-items: center; background: #fff; color: #536159; cursor: pointer; }
.theme-toggle:hover { border-color: #9faca4; background: #f2f6f3; color: #0e704e; }
.theme-toggle:focus-visible { outline: 2px solid #15966a; outline-offset: 2px; }
.theme-icon { width: 16px; height: 16px; grid-area: 1 / 1; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
.login-theme-toggle { position: absolute; z-index: 3; top: 24px; right: 24px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e5ece7;
  --muted: #a3afa7;
  --faint: #849189;
  --line: #303a34;
  --line-strong: #435047;
  --canvas: #101512;
  --surface: #171d19;
  --surface-subtle: #1c241f;
  --sidebar: #0b100d;
  --sidebar-raised: #151c18;
  --sidebar-line: #27312b;
  --accent: #45c893;
  --accent-hover: #65d8aa;
  --blue: #65b9d1;
  --green: #45c893;
  --danger: #f07186;
  --amber: #d7aa43;
  --orange: #e77a55;
  --shadow-soft: 0 10px 30px rgb(0 0 0 / 18%);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .workspace,
html[data-theme="dark"] .topbar { background: var(--canvas); color: var(--ink); }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle { border-color: #3a463f; background: #18201b; color: #c7d2cb; }
html[data-theme="dark"] .theme-toggle:hover { border-color: #5a6b61; background: #222c26; color: #65d8aa; }

html[data-theme="dark"] .sidebar { border-right-color: #26302a; background: var(--sidebar); color: var(--ink); }
html[data-theme="dark"] .sidebar-brand strong,
html[data-theme="dark"] .topbar h1,
html[data-theme="dark"] .section-header h2,
html[data-theme="dark"] td strong,
html[data-theme="dark"] .metric > strong { color: var(--ink); }
html[data-theme="dark"] .sidebar-brand small,
html[data-theme="dark"] .org-picker span,
html[data-theme="dark"] .nav-section-label,
html[data-theme="dark"] .sidebar-footer small { color: #829087; }
html[data-theme="dark"] .sidebar-footer strong { color: #d9e3dc; }
html[data-theme="dark"] .org-picker select,
html[data-theme="dark"] .app-shell.sidebar-collapsed .org-compact-button { border-color: #344039; background: #141b17; color: #d8e1db; }
html[data-theme="dark"] .nav-button { color: #9aa79f; }
html[data-theme="dark"] .nav-button:hover { background: #17201b; color: #e7eee9; }
html[data-theme="dark"] .nav-button.active { background: #183127; color: #63d7a8; }
html[data-theme="dark"] .app-shell.sidebar-collapsed .nav-section-label { border-top-color: #28332c; }
html[data-theme="dark"] .sidebar-collapse { border-color: #3a463f; background: #161e19; color: #aab7af; box-shadow: 0 4px 14px rgb(0 0 0 / 28%); }
html[data-theme="dark"] .sidebar-collapse:hover,
html[data-theme="dark"] .app-shell.sidebar-collapsed .org-compact-button:hover { border-color: #526158; background: #202a24; color: #62d6a7; }

html[data-theme="dark"] .user-menu { color: var(--ink); }
html[data-theme="dark"] .user-menu:hover { border-color: var(--line); background: #19211c; }
html[data-theme="dark"] .user-avatar { border-color: #326c54; background: #19392c; color: #68d9ac; }
html[data-theme="dark"] .secondary-button,
html[data-theme="dark"] .danger-button,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { border-color: #3b473f; background: #151c18; color: var(--ink); }
html[data-theme="dark"] .secondary-button:hover,
html[data-theme="dark"] .icon-button:hover { border-color: #56655c; background: #222b25; color: #f0f5f2; }
html[data-theme="dark"] .primary-button { border-color: #43bd8b; background: #43bd8b; color: #07110c; }
html[data-theme="dark"] .primary-button:hover { border-color: #65d8aa; background: #65d8aa; }
html[data-theme="dark"] .quiet-button { color: #65c7a0; }
html[data-theme="dark"] input:hover,
html[data-theme="dark"] select:hover,
html[data-theme="dark"] textarea:hover { border-color: #58675e; }
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus { border-color: #45c893; box-shadow: 0 0 0 3px rgb(69 200 147 / 14%); }
html[data-theme="dark"] .field > span,
html[data-theme="dark"] .scan-profile-field legend { color: #cbd5ce; }

html[data-theme="dark"] .section,
html[data-theme="dark"] .project-pull-requests,
html[data-theme="dark"] .guide-introduction,
html[data-theme="dark"] .guide-section,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .remediation-tabs,
html[data-theme="dark"] .remediation-finding-selector,
html[data-theme="dark"] .integration-hero,
html[data-theme="dark"] .integration-capability-section,
html[data-theme="dark"] .integration-policy-bar,
html[data-theme="dark"] .analysis-document,
html[data-theme="dark"] .attack-path-document { border-color: var(--line); background: var(--surface); box-shadow: 0 10px 28px rgb(0 0 0 / 12%); }
html[data-theme="dark"] .attack-chain-workspace,
html[data-theme="dark"] .chain-analysis-detail,
html[data-theme="dark"] .chain-stage { background: var(--surface); }
html[data-theme="dark"] .chain-analysis-list,
html[data-theme="dark"] .chain-analysis-meta,
html[data-theme="dark"] .chain-route-context,
html[data-theme="dark"] .chain-evidence-list { background: #131a16; }
html[data-theme="dark"] .chain-analysis-row:hover,
html[data-theme="dark"] .chain-analysis-row.active { background: #1a241e; }
html[data-theme="dark"] .chain-running > div:first-child,
html[data-theme="dark"] .chain-capability { background: #17282a; }
html[data-theme="dark"] .chain-route-context p { color: #c1ccc5; }
html[data-theme="dark"] .section-header { border-bottom-color: var(--line); }
html[data-theme="dark"] th { background: #1c241f; color: #9ca9a1; }
html[data-theme="dark"] td { border-bottom-color: #29332d; }
html[data-theme="dark"] tr.clickable:hover,
html[data-theme="dark"] .finding-item:hover,
html[data-theme="dark"] .remediation-finding-choice:hover,
html[data-theme="dark"] .cwe-rank-row:hover { background: #202a24; }
html[data-theme="dark"] .empty-state { color: var(--muted); }

html[data-theme="dark"] .project-layout { border-color: var(--line); background: var(--surface); box-shadow: 0 12px 34px rgb(0 0 0 / 16%); }
html[data-theme="dark"] .project-list { border-right-color: var(--line); background: #131a16; }
html[data-theme="dark"] .project-list > header,
html[data-theme="dark"] .project-list-controls,
html[data-theme="dark"] .project-heading,
html[data-theme="dark"] .project-summary,
html[data-theme="dark"] .project-tabs { border-color: var(--line); }
html[data-theme="dark"] .project-list-controls,
html[data-theme="dark"] .project-summary { background: var(--surface-subtle); }
html[data-theme="dark"] .project-item { border-bottom-color: #29332d; }
html[data-theme="dark"] .project-item:hover { background: #1d2621; }
html[data-theme="dark"] .project-item.active { border-left-color: #45c893; background: #202a24; }
html[data-theme="dark"] .project-tabs { background: rgb(23 29 25 / 98%); }
html[data-theme="dark"] .project-source-mark,
html[data-theme="dark"] .project-source-chip { border-color: #46534b; background: #242d27; color: #b9c5bd; }
html[data-theme="dark"] .project-key,
html[data-theme="dark"] .project-tabs button.active .project-tab-count { border-color: #326c54; background: #19392c; color: #69d8ac; }

html[data-theme="dark"] .finding-toolbar,
html[data-theme="dark"] .finding-pagination,
html[data-theme="dark"] .remediation-toolbar,
html[data-theme="dark"] .remediation-pagination,
html[data-theme="dark"] .remediation-attempt-status,
html[data-theme="dark"] .remediation-set-summary,
html[data-theme="dark"] .audit-toolbar,
html[data-theme="dark"] .audit-pagination,
html[data-theme="dark"] .integration-health-strip { border-color: var(--line); background: var(--surface-subtle); }
html[data-theme="dark"] .finding-item,
html[data-theme="dark"] .remediation-finding-choice,
html[data-theme="dark"] .remediation-set-finding { border-bottom-color: #29332d; }
html[data-theme="dark"] .finding-taxonomy { border-left-color: #45c893; background: #192b23; }
html[data-theme="dark"] .finding-cwe-list span,
html[data-theme="dark"] .finding-origin-badge { border-color: #386b55; background: #1b3328; color: #75dcb2; }
html[data-theme="dark"] .finding-distribution-bar,
html[data-theme="dark"] .finding-distribution-bar::-webkit-progress-bar,
html[data-theme="dark"] .cwe-rank-track,
html[data-theme="dark"] .cwe-rank-track::-webkit-progress-bar { background: #2a342e; }
html[data-theme="dark"] .audit-page-position,
html[data-theme="dark"] .remediation-page-position,
html[data-theme="dark"] .cwe-rank-count,
html[data-theme="dark"] .finding-distribution-row > strong { color: #cbd5ce; }
html[data-theme="dark"] .finding-distribution-row > span { color: #a8b4ac; }

html[data-theme="dark"] .status { border-color: #435047; background: #232c27; color: #b9c5bd; }
html[data-theme="dark"] .status-running,
html[data-theme="dark"] .status-queued,
html[data-theme="dark"] .status-in_progress { border-color: #356071; background: #172b33; color: #7ac5dc; }
html[data-theme="dark"] .status-completed,
html[data-theme="dark"] .status-complete,
html[data-theme="dark"] .status-active,
html[data-theme="dark"] .status-resolved { border-color: #356b53; background: #193328; color: #75dcb2; }
html[data-theme="dark"] .status-failed,
html[data-theme="dark"] .status-findings_detected,
html[data-theme="dark"] .status-denied,
html[data-theme="dark"] .status-rejected,
html[data-theme="dark"] .status-reportable { border-color: #75404a; background: #351d23; color: #f38a9b; }

html[data-theme="dark"] .provider-guidance,
html[data-theme="dark"] .dialog-policy-note,
html[data-theme="dark"] .markdown-document blockquote { border-left-color: #4d8ba4; background: #18272d; }
html[data-theme="dark"] .provider-guidance code,
html[data-theme="dark"] .delivery-link,
html[data-theme="dark"] .markdown-document a,
html[data-theme="dark"] .raw-artifact summary { color: #75c6df; }
html[data-theme="dark"] .dialog-policy-note p,
html[data-theme="dark"] .markdown-document blockquote { color: #aec0c8; }
html[data-theme="dark"] .scan-profile-picker,
html[data-theme="dark"] .scan-profile-option,
html[data-theme="dark"] .scan-profile-option + .scan-profile-option { border-color: #3a463f; background: #161d19; }
html[data-theme="dark"] .scan-profile-option:hover { background: #202922; }
html[data-theme="dark"] .scan-profile-option:has(input:checked) { background: #183029; box-shadow: inset 0 3px 0 #45c893; }
html[data-theme="dark"] .scan-compatibility-note,
html[data-theme="dark"] .integration-policy-warning { border-color: #7e672e; background: #332b18; }
html[data-theme="dark"] .integration-policy-warning p { color: #d4c28e; }
html[data-theme="dark"] .extreme-capacity-summary { background: #30231d; }
html[data-theme="dark"] .extreme-capacity-summary strong { color: #f19a78; }

html[data-theme="dark"] dialog,
html[data-theme="dark"] .drawer { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .dialog-header,
html[data-theme="dark"] .dialog-footer,
html[data-theme="dark"] .drawer-header { border-color: var(--line); background: #1b231e; }
html[data-theme="dark"] dialog::backdrop,
html[data-theme="dark"] .drawer-backdrop { background: rgb(2 6 4 / 66%); }
html[data-theme="dark"] .drawer { box-shadow: -20px 0 60px rgb(0 0 0 / 38%); }
html[data-theme="dark"] .raw-artifact,
html[data-theme="dark"] .scanner-code-evidence article > header { border-color: var(--line); background: #1b231e; }
html[data-theme="dark"] .markdown-document { color: #cbd5ce; }
html[data-theme="dark"] .markdown-document code { border-color: #355664; background: #17262c; color: #85cee4; }
html[data-theme="dark"] .markdown-document pre,
html[data-theme="dark"] .report-pre { border-color: #2e3933; background: #0b100d; color: #d9e4dc; }
html[data-theme="dark"] .error-banner,
html[data-theme="dark"] .form-error,
html[data-theme="dark"] .dialog-error,
html[data-theme="dark"] .failure { background: #351d23; color: #f49aaa; }

html[data-theme="dark"] .login-screen { background: #101512; }
html[data-theme="dark"] .login-access { border-left-color: #2c3731; background: #121915; color: var(--ink); }
html[data-theme="dark"] .login-form-heading h2,
html[data-theme="dark"] .login-mfa-heading h2 { color: var(--ink); }
html[data-theme="dark"] .login-panel .field input,
html[data-theme="dark"] .login-panel .field input:focus { border-color: #3b473f; background: #151c18; color: var(--ink); }
html[data-theme="dark"] .login-access-note { border-top-color: #303a34; }
html[data-theme="dark"] .login-footer { color: #849189; }
html[data-theme="dark"] .login-panel-logo { filter: brightness(1.12); }
html[data-theme="dark"] .login-mfa-identity,
html[data-theme="dark"] .login-mfa-methods,
html[data-theme="dark"] .login-mfa-manual-key,
html[data-theme="dark"] .login-mfa-recovery-codes { border-color: #354139; background: #19211c; color: var(--ink); }
html[data-theme="dark"] .login-mfa-method.active { background: #26312a; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 28%); }
html[data-theme="dark"] .login-mfa-manual-key code { color: #9dd7c0; }

html[data-theme="dark"] .settings-tabs,
html[data-theme="dark"] .mfa-profile-card,
html[data-theme="dark"] .pr-remediation-finding-list,
html[data-theme="dark"] .component-plan-review,
html[data-theme="dark"] .scan-workspace,
html[data-theme="dark"] .finding-list,
html[data-theme="dark"] .remediation-file-preview { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .finding-dashboard > .section-header,
html[data-theme="dark"] .remediation-dashboard > .section-header { background: var(--surface); }

@media (max-width: 980px) {
  .attack-chain-workspace { grid-template-columns: 1fr; }
  .chain-analysis-list { max-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chain-analysis-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-analysis-meta .definition:nth-child(2) { border-right: 0; }
  .chain-analysis-meta .definition:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .chain-detail-header, .chain-route-header, .impact-group-header { align-items: flex-start; flex-direction: column; }
  .chain-analysis-meta, .chain-route-context { grid-template-columns: 1fr; }
  .chain-analysis-meta .definition, .chain-route-context > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .chain-analysis-meta .definition:last-child, .chain-route-context > div:last-child { border-bottom: 0; }
  .attack-impact-groups { padding-inline: 12px; }
  .chain-stage > p, .chain-capability { margin-left: 12px; padding-left: 10px; }
  .chain-stage-evidence > summary { padding-left: 12px; }
}
html[data-theme="dark"] .remediation-tabs button.active { background: #253029; color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 26%); }
html[data-theme="dark"] .scan-wizard-progress li > span { border-color: #4a574f; background: #1a221d; }
html[data-theme="dark"] .scan-wizard-progress li.complete > span { border-color: #3d7a5e; background: #19382b; color: #70dbaf; }
html[data-theme="dark"] .scan-policy-disclosure pre { background: #0d120f; color: #d7e1da; }
html[data-theme="dark"] .scan-notice,
html[data-theme="dark"] .validation-artifact-omissions,
html[data-theme="dark"] .remediation-baseline-notice,
html[data-theme="dark"] .source-evidence-notice,
html[data-theme="dark"] .source-evidence-unavailable { border-left-color: #b28b32; background: #302817; color: #dac995 !important; }
html[data-theme="dark"] .remediation-danger-notice,
html[data-theme="dark"] .scan-review-warning { background: #351d23; color: #f2a0ae; }
html[data-theme="dark"] .shared-account-badge,
html[data-theme="dark"] .component-plan-size-warning { border-color: #75632f; background: #332b18; color: #d8c58e; }

@media (max-width: 680px) {
  .topbar-actions { grid-template-columns: auto auto auto; }
  .topbar-actions > .user-menu { grid-column: 1; }
  .topbar-actions > .theme-toggle { grid-column: 2; grid-row: 1; }
  .topbar-actions > #logout-button { grid-column: 3; }
  html[data-theme="dark"] .sidebar { background: var(--sidebar); }
  html[data-theme="dark"] .nav-button { color: #9aa79f; }
  html[data-theme="dark"] .nav-button:hover { background: #17201b; color: #e7eee9; }
  html[data-theme="dark"] .nav-button.active { background: #183127; color: #63d7a8; }
}

/* Current corporate identity assets */
.sidebar-brand .product-logo { width: 72px; filter: brightness(0) saturate(100%); }
.login-brand .product-logo { width: 96px; }
.login-panel-logo { width: 112px; filter: brightness(0) saturate(100%); }
.error-page-brand .product-logo { width: 96px; filter: brightness(0) saturate(100%); }
.app-shell.sidebar-collapsed .sidebar-brand .product-logo { width: 46px; }
html[data-theme="dark"] .sidebar-brand .product-logo,
html[data-theme="dark"] .login-panel-logo { filter: none; }

@media (max-width: 680px) {
  .sidebar-brand .product-logo,
  .app-shell.sidebar-collapsed .sidebar-brand .product-logo { width: 72px; }
}
