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

.detail-summary-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f4f8f6);
  box-shadow: var(--shadow-soft);
}

.detail-summary-card span {
  color: var(--muted);
  font-size: 12px;
}

.detail-summary-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.detail-summary-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.detail-summary-card-wide {
  grid-column: 1 / -1;
}

.detail-summary-card-highlight {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.98)),
    linear-gradient(145deg, #ffffff, #f4f8f6);
  gap: 12px;
}

.detail-summary-card-highlight.pending {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(255, 255, 255, 0.98)),
    linear-gradient(145deg, #ffffff, #f8f6ef);
}

.detail-summary-card-highlight.has-analysis {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(255, 255, 255, 0.98)),
    linear-gradient(145deg, #ffffff, #f2faf6);
}

.detail-summary-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detail-summary-insights div {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.detail-summary-insights b {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.detail-summary-insights small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field-hint-inline {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.detail-stack {
  display: grid;
  gap: 16px;
}

.detail-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-section-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-weak);
  font-size: 12px;
  font-weight: 700;
}

.detail-panel {
  overflow: hidden;
}

.detail-panel-summary {
  cursor: pointer;
  list-style: none;
}

.detail-panel-summary::-webkit-details-marker {
  display: none;
}

.detail-panel-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.detail-panel-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.detail-panel-toggle::after {
  content: '展开';
}

.detail-panel[open] .detail-panel-toggle::after {
  content: '收起';
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.price-list li {
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 116px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  background: var(--panel-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.price-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 32, 28, 0.06);
}

.price-list li.selected-cycle {
  border-color: rgba(15, 118, 110, 0.42);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.08);
}

.price-week-group {
  min-height: auto;
  padding: 16px;
  align-content: start;
}

.price-week-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price-week-group-head span {
  color: var(--muted);
  font-size: 12px;
}

.price-week-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-entry-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  min-height: 108px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.price-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price-list-head-main {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.price-list-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.price-history-edit-btn {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 10px;
  white-space: nowrap;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}

.price-history-edit-btn:hover {
  color: var(--primary-dark);
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(240, 253, 250, 0.92);
}

.price-history-edit-btn:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.28);
  outline-offset: 2px;
}

.inline-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
}

.inline-tag.selected {
  color: var(--primary-dark);
  background: var(--primary-weak);
  border-color: rgba(15, 118, 110, 0.22);
}

.inline-tag.latest {
  color: var(--accent);
  background: rgba(196, 122, 38, 0.1);
  border-color: rgba(196, 122, 38, 0.22);
}

.inline-tag.warning {
  color: var(--warning);
  background: rgba(178, 95, 0, 0.12);
  border-color: rgba(178, 95, 0, 0.22);
}

.price-list strong {
  font-size: 14px;
  line-height: 1.35;
}

.price-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

.analysis-form {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.analysis-save-bar {
  grid-template-columns: auto;
  background: #fbfcfb;
}

.analysis-form .btn {
  justify-self: start;
}

.analysis-auto-meta {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(255, 255, 255, 0.9));
}

.analysis-auto-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 5px;
}

.analysis-auto-card span,
.analysis-auto-card em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
}

.analysis-auto-card strong {
  font-size: 16px;
  line-height: 1.35;
}

.analysis-auto-card-wide {
  grid-column: span 3;
}

.analysis-periods {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.analysis-period-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.analysis-period-select-field {
  min-width: 0;
}

.analysis-period-select {
  min-width: 0;
}

.analysis-period-current {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.86));
  display: grid;
  gap: 5px;
}

.analysis-period-current strong {
  font-size: 15px;
  line-height: 1.35;
}

.analysis-period-current span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.analysis-period-current span:last-child {
  word-break: break-word;
}

.analysis-period {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  display: grid;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}

.analysis-period.active {
  border-color: rgba(15, 118, 110, 0.42);
  background: var(--primary-weak);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.08);
}

.analysis-period span,
.analysis-period em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.analysis-period strong {
  font-size: 14px;
  line-height: 1.35;
}

.analysis-selected-meta {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.analysis-selected-meta div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 5px;
}

.analysis-selected-meta strong {
  font-size: 15px;
}

.analysis-selected-meta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.analysis-updates-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7faf5, #ffffff);
}

.analysis-updates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-updates-head > div {
  display: grid;
  gap: 4px;
}

.analysis-updates-head strong {
  font-size: 14px;
}

.analysis-updates-head span {
  color: var(--muted);
  font-size: 12px;
}

.analysis-updates-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.analysis-updates-summary span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24, 88, 61, 0.08);
  color: #18583d;
  font-size: 12px;
}

.analysis-updates-workbench {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 12px;
  min-height: 240px;
  max-height: 500px;
}

.analysis-updates-date-rail {
  display: grid;
  gap: 8px;
  max-height: 500px;
  overflow: auto;
  padding-right: 4px;
}

.analysis-update-date-btn {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7faf5);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.analysis-update-date-btn:hover {
  border-color: rgba(15, 118, 110, 0.32);
  background: #fff;
}

.analysis-update-date-btn.active {
  border-color: rgba(15, 118, 110, 0.48);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.98), #ffffff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.analysis-update-date-btn strong,
.analysis-update-date-btn span,
.analysis-update-date-btn em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-update-date-btn strong {
  font-size: 14px;
}

.analysis-update-date-btn span,
.analysis-update-date-btn em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.analysis-updates-detail-pane {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.analysis-updates-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f7faf5);
}

.analysis-updates-detail-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.analysis-updates-detail-head strong,
.analysis-updates-detail-head span,
.analysis-updates-detail-head em {
  min-width: 0;
  word-break: break-word;
}

.analysis-updates-detail-head strong {
  font-size: 14px;
}

.analysis-updates-detail-head span,
.analysis-updates-detail-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.analysis-updates-card-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  overflow: auto;
  min-height: 0;
}

.analysis-update-card {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfdfc;
}

.analysis-update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-update-meta span {
  font-weight: 700;
  font-size: 13px;
}

.analysis-update-meta em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.analysis-update-card pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.6;
  color: var(--text);
}

.analysis-updates-empty {
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
}

.customs-data-block {
  display: grid;
  gap: 14px;
}

.customs-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customs-overview-card {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f4f8f6);
}

.customs-overview-card span {
  color: var(--muted);
  font-size: 12px;
}

.customs-overview-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.customs-overview-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.customs-insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.customs-insight-grid-priority {
  grid-template-columns: 1fr;
}

.customs-insight-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.customs-detail-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(96px, max-content);
  gap: 12px;
  align-items: end;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.customs-detail-toolbar > .field,
.customs-detail-toolbar select {
  min-width: 0;
  width: 100%;
}

.customs-detail-toolbar .btn {
  min-height: 38px;
}

.customs-detail-filter-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.customs-detail-filter-actions {
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 7px;
}

.customs-detail-filter-actions .btn {
  min-width: 76px;
}

.customs-detail-record-list {
  max-height: 720px;
  overflow: auto;
}

.customs-trend-panel {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.98)),
    rgba(255, 255, 255, 0.94);
}

.customs-trend-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customs-trend-metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.customs-trend-metric.pending {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(255, 251, 235, 0.94);
}

.customs-trend-metric.has-analysis {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(236, 253, 245, 0.92);
}

.customs-trend-metric.done {
  border-color: rgba(15, 118, 110, 0.24);
}

.customs-trend-metric.no-analysis {
  border-style: dashed;
}

.customs-trend-metric span,
.customs-trend-metric em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.customs-trend-metric b {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.customs-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customs-chip-list.compact {
  max-height: 116px;
  overflow: hidden;
}

.customs-chip-actions .btn {
  min-height: 30px;
  padding: 0 10px;
}

.tag-filter-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(240, 253, 250, 0.92);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tag-filter-btn:hover {
  border-color: rgba(15, 118, 110, 0.36);
  background: #fff;
}

.customs-mini-list {
  display: grid;
  gap: 8px;
}

.customs-mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.customs-mini-list span {
  color: var(--muted);
  line-height: 1.45;
}

.customs-mini-list b {
  white-space: nowrap;
}

.customs-mini-list.compact {
  gap: 4px;
}

.customs-mini-list.compact div {
  padding: 5px 0;
}

.customs-summary-more {
  margin-top: 2px;
}

.customs-summary-more summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.customs-summary-more summary::-webkit-details-marker {
  display: none;
}

.customs-summary-more[open] {
  max-height: 190px;
  overflow: auto;
  padding-top: 6px;
}

.customs-product-card {
  gap: 12px;
  padding: 16px 18px;
}

.customs-product-head {
  align-items: flex-start;
}

.customs-product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.customs-metric-chip {
  min-width: 0;
  border: 1px solid rgba(191, 219, 214, 0.92);
  border-radius: 16px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(247, 251, 249, 0.98), rgba(255, 255, 255, 0.98));
  display: grid;
  gap: 4px;
}

.customs-metric-chip.pending {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(255, 251, 235, 0.96);
}

.customs-metric-chip span,
.customs-metric-chip em,
.customs-latest-strip span,
.customs-product-panel-head span,
.customs-product-panel-head em,
.customs-empty-inline {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.customs-metric-chip strong {
  font-size: 18px;
  line-height: 1.15;
}

.customs-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customs-product-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(246, 249, 247, 0.82);
  display: grid;
  gap: 10px;
  min-width: 0;
}

.customs-product-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.customs-product-panel-head > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.customs-product-panel-head strong {
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}

.customs-empty-inline {
  padding: 4px 0 2px;
}

.customs-latest-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 4px;
}

.customs-placeholder {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px dashed rgba(15, 118, 110, 0.28);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(245, 250, 248, 0.98), rgba(255, 255, 255, 0.98));
}

.customs-placeholder strong {
  font-size: 18px;
}

.customs-placeholder span {
  color: var(--muted);
  line-height: 1.7;
}

.customs-placeholder-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(191, 219, 214, 0.8);
}

.customs-placeholder-meta label {
  color: var(--muted);
  font-size: 13px;
}

.customs-placeholder-meta b {
  font-size: 14px;
}

.customs-config-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox-field input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.customs-config-actions {
  margin-top: 14px;
}

.customs-run-title {
  margin-top: 18px;
}

.customs-run-item {
  gap: 12px;
}

.customs-run-head {
  align-items: flex-start;
}

.customs-run-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 13px;
}

.customs-review-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.customs-review-toolbar-action {
  align-self: end;
}

.customs-review-batch-bar {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 4px;
}

.customs-review-item {
  gap: 14px;
}

.customs-review-item.selected-record {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.08);
}

.customs-review-record-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.customs-review-record-toggle input {
  margin: 0;
}

.customs-review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 13px;
}

.customs-review-options {
  display: grid;
  gap: 10px;
}

.customs-review-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.customs-review-option.checked {
  border-color: rgba(15, 118, 110, 0.45);
  background: rgba(240, 253, 250, 0.95);
}

.customs-review-option input {
  margin-top: 3px;
}

.customs-review-option div {
  display: grid;
  gap: 4px;
}

.customs-review-option span,
.customs-review-option em,
.customs-review-option small {
  color: var(--muted);
  line-height: 1.5;
}

.customs-review-note-field textarea {
  min-height: 76px;
  resize: vertical;
}

.customs-review-actions {
  justify-content: flex-end;
}

.analysis-score-select {
  min-width: 92px;
}

.detail-analysis-table-wrap {
  max-height: none;
  overflow: visible;
}

.mini {
  max-height: 420px;
}
