/* Formularz pomysłów dla klubowicza (telefon z QR; makieta 03.11.2026, standard UI/UX §4f). Osobna strona bez systemu. */
*{box-sizing:border-box}
html,body{margin:0;background:var(--x-page);color:var(--x-ink);font:15px/1.45 var(--x-font);-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--x-brand);outline-offset:2px}
.pub{max-width:520px;min-height:100dvh;margin:0 auto;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px)}
.pub-top{display:flex;align-items:center;gap:10px;padding:18px 20px 0}
.pub-logo{display:flex;align-items:baseline;gap:3px;font-weight:900;font-size:18px;letter-spacing:.04em}
.pub-logo i{width:6px;height:6px;border-radius:2px;background:var(--x-brand)}
.pub-top small{margin-left:auto;font-size:12.5px;color:var(--x-muted);font-weight:600}
.pub-screen{flex:1;display:flex;flex-direction:column}
.pub-screen[hidden]{display:none}
.pub-hero{padding:16px 20px 10px}
.pub h1{margin:0;font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}
.pub h1 span{color:var(--x-brand)}
.pub-hero p{margin:6px 0 0;font-size:14px;color:var(--x-muted)}
.pf{display:flex;flex-direction:column;gap:12px;padding:6px 20px 0;flex:1}
.fld{display:flex;flex-direction:column;gap:5px;position:relative}
.fld[hidden]{display:none}
.fld label{font-size:13.5px;font-weight:700}
.fld label small,.addph small{font-weight:500;color:var(--x-muted)}
.fld input,.fld textarea{width:100%;min-height:48px;padding:11px 14px;border-radius:12px;border:1px solid var(--x-field);background:var(--x-surface);font-size:16px}
.fld textarea{min-height:64px;resize:vertical}
.fld input:focus,.fld textarea:focus{outline:0;border-color:var(--x-brand);box-shadow:var(--x-focus)}
.fld.bad input{border-color:var(--x-danger-line)}
.err{margin:0;font-size:13px;color:var(--x-danger);font-weight:600}
.err[hidden]{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--x-line);background:var(--x-surface);font-weight:600;font-size:14px;color:var(--x-ink);white-space:nowrap}
.btn.primary{background:var(--x-brand);border-color:var(--x-brand);color:#fff}
.btn.primary:hover{background:var(--x-brand-h)}
.btn.quiet{border-color:transparent;background:none;color:var(--x-muted)}
.btn.big{min-height:52px;font-size:16px;border-radius:14px;width:100%}
.btn[disabled]{opacity:.6;cursor:default}
.btn svg{width:18px;height:18px}
.hints{position:absolute;left:0;right:0;top:80px;z-index:5;background:var(--x-surface);border-radius:14px;box-shadow:var(--x-shadow-3);border:1px solid var(--x-line);overflow:hidden}
.hints[hidden]{display:none}
.hints .hh{margin:0;padding:10px 14px 4px;font-size:12px;font-weight:700;color:var(--x-muted)}
.hint{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 10px 8px 14px;border-top:1px solid var(--x-soft)}
.hint .tx{flex:1;min-width:0}
.hint .tx b{display:block;font-size:14.5px;overflow-wrap:anywhere}
.hint .tx small{display:block;font-size:12.5px;color:var(--x-muted)}
.hint .done{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:var(--x-ok)}
.hint .done svg{width:13px;height:13px}
.hint.none{justify-content:center;min-height:48px;font-size:13px;color:var(--x-muted)}
.joined{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:var(--x-brand-soft);border:1px solid #f6c9d6}
.joined[hidden]{display:none}
.joined .tx{flex:1;min-width:0}
.joined b{display:block;font-size:14.5px;overflow-wrap:anywhere}
.joined small{display:block;font-size:12.5px;color:var(--x-brand-h)}
.addph{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;border:1.5px dashed var(--x-field);background:var(--x-surface);font-size:14.5px;font-weight:600;cursor:pointer}
.addph svg{width:18px;height:18px}
.addph[hidden],.photo-ready[hidden]{display:none}
.photo-ready{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 6px 6px 6px;border-radius:12px;background:var(--x-surface);border:1px solid var(--x-line);font-size:14px;font-weight:600}
.photo-ready img{width:64px;height:48px;border-radius:8px;object-fit:cover;background:var(--x-soft)}
.photo-ready .btn{margin-left:auto}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ts-box:empty{display:none}
.send{position:sticky;bottom:0;margin:auto -20px 0;padding:12px 20px 18px;display:flex;flex-direction:column;gap:8px;background:var(--x-page)}
.rodo{margin:0;font-size:12.5px;color:var(--x-muted);line-height:1.4}
.linkish{display:inline-flex;align-items:center;min-height:44px;border:0;background:none;padding:0;font-size:inherit;color:var(--x-ink);text-decoration:underline;text-underline-offset:2px}
.privacy{padding:10px 12px;border-radius:12px;background:var(--x-surface);border:1px solid var(--x-line);font-size:13px;color:var(--x-ink)}
.privacy[hidden]{display:none}
.privacy p{margin:0 0 6px}.privacy p:last-child{margin:0}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap}
.chip.ok{background:var(--x-surface);color:var(--x-ok);align-self:flex-start}
.chip svg{width:13px;height:13px}
.realized{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:14px;background:var(--x-ok-soft);border:1px solid #cfe6d8}
.realized b{font-size:16px;color:#174f33}
.realized p{margin:0;font-size:14px;color:#174f33}
.thanks{justify-content:center;gap:12px;padding:0 28px 60px;text-align:center}
.thanks:focus{outline:0}
.thanks p{margin:0;font-size:15px;line-height:1.5}
.okbig{width:72px;height:72px;border-radius:36px;background:var(--x-ok-soft);color:var(--x-ok);display:grid;place-items:center;margin:0 auto}
.okbig svg{width:34px;height:34px}
@media (prefers-reduced-motion:no-preference){.pub-screen:not([hidden]){animation:pubIn var(--x-t-content) var(--x-ease)}}
@keyframes pubIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.privacy ul{margin:0 0 6px;padding-left:18px}.privacy li{margin:0 0 4px}.privacy a{color:inherit}
.privacy .nw{white-space:nowrap}
.note{margin:4px 0 0;font-size:13px;color:var(--x-muted)}
