.auth-page{min-height:100vh;background:#f4f7f6;display:grid;place-items:center;padding:32px}.auth-layout{max-width:1120px;width:100%;min-height:690px;display:grid;grid-template-columns:1.12fr 1fr;background:#fff;border:1px solid #dce4e5;border-radius:18px;overflow:hidden;box-shadow:0 20px 80px #192e3810}.auth-story{background:#192e38;color:#fff;padding:50px;display:flex;flex-direction:column;justify-content:space-between;gap:60px}.auth-story .brand{padding:0}.auth-story .eyebrow{color:#76b8bc}.auth-story h1{font-size:38px;line-height:1.55;letter-spacing:-1px;margin:22px 0}.auth-story p{color:#b8cbd1;line-height:2}.auth-story small{color:#8da9b4}.auth-card{padding:62px 48px;align-self:center}.auth-card h1{font-size:28px;margin:18px 0}.auth-card .field{margin-top:22px}.auth-submit{width:100%;margin:24px 0 16px;justify-content:center}.auth-foot{color:#82949c;font-size:13px;line-height:1.9;margin-top:35px}.auth-card .notice{margin-top:18px;line-height:1.7}.auth-card [hidden]{display:none!important}#admin-toast{position:fixed;right:30px;bottom:30px;max-width:min(480px,90vw);padding:16px 24px;background:#223c44;color:white;border-radius:10px;z-index:1000;box-shadow:0 8px 30px #0002}#admin-toast.error{background:#8e3d35}.top-right .btn{white-space:nowrap}.table-tools .input{min-width:180px}a.nav-item{text-decoration:none}.auth-card .input{width:100%}@media(max-width:850px){.auth-page{padding:18px}.auth-layout{grid-template-columns:1fr;min-height:auto}.auth-story{padding:28px;gap:24px}.auth-story h1{font-size:25px;margin:12px 0}.auth-story p,.auth-story>small{display:none}.auth-card{padding:32px 26px}.top-right{flex-wrap:wrap;gap:8px}.topbar{height:auto;min-height:72px;padding-top:12px;padding-bottom:12px}.kpi-value{overflow-wrap:anywhere}}
.auth-layout{padding:0}
.collector-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.collector-controls label{display:flex;align-items:center;gap:8px}
.collector-controls select{width:auto;max-width:100%}
#collector-connect{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.collector-connection-icon{display:inline-grid;place-items:center;width:1.25em;height:1.25em;border-radius:50%;font-weight:750;line-height:1}
.collector-connection-icon:empty{display:none}
#collector-connect[data-connection="connected"] .collector-connection-icon{color:#1b7548;background:#e3f5e9}
#collector-connect[data-connection="disconnected"] .collector-connection-icon{color:#a9302b;background:#fde9e7}
.browser-collector{margin:0 0 24px}
.browser-collector p,.browser-collector details{color:#71838d;font-size:13px;line-height:1.7;margin:12px 0 0}
.browser-collector summary{cursor:pointer;color:#397c83}
.browser-collector ol{padding-left:22px}
@media(max-width:600px){.collector-controls label{width:100%;flex-wrap:wrap}.collector-controls .btn{font-size:12px}}
.history-filters {
  flex-wrap: wrap;
}
.history-filters > label {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.history-filters .keyword-select {
  min-width: 0;
  max-width: min(260px, 65vw);
}
.history-group {
  flex: 1 1 250px;
}
.history-group select,
.history-snapshots select {
  min-width: 0;
}
.history-filters .range {
  flex-wrap: wrap;
}
.history-snapshots {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.history-snapshots label, .history-pagination {
  color: var(--muted);
  font-size: 11px;
}
.history-snapshots select {
  flex: 1 1 190px;
  max-width: 320px;
}
.history-pagination {
  display: flex;
  align-items: center;
  gap: 9px;
}
.heading-actions[hidden] { display: none; }
.top100-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.top100-setup { padding: 20px; }
.top100-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.top100-section-head h2 { margin: 0; font-size: 15px; }
.top100-form-options,
.top100-export-buttons,
.top100-run-actions,
.top100-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
}
.top100-form-options .inline-check { margin: 0; }
.top100-workers { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.top100-workers select { width: auto; }
.top100-note { font-size: 11px; color: #677d85; margin: 8px 0 0; }
.top100-run-actions { margin-top: 10px; }
.top100-workspace [hidden] { display: none; }
.top100-setup progress { width: 100%; height: 8px; margin-top: 12px; accent-color: var(--teal); }
.top100-batch { margin-bottom: 16px; overflow: visible; }
.top100-batch-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.top100-batch-options { margin-top: 10px; }
.top100-workspace button:disabled { cursor: not-allowed; }
.top100-workspace button[aria-busy="true"]:disabled { cursor: progress; }

.dashboard-sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #547480 transparent;
}
.dashboard-sidebar .nav-icon {
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dashboard-sidebar .nav-item.active .nav-icon { color: var(--gold); }
.dashboard-sidebar .nav-item:focus-visible {
  outline: 2px solid #afcbd3;
  outline-offset: -2px;
}
@media (max-width: 850px) {
  .dashboard-sidebar .nav-label { display: none; }
}
.top100-preset-dropdown { position: relative; }
.top100-preset-dropdown summary { cursor: pointer; display: list-item; }
.top100-preset-dropdown[open] summary { background: var(--teal-light); }
.top100-batch-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 6px);
  left: 0;
  width: min(290px, calc(100vw - 132px));
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px #13293420;
}
.top100-batch-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
#top100-batch-choices { max-height: 244px; overflow: auto; padding: 5px; }
#top100-batch-choices label { margin: 0; padding: 9px 10px; overflow-wrap: anywhere; }
#top100-batch-choices label:hover { background: var(--teal-light); }
#top100-folder-name { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
#top100-batch-status:empty { display: none; }
.top100-queue { padding-left: 24px; margin: 12px 0 0; }
.top100-queue li { padding: 6px 0 6px 4px; border-top: 1px solid var(--line); }
.top100-queue li::marker { color: var(--muted); }
.top100-queue-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.top100-queue-item > div { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.top100-queue-title { font-weight: 600; }
.top100-queue-item small { display: block; color: var(--muted); }
.top100-results-head { align-items: center; padding-bottom: 16px; }
.top100-filters { padding: 0 23px 14px; }
.top100-filters input { max-width: 300px; }
.top100-filters select { width: auto; max-width: 100%; }
.top100-filters .top100-note { margin: 0; }
.top100-product { min-width: 280px; max-width: 430px; white-space: normal; }
.top100-product img,
.top100-image-placeholder {
  float: left;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #f4f7f6;
  margin-right: 12px;
}
.top100-image-placeholder { display: grid; place-items: center; color: var(--muted); }
.top100-product > div { overflow: hidden; }
.top100-item-link { color: var(--ink); line-height: 1.5; font-weight: 600; }
.top100-item-link:hover { color: var(--teal); text-decoration: underline; }
.top100-product small,
.top100-number small,
.top100-number del { display: block; margin-top: 5px; color: #677d85; }
.top100-count { background: var(--teal-light); color: #1d6b65; border-radius: 5px; font-weight: 600; padding: 4px 7px; }
.top100-pages { display: flex; align-items: center; justify-content: end; gap: 11px; padding: 12px 22px; color: #677d85; font-size: 11px; }
.top100-empty { padding: 42px 18px; text-align: center; color: #546f79; border-top: 1px solid var(--line); }
.top100-empty p { margin: 8px 0 0; font-size: 12px; }
@media (max-width: 850px) {
  .top100-toolbar { grid-template-columns: minmax(0, 1fr); }
  .top100-setup { padding: 16px; }
  .top100-filters { padding-inline: 15px; }
}
@media (max-width: 700px) {
  .top100-table .table-scroll { overflow: visible; }
  .top100-table table { display: block; white-space: normal; }
  .top100-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .top100-table tbody { display: block; padding: 0 12px; }
  .top100-table tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 6px;
    padding: 12px;
    margin-bottom: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .top100-table tbody td { border: 0; padding: 2px 4px; overflow-wrap: anywhere; }
  .top100-table tbody td:first-child { position: absolute; top: 12px; left: 12px; padding: 0; }
  .top100-table tbody .top100-product { grid-column: 1 / -1; max-width: none; min-width: 0; padding-left: 34px; }
  .top100-table [data-label]::before { content: attr(data-label); display: block; color: #677d85; margin-bottom: 4px; }
  .top100-product img, .top100-image-placeholder { width: 38px; height: 38px; margin-right: 8px; }
}
.collector-versions { margin: 12px 0 4px; font-size: 12px; color: #48666d; }
.browser-collector a[aria-disabled="true"] { color: #677d85; background: #f5f7f6; }
.local-collector-page { max-width: 750px; }
.local-collection-settings { margin-bottom: 20px; }
.local-collection-settings .collector-controls { flex-wrap: wrap; }
.local-collection-settings p { color: var(--muted); margin: 8px 0 0; }
#release-notice { padding: clamp(18px, 4vw, 26px); }
.release-changes { list-style: none; padding: 0; margin: 0 0 16px; }
.release-changes li { padding: 10px 0; border-top: 1px solid var(--line); }
.release-changes p { margin: 3px 0 0; font-size: 12px; color: #4f686f; }
.release-install { padding: 12px 15px; border-radius: 8px; background: var(--paper); }
.release-install h3 { margin: 0 0 7px; font-size: 13px; }
.release-install ol { margin: 0; padding-left: 17px; color: #4f686f; font-size: 12px; line-height: 1.65; }
.release-install code { overflow-wrap: anywhere; }
