:root { color-scheme: light; --ink: #162940; --muted: #526176; --purple: #302576; --line: #dce2ee; --soft: #f5f7fc; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink); }
[hidden] { display: none !important; }
header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1050px; min-height: 74px; margin: 0 auto; padding: 0 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .88rem; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-size: .65rem; font-weight: 700; letter-spacing: .11em; line-height: 1.35; }
.brand img { display: block; object-fit: contain; }
.wrap { max-width: 790px; margin: auto; padding: 0 20px; }
main { padding-top: 42px !important; }
h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.45rem); line-height: 1.2; letter-spacing: -.04em; }
.lead { margin: 10px 0 24px; color: var(--muted); }
.panel { border: 1px solid var(--line); background: white; border-radius: 14px; box-shadow: 0 5px 20px #18294709; }
.panel section, .receipt { padding: 26px; }
.panel section + section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.section-heading span, .hint, small { color: var(--muted); font-size: .82rem; }
h2 { font-size: 1.12rem; margin: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.field label small { font-weight: 400; margin-left: 4px; }
.required { color: var(--purple); }
input, select, textarea, button { font: inherit; }
.field input, select, textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #cbd4e4; border-radius: 6px; padding: 8px 11px; background-color: white; color: var(--ink); }
textarea { resize: vertical; }
:focus-visible { outline: 2px solid #604fb4; outline-offset: 2px; }
.invalid input, .invalid textarea, .invalid select { border-color: #ae253c; }
.errorlist, .error-banner { color: #9c2231; font-size: .88rem; }
.errorlist { padding-left: 18px; }
.error-banner { margin: 0; padding: 14px 26px; background: #fff2f3; border-radius: 14px 14px 0 0; }
.location { background: #f8f8fd; border-radius: 8px; border: 1px solid var(--line); padding: 12px 14px; }
.location summary { cursor: pointer; font-weight: 600; color: var(--purple); }
.location .fields { margin-top: 12px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.location-actions button { min-height: 39px; border: 1px solid #cbc6e3; background: white; border-radius: 6px; color: var(--purple); cursor: pointer; padding: 4px 10px; font-size: .88rem; }
#map { height: 285px; border: 1px solid var(--line); border-radius: 6px; background: #edf0f5; isolation: isolate; }
.photo-hint { margin: -7px 0 0; }
.confirm { display: flex; align-items: baseline; gap: 9px; font-size: .9rem; margin-bottom: 17px; }
.confirm input { accent-color: var(--purple); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; border: 0; border-radius: 7px; color: white; background: var(--purple); font-weight: 600; text-decoration: none; cursor: pointer; padding: 9px 16px; }
.primary:hover { background: #241b59; }
.receipt p { margin: 0 0 6px; color: var(--muted); }
.receipt strong { display: block; overflow-wrap: anywhere; margin-bottom: 20px; color: var(--purple); font-family: ui-monospace, monospace; }
footer.wrap { font-size: .82rem; color: var(--muted); padding-block: 23px 34px; }
@media (max-width: 540px) { main { padding-top: 30px !important; } .fields { grid-template-columns: 1fr; } .panel section, .receipt { padding: 20px; } .header-inner { padding-inline: 20px; } .submit .primary { width: 100%; } #map { height: 240px; } }
