/* ===== Marketplace components (search, profiles, jobs, chat, accounts) ===== */
.hint{color:var(--muted);font-size:13.5px}
.muted{color:var(--muted)}
.pre{white-space:pre-line}
.narrow{max-width:760px}
.btn-block{width:100%;justify-content:center}
.btn-wa{background:#16A34A;color:#fff}
.btn-xs{padding:6px 12px;font-size:14px;border-radius:9px}
.stack{display:flex;flex-direction:column;gap:14px}
.panel{margin-bottom:16px}
.panel h3{display:flex;align-items:center;gap:8px;font-size:18px;margin-bottom:10px}
.panel h3 svg{width:20px;height:20px;color:var(--orange)}
.panel h3 small{color:var(--muted);font-weight:500;font-size:14px}
.panel .sub{color:var(--muted);font-size:14.5px;margin:-4px 0 12px}
.lang-sw{color:#fff!important;font-weight:600}
.top-r{display:inline-flex;gap:18px;align-items:center}
.desk-only{display:block}
.disclaim{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:13px;margin:18px 0}
.disclaim svg{width:16px;height:16px;flex:none;margin-top:3px}
.empty{text-align:center;padding:48px 20px;color:var(--muted)}
.empty svg{width:44px;height:44px;color:#CBD5E1;margin:0 auto 10px}
.empty h3{font-size:19px;margin-bottom:6px}
.empty p{margin-bottom:14px}
.empty-sm{background:#fff;border:1px dashed var(--line);border-radius:14px;padding:16px;color:var(--muted);font-size:14.5px;text-align:center}
.bell{position:relative}
.bell .dot{position:absolute;top:8px;right:9px;width:9px;height:9px;border-radius:50%;background:var(--orange);border:2px solid #fff}
.ab-logo img{width:28px;height:auto}
.ab-lang{font:700 13px 'Poppins',sans-serif;color:var(--navy)}
.mh-ic .ab-logo img{width:28px;height:auto}
.ab-lang{color:#fff}
.tb-n{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#DC2626;color:#fff;font:700 11px/18px 'Poppins',sans-serif;text-align:center}
.tabbar a,.tabbar button{position:relative}
.chat-btn{position:relative}
.chat-btn .tb-n{top:-6px;left:auto;right:-6px}

/* avatars & stars */
.av{width:52px;height:52px;border-radius:50%;overflow:hidden;flex:none;background:var(--navy-soft);display:grid;place-items:center}
.av img{width:100%;height:100%;object-fit:cover}
.av-l{color:var(--navy);font-weight:700;font-size:20px;background:linear-gradient(135deg,var(--navy-soft),#fff)}
.av-sm{width:40px;height:40px;font-size:16px}
.av-lg{width:68px;height:68px;font-size:26px}
.av-xl{width:104px;height:104px;font-size:40px;border:4px solid #fff;box-shadow:var(--shadow)}
.stars{display:inline-flex;align-items:center;gap:3px;font-size:14px;color:var(--ink);white-space:nowrap}
.stars svg{width:15px;height:15px;color:#F59E0B;fill:#F59E0B}
.stars small{color:var(--muted)}
.vbadge{width:18px;height:18px;color:#2563EB;flex:none}
.avail{font-style:normal;font-size:12px;font-weight:600;color:#15803D;background:#DCFCE7;border-radius:999px;padding:1px 9px;white-space:nowrap}
.avail.off{color:#64748B;background:#F1F5F9}

/* mistri cards */
.mcards{display:flex;flex-direction:column;gap:10px}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}
.mcard{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px;transition:.2s}
.mcard:hover{box-shadow:var(--shadow);border-color:#cfd8e3}
.mc-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mc-n{display:flex;align-items:center;gap:5px}
.mc-n b{color:var(--navy);font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-s{color:var(--muted);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-m{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--muted);align-items:center}
.mc-m span{display:inline-flex;align-items:center;gap:3px}
.mc-m svg{width:13px;height:13px}
.mc-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right;flex:none}
.mc-r b{color:var(--navy);font-size:16px}
.mc-r small{color:var(--muted);font-size:12px;line-height:1.1}

/* home quick links */
.m-quick{display:none}

/* search */
.search-pg{padding:28px 0 20px}
.sbar{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.sbar-q{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:0 8px 0 16px;height:56px}
.sbar-q:focus-within{border-color:var(--orange)}
.sbar-q>svg{width:20px;height:20px;color:var(--muted);flex:none}
.sbar-q input{flex:1;min-width:0;border:0;outline:0;font:500 16px 'Hind Siliguri',sans-serif;background:transparent;color:var(--ink)}
.sbar .ms-go{width:42px;height:42px;border:0;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;flex:none;cursor:pointer}
.sbar .ms-go svg{width:18px;height:18px}
.sbar-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.sbar-row::-webkit-scrollbar{display:none}
.sel{position:relative;display:flex;align-items:center;flex:none}
.sel select,.sel input{height:40px;border:1.5px solid var(--line);border-radius:999px;padding:0 14px;font:500 14.5px 'Hind Siliguri',sans-serif;background:#fff;color:var(--ink);outline:0;max-width:190px}
.sel.area input{padding-left:32px;width:170px}
.sel.area svg{position:absolute;left:11px;width:15px;height:15px;color:var(--muted)}
.chip-btn{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;border:1.5px solid var(--line);border-radius:999px;padding:0 14px;background:#fff;font:600 14.5px 'Hind Siliguri',sans-serif;color:var(--navy);cursor:pointer;white-space:nowrap}
.chip-btn svg{width:16px;height:16px}
.chip-btn.on{background:var(--navy);border-color:var(--navy);color:#fff}
.fpanel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:14px}
.fp-g b{display:block;font-size:14.5px;color:var(--navy);margin-bottom:6px}
.fp-acts{display:flex;justify-content:flex-end;gap:8px}
.chips.radio label,.chips.checks label{cursor:pointer}
.chips.radio input,.chips.checks input{position:absolute;opacity:0;pointer-events:none}
.chips.radio span,.chips.checks span{display:inline-block;border:1.5px solid var(--line);background:#fff;border-radius:12px;padding:7px 14px;font-weight:600;font-size:14.5px;color:var(--ink);transition:.15s}
.chips.radio input:checked+span,.chips.checks input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}
.chips.radio input:focus-visible+span,.chips.checks input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
.stack-chips{flex-direction:column}
.stack-chips span{display:block;width:100%}
.switch-row{display:flex;align-items:center;gap:10px;font-weight:500;cursor:pointer}
.switch-row input{width:20px;height:20px;accent-color:var(--navy)}
.locask{display:flex;gap:12px;align-items:center;background:var(--orange-soft);border-radius:14px;padding:12px 14px;margin-bottom:12px;color:#7C3A00}
.locask svg{width:24px;height:24px;flex:none}
.locask small{display:block}
.locask.bad{background:#FEE2E2;color:#991B1B}
.res-head{display:flex;justify-content:space-between;align-items:center;margin:6px 0 12px;gap:10px}
.res-head b{color:var(--navy)}
.sortsel{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
.sortsel svg{width:16px;height:16px}
.sortsel select{border:0;background:transparent;font:600 14.5px 'Hind Siliguri',sans-serif;color:var(--navy);outline:0}
.more-wrap{text-align:center;margin-top:18px}

/* mistri profile */
.prof{padding-bottom:20px}
.prof-hero{height:120px;background:var(--navy)}
.prof-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:0 20px 20px;text-align:center;margin:-60px 0 16px;position:relative}
.prof-card .av-xl{margin:-0px auto 10px;position:relative;top:-40px;margin-bottom:-28px}
.prof-card h1{font-size:24px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}
.vtag{display:inline-flex;align-items:center;gap:4px;background:#DBEAFE;color:#1E40AF;font-size:13px;font-weight:600;border-radius:999px;padding:2px 10px}
.vtag svg{width:15px;height:15px}
.prof-sub{color:var(--muted);margin-top:2px}
.prof-loc{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:14.5px}
.prof-loc svg{width:15px;height:15px}
.prof-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.prof-tags .mode{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--navy);background:var(--navy-soft);border-radius:999px;padding:1px 9px}
.prof-tags .mode svg{width:13px;height:13px}
.prof-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:14px;border-top:1px solid var(--line);padding-top:14px}
.prof-stats b{display:block;color:var(--navy);font-size:17px;line-height:1.3}
.prof-stats small{color:var(--muted);font-size:12.5px}
.tagwrap{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.stag{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:4px 10px;font-size:14px}
.kv-sm{grid-template-columns:120px 1fr;font-size:14.5px}
.kv-sm dt{color:var(--muted)}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.gallery.edit form{position:relative}
.gallery.edit button{position:absolute;top:6px;right:6px;width:32px;height:32px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer}
.gallery.edit button svg{width:16px;height:16px}
.add-ph label{aspect-ratio:1;border:2px dashed #CBD5E1;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);cursor:pointer;font-size:14px}
.add-ph input{position:absolute;opacity:0;width:1px}
.add-ph svg{width:26px;height:26px}
.typ{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
.typ b{color:var(--navy)}
.typ small{width:100%;color:var(--muted);font-size:12.5px}
.svd-body .typ{background:var(--bg);border:0;border-radius:12px;padding:10px 14px;margin:10px 0}
.rbars{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.rbar{display:grid;grid-template-columns:96px 1fr 34px;align-items:center;gap:10px;font-size:14px}
.rbar i{height:8px;border-radius:4px;background:var(--bg);overflow:hidden}
.rbar em{display:block;height:100%;background:#F59E0B;border-radius:4px}
.rbar b{text-align:right;color:var(--navy)}
.rlist{display:flex;flex-direction:column}
.rv{padding:12px 0;border-top:1px solid var(--line)}
.rv-h{display:flex;align-items:center;gap:8px}
.rv-h small{margin-left:auto;color:var(--muted);font-size:12.5px}
.rv-s{color:var(--muted);font-size:12.5px}
.rv p{margin-top:4px;font-size:15px}
.prof-links{text-align:center}
.lnk{color:var(--orange-2);font-weight:600;display:inline-flex;align-items:center;gap:4px}
.lnk svg{width:15px;height:15px}
.cta-bar{position:sticky;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line);padding:10px 0;box-shadow:0 -8px 20px -14px rgba(5,43,82,.35)}
.cta-in{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cta-in small{display:block;color:var(--muted);font-size:12.5px}
.cta-in b{color:var(--navy);font-size:17px}

/* request */
.req{padding:24px 0}
.req-m{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px;margin-bottom:14px}
.req-m>span:nth-child(2){flex:1;min-width:0}
.req-m b{display:block;color:var(--navy)}
.req-m small{color:var(--muted);font-size:13.5px}
.req h3{margin-top:6px}
.up-sm{aspect-ratio:auto;min-height:96px;flex-direction:row;gap:10px;padding:14px}
.up-sm img{position:static;width:72px;height:72px;object-fit:cover;border-radius:10px}
.up-sm svg{width:24px;height:24px}
.up-av{width:120px;aspect-ratio:1;border-radius:50%;margin:0 auto}
.up-av b{font-size:13px}

/* job page */
.jobpg,.list-pg,.me-page{padding:24px 0 20px}
.job-head{padding:18px}
.jh-top{display:flex;align-items:center;gap:12px}
.jh-top>div{flex:1;min-width:0}
.jh-top h1{font-size:20px}
.jh-top small{color:var(--muted);font-size:13px}
.jh-ic{width:46px;height:46px;border-radius:14px;background:var(--navy);color:var(--orange);display:grid;place-items:center;flex:none}
.jh-ic svg{width:22px;height:22px}
.jh-who{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.jh-who>a,.who-c{display:flex;align-items:center;gap:10px;min-width:0}
.jh-who b{display:block;color:var(--navy)}
.jh-who small{color:var(--muted);font-size:13px;display:flex;gap:6px;align-items:center}
.jh-contact{display:flex;gap:8px;margin-top:12px}
.jh-contact .btn{flex:1;justify-content:center}
.tl{list-style:none;position:relative;padding-left:6px}
.tl li{position:relative;padding:0 0 16px 28px;color:var(--muted)}
.tl li::before{content:"";position:absolute;left:0;top:5px;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #CBD5E1;z-index:1}
.tl li::after{content:"";position:absolute;left:6px;top:20px;bottom:-4px;width:2px;background:#E2E8F0}
.tl li:last-child::after{display:none}
.tl li.done::before{background:var(--navy);border-color:var(--navy)}
.tl li.done::after{background:var(--navy)}
.tl li.cur::before{background:var(--orange);border-color:#FFE0B8;box-shadow:0 0 0 4px #FFF2E3}
.tl li.done,.tl li.cur{color:var(--ink)}
.tl b{display:block;font-weight:600}
.tl small{font-size:12.5px;color:var(--muted)}
.pphoto{max-width:220px;border-radius:12px;margin:8px 0}
.diag{background:var(--bg);border-radius:12px;padding:10px 14px;margin:8px 0}
.bill{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:8px}
.bill div{display:flex;justify-content:space-between;padding:9px 14px;border-bottom:1px solid var(--line)}
.bill div:last-child{border-bottom:0}
.bill .tot{background:var(--navy-soft);font-size:17px}
.bill .tot b{color:var(--navy)}
.paid-st{display:flex;align-items:center;gap:6px;margin-top:10px;color:#B45309;font-weight:600}
.paid-st.ok{color:#15803D}
.paid-st svg{width:18px;height:18px}
.bill-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bill-in input{width:100%}
.sumline{text-align:right;font-size:17px}
.sumline b{color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.decline-f{display:flex;gap:8px;margin:-6px 0 16px}
.decline-f input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:10px;padding:8px 12px;font:15px 'Hind Siliguri',sans-serif}
.rate-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.rate{display:inline-flex;flex-direction:row-reverse}
.rate input{position:absolute;opacity:0;width:1px}
.rate label{cursor:pointer;padding:3px;color:#CBD5E1}
.rate label svg{width:28px;height:28px}
.rate input:checked~label,.rate label:hover,.rate label:hover~label{color:#F59E0B}
.rate input:checked~label svg,.rate label:hover svg,.rate label:hover~label svg{fill:#F59E0B}
.rate input:focus-visible+label{outline:2px solid var(--orange);border-radius:6px}
.safety{display:flex;justify-content:center;gap:22px;margin:8px 0 10px;flex-wrap:wrap}
.lnk-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:var(--muted);font:500 14px 'Hind Siliguri',sans-serif;cursor:pointer}
.lnk-btn svg{width:15px;height:15px}

/* chat */
.chat{display:flex;flex-direction:column;max-width:760px;margin:0 auto;height:calc(100vh - 114px);height:calc(100dvh - 114px);padding:12px 16px 0}
.chat-job{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 12px}
.chat-job .jh-ic{width:38px;height:38px;border-radius:10px}
.chat-job>span:nth-child(2){flex:1;min-width:0}
.chat-job b{display:block;color:var(--navy);font-size:15px}
.chat-job small{color:var(--muted);font-size:12.5px}
.chat-acts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.chat-acts form{display:contents}
.msgs{flex:1;overflow-y:auto;padding:14px 2px;display:flex;flex-direction:column;gap:6px}
.msgs-load{text-align:center;color:var(--muted);margin:auto}
.day{text-align:center;margin:8px 0}
.day span{background:#E2E8F0;color:#475569;font-size:12px;border-radius:999px;padding:2px 10px}
.msg{max-width:78%;border-radius:16px;padding:8px 12px;font-size:15px;line-height:1.5;word-wrap:break-word}
.msg small{display:block;text-align:right;font-size:11px;opacity:.7;margin-top:2px}
.msg img{border-radius:10px;max-height:240px;margin-bottom:4px}
.msg.me{align-self:flex-end;background:var(--navy);color:#fff;border-bottom-right-radius:4px}
.msg.them{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}
.msg.sys{align-self:center;background:var(--orange-soft);color:#7C3A00;font-size:13.5px;text-align:center;max-width:92%}
.composer{display:flex;align-items:flex-end;gap:8px;padding:10px 0 calc(10px + env(safe-area-inset-bottom));background:var(--bg)}
.composer textarea{flex:1;min-height:46px;max-height:120px;resize:none;border:1.5px solid var(--line);border-radius:22px;padding:11px 16px;font:15.5px 'Hind Siliguri',sans-serif;outline:0}
.composer textarea:focus{border-color:var(--orange)}
.cp-photo{width:46px;height:46px;border-radius:50%;background:#fff;border:1.5px solid var(--line);display:grid;place-items:center;cursor:pointer;color:var(--navy);flex:none}
.cp-photo input{position:absolute;opacity:0;width:1px}
.cp-send{width:46px;height:46px;border-radius:50%;border:0;background:var(--orange);color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.cp-photo svg,.cp-send svg{width:20px;height:20px}
.chat-off{text-align:center;color:var(--muted);padding:16px}
body.chat-page{background:var(--bg)}
body.chat-page footer{display:none}

/* lists */
.tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:14px}
.tabs::-webkit-scrollbar{display:none}
.tabs a{flex:none;padding:8px 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-weight:600;font-size:14.5px;color:var(--ink)}
.tabs a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.tabs a b{display:inline-block;min-width:20px;border-radius:10px;background:var(--orange);color:#fff;font-size:12px;text-align:center;margin-left:4px}
.jlist{display:flex;flex-direction:column;gap:8px}
.jrow{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px}
.jrow.unread{border-color:var(--orange);background:#FFFBF5}
.jr-b{flex:1;min-width:0;display:flex;flex-direction:column}
.jr-b b{color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jr-b b small{color:var(--muted);font-weight:500}
.jr-b small{color:var(--muted);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jr-amt{color:var(--navy)!important;font-weight:600}
.jr-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.jr-r small{color:var(--muted);font-size:12px}
.jr-r .tb-n{position:static}
.nlist{display:flex;flex-direction:column;gap:8px}
.nrow{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.nrow.unread{border-color:var(--orange);background:#FFFBF5}
.nrow>svg{width:20px;height:20px;color:var(--orange);flex:none;margin-top:3px}
.nrow b{display:block;color:var(--navy);font-weight:600}
.nrow small{display:block;color:var(--ink);font-size:14px}
.nrow em{font-style:normal;color:var(--muted);font-size:12px}

/* account / profile */
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--bg);border-radius:12px;padding:4px;margin-bottom:16px}
.seg a{text-align:center;padding:8px;border-radius:9px;font-weight:600;color:var(--muted)}
.seg a.on{background:#fff;color:var(--navy);box-shadow:0 2px 8px -4px rgba(5,43,82,.3)}
.auth-h{font-size:22px}
.two-btn{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.two-btn .btn{justify-content:center;padding:10px 8px;font-size:14.5px}
.me-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.me-head h1{font-size:22px}
.me-head p{color:var(--muted)}
.me-stats,.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.me-stats>*,.kpis>*{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 10px;text-align:center}
.me-stats b,.kpis b{display:block;color:var(--navy);font-size:19px;line-height:1.3}
.me-stats small,.kpis small{color:var(--muted);font-size:12.5px}
.kpis .hot{border-color:var(--orange);background:#FFFBF5}
.kpis .hot b{color:var(--orange-2)}
.menu-list{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:16px}
.menu-list a{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--ink);font-weight:500}
.menu-list a:last-child{border-bottom:0}
.menu-list a>svg:first-child{width:20px;height:20px;color:var(--navy)}
.menu-list a>span{flex:1}
.menu-list a>svg:last-child{width:18px;height:18px;color:#94A3B8}
.menu-list em{font-style:normal;color:var(--orange-2);font-weight:600;font-size:14px}
.refbox{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--bg);border:1.5px dashed #CBD5E1;border-radius:14px;padding:10px 12px;margin-bottom:8px}
.refbox b{flex:1;font-size:20px;letter-spacing:2px;color:var(--navy)}
.logout{margin:8px 0 20px;color:#DC2626}
.av-up label{position:relative;display:block;cursor:pointer}
.av-up input{position:absolute;opacity:0;width:1px}
.av-up label>svg{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;padding:6px;border-radius:50%;background:var(--orange);color:#fff;border:2px solid #fff}
.svc-pick{display:flex;flex-direction:column;gap:6px}
.svc-pick details{border:1px solid var(--line);border-radius:12px;padding:8px 12px}
.svc-pick summary{list-style:none;cursor:pointer;font-weight:600}
.svc-pick summary::-webkit-details-marker{display:none}
.svc-pick summary label{display:flex;align-items:center;gap:8px}
.svc-pick summary input{width:18px;height:18px;accent-color:var(--navy)}
.svc-pick .chips{margin-top:8px}

/* mistri home */
.mdash{padding-bottom:20px}
.md-head{background:var(--navy);color:#fff;padding:22px 0 20px;border-radius:0 0 28px 28px;margin-bottom:16px}
.md-top{display:flex;align-items:center;gap:14px}
.md-who h1{color:#fff;font-size:21px;display:flex;align-items:center;gap:6px}
.md-who .vbadge{color:#93C5FD}
.md-who p{color:#B9C8D9;font-size:14px;display:flex;gap:6px;align-items:center}
.md-who .stars{color:#fff}
.avail-f{margin-top:16px}
.avail-sw{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:12px 14px;cursor:pointer}
.avail-sw input{position:absolute;opacity:0;width:1px}
.avail-sw .sw{width:48px;height:28px;border-radius:14px;background:#64748B;position:relative;flex:none;transition:.2s}
.avail-sw .sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}
.avail-sw input:checked+.sw{background:#22C55E}
.avail-sw input:checked+.sw::after{left:23px}
.avail-sw input:focus-visible+.sw{outline:2px solid var(--orange);outline-offset:2px}
.avail-sw b{display:block;color:#fff}
.avail-sw small{color:#B9C8D9;font-size:13px}
.nudge{display:flex;align-items:center;gap:12px;background:#EFF6FF;border:1px solid #BFDBFE;border-radius:16px;padding:12px 14px;margin-bottom:14px}
.nudge>svg:first-child{width:26px;height:26px;color:#2563EB;flex:none}
.nudge span{flex:1}
.nudge b{display:block;color:#1E3A8A}
.nudge small{color:#1E40AF;font-size:13px}
.nudge>svg:last-child{width:18px;height:18px;color:#93C5FD}
.dsec{margin-bottom:18px}
.dsec .m-sh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.dsec .m-sh h2{font-size:18px}
.dsec .m-sh a{color:#C2410C;font-weight:600;font-size:14px}
.reqcard{background:#fff;border:1.5px solid var(--orange);border-radius:18px;padding:14px;margin-bottom:10px}
.rc-h{display:flex;align-items:center;gap:10px}
.rc-h b{display:block;color:var(--navy)}
.rc-h small{color:var(--muted);font-size:13px}
.reqcard p{margin-top:8px;font-size:14.5px}
.rc-when{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13.5px!important}
.rc-when svg{width:15px;height:15px}
.rc-a{display:flex;gap:8px;margin-top:10px;justify-content:flex-end;flex-wrap:wrap}
.rc-a form{display:contents}

/* earnings */
.earn-hero{background:var(--navy);color:#fff;border-radius:22px;padding:20px;margin-bottom:12px}
.earn-hero small{color:#B9C8D9}
.earn-hero b{display:block;font-size:34px;line-height:1.2;color:#fff;margin:2px 0}
.earn-hero span{color:#B9C8D9;font-size:14px}
.bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;height:170px;align-items:end;padding-top:8px}
.bars .bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}
.bars .bar i{display:block;width:70%;max-width:40px;background:var(--orange);border-radius:8px 8px 3px 3px;order:2}
.bars .bar b{font-size:11px;color:var(--navy);order:1;white-space:nowrap}
.bars .bar small{font-size:11.5px;color:var(--muted);order:3}
.etable{display:flex;flex-direction:column}
.etable>*{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.etable>*:last-child{border-bottom:0}
.etable span{display:flex;flex-direction:column;min-width:0}
.etable b{color:var(--navy)}
.etable small{color:var(--muted);font-size:13px}
.etable .r{align-items:flex-end;flex:none}
.etable small.ok{color:#15803D}
.etable small.due{color:#B45309}

/* registration (3 steps) */
.prog3{grid-template-columns:repeat(3,1fr)}

/* toast */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:100px;z-index:200;background:var(--navy);color:#fff;border-radius:14px;padding:12px 16px;display:flex;gap:14px;align-items:center;max-width:min(92vw,520px);box-shadow:0 12px 30px -10px rgba(0,0,0,.4);font-size:14.5px}
.toast a{color:var(--orange);font-weight:700;white-space:nowrap}

@media (max-width:900px){
  .grid-cards{grid-template-columns:1fr}
}
@media (max-width:768px){
  .desk-only{display:none}
  body:not(.page-home) footer{display:none}
  .m-quick{display:flex;gap:8px;margin:12px 16px 0;overflow-x:auto;scrollbar-width:none}
  .m-quick a{flex:none;display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-weight:600;font-size:14px;color:var(--navy)}
  .m-quick svg{width:16px;height:16px;color:var(--orange)}
  .m-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:500 15px 'Hind Siliguri',sans-serif;color:var(--ink);height:100%}
  .search-pg{padding-top:12px}
  .prof-hero{height:90px}
  .prof-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
  .cta-bar{bottom:calc(70px + env(safe-area-inset-bottom))}
  .page-mistri{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
  .page-mistri .fab{bottom:calc(160px + env(safe-area-inset-bottom))}
  .bill-in{grid-template-columns:1fr 1fr}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md-head{border-radius:0 0 24px 24px}
  .jobpg,.list-pg,.me-page,.req{padding-top:14px}
  .chat{height:calc(100vh - 60px - 70px - env(safe-area-inset-bottom));height:calc(100dvh - 60px - 70px - env(safe-area-inset-bottom));padding:10px 12px 0}
  body.chat-page{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .composer{padding-bottom:10px}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom))}
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rbar{grid-template-columns:84px 1fr 30px}
  .two-btn{grid-template-columns:1fr}
  .page-verify .tabbar,.page-request .tabbar{display:none}
  .page-verify,.page-request{padding-bottom:0}
}

/* logo placement */
.mh-wordmark{display:inline-flex;align-items:center;background:#fff;border-radius:14px;padding:6px 12px;box-shadow:0 6px 18px -10px rgba(0,0,0,.45)}
.mh-wordmark img{height:40px;width:auto}
.mh-sp{flex:1}
.reg-logo{height:56px;width:auto;margin:0 auto 12px}
.auth-logo img{width:190px;height:auto}
.m-banner img{background:#fff}
.side-logo img{max-height:52px;width:auto}
@media (max-width:768px){.auth-logo img{width:160px}.reg-logo{height:46px}}

/* ---------- v4: outlined logo, cover photo, notice bar, footer credit ---------- */
.mh-wordmark{background:none !important;box-shadow:none !important;padding:0 !important;border-radius:0}
.mh-wordmark img{height:56px !important;width:auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}
.m-head.has-cover{background:linear-gradient(180deg,rgba(5,43,82,.72),rgba(5,43,82,.9)),var(--cover) center/cover no-repeat}
.hero.has-cover{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 45%,rgba(255,255,255,.55) 100%),var(--cover) center/cover no-repeat}
footer .fl{background:none !important;padding:0 !important;border-radius:0}
footer .fl img{height:62px !important;width:auto}
footer .copy{display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap}
footer .copy .dev{font-family:'Poppins',sans-serif;font-size:13.5px;color:#9fb2c6}
footer .copy .dev a{color:#FC8608;font-weight:600}
footer .copy .dev a:hover{text-decoration:underline}
@media(max-width:860px){footer .copy{justify-content:center;text-align:center}}
.nav-vc{display:inline-flex;align-items:center;gap:5px}
.nav-vc svg{width:17px;height:17px;color:#16A34A}

.notice-bar{display:flex;align-items:center;gap:0;background:#FC8608;color:#fff;font-weight:600;font-size:14.5px;overflow:hidden;position:relative;z-index:60}
.nb-ic{flex:none;display:grid;place-items:center;width:42px;height:36px;background:#052B52}
.nb-ic svg{width:18px;height:18px}
.nb-track{flex:1;overflow:hidden;white-space:nowrap;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.nb-text{display:inline-block;padding-left:100%;animation:nbScroll 22s linear infinite;color:#fff;line-height:36px}
a.nb-text{text-decoration:underline;text-underline-offset:3px}
.notice-bar:hover .nb-text{animation-play-state:paused}
@keyframes nbScroll{to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.nb-text{animation:none;padding-left:12px;white-space:normal}}

/* ---------- v4: videos ---------- */
.vid-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.m-home .vid-grid{grid-auto-flow:column;grid-auto-columns:78%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.m-home .vid-card{scroll-snap-align:start}
.vid-card{display:flex;flex-direction:column;gap:8px;color:inherit}
.vid-thumb{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#0B2540;border:0;padding:0;cursor:pointer;display:block;width:100%}
.vid-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vid-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vid-blank{display:grid;place-items:center;color:#fff}
.vid-play{position:absolute;inset:0;display:grid;place-items:center}
.vid-play svg,.vid-blank>svg{width:54px;height:54px;padding:14px;border-radius:50%;background:rgba(252,134,8,.95);color:#fff;fill:#fff;box-shadow:0 8px 20px -6px rgba(0,0,0,.5)}
.vid-t{font-weight:600;line-height:1.4;color:var(--navy,#052B52)}

/* ---------- v4: section header row ---------- */
.sec-h2{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.sec-title{display:flex;align-items:center;gap:10px;font-size:clamp(22px,3vw,30px);color:var(--navy)}
.sec-title svg{width:28px;height:28px;color:var(--orange)}
.sec-h{font-size:19px;color:var(--navy);margin:26px 0 10px;display:flex;align-items:center;gap:8px}
.sec-h small{font-size:14px;color:var(--muted);font-weight:500}

/* ---------- v4: contractor firms ---------- */
.firm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.firm-row{display:grid;grid-auto-flow:column;grid-auto-columns:84%;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:6px}
.firm-row .firm-card{scroll-snap-align:start}
.firm-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;color:inherit;transition:box-shadow .2s,transform .2s}
.firm-card:hover{box-shadow:0 14px 30px -18px rgba(5,43,82,.45);transform:translateY(-2px)}
.fc-cover{height:96px;background:linear-gradient(135deg,#052B52,#0E4C86) center/cover no-repeat}
.fc-body{display:flex;gap:12px;padding:0 14px 14px;margin-top:-26px;align-items:flex-start}
.firm-logo{width:64px;height:64px;border-radius:16px;background:#fff;border:3px solid #fff;box-shadow:0 6px 16px -8px rgba(0,0,0,.35);overflow:hidden;flex:none;display:grid;place-items:center}
.firm-logo img{width:100%;height:100%;object-fit:cover}
.firm-logo-ph{background:#EEF2F7;color:var(--navy)}
.firm-logo-ph svg{width:30px;height:30px}
.fc-txt{min-width:0;padding-top:30px;display:flex;flex-direction:column;gap:4px}
.fc-txt b{font-size:16.5px;color:var(--navy);line-height:1.35;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.vbadge{width:18px !important;height:18px !important;color:#16A34A;flex:none}
.fc-txt small{color:var(--muted);font-size:13.5px;display:flex;align-items:center;gap:4px}
.fc-txt small svg{width:14px;height:14px;flex:none}
.fc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.fc-chips span,.fc-chips a{background:#F1F5F9;color:#334155;border-radius:99px;padding:3px 10px;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;gap:5px}
.fc-chips.big a{font-size:14px;padding:7px 12px;background:#FFF4E8;color:#9A3412}
.fc-chips.big svg{width:16px;height:16px}

.firm-hero{background:linear-gradient(135deg,#052B52,#0B3F73);color:#fff;padding:42px 0 34px}
.firm-hero .tag{background:rgba(255,255,255,.12);color:#fff}
.firm-hero h1{color:#fff;font-size:clamp(26px,4vw,40px);margin:12px 0 8px}
.firm-hero p{color:#C8D6E5;max-width:640px}
.firm-filter{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin-top:20px}
.firm-filter input,.firm-filter select{height:48px;border-radius:12px;border:0;padding:0 14px;font:inherit;min-width:0}
@media(max-width:760px){.firm-hero{padding:22px 0 22px}.firm-filter{grid-template-columns:1fr 1fr}.firm-filter input{grid-column:1/-1}.firm-filter .btn{grid-column:1/-1}}
.firm-join{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;background:#FFF7ED;border:1px solid #FED7AA;border-radius:16px;padding:14px 16px;margin-bottom:20px}
.firm-join div{flex:1;min-width:220px}
.firm-join b{display:block;color:var(--navy)}
.firm-join small{color:#7C2D12}

.firm-page{padding:22px 0 40px}
.firm-intro{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}
.firm-intro h1{font-size:clamp(22px,3vw,30px);color:var(--navy);margin-bottom:6px}
.firm-intro p{color:var(--muted)}
.fi-ic{width:52px;height:52px;border-radius:16px;background:#DCFCE7;color:#16A34A;display:grid;place-items:center;flex:none}
.fi-ic svg{width:28px;height:28px}
.firm-form fieldset{border:0;padding:0;margin:0 0 8px;display:flex;flex-direction:column;gap:12px}
.firm-form legend{font-weight:700;color:var(--navy);font-size:16.5px;display:flex;align-items:center;gap:8px;margin-bottom:10px;padding-top:6px}
.firm-form legend svg{width:20px;height:20px;color:var(--orange)}
.firm-form textarea{min-height:110px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.row2{grid-template-columns:1fr}}
.chip-pick{display:flex;flex-wrap:wrap;gap:8px}
.chip-pick label{cursor:pointer}
.chip-pick input{position:absolute;opacity:0;pointer-events:none}
.chip-pick span{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);border-radius:99px;padding:7px 12px;font-size:14px;background:#fff}
.chip-pick span svg{width:16px;height:16px}
.chip-pick input:checked+span{border-color:var(--orange);background:#FFF4E8;color:#9A3412;font-weight:600}
.chip-pick input:focus-visible+span{outline:2px solid var(--navy);outline-offset:2px}
.ff-prev{margin-top:8px;width:72px;height:72px;border-radius:12px;object-fit:cover;border:1px solid var(--line)}
.ff-prev.wide{width:100%;max-width:260px;height:80px}
.firm-status{display:flex;gap:12px;align-items:flex-start;border-radius:16px;padding:14px 16px;margin-bottom:12px}
.firm-status svg{width:26px;height:26px;flex:none}
.firm-status b{display:block}
.firm-status small{display:block;margin-top:3px}
.firm-status.st-ok{background:#DCFCE7;color:#14532D}
.firm-status.st-warn{background:#FEF3C7;color:#78350F}
.firm-status.st-bad{background:#FEE2E2;color:#7F1D1D}
.firm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.firm-up{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.firm-up input[type=file]{flex:1;min-width:180px}
.firm-up input[name=caption]{flex:2;min-width:180px;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit}
.firm-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.firm-gal figure{position:relative;margin:0;border-radius:12px;overflow:hidden;background:#F1F5F9}
.firm-gal img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.firm-gal figcaption{font-size:13px;padding:6px 8px;color:#334155}
.firm-gal form{position:absolute;top:6px;right:6px}
.firm-gal form button{width:34px;height:34px;border-radius:10px;border:0;background:rgba(220,38,38,.92);color:#fff;display:grid;place-items:center;cursor:pointer}
.firm-gal form button svg{width:17px;height:17px}

.firm-profile{padding-bottom:30px}
.fp-cover{height:clamp(150px,26vw,260px);background:linear-gradient(135deg,#052B52,#0E4C86) center/cover no-repeat}
.fp-head{display:flex;gap:16px;align-items:flex-end;margin-top:-48px;margin-bottom:14px}
.fp-logo{width:104px;height:104px;border-radius:24px;border-width:4px}
.fp-title{padding-bottom:4px;min-width:0}
.fp-title h1{font-size:clamp(21px,3.4vw,30px);color:var(--navy);line-height:1.3;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fp-title p{color:var(--muted);display:flex;align-items:center;gap:5px;margin-top:4px}
.fp-title p svg{width:16px;height:16px}
.vpill{display:inline-flex;align-items:center;gap:4px;background:#DCFCE7;color:#166534;border-radius:99px;padding:3px 10px;font-size:13.5px;font-weight:700}
.vpill svg{width:16px;height:16px}
.fp-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.fp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:16px}
.fp-facts div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.fp-facts small{display:block;color:var(--muted);font-size:13px}
.fp-facts b{color:var(--navy);font-size:16px}
.fp-about{white-space:normal;line-height:1.75;color:#334155}
.firm-profile .panel h2{font-size:18px;color:var(--navy);margin-bottom:10px}
.fp-contact{list-style:none;display:grid;gap:10px;padding:0}
.fp-contact li{display:flex;gap:10px;align-items:flex-start}
.fp-contact svg{width:18px;height:18px;color:var(--orange);flex:none;margin-top:3px}
@media(max-width:560px){.fp-head{margin-top:-40px}.fp-logo{width:84px;height:84px;border-radius:20px}}
footer .copy{justify-content:center !important;text-align:center;padding-left:20px;padding-right:20px;column-gap:28px}
.fp-head{align-items:flex-start}
.fp-title{padding-top:56px}
@media(max-width:560px){.fp-title{padding-top:46px}}
.nav-vc{display:inline !important}
.nav-vc svg{vertical-align:-3px;margin-right:4px}
.otp-in{font:700 26px 'Poppins',sans-serif !important;letter-spacing:10px;text-align:center}
.fp-resend{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}
