:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #163e36; background: #f6f7f2; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header, footer { max-width: 1050px; margin: auto; padding: 25px 28px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d7dfd5; }
a { color: #216750; text-underline-offset: 3px; }
.brand { font-size: 25px; font-weight: 750; text-decoration: none; letter-spacing: -.8px; }
.brand span { display: block; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #53695d; }
nav { display: flex; gap: 20px; font-size: 14px; }
main { max-width: 740px; padding: 36px 28px 64px; margin: auto; }
.preview { color: #825a15; font-size: 11px; font-weight: 750; letter-spacing: 1px; background: #fff4da; border: 1px solid #eadbb8; padding: 10px 14px; border-radius: 5px; }
h1 { font-family: Georgia, serif; font-size: clamp(30px, 5vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.8px; margin-bottom: 18px; }
h2 { font-size: 21px; }
.intro { color: #56685c; font-size: 17px; margin-bottom: 32px; }
label { display: block; margin: 22px 0; font-size: 15px; font-weight: 600; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; background: #fff; color: #183d35; border: 1px solid #b3c3b7; border-radius: 5px; padding: 12px; font: inherit; font-weight: 400; margin-top: 7px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #b08b37; outline-offset: 3px; }
small, fieldset p { display: block; font-size: 13px; font-weight: 400; color: #596c60; margin: 7px 0; }
fieldset { margin: 26px 0; padding: 18px 20px; border: 1px solid #d2ddd0; border-radius: 7px; background: #fff; }
legend { padding: 0 7px; font-weight: 650; }
.check { display: flex; align-items: flex-start; gap: 11px; font-weight: 400; margin: 15px 0; }
.check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; accent-color: #216750; }
.optional { font-size: 12px; font-weight: 400; color: #637768; margin-left: 5px; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.scores label { margin: 12px 0; }
button { background: #216750; color: #fff; border: 1px solid #216750; border-radius: 5px; padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; margin: 8px 10px 8px 0; }
button.secondary { background: transparent; color: #216750; }
button:disabled { opacity: .5; cursor: wait; }
.card { background: #fff; border: 1px solid #d2ddd0; border-radius: 8px; padding: 20px; margin: 18px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#message:not(:empty) { padding: 15px; background: #e7eee3; border-left: 3px solid #216750; }
#message.error { background: #fff0e8; border-color: #a34b2d; color: #853e27; }
footer { font-size: 12px; color: #647467; border-top: 1px solid #d7dfd5; }
@media(max-width: 580px) { header { align-items: flex-start; } nav { flex-direction: column; gap: 5px; } .scores { grid-template-columns: 1fr; } main { padding: 24px 20px 50px; } fieldset { padding: 12px 14px; } }
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: step; }
.progress li { flex: 1; font-size: 12px; color: #637768; padding-top: 9px; border-top: 5px solid #d2ddd0; }
.progress li.current, .progress li.done { border-color: #216750; color: #163e36; }
.progress li.current { font-weight: 650; }
.step-title { font-size: 18px; margin: 0 0 6px; }
.hint { font-size: 14px; color: #56685c; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chips-field { background: transparent; border: 0; padding: 0; margin: 22px 0; }
.chips-field legend { padding: 0; font-size: 15px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; margin: 0; font-weight: 400; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 7px 15px; border: 1px solid #b3c3b7; border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; }
.chip input:checked + span { background: #e1f5ee; border-color: #1d9e75; color: #085041; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid #b08b37; outline-offset: 2px; }
.echo { color: #0f6e56; min-height: 1em; }
.echo.warn { color: #853e27; }
.count { color: #825a15; }
.scores { display: block; }
.tent-row { display: grid; grid-template-columns: 160px auto 1fr auto; align-items: center; gap: 10px; border: 0; border-top: 1px solid #e3e9e1; border-radius: 0; margin: 0; padding: 8px 0; background: transparent; }
.tent-row legend { float: left; padding: 0; font-weight: 500; font-size: 15px; }
.tent-inputs { display: flex; gap: 2px; }
.tent-option { position: relative; margin: 0; cursor: pointer; line-height: 0; padding: 3px; border-radius: 6px; }
.tent-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tent-option input:focus-visible + svg { outline: 3px solid #b08b37; outline-offset: 2px; border-radius: 3px; }
.tent { width: 32px; height: 28px; overflow: visible; }
.tents.small .tent { width: 18px; height: 16px; }
.tent .body { fill: none; stroke: #9fb3a6; stroke-width: 1.3; stroke-linejoin: round; }
.tent .side { fill: none; stroke: none; }
.tent .door { fill: none; stroke: #9fb3a6; stroke-width: 1; }
.tent .ground { stroke: #9fb3a6; stroke-width: 1.3; stroke-linecap: round; }
.tent.lit .body, .tent .lit-part .body { fill: #0f6e56; stroke: #0f6e56; }
.tent.lit .side, .tent .lit-part .side { fill: #1d9e75; }
.tent.lit .door, .tent .lit-part .door { fill: #fff; stroke: none; }
.tent.lit .ground, .tent .lit-part .ground { stroke: #0f6e56; }
.word { font-size: 13px; font-weight: 600; color: #0f6e56; }
button.link { background: none; border: 0; color: #637768; font-size: 12px; font-weight: 400; padding: 4px; margin: 0; text-decoration: underline; }
.preview-title { font-size: 14px; font-weight: 600; color: #56685c; margin: 34px 0 6px; }
.review-card { background: #fff; border: 1px solid #d2ddd0; border-radius: 8px; padding: 18px 20px; overflow-wrap: anywhere; }
.review-card p { margin: 6px 0; }
.review-card .body { white-space: pre-wrap; font-size: 15px; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #56685c; }
.tents { display: inline-flex; gap: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #eef2ec; color: #445a4d; }
.tag.good { background: #e1f5ee; color: #085041; }
.muted { font-size: 13px; color: #56685c; }
@media(max-width: 580px) { .tent-row { grid-template-columns: 1fr auto; } .tent-row legend { grid-column: 1 / -1; } .tent { width: 36px; height: 31px; } .progress li { font-size: 11px; } }
#comment { min-height: 8.5em; }
