:root {
  --tp-primary: #355be8;
  --tp-primary-dark: #2447cc;
  --tp-ink: #172033;
  --tp-muted: #667085;
  --tp-line: #e8ecf2;
}

.tp-focus:focus-visible,
.tp-button:focus-visible,
.tp-icon-button:focus-visible,
.tp-tab:focus-visible {
  outline: 2px solid var(--tp-primary);
  outline-offset: 2px;
}
.tp-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.tp-button:active,
.tp-icon-button:active {
  transform: scale(0.97);
}
.tp-button-primary {
  background: var(--tp-primary);
  color: #fff;
}
.tp-button-primary:hover {
  background: var(--tp-primary-dark);
}
.tp-button-primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.tp-button-secondary {
  border: 1px solid #d8dfeb;
  background: #fff;
  color: #536077;
}
.tp-button-secondary:hover {
  border-color: #bdc9ec;
  background: #fbfcff;
  color: var(--tp-primary);
}
.tp-button-large {
  min-height: 46px;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 14px;
}
.tp-button-danger {
  background: #dc2626;
  color: #fff;
}
.tp-button-danger:hover {
  background: #b91c1c;
}
.tp-icon-button {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  place-items: center;
  border-radius: 0.65rem;
  color: #667085;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.tp-icon-button:hover {
  background: #f2f4f7;
  color: var(--tp-primary);
}
.tp-icon-button.is-danger:hover {
  background: #fff1f2;
  color: #dc2626;
}

.tp-modal-panel svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 首页：对齐原型 home 页 */
.tp-home {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding-top: 14px;
  color: var(--tp-ink);
}
.tp-home .lucide {
  width: 17px;
  height: 17px;
  flex: none;
}
.tp-home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 190px;
  min-height: 190px;
  max-height: 190px;
  overflow: hidden;
  border: 1px solid #d8e3f4;
  border-radius: 22px;
  background: #f8fbff;
  box-shadow:
    0 14px 34px rgb(36 56 104 / 7.5%),
    inset 0 1px 0 rgb(255 255 255 / 92%);
}
.tp-home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgb(250 253 255 / 99.7%) 0%,
    rgb(250 253 255 / 98.5%) 40%,
    rgb(250 253 255 / 78%) 49%,
    rgb(250 253 255 / 12%) 61%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}
.tp-home-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 62%;
  filter: saturate(1.04) contrast(1.02);
  pointer-events: none;
  user-select: none;
}
.tp-hero-history {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 3;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid #0946ff;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  color: #0946ff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease;
}
.tp-hero-history:hover {
  border-color: #0839cc;
  background: #edf3ff;
  color: #0839cc;
}
.tp-hero-history .lucide {
  width: 15px;
  height: 15px;
}
.tp-hero-history .lucide:last-child {
  width: 13px;
  height: 13px;
  color: currentColor;
}
.tp-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 63%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0 14px 28px;
}
.tp-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3569ec;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.01em;
}
.tp-home-eyebrow .lucide {
  width: 14px;
  height: 14px;
}
.tp-hero-content h1 {
  max-width: 710px;
  margin: 6px 0 0;
  color: #14203b;
  font-size: clamp(25px, 1.85vw, 29px);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.tp-hero-intro {
  max-width: 650px;
  margin: 7px 0 0;
  color: #64738b;
  font-size: 11px;
  line-height: 1.55;
}
.tp-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
}
.tp-hero-actions .tp-button {
  min-height: 36px;
  gap: 8px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
}
.tp-hero-actions .tp-button-primary {
  min-width: 142px;
  box-shadow: 0 7px 16px rgb(53 91 232 / 17%);
}
.tp-hero-actions .tp-button-secondary {
  min-width: 132px;
  background: rgb(255 255 255 / 92%);
}
.tp-hero-actions .lucide {
  width: 16px;
  height: 16px;
}
.tp-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
  color: #738199;
  font-size: 12px;
  line-height: 1.45;
}
.tp-hero-meta strong {
  color: #ff8d28;
  font-size: 12px;
  font-weight: 750;
}
.tp-hero-meta > i {
  width: 1px;
  height: 12px;
  background: #c5cfdf;
}
.tp-home-delivery {
  width: 100%;
  margin-top: 14px;
  overflow: visible;
  scroll-margin-top: 24px;
}
.tp-home-value-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 0 2px;
}
.tp-home-value-heading h2 {
  margin: 0;
  color: #16233e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.tp-delivery-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.tp-delivery-proof span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e6f7;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  color: #5e6c84;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tp-delivery-proof .lucide {
  width: 14px;
  height: 14px;
  color: currentColor;
  stroke-width: 1.75;
}
.tp-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  padding-top: 40px;
  overflow: visible;
}
.tp-value-card {
  isolation: isolate;
  position: relative;
  display: flex;
  min-height: 168px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
  border: 1px solid rgba(50, 111, 243, 0);
  border-radius: 20px;
  background: linear-gradient(137deg, #f2f2f2 0%, #eff2f5 47.6%, #e0f2ff 100%);
  padding: 72px 20px 20px;
  text-align: left;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.tp-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgb(50 111 243 / 10%);
}
.tp-value-card-art {
  position: absolute;
  z-index: 2;
  top: -38px;
  left: 12px;
  display: block;
  width: 96px;
  height: 96px;
  pointer-events: none;
}
.tp-value-card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgb(50 111 243 / 12%));
}
.tp-value-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
}
.tp-value-card strong {
  display: block;
  color: #17243d;
  font-size: 17px;
  font-weight: 770;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.tp-value-card p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #6e7c93;
  font-size: 12px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.tp-list-page {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  flex-direction: column;
  gap: 1.5rem;
}
.tp-list-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.tp-list-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.5rem;
}
.tp-list-heading .tp-detail-back {
  margin-top: 0.15rem;
}
.tp-list-header h1 {
  color: var(--tp-ink);
  font-size: 1.875rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.tp-list-header p {
  margin-top: 0.55rem;
  color: var(--tp-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.tp-list-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tp-search {
  position: relative;
  width: min(20rem, 32vw);
}
.tp-search svg {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  color: #98a2b3;
  transform: translateY(-50%);
}
.tp-search input,
.tp-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe4eb;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--tp-ink);
  font-size: 0.875rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.tp-search input {
  padding: 0.6rem 1rem 0.6rem 2.7rem;
}
.tp-input {
  padding: 0.65rem 0.85rem;
}
.tp-search input::placeholder,
.tp-input::placeholder {
  color: #98a2b3;
}
.tp-search input:focus,
.tp-input:focus {
  border-color: var(--tp-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(26 115 232 / 12%);
}
.tp-list-surface {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(23 32 51 / 6%);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 10px rgb(23 32 51 / 3%);
}
.tp-table-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 0 2rem 1rem;
  border-top: 1.5rem solid #fff;
}
.tp-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.tp-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f5f7fa;
  padding: 0.85rem 1.25rem;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
}
.tp-table th:first-child {
  width: 38%;
  border-radius: 0.75rem 0 0 0.75rem;
}
.tp-table th:nth-child(2) {
  width: 8rem;
}
.tp-table th:nth-child(3),
.tp-table th:nth-child(4) {
  width: 10.5rem;
}
.tp-table th:last-child {
  width: 6rem;
  border-radius: 0 0.75rem 0.75rem 0;
}
.tp-table td {
  border-bottom: 1px solid #f0f2f5;
  padding: 1.15rem 1.25rem;
  color: #667085;
  font-size: 0.875rem;
  vertical-align: middle;
}
.tp-table tbody tr {
  transition: background-color 0.18s ease;
}
.tp-table tbody tr:hover {
  background: #fafbfc;
}
.tp-table tbody tr:last-child td {
  border-bottom: 0;
}
.tp-project-link {
  display: block;
  overflow: hidden;
  color: #273142;
  font-size: 0.9375rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.tp-project-link:hover {
  color: var(--tp-primary);
}
.tp-filename {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  overflow: hidden;
  color: #98a2b3;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-source-file-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  object-fit: contain;
}
.tp-status {
  display: inline-flex;
  min-width: 5.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.tp-status i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}
.tp-status.is-success {
  background: #ecfdf3;
  color: #16805c;
}
.tp-status.is-failed {
  background: #fff1f2;
  color: #c24155;
}
.tp-status.is-active {
  background: #edf5ff;
  color: #2563c9;
}
.tp-status.is-active i {
  animation: tp-pulse 1.3s ease-in-out infinite;
}
.tp-empty-state {
  display: flex;
  flex: 1;
  min-height: 22rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem;
  text-align: center;
}
.tp-empty-state > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.9rem;
  background: #eff5ff;
  color: var(--tp-primary);
}
.tp-empty-state h2 {
  margin-top: 1rem;
  color: var(--tp-ink);
  font-size: 1rem;
  font-weight: 650;
}
.tp-empty-state p {
  margin: 0.45rem 0 1.25rem;
  color: var(--tp-muted);
  font-size: 0.875rem;
}
.tp-pagination {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-top: 1px solid #f1f3f6;
  padding: 1rem;
  color: var(--tp-muted);
  font-size: 0.8rem;
}
.tp-pagination a {
  border-radius: 0.55rem;
  padding: 0.45rem 0.75rem;
  color: #475467;
}
.tp-pagination a:hover {
  background: #f2f4f7;
}

.tp-modal {
  width: min(560px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.tp-modal::backdrop {
  background: rgb(35 48 70 / 36%);
  backdrop-filter: blur(1px);
}
.tp-modal[open] {
  animation: tp-modal-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-modal.is-closing {
  animation: tp-modal-out 0.22s ease-out both;
  pointer-events: none;
}
.tp-modal.is-closing::backdrop {
  animation: tp-backdrop-out 0.22s ease-out both;
}
.tp-modal-panel {
  overflow: hidden;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgb(15 35 65 / 16%);
}
.tp-modal-header h2 {
  color: #15233b;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.tp-modal-header p {
  color: #7b8494;
  font-size: 13px;
  line-height: 1.6;
}
.tp-upload-field {
  display: flex;
  min-height: 190px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #72a7ee;
  border-radius: 10px;
  background: #fbfdff;
  padding: 24px;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.tp-upload-field[hidden] {
  display: none;
}
.tp-upload-field:hover,
.tp-upload-field.is-dragging {
  border-color: var(--tp-primary);
  background: #f5f9ff;
}
.tp-upload-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--tp-primary);
}
.tp-upload-field strong {
  display: block;
  overflow: hidden;
  color: #27364e;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-upload-field small {
  display: block;
  margin-top: 6px;
  color: #7b8494;
  font-size: 12px;
}
.tp-field-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #7b8494;
  font-size: 12px;
}
.tp-field-hint svg {
  flex: none;
  color: var(--tp-primary);
}
.tp-field-label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}
.tp-field-label span {
  color: #98a2b3;
  font-weight: 400;
}
.tp-selected-file {
  display: flex;
  min-width: 0;
  cursor: pointer;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.tp-selected-file[hidden] {
  display: none;
}
.tp-selected-file:hover {
  border-color: #b9d2f3;
  background: #f8fbff;
}
.tp-selected-file .tp-icon-button {
  width: 32px;
  height: 32px;
  color: #7b8494;
}
.tp-file-type {
  display: flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  color: #fff;
  line-height: 1;
}
.tp-file-type.is-pdf {
  background: #e84d4d;
}
.tp-file-type.is-word {
  background: #2f6fd6;
}
.tp-file-type b {
  font-size: 13px;
  font-weight: 700;
}
.tp-file-type small {
  margin-top: 2px;
  font-size: 7px;
}
.tp-selected-file-copy strong {
  display: block;
  overflow: hidden;
  color: #344054;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-selected-file-copy small {
  display: block;
  margin-top: 4px;
  color: #7b8494;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.tp-billing h3 {
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}
.tp-billing p {
  margin-top: 5px;
  color: #98a2b3;
  font-size: 12px;
}
.tp-billing > strong {
  color: var(--tp-primary);
  font-size: 14px;
  font-weight: 650;
}
[data-tp-submit] {
  min-width: 8.5rem;
}
[data-tp-submit].is-submitting:disabled {
  cursor: progress;
  opacity: 1;
}
.tp-submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tp-spin 0.8s linear infinite;
}
.tp-confirm-modal {
  width: min(28rem, calc(100vw - 2rem));
}
.tp-confirm-modal .tp-modal-panel {
  padding: 1.5rem;
}
.tp-confirm-body h2 {
  color: var(--tp-ink);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.tp-confirm-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  place-items: center;
  border-radius: 0.75rem;
  background: #fef2f2;
  color: #dc2626;
}
.tp-confirm-body p {
  margin-top: 0.35rem;
  color: var(--tp-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
}
.tp-confirm-project {
  margin-top: 0.75rem;
  border: 1px solid #f1f3f6;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.625rem 0.75rem;
}
.tp-confirm-project small {
  display: block;
  color: #98a2b3;
  font-size: 0.75rem;
  font-weight: 500;
}
.tp-confirm-project strong {
  display: block;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.tp-confirm-body .tp-confirm-warning {
  margin-top: 0.75rem;
  color: #98a2b3;
  font-size: 0.75rem;
  line-height: 1.25rem;
}
.tp-confirm-actions .tp-button {
  min-height: 2.25rem;
  border-radius: 0.75rem;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.tp-menu {
  position: relative;
}
.tp-menu-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 20;
  width: 13rem;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 12px 32px rgb(15 23 42 / 16%);
  animation: tp-menu-in 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-menu-panel[hidden] {
  display: none;
}
.tp-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.tp-menu-item:hover {
  background: #f2f4f7;
}
.tp-menu-item.is-danger {
  color: #dc2626;
}
.tp-menu-item.is-danger:hover {
  background: #fff1f2;
}
.tp-detail-page {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  flex-direction: column;
  gap: 0.75rem;
}
.tp-detail-back {
  position: relative;
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  place-items: center;
  border-radius: 0.55rem;
  color: #667085;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-detail-back:hover {
  background: #f2f4f7;
  color: var(--tp-primary);
}
.tp-detail-back::before,
.tp-detail-actions .tp-icon-button::before {
  position: absolute;
  inset: -0.25rem;
  content: "";
}
.tp-detail-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
}
.tp-detail-export {
  display: inline-flex;
  height: 1.75rem;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.5rem;
  padding: 0 0.65rem;
  color: var(--tp-primary);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgb(53 91 232 / 8%);
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-detail-export:hover {
  background: rgb(53 91 232 / 14%);
  color: var(--tp-primary-dark);
}
.tp-detail-actions .tp-icon-button {
  position: relative;
}
.tp-detail-actions .tp-icon-button:hover {
  background: #f2f4f7;
}
.tp-detail-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.3rem;
}
.tp-detail-title h1 {
  overflow: hidden;
  flex: none;
  max-width: 20rem;
  color: var(--tp-ink);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-detail-title input {
  flex: none;
  width: 20rem;
  max-width: 100%;
  border: 1px solid var(--tp-primary);
  border-radius: 0.4rem;
  padding: 0.15rem 0.5rem;
  color: var(--tp-ink);
  font-size: 0.95rem;
  font-weight: 650;
}
.tp-detail-title input:focus {
  outline: none;
}
.tp-detail-title-edit {
  position: relative;
  display: inline-grid;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 0.4rem;
  color: #98a2b3;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-detail-title-edit:hover {
  background: #f2f4f7;
  color: var(--tp-primary);
}
.tp-conclusion {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0.7rem;
  border: 1px solid rgb(23 32 51 / 6%);
  border-radius: 0.875rem;
  background: #fff;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 1px 3px rgb(23 32 51 / 3%);
}
.tp-conclusion-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.tp-conclusion-badge {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.tp-conclusion-badge > p {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tp-primary);
  font-size: 0.78rem;
  font-weight: 680;
  white-space: nowrap;
}
.tp-conclusion-badge > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.5rem;
  background: #f2f4f7;
  padding: 0.25rem 0.55rem;
  color: #475467;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tp-conclusion-text-wrap {
  flex: 1;
  min-width: 0;
  padding-top: 0.2rem;
}
.tp-conclusion-text {
  color: var(--tp-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}
.tp-conclusion-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgb(23 32 51 / 6%);
  padding-top: 0.6rem;
}
.tp-conclusion-stats > div {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0 1rem;
}
.tp-conclusion-stats > div:first-child {
  padding-left: 0;
}
.tp-conclusion-stats > div + div {
  border-left: 1px solid rgb(23 32 51 / 6%);
}
.tp-conclusion-stats span {
  color: #667085;
  font-size: 0.78rem;
  white-space: nowrap;
}
.tp-conclusion-stats b {
  position: relative;
  padding-left: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.tp-conclusion-stats b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.tp-stat-qualification b {
  color: var(--tp-primary);
}
.tp-stat-score b {
  color: #12b76a;
}
.tp-stat-risk b {
  color: #e04f4f;
}
.tp-stat-blind b {
  color: #f79009;
}
.tp-workbench {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(22rem, var(--tp-preview-width)) 0.75rem minmax(
      0,
      1fr
    );
}
.tp-preview,
.tp-results {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(23 32 51 / 7%);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1px 3px rgb(23 32 51 / 4%);
}
.tp-preview {
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
}
.tp-preview:fullscreen {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}
.tp-preview-toolbar {
  display: grid;
  min-height: 3.25rem;
  flex: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #f1f3f6;
  background: #fff;
  padding: 0.55rem 0.75rem;
}
.tp-zoom-controls {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.15rem;
  border-radius: 0.5rem;
  background: #f0f2f5;
  padding: 0.25rem 0.4rem;
}
.tp-zoom-controls button {
  display: grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 0.25rem;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 650;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-zoom-controls button:hover {
  background: #fff;
  color: #1f2937;
}
.tp-zoom-controls button:disabled {
  pointer-events: none;
  opacity: 0.3;
}
.tp-zoom-controls [data-tp-zoom-reset] {
  min-width: 2.75rem;
  padding: 0 0.2rem;
  font-variant-numeric: tabular-nums;
}
.tp-page-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #98a2b3;
  font-size: 0.7rem;
  white-space: nowrap;
}
.tp-page-controls input {
  width: 2.25rem;
  height: 1.75rem;
  border: 1px solid #e0e5ec;
  border-radius: 0.3rem;
  background: #fff;
  color: #344054;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 650;
  text-align: center;
  outline: 0;
}
.tp-page-controls input:focus {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 2px rgb(26 115 232 / 10%);
}
.tp-page-controls b {
  font-weight: 500;
}
.tp-page-controls button,
.tp-preview-action {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid #e0e5ec;
  border-radius: 0.4rem;
  background: #fff;
  color: #667085;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-page-controls button:hover,
.tp-preview-action:hover {
  background: #f7f8fa;
  color: #1f2937;
}
.tp-page-controls button:disabled {
  pointer-events: none;
  opacity: 0.4;
}
.tp-preview-action {
  justify-self: end;
}
.tp-page-stage {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  overflow: auto;
  scroll-behavior: smooth;
  padding: 1.25rem;
  scrollbar-width: none;
}
.tp-page-stage::-webkit-scrollbar {
  display: none;
}
.tp-page {
  position: relative;
  width: calc(100% * var(--tp-zoom, 1));
  max-width: calc(100% * var(--tp-zoom, 1));
  aspect-ratio: 210 / 297;
  flex: none;
  overflow: hidden;
  border: 1px solid #e0e5ec;
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: 0 4px 14px rgb(15 23 42 / 10%);
  transition:
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s ease;
}
.tp-page.is-current {
  border-color: #cbd5e1;
}
.tp-page.is-target {
  z-index: 1;
  border-color: #60a5fa;
  box-shadow:
    0 6px 20px rgb(37 99 235 / 15%),
    0 0 0 2px rgb(59 130 246 / 15%);
}
.tp-page img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.4s ease;
  transform: scale(0.98);
}
.tp-page.is-loaded img {
  opacity: 1;
  transform: scale(1);
}
.tp-page-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  background: rgb(255 255 255 / 94%);
  padding: 0.12rem 0.35rem;
  color: #64748b;
  font:
    650 0.55rem/1rem ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.tp-page-skeleton {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fbfcfe;
  color: #94a3b8;
}
.tp-page-skeleton::before {
  width: 42%;
  height: 45%;
  border-radius: 0.5rem;
  background: repeating-linear-gradient(#e9eef5 0 4px, transparent 4px 13px);
  content: "";
  opacity: 0.7;
}
.tp-page.is-loaded .tp-page-skeleton,
.tp-page.is-error .tp-page-skeleton {
  display: none;
}
.tp-page-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  background: #f8fafc;
  color: #667085;
  font-size: 0.72rem;
  text-align: center;
}
.tp-page.is-error .tp-page-error {
  display: grid;
}
.tp-page-error button {
  margin-top: 0.65rem;
  border: 1px solid #dfe4eb;
  border-radius: 99px;
  background: #fff;
  padding: 0.3rem 0.7rem;
  color: #475467;
  font-size: 0.68rem;
  font-weight: 650;
}
.tp-preview-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 2rem;
  color: #98a2b3;
  font-size: 0.76rem;
  text-align: center;
}
.tp-highlights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.tp-highlight {
  position: absolute;
  border: 1px solid rgb(217 119 6 / 42%);
  border-radius: 3px;
  background: linear-gradient(rgb(253 230 138 / 18%), rgb(251 191 36 / 34%));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 55%),
    0 1px 5px rgb(180 83 9 / 16%);
  animation: tp-highlight-in 0.25s ease-out;
  mix-blend-mode: multiply;
}
.tp-resizer {
  display: flex;
  cursor: col-resize;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
}
.tp-resizer i {
  display: block;
  width: 3px;
  height: 4rem;
  border-radius: 99px;
  background: #d8dee8;
  transition:
    height 0.18s ease,
    background-color 0.18s ease;
}
.tp-resizer:hover i,
.tp-resizer.is-active i,
.tp-resizer:focus-visible i {
  height: 6rem;
  background: #6ea0e5;
}
.tp-resizer:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgb(26 115 232 / 12%);
}
.tp-results {
  display: flex;
  flex-direction: column;
}
.tp-tabs {
  display: flex;
  min-height: 3.25rem;
  flex: none;
  gap: 2.25rem;
  overflow-x: auto;
  border-bottom: 1px solid #f1f3f6;
  padding: 0 1.25rem;
  scrollbar-width: none;
}
.tp-tabs::-webkit-scrollbar {
  display: none;
}
.tp-tab {
  position: relative;
  flex: none;
  padding: 0.9rem 0 0.75rem;
  color: #98a2b3;
  font-size: 0.875rem;
  transition: color 0.18s ease;
}
.tp-tab:hover {
  color: #667085;
}
.tp-tab[aria-selected="true"] {
  color: var(--tp-primary);
  font-weight: 700;
}
.tp-tab[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--tp-primary);
  content: "";
}
.tp-panel {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  scrollbar-width: none;
}
.tp-panel::-webkit-scrollbar {
  display: none;
}
.tp-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid #dceaff;
  border-radius: 1rem;
  background: #f7faff;
  padding: 0.85rem 1rem;
}
.tp-summary > span {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e4efff;
  color: var(--tp-primary);
}
.tp-summary p {
  color: #475467;
  font-size: 0.875rem;
  line-height: 1.65;
}
.tp-scoring-breakdown {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
  border: 1px solid #eef1f5;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  padding: 1.3rem 1.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px -18px rgba(15, 23, 42, 0.18);
}
.tp-compliance-breakdown {
  margin-bottom: 1.25rem;
  border: 1px solid #eef1f5;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
}
.tp-compliance-stats dt {
  color: #667085;
  font-size: 0.8rem;
}
.tp-compliance-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.tp-compliance-stats > div {
  display: flex;
  min-width: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tp-compliance-stats dt::before {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #98a2b3;
  content: "";
}
.tp-compliance-stats dd {
  color: #475467;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tp-compliance-stats .is-violation dt::before {
  background: #e5484d;
}
.tp-compliance-stats .is-warning dt::before {
  background: #f59e0b;
}
.tp-scoring-total {
  display: flex;
  flex: none;
  align-items: baseline;
  gap: 0.7rem;
  padding-right: 1.9rem;
  position: relative;
}
.tp-scoring-total::after {
  content: "";
  position: absolute;
  top: 0.1rem;
  right: 0;
  bottom: 0.1rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, #e5e9f0 15%, #e5e9f0 85%, transparent);
}
.tp-scoring-total > b {
  color: #0f172a;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tp-scoring-total > span {
  color: #8a94a6;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.55;
}
.tp-scoring-bars {
  display: grid;
  flex: 1;
  gap: 0.7rem;
}
.tp-scoring-bar {
  --tp-bar-color: var(--tp-primary);
  --tp-bar-color-soft: #eef1fd;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 0.6rem;
  margin: -0.3rem -0.5rem;
  padding: 0.3rem 0.5rem;
  transition: background-color 0.2s ease;
}
.tp-scoring-bar[data-category="商务评分"] {
  --tp-bar-color: #8b5cf6;
  --tp-bar-color-soft: #f3effe;
}
.tp-scoring-bar[data-category="价格评分"] {
  --tp-bar-color: #10b981;
  --tp-bar-color-soft: #e9faf3;
}
.tp-scoring-bar:hover {
  background: #f7f9fc;
}
.tp-scoring-bar-label {
  flex: none;
  width: 4rem;
  color: #475467;
  font-size: 0.8rem;
  font-weight: 500;
}
.tp-scoring-bar-track {
  flex: 1;
  height: 0.5rem;
  border-radius: 99px;
  background: #eef1f5;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.04);
}
.tp-scoring-bar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tp-primary), #5b7bf0);
  transform-origin: left;
  animation: tp-scoring-fill 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tp-scoring-bar[data-category="商务评分"] .tp-scoring-bar-fill {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.tp-scoring-bar[data-category="价格评分"] .tp-scoring-bar-fill {
  background: linear-gradient(90deg, #10b981, #34d399);
}
@keyframes tp-scoring-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.tp-scoring-bar-value {
  flex: none;
  width: 2.75rem;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .tp-scoring-bar-fill {
    animation: none;
  }
}
.tp-items {
  display: grid;
  gap: 1rem;
}
.tp-item {
  border-radius: 1rem;
  background: #f8f9fa;
  padding: 1.5rem;
  transition: background-color 0.18s ease;
}
.tp-item:hover {
  background: #f1f2f4;
}
.tp-item > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}
.tp-item-title {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.tp-item h3 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.tp-item-title > span {
  border-radius: 99px;
  background: #eceff3;
  padding: 0.25rem 0.6rem;
  color: #667085;
  font-size: 0.72rem;
}
.tp-item-title > .tp-compliance-status {
  font-weight: 650;
}
.tp-item-title > .tp-compliance-status.is-violation {
  background: #fee2e2;
  color: #b42318;
}
.tp-item-title > .tp-compliance-status.is-warning {
  background: #fff7d6;
  color: #8a5700;
}
.tp-score {
  flex: none;
  border-radius: 0.6rem;
  background: #fff;
  padding: 0.3rem 0.6rem;
  color: var(--tp-primary);
  font-size: 0.68rem;
  font-weight: 600;
}
.tp-score b {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.tp-item-content {
  margin-top: 0.85rem;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.7;
}
.tp-item-content table {
  width: 100%;
  margin-top: 0.6rem;
  border-collapse: collapse;
  background: #fff;
}
.tp-item-content th,
.tp-item-content td {
  border: 1px solid #e2e7ee;
  padding: 0.45rem;
  text-align: left;
}
.tp-item-rule {
  margin-top: 0.65rem;
  color: #98a2b3;
  font-size: 0.75rem;
  line-height: 1.65;
}
.tp-item-rule.is-note {
  color: #ff851b;
  font-weight: 600;
}
.tp-compliance-rule {
  max-width: 75ch;
  margin-top: 0.7rem;
}
.tp-compliance-rule h4 {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
}
.tp-compliance-rule p {
  margin-top: 0.25rem;
  color: #667085;
  font-size: 0.72rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.tp-evidence-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.tp-evidence {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  border-radius: 99px;
  background: #eff6ff;
  padding: 0.32rem 0.7rem;
  color: var(--tp-primary);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.tp-evidence-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  object-fit: contain;
}
.tp-evidence:hover {
  background: #dcecff;
}
.tp-evidence.is-selected {
  background: #fff7e6;
  color: #fa8c16;
}
.tp-panel-empty {
  display: flex;
  min-height: 16rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #98a2b3;
  text-align: center;
}
.tp-panel-empty strong {
  margin-top: 0.7rem;
  color: #475467;
  font-size: 0.85rem;
}
.tp-panel-empty p {
  margin-top: 0.3rem;
  font-size: 0.75rem;
}
.tp-panel-empty.is-success {
  color: #059669;
}
.tp-panel-empty.is-success strong {
  color: #047857;
}

@keyframes tp-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}
@keyframes tp-modal-out {
  to {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}
@keyframes tp-backdrop-out {
  to {
    opacity: 0;
  }
}
@keyframes tp-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes tp-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}
@keyframes tp-pulse {
  50% {
    opacity: 0.35;
  }
}
@keyframes tp-highlight-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
@media (min-width: 1360px) {
  .tp-home {
    width: min(100%, 1720px);
    padding-top: clamp(18px, 2.2vh, 28px);
  }
  .tp-home-hero,
  .tp-home-delivery {
    width: min(100%, 1560px);
    margin-right: auto;
    margin-left: auto;
  }
  .tp-home-hero {
    height: clamp(250px, 28vh, 300px);
    min-height: clamp(250px, 28vh, 300px);
    max-height: clamp(250px, 28vh, 300px);
  }
  .tp-hero-content {
    padding-top: clamp(28px, 3.7vh, 38px);
    padding-bottom: 24px;
    padding-left: 38px;
  }
  .tp-hero-content h1 {
    margin-top: 8px;
    font-size: clamp(30px, 2vw, 36px);
  }
  .tp-hero-intro {
    margin-top: 11px;
    font-size: 13px;
  }
  .tp-hero-actions {
    margin-top: 18px;
  }
  .tp-hero-actions .tp-button {
    min-height: 44px;
  }
  .tp-hero-meta {
    margin-top: 8px;
    font-size: 12px;
  }
  .tp-home-delivery {
    margin-top: clamp(28px, 3.2vh, 36px);
  }
  .tp-home-value-heading {
    margin-bottom: 18px;
  }
  .tp-home-value-heading h2 {
    font-size: 25px;
  }
  .tp-value-grid {
    gap: 16px;
    padding-top: 42px;
  }
  .tp-value-card {
    min-height: 188px;
    padding: 78px 22px 22px;
  }
  .tp-value-card strong {
    font-size: 18px;
  }
  .tp-value-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
  }
  .tp-value-card-art {
    top: -42px;
    left: 14px;
    width: 104px;
    height: 104px;
  }
}
@media (min-width: 1121px) and (max-width: 1450px) {
  .tp-value-card {
    min-height: 160px;
    padding: 62px 16px 16px;
  }
  .tp-value-card strong {
    font-size: 15px;
  }
  .tp-value-card p {
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.55;
  }
  .tp-value-card-art {
    top: -34px;
    left: 10px;
    width: 84px;
    height: 84px;
  }
}
@media (max-width: 1120px) {
  .tp-home-hero {
    height: 208px;
    min-height: 208px;
    max-height: 208px;
  }
  .tp-home-hero-image {
    object-position: 64% center;
  }
  .tp-hero-content {
    width: 72%;
    padding-left: 23px;
  }
  .tp-hero-intro {
    max-width: 84%;
  }
  .tp-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 34px;
  }
  .tp-value-card {
    min-height: 160px;
    padding: 62px 18px 16px;
  }
}
@media (max-width: 960px) {
  .tp-home-hero {
    height: 238px;
    min-height: 238px;
    max-height: 238px;
  }
  .tp-home-hero-image {
    opacity: 0.28;
    object-position: 74% center;
  }
  .tp-hero-content {
    width: 91%;
    padding: 18px;
  }
  .tp-hero-content h1 {
    max-width: 92%;
    font-size: 24px;
  }
  .tp-hero-intro {
    max-width: 88%;
    font-size: 11px;
  }
  .tp-home-value-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tp-value-grid {
    grid-template-columns: 1fr;
  }
  .tp-value-card {
    min-height: 160px;
  }
  .tp-list-header {
    align-items: stretch;
    flex-direction: column;
  }
  .tp-list-actions {
    width: 100%;
  }
  .tp-search {
    width: 100%;
    flex: 1;
  }
  .tp-workbench {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    gap: 1rem;
  }
  .tp-preview,
  .tp-results {
    min-height: 34rem;
    flex: none;
  }
  .tp-resizer {
    display: none;
  }
  .tp-detail-page {
    overflow-y: auto;
  }
  .tp-conclusion {
    flex: none;
  }
  .tp-conclusion-top {
    flex-wrap: wrap;
  }
  .tp-conclusion-text-wrap {
    flex: 1 1 100%;
  }
  .tp-conclusion-stats {
    padding-top: 0.5rem;
  }
  .tp-conclusion-stats > div:first-child {
    padding-left: 0;
  }
}
@media (max-width: 640px) {
  .tp-home-hero {
    height: 270px;
    min-height: 270px;
    max-height: 270px;
  }
  .tp-home-hero-image {
    opacity: 0.18;
  }
  .tp-hero-content {
    width: 100%;
  }
  .tp-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tp-hero-actions .tp-button {
    width: 100%;
  }
  .tp-hero-history {
    top: 12px;
    right: 12px;
  }
  .tp-delivery-proof {
    flex-wrap: wrap;
  }
  .tp-value-card {
    min-height: 170px;
    padding: 60px 18px 16px;
  }
  .tp-value-card-art {
    top: -32px;
    left: 10px;
    width: 80px;
    height: 80px;
  }
  .tp-value-card p {
    font-size: 12px;
  }
  .tp-list-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tp-list-actions .tp-button {
    width: 100%;
  }
  .tp-table-scroll {
    padding: 0 0.8rem 0.8rem;
    border-top-width: 0.8rem;
  }
  .tp-menu-panel {
    right: -0.5rem;
    width: 12rem;
  }
  .tp-detail-actions {
    gap: 0.25rem;
  }
  .tp-conclusion {
    padding: 0.6rem 1rem;
  }
  .tp-conclusion-stats {
    flex-wrap: wrap;
  }
  .tp-conclusion-stats > div {
    flex: 1 1 40%;
    padding: 0.2rem 1rem;
  }
  .tp-preview,
  .tp-results {
    min-height: 29rem;
  }
  .tp-preview-toolbar {
    grid-template-columns: auto 1fr auto;
    gap: 0.4rem;
  }
  .tp-page-controls {
    justify-self: end;
  }
  .tp-page-controls > span:first-child,
  .tp-page-total {
    display: none;
  }
  .tp-tabs {
    gap: 1.3rem;
    padding: 0 1rem;
  }
  .tp-panel {
    padding: 1rem;
  }
  .tp-scoring-breakdown {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .tp-scoring-total {
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid #eef1f5;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  .tp-modal[open],
  .tp-menu-panel,
  .tp-status.is-active i,
  .tp-highlight {
    animation: none;
  }
  .tp-button,
  .tp-icon-button,
  .tp-item,
  .tp-evidence,
  .tp-page,
  .tp-value-card,
  .tp-hero-history {
    transition: none;
  }
  .tp-value-card:hover {
    transform: none;
  }
}
