@font-face{font-family:'Vazirmatn';src:url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
.wrap.admin-services-v9 {
    max-width: 100%;
}

.desktop-nav {
    max-width: fit-content !important;
}
/* Kafinets — Mobile-first App Design System (v4) */
:root{--p:#e8344e;--p-d:#cf2640;--p-soft:#fdebee;--navy:#1d2540;--ink:#1e2230;--mute:#7b8196;--line:#eceef3;--bg:#f4f5f8;--card:#fff;
--ok:#12a76b;--ok-s:#e3f6ee;--warn:#e8890c;--warn-s:#fff3dd;--info:#2f6bff;--info-s:#e8efff;--bad:#e5384c;--bad-s:#fdebee;
--r:20px;--r-s:14px;--sh:0 2px 14px rgba(30,34,48,.06);--sh-l:0 14px 36px rgba(30,34,48,.14);--bar:64px;
--font:'Vazirmatn',Tahoma,'Segoe UI',sans-serif;--grad:linear-gradient(135deg,#ff6a7d,#e8344e)}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--ink);line-height:1.75;direction:rtl;text-align:right;min-height:100vh;
padding-bottom:calc(var(--bar) + env(safe-area-inset-bottom) + 14px);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}
ul{list-style:none}
.ic{width:1.3em;height:1.3em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:inline-block}
.wrap{max-width:1080px;margin:0 auto;padding:16px}
.animate-in{animation:up .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(18,167,107,.5)}100%{box-shadow:0 0 0 9px rgba(18,167,107,0)}}
@keyframes float{50%{transform:translateY(-8px)}}

/* App bar */
.appbar{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--card) 90%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}
.appbar-in{max-width:1080px;margin:auto;height:58px;padding:0 16px;display:flex;align-items:center;gap:10px}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:1.08rem;letter-spacing:-.02em}
.brand-mark{width:36px;height:36px;border-radius:12px;background:var(--grad);color:var(--site-button-text,#fff);display:grid;place-items:center;box-shadow:0 6px 14px color-mix(in srgb,var(--p) 28%,transparent)}
.brand b{color:var(--p)}
.sp{flex:1}
.dlinks{display:none;gap:4px}
.dlinks a{padding:8px 14px;border-radius:12px;color:var(--mute);font-weight:600;font-size:.9rem;display:flex;gap:6px;align-items:center}
.dlinks a:hover{background:var(--bg);color:var(--ink)}.dlinks a.on{background:var(--p-soft);color:var(--p)}
.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--navy),color-mix(in srgb,var(--navy) 58%,var(--p)));color:#fff;display:grid;place-items:center;font-weight:700;flex:none}

/* Bottom tab bar */
.bnav{position:fixed;inset:auto 0 0 0;z-index:100;background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;align-items:flex-end;box-shadow:0 -8px 28px rgba(30,34,48,.07)}
.bnav a{flex:1;max-width:100px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 0 4px;font-size:.68rem;font-weight:600;color:var(--mute);position:relative;transition:color .2s}
.bnav a .ic{font-size:1.15rem}
.bnav a.on{color:var(--p)}
.bnav a.on:not(.fab)::before{content:"";position:absolute;top:-7px;width:28px;height:3px;border-radius:0 0 4px 4px;background:var(--p)}
.bnav .fab{margin-top:-24px;color:var(--p)}
.bnav .fab i{width:54px;height:54px;border-radius:50%;background:var(--grad);color:#fff;display:grid;place-items:center;box-shadow:0 10px 22px rgba(232,52,78,.45);border:4px solid #fff;font-style:normal}
.bnav .fab i .ic{font-size:1.4rem;stroke-width:2.2}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block;animation:pulse 1.6s infinite;vertical-align:middle}
.bnav .dot{position:absolute;top:6px;right:34%}

/* Toasts */
.toasts{position:fixed;top:calc(66px + env(safe-area-inset-top));left:12px;right:12px;z-index:300;display:grid;gap:8px;justify-items:center;pointer-events:none}
.toast{pointer-events:auto;max-width:460px;width:100%;display:flex;gap:10px;align-items:center;background:var(--navy);color:#fff;padding:12px 16px;border-radius:16px;box-shadow:var(--sh-l);font-size:.9rem;font-weight:500;animation:up .35s both;transition:opacity .4s,transform .4s}
.toast .ic{font-size:1.3rem;color:#6ee7b7}.toast.error .ic{color:#ff8a98}.toast.out{opacity:0;transform:translateY(-10px)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 22px;border-radius:15px;font-weight:700;font-size:.95rem;transition:transform .15s,box-shadow .2s,background .2s;white-space:nowrap}
.btn:active{transform:scale(.97)}.btn[disabled]{opacity:.6;pointer-events:none}
.btn-primary{background:var(--grad);color:var(--site-button-text,#fff);box-shadow:0 8px 20px color-mix(in srgb,var(--p) 30%,transparent)}.btn-primary:hover{box-shadow:0 10px 26px color-mix(in srgb,var(--p) 42%,transparent)}
.btn-ghost{background:#fff;border:1.5px solid var(--line);color:var(--ink)}.btn-ghost:hover{border-color:var(--p);color:var(--p)}
.btn-soft{background:var(--p-soft);color:var(--p)}
.btn-ok{background:var(--ok);color:#fff;box-shadow:0 6px 16px rgba(18,167,107,.3)}
.btn-bad{background:var(--bad-s);color:var(--bad)}
.btn-white{background:#fff;color:var(--navy)}
.btn-sm{height:38px;padding:0 14px;font-size:.82rem;border-radius:12px}.btn-block{width:100%}

/* Badges & chips */
.badge{display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:99px;font-size:.74rem;font-weight:700;white-space:nowrap}
.b-warn{background:var(--warn-s);color:var(--warn)}.b-ok{background:var(--ok-s);color:var(--ok)}.b-info{background:var(--info-s);color:var(--info)}.b-bad{background:var(--bad-s);color:var(--bad)}.b-mute{background:var(--bg);color:var(--mute)}
.chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 11px;border-radius:99px;background:var(--bg);color:var(--mute);font-size:.76rem;font-weight:600}
.chip .ic{font-size:.95rem}.c-ok{background:var(--ok-s);color:var(--ok)}

/* Page head, cards */
.phead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 18px}
.phead h1{font-size:1.3rem;font-weight:800;line-height:1.4}.phead p{color:var(--mute);font-size:.86rem}
.card{background:var(--card);border-radius:var(--r);padding:18px;box-shadow:var(--sh);margin-bottom:16px}
.card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.card-h h2{font-size:1.02rem;font-weight:800}
.sec-h{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.sec-h h2{font-size:1.1rem;font-weight:800}.sec-h a{color:var(--p);font-size:.85rem;font-weight:700}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:18px}
.stat{background:var(--card);border-radius:var(--r);padding:16px;box-shadow:var(--sh);position:relative;overflow:hidden}
.stat-ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;margin-bottom:10px;font-size:1.1rem}
.t-p{background:var(--p-soft);color:var(--p)}.t-ok{background:var(--ok-s);color:var(--ok)}.t-warn{background:var(--warn-s);color:var(--warn)}.t-info{background:var(--info-s);color:var(--info)}
.stat-v{font-size:1.65rem;font-weight:800;line-height:1.2}.stat-l{font-size:.78rem;color:var(--mute);font-weight:500}

/* Job cards */
.jobs{display:grid;gap:12px}
.job{background:var(--card);border-radius:var(--r);padding:16px;box-shadow:var(--sh);transition:transform .2s,box-shadow .2s;animation:up .45s both}
.job:hover{transform:translateY(-2px);box-shadow:var(--sh-l)}
.job-main{display:block}.job-top{display:flex;align-items:center;gap:12px}
.job-ico{width:44px;height:44px;border-radius:15px;background:var(--p-soft);color:var(--p);display:grid;place-items:center;flex:none}
.job-t{flex:1;min-width:0}.job-t h3{font-size:.98rem;font-weight:700;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-t small{color:var(--mute);font-size:.76rem}
.job-main p{color:var(--mute);font-size:.85rem;margin-top:10px}
.job-act{display:flex;gap:8px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}.job-act .btn{flex:1}.job-act .btn-ghost{flex:.6}

/* List items (admin) */
.li{display:flex;gap:12px;align-items:center;background:var(--card);border-radius:var(--r);padding:14px;box-shadow:var(--sh);margin-bottom:10px}
.li-ic{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;flex:none;font-weight:800}
.li-b{flex:1;min-width:0}.li-b strong{display:block;font-size:.95rem;line-height:1.5}.li-b small{color:var(--mute);font-size:.78rem;display:block}
.li-act{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.li-act form{display:contents}
.li-w{flex-direction:column;align-items:stretch}.li-top{display:flex;gap:12px;align-items:center}

/* Forms */
.field{margin-bottom:16px}.field label{display:block;font-size:.84rem;font-weight:700;margin-bottom:6px}
input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]),select,textarea{width:100%;background:var(--field-bg,#f7f8fb);border:1.5px solid var(--field-border,var(--line));border-radius:15px;padding:0 16px;height:50px;outline:0;transition:border-color .2s,box-shadow .2s,background .2s}
textarea{height:auto;min-height:120px;padding:13px 16px;resize:vertical}
input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]):focus,select:focus,textarea:focus{background:var(--card,#fff);border-color:var(--p);box-shadow:0 0 0 4px color-mix(in srgb,var(--p) 15%,transparent)}
input::placeholder,textarea::placeholder{color:var(--field-muted,#8a879b)}
input[type=file]{padding:10px 12px;height:auto;background:var(--card,#fff);border:1.5px dashed var(--field-border,var(--line))}
.hint{color:var(--mute);font-size:.76rem;margin-top:5px}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:10px}.seg input{position:absolute;opacity:0;pointer-events:none}
.seg label{margin:0;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:16px 8px;border-radius:18px;background:#f7f8fb;border:1.5px solid transparent;cursor:pointer;font-weight:700;font-size:.86rem;transition:.2s}
.seg label small{font-weight:500;color:var(--mute);font-size:.72rem;line-height:1.5}.seg label .ic{font-size:1.6rem;color:var(--mute)}
.seg input:checked+label{background:var(--p-soft);border-color:var(--p);color:var(--p)}.seg input:checked+label .ic{color:var(--p)}

/* Alerts */
.alert{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:var(--r-s);font-size:.88rem;margin-bottom:16px;font-weight:500}
.alert .ic{margin-top:3px;font-size:1.2rem}
.alert-info{background:var(--info-s);color:#1f4fc4}.alert-success{background:var(--ok-s);color:#0b7a4e}.alert-error{background:var(--bad-s);color:#b8182c}.alert-warn{background:var(--warn-s);color:#a85f00}

/* Empty */
.empty{text-align:center;padding:28px 16px;color:var(--mute);background:var(--card);border-radius:var(--r);box-shadow:var(--sh)}
.empty img{margin:0 auto 6px}.empty p{margin-bottom:14px;font-size:.9rem}

/* Timeline */
.tl{display:grid;gap:0;margin:6px 0}
.tl li{display:flex;gap:14px;position:relative;padding-bottom:18px;color:var(--mute);font-size:.88rem;font-weight:600}
.tl li:last-child{padding-bottom:0}
.tl li::before{content:"";position:absolute;right:15px;top:32px;bottom:0;width:2px;background:var(--line)}.tl li:last-child::before{display:none}
.tl i{width:32px;height:32px;border-radius:50%;background:var(--bg);display:grid;place-items:center;flex:none;font-style:normal;z-index:1;font-size:.8rem}
.tl li.done{color:var(--ink)}.tl li.done i{background:var(--ok);color:#fff}.tl li.done::before{background:var(--ok)}
.tl li.now i{background:var(--grad);color:#fff;box-shadow:0 0 0 6px rgba(232,52,78,.15)}.tl li.now{color:var(--p)}

/* Detail grid */
.kv{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.kv div{background:var(--bg);border-radius:var(--r-s);padding:12px}.kv small{display:block;color:var(--mute);font-size:.72rem}.kv b{font-size:.92rem}
.desc{white-space:pre-wrap;line-height:1.9;color:#3b4157;font-size:.93rem}

/* Switch */
.sw{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sw input{position:absolute;opacity:0}.sw .tg{width:54px;height:32px;border-radius:99px;background:#d5d9e6;position:relative;transition:.25s;flex:none;cursor:pointer}
.sw .tg::after{content:"";position:absolute;top:3px;right:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:.25s}
.sw input:checked+.tg{background:var(--ok)}.sw input:checked+.tg::after{transform:translateX(-22px)}

/* Cafe profile hero */
.profile{background:linear-gradient(150deg,#1d2540,#34437a);color:#fff;border-radius:24px;padding:20px;margin-bottom:16px;position:relative;overflow:hidden}
.profile::after{content:"";position:absolute;left:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.07)}
.profile h1{font-size:1.2rem;font-weight:800}.profile p{opacity:.75;font-size:.82rem}
.profile .row{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
.profile .logo{width:56px;height:56px;border-radius:18px;background:var(--grad);display:grid;place-items:center;font-size:1.5rem;flex:none}
.profile .sw{margin-top:16px;padding:12px 14px;background:rgba(255,255,255,.1);border-radius:16px;font-weight:600;font-size:.88rem;position:relative;z-index:1}
.stars{color:#ffc24a;display:inline-flex;gap:2px}.stars .ic{fill:currentColor;font-size:.95rem}.stars .off{color:rgba(255,255,255,.3)}

/* Auth */
.auth{min-height:100vh;background:var(--navy);display:flex;flex-direction:column}
.auth-top{background:linear-gradient(160deg,#1d2540,#2e3c73 60%,#5a2f78);color:#fff;text-align:center;padding:calc(22px + env(safe-area-inset-top)) 20px 70px;position:relative;overflow:hidden}
.auth-top img{width:210px;margin:6px auto -4px;animation:float 5s ease-in-out infinite}
.auth-top .brand{justify-content:center;font-size:1.15rem}
.auth-sheet{background:var(--bg);border-radius:30px 30px 0 0;margin-top:-34px;padding:24px 20px 36px;flex:1;position:relative;z-index:2}
.auth-box{max-width:440px;margin:0 auto}.auth-box h1{font-size:1.35rem;font-weight:800}.auth-box .sub{color:var(--mute);font-size:.88rem;margin-bottom:20px}
.auth-foot{text-align:center;margin-top:22px;color:var(--mute);font-size:.88rem}.auth-foot a{color:var(--p);font-weight:700}

/* Home */
.hero{background:linear-gradient(160deg,#1d2540 0%,#2e3c73 58%,#5a2f78 100%);color:#fff;border-radius:0 0 34px 34px;padding:24px 0 96px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,106,125,.45),transparent 70%)}
.hero-in{max-width:1080px;margin:auto;padding:0 20px;display:grid;gap:6px;text-align:center;position:relative}
.hero .tag{display:inline-flex;gap:6px;align-items:center;margin:0 auto 6px;background:rgba(255,255,255,.12);padding:5px 14px;border-radius:99px;font-size:.78rem;font-weight:600}
.hero h1{font-size:1.75rem;font-weight:800;line-height:1.5}.hero h1 span{background:linear-gradient(90deg,#ff9aa8,#ffd166);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{opacity:.8;font-size:.92rem;max-width:520px;margin:0 auto}
.hero-art{width:min(340px,86%);margin:8px auto 0;animation:float 6s ease-in-out infinite}
.hero-cta{display:flex;gap:10px;justify-content:center;margin-top:12px;flex-wrap:wrap}
.float-card{margin:-64px 16px 0;max-width:1048px;position:relative;z-index:2}
@media(min-width:1080px){.float-card{margin-left:auto;margin-right:auto}}
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 8px}
.cat{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:.76rem;font-weight:700;text-align:center;transition:transform .2s}
.cat:hover{transform:translateY(-3px)}
.cat span{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;color:#fff;font-size:1.3rem;box-shadow:0 8px 16px rgba(30,34,48,.14)}
.g1{background:linear-gradient(135deg,#ff7a8a,#e8344e)}.g2{background:linear-gradient(135deg,#6ea8ff,#4b5cff)}.g3{background:linear-gradient(135deg,#34d399,#0ea5a5)}.g4{background:linear-gradient(135deg,#ffb347,#f2711c)}
.g5{background:linear-gradient(135deg,#c084fc,#7c3aed)}.g6{background:linear-gradient(135deg,#38bdf8,#2563eb)}.g7{background:linear-gradient(135deg,#f472b6,#db2777)}.g8{background:linear-gradient(135deg,#94a3b8,#475569)}
.snap{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 16px 14px;margin:0 -16px;scrollbar-width:none}.snap::-webkit-scrollbar{display:none}
.banner{flex:0 0 82%;max-width:340px;scroll-snap-align:center;border-radius:24px;padding:20px;color:#fff;min-height:150px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:2px}
.banner h3{font-size:1.08rem;font-weight:800;line-height:1.5;position:relative}.banner p{font-size:.8rem;opacity:.9;position:relative}
.banner .ic.big{position:absolute;left:-10px;top:-10px;width:120px;height:120px;opacity:.18;stroke-width:1.2}
.steps{display:grid;gap:12px}
.step{display:flex;gap:14px;background:#fff;border-radius:var(--r);padding:16px;box-shadow:var(--sh);align-items:center}
.step .n{width:46px;height:46px;border-radius:16px;background:var(--p-soft);color:var(--p);display:grid;place-items:center;flex:none;font-size:1.2rem}
.step h3{font-size:.96rem;font-weight:800}.step p{color:var(--mute);font-size:.82rem}
.strip{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:18px 6px;text-align:center}
.strip b{display:block;font-size:1.35rem;font-weight:800;color:var(--p)}.strip small{color:var(--mute);font-size:.74rem}.strip div+div{border-right:1px solid var(--line)}
.feats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.feat{background:#fff;border-radius:var(--r);padding:16px;box-shadow:var(--sh)}.feat .stat-ic{margin-bottom:10px}.feat h3{font-size:.92rem;font-weight:800}.feat p{color:var(--mute);font-size:.78rem;line-height:1.7;margin-top:2px}
.band{background:linear-gradient(135deg,#1d2540,#3a2f78);color:#fff;border-radius:26px;padding:24px 20px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden;margin-top:26px}
.band h2{font-size:1.2rem;font-weight:800}.band p{opacity:.8;font-size:.87rem}.band .btn{align-self:flex-start;margin-top:6px}
.band .ic.big{position:absolute;left:-18px;bottom:-24px;width:140px;height:140px;opacity:.12;stroke-width:1.2}
details{background:#fff;border-radius:var(--r-s);box-shadow:var(--sh);margin-bottom:10px;overflow:hidden}
summary{list-style:none;padding:15px 16px;font-weight:700;font-size:.9rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
summary::-webkit-details-marker{display:none}summary::after{content:"+";font-size:1.4rem;color:var(--p);transition:.2s}details[open] summary::after{transform:rotate(45deg)}
details p{padding:0 16px 16px;color:var(--mute);font-size:.86rem}
.foot{text-align:center;color:var(--mute);font-size:.78rem;padding:22px 0 6px}
.nf{min-height:100vh;display:grid;place-items:center;text-align:center;padding:24px}.nf h1{font-size:5rem;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1.2}.nf p{color:var(--mute);margin:6px 0 20px}

@media(min-width:700px){
.stats{grid-template-columns:repeat(3,1fr)}.jobs{grid-template-columns:1fr 1fr}.cats{grid-template-columns:repeat(8,1fr)}
.steps{grid-template-columns:repeat(3,1fr)}.step{flex-direction:column;text-align:center}.feats{grid-template-columns:repeat(4,1fr)}
.banner{flex:0 0 340px}.hero h1{font-size:2.4rem}.hero-in{grid-template-columns:1.1fr 1fr;text-align:right;align-items:center;gap:20px}.hero-in p{margin:0}.hero .tag{margin:0 0 6px}.hero-cta{justify-content:flex-start}.hero-art{width:min(400px,100%)}
}
@media(min-width:900px){.bnav{display:none}.dlinks{display:flex}body{padding-bottom:40px}.wrap{padding:24px 16px}.toasts{top:70px}.bnav a.fab{margin:0}
.dlinks a.fab{background:var(--grad);color:#fff}.dlinks a.fab.on{color:#fff}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Account profile and avatar */
.avatar-nav{display:grid;overflow:hidden;padding:0;border:0;flex:none;transition:transform .2s,box-shadow .2s}
.avatar-nav:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(30,34,48,.2)}
.avatar-nav img,.user-avatar-small img,.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}
.profile-account{min-height:144px;padding:24px;background:radial-gradient(circle at 90% 15%,rgba(255,255,255,.12),transparent 25%),linear-gradient(130deg,var(--navy),color-mix(in srgb,var(--navy) 68%,var(--p)) 65%,color-mix(in srgb,var(--navy) 55%,var(--p)));box-shadow:0 14px 32px color-mix(in srgb,var(--navy) 17%,transparent)}
.profile-account .row{align-items:center;gap:18px}
.profile-avatar-preview{width:88px;height:88px;border-radius:27px;border:3px solid rgba(255,255,255,.5);background:rgba(255,255,255,.15);box-shadow:0 8px 22px rgba(0,0,0,.18);font-size:2rem;overflow:hidden}
.profile-avatar-preview img{display:block}
.profile-avatar-preview img[hidden]{display:none}
.profile-avatar-preview #avatarInitial[hidden]{display:none}
.profile-summary h1{font-size:1.25rem;font-weight:800;margin:0 0 2px}
.profile-summary p{font-size:.82rem;opacity:.8;margin:0 0 8px}
.profile-pill{display:inline-flex;padding:4px 11px;border-radius:99px;background:rgba(255,255,255,.14);font-size:.72rem;font-weight:700}
.profile-form .card-h{align-items:center}
.profile-fields{display:grid;grid-template-columns:1fr;gap:0 14px}
.avatar-upload-row{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.avatar-upload{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1.5px dashed var(--line);border-radius:18px;background:var(--field-bg,var(--card));cursor:pointer;flex:1;transition:.2s}
.avatar-upload:hover{border-color:var(--p);background:var(--p-soft)}
.avatar-upload>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--card);color:var(--p);font-size:1.1rem;box-shadow:var(--sh)}
.avatar-upload b{display:block;font-size:.86rem}.avatar-upload small{display:block;color:var(--mute);font-size:.73rem}
.avatar-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.profile-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:8px}
.profile-security{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,var(--card),color-mix(in srgb,var(--p) 4%,var(--card)))}
.security-ic{width:42px;height:42px;border-radius:14px;background:var(--ok-s);color:var(--ok);display:grid;place-items:center;flex:none}
.profile-security b{display:block;font-size:.9rem}.profile-security p{font-size:.8rem;color:var(--mute);margin-top:3px}
.selected-service-note{display:flex;gap:12px;align-items:center;background:linear-gradient(110deg,color-mix(in srgb,var(--p) 8%,var(--card)),color-mix(in srgb,var(--site-info,var(--info)) 4%,var(--card)));border:1px solid color-mix(in srgb,var(--p) 22%,var(--line));border-radius:18px;padding:13px;margin-bottom:18px}
.selected-service-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--card);color:var(--p);border-radius:15px;box-shadow:var(--sh);font-size:1.3rem}
.selected-service-note div{flex:1;min-width:0}.selected-service-note b{display:block;font-size:.9rem}.selected-service-note small{display:block;color:var(--mute);font-size:.76rem}
.selected-service-note>a{color:var(--p);font-size:.77rem;font-weight:800}

/* Customer services catalogue */
.service-page{padding-top:18px}
.service-hero{position:relative;display:grid;grid-template-columns:1fr;gap:16px;overflow:hidden;background:radial-gradient(circle at 5% 90%,color-mix(in srgb,var(--p) 24%,transparent),transparent 32%),linear-gradient(130deg,var(--navy) 0%,color-mix(in srgb,var(--navy) 76%,var(--p)) 62%,color-mix(in srgb,var(--navy) 48%,var(--p)) 100%);color:#fff;border-radius:28px;padding:26px 22px 24px;box-shadow:0 18px 38px rgba(35,45,84,.16)}
.service-hero::after{content:"";position:absolute;left:-70px;top:-95px;width:260px;height:260px;border-radius:50%;border:1px solid rgba(255,255,255,.1);box-shadow:0 0 0 25px rgba(255,255,255,.025),0 0 0 55px rgba(255,255,255,.02);pointer-events:none}
.service-hero-copy{position:relative;z-index:1}
.service-kicker{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.12);padding:6px 12px;border-radius:99px;font-size:.76rem;font-weight:700;margin-bottom:10px}
.service-kicker .ic{color:var(--hl)}
.service-hero h1{font-size:1.65rem;line-height:1.55;font-weight:900;letter-spacing:-.035em}
.service-hero h1 span{color:var(--hl)}
.service-hero p{font-size:.86rem;line-height:1.95;max-width:560px;color:rgba(255,255,255,.78);margin-top:8px}
.service-hero-points{display:flex;flex-wrap:wrap;gap:9px 16px;margin-top:16px}
.service-hero-points span{display:inline-flex;gap:6px;align-items:center;font-size:.75rem;color:#f4f5ff}
.service-hero-points .ic{color:#88f0c7}
.service-hero-art{min-height:150px;position:relative;display:grid;place-items:center}
.service-art-circle{width:132px;height:132px;border-radius:42px;background:var(--grad);display:grid;place-items:center;transform:rotate(-7deg);box-shadow:0 20px 40px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.5);position:relative}
.service-art-circle>span{width:78px;height:78px;border-radius:26px;background:rgba(255,255,255,.16);display:grid;place-items:center;border:1px solid rgba(255,255,255,.28)}
.service-art-circle .ic{width:43px;height:43px;stroke-width:1.5}
.service-art-circle i{position:absolute;bottom:-10px;right:-12px;width:44px;height:44px;border-radius:16px;background:#fff;color:var(--ok);display:grid;place-items:center;box-shadow:0 10px 24px rgba(0,0,0,.18);font-style:normal}
.floating-mini{position:absolute;z-index:2;display:flex;align-items:center;gap:7px;background:#fff;color:var(--ink);border-radius:12px;padding:9px 11px;font-size:.7rem;font-weight:800;box-shadow:0 12px 28px rgba(9,16,39,.18);white-space:nowrap}
.floating-mini .ic{color:var(--p);font-size:1.05rem}.mini-one{right:calc(50% + 25px);top:8px}.mini-two{left:calc(50% + 18px);bottom:7px}
.service-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:28px 0 14px}
.service-section-head .eyebrow{font-size:.72rem;font-weight:800;color:var(--p)}
.service-section-head h2{font-size:1.15rem;font-weight:900;line-height:1.6}
.service-section-head p{color:var(--mute);font-size:.8rem}
.service-count{padding:7px 11px;border-radius:12px;background:var(--card);box-shadow:var(--sh);font-weight:800;font-size:.76rem;white-space:nowrap}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.service-card{display:flex;flex-direction:column;min-height:188px;padding:15px 13px;background:var(--card);border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:21px;box-shadow:var(--sh);transition:transform .22s,border-color .22s,box-shadow .22s;animation:up .42s both;animation-delay:var(--service-delay,0ms)}
.service-card:hover{transform:translateY(-4px);border-color:#ffc0ca;box-shadow:var(--sh-l)}
.service-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:17px;margin-bottom:12px;color:#fff}
.service-card-icon .ic{width:25px;height:25px;stroke-width:1.7}
.service-card-title{font-size:.9rem;font-weight:900;line-height:1.6}
.service-card-desc{font-size:.73rem;line-height:1.7;color:var(--mute);margin-top:3px;flex:1}
.service-card-action{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--p);font-size:.76rem;font-weight:800;margin-top:12px;padding-top:10px;border-top:1px solid #f0f1f6}
.service-card-action .ic{width:16px;height:16px;transform:rotate(180deg)}
.service-help{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;margin-top:18px;box-shadow:var(--sh)}
.help-mark{width:40px;height:40px;border-radius:14px;background:#fff3e6;color:#b96a0b;display:grid;place-items:center;flex:none}
.service-help>div:nth-child(2){flex:1}.service-help b{font-size:.85rem}.service-help p{font-size:.75rem;color:var(--mute);margin-top:2px}.service-help .btn{padding:0 12px}

/* Admin user and request management */
.admin-users-wrap{max-width:1000px}
.admin-user-stats .stat{padding:13px 15px}
.admin-list-card{padding:16px}
.admin-list-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.admin-list-title h2{font-size:1.04rem;font-weight:900}.admin-list-title p{font-size:.78rem;color:var(--mute)}
.user-manage-row{padding:16px 0;border-bottom:1px solid var(--line)}.user-manage-row:last-child{border-bottom:0;padding-bottom:2px}
.user-manage-main{display:flex;align-items:center;gap:11px;min-width:0}
.user-avatar-small{width:48px;height:48px;border-radius:17px;background:linear-gradient(135deg,#273454,#5665a0);color:#fff;display:grid;place-items:center;flex:none;overflow:hidden;font-size:1.15rem;font-weight:900}
.user-manage-info{flex:1;min-width:0}.user-manage-info strong{display:block;font-size:.9rem;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-manage-info small{display:block;color:var(--mute);font-size:.73rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-manage-tags{display:flex;gap:5px;flex-direction:column;align-items:flex-end}
.user-activity-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0 59px}
.user-activity-metrics span{display:flex;flex-direction:column;gap:1px;background:#f8f9fc;padding:8px 10px;border-radius:12px;min-width:0}
.user-activity-metrics span b{font-size:1rem;font-weight:900}.user-activity-metrics span small{font-size:.66rem;color:var(--mute);line-height:1.5}.user-activity-metrics .metric-last-login{font-size:.75rem;line-height:1.8}
.user-manage-actions{display:flex;gap:8px;margin:12px 0 0 59px}.user-manage-actions .btn{flex:1}.quick-status-form{width:100%;max-width:145px}.quick-status-form select{height:38px;border-radius:12px;padding:0 10px;font-size:.75rem;background:#f7f8fb;border-color:var(--line)}
.admin-job-actions{justify-content:flex-start}.accepted-chip{background:var(--ok-s);color:var(--ok)}
.job-edit-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.75rem;color:var(--mute);padding:12px 0;margin-top:10px;border-top:1px dashed var(--line)}
.job-edit-meta span{display:flex;align-items:center;gap:6px}.job-edit-meta .ic{color:var(--p)}

@media(min-width:640px){
 .profile-fields{grid-template-columns:1fr 1fr}
 .service-hero{grid-template-columns:1.2fr .8fr;align-items:center;padding:32px}
 .service-hero h1{font-size:2.15rem}
 .service-hero-art{min-height:210px}
 .service-art-circle{width:160px;height:160px;border-radius:48px}
 .service-art-circle>span{width:94px;height:94px;border-radius:30px}
 .service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 .service-card{min-height:205px;padding:17px}
 .user-manage-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:14px}
 .user-activity-metrics{margin:0;grid-template-columns:1fr 1fr}
 .user-activity-metrics span:last-child{grid-column:1/-1}
 .user-manage-actions{margin:0;flex-direction:column;min-width:145px}
 .user-manage-actions .btn{flex:auto}
}
@media(min-width:900px){.service-hero{padding:38px 42px}.service-hero-art{min-height:220px}.service-grid{gap:16px}.service-card{padding:20px;min-height:220px}}
@media(max-width:420px){
 .service-help{align-items:flex-start;flex-wrap:wrap}.service-help .btn{margin-right:52px}
 .profile-actions .btn{flex:1;padding:0 12px}
 .admin-list-card{padding:12px}
 .user-manage-main{gap:8px}.user-avatar-small{width:42px;height:42px;border-radius:14px}
 .user-activity-metrics,.user-manage-actions{margin-right:50px;margin-left:0}
 .admin-list-title .chip{display:none}
}


/* Delivery workflow and admin-controlled service pricing */
.service-card-disabled{cursor:not-allowed;opacity:.84;filter:saturate(.82)}
.service-card-disabled:hover{transform:none;border-color:rgba(229,232,241,.8);box-shadow:var(--sh)}
.service-card-price{display:block;margin-top:12px;padding:8px 10px;border-radius:12px;background:#edfdf5;color:#08784f;font-size:.8rem;font-weight:900;line-height:1.7}
.service-card-price.price-not-ready{background:#fff5e8;color:#9a5b09;font-size:.72rem}
.service-card-action{gap:7px}
.official-price-panel{display:flex;align-items:center;gap:13px;padding:15px;margin-bottom:20px;border-radius:20px;background:linear-gradient(115deg,#effdf6,#f5f8ff);border:1px solid #d8f4e6}
.official-price-icon{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:15px;background:linear-gradient(135deg,#0aa879,#087d70);color:#fff;box-shadow:0 8px 18px #0a9c7026}
.official-price-icon .ic{width:22px;height:22px}
.official-price-panel>div{display:flex;flex-direction:column;gap:2px;flex:1}
.official-price-panel small{font-size:.73rem;color:#507168;font-weight:700}
.official-price-panel strong{font-size:1.16rem;color:#08784f;font-weight:900}
.official-price-panel span{font-size:.72rem;color:#55766d;line-height:1.7}
.official-price-panel>b{background:#fff;color:#08784f;border:1px solid #cceedd;padding:6px 9px;border-radius:10px;font-size:.7rem;white-space:nowrap}
.admin-services-wrap{max-width:1160px}
.admin-services-hero{display:flex;align-items:center;gap:18px;padding:24px;border-radius:26px;background:radial-gradient(circle at 0 100%,rgba(255,255,255,.12),transparent 30%),linear-gradient(125deg,#19233d,#334d83 63%,#69458c);color:#fff;box-shadow:0 20px 42px rgba(39,52,91,.17);margin-bottom:22px}
.admin-services-hero-icon{flex:0 0 66px;width:66px;height:66px;border-radius:21px;background:rgba(255,255,255,.14);display:grid;place-items:center;border:1px solid rgba(255,255,255,.22)}
.admin-services-hero-icon .ic{width:30px;height:30px;color:#a6f3d1}
.admin-services-hero .service-kicker{margin:0 0 5px;background:rgba(255,255,255,.12)}
.admin-services-hero h2{font-size:1.28rem;font-weight:900;line-height:1.8}
.admin-services-hero p{max-width:620px;color:rgba(255,255,255,.75);font-size:.82rem;line-height:1.9}
.admin-services-hero-stat{margin-right:auto;min-width:92px;text-align:center;padding:13px;border-radius:17px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15)}
.admin-services-hero-stat strong{display:block;font-size:1.8rem;font-weight:900}
.admin-services-hero-stat small{font-size:.7rem;color:rgba(255,255,255,.75)}
.admin-price-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:14px}
.admin-price-card{background:#fff;border:1px solid #e7eaf2;border-radius:22px;padding:17px;box-shadow:var(--sh);min-width:0;transition:transform .2s,box-shadow .2s}
.admin-price-card:hover{transform:translateY(-3px);box-shadow:var(--sh-l)}
.admin-price-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.admin-price-card .service-card-icon{margin:0;width:47px;height:47px;flex-shrink:0}
.admin-price-status{display:inline-flex;border-radius:99px;padding:6px 9px;font-size:.68rem;font-weight:800;white-space:nowrap}
.admin-price-status.ready{background:#e9fbf2;color:#08784f}
.admin-price-status.not-ready{background:#fff3e4;color:#9a5b09}
.admin-price-card h3{font-size:.96rem;font-weight:900;margin-top:15px}
.admin-price-card>p{color:var(--mute);font-size:.75rem;line-height:1.8;min-height:43px;margin-top:3px}
.admin-price-card .field{margin-top:14px;margin-bottom:12px}
.admin-price-card .field label{font-size:.77rem}
.admin-price-card input[type=text]{font-weight:800;letter-spacing:.02em}
.admin-service-toggle{display:flex;align-items:center;gap:9px;font-size:.75rem;font-weight:700;cursor:pointer;padding:11px 0;border-top:1px solid #eff1f6;border-bottom:1px solid #eff1f6}
.admin-service-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.toggle-track{width:37px;height:22px;border-radius:99px;background:#d8dce7;position:relative;transition:background .2s;flex-shrink:0}
.toggle-track:after{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .2s}
.admin-service-toggle input:checked+.toggle-track{background:#10a778}
.admin-service-toggle input:checked+.toggle-track:after{transform:translateX(-15px)}
.admin-service-toggle input:focus-visible+.toggle-track{outline:3px solid #b8ccff;outline-offset:2px}
.admin-price-foot{display:block;color:var(--mute);font-size:.72rem;margin-top:12px}
.admin-price-foot b{color:var(--ink);margin-right:5px}
.admin-price-savebar{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border:1px solid #e3e7f0;border-radius:20px;padding:14px 17px;margin-top:18px;box-shadow:0 16px 40px rgba(23,33,57,.14)}
.admin-price-savebar>div{min-width:0}
.admin-price-savebar b{display:flex;align-items:center;gap:7px;font-size:.82rem}
.admin-price-savebar b .ic{color:var(--ok)}
.admin-price-savebar p{font-size:.71rem;color:var(--mute);margin-top:3px}
.delivery-next-step{display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:18px;background:linear-gradient(120deg,#eef4ff,#f6f1ff);border:1px solid #dce5fb;margin:12px 0}
.delivery-next-step>span{flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:#3d58b7;color:#fff;display:grid;place-items:center}
.delivery-next-step b{font-size:.87rem;font-weight:900}
.delivery-next-step small{display:block;color:#63708f;font-size:.76rem;line-height:1.8;margin-top:3px}
.delivery-start-form{padding:14px}
.delivery-form{margin-top:15px;border-radius:24px;padding:18px}
.delivery-form-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.delivery-form-head>span{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#14b887,#087a71);color:#fff;box-shadow:0 10px 22px #078b7426}
.delivery-form-head>span .ic{width:23px;height:23px}
.delivery-form-head h2{font-size:1rem;font-weight:900}
.delivery-form-head p{font-size:.75rem;line-height:1.8;color:var(--mute);margin-top:3px}
.delivery-result-card{margin-top:16px;padding:18px;border:1px solid #dfeee7;background:linear-gradient(150deg,#fff,#f8fdf9)}
.delivery-note{padding:14px;margin-top:14px;border-radius:15px;background:#f3f6fb;color:#46516a;font-size:.85rem;line-height:2;white-space:normal;overflow-wrap:anywhere}
@media(min-width:600px){.admin-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-form{padding:24px}}
@media(min-width:1000px){.admin-price-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-price-card{padding:18px}}
@media(max-width:520px){.admin-services-hero{align-items:flex-start;gap:12px;padding:17px;border-radius:21px;flex-wrap:wrap}.admin-services-hero-icon{width:50px;height:50px;flex-basis:50px;border-radius:16px}.admin-services-hero>div:nth-child(2){flex:1;min-width:180px}.admin-services-hero h2{font-size:1.05rem}.admin-services-hero-stat{margin-right:0;margin-top:4px;min-width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px}.admin-services-hero-stat strong{font-size:1.25rem}.admin-price-savebar{align-items:stretch;flex-direction:column;bottom:8px}.admin-price-savebar .btn{width:100%}.official-price-panel{align-items:flex-start;flex-wrap:wrap}.official-price-panel>b{margin-right:57px}}


/* Polished request-description modes, audio recorder, Persian voice typing and ratings */
.description-mode-card{border:1px solid #e5eaf4;border-radius:25px;padding:18px;background:linear-gradient(155deg,#fff 30%,#f8faff);box-shadow:0 14px 34px rgba(33,51,89,.07);margin:16px 0 22px;overflow:hidden}
.description-mode-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.description-mode-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#5b68dc,#8057cc);color:#fff;box-shadow:0 9px 22px #675bd52b}
.description-mode-icon .ic{width:23px;height:23px}
.description-mode-heading h2{font-size:1rem;font-weight:900;color:var(--ink)}
.description-mode-heading p{font-size:.75rem;color:var(--mute);line-height:1.8;margin-top:3px}
.description-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:5px;border-radius:18px;background:#f0f3f9;margin-bottom:19px}
.description-mode-option{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;padding:14px 8px;border:1px solid transparent;border-radius:14px;background:transparent;color:#6c7690;cursor:pointer;transition:all .2s;min-width:0}
.description-mode-option>span{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#fff;box-shadow:0 3px 10px #2739580a}
.description-mode-option .ic{width:20px;height:20px}
.description-mode-option b{font-size:.81rem;color:inherit}
.description-mode-option small{font-size:.66rem;line-height:1.7;text-align:center;font-weight:500}
.description-mode-option.is-active{background:#fff;color:#4d52c8;border-color:#dfe2ff;box-shadow:0 6px 16px #4044b20e}
.description-mode-option.is-active>span{background:linear-gradient(135deg,#5a67dc,#8456cd);color:#fff}
.description-pane[hidden]{display:none!important}
.speech-type-box{border:1px solid #dce7ff;border-radius:19px;padding:14px;background:linear-gradient(125deg,#f5f8ff,#f9f5ff);margin:12px 0 8px}
.speech-type-info{display:flex;gap:10px;align-items:center}
.speech-type-mic{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#5b61cf;box-shadow:0 5px 13px #4358af12}
.speech-type-mic .ic{width:20px;height:20px}
.speech-type-info b{display:block;font-size:.8rem;font-weight:900}
.speech-type-info small{display:block;font-size:.69rem;color:var(--mute);line-height:1.8;margin-top:2px}
.speech-type-button{margin-top:13px;width:100%;min-height:45px;border-radius:14px}
.speech-type-button.is-listening{background:linear-gradient(120deg,#d9365c,#f05a60);box-shadow:0 8px 22px #dc3d5a26}
.speech-type-status{font-size:.7rem;color:#6a7091;line-height:1.8;margin-top:9px}
.voice-description-pane{animation:voicePaneIn .25s ease both}
@keyframes voicePaneIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.voice-recorder-card{border-radius:22px;border:1px solid #e1e5f5;background:radial-gradient(circle at 95% 0,rgba(126,87,194,.1),transparent 33%),linear-gradient(150deg,#fff,#f9faff);padding:16px;box-shadow:0 12px 30px rgba(32,46,85,.05)}
.voice-recorder-top{display:flex;gap:11px;align-items:center}
.voice-recorder-top>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.voice-recorder-top b{font-weight:900;font-size:.84rem}
.voice-recorder-top small{font-size:.71rem;color:var(--mute);line-height:1.8}
.voice-live-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#aeb6cb;box-shadow:0 0 0 5px #edf0f7}
.voice-waveform{display:flex;align-items:center;justify-content:center;gap:4px;height:72px;padding:10px 8px;margin:18px 0 7px;border-radius:16px;background:linear-gradient(120deg,#f1f3ff,#f8f0ff);overflow:hidden}
.voice-waveform i{display:block;flex:0 1 4px;width:4px;height:var(--wave-height);max-height:46px;border-radius:20px;background:linear-gradient(180deg,#9c77e0,#5667d9);opacity:.75;transform-origin:center;transition:height .15s}
.voice-waveform.is-recording i{animation:voiceWave .72s ease-in-out infinite alternate;opacity:1}
.voice-waveform.is-recording i:nth-child(3n){animation-delay:-.48s}.voice-waveform.is-recording i:nth-child(4n){animation-delay:-.27s}.voice-waveform.is-recording i:nth-child(5n){animation-delay:-.61s}
@keyframes voiceWave{from{transform:scaleY(.28)}to{transform:scaleY(1.08)}}
.voice-waveform.is-recording~.voice-recorder-time{color:#cf3e61}
.voice-waveform.is-recording~.voice-recorder-time:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#e24968;margin-left:7px;vertical-align:middle;box-shadow:0 0 0 4px #ffe5ec}
.voice-recorder-time{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:1.08rem;letter-spacing:.08em;font-weight:900;color:#414e7d;font-variant-numeric:tabular-nums;padding:7px}
.voice-recorder-time span{font-size:.68rem;font-weight:600;letter-spacing:0;color:var(--mute)}
.voice-recorder-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.voice-recorder-actions .btn{min-height:43px;font-size:.75rem;border-radius:13px}
.voice-recorder-actions .btn:first-child{grid-column:1/-1}
.voice-recorder-actions .btn[hidden]{display:none!important}
.voice-recorder-actions .btn:disabled{opacity:.45;filter:grayscale(.3);cursor:not-allowed}
.voice-preview{display:block;width:100%;height:42px;margin-top:15px;border-radius:12px}
.voice-preview[hidden]{display:none}
.voice-upload-fallback{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;padding:12px;border-radius:13px;border:1px dashed #c7cde0;color:#5864b4;background:#fff;font-size:.75rem;font-weight:800;cursor:pointer;transition:all .2s}
.voice-upload-fallback:hover{border-color:#7f76db;background:#f9f8ff}
.voice-upload-fallback .ic{width:17px;height:17px}
.voice-recorder-message{font-size:.69rem;color:var(--mute);line-height:1.9;margin-top:11px;text-align:center}
.job-voice-message{border:1px solid #dfe3fb;border-radius:20px;padding:15px;margin:10px 0 18px;background:linear-gradient(135deg,#f8faff,#f8f2ff)}
.job-voice-message-head{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.job-voice-message-head>span{width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#5b69df,#8858ce);color:#fff}
.job-voice-message-head .ic{width:21px;height:21px}
.job-voice-message-head b{display:block;font-size:.85rem;font-weight:900}
.job-voice-message-head small{display:block;color:var(--mute);font-size:.71rem;line-height:1.8;margin-top:2px}
.job-voice-message audio{width:100%;height:43px;display:block}
.voice-chip{background:#f4efff;color:#7049ad;border-color:#e4d9fa}
.admin-rating-editor{padding:16px;border:1px solid #e0e4f2;border-radius:20px;background:linear-gradient(145deg,#f9faff,#fff);margin:17px 0}
.admin-rating-editor-head{display:flex;gap:11px;align-items:center;margin-bottom:12px}
.admin-rating-editor-head>span{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:14px;background:#fff0cb;color:#a86c06}
.admin-rating-editor-head .ic{width:21px;height:21px}
.admin-rating-editor-head b{display:block;font-size:.85rem;font-weight:900}
.admin-rating-editor-head small{display:block;color:var(--mute);font-size:.7rem;line-height:1.8;margin-top:3px}
.admin-rating-fields{display:grid;grid-template-columns:1fr;gap:10px}
.admin-rating-fields .field{margin-bottom:0}
.admin-rating-fields input{font-variant-numeric:tabular-nums}
.cafe-rating-line{color:#a06a08!important}
.accepted-cafe-card{display:flex;flex-direction:column;gap:4px;padding:11px 13px;border:1px solid #eee5ce;background:#fffaf0;border-radius:14px}
.accepted-cafe-card small{color:#88642a!important}
.accepted-cafe-card b{color:#6d4b14}
.accepted-cafe-card span{font-size:.71rem;color:#98752e}
.cafe-rating-card{margin:18px 0;padding:19px;border:1px solid #e9e1cb;border-radius:24px;background:radial-gradient(circle at 100% 0,rgba(255,196,67,.13),transparent 36%),linear-gradient(145deg,#fffdf6,#fff)}
.cafe-rating-card-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:17px}
.cafe-rating-card-head>span{display:grid;place-items:center;flex:0 0 47px;width:47px;height:47px;border-radius:15px;background:linear-gradient(140deg,#ffc64f,#ff9b3d);color:#fff;box-shadow:0 9px 22px #e9a53b2b}
.cafe-rating-card-head>span .ic{width:23px;height:23px}
.cafe-rating-card-head h2{font-size:.95rem;font-weight:900;line-height:1.8}
.cafe-rating-card-head p{font-size:.73rem;line-height:1.9;color:var(--mute);margin-top:3px}
.rating-picker{border:0;padding:0;margin:0 0 18px}
.rating-picker legend{font-size:.79rem;font-weight:800;margin-bottom:10px}
.rating-choice-row{display:flex;justify-content:center;align-items:center;gap:7px}
.rating-choice-row input{position:absolute;opacity:0;pointer-events:none}
.rating-choice-row label{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;border:1px solid #ebdfc0;background:#fff;color:#d5d8e1;font-size:1.65rem;cursor:pointer;transition:transform .15s,background .15s,color .15s,border .15s}
.rating-choice-row label:hover{transform:translateY(-2px);color:#f3af2d}
.rating-choice-row label.is-filled{color:#f4b32c;background:#fff9e8;border-color:#f5d992}
.rating-choice-row input:focus-visible+label{outline:3px solid #a6b9ff;outline-offset:2px}
.rating-choice-labels{display:flex;justify-content:space-between;margin:7px 2px 0;font-size:.66rem;color:var(--mute)}
.cafe-rating-form .field textarea{min-height:76px}
.rating-submitted{display:flex;flex-direction:column;gap:7px;align-items:center;padding:16px;background:#fff;border:1px solid #f1e7ca;border-radius:16px}
.rating-stars-static{display:flex;gap:4px;color:#d5d8e1;font-size:1.65rem;direction:ltr}
.rating-stars-static .selected{color:#f4b32c}
.rating-submitted b{font-size:.82rem}
.rating-submitted small{font-size:.69rem;color:var(--mute)}
@media(min-width:600px){.description-mode-card{padding:23px}.description-mode-switch{gap:12px}.description-mode-option{padding:17px 12px}.voice-recorder-card{padding:21px}.voice-recorder-actions{grid-template-columns:1fr 1fr 1fr}.voice-recorder-actions .btn:first-child{grid-column:auto}.admin-rating-fields{grid-template-columns:1fr 1fr}.cafe-rating-card{padding:23px}}
@media(max-width:390px){.description-mode-card{padding:12px;border-radius:21px}.description-mode-option small{font-size:.61rem}.voice-recorder-card{padding:12px}.rating-choice-row{gap:4px}.rating-choice-row label{width:39px;height:40px}}

.admin-voice-preview{display:flex;flex-direction:column;gap:9px;padding:13px 15px;margin:10px 0;border:1px solid #e2e6f6;border-radius:16px;background:linear-gradient(135deg,#fafbff,#f8f4ff)}
.admin-voice-preview small{display:flex;align-items:center;gap:7px;font-size:.73rem;font-weight:800;color:#5b61b2}
.admin-voice-preview small .ic{width:17px;height:17px}
.admin-voice-preview audio{display:block;width:100%;height:40px}

/* Admin homepage editor and managed brand assets */
.brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit;display:block}
.admin-homepage-wrap{max-width:1120px}
.admin-homepage-form{display:grid;gap:18px;padding-bottom:28px}
.homepage-admin-section{padding:clamp(16px,2.4vw,26px);overflow:hidden}
.homepage-admin-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid var(--line, #e8edf3)}
.homepage-admin-heading h2{font-size:1.05rem;font-weight:850;margin:0 0 4px}
.homepage-admin-heading p{font-size:.82rem;color:var(--mute);margin:0;line-height:1.8}
.homepage-admin-heading-icon{width:46px;height:46px;flex:0 0 46px;border-radius:15px;display:grid;place-items:center;background:var(--card2,#f4f7fb)}
.homepage-admin-heading-icon .ic{width:22px;height:22px}
.homepage-brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.homepage-upload-card{padding:18px;border:1px solid var(--line,#e7ebf1);background:linear-gradient(145deg,var(--card,#fff),var(--soft,#f9fbfe));border-radius:20px;display:flex;align-items:center;flex-direction:column;gap:12px;min-width:0}
.homepage-upload-title{display:flex;align-items:center;gap:10px;width:100%}
.homepage-upload-title>span{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;background:var(--card2,#eff4fa)}
.homepage-upload-title .ic{width:20px;height:20px}
.homepage-upload-title b,.homepage-upload-title small{display:block}
.homepage-upload-title b{font-size:.9rem}
.homepage-upload-title small{font-size:.73rem;color:var(--mute);margin-top:4px}
.homepage-image-preview{height:100px;width:100%;display:grid;place-items:center;background:rgba(125,145,170,.08);border:1px dashed var(--line,#d7dfe8);border-radius:16px;overflow:hidden}
.homepage-image-preview img{width:76px;height:76px;object-fit:contain;border-radius:12px}
.homepage-image-preview span{width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:var(--primary-soft,#eaf2ff);color:var(--primary,#3268d8)}
.homepage-image-preview .ic{width:27px;height:27px}
.favicon-preview img{width:38px;height:38px}
.homepage-file-button{cursor:pointer}
.homepage-remove-file{display:flex;align-items:center;gap:8px;color:var(--danger,#dc3c4b);font-size:.78rem;align-self:flex-start}
.homepage-remove-file input{width:16px;height:16px;accent-color:var(--danger,#dc3c4b)}
.homepage-admin-grid{display:grid;gap:14px;min-width:0}
.homepage-admin-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.homepage-admin-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.homepage-edit-list{display:grid;gap:10px}
.homepage-edit-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,220px);gap:12px;align-items:end;padding:12px;border:1px solid var(--line,#e7ebf1);border-radius:16px;background:var(--card,#fff)}
.homepage-edit-preview{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--primary-soft,#eff5ff);color:var(--primary,#3268d8);align-self:center}
.homepage-edit-preview .ic{width:21px;height:21px}
.homepage-item-card{min-width:0;padding:15px;border-radius:17px;border:1px solid var(--line,#e8edf3);background:var(--card2,#fbfcfe)}
.homepage-item-number{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:30px;color:var(--primary,#3268d8);background:var(--primary-soft,#edf3ff);font-size:.72rem;font-weight:800;margin-bottom:12px}
.homepage-savebar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid var(--line,#e4eaf1);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 16px 45px rgba(20,35,60,.13);backdrop-filter:blur(18px)}
.homepage-savebar b,.homepage-savebar small{display:block}
.homepage-savebar b{font-size:.9rem}
.homepage-savebar small{color:var(--mute);font-size:.76rem;margin-top:4px}
@media(max-width:900px){.homepage-admin-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.homepage-brand-grid,.homepage-admin-grid.two,.homepage-admin-grid.three{grid-template-columns:minmax(0,1fr)}.homepage-edit-row{grid-template-columns:38px minmax(0,1fr)}.homepage-edit-preview{grid-row:span 2}.homepage-edit-row .field:last-child{grid-column:2}.homepage-savebar{align-items:stretch;flex-direction:column}.homepage-savebar .btn{width:100%}}
.cancel-pending-card{border:1px solid rgba(226,73,89,.18);background:linear-gradient(135deg,rgba(246,95,111,.055),var(--card,#fff));display:grid;gap:16px}
.cancel-pending-copy{display:flex;align-items:center;gap:12px}
.cancel-pending-copy b{font-size:.92rem}
.cancel-pending-copy p{font-size:.8rem;color:var(--mute);margin:5px 0 0;line-height:1.8}
.cancel-pending-icon{width:42px;height:42px;flex:0 0 42px;border-radius:14px;display:grid;place-items:center;background:rgba(226,73,89,.10);color:var(--danger,#dc3c4b)}
.cancel-pending-icon .ic{width:21px;height:21px}

@media(max-width:899px){.bnav a[href='/admin/homepage']{display:none}}

/* Unified role-aware hamburger navigation */
.menu-trigger{display:flex;align-items:center;gap:9px;flex:none;padding:5px 10px 5px 12px;min-height:42px;border:1px solid #e9eaf1;border-radius:15px;background:rgba(255,255,255,.92);box-shadow:0 4px 14px rgba(32,41,70,.05);color:var(--ink);transition:transform .18s,border-color .18s,box-shadow .18s}
.menu-trigger:hover,.menu-trigger[aria-expanded="true"]{border-color:#f3b9c2;box-shadow:0 7px 20px rgba(232,52,78,.12)}
.menu-trigger:active{transform:scale(.97)}
.menu-trigger-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--p-soft);color:var(--p)}
.menu-trigger-mark .ic{width:20px;height:20px;stroke-width:2.1}
.menu-trigger-label{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;gap:3px}
.menu-trigger-label b{font-size:.76rem;font-weight:900}
.menu-trigger-label small{font-size:.61rem;color:var(--mute);font-weight:600}
.drawer-backdrop{position:fixed;inset:0;z-index:190;background:rgba(17,24,46,.43);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .24s ease}
.drawer-backdrop[hidden]{display:none}
.drawer-backdrop.is-open{opacity:1}
.app-drawer{position:fixed;z-index:200;top:calc(env(safe-area-inset-top) + 10px);right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:min(390px,calc(100vw - 20px));display:flex;flex-direction:column;overflow:hidden;padding:17px;border:1px solid rgba(255,255,255,.8);border-radius:29px;background:linear-gradient(160deg,#fff 0%,#fbfbff 58%,#fff7f8 100%);box-shadow:0 26px 90px rgba(16,25,54,.28);transform:translate3d(calc(100% + 28px),0,0);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility .32s}
.app-drawer.is-open{transform:translate3d(0,0,0);visibility:visible}
.drawer-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 13px}
.drawer-kicker{display:flex;align-items:center;gap:8px;font-weight:850;font-size:.77rem;color:#656c83}
.drawer-kicker .ic{width:18px;height:18px;color:var(--p)}
.drawer-close{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#f2f3f8;color:#545b70;transition:transform .18s,background .18s}
.drawer-close:hover{background:var(--p-soft);color:var(--p);transform:rotate(4deg)}
.drawer-close .ic{width:19px;height:19px}
.drawer-user-card{display:flex;align-items:center;gap:11px;padding:14px;border-radius:21px;background:linear-gradient(125deg,#242c4a 0%,#36436d 63%,#5a5f95 100%);color:#fff;box-shadow:0 12px 27px rgba(38,47,80,.2);position:relative;overflow:hidden}
.drawer-user-card:after{content:"";position:absolute;left:-28px;top:-42px;width:130px;height:130px;border:1px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 17px #ffffff09,0 0 0 35px #ffffff06;pointer-events:none}
.drawer-avatar{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;overflow:hidden;border:2px solid #ffffff80;border-radius:17px;background:#ffffff20;color:#fff;font-size:1.2rem;font-weight:900;position:relative;z-index:1}
.drawer-avatar img{width:100%;height:100%;object-fit:cover}
.drawer-user-copy{flex:1;min-width:0;position:relative;z-index:1}
.drawer-user-copy strong,.drawer-user-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer-user-copy strong{font-size:.9rem;font-weight:850}
.drawer-user-copy span{font-size:.7rem;color:#d6daf0;margin-top:3px}
.drawer-profile-link{position:relative;z-index:1;width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#ffffff1c;color:#fff}
.drawer-profile-link .ic{width:17px;height:17px}
.drawer-welcome{display:flex;align-items:center;gap:12px;padding:15px;border-radius:21px;background:linear-gradient(120deg,#fff0f2,#f4f2ff);border:1px solid #f3e2eb}
.drawer-welcome-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:15px;background:#fff;color:var(--p);box-shadow:0 5px 15px #e8344e18}
.drawer-welcome-icon .ic{width:22px;height:22px}
.drawer-welcome strong,.drawer-welcome small{display:block}
.drawer-welcome strong{font-size:.82rem;font-weight:900}
.drawer-welcome small{font-size:.69rem;color:var(--mute);margin-top:4px}
.drawer-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 4px 9px}
.drawer-list-heading span{font-size:.79rem;font-weight:900;color:var(--navy)}
.drawer-list-heading small{font-size:.67rem;font-weight:800;color:var(--p);background:var(--p-soft);padding:3px 9px;border-radius:99px}
.drawer-links{display:grid;gap:6px;overflow-y:auto;overscroll-behavior:contain;padding:1px 2px 12px;scrollbar-width:thin;scrollbar-color:#d9dce8 transparent}
.drawer-links a{min-height:53px;display:flex;align-items:center;gap:11px;padding:7px 9px;border:1px solid transparent;border-radius:17px;color:#626980;transition:background .18s,border-color .18s,color .18s,transform .18s}
.drawer-links a:hover{background:#f6f7fb;color:var(--ink);transform:translateX(-2px)}
.drawer-link-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:13px;background:#f1f3f9;color:#727991;transition:background .18s,color .18s}
.drawer-link-icon .ic{width:19px;height:19px}
.drawer-link-label{flex:1;font-size:.82rem;font-weight:800}
.drawer-link-arrow{width:25px;height:25px;display:grid;place-items:center;border-radius:9px;background:#f5f6fa;color:#8d93a7}
.drawer-link-arrow .ic{width:15px;height:15px;transform:rotate(180deg)}
.drawer-current{font-size:.61rem;font-weight:800;color:var(--p);white-space:nowrap}
.drawer-links a.on{background:linear-gradient(105deg,#fff0f2,#fff8fa);border-color:#f8d3d9;color:var(--p);box-shadow:0 5px 17px rgba(232,52,78,.06)}
.drawer-links a.on .drawer-link-icon{background:var(--grad);color:#fff;box-shadow:0 5px 12px rgba(232,52,78,.2)}
.drawer-links a.drawer-primary{background:var(--grad);color:#fff;border-color:transparent;box-shadow:0 8px 20px rgba(232,52,78,.21)}
.drawer-links a.drawer-primary .drawer-link-icon{background:#ffffff25;color:#fff}
.drawer-links a.drawer-primary .drawer-link-arrow{background:#ffffff25;color:#fff}
.drawer-links a.drawer-primary.on{background:var(--grad);color:#fff}
.drawer-bottom{margin-top:auto;padding:12px 4px 2px;border-top:1px solid #eceef4;display:flex;align-items:center;gap:8px;color:#747b90;font-size:.68rem;font-weight:700}
.drawer-status-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px var(--ok-s);flex:0 0 8px}
.drawer-bottom a{margin-right:auto;color:var(--p);font-size:.75rem;font-weight:900;padding:5px 12px;background:var(--p-soft);border-radius:10px}
body.drawer-open{overflow:hidden}
@media(max-width:420px){.menu-trigger{padding:4px}.menu-trigger-label{display:none}.menu-trigger-mark{width:35px;height:35px}.appbar-in{gap:8px}.brand{font-size:.94rem;gap:7px}.brand-mark{width:33px;height:33px;border-radius:11px}.avatar-nav{width:35px;height:35px}.app-drawer{right:7px;width:calc(100vw - 14px);top:calc(env(safe-area-inset-top) + 7px);bottom:calc(7px + env(safe-area-inset-bottom));padding:13px;border-radius:25px}}
@media(min-width:900px){.appbar-in{height:66px}.menu-trigger{margin-inline-start:12px}.menu-trigger-mark{width:36px;height:36px}.app-drawer{top:calc(env(safe-area-inset-top) + 16px);right:18px;bottom:16px;width:400px}}
@media(prefers-reduced-motion:reduce){.app-drawer,.drawer-backdrop,.menu-trigger,.drawer-links a,.drawer-close{transition:none!important}}


/* Desktop top navigation, mobile keeps the compact hamburger drawer */
.desktop-nav-wrap{display:none}
.desktop-nav{max-width:1320px;margin:0 auto;padding:7px 18px 10px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 7px}
.desktop-nav a{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 11px;border:1px solid transparent;border-radius:12px;color:#697188;font-size:.77rem;font-weight:750;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s}
.desktop-nav a:hover{background:#f5f6fa;color:var(--navy);transform:translateY(-1px)}
.desktop-nav a.on{background:linear-gradient(110deg,#fff0f2,#f5f2ff);border-color:#f3d8e1;color:var(--p);box-shadow:0 4px 12px rgba(44,48,75,.045)}
.desktop-nav-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#f0f2f8;color:#7b8298}
.desktop-nav-icon .ic{width:15px;height:15px}
.desktop-nav a.on .desktop-nav-icon{background:#fff;color:var(--p);box-shadow:0 2px 7px rgba(232,52,78,.1)}
@media(min-width:900px){
  .appbar-in{height:62px}
  .menu-trigger{display:none!important}
  .desktop-nav-wrap{display:block;border-top:1px solid rgba(235,237,244,.8);background:rgba(255,255,255,.68)}
  .desktop-nav{justify-content:flex-start;padding-top:8px;padding-bottom:9px}
  .app-drawer,.drawer-backdrop{display:none!important}
  body{padding-bottom:40px}
}
@media(min-width:1300px){.desktop-nav{justify-content:center;gap:6px 9px}.desktop-nav a{padding-inline:13px;font-size:.8rem}}

/* Wallet forms: consistent controls, including numeric and bank-account inputs */
.wallet-page .card{border:1px solid var(--line);border-radius:24px;box-shadow:var(--sh)}
.wallet-page .card h2{font-size:1.02rem;font-weight:850;color:var(--ink);margin-bottom:11px}
.wallet-page .hint{line-height:1.9}
.wallet-page .profile-fields{gap:0 16px}
.wallet-page .wallet-form .field{margin-bottom:17px}
.wallet-page .wallet-form .field label{display:block;margin:0 0 8px;color:var(--ink);font-size:.82rem;font-weight:800;transition:color .18s}
.wallet-page .wallet-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=hidden]),
.wallet-page .wallet-form select,
.wallet-page .wallet-form textarea{
  display:block;width:100%;min-width:0;height:56px;padding:0 16px;
  border:1px solid var(--line);border-radius:16px;
  background:var(--field-bg,var(--card));color:var(--field-ink,var(--ink));
  font-family:var(--font);font-size:.9rem;font-weight:650;outline:0;
  box-shadow:inset 0 1px 2px rgba(35,43,69,.025),0 3px 10px rgba(35,43,69,.025);
  transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;
}
.wallet-page .wallet-form input::placeholder,.wallet-page .wallet-form textarea::placeholder{color:var(--field-muted,var(--mute));font-weight:500}
.wallet-page .wallet-form input[type=number]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.wallet-page .wallet-form input[dir=ltr]{direction:ltr;text-align:left;letter-spacing:.035em;font-variant-numeric:tabular-nums}
.wallet-page .wallet-form select{appearance:none;padding-left:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8298' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center;cursor:pointer}
.wallet-page .wallet-form textarea{height:auto;min-height:116px;padding:14px 16px;resize:vertical}
.wallet-page .wallet-form input:focus,.wallet-page .wallet-form select:focus,.wallet-page .wallet-form textarea:focus{
  border-color:#9a8be8;background:#fff;box-shadow:0 0 0 4px rgba(125,105,220,.12),0 9px 22px rgba(76,65,145,.07);transform:translateY(-1px)
}
.wallet-page .wallet-form .field:focus-within label{color:var(--p)}
.wallet-page .wallet-form input:disabled,.wallet-page .wallet-form select:disabled{opacity:.58;cursor:not-allowed;background:color-mix(in srgb,var(--line) 35%,var(--card))}
.wallet-page .wallet-form .btn{min-height:49px;border-radius:15px;font-weight:850}
.wallet-page .wallet-form .btn-primary{background:var(--grad);box-shadow:0 8px 20px color-mix(in srgb,var(--p) 22%,transparent)}
.wallet-page .wallet-form .btn-primary:hover{box-shadow:0 11px 25px color-mix(in srgb,var(--p) 30%,transparent)}
.wallet-page .admin-list-title{gap:12px}
@media(min-width:700px){.wallet-page .profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-page .wallet-form .field{min-width:0}}
@media(max-width:520px){.wallet-page .card{padding:16px!important;border-radius:20px}.wallet-page .wallet-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=hidden]),.wallet-page .wallet-form select{height:53px}.wallet-page .wallet-form .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.desktop-nav a,.wallet-page .wallet-form input,.wallet-page .wallet-form select,.wallet-page .wallet-form textarea{transition:none!important}}

/* v9: service operations, icon studio, arbitration chat and overdue tracking */
.alert-warning{background:var(--warn-s);border:1px solid #f5dfb6;color:#8a570c}
.btn-danger-soft{background:var(--bad-s);color:var(--bad);border:1px solid #f8d4d9}
.btn-outline-danger{background:#fff;border:1.5px solid #f0b9c1;color:var(--bad)}
.btn-outline-danger:hover{background:var(--bad-s)}
.service-manager-summary{display:flex;align-items:center;gap:16px;background:linear-gradient(115deg,#20294a,#333d67);border-radius:24px;color:#fff;padding:22px 24px;margin:12px 0 22px;box-shadow:0 16px 36px rgba(28,37,69,.17)}
.service-manager-summary-icon{width:58px;height:58px;display:grid;place-items:center;flex:none;border-radius:19px;background:rgba(255,255,255,.12);color:#d9d5ff;font-size:1.5rem}
.service-manager-summary>div:nth-child(2){flex:1;min-width:0}.service-manager-summary small{display:block;color:#c9cee2;font-size:.72rem}.service-manager-summary h2{font-size:1.15rem;font-weight:850}.service-manager-summary p{color:#d2d7e8;font-size:.77rem;margin-top:3px}
.service-manager-summary>.btn{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.16)}
.service-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.service-section-heading h2{font-size:1.1rem;font-weight:850;line-height:1.5}.service-section-heading p{font-size:.78rem;color:var(--mute);margin-top:2px}.service-section-kicker{display:block;font-size:.68rem;font-weight:800;color:var(--p);letter-spacing:.02em;margin-bottom:3px}
.service-count-pill,.icon-library-total{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--mute);font-size:.72rem;font-weight:800;white-space:nowrap}
.service-bulk-form,.service-create-card,.icon-library-card,.dispute-admin-control-card{background:#fff;border:1px solid #e9ebf2;border-radius:23px;padding:20px;box-shadow:var(--sh);margin:18px 0}
.service-table-shell,.overdue-table-shell{width:100%;overflow:auto;border:1px solid var(--line);border-radius:17px;overscroll-behavior-x:contain}
.service-manager-table,.overdue-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1050px;background:#fff;font-size:.78rem}
.service-manager-table th,.overdue-table th{background:#f7f8fb;color:#65708a;padding:13px 10px;text-align:right;font-weight:800;white-space:nowrap;border-bottom:1px solid var(--line)}
.service-manager-table td,.overdue-table td{padding:11px 10px;border-bottom:1px solid #f0f1f5;vertical-align:middle}.service-manager-table tbody tr:last-child td,.overdue-table tbody tr:last-child td{border-bottom:0}
.service-manager-table tbody tr:hover,.overdue-table tbody tr:hover{background:#fcfcff}.service-check-col{width:70px}.service-select-check{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.service-select-check input,.service-select-all input{width:17px;height:17px;accent-color:var(--p)}
.service-manager-icon{width:37px;height:37px;border-radius:12px;background:var(--p-soft);color:var(--p);display:grid;place-items:center;font-size:1.15rem}.service-edit-input,.service-edit-select{width:100%;min-width:125px;height:42px;border-radius:11px;border:1px solid #e3e7ef;background:#fbfcff;padding:0 10px;outline:none;font-size:.77rem;transition:border-color .18s,box-shadow .18s,background .18s}.service-edit-input:focus,.service-edit-select:focus{border-color:#9b8de2;background:#fff;box-shadow:0 0 0 3px rgba(100,81,190,.11)}.service-subtitle-input{min-width:185px}.service-price-input{min-width:115px;font-weight:800}.service-description-row{background:#fbfcff}.service-description-row td{padding-top:7px;padding-bottom:13px}.service-description-row label{display:block;color:#7b8398;font-size:.68rem;font-weight:800;margin-bottom:5px}.service-description-row textarea{display:block;width:100%;min-height:54px;border:1px solid #e5e9f0;border-radius:11px;background:#fff;padding:9px 11px;resize:vertical;outline:none;font-size:.75rem}.service-description-row textarea:focus{border-color:#9b8de2;box-shadow:0 0 0 3px rgba(100,81,190,.1)}.service-row-meta{display:block;color:#9097a8;font-size:.65rem;margin-top:5px}.service-row-meta code{direction:ltr;color:#69718a}
.service-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.service-switch input{position:absolute;opacity:0;pointer-events:none}.service-switch>span{width:37px;height:21px;border-radius:99px;background:#dfe3ec;position:relative;transition:background .2s}.service-switch>span:after{content:"";position:absolute;top:3px;right:3px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s}.service-switch input:checked+span{background:var(--ok)}.service-switch input:checked+span:after{transform:translateX(-16px)}.service-switch small{font-size:.68rem;color:var(--mute);font-weight:700}
.service-row-delete{width:34px;height:34px;border-radius:10px;background:#fff0f2;color:var(--bad);display:grid;place-items:center}.service-row-delete:hover{background:var(--bad);color:#fff}.service-bulk-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:15px}.service-select-all{display:flex;align-items:center;gap:7px;color:var(--mute);font-size:.73rem;font-weight:700}.service-actions-spacer{flex:1}
.service-create-icon{width:44px;height:44px;border-radius:15px;background:var(--p-soft);color:var(--p);display:grid;place-items:center;font-size:1.25rem}.service-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}.service-create-grid .field{margin:0;min-width:0}.service-create-grid input,.service-create-grid select,.icon-add-panel input,.icon-add-panel textarea,.icon-add-panel select{width:100%;min-height:46px;border-radius:12px;border:1px solid #e5e8ef;background:#fbfcff;padding:10px 12px;outline:none;transition:border-color .18s,box-shadow .18s}.service-create-grid textarea,.icon-add-panel textarea{resize:vertical}.service-create-grid input:focus,.service-create-grid select:focus,.service-create-grid textarea:focus,.icon-add-panel input:focus,.icon-add-panel select:focus,.icon-add-panel textarea:focus{border-color:#9586de;background:#fff;box-shadow:0 0 0 3px rgba(100,81,190,.1)}.service-create-description{grid-column:1/-1}.service-create-enable{display:flex;align-items:center;gap:8px;font-size:.75rem;color:var(--mute);font-weight:700}.service-create-enable input{width:17px;min-height:17px;accent-color:var(--p)}
.icon-library-card{scroll-margin-top:150px}.icon-library-active{display:grid;gap:20px}.icon-category-block{border:1px solid #eef0f5;border-radius:17px;padding:13px}.icon-category-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.icon-category-title b{font-size:.82rem}.icon-category-title span{font-size:.67rem;color:var(--mute)}.icon-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.icon-library-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:104px;border:1px solid #edf0f5;border-radius:14px;background:#fbfcff;padding:12px 8px 10px;text-align:center}.icon-library-item>span{width:38px;height:38px;border-radius:12px;background:#f1efff;color:#6555bc;display:grid;place-items:center;font-size:1.35rem;margin-bottom:3px}.icon-library-item>b{font-size:.7rem;font-weight:800}.icon-library-item>small{font: .6rem ui-monospace,monospace;color:#9ba1b0;direction:ltr}.icon-library-item form{position:absolute;top:5px;left:5px}.icon-library-item form button{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;color:#a5a9b6;background:#fff}.icon-library-item form button:hover{color:var(--bad);background:var(--bad-s)}.icon-library-item form .ic{width:13px;height:13px}
.icon-library-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.icon-add-panel{min-width:0;border:1px solid #e9ebf2;border-radius:18px;background:#fbfcff;padding:16px}.icon-add-panel-head{display:flex;align-items:center;gap:11px;margin-bottom:14px}.icon-add-panel-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#eeeaff;color:#6654bd;font-size:1.2rem}.icon-add-panel-head h3{font-size:.9rem}.icon-add-panel-head p{font-size:.68rem;color:var(--mute);line-height:1.6}.icon-add-panel .field{margin-bottom:11px}.icon-add-panel .field label{display:block;font-size:.73rem;font-weight:800;margin-bottom:5px}.icon-custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.icon-add-panel textarea{font: .7rem/1.6 ui-monospace,monospace;direction:ltr;text-align:left}.service-empty-note{padding:20px;text-align:center;color:var(--mute)}
.dispute-page-wrap,.dispute-chat-wrap,.overdue-page-wrap{max-width:1050px}.dispute-list-summary{display:flex;align-items:center;gap:12px;background:#f0efff;border:1px solid #e2defc;border-radius:17px;padding:14px 16px;margin-bottom:14px;color:#5144a4}.dispute-list-summary>span{width:42px;height:42px;border-radius:13px;background:#fff;display:grid;place-items:center;font-size:1.3rem}.dispute-list-summary b{display:block;font-size:.85rem}.dispute-list-summary small{display:block;color:#726c9e;font-size:.7rem}.dispute-case-list{display:grid;gap:11px}.dispute-case-card{display:flex;align-items:center;gap:13px;min-width:0;background:#fff;border:1px solid #eceef4;border-radius:18px;padding:15px;box-shadow:var(--sh);transition:transform .18s,border-color .18s}.dispute-case-card:hover{transform:translateY(-2px);border-color:#d6d0f4}.dispute-case-icon{width:45px;height:45px;flex:none;border-radius:15px;background:#f0efff;color:#6352b4;display:grid;place-items:center;font-size:1.25rem}.dispute-case-main{flex:1;min-width:0}.dispute-case-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.dispute-case-top>b{font-size:.9rem}.dispute-case-main p{font-size:.75rem;color:#515a70;margin-top:3px}.dispute-case-main>small{font-size:.67rem;color:var(--mute)}.dispute-case-date{display:flex;align-items:flex-end;flex-direction:column;gap:2px;color:var(--mute);font-size:.68rem;white-space:nowrap}.dispute-case-date b{color:var(--ink);font-size:.7rem}.dispute-case-date .ic{margin-top:4px;color:var(--p)}
.dispute-empty-state{max-width:560px;margin:50px auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:35px 25px;text-align:center;box-shadow:var(--sh)}.dispute-empty-state>span{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;margin:0 auto 17px;background:#f0efff;color:#6252b4;font-size:2rem}.dispute-empty-state h2{font-size:1.1rem}.dispute-empty-state p{font-size:.8rem;color:var(--mute);margin:7px auto 17px;max-width:420px}
.dispute-back-link{display:inline-flex;align-items:center;gap:7px;color:var(--mute);font-size:.76rem;font-weight:750;margin:3px 0 13px}.dispute-detail-head{display:flex;align-items:center;gap:14px;background:linear-gradient(115deg,#20294a,#36416e);color:#fff;border-radius:22px;padding:20px;margin-bottom:13px;box-shadow:0 14px 30px rgba(28,37,69,.16)}.dispute-detail-icon{width:52px;height:52px;flex:none;border-radius:17px;background:rgba(255,255,255,.13);color:#e1ddff;display:grid;place-items:center;font-size:1.4rem}.dispute-detail-title{flex:1;min-width:0}.dispute-section-kicker{font-size:.67rem;color:#c7cbe0;font-weight:700}.dispute-detail-title h1{font-size:1.12rem;font-weight:850;line-height:1.5}.dispute-detail-title p{font-size:.72rem;color:#d0d4e5}.dispute-status-pill{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);color:#fff;padding:7px 11px;border-radius:99px;font-size:.68rem;font-weight:800;white-space:nowrap}.dispute-status-pill.final{background:rgba(39,190,130,.18);color:#b4f2d4;border-color:rgba(140,255,196,.25)}
.dispute-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}.dispute-meta-grid>div{background:#fff;border:1px solid #eceef4;border-radius:14px;padding:11px 13px;min-width:0}.dispute-meta-grid small{display:block;color:var(--mute);font-size:.65rem}.dispute-meta-grid b{display:block;font-size:.76rem;margin-top:3px;overflow-wrap:anywhere}.dispute-hold-notice{border-radius:14px;margin-bottom:13px}.dispute-resolution-banner{display:flex;align-items:flex-start;gap:13px;padding:15px 17px;margin-bottom:13px;border-radius:16px;border:1px solid #cdebdc;background:#edfbf4;color:#147b50}.dispute-resolution-banner>span{font-size:1.4rem}.dispute-resolution-banner b{font-size:.84rem}.dispute-resolution-banner p,.dispute-resolution-banner small{display:block;font-size:.75rem;margin-top:3px}
.dispute-chat-card{overflow:hidden;background:#fff;border:1px solid #e6e9f1;border-radius:22px;box-shadow:var(--sh);margin:14px 0}.dispute-chat-header{display:flex;align-items:center;gap:11px;padding:15px 17px;background:#fcfcff;border-bottom:1px solid #edf0f5}.dispute-chat-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f0efff;color:#6555b5;font-size:1.25rem}.dispute-chat-header>div:nth-child(2){flex:1}.dispute-chat-header b{display:block;font-size:.88rem}.dispute-chat-header small{display:block;color:var(--mute);font-size:.68rem}.dispute-live-dot{font-size:.65rem;color:var(--ok);font-weight:800}.dispute-live-dot:before{content:"";display:inline-block;width:7px;height:7px;margin-left:5px;border-radius:50%;background:var(--ok)}
.dispute-chat-messages{max-height:620px;min-height:220px;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:17px;background:linear-gradient(#fafbff,#f8f9fc)}.dispute-message{align-self:flex-start;width:min(82%,620px);background:#fff;border:1px solid #e9ebf1;border-radius:15px 15px 15px 5px;padding:11px 13px;box-shadow:0 3px 12px rgba(32,42,70,.035)}.dispute-message.mine{align-self:flex-end;background:#f0efff;border-color:#e3defb;border-radius:15px 15px 5px 15px}.dispute-message-author{display:flex;align-items:center;gap:8px;margin-bottom:4px}.dispute-message-author b{font-size:.7rem}.dispute-message-author span{font-size:.62rem;color:#777f94;background:#f1f2f6;border-radius:99px;padding:2px 7px}.dispute-message p{font-size:.8rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.dispute-message time{display:block;margin-top:5px;color:#979daf;font-size:.6rem;text-align:left;direction:ltr}.dispute-message.system-message{align-self:center;width:auto;max-width:90%;background:#fff9e8;border-color:#f1e5c3;border-radius:12px;text-align:center;color:#7d6020;box-shadow:none}.dispute-message.system-message p{font-size:.7rem}.dispute-message.system-message time{text-align:center}.dispute-system-mark{display:none}.dispute-chat-composer{padding:15px 17px;border-top:1px solid #eceef3}.dispute-chat-composer label{display:block;font-size:.75rem;font-weight:800;margin-bottom:7px}.dispute-chat-composer textarea{width:100%;border:1px solid #e2e6ef;border-radius:13px;background:#fbfcff;padding:11px 13px;outline:none;resize:vertical;font-size:.82rem;transition:border-color .18s,box-shadow .18s}.dispute-chat-composer textarea:focus{border-color:#9586de;box-shadow:0 0 0 3px rgba(100,81,190,.1);background:#fff}.dispute-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.dispute-composer-footer small{color:var(--mute);font-size:.67rem}.dispute-chat-closed-note{padding:14px;text-align:center;background:#f6f7fa;color:var(--mute);font-size:.73rem}
.dispute-admin-control-card{margin-top:17px}.dispute-admin-icon{width:44px;height:44px;border-radius:15px;background:#f0efff;color:#6555b5;display:grid;place-items:center;font-size:1.3rem}.dispute-admin-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dispute-admin-form .field{margin:0}.dispute-admin-form .field label{display:block;font-size:.74rem;font-weight:800;margin-bottom:5px}.dispute-admin-form select,.dispute-admin-form textarea{width:100%;border:1px solid #e3e7ef;background:#fbfcff;border-radius:12px;padding:10px 12px;min-height:46px;outline:none}.dispute-admin-form select:focus,.dispute-admin-form textarea:focus{border-color:#9586de;box-shadow:0 0 0 3px rgba(100,81,190,.1)}.dispute-admin-note{grid-column:1/-1}.dispute-admin-note textarea{resize:vertical}.dispute-admin-form-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:10px;border-top:1px solid var(--line)}.dispute-admin-form-footer p{max-width:580px;color:var(--mute);font-size:.68rem;line-height:1.8}
.overdue-count-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;background:#fff0e8;color:#b65b1a;border:1px solid #f7d9c7;border-radius:99px;font-size:.72rem;font-weight:850;white-space:nowrap}.overdue-explainer{display:flex;align-items:center;gap:12px;background:#fff7ed;border:1px solid #f5ddc8;border-radius:17px;padding:14px 16px;margin:4px 0 16px;color:#99501a}.overdue-explainer>span{width:42px;height:42px;border-radius:13px;background:#fff;display:grid;place-items:center;font-size:1.3rem}.overdue-explainer b{font-size:.82rem}.overdue-explainer p{font-size:.7rem;color:#986b4e;margin-top:3px}.overdue-table{min-width:940px}.overdue-table td>b,.overdue-table td>small{display:block}.overdue-table td>b{font-size:.78rem}.overdue-table td>small{font-size:.65rem;color:var(--mute);margin-top:3px}.overdue-age{display:inline-flex;border-radius:9px;padding:5px 8px;background:#fff1df;color:#a46005;font-size:.73rem;font-weight:850;white-space:nowrap}.overdue-age.critical{background:#fde9e9;color:#c42f43}
.job-dispute-request-card{background:#fff;border:1px solid #f1dce0;border-radius:20px;padding:17px;margin:16px 0;box-shadow:var(--sh)}.job-dispute-request-head{display:flex;align-items:center;gap:11px;margin-bottom:13px}.job-dispute-request-head>span{width:44px;height:44px;border-radius:14px;background:#fff0f2;color:var(--bad);display:grid;place-items:center;font-size:1.25rem;flex:none}.job-dispute-request-head h2{font-size:.94rem;font-weight:850}.job-dispute-request-head p{color:var(--mute);font-size:.72rem;line-height:1.7}.job-dispute-form{display:grid;gap:10px}.job-dispute-form .field{margin:0}.job-dispute-form .field label{display:block;font-size:.72rem;font-weight:800;margin-bottom:5px}.job-dispute-form input,.job-dispute-form textarea{width:100%;min-height:44px;border:1px solid #e5e8ef;border-radius:11px;background:#fbfcff;padding:10px 12px;outline:none;font-size:.8rem}.job-dispute-form textarea{resize:vertical}.job-dispute-form input:focus,.job-dispute-form textarea:focus{border-color:#dd8c99;box-shadow:0 0 0 3px rgba(229,56,76,.08);background:#fff}.dispute-inline-card{display:flex;align-items:center;gap:11px;background:#f2f0ff;border:1px solid #e0dbfb;border-radius:16px;padding:12px;margin:14px 0}.dispute-inline-card>span{width:39px;height:39px;border-radius:12px;background:#fff;color:#6252b4;display:grid;place-items:center;font-size:1.2rem}.dispute-inline-card>div{flex:1;min-width:0}.dispute-inline-card b{display:block;font-size:.77rem}.dispute-inline-card small{display:block;font-size:.68rem;color:var(--mute)}.cafe-objection-card{border-color:#e4e8f1}
@media(min-width:700px){.icon-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.service-manager-table{min-width:1180px}.dispute-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.dispute-chat-wrap{padding-top:20px}}
@media(max-width:699px){.service-manager-summary{flex-wrap:wrap;padding:17px}.service-manager-summary>.btn{width:100%}.service-bulk-form,.service-create-card,.icon-library-card,.dispute-admin-control-card{padding:15px;border-radius:19px}.service-bulk-actions{align-items:stretch}.service-actions-spacer{display:none}.service-bulk-actions .btn{flex:1}.service-select-all{width:100%;padding-bottom:4px}.service-create-grid,.icon-library-add-grid{grid-template-columns:1fr}.icon-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-section-heading{align-items:flex-start}.service-section-heading p{max-width:270px}.dispute-case-card{align-items:flex-start;padding:12px;gap:9px}.dispute-case-icon{width:38px;height:38px}.dispute-case-top>b{font-size:.78rem}.dispute-case-date{display:none}.dispute-detail-head{align-items:flex-start;flex-wrap:wrap;padding:15px}.dispute-status-pill{margin-right:66px;margin-top:-8px}.dispute-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dispute-chat-messages{max-height:60vh;min-height:200px;padding:11px}.dispute-message{width:92%;padding:10px}.dispute-composer-footer{align-items:stretch;flex-direction:column}.dispute-composer-footer .btn{width:100%}.dispute-admin-form{grid-template-columns:1fr}.dispute-admin-note,.dispute-admin-form-footer{grid-column:auto}.dispute-admin-form-footer{align-items:stretch;flex-direction:column}.dispute-admin-form-footer .btn{width:100%}.overdue-explainer{align-items:flex-start}.overdue-table-shell{border-radius:13px}.job-dispute-request-card{padding:14px}}


/* Visual, searchable and categorized service icon picker */
.service-icon-picker-field{min-width:145px}
.service-icon-picker-trigger{width:100%;min-width:142px;min-height:46px;display:flex;align-items:center;gap:9px;padding:6px 9px;border:1px solid #e4e8f1;border-radius:13px;background:linear-gradient(145deg,#fff,#f7f8fc);color:#303951;text-align:right;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.service-icon-picker-trigger:hover{border-color:#b9afea;box-shadow:0 5px 14px rgba(78,67,145,.08);transform:translateY(-1px)}
.service-icon-picker-trigger:focus-visible{outline:3px solid rgba(112,96,205,.2);outline-offset:2px}
.service-icon-picker-preview{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#f0efff;color:#6153b5}
.service-icon-picker-preview .ic{width:19px;height:19px}
.service-icon-picker-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}
.service-icon-picker-copy b{font-size:.71rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-icon-picker-copy small{font-size:.59rem;color:#8991a5;font-weight:600}
.service-icon-picker-trigger>.ic{width:13px;height:13px;flex:0 0 13px;color:#9299aa}
.icon-picker-modal[hidden]{display:none!important}
.icon-picker-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}
.icon-picker-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(17,23,43,.58);backdrop-filter:blur(7px);cursor:default}
.icon-picker-dialog{position:relative;z-index:1;width:min(900px,100%);max-height:min(84vh,840px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:25px;background:#fff;box-shadow:0 30px 90px rgba(14,20,42,.25);animation:iconPickerIn .18s ease-out}
@keyframes iconPickerIn{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.icon-picker-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 24px 16px;border-bottom:1px solid #edf0f5;background:linear-gradient(120deg,#fff,#f8f7ff)}
.icon-picker-dialog-head h2{font-size:1.08rem;font-weight:900;color:#222a45;margin:3px 0}
.icon-picker-dialog-head p{color:#7b8499;font-size:.72rem}
.icon-picker-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e7e9f0;border-radius:12px;background:#fff;color:#697188;cursor:pointer}
.icon-picker-close .ic{width:17px;height:17px}
.icon-picker-search{display:flex;align-items:center;gap:10px;margin:16px 22px 12px;padding:0 13px;height:48px;border:1px solid #e4e7f0;border-radius:14px;background:#fafbfe;color:#8a92a6}
.icon-picker-search .ic{width:18px;height:18px;flex:none}
.icon-picker-search input{width:100%;height:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font:inherit;font-size:.8rem;color:#242c46}
.icon-picker-dialog-groups{overflow:auto;padding:0 22px 20px;overscroll-behavior:contain}
.icon-picker-dialog-group{margin:6px 0 17px}
.icon-picker-dialog-category{display:flex;align-items:center;justify-content:space-between;padding:8px 2px 9px;border-bottom:1px solid #eef0f5;margin-bottom:10px}
.icon-picker-dialog-category b{font-size:.78rem;color:#343d58}
.icon-picker-dialog-category small{font-size:.64rem;color:#969db0}
.icon-picker-dialog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.icon-picker-option{min-width:0;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 5px;border:1px solid #edf0f5;border-radius:14px;background:#fff;color:#525c74;cursor:pointer;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}
.icon-picker-option:hover{transform:translateY(-2px);border-color:#c8c0f1;background:#f8f7ff;box-shadow:0 6px 16px rgba(77,64,151,.08);color:#5f50b2}
.icon-picker-option-glyph{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#f1f2f8;color:#616c87}
.icon-picker-option-glyph .ic{width:20px;height:20px}
.icon-picker-option b{max-width:100%;font-size:.65rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.icon-picker-no-results{padding:30px;text-align:center;color:#8c93a6;font-size:.8rem}
.icon-picker-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid #edf0f5;background:#fbfcfe}
.icon-picker-dialog-foot span{color:#858da1;font-size:.66rem}
body.icon-picker-open{overflow:hidden}
@media(max-width:700px){.icon-picker-modal{padding:8px;align-items:end}.icon-picker-dialog{width:100%;max-height:88vh;border-radius:23px 23px 15px 15px}.icon-picker-dialog-head{padding:16px 17px 12px}.icon-picker-search{margin:12px 14px 9px}.icon-picker-dialog-groups{padding:0 14px 14px}.icon-picker-dialog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.icon-picker-option{min-height:78px}.icon-picker-dialog-foot{padding:11px 14px}.icon-picker-dialog-foot span{max-width:65%}.service-icon-picker-trigger{min-width:128px}}
@media(max-width:420px){.icon-picker-dialog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Customer service catalogue: responsive layout refinement (v15) */
.service-page{
  width:100%;
  max-width:1120px;
  min-width:0;
  padding-top:clamp(10px,2vw,18px);
  overflow-x:clip;
}
.service-page,
.service-page *{min-width:0}
.service-hero,
.service-hero-copy,
.service-section-head,
.service-section-head>div,
.service-grid,
.service-card,
.service-help{min-width:0}
.service-hero{grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr)}
.service-card{overflow:hidden}
.service-card-title,
.service-card-desc,
.service-card-price{overflow-wrap:anywhere;word-break:normal}
.service-card:focus-visible{
  outline:3px solid rgba(100,81,190,.32);
  outline-offset:3px;
  border-color:#a99de4;
}
.service-card-disabled:focus-visible{outline-color:rgba(150,155,170,.35)}

/* Small screens: one clear service per row, no squeezed four-column cards. */
@media(max-width:639px){
  .service-page{padding-inline:12px;padding-top:12px}
  .service-hero{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    padding:20px 17px 15px;
    border-radius:22px;
  }
  .service-hero-copy{width:100%;max-width:100%}
  .service-kicker{font-size:.7rem;padding:6px 10px;margin-bottom:8px}
  .service-hero h1{font-size:clamp(1.28rem,5.4vw,1.58rem);line-height:1.58;letter-spacing:-.025em}
  .service-hero p{max-width:none;font-size:.77rem;line-height:1.9;margin-top:7px}
  .service-hero-points{gap:7px 13px;margin-top:11px}
  .service-hero-points span{font-size:.69rem}
  .service-hero-art{min-height:112px;height:112px;width:100%;overflow:visible}
  .service-art-circle{width:96px;height:96px;border-radius:29px;transform:rotate(-6deg)}
  .service-art-circle>span{width:59px;height:59px;border-radius:19px}
  .service-art-circle .ic{width:32px;height:32px}
  .service-art-circle i{width:34px;height:34px;border-radius:12px;bottom:-7px;right:-8px}
  .floating-mini{padding:7px 9px;border-radius:10px;font-size:.64rem;gap:5px}
  .floating-mini .ic{font-size:.9rem}
  .mini-one{right:calc(50% + 18px);top:1px}
  .mini-two{left:calc(50% + 16px);bottom:1px}

  .service-section-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:7px;
    margin:20px 2px 11px;
  }
  .service-section-head .eyebrow{font-size:.68rem}
  .service-section-head h2{font-size:1rem;line-height:1.55}
  .service-section-head p{font-size:.72rem;line-height:1.8}
  .service-count{align-self:flex-start;padding:5px 9px;font-size:.69rem;border-radius:10px}

  .service-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .service-card{
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    grid-template-rows:auto auto auto auto;
    align-items:start;
    column-gap:11px;
    row-gap:2px;
    min-height:0;
    padding:13px;
    border-radius:17px;
    box-shadow:0 2px 11px rgba(30,34,48,.055);
    animation-duration:.28s;
  }
  .service-card:hover{transform:none}
  .service-card:active{transform:scale(.99)}
  .service-card-icon{
    grid-column:1;
    grid-row:1 / span 2;
    align-self:center;
    justify-self:center;
    width:44px;
    height:44px;
    margin:0;
    border-radius:14px;
  }
  .service-card-icon .ic{width:22px;height:22px}
  .service-card-title{
    grid-column:2;
    grid-row:1;
    align-self:end;
    font-size:.83rem;
    line-height:1.55;
  }
  .service-card-desc{
    grid-column:2;
    grid-row:2;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    flex:none;
    margin-top:2px;
    font-size:.68rem;
    line-height:1.65;
  }
  .service-card-price{
    grid-column:1 / -1;
    grid-row:3;
    display:flex;
    align-items:center;
    min-height:34px;
    margin-top:9px;
    padding:6px 9px;
    border-radius:10px;
    font-size:.73rem;
    line-height:1.55;
  }
  .service-card-price.price-not-ready{font-size:.68rem}
  .service-card-action{
    grid-column:1 / -1;
    grid-row:4;
    min-height:35px;
    margin-top:1px;
    padding-top:7px;
    font-size:.72rem;
  }
  .service-card-action .ic{width:15px;height:15px}

  .service-help{
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    gap:9px 10px;
    padding:13px;
    margin-top:14px;
    border-radius:17px;
  }
  .help-mark{width:38px;height:38px;border-radius:12px}
  .service-help>div:nth-child(2){min-width:0}
  .service-help b{font-size:.78rem;line-height:1.6}
  .service-help p{font-size:.68rem;line-height:1.75}
  .service-help .btn{grid-column:1 / -1;width:100%;height:43px;margin:0;padding-inline:14px}
}

/* Compact phones: tighter spacing while preserving readable full-width cards. */
@media(max-width:360px){
  .service-page{padding-inline:9px}
  .service-hero{padding:17px 14px 13px;border-radius:19px}
  .service-hero h1{font-size:1.22rem}
  .service-hero p{font-size:.73rem}
  .service-hero-points{flex-direction:column;gap:5px}
  .service-hero-art{height:100px;min-height:100px}
  .service-art-circle{width:86px;height:86px}
  .mini-one{right:calc(50% + 12px)}
  .mini-two{left:calc(50% + 11px)}
  .service-card{padding:11px;column-gap:9px}
  .service-card-title{font-size:.79rem}
  .service-card-desc{font-size:.65rem}
  .service-card-price{font-size:.69rem}
}

/* Tablet and desktop card density follows the actual available width. */
@media(min-width:640px) and (max-width:899px){
  .service-hero{grid-template-columns:minmax(0,1.1fr) minmax(190px,.9fr);padding:26px}
  .service-hero h1{font-size:1.75rem}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .service-card{min-height:194px;padding:16px}
}
@media(min-width:900px) and (max-width:1199px){
  .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(min-width:1200px){
  .service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
}

@media(hover:none){.service-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){
  .service-card{animation:none!important;transition:none!important}
  .service-card:hover,.service-card:active{transform:none}
}


/* Keep horizontal overflow clipping exclusive to the admin services page. */
body.admin-services-page {
    overflow-x: hidden;
}

/* v17: all 30 services on the home catalogue */
.cats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px}
.cat{min-width:0;overflow-wrap:anywhere;line-height:1.55}
.cat>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center}
@media(min-width:640px){.cats{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 12px}}
@media(min-width:900px){.cats{grid-template-columns:repeat(8,minmax(0,1fr))}}

/* v15: premium, unified form controls across every site screen */
:root{--field-ink:#202943;--field-muted:#8b94aa;--field-border:#dfe4ef;--field-bg:#f8f9fd;--field-shadow:0 2px 5px rgba(27,39,74,.035),inset 0 1px 0 rgba(255,255,255,.95)}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]):not([type="color"]):not([type="range"]),
select,textarea{
    box-sizing:border-box;max-width:100%;min-width:0;width:100%;min-height:54px;height:54px;padding:0 17px;
    border:1px solid var(--field-border);border-radius:17px;background:linear-gradient(145deg,var(--card,#fff) 0%,var(--field-bg) 100%);
    color:var(--field-ink);font:inherit;font-size:.91rem;font-weight:600;line-height:1.5;outline:none;
    box-shadow:var(--field-shadow);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]):not([type="color"]):not([type="range"]):hover,
select:hover,textarea:hover{border-color:color-mix(in srgb,var(--p) 34%,var(--field-border));background:var(--card,#fff)}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]):not([type="color"]):not([type="range"]):focus,
select:focus,textarea:focus{border-color:var(--p);background:var(--card,#fff);box-shadow:0 0 0 4px color-mix(in srgb,var(--p) 13%,transparent),0 8px 22px rgba(25,38,76,.07);transform:translateY(-1px)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb,var(--p) 48%,white);outline-offset:2px}
input::placeholder,textarea::placeholder{color:var(--field-muted);font-size:.86rem;font-weight:500;opacity:1}
input[dir="ltr"],input[type="tel"],input[type="email"],input[type="url"],input[type="number"],input[inputmode="numeric"]{font-variant-numeric:tabular-nums;letter-spacing:.025em}
input[dir="ltr"]{text-align:left}
input[type="number"]{text-align:right}
select{appearance:none;-webkit-appearance:none;padding-left:48px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237c879f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center}
select option{color:#202943;background:#fff}
textarea{height:auto;min-height:124px;padding:15px 17px;line-height:1.9;resize:vertical}
input[type="file"]{box-sizing:border-box;width:100%;min-height:56px;height:auto;padding:10px 12px;border:1.5px dashed var(--field-border);border-radius:17px;background:linear-gradient(145deg,var(--card,#fff),var(--field-bg));color:var(--field-ink);font:inherit;font-size:.82rem;cursor:pointer}
input[type="file"]::file-selector-button{margin-inline-end:12px;padding:9px 14px;border:0;border-radius:11px;background:var(--p-soft);color:var(--p);font:inherit;font-weight:800;cursor:pointer}
input[type="checkbox"],input[type="radio"]{accent-color:var(--p)}
input:disabled,select:disabled,textarea:disabled{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none;background:#eef1f6}
.field{margin-bottom:19px}
.field label{display:block;margin:0 0 8px;color:var(--ink);font-size:.82rem;font-weight:800;transition:color .18s ease,transform .18s ease}
.field:focus-within>label{color:var(--p);transform:translateY(-1px)}
.field .hint,.field small.hint{display:block;margin-top:7px;color:var(--field-muted);font-size:.74rem;line-height:1.8}
@media(max-width:520px){
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]):not([type="color"]):not([type="range"]),select{min-height:55px;height:55px;border-radius:16px;padding-inline:15px;font-size:16px}
  textarea{min-height:118px;border-radius:16px;font-size:16px}
  input[type="file"]{min-height:58px}
}
@media(prefers-reduced-motion:reduce){input,select,textarea{transition:none!important}}

/* Hidden admin access touch target */
.drawer-bottom .drawer-status-dot{position:relative;display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.drawer-bottom .drawer-status-dot:after{content:"";display:block;width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px var(--ok-s);transition:transform .18s,box-shadow .18s}
.drawer-bottom .drawer-status-dot:hover:after{transform:scale(1.2);box-shadow:0 0 0 6px var(--ok-s)}
.drawer-bottom .drawer-status-dot:focus-visible{outline:2px solid var(--p);outline-offset:2px}

/* Hidden admin sign-in screen */
.admin-access-page{min-height:100vh;background:radial-gradient(circle at 10% 5%,rgba(255,255,255,.11),transparent 28%),radial-gradient(circle at 90% 90%,rgba(232,52,78,.18),transparent 30%),linear-gradient(145deg,#141c35,var(--navy) 58%,#342b62);color:#fff}
.admin-access-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 18px calc(30px + env(safe-area-inset-bottom))}
.admin-access-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:1rem;font-weight:900;margin-bottom:24px}
.admin-access-brand .brand-mark{width:42px;height:42px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:15px;display:grid;place-items:center;color:#fff}
.admin-access-card{width:min(100%,470px);padding:30px;border:1px solid rgba(255,255,255,.7);border-radius:30px;background:rgba(255,255,255,.97);color:#202943;box-shadow:0 28px 80px rgba(5,12,32,.32);backdrop-filter:blur(18px)}
.admin-access-emblem{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 13px;border-radius:21px;background:linear-gradient(145deg,var(--p-soft),#f3f2ff);color:var(--p);font-size:1.8rem}
.admin-access-kicker{display:block;text-align:center;color:#9aa2b6;font-size:.62rem;font-weight:900;letter-spacing:.18em;direction:ltr}
.admin-access-card h1{text-align:center;margin:5px 0 4px;font-size:1.45rem;font-weight:900}
.admin-access-sub{text-align:center;color:#818ba2;font-size:.84rem;margin-bottom:24px}
.admin-access-submit{min-height:54px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:16px;font-weight:900}
.admin-access-note{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:13px;border:1px solid #e9eaf3;border-radius:15px;background:#f7f8fc;color:#707a92}
.admin-access-note .ic{flex:none;color:var(--p);margin-top:3px}.admin-access-note p{font-size:.73rem;line-height:1.85;margin:0}
.admin-access-back{display:block;text-align:center;color:var(--p);font-size:.8rem;font-weight:800;margin-top:20px}
.admin-access-foot{color:rgba(255,255,255,.65);font-size:.72rem;margin-top:18px;text-align:center}
@media(max-width:520px){.admin-access-card{padding:24px 18px;border-radius:25px}.admin-access-shell{justify-content:flex-start;padding-top:max(38px,env(safe-area-inset-top))}.admin-access-brand{margin-bottom:18px}}

/* Homepage service discovery */
.home-service-search .card-h{align-items:flex-start;gap:14px}
.home-service-searchbox{display:flex;align-items:center;gap:11px;min-height:58px;margin:14px 0 16px;padding:0 16px;border:1px solid var(--site-border,var(--line));border-radius:17px;background:var(--site-surface,#fff);box-shadow:0 8px 24px rgba(35,45,80,.06);transition:border-color .2s,box-shadow .2s}
.home-service-searchbox:focus-within{border-color:var(--site-primary,var(--primary));box-shadow:0 0 0 4px color-mix(in srgb,var(--site-primary,var(--primary)) 12%,transparent)}
.home-service-searchbox>span{display:grid;place-items:center;color:var(--site-primary,var(--primary))}
.home-service-searchbox input{width:100%;min-width:0;height:54px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font:inherit;color:var(--site-text,var(--ink));font-size:.9rem}
.home-service-searchbox kbd{flex:none;padding:5px 8px;border:1px solid var(--site-border,var(--line));border-radius:7px;background:var(--site-background,#f7f8fc);color:var(--site-muted,var(--mute));font:11px Vazirmatn,sans-serif;direction:ltr}
.home-service-result[hidden]{display:none!important}
.home-service-search #homeServiceEmpty{padding:14px;border-radius:12px;background:var(--site-background,#f7f8fc)}
.home-service-search #homeServiceEmpty a{color:var(--site-primary,var(--primary));font-weight:800}
.sms-event-template-field{margin:8px 0 16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2,#fafbfc)}
.sms-event-template-field label{font-size:.78rem;font-weight:800}
.site-footer-trust-embed{display:flex;align-items:center;justify-content:flex-start;max-width:180px;overflow:hidden}
.site-footer-trust-embed img{max-width:130px;height:auto}


/* Home service cards: prevent the generic icon style from leaking into title and price. */
.home-service-result{
    box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    min-width:0;min-height:174px;gap:7px;padding:11px 6px 10px;
    border:1px solid #eceef6;border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
    color:var(--site-text,var(--ink));text-decoration:none;
    box-shadow:0 5px 16px rgba(25,35,70,.045);
    transition:transform .2s,border-color .2s,box-shadow .2s;
}
.home-service-result:hover{
    transform:translateY(-4px);border-color:color-mix(in srgb,var(--site-primary,var(--p)) 30%,#e9eaf3);
    box-shadow:0 10px 22px rgba(35,45,85,.10);
}
.cat.home-service-result>.home-service-icon{
    display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;
    margin:0;border-radius:15px;color:#fff;font-size:1.05rem;
    box-shadow:0 7px 14px rgba(30,34,48,.14),0 1px 0 rgba(255,255,255,.25) inset;
}
.home-service-result .home-service-title{
    display:-webkit-box;flex:none;width:100%;max-width:100%;height:auto;min-height:58px;max-height:58px;
    box-sizing:border-box;margin:0;padding:0 2px;overflow:hidden;
    color:var(--site-text,var(--ink));background:transparent;border:0;border-radius:0;box-shadow:none;
    font-size:.68rem;font-weight:850;line-height:1.55;text-align:center;white-space:normal;
    -webkit-box-orient:vertical;-webkit-line-clamp:4;
}
.home-service-result .home-service-price{
    display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;
    width:auto;max-width:100%;min-width:0;height:auto;min-height:26px;box-sizing:border-box;
    margin:auto 0 0;padding:4px 8px;border:1px solid color-mix(in srgb,var(--site-primary,var(--p)) 17%,#fff);
    border-radius:999px;background:color-mix(in srgb,var(--site-primary,var(--p)) 9%,#fff);
    color:var(--site-primary,var(--p));box-shadow:none;
    font-size:.63rem;font-weight:900;line-height:1.25;white-space:nowrap;direction:rtl;
    font-variant-numeric:tabular-nums;
}
@media(max-width:640px){
    .cats{gap:12px 7px}
    .home-service-result{min-height:168px;padding:9px 4px 8px;border-radius:16px;gap:7px}
    .home-service-result .home-service-title{font-size:.64rem;min-height:56px;max-height:56px}
    .home-service-result .home-service-price{min-height:24px;padding:4px 5px;font-size:.57rem}
}
@media(max-width:360px){
    .home-service-result .home-service-price{padding:4px 4px;font-size:.53rem}
}

/* admin users: filter, bulk bar, pager */
.admin-user-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:14px;margin-bottom:14px}
.admin-user-filter .field{margin:0}.admin-user-filter .filter-q,.admin-user-filter .filter-actions{grid-column:1/-1}
.filter-actions{display:flex;gap:8px;flex-wrap:wrap}
.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;margin-bottom:6px;background:#f7f8fb;border:1px solid var(--line);border-radius:14px;position:sticky;top:64px;z-index:5}
.bulk-bar select{height:38px;border-radius:12px;padding:0 10px;font-size:.8rem;min-width:150px}
.bulk-all,.bulk-allfiltered{display:flex;align-items:center;gap:6px;font-size:.8rem;cursor:pointer}.bulk-allfiltered{flex-basis:100%;color:var(--primary,#1d4ed8);font-weight:700}
.bulk-count{font-size:.8rem;font-weight:800;color:var(--mute)}
.bulk-check,.bulk-all input,.bulk-allfiltered input{width:20px;height:20px;accent-color:var(--primary,#1d4ed8);flex:none}.bulk-check-ph{width:20px;flex:none}
.admin-pager{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:16px}
.admin-pager a{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;font-weight:800;font-size:.85rem}.admin-pager a.on{background:var(--primary,#1d4ed8);color:#fff;border-color:transparent}.admin-pager span{align-self:center;color:var(--mute)}
@media(min-width:700px){.admin-user-filter{grid-template-columns:2fr 1fr 1fr 1fr}.admin-user-filter .filter-q{grid-column:1/-1}.admin-user-filter .filter-actions{grid-column:auto;align-self:end}}

/* card-to-card payments */
.pay-amount{padding:22px;text-align:center;margin-bottom:14px}.pay-amount h1{font-size:2.1rem;margin:6px 0}.pay-amount h1 span{font-size:1rem;color:var(--mute)}
.pay-timer{margin-top:8px;font-size:.85rem;color:var(--bad)}.pay-timer b{font-variant-numeric:tabular-nums}
.pay-card-box{padding:18px;margin-bottom:14px}.pay-card-num{font-size:1.5rem;font-weight:900;letter-spacing:.06em;text-align:center;padding:16px;margin:12px 0 8px;background:#f7f8fb;border:1px dashed var(--line);border-radius:14px;user-select:all}
.pay-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:.85rem;color:var(--mute);margin-bottom:12px}
.pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.pay-method input{position:absolute;opacity:0}.pay-method span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px;border:2px solid var(--line);border-radius:14px;cursor:pointer;text-align:center}
.pay-method input:checked+span{border-color:var(--primary,#1d4ed8);background:#eef4ff}.pay-method.is-off span{opacity:.5;cursor:not-allowed}.pay-method small{color:var(--mute);font-size:.72rem}
.pay-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.pay-presets .chip{cursor:pointer;border:0}
