:root {
  --ink: #20263b;
  --muted: #7b849b;
  --subtle: #a6aec0;
  --line: #e8ebf2;
  --paper: #f5f6fa;
  --panel: #ffffff;
  --indigo: #5965e9;
  --indigo-dark: #4652ca;
  --indigo-pale: #eff0ff;
  --sidebar: #202335;
  --green: #16826a;
  --red: #b74758;
  --amber: #a56b15;
  --shadow: 0 4px 22px rgba(34, 42, 75, .035);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--indigo); }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a3aaff; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; line-height: 1.35; letter-spacing: -.045em; font-weight: 730; margin-bottom: 9px; }
h2 { font-size: 17px; line-height: 1.5; letter-spacing: -.025em; font-weight: 700; margin-bottom: 6px; }
h3 { font-size: 16px; line-height: 1.5; margin-bottom: 7px; }
form { margin: 0; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.multiline { white-space: pre-wrap; overflow-wrap: anywhere; }
.strong { font-weight: 650; }
.eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 750; color: var(--indigo); margin-bottom: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; border: 1px solid var(--indigo); border-radius: 7px; padding: 9px 17px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.button:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); color: #fff; }
.button.secondary { background: #fff; border-color: #dce0eb; color: #505a74; box-shadow: none; }
.button.secondary:hover { background: #f7f8fe; border-color: #c5cbea; color: var(--indigo); }
.button.small { min-height: 34px; padding: 6px 13px; font-size: 11px; }
.button.full { width: 100%; }
.danger-button { background: #fff; border-color: #ebcbd2; color: var(--red); }
.danger-button:hover { background: #fceff2; color: var(--red); border-color: #d39ca8; }
.text-link, .primary-link { font-weight: 650; }
.text-link { color: var(--indigo); font-size: 12px; white-space: nowrap; }
.back-link { color: var(--muted); display: inline-block; font-size: 12px; margin-bottom: 17px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 21px; font-weight: 800; letter-spacing: -.045em; line-height: 1.25; }
.brand small { display: block; color: #858ba5; font-size: 7px; letter-spacing: .14em; font-weight: 650; margin-top: 6px; }
.brandmark { width: 36px; height: 36px; display: inline-grid; place-items: center; flex-shrink: 0; background: var(--indigo); color: #fff; border-radius: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 236px; padding: 29px 18px 0; background: var(--sidebar); color: #eff1fa; z-index: 20; }
.sidebar > .brand { padding-left: 10px; }
.sidebar .brand:hover { color: #fff; }
.workspace-label { display: flex; gap: 10px; align-items: center; margin: 38px 0 29px; padding: 12px 10px; background: #2a2d43; border: 1px solid #33374f; border-radius: 8px; font-size: 12px; font-weight: 650; }
.workspace-label small { display: block; font-size: 9px; color: #9298b0; font-weight: 400; margin-top: 2px; }
.workspace-avatar { display: grid; place-items: center; height: 29px; width: 29px; border-radius: 6px; color: #b8beff; background: #3c4264; font-size: 12px; }
.nav-heading { color: #7f859e; font-size: 10px; letter-spacing: .06em; margin: 0 12px 10px; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { display: flex; align-items: center; gap: 12px; border-radius: 7px; padding: 11px 14px; color: #aab1ca; font-size: 12px; }
.side-nav a > span { width: 17px; font-size: 17px; line-height: 1; text-align: center; color: #858da9; }
.side-nav a:hover { color: #fff; background: #2b2e45; }
.side-nav a[aria-current="page"] { color: #fff; background: #39416d; }
.side-nav a[aria-current="page"] > span { color: #b6beff; }
.sidebar-note { margin-top: auto; padding: 40px 12px 24px; }
.sidebar-note > span { font-size: 8px; letter-spacing: .16em; color: #737b98; }
.sidebar-note p { font-size: 11px; line-height: 1.9; margin: 10px 0 0; color: #929ab5; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid #34384e; }
.sidebar-user > div { min-width: 0; flex: 1; }
.sidebar-user strong { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: block; font-size: 9px; color: #8790ac; margin-top: 1px; }
.logout { border: 0; background: transparent; color: #a6aec7; padding: 6px; font-size: 19px; cursor: pointer; }
.logout:hover { color: #fff; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #e8eaff; color: #6571cb; font-weight: 700; font-size: 12px; }
.avatar.small { width: 29px; height: 29px; font-size: 11px; }
.avatar.large { width: 52px; height: 52px; font-size: 21px; }
.workspace-main { margin-left: 236px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 71px; padding: 18px 38px; border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb { font-size: 11px; color: var(--muted); }
.breadcrumb span { margin: 0 12px; color: #c7cbd8; }
.breadcrumb strong { color: #566079; font-weight: 550; }
.topbar-meta { display: flex; gap: 20px; align-items: center; }
.role-pill { font-size: 10px; color: #818aa0; }
.content { width: 100%; max-width: 1510px; padding: 34px 38px 20px; margin: 0 auto; flex: 1; min-width: 0; }
.footer { padding: 26px 38px; display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: #99a0b3; line-height: 1.8; }
.footer-dot { margin: 0 7px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-heading > div:first-child { min-width: 0; }
.page-heading p { margin-bottom: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.heading-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.heading-title h1 { overflow-wrap: anywhere; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; flex-shrink: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); min-width: 0; margin-bottom: 22px; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 26px; border-bottom: 1px solid var(--line); }
.card-heading h2 { font-size: 15px; margin-bottom: 3px; }
.card-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.count-label { font-size: 10px; color: var(--muted); white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }
.stat-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 23px 24px; box-shadow: var(--shadow); }
.stat-card > span { display: block; color: #747e97; font-size: 11px; }
.stat-card > strong { display: block; font-size: 31px; line-height: 1.3; font-weight: 650; letter-spacing: -.04em; margin: 12px 0 7px; }
.stat-card > small { font-size: 10px; color: #a0a8b9; }
.table-scroll { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
th { color: #8b94a8; font-size: 10px; font-weight: 550; background: #fcfcfe; padding: 13px 22px; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 18px 22px; border-bottom: 1px solid #eef0f5; color: #606b83; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fdfdff; }
td .primary-link, td > strong { color: var(--ink); }
.table-sub { display: block; font-size: 10px; color: #9aa2b4; margin-top: 5px; }
.url-cell { max-width: 330px; min-width: 180px; overflow-wrap: anywhere; }
.score-cell { color: var(--ink); font-size: 15px; }
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; padding: 4px 8px; font-size: 10px; line-height: 1.5; white-space: nowrap; font-weight: 550; }
.badge.neutral { color: #7c859d; background: #f0f2f7; }
.badge.green { color: #27876f; background: #e9f6f1; }
.badge.indigo { color: #6370d7; background: #eef0ff; }
.badge.amber { color: #b18236; background: #fff6e5; }
.badge.red { color: #ba5566; background: #fff0f2; }
.table-filter { width: 224px; min-width: 130px; margin: 0; padding: 9px 12px; font-size: 11px; }
.filter-empty { text-align: center; padding: 24px; color: var(--muted); font-size: 12px; }
.empty-state { padding: 45px 24px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { display: grid; place-items: center; margin: 0 auto 17px; background: #f1f3fc; border-radius: 12px; color: #9bA5d9; font-size: 23px; width: 48px; height: 48px; }
.empty-state h3 { color: #626e88; font-size: 14px; font-weight: 600; }
.empty-state p { font-size: 12px; max-width: 510px; margin: 0 auto 15px; }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state.compact { padding: 32px 24px; }
.notice { display: flex; flex-direction: column; gap: 5px; padding: 16px 19px; background: #eef2fc; border: 1px solid #dde5f7; border-radius: 8px; color: #5c7198; margin-bottom: 22px; font-size: 12px; overflow-wrap: anywhere; }
.notice.danger { color: #ae5060; background: #fff1f3; border-color: #f1d7de; }
.notice.success { color: #287c65; background: #edf8f3; border-color: #d8ebdf; }
label { display: block; margin-bottom: 21px; font-weight: 600; color: #515b74; font-size: 12px; }
input, textarea, select { width: 100%; border: 1px solid #dfe3ec; border-radius: 7px; padding: 11px 13px; background: #fff; color: var(--ink); margin-top: 8px; font-size: 12px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: #a4abf1; box-shadow: 0 0 0 3px #f0f0ff; }
input::placeholder, textarea::placeholder { color: #adb4c4; }
textarea { resize: vertical; min-height: 86px; line-height: 1.8; font-family: inherit; }
label small { display: block; font-size: 10px; line-height: 1.8; color: #98a1b5; font-weight: 400; margin-top: 7px; }
.optional { font-size: 10px; color: #a2aabd; font-weight: 400; margin-left: 7px; }
.settings-form { max-width: 970px; padding: 30px; }
.settings-form > p { font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.span-two { grid-column: 1 / -1; }
.section-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 27px; margin-top: 8px; }
.section-title > span { color: var(--indigo); background: var(--indigo-pale); display: grid; place-items: center; width: 31px; height: 31px; font-size: 10px; font-weight: 700; border-radius: 8px; flex-shrink: 0; }
.section-title h2 { font-size: 15px; margin-bottom: 3px; }
.section-title p { font-size: 11px; color: var(--muted); margin: 0; }
.check-label { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; font-weight: 400; white-space: nowrap; }
.check-label input, .authorization-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--indigo); flex-shrink: 0; }
.settings-form > .check-label { margin: -7px 0 23px; }
.authorization-check { display: flex; gap: 10px; align-items: flex-start; padding: 17px; margin: 27px 0 0; background: #f6f7fc; border-radius: 8px; color: #6d7790; font-size: 11px; line-height: 1.9; font-weight: 400; }
.authorization-check input { margin-top: 3px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--line); }
.target-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.config-card { padding: 25px; }
.detail-list { margin: 18px 0 0; }
.detail-list dt { font-size: 10px; color: #939cb0; margin-top: 20px; }
.detail-list dd { font-size: 12px; color: #5a667f; margin: 6px 0 0; overflow-wrap: anywhere; }
.meta-divider { color: #c6ccda; margin: 0 9px; }
.scan-progress { padding: 30px; }
.progress-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.progress-title h2 { font-size: 21px; margin-bottom: 0; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px #eff0ff; }
.progress-detail { margin: 24px 0; padding: 17px 20px; background: #f7f8fe; border-radius: 8px; color: #6e7890; font-size: 12px; overflow-wrap: anywhere; }
.scan-counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; }
.scan-counter-grid > div { padding: 18px 23px; border-right: 1px solid var(--line); }
.scan-counter-grid > div:last-child { border-right: 0; }
.scan-counter-grid span { display: block; color: #8a94aa; font-size: 11px; }
.scan-counter-grid strong { display: block; font-size: 29px; letter-spacing: -.04em; margin-top: 4px; font-weight: 650; }
.progress-hint, .poll-message { font-size: 11px; color: #8d97ad; margin: 18px 0 0; }
.poll-message { margin-top: 7px; }
.poll-message.is-error { color: var(--red); }
.report-overview { padding: 28px; display: flex; align-items: center; gap: 30px; }
.report-score { border-right: 1px solid var(--line); padding-right: 30px; text-align: center; min-width: 130px; }
.report-score span, .report-score small { display: block; font-size: 10px; color: #8c95aa; }
.report-score strong { font-size: 46px; font-weight: 650; letter-spacing: -.07em; line-height: 1.45; }
.report-summary { min-width: 0; }
.report-summary h2 { font-size: 18px; }
.report-summary > p { color: #8b95ab; font-size: 11px; }
.report-facts { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 10px; color: #959eb1; }
.report-facts strong { color: #62708b; margin-left: 6px; font-weight: 550; }
.evidence-notice { margin: 0 0 23px; padding: 15px 18px; font-size: 11px; color: #8b7c59; background: #fcf9ef; border: 1px solid #f0e9d7; border-radius: 8px; }
.parameter-table td:first-child { max-width: 300px; min-width: 175px; }
.parameter-table td:last-child { min-width: 250px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0 17px; }
.section-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.finding { padding: 25px 28px; }
.finding-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.rule-id { color: #a3aabd; margin-left: 3px; font-size: 10px; overflow-wrap: anywhere; }
.finding-heading h3 { margin: 16px 0 8px; font-size: 17px; }
.finding-heading p { color: #828da4; font-size: 12px; line-height: 1.8; }
.finding-detail { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px 17px; border-top: 1px solid var(--line); padding-top: 22px; margin: 22px 0 0; }
.finding-detail dt { color: #8c96ab; font-size: 11px; }
.finding-detail dd { margin: 0; min-width: 0; color: #69758e; font-size: 12px; }
.evidence { padding: 17px 19px; margin: 0; background: #f6f7fb; border: 1px solid #e6e9f1; border-radius: 7px; color: #56617b; font: 11px/1.9 "SFMono-Regular", Consolas, "Liberation Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; tab-size: 2; }
.evidence code { font: inherit; }
.review-section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; }
.review-section summary { cursor: pointer; color: #7a86a0; font-size: 11px; }
.review-section form { padding-top: 20px; }
.review-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; }
.review-note { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; font-size: 11px; color: #8a95aa; }
.review-note p { margin: 9px 0 0; color: #65718a; }
.member-form { display: flex; align-items: center; gap: 10px; }
.member-form select { margin: 0; min-width: 100px; width: 110px; padding: 7px 9px; font-size: 11px; }
.invite-result input { max-width: 720px; background: #fff; color: #456d60; margin: 8px 0; }
.invite-result button { align-self: flex-start; }
.copy-message { font-size: 11px; }
.audit-action { color: #6775ba; }
.account-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.profile-header { display: flex; align-items: center; gap: 16px; }
.profile-header p { margin: 0; font-size: 11px; overflow-wrap: anywhere; }
.error-card { max-width: 650px; margin: 60px auto; padding: 44px; }
.error-card p { color: #8b95ac; font-size: 13px; margin: 18px 0 26px; overflow-wrap: anywhere; }
.auth-page { background: #f9faff; min-height: 100vh; display: flex; flex-direction: column; }
.auth-header { display: flex; align-items: center; justify-content: space-between; padding: 27px clamp(22px, 6vw, 86px); border-bottom: 1px solid #eef0f8; background: #fff; }
.auth-caption { font-size: 10px; color: #a0a8bb; }
.auth-main { flex: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.auth-main > .notice { margin-top: 25px; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 70px; align-items: center; padding: 55px 35px; min-height: 650px; }
.auth-story .eyebrow { margin-bottom: 20px; font-size: 9px; }
.auth-story h1 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.45; letter-spacing: -.05em; }
.auth-story > p { color: #8e98ae; font-size: 13px; line-height: 1.9; }
.auth-art { display: block; width: 245px; max-width: 80%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 18px 0 5px; }
.auth-features { display: flex; gap: 27px; font-size: 10px; color: #919cb5; }
.auth-form-wrap { background: #fff; border: 1px solid #e9ecf4; box-shadow: 0 16px 50px -25px #cbd1e6; padding: 40px; border-radius: 14px; }
.auth-form h2 { font-size: 24px; margin: 12px 0; }
.auth-form > p { font-size: 12px; margin-bottom: 30px; }
.auth-form input { min-height: 44px; }
.auth-form .button { min-height: 45px; margin-top: 2px; }
.form-help { color: #9ba4b9; font-size: 10px; text-align: center; line-height: 1.9; margin: 22px 0 0 !important; }
.form-help.left { text-align: left; }
.auth-page > .footer { width: 100%; padding-left: clamp(22px, 6vw, 86px); padding-right: clamp(22px, 6vw, 86px); }
.invite-wrap { max-width: 515px; margin: 48px auto; }
.invite-form { padding: 36px; }
.invite-form h1 { font-size: 26px; }
.invite-form > p { font-size: 12px; }
.invite-summary { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 18px; background: #f6f7fc; border-radius: 8px; font-size: 11px; margin: 26px 0; color: #939db3; }
.invite-summary strong { font-weight: 500; color: #69758f; overflow-wrap: anywhere; }
@media (max-width: 1180px) {
  .sidebar { width: 211px; padding-left: 14px; padding-right: 14px; }
  .workspace-main { margin-left: 211px; }
  .content { padding: 28px 25px 15px; }
  .topbar { padding-left: 25px; padding-right: 25px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 20px 18px; }
  .target-grid { grid-template-columns: minmax(0, 1fr); }
  .config-card .detail-list { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .config-card dt, .config-card dd { margin: 0; }
  .auth-shell { gap: 40px; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 900px) {
  .sidebar { width: 190px; padding-top: 24px; }
  .sidebar .brand { font-size: 18px; padding-left: 5px; gap: 8px; }
  .sidebar .brandmark { width: 31px; height: 31px; }
  .workspace-main { margin-left: 190px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .card-heading { padding: 20px; }
  .table-filter { width: 185px; }
  .account-grid { grid-template-columns: 1fr; }
  .auth-shell { gap: 25px; }
  .auth-form-wrap { padding: 28px; }
  .auth-art { width: 215px; }
  .auth-caption { display: none; }
}
@media (max-width: 680px) {
  .sidebar { position: static; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 12px; padding: 18px 18px 12px; }
  .sidebar > .brand { padding: 0; }
  .sidebar .brand small { display: none; }
  .workspace-label, .nav-heading, .sidebar-note { display: none; }
  .sidebar-user { padding: 0; border: 0; gap: 8px; }
  .sidebar-user > div { display: none; }
  .side-nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 5px; overflow-x: auto; margin: 0 -3px; }
  .side-nav a { white-space: nowrap; padding: 8px 10px; font-size: 11px; }
  .side-nav a > span { display: none; }
  .workspace-main { margin-left: 0; }
  .topbar { min-height: 55px; padding: 12px 19px; }
  .topbar-meta { gap: 12px; }
  .topbar-meta .avatar { display: none; }
  .content { padding: 25px 17px 8px; }
  h1 { font-size: 25px; }
  .page-heading { margin-bottom: 22px; }
  .stats-grid { gap: 11px; margin-bottom: 20px; }
  .stat-card { padding: 18px 17px; }
  .stat-card > strong { font-size: 27px; margin-top: 9px; }
  .stat-card > small { font-size: 9px; }
  .card-heading { flex-wrap: wrap; gap: 13px; padding: 19px; }
  .table-filter { width: 100%; }
  .table-scroll table { min-width: 620px; }
  td, th { padding-left: 18px; padding-right: 18px; }
  .footer { padding: 23px 18px; flex-direction: column; gap: 5px; font-size: 9px; }
  .settings-form { padding: 22px 19px; }
  .form-grid, .review-grid { grid-template-columns: 1fr; gap: 0; }
  .span-two { grid-column: auto; }
  .scan-progress { padding: 23px 19px; }
  .scan-counter-grid > div { padding: 15px 12px; }
  .scan-counter-grid span { font-size: 10px; }
  .scan-counter-grid strong { font-size: 25px; }
  .report-overview { gap: 20px; padding: 24px 20px; align-items: flex-start; }
  .report-score { min-width: 85px; padding-right: 20px; }
  .report-score strong { font-size: 36px; }
  .report-summary h2 { font-size: 16px; }
  .report-facts { gap: 9px; }
  .finding { padding: 21px 19px; }
  .finding-detail { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .finding-detail dd { margin-bottom: 12px; }
  .evidence { padding: 14px; font-size: 10px; }
  .auth-header { padding: 22px; }
  .auth-main { width: min(100% - 34px, 460px); }
  .auth-shell { display: block; padding: 30px 0; min-height: 0; }
  .auth-story { margin-bottom: 27px; }
  .auth-story h1 { font-size: 30px; }
  .auth-story > p { font-size: 12px; }
  .auth-story .eyebrow { font-size: 8px; margin-bottom: 15px; }
  .auth-art, .auth-features { display: none; }
  .auth-form-wrap { padding: 28px 24px; }
  .auth-form h2 { font-size: 22px; }
  .auth-page > .footer { padding: 25px 22px; }
  .invite-wrap { margin: 30px auto; }
  .invite-form { padding: 25px; }
  .invite-summary { grid-template-columns: 1fr; gap: 6px; }
  .invite-summary strong { margin-bottom: 5px; }
  .error-card { padding: 28px; margin-top: 30px; }
}
@media print {
  body { color: #222; background: #fff; font-size: 10pt; }
  .sidebar, .topbar, .footer, .no-print, .back-link, .notice, .table-filter, .review-section { display: none !important; }
  .workspace-main { margin: 0; display: block; }
  .content { max-width: none; width: 100%; padding: 0; }
  .card { box-shadow: none; border-color: #ddd; margin-bottom: 16px; }
  .page-heading h1 { font-size: 23pt; }
  .table-scroll { overflow: visible; }
  .table-scroll table { min-width: 0; font-size: 9pt; }
  th, td { padding: 8px; }
  .finding { break-inside: auto; }
  .finding-heading, .report-overview { break-inside: avoid; }
  .evidence { background: #fff; font-size: 8pt; overflow: visible; }
  .finding-detail { display: block; }
  .finding-detail dt { margin: 12px 0 5px; }
  .report-facts { font-size: 9pt; }
  thead { display: table-header-group; }
  tr { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
