/* Animated feature showcase (searchable). Pure CSS animations, played by features.js when in view. */
.fx-bar{position:sticky;top:94px;z-index:5;background:var(--paper);padding:14px 0 12px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.fx-search{width:100%;max-width:560px;display:block;margin:0 auto;padding:14px 16px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:16px;color:var(--ink)}
.fx-search:focus{outline:3px solid #005fcc;outline-offset:2px}
.fx-chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.fx-chip{border:1px solid var(--line);background:#fff;color:var(--ink);font-size:12px;font-weight:700;letter-spacing:.6px;padding:8px 14px;border-radius:999px;text-transform:uppercase}
.fx-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--accent)}
.fx-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.fx-card{background:#fff;border:1px solid var(--line);border-radius:6px;padding:22px}
.fx-card[hidden]{display:none}
.fx-card h3{margin-top:10px}
.fx-card p{margin-top:8px;font-size:14px;color:var(--muted)}
.fx-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:1.4px;background:var(--tint);color:var(--ink);border-radius:999px;padding:3px 10px;margin-top:18px}
.fx-empty{text-align:center;color:var(--muted);padding:40px 0}
.fx-stage{background:linear-gradient(160deg,#f6f8f2,#eaf2dc);border-radius:6px;padding:14px;height:240px;overflow:hidden;position:relative;font-size:11px;line-height:1.4;color:#152522}
.fx-stage .num{font-variant-numeric:tabular-nums}
.sw{position:relative;display:inline-block}.sw .b{position:absolute;left:0;top:0;opacity:0}
@keyframes fx-drop{from{opacity:0;transform:translateY(-14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes fx-fade{from{opacity:0}to{opacity:1}}
@keyframes fx-slide{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
@keyframes fx-pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes fx-out{to{opacity:0}}@keyframes fx-in{to{opacity:1}}
@keyframes fx-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* Production calendar */
.cal{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;height:100%}
.cal .day{background:#fff;border-radius:5px;padding:5px;display:flex;flex-direction:column;gap:4px;min-width:0}
.cal .dn{font-weight:700;color:#58635e;font-size:10px}
.cal .tot{font-size:9px;font-weight:700;background:#f1f4ec;border-radius:4px;padding:0 4px;width:max-content;max-width:100%}
.cal .job{border-left:3px solid var(--g);background:#f8faf5;border-radius:4px;padding:3px 4px;font-size:9px;overflow:hidden}
.cal .job b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal .st{display:flex;align-items:center;gap:3px;font-weight:700;color:#b45309}
.cal .st i{width:6px;height:6px;border-radius:50%;background:#f59e0b}
.play .cal .job{animation:fx-drop .45s cubic-bezier(.2,.9,.3,1.3) both;animation-delay:var(--d)}
.play .cal .tot{animation:fx-fade .4s ease both;animation-delay:var(--d)}
.play .cal .st{animation:fx-done-text .01s steps(1) both;animation-delay:calc(var(--d) + 1.6s)}
.play .cal .st i{animation:fx-done-dot .3s ease both;animation-delay:calc(var(--d) + 1.6s)}
.play .cal .st .a{animation:fx-out .2s ease both;animation-delay:calc(var(--d) + 1.6s)}
.play .cal .st .b{animation:fx-in .2s ease both;animation-delay:calc(var(--d) + 1.6s)}
@keyframes fx-done-dot{to{background:#10b981;transform:scale(1.25)}}
@keyframes fx-done-text{to{color:#047857}}

/* Process steps */
.pipe{display:flex;flex-direction:column;gap:10px;justify-content:center;height:100%}
.pipe .row{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:6px}
.pipe .id{font-size:9px;font-weight:700;color:#58635e}
.pipe .steps{display:grid;grid-template-columns:repeat(10,1fr)}
.pipe .s{height:30px;margin-left:-4px;background:#e3e7dd;color:#58635e;display:grid;place-items:center;font-size:7.5px;font-weight:700;clip-path:polygon(0 0,80% 0,100% 50%,80% 100%,0 100%,20% 50%);padding-left:3px;white-space:nowrap}
.pipe .s:first-child{margin-left:0;clip-path:polygon(0 0,80% 0,100% 50%,80% 100%,0 100%)}
.pipe .done .s{background:#b9e57a;color:#152522}
.play .pipe .live .s{animation:fx-step .35s ease both;animation-delay:calc(var(--i)*.45s + .3s)}
@keyframes fx-step{0%{background:#e3e7dd}50%{background:#152522;color:#c8f273}100%{background:#b9e57a;color:#152522}}

/* Orders -> plan */
.prep{display:grid;grid-template-columns:1fr 1.1fr;gap:10px;height:100%}
.prep .ord{background:#fff;border-radius:5px;padding:6px 8px;margin-bottom:6px;display:flex;justify-content:space-between;gap:6px}
.prep .ord em{font-style:normal;font-size:9px;font-weight:700;padding:0 6px;border-radius:99px;background:#eef7df;white-space:nowrap}
.prep .sheet{background:#fff;border-radius:6px;padding:8px;box-shadow:0 8px 20px rgba(21,37,34,.08)}
.prep .sheet h5{margin:0 0 4px;font-size:11px}
.prep .ln{display:flex;justify-content:space-between;border-top:1px solid #eef1ea;padding:4px 0}
.play .prep .ord{animation:fx-slide .45s ease both;animation-delay:var(--d)}
.play .prep .ln{animation:fx-fade .4s ease both;animation-delay:var(--d)}
.play .prep .sheet{animation:fx-pop .4s ease 1.3s both}

/* Order capture */
.fax{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;height:100%}
.fax .paper{background:#fff;border-radius:4px;padding:10px;height:180px;position:relative;overflow:hidden;box-shadow:0 6px 16px rgba(21,37,34,.08);font-family:Georgia,serif}
.fax .paper p{margin:0 0 6px;font-size:10px;color:#152522}
.fax .scan{position:absolute;left:0;right:0;height:22px;top:-22px;background:linear-gradient(180deg,rgba(200,242,115,0),rgba(140,200,40,.45),rgba(200,242,115,0))}
.play .fax .scan{animation:fx-scan 1.6s ease-in-out .3s both}
@keyframes fx-scan{to{top:100%}}
.fax .out .ln{background:#fff;border-radius:5px;padding:5px 8px;margin-bottom:5px;display:flex;justify-content:space-between}
.play .fax .out .ln{animation:fx-slide .4s ease both;animation-delay:var(--d)}

/* Statement */
.mon{background:#fff;border-radius:6px;height:100%;padding:8px 10px;display:flex;flex-direction:column;gap:3px;font-size:10px}
.mon .hd{display:flex;align-items:center;gap:6px;font-weight:700;font-size:12px}
.mon .hd small{font-weight:400;color:#58635e;font-size:10px}
.mon .hd .chev{width:9px;height:9px;border-right:2px solid #58635e;border-bottom:2px solid #58635e;transform:rotate(-45deg)}
.play .mon .hd .chev{animation:fx-open .3s ease .2s both}
@keyframes fx-open{to{transform:rotate(45deg) translate(-2px,-2px)}}
.mon .r{display:grid;grid-template-columns:34px 1fr 62px 66px;gap:6px;padding:3px 6px;border-radius:4px}
.mon .r .bal{color:#58635e;text-align:right}.mon .r b{text-align:right}
.mon .r.red{background:#fff1f2;color:#be123c}
.play .mon .r{animation:fx-slide .35s ease both;animation-delay:var(--d)}
.mon .sum{margin-top:auto;background:var(--tint);border-radius:5px;padding:5px 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px 8px;font-size:9px}
.mon .sum .tot{grid-column:span 2;font-size:11px}
.play .mon .sum{animation:fx-pop .4s ease 1.9s both}
.mon .lockbtn{justify-self:end;align-self:center;background:#152522;color:#c8f273;border-radius:99px;padding:1px 8px;font-weight:700;font-size:9px;white-space:nowrap;opacity:0}
.play .mon .lockbtn{animation:fx-pop .3s ease 2.5s both}
.play .mon .lockbtn .a{animation:fx-out .15s ease 3.2s both}
.play .mon .lockbtn .b{animation:fx-in .15s ease 3.2s both}

/* Invoice */
.qi{height:100%;display:grid;place-items:center}
.qi .paper{background:#fff;width:94%;height:210px;border-radius:4px;box-shadow:0 10px 26px rgba(21,37,34,.12);padding:12px 14px;font-size:9px;position:relative;overflow:hidden}
.qi h5{font-size:15px;margin:0 0 6px;letter-spacing:.25em}
.qi .two{display:flex;justify-content:space-between;gap:8px}
.qi table{width:100%;border-collapse:collapse;font-size:8.5px;margin-top:8px;text-align:right}
.qi th,.qi td{border-bottom:1px solid #e3e7dd;padding:3px 4px}.qi th{text-align:left;font-weight:700}
.qi .terms{font-weight:700;border-radius:3px;padding:0 2px}
.play .qi .terms{animation:fx-mark .8s ease 1s both}
@keyframes fx-mark{to{background:#e9f9c8}}
.qi .stamp{position:absolute;right:16px;bottom:26px;border:2px solid #16a34a;color:#16a34a;font-weight:900;font-size:12px;padding:2px 8px;border-radius:5px;transform:rotate(-10deg) scale(1.6);opacity:0}
.play .qi .paper{animation:fx-rise .5s ease .2s both}
.play .qi .stamp{animation:fx-stamp .35s cubic-bezier(.3,1.6,.5,1) 2.2s both}
@keyframes fx-stamp{to{opacity:1;transform:rotate(-10deg) scale(1)}}

/* Lots */
.lot .ln{background:#fff;border-radius:5px;padding:7px 10px;margin-bottom:6px;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}
.lot .warn{font-size:9px;font-weight:700;color:#b91c1c;background:#fee2e2;border-radius:99px;padding:1px 8px;opacity:0}
.play .lot .warn{animation:fx-fade .3s ease 1s both,fx-blink 1s ease 1.3s 3}
.play .lot .hot{animation:fx-flash 1s ease 1s 2}
@keyframes fx-blink{50%{opacity:.35}}@keyframes fx-flash{50%{background:#fff1f2}}

/* Shipping labels */
.ship{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;height:100%;align-content:center}
.ship .lbl{background:#fff;border-radius:5px;padding:8px;border-top:4px solid var(--c);box-shadow:0 6px 14px rgba(21,37,34,.08)}
.ship .lbl b{font-size:12px}
.ship .bars{height:16px;margin:6px 0 4px;background:repeating-linear-gradient(90deg,#152522 0 2px,transparent 2px 4px,#152522 4px 5px,transparent 5px 8px)}
.ship .trk{font-size:8.5px;color:#58635e;letter-spacing:.5px}
.play .ship .lbl{animation:fx-rise .4s ease both;animation-delay:var(--d)}
.play .ship .bars{animation:fx-print .5s steps(8) both;animation-delay:calc(var(--d) + .3s)}
@keyframes fx-print{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

@media(max-width:780px){.fx-grid{grid-template-columns:1fr}.fx-bar{top:70px}}
@media(prefers-reduced-motion:reduce){.fx-stage *{animation-duration:.01s!important;animation-delay:0s!important;animation-iteration-count:1!important}}

/* Stock take with the phone camera */
.stk{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center;height:100%}
.stk .ph{height:210px;border-radius:20px;background:#111;padding:6px;position:relative}
.stk .scr{height:100%;border-radius:15px;overflow:hidden;position:relative;background:radial-gradient(circle at 50% 40%,#5d6b6a,#2a3333 70%)}
.stk .bc{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);width:70px;height:44px;background:#fff;border-radius:3px;padding:5px 6px 3px}
.stk .bc i{display:block;height:26px;background:repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 3px,#111 3px 4px,transparent 4px 7px,#111 7px 9px,transparent 9px 10px)}
.stk .bc b{display:block;font-size:6px;text-align:center;letter-spacing:.5px;color:#111}
.stk .fr{position:absolute;left:50%;top:38%;width:96px;height:66px;transform:translate(-50%,-50%);border:3px solid #c8f273;border-radius:8px}
.stk .lz{position:absolute;left:6px;right:6px;top:50%;height:2px;background:#ff4d4d;box-shadow:0 0 8px #ff4d4d;opacity:.9}
.stk .cnt{position:absolute;left:6px;right:6px;bottom:6px;background:#fff;border-radius:10px;padding:6px;font-size:9px;transform:translateY(120%)}
.stk .cnt b{font-size:14px}
.stk .bar{height:8px;background:#e3e7dd;border-radius:99px;overflow:hidden;margin:6px 0}
.stk .bar i{display:block;height:100%;width:72.3%;background:#152522;border-radius:99px}
.stk .big{font-size:28px;font-weight:700;letter-spacing:-.03em}
.stk .lst .ln{display:flex;justify-content:space-between;background:#fff;border-radius:5px;padding:5px 8px;margin-top:5px}
.stk .lst .ln .ok{color:#047857;font-weight:700}
.play .stk .lz{animation:fx-lz .7s ease-in-out 2 alternate}
.play .stk .cnt{animation:fx-up .4s cubic-bezier(.2,.9,.3,1.1) 1.5s both}
.play .stk .bar i{animation:fx-bar 1s ease 2.2s both}
.play .stk .lst .ln{animation:fx-slide .35s ease both;animation-delay:var(--d)}
.play .stk .big .a{animation:fx-out .2s ease 2.4s both}.play .stk .big .b{animation:fx-in .2s ease 2.4s both}
@keyframes fx-lz{from{top:22%}to{top:52%}}
@keyframes fx-up{to{transform:none}}
@keyframes fx-bar{from{width:71.9%}to{width:72.3%}}

/* Label printing */
.lbp{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;height:100%}
.lbp .printer{position:relative;height:210px}
.lbp .body{position:absolute;top:0;left:0;right:0;height:56px;background:#152522;border-radius:10px 10px 6px 6px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#c8f273;font-weight:700;font-size:10px}
.lbp .body i{width:8px;height:8px;border-radius:50%;background:#c8f273;box-shadow:0 0 6px #c8f273}
.lbp .slot{position:absolute;top:50px;left:14px;right:14px;height:150px;overflow:hidden}
.lbp .tag{background:#fff;border:1px solid #dce2d8;border-radius:4px;padding:6px 8px;margin-bottom:6px;transform:translateY(-120%);display:grid;grid-template-columns:1fr 26px;gap:6px;align-items:center;font-size:8.5px}
.lbp .tag b{display:block;font-size:10px}
.lbp .tag .bars{height:14px;margin-top:3px;background:repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 3px,#111 3px 4px,transparent 4px 7px)}
.lbp .tag .qr{width:26px;height:26px;background:conic-gradient(#111 25%,#fff 0 50%,#111 0 75%,#fff 0) 0 0/8px 8px;border:2px solid #111}
.lbp .opts .ln{display:flex;justify-content:space-between;background:#fff;border-radius:5px;padding:6px 8px;margin-bottom:6px}
.lbp .opts .go{background:#c8f273;color:#152522;text-align:center;font-weight:700;border-radius:5px;padding:7px;border:1px solid #152522}
.play .lbp .opts .go{animation:fx-press .25s ease .4s}
.play .lbp .tag{animation:fx-print-out .6s ease both;animation-delay:var(--d)}
@keyframes fx-press{50%{transform:scale(.95)}}
@keyframes fx-print-out{to{transform:none}}

/* Traceability */
.trc{display:flex;flex-direction:column;justify-content:center;gap:10px;height:100%}
.trc .q{background:#fff;border-radius:5px;padding:6px 10px;font-size:10px;color:#58635e;border:1px solid #dce2d8}
.trc .q b{color:#152522}
.trc .chain{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr;align-items:center}
.trc .node{background:#fff;border-radius:6px;padding:7px 8px;font-size:9.5px;border:2px solid #e3e7dd;opacity:.45}
.trc .node b{display:block;font-size:10.5px}
.trc .node small{color:#58635e}
.trc .lk{height:2px;background:#dce2d8;position:relative}
.trc .lk i{position:absolute;inset:0;background:#152522;transform:scaleX(0);transform-origin:left}
.trc .cust{display:flex;gap:6px;flex-wrap:wrap}
.trc .cust span{background:#fff;border:1px solid #dce2d8;border-radius:99px;padding:2px 9px;font-size:9.5px;opacity:0}
.play .trc .node{animation:fx-node .3s ease both;animation-delay:var(--d)}
.play .trc .lk i{animation:fx-link .35s ease both;animation-delay:var(--d)}
.play .trc .cust span{animation:fx-pop .3s ease both;animation-delay:var(--d)}
@keyframes fx-node{to{opacity:1;border-color:#152522;box-shadow:0 0 0 3px #e9f9c8}}
@keyframes fx-link{to{transform:scaleX(1)}}

/* Task manager */
.tsk{display:flex;flex-direction:column;gap:6px;justify-content:center;height:100%}
.tsk .hd{display:flex;justify-content:space-between;font-weight:700;font-size:11px}
.tsk .t{background:#fff;border-radius:6px;padding:7px 9px;display:grid;grid-template-columns:16px 1fr auto auto;gap:8px;align-items:center;font-size:10px}
.tsk .cb{width:14px;height:14px;border:2px solid #9aa59f;border-radius:4px;position:relative}
.tsk .cb::after{content:"";position:absolute;left:3px;top:0;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0}
.tsk .who{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:9px;font-weight:700}
.tsk .due{color:#58635e;font-size:9px}
.tsk .txt{position:relative}
.tsk .prog{height:6px;background:#e3e7dd;border-radius:99px;overflow:hidden}.tsk .prog i{display:block;height:100%;width:25%;background:#152522}
.play .tsk .done .cb{animation:fx-check .25s ease both;animation-delay:var(--d)}
.play .tsk .done .cb::after{animation:fx-in .2s ease both;animation-delay:var(--d)}
.play .tsk .done .txt{animation:fx-strike .3s ease both;animation-delay:var(--d)}
.play .tsk .prog i{animation:fx-prog 2.4s steps(3) .6s both}
@keyframes fx-check{to{background:#16a34a;border-color:#16a34a}}
@keyframes fx-strike{to{color:#9aa59f;text-decoration:line-through}}
@keyframes fx-prog{to{width:100%}}

/* Entry management */
.ent{display:grid;grid-template-columns:1fr 1fr;gap:10px;height:100%}
.ent .pn{background:#fff;border-radius:6px;padding:8px 9px;display:flex;flex-direction:column;gap:4px;font-size:9.5px}
.ent h5{margin:0 0 2px;font-size:10.5px}
.ent .ck{display:flex;align-items:center;gap:6px}
.ent .ck i{width:12px;height:12px;border-radius:3px;border:2px solid #9aa59f;flex:none;position:relative}
.ent .ck i::after{content:"";position:absolute;left:2px;top:-1px;width:3px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0}
.ent .ck em{margin-left:auto;font-style:normal;color:#58635e}
.ent .gate{margin-top:auto;text-align:center;font-weight:700;border-radius:5px;padding:5px;background:#e3e7dd;color:#58635e}
.ent .slot{display:grid;grid-template-columns:34px 1fr;gap:6px;align-items:center;border-top:1px solid #eef1ea;padding:3px 0}
.ent .slot span{color:#58635e}
.ent .bk{background:#f1f4ec;border-radius:4px;padding:2px 6px}
.ent .bk.new{background:#e9f9c8;border:1px dashed #152522;opacity:0}
.play .ent .ck i{animation:fx-check .25s ease both;animation-delay:var(--d)}
.play .ent .ck i::after{animation:fx-in .2s ease both;animation-delay:var(--d)}
.play .ent .gate{animation:fx-gate .3s ease 2.1s both}
.play .ent .gate .a{animation:fx-out .15s ease 2.1s both}.play .ent .gate .b{animation:fx-in .15s ease 2.1s both}
.play .ent .bk.new{animation:fx-pop .35s ease 2.7s both}
@keyframes fx-gate{to{background:#16a34a;color:#fff}}

/* Footer navigation */
.footer-nav{display:grid;grid-template-columns:repeat(3,auto);gap:10px 34px;font-size:13px;font-weight:700}
.footer-nav a:hover{text-decoration:underline}
@media(max-width:780px){.footer-nav{grid-template-columns:repeat(2,auto)}}

/* iPad POS */
.pos{height:100%;display:grid;place-items:center}
.pos .pad{width:100%;height:100%;background:#111;border-radius:16px;padding:7px;box-shadow:0 10px 24px rgba(21,37,34,.18)}
.pos .scr{height:100%;background:#fafbf6;border-radius:10px;display:grid;grid-template-columns:1.55fr 1fr;overflow:hidden;font-size:8px}
.pos .bar{grid-column:1/-1;background:#152522;color:#c8f273;display:flex;gap:10px;align-items:center;padding:3px 8px;font-weight:700;font-size:8px}
.pos .bar span:last-child{margin-left:auto;color:#fff;font-weight:400}
.pos .scr{grid-template-rows:auto 1fr}
.pos .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px;align-content:start}
.pos .tile{background:var(--c);border-radius:5px;padding:4px 5px;height:44px;display:flex;flex-direction:column;justify-content:space-between}
.pos .tile b{font-size:8px;line-height:1.15}
.pos .tile small{font-size:7px;color:#58635e}
.pos .cart{background:#fff;border-left:1px solid #e3e7dd;padding:6px;display:flex;flex-direction:column;gap:3px}
.pos .ci{display:flex;justify-content:space-between;opacity:0;padding:2px 0;border-bottom:1px solid #f1f4ec}
.pos .tot{margin-top:auto;display:flex;justify-content:space-between;font-weight:700;font-size:10px}
.pos .pay{background:#14b8a6;color:#fff;text-align:center;font-weight:700;border-radius:5px;padding:5px;font-size:9px}
.pos .sw .b{white-space:nowrap}
.play .pos .tap{animation:fx-tap .35s ease both;animation-delay:var(--d)}
.play .pos .ci{animation:fx-slide .3s ease both;animation-delay:var(--d)}
.play .pos .tot .a{animation:fx-out .1s ease 1.6s both}.play .pos .tot .b{animation:fx-in .1s ease 1.6s both}
.play .pos .pay{animation:fx-tap .35s ease 2.2s both,fx-paid .3s ease 2.6s both}
.play .pos .pay .a{animation:fx-out .1s ease 2.6s both}.play .pos .pay .b{animation:fx-in .1s ease 2.6s both}
@keyframes fx-tap{50%{transform:scale(.92);box-shadow:0 0 0 3px #152522}}
@keyframes fx-paid{to{background:#16a34a}}

/* Stock matrix by location */
.mtx{height:100%;display:flex;flex-direction:column;gap:6px}
.mtx .tabs{display:flex;gap:5px;font-size:9px}.mtx .tabs span{border:1px solid #dce2d8;border-radius:99px;padding:1px 8px;background:#fff}.mtx .tabs .on{background:#152522;color:#c8f273;border-color:#152522}
.mtx table{width:100%;border-collapse:collapse;background:#fff;font-size:8.5px;border-radius:6px;overflow:hidden}
.mtx th,.mtx td{border:1px solid #eef1ea;padding:3px 4px;text-align:center;vertical-align:top}
.mtx th{background:#f6f8f2;font-weight:700}.mtx td:first-child{text-align:left;font-weight:700;white-space:nowrap}
.mtx .sq{display:inline-block;width:8px;height:8px;border-radius:2px;background:var(--c);margin-right:4px;vertical-align:-1px;border:1px solid #ccc}
.mtx .n{display:block;font-size:13px;font-weight:700;color:#0f766e;background:#ecfdf5;border-radius:3px}
.mtx .out{display:block;color:#b91c1c;font-size:8px;font-weight:700}
.mtx .loc{display:block;color:#58635e;font-size:7.5px;text-align:left;opacity:0;line-height:1.35}
.mtx .loc b{float:right;color:#152522}
.play .mtx .n,.play .mtx .out{animation:fx-pop .3s ease both;animation-delay:var(--d)}
.play .mtx .loc{animation:fx-fade .4s ease both;animation-delay:calc(var(--d) + .9s)}
.play .mtx .hot .n{animation:fx-pop .3s ease both,fx-pulse 1s ease 2.2s 2;animation-delay:var(--d),2.2s}
@keyframes fx-pulse{50%{box-shadow:0 0 0 3px #c8f273}}

/* Department store counter rates & sales */
.dst{height:100%;display:flex;flex-direction:column;gap:5px;font-size:9px}
.dst .hd{display:flex;justify-content:space-between;font-weight:700;font-size:10.5px}
.dst .row{display:grid;grid-template-columns:1.5fr .7fr .55fr 1fr 1fr;gap:6px;align-items:center;background:#fff;border-radius:5px;padding:5px 8px}
.dst .row.h{background:transparent;color:#58635e;font-weight:700;padding:0 8px;font-size:8px}
.dst .row b{text-align:right}.dst .row .r{text-align:center;font-weight:700}
.dst .row .you{text-align:right;color:#0f766e;font-weight:700;opacity:0}
.dst .tot{margin-top:auto;display:flex;justify-content:space-between;background:#152522;color:#c8f273;border-radius:5px;padding:6px 8px;font-weight:700;font-size:10px;opacity:0}
.play .dst .row:not(.h){animation:fx-slide .3s ease both;animation-delay:var(--d)}
.play .dst .row .you{animation:fx-in .3s ease both;animation-delay:calc(var(--d) + .8s)}
.play .dst .tot{animation:fx-pop .35s ease 2.4s both}

/* HR staff schedule */
.hrs{height:100%;display:flex;flex-direction:column;gap:5px;font-size:8.5px}
.hrs .hd{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:10.5px}
.hrs .btn{background:#152522;color:#c8f273;border-radius:4px;padding:3px 8px;font-size:8.5px}
.hrs .g{display:grid;grid-template-columns:62px repeat(7,1fr);gap:3px;align-items:center}
.hrs .g>span{text-align:center}
.hrs .dn{color:#58635e;font-weight:700}
.hrs .who{display:flex;align-items:center;gap:4px;font-weight:700;text-align:left!important}
.hrs .who i{width:14px;height:14px;border-radius:50%;background:var(--c);flex:none}
.hrs .s{border-radius:4px;padding:3px 0;background:#f1f4ec;color:#9aa59f;font-weight:700}
.hrs .s.e{--bg:#dbeafe;--fg:#1d4ed8}.hrs .s.l{--bg:#fde68a;--fg:#92400e}.hrs .s.o{--bg:#f1f4ec;--fg:#9aa59f}
.hrs .ex{margin-top:auto;display:flex;gap:6px;justify-content:flex-end}.hrs .ex span{border:1px solid #dce2d8;background:#fff;border-radius:4px;padding:2px 8px;opacity:0}
.play .hrs .btn{animation:fx-tap .35s ease .2s both}
.play .hrs .s{animation:fx-shift .3s ease both;animation-delay:var(--d)}
.play .hrs .ex span{animation:fx-in .3s ease 2.6s both}
@keyframes fx-shift{from{transform:scale(.6);opacity:.3}to{transform:none;opacity:1;background:var(--bg);color:var(--fg)}}
