/* سالن دایرکتور | SalonDirector — قالب مشترک پنل‌ها و اپ مشتری (ب۸: ظاهر مینیمال با پوسته). قلم از همین سرور.
   همه‌ی رنگ‌ها از متغیرها خوانده می‌شوند؛ مقدارهای زیر پوسته‌ی پیش‌فرض «نود و رز» است و فایل پوسته (brand.css / theme.css) جایشان را می‌گیرد. */
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--bg:#fbf8f5;--card:#fff;--line:#efe7e1;--ink:#2e2a28;--muted:#8c817b;--accent:#b98282;--accent2:#8a6262;--soft:#f9f3f3;--soft2:#eadada;--focus:#dcc0c0;
  --btn:#b98282;--btn-ink:#fff;--btn-h:#9f7070;--sub:#f6f1ed;
  --ok:#1f7a4d;--ok-bg:#e9f6ef;--warn:#9a6200;--warn-bg:#fff6e0;--err:#b3261e;--err-bg:#fdecea;--info:#2c4f7c;--info-bg:#e7eef7;--vio:#5b2a86;--vio-bg:#ece3f5;
  --radius:16px;--r-sm:12px;--pill:999px;color-scheme:light;
  --sd-g1:#0f5a45;--sd-g2:#0b4d3a;--sd-g3:#062f23;--sd-cream:#fbf5ec;--sup-bg:#7a2e0e;--sup-ink:#ffe7b8}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.85 Vazirmatn,Tahoma,sans-serif}
a{color:var(--accent2)}
/* سربرگ سبک: بدون نوار رنگی */
.top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 22px;background:transparent;color:var(--ink);border-bottom:1px solid var(--line)}
.top .brand{font-weight:700;font-size:17px;display:flex;align-items:center;gap:8px}.top .brand::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--accent);flex:0 0 auto}
.top small{color:var(--muted);font-weight:400;font-size:13px}
.top .who{font-size:13px;color:var(--muted)}
.top .tools{display:flex;align-items:center;gap:8px}
button.thm{background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:var(--pill);padding:3px 12px;font-size:13px;min-height:32px}
button.thm:hover{background:var(--soft);color:var(--accent2)}
.js-only{display:none}html.js .js-only{display:inline-block}
.nav{display:flex;flex-wrap:wrap;gap:4px;padding:10px 18px;background:transparent;border-bottom:1px solid var(--line)}
.nav a,.nav .link{padding:5px 13px;border-radius:var(--pill);text-decoration:none;color:var(--ink);font:inherit;font-size:14px;background:none;border:0;cursor:pointer;min-height:0}
.nav a.on,.nav a:hover,.nav .link:hover{background:var(--soft);color:var(--accent2)}
.bnav{display:none}
main{max-width:1100px;margin:0 auto;padding:22px 18px}
h1{font-size:21px;margin:6px 0 18px;font-weight:700}h2{font-size:17px;margin:0 0 12px}h3{font-size:15px;margin:18px 0 8px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin-bottom:18px}
.card.narrow{max-width:440px;margin-inline:auto}.card.warn{border-color:var(--warn);background:var(--warn-bg)}
.flash{padding:10px 14px;border-radius:var(--r-sm);margin-bottom:14px;background:var(--ok-bg);color:var(--ok);border:1px solid transparent;word-break:break-word}
.flash.err{background:var(--err-bg);color:var(--err)}.flash.warn{background:var(--warn-bg);color:var(--warn)}
.hide{display:none!important}
.fld{display:block;margin:0 0 12px}.fld span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}
input,select,textarea{width:100%;font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card);color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--focus);border-color:var(--accent)}
input[type=checkbox],input[type=radio]{width:auto;margin:0 0 0 6px;accent-color:var(--accent)}
input[type=color]{width:56px;height:40px;padding:2px;border-radius:var(--r-sm);cursor:pointer}
button,.btn{display:inline-block;font:inherit;padding:8px 20px;border-radius:var(--pill);border:0;background:var(--btn);color:var(--btn-ink);cursor:pointer;text-decoration:none;min-height:38px}
button:hover,.btn:hover{background:var(--btn-h)}
.btn.light,.light button,button.light{background:var(--soft);color:var(--accent2)}
.btn.light:hover,.light button:hover,button.light:hover{background:var(--soft2)}
.danger button{background:var(--err);color:#fff}
.nav form.inline{margin:0}
form.inline{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:flex-end;margin:4px}
form.inline .fld{margin:0;min-width:120px}
form.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;align-items:end}
form.grid fieldset{grid-column:1/-1}
fieldset{border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 14px}
.chk{display:inline-flex;align-items:center;gap:6px;margin:4px 0 4px 14px;font-size:14px}.chk input[type=checkbox]{margin:0}
.bar{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-bottom:12px}
.tw{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}
th{color:var(--muted);font-weight:700;white-space:pre-line}
.badge{display:inline-block;padding:1px 10px;border-radius:var(--pill);font-size:12px;background:var(--sub);color:var(--muted)}
.st-active,.pr-ok{background:var(--ok-bg);color:var(--ok)}.st-warn,.pr-warn{background:var(--warn-bg);color:var(--warn)}.st-grace{background:var(--warn-bg);color:var(--warn)}
.st-limited{background:var(--err-bg);color:var(--err)}.st-closed,.st-cancelled,.pr-fail{background:var(--err-bg);color:var(--err)}.st-suspended{background:var(--vio-bg);color:var(--vio)}
.st-pending,.st-inactive{background:var(--info-bg);color:var(--info)}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-bottom:18px}
.tile{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px;text-align:center}.tile b{display:block;font-size:24px}
.muted{color:var(--muted)}.small{font-size:12px}.ok{color:var(--ok)}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.mono{font-family:ui-monospace,Consolas,monospace;font-size:13px}
pre{background:var(--sub);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
pre.ltr{direction:ltr;text-align:left;display:block}
.log{max-height:360px;overflow:auto;direction:ltr;text-align:left}
.qr{background:#fff;display:inline-block;padding:6px;border-radius:var(--r-sm);border:1px solid var(--line)}
.fgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:4px 16px;margin:8px 0}
.frow{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed var(--line);padding:4px 0}
.frow .num{width:90px}
.src-override{color:var(--vio);font-weight:700}.src-addon{color:var(--ok);font-weight:700}
ul.feats{columns:2;padding-inline-start:18px}ul.feats li.off{color:var(--muted);opacity:.6;text-decoration:line-through}
.codes{font-size:18px;letter-spacing:2px;text-align:center}
.landing{text-align:center;padding-top:15vh}
/* ب۲: تنظیمات، الگوها، راه‌انداز، لیست قیمت */
div.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 14px;align-items:end}
table.rows td{padding:4px}table.rows input,table.rows select{padding:5px 8px}
input.num{max-width:120px}td input.num{width:68px;min-width:0}td.nw{white-space:nowrap}
details{margin:8px 0;border:1px dashed var(--line);border-radius:var(--r-sm);padding:6px 12px}details>summary{cursor:pointer;color:var(--accent2)}
.subnav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.subnav a{padding:4px 13px;border-radius:var(--pill);text-decoration:none;color:var(--ink);background:var(--card);border:1px solid var(--line);font-size:13px}
.subnav a.on,.subnav a:hover{background:var(--soft);color:var(--accent2);border-color:var(--soft2)}
.tiles.wide{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.tile.link{display:block;text-align:right;text-decoration:none;color:var(--ink)}.tile.link b{font-size:16px;margin-bottom:4px}.tile.link:hover{border-color:var(--accent)}
.dim{opacity:.55}.warnc{color:var(--warn);font-weight:700}.center{text-align:center}
.checks{display:flex;flex-direction:column;align-items:flex-start}.chk.big{font-size:15px;margin:6px 0}
ol.steps{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 14px;counter-reset:s}
ol.steps li{counter-increment:s;padding:4px 13px;border-radius:var(--pill);background:var(--card);border:1px solid var(--line);font-size:13px;color:var(--muted)}
ol.steps li::before{content:counter(s,persian) ". "}ol.steps li.on{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}
.pl-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}.pl-row:last-child{border-bottom:0}
.pl-row b{display:block}.pl-row>.num{white-space:nowrap;font-weight:700;color:var(--accent2)}.pl-row ul{margin:2px 0;padding-inline-start:18px;color:var(--muted)}
/* ب۳: تقویم و نوبت */
.calbar .bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.calbar .bar>a{text-decoration:none}.calbar form.inline input{width:120px}
table.cal{border-collapse:collapse;width:100%;table-layout:fixed;min-width:520px}table.cal th{position:sticky;top:0;background:var(--card);font-size:13px}table.cal th:first-child{width:46px}
table.cal td{border:1px solid var(--line);height:22px;padding:0;vertical-align:top;font-size:12px}table.cal td.tm{width:46px;border:0;color:var(--muted);font-size:11px;text-align:center}
table.cal td.off{background:repeating-linear-gradient(45deg,var(--sub),var(--sub) 4px,var(--bg) 4px,var(--bg) 8px)}table.cal td.free a.add{display:block;height:100%;color:transparent;text-decoration:none;text-align:center}
table.cal td.free:hover a.add{color:var(--accent2);background:var(--soft)}table.cal td.busy{padding:1px}
.seg{display:block;height:100%;min-height:20px;border-radius:8px;padding:2px 6px;text-decoration:none;color:var(--ink);overflow:hidden;line-height:1.5;border-inline-start:3px solid var(--accent);background:var(--soft)}
.seg.buf{background:var(--sub);border-color:var(--line);color:var(--muted)}.seg.blk{background:var(--sub);border-color:var(--muted);color:var(--muted)}
.seg.bk-pending{background:var(--warn-bg);border-color:var(--warn)}.seg.bk-confirmed{background:var(--info-bg);border-color:var(--info)}.seg.bk-arrived{background:var(--ok-bg);border-color:var(--ok)}
.seg.bk-in_service{background:var(--ok-bg);border-color:var(--ok);font-weight:700}.seg.bk-done{background:var(--sub);border-color:var(--muted)}.seg.bk-no_show{background:var(--err-bg);border-color:var(--err);text-decoration:line-through}
.badge.bk-pending{background:var(--warn-bg);color:var(--warn)}.badge.bk-booked{background:var(--soft);color:var(--accent2)}.badge.bk-confirmed{background:var(--info-bg);color:var(--info)}.badge.bk-arrived,.badge.bk-in_service{background:var(--ok-bg);color:var(--ok)}
.badge.bk-done{background:var(--sub);color:var(--muted)}.badge.bk-no_show,.badge.bk-cancelled{background:var(--err-bg);color:var(--err)}
.week{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.wday.today{border-color:var(--accent)}.wday h3{margin:0 0 6px;font-size:14px}
ul.appts{list-style:none;padding:0;margin:0}ul.appts li{padding:9px 0;border-bottom:1px dashed var(--line)}ul.appts li:last-child{border:0}ul.appts a{text-decoration:none;color:var(--ink)}
.acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.acts form{margin:0}
.slots{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.slots form{margin:0}button.slot{min-width:72px;background:var(--card);color:var(--accent2);border:1px solid var(--soft2);font-variant-numeric:tabular-nums}button.slot:hover,button.slot.on{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}
nav.days{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:8px}nav.days .day{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;min-width:58px;padding:6px 4px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card);text-decoration:none;color:var(--ink)}
nav.days .day b{font-size:18px}nav.days .day small{font-size:11px;color:var(--muted)}nav.days .day.on{background:var(--btn);border-color:var(--btn)}nav.days .day.on b,nav.days .day.on small{color:var(--btn-ink)}nav.days .day.off{opacity:.4}
ul.cart{list-style:none;padding:0;margin:0}ul.cart li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px dashed var(--line)}ul.cart li.total{border:0;font-size:16px}
label.svc{display:flex;gap:8px;align-items:flex-start;padding:9px 0;border-bottom:1px dashed var(--line)}label.svc input{margin-top:5px}p.svc{margin:6px 0}
a.btn.big{font-size:17px;padding:12px 28px}ul.plain{list-style:none;padding:0}
/* انتخاب پوسته */
.swatches{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.swatch{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:var(--muted);cursor:pointer}
.swatch input{position:absolute;opacity:0;width:1px;height:1px;top:0;right:0;margin:0}.swatch .sw{display:block;width:44px;height:44px;border-radius:50%;border:3px solid var(--card);box-shadow:0 0 0 1px var(--line);cursor:pointer}
.swatch input:checked+.sw{box-shadow:0 0 0 3px var(--ink)}.swatch input:focus-visible+.sw{outline:2px solid var(--focus);outline-offset:3px}
.th-rose{background:linear-gradient(135deg,#fbf8f5 50%,#b98282 50%)}.th-ivory{background:linear-gradient(135deg,#faf7f0 50%,#a8864f 50%)}.th-mauve{background:linear-gradient(135deg,#faf7f9 50%,#8e6c88 50%)}
.th-sage{background:linear-gradient(135deg,#f7f9f6 50%,#6f8f7a 50%)}.th-navy{background:linear-gradient(135deg,#f7f8fa 50%,#3e4c6d 50%)}.th-emerald{background:linear-gradient(135deg,#fbf5ec 50%,#0b4d3a 50%)}.th-stone{background:linear-gradient(135deg,#f8f8f7 50%,#5d6166 50%)}
.th-custom{background:conic-gradient(#e57373,#ffd54f,#81c784,#64b5f6,#ba68c8,#e57373)}
.thprev{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--bg);color:var(--ink);max-width:520px}
.thprev .pv-top{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);font-weight:700}.thprev .pv-top::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--accent)}
.thprev .pv-body{padding:14px}.thprev .card{margin-bottom:10px}
img.logo-prev{border-radius:20px;border:1px solid var(--line)}
footer{text-align:center;color:var(--muted);font-size:12px;padding:24px}
/* ب۴+ب۵: بیعانه، رسید، مشتری، گالری */
.depbox{margin-top:12px;padding:14px;border:1px solid var(--soft2);border-radius:var(--radius);background:var(--soft)}.depbox h3{margin:0 0 8px}
.cardno{font-size:22px;font-weight:700;letter-spacing:1px;margin:6px 0;color:var(--accent2)}
ul.rules{padding-inline-start:18px;margin:8px 0}
.card.rc{overflow:hidden}.card.rc.warn{border-color:var(--warn)}
img.rimg{float:left;width:96px;height:96px;object-fit:cover;border-radius:var(--r-sm);border:1px solid var(--line);margin-inline-start:10px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r-sm);border:1px solid var(--line);display:block}
.gallery figure{margin:0}.gallery figcaption{margin:4px 0}.gallery figure form{display:inline-block;margin:2px}
.rec{border-bottom:1px solid var(--line);padding:6px 0}.rec ul{margin:4px 0;padding-inline-start:18px}pre.formula{white-space:pre-wrap;font:inherit;background:var(--soft);padding:8px;border-radius:var(--r-sm);margin:4px 0;border:0}
.chips{display:flex;flex-wrap:wrap;gap:4px 14px;margin-bottom:8px}
.nav b.cnt,.bnav b.cnt{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--err);color:#fff;font-size:11px;text-align:center;line-height:18px}
.cs-new{background:var(--info-bg);color:var(--info)}.cs-active{background:var(--ok-bg);color:var(--ok)}.cs-risk{background:var(--warn-bg);color:var(--warn)}.cs-sleep{background:var(--vio-bg);color:var(--vio)}.cs-lost{background:var(--err-bg);color:var(--err)}.cs-none{background:var(--sub);color:var(--muted)}
.card.sug ul{list-style:none;padding:0;margin:0}.card.sug li{padding:9px 0;border-bottom:1px solid var(--line)}.card.sug li:last-child{border-bottom:0}
p.big{font-size:24px;font-weight:700;margin:4px 0}
input.narrow{max-width:120px}
/* ب۶+ب۷: فاکتور، گزارش، قرارداد */
table.inv select,table.inv input{min-width:0;width:100%}table.inv td{vertical-align:top}table.inv td:first-child{min-width:150px}
.tile b .up{color:var(--ok);font-size:12px}.tile b .down{color:var(--err);font-size:12px}
tr.lowm td{background:var(--err-bg)}
.contract{white-space:normal;line-height:2;font-size:15px;max-height:60vh;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--sub)}
.qr svg{width:220px;height:220px}
.mono,p.small.ltr{overflow-wrap:anywhere;word-break:break-all}
.iline{border-bottom:1px dashed var(--line);padding:4px 0 8px;margin-bottom:6px}
/* ب۸: فیش (همان سبک، با کاغذ و اندازه‌ی خط قابل انتخاب). فیش همیشه روی زمینه‌ی روشن است تا چاپ و خواندنش یکی باشد. */
.card.receipt{max-width:400px;margin-inline:auto;background:#fff;color:#2a2727;border-color:var(--line)}
.card.receipt .muted{color:#6f6863}.card.receipt a{color:#2a2727}
.receipt.p58{max-width:300px}.receipt.p80{max-width:400px}.receipt.pa4{max-width:720px}
.receipt.fs-s{font-size:12.5px}.receipt.fs-m{font-size:14px}.receipt.fs-l{font-size:16.5px}
.receipt .rc-logo{display:block;margin:0 auto 6px;width:64px;height:64px;border-radius:14px}
.receipt .rc-name{display:block;font-size:1.15em}.receipt .rc-info{display:block;font-size:.85em;color:#6f6863}
.receipt .rc-text{white-space:pre-line;text-align:center;font-size:.9em;margin:6px 0}
.receipt .rc-qr{text-align:center;margin:8px 0}.receipt .rc-qr svg{width:120px;height:120px}
.receipt.pa4 .rc-qr svg{width:140px;height:140px}
table.rl{width:100%;border-collapse:collapse;font-size:1em}table.rl td{padding:4px 0;border-bottom:1px dashed #ddd6d0}table.rl td.num{text-align:left;white-space:nowrap}table.rl.tot td{border:0}
.rc-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:18px;align-items:start}
.rc-wrap .card.receipt{margin:0}.rc-prev{position:sticky;top:10px}
.printbar{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px 0}
body.print{background:#fff;color:#2a2727}
body.print .top,body.print .nav,body.print .bnav,body.print footer,body.print h1,.print .noprint{display:none}
body.print main{max-width:80mm;margin:0 auto;padding:0}body.print main.pa4{max-width:190mm}body.print main.p58{max-width:58mm}
body.print .card{border:0;box-shadow:none;padding:4px}body.print .contract{max-height:none;overflow:visible;border:0}
@media print{
  @page{margin:3mm}
  html,body{background:#fff!important;color:#000!important}
  .top,.nav,.bnav,footer,.noprint,form,details,.printbar{display:none!important}main{max-width:none;padding:0}
  .card{border:0;box-shadow:none;background:#fff}.card.receipt{max-width:72mm;margin:0;color:#000}.card.receipt.p58{max-width:48mm}.card.receipt.pa4{max-width:none}
  .card.receipt .muted,.receipt .rc-info{color:#333}table.rl td{border-color:#999}
  .contract{max-height:none;overflow:visible;border:0;background:#fff}
}
/* موبایل: منوی پایین صفحه؛ منوی کامل زیر «بیشتر» */
@media (max-width:760px){
  main{padding:14px 12px}ul.feats{columns:1}.top{padding:12px 14px}.pl-row{flex-direction:column;gap:2px}div.grid{grid-template-columns:1fr 1fr}
  .card{padding:14px 14px;border-radius:14px}
  body.panel .nav{display:none;flex-direction:column;align-items:stretch;gap:2px;padding:8px 12px 12px;background:var(--card)}
  body.panel .nav:target,body.panel.nav-open .nav{display:flex}
  body.panel .nav a,body.panel .nav .link{padding:9px 14px;border-radius:var(--r-sm);text-align:right}
  body.panel.has-bnav main{padding-bottom:96px}body.panel.has-bnav footer{padding-bottom:90px}
  .bnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:var(--card);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}
  .bnav a{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 2px;border-radius:var(--r-sm);text-decoration:none;color:var(--muted);font-size:12px;line-height:1.5;min-width:0}
  .bnav a i{font-style:normal;font-size:19px;line-height:1.2}
  .bnav a.on{color:var(--accent2);background:var(--soft)}
  .rc-wrap{grid-template-columns:1fr}.rc-prev{position:static}
}
/* ب۹: راهنماها، علامت «؟»، کارت نصب روی گوشی، آشنایی بار اول، آیکون‌های منوی پایین */
[hidden]{display:none!important}
a.hlp{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);color:var(--muted);text-decoration:none;font-weight:700;font-size:15px}
a.hlp:hover{background:var(--soft);color:var(--accent2)}
.help-toc ol{columns:2;margin:0;padding-inline-start:22px}.help-toc li{break-inside:avoid}
.help-sec h3{margin:14px 0 4px;font-size:15px}.help-sec ol,.help-sec ul{padding-inline-start:22px}
.help-sec blockquote,.help-intro blockquote{margin:8px 0;padding:6px 14px;border-inline-start:3px solid var(--soft2);background:var(--sub);border-radius:var(--r-sm)}
.help-sec code,.help-intro code{background:var(--sub);padding:0 5px;border-radius:6px;font-size:13px}
table.hd td,table.hd th{vertical-align:top}
.a2hs .a2hs-x{float:left;font-size:16px;min-height:32px}
.tour ol{margin:0 0 10px;padding-inline-start:22px}
.bnav a i svg{width:22px;height:22px;display:block;margin:0 auto}
footer .links a{color:var(--muted)}
@media(max-width:640px){.help-toc ol{columns:1}}
@media print{.help-sec{break-inside:auto}.help-sec h2{break-after:avoid}}


/* ب۱۰: پنل با منوی کناری گروه‌بندی‌شده، «حساب من»، صفحه‌ی اول تازه */
:root{--side:var(--accent2);--side-ink:#fff;--side-mute:var(--soft2);--side-on:#fff;--side-on-ink:var(--accent2)}
body.panel .shell{display:flex;align-items:stretch;min-height:100vh}
body.panel .pmain{flex:1 1 auto;min-width:0}
.side{flex:0 0 250px;background:var(--side);color:var(--side-ink);padding:18px 12px 28px;position:sticky;top:0;height:100vh;overflow-y:auto}
.side-brand{display:flex;align-items:center;gap:10px;padding:2px 8px 16px;font-size:16px;line-height:1.5}
.side-brand b{flex:1 1 auto}.side-close{display:none}
.side .logo{background:#fff;color:var(--side)}
.side .grp{display:flex;flex-direction:column;gap:1px;margin-bottom:14px}
.side .gt{font-size:12px;font-weight:700;color:var(--side-mute);padding:0 10px 3px}
.side a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;color:var(--side-ink);text-decoration:none;font-size:14px;line-height:1.6}
.side a span{flex:1 1 auto}.side a i svg{width:19px;height:19px;display:block}
.side a:hover{background:rgba(255,255,255,.13)}
.side a.on{background:var(--side-on);color:var(--side-on-ink);font-weight:700}
.side b.cnt,.row b.cnt{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--err);color:#fff;font-size:11px;text-align:center;line-height:18px}
.logo{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--accent2);flex:0 0 auto;object-fit:cover}
.shell .top .brand::before{display:none}
.shell .top{border-bottom:0;padding-bottom:4px}
.who{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:var(--pill);padding:3px 3px 3px 12px;background:var(--card);font-size:14px;min-height:40px}
.who:hover{background:var(--soft)}
.av{width:34px;height:34px;border-radius:50%;background:var(--soft2);color:var(--accent2);display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 auto;line-height:1}
.av.big{width:56px;height:56px;font-size:22px}
main.home>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hello{position:relative;overflow:hidden;background:var(--soft);border-radius:24px;padding:18px 20px;margin-bottom:14px;min-height:92px}
.hello>p{position:relative;margin:0}.hello .hi{font-size:23px;font-weight:700;color:var(--accent2);line-height:1.6}.hello .hd{color:var(--ink);opacity:.8;font-size:14px}
.deco{display:none}
body.deco-on .deco{display:block;position:absolute;left:-12px;bottom:-24px;width:128px;height:128px;color:var(--soft2);pointer-events:none}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:8px;margin-bottom:14px}
.stat{text-align:center;border-radius:14px;padding:8px 4px;display:flex;flex-direction:column;line-height:1.5}
.stat b{font-size:22px}.stat span{font-size:12px;color:var(--muted)}.stat.on{background:var(--soft)}.stat.on b{color:var(--accent2)}
a.btn.big{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;border-radius:28px;font-size:16px;font-weight:700;margin:0 0 18px;box-shadow:0 8px 20px rgba(80,40,40,.16)}
a.btn.big i svg{width:22px;height:22px;display:block}
.card .ch{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:6px}.card .ch h2{margin:0}
.card .row{display:flex;align-items:center;gap:12px;padding:10px 2px;border-top:1px solid var(--line);text-decoration:none;color:var(--ink);min-height:44px}
.card h2+.row,.card .row:first-child{border-top:0}
.row>i:first-child{width:36px;height:36px;border-radius:12px;background:var(--soft);color:var(--accent2);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.row>i svg{width:19px;height:19px;display:block}
.row>span{flex:1 1 auto;line-height:1.6}.row small{display:block;font-size:12px;color:var(--muted)}
.row .ch{color:var(--muted)}.row .ch svg{width:16px;height:16px}
a.row:hover{background:var(--sub)}
.js-row .thm{min-height:36px}
ul.appts.rich{list-style:none;margin:0;padding:0}
ul.appts.rich li{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
ul.appts.rich li:first-child{border-top:0}
ul.appts.rich .av{width:40px;height:40px}
ul.appts.rich .ai{flex:1 1 150px;display:flex;flex-direction:column;min-width:0;line-height:1.6}
ul.appts.rich .ai a{color:var(--ink);font-weight:700;text-decoration:none}
ul.appts.rich .at{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
ul.appts.rich .acts{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px}
.me-head{display:flex;align-items:center;gap:14px}
form.logout{margin:0 0 18px}form.logout button{width:100%;min-height:48px;color:var(--err)}
.supp p{margin:4px 0}
@media (min-width:761px){
  .shell .top .brand{visibility:hidden}
  .shell .top{justify-content:space-between}
}
@media (max-width:760px){
  .side{display:none;position:fixed;inset:0;z-index:30;flex-basis:auto;height:auto;background:var(--bg);color:var(--ink);padding:12px 14px calc(96px + env(safe-area-inset-bottom))}
  .side:target,body.nav-open .side{display:block}
  .side-close{display:inline-flex;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);align-items:center;justify-content:center;color:var(--ink)!important;background:var(--card);padding:0}
  .side .logo{background:var(--soft);color:var(--accent2)}
  .side .gt{color:var(--accent2);padding:0 6px 6px;font-size:13px}
  .side .grp{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:4px 10px;margin-bottom:12px;gap:0}
  .side .gt{display:block;margin:6px 0 0}
  .side a{color:var(--ink);padding:10px 4px;border-top:1px solid var(--line);border-radius:0;min-height:48px;font-size:15px}
  .side .gt+a{border-top:0}
  .side a i{width:34px;height:34px;border-radius:11px;background:var(--soft);color:var(--accent2);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
  .side a.on{background:transparent;color:var(--accent2)}
  .side a:hover{background:var(--sub)}
  .who .wn{display:none}.who{padding:3px}
  body.panel.has-bnav .pmain main{padding-bottom:110px}
  .bnav{align-items:center}
  .bnav a.home{color:var(--accent2);font-weight:700}
  .bnav a.home i{background:var(--soft);border-radius:14px;padding:3px 12px}
  .hello .hi{font-size:21px}
}
ul.appts.rich .acts form.inline{margin:0}ul.appts.rich .acts button{padding:4px 14px;min-height:36px;font-size:13px}
ul.appts.rich .acts form.inline:not(:first-child) button{background:var(--soft);color:var(--accent2)}
.side a.side-close{display:none}
@media (max-width:760px){.side a.side-close{display:inline-flex}}
body.customer .top .brand::before{display:none}
body.customer main.home{max-width:560px}
.cu-out{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cu-out p{margin:0}
body.deco-on .hello{padding-left:100px}


/* ب۱۱: داشبورد کاشی‌کاشی، منوی بالا با دکمه‌های گرد، منوی پایین شناور، صفحه‌ی خوش‌آمد */
.pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--pill);border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:14px;text-decoration:none;min-height:42px;line-height:1.4;white-space:nowrap;cursor:pointer}
.pill:hover{background:var(--soft);color:var(--accent2)}
.pill.on{background:var(--btn);color:var(--btn-ink);border-color:var(--btn);font-weight:700}
.pill.sm{min-height:34px;padding:3px 12px;font-size:13px}.pill.do{background:var(--btn);color:var(--btn-ink);border-color:var(--btn);font-weight:700}
.ib{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;position:relative;cursor:pointer;list-style:none}
.ib svg{width:20px;height:20px}.ib .dot{position:absolute;top:8px;left:10px;width:8px;height:8px;border-radius:50%;background:var(--hi)}
details.dd{position:relative;margin:0;border:0;padding:0}details.dd>summary{list-style:none;color:inherit}details.dd>summary::-webkit-details-marker{display:none}
details.dd>summary.pill i{display:inline-flex}details.dd>summary.pill i svg{width:16px;height:16px}
.ddm{position:absolute;top:calc(100% + 6px);inset-inline-start:0;z-index:40;min-width:230px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:6px;box-shadow:0 16px 40px rgba(31,42,36,.16);display:flex;flex-direction:column}
.ddm a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;text-decoration:none;color:var(--ink);font-size:14px;line-height:1.6}
.ddm a:hover,.ddm a.on{background:var(--soft);color:var(--accent2)}.ddm a i svg{width:19px;height:19px;display:block}.ddm .ddh{padding:6px 12px 4px;font-size:13px;color:var(--muted)}.ddm p{margin:4px 12px 10px}
.bell .ddm,.acct .ddm{inset-inline-start:auto;inset-inline-end:0;min-width:270px}
.ddm b.cnt,.pill b.cnt{display:inline-block;min-width:18px;padding:0 6px;border-radius:9px;background:var(--hi);color:var(--hi-ink);font-size:11px;text-align:center;line-height:18px}
.srch label{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:var(--pill);padding:0 14px;height:42px;color:var(--muted);margin:0}
.srch input{border:0;background:transparent;padding:0;width:150px;outline:0;min-height:0}.srch input:focus{outline:0}.srch label:focus-within{outline:2px solid var(--focus)}.srch i svg{width:18px;height:18px;display:block}
body.panel{background:var(--frame)}
.ptop{flex-wrap:wrap;gap:12px;padding:14px 0}
.ptop .brand{text-decoration:none;color:var(--ink);gap:10px;visibility:visible!important}
.ptop .logo{width:40px;height:40px;border-radius:12px;background:var(--accent);color:#fff}.ptop img.logo{background:var(--card);border:1px solid var(--line)}
.tnav{display:flex;flex-wrap:wrap;gap:6px;margin-inline-start:12px;flex:1 1 auto}
.ptop .tools{gap:10px}.ptop .who{border:0;padding:0;background:transparent;min-height:42px}.ptop .who .av{width:42px;height:42px;background:var(--soft2)}.ptop .who .wn{display:none}
@media (min-width:761px){
  body.panel .side{display:none!important}
  body.panel .shell{display:block;padding:20px}
  body.panel .pmain{max-width:1440px;margin:0 auto;background:var(--bg);border-radius:28px;box-shadow:0 30px 60px rgba(31,42,36,.08);padding:4px 26px 6px;min-height:calc(100vh - 40px)}
  body.panel .pmain>main{padding:10px 0 18px}body.panel .pmain>main.home{max-width:none}
  body.panel .pmain>footer{padding:14px}
}
.dhead{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:8px 0 20px}
.dh-t{flex:1 1 320px;min-width:0}.dhead p{margin:0}
.dhead .crumb{font-size:13px;color:var(--muted)}.dhead .hi{margin-top:2px;font-size:34px;font-weight:700;color:var(--accent2);line-height:1.5}.dhead .hd{font-size:14px;color:var(--muted)}
.dh-a{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.dh-a a.btn.big{margin:0;min-height:44px;padding:9px 22px;font-size:15px;box-shadow:none;border-radius:var(--pill)}
.dash{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;margin-bottom:18px}
.dgrid{flex:999 1 640px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.dside{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:18px}
.tile2{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:10px;min-width:0;line-height:1.7}
.tile2 p{margin:0}.tile2.dark{background:var(--deep);color:var(--deep-ink);border-color:var(--deep)}
.tile2 .t-l{font-size:13px;color:var(--muted)}.tile2.dark .t-l,.tile2.dark .t-f{color:var(--deep-mute)}
.tile2 .t-t{font-weight:700;font-size:18px;margin-top:-8px}
.t-h{display:flex;align-items:center;justify-content:space-between;gap:10px}.t-f{font-size:12px;color:var(--muted)}
.t-num{font-size:34px;font-weight:700;color:var(--accent2);line-height:1.25;font-variant-numeric:tabular-nums}.dark .t-num{color:var(--deep-ink)}
.chip{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:var(--pill);white-space:nowrap;line-height:1.6}
.c-hi{background:var(--hi-soft);color:var(--hi-text)}.dark .c-hi{background:var(--hi);color:var(--hi-ink)}
.c-ok{background:var(--soft);color:var(--accent2)}.c-warn{background:var(--warn-bg);color:var(--warn)}.c-err{background:var(--err-bg);color:var(--err)}.c-mute{background:var(--sub);color:var(--muted)}
.av.sq{border-radius:18px;width:56px;height:56px;font-size:22px;background:var(--soft);color:var(--accent2)}
.t-who{display:flex;align-items:center;gap:12px}.t-who b{display:block;font-size:18px}.t-who .small{display:block}.t-who>div{min-width:0}
.t-big{font-size:32px;font-weight:700;color:var(--accent2)}
.t-btns{display:flex;gap:8px;margin-top:auto}.t-btns form{flex:1;margin:0;display:flex}.t-btns form button{flex:1;min-height:42px;font-weight:700}.t-btns .pill{flex:1;justify-content:center}
.t-empty{display:flex;flex-direction:column;gap:6px}.t-empty p{color:var(--muted);font-size:14px;line-height:1.9}.t-empty a{font-size:14px}.dark .t-empty p{color:var(--deep-mute)}.dark .t-empty a{color:var(--hi)}
.t-week .t-h{justify-content:flex-start}.ic{width:34px;height:34px;border-radius:10px;background:var(--soft);color:var(--accent2);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.ic svg{width:18px;height:18px}
.t-week .t-l{margin-top:-8px}
.wdots{display:flex;justify-content:space-between;align-items:flex-end;min-height:104px;margin-top:4px}
.wd{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:var(--muted);font-size:11px;min-width:24px;padding:2px;border-radius:10px}.wd:hover{background:var(--sub)}
.wd .dots{display:flex;flex-direction:column-reverse;gap:4px;align-items:center}.wd .dots i,.mbars i{display:block}.wd .dots i{width:9px;height:9px;border-radius:50%}
i.s{background:var(--mid)}i.m{background:var(--accent)}i.hi{background:var(--hi)}.wd.on .dn{color:var(--accent2);font-weight:700}
.mbars{display:flex;gap:4px;align-items:flex-end;height:48px;margin-top:4px}.mbars i{flex:1;border-radius:4px}
.sbox{border-radius:18px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.sbox.a{background:var(--deep2)}.sbox.b{background:var(--card);color:var(--ink)}
.sbox span{display:block;font-size:13px;color:var(--deep-mute)}.sbox.b span{color:var(--muted)}.sbox.b .t-num{color:var(--accent2)}.sbox .t-num{font-size:30px}
.gwrap{position:relative}.gauge{display:block}.gauge path{fill:none;stroke-width:22;stroke-linecap:round}.g-bg{stroke:var(--line)}.g-main{stroke:var(--accent)}.g-hi{stroke:var(--hi)}
.gv{position:absolute;bottom:2px;left:0;right:0;text-align:center;line-height:1.4}.gv span{display:block;font-size:12px;color:var(--muted)}.gv .t-num{font-size:30px}
.leg{display:flex;justify-content:space-between;gap:6px;font-size:13px;flex-wrap:wrap}.leg span{display:flex;align-items:center;gap:6px}.leg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.k-main{background:var(--accent)}.k-hi{background:var(--hi)}.k-bg{background:var(--line)}
.arows{display:grid;gap:12px;margin-top:4px}.arow{display:flex;align-items:center;gap:10px}.arow .av.sq{width:38px;height:38px;border-radius:12px;font-size:16px}
.av.p0{background:var(--accent);color:#fff}.av.p1{background:var(--mid);color:var(--deep)}.av.p2{background:var(--hi);color:var(--hi-ink)}
.ab{flex:1;min-width:0}.an{display:flex;justify-content:space-between;font-size:14px;gap:8px}.abar{height:8px;background:var(--line);border-radius:var(--pill);margin-top:4px;overflow:hidden}.abar i{display:block;height:100%;background:var(--accent);border-radius:var(--pill)}
.lchart{display:block;width:100%;height:auto}.l-grid{stroke:var(--line);stroke-width:1;fill:none}.l-line{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.l-dot{fill:var(--hi);stroke:var(--card);stroke-width:2}
.xlab{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:0 4px;margin-top:-6px}
.t-money{margin:0}.t-money .t-num{font-size:26px}.t-money span{font-size:14px;color:var(--muted)}.dark .t-money span{color:var(--deep-mute)}
.tile2 .row{display:flex;align-items:center;gap:12px;padding:10px 2px;border-top:1px solid var(--line);text-decoration:none;color:var(--ink);min-height:44px}.tile2 .t-l+.row{border-top:0}
.rh{margin-top:6px}.rh .t-t{margin:0}
.rrow{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:16px;text-decoration:none;color:var(--ink)}.rrow.on,.rrow:hover{background:var(--sub)}
.rrow .av{width:38px;height:38px;background:var(--soft)}.rb{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.6}.rb small{font-size:12px;color:var(--muted)}.rrow .do{display:none}
.mchips{display:flex;gap:8px;flex-wrap:wrap}.mchip{font-size:13px;font-weight:700;padding:5px 14px;border-radius:var(--pill)}.mchip.hi{background:var(--hi);color:var(--hi-ink)}.mchip.lt{background:var(--bg);color:var(--accent2)}.mchip.dk{background:var(--deep2);color:var(--deep-ink);font-weight:400}
.t-till .t-num{font-size:32px}a.gold{display:block;text-align:center;padding:10px;border-radius:var(--pill);background:var(--hi);color:var(--hi-ink);font-weight:700;text-decoration:none}a.gold:hover{filter:brightness(1.05)}
.t-list{grid-column:1/-1}.t-list h2{font-size:18px}
.t-list ul.appts.rich li{flex-wrap:wrap}.t-list .tm{width:54px;text-align:center;flex:0 0 auto}.t-list .tm b{color:var(--accent2)}.t-list .tm i{display:block;height:4px;border-radius:4px;margin-top:4px;background:var(--line)}
.t-list li.s-done .tm i{background:var(--accent)}.t-list li.s-in_service .tm i,.t-list li.s-arrived .tm i{background:var(--hi)}
.t-mcount,.t-minc,.t-ml,.amob{display:none!important}
@media (max-width:1100px){.dgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .tnav,.srch,.ptop .hlp{display:none}
  .ptop{padding:12px 0 4px;flex-wrap:nowrap}.ptop .brand{flex:1 1 auto;min-width:0}.ptop .brand .bn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ptop .ib,.ptop .who .av{width:44px;height:44px}
  body.panel .pmain>main{padding:4px 14px 110px}
  .dhead{padding:4px 0 14px}.dhead .crumb{display:none}.dhead .hi{font-size:26px}.dh-a{width:100%}.dh-a .pill{display:none}.dh-a a.btn.big{width:100%;min-height:54px;font-size:16px}
  .dash{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dgrid,.dside{display:contents}
  .tile2{border-radius:22px;padding:16px;grid-column:span 2;gap:8px}
  .t-mcount,.t-minc{display:flex!important;grid-column:span 1}.t-mcount{order:1}.t-minc{order:2}.t-cap{order:3}.t-urg{order:4}.t-list{order:5}.t-art{order:6}
  .t-mcount .t-num,.t-minc .t-num{font-size:28px}.t-minc .chip{align-self:flex-start;font-size:11px}
  .dash:not(.cdash) :is(.t-next,.t-week,.t-src,.t-inc,.t-till){display:none}
  .t-cap{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;align-items:center}.t-cap .gwrap{grid-column:1;grid-row:1/3}.t-cap .gauge{height:66px}
  .t-cap .gv span,.t-cap .leg,.t-cap .t-t{display:none}.t-cap .gv .t-num{font-size:20px}.t-cap .t-l{grid-column:2;font-weight:700;color:var(--ink);font-size:15px}.t-cap .t-ml{display:block!important;grid-column:2}.t-cap .t-empty{grid-column:1/-1}
  .t-art .t-t,.t-art .arows{display:none}.t-art .t-l,.t-urg>.t-l{font-weight:700;color:var(--ink);font-size:15px}.amob{display:flex!important;gap:12px}.am{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.6;min-width:0}
  .av.sq.big{width:52px;height:52px;border-radius:18px;font-size:20px;margin-bottom:4px}
  .rrow{border-radius:0;padding:10px 0;border-bottom:1px solid var(--line)}.rrow.on{background:transparent}.rrow:last-child{border-bottom:0}.dash:not(.cdash) .rrow .do{display:inline-flex}.dash:not(.cdash) .rrow .chip{display:none}
  .bnav{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:26px;border:0;box-shadow:0 10px 30px rgba(31,42,36,.18);background:var(--card);padding:8px 6px}
  .bnav a{border-radius:18px}.bnav a.home{background:var(--btn);color:var(--btn-ink);padding:6px 12px;flex:1.2 1 0}.bnav a.home i{background:transparent!important;padding:0!important}.bnav a.home.on{color:var(--btn-ink)}
}
/* صفحه‌ی خوش‌آمد: فقط بار اول هر نشست (ui.js کلاس sp-show را می‌گذارد)؛ هیچ‌وقت جلوی کلیک را نمی‌گیرد و خودش کنار می‌رود */
.splash{display:none}
html.sp-show .splash{display:flex;position:fixed;inset:0;z-index:200;flex-direction:column;align-items:center;justify-content:center;gap:14px;pointer-events:none;animation:sp-out .25s ease-in .4s forwards}
.sp-brand{background:radial-gradient(circle at 50% 42%,var(--sd-g1) 0,var(--sd-g2) 38%,var(--sd-g3) 100%);color:var(--sd-cream)}
.sp-brand img{width:132px;height:132px;animation:sp-in .42s cubic-bezier(.2,.8,.2,1) both}.sp-brand b{font-size:20px;animation:sp-in .42s .06s cubic-bezier(.2,.8,.2,1) both}
.sp-salon{background:var(--bg);color:var(--accent2)}.sp-salon b{font-size:22px;animation:sp-in .42s .06s both}
.sp-logo{width:112px;height:112px;border-radius:28px;animation:sp-in .42s cubic-bezier(.2,.8,.2,1) both}
.sp-ini{width:112px;height:112px;border-radius:32px;background:var(--btn);color:var(--btn-ink);display:flex;align-items:center;justify-content:center;font-size:52px;font-weight:700;animation:sp-in .42s cubic-bezier(.2,.8,.2,1) both}
.sp-by{position:absolute;bottom:calc(22px + env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-size:12px;color:var(--muted)}
@keyframes sp-in{from{opacity:0;transform:scale(.86) translateY(6px)}to{opacity:1;transform:none}}
@keyframes sp-out{to{opacity:0;visibility:hidden}}
@keyframes sp-cut{to{visibility:hidden}}
@media (prefers-reduced-motion:reduce){html.sp-show .splash{animation:sp-cut 0s linear .3s forwards}.splash *{animation:none!important}}
@media print{.splash,.supbar{display:none!important}}
.abar .w0{width:0%}.abar .w1{width:5%}.abar .w2{width:10%}.abar .w3{width:15%}.abar .w4{width:20%}.abar .w5{width:25%}.abar .w6{width:30%}.abar .w7{width:35%}.abar .w8{width:40%}.abar .w9{width:45%}.abar .w10{width:50%}.abar .w11{width:55%}.abar .w12{width:60%}.abar .w13{width:65%}.abar .w14{width:70%}.abar .w15{width:75%}.abar .w16{width:80%}.abar .w17{width:85%}.abar .w18{width:90%}.abar .w19{width:95%}.abar .w20{width:100%}.mbars .h0{height:3px}.mbars .h1{height:10%}.mbars .h2{height:20%}.mbars .h3{height:30%}.mbars .h4{height:40%}.mbars .h5{height:50%}.mbars .h6{height:60%}.mbars .h7{height:70%}.mbars .h8{height:80%}.mbars .h9{height:90%}.mbars .h10{height:100%}
/* ب۱۱: اپ مشتری کاشی‌کاشی */
body.customer .top{border-bottom:0;padding:16px 16px 4px;max-width:560px;margin:0 auto}
.cbrand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);min-width:0}
.cbrand .logo{width:44px;height:44px;border-radius:14px}.cbrand .logo.ini{background:var(--btn);color:var(--btn-ink);font-weight:700;font-size:20px}
.cbrand .bn{display:flex;flex-direction:column;line-height:1.5;min-width:0}.cbrand .bn b{font-size:17px}.cbrand .bn small{font-size:12px;color:var(--muted);font-weight:400}
body.customer .top .who{border:0;padding:0;background:transparent;min-height:44px}body.customer .top .who .av{width:44px;height:44px;background:var(--soft2)}.who .av svg{width:20px;height:20px}
body.customer main.home{padding-top:6px}.chead{padding:6px 0 14px}.chead .hi{font-size:27px}
body.customer .tile2{margin-bottom:14px}
.cnext{gap:12px}.cn-when{display:flex;align-items:baseline;gap:10px}.cn-when span{color:var(--deep-mute);font-size:15px}
.cn-svc{background:rgba(255,255,255,.08);border-radius:16px;padding:12px;display:flex;align-items:center;gap:10px}.cn-svc .av.sq{width:40px;height:40px;border-radius:12px;background:var(--bg);color:var(--accent2);font-size:16px}
.cn-svc b{display:block}.cn-svc span{font-size:12px;color:var(--deep-mute)}
.cnext .t-btns a{flex:1;min-height:46px;display:flex;align-items:center;justify-content:center;border-radius:var(--pill);padding:8px}
a.ghost{border:1px solid rgba(255,255,255,.3);color:var(--deep-ink);text-decoration:none}a.ghost:hover{background:rgba(255,255,255,.08)}
body.customer a.btn.big{margin-bottom:14px}
.ctiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.ctile{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:6px;min-height:96px;text-decoration:none;color:var(--ink);line-height:1.6}
.ctile:hover{border-color:var(--soft2)}.ctile b{font-size:15px}.ctile small{font-size:12px;color:var(--muted);margin-top:-4px}.ctile .ic{width:38px;height:38px;border-radius:12px}.ctile .ic svg{width:20px;height:20px}
.amob.show{display:flex!important;gap:12px}.cart .am{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.6;min-width:0}.cart .av.sq.big{width:64px;height:64px;border-radius:22px;font-size:22px;margin-bottom:6px}
.pop{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.pop:last-child{border-bottom:0}.pop>div{flex:1;display:flex;flex-direction:column;line-height:1.6}.pop .num{font-weight:700;color:var(--accent2);font-size:13px;white-space:nowrap}
.cpop .t-h a{font-size:13px}.card.a2hs{border-style:dashed;background:var(--bg)}
body.customer .top .thm{min-height:36px}
/* ب۱۱: پنل مرکزی */
.ctop .clogo{height:46px;width:auto;display:block}.ctop .brand{gap:10px}.ctop .brand .chip{font-weight:700}
.ctop .ib.av{font-weight:700;background:var(--soft2);color:var(--accent2);border:0}
.ddrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;font-size:14px}.ddm form{margin:0}.ddm button.link{background:none;color:var(--err);border:0;text-align:right;padding:9px 12px;width:100%;border-radius:12px;font-size:14px}.ddm button.link:hover{background:var(--err-bg)}
.cdash .t-ren{grid-column:span 2}
.kv{display:grid;gap:10px;font-size:14px}.kv>div{display:flex;justify-content:space-between;align-items:center;gap:8px}
.prow .an{color:var(--deep-ink)}.abar.dk{background:rgba(255,255,255,.12)}.abar .b0{background:var(--hi)}.abar .b1{background:var(--bg)}.abar .b2{background:var(--mid)}
.t-ren .rrow{border-bottom:1px solid var(--line);border-radius:0;padding:10px 2px}.t-ren .rrow:last-child{border-bottom:0}.t-ren .av.sq{width:38px;height:38px;border-radius:12px;font-size:16px}
body.central.bare{background:var(--bg)}
@media (max-width:760px){
  body.central .tnav{display:flex;flex-wrap:nowrap;overflow-x:auto;order:5;flex:1 0 100%;margin:0;padding-bottom:4px}
  body.central .ptop{flex-wrap:wrap}.ctop .clogo{height:38px}.cdash .t-ren{grid-column:span 2}
  body.central .pmain>main{padding-bottom:30px}
}
.t-sms .gv .t-num{font-size:24px}
/* ب۱۱: نوار حالت پشتیبانی و «اطلاعات کجاست» */
.supbar{position:sticky;top:0;z-index:60;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px;padding:8px 14px;background:var(--sup-bg);color:#fff;font-size:14px;line-height:1.6}
.supbar a{color:var(--sup-ink)}.supbar form{margin:0}.supbar button{min-height:32px;padding:2px 14px;background:#fff;color:var(--sup-bg);font-weight:700}
.datamap summary{font-size:16px}.datamap th{width:150px;white-space:normal}
