:root { --brand: #23456B; --ink: #1C1F1E; --ink2: #3F4341; --muted: #5B5F5C; --line: #E2E0D8; --line2: #EFEDE6; --input: #CFCCC2; --bg: #F6F5F1; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
button, input, textarea { font: inherit; }
a { color: var(--brand); }
.page { max-width: 640px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
header { display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.logo { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 16px 'Bricolage Grotesque', sans-serif; }
header .name { font-weight: 600; font-size: 16px; } header .phone { font-size: 13px; color: var(--muted); }
main { flex-grow: 1; padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; }
footer { padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); text-align: center; }
.intro { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font: 700 28px/1.15 'Bricolage Grotesque', sans-serif; letter-spacing: -.01em; }
h2 { margin: 0; font-size: 16px; font-weight: 600; }
.sub { font-size: 15px; color: var(--ink2); } .muted { color: var(--muted); font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pad { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.line { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line2); }
.line .grow { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.totals { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; } .totals .total { align-items: baseline; margin-top: 6px; }
.totals .total span:first-child { font-weight: 600; font-size: 16px; } .totals .total span:last-child { font-size: 24px; font-weight: 500; }
.btn { height: 54px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 600; border: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.btn2 { height: 48px; border-radius: 12px; border: 1px solid var(--input); background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; width: 100%; }
.danger { background: #8A2E0C; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink2); }
input[type=text], input[type=email], input[type=tel], textarea { border: 1px solid var(--input); border-radius: 10px; padding: 12px; font-size: 16px; color: var(--ink); background: #fff; width: 100%; }
textarea { resize: vertical; line-height: 1.45; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--input); border-radius: 22px; font-size: 15px; cursor: pointer; }
.chip:has(input:checked) { border: 2px solid var(--brand); font-weight: 500; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; background: #fff; border: 1px solid var(--input); border-radius: 12px; font-size: 16px; cursor: pointer; }
.opt:has(input:checked) { border: 2px solid var(--brand); font-weight: 500; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 14px; }
.facts div { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line2); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line2); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts span:first-child { color: var(--muted); font-size: 13px; } .facts span:last-child { font-weight: 500; }
.note { background: #FDF6E7; border: 1px solid #EBD9AE; border-radius: 14px; padding: 14px 16px; }
.note h2 { font-size: 15px; color: #5C3A06; } .note p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #3D2A08; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photo { position: relative; height: 150px; border-radius: 10px; background: repeating-linear-gradient(135deg, #E6E1D6 0 10px, #EEEAE1 10px 20px); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.photo .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(28,31,30,.85); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.photo button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 16px; border: 0; background: rgba(28,31,30,.8); color: #fff; cursor: pointer; }
.add { height: 104px; border-radius: 10px; border: 1.5px dashed #8E8A7E; background: #fff; color: var(--brand); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.done { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.done.no { color: var(--muted); }
.kv { display: flex; flex-direction: column; } .kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line2); font-size: 15px; }
.kv div:first-child { border-top: 0; } .kv span:first-child { color: var(--muted); }
.ok { width: 56px; height: 56px; border-radius: 28px; background: #E3F1E6; color: #166534; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.bad { background: #FCE3D3; color: #8A2E0C; }
.error { color: #8A2E0C; font-size: 14px; }
.back { align-self: flex-start; min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0; }
.zoom { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; z-index: 10; }
.zoom img { max-width: 100%; max-height: 100%; }
@media print {
  body { background: #fff; } .noprint, footer, .btn, .btn2 { display: none !important; }
  .card, .note { break-inside: avoid; } .photo { height: 200px; }
}
