/*
 * OG Image Preview Tool — Styles
 * ================================
 * Design philosophy: utility-first, minimal, accessible.
 *
 * - No CSS framework — just custom properties and a few reusable classes.
 * - Dark theme by default (most dev tools are dark) with OS-level override.
 * - Mobile-first: base styles are for narrow screens, wider layouts via @media.
 * - All colors meet WCAG AA contrast ratios.
 * - Status indicators use icons + text (not color alone) for accessibility.
 */

/* ============================================================
   CUSTOM PROPERTIES (Design Tokens)
   Change these to re-theme the entire app.
   ============================================================ */
:root {
  /* Colors — dark theme */
  --color-bg: #0f1117;
  --color-surface: #1a1d27;
  --color-surface-raised: #242734;
  --color-border: #2e3245;
  --color-border-hover: #454b66;
  --color-text: #e1e4ed;
  --color-text-muted: #8b90a5;
  --color-text-heading: #f0f2f8;
  --color-primary: #5b8af5;
  --color-primary-hover: #7aa2f7;
  --color-success: #4ade80;
  --color-warning: #facc15;
  --color-error: #f87171;
  --color-info: #60a5fa;

  /* Spacing — 4px base grid */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --line-height: 1.6;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* Light theme override — respects OS preference */
@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #f5f6fa;
    --color-surface: #ffffff;
    --color-surface-raised: #f0f1f5;
    --color-border: #d4d7e0;
    --color-border-hover: #b0b5c5;
    --color-text: #1a1d27;
    --color-text-muted: #5c6178;
    --color-text-heading: #0f1117;
    --color-primary: #3b6fd9;
    --color-primary-hover: #2d5bbf;
    --color-success: #16a34a;
    --color-warning: #ca8a04;
    --color-error: #dc2626;
    --color-info: #2563eb;
  }
}

/* ============================================================
   RESET & BASE
   Minimal reset — just enough to normalize across browsers.
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;

  /* Subtle gradient gives depth without being distracting */
  background-image: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    color-mix(in srgb, var(--color-bg) 95%, var(--color-primary)) 100%
  );
  background-attachment: fixed;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-surface-raised);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Screen-reader only utility — hides visually but remains accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT
   Simple centered column with comfortable reading width.
   ============================================================ */
.app-header,
main,
.app-footer {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  text-align: center;
}

.app-header h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  font-size: var(--text-base);
}

/* ============================================================
   INPUT SECTION
   The URL input and proxy configuration area.
   ============================================================ */
.input-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.url-form {
  width: 100%;
}

.input-row {
  display: flex;
  gap: var(--space-sm);
}

.url-input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

.url-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.url-input::placeholder {
  color: var(--color-text-muted);
}

.input-help {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
}

/* ============================================================
   EXAMPLE SELECTOR
   Lets users load a built-in example to see a perfect setup
   and learn what each tag does.
   ============================================================ */
.example-selector {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.example-btn {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.example-btn:hover {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
}

.example-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: color-mix(in srgb, var(--color-success) 15%, transparent);
  color: var(--color-success);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.example-btn strong {
  color: var(--color-text-heading);
}

.example-btn-desc {
  display: block;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.example-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-left: calc(24px + var(--space-sm));
}

.example-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.btn-primary {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn-small {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
}

.btn-small:hover {
  background: var(--color-border);
}

/* Loading spinner — pure CSS, no images or libraries needed */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ============================================================
   PROXY CONFIGURATION
   Collapsed by default using <details>/<summary> — no JS needed.
   ============================================================ */
.proxy-config {
  margin-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.proxy-config summary {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  cursor: pointer;
  user-select: none;
}

.proxy-config summary:hover {
  color: var(--color-text);
}

.proxy-options {
  margin-top: var(--space-md);
}

.proxy-explanation {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.proxy-options fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--color-primary);
}

.proxy-badge {
  display: inline-block;
  padding: 1px 8px;
  font-size: 0.75rem;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  margin-left: var(--space-xs);
}

.custom-proxy-field {
  margin-top: var(--space-sm);
  margin-left: var(--space-lg);
}

/* ============================================================
   ERROR DISPLAY
   A dismissible banner for showing fetch/parse errors.
   ============================================================ */
.error-section {
  margin-bottom: var(--space-lg);
}

.error-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: color-mix(in srgb, var(--color-error) 10%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-error) 30%, var(--color-border));
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-error);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.error-title {
  font-weight: 600;
  color: var(--color-error);
}

.error-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.error-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: 0 var(--space-xs);
  line-height: 1;
}

.error-dismiss:hover {
  color: var(--color-text);
}

/* ============================================================
   META TAG SUMMARY
   Grid showing detected OG tags and their values.
   ============================================================ */
.meta-summary {
  margin-bottom: var(--space-lg);
}

.meta-summary h2 {
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
}

.meta-tags-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

/* Individual meta tag row */
.meta-tag-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.meta-tag-name {
  font-family: var(--font-mono);
  color: var(--color-primary);
  min-width: 160px;
  flex-shrink: 0;
}

.meta-tag-value {
  color: var(--color-text);
  word-break: break-all;
  flex: 1;
}

.meta-tag-value.missing {
  color: var(--color-warning);
  font-style: italic;
}

.meta-tag-value.error-value {
  color: var(--color-error);
  font-style: italic;
}

/* Educational explanation shown below a tag when viewing a built-in example.
   Uses flex-basis: 100% to force it onto its own line within the flex row. */
.meta-tag-explain {
  flex-basis: 100%;
  font-size: 0.8rem;
  color: var(--color-info);
  background: color-mix(in srgb, var(--color-info) 8%, transparent);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-top: calc(-1 * var(--space-sm));
  line-height: 1.5;
}

/* Status badge used in meta tag rows */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.status-badge.ok {
  background: color-mix(in srgb, var(--color-success) 15%, transparent);
  color: var(--color-success);
}

.status-badge.warn {
  background: color-mix(in srgb, var(--color-warning) 15%, transparent);
  color: var(--color-warning);
}

.status-badge.fail {
  background: color-mix(in srgb, var(--color-error) 15%, transparent);
  color: var(--color-error);
}

/* ============================================================
   PLATFORM PREVIEWS
   Grid of cards, each simulating one platform's link preview.
   ============================================================ */
.previews-section {
  margin-bottom: var(--space-2xl);
}

.previews-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.previews-header h2 {
  font-size: var(--text-lg);
  color: var(--color-text-heading);
}

/* Tier filter tabs */
.tier-tabs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.tier-tab {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tier-tab:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

.tier-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Preview grid — responsive using CSS Grid auto-fit */
.previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

/* Individual platform preview card */
.preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.preview-card:hover {
  border-color: var(--color-border-hover);
}

/* Card header — platform name + tier badge + status icon */
.preview-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.platform-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.platform-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-heading);
}

.tier-badge {
  font-size: 0.6875rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  margin-left: auto;
}

.card-status-icon {
  font-size: var(--text-sm);
  flex-shrink: 0;
}

/*
 * Preview image container — this is where the magic happens.
 * We use a padding-bottom trick to maintain the platform's
 * exact aspect ratio regardless of actual image dimensions.
 * The image is object-fit: cover to simulate center-cropping.
 */
.preview-image-container {
  position: relative;
  width: 100%;
  background: var(--color-surface-raised);
  overflow: hidden;
}

/* Default aspect ratio is 1.91:1 (most common across platforms) */
.preview-image-container::before {
  content: '';
  display: block;
  padding-bottom: 52.36%; /* 1/1.91 * 100 = 52.36% */
}

/* 1:1 aspect ratio for Twitter summary cards */
.preview-image-container.ratio-1-1::before {
  padding-bottom: 100%;
}

/* 16:9 for platforms that use it */
.preview-image-container.ratio-16-9::before {
  padding-bottom: 56.25%;
}

.preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Simulates center-crop behavior */
}

/* Placeholder when no image is available */
.preview-no-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  gap: var(--space-sm);
}

.preview-no-image-icon {
  font-size: 2rem;
  opacity: 0.5;
}

/* Preview text content — title + description + domain */
.preview-text {
  padding: var(--space-sm) var(--space-md);
}

.preview-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-domain {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Warnings shown below the preview */
.preview-warnings {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-warning {
  font-size: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.preview-warning.success {
  color: var(--color-success);
}

.preview-warning.warn {
  color: var(--color-warning);
}

.preview-warning.error {
  color: var(--color-error);
}

.preview-warning-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   COPY TEXT REPORT
   Button + hint row at the bottom of the previews section.
   Copies a plain-text version of the results for pasting into
   Claude Code, GitHub issues, Slack, etc.
   ============================================================ */
.copy-report-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.btn-copy-report {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-report:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, var(--color-surface));
}

.copy-report-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex: 1;
  min-width: 200px;
}

/* ============================================================
   SUGGESTIONS SECTION
   Copy-paste meta tag code block.
   ============================================================ */
.suggestions-section {
  margin-bottom: var(--space-2xl);
}

.suggestions-section h2 {
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.suggestions-intro {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.code-block-wrapper {
  position: relative;
}

.code-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-block-wrapper .btn-small {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.app-footer {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-note {
  margin-top: var(--space-sm);
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: var(--space-xs);
  border: 1px solid var(--color-border);
}

.author-link {
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   PLATFORM-SPECIFIC PREVIEW STYLES
   Some platforms have distinctive visual treatments.
   These classes are added by JS based on the platform ID.
   ============================================================ */

/* Discord: colored left border + embed background */
.preview-card[data-platform="discord"] .preview-text {
  border-left: 4px solid var(--color-primary);
  margin: var(--space-sm);
  padding-left: var(--space-md);
  background: var(--color-surface-raised);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Slack: subtle left border accent */
.preview-card[data-platform="slack"] .preview-text {
  border-left: 3px solid var(--color-text-muted);
  padding-left: var(--space-md);
  margin: var(--space-sm);
}

/* iMessage: rounded bubble look */
.preview-card[data-platform="imessage"] {
  border-radius: var(--radius-lg);
}

/* WhatsApp: green-tinted accent */
.preview-card[data-platform="whatsapp"] .preview-card-header {
  border-bottom-color: #25d366;
}

/* ============================================================
   RESPONSIVE DESIGN
   Mobile-first: the base styles work on narrow screens.
   These media queries enhance for wider viewports.
   ============================================================ */

/* Stack the input and button on very narrow screens */
@media (max-width: 480px) {
  .input-row {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }

  .previews-grid {
    grid-template-columns: 1fr;
  }

  .tier-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tier-tabs::-webkit-scrollbar {
    display: none;
  }

  .meta-tag-row {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .meta-tag-name {
    min-width: auto;
  }
}

/* Medium screens */
@media (min-width: 768px) {
  .meta-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   ANIMATIONS
   Minimal motion — respects prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .preview-card {
    animation: fadeIn 0.3s ease both;
  }

  /* Stagger animation for cards using custom property set by JS */
  .preview-card {
    animation-delay: calc(var(--card-index, 0) * 50ms);
  }
}

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

/* Focus-visible for keyboard users only (not mouse clicks) */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   PRINT STYLES
   In case someone wants to print/PDF their preview results.
   ============================================================ */
@media print {
  .input-section,
  .proxy-config,
  .tier-tabs,
  .app-footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .preview-card {
    break-inside: avoid;
  }
}
