/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/6NUu8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7iQcIfJD58njt0oc0qv8oRcTnaIM.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/6NUu8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7iQcIfJD58njt0oc1qv8oRcTnaIM.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/6NUu8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7iQcIfJD58njt0oc7qv8oRcTn.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink-900: #1b1c20;
  --ink-700: #2f323a;
  --ink-500: #4c515f;
  --mist-200: #e6e7ea;
  --mist-100: #f5f5f6;
  --accent-500: #1c6e6b;
  --accent-300: #7fcac6;
  --accent-100: #e4f4f2;
  --highlight-500: #f28f6b;
  --highlight-200: #ffe1d4;
  --shadow-soft: 0 20px 45px rgba(22, 26, 35, 0.12);
  --shadow-tight: 0 8px 18px rgba(22, 26, 35, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at top left, #fff3ec 0%, #f9f2ea 30%, #eef3f4 70%, #e1f1f1 100%);
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  margin: 8px 0 16px;
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-500);
  margin: 0;
  font-weight: 600;
}

.disclaimer {
  background: var(--accent-100);
  border-left: 4px solid var(--accent-500);
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink-700);
  font-size: 0.95rem;
  margin: 0;
}

.upload-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--mist-200);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.upload-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--highlight-200), transparent 70%);
  opacity: 0.7;
}

.upload-card.dragover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(22, 26, 35, 0.16);
  border-color: var(--accent-500);
}

.tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  transform: translateY(-4px);
}

.tool-card-inner {
  display: grid;
  gap: 8px;
}

.tool-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.tool-subtitle {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
}

.tool-link {
  color: var(--accent-500);
  font-weight: 600;
  font-size: 0.9rem;
}

.upload-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.upload-title {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.upload-subtitle,
.upload-hint {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--highlight-500);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  margin-top: 8px;
  cursor: pointer;
}

#file-input {
  display: none;
}

.summary {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-500);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}

.tool-menu {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.placeholder-list {
  display: grid;
  gap: 12px;
}

.placeholder-item {
  background: var(--mist-100);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--mist-200);
  color: var(--ink-700);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 48px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--mist-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.footer-links {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-500);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-500);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 48px));
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--mist-200);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  display: grid;
  gap: 14px;
  z-index: 999;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  display: grid;
  gap: 8px;
}

.cookie-banner__title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.cookie-banner__text {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cookie-link {
  color: var(--accent-500);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: inherit;
  background: var(--accent-500);
  color: #fff;
  cursor: pointer;
}

.cookie-button--ghost {
  background: #fff;
  color: var(--ink-700);
  border: 1px solid var(--mist-200);
}

.summary-card {
  background: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-tight);
  border: 1px solid var(--mist-200);
  min-height: 82px;
  animation: rise 0.5s ease both;
}

.summary-label {
  color: var(--ink-500);
  font-size: 0.85rem;
  margin: 0 0 6px;
}

.summary-value {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.notice {
  margin-top: 20px;
  padding: 14px 16px;
  background: #fff0f0;
  border-radius: 12px;
  border: 1px solid #f3bdbd;
  color: #742c2c;
}

.blocks {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.block {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--mist-200);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  animation: fade-in 0.45s ease both;
}

.block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.block-heading {
  display: grid;
  gap: 4px;
}

.block-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.download-button {
  border: none;
  background: var(--ink-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 14px rgba(27, 28, 32, 0.18);
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(27, 28, 32, 0.22);
}

.download-button:active {
  transform: translateY(0);
}

.block-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.4rem;
  margin: 0;
}

.block-subtitle {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.directory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.directory-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8rem;
  color: var(--ink-500);
}

.directory-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.directory-legend .legend-text {
  white-space: nowrap;
}

.directory-controls input,
.directory-controls select {
  border-radius: 999px;
  border: 1px solid var(--mist-200);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
}

.directory-controls input {
  flex: 1 1 240px;
}

.table-link {
  color: var(--accent-500);
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
}

.industry-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent-100);
  color: var(--accent-500);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
}

.platform-link {
  font-weight: 600;
}

.row-expand-hint {
  display: block;
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 0.76rem;
}

.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.industry-detail-card {
  background: #fff;
  border: 1px solid var(--mist-200);
  border-radius: 12px;
  padding: 12px 14px;
}

.industry-detail-label {
  margin: 0 0 6px;
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-detail-value {
  margin: 0;
  color: var(--ink-900);
  font-size: 0.95rem;
  line-height: 1.4;
}

.industry-buyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-buyer-tag {
  display: inline-flex;
  align-items: center;
  background: var(--highlight-200);
  color: #8a4a32;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.platform-link:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.directory-table .data-row {
  cursor: pointer;
}

.directory-table .data-row:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: -2px;
}

.type-icons {
  display: inline-flex;
  gap: 6px;
}

.type-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--pill-color, var(--ink-500));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.stars {
  color: #f0b400;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--mist-200);
  font-size: 0.92rem;
}

.data-table th {
  cursor: pointer;
  color: var(--ink-700);
  background: var(--mist-100);
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table th.sort-active {
  color: var(--accent-500);
}

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

.data-table tbody tr.is-open {
  background: #f7f4ef;
}

.detail-row td {
  padding: 0;
  border-bottom: none;
}

.detail-chart {
  padding: 18px 20px 22px;
  background: #f7f9f9;
  border-top: 1px solid var(--mist-200);
}

.detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-title {
  margin: 0;
  font-weight: 600;
  color: var(--ink-700);
}

.detail-link {
  font-weight: 600;
}

.directory-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.directory-detail-item {
  background: #fff;
  border: 1px solid var(--mist-200);
  border-radius: 12px;
  padding: 12px 14px;
}

.directory-detail-label {
  margin: 0 0 4px;
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-detail-value {
  margin: 0;
  color: var(--ink-900);
  font-size: 0.95rem;
  line-height: 1.35;
}

.detail-legend {
  display: inline-flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.detail-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.detail-controls select {
  border-radius: 999px;
  border: 1px solid var(--mist-200);
  padding: 4px 10px;
  font-family: inherit;
  background: #fff;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.legend-swatch.starts {
  background: #1c6e6b;
}

.legend-swatch.hours {
  background: #f28f6b;
}

.detail-chart-area svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.chart-controls label {
  font-size: 0.9rem;
  color: var(--ink-500);
}

.chart-controls select {
  border-radius: 999px;
  border: 1px solid var(--mist-200);
  padding: 6px 12px;
  font-family: inherit;
}

.chart-wrapper {
  width: 100%;
}

.chart-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-100);
  color: var(--accent-500);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 34px;
  }

  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .block {
    padding: 18px;
  }

  .chart-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .directory-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .directory-controls input,
  .directory-controls select {
    width: 100%;
  }

  .directory-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .directory-table thead {
    display: none;
  }

  .directory-table,
  .directory-table tbody,
  .directory-table tr,
  .directory-table td {
    display: block;
    width: 100%;
  }

  .directory-table .data-row {
    border: 1px solid var(--mist-200);
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
    box-shadow: var(--shadow-tight);
  }

  .directory-table .data-row td {
    border: none;
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
  }

  .directory-table .data-row td::before {
    content: attr(data-label);
    color: var(--ink-500);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .directory-table .data-row .name-cell {
    display: block;
    padding-bottom: 6px;
  }

  .directory-table .data-row .name-cell::before {
    display: none;
  }

  .directory-table .data-row .industry-cell {
    display: block;
    padding-top: 8px;
  }

  .directory-table .data-row .industry-cell::before {
    display: block;
    margin-bottom: 6px;
  }

  .directory-table .data-row .industry-cell .industry-tags {
    justify-content: flex-start;
  }

  .directory-table .data-row .platform-link {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .directory-table .data-row .row-expand-hint {
    margin-top: 6px;
    font-size: 0.72rem;
  }

  .directory-table .type-icons {
    justify-content: flex-end;
  }

  .directory-table .stars {
    letter-spacing: 0;
  }

  .directory-table .detail-row {
    display: block;
    margin: -8px 0 10px;
  }

  .directory-table .detail-row td {
    display: block;
    border: none;
    padding: 0;
  }

  .directory-table .detail-chart {
    border: 1px solid var(--mist-200);
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 14px;
  }

  .directory-table .data-row.is-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .directory-detail-grid {
    grid-template-columns: 1fr;
  }

  .industry-detail-grid {
    grid-template-columns: 1fr;
  }
}
