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

:root {
  --primary: #E84118;
  --primary-dark: #c73510;
  --primary-light: #fff1ee;
  --text: #1a1a1a;
  --text-secondary: #666;
  --border: #e5e5e5;
  --bg: #f5f5f5;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; display: block; object-fit: contain; }

.nav { display: flex; gap: 24px; flex: 1; justify-content: center; }
.nav a { text-decoration: none; color: var(--text-secondary); font-size: 13px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }

.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 600; font-size: 13px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  padding: 8px 14px; border-radius: 6px;
  transition: all .2s;
}
.btn-phone:hover { border-color: var(--primary); color: var(--primary); }
.btn-consult {
  background: var(--primary); color: white; text-decoration: none;
  padding: 9px 18px; border-radius: 6px; font-weight: 600; font-size: 13px;
  transition: background .2s;
}
.btn-consult:hover { background: var(--primary-dark); }

/* ── MAIN LAYOUT ── */
.main {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 16px;
  padding: 16px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

/* ── LEFT PANEL ── */
.panel-left {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
}
.panel-section { display: flex; flex-direction: column; gap: 8px; }
.section-title {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text);
}
.step-badge {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-btn {
  background: none; border: none; cursor: pointer;
  color: #aaa; font-size: 14px; line-height: 1;
  margin-left: auto;
  transition: color .2s;
}
.info-btn:hover { color: var(--primary); }
.section-hint { font-size: 11px; color: var(--text-secondary); }

/* Upload grid */
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upload-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  min-height: 90px;
  justify-content: center;
}
.upload-box:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-box.has-image { border-style: solid; border-color: var(--primary); }
.upload-icon { color: #bbb; }
.upload-label { font-size: 10px; color: var(--text-secondary); text-align: center; line-height: 1.3; }
.upload-preview {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  border-radius: 7px;
  display: none;
}
.upload-box.has-image .upload-preview { display: block; }
.upload-box.has-image .upload-icon,
.upload-box.has-image .upload-label { display: none; }

/* Textarea */
.form-label { font-size: 11px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .3px; }
.form-textarea {
  width: 100%; resize: vertical;
  min-height: 72px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px; font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  line-height: 1.5;
}
.form-textarea:focus { border-color: var(--primary); }
.char-count { font-size: 10px; color: #bbb; text-align: right; margin-top: 2px; }

/* Select */
.select-wrapper { position: relative; }
.form-select {
  width: 100%; appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 32px 9px 12px;
  font-size: 12px; font-family: inherit;
  color: var(--text);
  background: white; cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.form-select:focus { border-color: var(--primary); }
.select-arrow {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: #999;
}

/* Simulate button */
.btn-simulate {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: white;
  border: none; border-radius: 8px;
  padding: 13px 20px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .3px;
  margin-top: 4px;
}
.btn-simulate:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-simulate:active { transform: translateY(0); }

/* ── CENTER PANEL ── */
.panel-center {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.center-header { display: flex; justify-content: space-between; align-items: flex-start; }
.center-title { font-size: 18px; font-weight: 800; color: var(--primary); }
.center-sub { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.tech-badge {
  background: var(--primary); color: white;
  padding: 8px 14px; border-radius: 8px;
  font-size: 11px; font-weight: 700; text-align: center; line-height: 1.4;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0;
}

/* Compare */
.compare-wrapper {
  flex: 1; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
}
.compare-container {
  flex: 1; display: flex; position: relative;
  background: #f0f0f0;
  overflow: hidden;
}
.compare-before, .compare-after {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.compare-before { border-right: none; }
.compare-after { border-left: 1px solid rgba(255,255,255,0.3); }

.compare-label {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  padding: 5px 12px; border-radius: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.compare-label-before { background: rgba(80,80,80,0.85); color: white; }
.compare-label-after { background: var(--primary); color: white; }

.image-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #bbb; text-align: center; font-size: 12px; line-height: 1.6;
}
.compare-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.compare-img.hidden { display: none; }

.loading-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; z-index: 10;
}
.loading-overlay.hidden { display: none; }
.spinner {
  width: 40px; height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Slider */
.slider-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 20; cursor: ew-resize;
}
.slider-handle.hidden { display: none; }
.slider-line { width: 2px; flex: 1; background: white; box-shadow: 0 0 6px rgba(0,0,0,0.3); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); border: none; cursor: ew-resize;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(232,65,24,0.5);
  color: white;
}

/* Ruler */
.ruler {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 32px; background: rgba(0,0,0,0.35);
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 0; z-index: 5;
  color: white; font-size: 9px;
}
.ruler.hidden { display: none; }
.ruler-marks { display: flex; flex-direction: column; justify-content: space-between; flex: 1; text-align: right; padding-right: 4px; }

/* Toolbar */
.compare-toolbar {
  background: #1a1a1a; padding: 10px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.toolbar-left { display: flex; gap: 4px; }
.tool-btn {
  background: none; border: none; color: #aaa; cursor: pointer;
  width: 34px; height: 34px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.tool-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.tool-btn-text {
  background: rgba(255,255,255,0.1); border: none; color: #ddd; cursor: pointer;
  padding: 6px 12px; border-radius: 6px; font-size: 12px; font-family: inherit;
  display: flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.tool-btn-text:hover { background: rgba(255,255,255,0.2); }

/* ── RIGHT PANEL ── */
.panel-right {
  display: flex; flex-direction: column; gap: 14px;
  height: fit-content;
  position: sticky;
  top: 80px;
}
.right-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.right-section-title {
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 12px; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.info-grid { display: flex; flex-direction: column; gap: 8px; }
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-label { font-size: 11px; color: var(--text-secondary); }
.info-input, .info-select {
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font-size: 12px; font-family: inherit;
  color: var(--text); outline: none; width: 100%;
  transition: border-color .2s;
  background: white;
}
.info-input:focus, .info-select:focus { border-color: var(--primary); }

/* Sim details */
.sim-details { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.sim-details li { font-size: 12px; color: var(--text); display: flex; gap: 6px; }
.sim-dot { color: var(--primary); font-size: 16px; line-height: 1; }
.sim-details span:last-child { color: var(--text-secondary); }

/* Download buttons */
.download-btn {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
  font-size: 12px; font-weight: 600; font-family: inherit;
  color: var(--primary); cursor: pointer;
  transition: all .2s; width: 100%;
  text-transform: uppercase; letter-spacing: .3px;
}
.download-btn:hover { border-color: var(--primary); background: var(--primary-light); }

/* Consult box */
.consult-box {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 4px 14px rgba(232,65,24,0.25);
}
.consult-header { display: flex; gap: 10px; align-items: flex-start; }
.consult-header strong { color: white; font-size: 13px; display: block; margin-bottom: 3px; }
.consult-header p { color: rgba(255,255,255,0.8); font-size: 11px; line-height: 1.4; }
.btn-consult-now {
  background: white; color: var(--primary);
  border: none; border-radius: 7px;
  padding: 10px; width: 100%;
  font-weight: 700; font-size: 13px; font-family: inherit;
  cursor: pointer; transition: all .2s;
  letter-spacing: .5px;
}
.btn-consult-now:hover { background: #fff5f3; transform: translateY(-1px); }

/* ── FOOTER BAR ── */
.footer-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex; align-items: center; gap: 32px;
  justify-content: center;
  font-size: 11px; color: var(--text-secondary);
}
.footer-item { display: flex; align-items: center; gap: 6px; }
.footer-copy { margin-left: auto; }

/* ── Step connector ── */
.step-connector {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; margin: -8px 0;
}
.connector-line {
  width: 2px; height: 14px;
  background: linear-gradient(to bottom, var(--primary), #f8a090);
}
.connector-arrow {
  font-size: 13px; color: var(--primary); line-height: 1;
}

/* ── Upload section linked box ── */
.upload-section-box {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: border-color .3s;
}
.upload-section-box.active {
  border-color: var(--primary);
  background: #fffaf9;
}

/* ── Upload service tag ── */
.upload-service-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--primary); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 8px; border-radius: 20px;
  margin-bottom: 6px;
}

/* ── Upload empty state ── */
.upload-empty-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 20px 10px;
  color: #bbb; text-align: center; font-size: 12px; line-height: 1.6;
}
.upload-empty-state strong { color: var(--primary); }

/* ── Angle picker ── */
.angle-picker { position: relative; }
.angle-dropdown {
  position: absolute; bottom: calc(100% + 8px); right: 0;
  background: #2a2a2a; border: 1px solid #444;
  border-radius: 8px; overflow: hidden;
  min-width: 190px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 50;
}
.angle-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  color: #ccc; font-size: 12px; cursor: pointer;
  transition: background .15s;
  border: none; background: none; width: 100%; text-align: left;
  font-family: inherit;
}
.angle-option:hover { background: rgba(255,255,255,0.08); color: white; }
.angle-option.active { background: rgba(232,65,24,0.2); color: #ff7f5e; }
.angle-option .angle-thumb {
  width: 32px; height: 32px; border-radius: 5px;
  background-size: cover; background-position: center;
  background-color: #444; flex-shrink: 0;
  border: 2px solid transparent;
}
.angle-option.active .angle-thumb { border-color: var(--primary); }
.angle-option .angle-num {
  width: 18px; height: 18px; border-radius: 50%;
  background: #555; color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.angle-option.active .angle-num { background: var(--primary); }
.angle-option.no-image { opacity: .45; cursor: not-allowed; }

/* Utility */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   API KEY BUTTON & STATUS DOT
   ═══════════════════════════════════════════════════════════════ */
.btn-api-settings {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid #ddd; border-radius: 8px;
  padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 500;
  color: #333; transition: border-color .2s, box-shadow .2s;
}
.btn-api-settings:hover { border-color: var(--primary); color: var(--primary); }

.api-status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-green { background: #22c55e; box-shadow: 0 0 0 2px #dcfce7; }
.dot-red   { background: #ef4444; box-shadow: 0 0 0 2px #fee2e2; }

/* ═══════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; backdrop-filter: blur(3px);
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: #fff; border-radius: 16px; width: 480px; max-width: 95vw;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.modal-header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 24px 16px; border-bottom: 1px solid #f0f0f0;
}
.modal-header h3 { flex: 1; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: #888; padding: 4px 8px; border-radius: 6px;
}
.modal-close:hover { background: #f5f5f5; color: #333; }

.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }

.modal-desc { font-size: 13px; color: #555; line-height: 1.6; }

.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-field label { font-size: 12px; font-weight: 600; color: #333; text-transform: uppercase; letter-spacing: .5px; }

.api-key-input-wrap { position: relative; }
.api-key-input-wrap input {
  width: 100%; padding: 10px 44px 10px 12px;
  border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 13px; font-family: monospace;
  transition: border-color .2s;
}
.api-key-input-wrap input:focus { outline: none; border-color: var(--primary); }
.btn-toggle-key {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #888; padding: 4px;
}
.btn-toggle-key:hover { color: var(--primary); }

.modal-model-info { display: flex; gap: 10px; flex-wrap: wrap; }
.model-chip {
  display: flex; align-items: center; gap: 6px;
  background: #fff8f5; border: 1.5px solid #faddd0;
  border-radius: 20px; padding: 5px 12px;
  font-size: 12px; color: #444; font-weight: 500;
}

.modal-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 12px;
  font-size: 12px; color: #78350f; line-height: 1.5;
}

.modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 24px; border-top: 1px solid #f0f0f0;
}
.btn-modal-cancel {
  padding: 9px 18px; border-radius: 8px; border: 1.5px solid #ddd;
  background: #fff; color: #555; font-size: 13px; cursor: pointer;
}
.btn-modal-cancel:hover { border-color: #bbb; }
.btn-modal-save {
  padding: 9px 20px; border-radius: 8px; border: none;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.btn-modal-save:hover { background: var(--primary-dark); }

/* Loading overlay — hiển thị progress text */
.loading-overlay p { font-size: 13px; text-align: center; margin-top: 10px; padding: 0 12px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   LUỒNG MỚI — AI Phân Tích Dịch Vụ
   ═══════════════════════════════════════════════════════════════ */

/* Nút AI phân tích */
.btn-ai-analyze {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px;
  padding: 11px 16px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #1A2B5E 0%, #2d4a9a 100%);
  color: #fff; font-size: 13.5px; font-weight: 600;
  transition: opacity .2s, transform .1s;
}
.btn-ai-analyze:hover   { opacity: .9; }
.btn-ai-analyze:active  { transform: scale(.98); }
.btn-ai-analyze:disabled { opacity: .6; cursor: not-allowed; }

/* Spinner inline trong nút */
.btn-spinner {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Card kết quả AI chọn dịch vụ */
.ai-service-result {
  margin-top: 12px; padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fff4, #e6ffed);
  border: 1.5px solid #86efac;
  display: flex; flex-direction: column; gap: 4px;
}
.ai-service-result.hidden { display: none; }

.ai-result-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #166534;
  text-transform: uppercase; letter-spacing: .5px;
}
.ai-result-service {
  font-size: 15px; font-weight: 700; color: #1A2B5E;
}
.ai-result-reason {
  font-size: 12px; color: #444; line-height: 1.5;
}

/* Override dropdown ẩn trong <details> */
.ai-override {
  margin-top: 8px; border-top: 1px solid #c6f6d5; padding-top: 8px;
}
.ai-override summary {
  font-size: 11.5px; color: #555; cursor: pointer;
  list-style: none; display: flex; align-items: center; gap: 4px;
}
.ai-override summary::before { content: "▸"; font-size: 10px; }
.ai-override[open] summary::before { content: "▾"; }

/* Btn simulate disabled state */
.btn-simulate:disabled {
  opacity: .5; cursor: not-allowed;
  background: #ccc !important;
}

/* ── Dark Mode ─────────────────────────────────────────────── */
html.dark body {
  background: #0f1117;
  color: #e2e8f0;
}
html.dark .panel-left,
html.dark .panel-right,
html.dark .right-section,
html.dark .service-card,
html.dark .service-dropdown,
html.dark .section-block {
  background: #1a1f2e;
  border-color: #2d3448;
}
html.dark .compare-wrapper {
  background: #0f1117;
}
html.dark .compare-toolbar {
  background: #1a1f2e;
  border-color: #2d3448;
}
html.dark .tool-btn {
  color: #a0aec0;
}
html.dark .tool-btn:hover {
  background: #2d3448;
  color: #e2e8f0;
}
html.dark .compare-label-before {
  background: #1a1f2e;
  color: #e2e8f0;
}
html.dark .section-title,
html.dark .block-label,
html.dark label {
  color: #cbd5e0;
}
html.dark textarea,
html.dark input,
html.dark select {
  background: #0f1117;
  border-color: #2d3448;
  color: #e2e8f0;
}
html.dark .photo-upload-zone {
  background: #0f1117;
  border-color: #2d3448;
}
html.dark .photo-upload-zone:hover {
  border-color: #4a5568;
  background: #1a1f2e;
}
html.dark .ruler {
  background: #1a1f2e;
  color: #718096;
  border-color: #2d3448;
}

/* ── Zoom container transition ──────────────────────────────── */
#compare-container {
  transition: transform 0.2s ease;
}

/* ── Compare viewport: clip zoom, toolbar luôn hiển thị ─────── */
.compare-wrapper {
  display: flex;
  flex-direction: column;
}
.compare-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.compare-viewport.dragging {
  cursor: grabbing;
}
.compare-toolbar {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}
