/* =====================================================================
   تم «Bank» — سبک پنل‌های بانکی/فین‌تک
   پالت ۱: پس‌زمینه Oat Milk #EEE5D4 · سازمانی Forest Green #1D4A35 · تأکید Tomato Red #F2462E
   بدون نئون، بدون گرادیان غیرضروری؛ فقط روشن (حالت تیره، تم قبلی را نگه می‌دارد)
   ===================================================================== */
:root{
  --oat:#EEE5D4;--forest:#1D4A35;--forest2:#2A6048;--forest-d:#143626;--tomato:#F2462E;--tomato-d:#C9361F;
  --paper:#FFFDF8;--line2:#E3D8C2;--ink2:#23302A;--mut2:#6B6F63;
  --ac:var(--forest);--ac-d:var(--forest-d);--ac-l:#E4EDE6;
  --bg:var(--oat);--card:var(--paper);--ink:var(--ink2);--mut:var(--mut2);--line:var(--line2);
  --pri:var(--forest);--pri2:var(--forest2);--ok:#2E7D4F;--okbg:#E3F1E7;--wait:#9A5B00;--waitbg:#FFF0D6;--bad:#C62828;--badbg:#FCE9E6;
  --liq:#DDE8DF;--r:16px;--sh:0 1px 2px rgba(29,74,53,.05),0 4px 14px rgba(29,74,53,.05);
}
body{background:var(--oat);color:var(--ink2)}
h1,h2,h3{color:var(--forest);font-weight:700}
h2:before{background:var(--tomato);height:16px;width:4px;border-radius:2px}
.d-hero h2,.ck-dn,.kt .vl{font-family:"VazirmatnApp","Shabnam",Tahoma,sans-serif;font-weight:800}

/* هدر سازمانی */
header{background:var(--forest);color:#fff;border-radius:0 0 18px 18px;margin:0 0 12px;box-shadow:0 2px 10px rgba(20,54,38,.25)}
header h1{color:#fff}header .sub{color:#C9D8CD}
.brand-logo{background:#fff;box-shadow:none}
.hbtns .btn,.hbtns button{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:10px}
.hbtns .btn:hover,.hbtns button:hover{background:rgba(255,255,255,.22)}
#syncBadge.pend{background:rgba(242,70,46,.25)!important;border-color:rgba(255,255,255,.35)!important}
.tb-bell,.tb-user{color:#fff}
.warnbar{background:var(--waitbg);color:#7A4A00;border:1px solid #F0D59A;border-radius:12px}

/* منوی کناری */
.module-nav{background:var(--paper)!important;border:1px solid var(--line2)!important;border-radius:var(--r);box-shadow:var(--sh)!important}
.module-nav .module-btn{color:var(--ink2);border-radius:10px;font-weight:600}
.module-nav .module-btn:hover{background:#F3ECDC;color:var(--forest);transform:none}
.module-nav .module-btn.on{background:var(--forest);color:#fff;font-weight:700}
.module-nav .module-btn.on .mi{filter:brightness(0) invert(1)}
.navpill{background:var(--forest)}
.nav-cap{color:#8A8C7E}.nav-sep{background:var(--line2)}
.sec-switch{background:#F1E9D8}.sec-switch button{color:#5E6358}
.sec-switch button.on{background:var(--forest);color:#fff;box-shadow:none}
.nb{background:var(--tomato);color:#fff}

/* تب‌های داخلی */
nav{background:var(--paper);border:1px solid var(--line2);box-shadow:none;border-radius:12px}
nav button{color:var(--ink2);border-radius:9px}
nav button:hover{background:#F3ECDC;color:var(--forest)}
nav button.on{background:var(--forest);color:#fff}

/* کارت‌ها و پنل‌ها */
section,.m-box,.summary-card,.dc,.tblwrap{background:var(--paper);border:1px solid var(--line2);border-radius:var(--r);box-shadow:var(--sh)}
.card{background:var(--paper);border:1px solid var(--line2);border-radius:14px}
.card.pending{border-color:#EBCB86}.card.delivered{border-color:#B5D6BF}
.card .code{background:#F3ECDC}
.codebox{background:#F3ECDC;border:1px solid var(--line2)}.codebox .big{color:var(--forest)}
.dc h3 i{background:var(--ac-l);color:var(--forest)}

/* دکمه‌ها: معمولی سبز سازمانی، تأکیدی/خطرناک قرمز */
.btn{background:var(--forest);color:#fff;border:1px solid var(--forest);border-radius:10px;box-shadow:none;font-weight:600}
.btn:hover{background:var(--forest2);border-color:var(--forest2)}
.btn:disabled{opacity:.55}
.btn.gray{background:#F3ECDC;color:var(--forest);border:1px solid var(--line2)}
.btn.gray:hover{background:#E9DFC9}
.btn.danger,.btn.red{background:var(--tomato);border-color:var(--tomato);color:#fff}
.btn.danger:hover{background:var(--tomato-d);border-color:var(--tomato-d)}
.btn.sm{border-radius:8px}

/* فرم‌ها */
input[type=text],input[type=search],input[type=password],input[type=number],input[type=date],select,textarea{background:#fff;color:var(--ink2);border:1px solid #D6CAB0;border-radius:10px;box-shadow:none}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--forest);box-shadow:0 0 0 3px rgba(29,74,53,.15)}
label{color:var(--ink2)}.hint{color:var(--mut2)}
.msg.ok{background:var(--okbg);color:#1F5E3A;border:1px solid #BFDCC9}
.msg.err{background:var(--badbg);color:#8F1F12;border:1px solid #F2C2BA}

/* جدول‌ها */
table{border-collapse:separate;border-spacing:0}
th{background:#F1E9D8;color:var(--forest);font-weight:700;border-bottom:1px solid var(--line2)}
td{border-bottom:1px solid #EFE7D6}
tbody tr:nth-child(even){background:#FBF7EC}tbody tr:hover{background:#F3ECDC}
.badge,.bz-cnt,.u-st{border-radius:999px}
.badge.ok,.st-ok,.u-st.on{background:var(--okbg);color:#1F5E3A}
.badge.wait,.st-wait{background:var(--waitbg);color:#7A4A00}
.badge.bad,.u-st.off{background:var(--badbg);color:#8F1F12}

/* دیالوگ‌ها */
dialog,.lg-dlg{background:var(--paper);color:var(--ink2);border:1px solid var(--line2);border-radius:16px}
dialog::backdrop{background:rgba(20,40,30,.45)}
.lg-ov{background:rgba(20,40,30,.45)}

/* فوکوس قابل‌مشاهده (دسترسی‌پذیری) */
:focus-visible{outline:2px solid var(--tomato);outline-offset:2px}
@media(max-width:760px){header{border-radius:0 0 14px 14px}}

/* ===== v44: تکمیل تم سازمانی (سبز جنگلی / شیری / گوجه‌ای) ===== */
html body{background:var(--oat)}
.btn,button.btn{background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:10px;font-weight:600}
.btn:hover,button.btn:hover{background:var(--forest2);border-color:var(--forest2)}
.btn.gray,button.btn.gray{background:#F0E8D7!important;color:var(--forest)!important;border:1px solid var(--line2)!important}
.btn.gray:hover{background:#E8DEC8!important}
.btn.danger,button.btn.danger{background:var(--bad)!important;border-color:var(--bad)!important;color:#fff!important}
.d-act button.gold,.d-hero .btn,#lock .lockcard .btn.cta{background:var(--tomato)!important;border-color:var(--tomato)!important;color:#fff!important}
.d-act button.gold:hover{background:var(--tomato-d)!important}
nav button.on,.ck-wd,.pz.on,#focusExit,#toast,.lg-pager button.on{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}
.who{color:var(--forest)!important;background:#F3ECDC!important;border-color:var(--line2)!important}
input,select,textarea{background:#F8F3E8;border:1px solid var(--line2)}
input:focus,select:focus,textarea:focus{background:#fff;border-color:var(--forest2);box-shadow:0 0 0 3px rgba(29,74,53,.14)}
.d-hero{box-shadow:var(--sh)!important}
.d-kpis>.kt:first-child{background:var(--forest)!important;box-shadow:var(--sh)!important}
.kt,.dc,.card,section{box-shadow:var(--sh)}
#lock{background:var(--oat)!important}
#lock .lk-side{background:var(--forest)!important}
#lock .lk-orb{display:none}
#lock .lockcard .btn{background:var(--forest)!important;box-shadow:none!important}
#lock .lk-eyebrow{background:#E4EDE6;color:var(--forest)}
#lock .lk-eyebrow::before{background:var(--tomato)}
.badge.turn{background:#E4EDE6;color:var(--forest)}
:focus-visible{outline:2px solid var(--tomato);outline-offset:2px}
@media(prefers-contrast:more){:root{--line2:#B9AC8F}}
.dbm{display:grid;grid-template-columns:130px 130px 1fr 1fr;gap:12px;margin:0 0 12px}
.dbm-c,.dbm-l{background:var(--paper);border:1px solid var(--line2);border-radius:14px;box-shadow:var(--sh);padding:12px 14px}
.dbm-c b{display:block;font-size:30px;color:var(--forest);line-height:1.2}.dbm-c span{font-size:13px;color:var(--mut)}
.dbm-l h4{margin:0 0 6px;color:var(--forest);font-size:14px}.dbm-l div{font-size:12.5px;padding:2px 0;border-bottom:1px dashed var(--line2)}.dbm-l div:last-child{border:0}
.dbm-l i{font-style:normal;background:#E4EDE6;color:var(--forest);border-radius:6px;padding:0 6px;margin-left:4px}
@media(max-width:900px){.dbm{grid-template-columns:1fr 1fr}.dbm-l{grid-column:1/-1}}

#lock .lk-side h1,#lock .lk-side h2,#lock .lk-side p{color:#fff!important}#lock input{background:#F8F3E8!important;border:1px solid var(--line2)!important}#lock .lk-foot,#lock .lk-strip{background:#F3ECDC}
html body #lock .lk-side .lk-bot h2,html body #lock .lk-side .lk-bot h2 *{color:#fff!important;-webkit-text-fill-color:#fff!important}

html body #syncBadge.pend{background:var(--tomato)!important;color:#fff!important;border-color:var(--tomato-d)!important}

th.sortable{cursor:pointer;user-select:none}th.sortable:hover{color:var(--tomato)}
th.sortable[data-sd=asc]::after{content:" ▲";font-size:10px;color:var(--tomato)}th.sortable[data-sd=desc]::after{content:" ▼";font-size:10px;color:var(--tomato)}
.nav-min-btn{display:none;width:100%;margin-bottom:8px;background:#F3ECDC;border:1px solid var(--line2);border-radius:10px;color:var(--forest);font-size:16px;cursor:pointer;padding:4px}
@media(min-width:861px){
  .nav-min-btn{display:block}
  body.nav-min .wrap{grid-template-columns:74px minmax(0,1fr)!important}
  body.nav-min .module-nav .ml,body.nav-min .module-nav .nav-cap,body.nav-min .module-nav .sec-switch,body.nav-min .module-nav .navpill{display:none!important}
  body.nav-min .module-nav .module-btn{justify-content:center;padding-inline:0}
  body.nav-min .module-nav{padding:10px 6px}
}

.sayad-c{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sayad-t,.num-cell,.dp-nid{user-select:text!important;-webkit-user-select:text!important;cursor:text}
.sayad-c .cp{border:1px solid var(--line2,#d9cfba);background:#fff;border-radius:8px;padding:1px 6px;cursor:pointer;font-size:13px;line-height:1.4}
.sayad-c .cp:hover{background:#F3ECDC}

/* ===== سیتواسیون ===== */
.st-title{text-align:center;color:var(--forest);font-size:24px;margin:6px 0 4px}
.st-top{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.st-tbl{width:100%;border-collapse:collapse;margin-top:10px}
.st-tbl th,.st-tbl td{padding:8px 10px;border-bottom:1px solid #e6dcc6;text-align:center}
.st-tbl .st-dn{font-weight:700;color:var(--forest)}
.st-tbl .st-cnt{max-width:140px;margin:0 auto;text-align:center}
.st-tbl tfoot th{background:#F3ECDC;color:var(--forest);font-size:16px}
.st-diff{min-height:44px;display:flex;align-items:center;padding:0 12px;border-radius:10px;background:#F3ECDC;font-weight:700}
.st-diff.ok{background:#e4f1e8;color:#1d6b3d}.st-diff.warn{background:#fdeed9;color:#9a5a05}.st-diff.bad{background:#fde4e0;color:#b3261e}
.stp h2{text-align:center}.stp table{width:100%;border-collapse:collapse}.stp th,.stp td{border:1px solid #999;padding:6px;text-align:center}.stp-sig{margin-top:40px}
/* ===== تقویم ===== */
.cal-wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;align-items:start}
.cal-nav{display:flex;align-items:center;gap:8px;margin-bottom:10px}.cal-nav b{flex:1;text-align:center;font-size:18px;color:var(--forest)}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;background:#fff;border:1px solid #e6dcc6;border-radius:14px;padding:10px}
.cal-wd{text-align:center;font-weight:700;color:var(--forest);font-size:13px;padding:4px 0}
.cal-c{aspect-ratio:1/0.85;min-height:44px;border:1px solid #efe7d4;border-radius:10px;background:#fffdf8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;cursor:pointer;font:inherit;color:#222;padding:0}
.cal-c.off{border:0;background:transparent;cursor:default}
.cal-c:hover:not(.off){background:#F3ECDC}
.cal-c i{font-style:normal;font-size:11px;color:var(--tomato);line-height:1;letter-spacing:1px}
.cal-c.has{border-color:#d9c9a3}
.cal-c.today{background:var(--forest);color:#fff;border-color:var(--forest)}.cal-c.today i{color:#ffd9d2}
.cal-c.sel{outline:2px solid var(--tomato);outline-offset:1px}
.cal-tabs{display:flex;gap:4px;margin:10px 0;background:#F3ECDC;border-radius:10px;padding:3px}
.cal-tabs button{flex:1;border:0;background:transparent;border-radius:8px;padding:7px 4px;font:inherit;cursor:pointer;color:var(--forest)}
.cal-tabs button.on{background:var(--forest);color:#fff}
.cal-list{display:flex;flex-direction:column;gap:8px;max-height:560px;overflow:auto}
.cal-it{background:#fff;border:1px solid #e6dcc6;border-radius:12px;padding:10px 12px}
.cal-it.off{opacity:.6}.cal-it.past .cal-it-t{color:#8a7f69}
.cal-it-h{display:flex;justify-content:space-between;gap:8px;align-items:center}
.cal-it-t{font-size:13px;margin-top:4px;color:var(--forest)}.cal-it-n{font-size:13px;margin-top:4px;color:#555}
.cal-it-a{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.cal-selh{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:var(--forest)}
.rem-row{display:flex;gap:8px;align-items:center}.rem-row select{flex:1}
.rem-chk{display:flex;gap:8px;align-items:center;margin-top:10px}
.rem-a-t{font-size:20px;font-weight:800;color:var(--forest);margin:8px 0}.rem-a-n{margin-bottom:6px}
@media(max-width:860px){.cal-wrap{grid-template-columns:minmax(0,1fr)}.st-top{grid-template-columns:minmax(0,1fr)}.cal-grid{gap:3px;padding:6px}.cal-c{min-width:0}.cal-c{min-height:40px}}
.st-top>*,.cal-main,.cal-side{min-width:0}.st-hist{width:100%}
.tbl-wrap{overflow-x:auto;max-width:100%}.st-hist th,.st-hist td{padding:8px;border-bottom:1px solid #e6dcc6;text-align:center;white-space:nowrap}.st-hist th{background:#F3ECDC;color:var(--forest)}

/* ===== تقویم v2 (هفته/روز/ماه) ===== */
.cal2{background:#fff;border:1px solid #e6dcc6;border-radius:16px;padding:14px;box-shadow:0 1px 3px rgba(29,74,53,.06)}
.cal2-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;margin-bottom:12px}
.cal2-title{font-size:20px;color:var(--forest)}
.cal2-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cal2-seg{display:inline-flex;background:#F3ECDC;border-radius:10px;padding:3px}
.cal2-seg button{border:0;background:transparent;border-radius:8px;padding:6px 14px;font:inherit;cursor:pointer;color:var(--forest)}
.cal2-seg button.on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12);font-weight:700}
.cal2-leg{font-size:12px;color:#555;display:inline-flex;align-items:center;gap:4px}.cal2-leg i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-inline:6px 2px}
.cal2-tg{border:1px solid #efe7d4;border-radius:12px;overflow:hidden;background:#fffdf8}
.cal2-head{display:grid;grid-template-columns:58px repeat(var(--n,7),minmax(0,1fr));border-bottom:1px solid #e6dcc6;background:#fff}
.cal2-tg.cols1{--n:1}.cal2-tg.cols7{--n:7}
.cal2-dh{text-align:center;padding:8px 2px;display:flex;flex-direction:column;align-items:center;gap:2px;border-inline-start:1px solid #f1e9d6}
.cal2-dh small{color:#7a705a;font-size:12px}.cal2-dh span{font-weight:800;font-size:16px;width:32px;height:32px;line-height:32px;border-radius:50%}
.cal2-dh.today span{background:var(--forest);color:#fff}
.cal2-scroll{max-height:620px;overflow:auto}
.cal2-body{display:grid;grid-template-columns:58px repeat(var(--n,7),minmax(0,1fr));position:relative}
.cal2-tg.cols1 .cal2-body{--n:1}
.cal2-hrs .cal2-h{font-size:11px;color:#8a7f69;text-align:center;border-bottom:1px solid #f1e9d6;padding-top:2px;box-sizing:border-box}
.cal2-col{position:relative;border-inline-start:1px solid #f1e9d6}
.cal2-col.today{background:rgba(242,70,46,.04)}
.cal2-slot{border-bottom:1px solid #f1e9d6;box-sizing:border-box;cursor:cell}.cal2-slot:hover{background:rgba(29,74,53,.05)}
.cal2-blk{position:absolute;border:1px solid;border-inline-start-width:3px;border-radius:7px;padding:2px 6px;font:inherit;font-size:12px;text-align:right;cursor:pointer;overflow:hidden;display:flex;flex-direction:column;line-height:1.25;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.cal2-blk b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal2-blk span{font-size:11px;opacity:.8}
.cal2-now{position:absolute;left:0;right:0;height:0;border-top:2px solid #e0392b;z-index:3;pointer-events:none}
.cal2-now::before{content:"";position:absolute;right:-4px;top:-5px;width:8px;height:8px;border-radius:50%;background:#e0392b}
.cal-month{background:#fffdf8;gap:0;padding:0;border-radius:12px;overflow:hidden}
.cal-month .cal-wd{background:#fff;padding:8px 0;border-bottom:1px solid #e6dcc6}
.cal-month .cal-c{aspect-ratio:auto;min-height:104px;border:0;border-bottom:1px solid #f1e9d6;border-inline-start:1px solid #f1e9d6;border-radius:0;align-items:stretch;justify-content:flex-start;padding:4px;gap:3px;background:transparent;color:#222;text-align:right;cursor:pointer;position:relative}
.cal-month .cal-c.off{border:0;cursor:default}
.cal-month .cal-c.today{background:rgba(242,70,46,.05);color:#222;border-color:#f1e9d6}
.cal-month .cal-dn{font-weight:700;font-size:13px;width:26px;height:26px;line-height:26px;text-align:center;border-radius:50%}
.cal-month .cal-c.today .cal-dn{background:var(--forest);color:#fff}
.cal2-ev{display:flex;justify-content:space-between;gap:4px;border:1px solid;border-inline-start-width:3px;border-radius:6px;padding:1px 5px;font:inherit;font-size:11px;cursor:pointer;text-align:right}
.cal2-ev b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal2-ev span{opacity:.75;flex:none}
.cal-more{color:#7a705a;font-size:11px}
.cal2-lst{margin-top:14px}.cal2-lst summary{cursor:pointer;font-weight:700;color:var(--forest);padding:6px 0}
@media(max-width:860px){.cal2-head,.cal2-body{grid-template-columns:34px repeat(var(--n,7),minmax(0,1fr))}.cal2-tg{overflow-x:auto}.cal2-tg.cols7 .cal2-head,.cal2-tg.cols7 .cal2-body{min-width:560px}.cal2-hrs .cal2-h{font-size:9px}.cal2-dh small{font-size:10px}.cal-month .cal-c{min-height:64px}.cal2-ev span{display:none}.cal2-title{font-size:16px}.cal2-leg{display:none}}
@media(max-width:700px){html body #lock .lk-features{display:none!important}}

/* ===== تقویم v3 (مطابق طرح) ===== */
.c3{display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px;align-items:start}
.c3-form,.c3-cal,.c3-tbl{background:#fff;border:1px solid #e6dcc6;border-radius:18px;box-shadow:0 2px 8px rgba(29,74,53,.07)}
.c3-form{overflow:hidden}
.c3-fh{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#1D4A35,#27664a);color:#fff;padding:14px 16px;font-size:17px}
.c3-fh span{font-size:20px}
#remForm{padding:14px;display:flex;flex-direction:column;gap:10px}
.c3-f label{display:block;font-size:12.5px;color:#5b5543;margin-bottom:4px}
.c3-f input,.c3-f select,.c3-f textarea{width:100%;background:#fbf8f0;border:1px solid #e3d9c2;border-radius:10px;padding:9px 10px;font:inherit}
.c3-f2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.c3-save{width:100%;padding:12px;font-size:16px;border-radius:12px}
.c3-cal{padding:16px}
.c3-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}
.c3-nav{display:flex;align-items:center;gap:10px}
.c3-title{font-size:22px;color:var(--forest);min-width:150px;text-align:center}
.c3-arr{width:46px;height:40px;border:0;border-radius:10px;background:var(--forest);color:#fff;font-size:22px;cursor:pointer;line-height:1}
.c3-arr:hover{background:#27664a}
.c3-seg{display:inline-flex;border:1px solid #e3d9c2;border-radius:12px;overflow:hidden;background:#fff}
.c3-seg button{border:0;background:transparent;padding:9px 16px;font:inherit;cursor:pointer;color:#444}
.c3-seg button.on{background:var(--forest);color:#fff}
.c3-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #e9e0cb;border-radius:12px;overflow:hidden}
.c3-wd{background:#e8f1ea;text-align:center;padding:10px 2px;font-weight:700;color:var(--forest);font-size:13.5px}
.c3-wd.fri,.c3-d.fri .n{color:#d83a2a}
.c3-d{min-height:78px;border:0;border-top:1px solid #efe7d4;border-inline-start:1px solid #efe7d4;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:8px 2px 4px;cursor:pointer;font:inherit;color:#1f2a24;position:relative}
.c3-d .n{font-size:21px;font-weight:700;line-height:1.1}
.c3-d.other{opacity:.4}
.c3-d:hover{background:#f3f8f4}
.c3-d.today{box-shadow:inset 0 0 0 2px var(--forest)}
.c3-d.sel{background:var(--forest);color:#fff;border-radius:10px;box-shadow:none}.c3-d.sel .n{color:#fff}
.c3-d .dots{display:flex;gap:3px;font-style:normal}.c3-d .dots u{width:7px;height:7px;border-radius:50%;display:block}
.c3-d.sel .dots u{background:#fff!important}
.c3-d small{font-size:10.5px;color:#6b6552;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px}.c3-d.sel small{color:#dcebe1}
.c3-leg{font-size:12px;color:#5b5543;margin-top:12px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.c3-leg i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-inline-start:8px}
.c3-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.c3-wcol{background:#fbf8f0;border:1px solid #efe7d4;border-radius:12px;padding:6px;min-height:200px;display:flex;flex-direction:column;gap:5px}
.c3-wcol.today{border-color:var(--forest);background:#f1f7f3}
.c3-wh{border:0;background:#e8f1ea;border-radius:9px;padding:6px 2px;cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:center;color:var(--forest)}.c3-wh small{font-size:11px}.c3-wh b{font-size:18px}.c3-wh.fri{color:#d83a2a}
.c3-chip{display:flex;flex-direction:column;border:1px solid;border-inline-start-width:3px;border-radius:8px;padding:3px 6px;font:inherit;font-size:12px;text-align:right;cursor:pointer}.c3-chip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c3-chip span{opacity:.75;font-size:11px}
.c3-none{color:#b0a78f;text-align:center}
.c3-dayv{display:flex;flex-direction:column;gap:10px}
.c3-dayh{font-weight:800;font-size:17px;color:var(--forest);padding:6px 2px}
.c3-dayit{display:flex;align-items:center;gap:12px;border:1px solid;border-inline-start-width:5px;border-radius:12px;background:#fff;padding:10px 12px;font:inherit;text-align:right;cursor:pointer}
.c3-dayit .tm{font-weight:800;color:var(--forest);font-size:16px;min-width:52px}.c3-dayit small{display:block;color:#666}.c3-dayit em{margin-inline-start:auto;font-style:normal;font-size:12px;border-radius:20px;padding:3px 10px}
.c3-tbl{margin-top:16px;padding:14px 16px}
.c3-th{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;color:var(--forest);font-size:17px}
.c3-tabs{display:inline-flex;gap:4px;background:#F3ECDC;border-radius:10px;padding:3px}.c3-tabs button{border:0;background:transparent;border-radius:8px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer;color:var(--forest)}.c3-tabs button.on{background:var(--forest);color:#fff}
.c3-t{width:100%;border-collapse:collapse}
.c3-t th{background:#e8f1ea;color:var(--forest);padding:10px;text-align:right;font-size:13.5px}
.c3-t td{padding:10px;border-bottom:1px solid #efe7d4;vertical-align:middle}.c3-t td small{display:block;color:#7a705a;font-size:12px}
.c3-t tr.off{opacity:.6}.c3-cat{display:inline-block;width:9px;height:9px;border-radius:50%;margin-inline-end:8px}
.c3-b{display:inline-block;border-radius:20px;padding:3px 14px;font-size:12.5px;font-weight:700}.c3-b.on{background:#d9f0e1;color:#1b6b3d}.c3-b.off{background:#eee;color:#777}.c3-b.past{background:#fdeed9;color:#9a5a05}
.c3-act{display:flex;gap:8px;align-items:center;white-space:nowrap}
.c3-ib{border:0;width:34px;height:34px;border-radius:9px;background:#e6efff;cursor:pointer;font-size:15px}.c3-ib.del{background:#fde4e0}
.c3-sw{position:relative;width:44px;height:24px;display:inline-block}.c3-sw input{opacity:0;width:0;height:0;position:absolute}.c3-sw i{position:absolute;inset:0;background:#c9c3b0;border-radius:24px;transition:.2s}.c3-sw i::after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}.c3-sw input:checked+i{background:#1b8a4e}.c3-sw input:checked+i::after{right:23px}
@media(max-width:980px){.c3{grid-template-columns:minmax(0,1fr)}.c3-form{order:2}}
@media(max-width:700px){.c3-cal{padding:10px}.c3-d{min-height:58px}.c3-d .n{font-size:17px}.c3-d small{display:none}.c3-title{font-size:18px;min-width:0}.c3-wd{font-size:10.5px;padding:8px 0}.c3-week{grid-template-columns:minmax(0,1fr)}.c3-wcol{min-height:0}
 .c3-t thead{display:none}.c3-t tr{display:block;border:1px solid #efe7d4;border-radius:12px;margin-bottom:8px;padding:6px}.c3-t td{display:flex;justify-content:space-between;gap:8px;border:0;padding:5px 6px}.c3-t td::before{content:attr(data-l);color:#7a705a;font-size:12px}}

/* ===== تقویم v4: هماهنگ با طرح مرجع ===== */
.c3root{--cg:#13804c;--cg2:#0c6a3c;--cgl:#e3f3e9}
.c3-top{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #e6dcc6;border-radius:18px;padding:12px 18px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.c3-tt{display:flex;align-items:center;gap:12px;font-size:22px;color:var(--cg2)}.c3-bank svg{width:34px;height:34px;color:var(--cg2)}
.c3-tl{display:flex;align-items:center;gap:16px;color:#444}.c3-clock{display:inline-flex;gap:8px;align-items:center;font-size:14px}
.c3-bellw{position:relative;display:inline-flex}.c3-bellw svg{width:26px;height:26px}.c3-bellw em{position:absolute;top:-8px;left:-8px;background:#e0392b;color:#fff;border-radius:50%;min-width:18px;height:18px;font-size:11px;font-style:normal;display:flex;align-items:center;justify-content:center}
.ic{width:20px;height:20px;flex:none}
.c3root .c3{grid-template-columns:360px minmax(0,1fr)}
.c3root .c3-form,.c3root .c3-cal,.c3root .c3-tbl{border-radius:20px;border-color:#e2e8e3}
.c3root .c3-fh{background:linear-gradient(180deg,#0f7a47,#0b6a3c);padding:18px 20px;font-size:19px;gap:12px}.c3root .c3-fh .ic{width:26px;height:26px;color:#ffd24d}
.c3root #remForm{gap:12px;padding:16px}
.c3root .c3-f{display:flex;flex-direction:row-reverse;align-items:center;gap:10px;border:1px solid #dde5df;border-radius:14px;padding:10px 14px;background:#fbfdfb;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.c3root .c3-f>div{flex:1;min-width:0}
.c3root .c3-f .ico{color:#4a5a50;display:flex}
.c3root .c3-f label{font-size:12.5px;color:#4a5a50;margin:0 0 2px}
.c3root .c3-f input,.c3root .c3-f select,.c3root .c3-f textarea{border:0!important;background:transparent!important;padding:2px 0;font-weight:700;font-size:15px;color:#1a2a20;box-shadow:none;outline:0}
.c3root .c3-f textarea{font-weight:500;font-size:13.5px;resize:none}
.c3root .rem-row select{padding:2px 0}
.c3root .c3-f2 .c3-f{padding:8px 12px}
.c3root .c3-save{background:var(--cg);display:flex;justify-content:center;align-items:center;gap:10px;font-size:18px;padding:13px;border-radius:14px;box-shadow:0 3px 8px rgba(19,128,76,.3)}.c3root .c3-save:hover{background:var(--cg2)}
.c3root .c3-bar{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:nowrap}
.c3root .c3-nav{flex:1;display:flex;justify-content:space-between;align-items:center;border:1px solid #e2e8e3;border-radius:14px;padding:6px 8px}
.c3root .c3-title{font-size:30px;font-weight:800;color:#1a2a20}
.c3root .c3-arr{width:66px;height:54px;border-radius:12px;background:var(--cg)}.c3root .c3-arr:hover{background:var(--cg2)}.c3root .c3-arr .ic{width:26px;height:26px;stroke-width:2.4;margin:auto}
.c3root .c3-seg{border-radius:14px;padding:3px;gap:2px;border-color:#e2e8e3;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.c3root .c3-seg button{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:11px;font-weight:600}.c3root .c3-seg button .ic{width:18px;height:18px}
.c3root .c3-seg button.on{background:var(--cg)}
.c3root .c3-month{border-radius:14px;border-color:#e2e8e3}
.c3root .c3-wd{background:var(--cgl);color:#173a28;font-size:15px;padding:14px 2px}.c3root .c3-wd.fri{color:#d83a2a}
.c3root .c3-d{min-height:84px;justify-content:center;gap:4px;border-color:#e8eeea}
.c3root .c3-d .n{font-size:30px;font-weight:800}
.c3root .c3-d.other .n{color:#94a39a;font-weight:700}.c3root .c3-d.other{opacity:1}
.c3root .c3-d.today{box-shadow:inset 0 0 0 2px var(--cg)}
.c3root .c3-d.sel{background:var(--cg);border-radius:12px;margin:2px}
.c3-d .bl{font-style:normal;font-size:15px;line-height:1}
.c3-d small{display:none}
.c3root .c3-d .dots u{background:var(--cg)!important;width:8px;height:8px}
.c3root .c3-tbl{padding:0;overflow:hidden}
.c3root .c3-th{padding:14px 20px 8px;margin:0}.c3root .c3-th b{display:flex;align-items:center;gap:10px;font-size:20px;color:#1a2a20}.c3root .c3-th .ic{color:#e8a40a;width:26px;height:26px}
.c3-all{border:1px solid #dde5df;background:#fff;border-radius:22px;padding:9px 20px;font:inherit;font-weight:700;cursor:pointer;color:#1a2a20}.c3-all:hover{background:var(--cgl)}
.c3root .c3-tabs{margin:0 20px 10px}
.c3root .tbl-wrap{padding:0 12px 12px}
.c3root .c3-t th{background:var(--cgl);color:#173a28;font-size:15px;padding:13px 12px}
.c3root .c3-t td{font-size:15px}
.c3root .c3-b.on{background:#d3f0de;color:#13804c;padding:4px 20px}
.c3root .c3-sw input:checked+i{background:#13804c}
.c3root .c3-ib{width:38px;height:38px;border-radius:10px}
@media(max-width:980px){.c3root .c3{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.c3root .c3-bar{flex-wrap:wrap}.c3root .c3-nav{flex:1 1 100%;order:-1}.c3root .c3-title{font-size:22px}.c3root .c3-arr{width:48px;height:42px}.c3root .c3-seg{width:100%}.c3root .c3-seg button{flex:1;justify-content:center;padding:10px 4px;font-size:13px}.c3root .c3-seg button .ic{display:none}.c3root .c3-d{min-height:56px}.c3root .c3-d .n{font-size:19px}.c3root .c3-wd{font-size:10.5px;padding:9px 0}.c3-tt{font-size:15px}.c3-clock{display:none}.c3-bank svg{width:26px;height:26px}}
html body .c3root .c3-f input,html body .c3root .c3-f textarea,html body .c3root .c3-f select{background:transparent!important;border:0!important;box-shadow:none!important}
.c3root .c3-f select{appearance:auto}

/* ===== ورود دومرحله‌ای (OTP) و بله ===== */
.lk-social .bl:hover{background:#1fb5a4;border-color:#1fb5a4;color:#fff}
.otp-box{display:flex;flex-direction:column;gap:12px;padding:4px 0}
.otp-box h3{margin:0;color:var(--forest);font-size:20px}
.otp-sent{margin:0;line-height:1.9}
.otp-in{font-size:30px!important;letter-spacing:.5em;text-align:center;font-weight:800;padding:12px!important}
.otp-timer{text-align:center;font-weight:700;color:var(--forest)}.otp-timer.exp{color:#d83a2a}
.otp-row{display:flex;gap:8px;flex-wrap:wrap}.otp-row .btn{flex:1}
.otp-steps{padding-inline-start:20px;display:flex;flex-direction:column;gap:12px;line-height:1.9;margin:6px 0}
.otp-code{display:inline-block;margin-top:6px;font-size:26px;font-weight:800;letter-spacing:.25em;background:#F3ECDC;border:1px dashed var(--forest);border-radius:10px;padding:6px 16px;user-select:all}
.ot-st{padding:10px 14px;border-radius:10px;margin-bottom:8px;background:#fdeed9}.ot-st.on{background:#d9f0e1}
.ot-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.ot-g label{display:flex;flex-direction:column;gap:4px;font-size:13px}
.ot-ck{display:flex;gap:8px;align-items:flex-start;margin:8px 0;font-size:13.5px;line-height:1.7}.ot-main{background:#F3ECDC;border-radius:10px;padding:10px}
#dlgOtp h4{margin:16px 0 6px;color:var(--forest)}

/* ===== تایپوگرافی: کوچک‌تر و تمیزتر ===== */
html body{font-size:14px;line-height:1.7;font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html body h1{font-size:21px;font-weight:700}html body h2{font-size:17px;font-weight:700}html body h3{font-size:15.5px;font-weight:700}html body h4{font-size:14px;font-weight:700}
html body b,html body strong,html body th{font-weight:600}
html body .btn,html body button{font-size:13px;font-weight:600}
html body input,html body select,html body textarea{font-size:13.5px}
html body label{font-size:12.5px;font-weight:500}
html body table{font-size:13px}html body th{font-size:12.5px}html body td{font-size:13px}
html body .hint,html body small{font-size:12px}
html body .msg{font-size:13.5px}
html body header h1,html body header .title{font-size:17px}
html body nav button,html body .module-btn .ml{font-size:13px;font-weight:600}
html body .stat b,html body .kt b{font-size:22px}
html body .c3-title{font-size:23px}html body .c3-d .n{font-size:23px;font-weight:700}html body .c3-wd{font-size:13px}html body .c3-fh{font-size:16px}
html body .c3-tt{font-size:18px}html body .c3-th b{font-size:17px}html body .c3-t td,html body .c3-t th{font-size:13px}
html body .st-title{font-size:20px}
html body .otp-in{font-size:26px!important}
@media(max-width:700px){html body{font-size:13.5px}html body .c3-d .n{font-size:17px}html body .c3-title{font-size:18px}}
/* دکمه‌های ثانویهٔ مرحلهٔ OTP */
html body .otp-row .btn.gray{background:#EEE5D4!important;color:#1D4A35!important;border:1px solid #cfc3a8!important;font-weight:700;font-size:13px;min-height:42px}
html body .otp-row .btn.gray:disabled{opacity:.55;color:#4b5b52!important}
html body .otp-row .btn.gray:hover:not(:disabled){background:#e3d8c1!important}
html body #lock .lockcard .otp-row .btn.gray{background:#EEE5D4!important;color:#1D4A35!important;border:1px solid #cfc3a8!important;font-weight:700;font-size:13px;min-height:42px;margin-top:0;height:auto;padding:8px 10px;line-height:1.5;animation:none}
html body #lock .lockcard .otp-row .btn.gray::after,html body #lock .lockcard .otp-row .btn.gray::before{content:none!important;display:none!important}
html body #lock .lockcard .otp-row .btn.gray:disabled{opacity:.6;color:#4b5b52!important;cursor:not-allowed}
/* ===== ورود موبایل: جمع‌وجور، بدون اسکرول ===== */
@media(max-width:820px){
 html body #lock .lk-features,html body #lock .lk-strip{display:none!important}
 html body #lock{padding:10px!important;align-items:flex-start!important;overflow-y:auto}
 html body #lock .lockcard{min-height:0!important;height:auto!important;margin:0 auto!important;border-radius:22px!important}
 html body #lock .lk-side{min-height:0!important;height:auto!important;padding:14px 18px!important;border-radius:18px!important}
 html body #lock .lk-side .lk-tag,html body #lock .lk-side .lk-bot,html body #lock .lk-side .lk-orb,html body #lock .lk-side .lk-top p{display:none!important}
 html body #lock .lk-side h1{font-size:20px!important;margin:0!important;line-height:1.4}
 html body #lock .lk-main{padding:14px 16px 12px!important;gap:8px!important}
 html body #lock .lock-logo{width:44px!important;height:44px!important;margin:0 auto 2px!important}
 html body #lock .lk-eyebrow{display:none!important}
 html body #lock #lkTitle{font-size:19px!important;margin:2px 0!important}
 html body #lock #lkSub{font-size:12.5px!important;margin:0 0 4px!important}
 html body #lock .field{margin:0 0 8px!important}
 html body #lock input{height:46px!important;font-size:14px!important}
 html body #lock .lockcard .btn{margin-top:10px!important;min-height:46px!important;height:46px!important}
 html body #lock .lk-foot{margin:2px 0!important;padding:0!important;background:none!important}
 html body #lock .lk-social{margin-top:8px!important}
 html body #lock .lk-credit,html body #lock .lk-main>footer,html body #lock .lk-sign{margin-top:6px!important;padding-top:6px!important;font-size:11px!important;line-height:1.6}
}
/* نوار قدرت رمز */
.pws{display:flex;gap:5px;margin-top:6px;align-items:center}
.pws i{flex:1;height:5px;border-radius:4px;background:#d9d1bf;transition:background .35s,transform .35s}
.pws.l1 i:nth-child(-n+1){background:#e5484d}.pws.l2 i:nth-child(-n+2){background:#f59e0b}.pws.l3 i:nth-child(-n+3){background:#84b84c}.pws.l4 i{background:#1f9d62}
.pws i.on{animation:pwp .35s ease}@keyframes pwp{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.pws-t{font-size:12px;font-weight:700;min-width:54px;text-align:left;transition:color .3s;color:#7a7466}
.pws.l1+.pws-t,.pws.l1 .pws-t{color:#e5484d}
.pws-w{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px;min-height:16px}
.pws-w .pws-h{font-size:11.5px;color:#7a7466}
@media(prefers-reduced-motion:reduce){.pws i,.pws i.on{animation:none;transition:none}}
@media(max-width:820px){html body #lock #lkSub{display:none!important}html body #lock .lock-logo{width:38px!important;height:38px!important}html body #lock .lk-foot{min-height:0!important;height:auto!important}html body #lock .pws-w{min-height:0}}
@media(max-height:860px){html body #lock .lk-features{display:none!important}}
.lk-rules{margin:2px 0 8px;font-size:12px;line-height:1.8;color:#6b6556;background:#F3ECDC;border-radius:10px;padding:8px 10px}
/* تقویم: تعطیلات، میلادی، هشدار */
.c3-d .c3-sec{font-size:10.5px;font-weight:600;color:#8d8777;line-height:1;margin-top:1px}
.c3-d.sel .c3-sec{color:#d8ebe0}
.c3-d.hol{background:#fff4f2}.c3-d.hol .n{color:#d83a2a}.c3-d.hol.sel{background:#d83a2a}.c3-d.hol.sel .n,.c3-d.hol.sel .c3-sec{color:#fff}
.c3-d.hol::after{content:"";position:absolute;top:6px;inset-inline-start:6px;width:6px;height:6px;border-radius:50%;background:#d83a2a}
.c3-d{position:relative}
.c3-hl{margin-top:10px;padding:9px 12px;border-radius:12px;background:#fff4f2;color:#8a2a20;font-size:12.5px;line-height:2}
.c3-hl i{font-style:normal;color:#d9a59f;margin:0 4px}
.c3-sys{white-space:nowrap}.c3-sys.on{background:#1D4A35!important;color:#fff!important}
.c3-perm{margin:0 0 10px;padding:9px 12px;border-radius:12px;background:#fff8e1;color:#6b4e00;font-size:12.5px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:700px){.c3-d .c3-sec{font-size:9.5px}.c3-bar{flex-wrap:wrap;gap:8px}}
.c3-tools{display:flex;gap:8px;margin:0 0 10px;flex-wrap:wrap}
html body .c3root .c3-d .c3-sec{display:block!important;font-size:11px}
/* متن‌های سایت قابل انتخاب/کپی نیستند؛ فقط فیلدهای ورودی و شماره‌هایی که لازم است کپی شوند */
html body,html body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html body img,html body a,html body svg{-webkit-user-drag:none;user-drag:none}
html body input,html body textarea,html body select,html body [contenteditable="true"],html body .sayad-t,html body .num-cell,html body .dp-nid,html body .otp-code,html body code{-webkit-user-select:text!important;user-select:text!important}
html body .sayad-t *,html body .num-cell *,html body .dp-nid *,html body .otp-code *{-webkit-user-select:text!important;user-select:text!important}
.u-st.wait{background:#FFF1D6;color:#8A5A00}
.u-pend td{background:rgba(245,158,11,.07)}
#lock .lk-foot{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}
#lock #lkReg{color:#1D4A35;font-weight:800;cursor:pointer;font-size:13px}#lock #lkReg[hidden]{display:none}
.lk-rules[hidden],html body #lock .lk-rules[hidden]{display:none!important}
