:root { --ink: #172b37; --muted: #61717c; --border: #dce3e7; --paper: #fff; --background: #f3f6f8; --accent: #126e64; --accent-dark: #09574f; --danger: #9e342e; --warning: #885f12; --radius: 10px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .46; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2e8fc4; outline-offset: 3px; }
.skip-link { position: absolute; top: -60px; left: 20px; z-index: 5; padding: 10px 15px; background: white; }
.skip-link:focus { top: 10px; }
.app-header { min-height: 76px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: var(--paper); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 48px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 720; font-size: 16px; white-space: nowrap; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: white; border-radius: 8px; font-size: 19px; font-weight: 800; }
nav { display: flex; gap: 6px; align-self: stretch; align-items: stretch; }
.nav-button { position: relative; border: 0; background: none; color: var(--muted); padding: 0 17px; font-weight: 620; }
.nav-button.active { color: var(--accent-dark); }
.nav-button.active::after { position: absolute; content: ""; bottom: -1px; height: 3px; left: 17px; right: 17px; background: var(--accent); border-radius: 3px 3px 0 0; }
.access-controls { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.access-label { font-size: 12px; color: var(--muted); }
main { max-width: 1368px; margin: 0 auto; padding: 30px 24px 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 10px; font-weight: 750; letter-spacing: .12em; margin: 0 0 6px; }
h1 { margin: 0; font-size: 29px; line-height: 1.25; letter-spacing: -.03em; font-weight: 700; }
.page-heading p:not(.eyebrow) { color: var(--muted); margin: 6px 0 0; }
.refresh-control { display: flex; align-items: center; gap: 13px; }
.refresh-control span { font-size: 11px; color: var(--muted); max-width: 170px; }
.button { border: 1px solid #cbd6db; border-radius: 6px; padding: 8px 15px; background: white; color: var(--ink); font-weight: 600; white-space: nowrap; }
.button:hover:not(:disabled) { border-color: var(--accent); background: #f1f8f6; }
.button.small { font-size: 12px; padding: 5px 11px; }
.button.primary { color: white; border-color: var(--accent); background: var(--accent); }
.button.primary:hover:not(:disabled) { color: white; background: var(--accent-dark); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 17px 19px 15px; }
.stat p { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.stat p span { display: inline-block; font-size: 10px; font-weight: 450; margin-left: 4px; }
.stat strong { display: block; font-size: 31px; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat small { display: block; color: var(--muted); font-size: 11px; margin-top: 9px; }
.health-bar { display: flex; align-items: center; gap: 11px; padding: 15px 2px 18px; color: var(--muted); font-size: 12px; }
.badge { display: inline-block; font-size: 10px; font-weight: 650; border-radius: 4px; padding: 3px 7px; line-height: 1.4; white-space: nowrap; }
.badge.neutral { color: #50636e; background: #edf1f4; }
.badge.good { color: #166856; background: #e7f4ed; }
.badge.warning { color: var(--warning); background: #fbf2dc; }
.badge.bad { color: var(--danger); background: #faeae6; }
.panel { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 20px 15px; }
h2 { margin: 0; font-size: 15px; font-weight: 700; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.record-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.filters { display: flex; align-items: end; gap: 15px; flex-wrap: wrap; padding: 0 20px 17px; }
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #536771; font-weight: 550; }
select, input[type="text"] { border: 1px solid #cdd8df; border-radius: 5px; background: white; color: var(--ink); padding: 8px 11px; height: 37px; }
select { min-width: 205px; max-width: 340px; font-size: 12px; }
.filters .check-label { flex-direction: row; gap: 6px; align-items: center; height: 37px; color: var(--ink); font-size: 12px; }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }
.muted { color: var(--muted); }
.text-button { border: 0; background: none; color: var(--accent); padding: 9px 2px; font-size: 11px; margin-left: auto; }
.table-wrap { overflow-x: auto; }
.table-scroll-hint { display: none; color: var(--muted); font-size: 10px; padding: 0 15px 12px; margin: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { background: #f8fafb; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 20px; color: #5e707a; font-size: 10px; text-transform: uppercase; font-weight: 650; letter-spacing: .035em; white-space: nowrap; }
td { padding: 13px 20px; border-bottom: 1px solid #eef1f3; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfd; }
td p { margin: 0; }
.page-title { font-size: 12px; font-weight: 620; line-height: 1.55; max-width: 450px; overflow-wrap: anywhere; }
.page-url { display: block; margin-top: 3px; font-size: 10px; max-width: 460px; overflow-wrap: anywhere; color: var(--muted); }
.cell-detail { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; line-height: 1.6; }
.cell-time { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.domain-name { font-weight: 630; white-space: nowrap; }
.empty-cell { text-align: center; color: var(--muted); padding: 34px 20px; }
.panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 20px; border-top: 1px solid var(--border); }
.panel-footer p { font-size: 10px; color: var(--muted); margin: 0; max-width: 650px; }
.pagination { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 11px; color: var(--muted); }
.notice { border: 1px solid #dce4e9; background: #f2f6f9; padding: 12px 15px; border-radius: 6px; font-size: 12px; margin: 0 0 18px; }
.notice.error { background: #fff4f0; border-color: #eccac1; color: var(--danger); }
.notice.success { background: #edf8f0; border-color: #c5e1cd; color: #26653a; }
.section-notice { margin: 0 20px 15px; }
.operate-panel { max-width: 790px; }
.operate-content { padding: 0 20px 23px; }
.operate-content label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.domain-input-row { display: flex; gap: 10px; }
.domain-input-row input { flex: 1; min-width: 0; }
.field-help, .operate-note { color: var(--muted); font-size: 11px; margin: 8px 0 22px; }
.operate-note { margin-bottom: 0; }
.app-footer { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0 28px; color: var(--muted); font-size: 10px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 420px); background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 12px 35px rgba(23,43,55,.08); }
.login-brand { margin-bottom: 31px; }
.login-card h1 { font-size: 26px; }
.login-intro { color: var(--muted); margin: 7px 0 24px; }
.login-card form { display: grid; gap: 8px; }
.login-card label { color: #536771; font-size: 12px; font-weight: 620; margin-top: 7px; }
.login-card input { border: 1px solid #cdd8df; border-radius: 5px; background: white; color: var(--ink); padding: 9px 11px; height: 40px; }
.login-card button { margin-top: 14px; height: 40px; }
.login-card .notice { margin: 7px 0 0; }
@media (max-width: 900px) { .app-header { padding: 0 20px; gap: 25px; } .refresh-control { flex-direction: column; align-items: end; gap: 6px; } .summary-grid { gap: 10px; } .stat { padding: 15px; } .table-scroll-hint { display: block; } #pages-table { min-width: 860px; } #domains-table { min-width: 900px; } #activity-table { min-width: 660px; } .panel-footer { align-items: start; } }
@media (max-width: 600px) { .app-header { flex-wrap: wrap; padding: 13px 16px 0; gap: 10px 20px; } .brand { font-size: 14px; } .access-label { order: 2; } nav { order: 3; flex-basis: 100%; min-height: 46px; margin-top: 0; } .nav-button { padding: 0 16px; } main { padding: 24px 14px 0; } h1 { font-size: 25px; } .page-heading { gap: 10px; } .page-heading p:not(.eyebrow) { font-size: 12px; } .refresh-control span { max-width: 95px; font-size: 9px; } .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat strong { font-size: 27px; } .stat p span { display: block; margin-left: 0; } .health-bar { align-items: start; } .panel-heading, td, th { padding-left: 15px; padding-right: 15px; } .panel-heading p { max-width: 255px; } .filters { padding: 0 15px 15px; gap: 10px; } .filters label:not(.check-label) { flex: 1 1 100%; } select { width: 100%; max-width: none; } .panel-footer { flex-direction: column; gap: 12px; padding: 12px 15px; } .pagination { width: 100%; justify-content: flex-end; } .operate-content { padding: 0 15px 20px; } .domain-input-row { flex-direction: column; } .app-footer { flex-direction: column; } }

/* Explore */
:root { --background: #f7f8f5; --border: #d7e0dc; --muted: #546670; --radius: 6px; }
body { font-family: "Segoe UI", Arial, sans-serif; }
main { max-width: 1440px; padding-top: 36px; }
.app-header { padding: 0 max(24px, calc((100vw - 1392px) / 2)); }
.button, select, input[type="text"], input[type="date"], summary { min-height: 44px; }
.button.small { min-height: 44px; }
input[type="date"] { border: 1px solid #cdd8df; border-radius: 5px; background: white; color: var(--ink); padding: 8px 11px; width: 100%; }
.page-heading { margin-bottom: 34px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; letter-spacing: -.025em; }
.hunt-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 40px; }
.hunt-sidebar h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 16px; }
.hunt-sidebar .filters { display: block; padding: 0; }
.hunt-sidebar .filters label { font-size: 12px; color: var(--ink); margin-bottom: 20px; }
.hunt-sidebar select { width: 100%; min-width: 0; font-size: 12px; }
.hunt-sidebar input { min-width: 0; width: 100%; }
.hunt-sidebar input[type="checkbox"] { width: 17px; height: 17px; }
.hunt-sidebar .filters .check-label { height: auto; min-height: 44px; }
.hunt-sidebar .field-help { margin: 0 0 20px; font-size: 12px; line-height: 1.6; }
summary { cursor: pointer; display: list-item; padding: 12px 0; color: var(--accent-dark); font-size: 12px; }
.filter-details { border-top: 1px solid var(--border); margin-top: 22px; }
.advanced-fields { padding-top: 12px; }
.text-button { min-height: 44px; margin: 8px 0; font-size: 12px; padding: 8px 0; }
.hunt-windows { display: flex; gap: 24px; border-bottom: 1px solid var(--border); }
.hunt-windows button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hunt-windows button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.range-export { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0 12px; }
#hunt-range { font-size: 13px; font-weight: 600; margin: 0; }
.range-export .field-help { margin: 5px 0 0; font-size: 12px; }
.filter-summary { color: var(--ink); font-size: 12px; margin: 18px 0 5px; overflow-wrap: anywhere; }
.export-details > summary { min-height: 44px; }
.export-options { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 8px 0; }
.export-options label { display: grid; gap: 5px; font-size: 12px; }
.export-options select { min-width: 0; max-width: 100%; }
.hunt-results > .field-help { font-size: 11px; margin: 6px 0 18px; }
.results-heading { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.results-heading h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); display: inline; margin-right: 12px; }
.result-layout { display: flex; gap: 4px; }
.result-layout [aria-pressed="true"] { background: #e6f0eb; border-color: #9bbcb1; color: var(--accent-dark); }
#pages-table { table-layout: fixed; min-width: 0; }
#pages-table th:first-child { width: 43%; }
#pages-table th:not(:first-child) { width: 19%; }
#pages-table td { padding: 20px 12px; overflow-wrap: anywhere; }
#pages-table td:first-child { padding-left: 0; }
#pages-table td:last-child { padding-right: 0; }
#pages-table th { padding: 12px; font-size: 10px; white-space: normal; }
#pages-table th:first-child { padding-left: 0; }
#pages-table tbody tr:hover { background: transparent; }
.result-domain { font-size: 12px; font-weight: 650; margin-bottom: 7px; }
#pages-table .page-title { color: var(--ink); font-size: 14px; text-decoration: none; font-weight: 600; }
#pages-table .page-title:hover { text-decoration: underline; }
#pages-table .page-url { font: 10px/1.7 Consolas, "Liberation Mono", monospace; margin-top: 8px; }
#pages-table .cell-detail { font-size: 12px; line-height: 1.6; }
#pages-table .publication-date { font-size: 12px; }
#pages-table.reading-view .page-title { font: 500 22px/1.35 Georgia, "Times New Roman", serif; }
#pages-table.reading-view td { padding-top: 26px; padding-bottom: 24px; }
#pages-table.reading-view thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-evidence { margin-top: 9px; }
.page-evidence summary { font-size: 12px; }
.evidence-facts { font-size: 12px; color: var(--muted); padding: 10px 12px; background: #edf1ec; border-radius: 4px; }
.refresh-date, .refresh-time { white-space: nowrap; }
.evidence-facts p { margin-bottom: 8px; }
.evidence-facts p:last-child { margin-bottom: 0; }
.hunt-results .panel-footer { padding: 14px 0; }
.analysis-details { margin: 20px 0 30px; border-top: 1px solid var(--border); }
.analysis-details .field-help { font-size: 12px; margin-bottom: 12px; }
.hunt-results .empty-cell { padding: 44px 20px !important; }
@media (max-width: 1100px) {
  .hunt-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 24px; }
  .range-export { align-items: start; }
  .hunt-windows { gap: 18px; }
  #pages-table th:first-child { width: 40%; }
  #pages-table th:not(:first-child) { width: 20%; }
}
@media (max-width: 800px) {
  .hunt-layout { display: block; }
  .hunt-sidebar { margin-bottom: 24px; }
  .hunt-sidebar h2 { margin-bottom: 12px; }
  .hunt-sidebar .filters { display: flex; flex-wrap: wrap; gap: 12px; }
  .hunt-sidebar .filters > label { flex: 1 1 30%; min-width: 0; margin-bottom: 0; }
  .hunt-sidebar .filters > .field-help { flex-basis: 100%; margin-bottom: 0; }
  .filter-details { flex: 1 1 100%; margin-top: 0; }
  .advanced-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .advanced-fields .field-help { grid-column: 1 / -1; }
  .hunt-results #pages-table { display: block; }
  #pages-table thead { display: none; }
  #pages-table tbody { display: block; }
  #pages-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
  #pages-table td, #pages-table.reading-view td { display: block; padding: 0; border: 0; }
  #pages-table .result-page, #pages-table .result-check, #pages-table .empty-cell { grid-column: 1 / -1; }
  #pages-table .result-check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  #pages-table .result-check::before { content: "Latest check"; font-size: 11px; color: var(--muted); }
  #pages-table .result-check .cell-detail { margin: 0; }
  #pages-table .page-title { font-size: 18px; }
  .results-wrap { overflow: visible; }
}
@media (max-width: 600px) {
  .app-header { padding: 14px 14px 0; gap: 10px; }
  .access-controls { gap: 8px; }
  .brand small { font-size: 10px; }
  .brand-mark { width: 28px; height: 28px; font-size: 16px; }
  .access-label { font-size: 10px; }
  .nav-button { padding: 0 13px; }
  nav { min-height: 48px; }
  main { padding: 25px 14px 0; }
  h1 { font-size: 29px; }
  .page-heading { align-items: start; margin-bottom: 25px; }
  .page-heading p:not(.eyebrow) { font-size: 12px; }
  .refresh-control .button { padding: 8px 10px; }
  .refresh-control span { font-size: 10px; max-width: 110px; }
  .hunt-sidebar .filters > label { flex: 1 1 100%; }
  .hunt-sidebar .filters label { width: 100%; }
  .advanced-fields { display: block; }
  .hunt-windows { gap: 10px; justify-content: space-between; }
  .hunt-windows button { font-size: 12px; padding-bottom: 10px; }
  .range-export { flex-direction: column; gap: 12px; }
  .range-export .button { align-self: stretch; }
  .export-options { display: grid; }
  .export-options select { width: 100%; }
  .results-heading { align-items: start; flex-direction: column; }
  .result-layout { width: 100%; }
  .result-layout .button { flex: 1; }
  #pages-table .page-title, #pages-table.reading-view .page-title { font-size: 21px; }
  #pages-table .page-url { font-size: 10px; }
  .page-evidence summary { font-size: 12px; }
  .hunt-results .panel-footer { flex-direction: column; }
  .pagination { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.empty-guidance { padding: 20px 0; border-bottom: 1px solid var(--border); }
.empty-guidance h3, .onboarding-expectation h3 { font-size: 14px; margin: 0 0 8px; }
.empty-guidance p { max-width: 620px; color: var(--muted); font-size: 12px; }
.empty-guidance .button { margin: 8px 10px 8px 0; }
.blind-spots { border-top: 1px solid var(--border); margin: 16px 0 32px 278px; padding-top: 20px; }
.blind-spots h2 { font-size: 13px; }
.blind-spots p { max-width: 700px; color: var(--muted); font-size: 12px; }
.blind-spots .text-button { margin-right: 22px; }
.onboarding-expectation { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; color: var(--muted); font-size: 12px; }
.onboarding-expectation li { padding-bottom: 12px; }
.onboarding-expectation ol { padding-left: 20px; }
@media (max-width: 1100px) { .blind-spots { margin-left: 239px; } }
@media (max-width: 800px) { .blind-spots { margin-left: 0; } }
.mobile-filter-summary { display: none; }
@media (max-width: 800px) {
  .mobile-filter-summary { display: list-item; border: 1px solid var(--border); padding: 11px 14px; border-radius: 5px; background: var(--paper); }
  #hunt-filter-panel[open] > .mobile-filter-summary { margin-bottom: 20px; }
}
#pages-table .page-column { width: 48%; }
#pages-table .date-column { width: 24%; }
#pages-table .classification-column { width: 13%; }
#pages-table .check-column { width: 15%; }
.publication-value { white-space: nowrap; }
@media (max-width: 800px) { #pages-table colgroup { display: none; } }
