/* One Team — the design, one way everywhere (v561, Adham). Loaded last: it wins over the older looks.
   3 corners (10 small · 14 buttons and boxes · 22 cards) · one purple shadow in two sizes (on dark pages: turquoise) ·
   3 buttons (main orange · second white · small) · one split-tab look (white frame, the chosen one orange). */
:root{--ds-ink:#1a0420;--ds-pur:#37003C;--ds-or:#FF7900;--ds-lil:#F6F1F7;--ds-mut:#6b5d6e;
  --ds-r1:10px;--ds-r2:14px;--ds-r3:22px;--ds-sh1:2px 2px 0 #37003C;--ds-sh2:3px 3px 0 #37003C;--ds-shc:4px 4px 0 #37003C;
  --ds-f:Poppins,'IBM Plex Sans Arabic',system-ui,sans-serif}

/* ---------- 1 · buttons ---------- */
/* main (orange): the one thing that matters most in a card */
html:not(#z):not(#y) body .fw-btn:not(.ghost):not(.sm),
html:not(#z):not(#y) body .op-btn,
html:not(#z):not(#y) body .ml-btn,
html:not(#z):not(#y) body .arr-go{min-height:44px!important;border:2.5px solid var(--ds-ink)!important;border-radius:var(--ds-r2)!important;background:var(--ds-or)!important;background-image:none!important;
  color:#fff!important;font:700 14px var(--ds-f)!important;box-shadow:var(--ds-sh2)!important;padding:0 16px!important;display:flex!important;align-items:center;justify-content:center;gap:6px;text-shadow:none!important;letter-spacing:0!important}
/* second (white) */
html:not(#z):not(#y) body .fw-btn.ghost:not(.sm){min-height:44px!important;border:2.5px solid var(--ds-ink)!important;border-radius:var(--ds-r2)!important;background:#fff!important;background-image:none!important;
  color:var(--ds-ink)!important;font:700 14px var(--ds-f)!important;box-shadow:var(--ds-sh2)!important;padding:0 16px!important;display:flex!important;align-items:center;justify-content:center;gap:6px}
/* small: add · filters · Excel */
html:not(#z):not(#y) body .fw-btn.sm,
html:not(#z):not(#y) body .xl-btn,
html:not(#z):not(#y) body .ms-ty button{min-height:32px!important;height:auto!important;border:2px solid var(--ds-ink)!important;border-radius:999px!important;background:#fff!important;background-image:none!important;
  color:var(--ds-ink)!important;font:700 12px var(--ds-f)!important;box-shadow:var(--ds-sh1)!important;padding:0 12px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:5px;width:auto!important}
html:not(#z):not(#y) body .fw-btn.sm:not(.ghost){background:var(--ds-or)!important;color:#fff!important}
html:not(#z):not(#y) body :is(.fw-btn,.op-btn,.ml-btn,.arr-go,.xl-btn):active{transform:translate(2px,2px);box-shadow:none!important}
html:not(#z):not(#y) body :is(.fw-btn,.op-btn,.ml-btn,.arr-go,.xl-btn):disabled{opacity:.5!important}

/* ---------- 2 · split tabs (Daily/Monthly · Shops/Daily/Action · SR code/Hunts/Forms …) ---------- */
html:not(#z):not(#y) body :is(.seg,.st-seg,.ms-seg,.s3-tabs,.rank-seg,.mt-seg):has(> button){display:flex!important;gap:4px!important;background:#fff!important;border:2.5px solid var(--ds-ink)!important;border-radius:16px!important;
  padding:5px!important;box-shadow:var(--ds-sh2)!important;overflow:visible!important;grid-auto-flow:unset}
html:not(#z):not(#y) body :is(.seg,.st-seg,.ms-seg,.s3-tabs,.rank-seg,.mt-seg):has(> button) > button{flex:1 1 0!important;min-width:0!important;height:38px!important;min-height:0!important;margin:0!important;border:0!important;border-radius:11px!important;
  background:transparent!important;background-image:none!important;color:#4A2F4D!important;font:700 13px var(--ds-f)!important;box-shadow:none!important;padding:0 6px!important;display:flex!important;align-items:center;justify-content:center;gap:5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(#z):not(#y) body :is(.seg,.st-seg,.ms-seg,.s3-tabs,.rank-seg,.mt-seg):has(> button) > button.on{background:var(--ds-or)!important;color:#fff!important;box-shadow:inset 0 0 0 2px var(--ds-ink)!important}
html:not(#z):not(#y) body :is(.seg,.st-seg,.ms-seg,.s3-tabs,.rank-seg,.mt-seg):has(> button) > button::before,
html:not(#z):not(#y) body :is(.seg,.st-seg,.ms-seg,.s3-tabs,.rank-seg,.mt-seg):has(> button) > button::after{display:none!important}

/* ---------- 5 · cards: one card, one header (purple with the green line), 22 corners, one shadow ---------- */
html:not(#z):not(#y) body :is(.fw-card,.op-card,.xp-card){border-radius:var(--ds-r3)!important;border:2.5px solid var(--ds-ink)!important;box-shadow:var(--ds-shc)!important;background:#fff!important;overflow:hidden!important;margin-bottom:14px!important}
html:not(#z):not(#y) body :is(.fw-card,.op-card,.xp-card) > :is(.fw-hd,.op-h){min-height:48px;padding:12px 14px!important;align-items:center}
html:not(#z):not(#y) body :is(.fw-card,.op-card,.xp-card) > :is(.fw-hd,.op-h) > b{font:700 14.5px var(--ds-f)!important;letter-spacing:0!important}
html:not(#z):not(#y) body :is(.fw-card,.op-card,.xp-card) > :is(.fw-hd,.op-h) > b small{font:500 11.5px var(--ds-f)!important}
/* the counters inside a card, as one row with the card's room */
html:not(#z):not(#y) body .fw-card > .ft-sum{margin-left:14px!important;margin-right:14px!important}

/* ---------- 3 · status: 5 colours only ---------- */
html:not(#z):not(#y) body :is(.ms-st,.rq-st,.ml-st,.cl-stat){font:700 11.5px var(--ds-f)!important;border-radius:999px!important;padding:4px 11px!important;border:1.5px solid #ddd!important;background:#F2F0F3!important;color:#777!important;box-shadow:none!important;white-space:nowrap}
html:not(#z):not(#y) body :is(.ms-st.ok,.rq-st.ok,.rq-st.approved,.rq-st.done,.ml-st.solved,.ml-st.done,.ml-st.closed,.cl-stat.ok){background:#E3F8EE!important;color:#0A7A4F!important;border-color:#9fdcbf!important}
html:not(#z):not(#y) body :is(.ms-st.sent,.rq-st.wait,.rq-st.pending,.rq-st.new,.ml-st.open,.ml-st.new,.ml-st.pending){background:#FFF0DC!important;color:#B26A00!important;border-color:#f3c98f!important}
html:not(#z):not(#y) body :is(.ms-st.no,.rq-st.no,.rq-st.declined,.rq-st.rejected,.rq-st.cancelled,.cl-stat.bad,.ml-st.late){background:#FDE6EA!important;color:#B5203A!important;border-color:#f1a9b7!important}
html:not(#z):not(#y) body :is(.ms-st.none){background:#F2F0F3!important;color:#777!important;border-color:#ddd!important}

/* ---------- 6 · corners: 14 for boxes you type in ---------- */
html:not(#z):not(#y) body :is(.fw-sel,.ms-af select,.fw-card input[type=text],.fw-card input[type=number],.fw-card input[type=date],.fw-card select){border-radius:var(--ds-r2)!important}

/* ---------- SR code · Hunts · Forms: the same tiles and rows in all three ---------- */
html:not(#z):not(#y) body .sr-ov :is(#v-sr,#v-mails) .tl{border-radius:var(--ds-r3)!important;border:2.5px solid var(--ds-ink)!important;box-shadow:var(--ds-shc)!important;padding:12px!important;min-height:108px!important;background:#fff!important}
html:not(#z):not(#y) body .sr-ov :is(#v-sr,#v-mails) .tl :is(img.emo,.emo){width:30px!important;height:30px!important}
html:not(#z):not(#y) body .sr-ov :is(#v-sr,#v-mails) .tl b{font:700 14px var(--ds-f)!important}
html:not(#z):not(#y) body .sr-ov :is(#v-sr,#v-mails) .tl small{font:500 11.5px var(--ds-f)!important;color:var(--ds-mut)!important}
/* Forms rows: one list in one card, as SR codes and Hunts (no card per row) */
html:not(#z):not(#y) body #v-mails .gcard.tl-list{border-radius:var(--ds-r3)!important;border:2.5px solid var(--ds-ink)!important;box-shadow:var(--ds-shc)!important;background:#fff!important;padding:4px 14px!important;overflow:hidden}
html:not(#z):not(#y) body #v-mails .gcard.tl-list > .g-row{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:12px 0!important;border-bottom:2px dashed #e3d6e7!important}
html:not(#z):not(#y) body #v-mails .gcard.tl-list > .g-row:last-child{border-bottom:0!important}

/* ---------- 4 · loading (style ج): the last copy stays, dimmed; an orange line runs under the header ---------- */
html:not(#z):not(#y) .top::before{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;z-index:3;background:var(--ds-or);opacity:0;transition:opacity .2s}
html.ot-loading:not(#z):not(#y) .top::before{opacity:1;animation:otBar 1.1s ease-in-out infinite}
html.ot-loading:not(#z):not(#y)::after{display:none}
html.ot-loading:not(#z):not(#y) body .view.on{opacity:.5;transition:opacity .2s}
html:not(#z):not(#y) body .view.on{transition:opacity .2s}
/* first time (nothing to show yet): grey shapes, with the same orange line on top */
html:not(#z):not(#y) body :is(.sk-card,.sk-tb,.sk-rows,.am-none.ot-ld){position:relative;overflow:hidden}
html:not(#z):not(#y) body :is(.sk-card,.sk-tb,.sk-rows,.am-none.ot-ld)::before{content:"";position:absolute;left:0;top:0;height:3px;width:0;background:var(--ds-or);animation:otBar 1.1s ease-in-out infinite;z-index:2}
html:not(#z):not(#y) body .am-none.ot-ld{margin:10px 14px!important;padding:16px 14px!important;border-radius:var(--ds-r2)!important;background:var(--ds-lil)!important;border:0!important;text-align:center;font:500 13px var(--ds-f)!important;color:var(--ds-mut)!important;opacity:.8}
@media (prefers-reduced-motion:reduce){html:not(#z):not(#y) body :is(.sk-card,.sk-tb,.sk-rows,.am-none.ot-ld)::before,html.ot-loading .top::before{animation:none;width:40%}}

/* empty: a dashed box, the icon beside the words */
html:not(#z):not(#y) body :is(.am-none:not(.ot-ld),.s3-empty,.f1-empty,.gd-empty,.ib-none,.tkl-none,.yb-none,.pp-none,.ach-none){display:flex!important;align-items:center;justify-content:center;gap:10px;margin:10px 14px!important;padding:14px!important;border:2px dashed #CDB9D2!important;border-radius:var(--ds-r2)!important;background:#FBF8FC!important;box-shadow:none!important;font:600 13px var(--ds-f)!important;color:var(--ds-mut)!important;text-align:start!important;opacity:1!important;min-height:0!important}
html:not(#z):not(#y) body :is(.am-none:not(.ot-ld),.s3-empty,.f1-empty,.gd-empty,.ib-none,.tkl-none,.yb-none,.pp-none,.ach-none)::before{content:"";flex:none;width:22px;height:22px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A7FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1.5 3h5L16 13h5'/%3E%3Cpath d='M5.5 5h13L21 13v6H3v-6z'/%3E%3C/svg%3E")}
/* inside a table cell or a row it stays a plain line */
html:not(#z):not(#y) body :is(td,th,li,.g-row) > .am-none{display:block!important;border:0!important;background:none!important;margin:0!important;padding:6px 0!important}
html:not(#z):not(#y) body :is(td,th,li,.g-row) > .am-none::before{display:none}

/* ---------- 9 · bottom sheets: one grip, one ✕, one title ---------- */
html:not(#z):not(#y) body :is(.m3-grip,.rq-grip,.tk-grip){display:block!important;width:44px!important;height:5px!important;border-radius:3px!important;background:#D8CCDB!important;margin:6px auto 10px!important}
html:not(#z):not(#y) body :is(.m3-x,.ms-x,.rq-x,.nr-x,.nfd-x,.mc-x,.nbd-x,.bs-x,.ch-x){width:36px!important;height:36px!important;flex:none;display:grid!important;place-items:center;padding:0!important;border-radius:50%!important;background:#fff!important;color:var(--ds-ink)!important;border:2.5px solid var(--ds-ink)!important;box-shadow:var(--ds-sh1)!important;font:800 14px var(--ds-f)!important}
html:not(#z):not(#y) body :is(.ms-top b,.rq-sh-h b,.m3-ph b){font:700 17px var(--ds-f)!important}

/* v565 (Adham): Shop Managers' attendance — one table: Name · Shift · In · Out · Hours (the time of each photo beside it, no editing) */
html:not(#z):not(#y) body .mg-tb{width:100%;border-collapse:collapse;table-layout:fixed}
html:not(#z):not(#y) body .mg-tb th{font:700 10.5px var(--ds-f);letter-spacing:.06em;text-transform:uppercase;color:#8a7a8d;text-align:left;padding:8px 6px 4px;background:none!important;border:0!important}
html:not(#z):not(#y) body .mg-tb th:first-child,html:not(#z):not(#y) body .mg-tb td:first-child{padding-left:14px;width:31%}
html:not(#z):not(#y) body .mg-tb th:last-child,html:not(#z):not(#y) body .mg-tb td:last-child{padding-right:14px;width:17%}
html:not(#z):not(#y) body .mg-tb th:nth-child(2){width:14%}
html:not(#z):not(#y) body .mg-tb :is(th,td).c{text-align:center}
html:not(#z):not(#y) body .mg-tb td{padding:8px 6px;border:0!important;border-top:1px solid #f0eaf1!important;vertical-align:middle;background:none!important}
html:not(#z):not(#y) body .mg-tb td.n b{display:block;font:700 14px var(--ds-f);color:var(--ds-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(#z):not(#y) body .mg-tb td.n small{display:block;font:500 11.5px var(--ds-f);color:var(--ds-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(#z):not(#y) body .mg-cl{display:flex;align-items:center;gap:6px;min-width:0}
html:not(#z):not(#y) body .mg-cl .op-ph{width:34px!important;height:34px!important;flex:none;padding:0!important;border:1.5px solid var(--ds-ink)!important;border-radius:var(--ds-r1)!important;overflow:hidden;box-shadow:none!important}
html:not(#z):not(#y) body .mg-cl .op-ph img{width:100%;height:100%;object-fit:cover;display:block}
html:not(#z):not(#y) body .mg-cl .op-ph span,html:not(#z):not(#y) body .mg-cl .op-old{display:none}
html:not(#z):not(#y) body .mg-cl b{font:700 13px var(--ds-f);color:var(--ds-ink);white-space:nowrap}
html:not(#z):not(#y) body .mg-cl.late b{color:#B5203A}
html:not(#z):not(#y) body .mg-cl b.off{color:var(--ds-mut)}
html:not(#z):not(#y) body .mg-no{width:34px;height:34px;flex:none;border:1.5px dashed #CDB9D2;border-radius:var(--ds-r1);background:#FBF8FC}
html:not(#z):not(#y) body .mg-hr{font:700 12px var(--ds-f);color:#0A7A4F;white-space:nowrap}
html:not(#z):not(#y) body .mg-hr.bad{color:#B5203A}
html:not(#z):not(#y) body .mg-dash{color:#b9a9bd}
html:not(#z):not(#y) body .mg-tb td{text-align:left!important}
html:not(#z):not(#y) body .mg-tb td.c{text-align:center!important}
html:not(#z):not(#y) body .mg-cl{justify-content:flex-start!important}
/* an empty box inside a half column: smaller, no side room */
html:not(#z):not(#y) body .sh-half .am-none:not(.ot-ld){margin:6px 0!important;padding:10px 8px!important;gap:6px;font-size:12px!important}
html:not(#z):not(#y) body .sh-half .am-none:not(.ot-ld)::before{width:18px;height:18px}
html:not(#z):not(#y) body .mg-tb{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
html:not(#z):not(#y) body .mg-tb :is(th,td){min-width:0!important;width:auto!important}
html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(1){width:29%!important}
html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(2){width:13%!important}
html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(3),html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(4){width:22%!important}
html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(5){width:14%!important}
html:not(#z):not(#y) body .mg-tb :is(th,td):nth-child(n+2){padding-left:3px!important;padding-right:3px!important}
html:not(#z):not(#y) body .mg-tb td:last-child,html:not(#z):not(#y) body .mg-tb th:last-child{padding-right:12px!important}
html:not(#z):not(#y) body .mg-cl{gap:5px}
html:not(#z):not(#y) body .mg-cl b{font-size:12.5px!important}

/* v566 (Adham): whatever the app hides (for a role, a state…) stays hidden — no look rule above may show it */
html:not(#z):not(#y):not(#x) body [hidden]{display:none!important}
/* v567: a schedule name that is nobody on the staff — its annual count is marked */
html:not(#z):not(#y) body td.al.odd{color:#B26A00!important;background:#FFF0DC!important;font-weight:700}
/* v568 (Adham): Shop sales ≠ agents' sales — one quiet line (the Shop Manager), a dot and a line on tap (the Area Manager) */
html:not(#z):not(#y) body .mm-ln{margin:0 14px 12px;display:flex;align-items:center;gap:8px;background:#FFF0DC;border-radius:12px;padding:9px 12px;font:500 12.5px var(--ds-f);color:#7a4a00;text-align:left}
html:not(#z):not(#y) body .mm-ln b{font-weight:700}
html:not(#z):not(#y) body .mm-ln a{margin-left:auto;font:700 12.5px var(--ds-f);color:var(--ds-or);text-decoration:underline;cursor:pointer;flex:none}
html:not(#z):not(#y) body .mm-dt{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ds-or);margin-left:6px;vertical-align:middle}
html:not(#z):not(#y) body .bd-row.mm-has{cursor:pointer}
html:not(#z):not(#y) body .mm-xp{background:#FFF0DC;color:#7a4a00;font:500 12px var(--ds-f);padding:8px 14px;text-align:left}
html:not(#z):not(#y) body .mm-xp b{font-weight:700}
/* v571 (Adham): «Is it fair?» before a Shop Manager sends his schedule */
html:not(#z):not(#y) body .ms-fair{z-index:9500!important}
html:not(#z):not(#y) body .fa-t{width:100%;border-collapse:collapse;font:600 13px var(--ds-f);margin:4px 0 6px}
html:not(#z):not(#y) body .fa-t th{font:700 10.5px var(--ds-f);color:#8a7a8d;letter-spacing:.04em;text-transform:uppercase;padding:8px 3px;text-align:center;background:none!important;border:0!important}
html:not(#z):not(#y) body .fa-t td{padding:9px 3px;text-align:center;border-top:1px solid #f0eaf1;color:var(--ds-ink)}
html:not(#z):not(#y) body .fa-t :is(th,td):first-child{text-align:left;padding-left:2px}
html:not(#z):not(#y) body .fa-t td.hi{color:#B5203A;font-weight:700;background:#FDEEF1}
html:not(#z):not(#y) body .fa-t tr.avg td{color:var(--ds-mut);font:500 11.5px var(--ds-f);background:#FBF8FC}
html:not(#z):not(#y) body .fa-n{margin:8px 0 0;background:#FFF0DC;color:#7a4a00;border-radius:12px;padding:9px 12px;font:500 12px var(--ds-f);text-align:left}
html:not(#z):not(#y) body .ms-fair .ms-acts{margin-top:14px}
html:not(#z):not(#y) body .fa-t{table-layout:fixed!important;max-width:100%!important;min-width:0!important}
html:not(#z):not(#y) body .fa-t :is(th,td){min-width:0!important;width:auto!important;padding-left:2px!important;padding-right:2px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not(#z):not(#y) body .fa-t :is(th,td):first-child{width:24%!important;text-align:left!important}
html:not(#z):not(#y) body .fa-t th{font-size:9.5px!important;letter-spacing:0!important}
html:not(#z):not(#y) body .fa-t tr.avg td:first-child{white-space:normal}

/* ---------- v575 (Adham): tabs look 4 — a light grid, no shadows; the chosen one: a light background and a short orange line ---------- */
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid){display:grid!important;gap:0!important;padding:0!important;margin:2px 0 14px!important;background:#fff!important;border:1.5px solid #e3d6e7!important;border-radius:18px!important;overflow:hidden!important;box-shadow:none!important}
html:not(#z):not(#y):not(#q) body .ma-ig,html:not(#z):not(#y):not(#q) body .ft-grid.ft-x.mg-grid.bo-g3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html:not(#z):not(#y):not(#q) body .ft-grid.ft-x.mg-grid.bo-g4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button{position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:56px!important;min-height:0!important;aspect-ratio:auto!important;width:auto!important;margin:0!important;padding:0 6px!important;border:0!important;border-right:1px solid #f0eaf1!important;border-bottom:1px solid #f0eaf1!important;border-radius:0!important;background:#fff!important;background-image:none!important;box-shadow:none!important;transform:none!important;color:#8a7a8d!important;font:700 13px var(--ds-f)!important;flex:none!important;grid-column:auto!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button::before{display:none!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button::after{content:none!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button.on{color:var(--ds-ink)!important;background:#FFF5EC!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button.on::after{content:""!important;display:block!important;position:absolute!important;left:18%!important;right:18%!important;bottom:0!important;top:auto!important;height:4px!important;width:auto!important;border-radius:4px 4px 0 0!important;background:var(--ds-or)!important;border:0!important;box-shadow:none!important;transform:none!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid)>button :is(img.emo,.ic){width:24px!important;height:24px!important;margin:0!important;background:none!important;border-radius:0!important;flex:none}
html:not(#z):not(#y):not(#q) body .ma-ig .ic img{width:24px!important;height:24px!important}
html:not(#z):not(#y):not(#q) body :is(.ma-ig,.ft-grid.ft-x.mg-grid.bo-g3)>button:nth-child(3n),html:not(#z):not(#y):not(#q) body .ft-grid.ft-x.mg-grid.bo-g4>button:nth-child(2n){border-right:0!important}
html:not(#z):not(#y):not(#q) body .ma-ig>button:nth-child(n+4),html:not(#z):not(#y):not(#q) body .ft-grid.ft-x.mg-grid.bo-g4>button:nth-child(n+3),html:not(#z):not(#y):not(#q) body .ft-grid.ft-x.mg-grid.bo-g3>button{border-bottom:0!important}

/* ---------- v575 (Adham): the agent's «My month» card ---------- */
html:not(#z):not(#y) body .mmc{border:2.5px solid var(--ds-ink);border-radius:var(--ds-r3);box-shadow:var(--ds-shc);overflow:hidden;background:#fff;margin:0 0 14px}
html:not(#z):not(#y) body .mmh{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#fff;position:relative;background:repeating-linear-gradient(115deg,rgba(255,255,255,.035) 0 14px,transparent 14px 28px),radial-gradient(80% 140% at 100% 0,#7A1583 0,rgba(122,21,131,0) 60%),#37003C}
html:not(#z):not(#y) body .mmh::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#05F0FF,#00FF85)}
html:not(#z):not(#y) body .mmh b{font:700 14px var(--ds-f)}html:not(#z):not(#y) body .mmh span{font:600 11px var(--ds-f);opacity:.85}
html:not(#z):not(#y) body .mm2{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px}
html:not(#z):not(#y) body .mmt{display:flex;align-items:center;gap:10px;border:2px solid var(--ds-ink);border-radius:16px;padding:10px;box-shadow:2px 2px 0 var(--ds-ink);min-width:0}
html:not(#z):not(#y) body .mmt.k{background:#E9FBF4}html:not(#z):not(#y) body .mmt.g{background:#FFF1E4}
html:not(#z):not(#y) body .mmt svg{flex:none}
html:not(#z):not(#y) body .mmt b{display:block;font:800 19px/1.1 var(--ds-f);letter-spacing:-.6px;color:var(--ds-ink);white-space:nowrap}
html:not(#z):not(#y) body .mmt small{font:600 10.5px var(--ds-f);color:var(--ds-mut)}
/* Daily 3: one strip of three */
html:not(#z):not(#y) body .mmc #d3box{padding:0 14px 14px}
html:not(#z):not(#y) body .mmc .d3{display:flex!important;padding:0!important;height:auto!important;border:2px solid var(--ds-ink)!important;border-radius:14px!important;box-shadow:2px 2px 0 var(--ds-ink)!important;overflow:hidden;background:#fff!important}
html:not(#z):not(#y) body .mmc .d3-h{display:none!important}
html:not(#z):not(#y) body .mmc .d3-it{flex:1 1 0;min-width:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;padding:8px 4px!important;border-right:2px solid var(--ds-ink);margin:0!important}
html:not(#z):not(#y) body .mmc .d3-it:last-child{border-right:0}
html:not(#z):not(#y) body .mmc .d3-it>div{min-width:0}
html:not(#z):not(#y) body .mmc .d3-it i{width:auto!important;height:auto!important;background:none!important;font:700 11px var(--ds-f)!important;font-style:normal;color:#b3a5b7}
html:not(#z):not(#y) body .mmc .d3-it b{font:700 12px var(--ds-f)!important;display:block}
html:not(#z):not(#y) body .mmc .d3-it small{font:500 10px var(--ds-f)!important;color:var(--ds-mut)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
html:not(#z):not(#y) body .mmc .d3-it.ok{background:#E3F8EE}html:not(#z):not(#y) body .mmc .d3-it.ok i{color:#0A7A4F}
html:not(#z):not(#y) body .mmc .d3-it.ok.late{background:#FFF0DC}html:not(#z):not(#y) body .mmc .d3-it.ok.late i{color:#B26A00}
html:not(#z):not(#y) body .mmc .d3-it.no{background:#FDE6EA}html:not(#z):not(#y) body .mmc .d3-it.no i{color:#B5203A}
html:not(#z):not(#y) body .mmc .d3-it.na{background:repeating-linear-gradient(135deg,#F6F1F7 0 6px,#fff 6px 12px);color:#a294a6}
html:not(#z):not(#y) body .mmc .d3-off{flex:1;text-align:center;padding:10px!important}

/* ---------- v575 (Adham): the Shop Manager's Follow — three counters with a bar, the colours behind «?» ---------- */
html:not(#z):not(#y) body .ft-sum.ft-sum2{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important;padding:12px 0 4px!important}
html:not(#z):not(#y) body .ft-sum.ft-sum2 span{background:#fff!important;border:1.5px solid #e3d6e7;border-radius:14px!important;padding:9px 8px!important;text-align:left!important;font:600 10.5px var(--ds-f)!important;color:var(--ds-mut)!important}
html:not(#z):not(#y) body .ft-sum.ft-sum2 span b{font:800 20px var(--ds-f)!important;margin-bottom:1px}
html:not(#z):not(#y) body .ft-sum.ft-sum2 span i{display:block;height:5px;border-radius:3px;background:#eee;margin-top:6px;overflow:hidden}
html:not(#z):not(#y) body .ft-sum.ft-sum2 span i u{display:block;height:100%;background:#19C98A;border-radius:3px}
html:not(#z):not(#y) body .ft-sum.ft-sum2 span.bad i u{background:#E0245E}html:not(#z):not(#y) body .ft-sum.ft-sum2 span.sl i u{background:var(--ds-or)}
html:not(#z):not(#y) body .ft-tip{display:flex;align-items:center;gap:10px;width:calc(100% - 28px);margin:10px 14px 0;background:var(--ds-lil);border:0;border-radius:12px;padding:9px 12px;font:600 12px var(--ds-f);color:var(--ds-ink);cursor:pointer;text-align:left}
html:not(#z):not(#y) body .ft-tip .mini{display:flex;gap:2px;margin-left:auto}html:not(#z):not(#y) body .ft-tip .mini i{width:9px;height:7px;border-radius:2px;background:#19C98A}
html:not(#z):not(#y) body .ft-tip .q{width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid var(--ds-ink);display:grid;place-items:center;font:800 12px var(--ds-f);flex:none}
html:not(#z):not(#y) body .ft-lgp{display:grid;gap:7px;margin:8px 14px 2px;background:var(--ds-lil);border-radius:12px;padding:10px 12px}
html:not(#z):not(#y) body .ft-lgp[hidden]{display:none!important}
html:not(#z):not(#y) body .ft-lgp span{display:flex;align-items:center;gap:8px;font:600 12px var(--ds-f);color:var(--ds-ink)}
html:not(#z):not(#y) body :is(.ft-tip .mini,.ft-lgp span) i{display:inline-block;width:14px;height:8px;border-radius:2px;background:#19C98A;flex:none}
html:not(#z):not(#y) body :is(.ft-tip .mini,.ft-lgp span) i.yl{background:#FFC83D}html:not(#z):not(#y) body :is(.ft-tip .mini,.ft-lgp span) i.rd{background:#E0245E}
html:not(#z):not(#y) body :is(.ft-tip .mini,.ft-lgp span) i.bk{background:#1a0420}html:not(#z):not(#y) body :is(.ft-tip .mini,.ft-lgp span) i.wt{background:#DDD3E0}
html:not(#z):not(#y) body .ft-tip .mini i{width:9px;height:7px}
/* v588 (Adham): a plain black line between the shifts (no words); the table kept inside the card on both sides */
html:not(#z):not(#y) body .mg-tb tr.mg-sep td{padding:0!important;height:0;border:0!important;border-top:2px solid #37003C!important}
html:not(#z):not(#y) body .fw-card>.mg-tb{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;margin-left:14px;margin-right:14px}
html:not(#z):not(#y) body .mg-tb th:last-child{padding-right:6px!important;padding-left:0!important;letter-spacing:.02em;text-align:right!important}
html:not(#z):not(#y) body .mg-tb td:last-child{padding-right:6px!important;text-align:right!important}
/* v654 (Adham): the add buttons of a person in the HR sheet on one row */
html:not(#z):not(#y) body .ms-ty{flex-wrap:nowrap!important;gap:5px!important}
html:not(#z):not(#y) body .ms-ty button{flex:1 1 auto!important;min-width:0!important;padding:0 6px!important;font-size:11px!important;letter-spacing:-.1px;white-space:nowrap}
html:not(#z):not(#y) body .ms-ty:has(> :nth-child(5)) {gap:4px!important}
html:not(#z):not(#y) body .ms-ty:has(> :nth-child(5)) button{font-size:9.8px!important;padding:0 3px!important;letter-spacing:-.2px}
/* v659 (Adham): the face list — Checking · By task | By Shop · the Shop chips · one block per Shop */
.tkl-ck{display:flex;align-items:center;justify-content:center;gap:10px;padding:26px 10px 30px;font:700 14px var(--ds-f);color:var(--ds-mut)}
.tkl-ck i{width:18px;height:18px;border-radius:50%;border:2.5px solid #E6DCE9;border-top-color:var(--ds-or);animation:tklSp .8s linear infinite}
@keyframes tklSp{to{transform:rotate(360deg)}}
html:not(#z):not(#y) body .tkl-vw{margin:4px 2px 10px!important;box-shadow:var(--ds-sh1)!important;padding:4px!important}
html:not(#z):not(#y) body .tkl-vw>button{height:32px!important;font-size:12.5px!important}
.tkl-fc{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 8px;margin:0 -2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tkl-fc::-webkit-scrollbar{display:none}
.tkl-fc button{flex:none;display:flex;align-items:center;gap:6px;height:30px;padding:0 11px;border:2px solid var(--ds-ink);border-radius:999px;background:#fff;color:var(--ds-ink);font:700 12px var(--ds-f);white-space:nowrap}
.tkl-fc button i{font-style:normal;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#FFF1D6;color:#9A5B00;font:800 10.5px/18px var(--ds-f);text-align:center}
.tkl-fc button.l i{background:#FDE3E7;color:#D92E47}
.tkl-fc button.on{background:var(--ds-or);color:#fff}.tkl-fc button.on i{background:#fff;color:var(--ds-ink)}
.tkl-blk{border:2px solid var(--ds-ink);border-radius:var(--ds-r2);margin:0 2px 10px;overflow:hidden;background:#fff}
.tkl-bh{display:flex;align-items:center;gap:6px;padding:8px 10px;background:var(--ds-lil);border-bottom:1.5px solid #E6DCE9}
.tkl-bh b{flex:1;min-width:0;font:800 13.5px var(--ds-f);color:var(--ds-pur);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tkl-bh span{flex:none;padding:2px 8px;border-radius:99px;font:800 10.5px var(--ds-f)}.tkl-bh .l{background:#FDE3E7;color:#D92E47}.tkl-bh .t{background:#FFF1D6;color:#9A5B00}
.tkl-bx{display:flex;align-items:center;gap:6px;padding:7px 8px 7px 0;border-left:4px solid #F5A524}.tkl-bx+.tkl-bx{border-top:1px solid #F0E9F2}.tkl-bx.l{border-left-color:#D92E47}
.tkl-bx>span{flex:none;width:30px;text-align:center;font-size:16px}
.tkl-bx>b{flex:1;min-width:0;font:600 12.5px var(--ds-f);color:var(--ink,#1a0420);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tkl-bx.l>b{color:#B3122C}.tkl-bx.t>b{color:#8A4B00}
/* v663 (Adham): the small Copy on each Shop block and each task row */
.tkl-c1{flex:none;margin-left:auto;height:24px;padding:0 8px;border:1.5px solid #128C7E;border-radius:99px;background:#fff;color:#128C7E;font:800 10.5px var(--ds-f);white-space:nowrap;cursor:pointer}
.tkl-rw{display:flex;align-items:center;gap:6px;border-top:1px solid var(--hair,#EEE6F0)}.tkl-rw>.tkl-r{flex:1;min-width:0;border-top:0}.tkl-rw>.tkl-r>div{min-width:0}
