@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap";
/* [project]/frontend/app/globals.css [app-client] (css) */
:root {
  --ink: #e8edf6;
  --muted: #8995ab;
  --faint: #5f6b80;
  --line: #8b9dbb29;
  --line-strong: #8b9dbb45;
  --panel: #131b2adb;
  --panel-soft: #1922349e;
  --canvas: #0a0f19;
  --blue: #6f9dff;
  --blue-soft: #6f9dff21;
  --violet: #ad8bff;
  --amber: #f6bd68;
  --green: #61d9a0;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  background: radial-gradient(circle at 71% -10%, #37559b33, transparent 35rem),
    radial-gradient(circle at 10% 80%, #295a671a, transparent 28rem),
    var(--canvas);
  color: var(--ink);
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.dashboard-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #0b111cc7;
  flex-direction: column;
  flex: 0 0 275px;
  width: 275px;
  padding: 25px 15px 16px;
  display: flex;
}

.brand-block {
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  display: flex;
}

.brand-mark {
  color: #bcd0ff;
  background: linear-gradient(145deg, #6f9dff3d, #6f9dff0a);
  border: 1px solid #6f9dff8a;
  border-radius: 10px;
  place-items: center;
  width: 33px;
  height: 33px;
  font-size: 16px;
  font-weight: 800;
  display: grid;
}

.eyebrow, .section-kicker, .nav-section-title, .summary-label, .detail-key {
  color: var(--faint);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: DM Mono, monospace;
  font-size: 10px;
}

.brand-name {
  letter-spacing: -.01em;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
}

.sidebar-rule {
  background: var(--line);
  height: 1px;
  margin: 25px 9px 18px;
}

.search-box {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #080d177a;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  display: flex;
}

.search-box:focus-within {
  border-color: #6f9dff8f;
  box-shadow: 0 0 0 3px #6f9dff14;
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  padding: 9px 0;
  font-size: 12px;
}

.search-box input::placeholder {
  color: var(--faint);
}

.compact-search {
  margin: 0 9px;
}

kbd {
  border: 1px solid var(--line-strong);
  color: var(--faint);
  white-space: nowrap;
  border-radius: 4px;
  padding: 2px 4px;
  font: 10px DM Mono, monospace;
}

.table-nav {
  margin-top: 22px;
  padding-right: 2px;
  overflow-y: auto;
}

.table-group + .table-group {
  margin-top: 25px;
}

.nav-section-title {
  justify-content: space-between;
  padding: 0 10px 8px;
  font-size: 9px;
  display: flex;
}

.nav-section-title span {
  color: var(--faint);
}

.nav-section-toggle {
  width: 100%;
  color: var(--faint);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
}

.nav-section-toggle:hover {
  color: var(--ink);
}

.nav-section-toggle > span:last-child {
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.nav-section-toggle b {
  color: var(--blue);
  font-size: 11px;
  font-weight: 400;
}

.table-link {
  width: 100%;
  color: var(--muted);
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  justify-content: space-between;
  padding: 7px 9px;
  font-size: 11px;
  transition: all .18s;
  display: flex;
}

.table-link:hover {
  color: var(--ink);
  background: #6e8ab914;
}

.table-link.selected {
  background: var(--blue-soft);
  color: #c9d8ff;
  border-color: #6f9dff33;
}

.table-link-name {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}

.table-link-icon {
  width: 13px;
  color: var(--blue);
  text-align: center;
  font-family: serif;
  font-size: 14px;
}

.table-link-count {
  color: var(--faint);
  padding-left: 7px;
  font: 10px DM Mono, monospace;
}

.muted-block {
  color: var(--faint);
  padding: 14px 10px;
  font-size: 12px;
}

.sidebar-footer {
  color: var(--faint);
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 16px 10px 0;
  font: 10px DM Mono, monospace;
  display: flex;
}

.footer-version {
  color: #4f5a6e;
  margin-left: auto;
}

.status-dot {
  background: var(--green);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
  box-shadow: 0 0 10px #61d9a099;
}

.content-area {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 43px 46px 70px;
}

.topbar {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  display: flex;
}

h1, h2, p {
  margin: 0;
}

h1 {
  letter-spacing: -.055em;
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.subtitle {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
}

.topbar-chip, .group-badge {
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
  border-radius: 99px;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  font: 10px DM Mono, monospace;
  display: inline-flex;
}

.group-badge {
  background: var(--blue-soft);
  color: #a8c0ff;
  border-color: #6f9dff40;
  padding: 4px 7px;
  font-size: 9px;
}

.error-banner {
  color: #ffb2b2;
  background: #962d3b24;
  border: 1px solid #ff6e6e4d;
  border-radius: 9px;
  margin-bottom: 18px;
  padding: 11px 14px;
  font-size: 12px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 24px;
  display: grid;
}

.summary-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 18px 19px;
  position: relative;
  overflow: hidden;
}

.summary-card:after {
  content: "";
  opacity: .08;
  background: currentColor;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  position: absolute;
  bottom: -38px;
  right: -25px;
}

.summary-card.blue {
  color: var(--blue);
}

.summary-card.violet {
  color: var(--violet);
}

.summary-card.amber {
  color: var(--amber);
}

.summary-card.green {
  color: var(--green);
}

.summary-label {
  color: currentColor;
  opacity: .8;
}

.summary-value {
  color: var(--ink);
  letter-spacing: -.045em;
  margin-top: 10px;
  font-size: 25px;
  font-weight: 700;
}

.summary-caption {
  color: var(--faint);
  margin-top: 4px;
  font: 10px DM Mono, monospace;
}

.explorer-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 55px #0000002e;
}

.explorer-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  display: flex;
}

.context-banner {
  color: #afc4f7;
  background: #6f9dff14;
  border-bottom: 1px solid #6f9dff2e;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 10px 22px;
  font: 10px DM Mono, monospace;
  display: flex;
}

.context-banner > div {
  align-items: center;
  gap: 8px;
  display: flex;
}

.context-clear {
  color: #a9c1ff;
  background: none;
  border: 1px solid #6f9dff47;
  border-radius: 5px;
  padding: 5px 8px;
  font: 10px DM Mono, monospace;
}

.context-clear:hover {
  background: #6f9dff1f;
}

.table-heading {
  align-items: center;
  gap: 13px;
  min-width: 0;
  display: flex;
}

.table-icon {
  background: var(--blue-soft);
  width: 35px;
  height: 35px;
  color: var(--blue);
  border-radius: 9px;
  place-items: center;
  font-size: 19px;
  display: grid;
}

.table-title-row {
  align-items: center;
  gap: 9px;
  display: flex;
}

.table-title-row h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce6f8;
  font: 600 17px DM Mono, monospace;
  overflow: hidden;
}

.table-heading p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}

.explorer-actions, .pagination-buttons, .sort-controls {
  align-items: center;
  gap: 8px;
  display: flex;
}

button {
  border: 0;
}

.primary-button, .ghost-button, .order-button, .close-button {
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: none;
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 11px;
}

.primary-button {
  color: #fff;
  background: #547ed8;
  border-color: #6f9dff66;
  box-shadow: 0 5px 18px #355bb240;
}

.primary-button:hover {
  background: #648ee9;
}

.ghost-button:hover, .order-button:hover {
  color: var(--ink);
  background: #8b9dbb12;
  border-color: #8b9dbb73;
}

.filter-panel {
  border-bottom: 1px solid var(--line);
  background: #090f1945;
  padding: 18px 22px 21px;
}

.filter-title-row {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  display: flex;
}

.filter-hint {
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
}

code {
  color: #adc4ff;
  font: 10px DM Mono, monospace;
}

.table-search {
  width: min(100%, 275px);
}

.filter-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 12px;
  max-height: 340px;
  padding: 2px 3px 2px 0;
  display: grid;
  overflow-y: auto;
}

.filter-field label {
  color: var(--faint);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 5px 1px;
  font: 10px DM Mono, monospace;
  display: block;
  overflow: hidden;
}

.filter-control {
  border: 1px solid var(--line);
  background: #050a126b;
  border-radius: 7px;
  grid-template-columns: 95px 1fr;
  display: grid;
  overflow: hidden;
}

.filter-control:focus-within {
  border-color: #6f9dff80;
}

.filter-control select, .filter-control input, .sort-controls select {
  color: var(--muted);
  background: none;
  border: 0;
  outline: 0;
  padding: 8px;
  font-size: 11px;
}

.filter-control select {
  border-right: 1px solid var(--line);
  color: #9aa9c1;
  background: #141d2d;
}

.filter-control input {
  min-width: 0;
  color: var(--ink);
}

.results-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 22px;
  display: flex;
}

.result-count {
  color: var(--muted);
  font-size: 11px;
}

.result-count strong {
  color: var(--ink);
  font-weight: 700;
}

.loading-pulse {
  color: var(--blue);
}

.sort-controls {
  color: var(--faint);
  font-size: 10px;
}

.sort-controls select {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #111a2a;
  border-radius: 6px;
  padding: 6px 24px 6px 8px;
}

.order-button {
  width: 29px;
  height: 29px;
  padding: 0;
  font-size: 15px;
}

.data-table-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
  min-width: 780px;
}

.data-table th {
  color: var(--faint);
  text-align: left;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #070c157a;
  padding: 11px 15px;
  font: 9px DM Mono, monospace;
}

.data-table td {
  color: #b7c2d5;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid #8b9dbb17;
  max-width: 320px;
  padding: 12px 15px;
  font-size: 11px;
  overflow: hidden;
}

.data-table tbody tr {
  cursor: pointer;
  transition: background .15s;
}

.data-table tbody tr:hover {
  background: #6f9dff12;
}

.data-table td:first-child {
  color: #e2e9f5;
}

.detail-column {
  width: 82px;
  text-align: right !important;
}

.row-open {
  color: var(--blue);
  opacity: .72;
  background: none;
  font: 10px DM Mono, monospace;
}

.row-open:hover {
  opacity: 1;
  text-decoration: underline;
}

.empty-cell {
  text-align: center;
  height: 150px;
  color: var(--faint) !important;
}

.pagination {
  color: var(--faint);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 22px;
  font: 10px DM Mono, monospace;
  display: flex;
}

.drawer-backdrop {
  z-index: 10;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #010409a8;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
}

.detail-drawer {
  border-left: 1px solid var(--line-strong);
  background: #101827;
  width: min(580px, 92vw);
  height: 100%;
  padding: 26px;
  overflow-y: auto;
  box-shadow: -20px 0 60px #00000059;
}

.drawer-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
  display: flex;
}

.drawer-header h2 {
  color: var(--ink);
  overflow-wrap: anywhere;
  margin-top: 7px;
  font: 600 17px DM Mono, monospace;
}

.close-button {
  width: 30px;
  height: 30px;
  color: var(--muted);
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.drawer-viewer {
  background: #080d17;
  border: 1px solid #6f9dff40;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.drawer-viewer-heading {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  display: flex;
}

.drawer-viewer-heading strong {
  color: #d4e0f8;
  text-transform: capitalize;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.drawer-viewer-frame {
  background: #050912;
  width: 100%;
  height: min(390px, 100vh - 300px);
  min-height: 230px;
  overflow: hidden;
}

.drawer-embed-youtube {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

.drawer-viewer-instagram {
  overflow: visible;
}

.drawer-viewer-instagram .drawer-viewer-frame {
  background: #fff;
  height: auto;
  min-height: 120px;
  overflow: visible;
}

.drawer-viewer-frame > iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.instagram-media {
  width: calc(100% - 2px) !important;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  display: block !important;
}

.drawer-viewer-instagram .drawer-viewer-frame > iframe {
  height: auto;
}

.drawer-viewer-instagram .instagram-media iframe {
  border: 0;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.drawer-provider-link {
  color: #91b2ff;
  border-top: 1px solid #8b9dbb21;
  padding: 9px 12px;
  font: 10px DM Mono, monospace;
  text-decoration: none;
  display: block;
}

.drawer-provider-link:hover {
  background: #6f9dff17;
}

.record-key {
  border: 1px solid var(--line);
  background: #060a127a;
  border-radius: 8px;
  gap: 6px;
  padding: 11px;
  display: grid;
}

.record-key span {
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .1em;
  font: 9px DM Mono, monospace;
}

.record-key code {
  overflow-wrap: anywhere;
  color: #90b1ff;
  font-size: 10px;
}

.detail-list {
  border-top: 1px solid var(--line);
  margin-top: 15px;
}

.detail-row {
  border-bottom: 1px solid #8b9dbb1a;
  grid-template-columns: 145px 1fr;
  gap: 15px;
  padding: 13px 0;
  display: grid;
}

.detail-value {
  color: #d2dbea;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.55;
}

.browse-related {
  background: var(--blue-soft);
  color: #b6cbff;
  border: 1px solid #6f9dff4d;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 11px 13px;
  font-size: 11px;
  text-decoration: none;
  display: flex;
}

.browse-related:hover {
  background: #6f9dff2e;
  border-color: #6f9dff8c;
}

.item-page {
  width: min(1240px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 36px 70px;
}

.item-page-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.back-link {
  color: var(--muted);
  font: 11px DM Mono, monospace;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.item-header {
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin: 52px 0 27px;
  display: flex;
}

.item-header-copy {
  min-width: 0;
}

.item-header h1 {
  max-width: 850px;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 48px);
}

.item-subtitle {
  color: var(--muted);
  margin-top: 11px;
  font-size: 12px;
}

.external-button {
  background: var(--blue-soft);
  color: #b8ccff;
  border: 1px solid #6f9dff57;
  border-radius: 8px;
  flex: none;
  padding: 10px 13px;
  font-size: 11px;
  text-decoration: none;
}

.external-button:hover {
  background: #6f9dff33;
}

.item-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 20px;
  display: grid;
}

.item-main-column, .item-side-column {
  gap: 16px;
  min-width: 0;
  display: grid;
}

.viewer-card, .text-card, .side-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
}

.viewer-card {
  overflow: hidden;
}

.viewer-heading {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  display: flex;
}

.viewer-heading h2 {
  color: #dce6f8;
  margin-top: 6px;
  font-size: 15px;
}

.viewer-status {
  color: var(--green);
  align-items: center;
  gap: 7px;
  font: 10px DM Mono, monospace;
  display: inline-flex;
}

.embed-frame {
  background: #070b13;
  position: relative;
  overflow: hidden;
}

.embed-frame iframe {
  border: 0;
  width: 100%;
  height: 530px;
  display: block;
}

.embed-twitter iframe {
  height: 560px;
}

.embed-instagram iframe {
  height: 680px;
}

.viewer-note {
  border-top: 1px solid var(--line);
  color: var(--faint);
  padding: 11px 20px;
  font: 10px / 1.5 DM Mono, monospace;
}

.embed-fallback {
  min-height: 300px;
  color: var(--muted);
  text-align: center;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 25px;
  display: grid;
}

.fallback-icon {
  border: 1px solid var(--line-strong);
  width: 44px;
  height: 44px;
  color: var(--blue);
  border-radius: 50%;
  place-items: center;
  font-size: 21px;
  display: grid;
}

.embed-fallback h3 {
  max-width: 330px;
  font-size: 13px;
  font-weight: 500;
}

.text-card {
  padding: 20px;
}

.item-body, .item-description {
  color: #c8d1e0;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.7;
}

.item-description {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 18px;
  padding-top: 18px;
}

.side-card {
  padding: 17px;
}

.metadata-list {
  margin-top: 13px;
}

.metadata-row {
  border-bottom: 1px solid #8b9dbb1a;
  gap: 4px;
  padding: 10px 0;
  display: grid;
}

.metadata-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metadata-row span {
  color: var(--faint);
  text-transform: uppercase;
  font: 9px DM Mono, monospace;
}

.metadata-row strong {
  color: #d1daea;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 500;
}

.chip-list {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  display: flex;
}

.category-chip, .label-chip {
  border: 1px solid var(--line);
  color: #b8c7e4;
  border-radius: 99px;
  padding: 6px 8px;
  font-size: 10px;
  text-decoration: none;
}

.category-chip {
  color: #f3cc8c;
  background: #f6bd6812;
  border-color: #f6bd6838;
}

.label-chip {
  color: #9be7c4;
  background: #61d9a00f;
  border-color: #61d9a033;
}

.category-chip:hover, .label-chip:hover {
  border-color: currentColor;
}

.empty-side {
  color: var(--faint);
  margin-top: 13px;
  font-size: 11px;
}

.collection-list {
  gap: 7px;
  margin-top: 12px;
  display: grid;
}

.collection-link {
  color: #c7d1e2;
  border-bottom: 1px solid #8b9dbb1a;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 11px;
  text-decoration: none;
  display: flex;
}

.collection-link:hover {
  color: var(--blue);
}

.collection-link small {
  color: var(--faint);
  flex: none;
  font: 9px DM Mono, monospace;
}

.item-loading, .item-error {
  min-height: 55vh;
  color: var(--muted);
  text-align: center;
  place-content: center;
  gap: 13px;
  display: grid;
}

.item-error h1 {
  font-size: 30px;
}

.item-error p {
  color: var(--muted);
  font-size: 13px;
}

.item-error a {
  color: var(--blue);
  font: 11px DM Mono, monospace;
  text-decoration: none;
}

.home-explorer {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 22px;
}

.home-explorer-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 19px;
  display: flex;
}

.home-explorer-header h2 {
  color: #dce6f8;
  margin-top: 8px;
  font-size: 22px;
}

.home-explorer-header p {
  max-width: 650px;
  color: var(--muted);
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
}

.home-sort-chip {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  flex: none;
  padding: 8px 10px;
  font: 10px DM Mono, monospace;
}

.home-sort-chip .status-dot {
  margin-right: 7px;
}

.home-explorer-toolbar {
  color: var(--faint);
  justify-content: space-between;
  padding: 15px 1px 13px;
  font: 10px DM Mono, monospace;
  display: flex;
}

.home-explorer-toolbar strong {
  color: var(--ink);
  font-weight: 500;
}

.home-provider-filters {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px 1px;
  display: flex;
}

.home-filter-label {
  color: var(--faint);
  letter-spacing: .08em;
  margin-right: 4px;
  font: 9px DM Mono, monospace;
}

.provider-filter {
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font: 10px DM Mono, monospace;
  transition: all .15s;
  display: inline-flex;
}

.provider-filter:hover, .provider-filter.selected {
  color: var(--ink);
  background: #6f9dff17;
  border-color: #6f9dff73;
}

.provider-filter input {
  accent-color: var(--blue);
  margin: 0;
}

.provider-filter-hint {
  color: var(--faint);
  font: 10px DM Mono, monospace;
}

.clear-provider-filter {
  color: var(--blue);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 5px 4px;
  font: 10px DM Mono, monospace;
}

.home-media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  display: grid;
}

.home-media-card {
  border: 1px solid var(--line);
  background: #070c158c;
  border-radius: 10px;
  overflow: hidden;
}

.home-media-card-header {
  justify-content: space-between;
  gap: 10px;
  min-height: 96px;
  padding: 13px 13px 11px;
  display: flex;
}

.home-media-card-header h3 {
  color: #dce6f8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.home-media-card-header p {
  color: var(--faint);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 6px;
  font-size: 10px;
  overflow: hidden;
}

.home-media-provider {
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font: 9px DM Mono, monospace;
}

.provider-mark {
  width: 17px;
  color: var(--blue);
  font-size: 13px;
  display: inline-block;
}

.home-media-twitter .provider-mark {
  color: #dce6f8;
}

.home-media-youtube .provider-mark {
  color: #ff6565;
}

.home-media-open {
  color: var(--blue);
  flex: none;
  font: 14px DM Mono, monospace;
  text-decoration: none;
}

.home-media-frame {
  border-top: 1px solid var(--line);
  background: #05080e;
  overflow: hidden;
}

.home-media-frame iframe {
  border: 0;
  width: 100%;
  height: 390px;
  display: block;
}

.home-media-youtube .home-media-frame iframe {
  height: 210px;
}

.home-media-twitter .home-media-frame iframe {
  height: 465px;
}

.home-media-instagram .home-media-frame iframe {
  height: 520px;
}

.home-no-embed {
  min-height: 210px;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font: 10px DM Mono, monospace;
  display: flex;
}

.home-no-embed a {
  color: var(--blue);
  text-decoration: none;
}

.home-pagination {
  color: var(--faint);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  font: 10px DM Mono, monospace;
  display: flex;
}

.home-loading-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  display: grid;
}

.home-skeleton {
  border: 1px solid var(--line);
  background: linear-gradient(110deg, #ffffff05 30%, #6f9dff14 45%, #ffffff05 60%) 0 0 / 200% 100%;
  border-radius: 10px;
  height: 330px;
  animation: 1.5s infinite home-shimmer;
}

@keyframes home-shimmer {
  to {
    background-position-x: -200%;
  }
}

.home-empty {
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
  border-radius: 9px;
  padding: 40px;
  font: 11px DM Mono, monospace;
}

.taxonomy-library-page {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 25px;
}

.library-page-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  padding-bottom: 24px;
  display: flex;
}

.library-page-header h2 {
  color: #dce6f8;
  margin-top: 9px;
  font-size: 23px;
}

.library-page-header p {
  max-width: 600px;
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.taxonomy-surface-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  display: grid;
}

.taxonomy-surface {
  border: 1px solid var(--line);
  min-height: 175px;
  color: var(--ink);
  text-align: left;
  background: #070c1566;
  border-radius: 11px;
  grid-template-rows: auto auto 1fr;
  grid-template-columns: auto 1fr auto;
  gap: 5px 11px;
  padding: 17px;
  display: grid;
  position: relative;
}

.taxonomy-surface:hover {
  background: #6f9dff12;
  border-color: #6f9dff6b;
  transform: translateY(-1px);
}

.taxonomy-surface-icon {
  color: var(--blue);
  grid-row: span 2;
  font-size: 22px;
  line-height: 1;
}

.taxonomy-surface-label {
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  align-self: center;
  font: 10px DM Mono, monospace;
}

.taxonomy-surface strong {
  color: #dce6f8;
  align-self: center;
  font: 500 18px DM Mono, monospace;
}

.taxonomy-surface-description {
  max-width: 350px;
  color: var(--muted);
  grid-column: 1 / -1;
  align-self: end;
  font-size: 11px;
  line-height: 1.45;
}

.taxonomy-surface-action {
  color: var(--blue);
  grid-column: 1 / -1;
  font: 10px DM Mono, monospace;
}

.taxonomy-surface.violet .taxonomy-surface-icon {
  color: var(--violet);
}

.taxonomy-surface.amber .taxonomy-surface-icon {
  color: var(--amber);
}

.taxonomy-surface.green .taxonomy-surface-icon {
  color: var(--green);
}

.library-page-note {
  color: var(--faint);
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  font: 10px / 1.5 DM Mono, monospace;
  display: flex;
}

.manage-page {
  width: min(1280px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 38px 70px;
}

.taxonomy-manager-embedded {
  width: 100%;
}

.taxonomy-manager-embedded .manage-header {
  margin: 0 0 28px;
}

.manage-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.manage-header {
  margin: 55px 0 28px;
}

.manage-header h1 {
  margin-top: 10px;
}

.manage-header p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 13px;
}

.notice-banner {
  color: #a7ebca;
  background: #61d9a014;
  border: 1px solid #61d9a040;
  border-radius: 9px;
  margin-bottom: 18px;
  padding: 11px 14px;
  font-size: 12px;
}

.taxonomy-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.taxonomy-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
}

.taxonomy-card-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 19px 20px;
  display: flex;
}

.taxonomy-card-header h2 {
  color: #dce6f8;
  margin-top: 7px;
  font-size: 18px;
}

.taxonomy-card-header h2 span {
  color: var(--faint);
  font: 11px DM Mono, monospace;
}

.taxonomy-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  display: flex;
}

.taxonomy-header-actions > button {
  color: var(--muted);
  background: none;
  border: 1px solid #0000;
  border-radius: 5px;
  padding: 5px 6px;
  font: 9px DM Mono, monospace;
}

.taxonomy-header-actions > button:hover:not(:disabled) {
  border-color: var(--line);
  color: var(--ink);
  background: #8b9dbb14;
}

.taxonomy-badge {
  color: #9be7c4;
  text-transform: uppercase;
  background: #61d9a012;
  border: 1px solid #61d9a033;
  border-radius: 99px;
  padding: 5px 8px;
  font: 9px DM Mono, monospace;
}

.taxonomy-form {
  border-bottom: 1px solid var(--line);
  background: #070c153b;
  gap: 11px;
  padding: 16px 20px 19px;
  display: grid;
}

.taxonomy-form label {
  color: var(--muted);
  text-transform: uppercase;
  gap: 6px;
  font: 10px DM Mono, monospace;
  display: grid;
}

.taxonomy-form input, .taxonomy-form select, .inline-edit {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  text-transform: none;
  background: #050a128c;
  border-radius: 7px;
  outline: 0;
  padding: 9px 10px;
  font: 12px Manrope, sans-serif;
}

.taxonomy-form input:focus, .taxonomy-form select:focus, .inline-edit:focus {
  border-color: #6f9dff8c;
  box-shadow: 0 0 0 3px #6f9dff14;
}

.taxonomy-form .primary-button {
  justify-self: start;
  margin-top: 2px;
}

.optional-label {
  color: var(--faint);
  text-transform: lowercase;
  font: 9px DM Mono, monospace;
}

.taxonomy-tree, .label-manager-list {
  padding: 8px 8px 13px;
}

.taxonomy-empty {
  color: var(--faint);
  padding: 22px 12px;
  font-size: 12px;
}

.taxonomy-row, .managed-label {
  border-bottom: 1px solid #8b9dbb17;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 6px 4px;
  display: flex;
}

.taxonomy-row:hover, .managed-label:hover {
  background: #6f9dff0d;
}

.tree-toggle, .tree-toggle-spacer {
  flex: 0 0 16px;
  place-items: center;
  width: 16px;
  height: 20px;
  padding: 0;
  display: grid;
}

.tree-toggle {
  color: var(--amber);
  background: none;
  border: 0;
  border-radius: 4px;
  font: 13px DM Mono, monospace;
}

.tree-toggle:hover {
  color: #ffe0a5;
  background: #f6bd681f;
}

.tree-branch {
  color: var(--amber);
  flex: 0 0 14px;
  font: 12px DM Mono, monospace;
}

.taxonomy-name {
  color: #d2dbea;
  min-width: 0;
  font-size: 12px;
}

.taxonomy-path {
  min-width: 0;
  color: var(--faint);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 9px DM Mono, monospace;
  overflow: hidden;
}

.taxonomy-actions {
  flex: none;
  gap: 5px;
  margin-left: auto;
  display: flex;
}

.taxonomy-actions button {
  color: var(--muted);
  background: none;
  border: 1px solid #0000;
  border-radius: 5px;
  padding: 5px 6px;
  font: 9px DM Mono, monospace;
}

.taxonomy-actions button:hover {
  border-color: var(--line);
  color: var(--ink);
  background: #8b9dbb14;
}

.taxonomy-actions .danger-action:hover {
  color: #faa;
  background: #962d3b1f;
  border-color: #ff6e6e40;
}

.inline-edit {
  min-width: 110px;
  padding: 5px 7px;
}

.managed-label {
  min-height: 44px;
  padding: 7px 8px;
}

.label-dot {
  background: var(--green);
  border-radius: 50%;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 7px #61d9a073;
}

.label-type {
  border: 1px solid var(--line);
  color: var(--faint);
  border-radius: 99px;
  padding: 3px 6px;
  font: 9px DM Mono, monospace;
}

.taxonomy-note {
  color: var(--faint);
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font: 10px / 1.5 DM Mono, monospace;
  display: flex;
}

.manage-link {
  color: #9bb8ff;
  white-space: nowrap;
  font: 10px DM Mono, monospace;
  text-decoration: none;
}

.manage-link:hover {
  color: var(--ink);
}

.manage-link span {
  margin-left: 3px;
}

@media (max-width: 900px) {
  .sidebar {
    flex-basis: 220px;
    width: 220px;
  }

  .content-area {
    padding: 30px 22px 55px;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .dashboard-shell {
    display: block;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    height: auto;
    padding: 17px 12px;
  }

  .sidebar-rule {
    margin: 16px 9px;
  }

  .table-nav {
    gap: 14px;
    max-height: 115px;
    margin-top: 14px;
    display: flex;
    overflow-x: auto;
  }

  .table-group {
    min-width: 190px;
  }

  .table-group + .table-group {
    margin-top: 0;
  }

  .sidebar-footer {
    display: none;
  }

  .content-area {
    padding: 25px 12px 45px;
  }

  .topbar {
    display: block;
  }

  .topbar-chip {
    margin-top: 17px;
  }

  .summary-grid {
    gap: 8px;
  }

  .summary-card {
    padding: 14px;
  }

  .summary-value {
    font-size: 21px;
  }

  .explorer-header, .results-toolbar, .pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .explorer-actions {
    width: 100%;
  }

  .explorer-actions button {
    flex: 1;
  }

  .filter-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .table-search, .sort-controls {
    width: 100%;
  }

  .sort-controls select {
    flex: 1;
  }

  .pagination {
    align-items: stretch;
  }

  .pagination-buttons button {
    flex: 1;
  }

  .item-page {
    padding: 20px 13px 45px;
  }

  .item-page-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin: 35px 0 21px;
  }

  .external-button {
    text-align: center;
    width: 100%;
  }

  .item-layout {
    grid-template-columns: 1fr;
  }

  .embed-frame iframe, .embed-twitter iframe, .embed-instagram iframe {
    height: 520px;
  }

  .manage-page {
    padding: 20px 13px 45px;
  }

  .manage-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .manage-header {
    margin: 36px 0 22px;
  }

  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-card-header {
    flex-wrap: wrap;
  }

  .taxonomy-header-actions {
    justify-content: flex-start;
  }

  .taxonomy-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .taxonomy-path {
    flex-basis: calc(100% - 24px);
    margin-left: 22px;
  }

  .taxonomy-actions {
    margin-left: auto;
  }

  .taxonomy-library-page {
    padding: 18px 14px;
  }

  .library-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .library-page-header .primary-button {
    text-align: center;
    width: 100%;
  }

  .taxonomy-surface-grid {
    grid-template-columns: 1fr;
  }

  .home-explorer {
    padding: 18px 14px;
  }

  .home-explorer-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-sort-chip {
    width: 100%;
  }

  .home-media-grid, .home-loading-grid {
    grid-template-columns: 1fr;
  }

  .home-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*# sourceMappingURL=frontend_app_globals_1k5k-fl.css.map*/