/* v3-platform — page sections (2026-10-28 simple layout for users 50+): home (hero promise + three big
   choices, «how to earn» steps, latest grid, three plain sentences, contact band), listings (plain filter
   grid, big cards with the owner phone, detail modal), post form (big picks), owners / partners / how pages,
   cabinet, pay, about, contact, news, 404. Everything stacks; no horizontal rails, no tabs. */

/* ---------- page head ---------- */
.page-head { padding: clamp(28px, 4vw, 52px) 0 clamp(16px, 2.5vw, 28px); }
.page-head .h1 { max-width: 24ch; }
.page-head .lead { margin-top: 14px; }
.page-head .who { margin-bottom: 14px; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.head-split .photo { aspect-ratio: 16 / 10; }
.head-split .photo .tag { left: 12px; bottom: 12px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }

/* ---------- home hero: the promise + three big choices ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); background: var(--white); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 60ch; }
.hero-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: var(--muted); }
.hero-loc svg { width: 18px; height: 18px; color: var(--navy); }
.hero-copy .h1 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; line-height: 1.2; max-width: 24ch; color: var(--navy); }
.hero-copy .lead { max-width: 52ch; }
.choose-h { margin: clamp(22px, 3vw, 34px) 0 14px; font-size: 1.2rem; font-weight: 700; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 24px 26px 26px; border-radius: var(--r); border: 2px solid var(--line-2); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .3s, background .2s; }
.choice i { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.choice i svg { width: 28px; height: 28px; }
.choice b { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; }
.choice span { font-size: 1.05rem; color: var(--muted); line-height: 1.4; }
.choice em { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grey); color: var(--navy); }
.choice em svg { width: 22px; height: 22px; }
.choice:hover, .choice:focus-visible { border-color: var(--navy); box-shadow: var(--shadow); }
.choice-tenant i { background: var(--tenant-soft); color: var(--tenant); }
.choice-owner i { background: var(--owner-soft); color: var(--owner); }
.choice-partner { border-color: var(--gold); background: #fff9e8; }
.choice-partner i { background: var(--gold); color: var(--navy); }
.choice-partner em { background: var(--gold); }
@media (max-width: 900px) { .choices { grid-template-columns: 1fr; } .choice { min-height: 0; padding: 20px 22px; padding-right: 80px; } .choice i { width: 48px; height: 48px; } .choice em { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* ---------- «How to earn money from home» ---------- */
.earn-wrap { display: grid; gap: clamp(20px, 3vw, 32px); }
.earn-head { max-width: 70ch; }
.earn-head .lead { margin-top: 12px; }
.earn-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.earn-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); min-width: 0; }
.earn-n { position: absolute; top: -16px; left: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(10, 32, 64, .4); }
.earn-step i { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; }
.earn-step i svg { width: 26px; height: 26px; }
.earn-step b { font-size: 1.2rem; line-height: 1.3; }
.earn-step p { font-size: 1.02rem; color: var(--muted); line-height: 1.5; }
.earn-sum { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 3vw, 28px); background: var(--navy); color: #fff; border: 0; text-align: center; }
.earn-sum b { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--gold-2); letter-spacing: -.01em; }
.earn-sum p { font-size: 1.05rem; color: rgba(255, 255, 255, .88); max-width: 60ch; margin-inline: auto; }
.earn-rules { display: grid; gap: 12px; }
.earn-cta-box { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 6px; }
.earn-cta-box p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 1000px) { .earn-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .earn-steps { grid-template-columns: 1fr; gap: 22px; } .earn-cta-box .btn { width: 100%; } }

/* ---------- plain lists / steps / simple sentences ---------- */
.plain { display: grid; gap: 10px; }
.plain li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); line-height: 1.5; font-size: 1.05rem; }
.plain li svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--tenant); }
.plain li.li-ban svg { color: var(--err); }
.plain.tight li { background: transparent; border: 0; padding: 4px 0; }
.simple { display: grid; gap: 14px; max-width: 900px; }
.simple li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.simple-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; }
.simple p { font-size: 1.15rem; line-height: 1.5; padding-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-top: 5px solid var(--platform); }
.step-tenant { border-top-color: var(--tenant); } .step-owner { border-top-color: var(--owner); } .step-partner { border-top-color: var(--partner); }
.step-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.step-n { font-size: 1.05rem; font-weight: 800; color: var(--navy); background: var(--grey); border-radius: 999px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.step b { font-size: 1.15rem; line-height: 1.3; }
.step p { font-size: 1rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- fee: one payment, who gets what ---------- */
.fee { display: grid; gap: 18px; padding: clamp(22px, 3.5vw, 36px); background: var(--navy); color: #fff; border-radius: var(--r); }
.fee .h2 { color: #fff; }
.fee-rows { display: grid; gap: 8px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 1.1rem; }
.fee-row b { font-size: clamp(1.4rem, 2.4vw, 1.8rem); white-space: nowrap; }
.fee-row.is-total { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.fee-row.is-total b { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.fee-row.is-free b { color: #9fe3b8; }
.fee-notes { display: grid; gap: 10px; }
.fee-notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.fee-notes svg { width: 22px; height: 22px; flex: none; color: var(--gold-2); margin-top: 3px; }
@media (max-width: 480px) { .fee-row { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- CTA band ---------- */
.cta-box { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cta-box .lead { margin-top: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.band .cta-box { background: transparent; border: 0; padding: 0; }
.band .hours-line { color: rgba(255, 255, 255, .9); }
.hours-line { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; margin: 0; }
.hours-line svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
@media (max-width: 599px) { .cta-actions .btn { width: 100%; } }

/* ---------- listings page ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff6d6; color: #5a3f00; font-size: 1rem; line-height: 1.45; }
.note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.note.ok { background: var(--ok-bg); color: #155c33; }
.note.gold { flex-direction: column; background: var(--partner-soft); color: var(--partner-ink); }
.note p { color: inherit; }
.ls-bar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; margin-bottom: 20px; }
.ls-bar-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.rb-sel { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; font-weight: 700; color: var(--ink); min-width: 0; }
.rb-sel .sel { min-height: 56px; padding: 8px 36px 8px 14px; border-radius: 12px; background: var(--white); border-color: var(--line-2); font-size: 1.05rem; }
.rb-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.chip .cnt { min-width: 24px; height: 24px; border-radius: 12px; background: var(--gold); color: var(--navy); font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.ls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rl { position: relative; overflow: hidden; transition: box-shadow .3s; display: flex; flex-direction: column; }
.rl:hover { box-shadow: var(--shadow); }
.rl-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--grey-2); }
.rl-media img { width: 100%; height: 100%; object-fit: cover; }
.rl-media .rl-sample { position: absolute; right: 12px; bottom: 12px; left: auto; }
.rl-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 70px); }
.rl-save { position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: color .2s; }
.rl-save svg { width: 22px; height: 22px; }
.rl-save[aria-pressed="true"] { color: var(--err); }
.rl-save[aria-pressed="true"] svg { fill: currentColor; }
.rl-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rl-price { display: flex; align-items: baseline; gap: 8px; }
.rl-price b { font-size: 1.6rem; color: var(--navy); letter-spacing: -.01em; }
.rl-price small { color: var(--muted); font-size: 1rem; }
.rl h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.rl-specs { font-size: 1rem; color: var(--muted); line-height: 1.45; }
.rl-owner { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--tenant-soft); color: var(--ink); margin-top: 2px; }
.rl-owner i { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--tenant); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rl-owner i svg { width: 20px; height: 20px; }
.rl-owner span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rl-owner small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.rl-owner b { font-size: 1.2rem; letter-spacing: .01em; }
.rl-foot { font-size: .95rem; color: var(--muted); line-height: 1.4; margin-top: auto; }
.rl-foot b { color: var(--ink); }
.rl .btn-block { margin-top: 4px; }
.rl.is-rented .rl-media img { filter: grayscale(.6); opacity: .8; }
.rl.is-rented .rl-owner { background: var(--grey); }
.rl.is-rented .rl-owner i { color: var(--muted); }
@media (max-width: 1100px) { .ls-bar-in { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .ls-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ls-bar-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ls-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .ls-bar-in { grid-template-columns: 1fr; } .rb-btns .chip { flex: 1; justify-content: center; } }

/* listing modal */
.om { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); }
.om-gal { position: relative; background: var(--grey-2); overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }
@media (min-width: 760px) { .om-gal { position: sticky; top: 0; } }
.om-track { display: flex; height: 100%; transition: transform .45s var(--ease); }
.om-slide { flex: 0 0 100%; margin: 0; position: relative; }
.om-slide img { width: 100%; height: 100%; object-fit: cover; }
.om-slide figcaption { position: absolute; right: 12px; bottom: 12px; }
.om-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); box-shadow: var(--shadow-sm); width: 52px; height: 52px; }
.om-nav.prev { left: 12px; } .om-nav.next { right: 12px; }
.om-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.om-dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.om-dots button[aria-current="true"] { background: var(--gold); }
.oc-badges { position: absolute; top: 12px; left: 12px; right: 60px; display: flex; gap: 6px; flex-wrap: wrap; }
.om-body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.om-meta { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; font-size: 1rem; color: var(--muted); font-weight: 600; padding-right: 44px; }
.om-meta b { color: var(--ink); }
.om-price { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.om-price b { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.om-price small { color: var(--muted); font-size: 1.05rem; }
.om-price .tag { align-self: center; }
.om-desc { color: var(--ink); line-height: 1.6; font-size: 1.05rem; }
.om-h { font-size: 1.1rem; margin-top: 4px; color: var(--muted); font-weight: 700; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.terms div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--grey); min-width: 0; }
.terms dt { font-size: .95rem; color: var(--muted); font-weight: 600; }
.terms dd { margin: 0; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.owner { padding: 18px; border-radius: 16px; background: var(--tenant-soft); display: flex; flex-direction: column; gap: 14px; }
.owner.is-rented { background: var(--grey); }
.ow-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ow-head i { width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--tenant); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ow-head i svg { width: 24px; height: 24px; }
.ow-head > div { display: flex; flex-direction: column; line-height: 1.25; }
.ow-head small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.ow-phone { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: .01em; color: var(--navy); }
.ow-head .who { margin-left: auto; }
.om-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apl { padding: 16px; border-radius: 14px; background: var(--white); }
.apl-done { padding: 24px 16px; }
@media (max-width: 760px) { .om { grid-template-columns: 1fr; } .om-gal { aspect-ratio: 16 / 10; } .terms { grid-template-columns: 1fr 1fr; } .om-actions .btn { flex: 1; } .ow-head .who { margin-left: 0; } }

/* ---------- post form ---------- */
.post-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.post-gate { text-align: center; padding: 10px 12px 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.post-gate i { width: 56px; height: 56px; border-radius: 50%; background: var(--grey); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.post-gate i svg { width: 26px; height: 26px; }
.post-form { gap: 18px; }
.pf-sec { display: grid; gap: 16px; padding: clamp(18px, 2.6vw, 26px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pf-row { display: flex; flex-direction: column; gap: 10px; }
.pf-label { font-size: 1rem; font-weight: 700; }
.big-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 700; font-size: 1.1rem; text-align: left; cursor: pointer; line-height: 1.3; transition: border-color .2s, background .2s; }
.pick svg { width: 26px; height: 26px; flex: none; color: var(--navy); }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick[aria-pressed="true"], .pick:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.pick:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.pick:disabled { opacity: .45; cursor: not-allowed; }
.photo-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-pick label { position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; border: 3px solid transparent; transition: border-color .2s; }
.photo-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.photo-pick img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick label:has(input:checked) { border-color: var(--navy); }
.photo-pick label:has(input:checked)::after { content: ''; position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.photo-pick label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 860px) { .post-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .big-pick { grid-template-columns: 1fr; } }
.form-success.pending { background: var(--grey); }
.form-success.pending .ok { background: var(--navy); }
.form-success .pg-spin { width: 22px; height: 22px; border: 3px solid #fff; border-right-color: transparent; border-radius: 50%; animation: pg-spin .8s linear infinite; }
@keyframes pg-spin { to { transform: rotate(360deg); } }
.side-card { display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 1.25rem; }

/* ---------- owners page ---------- */
.own-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.own-opt { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.6vw, 28px); position: relative; }
.own-opt h2 { font-size: 1.4rem; }
.own-opt .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.own-opt .price b { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.own-opt .price small { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
.own-opt.free .price b { color: var(--tenant); }
.own-opt p { color: var(--ink); line-height: 1.55; font-size: 1.05rem; }
.own-opt .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .own-opts { grid-template-columns: 1fr; } }

/* ---------- partners page: do / don't ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.duo-card { display: flex; flex-direction: column; gap: 14px; }
.duo-card h3 { display: flex; align-items: center; gap: 10px; }
.duo-card h3 svg { width: 26px; height: 26px; }
.duo-card.dont h3 svg { color: var(--err); } .duo-card.do h3 svg { color: var(--tenant); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- how page ---------- */
.how-sec { display: grid; gap: 16px; }
.how-sec .h2 { display: flex; align-items: center; gap: 12px; }
.how-sec .h2 svg { width: 32px; height: 32px; flex: none; }

/* ---------- cabinet ---------- */
.cabinet { padding-bottom: clamp(24px, 4vw, 48px); }
.cab-intro { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.cab-intro .lead { margin-top: 8px; }
.cb-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: clamp(18px, 2.4vw, 26px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.cb-id { display: flex; gap: 14px; align-items: center; min-width: 0; }
.cb-id .h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); overflow-wrap: anywhere; }
.cb-id .tags { margin-top: 6px; }
.cb-avatar { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 1.5rem; flex: none; background: var(--grey); color: var(--navy); }
.cb-avatar.who-owner { background: var(--navy); color: #fff; } .cb-avatar.who-partner { background: var(--gold); color: var(--navy); } .cb-avatar.who-tenant { background: var(--tenant); color: #fff; }
.cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cb-main, .cb-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.cb-card { display: flex; flex-direction: column; gap: 14px; }
.cb-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpis .kpi { padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); gap: 4px; min-width: 0; }
.kpis .kpi span { font-size: 1rem; }
.kpis .kpi b { font-size: clamp(1.5rem, 2.4vw, 2rem); overflow-wrap: anywhere; }
.kpis .kpi small { font-size: .95rem; color: var(--muted); }
.kpis .kpi.hi { background: var(--navy); color: #fff; border-color: var(--navy); }
.kpis .kpi.hi span, .kpis .kpi.hi small { color: rgba(255, 255, 255, .85); }
.kpis .kpi.hi b { color: var(--gold-2); }
.cb-card .kpis .kpi { background: var(--grey); border: 0; }
.cb-card .kpis .kpi.hi { background: var(--navy); }
.kv { display: grid; gap: 10px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv div:last-child { border: 0; padding: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.rows { display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--grey); }
.row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 240px; }
.row-main b { font-size: 1.05rem; line-height: 1.3; }
.row-main small { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.row-main .msg { color: var(--ink); font-style: italic; }
.row-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.row-side > b { font-size: 1.2rem; color: var(--navy); }
.row.deal.is-due { background: var(--partner-soft); }
.row.deal.is-paid { background: var(--tenant-soft); }
.mini-split { display: flex; gap: 2px; height: 6px; width: min(100%, 220px); margin: 4px 0 2px; }
.mini-split i { border-radius: 3px; background: var(--gold); }
.mini-split i + i { background: var(--navy); opacity: .35; }
.ml-list { display: grid; gap: 12px; }
.ml { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; border-radius: 14px; background: var(--grey); align-items: start; }
.ml img { width: 120px; height: 92px; object-fit: cover; border-radius: 10px; }
.ml-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ml-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.ml-top b { font-size: 1.1rem; line-height: 1.3; display: block; }
.ml-top .rl-no { margin-top: 4px; }
.ml-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ml-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.ml-edit { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px; border-radius: 10px; background: var(--white); font-size: 1rem; font-weight: 600; }
.ml-edit label { display: grid; gap: 4px; }
.ml-edit input, .ml-edit textarea { min-height: 48px; border-radius: 8px; border: 1.5px solid var(--line); padding: 8px 12px; font-weight: 500; background: var(--grey); font-size: 1.05rem; }
.ml-edit button { justify-self: start; }
.cb-empty { text-align: center; padding: 28px 12px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cb-empty svg { width: 44px; height: 44px; color: var(--navy); }
.cb-empty b { color: var(--ink); font-size: 1.15rem; }
.cb-empty p { max-width: 44ch; font-size: 1.02rem; }
.cb-saved .rl { box-shadow: none; }
.earn-cta { gap: 10px; align-items: flex-start; border-top: 5px solid var(--partner); }
.earn-cta .btn { margin-top: 4px; }
.earn-cta .small { color: var(--navy); font-weight: 600; text-decoration: underline; }
.pcard { padding: 24px; background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 10px; border: 0; }
.pcard > small { font-size: 1rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.pcard > b { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; color: var(--gold-2); }
.pcard dl { display: grid; gap: 8px; margin: 6px 0 0; }
.pcard dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pcard dt { color: rgba(255, 255, 255, .85); } .pcard dd { margin: 0; font-weight: 700; }
.pcard p { font-size: 1rem; color: rgba(255, 255, 255, .9); line-height: 1.5; }
.chooser { gap: 12px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.role { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; padding: 20px; border-radius: 16px; border: 2px solid var(--line-2); background: var(--white); transition: border-color .2s, box-shadow .3s; min-height: 64px; }
.role:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.role[aria-pressed="true"] { border-color: var(--navy); background: var(--navy-soft); }
.role > svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; }
.role-tenant > svg { background: var(--tenant-soft); color: var(--tenant); } .role-owner > svg { background: var(--owner-soft); color: var(--owner); } .role-partner > svg { background: var(--partner-soft); color: var(--partner-ink); }
.role b { font-size: 1.2rem; }
.role span { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.modal-box.dlg { width: min(560px, 100%); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; border-radius: var(--r); }
.modal-box.dlg .modal-x { top: 10px; right: 10px; }
.modal-box.dlg .h3 { padding-right: 48px; }
@media (max-width: 1000px) { .cb-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi.hi { grid-column: 1 / -1; } .roles { grid-template-columns: 1fr; } .cb-actions { width: 100%; } .cb-actions > * { flex: 1; } }
@media (max-width: 480px) { .ml { grid-template-columns: 1fr; } .ml img { width: 100%; height: 150px; } }

/* ---------- pay page ---------- */
body[data-page="pay"] { padding-top: 0; }
.pay-hdr { background: var(--white); border-bottom: 1px solid var(--line); }
.pay-hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.pay-hdr .logo img { height: 40px; }
.pay-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; }
.pay-title .tag { gap: 6px; }
.pay-title .tag svg { width: 16px; height: 16px; }
.gateway { padding: clamp(20px, 4vw, 44px) 0 clamp(24px, 4vw, 48px); }
.pay-foot { text-align: center; font-size: 1rem; color: var(--muted); padding: 0 var(--gutter) 32px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.pay-foot a { color: var(--navy); font-weight: 600; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.pay-methods-logos { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pay-methods-logos span { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
@media (max-width: 520px) { .pay-title span:not(.tag) { display: none; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-grid .tile { gap: 10px; padding: clamp(20px, 2.6vw, 26px); }
.about-grid .tile p { color: var(--ink); line-height: 1.55; font-size: 1.02rem; }
.about-grid .tile b { font-size: 1.3rem; }
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.com { display: flex; gap: 14px; align-items: center; padding: 18px 20px; min-height: 80px; transition: box-shadow .3s; }
.com:hover { box-shadow: var(--shadow); }
.com i { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.com i svg { width: 24px; height: 24px; }
.com.ig i { background: #c13584; } .com.fb i { background: #1877f2; }
.com b { display: block; font-size: 1.15rem; } .com span { font-size: 1rem; color: var(--muted); }
.com > svg { margin-left: auto; width: 20px; height: 20px; color: var(--navy); flex: none; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .community { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.form-card { padding: clamp(20px, 2.8vw, 30px); }
.form-card h2 { margin-bottom: 6px; }
.form-card .form-lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; }
.ct-cards { display: grid; gap: 12px; }
.ct-card { position: relative; padding-left: 82px; }
.ct-card i { position: absolute; left: 22px; top: 22px; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.ct-card i svg { width: 22px; height: 22px; }
.ct-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ct-text { font-size: 1.05rem; line-height: 1.5; }
.ct-link { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-weight: 600; font-size: 1.05rem; min-height: 48px; text-align: left; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.ct-link svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .ct-card { padding-left: 20px; } .ct-card i { position: static; margin-bottom: 8px; } }

/* ---------- news / article ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-head { padding: clamp(24px, 4vw, 48px) var(--gutter) 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-head .h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.post-cover { aspect-ratio: 16 / 9; }
.post-layout { padding-top: 24px; }
.post-text { display: flex; flex-direction: column; gap: 18px; }
.post-text > p { font-size: 1.15rem; line-height: 1.7; }
.post-share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; color: var(--muted); }
.post-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: clamp(40px, 8vw, 100px) var(--gutter); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.nf-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.04em; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- «Բրոկերներին մուտքը արգելվում է» (home hero) ---------- */
.no-brokers { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 22px; border-radius: 14px; background: #fbe9e7; color: #8a1c0f; border: 2px solid #c0392b; font-weight: 800; font-size: 1.2rem; line-height: 1.25; }
.no-brokers svg { width: 28px; height: 28px; flex: none; color: #c0392b; }
@media (max-width: 599px) { .no-brokers { font-size: 1.05rem; padding: 12px 16px; } }

/* ---------- article body: headings + lists from the client's posts ---------- */
.post-text .post-h { margin-top: 10px; color: var(--navy); font-size: 1.35rem; line-height: 1.25; }
.post-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.post-list li { position: relative; padding: 14px 18px 14px 48px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: 1.1rem; line-height: 1.55; }
.post-list li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }

/* ---------- the client's square posters as blog covers: never cropped ---------- */
.pc-media.is-poster { aspect-ratio: 1 / 1; background: #0a2040; }
.post-cover.is-poster { aspect-ratio: auto; background: #0a2040; max-width: 640px; margin: 0 auto; }
.post-cover.is-poster img { width: 100%; height: auto; display: block; }

/* ---------- score / verdict card (.rv, partner check result in the cabinet); chips with radios ---------- */
.chip input[type="radio"] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.rv { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); background: var(--white); border: 2px solid var(--line-2); border-radius: var(--r); }
.rv[data-verdict="good"] { border-color: var(--ok); }
.rv[data-verdict="fix"] { border-color: #d98f1e; }
.rv[data-verdict="reject"] { border-color: var(--err); }
.rv-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.rv-score { width: 124px; height: 124px; border-radius: 50%; border: 8px solid var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: none; background: var(--white); }
.rv-score b { font-size: 2.6rem; font-weight: 800; color: var(--gold-ink); letter-spacing: -.02em; }
.rv-score small { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.rv-verdict { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.rv-verdict b { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; display: flex; align-items: center; gap: 10px; }
.rv-verdict p { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.rv[data-verdict="good"] .rv-verdict b { color: var(--ok); }
.rv[data-verdict="fix"] .rv-verdict b { color: #9a5d00; }
.rv[data-verdict="reject"] .rv-verdict b { color: var(--err); }
.rv-crits { display: grid; gap: 8px; }
.rv-crit { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--grey); font-size: 1.05rem; }
.rv-crit span { display: flex; gap: 10px; align-items: center; }
.rv-crit i { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; flex: none; }
.rv-crit i svg { width: 16px; height: 16px; }
.rv-crit.is-ok i { background: var(--ok-bg); color: var(--ok); }
.rv-crit.is-bad i { background: var(--err-bg); color: var(--err); }
.rv-crit b { font-variant-numeric: tabular-nums; color: var(--navy); }
.rv-tips { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: #fff6d6; color: #5a3f00; }
.rv-tips h3 { font-size: 1.1rem; }
.rv-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rv-tips li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.rv-tips li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #9a5d00; }
.rv-pay { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.rv-pay svg { width: 22px; height: 22px; color: var(--gold-ink); }
.rv-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .kpis.k4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rv-top { flex-direction: column; align-items: flex-start; } .rv-actions .btn, .write-actions .btn { width: 100%; } }

/* ---------- 2026-11-04 three roles: partner questionnaire (.vt*), slots bar, request pipeline, manager queues, checklist ---------- */
.rl-partner i { color: var(--partner-ink); }
.rl-partner b { font-size: 1.05rem; }
.om .ow-head i { color: var(--partner-ink); }
.om .ow-phone { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.time-chips .chip, .vt-q .chips .chip { min-height: 54px; position: relative; cursor: pointer; }
.earn-limit { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.earn-limit svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-2); }
.post-gate.card { gap: 12px; padding: clamp(24px, 3vw, 36px); }
.post-gate.card .om-actions { justify-content: center; }
.post-gate.gate-blocked i { background: var(--err-bg); color: var(--err); }
.post-gate.gate-pending i .pg-spin, .chk-box .ok .pg-spin { width: 24px; height: 24px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pg-spin .8s linear infinite; display: inline-block; }
.post-gate.gate-pending i { color: var(--navy); }
.post-gate p.muted { max-width: 52ch; font-size: 1.05rem; }
/* slots: «Ձեր տները՝ 3 / 10» */
.slots { display: grid; gap: 8px; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); margin-bottom: 14px; }
.slots-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.slots-top b { font-size: 1.1rem; }
.slots-top small { color: var(--muted); font-size: .95rem; font-weight: 600; }
.slots-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; height: 12px; }
.slots-bar i { border-radius: 4px; background: var(--grey-3); }
.slots-bar i.on { background: var(--gold); }
.slots.is-full .slots-bar i.on { background: var(--err); }
.slots.is-full p { color: var(--err); font-weight: 600; }
.cb-card .slots { margin-bottom: 0; background: var(--grey); border: 0; }
/* checklist (post.html check state, manager queue, rejected reasons) */
.chk { list-style: none; margin: 16px auto 0; padding: 0; display: grid; gap: 8px; max-width: 560px; text-align: left; }
.chk-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--white); font-size: 1.02rem; line-height: 1.4; transition: opacity .3s, transform .3s; }
.chk-item i { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-style: normal; }
.chk-item i svg { width: 17px; height: 17px; }
.chk-item.is-ok i { background: var(--ok-bg); color: var(--ok); }
.chk-item.is-bad i { background: var(--err-bg); color: var(--err); }
.chk-item.is-wait i { background: var(--grey); color: var(--navy); }
.chk-item.is-wait .pg-spin { width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pg-spin .8s linear infinite; display: inline-block; }
.chk-item.is-hidden { opacity: 0; transform: translateY(6px); }
.chk-mini { margin: 6px 0 0; max-width: none; }
.chk-mini .chk-item { padding: 6px 10px; font-size: .95rem; background: var(--grey); }
.chk-mini .chk-item i { width: 24px; height: 24px; }
.chk-done { margin-top: 10px; }
/* request pipeline: ուղարկված → զանգել են → դիտում → վարձակալված */
.pipe { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.pipe li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--muted); }
.pipe li i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grey-2); font-style: normal; font-size: .8rem; font-weight: 800; }
.pipe li i svg { width: 13px; height: 13px; }
.pipe li.is-on { color: var(--ink); border-color: var(--tenant); }
.pipe li.is-on i { background: var(--tenant); color: #fff; }
.pipe li.is-cur { background: var(--tenant-soft); }
.pipe li:not(:last-child)::after { content: '›'; margin-left: 4px; color: var(--grey-3); }
.row.req.is-late { background: #fbe9e7; }
.row .late { color: #8a1c0f; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.row .late svg, .row-main small svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.tag.red { background: var(--err-bg); color: var(--err); }
.roles.roles-2 { grid-template-columns: repeat(2, 1fr); }
.who-manager { background: var(--platform-soft); color: var(--platform); }
.cb-avatar.who-manager { background: var(--platform); color: #fff; }
.role-manager > svg { background: var(--platform-soft); color: var(--platform); }
/* partner questionnaire */
.vt { gap: 18px; }
.vt-q { border: 0; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--grey); display: grid; gap: 12px; }
.vt-q legend { float: left; width: 100%; display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 1.1rem; line-height: 1.4; margin-bottom: 6px; }
.vt-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.vt-q .big-pick { grid-template-columns: 1fr 1fr; max-width: 420px; }
.vt-q .pick { background: var(--white); min-height: 58px; }
.vt-q .chip { min-height: 54px; }
.vt-q textarea { width: 100%; min-height: 96px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); font: inherit; font-size: 1.05rem; background: var(--white); color: inherit; resize: vertical; }
.vt-result { margin-bottom: 18px; }
.vt-result .rv-score b { font-size: 2.2rem; }
/* manager */
.mgr-kpis { margin-bottom: 18px; }
.mgr-kpis .kpi { padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.mgr-kpis .kpi.has:not(.hi) b { color: var(--gold-ink); }
.mq-list { display: grid; gap: 12px; }
.mq { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: var(--grey); }
.mq-head { display: flex; gap: 14px; align-items: flex-start; }
.mq-head img { width: 120px; height: 92px; object-fit: cover; border-radius: 10px; flex: none; }
.mq-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mq-head b { font-size: 1.1rem; line-height: 1.3; }
.mq-head small { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.mq small svg, .mq .late svg { width: 15px; height: 15px; color: var(--navy); vertical-align: -3px; margin-right: 4px; flex: none; }
.mq .late { display: inline-flex; align-items: center; gap: 4px; }
.mq-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mq-actions .sel { min-height: 48px; width: auto; min-width: 200px; padding: 8px 12px; font-size: 1rem; }
.mq-reason { min-height: 48px; flex: 1 1 180px; border-radius: 10px; border: 1.5px solid var(--line-2); padding: 8px 12px; font: inherit; font-size: 1rem; background: var(--white); color: inherit; }
.mq-ans { margin-top: 6px; }
.mq-ans div { font-size: .95rem; padding-bottom: 6px; }
.mq .msg { font-style: italic; color: var(--ink); font-size: .95rem; }
.row-side .sel { min-height: 48px; width: auto; min-width: 180px; padding: 8px 12px; font-size: 1rem; }
.auto-card h2 { display: flex; align-items: center; gap: 10px; }
.auto-card h2 svg { width: 24px; height: 24px; color: var(--ok); }
.auto-row { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--tenant-soft); }
.auto-row b { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ok); flex: none; min-width: 72px; }
.auto-row span { font-size: 1rem; line-height: 1.4; }
#q-all .rb-sel { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; }
#q-all .rb-sel .sel { min-height: 48px; width: auto; padding: 8px 12px; font-size: 1rem; }
/* owners.html request form + partners.html cards */
.own-how li { padding: 12px 14px; }
.own-how p { font-size: 1.02rem; }
.prt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prt-card { display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--gold); }
.prt-card i { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--partner-soft); color: var(--partner-ink); }
.prt-card i svg { width: 26px; height: 26px; }
.prt-card.can { border-top-color: var(--tenant); } .prt-card.can i { background: var(--tenant-soft); color: var(--tenant); }
.prt-card.cannot { border-top-color: var(--err); } .prt-card.cannot i { background: var(--err-bg); color: var(--err); }
.prt-card p { color: var(--ink); line-height: 1.55; font-size: 1.05rem; }
@media (max-width: 900px) { .prt-cards { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .roles.roles-2 { grid-template-columns: 1fr; } .mq-head { flex-direction: column; } .mq-head img { width: 100%; height: 150px; } .mq-actions .btn, .mq-actions .sel, .mq-reason { width: 100%; } .vt-q .big-pick { grid-template-columns: 1fr; } .pipe li span { font-size: .85rem; } }
/* 2026-11-05 owner does nothing: manager hint + the partner's one big tick */
.mgr-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 1rem; color: var(--muted); line-height: 1.4; }
.mgr-hint svg { width: 20px; height: 20px; flex: none; color: var(--platform); margin-top: 2px; }
.check-big { padding: 14px 16px; border-radius: 14px; background: var(--tenant-soft); font-weight: 700; font-size: 1.08rem; }
.check-big input { width: 30px; height: 30px; }

/* ---------- 2026-11-06: wallet, payouts queue, profile edit, verify banner, loading ---------- */
.kpis.k2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpis.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 979px) { .kpis.k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kpis.k5 { grid-template-columns: 1fr 1fr; } .kpis.k2 { grid-template-columns: 1fr; } }
.wallet { border-top: 5px solid var(--partner); }
.wallet-title { display: flex; align-items: center; gap: 10px; }
.wallet-title svg { width: 28px; height: 28px; color: var(--partner-ink); flex: none; }
.wallet-top { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--navy); color: #fff; }
.wallet-top small { font-size: 1rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.wallet-bal { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--gold-2); overflow-wrap: anywhere; }
.wallet-kpis .kpi b { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.wallet-go { align-self: flex-start; }
.wallet-go:disabled { opacity: .5; cursor: not-allowed; }
.wallet-form { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--grey); }
.wallet-form .field input { background: var(--white); }
.wallet-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wallet-form legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.big-pick.p3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wallet-h { font-size: 1.15rem; margin-top: 4px; }
.wallet-hist .row { padding: 10px 14px; gap: 8px; }
.wallet-hist .row-main { flex-basis: 200px; }
.wallet-hist .tag svg { width: 14px; height: 14px; }
.amt { font-size: 1.15rem; }
.amt.plus { color: var(--ok); }
.amt.minus { color: var(--navy); }
.cb-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.po-amt { margin-left: auto; font-size: 1.25rem; color: var(--navy); white-space: nowrap; }
.po-done summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.po-done .rows { margin-top: 8px; }
.kv-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-top: 6px; }
.kv-tags .tag svg { width: 14px; height: 14px; }
.prof-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.prof-row > span { display: inline-flex; align-items: center; gap: 8px; }
.prof-row > span svg { width: 20px; height: 20px; color: var(--navy); }
.del-link { align-self: flex-start; background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--muted); font: inherit; font-size: .98rem; text-decoration: underline; cursor: pointer; }
.del-link:hover { color: var(--err); }
.del-confirm { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--err-bg); }
.del-confirm p { font-weight: 700; color: var(--err); }
.btn-danger { background: var(--err); color: #fff; border-color: var(--err); }
.btn-danger:hover { filter: brightness(.92); }
.profile-form .field select { appearance: auto; }
.verify-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: var(--pg-mock-bg); color: var(--pg-mock-ink); }
.verify-banner > svg { width: 28px; height: 28px; flex: none; }
.verify-banner p { flex: 1 1 260px; font-weight: 600; font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
.cb-card.loading { align-items: center; justify-content: center; text-align: center; min-height: 220px; color: var(--muted); font-size: 1.1rem; }
.cb-card.loading .pg-spin { width: 36px; height: 36px; border: 4px solid var(--navy); border-right-color: transparent; border-radius: 50%; animation: pg-spin .8s linear infinite; display: inline-block; }
@media (max-width: 640px) {
  .wallet-go, .wallet-form .btn, .cb-btns .btn, .verify-banner .btn, .prof-row .btn { width: 100%; }
  .po-amt { margin-left: 0; }
}
@media (max-width: 600px) { .big-pick.p3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .wallet-kpis .kpi:last-child { grid-column: 1 / -1; } }

/* firebase mode (shared/db.js adds .bi-live to <html>): demo-only notes disappear */
.bi-live [data-i18n="pay.foot"], .bi-live .pay-foot [data-i18n="pay.foot"] { display: none; }

/* own photos (post.html): thumbnails + big add button; 2026-11-08 */
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-soft); }
.ph-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(10, 32, 64, .78); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ph-x svg { width: 18px; height: 18px; }
.ph-main { position: absolute; left: 8px; bottom: 8px; }
.ph-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 4 / 3; border: 2px dashed var(--navy); border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--navy); background: var(--navy-soft); text-align: center; padding: 10px; min-height: 110px; }
.ph-add svg { width: 30px; height: 30px; }
.ph-add input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ph-add:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.ph-add.is-full { opacity: .45; cursor: not-allowed; }
@media (max-width: 640px) { .ph-grid { grid-template-columns: repeat(2, 1fr); } }
