/* file-comparison — generated by scripts/tools-v2/build-tool-css.js from
   views/v1-backup/tools-file-comparison.ejs. DO NOT EDIT BY HAND: npm run test:tools-page-v2
   regenerates it and fails if this file has drifted.

   The shared vocabulary (.btn-primary, .form-input, .tool-card, .badge-*,
   .toast-*, #map, headings) is NOT here — public/css/tools-page-v2.css
   declares it once for every tool page. What is left is this tool's own,
   with its colour literals resolved to theme tokens and every selector
   scoped to the tool body so nothing reaches the shared header. */

.tpv2-body .floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: var(--sk-info-soft);
  border: 1px solid color-mix(in srgb, var(--sk-info) 30%, transparent);
  border-radius: 9999px;
  color: var(--sk-info-text);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tpv2-body .wizard-container {
  background: var(--sk-surface);
  border: 1px solid var(--sk-border);
  border-radius: 12px;
  overflow: hidden;
}

.tpv2-body .wizard-header {
  display: flex;
  background: var(--sk-bg);
  border-bottom: 1px solid var(--sk-border);
}

.tpv2-body .wizard-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--sk-muted);
  position: relative;
}

.tpv2-body .wizard-step.active {
  color: var(--sk-text);
  background: var(--sk-info-soft);
}

.tpv2-body .wizard-step.completed {
  color: var(--sk-success-text);
}

.tpv2-body .wizard-step::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent var(--sk-border);
}

.tpv2-body .wizard-step:last-child::after {
  display: none;
}

.tpv2-body .step-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sk-surface);
  border: 2px solid var(--sk-border);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
}

.tpv2-body .wizard-step.active .step-number {
  background: var(--sk-info);
  border-color: var(--sk-info);
  color: white;
}

.tpv2-body .wizard-step.completed .step-number {
  background: var(--sk-success);
  border-color: var(--sk-success);
  color: white;
}

.tpv2-body .step-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.tpv2-body .wizard-content {
  padding: 2rem;
}

.tpv2-body .wizard-panel {
  display: none;
}

.tpv2-body .wizard-panel.active {
  display: block;
}

.tpv2-body .form-group {
  margin-bottom: 1.5rem;
}

.tpv2-body .map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tpv2-body .map-card {
  background: var(--sk-surface);
  border: 2px solid var(--sk-border);
  border-radius: 10px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tpv2-body .map-card:hover {
  border-color: var(--sk-info);
  transform: translateY(-2px);
}

.tpv2-body .map-card.selected {
  border-color: var(--sk-info);
  background: var(--sk-info-soft);
}

.tpv2-body .map-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--sk-text);
}

.tpv2-body .map-card p {
  font-size: 0.85rem;
  color: var(--sk-muted);
}

.tpv2-body .file-list-container {
  background: var(--sk-surface);
  border: 1px solid var(--sk-border);
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.tpv2-body .file-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--sk-bg);
  border-bottom: 1px solid var(--sk-border);
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--sk-muted);
}

.tpv2-body .file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--sk-border);
  cursor: pointer;
  transition: background 0.15s;
}

.tpv2-body .file-item:hover {
  background: var(--sk-surface);
}

.tpv2-body .file-item:last-child {
  border-bottom: none;
}

.tpv2-body .file-item.selected {
  background: var(--sk-info-soft);
}

.tpv2-body .file-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--sk-info);
}

.tpv2-body .file-icon {
  color: var(--sk-info-text);
}

.tpv2-body .file-name {
  flex: 1;
  font-weight: 500;
  color: var(--sk-text);
}

.tpv2-body .file-path {
  font-size: 0.75rem;
  color: var(--sk-muted);
}

.tpv2-body .file-status {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.tpv2-body .file-status.pending {
  background: var(--sk-warning-soft);
  color: var(--sk-warning-text);
}

.tpv2-body .diff-container {
  background: var(--sk-surface);
  border: 1px solid var(--sk-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.tpv2-body .diff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--sk-bg);
  border-bottom: 1px solid var(--sk-border);
}

.tpv2-body .diff-filename {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sk-text);
}

.tpv2-body .diff-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.tpv2-body .diff-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tpv2-body .diff-stat.additions {
  color: var(--sk-success-text);
}

.tpv2-body .diff-stat.changes {
  color: var(--sk-warning-text);
}

.tpv2-body .diff-stat.custom {
  color: var(--sk-info-text);
}

.tpv2-body .diff-section {
  border-bottom: 1px solid var(--sk-border);
}

.tpv2-body .diff-section:last-child {
  border-bottom: none;
}

.tpv2-body .diff-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--sk-surface);
  cursor: pointer;
}

.tpv2-body .diff-section-header:hover {
  background: var(--sk-surface);
}

.tpv2-body .diff-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--sk-text);
}

.tpv2-body .diff-section-count {
  background: var(--sk-border-2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.tpv2-body .diff-section-content {
  max-height: 400px;
  overflow-y: auto;
}

.tpv2-body .diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--sk-border);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
}

.tpv2-body .diff-item:last-child {
  border-bottom: none;
}

.tpv2-body .diff-item.addition {
  background: var(--sk-success-soft);
  border-left: 3px solid var(--sk-success);
}

.tpv2-body .diff-item.change {
  background: var(--sk-warning-soft);
  border-left: 3px solid var(--sk-warning);
}

.tpv2-body .diff-item-content {
  flex: 1;
  min-width: 0;
}

.tpv2-body .diff-item-name {
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 0.5rem;
}

.tpv2-body .diff-item-preview {
  background: var(--sk-bg);
  padding: 0.5rem;
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre;
  color: var(--sk-muted);
  font-size: 0.8rem;
  max-height: 150px;
  overflow-y: auto;
}

.tpv2-body .diff-value-change {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.tpv2-body .diff-value-old {
  color: var(--sk-danger-text);
  text-decoration: line-through;
}

.tpv2-body .diff-value-new {
  color: var(--sk-success-text);
}

.tpv2-body .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tpv2-body .btn-primary:hover:not(:disabled) {
  background: var(--sk-info);
}

.tpv2-body .btn-secondary:hover:not(:disabled) {
  background: var(--sk-border-2);
  border-color: var(--sk-info);
}

.tpv2-body .btn-success {
  background: var(--sk-success);
  color: white;
}

.tpv2-body .btn-success:hover:not(:disabled) {
  background: var(--sk-success);
}

.tpv2-body .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tpv2-body .btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tpv2-body .actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sk-border);
}

.tpv2-body .summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tpv2-body .summary-card {
  background: var(--sk-surface);
  border: 1px solid var(--sk-border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.tpv2-body .summary-card .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sk-info-text);
}

.tpv2-body .summary-card .label {
  font-size: 0.85rem;
  color: var(--sk-muted);
  margin-top: 0.25rem;
}

.tpv2-body .summary-card.success .value {
  color: var(--sk-success-text);
}

.tpv2-body .summary-card.warning .value {
  color: var(--sk-warning-text);
}

.tpv2-body .summary-card.info .value {
  color: var(--sk-info-text);
}

.tpv2-body .pc-only-badge {
  padding: 0.15rem 0.4rem;
  background: var(--sk-info-soft);
  border: 1px solid color-mix(in srgb, var(--sk-info) 30%, transparent);
  color: var(--sk-info-text);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.tpv2-body .badge-comparable {
  padding: 0.15rem 0.4rem;
  background: var(--sk-success-soft);
  border: 1px solid color-mix(in srgb, var(--sk-success) 30%, transparent);
  color: var(--sk-success-text);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.tpv2-body .badge-custom {
  padding: 0.15rem 0.4rem;
  background: var(--sk-warning-soft);
  border: 1px solid color-mix(in srgb, var(--sk-warning) 30%, transparent);
  color: var(--sk-warning-text);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.tpv2-body .badge-user-only {
  padding: 0.15rem 0.4rem;
  background: var(--sk-primary-soft);
  border: 1px solid color-mix(in srgb, var(--sk-primary) 30%, transparent);
  color: var(--sk-primary-text);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.tpv2-body .file-badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tpv2-body .file-meta {
  font-size: 0.8rem;
  color: var(--sk-muted);
  min-width: 60px;
  text-align: right;
}

.tpv2-body .folder-item {
  cursor: pointer;
}

.tpv2-body .folder-item:hover {
  background: var(--sk-warning-soft);
}

.tpv2-body .empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--sk-muted);
}

.tpv2-body .empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.tpv2-body .loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sk-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  gap: 1rem;
}

.tpv2-body .loading-overlay.hidden {
  display: none;
}

.tpv2-body .spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--sk-border);
  border-top-color: var(--sk-info);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.tpv2-body .loading-text {
  color: var(--sk-muted);
}

.tpv2-body .toast-container {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@keyframes slideIn {
  from { transform: translateX(100%);
          opacity: 0; }
  to { transform: translateX(0);
          opacity: 1; }
}

.tpv2-body .toast.success {
  border-color: var(--sk-success);
}

.tpv2-body .toast.error {
  border-color: var(--sk-danger);
}

.tpv2-body .toast.success i {
  color: var(--sk-success-text);
}

.tpv2-body .toast.error i {
  color: var(--sk-danger-text);
}

.tpv2-body .auth-required {
  background: linear-gradient(135deg, var(--sk-info-soft), var(--sk-info-soft));
  border: 1px solid color-mix(in srgb, var(--sk-info) 30%, transparent);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
}

.tpv2-body .auth-required i {
  font-size: 3rem;
  color: var(--sk-info-text);
  margin-bottom: 1rem;
}

.tpv2-body .auth-required h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--sk-text);
}

.tpv2-body .auth-required p {
  color: var(--sk-muted);
  margin-bottom: 1.5rem;
}

.tpv2-body .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--sk-info);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.tpv2-body .auth-btn:hover {
  background: var(--sk-info);
  transform: translateY(-2px);
}

@media screen and (max-width: 1024px) {
.tpv2-body main .grid {
  display: block !important;
}

.tpv2-body main .grid > * {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 1rem !important;
}

.tpv2-body [class*="col-span"] {
  grid-column: span 1 !important;
}

.tpv2-body main .flex {
  flex-direction: column !important;
  align-items: stretch !important;
}

.tpv2-body .floating-badge,
.tpv2-body .badge-muted,
.tpv2-body .diff-stats,
.tpv2-body .file-badges,
.tpv2-body .file-item,
.tpv2-body .flex.flex-wrap.gap-2,
.tpv2-body .flex.flex-wrap.gap-3,
.tpv2-body .flex.items-center.gap-2,
.tpv2-body .flex.items-center.gap-1,
.tpv2-body .wizard-header,
.tpv2-body .map-card {
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
}

@media screen and (max-width: 768px) {
.tpv2-body main {
  padding: 0.5rem !important;
}

.tpv2-body .summary-grid {
  display: block !important;
}

.tpv2-body .summary-grid > * {
  width: 100% !important;
  margin-bottom: 0.5rem !important;
}
}

@media (max-width: 479px) {
.tpv2-body .page-container,
.tpv2-body main {
  padding: 0.5rem !important;
}

.tpv2-body .floating-badge {
  padding: 0.2rem 0.5rem;
  font-size: 0.6rem;
}

.tpv2-body .wizard-header {
  flex-direction: column;
  gap: 0;
}

.tpv2-body .wizard-step {
  padding: 0.75rem 1rem;
  justify-content: center;
}

.tpv2-body .wizard-step::after {
  display: none;
}

.tpv2-body .step-number {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}

.tpv2-body .step-label {
  display: none;
}

.tpv2-body .wizard-content {
  padding: 1rem;
}

.tpv2-body .map-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.tpv2-body .map-card {
  padding: 1rem;
}

.tpv2-body .map-card h4 {
  font-size: 0.95rem;
}

.tpv2-body .map-card p {
  font-size: 0.8rem;
}

.tpv2-body .file-list-container {
  max-height: 300px;
}

.tpv2-body .file-item {
  padding: 0.6rem 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tpv2-body .file-name {
  font-size: 0.85rem;
  flex-basis: calc(100% - 80px);
}

.tpv2-body .file-badges {
  order: 3;
  flex-basis: 100%;
  margin-top: 0.25rem;
  margin-left: 26px;
}

.tpv2-body .file-meta {
  font-size: 0.7rem;
  min-width: 50px;
}

.tpv2-body .badge-comparable,
.tpv2-body .badge-custom,
.tpv2-body .badge-user-only,
.tpv2-body .pc-only-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.3rem;
}

.tpv2-body .summary-grid {
  display: block !important;
  gap: 0.5rem;
}

.tpv2-body .summary-grid > * {
  width: 100% !important;
  margin-bottom: 0.5rem;
}

.tpv2-body .summary-card {
  padding: 0.75rem;
}

.tpv2-body .summary-card .value {
  font-size: 1.5rem;
}

.tpv2-body .summary-card .label {
  font-size: 0.7rem;
}

.tpv2-body .diff-header {
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
}

.tpv2-body .diff-filename {
  font-size: 0.85rem;
}

.tpv2-body .diff-stats {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.tpv2-body .diff-section-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
}

.tpv2-body .diff-section-title {
  font-size: 0.85rem;
}

.tpv2-body .diff-item {
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
}

.tpv2-body .diff-item-preview {
  font-size: 0.65rem;
  max-height: 100px;
}

.tpv2-body .actions-bar {
  flex-direction: column;
  gap: 0.75rem;
}

.tpv2-body .btn-group {
  width: 100%;
  flex-direction: column;
}

.tpv2-body .btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.tpv2-body .auth-required {
  padding: 1.5rem;
}

.tpv2-body .auth-required i {
  font-size: 2rem;
}

.tpv2-body .auth-required h2 {
  font-size: 1.15rem;
}
}

@media (min-width: 480px) and (max-width: 639px) {
.tpv2-body .wizard-header {
  flex-direction: column;
}

.tpv2-body .wizard-step {
  padding: 0.75rem 1rem;
}

.tpv2-body .wizard-step::after {
  display: none;
}

.tpv2-body .step-label {
  font-size: 0.8rem;
}

.tpv2-body .wizard-content {
  padding: 1.25rem;
}

.tpv2-body .map-grid {
  grid-template-columns: 1fr;
}

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

.tpv2-body .diff-header {
  flex-direction: column;
  gap: 0.75rem;
}

.tpv2-body .actions-bar {
  flex-direction: column;
  gap: 0.75rem;
}

.tpv2-body .btn-group {
  width: 100%;
}

.tpv2-body .btn {
  flex: 1;
}
}

@media (min-width: 640px) and (max-width: 767px) {
.tpv2-body .wizard-header {
  flex-direction: row;
}

.tpv2-body .wizard-step {
  padding: 0.85rem 1rem;
}

.tpv2-body .wizard-step::after {
  display: block;
}

.tpv2-body .step-label {
  font-size: 0.8rem;
}

.tpv2-body .map-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tpv2-body .summary-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tpv2-body .diff-header {
  flex-direction: row;
}

.tpv2-body .diff-stats {
  flex-direction: row;
}

.tpv2-body .actions-bar {
  flex-direction: row;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.tpv2-body .wizard-content {
  padding: 1.75rem;
}

.tpv2-body .map-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tpv2-body .file-list-container {
  max-height: 450px;
}

.tpv2-body .diff-section-content {
  max-height: 450px;
}
}

@media (min-width: 1024px) and (max-width: 1279px) {
.tpv2-body main {
  max-width: 960px;
}

.tpv2-body .map-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tpv2-body .file-list-container {
  max-height: 500px;
}

.tpv2-body .diff-section-content {
  max-height: 500px;
}
}

@media (min-width: 1280px) {
.tpv2-body main {
  max-width: 1200px;
}

.tpv2-body .wizard-content {
  padding: 2.5rem;
}

.tpv2-body .map-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tpv2-body .map-card {
  padding: 1.5rem;
}

.tpv2-body .file-list-container {
  max-height: 550px;
}

.tpv2-body .file-item {
  padding: 0.85rem 1.25rem;
}

.tpv2-body .summary-grid {
  gap: 1.5rem;
}

.tpv2-body .summary-card {
  padding: 1.25rem;
}

.tpv2-body .summary-card .value {
  font-size: 2.5rem;
}

.tpv2-body .diff-section-content {
  max-height: 550px;
}

.tpv2-body .diff-item-preview {
  max-height: 200px;
}
}

@media (min-width: 1536px) {
.tpv2-body main {
  max-width: 1400px;
}

.tpv2-body .wizard-step {
  padding: 1.25rem 2rem;
}

.tpv2-body .step-number {
  width: 32px;
  height: 32px;
}

.tpv2-body .step-label {
  font-size: 1rem;
}

.tpv2-body .wizard-content {
  padding: 3rem;
}

.tpv2-body .file-list-container {
  max-height: 600px;
}
}

@media (hover: none) and (pointer: coarse) {
.tpv2-body .file-item {
  min-height: 48px;
}

.tpv2-body .btn {
  min-height: 44px;
}

.tpv2-body .file-checkbox {
  width: 22px;
  height: 22px;
}

.tpv2-body .map-card {
  min-height: 80px;
}

.tpv2-body .folder-item:active {
  background: var(--sk-warning-soft);
}

.tpv2-body .file-item:active {
  background: var(--sk-info-soft);
}
}

@media (max-height: 500px) and (orientation: landscape) {
.tpv2-body .wizard-header {
  flex-direction: row;
}

.tpv2-body .wizard-step {
  padding: 0.5rem 0.75rem;
}

.tpv2-body .step-label {
  display: block;
  font-size: 0.7rem;
}

.tpv2-body .wizard-content {
  padding: 1rem;
}

.tpv2-body .file-list-container {
  max-height: 200px;
}

.tpv2-body .summary-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tpv2-body .summary-card .value {
  font-size: 1.25rem;
}

.tpv2-body .loading-overlay {
  flex-direction: row;
  gap: 1rem;
}

.tpv2-body .spinner {
  width: 32px;
  height: 32px;
}
}

@media print {
.tpv2-body .wizard-header,
.tpv2-body .actions-bar,
.tpv2-body .btn-group,
.tpv2-body .loading-overlay,
.tpv2-body .toast-container {
  display: none !important;
}

.tpv2-body .wizard-container {
  border: none;
  box-shadow: none;
}

.tpv2-body .diff-container {
  break-inside: avoid;
}
}

@media (prefers-contrast: high) {
.tpv2-body .wizard-container,
.tpv2-body .file-list-container,
.tpv2-body .diff-container,
.tpv2-body .summary-card {
  border-width: 2px;
}

.tpv2-body .btn {
  border: 2px solid currentColor;
}

.tpv2-body .badge-comparable,
.tpv2-body .badge-custom,
.tpv2-body .badge-user-only,
.tpv2-body .pc-only-badge {
  border-width: 2px;
}
}

@media (prefers-reduced-motion: reduce) {
.tpv2-body .spinner {
  animation: none;
}

.tpv2-body * {
  transition-duration: 0.01ms !important;
}
}
