* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f4f2ea; color: #202920; font: 16px/1.45 "Segoe UI", Arial, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 22px 14px 48px; }
h1 { font-size: clamp(27px, 7vw, 42px); line-height: 1.05; margin: 0 0 8px; }
h2 { font-size: 19px; margin: 0 0 10px; }
p { margin: 0 0 12px; }
.muted { color: #4a574a; }
.tabs, .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tabs button { flex: 1 1 130px; }
button { border: 1px solid #315e43; border-radius: 8px; background: #fff; color: #203428; font: inherit; font-weight: 650; cursor: pointer; padding: 10px 12px; min-height: 44px; }
button[aria-pressed="true"], .primary { background: #214f35; color: #fff; }
button:disabled { opacity: .6; cursor: default; }
.card { margin: 12px 0; padding: 14px; border: 1px solid #d7dfd4; background: #fff; border-radius: 12px; }
progress { display: block; width: 100%; accent-color: #316648; height: 12px; }
label.check { display: flex; align-items: start; gap: 9px; padding: 9px 0; min-height: 44px; border-bottom: 1px solid #ecefea; }
label.check:last-child { border: 0; }
input[type="checkbox"] { flex: none; width: 21px; height: 21px; margin: 1px 0; accent-color: #316648; }
label.field { display: block; margin: 0 0 12px; font-weight: 600; }
label.field[for="person"] { margin-bottom: 4px; }
input[type="text"], textarea { display: block; width: 100%; margin: 4px 0 0; padding: 9px; border: 1px solid #9bac9f; border-radius: 6px; font: inherit; color: inherit; background: white; }
textarea { min-height: 72px; resize: vertical; }
#copy-buffer { min-height: 150px; }
button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #284d89; outline-offset: 2px; }
.link-hint { margin: 8px 0 0; }
.status-row { min-height: 33px; margin: 8px 0; }
.status-row p { margin: 0; }
.rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rate { min-width: 0; border: 1px solid #d7dfd4; border-radius: 8px; padding: 10px; }
summary { padding: 5px 0; font-weight: 650; cursor: pointer; min-height: 40px; }
.comparison { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 14px 0; font-variant-numeric: tabular-nums; }
.comparison caption { text-align: left; font-weight: 700; }
.comparison th, .comparison td { padding: 7px 4px; vertical-align: top; border-bottom: 1px solid #ecefea; overflow-wrap: anywhere; }
.comparison th:first-child { width: 43%; text-align: left; }
.comparison td { text-align: center; }
.comparison tbody th { font-weight: 500; }
.comparison tbody tr:nth-last-child(-n+2) { background: #eff5ed; }
.comparison tbody tr:nth-last-child(-n+2) th { font-weight: 700; }
.report-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; }
#notice:empty, #organizer-status:empty { margin: 0; }
@media (max-width: 520px) { .rates { grid-template-columns: 1fr; } .comparison th, .comparison td { font-size: 14px; } }
