:root{--primary: #9f502f;--primary-hover: #843f23;--accent: #cf805f;--accent-soft: #f6e6de;--text: #32373c;--muted: #6b7075;--bg: #faf7f4;--card: #fff;--line: #e6ded8;--danger: #b3261e;--danger-soft: #f8dcd9;--ok: #276b43;--ok-soft: #dff1e6;--on-accent: #fff;--badge: #d92b1a;--focus: #cf805f;--plan-fill: #f6e6de;--plan-selected: #e3ae95;--plan-stroke: #9f502f;--plan-wall: #3b312d;--plan-text: #32373c;--radius: 12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg)}:root[data-theme=bdp]{--primary: #0e4278;--primary-hover: #0b2341;--accent: #ffd208;--accent-soft: #e6edf4;--text: #222423;--muted: #5a6470;--bg: #f4f6f9;--card: #fff;--line: #d5dde6;--danger: #971b2f;--danger-soft: #f5dfe3;--ok: #006c55;--ok-soft: #d8eee8;--on-accent: #0b2341;--focus: #0e4278;--plan-fill: #e6edf4;--plan-selected: #ffd208;--plan-stroke: #0e4278;--plan-wall: #1f2c3c;--plan-text: #222423}*{box-sizing:border-box}input[type=checkbox],input[type=radio],progress{accent-color:var(--primary)}body{margin:0;line-height:1.5;font-size:1rem}h1{font-size:1.4rem;margin:0 0 .75rem}h2{font-size:1.15rem;margin:1.25rem 0 .5rem}a{color:var(--primary)}.container{max-width:44rem;margin:0 auto;padding:1rem}.container.wide{max-width:72rem}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}.stack{display:flex;flex-direction:column;gap:.75rem}.row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.muted{color:var(--muted);font-size:.9rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.4rem 1rem;border-radius:10px;font-size:.95rem;border:2px solid var(--primary);background:var(--primary);color:#fff;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.btn:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.btn.secondary{background:transparent;color:var(--primary)}.btn.secondary:hover{background:var(--accent-soft)}.btn.block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}label{display:block;font-weight:600;margin-bottom:.25rem}input[type=text],input[type=email],input[type=password],textarea,select{width:100%;min-height:44px;padding:.5rem .75rem;font:inherit;border:2px solid var(--line);border-radius:var(--radius);background:#fff;color:inherit}textarea{min-height:8rem;resize:vertical}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.error{color:var(--danger);font-weight:600}.badge{display:inline-block;padding:.1rem .6rem;border-radius:99px;background:var(--accent-soft);font-size:.85rem;font-weight:600}.badge.ok{background:var(--ok-soft);color:var(--ok)}.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.choice-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr))}.choice{min-height:56px;padding:.6rem;text-align:center;font:inherit;font-size:.95rem;font-weight:600;border:2px solid var(--line);border-radius:var(--radius);background:#fff;cursor:pointer;color:inherit}.choice[aria-pressed=true]{border-color:var(--primary);background:var(--accent-soft)}.list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.list a.item{display:block;padding:.75rem 1rem;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);color:inherit;text-decoration:none}.list a.item:hover{border-color:var(--accent)}.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(7rem,1fr));gap:.5rem}.thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;border:1px solid var(--line)}@media(max-width:640px){h1{font-size:1.3rem}.btn{min-height:42px;font-size:.9rem;padding:.35rem .85rem}.choice{min-height:52px;font-size:.9rem}.badge{font-size:.8rem}}.line-icon{width:var(--icon, 18px);height:var(--icon, 18px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn.sm{min-height:36px;padding:.25rem .85rem;font-size:.88rem}.views a{padding:.3rem .75rem;border:1.5px solid var(--line);border-radius:99px;background:var(--card);color:var(--text);font-size:.88rem;font-weight:600;text-decoration:none;white-space:nowrap}.views .sep{width:1px;align-self:stretch;margin-inline:.15rem;background:var(--line)}.views a:hover{border-color:var(--primary)}.views a.on{background:var(--primary);border-color:var(--primary);color:#fff}.cnt{display:inline-block;min-width:1.15rem;height:1.15rem;margin-left:.35rem;padding:0 .3rem;border-radius:99px;background:var(--badge);color:#fff;font-size:.72rem;font-weight:700;line-height:1.15rem;text-align:center;text-decoration:none}.cnt.grey{background:#6b7280}.closed-ref{text-decoration:line-through}
