/* 4fertil – aplikacja uczestniczki. Komponenty 1:1 z makiet (Brand Book 1.0), układ: telefon < 1024 px, komputer >= 1024 px */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/open-sans-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/open-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{
  --brand:#C785B8; --deep:#7B3F6E; --brand-ink:#3B1E35;
  --tint:#F6EAF3; --tint-2:#EBD3E5; --beige:#F4ECE2;
  --navy:var(--deep); --navy-2:var(--deep); --sky:var(--tint); --sky-2:var(--tint-2);
  --red:#B03A78; --red-soft:#FBE9F2;
  --ink:#2A1F28; --muted:#6B5A67; --line:#EADFE7;
  --bg:#FCF8FA; --surface:#FFFFFF;
  --ok:#157145; --ok-bg:#E3F3E9;
  --bad:#B42318; --bad-bg:#FDECEA;
  --warn:#8A5300; --warn-bg:#FFF1D6;
  --canvas:#EFE6EC; --canvas-ink:#4A3A46;
  --body:"Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display:var(--body);
  --blob:58% 42% 47% 53% / 46% 55% 45% 54%;
  color-scheme:light;
}
*{box-sizing:border-box}
a{color:inherit;text-decoration:none}
.ic{flex:none;display:block}
.brandlogo{display:block;flex:none}
/* ——— płótno ——— */
.intro{max-width:1240px;margin:0 auto 40px;display:flex;flex-wrap:wrap;gap:24px 48px;align-items:flex-end;justify-content:space-between}
/* ——— ekran ——— */
.screen{width:390px;height:844px;flex:none;background:var(--bg);border-radius:32px;overflow:hidden;display:flex;flex-direction:column;position:relative;box-shadow:0 1px 2px rgba(123,63,110,.08),0 12px 32px rgba(123,63,110,.12)}
.body{flex:1;display:flex;flex-direction:column;gap:20px;padding:8px 20px 20px;overflow:hidden}
.body.tight{gap:14px}
.top{display:flex;align-items:center;gap:10px;min-height:44px}
.top h1{font-size:30px;font-weight:300;letter-spacing:-.01em;margin:0;flex:1;color:var(--deep)}
.top h1.sm{font-size:17px;font-weight:600;letter-spacing:0;text-align:center;color:var(--ink)}
.iconbtn{width:44px;height:44px;border-radius:50%;background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--deep);border:1px solid var(--line);flex:none;position:relative}
.iconbtn.ghost{background:transparent;border-color:transparent}
.dot{position:absolute;top:9px;right:10px;width:9px;height:9px;border-radius:50%;background:var(--red);border:2px solid var(--surface)}
.tabbar{flex:none;height:64px;background:var(--surface);border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;padding:0 8px}
.tab{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:600;color:var(--muted);width:64px;padding-top:6px}
.tab.on{color:var(--deep)}
.tab.on .ic{stroke-width:2.2}
/* ——— elementy ——— */
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.h2{font-size:17px;font-weight:600;margin:0}
.sec{display:flex;flex-direction:column;gap:10px}
.sec-h{display:flex;justify-content:space-between;align-items:baseline}
.link{font-size:14px;font-weight:600;color:var(--deep)}
.card{background:var(--surface);border-radius:24px;border:1px solid var(--line);padding:16px}
.list{background:var(--surface);border-radius:24px;border:1px solid var(--line);display:flex;flex-direction:column}
.li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid var(--line);min-height:56px}
.li:first-child{border-top:0}
.li .t{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.li .t b{font-size:15px;font-weight:600}
.li .t span{font-size:13px;color:var(--muted)}
.li>.ic{color:var(--deep)}
.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
.b-ok{background:var(--ok-bg);color:var(--ok)}
.b-bad{background:var(--bad-bg);color:var(--bad)}
.b-warn{background:var(--warn-bg);color:var(--warn)}
.b-info{background:var(--tint);color:var(--deep)}
.b-mute{background:#F1ECF0;color:var(--muted)}
.chips{display:flex;gap:8px;overflow:hidden}
.chip{height:36px;padding:0 14px;border-radius:999px;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;background:var(--surface);border:1px solid var(--line);color:var(--ink);white-space:nowrap;flex:none}
.chip.on{background:var(--deep);border-color:var(--deep);color:#fff}
.search{height:48px;border-radius:999px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 16px;color:var(--muted);font-size:15px}
.search span{flex:1}
.toolbar{display:flex;gap:10px;align-items:center}
.toolbar .search{flex:1}
.btn{height:52px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:600;background:var(--deep);color:#fff;border:0;width:100%}
.btn.sec2{background:var(--surface);color:var(--deep);border:1.5px solid var(--deep)}
.btn.text{background:transparent;color:var(--deep);height:44px}
.btn.danger{background:var(--surface);color:var(--bad);border:1.5px solid #F1C3BE}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600}
.input{height:52px;border-radius:16px;background:var(--surface);border:1.5px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 16px;font-size:16px;color:var(--ink)}
.input .ic{color:var(--muted)}
.input.focus{border-color:var(--deep);box-shadow:0 0 0 3px var(--tint-2)}
.input .ph{color:var(--muted);flex:1}
.input .v{flex:1}
.hint{font-size:13px;color:var(--muted);line-height:1.45}
.progress{height:8px;border-radius:4px;background:var(--tint-2);overflow:hidden;display:flex}
.progress i{display:block;background:var(--deep);border-radius:4px}
.thumb{border-radius:18px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.thumb::before{content:"";position:absolute;width:70%;height:95%;right:-18%;top:-30%;border-radius:var(--blob);background:rgba(255,255,255,.28)}
.thumb::after{content:"";position:absolute;width:45%;height:60%;left:-12%;bottom:-25%;border-radius:var(--blob);background:rgba(255,255,255,.2)}
.thumb>*{position:relative;z-index:1}
.thumb .pl{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.96);color:var(--deep);display:flex;align-items:center;justify-content:center;padding-left:3px}
.thumb .dur{position:absolute;right:8px;bottom:8px;background:rgba(59,30,53,.82);color:#fff;font-size:11px;font-weight:700;padding:3px 7px;border-radius:999px;font-variant-numeric:tabular-nums}
.g1{background:#C785B8}
.g2{background:#9A5A8C}
.g3{background:#B7A3D4}
.g4{background:#D9A9C0}
.g5{background:#A9C3A8}
.g6{background:#DDBE9C}
.avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;color:#fff;flex:none;background:var(--deep)}
.small{font-size:13px;color:var(--muted)}
.meta{display:flex;gap:12px;align-items:center;font-size:13px;color:var(--muted)}
.meta span{display:flex;gap:4px;align-items:center}
/* konto */
.auth{background:var(--brand)}
.auth .hero{padding:10px 28px 26px;color:var(--brand-ink);display:flex;flex-direction:column;gap:12px;position:relative}
.auth .hero .brandlogo{margin-left:-8px}
.auth .hero h1{font-size:30px;font-weight:300;line-height:1.12;margin:0;text-wrap:balance;color:var(--brand-ink)}
.auth .hero p{margin:0;font-size:15px;line-height:1.5;color:var(--brand-ink)}
.sheet{flex:1;background:var(--surface);border-radius:36px 36px 0 0;padding:28px 24px 24px;display:flex;flex-direction:column;gap:18px}
.rules{display:flex;flex-direction:column;gap:8px}
.rules div{display:flex;gap:8px;align-items:center;font-size:14px}
.rules .ok{color:var(--ok)}
.rules .no{color:var(--muted)}
.foot{margin-top:auto;font-size:13px;color:var(--muted);text-align:center;line-height:1.5}
.foot b{color:var(--deep);font-weight:600}
/* start */
.hello{display:flex;align-items:center;gap:12px}
.hello .t{flex:1}
.hello .t b{display:block;font-size:24px;font-weight:300;color:var(--deep)}
.stage{background:var(--brand);color:var(--brand-ink);border-radius:28px;padding:18px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}
.stage::before{content:"";position:absolute;width:190px;height:170px;right:-60px;top:-70px;border-radius:var(--blob);background:rgba(255,255,255,.22)}
.stage>*{position:relative}
.stage .row2{display:flex;justify-content:space-between;align-items:center}
.stage .eyebrow{color:var(--brand-ink)}
.stage h3{margin:0;font-size:20px;font-weight:600;line-height:1.3}
.stage .progress{background:rgba(255,255,255,.5)}
.stage .progress i{background:var(--deep)}
.stage .small{color:var(--brand-ink)}
.stage .btn{background:#fff;color:var(--deep);height:46px;font-size:15px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:112px}
.tile .ico{width:40px;height:40px;border-radius:var(--blob);display:flex;align-items:center;justify-content:center}
.tile b{font-size:15px;font-weight:600}
.tile span{font-size:13px;color:var(--muted);margin-top:-6px}
.todo{border:1.5px dashed var(--brand);background:var(--tint)}
/* lekcje */
.lesson{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:10px}
.lesson .thumb{width:104px;height:78px}
.lesson .t{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.lesson .t b{font-size:15px;font-weight:600;line-height:1.3}
.lesson.locked{opacity:.62}
.lesson.locked .thumb{filter:grayscale(1)}
.player{height:220px;margin:0 -20px;border-radius:0 0 36px 36px;flex:none}
.player .pl{width:64px;height:64px}
.player .bar{position:absolute;left:20px;right:20px;bottom:18px;display:flex;align-items:center;gap:10px;color:var(--brand-ink);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.player .bar .progress{flex:1;height:4px;background:rgba(255,255,255,.55)}
.player .bar .progress i{background:var(--deep)}
.player .back{position:absolute;left:16px;top:12px;background:rgba(255,255,255,.96);border:0}
.parts{display:flex;flex-direction:column;gap:8px}
.part{display:flex;gap:12px;align-items:center;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.part.on{border-color:var(--deep);box-shadow:0 0 0 1px var(--deep)}
.part .thumb{width:72px;height:52px;border-radius:14px}
.part .thumb .pl{width:26px;height:26px}
.part .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.part .t b{font-size:14px;font-weight:600}
.part .t span{font-size:12px;color:var(--muted)}
.state{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.state.done{background:var(--ok);color:#fff}
.state.todo{border:2px solid var(--line)}
.files{display:flex;gap:8px}
.file{flex:1;display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:10px 12px;font-size:13px;font-weight:600}
.file .fi{width:34px;height:34px;border-radius:var(--blob);background:var(--red-soft);color:var(--red);display:flex;align-items:center;justify-content:center;flex:none}
.file .fi.img{background:var(--beige);color:#7A5A2E}
.file small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.quizcta{display:flex;align-items:center;gap:12px;background:var(--tint);border-radius:20px;padding:14px}
.quizcta .t{flex:1}
.quizcta b{display:block;font-size:15px;font-weight:600}
.quizcta span{font-size:13px;color:var(--muted)}
/* quiz */
.qhead{display:flex;align-items:center;gap:12px}
.qhead .progress{flex:1}
.qnum{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted)}
.question{font-size:25px;font-weight:300;line-height:1.25;margin:0;text-wrap:balance;color:var(--brand-ink)}
.answers{display:flex;flex-direction:column;gap:10px}
.ans{display:flex;align-items:center;gap:12px;background:var(--surface);border:1.5px solid var(--line);border-radius:999px;padding:12px 18px 12px 12px;font-size:15px;min-height:60px}
.ans .k{width:36px;height:36px;border-radius:50%;background:var(--tint);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--deep);flex:none}
.ans.sel{border-color:var(--deep);background:var(--tint);font-weight:600}
.ans.sel .k{background:var(--deep);color:#fff}
.score{display:flex;flex-direction:column;align-items:center;gap:14px;padding:12px 0 4px;text-align:center}
.ring{width:176px;height:176px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--ok) 0 80%, var(--ok-bg) 80% 100%)}
.ring div{width:148px;height:148px;border-radius:50%;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring b{font-size:48px;font-weight:300;color:var(--ok);font-variant-numeric:tabular-nums;line-height:1}
.ring span{font-size:13px;color:var(--muted);margin-top:4px}
.score h2{font-size:28px;font-weight:300;margin:0;color:var(--brand-ink)}
.score p{margin:0;color:var(--muted);font-size:15px;line-height:1.5;max-width:30ch}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.stat b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--muted)}
/* raport */
.faces{display:flex;gap:8px}
.face{flex:1;height:64px;border-radius:20px;background:var(--surface);border:1.5px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:22px}
.face small{font-size:11px;color:var(--muted);font-weight:600}
.face.sel{border-color:var(--deep);background:var(--tint)}
.face.sel small{color:var(--deep)}
.slider{display:flex;flex-direction:column;gap:8px}
.track{height:8px;border-radius:4px;background:var(--tint-2);position:relative;display:flex}
.track i{display:block;width:40%;background:var(--deep);border-radius:4px}
.track b{position:absolute;left:40%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:#fff;border:3px solid var(--deep)}
.scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stepper{background:var(--surface);border:1.5px solid var(--line);border-radius:20px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.stepper .lbl{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:600;color:var(--muted)}
.stepper .ctl{display:flex;align-items:center;justify-content:space-between}
.stepper .ctl b{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.stepper .ctl b small{font-size:13px;color:var(--muted);font-weight:600}
.pm{width:32px;height:32px;border-radius:50%;background:var(--tint);color:var(--deep);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}
.checks{display:flex;flex-wrap:wrap;gap:8px}
.checks .chip{height:34px;font-size:13px}
.sticky{flex:none;padding:12px 20px 12px;background:var(--surface);border-top:1px solid var(--line)}
.rep{display:flex;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid var(--line)}
.rep:first-child{border-top:0}
.date{width:48px;height:52px;border-radius:var(--blob);background:var(--tint);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}
.date b{font-size:18px;font-weight:600;line-height:1;color:var(--deep);font-variant-numeric:tabular-nums}
.date span{font-size:11px;font-weight:700;color:var(--deep);text-transform:uppercase;letter-spacing:.04em}
.rep .t{flex:1;display:flex;flex-direction:column;gap:5px}
.rep .t b{font-size:15px;font-weight:600}
.minis{display:flex;gap:10px;font-size:12px;color:var(--muted)}
.minis span{display:flex;gap:3px;align-items:center}
.week{display:flex;gap:6px}
.wd{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--muted);font-weight:600}
.wd i{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px}
.wd .y{background:var(--ok);color:#fff}
.wd .n{background:var(--bad-bg);color:var(--bad)}
.wd .c{border:2px solid var(--deep);color:var(--deep);font-weight:700}
.wd .f{background:#F1ECF0;color:var(--muted)}
/* zajęcia + skala Borga */
.freq{display:flex;flex-direction:column;gap:6px;font-size:14px}
.freq b{font-size:20px;font-weight:600;color:var(--deep);font-variant-numeric:tabular-nums}
.next{display:flex;flex-direction:column;gap:10px;border-color:var(--deep);box-shadow:0 0 0 1px var(--deep)}
.rpe{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.rpe a{height:50px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--brand-ink)}
.r1{background:#F9F0F6}
.r2{background:#F3E1EE}
.r3{background:#EBD0E4}
.r4{background:#E2BDD8}
.r5{background:#D8A9CB}
.r6{background:#CE96BF}
.r7{background:#C785B8}
.rpe a.sel{background:var(--deep);color:#fff;box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--deep)}
/* diety */
.plan{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden}
.plan .thumb{height:110px;border-radius:0;justify-content:flex-start;align-items:flex-end;padding:12px}
.plan .fav{position:absolute;right:12px;top:12px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:center;color:var(--deep)}
.plan .fav.on{color:var(--red)}
.plan .fav.on path{fill:var(--red)}
.plan .body2{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px}
.plan .body2 b{font-size:16px;font-weight:600}
.plan.half .thumb{height:88px}
.plans2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* forum i czat */
.thread{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-top:1px solid var(--line)}
.thread:first-child{border-top:0}
.thread b{font-size:15px;font-weight:600;line-height:1.35}
.thread p{margin:0;font-size:14px;color:var(--muted);line-height:1.45}
.pin{color:var(--red)}
.seg{display:flex;background:var(--tint);border-radius:999px;padding:4px}
.seg a{flex:1;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:var(--muted)}
.seg a.on{background:var(--surface);color:var(--deep);box-shadow:0 1px 3px rgba(123,63,110,.16)}
.chathead{display:flex;align-items:center;gap:10px;padding:4px 16px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
.chathead .t{flex:1}
.chathead b{display:block;font-size:16px;font-weight:600}
.chathead span{font-size:13px;color:var(--ok);font-weight:600}
.msgs{flex:1;display:flex;flex-direction:column;gap:10px;padding:16px;overflow:hidden}
.day{align-self:center;font-size:12px;font-weight:600;color:var(--muted);background:var(--tint);padding:4px 12px;border-radius:999px}
.msg{max-width:78%;padding:10px 14px;border-radius:22px;font-size:15px;line-height:1.45;display:flex;flex-direction:column;gap:4px}
.msg time{font-size:11px;opacity:.75;align-self:flex-end}
.msg.in{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}
.msg.out{background:var(--deep);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}
.att{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.16);border-radius:16px;padding:8px 10px;font-size:13px;font-weight:600}
.att .fi{width:36px;height:36px;border-radius:50%;background:#fff;color:var(--deep);display:flex;align-items:center;justify-content:center;flex:none}
.att small{display:block;font-weight:400;opacity:.85}
.composer{flex:none;display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--surface);border-top:1px solid var(--line)}
.composer .input{flex:1;height:44px;border-radius:22px;font-size:15px}
.send{width:44px;height:44px;border-radius:50%;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.online{position:relative}
.online::after{content:"";position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#22A267;border:2px solid var(--surface)}
/* profil, powiadomienia */
.pcard{display:flex;align-items:center;gap:14px}
.pcard .avatar{width:60px;height:60px;font-size:20px;background:var(--brand);color:var(--brand-ink)}
.pcard b{display:block;font-size:18px;font-weight:600}
.idtag{font-variant-numeric:tabular-nums;font-weight:700;color:var(--deep);background:var(--tint);padding:3px 10px;border-radius:999px;font-size:13px;display:inline-block;margin-top:4px}
.toggle{width:46px;height:28px;border-radius:14px;background:var(--deep);position:relative;flex:none}
.toggle i{position:absolute;right:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff}
.toggle.off{background:#CDBFCA}
.toggle.off i{right:auto;left:3px}
.note{display:flex;gap:12px;padding:14px 16px;border-top:1px solid var(--line);align-items:flex-start}
.note:first-child{border-top:0}
.note .ni{width:40px;height:40px;border-radius:var(--blob);display:flex;align-items:center;justify-content:center;flex:none}
.note .t{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.note .t b{font-size:15px;font-weight:600;line-height:1.3}
.note .t span{font-size:13px;color:var(--muted);line-height:1.4}
.note .when{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.nd{display:block;width:9px;height:9px;border-radius:50%;background:var(--red)}
/* modal */
.scrim{position:absolute;inset:0;background:rgba(59,30,53,.55);display:flex;align-items:flex-end}
.modal{background:var(--surface);border-radius:36px 36px 0 0;padding:14px 24px 34px;width:100%;display:flex;flex-direction:column;gap:14px}
.grab{width:40px;height:5px;border-radius:3px;background:var(--line);align-self:center}
.modal .mi{width:56px;height:56px;border-radius:var(--blob);background:var(--bad-bg);color:var(--bad);display:flex;align-items:center;justify-content:center}
.modal h2{margin:0;font-size:26px;font-weight:300;color:var(--brand-ink)}
.modal p{margin:0;color:var(--muted);font-size:15px;line-height:1.5}
.modal .btn.del{background:var(--bad)}
/* v3: quizy, wykres wysiłku, raport, wątek forum, dieta, dokumenty */
.match{display:flex;flex-direction:column;gap:10px}
.mrow{display:flex;align-items:center;gap:6px}
.mq{width:122px;flex:none;min-height:52px;border-radius:16px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;padding:8px 12px;font-size:14px;font-weight:600;line-height:1.25}
.mrow>i{width:10px;height:2px;background:var(--tint-2);flex:none;display:block}
.slot{flex:1;min-height:52px;border-radius:999px;border:1.5px dashed #D6B6CD;display:flex;align-items:center;gap:8px;padding:4px 14px;font-size:13px;color:var(--muted)}
.slot.filled{border:1.5px solid var(--deep);background:var(--tint);color:var(--brand-ink);font-weight:600;padding:4px 10px 4px 14px;line-height:1.25}
.slot.filled span{flex:1}
.slot.hover{border-color:var(--deep);background:#FBF3F8;padding:4px}
.dchip{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px 6px 10px;border-radius:999px;background:var(--surface);border:1.5px solid var(--line);font-size:14px;font-weight:600;color:var(--ink);line-height:1.25}
.dchip .ic{color:var(--muted)}
.dchip.lift{flex:1;background:var(--deep);color:#fff;border-color:var(--deep);box-shadow:0 10px 24px rgba(123,63,110,.35);transform:rotate(-2deg) translateY(-3px)}
.dchip.lift .ic{color:#fff}
.dchip.ghost{border-style:dashed;border-color:#D6B6CD;background:transparent;color:var(--muted);font-weight:400}
.bank{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:24px;background:var(--tint)}
.bank .eyebrow{color:var(--deep)}
.stmt{background:var(--brand);border-radius:28px;padding:28px 24px;position:relative;overflow:hidden;min-height:210px;display:flex;align-items:center}
.stmt::before{content:"";position:absolute;width:200px;height:180px;right:-70px;bottom:-80px;border-radius:var(--blob);background:rgba(255,255,255,.22)}
.stmt p{margin:0;font-size:23px;font-weight:300;line-height:1.32;color:var(--brand-ink);position:relative}
.tf{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tf a{height:124px;border-radius:28px;background:var(--surface);border:1.5px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:17px;font-weight:600}
.tf .c{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tint);color:var(--deep)}
.tf a.sel{border-color:var(--deep);background:var(--tint);box-shadow:0 0 0 1px var(--deep)}
.tf a.sel .c{background:var(--deep);color:#fff}
.chart{display:flex;align-items:flex-end;gap:6px;height:118px;border-bottom:1px solid var(--line)}
.bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;font-size:11px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.bar i{display:block;width:100%;max-width:24px;border-radius:8px 8px 3px 3px;background:var(--deep)}
.bar.trt i{background:var(--brand)}
.bar.miss i{background:transparent;border:1.5px dashed var(--deep);border-bottom:0}
.bar.abs{color:var(--muted);font-weight:600}
.xl{display:flex;gap:6px;margin-top:-6px}
.xl span{flex:1;text-align:center;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.lg{display:flex;gap:14px;font-size:12px;color:var(--muted);align-items:center}
.lg span{display:flex;align-items:center;gap:5px}
.lg i{width:10px;height:10px;border-radius:3px;display:block}
.rpehero{display:flex;align-items:center;gap:16px}
.rpebig{width:112px;height:104px;border-radius:var(--blob);background:var(--brand);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--brand-ink);flex:none}
.rpebig b{font-size:46px;font-weight:300;line-height:1;font-variant-numeric:tabular-nums}
.rpebig span{font-size:13px;font-weight:600}
.sbar{display:flex;gap:3px}
.sbar i{flex:1;height:14px;border-radius:4px;display:block}
.sbar i.mk{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--deep)}
.sends{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.ta{min-height:84px;align-items:flex-start;padding-top:12px;padding-bottom:12px;font-size:15px;line-height:1.45}
.qlabel{font-size:14px;font-weight:600;line-height:1.4}
.post{display:flex;flex-direction:column;gap:8px}
.post h2{font-size:20px;font-weight:600;margin:0;line-height:1.3}
.post p{margin:0;font-size:15px;line-height:1.5}
.reply{display:flex;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}
.reply:first-child{border-top:0}
.reply .avatar{width:34px;height:34px;font-size:12px}
.reply .t{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.who{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.who b{color:var(--ink);font-size:14px;font-weight:600}
.reply p{margin:0;font-size:14px;line-height:1.45}
.reply.expert{background:#FBF3F8}
.list .reply.expert:first-child{border-radius:24px 24px 0 0}
.acts{display:flex;gap:16px;font-size:13px;font-weight:600;color:var(--deep);margin-top:2px}
.acts .del{color:var(--bad)}
.meal{display:flex;flex-direction:column;gap:3px;padding:11px 16px;border-top:1px solid var(--line)}
.meal:first-child{border-top:0}
.meal .mt{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--deep)}
.meal .row3{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.meal b{font-size:14px;font-weight:600;line-height:1.35}
.meal .kc{font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.hero2{height:190px;margin:0 -20px;border-radius:0 0 36px 36px;flex:none;align-items:flex-end;justify-content:flex-start;padding:18px 20px}
.hero2 .back{position:absolute;left:16px;top:12px;background:rgba(255,255,255,.96);border:0}
.hero2 .fav{position:absolute;right:16px;top:12px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:center;color:var(--red)}
.hero2 .fav path{fill:var(--red)}
.doc{display:flex;flex-direction:column;gap:14px}
.doc h3{font-size:15px;font-weight:600;margin:0 0 4px}
.doc p{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
.bigav{width:88px;height:88px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:300;align-self:center}
.ro{background:var(--bg)}
.ro .v{color:var(--muted)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);row-gap:2px;text-align:center}
.cal .dh{font-size:12px;font-weight:700;color:var(--muted);height:22px}
.cal a{width:42px;height:42px;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px;font-weight:600;border-radius:50%;font-variant-numeric:tabular-nums}
.cal a.o{color:#C9BAC5;font-weight:400}
.cal a.sel{background:var(--deep);color:#fff}
.cal a.today{box-shadow:inset 0 0 0 1.5px var(--deep)}
.ds{display:flex;gap:2px;height:5px}
.ds i{width:5px;height:5px;border-radius:50%;display:block}
.dh-h{background:var(--deep)}
.dh-t{background:var(--brand)}
.dh-d{background:#5E8A5B}
.cal a.sel .ds i{background:#fff}
.ev{display:flex;gap:12px;align-items:center;padding:12px 14px;border-top:1px solid var(--line)}
.ev:first-child{border-top:0}
.ev .tm{width:46px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;display:flex;flex-direction:column}
.ev .tm small{font-weight:400;color:var(--muted)}
.ev .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.ev .t b{font-size:15px;font-weight:600;display:flex;align-items:center;gap:6px}
.ev .t b i{width:8px;height:8px;border-radius:50%;display:block;flex:none}
.ev .t span{font-size:13px;color:var(--muted)}
.rem{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:600;color:var(--deep);flex:none}
.rem.off{color:var(--muted)}
.opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--line);font-size:15px}
.opt:first-child{border-top:0}
.radio{width:22px;height:22px;border-radius:50%;border:2px solid #CDBFCA;flex:none}
.radio.on{border:7px solid var(--deep)}
.dense .li{padding-block:10px;min-height:0}
.plan .thumb{height:84px}
.plan.half .thumb{height:66px}
.hero2{height:160px}
/* new.css */
/* v5: kafelek oceny (stany), załączniki, PDF, kwestionariusze */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}
.tabs a{padding:10px 16px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;gap:6px;align-items:center;white-space:nowrap}
.tabs a.on{color:var(--deep);border-color:var(--deep)}
.tabs .n{font-size:12px;background:#F1ECF0;border-radius:999px;padding:1px 8px;color:var(--muted)}
.tabs a.on .n{background:var(--tint);color:var(--deep)}
.rate{display:flex;gap:12px;align-items:center;border-radius:24px;padding:14px;border:1.5px dashed var(--brand);background:var(--tint);position:relative}
.rate .ri{width:44px;height:44px;border-radius:var(--blob);background:#fff;color:var(--deep);display:flex;align-items:center;justify-content:center;flex:none}
.rate .rt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.rate .rt b{font-size:15px;font-weight:600;line-height:1.3}
.rate .rt span{font-size:13px;color:var(--muted);line-height:1.35}
.rate .left{font-size:12px;font-weight:700;border-radius:999px;padding:5px 11px;white-space:nowrap;background:#fff;color:var(--deep)}
.rate.warm{border:1.5px solid #E5B25A;background:var(--warn-bg)}
.rate.warm .ri,.rate.warm .left{color:var(--warn)}
.rate.urgent{border:2px solid var(--bad);background:var(--bad-bg);box-shadow:0 0 0 4px rgba(180,35,24,.14),0 0 0 9px rgba(180,35,24,.07);animation:pulse 1.8s ease-in-out infinite}
.rate.urgent .ri,.rate.urgent .left{background:var(--bad);color:#fff}
.rate.urgent .rt span{color:#7A241C}
.rate.expired{border:1.5px solid var(--line);background:#F1ECF0;box-shadow:none}
.rate.expired .ri,.rate.expired .left{background:#E4DCE2;color:var(--muted)}
@keyframes pulse{0%,100%{box-shadow:0 0 0 4px rgba(180,35,24,.14),0 0 0 9px rgba(180,35,24,.07)}50%{box-shadow:0 0 0 7px rgba(180,35,24,.10),0 0 0 14px rgba(180,35,24,.03)}}
@media (prefers-reduced-motion:reduce){.rate.urgent{animation:none}}
.lockb{display:flex;gap:12px;align-items:center;background:var(--tint);border-radius:20px;padding:14px}
.lockb>span{color:var(--deep)}
.lockb .t{flex:1;display:flex;flex-direction:column;gap:6px}
.lockb .t b{font-size:15px;font-weight:600;line-height:1.3}
.lockb .t span{font-size:13px;color:var(--muted)}
.att-row{display:flex;gap:12px;align-items:center;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.att-row .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.att-row .t b{font-size:14px;font-weight:600}
.att-row .t span{font-size:12px;color:var(--muted)}
.att-row>.ic{color:var(--deep)}
.att-th{width:52px;height:52px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center}
.att-th.pdf{background:var(--red-soft);color:var(--red)}
.att-th.pdf::before,.att-th.pdf::after{display:none}
.pdfpage{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 20px rgba(123,63,110,.1);padding:22px;display:flex;flex-direction:column;gap:9px}
.pdfpage b{font-size:17px;font-weight:600;color:var(--brand-ink)}
.pdfpage .ln{height:8px;border-radius:4px;background:#ECE3EA}
.pdfpage .ln.h{height:12px;background:var(--tint-2);width:46%;margin-top:6px}
.pdfpage .grid2{display:grid;grid-template-columns:70px 1fr 1fr;gap:8px 10px;margin-top:4px}
.pdfpage .grid2 i{display:block;height:8px;border-radius:4px;background:#ECE3EA}
.pdfpage .grid2 i.k{background:var(--tint-2)}
.tchip{font-size:11px;font-weight:700;border-radius:999px;padding:3px 9px;display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.tchip.on{background:var(--ok-bg);color:var(--ok)}
.tchip.off{background:#F1ECF0;color:var(--muted)}
.tchip.na{background:transparent;color:#B7A9B3}
.qs{display:flex;flex-direction:column;gap:5px;align-items:flex-end}
.roans{display:flex;gap:10px;align-items:center;padding:10px 14px;border-top:1px solid var(--line);font-size:13px;line-height:1.35}
.roans:first-child{border-top:0}
.roans span:first-child{flex:1}
.roans .yn{font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;background:var(--tint);color:var(--deep)}
.roans .yn.no{background:#F1ECF0;color:var(--muted)}
.fade{position:relative}
.fade::after{content:"";position:absolute;left:0;right:0;bottom:0;height:60px;background:linear-gradient(rgba(252,248,250,0),var(--bg));pointer-events:none}
.ai{background:var(--brand);color:var(--brand-ink);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.ai::before{content:"";position:absolute;width:180px;height:160px;right:-60px;top:-60px;border-radius:var(--blob);background:rgba(255,255,255,.22)}
.ai>*{position:relative}
.ai p{margin:0;font-size:15px;line-height:1.55}
.mx td.q{text-align:left;font-size:13px;line-height:1.35;padding:7px 14px}
.mx td,.mx th{text-align:center;padding:7px 8px}
.mx th:first-child{text-align:left;padding-left:14px}
.mx th{font-size:11px;letter-spacing:.03em}
.rd{width:18px;height:18px;border-radius:50%;border:2px solid #CDBFCA;display:inline-block;vertical-align:middle;background:#fff}
.rd.on{border:5px solid var(--deep)}
.cardwarn{display:flex;gap:12px;align-items:flex-start;background:var(--warn-bg);border:1px solid #F0D49A;border-radius:20px;padding:14px 16px}
.cardwarn>span{color:var(--warn)}
.cardwarn p{margin:0;font-size:14px;line-height:1.5;color:#5A3A00}
.tiles.s{gap:8px}
.tiles.s .tile{min-height:92px;padding:12px;gap:8px}
.tiles.s .tile span{margin-top:-4px}
.qs{gap:3px}
.tchip{padding:2px 8px}
.list.dense .qs{gap:2px}
.att-row.c{padding:7px 10px;border-radius:16px}
.att-row.c .att-th{width:38px;height:38px;border-radius:10px}
.nav .soon{margin-left:auto;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border:1px dashed #CDBFCA;border-radius:999px;padding:1px 7px}
.nav.hid{opacity:.85}
.code{font-size:11px;font-weight:700;color:var(--deep);background:var(--tint);border-radius:6px;padding:2px 6px;margin-right:6px;white-space:nowrap}
.fgrid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 16px}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:18px 32px;align-items:start}
.qform label{font-size:13px;font-weight:600;line-height:1.4}
.rtag{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:2px 8px;white-space:nowrap}
.rtag.u{background:var(--tint);color:var(--deep)}
.rtag.l{background:#F1E9F6;color:#6B3A80}
.snav .qitem{padding:11px 14px;align-items:center}
.snav .qitem .t b{font-size:13px;font-weight:600}
.snav .qitem.lk{opacity:.6}
.vas{display:flex;gap:6px}
.vas a{flex:1;height:34px;border-radius:10px;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;background:#fff}
.vas a.on{background:var(--deep);border-color:var(--deep);color:#fff}
.num2{width:84px}
.mx.dense td,.mx.dense th{padding:4px 6px}
.mx.dense td.q{padding:4px 12px;font-size:12px;line-height:1.3}
.mx.dense .rd{width:16px;height:16px}
.mx.dense .rd.on{border-width:4px}
/* v6: treningi, skala Borga, kwestionariusze wypełniane w aplikacji */
.wk{padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.wk .wh{display:flex;justify-content:space-between;align-items:center;padding-bottom:6px}
.wkr{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.wkr .t{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.wkr .t b{font-size:14px;font-weight:600}
.wkr .t span{font-size:12px;color:var(--muted)}
.kind{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;min-width:54px;text-align:center;background:var(--tint-2);color:var(--brand-ink)}
.kind.hiit{background:var(--deep);color:#fff}
.wk.cur{border:1.5px solid var(--deep)}
.wk.dim{opacity:.62}
.bs{border:1.5px solid var(--line);border-radius:20px;padding:6px;background:#fff;display:flex;flex-direction:column}
.bsr{display:flex;align-items:center;gap:12px;height:29px;padding:0 12px;border-radius:12px;font-size:14px}
.bsr b{width:26px;font-weight:600;font-variant-numeric:tabular-nums;font-size:15px}
.bsr span.d{color:var(--ink)}
.bsr.on{background:var(--tint);box-shadow:inset 0 0 0 1.5px var(--deep);color:var(--deep);font-weight:700}
.bsr.on span.d{color:var(--deep)}
.bsr .rd{width:16px;height:16px}
.bsr .rd.on{border-width:4px}
.tg{display:flex;gap:6px;flex:none}
.tg a{font-size:12px;font-weight:700;border-radius:999px;padding:5px 12px;background:#F1ECF0;color:var(--muted);min-width:44px;text-align:center}
.tg a.on{background:var(--deep);color:#fff}
.qr{display:flex;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid var(--line);font-size:13px;line-height:1.35}
.qr:first-child{border-top:0}
.qr>span:first-child{flex:1}
.qr.req{box-shadow:inset 3px 0 0 var(--bad);background:#FFF9F8}
.opts5{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.opts5 a{font-size:11px;font-weight:600;border-radius:10px;padding:6px 2px;background:#F6F1F5;color:var(--muted);text-align:center;line-height:1.15;min-height:30px;display:flex;align-items:center;justify-content:center}
.opts5 a.on{background:var(--deep);color:#fff}
.days{display:flex;gap:4px}
.days a{flex:1;height:32px;border-radius:10px;background:#F6F1F5;color:var(--muted);font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center}
.days a.on{background:var(--deep);color:#fff}
.stepbar{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.stepbar .progress{flex:1}
.btn.dis{background:#D9CCD5;color:#fff}
.mealc{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.mealc .sec-h b{font-size:14px;font-weight:600}
.mealc p{margin:0;font-size:13px;line-height:1.4;color:var(--ink)}
.mealc small{color:var(--muted);font-size:12px}
.pgrow{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--line)}
.pgrow:first-child{border-top:0}
.pgrow .t{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.pgrow .t b{font-size:15px;font-weight:600}
.pgrow .t span{font-size:12px;color:var(--muted)}
.tiles.s .tile{min-height:86px;padding:10px 12px}
.list.dense .pgrow{padding:8px 14px}
.mealc{padding:9px 14px}
.cellrow{display:flex;gap:10px;align-items:center}
.dense16 td{padding:6px 16px}
.dense16 td b{font-size:14px}
.kind{white-space:nowrap}
.rtag.m{background:linear-gradient(90deg,var(--tint) 50%,#F1E9F6 50%);color:var(--deep)}
/* v7: formularze pełne (renderowane z modelu) */
.fq{display:flex;flex-direction:column;gap:7px;min-width:0}
.fq>label{font-size:14px;font-weight:600;line-height:1.4}
.fq .hint{font-size:12.5px;line-height:1.4;margin-top:-3px}
.fopts{display:flex;flex-direction:column;gap:6px}
.fopts.row{flex-direction:row;flex-wrap:wrap;gap:6px 8px}
.fopt{display:flex;gap:9px;align-items:center;padding:8px 12px;border:1.5px solid var(--line);border-radius:14px;font-size:13.5px;line-height:1.3;background:#fff;color:var(--ink)}
.fopts.row .fopt{border-radius:999px;padding:7px 14px;font-size:13px}
.fopt.on{border-color:var(--deep);background:var(--tint);font-weight:600;color:var(--deep)}
.fopt .rd{flex:none;width:16px;height:16px}
.fopt .rd.on{border-width:4px}
.fopt .cbx{flex:none;width:18px;height:18px}
.fsub{display:flex;flex-direction:column;gap:5px;margin-left:6px;padding-left:12px;border-left:2px solid var(--tint-2)}
.fsub .sl{font-size:12.5px;color:var(--muted);line-height:1.35}
.fsub .input,.fq .input{height:44px;font-size:14px;padding:0 12px}
.fq .input.ta{height:auto;min-height:72px;padding:10px 12px}
.fq .input .u{font-size:12.5px;color:var(--muted);white-space:nowrap}
.condtag{font-size:11px;font-weight:700;color:var(--deep);background:var(--tint);border-radius:999px;padding:3px 10px;align-self:flex-start}
.mxcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:9px 11px;display:flex;flex-direction:column;gap:7px}
.mxcard b{font-size:13.5px;font-weight:600;line-height:1.3}
.optsN{display:grid;gap:4px}
.optsN a{font-size:10.5px;font-weight:600;border-radius:9px;padding:6px 3px;background:#F6F1F5;color:var(--muted);text-align:center;line-height:1.15;min-height:30px;display:flex;align-items:center;justify-content:center}
.optsN a.on{background:var(--deep);color:#fff}
.autof{display:flex;gap:8px;align-items:center;background:#F6F1F5;border-radius:14px;padding:11px 14px;font-size:14px;color:var(--muted)}
.autof b{color:var(--ink)}
.fnote{font-size:12.5px;line-height:1.45;color:var(--muted);background:#F6F1F5;border-radius:14px;padding:10px 12px}
.fnote.l{background:#F1E9F6;color:#5A2E70}
.fgrid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fcols{display:grid;grid-template-columns:1fr 1fr;gap:18px 36px;align-items:start}
.fcol{display:flex;flex-direction:column;gap:16px;min-width:0}
.stepfoot{display:flex;gap:10px}
.stepfoot .btn{height:48px;font-size:15px}
.mx td .rd,.mx th{vertical-align:middle}
.mx td.free{padding:4px 14px}
.mx td.q .code{margin-right:6px}
.snav .qitem .t b{line-height:1.3}
.dn{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--warn,#C98A1B);margin-right:6px;flex:none}/* komputer (makiety D) */
.side{width:248px;flex:none;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px 16px;gap:4px}
.side .brandrow{padding:0 10px 22px}
.nav{display:flex;align-items:center;gap:12px;height:44px;padding:0 14px;border-radius:999px;font-size:15px;font-weight:600;color:var(--muted)}
.nav.on{background:var(--tint);color:var(--deep)}
.nav .cnt{margin-left:auto;background:var(--deep);color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px}
.navlbl{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:16px 14px 6px}
.side .grow{flex:1}
.me{display:flex;gap:10px;align-items:center;padding:14px 8px 4px;border-top:1px solid var(--line)}
.me .avatar{width:40px;height:40px;background:var(--brand);color:var(--brand-ink)}
.me b{display:block;font-size:14px;font-weight:600}
.topbar{height:72px;flex:none;display:flex;align-items:center;gap:12px;padding:0 40px;border-bottom:1px solid var(--line);background:var(--surface)}
.topbar .search{width:380px;height:44px}
.topbar .grow{flex:1}
.phead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.phead h1{font-size:34px;font-weight:300;color:var(--deep);margin:0;line-height:1.1}
.phead p{margin:6px 0 0;color:var(--muted);font-size:15px}
.crumb{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--deep)}
.lay2{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.lay2w{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:24px;align-items:start}
.col{display:flex;flex-direction:column;gap:16px;min-width:0}
.c3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.c4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tools{display:flex;gap:12px;align-items:center}
.tools .grow{flex:1}
.select{height:40px;border:1px solid var(--line);border-radius:999px;padding:0 16px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;background:var(--surface);white-space:nowrap}
.tbl{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden}
.tbl th{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:left;padding:14px 20px;border-bottom:1px solid var(--line);background:#FDFAFC}
.tbl td{padding:13px 20px;border-top:1px solid var(--line);font-size:14px;vertical-align:middle}
.tbl tr:nth-child(2) td{border-top:0}
.tbl td b{font-weight:600;font-size:15px}
.tbl td .sub{display:block;font-size:13px;color:var(--muted)}
.tbl .num{font-variant-numeric:tabular-nums;font-weight:600}
.tbl tr.dim td{color:var(--muted)}
.lcard{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.lcard .thumb{height:136px;border-radius:0}
.lcard .lb{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px}
.lcard .lb b{font-size:16px;font-weight:600;line-height:1.3}
.lcard.locked{opacity:.6}
.lcard.locked .thumb{filter:grayscale(1)}
/* auth */
.authd{display:flex;width:100%}
.apanel{width:620px;flex:none;background:var(--brand);padding:48px 56px;display:flex;flex-direction:column;gap:22px;position:relative;overflow:hidden;color:var(--brand-ink)}
.apanel>*{position:relative}
.apanel::before{content:"";position:absolute;width:420px;height:380px;right:-160px;bottom:-140px;border-radius:var(--blob);background:rgba(255,255,255,.2)}
.apanel::after{content:"";position:absolute;width:220px;height:200px;left:-80px;top:-70px;border-radius:var(--blob);background:rgba(255,255,255,.14)}
.apanel h1{font-size:46px;font-weight:300;line-height:1.08;margin:0}
.apanel p{margin:0;font-size:17px;line-height:1.55;max-width:42ch}
.apanel .feat{display:flex;flex-direction:column;gap:12px;margin-top:auto}
.apanel .feat div{display:flex;gap:12px;align-items:center;font-size:15px;font-weight:600}
.apanel .feat span{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;color:var(--deep)}
.aform{flex:1;display:flex;align-items:center;justify-content:center;background:var(--surface)}
.aform .box{width:420px;display:flex;flex-direction:column;gap:18px}
.aform h2{font-size:34px;font-weight:300;color:var(--brand-ink);margin:0}
.aform .lead{margin:-6px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
/* focus (quiz) */
.qfocus{flex:1;display:flex;flex-direction:column}
.fbar{height:72px;flex:none;display:flex;align-items:center;gap:20px;padding:0 40px;background:var(--surface);border-bottom:1px solid var(--line)}
.fbar .progress{flex:1;max-width:520px}
.fbar b{font-size:15px;font-weight:600}
.qcol{width:760px;max-width:100%;display:flex;flex-direction:column;gap:20px}
.ffoot{display:flex;gap:12px;justify-content:space-between;margin-top:8px}
.ffoot .btn{width:200px}
.answers.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
/* modal desktop */
.dscrim{position:absolute;inset:0;background:rgba(59,30,53,.5);display:flex;align-items:center;justify-content:center;z-index:5}
.dialog{background:var(--surface);border-radius:32px;padding:32px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 60px rgba(59,30,53,.3)}
.dialog h2{margin:0;font-size:28px;font-weight:300;color:var(--brand-ink)}
.dialog .hd{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.popover{position:absolute;background:var(--surface);border-radius:24px;box-shadow:0 18px 48px rgba(59,30,53,.25);border:1px solid var(--line);padding:20px;display:flex;flex-direction:column;gap:12px;z-index:5}
/* big calendar */
.bcal{display:grid;grid-template-columns:repeat(7,1fr);background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden}
.bcal .h{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:12px 14px;border-bottom:1px solid var(--line)}
.bcal .d{height:104px;padding:8px 10px;border-top:1px solid var(--line);border-left:1px solid var(--line);display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}
.bcal .d:nth-child(7n+1){border-left:0}
.bcal .d.o{color:#C9BAC5;background:#FDFAFC}
.bcal .d.today>span:first-child{width:26px;height:26px;border-radius:50%;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:center;margin:-3px 0 0 -4px}
.pill{font-size:12px;font-weight:600;border-radius:8px;padding:3px 8px;display:flex;gap:4px;align-items:center;white-space:nowrap;overflow:hidden}
.p-h{background:var(--deep);color:#fff}
.p-t{background:var(--tint-2);color:var(--brand-ink)}
.p-d{background:#E1EDE0;color:#2F5A2C}
.pill.sel{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--deep)}
/* week diet table */
.wtbl td{font-size:13px;line-height:1.4;vertical-align:top}
.wtbl td small{display:block;color:var(--muted);margin-top:2px;font-variant-numeric:tabular-nums}
.wtbl td.mt{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--deep);width:120px}
.wtbl th.on{color:var(--deep);background:var(--tint)}
/* master-detail */
.md{flex:1;display:flex;min-height:0}
.mdl{width:430px;flex:none;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;overflow:hidden}
.mdl .hd{padding:24px 24px 14px;display:flex;flex-direction:column;gap:14px}
.mdl .hd h1{font-size:30px;font-weight:300;color:var(--deep);margin:0}
.mdl .thread{padding:16px 24px}
.mdl .thread.on{background:var(--tint)}
.mdr{flex:1;display:flex;flex-direction:column;min-width:0}
.mdr .scroll{flex:1;padding:28px 40px;display:flex;flex-direction:column;gap:16px;overflow:hidden}
.mdr .composer{padding:14px 40px}
.mdr .chathead{padding:16px 40px}
.mdr .msgs{padding:20px 40px}
.mdr .msg{max-width:60%}
.xli{display:flex;align-items:center;gap:12px;padding:12px 24px}
.xli.on{background:var(--tint)}
.xli .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.xli .t b{font-size:15px;font-weight:600}
.xli .t span{font-size:13px;color:var(--muted)}
.ai{background:var(--brand);color:var(--brand-ink);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.ai::before{content:"";position:absolute;width:180px;height:160px;right:-60px;top:-60px;border-radius:var(--blob);background:rgba(255,255,255,.22)}
.ai>*{position:relative}
.ai p{margin:0;font-size:15px;line-height:1.55}
.statbig{display:flex;flex-direction:column;gap:4px}
.statbig b{font-size:30px;font-weight:300;color:var(--deep);font-variant-numeric:tabular-nums;line-height:1.1}
.statbig span{font-size:13px;color:var(--muted)}
.toc{display:flex;flex-direction:column;gap:2px}
.toc a{padding:10px 14px;border-radius:999px;font-size:14px;font-weight:600;color:var(--muted)}
.toc a.on{background:var(--tint);color:var(--deep)}
.panel{position:absolute;right:40px;top:64px;width:420px;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 48px rgba(59,30,53,.22);z-index:5;display:flex;flex-direction:column;overflow:hidden}
.panel .ph{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 12px}
.panel .ph b{font-size:18px;font-weight:600}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.fgrid .full{grid-column:1/-1}
.secbox{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:14px}
.secbox>h3{margin:0;font-size:16px;font-weight:600}/* ===== aplikacja: podstawa ===== */
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.45}
a{color:inherit;text-decoration:none;cursor:pointer}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
input,textarea,select{font:inherit;color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--deep);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2,h3{text-wrap:balance}
.err{color:var(--bad);font-size:14px;font-weight:600}
.err:empty{display:none}
.okmsg{color:var(--ok);font-size:14px;font-weight:600}
.muted{color:var(--muted)}
.btn{cursor:pointer;text-decoration:none;padding:0 20px;flex:none}
.btn.auto{width:auto}
.btn.sm{height:40px;font-size:14px;padding:0 16px}
.btn[disabled],.btn.dis{background:#D9CCD5;color:#fff;border-color:#D9CCD5;cursor:default}
.chip{cursor:pointer}
.chips{overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
.chips::-webkit-scrollbar{display:none}
.seg a,.seg button{flex:1;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:var(--muted)}
.seg button.on{background:var(--surface);color:var(--deep);box-shadow:0 1px 3px rgba(123,63,110,.16)}
.tabs button{padding:10px 16px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;gap:6px;align-items:center;white-space:nowrap}
.tabs button.on{color:var(--deep);border-color:var(--deep)}
.tabs{overflow-x:auto;scrollbar-width:none}
.li,.pgrow,.thread,.note,.xli,.ev{color:inherit}
a.li:hover,a.pgrow:hover,a.thread:hover,a.note:hover,a.xli:hover,a.ev:hover{background:#FDFAFC}
.list>a:first-child{border-radius:24px 24px 0 0}.list>a:last-child{border-radius:0 0 24px 24px}.list>a:only-child{border-radius:24px}
.empty{color:var(--muted);font-size:14px;margin:0}
.input{width:100%;outline:0}
input.input,textarea.input,select.input{display:block}
textarea.input{height:auto;min-height:84px;padding:12px 16px;line-height:1.45;resize:vertical}
.input:focus{border-color:var(--deep);box-shadow:0 0 0 3px var(--tint-2)}
.input[readonly],.input:disabled{background:var(--bg);color:var(--muted)}
.lesson,.lcard,.part,.att-row,.plan{color:inherit}
.thumb .pl .ic{margin-left:1px}
.part{cursor:pointer;text-align:left;width:100%}
.player-v{position:relative;margin:0 -20px;flex:none;background:#000;border-radius:0 0 36px 36px;overflow:hidden}
.player-v video,.player-v iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}
.player-v .back{position:absolute;left:16px;top:12px;background:rgba(255,255,255,.96);border:0;z-index:2}
.player-v .note{position:absolute;left:0;right:0;bottom:0}
.vnote{font-size:13px;color:var(--muted);margin:0}
.stage .btn{text-decoration:none}
.tile{color:inherit}
.tile .ico .ic{width:20px;height:20px}
.rate{color:inherit}
.lockb .t .progress{height:6px}
.top{min-height:44px}
.top .sp,.sp{width:44px;flex:none}
.top h1.sm{flex:1}
.cal button{width:42px;height:42px;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px;font-weight:600;border-radius:50%;font-variant-numeric:tabular-nums}
.cal button.o{color:#C9BAC5;font-weight:400}
.cal button.sel{background:var(--deep);color:#fff}
.cal button.today{box-shadow:inset 0 0 0 1.5px var(--deep)}
.cal button.sel .ds i{background:#fff}
.opt{cursor:pointer}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt input:checked+.radio{border:7px solid var(--deep)}
.opt input:focus-visible+.radio{outline:2px solid var(--deep);outline-offset:2px}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip:has(input:checked){background:var(--deep);border-color:var(--deep);color:#fff}
.toggle{cursor:pointer;border:0;padding:0}
.bsr{cursor:pointer;width:100%;text-align:left}
.bsr .rd.on{border-width:4px}
.ans,.tf a,.tf button{cursor:pointer;text-align:left;width:100%}
.tf button{height:124px;border-radius:28px;background:var(--surface);border:1.5px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:17px;font-weight:600}
.tf button.sel{border-color:var(--deep);background:var(--tint);box-shadow:0 0 0 1px var(--deep)}
.tf button.sel .c{background:var(--deep);color:#fff}
.mrow select{flex:1;min-height:52px;border-radius:999px;border:1.5px dashed #D6B6CD;padding:4px 14px;font-size:14px;background:#fff;color:var(--ink);min-width:0}
.mrow select.ok{border:1.5px solid var(--deep);background:var(--tint);font-weight:600;color:var(--brand-ink)}
.ring{background:conic-gradient(var(--c) 0 var(--p), var(--cb) var(--p) 100%)}
.ring b{color:var(--c)}
.chart{position:relative}
.bar{min-width:0}
.thread b{display:block}
.post .acts button,.reply .acts button{font-size:13px;font-weight:600;color:var(--deep)}
.acts .del,.post .acts .del{color:var(--bad)}
.msgs{overflow:visible;padding:16px 0}
.msg img{max-width:220px;border-radius:12px;display:block}
.msg .att{color:inherit}
.msg.in .att{background:var(--tint)}
.composer{position:sticky;bottom:0;margin:0 -20px;border-radius:0}
.composer textarea.input{min-height:44px;height:44px;border-radius:22px;padding:10px 16px;resize:none;font-size:15px}
.composer .send[disabled]{opacity:.5}
.chathead{margin:-12px -20px 0;position:sticky;top:0;z-index:5;padding:12px 16px}
.chathead span.sub{color:var(--muted);font-weight:400}
.note .ni .ic{width:20px;height:20px}
.note.new{background:#FDF7FB}
.doc h2,.doc h3{font-size:15px;font-weight:600;margin:0 0 4px}
.doc p,.doc li{margin:0 0 8px;font-size:14px;line-height:1.55;color:var(--muted)}
.doc ul,.doc ol{margin:0 0 8px;padding-left:20px}
.pcard{padding:16px}
.toggle i{transition:left .15s,right .15s}
.mealc .sec-h{align-items:center}
.pdfview{width:100%;height:70vh;border:1px solid var(--line);border-radius:14px;background:#fff}
.fav{cursor:pointer}
.att-th img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.authbg{min-height:100vh;background:var(--brand);display:flex;flex-direction:column}
.auth .hero{padding:48px 28px 26px}
.auth .hero img{width:108px;height:108px;margin-left:-8px}
.sheet{border-radius:36px 36px 0 0}
.sheet form,.box form{display:flex;flex-direction:column;gap:18px}
.rules div.ok::before{content:"✓ "}.rules div.no::before{content:"• "}
.hint a,.foot a{color:var(--deep);font-weight:600}
.stats .stat{min-width:0}
.score{max-width:520px;margin:0 auto}
.sticky{position:sticky;bottom:0;margin:0 -20px;z-index:4}
.sticky .btn{width:100%}
.stepfoot .btn{width:auto}
.stepfoot .btn.grow1{flex:1}
.sticky .fmsg:not(:empty){margin-bottom:8px}
.cardwarn .ic,.lockb .ic{flex:none}
.tbl a.link{white-space:nowrap}
.tbl tr.click{cursor:pointer}
.tbl tr.click:hover td{background:#FDFAFC}
.wk a{color:inherit}
.kind.diet{background:#E1EDE0;color:#2F5A2C}
.rem{min-width:36px}
.date.sm{width:44px;height:46px}
/* modal: arkusz od dołu na telefonie, okno na środku na komputerze */
.scrim{position:fixed;inset:0;background:rgba(59,30,53,.55);display:flex;align-items:flex-end;justify-content:center;z-index:50}
.modal{max-height:92vh;overflow-y:auto;max-width:640px}
.modal>*{flex-shrink:0}
.modal .row2{display:flex;gap:12px}
.modal .row2 .btn{flex:1}
dialog{border:0;border-radius:32px;padding:28px;max-width:min(520px,calc(100vw - 32px));box-shadow:0 24px 60px rgba(59,30,53,.3);color:var(--ink)}
dialog::backdrop{background:rgba(59,30,53,.55)}
dialog h2{margin:0 0 12px;font-size:26px;font-weight:300;color:var(--brand-ink)}
dialog p{color:var(--muted);line-height:1.5}
dialog .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
dialog .row .btn{width:auto;flex:1}
dialog .btn.ghost{background:var(--surface);color:var(--deep);border:1.5px solid var(--deep)}
dialog .btn.danger{background:var(--bad);color:#fff}
dialog input[type=text]{width:100%;height:48px;border-radius:14px;border:1.5px solid var(--line);padding:0 14px;margin:6px 0}
dialog label{font-size:14px;font-weight:600}

/* ===== szkielet: telefon ===== */
.shell{min-height:100vh;display:flex}
.side,.topbar{display:none}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.content{flex:1;width:100%;max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:20px;padding:14px 20px calc(88px + env(safe-area-inset-bottom))}
.content.tight{gap:14px}
.content.nobar{padding-bottom:24px}
.content.flush{padding-top:0}
.content>*{flex-shrink:0}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;height:auto;min-height:64px;padding:0 8px env(safe-area-inset-bottom)}
.tab{position:relative}
.tab .cnt{position:absolute;top:2px;left:50%;margin-left:6px;background:var(--red);color:#fff;font-size:10px;font-weight:700;border-radius:999px;padding:1px 6px;line-height:1.3}
.iconbtn .cnt{position:absolute;top:4px;right:4px;background:var(--red);color:#fff;font-size:10px;font-weight:700;border-radius:999px;padding:1px 5px;line-height:1.3;border:2px solid var(--surface)}
@media (max-width:1023px){
  .d-only{display:none!important}
  .lay2,.lay2w,.c3,.c4,.md{display:flex;flex-direction:column;gap:16px}
  .mdl{display:none}
  .phead.d-only{display:none}
}
/* ===== szkielet: komputer ===== */
@media (min-width:1024px){
  .m-only{display:none!important}
  .tabbar{display:none}
  .side{display:flex;position:sticky;top:0;height:100vh;overflow-y:auto}
  .side .brandrow img{width:auto;height:120px;display:block}
  .nav{text-decoration:none}
  .nav:hover:not(.on){background:#FBF5F9;color:var(--deep)}
  .me .avatar{background:var(--tint);color:var(--deep)}
  .topbar{display:flex;position:sticky;top:0;z-index:15}
  .topbar .search{padding:0 16px}
  .topbar .search input{flex:1;border:0;outline:0;background:transparent;font-size:15px;color:var(--ink);min-width:0}
  .content{max-width:1280px;margin:0;padding:28px 40px 48px}
  .content.wide{max-width:none}
  .content.flush{padding-top:28px}
  .player-v{margin:0;border-radius:28px}
  .composer,.sticky{margin:0;border-radius:20px;border:1px solid var(--line)}
  .sticky{bottom:16px;box-shadow:0 8px 24px rgba(123,63,110,.12)}
  .chathead{margin:0;border-radius:24px 24px 0 0;border:1px solid var(--line);top:72px}
  .scrim{align-items:center}
  .modal{width:520px;border-radius:32px;padding:32px}
  .modal .grab{display:none}
  .md{display:flex;gap:0;margin:-28px -40px -48px;min-height:calc(100vh - 72px)}
  .mdl{display:flex;position:sticky;top:72px;height:calc(100vh - 72px);overflow-y:auto}
  .mdr .scroll{overflow:visible}
  .mdr{padding:28px 40px 48px;gap:16px}
  .mdr>*{flex-shrink:0}
  .lgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
  .tiles{grid-template-columns:repeat(3,1fr)}
  .npanel{position:fixed;right:40px;top:64px;width:420px;max-height:calc(100vh - 96px);background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 48px rgba(59,30,53,.22);z-index:30;display:flex;flex-direction:column;overflow:hidden}
  .npanel .list{border:0;border-radius:0;overflow-y:auto}
  .npanel .ph{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 12px}
  .npanel .ph b{font-size:18px;font-weight:600}
  .npanel .pf{padding:12px 20px;border-top:1px solid var(--line);text-align:center}
}
.npanel{display:none}
@media (min-width:1024px){.npanel.open{display:flex}}
@media (min-width:1280px){.lay2{grid-template-columns:minmax(0,1fr) 400px}}

/* ===== kwestionariusze (renderer wspólny) w stylu makiet ===== */
.form{display:flex;flex-direction:column;gap:18px}
.form .sec{display:flex;flex-direction:column;gap:18px}
.form .sec>h3{margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.form .q{display:flex;flex-direction:column;gap:7px;min-width:0}
.form .q.miss{box-shadow:inset 3px 0 0 var(--bad);background:#FFF9F8;border-radius:12px;padding:8px 10px}
.form .missmsg{color:var(--bad);font-size:12.5px;font-weight:600}
.form .qt{font-size:14px;font-weight:600;line-height:1.4}
.form .lead{font-size:14px;font-weight:600;line-height:1.4}
.form .hint{font-size:12.5px;line-height:1.4;color:var(--muted)}
.form .q.note p{margin:0;font-size:12.5px;line-height:1.45;color:var(--muted);background:#F6F1F5;border-radius:14px;padding:10px 12px}
.form .qimg{margin:0}.form .qimg img{max-width:100%;border-radius:14px}.form .qimg figcaption{font-size:12px;color:var(--muted)}
.pills{display:flex;flex-direction:column;gap:6px}
.pills.inl{flex-direction:row;flex-wrap:wrap;gap:6px 8px}
.pill{position:relative;display:flex}
.pill input{position:absolute;opacity:0;pointer-events:none}
.pill label{flex:1;display:flex;gap:9px;align-items:center;padding:8px 12px;border:1.5px solid var(--line);border-radius:14px;font-size:13.5px;line-height:1.3;background:#fff;color:var(--ink);cursor:pointer}
.pills.inl .pill label{border-radius:999px;padding:7px 14px;font-size:13px}
.pill label::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;border:2px solid #CDBFCA;background:#fff;box-sizing:border-box}
.pill input[type=checkbox]+label::before{border-radius:5px;width:18px;height:18px}
.pill input:checked+label{border-color:var(--deep);background:var(--tint);font-weight:600;color:var(--deep)}
.pill input:checked+label::before{border:4px solid var(--deep)}
.pill input[type=checkbox]:checked+label::before{border:2px solid var(--deep);background:var(--deep);box-shadow:inset 0 0 0 2px #fff}
.pill input:focus-visible+label{outline:2px solid var(--deep);outline-offset:2px}
.pill input:disabled+label{opacity:.55;cursor:default}
.pill input:disabled:checked+label{opacity:1}
.subs{display:flex;flex-direction:column;gap:8px;margin-left:6px;padding-left:12px;border-left:2px solid var(--tint-2)}
.subf{display:flex;flex-direction:column;gap:5px}
.subf>label{font-size:12.5px;color:var(--muted);line-height:1.35}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.form input[type=text],.form input[type=number],.form input[type=date],.form input[type=time],.form textarea,.form select{width:100%;height:44px;border-radius:14px;border:1.5px solid var(--line);background:#fff;padding:0 12px;font-size:14px;outline:0}
.form textarea{height:auto;min-height:72px;padding:10px 12px;line-height:1.45}
.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--deep);box-shadow:0 0 0 3px var(--tint-2)}
.form input:disabled,.form textarea:disabled{background:var(--bg);color:var(--muted)}
.withunit{display:flex;align-items:center;gap:8px}
.withunit input{flex:1}
.withunit .unit{font-size:12.5px;color:var(--muted);white-space:nowrap}
.form .extra{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink)}
.form .extra input[type=checkbox]{width:18px;height:18px;accent-color:var(--deep)}
.form .vas{display:flex;gap:6px;flex-wrap:wrap}
.form .vas button{flex:1;min-width:28px;height:34px;border-radius:10px;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;background:#fff;text-align:center}
.form .vas button.on{background:var(--deep);border-color:var(--deep);color:#fff}
.form .vasnum{width:84px!important;display:inline-block}
.form output{display:flex;gap:8px;align-items:center;background:#F6F1F5;border-radius:14px;padding:11px 14px;font-size:14px;font-weight:600;color:var(--ink)}
.form .code{font-size:11px;font-weight:700;color:var(--deep);background:var(--tint);border-radius:6px;padding:2px 6px;margin-right:6px;white-space:nowrap}
.form .warnmsg{color:var(--warn);font-size:12.5px}
/* macierz: karta z przyciskami jak w makiecie; Tak/Nie w jednym wierszu */
.form .mrow{background:#fff;border:1px solid var(--line);border-radius:16px;padding:9px 11px;display:flex;flex-direction:column;gap:7px}
.form .mrow.miss{border-color:var(--bad)}
.form .mlabel{font-size:13.5px;font-weight:600;line-height:1.3}
.form .mrow .pills{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px}
.form .mrow .pill label{justify-content:center;text-align:center;font-size:10.5px;font-weight:600;border-radius:9px;padding:6px 3px;background:#F6F1F5;color:var(--muted);line-height:1.15;min-height:30px;border:0}
.form .mrow .pill label::before{display:none}
.form .mrow .pill input:checked+label{background:var(--deep);color:#fff}
.form .mrow:has(.pills.n2){flex-direction:row;align-items:center;gap:10px}
.form .mrow:has(.pills.n2) .mlabel{flex:1;font-weight:400;font-size:13px;line-height:1.35}
.form .mrow:has(.pills.n2) .pills{display:flex;gap:6px;flex:none}
.form .mrow:has(.pills.n2) .pill label{font-size:12px;font-weight:700;border-radius:999px;padding:5px 12px;min-width:44px;min-height:0}
.stepbar b{color:var(--ink)}
.qsub{font-size:13px;color:var(--muted);margin-top:-8px}
@media (min-width:1024px){
  .form .mrow .pill label{font-size:12px}
  .qform{max-width:820px}
}
/* quiz: tryb skupienia (D15–D19), dopasowanie, wynik */
.shell.focus .side,.shell.focus .topbar{display:none!important}
.qcol{width:760px;max-width:100%;align-self:center;display:flex;flex-direction:column;gap:20px}
.qbar{margin:-28px -40px 8px;position:sticky;top:0;z-index:5}
.mgrid{display:flex;flex-direction:column;gap:14px}
.slot{background:transparent;text-align:left;cursor:pointer;color:var(--muted)}
.slot.filled{cursor:pointer}
.dchip{cursor:pointer}
.dchip.lift{transform:none}
.resbtns{display:flex;flex-direction:column;gap:6px}
.plans2 .plan .thumb{height:88px}
.plan .fav{border:0}
@media (min-width:1024px){
  .question{font-size:32px}
  .qcol .answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .mgrid{display:grid;grid-template-columns:1fr 260px;gap:20px;align-items:start}
  .mq{width:180px}
  .ffoot .btn{width:200px}
  .resbtns{flex-direction:row;justify-content:center;gap:12px}
  .resbtns .btn{width:260px}
  .resbtns .btn.text{background:var(--surface);color:var(--deep);border:1.5px solid var(--deep);height:52px}
  .dgrid{grid-template-columns:repeat(4,1fr);gap:16px}
  .dgrid .plan .thumb{height:110px}
  .tools .chips{flex-wrap:wrap}
}
/* konto (M01–M04 / D01–D04) */
.authd{min-height:100vh;display:flex;flex-direction:column;background:var(--brand)}
.apanel{background:var(--brand);color:var(--brand-ink);padding:max(28px,env(safe-area-inset-top)) 28px 26px;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden}
.apanel>*{position:relative}
.apanel .alogo{width:108px;height:108px;margin-left:-8px}
.apanel h1{font-size:30px;font-weight:300;line-height:1.12;margin:0;color:var(--brand-ink)}
.apanel p{margin:0;font-size:15px;line-height:1.5}
.aform{flex:1;background:var(--surface);border-radius:36px 36px 0 0;padding:28px 24px calc(24px + env(safe-area-inset-bottom))}
.aform .box{width:100%;max-width:440px;margin:0 auto;display:flex;flex-direction:column;gap:18px}
.aform form{display:flex;flex-direction:column;gap:18px}
.aform .btn{width:100%}
@media (min-width:1024px){
  .authd{flex-direction:row}
  .apanel{width:min(620px,45vw);flex:none;padding:48px 56px;gap:22px}
  .apanel::before{content:"";position:absolute;width:420px;height:380px;right:-160px;bottom:-140px;border-radius:var(--blob);background:rgba(255,255,255,.2)}
  .apanel::after{content:"";position:absolute;width:220px;height:200px;left:-80px;top:-70px;border-radius:var(--blob);background:rgba(255,255,255,.14)}
  .apanel .alogo{width:200px;height:200px;margin:0}
  .apanel h1{font-size:46px;line-height:1.08}
  .apanel p{font-size:17px;line-height:1.55;max-width:42ch}
  .apanel .feat{display:flex;flex-direction:column;gap:12px;margin-top:auto}
  .aform{border-radius:0;display:flex;align-items:center;justify-content:center;padding:48px}
  .aform .box{width:420px}
}
/* sesja, ocena wysiłku, czat */
.li.boxed{border:1px solid var(--line);border-radius:24px;background:var(--surface)}
.sesstage{gap:8px;padding:16px}
.sesstage h3{font-size:20px}
.rpegrid{display:flex;flex-direction:column;gap:12px}
.rpecol .hd{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.rpecol .hd h2{margin:6px 0 0;font-size:28px;font-weight:300;color:var(--brand-ink)}
.rpefoot{flex-direction:column-reverse;gap:6px}
.rpefoot .btn{width:100%}
.chatcomp{flex-direction:column;align-items:stretch;gap:6px}
.chatpage .mdr{min-height:calc(100vh - 40px)}
.chatcol .msgs{flex:1}
.mdr{gap:14px}
.ansbar{margin-top:4px}
.select{cursor:pointer}
@media (min-width:1024px){
  .sesstage{padding:24px}
  .sesstage h3{font-size:26px;font-weight:300}
  .rpecol{width:780px;background:var(--surface);border-radius:32px;padding:32px;box-shadow:0 24px 60px rgba(59,30,53,.18);margin-top:24px}
  .rpegrid{display:grid;grid-template-columns:340px 1fr;gap:28px;align-items:start}
  .rpefoot{flex-direction:row;justify-content:flex-end}
  .rpefoot .btn{width:auto;flex:none;padding:0 24px}
  .rpecol .stepfoot{justify-content:flex-end}
  .rpecol .stepfoot .btn.grow1{flex:none;width:200px}
  .chatpage .md{min-height:calc(100vh - 72px)}
  .chatcol{padding:0!important;gap:0!important}
  .chatcol .chathead{border-radius:0;border:0;border-bottom:1px solid var(--line);top:72px;padding:16px 40px}
  .chatcol .msgs{padding:20px 40px}
  .chatcol .msg{max-width:60%}
  .chatcol .composer{border-radius:0;border:0;border-top:1px solid var(--line);padding:14px 40px;box-shadow:none}
  .ansbar{position:static;box-shadow:none;border:0;padding:0;background:none}
  .ansbar .btn{width:240px}
  .mdr .sticky{max-width:820px}
}
@media (min-width:1024px){.shell.focus .content{max-width:none}}
/* pytania Tak/Nie jak wiersze .qr z makiety KIDMED */
.form .q:has(> .pills.n2.inl){flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 10px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 12px}
.form .q:has(> .pills.n2.inl)>*{flex-basis:100%;order:3}
.form .q:has(> .pills.n2.inl)>.lead{order:0}
.form .q:has(> .pills.n2.inl)>.qt{flex:1 1 0;min-width:0;order:1;font-size:13.5px;font-weight:500}
.form .q:has(> .pills.n2.inl)>.pills{order:2;flex-basis:auto;flex-wrap:nowrap;gap:6px}
.form .q:has(> .pills.n2.inl)>.pills .pill label{font-size:12px;font-weight:700;border-radius:999px;padding:5px 12px;min-width:48px;justify-content:center;background:#F1ECF0;color:var(--muted);border:0}
.form .q:has(> .pills.n2.inl)>.pills .pill label::before{display:none}
.form .q:has(> .pills.n2.inl)>.pills .pill input:checked+label{background:var(--deep);color:#fff}
.form .q:has(> .pills.n2.inl)>.missmsg{order:4}
.meta{flex-wrap:wrap;row-gap:4px}.meta span{white-space:nowrap}
.ffoot{display:flex;gap:10px}.ffoot>span{display:none}.ffoot .btn{flex:1}.ffoot .btn.sec2{flex:none;width:120px}@media (min-width:1024px){.ffoot{justify-content:space-between}.ffoot>span{display:block}.ffoot .btn,.ffoot .btn.sec2{flex:none;width:200px}}
@media (max-width:1023px){.aform{display:block}}
/* dzienniczek (renderer wspólny) w stylu makiet M116 */
.form.diary{gap:20px}
.form.diary .sec{background:none;gap:12px}
.form.diary .sec>h3{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:6px 0 0}
.form.diary .meal{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.form.diary .meal>strong{font-size:14px;font-weight:600;color:var(--ink)}
.form.diary .subf.wide{grid-column:1/-1}
.form .btn.secondary,.form .btn.ghost{width:auto;height:44px;font-size:15px}
.form .btn.secondary{background:var(--surface);color:var(--deep);border:1.5px solid var(--deep);width:100%;height:46px}
.form .btn.ghost{background:transparent;color:var(--bad);height:36px;font-size:13px;padding:0 4px;align-self:flex-start}
.form input.bad{border-color:var(--bad)}
@media (min-width:1024px){.form.diary .meal{display:grid;grid-template-columns:140px 1fr;gap:10px 14px}.form.diary .meal>strong,.form.diary .meal>.btn{grid-column:1/-1}}
.pgrow .badge,.xli .badge{white-space:normal;text-align:right;max-width:48%;flex-shrink:0}.mdr>.badge{align-self:flex-start}
@media (max-width:1023px){.apanel{width:auto}}
@media (min-width:1024px) and (max-width:1279px){.tbl th,.tbl td{padding-left:12px;padding-right:12px}.tbl a.link{white-space:normal}}
/* menu boczne: stała wysokość ekranu, odstępy zmniejszają się na niższych ekranach; przewijanie dopiero gdy i tak się nie mieści */
@media (min-width:1024px){
  .side{height:100vh;height:100dvh;overscroll-behavior:contain;padding-top:clamp(12px,3vh,26px);padding-bottom:clamp(8px,2vh,16px);gap:clamp(0px,.5vh,4px)}
  .side>*{flex-shrink:0}
  .side .brandrow{padding-bottom:clamp(6px,2.4vh,22px)}
  .side .brandrow img{height:clamp(64px,14vh,120px);width:auto}
  .side .nav{height:auto;min-height:clamp(32px,4.7vh,44px);padding-top:3px;padding-bottom:3px;line-height:1.2}
  .side .navlbl{padding-top:clamp(6px,1.8vh,16px);padding-bottom:clamp(2px,.7vh,6px)}
  .side .me{padding-top:clamp(8px,1.6vh,14px)}
}
/* przypomnienia: wielokrotny wybór (kwadratowe pola) */
.radio.sq{border-radius:7px}
.opt input:checked+.radio.sq{border:2px solid var(--deep);background:var(--deep);box-shadow:inset 0 0 0 3px #fff}
.opt.dis{opacity:.45;cursor:not-allowed}
/* telefon: przyciski kroków (Wstecz/Dalej) zawsze przy dolnej krawędzi ekranu, w zasięgu kciuka */
@media (max-width:1023px){
  .thumbbar{position:fixed;left:0;right:0;bottom:0;z-index:30;margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);border-radius:0;box-shadow:0 -6px 20px rgba(123,63,110,.08)}
  .shell:has(.thumbbar) .content{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
}
/* forum: przypięte tematy (ważne informacje) */
.thread.pinned{background:#FBF3F8;box-shadow:inset 3px 0 0 var(--deep)}
.thgrp{display:flex;align-items:center;gap:6px;padding:12px 16px 6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--deep);border-top:1px solid var(--line)}
.thgrp:first-child{border-top:0}
.mdl .thgrp{padding:14px 24px 6px}
