:root {
  --bg: #f5f7f9;
  --panel: #fff;
  --text: #17202a;
  --muted: #5d6977;
  --line: #d9e0e7;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --danger: #9f1239;
  --success: #ecfdf5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
.page-shell { width: min(1040px, calc(100% - 24px)); margin: 0 auto; padding: 28px 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 4vw, 36px); box-shadow: 0 18px 50px rgba(23, 32, 42, 0.12); }
.brand-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.logo { width: 74px; height: 74px; border-radius: 8px; object-fit: cover; }
.eyebrow { margin: 0 0 4px; color: var(--accent); font-weight: 800; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { margin: 24px 0 14px; font-size: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.wide { grid-column: 1 / -1; }
input, select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--text); }
input:focus, select:focus { border-color: var(--accent); outline: 3px solid rgba(15, 118, 110, 0.15); }
.price-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; color: var(--muted); font-weight: 700; }
.price-box.ready { background: var(--success); color: var(--text); }
.document-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.doc-button, .primary { min-height: 46px; border: 0; border-radius: 6px; padding: 12px 16px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.doc-button:hover, .primary:hover { background: var(--accent-strong); }
.doc-button.disabled { cursor: not-allowed; opacity: 0.55; pointer-events: none; }
.primary { width: 100%; margin-top: 18px; }
.primary:disabled { cursor: wait; opacity: 0.72; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; color: var(--text); font-weight: 700; }
.check-row input { width: 20px; min-height: 20px; margin-top: 2px; }
.privacy { color: var(--muted); font-weight: 700; }
.status { min-height: 28px; margin-top: 18px; color: var(--muted); font-weight: 800; }
.status.error { color: var(--danger); }
.status.success { color: var(--accent-strong); }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }
