/* ─── Design Tokens ──────────────────────────────────────────────────────────── */
:root {
  --gp-green:       #00395D;
  --gp-green-dark:  #002847;
  --gp-green-light: #E4EEF5;
  --gp-dark:        #0D1B2A;
  --gp-gray:        #637080;
  --gp-light-gray:  #F5F7FA;
  --gp-border:      #DDE3EA;
  --gp-amber:       #F59E0B;
  --gp-amber-bg:    #FFF8E1;
  --gp-error:       #DC2626;
  --gp-error-bg:    #FEF2F2;
  --radius:         10px;
  --shadow:         0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.10);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--gp-light-gray);
  color: var(--gp-dark);
  min-height: 100vh;
  line-height: 1.5;
}
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.app-header {
  background: white;
  border-bottom: 1px solid var(--gp-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo { height: 36px; }
.header-badge {
  background: var(--gp-green-light);
  color: var(--gp-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0,57,93,0.2);
}

/* ─── Wizard Progress Bar ────────────────────────────────────────────────────── */
.wizard-progress {
  background: white;
  border-bottom: 1px solid var(--gp-border);
  padding: 20px 24px;
}
.steps-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--gp-border);
  color: var(--gp-gray);
  transition: background 0.2s, color 0.2s;
}
.step-item.active .step-bubble {
  background: var(--gp-green);
  color: white;
}
.step-item.done .step-bubble {
  background: #0F6A42;
  color: white;
}
.step-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gp-gray);
  text-align: center;
  white-space: nowrap;
}
.step-item.active .step-label {
  color: var(--gp-green);
  font-weight: 600;
}
.step-item.done .step-label { color: #0F6A42; }
.step-connector {
  height: 2px;
  min-width: 32px;
  max-width: 80px;
  flex: 1;
  background: var(--gp-border);
  margin-bottom: 22px;
  transition: background 0.2s;
}
.step-connector.done { background: #0F6A42; }

/* ─── Main & Footer ──────────────────────────────────────────────────────────── */
.app-main {
  flex: 1;
  padding: 32px 24px 48px;
}
.app-footer {
  background: var(--gp-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 16px 0;
  font-size: 12px;
  margin-top: auto;
}

/* ─── Wizard Card ────────────────────────────────────────────────────────────── */
.wizard-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.wizard-card.wide { max-width: 1080px; }

.card-header {
  background: var(--gp-green);
  color: white;
  padding: 28px 32px;
}
.card-header h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.card-subtitle { font-size: 14px; opacity: 0.85; line-height: 1.5; }

.card-body { padding: 28px 32px; }
.card-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--gp-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.card-footer.space-between { justify-content: space-between; }
.footer-right { display: flex; align-items: center; gap: 12px; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  background: var(--gp-green);
  color: white;
  border-color: var(--gp-green);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
}
.btn-primary:hover:not(:disabled) {
  background: var(--gp-green-dark);
  border-color: var(--gp-green-dark);
}
.btn-secondary {
  background: #F5F6F8;
  color: var(--gp-dark);
  border-color: var(--gp-border);
  padding: 10px 20px;
}
.btn-secondary:hover:not(:disabled) { background: var(--gp-green-light); }
.btn-outline {
  background: white;
  color: var(--gp-dark);
  border-color: var(--gp-border);
  border-width: 1.5px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
}
.btn-outline:hover:not(:disabled) {
  background: var(--gp-green);
  color: white;
  border-color: var(--gp-green);
}
.btn-lg { padding: 12px 28px; font-size: 15px; font-weight: 700; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gp-dark); }
.form-group input,
.form-group textarea {
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--gp-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gp-dark);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group select,
.review-section select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 42px;
  padding: 0 40px 0 12px;
  border: 1.5px solid var(--gp-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gp-dark);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23637080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  outline: none;
  width: 100%;
}
.form-group select:hover,
.review-section select:hover {
  border-color: #b0bec5;
  background-color: var(--gp-light-gray);
}
.form-group select:focus,
.review-section select:focus {
  border-color: var(--gp-green);
  box-shadow: 0 0 0 3px rgba(0,57,93,0.10);
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300395D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.form-group textarea {
  height: auto;
  min-height: 80px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.6;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #BBBBBB; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gp-green);
  box-shadow: 0 0 0 3px rgba(0,57,93,0.10);
}
.form-group input.field-error,
.form-group select.field-error { border-color: var(--gp-error); }
.required { color: var(--gp-error); }
.hint { font-size: 12px; color: var(--gp-gray); font-weight: 400; }

/* Field helpers */
.field-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.field-group.flex-2 { flex: 2; }
.fields-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ─── Field sections (step 2) ────────────────────────────────────────────────── */
.field-sections { display: flex; flex-direction: column; gap: 28px; }
.field-section h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-left: 10px;
  border-left: 3px solid var(--gp-green);
  color: var(--gp-gray);
  margin-bottom: 14px;
}
.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.fields-grid .col-2 { grid-column: span 2; }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-error {
  background: var(--gp-error-bg);
  color: var(--gp-error);
  border: 1px solid rgba(220,38,38,0.3);
}
.alert-warning {
  background: var(--gp-amber-bg);
  color: #92400E;
  border: 1px solid rgba(245,158,11,0.3);
}
.alert-info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid rgba(59,130,246,0.25);
  border-left: 4px solid #3B82F6;
}
.alert-success {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid rgba(15,106,66,0.2);
}

/* ─── Badges ─────────────────────────────────────────────────────────────────── */
.ai-badge {
  background: #F3E8FF;
  color: #7C3AED;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.required-badge {
  background: var(--gp-error-bg);
  color: var(--gp-error);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  border: 1px solid rgba(220,38,38,0.2);
}

/* ─── Upload zone ────────────────────────────────────────────────────────────── */
.photo-drop-zone {
  border: 2px dashed var(--gp-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.photo-drop-zone.dragover {
  border-color: var(--gp-green);
  background: var(--gp-green-light);
}
.photo-drop-zone p { color: var(--gp-gray); font-size: 14px; margin-top: 8px; }
.file-label { color: var(--gp-green); font-weight: 600; cursor: pointer; text-decoration: underline; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.photo-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-del {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.photo-thumb.uploading { background: var(--gp-bg); }
.photo-thumb.uploading img { opacity: 0.35; }
.photo-thumb.upload-error { background: #fff0f0; }
.photo-thumb.upload-error .thumb-error-msg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 6px; font-size: 11px; color: #c0392b; text-align: center;
}
.upload-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: rgba(0,0,0,0.12); border-radius: 0 0 8px 8px;
}
.upload-progress-bar {
  height: 100%; width: 0%;
  background: #1A6B9A;
  transition: width 0.12s ease;
  border-radius: 0 0 8px 8px;
}

/* ─── Transaction cards (step 3) ─────────────────────────────────────────────── */
.transaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.trans-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--gp-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, opacity 0.15s;
  position: relative;
  opacity: 0.5;
  user-select: none;
}
.trans-card:hover { opacity: 0.75; }
.trans-card:has(.trans-check:checked) {
  border-color: var(--gp-green);
  background: var(--gp-green-light);
  opacity: 1;
}
.trans-card:has(.trans-check:checked):hover {
  box-shadow: 0 2px 8px rgba(0,57,93,0.12);
}
.trans-check { position: absolute; opacity: 0; width: 0; height: 0; }
.trans-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--gp-green);
  color: white;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.trans-body { flex: 1; min-width: 0; }
.trans-address { font-size: 13px; font-weight: 600; color: var(--gp-dark); margin-bottom: 6px; }
.trans-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  background: var(--gp-light-gray);
  color: var(--gp-gray);
}
.tag.date { background: var(--gp-green-light); color: var(--gp-green); }
.tag.dist { background: #E8F5E9; color: #0F6A42; }
.trans-price { display: flex; align-items: baseline; gap: 8px; }
.price-total { font-size: 16px; font-weight: 700; color: var(--gp-dark); }
.trans-price .price-m2 { font-size: 13px; color: var(--gp-green); font-weight: 600; }
.trans-source { font-size: 11px; color: #AABBCC; margin-top: 4px; }
.sel-count { font-size: 14px; color: var(--gp-gray); }

/* ─── Manual transactions ────────────────────────────────────────────────────── */
.manual-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px dashed var(--gp-border);
}
.manual-section h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gp-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.manual-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.manual-row input {
  flex: 1; min-width: 120px;
  padding: 0 12px; height: 38px;
  border: 1.5px solid var(--gp-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.manual-row input:focus { border-color: var(--gp-green); }
.btn-del-manual,
.btn-del-coeff,
.btn-del-point {
  background: var(--gp-light-gray);
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
  color: var(--gp-gray);
  font-family: inherit;
  transition: background 0.12s, color 0.12s;
}
.btn-del-manual:hover,
.btn-del-coeff:hover,
.btn-del-point:hover {
  background: var(--gp-error-bg);
  color: var(--gp-error);
}
.btn-del-predefined:hover {
  background: #FFF3CD;
  color: #856404;
}

/* ─── Coefficient panel (step 4) ─────────────────────────────────────────────── */
.coeff-panel-hint {
  font-size: 12px;
  color: var(--gp-gray);
  background: var(--gp-green-light);
  border-left: 3px solid var(--gp-green);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.coeff-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 700px) { .coeff-layout { grid-template-columns: 1fr; } }
.coeff-row {
  padding: 14px;
  border: 1px solid var(--gp-border);
  border-left: 3px solid var(--gp-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-left-color 0.15s, background 0.15s;
  cursor: default;
}
.coeff-row:hover {
  border-left-color: var(--gp-green);
  background: #FAFCFE;
}
.coeff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.coeff-label { font-size: 13px; font-weight: 600; color: var(--gp-dark); }
.coeff-label-input {
  font-size: 13px; font-weight: 600;
  border: none;
  border-bottom: 1px solid var(--gp-border);
  outline: none; flex: 1;
  padding: 2px 4px;
  font-family: inherit;
}
.coeff-badge {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.coeff-badge.positive { background: #E8F5E9; color: #0F6A42; }
.coeff-badge.negative { background: var(--gp-error-bg); color: var(--gp-error); }
.coeff-badge.neutral  { background: var(--gp-light-gray); color: var(--gp-gray); }
.coeff-pct-input {
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  width: auto;
  min-width: 1ch;
  text-align: center;
  text-decoration: underline dashed currentColor;
  text-underline-offset: 2px;
  cursor: text;
  -moz-appearance: textfield;
}
.coeff-pct-input:focus {
  text-decoration-style: solid;
}
.coeff-pct-input::-webkit-inner-spin-button,
.coeff-pct-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.coeff-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.coeff-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--gp-border);
  background: white;
  font-size: 12px;
  font-family: inherit;
  color: var(--gp-dark);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
  white-space: nowrap;
}
.coeff-option:hover:not(.selected) {
  border-color: var(--gp-green);
  color: var(--gp-green);
}
.coeff-option.selected {
  background: var(--gp-green);
  border-color: var(--gp-green);
  color: white;
}
.option-pct {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
}
.coeff-option.selected .option-pct { opacity: 0.9; }
.coeff-justif {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--gp-border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--gp-gray);
  font-family: inherit;
  outline: none;
}
.coeff-justif:focus { border-color: var(--gp-green); }

/* ─── Price panel (step 4) ───────────────────────────────────────────────────── */
.price-panel { position: sticky; top: 24px; }
.price-box {
  background: var(--gp-green);
  color: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  text-align: center;
}
.price-box.high { background: #0F6A42; }
.price-box.low  { background: var(--gp-error); }
.price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 6px;
}
.price-value { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; }
.price-value.sm { font-size: 20px; }
.price-m2 { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.price-detail {
  background: var(--gp-light-gray);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--gp-gray);
}
.price-detail strong { color: var(--gp-dark); }
.save-status {
  font-size: 12px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 10px;
  min-height: 34px;
  transition: opacity 0.3s;
}
.save-status--saving {
  background: var(--gp-light-gray);
  color: var(--gp-gray);
}
.save-status--saved {
  background: #E8F5E9;
  color: #0F6A42;
  font-weight: 600;
}
.save-status--error {
  background: var(--gp-error-bg);
  color: var(--gp-error);
}

/* ─── Review (step 5) ───────────────────────────────────────────────────────── */
.review-section { margin-bottom: 32px; }
.review-section h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-left: 10px;
  border-left: 3px solid var(--gp-green);
  color: var(--gp-gray);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-section textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--gp-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
.review-section textarea:focus {
  border-color: var(--gp-green);
  box-shadow: 0 0 0 3px rgba(0,57,93,0.10);
}
.review-section select { max-width: 400px; }

/* Price estimate grid — 3 column */
.price-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0;
  border: 2px solid var(--gp-green);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 600px) { .price-edit-grid { grid-template-columns: 1fr; } }
.price-edit-box { padding: 16px; text-align: center; }
.price-edit-box + .price-edit-box { border-left: 1px solid var(--gp-border); }
@media (max-width: 600px) {
  .price-edit-box + .price-edit-box { border-left: none; border-top: 1px solid var(--gp-border); }
}
.price-edit-box.central { background: var(--gp-light-gray); }
.price-edit-box.high    { background: #E8F5E9; }
.price-edit-box.low     { background: var(--gp-error-bg); }
.price-edit-box label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--gp-gray);
  display: block; margin-bottom: 8px;
}
.price-input {
  text-align: center;
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px;
  border: 2px solid transparent;
  border-radius: 8px;
  width: 100%; padding: 8px;
  outline: none;
  background: white;
  font-family: inherit;
  transition: border-color 0.15s;
}
.price-input:focus { border-color: var(--gp-green); }
.price-edit-box small { font-size: 12px; color: var(--gp-gray); margin-top: 4px; display: block; }

/* Points columns */
.points-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .points-columns { grid-template-columns: 1fr; } }
.points-col h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.points-col.positive h3 { color: #0F6A42; }
.points-col.attention h3 { color: var(--gp-error); }
.point-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.point-input {
  flex: 1; padding: 0 10px; height: 38px;
  border: 1.5px solid var(--gp-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.point-input:focus { border-color: var(--gp-green); }

/* ─── Empty state ────────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 40px; color: var(--gp-gray); }

/* ─── Modal ──────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 400px; width: 90%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.modal-icon { font-size: 48px; color: #0F6A42; margin-bottom: 16px; }
.modal-box h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 24px; }
.modal-box .btn { display: block; width: 100%; margin-bottom: 12px; justify-content: center; }

/* ─── Loading overlay ────────────────────────────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.loading-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  min-width: 320px;
  padding: 36px 48px;
  text-align: center;
}
.spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--gp-green-light);
  border-top: 4px solid var(--gp-green);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-progress {
  width: 200px; height: 3px;
  background: var(--gp-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px auto 0;
}
.loading-progress-bar {
  height: 100%;
  background: var(--gp-green);
  border-radius: 2px;
  width: 0;
  animation: progress-fill 14s ease-out forwards;
}
@keyframes progress-fill { to { width: 90%; } }
.loading-msg {
  font-size: 14px;
  color: var(--gp-gray);
  margin: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .wizard-card.wide { max-width: 100%; }
}
@media (max-width: 600px) {
  .card-body  { padding: 20px 16px; }
  .card-footer { padding: 16px; }
  .card-header { padding: 20px 16px; }
  .card-header h1 { font-size: 20px; }
  .price-value { font-size: 24px; }
  .step-connector { min-width: 16px; }
  .step-label { font-size: 10px; }
}
