@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --brand: #ff6600;
  --brand-dark: #e05000;
  --brand-light: #fff3ec;
  --ink: #1b1b1b;
  --muted: #5a5f66;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #f0e3dc;
  --shadow: 0 12px 28px rgba(25, 12, 4, 0.10);
  --shadow-soft: 0 6px 16px rgba(25, 12, 4, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --header-height: 92px;
  --sidebar-width: 360px;
  --control-height: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding-top: var(--header-height);
  overflow-y: auto;
  overflow-x: hidden;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  padding: 16px 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 6px 18px rgba(16, 8, 3, 0.06);
  border-bottom: 1px solid var(--border);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff6600, #ff7a1a, #ff6600);
}

.logo {
  width: 72px;
  height: 72px;
  display: block;
  margin-right: 18px;
  padding: 0;
  background-color: transparent;
  border-radius: 6px;
  border: none;
  box-shadow: var(--shadow-soft);
  object-fit: contain;
}

.header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-title h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.9rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.header-demo {
  color: var(--brand-dark);
  font-weight: 700;
}

/* === Main Layout: Sidebar + Table === */
.content {
  display: flex;
  margin-left: var(--sidebar-width);
  padding: 22px;
  gap: 22px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* === Sidebar === */
.sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background: #ffffff;
  border-right: 1px solid var(--border);
  box-shadow: 8px 0 20px rgba(16, 8, 3, 0.06);
  padding: 22px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-top,
.upload-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.sidebar-top {
  flex: 1;
  overflow: hidden;
}

.upload-form {
  margin-top: auto;
  padding-bottom: 18px;
}

/* === Table Section === */
.table-container {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 16px 16px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - var(--header-height) - 44px);
  border: 1px solid var(--border);
}

.table-container table {
  margin-top: 10px;
}

.table-instructions {
  margin: 14px 0 8px;
  padding: 10px 12px;
  border: 1px solid #cfe3f7;
  background: #f6fbff;
  color: #1d3550;
  font-size: 0.84rem;
  line-height: 1.45;
  border-radius: var(--radius-sm);
}

.table-instructions strong {
  color: #0f4f86;
}

.table-instructions .info-icon {
  color: var(--brand);
  font-weight: 700;
}

.table-instructions .ui-action {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid #cf5205;
  background: #ff6600;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.1px;
  border-radius: var(--radius-sm);
  vertical-align: baseline;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(25, 12, 4, 0.10);
}

.table-instructions .ui-action-light {
  border-color: #ffd1ba;
  background: #ffffff;
  color: var(--brand);
}

.table-disclaimer {
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #ffd3bf;
  background: #fff8f4;
  color: #4a2a16;
  font-size: 0.84rem;
  line-height: 1.45;
  border-radius: var(--radius-sm);
}

.table-disclaimer strong {
  color: #9a3f06;
}

.table-disclaimer p + p {
  margin-top: 6px;
}

/* === Form Styles === */
.sidebar .form-group {
  margin-bottom: 14px;
}

.sidebar label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.sidebar input[type="text"],
.sidebar input[type="file"] {
  width: 100%;
  height: var(--control-height);
  padding: 0 12px;
  line-height: calc(var(--control-height) - 2px);
  border: 1px solid #f1d6c8;
  border-radius: var(--radius-sm);
  background: #fffaf7;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sidebar input[type="text"]::placeholder {
  color: #8a6a57;
}

.input-with-search {
  position: relative;
}

.input-with-search input[type="text"] {
  padding-right: 42px;
}

.sidebar .input-search-trigger {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #f1d6c8;
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: none;
  letter-spacing: normal;
  font-weight: 600;
  z-index: 2;
}

.sidebar .input-search-trigger::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  display: block;
}

.sidebar .input-search-trigger::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(5px, 6px) rotate(45deg);
  transform-origin: center;
}

.sidebar .input-search-trigger:hover {
  background: transparent;
  color: #f1d6c8;
  transform: translateY(-50%);
  box-shadow: none;
}

.sidebar .input-search-trigger:active {
  transform: translateY(-50%);
}

.sidebar .input-search-trigger:focus-visible {
  outline: 2px solid rgba(255, 102, 0, 0.28);
  transform: translateY(-50%);
}

.sidebar input[type="text"]:focus,
.sidebar input[type="file"]:focus {
  outline: 2px solid rgba(255, 102, 0, 0.25);
  border-color: #ffb38a;
}

.sidebar button {
  width: 100%;
  height: var(--control-height);
  background: var(--brand);
  color: #ffffff;
  padding: 0 14px;
  margin-top: 8px;
  border: 1px solid var(--brand);
  cursor: pointer;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  box-shadow: 0 4px 10px rgba(25, 12, 4, 0.10);
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12);
}

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

.sidebar button[name="Clear"] {
  background: transparent;
  color: var(--brand);
  border: 1px solid #ffd1ba;
  box-shadow: none;
}

.sidebar button[name="Clear"]:hover {
  background: var(--brand-light);
}

.sidebar button[name="Clear"]:disabled {
  background: #ffffff;
  color: #c9a08a;
  border-color: var(--border);
  box-shadow: none;
}

.export-button {
  margin-top: 8px;
}

.export-button form {
  display: block;
}

.export-button button {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid #ffd1ba;
  box-shadow: var(--shadow-soft);
}

.export-button button:hover {
  background: var(--brand-light);
}

.sidebar button:disabled,
.export-button button:disabled {
  background: #ffd7c2;
  color: #ffffff;
  border-color: #ffd7c2;
  cursor: not-allowed;
  box-shadow: none;
}

.export-button button:disabled {
  background: #ffffff;
  color: #c9a08a;
  border-color: var(--border);
  box-shadow: none;
}

.sidebar button.processing:disabled {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  cursor: progress;
  box-shadow: 0 4px 10px rgba(25, 12, 4, 0.10);
  opacity: 0.95;
}

.sidebar button.processing:disabled::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  margin-left: 8px;
  animation: pipo-spin 0.8s linear infinite;
}

.desc-picker {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
}

.desc-picker.is-open {
  display: block;
}

.desc-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 4, 0.28);
}

.desc-picker__panel {
  position: absolute;
  top: calc(var(--header-height) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, calc(100vw - 36px));
  max-height: min(72vh, 680px);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.desc-picker__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px 8px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.desc-picker__head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-dark);
}

.desc-picker__sub {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.desc-picker__close {
  border: 1px solid var(--border);
  background: #fff8f4;
  color: #8c5030;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.desc-picker__controls {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.desc-picker__controls input[type="text"] {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #f1d6c8;
  background: #fffaf7;
}

.desc-picker__controls button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.desc-picker__status {
  min-height: 34px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.desc-picker__status.is-loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 102, 0, 0.25);
  border-top-color: rgba(255, 102, 0, 0.9);
  animation: desc-search-pending 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes desc-search-pending {
  to {
    transform: rotate(360deg);
  }
}

.desc-picker__results {
  overflow: auto;
  padding: 0 16px 14px;
}

.desc-picker__table {
  width: 100%;
  border-collapse: collapse;
}

.desc-picker__table thead th {
  position: sticky;
  top: 0;
  background: #fffaf7;
  z-index: 1;
  font-size: 0.77rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #6b584d;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.desc-picker__table td {
  padding: 10px;
  border-bottom: 1px solid #f7e8de;
  font-size: 0.88rem;
  vertical-align: top;
}

.desc-match {
  font-weight: 700;
}

.desc-picker__code {
  font-weight: 700;
  color: #402313;
  white-space: nowrap;
}

.desc-picker__use {
  padding: 5px 10px;
  border: 1px solid #ffd1ba;
  background: #fff3ec;
  color: #b64805;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .desc-picker__panel {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
    left: 8px;
    right: 8px;
    transform: none;
    width: auto;
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top) - 16px);
  }

  .desc-picker__head {
    padding: 10px 12px 8px;
  }

  .desc-picker__head h3 {
    font-size: 0.95rem;
  }

  .desc-picker__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
    align-items: center;
  }

  .desc-picker__controls input[type="text"] {
    width: 100%;
    min-width: 0;
  }

  .desc-picker__controls button {
    width: auto;
    min-width: 72px;
    white-space: nowrap;
    padding: 0 12px;
  }

  .desc-picker__status {
    padding: 8px 12px;
  }

  .desc-picker__results {
    padding: 0 12px 12px;
  }

  .desc-picker__table thead {
    display: none;
  }

  .desc-picker__table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .desc-picker__table tbody tr:last-child {
    margin-bottom: 0;
  }

  .desc-picker__table td {
    display: block;
    border: none;
    padding: 3px 0;
    text-align: left;
    font-weight: 500;
  }

  .desc-picker__table td.desc-picker__code {
    font-size: 1.03rem;
    font-weight: 800;
    margin-bottom: 2px;
  }

  .desc-picker__table td:nth-child(2) {
    margin-bottom: 2px;
  }

  .desc-picker__table td:nth-child(3) {
    color: var(--muted);
  }

  .desc-picker__table td:last-child {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    text-align: right;
  }

  .desc-picker__table .desc-picker__use {
    display: inline-flex;
    padding: 6px 11px;
  }
}

@media (max-width: 420px) {
  .desc-picker__controls button {
    min-width: 66px;
  }
}

@keyframes pipo-spin {
  to {
    transform: rotate(360deg);
  }
}

.sidebar input[type="file"]::file-selector-button {
  border: none;
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  margin-right: 10px;
  font-weight: 700;
  cursor: pointer;
}

.sidebar input[type="file"]::file-selector-button:hover {
  background: var(--brand-dark);
}

/* === Tooltip === */
.tooltip-icon {
  cursor: help;
  position: relative;
  margin-left: 8px;
  color: var(--brand);
}

.tooltip-icon .tooltip-text {
  visibility: hidden;
  width: 300px;
  color: #2b2b2b;
  background-color: #fffaf7;
  text-align: left;
  border-radius: var(--radius-sm);
  padding: 10px;
  position: absolute;
  z-index: 10;
  top: 22px;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85rem;
  border: 1px solid #ffd3bf;
  box-shadow: var(--shadow-soft);
}

.tooltip-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === Table Styles === */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.9rem;
}

thead th {
  background-color: var(--brand);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-clip: padding-box;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1e3d9;
  vertical-align: top;
}

thead th:first-child {
  border-top-left-radius: 12px;
}

thead th:last-child {
  border-top-right-radius: 12px;
}

tbody tr:nth-child(odd) {
  background-color: #fffaf7;
}

tbody tr:hover {
  background-color: #fff0e7;
}

td {
  color: #2b2b2b;
  font-size: 0.88rem;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #1b1b1b;
  background: transparent;
  border: 1px solid #f1e3d9;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  vertical-align: middle;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 4px 7px 4px 10px;
  gap: 7px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  vertical-align: middle;
  border: 1px solid transparent;
}

.status-pill__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.status-pill--active {
  color: #1f7a2e;
  background: #e9f8e7;
  border-color: #cceec8;
}

.status-pill--active .status-pill__icon {
  background: #2d8a24;
}

.status-pill--active .status-pill__icon::before {
  content: "\2713";
}

.status-pill--discontinued {
  color: #bd1c18;
  background: #fdecec;
  border-color: #f7caca;
}

.status-pill--discontinued .status-pill__icon {
  background: #c21f1a;
}

.status-pill--discontinued .status-pill__icon::before {
  content: "\00d7";
}

.status-pill--warning {
  color: #7a4f00;
  background: #fff5d9;
  border-color: #f7dda2;
}

.status-pill--warning .status-pill__icon {
  background: #c58a00;
}

.status-pill--warning .status-pill__icon::before {
  content: "!";
}

.status-pill--neutral {
  color: #4f5963;
  background: #eef2f6;
  border-color: #dce4ec;
}

.status-pill--neutral .status-pill__icon {
  background: #64717d;
}

.status-pill--neutral .status-pill__icon::before {
  content: "?";
}

.result-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 0 0 100%;
  width: 100%;
  margin: -4px 0 0;
  padding: 16px 18px;
  border: 1px solid #dfe5ec;
  border-left: 4px solid #2f73c9;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 8, 3, 0.06);
}

.result-info-box__icon,
.result-info-box__badge {
  flex: 0 0 auto;
  min-width: 36px;
  height: 26px;
  margin-top: 1px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9d4f7;
  background: #eef6ff;
  color: #1f5f9f;
  font-weight: 800;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0;
}

.result-info-box__content {
  min-width: 0;
}

.result-info-box__content > strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.result-info-box p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.result-info-box p strong {
  display: inline;
  color: var(--ink);
  font-weight: 800;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  padding: 24px 16px;
}

a {
  color: #c24a00;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 980px) {
  :root {
    --header-height: 140px;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top));
    overflow: auto;
    margin: 0;
  }

  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
    height: calc(var(--header-height) + env(safe-area-inset-top));
    gap: 12px;
    text-align: left;
    z-index: 3000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    max-width: 100vw;
  }

  .logo {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px;
    max-height: 90px;
    margin: 0;
    align-self: center;
  }

  .header-title {
    position: static;
    transform: none;
    text-align: left;
    width: auto;
    margin: 0;
    max-width: calc(100% - 110px);
    padding: 0;
    flex: 1;
  }

  .header-title h2 {
    font-size: 1.05rem;
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
  }

  .header-title .header-demo {
    display: block;
  }

  .content {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    padding: 14px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  .sidebar {
    order: 0;
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    padding: 16px;
    box-shadow: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .sidebar-top,
  .upload-form {
    width: 100%;
    max-width: 100%;
    padding: 14px;
  }

  .table-container {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 12px 12px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: var(--shadow-soft);
  }

  .sidebar input[type="text"],
  .sidebar input[type="file"],
  .sidebar button,
  .export-button button,
  .result-info-box {
    max-width: 100%;
  }

  td,
  .desc-picker__table td {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .table-container table {
    margin-top: 8px;
  }

  .table-disclaimer {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  .table-instructions {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  /* Stacked table layout on mobile */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
    overflow: hidden;
  }

  tbody tr:nth-child(odd) {
    background: #ffffff;
  }

  td {
    border: none;
    border-bottom: 1px solid #f1e3d9;
    padding: 10px 12px;
  }

  td:last-child {
    border-bottom: none;
  }

  td[data-label] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    text-align: left;
    flex: 0 0 42%;
  }

  td:not([data-label]) {
    text-align: center;
    font-weight: 600;
  }

  .desc-picker__table td,
  .desc-picker__table td[data-label],
  .desc-picker__table td:not([data-label]) {
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
  }

  .desc-picker__table td:last-child,
  .desc-picker__table td:last-child:not([data-label]) {
    justify-content: flex-end;
    text-align: right;
  }

  .desc-picker__table td::before {
    content: none;
  }

  td a {
    word-break: break-word;
  }

  .status-pill {
    justify-content: flex-end;
    max-width: calc(100% - 110px);
  }

  .result-info-box {
    order: 1;
    align-items: flex-start;
    margin-top: 0;
    padding: 14px;
  }
}
