:root { --bg: #f7f5f2; --surface: #fff; --ink: #2b2623; --muted: #6b625b; --line: #e3ddd6; --accent: #6d5443; --accent-ink: #fff; --ok: #e7f1e8; --ok-ink: #24502b; --err: #a3271f; --err-bg: #fbeceb; --radius: 10px; }
@media (prefers-color-scheme: dark) { :root { --bg: #1d1a18; --surface: #272320; --ink: #f1ece7; --muted: #b5aba2; --line: #3d3733; --accent: #d2b49c; --accent-ink: #1d1a18; --ok: #1f3323; --ok-ink: #bfe3c5; --err: #f2a49c; --err-bg: #3a1f1c; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.top { display: flex; align-items: baseline; gap: 12px; padding: 16px; max-width: 820px; margin: 0 auto; }
.logo { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600; }
.tag { color: var(--muted); font-size: 14px; }
main { max-width: 820px; margin: 0 auto; padding: 0 16px 48px; }
main.wide { max-width: 1100px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 30px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--muted); }
.note { color: var(--muted); } .small { font-size: 14px; }
.toc ul { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; background: var(--surface); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; margin: 0 0 20px; scroll-margin-top: 16px; }
legend { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 600; padding: 0 8px; }
.intro { color: var(--muted); margin-top: 0; }
.field { margin: 0 0 18px; }
.field > label { display: block; font-weight: 600; margin-bottom: 4px; }
.req { color: var(--err); }
.help { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], select, textarea { width: 100%; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
input[type=color] { width: 64px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); padding: 2px; }
input[type=file] { font: inherit; max-width: 100%; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 3px; }
.check label { font-weight: 600; }
.check .help, .check .err { grid-column: 2; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; margin: 4px 0 0; font-weight: 600; }
.alert { background: var(--err-bg); color: var(--err); border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; }
.alert h2 { font-size: 18px; } .alert ul { margin: 0; padding-left: 20px; } .alert a { color: inherit; }
.ok { background: var(--ok); color: var(--ok-ink); border-radius: var(--radius); padding: 12px 16px; }
.have { background: var(--bg); border-radius: 8px; padding: 8px 12px; font-size: 14px; margin: 0 0 8px; }
.steps { padding-left: 22px; margin: 0 0 20px; } .steps li { margin-bottom: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin: 24px 0 12px; }
.actions.left { justify-content: flex-start; }
button, .button { font: inherit; font-weight: 600; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); padding: 10px 20px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: transparent; color: var(--accent); }
button.small { padding: 6px 12px; font-size: 14px; }
.narrow { max-width: 360px; }
.inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 16px 0 24px; } .inline .field { flex: 1 1 260px; margin: 0; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st { font-size: 13px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.st-wyslana { background: var(--ok); color: var(--ok-ink); border-color: transparent; }
.link code { word-break: break-all; font-size: 15px; }
.answers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 16px; }
.answers dl { display: grid; grid-template-columns: minmax(180px, 38%) 1fr; gap: 6px 16px; margin: 0; }
.answers dt { color: var(--muted); } .answers dd { margin: 0; }
.pre { white-space: pre-wrap; }
.danger { margin-top: 24px; }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px; }
@media (max-width: 560px) { .answers dl { grid-template-columns: 1fr; } .answers dd { margin-bottom: 8px; } .actions { justify-content: stretch; } .actions button { flex: 1 1 auto; } h1 { font-size: 26px; } }
/* Panel: bazy salonów blisko limitu */
td.warn { color: var(--err); font-weight: 600; }
