:root {
  color-scheme: light;
  --canvas: #f4f1e9;
  --paper: #fffdf8;
  --ink: #191b18;
  --muted: #687069;
  --line: #e3e1d9;
  --dark: #171a16;
  --orange: #ed5b2d;
  --orange-pale: #fff0e7;
  --amber: #93622a;
  --amber-pale: #faf0dd;
  --lavender: #e8e1fa;
  font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: #c7b4ee; color: #18161f; }
:focus-visible { outline: 3px solid #ec754f; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; min-height: 100vh; padding: 29px 17px 23px; display: flex; flex-direction: column; color: #f2efe7; background: var(--dark); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 13px 49px; letter-spacing: .16em; }
.brand strong { display: block; font-size: 13px; line-height: 1.2; }
.brand small { display: block; margin-top: 4px; color: #aaa9a0; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.brand-mark { display: grid; width: 31px; height: 31px; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-8deg); }
.brand-mark span { border: 2px solid #f47a4e; border-radius: 2px; }
.brand-mark span:nth-child(2) { opacity: .5; }
.brand-mark span:nth-child(3) { opacity: .75; }
.brand-mark span:nth-child(4) { background: #f47a4e; }
.sidebar-label { display: block; padding: 0 14px 12px; color: #8e948a; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.sidebar-group { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 10px; color: #aeb3a9; text-decoration: none; font-weight: 650; transition: background .18s, color .18s; }
.nav-item svg { width: 17px; height: 17px; }
.nav-item:hover { color: #fff; background: #30332d; }
.nav-item.active { color: #fff; background: #34352f; }
.nav-item.active::after { content: ""; width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #f37a4c; }
.sidebar-note { display: flex; gap: 11px; margin: auto 5px 25px; padding: 16px 14px; border: 1px solid #45473e; border-radius: 11px; background: #242820; }
.note-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #ff8b59; }
.sidebar-note strong { display: block; font-size: 11px; line-height: 1.4; }
.sidebar-note p { margin: 5px 0 0; color: #b0b4aa; font-size: 11px; line-height: 1.55; }
.sidebar-foot { padding-left: 14px; color: #858a80; font-size: 10px; letter-spacing: .04em; }

.main-area { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 clamp(22px, 3.2vw, 50px); border-bottom: 1px solid var(--line); background: #fbfaf5; }
.breadcrumb { color: #5a6259; font-size: 12px; font-weight: 650; }
.breadcrumb span { margin: 0 10px; color: #a9aca1; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.config-indicator { color: #61695d; font-size: 11px; white-space: nowrap; }
.config-indicator::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #f07343; vertical-align: 1px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d8d8d0; border-radius: 9px; background: #fffdf8; color: #4d534b; transition: background .18s, border-color .18s; }
.icon-button:hover { background: #f1ece3; border-color: #aaa99e; }
.icon-button svg { width: 16px; height: 16px; }
.content { max-width: 1600px; margin: 0 auto; padding: 29px clamp(22px, 3.2vw, 50px) 60px; }

.heading-row { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 252px; margin-bottom: 23px; padding: clamp(27px, 3vw, 40px); overflow: hidden; border: 1px solid #ece9df; border-radius: 17px; background: #faf9f4; box-shadow: 0 15px 35px rgba(34,30,16,.035); }
.hero-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 18% 100%, rgba(199,177,255,.52), transparent 32%), radial-gradient(circle at 82% 24%, rgba(248,238,149,.55), transparent 37%), radial-gradient(circle at 61% 115%, rgba(229,220,255,.66), transparent 43%); }
.heading-row::after { content: ""; position: absolute; z-index: -1; top: -120px; right: -66px; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 0 0 43px rgba(255,255,255,.18), 0 0 0 86px rgba(255,255,255,.13); }
.hero-copy { max-width: 620px; }
.section-context { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; color: #50584d; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.context-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.heading-row h1 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.6vw, 54px); font-weight: 500; line-height: 1.03; letter-spacing: -.035em; }
.heading-row h1 em { font-weight: 400; }
.intro { max-width: 540px; margin: 0; color: #4c554d; font-size: 13px; line-height: 1.55; }
.hero-side { z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; min-width: 207px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 19px; border: 0; border-radius: 9px; color: #fff; background: var(--dark); box-shadow: 0 8px 20px rgba(24,25,21,.17); font-weight: 750; white-space: nowrap; transition: transform .2s, background .2s; }
.primary-button:hover { background: #34362f; transform: translateY(-1px); }
.primary-button:disabled { opacity: .5; cursor: wait; transform: none; }
.primary-button > span { font-size: 18px; font-weight: 400; line-height: .8; }
.engine-status { margin: 14px 0 0; color: #315c43; font-size: 12px; font-weight: 750; }
.engine-error { margin: 8px 0 0; color: #ad3d27; font-size: 12px; }
.setup-link { color: #4b554a; font-size: 11px; font-weight: 700; }
.load-more { display: block; margin: 10px auto 22px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-weight: 700; }
.guide-body { background: var(--canvas); }
.guide { width: min(760px, calc(100% - 32px)); margin: 35px auto 70px; padding: clamp(22px, 5vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.guide-back { display: inline-block; margin-bottom: 28px; color: #305b46; font-weight: 750; }
.guide h1 { margin: 0 0 14px; font: 500 clamp(32px, 5vw, 46px)/1.1 Georgia, serif; }
.guide h2 { margin: 0 0 10px; font-size: 18px; }
.guide p, .guide li { color: #4b554a; line-height: 1.65; }
.guide section { padding: 22px 0; border-top: 1px solid var(--line); }
.guide section:first-of-type { margin-top: 28px; }
.guide ol { padding-left: 20px; }
.guide li { margin-bottom: 7px; }
.guide pre { overflow-x: auto; padding: 14px; border-radius: 8px; background: #232820; color: white; }
.guide code { font-family: Consolas, monospace; }
.detail-content code { overflow-wrap: anywhere; }
.guide-note { padding: 16px; border-radius: 8px; background: var(--amber-pale); }
.hero-process { display: grid; gap: 5px; min-width: 177px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 10px; background: rgba(255,253,248,.72); box-shadow: 0 9px 28px rgba(49,41,18,.07); backdrop-filter: blur(8px); }
.hero-process span { display: flex; gap: 10px; color: #454a43; font-size: 11px; font-weight: 650; }
.hero-process b { color: var(--orange); font-size: 10px; letter-spacing: .08em; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 23px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.metric { position: relative; min-height: 103px; padding: 22px 25px; }
.metric:not(:last-child)::after { content: ""; position: absolute; top: 23px; right: 0; bottom: 23px; border-right: 1px solid var(--line); }
.metric span { display: block; margin-bottom: 9px; color: #73796f; font-size: 12px; font-weight: 650; }
.metric strong { color: #20231e; font-size: 30px; font-weight: 680; font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1; }
.metric.risk strong { color: #d34f2f; }
.metric.amber strong { color: #a06822; }

.workspace-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 22px; }
.findings-panel, .activity-panel { min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 25px 21px; }
.panel-heading h2 { margin: 0 0 5px; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.panel-heading p { margin: 0; color: #767d73; font-size: 11px; line-height: 1.5; }
.count-chip { padding: 6px 10px; border-radius: 20px; background: #eeeae1; color: #565d53; font-size: 10px; font-weight: 800; white-space: nowrap; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 25px 18px; }
.filter-list { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.filter { padding: 8px 10px; border: 0; border-radius: 6px; color: #70766c; background: transparent; font-size: 11px; font-weight: 750; white-space: nowrap; }
.filter:hover { color: var(--ink); background: #f0ede5; }
.filter.active { color: #fff; background: var(--dark); }
.search-box { display: flex; align-items: center; gap: 7px; min-width: 165px; height: 35px; padding: 0 10px; border: 1px solid #deddd4; border-radius: 8px; background: #fff; }
.search-box svg { width: 14px; height: 14px; color: #8a9088; }
.search-box input { width: 137px; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #a1a49d; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 690px; border-collapse: collapse; }
th { padding: 12px 19px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #81877e; background: #f7f5ee; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
th:first-child, td:first-child { padding-left: 25px; }
th:last-child, td:last-child { padding-right: 25px; }
td { padding: 17px 19px; border-bottom: 1px solid #eeece4; color: #535b52; font-size: 11px; white-space: nowrap; }
tbody tr { cursor: pointer; transition: background .16s; }
tbody tr:hover { background: #f9f5ed; }
tbody tr:last-child td { border-bottom: 0; }
.site-cell { min-width: 225px; max-width: 345px; }
.site-cell strong { display: block; overflow: hidden; color: #22241f; font-size: 12px; text-overflow: ellipsis; }
.site-cell small { display: block; overflow: hidden; margin-top: 4px; color: #8b9288; font-size: 10px; text-overflow: ellipsis; }
.badge { display: inline-block; padding: 6px 8px; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .01em; }
.badge.operator { color: #ad4229; background: #fff0e7; }
.badge.promosi { color: #865823; background: #faefd9; }
.badge.belum_cukup_bukti { color: #645b85; background: #eeebf7; }
.badge.gagal_diakses { color: #657068; background: #edefe9; }
.score-cell { color: #242620; font-variant-numeric: tabular-nums; font-weight: 800; }
.review-pill { display: inline-flex; align-items: center; gap: 6px; }
.review-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b8a47a; }
.review-pill.confirmed::before { background: #439369; }
.review-pill.dismissed::before { background: #8a908a; }
.list-status { padding: 42px 26px; color: #757c72; font-size: 12px; text-align: center; }

.activity-panel { overflow: hidden; border-color: #34362f; color: #f8f5ed; background: var(--dark); }
.activity-panel .panel-heading { padding-bottom: 17px; }
.activity-panel .panel-heading p { color: #a9ada4; }
.jobs-list { max-height: 430px; padding: 0 20px; overflow: auto; }
.job { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 15px 5px; border-top: 1px solid #3d4038; }
.job-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #7eac83; }
.job-dot.running, .job-dot.queued { background: #f8ad65; box-shadow: 0 0 0 4px #46352a; }
.job-dot.failed { background: #eb6c4b; }
.job strong { display: block; font-size: 11px; line-height: 1.4; }
.job small { display: block; margin-top: 5px; color: #a5a99f; font-size: 10px; }
.job-progress { display: block; width: 100%; height: 3px; margin-top: 11px; overflow: hidden; appearance: none; border: 0; border-radius: 3px; background: #3e413a; }
.job-progress::-webkit-progress-bar { background: #3e413a; }
.job-progress::-webkit-progress-value { background: #f47b4f; }
.job-progress::-moz-progress-bar { background: #f47b4f; }
.job-error { margin: 8px 0 0; color: #ffa183; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.empty-small { padding: 10px 5px 22px; color: #afb4a8; font-size: 11px; }
.activity-footer { display: flex; gap: 11px; margin: 6px 20px 20px; padding: 17px 14px; border: 1px solid #41453a; border-radius: 9px; background: #292e25; }
.activity-icon { color: #f58b5e; }
.activity-icon svg { width: 18px; height: 18px; }
.activity-footer p { margin: 0; color: #bbc0b5; font-size: 10px; line-height: 1.55; }

.backdrop { position: fixed; z-index: 8; inset: 0; background: rgba(18,19,16,.48); animation: fade-in .2s ease-out; }
.drawer { position: fixed; z-index: 9; top: 0; right: 0; bottom: 0; width: min(100%, 480px); overflow-y: auto; background: var(--paper); box-shadow: -20px 0 45px rgba(20,20,15,.2); animation: slide-in .24s cubic-bezier(.2,.8,.2,1); }
.detail-drawer { width: min(100%, 570px); }
.drawer-head { display: flex; align-items: start; justify-content: space-between; padding: 30px 30px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 500; letter-spacing: -.03em; }
.drawer form { padding: 28px 30px 40px; }
.field-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; }
.field-label span { margin-left: 5px; color: #899087; font-size: 10px; font-weight: 400; }
.drawer textarea, .drawer input[type=number] { width: 100%; padding: 12px; border: 1px solid #d3d1c5; border-radius: 8px; outline: 0; color: var(--ink); background: #fff; resize: vertical; }
.drawer textarea:focus, .drawer input[type=number]:focus { border-color: #e56c42; box-shadow: 0 0 0 3px #fae3d7; }
.drawer textarea { min-height: 122px; line-height: 1.6; }
.field-help { margin: 8px 0 24px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eeece4; cursor: pointer; }
.check-row input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); }
.check-row strong { display: block; font-size: 12px; }
.check-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.form-divider { height: 1px; margin: 23px 0; background: var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .field-label { margin-bottom: 0; }
.form-grid input { margin-top: 10px; }
.form-error { padding: 11px; border-radius: 7px; color: #99452f; background: var(--orange-pale); font-size: 11px; line-height: 1.5; }
.submit-button { justify-content: space-between; width: 100%; margin-top: 26px; padding: 15px 18px; }
.detail-content { padding: 27px 30px 50px; }
.detail-domain { margin: 0 0 5px; font-size: 18px; line-height: 1.3; word-break: break-word; }
.detail-link { color: #b94e2f; font-size: 11px; overflow-wrap: anywhere; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 20px 0 26px; }
.detail-meta .meta-note { color: var(--muted); font-size: 11px; }
.detail-section { padding: 23px 0; border-top: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 13px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.detail-section p { color: #586158; font-size: 12px; line-height: 1.65; }
.evidence-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.evidence-list li { padding: 12px 13px; border-radius: 8px; background: #f6f3ec; font-size: 11px; }
.evidence-list strong { display: block; margin-bottom: 5px; text-transform: capitalize; }
.evidence-list span { display: block; color: #687067; word-break: break-word; }
.screenshot { display: block; width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-actions button { padding: 9px 11px; border: 1px solid #d5d2c7; border-radius: 7px; color: var(--ink); background: #fff; font-size: 11px; font-weight: 750; }
.review-actions button:hover { background: #f5eee6; }
.review-actions button.selected { border-color: var(--dark); color: #fff; background: var(--dark); }
.url-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.url-list a { color: #b94e2f; font-size: 11px; overflow-wrap: anywhere; }
.empty-detail { color: var(--muted); font-size: 12px; }

.access-gate { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(19, 22, 17, .78); backdrop-filter: blur(9px); }
.access-card { width: min(100%, 430px); padding: 38px; border: 1px solid #e9e3d9; border-radius: 18px; background: var(--paper); box-shadow: 0 24px 80px rgba(0, 0, 0, .2); }
.access-symbol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; width: 34px; height: 34px; margin-bottom: 28px; transform: rotate(-8deg); }
.access-symbol span { border: 2px solid var(--orange); border-radius: 2px; }
.access-symbol span:last-child { background: var(--orange); }
.access-card .section-context { color: #a75136; }
.access-card h2 { margin: 8px 0 9px; font-size: clamp(28px, 5vw, 38px); line-height: 1.05; letter-spacing: -.05em; }
.access-card > p:not(.section-context) { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.access-card form { display: grid; gap: 10px; }
.access-card label { font-size: 11px; font-weight: 750; }
.access-card input { width: 100%; padding: 13px 14px; border: 1px solid #d7d5cb; border-radius: 8px; background: #fff; }
.access-card .primary-button { justify-content: center; margin-top: 8px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(24px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media (max-width: 1190px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .jobs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; max-height: none; }
  .activity-footer { max-width: 360px; }
  .toolbar { flex-wrap: wrap; }
  .search-box { margin-left: auto; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: static; flex-direction: row; align-items: center; justify-content: space-between; height: auto; min-height: 0; padding: 13px 18px; }
  .brand { padding: 0; }
  .brand-mark { width: 23px; height: 23px; }
  .brand strong { font-size: 11px; }
  .brand small { font-size: 8px; }
  .sidebar-group { display: flex; }
  .sidebar-label, .sidebar-note, .sidebar-foot { display: none; }
  .nav-item { padding: 8px 11px; font-size: 0; }
  .nav-item svg { width: 19px; height: 19px; }
  .nav-item.active::after { display: none; }
  .topbar { height: 56px; padding: 0 20px; }
  .content { padding: 20px 20px 40px; }
  .heading-row { min-height: 0; }
  .heading-row h1 { font-size: 37px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2)::after { display: none; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric { padding: 20px; }
  .toolbar { padding: 0 18px 16px; }
  .panel-heading { padding: 20px 18px; }
  .jobs-list { padding: 0 14px; }
}
@media (max-width: 620px) {
  .heading-row { display: block; padding: 26px 23px; }
  .hero-side { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 24px; }
  .hero-process { display: none; }
  .heading-row::after { right: -220px; }
}
@media (max-width: 520px) {
  .config-indicator { font-size: 0; }
  .config-indicator::before { margin-right: 0; }
  .heading-row h1 { font-size: 35px; }
  .intro { font-size: 12px; }
  .metrics { margin-bottom: 18px; }
  .metric { min-height: 89px; padding: 16px; }
  .metric strong { font-size: 25px; }
  .metric span { font-size: 10px; }
  .workspace-grid { gap: 18px; }
  .filter-list { width: 100%; }
  .search-box { width: 100%; margin: 0; }
  .search-box input { width: 100%; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 8px 5px; padding: 15px 18px; border-top: 1px solid var(--line); }
  td { display: block; padding: 0 !important; border: 0 !important; }
  td:nth-child(1) { grid-column: 1/-1; }
  .site-cell { max-width: none; }
  .site-cell strong { font-size: 13px; }
  .site-cell small { margin-top: 3px; }
  td:nth-child(4) { display: none; }
  td:nth-child(5) { text-align: right; }
  .jobs-list { display: block; }
  .drawer-head { padding: 23px 20px; }
  .drawer form, .detail-content { padding: 23px 20px 38px; }
}

/* Investigation workspace: evidence and next actions lead the page. */
.heading-row { min-height: 190px; align-items: center; }
.heading-row h1 { font-size: clamp(30px, 3vw, 43px); }
.hero-side { align-items: flex-start; max-width: 250px; gap: 10px; }
.engine-limits { margin: 4px 0 0; color: #596456; font-size: 11px; line-height: 1.5; }
.metric small { display: block; margin-top: 4px; color: #7b8077; font-size: 10px; }
.workspace-grid { grid-template-columns: minmax(0, 1fr) 280px; }
.queue-tabs { display: flex; gap: 5px; padding: 0 24px 16px; overflow-x: auto; scrollbar-width: thin; }
.queue-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 38px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #5d655a; font-size: 11px; font-weight: 750; white-space: nowrap; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.queue-tab:hover { background: #f2efe7; color: var(--ink); }
.queue-tab:active { transform: translateY(1px); }
.queue-tab.active { border-color: var(--dark); background: var(--dark); color: white; }
.queue-tab span { min-width: 19px; padding: 1px 5px; border-radius: 99px; background: #eeeae0; color: #525950; font-size: 10px; text-align: center; }
.queue-tab.active span { background: #494c44; color: white; }
.toolbar { border-top: 1px solid var(--line); padding-top: 15px; }
.queue-description { max-width: 560px; margin: 0; color: #626b61; font-size: 11px; line-height: 1.5; }
.search-box { min-width: 195px; }
.search-box input { width: 170px; }
.findings-list { display: grid; }
.finding-card { width: 100%; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(160px, .55fr) minmax(115px, .4fr); align-items: center; gap: 18px; padding: 17px 25px; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; text-align: left; transition: background .18s, transform .18s; }
.finding-card:hover { background: #f7f4ec; }
.finding-card:active { transform: scale(.997); }
.finding-card:last-child { border-bottom: 1px solid var(--line); }
.finding-main, .finding-facts, .finding-end { display: grid; justify-items: start; min-width: 0; gap: 5px; }
.finding-domain { max-width: 100%; overflow: hidden; color: #1e241f; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.finding-title { max-width: 100%; overflow: hidden; color: #6b746b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.finding-next { color: #335e48; font-size: 11px; font-weight: 650; line-height: 1.35; }
.finding-facts { grid-template-columns: auto auto; align-items: center; gap: 5px; }
.finding-facts .badge { width: max-content; }
.proof-label { width: max-content; padding: 5px 7px; border-radius: 5px; background: #f0f0eb; color: #70776d; font-size: 10px; font-weight: 700; }
.proof-label.available { background: #e8f2ea; color: #2e684a; }
.finding-count { grid-column: 1 / -1; color: #797f76; font-size: 10px; }
.finding-end { position: relative; justify-items: end; gap: 6px; padding-right: 18px; }
.finding-end time { color: #858b82; font-size: 10px; }
.finding-arrow { position: absolute; right: 0; top: 12px; color: #a26a4e; font-size: 18px; transition: transform .18s; }
.finding-card:hover .finding-arrow { transform: translateX(3px); }
.count-chip { margin-top: 2px; }
.detail-drawer { width: min(100%, 1200px); }
.drawer-head { position: sticky; z-index: 2; top: 0; align-items: center; padding: 17px clamp(20px, 3vw, 42px); background: var(--paper); }
.drawer-head h2 { max-width: 55vw; overflow: hidden; font: 750 15px/1.3 "Segoe UI", Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.detail-back { padding: 0 0 5px; border: 0; background: transparent; color: #4f6b57; font-size: 11px; font-weight: 750; }
.detail-back:hover { text-decoration: underline; }
.detail-navigation { display: flex; align-items: center; gap: 8px; }
.nav-scan { padding: 8px 10px; border: 1px solid #d9d8ce; border-radius: 7px; background: #fff; color: #313a32; font-size: 11px; font-weight: 700; }
.nav-scan:hover:not(:disabled) { background: #f3eee5; }
.nav-scan:disabled { opacity: .38; cursor: default; }
.detail-content { padding: 27px clamp(20px, 3vw, 42px) 60px; }
.detail-summary { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.detail-overline { margin: 0 0 7px; color: #777e74; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.detail-domain { margin: 0 0 7px; overflow-wrap: anywhere; font-size: clamp(23px, 2.4vw, 35px); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; }
.detail-link { color: #315f49; font-size: 12px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.decision-note { padding: 16px 18px; border-radius: 10px; background: #eff3e9; }
.decision-note strong { color: #244d39; font-size: 12px; }
.decision-note p { margin: 4px 0 0; color: #42554a; font-size: 12px; line-height: 1.55; }
.decision-note ol { display: grid; gap: 4px; margin: 12px 0 0; padding-left: 20px; color: #375241; font-size: 11px; line-height: 1.5; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .7fr); gap: 32px; margin-top: 12px; }
.detail-section { padding: 23px 0; }
.detail-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.detail-section-head span { color: #777e74; font-size: 11px; }
.screenshot-figure { margin: 13px 0 23px; }
.screenshot-figure a { display: block; }
.screenshot { width: 100%; max-height: 520px; object-fit: contain; object-position: top; background: #ebe9e3; }
.screenshot-figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #666e65; font-size: 10px; overflow-wrap: anywhere; }
.screenshot-figure figcaption a { flex: none; color: #315f49; font-weight: 750; }
.review-section { position: sticky; top: 70px; background: var(--paper); }
.review-section p { margin: 0 0 15px; }
.review-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
.review-actions button:first-child { background: #e9f2e7; border-color: #bfd6bf; color: #2d6849; }
.review-actions button:nth-child(2) { background: #f8eee9; border-color: #ead1c4; color: #99543e; }
.review-actions button.selected { color: white; background: var(--dark); border-color: var(--dark); }
.review-actions button:disabled { opacity: .5; cursor: wait; }
.review-actions button:last-child { grid-column: 1 / -1; }
.facts-list { margin: 0; }
.facts-list div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.facts-list dt { color: #737a71; }
.facts-list dd { margin: 0; color: #29332c; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.facts-list small { display: block; color: #797e76; font-weight: 400; }
.url-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.url-list small { display: block; margin-top: 3px; color: #858a82; overflow-wrap: anywhere; }
.detail-loading, .detail-error { padding: 35px 0; color: #626a60; }
.detail-error { color: #a9442d; }
@media (max-width: 1190px) { .workspace-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .heading-row { min-height: 0; }
  .finding-card { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 18px; }
  .finding-main { grid-column: 1 / -1; }
  .finding-end { grid-column: 2; grid-row: 2; }
  .detail-columns { grid-template-columns: 1fr; gap: 0; }
  .review-section { position: static; }
}
@media (max-width: 520px) {
  .hero-side { display: grid; grid-template-columns: auto 1fr; max-width: none; align-items: center; gap: 10px 14px; }
  .engine-limits { grid-column: 1 / -1; max-width: none; }
  .queue-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 18px 14px; overflow: visible; }
  .queue-tab { justify-content: space-between; min-width: 0; white-space: normal; text-align: left; }
  .queue-tab:last-child { grid-column: 1 / -1; }
  .toolbar { align-items: stretch; }
  .queue-description { max-width: none; }
  .finding-facts { gap: 4px; }
  .finding-end { padding-right: 0; }
  .finding-arrow { display: none; }
  .detail-navigation .nav-scan { font-size: 0; min-width: 36px; }
  #previous-scan::after { content: "←"; font-size: 15px; }
  #next-scan::after { content: "→"; font-size: 15px; }
  .detail-summary { display: block; }
  .detail-meta { margin-top: 12px; }
}
