:root {
  color-scheme: dark;
  --bg: #0c0f16;
  --panel: #141821;
  --panel2: #191e29;
  --line: #282e3c;
  --text: #e8ebf3;
  --muted: #939eb3;
  --purple: #c1a6ed;
  --accent: #282136;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid #343c4c;
  background: #1b202c;
  color: #dce2ef;
  border-radius: 6px;
  padding: 7px 11px;
  min-height: 33px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.14s,
    border-color 0.14s;
}
button:hover:enabled {
  background: #262c3b;
  border-color: #596176;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button.primary {
  background: #b69adf;
  color: #170f24;
  border-color: #b69adf;
  font-weight: 650;
}
button.primary:hover:enabled {
  background: #c8adee;
  border-color: #c8adee;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a,
svg {
  flex-shrink: 0;
}
input,
select,
textarea {
  border: 1px solid #343c4b;
  background: #10141c;
  color: #e2e7f2;
  border-radius: 5px;
  padding: 8px 10px;
  width: 100%;
  min-width: 0;
  min-height: 35px;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #737f93;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #aa8bd0;
  box-shadow: 0 0 0 2px #b69adf18;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 14px;
  accent-color: #b69adf;
  cursor: pointer;
  margin: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #c5a2f0;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.75px;
  font-weight: 650;
}
h2 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.mono {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -60px;
  padding: 10px;
  z-index: 100;
  background: #b69adf;
  color: #14101c;
}
.skip-link:focus {
  top: 10px;
}
.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #11151e;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 23px 12px 15px;
  z-index: 30;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eff1f7;
  padding: 0 10px;
  white-space: nowrap;
  min-height: 42px;
}
.brand:hover {
  text-decoration: none;
}
.brand > img {
  width: 25px;
  height: 30px;
}
.brand > span {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.65px;
}
.brand-video {
  color: #b9a0de;
  font-weight: 450;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #7f8ba1;
  margin-top: 1px;
}
.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 12px 9px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #6f7c94;
}
.sidebar-title .icon-button {
  display: none;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav button,
.sidebar-bottom button,
.sidebar-bottom a {
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  color: #a1adbf;
  gap: 11px;
  font-size: 12px;
  min-height: 39px;
  line-height: 1.2;
  text-align: left;
  width: 100%;
}
.sidebar nav button svg {
  color: #8491a8;
  stroke-width: 1.6;
}
.sidebar nav button[aria-current] {
  background: #272135;
  color: #d8c4f3;
}
.sidebar nav button[aria-current] svg {
  color: #c3a3eb;
}
.sidebar nav button:hover {
  background: #1d2230;
}
.sidebar nav button small {
  font-size: 10px;
  margin-left: auto;
  color: #baa4d8;
  background: #342a47;
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.sidebar-bottom a {
  font-size: 11px;
}
.sidebar-bottom .version {
  display: block;
  padding: 14px 12px 0;
  color: #69758a;
  font-size: 9px;
}
.collapsed {
  grid-template-columns: 68px minmax(0, 1fr);
}
.collapsed .sidebar {
  padding: 23px 8px 15px;
}
.collapsed .brand {
  padding: 0 12px;
}
.collapsed .brand span,
.collapsed .sidebar-title,
.collapsed .sidebar nav button > span,
.collapsed .sidebar nav button > small,
.collapsed .sidebar-bottom span,
.collapsed .sidebar-bottom small {
  display: none;
}
.collapsed .sidebar nav {
  margin-top: 30px;
}
.collapsed .sidebar nav button,
.collapsed .sidebar-bottom a,
.collapsed .sidebar-bottom button {
  justify-content: center;
  padding: 12px;
}
.workspace-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 58px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 30px;
  background: #10131ae8;
}
.topbar > .icon-button {
  display: none;
}
.breadcrumb,
.topbar-end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb {
  font-size: 11px;
  color: #8894a8;
}
.breadcrumb b {
  color: #c9d0df;
  font-weight: 500;
}
.topbar-end {
  margin-left: auto;
  gap: 25px;
}
.archive-source {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9aa6b9;
  font-size: 10px;
}
.archive-source > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b0a1c3;
}
.text-button {
  background: none;
  border-color: transparent;
  min-height: 28px;
  padding: 4px 6px;
  color: #b4bdd0;
  font-size: 11px;
}
.text-button:hover:enabled {
  background: #212633;
  border-color: transparent;
}
.text-button kbd {
  margin-left: 18px;
}
.icon-button {
  display: inline-flex;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #a2aec1;
  background: transparent;
}
.icon-button:hover:enabled,
a.icon-button:hover {
  background: #292e3b;
  text-decoration: none;
  color: #e8e9f2;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 15px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  color: #8996ab;
  display: block;
  margin-bottom: 8px;
}
.page-heading p {
  color: #909cb1;
  font-size: 12px;
  margin-top: 7px;
}
main {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 32px 30px 45px;
  outline: none;
  flex: 1;
}
.badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #222735;
  border: 1px solid #343b4b;
  color: #aeb9cc;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.3;
  font-weight: 400;
}
kbd {
  font:
    10px ui-monospace,
    monospace;
  border: 1px solid #343c4d;
  padding: 1px 5px;
  border-radius: 4px;
  color: #818da3;
  background: #161a24;
}
.search-panel,
.panel,
.results-panel {
  background: linear-gradient(135deg, #181d27, #141821);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.search-panel {
  overflow: hidden;
}
.search-panel form {
  padding: 22px 22px 0;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #495063;
  border-radius: 7px;
  padding: 6px 7px 6px 15px;
  background: #10141e;
}
.search-input-row > svg {
  color: #9f8dbb;
  stroke-width: 1.6;
}
.search-input-row input {
  background: none;
  border: 0;
  font-size: 15px;
  padding: 6px 0;
  box-shadow: none;
  min-height: 35px;
}
.search-input-row button {
  min-height: 36px;
  padding: 8px 15px;
}
.search-options {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 20px;
  align-items: end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #aab5c8;
  min-width: 0;
}
.field small {
  font-size: 10px;
  color: #7f8ca3;
  font-weight: 400;
}
.search-options input,
.search-options select {
  font-size: 12px;
}
.advanced-toggle {
  height: 35px;
  background: #202431;
  color: #adb8cc;
}
.advanced-toggle.active {
  color: #d4b6f9;
  border-color: #77628f;
}
.search-hint {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #8996ad;
  min-height: 42px;
  padding: 10px 0;
}
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #abb7cc;
  font-size: 11px;
  white-space: nowrap;
}
.advanced-grid .checkbox-label {
  grid-column: 1/-1;
}
.search-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  color: #7e8ba1;
  font-size: 10px;
  background: #11151d44;
}
.search-lower {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  margin-top: 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.section-heading p {
  color: #929eb2;
  font-size: 11px;
  margin-top: 6px;
  max-width: 700px;
}
.research-guide dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.research-guide dl > div {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 10px;
  font-size: 11px;
}
.research-guide dt {
  color: #bac4d4;
}
.research-guide dd {
  color: #808da3;
  margin: 0;
}
.research-guide > p {
  font-size: 10px;
  color: #8f829f;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 18px;
}
.recent-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.recent-list button {
  display: flex;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  padding: 12px 3px;
  gap: 12px;
  text-align: left;
  min-width: 0;
}
.recent-list button > svg:first-child {
  color: #72819b;
}
.recent-list button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.recent-list b {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-list small {
  font-size: 10px;
}
.simple-empty {
  min-height: 150px;
  border: 1px dashed #2e3544;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #748299;
  font-size: 11px;
}
.results-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.results-context > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex-wrap: wrap;
}
.results-context > div svg {
  color: #8e7ca8;
}
.results-context strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.results-context span {
  font-size: 10px;
  color: #8a97ac;
}
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 180px;
  padding: 0 9px;
  border: 1px solid #343c4b;
  background: #10141c;
  border-radius: 5px;
  color: #77869f;
}
.filter-search input {
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 11px;
  padding-left: 0;
}
.filter-toolbar select {
  width: auto;
  max-width: 150px;
  font-size: 11px;
}
.filter-toolbar .short-input {
  width: 70px;
  font-size: 11px;
}
.bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  flex-wrap: wrap;
}
.bulk-toolbar > span {
  font-size: 10px;
  color: #8d9ab0;
  border-left: 1px solid var(--line);
  padding-left: 11px;
}
.bulk-end {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.bulk-end button {
  font-size: 10px;
  padding: 5px 8px;
  min-height: 27px;
  background: #191e29;
}
.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  color: #8391a9;
  font-size: 10px;
}
.column-chooser {
  position: relative;
}
.popover {
  position: absolute;
  right: 0;
  top: 30px;
  border: 1px solid #3b4356;
  border-radius: 7px;
  box-shadow: 0 10px 30px #0007;
  background: #1d2330;
  padding: 13px;
  z-index: 10;
  min-width: 150px;
  display: grid;
  gap: 12px;
}
.popover label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  white-space: nowrap;
}
.table-scroll {
  overflow: auto;
  max-height: 650px;
  scrollbar-width: thin;
  scrollbar-color: #3c4154 #141821;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
  table-layout: auto;
}
thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #1c212c;
}
th {
  height: 34px;
  color: #8f9cb2;
  font-weight: 500;
  padding: 6px 10px;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #323a4a;
  font-size: 10px;
}
th .sort-button {
  color: inherit;
  padding: 0;
  background: none;
  border: 0;
  min-height: 22px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 500;
}
th:first-child,
td:first-child {
  width: 32px;
  padding-left: 14px;
  padding-right: 3px;
}
td {
  padding: 10px;
  border-bottom: 1px solid #252c39;
  vertical-align: middle;
  color: #b4c0d2;
}
tr:hover td {
  background: #20263477;
}
tr.selected td {
  background: #2a23383d;
}
.url-cell {
  min-width: 170px;
  max-width: 360px;
  width: 35%;
}
.record-link {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  color: #ced4e2;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 450;
}
.record-link:hover:enabled {
  color: #c9acee;
  text-decoration: underline;
  background: none;
  border: 0;
}
.url-cell small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  color: #6e7e98;
  margin-top: 3px;
}
.date-cell {
  white-space: nowrap;
  min-width: 105px;
}
.date-button {
  display: block;
  min-height: 0;
  border: 0;
  padding: 0;
  border-radius: 0;
  text-align: left;
  background: none;
  color: #b8c2d3;
  font:
    10px ui-monospace,
    monospace;
  line-height: 1.4;
}
.date-button small {
  display: block;
  font:
    9px ui-monospace,
    monospace;
  color: #74839d;
  margin-top: 4px;
}
.source-cell {
  white-space: nowrap;
  font-size: 10px;
  color: #8b99ae;
}
.row-actions {
  display: flex;
  gap: 1px;
}
.row-actions .icon-button {
  width: 25px;
  height: 25px;
  min-height: 25px;
}
.file-type {
  font-size: 10px;
  color: #9aa9c0;
}
.file-type.image,
.file-type.video {
  color: #b09acb;
}
.compact td {
  padding-top: 5px;
  padding-bottom: 5px;
}
.compact .url-cell small {
  display: none;
}
.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  font-size: 10px;
  color: #8b98ad;
  border-top: 1px solid var(--line);
}
.table-pagination > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.table-pagination .icon-button {
  width: 23px;
  height: 23px;
  min-height: 23px;
}
.results-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
}
.results-bottom p {
  font-size: 10px;
  color: #7f8da4;
}
.results-bottom button {
  font-size: 11px;
}
.notice-box {
  border: 1px solid #393047;
  background: #29213555;
  color: #b2a4c5;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.operation-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #211e30;
  border: 1px solid #47385d;
  border-radius: 7px;
  margin-bottom: 17px;
}
.operation-status > svg {
  color: #c3a4ee;
}
.operation-status > div {
  flex: 1;
  min-width: 0;
}
.operation-status b {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.operation-status span {
  font-size: 10px;
  color: #9f90b3;
  display: block;
  overflow-wrap: anywhere;
  margin-top: 3px;
}
.operation-status button {
  font-size: 10px;
  background: #2c2538;
  border-color: #544366;
}
.spin {
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #674348;
  background: #2d1f25;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 17px;
  color: #ddb0b5;
}
.error-banner > div {
  flex: 1;
}
.error-banner b {
  font-size: 12px;
  font-weight: 550;
}
.error-banner p {
  font-size: 11px;
  margin-top: 4px;
}
.error-banner button {
  background: #39252d;
  border-color: #674348;
  color: #e2bcc0;
  font-size: 10px;
}
.session-message {
  font-size: 10px;
  color: #8f9fb6;
  margin-bottom: 16px;
  line-height: 1.6;
}
.error-text {
  color: #e4a9ad;
  padding: 8px 0;
  font-size: 11px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151923;
  margin-bottom: 25px;
}
.metrics > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border-right: 0;
}
.metrics span {
  font-size: 10px;
  color: #8f9bb0;
  display: block;
}
.metrics strong {
  font-size: 26px;
  font-weight: 500;
  margin-top: 5px;
  display: block;
  letter-spacing: -1px;
}
.panel {
  padding: 20px;
  margin-bottom: 22px;
}
.workspace-summary {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.workspace-summary span {
  font-size: 10px;
  color: #8997ae;
}
.workspace-summary b {
  display: block;
  color: #b4c0d4;
  font-size: 11px;
  font-weight: 450;
  margin-top: 4px;
}
.history-list {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 25px;
}
.history-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: #141923;
  border-bottom: 1px solid var(--line);
}
.history-list > div:last-child {
  border-bottom: 0;
}
.history-list > div > svg {
  color: #7b89a2;
}
.history-list > div > div {
  flex: 1;
  min-width: 0;
}
.history-list strong {
  font-size: 12px;
  font-weight: 450;
  overflow-wrap: anywhere;
}
.history-list small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.history-list > div > span:not(.badge) {
  font-size: 10px;
  color: #8191aa;
}
.history-list button {
  font-size: 10px;
  min-height: 28px;
}
.project-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.project-list > div > svg {
  color: #a293b9;
}
.project-list > div > div {
  flex: 1;
  min-width: 0;
}
.project-list input {
  background: none;
  border: 1px solid transparent;
  padding: 3px 0;
  min-height: 24px;
  font-size: 12px;
  font-weight: 500;
}
.project-list input:hover {
  border-color: #393e51;
}
.project-list small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.project-list button {
  font-size: 10px;
}
.narrow-panel {
  max-width: 780px;
}
.inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 16px 0;
  color: #8d9ab0;
  font-size: 11px;
}
.keyword-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #b7a2d4;
  background: #251f30;
  padding: 6px 13px;
  border-bottom: 1px solid #40334f;
}
.analysis-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
.analysis-grid .panel > p {
  font-size: 10px;
  margin: 7px 0 20px;
}
.bar-chart {
  display: grid;
  gap: 13px;
}
.chart-row {
  display: grid;
  grid-template-columns: 55px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: #a8b4c8;
}
.chart-row b {
  font-weight: 450;
  text-align: right;
  font-size: 10px;
}
.chart-row meter {
  width: 100%;
  height: 12px;
  appearance: none;
  background: #242a38;
  border-radius: 2px;
  border: 0;
}
.chart-row meter::-webkit-meter-bar {
  background: #242a38;
  border: 0;
  border-radius: 2px;
}
.chart-row meter::-webkit-meter-optimum-value {
  background: #9677b7;
  border-radius: 2px;
}
.chart-row meter::-moz-meter-bar {
  background: #9677b7;
}
.export-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.export-options > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #111620;
}
.export-options svg {
  color: #a891c6;
  margin-bottom: 10px;
}
.export-options p {
  font-size: 11px;
  color: #8a98ad;
  margin: 8px 0 16px;
}
.export-options > div > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.export-options button {
  font-size: 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-grid .field {
  max-width: 250px;
}
.settings-grid p {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.shortcut-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #98a6bd;
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
}
.shortcut-row kbd {
  margin-left: auto;
}
.shortcut-row > svg {
  color: #9e8fb3;
}
.danger {
  color: #e0a6ad;
  border-color: #63414b;
  background: #302028;
}
.empty {
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 550px;
  margin: auto;
}
.empty > svg {
  color: #68788e;
}
.empty h3 {
  color: #b5c1d4;
  font-size: 13px;
}
.empty p {
  color: #7f8ea5;
  font-size: 11px;
  max-width: 380px;
  line-height: 1.8;
}
.record-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: 100dvh;
  width: 445px;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid #3a4051;
  background: #151a24;
  color: var(--text);
  box-shadow: -20px 0 80px #0006;
  overflow: auto;
}
.record-drawer::backdrop {
  background: #070a1155;
  backdrop-filter: blur(1px);
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 21px;
  border-bottom: 1px solid #303647;
  background: #191e29;
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer-top > span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #b7c1d3;
}
.drawer-top svg {
  color: #a58cbf;
}
.drawer-content {
  padding: 24px;
}
.drawer-content h2 {
  font-size: 21px;
  margin: 13px 0;
  letter-spacing: -0.4px;
}
.full-url {
  display: block;
  overflow-wrap: anywhere;
  color: #bda4de;
  font-size: 12px;
  line-height: 1.8;
}
.drawer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.drawer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #635075;
  background: #30263e;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: #d1bce7;
}
.drawer-actions button {
  font-size: 10px;
}
.drawer-content dl {
  margin: 22px 0;
  border-top: 1px solid #2c3443;
}
.drawer-content dl > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #2c3443;
  font-size: 11px;
}
.drawer-content dt {
  color: #8595af;
}
.drawer-content dd {
  margin: 0;
  color: #bbc7d9;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.drawer-content .field {
  margin: 22px 0;
}
.drawer-content h3 {
  margin-top: 24px;
  font-size: 12px;
}
.related-list {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}
.related-list button {
  justify-content: space-between;
  font:
    11px ui-monospace,
    monospace;
}
.drawer-content p.muted {
  font-size: 11px;
  margin: 12px 0 22px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  background: #282332;
  color: #ddcfee;
  border: 1px solid #5b466f;
  border-radius: 7px;
  padding: 12px 18px;
  font-size: 12px;
  box-shadow: 0 8px 30px #0006;
}
.toast svg {
  color: #b69adf;
  flex-shrink: 0;
}
footer {
  border-top: 1px solid #222936;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 30px;
  padding: 15px 0;
  color: #67768e;
  font-size: 9px;
}
footer > span:nth-child(2) {
  margin-left: auto;
}
footer a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8997af;
}
.nav-scrim {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-left: 45px;
    padding-right: 45px;
  }
  .page-heading {
    margin-bottom: 30px;
  }
  .url-cell {
    max-width: 480px;
  }
  .search-panel {
    max-width: 1200px;
  }
  .search-lower {
    max-width: 1200px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .brand {
    gap: 8px;
    padding: 0 5px;
  }
  .brand > span {
    font-size: 15px;
  }
  .brand > img {
    width: 23px;
  }
  .sidebar nav button {
    font-size: 11px;
    gap: 9px;
    padding: 10px;
  }
  .collapsed {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  main {
    padding: 26px 22px 35px;
  }
  .topbar {
    padding: 0 22px;
  }
  .table-scroll table {
    min-width: 780px;
  }
  .search-lower {
    gap: 22px;
  }
  .search-options {
    gap: 10px;
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .advanced-toggle {
    grid-column: 1/-1;
    justify-self: start;
    height: 28px;
  }
  .search-hint {
    margin-top: 4px;
  }
  .research-guide dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .metrics > div {
    padding: 16px;
  }
  .metrics strong {
    font-size: 23px;
  }
  .topbar-end {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .app-shell,
  .collapsed {
    display: block;
  }
  .sidebar,
  .collapsed .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 244px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    padding: 23px 12px 15px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar .brand span,
  .collapsed .sidebar .brand span {
    display: block;
  }
  .sidebar .brand-video,
  .collapsed .sidebar .brand-video {
    display: inline;
  }
  .sidebar .brand {
    padding: 0 10px;
  }
  .sidebar .brand > span {
    font-size: 17px;
  }
  .sidebar-title,
  .collapsed .sidebar-title {
    display: flex;
  }
  .sidebar-title .icon-button {
    display: flex;
  }
  .sidebar nav,
  .collapsed .sidebar nav {
    margin-top: 0;
  }
  .sidebar nav button,
  .collapsed .sidebar nav button {
    justify-content: flex-start;
    padding: 10px 12px;
  }
  .sidebar nav button > span,
  .collapsed .sidebar nav button > span,
  .sidebar nav button > small,
  .collapsed .sidebar nav button > small {
    display: block;
  }
  .sidebar-bottom a,
  .collapsed .sidebar-bottom a {
    justify-content: flex-start;
  }
  .sidebar-bottom a > span,
  .collapsed .sidebar-bottom a > span {
    display: inline;
  }
  .sidebar-bottom .collapse-button {
    display: none;
  }
  .sidebar-bottom .version,
  .collapsed .sidebar-bottom .version {
    display: block;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    border-radius: 0;
    background: #04060bbb;
    z-index: 25;
  }
  .topbar {
    height: 55px;
    padding: 0 16px;
    gap: 10px;
  }
  .topbar > .icon-button {
    display: flex;
  }
  .topbar-end .archive-source {
    display: none;
  }
  .topbar-end .text-button > span {
    display: none;
  }
  .topbar-end kbd {
    margin-left: 0;
  }
  .breadcrumb {
    gap: 8px;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb > svg {
    display: none;
  }
  .page-heading {
    align-items: flex-end;
    margin-bottom: 20px;
  }
  main {
    padding: 24px 16px 35px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 280px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .page-heading > .badge {
    display: none;
  }
  .search-panel form {
    padding: 15px 15px 0;
  }
  .search-input-row {
    gap: 9px;
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .search-input-row input {
    font-size: 13px;
    flex: 1;
    width: calc(100% - 35px);
  }
  .search-input-row kbd {
    display: none;
  }
  .search-input-row button {
    width: 100%;
    margin-top: 4px;
    min-height: 35px;
  }
  .search-options {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .search-options > .field:first-child {
    grid-column: 1/-1;
  }
  .search-options .advanced-toggle {
    grid-column: 1/-1;
  }
  .search-hint {
    font-size: 10px;
    align-items: flex-start;
    gap: 6px;
    padding-top: 13px;
    line-height: 1.7;
  }
  .search-hint svg {
    margin-top: 3px;
  }
  .advanced-grid {
    grid-template-columns: 1fr 1fr;
  }
  .advanced-grid > .field:nth-child(3) {
    grid-column: 1/-1;
  }
  .search-bottom {
    padding: 9px 13px;
    font-size: 9px;
  }
  .search-bottom button {
    font-size: 10px;
  }
  .search-lower {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 24px;
  }
  .research-guide dl > div {
    grid-template-columns: 140px 1fr;
  }
  .results-context > div > span {
    flex-basis: 100%;
    padding-left: 24px;
  }
  .results-context .text-button {
    font-size: 10px;
  }
  .filter-toolbar {
    gap: 8px;
    padding: 10px;
  }
  .filter-search {
    flex-basis: 100%;
    min-width: 100%;
  }
  .filter-toolbar select {
    flex: 1;
  }
  .bulk-toolbar {
    padding: 9px 10px;
    gap: 8px;
  }
  .bulk-end {
    width: 100%;
    justify-content: flex-end;
    margin-top: 3px;
  }
  .bulk-toolbar .checkbox-label {
    font-size: 10px;
  }
  .bulk-toolbar > span {
    margin-left: auto;
  }
  .bulk-end button:first-child {
    margin-right: auto;
  }
  .table-scroll {
    max-height: 550px;
  }
  .table-pagination {
    padding: 8px 10px;
  }
  .results-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .results-bottom p {
    line-height: 1.7;
  }
  .results-bottom button {
    width: 100%;
    min-height: 37px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics > div {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics > div:nth-child(3),
  .metrics > div:nth-child(4) {
    border-bottom: 0;
  }
  .workspace-summary {
    gap: 17px;
    flex-wrap: wrap;
  }
  .panel {
    padding: 16px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > button {
    font-size: 10px;
    white-space: normal;
  }
  .history-list > div {
    padding: 12px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .history-list > div > div {
    min-width: 140px;
  }
  .history-list > div > span:not(.badge) {
    display: none;
  }
  .history-list > div > button {
    margin-left: auto;
  }
  .project-list > div {
    gap: 8px;
    flex-wrap: wrap;
  }
  .project-list > div > div {
    flex-basis: calc(100% - 32px);
  }
  .project-list > div > button {
    margin-left: 30px;
  }
  .project-list > div > .icon-button {
    margin-left: 0;
  }
  .analysis-grid,
  .settings-grid,
  .export-options {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .analysis-grid .panel {
    margin-bottom: 15px;
  }
  .export-options {
    gap: 12px;
  }
  .error-banner {
    gap: 10px;
    flex-wrap: wrap;
  }
  .error-banner button {
    margin-left: 28px;
  }
  .operation-status {
    padding: 11px;
    gap: 9px;
  }
  .operation-status span {
    font-size: 9px;
  }
  .operation-status button {
    font-size: 10px;
    padding: 5px 7px;
  }
  footer {
    margin: 0 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  footer a {
    margin-left: auto;
  }
  .toast {
    bottom: 15px;
    font-size: 11px;
    width: max-content;
  }
  .record-drawer {
    width: 100%;
  }
  .drawer-content {
    padding: 21px;
  }
  .drawer-content dl > div {
    grid-template-columns: 135px 1fr;
  }
  .row-actions .icon-button {
    min-height: 32px;
    width: 30px;
  }
  .icon-button {
    min-width: 32px;
    min-height: 32px;
  }
  button {
    min-height: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 760px) {
  .compact td {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .record-link {
    min-height: 27px;
  }
  input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-height: 17px;
  }
}
@media(max-width:760px){.sidebar .brand .brand-video{display:inline}}
