:root { font-family: system-ui, sans-serif; color: #172c25; background: #eef4f0; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #12392d; color: white; }
header div, main { max-width: 1120px; margin: auto; padding: 22px; }
header span { color: #c3e6d5; margin-left: 18px; font-size: .85rem; }
h1 { font-size: 2.5rem; margin: 12px 0 24px; letter-spacing: -.05em; }
h2 { margin: 0 0 16px; font-size: 1.25rem; }
p { line-height: 1.5; }
.layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: start; }
.card { background: white; border: 1px solid #d9e6de; border-radius: 14px; padding: 22px; min-width: 0; }
.history { margin-top: 18px; }
form, label { display: grid; gap: 8px; }
form { gap: 14px; }
label { font-weight: 600; }
input, textarea, select, button { font: inherit; }
input:not([type=checkbox]), textarea, select { width: 100%; border: 1px solid #a9bdb0; border-radius: 8px; padding: 10px; background: white; color: inherit; }
textarea { resize: vertical; }
:focus-visible { outline: 3px solid #008368; outline-offset: 2px; }
button { justify-self: start; background: #166344; color: white; border: 0; border-radius: 8px; padding: 10px 15px; cursor: pointer; font-weight: 600; }
button:disabled { opacity: .55; cursor: default; }
.check { display: flex; align-items: start; font-weight: 400; }
.hint { color: #425e52; font-size: .88rem; margin: -7px 0 0; }
output:not(:empty) { display: block; font-size: .9rem; }
output:empty, #connection-error:empty { display: none; }
.phone, details { border-top: 1px solid #d9e6de; padding: 13px 0; margin-top: 10px; overflow-wrap: anywhere; }
.phone img { display: block; width: 200px; max-width: 100%; }
.phone p { margin: 5px 0 8px; }
summary { cursor: pointer; font-weight: 600; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: 8px; border-bottom: 1px solid #e4eee8; }
.message { white-space: pre-wrap; }
@media (max-width: 700px) { .layout { grid-template-columns: 1fr; } td, th { padding: 6px; } }
