:root {
  --ink: #172238;
  --muted: #6d778a;
  --line: #e6e9ef;
  --surface: #ffffff;
  --canvas: #f4f5f8;
  --navy: #11182b;
  --purple: #7447ef;
  --purple-dark: #5d32dc;
  --cyan: #17b7ce;
  --green: #16a673;
  --orange: #e89037;
  --red: #d95063;
  --shadow: 0 12px 30px rgba(24, 34, 56, .07);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 250px; flex-direction: column; padding: 26px 18px 20px; color: #d8dce7; background: var(--navy); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px; color: #fff; }
.brand-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px 12px 12px 4px; color: #fff; background: linear-gradient(135deg, #9b5cf5, #20bfd3); box-shadow: 0 8px 22px rgba(116, 71, 239, .35); font-weight: 850; }
.brand strong, .brand small { display: block; line-height: 1.12; }
.brand strong { font-size: 17px; letter-spacing: -.3px; }
.brand small { margin-top: 2px; color: #aeb6ca; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-nav { display: flex; flex: 1; flex-direction: column; gap: 5px; margin-top: 42px; }
.sidebar-nav a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; min-height: 43px; padding: 9px 12px; border-radius: 10px; color: #abb3c5; font-weight: 650; transition: .15s ease; }
.sidebar-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-nav a[aria-current="page"] { color: #fff; background: linear-gradient(95deg, rgba(116,71,239,.35), rgba(27,190,211,.14)); box-shadow: inset 3px 0 #8a5df2; }
.nav-icon { color: #8e99b0; font-size: 19px; text-align: center; }
.sidebar-nav a[aria-current="page"] .nav-icon { color: #bda6ff; }
.nav-count { min-width: 22px; padding: 2px 6px; border-radius: 999px; color: #bec4d1; background: rgba(255,255,255,.08); font-size: 11px; text-align: center; }
.nav-label { margin: 22px 12px 5px; color: #677187; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 16px 8px 0; border-top: 1px solid rgba(255,255,255,.09); }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: #633cd2; font-weight: 800; }
.user-copy { min-width: 0; flex: 1; }
.user-copy strong, .user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-copy strong { color: #fff; font-size: 13px; }
.user-copy small { color: #7f899e; font-size: 11px; }
.logout-button { border: 0; color: #8a94a9; background: transparent; cursor: pointer; font-size: 20px; }
.main-content { min-height: 100vh; margin-left: 250px; padding: 42px clamp(26px, 4vw, 62px) 70px; }
.mobile-header { display: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.page-heading h1 { margin: 2px 0 5px; font-size: clamp(28px, 3vw, 39px); line-height: 1.12; letter-spacing: -.045em; }
.page-heading p { margin: 0; color: var(--muted); }
.eyebrow { margin: 0 0 4px !important; color: var(--purple) !important; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #bba9f7 !important; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 750; white-space: nowrap; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(105deg, var(--purple), #5c46dc); box-shadow: 0 8px 18px rgba(116,71,239,.22); }
.button-primary:hover { background: linear-gradient(105deg, var(--purple-dark), #4e39c8); }
.button-secondary { border-color: #ddd9ee; color: #5f39c9; background: #f8f6ff; }
.button-ghost { color: var(--muted); background: transparent; }
.button-wide { width: 100%; }
.actions { display: flex; align-items: center; gap: 10px; }
.actions form { margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { display: flex; min-height: 128px; align-items: center; gap: 15px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.stat-card.featured { border-color: #ddd6f7; background: linear-gradient(145deg, #fff, #f7f3ff); }
.stat-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 13px; font-size: 22px; font-weight: 800; }
.stat-icon.purple { color: #7546df; background: #eee8ff; }.stat-icon.cyan { color: #0798af; background: #e2f8fb; }.stat-icon.orange { color: #c87520; background: #fff0dd; }.stat-icon.green { color: #148a64; background: #e1f6ef; }
.stat-card p, .stat-card small { display: block; margin: 0; color: var(--muted); }
.stat-card p { font-size: 12px; font-weight: 700; }
.stat-card strong { display: block; margin: 1px 0 -2px; font-size: 31px; line-height: 1.15; letter-spacing: -.04em; }
.stat-card strong em { color: #9ba3b1; font-size: 12px; font-style: normal; letter-spacing: 0; }
.stat-card small { font-size: 11px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; }
.span-two { min-width: 0; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card-heading { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 23px; border-bottom: 1px solid var(--line); }
.card-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.card-heading a { color: var(--purple); font-size: 13px; font-weight: 750; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 20px; border-bottom: 1px solid #edf0f4; text-align: left; vertical-align: middle; }
th { color: #8991a0; background: #fbfbfc; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
td { color: #4c5669; font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfbff; }
td small, .table-title + small { display: block; max-width: 300px; overflow: hidden; color: #9aa1ae; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.table-title { color: var(--ink); font-weight: 750; }
.status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; color: #687183; background: #eff1f5; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-completed, .status-active { color: #0c805b; background: #def5ed; }.status-running, .status-new, .status-lead { color: #9b6413; background: #fff0d7; }.status-failed { color: #b43a4e; background: #fde6e9; }.status-paused, .status-queued { color: #687183; background: #eceff4; }
.score { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; font-size: 13px; font-weight: 850; }.score-good { color: #0c805b; background: #def5ed; }.score-warn { color: #a26711; background: #fff0d7; }.score-bad { color: #b43a4e; background: #fde6e9; }
.attention-list, .website-grid { display: flex; flex-direction: column; }
.attention-list a, .website-card { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #edf0f4; }
.attention-list a:last-child, .website-card:last-child { border-bottom: 0; }
.attention-list a:hover, .website-card:hover { background: #fcfbff; }
.attention-list a > span:nth-child(2), .website-card > span:nth-child(2) { min-width: 0; flex: 1; }
.attention-list strong, .attention-list small, .website-card strong, .website-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attention-list strong, .website-card strong { font-size: 13px; }.attention-list small, .website-card small { color: #929aaa; font-size: 11px; }
.site-initial { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #6740d1; background: #eee9ff; font-weight: 850; }
.arrow { color: #9ca3b1; font-size: 17px; }
.empty-state, .error-state { padding: 60px 25px; text-align: center; }.empty-state > span, .error-state > span { display: grid; width: 54px; height: 54px; margin: 0 auto 14px; place-items: center; border-radius: 16px; color: var(--purple); background: #eee9ff; font-size: 24px; }.empty-state h3, .error-state h2 { margin: 0 0 5px; }.empty-state p, .error-state p { max-width: 520px; margin: 0 auto 20px; color: var(--muted); }
.empty-compact { padding: 42px 20px; color: var(--muted); text-align: center; }.empty-compact span { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #0c805b; background: #def5ed; }.empty-compact p { margin: 8px 0; }
.messages { margin: -12px 0 20px; }.message { padding: 12px 16px; border-radius: 11px; color: #516071; background: #fff; box-shadow: var(--shadow); }.message.success { color: #0b7857; background: #e3f7f0; }.message.error { color: #a43b4c; background: #fdebed; }
.breadcrumbs { display: flex; gap: 9px; margin: 0 0 13px; color: #98a0ae; font-size: 12px; }.breadcrumbs a { color: var(--purple); font-weight: 700; }
.detail-card { padding: 23px; }.detail-card dl, .report-card dl { margin: 20px 0 0; }.detail-card dt, .report-card dt { color: #98a0ae; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.detail-card dd, .report-card dd { margin: 3px 0 17px; color: #3e495c; font-size: 13px; }
.external-link { color: var(--purple); font-weight: 650; }
.truncate { max-width: 390px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-hero { display: flex; align-items: center; gap: 27px; margin-bottom: 18px; padding: 27px 31px; border: 1px solid #e2dcf6; border-radius: var(--radius); background: linear-gradient(125deg, #fff, #f5f1ff); box-shadow: var(--shadow); }.scan-hero h2 { max-width: 780px; margin: 9px 0 4px; font-size: 20px; line-height: 1.35; }.scan-hero p { margin: 0; color: var(--muted); }
.score-ring { display: grid; width: 104px; height: 104px; flex: 0 0 auto; place-content: center; border: 9px solid; border-radius: 50%; text-align: center; }.score-ring strong { display: block; font-size: 28px; line-height: 1; }.score-ring span { color: #9aa2af; font-size: 10px; }.score-ring-good { color: #0b8c62; border-color: #bce8d8; }.score-ring-warn { color: #a56a10; border-color: #f5d89f; }.score-ring-bad { color: #b63e50; border-color: #f1bdc6; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }.category-grid article { padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }.category-grid p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }.category-grid strong { font-size: 25px; }.category-grid strong small { color: #9aa2af; font-size: 10px; }.meter { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #eceef2; }.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.check-list { display: flex; flex-direction: column; }.check-row { display: grid; grid-template-columns: 34px minmax(170px, .8fr) minmax(260px, 1.5fr) 42px; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid #edf0f4; }.check-row:last-child { border-bottom: 0; }.check-symbol { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; font-weight: 900; }.check-pass { color: #0c805b; background: #def5ed; }.check-partial { color: #9b6413; background: #fff0d7; }.check-fail { color: #b43a4e; background: #fde6e9; }.check-row strong, .check-row small { display: block; }.check-row strong { font-size: 13px; }.check-row small { color: #9aa1ae; font-size: 10px; }.check-row p { margin: 0; color: #667083; font-size: 12px; }.check-weight { color: #9aa1ae; font-size: 10px; text-align: right; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.report-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }.report-card h2 { margin: 4px 0 8px; font-size: 20px; }.report-card > p:not(.eyebrow) { min-height: 66px; margin: 0; color: var(--muted); font-size: 13px; }.report-top { display: flex; justify-content: space-between; margin-bottom: 18px; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }.integration-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 15px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }.integration-logo { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--navy), #43506e); font-weight: 850; }.integration-card h2 { margin: 0; font-size: 16px; }.integration-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.integration-state { color: #8a93a3; font-size: 11px; font-weight: 750; }.integration-state.connected { color: #0c805b; }.security-callout { display: flex; align-items: flex-start; gap: 16px; margin-top: 19px; padding: 22px; border: 1px solid #dcd4fa; border-radius: var(--radius); background: #f5f1ff; }.security-callout > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--purple); background: #e7dfff; font-size: 20px; }.security-callout h2 { margin: 0; font-size: 16px; }.security-callout p { margin: 4px 0 0; color: #6d6685; font-size: 13px; }
.form-card { max-width: 720px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }.model-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 27px; }.field { min-width: 0; }.field:has(textarea) { grid-column: 1 / -1; }.field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 750; }.field label span { color: var(--purple); }.form-control, .stack-form input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dce0e7; border-radius: 10px; outline: none; color: var(--ink); background: #fff; }.form-control:focus, .stack-form input:focus { border-color: #9b7ce8; box-shadow: 0 0 0 3px rgba(116,71,239,.10); }.form-textarea { min-height: 105px; resize: vertical; }.field > small { display: block; margin-top: 5px; color: var(--muted); }.field-error { margin: 5px 0 0; color: var(--red); font-size: 11px; }.form-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; padding-top: 7px; border-top: 1px solid var(--line); }.form-error { margin: 0 0 17px; padding: 11px 13px; border-radius: 9px; color: #a43b4c; background: #fdebed; font-size: 12px; }
.login-page { min-height: 100vh; padding: 24px; background: #f3f2f7; }.login-panel { display: grid; min-height: calc(100vh - 48px); grid-template-columns: minmax(380px, .9fr) minmax(430px, 1.1fr); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 25px 65px rgba(28,33,50,.12); }.login-intro { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 46px; color: #fff; background: radial-gradient(circle at 75% 15%, rgba(32,191,211,.26), transparent 25%), radial-gradient(circle at 20% 90%, rgba(136,82,235,.32), transparent 32%), linear-gradient(150deg, #11182b 10%, #242047 95%); }.login-intro::after { position: absolute; right: -100px; bottom: 14%; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }.login-intro h1 { position: relative; z-index: 1; max-width: 560px; margin: 10px 0 18px; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.055em; }.login-intro > div > p:last-child { position: relative; z-index: 1; max-width: 500px; color: #bfc5d4; font-size: 16px; }.brand-light { padding: 0; }.login-footnote { position: relative; z-index: 1; color: #7e88a0; font-size: 11px; }.login-form-wrap { display: grid; padding: 40px; place-items: center; }.login-form-card { width: min(100%, 400px); }.login-form-card h2 { margin: 4px 0 7px; font-size: 31px; letter-spacing: -.04em; }.muted { color: var(--muted); }.login-form-card > .muted { margin: 0 0 28px; }.stack-form { display: flex; flex-direction: column; }.stack-form label { margin: 13px 0 6px; font-size: 12px; font-weight: 750; }.stack-form input { min-height: 48px; }.stack-form button { margin-top: 22px; }.security-note { margin: 20px 0 0; color: #9aa1ae; font-size: 11px; text-align: center; }.security-note span { color: var(--green); }
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, 1fr); }.report-grid { grid-template-columns: repeat(2, 1fr); }.content-grid { grid-template-columns: 1fr; }.integration-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sidebar { display: none; }.main-content { margin-left: 0; padding: 90px 16px 45px; }.mobile-header { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; min-height: 70px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }.brand.compact { padding: 0; color: var(--ink); }.brand.compact .brand-mark { width: 34px; height: 34px; }.brand.compact strong { font-size: 14px; }.mobile-menu { position: relative; }.mobile-menu summary { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; }.mobile-menu nav { position: absolute; top: 46px; right: 0; display: flex; width: 190px; flex-direction: column; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.mobile-menu nav a { padding: 9px 10px; border-radius: 8px; font-weight: 650; }.mobile-menu nav a:hover { background: #f4f1ff; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading .button { width: 100%; }.actions { width: 100%; flex-wrap: wrap; }.actions .button, .actions form, .actions form button { flex: 1; }.stats-grid, .category-grid, .report-grid { grid-template-columns: 1fr; }.stat-card { min-height: 105px; }.check-row { grid-template-columns: 32px 1fr 35px; }.check-row p { grid-column: 2 / 4; }.scan-hero { align-items: flex-start; flex-direction: column; }.model-form { grid-template-columns: 1fr; padding: 20px; }.field:has(textarea), .form-actions { grid-column: 1; }.login-page { padding: 0; }.login-panel { min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; }.login-intro { min-height: 300px; padding: 28px; }.login-intro h1 { margin-top: 8px; font-size: 38px; }.login-intro > div > p:last-child { font-size: 14px; }.login-form-wrap { padding: 45px 24px; }.login-footnote { display: none; } }
@media print { .sidebar, .mobile-header, .page-heading .actions, .breadcrumbs, .button { display: none !important; }.main-content { margin: 0; padding: 20px; }.card, .scan-hero, .category-grid article { box-shadow: none; } }
