/* Click ERP design bundle v1.3 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
:root{--navy:#16233f;--navy-2:#22345a;--navy-soft:#eef1f7;--green:#7ab648;--green-d:#65a034;--green-soft:#eef6e6;--ink:#0d1626;--body:#2b384e;--muted:#5f6c80;--muted-2:#828d9e;--line:#dfe4ee;--line-2:#eaeef5;--bg:#f5f7fa;--surface:#fff;--red:#d4453c;--red-soft:#fdeceb;--amber:#c8862a;--amber-soft:#fdf3e3;--r:12px;--r-s:8px;--shadow:0 1px 2px rgba(16,26,46,.05),0 8px 24px -16px rgba(16,26,46,.24);--sw:264px}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:'Cairo',system-ui,sans-serif;background:var(--bg);color:var(--body);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
body[dir="ltr"]{font-family:'IBM Plex Sans',system-ui,sans-serif}
h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:700;line-height:1.3}
a{color:var(--navy);text-decoration:none}a:hover{color:var(--green-d)}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select{font:inherit}
.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.hidden{display:none!important}
/* ---------- login ---------- */
#login{display:grid;grid-template-columns:1.05fr .95fr;min-height:100vh}
.lg-form{position:relative;display:flex;flex-direction:column;justify-content:center;padding:44px min(8vw,96px);background:var(--surface)}
.lg-form>*{max-width:400px;width:100%;margin-inline:auto}
.lang-fixed{position:absolute;top:24px;inset-inline-start:26px;margin:0!important;width:auto!important}
.lg-top{display:flex;justify-content:center;margin-bottom:26px}
.lg-top img{height:128px;object-fit:contain}
.lang{display:flex;gap:2px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:3px}
.lang button{padding:5px 14px;border-radius:999px;font-size:13px;font-weight:600;color:var(--muted)}
.lang button.on{background:var(--navy);color:#fff}
.h-row{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:22px}
.lg-form h1{font-size:26px;letter-spacing:-.4px;text-align:center}
.roles{margin-bottom:20px;text-align:center}
.lg-sub{margin:8px 0 22px;color:var(--muted);font-size:14.5px}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:13px;font-weight:600;color:var(--ink)}
.inp{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-s);padding:0 14px;height:50px;transition:.15s}
.inp:focus-within{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.08)}
.inp svg{width:18px;height:18px;color:var(--muted);flex:none}
.inp input{flex:1;border:0;outline:0;background:none;height:100%;color:var(--ink)}
.inp input::placeholder{color:#a9b2c0}
.inp .eye{color:var(--muted);display:flex}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.check{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--body);cursor:pointer}
.check input{width:17px;height:17px;accent-color:var(--navy)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:var(--r-s);font-weight:600;font-size:14.5px;transition:.15s;white-space:nowrap}
.btn svg{width:17px;height:17px}
.btn-primary{background:var(--navy);color:#fff}.btn-primary:hover{background:#0e1930}
.btn-green{background:var(--green);color:#fff}.btn-green:hover{background:var(--green-d)}
.btn-ghost{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.btn-ghost:hover{border-color:#cdd5e1;background:var(--line-2)}
.btn-block{width:100%;height:50px;font-size:15.5px;margin-top:22px}
.lg-foot{margin-top:30px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg);font-size:13px;color:var(--body);display:flex;align-items:center;justify-content:space-between;gap:12px}
.lg-foot .cr{display:flex;align-items:center;gap:8px}
.lg-foot .cr img{height:32px;object-fit:contain}
.lg-foot a{color:var(--navy);font-weight:600}
/* role label + alt link */
.rl{display:inline-flex;align-items:center;gap:8px;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:7px 15px;font-size:13px;font-weight:600}
.rl svg{width:15px;height:15px}
.alt{margin-top:18px}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12.5px;margin-bottom:14px}
.or:before,.or:after{content:"";flex:1;height:1px;background:var(--line)}
.btn-block2{width:100%;height:46px}
.alt .btn svg{width:16px;height:16px;color:var(--navy)}
/* modal + reset */
.ov{position:fixed;inset:0;background:rgba(11,19,35,.5);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;overflow:auto;z-index:80;padding:24px}
.ov>*{margin:auto}
.modal.prev{max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden}
.modal.prev .prevdoc{flex:1;overflow:auto;min-height:0}
.modal.prev .modal-h,.modal.prev .wn-f{flex:none}
.modal{background:var(--surface);border-radius:16px;width:min(440px,100%);padding:26px;box-shadow:0 24px 60px -20px rgba(11,19,35,.45)}
.modal-h{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:6px}
.modal-h h3{font-size:19px}
.modal p.ms{color:var(--muted);font-size:13.5px;margin:0 0 20px}
.sup-list{display:flex;flex-direction:column;gap:10px}
.sup-item{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:var(--r);padding:13px 14px;transition:.15s}
.sup-item:hover{border-color:var(--green);background:#fcfdfb}
.sup-item .si{width:38px;height:38px;border-radius:10px;background:var(--green-soft);color:var(--green-d);display:grid;place-items:center;flex:none}
.sup-item .si svg{width:18px;height:18px}
.sup-item b{display:block;font-size:14px;color:var(--ink)}
.sup-item small{color:var(--muted);font-size:12.5px}
.sup-item .go{margin-inline-start:auto;color:var(--muted)}
.sup-item .go svg{width:16px;height:16px}
.back{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--muted);margin-top:16px}
.back:hover{color:var(--navy)}
.back svg{width:15px;height:15px}
.note{display:flex;gap:10px;background:var(--navy-soft);border-radius:var(--r-s);padding:12px 14px;font-size:13px;color:var(--body);margin-bottom:20px}
.note svg{width:17px;height:17px;color:var(--navy);flex:none;margin-top:2px}
/* drawer + banner + what's new */
.drawer-ov{position:fixed;inset:0;background:rgba(11,19,35,.42);z-index:70;display:flex;justify-content:flex-start}
body[dir="rtl"] .drawer-ov{justify-content:flex-start}
.drawer{background:var(--surface);width:min(420px,92vw);height:100%;display:flex;flex-direction:column;box-shadow:0 0 60px rgba(11,19,35,.3);margin-inline-start:auto}
.drawer-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 14px;border-bottom:1px solid var(--line)}
.drawer-h h3{font-size:18px}
.drawer-h p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.drawer-seg{margin:14px 20px 6px;width:calc(100% - 40px);justify-content:space-between}
.drawer-seg button{flex:1;padding:6px 8px;font-size:13px}
.notif-list{flex:1;overflow-y:auto;padding:8px 12px 16px}
.nt{display:flex;gap:12px;padding:13px;border-radius:var(--r);transition:.15s;cursor:pointer}
.nt:hover{background:var(--line-2)}
.nt.unread{background:#f7faff}
.nt .ni{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:none}
.nt .ni svg{width:17px;height:17px}
.nt .ni.g{background:var(--green-soft);color:var(--green-d)}
.nt .ni.r{background:var(--red-soft);color:var(--red)}
.nt .ni.a{background:var(--amber-soft);color:var(--amber)}
.nt .ni.n{background:var(--navy-soft);color:var(--navy)}
.nt b{display:block;font-size:14px;color:var(--ink);font-weight:600}
.nt p{margin:3px 0 0;font-size:13px;color:var(--body);line-height:1.5}
.nt time{display:block;margin-top:6px;font-size:11.5px;color:var(--muted)}
.nt .udot{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none;margin-top:14px}
.drawer-f{border-top:1px solid var(--line);padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
.banner{display:flex;align-items:center;gap:12px;background:var(--amber-soft);border:1px solid #f0dcb6;border-radius:var(--r);padding:12px 16px;margin-bottom:18px;font-size:13.5px;color:#7a5514}
.banner svg{width:18px;height:18px;color:var(--amber);flex:none}
.banner b{color:#5e400f;font-weight:700}
.banner .x{margin-inline-start:auto;color:#a2802f;display:flex}
.wn{width:min(520px,100%)}
.wn-list{display:flex;flex-direction:column;gap:14px}
.wn-item{display:flex;gap:12px}
.wn-item .si{width:38px;height:38px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.wn-item .si svg{width:18px;height:18px}
.wn-item b{display:block;font-size:14.5px;color:var(--ink)}
.wn-item small{color:var(--muted);font-size:13px;line-height:1.5;display:block;margin-top:2px}
.wn-f{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:13px}
/* dashboard v2 + reports */
.fresh{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:7px 13px}
.fresh svg{width:14px;height:14px;color:var(--green-d)}
.attn{margin-bottom:16px}
.attn-row{display:flex;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid var(--line-2)}
.attn-row .ni{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:none}
.attn-row .ni svg{width:17px;height:17px}
.attn-row .ni.g{background:var(--green-soft);color:var(--green-d)}
.attn-row .ni.r{background:var(--red-soft);color:var(--red)}
.attn-row .ni.a{background:var(--amber-soft);color:var(--amber)}
.attn-row .ni.n{background:var(--navy-soft);color:var(--navy)}
.attn-row>div{flex:1;min-width:0}
.attn-row b{display:block;font-size:14.5px;color:var(--ink);font-weight:600}
.attn-row small{color:var(--muted);font-size:13px}
.attn-row .btn{margin-inline-start:auto;height:36px}
.skel{border-radius:var(--r);background:linear-gradient(90deg,#f2f5f9 25%,#e9edf4 37%,#f2f5f9 63%);background-size:400% 100%;animation:sk 1.4s ease infinite;display:grid;place-items:center;color:var(--muted);font-size:13px}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.foot-note{font-size:13px;color:var(--muted);margin:18px 2px 0;line-height:1.7}
.rep-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}
.rep{display:flex;flex-direction:column;gap:14px}
.rep-h{display:flex;gap:12px}
.rep-h .si{width:40px;height:40px;border-radius:11px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.rep-h .si svg{width:19px;height:19px}
.rep-h b{display:block;font-size:15px;color:var(--ink)}
.rep-h small{display:block;margin-top:4px;color:var(--muted);font-size:13px;line-height:1.55}
.rep-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}
.rep-meta span{display:inline-flex;align-items:center;gap:5px;background:var(--line-2);border-radius:999px;padding:4px 10px}
.rep-meta svg{width:13px;height:13px}
.rep-f{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line-2)}
.rep-f .btn{height:36px}
.exp{display:flex;gap:4px}
.exp button{width:36px;height:36px;border-radius:var(--r-s);border:1px solid var(--line);display:grid;place-items:center;color:var(--body);background:#fff}
.exp button:hover{border-color:var(--green);color:var(--green-d)}
.exp svg{width:16px;height:16px}
.sched .attn-row:first-of-type{border-top:1px solid var(--line)}
@media(max-width:1200px){.rep-grid{grid-template-columns:repeat(2,1fr)}}
.donut-wrap{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.donut-key{display:flex;flex-direction:column;gap:9px;flex:1;min-width:170px}
.donut-key div{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--body)}
.donut-key i{width:10px;height:10px;border-radius:3px;flex:none}
.donut-key b{margin-inline-start:auto;color:var(--ink)}
.mini{background:var(--line-2);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.mini b{font-size:24px;color:var(--ink)}
.page-head .back{margin:0 0 8px}
.persona-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;margin-bottom:16px;font-size:13px;color:var(--muted)}
.persona-bar>svg{width:16px;height:16px;color:var(--navy)}
.persona-bar .seg{margin-inline-start:auto;flex-wrap:wrap}
/* analytics full view */
.an-note{display:flex;align-items:center;gap:10px;background:var(--navy-soft);border-radius:var(--r);padding:12px 16px;font-size:13px;color:var(--body);margin-bottom:16px}
.an-note svg{width:16px;height:16px;color:var(--navy);flex:none}
.an-sub{font-size:13px;font-weight:700;color:var(--ink);margin:24px 2px 12px}
.gcards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}
.gc{padding:16px}
.gc .kv{font-size:27px;font-weight:700;color:var(--ink);margin:8px 0 6px;letter-spacing:-.5px}
.gc small{color:var(--muted);font-size:12px;line-height:1.6;display:block}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}
.act-h{display:flex;align-items:center;gap:10px;padding:16px 16px 12px;border-bottom:1px solid var(--line)}
.act-h .ni{width:34px;height:34px;border-radius:9px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.act-h .ni svg{width:16px;height:16px}
.act-h b{display:block;font-size:14px;color:var(--ink)}
.act-h small{color:var(--muted);font-size:12px}
.act-row{display:flex;align-items:flex-start;gap:10px;padding:11px 16px;border-bottom:1px solid var(--line-2)}
.act-row:last-child{border:0}
.act-row>div{flex:1;min-width:0}
.act-row b{display:block;font-size:13px;color:var(--ink);font-weight:600;line-height:1.5}
.act-row small{color:var(--muted);font-size:11.5px}
.act-row .tag{flex:none;white-space:nowrap}
.dash2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin-bottom:16px}
.dash2>.card{margin:0;height:100%}
.dash2 .attn{margin:0}
.kl .ni{width:30px;height:30px;border-radius:8px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.kl .ni svg{width:15px;height:15px}
@media(max-width:1100px){.dash2{grid-template-columns:minmax(0,1fr)}}
/* attendance */
.atd{display:grid;grid-template-columns:auto 1fr auto;gap:0;align-items:stretch;background:var(--navy);border-radius:var(--r);margin-bottom:16px;overflow:hidden}
.atd-now{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:18px 24px;background:rgba(255,255,255,.05)}
.atd-time{font-size:30px;font-weight:700;color:#fff;letter-spacing:.5px;line-height:1;font-variant-numeric:tabular-nums}
.atd-date{font-size:12.5px;color:#93a2ba}
.atd-facts{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:18px 24px}
.atd-f{display:flex;align-items:center;gap:10px}
.atd-i{width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.08);color:#c3cddd;display:grid;place-items:center;flex:none}
.atd-i.g{background:rgba(122,182,72,.18);color:#a8d97a}
.atd-i svg{width:16px;height:16px}
.atd-f small{display:block;font-size:11.5px;color:#93a2ba;margin-bottom:2px}
.atd-f b{font-size:14px;color:#fff;font-weight:600}
.atd-act{display:flex;align-items:center;gap:10px;padding:18px 24px}
.atd-badge{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:#c8e6a8;background:rgba(122,182,72,.16);border:1px solid rgba(122,182,72,.28);border-radius:999px;padding:7px 13px;white-space:nowrap}
.atd-badge svg{width:14px;height:14px}
.btn-out{background:transparent;border:1px solid rgba(255,255,255,.22);color:#fff}
.btn-out:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.34)}
@media(max-width:1200px){.gcards,.grid-4{grid-template-columns:repeat(2,1fr)}.atd{grid-template-columns:1fr}.atd-act{border-top:1px solid rgba(255,255,255,.1)}}
.tclock{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted)}
.tclock svg{width:15px;height:15px}
.tclock b{color:var(--ink);font-weight:600;letter-spacing:.4px}
.av-btn .av-sm{width:30px;height:30px;border-radius:8px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:700}
.menu-lang{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;font-size:14px;color:var(--body)}
/* slim stats, views, actions menu, preview */
.statgrid.slim{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.scard.slim{position:relative;flex-direction:row;align-items:center;gap:11px;padding:12px 14px 12px 14px;overflow:hidden}
.sbar{position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:var(--navy)}
.sbar.g{background:var(--green)}.sbar.r{background:var(--red)}.sbar.a{background:var(--amber)}
.scard.slim .sci{width:30px;height:30px;border-radius:8px}
.scard.slim .sci svg{width:15px;height:15px}
.stx{display:flex;flex-direction:column;gap:2px;min-width:0}
.scard.slim .sct{font-size:12px}
.scard.slim b{font-size:19px}
.scard.slim .scon{top:9px;inset-inline-end:9px;width:17px;height:17px}
.vtoggle{display:flex;gap:2px;background:var(--line-2);border-radius:var(--r-s);padding:3px}
.vtoggle button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--muted)}
.vtoggle button svg{width:14px;height:14px}
.vtoggle button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(15,23,42,.1)}
.rowacts{display:flex;align-items:center;gap:2px;justify-content:flex-end}
.rowacts .icon-btn.pri{background:var(--bg);border:1px solid var(--line)}
.rowacts .icon-btn.pri:hover{border-color:#cdd5e1}
.kebab{position:relative}
.amenu{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:40;min-width:230px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 14px 40px rgba(15,23,42,.16);padding:6px;display:flex;flex-direction:column;gap:1px}
.amenu button{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:7px;font-size:13px;color:var(--body);text-align:start}
.amenu button:hover{background:var(--line-2)}
.amenu button svg{width:15px;height:15px;color:var(--muted)}
.amenu button.danger{color:var(--red)}
.amenu button.danger svg{color:var(--red)}
.cvcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.cvcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.cc-ph{position:relative;display:grid;place-items:center;aspect-ratio:16/10;background:var(--navy-soft);color:var(--navy)}
.cc-ph svg{width:34px;height:34px}
.cc-ph .st{position:absolute;top:10px;inset-inline-start:10px}
.cc-ph .play{position:absolute;bottom:10px;inset-inline-end:10px;width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}
.cc-ph .play svg{width:12px;height:12px}
.cc-b{padding:13px 15px;display:flex;flex-direction:column;gap:3px;flex:1}
.cc-b>b{font-size:14.5px;color:var(--ink)}
.cc-b>small{color:var(--muted);font-size:12px}
.cc-k{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}
.cc-k span{display:block;font-size:11.5px;color:var(--muted)}
.cc-k b{font-size:13px;color:var(--ink)}
.cc-m{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:12px;color:var(--muted)}
.cc-f{border-top:1px solid var(--line);padding:9px 12px;background:var(--bg)}
.cc-f .rowacts{justify-content:space-between}
table.grp th.act,table.grp td.act{position:sticky;inset-inline-end:0;z-index:2;background:var(--surface)}
table.grp th.act{background:var(--bg)}
table.grp td.act:before,table.grp th.act:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:12px;transform:translateX(0);box-shadow:-8px 0 12px -8px rgba(15,23,42,.18);pointer-events:none}
.amenu{position:fixed;top:0;inset-inline-end:auto;left:0;overflow:auto;z-index:65}
.prevdoc{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.cvdoc{display:grid;grid-template-columns:196px minmax(0,1fr);font-size:12px}
.cvd-side{background:var(--navy);color:#fff;padding:16px 14px;display:flex;flex-direction:column;gap:12px}
.cvd-img{height:120px;border-radius:10px;background:rgba(255,255,255,.12);display:grid;place-items:center;color:rgba(255,255,255,.75)}
.cvd-img svg{width:34px;height:34px}
.cvd-subs{display:flex;flex-direction:column;gap:7px}
.cvd-subs .sub{display:flex;align-items:baseline;gap:6px}
.cvd-subs h5{font-size:11px;font-weight:600;color:rgba(255,255,255,.62)}
.cvd-subs p{font-size:12px;font-weight:700}
.cvd-langs h5{font-size:11px;color:rgba(255,255,255,.62);margin-bottom:8px}
.cvd-p{display:flex;gap:14px}
.cvd-p .pc{display:flex;flex-direction:column;align-items:center;gap:4px}
.cvd-p .pc b{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;border:3px solid var(--green)}
.cvd-p .pc span{font-size:10.5px;color:rgba(255,255,255,.75)}
.cvd-main{padding:16px 18px;display:flex;flex-direction:column;gap:14px}
.cvd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding-bottom:12px}
.cvd-head p{font-size:10.5px;color:var(--muted)}
.cvd-head h3{font-size:15px;color:var(--ink);margin-bottom:6px}
.cvd-head h6{font-size:12px;color:var(--ink)}
.cvd-logo{display:flex;flex-direction:column;align-items:center;gap:5px}
.cvd-logo img{height:26px}
.cvd-logo b{font-size:10.5px;color:var(--green-d)}
.cvd-cat h5{font-size:11px;color:var(--navy);border-bottom:1px solid var(--line-2);margin-bottom:9px}
.cvd-cat h5 span{background:var(--navy-soft);border-radius:5px 5px 0 0;padding:3px 9px;display:inline-block}
.cvd-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cvd-row p{font-size:10px;color:var(--muted)}
.cvd-row h6{font-size:12px;color:var(--ink)}
.cvd-skills{display:flex;gap:6px;flex-wrap:wrap}
.cvd-skills span{border:1px solid var(--line);border-radius:6px;padding:4px 9px;font-size:11px;color:var(--body)}
.cvd-contact{display:flex;align-items:center;gap:12px}
.cvd-contact .qr{width:52px;height:52px;background:var(--line-2);border-radius:6px;flex:none}
.cvd-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
.cvd-social a{font-size:11px;color:var(--body)}
.cvd-exp{margin-inline-start:auto;font-size:10.5px;color:var(--green-d);border:1px dashed var(--green);border-radius:6px;padding:5px 9px}
.modal.prev{width:min(760px,100%)}
.prevdoc.full{transform:scale(1.02);transform-origin:top center}
.pd-h{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);background:var(--bg)}
.pd-ph{width:52px;height:52px;border-radius:10px;background:var(--navy-soft);flex:none}
.pd-h b{display:block;font-size:14px;color:var(--ink)}
.pd-h small{color:var(--muted);font-size:12px}
.pd-logo{margin-inline-start:auto;font-size:12px;font-weight:700;color:var(--navy)}
.pd-b{padding:18px;display:flex;flex-direction:column;gap:10px}
.pd-l{height:9px;border-radius:99px;background:var(--line-2)}
.pd-l.s{width:55%}
.pd-g{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:4px 0}
.pd-g span{height:44px;border-radius:8px;background:var(--bg);border:1px solid var(--line)}
.pvctl{display:flex;gap:6px;margin-inline-end:auto}
.pvctl .btn{height:32px;font-size:12.5px}
.pvctl .btn.on{border-color:var(--navy);color:var(--navy)}
@media(max-width:1400px){.statgrid.slim{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.statgrid.slim{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* photos, media & actions */
.mediastrip{margin-bottom:16px}
.msgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:16px 18px}
.msgrid.up{grid-template-columns:repeat(4,minmax(0,1fr))}
.mtile{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid var(--line);border-radius:var(--r);padding:14px 12px;text-align:center;background:#fff;transition:.15s}
.mtile:hover{border-color:var(--navy);box-shadow:0 4px 14px rgba(22,35,63,.07)}
.mtile.up{border-style:dashed;background:var(--bg)}
.mtile.empty{background:var(--bg)}
.mtile b{font-size:13px;color:var(--ink);display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center}
.mtile small{color:var(--muted);font-size:11.5px;line-height:1.5}
.mtile .rq{color:var(--red);font-style:normal}
.mimg{display:grid;place-items:center;width:100%;aspect-ratio:4/3;border-radius:10px;background:var(--navy-soft);color:var(--navy)}
.mtile.empty .mimg,.mtile.up .mimg{background:var(--line-2);color:#b6c0cf}
.mimg.vid{background:var(--green-soft);color:var(--green-d)}
.mimg.red{background:var(--red-soft);color:var(--red)}
.mimg svg{width:24px;height:24px}
.msec{margin:0 20px 20px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.msec-h{display:flex;align-items:center;gap:9px;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.msec-h svg{width:15px;height:15px;color:var(--navy)}
.msec-h b{font-size:13.5px;color:var(--ink)}
.msec-h .empty{margin-inline-start:auto}
.msec .fgrid{padding:0 16px 16px}
.acts{padding:6px 0}
.actrow{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line-2)}
.actrow b{display:block;font-size:13.5px;color:var(--ink)}
.actrow small{display:block;color:var(--muted);font-size:11.5px;font-family:ui-monospace,monospace}
.actrow .sw,.actrow .ctl{margin-inline-start:auto}
.actrow.sm{padding:10px 0;border-bottom:1px solid var(--line-2)}
.sw{width:38px;height:22px;border-radius:999px;background:#d8dee8;position:relative;flex:none;transition:.15s}
.sw:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.15s}
.sw.on{background:var(--green)}
.sw.on:after{inset-inline-start:19px}
.ctl.sel.mini{height:34px;font-size:12.5px;min-width:130px}
.actbtns{display:flex;flex-wrap:wrap;gap:8px;padding:14px 18px}
.actbtns .btn{height:34px;font-size:12.5px}
.actbtns .btn.danger{color:var(--red)}
.cvbar-g.col{flex-direction:column;align-items:stretch;gap:2px}
.pcell{display:flex;flex-direction:column;align-items:center;gap:7px;width:64px}
.pcell .thumb{width:56px;height:56px;border-radius:12px}
.pcell .thumb svg{width:24px;height:24px}
.gcell b.lg{font-size:14.5px}
.gcell b.id{font-size:12px;color:var(--navy)}
.gcell small.ok{color:var(--green-d)}
.gcell small.off{color:var(--muted)}
table.grp th.act,table.grp td.act{text-align:end}
@media(max-width:1400px){.msgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.msgrid.up{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.msgrid,.msgrid.up{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* CV details */
.hero{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.bigph{position:relative;width:88px;height:88px;border-radius:50%;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none;border:1px solid var(--line)}
.bigph.pdf{flex-direction:column;gap:2px;background:var(--red-soft);color:var(--red)}
.bigph.pdf small{font-size:10px;font-weight:700}
.bigph svg{width:30px;height:30px}
.bigph .play{position:absolute;inset-inline-end:-4px;bottom:-4px;width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;border:3px solid #fff}
.bigph .play svg{width:12px;height:12px}
.hero-t{min-width:0;flex:1}
.hero-n{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hero-n b{font-size:21px;color:var(--ink);letter-spacing:-.3px}
.hero-m{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;font-size:12.5px;color:var(--muted)}
.hero-m span{display:inline-flex;align-items:center;gap:5px}
.hero-m svg{width:13px;height:13px}
.hero-a{display:flex;gap:8px;flex-wrap:wrap;width:100%}
.btn-green{background:var(--green);color:#fff}
.btn-red{background:var(--red);color:#fff}
.statgrid.six{grid-template-columns:repeat(6,minmax(0,1fr))}
.scard.st6{cursor:default}
.showgrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;align-items:start}
.col-a,.col-b{display:flex;flex-direction:column;gap:16px;min-width:0}
.sec{padding:0;overflow:hidden}
.sec-h{display:flex;align-items:center;gap:9px;padding:14px 18px;border-bottom:1px solid var(--line);background:var(--bg)}
.sec-h svg{width:16px;height:16px;color:var(--navy)}
.sec-h b{font-size:14.5px;color:var(--ink)}
.kvgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.kv{display:flex;flex-direction:column;gap:4px;padding:13px 18px;border-bottom:1px solid var(--line-2)}
.kv:nth-child(odd){border-inline-end:1px solid var(--line-2)}
.kv span{font-size:12.5px;color:var(--muted)}
.kv b{font-size:14.5px;color:var(--ink);font-weight:600}
.fin3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 18px}
.fin{border:1px solid var(--line);border-radius:var(--r-s);padding:12px 14px}
.fin small{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
.fin b{font-size:17px}
.fin b.g{color:var(--green-d)}.fin b.r{color:var(--red)}.fin b.n{color:var(--navy)}
.att{padding:14px 18px;border-bottom:1px solid var(--line-2);display:flex;flex-direction:column;gap:11px}
.att.hi{background:#fdf7f7}
.att-t{display:flex;align-items:flex-start;gap:11px}
.att-t>svg{width:22px;height:22px;color:var(--red);flex:none}
.att-t b{display:block;font-size:13.5px;color:var(--ink)}
.att-t small{color:var(--muted);font-size:12px;line-height:1.5}
.att-a{display:flex;gap:8px;flex-wrap:wrap}
.att-a .btn{height:34px;font-size:12.5px}
.upl{display:flex;flex-direction:column;gap:9px;padding:16px 18px}
.upl label{font-size:12.5px;font-weight:600;color:var(--ink)}
.upl input{height:40px;border:1px solid var(--line);border-radius:var(--r-s);padding:0 12px;font-size:13px}
.upl .btn{align-self:flex-start}
.skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;padding:16px 18px}
.skill{display:flex;align-items:center;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:9px 11px;font-size:12.5px;font-weight:600;color:var(--ink)}
.skill svg{width:13px;height:13px;color:var(--amber)}
.langs.one{grid-template-columns:minmax(0,1fr);padding:16px 18px}
.pgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;padding:16px 18px}
.pcard{border:1px solid var(--line);border-radius:11px;overflow:hidden;text-align:center}
.pimg{display:grid;place-items:center;aspect-ratio:4/3;background:var(--line-2);color:#c3ccda}
.pimg svg{width:22px;height:22px}
.pcard>span:last-child{display:block;padding:8px;font-size:12px;font-weight:600;color:var(--ink)}
.tl{padding:16px 18px}
.tli{display:flex;gap:12px;padding-bottom:16px;position:relative}
.tli:not(:last-child):before{content:"";position:absolute;inset-inline-start:5px;top:14px;bottom:0;width:1px;background:var(--line)}
.tli .dot{width:11px;height:11px;border-radius:50%;background:#fff;border:3px solid var(--navy);flex:none;margin-top:4px;z-index:1}
.tli b{display:block;font-size:13.5px;color:var(--ink)}
.tli small{display:block;color:var(--muted);font-size:12px}
.prev{width:min(560px,100%)}
.prevbox{display:flex;flex-direction:column;align-items:center;gap:8px;padding:46px 20px;border:1px dashed var(--line);border-radius:var(--r);background:var(--bg);text-align:center}
.prevbox svg{width:34px;height:34px;color:var(--red)}
.prevbox b{font-size:14px;color:var(--ink)}
.prevbox small{color:var(--muted);font-size:12.5px}
@media(max-width:1400px){.statgrid.six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.showgrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.statgrid.six{grid-template-columns:repeat(2,minmax(0,1fr))}.kvgrid,.fin3{grid-template-columns:minmax(0,1fr)}.kv:nth-child(odd){border-inline-end:0}}
/* CV screens */
.seg.wide{width:100%}.seg.wide button{flex:1}
.seg.sm button{padding:5px 12px;font-size:12.5px}
.seg.xs button{padding:4px 10px;font-size:12px}
.pickgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:9px;padding:16px 20px 20px}
.pick{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;padding:10px 12px;font-size:13px;color:var(--body);font-weight:600;transition:.15s;text-align:start}
.pick:hover{border-color:#cdd5e1}
.pick.on{border-color:var(--green);background:#f6faf4;color:var(--ink)}
.pick svg{width:15px;height:15px;color:var(--muted);flex:none}
.pick.on svg{color:var(--green-d)}
.pick .cbx{width:18px;height:18px;border-radius:5px;border:1px solid var(--line);display:grid;place-items:center;flex:none;color:#fff;background:#fff}
.pick.on .cbx{background:var(--green);border-color:var(--green)}
.pick .cbx svg{width:12px;height:12px;color:#fff}
.langpick{display:flex;flex-direction:column;gap:8px;padding:16px 20px 20px}
.lrow{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:var(--r-s);padding:9px 12px;background:#fff;flex-wrap:wrap}
.lrow.on{border-color:var(--navy)}
.lchk{display:flex;align-items:center;gap:9px;min-width:130px}
.lchk b{font-size:13.5px;color:var(--ink)}
.lchk .cbx{width:18px;height:18px;border-radius:5px;border:1px solid var(--line);display:grid;place-items:center;flex:none;color:#fff}
.lrow.on .lchk .cbx{background:var(--navy);border-color:var(--navy)}
.lchk .cbx svg{width:12px;height:12px}
.lctl{display:flex;align-items:center;gap:12px;flex:1;justify-content:flex-end}
.lctl input[type=range]{flex:1;max-width:260px;accent-color:var(--navy)}
.lctl b{min-width:44px;text-align:end;font-size:13px;color:var(--ink)}
.lrow .empty{margin-inline-start:auto}
.toast{position:fixed;bottom:24px;inset-inline-start:50%;transform:translate(50%,20px);z-index:120;display:flex;align-items:center;gap:9px;background:var(--ink);color:#fff;border-radius:999px;padding:11px 20px;font-size:13.5px;font-weight:600;box-shadow:0 18px 40px -12px rgba(11,19,35,.5);opacity:0;pointer-events:none;transition:.22s}
.toast.show{opacity:1;transform:translate(50%,0)}
.toast svg{width:16px;height:16px;color:var(--green)}
.am{width:min(560px,100%)}
.am .mh-t{display:flex;align-items:center;gap:11px}
.am .mi{width:36px;height:36px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}
.am .mi.r{background:var(--red-soft);color:var(--red)}
.am .mi svg{width:17px;height:17px}
.amw{display:flex;align-items:center;gap:11px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r-s);padding:11px 13px;margin:14px 0 16px}
.amw b{display:block;font-size:14px;color:var(--ink)}
.amw small{color:var(--muted);font-size:12px}
.thumb.sm{width:38px;height:38px;border-radius:9px}
.thumb.sm svg{width:17px;height:17px}
.am .fgrid.two{grid-template-columns:1fr 1fr;gap:14px;padding:0}
.am .modal-f{display:flex;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.explist{display:flex;flex-direction:column;gap:12px;padding:16px}
.expitem{border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.expitem-h{display:flex;align-items:center;gap:10px;padding:11px 14px;background:var(--bg);border-bottom:1px solid var(--line)}
.expitem-h b{font-size:13.5px;color:var(--ink)}
.expn{width:22px;height:22px;border-radius:6px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:11.5px;font-weight:700}
.expitem-h .tag{margin-inline-start:auto}
.expitem .fgrid.two{grid-template-columns:1fr 1fr;gap:12px;padding:14px}
@media(max-width:760px){.am .fgrid.two,.expitem .fgrid.two{grid-template-columns:1fr}}
.cvmodal{width:min(940px,96vw);max-height:92vh;display:flex;flex-direction:column;padding:0}
.cvmodal .modal-h{padding:16px 20px;border-bottom:1px solid var(--line);margin:0}
.mh-a{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.cvtpl{display:grid;grid-template-columns:270px minmax(0,1fr);overflow:auto}
.tpl-l{background:var(--navy);color:#fff;padding:24px 20px;display:flex;flex-direction:column;gap:20px;align-items:center}
.tpl-ph{width:150px;height:150px;border-radius:12px;background:rgba(255,255,255,.1);display:grid;place-items:center}
.tpl-ph svg{width:52px;height:52px;color:rgba(255,255,255,.5)}
.tpl-k{display:flex;flex-direction:column;gap:12px;width:100%}
.tpl-k small{display:block;color:rgba(255,255,255,.55);font-size:11.5px;margin-bottom:2px}
.tpl-k b{font-size:13.5px}
.tpl-lang{width:100%;border-top:1px solid rgba(255,255,255,.15);padding-top:16px}
.tpl-lang>b{font-size:13px;display:block;margin-bottom:12px}
.rings{display:flex;gap:16px}
.ring{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) calc(var(--p)*1%),rgba(255,255,255,.14) 0)}
.ring:after{content:"";position:absolute}
.ring span{font-size:13px;font-weight:700}
.ring small{position:absolute;margin-top:44px;font-size:10.5px;color:rgba(255,255,255,.6)}
.tpl-r{padding:22px 24px;display:flex;flex-direction:column;gap:20px;background:#fff}
.tpl-hd{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:2px solid var(--navy)}
.tpl-hd b{font-size:19px;color:var(--ink);display:block}
.tpl-hd small{color:var(--muted);font-size:12.5px}
.tpl-hd img{height:42px;object-fit:contain}
.tpl-sec h4{font-size:13px;color:var(--navy);margin:0 0 12px;padding-inline-start:10px;border-inline-start:3px solid var(--green)}
.tpl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tpl-grid small{display:block;color:var(--muted);font-size:11.5px;margin-bottom:2px}
.tpl-grid b{font-size:13px;color:var(--ink)}
.tpl-c{display:flex;align-items:center;gap:18px}
.qr{width:74px;height:74px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--navy)}
.qr svg{width:40px;height:40px}
.cline{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);padding:3px 0}
.cline svg{width:14px;height:14px;color:var(--green-d)}
@media(max-width:760px){.cvtpl{grid-template-columns:minmax(0,1fr)}.tpl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.acard .actrow{display:flex;align-items:center;gap:12px}
.acard .actrow.col{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.acard .actrow label{font-size:13px;font-weight:600;color:var(--ink)}
.acard .actrow small{display:block;color:var(--muted);font-size:11.5px;margin-top:2px}
.acard .actrow b{font-size:13.5px;color:var(--ink)}
.acard .actrow>div:first-child{min-width:0;flex:1}
select.statsel{height:38px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;padding:0 12px;font-size:13px;color:var(--ink);width:100%;font-family:inherit}
button.sw{flex:none}
.acts2{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px}
.atile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 8px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;font-size:12.5px;font-weight:600;color:var(--body);transition:.15s;text-align:center;line-height:1.3}
.atile svg{width:17px;height:17px;color:var(--navy)}
.atile:hover{border-color:var(--navy);background:var(--navy-soft)}
.atile.green svg{color:var(--green-d)}
.atile.green:hover{border-color:var(--green);background:var(--green-soft)}
.atile.danger{color:var(--red)}
.atile.danger svg{color:var(--red)}
.atile.danger:hover{border-color:var(--red);background:var(--red-soft)}
.exp-h .tag{margin-inline-start:6px}
.exp input{width:100%;height:34px;border:1px solid var(--line);border-radius:6px;padding:0 9px;font-size:12.5px;font-family:inherit;color:var(--ink);background:#fff}
.exp input[type=month]{font-variant-numeric:tabular-nums}
.exp td{padding:9px 12px}
.cvopts .ctl.sel.mini,.cvbar-g .ctl.sel.mini{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:8px;height:36px;padding:0 11px;width:100%}
.cvopts .ctl.sel.mini svg,.cvbar-g .ctl.sel.mini svg{width:14px;height:14px;flex:none}
.cvopts .ctl.sel.mini span,.cvbar-g .ctl.sel.mini span{font-size:12.5px;color:var(--ink);white-space:nowrap}
.actrow.sm{display:flex;align-items:center;gap:10px}
.actrow.sm.col{flex-direction:column;align-items:stretch;gap:7px}
.actrow.sm.col label{font-size:12.5px;font-weight:600;color:var(--ink)}
.actrow.sm>div:first-child{flex:1;min-width:0}
.showgrid3{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
.cvside{position:sticky;top:80px;display:flex;flex-direction:column;gap:14px}
.idcard{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.idcard>b{font-size:17px;color:var(--ink);margin-top:4px}
.idcard>small{color:var(--muted);font-size:12.5px}
.idk{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;width:100%;margin-top:12px;padding-top:14px;border-top:1px solid var(--line-2);text-align:start}
.idk small{display:block;color:var(--muted);font-size:11.5px;margin-bottom:2px}
.idk b{font-size:13px;color:var(--ink)}
.acard{padding:0}
.acard .sec-h{padding:14px 16px;border-bottom:1px solid var(--line)}
.acard .actrow{padding:12px 16px;border-bottom:1px solid var(--line-2)}
.acard .actrow.col{flex-direction:column;align-items:stretch;gap:8px}
.acard .ctl.sel.mini{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:8px;height:38px;padding:0 12px;width:100%}
.acard .ctl.sel.mini svg{width:15px;height:15px;flex:none}
.acard .ctl.sel.mini span{font-size:13px;color:var(--ink);white-space:nowrap}
.acard .actbtns{display:flex;flex-direction:column;gap:8px;padding:14px 16px}
.acard .actbtns .btn{justify-content:flex-start;width:100%}
.cvmain{display:flex;flex-direction:column;gap:14px;min-width:0}
.vtabs{display:flex;gap:6px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:8px}
.vtabs button{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:var(--r-s);font-size:13.5px;font-weight:600;color:var(--body);transition:.15s}
.vtabs button svg{width:15px;height:15px;color:var(--muted)}
.vtabs button:hover{background:var(--line-2)}
.vtabs button.on{background:var(--navy);color:#fff}
.vtabs button.on svg{color:#fff}
.tabbody{display:flex;flex-direction:column;gap:14px}
.alerts{display:flex;flex-direction:column;gap:2px;padding:6px 0}
.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 18px}
.alert svg{width:16px;height:16px;flex:none;margin-top:2px}
.alert.g svg{color:var(--green)}.alert.a svg{color:var(--amber)}.alert.r svg{color:var(--red)}.alert.n svg{color:var(--navy)}
.alert b{display:block;font-size:13.5px;color:var(--ink)}
.alert small{color:var(--muted);font-size:12.5px}
.pdfslot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px}
.pdfslot-t b{display:block;font-size:14px;color:var(--ink)}
.pdfslot-t small{color:var(--muted);font-size:12.5px}
.pdfslot-a{display:flex;gap:8px;margin-inline-start:auto}
.hdrtag{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;margin-inline-start:10px;font-size:12px}
.hdrtag svg{width:12px;height:12px}
.statgrid.four{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;margin:0}
@media(max-width:1100px){.showgrid3{grid-template-columns:minmax(0,1fr)}.cvside{position:static;order:2;flex-direction:row;flex-wrap:wrap;gap:14px}.cvmain{order:1}.idcard{flex:1;min-width:260px;flex-direction:row;text-align:start;align-items:center;align-content:flex-start;align-self:start;gap:10px 14px;flex-wrap:wrap}.acard{align-self:start}.idcard .bigph{width:64px;height:64px}.idcard>b,.idcard>small{width:auto}.idk{grid-template-columns:repeat(4,1fr);border-top:0;padding-top:0;margin-top:0}.acard{flex:1;min-width:280px}.acard .actbtns{flex-direction:row;flex-wrap:wrap}.acard .actbtns .btn{width:auto}.statgrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
.colpick{position:relative}
.cmenu{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:60;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 18px 44px -14px rgba(11,19,35,.3);width:250px;padding:6px;max-height:320px;overflow:auto}
.cm-h{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;border-bottom:1px solid var(--line);margin-bottom:6px}
.cm-h b{font-size:13px;color:var(--ink)}
.cm-h button{font-size:12px;color:var(--navy);font-weight:600}
.cm-i{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:var(--r-s);font-size:13px;color:var(--body);cursor:pointer}
.cm-i:hover{background:var(--line-2)}
.cm-i .cbx{width:18px;height:18px;border-radius:5px;border:1px solid var(--line);display:grid;place-items:center;flex:none;color:#fff}
.cm-i .cbx.on{background:var(--navy);border-color:var(--navy)}
.cm-i .cbx svg{width:12px;height:12px}
.gcell.x{min-width:120px;font-size:13.5px;color:var(--ink)}
.gcell.x small{display:block;color:var(--muted);font-size:12px}
.mbadges.row.wrap{flex-wrap:wrap;max-width:170px}
.lgs{display:flex;flex-direction:column;gap:5px;min-width:110px}
.lg{position:relative;font-size:11.5px;color:var(--body);padding-bottom:7px}
.lg i{position:absolute;inset-inline-start:0;bottom:0;height:4px;border-radius:99px;background:var(--navy)}
.lg:after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:100%;height:4px;border-radius:99px;background:var(--line-2);z-index:-1}
.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.scard{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;text-align:start;transition:.15s}
.scard:hover{border-color:#cdd5e1}
.scard.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.06)}
.sci{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--navy-soft);color:var(--navy)}
.sci.g{background:var(--green-soft);color:var(--green-d)}.sci.r{background:var(--red-soft);color:var(--red)}.sci.a{background:var(--amber-soft);color:var(--amber)}
.sci svg{width:16px;height:16px}
.sct{font-size:12.5px;font-weight:600;color:var(--muted)}
.scard b{font-size:24px;color:var(--ink);letter-spacing:-.5px;line-height:1}
.scon{position:absolute;top:12px;inset-inline-end:12px;width:20px;height:20px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center}
.scon svg{width:12px;height:12px}
.fbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:16px}
.fb{display:flex;flex-direction:column;gap:6px;min-width:170px}
.fb.grow{flex:1;min-width:240px}
.fb label{font-size:12px;font-weight:600;color:var(--muted)}
.fb .inp{height:40px;background:#fff}
.fb select{height:40px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;padding:0 12px;color:var(--ink);font-size:13.5px}
.fbar .btn{height:40px}
.fbar .empty{margin-inline-start:auto}
table.grp th{padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
table.grp th.chk,table.grp td.chk{width:38px}
table.grp td{padding:14px 16px;vertical-align:top}
.wcell{display:flex;align-items:flex-start;gap:11px;min-width:190px}
.wcell b{display:block;font-size:14.5px;color:var(--ink);font-weight:700}
.wcell small{display:block;color:var(--muted);font-size:12.5px;line-height:1.55}
.gcell{display:flex;flex-direction:column;gap:3px}
.gcell b{font-size:14px;color:var(--ink);font-weight:600}
.gcell small{color:var(--muted);font-size:12.5px}
.mbadges.row{flex-direction:row}
.bigph{position:relative;width:86px;height:86px;border-radius:14px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.bigph.none{background:var(--line-2);color:#c3ccda}
.bigph svg{width:32px;height:32px}
.bigph .play{position:absolute;inset-inline-end:-6px;bottom:-6px;width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;border:3px solid #fff}
.bigph .play svg{width:12px;height:12px}
.kvgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.kv{display:flex;flex-direction:column;gap:4px;padding:14px 18px;border-bottom:1px solid var(--line-2);border-inline-end:1px solid var(--line-2)}
.kv span{font-size:12.5px;color:var(--muted)}
.kv b{font-size:14.5px;color:var(--ink);font-weight:600}
.mgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px}
.mtile{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);border-radius:var(--r);padding:22px 14px;text-align:center}
.mtile b{font-size:13.5px;color:var(--ink)}
.mtile small{color:var(--muted);font-size:12px}
.mph{width:56px;height:56px;border-radius:14px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}
.mph.vid{background:var(--green-soft);color:var(--green-d)}
.mph.none{background:var(--line-2);color:#c3ccda}
.mph svg{width:22px;height:22px}
.tl{padding:18px}
.tli{display:flex;gap:12px;padding-bottom:18px;position:relative}
.tli:not(:last-child):before{content:"";position:absolute;inset-inline-start:5px;top:14px;bottom:0;width:1px;background:var(--line)}
.tli .dot{width:11px;height:11px;border-radius:50%;background:var(--green);flex:none;margin-top:4px;z-index:1}
.tli b{display:block;font-size:13.5px;color:var(--ink)}
.tli small{display:block;color:var(--muted);font-size:12px}
@media(max-width:1200px){.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.kvgrid,.mgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.statgrid,.kvgrid,.mgrid{grid-template-columns:minmax(0,1fr)}}
.cvform{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;align-items:start}
.cvopts{position:sticky;top:80px;display:flex;flex-direction:column;gap:18px;padding:18px}
.cvopts .cvbar-g{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.cvopts .cvbar-g>span{font-size:13px;font-weight:700;color:var(--ink)}
.cvopts .seg{width:100%}
.cvopts .seg button{flex:1}
.cvopts .empty{font-size:12.5px;line-height:1.55}
.cvopts .steps{flex-direction:column;gap:6px;margin:0;padding-top:14px;border-top:1px solid var(--line)}
.cvopts .step{width:100%;justify-content:flex-start;border-radius:var(--r-s)}
.media{display:flex;align-items:center;gap:9px}
.thumb{position:relative;width:42px;height:42px;border-radius:9px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.thumb.none{background:var(--line-2);color:#c3ccda}
.thumb svg{width:18px;height:18px}
.thumb .play{position:absolute;inset-inline-end:-4px;bottom:-4px;width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;border:2px solid #fff}
.thumb .play svg{width:9px;height:9px}
.mbadges{display:flex;flex-direction:column;gap:3px}
.mb{width:20px;height:20px;border-radius:5px;background:var(--line-2);color:var(--muted);display:grid;place-items:center}
.mb.g{background:var(--green-soft);color:var(--green-d)}
.mb svg{width:11px;height:11px}
.rfin{margin:0 20px 20px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.rfin .tw{overflow-x:auto}
.rfin th{padding:10px 14px}
.rfin td{padding:11px 14px;font-size:13px}
.rfin-f{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--amber-soft);border-top:1px solid #f0dcb6;font-size:13px;color:#7a5514}
.rfin-f svg{width:16px;height:16px;color:var(--amber);flex:none}
.rfin-f .btn{margin-inline-start:auto;height:32px;font-size:13px}
.statbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.sb{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:7px 13px 7px 7px;transition:.15s}
.sb:hover{border-color:#cdd5e1}
.sb.on{border-color:var(--navy);background:var(--navy-soft)}
.sbi{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--navy-soft);color:var(--navy);flex:none}
.sb.on .sbi{background:var(--navy);color:#fff}
.sbi.g{background:var(--green-soft);color:var(--green-d)}.sbi.r{background:var(--red-soft);color:var(--red)}.sbi.a{background:var(--amber-soft);color:var(--amber)}
.sbi svg{width:14px;height:14px}
.sb.zero{opacity:.5}
.sbt{font-size:13px;font-weight:600;color:var(--body)}
.sb.on .sbt{color:var(--navy)}
.sb b{font-size:14px;color:var(--ink)}
.sb b.g{color:var(--green-d)}.sb b.r{color:var(--red)}.sb b.a{color:var(--amber)}
.filters.more{margin-top:-6px;padding-top:0}
.filters.more select{min-width:150px}
.filters .btn.on{border-color:var(--navy);color:var(--navy);background:var(--navy-soft)}
.dt{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;font-size:13px;color:var(--muted)}
.dt input{border:0;outline:0;font:inherit;color:var(--ink);background:none}
.seg.tabs{display:flex;flex-wrap:wrap;margin-bottom:16px;width:100%}
.seg.tabs button{display:inline-flex;align-items:center;gap:7px;padding:9px 16px}
.seg.tabs button b{background:var(--line-2);color:var(--body);border-radius:999px;padding:1px 7px;font-size:11.5px}
.seg.tabs button.on b{background:rgba(255,255,255,.2);color:#fff}
.rowacts{display:flex;gap:2px}
.tempty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:44px 0;color:var(--muted)}
.tempty svg{width:26px;height:26px;color:#c3ccda}
.tempty b{color:var(--ink);font-size:14.5px}
.cvbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 18px;margin-bottom:16px}
.cvbar-g{display:flex;align-items:center;gap:10px}
.cvbar-g>span{font-size:13px;font-weight:600;color:var(--ink)}
.cvbar .empty{margin-inline-start:auto}
.steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.step{cursor:pointer;display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 15px;font-size:13px;color:var(--muted)}
.step .num{width:22px;height:22px;border-radius:50%;background:var(--line-2);color:var(--body);display:grid;place-items:center;font-size:11.5px;font-weight:700}
.step b{font-weight:600;color:var(--ink);font-size:13px}
.step:hover{border-color:#cdd5e1}
.step.on{border-color:var(--navy);background:var(--navy-soft)}
.step.on .num{background:var(--navy);color:#fff}
.cvfields{padding:0}
.fs-h{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--line);background:var(--bg)}
.fs-h b{font-size:14.5px;color:var(--ink)}
.fs-n{width:24px;height:24px;border-radius:7px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.fgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px}
.fld{display:flex;flex-direction:column;gap:7px;min-width:0}
.fld label{font-size:13.5px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.fld .rq{color:var(--red);font-style:normal}
.fld input,.fld select{width:100%;height:42px;padding:0 12px;border:1px solid #d3dae7;border-radius:var(--r-s);background:#fff;font-size:14px;font-weight:500;color:var(--ink);outline:0}
.fld input:focus,.fld select:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.07)}
.fld input[readonly]{background:var(--line-2);color:var(--muted)}
.fld input::placeholder{color:#9aa5b6;font-weight:400}
.filebox{display:flex;align-items:center;gap:9px;height:42px;padding:0 12px;border:1px dashed var(--line);border-radius:var(--r-s);background:var(--bg);font-size:13px;color:var(--muted);cursor:pointer}
.filebox svg{width:15px;height:15px;flex:none}
.filebox:hover{border-color:var(--green);color:var(--ink)}
code{font-family:ui-monospace,monospace;font-size:11px;background:var(--line-2);color:var(--body);border-radius:4px;padding:1px 5px}
.cvnote{display:flex;align-items:center;gap:10px;margin:0 20px 20px;padding:12px 14px;background:var(--navy-soft);border-radius:var(--r-s);font-size:13px;color:var(--body)}
.cvnote svg{width:16px;height:16px;color:var(--navy);flex:none}
.cvfields .exp .btn{width:auto;height:38px;white-space:nowrap}
.cvfields .exp .icon-btn{width:32px;height:32px}
.cvfields .exp-h .tag{white-space:nowrap}
.cvfields .exp{display:block;margin:0 20px 20px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.exp-h{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.exp-h b{font-size:13.5px;color:var(--ink)}
.exp-h small{color:var(--muted);font-size:12px}
.exp-h .btn{margin-inline-start:auto;height:32px;font-size:13px}
.exp .tw{overflow-x:auto}
.exp th{padding:10px 14px}
.exp td{padding:11px 14px;font-size:13px}
.cvactions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px;border-top:1px solid var(--line)}
.cvactions .empty{margin-inline-start:auto}
@media(max-width:1400px){.fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.cvform{grid-template-columns:minmax(0,1fr)}.cvopts{position:static}.cvopts .steps{flex-direction:row;flex-wrap:wrap}.cvopts .step{width:auto}.fgrid{grid-template-columns:minmax(0,1fr)}}
/* support */
.support{margin-top:20px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.support .dotsep{width:4px;height:4px;border-radius:50%;background:var(--line);flex:none}
.sup{display:inline-flex;align-items:center;gap:7px;color:var(--navy);font-weight:600;font-size:13px}
.sup:hover{color:var(--green-d)}
.sup svg{width:15px;height:15px;color:var(--green-d)}
.lg-art{position:relative;background:var(--navy);display:flex;flex-direction:column;justify-content:flex-end;padding:0;overflow:hidden}
.lg-art .slot{position:absolute;inset:0}
.lg-art .scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(11,19,35,.92) 0%,rgba(11,19,35,.55) 42%,rgba(11,19,35,.12) 100%);pointer-events:none}
.lg-art .cap{position:relative;padding:56px;pointer-events:none}
.lg-art h2{color:#fff;font-size:27px;max-width:17ch;line-height:1.45}
.lg-art p{color:#c3cddd;max-width:40ch;margin:14px 0 0}
/* ---------- shell ---------- */
#app{display:grid;grid-template-columns:var(--sw) 1fr;min-height:100vh}
#app.collapsed{--sw:76px}
.side{background:#f6f8fb;color:var(--body);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden;border-inline-start:1px solid var(--line)}
.side-head{display:flex;align-items:center;justify-content:center;gap:10px;height:88px;padding:0 18px;border-bottom:1px solid var(--line);flex:none}
.side-head img{height:60px;background:#fff;border-radius:10px;padding:6px 12px;object-fit:contain}
.side-head .mark{height:32px;width:44px;display:none;padding:4px;object-fit:cover;object-position:left center}
#app.collapsed .side-head img{display:none}
#app.collapsed .side-head .mark{display:block;margin-inline:auto}
.side-search{padding:14px 14px 6px;flex:none}
#app.collapsed .side-search,#app.collapsed .nav-group-t,#app.collapsed .side-foot .sf-txt,#app.collapsed .nav a span,#app.collapsed .nav .badge{display:none}
#app.collapsed .nav a{justify-content:center;padding-inline:0}
.side-search .inp{background:var(--bg);border-color:var(--line);height:40px}
.side-search .inp input{color:var(--ink);font-size:13.5px}
.side-search .inp input::placeholder{color:#8093ad}
.side-search .inp svg{color:#8093ad}
.nav{flex:1;overflow-y:auto;padding:10px 12px 20px}
.nav::-webkit-scrollbar{width:6px}.nav::-webkit-scrollbar-thumb{background:var(--line);border-radius:9px}
.nav-exp{margin-bottom:2px}
.nav-eh{display:flex;align-items:center;gap:11px;width:100%;padding:9px 11px;border-radius:var(--r-s);color:var(--ink);font-size:14.5px;font-weight:600;transition:.14s;border:1px solid transparent}
.nav-eh:hover{border-color:var(--line)}
.nav-eh:hover{background:var(--bg);color:var(--ink)}
.nav-eh svg{width:18px;height:18px;flex:none;opacity:.75;color:var(--navy)}
.nav-eh .chev{width:15px;height:15px;margin-inline-start:auto;opacity:.5;transition:transform .18s}
.nav-eh.on{color:var(--navy);font-weight:700;background:var(--green-soft);border-color:#cfe6b8}
.nav-eh.on svg{opacity:1;color:var(--green-d)}
.nav-exp.open>.nav-eh .chev{transform:rotate(180deg)}
.nav-kids{display:none;margin:2px 0 8px;padding-inline-start:20px;border-inline-start:1px solid var(--line)}
.nav-exp.open>.nav-kids{display:block}
.nav-kids a{font-size:13px;padding:7px 10px;gap:9px;color:var(--muted)}
.nav-kids a .kd{width:5px;height:5px;border-radius:50%;background:#c3ccda;flex:none}
.nav-kids a.on .kd{background:var(--green-d)}
#app.collapsed .nav-eh span,#app.collapsed .nav-eh .chev{display:none}
#app.collapsed .nav-eh{justify-content:center;padding-inline:0}
#app.collapsed .nav-kids{display:none!important}
.nav-empty{color:var(--muted);font-size:13px;padding:16px 11px}
.nav-group-t{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--muted-2);text-transform:uppercase;padding:18px 10px 8px}
.nav a{display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:var(--r-s);color:var(--ink);font-size:14.5px;font-weight:600;margin-bottom:2px;transition:.14s;border:1px solid transparent}
.nav a:hover{border-color:var(--line)}
.nav a svg{width:18px;height:18px;flex:none;opacity:.75;color:var(--navy)}
.nav a:hover{background:var(--bg);color:var(--ink)}
.nav a.on{background:var(--green-soft);color:var(--navy);font-weight:700;border-color:#cfe6b8}
.nav a.on svg{opacity:1;color:var(--green-d)}
.nav .badge{margin-inline-start:auto;background:var(--bg);color:var(--muted);font-size:11px;font-weight:700;padding:1px 7px;border-radius:999px}
.nav a.on .badge{background:var(--green-soft);color:var(--green-d)}
.side-foot{flex:none;border-top:1px solid var(--line);padding:12px 14px;display:flex;align-items:center;gap:10px}
.side-foot .av{width:34px;height:34px;border-radius:9px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.sf-txt b{display:block;color:var(--ink);font-size:13.5px;font-weight:600}
.sf-txt span{font-size:11.5px;color:var(--muted)}
/* topbar */
.main{min-width:0;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:20;height:64px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 26px}
.icon-btn{width:38px;height:38px;border-radius:var(--r-s);display:grid;place-items:center;color:var(--body);border:1px solid transparent;position:relative}
.icon-btn:hover{background:var(--line-2);color:var(--ink)}
.icon-btn svg{width:19px;height:19px}
.icon-btn .dot{position:absolute;top:7px;inset-inline-end:7px;width:7px;height:7px;border-radius:50%;background:var(--red);border:2px solid #fff}
.crumb{font-size:12.5px;color:var(--muted)}
.crumb b{display:block;font-size:16px;color:var(--ink);font-weight:700}
.top-search{flex:1;max-width:420px;margin-inline:auto}
.top-search .inp{height:38px;background:var(--bg);border-color:transparent;font-size:14px}
.top-search kbd{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:1px 6px;background:#fff;font-family:inherit}
.top-right{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
.pill{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--ink);background:#fff}
.pill:hover{border-color:#cdd5e1}
.pill svg{width:15px;height:15px;color:var(--muted)}
.sep{width:1px;height:26px;background:var(--line);margin-inline:4px}
.menu{position:absolute;top:56px;inset-inline-end:26px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:8px;width:250px;z-index:40}
.menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--r-s);font-size:14px;color:var(--body)}
.menu a:hover{background:var(--line-2)}
.menu a svg{width:17px;height:17px;color:var(--muted)}
.menu .mt{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.06em;padding:8px 10px 4px;text-transform:uppercase}
/* page */
.page{padding:28px 26px 56px;max-width:1500px;width:100%;margin-inline:auto}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.page-head h1{font-size:25px;letter-spacing:-.3px}
.page-head p{margin:6px 0 0;color:var(--muted);font-size:14px}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.seg{display:inline-flex;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-s);padding:3px;gap:2px}
.seg button{padding:6px 15px;border-radius:6px;font-size:13.5px;font-weight:600;color:var(--muted)}
.seg button.on{background:var(--navy);color:#fff}
.grid-kpi{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.card-h h3{font-size:16px}
.card-h p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.kpi .kl{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);font-weight:600}
.kpi .kl svg{width:16px;height:16px;color:var(--navy);opacity:.55}
.kpi .kv{font-size:34px;font-weight:700;color:var(--ink);line-height:1.1;margin:12px 0 10px;letter-spacing:-1px}
.kpi .kb{display:flex;flex-wrap:wrap;gap:6px}
.tag{font-size:11.5px;font-weight:600;padding:2px 9px;border-radius:999px;background:var(--line-2);color:var(--body)}
.tag.g{background:var(--green-soft);color:var(--green-d)}
.tag.r{background:var(--red-soft);color:var(--red)}
.tag.a{background:var(--amber-soft);color:var(--amber)}
.tag.n{background:var(--navy-soft);color:var(--navy)}
.bar{height:5px;border-radius:99px;background:var(--line-2);overflow:hidden;margin-top:14px}
.bar i{display:block;height:100%;border-radius:99px;background:var(--navy)}
.bar i.g{background:var(--green)}
.grid-2{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;margin-bottom:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}
.legend{display:flex;gap:16px;font-size:12.5px;color:var(--muted);align-items:center}
.legend i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-inline-end:6px}
.stage{display:flex;flex-direction:column;gap:2px}
.stage-row{padding:11px 0;border-bottom:1px solid var(--line-2)}
.stage-row:last-child{border:0}
.stage-row .sr{display:flex;align-items:center;justify-content:space-between;gap:10px}
.stage-row b{font-size:14px;color:var(--ink);font-weight:600}
.stage-row .v{font-size:14px;font-weight:700;color:var(--ink)}
.stage-row small{color:var(--muted);font-size:12.5px}
/* table */
table{width:100%;border-collapse:collapse}
th{text-align:start;font-size:12.5px;font-weight:700;color:#404e66;letter-spacing:.01em;padding:11px 16px;background:#f3f6fa;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:13px 16px;border-bottom:1px solid var(--line);font-size:14px;color:var(--ink);white-space:nowrap}
tbody tr:nth-child(even){background:#fbfcfe}
.num{font-variant-numeric:tabular-nums;letter-spacing:0}
tr:last-child td{border-bottom:0}
tbody tr:hover,tbody tr:nth-child(even):hover{background:#f2f6fc}
td .who{display:flex;align-items:center;gap:10px}
td .av{width:32px;height:32px;border-radius:8px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
td b{color:var(--ink);font-weight:600}
td small{display:block;color:var(--muted);font-size:12px;font-weight:400}
.st{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px}
.st i{width:6px;height:6px;border-radius:50%;background:currentColor}
.card.flush{padding:0}
.card.flush .card-h{padding:20px 20px 0;margin-bottom:16px}
.card.flush .tw{overflow-x:auto}
.tfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.pager{display:flex;gap:4px}
.pager button{min-width:32px;height:32px;border-radius:7px;font-size:13px;font-weight:600;color:var(--body);border:1px solid var(--line);background:#fff}
.pager button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.filters .inp{height:40px;background:#fff;min-width:260px}
.filters select{height:40px;border:1px solid var(--line);border-radius:var(--r-s);background:#fff;padding:0 12px;color:var(--ink);font-size:14px;font-weight:500}
.hbar{display:grid;grid-template-columns:130px 1fr 46px;align-items:center;gap:12px;padding:9px 0;font-size:13.5px}
.hbar .t{color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hbar .track{height:9px;border-radius:99px;background:var(--line-2);overflow:hidden}
.hbar .track i{display:block;height:100%;background:var(--navy);border-radius:99px}
.hbar .n{text-align:end;font-weight:700;color:var(--ink)}
.empty{color:var(--muted);font-size:13.5px}
@media(max-width:1200px){.grid-kpi{grid-template-columns:repeat(2,1fr)}.grid-2,.grid-3{grid-template-columns:1fr}#login{grid-template-columns:1fr}.lg-art{display:none}}
@media(max-width:1100px){.top-search{display:none}.top .pill span{display:none}.top .pill{padding:0 10px}}

/* CRM */
.av{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.av.company{background:var(--green-soft);color:var(--green-d)}
.av svg{width:18px;height:18px}
.bigph.company{background:var(--green-soft);color:var(--green-d)}
.bigph.person{background:var(--navy-soft);color:var(--navy)}
.num.due{color:var(--red)}
.fbar.second{margin-top:-8px}
.clcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px}
.clcard{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:var(--r);padding:14px}
.clcard-h{display:flex;align-items:flex-start;gap:10px}
.clcard-h>div{flex:1;min-width:0}
.clcard-h b{display:block;font-size:14px;color:var(--ink)}
.clcard-h small{color:var(--muted);font-size:11.5px}
.clcard-k{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:11px 0;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.clcard-k small{display:block;color:var(--muted);font-size:11px;margin-bottom:2px}
.clcard-k b{font-size:13.5px;color:var(--ink)}
.clcard-f{display:flex;align-items:center;justify-content:space-between;gap:8px}
.clcard-f .empty{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.clcard-f .empty svg{width:13px;height:13px}
.selrow>td{background:var(--navy-soft)}
.pnote{padding:16px 18px;font-size:13.5px;color:var(--body);line-height:1.7;margin:0}
.pnote.danger{color:var(--red)}
.toast{position:fixed;inset-inline-start:50%;bottom:28px;transform:translate(-50%,20px);z-index:300;display:flex;align-items:center;gap:9px;background:var(--ink);color:#fff;border-radius:999px;padding:11px 20px;font-size:13.5px;font-weight:600;opacity:0;pointer-events:none;transition:.2s}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast svg{width:16px;height:16px;color:#a8d97a}
@media(max-width:1200px){.clcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.clcards{grid-template-columns:minmax(0,1fr)}}

.lnk{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--navy)}
.lnk svg{width:14px;height:14px}
.lnk:hover{text-decoration:underline}
.totrow td{background:var(--bg);border-top:1px solid var(--line)}
.qlist{display:flex;flex-direction:column;gap:12px;padding:16px 18px}
.qitem{border:1px solid var(--line);border-radius:var(--r-s);padding:12px 14px}
.qitem-h{display:flex;align-items:center;gap:9px}
.qitem-h b{flex:1;font-size:13.5px;color:var(--ink);font-weight:600}
.qn{width:22px;height:22px;border-radius:6px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.qans{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px;padding-inline-start:31px}
.ans{font-size:12px;color:var(--body);background:var(--line-2);border-radius:999px;padding:4px 11px}

/* ===== mobile (≤900px) ===== */
@media(max-width:900px){
 #app{grid-template-columns:1fr}
 #app.collapsed{--sw:var(--sw)}
 .side{position:fixed;inset-block:0;inset-inline-start:0;width:280px;z-index:90;transform:translateX(100%);transition:transform .22s ease;box-shadow:0 0 50px rgba(11,19,35,.35)}
 body[dir="ltr"] .side{transform:translateX(-100%)}
 #app.navopen .side{transform:none}
 #app:after{content:"";position:fixed;inset:0;background:rgba(11,19,35,.45);opacity:0;pointer-events:none;transition:opacity .2s;z-index:80}
 #app.navopen:after{opacity:1;pointer-events:auto}
 .side-head img{height:48px}
 .side-head img.mark{display:none}
 #app.collapsed .side-head img:not(.mark){display:block}
 #app.collapsed .side .lbl,#app.collapsed .side .mt,#app.collapsed .side .badge{display:inline}
 .top{height:56px;padding:0 12px;gap:8px}
 .crumb span{display:none}
 .crumb b{font-size:14px}
 .top .tclock,.top .pill,.top .sep,.top [data-whatsnew]{display:none}
 .top-right{gap:2px}
 .icon-btn{width:34px;height:34px}
 .lang{transform:scale(.92)}
 .page{padding:16px 12px 72px}
 .page-head{margin-bottom:16px;gap:12px}
 .page-head h1{font-size:20px}
 .page-head p{font-size:12.5px}
 .page-head .actions{width:100%;flex-wrap:wrap}
 .page-head .actions .btn{flex:1;min-width:calc(50% - 5px);justify-content:center}
 .grid-kpi,.grid-2,.grid-3,.grid-4,.gcards,.rep-grid,.statgrid,.statgrid.four,.statgrid.six,.statgrid.slim,.clcards,.msgrid,.msgrid.up,.kvgrid,.mgrid,.fin3,.tpl-grid,.dash2,.showgrid,.showgrid3,.cvform,.fgrid,.fgrid.two{grid-template-columns:minmax(0,1fr)!important}
 .kv{border-inline-end:0}
 .card-h{flex-wrap:wrap;gap:10px}
 .card-h h3{font-size:15px}
 .fbar,.filters{padding:12px}
 .fb,.fb.grow{min-width:100%}
 .fbar .btn,.filters .btn{width:100%;justify-content:center}
 .seg{width:100%;overflow-x:auto}
 .seg button{white-space:nowrap}
 .vtabs{overflow-x:auto;flex-wrap:nowrap;padding:6px}
 .vtabs button{white-space:nowrap;flex:none}
 .tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .tw table{min-width:720px}
 table.grp td.act,table.grp th.act{position:static;background:transparent}
 .modal{width:calc(100vw - 24px);max-height:88vh;overflow-y:auto}
 .cvmodal{width:calc(100vw - 20px)}
 .drawer{width:100%}
 .atd{grid-template-columns:1fr}
 .atd-now,.atd-facts,.atd-act{padding:14px 16px}
 .atd-facts{gap:16px}
 .atd-act{flex-direction:column;align-items:stretch;border-top:1px solid rgba(255,255,255,.1)}
 .atd-act .btn{justify-content:center}
 .cvside{flex-direction:column}
 .idcard,.acard{min-width:0}
 .actbtns{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lg-art{display:none}
 #login{grid-template-columns:1fr;padding:16px}
 .hero{flex-direction:column}
 .banner{flex-wrap:wrap}
 .support{flex-direction:column;gap:6px}
 .amenu,.cmenu{width:min(260px,calc(100vw - 24px))}
}
@media(max-width:520px){
 .page-head .actions .btn{min-width:100%}
 .actbtns{grid-template-columns:minmax(0,1fr)}
 .idk{grid-template-columns:1fr 1fr}
}
.pulse{width:9px;height:9px;border-radius:50%;background:var(--green);flex:none;margin-top:6px;box-shadow:0 0 0 3px rgba(122,182,72,.18)}
.url{display:inline-block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;color:var(--navy)}
.ltr{direction:ltr;text-align:start}
small.cm{display:block;color:var(--muted);font-size:12.5px}
.codebox{margin:16px 18px;border:1px solid var(--line);border-radius:var(--r-s);overflow:hidden}
.codebox-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:var(--bg);border-bottom:1px solid var(--line)}
.codebox-h b{font-size:13px;color:var(--ink)}
.codebox pre{margin:0;padding:14px;font-size:12px;color:var(--body);overflow-x:auto;background:#fff}

.sec-h b{font-size:14.5px}
.tag{font-weight:600}
.st.tag{font-weight:600}
.empty{color:var(--muted-2)}
.tfoot{color:var(--muted)}
.card-h p,.page-head p{color:var(--muted)}
.scard .sct{color:var(--body);font-weight:600}
.kl span:not(.ni){color:var(--body);font-weight:600}

.kv b small{display:block;margin-top:3px;font-size:12.5px;font-weight:400;color:var(--muted)}

/* orders */
.flowbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 18px;margin-bottom:16px}
.flowstep{position:relative;display:flex;align-items:center;gap:11px;padding-inline-end:18px}
.flowstep .fi{width:34px;height:34px;border-radius:10px;background:var(--line-2);color:var(--muted);display:grid;place-items:center;flex:none}
.flowstep.done .fi{background:var(--green-soft);color:var(--green-d)}
.flowstep .fi svg{width:16px;height:16px}
.flowstep b{display:block;font-size:13.5px;color:var(--ink)}
.flowstep small{color:var(--muted);font-size:12px}
.flowstep .farr{position:absolute;inset-inline-end:0;color:#c3ccda}
.flowstep .farr svg{width:16px;height:16px}
body[dir="ltr"] .flowstep .farr{transform:rotate(180deg)}
.timer{display:flex;flex-direction:column;gap:2px;min-width:104px}
.timer b{font-size:14px;color:var(--ink)}
.timer small{font-size:11.5px}
.timer .tdot{width:8px;height:8px;border-radius:50%;margin-bottom:3px}
.timer.g .tdot{background:var(--green)}.timer.g small{color:var(--green-d)}
.timer.a .tdot{background:var(--amber)}.timer.a small{color:var(--amber)}
.timer.r .tdot{background:var(--red)}.timer.r small{color:var(--red)}
.orsum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.orsum-i{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.orsum-i .oi{width:34px;height:34px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.orsum-i .oi svg{width:16px;height:16px}
.orsum-i small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.orsum-i b{font-size:14.5px;color:var(--ink)}
.orsum-i small.sla{margin:3px 0 0;font-size:11.5px}
.timerbig.g{border-color:#cfe6b8}.timerbig.g .oi{background:var(--green-soft);color:var(--green-d)}.timerbig.g .sla{color:var(--green-d)}
.timerbig.a{border-color:#f0dcb6}.timerbig.a .oi{background:var(--amber-soft);color:var(--amber)}.timerbig.a .sla{color:var(--amber)}
.timerbig.r{border-color:#f3c9c6}.timerbig.r .oi{background:var(--red-soft);color:var(--red)}.timerbig.r .sla{color:var(--red)}
.orflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:18px}
.ofs{position:relative;display:flex;align-items:flex-start;gap:11px;padding-inline-end:20px}
.ofs .fi{width:34px;height:34px;border-radius:50%;background:var(--line-2);color:var(--muted);display:grid;place-items:center;flex:none;z-index:1}
.ofs.done .fi{background:var(--green);color:#fff}
.ofs .fi svg{width:16px;height:16px}
.ofs b{display:block;font-size:13.5px;color:var(--ink)}
.ofs small{color:var(--muted);font-size:12px}
.ofs .ln{position:absolute;inset-inline-end:8px;top:17px;width:calc(100% - 52px);height:2px;background:var(--line)}
.ofs.done .ln{background:#cfe6b8}
.notebox{margin:16px 18px;padding:14px;border:1px solid var(--line);border-radius:var(--r-s);background:var(--bg);color:var(--ink);font-size:13.5px;min-height:70px}
.convbox{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px}
.convbox b{display:block;font-size:14.5px;color:var(--ink)}
.convbox small{color:var(--muted);font-size:12.5px;display:block;margin-top:3px;max-width:520px;line-height:1.6}
.convbox .btn{margin-inline-start:auto}
.mrate{display:flex;align-items:center;gap:9px;min-width:130px}
.mrate .track{flex:1;height:6px;border-radius:99px;background:var(--line-2);overflow:hidden}
.mrate .track i{display:block;height:100%;background:var(--green);border-radius:99px}
.gcell b.ok{color:var(--green-d)}
@media(max-width:1400px){.orsum{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.flowbar,.orflow{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.flowstep .farr,.ofs .ln{display:none}.orsum{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.flowbar,.orflow,.orsum{grid-template-columns:minmax(0,1fr)!important}}

.fb input[type="date"],.fb input[type="text"],.fb input[type="search"]{height:40px;padding:0 12px;border:1px solid #d3dae7;border-radius:var(--r-s);background:#fff;color:var(--ink);font-size:14px;font-weight:500;outline:0}
.fb input[type="date"]:focus,.fb input[type="text"]:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.07)}

/* ===== clarity & comfort layer: consistent inputs, legible text, comfortable at any width ===== */
:root{--ctl-h:42px;--ctl-bd:#d3dae7;--ring:0 0 0 3px rgba(22,35,63,.09)}
input,select,textarea{font-family:inherit}
input[type=text],input[type=email],input[type=number],input[type=date],input[type=time],input[type=search],input[type=tel],select,textarea{
 width:100%;min-height:var(--ctl-h);padding:10px 13px;border:1px solid var(--ctl-bd);border-radius:var(--r-s);background:#fff;
 font-size:14px;font-weight:500;color:var(--ink);outline:0;transition:border-color .15s,box-shadow .15s;line-height:1.4}
select{height:var(--ctl-h);padding-inline-end:34px;appearance:none;
 background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6c80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:left 12px center}
body[dir="rtl"] select{background-position:left 12px center}
body[dir="ltr"] select{background-position:right 12px center}
textarea{min-height:96px;padding:11px 13px;resize:vertical;line-height:1.7}
input:focus,select:focus,textarea:focus{border-color:var(--navy);box-shadow:var(--ring)}
input::placeholder,textarea::placeholder{color:#98a3b4;font-weight:400}
input:disabled,select:disabled,textarea:disabled{background:var(--line-2);color:var(--muted);cursor:not-allowed}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.inp input,.dt input,.check input,input[type=checkbox],input[type=radio]{min-height:0}
.inp input{padding:0;border:0;background:none;box-shadow:none!important;height:100%}
.inp input:focus{border:0}
.check input,input[type=checkbox],input[type=radio]{width:18px;height:18px;padding:0;accent-color:var(--navy);border-radius:4px}
/* labels: one voice everywhere */
.fb label,.fld label,.upl label,.actrow.sm.col label,.field label{font-size:13px;font-weight:700;color:var(--ink);line-height:1.5}
.fld label code,.fb label code,.upl label code,.actrow.sm.col label code{font-family:"IBM Plex Sans",monospace;font-size:11px;font-weight:600;color:var(--muted-2);background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
.fld,.fb{gap:8px}
/* filter bar: comfortable, no cramped selects */
.fbar{gap:14px 12px;padding:16px}
.fb{min-width:190px}
.fb.grow{min-width:260px}
.fb .inp{height:var(--ctl-h);min-height:var(--ctl-h)}
.fbar .btn,.fbar .vtoggle{height:var(--ctl-h);align-self:flex-end}
.vtoggle button{min-width:40px}
/* tables: readable, sticky head, comfortable rows */
.tw{overflow:auto;-webkit-overflow-scrolling:touch}
.tw table{min-width:760px}
.tw thead th{position:sticky;top:0;z-index:3}
table.grp thead th{z-index:4}
table.grp th.act,table.grp td.act{z-index:5}
th{font-size:13px;padding:13px 16px;color:#37455e}
td{padding:14px 16px;font-size:14px;line-height:1.6}
tbody tr:hover{background:#f7faff}
.gcell small,.wcell small,.clcard-h small,.clcard-k small,.idk small,.cvh-k small,.atd-f small,.kv span,.tli small,.mtile small,.att-t small,.alert small,.qans .empty{font-size:12px}
.empty,.crumb,.tfoot{font-size:13px}
/* touch targets */
.icon-btn{width:40px;height:40px}
.rowacts{gap:4px}
.seg button{padding:8px 15px;min-height:34px}
.seg.tabs button{padding:10px 16px;min-height:38px}
.vtabs button{min-height:40px}
.lnk{min-height:32px}
/* modals: never taller than the screen, always readable */
.ov{align-items:center;padding:20px}
.modal{max-height:calc(100vh - 40px);display:flex;flex-direction:column}
.modal-b{overflow:auto}
.modal .fgrid{padding:0;gap:14px}
/* section headings: clear hierarchy */
.sec-h b{font-size:14.5px}
.card-h h3{font-size:16px}
.card-h p{font-size:13px}
/* ===== comfortable at any width ===== */
@media(max-width:1280px){.fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-kpi{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1024px){
 .fbar{padding:14px}
 .fb,.fb.grow{min-width:calc(50% - 6px);flex:1 1 calc(50% - 6px)}
 .fbar .btn,.fbar .vtoggle{align-self:stretch}
 .page-head{flex-direction:column;align-items:flex-start;gap:14px}
 .actions{width:100%}
 .actions .btn{flex:1}
 .statgrid,.statgrid.four,.statgrid.six{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .page{padding:16px}
 .fgrid,.grid-kpi,.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}
 .fb,.fb.grow{min-width:100%;flex:1 1 100%}
 .statgrid,.statgrid.four,.statgrid.six{grid-template-columns:minmax(0,1fr)}
 .seg.tabs{overflow:auto;flex-wrap:nowrap}
 .seg.tabs button{white-space:nowrap}
 .vtabs{overflow:auto;flex-wrap:nowrap}
 .vtabs button{white-space:nowrap}
 .modal{max-height:calc(100vh - 24px)}
 .ov{padding:12px}
 .atd-facts{gap:16px}
 .idk{grid-template-columns:repeat(2,1fr)}
 .acts2{grid-template-columns:1fr}
 h1{font-size:22px}
}
@media print{.side,.top,.actions,.fbar,.vtoggle,.rowacts{display:none!important}.page{padding:0}}

/* keep embedded/compact controls compact */
.inp input,.dt input{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;min-height:0!important;height:100%}
.exp input,.exp select{min-height:36px;height:36px;padding:0 10px;font-size:13px}
select.statsel{height:var(--ctl-h);min-height:var(--ctl-h)}
.ctl.sel.mini,.ctl.file{min-height:var(--ctl-h)}

/* header crumb: never wraps, never taller than the bar */
.crumb{min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.crumb b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
@media(max-width:1100px){.crumb{font-size:0}.crumb b{font-size:15px}}

/* recruitment contracts */
.rcq{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.qf{display:inline-flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-size:13px;font-weight:600;color:var(--body);transition:.15s;min-height:40px}
.qf svg{width:15px;height:15px;color:var(--muted)}
.qf b{background:var(--line-2);color:var(--ink);border-radius:999px;padding:1px 9px;font-size:12px}
.qf:hover{border-color:#cdd5e1}
.qf.on{background:var(--navy);border-color:var(--navy);color:#fff}
.qf.on svg{color:#fff}.qf.on b{background:rgba(255,255,255,.2);color:#fff}
.qf.clear{color:var(--muted)}
.sec-h .ms{margin-inline-start:auto;font-size:12px;color:var(--muted);font-weight:500}
.stagegrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px 18px}
.stcard{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid var(--line);border-radius:var(--r-s);padding:12px;text-align:start;transition:.15s;background:#fff}
.stcard:hover{border-color:#cdd5e1}
.stcard.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.07)}
.stcard .sct{font-size:12px;font-weight:600;color:var(--muted);line-height:1.4}
.stcard b{font-size:20px;color:var(--ink);line-height:1}
.bulkbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--navy);border-radius:var(--r);padding:14px 18px;margin-bottom:16px}
.bb-t{display:flex;align-items:center;gap:9px;color:#fff}
.bb-t svg{width:17px;height:17px;color:#a8d97a}
.bb-badges{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.bstage{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.1);color:#dbe3ef;border-radius:999px;padding:6px 13px;font-size:12.5px;font-weight:600}
.bstage svg{width:13px;height:13px;color:#a8d97a}
.bstage b{background:#fff;color:var(--navy);border-radius:999px;padding:0 7px;font-size:11.5px}
.bb-a{display:flex;gap:8px}
.bb-a .btn-ghost{background:transparent;border-color:rgba(255,255,255,.22);color:#fff}
.bb-a .btn-ghost:hover{background:rgba(255,255,255,.09)}
.bb-a .btn-primary{background:#fff;color:var(--navy)}
.btn.sm{height:34px;min-height:34px;padding:0 12px;font-size:12.5px}
.btn.sm:disabled{opacity:.45;cursor:not-allowed}
.gcell small.bad{color:var(--red);font-weight:600}
.ovgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line-2)}
.ovgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ovgrid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.ovc{background:var(--surface);padding:16px 18px;display:flex;flex-direction:column;gap:5px}
.ovl{font-size:12px;color:var(--muted);font-weight:600}
.ovv{font-size:16px;color:var(--ink);font-weight:700;line-height:1.4}
.ovm{font-size:12px;color:var(--muted-2)}
.curstage{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px}
.cs-t{display:flex;flex-direction:column;gap:7px}
.cs-t small{font-size:12.5px;color:var(--muted)}
.tag.big{font-size:14px;padding:7px 15px}
.stimeline{position:relative;padding:20px 18px 8px}
.stimeline:before{content:"";position:absolute;inset-inline-start:36px;top:26px;bottom:26px;width:2px;background:var(--line)}
.sitem{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:12px;margin-inline-start:36px}
.sitem:before{content:"";position:absolute;inset-inline-start:-43px;top:20px;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid var(--line)}
.sitem.current{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.06)}
.sitem.current:before{border-color:var(--green);background:var(--green)}
.si-h{display:flex;align-items:center;gap:10px}
.si-n{width:24px;height:24px;border-radius:7px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.si-name{flex:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.si-name b{font-size:14.5px;color:var(--ink)}
.si-dur{font-size:12.5px;font-weight:700;color:var(--navy);background:var(--navy-soft);border-radius:999px;padding:4px 11px;white-space:nowrap}
.sitem.current .si-dur{background:var(--green-soft);color:var(--green-d)}
.si-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}
.si-d{background:var(--bg);border-radius:var(--r-s);padding:9px 12px}
.si-d small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.si-d b{font-size:13px;color:var(--ink)}
.si-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--muted)}
.si-by,.si-inf{display:inline-flex;align-items:center;gap:6px}
.si-by svg,.si-inf svg{width:13px;height:13px}
.si-by strong{color:var(--ink)}
.si-inf{color:var(--amber)}
.si-note{margin-top:10px;background:var(--bg);border-inline-start:3px solid var(--navy);border-radius:var(--r-s);padding:9px 12px;font-size:12.5px;color:var(--body)}
@media(max-width:1400px){.stagegrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.stagegrid{grid-template-columns:repeat(3,minmax(0,1fr))}.ovgrid,.ovgrid.three,.ovgrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.stagegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ovgrid,.ovgrid.three,.ovgrid.four{grid-template-columns:minmax(0,1fr)}.si-dates{grid-template-columns:1fr}}

/* stat grids: real borders instead of a show-through container background */
.ovgrid,.ovgrid.three,.ovgrid.four{background:transparent;gap:0}
.ovc{border-inline-end:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.ovgrid>.ovc:last-child{border-inline-end:0}
.ovgrid.three>.ovc:last-child{grid-column:1/-1}
@media(max-width:1100px){.ovgrid.three>.ovc:last-child{grid-column:1/-1}}

.statwrap{padding:0}
.sec-h.toggler{width:100%;text-align:start;padding:15px 18px}
.sec-h.toggler .chev{margin-inline-start:8px;display:flex;color:var(--muted)}
.sec-h.toggler:hover{background:var(--bg)}
.stagegroups{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line)}
.sgroup{padding:14px 18px 16px}
.sgroup+.sgroup{border-top:1px solid var(--line-2)}
.sg-h{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.sg-h svg{width:15px;height:15px;color:var(--muted)}
.sg-h b{font-size:13px;color:var(--ink)}
.sg-n{margin-inline-start:auto;background:var(--line-2);color:var(--ink);border-radius:999px;padding:2px 11px;font-size:12.5px;font-weight:700}
.sgroup.done .sg-h svg{color:var(--green-d)}
.sgroup.done .sg-n{background:var(--green-soft);color:var(--green-d)}
.sgroup.closed .sg-h svg{color:var(--red)}
.sgroup.closed .sg-n{background:var(--red-soft);color:var(--red)}
.sgroup .stagegrid{padding:0}

/* compact stage pipeline */
.pipe{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.pg{display:inline-flex;align-items:center;gap:9px;flex:1;min-width:190px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px;min-height:56px;transition:.15s;text-align:start}
.pg svg{width:17px;height:17px;color:var(--muted);flex:none}
.pg-t{flex:1;font-size:13px;font-weight:600;color:var(--body);line-height:1.35}
.pg b{font-size:20px;color:var(--ink);line-height:1}
.pg:hover{border-color:#cdd5e1}
.pg.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.07)}
.pg.run svg{color:var(--navy)}
.pg.done svg{color:var(--green-d)}.pg.done b{color:var(--green-d)}
.pg.closed svg{color:var(--red)}.pg.closed b{color:var(--red)}
.pg.detail{flex:0 0 auto;min-width:0;color:var(--navy)}
.pg.detail .pg-t{color:var(--navy);flex:0 0 auto}
.pg.detail svg{color:var(--navy)}
.pipeline{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line)}
.prow{display:flex;align-items:flex-start;gap:14px;padding:14px 18px}
.prow+.prow{border-top:1px solid var(--line-2)}
.prow-t{flex:0 0 150px;font-size:12.5px;font-weight:700;color:var(--ink);padding-top:8px}
.pchips{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.pchip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:7px 13px;background:#fff;font-size:12.5px;font-weight:600;color:var(--body);min-height:36px;transition:.15s}
.pchip svg{width:14px;height:14px;color:var(--muted)}
.pchip b{background:var(--line-2);color:var(--ink);border-radius:999px;padding:1px 8px;font-size:12px}
.pchip:hover{border-color:#cdd5e1}
.pchip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.pchip.on svg{color:#fff}.pchip.on b{background:rgba(255,255,255,.22);color:#fff}
.prow.done .pchip b{background:var(--green-soft);color:var(--green-d)}
.prow.closed .pchip b{background:var(--red-soft);color:var(--red)}
.prow.done .pchip.on b,.prow.closed .pchip.on b{background:rgba(255,255,255,.22);color:#fff}
@media(max-width:900px){.prow{flex-direction:column;gap:9px}.prow-t{flex:none;padding:0}}

/* tighter above-the-fold stack on the contracts screen */
.pipe{gap:8px;margin-bottom:12px}
.pg{min-width:160px;min-height:48px;padding:9px 14px;gap:8px}
.pg b{font-size:18px}
.pg-t{font-size:12.5px}
.rcq{gap:8px;margin-bottom:12px}
.qf{padding:7px 13px;min-height:36px;font-size:12.5px}
.page-head.compact,.page-head{margin-bottom:16px}

.pg.post svg{color:var(--green-d)}.pg.post b{color:var(--green-d)}
.prow.post .pchip b{background:var(--green-soft);color:var(--green-d)}
.prow.post .pchip.on b{background:rgba(255,255,255,.22);color:#fff}
.sgroup.post .sg-h svg,.sgroup.post .sg-n{color:var(--green-d)}

/* bidi-fragile values: Latin/numeric inputs stay LTR inside the RTL layout */
input[dir="ltr"]{direction:ltr;text-align:start;unicode-bidi:isolate}
body[dir="rtl"] input[dir="ltr"]{text-align:right}

/* restore the dropdown chevron on every select (class rules used the background shorthand) */
.fb select,.fld select,select.statsel,.cvopts select,.modal select,.upl select,.fbar select,.ctl select,.exp select,.filters select,.card select,.page select{
 background-color:#fff;
 background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6c80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;
 padding-block:0;padding-inline-start:13px;padding-inline-end:34px;
 appearance:none}
body[dir="rtl"] .fb select,body[dir="rtl"] .fld select,body[dir="rtl"] select.statsel,body[dir="rtl"] .cvopts select,body[dir="rtl"] .modal select,body[dir="rtl"] .upl select,body[dir="rtl"] .fbar select,body[dir="rtl"] .exp select,body[dir="rtl"] .filters select,body[dir="rtl"] .page select{background-position:left 12px center}
body[dir="ltr"] .fb select,body[dir="ltr"] .fld select,body[dir="ltr"] select.statsel,body[dir="ltr"] .cvopts select,body[dir="ltr"] .modal select,body[dir="ltr"] .upl select,body[dir="ltr"] .fbar select,body[dir="ltr"] .exp select,body[dir="ltr"] .filters select,body[dir="ltr"] .page select{background-position:right 12px center}
.exp select{padding-inline-end:28px;background-size:13px}

/* housing */
.segb{margin-inline-start:7px;background:var(--line-2);color:var(--ink);border-radius:999px;padding:1px 8px;font-size:11.5px;font-weight:700}
.seg.tabs button.on .segb{background:rgba(255,255,255,.22);color:#fff}
.depcell{min-width:170px}
.dpb{display:block;height:6px;border-radius:99px;background:var(--line-2);overflow:hidden;margin-bottom:5px}
.dpb i{display:block;height:100%;background:var(--amber);border-radius:99px}
.depcell small{font-size:12px;color:var(--muted)}
.readygrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}
.ready{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:var(--r-s);padding:13px 15px}
.ready svg{width:19px;height:19px;flex:none}
.ready.ok{border-color:#cfe6b8;background:#f6fbf1}
.ready.ok svg{color:var(--green-d)}
.ready.no svg{color:#c3ccda}
.ready b{display:block;font-size:13.5px;color:var(--ink)}
.ready small{color:var(--muted);font-size:12px}
.depsteps{display:flex;flex-direction:column;gap:0;padding:18px}
.dstep{position:relative;display:flex;align-items:flex-start;gap:12px;padding-bottom:20px}
.dstep .ds-n{width:30px;height:30px;border-radius:50%;background:var(--line-2);color:var(--muted);display:grid;place-items:center;flex:none;z-index:1;font-size:12.5px;font-weight:700}
.dstep .ds-n svg{width:15px;height:15px}
.dstep.done .ds-n{background:var(--green);color:#fff}
.dstep.current .ds-n{background:var(--amber);color:#fff}
.dstep .dl{position:absolute;inset-inline-start:14px;top:30px;bottom:0;width:2px;background:var(--line)}
.dstep.done .dl{background:#cfe6b8}
.dstep b{display:block;font-size:14px;color:var(--ink)}
.dstep small{color:var(--muted);font-size:12.5px}
.chipset{display:flex;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:8px 14px;background:#fff;font-size:12.5px;font-weight:600;color:var(--body);min-height:36px;transition:.15s}
.chip svg{width:14px;height:14px;color:var(--muted)}
.chip:hover{border-color:#cdd5e1}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.chip.on svg{color:#fff}
@media(max-width:760px){.readygrid{grid-template-columns:minmax(0,1fr)}}

/* rental */
.progwrap{display:flex;align-items:center;gap:12px}
.progbar{flex:1;height:12px;border-radius:99px;background:var(--line-2);overflow:hidden}
.progbar i{display:block;height:100%;background:linear-gradient(90deg,var(--green),var(--green-d));border-radius:99px}
.progwrap b{font-size:16px;color:var(--ink)}
.proglegend{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px;font-size:12.5px;color:var(--muted)}
.proglegend b{color:var(--ink);font-size:13.5px}
.terms{display:flex;flex-direction:column;gap:2px;padding:6px 0}
.term{display:flex;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line-2)}
.term:last-child{border-bottom:0}
.term .tn{width:24px;height:24px;border-radius:7px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none;font-size:12px;font-weight:700}
.term b{display:block;font-size:13.5px;color:var(--ink);margin-bottom:3px}
.term p{margin:0;font-size:13px;color:var(--body);line-height:1.75}
.signgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}
.signbox{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px dashed var(--line);border-radius:var(--r);padding:18px}
.signbox.done{border-style:solid;border-color:#cfe6b8;background:#f7fbf3}
.signbox .sh{width:36px;height:36px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}
.signbox .sh svg{width:17px;height:17px}
.signbox b{font-size:14px;color:var(--ink)}
.signbox small{color:var(--muted);font-size:12.5px}
.pkgs{display:flex;flex-direction:column;gap:8px;padding:14px 16px}
.pkg{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:var(--r-s);padding:10px 12px;background:#fff;text-align:start;transition:.15s}
.pkg b{font-size:13px;color:var(--ink);flex:1}
.pkg small{color:var(--muted);font-size:11.5px}
.pkg span{font-size:13px;font-weight:700;color:var(--navy)}
.pkg:hover{border-color:#cdd5e1}
.pkg.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.06)}
/* print overlay */
.printov{position:fixed;inset:0;z-index:120;background:#e9edf3;display:flex;flex-direction:column;overflow:hidden}
.printov.hidden{display:none}
.printwrap{display:flex;flex-direction:column;height:100%}
.printbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--surface);border-bottom:1px solid var(--line);padding:12px 20px;flex:none}
.pb-t{display:flex;align-items:center;gap:10px}
.pb-t svg{width:19px;height:19px;color:var(--navy)}
.pb-t b{display:block;font-size:14.5px;color:var(--ink)}
.pb-t small{color:var(--muted);font-size:12.5px}
.pb-tabs{display:flex;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:4px}
.pb-tabs button{padding:7px 15px;border-radius:999px;font-size:13px;font-weight:600;color:var(--body)}
.pb-tabs button.on{background:var(--navy);color:#fff}
.pb-a{display:flex;gap:8px;margin-inline-start:auto}
.printscroll{flex:1;overflow:auto;padding:24px;display:flex;justify-content:center;align-items:flex-start}
.printsheet{width:210mm;min-height:297mm;background:#fff;color:#1a2436;box-shadow:0 18px 50px -18px rgba(11,19,35,.3);padding:18mm 16mm;font-size:11pt;line-height:1.75}
.ps-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid var(--navy);padding-bottom:12px;margin-bottom:18px}
.ps-brand{display:flex;gap:12px;align-items:flex-start}
.ps-brand img{height:52px;object-fit:contain}
.ps-brand b{display:block;font-size:12.5pt;color:var(--navy)}
.ps-brand small{display:block;font-size:8.5pt;color:#5f6c80;line-height:1.6}
.ps-meta{text-align:end}
.ps-meta h1{font-size:16pt;margin:0;color:var(--navy)}
.ps-meta small{font-size:9pt;color:#5f6c80}
.ps-nos{display:flex;flex-direction:column;gap:2px;margin-top:8px;font-size:9.5pt}
.ps-sec{margin-bottom:16px}
.ps-sec h2{font-size:11.5pt;color:var(--navy);margin:0 0 10px;padding-bottom:5px;border-bottom:1px solid #dfe5ee}
.ps-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ps-party{border:1px solid #dfe5ee;border-radius:6px;padding:11px 13px}
.ps-tag{display:inline-block;background:var(--navy);color:#fff;font-size:8.5pt;border-radius:4px;padding:2px 9px;margin-bottom:6px}
.ps-party b{display:block;font-size:11pt;margin-bottom:6px}
.ps-kv{width:100%;border-collapse:collapse;font-size:9.5pt}
.ps-kv th{text-align:start;font-weight:600;color:#5f6c80;padding:4px 0;width:44%;vertical-align:top}
.ps-kv td{padding:4px 0;color:#1a2436}
.ps-t{width:100%;border-collapse:collapse;font-size:9.5pt;margin-top:4px}
.ps-t th{background:#f2f5f9;color:var(--navy);text-align:start;padding:7px 9px;border:1px solid #dfe5ee;font-size:9pt}
.ps-t td{padding:7px 9px;border:1px solid #dfe5ee}
.ps-p{font-size:10pt;margin:12px 0 0;line-height:1.9}
.ps-total{margin:12px 0 0;font-size:10pt;background:#f6f8fc;border-inline-start:3px solid var(--green);padding:8px 11px;border-radius:4px}
.ps-note{font-size:9.5pt;color:#5f6c80;margin:10px 0 0}
.ps-terms{margin:0;padding-inline-start:18px;font-size:9.5pt;line-height:1.9}
.ps-terms li{margin-bottom:7px}
.ps-terms b{color:var(--navy)}
.ps-sum{display:flex;gap:20px;align-items:flex-start;margin-top:14px}
.ps-tot{max-width:340px;flex:1}
.ps-tot th{width:60%}
.ps-tot td{text-align:end;font-weight:600}
.ps-grand th,.ps-grand td{border-top:1px solid #dfe5ee;border-bottom:1px solid #dfe5ee;color:var(--navy);font-size:10.5pt;padding:7px 0}
.ps-due td{color:#c0392b}
.ps-qr{display:flex;flex-direction:column;align-items:center;gap:6px;margin-inline-start:auto}
.qrbox{width:84px;height:84px;border:1px solid #dfe5ee;border-radius:6px;display:grid;place-items:center;color:var(--navy)}
.qrbox svg{width:56px;height:56px}
.ps-qr small{font-size:8pt;color:#5f6c80;text-align:center}
.ps-sign{margin-top:22px}
.ps-sig{position:relative;border:1px solid #dfe5ee;border-radius:6px;padding:12px 14px 16px;min-height:92px}
.ps-sig>span{font-size:9.5pt;font-weight:600;color:var(--navy)}
.ps-sig .ps-line{display:block;height:1px;background:#9aa6b8;margin:26px 0 6px}
.ps-sig small{font-size:8.5pt;color:#5f6c80}
.ps-stamp{position:absolute;inset-inline-end:12px;top:34px;transform:rotate(-8deg);border:2px solid var(--green-d);color:var(--green-d);border-radius:6px;padding:4px 10px;font-size:9pt;font-weight:700}
.ps-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dfe5ee;padding-top:8px;margin-top:22px;font-size:8.5pt;color:#5f6c80}
.ps-short{min-height:auto}
@media(max-width:900px){.signgrid{grid-template-columns:minmax(0,1fr)}.printsheet{width:100%;padding:14px}.ps-two{grid-template-columns:1fr}.ps-sum{flex-direction:column}}
@media print{
 body.printing #app{display:none!important}
 body.printing .printov{position:static;background:#fff;overflow:visible}
 body.printing .printbar{display:none!important}
 body.printing .printscroll{padding:0;overflow:visible;display:block}
 body.printing .printsheet{width:auto;min-height:auto;box-shadow:none;padding:0}
 @page{size:A4;margin:14mm}
}

.termpage{border:1px solid var(--line);border-radius:var(--r);margin:0 18px 14px}
.tp-h{display:flex;align-items:center;gap:9px;padding:11px 14px;background:var(--bg);border-bottom:1px solid var(--line);border-radius:var(--r) var(--r) 0 0}
.tp-h svg{width:15px;height:15px;color:var(--navy)}
.tp-h b{font-size:13px;color:var(--ink)}
.tp-n{margin-inline-start:auto;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700}
.termsec{padding:12px 14px;border-bottom:1px solid var(--line-2)}
.termsec:last-child{border-bottom:0}
.termsec h4{margin:0 0 8px;font-size:13px;color:var(--navy)}
.termsec .term{padding:8px 0;border-bottom:0}
.termedit{display:flex;flex-direction:column;gap:12px;padding:16px 18px}
.termrow{display:grid;grid-template-columns:1.6fr .5fr 3fr .5fr .6fr auto;gap:10px;align-items:start;border:1px solid var(--line);border-radius:var(--r-s);padding:12px}
.termrow label{display:block;font-size:12px;font-weight:700;color:var(--ink);margin-bottom:6px}
.termrow label code{margin-inline-start:5px}
.icon-btn.danger{color:var(--red);align-self:center;margin-top:18px}
.ps-ph{color:#8a95a8;font-style:italic}
.ps-termpage h2{display:flex;align-items:center;gap:10px}
.ps-pg{margin-inline-start:auto;font-size:9pt;color:#5f6c80;font-weight:400}
.ps-termsec{margin-bottom:12px}
.ps-termsec h3{font-size:10.5pt;color:#1a2436;margin:0 0 6px}
@media(max-width:1100px){.termrow{grid-template-columns:1fr 1fr;}.termrow .tr-c{grid-column:1/-1}}
@media print{.ps-break{break-before:page;page-break-before:always}}

/* labelled data lines inside table cells */
table.grp td{vertical-align:top}
table.grp thead th{border-inline-start:1px solid var(--line)}
table.grp thead th:first-child{border-inline-start:0}
table.grp tbody td{border-inline-start:1px solid var(--line-2)}
table.grp tbody td:first-child{border-inline-start:0}
table.grp tbody tr+tr td{border-top:1px solid var(--line)}
.fcell{display:flex;flex-direction:column;gap:5px;min-width:170px}
.fhead{display:flex;align-items:flex-start;gap:8px;padding-bottom:6px;margin-bottom:2px;border-bottom:1px dashed var(--line)}
.fhead svg{width:16px;height:16px;color:var(--navy);flex:none;margin-top:2px}
.fhead b{display:block;font-size:14px;font-weight:700;color:var(--ink);line-height:1.4}
.fhead small{display:block;font-size:11.5px;color:var(--muted);line-height:1.5}
.fline{display:grid;grid-template-columns:15px auto 1fr;align-items:baseline;gap:7px;font-size:12.5px;line-height:1.6}
.fline svg{width:13px;height:13px;color:#9aa5b6;align-self:center}
.fline .fdot{width:5px;height:5px;border-radius:50%;background:#c6cedb;justify-self:center;align-self:center}
.fl-l{color:var(--muted);white-space:nowrap}
.fl-l:after{content:":"}
.fl-v{color:var(--ink);font-weight:600}
.fline.ok .fl-v{color:var(--green-d)}
.fline.ok svg{color:var(--green-d)}
.fline.warn .fl-v{color:var(--red);font-weight:700}
.fline.warn svg{color:var(--red)}
.fline .tag{font-weight:600}
@media(max-width:900px){.fcell{min-width:150px}.fline{grid-template-columns:13px auto 1fr;font-size:12px}}

.ltr:not(td),.num.ltr:not(td){direction:ltr;unicode-bidi:isolate}

/* Latin numerals never reorder inside RTL text */
.num:not(td):not(th){direction:ltr;unicode-bidi:isolate}

/* stat cards: icon tile + big number + share bar */
.pipe .pg{align-items:stretch;gap:12px;padding:14px 16px;min-height:78px;border-radius:var(--r)}
.pg-i{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy);align-self:center}
.pg-i svg{width:18px;height:18px}
.pg.post .pg-i{background:var(--green-soft);color:var(--green-d)}
.pg.closed .pg-i{background:var(--red-soft);color:var(--red)}
.pg-b{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.pg-t{font-size:12.5px;font-weight:700;color:var(--muted);line-height:1.3;white-space:normal}
.pg-m{display:flex;align-items:baseline;gap:8px}
.pg-m b{font-size:24px;font-weight:800;color:var(--ink);letter-spacing:-.5px;line-height:1}
.pg-m small{font-size:11.5px;font-weight:700;color:var(--muted-2)}
.pg-bar{display:block;height:4px;border-radius:99px;background:var(--line-2);overflow:hidden}
.pg-bar i{display:block;height:100%;border-radius:99px;background:var(--navy)}
.pg.post .pg-bar i{background:var(--green)}
.pg.post .pg-m b{color:var(--green-d)}
.pg.closed .pg-bar i{background:var(--red)}
.pg.closed .pg-m b{color:var(--red)}
.pg.detail{align-items:center;min-height:0;padding:12px 16px}
.pg.detail .pg-t{color:var(--navy)}
/* text hierarchy inside labelled cells */
.fhead b{color:#0f1a2e;font-size:14.5px}
.fl-l{color:#7b879a;font-weight:500}
.fl-v{color:#1d2839}
.fl-v .num{color:#16233f;font-weight:700}
.fline svg{color:#aab3c2}

/* ===== global table system: tinted header, clear rows, readable colors ===== */
.tw table{border-collapse:separate;border-spacing:0}
.tw thead th{background:#eef2f8;color:#1b2740;font-size:12.5px;font-weight:800;letter-spacing:0;padding:13px 16px;border-bottom:2px solid #c7d2e4;white-space:nowrap;box-shadow:inset 0 -1px 0 #c7d2e4}
.tw thead th+th{border-inline-start:1px solid #dbe3ef}
.tw thead th.act,.tw thead th.chk{background:#e7edf6}
.tw tbody td{border-bottom:1px solid var(--line);color:#1d2839;font-size:13.5px}
.tw tbody tr:nth-child(even) td{background:#fbfcfe}
.tw tbody tr:hover td{background:#f3f7fd}
.tw tbody tr:last-child td{border-bottom:0}
.tw tbody td+td{border-inline-start:1px solid var(--line-2)}
.tw tbody td b,.tw tbody td .fl-v{color:#16233f}
.tw tbody td .num{font-weight:700;color:#16233f}
.tw tbody td small,.tw tbody td .fl-l{color:#7b879a}
.tw tbody td .empty{color:#9aa5b6}
.tw tbody td .due{color:var(--red);font-weight:800}
.tw tbody td .ok{color:var(--green-d)}
table.grp tbody tr+tr td{border-top:0}
table.grp tbody tr.selrow td{background:#eef4ff}
.tw thead th:first-child{border-start-start-radius:var(--r-s)}
.tw thead th:last-child{border-start-end-radius:var(--r-s)}
.tw tbody td.act,table.grp tbody td.act{background:var(--surface)}
.tw tbody tr:nth-child(even) td.act{background:#fbfcfe}
.tw tbody tr:hover td.act{background:#f3f7fd}
table.grp tbody tr.selrow td.act{background:#eef4ff}

/* sticky-header tables: keep the tinted head opaque above scrolled rows */
.tw thead th{position:sticky;top:0;z-index:3}
table.grp th.act,table.grp td.act{position:sticky;inset-inline-end:0;z-index:4;background:#e7edf6}
table.grp tbody td.act{background:var(--surface);box-shadow:-6px 0 10px -8px rgba(11,19,35,.18)}
body[dir="ltr"] table.grp tbody td.act{box-shadow:6px 0 10px -8px rgba(11,19,35,.18)}
table.grp tbody tr:nth-child(even) td.act{background:#fbfcfe}
table.grp tbody tr:hover td.act{background:#f3f7fd}
table.grp tbody tr.selrow td.act{background:#eef4ff}

/* stage stripe + semantic value colors */
tr.stripe td:first-child{position:relative}
tr.stripe td:first-child:before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--line)}
tr.s-g td:first-child:before{background:var(--green)}
tr.s-a td:first-child:before{background:var(--amber)}
tr.s-r td:first-child:before{background:var(--red)}
tr.s-n td:first-child:before{background:var(--navy)}
.fline.money .fl-v .money{color:#0f1a2e;font-weight:800;font-size:14px}
.fline.money .cur{color:#7b879a;font-weight:600;font-size:11.5px}
.fline.ok .fl-v{color:var(--green-d);font-weight:700}
.fline.ok svg{color:var(--green)}
.fline.wait .fl-v{color:#9a6b12;font-weight:700}
.fline.wait svg{color:var(--amber)}
.fline.warn .fl-v{color:var(--red);font-weight:700}
.fline.warn svg{color:var(--red)}

/* ===== finance: accounts tree ===== */
.acsum{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);font-weight:600}
.acsum .num{color:var(--ink);font-weight:700}
.actree{padding:8px 0}
.acnode.sel>.acrow{background:#eef4ff}
.acrow{display:flex;align-items:center;gap:9px;padding:9px 18px;padding-inline-start:calc(18px + var(--d)*22px);border-bottom:1px solid var(--line-2);transition:background .12s;flex-wrap:nowrap;min-height:42px}
.acrow:hover{background:#f7faff}
.actog{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;color:var(--muted);flex:none}
.actog:hover{background:var(--line-2);color:var(--ink)}
.actog svg{width:15px;height:15px}
.actog.dot{position:relative}
.actog.dot:after{content:"";width:5px;height:5px;border-radius:50%;background:#cbd4e1}
.acicon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;flex:none}
.acicon svg{width:14px;height:14px}
.acicon.folder{background:var(--navy-soft);color:var(--navy)}
.acicon.leaf{background:var(--line-2);color:var(--muted)}
.aclvl{width:22px;height:20px;border-radius:5px;background:var(--line-2);color:var(--muted);display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}
.accode{font-size:13px;font-weight:700;color:#315a63;border-bottom:1px dashed #315a63;padding:0 3px}
.accode:hover{color:#1f434a}
.acname{font-size:13.5px;font-weight:600;color:var(--ink);text-align:start;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acname:hover{color:var(--navy)}
.acside{font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 9px}
.acside.debtor{background:var(--red-soft);color:var(--red)}
.acside.creditor{background:#e7effb;color:#1d4ed8}
.actrail{display:flex;align-items:center;gap:10px;flex:none;margin-inline-start:auto}
.acbal{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap;flex:none}
.acbal .num{color:var(--ink);font-weight:800}
.acbal.neg .num{color:var(--red)}
.acdc{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);white-space:nowrap}
.acdc small{color:#9aa5b6}
.acdc .num{color:var(--body);font-weight:600}
.acacts{display:flex;gap:3px;flex:none;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s}
.acrow:hover .acacts,.acnode.sel>.acrow .acacts{opacity:1;pointer-events:auto}

.acacts .icon-btn{width:30px;height:30px}
.acacts .icon-btn svg{width:14px;height:14px}
.acbranch{position:relative}
/* ===== finance: report catalog ===== */
.repgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 18px}
.repcard{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:var(--r-s);padding:13px 14px;background:#fff;text-align:start;transition:.15s}
.repcard:hover{border-color:var(--navy);box-shadow:0 8px 20px -14px rgba(11,19,35,.3)}
.rc-i{width:34px;height:34px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.rc-i svg{width:16px;height:16px}
.rc-b{flex:1;min-width:0}
.rc-b b{display:block;font-size:13.5px;color:var(--ink)}
.rc-b small{color:var(--muted);font-size:11.5px}
.rc-b code{font-family:"IBM Plex Sans",monospace;font-size:10.5px;color:var(--muted-2)}
.rc-go{width:15px;height:15px;color:#c3ccda;flex:none}
/* ===== finance: report tables ===== */
table.rep tfoot th{background:#eef2f8;color:#16233f;font-size:13px;font-weight:800;padding:13px 16px;border-top:2px solid #c7d2e4}
table.rep tbody tr.lvl-1 td{background:#f4f7fc;font-weight:700}
table.rep tbody tr.lvl-2 td{background:#fafbfe}
table.rep tbody td .empty{color:#bcc5d3}
.netcard{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px}
.netcard b{display:block;font-size:15px;color:var(--ink)}
.netcard small{color:var(--muted);font-size:12.5px}
.netcard .netval{font-size:26px;font-weight:800;letter-spacing:-.5px}
.netcard .netval small{font-size:13px;font-weight:600;color:var(--muted)}
.netcard.pos{border-color:#cfe6b8;background:#f7fbf3}
.netcard.pos .netval{color:var(--green-d)}
.netcard.neg{border-color:#f3c9c6;background:#fdf6f5}
.netcard.neg .netval{color:var(--red)}
.pnote code{font-family:"IBM Plex Sans",monospace;font-size:11.5px;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
@media(max-width:1200px){.repgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1400px){.acdc small{display:none}}
@media(max-width:1200px){.acdc{display:none}}
@media(max-width:1000px){.aclvl,.acside{display:none}}
@media(max-width:900px){.repgrid{grid-template-columns:minmax(0,1fr)}.acbal{font-size:12px}.acbal .num{font-weight:700}}

/* finance ops */
.actrow.sm.total{background:var(--navy-soft);border-radius:var(--r-s);margin:8px 12px 12px;padding:11px 14px}
.actrow.sm.total b,.actrow.sm.total .num{color:var(--navy);font-weight:800}
.acard .actrow.sm .num,.card .actrow.sm .num{font-weight:700;color:var(--ink)}
/* ZATCA tax invoice document */
.ivmodal{width:min(1000px,100%)}
.ivwrap{background:#eef1f6;padding:18px}
.ivdoc{background:#fff;border:1px solid #d8dfea;border-radius:8px;padding:26px 28px;font-size:12px;color:#1d2839}
.ivbrand{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:2px solid var(--navy)}
.ivbrand img{height:52px;object-fit:contain}
.ivbrand-t b{display:block;font-size:15px;color:var(--ink)}
.ivbrand-t small{color:var(--muted);font-size:11.5px}
.ivtitle{text-align:center;padding:14px 0 16px}
.ivtitle h1{font-size:20px;color:var(--navy);margin:0}
.ivtitle p{margin:2px 0 0;color:var(--muted);font-size:12px;letter-spacing:1px}
.ivmeta{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:start;padding:14px;border:1px solid #dde3ee;border-radius:8px;background:#fafbfd}
.ivmeta-i{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px dashed #e3e8f0;font-size:11.5px}
.ivmeta-i strong{color:var(--muted);font-weight:600}
.ivmeta-i span{color:var(--ink);font-weight:700}
.ivmeta-c.ltr{direction:ltr}
.ivqr-box{width:96px;height:96px;border:1px solid #d8dfea;border-radius:8px;display:grid;place-items:center;gap:4px;background:#fff;color:var(--navy)}
.ivqr-box svg{width:44px;height:44px}
.ivqr-box small{font-size:9.5px;color:var(--muted)}
.ivqr-ph{width:96px;height:96px;border:1px dashed #d8a3a3;border-radius:8px;display:grid;place-items:center;text-align:center;font-size:9.5px;color:#a94442;background:#fdf6f5;padding:6px}
.ivsec{margin-top:16px}
.ivsec-t{display:flex;justify-content:space-between;gap:10px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;padding:7px 12px;border-radius:6px;margin:0 0 10px}
.ivfields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ivf{border:1px solid #e3e8f0;border-radius:6px;padding:8px 10px}
.ivf-l{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;color:var(--muted);font-weight:600;margin-bottom:3px}
.ivf-v{font-size:12px;font-weight:700;color:var(--ink)}
.ivlines{margin-top:18px}
.ivlines-t{display:flex;justify-content:space-between;gap:10px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;padding:7px 12px;border-radius:6px 6px 0 0}
.ivlines table,.ivsum table{width:100%;border-collapse:collapse;font-size:11px}
.ivlines th{background:#eef2f8;color:#1b2740;font-weight:700;padding:7px 6px;border:1px solid #dde3ee;font-size:10px;line-height:1.4}
.ivlines th span{color:var(--muted);font-weight:600;font-size:9px}
.ivlines td{padding:8px 6px;border:1px solid #e3e8f0;text-align:center;direction:ltr}
.ivlines td.desc{text-align:start;direction:rtl;font-weight:600;color:var(--ink)}
.ivlines td.desc small{display:block;color:var(--muted);font-weight:400;font-size:10px}
.ivsum{margin-top:16px;display:flex;justify-content:flex-start}
.ivsum table{width:min(420px,100%)}
.ivsum th{text-align:start;padding:8px 10px;border:1px solid #e3e8f0;background:#fafbfd;font-size:10.5px;color:var(--body);font-weight:600;line-height:1.4}
.ivsum th span{color:var(--muted);font-size:9.5px}
.ivsum td{padding:8px 10px;border:1px solid #e3e8f0;font-weight:700;color:var(--ink);text-align:end}
.ivsum tr.grand th{background:var(--navy);color:#fff}
.ivsum tr.grand td{background:var(--navy-soft);color:var(--navy);font-size:13px;font-weight:800}
.ivfoot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:12px;border-top:1px solid #e3e8f0;font-size:10.5px;color:var(--muted)}
@media(max-width:900px){.ivmeta{grid-template-columns:1fr}.ivfields{grid-template-columns:1fr}.ivqr-box,.ivqr-ph{margin:0 auto}}

/* grid items must be allowed to shrink so inner .tw scrolls instead of the page */
.grid-2>*,.grid-3>*,.grid-4>*,.dash2>*,.showgrid3>*,.cvform>*{min-width:0}

.nav-kid-sec{font-size:10.5px;font-weight:800;letter-spacing:.4px;color:var(--muted-2);text-transform:none;padding:10px 10px 5px;margin-top:4px;border-top:1px solid var(--line)}
.nav-kids>.nav-kid-sec:first-child{border-top:0;margin-top:0;padding-top:4px}

.tfoot.card{margin-top:0;border-top:0;border-radius:0 0 var(--r) var(--r)}

/* accounts tree: grouped by root */
.actree.grouped{padding:0}
.acgroup{border-bottom:1px solid var(--line)}
.acgroup:last-child{border-bottom:0}
.acg-h{display:flex;align-items:center;gap:12px;padding:13px 18px;background:#f4f7fc;border-bottom:1px solid var(--line)}
.acg-i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.acg-i svg{width:16px;height:16px}
.acgroup.post .acg-i{background:var(--green-soft);color:var(--green-d)}
.acgroup.closed .acg-i{background:var(--red-soft);color:var(--red)}
.acg-t{flex:1;min-width:0}
.acg-t b{display:block;font-size:14px;color:var(--ink)}
.acg-t small{color:var(--muted);font-size:11.5px}
.acg-m{display:flex;align-items:center;gap:12px;flex:none}
.acg-b{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.acg-b .num{color:var(--ink);font-weight:800}
.acg-bar{display:block;width:70px;height:5px;border-radius:99px;background:var(--line-2);overflow:hidden}
.acg-bar i{display:block;height:100%;border-radius:99px;background:var(--navy)}
.acgroup.post .acg-bar i{background:var(--green)}
.acgroup.closed .acg-bar i{background:var(--red)}
.acg-body{padding:4px 0}
.acempty{padding:14px 18px;color:var(--muted);font-size:13px}
/* cost centre tree */
.ccrow{display:flex;align-items:center;gap:9px;padding:10px 18px;padding-inline-start:calc(18px + var(--d)*22px);border-bottom:1px solid var(--line-2);flex-wrap:nowrap;min-height:46px}
.ccrow:hover{background:#f7faff}
.cctrail{display:flex;align-items:center;gap:14px;flex:none;margin-inline-start:auto}
.ccm{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);white-space:nowrap}
.ccm small{color:#9aa5b6;font-size:11px}
.ccm .num{color:var(--ink);font-weight:700}
.ccm.net .num{color:var(--green-d)}
.ccm.net.neg .num{color:var(--red)}
.ccbudget{display:flex;align-items:center;gap:7px;min-width:170px}
.ccbudget .track{flex:1;height:6px;border-radius:99px;background:var(--line-2);overflow:hidden}
.ccbudget .track i{display:block;height:100%;border-radius:99px}
.ccbudget.g .track i{background:var(--green)}.ccbudget.a .track i{background:var(--amber)}.ccbudget.r .track i{background:var(--red)}
.ccbudget b{font-size:12px;font-weight:800}
.ccbudget.g b{color:var(--green-d)}.ccbudget.a b{color:var(--amber)}.ccbudget.r b{color:var(--red)}
.ccbudget small{font-size:10.5px;color:var(--muted);white-space:nowrap}
.pnote.plain{padding:12px 16px;margin:0;background:none;border:0;color:var(--muted);font-size:12.5px;line-height:1.7}
@media(max-width:1400px){.ccbudget small{display:none}}
@media(max-width:1200px){.ccm:not(.net){display:none}.acg-bar{display:none}}
@media(max-width:900px){.ccbudget{min-width:90px}}

/* cost-centre rows: code never wraps, cap bar yields before the name */
.accode{white-space:nowrap;flex:none}
.ccrow .acname{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cctrail{gap:12px;min-width:0}
.ccbudget{flex:none}
@media(max-width:1300px){.ccbudget small{display:none}.ccbudget{min-width:120px}}
@media(max-width:1200px){.ccbudget .track{display:none}.ccbudget{min-width:0;gap:5px}.ccbudget:before{content:"";width:8px;height:8px;border-radius:50%;flex:none}.ccbudget.g:before{background:var(--green)}.ccbudget.a:before{background:var(--amber)}.ccbudget.r:before{background:var(--red)}}
@media(max-width:1000px){.ccm.net small{display:none}.cctrail{gap:9px}}
@media(max-width:820px){.ccnode .acacts{display:none}}

/* header title: horizontal ellipsis without vertical clipping */
.crumb{display:flex;align-items:center;overflow:hidden}
.crumb b{line-height:normal;overflow:visible;display:inline-block;max-width:100%;white-space:nowrap;text-overflow:ellipsis}

/* ===== clickerp-refresh.css ===== */
/* ===== Refresh: login + sidebar ===== */
/* ---- login ---- */
#login{grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--surface)}
.lg-form{padding:40px clamp(24px,6vw,88px);justify-content:center}
.lg-form>*{max-width:420px}
.lg-top{justify-content:flex-start;margin-bottom:36px}
.lg-top img{height:72px}
.h-row{align-items:flex-start;gap:10px;margin-bottom:28px}
.lg-form h1{font-size:30px;font-weight:800;text-align:start;letter-spacing:0}
.rl{background:var(--green-soft);color:var(--green-d);padding:5px 12px;font-size:12.5px}
.field{gap:8px;margin-bottom:18px}
.field label{font-size:13.5px;font-weight:700;color:var(--navy)}
.lg-form .inp{height:52px;border:1.5px solid #d3dae7;border-radius:10px;background:#fbfcfe;padding:0 16px}
.lg-form .inp:hover{border-color:#b9c3d4}
.lg-form .inp:focus-within{background:#fff;border-color:var(--green);box-shadow:0 0 0 4px rgba(122,182,72,.16)}
.lg-form .inp:focus-within svg{color:var(--green-d)}
.lg-form .inp input{font-size:15px}
.lg-form .row-between{margin-top:2px}
.lg-form .row-between a{font-size:13.5px;font-weight:700;color:var(--green-d)}
.lg-form .btn-block{height:52px;border-radius:10px;font-size:16px;font-weight:700;margin-top:26px;box-shadow:0 10px 24px -14px rgba(22,35,63,.7)}
.lg-form .btn-block:hover{background:var(--navy-2)}
.alt{margin-top:22px}
.lg-form .btn-block2{height:48px;border-radius:10px;border:1.5px solid var(--line)}
.lg-foot{margin-top:40px;padding:16px 0 0;border:0;border-top:1px solid var(--line-2);border-radius:0;background:none;color:var(--muted)}
.lg-foot .cr img{display:none}
/* art panel: framed photo on navy */
.lg-art{background:var(--navy);padding:20px;justify-content:stretch}
.lg-art:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 22px);pointer-events:none}
.lg-art .slot{inset:20px;border-radius:22px;overflow:hidden;background:var(--navy-2)}
.lg-art .scrim{inset:20px;border-radius:22px;background:linear-gradient(to top,rgba(11,19,35,.94) 0%,rgba(11,19,35,.6) 38%,rgba(11,19,35,0) 70%)}
.lg-art .cap{position:absolute;inset-inline:20px;bottom:20px;padding:48px 52px}
.lg-art .cap:before{content:"";display:block;width:44px;height:4px;border-radius:4px;background:var(--green);margin-bottom:22px}
.lg-art h2{font-size:clamp(24px,2.3vw,34px);font-weight:800;line-height:1.4;max-width:18ch;text-wrap:pretty}
.lg-art p{color:#d5dce8;font-size:15.5px;max-width:42ch;margin-top:14px;text-wrap:pretty}
/* ---- sidebar: light, clear, separated ---- */
#app{--sw:272px}
#app.collapsed{--sw:80px}
.side{background:#fff;border-inline-start:1px solid var(--line);box-shadow:none;z-index:20}
.main{position:relative;z-index:1;background:var(--bg)}
.side-head{height:84px;justify-content:flex-start;padding:0 20px;border-bottom:1px solid var(--line-2)}
.side-head img{height:52px;padding:0;background:none;border-radius:0}
#app.collapsed .side-head{justify-content:center;padding:0}
.side-search{padding:16px 16px 4px}
.side-search .inp{height:40px;background:var(--bg);border:1px solid var(--line-2);border-radius:10px}
.side-search .inp:focus-within{background:#fff;border-color:var(--green);box-shadow:0 0 0 3px rgba(122,182,72,.14)}
.nav{padding:8px 12px 24px}
.nav-group-t{font-size:11.5px;letter-spacing:.04em;color:var(--muted-2);padding:20px 12px 8px;font-weight:700}
.nav a,.nav-eh{position:relative;padding:10px 12px;border-radius:10px;border:0;font-size:14.5px;font-weight:600;color:var(--body);margin-bottom:2px}
.nav a svg,.nav-eh svg{color:#6b7a92;opacity:1}
.nav a:hover,.nav-eh:hover{background:var(--bg);color:var(--ink);border:0}
.nav a:hover svg,.nav-eh:hover svg{color:var(--navy)}
.nav a.on,.nav-eh.on{background:var(--navy);color:#fff;font-weight:700;border:0}
.nav a.on svg,.nav-eh.on svg{color:var(--green)}
.nav-eh.on .chev{color:#fff;opacity:.8}
.nav a.on .badge{background:rgba(255,255,255,.16);color:#fff}
.nav .badge{background:var(--navy-soft);color:var(--navy)}
.nav-exp.open>.nav-eh:not(.on){background:var(--bg);color:var(--ink)}
.nav-kids{margin:4px 0 10px;margin-inline-start:21px;padding-inline-start:12px;border-inline-start:1.5px solid var(--line)}
.nav-kids a{font-size:13.5px;padding:8px 10px;color:var(--muted);font-weight:500}
.nav-kids a:hover{color:var(--ink)}
.nav-kids a.on{background:var(--green-soft);color:var(--navy);font-weight:700}
.nav-kids a.on .kd{background:var(--green-d)}
.side-foot{margin:10px 12px 12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--bg)}
#app.collapsed .side-foot{margin:10px 8px;padding:10px 6px;justify-content:center}
#app.collapsed .side-foot .icon-btn{display:none}
.side-foot .av{border-radius:10px;background:var(--navy)}
@media(max-width:1200px){#login{grid-template-columns:1fr}.lg-top{justify-content:center}.h-row{align-items:center}.lg-form h1{text-align:center}}

/* ---- v2: form card stands out ---- */
.lg-form{background:var(--bg);background-image:radial-gradient(circle at 1px 1px,#dfe4ee 1px,transparent 0);background-size:22px 22px}
.lg-form>.lg-card{max-width:480px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:40px 40px 32px;box-shadow:0 1px 2px rgba(16,26,46,.04),0 30px 60px -30px rgba(16,26,46,.35)}
.lg-card>*{max-width:none;width:100%}
.lg-card .lg-top{justify-content:center;margin-bottom:24px}
.lg-card .lg-top img{height:64px}
.lg-card .h-row{align-items:center;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--line-2)}
.lg-card h1{text-align:center;font-size:28px}
.lg-card .support{margin-top:22px;justify-content:center}
.lg-form>.lg-foot{max-width:480px;margin-top:20px;padding:0 6px;border:0;font-size:12.5px}
/* ---- v2: sidebar organized into clear sections ---- */
.nav{padding:4px 14px 24px}
.nav-group-t{display:flex;align-items:center;gap:10px;padding:22px 4px 10px;font-size:12px;font-weight:800;color:var(--navy);letter-spacing:0}
.nav-group-t:after{content:"";flex:1;height:1px;background:var(--line-2)}
.nav>.nav-group-t:first-child{padding-top:10px}
.nav a,.nav-eh{gap:12px;padding:6px 8px;min-height:46px;font-size:14.5px}
.nav a svg,.nav-eh svg:not(.chev){box-sizing:content-box;width:18px;height:18px;padding:8px;border-radius:9px;background:var(--bg);color:var(--navy);flex:none;transition:.14s}
.nav a:hover svg,.nav-eh:hover svg:not(.chev){background:#fff;box-shadow:0 0 0 1px var(--line)}
.nav a.on,.nav-eh.on{background:var(--navy-soft);color:var(--navy)}
.nav a.on svg,.nav-eh.on svg:not(.chev){background:var(--green);color:#fff;box-shadow:none}
.nav-eh.on .chev{color:var(--navy)}
.nav a.on .badge{background:var(--navy);color:#fff}
.nav .badge{min-width:26px;text-align:center;padding:2px 8px;font-size:11.5px;background:#fff;border:1px solid var(--line);color:var(--navy)}
.nav-kids{margin:2px 0 8px;margin-inline-start:25px;padding-inline-start:14px}
.nav-kids a{min-height:36px;padding:7px 10px}
.nav-kids a .kd{display:none}
.nav-kids a.on{background:var(--green-soft);color:var(--navy)}
#app.collapsed .nav-group-t{display:block;padding:12px 0 6px;font-size:0}
#app.collapsed .nav-group-t:after{display:block}
#app.collapsed .nav a,#app.collapsed .nav-eh{justify-content:center;padding:4px 0}
@media(max-width:600px){.lg-form>.lg-card{padding:28px 20px 24px;border-radius:16px}}

.nav-eh .cnt{margin-inline-start:auto;font-size:11.5px;color:var(--muted-2);font-weight:700}
.nav-eh .chev{margin-inline-start:6px!important}
.nav-eh.on .cnt{color:var(--navy)}
#app.collapsed .nav-eh .cnt{display:none}
.nav-kids a .kd{display:none}
.nav a>span:not(.badge),.nav-eh>span:not(.cnt){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav .badge,.nav-eh .cnt,.nav-eh .chev{flex:none}
.side-foot .sf-txt{min-width:0;flex:1}
.sf-txt b,.sf-txt span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ---- v4: two-tier sidebar (dept rail + pages panel) ---- */
#app{--sw:340px}
#app.collapsed{--sw:76px}
.side{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}
.side>*:not(.rail){grid-column:2}
.rail{grid-column:1;grid-row:1/-1;background:var(--navy);display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 8px;overflow-y:auto;scrollbar-width:none}
.rail a,.rail button{width:60px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 2px;border-radius:12px;color:#9fadc4;background:none;border:0;cursor:pointer;position:relative;text-decoration:none;font:inherit}
.rail svg{width:20px;height:20px}
.rail small{font-size:10.5px;font-weight:700;line-height:1.3;text-align:center}
.rail a:hover,.rail button:hover{background:rgba(255,255,255,.07);color:#fff}
.rail .on{background:rgba(255,255,255,.12);color:#fff}
.rail .on svg{color:var(--green)}
.rail .here:before{content:"";position:absolute;inset-inline-start:-8px;top:14px;bottom:14px;width:3px;border-radius:3px;background:var(--green)}
.rail .rl-home{height:52px;justify-content:center}
.rl-sep{width:32px;height:1px;background:rgba(255,255,255,.14);margin:6px 0 8px;flex:none}
.side-head{justify-content:flex-start}
.nav a svg[data-lucide="dot"],.nav a .lucide-dot{display:none}
.nav>a:not(:has(svg:not(.lucide-dot))){padding-inline-start:14px;min-height:40px}
#app.collapsed .side>*:not(.rail){display:none}
#app.collapsed .side{grid-template-columns:76px}
.top .crumb{flex:none;min-width:max-content}
.top .top-search{flex:1 1 auto;min-width:0}
.lg-form .row-between a{white-space:nowrap}
@media(max-width:1280px) and (min-width:901px){
#app{--sw:76px}
.side{width:76px;grid-template-columns:76px 264px;transition:width .18s,box-shadow .18s}
#app:not(.peek) .side>*:not(.rail){display:none}
#app.peek .side{width:340px;box-shadow:0 24px 60px -20px rgba(16,26,46,.45)}
#app.peek:after{content:"";position:fixed;inset:0;z-index:15;background:rgba(16,26,46,.18)}
.top .top-search{display:none}}
/* ---- v5: quick access + typography ---- */
.nav a,.nav-eh{font-size:14.5px;font-weight:500;letter-spacing:0}
.nav a.on{font-weight:700}
.nav-sec-t{display:flex;align-items:center;gap:8px;padding:18px 4px 10px;font-size:13px;font-weight:700;color:var(--navy)}
.nav-sec-t svg{width:16px;height:16px;color:var(--green-d)}
.nav-sec-t.dept{margin-top:14px;padding:16px 4px 10px;border-top:1px solid var(--line-2);font-size:16px}
.nav-sec-t.dept svg{width:18px;height:18px;color:var(--navy)}
.nav-sec-t small{margin-inline-start:auto;font-size:11.5px;font-weight:600;color:var(--muted-2);background:var(--bg);border-radius:20px;padding:2px 9px}
.qgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nav .qt{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:84px;padding:12px;margin:0;border-radius:12px;background:var(--bg);border:1px solid var(--line-2);color:var(--ink);font-size:13px;font-weight:600;line-height:1.35}
.nav .qt:hover{background:#fff;border-color:var(--line);box-shadow:0 6px 16px -10px rgba(16,26,46,.35)}
.nav .qt .qi{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff;box-shadow:0 0 0 1px var(--line-2)}
.nav .qt .qi svg{width:17px;height:17px;padding:0;background:none;color:var(--navy)}
.nav .qt .ql{white-space:normal;overflow:visible;text-wrap:balance}
.nav .qt .qb{position:absolute;top:10px;inset-inline-end:10px;font-size:11px;font-weight:700;padding:1px 7px;border-radius:20px;background:var(--navy);color:#fff}
.nav .qt.on{background:var(--navy);border-color:var(--navy);color:#fff}
.nav .qt.on .qi{background:var(--green);box-shadow:none}
.nav .qt.on .qi svg{color:#fff}
.nav .qt.on .qb{background:#fff;color:var(--navy)}
.nav .qt span{flex:none;min-width:0;overflow:visible;white-space:normal;text-overflow:clip}
.nav .qt .qtop{display:flex;align-items:center;justify-content:space-between;width:100%}
.nav .qt .qi{width:32px;height:32px}
.nav .qt .qb{position:static}
/* ---- v6: formal list sidebar ---- */
.nav{padding:6px 14px 24px}
.nav-sec-t{padding:18px 10px 8px;font-size:12px;font-weight:700;color:var(--muted);gap:8px}
.nav-sec-t.dept{margin-top:12px;padding:18px 10px 8px;font-size:12px;color:var(--muted)}
.nav-sec-t.dept svg{display:none}
.nav-sec-t small{background:none;padding:0;font-size:12px;color:var(--muted-2)}
.nav a,.nav-eh{position:relative;gap:12px;min-height:40px;padding:8px 10px;margin-bottom:1px;border-radius:8px;font-size:14px;font-weight:500;color:var(--body)}
.nav a svg,.nav-eh svg:not(.chev){width:18px;height:18px;padding:0;border-radius:0;background:none;box-shadow:none;color:#7a879c}
.nav a:hover,.nav-eh:hover{background:var(--bg);color:var(--ink)}
.nav a:hover svg,.nav-eh:hover svg:not(.chev){background:none;box-shadow:none;color:var(--navy)}
.nav a.on,.nav-eh.on{background:var(--navy-soft);color:var(--navy);font-weight:700}
.nav a.on:before{content:"";position:absolute;inset-inline-start:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--green)}
.nav a.on svg,.nav-eh.on svg:not(.chev){background:none;color:var(--navy)}
.nav .badge{min-width:0;padding:1px 8px;border:0;border-radius:6px;background:var(--bg);color:var(--muted);font-size:11.5px;font-weight:700}
.nav a.on .badge{background:#fff;color:var(--navy)}
.nav>a:not(:has(svg:not(.lucide-dot))){padding-inline-start:12px;min-height:38px;font-size:13.5px}
/* ---- v7: clarity ---- */
.nav a,.nav-eh{min-height:42px;font-size:15px;font-weight:500;color:#1f2a40}
.nav a svg,.nav-eh svg:not(.chev){width:20px;height:20px;stroke-width:2;color:#46536b}
.nav a.on,.nav-eh.on{font-weight:700;color:var(--navy)}
.nav a.on svg,.nav-eh.on svg:not(.chev){color:var(--green-d);stroke-width:2.2}
.nav>a:not(:has(svg:not(.lucide-dot))){font-size:14.5px;min-height:40px}
.nav-sec-t,.nav-sec-t.dept{font-size:12.5px;font-weight:700;color:#5b6880}
.nav .badge{font-size:12px;color:#46536b}
.nav-eh .cnt{font-size:12px;color:#7a879c}
.nav-kids{margin-inline-start:22px;border-inline-start:1.5px solid #dfe4ec}
.nav-kids a{font-size:14px;color:#3a465c;min-height:38px}
.nav-kids a.on{background:var(--navy-soft);color:var(--navy);font-weight:700}
.nav-kids a.on:before{display:none}
.side-search .inp input{font-size:14px}
.rail svg{width:22px;height:22px;stroke-width:1.9}
.rail small{font-size:11.5px;color:#c3cddc}
.rail .on small{color:#fff}
/* ---- v8: theme font (Cairo) ---- */
.side,.side input,.rail small{font-family:inherit}
.nav a,.nav-eh{font-weight:600;line-height:1.5}
.nav a.on,.nav-eh.on{font-weight:800}
.nav-kids a{font-weight:600}
.nav-sec-t,.nav-sec-t.dept{font-weight:800}
.rail small{font-weight:700;line-height:1.4}
/* ---- v9: softer type, brand in rail ---- */
.nav a,.nav-eh{font-size:14.5px;font-weight:500;color:#2c374b;line-height:1.55}
.nav a.on,.nav-eh.on{font-weight:700;color:var(--navy)}
.nav-kids a{font-size:14px;font-weight:500;color:#4a5569}
.nav-kids a.on{font-weight:700}
.nav a svg,.nav-eh svg:not(.chev){width:19px;height:19px;stroke-width:1.8;color:#5d6a80}
.nav a.on svg,.nav-eh.on svg:not(.chev){stroke-width:2}
.nav-sec-t,.nav-sec-t.dept{font-size:12px;font-weight:700;color:#7a879c}
.nav .badge{font-weight:600;color:#5d6a80}
.rail small{font-weight:600;color:#b4c0d2}
.rail svg{stroke-width:1.8}
.rail .rl-brand{width:52px;height:52px;padding:0;border-radius:14px;overflow:hidden;margin-bottom:2px;background:none}
.rail .rl-brand img{width:100%;height:100%;object-fit:cover;display:block}
.rail .rl-brand:hover{background:none;box-shadow:0 0 0 2px rgba(255,255,255,.18)}
.rail .rl-brand.on{background:none;box-shadow:0 0 0 2px var(--green)}
.side-head{height:76px;padding:0 24px}
.side-head .side-logo{height:34px;width:auto;object-fit:contain;padding:0;background:none}
/* ---- v10: grid home icon, aligned brand header, stronger type ---- */
.rail{padding-top:0}
.rail .rl-home{flex:none;width:76px;height:64px;margin:0 -8px 8px;border-radius:0;border-bottom:1px solid rgba(255,255,255,.1);justify-content:center;background:none}
.rail .rl-home svg{width:24px;height:24px;padding:9px;box-sizing:content-box;border-radius:12px;background:rgba(122,182,72,.16);color:var(--green)}
.rail .rl-home:hover{background:none}
.rail .rl-home:hover svg{background:rgba(122,182,72,.26)}
.rail .rl-home.on{background:none}
.rail .rl-home.on svg{background:var(--green);color:#fff}
.rl-sep{display:none}
.side-head{height:64px;padding:0 20px;border-bottom:1px solid var(--line)}
.side-head .side-logo{height:40px}
.nav a,.nav-eh{color:#111827;font-weight:600}
.nav a.on,.nav-eh.on{color:var(--navy);font-weight:700}
.nav-kids a{color:#1f2937;font-weight:600}
.nav a svg,.nav-eh svg:not(.chev){color:#1f2937;stroke-width:2}
.nav a.on svg,.nav-eh.on svg:not(.chev){color:var(--green-d)}
.nav-sec-t,.nav-sec-t.dept{color:#4b5563;font-weight:700}
.nav .badge{color:#1f2937}
@media(max-width:1280px) and (min-width:901px){.rail .rl-home{width:76px}}
/* ---- v11: pins ---- */
.nav a .pin{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-inline-start:2px;border-radius:7px;color:#6b7686;opacity:0;transition:opacity .12s,background .12s}
.nav a .pin svg{width:15px!important;height:15px!important;stroke-width:2!important;color:inherit!important;padding:0!important;background:none!important}
.nav a:hover .pin,.nav a .pin:focus{opacity:1}
.nav a .pin:hover{background:#fff;color:var(--navy);box-shadow:0 0 0 1px var(--line)}
.nav a .pin.is{color:var(--green-d)}
.nav a>span:not(.badge):not(.pin){flex:1}
.pin-empty{display:flex;gap:10px;align-items:flex-start;margin:2px 4px 6px;padding:12px;border:1px dashed var(--line);border-radius:10px;font-size:13px;line-height:1.6;color:#4b5563}
.pin-empty svg{flex:none;width:16px;height:16px;margin-top:3px;color:var(--green-d)}
@media(hover:none){.nav a .pin{opacity:1}}
.nav a>span.pin{flex:none;width:26px;min-width:26px;overflow:visible}
.nav a>span.badge{flex:none}
.nav-sec-t{white-space:nowrap}
.nav-sec-t small{flex:none}
.nav a>span.pin{position:absolute;top:50%;transform:translateY(-50%);margin:0;background:#fff;box-shadow:0 0 0 1px var(--line)}
body[dir=rtl] .nav a>span.pin{left:8px;right:auto}
body[dir=ltr] .nav a>span.pin{right:8px;left:auto}
.nav a:hover>.badge{visibility:hidden}
.nav a,.nav-eh{font-size:15px}
.nav-kids a,.nav>a:not(:has(svg:not(.lucide-dot))){font-size:14.5px}
.lg-art .slot img{display:block;width:100%;height:100%;object-fit:cover}

/* ===== v1.3.1 — login (redesign): split screen, account switch, user preview, powered-by ===== */
#login.lx{display:grid;grid-template-columns:minmax(440px,560px) minmax(0,1fr);min-height:100vh;background:#fff;padding:0}
.lx-form{display:flex;flex-direction:column;min-height:100vh;padding:24px clamp(24px,4vw,56px)}
.lx-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lx-head .lang{position:static}
.lx-body{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:400px;margin:0 auto;padding:40px 0}
#login.lx h1{font-size:28px;font-weight:800;color:var(--navy);letter-spacing:0;line-height:1.35;margin:0;text-align:start}
.lx-title{margin-bottom:24px}
.lx-title p{margin:6px 0 0;color:var(--muted);font-size:14.5px}
.lx-title p b{color:var(--navy)}
.acct{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--bg);margin-bottom:22px}
.acct button,.acct a{display:flex;align-items:center;justify-content:center;gap:8px;height:42px;border:0;border-radius:9px;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--muted);cursor:pointer;text-decoration:none}
.acct svg{width:17px;height:17px}
.acct .on{background:var(--navy);color:#fff;box-shadow:0 6px 14px -8px rgba(22,35,63,.8)}
.acct .on svg{color:var(--green)}
.mtabs{display:flex;gap:22px;border-bottom:1px solid var(--line-2);margin-bottom:20px}
.mtabs button,.mtabs a{position:relative;display:flex;align-items:center;gap:7px;padding:0 2px 12px;border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--muted-2);cursor:pointer;text-decoration:none}
.mtabs svg{width:16px;height:16px}
.mtabs .on{color:var(--navy)}
.mtabs .on:after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2.5px;border-radius:3px;background:var(--green)}
#login.lx .field{gap:7px;margin-bottom:16px}
#login.lx .field label{font-size:13.5px;font-weight:700;color:var(--navy);display:flex;justify-content:space-between;align-items:center}
#login.lx .field label a{font-size:13px;font-weight:700;color:var(--green-d);text-decoration:none}
#login.lx .inp{height:50px;border:1.5px solid #d6dce8;border-radius:10px;background:#fff;padding:0 14px}
#login.lx .inp:hover{border-color:#b9c3d4}
#login.lx .inp:focus-within{border-color:var(--navy);box-shadow:0 0 0 4px rgba(22,35,63,.08)}
#login.lx .inp:focus-within svg{color:var(--navy)}
#login.lx .inp input{font-size:15px}
#login.lx .inp.err{border-color:var(--red)}
#login.lx .inp.dis{background:var(--bg);opacity:.75}
.idtag{font-size:11.5px;font-weight:700;color:var(--green-d);background:var(--green-soft);border-radius:20px;padding:2px 9px;white-space:nowrap}
#login.lx .btn-block{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:50px;border-radius:10px;font-size:15.5px;font-weight:700;margin-top:20px;text-decoration:none}
#login.lx .btn-primary.btn-block{box-shadow:0 12px 24px -16px rgba(22,35,63,.9)}
#login.lx .btn-primary.btn-block:hover{background:var(--navy-2)}
#login.lx .btn-block svg{width:18px;height:18px}
#login.lx .btn-ghost.btn-block{background:#fff;border:1.5px solid var(--line);color:var(--navy);margin-top:12px;box-shadow:none}
#login.lx .btn-ghost.btn-block:hover{border-color:#b9c3d4}
#login.lx .row-between{margin-top:2px}
.secure{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;font-size:12.5px;color:var(--muted-2)}
.secure svg{width:14px;height:14px;color:var(--green-d)}
.lx-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:18px;border-top:1px solid var(--line-2);font-size:12.5px;color:var(--muted)}
.lx-foot nav{display:flex;align-items:center;gap:14px}
.lx-foot nav a{color:var(--muted);text-decoration:none;font-weight:600}
.lx-foot nav a:hover{color:var(--navy)}
.pw-by{display:inline-flex;align-items:center;gap:10px;padding:5px 14px 5px 6px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;box-shadow:0 1px 2px rgba(16,26,46,.04)}
.pw-by .pb-logo{height:26px;padding:3px 8px;border-radius:999px;background:var(--bg);display:flex;align-items:center}
.pw-by .pb-logo img{height:20px;width:auto}
.pw-by span{display:flex;flex-direction:column;line-height:1.2;direction:ltr;text-align:left}
.pw-by small{font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2)}
.pw-by b{font-size:13px;font-weight:800;color:var(--navy)}
.pw-by b em{font-style:normal;color:var(--green-d)}
/* art + user preview */
.lx-art{position:relative;margin:14px;border-radius:24px;overflow:hidden;background:var(--navy);min-height:calc(100vh - 28px);display:flex;flex-direction:column;justify-content:space-between;color:#fff}
.lx-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lx-art:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(11,19,35,.82) 0%,rgba(11,19,35,.25) 34%,rgba(11,19,35,.35) 58%,rgba(11,19,35,.92) 100%)}
.lx-cap,.uprev{position:relative;z-index:2}
.lx-cap{padding:40px 44px 0}
.lx-cap:before{content:"";display:block;width:40px;height:4px;border-radius:4px;background:var(--green);margin-bottom:18px}
.lx-cap h2{font-size:clamp(22px,2.1vw,30px);font-weight:800;line-height:1.4;max-width:20ch;margin:0;text-wrap:balance}
.lx-cap p{color:#d5dce8;font-size:15px;max-width:44ch;margin:10px 0 0}
.uprev{margin:0 24px 24px;padding:18px;border-radius:18px;background:rgba(13,22,38,.66);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.uprev-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.uprev-h b{display:flex;align-items:center;gap:8px;font-size:15px}
.uprev-h b svg{width:17px;height:17px;color:var(--green)}
.uprev-h small{font-size:12px;color:#b6c1d4}
.ugrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.u{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#fff;text-decoration:none;cursor:pointer;font:inherit;text-align:start;transition:background .15s ease,border-color .15s ease}
.u:hover,.u:focus-visible{background:rgba(255,255,255,.13);border-color:rgba(122,182,72,.6);outline:none}
.u .av{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;font-weight:800;font-size:14px;color:var(--navy)}
.u .ut{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.u .ut b{font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u .ut small{font-size:11.5px;color:#aebad0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u>svg{width:16px;height:16px;color:#8696b4;flex:none}
.u:hover>svg{color:var(--green)}
.uprev-f{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:12px;font-size:11.5px;color:#b6c1d4}
.uprev-f b{color:#fff;direction:ltr;display:inline-block;font-weight:700}
@media(max-width:1100px){#login.lx{grid-template-columns:1fr}.lx-form{min-height:auto}.lx-art{min-height:auto;gap:28px}.lx-cap{padding:32px 28px 0}}
@media(max-width:560px){.ugrid{grid-template-columns:1fr}.uprev{margin:0 12px 12px}.lx-art{margin:8px;border-radius:18px}}
/* shared state pieces */
.org-id{display:flex;align-items:center;gap:12px}
.org-mark{position:relative;width:44px;height:44px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:800;flex:none;overflow:hidden}
.org-mark:after{content:"";position:absolute;inset-inline-start:-10px;bottom:-10px;width:24px;height:24px;border-radius:50%;background:var(--green)}
.org-mark span{position:relative;z-index:1}
.org-txt b{display:block;font-size:15px;font-weight:800;color:var(--navy);line-height:1.3}
.org-txt small{font-size:12px;color:var(--muted)}
.hint{font-size:12.5px;color:var(--muted);margin:-8px 0 12px}
.lg-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;font-size:13.5px;font-weight:600;line-height:1.6;margin-bottom:18px}
.lg-alert svg{width:18px;height:18px;flex:none;margin-top:2px}
.lg-alert.red{background:var(--red-soft);color:#a8322b}
.lg-alert.navy{background:var(--navy-soft);color:var(--navy)}
.lg-back{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--muted);text-decoration:none;margin-bottom:16px;align-self:flex-start}
.lg-back:hover{color:var(--navy)}
.lg-back svg{width:16px;height:16px}
.lg-lead{font-size:14.5px;color:var(--body);line-height:1.8;margin:0 0 20px}
.lg-lead b{color:var(--navy);direction:ltr;display:inline-block}
.lg-lead a{color:var(--green-d);font-weight:700;margin-inline-start:6px;text-decoration:none}
.otp{display:flex;gap:10px;direction:ltr;justify-content:space-between;margin:4px 0 14px}
.otp input{width:100%;max-width:58px;height:60px;border:1.5px solid #d6dce8;border-radius:10px;background:#fff;text-align:center;font:inherit;font-size:24px;font-weight:800;color:var(--navy);outline:none}
.otp input:focus{border-color:var(--navy);box-shadow:0 0 0 4px rgba(22,35,63,.08)}
.otp.err input{border-color:var(--red);color:var(--red)}
.otp-meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);margin-bottom:6px}
.otp-meta b{color:var(--navy);font-variant-numeric:tabular-nums}
.otp-meta a{color:var(--green-d);font-weight:700;text-decoration:none}
.opt-links{display:flex;flex-direction:column;gap:8px;margin:10px 0 4px}
.opt-links a,.opt-links span{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--body);text-decoration:none}
.opt-links svg{width:16px;height:16px;color:var(--muted)}
.opt-links .soon{opacity:.55}
.opt-links .soon em{font-style:normal;font-size:11px;font-weight:700;background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:1px 8px}
#login.lx .check{margin-top:10px}
.demo-tip{text-align:center;font-size:12.5px;color:var(--muted);margin-top:14px}
.demo-tip b{color:var(--navy);direction:ltr;display:inline-block}
.pw-meter{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:-8px 0 6px}
.pw-meter i{height:4px;border-radius:4px;background:var(--line)}
.pw-meter.s4 i{background:var(--green)}
.pw-meter.s2 i:nth-child(-n+2){background:var(--amber)}
.pw-lvl{font-size:12px;font-weight:700;color:var(--green-d);text-align:end;margin-bottom:10px}
.pw-rules{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0 0 18px;padding:12px 14px;background:var(--bg);border-radius:10px;list-style:none}
.pw-rules li{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.pw-rules li svg{width:14px;height:14px}
.pw-rules li.ok{color:var(--green-d);font-weight:600}
.lg-steps{display:flex;align-items:center;gap:8px;margin-top:22px}
.lg-steps .st{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--muted-2)}
.lg-steps .st i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;background:var(--bg);border:1px solid var(--line)}
.lg-steps .st.on{color:var(--navy)}
.lg-steps .st.on i{background:var(--navy);color:#fff;border-color:var(--navy)}
.lg-steps .ln{flex:1;height:1.5px;background:var(--line)}
.inline-btn{display:flex;gap:8px}
.inline-btn .inp{flex:1}
.inline-btn .btn{height:50px;border-radius:10px;padding:0 16px;white-space:nowrap;text-decoration:none;display:flex;align-items:center}
.br-list{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.br{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.br:hover{border-color:#b9c3d4}
.br.on{border-color:var(--navy);box-shadow:0 0 0 4px rgba(22,35,63,.06)}
.br input{accent-color:var(--navy)}
.br .bi{width:38px;height:38px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.br.on .bi{background:var(--navy);color:var(--green)}
.br .bi svg{width:18px;height:18px}
.br .bt{flex:1}
.br .bt b{display:block;font-size:14.5px;color:var(--ink)}
.br .bt small{font-size:12.5px;color:var(--muted)}
.br .bn{font-size:12px;font-weight:700;background:var(--navy-soft);color:var(--navy);border-radius:20px;padding:2px 10px}
.br .bn.amber{background:var(--amber-soft);color:var(--amber)}
.br-user{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:13.5px;color:var(--muted)}
.br-user .av{width:32px;height:32px;border-radius:9px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.br-user b{color:var(--navy)}
.st-hero{text-align:center;padding:4px 0}
.st-ico{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px}
.st-ico svg{width:32px;height:32px}
.st-ico.red{background:var(--red-soft);color:var(--red)}
.st-ico.amber{background:var(--amber-soft);color:var(--amber)}
.st-ico.green{background:var(--green-soft);color:var(--green-d)}
#login.lx .st-hero h1{text-align:center;margin-bottom:10px}
.st-hero p{font-size:14.5px;color:var(--body);line-height:1.8;max-width:36ch;margin:0 auto}
.count{display:inline-flex;flex-direction:column;align-items:center;gap:2px;margin:20px auto 4px;padding:12px 28px;border-radius:12px;background:var(--bg);border:1px solid var(--line-2)}
.count small{font-size:12px;color:var(--muted)}
.count b{font-size:30px;font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums;direction:ltr}
.contact-card{display:flex;flex-direction:column;gap:8px;margin:20px 0 4px;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.contact-card b{font-size:14px;color:var(--navy)}
.contact-card span{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--body);direction:ltr;justify-content:flex-end}
.contact-card svg{width:15px;height:15px;color:var(--muted)}
.st-pick{position:relative;z-index:50}
.st-pick summary{list-style:none;display:flex;align-items:center;gap:6px;background:#fff;color:var(--navy);border:1px solid var(--line);border-radius:22px;padding:7px 12px;font-size:12.5px;font-weight:700;cursor:pointer}
.st-pick summary::-webkit-details-marker{display:none}
.st-pick summary svg{width:15px;height:15px;color:var(--green-d)}
.st-pick nav{position:absolute;top:42px;inset-inline-end:0;width:220px;max-height:60vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:var(--shadow)}
.st-pick nav a{display:block;padding:7px 10px;border-radius:8px;font-size:13px;color:var(--body);text-decoration:none}
.st-pick nav a:hover{background:var(--bg)}
.st-pick nav a.on{background:var(--navy);color:#fff;font-weight:700}
.lx-tools{display:flex;align-items:center;gap:8px}
.lx-cap h2{color:#fff}
.org-txt small em{font-style:normal;font-weight:800;color:var(--green-d)}
/* v1.3.1 — simplified two-step login */
#login.lx .lx-title{margin-bottom:28px}
#login.lx .lx-title p{font-weight:600}
.lx-note{font-size:12.5px;color:var(--muted-2);text-align:center;margin:16px 0 0;line-height:1.7}
.who{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px 8px 8px;margin:-8px 0 20px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font:inherit;text-align:start;cursor:pointer;text-decoration:none;color:inherit}
.who:hover{border-color:#b9c3d4}
.who .av{width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}
.who>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.who b{font-size:14px;color:var(--ink);direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.who small{font-size:11.5px;color:var(--muted)}
.who em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--green-d)}
.lx-alt{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:16px;font-size:13.5px;font-weight:700;color:var(--navy);text-decoration:none}
.lx-alt:hover{color:var(--green-d)}
.lx-alt svg{width:16px;height:16px}
.lx-alt.busy{color:var(--muted)}
.lx-demo{display:flex;align-items:center;justify-content:center;gap:7px;margin:28px auto 0;padding:8px 16px;border:1px dashed #c3cbda;border-radius:999px;background:none;font:inherit;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer}
.lx-demo:hover{border-color:var(--green);color:var(--green-d)}
.lx-demo svg{width:16px;height:16px}
.demo-m{width:min(460px,100%)}
.ulist{display:flex;flex-direction:column;gap:6px}
.ulist .u{background:#fff;border:1px solid var(--line);color:var(--ink);padding:8px 10px}
.ulist .u:hover,.ulist .u:focus-visible{background:var(--bg);border-color:var(--green)}
.ulist .u .ut small{color:var(--muted)}
.ulist .u>svg{color:var(--muted-2)}
.lx-foot nav{flex-wrap:wrap}
.lx-foot .st-pick summary{border:0;padding:0;background:none;font-size:12.5px;font-weight:600;color:var(--muted)}
.lx-foot .st-pick summary svg{display:none}
.lx-foot .st-pick nav{top:auto;bottom:28px;inset-inline-end:auto;inset-inline-start:0;flex-direction:column;gap:0;display:block}
.lx-foot .st-pick nav a{display:block}
/* v1.3.1 — login method choice, agent portal switch, prominent powered-by */
.lx-badge{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:4px 10px;border-radius:999px;background:var(--green-soft);color:var(--green-d);font-size:12.5px;font-weight:700}
.lx-badge svg{width:14px;height:14px}
.lx-q{font-size:13.5px;font-weight:700;color:var(--navy);margin:4px 0 8px}
.lx-ways{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.way{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font:inherit;text-align:start;cursor:pointer;color:var(--ink)}
.way:hover{border-color:#b9c3d4}
.way svg{width:20px;height:20px;color:var(--muted);flex:none;margin-top:2px}
.way span{display:flex;flex-direction:column;line-height:1.4}
.way b{font-size:14px}
.way small{font-size:11.5px;color:var(--muted)}
.way.on{border-color:var(--navy);background:var(--navy-soft);box-shadow:0 0 0 3px rgba(22,35,63,.06)}
.way.on svg{color:var(--navy)}
#login.lx .lx-ways+.btn-block{margin-top:18px}
.lx-agent{display:flex;align-items:center;gap:12px;width:100%;margin-top:26px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg);font:inherit;text-align:start;cursor:pointer;color:var(--ink)}
.lx-agent:hover{border-color:var(--green)}
.lx-agent .ai{width:40px;height:40px;border-radius:11px;background:var(--navy);color:var(--green);display:grid;place-items:center;flex:none}
.lx-agent .ai svg{width:20px;height:20px}
.lx-agent .at{flex:1;display:flex;flex-direction:column;line-height:1.4}
.lx-agent .at b{font-size:14px}
.lx-agent .at small{font-size:12px;color:var(--muted)}
.lx-agent>svg{width:18px;height:18px;color:var(--muted)}
.lx-agent.on .ai{background:var(--green);color:var(--navy)}
.lx-demo{margin-top:16px}
/* powered by: prominent */
.lx-foot{flex-direction:column;align-items:stretch;gap:14px}
.pw-by{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(135deg,#fff 0%,var(--bg) 100%);box-shadow:0 10px 24px -20px rgba(22,35,63,.6)}
.pw-by:hover{border-color:#c3cbda}
.pw-by .pb-logo{height:auto;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid var(--line-2)}
.pw-by .pb-logo img{height:34px}
.pw-by .pb-t{display:flex;flex-direction:column;line-height:1.25;direction:ltr;text-align:left;flex:1}
.pw-by .pb-t small{font-size:10.5px;letter-spacing:.16em}
.pw-by .pb-t b{font-size:20px;font-weight:800;letter-spacing:-.01em}
.pw-by .pb-t i{font-style:normal;font-size:12px;color:var(--muted);direction:rtl;text-align:left}
.lx-foot nav{justify-content:center}
.pw-by .pb-t{direction:rtl;text-align:start;align-items:flex-start}
.pw-by .pb-t small,.pw-by .pb-t b{direction:ltr;unicode-bidi:isolate}
.pw-by .pb-t i{text-align:start}
.lx-foot{border-top:0;padding-top:8px}
/* v1.3.1 — final login: client logo, method choice in step 2, slim powered-by, centered rhythm */
.lx-head{justify-content:flex-end}
.lx-brand{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:28px;text-align:center}
.org-logo{width:76px;height:76px;border-radius:20px;overflow:hidden;box-shadow:0 14px 28px -18px rgba(22,35,63,.8)}
.org-logo svg,.org-logo img{width:100%;height:100%;display:block;object-fit:contain}
.org-name{display:flex;flex-direction:column;line-height:1.3}
.org-name b{font-size:19px;font-weight:800;color:var(--navy)}
.org-name small{font-size:13px;font-weight:600;color:var(--muted)}
#login.lx .lx-title{text-align:center;margin-bottom:22px}
#login.lx .lx-title h1{text-align:center;font-size:24px}
#login.lx .lx-title p{font-weight:500;font-size:14px}
#login.lx .lx-badge{margin-inline:auto}
#login.lx .lx-title .lx-badge{display:inline-flex}
#login.lx .lx-title .lx-badge.hidden{display:none!important}
.mseg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:20px;border-radius:12px;background:var(--bg);border:1px solid var(--line-2)}
.mseg button,.mseg a{display:flex;align-items:center;justify-content:center;gap:7px;height:40px;border:0;border-radius:9px;background:none;font:inherit;font-size:13.5px;font-weight:700;color:var(--muted);cursor:pointer;text-decoration:none}
.mseg svg{width:16px;height:16px}
.mseg .on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(16,26,46,.12)}
.mseg .on svg{color:var(--green-d)}
.otp-to{font-size:14px;color:var(--body);line-height:1.8;margin:0;padding:14px 16px;border-radius:10px;background:var(--bg);text-align:center}
.otp-to b{color:var(--navy);direction:ltr;display:inline-block}
#login.lx .otp-to+.btn-block{margin-top:16px}
.who{margin:0 0 16px}
#login.lx .st-hero h1{font-size:24px}
/* powered by: one quiet line */
.lx-foot{flex-direction:column;align-items:center;gap:8px;padding-top:16px;border-top:1px solid var(--line-2)}
.pwb{display:inline-flex;align-items:center;gap:10px;text-decoration:none;padding:6px 4px}
.pwb small{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);direction:ltr}
.pwb img{height:26px;width:auto}
.pwb .sep{width:1px;height:18px;background:var(--line)}
.pwb b{font-size:14px;font-weight:800;color:var(--navy);direction:ltr}
.pwb b em{font-style:normal;color:var(--green-d)}
.pwb:hover b{color:var(--navy-2)}
.lx-foot nav{gap:16px;font-size:12px}
.pwb{direction:ltr}
#login.lx .h-row{display:flex;justify-content:center;margin-bottom:14px}
#login.lx .h-row h1{text-align:center;font-size:24px}
#login.lx .lg-lead{text-align:center}
#login.lx .br-user{justify-content:center}
#login.lx .h-row{flex-direction:column;align-items:center}#login.lx .h-row h1{width:100%}
/* v1.3.1 — framed form card + framed powered-by */
.lx-form{background:var(--bg);background-image:radial-gradient(circle at 1px 1px,#dde3ed 1px,transparent 0);background-size:22px 22px;justify-content:space-between;gap:16px}
.lx-body{flex:0 0 auto;margin:0 auto;width:100%;max-width:448px;padding:32px 32px 28px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 1px 2px rgba(16,26,46,.04),0 24px 48px -32px rgba(16,26,46,.45)}
.lx-brand{margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid var(--line-2)}
.org-logo{width:68px;height:68px;border-radius:18px}
.lx-agent{background:#fff}
.lx-foot{border-top:0;padding-top:0;gap:10px}
.pwb{gap:10px;padding:7px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(16,26,46,.05)}
.pwb:hover{border-color:#c3cbda}
.pwb img{height:24px}
@media(max-width:520px){.lx-body{padding:24px 18px;border-radius:16px}}
/* v1.3.1 — sidebar: client brand instead of search; tidy top bar */
.side-head{height:64px;padding:0 18px;justify-content:flex-start;border-bottom:1px solid var(--line)}
.sb-brand{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none}
.sb-logo{width:40px;height:40px;border-radius:11px;overflow:hidden;flex:none;box-shadow:0 6px 14px -10px rgba(22,35,63,.8)}
.sb-logo svg,.sb-logo img{width:100%;height:100%;display:block;object-fit:contain}
.sb-name{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.sb-name b{font-size:15px;font-weight:800;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-name small{font-size:12px;font-weight:600;color:var(--muted)}
#app.collapsed .side-head{justify-content:center;padding:0}
#app.collapsed .sb-name{display:none}
.side .nav{padding-top:12px}
.top .crumb{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;line-height:1.3}
.top .crumb span{font-size:12px;color:var(--muted)}
.top .crumb b{font-size:16px}
.top .pill span,.top .tclock b{white-space:nowrap}
.top .pill{flex:none}
.top-search kbd{white-space:nowrap;flex:none;margin-inline-start:6px}
.top-search .inp{min-width:0}
.top-search input{min-width:0}
/* v1.3.1 — sidebar sections panel */
.side .rail button.rl-first{margin-bottom:6px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0}
.side .rail button{min-height:58px}
.side .rail small{font-size:10.5px;line-height:1.25;text-align:center}
.dp-head{display:flex;align-items:center;gap:12px;padding:4px 8px 10px}
.dp-ic{width:42px;height:42px;border-radius:12px;background:var(--navy);color:var(--green);display:grid;place-items:center;flex:none}
.dp-ic svg{width:21px;height:21px}
.dp-t{display:flex;flex-direction:column;line-height:1.35;min-width:0}
.dp-t b{font-size:16px;font-weight:800;color:var(--navy)}
.dp-t small{font-size:12px;color:var(--muted)}
.dp-meta{display:flex;align-items:center;gap:8px;margin:0 8px 10px;padding:7px 10px;border-radius:9px;background:var(--bg);font-size:12px;font-weight:600;color:var(--muted)}
.dp-meta .dot{width:4px;height:4px;border-radius:50%;background:var(--line)}
.dp-meta .sn{color:var(--amber)}
.dp-list{display:flex;flex-direction:column;gap:2px;padding-bottom:6px}
.nav-soon{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:10px;font-size:14px;font-weight:600;color:var(--muted-2);cursor:default}
.nav-soon svg{width:18px;height:18px;color:#b4bdcc;flex:none}
.nav-soon span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-soon em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--amber);background:var(--amber-soft);border-radius:20px;padding:1px 8px;flex:none}
.side .nav .nav-sec-t{margin-top:8px;border-top:1px solid var(--line-2);padding-top:16px}
.side-foot{flex:none!important;height:auto!important;min-height:0!important;margin-top:auto}
/* v1.3.1 — templates + coupons */
.tplnote{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px;padding:12px 16px;border:1px dashed #c3cbda;border-radius:12px;background:#fbfcfe}
.tplnote svg{width:20px;height:20px;color:var(--green-d);flex:none;margin-top:2px}
.tplnote b{display:block;font-size:14px;color:var(--navy)}
.tplnote span{font-size:13px;color:var(--muted);line-height:1.7}
.tplstates{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.tpls{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:26px 18px}
.tpls svg{width:28px;height:28px;color:var(--muted-2)}
.tpls b{font-size:14px;color:var(--ink)}
.tpls small{font-size:12.5px;color:var(--muted)}
.fld.full{grid-column:1/-1}
.fld textarea{width:100%;border:1px solid var(--line);border-radius:var(--r-s);padding:10px 12px;font:inherit;font-size:14px;resize:vertical;background:#fff;color:var(--ink)}
.fhint{display:block;font-size:11.5px;color:var(--muted);margin-top:4px}
.fld .inp .lnk.sm{font-size:12px;font-weight:700;color:var(--green-d);background:none;border:0;cursor:pointer;flex:none}
.dropz{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px;border:1.5px dashed #c3cbda;border-radius:12px;background:var(--bg);text-align:center}
.dropz svg{width:28px;height:28px;color:var(--muted)}
.dropz b{font-size:14px;color:var(--ink)}
.dropz small{font-size:12px;color:var(--muted)}
.cpcode{display:inline-block;direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;font-weight:700;letter-spacing:.04em;color:var(--navy);background:var(--navy-soft);border:1px dashed #b9c3d4;border-radius:7px;padding:3px 9px}
.cpticket{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 14px;border-radius:14px;background:var(--navy);color:#fff;text-align:center;overflow:hidden}
.cpticket:before,.cpticket:after{content:"";position:absolute;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:#fff}
.cpticket:before{inset-inline-start:-9px}.cpticket:after{inset-inline-end:-9px}
.cpticket small{font-size:11.5px;color:#aab6cc}
.cpticket b{font-size:30px;font-weight:800;color:var(--green);line-height:1}
.cpticket .cpcode{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.3)}
.cpticket em{font-style:normal;font-size:12px;color:#c9d2e2}
.cpticket.lg{width:100%;margin-bottom:12px}
.idcard .cpticket+.st{align-self:center}
.cpprev .actrow{margin-top:12px}
.rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.rcard{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer;background:#fff}
.rcard input{margin-top:3px;accent-color:var(--navy)}
.rcard svg{width:18px;height:18px;color:var(--muted);flex:none;margin-top:2px}
.rcard span{display:flex;flex-direction:column;line-height:1.4}
.rcard b{font-size:13.5px}.rcard small{font-size:12px;color:var(--muted)}
.rcard.on{border-color:var(--navy);background:var(--navy-soft)}.rcard.on svg{color:var(--navy)}
.chipset{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.codes{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sumrows{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line-2)}
.sumrows div{display:flex;justify-content:space-between;font-size:13.5px}.sumrows span{color:var(--muted)}
.lrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line-2)}
.lrow:first-of-type{border-top:0}
.lrow b{display:block;font-size:13.5px}.lrow small{font-size:12px;color:var(--muted)}
.grid-2.wide-l{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
.grid-2.wide-l>div{display:flex;flex-direction:column;gap:16px}
tr.tot td{background:var(--bg);border-top:2px solid var(--line)}
.hbar .t.ltr,.ltr-h{direction:ltr;text-align:end}
.ltr-h{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
@media(max-width:900px){.tplstates{grid-template-columns:1fr}.grid-2.wide-l{grid-template-columns:1fr}}
/* v1.3.1 — sidebar polish: bigger client logo, simple section header, powered-by */
.side-head{height:72px}
.sb-logo{width:50px;height:50px;border-radius:13px}
.sb-name b{font-size:17px}
.sb-name small{font-size:12.5px}
.dp-head{padding:6px 10px 8px}
.dp-t b{font-size:17px}
.side .nav .nav-kid-sec{margin:14px 10px 6px;padding:0;font-size:11.5px;font-weight:800;letter-spacing:.02em;color:var(--muted-2)}
.side .nav .dp-list>.nav-kid-sec:first-child{margin-top:4px}
.side-pwb{display:flex;align-self:center;justify-content:center;margin:0 12px 12px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;gap:8px;flex:none}
.side-pwb small{font-size:9px;letter-spacing:.12em}
.side-pwb img{height:20px}
.side-pwb b{font-size:12.5px}
.side-foot{margin-bottom:8px}
#app.collapsed .side-pwb{display:none}
.side{grid-template-rows:auto minmax(0,1fr) auto auto}
.side .nav{min-height:0;overflow-y:auto}
.side-foot{margin-top:8px}
/* v1.3.1 — home lists departments; reference items; page footer powered-by */
.nav-ref{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:10px;font-size:14px;font-weight:600;color:var(--body);text-decoration:none}
.nav-ref svg{width:18px;height:18px;color:#8a97ad;flex:none}
.nav-ref span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-ref em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--navy);background:var(--navy-soft);border-radius:20px;padding:1px 8px;flex:none}
.nav-ref:hover{background:var(--bg)}
.dp-meta .rf{color:var(--navy)}
.dep-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;font:inherit;text-align:start;cursor:pointer;color:var(--ink)}
.dep-row:hover{background:var(--bg)}
.dep-row>svg:first-child{width:19px;height:19px;color:var(--navy);flex:none}
.dep-row>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.dep-row b{font-size:14.5px}
.dep-row small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dep-row>svg:last-child{width:16px;height:16px;color:var(--muted-2);flex:none}
.side-pwb{display:none!important}
.page-foot{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 24px 28px;font-size:11.5px;color:var(--muted-2)}
.page-foot .pwb{border:1px solid var(--line);border-radius:999px;background:#fff;padding:6px 14px}
.page-foot .pwb img{height:22px}
/* favorites in header */
.fav-wrap{position:relative}
.fav-pop{position:absolute;top:44px;inset-inline-end:-60px;width:300px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 48px -24px rgba(16,26,46,.45);padding:8px;z-index:60}
.fp-h{padding:8px 10px 10px;border-bottom:1px solid var(--line-2);margin-bottom:6px}
.fp-h b{display:block;font-size:14px;color:var(--navy)}.fp-h small{font-size:12px;color:var(--muted)}
.fav-pop a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;text-decoration:none;color:var(--ink)}
.fav-pop a:hover{background:var(--bg)}
.fav-pop a>svg:first-child{width:17px;height:17px;color:var(--muted);flex:none}
.fav-pop a span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.fav-pop a b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fav-pop a small{font-size:11.5px;color:var(--muted)}
.fav-pop a svg.on{width:15px;height:15px;color:var(--amber);fill:var(--amber);flex:none}
.fav-pop .fp-all{justify-content:center;margin-top:4px;border-top:1px solid var(--line-2);border-radius:0 0 9px 9px;font-size:13px;font-weight:700;color:var(--green-d)}

/* ===== v1.3.1 — layout for rebuilt Operations screens (.rx), tokens from this theme ===== */
.rx{--blue:#2f5fa8;--blue-soft:#edf2fb;--ctl-bd:#d3dae7;display:flex;flex-direction:column;gap:16px}
.rx .tag.b{background:var(--blue-soft);color:var(--blue)}
.rx .ce-pop .mi .ck{margin-inline-start:auto;color:var(--green-d)}
.rx .dp-w{position:relative;display:block;width:100%}
.rx .dp-w .dp-in{cursor:pointer;padding-inline-end:36px!important;width:100%}
.rx .dp-w .dp-ic{position:absolute;inset-inline-end:11px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}
.rx .inp .dp-w{flex:1}
.rx table.ce-act th:last-child,.rx table.ce-act td:last-child{position:sticky;inset-inline-end:0;background:#fff;z-index:1;box-shadow:6px 0 10px -8px rgba(16,26,46,.18)}
body[dir="ltr"] .rx table.ce-act th:last-child,body[dir="ltr"] .rx table.ce-act td:last-child{box-shadow:-6px 0 10px -8px rgba(16,26,46,.18)}
.rx table.ce-act thead th:last-child{background:#eef2f8}
.rx table.ce-act tbody tr:hover td:last-child{background:#f7f9fc}
.rx .sp{flex:1}
.rx .uk-tabs{display:flex;gap:4px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:6px}
.rx .uk-tabs button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 12px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--body)}
.rx .uk-tabs button em{font-style:normal;font-size:11.5px;font-weight:700;padding:0 7px;border-radius:999px;background:var(--line-2);color:var(--muted)}
.rx .uk-tabs button:hover{background:var(--bg)}
.rx .uk-tabs button.on{background:var(--navy);color:#fff}
.rx .uk-tabs button.on em{background:rgba(255,255,255,.18);color:#fff}
.rx .uk-fbar{display:flex;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px}
.rx .uk-fbar .inp{height:42px}
.rx .uk-fbar .grow{flex:1;min-width:220px}
.rx .uk-sel{height:42px;border:1px solid var(--ctl-bd);border-radius:var(--r-s);padding:0 12px;background:#fff;font:inherit;font-size:13.5px;color:var(--ink);min-width:150px}
.rx .uk-sel.sm{height:34px;min-width:120px;font-size:12.5px}
.rx .uk-date{min-width:170px}
.rx .uk-date .dp-in{height:42px;border:1px solid var(--ctl-bd);border-radius:var(--r-s);padding:0 12px;font:inherit;font-size:13.5px}
.rx .uk-fbar .btn{height:42px;position:relative}
.rx .uk-fbar .cnt{font-style:normal;font-size:11px;background:var(--navy);color:#fff;border-radius:999px;padding:0 6px}
.rx .uk-th{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line)}
.rx .uk-t th.ck,.rx .uk-t td.ck{width:40px}
body[dir="rtl"] .rx .uk-t tbody tr.lt-r td:first-child{box-shadow:inset -3px 0 0 var(--red)}
body[dir="rtl"] .rx .uk-t tbody tr.lt-a td:first-child{box-shadow:inset -3px 0 0 var(--amber)}
body[dir="rtl"] .rx .uk-t tbody tr.lt-g td:first-child{box-shadow:inset -3px 0 0 var(--green)}
body[dir="rtl"] .rx .uk-t tbody tr.lt-b td:first-child{box-shadow:inset -3px 0 0 var(--blue)}
.rx .uk-long{display:inline-block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.rx .uk-ah{font-weight:700;margin-bottom:12px}
.rx .uk-steps{display:flex;gap:6px;overflow-x:auto;margin-bottom:12px}
.rx .uk-steps button{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.rx .uk-steps button span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--line-2);font-size:12px}
.rx .uk-steps button.on{border-color:var(--navy);color:var(--navy)}
.rx .uk-steps button.on span{background:var(--navy);color:#fff}
.rx .uk-steps button.done{color:var(--green-d)}
.rx .uk-steps button.done span{background:var(--green);color:#fff}
.rx .uk-fs{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.rx .uk-fs .n{width:30px;height:30px;border-radius:9px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700}
.rx .uk-fs b{display:block}
.rx .uk-fs small{color:var(--muted);font-size:12.5px}
.rx .uk-fg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 16px}
.rx .inp .pre{color:var(--muted);font-size:13px;padding-inline-end:8px;border-inline-end:1px solid var(--line)}
.rx .uk-ff .draft{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.rx .uk-ff .draft svg{width:15px;height:15px;color:var(--green-d)}
.rx .uk-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;border:2px dashed #c9d3e2;border-radius:var(--r);background:#fff;padding:28px;cursor:pointer;transition:.15s}
.rx .uk-drop svg{width:32px;height:32px;color:var(--navy);opacity:.6}
.rx .uk-drop small{color:var(--muted);font-size:12px}
.rx .uk-drop:hover,.rx .uk-drop.over{border-color:var(--navy);background:var(--navy-soft)}
.rx .uk-alert.b{background:var(--blue-soft);border-color:#cbdcf6;color:#1f4f99}
.rx .sk.w2{width:18%}
.rx .uk-long-demo .uk-long{max-width:100%;display:block;font-size:14.5px}
.rx .uf .uk-sel{width:auto!important;flex:none;min-width:120px;max-width:150px}
.rx .hh .uk-sel{height:40px}
.rx .mapph{position:relative;height:220px;margin:0 20px 20px;border-radius:12px;background:linear-gradient(135deg,#eef2f7 25%,transparent 25%) 0 0/24px 24px,linear-gradient(225deg,#eef2f7 25%,transparent 25%) 0 0/24px 24px,#f7f9fb;border:1px solid var(--line-2)}
.rx .mapph:before{content:"";position:absolute;inset:30% 0 auto;height:10px;background:#fff;transform:rotate(-8deg)}
.rx .mapph:after{content:"";position:absolute;inset:0 45% 0 auto;width:10px;background:#fff;transform:rotate(12deg)}
.rx .mapph i{position:absolute;z-index:1;width:16px;height:16px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25);background:var(--green)}
.rx .mapph i.r{background:var(--red);box-shadow:0 0 0 6px rgba(212,69,60,.2)}
.rx .mapph i.a{background:var(--amber)}
.rx .tag.b{background:var(--blue-soft);color:var(--blue)}
.rx .uk-sel,.rx .hrole select{width:auto!important;flex:none}
.rx .ha-f .uk-sel{max-width:170px}
.rx .kit-kpis{margin-bottom:14px}
.rx .kit-kpis.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rx .kit-kpis.n5{grid-template-columns:repeat(5,minmax(0,1fr))}
.rx .kit-kpis.n6{grid-template-columns:repeat(6,minmax(0,1fr))}
.rx .kit-kpi{padding:14px 16px}
.rx .kit-kpi .kl{font-size:13px}
.rx .kit-kpi .kv{font-size:26px!important;margin:8px 0 4px!important}
.rx .kit-kpi[data-go]{cursor:pointer}
.rx .kit-kpi[data-go]:hover{border-color:var(--navy)}
.rx .kit-kpi .ni{width:30px;height:30px;border-radius:9px;display:grid;place-items:center}
.rx .kit-kpi .ni svg{width:15px;height:15px}
.rx .kit-kpi .ni.g{background:var(--green-soft);color:var(--green-d)}
.rx .kit-kpi .ni.r{background:var(--red-soft);color:var(--red)}
.rx .kit-kpi .ni.a{background:var(--amber-soft);color:var(--amber)}
.rx .kit-kpi .ni.b{background:var(--blue-soft);color:var(--blue)}
.rx .kit-kpi .ni.n{background:var(--navy-soft);color:var(--navy)}
.rx .kit-tabs{margin-bottom:12px}
.rx .kit-tabs button svg{width:15px;height:15px}
.rx .kit-f{margin-bottom:12px}
.rx .kit-views{flex:none}
.rx .kit-views button{padding:6px 10px}
.rx .kit-views svg{width:16px;height:16px}
.rx .kit-tc{padding:0;overflow:hidden}
.rx .kit-t tbody tr[data-krow]{cursor:pointer}
.rx .kit-t tbody tr[data-krow]:hover td{background:#f7f9fc}
.rx .kit-t tr.sel td,.rx .page tr.sel td{background:#eef4ff!important}
body[dir="rtl"] .rx .kit-t tbody tr.lt-r td:first-child{box-shadow:inset -3px 0 0 var(--red)}
body[dir="rtl"] .rx .kit-t tbody tr.lt-a td:first-child{box-shadow:inset -3px 0 0 var(--amber)}
body[dir="rtl"] .rx .kit-t tbody tr.lt-g td:first-child{box-shadow:inset -3px 0 0 var(--green)}
body[dir="rtl"] .rx .kit-t tbody tr.lt-b td:first-child{box-shadow:inset -3px 0 0 var(--blue)}
body[dir="ltr"] .rx .kit-t tbody tr.lt-r td:first-child{box-shadow:inset 3px 0 0 var(--red)}
body[dir="ltr"] .rx .kit-t tbody tr.lt-a td:first-child{box-shadow:inset 3px 0 0 var(--amber)}
.rx .kit-t th.ck,.rx .kit-t td.ck{width:40px}
.rx .kit-t small.cm{font-size:12px}
.rx .kit-pb{display:flex;align-items:center;gap:8px;min-width:120px}
.rx .kit-pb span{flex:1;height:7px;border-radius:9px;background:var(--line-2);overflow:hidden}
.rx .kit-pb i{display:block;height:100%;background:var(--green)}
.rx .kit-pb.hot i{background:var(--red)}
.rx .kit-pb b{font-size:12.5px;color:var(--ink)}
.rx .kit-dg{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.rx .kit-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.rx .kit-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:84px}
.rx .kit-dt{margin-bottom:0}
.rx .kit-sec{padding:16px 18px}
.rx .kit-sh{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.rx .kit-sh>svg{width:17px;height:17px;color:var(--navy)}
.rx .kit-sh b{font-size:15px}
.rx .kit-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.rx .kit-side .kit-kv{grid-template-columns:1fr}
.rx .kit-kv>div{display:flex;flex-direction:column;gap:2px;padding:9px 0;border-bottom:1px solid var(--line-2);min-width:0}
.rx .kit-kv small{font-size:12px;color:var(--muted)}
.rx .kit-kv b{font-size:14px;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.rx .kit-kv a{color:var(--navy);font-weight:700}
.rx .kit-big{font-size:28px;font-weight:700;margin:4px 0}
.rx .kit-tl{display:flex;flex-direction:column}
.rx .tl-i{display:flex;gap:12px;position:relative;padding-bottom:16px}
.rx .tl-i:before{content:"";position:absolute;inset-inline-start:11px;top:24px;bottom:0;width:2px;background:var(--line)}
.rx .tl-i:last-child:before{display:none}
.rx .tl-i.done:before{background:var(--green)}
.rx .tl-d{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);background:#fff;display:grid;place-items:center;flex:none;position:relative;z-index:1;color:#fff}
.rx .tl-d svg{width:13px;height:13px}
.rx .tl-i.done .tl-d{background:var(--green);border-color:var(--green)}
.rx .tl-i.cur .tl-d{border-color:var(--amber);color:var(--amber)}
.rx .tl-i b{display:block;font-size:14px}
.rx .tl-i small{display:inline-block;font-size:12px;color:var(--muted);margin-inline-end:8px}
.rx .tl-i p{margin:4px 0 0;font-size:13px;color:var(--body);background:var(--bg);border-radius:8px;padding:6px 10px}
.rx .kit-acts{padding:16px}
.rx .kit-ag{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rx .kit-ag .btn{height:auto;min-height:40px;padding:8px 10px;font-size:13px;justify-content:flex-start;white-space:normal;text-align:start}
.rx .kit-ag.danger{margin-top:8px;padding-top:8px;border-top:1px dashed var(--line);grid-template-columns:1fr}
.rx .kit-ag.danger .btn,.rx .btn.dz{color:var(--red)}
.rx .kit-hero{margin-bottom:14px}
.rx .kit-form{display:flex;flex-direction:column;gap:14px}
.rx .kit-fsec{padding:18px 20px}
.rx .uk-fg .w2{grid-column:span 2}
.rx .kit-in{height:44px;border:1px solid var(--ctl-bd);border-radius:var(--r-s);padding:0 12px;font:inherit;width:100%!important;background:#fff}
.rx textarea.kit-in{height:auto;padding:10px 12px;resize:vertical}
.rx .kit-fsec .inp{height:44px}
.rx .kit-fsec .inp input,.rx .kit-mb .inp input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit}
.rx .uk-drop.sm{padding:14px;flex-direction:row;gap:10px}
.rx .uk-drop.sm svg{width:22px;height:22px}
.rx .kit-fbar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 -8px 24px -18px rgba(16,26,46,.3)}
.rx .kit-fbar .draft{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.rx .kit-fbar .draft svg{width:15px;height:15px;color:var(--green-d)}
.rx .trip-h{display:flex;align-items:center;justify-content:space-between;gap:16px}
.rx .trip-h>div:not(.trip-l){display:flex;flex-direction:column;gap:2px}
.rx .trip-h small{font-size:12px;color:var(--muted)}
.rx .trip-h b{font-size:30px;color:var(--ink);letter-spacing:1px}
.rx .trip-h span{font-size:12.5px;color:var(--muted)}
.rx .trip-l{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;color:var(--blue);font-size:13px;font-weight:600}
.rx .trip-l:before{content:"";position:absolute;top:11px;left:0;right:0;border-top:2px dashed #c3cede;z-index:0}
.rx .trip-l svg{position:relative;z-index:1;background:#fff;padding:0 6px;width:34px;height:22px}
body[dir="rtl"] .rx .trip-l svg{transform:scaleX(-1)}
.rx .ib-card .kit-kv{grid-template-columns:1fr}
.rx .cx-g .kit-kv{grid-template-columns:1fr}
.rx .cvc-b .uk-long{max-width:100%}
.rx .hb-sos{display:flex;align-items:center;gap:12px;background:var(--red);color:#fff;border-radius:var(--r);padding:12px 16px;margin-bottom:14px;animation:sosp 1.6s infinite}
.rx .hb-sos>svg{width:24px;height:24px}
.rx .hb-sos div{flex:1}
.rx .hb-sos b{display:block}
.rx .hb-sos small{opacity:.85}
.rx .hb-sos .btn{background:#fff;color:var(--red)}
.rx .hb-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rx .hb-col{padding:0}
.rx .hb-ch{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line)}
.rx .hb-it{padding:11px 16px;border-bottom:1px solid var(--line-2);display:flex;flex-direction:column;gap:3px}
.rx .hb-it b{font-size:13.5px}
.rx .hb-it small{font-size:12px;color:var(--muted)}
.rx .hb-ia{display:flex;gap:6px;margin-top:4px}
.rx .hb-time{font-weight:700;color:var(--ink)}
.rx .hb-pick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.rx .hb-pick.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rx .hb-opt{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:12px;padding:12px;cursor:pointer;justify-content:space-between}
.rx .hb-opt input{display:none}
.rx .hb-opt.c{flex-direction:column;justify-content:center;text-align:center;gap:6px;padding:16px 10px}
.rx .hb-opt.c svg{width:22px;height:22px;color:var(--navy)}
.rx .hb-opt small{font-size:12px;color:var(--muted)}
.rx .hb-opt:hover{border-color:#c3cede}
.rx .hb-opt.on{border-color:var(--navy);background:var(--navy-soft)}
.rx .hb-nav{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line-2);margin-top:16px;padding-top:14px}
.rx .hb-day{padding:0;overflow-x:auto}
.rx .hb-dh{display:grid;grid-template-columns:110px repeat(13,minmax(60px,1fr));background:var(--bg);border-bottom:1px solid var(--line);min-width:900px}
.rx .hb-dh:before{content:""}
.rx .hb-dh span{font-size:11.5px;color:var(--muted);padding:8px 4px;border-inline-start:1px solid var(--line-2)}
.rx .hb-dr{display:grid;grid-template-columns:110px 1fr;border-bottom:1px solid var(--line-2);min-width:900px}
.rx .hb-dr>b{font-size:13px;padding:14px 12px;border-inline-end:1px solid var(--line)}
.rx .hb-dr.un{background:#fffbf3}
.rx .hb-track{position:relative;height:52px}
.rx .hb-blk{position:absolute;top:8px;bottom:8px;inset-inline-start:calc(var(--s) * 100% / 13);width:calc(var(--d) * 100% / 13 - 4px);border-radius:8px;font-size:12px;font-weight:600;padding:0 8px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rx .hb-blk.g{background:var(--green-soft);color:var(--green-d);border:1px solid #cfe6b8}
.rx .hb-blk.b{background:var(--blue-soft);color:var(--blue);border:1px solid #cbdcf6}
.rx .hb-blk.r{background:var(--red-soft);color:var(--red);border:1px solid #f6cfcc}
.rx .hb-blk.a{background:var(--amber-soft);color:#8a5a12;border:1px solid #f1dbb3}
.rx .hb-blk.dash{border-style:dashed}
.rx .hb-legend{display:flex;align-items:center;gap:14px;margin-bottom:10px;font-size:12.5px;color:var(--muted);flex-wrap:wrap}
.rx .hb-legend i,.rx .map-leg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:5px;vertical-align:middle}
.rx .hb-legend i.g,.rx .map-leg i.g{background:var(--green)}
.rx .hb-legend i.b,.rx .map-leg i.b{background:var(--blue)}
.rx .hb-legend i.r,.rx .map-leg i.r{background:var(--red)}
.rx .hb-legend i.a,.rx .map-leg i.a{background:var(--amber)}
.rx .hb-map{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}
.rx .hb-mapc{padding:12px;overflow:hidden}
.rx .mapph.huge{height:calc(100vh - 290px);min-height:440px;margin:0}
.rx .mapph.big{height:320px;margin:12px}
.rx .mapph i em{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10.5px;font-weight:700;background:#0d1626;color:#fff;border-radius:6px;padding:0 5px}
.rx .mapph i.b{background:var(--blue)}
.rx .mapph .route{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.rx .map-ctl{position:absolute;top:12px;inset-inline-end:12px;display:flex;flex-direction:column;gap:4px;z-index:2}
.rx .map-ctl .icon-btn{background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.rx .map-leg{position:absolute;bottom:12px;inset-inline-start:12px;z-index:2;display:flex;gap:12px;background:#fff;border-radius:10px;padding:6px 12px;font-size:12px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.rx .hb-live{padding:0;align-self:start}
.rx .hb-lr{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--line-2)}
.rx .hb-lr div{flex:1;min-width:0}
.rx .hb-lr b{display:block;font-size:13.5px}
.rx .hb-lr small{font-size:12px;color:var(--muted)}
.rx .hb-lr.sos{background:var(--red-soft)}
.rx .hb-lr .dot{width:10px;height:10px;border-radius:50%;flex:none}
.rx .dot.b{background:var(--blue)}
.rx .zf{display:flex;flex-direction:column;align-items:flex-end;font-size:13px}
.rx .zf small{font-size:11px;color:var(--muted)}
.rx .mapph.zones .zone{position:absolute;border-radius:18px;display:grid;place-items:center;border:2px solid}
.rx .zone b{font-size:14px;background:#fff;border-radius:999px;padding:2px 12px}
.rx .zone.g{background:rgba(122,182,72,.16);border-color:rgba(122,182,72,.6)}
.rx .zone.b{background:rgba(47,111,208,.12);border-color:rgba(47,111,208,.5)}
.rx .zone.a{background:rgba(200,134,42,.14);border-color:rgba(200,134,42,.55)}
.rx .zone.n{background:rgba(22,35,63,.08);border-color:rgba(22,35,63,.35)}
.rx .pk-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.rx .pk{display:flex;flex-direction:column;gap:8px;position:relative}
.rx .pk.pop{border-color:var(--green);box-shadow:0 0 0 3px rgba(122,182,72,.15)}
.rx .pk .tag{align-self:flex-start}
.rx .pk-p{font-size:24px;font-weight:700}
.rx .pk-f{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line-2);padding-top:8px;margin-top:auto}
.rx .hb-sosbox .mapph{width:100%;height:170px;margin:6px 0}
.rx .dep .uk-fs .n{width:34px;height:34px}
.rx .dep .uk-fs .n svg{width:17px;height:17px}
.rx .dep .kit-tc{border:0;margin-top:8px}
.rx .je-t .uk-sel{width:100%!important;min-width:180px}
.rx .kit-in.sm{height:38px;width:260px!important}
.rx .imp-t .uk-sel.warn{border-color:var(--amber);background:#fffbf3}
@media(max-width:760px){.rx .uk-card.lt-r{border-inline-start-color:var(--red)}.rx .uk-card.lt-a{border-inline-start-color:var(--amber)}.rx .uk-card.lt-g{border-inline-start-color:var(--green)}.rx .uk-card.lt-b{border-inline-start-color:var(--blue)}.rx .uk-card-b .uk-long{max-width:100%;color:var(--muted);font-size:12.5px}.rx .uk-fg{grid-template-columns:1fr}.rx .hb-cols{grid-template-columns:1fr}.rx .hb-pick,.rx .hb-pick.g3{grid-template-columns:1fr 1fr}}
@media(max-width:1100px){.rx .uk-fg{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.rx .hh .actions .uk-sel{flex:1}.rx .kit-kv{grid-template-columns:1fr}.rx .uk-fg .w2{grid-column:auto}.rx .kit-kpis.n3{grid-template-columns:repeat(2,minmax(0,1fr))}.rx .kit-in.sm{width:100%!important}}
@media(max-width:1200px){.rx .kit-dg{grid-template-columns:minmax(0,1fr)}.rx .kit-side{position:static}.rx .kit-kpis.n5,.rx .kit-kpis.n6{grid-template-columns:repeat(3,minmax(0,1fr))}.rx .hb-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.rx .hb-map{grid-template-columns:1fr}}
.rx .dp-w .dp-ic{background:none!important;border-radius:0;padding:0;width:17px;height:17px;color:var(--muted)!important;box-shadow:none}

/* ---- v1.3.2 — sidebar: cleaner section header, stronger type ---- */
.side .nav .dp-head{padding:6px 10px 12px;margin:0 2px 8px;border-bottom:1px solid var(--line)}
.side .nav .dp-t{gap:3px}
.side .nav .dp-t b{font-size:18px;font-weight:800;color:var(--navy);letter-spacing:0}
.side .nav .dp-t small{font-size:12.5px;font-weight:500;line-height:1.55;color:#5b6576}
.side .nav .dp-meta{display:none}
.nav a,.nav-eh{font-size:15px;font-weight:700;color:#0f172a}
.nav a.on,.nav-eh.on{font-weight:800;color:var(--navy)}
.nav a svg,.nav-eh svg:not(.chev){color:#1f2937;stroke-width:2.1}
.nav-ref{font-size:15px;font-weight:600;color:#334155}
.nav-ref svg{color:#64748b}
.nav-soon{font-size:15px;font-weight:600;color:#8a94a6}
.nav-soon svg{color:#a3adbd}
.side .nav .nav-kid-sec{margin:16px 10px 6px;font-size:12.5px;font-weight:800;color:#475569;letter-spacing:0}
.side .nav .dp-list>.nav-kid-sec:first-child{margin-top:2px}

/* ---- v1.4 — Customers group (complaints, absconding, chats, campaigns) — theme vars only ---- */
.vtabs button em{font-style:normal;font-size:11px;font-weight:700;background:var(--bg);color:var(--muted);border-radius:20px;padding:0 7px;margin-inline-start:4px}
.vtabs button.on em{background:rgba(255,255,255,.18);color:inherit}
.scard.on{box-shadow:0 0 0 2px var(--navy) inset}
.cx-tk{font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap}
.cx-tk:hover{text-decoration:underline}
.cx-subj{display:flex;flex-direction:column;gap:2px;max-width:260px}
.cx-subj b{font-weight:700;color:var(--ink)}
.cx-subj small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-prio{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:2px 10px;border-radius:20px;background:var(--bg);color:var(--muted);white-space:nowrap}
.cx-prio.medium{background:var(--amber-soft);color:var(--amber)}
.cx-prio.high{background:#fdecec;color:#c0392b}
.cx-prio.urgent{background:#c0392b;color:#fff}
.cx-prio .pulse{width:7px;height:7px;border-radius:50%;background:#fff;animation:cxp 1.2s infinite}
@keyframes cxp{0%{box-shadow:0 0 0 0 rgba(255,255,255,.8)}100%{box-shadow:0 0 0 7px rgba(255,255,255,0)}}
.cx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.cx-chips button{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:20px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer}
.cx-chips button b{font-weight:700;color:var(--muted);font-size:12px}
.cx-chips button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.cx-chips button.on b{color:rgba(255,255,255,.75)}
.cx-chips .d{width:8px;height:8px;border-radius:50%;background:var(--muted-2)}
.cx-chips .d.g{background:var(--green)}.cx-chips .d.a{background:var(--amber)}.cx-chips .d.r{background:#d64545}.cx-chips .d.n{background:var(--navy)}
.cx-info{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;margin:14px 0 0;border-radius:10px;background:var(--navy-soft);color:var(--navy);font-size:13.5px;line-height:1.7}
.cx-info svg{width:18px;height:18px;flex:none;margin-top:2px}
.card .cx-info{margin:6px 20px 14px}
.cx-right{display:flex;justify-content:flex-end;gap:8px;padding:6px 20px 18px}
.cx-body{padding:4px 20px 18px}
.cx-body p{margin:0 0 12px;line-height:1.85;color:var(--ink)}
.cx-note{display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:var(--amber-soft)}
.cx-note svg{width:18px;height:18px;color:var(--amber);flex:none;margin-top:2px}
.cx-note b{display:block;font-size:13px;margin-bottom:2px}
.cx-note span{font-size:13.5px;color:var(--ink)}
.cx-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;padding:4px 20px 18px}
.cx-file{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.cx-file>svg{width:20px;height:20px;color:var(--navy);flex:none}
.cx-file>div{flex:1;min-width:0}
.cx-file b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-file small{color:var(--muted);font-size:12px}
.cx-file.add{justify-content:center;border-style:dashed;color:var(--muted);font:inherit;font-weight:600;cursor:pointer}
.cx-replies{padding:4px 20px 6px;display:flex;flex-direction:column;gap:12px}
.cx-reply{display:flex;gap:10px}
.cx-reply .av,.cx-info-p .av{width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.cx-reply b{font-size:14px}.cx-reply small{color:var(--muted);font-size:12px;margin-inline-start:8px}
.cx-reply p{margin:4px 0 0;padding:10px 12px;background:var(--bg);border-radius:0 10px 10px 10px;line-height:1.75}
.cx-compose{padding:8px 20px 18px}
.cx-compose textarea{width:100%}
.cx-compose-f{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px}
.cx-compose-f .fb{min-width:170px}
.cx-compose-f .btn{margin-inline-start:auto}
.cx-flow{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.cx-flow span{padding:2px 9px;border-radius:6px;background:var(--bg);font-weight:600}
.cx-flow svg{width:14px;height:14px;color:var(--muted)}
.fgrid.one{grid-template-columns:1fr}
.cx-seg2{display:inline-flex;gap:4px;padding:4px;border-radius:10px;background:var(--bg);margin:0 20px 14px}
.cx-seg2 button{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:0;border-radius:8px;background:none;font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer}
.cx-seg2 button svg{width:15px;height:15px}
.cx-seg2 button b{font-size:11.5px}
.cx-seg2 button.on{background:#fff;color:var(--navy);box-shadow:0 1px 2px rgba(16,24,40,.08)}
.cx-seg2.sm{margin:0;width:100%}.cx-seg2.sm button{flex:1;justify-content:center;padding:6px 8px;font-size:12.5px}
.cx-seg2.ghost{background:none;padding:0}.cx-seg2.ghost button{flex:none}
.cx-rcards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 20px 14px}
.cx-rcards.three{grid-template-columns:repeat(3,1fr)}
.cx-rcard{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#fff}
.cx-rcard svg{width:20px;height:20px;color:var(--muted)}
.cx-rcard b{font-size:14px}.cx-rcard small{font-size:12px;color:var(--muted)}
.cx-rcard.on{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy) inset;background:var(--navy-soft)}
.cx-rcard.on svg{color:var(--navy)}
.cx-radio{display:flex;gap:10px;padding:10px 16px;cursor:pointer}
.cx-radio .rd{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);flex:none;margin-top:2px}
.cx-radio.on .rd{border:5px solid var(--navy)}
.cx-radio b{display:block;font-size:14px}.cx-radio small{font-size:12px;color:var(--muted)}
.cx-steps{display:flex;align-items:center;gap:12px;padding:16px 20px;margin-bottom:16px;flex-wrap:wrap}
.cx-step{display:flex;align-items:center;gap:10px;opacity:.6}
.cx-step.on{opacity:1}
.cx-step .n{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--muted)}
.cx-step .n svg{width:18px;height:18px}
.cx-step.on .n{background:#c0392b;color:#fff}
.cx-step b{display:block;font-size:14px}.cx-step small{font-size:12px;color:var(--muted)}
.cx-step-l{flex:1;min-width:24px;height:2px;background:var(--line)}
.cx-step.alt{margin-inline-start:auto;padding-inline-start:16px;border-inline-start:1px dashed var(--line)}
.cx-calc{padding:4px 20px 18px;display:flex;flex-direction:column;gap:8px}
.cx-calc>div{display:flex;justify-content:space-between;font-size:14px}
.cx-calc>div span{color:var(--muted)}
.cx-calc .tot{padding-top:10px;border-top:1px solid var(--line);font-size:16px}
.cx-calc .tot b{color:var(--navy);font-size:20px}
.cx-calc small{color:var(--muted);font-size:12px}
/* chats inbox */
.cx-inbox{display:grid;grid-template-columns:320px 1fr 280px;height:640px;overflow:hidden}
.cx-list{border-inline-end:1px solid var(--line);display:flex;flex-direction:column;overflow:auto}
.cx-list-h{padding:12px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}
.cx-list-h .inp{width:100%}
.cx-conv{display:flex;gap:10px;padding:12px;border:0;border-bottom:1px solid var(--line);background:#fff;font:inherit;text-align:start;cursor:pointer}
.cx-conv:hover{background:var(--bg)}
.cx-conv.on{background:var(--navy-soft);box-shadow:inset -3px 0 0 var(--green)}
.cx-conv .av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;color:#fff}
.cx-conv .av svg{width:18px;height:18px}
.cx-conv .av.wa{background:#25a35a}.cx-conv .av.web{background:var(--navy)}
.cx-conv>div{flex:1;min-width:0}
.cx-conv .r1,.cx-conv .r2{display:flex;justify-content:space-between;gap:8px}
.cx-conv .r1 b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-conv .r1 small{color:var(--muted);font-size:11.5px;flex:none}
.cx-conv .r2 span{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-conv .r2 em{font-style:normal;background:var(--green);color:#fff;border-radius:20px;font-size:11px;font-weight:700;padding:0 7px;flex:none}
.cx-thread{display:flex;flex-direction:column;min-width:0;background:var(--bg)}
.cx-th-h{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}
.cx-th-h b{display:block;font-size:15px}.cx-th-h small{color:var(--muted);font-size:12px}
.cx-th-acts{margin-inline-start:auto}
.cx-msgs{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:10px}
.cx-day{align-self:center;font-size:12px;color:var(--muted);background:#fff;border-radius:20px;padding:2px 12px}
.cx-msg{max-width:72%;padding:10px 12px;border-radius:12px;background:#fff;box-shadow:0 1px 1px rgba(16,24,40,.06)}
.cx-msg p{margin:0;line-height:1.75;font-size:14px}
.cx-msg small{display:flex;align-items:center;gap:4px;justify-content:flex-end;color:var(--muted);font-size:11px;margin-top:4px}
.cx-msg small svg{width:14px;height:14px;color:#3b82f6}
.cx-msg.in{align-self:flex-start;border-start-start-radius:3px}
.cx-msg.out{align-self:flex-end;background:#e7f3dc;border-start-end-radius:3px}
.cx-msg.sys{align-self:center;display:flex;align-items:center;gap:6px;background:var(--amber-soft);color:var(--amber);font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:20px;box-shadow:none}
.cx-msg.sys svg{width:14px;height:14px}
.cx-comp{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid var(--line)}
.cx-comp .grow{flex:1}
.cx-info-p{border-inline-start:1px solid var(--line);overflow:auto;padding-bottom:12px}
.cx-ip-h{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px 10px;text-align:center}
.cx-info-p .av.big{width:56px;height:56px;font-size:20px}
.cx-ip-h b{font-size:15px}.cx-ip-h small{color:var(--muted);font-size:12px}
.cx-info-p .kvgrid{grid-template-columns:1fr 1fr}
.cx-ip-s{padding:12px 16px;border-top:1px solid var(--line)}
.cx-ip-s>b{display:block;font-size:12.5px;color:var(--muted);margin-bottom:8px}
.cx-ip-s .actrow{padding:0}
.cx-mini{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:10px;border-radius:10px;background:var(--bg);color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
.cx-msgcell{display:block;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.cx-phone-c .cx-phone{margin:4px 20px 14px;padding:16px;border-radius:16px;background:#e9e2d6}
.cx-msg.tpl{max-width:100%}
.cx-msg.tpl b{display:block;font-size:12.5px;color:#25a35a;margin-bottom:4px}
@media (max-width:1200px){.cx-inbox{grid-template-columns:280px 1fr}.cx-info-p{display:none}.cx-rcards{grid-template-columns:repeat(2,1fr)}}
.cx-show .cvside .kvgrid{grid-template-columns:1fr}
.cx-show .cvside .kv{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px}
.cx-show .cvside .kv b{text-align:end}
.cx-show .cvmain .grid-2{grid-template-columns:1fr 1fr}
.cx-show .cvmain .grid-2 .kvgrid{grid-template-columns:1fr 1fr}
.cx-phone-c .kvgrid{grid-template-columns:1fr}
.cx-phone-c .kv{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px}

/* ---- v1.5 — Finance group (dashboard, requests, assets, commissions, tax) ---- */
.fx-idea{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px;padding:12px 16px;border-radius:12px;background:linear-gradient(0deg,#fbfcfe,#fbfcfe);border:1px dashed #c3cbda}
.fx-idea>svg{width:20px;height:20px;color:var(--amber);flex:none;margin-top:2px}
.fx-idea b{display:block;font-size:13px;color:var(--navy);margin-bottom:2px}
.fx-idea span{font-size:13.5px;color:#475569;line-height:1.75}
small.cur{font-size:.7em;font-weight:600;color:var(--muted);margin-inline-start:3px}
.fx-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.grid-2.fx-wr{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
.card-h.pad{padding:18px 20px 0}
.cx-files.one{grid-template-columns:1fr}
.cx-seg2.in{margin:0;display:flex}.cx-seg2.in button{flex:1;justify-content:center}
/* dashboard */
.fx-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:0;padding:0;overflow:hidden;margin-bottom:16px}
.fx-hero-t{padding:22px 24px;background:var(--navy);color:#fff}
.fx-hero-t small{color:rgba(255,255,255,.65);font-size:12.5px}
.fx-hero-t h2{font-size:21px;line-height:1.7;margin:6px 0 10px;color:#fff;font-weight:700}
.fx-hero-t h2 b.g{color:#9fd36f}
.fx-hero-t p{margin:0;color:rgba(255,255,255,.8);font-size:14px;line-height:1.85}
.fx-hero-t p b{color:#fff}
.fx-todo{padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.fx-todo>b{font-size:14px;margin-bottom:2px}
.fx-todo a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:var(--bg);color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}
.fx-todo a:hover{background:var(--navy-soft)}
.fx-todo a>svg:first-child{width:18px;height:18px;flex:none;color:var(--navy)}
.fx-todo a.a>svg:first-child{color:var(--amber)}.fx-todo a.r>svg:first-child{color:#d64545}
.fx-todo a span{flex:1}.fx-todo a>svg:last-child{width:16px;height:16px;color:var(--muted)}
.fx-kpi .kv{font-size:26px;font-weight:800;margin:8px 0 6px}
.fx-kpi .km{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--muted)}
.fx-kpi .km em,.fx-mini3 em{font-style:normal;font-weight:700;font-size:12px}
em.g{color:var(--green-d)}em.r{color:#d64545}em.a{color:var(--amber)}
b.g{color:var(--green-d)}b.r{color:#d64545}
.fx-bars{display:flex;align-items:flex-end;gap:8px;height:190px;padding:0 4px;border-bottom:1px solid var(--line)}
.fx-bars .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%}
.fx-bars .pair{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}
.fx-bars i{display:block;width:42%;max-width:14px;border-radius:4px 4px 0 0}
.fx-bars i.in,.fx-legend i.in{background:var(--navy)}.fx-bars i.out,.fx-legend i.out{background:#c7d0de}
.fx-bars .col:last-child i.in{background:var(--green)}
.fx-bars small{font-size:11px;color:var(--muted);transform:translateY(22px)}
.fx-legend{display:flex;gap:16px;margin:28px 0 14px;font-size:12.5px;color:var(--muted)}
.fx-legend span{display:inline-flex;align-items:center;gap:6px}.fx-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.fx-mini3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fx-mini3>div{padding:12px;border-radius:10px;background:var(--bg);display:flex;flex-direction:column;gap:2px}
.fx-mini3 small{color:var(--muted);font-size:12px}.fx-mini3 b{font-size:18px}
.fx-share{display:flex;flex-direction:column;gap:12px}
.fx-share .r{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:center;gap:12px}
.fx-share .t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fx-share .t small{font-size:12px;color:var(--muted)}
.fx-share .track,.fx-life .track{display:block;height:7px;border-radius:7px;background:var(--bg);overflow:hidden}
.fx-share .track i,.fx-life .track i{display:block;height:100%;border-radius:7px;background:var(--navy)}
.fx-share>.r>b{font-size:14px;min-width:64px;text-align:end}
.fx-io{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fx-io>div{padding:12px;border-radius:10px;background:var(--bg);display:flex;flex-direction:column;gap:2px}
.fx-io svg{width:18px;height:18px}.fx-io .g svg{color:var(--green-d)}.fx-io .a svg{color:var(--amber)}
.fx-io small{font-size:12px;color:var(--muted)}.fx-io b{font-size:18px}
/* requests */
.fx-pipe{display:flex;align-items:center;gap:6px;padding:12px;margin-bottom:14px;flex-wrap:wrap}
.fx-pipe .st{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:92px;padding:10px 8px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.fx-pipe .st b{font-size:20px;font-weight:800;color:var(--navy)}
.fx-pipe .st span{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.fx-pipe .st.a b{color:var(--amber)}.fx-pipe .st.g b{color:var(--green-d)}
.fx-pipe .st.on{background:var(--navy);border-color:var(--navy)}.fx-pipe .st.on b,.fx-pipe .st.on span{color:#fff}
.fx-pipe .ar svg{width:16px;height:16px;color:#b4bdcc}
.fx-pipe-x{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#d64545;font-weight:600;padding:6px 10px;border-radius:8px;background:#fdecec}
.fx-pipe-x svg{width:15px;height:15px}
.fx-esc{display:inline-block;font-size:11px;font-weight:700;padding:1px 8px;border-radius:20px;vertical-align:middle;margin-inline-start:4px}
.fx-esc.a{background:var(--amber-soft);color:var(--amber)}.fx-esc.r{background:#c0392b;color:#fff}
.fx-next{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--ink)}
.fx-next em{font-style:normal;font-size:11.5px;color:var(--muted)}.fx-next em.r{color:#d64545;font-weight:700}
tr.fx-late td:first-child{box-shadow:inset -3px 0 0 #d64545}
.fx-types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px 18px}
.fx-inl{display:flex;gap:8px}.fx-inl input{flex:1}
.fx-sum{position:sticky;top:84px}
.fx-sum-amt{margin:0 20px 14px;padding:16px;border-radius:12px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:2px}
.fx-sum-amt small{color:rgba(255,255,255,.7)}.fx-sum-amt b{font-size:28px;font-weight:800}.fx-sum-amt b small{font-size:14px}
.fx-sum-amt span{font-size:13px;color:rgba(255,255,255,.8)}
.fx-entry{margin:0 20px 14px;padding:14px;border:1px solid var(--line);border-radius:12px}
.fx-entry>b{display:block;font-size:13px;margin-bottom:8px}
.fx-entry .ln{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13.5px}
.fx-entry .ln span:nth-child(2){flex:1}
.fx-entry .dr,.fx-entry .cr{font-size:11px;font-weight:700;padding:1px 8px;border-radius:6px}
.fx-entry .dr{background:var(--navy-soft);color:var(--navy)}.fx-entry .cr{background:var(--green-soft);color:var(--green-d)}
.fx-entry p{margin:8px 0 0;padding-top:10px;border-top:1px dashed var(--line);font-size:13px;color:#475569;line-height:1.75}
.fx-path{margin:0 20px 18px;display:flex;flex-direction:column;gap:6px}
.fx-path>b{font-size:13px;margin-bottom:2px}
.fx-path div{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted)}
.fx-path div span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-size:12px;font-weight:700;flex:none}
.fx-path div.on{color:var(--ink);font-weight:600}.fx-path div.on span{background:var(--navy);color:#fff}
.fx-track{display:flex;align-items:center;gap:10px;padding:16px 20px;margin-bottom:16px}
.fx-track .s{display:flex;align-items:center;gap:10px;flex:none}
.fx-track .n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--muted);flex:none}
.fx-track .n svg{width:16px;height:16px}
.fx-track .s b{display:block;font-size:14px}.fx-track .s small{font-size:12px;color:var(--muted)}
.fx-track .s.done .n{background:var(--green);color:#fff}
.fx-track .s.now .n{background:var(--navy);color:#fff;box-shadow:0 0 0 4px var(--navy-soft)}
.fx-track .s.now small{color:var(--amber);font-weight:700}
.fx-track .l{flex:1;height:2px;background:var(--line);min-width:20px}
.fx-turn{border:2px solid var(--navy)}
.fx-turn>p{margin:0 20px 12px;font-size:14px;line-height:1.8;color:#475569}
.fx-turn-a{display:flex;gap:8px;padding:6px 20px 18px}.fx-turn-a .btn{flex:1;justify-content:center}
/* assets */
.fx-life{display:flex;align-items:center;gap:10px}
.fx-life .track{flex:1}
.fx-life b{font-size:12.5px;min-width:36px}
.fx-life.a .track i{background:var(--amber)}.fx-life.r .track i{background:#d64545}
.fx-life.big{width:100%;margin:10px 0 4px}.fx-life.big .track{height:9px}
.fx-decline{display:flex;align-items:flex-end;gap:14px;height:200px;padding:0 6px 26px}
.fx-decline .c{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;position:relative}
.fx-decline i{display:block;width:100%;max-width:56px;border-radius:8px 8px 0 0;background:#c7d0de}
.fx-decline .c.now i{background:var(--navy)}
.fx-decline b{font-size:12px;order:-1}.fx-decline small{position:absolute;bottom:-22px;font-size:12px;color:var(--muted)}
/* commissions */
.fx-flow4{display:flex;align-items:stretch;gap:8px;padding:12px;margin-bottom:14px}
.fx-flow4 .s{flex:1;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:10px;background:var(--bg)}
.fx-flow4 .s>svg{width:20px;height:20px;color:var(--navy);margin-bottom:4px}
.fx-flow4 .s.a>svg{color:var(--amber)}.fx-flow4 .s.g>svg{color:var(--green-d)}
.fx-flow4 small{font-size:12.5px;color:var(--muted)}.fx-flow4 b{font-size:22px;font-weight:800}.fx-flow4 em{font-style:normal;font-size:12px;color:var(--muted)}
.fx-flow4 .ar{display:grid;place-items:center}.fx-flow4 .ar svg{width:18px;height:18px;color:#b4bdcc}
.fx-mk{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.fx-mkc{padding:16px;display:flex;flex-direction:column;gap:12px}
.fx-mkc .h{display:flex;align-items:center;gap:10px}
.fx-mkc .av{width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.fx-mkc .h>div{flex:1}.fx-mkc .h b{display:block;font-size:15px}.fx-mkc .h small{font-size:12px;color:var(--muted)}
.fx-mkc .h em{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:20px}
.fx-mkc .h em.a{background:var(--amber-soft);color:var(--amber)}.fx-mkc .h em.g{background:var(--green-soft);color:var(--green-d)}
.fx-mkc .svc{display:flex;flex-wrap:wrap;gap:6px}
.fx-mkc .svc span{font-size:12.5px;padding:3px 10px;border-radius:20px;background:var(--bg)}
.fx-mkc .nums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.fx-mkc .nums div{display:flex;flex-direction:column}.fx-mkc .nums small{font-size:12px;color:var(--muted)}.fx-mkc .nums b{font-size:17px}
.fx-mkc .f{display:flex;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
tr.fx-off td{opacity:.55}
tr.fx-sel td{background:#f7fbf3}
.fx-selbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 16px;background:var(--navy);color:#fff;border-radius:0 0 12px 12px;font-size:14px}
.fx-selbar b{font-size:16px}.fx-selbar b.g{color:#9fd36f}.fx-selbar .sp{flex:1}
.fx-selbar .btn-ghost{color:#fff;border-color:rgba(255,255,255,.3);background:transparent}
.fx-selbar .btn-primary{background:var(--green);border-color:var(--green)}
.fx-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}
.fx-rule{padding:16px;display:flex;flex-direction:column;gap:10px}
.fx-rule>svg{width:22px;height:22px;color:var(--navy)}.fx-rule>b{font-size:15px}
.fx-rule .v{display:flex;align-items:center;gap:8px}.fx-rule .v input{width:90px;font-size:18px;font-weight:700}.fx-rule .v span{font-size:12.5px;color:var(--muted)}
/* tax */
.fx-vat{padding:20px}
.fx-vat .h{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.fx-vat .h select{max-width:190px}
.fx-vat small{font-size:12.5px;color:var(--muted)}
.fx-vat h2{font-size:20px;margin:4px 0;font-weight:700}.fx-vat h2 b{font-size:28px;color:var(--navy)}
.fx-vat p{margin:0;font-size:13.5px;color:#475569}
.fx-calc3{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.fx-calc3>div{flex:1;display:flex;flex-direction:column;padding:12px;border-radius:10px;background:var(--bg)}
.fx-calc3>div b{font-size:20px}.fx-calc3>div em{font-style:normal;font-size:12px;color:var(--muted)}
.fx-calc3>div.tot{background:var(--navy);color:#fff}.fx-calc3>div.tot small{color:rgba(255,255,255,.7)}
.fx-calc3>span{font-size:20px;font-weight:700;color:var(--muted)}
.fx-why{display:block;margin-top:4px;font-size:11.5px;color:#d64545}
.fx-env{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.fx-env .tag{margin-top:4px}
.fx-cert .ring{position:relative;width:130px;height:130px;margin:6px auto 10px}
.fx-cert .ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.fx-cert circle{fill:none;stroke-width:3.2}.fx-cert .bg{stroke:var(--bg)}.fx-cert .fg{stroke:var(--green);stroke-linecap:round}
.fx-cert .ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fx-cert .ring b{font-size:30px;font-weight:800;color:var(--navy)}.fx-cert .ring small{font-size:12px;color:var(--muted)}
.fx-cert .kvgrid{grid-template-columns:1fr}
.fx-cert .kv{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:10px 16px}
@media (max-width:1200px){.fx-hero,.fx-g3,.grid-2.fx-wr{grid-template-columns:1fr}.fx-rules{grid-template-columns:repeat(2,1fr)}.fx-types{grid-template-columns:repeat(2,1fr)}}
.fx-kpi .kv{border:0;padding:0;margin:10px 0 8px;min-height:0;display:flex;align-items:baseline;gap:4px;background:none;box-shadow:none}
.fx-kpi .kv small.cur{font-size:13px}
.fx-t td.num{white-space:nowrap}
.fx-t td{vertical-align:middle}
.fx-share .track,.fx-life .track{display:flex}
.fx-acc{display:flex;flex-direction:column;padding:0 20px 14px}
.fx-acc>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.fx-acc>div:last-child{border-bottom:0}.fx-acc span{color:var(--muted)}
.fx-t td.act{white-space:nowrap;width:1%}

/* ---- v1.6 — HR group ---- */
.hx-av{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy);font-weight:700;font-size:13px}
.hx-av.a{background:var(--amber-soft);color:var(--amber)}.hx-av.r{background:#fdecec;color:#c0392b}.hx-av.n{background:var(--bg);color:var(--muted)}.hx-av.w{background:var(--green-soft);color:var(--green-d)}
.hx-emp{display:flex;align-items:center;gap:10px}.hx-emp b{display:block;font-size:14px}.hx-emp small{font-size:12px;color:var(--muted)}
.hx-emp a{text-decoration:none;color:inherit}
.hx-today{padding:20px;margin-bottom:16px}
.hx-today .h{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.hx-today small{font-size:12.5px;color:var(--muted)}.hx-today h2{margin:4px 0 0;font-size:22px;font-weight:700}.hx-today h2 b{font-size:30px;color:var(--navy)}
.hx-ring{display:flex;gap:8px}.hx-ring span{display:flex;flex-direction:column;align-items:center;padding:8px 14px;border-radius:10px;background:var(--bg);font-size:12px;color:var(--muted);font-weight:600}
.hx-ring b{font-size:18px}.hx-ring .g b{color:var(--green-d)}.hx-ring .a b{color:var(--amber)}.hx-ring .n b{color:var(--navy)}.hx-ring .r b{color:#d64545}
.hx-strip{margin:14px 0}.hx-bar{display:flex;height:10px;border-radius:10px;overflow:hidden;background:var(--bg)}
.hx-bar i{display:block;height:100%}.hx-bar .g{background:var(--green)}.hx-bar .a{background:var(--amber)}.hx-bar .n{background:var(--navy)}.hx-bar .r{background:#d64545}
.hx-who{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hx-who .g{padding:12px;border-radius:10px;background:var(--bg);display:flex;flex-direction:column;gap:8px}
.hx-who .g>b{font-size:13px}.hx-who .g.a>b{color:var(--amber)}.hx-who .g.r>b{color:#d64545}
.hx-who .g>div{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600}.hx-who small{display:block;font-size:11.5px;color:var(--muted);font-weight:500}
.hx-reqs .r{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.hx-reqs .r:first-child{border-top:0}.hx-reqs .r>svg{width:20px;height:20px;color:var(--navy);flex:none}
.hx-reqs .r>div{flex:1}.hx-reqs b{display:block;font-size:14px}.hx-reqs small{font-size:12.5px;color:var(--muted)}
.hx-dep{display:grid;grid-template-columns:120px 1fr 70px 70px;align-items:center;gap:12px;padding:8px 0;font-size:13.5px}
.hx-dep .track{display:flex;height:8px;border-radius:8px;background:var(--bg);overflow:hidden}.hx-dep .track i{background:var(--navy);border-radius:8px}
.hx-dep .m{color:var(--muted);text-align:end}
.hx-exp>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.hx-exp>div:first-child{border-top:0}
.hx-exp svg{width:18px;height:18px;color:var(--muted);flex:none}.hx-exp>div>div{flex:1}.hx-exp b{display:block;font-size:14px}.hx-exp small{font-size:12px;color:var(--muted)}
.hx-exp em{font-style:normal;font-size:12px;font-weight:700;padding:2px 9px;border-radius:20px;background:var(--bg);color:var(--muted)}
.hx-exp .r em{background:#fdecec;color:#c0392b}.hx-exp .a em{background:var(--amber-soft);color:var(--amber)}
.hx-pay>b{display:block;font-size:26px;font-weight:800;color:var(--navy)}.hx-pay>b small{font-size:14px}.hx-pay>span{font-size:13px;color:var(--muted)}
.hx-pay .fx-path{margin:12px 0 0;flex-direction:row;flex-wrap:wrap;gap:12px}
.hx-slip{padding:0 16px 14px}.hx-slip>div{display:flex;justify-content:space-between;padding:7px 0;font-size:13.5px}
.hx-slip .p b{color:var(--green-d)}.hx-slip .m b{color:#d64545}
.hx-slip .tot{border-top:1px dashed var(--line);margin-top:4px;padding-top:10px;font-size:15px}.hx-slip .tot b{color:var(--navy);font-size:17px}
.hx-slip.in{padding:0 20px 8px}
.hx-bal{padding:4px 20px 18px;display:flex;flex-direction:column;gap:14px}
.hx-bal .t{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:6px}.hx-bal .t span{color:var(--muted)}
.hx-bal .track{display:flex;height:9px;border-radius:9px;background:var(--bg);overflow:hidden}.hx-bal .track i{border-radius:9px;background:var(--navy)}
.hx-bal .track i.g{background:var(--green)}.hx-bal .track i.a{background:var(--amber)}
.hx-mcal{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;padding:4px 20px 10px}
.hx-mcal span{aspect-ratio:1.4;border-radius:8px;display:grid;place-items:center;font-size:12px}
.hx-mcal .p,.hx-heat .p,.hx-leg .p{background:#e3f1d6}.hx-mcal .a,.hx-heat .a,.hx-leg .a{background:#fbe3bf}.hx-mcal .v,.hx-heat .v,.hx-leg .v{background:#d9e2f2}
.hx-mcal .l,.hx-heat .h,.hx-leg .h,.hx-leg .l{background:#eef4fb;box-shadow:inset 0 0 0 1px #c9d6ea}.hx-mcal .w,.hx-heat .w,.hx-leg .w{background:var(--bg)}.hx-mcal .f{background:#fff;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted-2)}
.hx-heat .x,.hx-leg .x{background:#f6c9c9}.hx-heat .o,.hx-leg .o{background:#e6dcf5}
.hx-leg{display:flex;flex-wrap:wrap;gap:14px;padding:6px 20px 16px;font-size:12px;color:var(--muted)}
.hx-leg span{display:inline-flex;align-items:center;gap:6px}.hx-leg i{width:12px;height:12px;border-radius:3px;display:inline-block}
.hx-vac{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px 18px}
.hx-vac>div{padding:12px;border-radius:10px;background:var(--bg);display:flex;flex-direction:column;gap:4px}
.hx-vac input{width:80px;font-size:18px;font-weight:700}.hx-vac small{font-size:12px;color:var(--muted)}
.hx-allow{display:flex;flex-direction:column;gap:8px;padding:0 20px 18px}
.hx-allow>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.hx-allow>div small{grid-column:1;font-size:12px;color:var(--muted);margin-top:-6px}
.hx-allow>div>b.num{grid-row:1/3;grid-column:2;font-size:16px}.hx-allow>div .rowacts{grid-row:1/3;grid-column:3}
.hx-heat{padding:16px 16px 0;margin-bottom:16px;overflow-x:auto}
.hx-heat-h,.hx-heat .r{display:grid;grid-template-columns:190px repeat(16,minmax(26px,1fr)) 90px;gap:4px;align-items:center}
.hx-heat-h{font-size:11px;color:var(--muted);margin-bottom:6px}.hx-heat-h b{text-align:center;font-weight:600}.hx-heat-h>span:last-child{text-align:center}
.hx-heat .r{margin-bottom:4px}.hx-heat .r .n{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden}
.hx-heat .r i{height:28px;border-radius:6px;display:block}
.hx-heat .r .s{text-align:center;font-size:12.5px;color:var(--muted)}
.hx-rq{display:flex;flex-direction:column;gap:12px}
.hx-rqc{display:flex;gap:14px;align-items:flex-start;padding:16px}
.hx-rqc .ic{width:44px;height:44px;border-radius:12px;background:var(--navy-soft);display:grid;place-items:center;flex:none}.hx-rqc .ic svg{width:20px;height:20px;color:var(--navy)}
.hx-rqc .b{flex:1;min-width:0}.hx-rqc .t{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hx-rqc .t>b{font-size:15px}
.hx-rqc .t span{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600}.hx-rqc .t small{color:var(--muted);font-weight:500}
.hx-rqc p{margin:6px 0 8px;font-size:14px;color:var(--ink)}
.hx-rqc .imp{display:flex;flex-wrap:wrap;gap:8px}.hx-rqc .imp span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:4px 10px;border-radius:8px;background:var(--bg)}
.hx-rqc .imp svg{width:14px;height:14px}.hx-rqc .imp .g{background:var(--green-soft);color:var(--green-d)}.hx-rqc .imp .a{background:var(--amber-soft);color:var(--amber)}.hx-rqc .imp .n{background:var(--navy-soft);color:var(--navy)}
.hx-rqc .a{display:flex;gap:8px;flex:none}
.hx-calc{font-size:13px;color:var(--muted)}.hx-calc b{font-size:20px;color:var(--navy)}
.hx-k{font-size:11.5px;font-weight:700;color:var(--muted);background:var(--bg);border-radius:6px;padding:2px 8px;align-self:flex-start}
td.num.g{color:var(--green-d)}td.num.r{color:#d64545}
.fx-t tfoot td{background:var(--bg);font-weight:700;border-top:2px solid var(--line)}
.hx-cell{width:72px;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;font:inherit;text-align:center}
.hx-cell:hover,.hx-cell:focus{border-color:var(--line);background:#fff}
.hx-cell.ed{background:var(--amber-soft);border-color:#f0d29a}
.hx-cell.note{width:160px;text-align:start}
.hx-grid .fx-selbar{border-radius:0 0 12px 12px}
.hx-feed{display:flex;flex-direction:column;gap:12px}
.hx-post{padding:16px}.hx-post .h{display:flex;align-items:center;gap:10px}.hx-post .h>div{flex:1}
.hx-post .h b{display:block;font-size:14px}.hx-post .h small{font-size:12px;color:var(--muted)}
.hx-post .att{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}.hx-post .att svg{width:14px;height:14px}
.hx-post>b.t{display:block;font-size:15px;margin:12px 0 4px}.hx-post p{margin:0;line-height:1.85;color:#334155;font-size:14px}
.hx-post .f{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.hx-miss>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.hx-miss>div:first-child{border-top:0}
.hx-miss span{flex:1;font-size:14px;font-weight:600}.hx-miss small{display:block;font-size:12px;color:var(--muted);font-weight:500}
@media (max-width:1200px){.hx-who{grid-template-columns:1fr}.hx-rqc{flex-wrap:wrap}}
.hx-rqc .t span.hx-av{display:inline-grid;gap:0;width:26px;height:26px;font-size:12px;padding:0}
.hx-av.n{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.hx-cell{width:58px}
.hx-note{display:inline-flex!important;align-items:center;gap:4px;margin-top:3px;color:var(--amber)!important}.hx-note svg{width:12px;height:12px}

/* ---- v1.7 — Settings ---- */
.sx-lay{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}
.sx-nav{padding:8px;position:sticky;top:84px;display:flex;flex-direction:column;gap:2px}
.sx-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}
.sx-nav a svg{width:18px;height:18px;color:#64748b;flex:none}.sx-nav a span{flex:1}
.sx-nav a em{font-style:normal;font-size:11.5px;color:var(--muted);background:var(--bg);border-radius:20px;padding:0 8px}
.sx-nav a:hover{background:var(--bg)}.sx-nav a.on{background:var(--navy-soft);color:var(--navy);font-weight:700}.sx-nav a.on svg{color:var(--navy)}
.sx-body{min-width:0}
.sx-save{position:sticky;bottom:12px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.12),0 0 0 1px var(--line);margin-top:6px;z-index:3}
.sx-save>svg{width:18px;height:18px;color:var(--muted)}.sx-save span{flex:1;font-size:13px;color:var(--muted)}
.sx-rule{display:flex;align-items:center;gap:16px;padding:14px 20px;border-top:1px solid var(--line)}
.sec-h+.sx-rule{border-top:0}
.sx-rule>div{flex:1}.sx-rule b{display:block;font-size:14px}.sx-rule small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px;line-height:1.6}
.sx-rule select{max-width:240px}
.sx-num{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.sx-num input{width:72px;border:0;padding:8px 10px;font-size:15px;font-weight:700;text-align:center}
.sx-num em{font-style:normal;font-size:12.5px;color:var(--muted);background:var(--bg);padding:9px 10px;border-inline-start:1px solid var(--line)}
.sx-st{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;white-space:nowrap}
.sx-st i{width:8px;height:8px;border-radius:50%;background:var(--muted-2)}
.sx-st.g{color:var(--green-d)}.sx-st.g i{background:var(--green)}.sx-st.a{color:var(--amber)}.sx-st.a i{background:var(--amber)}.sx-st.r{color:#c0392b}.sx-st.r i{background:#d64545}.sx-st.n{color:var(--muted)}
.sx-search{padding:16px;margin-bottom:16px}
.inp.big{height:52px}.inp.big input{font-size:15px}
.sx-hits{display:flex;flex-direction:column;margin-top:8px}
.sx-hits a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:14px}
.sx-hits a:hover{background:var(--bg)}.sx-hits a svg{width:16px;height:16px;color:var(--muted)}.sx-hits a small{margin-inline-start:auto;color:var(--muted);font-size:12.5px}
.sx-areas{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sx-area{display:flex;align-items:center;gap:12px;padding:14px 16px;text-decoration:none;color:var(--ink);transition:.15s}
.sx-area:hover{box-shadow:0 0 0 2px var(--navy)}
.sx-area>svg:first-child{width:22px;height:22px;color:var(--navy);flex:none}.sx-area>div{flex:1;min-width:0}
.sx-area b{display:block;font-size:15px}.sx-area small{display:block;font-size:12.5px;color:var(--muted);line-height:1.6}
.sx-area>svg:last-child{width:16px;height:16px;color:var(--muted)}
.sx-area em{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:20px;white-space:nowrap}
.sx-area em.a{background:var(--amber-soft);color:var(--amber)}.sx-area em.r{background:#fdecec;color:#c0392b}
.sx-prog{font-style:normal;margin-inline-start:auto;font-size:12px;font-weight:700;color:var(--navy);background:var(--navy-soft);padding:2px 10px;border-radius:20px}
.sx-check{padding:0 20px 14px}.sx-check>div{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:14px;border-bottom:1px solid var(--line)}
.sx-check>div:last-child{border-bottom:0}.sx-check svg{width:18px;height:18px;color:var(--muted-2);flex:none}.sx-check span{flex:1}
.sx-check .ok{color:var(--muted)}.sx-check .ok svg{color:var(--green)}.sx-check .ok span{text-decoration:line-through;text-decoration-color:#cbd5e1}
.sx-logo{display:flex;align-items:center;gap:12px;margin:0 20px 18px;padding:12px;border:1px dashed var(--line);border-radius:10px}
.sx-logo .ph{width:56px;height:40px;border-radius:8px;background:var(--bg);display:grid;place-items:center}.sx-logo .ph svg{width:20px;height:20px;color:var(--muted)}
.sx-logo>div{flex:1}.sx-logo b{display:block;font-size:14px}.sx-logo small{font-size:12px;color:var(--muted)}
.sx-live{display:flex;align-items:center;gap:20px;padding:6px 16px;margin-bottom:16px;flex-wrap:wrap}.sx-live .actrow{flex:1;min-width:260px;border:0}
.sx-browser{margin:0 20px 18px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.sx-browser .bar{display:flex;align-items:center;gap:5px;padding:8px 10px;background:var(--bg);font-size:11px;color:var(--muted)}
.sx-browser .bar i{width:8px;height:8px;border-radius:50%;background:#d6dbe4}.sx-browser .bar span{margin-inline-start:8px;direction:ltr}
.sx-browser .hdr{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}
.sx-browser .hdr b{font-size:14px}.sx-browser .hdr span{flex:1;font-size:11.5px;color:var(--muted)}
.sx-browser .hero{padding:26px 14px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.sx-browser .hero b{font-size:17px}.sx-browser .hero small{color:rgba(255,255,255,.75)}
.sx-browser .cta{margin-top:6px;background:var(--green);color:#fff;font-size:12.5px;font-weight:700;padding:6px 14px;border-radius:8px}
.sx-fm{padding:0 20px 14px}.sx-fm>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.sx-fm>div:last-child{border-bottom:0}.sx-fm b{font-size:14px;font-weight:600}
.cx-seg2.sm4{width:auto;flex:none}.cx-seg2.sm4 button{flex:none;padding:5px 12px;font-size:12.5px}
.cx-seg2 button.on.req{color:#c0392b}.cx-seg2 button.on.opt{color:var(--green-d)}.cx-seg2 button.on.hide{color:var(--muted)}
.sx-nat{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 20px 18px}
.sx-nat>.card{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;box-shadow:none;border:1px solid var(--line)}
.sx-nat>.card>b{grid-column:1/2;font-size:15px}.sx-nat>.card>.sw{grid-column:2;grid-row:1;justify-self:end}
.sx-nat>.card>div{display:flex;flex-direction:column;gap:2px}.sx-nat small{font-size:11.5px;color:var(--muted)}.sx-nat input{width:100%;padding:6px 8px;font-weight:700}
.sx-hb{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:16px}
.sx-hb>div{flex:1;display:flex;align-items:center;gap:12px}.sx-hb>div>svg{width:22px;height:22px;color:var(--navy)}
.sx-hb b{display:block;font-size:15px}.sx-hb small{font-size:12.5px;color:var(--muted)}
.sx-role{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;margin-bottom:16px}
.sx-role>div:first-child{flex:1}.sx-role small{font-size:12px;color:var(--muted)}.sx-role h2{margin:2px 0 6px;font-size:20px}
.sx-role p{margin:0;font-size:14px;line-height:1.85;color:#334155}.sx-role .fb{min-width:170px}
.sx-mx-h{padding:12px}
.sx-mx th:not(:first-child),.sx-mx td:not(:first-child){text-align:center;width:90px}
.sx-br{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}
.sx-brc .h{display:flex;align-items:center;gap:10px;padding:16px 16px 6px}.sx-brc .h>svg{width:22px;height:22px;color:var(--navy)}
.sx-brc .h>div{flex:1}.sx-brc .h b{display:block;font-size:15px}.sx-brc .h small{font-size:12px;color:var(--muted)}
.sx-brc .kvgrid{grid-template-columns:1fr}.sx-brc .kv{display:flex;flex-direction:row;justify-content:space-between;padding:9px 16px}
.sx-brc .f{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.sx-ch{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.sx-chc{padding:14px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.sx-chc>svg{width:22px;height:22px;color:var(--navy)}.sx-chc b{font-size:15px}.sx-chc small{display:block;font-size:12px;color:var(--muted)}
.sx-chc em{font-style:normal;font-size:12px;color:var(--muted)}.sx-chc.r{box-shadow:0 0 0 2px #f3b4b4}.sx-chc.r em{color:#c0392b;font-weight:600}
.sx-chc .btn{margin-top:auto}
.sx-int{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.sx-ic{padding:16px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.sx-ic>svg{width:26px;height:26px;color:var(--navy);margin-bottom:4px}.sx-ic>b{font-size:15px}.sx-ic>small{font-size:12.5px;color:var(--muted);min-height:38px}
.sx-ic>em{font-style:normal;font-size:12px;color:var(--muted)}
.sx-ic .f{display:flex;gap:6px;margin-top:8px;padding-top:10px;border-top:1px solid var(--line);width:100%}
.sx-imp{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px 14px}
.sx-imp>div{padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:2px}
.sx-imp svg{width:18px;height:18px}.sx-imp b{font-size:22px}.sx-imp span{font-size:12.5px}
.sx-imp .g{background:var(--green-soft);color:var(--green-d)}.sx-imp .a{background:var(--amber-soft);color:var(--amber)}.sx-imp .r{background:#fdecec;color:#c0392b}
.sec .cx-chips{padding:0 20px}
.sx-types{padding:0 20px 14px;display:flex;flex-direction:column;gap:10px}
.sx-types>div{padding:10px 12px;border-radius:10px;background:var(--bg)}
.sx-types b{display:flex;align-items:center;gap:8px;font-size:14px}.sx-types b svg{width:16px;height:16px;color:var(--navy)}
.sx-types span{display:block;font-size:12.5px;color:var(--muted);margin-top:4px;line-height:1.7}
.sx-ai{display:flex;align-items:center;gap:12px;padding:16px 18px;margin-bottom:16px;background:var(--navy);color:#fff}
.sx-ai>div{flex:1}.sx-ai small{color:rgba(255,255,255,.7);font-size:12px}.sx-ai code{display:block;font-size:16px;margin-top:4px;color:#9fd36f}
.sx-ai .btn{color:#fff;border-color:rgba(255,255,255,.3);background:transparent}
.sx-q{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 18px}
.sx-q span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:20px;background:var(--navy-soft);color:var(--navy);font-size:13.5px;font-weight:600}.sx-q svg{width:14px;height:14px}
.sx-kb{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-content:start}
.sx-kb a{padding:16px;display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--ink)}
.sx-kb a svg{width:22px;height:22px;color:var(--navy);margin-bottom:4px}.sx-kb b{font-size:15px}.sx-kb small{font-size:12.5px;color:var(--muted)}
@media (max-width:1200px){.sx-lay{grid-template-columns:1fr}.sx-nav{position:static;flex-direction:row;flex-wrap:wrap}.sx-int,.sx-ch{grid-template-columns:repeat(2,1fr)}.sx-br,.sx-nat{grid-template-columns:1fr 1fr}}
.sx-check .ok span{text-decoration:none}
td .fx-why{white-space:normal;line-height:1.6}
.fx-side .kvgrid{grid-template-columns:1fr}.fx-side .kv{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px}.fx-side .kv b{text-align:end}

/* ---- v1.8.1 — sidebar badges: action only ---- */
.nal{margin-inline-start:auto;flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 7px;border-radius:20px;font-size:11.5px;font-weight:700;line-height:1}
.nal b{font-weight:700}
.nal.r{background:#d64545;color:#fff}
.nal.a{background:#fdf0dc;color:#b45309;box-shadow:inset 0 0 0 1px #f3d6a6}
.nal.n{background:var(--navy);color:#fff}
.nal.dot{min-width:0;width:9px;height:9px;padding:0;box-shadow:0 0 0 3px #fdecec}
.nav a:hover>.nal{visibility:hidden}
.dal{display:inline-flex;gap:4px;margin-inline-start:auto}.dal .nal{margin:0}
.rail button{position:relative}
.rl-dot{position:absolute;top:9px;inset-inline-start:calc(50% + 6px);width:8px;height:8px;border-radius:50%;background:#e25c5c;box-shadow:0 0 0 2px var(--navy)}
.nav a>span.nal,.dep-row span.dal,.dep-row .nal{flex:none!important;width:auto;min-width:22px;overflow:visible}
.nav a>span.nal.dot{min-width:0;width:9px}
.dep-row .dal{display:inline-flex;gap:4px}

/* ===== v1.9 — Home by role + Reports centre ===== */
.hm-new{font-size:10.5px;padding:1px 6px;margin-inline-start:4px;vertical-align:middle}
.hm-roles .seg{flex-wrap:wrap}
.hm-atd{display:flex;align-items:center;gap:10px;background:var(--green-soft);border:1px solid #d6e8c4;border-radius:var(--r);padding:8px 14px;margin-bottom:14px;font-size:13.5px;color:var(--body)}
.hm-atd>svg{width:18px;height:18px;color:var(--green-d)}
.hm-atd .hm-ses{margin-inline-start:auto;color:var(--muted)}
.hm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}
.hm-k{display:flex;flex-direction:column;gap:6px;padding:16px 18px;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s}
.hm-k:hover{border-color:var(--navy);transform:translateY(-1px)}
.hm-k .kl{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted);font-weight:600}
.hm-k .kl>svg:last-child{width:15px;height:15px;margin-inline-start:auto;color:var(--muted-2)}
.hm-k .kv{font-size:30px;font-weight:800;color:var(--navy);line-height:1.15}
.hm-k small{color:var(--muted);font-size:12.5px}
.hm-k .tag{align-self:flex-start}
.hm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.hm-grid .wide{grid-column:1/-1}
.hm-w{margin:0}
.hm-w .card-h.pad{padding:16px 18px;border-bottom:1px solid var(--line-2)}
.hm-sm{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.hm-sm.r{color:var(--red)}
.hm-fin{display:flex;align-items:flex-end;gap:18px;height:170px;padding:18px 22px 6px}
.hm-fb{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%}
.hm-fb .bars{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}
.hm-fb i{width:16px;border-radius:5px 5px 0 0;display:block}
.hm-fb small{font-size:12px;color:var(--muted)}
.hm-fb i.in,.hm-legend i.in{background:var(--navy)}
.hm-fb i.out,.hm-legend i.out{background:#c9d3e2}
.hm-legend{display:flex;gap:16px;padding:0 22px 10px;font-size:12.5px;color:var(--muted)}
.hm-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:6px}
.hm-split{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-2)}
.hm-split>div{padding:12px 18px;border-inline-start:1px solid var(--line-2)}
.hm-split>div:first-child{border:0}
.hm-split small{display:block;color:var(--muted);font-size:12.5px}
.hm-split b{font-size:18px;color:var(--navy)}
.hm-ob{display:flex;flex-direction:column}
.hm-obr{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:11px 18px;border-bottom:1px solid var(--line-2)}
.hm-obr>svg{width:18px;height:18px;color:var(--muted)}
.hm-obr.r>svg{color:var(--red)}.hm-obr.a>svg{color:var(--amber)}
.hm-obr b{font-size:14px;color:var(--ink);font-weight:600}
.hm-obr small{display:block;font-size:12px;color:var(--muted)}
.hm-obr>span.num{font-weight:700;color:var(--navy)}
.hm-tot{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;padding:12px 18px;background:var(--bg);font-size:13.5px}
.hm-tot>b{font-size:17px;color:var(--navy)}
.hm-tot .sub{margin-inline-start:auto;color:var(--muted);font-size:12.5px}
.hm-age{display:flex;gap:4px;padding:16px 18px}
.hm-age>div{min-width:0;border-radius:8px;padding:10px 12px;background:var(--green-soft)}
.hm-age>div.a{background:var(--amber-soft)}.hm-age>div.r{background:var(--red-soft)}
.hm-age b{display:block;font-size:15px;color:var(--navy)}
.hm-age small{font-size:11.5px;color:var(--muted)}
.hm-list>div{display:flex;align-items:center;gap:12px;padding:11px 18px;border-top:1px solid var(--line-2)}
.hm-list>div>b,.hm-list>div>b+small{min-width:0}
.hm-list>div>b{font-size:14px;color:var(--ink);font-weight:600}
.hm-list>div>small{flex:1;color:var(--muted);font-size:12.5px}
.hm-list>div>b small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.hm-list>div>span.num{font-weight:700;color:var(--navy)}
.hm-list>div>.btn,.hm-list>div>.tag{margin-inline-start:auto}
.hm-list>div>.ni+b{flex:1}
.hm-pipe{display:flex;align-items:stretch;gap:4px;padding:16px 18px;overflow-x:auto}
.hm-pipe>button{flex:1;min-width:96px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 6px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.hm-pipe>button:hover{border-color:var(--navy)}
.hm-pipe>button b{font-size:22px;font-weight:800;color:var(--navy)}
.hm-pipe>button span{font-size:13px;color:var(--body);font-weight:600}
.hm-pipe>button em{font-style:normal;font-size:11.5px;color:var(--red);font-weight:600}
.hm-pipe>button em.ok{color:var(--green-d);font-weight:500}
.hm-pipe>button.hot{border-color:#f0b9b4;background:var(--red-soft)}
.hm-pipe>i{display:grid;place-items:center;color:var(--muted-2)}
.hm-pipe>i svg{width:16px;height:16px}
.hm-pfoot{display:flex;gap:8px;align-items:flex-start;padding:0 18px 14px;font-size:12.5px;color:var(--muted)}
.hm-pfoot svg{width:15px;height:15px;flex:none;margin-top:2px}
.hm-w .cx-chips{padding:12px 18px 0;margin:0}
.hm-over{display:flex;align-items:center;gap:8px}
.hm-over .track{flex:1;height:6px;border-radius:4px;background:var(--red);overflow:hidden;display:block}
.hm-over .track i{display:block;height:100%;background:#c9d3e2}
.hm-over b{font-size:12.5px;white-space:nowrap}
.hm-feed .hm-fi{display:flex;align-items:center;gap:12px;padding:10px 18px;border-top:1px solid var(--line-2)}
.hm-feed .hm-fi:first-child{border:0}
.hm-fi>div{flex:1;min-width:0}
.hm-fi b{display:block;font-size:14px;color:var(--ink);font-weight:600}
.hm-fi small{font-size:12.5px;color:var(--muted)}
.hm-fi time{font-size:12px;color:var(--muted-2)}
.hm-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:14px 18px}
.hm-mini>div{border-radius:10px;padding:12px;background:var(--navy-soft)}
.hm-mini>div.g{background:var(--green-soft)}.hm-mini>div.a{background:var(--amber-soft)}.hm-mini>div.r{background:var(--red-soft)}
.hm-mini b{display:block;font-size:22px;font-weight:800;color:var(--navy)}
.hm-mini small{font-size:12px;color:var(--muted)}
.hm-fun{padding:14px 18px;display:flex;flex-direction:column;gap:10px}
.hm-fun>div{display:grid;grid-template-columns:110px 1fr 40px;gap:10px;align-items:center;font-size:13.5px}
.hm-fun .bar{height:12px;background:var(--navy-soft);border-radius:6px;overflow:hidden;display:block}
.hm-fun .bar i{display:block;height:100%;background:var(--navy);border-radius:6px}
.hm-fun b{text-align:end;color:var(--navy)}
/* customise drawer */
.ov[data-hc-ov]{justify-content:flex-start;padding:0}
.hm-ch{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px;border-bottom:1px solid var(--line)}
.hm-ch h3{margin:0;font-size:17px}.hm-ch p{margin:2px 0 0;color:var(--muted);font-size:13px}
.hm-cseg{display:flex;gap:6px;padding:12px 20px 0}
.hm-cseg button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:13.5px;cursor:pointer}
.hm-cseg button.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.hm-cseg button.on .tag{background:rgba(255,255,255,.18);color:#fff}
.hm-cb{flex:1;overflow:auto;padding:4px 20px 20px}
.hm-cn{font-size:13px;color:var(--muted);line-height:1.7;background:var(--bg);border-radius:10px;padding:10px 12px}
.hm-cs{font-size:12.5px;font-weight:700;color:var(--muted);margin:16px 0 6px}
.hm-cr{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin-bottom:6px;background:#fff}
.hm-cr>svg{width:16px;height:16px;color:var(--muted-2);cursor:grab}
.hm-cr>div{flex:1}
.hm-cr b{display:block;font-size:14px}
.hm-cr small{font-size:12px;color:var(--muted)}
.hm-cr.lock{background:var(--bg);opacity:.75}
.hm-cr.lock>svg{cursor:default}
.hm-cf{display:flex;gap:8px;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--line)}
/* reports centre */
.rc-wrap{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;align-items:start;margin-top:14px}
.rc-side{padding:10px;position:sticky;top:84px}
.rc-st{display:block;font-size:12.5px;color:var(--muted);padding:4px 10px 8px}
.rc-side button{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:8px;background:none;font:inherit;font-size:14px;color:var(--body);cursor:pointer;text-align:start}
.rc-side button svg{width:16px;height:16px;color:var(--muted)}
.rc-side button span{flex:1}
.rc-side button em{font-style:normal;font-size:12px;color:var(--muted)}
.rc-side button.on,.rc-side button:hover{background:var(--navy-soft);color:var(--navy);font-weight:600}
.rc-side hr{border:0;border-top:1px solid var(--line-2);margin:8px 0}
.rc-wrap .fbar{margin-bottom:14px}
.rc-sec{margin-bottom:16px}
.rc-sh{display:flex;align-items:center;gap:8px;margin:0 2px 8px;color:var(--navy)}
.rc-sh svg{width:17px;height:17px}
.rc-sh span{font-size:12px;color:var(--muted)}
.rc-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--line-2)}
.rc-row:first-child{border:0}
.rc-star{border:0;background:none;padding:4px;cursor:pointer;color:#c3cbda;display:grid}
.rc-star svg{width:17px;height:17px}
.rc-star.on{color:var(--amber)}.rc-star.on svg{fill:var(--amber)}
.rc-t{flex:1;min-width:0}
.rc-t b{display:block;font-size:14.5px;color:var(--ink)}
.rc-t small{font-size:12.5px;color:var(--muted)}
.rc-tags{display:flex;gap:6px}
.rc-tags b{font-weight:600}
.rc-act{display:flex;gap:6px}
.rc-fl{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rc-fl>b{font-size:13px;color:var(--muted);font-weight:600}
.rc-fl>span{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:3px 10px}
.rc-fl>span svg{width:12px;height:12px;cursor:pointer}
.rc-addf{display:inline-flex;align-items:center;gap:4px;border:1px dashed var(--ctl-bd);background:none;border-radius:999px;padding:3px 10px;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer}
.rc-addf svg{width:12px;height:12px}
.rc-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;margin-bottom:14px}
.rc-bar .rc-fl{flex:1}
.rc-modal{width:min(560px,100%);padding:0}
.rc-mb{padding:16px 20px;display:flex;flex-direction:column;gap:14px}
.rc-mb .fgrid{padding:0;gap:12px}
.rc-mb .fld{margin:0}
.rc-rcp{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:1px solid var(--ctl-bd);border-radius:10px;padding:6px 8px;min-height:var(--ctl-h)}
.rc-rcp span{display:inline-flex;align-items:center;gap:4px;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:3px 10px;font-size:12.5px}
.rc-rcp span svg{width:12px;height:12px}
.rc-rcp input{flex:1;min-width:140px;border:0;outline:0;font:inherit;background:none}
.rc-sum{display:flex;gap:10px;align-items:flex-start;background:var(--green-soft);border-radius:10px;padding:12px 14px;font-size:13.5px;line-height:1.7}
.rc-sum svg{width:18px;height:18px;color:var(--green-d);flex:none;margin-top:3px}
.rc-mf{display:flex;justify-content:space-between;gap:8px;padding:14px 20px;border-top:1px solid var(--line)}
@media (max-width:1100px){.hm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-grid{grid-template-columns:1fr}.rc-wrap{grid-template-columns:1fr}.rc-side{position:static}}
@media (max-width:640px){.hm-kpis{grid-template-columns:1fr}.hm-mini{grid-template-columns:repeat(2,1fr)}.rc-row{flex-wrap:wrap}.hm-atd{flex-wrap:wrap}.hm-atd .hm-ses{margin:0}}
.hm-k .kv{border:0;padding:0;margin:0;background:none;display:block;min-height:0}
.hm-k .kv::before,.hm-k .kv::after{display:none}
.rc-modal .modal-h{padding:16px 20px;border-bottom:1px solid var(--line);margin:0;align-items:center}
.rc-modal .modal-h h3{margin:0}
.rc-fl>em{font-style:normal;font-size:12px;color:var(--muted)}
td>.sw,.hm-cr>.sw{display:inline-block;cursor:pointer}

/* ===== v1.10 — Task center (tc-*) + Super Admin (sa-*) ===== */
.cx-info.warn{background:var(--amber-soft);border-color:#f0d9b0;color:#7a5413}
.cx-info.warn svg{color:var(--amber)}
.tc-sub{font-size:12.5px;color:var(--muted);font-weight:500}
.tc-late{color:var(--red)!important;font-weight:700}
.tc-av{width:28px;height:28px;border-radius:50%;background:var(--navy-soft);color:var(--navy);display:inline-grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.tc-av.sm{width:22px;height:22px;font-size:11px;vertical-align:middle}
.tc-av.lg{width:42px;height:42px;font-size:16px}
.tc-ty{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:.3px;padding:2px 7px;border-radius:5px;font-family:'IBM Plex Sans',sans-serif;vertical-align:middle}
.tc-ty.r{background:var(--red-soft);color:var(--red)}.tc-ty.b{background:var(--blue-soft);color:var(--blue)}.tc-ty.a{background:var(--amber-soft);color:var(--amber)}.tc-ty.n{background:var(--navy-soft);color:var(--navy)}.tc-ty.g{background:var(--green-soft);color:var(--green-d)}.tc-ty.p{background:#f3edfb;color:#7044b8}
.tc-pr{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border-radius:999px;vertical-align:middle}
.tc-pr.r{background:var(--red);color:#fff}.tc-pr.a{background:var(--amber-soft);color:var(--amber)}.tc-pr.n{background:var(--line-2);color:var(--muted)}
.tc-bar{display:flex;height:7px;border-radius:999px;background:var(--line-2);overflow:hidden;flex:1;min-width:60px}
.tc-bar i{display:block;height:100%;background:var(--green)}
.tc-bar i.r,.tc-bar.r i{background:var(--red)}.tc-bar.a i{background:var(--amber)}.tc-bar i.p{background:#9b7bd4}
.tc-hb{display:flex;align-items:center;gap:10px}
/* timer */
.tc-timer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--navy);color:#dbe3f0;border-radius:var(--r);padding:12px 16px;margin:16px 0}
.tc-timer>svg{width:18px;height:18px;color:var(--green)}
.tc-timer a{color:#fff}.tc-timer a b{color:#b9e08f}
.tc-clock{font-size:20px;color:#fff;letter-spacing:.5px;margin-inline-start:auto}
.tc-mon{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#9fb0c9}.tc-mon svg{width:15px;height:15px;color:var(--green)}
.tc-timer .btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}
.tc-pulse,.tc-live i,.tc-on i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(122,182,72,.6);animation:tcp 1.6s infinite;display:inline-block;flex:none}
@keyframes tcp{70%{box-shadow:0 0 0 7px rgba(122,182,72,0)}100%{box-shadow:0 0 0 0 rgba(122,182,72,0)}}
.tc-on{display:inline-flex!important;align-items:center;gap:6px;color:var(--green-d)!important;font-weight:600}
/* my day */
.tc-day{padding:18px 20px;margin-bottom:16px}
.tc-day-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.tc-day-h b{font-size:15px;color:var(--ink)}.tc-day-h small{display:block;color:var(--muted);font-size:12.5px}
.tc-day-m{font-size:13.5px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tc-day-m .a{color:var(--amber)}
.tc-seg{display:flex;gap:3px;height:30px;border-radius:8px;overflow:hidden}
.tc-seg i{display:flex;align-items:center;padding:0 10px;font-style:normal;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden}
.tc-seg i.g{background:var(--green-soft);color:var(--green-d)}.tc-seg i.n{background:var(--navy-soft);color:var(--navy)}.tc-seg i.a{background:repeating-linear-gradient(-45deg,var(--amber-soft),var(--amber-soft) 6px,#fbe7c4 6px,#fbe7c4 12px);color:var(--amber)}
.tc-day-k{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.tc-day-k div{border-inline-start:3px solid var(--line);padding-inline-start:10px}
.tc-day-k small{display:block;font-size:12px;color:var(--muted)}.tc-day-k b{font-size:20px;color:var(--ink)}
.tc-day-k b.r{color:var(--red)}.tc-day-k b.g{color:var(--green-d)}.tc-day-k b.a{color:var(--amber)}
tr.tc-grp td{background:var(--bg);font-size:12px;font-weight:700;color:var(--muted);padding:7px 16px!important}
tr.tc-grp svg{width:14px;height:14px;vertical-align:-2px;margin-inline-end:6px}
.tc-gen,.tc-log{display:flex;flex-direction:column;padding:0 20px 16px}
.tc-gen>div{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-2)}
.tc-gen>div>svg{width:17px;height:17px;color:var(--muted)}
.tc-gen span{flex:1}.tc-gen b{display:block;font-size:13.5px}.tc-gen small{font-size:11.5px;color:var(--muted)}
.tc-log>div{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.tc-log>div>span{color:var(--muted);font-size:12px}.tc-log em{font-style:normal;font-weight:700;color:var(--ink)}
.tc-log>div.now{background:var(--green-soft);border-radius:8px;padding:8px;border:0}
details .tc-log>div{grid-template-columns:auto 1fr auto}
/* screenshots */
.tc-shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;padding:0 20px 18px}
.tc-hour .tc-shots{padding:0}
.tc-shots.sm{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
.tc-shot{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.tc-img{aspect-ratio:16/10;position:relative;display:grid;place-items:center;text-align:center}
.tc-img:before{content:"";position:absolute;inset:8% 6% auto 6%;height:9%;border-radius:3px;background:rgba(255,255,255,.7)}
.tc-img:after{content:"";position:absolute;inset:auto 6% 10% 36%;height:52%;border-radius:4px;background:rgba(255,255,255,.55)}
.tc-img.v0{background:linear-gradient(135deg,#dbe5f3,#c4d3ea)}.tc-img.v1{background:linear-gradient(135deg,#e1eedb,#cbe0bf)}.tc-img.v2{background:linear-gradient(135deg,#ece6f6,#d8cdee)}.tc-img.v3{background:linear-gradient(135deg,#f3eadb,#e7d6b8)}
.tc-img.th{width:74px;flex:none;border-radius:8px;margin-inline-start:auto}
.tc-shot.rm .tc-img{background:repeating-linear-gradient(-45deg,#fbeceb,#fbeceb 8px,#f7dedc 8px,#f7dedc 16px)}
.tc-shot.rm .tc-img:before,.tc-shot.rm .tc-img:after{display:none}
.tc-shot.rm .tc-img svg{width:20px;height:20px;color:var(--red)}
.tc-shot.rm .tc-img small{display:block;color:var(--red);font-size:11px;padding:0 8px;font-weight:600}
.tc-sm{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:12px}
.tc-sm span{color:var(--muted);flex:1}.tc-sm .icon-btn{width:26px;height:26px}.tc-sm .icon-btn svg{width:14px;height:14px}
.tc-hour{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:12px}
.tc-hh{display:flex;gap:10px;align-items:center;margin-bottom:10px}.tc-hh b{font-size:16px;color:var(--ink)}.tc-hh span{color:var(--muted);font-size:13px}
.tc-priv{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);margin-inline-start:auto;max-width:360px}.tc-priv svg{width:16px;height:16px;color:var(--green-d);flex:none}
.tc-sumrow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.tc-sumrow div{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px 16px}
.tc-sumrow b{display:block;font-size:20px;color:var(--ink)}.tc-sumrow small{color:var(--muted);font-size:12.5px}
/* board */
.tc-kbd{font-size:12.5px;color:var(--muted)}.tc-kbd kbd{font-family:inherit;background:#fff;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:0 6px;font-size:11.5px}
.tc-fl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.tc-fl .cx-chips{margin:0}
.tc-clear{font-size:13px;color:var(--muted);text-decoration:underline}
.tc-now{display:flex;align-items:center;gap:10px;margin-inline-start:auto;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 14px 5px 6px;flex-wrap:wrap}
.tc-now>b{font-size:12.5px;color:var(--green-d);display:inline-flex;align-items:center;gap:6px}
.tc-now>b:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);animation:tcp 1.6s infinite}
.tc-np{display:inline-flex;align-items:center;gap:6px}.tc-np b{font-size:12px;display:block;line-height:1.2}.tc-np small{font-size:10.5px;color:var(--muted);display:block;line-height:1.2}
.tc-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(232px,1fr);gap:12px;overflow-x:auto;padding-bottom:10px;margin-bottom:16px;align-items:start}
.tc-col{background:#eef1f6;border-radius:12px;display:flex;flex-direction:column;max-height:720px}
.tc-ch{display:flex;align-items:center;gap:8px;padding:11px 12px 8px}
.tc-ch b{font-size:13.5px;color:var(--ink);flex:1}.tc-ch span{font-size:12px;color:var(--muted);background:#fff;border-radius:999px;padding:0 8px}
.tc-ch i.d{width:9px;height:9px;border-radius:50%;flex:none}
i.d.n{background:#8a97ab}i.d.b{background:var(--blue)}i.d.p{background:#9b7bd4}i.d.g{background:var(--green)}i.d.a{background:var(--amber)}i.d.r{background:var(--red)}
.tc-cb{display:flex;flex-direction:column;gap:8px;padding:0 8px 8px;overflow-y:auto}
.tc-card{display:flex;flex-direction:column;gap:7px;background:#fff;border-radius:9px;padding:10px 11px;box-shadow:0 1px 0 rgba(16,26,46,.08),0 1px 3px rgba(16,26,46,.06);color:var(--body);border:1px solid transparent}
.tc-card:hover{border-color:#c9d3e3;color:var(--body)}
.tc-card.done{opacity:.7}
.tc-card>b{font-size:13.5px;line-height:1.5;color:var(--ink);font-weight:600}.tc-card>b .num{color:var(--muted);font-weight:700;font-size:12px}
.tc-cr{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.tc-cl{font-size:11px;color:var(--muted);background:var(--bg);border-radius:5px;padding:1px 6px}
.tc-al{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:6px;padding:4px 8px}
.tc-al svg{width:13px;height:13px;flex:none}.tc-al.a{background:var(--amber-soft);color:var(--amber)}.tc-al.r{background:var(--red-soft);color:var(--red)}
.tc-cf{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11.5px;color:var(--muted)}
.tc-cf>span{display:inline-flex;align-items:center;gap:3px}.tc-cf svg{width:13px;height:13px}
.tc-cf .tc-av{margin-inline-start:auto;width:24px;height:24px;font-size:11px}
.tc-due{border-radius:5px;padding:1px 5px}.tc-due.late{background:var(--red);color:#fff}.tc-due.soon{background:var(--amber-soft);color:var(--amber)}.tc-due.done{background:var(--green-soft);color:var(--green-d)}
.tc-live{color:var(--green-d);font-weight:700}
.tc-hint{font-size:11.5px;color:var(--muted);display:flex;gap:6px;padding:4px 4px}.tc-hint svg{width:13px;height:13px;flex:none;margin-top:3px}
.tc-cfoot{display:flex;align-items:center;gap:6px;margin:0 8px 8px;padding:7px 8px;border-radius:8px;font-size:13px;color:var(--muted);font-weight:600}
button.tc-cfoot:hover{background:#e2e7ef;color:var(--ink)}.tc-cfoot svg{width:15px;height:15px}.tc-cfoot.muted{font-weight:500;font-size:12px}
.tc-qc{padding:0 20px 16px}.tc-qc textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;margin-bottom:10px}
.tc-qc .cx-right{display:flex;align-items:center;gap:12px;justify-content:flex-end}
.tc-load{display:flex;flex-direction:column;gap:9px;padding:0 20px 18px}
.tc-load>div{display:grid;grid-template-columns:auto 110px 1fr auto;gap:10px;align-items:center;font-size:13px}
.tc-load>div:has(code){grid-template-columns:130px auto 1fr auto}
.tc-load em{font-style:normal;font-size:12px;color:var(--muted);min-width:24px}
.tc-moves{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tc-moves>div{display:flex;gap:10px;background:#fff;border:1px dashed #c3cbda;border-radius:var(--r);padding:12px 14px}
.tc-moves svg{width:18px;height:18px;color:var(--navy);flex:none;margin-top:2px}.tc-moves b{display:block;font-size:13px;color:var(--ink)}.tc-moves small{font-size:12.5px;color:var(--muted)}
/* task page */
.tc-desc{padding:0 20px 16px;font-size:14px;line-height:1.85}.tc-desc p{margin:0 0 8px}
.tc-ck{padding:0 20px 16px;display:flex;flex-direction:column;gap:4px}
.tc-ckp{display:flex;align-items:center;gap:12px;margin-bottom:6px;font-size:12.5px;color:var(--muted)}
.tc-ck label{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:7px;font-size:13.5px}
.tc-ck label:hover{background:var(--bg)}.tc-ck label.on span{text-decoration:line-through;color:var(--muted)}
.tc-ck label small{margin-inline-start:auto;font-size:11.5px;color:var(--muted)}
.tc-ckadd{display:flex;gap:8px;margin-top:8px}
.tc-cm{padding:0 20px 16px;display:flex;flex-direction:column;gap:14px}
.tc-cm>div:not(.tc-comp){display:flex;gap:10px}.tc-cm>div>div{flex:1;background:var(--bg);border-radius:10px;padding:9px 12px}
.tc-cm b{font-size:13px;color:var(--ink)}.tc-cm b small{font-weight:500;color:var(--muted);font-size:11.5px;margin-inline-start:6px}.tc-cm p{margin:3px 0 0;font-size:13.5px}
.tc-file{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;margin-top:6px}.tc-file svg{width:13px;height:13px}
.tc-comp textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}
.tc-comp>div{display:flex;justify-content:space-between;margin-top:8px}
.tc-det{padding:0;margin-bottom:16px}.tc-det summary{display:flex;align-items:center;gap:10px;padding:16px 20px;cursor:pointer;list-style:none}
.tc-det summary svg{width:18px;height:18px;color:var(--navy)}.tc-det[open] summary{padding-bottom:10px}
.tc-tb{padding:0 20px 18px;display:flex;flex-direction:column;gap:10px}.tc-tb>.btn{justify-content:center;height:46px;font-size:15px}
.tc-tb>small{font-size:12px;color:var(--muted)}
.tc-est{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line-2);padding-top:12px}
.tc-est small{display:block;font-size:11.5px;color:var(--muted)}.tc-est b{font-size:16px;color:var(--ink)}
.tc-hm{display:flex;align-items:center;gap:6px}.tc-hm input{width:64px}
.tc-help{display:flex;align-items:center;gap:12px;padding:14px 16px}.tc-help>svg{width:22px;height:22px;color:var(--blue);flex:none}
.tc-help b{display:block;font-size:13.5px}.tc-help small{font-size:12px;color:var(--muted)}
.tc-types{display:flex;flex-wrap:wrap;gap:8px}
.tc-types label{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:9px;padding:8px 12px;font-size:13px;cursor:pointer;background:#fff}
.tc-types label.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft);font-weight:700}
/* team */
.tc-range{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.tc-range .inp{height:38px;max-width:170px}.tc-range small{color:var(--muted)}
.tc-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:16px}
.tc-kpis.six{grid-template-columns:repeat(6,1fr)}.tc-kpis.three{grid-template-columns:repeat(3,1fr)}.tc-kpis.four{grid-template-columns:repeat(4,1fr)}
.tc-kpis .kpi{padding:14px 16px}.tc-kpis .fx-kpi .kv{font-size:24px;margin:6px 0 2px}
.kv.r{color:var(--red)!important}.kv.a{color:var(--amber)!important}.kv.g{color:var(--green-d)!important}
.tc-mems{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.tc-mem{padding:0;overflow:hidden}.tc-mem.bad{border-color:#efc4c0}.tc-mem.warn{border-color:#ecd6ad}
.tc-why{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;padding:7px 16px}
.tc-why svg{width:14px;height:14px}.tc-why.r{background:var(--red-soft);color:var(--red)}.tc-why.a{background:var(--amber-soft);color:var(--amber)}
.tc-mh{display:flex;align-items:center;gap:12px;padding:14px 16px 10px}.tc-mh b{display:block;font-size:15px;color:var(--ink)}.tc-mh small{font-size:12.5px;color:var(--muted)}
.tc-mk{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-2);border-block:1px solid var(--line-2)}
.tc-mk div{background:#fff;padding:8px 10px}.tc-mk small{display:block;font-size:11px;color:var(--muted);line-height:1.3}.tc-mk b{font-size:14px;color:var(--ink)}
.tc-mk b.r{color:var(--red)}.tc-mk b.a{color:var(--amber)}
.tc-cov{display:flex;align-items:center;gap:10px;padding:10px 16px 4px}.tc-cov small{font-size:11.5px;color:var(--muted);white-space:nowrap}
.tc-mf{display:flex;gap:12px;align-items:center;padding:8px 16px 12px;font-size:12px;color:var(--muted)}.tc-mf a{margin-inline-start:auto;font-weight:700;font-size:13px}
/* timeline */
.tc-tl{position:relative;margin:0 20px 18px;padding-top:26px}
.tc-tl-h{position:relative;height:0}.tc-tl-h span{position:absolute;top:-24px;transform:translateX(50%);font-size:11px;color:var(--muted)}
[dir="ltr"] .tc-tl-h span{transform:translateX(-50%)}
.tc-tl-r.att{position:relative;height:18px;background:var(--navy-soft);border-radius:5px;margin-bottom:6px}
.tc-tl-r small{position:absolute;inset-inline-start:6px;font-size:10.5px;color:var(--navy);line-height:18px;white-space:nowrap}
.tc-tl-t{position:relative;height:52px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(11.11% - 1px),var(--line-2) calc(11.11% - 1px),var(--line-2) 11.11%);border-radius:8px;border:1px solid var(--line-2)}
.tc-blk{position:absolute;top:4px;bottom:4px;border-radius:6px;padding:4px 6px;overflow:hidden;display:flex;flex-direction:column;justify-content:center}
.tc-blk b{font-size:11px;line-height:1.2;white-space:nowrap}.tc-blk small{font-size:10.5px;opacity:.8}
.tc-blk.g{background:var(--green);color:#fff}.tc-blk.n{background:#8a97ab;color:#fff}.tc-blk.b{background:var(--blue);color:#fff}
.tc-blk.s{background:repeating-linear-gradient(-45deg,#e9b866,#e9b866 6px,#f2cd8c 6px,#f2cd8c 12px);color:#5b3b05}
.tc-gap{position:absolute;top:4px;bottom:4px;border:1.5px dashed var(--amber);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:10.5px;color:var(--amber);font-weight:700}
.tc-gap svg{width:11px;height:11px}
.tc-tl-s{position:relative;height:12px;margin-top:4px}.tc-tl-s i{position:absolute;top:0;width:3px;height:12px;border-radius:2px;background:#e7c13c}.tc-tl-s i.r{background:var(--red)}
.tc-leg{margin:12px 0 0!important;flex-wrap:wrap}.tc-leg span{display:inline-flex;align-items:center;gap:6px}
.tc-leg i{width:12px;height:12px;border-radius:3px;display:inline-block}
.tc-leg i.g{background:var(--green)}.tc-leg i.n{background:#8a97ab}.tc-leg i.s{background:#e9b866}.tc-leg i.y{background:#e7c13c;width:4px}.tc-leg i.r{background:var(--red);width:4px}.tc-leg i.gap{border:1.5px dashed var(--amber)}.tc-leg i.p{background:#9b7bd4}
.tc-mini{display:flex;flex-direction:column;padding:0 20px 14px}
.tc-mini>a,.tc-mini>div{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:13px;color:var(--body)}
.tc-mini>a span,.tc-mini>div span{flex:1}.tc-mini b{font-size:12px;color:var(--muted)}.tc-mini small{color:var(--muted)}
.tc-ctx{display:flex;flex-wrap:wrap;gap:4px}.tc-ctx .tag{font-size:11.5px}
/* sessions */
.tc-flow{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:16px 0}
.tc-flow>div:not(.tc-srv){flex:1;min-width:180px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px}
.tc-flow>div>span{grid-row:span 2;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.tc-flow>div>svg{width:16px;height:16px;color:var(--navy)}.tc-flow>div>b{font-size:13.5px}.tc-flow>div>small{grid-column:2/4;font-size:12px;color:var(--muted)}
.tc-flow>i{display:grid;place-items:center;color:var(--muted)}.tc-flow>i svg{width:16px;height:16px}
.tc-srv{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);width:100%}.tc-srv svg{width:14px;height:14px}
.tc-inc{border-color:#ecd6ad;background:linear-gradient(0deg,#fff,#fffaf0)}
.tc-cd{margin-inline-start:auto;display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--amber);font-weight:600}.tc-cd svg{width:14px;height:14px}
.tc-inc-b{display:grid;grid-template-columns:auto 1fr;gap:12px 14px;align-items:center;padding:0 20px 18px}
.tc-inc-b>div:nth-child(2) b{display:block;font-size:14.5px;color:var(--ink)}.tc-inc-b small{color:var(--muted);font-size:12.5px}
.tc-inc-b .fgrid,.tc-inc-b .cx-right{grid-column:1/-1}
.tc-perm{padding:0 20px 16px;display:flex;flex-direction:column;gap:6px}.tc-perm>div{display:flex;justify-content:space-between;gap:8px;font-size:13px}
.tc-perm code{font-size:10.5px;color:var(--muted);direction:ltr}
.tc-pol{display:flex;flex-direction:column;gap:14px;padding:0 20px 16px}
.tc-pol>div{display:flex;gap:12px}.tc-pol svg{width:20px;height:20px;color:var(--navy);flex:none;margin-top:2px}.tc-pol b{display:block;font-size:14px;color:var(--ink)}.tc-pol small{font-size:13px;color:var(--muted)}
.tc-agree{display:flex;align-items:center;gap:10px;margin:4px 20px 14px;padding:12px 14px;background:var(--green-soft);border-radius:10px;font-weight:700;color:var(--green-d)}
.tc-monw{margin:0 20px 18px;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px;max-width:300px;box-shadow:var(--shadow)}
.tc-mw-h{display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:8px;padding:8px 10px}.tc-mw-h svg{width:16px;height:16px;color:var(--green)}.tc-mw-h span{margin-inline-start:auto}
.tc-mw-r{display:flex;justify-content:space-between;align-items:center;font-size:13px}.tc-monw small{font-size:12px;color:var(--muted)}
/* ===== super admin ===== */
a.kpi{color:var(--body)}a.kpi:hover{border-color:#c9d3e3}
.sw.dis{opacity:.4}.sw.lock{opacity:.6}
@keyframes saf{50%{transform:translateY(-5px)}}
.cx-file.big{margin:0 20px 12px;padding:22px}
/* super admin login */
@media (max-width:1100px){.tc-kpis,.tc-kpis.six{grid-template-columns:repeat(3,1fr)}.tc-moves{grid-template-columns:1fr}}
@media (max-width:640px){.tc-kpis,.tc-kpis.six,.tc-kpis.three,.tc-kpis.four,.tc-day-k,.tc-sumrow{grid-template-columns:repeat(2,1fr)}}
.tc-mh>div:not(.tc-img){flex:1;min-width:0}.tc-mh .tc-on{white-space:nowrap;font-size:12px}
.tc-mk small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-tl{direction:ltr}.tc-tl-h span,[dir="ltr"] .tc-tl-h span{transform:translateX(-50%)}.tc-tl .tc-leg,.tc-tl-r small{direction:rtl}
.actrow small{font-family:inherit}
.tc-mini .tc-av,.tc-mini>div .tc-av{flex:none}
.tc-desc code,.tc-perm code{direction:ltr;unicode-bidi:isolate;display:inline-block}
.card.sec>.actrow.sm{margin:0 20px}
.tw.fit table{min-width:0}.tw.fit td,.tw.fit th{padding-inline:12px}
/* ===== v1.11 — task center planner (tp-*) + one-line add (tq-*) ===== */
.tq{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;margin:16px 0;box-shadow:var(--shadow)}
.tq.big{margin-top:0}
.tq-in{display:flex;align-items:center;gap:10px;border:2px solid var(--navy);border-radius:10px;padding:0 12px;height:48px}
.tq-in>svg{width:20px;height:20px;color:var(--green-d)}.tq-in input{flex:1;border:0;outline:0;font:inherit;font-size:15.5px;color:var(--ink);background:none}
.tq.big .tq-in{height:56px}.tq.big .tq-in input{font-size:17px}
kbd{font-family:inherit;background:#fff;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:0 6px;font-size:11.5px;color:var(--muted)}
.tq-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px}.tq-chips>small{font-size:12px;color:var(--muted);margin-inline-end:2px}
.tq-c{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:4px 8px 4px 10px;font-size:12.5px;font-weight:600;color:var(--ink)}
.tq-c>svg{width:14px;height:14px;color:var(--muted)}.tq-c>svg:last-child{width:12px;height:12px}
.tq-c.a{background:var(--amber-soft);color:var(--amber);border-color:transparent}.tq-c.a svg{color:var(--amber)}
.tq-c.ghost{background:#fff;border-style:dashed;color:var(--muted)}
.tq-hint{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:11.5px;color:var(--muted)}.tq-hint kbd{font-size:11px}
.tq-def{color:var(--green-d);font-weight:600}
.tp-grid{display:grid;grid-template-columns:.9fr 1.25fr 1fr .9fr;gap:12px;align-items:start;margin-bottom:16px}
.tp-col{background:#eef1f6;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:7px;min-width:0}
.tp-col.today{background:#fff;border:2px solid var(--navy);box-shadow:var(--shadow)}
.tp-col.inbox{background:#fff8ec;border:1px dashed #e6c58c}
.tp-ch{display:flex;align-items:center;gap:7px;padding:2px 4px}.tp-ch>svg{width:17px;height:17px;color:var(--navy)}.tp-ch b{font-size:14.5px;color:var(--ink)}
.tp-ch>span.num{font-size:12px;color:var(--muted);background:#fff;border-radius:999px;padding:0 8px}.tp-col.today .tp-ch>span.num{background:var(--navy-soft)}
.tp-ch>small{margin-inline-start:auto;font-size:12px;color:var(--muted)}.tp-ch .tag{margin-inline-start:auto}
.tp-cs{font-size:12px;color:#8a6a2c;padding:0 4px}
.tp-cap{background:var(--bg);border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:6px}
.tp-cap>div{display:flex;align-items:baseline;gap:6px}.tp-cap b{font-size:18px;color:var(--ink)}.tp-cap small{font-size:12px;color:var(--muted)}
.tp-cap.over{background:var(--red-soft)}.tp-cap.over .tc-bar i{background:var(--red)}
.tp-it{display:flex;align-items:center;gap:8px;background:#fff;border-radius:9px;padding:9px 10px;border:1px solid var(--line-2);box-shadow:0 1px 0 rgba(16,26,46,.05);flex-wrap:wrap}
.tp-col.today .tp-it{border-color:var(--line)}
.tp-it.run{border-color:var(--green);background:linear-gradient(0deg,#fff,#f6fbf1)}
.tp-it.hold{opacity:.75}
.tp-grip{color:#b4bdcc;cursor:grab;display:grid;place-items:center}.tp-grip svg{width:15px;height:15px}
.tp-rk{width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:11.5px;flex:none}
.tp-b{flex:1;min-width:0}.tp-b a,.tp-b>b{display:block;font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.5}.tp-b a .num,.tp-b>b .num{color:var(--muted);font-size:11.5px;font-weight:700}
.tp-b small{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}.tp-b em{font-style:normal;color:var(--amber);font-weight:600}
.tp-m{display:flex;gap:5px;align-items:center;font-size:11.5px}
.tp-sz{display:inline-flex;align-items:center;gap:3px;background:var(--navy-soft);color:var(--navy);border-radius:5px;padding:1px 6px;font-size:11px;font-weight:600}.tp-sz svg{width:11px;height:11px}
.tp-play{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--green-d);flex:none}.tp-play svg{width:13px;height:13px}
.tp-play:hover{background:var(--green);color:#fff;border-color:var(--green)}
.tp-run{display:inline-flex;align-items:center;gap:4px;color:var(--green-d);font-size:12.5px}.tp-run svg{width:14px;height:14px}
.tp-tri{display:flex;gap:4px;width:100%;padding-inline-start:23px}.tp-tri .btn{height:26px;padding:0 9px;font-size:12px;flex:1;justify-content:center}
.tp-drop{display:flex;align-items:center;justify-content:center;gap:6px;border:1.5px dashed #c3cbda;border-radius:9px;padding:10px;font-size:12.5px;color:var(--muted)}.tp-drop svg{width:14px;height:14px}
.tp-more{font-size:12.5px;color:var(--muted);padding:4px}
.tp-close{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px}.tp-close>svg{width:22px;height:22px;color:var(--navy);flex:none}.tp-close>div{flex:1}
.tp-close b{display:block;font-size:14px;color:var(--ink)}.tp-close small{font-size:12.5px;color:var(--muted)}
.tp-views{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.tp-views button{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:7px;font-size:13px;font-weight:600;color:var(--muted)}.tp-views button svg{width:15px;height:15px}
.tp-views button.on{background:var(--navy);color:#fff}
.tp-wip{font-style:normal;font-size:10.5px;color:var(--muted);border:1px dashed #b4bdcc;border-radius:5px;padding:0 5px}
.tp-bulk{display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:10px;padding:8px 12px;margin-bottom:10px;flex-wrap:wrap}
.tp-bulk>svg{width:17px;height:17px;color:var(--green)}.tp-bulk>b{margin-inline-end:8px;font-size:13.5px}
.tp-bulk .btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}.tp-x{margin-inline-start:auto;color:#9fb0c9}.tp-x svg{width:16px;height:16px}
.tp-tbl tr.sel td{background:#f3f6fb}
.tp-cell{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:7px;padding:3px 7px;font-size:13px;color:var(--body)}.tp-cell:hover{border-color:var(--line);background:#fff}
td.tp-grip{width:30px}
.tp-sizes{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:0 20px 18px}
.tp-sizes label{display:flex;flex-direction:column;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 4px;cursor:pointer}
.tp-sizes label.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}.tp-sizes b{font-size:13.5px;color:var(--ink)}.tp-sizes small{font-size:11px;color:var(--muted)}
.tp-att{padding:16px 20px;margin-bottom:16px}
.tp-att-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.tp-att-h b{display:block;font-size:15px;color:var(--ink)}.tp-att-h small{font-size:12.5px;color:var(--muted)}
.tp-att-n{text-align:end}.tp-att-n b{font-size:26px;color:var(--amber)}.tp-att-n.ok b{color:var(--green-d)}
.tc-seg i.man{background:repeating-linear-gradient(-45deg,var(--green-soft),var(--green-soft) 6px,#dcedcb 6px,#dcedcb 12px)}
.tc-leg i.man{background:repeating-linear-gradient(-45deg,var(--green-soft),var(--green-soft) 3px,#b9dc98 3px,#b9dc98 6px)}
.tp-dist{display:flex;flex-direction:column;padding:0 20px 14px}
.tp-dist>div{display:grid;grid-template-columns:minmax(0,1.6fr) 1fr 52px auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line-2)}
.tp-dist .tc-bar i.m{background:repeating-linear-gradient(-45deg,#a5cf7e,#a5cf7e 4px,#c4e1a8 4px,#c4e1a8 8px)}
.tp-v{font-size:16px;color:var(--ink);text-align:center}
.tp-st{display:flex;gap:4px}.tp-st button{border:1px solid var(--line);border-radius:7px;padding:3px 8px;font-size:12px;font-weight:700;color:var(--navy);background:#fff}.tp-st button:hover{background:var(--navy-soft)}
@media (max-width:1250px){.tp-grid{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.tp-grid{grid-template-columns:1fr}.tp-sizes{grid-template-columns:repeat(3,1fr)}.tp-dist>div{grid-template-columns:1fr auto}}
.tp-it{row-gap:6px}.tp-b{flex:1 1 0}.tp-m{order:5;flex-basis:100%;padding-inline-start:23px}.tp-it .tp-rk~.tp-m,.tp-it:has(.tp-rk) .tp-m{padding-inline-start:53px}.tp-tri{order:6}
.tp-close small b{display:inline;font-size:inherit}
td.tp-grip{display:table-cell;vertical-align:middle;color:#b4bdcc}td.tp-grip svg{width:15px;height:15px}
.tq-c.def{background:#fff;border-style:dashed;color:var(--muted);font-weight:500}.tq-c.r{background:var(--red-soft);color:var(--red);border-color:transparent}.tq-c.r svg{color:var(--red)}
.tq-leg{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);margin-inline-start:auto}.tq-leg i{width:14px;height:10px;border:1px dashed #a8b3c4;border-radius:4px}
/* ===== v1.12 — intake (ti-*), handoffs (th-*), specs (ts-*), migration (tm-*) ===== */
.ti-src{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:var(--c);background:color-mix(in srgb,var(--c) 10%,#fff);border-radius:6px;padding:2px 7px;white-space:nowrap}.ti-src svg{width:13px;height:13px}
.ti-top{display:grid;grid-template-columns:1fr auto;gap:12px;margin:16px 0 12px}
.ti-k{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ti-k>div{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:10px 14px}.ti-k span{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.ti-k span svg{width:14px;height:14px}
.ti-k b{font-size:20px;color:var(--ink)}.ti-k b.a{color:var(--amber)}.ti-k b.r{color:var(--red)}.ti-k b.g{color:var(--green-d)}
.ti-duty{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;max-width:420px}.ti-duty>div{flex:1}.ti-duty b{display:block;font-size:14px;color:var(--ink)}.ti-duty small{display:block;font-size:11.5px;color:var(--muted)}
.ti-srcs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.ti-srcs button{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}
.ti-srcs button i{width:8px;height:8px;border-radius:50%}.ti-srcs button b{font-size:11.5px;color:var(--muted)}.ti-srcs button.on{background:var(--navy);color:#fff;border-color:var(--navy)}.ti-srcs button.on b{color:#c7d2e4}
.ti-wrap{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}
.ti-list{display:flex;flex-direction:column;gap:8px}
.ti-it{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}.ti-it.on{border:2px solid var(--navy);box-shadow:var(--shadow)}
.ti-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ti-h b{font-size:13.5px;color:var(--ink)}.ti-h small{font-size:12px;color:var(--muted)}.ti-h em{font-style:normal;font-size:11.5px;color:var(--muted);margin-inline-start:auto}
.ti-it p{margin:7px 0 8px;font-size:14px;color:var(--body);line-height:1.7}
.ti-g{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}
.ti-guess{display:inline-flex;align-items:center;gap:4px;font-size:12px;background:var(--bg);border-radius:6px;padding:2px 8px;color:var(--body)}.ti-guess svg{width:13px;height:13px;color:var(--muted)}.ti-guess.miss{background:var(--amber-soft);color:var(--amber)}.ti-guess.miss svg{color:var(--amber)}
.ti-dup{display:inline-flex;align-items:center;gap:4px;font-size:12px;background:#f3edfb;color:#7044b8;border-radius:6px;padding:2px 8px;font-weight:600}.ti-dup svg{width:13px;height:13px}
.ti-a{display:flex;gap:6px;flex-wrap:wrap}.ti-a .btn{height:30px}
.ti-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:12px}
.ti-q{margin:0 20px 12px;background:var(--bg);border-inline-start:3px solid #4a154b;border-radius:8px;padding:10px 12px;font-size:13.5px;line-height:1.7}.ti-q small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.ti-side .sec-h .ti-src{margin-inline-start:auto}
.ti-side code,.cx-info code{direction:ltr;unicode-bidi:isolate;background:#fff;border:1px solid var(--line);border-radius:5px;padding:0 5px;font-size:12px}
.th-col{display:flex;flex-direction:column;gap:10px;background:#eef1f6;border-radius:12px;padding:10px}
.th-c{background:#fff;border-radius:10px;padding:12px 14px;border:1px solid var(--line-2)}.th-c.late{border-color:#efc4c0}
.th-h{display:flex;align-items:center;gap:8px}.th-h a{flex:1;font-size:13.5px;font-weight:600;color:var(--ink)}.th-h a b{color:var(--muted);font-size:12px}.th-h em{font-style:normal;font-size:11.5px;color:var(--muted)}
.th-k{font-size:11px;font-weight:700;background:var(--navy-soft);color:var(--navy);border-radius:5px;padding:1px 7px;white-space:nowrap}
.th-ft{display:flex;align-items:center;gap:6px;margin:8px 0;font-size:12.5px;color:var(--muted)}.th-ft>svg{width:14px;height:14px}
.th-n{display:flex;gap:8px;margin:0 0 8px;font-size:13px;background:var(--bg);border-radius:8px;padding:8px 10px;line-height:1.7}.th-n svg{width:14px;height:14px;color:var(--muted);flex:none;margin-top:4px}
.th-ck{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:8px}.th-ck label{display:inline-flex;align-items:center;gap:6px;font-size:12.5px}
.th-a{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.th-a .btn{height:30px}.th-a .tc-late,.th-a .tc-sub{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;margin-inline-end:auto}.th-a svg{width:14px;height:14px}
.th-leave{margin:0}
.th-to{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.th-to label{display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid var(--line);border-radius:9px;padding:8px 4px;cursor:pointer;text-align:center}
.th-to label.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}.th-to b{font-size:12.5px}.th-to small{font-size:10.5px;color:var(--muted)}.th-to svg{width:18px;height:18px;color:var(--navy)}
.th-box{border-color:var(--navy)}
.th-srcc{display:flex;gap:10px;padding:12px 14px;margin-bottom:16px}.th-srcc>svg{width:18px;height:18px;color:#4a154b;flex:none;margin-top:3px}.th-srcc b{display:block;font-size:13px}.th-srcc small{display:block;font-size:12px;color:var(--muted)}
.ts-wrap{display:grid;grid-template-columns:240px 1fr;gap:16px;align-items:start;margin-top:16px}
.ts-nav{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:8px}
.ts-nav a{display:flex;gap:9px;align-items:flex-start;padding:8px 10px;border-radius:8px;color:var(--body)}.ts-nav a.on{background:var(--navy-soft)}.ts-nav svg{width:16px;height:16px;color:var(--navy);margin-top:3px;flex:none}
.ts-nav b{display:block;font-size:13.5px;color:var(--ink)}.ts-nav small{font-size:11.5px;color:var(--muted)}
.ts-doc{padding:24px 28px}.ts-doc h2{font-size:22px}.ts-doc h4{font-size:14px;margin:18px 0 6px;color:var(--navy)}.ts-doc p{margin:0;font-size:14px;line-height:1.8}
.ts-dh{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;border-bottom:1px solid var(--line-2);padding-bottom:14px}.ts-dh small{font-size:12px;color:var(--muted)}
.ts-pr{min-width:200px;display:flex;flex-direction:column;gap:5px}.ts-pr small{font-size:12px;color:var(--muted)}
.ts-items{display:flex;flex-direction:column}.ts-items>div{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line-2);font-size:14px}
.ts-items>div>svg{width:17px;height:17px;color:#b4bdcc;flex:none}.ts-items>div.done>svg{color:var(--green)}.ts-items>div.done>span{color:var(--muted)}.ts-items>div>span{flex:1}
.ts-l{display:inline-flex;align-items:center;gap:6px}.ts-l b{font-size:12px}
.ts-mk{display:inline-flex;align-items:center;gap:4px;border:1px dashed #b4bdcc;border-radius:7px;padding:3px 9px;font-size:12px;font-weight:600;color:var(--navy)}.ts-mk svg{width:13px;height:13px}
.ts-sel{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:12.5px;color:var(--muted)}.ts-sel svg{width:16px;height:16px}
.tm-rep{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:0 20px 18px}
.tm-rep>div{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.tm-rep b{font-size:20px;min-width:48px;color:var(--ink)}
.tm-rep span{font-size:13px;font-weight:600}.tm-rep small{display:block;font-size:11.5px;color:var(--muted);font-weight:500}
.tm-rep .g{border-color:#cfe5bd;background:#f6fbf1}.tm-rep .g b{color:var(--green-d)}.tm-rep .a b{color:var(--amber)}
.tm-ok{display:inline-flex;align-items:center;gap:5px;color:var(--green-d);font-weight:600}.tm-ok svg{width:14px;height:14px}
.tm-map{display:flex;flex-direction:column;padding:0 20px 8px}.tm-map>div{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.tm-map span{direction:ltr;text-align:end;color:var(--muted)}.tm-map svg{width:14px;height:14px;color:var(--muted)}
.tc-ch-l{display:flex;flex-direction:column;padding:0 20px 8px}.tc-ch-l>div{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-2)}.tc-ch-l>div>span:not(.ti-src){flex:1}.tc-ch-l small{display:block;font-size:12px;color:var(--muted)}
@media (max-width:1150px){.ti-top,.ti-wrap,.ts-wrap{grid-template-columns:1fr}.ti-k{grid-template-columns:repeat(2,1fr)}.ti-side{position:static}}
.ts-pr .tc-bar{flex:none}

/* ===== v1.14 — Home built from the employee's permissions ===== */
.hm-bar{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.hm-bar .sp{flex:1}
.hm-ib{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-s)}
.hm-ib.on{background:var(--amber-soft);border-color:#f0d8ae;color:var(--amber)}
.hm-pvw{position:relative}
.hm-pvb{display:inline-flex;align-items:center;gap:8px;border:1px dashed #c3cbda;background:#fbfcfe;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
.hm-pvb b{color:var(--navy)}
.hm-pvb svg{width:15px;height:15px}
.hm-pvm{position:absolute;inset-inline-start:0;top:calc(100% + 6px);z-index:30;width:340px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:6px;display:flex;flex-direction:column}
.hm-pvm button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:8px 10px;border-radius:var(--r-s);font:inherit;text-align:start;cursor:pointer;color:var(--body)}
.hm-pvm button:hover,.hm-pvm button.on{background:var(--navy-soft)}
.hm-pvm b{display:block;font-size:13.5px;color:var(--ink)}
.hm-pvm small{display:block;font-size:12px;color:var(--muted)}
.hm-pvm .av,.hm-tm .av{flex:none;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.hm-hero{display:flex;align-items:center;gap:24px;padding:22px 26px;margin-bottom:14px;background:linear-gradient(135deg,#fff 55%,var(--green-soft))}
.hm-hero .hh{flex:1;min-width:0}
.hm-hero .hh>small{color:var(--muted);font-size:12.5px}
.hm-hero h1{font-size:26px;margin:4px 0 6px;color:var(--ink)}
.hm-hero p{margin:0;font-size:15px;color:var(--body)}
.hm-hero p b{color:var(--navy)}.hm-hero p b.r{color:var(--red)}
.hm-mods{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px;font-size:12.5px;color:var(--muted)}
.hm-mods>svg{width:14px;height:14px}
.hm-mods .chip{display:inline-flex;align-items:center;gap:5px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--navy);font-weight:600}
.hm-mods .chip svg{width:13px;height:13px}
.hm-att{flex:none;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:var(--surface);border:1px solid #d6e8c4;border-radius:var(--r);padding:12px 14px;min-width:230px}
.hm-att .st{display:flex;gap:10px;align-items:center}
.hm-att .st>svg{width:22px;height:22px;color:var(--green-d)}
.hm-att b{display:block;font-size:13.5px;color:var(--ink)}
.hm-att small{font-size:12px;color:var(--muted)}
.hm-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;margin-bottom:8px;align-items:stretch}
.hm-top .hm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.hm-top .hm-k .kv{font-size:26px}
.hm-todo{margin:0;display:flex;flex-direction:column}
.hm-todo .card-h.pad{padding:16px 18px;border-bottom:1px solid var(--line-2)}
.hm-ttabs{display:flex;gap:4px;background:var(--bg);border-radius:999px;padding:3px}
.hm-ttabs button{border:0;background:none;border-radius:999px;padding:5px 14px;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
.hm-ttabs button.on{background:var(--surface);color:var(--navy);font-weight:700;box-shadow:0 1px 2px rgba(16,26,46,.1)}
.hm-ttabs .num{font-size:11.5px;background:var(--navy-soft);border-radius:999px;padding:0 6px;margin-inline-start:4px}
.hm-tl{flex:1}
.hm-ti,.hm-tm{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line-2);border-inline-start:3px solid transparent}
.hm-ti.r{border-inline-start-color:var(--red)}.hm-ti.a{border-inline-start-color:var(--amber)}
.hm-ti .tx,.hm-tm .tx{flex:1;min-width:0}
.hm-ti b,.hm-tm b{display:block;font-size:14px;color:var(--ink)}
.hm-ti small,.hm-tm .tx>small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.hm-tm b small{display:inline;color:var(--muted);font-weight:400}
.hm-tm .tx>small svg{width:13px;height:13px;vertical-align:-2px}
.hm-tc{font-weight:700;color:var(--navy);white-space:nowrap}.hm-tc small{font-weight:400;color:var(--muted)}
.hm-tf{display:flex;gap:18px;padding:12px 18px;font-size:13px}
.hm-tf a{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.hm-tf svg{width:15px;height:15px}
.hm-sec{display:flex;align-items:center;gap:12px;margin:26px 0 12px}
.hm-sec h2{font-size:17px;margin:0;color:var(--ink)}
.hm-sec small{font-size:12.5px;color:var(--muted)}
.hm-sec>div{flex:1}
.hm-perm{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted-2);background:var(--bg);border-radius:999px;padding:3px 10px}
.hm-perm svg{width:12px;height:12px}
.hm-sec .btn svg{width:14px;height:14px}
.hm-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hm-tile{display:flex;flex-direction:column;gap:8px;padding:16px 18px;margin:0;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s}
.hm-tile:hover{border-color:var(--navy);transform:translateY(-1px)}
.hm-tile .th{display:flex;align-items:center;gap:10px}
.hm-tile .th b{font-size:14.5px;color:var(--ink)}
.hm-tile .th>svg:last-child{width:15px;height:15px;margin-inline-start:auto;color:var(--muted-2)}
.hm-tile .tv{display:flex;align-items:baseline;gap:8px}
.hm-tile .tv b{font-size:24px;font-weight:800;color:var(--navy)}
.hm-tile .tv small,.hm-tile .tl{font-size:12.5px;color:var(--muted)}
.hm-tile .tag{align-self:flex-start}
.hm-ana{margin-top:26px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden}
.hm-ana>button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:14px 18px;font:inherit;text-align:start;cursor:pointer}
.hm-ana>button>span{flex:1}
.hm-ana>button b{display:block;font-size:15px;color:var(--ink)}
.hm-ana>button small{font-size:12.5px;color:var(--muted)}
.hm-ana>button svg{width:18px;height:18px;color:var(--navy)}
.hm-ana .hm-w{border:0;border-top:1px solid var(--line-2);border-radius:0;box-shadow:none}
@media (max-width:1100px){.hm-top{grid-template-columns:1fr}.hm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-hero{flex-direction:column;align-items:stretch}}
@media (max-width:640px){.hm-tiles,.hm-top .hm-kpis{grid-template-columns:1fr}.hm-ti,.hm-tm{flex-wrap:wrap}.hm-pvm{width:290px}}
/* ===== v1.13 — Jira/ClickUp-style board (kb-*) ===== */
.kb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.kb-head h1{font-size:24px}.kb-head h1 span{font-size:15px;color:var(--muted);font-weight:600}.kb-bc{font-size:12px;color:var(--muted)}
.kb-head .vtabs{padding:4px;gap:2px}.kb-head .vtabs button{padding:6px 10px;font-size:12.5px}
.kb-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.kb-q{height:38px;width:230px;background:#fff}
.kb-ppl{display:flex;align-items:center}
.kb-ppl button{position:relative;margin-inline-start:-6px;border-radius:50%;padding:0;border:2px solid var(--bg);transition:.15s}.kb-ppl button:first-child{margin-inline-start:0}
.kb-ppl button:hover{transform:translateY(-2px);z-index:2}.kb-ppl button.on{border-color:var(--navy);z-index:3}
.kb-ppl em{position:absolute;bottom:-5px;inset-inline-end:-5px;font-style:normal;font-size:10px;font-weight:700;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:999px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 3px}
.kb-none{width:34px;height:34px;display:grid!important;place-items:center;background:#fff!important;border:1.5px dashed #b4bdcc!important;color:var(--amber)}.kb-none svg{width:15px;height:15px}
.kb-qf{display:flex;gap:4px}.kb-qf button{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:8px;font-size:13px;font-weight:600;color:var(--body);background:#fff;border:1px solid var(--line)}
.kb-qf button.on{background:var(--navy-soft);border-color:var(--navy);color:var(--navy)}
.kb-sp{flex:1}
.kb-grp{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px 4px 3px 8px;font-size:12.5px;color:var(--muted)}.kb-grp>svg{width:15px;height:15px}.kb-grp small{margin-inline-end:4px}
.kb-grp button{padding:5px 9px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--body)}.kb-grp button.on{background:var(--navy);color:#fff}
.kb-av{width:30px;height:30px;border-radius:50%;background:var(--a);color:#fff;display:inline-grid;place-items:center;font-size:12.5px;font-weight:700;flex:none;border:2px solid #fff}
.kb-av.on-live{box-shadow:0 0 0 2px var(--green)}
.kb-av.rv{width:24px;height:24px;font-size:10.5px;opacity:.85;margin-inline-end:-8px}
.kb-av.none{background:#fff;border:1.5px dashed #b4bdcc;color:var(--amber)}.kb-av.none svg{width:14px;height:14px}
.kb-board{display:flex;gap:14px;overflow-x:auto;padding-bottom:12px;align-items:flex-start;min-height:640px}
.kb-col{flex:0 0 300px;background:#f0f2f6;border-radius:12px;display:flex;flex-direction:column;max-height:calc(100vh - 150px);border-top:3px solid var(--s)}
.kb-ch{display:flex;align-items:center;gap:8px;padding:12px 12px 8px}
.kb-ch b{font-size:13px;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.2px}
.kb-n{font-size:12px;font-weight:700;color:var(--muted);background:#fff;border-radius:999px;padding:0 8px}
.kb-wip{font-size:11px;font-weight:700;color:var(--muted);border:1px dashed #b4bdcc;border-radius:6px;padding:0 6px}.kb-wip.full{color:var(--red);border-color:var(--red);background:var(--red-soft)}
.kb-ch .kb-more{margin-inline-start:auto}
.kb-more{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;color:var(--muted)}.kb-more:hover{background:rgba(16,26,46,.07)}.kb-more svg{width:16px;height:16px}
.kb-cb{display:flex;flex-direction:column;gap:10px;padding:2px 10px 10px;overflow-y:auto}
.kb-c{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:10px;padding:14px 14px 12px;color:var(--body);box-shadow:0 1px 1px rgba(16,26,46,.08),0 0 0 1px rgba(16,26,46,.04);transition:.15s;position:relative}
.kb-c:hover{box-shadow:0 6px 16px -6px rgba(16,26,46,.25),0 0 0 1px #c9d3e3;color:var(--body);transform:translateY(-1px)}
.kb-c.live{box-shadow:inset 3px 0 0 var(--green),0 1px 1px rgba(16,26,46,.08)}
.kb-c .kb-more{position:absolute;top:8px;inset-inline-end:8px;opacity:0}.kb-c:hover .kb-more{opacity:1}
.kb-ct{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-inline-end:22px}
.kb-cl{font-size:11.5px;font-weight:700;color:var(--c);background:color-mix(in srgb,var(--c) 11%,#fff);border-radius:5px;padding:2px 8px}
.kb-pd{font-size:11px;color:var(--muted)}
.kb-tt{font-size:15px;line-height:1.6;color:var(--ink);font-weight:600}
.kb-al{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:7px;padding:5px 8px}.kb-al svg{width:14px;height:14px;flex:none}
.kb-al.a{background:var(--amber-soft);color:var(--amber)}.kb-al.r{background:var(--red-soft);color:var(--red)}.kb-al.n{background:var(--navy-soft);color:var(--navy)}
.kb-pr{display:flex;align-items:center;gap:8px}.kb-pr .tc-bar{height:5px}.kb-pr small{font-size:11.5px;color:var(--muted)}
.kb-live{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--green-d)}.kb-live i{width:7px;height:7px;border-radius:50%;background:var(--green);animation:tcp 1.6s infinite}
.kb-cf{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line-2);padding-top:10px}
.kb-ty{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;color:#fff;flex:none}.kb-ty svg{width:12px;height:12px}
.kb-ty.r{background:var(--red)}.kb-ty.b{background:var(--blue)}.kb-ty.a{background:var(--amber)}.kb-ty.n{background:#5f6c80}.kb-ty.g{background:var(--green-d)}.kb-ty.p{background:#7044b8}
.kb-key{font-size:12px;font-weight:700;color:var(--muted)}
.kb-pi{display:grid;place-items:center}.kb-pi svg{width:17px;height:17px}.kb-pi.r{color:var(--red)}.kb-pi.a{color:var(--amber)}.kb-pi.n{color:#8a97ab}.kb-pi.b{color:var(--blue)}
.kb-due{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:600;color:var(--muted);border-radius:5px;padding:1px 5px}.kb-due svg{width:12px;height:12px}
.kb-due.late{background:var(--red-soft);color:var(--red)}.kb-due.soon{background:var(--amber-soft);color:var(--amber)}.kb-due.done{color:var(--green-d)}
.kb-mt{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;color:var(--muted)}.kb-mt svg{width:13px;height:13px}
.kb-avs{display:flex;align-items:center}
.kb-add{display:flex;align-items:center;gap:6px;margin:0 10px 10px;padding:8px 10px;border-radius:8px;font-size:13px;font-weight:600;color:var(--muted)}.kb-add:hover{background:rgba(16,26,46,.06);color:var(--ink)}.kb-add svg{width:15px;height:15px}
.kb-new{margin:2px 10px 10px;background:#fff;border-radius:10px;padding:10px;box-shadow:0 0 0 2px var(--navy)}
.kb-new textarea{width:100%;border:0;outline:0;font:inherit;font-size:14.5px;resize:none;color:var(--ink)}.kb-new>div{display:flex;align-items:center;gap:6px}
.kb-new .kb-av{width:24px;height:24px;font-size:10.5px}
.kb-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 0;color:var(--muted-2);font-size:12.5px;border:1.5px dashed #cdd4e0;border-radius:10px}.kb-empty svg{width:20px;height:20px}
.kb-fold{flex:0 0 46px;background:#f0f2f6;border-radius:12px;border-top:3px solid var(--s);display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 0;cursor:pointer;min-height:300px}
.kb-fold b{writing-mode:vertical-rl;font-size:13px;color:var(--ink)}.kb-fold span{font-size:12px;font-weight:700;color:var(--muted);background:#fff;border-radius:999px;padding:0 7px}.kb-fold svg{width:15px;height:15px;color:var(--muted);margin-top:auto}
.kb-lanes{background:#f0f2f6;border-radius:12px;padding:0 0 8px;overflow-x:auto}
.kb-lh,.kb-lr{display:grid;grid-template-columns:repeat(5,minmax(230px,1fr));gap:10px}
.kb-lh{position:sticky;top:0;padding:10px 10px 8px;background:#f0f2f6;border-radius:12px 12px 0 0;z-index:2}.kb-lh>span{display:none}
.kb-lh>div{border-top:3px solid var(--s);background:#fff;border-radius:8px;padding:8px 10px}.kb-lh b{font-size:12.5px;font-weight:800;color:var(--ink)}
.kb-lane{margin:0 10px 10px;border-radius:10px;background:#e7eaf0;padding:0 0 10px}.kb-lane.warn{background:#fbefd9}
.kb-lt{display:flex;align-items:center;gap:8px;padding:10px 12px}.kb-lt>svg{width:16px;height:16px;color:var(--muted)}.kb-lt b{font-size:14px;color:var(--ink)}.kb-lt small{font-size:12px;color:var(--muted)}
.kb-lr{padding:0 10px}.kb-lc{display:flex;flex-direction:column;gap:8px;min-height:40px}
.kb-lc .kb-c{padding:11px 12px 10px;gap:8px}.kb-lc .kb-tt{font-size:14px}
.kb-key,.kb-due,.kb-cl,.kb-mt{white-space:nowrap}.kb-ct{padding-inline-end:0}.kb-c .kb-more{position:static;opacity:.35;width:22px;height:22px}.kb-c:hover .kb-more{opacity:1}.kb-cl{max-width:120px;overflow:hidden;text-overflow:ellipsis}
/* ===== v1.14 — compact cards (km-*), task dialog (md-*), create dialog (mn-*) ===== */
.kb-dens{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.kb-dens button{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--muted)}.kb-dens button svg{width:14px;height:14px}.kb-dens button.on{background:var(--navy-soft);color:var(--navy)}
.kb-board.compact .kb-col{flex-basis:270px}.kb-board.compact .kb-cb{gap:6px}
.km{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:8px;padding:10px 12px;color:var(--body);box-shadow:inset -3px 0 0 var(--c),0 1px 1px rgba(16,26,46,.08),0 0 0 1px rgba(16,26,46,.04);transition:.12s}
[dir="ltr"] .km{box-shadow:inset 3px 0 0 var(--c),0 1px 1px rgba(16,26,46,.08),0 0 0 1px rgba(16,26,46,.04)}
.km:hover{background:#fafbfd;color:var(--body);box-shadow:inset -3px 0 0 var(--c),0 4px 12px -6px rgba(16,26,46,.3),0 0 0 1px #c9d3e3}
.km.on{box-shadow:inset -3px 0 0 var(--c),0 0 0 2px var(--navy)}
.km-t{font-size:14px;line-height:1.55;color:var(--ink);font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.km-f{display:flex;align-items:center;gap:6px}.km-f .kb-ty{width:18px;height:18px}.km-f .kb-ty svg{width:11px;height:11px}.km-f .kb-key{font-size:11.5px}.km-f .kb-pi svg{width:15px;height:15px}.km-f .kb-due{font-size:11px}
.km-f .kb-av{width:24px;height:24px;font-size:10.5px}
.km-al{display:grid;place-items:center;width:20px;height:20px;border-radius:5px}.km-al svg{width:13px;height:13px}.km-al.a{background:var(--amber-soft);color:var(--amber)}.km-al.r{background:var(--red-soft);color:var(--red)}.km-al.n{background:var(--navy-soft);color:var(--navy)}
.km-lv{width:8px;height:8px;border-radius:50%;background:var(--green);animation:tcp 1.6s infinite}
/* dialog */
.md-ov{position:fixed;inset:0;background:rgba(13,22,38,.45);backdrop-filter:blur(1.5px);z-index:80;display:flex;align-items:flex-start;justify-content:center;padding:4vh 20px;overflow-y:auto}
.md{width:min(1040px,100%);background:#fff;border-radius:16px;box-shadow:0 30px 80px -20px rgba(13,22,38,.5);display:flex;flex-direction:column;overflow:hidden}
.md.sm{width:min(680px,100%);margin-top:6vh}
.md-top{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line-2);flex-wrap:wrap}
.md-top>b{font-size:14px;color:var(--ink)}.md-bc{font-size:12.5px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}.md-bc i{font-style:normal;color:#c3cbda}
.md-st{display:inline-flex;align-items:center;gap:6px;background:color-mix(in srgb,var(--s) 13%,#fff);color:var(--s);font-weight:700;font-size:12.5px;border-radius:7px;padding:5px 10px}.md-st svg{width:14px;height:14px}
.md-sep{width:1px;height:22px;background:var(--line)}
.md-ic{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}.md-ic:hover{background:var(--bg);color:var(--ink)}.md-ic svg{width:17px;height:17px}
.md-body{display:grid;grid-template-columns:1fr 320px;min-height:520px}
.md-main{padding:20px 26px 22px;display:flex;flex-direction:column;gap:18px;min-width:0}
.md-tt{font-size:23px;line-height:1.45;outline:0;border-radius:6px;padding:2px 4px;margin:0 -4px}.md-tt:hover{background:var(--bg)}
.md-path{display:flex;gap:4px;flex-wrap:wrap}.md-path span{font-size:11.5px;font-weight:600;color:var(--muted-2);background:var(--bg);border-radius:999px;padding:3px 10px}
.md-path span.done{background:var(--green-soft);color:var(--green-d)}.md-path span.now{background:#7044b8;color:#fff}
.md-sec h4{display:flex;align-items:center;gap:7px;font-size:14px;margin-bottom:8px}.md-sec h4 svg{width:16px;height:16px;color:var(--muted)}.md-sec h4 small{font-size:12px;color:var(--muted);font-weight:600}
.md-desc{font-size:14px;line-height:1.85;border-radius:8px;padding:6px 8px;margin:0 -8px}.md-desc:hover{background:var(--bg)}
.md-sec .tc-bar{height:5px;margin-bottom:6px}
.md-ck{display:flex;flex-direction:column}.md-ck label{display:flex;align-items:center;gap:10px;padding:6px 6px;border-radius:7px;font-size:14px}.md-ck label:hover{background:var(--bg)}.md-ck label.on{color:var(--muted);text-decoration:line-through}
.md-add{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--muted);padding:6px}.md-add svg{width:14px;height:14px}
.md-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line-2)}.md-tabs button{padding:8px 12px;font-size:13.5px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}.md-tabs button.on{color:var(--ink);border-color:var(--navy)}.md-tabs em{font-style:normal;font-size:11px;background:var(--bg);border-radius:999px;padding:0 6px;margin-inline-start:4px}
.md-cm{display:flex;flex-direction:column;gap:14px}.md-cm>div{display:flex;gap:10px}.md-cm>div>div{flex:1}.md-cm b{font-size:13px}.md-cm b small{font-weight:500;color:var(--muted);font-size:11.5px;margin-inline-start:6px}.md-cm p{margin:3px 0 0;font-size:13.5px;line-height:1.7}
.md-comp textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit}.md-comp>div>div{display:flex;align-items:center;margin-top:6px}
.md-side{background:#f7f8fb;border-inline-start:1px solid var(--line-2);padding:16px;display:flex;flex-direction:column;gap:14px}
.md-timer{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.md-timer .btn{justify-content:center;height:40px}
.md-est{display:flex;justify-content:space-between}.md-est small{display:block;font-size:11px;color:var(--muted)}.md-est b{font-size:15px;color:var(--ink)}
.md-fs{display:flex;flex-direction:column}
.md-f{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:8px;min-height:36px}
.md-f>span{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}.md-f>span svg{width:14px;height:14px}
.md-f>button{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink);border-radius:7px;padding:4px 6px;text-align:start}.md-f>button:hover{background:#fff;box-shadow:0 0 0 1px var(--line)}
.md-f .kb-av{width:22px;height:22px;font-size:10px;border:0}.md-f .kb-pi svg{width:15px;height:15px}
.md-dot{width:9px;height:9px;border-radius:50%;background:var(--s)}.md-ext{font-size:12px}
.md-acts{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line);padding-top:10px}.md-acts button{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;font-size:13px;color:var(--body)}.md-acts button:hover{background:#fff}.md-acts svg{width:15px;height:15px;color:var(--muted)}
.md-meta{font-size:11.5px;color:var(--muted)}
.md-kbd{display:flex;gap:16px;flex-wrap:wrap;padding:9px 16px;border-top:1px solid var(--line-2);font-size:11.5px;color:var(--muted);background:#fbfcfd}
.mn-b{padding:16px 20px 6px;display:flex;flex-direction:column;gap:10px}
.mn-t{border:0;outline:0;font:inherit;font-size:21px;font-weight:700;color:var(--ink);padding:4px 0}
.mn-d{border:0;outline:0;font:inherit;font-size:14px;resize:none;color:var(--body)}
.mn-props{display:flex;flex-wrap:wrap;gap:6px}
.mn-p{display:inline-flex;align-items:center;gap:6px;border:1px dashed #c3cbda;border-radius:8px;padding:5px 10px;font-size:13px;font-weight:600;color:var(--muted);background:#fff}.mn-p svg{width:14px;height:14px}
.mn-p.set{border-style:solid;border-color:var(--line);color:var(--ink);background:var(--bg)}.mn-p .kb-av{width:20px;height:20px;font-size:9.5px;border:0}.mn-p .kb-ty{width:18px;height:18px}.mn-p .kb-ty svg{color:#fff;width:11px;height:11px}
.mn-p.need{border-color:var(--red);color:var(--red);background:var(--red-soft)}.mn-p.need i{font-style:normal;font-size:11px;font-weight:700}
.mn-pick{border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px;max-width:320px}.mn-pick .inp{height:36px;margin-bottom:4px}
.mn-pick button{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;border-radius:7px}.mn-pick button.on{background:var(--navy-soft)}.mn-pick small{font-size:11px;color:var(--muted)}
.mn-hint{display:flex;gap:7px;font-size:12px;color:var(--muted)}.mn-hint svg{width:14px;height:14px;flex:none;margin-top:3px}
.md-foot{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--line-2);background:#fbfcfd}
.mn-more{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--body)}
.md-foot kbd{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.3);color:#fff;margin-inline-start:4px}
@media (max-width:860px){.md-body{grid-template-columns:1fr}.md-side{border:0;border-top:1px solid var(--line-2)}}
.md-timer .tc-bar{flex:none}.mn-p .kb-ty.b{background:var(--blue)}.mn-p .kb-ty svg{color:#fff!important}
/* ===== v1.15 — testing & review (qa-*) ===== */
.qa-ready{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;background:var(--green-soft);border-radius:10px;padding:9px 12px;font-size:12.5px}
.qa-ready span{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}.qa-ready span.ok{color:var(--green-d);font-weight:600}.qa-ready svg{width:15px;height:15px}.qa-ready b{margin-inline-start:auto;color:var(--green-d)}
.qa-ho{border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:12px;background:#fff}
.qa-hd .qa-ho{border:0;padding:0 16px 16px}
.qa-hoh{display:flex;align-items:center;gap:10px}.qa-hoh>div{flex:1}.qa-hoh b{display:block;font-size:14px}.qa-hoh small{font-size:12px;color:var(--muted)}
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qa-grid>div{background:var(--bg);border-radius:9px;padding:9px 11px}.qa-grid>div.full{grid-column:1/-1}.qa-grid>div.warn{background:var(--amber-soft)}
.qa-grid small{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:3px}.qa-grid small svg{width:13px;height:13px}.qa-grid .warn small{color:var(--amber)}
.qa-grid p{margin:0;font-size:13.5px;line-height:1.7}
.qa-grid code,.qa-chip{direction:ltr;unicode-bidi:isolate;font-size:12px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:0 6px}
.qa-chip{display:inline-flex;align-items:center;gap:4px;margin:2px 0 2px 4px;font-weight:600;color:var(--navy)}.qa-chip svg{width:12px;height:12px;color:var(--muted)}
.qa-files{display:flex;flex-wrap:wrap;gap:8px}
.qa-f{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:6px 10px 6px 6px;color:var(--body);background:#fff;min-width:170px}
.qa-f b{display:block;font-size:12.5px;color:var(--ink)}.qa-f small{font-size:11px;color:var(--muted)}
.qa-fi{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;flex:none}.qa-fi svg{width:17px;height:17px}
.qa-fi.i{background:var(--blue-soft);color:var(--blue)}.qa-fi.v{background:var(--red-soft);color:var(--red)}.qa-fi.d{background:var(--green-soft);color:var(--green-d)}
.qa-drop{display:flex;align-items:center;gap:10px;border:1.5px dashed #b4bdcc;border-radius:10px;padding:8px 14px;color:var(--muted);flex:1;min-width:220px}.qa-drop svg{width:20px;height:20px}.qa-drop b{display:block;font-size:12.5px;color:var(--ink)}.qa-drop small{font-size:11px}
.qa-drop.sm{flex:0 1 auto;min-width:0}
.qa-lnk{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--navy);padding:4px 8px;border-radius:7px}.qa-lnk:hover{background:var(--bg)}.qa-lnk svg{width:14px;height:14px}
.md-sec h4 .kb-sp{flex:1}
.qa-ed{display:flex;flex-direction:column;gap:6px}
.qa-er{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:8px 10px}.qa-er>b{font-size:11.5px;color:var(--muted)}.qa-er>div{flex:1}.qa-er div b{display:block;font-size:13.5px}.qa-er small{font-size:12px;color:var(--muted)}
.qa-new{border:2px solid var(--navy);border-radius:10px;padding:12px}.qa-new .fgrid{margin-bottom:8px}.qa-new textarea{width:100%}
.qa-reg{display:flex;flex-wrap:wrap;gap:8px}.qa-reg label,.qa-reg2 label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:5px 10px;font-size:13px}.qa-reg label.on,.qa-reg2 label.on{background:var(--navy-soft);border-color:transparent}
.qa-tip{display:flex;gap:8px;font-size:12.5px;color:var(--muted);line-height:1.7}.qa-tip svg{width:15px;height:15px;flex:none;margin-top:4px}
.qa-wrap{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:start;margin-top:16px}
.qa-q{display:flex;flex-direction:column;gap:8px;background:#f0f2f6;border-radius:12px;padding:10px;position:sticky;top:12px}
.qa-qi{display:flex;flex-direction:column;gap:5px;background:#fff;border-radius:10px;padding:10px 12px;color:var(--body);border:1px solid transparent}.qa-qi.on{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}
.qa-qi>b{font-size:13.5px;color:var(--ink);line-height:1.5}.qa-qi>b .num{color:var(--muted);font-size:11.5px}.qa-qi small{font-size:12px;color:var(--muted)}.qa-qi>div{display:flex;justify-content:space-between;align-items:center}
.qa-pg{font-size:12px;font-weight:700;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:0 8px}
.qa-miss{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--amber);font-weight:600}.qa-miss svg{width:13px;height:13px}
.qa-run{display:flex;flex-direction:column;gap:12px;min-width:0}
.qa-rh{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.qa-rh small{font-size:12px;color:var(--muted)}.qa-rh h2{font-size:21px}
.qa-hd{padding:0;margin:0}.qa-hd summary{display:flex;align-items:center;gap:8px;padding:12px 16px;cursor:pointer;list-style:none}.qa-hd summary svg{width:17px;height:17px;color:var(--navy)}.qa-hd summary b{font-size:14px}.qa-env{font-size:12.5px;font-weight:600}
.qa-sum{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.qa-sum button{display:inline-flex;align-items:center;gap:5px;border-radius:8px;padding:5px 9px;font-size:12px;border:1px solid var(--line);background:#fff}.qa-sum button svg{width:14px;height:14px}
.qa-sum button.g{color:var(--green-d);background:var(--green-soft);border-color:transparent}.qa-sum button.r{color:var(--red);background:var(--red-soft);border-color:transparent}.qa-sum button.a{color:var(--amber);background:var(--amber-soft);border-color:transparent}.qa-sum button.n{color:var(--muted)}
.qa-sum button.on{box-shadow:0 0 0 2px var(--navy)}
.qa-cnt{font-size:12.5px;color:var(--muted)}.qa-cnt .g{color:var(--green-d)}.qa-cnt .r{color:var(--red)}.qa-cnt .a{color:var(--amber)}
.qa-case{padding:18px 20px;display:flex;flex-direction:column;gap:14px;border:2px solid var(--line)}
.qa-ch{display:flex;align-items:center;gap:10px}.qa-ch>b{font-size:12px;background:var(--navy);color:#fff;border-radius:6px;padding:2px 8px}.qa-ch h3{font-size:17px}
.qa-cg{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.qa-cg small{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:5px}
.qa-cg ol{margin:0;padding-inline-start:20px;display:flex;flex-direction:column;gap:6px;font-size:14px}.qa-cg ol li::marker{font-weight:700;color:var(--navy)}
.qa-exp{margin:0 0 10px;background:var(--green-soft);border-radius:8px;padding:8px 10px;font-size:13.5px;font-weight:600;color:#2f5a14}
.qa-res{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.qa-res button{display:flex;align-items:center;justify-content:center;gap:7px;height:46px;border-radius:10px;border:1.5px solid var(--line);font-size:15px;font-weight:700;background:#fff}.qa-res button svg{width:18px;height:18px}
.qa-res .g{color:var(--green-d)}.qa-res .r{color:var(--red)}.qa-res .a{color:var(--amber)}
.qa-res .g.on{background:var(--green);color:#fff;border-color:var(--green)}.qa-res .r.on{background:var(--red);color:#fff;border-color:var(--red)}.qa-res .a.on{background:var(--amber);color:#fff;border-color:var(--amber)}
.qa-act label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.qa-act textarea{width:100%;border:1.5px solid var(--red);border-radius:10px;padding:9px;font:inherit;background:#fffafa}
.qa-ev>small{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:6px}
.qa-rec{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font-size:12.5px;font-weight:600;color:var(--red)}.qa-rec svg{width:15px;height:15px}
.qa-fx .actrow{border:0;padding:0}
.qa-reg2{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 14px}.qa-reg2>b{display:inline-flex;align-items:center;gap:6px;font-size:13px;margin-inline-end:6px}.qa-reg2>b svg{width:15px;height:15px}
.qa-done{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:sticky;bottom:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;box-shadow:var(--shadow)}
.qa-done>div{display:flex;align-items:center;gap:10px;flex:1;min-width:260px}.qa-done>div>svg{width:22px;height:22px;color:var(--red);flex:none}.qa-done b{display:block;font-size:13.5px}.qa-done small{font-size:12px;color:var(--muted)}
.qa-done .btn[disabled]{opacity:.45;cursor:not-allowed}
.qa-regnav{border-top:1px dashed var(--line);margin-top:4px;padding-top:10px!important}
@media (max-width:1100px){.qa-wrap{grid-template-columns:1fr}.qa-q{position:static}.qa-cg,.qa-grid{grid-template-columns:1fr}}
.qa-grid code,.qa-chip{white-space:nowrap}
/* ===== v1.16 — management tasks (am-*), vault (av-*), archive (ar-*), check-in (ci-*) ===== */
.am-ch{width:22px;height:22px;border-radius:6px;display:inline-grid;place-items:center;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c)}.am-ch svg{width:13px;height:13px}
.am-wrap{display:grid;grid-template-columns:1fr 330px;gap:16px;align-items:start;margin-top:16px}
.am-g{margin-bottom:14px}
.am-gh{font-size:13px;font-weight:800;color:var(--ink);padding:0 4px 6px;display:flex;align-items:center;gap:6px}.am-gh span{font-size:11.5px;color:var(--muted);background:#fff;border-radius:999px;padding:0 7px}.am-gh.over{color:var(--red)}
.am-it{display:grid;grid-template-columns:auto 1fr 210px auto auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;margin-bottom:6px}
.am-it.late{border-inline-start:3px solid var(--red)}
.am-ic{width:36px;height:36px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}.am-ic svg{width:18px;height:18px}
.am-b b{display:block;font-size:14px;color:var(--ink)}.am-b small{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:3px;font-size:12px;color:var(--muted)}
.am-k{background:var(--bg);border-radius:5px;padding:0 6px}.am-rp,.am-key{display:inline-flex;align-items:center;gap:3px}.am-rp svg,.am-key svg{width:12px;height:12px}.am-key{color:var(--amber);font-weight:600}
.am-to small{display:block;font-size:11px;color:var(--muted)}.am-to b{display:block;font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.am-to span{display:flex;align-items:center;gap:4px;margin-top:3px}.am-to em{font-style:normal;font-size:11px;color:var(--muted);margin-inline-start:4px}
.am-a{display:flex;gap:6px;align-items:center}.am-done{width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;color:var(--muted)}.am-done:hover{background:var(--green);border-color:var(--green);color:#fff}.am-done svg{width:15px;height:15px}
.am-ren,.am-log{display:flex;flex-direction:column;padding:0 20px 12px}
.am-ren a{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--line-2);color:var(--body)}.am-ren b{display:block;font-size:13px;color:var(--ink)}.am-ren small{font-size:11.5px;color:var(--muted)}
.am-d{font-size:12px;font-weight:700;color:var(--muted)}.am-d.r{color:var(--red)}.am-d.a{color:var(--amber)}
.am-log>div{display:flex;gap:8px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--line-2)}.am-log span{flex:1}.am-log b{display:block;font-size:12.5px}.am-log small{font-size:12px;color:var(--muted)}.am-log em{font-style:normal;display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:11px;color:var(--muted)}.am-log .tag{font-size:10.5px}
.am-md{width:min(860px,100%)}
.am-mb{display:grid;grid-template-columns:1fr 280px;gap:18px;padding:16px 20px}.am-mb>div:first-child{display:flex;flex-direction:column;gap:12px}
.am-mb textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px;font:inherit}
.am-rc{display:flex;flex-wrap:wrap;gap:6px;border:1px solid var(--line);border-radius:10px;padding:6px}.am-rc>span{display:inline-flex;align-items:center;gap:6px;background:var(--bg);border-radius:999px;padding:3px 8px 3px 4px;font-size:12.5px}.am-rc>span svg{width:14px;height:14px}.am-rc i svg{width:12px;height:12px;color:var(--muted)}.am-rc .kb-av{width:22px;height:22px;font-size:10px;border:0}.am-rc input{flex:1;min-width:140px;border:0;outline:0;font:inherit}
.am-chs{display:flex;gap:6px}.am-chs label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:9px;padding:6px 12px;font-size:13px;font-weight:600}.am-chs label.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}
.am-when{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12.5px;color:var(--muted)}.am-when input,.am-when select{height:34px;border:1px solid var(--line);border-radius:8px;padding:0 8px;font:inherit}
.am-prev{display:flex;flex-direction:column;gap:8px}.am-prev>small{font-size:11.5px;font-weight:700;color:var(--muted)}
.av-wrap{display:grid;grid-template-columns:220px 1fr 340px;gap:14px;align-items:start;margin-top:16px}
.av-sec{display:flex;gap:6px;padding:10px;border-top:1px dashed var(--line);margin-top:4px}.av-sec svg{width:15px;height:15px;color:var(--green-d);flex:none;margin-top:2px}.av-sec small{font-size:11px;color:var(--muted);line-height:1.6}
.av-list{display:flex;flex-direction:column;gap:6px}
.av-it{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;gap:4px 10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.av-it.on{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}
.av-ic{width:34px;height:34px;border-radius:9px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;grid-row:span 2}.av-ic svg{width:17px;height:17px}.av-ic.big{width:44px;height:44px}
.av-b b{display:block;font-size:13.5px;color:var(--ink)}.av-b small{display:flex;gap:8px;align-items:center;font-size:11.5px;color:var(--muted);margin-top:2px}
.av-cred{grid-column:2/3;display:flex;align-items:center;gap:4px;font-size:12px;color:var(--body)}.av-cred span{background:var(--bg);border-radius:5px;padding:1px 7px}.av-cred button{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:var(--muted)}.av-cred button:hover{background:var(--bg);color:var(--navy)}.av-cred svg{width:13px;height:13px}
.av-pw{letter-spacing:2px;font-family:monospace}
.av-age{grid-row:1/3;grid-column:3;font-size:11.5px;color:var(--muted);white-space:nowrap}.av-age.r{color:var(--red);font-weight:700}.av-age.a{color:var(--amber);font-weight:700}
.av-det{padding:16px;display:flex;flex-direction:column;gap:12px;position:sticky;top:12px}
.av-dh{display:flex;gap:10px;align-items:center}.av-dh b{display:block;font-size:15px}.av-dh small{font-size:12px;color:var(--muted)}
.av-f{display:flex;flex-direction:column}.av-f>div{display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line-2)}.av-f small{font-size:12px;color:var(--muted)}.av-f b{font-size:13px}.av-f button{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:var(--navy);border:1px solid var(--line)}.av-f button svg{width:14px;height:14px}
.av-warn{display:flex;gap:8px;align-items:center;background:var(--red-soft);color:var(--red);border-radius:9px;padding:8px 10px;font-size:12.5px;font-weight:600}.av-warn>svg{width:16px;height:16px;flex:none}.av-warn span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.av-reveal small,.av-acc small,.av-hist small{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:5px}.av-reveal .inp{height:36px}
.av-acc>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.av-acc .kb-av{width:22px;height:22px;font-size:10px;border:0}.av-acc button{width:26px;height:26px;border-radius:50%;border:1px dashed #b4bdcc;display:grid;place-items:center}.av-acc button svg{width:13px;height:13px}
.av-acts{display:flex;gap:6px}
.av-hist>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;font-size:12px;padding:5px 0;border-bottom:1px solid var(--line-2)}.av-hist span{color:var(--muted)}.av-hist em{font-style:normal;color:var(--muted)}
.ar-search{padding:14px 16px;margin:16px 0;display:flex;flex-direction:column;gap:10px}
.ar-f{display:flex;gap:6px;flex-wrap:wrap}.ar-f button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600;background:#fff}.ar-f button svg{width:14px;height:14px}.ar-f button b{font-size:11px;color:var(--muted)}.ar-f button.on{background:var(--navy);color:#fff;border-color:var(--navy)}.ar-f button.on b{color:#c7d2e4}
.ar-sel{display:flex;gap:8px}.ar-sel select{height:36px;border:1px solid var(--line);border-radius:8px;padding:0 10px;font:inherit;background:#fff}
mark{background:#fff1c2;color:inherit;border-radius:3px;padding:0 2px}
.ar-ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex:none}.ar-ic svg{width:15px;height:15px}.ar-ic.task{background:var(--green-soft);color:var(--green-d)}.ar-ic.file{background:var(--blue-soft);color:var(--blue)}.ar-ic.trello{background:#e9f2ff;color:#0c66e4}
.ar-files{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 20px 16px}.ar-files a{display:flex;flex-direction:column;gap:3px;border:1px solid var(--line);border-radius:10px;padding:10px;color:var(--body)}.ar-files svg{width:18px;height:18px;color:var(--navy)}.ar-files b{font-size:13px}.ar-files small{font-size:11.5px;color:var(--muted)}
.ci-strip{display:flex;align-items:center;gap:8px;background:var(--green-soft);color:#2f5a14;border-radius:10px;padding:8px 14px;margin-top:12px;font-size:13px}.ci-strip svg{width:16px;height:16px;color:var(--green-d)}.ci-strip span{flex:1}.ci-strip a{font-weight:700;font-size:12.5px}
.ci-wrap{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:start;margin-top:16px}
.ci-phone{background:#fff;border:8px solid #16233f;border-radius:30px;padding:18px 16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow);position:sticky;top:12px}
.ci-ph small{font-size:12px;color:var(--muted)}.ci-ph b{display:block;font-size:17px;color:var(--ink)}
.ci-phone>.btn{height:48px;justify-content:center;font-size:15px}
.ci-ok{display:flex;gap:10px;align-items:center;background:var(--green-soft);border-radius:12px;padding:10px 12px}.ci-ok>svg{width:22px;height:22px;color:var(--green-d)}.ci-ok b{display:block;font-size:13.5px;color:#2f5a14}.ci-ok small{font-size:11.5px;color:var(--muted)}
.ci-alt{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ci-alt button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:10px;padding:8px;font-size:12.5px;font-weight:600}.ci-alt svg{width:15px;height:15px}
.ci-n{font-size:11.5px;color:var(--muted);text-align:center}
.ci-map{position:relative;height:300px;border-radius:12px;overflow:hidden;background:#eef2e8;background-image:linear-gradient(0deg,transparent 47%,#fff 47%,#fff 53%,transparent 53%),linear-gradient(90deg,transparent 30%,#fff 30%,#fff 34%,transparent 34%),linear-gradient(90deg,transparent 70%,#fff 70%,#fff 73%,transparent 73%),linear-gradient(0deg,transparent 20%,#f7f3e8 20%,#f7f3e8 22%,transparent 22%),linear-gradient(35deg,transparent 60%,#dfe9f3 60%,#dfe9f3 63%,transparent 63%);margin-bottom:12px;padding:0}
.ci-map.sm{height:150px;margin:0}.ci-map.tall{height:440px}
.ci-zone{position:absolute;left:50%;top:48%;width:120px;height:120px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(122,182,72,.18);border:2px dashed var(--green)}
.ci-zone.big{width:200px;height:200px}.ci-zone span{position:absolute;top:-24px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11.5px;font-weight:700;background:#fff;border-radius:6px;padding:1px 8px;color:var(--green-d)}
.ci-me{position:absolute;width:14px;height:14px;border-radius:50%;background:var(--blue);border:3px solid #fff;box-shadow:0 0 0 6px rgba(47,95,168,.2);transform:translate(-50%,-50%)}
.ci-pin{position:absolute;width:30px;height:30px;border-radius:50% 50% 50% 0;transform:translate(-50%,-100%) rotate(-45deg);display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.25)}
.ci-pin{line-height:1}.ci-pin.g{background:var(--green-d)}.ci-pin.b{background:var(--blue)}.ci-pin.n{background:#5f6c80}.ci-pin.r{background:var(--red)}
.ci-leg{position:absolute;bottom:10px;inset-inline-start:10px;display:flex;gap:10px;background:#fff;border-radius:8px;padding:5px 10px;font-size:11.5px}.ci-leg span{display:inline-flex;align-items:center;gap:4px}.ci-leg i{width:9px;height:9px;border-radius:50%}.ci-leg i.g{background:var(--green-d)}.ci-leg i.b{background:var(--blue)}.ci-leg i.n{background:#5f6c80}.ci-leg i.r{background:var(--red)}
.ci-k{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:12px}.ci-k>div{background:#fff;border:1px solid var(--line);border-top:3px solid;border-radius:10px;padding:8px 12px}.ci-k b{display:block;font-size:20px;color:var(--ink)}.ci-k small{font-size:12px;color:var(--muted)}
.ci-k .g{border-top-color:var(--green)}.ci-k .b{border-top-color:var(--blue)}.ci-k .n{border-top-color:#8a97ab}.ci-k .r{border-top-color:var(--red)}.ci-k .a{border-top-color:var(--amber)}
.ci-handle{position:absolute;left:calc(50% + 100px);top:48%;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--green-d);transform:translate(-50%,-50%)}
.ci-r{display:flex;align-items:center;gap:10px}.ci-r input{flex:1}
@media (max-width:1250px){.av-wrap{grid-template-columns:200px 1fr}.av-det{grid-column:1/-1;position:static}.am-it{grid-template-columns:auto 1fr auto;}.am-to{display:none}}
@media (max-width:1000px){.am-wrap,.ci-wrap,.am-mb{grid-template-columns:1fr}.ci-phone{position:static;max-width:320px}}
.ci-mgr{min-width:0}.ci-k{grid-template-columns:repeat(5,minmax(0,1fr))}
.md-ov{z-index:1000}
.md-foot .tc-sub svg{width:14px;height:14px;vertical-align:-2px}.am-when span{white-space:nowrap}
.am-log .am-ch{flex:none}
.av-acc>div>span{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;background:var(--bg);border-radius:999px;padding:2px 8px 2px 3px}.av-acc .kb-av{background:var(--a);padding:0}
/* ===== v1.17 — presence (pz-*), HR live attendance (ha-*), home team card (hm-team) ===== */
.pzb{position:relative}
.pzb .pzd{position:absolute;top:-2px;inset-inline-start:-2px;width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:#b4bdcc}
.pzb.g .pzd{background:var(--green)}.pzb.b .pzd{background:var(--blue)}.pzb.n .pzd{background:#8a97ab}.pzb.r .pzd{background:var(--red)}.pzb.a .pzd{background:var(--amber)}
.pzb.v .kb-av{opacity:.45;filter:grayscale(1)}.pzb.v .pzd{background:#fff;border-color:#b4bdcc}
.pz-sum{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px 10px;font-size:12.5px;color:var(--body);white-space:nowrap}.pz-sum svg{width:14px;height:14px;color:var(--green-d)}.pz-sum .r{color:var(--red)}
.pz-t{font-size:11.5px;font-weight:700;border-radius:999px;padding:1px 8px;background:var(--bg);color:var(--muted)}
.pz-t.g{background:var(--green-soft);color:var(--green-d)}.pz-t.b{background:var(--blue-soft);color:var(--blue)}.pz-t.r{background:var(--red-soft);color:var(--red)}.pz-t.v{background:var(--line-2);color:var(--muted)}
.pz{position:relative;display:inline-flex}.pz i{position:absolute;bottom:-1px;inset-inline-start:-1px;width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:#b4bdcc}
.pz.g i{background:var(--green)}.pz.b i{background:var(--blue)}.pz.n i{background:#8a97ab}.pz.r i{background:var(--red)}.pz.v .kb-av{opacity:.45;filter:grayscale(1)}
.ha-live{padding:14px 16px;margin-bottom:16px;display:flex;flex-direction:column;gap:12px}
.ha-lh{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ha-lh>div:first-child b{display:flex;align-items:center;gap:6px;font-size:15px;color:var(--ink)}.ha-lh>div:first-child b svg{width:17px;height:17px;color:var(--green-d)}.ha-lh>div:first-child small{font-size:12px;color:var(--muted)}
.ha-lk{display:flex;gap:6px;flex-wrap:wrap;flex:1}.ha-lk span{display:inline-flex;align-items:baseline;gap:5px;border-radius:9px;padding:5px 10px;font-size:12.5px;background:var(--bg);border-top:3px solid #b4bdcc}.ha-lk b{font-size:16px;color:var(--ink)}
.ha-lk .g{border-top-color:var(--green)}.ha-lk .b{border-top-color:var(--blue)}.ha-lk .n{border-top-color:#8a97ab}.ha-lk .r{border-top-color:var(--red)}.ha-lk .a{border-top-color:var(--amber)}.ha-lk .v{border-top-color:#d6dbe4}
.ha-la{display:flex;gap:6px}
.ha-ex{display:flex;flex-direction:column;border-top:1px solid var(--line-2);padding-top:8px}.ha-ex>b{font-size:12.5px;color:var(--muted);margin-bottom:4px}
.ha-ex>div{display:grid;grid-template-columns:10px 130px 1fr auto;gap:10px;align-items:center;padding:6px 0;font-size:13px}.ha-ex>div>i{width:9px;height:9px;border-radius:50%}.ha-ex .r>i{background:var(--red)}.ha-ex .a>i{background:var(--amber)}.ha-ex .b>i{background:var(--blue)}.ha-ex span{color:var(--muted)}
.hm-team{padding:14px 18px;margin-bottom:16px;display:flex;flex-direction:column;gap:12px}
.hm-th{display:flex;justify-content:space-between;align-items:center}.hm-th b{display:flex;align-items:center;gap:6px;font-size:15px;color:var(--ink)}.hm-th b svg{width:17px;height:17px;color:var(--navy)}.hm-th small{font-size:12px;color:var(--muted)}.hm-th a{font-size:13px;font-weight:700}
.hm-tp{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.hm-tm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid var(--line);border-radius:10px;padding:8px 10px}.hm-tm b{display:block;font-size:13px;color:var(--ink)}.hm-tm small{font-size:11.5px;color:var(--muted)}
.hm-tm.r{border-color:#efc4c0;background:#fffafa}.hm-tm.v{background:var(--bg)}
.hm-tm em{flex-basis:100%;display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:11.5px;font-weight:600;color:var(--green-d)}.hm-tm em svg{width:12px;height:12px}.hm-tm em.w{color:var(--amber)}
.hm-tf{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}.hm-tf span{display:inline-flex;align-items:center;gap:5px}.hm-tf b{color:var(--ink)}.hm-tf i{width:9px;height:9px;border-radius:50%;background:#b4bdcc}.hm-tf .g i{background:var(--green)}.hm-tf .b i{background:var(--blue)}.hm-tf .n i{background:#8a97ab}.hm-tf .r i{background:var(--red)}
/* ===== v1.18 — idea notes removed; attendance widget in the top bar (tw-*) ===== */
.fx-idea,.hm-ib{display:none!important}
.tw-att{position:relative;display:flex;align-items:center;gap:6px;margin-inline-end:4px}
.tw-in{display:flex;align-items:center;gap:8px;background:var(--green);color:#fff;border-radius:10px;padding:6px 12px;box-shadow:0 0 0 3px rgba(122,182,72,.25);animation:twp 2.4s ease-in-out infinite}
@keyframes twp{50%{box-shadow:0 0 0 6px rgba(122,182,72,.12)}}
.tw-in>svg{width:18px;height:18px}.tw-in b{display:block;font-size:13.5px;line-height:1.2}.tw-in small{display:flex;align-items:center;gap:3px;font-size:10.5px;opacity:.9}.tw-in small svg{width:11px;height:11px}
.tw-main{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:5px 10px}.tw-main>svg{width:14px;height:14px;color:var(--muted)}
.tw-main b{display:block;font-size:12.5px;color:var(--ink);line-height:1.25;text-align:start}.tw-main small{display:block;font-size:10.5px;color:var(--green-d);text-align:start}
.tw-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px var(--green-soft);animation:tcp 1.6s infinite}
.tw-tm{display:flex;align-items:center;gap:6px;background:var(--navy);color:#fff;border-radius:10px;padding:5px 6px 5px 10px}.tw-tm>svg{width:15px;height:15px;color:var(--green)}.tw-tm b{font-size:11.5px;color:#b9e08f}.tw-tm span{font-size:13px;font-weight:700;letter-spacing:.3px}
.tw-tm button{width:24px;height:24px;border-radius:6px;background:var(--red);display:grid;place-items:center}.tw-tm button svg{width:11px;height:11px;fill:#fff;color:#fff}
.tw-pop{position:absolute;top:calc(100% + 8px);inset-inline-end:0;width:360px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px -15px rgba(13,22,38,.35);padding:14px;z-index:120;display:flex;flex-direction:column;gap:12px}
[dir="rtl"] .tw-pop{inset-inline-end:auto;inset-inline-start:0}
.tw-ph{display:flex;justify-content:space-between;align-items:flex-start}.tw-ph b{display:block;font-size:14px;color:var(--ink)}.tw-ph small{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--muted)}.tw-ph small svg{width:12px;height:12px;color:var(--green-d)}
.tw-st{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:var(--green-d);background:var(--green-soft);border-radius:999px;padding:2px 9px}.tw-st i{width:7px;height:7px;border-radius:50%;background:var(--green)}
.tw-k{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.tw-k>div{background:var(--bg);border-radius:9px;padding:6px 8px}.tw-k small{display:block;font-size:10.5px;color:var(--muted)}.tw-k b{font-size:15px;color:var(--ink)}.tw-k b.g{color:var(--green-d)}.tw-k b.a{color:var(--amber)}
.tw-bar{position:relative;height:16px;border-radius:5px;background:var(--line-2);overflow:hidden;direction:ltr}.tw-bar i{position:absolute;top:0;bottom:0;left:0}
[dir="rtl"] .tw-bar i{inset-inline-start:auto}
.tw-bar i.a{background:var(--green)}.tw-bar i.i{background:#e9b866}.tw-bar i.m{background:var(--blue)}.tw-bar i.w{background:repeating-linear-gradient(-45deg,#f4b3ad,#f4b3ad 4px,#fbe0dd 4px,#fbe0dd 8px)}
.tw-ax{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);direction:ltr;margin-top:-8px}
.tw-lg{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:var(--muted)}.tw-lg span{display:inline-flex;align-items:center;gap:4px}.tw-lg i{width:9px;height:9px;border-radius:3px}.tw-lg i.a{background:var(--green)}.tw-lg i.i{background:#e9b866}.tw-lg i.m{background:var(--blue)}.tw-lg i.w{background:#f4b3ad}
.tw-away{display:flex;gap:8px;background:var(--amber-soft);border-radius:10px;padding:9px 10px}.tw-away>svg{width:17px;height:17px;color:var(--amber);flex:none;margin-top:2px}.tw-away b{display:block;font-size:12.5px;color:#7a5413}.tw-away small{font-size:11.5px;color:#8a6a2c}
.tw-away>div>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.tw-away button{font-size:11.5px;font-weight:600;border:1px solid #e6c58c;border-radius:7px;padding:3px 8px;background:#fff;color:#7a5413}.tw-away button.on{background:#7a5413;color:#fff;border-color:#7a5413}
.tw-rule{display:flex;gap:6px;font-size:11.5px;color:var(--muted);line-height:1.6}.tw-rule svg{width:13px;height:13px;flex:none;margin-top:3px}
.tw-soon{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);border:1px dashed var(--line);border-radius:8px;padding:6px 9px}.tw-soon svg{width:14px;height:14px}.tw-soon em{font-style:normal;margin-inline-start:auto;font-size:11px;font-weight:700;color:var(--amber);background:var(--amber-soft);border-radius:999px;padding:0 8px}
.tw-acts{display:flex;justify-content:space-between;gap:6px;border-top:1px solid var(--line-2);padding-top:10px}
.tw-ban{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:linear-gradient(90deg,#f1f8e9,#fff);border:2px solid var(--green);border-radius:14px;padding:14px 18px;margin-bottom:16px}
.tw-ban>svg{width:28px;height:28px;color:var(--green-d)}.tw-ban>div{flex:1;min-width:240px}.tw-ban b{display:block;font-size:16px;color:var(--ink)}.tw-ban small{font-size:12.5px;color:var(--muted)}
.tw-big{height:46px;font-size:15px;padding:0 20px}
@media (max-width:1300px){.tw-tm b{display:none}.top-search{max-width:280px}}
/* v1.19 — home as answers: pulse per module + «مطلوب منك» side column */
.hm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.hm-head small{color:var(--muted);font-size:13px}
.hm-head h1{font-size:26px;margin:2px 0 0;color:var(--ink)}
.hm-ha{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hm-ha .pill svg{width:15px;height:15px}
.hm-main{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
.hm-main aside{position:sticky;top:84px;margin-top:62px}
.hm-pulse{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hm-pulse.one{grid-template-columns:1fr}
.hm-pc{margin:0;padding:16px 18px;display:flex;flex-direction:column;gap:12px;border-top:3px solid var(--line)}
.hm-pc.r{border-top-color:var(--red)}.hm-pc.a{border-top-color:var(--amber)}.hm-pc.g{border-top-color:var(--green)}
.hm-pc .ph{display:flex;align-items:center;gap:10px}
.hm-pc .ph>b{font-size:15px;color:var(--ink)}
.hm-pc .ph>a{margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600}
.hm-pc .ph>a svg{width:14px;height:14px}
.hm-pc .pv{margin:0;font-size:15.5px;line-height:1.75;color:var(--body);flex:1}
.hm-pc .pv b{color:var(--navy)}.hm-pc .pv b.r{color:var(--red)}.hm-pc .pv b.a{color:var(--amber)}.hm-pc .pv b.g{color:var(--green-d)}
.hm-pc .pf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line-2);padding-top:12px}
.hm-pc .pf>div{padding-inline:10px;border-inline-start:1px solid var(--line-2)}
.hm-pc .pf>div:first-child{padding-inline-start:0;border:0}
.hm-pc .pf small{display:block;font-size:12px;color:var(--muted)}
.hm-pc .pf b{font-size:18px;font-weight:800;color:var(--navy)}
.hm-pc .pf b.r{color:var(--red)}.hm-pc .pf b.a{color:var(--amber)}
.hm-todo .card-h.pad p b.r{color:var(--red)}
.hm-tt{padding:10px 18px 0}
.hm-tt .hm-ttabs{display:flex}
.hm-tt .hm-ttabs button{flex:1}
.hm-todo a.hm-ti{text-decoration:none;color:inherit;align-items:flex-start}
.hm-todo a.hm-ti:hover{background:var(--bg)}
.hm-todo a.hm-ti>svg{width:16px;height:16px;color:var(--muted-2);align-self:center}
.hm-ti em,.hm-tm em{font-style:normal;font-weight:700}
.hm-ti em{display:inline-block;margin-top:5px;font-size:12px;padding:1px 8px;border-radius:999px;background:var(--navy-soft);color:var(--navy)}
.hm-ti em.r{background:var(--red-soft);color:var(--red)}.hm-ti em.a{background:var(--amber-soft);color:var(--amber)}
.hm-tm em.r{color:var(--red)}.hm-tm em.g{color:var(--green-d)}
.hm-tm{align-items:flex-start}
.hm-tm .ln{color:var(--muted-2)!important}
.hm-flow{display:flex;align-items:stretch;gap:8px;padding:18px}
.hm-flow>div{flex:1;background:var(--bg);border-radius:var(--r-s);padding:12px 14px;border-top:3px solid var(--navy)}
.hm-flow>div.g{border-top-color:var(--green)}.hm-flow>div.r{border-top-color:var(--red)}.hm-flow>div.a{border-top-color:var(--amber)}
.hm-flow small{display:block;font-size:12.5px;color:var(--muted);font-weight:600}
.hm-flow b{display:block;font-size:22px;font-weight:800;color:var(--navy);margin:2px 0}
.hm-flow span{font-size:12px;color:var(--muted)}
.hm-flow>i{align-self:center;color:var(--muted-2)}.hm-flow>i svg{width:16px;height:16px}
.hm-mix{display:flex;height:10px;border-radius:999px;overflow:hidden;margin:0 18px 10px;gap:2px}
.hm-mix i{display:block}
.hm-legend b{color:var(--ink);margin-inline-start:4px}
@media (max-width:1250px){.hm-main{grid-template-columns:1fr}.hm-main aside{position:static;margin-top:0}}
@media (max-width:900px){.hm-pulse{grid-template-columns:1fr}.hm-flow{flex-wrap:wrap}.hm-flow>i{display:none}}
.hm-pc .ph>b,.hm-pc .ph .tag{white-space:nowrap}
.hm-pc .ph>a{width:30px;height:30px;justify-content:center;border-radius:var(--r-s);color:var(--muted-2)}
.hm-pc .ph>a:hover{background:var(--navy-soft);color:var(--navy)}
.hm-pc .ph>a svg{width:16px;height:16px}
.hm-pc .pf small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-in{margin-top:14px}
.hm-in .hm-grid{margin-top:14px}.hm-in .hm-grid:first-child{margin-top:0}
.hm-qa{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid var(--line-2)}
/* ===== v1.19 — check-in card (ck-*), work sites (ws-*) ===== */
.ck{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.ck.ban{margin-bottom:18px;border:2px solid var(--green);box-shadow:0 10px 30px -18px rgba(101,160,52,.6)}
.ck.pop{border:0;padding:4px;box-shadow:none}
.tw-pop.ckp{width:440px;padding:14px}
.ck-h{display:flex;align-items:center;gap:12px}.ck-h>div{flex:1}.ck-h b{display:block;font-size:17px;color:var(--ink)}.ck-h small{font-size:12.5px;color:var(--muted)}
.ck-ic{width:42px;height:42px;border-radius:12px;background:var(--green-soft);color:var(--green-d);display:grid;place-items:center;flex:none}.ck-ic svg{width:22px;height:22px}
.ck-shift{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:var(--amber);background:var(--amber-soft);border-radius:999px;padding:3px 10px;white-space:nowrap}.ck-shift svg{width:13px;height:13px}
.ck-loc{display:flex;align-items:center;gap:12px;border-radius:12px;padding:12px 14px}
.ck-loc>svg{width:24px;height:24px;flex:none}.ck-loc>div{flex:1}.ck-loc b{display:block;font-size:14.5px}.ck-loc small{font-size:12.5px}
.ck-loc.idle{background:var(--bg)}.ck-loc.idle>svg{color:var(--navy)}.ck-loc.idle small{color:var(--muted)}
.ck-loc.wait{background:var(--blue-soft);color:var(--blue)}
.ck-loc.in{background:var(--green-soft);color:#2f5a14}.ck-loc.in>svg{color:var(--green-d)}
.ck-loc.out{background:var(--amber-soft);color:#7a5413}.ck-loc.out>svg{color:var(--amber)}
.ck-loc.no{background:var(--red-soft);color:var(--red)}
.ck-re{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.7)}.ck-re svg{width:15px;height:15px}
.ck-spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(47,95,168,.25);border-top-color:var(--blue);animation:cks 1s linear infinite;flex:none}@keyframes cks{to{transform:rotate(360deg)}}
.ck-sites>small{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:6px}
.ck-sites>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px}
.ck.pop .ck-sites>div{grid-template-columns:1fr 1fr}
.ck-site{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:7px 9px}.ck-site>span{width:28px;height:28px;border-radius:8px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}.ck-site>span svg{width:15px;height:15px}
.ck-site>div{flex:1;min-width:0}.ck-site b{display:block;font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ck-site small{font-size:11px;color:var(--muted)}
.ck-site.on{border-color:var(--green);background:#f6fbf1}.ck-site.on>span{background:var(--green);color:#fff}.ck-site em{color:var(--green-d)}.ck-site em svg{width:16px;height:16px}
.ck-site.rem>span{background:var(--green-soft);color:var(--green-d)}
.ck-a{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.ck-go{height:48px;font-size:15.5px;padding:0 22px;flex:1;justify-content:center;max-width:380px}.ck-go.amber{background:var(--amber);border-color:var(--amber)}
.ck-a>.btn-ghost{height:48px}
.ck-why{flex-basis:100%;display:flex;flex-direction:column;gap:5px}.ck-why label{font-size:13px;font-weight:700}.ck-why select{height:40px;border:1px solid var(--line);border-radius:9px;padding:0 10px;font:inherit}.ck-why small{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}.ck-why small svg{width:13px;height:13px}
.ck-priv{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted)}.ck-priv svg{width:13px;height:13px;color:var(--green-d);flex:none}
.tw-in small svg{width:11px;height:11px}
.ws-wrap{display:grid;grid-template-columns:380px 1fr;gap:16px;align-items:start}
.ws-list{display:flex;flex-direction:column;gap:8px}
.ws-it{display:flex;align-items:center;gap:12px;padding:12px 14px}.ws-it.on{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}
.ws-ic{width:40px;height:40px;border-radius:11px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}.ws-ic svg{width:19px;height:19px}
.ws-b{flex:1;min-width:0}.ws-b b{display:block;font-size:14px;color:var(--ink)}.ws-b small{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:3px}.ws-b small svg{width:12px;height:12px}.ws-b .tag{font-size:11px}
.ws-add{display:flex;gap:10px;padding:12px 14px;border-style:dashed}.ws-add>svg{width:20px;height:20px;color:var(--navy);flex:none}.ws-add b{display:block;font-size:13px}.ws-add small{font-size:12px;color:var(--muted);line-height:1.7}
.ws-map{margin-bottom:16px}
@media (max-width:1100px){.ws-wrap{grid-template-columns:1fr}}
.tw-in{white-space:nowrap}.tw-in small{white-space:nowrap}
/* v1.20 — general home separate from module dashboards + recruitment dashboard */
.hm-pc[data-go]{cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.hm-pc[data-go]:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.hm-pc .ph>svg:last-child{margin-inline-start:auto;width:16px;height:16px;color:var(--muted-2)}
.hm-pc .po{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;color:var(--navy);margin-top:-2px}
.hm-pc .po svg{width:14px;height:14px}
.hm-main>div>.hm-grid{margin-bottom:0}
.rd-verdict{padding:18px 22px;margin-bottom:14px}
.rd-verdict p{margin:0 0 14px;font-size:16.5px;line-height:1.8;color:var(--body)}
.rd-verdict p b{color:var(--navy)}.rd-verdict p b.r{color:var(--red)}
.rd-k{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rd-k a{display:flex;flex-direction:column;gap:2px;background:var(--bg);border-radius:var(--r-s);padding:12px 14px;text-decoration:none;color:inherit;border-top:3px solid var(--navy)}
.rd-k a.r{border-top-color:var(--red)}
.rd-k a:hover{background:var(--navy-soft)}
.rd-k small{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);font-weight:600}
.rd-k small svg{width:14px;height:14px}
.rd-k b{font-size:24px;font-weight:800;color:var(--navy)}
.rd-k a.r b{color:var(--red)}
.rd-k span{font-size:12px;color:var(--muted)}
.fx-hero+.hm-w,.grid-kpi+.hm-w{margin-bottom:16px}
@media (max-width:900px){.rd-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ===== v1.20 — share task (sh-*) ===== */
.sh-md{width:min(980px,100%)}
.md-top>b+b{font-weight:700;margin-inline-start:4px}
.sh-b{display:grid;grid-template-columns:1fr 330px;gap:18px;padding:16px 20px}
.sh-f{display:flex;flex-direction:column;gap:12px}.sh-f textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px;font:inherit}
.sh-sug{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px}.sh-sug small{font-size:11.5px;color:var(--muted)}.sh-sug button{display:inline-flex;align-items:center;gap:4px;font-size:12px;border:1px dashed #b4bdcc;border-radius:999px;padding:2px 9px;color:var(--navy)}.sh-sug svg{width:12px;height:12px}
.sh-inc{display:flex;flex-wrap:wrap;gap:6px}.sh-inc label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:5px 10px;font-size:13px}.sh-inc label.on{background:var(--navy-soft);border-color:transparent}.sh-inc label.int{opacity:.6}.sh-inc em{font-style:normal;font-size:10.5px;color:var(--red);font-weight:700}
.sh-lnk{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sh-lnk label{display:flex;gap:8px;border:1px solid var(--line);border-radius:10px;padding:9px 10px;cursor:pointer}.sh-lnk label.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}.sh-lnk svg{width:17px;height:17px;color:var(--navy);flex:none;margin-top:2px}.sh-lnk b{display:block;font-size:13px}.sh-lnk small{font-size:11.5px;color:var(--muted);line-height:1.5}
.sh-exp{display:flex;flex-direction:column;gap:6px;margin-top:8px}.sh-exp>span{font-size:12.5px;color:var(--muted)}.sh-exp select{height:34px;border:1px solid var(--line);border-radius:8px;padding:0 8px;font:inherit;max-width:200px}.sh-exp .actrow{border:0;padding:4px 0}
.sh-exp{flex-direction:row;flex-wrap:wrap;align-items:center}.sh-exp .actrow{flex-basis:100%}
.sh-p{display:flex;flex-direction:column;gap:10px}.sh-p>small{font-size:11.5px;font-weight:700;color:var(--muted)}
.sh-wa p{margin:0 0 8px}
.sh-card{background:#fff;border-radius:10px;padding:10px;border-inline-start:4px solid var(--red);display:flex;flex-direction:column;gap:5px;margin-bottom:6px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.sh-ch{display:flex;align-items:center;gap:6px}.sh-ch .kb-ty{width:18px;height:18px}.sh-ch .kb-ty svg{width:11px;height:11px}.sh-ch b{font-size:11.5px;color:var(--muted)}
.sh-st{margin-inline-start:auto;font-size:10.5px;font-weight:700;background:#f3edfb;color:#7044b8;border-radius:999px;padding:1px 7px}
.sh-card>b{font-size:13.5px;color:var(--ink)}.sh-card>small{font-size:11.5px;color:var(--muted)}
.sh-path{display:flex;gap:3px}.sh-path i{flex:1;height:5px;border-radius:3px;background:var(--line-2)}.sh-path i.d{background:var(--green)}.sh-path i.n{background:#7044b8}
.sh-m{display:flex;gap:10px;font-size:11px;color:var(--muted)}.sh-m span{display:inline-flex;align-items:center;gap:3px}.sh-m svg{width:11px;height:11px}
.sh-url{font-size:11px;color:var(--blue)}
.sh-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:4px}.sh-btns span{display:flex;align-items:center;justify-content:center;gap:4px;background:#fff;border-radius:8px;padding:6px 0;font-size:11.5px;font-weight:700;color:#1f9d55}.sh-btns svg{width:12px;height:12px}
.sh-mail{border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:3px}.sh-mail small{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--amber)}.sh-mail small svg{width:12px;height:12px}.sh-mail b{font-size:12.5px}.sh-mail span{font-size:11.5px;color:var(--muted)}
.md-sh{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--line);font-size:13px;font-weight:700;color:#1f9d55}.md-sh svg{width:15px;height:15px}.md-sh:hover{background:#eaf7ef}
.sh-act{display:flex;align-items:center;gap:8px;background:#eaf7ef;border-radius:10px;padding:8px 12px;font-size:12.5px;color:#1f6b3e}.sh-act>svg{width:15px;height:15px;flex:none}.sh-act span{flex:1}
.km{position:relative}.km-sh{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;color:#1f9d55;opacity:0;transition:.12s}.km:hover .km-sh{opacity:1}.km-sh:hover{background:#eaf7ef}.km-sh svg{width:14px;height:14px}
@media (max-width:900px){.sh-b{grid-template-columns:1fr}}
.sh-act>.tag{flex:none}
/* ===== v1.21 — live board (lb-*) ===== */
body.lb-lock{overflow:hidden}
.lb-c{cursor:grab;user-select:none}.lb-c:active{cursor:grabbing}.lb-c.drag{opacity:.35;transform:rotate(1.5deg)}
.lb-drop.over{outline:2px dashed var(--navy);outline-offset:-4px;background:#e6ebf3}
.lb-avs{display:flex;align-items:center}.lb-avs .kb-av{margin-inline-start:-7px;width:24px;height:24px;font-size:10.5px}.lb-avs .kb-av:first-child{margin-inline-start:0}
.kb-av.more{background:#fff;color:var(--navy);border:1.5px solid var(--line);font-size:10px}
.km.det{padding:12px 13px;gap:9px}.km.det .kb-ct{padding:0}
.lb-c .km-sh{opacity:0}.lb-c:hover .km-sh{opacity:1}
.lb-toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:12px;padding:11px 16px;font-size:13.5px;box-shadow:0 14px 30px -10px rgba(13,22,38,.5);z-index:2000;transition:.25s}
.lb-toast.on{opacity:1;transform:translate(-50%,0)}.lb-toast svg{width:17px;height:17px;color:var(--green)}
.lb-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;font-size:12px;color:var(--muted)}.lb-foot span{display:inline-flex;align-items:center;gap:6px}.lb-foot svg{width:14px;height:14px}
.lb-foot button{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);text-decoration:underline}
.lb-st select{appearance:none;border:0;font:inherit;font-weight:700;font-size:12.5px;color:var(--s);background:color-mix(in srgb,var(--s) 13%,#fff);border-radius:7px;padding:6px 12px;cursor:pointer}
.lb-cv{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--blue);background:var(--blue-soft);border-radius:8px;padding:5px 10px}.lb-cv svg{width:14px;height:14px}
.lb-desc{width:100%;border:1px solid transparent;border-radius:8px;padding:8px;font:inherit;font-size:14px;line-height:1.8;background:var(--bg);resize:vertical}.lb-desc:focus{border-color:var(--navy);background:#fff;outline:0}
.lb-row input,.lb-add select{width:100%;height:36px;border:1px dashed #c3cbda;border-radius:8px;padding:0 10px;font:inherit;font-size:13px;background:#fff}
.lb-x{width:22px;height:22px;border-radius:6px;display:inline-grid;place-items:center;color:var(--muted);margin-inline-start:auto;flex:none}.lb-x:hover{background:var(--red-soft);color:var(--red)}.lb-x svg{width:13px;height:13px}
.md-ck label{gap:10px}
.kb-al{display:flex;align-items:center;gap:6px}.kb-al .lb-x{margin-inline-start:auto}
.lb-team{gap:8px}.lb-th{display:flex;justify-content:space-between;align-items:center}.lb-th b{display:flex;align-items:center;gap:6px;font-size:13.5px}.lb-th b svg{width:15px;height:15px}.lb-th small{font-size:11.5px;color:var(--muted)}
.lb-m{display:flex;align-items:center;gap:8px}.lb-m .kb-av{width:28px;height:28px;font-size:11.5px;border:0}.lb-m>span{flex:1}.lb-m b{display:block;font-size:13px}.lb-m small{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--muted)}
.lb-on{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;animation:tcp 1.6s infinite}
.lb-team>.btn{justify-content:center;height:40px}
.md-f select,.md-f input{height:32px;border:1px solid transparent;border-radius:7px;padding:0 6px;font:inherit;font-size:13px;font-weight:600;color:var(--ink);background:transparent;width:100%}.md-f select:hover,.md-f input:hover{background:#fff;border-color:var(--line)}
.lb-date.late{color:var(--red)}.lb-date.soon{color:var(--amber)}
.lb-act{display:flex;flex-direction:column;gap:2px;margin-top:10px;border-top:1px dashed var(--line);padding-top:8px}.lb-act>div{display:grid;grid-template-columns:14px 1fr auto;gap:6px;align-items:center;font-size:12px;color:var(--muted)}.lb-act svg{width:14px;height:14px}.lb-act b{color:var(--body)}.lb-act em{font-style:normal;font-size:11px}
.lb-client{display:flex;gap:10px;background:var(--blue-soft);border-radius:12px;padding:12px}.lb-client>svg{width:20px;height:20px;color:var(--blue);flex:none}.lb-client>div{flex:1;display:flex;flex-direction:column;gap:8px}.lb-client textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:8px;font:inherit}.lb-client>div>div{display:flex;gap:6px}
.lb-who small{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:6px}.lb-who>div{display:flex;flex-wrap:wrap;gap:6px}
.lb-who button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:3px 10px 3px 4px;font-size:12.5px;font-weight:600;background:#fff}.lb-who button .kb-av{width:22px;height:22px;font-size:10px;border:0}.lb-who button.on{border-color:var(--navy);background:var(--navy-soft);box-shadow:0 0 0 1px var(--navy)}
.mn-p select,.mn-p input{border:0;background:transparent;font:inherit;font-size:13px;font-weight:600;color:var(--ink)}
.lb-pre{white-space:pre-wrap;margin:0 0 6px;font-size:13px;line-height:1.7;direction:rtl;unicode-bidi:plaintext}
.sh-inc label,.sh-lnk label,.am-chs label{cursor:pointer;user-select:none}
.am-rc>span i{cursor:pointer}
.md-top>.lb-st{display:inline-flex}
.lb-m>span.kb-av{flex:none}.lb-m>span:not(.kb-av){flex:1}
/* v1.20.1 — calmer, simpler cards */
a.hm-pc{text-decoration:none;color:inherit;border-top:1px solid var(--line)!important;gap:14px}
a.hm-pc:hover{border-color:var(--navy)!important;transform:translateY(-1px);box-shadow:var(--shadow)}
.hm-st{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.hm-st i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted-2)}
.hm-st.r{color:var(--red)}.hm-st.r i{background:var(--red);box-shadow:0 0 0 3px var(--red-soft)}
.hm-st.a{color:var(--amber)}.hm-st.a i{background:var(--amber);box-shadow:0 0 0 3px var(--amber-soft)}
.hm-st.g{color:var(--green-d)}.hm-st.g i{background:var(--green);box-shadow:0 0 0 3px var(--green-soft)}
.hm-pc .pv{font-size:15px;line-height:1.8}
.hm-pc .pv b.a{color:var(--navy)}
.hm-pc .pf{background:var(--bg);border:0;border-radius:var(--r-s);padding:12px 4px}
.hm-pc .pf>div{border-inline-start:1px solid var(--line);padding-inline:14px}
.hm-pc .pf>div:first-child{border:0;padding-inline-start:14px}
.hm-pc .pf b{display:block;font-size:20px;line-height:1.2}
.hm-pc .pf small{margin-top:3px}
.hm-pc .po{color:var(--muted);font-weight:600}
a.hm-pc:hover .po{color:var(--navy)}
.hm-tt{padding:12px 18px 4px}
.hm-todo .hm-ti{border-inline-start-width:0;position:relative}
.hm-todo .hm-ti.r::before,.hm-todo .hm-ti.a::before{content:"";position:absolute;inset-inline-start:0;top:14px;bottom:14px;width:3px;border-radius:3px;background:var(--red)}
.hm-todo .hm-ti.a::before{background:var(--amber)}
.hm-todo .hm-tm{border-inline-start-width:0}
.hm-list>a.hm-lr{display:flex;align-items:center;gap:12px;padding:11px 18px;border-top:1px solid var(--line-2);text-decoration:none;color:inherit}
.hm-list>a.hm-lr:hover{background:var(--bg)}
.hm-list>a.hm-lr>b{flex:1;font-size:14px;color:var(--ink);font-weight:600}
.hm-list>a.hm-lr>b small{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.hm-list>a.hm-lr>svg:last-child{width:16px;height:16px;color:var(--muted-2)}
.hm-w .ni,.hm-pc .ni,.hm-todo .ni,.hm-sec .ni{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.hm-w .ni svg,.hm-pc .ni svg,.hm-todo .ni svg,.hm-sec .ni svg{width:17px;height:17px}
.hm-w .ni.g{background:var(--green-soft);color:var(--green-d)}.hm-w .ni.a,.hm-todo .ni.a{background:var(--amber-soft);color:var(--amber)}.hm-w .ni.r,.hm-todo .ni.r{background:var(--red-soft);color:var(--red)}
.hm-mini>div,.hm-mini>div.g,.hm-mini>div.a,.hm-mini>div.r{background:var(--surface);border:1px solid var(--line);position:relative}
.hm-mini>div.g b{color:var(--green-d)}.hm-mini>div.a b{color:var(--amber)}.hm-mini>div.r b{color:var(--red)}
.hm-mini>div::after{content:"";position:absolute;inset-inline-end:12px;top:16px;width:7px;height:7px;border-radius:50%;background:var(--muted-2)}
.hm-mini>div.g::after{background:var(--green)}.hm-mini>div.a::after{background:var(--amber)}.hm-mini>div.r::after{background:var(--red)}
.rd-k a,.rd-k a.r{border-top:0;background:var(--surface);border:1px solid var(--line)}
.rd-k a:hover{border-color:var(--navy);background:var(--surface)}
.hm-flow>div,.hm-flow>div.g,.hm-flow>div.r,.hm-flow>div.a{border-top:0;background:var(--surface);border:1px solid var(--line)}
.hm-flow>div.g b{color:var(--green-d)}.hm-flow>div.r b{color:var(--red)}
.hm-pc .pf>div,.hm-pc .pf>div:first-child{padding-inline:12px}
.hm-pc .pf small{white-space:normal;overflow:visible;line-height:1.4}
.hm-mini>div::after{display:none}
/* ===== v1.22 — compact check-in strip (ck2-*): one row, remote needs no location ===== */
.ck2{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.ck2.ban{margin-bottom:16px;border-inline-start:4px solid var(--green)}
.ck2.pop{border:0;padding:2px}
.ck2-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ck2-ic{width:36px;height:36px;border-radius:10px;background:var(--green-soft);color:var(--green-d);display:grid;place-items:center;flex:none}.ck2-ic svg{width:19px;height:19px}
.ck2-t{min-width:150px}.ck2-t b{display:block;font-size:15px;color:var(--ink);line-height:1.3}
.ck2-t small{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap}
.ck2-t em{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-weight:700;color:var(--amber)}.ck2-t em svg{width:12px;height:12px}
.ck2-seg{display:inline-flex;background:var(--bg);border-radius:10px;padding:3px;gap:2px;flex:none}
.ck2-seg button{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 11px;border-radius:8px;font:inherit;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.ck2-seg button svg{width:14px;height:14px}
.ck2-seg button.on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(15,23,42,.12)}
.ck2-tag{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;color:var(--green-d);background:var(--green-soft);border-radius:999px;padding:4px 10px}.ck2-tag svg{width:13px;height:13px}
.ck2-st{flex:1;min-width:220px;display:flex;align-items:center;gap:9px;border-radius:10px;padding:6px 10px;min-height:44px}
.ck2-st>svg{width:19px;height:19px;flex:none}.ck2-st>div{flex:1;min-width:0;display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap}
.ck2-st b{font-size:13.5px}.ck2-st small{font-size:12px;opacity:.85}
.ck2-st.n{background:var(--bg)}.ck2-st.n>svg{color:var(--navy)}.ck2-st.n small{color:var(--muted)}
.ck2-st.b{background:var(--blue-soft);color:var(--blue)}
.ck2-st.g{background:var(--green-soft);color:#2f5a14}.ck2-st.g>svg{color:var(--green-d)}
.ck2-st.a{background:var(--amber-soft);color:#7a5413}.ck2-st.a>svg{color:var(--amber)}
.ck2-st.r{background:var(--red-soft);color:var(--red)}
.ck2-re{margin-inline-start:auto;width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.75);color:inherit}.ck2-re svg{width:14px;height:14px}
.ck2-task,.ck2-why{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted)}
.ck2-task>svg,.ck2-why>svg{width:15px;height:15px;color:var(--navy)}
.ck2-task select,.ck2-why select{height:38px;max-width:260px;border:1px solid var(--line);border-radius:9px;padding:0 8px;font:inherit;font-size:13px;color:var(--ink);background:#fff}
.ck2-why small{font-weight:400}
.ck2-go{height:42px;font-size:14px;padding:0 16px;white-space:nowrap;flex:none}
.ck2-go.amber{background:var(--amber);border-color:var(--amber)}
.ck2-go[disabled]{opacity:.6;cursor:progress}
.ck2-more summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted);padding:2px 4px}
.ck2-more summary::-webkit-details-marker{display:none}
.ck2-more summary svg{width:14px;height:14px}.ck2-more summary svg:last-child{transition:transform .15s}
.ck2-more[open] summary svg:last-child{transform:rotate(180deg)}
.ck2-more>div{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.ck2-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:12.5px}
.ck2-chip svg{width:13px;height:13px;color:var(--navy)}.ck2-chip b{color:var(--ink);font-weight:600}.ck2-chip small{color:var(--muted);font-size:11.5px}
.ck2-chip.on{border-color:var(--green);background:#f6fbf1}.ck2-chip.on svg{color:var(--green-d)}
.ck2-priv{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted)}.ck2-priv svg{width:12px;height:12px;color:var(--green-d)}
.ck2.pop .ck2-t{flex:1}.ck2.pop .ck2-x{order:-1}
.ck2.pop .ck2-seg,.ck2.pop .ck2-st,.ck2.pop .ck2-task,.ck2.pop .ck2-why,.ck2.pop .ck2-go{flex-basis:100%}
.ck2.pop .ck2-seg button{flex:1;justify-content:center}
.ck2.pop .ck2-task select,.ck2.pop .ck2-why select{flex:1;max-width:none}
.ck2.pop .ck2-go{justify-content:center}
@media (max-width:760px){.ck2-st,.ck2-go,.ck2-task,.ck2-why{flex-basis:100%}.ck2-go{justify-content:center}.ck2-task select,.ck2-why select{flex:1;max-width:none}}
.ck2-why>span{white-space:nowrap}

/* ===== v1.22 — Home with charts ===== */
.dv-per button{padding-inline:12px}
.dv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:4px 0 18px}
.dv-kpi{margin:0;padding:16px 18px 14px;display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.dv-kpi:hover{border-color:#c9d3e2;box-shadow:0 1px 2px rgba(16,26,46,.05),0 10px 26px -16px rgba(16,26,46,.32)}
.dv-kh{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:600}
.dv-kh .ni{width:28px;height:28px}.dv-kh .ni svg{width:15px;height:15px}
.dv-kh em{margin-inline-start:auto;font-style:normal;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--navy-soft);color:var(--navy);white-space:nowrap}
.dv-kh em.g{background:var(--green-soft);color:var(--green-d)}.dv-kh em.r{background:var(--red-soft);color:var(--red)}.dv-kh em.a{background:var(--amber-soft);color:var(--amber)}
.dv-kpi>b{font-size:28px;font-weight:800;color:var(--ink);line-height:1.2;margin-top:6px;letter-spacing:-.3px}
.dv-kpi>small{font-size:12.5px;color:var(--muted)}
.dv-kv{margin-top:10px;padding-top:10px;border-top:1px solid var(--line-2);display:flex;flex-direction:column;gap:6px}
.dv-spark{width:100%;height:34px;display:block}
.dv-seg{display:flex;gap:2px;height:8px;border-radius:999px;overflow:hidden}
.dv-seg i{display:block;min-width:3px}
.dv-kc{font-size:11.5px;color:var(--muted-2);display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.dv-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c)}
.dv-dot:not(:first-child){margin-inline-start:6px}
.dv-svg{width:100%;height:auto;display:block;padding:6px 14px 0}
.dv-gl{stroke:var(--line-2);stroke-width:1}
.dv-ax{font-size:11px;fill:var(--muted-2);font-family:inherit}
.dv-ax.mid{text-anchor:middle}.dv-ax.on{fill:var(--ink);font-weight:700}
.dv-dl{font-size:11px;font-weight:700;fill:var(--ink);text-anchor:middle}
.dv-hit{fill:transparent}
.dv-g:hover .dv-hit{fill:var(--navy-soft);opacity:.6}
.dv-nt{font-size:11.5px;font-weight:700;fill:var(--green-d);text-anchor:middle}.dv-nt.on{fill:var(--ink)}.dv-gl.dash{stroke-dasharray:3 3;stroke:var(--line)}
.dv-svg{padding-bottom:12px}
.dv-lg0{margin:0;padding:0}
.dv-donut{display:flex;align-items:center;gap:18px;padding:14px 20px 20px}
.dv-donut svg{width:132px;height:132px;flex:none}
.dv-donut circle[data-tip]{cursor:default}
.dv-dc{font-size:17px;font-weight:800;fill:var(--ink);text-anchor:middle}
.dv-ds{font-size:9.5px;fill:var(--muted);text-anchor:middle}
.dv-dk{flex:1;display:flex;flex-direction:column;gap:10px;min-width:0}
.dv-dk>div{display:grid;grid-template-columns:10px 1fr auto 38px;align-items:center;gap:8px;font-size:13px}
.dv-dk i{width:10px;height:10px;border-radius:3px}
.dv-dk span{color:var(--body)}.dv-dk b{font-weight:700;color:var(--ink)}.dv-dk em{font-style:normal;color:var(--muted-2);font-size:12px;text-align:end}
.dv-hb{display:flex;flex-direction:column;gap:12px;padding:16px 20px 6px}
.dv-hb>div,.dv-pl>a{display:grid;grid-template-columns:96px 1fr 64px;align-items:center;gap:10px;font-size:13px}
.dv-hb .t,.dv-pl .t{color:var(--body);white-space:nowrap}
.dv-hb .tr,.dv-pl .tr{height:12px;display:flex;gap:2px;background:var(--line-2);border-radius:4px;overflow:hidden}
.dv-hb .tr i,.dv-pl .tr i{display:block;height:100%;border-radius:4px}
.dv-hb i.n{background:var(--navy)}.dv-hb i.a{background:var(--amber)}.dv-hb i.r{background:var(--red)}
.dv-hb b,.dv-pl b{font-weight:700;color:var(--ink);text-align:end}
.dv-foot{display:flex;align-items:center;gap:8px;margin:10px 20px 18px;padding:9px 12px;border-radius:var(--r-s);background:var(--red-soft);font-size:12.5px;color:var(--body)}
.dv-foot svg{width:15px;height:15px;color:var(--red);flex:none}
.dv-pl{display:flex;flex-direction:column;gap:4px;padding:14px 12px 4px}
.dv-pl>a{grid-template-columns:96px 1fr 34px 86px;padding:7px 8px;border-radius:var(--r-s);color:inherit;text-decoration:none}
.dv-pl>a:hover{background:var(--bg)}
.dv-pl .tr{height:14px}
.dv-pl i.ok{background:var(--navy)}.dv-pl i.late{background:var(--red)}
.dv-pl em{font-style:normal;font-size:12px;font-weight:700;color:var(--red);white-space:nowrap}
.dv-pl em.ok{color:var(--muted-2);font-weight:500}
.dv-lg{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:6px 20px 18px}
.dv-sum{margin-inline-start:auto;color:var(--muted);font-size:12.5px}.dv-sum b{color:var(--ink)}
.dv-sl{margin-bottom:22px}
.dv-sr{display:grid;grid-template-columns:36px minmax(0,1fr) 220px 16px;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--line-2);color:inherit;text-decoration:none}
.dv-sr:first-child{border-top:0}
.dv-sr:hover{background:var(--bg)}
.dv-sr>svg{width:16px;height:16px;color:var(--muted-2)}
.dv-sb{display:flex;flex-direction:column;gap:4px;min-width:0}.dv-sn{display:flex;align-items:center;gap:10px}.dv-sn b{font-size:14px;color:var(--ink)}
.dv-sr p{margin:0;font-size:13px;line-height:1.7;color:var(--body)}
.dv-sr p b{color:var(--navy)}.dv-sr p b.r{color:var(--red)}.dv-sr p b.a{color:var(--amber)}.dv-sr p b.g{color:var(--green-d)}
.dv-sf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--bg);border-radius:var(--r-s);padding:8px 4px}
.dv-sf>div{text-align:center;padding-inline:4px;border-inline-start:1px solid var(--line)}.dv-sf>div:first-child{border:0}
.dv-sf b{display:block;font-size:15px;font-weight:800;color:var(--navy)}.dv-sf b.r{color:var(--red)}.dv-sf b.a{color:var(--amber)}
.dv-sf small{display:block;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-tip{position:fixed;z-index:9999;pointer-events:none;background:var(--ink);color:#fff;font-size:12px;line-height:1.6;padding:7px 10px;border-radius:8px;box-shadow:0 8px 24px -8px rgba(0,0,0,.35);opacity:0;transition:opacity .1s;direction:rtl;max-width:240px}
.dv-tip.on{opacity:1}.dv-tip b{display:block;font-weight:700}
@media (max-width:1180px){.dv-sr{grid-template-columns:36px minmax(0,1fr) 16px}.dv-sf{grid-column:2}}
@media (max-width:1100px){.dv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.dv-kpis{grid-template-columns:1fr}.dv-donut{flex-direction:column}.dv-pl>a{grid-template-columns:76px 1fr 28px}.dv-pl em{display:none}}
/* ===== v1.23 — task-center nav (tcnav): bigger, grouped, sticky ===== */
.tcnav{position:sticky;top:64px;z-index:15;display:flex;align-items:stretch;gap:0;background:rgba(255,255,255,.97);backdrop-filter:blur(6px);border:1px solid var(--line);border-radius:14px;padding:6px 8px 8px;overflow-x:auto;scrollbar-width:thin;box-shadow:0 6px 16px -14px rgba(15,23,42,.35);flex-basis:100%;width:100%;margin-bottom:14px}
.tcnav-g{display:flex;flex-direction:column;gap:4px;flex:none;padding:0 8px}
.tcnav-g+.tcnav-g{border-inline-start:1px solid var(--line)}
.tcnav-g>small{font-size:11px;font-weight:700;color:var(--muted);padding:0 6px;letter-spacing:.2px}
.tcnav-g>div{display:flex;gap:4px}
.tcnav a{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--body);white-space:nowrap;text-decoration:none;transition:background .12s,color .12s}
.tcnav a svg{width:18px;height:18px;color:var(--muted);flex:none}
.tcnav a:hover{background:var(--bg);color:var(--ink)}.tcnav a:hover svg{color:var(--navy)}
.tcnav a.on{background:var(--navy);color:#fff;box-shadow:0 4px 10px -6px rgba(16,32,64,.6)}.tcnav a.on svg{color:#fff}
.tcnav a:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.tcnav em{font-style:normal;font-size:12px;font-weight:700;min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;background:var(--bg);color:var(--muted)}
.tcnav em.a{background:var(--amber-soft);color:#8a5a12}
.tcnav a.on em{background:rgba(255,255,255,.2);color:#fff}
.kb-head{align-items:flex-end}.kb-head>.tcnav{order:2}
.lb-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:36px;margin-top:6px;border:1px dashed var(--line);border-radius:10px;font:inherit;font-size:12.5px;font-weight:600;color:var(--muted);background:transparent}
.lb-more:hover{background:#fff;color:var(--navy);border-color:var(--navy)}.lb-more svg{width:14px;height:14px}
@media (max-width:760px){.tcnav{top:56px;padding:6px}.tcnav-g>small{display:none}.tcnav a{height:40px;padding:0 11px;font-size:13.5px}}
.tcnav{flex-wrap:wrap;row-gap:8px;overflow-x:visible}
.tcnav a{padding:0 12px;font-size:14px}
@media (max-width:760px){.tcnav{flex-wrap:nowrap;overflow-x:auto}}
.tcnav{position:relative;top:auto;column-gap:14px}
.tcnav-g+.tcnav-g{border-inline-start:0}
.tcnav-g{padding:0}

/* ===== v1.23 — Operational indicators ===== */
.in-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 18px;margin:14px 0 6px}
.in-hl{display:flex;align-items:center;gap:12px}.in-hl>svg{width:22px;height:22px;color:var(--green-d);flex:none}
.in-hl b{display:block;font-size:14px;color:var(--ink)}.in-hl small{font-size:12.5px;color:var(--muted)}
.in-hr{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.in-hr label{font-size:12.5px;color:var(--muted)}
.in-hr select,.in-flt select{height:34px;border:1px solid var(--ctl-bd);border-radius:var(--r-s);background:var(--surface);padding:0 10px;font:inherit;font-size:13px;color:var(--ink)}
.in-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:8px}
.in-tiles.home{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}
.in-t{margin:0;padding:14px 16px;display:flex;flex-direction:column;gap:8px;color:inherit;text-decoration:none;transition:border-color .15s}
.in-t:hover{border-color:#c9d3e2}
.in-th{display:flex;align-items:center;gap:8px}.in-th .ni{width:28px;height:28px}.in-th .ni svg{width:15px;height:15px}
.in-th b{font-size:13.5px;color:var(--body);font-weight:600}.in-th>svg{width:14px;height:14px;margin-inline-start:auto;color:var(--muted-2);opacity:0;transition:opacity .15s}
.in-t:hover .in-th>svg{opacity:1}
.in-tv{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.in-tv b{font-size:26px;font-weight:800;color:var(--ink);line-height:1.2}.in-tv small{font-size:11.5px;color:var(--muted-2)}
.in-bar{display:flex;gap:2px;height:8px;border-radius:999px;overflow:hidden;background:var(--line-2)}
.in-bar i{display:block;min-width:4px}
.in-bar.sm{height:10px;border-radius:4px}
.in-lg{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11.5px;color:var(--muted)}
.in-lg span{display:inline-flex;align-items:center;gap:5px}.in-lg i{width:8px;height:8px;border-radius:2px}.in-lg b{color:var(--ink);font-weight:700}
.in-grid{margin-bottom:8px}
.in-ch{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.in-ch .hm-legend{margin:0;padding:0}
.in-perm{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;color:var(--muted-2);background:var(--bg);border:1px solid var(--line-2);border-radius:6px;padding:2px 6px;font-family:ui-monospace,Menlo,monospace}
.in-perm svg{width:11px;height:11px}
.in-flt{display:flex;gap:6px}
.in-sg{padding:12px 20px 4px}.in-sg>small{display:block;font-size:11.5px;font-weight:700;color:var(--muted-2);margin-bottom:6px}
.in-sg+.in-sg{border-top:1px dashed var(--line-2)}
.dv-pl1{display:grid;grid-template-columns:96px 1fr 34px;align-items:center;gap:10px;font-size:13px;padding:4px 0}
.dv-pl1 .t{color:var(--body);white-space:nowrap}.dv-pl1 .tr{height:10px;display:flex;gap:2px;background:var(--line-2);border-radius:4px;overflow:hidden}
.dv-pl1 .tr i{display:block;height:100%;border-radius:4px}.dv-pl1 b{text-align:end;font-weight:700;color:var(--ink)}
.in-info{background:var(--navy-soft)}.in-info svg{color:var(--navy)}
.in-p{margin:12px 20px 18px;font-size:12.5px;color:var(--muted);line-height:1.7}
.hm-w>.in-bar{margin:18px 20px 10px;height:12px}.hm-w>.in-lg{margin:0 20px;font-size:12.5px}
.in-off td .in-bar{max-width:320px}
.in-late{color:var(--red);font-weight:700}
.in-rate{display:flex;align-items:center;gap:8px}.in-rate .tr{flex:1;height:8px;background:var(--line-2);border-radius:4px;overflow:hidden}.in-rate i{display:block;height:100%;background:var(--green);border-radius:4px}
.in-ev{display:flex;flex-direction:column}
.in-ev>div{display:grid;grid-template-columns:44px 96px 1fr;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid var(--line-2)}
.in-ev>div:first-child{border-top:0}
.in-d{display:flex;flex-direction:column;align-items:center;line-height:1.1;background:var(--bg);border-radius:8px;padding:5px 0}.in-d b{font-size:16px;color:var(--ink)}.in-d small{font-size:10.5px;color:var(--muted)}
.in-ev .tag{justify-self:start}.in-ev div b{display:block;font-size:13px;color:var(--ink)}.in-ev div small{font-size:12px;color:var(--muted)}
.in-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 20px;text-align:center}.in-empty svg{width:26px;height:26px;color:var(--muted-2)}.in-empty small{color:var(--muted);max-width:420px}
@media (max-width:1200px){.in-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.in-tiles,.in-tiles.home{grid-template-columns:1fr}.in-ev>div{grid-template-columns:44px 1fr}.in-ev .tag{grid-column:2}}
.in-hr select,.in-flt select{width:auto;min-width:0;flex:none}
.in-hr select[data-indrole]{min-width:220px}
.in-head .in-hr .btn{flex:none}

/* v1.24 — Reports centre: catalogue as cards */
.rc-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.rc-ic svg{width:17px;height:17px}
.rc-ops{background:#e8edf6;color:#16233f}
.rc-ext{background:#e6f0f8;color:#2f5f8f}
.rc-crm{background:#eef6e6;color:#4e8a24}
.rc-rent{background:#fbf1e2;color:#a8641a}
.rc-fin{background:#e5f3f1;color:#1f7a6d}
.rc-sales{background:#f1ecf8;color:#6a4c9c}
.rc-hr{background:#fbeaea;color:#a8423f}
.rc-tool{padding:14px;margin:14px 0 18px;display:flex;flex-direction:column;gap:12px}
.rc-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:0 14px;height:48px;background:var(--bg)}
.rc-search:focus-within{border-color:var(--navy);background:#fff}
.rc-search svg{width:18px;height:18px;color:var(--muted)}
.rc-search input{flex:1;border:0;background:none;font:inherit;font-size:15px;outline:0;min-width:0;height:100%;padding:0}
.rc-search kbd{font:inherit;font-size:12px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:6px;padding:2px 8px;white-space:nowrap}
.rc-qf{display:flex;gap:6px;flex-wrap:wrap}
.rc-qf button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;color:var(--body);cursor:pointer;display:inline-flex;gap:8px;align-items:center}
.rc-qf button em{font-style:normal;font-size:11.5px;color:var(--muted)}
.rc-qf button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.rc-qf button.on em{color:#c9d3e2}
.rc-cats{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid var(--line-2);scrollbar-width:thin}
.rc-cats button{flex:none;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:5px 12px 5px 6px;font:inherit;font-size:13px;color:var(--body);cursor:pointer;white-space:nowrap}
.rc-cats button>svg{width:16px;height:16px;color:var(--muted);margin-inline-start:6px}
.rc-cats .rc-ic{width:26px;height:26px;border-radius:8px}.rc-cats .rc-ic svg{width:14px;height:14px}
.rc-cats button em{font-style:normal;font-size:11.5px;color:var(--muted)}
.rc-cats button:hover{border-color:#c3ccda}
.rc-cats button.on{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy);color:var(--navy);font-weight:600}
.rc-sh{display:flex;align-items:center;gap:10px;margin:0 2px 10px;color:var(--navy)}
.rc-sh>b{font-size:15.5px;color:var(--ink)}
.rc-sh>span{font-size:12.5px;color:var(--muted)}.rc-sh>span i{font-style:normal}
.rc-sh>svg{width:17px;height:17px;color:var(--amber);fill:var(--amber)}
.rc-sh .rc-ic{width:28px;height:28px;border-radius:8px}.rc-sh .rc-ic svg{width:15px;height:15px}
.rc-sec{margin-bottom:22px}
.rc-fav{margin-bottom:22px}
.rc-fl2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rc-fv{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
.rc-fv b{flex:1;min-width:0;font-size:13.5px;color:var(--ink);display:flex;flex-direction:column}
.rc-fv b small{font-weight:400;font-size:11.5px;color:var(--muted)}
.rc-fv>svg{width:15px;height:15px;color:#c3ccda}
.rc-fv:hover{border-color:var(--navy)}.rc-fv:hover>svg{color:var(--navy)}
.rc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.rc-card{padding:14px 14px 10px;display:flex;flex-direction:column;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.rc-card:hover{border-color:#b9c4d6;box-shadow:0 6px 18px rgba(22,35,63,.08);transform:translateY(-1px)}
.rc-card[hidden],.rc-sec[hidden],.rc-fav[hidden],.rc-none[hidden]{display:none}
.rc-ch{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.rc-ch .rc-star{margin-inline-start:auto}
.rc-role{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--navy);background:var(--navy-soft);border-radius:999px;padding:2px 9px}
.rc-role svg{width:12px;height:12px}
.rc-tt{font-size:15px;color:var(--ink);line-height:1.4}
.rc-q{font-size:12.5px;color:var(--muted);margin-top:3px;line-height:1.5}
.rc-subs{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}
.rc-subs span{font-size:11.5px;background:var(--bg);border:1px solid var(--line-2);border-radius:6px;padding:1px 7px;color:var(--body)}
.rc-cf{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line-2);margin-top:14px}
.rc-meta{flex:1;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);min-width:0}
.rc-meta svg{width:13px;height:13px}
.rc-sb{position:relative;width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px;display:inline-grid;place-items:center;cursor:pointer;color:var(--muted);vertical-align:middle}
.rc-sb svg{width:15px;height:15px}
.rc-sb:hover{color:var(--navy);border-color:var(--navy)}
.rc-foot .rc-sb.nw::after{content:"";position:absolute;top:-3px;inset-inline-end:-3px;width:8px;height:8px;border-radius:50%;background:var(--amber);border:2px solid #fff}
.rc-open{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--navy);padding:5px 10px;border-radius:8px}
.rc-open svg{width:14px;height:14px}
.rc-card:hover .rc-open{background:var(--navy);color:#fff}
.rc-none{padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--muted)}
.rc-none svg{width:28px;height:28px}.rc-none b{color:var(--ink);font-size:15px}
.rc-foot{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);margin:4px 2px 0}
.rc-foot .rc-sb{cursor:default;flex:none}
@media (max-width:720px){.rc-grid,.rc-fl2{grid-template-columns:1fr}.rc-search kbd{display:none}}
.rc-foot>svg{width:15px;height:15px;flex:none}
@media (max-width:720px){.rc-fl2{grid-template-columns:1fr}}
/* ===== v1.26 — task-center header, underline tabs, board settings drawer (cf-*) ===== */
.tcnav{display:flex;flex-wrap:nowrap;align-items:stretch;gap:0;overflow-x:auto;scrollbar-width:none;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 6px;box-shadow:none;margin-bottom:14px;position:relative;top:auto}
.tcnav::-webkit-scrollbar{display:none}
.tcnav-g{flex-direction:row;align-items:stretch;gap:0;padding:0;position:relative}
.tcnav-g>small{display:none}
.tcnav-g>div{gap:0}
.tcnav-g+.tcnav-g{border:0;margin-inline-start:6px;padding-inline-start:6px}
.tcnav-g+.tcnav-g::before{content:"";position:absolute;inset-inline-start:0;top:14px;bottom:14px;width:1px;background:var(--line)}
.tcnav a{height:50px;padding:0 12px;border-radius:0;font-size:14px;font-weight:600;color:var(--muted);gap:7px;position:relative;background:transparent;box-shadow:none}
.tcnav a::after{content:"";position:absolute;inset-inline:10px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent;transition:background .15s}
.tcnav a svg{width:17px;height:17px}
.tcnav a:hover{background:transparent;color:var(--ink)}.tcnav a:hover::after{background:var(--line)}
.tcnav a.on{background:transparent;color:var(--navy);box-shadow:none}.tcnav a.on svg{color:var(--navy)}.tcnav a.on::after{background:var(--navy)}
.tcnav a.on em{background:var(--navy);color:#fff}
.tcnav a[data-go="tcSettings"] span{display:none}
.kb-top{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:12px;overflow:hidden}
.kb-top .tcnav{border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:0 10px}
.kb-tr{display:flex;align-items:center;gap:14px;padding:14px 18px;flex-wrap:wrap}
.kb-tt .kb-bc{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}
.kb-tt h1{margin:0;font-size:22px;line-height:1.2}
.kb-stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-inline-start:14px;border-inline-start:1px solid var(--line)}
.kb-stats>*{display:inline-flex;align-items:baseline;gap:5px;height:32px;align-items:center;padding:0 11px;border-radius:999px;font:inherit;font-size:12.5px;color:var(--muted);background:var(--bg);border:1px solid transparent}
.kb-stats b{font-size:14px;font-weight:800;color:var(--ink)}
.kb-stats .r b{color:var(--red)}.kb-stats .a b{color:#a86a10}
.kb-stats button:hover{border-color:var(--line);background:#fff}
.kb-stats button.on{background:var(--navy);color:#fff}.kb-stats button.on b{color:#fff}
.kb-cfgb svg{width:16px;height:16px}
.kb-head{display:none}
.kb-ch{align-items:center}
.kb-cm{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;color:var(--muted);opacity:0;transition:opacity .12s,background .12s}
.kb-cm svg{width:15px;height:15px}
.kb-col:hover .kb-cm,.kb-cm:focus-visible{opacity:1}.kb-cm:hover{background:var(--bg);color:var(--ink)}
.kb-srt{display:inline-grid;place-items:center;color:var(--muted)}.kb-srt svg{width:13px;height:13px}
.lb-c.nostripe{border-inline-end-color:var(--line)!important}
.cf-ov{position:fixed;inset:0;z-index:60;background:rgba(15,23,42,.32);display:flex;justify-content:flex-end;animation:cfo .15s ease}
[dir=rtl] .cf-ov{justify-content:flex-end}
.cf{width:min(560px,100%);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(15,23,42,.25);animation:cfi .18s ease}
@keyframes cfo{from{opacity:0}}@keyframes cfi{from{transform:translateX(-24px);opacity:.4}}
.cf-h{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.cf-h>div{flex:1}.cf-h b{display:block;font-size:17px;color:var(--ink)}.cf-h small{font-size:12.5px;color:var(--muted)}
.cf-hi{width:38px;height:38px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}.cf-hi svg{width:19px;height:19px}
.cf-tabs{display:flex;gap:4px;padding:10px 20px 0;border-bottom:1px solid var(--line)}
.cf-tabs button{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px;font:inherit;font-size:14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.cf-tabs button svg{width:16px;height:16px}
.cf-tabs button.on{color:var(--navy);border-bottom-color:var(--navy)}
.cf-tabs em{font-style:normal;font-size:11.5px;background:var(--bg);border-radius:999px;padding:0 7px}
.cf-b{flex:1;overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}
.cf-f{display:flex;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid var(--line);background:var(--bg)}
.cf-hint{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;font-size:12.5px;color:var(--muted)}.cf-hint svg{width:14px;height:14px}
.cf-list{display:flex;flex-direction:column;gap:8px}
.cf-row{border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff;display:flex;flex-direction:column;gap:6px;transition:border-color .15s,box-shadow .15s}
.cf-row.hi{border-color:var(--navy);box-shadow:0 0 0 3px var(--navy-soft)}
.cf-row.off{background:var(--bg)}.cf-row.off .cf-name{color:var(--muted);text-decoration:line-through}
.cf-row.drag{opacity:.45}.cf-row.over{border-color:var(--green);border-style:dashed}
.cf-r1{display:flex;align-items:center;gap:6px}
.cf-grip{cursor:grab;color:var(--muted);display:grid;place-items:center}.cf-grip svg{width:16px;height:16px}
.cf-col{width:22px;height:22px;border-radius:7px;background:var(--s);flex:none;position:relative;overflow:hidden;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.cf-col input{position:absolute;inset:-6px;opacity:0;cursor:pointer}
.cf-name{flex:1;min-width:0;height:34px;border:1px solid transparent;border-radius:8px;padding:0 8px;font:inherit;font-size:14px;font-weight:700;color:var(--ink);background:transparent}
.cf-name:hover{border-color:var(--line)}.cf-name:focus{border-color:var(--navy);background:#fff;outline:0}
.cf-cnt{font-size:12px;color:var(--muted);white-space:nowrap}
.cf-ib{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}.cf-ib svg{width:15px;height:15px}
.cf-ib:hover:not([disabled]){background:var(--bg);color:var(--ink)}.cf-ib.del:hover:not([disabled]){color:var(--red);background:var(--red-soft)}
.cf-ib[disabled]{opacity:.3;cursor:not-allowed}
.cf-r2{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-inline-start:52px;font-size:12.5px;color:var(--muted)}
.cf-r2 label{display:inline-flex;align-items:center;gap:6px}.cf-r2 svg{width:14px;height:14px}
.cf-r2 input,.cf-r2 select,.cf-tr select{height:30px;border:1px solid var(--line);border-radius:7px;padding:0 6px;font:inherit;font-size:12.5px;background:#fff;color:var(--ink)}
.cf-r2 input{width:64px}
.cf-tg{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12.5px;color:var(--muted)}
.cf-tg .sw,.cf-tr .sw{transform:scale(.85)}
.cf-add{display:flex;align-items:center;gap:8px;border:1px dashed var(--line);border-radius:12px;padding:6px 10px;color:var(--muted)}.cf-add>svg{width:16px;height:16px}
.cf-add input{flex:1;height:34px;border:0;font:inherit;font-size:14px;background:transparent;outline:0}
.cf-prev{background:var(--bg);border-radius:12px;padding:12px 14px}
.cf-prev>small{display:block;font-size:11.5px;font-weight:700;color:var(--muted);margin-bottom:8px}
.cf-pc{max-width:300px;pointer-events:none}
.cf-seg{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.cf-seg>span{margin-inline-end:6px}
.cf-seg button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:9px;border:1px solid var(--line);font:inherit;font-size:13px;color:var(--body)}
.cf-seg button svg{width:15px;height:15px}.cf-seg button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.cf-tgl{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.cf-tr{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;font:inherit;text-align:start;background:#fff;width:100%}
.cf-tr+.cf-tr{border-top:1px solid var(--line-2,var(--line))}
button.cf-tr:hover{background:var(--bg)}
.cf-tr b{display:block;font-size:13.5px;color:var(--ink)}.cf-tr small{font-size:12px;color:var(--muted)}
.cf-note{display:flex;gap:10px;align-items:flex-start;background:var(--blue-soft);color:#24467a;border-radius:12px;padding:12px 14px;font-size:12.5px;line-height:1.7}.cf-note svg{width:17px;height:17px;flex:none;margin-top:2px}
@media (max-width:760px){.kb-stats{border:0;padding:0;order:3;flex-basis:100%}.kb-tr{padding:12px}.cf-r2{padding-inline-start:0}}
.cf .cf-r2 input,.cf .cf-r2 select,.cf .cf-tr select{height:30px;min-height:0;padding:0 6px;font-size:12.5px;width:auto}.cf .cf-r2 input{width:70px}.cf-row{padding:6px 10px;gap:2px}
/* ===== v1.27 — lists fill the board width, one consistent card ===== */
.kb-board{align-items:stretch;gap:12px;min-height:0}
.kb-board .kb-col,.kb-board.compact .kb-col{flex:1 1 0;min-width:236px;max-width:none;height:calc(100vh - 300px);min-height:520px;max-height:none;border-top:0;border-radius:14px;background:#eef1f5;position:relative;overflow:hidden}
.kb-board .kb-col::before,.kb-board .kb-fold::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:var(--s)}
.kb-board .kb-fold{flex:0 0 44px;height:calc(100vh - 300px);min-height:520px;border-top:0;position:relative;overflow:hidden;border-radius:14px;background:#eef1f5}
.kb-board .kb-fold:hover{background:#e5e9f0}
.kb-ch{padding:14px 14px 10px}
.kb-ch b{font-size:14px;text-transform:none;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.kb-ch b::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--s);margin-inline-end:7px;vertical-align:middle}
.kb-ch .kb-n{flex:none}
.kb-cb{flex:1;min-height:0;padding:2px 10px 10px;gap:8px!important}
.kb-col>.kb-add{margin:0 10px 10px;justify-content:flex-start}
.kb-board .kb-empty{flex:1;min-height:120px;border:1.5px dashed #cfd6e1;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:13px}
.lb-drop.over{background:#e3eaf5!important;box-shadow:inset 0 0 0 2px var(--navy)}
.km.lb-c{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e3e8ef;border-inline-start:3px solid var(--c);border-radius:10px;padding:10px 12px;box-shadow:0 1px 2px rgba(16,26,46,.05);transition:box-shadow .12s,border-color .12s,transform .12s}
.km.lb-c.nostripe{border-inline-start:1px solid #e3e8ef!important}
.km.lb-c:hover{border-color:#c9d3e3;border-inline-start-color:var(--c);box-shadow:0 6px 16px -8px rgba(16,26,46,.28);transform:translateY(-1px)}
.km.lb-c.live{box-shadow:0 0 0 1px rgba(101,160,52,.35),0 1px 2px rgba(16,26,46,.05)}
.km-h{display:flex;align-items:center;gap:6px;min-height:22px}
.km-h .kb-ty{width:20px;height:20px;border-radius:6px}.km-h .kb-ty svg{width:12px;height:12px}
.km-h .kb-key{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.2px}
.km-h .kb-cl{font-size:11px;padding:1px 7px;max-width:130px}
.km-h .km-sh{width:24px;height:24px}
.km.lb-c .km-t{font-size:14px;font-weight:600;line-height:1.55;color:var(--ink);-webkit-line-clamp:2}
.km.lb-c .km-f{display:flex;align-items:center;gap:8px;min-height:26px;padding-top:8px;border-top:1px solid #f0f2f6}
.km.lb-c .kb-due{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--bg);color:var(--body)}
.km.lb-c .kb-due svg{width:12px;height:12px}
.km.lb-c .kb-due.late{background:var(--red-soft);color:var(--red)}.km.lb-c .kb-due.soon{background:var(--amber-soft);color:#9a6210}.km.lb-c .kb-due.done{background:var(--green-soft);color:var(--green-d)}
.km.lb-c .kb-pi svg{width:15px;height:15px}
.km.lb-c .kb-mt{gap:3px;font-size:12px}.km.lb-c .kb-mt svg{width:13px;height:13px}
.km.lb-c .kb-av{width:26px;height:26px;font-size:11px;margin-inline-start:-6px}
.km.lb-c .lb-avs{display:flex;padding-inline-start:6px}
.km.lb-c .kb-pr{display:flex;align-items:center;gap:8px}.km.lb-c .kb-pr .tc-bar{flex:1}
.km.lb-c .kb-al{font-size:12px}
@media (max-width:760px){.kb-board .kb-col,.kb-board .kb-fold{height:auto;min-height:320px}.kb-board .kb-col{min-width:82vw}}
.kb-wip,.kb-board .kb-wip{white-space:nowrap;flex:none}.kb-board .kb-col>*{min-width:0}.kb-board .kb-col{width:0}
.kb-cm{display:none}.kb-col:hover .kb-cm,.kb-cm:focus-visible{display:grid}.kb-col:hover .kb-ch b{max-width:calc(100% - 120px)}

/* v1.25 — Report runner */
.rp-head .actions{flex-wrap:wrap}
.rp-exp{display:flex;gap:6px}
.rp-ctl{padding:12px 14px;margin-bottom:14px;display:flex;flex-direction:column;gap:10px;position:relative;z-index:5}
.rp-r1{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rp-q{flex:1;min-width:220px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:0 12px;height:40px;background:var(--bg)}
.rp-q:focus-within{border-color:var(--navy);background:#fff}
.rp-q svg{width:16px;height:16px;color:var(--muted)}
.rp-q input{flex:1;border:0;background:none;outline:0;font:inherit;font-size:14px;height:100%;padding:0;min-width:0;box-shadow:none}
.rp-per{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rp-per>span{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.rp-per>span svg{width:15px;height:15px}
.rp-per select,.rp-per input{width:auto;min-width:0;height:40px;padding:0 10px;font-size:13.5px}
.rp-per .rp-on{margin-inline-start:4px}
.rp-cmp{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:10px;height:40px;padding:0 12px;font:inherit;font-size:13px;color:var(--body);cursor:pointer}
.rp-cmp.on{border-color:var(--navy);color:var(--navy)}
.rp-cmp:disabled{opacity:.5;cursor:not-allowed}
.rp-r2{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--line-2)}
.rp-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:999px;padding:0 4px 0 0;background:#fff;font-size:13px;height:34px}
.rp-chip>span{padding-inline-start:12px;color:var(--muted)}
.rp-chip select{border:0;background:none;box-shadow:none;height:32px;padding:0 6px;font-size:13px;font-weight:600;color:var(--ink);width:auto;min-width:0;cursor:pointer}
.rp-chip select:focus{box-shadow:none}
.rp-chip button{border:0;background:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:var(--muted);margin-inline-end:4px}
.rp-chip button:hover{background:var(--line-2);color:var(--ink)}
.rp-chip button svg{width:13px;height:13px}
.rp-chip.set{background:var(--navy-soft);border-color:#b9c4d6}
.rp-chip.set>span{color:var(--navy)}
.rp-addw{position:relative}
.rp-add{display:inline-flex;align-items:center;gap:4px;border:1px dashed #b9c4d6;background:none;border-radius:999px;height:34px;padding:0 14px;font:inherit;font-size:13px;color:var(--navy);cursor:pointer}
.rp-add svg{width:14px;height:14px}
.rp-clear{display:inline-flex;align-items:center;gap:5px;border:0;background:none;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer;margin-inline-start:auto}
.rp-clear svg{width:13px;height:13px}.rp-clear:hover{color:var(--red)}
.rp-pop{position:absolute;top:calc(100% + 6px);inset-inline-start:0;z-index:30;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(22,35,63,.14);padding:6px;min-width:190px;display:flex;flex-direction:column}
.rp-pop>button{border:0;background:none;text-align:start;font:inherit;font-size:13.5px;padding:8px 10px;border-radius:8px;cursor:pointer;color:var(--body)}
.rp-pop>button:hover{background:var(--navy-soft);color:var(--navy)}
.rp-colp{inset-inline-start:auto;inset-inline-end:0;min-width:250px;max-height:420px;overflow:auto}
.rp-colp>b{font-size:12.5px;color:var(--muted);padding:6px 8px}
.rp-ci{display:flex;align-items:center;gap:2px;border-radius:8px}
.rp-ci:hover{background:var(--bg)}
.rp-ci button{border:0;background:none;cursor:pointer;color:var(--muted);display:grid;place-items:center;width:26px;height:30px;border-radius:6px}
.rp-ci button:disabled{opacity:.25;cursor:default}
.rp-ci button svg{width:14px;height:14px}
.rp-ci .rp-cb{flex:1;display:flex;align-items:center;gap:8px;width:auto;justify-content:flex-start;padding:0 8px;font:inherit;font-size:13.5px;color:var(--ink)}
.rp-ci .rp-cb svg{width:16px;height:16px;color:var(--navy)}
.rp-ci.off .rp-cb{color:var(--muted)}.rp-ci.off .rp-cb svg{color:#c3ccda}
.rp-colp .fhint{padding:6px 8px 2px}
.rp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.rp-k{padding:14px 16px;text-align:start;font:inherit;display:flex;flex-direction:column;gap:4px;border:1px solid var(--line)}
button.rp-k{cursor:pointer;transition:border-color .15s}
button.rp-k:hover{border-color:var(--navy)}
.rp-k.on{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.rp-k small{font-size:13px;color:var(--muted)}
.rp-k>b{font-size:28px;color:var(--ink);line-height:1.15}
.rp-k>b em{font-style:normal;font-size:13px;color:var(--muted);font-weight:500}
.rp-k.r>b{color:var(--red)}
.rp-sub{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:4px}.rp-sub svg{width:12px;height:12px}
.rp-dl{font-size:12px;display:inline-flex;align-items:center;gap:4px}
.rp-dl svg{width:13px;height:13px}.rp-dl i{font-style:normal;color:var(--muted)}
.rp-dl.good{color:var(--green-d)}.rp-dl.bad{color:var(--red)}.rp-dl.n{color:var(--muted)}
.rp-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.rp-ch{padding:14px 16px}
.rp-cht{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.rp-cht b{font-size:14.5px;color:var(--ink)}.rp-cht small{font-size:11.5px;color:var(--muted-2)}
.rp-bars{display:flex;flex-direction:column;gap:2px}
.rp-bar{display:grid;grid-template-columns:130px 1fr 70px;align-items:center;gap:10px;border:0;background:none;font:inherit;padding:6px 6px;border-radius:8px;cursor:pointer;text-align:start}
.rp-bar:hover{background:var(--bg)}
.rp-bar.on{background:var(--navy-soft)}
.rp-bar.dim{opacity:.4}
.rp-bl{font-size:13px;color:var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp-bt{display:flex;gap:2px;height:10px;background:var(--line-2);border-radius:5px;overflow:hidden}
.rp-bt i{display:block;height:100%;background:var(--navy);border-radius:5px;flex:none}
.rp-bt i.lt{background:var(--red)}
.rp-bt i.w{background:var(--red)}
.rp-bar b{font-size:13.5px;color:var(--ink);text-align:end}.rp-bar b small{font-size:11px;color:var(--muted);font-weight:400}
.rp-lg{margin-top:8px}
.rp-cols{display:flex;align-items:flex-end;gap:6px;height:190px;padding-top:6px}
.rp-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;border:0;background:none;cursor:pointer;font:inherit;padding:0 2px;border-radius:6px}
.rp-col:hover{background:var(--bg)}
.rp-col i{width:100%;max-width:34px;background:var(--navy);border-radius:4px 4px 0 0;min-height:1px}
.rp-col b{font-size:11.5px;color:var(--ink)}
.rp-col span{font-size:10.5px;color:var(--muted);white-space:nowrap}
.rp-empty{color:var(--muted);font-size:13px;text-align:center;padding:24px}
.rp-tbl{overflow:visible}
.rp-th{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.rp-vw{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rp-vw>span{font-size:13px;color:var(--muted)}
.rp-ta{display:flex;align-items:center;gap:8px}
.rp-t th button{border:0;background:none;font:inherit;font-weight:600;color:inherit;display:inline-flex;align-items:center;gap:4px;cursor:pointer;padding:0;white-space:nowrap}
.rp-t th button svg{width:12px;height:12px;opacity:.35}
.rp-t th button.on{color:var(--navy)}.rp-t th button.on svg{opacity:1}
.rp-t td{white-space:nowrap}
.rp-late{color:var(--red);font-size:11.5px;margin-inline-start:4px}
.rp-t .num.r{color:var(--red);font-weight:600}.rp-t .num.a{color:var(--amber);font-weight:600}
.rp-g tbody tr{cursor:pointer}.rp-g tbody tr:hover{background:var(--bg)}
.rp-g tfoot td{border-top:2px solid var(--line);background:var(--bg)}
.rp-go{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:var(--navy);opacity:.0}
.rp-go svg{width:13px;height:13px}
.rp-g tbody tr:hover .rp-go{opacity:1}
.rp-foot{display:flex;align-items:center;justify-content:space-between}
@media (max-width:900px){.rp-kpis{grid-template-columns:1fr 1fr}.rp-charts{grid-template-columns:1fr}.rp-bar{grid-template-columns:100px 1fr 60px}}
/* ===== v1.27 — lists fill the board width, one consistent card ===== */
.kb-board{align-items:stretch;gap:12px;min-height:0}
.kb-board .kb-col,.kb-board.compact .kb-col{flex:1 1 0;min-width:270px;max-width:none;height:calc(100vh - 300px);min-height:520px;max-height:none;border-top:0;border-radius:14px;background:#eef1f5;position:relative;overflow:hidden}
.kb-board .kb-col::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:var(--s)}
.kb-board .kb-fold{flex:0 0 48px;height:calc(100vh - 300px);min-height:520px;border-top:0;position:relative;overflow:hidden;border-radius:14px;background:#eef1f5}
.kb-board .kb-fold::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:var(--s)}
.kb-board .kb-fold:hover{background:#e5e9f0}
.kb-ch{padding:14px 14px 10px}
.kb-ch b{font-size:14px;text-transform:none;letter-spacing:0}
.kb-ch b::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--s);margin-inline-end:7px;vertical-align:middle}
.kb-cb{flex:1;min-height:0;padding:2px 10px 10px;gap:8px!important}
.kb-col>.kb-add{margin:0 10px 10px;justify-content:flex-start}
.kb-board .kb-empty{flex:1;min-height:120px;border:1.5px dashed #cfd6e1;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:13px}
.lb-drop.over{background:#e3eaf5!important;box-shadow:inset 0 0 0 2px var(--navy)}
/* card */
.km.lb-c{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e3e8ef;border-inline-start:3px solid var(--c);border-radius:10px;padding:10px 12px;box-shadow:0 1px 2px rgba(16,26,46,.05);transition:box-shadow .12s,border-color .12s,transform .12s}
.km.lb-c.nostripe{border-inline-start:1px solid #e3e8ef!important}
.km.lb-c:hover{border-color:#c9d3e3;box-shadow:0 6px 16px -8px rgba(16,26,46,.28);transform:translateY(-1px)}
.km.lb-c.live{background:linear-gradient(#fff,#fff) padding-box;box-shadow:0 0 0 1px rgba(101,160,52,.35),0 1px 2px rgba(16,26,46,.05)}
.km-h{display:flex;align-items:center;gap:6px;min-height:22px}
.km-h .kb-ty{width:20px;height:20px;border-radius:6px}.km-h .kb-ty svg{width:12px;height:12px}
.km-h .kb-key{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.2px}
.km-h .kb-cl{font-size:11px;padding:1px 7px;max-width:130px}
.km-h .km-sh{width:24px;height:24px}
.km.lb-c .km-t{font-size:14px;font-weight:600;line-height:1.55;color:var(--ink);-webkit-line-clamp:2}
.km.lb-c .km-f{display:flex;align-items:center;gap:8px;min-height:26px;padding-top:8px;border-top:1px solid #f0f2f6}
.km.lb-c .kb-due{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--bg);color:var(--body)}
.km.lb-c .kb-due svg{width:12px;height:12px}
.km.lb-c .kb-due.late{background:var(--red-soft);color:var(--red)}.km.lb-c .kb-due.soon{background:var(--amber-soft);color:#9a6210}.km.lb-c .kb-due.done{background:var(--green-soft);color:var(--green-d)}
.km.lb-c .kb-pi svg{width:15px;height:15px}
.km.lb-c .kb-mt{gap:3px;font-size:12px}.km.lb-c .kb-mt svg{width:13px;height:13px}
.km.lb-c .kb-av{width:26px;height:26px;font-size:11px;margin-inline-start:-6px}
.km.lb-c .lb-avs{display:flex;padding-inline-start:6px}
.km.lb-c .kb-pr{display:flex;align-items:center;gap:8px}.km.lb-c .kb-pr .tc-bar{flex:1}
.km.lb-c .kb-al{font-size:12px}
@media (max-width:760px){.kb-board .kb-col,.kb-board .kb-fold{height:auto;min-height:320px}.kb-board .kb-col{min-width:82vw}}

/* v1.28.1 — Report runner: contract drawer */
.rp-click{cursor:pointer}.rp-click:hover td{background:var(--bg)}.rp-click.on td{background:var(--navy-soft)}
.rp-ov{justify-content:flex-end;align-items:stretch;padding:0;z-index:200}
.rp-dr{width:min(460px,100vw);height:100vh;background:#fff;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(22,35,63,.18);animation:rpIn .18s ease-out;position:absolute;top:0;bottom:0;left:0;margin:0;max-height:none}
@keyframes rpIn{from{transform:translateX(-30px);opacity:0}to{transform:none;opacity:1}}
.rp-dh{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:18px 20px;border-bottom:1px solid var(--line)}
.rp-dh small{font-size:12px;color:var(--muted)}.rp-dh h3{font-size:20px;margin:2px 0 8px;color:var(--ink)}
.rp-dt{display:flex;gap:6px;flex-wrap:wrap}
.rp-db{flex:1;overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:14px}
.rp-path{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 6px;border:1px solid var(--line-2);border-radius:12px;padding:12px}
.rp-path span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11.5px;color:var(--muted-2);text-align:center;line-height:1.3}
.rp-path span i{width:10px;height:10px;border-radius:50%;border:2px solid #c9d3e2;background:#fff;flex:none}
.rp-path span.d{color:var(--body)}.rp-path span.d i{background:var(--green);border-color:var(--green)}
.rp-path span.c{color:var(--navy);font-weight:700}.rp-path span.c i{background:var(--navy);border-color:var(--navy);box-shadow:0 0 0 3px var(--navy-soft)}
.rp-path span.l{color:var(--red);font-weight:700}.rp-path span.l i{background:var(--red);border-color:var(--red);box-shadow:0 0 0 3px #fbe3e3}
.rp-ds{border:1px solid var(--line-2);border-radius:12px;padding:6px 14px}
.rp-ds>b{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--navy);padding:6px 0}
.rp-ds>b svg{width:15px;height:15px}
.rp-kv{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--line-2);font-size:13px}
.rp-kv span{color:var(--muted)}.rp-kv b{font-weight:600;color:var(--ink);text-align:end}
.rp-kv .num.r{color:var(--red)}
.rp-df{display:flex;gap:8px;padding:12px 20px;border-top:1px solid var(--line);flex-wrap:wrap}
.rp-bar,.rp-bt{direction:rtl}
/* ===== v1.28 — files library (fl-*, fd-*) ===== */
.fl-tabs{display:flex;align-items:center;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.fl-tabs>button{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 14px;font:inherit;font-size:14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.fl-tabs>button svg{width:16px;height:16px}.fl-tabs>button.on{color:var(--navy);border-bottom-color:var(--navy)}
.fl-tabs em{font-style:normal;font-size:11.5px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:0 7px}
.fl-new{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}.fl-new svg{width:14px;height:14px}
.fl-wrap{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;align-items:start}
.fl-nav{padding:10px;position:sticky;top:76px;display:flex;flex-direction:column;gap:4px}
.fl-nt{font-size:11px;font-weight:700;color:var(--muted);padding:10px 10px 4px}
.fl-ns{display:flex;flex-direction:column;gap:1px}
.fl-ns button{display:flex;align-items:center;gap:9px;height:38px;padding:0 10px;border-radius:9px;font:inherit;font-size:13.5px;color:var(--body);text-align:start}
.fl-ns button svg{width:16px;height:16px;color:var(--muted);flex:none}
.fl-ns button span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-ns button em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--muted)}
.fl-ns button em.a{background:var(--amber-soft);color:#8a5a12;border-radius:999px;padding:0 7px}
.fl-ns button:hover{background:var(--bg)}
.fl-ns button.on{background:var(--navy-soft);color:var(--navy);font-weight:700}.fl-ns button.on svg{color:var(--navy)}
.fl-pd{width:10px;height:10px;border-radius:3px;background:var(--p);flex:none;margin-inline:3px}
.fl-quota{margin-top:10px;border-top:1px solid var(--line);padding:12px 10px 4px;display:flex;flex-direction:column;gap:6px;font-size:11.5px;color:var(--muted)}
.fl-quota>div{display:flex;justify-content:space-between}.fl-quota b{font-size:12.5px;color:var(--ink)}
.fl-main{display:flex;flex-direction:column;gap:10px;min-width:0}
.fl-bar{display:flex;align-items:center;gap:8px;padding:8px;flex-wrap:wrap}
.fl-q{flex:1;min-width:240px;height:40px}
.fl-bar select{height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;font-size:13px;background:#fff;color:var(--body)}
.fl-vw{display:inline-flex;background:var(--bg);border-radius:10px;padding:3px}
.fl-vw button{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}.fl-vw button svg{width:16px;height:16px}
.fl-vw button.on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(15,23,42,.12)}
.fl-bulk{display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:12px;padding:8px 10px 8px 8px;font-size:13.5px}
.fl-bulk>svg{width:17px;height:17px;color:var(--green)}
.fl-bulk .btn{background:rgba(255,255,255,.1);color:#fff;border-color:transparent}.fl-bulk .btn:hover{background:rgba(255,255,255,.2)}
.fl-x{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff}.fl-x svg{width:16px;height:16px}
.fl-tbl table{width:100%;border-collapse:collapse}
.fl-tbl th{font-size:12px;font-weight:700;color:var(--muted);text-align:start;padding:10px 12px;border-bottom:1px solid var(--line);background:#fafbfc;white-space:nowrap}
.fl-tbl td{padding:10px 12px;border-bottom:1px solid #f0f2f6;vertical-align:middle;font-size:13px}
.fl-tbl tbody tr{cursor:pointer;transition:background .1s}
.fl-tbl tbody tr:hover{background:#f8fafc}
.fl-tbl tbody tr.on{background:var(--navy-soft)}
.fl-tbl tbody tr.new td:nth-child(2) b{font-weight:800}
.fl-cb{width:36px}.fl-cb input,.fl-tcb input{width:16px;height:16px;accent-color:var(--navy);cursor:pointer}
.fl-n{display:flex;align-items:center;gap:11px;min-width:260px}
.fl-n b{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--ink);font-weight:600;line-height:1.4}
.fl-n small{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px;font-size:11.5px;color:var(--muted)}
.fl-ic{width:38px;height:42px;border-radius:9px;background:color-mix(in srgb,var(--x) 12%,#fff);color:var(--x);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;gap:1px}
.fl-ic svg{width:18px;height:18px}.fl-ic em{font-style:normal;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.3px}
.fl-dot{width:8px;height:8px;border-radius:50%;background:var(--amber);flex:none}
.fl-k{display:inline-flex;align-items:center;gap:4px;font-weight:700;border-radius:6px;padding:1px 7px;background:var(--bg);color:var(--body)}
.fl-k svg{width:12px;height:12px}
.fl-k.k-update{background:#e9f0fb;color:#2f5fa8}.fl-k.k-guide{background:#eaf5e2;color:#4b7f22}.fl-k.k-spec{background:#f1ebfa;color:#7044b8}.fl-k.k-contract{background:#fdf3e3;color:#a86a10}.fl-k.k-design{background:#fbe9f1;color:#c2417a}.fl-k.k-media{background:#fdf0e6;color:#b4581f}
.fl-v{font-weight:700;color:var(--navy)}
.fl-src{display:inline-flex;align-items:center;gap:3px}.fl-src svg{width:12px;height:12px}
.fl-pc{display:flex;flex-direction:column;gap:3px}.fl-pc small{font-size:12px;color:var(--muted)}
.fl-p{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink);white-space:nowrap}.fl-p i{width:8px;height:8px;border-radius:2px;background:var(--p)}
.fl-t{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:700;color:var(--navy);background:var(--navy-soft);border-radius:6px;padding:2px 7px;margin-inline-end:4px;white-space:nowrap}
.fl-t button{display:grid;place-items:center}.fl-t button svg{width:11px;height:11px}
.fl-none{color:#b4bdcc}
.fl-acc{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--body);white-space:nowrap}.fl-acc svg{width:14px;height:14px;color:var(--muted)}
.fl-lk{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--green-soft)}.fl-lk svg{color:var(--green-d)!important}
.fl-by{display:flex;align-items:center;gap:8px;white-space:nowrap}.fl-by .kb-av{width:28px;height:28px;font-size:11px}
.fl-by b{display:block;font-size:12.5px;color:var(--ink)}.fl-by small{font-size:11.5px;color:var(--muted)}
.fl-sz{color:var(--muted);white-space:nowrap}
.fl-ac{white-space:nowrap;text-align:end}
.fl-ac button{width:30px;height:30px;border-radius:8px;display:inline-grid;place-items:center;color:var(--muted);opacity:.35;transition:.12s}
.fl-ac button svg{width:15px;height:15px}
.fl-tbl tr:hover .fl-ac button,.fl-ac button.st{opacity:1}
.fl-ac button:hover{background:#fff;color:var(--navy);box-shadow:0 0 0 1px var(--line)}
.fl-ac button.st{color:var(--amber)}.fl-ac button.st svg{fill:currentColor}
.fl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.fl-tile{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:.12s}
.fl-tile:hover{border-color:#c9d3e3;box-shadow:0 8px 20px -12px rgba(16,26,46,.3)}.fl-tile.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}
.fl-tcb{position:absolute;top:16px;inset-inline-start:16px;z-index:1}
.fl-th{height:110px;border-radius:9px;background:color-mix(in srgb,var(--x) 10%,#fff);color:var(--x);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative}
.fl-th svg{width:34px;height:34px}.fl-th em{font-style:normal;font-size:11px;font-weight:800;text-transform:uppercase}.fl-th .fl-dot{position:absolute;top:10px;inset-inline-end:10px}
.fl-tile>b{font-size:13.5px;color:var(--ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.fl-tm{display:flex;gap:6px;flex-wrap:wrap;font-size:11.5px}
.fl-tf{display:flex;align-items:center;gap:6px;padding-top:8px;border-top:1px solid #f0f2f6;font-size:11.5px;color:var(--muted)}.fl-tf .kb-av{width:24px;height:24px;font-size:10px}.fl-tf svg{width:14px;height:14px;color:var(--muted)}
.fl-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:48px 20px;text-align:center;color:var(--muted)}.fl-empty>svg{width:34px;height:34px}.fl-empty b{color:var(--ink);font-size:15px}
/* drawer */
.fl-dr{width:min(600px,100%)}
.fl-dr .cf-h .fl-ic{width:40px;height:44px}
.fl-dr .cf-h small{display:flex;align-items:center;gap:6px;margin-top:3px}
.fl-dr .cf-h b{font-size:16px;line-height:1.4}
.fl-prev{height:150px;border-radius:12px;background:color-mix(in srgb,var(--x) 9%,#fff);color:var(--x);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:700}
.fl-prev>svg{width:40px;height:40px}.fl-prev>div{display:flex;gap:6px}
.fl-need{display:flex;align-items:center;gap:10px;background:var(--amber-soft);color:#7a5413;border-radius:12px;padding:12px 14px}.fl-need>svg{width:20px;height:20px;flex:none}.fl-need>div{flex:1}.fl-need b{display:block;font-size:13.5px}.fl-need small{font-size:12.5px}
.fl-sec{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.fl-sec h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 2px;font-size:13.5px;color:var(--ink)}
.fl-ed{display:inline-flex;align-items:center;gap:4px;font:inherit;font-size:12.5px;font-weight:600;color:var(--blue)}.fl-ed svg{width:13px;height:13px}
.fl-kv{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:10px;font-size:13px}.fl-kv.top{align-items:start}
.fl-kv>span{color:var(--muted);font-size:12.5px}
.fl-kv select,.fl-kv textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:6px 8px;font:inherit;font-size:13px;background:#fff}
.fl-kv select{height:36px}.fl-kv small{display:flex;align-items:center;gap:5px;color:var(--muted)}.fl-kv small svg{width:13px;height:13px}
.fl-tks{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.fl-add{display:inline-flex;align-items:center;gap:3px;font:inherit;font-size:12px;font-weight:600;color:var(--blue);border:1px dashed #b9c8e3;border-radius:6px;padding:1px 8px}.fl-add svg{width:12px;height:12px}
.fl-who{display:flex;align-items:center;gap:8px;font-size:13px;flex-wrap:wrap}.fl-who>svg{width:16px;height:16px;color:var(--navy)}
.fl-who.lk{background:var(--green-soft);border-radius:9px;padding:8px 10px}.fl-who.lk>svg{color:var(--green-d)}.fl-who.lk small{flex:1;color:var(--muted)}
.fl-avs{display:flex}.fl-avs .kb-av{width:26px;height:26px;font-size:10.5px;margin-inline-start:-6px}
.fl-mut{font-size:12.5px;color:var(--muted)}
.fl-snt{display:flex;align-items:center;gap:10px}.fl-snt .kb-av{width:30px;height:30px}.fl-snt>div{flex:1}.fl-snt b{display:block;font-size:13px}.fl-snt small{font-size:11.5px;color:var(--muted)}
.fl-st{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;border-radius:999px;padding:3px 9px;white-space:nowrap}.fl-st svg{width:13px;height:13px}
.fl-st.g{background:var(--green-soft);color:var(--green-d)}.fl-st.b{background:var(--blue-soft);color:var(--blue)}.fl-st.a{background:var(--amber-soft);color:#8a5a12}
.fl-ver{display:flex;align-items:center;gap:10px;font-size:13px}.fl-ver>span{width:30px;height:30px;border-radius:8px;background:var(--bg);display:grid;place-items:center;font-size:11.5px;font-weight:800;color:var(--muted)}
.fl-ver.cur>span{background:var(--navy);color:#fff}.fl-ver>div{flex:1}.fl-ver b{display:block;font-size:13px}.fl-ver small{font-size:11.5px;color:var(--muted)}
.fl-act{display:flex;align-items:center;gap:8px;font-size:12.5px}.fl-act i{width:6px;height:6px;border-radius:50%;background:#c3ccd9;flex:none}.fl-act span{flex:1}.fl-act small{color:var(--muted);font-size:11.5px;white-space:nowrap}
.fl-del:hover{color:var(--red)}
/* dialogs */
.fd-ov{align-items:center;z-index:1100}
.fd{width:min(560px,100%);background:#fff;border-radius:16px;box-shadow:0 30px 80px -20px rgba(13,22,38,.5);display:flex;flex-direction:column;max-height:92vh}
.fd-h{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.fd-h>span{width:38px;height:38px;border-radius:10px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center}.fd-h>span svg{width:18px;height:18px}
.fd-h>div{flex:1;min-width:0}.fd-h b{display:block;font-size:16px}.fd-h small{display:block;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-b{padding:16px 20px;display:flex;flex-direction:column;gap:10px;overflow:auto}
.fd-f{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--line);background:var(--bg);border-radius:0 0 16px 16px}
.fd-l{font-size:13px;font-weight:700;color:var(--ink)}.fd-l small{font-weight:400;color:var(--muted)}
.fd-ppl{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fd-ppl.sm{display:flex;flex-wrap:wrap}
.fd-ppl button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:6px 8px;font:inherit;font-size:13px;text-align:start}
.fd-ppl button span{flex:1}.fd-ppl button>svg{width:15px;height:15px;color:var(--navy)}.fd-ppl .kb-av{width:26px;height:26px;font-size:10.5px}
.fd-ppl button.on{border-color:var(--navy);background:var(--navy-soft)}
.fd-b textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:inherit;font-size:13.5px;resize:vertical}
.fd-tg{display:flex;align-items:flex-start;gap:10px;font:inherit;text-align:start;padding:6px 2px}.fd-tg>svg{width:18px;height:18px;color:var(--navy);flex:none;margin-top:2px}
.fd-tg b{display:block;font-size:13.5px}.fd-tg small{font-size:12px;color:var(--muted)}.fd-tg.in{padding:0;align-items:center}.fd-tg.in>svg{margin:0}
.fd-sum,.fd-warn{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;border-radius:10px;padding:10px 12px;line-height:1.6}.fd-sum{background:var(--bg);color:var(--body)}.fd-warn{background:var(--amber-soft);color:#7a5413}
.fd-sum svg,.fd-warn svg{width:15px;height:15px;flex:none;margin-top:3px}
.fd-rad{display:flex;gap:6px;flex-wrap:wrap}
.fd-rad button{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:13px}.fd-rad button svg{width:15px;height:15px;color:var(--muted)}
.fd-rad button.on{border-color:var(--navy);background:var(--navy);color:#fff}.fd-rad button.on svg{color:#fff}
.fd-row{display:flex;align-items:center;gap:16px;font-size:13px}.fd-row label{display:flex;align-items:center;gap:8px}
.fd-row select,.fd-2 select{height:38px;border:1px solid var(--line);border-radius:9px;padding:0 8px;font:inherit;font-size:13px;background:#fff;width:100%}
.fd-link{display:flex;align-items:center;gap:8px;background:var(--bg);border-radius:10px;padding:6px 6px 6px 12px;font-size:12px;color:var(--muted);overflow:hidden}.fd-link span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fd-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fd-2 label{display:flex;flex-direction:column;gap:5px}
.fd-ts{height:38px}
.fd-tl{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden;max-height:260px;overflow-y:auto}
.fd-tl button{display:flex;align-items:center;gap:8px;padding:9px 12px;font:inherit;font-size:13px;text-align:start}.fd-tl button+button{border-top:1px solid #f0f2f6}
.fd-tl button svg{width:16px;height:16px;color:var(--muted);flex:none}.fd-tl button.on{background:var(--navy-soft)}.fd-tl button.on svg{color:var(--navy)}
.fd-tl b{color:var(--navy);font-size:12px;flex:none}.fd-tl span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-drop{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px dashed #c9d3e3;border-radius:12px;padding:22px;cursor:pointer;color:var(--muted);text-align:center;position:relative}
.fd-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.fd-drop>svg{width:28px;height:28px;color:var(--navy)}.fd-drop b{color:var(--ink);font-size:14px}.fd-drop small{font-size:12px}
.fd-drop:hover,.fd-drop.over{border-color:var(--navy);background:var(--navy-soft)}
.fd-fl{display:flex;flex-direction:column;gap:4px}.fd-fl>div{display:flex;align-items:center;gap:8px;background:var(--bg);border-radius:8px;padding:6px 10px;font-size:13px}.fd-fl b{flex:1;font-weight:600}.fd-fl svg{width:14px;height:14px}.fd-fl small{color:var(--muted)}
@media (max-width:1100px){.fl-wrap{grid-template-columns:1fr}.fl-nav{position:static}.fl-tbl{overflow-x:auto}}
.fl-bar select{width:auto;flex:none;max-width:170px}
.fl-bar .fl-q{flex:1 1 260px;width:auto}
.fl-tbl{overflow-x:auto;max-width:100%}
.fl-tbl table{min-width:760px}
.fl-n{min-width:0}
.fl-tbl td:nth-child(2){min-width:240px}
.fl-tbl td:nth-child(4){max-width:150px;white-space:normal}
.fl-tbl td:nth-child(4) .fl-t{margin-bottom:3px}
.fl-wrap{grid-template-columns:230px minmax(0,1fr)}
.fl-n small .num{color:var(--muted)}
.fd-ppl .kb-av,.fl-snt .kb-av,.fl-by .kb-av,.fl-avs .kb-av,.fl-tf .kb-av{flex:none!important}
.fl-kv>*{min-width:0}.fl-kv textarea,.fl-kv select{box-sizing:border-box;max-width:100%;width:100%}.fl-kv textarea{min-height:64px;height:auto;resize:vertical}.fl-kv select{height:36px;min-height:0}

/* v1.29 — finance reports on the runner */
.rp-charts.one{grid-template-columns:1fr}
.rp-cols.mm .rp-col{gap:3px}
.rp-stk{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px;min-height:0}
.rp-stk i{display:block;width:100%;max-width:18px;border-radius:3px 3px 0 0;min-height:0}
.rp-stk.st{flex-direction:column-reverse;align-items:center;justify-content:flex-start}
.rp-stk.st i{max-width:30px;border-radius:0}.rp-stk.st i:last-child{border-radius:3px 3px 0 0}
.rp-fin td,.rp-fin th{white-space:nowrap}
.rp-fin th.c{text-align:center;border-bottom:1px solid var(--line-2)}
.rp-fin .num.r{color:var(--red)}
.rp-fin small.g{color:var(--green-d)}.rp-fin small.r{color:var(--red)}
.rp-ob td{background:var(--bg)}
.rp-more{border:0;background:none;font:inherit;font-size:12.5px;color:var(--navy);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.rp-more svg{width:14px;height:14px}
.rp-is .rp-is-h td{background:var(--navy-soft);color:var(--navy);font-weight:700;font-size:13.5px}
.rp-is .rp-is-g td{background:var(--bg)}
.rp-is .rp-is-t td{font-weight:700;border-top:2px solid var(--line)}
.rp-is .rp-is-n td{font-weight:800;font-size:15px;background:#eef6e6;color:#2f6a12;border-top:2px solid var(--green)}
.rp-is .rp-is-n.neg td{background:#fbeaea;color:var(--red);border-top-color:var(--red)}
.rp-is .rp-is-n td .num{color:inherit}
.rp-tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.rp-trc{padding:16px;text-align:start;font:inherit;border:1px solid var(--line);cursor:pointer;display:flex;flex-direction:column;gap:8px}
.rp-trc:hover{border-color:var(--navy)}
.rp-trc small{font-size:13px;color:var(--muted)}
.rp-trc>b{font-size:26px;color:var(--ink)}.rp-trc>b em{font-style:normal;font-size:13px;color:var(--muted);font-weight:500}
.rp-trl{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.rp-trl i{font-style:normal;font-weight:600;color:var(--ink)}
.rp-trl .g i{color:var(--green-d)}.rp-trl .r i{color:var(--red)}
.rp-note{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:0 2px 14px}.rp-note svg{width:15px;height:15px}
@media (max-width:900px){.rp-tr{grid-template-columns:1fr}}
.rp-col.ctx{opacity:.45}.rp-col.ctx:hover{opacity:1}

/* v1.30 owner glimpse — operations first, then finance */
.dv-gl{margin-bottom:22px}
.dv-gg{padding:14px 16px 16px}
.dv-gg.fin{border-top:1px dashed var(--line);background:linear-gradient(var(--bg),var(--surface) 70%)}
.dv-glh{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.dv-glh b{font-size:14px;color:var(--navy)}.dv-glh small{font-size:12px;color:var(--muted)}
.dv-gn{align-self:center;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--navy);color:#fff;font-size:11px;font-weight:700}
.dv-gg.fin .dv-gn{background:var(--green-d)}
.dv-gts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dv-gt{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line-2);border-radius:var(--r-s);color:inherit;text-decoration:none;background:var(--surface);transition:border-color .15s,box-shadow .15s}
.dv-gt:hover{border-color:var(--navy);box-shadow:var(--shadow)}
.dv-gh{display:flex;align-items:center;gap:8px;min-width:0}
.dv-gh .ni{width:26px;height:26px;flex:none}.dv-gh .ni svg{width:14px;height:14px}
.dv-gh b{font-size:12.5px;color:var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-gv b{display:block;font-size:20px;font-weight:800;color:var(--navy);line-height:1.1}
.dv-gv small{display:block;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-gt .tag{align-self:flex-start}
.dv-gf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 18px;align-items:center;background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-s);padding:10px 4px;color:inherit;text-decoration:none}
.dv-gf:hover{border-color:var(--green-d)}
.dv-gf>div{text-align:center;padding-inline:6px;border-inline-start:1px solid var(--line)}.dv-gf>div:first-child{border:0}
.dv-gf b{display:block;font-size:16px;font-weight:800;color:var(--navy)}.dv-gf b.r{color:var(--red)}.dv-gf b.g{color:var(--green-d)}
.dv-gf small{display:block;font-size:11px;color:var(--muted)}
.dv-gc svg{width:16px;height:16px;color:var(--muted-2)}
@media (max-width:1100px){.dv-gts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.dv-gts{grid-template-columns:1fr}.dv-gf{grid-template-columns:repeat(2,minmax(0,1fr))}.dv-gf>div{padding:6px}.dv-gc{display:none}}

/* ===== v1.31 — لوحة المالية (finDash = نظام الاستقدام · finDashGen = نظام عام) ===== */
.fd-mode{display:flex;align-items:center;gap:4px;margin:-6px 0 16px;flex-wrap:wrap}
.fd-mode>span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);margin-inline-end:8px}
.fd-mode>span svg{width:15px;height:15px}
.fd-mode a{padding:6px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--body);font-size:13px;font-weight:600;text-decoration:none}
.fd-mode a:hover{border-color:var(--navy)}
.fd-mode a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.fd-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.fd-kpi{padding:16px 18px;display:flex;flex-direction:column;gap:6px;border-top:3px solid var(--navy);cursor:pointer;transition:box-shadow .15s,transform .15s}
.fd-kpi:hover,.fd-kpi:focus-visible{transform:translateY(-1px);box-shadow:0 10px 24px -14px rgba(16,26,46,.35);outline:0}
.fd-kpi.g{border-top-color:var(--green)}.fd-kpi.r{border-top-color:var(--red)}.fd-kpi.a{border-top-color:var(--amber)}
.fd-kl{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:600}
.fd-kl svg{width:17px;height:17px;color:var(--navy);flex:none}
.fd-kl em{margin-inline-start:auto;font-style:normal;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--bg)}
.fd-kl em.g{color:var(--green-d);background:var(--green-soft)}.fd-kl em.r{color:var(--red);background:var(--red-soft)}
.fd-kv{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.fd-kv b{font-size:26px;font-weight:800;color:var(--ink);line-height:1.2}
.fd-kpi.g .fd-kv b{color:var(--green-d)}
.fd-kv .cur{font-size:13px;color:var(--muted);font-weight:600}
.fd-kpi>small{font-size:12.5px;color:var(--muted)}
.fd-sh{display:flex;align-items:center;gap:12px;margin:8px 0 14px}
.fd-sh h2{font-size:18px;margin:0;color:var(--ink)}
.fd-sh p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.fd-sh>.btn{margin-inline-start:auto}
.fd-shn{width:30px;height:30px;border-radius:9px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;flex:none}
.fd-g2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:16px}
.fd-g2.wide{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.fd-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.fd-g2>div,.fd-g3>div{min-width:0}
.fd-g2>div>.fd-c,.fd-g3>div>.fd-c{height:100%}
.fd-c{display:flex;flex-direction:column;margin:0}
.fd-c .card-h .btn svg{width:14px;height:14px}
/* flow */
.fd-flow{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;padding:18px;margin-bottom:16px}
.fd-flow>div:not(.fd-rate){flex:1 1 180px;background:var(--bg);border-radius:var(--r-s);padding:12px 14px;border-inline-start:3px solid var(--navy)}
.fd-flow>div.g{border-inline-start-color:var(--green)}.fd-flow>div.r{border-inline-start-color:var(--red)}.fd-flow>div.a{border-inline-start-color:var(--amber)}
.fd-flow small{display:block;font-size:12.5px;color:var(--muted);font-weight:600}
.fd-flow b{display:block;font-size:22px;font-weight:800;color:var(--navy);margin:2px 0}
.fd-flow>div.g b{color:var(--green-d)}.fd-flow>div.r b{color:var(--red)}
.fd-flow span{font-size:12px;color:var(--muted)}
.fd-flow>i{align-self:center;color:var(--muted-2);display:flex}
.fd-flow>i svg{width:16px;height:16px}
.fd-rate{flex:1 1 100%;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);font-weight:600}
.fd-rate .fd-track{flex:1;height:8px}
.fd-rate b{color:var(--green-d);font-size:14px}
.fd-track{display:block;height:6px;border-radius:999px;background:var(--line-2);overflow:hidden}
.fd-track i{display:block;height:100%;border-radius:999px;background:var(--navy)}
.fd-rate .fd-track i{background:var(--green)}
/* bars */
.fd-bars{display:flex;align-items:flex-end;gap:6px;height:210px;padding:12px 20px 0;direction:ltr;flex-direction:row-reverse}
.fd-bars.sm{height:170px;gap:4px}
.fd-bc{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;min-width:0;border-radius:8px;padding:4px 2px 0}
.fd-bc:hover{background:var(--bg)}
.fd-bc.now{background:var(--navy-soft);box-shadow:inset 0 0 0 1.5px var(--navy)}
.fd-bc.off small{opacity:.5}
.fd-bp{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;border-bottom:1px solid var(--line)}
.fd-bp i{display:block;width:38%;max-width:16px;border-radius:4px 4px 0 0}
.fd-bp i.in{background:var(--navy)}
.fd-bp i.out{background:#c3cddd}
.fd-bc small{font-size:11.5px;color:var(--muted);padding-bottom:4px}
.fd-leg{display:flex;flex-wrap:wrap;gap:16px;padding:10px 20px 0;font-size:12.5px;color:var(--muted)}
.fd-leg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:6px;vertical-align:-1px}
.fd-leg i.in{background:var(--navy)}.fd-leg i.out{background:#c3cddd}
.fd-leg-n{margin-inline-start:auto;color:var(--muted-2)}
.fd-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 20px 18px;margin-top:auto}
.fd-mini.two{grid-template-columns:1fr 1fr}
.fd-mini>div{background:var(--bg);border-radius:var(--r-s);padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.fd-mini small{font-size:12px;color:var(--muted)}
.fd-mini b{font-size:17px;font-weight:800;color:var(--ink)}
.fd-mini em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--muted)}
.fd-mini em.g{color:var(--green-d)}.fd-mini em.a{color:var(--amber)}
/* stacked sales by activity */
.fd-stk{display:flex;align-items:flex-end;gap:6px;height:190px;padding:12px 20px 0;direction:ltr;flex-direction:row-reverse}
.fd-sc{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;min-width:0;border-radius:8px;padding:4px 2px 0}
.fd-sc:hover{background:var(--bg)}
.fd-sc.now{background:var(--navy-soft);box-shadow:inset 0 0 0 1.5px var(--navy)}
.fd-sp{flex:1;width:60%;max-width:26px;display:flex;flex-direction:column-reverse;gap:1px;border-bottom:1px solid var(--line)}
.fd-sp i{display:block;width:100%}
.fd-sp i:last-child{border-radius:4px 4px 0 0}
.fd-sc small{font-size:11.5px;color:var(--muted);padding-bottom:4px}
.fd-acts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 20px 18px;margin-top:auto}
.fd-acts>div{display:grid;grid-template-columns:10px 1fr;column-gap:6px;align-items:center;background:var(--bg);border-radius:var(--r-s);padding:8px 10px}
.fd-acts i{width:10px;height:10px;border-radius:3px;grid-row:span 3}
.fd-acts span{font-size:12px;color:var(--muted);font-weight:600}
.fd-acts b{font-size:15px;font-weight:800;color:var(--ink)}
.fd-acts small{font-size:11.5px;color:var(--muted-2)}
/* receivables by activity */
.fd-recv{padding:6px 20px 18px;display:flex;flex-direction:column;gap:10px}
.fd-rv{padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-s);cursor:pointer}
.fd-rv:hover,.fd-rv:focus-visible{border-color:var(--navy);outline:0}
.fd-rvh{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.fd-rvh>div{min-width:0}
.fd-rvh b{font-size:14px;color:var(--ink)}
.fd-rvh>b{font-size:17px;font-weight:800;white-space:nowrap}
.fd-rvh>b.g{color:var(--green-d)}.fd-rvh>b.r{color:var(--red)}
.fd-rvh small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.fd-age{display:flex;gap:2px;height:8px;border-radius:999px;overflow:hidden;margin-top:10px}
.fd-age i,.fd-agel i{display:block;background:#9fd36f}
.fd-age i.a1,.fd-agel i.a1{background:#e3b25e}.fd-age i.a2,.fd-agel i.a2{background:#e07a5f}.fd-age i.a3,.fd-agel i.a3{background:var(--red)}
.fd-agel{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--muted);padding-top:2px}
.fd-agel i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:5px;vertical-align:-1px}
.fd-agel b{color:var(--ink);margin-inline-start:3px}
/* key/value + pipes */
.fd-pipe{display:flex;align-items:stretch;gap:6px;padding:6px 20px 4px}
.fd-pipe>div{flex:1;min-width:0;background:var(--bg);border-radius:var(--r-s);padding:10px 12px}
.fd-pipe small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.fd-pipe b{display:block;font-size:17px;font-weight:800;color:var(--ink);margin-top:2px}
.fd-pipe>div.g b{color:var(--green-d)}.fd-pipe>div.a b{color:var(--amber)}.fd-pipe>div.r b{color:var(--red)}
.fd-pipe>i.op{align-self:center;font-style:normal;font-weight:800;color:var(--muted-2);display:flex}
.fd-pipe>i.op svg{width:15px;height:15px}
.fd-kvs{padding:8px 20px;display:flex;flex-direction:column}
.fd-kvs>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.fd-kvs>div:last-child{border-bottom:0}
.fd-kvs span{color:var(--muted)}
.fd-kvs b{color:var(--ink);font-weight:700}
.fd-kvs.big>div{padding:11px 0}
.fd-kvs.big span{color:var(--body);font-weight:600}
.fd-kvs.big span small{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.fd-kvs.big b{font-size:16px;font-weight:800}
.fd-warn{display:flex;gap:10px;align-items:flex-start;margin:auto 20px 18px;padding:10px 12px;border-radius:var(--r-s);font-size:12.5px;line-height:1.7;background:var(--bg);color:var(--body)}
.fd-warn svg{width:16px;height:16px;flex:none;margin-top:3px}
.fd-warn.r{background:var(--red-soft)}.fd-warn.r svg{color:var(--red)}
.fd-warn.a{background:var(--amber-soft)}.fd-warn.a svg{color:var(--amber)}
.fd-warn.n svg{color:var(--navy)}
.fd-due{display:flex;align-items:center;gap:8px;margin:10px 20px 12px;font-size:13px;color:var(--body)}
.fd-due svg{width:16px;height:16px;color:var(--navy)}
/* lists */
.fd-list{padding:4px 20px 16px;display:flex;flex-direction:column}
.fd-li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:6px;padding:10px 0;border-bottom:1px solid var(--line-2)}
.fd-li:last-child{border-bottom:0}
.fd-li[data-rkey]{cursor:pointer}
.fd-li[data-rkey]:hover .fd-lt b,.fd-li[data-rkey]:focus-visible .fd-lt b{color:var(--navy);text-decoration:underline;outline:0}
.fd-lt{min-width:0}
.fd-lt b{display:block;font-size:13.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-lt small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-li>b{font-size:14px;font-weight:800;color:var(--ink);align-self:center}
.fd-li>b.r{color:var(--red)}
.fd-li .fd-track{grid-column:1/-1;height:5px}
/* offices */
.fd-offs{padding:4px 20px 6px}
.fd-off{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line-2);cursor:pointer}
.fd-off:last-child{border-bottom:0}
.fd-off>div{flex:1;min-width:0}
.fd-off>div b{display:block;font-size:13.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-off>div small{font-size:11.5px;color:var(--muted)}
.fd-off:hover>div b{color:var(--navy);text-decoration:underline}
.fd-off>b{font-size:14px;font-weight:800}
.fd-off>b.a{color:var(--amber)}
.fd-pre{text-align:end}.fd-pre b{display:block;font-size:14px;color:var(--green-d)}.fd-pre small{font-size:11px;color:var(--muted)}
.fd-tot{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:4px 20px 12px;padding:10px 12px;background:var(--navy-soft);border-radius:var(--r-s);font-size:13px}
.fd-tot b{font-size:16px;color:var(--navy)}
.fd-tot .sub{flex-basis:100%;font-size:12px;color:var(--muted)}
.fd-tot .sub b{font-size:12px;color:var(--ink)}
/* cash in/out */
.fd-io{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:6px 20px 18px}
.fd-io>div{background:var(--bg);border-radius:var(--r-s);padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.fd-io svg{width:16px;height:16px}
.fd-io .g svg{color:var(--green-d)}.fd-io .a svg{color:var(--amber)}
.fd-io small{font-size:12px;color:var(--muted)}
.fd-io b{font-size:18px;font-weight:800;color:var(--ink)}
/* cheques */
.fd-chk{display:flex;flex-direction:column;gap:8px;padding:6px 20px 18px}
.fd-chk a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--r-s);background:var(--bg);text-decoration:none;color:var(--ink)}
.fd-chk a:hover{background:var(--navy-soft)}
.fd-chk a>svg{width:18px;height:18px;flex:none}
.fd-chk a.g>svg{color:var(--green-d)}.fd-chk a.a>svg{color:var(--amber)}.fd-chk a.r>svg{color:var(--red)}
.fd-chk span{flex:1}.fd-chk span b{display:block;font-size:13.5px}.fd-chk span small{font-size:12px;color:var(--muted)}
.fd-chk a>b{font-size:16px;font-weight:800}
/* expected vs actual */
.fd-exp{padding:6px 20px 18px;display:flex;flex-direction:column;gap:16px}
.fd-exp>div>small{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.fd-vs{margin-top:10px}.fd-vs .fd-track{height:8px}.fd-vs .fd-track i{background:var(--green)}.fd-vs .fd-track i.out{background:var(--red)}
.fd-flash{animation:fdflash 1.4s ease}
@keyframes fdflash{0%,60%{box-shadow:0 0 0 3px rgba(122,182,72,.55);border-radius:var(--r)}100%{box-shadow:none}}
@media (max-width:1180px){.fd-kpis{grid-template-columns:1fr 1fr}.fd-g3{grid-template-columns:1fr 1fr}.fd-g2,.fd-g2.wide{grid-template-columns:1fr}}
@media (max-width:720px){.fd-kpis,.fd-g3{grid-template-columns:1fr}.fd-mini,.fd-acts{grid-template-columns:1fr 1fr}.fd-flow>i{display:none}.fd-sh{flex-wrap:wrap}}

/* v1.31.1 — finance hero: one figure, the reason, three indicators */
.fd-hero{display:flex;flex-direction:column;gap:10px}
.fd-hv{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
.fd-hv>b{font-size:38px;font-weight:800;color:#9fd36f;line-height:1.1}
.fd-hv>span{font-size:15px;font-weight:600;color:rgba(255,255,255,.85)}
.fd-hv>em{font-style:normal;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff}
.fd-hv>em.g{color:#b7e08f;background:rgba(122,182,72,.18)}
.fd-hero>p{margin:0;font-size:14px;line-height:1.8;color:rgba(255,255,255,.8)}
.fd-hm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px}
.fd-hm>div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.fd-hm>div[data-rkey]{cursor:pointer}
.fd-hm>div[data-rkey]:hover,.fd-hm>div[data-rkey]:focus-visible{background:rgba(255,255,255,.13);outline:0}
.fd-hm small{font-size:12px;color:rgba(255,255,255,.65);display:flex;align-items:center;gap:6px}
.fd-hm small .tag{font-size:10.5px;padding:1px 6px}
.fd-hm b{font-size:18px;font-weight:800;color:#fff}
.fd-hm>div>span{font-size:11.5px;color:rgba(255,255,255,.6);line-height:1.5}
@media (max-width:720px){.fd-hm{grid-template-columns:1fr}}
/* ===== v1.33 — chart of accounts: tree grid + account card ===== */
.coa-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.coa-tabs button{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);text-align:start;cursor:pointer;font:inherit;color:var(--body);transition:border-color .12s,box-shadow .12s;min-width:0}
.coa-tabs button:hover{border-color:#c7cfdd}
.coa-tabs button.on{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.coa-tabs .ct-i{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.coa-tabs .ct-i svg{width:16px;height:16px}
.coa-tabs .t-revenue .ct-i{background:var(--green-soft);color:var(--green-d)}
.coa-tabs .t-expenses .ct-i{background:var(--red-soft);color:var(--red)}
.coa-tabs .ct-b{display:flex;flex-direction:column;gap:2px;min-width:0}
.coa-tabs .ct-b b{font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coa-tabs .ct-b small{font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}
.coa-tabs .ct-b small .num{color:var(--ink);font-weight:700}
.coa-side{font-size:11px;font-weight:700;border-radius:6px;padding:1px 7px;line-height:18px;display:inline-block}
.coa-side.debtor{background:var(--red-soft);color:var(--red)}
.coa-side.creditor{background:#e7effb;color:#1d4ed8}
.coa-tools{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.coa-q{flex:1;min-width:240px;position:relative}
.coa-hits{font-size:11.5px;color:var(--muted);white-space:nowrap}
.coa-hits .num{font-weight:700;color:var(--ink)}
.coa-x{border:0;background:none;color:var(--muted-2);cursor:pointer;display:grid;place-items:center;padding:2px}
.coa-x svg{width:15px;height:15px}
.coa-lv{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:3px 3px 3px 3px}
.coa-lv span{padding-inline:8px 4px;white-space:nowrap}
.coa-lv button{width:30px;height:28px;border:0;border-radius:7px;background:none;font:inherit;font-weight:700;color:var(--body);cursor:pointer}
.coa-lv button:hover{background:var(--surface)}
.coa-lv button.on{background:var(--navy);color:#fff}
.coa-br{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:0 10px;height:36px;color:var(--muted)}
.coa-br svg{width:15px;height:15px}
.coa-br select{border:0;background:none;font:inherit;font-size:13px;color:var(--ink);height:34px;padding:0;outline:none;box-shadow:none;min-width:120px}
.coa-split{overflow-x:auto}
.coa-grid{min-width:520px}
.coa-r{display:grid;grid-template-columns:minmax(260px,1fr) 190px 72px;align-items:center;min-height:38px;border-bottom:1px solid var(--line-2);outline:none}
.coa-c{padding:0 10px;min-width:0}
.coa-c.money{text-align:end;font-size:12.5px;font-variant-numeric:tabular-nums;color:var(--body)}
.coa-c.money .num{font-variant-numeric:tabular-nums}
.coa-c.bal{font-weight:700;color:var(--ink)}
.coa-c.bal.neg{color:var(--red)}
.coa-c .dash{color:#b8c0cc}
.coa-c.nat{text-align:center}
.coa-c.acts{display:flex;justify-content:flex-end;gap:2px;opacity:0;transition:opacity .12s}
.coa-c.acts .icon-btn{width:26px;height:26px}
.coa-c.acts .icon-btn svg{width:14px;height:14px}
.coa-r.head{min-height:36px;background:#f7f9fc;border-bottom:1px solid var(--line);font-size:11.5px;font-weight:700;color:var(--muted);position:sticky;top:0;z-index:2}
.coa-r.head .coa-c.name{padding-inline-start:16px}
.coa-body .coa-r{cursor:pointer}
.coa-body .coa-r:hover{background:#f7faff}
.coa-body .coa-r:hover .acts,.coa-body .coa-r.sel .acts,.coa-body .coa-r:focus-within .acts{opacity:1}
.coa-body .coa-r.sel{background:#eef4ff;box-shadow:inset -3px 0 0 var(--navy)}
body[dir="ltr"] .coa-body .coa-r.sel{box-shadow:inset 3px 0 0 var(--navy)}
.coa-body .coa-r:focus-visible{box-shadow:inset 0 0 0 2px var(--navy)}
.coa-c.name{display:flex;align-items:center;gap:6px;padding-inline-start:12px;height:100%;align-self:stretch}
.coa-r .ig{width:18px;flex:none;align-self:stretch;position:relative}
.coa-r .ig.on::before,.coa-r .ig.elbow::before{content:"";position:absolute;inset-block:0;inset-inline-start:11px;border-inline-start:1px solid #d5dbe6}
.coa-r .ig.elbow.last::before{bottom:50%}
.coa-r .ig.elbow::after{content:"";position:absolute;top:50%;inset-inline-start:11px;width:13px;border-top:1px solid #d5dbe6}
.coa-tog{width:22px;height:22px;flex:none;border:0;background:none;border-radius:6px;display:grid;place-items:center;color:var(--muted);cursor:pointer;padding:0}
.coa-tog:hover{background:var(--line-2);color:var(--ink)}
.coa-tog svg{width:15px;height:15px}
.coa-tog.none{cursor:default}
.coa-ic{color:#8a97ab;display:grid;place-items:center;flex:none}
.coa-ic svg{width:15px;height:15px}
.coa-r.parent .coa-ic{color:var(--amber)}
.coa-ri{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;flex:none;background:var(--navy);color:#fff}
.coa-ri svg{width:13px;height:13px}
.coa-code{border:0;background:none;padding:1px 4px;border-radius:5px;font:inherit;font-size:12px;font-weight:700;color:#315a63;cursor:pointer;flex:none;border-bottom:1px dashed #9db3b8;border-radius:0}
.coa-code:hover{color:#1f434a;border-bottom-color:#1f434a}
.coa-nm{font-size:13px;color:var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coa-r.parent .coa-nm{font-weight:700;color:var(--ink)}
.coa-r.parent .coa-c.money{font-weight:600}
.coa-c.money.bal{font-weight:700;color:var(--ink)}
.coa-r.parent .coa-c.money.bal{font-weight:800}
.coa-lk{color:var(--muted-2);display:grid;place-items:center;flex:none}
.coa-lk svg{width:13px;height:13px}
.coa-r.root{background:#f4f7fc;min-height:44px;border-bottom-color:var(--line)}
.coa-r.root .coa-nm{font-size:14px}
.coa-r.root .coa-c.money{color:var(--ink)}
.coa-r.root.sel{background:#e8effc}
.coa-r.zero .coa-nm{color:var(--muted)}
.coa-r mark{background:#fff1b8;color:inherit;border-radius:3px;padding:0 1px}
.coa-r.foot{background:#f7f9fc;border-top:1px solid var(--line);border-bottom:0;min-height:44px;font-weight:800}
.coa-r.foot .coa-c.money{color:var(--ink);font-weight:800}
.coa-ok,.coa-bad{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--green-d)}
.coa-bad{color:var(--red)}
.coa-ok svg,.coa-bad svg{width:15px;height:15px}
.coa-keys{display:flex;align-items:center;gap:14px;padding:9px 16px;font-size:11.5px;color:var(--muted);border-top:1px solid var(--line-2)}
.coa-keys kbd{font:inherit;font-size:10.5px;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:0 5px;background:#fff;margin-inline-end:2px}
.coa-keys .tag{margin-inline-start:auto}
.coa-card{padding:18px;display:flex;flex-direction:column;gap:14px}
.coa-card.empty{align-items:center;text-align:center;color:var(--muted);padding:48px 20px}
.coa-card.empty svg{width:28px;height:28px}
.cc-path{display:flex;align-items:center;flex-wrap:wrap;gap:3px;font-size:11.5px;color:var(--muted)}
.cc-path button{border:0;background:none;font:inherit;color:var(--muted);cursor:pointer;padding:1px 3px;border-radius:5px}
.cc-path button:hover{background:var(--line-2);color:var(--ink)}
.cc-path svg{width:12px;height:12px;color:var(--muted-2)}
.cc-path>span{margin-inline-start:auto;background:var(--bg);border-radius:6px;padding:1px 7px}
.cc-h{display:flex;align-items:center;gap:11px}
.cc-h small{font-size:12px;color:var(--muted);font-weight:700}
.cc-h h3{margin:0;font-size:17px;color:var(--ink);line-height:1.35}
.cc-ic{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex:none;background:var(--red-soft);color:var(--red)}
.cc-ic.creditor{background:#e7effb;color:#1d4ed8}
.cc-ic svg{width:19px;height:19px}
.cc-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cc-tags .tag{font-size:11px}
.cc-bal{display:flex;flex-direction:column;gap:2px;background:var(--bg);border-radius:var(--r);padding:12px 14px}
.cc-bal small{font-size:11.5px;color:var(--muted)}
.cc-bal b{font-size:24px;color:var(--ink);letter-spacing:-.3px;line-height:1.3}
.cc-bal b .num{font-size:inherit;font-weight:800}
.cc-bal span{font-size:11.5px;color:var(--muted)}
.cc-bar{display:flex;height:7px;border-radius:99px;overflow:hidden;background:var(--line-2)}
.cc-bar i{display:block;height:100%}
.cc-bar i.dr,.cc-dcl i.dr{background:#e58a84}
.cc-bar i.cr,.cc-dcl i.cr{background:#7ea2e6}
.cc-dcl{display:flex;justify-content:space-between;gap:8px;margin-top:7px;font-size:11.5px;color:var(--muted)}
.cc-dcl span{display:flex;align-items:center;gap:5px}
.cc-dcl i{width:8px;height:8px;border-radius:2px;display:inline-block}
.cc-dcl .num{color:var(--ink);font-weight:700}
.cc-sec h4{margin:0 0 6px;font-size:12.5px;color:var(--ink);display:flex;justify-content:space-between}
.cc-sec h4 small{font-weight:500;color:var(--muted)}
.cc-kid{display:grid;grid-template-columns:auto minmax(0,1fr) 54px auto;align-items:center;gap:8px;width:100%;border:0;background:none;font:inherit;font-size:12px;padding:6px 4px;border-radius:7px;cursor:pointer;text-align:start;color:var(--body)}
.cc-kid:hover{background:var(--bg)}
.cc-kid>.num:first-child{color:var(--muted);font-size:11px}
.cc-kid .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-kid .tr{height:4px;border-radius:99px;background:var(--line-2);overflow:hidden}
.cc-kid .tr i{display:block;height:100%;background:var(--navy);border-radius:99px}
.cc-kid>.num:last-child{font-weight:700;color:var(--ink)}
.cc-mv{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 0;border-bottom:1px dashed var(--line-2);font-size:12px}
.cc-mv:last-child{border-bottom:0}
.cc-mv .d{color:var(--muted);font-size:11px}
.cc-mv .ds{display:flex;flex-direction:column;min-width:0}
.cc-mv .ds b{font-weight:600;color:var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-mv .ds small{color:var(--muted-2);font-size:10.5px}
.cc-mv .am{text-align:end;font-weight:700;white-space:nowrap;line-height:1.3}
.cc-mv .am small{display:block}
.cc-mv .am small{font-weight:500;font-size:10.5px;color:var(--muted)}
.cc-mv .am.dr{color:var(--red)}
.cc-mv .am.cr{color:#1d4ed8}
.cc-none{margin:0;font-size:12px;color:var(--muted)}
.cc-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;border-top:1px solid var(--line-2);padding-top:12px}
.cc-meta div{min-width:0}
.cc-meta dt{font-size:11px;color:var(--muted)}
.cc-meta dd{margin:2px 0 0;font-size:12.5px;font-weight:700;color:var(--ink)}
.cc-why{display:flex;gap:7px;margin:0;font-size:12px;line-height:1.6;color:var(--body);background:var(--amber-soft);border-radius:9px;padding:9px 11px}
.cc-why svg{width:14px;height:14px;flex:none;margin-top:3px;color:var(--amber)}
.cc-why a{color:var(--navy);font-weight:700;cursor:pointer;text-decoration:underline}
.cc-acts{display:grid;grid-template-columns:1fr auto;gap:8px}
.cc-acts.sm{grid-template-columns:repeat(3,1fr);margin-top:-6px}
.cc-acts.sm .btn{padding-inline:8px;font-size:12px;justify-content:center}
.cc-acts .btn[disabled]{opacity:.45;cursor:not-allowed}
.cc-acts .btn.danger:not([disabled]){color:var(--red)}
@media(max-width:1440px){.coa-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:820px){.coa-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.coa-r{grid-template-columns:minmax(200px,1fr) 150px}.coa-c.acts{display:none}}

.coa-shade{position:fixed;inset:0;background:rgba(13,22,38,.18);z-index:60}
.coa-drawer{position:fixed;inset-block:0;inset-inline-end:0;width:380px;max-width:100vw;background:var(--surface);z-index:61;box-shadow:0 0 40px -8px rgba(13,22,38,.35);overflow-y:auto;animation:coaIn .18s ease-out}
.coa-close{position:absolute;top:12px;inset-inline-end:12px;width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--muted);z-index:1}
.coa-close svg{width:16px;height:16px}
.coa-drawer .cc-path{padding-inline-end:40px}
@keyframes coaIn{from{transform:translateX(-24px);opacity:0}}
body[dir="ltr"] .coa-drawer{animation-name:coaInL}
@keyframes coaInL{from{transform:translateX(24px);opacity:0}}

.coa-nav{display:flex;align-items:stretch;gap:2px;padding:0 12px;border-bottom:1px solid var(--line);overflow-x:auto}
.coa-nav>button{display:flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--muted);padding:13px 10px 11px;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}
.coa-nav>button:hover{color:var(--ink)}
.coa-nav>button.on{color:var(--navy);border-bottom-color:var(--navy);font-weight:700}
.coa-nav>button .num{font-size:11px;background:var(--bg);border-radius:6px;padding:0 6px;color:var(--muted)}
.coa-nav>button .num.cd{background:none;padding:0;color:var(--muted-2)}
.coa-nav-end{margin-inline-start:auto;display:flex;align-items:center;gap:4px}
.coa-tools{align-items:flex-end}
.coa-f{display:flex;flex-direction:column;gap:4px}
.coa-f label{font-size:11.5px;font-weight:600;color:var(--muted)}
.coa-lv{padding:3px;height:38px;box-sizing:border-box}
.coa-sel{height:38px;min-width:150px}

.coa-c.money.bal{font-size:13px}
.coa-dn{display:inline-block;width:34px;text-align:start;margin-inline-start:8px;font-size:11px;font-weight:600}
.coa-dn.debtor{color:var(--red)}
.coa-dn.creditor{color:#1d4ed8}
.coa-r.head .coa-c.money.bal{padding-inline-end:52px}
.coa-c.money.bal{display:flex;align-items:center;justify-content:flex-end}
.coa-c.money.bal>.num,.coa-c.money.bal>.dash{display:inline-block;min-width:118px;text-align:right;direction:ltr}
.coa-r.head .coa-c.money.bal{padding-inline-end:52px;display:block;text-align:end}
.coa-r.head .coa-c.money.bal{text-align:start;padding-inline-end:10px;padding-inline-start:24px}

/* v1.33.4 — clearer names, balance closer, neat nature pill, compact header actions */
.coa-acts{align-items:center;gap:4px}
.coa-acts .icon-btn{width:36px;height:36px;border:1px solid var(--line);background:var(--surface)}
.coa-acts .icon-btn:hover{border-color:#c7cfdd;color:var(--ink)}
.coa-acts .icon-btn svg{width:17px;height:17px}
.coa-acts-sep{width:1px;height:22px;background:var(--line);margin-inline:6px}
.coa-r{grid-template-columns:minmax(300px,560px) 210px minmax(72px,1fr)}
.coa-c.acts{justify-content:flex-start}
.coa-nm{font-size:14px;font-weight:500;color:var(--ink)}
.coa-r.parent .coa-nm{font-weight:700}
.coa-r.root .coa-nm{font-size:15px;font-weight:800}
.coa-code{font-size:11.5px;font-weight:600;color:var(--muted);border-bottom-color:#c9d1dc}
.coa-r.zero .coa-nm{color:var(--muted)}
.coa-dn{width:auto;min-width:42px;text-align:center;margin-inline-start:12px;padding:2px 0;border-radius:6px;font-size:11px;font-weight:700;line-height:16px}
.coa-dn.debtor{background:var(--red-soft);color:var(--red)}
.coa-dn.creditor{background:#e7effb;color:#1d4ed8}
.coa-dn.none{background:none;color:#b8c0cc}
.coa-c.money.bal{justify-content:flex-start}
.coa-c.money.bal>.num,.coa-c.money.bal>.dash{min-width:120px}
.coa-r.head .coa-c.money.bal{padding-inline-start:10px}
.coa-lv button.all{width:auto;padding-inline:10px}
@media(max-width:820px){.coa-r{grid-template-columns:minmax(200px,1fr) 190px}}

/* ===== v1.34 — part rec ===== */
/* ===== v1.34 rec — recruitment follow-up screens (rq-) ===== */
.rq-tabs{margin-bottom:16px}
.rq-pane[hidden]{display:none!important}
.rq-tabs button em{font-style:normal;font-size:11.5px;background:var(--line-2);color:var(--muted);border-radius:999px;padding:0 7px}
.rq-tabs button.on em{background:rgba(255,255,255,.18);color:#fff}
/* status path */
.rq-path{display:flex;align-items:stretch;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:16px}
.rq-ps{flex:1;display:flex;gap:10px;align-items:flex-start;position:relative;min-width:0;padding-inline-end:14px}
.rq-ps+.rq-ps{border-inline-start:1px dashed var(--line);padding-inline-start:14px}
.rq-ps>.n{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--line-2);color:var(--muted);flex:none;font-size:13px;font-weight:700}
.rq-ps>.n svg{width:15px;height:15px}
.rq-ps.done >.n{background:var(--green-soft);color:var(--green-d)}
.rq-ps.cur >.n{background:var(--navy);color:#fff;box-shadow:0 0 0 4px var(--navy-soft)}
.rq-ps.bad >.n{background:var(--red-soft);color:var(--red)}
.rq-ps b{display:block;font-size:13.5px;color:var(--ink)}
.rq-ps small{display:block;font-size:12px;color:var(--muted);line-height:1.5}
.rq-ps.cur b{color:var(--navy)}
/* next-step banner */
.rq-next{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:var(--r);background:var(--amber-soft);border:1px solid #f2dcb6;margin-bottom:16px;color:#7a5216;font-size:13.5px}
.rq-next>svg{width:18px;height:18px;flex:none}
.rq-next b{color:#5d3d0c}
.rq-next .btn{margin-inline-start:auto}
.rq-next.g{background:var(--green-soft);border-color:#d5e9c3;color:#3f6b1d}
.rq-next.g b{color:#2f5414}
.rq-next.n{background:var(--navy-soft);border-color:#dbe1ee;color:var(--navy)}
.rq-next.n b{color:var(--navy)}
.rq-next.r{background:var(--red-soft);border-color:#f5cfcc;color:#a1322b}
/* table helpers */
.rq-t td small{display:block;color:var(--muted);font-size:12px}
.rq-t tr[data-rq-open]{cursor:pointer}
.rq-t tr[data-rq-open]:hover td{background:#fafbfd}
.rq-t td.r,.rq-t th.r{text-align:end;white-space:nowrap}
.rq-t tfoot td{background:var(--bg);font-weight:700;color:var(--ink);border-top:1px solid var(--line)}
.rq-t input[type=checkbox],.rq-chkl input{accent-color:var(--navy);width:16px;height:16px}
.rq-dim{color:var(--muted-2)}
.rq-why{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.rq-why svg{width:13px;height:13px}
.rq-arrow{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.rq-arrow svg{width:13px;height:13px;color:var(--muted-2)}
.rq-btns{display:flex;gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.rq-btns .btn{height:32px;padding:0 11px;font-size:12.5px}
.rq-btns .btn svg{width:14px;height:14px}
/* bulk bar */
.rq-bulk{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px;border-radius:var(--r);background:var(--navy);color:#fff;margin-bottom:12px;font-size:13.5px}
.rq-bulk b{color:#fff}
.rq-bulk input{flex:1;min-width:220px;height:36px;border-radius:8px;border:0;padding:0 12px;font:inherit;font-size:13px}
.rq-bulk .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.rq-bulk .btn{height:36px}
/* drawer */
.rq-ov{position:fixed;inset:0;background:rgba(11,19,35,.42);z-index:80;display:flex}
.rq-ov[hidden]{display:none}
.rq-dr{background:var(--surface);width:min(460px,94vw);height:100%;display:flex;flex-direction:column;box-shadow:0 0 60px rgba(11,19,35,.3);margin-inline-start:auto;overflow:hidden}
.rq-dr-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid var(--line)}
.rq-dr-h h3{font-size:17px}
.rq-dr-h p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.rq-dr-b{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:14px}
.rq-dr-f{border-top:1px solid var(--line);padding:12px 20px;display:flex;gap:8px;align-items:center}
.rq-dr-f .btn{flex:1;justify-content:center}
.rq-dr .kvgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.rq-box{border:1px solid var(--line);border-radius:var(--r-s);overflow:hidden}
.rq-box>h4{font-size:13px;padding:9px 12px;background:var(--bg);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:7px}
.rq-box>h4 svg{width:15px;height:15px;color:var(--navy)}
.rq-box .kvgrid{padding:4px 0}
.rq-pad{padding:12px}
.rq-pad textarea,.rq-pad input,.rq-pad select{width:100%}
/* effect / impact rows */
.rq-fx{display:flex;flex-direction:column}
.rq-fx>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line-2);font-size:13.5px}
.rq-fx>div:last-child{border-bottom:0}
.rq-fx span{color:var(--muted)}
.rq-fx b{color:var(--ink);font-weight:600}
.rq-fx .tot{background:var(--bg)}
.rq-fx .tot b{font-size:16px}
.rq-fx .neg b{color:var(--red)}
.rq-fx .pos b{color:var(--green-d)}
/* checklist */
.rq-chk{display:flex;flex-direction:column}
.rq-chk>div{display:flex;gap:10px;align-items:flex-start;padding:9px 14px;border-bottom:1px solid var(--line-2);font-size:13.5px}
.rq-chk>div:last-child{border-bottom:0}
.rq-chk svg{width:16px;height:16px;flex:none;margin-top:3px}
.rq-chk .ok svg{color:var(--green-d)}
.rq-chk .no svg{color:var(--red)}
.rq-chk .wt svg{color:var(--amber)}
.rq-chk small{display:block;color:var(--muted);font-size:12px}
/* notes thread */
.rq-notes{display:flex;flex-direction:column;gap:10px;padding:12px}
.rq-note{display:flex;gap:10px}
.rq-note .av{width:30px;height:30px;border-radius:50%;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.rq-note p{margin:2px 0 0;font-size:13px}
.rq-note small{color:var(--muted);font-size:11.5px}
/* finance step cards */
.rq-fsteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.rq-fstep{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column}
.rq-fstep.cur{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.06)}
.rq-fstep-h{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
.rq-fstep-h .rq-sn{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green-d);font-size:12.5px;font-weight:700}
.rq-fstep.cur .rq-sn{background:var(--navy);color:#fff}
.rq-fstep-h b{font-size:14.5px;color:var(--ink)}
.rq-fstep-h .tag{margin-inline-start:auto}
.rq-fstep .rq-fx{flex:1}
.rq-fstep-f{padding:12px 16px;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap}
.rq-fstep-f .fgrid{padding:0;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.rq-big{font-size:26px;font-weight:800;color:var(--ink);letter-spacing:-.5px}
.rq-big.g{color:var(--green-d)}
/* mini bars */
.rq-bars{display:flex;align-items:flex-end;gap:10px;height:150px;padding:18px 18px 0}
.rq-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}
.rq-bar i{display:block;width:100%;max-width:38px;border-radius:6px 6px 0 0;background:#c9d3e4}
.rq-bar.on i{background:var(--navy)}
.rq-bar b{font-size:12px;color:var(--ink)}
.rq-bar-l{display:flex;gap:10px;padding:6px 18px 14px}
.rq-bar-l span{flex:1;text-align:center;font-size:11.5px;color:var(--muted)}
.rq-trend{font-size:12px;font-weight:600}
.rq-trend.up{color:var(--green-d)}
.rq-trend.dn{color:var(--red)}
.rq-kgrp{font-size:12.5px;font-weight:700;color:var(--muted);margin:0 2px 8px;display:flex;align-items:center;gap:6px}
.rq-kgrp svg{width:14px;height:14px}
.statgrid.rq-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.scard small.rq-sub{font-size:12px;color:var(--muted)}
/* whatsapp messages */
.rq-msgs{display:flex;flex-direction:column}
.rq-msg{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line-2)}
.rq-msg:last-child{border-bottom:0}
.rq-msg .ic{width:34px;height:34px;border-radius:9px;background:var(--navy-soft);color:var(--navy);display:grid;place-items:center;flex:none}
.rq-msg .ic svg{width:16px;height:16px}
.rq-msg>div{flex:1;min-width:0}
.rq-msg b{font-size:13.5px;color:var(--ink)}
.rq-msg small{display:block;font-size:12px;color:var(--muted)}
.rq-ticks{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;white-space:nowrap}
.rq-ticks svg{width:15px;height:15px}
.rq-ticks.read{color:#2a7fd4}
.rq-ticks.dlv{color:var(--muted)}
.rq-ticks.fail{color:var(--red)}
.rq-list-on td{background:var(--navy-soft)!important}
/* cv cards (review) */
.rq-cv{display:flex;gap:10px;align-items:center}
.rq-cv .ph{width:36px;height:36px;border-radius:9px;background:var(--line-2);display:grid;place-items:center;color:var(--muted-2);flex:none}
.rq-cv .ph svg{width:17px;height:17px}
.rq-cv b{display:block;font-size:13.5px;color:var(--ink)}
/* public preview (select workers) */
.rq-site{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.rq-site-bar{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--bg);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.rq-site-bar i{width:9px;height:9px;border-radius:50%;background:#d6dce6;display:block}
.rq-site-bar span{margin-inline-start:10px;direction:ltr}
.rq-site-b{padding:26px 24px;text-align:center}
.rq-site-b h3{font-size:19px;margin-bottom:6px}
.rq-site-b>p{color:var(--muted);font-size:13.5px;margin:0 0 18px}
.rq-crit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
.rq-crit div{border:1px solid var(--line);border-radius:10px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
.rq-crit div span{width:40px;height:40px;border-radius:50%;background:var(--green-soft);color:var(--green-d);display:grid;place-items:center}
.rq-crit div span svg{width:18px;height:18px}
.rq-promo{display:grid;grid-template-columns:1fr 150px;gap:16px;align-items:center;text-align:start;background:var(--navy);color:#dfe5f1;border-radius:12px;padding:18px}
.rq-promo b{color:#fff;font-size:15px;display:block;margin-bottom:4px}
.rq-promo p{margin:0 0 10px;font-size:12.5px;line-height:1.7}
.rq-promo .img{height:100px;border-radius:10px;background:linear-gradient(135deg,#2c4372,#7ab648);display:grid;place-items:center;color:#fff}
.rq-promo .btn{height:32px;font-size:12.5px}
.rq-logos{display:flex;gap:10px;justify-content:center;margin-top:16px}
.rq-logos i{width:64px;height:26px;border-radius:6px;background:var(--line-2);display:block}
.rq-crow{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line-2)}
.rq-crow:last-child{border-bottom:0}
.rq-crow .ic{width:34px;height:34px;border-radius:50%;background:var(--green-soft);color:var(--green-d);display:grid;place-items:center;flex:none}
.rq-crow .ic svg{width:16px;height:16px}
.rq-crow>div{flex:1}
.rq-crow b{font-size:13.5px;color:var(--ink);display:block}
.rq-crow small{font-size:12px;color:var(--muted)}
.rq-grip{color:var(--muted-2)}
.rq-grip svg{width:16px;height:16px}
.rq-batch{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line-2)}
.rq-batch:last-child{border-bottom:0}
.rq-batch .ic{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.rq-batch .ic.h{background:var(--amber-soft);color:var(--amber)}
.rq-batch .ic svg{width:17px;height:17px}
.rq-batch>div{flex:1;min-width:0}
.rq-batch b{font-size:13.5px;color:var(--ink)}
.rq-batch small{display:block;font-size:12px;color:var(--muted)}
.rq-count{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;margin:0 16px 16px;border-radius:10px;background:var(--navy-soft);color:var(--navy);font-size:13.5px}
.rq-count b{font-size:20px}
@media (max-width:1180px){
 .rq-fsteps{grid-template-columns:minmax(0,1fr)}
 .rq-crit{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
 .rq-path{flex-direction:column;gap:10px}
 .rq-ps+.rq-ps{border-inline-start:0;padding-inline-start:0}
 .statgrid.rq-3{grid-template-columns:minmax(0,1fr)}
 .rq-promo{grid-template-columns:1fr}
}
.rq-m{white-space:nowrap}
.rq-t td.act .btn{white-space:nowrap}
.rq-t td .rq-m small{display:inline}
.rq-t th,.rq-t td{padding-inline:11px}
.rq-t th:first-child,.rq-t td:first-child{padding-inline-start:16px}
.rq-t td.act{padding-inline-end:14px}
.rq-t td.wrap{white-space:normal;min-width:180px}
.rq-gt{margin-bottom:16px}
.vtabs.rq-tabs{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0;gap:4px}
.vtabs.rq-tabs button{border-radius:0;padding:10px 14px;margin-bottom:-1px;border-bottom:2px solid transparent}
.vtabs.rq-tabs button:hover{background:none;color:var(--navy)}
.vtabs.rq-tabs button.on{background:none;color:var(--navy);border-bottom-color:var(--navy)}
.vtabs.rq-tabs button.on svg{color:var(--navy)}
.vtabs.rq-tabs button.on em{background:var(--navy);color:#fff}
.grid-3.rq-ctx{grid-template-columns:minmax(0,1fr);gap:0;margin:0}
.rq-ctx .kvgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.rq-narrow .tw table{min-width:0}
.rq-seg button{white-space:nowrap;flex:none}
.rq-bars.wide{height:130px;gap:28px;padding-inline:40px}
.rq-bar-l.wide{gap:28px;padding-inline:40px}
.rq-dr-b>*{flex:none}
.rq-ov{z-index:300}
.rq-box .kv{padding:9px 12px}
.rq-m small{display:inline!important}


/* ===== v1.34 — part req ===== */
/* ===== v1.34 req (rr-) — inbound hub, rental orders, dispatch, templates, policies ===== */
.rr-mut{color:var(--muted-2);font-size:12.5px}
.rr-sub{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.rr-hint{color:var(--muted);font-size:11.5px;margin-inline-start:4px}
.rr-nx{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:150px}
.rr-nx .btn.sm{height:30px;min-height:30px;padding:0 10px;font-size:12px;white-space:nowrap}
.rr-nx .btn svg{width:14px;height:14px}
.rr-foot{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px;margin:10px 2px 0}
.rr-foot svg{width:14px;height:14px}
/* source tabs */
.rr-srcs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.rr-src{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"i b" "n n" "e e";gap:8px 10px;text-align:start;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;box-shadow:var(--shadow);transition:border-color .15s}
.rr-src:hover{border-color:#c5cede}
.rr-src.on{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy) inset,var(--shadow)}
.rr-si{grid-area:i;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--navy-soft);color:var(--navy)}
.rr-src.on .rr-si{background:var(--navy);color:#fff}
.rr-si svg{width:17px;height:17px}
.rr-sb{grid-area:b;min-width:0}
.rr-sb b{display:block;font-size:14px;color:var(--ink);line-height:1.3}
.rr-sb small{display:block;font-size:11.5px;color:var(--muted);line-height:1.4}
.rr-sn{grid-area:n;display:flex;align-items:baseline;gap:6px}
.rr-sn b{font-size:22px;color:var(--amber);line-height:1}
.rr-sn small{font-size:12px;color:var(--body);font-weight:600}
.rr-src em{grid-area:e;font-style:normal;font-size:11.5px;color:var(--muted-2);border-top:1px dashed var(--line);padding-top:6px}
.rr-panel>.cx-info{margin-bottom:12px}
.rr-unread td:first-child{box-shadow:inset -3px 0 0 var(--amber)}
.rr-dotn{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--amber);margin-inline-end:5px;vertical-align:middle}
.rr-files{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:12.5px}
.rr-files svg{width:14px;height:14px}
/* status path + next step */
.rr-path{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:12px;box-shadow:var(--shadow)}
.rr-st{flex:1;display:flex;align-items:flex-start;gap:10px;position:relative;padding-inline-end:12px}
.rr-st:not(:last-child):after{content:"";position:absolute;top:15px;inset-inline-start:40px;inset-inline-end:8px;height:2px;background:var(--line)}
.rr-st.done:not(:last-child):after{background:#cfe6b8}
.rr-st>div{position:relative;z-index:1;background:var(--surface);padding-inline-end:8px}
.rr-dot{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--line-2);color:var(--muted);font-size:12.5px;z-index:1}
.rr-dot svg{width:15px;height:15px}
.rr-st.done .rr-dot{background:var(--green);color:#fff}
.rr-st.cur .rr-dot{background:var(--amber);color:#fff;box-shadow:0 0 0 4px var(--amber-soft)}
.rr-st.bad .rr-dot{background:var(--red);color:#fff}
.rr-st b{display:block;font-size:13.5px;color:var(--ink);line-height:1.35}
.rr-st small{display:block;font-size:12px;color:var(--muted)}
.rr-st:not(.done):not(.cur) b{color:var(--muted)}
.rr-next{display:flex;align-items:center;gap:14px;background:var(--amber-soft);border:1px solid #f1d9ad;border-radius:var(--r);padding:14px 16px;margin-bottom:16px}
.rr-ni{width:40px;height:40px;flex:none;border-radius:10px;background:#fff;color:var(--amber);display:grid;place-items:center}
.rr-ni svg{width:20px;height:20px}
.rr-nt{flex:1;min-width:0}
.rr-nt small{display:block;font-size:11.5px;font-weight:700;color:var(--amber);letter-spacing:.2px}
.rr-nt b{display:block;font-size:15px;color:var(--ink)}
.rr-nt p{margin:2px 0 0;font-size:13px;color:var(--body)}
.rr-na{display:flex;gap:8px;flex-wrap:wrap}
.rr-lock{opacity:.6;cursor:not-allowed;flex-direction:column}
.rr-lock small{display:block;font-size:10.5px;color:var(--muted);font-weight:500;line-height:1.3}
.rr-conv .cx-rcard{cursor:pointer}
.rr-conv .cx-rcard.rr-off{opacity:.55;cursor:not-allowed;background:var(--bg)}
/* rental orders */
.rr-oks{display:flex;flex-direction:column;gap:3px}
.rr-ok{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap;font-weight:600}
.rr-ok svg{width:13px;height:13px}
.rr-ok.g{color:var(--green-d)}.rr-ok.a{color:var(--amber)}
.rr-tm{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.rr-tm svg{width:12px;height:12px}
.rr-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;padding:0 20px 6px}
.rr-chk{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:var(--r-s);padding:10px 12px}
.rr-chk svg{width:17px;height:17px;flex:none;color:var(--amber);margin-top:2px}
.rr-chk.on svg{color:var(--green-d)}
.rr-chk b{display:block;font-size:13px;color:var(--ink)}
.rr-chk small{display:block;font-size:12px;color:var(--muted)}
.rr-checks+.convbox>div{flex:1;min-width:220px}
.rr-checks+.convbox b{display:block;color:var(--ink)}
.rr-checks+.convbox small{color:var(--muted)}
/* rental recruit */
.rr-ms{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;white-space:nowrap}
.rr-ms svg{width:14px;height:14px}
.rr-ms.g{color:var(--green-d)}.rr-ms.n{color:var(--navy)}.rr-ms.a{color:var(--amber)}.rr-ms.r{color:var(--red)}
.rr-pipe{margin-bottom:14px}
.rr-pipe .pg{flex:1}
/* transfer terms */
.rr-terms{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.rr-trow{grid-template-columns:2.4fr .7fr .7fr .7fr .5fr auto;align-items:end}
.rr-trow .tr-c{grid-column:1/-1;order:1}
.rr-trow textarea{width:100%}
.rr-trow.off{background:var(--bg)}
.rr-trow.off textarea{color:var(--muted)}
.rr-p{margin:0;padding:0 18px 10px;font-size:12.5px;color:var(--muted)}
.rr-vars{display:flex;flex-direction:column;gap:6px;padding:0 14px 14px}
.rr-var{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px dashed var(--line);border-radius:7px;padding:6px 10px;text-align:start}
.rr-var:hover{border-color:var(--navy);background:var(--navy-soft)}
.rr-var code{font-size:12.5px;color:var(--navy);font-weight:700;font-family:inherit;direction:rtl;unicode-bidi:plaintext;background:none;padding:0}
.rr-var small{font-size:11.5px;color:var(--muted)}
@media(max-width:1280px){.rr-trow{grid-template-columns:1fr .6fr .6fr}}
/* hourly coupons */
.rr-hc .fbar{margin-bottom:12px}
.rr-cpprev{margin:4px 20px 12px;display:flex;align-items:center;gap:12px;border:1px dashed var(--line);border-radius:var(--r-s);padding:10px 12px}
.rr-cpprev b{display:block;font-size:13.5px;color:var(--ink)}
.rr-cpprev small{color:var(--muted);font-size:12px}
/* dispatch */
.rr-ch{width:auto;display:inline-flex}
.rr-ch button svg{width:16px;height:16px}
.rr-conn{display:flex;align-items:center;gap:10px;margin:0 20px 12px;padding:10px 12px;border-radius:var(--r-s);background:var(--green-soft)}
.rr-conn>svg{width:18px;height:18px;color:var(--green-d);flex:none}
.rr-conn>div{flex:1}
.rr-conn b{display:block;font-size:13.5px;color:var(--ink)}
.rr-conn small{font-size:12px;color:var(--muted)}
.rr-seg{margin:0!important}
.rr-seg button:disabled{opacity:.45;cursor:not-allowed}
.rr-pad{padding:0 20px 12px}
.rr-pad2{padding:0 0 4px}
.rr-pad2>.cx-seg2,.rr-pad2>.rr-cb{margin-inline:20px}
.rr-pad3{margin:0 20px 12px!important}
.rr-pad textarea,.rr-pad input{width:100%}
.rr-tokens{display:flex;flex-wrap:wrap;gap:6px;border:1px solid var(--line);border-radius:var(--r-s);padding:7px;background:#fff}
.rr-tokens input{flex:1;min-width:140px;border:0!important;outline:0;padding:4px!important;height:auto!important;box-shadow:none!important}
.rr-tok{display:inline-flex;align-items:center;gap:5px;background:var(--navy-soft);color:var(--navy);border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600}
.rr-tok svg{width:12px;height:12px;cursor:pointer}
.rr-count{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 20px 14px;padding:9px 12px;border-radius:var(--r-s);background:var(--navy-soft);font-size:13px}
.rr-count svg{width:16px;height:16px;color:var(--navy)}
.rr-count small{margin-inline-start:auto;color:var(--muted);font-size:12px}
.rr-cb{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--ink);margin-bottom:10px}
.rr-sticky{position:sticky;top:12px}
.rr-send{display:flex;flex-direction:column;gap:6px;padding:14px 20px 18px}
.rr-send .btn{justify-content:center}
.rr-send small{color:var(--muted);font-size:12px}
.rr-log{margin-top:16px}
.rr-chn{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--navy);white-space:nowrap}
.rr-chn.wa{color:#25a35a}
.rr-chn svg{width:14px;height:14px}
.rr-bad{color:var(--red)}
/* templates */
.rr-code{font-size:12.5px;color:var(--navy);background:var(--navy-soft);border-radius:5px;padding:2px 7px;direction:ltr;display:inline-block}
.rr-why{display:flex;gap:4px;align-items:flex-start;margin-top:5px;font-size:11.5px;color:var(--red);line-height:1.45;max-width:230px}
.rr-why svg{width:12px;height:12px;flex:none;margin-top:2px}
/* country policies */
.rr-warn{background:var(--amber-soft)!important;margin-bottom:12px}
.rr-cty{display:flex;align-items:center;gap:10px}
.rr-cty b{display:block;color:var(--ink);font-size:14px}
.rr-cty small{color:var(--muted);font-size:12px}
.rr-flag{width:34px;height:24px;border-radius:5px;display:inline-grid;place-items:center;background:var(--navy);color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px;flex:none}
.rr-file{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--navy)}
.rr-file svg{width:14px;height:14px;flex:none}
.rr-ups{display:flex;flex-direction:column;gap:8px;padding:0 20px 12px}
.rr-pv{margin:0 20px 18px;border:1px solid var(--line);border-radius:var(--r);padding:16px;background:var(--bg)}
.rr-pv h3{font-size:15px;margin:0 0 4px}
.rr-pv p{margin:0 0 12px;font-size:12.5px;color:var(--muted)}
.rr-pvg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.rr-pvc{display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:var(--r-s);padding:10px 6px}
.rr-pvc b{font-size:13px;color:var(--ink)}
.rr-pvc small{font-size:11.5px;color:var(--muted)}
.rr-pvf{display:flex;gap:8px;flex-wrap:wrap}
.rr-pvf span{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:12.5px;color:var(--navy);font-weight:600}
.rr-pvf svg{width:14px;height:14px}
@media(max-width:1280px){.rr-srcs{grid-template-columns:repeat(3,minmax(0,1fr))}.rr-terms{grid-template-columns:1fr}}
@media(max-width:1100px){.rr-path{flex-wrap:wrap;gap:10px}.rr-st{flex:1 1 45%}.rr-st:after{display:none}.rr-next{flex-wrap:wrap}}
.rr-who{min-width:0}
.rr-who b{display:block;font-size:14px;color:var(--ink);font-weight:700;line-height:1.4}
.rr-who small{display:block;color:var(--muted);font-size:12px;line-height:1.5;white-space:nowrap}
[data-rrdis]{opacity:.32;cursor:not-allowed}
.rr-oks .tag{align-self:flex-start}
.rr-sum{display:flex;flex-direction:column;padding:0 18px 12px}
.rr-sum div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.rr-sum div:last-child{border:0}
.rr-sum span{color:var(--muted)}
.rr-sum b{color:var(--ink)}
.rr-trow .sw{display:block;margin:6px 0 10px}
.rr-trow .icon-btn.danger{margin-top:0;align-self:end;margin-bottom:4px}
.rr-hc{display:flex;flex-direction:column;gap:16px}
.rr-hc .fgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.rr-hc .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rr-ok.rr-bad{color:var(--red);margin-inline-start:8px}
.rr-sub.rr-wrap{white-space:normal;max-width:520px}
.rr-hc>.sec .fgrid+.fld,.rr-hc>.sec>.fld{max-width:none}
.rr-why{white-space:normal}
.rr-file span{white-space:normal}
.rr-cty small .tag{margin-top:3px}
.rr-msg small{white-space:normal;max-width:340px}


/* ===== v1.34 — part ops2 ===== */
/* ===== v1.34 · ops2 ===== */
.o2-pane[hidden]{display:none!important}
.o2-tabs{margin-bottom:16px}
.o2-sub{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.o2-sm{font-size:13.5px!important}
.o2-lead{margin:0 0 14px;color:var(--muted);font-size:13.5px;line-height:1.7}
.o2-mx{margin-inline:18px!important}
.o2-pad{padding:0 18px 18px}
.o2-hint{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px}
.o2-hint svg{width:14px;height:14px}
.o2-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.o2-row .cx-chips,.o2-row .o2-seg{margin:0}
.o2-chips{margin-bottom:14px}
.o2-filter{padding:14px 16px;margin-bottom:16px}
.o2-filter .o2-chips{margin-bottom:12px}
.o2-filter .fbar.o2-in{padding:0;margin:0 0 10px;border:0;box-shadow:none;background:none}
.o2-seg{margin:0}
.o2-fg{padding:18px!important}
.o2-g11{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;margin:0}
.o2-av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy);font-weight:700;font-size:14px;position:relative}
.o2-av.free{background:var(--green-soft);color:var(--green-d)}
.o2-av.trip{background:#e8effa;color:#2f5fa8}
.o2-av.stop{background:var(--red-soft);color:var(--red)}
tr.o2-off td{opacity:.62}
tr.o2-off td.act{opacity:1}
.o2-teams{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.o2-team{display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:2px 8px;border-radius:999px;background:var(--bg);border:1px solid var(--line);white-space:nowrap}
.o2-team.p{background:var(--navy-soft);border-color:transparent;color:var(--navy);font-weight:600}
.o2-team svg{width:11px;height:11px}
.wcell small svg{width:12px;height:12px;vertical-align:-2px}
.o2-trips{display:flex;align-items:center;gap:8px;white-space:nowrap}
.o2-trips small{color:var(--muted);font-size:12px}
.o2-bar{display:inline-block;width:64px;height:6px;border-radius:9px;background:var(--line-2);overflow:hidden;flex:none}
.o2-bar i{display:block;height:100%;background:var(--navy);border-radius:9px}
.o2-bar.g i{background:var(--green)}
.o2-sw{display:inline-flex;align-items:center;gap:6px}
.o2-sw small{font-size:12px;color:var(--muted)}
/* next-step strip */
.o2-next{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:16px;border-radius:var(--r);background:var(--navy-soft);border:1px solid #dde3ef}
.o2-next>svg{width:22px;height:22px;color:var(--navy);flex:none}
.o2-next.a{background:var(--amber-soft);border-color:#f3dfbd}.o2-next.a>svg{color:var(--amber)}
.o2-next.r{background:var(--red-soft);border-color:#f6cfcc}.o2-next.r>svg{color:var(--red)}
.o2-next-t{flex:1;min-width:0}
.o2-next-t b{display:block;font-size:14.5px;color:var(--ink)}
.o2-next-t span{display:block;font-size:13px;color:var(--body);line-height:1.7;margin-top:2px}
.o2-next-a{display:flex;gap:8px;flex:none;align-items:center}
/* status path */
.o2-path{display:flex;align-items:center;gap:0;margin:0 0 14px;flex-wrap:wrap}
.o2-path>span{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted-2);font-weight:600;padding-inline-end:26px;position:relative}
.o2-path>span:not(:last-child):after{content:"";position:absolute;inset-inline-end:6px;top:50%;width:14px;height:1px;background:var(--line)}
.o2-path i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;border:1px solid var(--line);background:#fff;color:var(--muted)}
.o2-path em{font-style:normal}
.o2-path .done{color:var(--green-d)}
.o2-path .done i{background:var(--green);border-color:var(--green);color:#fff}
.o2-path .cur{color:var(--navy)}
.o2-path .cur i{background:var(--navy);border-color:var(--navy);color:#fff}
/* exception tiles */
.o2-todo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.o2-tile{display:flex;align-items:center;gap:12px;padding:14px 16px;font:inherit;text-align:start;cursor:pointer;border-inline-start:3px solid var(--line)}
.o2-tile>svg:first-child{width:20px;height:20px;color:var(--navy);flex:none}
.o2-tile>svg:last-child{width:16px;height:16px;color:var(--muted-2);margin-inline-start:auto}
.o2-tile b{display:block;font-size:14px;color:var(--ink)}
.o2-tile small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.o2-tile.r{border-inline-start-color:var(--red)}.o2-tile.r>svg:first-child{color:var(--red)}
.o2-tile.a{border-inline-start-color:var(--amber)}.o2-tile.a>svg:first-child{color:var(--amber)}
/* decision case */
.o2-case{margin-bottom:14px;padding:0;overflow:hidden}
.o2-case.bad{border-inline-start:3px solid var(--red)}
.o2-case.warn{border-inline-start:3px solid var(--amber)}
.o2-case-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid var(--line);background:var(--bg);font-size:13.5px}
.o2-case-h>div{flex:1;min-width:0}
.o2-case-b{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.o2-case-i{padding:16px 18px}
.o2-case-d{padding:16px 18px;border-inline-start:1px solid var(--line);background:#fcfdfe;display:flex;flex-direction:column;gap:12px}
.o2-case-d .fld{margin:0}
.o2-case-d .fgrid{padding:0!important}
.o2-dh{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--ink)}
.o2-dh svg{width:16px;height:16px;color:var(--navy)}
.o2-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.o2-mini>div{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.o2-mini small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.o2-mini b{font-size:14px;color:var(--ink)}
.o2-mini b.r{color:var(--red)}.o2-mini b.a{color:var(--amber)}
.o2-quote{padding:10px 14px;border-radius:10px;background:var(--bg);border-inline-start:3px solid var(--line);font-size:13.5px;line-height:1.7;margin-bottom:10px;color:var(--body)}
.o2-quote span{display:block;font-size:11.5px;font-weight:700;color:var(--muted)}
.o2-check{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.6}
.o2-check svg{width:16px;height:16px;flex:none;margin-top:2px}
.o2-check.g{background:var(--green-soft);color:#3f6d1c}
.o2-check.r{background:var(--red-soft);color:#a3332c}
.o2-slots{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.o2-slots small{color:var(--muted);font-size:12.5px;width:100%}
.o2-slots span{padding:5px 10px;border:1px dashed var(--navy);border-radius:8px;font-size:12.5px;color:var(--navy);font-weight:600}
.o2-why{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:var(--amber-soft);color:#8a5a14;font-size:12.5px;line-height:1.65}
.o2-why.n{background:var(--navy-soft);color:var(--navy)}
.o2-why svg{width:15px;height:15px;flex:none;margin-top:2px}
.o2-why.o2-wide{margin-bottom:14px;font-size:13px}
.o2-ck{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.6;color:var(--body);cursor:pointer}
.o2-ck input{margin-top:4px;accent-color:var(--navy)}
.o2-btns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.o2-btns.c{justify-content:center}
.o2-btns small{font-size:12px}
.o2-tline{display:flex;gap:0;margin-bottom:12px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.o2-tline>div{flex:1;padding:10px 12px;border-inline-end:1px solid var(--line)}
.o2-tline>div:last-child{border-inline-end:0}
.o2-tline span{display:block;font-size:17px;font-weight:800;color:var(--ink)}
.o2-tline small{display:block;font-size:11.5px;color:var(--muted);line-height:1.4}
.o2-tline .a span{color:var(--amber)}.o2-tline .r{background:var(--red-soft)}.o2-tline .r span{color:var(--red)}
.o2-tt{margin-inline-start:2px}
/* SOS */
.o2-live{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--green-d);font-weight:600;padding:6px 10px;border-radius:8px;background:var(--green-soft)}
.o2-live svg{width:15px;height:15px}
.o2-alarm{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:16px;border-radius:var(--r);background:var(--red);color:#fff}
.o2-alarm>svg{width:26px;height:26px;flex:none;animation:o2pulse 1.4s infinite}
.o2-alarm>div{flex:1}
.o2-alarm b{display:block;font-size:15px}
.o2-alarm span{display:block;font-size:13px;opacity:.92;line-height:1.7}
.o2-alarm .btn{background:#fff;color:var(--red);border-color:#fff}
@keyframes o2pulse{0%,100%{opacity:1}50%{opacity:.35}}
.o2-sos{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start}
.o2-sm-c{display:flex;flex-direction:column;gap:16px;min-width:0}
.o2-sl{padding:10px;display:flex;flex-direction:column;gap:8px}
.o2-sl-f{display:flex;gap:6px;padding:4px 4px 6px}
.o2-sl-f select{flex:1;min-width:0}
.o2-mg-l .o2-sl-f{padding:12px 12px 6px}
.o2-sl-x{font-size:12px;color:var(--muted);text-align:center;padding:4px}
.o2-si{position:relative;display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;text-align:start;cursor:pointer}
.o2-si.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.08)}
.o2-si.triggered{border-inline-start:3px solid var(--red)}
.o2-si.acknowledged{border-inline-start:3px solid var(--amber)}
.o2-si-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.o2-si-b{display:flex;align-items:center;gap:6px;font-size:13px}
.o2-si-b svg{width:14px;height:14px;color:var(--navy)}
.o2-si small{font-size:12px;color:var(--muted)}
.o2-pulse{position:absolute;top:10px;inset-inline-end:-4px;width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 0 rgba(212,69,60,.5);animation:o2ring 1.6s infinite}
@keyframes o2ring{0%{box-shadow:0 0 0 0 rgba(212,69,60,.5)}100%{box-shadow:0 0 0 10px rgba(212,69,60,0)}}
.o2-map{padding:0;overflow:hidden}
.o2-map-bg{position:relative;height:250px;background:#e9eef4;background-image:linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px);background-size:36px 36px}
.o2-road{position:absolute;background:#fff;border:1px solid #d7dee8}
.o2-road.a{top:44%;left:0;right:0;height:14px}
.o2-road.b{left:30%;top:0;bottom:0;width:12px}
.o2-road.c{left:70%;top:0;bottom:0;width:10px;transform:skewX(-14deg)}
.o2-pin{position:absolute;z-index:2;width:34px;height:34px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;background:var(--red);box-shadow:0 4px 12px -4px rgba(0,0,0,.4)}
.o2-pin svg{transform:rotate(45deg);width:16px;height:16px;color:#fff}
.o2-pin.a{background:var(--amber)}.o2-pin.n{background:var(--navy)}
.o2-map-c{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--line);flex-wrap:wrap}
.o2-map-c b{display:inline-flex;align-items:center;gap:6px;font-size:13.5px}
.o2-map-c b svg{width:15px;height:15px;color:var(--red)}
.o2-map-c small{color:var(--muted);font-size:12px;flex:1}
.o2-tl{padding:16px 18px 4px}
.o2-tl .tli.r .dot{background:var(--red);border-color:var(--red)}
.o2-tl .tli.cur .dot{background:var(--amber);border-color:var(--amber);box-shadow:0 0 0 4px var(--amber-soft)}
.o2-tl .tli:not(.r):not(.cur) .dot{background:#fff;border:2px solid var(--line)}
.o2-tl .tli:not(.r):not(.cur) b{color:var(--muted)}
.o2-res{padding:0 18px 16px;display:flex;flex-direction:column;gap:10px}
.o2-res .fld{margin:0}
/* merge */
.o2-merge{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;align-items:start}
.o2-mg-l{padding:0;overflow:hidden}
.o2-cnt{margin-inline-start:auto;font-style:normal;font-size:12px;background:var(--navy);color:#fff;border-radius:999px;padding:1px 8px}
.o2-mi{display:grid;grid-template-columns:1fr auto;gap:4px 8px;width:100%;padding:12px 16px;border:0;border-top:1px solid var(--line-2);background:#fff;font:inherit;text-align:start;cursor:pointer}
.o2-mi b{display:block;font-size:13.5px;color:var(--ink)}
.o2-mi small{font-size:12px;color:var(--muted)}
.o2-mi.on{background:var(--navy-soft);box-shadow:inset -3px 0 0 var(--navy)}
.o2-mg-r{min-width:0}
.o2-cmp{padding:0;overflow:hidden;margin-bottom:16px}
.o2-cmp table{width:100%;border-collapse:collapse}
.o2-cmp th,.o2-cmp td{padding:10px 14px;border-bottom:1px solid var(--line-2);text-align:start;vertical-align:middle;font-size:13.5px}
.o2-cmp thead th{background:var(--bg);font-weight:600}
.o2-cmp td:first-child,.o2-cmp th:first-child{width:170px;color:var(--muted)}
.o2-cmp td:first-child b{color:var(--ink);font-size:13.5px;display:block}
.o2-cmp td:first-child small{font-size:11.5px;color:var(--green-d)}
.o2-cmp tr.same td:not(:first-child){color:var(--muted)}
.o2-cmp tr.sum td{background:#fcfdfe}
.o2-acc{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
.o2-acc b{display:block;font-size:14px;color:var(--ink)}
.o2-acc small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:3px}
.o2-acc.on{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.08)}
.o2-acc .rd,.o2-pick .rd{width:16px;height:16px;border-radius:50%;border:2px solid #c3cbd8;flex:none;margin-top:2px;background:#fff}
.o2-acc.on .rd,.o2-pick.on .rd{border:5px solid var(--navy)}
.o2-pick{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:none;font:inherit;font-size:13.5px;text-align:start;cursor:pointer;color:var(--body)}
.o2-pick .rd{margin:0}
.o2-pick.on{background:var(--green-soft);border-color:#cfe5b8;color:var(--ink);font-weight:600}
.o2-cmp-n{display:flex;gap:8px;align-items:center;padding:10px 14px;font-size:12.5px;color:var(--muted)}
.o2-cmp-n svg{width:14px;height:14px}
.o2-warn{display:flex;gap:9px;align-items:flex-start;margin:14px 18px;padding:12px 14px;border-radius:10px;background:var(--amber-soft);color:#7d5212;font-size:13px;line-height:1.7}
.o2-warn svg{width:17px;height:17px;flex:none;margin-top:2px}
.o2-mg-r .sec .fld{margin:0 18px 12px}
.o2-mg-r .sec .o2-btns{padding:0 18px 18px}
/* lists */
.o2-list{display:flex;flex-direction:column}
.o2-li{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line-2)}
.o2-li:last-child{border-bottom:0}
.o2-li>svg{width:17px;height:17px;color:var(--navy);flex:none}
.o2-li>div{flex:1;min-width:0}
.o2-li b{display:block;font-size:13.5px;color:var(--ink)}
.o2-li small{display:block;font-size:12px;color:var(--muted)}
.o2-dot{width:9px;height:9px;border-radius:50%;background:var(--muted-2);flex:none}
.o2-dot.r{background:var(--red)}.o2-dot.a{background:var(--amber)}
/* gantt */
.o2-gantt{padding:16px 18px}
.o2-g-r{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:10px}
.o2-g-r b{font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.o2-g-t{position:relative;height:22px;background:var(--bg);border-radius:6px}
.o2-g-t i{position:absolute;top:3px;bottom:3px;border-radius:4px;background:#fff;border:1.5px dashed #9aa6b8}
.o2-g-t i.d{background:var(--navy);border:0}
.o2-g-t i.c{background:var(--green);border:0}
.o2-g-t i.r{background:var(--red);border:0}
.o2-g-x{display:flex;justify-content:space-between;margin-inline-start:120px;font-size:11px;color:var(--muted-2)}
.o2-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--muted)}
.o2-legend span{display:inline-flex;align-items:center;gap:5px}
.o2-legend i{width:12px;height:8px;border-radius:3px;background:#c9d1de}
.o2-legend i.d{background:var(--navy)}.o2-legend i.c{background:var(--green)}.o2-legend i.r{background:var(--red)}
.o2-gantt .o2-legend i:not([class]){background:#fff;border:1.5px dashed #9aa6b8}
/* renewals */
.o2-block{display:flex;flex-direction:column;gap:4px;align-items:flex-start;max-width:210px}
.o2-block small{font-size:11.5px;color:var(--muted);line-height:1.5}
.o2-rowa{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.o2-lnk{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--navy);white-space:nowrap}
.o2-lnk svg{width:14px;height:14px}
.tag svg{width:12px;height:12px;vertical-align:-2px}
/* credit notes */
.o2-rc2{grid-template-columns:1fr 1fr!important}
.o2-ro{background:var(--bg)!important}
.o2-incl{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 20px 18px;padding:12px 14px;border:1px dashed var(--line);border-radius:10px;font-size:13px}
.o2-incl>svg{width:16px;height:16px;color:var(--navy)}
.o2-incl input{width:140px}
.o2-incl small{color:var(--muted)}
.o2-cmp3{width:100%;border-collapse:collapse;font-size:13px}
.o2-cmp3 th,.o2-cmp3 td{padding:9px 12px;border-bottom:1px solid var(--line-2);text-align:start}
.o2-cmp3 th{font-size:12px;color:var(--muted);font-weight:600;background:#fcfdfe}
.o2-cmp3 td:first-child{color:var(--muted)}
.o2-cmp3 td.r{color:var(--red)}
.o2-cmp3 tr.tot td{font-weight:800;color:var(--ink);background:var(--bg)}
.o2-cmp3 tr.tot td.r{color:var(--red)}
.o2-net{margin:14px 18px;padding:14px;border-radius:12px;background:var(--green-soft);display:flex;flex-direction:column;gap:6px}
.o2-net small{font-size:12px;color:var(--muted)}
.o2-net>b{font-size:24px;color:var(--green-d)}
.o2-net>b small{font-size:13px}
.o2-net .o2-bar{width:100%}
.o2-net span{font-size:12px;color:var(--muted)}
.o2-zs{margin:0 18px 18px;padding:14px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:10px}
.o2-zs>b{display:flex;align-items:center;gap:7px;font-size:13.5px}
.o2-zs>b svg{width:16px;height:16px;color:var(--navy)}
.o2-zs .o2-path{margin:0}
.o2-zs small{font-size:12px;color:var(--muted)}
/* net sales */
.o2-formula{display:flex;align-items:center;gap:16px;padding:14px 20px;margin-bottom:16px;flex-wrap:wrap}
.o2-formula span{display:flex;flex-direction:column}
.o2-formula small{font-size:12px;color:var(--muted)}
.o2-formula b{font-size:20px;color:var(--ink)}
.o2-formula span.g b{color:var(--green-d)}
.o2-formula i{font-style:normal;font-size:22px;color:var(--muted-2);font-weight:300}
tr.o2-tf td{background:var(--bg);border-top:2px solid var(--line)}
/* moyasar */
.o2-bars{display:flex;align-items:flex-end;gap:8px;height:170px;padding:0 4px}
.o2-bars .c{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%}
.o2-bars .t{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.o2-bars .t i{width:30%;max-width:9px;background:#c9d1de;border-radius:3px 3px 0 0}
.o2-bars .t i.g{background:var(--navy)}
.o2-bars .t i.r{background:var(--red)}
.o2-bars small{font-size:11px;color:var(--muted-2)}
.card .o2-legend i.d{background:var(--navy)}
.o2-svc{display:inline-flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
.o2-svc svg{width:15px;height:15px;color:var(--navy)}
.o2-neg{color:var(--red);font-weight:600}
.o2-match{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--green-d);font-weight:600}
.o2-match svg{width:14px;height:14px}
/* profile */
.o2-me{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 0 0;margin-bottom:16px}
.o2-me>b{font-size:16px;color:var(--ink);margin-top:10px}
.o2-me>small{font-size:12.5px;color:var(--muted);margin-bottom:12px}
.o2-me .kvgrid{width:100%;grid-template-columns:1fr!important;border-top:1px solid var(--line);text-align:start}
.o2-me-av{position:relative;width:76px;height:76px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:700}
.o2-me-av .icon-btn{position:absolute;bottom:-4px;inset-inline-end:-4px;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--line)}
.o2-vt{flex-direction:column;align-items:stretch}
.o2-vt button{justify-content:flex-start;width:100%}
.o2-vt button em{margin-inline-start:auto}
.o2-file{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border:1px solid var(--line);border-radius:10px;height:var(--ctl-h)}
.o2-file svg{width:16px;height:16px;color:var(--navy)}
.o2-file span{flex:1;font-size:13px}
.o2-pwc{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 18px 6px}
.o2-pwc span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.o2-pwc span.ok{color:var(--green-d)}
.o2-pwc svg{width:15px;height:15px}
.o2-2fa{display:flex;align-items:center;gap:14px;margin:16px 18px;padding:14px 16px;border-radius:12px;background:var(--green-soft)}
.o2-2fa>svg{width:28px;height:28px;color:var(--green-d);flex:none}
.o2-2fa>div{flex:1}
.o2-2fa b{display:block;font-size:14.5px}
.o2-2fa span{font-size:13px;color:var(--body);line-height:1.7}
.o2-ch3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 18px 10px}
.o2-ch3 .cx-rcard{margin:0}
.cvmain .o2-pane .sec{margin-bottom:16px}
/* notifications */
.o2-nc{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
.o2-nf{padding:0 0 8px;overflow:hidden}
.o2-nfi{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;border:0;background:none;font:inherit;font-size:13.5px;color:var(--body);cursor:pointer;text-align:start}
.o2-nfi svg{width:16px;height:16px;color:var(--muted)}
.o2-nfi em{margin-inline-start:auto;font-style:normal;font-size:12px;color:var(--muted)}
.o2-nfi.on{background:var(--navy-soft);color:var(--navy);font-weight:700}
.o2-nfi.on svg{color:var(--navy)}
.o2-nm{min-width:0}
.o2-ns{max-width:320px;flex:1}
.o2-ng{margin-bottom:16px}
.o2-ngh{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin:0 4px 8px}
.o2-ni{display:flex;align-items:flex-start;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line-2);cursor:pointer}
.o2-ni:last-child{border-bottom:0}
.o2-ni.unread{background:#f7f9fd}
.o2-ni.unread .o2-nb b{font-weight:800}
.o2-nic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--navy-soft);color:var(--navy)}
.o2-nic svg{width:18px;height:18px}
.o2-nic.r{background:var(--red-soft);color:var(--red)}
.o2-nic.a{background:var(--amber-soft);color:var(--amber)}
.o2-nic.g{background:var(--green-soft);color:var(--green-d)}
.o2-nb{flex:1;min-width:0}
.o2-nb b{display:block;font-size:14px;color:var(--ink);font-weight:600}
.o2-nb p{margin:3px 0;font-size:13px;color:var(--body)}
.o2-nb small{font-size:12px;color:var(--muted)}
.o2-na{display:flex;align-items:center;gap:10px;flex:none}
.o2-na .udot{width:9px;height:9px;border-radius:50%;background:var(--red);display:inline-block}
.o2-end{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;color:var(--muted);padding:8px}
.o2-end svg{width:14px;height:14px}
/* no permission */
.o2-np{display:flex;justify-content:center;padding:24px 0}
.o2-npc{max-width:620px;width:100%;padding:34px 34px 26px;text-align:center}
.o2-npi{width:76px;height:76px;margin:0 auto 16px;border-radius:22px;display:grid;place-items:center;background:var(--amber-soft);color:var(--amber)}
.o2-npi svg{width:36px;height:36px}
.o2-npc h1{font-size:22px;margin:0 0 8px}
.o2-npc>p{color:var(--body);font-size:14px;line-height:1.8;margin:0 0 18px}
.o2-npk{text-align:start;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:16px}
.o2-npk .kvgrid{grid-template-columns:1fr 1fr}
.o2-npk code{font-size:11.5px;background:var(--bg);padding:2px 6px;border-radius:5px;color:var(--muted)}
.o2-npf{text-align:start;padding:14px 16px;border-radius:12px;background:var(--bg);display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;margin-bottom:18px}
.o2-npf>b{grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:14px}
.o2-npf>b svg{width:16px;height:16px;color:var(--navy)}
.o2-npf .fld{margin:0}
.o2-npf .fld.full{grid-column:auto}
.o2-np-x{display:flex;gap:6px;align-items:flex-start;justify-content:center;margin-top:16px;font-size:12px;color:var(--muted);line-height:1.6;text-align:start}
.o2-np-x svg{width:14px;height:14px;flex:none;margin-top:2px}
/* responsive */
@media (max-width:1280px){.o2-sos,.o2-merge{grid-template-columns:minmax(0,1fr)}.o2-g11{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:1180px){.o2-case-b{grid-template-columns:minmax(0,1fr)}.o2-case-d{border-inline-start:0;border-top:1px solid var(--line)}.o2-todo{grid-template-columns:repeat(2,minmax(0,1fr))}.o2-mini{grid-template-columns:repeat(2,minmax(0,1fr))}.o2-nc{grid-template-columns:minmax(0,1fr)}.o2-ch3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){.o2-todo{grid-template-columns:minmax(0,1fr)}.o2-next{flex-wrap:wrap}.o2-npf{grid-template-columns:minmax(0,1fr)}.o2-npk .kvgrid{grid-template-columns:1fr}}
.o2-block small,.o2-block{white-space:normal}
td .o2-sub{white-space:normal}
.o2-car b{display:block;font-size:13px;color:var(--ink)}.o2-car small{display:block;font-size:12px;color:var(--muted)}.o2-car small svg{width:12px;height:12px;vertical-align:-2px}
.o2-teams.h{flex-direction:row;flex-wrap:wrap;margin-top:5px}
.wcell .o2-teams .empty{font-size:12px}
.o2-rowa .btn,.o2-block .btn{white-space:nowrap}
td .o2-block:has(.btn){min-width:170px}
.o2-btns .btn[disabled],.o2-block .btn[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(1)}
.o2-g11 .kvgrid{grid-template-columns:1fr 1fr!important}
.grid-2.o2-eq{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.o2-mi>.tag{align-self:start;justify-self:end;grid-row:1}
.o2-mi>small{grid-column:1}
.o2-amt b{display:block;font-size:14px;color:var(--ink)}.o2-amt small{display:block;font-size:11.5px;color:var(--muted);white-space:nowrap}
.o2-cnsum{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0;padding:0;overflow:hidden;margin-bottom:16px}
.o2-cn-t{min-width:0}
.o2-cnsum .o2-cmp3 th:first-child{color:var(--ink);font-size:13px}
.o2-cnsum .o2-cmp3 th svg{width:15px;height:15px;vertical-align:-3px;color:var(--navy)}
.o2-cnsum .o2-cmp3 td,.o2-cnsum .o2-cmp3 th{padding:11px 18px}
.o2-cnsum .o2-net{margin:14px;justify-content:center}
.o2-fe{margin:14px 16px}
.o2-fe p{font-size:12.5px;color:var(--muted);margin:10px 0 0;line-height:1.7}
.o2-zs{border:0;margin:0;padding:14px 16px}
.o2-zs small{display:block;line-height:1.7}
@media (max-width:1180px){.o2-cnsum{grid-template-columns:minmax(0,1fr)}}
.o2-svc{margin-inline-end:6px}


/* ===== v1.34 — part cms ===== */
/* ---------- v1.34 cms: website content management ---------- */
.cms-root .card.sec{overflow:hidden}
.cms-pad{padding:16px 20px}
.cms-stack{display:flex;flex-direction:column;gap:14px}
.cms-stack>.actrow.sm{padding:4px 0}
.cms-root .fld textarea{width:100%;padding:10px 12px;border:1px solid #d3dae7;border-radius:var(--r-s);background:#fff;font:inherit;font-size:14px;color:var(--ink);resize:vertical;outline:0;line-height:1.7}
.cms-root .fld textarea:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,35,63,.07)}
.cms-f2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cms-f3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cms-sp{flex:1}
.cms-hs{color:var(--muted);font-size:12px;font-weight:500;margin-inline-start:auto}
.cms-sp+.cms-seg,.cms-hs+.cms-sp{margin:0}
.cms-mt{margin-top:16px}.cms-mb{margin-bottom:10px}
.cms-note{color:var(--muted);font-size:13px;line-height:1.75}
.cms-note a,.cms-info a{font-weight:700;text-decoration:underline}
.cms-root .cms-info{margin:0 0 16px}
.cms-row2{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cms-row2>small{color:var(--muted);font-size:12.5px;display:inline-flex;align-items:center;gap:6px}
.cms-row2>span{display:flex;gap:6px}
.cms-save{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
.cms-seg{display:inline-flex;gap:3px;padding:3px;border-radius:9px;background:var(--line-2)}
.cms-seg button{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--muted)}
.cms-seg button svg{width:14px;height:14px}
.cms-seg button.on{background:#fff;color:var(--navy);box-shadow:0 1px 2px rgba(16,26,46,.12)}
.cms-tabs{margin-bottom:16px}
.cms-tabs button em{font-style:normal;font-size:11.5px;padding:0 7px;border-radius:999px;background:var(--line-2);color:var(--muted)}
.cms-tabs button.on em{background:rgba(255,255,255,.18);color:#fff}
/* image placeholders */
.cms-ph{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:8px;color:rgba(255,255,255,.85);width:44px;height:44px;overflow:hidden}
.cms-ph svg{width:18px;height:18px}
.cms-ph.c1{background:linear-gradient(135deg,#2f4d7e,#5f86b8)}
.cms-ph.c2{background:linear-gradient(135deg,#5d8f3a,#9cc96f)}
.cms-ph.c3{background:linear-gradient(135deg,#a0662a,#e0ac5e)}
.cms-ph.c4{background:linear-gradient(135deg,#3f6f78,#7fb3b5)}
.cms-ph.c5{background:linear-gradient(135deg,#6b4f86,#a88dc4)}
.cms-ph.sm{width:44px;height:34px;border-radius:6px}
.cms-ph.md{width:64px;height:46px}
.cms-ph.fill{position:absolute;inset:0;width:auto;height:auto;border-radius:0}
.cms-ph.fill svg{width:26px;height:26px;opacity:.55}
.cms-ph.wide{width:100%;height:120px;border-radius:10px}
.cms-ph.cover{width:100%;height:170px;border-radius:10px}
.cms-ph.cover svg{width:32px;height:32px;opacity:.6}
.cms-ph.av{width:40px;height:40px;border-radius:50%}
.cms-ph.av.lg{width:56px;height:56px}
/* ---- overview ---- */
.cms-h2{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:22px 0 12px}
.cms-h2 b{font-size:16px;color:var(--ink)}
.cms-h2 small{color:var(--muted);font-size:12.5px}
.cms-attn{margin-top:16px}
.cms-arow{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line-2)}
.cms-arow:last-child{border-bottom:0}
.cms-arow>div{flex:1;min-width:0}
.cms-arow b{display:block;font-size:13.5px;color:var(--ink)}
.cms-arow small{display:block;font-size:12px;color:var(--muted)}
.cms-arow .sci{width:32px;height:32px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.cms-arow .sci svg{width:16px;height:16px}
.cms-arow .sci.a{background:var(--amber-soft);color:var(--amber)}
.cms-arow .sci.n{background:var(--navy-soft);color:var(--navy)}
.cms-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cms-scard{display:flex;flex-direction:column;padding:0;overflow:hidden}
.cms-thumb{position:relative;height:104px;background:linear-gradient(180deg,#f3f6fb,#e8edf5);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:14px 18px}
.cms-scard.off .cms-thumb{background:repeating-linear-gradient(135deg,#f1f3f7 0 8px,#eaedf2 8px 16px)}
.cms-scard.off .cms-wf{opacity:.35}
.cms-ord{position:absolute;top:8px;inset-inline-start:8px;min-width:24px;height:24px;padding:0 6px;border-radius:7px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.cms-hid{position:absolute;top:8px;inset-inline-end:8px;display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:600;color:var(--muted)}
.cms-hid svg{width:12px;height:12px}
.cms-wf{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}
.cms-wf .w{display:block;background:#c9d3e3;border-radius:4px}
.cms-wf .row{display:flex;gap:6px;width:100%;justify-content:center;align-items:center}
.cms-wf .col{display:flex;flex-direction:column;gap:6px;flex:1}
.cms-wf .col.wide{width:100%}
.cms-wf .h1{width:60%;height:10px;background:#9fb0c9}.cms-wf .l1{width:70%;height:8px;background:#9fb0c9}.cms-wf .l2{width:85%;height:6px}
.cms-wf .btn{width:56px;height:14px;border-radius:7px;background:var(--green)}
.cms-wf .bar{width:90%;height:22px;border-radius:999px;background:#fff;border:1.5px solid #c9d3e3}
.cms-wf .box{flex:1;height:52px;background:#fff;border:1.5px solid #c9d3e3}
.cms-wf .box.sm{height:44px}.cms-wf .box.tall{flex:.8;height:60px;background:#c9d3e3}
.cms-wf .box.xs{flex:.4;height:40px}.cms-wf .box.big{flex:1.4;height:62px;background:#b6c4da}
.cms-wf .pb{height:8px;border-radius:4px;background:linear-gradient(90deg,var(--green) 0 var(--p),#dde3ed var(--p))}
.cms-wf .p1{--p:92%}.cms-wf .p2{--p:80%}.cms-wf .p3{--p:64%}
.cms-wf .dots{gap:14px}.cms-wf .dot{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #9fb0c9}
.cms-wf .acc{height:13px;background:#fff;border:1.5px solid #c9d3e3}
.cms-wf .logo{width:30px;height:18px}
.cms-pin{width:100%;height:100%;border-radius:8px;background:linear-gradient(135deg,#dfe8d6,#cfdcc4);display:flex;align-items:center;justify-content:center;color:var(--red)}
.cms-pin svg{width:22px;height:22px}
.cms-sb{padding:12px 14px 8px;flex:1;display:flex;flex-direction:column;gap:4px}
.cms-st{display:flex;align-items:center;gap:7px}
.cms-st svg{width:16px;height:16px;color:var(--navy);flex:none}
.cms-st b{font-size:14px;color:var(--ink);flex:1;min-width:0}
.cms-sb>small{color:var(--muted);font-size:12px;line-height:1.6}
.cms-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:auto;padding-top:6px}
.cms-meta span{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted-2)}
.cms-meta svg{width:12px;height:12px}
.cms-sf{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;border-top:1px solid var(--line-2)}
.cms-swl{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.cms-swl .sw{margin:0}
.cms-swl em{font-style:normal;font-size:12px;font-weight:600;color:var(--muted)}
.cms-other{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cms-oc{display:flex;align-items:center;gap:10px;padding:13px 14px;color:var(--body)}
.cms-oc>svg:first-child{width:18px;height:18px;color:var(--navy);flex:none}
.cms-oc>svg:last-child{width:15px;height:15px;color:var(--muted-2);flex:none}
.cms-oc div{flex:1;min-width:0}
.cms-oc b{display:block;font-size:13.5px;color:var(--ink)}
.cms-oc small{display:block;font-size:11.5px;color:var(--muted)}
.cms-oc:hover{border-color:#c9d3e3}
/* ---- tables ---- */
.cms-root tr.cms-dim td{background:#fafbfc}
.cms-root tr.cms-dim .cms-post b{color:var(--muted)}
.cms-root tr.cms-sel td{background:#f6f9fd}
.cms-post{display:flex;align-items:center;gap:10px;min-width:240px}
.cms-post>div{min-width:0}
.cms-post b{font-size:13.5px;color:var(--ink)}
.cms-post small{display:block;color:var(--muted);font-size:11.5px;max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cms-post small[dir=ltr]{text-align:right}
.cms-post .tag svg{width:11px;height:11px;margin-inline-end:3px;vertical-align:-1px}
.cms-langs{display:inline-flex;gap:4px}
.cms-lang{font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:5px;border:1px solid var(--line);color:var(--muted-2);font-family:'IBM Plex Sans',sans-serif}
.cms-lang.on{background:var(--navy-soft);border-color:transparent;color:var(--navy)}
.cms-lang.miss{background:var(--amber-soft);border-color:transparent;color:var(--amber);text-decoration:line-through}
.cms-views{display:inline-flex;align-items:center;gap:5px;color:var(--body)}
.cms-views svg{width:13px;height:13px;color:var(--muted-2)}
.cms-stc{display:inline-flex;align-items:center;gap:8px}
.cms-stc .sw,.cms-stc .tag{margin:0}
.cms-t{display:block;font-size:13px;color:var(--ink)}
td .cms-t+small{color:var(--muted);font-size:12px}
.cms-price{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.cms-price s{color:var(--muted-2);font-size:12px}
.cms-price b{color:var(--ink);font-size:14px}
.cms-price .tag{font-size:11px;margin:2px 0 0}
.cms-price.lg{flex-direction:row;align-items:baseline;gap:10px}
.cms-price.lg b{font-size:18px;color:var(--green-d)}
.cms-valid{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:170px}
.cms-valid small{color:var(--muted);font-size:11.5px}
.cms-valid .tag{margin:0}
.cms-vbar{display:block;width:140px;height:4px;border-radius:2px;background:var(--line-2);overflow:hidden}
.cms-vbar i{display:block;height:100%;background:var(--green)}
.cms-vbar.a i{background:var(--amber)}.cms-vbar.r i{background:var(--red)}
/* ---- blog editor ---- */
.cms-editor{border:1px solid #d3dae7;border-radius:var(--r-s);overflow:hidden;background:#fff}
.cms-tb{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid var(--line);background:var(--bg)}
.cms-tb button{width:30px;height:30px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:var(--body)}
.cms-tb button:hover{background:#fff}
.cms-tb svg{width:16px;height:16px}
.cms-tb .sep{width:1px;height:18px;background:var(--line);margin:0 4px}
.cms-body{padding:14px 18px;min-height:230px;font-size:14.5px;line-height:1.9;color:var(--body)}
.cms-body h3{font-size:16px;margin:0 0 6px}
.cms-body p{margin:0 0 10px}
.cms-body ul{margin:0 0 10px;padding-inline-start:22px}
.cms-wc{display:flex;gap:16px;padding:7px 14px;border-top:1px solid var(--line-2);font-size:11.5px;color:var(--muted-2)}
.cms-serp{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.cms-serp small{display:block;color:#3c6e3a;font-size:12px;font-family:'IBM Plex Sans',sans-serif}
.cms-serp b{display:block;color:#1a3fa6;font-size:16px;font-weight:600;margin:2px 0}
.cms-serp p{margin:0;color:var(--muted);font-size:13px}
.cms-faqrow{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.cms-faqrow>.cms-stack{flex:1;gap:10px}
.cms-n{min-width:24px;height:24px;padding:0 5px;border-radius:7px;background:var(--navy-soft);color:var(--navy);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:none}
.cms-pub{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cms-pub .cx-rcard svg{width:17px;height:17px;color:var(--navy)}
.cms-pub .cx-rcard small{font-size:11.5px;color:var(--muted);line-height:1.6}
.cms-root .cx-rcard.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}
.cms-kv .kvgrid{margin:0;padding:0}
.cms-cover{position:relative}
.cms-cover-a{position:absolute;bottom:10px;inset-inline-end:10px}
.cms-cover-a .btn{background:#fff}
.cms-slug{display:flex;align-items:center;border:1px solid #d3dae7;border-radius:var(--r-s);overflow:hidden;background:#fff;direction:ltr}
.cms-slug span{padding:0 10px;height:42px;display:flex;align-items:center;background:var(--bg);border-right:1px solid var(--line);font-size:12px;color:var(--muted);white-space:nowrap}
.cms-root .cms-slug input{border:0;border-radius:0;box-shadow:none;min-width:0}
/* ---- offers ---- */
.cms-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:42px;padding:5px 8px;border:1px solid #d3dae7;border-radius:var(--r-s);background:#fff}
.cms-tags span{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:var(--navy-soft);color:var(--navy);font-size:12.5px;font-weight:600}
.cms-tags span svg{width:12px;height:12px}
.cms-root .cms-tags input{border:0;height:30px;padding:0 4px;flex:1;min-width:90px;box-shadow:none}
.cms-tags.dis{background:var(--line-2)}
.cms-root .cms-tags.dis input{background:transparent}
.cms-imgrow{display:flex;align-items:center;gap:12px}
.cms-offer{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.cms-oimg{position:relative;height:150px}
.cms-ribbon{position:absolute;top:10px;inset-inline-start:10px;display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:#f5c04a;color:#3b2a05;font-size:11.5px;font-weight:700}
.cms-ribbon svg{width:13px;height:13px}
.cms-off{position:absolute;bottom:10px;inset-inline-end:10px;padding:3px 10px;border-radius:8px;background:var(--red);color:#fff;font-size:13px;font-weight:700;direction:ltr}
.cms-ob{padding:14px;display:flex;flex-direction:column;gap:6px}
.cms-ob>b{font-size:15.5px;color:var(--ink)}
.cms-ob>small{color:var(--muted);font-size:12.5px}
.cms-until{display:inline-flex;align-items:center;gap:5px;color:var(--amber)!important}
.cms-until svg{width:13px;height:13px}
.cms-cta{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;padding:7px 16px;border-radius:8px;background:var(--green);color:#fff;font-size:13px;font-weight:700;margin-top:4px}
.cms-cta.ghost{background:#fff;border:1px solid var(--line);color:var(--navy)}
.cms-tickcard{padding:12px 16px;margin-bottom:16px}
.cms-tickcard>small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.cms-ticker{display:flex;align-items:center;gap:12px;background:var(--navy);color:#fff;border-radius:9px;padding:8px 12px;overflow:hidden;white-space:nowrap}
.cms-ticker>div{display:flex;gap:12px;align-items:center;overflow:hidden;font-size:13px;mask-image:linear-gradient(to left,#000 85%,transparent)}
.cms-ticker i{font-style:normal;opacity:.5}
.cms-tl{display:inline-flex;align-items:center;gap:5px;padding:2px 10px;border-radius:6px;background:var(--green);font-size:12px;font-weight:700;flex:none}
.cms-tl svg{width:13px;height:13px}
.dropz.sm{padding:16px}
.dropz.sm svg{width:22px;height:22px}
/* ---- browser preview ---- */
.cms-browser{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.cms-bar{display:flex;align-items:center;gap:5px;padding:7px 10px;background:var(--line-2);border-bottom:1px solid var(--line)}
.cms-bar i{width:8px;height:8px;border-radius:50%;background:#c6cedb}
.cms-bar span{margin-inline-start:8px;flex:1;background:#fff;border-radius:5px;padding:1px 8px;font-size:11px;color:var(--muted);text-align:left}
.cms-prevcard .sec-h .cms-seg{margin-inline-start:auto}
.cms-hero{position:relative;height:250px;display:flex;align-items:flex-end}
.cms-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,22,38,.78),rgba(13,22,38,.1))}
.cms-hero-t{position:relative;z-index:1;padding:18px;color:#fff;display:flex;flex-direction:column;gap:6px}
.cms-hero-t b{font-size:20px}
.cms-hero-t small{font-size:12.5px;opacity:.9;line-height:1.7}
.cms-play{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.18);font-size:12px;font-weight:600}
.cms-play svg{width:14px;height:14px}
.cms-dots{position:absolute;z-index:1;top:12px;inset-inline-end:14px;display:flex;gap:5px}
.cms-dots i,.cms-sdots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5)}
.cms-dots i.on{background:#fff;width:18px;border-radius:4px}
.cms-imgs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cms-imgs.sm{grid-template-columns:repeat(6,minmax(0,1fr))}
.cms-imgt{position:relative;aspect-ratio:4/3;border-radius:9px;overflow:hidden;border:1px solid var(--line)}
.cms-imgt>span.num{position:absolute;top:6px;inset-inline-start:6px;width:20px;height:20px;border-radius:6px;background:rgba(13,22,38,.6);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.cms-imgt>button{position:absolute;top:6px;inset-inline-end:6px;width:22px;height:22px;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--red)}
.cms-imgt>button svg{width:13px;height:13px}
.cms-imgt.add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1.5px dashed #c3cbda;background:var(--bg);color:var(--muted)}
.cms-imgt.add svg{width:20px;height:20px}
.cms-imgt.add small{font-size:11.5px}
/* ---- lists ---- */
.cms-list{display:flex;flex-direction:column}
.cms-li{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid var(--line-2)}
.cms-li.on{background:#f6f9fd;box-shadow:inset -3px 0 0 var(--navy)}
.cms-li.off .cms-lt b{color:var(--muted)}
.cms-li .tag,.cms-li .rowacts{margin:0;flex:none}
.cms-lt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.cms-lt b{font-size:13.5px;color:var(--ink)}
.cms-lt small{font-size:12px;color:var(--muted)}
.cms-lt small[dir=ltr]{text-align:right;color:var(--muted-2)}
.cms-lnk{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--navy);background:var(--navy-soft);padding:2px 8px;border-radius:6px;flex:none}
.cms-lnk svg{width:12px;height:12px}
.cms-grip{display:inline-flex;color:#a9b3c3;cursor:grab;flex:none}
.cms-grip svg{width:16px;height:16px}
.cms-ic{width:34px;height:34px;border-radius:9px;background:var(--navy-soft);color:var(--navy);display:inline-flex;align-items:center;justify-content:center;flex:none}
.cms-ic svg{width:17px;height:17px}
.cms-addrow{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;color:var(--navy);font-size:13px;font-weight:700}
.cms-addrow svg{width:15px;height:15px}
.cms-addrow:hover{background:var(--bg)}
.cms-bul{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:3px}
.cms-bul em{font-style:normal;font-size:11.5px;color:var(--green-d);display:inline-flex;align-items:center;gap:3px}
.cms-bul svg{width:12px;height:12px}
.cms-mini{display:flex;flex-wrap:wrap;gap:8px}
.cms-mini span,.cms-mini button{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12.5px;font-weight:600;color:var(--ink)}
.cms-mini em{font-style:normal;font-size:11px;color:var(--muted-2)}
.cms-mini svg{width:14px;height:14px;color:var(--navy)}
.cms-mini button{border-style:dashed;color:var(--navy)}
/* ---- sections vertical layout ---- */
.cms-vlay{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}
.cms-vnav{position:sticky;top:84px;padding:8px;display:flex;flex-direction:column;gap:2px}
.cms-vnav button{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--body);text-align:start}
.cms-vnav button svg{width:16px;height:16px;color:var(--muted)}
.cms-vnav button span{flex:1}
.cms-vnav button em{font-style:normal;font-size:11px;color:var(--muted);background:var(--line-2);padding:0 7px;border-radius:999px}
.cms-vnav button:hover{background:var(--bg)}
.cms-vnav button.on{background:var(--navy);color:#fff}
.cms-vnav button.on svg{color:#fff}
.cms-vnav button.on em{background:rgba(255,255,255,.18);color:#fff}
.cms-vfoot{margin-top:8px;padding:10px 12px 4px;border-top:1px solid var(--line-2)}
.cms-vfoot small{display:block;font-size:11.5px;color:var(--muted)}
.cms-vfoot a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.cms-vfoot svg{width:14px;height:14px}
.cms-vbody .grid-2{margin-bottom:0}
.cms-togs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cms-tog{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.cms-tog>svg{width:16px;height:16px;color:var(--navy);flex:none}
.cms-tog div{flex:1;min-width:0}
.cms-tog b{display:block;font-size:13px;color:var(--ink)}
.cms-tog small{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cms-tog.off{background:var(--bg)}
.cms-tog .sw{margin:0}
.cms-chk{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
.cms-chk label{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted);padding:3px 0}
.cms-chk label.on{color:var(--ink);font-weight:600}
.cms-chk .cb{width:16px;height:16px;border-radius:4px;border:1.5px solid #c3cbda;display:inline-flex;align-items:center;justify-content:center;flex:none;background:#fff}
.cms-chk label.on .cb{background:var(--navy);border-color:var(--navy);color:#fff}
.cms-chk .cb svg{width:11px;height:11px}
/* previews */
.cms-pvh{display:block;font-size:16px;color:var(--ink);text-align:center;margin-bottom:6px}
.cms-pvgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.cms-pvgrid.two{grid-template-columns:1fr 1fr;margin:0}
.cms-pvgrid>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:10px 6px;border:1px solid var(--line-2);border-radius:9px;background:#fbfcfe}
.cms-pvgrid>div>span{width:30px;height:30px;border-radius:50%;background:var(--green-soft);color:var(--green-d);display:inline-flex;align-items:center;justify-content:center}
.cms-pvgrid>div>span svg{width:15px;height:15px}
.cms-pvgrid b{font-size:12px;color:var(--ink)}
.cms-pvgrid small{font-size:10.5px;color:var(--muted);line-height:1.5}
.cms-pv-wc,.cms-pv-what,.cms-pv-about,.cms-pv-steps,.cms-pv-map{display:flex;flex-direction:column;gap:8px}
.cms-pv-wc>b{font-size:16px;color:var(--ink);line-height:1.5}
.cms-pv-wc mark{background:none;color:var(--green-d)}
.cms-pv-wc>small,.cms-pv-what>small,.cms-pv-about>small{color:var(--muted);font-size:12.5px;line-height:1.7}
.cms-pv-what>small{text-align:center}
.cms-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:-26px;margin-inline:10px;position:relative;background:#fff;border-radius:8px;box-shadow:var(--shadow);padding:6px}
.cms-strip span{font-size:10.5px;font-weight:700;color:var(--navy);text-align:center}
.cms-pvc{display:flex;gap:10px;padding:10px;border:1px solid var(--line-2);border-radius:9px}
.cms-pvc b{display:block;font-size:13px;color:var(--ink)}
.cms-pvc small{display:block;font-size:11.5px;color:var(--muted)}
.cms-pvc em{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-size:11px;color:var(--green-d);margin-inline-end:8px}
.cms-pvc em svg{width:11px;height:11px}
.cms-mvv{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cms-mvv div{display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:9px;background:var(--bg)}
.cms-mvv span{color:var(--green-d)}.cms-mvv svg{width:16px;height:16px}
.cms-mvv b{font-size:12.5px;color:var(--ink)}.cms-mvv small{font-size:10.5px;color:var(--muted);line-height:1.6}
.cms-met{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
.cms-mv{display:flex;flex-direction:column}
.cms-mv button{height:15px;display:flex;align-items:center;color:var(--muted-2)}
.cms-mv svg{width:14px;height:14px}
.cms-mic{width:30px;height:30px;border-radius:8px;background:var(--green-soft);color:var(--green-d);display:inline-flex;align-items:center;justify-content:center;flex:none}
.cms-mic svg{width:15px;height:15px}
.cms-met>input{flex:1;min-width:0;height:36px;border:1px solid #d3dae7;border-radius:7px;padding:0 10px;font-size:13px;color:var(--ink)}
.cms-mval{display:flex;align-items:center;gap:4px}
.cms-mval input{width:58px;height:36px;border:1px solid #d3dae7;border-radius:7px;text-align:center;font-weight:700;color:var(--ink)}
.cms-mval em{font-style:normal;font-size:12px;color:var(--muted)}
.cms-met .rowacts{margin:0}
.cms-pv-mus{display:flex;flex-direction:column;gap:9px}
.cms-mh{display:flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid var(--line-2)}
.cms-mh>span{width:38px;height:38px;border-radius:10px;background:#fbf1d6;color:#a77a12;display:inline-flex;align-items:center;justify-content:center;flex:none}
.cms-mh>div{flex:1}.cms-mh b{display:block;font-size:14px;color:var(--ink)}.cms-mh small{font-size:11.5px;color:var(--muted)}
.cms-mh em{font-style:normal;padding:3px 10px;border-radius:999px;background:linear-gradient(135deg,#e9c25a,#c9962a);color:#fff;font-weight:700;font-size:12px}
.cms-pr{display:grid;grid-template-columns:1fr auto;gap:3px 10px;font-size:12px}
.cms-pr b{color:var(--ink)}
.cms-pr i{grid-column:1/-1;height:6px;border-radius:3px;background:var(--line-2);overflow:hidden}
.cms-pr u{display:block;height:100%;background:var(--green)}
.cms-stars{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cms-stars div{padding:8px;border-radius:9px;background:var(--bg);display:flex;flex-direction:column;gap:1px}
.cms-stars b{font-size:16px;color:var(--ink)}.cms-stars span{color:#e0a82e;font-size:12px;letter-spacing:1px}.cms-stars small{font-size:10.5px;color:var(--muted)}
.cms-brs{display:flex;gap:6px;justify-content:center}
.cms-brs span{padding:4px 10px;border-radius:999px;border:1px solid var(--line);font-size:12px;font-weight:600}
.cms-brs span.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.cms-mapph{height:160px;border-radius:10px;background:linear-gradient(135deg,#e2ead9,#d3dfc8);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--red)}
.cms-mapph svg{width:26px;height:26px}.cms-mapph small{color:var(--muted);font-size:11.5px}
.cms-pv-map>small{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}
.cms-pv-map>small svg{width:13px;height:13px}
.cms-tli{display:flex;gap:10px;position:relative;padding-bottom:6px}
.cms-tli>span{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none;position:relative;z-index:1}
.cms-tli>span svg{width:14px;height:14px}
.cms-tli:not(:last-child):before{content:"";position:absolute;top:30px;bottom:0;inset-inline-start:14px;width:2px;background:var(--line)}
.cms-tli b{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink)}
.cms-tli em{font-style:normal;font-size:11px;color:var(--green-d)}
.cms-tli small{font-size:11.5px;color:var(--muted)}
.cms-icpick{display:flex;flex-wrap:wrap;gap:6px}
.cms-icpick button{width:38px;height:38px;border-radius:8px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--body);background:#fff}
.cms-icpick button.on{border-color:var(--navy);background:var(--navy);color:#fff}
.cms-icpick svg{width:17px;height:17px}
/* sliders */
.cms-slide{position:relative;height:200px;border-radius:10px;overflow:hidden;display:flex;align-items:flex-end}
.cms-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,22,38,.75),transparent 70%)}
.cms-slide>div{position:relative;z-index:1;padding:16px 46px;color:#fff;display:flex;flex-direction:column;gap:4px}
.cms-slide b{font-size:17px}.cms-slide small{font-size:12px;opacity:.9}
.cms-arr{position:absolute;z-index:1;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center;color:var(--navy)}
.cms-arr.r{right:10px}.cms-arr.l{left:10px}
.cms-arr svg{width:15px;height:15px}
.cms-sdots{display:flex;gap:5px;justify-content:center;margin-top:10px}
.cms-sdots i{background:#cdd5e1}.cms-sdots i.on{background:var(--navy);width:18px;border-radius:4px}
/* testimonials */
.cms-quotes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cms-q{position:relative;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.cms-q.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}
.cms-q>.cms-grip{position:absolute;top:14px;inset-inline-end:10px}
.cms-qh{display:flex;align-items:center;gap:10px}
.cms-qh>div{flex:1;min-width:0}
.cms-qh b{display:block;font-size:13.5px;color:var(--ink)}.cms-qh small{display:block;font-size:12px;color:var(--muted)}
.cms-q .cms-langs{margin-inline-end:20px}
.cms-q p{margin:0;font-size:13.5px;line-height:1.8;color:var(--body);flex:1}
.cms-qf{display:flex;justify-content:flex-end}
.cms-pv-q{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:12px;background:var(--bg)}
.cms-pv-q p{margin:0;font-size:14px;line-height:1.8;color:var(--ink)}
.cms-qm{color:var(--green)}.cms-qm svg{width:26px;height:26px}
/* partners */
.cms-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cms-logo{position:relative;padding:12px;display:flex;flex-direction:column;gap:8px}
.cms-logo.on{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-soft)}
.cms-logo>.cms-grip{position:absolute;top:10px;inset-inline-end:8px;z-index:1}
.cms-logo>div{display:flex;align-items:center;justify-content:space-between;gap:6px}
.cms-logo>div>b{font-size:12.5px;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cms-logo>div .rowacts{margin:0}
.cms-logo.add{align-items:center;justify-content:center;border:1.5px dashed #c3cbda;background:var(--bg);color:var(--navy);min-height:150px}
.cms-logo.add svg{width:22px;height:22px}.cms-logo.add b{font-size:13px}
.cms-lg{height:84px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f7f9fc;border:1px solid var(--line-2)}
.cms-lg svg{width:22px;height:22px}
.cms-lg b{font-size:12.5px;font-weight:800;letter-spacing:-.2px}
.cms-lg.c1{color:#2f4d7e}.cms-lg.c2{color:#5d8f3a}.cms-lg.c3{color:#a0662a}.cms-lg.c4{color:#3f6f78}.cms-lg.c5{color:#6b4f86}
.cms-lg.big{width:120px;height:70px}
.cms-lg.mini{height:44px}
.cms-pvlogos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;filter:grayscale(1);opacity:.75}
/* faq */
.cms-acc{display:flex;flex-direction:column}
.cms-ai{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line-2);cursor:pointer}
.cms-ai>svg{width:16px;height:16px;color:var(--muted);flex:none;margin-top:4px}
.cms-ai .cms-grip,.cms-ai .cms-n{margin-top:2px}
.cms-ai .rowacts,.cms-ai .cms-stc{flex:none}
.cms-aq{flex:1;min-width:0}
.cms-aq b{font-size:13.5px;color:var(--ink)}
.cms-aq p{margin:6px 0 0;font-size:13px;color:var(--muted);line-height:1.8}
.cms-ai:not(.open) .cms-aq p{display:none}
.cms-ai.open{background:#f8fafd}
.cms-ai.off .cms-aq b{color:var(--muted)}
.cms-pvacc{display:flex;flex-direction:column;gap:6px}
.cms-pvacc div{padding:9px 12px;border:1px solid var(--line);border-radius:9px}
.cms-pvacc div.open{border-color:var(--green)}
.cms-pvacc b{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;color:var(--ink)}
.cms-pvacc b svg{width:14px;height:14px;color:var(--green-d);flex:none}
.cms-pvacc small{display:block;margin-top:5px;font-size:11.5px;color:var(--muted);line-height:1.7}
/* responsive */
@media(max-width:1280px){.cms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cms-other{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.cms-vlay{grid-template-columns:1fr}.cms-vnav{position:static;flex-direction:row;flex-wrap:wrap}.cms-vnav button{flex:none}.cms-vfoot{display:none}.cms-togs{grid-template-columns:1fr}}
@media(max-width:900px){.cms-grid,.cms-other{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-f3{grid-template-columns:1fr 1fr}.cms-quotes{grid-template-columns:1fr}.cms-logos{grid-template-columns:1fr 1fr}.cms-imgs{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.cms-grid,.cms-other,.cms-f2,.cms-f3,.cms-pub{grid-template-columns:1fr}}
.cms-root td .cms-post b{white-space:normal;display:inline}
.cms-root td .cms-post>div{max-width:400px;white-space:normal}
.cms-root td .cms-valid{min-width:0}
.cms-root .card.sec{padding:0}
.cms-facts{display:flex;flex-direction:column;border:1px solid var(--line-2);border-radius:10px;overflow:hidden}
.cms-facts>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line-2);font-size:13px}
.cms-facts>div:last-child{border-bottom:0}
.cms-facts span{color:var(--muted)}
.cms-facts b{color:var(--ink);font-weight:600}
.cms-facts .tag{margin:0}
.cms-root td .cms-lt{white-space:normal}.cms-root td .cms-lt .tag{margin:2px 0 0}
.cms-imgt>span.num,.cms-imgt>button{z-index:1}
.cms-vbody .cms-togs{grid-template-columns:1fr}
.cms-vlay{grid-template-columns:200px minmax(0,1fr)}
.cms-root .sec-h .tag{flex:none;white-space:nowrap}
.cms-root .sec-h>b{min-width:0}
.cms-hero .cms-ph svg,.cms-slide .cms-ph svg,.cms-oimg .cms-ph svg{display:none}
.cms-vbody .grid-2.wide-l{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.cms-vbody .cms-pvgrid{grid-template-columns:1fr 1fr}.cms-met>input{min-width:140px}
.cms-mvv{grid-template-columns:1fr}.cms-mvv div{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center}.cms-mvv small{grid-column:2}
@media(max-width:1100px){.cms-vlay{grid-template-columns:1fr}.cms-vbody .grid-2.wide-l{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:900px){.cms-vbody .grid-2.wide-l{grid-template-columns:1fr}}

