/* Кабінет 2.0 · вкладка «Моє» (ТЗ v1.4 розділ 2, unit MINE). Every class starts with c2-m-* (shared kit classes are not restyled here).
   Mobile-first 360/390: no horizontal page scroll (grids use minmax(0,1fr)), every tap target ≥ 44 px. */
.c2-m{display:flex;flex-direction:column;gap:14px}
.c2-m-scr{display:flex;flex-direction:column;gap:12px}
.c2-m-link{align-self:flex-start}
.c2-m-warn{color:var(--warn)}
.c2-m-note{margin:0}
.c2-m-hint{margin:0}
.c2-m-center{text-align:center;margin:0}
@keyframes c2-m-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.c2-m *{animation:none!important;transition:none!important}}

/* ---------- Що зробити зараз ---------- */
.c2-m-steps .c2-step-active .c2-step-a{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--ink)}
.c2-m-steps .c2-step-t{overflow-wrap:anywhere}
.c2-m-steps-l.is-small .c2-step-a{min-height:44px;padding:6px 10px}
.c2-m-steps-n{margin:0}
.c2-m-alldone{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:var(--r);background:var(--ok-soft)}
.c2-m-alldone-i{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--ok);color:#fff}
.c2-m-alldone-t{font-weight:800;line-height:1.35}
.c2-m-alldone .c2-m-link{min-height:44px}
.c2-m-ro{display:flex;flex-direction:column;gap:8px}
.c2-m-ro li{display:flex;align-items:center;gap:10px;min-height:32px;color:var(--ink-soft)}
.c2-m-ro li.is-done{color:var(--muted)}

/* ---------- Мій час ---------- */
.c2-m-time{border-color:var(--gold);background:var(--gold-soft)}
.c2-m-be{font-size:1.375rem;font-weight:800;line-height:1.25}
.c2-m-halls{display:flex;flex-direction:column;gap:4px;font-weight:600}
.c2-m-time .c2-st-small{margin:0}

/* ---------- Порадь клас (RefCard, gold frame) ---------- */
.c2-m-ref{border:1.5px solid var(--gold);background:linear-gradient(180deg,var(--gold-soft),var(--bg) 70%)}
.c2-m-ref-t{font-size:1.125rem}
.c2-m-ref-h{font-size:.875rem;color:var(--ink-soft);line-height:1.45}
.c2-m-ref-l{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:var(--r);background:var(--bg);border:1px solid var(--line);font-weight:700;font-size:.9375rem}
.c2-m-ref-a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.c2-m-ref-a .c2-btn{flex:1 1 160px}
.c2-m-ref-terms{min-width:44px;justify-content:center}
.c2-m-ref-n{font-size:.875rem;font-weight:700;color:var(--gold-ink)}

/* ---------- Мій альбом ---------- */
.c2-m-ah{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start}
.c2-m-cov{display:block;width:84px;padding:0;border:0;background:none;cursor:pointer;border-radius:8px}
.c2-m-cov .c2-img{border-radius:8px;box-shadow:0 6px 18px rgba(20,20,22,.16)}
.c2-m-ahb{display:flex;flex-direction:column;gap:2px;min-width:0}
.c2-m-ahb .c2-st-small{margin:0}
.c2-m-at{font-size:1.25rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.c2-m-inc{margin:0;display:flex;flex-direction:column}
.c2-m-inc-r{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:40px;padding:2px 0;border-bottom:1px solid #f1f1f3}
.c2-m-inc-r:last-child{border-bottom:0}
.c2-m-inc dt{color:var(--muted);font-size:.9375rem;min-width:0}
.c2-m-inc dd{margin:0;font-weight:700;text-align:right}
.c2-m-inc-b{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:-4px 0;padding:0 0 0 8px;border:0;background:none;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;text-align:right}
.c2-m-inc-b .c2-ic{color:var(--gold-ink)}
.c2-m-tiers{display:flex;flex-direction:column;gap:8px;padding-top:4px}
.c2-m-tiers .c2-st-h3,.c2-m-tiers .c2-st-small{margin:0}
.c2-m-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.c2-m-tc{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;padding:8px 4px;border:1.5px solid var(--line);border-radius:14px;
  background:var(--bg);color:var(--ink);font:inherit;text-align:center;text-decoration:none;cursor:pointer;transition:border-color .2s,box-shadow .2s,background-color .2s}
.c2-m-tc-l{font-weight:800;font-size:.9375rem;line-height:1.2}
.c2-m-tc small{font-size:.8125rem;color:var(--muted);font-weight:700;white-space:nowrap}
.c2-m-tc small.is-own{color:var(--gold-ink)}
.c2-m-tc.is-own{background:var(--bg-warm)}
.c2-m-tc.is-on{border-color:var(--gold);box-shadow:inset 0 0 0 1.5px var(--gold);background:var(--gold-soft)}
.c2-m-tc.is-off{opacity:.45;cursor:default}
.c2-m-tc.is-ro{cursor:default}
.c2-m-tc:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.c2-m-off{margin:0;font-weight:700}

/* ---------- Оплата ---------- */
.c2-m-pay{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid #f1f1f3}
.c2-m-paycard .c2-m-pay{padding-top:0;border-top:0}
.c2-m-pay .c2-st-h3,.c2-m-pay .c2-st-small{margin:0}
.c2-m-pl{display:flex;align-items:flex-start;gap:8px;font-weight:700;line-height:1.4}
.c2-m-pl .c2-ic{margin-top:2px;flex:none}
.c2-m-pl.is-ok{color:var(--ok)}
.c2-m-pl.is-warn{color:var(--warn)}
.c2-m-pl.is-info{color:var(--gold-ink)}
.c2-m-pl-sub{padding-left:26px}
.c2-m-total{font-weight:800;font-size:1.0625rem}
.c2-m-pay-a{display:flex;flex-direction:column;align-items:stretch;gap:2px;margin-top:4px}
.c2-m-later{align-self:center;justify-content:center;min-width:44px}
.c2-m-why{padding:10px 12px;border-radius:var(--r);background:var(--bg-soft);color:var(--ink-soft)}

/* ---------- Товщина / опції дизайну / про дизайн ---------- */
.c2-m-thp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.c2-m-thp-f{margin:0;display:flex;flex-direction:column;gap:6px;padding:6px;border-radius:14px;border:1.5px solid var(--line);opacity:.75;transition:opacity .2s,border-color .2s}
.c2-m-thp-f.is-on{opacity:1;border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.c2-m-thp-f figcaption{display:flex;flex-direction:column;font-size:.8125rem;color:var(--muted);line-height:1.3}
.c2-m-thp-f figcaption b{color:var(--ink);font-size:.9375rem}
.c2-m-thl{display:flex;flex-direction:column}
.c2-m-thl li{display:flex;justify-content:space-between;gap:12px;min-height:36px;align-items:center;border-bottom:1px solid #f1f1f3}
.c2-m-thl li:last-child{border-bottom:0}
.c2-m-thl li.is-on{font-weight:800}
.c2-m-feats{display:flex;flex-direction:column;gap:12px}
.c2-m-feat{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start}
.c2-m-feat-i,.c2-m-feat-v{width:96px;border-radius:10px}
.c2-m-feat-v{grid-column:1/-1;width:100%;max-height:60dvh;background:#000}
.c2-m-feat-b{display:flex;flex-direction:column;gap:2px;min-width:0}
.c2-m-feat-b .c2-st-small{margin:0}
.c2-m-feat-t{font-weight:800;line-height:1.3}
.c2-m-about-w{position:relative}
.c2-m-about-f{opacity:0;transition:opacity .25s}
.c2-m-about-f.is-ready{opacity:1}
.c2-m-about-s{position:absolute;left:50%;top:40px;margin-left:-10px}

/* ---------- екран вибору комплектації ---------- */
.c2-m-bl{margin:0}
.c2-m-c4s{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.c2-m-c4{display:flex;flex-direction:column;gap:6px;min-width:0;padding:6px;border:1.5px solid var(--gold);border-radius:16px;background:var(--bg);color:var(--ink);font:inherit;text-align:left;cursor:default}
button.c2-m-c4{cursor:pointer}
.c2-m-c4-p{display:block;overflow:hidden;border-radius:11px;aspect-ratio:4/3;background:var(--bg-soft)}
.c2-m-c4-i{width:100%;height:100%;object-fit:cover;border-radius:0;animation:c2-m-fade .35s ease both}
.c2-m-c4-i.is-cal{object-position:50% 45%}
.c2-m-c4-t{display:flex;flex-direction:column;padding:0 4px 4px;line-height:1.25}
.c2-m-c4-t b{font-size:1rem;font-weight:800}
.c2-m-c4-t small{font-size:.8125rem;color:var(--gold-ink);font-weight:700}
.c2-m-gal{display:flex;flex-direction:column;gap:6px}
.c2-m-gal .c2-st-h3,.c2-m-gal .c2-st-small{margin:0}
.c2-m-gal-l{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;animation:c2-m-fade .35s ease both}
.c2-m-gal-l::-webkit-scrollbar{display:none}
.c2-m-gal-l li{position:relative;flex:0 0 42%;max-width:180px;scroll-snap-align:start}
.c2-m-gal-l .c2-img{border-radius:12px}
.c2-m-gal-c{position:absolute;left:6px;right:6px;bottom:6px;padding:3px 6px;border-radius:8px;background:rgba(20,20,22,.6);color:#fff;font-size:.6875rem;font-weight:600;line-height:1.3}
.c2-m-gal-c b{font-weight:800}
.c2-m-closed{padding:10px 12px;border-radius:var(--r);background:var(--bg-soft)}

/* ---------- Мої фото / Мої сторінки ---------- */
.c2-m-empty{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:var(--r);background:var(--bg-warm)}
.c2-m-empty .c2-st-p{margin:0}
.c2-m-empty-i{width:64px;border-radius:8px}
.c2-m-ph{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.c2-m-ph figure{margin:0;position:relative}
.c2-m-ph figcaption{position:absolute;left:4px;bottom:4px;padding:1px 6px;border-radius:6px;background:rgba(20,20,22,.6);color:#fff;font-size:.6875rem}
.c2-m-pg{display:flex;flex-direction:column;gap:10px}
.c2-m-pg li{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}
.c2-m-pg-i{width:44px;border-radius:6px}
.c2-m-pg-t{display:flex;flex-direction:column;min-width:0}
.c2-m-pg-t .c2-st-small{margin:0}
.c2-m-pg-t small{font-weight:600;color:var(--muted);font-size:.75rem}
.c2-m-dl{margin:0;color:var(--gold-ink);font-weight:700}

/* ---------- додаткові опції (екран опцій: фото двох сторінок поруч, «пізніше» посиланням) ---------- */
.c2-m-opt2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.c2-m-opt2 .c2-img{border-radius:8px}
.c2-m-optlater{align-self:center;justify-content:center}
@media (max-width:370px){.c2-m-ah{grid-template-columns:68px minmax(0,1fr)}.c2-m-cov{width:68px}.c2-m-feat{grid-template-columns:76px minmax(0,1fr)}.c2-m-feat-i{width:76px}}

/* ===================== v1.15 (unit MINE, 05.11): illustrations, three-state tier, payment rows, options card, pages + submit, referral ===================== */
.c2-m-art{display:block;min-width:0}
.c2-m-art svg{display:block;width:100%;height:auto}
.c2-card.is-hl,.c2-m-pgr.is-hl,.c2-opt.is-hl{box-shadow:0 0 0 2px var(--gold);border-color:var(--gold)}
.c2-m-test{margin:0;padding:8px 12px;border-radius:var(--r);background:var(--bg-soft);color:var(--muted);font-size:.875rem;font-weight:700;text-align:center}
.c2-m-small{align-self:flex-start;font-size:.875rem;min-height:44px}
.c2-m-c4-p{display:block;overflow:hidden;border-radius:11px}
.c2-m-tc-tag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);padding:1px 8px;border-radius:999px;background:var(--gold);color:#fff;font-style:normal;font-size:.6875rem;font-weight:800;white-space:nowrap}
.c2-m-tline{display:flex;align-items:flex-start;gap:8px;margin:0;font-weight:800;line-height:1.35}
.c2-m-tline.is-ok{color:var(--gold-ink)}   /* (p3close 07.11) «Стандарт оплачено ✓» / «Стандарт · подарунок ✓» — one gold line, as in the header */
.c2-m-tline .c2-ic{flex:none;margin-top:2px}
.c2-m-inc-why{margin:-2px 0 4px;padding:8px 10px;border-radius:10px;background:var(--bg-soft)}
.c2-m-pair{max-width:360px;margin:0 auto;width:100%}
.c2-m-how summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer;color:var(--gold-ink)}
.c2-m-how .c2-m-thp{margin-top:6px}
.c2-m-fl{display:flex;flex-direction:column;gap:8px}
.c2-m-fr{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:12px;align-items:center;min-height:56px;padding:6px 8px;border:1px solid var(--line);border-radius:14px;color:inherit;text-decoration:none}
.c2-m-fr-i{width:48px}
.c2-m-fr-t{display:flex;flex-direction:column;min-width:0}
.c2-m-fr-t .c2-st-small{margin:0}
.c2-m-fr .c2-ic{color:var(--gold-ink)}
/* payment rows */
.c2-m-lns{display:flex;flex-direction:column;gap:6px}
.c2-m-ln{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding:8px 10px;border-radius:10px;background:var(--bg-soft)}
.c2-m-ln.is-late{grid-template-columns:20px minmax(0,1fr) auto;background:var(--warn-soft);color:var(--warn)}
.c2-m-ln-t{display:flex;flex-direction:column;min-width:0;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.c2-m-ln-t small{font-weight:600;color:var(--muted);font-size:.8125rem}
.c2-m-ln.is-paid small{color:var(--ok)}
.c2-m-ln-x{min-height:44px;font-size:.875rem}
.c2-m-rest{color:var(--muted)}
/* section cards (whole card = the link) */
.c2-m-sec{color:inherit;text-decoration:none}
.c2-m-sec-h{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px}
.c2-m-sec-h .c2-ic{color:var(--gold-ink);flex:none}
.c2-m-sec .c2-st-small{margin:0}
.c2-m-cnt{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:var(--bg-soft);color:var(--muted);font-size:.8125rem;font-weight:800;vertical-align:2px}
.c2-m-slot{display:block;aspect-ratio:2/3;border:1.5px dashed #cfcfd4;border-radius:8px;background:var(--bg-warm)}
.c2-m-tl{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.c2-m-tl li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;line-height:1.4}
.c2-m-tl-d{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px;border-radius:50%;border:1.5px solid var(--gold);color:#fff}
.c2-m-tl li.is-done .c2-m-tl-d{background:var(--ok);border-color:var(--ok)}
.c2-m-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.c2-m-thumbs .c2-img{border-radius:8px;object-fit:cover}
/* options screen */
.c2-m-sw{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 12px 0 6px;border:1.5px solid var(--line);border-radius:999px;background:var(--bg);font:inherit;font-weight:700;color:var(--ink);cursor:pointer}
.c2-m-sw i{position:relative;width:40px;height:24px;border-radius:999px;background:#d9d9de;transition:background .2s;flex:none}
.c2-m-sw i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.c2-m-sw.is-on{border-color:var(--gold)}
.c2-m-sw.is-on i{background:var(--gold)}
.c2-m-sw.is-on i::after{transform:translateX(16px)}
.c2-m-sw:disabled{opacity:.6;cursor:default}
.c2-m-opt-pair svg{display:block;width:100%;height:auto;border-radius:10px}
/* pages */
.c2-m-pgl{display:flex;flex-direction:column;gap:8px}
.c2-m-pgl.is-req{padding:8px;margin:0 -8px;border-radius:14px;background:var(--bg-warm)}
.c2-m-pgr{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:60px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:inherit;text-decoration:none}
.c2-m-pgr-i{width:44px}
.c2-m-pgr-t{display:flex;flex-direction:column;gap:1px;min-width:0}
.c2-m-pgr-t .c2-st-small{margin:0}
.c2-m-pgr>.c2-ic{color:var(--gold-ink)}
.c2-m-pgo{margin:2px 0 0;font-weight:700}
.c2-m-st{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:.8125rem;font-weight:800;line-height:1.3}
.c2-m-st i{width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none}
.c2-m-st.is-gold{color:var(--gold-ink)}
.c2-m-st.is-ok{color:var(--ok)}
.c2-m-st.is-warn{color:var(--warn)}
.c2-m-st.is-muted{color:var(--muted)}
.c2-m-page-art{width:min(220px,60%);margin:0 auto}
.c2-m-redo{margin:0;padding:8px 10px;border-radius:10px;background:var(--warn-soft);color:var(--warn)}
.c2-m-look{display:flex;flex-direction:column;gap:8px}
.c2-m-look-l{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 -4px;padding:0 4px}
.c2-m-look-l::-webkit-scrollbar{display:none}
.c2-m-look-l li{flex:0 0 100%;scroll-snap-align:start}
.c2-m-look-b{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.c2-m-look-b .c2-img{border-radius:12px;object-fit:contain;width:100%;background:#f3efe8}
.c2-m-zoom{display:block;width:100%;height:auto;border-radius:12px}
/* submit */
.c2-m-sub-i{width:56px;align-self:center}
.c2-m-bold{margin:0;font-weight:800;line-height:1.4}
.c2-m-sheet-pg{display:grid;gap:8px;padding:10px;border-radius:12px;background:#f4efe7}
.c2-m-sheet-pg.has-big{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.c2-m-sl{display:grid;gap:6px;align-content:start}
.c2-m-sl.is-big{grid-template-columns:minmax(0,1fr)}
.c2-m-slot2{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:44px;width:100%;padding:0;border:1.5px dashed #c9bfae;border-radius:6px;background:#fff;color:var(--gold-ink);font:inherit;cursor:pointer;overflow:hidden}
.c2-m-slot2 small{font-size:.6875rem;font-weight:700;text-align:center;line-height:1.2;padding:0 2px}
.c2-m-slot2.is-full{border-style:solid;border-color:transparent}
.c2-m-slot2.is-full img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.c2-m-slot2.is-busy{opacity:.7}
.c2-m-q{position:absolute;right:4px;top:4px;width:10px;height:10px;border-radius:50%;border:1.5px solid #fff}
.c2-m-q.is-ok{background:var(--ok)}.c2-m-q.is-warn{background:#e0a100}.c2-m-q.is-bad{background:var(--bad)}
.c2-m-ql{position:relative;display:flex;align-items:center;gap:8px;margin:0;font-weight:700}
.c2-m-ql .c2-m-q{position:static}
.c2-m-ql.is-warn{color:var(--warn)}.c2-m-ql.is-bad{color:var(--bad)}.c2-m-ql.is-ok{color:var(--ok)}
.c2-m-crop-w{display:flex;flex-direction:column;gap:10px}
.c2-m-crop-w .c2-st-small{margin:0}
.c2-m-crop{position:relative;overflow:hidden;border-radius:10px;touch-action:none;user-select:none;max-height:56dvh;margin:0 auto;width:100%;background:#000}
.c2-m-crop img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.c2-m-crop-f{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.55);cursor:grab}
.c2-m-crop-a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.c2-m-file{position:relative;cursor:pointer}
.c2-m-file.is-busy{opacity:.6;pointer-events:none}
.c2-m-check{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:700;cursor:pointer}
.c2-m-check input{width:22px;height:22px;accent-color:var(--gold);flex:none}
.c2-m-chips{display:flex;flex-wrap:wrap;gap:8px}
.c2-m-chip{min-height:44px;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;background:var(--bg);font:inherit;font-weight:700;color:var(--ink);cursor:pointer}
.c2-m-chip.is-on{border-color:var(--gold);background:var(--gold-soft)}
.c2-m-themes{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.c2-m-theme{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;min-height:52px;padding:8px 12px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.c2-m-theme b{font-size:.875rem;letter-spacing:.02em}
.c2-m-theme small{color:var(--muted);font-size:.8125rem}
.c2-m-theme.is-on{border-color:var(--gold);background:var(--gold-soft)}
.c2-m-tip{margin:0;padding:8px 10px;border-radius:10px;background:var(--bg-warm)}
.c2-m-ta{font:inherit;line-height:1.5}
.c2-m-warnl{color:var(--warn);font-weight:700}
.c2-m-skip{align-self:center;min-height:44px}
/* referral */
.c2-m-ref-now{margin:0;line-height:1.45}
.c2-m-ref-now b{color:var(--gold-ink)}
.c2-ref-code-r{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:6px 6px 6px 12px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}
.c2-ref-code-r .c2-ref-code{font-size:1.125rem;letter-spacing:.04em;white-space:nowrap;overflow-wrap:normal}
/* (06.11) 360 px: «SA-XZFE» never breaks — the label goes above, the code and «Скопіювати» share one row */
@media (max-width:374px){.c2-ref-code-r{grid-template-columns:minmax(0,1fr) auto}.c2-ref-code-r>span:first-child{grid-column:1/-1}}
.c2-ref-copy{min-height:44px;padding:0 14px}
.c2-ref-how3{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.c2-ref-how3 li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;line-height:1.4}
.c2-ref-how3 i{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--gold);color:#fff;font-style:normal;font-weight:800;font-size:.8125rem}
.c2-m-ref-my{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:0 4px;border-top:1px solid var(--line);color:inherit;text-decoration:none;font-weight:800}
.c2-m-ref-my small{color:var(--muted);font-weight:600}
.c2-ref-items{display:flex;flex-direction:column;gap:10px}
.c2-ref-items li{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.c2-ref-items .c2-st-small{margin:0}
.c2-ref-it-t{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;margin:0}
.c2-ref-st{font-size:.8125rem;font-weight:800;color:var(--gold-ink)}
.c2-ref-st.is-won,.c2-ref-st.is-ok{color:var(--ok)}
.c2-ref-st.is-burnt,.c2-ref-st.is-rejected,.c2-ref-st.is-removed{color:var(--muted)}
.c2-ref-it-a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.c2-ref-rule{margin:0;padding:10px 12px;border-radius:var(--r);background:var(--gold-soft);font-weight:700;line-height:1.45}
.c2-ref-form #c2invH{display:none}
@media (max-width:370px){.c2-m-fr{grid-template-columns:40px minmax(0,1fr) 18px}.c2-m-fr-i{width:40px}}

/* ---------- (fix 07.11) «Як пройшла зйомка?» (was injected by stages/feedback.js): the kit's switch 40×24 and chip; tiles readable at 360 ---------- */
.c2-rate{display:flex;flex-direction:column;gap:12px;min-width:0}
.c2-rate .c2-h2{margin:0}
.c2-rate-intro{margin:0;font-size:.8125rem;line-height:1.4;color:var(--muted,#6e6e73)}
.c2-rate-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0}
.c2-rate-t{display:flex;align-items:center;justify-content:center;min-height:56px;min-width:0;padding:6px 2px;border:1px solid var(--line,#e8e8ea);border-radius:12px;background:var(--bg,#fff);color:var(--ink,#141416);font:700 .75rem/1.15 var(--font,inherit);letter-spacing:0;text-align:center;cursor:pointer;overflow-wrap:normal;hyphens:manual;-webkit-tap-highlight-color:transparent}
.c2-rate-t.is-on{background:var(--gold,#b7986a);border-color:var(--gold,#b7986a);color:#141416}
.c2-rate-t:active{transform:scale(.97)}
/* (polish 07.11) a phone: «Нормально» does not fit a fifth of the row in a readable size → the five tiles one under another, whole words */
@media (max-width:479px){.c2-rate-tiles{grid-template-columns:minmax(0,1fr)}.c2-rate-t{min-height:48px;padding:8px 12px;font:600 1rem/1.25 var(--font,inherit)}}
.c2-rate-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:44px}
.c2-rate-pill{display:inline-flex;align-items:center;min-height:32px;padding:4px 14px;border-radius:999px;background:var(--gold,#b7986a);color:#141416;font-weight:800;font-size:.875rem}
.c2-rate-h{margin:0;font-size:1rem;font-weight:700;line-height:1.35}
.c2-rate-chips{display:flex;flex-wrap:wrap;gap:6px}
.c2-rate-chip{min-height:44px;max-width:100%;padding:8px 14px;border:1.5px solid var(--line,#e8e8ea);border-radius:999px;background:var(--bg,#fff);color:var(--ink,#141416);font:700 .875rem/1.25 var(--font,inherit);cursor:pointer;-webkit-tap-highlight-color:transparent}
.c2-rate-chip.is-on{background:var(--bg,#fff);border-color:var(--gold,#b7986a);color:var(--gold-ink,#6b5a3c);box-shadow:inset 0 0 0 1px var(--gold,#b7986a)}
.c2-rate-f{display:flex;flex-direction:column;gap:6px;margin:0}
.c2-rate-f > span{font-size:.875rem;font-weight:600;color:var(--ink-soft,#3c3c42)}
.c2-rate-ta{width:100%;min-height:96px;padding:10px 12px;border:1px solid var(--line,#e8e8ea);border-radius:12px;background:var(--bg,#fff);color:var(--ink,#141416);font:400 1rem/1.45 var(--font,inherit);resize:vertical;box-sizing:border-box}
.c2-rate-ta.is-err{border-color:var(--bad,#b3261e)}
.c2-rate-err{margin:0;color:var(--bad,#b3261e);font-size:.875rem;font-weight:600}
.c2-rate-sw{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:.9375rem;line-height:1.35}
.c2-rate-sw > span{min-width:0}
.c2-rate-sw small{display:block;color:var(--muted,#6e6e73);font-size:.8125rem}
.c2-rate-sw input{-webkit-appearance:none;appearance:none;flex:none;position:relative;width:40px;height:24px;margin:0;border-radius:999px;background:#d9d9de;cursor:pointer;transition:background .15s}
.c2-rate-sw input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.c2-rate-sw input:checked{background:var(--gold,#b7986a)}
.c2-rate-sw input:checked::after{transform:translateX(16px)}
.c2-rate-skip{display:flex;flex-wrap:wrap;gap:0 18px}
.c2-rate-skip .c2-btn{color:var(--muted,#6e6e73);font-weight:600}
.c2-rate-big{margin:0;font-size:1.0625rem;font-weight:800;line-height:1.35}
.c2-rate-small{margin:0;font-size:.8125rem;line-height:1.4;color:var(--muted,#6e6e73)}
.c2-rate-quote{margin:0;padding:10px 12px;border-left:3px solid var(--gold,#b7986a);border-radius:0 12px 12px 0;background:var(--bg,#fff);font-size:.9375rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.c2-rate-st{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;min-height:28px;padding:4px 12px;border-radius:999px;background:var(--warn-soft,#fdf3e2);color:var(--warn,#8a5a00);font-weight:700;font-size:.8125rem}
.c2-rate-ans{margin:0;padding:12px;border-radius:12px;background:var(--ok-soft,#eaf6ee);font-size:.9375rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.c2-rate-acts{display:flex;flex-direction:column;gap:8px}
.c2-rate-acts .c2-btn{width:100%}
.c2-rate-line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.c2-rate-line .c2-h2{flex:1 1 auto;min-width:0}
@media (min-width:560px){.c2-rate-acts{flex-direction:row;flex-wrap:wrap}.c2-rate-acts .c2-btn{width:auto}}
.c2-m-thumbs .c2-img{background:#f3efe8}   /* (fix 07.11) warm placeholder while a photo loads — never a grey square */
/* ===== (69, пакет №3 п. 19–21) екран сторінки: назва + пояснення + точки, ілюстрація 4:3, розвороти на всю ширину без обрізання ===== */
.c2-pg-row{grid-template-columns:64px minmax(0,1fr) 18px}
.c2-pg-row .c2-pg-row-i{width:64px;border-radius:8px}
.c2-pg-row .c2-m-pgr-t,.c2-pg-row .c2-m-fr-t{gap:4px}
.c2-pg-head{display:flex;flex-direction:column;gap:8px;margin-top:-8px}
.c2-pg-sub{margin:0;font-size:.875rem;line-height:1.4;color:var(--muted)}
.c2-pg-dots{display:flex;align-items:center;gap:6px;margin:0;min-height:8px}
.c2-pg-dots i{display:block;width:6px;height:6px;border-radius:50%;background:var(--line)}
.c2-pg-dots i.is-on{width:18px;border-radius:3px;background:var(--gold)}
.c2-pg-dots.is-sm{justify-content:center}
.c2-pg .c2-m-page-w{display:flex;flex-direction:column;gap:12px}
.c2-pg-look{display:flex;flex-direction:column;gap:8px}
.c2-pg-lookc{gap:12px}
.c2-pg-car{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin:0;padding:0;gap:0;border-radius:12px}
.c2-pg-car::-webkit-scrollbar{display:none}
.c2-pg-car li{flex:0 0 100%;scroll-snap-align:start;min-width:0}
.c2-pg-ph{position:relative;width:100%;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#f3efe8}
.c2-pg-ph-b{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.c2-pg-ph-b img{display:block;width:100%;height:100%;object-fit:contain}
.c2-pg-qr{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;padding:0;border:0;background:none;cursor:pointer}
.c2-pg-qr i{display:block;width:30px;height:30px;margin:7px;border:2px solid var(--gold);border-radius:8px;box-shadow:0 0 0 3px rgba(255,255,255,.7);animation:c2-pg-qr 1.6s ease-in-out infinite}
@keyframes c2-pg-qr{50%{transform:scale(1.12);opacity:.75}}
@media (prefers-reduced-motion:reduce){.c2-pg-qr i{animation:none}}
.c2-pg-cap{margin:0}
.c2-pg-fs.c2-sheet{max-width:none;height:100dvh;max-height:100dvh;border-radius:0;background:#111;color:#fff;padding:0 0 var(--sab)}
.c2-pg-fs .c2-sheet-h{background:#111;padding:calc(8px + var(--sat)) 8px 8px 16px}
.c2-pg-fs .c2-sheet-h .c2-h2{color:#fff;font-size:.9375rem;font-weight:700}
.c2-pg-fs .c2-icbtn{color:#fff}
.c2-pg-fs .c2-icbtn:hover{background:rgba(255,255,255,.12)}
.c2-pg-fs .c2-sheet-b{height:calc(100dvh - 60px - var(--sat) - var(--sab));gap:0}
.c2-pg-fs-l{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin:0;padding:0}
.c2-pg-fs-l::-webkit-scrollbar{display:none}
.c2-pg-fs-l li{flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center;scroll-snap-align:start}
.c2-pg-fs-l img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.c2-pg-fl .c2-m-fr.c2-pg-row{grid-template-columns:64px minmax(0,1fr) 18px;min-height:64px}
.c2-pg-subi{width:112px;align-self:center}
@media (max-width:370px){.c2-pg-row,.c2-pg-fl .c2-m-fr.c2-pg-row{grid-template-columns:56px minmax(0,1fr) 18px}.c2-pg-row .c2-pg-row-i{width:56px}}
/* (fix 07.11) оплата в банку — один золотий рядок, як «оплата обробляється» на липкій панелі */
.c2-m-tline.is-wait{color:var(--gold-ink)}
/* (fix 07.11, P3.2) a short screen with a sticky bar (Оплата, Комплектація, Напутнє слово…): the bar sits at the bottom of the screen, not mid-way */
.c2-m-scr{min-height:calc(100dvh - var(--top-h,52px) - var(--tabs-h,58px) - var(--sat,0px) - var(--sab,0px) - 40px)}
.c2-m-scr > .c2-sbar{margin-top:auto}
/* (fix 07.11) «Без альбому вчителя»; the Ukrainian line under a page's English name on the «Здати» screen */
.c2-tch-noalb{padding:16px}
.c2-pg-subua{margin-top:-6px}
