[hidden]{display:none!important}.nav button:disabled{opacity:.48;cursor:default}.negative{color:#b72e43;background:var(--ui-soft)}.metric-value{display:block}.branch-card[hidden]{display:none}.branch-grid:has(.branch-card[hidden]){grid-template-columns:1fr}.live-pill:before{box-shadow:none;background:#95668b}.live-pill{background:var(--ui-soft);color:var(--ui-ink)}.modal-wrap[hidden]{display:none}.modal-wrap .modal{max-width:900px;width:min(900px,94vw);max-height:88vh;overflow:auto}.modal-wrap h3{padding-right:24px}.detail-note{font-size:13px;line-height:1.6;color:var(--muted)}.detail-table{overflow:auto;margin:20px 0}.detail-table table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.detail-table th{color:var(--muted);font-size:12px;font-weight:500;background:var(--ui-soft)}.detail-table th,.detail-table td{padding:15px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.detail-table td:nth-child(3){font-weight:600}.detail-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.detail-actions .close-btn{width:auto;margin:0;padding:12px 24px}.filter-pop{position:fixed;z-index:20;width:310px;padding:18px;border:1px solid var(--line);background:var(--ui-panel);border-radius:18px;box-shadow:0 18px 70px #2f123024;max-height:85vh;overflow:auto}.filter-pop[hidden]{display:none}.filter-pop h3{margin:0 0 14px;font-size:16px}.filter-option{width:100%;display:flex;justify-content:space-between;border:0;border-radius:10px;background:var(--ui-panel);padding:13px 10px;text-align:left}.filter-option:hover,.filter-option:focus-visible{background:var(--ui-soft);color:var(--plum)}.preset-row{display:flex;gap:6px;margin:10px 0 16px}.preset-row button{padding:0 9px;font-size:12px}.filter-pop label{display:block;font-size:12px;margin-top:12px;color:var(--muted)}.filter-pop input{display:block;padding:10px;border-radius:9px;border:1px solid var(--line);width:100%;margin-top:6px;font:inherit;color:var(--ink)}#dateError{color:var(--ui-error);font-size:12px}.map-frame .pin:focus-visible{outline:3px solid var(--plum);outline-offset:9px}.nav button:focus-visible{outline-offset:-4px}.detail-table tbody tr:has(td:empty){display:none}@media(max-width:1400px){.toolbar{gap:8px}.topbar{gap:24px}.nav{gap:22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.map-overlay{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:var(--ui-soft);color:var(--ui-ink);padding:22px 28px 0;animation:map-reveal .22s ease-out}.map-overlay[hidden]{display:none}.map-full-head{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--ui-line);margin-bottom:18px}.map-kicker{font-size:10px;letter-spacing:.2em;font-weight:700;color:var(--ui-muted)}.map-full-head h2{font:500 30px 'Playfair Display',Georgia,serif;margin:2px 0;color:var(--ui-ink)}.map-full-head p{margin:0 0 14px;font-size:13px;color:var(--ui-muted)}.map-close{display:flex;align-items:center;gap:9px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-ink);padding:11px 15px;font:600 13px inherit;cursor:pointer;box-shadow:0 5px 16px #3a17320d}.map-close:hover{background:var(--ui-soft)}.map-close:first-letter{font-size:22px}.map-fullstage{position:relative;flex:1;min-height:0}.expanded-map-frame{position:absolute!important;inset:0 390px 22px 0;height:auto!important;border-radius:22px!important;background:#e9e6dc;box-shadow:0 14px 42px #30263512}.expanded-map-frame img{object-fit:fill!important}.expanded-map-frame .pin{width:30px;height:30px;box-shadow:0 0 0 9px #781b4c2b;transition:transform .16s,box-shadow .16s}.expanded-map-frame .pin:hover,.expanded-map-frame .pin.selected{transform:scale(1.18);box-shadow:0 0 0 12px #781b4c30,0 5px 20px #21071d30;z-index:3}.expanded-map-frame .pin.jed{box-shadow:0 0 0 9px #0871b42b}.expanded-map-frame .pin.jed:hover,.expanded-map-frame .pin.jed.selected{box-shadow:0 0 0 12px #0871b431,0 5px 20px #21071d30}.expanded-map-frame .pin.dam{box-shadow:0 0 0 9px #f0a42830}.expanded-map-frame .pin.dam:hover,.expanded-map-frame .pin.dam.selected{box-shadow:0 0 0 12px #f0a42838,0 5px 20px #21071d30}.expanded-map-frame .pin.kh{box-shadow:0 0 0 9px #762fb02d}.expanded-map-frame .pin.kh:hover,.expanded-map-frame .pin.kh.selected{box-shadow:0 0 0 12px #762fb036,0 5px 20px #21071d30}.expanded-map-frame .pin-label{padding:9px 12px;font-size:12px;border:1px solid var(--ui-line);border-radius:12px}.expanded-map-frame .pin-label b{font-size:13px}.map-info{position:absolute;right:0;top:0;bottom:22px;width:366px;overflow:auto;border:1px solid var(--ui-line);border-radius:22px;padding:22px;background:linear-gradient(155deg,var(--ui-panel) 0%,var(--ui-panel) 62%,var(--ui-soft) 100%);box-shadow:0 14px 42px #30263512}.map-info-top{display:flex;align-items:center;gap:13px}.map-info-icon{height:46px;width:46px;border-radius:16px;background:var(--ui-soft);color:var(--ui-ink);display:grid;place-items:center;font-size:27px}.map-info-top h3{font:500 22px 'Playfair Display',Georgia,serif;color:var(--ui-ink);margin:3px 0 0}.map-lead-metric{margin-top:22px;border-radius:18px;padding:17px 18px;background:linear-gradient(120deg,color-mix(in srgb,var(--branch-color) 14%,var(--ui-panel)),var(--ui-panel));border:1px solid color-mix(in srgb,var(--branch-color) 20%,var(--ui-line));position:relative;overflow:hidden}.map-lead-metric:after{content:"";position:absolute;right:-19px;top:-38px;width:115px;height:115px;border-radius:50%;background:color-mix(in srgb,var(--branch-color) 9%,transparent)}.map-lead-metric small,.map-lead-metric span{display:block;color:var(--ui-muted);font-size:12px}.map-lead-metric strong{display:block;font-size:35px;letter-spacing:-.04em;color:var(--ui-ink);margin:5px 0 1px}.map-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 17px}.map-stat-grid div{padding:12px 13px;border-radius:14px;background:var(--ui-panel);border:1px solid var(--ui-line)}.map-stat-grid div:nth-child(1){background:var(--ui-soft);border-color:var(--ui-line)}.map-stat-grid div:nth-child(2){background:var(--ui-soft);border-color:var(--ui-line)}.map-stat-grid small,.map-stat-grid b{display:block}.map-stat-grid small{color:var(--ui-muted);font-size:11px;margin-bottom:5px}.map-stat-grid b{font-size:16px;color:var(--ui-ink)}.map-progress-label{display:flex;justify-content:space-between;font-size:12px;color:var(--ui-ink);margin:15px 0 7px}.map-progress-label b{color:var(--ui-ink)}.map-progress{height:9px;background:var(--ui-soft);border-radius:20px;overflow:hidden}.map-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6f1949,#d882ad)}.map-period-note,.map-empty-note{font-size:12px;line-height:1.6;color:var(--ui-muted);margin:10px 0 16px}.map-empty-note{padding:15px;border-radius:13px;background:var(--ui-soft)}.map-branch-list{border-top:1px solid var(--ui-line);padding-top:15px;margin-top:14px}.map-branch-list>.map-kicker{display:block;margin-bottom:8px}.map-branch-choice{width:100%;display:flex;align-items:center;gap:11px;padding:11px 9px;text-align:left;border:0;border-radius:12px;background:transparent;cursor:pointer;transition:background .15s,transform .15s}.map-branch-choice:hover,.map-branch-choice:focus-visible{background:color-mix(in srgb,var(--branch-color) 9%,var(--ui-panel));transform:translateX(2px);outline:none}.map-choice-dot{width:13px;height:13px;border-radius:50%;background:var(--branch-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--branch-color) 12%,white);flex:none}.map-choice-copy{min-width:0;flex:1}.map-choice-copy b,.map-choice-copy small{display:block}.map-choice-copy b{font-size:12px;color:var(--ui-ink)}.map-choice-copy small{font-size:11px;color:var(--ui-muted);margin-top:3px}.map-choice-arrow{font-size:24px;line-height:1;color:var(--ui-muted)}.map-overlay button:focus-visible{outline:3px solid #b44c83;outline-offset:3px}@keyframes map-reveal{from{opacity:0;transform:scale(.99)}to{opacity:1;transform:scale(1)}}@media(max-width:850px){.map-overlay{padding:12px 14px 0}.map-full-head{min-height:76px;margin-bottom:12px}.map-full-head h2{font-size:25px}.map-full-head p{font-size:11px;margin-bottom:10px}.map-close{padding:9px 11px}.expanded-map-frame{inset:0 310px 15px 0}.map-info{width:292px;bottom:15px;padding:16px;border-radius:18px}.map-info-top h3{font-size:18px}.map-lead-metric strong{font-size:28px}.expanded-map-frame .pin-label{font-size:10px;padding:6px 8px}.expanded-map-frame .pin-label b{font-size:11px}}@media(max-width:600px){.map-overlay{padding:9px 10px 0}.map-full-head{min-height:68px}.map-full-head h2{font-size:22px}.map-kicker{font-size:8px}.map-close{font-size:0;padding:9px 12px}.map-close span{font-size:12px}.map-fullstage{display:flex;flex-direction:column;gap:10px;overflow:auto}.expanded-map-frame{position:relative!important;inset:auto!important;width:100%;height:43vh!important;min-height:260px;flex:none;border-radius:16px!important}.map-info{position:relative;inset:auto;width:auto;max-height:none;overflow:visible;padding:15px;border-radius:16px;margin-bottom:12px}.map-info-top{gap:9px}.map-info-icon{width:38px;height:38px}.map-info-top h3{font-size:18px}.map-lead-metric{margin-top:13px;padding:12px 14px}.map-lead-metric strong{font-size:27px}.map-stat-grid{gap:7px;margin:8px 0 11px}.map-stat-grid div{padding:9px 10px}.map-stat-grid b{font-size:14px}.map-branch-list{padding-top:11px;margin-top:10px}.expanded-map-frame .pin{width:24px;height:24px}.expanded-map-frame .pin-label{font-size:8px;padding:5px 6px}.expanded-map-frame .pin-label b{font-size:9px}}
.topbar .nav{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:clamp(13px,1.5vw,24px);margin-right:auto}.topbar .nav::-webkit-scrollbar{display:none}.topbar .nav button{flex:none;white-space:nowrap;padding:0 1px}.topbar{gap:20px}@media(max-width:900px){.topbar .nav{flex:0 0 100%;width:100%;margin-right:0;order:3;overflow-x:auto;gap:24px}}
/* MAXDASH header: a compact card rail using the approved MAXDS Phosphor icon set. */
.maxdash-header{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px clamp(14px,3vw,42px) 10px;background:rgba(255,255,255,.96)}.topbar-first{height:46px;display:flex;align-items:center;justify-content:space-between;gap:22px;min-width:0}.maxdash-brand{display:flex;align-items:baseline;gap:1px;font:700 24px/1 'Century Gothic',Arial,sans-serif;letter-spacing:.135em;color:var(--plum-dark);white-space:nowrap}.maxdash-brand .brand-dash{color:var(--ui-ink)}.maxdash-header .toolbar{flex:none}.maxdash-nav{width:100%;height:70px;display:flex;align-items:stretch;gap:9px;overflow-x:auto;overflow-y:hidden;padding:4px 1px 7px;margin:0;scrollbar-width:none;overscroll-behavior-x:contain}.maxdash-nav::-webkit-scrollbar{display:none}.maxdash-nav button{position:relative;flex:0 0 83px;min-width:83px;height:59px;padding:6px 5px 5px;border:1px solid var(--ui-line);border-radius:14px;background:linear-gradient(150deg,var(--ui-panel),var(--ui-panel));color:var(--ui-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.maxdash-nav button:after{display:none}.maxdash-nav button:hover{transform:translateY(-2px);border-color:var(--ui-line);box-shadow:0 7px 15px #44193212;color:var(--plum)}.nav-icon-wrap{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:var(--ui-soft);color:var(--ui-ink);transition:background .16s,color .16s}.nav-icon{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;font-weight:600;color:inherit}.maxdash-nav button.active{background:linear-gradient(145deg,#67103f,#4d1035);border-color:#64103e;color:white;box-shadow:0 7px 16px #4e0b3526}.maxdash-nav button.active .nav-icon-wrap{background:var(--ui-tint);color:#fff}.maxdash-nav button.active .nav-label{color:#fff}.maxdash-nav button:focus-visible{outline:3px solid #c997b4;outline-offset:2px}
/* The supplied map artwork already contains its own colored location pins and labels. */
.map-panel .map-frame{height:auto!important;aspect-ratio:3/2;overflow:hidden}.map-panel .map-frame img{object-fit:cover}.map-frame .pin{width:44px;height:44px;border:0;background:transparent!important;box-shadow:none!important;transform:translate(-50%,-50%);outline:0;z-index:2}.map-frame .pin:after{display:none}.map-frame .pin.riy{left:47.7%;top:35.7%}.map-frame .pin.jed{left:25.2%;top:43.75%}.map-frame .pin.dam{left:63%;top:19.5%}.map-frame .pin.kh{left:80.7%;top:41.9%}.map-frame .pin:hover{background:#ffffff12!important;box-shadow:0 0 0 8px #ffffff80!important}.map-frame .pin.selected{background:var(--ui-tint)!important;outline:2px solid #fff!important;box-shadow:0 0 0 9px #6f19495c!important}.map-frame .pin-label{display:flex;flex-direction:column;justify-content:center;gap:2px;position:absolute;pointer-events:none;overflow:hidden;border:1px solid var(--ui-line);border-radius:11px;background:color-mix(in srgb,var(--ui-panel) 96%,transparent);padding:5px 8px;box-shadow:0 5px 16px #23172a1a;font-size:10px;line-height:1.2}.map-frame .pin-label b{display:block;font-size:11px;color:var(--ui-ink);white-space:nowrap}.map-frame .pin-label small{display:block;color:var(--ui-ink);font-size:9px;line-height:1.2;white-space:normal}.map-frame .label-ry{left:52.1%;top:29.4%;width:14.2%;height:18%}.map-frame .label-jed{left:28.5%;top:42.4%;width:13%;height:15.7%}.map-frame .label-dam{left:66.3%;top:11.2%;width:14.2%;height:18%}.map-frame .label-kh{left:84.2%;top:36%;width:14%;height:18%}.expanded-map-frame{position:relative!important;inset:auto!important;width:100%;height:auto!important;max-width:calc((100vh - 180px)*1.5);aspect-ratio:3/2;justify-self:center;align-self:center;border-radius:22px!important;transform:none!important}.expanded-map-frame img{object-fit:cover!important}.expanded-map-frame .pin{transform:translate(-50%,-50%);width:48px;height:48px}.expanded-map-frame .pin:hover{transform:translate(-50%,-50%) scale(1.08)}.expanded-map-frame .pin.selected{transform:translate(-50%,-50%) scale(1.1)}.expanded-map-frame .pin-label{font-size:12px}.expanded-map-frame .pin-label b{font-size:13px}.expanded-map-frame .pin-label small{font-size:11px}.map-fullstage{display:grid;grid-template-columns:minmax(0,1fr) 366px;gap:24px;align-items:center}.map-info{position:relative;inset:auto;width:auto;height:min(100%,calc(100vh - 160px));max-height:calc(100vh - 160px);align-self:center}.map-info{order:2}.expanded-map-frame{order:1}
@media(max-width:900px){.maxdash-header{gap:7px;padding:9px 16px}.topbar-first{height:44px;gap:12px}.maxdash-brand{font-size:21px}.maxdash-nav{height:66px;flex:0 0 auto;width:100%;gap:7px;padding-bottom:6px}.maxdash-nav button{flex-basis:76px;min-width:76px;height:55px}.map-fullstage{grid-template-columns:minmax(0,1fr) 292px;gap:14px}.expanded-map-frame{max-width:calc((100vh - 175px)*1.5)}.map-info{height:auto;max-height:calc(100vh - 150px)}}
@media(max-width:600px){.maxdash-header{padding:8px 11px}.topbar-first{height:auto;min-height:42px}.maxdash-brand{font-size:18px;letter-spacing:.1em}.maxdash-nav{height:61px;gap:6px}.maxdash-nav button{flex-basis:69px;min-width:69px;height:51px;border-radius:12px}.nav-icon-wrap{width:24px;height:24px}.nav-icon{width:16px;height:16px}.nav-label{font-size:9px}.map-fullstage{display:flex;flex-direction:column;gap:10px;overflow:auto;align-items:stretch}.expanded-map-frame{position:relative!important;inset:auto!important;width:100%;height:auto!important;max-width:none;aspect-ratio:3/2;min-height:0;flex:none;transform:none!important;border-radius:16px!important}.expanded-map-frame .pin{width:38px;height:38px}.map-info{position:relative;inset:auto;width:auto;height:auto;max-height:none;overflow:visible;align-self:stretch;padding:15px;border-radius:16px;margin-bottom:12px}.map-panel .map-frame .pin{width:38px;height:38px}.map-frame .pin-label{padding:3px 4px;border-radius:8px}.map-frame .pin-label b{font-size:9px}.map-frame .pin-label small{font-size:7px}}

/* Simplified primary navigation with secondary modules grouped under More. */
.maxdash-header{gap:8px}.maxdash-nav{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));height:auto;min-height:60px;overflow:visible;padding:0;gap:9px;align-items:stretch}
.maxdash-nav>button{width:100%;height:56px;min-width:0;flex:none;flex-direction:row;justify-content:flex-start;gap:11px;padding:8px 14px;border-radius:15px;text-align:left}
.maxdash-nav .nav-icon-wrap{width:34px;height:34px;flex:none;border-radius:11px}.maxdash-nav .nav-icon{width:19px;height:19px}.maxdash-nav .nav-label{font-size:12px;white-space:nowrap;text-overflow:clip}
.maxdash-nav>button.active{background:linear-gradient(130deg,#67103f,#4d1035)}.maxdash-nav .more-toggle{border-style:dashed;background:var(--ui-soft);color:var(--ui-ink)}
.more-menu{position:absolute;z-index:30;right:0;top:calc(100% + 9px);width:min(620px,100%);padding:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border:1px solid var(--ui-line);border-radius:17px;background:var(--ui-panel);box-shadow:0 18px 55px #28132b26}
.more-menu[hidden]{display:none}.maxdash-nav .more-menu>button{width:100%;height:58px;min-width:0;flex:none;flex-direction:row;justify-content:flex-start;gap:9px;padding:8px 10px;border-radius:12px;text-align:left}.maxdash-nav .more-menu .nav-icon-wrap{width:32px;height:32px}.maxdash-nav .more-menu .nav-label{font-size:11px}.maxdash-nav .more-menu>button.active{background:var(--ui-tint);color:var(--ui-accent);border-color:var(--ui-accent);box-shadow:none}.maxdash-nav .more-menu>button.active .nav-icon-wrap{background:#efdce7;color:var(--ui-accent)}
@media(max-width:1100px){.maxdash-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.maxdash-nav>button{padding:7px 10px}.more-menu{width:min(560px,100%);grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.maxdash-nav{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;height:auto;flex:auto;gap:7px}.maxdash-nav>button{height:50px}.maxdash-nav .nav-label{font-size:11px}}
@media(max-width:560px){.maxdash-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.maxdash-nav>button{height:48px;gap:6px;padding:6px;border-radius:12px}.maxdash-nav .nav-icon-wrap{height:29px;width:29px;border-radius:9px}.maxdash-nav .nav-icon{width:17px;height:17px}.maxdash-nav .nav-label{font-size:9px}.more-menu{right:0;left:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));padding:9px;gap:6px}.maxdash-nav .more-menu>button{height:49px;padding:6px}.maxdash-nav .more-menu .nav-label{font-size:10px}}
/* Soft, branch-colored pulses align with the supplied map markers. */
.map-frame .pin{overflow:visible}.map-frame .pin:before{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;border:2px solid var(--pulse-color);border-radius:50%;transform:translate(-50%,-50%) scale(.7);opacity:.65;pointer-events:none;animation:branch-pulse 2.6s ease-out infinite}
.map-frame .pin.riy{--pulse-color:#77194d;animation-delay:0s}.map-frame .pin.jed{--pulse-color:#0871b4;animation-delay:.45s}.map-frame .pin.dam{--pulse-color:#d18a18;animation-delay:.9s}.map-frame .pin.kh{--pulse-color:#7040a7;animation-delay:1.35s}
@keyframes branch-pulse{0%{transform:translate(-50%,-50%) scale(.7);opacity:.7}78%,100%{transform:translate(-50%,-50%) scale(2.4);opacity:0}}
@media(prefers-reduced-motion:reduce){.map-frame .pin:before{animation:none;opacity:.22;transform:translate(-50%,-50%) scale(1.15)}}

/* MAX date range picker: calendar card follows the light MAX card language. */
.filter-pop.date-pop{width:408px;padding:20px;border:1px solid var(--ui-line);border-radius:20px;background:linear-gradient(155deg,var(--ui-panel) 0%,var(--ui-panel) 72%,var(--ui-soft) 100%);box-shadow:0 22px 65px #30132820;overflow-x:hidden}
.date-preset,.calendar-day,.date-cancel,.date-apply{font-family:inherit}
.date-mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 0 14px;padding:4px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-soft)}.date-mode-tab{height:35px;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);font-family:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}.date-mode-tab:hover{color:var(--ui-accent)}.date-mode-tab.active{background:var(--ui-tint);color:var(--ui-accent);box-shadow:0 2px 7px #23353e12}.date-mode-tab:focus-visible{outline:2px solid #8bbfba;outline-offset:1px}
.date-head{margin-bottom:12px}.date-heading{display:flex;align-items:center;gap:10px}.date-heading .date-calendar-mark{order:2;width:42px;height:42px;border-radius:14px;background:var(--ui-soft);color:var(--ui-ink)}.date-heading .date-calendar-mark svg{width:22px;height:22px}.date-heading .date-eyebrow{display:none}.date-heading h3{margin:0;color:var(--ui-ink);font-family:inherit;font-size:15px;font-weight:600;letter-spacing:0}.date-today{height:37px;padding:0 17px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-soft);color:var(--ui-ink);font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}.date-today:hover{background:var(--ui-soft)}
.date-stepper{display:grid;grid-template-columns:66px minmax(0,1fr) 66px;gap:8px;align-items:stretch;margin-bottom:12px;padding:3px;border:1px solid var(--ui-line);border-radius:21px;background:var(--ui-soft)}.date-stepper-btn{display:grid;place-items:center;min-height:100px;border:1px solid var(--ui-line);border-radius:17px;background:var(--ui-soft);color:var(--ui-ink);cursor:pointer;transition:background .15s,border .15s,transform .15s}.date-stepper-btn:hover:not(:disabled){transform:translateY(-1px);background:var(--ui-soft);border-color:var(--ui-line)}.date-stepper-btn:disabled{opacity:.38;cursor:default}.date-chevron{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.date-chevron.left{transform:rotate(180deg)}.date-focus-card{display:flex;min-height:100px;flex-direction:column;align-items:center;justify-content:center;border:1.5px solid #168d84;border-radius:18px;background:var(--ui-soft);color:var(--ui-ink)}.date-focus-weekday{font-size:13px;font-weight:600}.date-focus-number{margin:-2px 0 -4px;color:var(--ui-ink);font-size:44px;line-height:1.1;font-weight:750;letter-spacing:-.05em}.date-focus-month{font-size:15px;font-weight:500}
.date-focus-card.is-range .date-focus-number{font-size:30px;white-space:nowrap;letter-spacing:-.06em}.date-stepper-btn:focus-visible,.date-today:focus-visible{outline:2px solid #6db7af;outline-offset:2px}
.date-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.date-eyebrow,.date-range-label{display:block;color:var(--ui-muted);font-size:9px;font-weight:750;letter-spacing:.16em}.date-head h3{margin:4px 0 0;color:var(--ui-ink);font-size:19px;font-weight:650;letter-spacing:-.025em}.date-calendar-mark{width:38px;height:38px;border-radius:13px;background:var(--ui-soft);color:var(--ui-ink);display:grid;place-items:center}.date-calendar-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.date-range-summary{padding:12px 14px 11px;border:1px solid var(--ui-line);border-radius:13px;background:linear-gradient(105deg,var(--ui-soft),var(--ui-panel));}.date-range-summary strong{display:block;margin:4px 0 2px;color:var(--ui-ink);font-size:19px;line-height:1.25;font-weight:700;letter-spacing:-.035em}.date-range-summary strong i{font-style:normal;color:var(--ui-muted);padding:0 5px}.date-range-summary small{font-size:10px;color:var(--ui-muted)}
.date-custom-calendar{padding:14px;border:1px solid var(--ui-line);border-radius:17px;background:linear-gradient(145deg,var(--ui-panel),var(--ui-soft))}.date-custom-calendar[hidden],.date-stepper[hidden],.date-today[hidden]{display:none}.date-custom-calendar .date-range-summary{margin-bottom:11px}.date-custom-calendar .date-shortcuts{margin:10px 0 13px}.date-custom-calendar .calendar-days{touch-action:none;user-select:none}.calendar-day:disabled{color:var(--ui-muted);cursor:default;background:var(--ui-soft)}.calendar-day:disabled:hover{background:var(--ui-soft);color:var(--ui-muted)}
.filter-pop.date-pop .date-mode-tabs{border-color:var(--ui-line);background:var(--ui-soft)}.filter-pop.date-pop .date-mode-tab{color:var(--ui-muted)}.filter-pop.date-pop .date-mode-tab:hover{color:var(--ui-accent)}.filter-pop.date-pop .date-mode-tab.active{background:linear-gradient(145deg,#67103f,#4d1035);color:#fff;box-shadow:0 3px 8px #4e0b3522}.filter-pop.date-pop .date-heading .date-calendar-mark{background:var(--ui-soft);color:var(--ui-ink)}.filter-pop.date-pop .date-today{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.filter-pop.date-pop .date-today:hover{background:var(--ui-soft)}.filter-pop.date-pop .date-stepper{border-color:var(--ui-line);background:var(--ui-soft)}.filter-pop.date-pop .date-stepper-btn{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.filter-pop.date-pop .date-stepper-btn:hover:not(:disabled){background:var(--ui-soft);border-color:var(--ui-line)}.filter-pop.date-pop .date-focus-card{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.filter-pop.date-pop .date-focus-number{color:var(--ui-ink)}.filter-pop.date-pop.custom-date-mode{width:min(360px,calc(100vw - 24px));padding:14px}.filter-pop.date-pop.custom-date-mode .date-head{margin-bottom:8px}.filter-pop.date-pop.custom-date-mode .date-custom-calendar{padding:10px;border-color:var(--ui-line);border-radius:14px}.filter-pop.date-pop.custom-date-mode .date-range-summary{padding:8px 10px;margin-bottom:8px}.filter-pop.date-pop.custom-date-mode .date-range-summary strong{font-size:16px}.filter-pop.date-pop.custom-date-mode .date-shortcuts{gap:5px;margin:7px 0 9px}.filter-pop.date-pop.custom-date-mode .date-preset{height:28px;padding:0 3px;border-color:var(--ui-line);font-size:9px}.filter-pop.date-pop.custom-date-mode .date-preset:hover,.filter-pop.date-pop.custom-date-mode .date-preset.selected{border-color:#67103f;background:var(--ui-tint);color:var(--ui-accent)}.filter-pop.date-pop.custom-date-mode .calendar-head{padding-bottom:6px;color:var(--ui-ink);font-size:11px}.filter-pop.date-pop.custom-date-mode .calendar-weekdays span{height:20px}.filter-pop.date-pop.custom-date-mode .calendar-days{grid-auto-rows:29px;gap:2px}.filter-pop.date-pop.custom-date-mode .calendar-day{height:29px;border-radius:8px;font-size:10px}.filter-pop.date-pop.custom-date-mode .calendar-day.in-range{border-radius:0;background:var(--ui-soft);color:var(--ui-ink)}.filter-pop.date-pop.custom-date-mode .calendar-day.range-start{border-radius:8px 0 0 8px;background:#67103f;color:#fff}.filter-pop.date-pop.custom-date-mode .calendar-day.range-end{border-radius:0 8px 8px 0;background:#67103f;color:#fff}.filter-pop.date-pop.custom-date-mode .calendar-day.range-start.range-end{border-radius:8px}.filter-pop.date-pop.custom-date-mode .calendar-hint{min-height:12px;margin:5px 1px 7px;font-size:8px}.filter-pop.date-pop.custom-date-mode .date-actions{gap:6px;padding-top:8px}.filter-pop.date-pop.custom-date-mode .date-cancel,.filter-pop.date-pop.custom-date-mode .date-apply{height:30px;padding:0 10px;font-size:9px}.filter-pop.date-pop.custom-date-mode .date-apply{border-color:#4d1035;background:linear-gradient(145deg,#67103f,#4d1035)}.filter-pop.date-pop.custom-date-mode .date-custom-calendar .date-range-label,.filter-pop.date-pop.custom-date-mode .date-range-summary small{color:var(--ui-muted)}.filter-pop.date-pop.custom-date-mode .date-range-summary-live{color:var(--ui-ink)}
@media(max-width:600px){.filter-pop.date-pop.custom-date-mode{padding:12px}.filter-pop.date-pop.custom-date-mode .date-custom-calendar{padding:9px}.filter-pop.date-pop.custom-date-mode .calendar-days{grid-auto-rows:34px}.filter-pop.date-pop.custom-date-mode .calendar-day{height:34px}}
.date-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:13px 0 16px}.date-preset{height:32px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-ink);font:600 10px inherit;cursor:pointer;transition:.15s}.date-preset:hover,.date-preset:focus-visible{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-accent)}.date-preset.selected{border-color:#6d1747;background:var(--ui-tint);color:var(--ui-accent)}
.calendar-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 10px;color:var(--ui-ink);font-size:12px;font-weight:700}.calendar-readonly{color:var(--ui-muted);font-size:9px;font-weight:500}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.calendar-weekdays{margin-bottom:4px}.calendar-weekdays span{height:24px;display:grid;place-items:center;color:var(--ui-muted);font-size:9px;font-weight:650}.calendar-days{grid-auto-rows:34px}.calendar-blank{display:block}.calendar-day{position:relative;z-index:0;width:100%;height:34px;border:0;border-radius:10px;background:transparent;color:var(--ui-ink);font:600 11px inherit;cursor:pointer;transition:background .14s,color .14s,transform .14s}.calendar-day:hover{background:var(--ui-soft);color:var(--ui-accent)}.calendar-day.in-range{border-radius:0;background:var(--ui-soft);color:var(--ui-ink)}.calendar-day.range-start{border-radius:10px 0 0 10px;background:#65113f;color:#fff}.calendar-day.range-end{border-radius:0 10px 10px 0;background:#65113f;color:#fff}.calendar-day.range-start.range-end{border-radius:10px}.calendar-day.is-today:not(.range-start):not(.range-end):after{content:"";position:absolute;left:50%;bottom:3px;width:3px;height:3px;border-radius:50%;background:#7c2759;transform:translateX(-50%)}.calendar-day:focus-visible{z-index:1;outline:2px solid #b37b9c;outline-offset:1px}.calendar-hint{min-height:14px;margin:8px 1px 11px;color:var(--ui-muted);font-size:9px}.date-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid var(--ui-line);padding-top:12px}.date-cancel,.date-apply{height:35px;padding:0 13px;border-radius:10px;font:650 10px inherit;cursor:pointer}.date-cancel{border:1px solid var(--ui-line);background:var(--ui-panel);color:var(--ui-ink)}.date-apply{border:1px solid #571039;background:linear-gradient(125deg,#741849,#4e1035);color:#fff;box-shadow:0 5px 12px #55103720}.date-apply span{padding-left:8px;font-size:14px}.date-cancel:hover{background:var(--ui-soft)}.date-apply:hover{filter:brightness(1.08)}
@media(max-width:600px){.filter-pop.date-pop{position:fixed;width:min(408px,calc(100vw - 24px));max-height:calc(100dvh - 140px);padding:16px;border-radius:20px;overflow:auto}.calendar-days{grid-auto-rows:38px}.calendar-day{height:38px}}

/* MAX Pulse fills the quiet center of the masthead with compact live-style insights. */
.topbar-first{min-height:58px;gap:clamp(18px,2.2vw,34px)}.maxdash-brand{flex:0 0 auto}.max-pulse{height:48px;min-width:260px;max-width:780px;flex:1 1 480px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:5px 8px;border:1px solid var(--ui-line);border-radius:15px;background:linear-gradient(100deg,var(--ui-panel) 0%,var(--ui-panel) 50%,var(--ui-panel) 100%);box-shadow:0 4px 15px #2e173408;overflow:hidden}.pulse-brand{height:30px;display:flex;align-items:center;gap:6px;flex:none;padding:0 8px;border-right:1px solid var(--ui-line);color:var(--ui-ink);font-size:9px;letter-spacing:.12em;font-weight:800;white-space:nowrap}.pulse-brand small{font-size:7px;letter-spacing:.08em;color:var(--ui-muted);background:var(--ui-soft);border-radius:5px;padding:3px 4px}.pulse-live-dot{width:7px;height:7px;border-radius:50%;background:#a88426;box-shadow:0 0 0 3px #f5ecd4}.pulse-viewport{height:100%;min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.pulse-track{height:100%;width:max-content;display:flex;align-items:center;animation:max-pulse-flow 30s linear infinite}.max-pulse:hover .pulse-track,.max-pulse:focus-within .pulse-track,.max-pulse.paused .pulse-track{animation-play-state:paused}.pulse-run{display:flex;align-items:center;height:100%;flex:none}.pulse-item{height:34px;min-width:112px;display:flex;align-items:center;gap:8px;padding:0 11px;background:transparent;border:0;border-right:1px solid var(--ui-line);text-align:left;white-space:nowrap;transition:background .15s}.pulse-item:hover,.pulse-item:focus-visible{background:var(--ui-soft);border-radius:9px;outline:none}.pulse-item-label{font-size:8px;color:var(--ui-muted);letter-spacing:.075em;font-weight:700}.pulse-item strong{font-size:13px;color:var(--ui-ink);font-weight:700}.pulse-item-arrow{font-size:13px;color:var(--ui-muted);opacity:0;transform:translateY(2px);transition:.15s}.pulse-item:hover .pulse-item-arrow,.pulse-item:focus-visible .pulse-item-arrow{opacity:1;transform:none}.pulse-toggle{height:28px;flex:none;padding:0 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-muted);font-size:9px;font-weight:600}.pulse-toggle:hover{border-color:var(--ui-line);color:var(--ui-accent)}.max-pulse.paused{background:var(--ui-soft)}.max-pulse.paused .pulse-live-dot{background:#aaa;box-shadow:none}@keyframes max-pulse-flow{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:1150px){.topbar-first{gap:16px}.max-pulse{min-width:220px;flex-basis:340px}.pulse-brand{padding:0 5px}.pulse-item{min-width:100px;padding:0 8px}}
@media(max-width:900px){.topbar-first{display:grid;grid-template-columns:auto 1fr;gap:10px 14px}.max-pulse{grid-column:1/-1;grid-row:2;width:100%;max-width:none;min-width:0;height:42px;margin:0}.topbar-first .toolbar{grid-column:2;grid-row:1;justify-self:end}.pulse-brand{font-size:8px}.pulse-item-label{font-size:7px}.pulse-item strong{font-size:11px}}
@media(max-width:560px){.max-pulse{height:38px;gap:5px;padding:4px}.pulse-brand{font-size:7px;gap:5px}.pulse-brand small{display:none}.pulse-item{min-width:90px;gap:5px;padding:0 6px}.pulse-item-label{font-size:6.5px}.pulse-item strong{font-size:10px}.pulse-toggle{font-size:8px;height:25px;padding:0 6px}}
@media(prefers-reduced-motion:reduce){.pulse-track{animation:none}.pulse-run[aria-hidden="true"]{display:none}}

/* Repair the header hierarchy and align the live map overlays to the supplied 576×294 artwork. */
.maxdash-header{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.maxdash-header>.topbar-first{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:58px;height:auto;gap:clamp(16px,2vw,32px)}
.maxdash-header>.maxdash-nav{width:100%;flex:none;align-self:stretch}
.maxdash-header>.topbar-first>.max-pulse{min-width:0;flex:1 1 520px}
.maxdash-header>.topbar-first>.toolbar{flex:none}
.map-panel .map-frame{aspect-ratio:576/294!important;height:auto!important}
.map-panel .map-frame img{object-fit:contain!important}
.expanded-map-frame{aspect-ratio:576/294!important;max-width:calc((100vh - 180px)*1.96)!important}
.expanded-map-frame img{object-fit:contain!important}
.map-frame .pin.riy{left:47.9%!important;top:46.3%!important}
.map-frame .pin.jed{left:24.8%!important;top:57.1%!important}
.map-frame .pin.dam{left:62.5%!important;top:25.9%!important}
.map-frame .pin.kh{left:80.9%!important;top:54.8%!important}
.map-frame .label-ry{left:51.8%!important;top:38.4%!important;width:14.8%!important;height:23.7%!important}
.map-frame .label-jed{left:28.5%!important;top:52.4%!important;width:13.2%!important;height:22.8%!important}
.map-frame .label-dam{left:66%!important;top:14.3%!important;width:15%!important;height:23.1%!important}
.map-frame .label-kh{left:84.4%!important;top:47.3%!important;width:14.2%!important;height:23.4%!important}
.map-frame .pin:before{width:22px;height:22px;border-width:2px;animation:branch-pulse 2.2s ease-out infinite!important}
.map-frame .pin.riy:before{animation-delay:0s!important}.map-frame .pin.jed:before{animation-delay:.45s!important}.map-frame .pin.dam:before{animation-delay:.9s!important}.map-frame .pin.kh:before{animation-delay:1.35s!important}
.pulse-track{animation:max-pulse-flow 34s linear infinite!important}
.max-pulse:hover .pulse-track{animation-play-state:running!important}
.max-pulse.paused .pulse-track{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.pulse-track{animation-duration:54s!important}.map-frame .pin:before{animation-duration:3.6s!important}}
@media(max-width:900px){.maxdash-header>.topbar-first{display:grid;grid-template-columns:auto 1fr;gap:10px 14px}.maxdash-header>.topbar-first>.max-pulse{grid-column:1/-1;grid-row:2;width:100%;max-width:none;min-width:0;margin:0}.maxdash-header>.topbar-first>.toolbar{grid-column:2;grid-row:1;justify-self:end}}
@media(max-width:560px){.expanded-map-frame{max-width:none!important}.map-panel .map-frame .pin{width:38px;height:38px}.map-frame .pin-label{padding:3px 4px}.map-frame .pin-label b{font-size:9px}.map-frame .pin-label small{font-size:7px}}

/* Phone layout: keep branch/date controls usable and give each dashboard section room to breathe. */
@media(max-width:600px){
  .maxdash-header{position:relative;gap:9px;padding:10px 12px 11px}
  .maxdash-header>.topbar-first{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:36px 40px 38px;gap:8px 7px;align-items:center;min-height:0}
  .maxdash-header>.topbar-first>.maxdash-brand{grid-column:1/3;grid-row:1;align-self:center;font-size:18px}
  .maxdash-header>.topbar-first>.toolbar{display:contents}
  .maxdash-header #notifications{grid-column:3;grid-row:1;justify-self:end;width:36px;height:36px}
  .maxdash-header #profile{grid-column:4;grid-row:1;justify-self:end;width:36px;height:36px}
  .maxdash-header #dateSelect{grid-column:3/5;grid-row:2;width:100%;min-width:0;height:40px;justify-content:flex-start;padding:0 8px;font-size:10px}
  .maxdash-header #dateSelect span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .maxdash-header>.topbar-first>.max-pulse{grid-column:1/5;grid-row:3;width:100%;height:38px;min-width:0;max-width:none;margin:0}
  .maxdash-header>.maxdash-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-height:0}
  .maxdash-nav>button{height:48px;gap:6px;padding:5px 3px;justify-content:center;flex-direction:column;border-radius:12px}
  .maxdash-nav .nav-icon-wrap{width:25px;height:25px}
  .maxdash-nav .nav-icon{width:16px;height:16px}
  .maxdash-nav .nav-label{font-size:9px;line-height:1.1}
  .more-menu{top:calc(100% + 7px);max-height:min(65vh,460px);overflow:auto}
  main{width:100%;max-width:none;padding:18px 12px 28px}
  .heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:15px}
  .headline h1{font-size:25px;line-height:1.16}
  .headline p{font-size:13px;line-height:1.4}
  .live{margin-top:0;font-size:10px}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
  .metric{min-height:112px;grid-template-columns:34px minmax(0,1fr) 10px;padding:11px 8px;gap:7px;border-radius:16px}
  .metric-icon{width:34px;height:34px;border-radius:11px}
  .metric-icon svg{width:18px;height:18px}
  .metric-label{font-size:10px;line-height:1.2}
  .metric-value{font-size:clamp(18px,5.5vw,23px);line-height:1.15;letter-spacing:-.035em;white-space:nowrap}
  .metric-foot{font-size:9px;line-height:1.2;gap:4px;flex-wrap:wrap;margin-top:5px}
  .metric .go{width:12px;height:12px}
  .middle,.bottom{grid-template-columns:minmax(0,1fr);gap:11px;margin-bottom:11px}
  .panel{min-width:0;padding:14px 12px;border-radius:17px}
  .panel-head{gap:8px;align-items:flex-start}
  .panel-head h2{font-size:17px;line-height:1.2}
  .panel-head p{font-size:11px;line-height:1.35}
  .link-btn{height:32px;flex:none;font-size:10px;padding:0 8px}
  .branch-grid{grid-template-columns:1fr;gap:8px}
  .branch-card{min-height:0;padding:11px;border-radius:14px}
  .branch-data{grid-template-columns:1.2fr .65fr .65fr;gap:5px}
  .branch-data b{font-size:12px}
  .branch-data small{font-size:9px}
  .map-panel .map-frame{height:auto!important;min-height:0;aspect-ratio:576/294!important;border-radius:14px}
  .map-panel .map-frame img{object-fit:contain!important}
  .map-frame .pin-label{display:none!important}
  .map-panel .map-frame .pin{width:34px;height:34px}
  .bottom{grid-template-columns:minmax(0,1fr)}
  .daypart{min-width:0}
  .daypart strong{font-size:14px}
  .small-panel{min-height:0}
  .modal-wrap{padding:12px}
  .modal-wrap .modal{width:100%;max-height:88dvh;padding:20px 16px;border-radius:18px}
  .detail-table th,.detail-table td{padding:11px 9px}
  .filter-pop:not(.date-pop){position:fixed!important;left:12px!important;right:12px!important;bottom:12px!important;top:auto!important;width:auto!important;max-height:75dvh;border-radius:18px}
}
@media(max-width:380px){
  .maxdash-header>.topbar-first{grid-template-rows:34px 38px 36px;gap:7px 5px}
  .maxdash-header #dateSelect{height:38px;font-size:9px;padding:0 6px}
  .pulse-item{min-width:82px;padding:0 5px}
  .pulse-toggle{padding:0 5px}
  .metric{grid-template-columns:30px minmax(0,1fr) 8px;padding:9px 6px;gap:5px}
  .metric-icon{width:30px;height:30px}
  .metric-label{font-size:9px}
  .metric-value{font-size:18px}
}

/* MAX Pulse: stock-style direction chips make changes readable at a glance. */
.pulse-item{justify-content:space-between;gap:8px;min-width:158px;padding:0 9px}
.pulse-item-copy{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
.pulse-item-label{font-size:7px;letter-spacing:.07em;white-space:nowrap}
.pulse-item-copy strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.1;white-space:nowrap}
.pulse-item-sub{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;line-height:1.1;color:var(--ui-muted)}
.pulse-trend{height:23px;display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;padding:0 6px;border:1px solid transparent;border-radius:8px;font-size:9px;line-height:1;font-weight:750;letter-spacing:-.025em}
.pulse-trend-icon{display:block;width:16px;height:16px;flex:none;fill:none;color:currentColor}
.pulse-trend.rise{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}
.pulse-trend.fall{background:var(--ui-soft);border-color:var(--ui-line);color:#c44152}
.pulse-trend.steady{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-muted)}
.pulse-trend.good{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}
.pulse-trend.bad{background:var(--ui-soft);border-color:var(--ui-line);color:#c44152}
.pulse-item:hover .pulse-trend.rise{background:#ddf0e4}
.pulse-item:hover .pulse-trend.fall{background:var(--ui-soft)}
@media(max-width:600px){.pulse-item{min-width:142px;gap:6px;padding:0 7px}.pulse-trend{height:21px;padding:0 5px;font-size:8px}.pulse-item-copy strong{font-size:11px}}
@media(max-width:380px){.pulse-item{min-width:134px;padding:0 6px}.pulse-trend{font-size:7px;padding:0 4px}}

/* The operational cards have three text rows; give the subtitle its own visible line. */
.max-pulse{height:56px!important}
.pulse-item{height:44px!important}
.pulse-item-label{line-height:1.2}
.pulse-item-copy strong{line-height:1.15}
.pulse-item-sub{display:block;line-height:1.2;color:var(--ui-muted)}
@media(max-width:900px){.maxdash-header>.topbar-first>.max-pulse{height:56px!important}}
@media(max-width:600px){.maxdash-header>.topbar-first{grid-template-rows:36px 40px 52px}.maxdash-header>.topbar-first>.max-pulse{height:52px!important}.pulse-item{height:42px!important}}
@media(max-width:380px){.maxdash-header>.topbar-first{grid-template-rows:34px 38px 50px}.maxdash-header>.topbar-first>.max-pulse{height:50px!important}.pulse-item{height:40px!important}}

/* Inventory workspace */
main>section[hidden]{display:none!important}
.inventory-page{grid-column:1/-1;min-width:0;color:var(--ink,#211b22)}
.inventory-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 22px}
.inventory-eyebrow{display:block;margin-bottom:7px;color:var(--ui-muted);font-size:10px;font-weight:750;letter-spacing:.15em}
.inventory-heading h1{margin:0;color:var(--ui-ink);font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.035em}
.inventory-heading p{margin:7px 0 0;color:var(--ui-muted);font-size:13px}
.inventory-export{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 15px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);color:var(--ui-ink);font:650 12px inherit;box-shadow:0 4px 14px #32152b08;cursor:pointer}
.inventory-export:hover{background:var(--ui-soft);border-color:var(--ui-line)}.inventory-export .inventory-library-icon{width:17px;height:17px;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}
.inventory-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.inventory-kpi{position:relative;display:flex;flex-direction:column;min-width:0;min-height:142px;padding:17px 18px;border:1px solid var(--ui-line);border-radius:19px;background:var(--ui-panel);text-align:left;box-shadow:0 8px 22px #29142b07;overflow:hidden}
button.inventory-kpi{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}button.inventory-kpi:hover{transform:translateY(-2px);box-shadow:0 13px 28px #29142b12}
.inventory-kpi:before{position:absolute;content:"";left:0;top:0;width:100%;height:3px;background:#74164a}
.inventory-kpi-low{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.inventory-kpi-low:before{background:#e2a63e}
.inventory-kpi-out{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.inventory-kpi-out:before{background:#d75d65}
.inventory-kpi-value{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.inventory-kpi-value:before{background:#5a9273}
.inventory-kpi-top{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ui-muted)}
.inventory-kpi-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:11px;background:var(--ui-soft);color:var(--ui-ink);font-size:18px;font-weight:700}
.inventory-kpi-low .inventory-kpi-icon{background:#fff1d8;color:var(--ui-ink)}.inventory-kpi-out .inventory-kpi-icon{background:var(--ui-soft);color:#bb3f4a}.inventory-kpi-value .inventory-kpi-icon{background:var(--ui-soft);color:var(--ui-ink)}
.inventory-library-icon{display:block;width:18px;height:18px;object-fit:contain;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}
.inventory-kpi-low .inventory-library-icon{filter:invert(44%) sepia(88%) saturate(755%) hue-rotate(356deg) brightness(87%) contrast(91%)}.inventory-kpi-out .inventory-library-icon{filter:invert(31%) sepia(47%) saturate(1800%) hue-rotate(313deg) brightness(88%) contrast(94%)}.inventory-kpi-value .inventory-library-icon{filter:invert(39%) sepia(26%) saturate(752%) hue-rotate(88deg) brightness(83%) contrast(88%)}
.inventory-kpi-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.inventory-kpi-arrow{width:16px;height:16px;margin-left:auto;opacity:.68;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.inventory-kpi>strong{display:block;margin-top:12px;color:var(--ui-ink);font-size:clamp(25px,2.5vw,33px);line-height:1;letter-spacing:-.045em}
.inventory-kpi-value>strong{font-size:clamp(22px,2.2vw,30px)}.inventory-kpi>small{margin-top:7px;color:var(--ui-muted);font-size:11px;line-height:1.35}
.inventory-table-panel{min-width:0;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-panel);box-shadow:0 8px 24px #29142b07;overflow:hidden}
.inventory-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 21px 15px}
.inventory-panel-head h2{margin:0;color:var(--ui-ink);font-size:18px;letter-spacing:-.02em}.inventory-panel-head p{margin:5px 0 0;color:var(--ui-muted);font-size:11px}
.inventory-search{display:flex;align-items:center;gap:8px;width:min(310px,44%);height:39px;padding:0 11px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-muted)}
.inventory-search:focus-within{border-color:#b88da7;box-shadow:0 0 0 3px #67103f10}.inventory-search-icon{width:16px;height:16px;flex:none;opacity:.5}
.inventory-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ui-ink);font:12px inherit}.inventory-search input::placeholder{color:var(--ui-muted)}
.inventory-filters{display:flex;align-items:center;gap:6px;padding:0 21px 14px;border-bottom:1px solid var(--ui-line);overflow-x:auto}
.inventory-filter{display:inline-flex;align-items:center;gap:7px;flex:none;padding:8px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ui-muted);font:600 11px inherit;cursor:pointer}
.inventory-filter span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:7px;background:var(--ui-soft);color:var(--ui-muted);font-size:10px}
.inventory-filter:hover{background:var(--ui-soft);color:var(--ui-accent)}.inventory-filter.active{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.inventory-filter.active span{background:#ead9e4;color:var(--ui-accent)}
.inventory-table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain}
.inventory-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
.inventory-table th{height:38px;padding:0 14px;background:var(--ui-panel);color:var(--ui-muted);font-size:9px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.inventory-table td{height:62px;padding:8px 14px;border-top:1px solid var(--ui-line);color:var(--ui-ink);font-size:11px}
.inventory-table tbody tr{cursor:pointer;transition:background .14s}.inventory-table tbody tr:hover{background:var(--ui-soft)}.inventory-table tbody tr:focus-visible{outline:2px solid #a56387;outline-offset:-2px}
.inventory-table th:first-child,.inventory-table td:first-child{padding-left:21px}.inventory-table th:last-child,.inventory-table td:last-child{padding-right:21px}
.inventory-item-name{display:flex;flex-direction:column;gap:4px;min-width:150px}.inventory-item-name b{color:var(--ui-ink);font-size:12px;font-weight:650}.inventory-item-name small{color:var(--ui-muted);font-size:10px}
.inventory-quantity{display:flex;flex-direction:column;gap:5px;min-width:83px}.inventory-quantity b{color:var(--ui-ink);font-size:11px;font-weight:650}
.inventory-stock-meter{display:block;width:70px;height:4px;border-radius:9px;background:var(--ui-soft);overflow:hidden}.inventory-stock-meter i{display:block;height:100%;border-radius:inherit;background:#5b9875}.inventory-stock-meter i.low{background:#d99a37}.inventory-stock-meter i.out{background:#d85560}
.inventory-expiry,.inventory-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:650}
.inventory-expiry{padding:5px 8px;border-radius:8px;background:var(--ui-soft);color:var(--ui-muted)}.inventory-expiry.ok{background:var(--ui-soft);color:var(--ui-ink)}.inventory-expiry.soon{background:#fff4df;color:var(--ui-warning)}.inventory-expiry.expired{background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:#b63f4b}
.inventory-status i{width:7px;height:7px;border-radius:50%;background:#589574}.inventory-status.low{color:var(--ui-warning)}.inventory-status.low i{background:#e1a33b}.inventory-status.out{color:#bd4650}.inventory-status.out i{background:#d85560}.inventory-value-cell{color:var(--ui-ink)!important;font-weight:650}
.inventory-empty{height:88px!important;text-align:center;color:var(--ui-muted)!important}.inventory-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 21px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px}
@media(max-width:900px){.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-kpi{min-height:128px}}
@media(max-width:600px){.inventory-page{padding:1px 0}.inventory-heading{align-items:flex-start;margin:4px 1px 15px}.inventory-heading h1{font-size:25px}.inventory-heading p{max-width:260px;font-size:11px;line-height:1.45}.inventory-export{width:39px;height:39px;justify-content:center;padding:0;font-size:0;flex:none}.inventory-export .nav-icon{width:18px;height:18px}.inventory-kpis{gap:8px;margin-bottom:11px}.inventory-kpi{min-height:117px;padding:13px 12px;border-radius:15px}.inventory-kpi-top{gap:7px}.inventory-kpi-icon{width:28px;height:28px;border-radius:9px}.inventory-kpi-label{font-size:10px}.inventory-kpi>strong{margin-top:10px;font-size:26px}.inventory-kpi-value>strong{font-size:22px}.inventory-kpi>small{font-size:9px}.inventory-table-panel{border-radius:16px}.inventory-panel-head{align-items:flex-start;flex-direction:column;padding:16px 13px 12px}.inventory-panel-head h2{font-size:17px}.inventory-search{width:100%;height:38px}.inventory-filters{padding:0 11px 11px}.inventory-filter{padding:7px 9px;font-size:10px}.inventory-table{min-width:760px}.inventory-table th{height:35px;padding:0 11px;font-size:8px}.inventory-table td{height:58px;padding:7px 11px;font-size:10px}.inventory-table th:first-child,.inventory-table td:first-child{padding-left:13px}.inventory-table th:last-child,.inventory-table td:last-child{padding-right:13px}.inventory-footer{align-items:flex-start;flex-direction:column;gap:5px;padding:11px 13px;font-size:9px}}

/* MAXDASH wordmark follows the supplied MAXDS lockup; its monogram is cropped from the approved source asset. */
.maxdash-header>.topbar-first>.maxdash-brand{display:flex;align-items:center;gap:9px;width:max-content;height:50px;padding:2px 11px 2px 3px;flex:none;border:1px solid #172338;border-radius:15px;background:#07111f;color:#fff;box-sizing:border-box;overflow:hidden;font:inherit;letter-spacing:normal}
.maxdash-brand .brand-mark{position:relative;display:block;width:46px;height:46px;flex:none;overflow:hidden;border-radius:13px;background:#07111f}
.maxdash-brand .brand-mark img{position:absolute;left:0;top:-1px;width:193px;max-width:none;height:auto}
.maxdash-brand .brand-wordmark{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:2px}
.maxdash-brand .brand-name{display:flex;align-items:center;gap:1px;font:800 21px/1 'Century Gothic',Arial,sans-serif;letter-spacing:.015em;white-space:nowrap}
.maxdash-brand .brand-name b{color:#fff;font-weight:800}.maxdash-brand .brand-name strong{font-weight:800;background:linear-gradient(105deg,#11c9ed 5%,#4385f5 55%,#7b5ae9 96%);-webkit-background-clip:text;background-clip:text;color:transparent}
.maxdash-brand .brand-subtitle{color:var(--ui-muted);font:600 6px/1.1 'Century Gothic',Arial,sans-serif;letter-spacing:.28em;white-space:nowrap}

/* Menu workspace */
.menu-page{grid-column:1/-1;min-width:0;color:var(--ink,#211b22)}
.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 22px}
.menu-eyebrow{display:block;margin-bottom:7px;color:var(--ui-muted);font-size:10px;font-weight:750;letter-spacing:.15em}
.menu-heading h1{margin:0;color:var(--ui-ink);font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.035em}.menu-heading p{margin:7px 0 0;color:var(--ui-muted);font-size:13px}
.menu-heading-actions{display:flex;align-items:center;gap:8px}.menu-export,.menu-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);color:var(--ui-ink);font:650 12px inherit;box-shadow:0 4px 14px #32152b08;cursor:pointer}
.menu-export:hover{background:var(--ui-soft);border-color:var(--ui-line)}.menu-add{border-color:#4d1035;background:linear-gradient(130deg,#67103f,#4d1035);color:#fff}.menu-add:hover{filter:brightness(1.08)}
.menu-export img,.menu-add img{width:17px;height:17px;object-fit:contain;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.menu-add img{filter:brightness(0) invert(1)}
.menu-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.menu-kpi{position:relative;display:flex;flex-direction:column;min-width:0;min-height:142px;padding:17px 18px;border:1px solid var(--ui-line);border-radius:19px;background:var(--ui-panel);text-align:left;box-shadow:0 8px 22px #29142b07;overflow:hidden}
button.menu-kpi{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}button.menu-kpi:hover{transform:translateY(-2px);box-shadow:0 13px 28px #29142b12}
.menu-kpi:before{position:absolute;content:"";left:0;top:0;width:100%;height:3px;background:#74164a}.menu-kpi-active{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.menu-kpi-active:before{background:#5a9273}.menu-kpi-margin{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.menu-kpi-margin:before{background:#dfa33b}.menu-kpi-seller{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.menu-kpi-seller:before{background:#548ab5}
.menu-kpi-top{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ui-muted)}.menu-kpi-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:11px;background:var(--ui-soft);color:var(--ui-ink)}.menu-kpi-icon img{display:block;width:18px;height:18px;object-fit:contain;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}
.menu-kpi-active .menu-kpi-icon{background:var(--ui-soft)}.menu-kpi-active .menu-kpi-icon img{filter:invert(39%) sepia(26%) saturate(752%) hue-rotate(88deg) brightness(83%) contrast(88%)}.menu-kpi-margin .menu-kpi-icon{background:#fff1d8}.menu-kpi-margin .menu-kpi-icon img{filter:invert(44%) sepia(88%) saturate(755%) hue-rotate(356deg) brightness(87%) contrast(91%)}.menu-kpi-seller .menu-kpi-icon{background:var(--ui-soft)}.menu-kpi-seller .menu-kpi-icon img{filter:invert(43%) sepia(16%) saturate(1041%) hue-rotate(164deg) brightness(84%) contrast(85%)}
.menu-kpi-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.menu-kpi-arrow{width:16px;height:16px;margin-left:auto;opacity:.68;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.menu-kpi>strong{display:block;overflow:hidden;margin-top:12px;color:var(--ui-ink);font-size:clamp(25px,2.5vw,33px);line-height:1;letter-spacing:-.045em;text-overflow:ellipsis;white-space:nowrap}.menu-kpi-seller>strong{font-size:clamp(17px,1.8vw,22px);letter-spacing:-.02em}.menu-kpi>small{margin-top:7px;color:var(--ui-muted);font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-catalog-panel{min-width:0;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-panel);box-shadow:0 8px 24px #29142b07;overflow:hidden}
.menu-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 21px 15px}.menu-panel-head h2{margin:0;color:var(--ui-ink);font-size:18px;letter-spacing:-.02em}.menu-panel-head p{margin:5px 0 0;color:var(--ui-muted);font-size:11px}
.menu-search{display:flex;align-items:center;gap:8px;width:min(310px,44%);height:39px;padding:0 11px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-muted)}.menu-search:focus-within{border-color:#b88da7;box-shadow:0 0 0 3px #67103f10}.menu-search img{width:16px;height:16px;flex:none;opacity:.5}.menu-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ui-ink);font:12px inherit}.menu-search input::placeholder{color:var(--ui-muted)}
.menu-filter-row,.menu-category-row{display:flex;align-items:center;gap:6px;padding:0 21px 13px;overflow-x:auto}.menu-filter-row{border-bottom:1px solid var(--ui-line)}.menu-filter,.menu-category{display:inline-flex;align-items:center;gap:7px;flex:none;padding:8px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ui-muted);font:600 11px inherit;cursor:pointer}.menu-filter span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:7px;background:var(--ui-soft);color:var(--ui-muted);font-size:10px}.menu-filter:hover,.menu-category:hover{background:var(--ui-soft);color:var(--ui-accent)}.menu-filter.active,.menu-category.active{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.menu-filter.active span{background:#ead9e4;color:var(--ui-accent)}.menu-category-row{padding-top:11px;padding-bottom:12px}.menu-category{padding:7px 10px;background:var(--ui-soft);border-color:var(--ui-line);font-size:10px}.menu-category.active{background:var(--ui-tint);border-color:var(--ui-accent)}
.menu-table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain}.menu-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.menu-table th{height:38px;padding:0 12px;background:var(--ui-panel);color:var(--ui-muted);font-size:9px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.menu-table td{height:62px;padding:8px 12px;border-top:1px solid var(--ui-line);color:var(--ui-ink);font-size:11px}.menu-table tbody tr{cursor:pointer;transition:background .14s}.menu-table tbody tr:hover{background:var(--ui-soft)}.menu-table tbody tr:focus-visible{outline:2px solid #a56387;outline-offset:-2px}.menu-table th:first-child,.menu-table td:first-child{padding-left:21px}.menu-table th:last-child,.menu-table td:last-child{padding-right:21px}
.menu-item-name,.menu-demand{display:flex;flex-direction:column;gap:4px}.menu-item-name{min-width:138px}.menu-item-name b{color:var(--ui-ink);font-size:12px;font-weight:650}.menu-item-name small,.menu-demand small{color:var(--ui-muted);font-size:10px}.menu-price{color:var(--ui-ink)!important;font-weight:650}.menu-margin{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:10px;font-weight:700}.menu-margin.good{background:var(--ui-soft);color:var(--ui-ink)}.menu-margin.low{background:#fff4df;color:var(--ui-warning)}.menu-demand{gap:3px}.menu-demand b{color:var(--ui-ink);font-size:11px}.menu-demand small.up{color:var(--ui-ink)}.menu-demand small.down{color:#c34d58}.menu-channels{display:flex;gap:4px}.menu-channels span{padding:4px 6px;border-radius:6px;background:var(--ui-soft);color:var(--ui-ink);font-size:9px}.menu-channels span.off{background:var(--ui-soft);color:var(--ui-muted)}.menu-availability{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:650}.menu-availability i{width:7px;height:7px;border-radius:50%;background:#589574}.menu-availability.unavailable{color:var(--ui-ink)}.menu-availability.unavailable i{background:#d85560}.menu-empty{height:88px!important;text-align:center;color:var(--ui-muted)!important}.menu-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 21px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px}
@media(max-width:900px){.menu-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-kpi{min-height:128px}}
@media(max-width:600px){.maxdash-brand{height:42px!important;padding:2px 8px 2px 3px!important;gap:7px!important;border-radius:13px!important}.maxdash-brand .brand-mark{width:38px;height:38px;border-radius:11px}.maxdash-brand .brand-mark img{width:160px;top:-1px}.maxdash-brand .brand-name{font-size:17px}.maxdash-brand .brand-subtitle{font-size:5px;letter-spacing:.25em}.menu-page{padding:1px 0}.menu-heading{align-items:flex-start;margin:4px 1px 15px}.menu-heading h1{font-size:25px}.menu-heading p{max-width:250px;font-size:11px;line-height:1.45}.menu-heading-actions{gap:6px}.menu-export,.menu-add{width:39px;height:39px;gap:0;padding:0;font-size:0;flex:none}.menu-export img,.menu-add img{width:18px;height:18px}.menu-kpis{gap:8px;margin-bottom:11px}.menu-kpi{min-height:117px;padding:13px 12px;border-radius:15px}.menu-kpi-top{gap:7px}.menu-kpi-icon{width:28px;height:28px;border-radius:9px}.menu-kpi-icon img{width:16px;height:16px}.menu-kpi-label{font-size:10px}.menu-kpi>strong{margin-top:10px;font-size:26px}.menu-kpi-seller>strong{font-size:16px}.menu-kpi>small{font-size:9px}.menu-catalog-panel{border-radius:16px}.menu-panel-head{align-items:flex-start;flex-direction:column;padding:16px 13px 12px}.menu-panel-head h2{font-size:17px}.menu-search{width:100%;height:38px}.menu-filter-row,.menu-category-row{padding-left:11px;padding-right:11px}.menu-filter,.menu-category{padding:7px 9px;font-size:10px}.menu-table{min-width:870px}.menu-table th{height:35px;padding:0 10px;font-size:8px}.menu-table td{height:58px;padding:7px 10px;font-size:10px}.menu-table th:first-child,.menu-table td:first-child{padding-left:13px}.menu-table th:last-child,.menu-table td:last-child{padding-right:13px}.menu-footer{align-items:flex-start;flex-direction:column;gap:5px;padding:11px 13px;font-size:9px}}
.maxdash-brand .brand-mark img{width:184px}
.menu-demand small img{width:12px;height:12px;object-fit:contain;filter:invert(39%) sepia(26%) saturate(752%) hue-rotate(88deg) brightness(83%) contrast(88%)}
.menu-demand small.down img{filter:invert(31%) sepia(47%) saturate(1800%) hue-rotate(313deg) brightness(88%) contrast(94%)}
@media(max-width:600px){.maxdash-brand .brand-mark img{width:154px}}

/* Customer relationship workspace */
.customers-page{grid-column:1/-1;min-width:0;color:var(--ink,#211b22)}
.customers-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 22px}.customers-eyebrow{display:block;margin-bottom:7px;color:var(--ui-muted);font-size:10px;font-weight:750;letter-spacing:.15em}.customers-heading h1{margin:0;color:var(--ui-ink);font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.035em}.customers-heading p{margin:7px 0 0;color:var(--ui-muted);font-size:13px}
.customers-actions{display:flex;align-items:center;gap:8px}.customers-export,.customers-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);color:var(--ui-ink);font:650 12px inherit;box-shadow:0 4px 14px #32152b08;cursor:pointer}.customers-export:hover{background:var(--ui-soft);border-color:var(--ui-line)}.customers-add{border-color:#123e33;background:linear-gradient(130deg,#145444,#0e3c31);color:#fff}.customers-add:hover{filter:brightness(1.08)}.customers-export img,.customers-add img{width:17px;height:17px;object-fit:contain;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.customers-add img{filter:brightness(0) invert(1)}
.customers-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.customer-kpi{position:relative;display:flex;flex-direction:column;min-width:0;min-height:142px;padding:17px 18px;border:1px solid var(--ui-line);border-radius:19px;background:var(--ui-panel);text-align:left;box-shadow:0 8px 22px #29142b07;overflow:hidden}.customer-kpi{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.customer-kpi:hover{transform:translateY(-2px);box-shadow:0 13px 28px #29142b12}.customer-kpi:before{position:absolute;content:"";left:0;top:0;width:100%;height:3px;background:#74164a}.customer-kpi-returning{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.customer-kpi-returning:before{background:#5b9a7c}.customer-kpi-vip{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.customer-kpi-vip:before{background:#dca33c}.customer-kpi-risk{background:linear-gradient(145deg,var(--ui-panel) 58%,var(--ui-soft))}.customer-kpi-risk:before{background:#638eaf}.customer-kpi-top{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ui-muted)}.customer-kpi-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:11px;background:var(--ui-soft)}.customer-kpi-icon img{display:block;width:18px;height:18px;object-fit:contain;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.customer-kpi-returning .customer-kpi-icon{background:var(--ui-soft)}.customer-kpi-returning .customer-kpi-icon img{filter:invert(39%) sepia(26%) saturate(752%) hue-rotate(88deg) brightness(83%) contrast(88%)}.customer-kpi-vip .customer-kpi-icon{background:#fff0d2}.customer-kpi-vip .customer-kpi-icon img{filter:invert(44%) sepia(88%) saturate(755%) hue-rotate(356deg) brightness(87%) contrast(91%)}.customer-kpi-risk .customer-kpi-icon{background:var(--ui-soft)}.customer-kpi-risk .customer-kpi-icon img{filter:invert(43%) sepia(16%) saturate(1041%) hue-rotate(164deg) brightness(84%) contrast(85%)}.customer-kpi-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.customer-kpi-arrow{width:16px;height:16px;margin-left:auto;opacity:.68;filter:invert(16%) sepia(50%) saturate(1240%) hue-rotate(278deg) brightness(81%) contrast(105%)}.customer-kpi>strong{display:block;overflow:hidden;margin-top:12px;color:var(--ui-ink);font-size:clamp(25px,2.5vw,33px);line-height:1;letter-spacing:-.045em;text-overflow:ellipsis;white-space:nowrap}.customer-kpi>small{margin-top:7px;color:var(--ui-muted);font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customers-panel{min-width:0;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-panel);box-shadow:0 8px 24px #29142b07;overflow:hidden}.customers-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 21px 15px}.customers-panel-head h2{margin:0;color:var(--ui-ink);font-size:18px;letter-spacing:-.02em}.customers-panel-head p{margin:5px 0 0;color:var(--ui-muted);font-size:11px}.customers-search{display:flex;align-items:center;gap:8px;width:min(310px,44%);height:39px;padding:0 11px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-muted)}.customers-search:focus-within{border-color:#b88da7;box-shadow:0 0 0 3px #67103f10}.customers-search img{width:16px;height:16px;flex:none;opacity:.5}.customers-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ui-ink);font:12px inherit}.customers-search input::placeholder{color:var(--ui-muted)}
.customers-filter-row{display:flex;align-items:center;gap:6px;padding:0 21px 13px;border-bottom:1px solid var(--ui-line);overflow-x:auto}.customer-filter{display:inline-flex;align-items:center;gap:7px;flex:none;padding:8px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ui-muted);font:600 11px inherit;cursor:pointer}.customer-filter span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:7px;background:var(--ui-soft);color:var(--ui-muted);font-size:10px}.customer-filter:hover{background:var(--ui-soft);color:var(--ui-accent)}.customer-filter.active{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.customer-filter.active span{background:#ead9e4;color:var(--ui-accent)}
.customers-table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain}.customers-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.customers-table th{height:38px;padding:0 12px;background:var(--ui-panel);color:var(--ui-muted);font-size:9px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.customers-table td{height:66px;padding:8px 12px;border-top:1px solid var(--ui-line);color:var(--ui-ink);font-size:11px}.customers-table tbody tr{cursor:pointer;transition:background .14s}.customers-table tbody tr:hover{background:var(--ui-soft)}.customers-table tbody tr:focus-visible{outline:2px solid #a56387;outline-offset:-2px}.customers-table th:first-child,.customers-table td:first-child{padding-left:21px}.customers-table th:last-child,.customers-table td:last-child{padding-right:21px}.customer-identity{display:flex;align-items:center;gap:10px;min-width:165px}.customer-avatar{display:grid;place-items:center;width:35px;height:35px;flex:none;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-soft);color:var(--ui-ink);font-size:10px;font-weight:750}.customer-avatar.avatar-1{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}.customer-avatar.avatar-2{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}.customer-avatar.avatar-3{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}.customer-avatar.avatar-4{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-ink)}.customer-identity>span:last-child{display:flex;flex-direction:column;gap:4px}.customer-identity b{color:var(--ui-ink);font-size:11px;font-weight:650}.customer-identity small{color:var(--ui-muted);font-size:9px}.customer-tier{display:inline-flex;padding:5px 8px;border-radius:8px;background:var(--ui-soft);color:var(--ui-muted);font-size:9px;font-weight:700}.customer-tier.vip{background:var(--ui-soft);color:var(--ui-ink)}.customer-tier.loyal{background:var(--ui-soft);color:var(--ui-ink)}.customer-visits,.customer-spend{color:var(--ui-ink);font-weight:650}.customer-last-visit{display:inline-flex;padding:5px 8px;border-radius:8px;background:var(--ui-soft);color:var(--ui-ink);font-size:10px;font-weight:650}.customer-last-visit.risk{background:#fff3e1;color:var(--ui-ink)}.customer-channel{color:var(--ui-muted)}.customer-empty{height:90px!important;text-align:center;color:var(--ui-muted)!important}.customers-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 21px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px}
@media(max-width:900px){.customers-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-kpi{min-height:128px}}
@media(max-width:600px){.customers-page{padding:1px 0}.customers-heading{align-items:flex-start;margin:4px 1px 15px}.customers-heading h1{font-size:25px}.customers-heading p{max-width:250px;font-size:11px;line-height:1.45}.customers-actions{gap:6px}.customers-export,.customers-add{width:39px;height:39px;gap:0;padding:0;font-size:0;flex:none}.customers-export img,.customers-add img{width:18px;height:18px}.customers-kpis{gap:8px;margin-bottom:11px}.customer-kpi{min-height:117px;padding:13px 12px;border-radius:15px}.customer-kpi-top{gap:7px}.customer-kpi-icon{width:28px;height:28px;border-radius:9px}.customer-kpi-icon img{width:16px;height:16px}.customer-kpi-label{font-size:10px}.customer-kpi>strong{margin-top:10px;font-size:26px}.customer-kpi>small{font-size:9px}.customers-panel{border-radius:16px}.customers-panel-head{align-items:flex-start;flex-direction:column;padding:16px 13px 12px}.customers-panel-head h2{font-size:17px}.customers-search{width:100%;height:38px}.customers-filter-row{padding:0 11px 11px}.customer-filter{padding:7px 9px;font-size:10px}.customers-table{min-width:940px}.customers-table th{height:35px;padding:0 10px;font-size:8px}.customers-table td{height:58px;padding:7px 10px;font-size:10px}.customers-table th:first-child,.customers-table td:first-child{padding-left:13px}.customers-table th:last-child,.customers-table td:last-child{padding-right:13px}.customers-footer{align-items:flex-start;flex-direction:column;gap:5px;padding:11px 13px;font-size:9px}}

/* Calendar workspace follows the approved MAXVO branch/daypart matrix and the comparative screen map. */
.calendar-page{grid-column:1/-1;min-width:0;color:var(--ink,#211b22)}.calendar-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 18px}.calendar-eyebrow{display:block;margin:0 0 7px;color:var(--ui-muted);font-size:10px;font-weight:750;letter-spacing:.15em}.calendar-title-row h1{margin:0;color:var(--ui-ink);font-size:clamp(26px,3vw,36px);line-height:1.12;letter-spacing:-.035em}.calendar-title-row p{margin:7px 0 0;color:var(--ui-muted);font-size:13px}.calendar-actions{display:flex;align-items:center;gap:8px}.calendar-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:11px;font-weight:650;cursor:pointer}.calendar-actions .calendar-add{border-color:#4d1035;background:linear-gradient(130deg,#67103f,#4d1035);color:#fff}.calendar-actions .calendar-availability-link{color:var(--ui-ink);background:var(--ui-soft);border-color:var(--ui-line)}.calendar-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.calendar-summary-card{display:flex;flex-direction:column;min-width:0;min-height:107px;padding:15px 17px;border:1px solid var(--ui-line);border-radius:17px;background:var(--ui-panel);box-shadow:0 7px 20px #29142b06}.calendar-summary-card:before{content:"";height:3px;width:100%;margin:-15px -17px 12px;background:#751546}.calendar-summary-card.blue:before{background:#618db4}.calendar-summary-card.amber:before{background:#dfa43b}.calendar-summary-card.green:before{background:#5a9b79}.calendar-summary-card span{color:var(--ui-muted);font-size:10px;font-weight:650}.calendar-summary-card strong{margin-top:7px;color:var(--ui-ink);font-size:clamp(20px,2vw,27px);line-height:1;letter-spacing:-.035em;white-space:nowrap}.calendar-summary-card small{margin-top:6px;color:var(--ui-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-workspace{min-width:0;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-panel);box-shadow:0 8px 24px #29142b07;overflow:hidden}.calendar-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 17px;border-bottom:1px solid var(--ui-line)}.calendar-subnav{display:flex;align-items:center;gap:5px;overflow-x:auto}.calendar-subnav button{display:inline-flex;align-items:center;gap:7px;flex:none;padding:9px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ui-muted);font:inherit;font-size:10px;font-weight:650;white-space:nowrap;cursor:pointer}.calendar-subnav button:hover{background:var(--ui-soft);color:var(--ui-accent)}.calendar-subnav button.active{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.calendar-subnav button span{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:6px;background:var(--ui-soft);font-size:9px}.calendar-kind-tabs{display:flex;align-items:center;padding:3px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-soft)}.calendar-kind-tabs button{padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--ui-muted);font:inherit;font-size:9px;font-weight:650;white-space:nowrap;cursor:pointer}.calendar-kind-tabs button.active{background:var(--ui-tint);color:var(--ui-accent);box-shadow:0 2px 8px #21101b12}
.calendar-load-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 14px}.calendar-load-toolbar h2{margin:0;color:var(--ui-ink);font-size:17px;letter-spacing:-.02em}.calendar-load-toolbar p{margin:5px 0 0;color:var(--ui-muted);font-size:10px}.calendar-date-arrows{display:flex;gap:5px;flex:none}.calendar-date-arrows button{height:31px;padding:0 9px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-muted);font:inherit;font-size:9px;font-weight:600;cursor:pointer}.calendar-date-arrows button:hover{border-color:#c9aabd;color:var(--ui-accent)}.service-load-table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain}.service-load-table{width:100%;min-width:900px;border-collapse:collapse;text-align:left}.service-load-table th{height:56px;padding:8px 13px;border-top:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line);background:var(--ui-panel);color:var(--ui-ink);font-size:10px;font-weight:650;vertical-align:middle}.service-load-table thead th:first-child,.service-load-table tbody th:first-child{padding-left:20px}.service-load-table thead th:last-child,.service-load-table tbody td:last-child{padding-right:20px}.service-load-table th small{display:block;margin-top:4px;color:var(--ui-muted);font-size:9px;font-weight:450}.service-load-table tbody th{width:145px;border-bottom:1px solid var(--ui-line);background:var(--ui-panel)}.service-load-table tbody th b{display:block;color:var(--ui-ink);font-size:13px;font-weight:700}.service-load-table tbody th small{display:block;margin-top:3px;color:var(--ui-muted);font-size:9px}.service-load-table td{min-width:142px;padding:6px 9px;border-bottom:1px solid var(--ui-line);vertical-align:middle}.service-load-cell{display:flex;flex-direction:column;width:100%;min-width:126px;gap:7px;padding:8px 9px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}.service-load-cell:hover{border-color:var(--ui-line);background:var(--ui-panel)}.load-cell-top{display:flex;align-items:center;justify-content:space-between}.load-cell-top b{color:var(--ui-ink);font-size:16px;line-height:1;font-weight:720}.load-cell-top i{width:7px;height:7px;border-radius:50%;background:#59a87b}.service-load-cell.watch .load-cell-top i{background:#e6a93d}.service-load-cell.busy .load-cell-top i{background:#e96b71}.load-meter{display:block;width:100%;height:8px;border-radius:99px;background:var(--ui-soft);overflow:hidden}.load-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#49b780,#50a97b)}.service-load-cell.watch .load-meter i{background:linear-gradient(90deg,#e9c153,#f3aa3a)}.service-load-cell.busy .load-meter i{background:linear-gradient(90deg,#ed8774,#e75b6c)}.service-load-cell small{color:var(--ui-muted);font-size:9px;white-space:nowrap}.calendar-exception{display:flex;flex-direction:column;gap:5px;width:100%;min-width:145px;padding:8px 9px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.calendar-exception span{color:var(--ui-ink);font-size:10px;font-weight:700}.calendar-exception small{color:var(--ui-muted);font-size:9px;line-height:1.45;white-space:normal}.calendar-exception.attention span{color:var(--ui-ink)}.calendar-exception.attention{background:var(--ui-soft)}.calendar-load-footer{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,.8fr);gap:18px;padding:17px 20px 19px}.calendar-branch-insight{position:relative;padding:4px 0 0 14px;border-left:3px solid #781647}.calendar-branch-insight h3{margin:3px 0 6px;color:var(--ui-ink);font-size:14px}.calendar-branch-insight p{max-width:610px;margin:0;color:var(--ui-muted);font-size:10px;line-height:1.55}.calendar-branch-insight button{margin-top:10px;padding:7px 10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-soft);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.calendar-load-legend{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;padding:10px 12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel)}.calendar-load-legend b{grid-column:1/-1;color:var(--ui-ink);font-size:10px}.calendar-load-legend span{display:flex;align-items:center;gap:6px;color:var(--ui-muted);font-size:9px;white-space:nowrap}.calendar-load-legend i{width:7px;height:7px;border-radius:50%;background:#59a87b}.calendar-load-legend i.watch{background:#e6a93d}.calendar-load-legend i.busy{background:#e96b71}.calendar-load-legend small{grid-column:1/-1;color:var(--ui-muted);font-size:8px;line-height:1.4}
.calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px}.calendar-date-nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.calendar-date-nav strong{margin-left:9px;color:var(--ui-ink);font-size:12px}.calendar-nav-btn,.calendar-today,.calendar-filterbar button{height:31px;padding:0 9px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-muted);font:inherit;font-size:9px;font-weight:600;cursor:pointer}.calendar-today{color:var(--ui-ink);background:var(--ui-soft);border-color:var(--ui-line)}.calendar-view-switch{display:flex;padding:3px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-soft)}.calendar-view-switch button{padding:6px 9px;border:0;border-radius:7px;background:transparent;color:var(--ui-muted);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.calendar-view-switch button.active{background:var(--ui-tint);color:var(--ui-accent);box-shadow:0 2px 7px #21101b10}.calendar-filterbar{display:flex;align-items:center;gap:9px;padding:0 18px 12px}.calendar-filterbar label{display:flex;align-items:center;gap:7px;color:var(--ui-muted);font-size:9px}.calendar-filterbar select{height:29px;padding:0 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:600}.calendar-filter-caption{margin-right:auto;color:var(--ui-muted);font-size:9px}.calendar-day-view{display:grid;grid-template-columns:126px minmax(0,1fr);gap:12px;position:relative;min-height:280px;padding:17px 18px 48px;border-top:1px solid var(--ui-line);background:linear-gradient(90deg,var(--ui-panel) 126px,var(--ui-panel) 126px)}.calendar-day-rail{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:16px 8px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-panel);color:var(--ui-muted);font-size:9px}.calendar-day-number{color:var(--ui-ink);font-size:29px;font-weight:700;line-height:1}.calendar-day-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px}.calendar-event{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:91px;padding:10px 11px;border:1px solid var(--ui-line);border-left:3px solid #74164a;border-radius:11px;background:var(--ui-soft);text-align:left;cursor:pointer;transition:transform .14s,box-shadow .14s}.calendar-event:hover{transform:translateY(-1px);box-shadow:0 6px 14px #29142b0d}.calendar-event b{overflow:hidden;max-width:100%;margin-top:4px;color:var(--ui-ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.calendar-event span:not(.calendar-event-time){margin-top:3px;color:var(--ui-muted);font-size:9px}.calendar-event small{overflow:hidden;max-width:100%;margin-top:7px;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.calendar-event-time{color:var(--ui-ink);font-size:10px;font-weight:750}.calendar-event.pending{border-color:var(--ui-line);border-left-color:#a86caa;background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel))}.calendar-event.arrived{border-color:var(--ui-line);border-left-color:#5084ae;background:var(--ui-soft)}.calendar-event.waiting{border-color:var(--ui-line);border-left-color:#d99a33;background:var(--ui-soft)}.calendar-event.completed{border-color:var(--ui-line);border-left-color:#58916a;background:var(--ui-soft)}.calendar-event.cancelled{border-color:var(--ui-line);border-left-color:#9b949d;background:var(--ui-soft);opacity:.72}.calendar-event.compact{min-height:67px;padding:7px 9px}.calendar-day-add{position:absolute;left:18px;bottom:12px;padding:6px 8px;border:1px dashed var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.calendar-week-grid{display:grid;grid-template-columns:repeat(8,minmax(104px,1fr));grid-template-rows:auto minmax(260px,1fr);min-width:0;overflow:auto;border-top:1px solid var(--ui-line)}.calendar-week-corner,.calendar-week-day{min-height:61px;padding:10px;border:0;border-bottom:1px solid var(--ui-line);border-right:1px solid var(--ui-line);background:var(--ui-panel);text-align:left}.calendar-week-corner{display:flex;align-items:end;color:var(--ui-muted);font-size:9px}.calendar-week-day{display:flex;flex-direction:column;gap:3px;cursor:pointer}.calendar-week-day span{color:var(--ui-muted);font-size:8px;text-transform:uppercase}.calendar-week-day b{color:var(--ui-ink);font-size:12px}.calendar-week-day small{color:var(--ui-muted);font-size:8px}.calendar-week-day.selected{background:var(--ui-tint)}.calendar-week-day.selected b{color:var(--ui-accent)}.calendar-week-cell{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-height:260px;padding:9px 6px;border-right:1px solid var(--ui-line);background:var(--ui-panel)}.calendar-week-cell.selected{background:var(--ui-tint)}.calendar-week-add{margin-top:auto;padding:6px;border:1px dashed var(--ui-line);border-radius:7px;background:transparent;color:var(--ui-muted);font:inherit;font-size:8px;font-weight:600;cursor:pointer}.calendar-week-grid.compact .calendar-week-cell{gap:4px;padding:6px 4px}.calendar-week-grid .calendar-event{min-height:72px;padding:7px}.calendar-week-grid.compact .calendar-event{min-height:52px;padding:5px}.calendar-week-grid .calendar-event b{font-size:8px}.calendar-week-grid .calendar-event small{font-size:7px}.calendar-month{padding:13px 15px 17px;border-top:1px solid var(--ui-line)}.calendar-month-weekdays,.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-month-weekdays{margin-bottom:5px}.calendar-month-weekdays span{text-align:center;color:var(--ui-muted);font-size:9px;font-weight:700}.calendar-month-cell{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-height:86px;padding:7px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);text-align:left;cursor:pointer}.calendar-month-cell.selected{border-color:var(--ui-accent);background:var(--ui-tint)}.calendar-month-cell>b{color:var(--ui-ink);font-size:10px}.calendar-month-cell>span{display:flex;flex-direction:column;gap:3px}.calendar-month-cell i{overflow:hidden;padding:3px 4px;border-radius:5px;background:var(--ui-soft);color:var(--ui-ink);font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.calendar-month-cell i.pending{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel));color:var(--ui-muted)}.calendar-month-cell i.arrived{background:var(--ui-soft);color:var(--ui-ink)}.calendar-month-cell i.waiting{background:#fff4e2;color:var(--ui-ink)}.calendar-month-cell i.completed{background:var(--ui-soft);color:var(--ui-ink)}.calendar-month-cell small{color:var(--ui-muted);font-size:7px}.calendar-month-blank{min-height:86px}.calendar-agenda{display:flex;flex-direction:column;gap:7px;padding:14px 18px 20px;border-top:1px solid var(--ui-line)}.calendar-agenda-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.calendar-agenda-head h2{margin:0;color:var(--ui-ink);font-size:15px}.calendar-agenda-head span{color:var(--ui-muted);font-size:9px}.calendar-agenda .calendar-event{min-height:72px}
.calendar-empty{display:flex;align-items:center;justify-content:center;grid-column:1/-1;min-height:100px;margin:0;color:var(--ui-muted);font-size:11px}.calendar-waitlist,.calendar-availability{padding:17px 20px 20px;border-top:1px solid var(--ui-line)}.calendar-wait-head,.availability-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:12px}.calendar-wait-head h2,.availability-heading h2{margin:0;color:var(--ui-ink);font-size:17px}.calendar-wait-head p,.availability-heading p{margin:5px 0 0;color:var(--ui-muted);font-size:10px}.calendar-wait-card{display:grid;grid-template-columns:32px minmax(160px,1.2fr) minmax(160px,1.2fr) 70px auto auto;align-items:center;gap:12px;min-height:72px;padding:9px 10px;border-top:1px solid var(--ui-line)}.wait-rank{color:var(--ui-muted);font:inherit;font-size:11px;font-weight:700}.wait-person,.wait-request{display:flex;flex-direction:column;gap:4px;min-width:0}.wait-person b,.wait-request b{overflow:hidden;color:var(--ui-ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.wait-person small,.wait-request small{overflow:hidden;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.wait-time{padding:5px 7px;border-radius:7px;background:#fff4e2;color:var(--ui-ink);font-size:9px;font-weight:700;white-space:nowrap}.calendar-wait-card>button{height:29px;padding:0 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:8px;font-weight:650;white-space:nowrap;cursor:pointer}.calendar-wait-card>button.wait-schedule{background:#5c153e;color:#fff;border-color:#5c153e}.calendar-footnote{margin:12px 0 0;color:var(--ui-muted);font-size:8px;line-height:1.5}.availability-heading>button{height:32px;padding:0 10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-soft);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.availability-grid{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(7,minmax(55px,1fr));border-top:1px solid var(--ui-line);border-left:1px solid var(--ui-line);overflow:auto}.availability-cell{display:grid;place-items:center;min-height:43px;padding:5px;border-right:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line);color:var(--ui-muted);font-size:9px;white-space:nowrap}.availability-cell.head{background:var(--ui-panel);color:var(--ui-ink);font-weight:700}.availability-cell.period{justify-items:start;padding-left:10px;color:var(--ui-ink);font-weight:600}.availability-toggle{min-width:48px;padding:5px 7px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-soft);color:var(--ui-ink);font:inherit;font-size:8px;font-weight:650;cursor:pointer}.availability-toggle.off{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-muted)}.availability-note{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:10px;background:var(--ui-soft);color:var(--ui-muted);font-size:9px;line-height:1.5}.availability-note b{color:var(--ui-ink);font-size:10px}
.calendar-detail-banner{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:11px 13px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-soft);color:var(--ui-ink)}.calendar-detail-banner b{font-size:18px}.calendar-detail-banner.pending{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel));color:var(--ui-muted)}.calendar-detail-banner.arrived{background:var(--ui-soft);color:var(--ui-ink)}.calendar-detail-banner.waiting{background:var(--ui-soft);color:var(--ui-ink)}.calendar-detail-banner.completed{background:var(--ui-soft);color:var(--ui-ink)}.calendar-detail-banner.cancelled{background:var(--ui-soft);color:var(--ui-muted)}.calendar-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calendar-detail-grid>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel)}.calendar-detail-grid>div.wide{grid-column:1/-1}.calendar-detail-grid small{color:var(--ui-muted);font-size:8px}.calendar-detail-grid b{overflow-wrap:anywhere;color:var(--ui-ink);font-size:10px;font-weight:650}.calendar-detail-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.calendar-action{min-height:32px;padding:0 10px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.calendar-action.primary{border-color:#5c153e;background:#5c153e;color:#fff}.calendar-action.quiet:hover,.calendar-action.primary:hover{filter:brightness(1.06)}.calendar-read-only{color:var(--ui-muted);font-size:9px}.calendar-form-kind{display:flex;gap:6px;margin-bottom:12px}.calendar-form-kind button{padding:8px 10px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-muted);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.calendar-form-kind button.selected{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.calendar-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.calendar-form-grid label{display:flex;flex-direction:column;gap:5px;color:var(--ui-muted);font-size:8px;font-weight:650}.calendar-form-grid label.wide{grid-column:1/-1}.calendar-form-grid input,.calendar-form-grid select,.calendar-form-grid textarea{width:100%;min-height:34px;padding:7px 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:10px;box-sizing:border-box}.calendar-form-grid textarea{resize:vertical}.calendar-form-grid label small{color:var(--ui-muted);font-size:7px;font-weight:450}.calendar-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.calendar-form-footer>span{max-width:260px;color:var(--ui-muted);font-size:8px;line-height:1.45}.calendar-save{height:34px;padding:0 12px;border:1px solid #54123a;border-radius:8px;background:#5d153f;color:#fff;font:inherit;font-size:9px;font-weight:650;cursor:pointer}
.calendar-confirm-summary{display:flex;flex-direction:column;gap:5px;margin-bottom:11px;padding:11px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-soft)}.calendar-confirm-summary b{color:var(--ui-ink);font-size:10px}.calendar-confirm-summary span{color:var(--ui-muted);font-size:8px;line-height:1.45}.calendar-confirm-summary.warning{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel));border-color:#f1e1c3}.calendar-check-label{display:flex;align-items:flex-start;gap:7px;padding:8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-muted);font-size:8px;font-weight:500}.calendar-check-label input{width:13px;min-height:13px;margin:0;accent-color:#651843}.calendar-save.danger{border-color:#bd6267;background:#bd6267}.calendar-form-error{margin:0 0 9px;padding:9px 10px;border:1px solid var(--ui-line);border-radius:8px;background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:var(--ui-error);font-size:8px;line-height:1.4}
@media(max-width:900px){.calendar-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-workspace-head{align-items:flex-start;flex-direction:column}.calendar-wait-card{grid-template-columns:28px minmax(145px,1fr) minmax(145px,1fr) 65px auto auto;gap:8px}.calendar-load-footer{grid-template-columns:1fr}.calendar-load-legend{grid-template-columns:repeat(3,1fr)}.calendar-load-legend b,.calendar-load-legend small{grid-column:1/-1}}
@media(max-width:600px){.calendar-page{padding:1px 0}.calendar-title-row{align-items:flex-start;margin:4px 1px 13px}.calendar-title-row h1{font-size:25px}.calendar-title-row p{max-width:240px;font-size:10px;line-height:1.4}.calendar-actions{gap:5px}.calendar-actions button{width:36px;min-height:36px;padding:0;font-size:0}.calendar-actions .calendar-add{width:38px;font-size:0}.calendar-actions .calendar-add:after{content:"+";font-size:20px}.calendar-summary{gap:7px;margin-bottom:10px}.calendar-summary-card{min-height:86px;padding:12px 11px;border-radius:14px}.calendar-summary-card:before{margin:-12px -11px 10px}.calendar-summary-card strong{font-size:19px}.calendar-summary-card span{font-size:9px}.calendar-summary-card small{font-size:8px}.calendar-workspace{border-radius:16px}.calendar-workspace-head{gap:8px;padding:10px 9px}.calendar-subnav{width:100%;gap:2px}.calendar-subnav button{padding:8px 7px;font-size:8px}.calendar-kind-tabs{align-self:flex-end}.calendar-kind-tabs button{padding:6px 8px;font-size:8px}.calendar-load-toolbar{align-items:flex-start;flex-direction:column;padding:14px 12px 10px}.calendar-load-toolbar h2{font-size:14px}.calendar-load-toolbar p{font-size:9px}.calendar-date-arrows button{height:29px;padding:0 8px;font-size:8px}.service-load-table{min-width:780px}.service-load-table th{height:48px;padding:6px 9px;font-size:9px}.service-load-table thead th:first-child,.service-load-table tbody th:first-child{padding-left:12px}.service-load-table tbody th{width:107px}.service-load-table tbody th b{font-size:11px}.service-load-table tbody th small{font-size:8px}.service-load-table td{min-width:125px;padding:5px 5px}.service-load-cell{min-width:115px;padding:7px}.load-cell-top b{font-size:14px}.load-meter{height:7px}.service-load-cell small{font-size:8px}.calendar-exception{min-width:130px}.calendar-exception span{font-size:9px}.calendar-exception small{font-size:8px}.calendar-load-footer{gap:11px;padding:13px 12px}.calendar-branch-insight{padding-left:10px}.calendar-branch-insight h3{font-size:12px}.calendar-branch-insight p{font-size:9px}.calendar-load-legend{grid-template-columns:1fr 1fr;padding:9px}.calendar-load-legend span{font-size:8px}.calendar-controls{align-items:flex-start;flex-direction:column;padding:12px 11px 9px}.calendar-date-nav strong{width:100%;margin:5px 0 0;font-size:10px}.calendar-view-switch{width:100%;justify-content:space-between}.calendar-view-switch button{flex:1}.calendar-filterbar{padding:0 11px 10px;flex-wrap:wrap}.calendar-filter-caption{order:3;width:100%;font-size:8px}.calendar-day-view{grid-template-columns:54px minmax(0,1fr);gap:7px;padding:11px 9px 45px;background:linear-gradient(90deg,var(--ui-panel) 54px,var(--ui-panel) 54px)}.calendar-day-rail{padding:10px 2px;font-size:7px;text-align:center}.calendar-day-number{font-size:23px}.calendar-day-events{grid-template-columns:1fr;gap:6px}.calendar-event{min-height:78px;padding:8px}.calendar-event b{font-size:9px}.calendar-event small{font-size:7px}.calendar-day-add{left:9px;bottom:9px;font-size:8px}.calendar-week-grid{grid-template-columns:repeat(8,minmax(88px,1fr))}.calendar-week-corner,.calendar-week-day{min-height:53px;padding:7px 5px}.calendar-week-cell{min-height:230px;padding:6px 4px}.calendar-week-grid .calendar-event{min-height:58px;padding:5px}.calendar-week-grid .calendar-event b{font-size:7px}.calendar-week-grid .calendar-event small{font-size:6px}.calendar-month{padding:10px 7px}.calendar-month-weekdays,.calendar-month-grid{gap:3px}.calendar-month-cell{min-height:66px;padding:4px;border-radius:7px}.calendar-month-cell>b{font-size:8px}.calendar-month-cell i{font-size:6px}.calendar-month-cell small{font-size:6px}.calendar-month-blank{min-height:66px}.calendar-agenda{padding:11px 9px}.calendar-waitlist,.calendar-availability{padding:13px 10px}.calendar-wait-head,.availability-heading{align-items:flex-start}.calendar-wait-head h2,.availability-heading h2{font-size:15px}.calendar-wait-head p,.availability-heading p{max-width:215px;font-size:9px}.calendar-wait-head .calendar-add{height:32px;font-size:8px;padding:0 8px;white-space:nowrap}.calendar-wait-card{grid-template-columns:24px minmax(110px,1fr) 56px auto;gap:6px;padding:8px 3px}.wait-person b,.wait-request b{font-size:9px}.wait-person small,.wait-request small{max-width:130px;font-size:7px}.wait-request{grid-column:2}.wait-time{grid-column:3;grid-row:1}.calendar-wait-card>button{grid-row:2;height:26px;padding:0 5px;font-size:7px}.calendar-wait-card>button:nth-last-child(2){grid-column:2}.calendar-wait-card>button:last-child{grid-column:3/5}.availability-heading>button{max-width:120px;height:auto;min-height:30px;padding:5px 7px;font-size:8px}.availability-grid{grid-template-columns:minmax(125px,1.3fr) repeat(7,minmax(48px,1fr));min-width:500px}.availability-cell{min-height:38px;font-size:8px}.availability-cell.period{padding-left:7px;font-size:8px}.calendar-detail-grid{gap:6px}.calendar-detail-grid>div{padding:8px}.calendar-detail-grid small{font-size:7px}.calendar-detail-grid b{font-size:9px}.calendar-form-grid{gap:7px}.calendar-form-grid input,.calendar-form-grid select,.calendar-form-grid textarea{font-size:9px}.calendar-form-footer{align-items:flex-end}.calendar-form-footer>span{max-width:170px;font-size:7px}}

/* Inventory is a family of audited workflows, with branch cards and large readable summaries. */
.inventory-heading-actions{display:flex;align-items:center;gap:8px}.inventory-workspace{min-width:0;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-panel);box-shadow:0 8px 24px #29142b07;overflow:hidden}.inventory-branch-strip{margin:0 0 16px;padding:16px 17px 15px;border:1px solid var(--ui-line);border-radius:18px;background:linear-gradient(120deg,var(--ui-panel) 0%,var(--ui-soft) 100%);box-shadow:0 7px 20px #29142b06}.inventory-branch-strip-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.inventory-branch-strip-head .inventory-eyebrow{margin:0 0 3px;font-size:8px}.inventory-branch-strip-head h2{margin:0;color:var(--ui-ink);font-size:14px;letter-spacing:-.02em}.inventory-all-branches{height:31px;padding:0 11px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-muted);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.inventory-all-branches.selected{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.inventory-branch-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.inventory-branch-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px;min-width:0;padding:11px 12px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);text-align:left;cursor:pointer;transition:transform .14s,border .14s,box-shadow .14s}.inventory-branch-card:hover{transform:translateY(-1px);border-color:var(--ui-line);box-shadow:0 6px 15px #29142b09}.inventory-branch-card.selected{border-color:#ae819c;background:var(--ui-tint);box-shadow:0 0 0 2px #70194712}.inventory-branch-card>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.inventory-branch-card>span:first-child b{overflow:hidden;color:var(--ui-ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.inventory-branch-card>span:first-child small{overflow:hidden;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.inventory-branch-card>strong{color:var(--ui-ink);font-size:19px;letter-spacing:-.04em}.inventory-branch-card>strong small{margin-left:4px;color:var(--ui-muted);font-size:8px;font-weight:500;letter-spacing:0}.branch-card-health{display:flex;align-items:center;gap:5px;color:var(--ui-muted);font-size:8px;white-space:nowrap}.branch-card-health i{width:7px;height:7px;border-radius:50%;background:#5a9872}.branch-card-health i.low{background:#dda03d}.branch-card-health i.out{background:#d35f68}.branch-card-value{justify-self:end;color:var(--ui-ink);font-size:9px;font-weight:700;white-space:nowrap}.inventory-tabs{display:flex;align-items:center;gap:5px;padding:9px 11px;border-bottom:1px solid var(--ui-line);background:var(--ui-panel);overflow-x:auto;overscroll-behavior-x:contain}.inventory-tab{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:34px;padding:0 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ui-muted);font:inherit;font-size:9px;font-weight:650;white-space:nowrap;cursor:pointer}.inventory-tab:hover{background:var(--ui-soft);color:var(--ui-accent)}.inventory-tab.active{border-color:var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent)}.inventory-tab span{display:grid;place-items:center;min-width:19px;height:18px;padding:0 5px;border-radius:6px;background:var(--ui-soft);color:var(--ui-ink);font-size:8px}.inventory-view-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px 11px}.inventory-view-heading h2{margin:0;color:var(--ui-ink);font-size:16px;letter-spacing:-.025em}.inventory-view-heading p{margin:4px 0 0;color:var(--ui-muted);font-size:9px}.inventory-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:0 12px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer;transition:transform .14s,box-shadow .14s}.inventory-action:hover{transform:translateY(-1px);box-shadow:0 5px 12px #29142b11}.inventory-action.primary{border-color:#56123c;background:#58133e;color:white}.inventory-action .inventory-library-icon{width:15px;height:15px;filter:invert(14%) sepia(31%) saturate(1481%) hue-rotate(279deg) brightness(88%) contrast(95%)}.inventory-action.primary .inventory-library-icon{filter:brightness(0) invert(1)}.inventory-export{font:inherit;font-size:10px;font-weight:650}.inventory-export .inventory-library-icon{width:15px;height:15px}.inventory-module-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 16px 12px}.inventory-module-kpi{display:flex;flex-direction:column;min-width:0;min-height:91px;padding:11px 12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel)}.inventory-module-kpi:before{width:24px;height:3px;margin-bottom:8px;border-radius:9px;background:#711744;content:""}.inventory-module-kpi.tone-1:before{background:#5e9b78}.inventory-module-kpi.tone-2:before{background:#dfa642}.inventory-module-kpi.tone-3:before{background:#688db7}.inventory-module-kpi>span{overflow:hidden;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.inventory-module-kpi>b{overflow:hidden;margin-top:3px;color:var(--ui-ink);font-size:19px;line-height:1.05;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.inventory-module-kpi>small{overflow:hidden;margin-top:4px;color:var(--ui-muted);font-size:7px;text-overflow:ellipsis;white-space:nowrap}.inventory-overview-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(245px,.75fr);gap:12px;padding:0 13px 14px}.inventory-overview-grid .inventory-table-panel{box-shadow:none}.inventory-attention{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--ui-line);border-radius:16px;background:linear-gradient(165deg,var(--ui-panel) 55%,var(--ui-soft))}.inventory-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.inventory-side-head .inventory-eyebrow{margin:0;font-size:7px}.inventory-side-head h2{margin:3px 0 0;color:var(--ui-ink);font-size:14px}.inventory-attention-count{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:var(--ui-soft);color:var(--ui-ink);font-size:10px;font-weight:750}.inventory-attention-row{display:grid;grid-template-columns:31px minmax(0,1fr) 12px;align-items:center;gap:9px;width:100%;padding:9px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-panel);text-align:left;cursor:pointer}.inventory-attention-row:hover{border-color:var(--ui-line)}.attention-count{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--ui-soft);color:var(--ui-ink);font-size:13px;font-weight:750}.inventory-attention-row.critical .attention-count{background:var(--ui-soft);color:#bd4b55}.inventory-attention-row.warning .attention-count{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel));color:var(--ui-warning)}.inventory-attention-row.expired .attention-count{background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:var(--ui-error)}.inventory-attention-row>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}.inventory-attention-row b{color:var(--ui-ink);font-size:9px}.inventory-attention-row small{overflow:hidden;color:var(--ui-muted);font-size:7px;text-overflow:ellipsis;white-space:nowrap}.attention-arrow{color:var(--ui-muted);font-size:18px;line-height:1}.inventory-reorder-box{display:flex;flex-direction:column;gap:9px;margin-top:auto;padding:12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-soft)}.inventory-reorder-box>div{display:flex;flex-direction:column;gap:4px}.inventory-reorder-box b{color:var(--ui-ink);font-size:10px}.inventory-reorder-box small{color:var(--ui-muted);font-size:8px}.inventory-reorder-box button{display:flex;align-items:center;justify-content:space-between;height:30px;padding:0 9px;border:0;border-radius:8px;background:#5a143d;color:#fff;font:inherit;font-size:8px;font-weight:700;cursor:pointer}.inventory-reorder-box button span{font-size:15px}.inventory-attention>p{margin:0;color:var(--ui-muted);font-size:7px;line-height:1.5}.inventory-workspace>.inventory-view-heading .inventory-action{min-height:32px}.inventory-table-panel{min-width:0}.inventory-module-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px 12px}.inventory-module-head h2{margin:0;color:var(--ui-ink);font-size:16px;letter-spacing:-.025em}.inventory-module-head p{max-width:650px;margin:5px 0 0;color:var(--ui-muted);font-size:9px;line-height:1.5}.inventory-tools{display:flex;align-items:center;gap:7px}.inventory-inline-search,.inventory-tools select{height:34px;padding:0 10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px}.inventory-inline-search{width:190px}.inventory-tools select{max-width:180px}.inventory-ledger{min-width:760px}.inventory-ledger th{height:39px}.inventory-ledger td{height:59px}.inventory-ledger td>b,.inventory-ledger td>small{display:block}.inventory-ledger td>b{color:var(--ui-ink);font-size:10px}.inventory-ledger td>small{margin-top:4px;color:var(--ui-muted);font-size:8px}.inventory-delta{display:inline-flex;padding:5px 7px;border-radius:7px;font-size:9px;font-weight:750}.inventory-delta.positive{background:var(--ui-soft);color:var(--ui-ink)}.inventory-delta.negative{background:var(--ui-soft);color:#b74b52}.inventory-pill{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-soft);color:var(--ui-muted);font-size:8px;font-weight:700;white-space:nowrap}.inventory-pill.approved,.inventory-pill.received,.inventory-pill.approved-count{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.inventory-pill.in-transit,.inventory-pill.partially-received,.inventory-pill.in-review{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.inventory-pill.rejected,.inventory-pill.out-of-stock{border-color:var(--ui-line);background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:var(--ui-error)}.inventory-pill.draft,.inventory-pill.counting{background:var(--ui-soft);color:var(--ui-muted)}.inventory-workflow-chip{padding:6px 9px;border-radius:8px;background:var(--ui-soft);color:var(--ui-ink);font-size:8px;font-weight:700;white-space:nowrap}.inventory-transfer-cards,.inventory-count-grid,.inventory-supplier-grid,.inventory-location-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:2px 15px 13px}.inventory-transfer-card,.inventory-count-card,.inventory-supplier-card,.inventory-location-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:127px;padding:12px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);text-align:left;cursor:pointer;transition:transform .14s,border-color .14s,box-shadow .14s}.inventory-transfer-card:hover,.inventory-count-card:hover,.inventory-supplier-card:hover,.inventory-location-card:hover{transform:translateY(-1px);border-color:var(--ui-line);box-shadow:0 6px 16px #29142b0d}.transfer-id,.inventory-count-card>span,.supplier-code,.inventory-location-card>span{display:flex;align-items:center;gap:7px;color:var(--ui-muted);font-size:8px}.inventory-transfer-card>strong,.inventory-count-card>strong,.inventory-supplier-card>strong,.inventory-location-card>strong{overflow:hidden;max-width:100%;color:var(--ui-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.inventory-transfer-card>strong small{color:var(--ui-muted);font-size:8px;font-weight:600}.transfer-route{display:flex;align-items:center;gap:8px;color:var(--ui-muted);font-size:9px}.transfer-route b{color:var(--ui-ink)}.transfer-progress{display:block;width:100%;height:5px;border-radius:9px;background:var(--ui-soft);overflow:hidden}.transfer-progress i{display:block;height:100%;border-radius:inherit;background:#6a9d7d}.inventory-transfer-card>small,.inventory-count-card>small,.inventory-supplier-card>small,.inventory-location-card>small{overflow:hidden;max-width:100%;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.inventory-count-card>b,.inventory-location-card>b{margin-top:auto;color:var(--ui-ink);font-size:8px}.inventory-supplier-card>span:last-child{margin-top:auto;color:var(--ui-muted);font-size:8px}.inventory-supplier-card>span:last-child b{margin:0 4px;color:var(--ui-muted)}.inventory-expiry-list{padding:0 15px 12px}.inventory-expiry-row{display:grid;grid-template-columns:80px minmax(0,1fr) 15px;align-items:center;gap:11px;width:100%;min-height:60px;padding:8px 5px;border:0;border-top:1px solid var(--ui-line);background:transparent;text-align:left;cursor:pointer}.inventory-expiry-row:hover{background:var(--ui-soft)}.inventory-expiry-row>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.inventory-expiry-row b{color:var(--ui-ink);font-size:10px}.inventory-expiry-row small{color:var(--ui-muted);font-size:8px}.inventory-waste-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:0 13px 14px}.inventory-waste-grid .inventory-table-panel{box-shadow:none}.inventory-waste-records{padding:0 16px}.inventory-waste-records>div{display:flex;flex-direction:column;gap:4px;padding:10px 2px;border-top:1px solid var(--ui-line)}.inventory-waste-records b{color:var(--ui-ink);font-size:10px}.inventory-waste-records span{color:var(--ui-muted);font-size:9px}.inventory-waste-records small{color:var(--ui-muted);font-size:8px}.inventory-confirm-banner{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;padding:11px 12px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-soft)}.inventory-confirm-banner>b{color:var(--ui-ink);font-size:10px}.inventory-confirm-banner>span{color:var(--ui-muted);font-size:8px;line-height:1.4}.inventory-form{max-width:660px}.inventory-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inventory-form-grid label,.inventory-field{display:flex;flex-direction:column;gap:5px;color:var(--ui-muted);font-size:8px;font-weight:650}.inventory-form-grid label.wide{grid-column:1/-1}.inventory-form-grid input,.inventory-form-grid select,.inventory-field select{width:100%;min-height:35px;padding:7px 9px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:10px;box-sizing:border-box}.inventory-form-intro{grid-column:1/-1;margin:0 0 3px;color:var(--ui-muted);font-size:9px;line-height:1.55}.inventory-form-error{margin:0 0 9px;padding:9px 10px;border:1px solid var(--ui-line);border-radius:8px;background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:var(--ui-error);font-size:8px;line-height:1.4}.inventory-count-lines{display:flex;flex-direction:column;gap:6px}.inventory-count-line{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:10px;padding:8px;border:1px solid var(--ui-line);border-radius:9px}.inventory-count-line>span{display:flex;flex-direction:column;gap:4px}.inventory-count-line b{color:var(--ui-ink);font-size:9px}.inventory-count-line small{color:var(--ui-muted);font-size:8px}.inventory-count-line input{width:100%;height:32px;padding:0 8px;border:1px solid var(--ui-line);border-radius:7px;font:inherit;font-size:10px}.calendar-detail-actions .danger{background:#b9535c;border-color:#b9535c;color:white}.inventory-text-button{border:0;background:transparent;color:var(--ui-ink);font:inherit;font-size:8px;font-weight:700;cursor:pointer}.inventory-text-button:hover{text-decoration:underline}
@media(max-width:960px){.inventory-overview-grid{grid-template-columns:1fr}.inventory-attention{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-side-head,.inventory-attention>p,.inventory-reorder-box{grid-column:1/-1}.inventory-branch-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-transfer-cards,.inventory-count-grid,.inventory-supplier-grid,.inventory-location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.inventory-heading-actions .inventory-export{width:39px;height:39px;padding:0;justify-content:center;font-size:0}.inventory-heading-actions .inventory-export .inventory-library-icon{width:17px;height:17px}.inventory-branch-strip{padding:12px 10px;border-radius:15px}.inventory-branch-strip-head h2{font-size:12px}.inventory-branch-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.inventory-branch-card{gap:6px;padding:9px 8px;border-radius:11px}.inventory-branch-card>span:first-child b{font-size:9px}.inventory-branch-card>span:first-child small{font-size:7px}.inventory-branch-card>strong{font-size:16px}.branch-card-health{font-size:7px}.branch-card-value{font-size:8px}.inventory-workspace{border-radius:15px}.inventory-tabs{gap:3px;padding:7px 6px}.inventory-tab{min-height:32px;padding:0 8px;font-size:8px}.inventory-view-heading{padding:12px 10px 9px}.inventory-view-heading h2{font-size:14px}.inventory-view-heading p{font-size:8px}.inventory-action{min-height:32px;padding:0 9px;font-size:8px}.inventory-action .inventory-library-icon{width:13px;height:13px}.inventory-module-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 9px 9px}.inventory-module-kpi{min-height:76px;padding:9px;border-radius:10px}.inventory-module-kpi>b{font-size:17px}.inventory-overview-grid{gap:9px;padding:0 8px 9px}.inventory-panel-head{padding:14px 11px 10px}.inventory-panel-head h2{font-size:15px}.inventory-panel-head p{font-size:9px}.inventory-attention{grid-template-columns:1fr;padding:11px}.inventory-side-head,.inventory-attention>p,.inventory-reorder-box{grid-column:auto}.inventory-attention-row{min-height:52px}.inventory-module-head{align-items:flex-start;flex-direction:column;padding:13px 11px 10px}.inventory-module-head h2{font-size:14px}.inventory-module-head p{font-size:8px}.inventory-tools{width:100%}.inventory-inline-search{flex:1;width:auto}.inventory-tools select{max-width:145px;font-size:8px}.inventory-ledger{min-width:740px}.inventory-transfer-cards,.inventory-count-grid,.inventory-supplier-grid,.inventory-location-grid{grid-template-columns:1fr;padding:2px 9px 10px}.inventory-transfer-card,.inventory-count-card,.inventory-supplier-card,.inventory-location-card{min-height:110px}.inventory-waste-grid{grid-template-columns:1fr;gap:9px;padding:0 8px 9px}.inventory-expiry-row{grid-template-columns:65px minmax(0,1fr) 12px;gap:7px}.inventory-form-grid{grid-template-columns:1fr 1fr;gap:7px}.inventory-form-grid input,.inventory-form-grid select{font-size:9px}.inventory-count-line{grid-template-columns:minmax(0,1fr) 90px}.inventory-footer{font-size:8px}}
/* Inventory overview: six actionable metrics, with the branch selector kept in the global header. */
.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.inventory-kpi{min-height:151px;padding:17px 18px 14px;border-radius:17px}
.inventory-kpi:focus-visible,.inventory-branch-card:focus-visible{outline:3px solid #b98aa7;outline-offset:2px}
.inventory-kpi-expiry{background:linear-gradient(145deg,var(--ui-panel) 55%,var(--ui-soft))}.inventory-kpi-expiry:before{background:#dfa43d}
.inventory-kpi-incoming{background:linear-gradient(145deg,var(--ui-panel) 55%,var(--ui-soft))}.inventory-kpi-incoming:before{background:#63977e}
.inventory-kpi-total:before{background:#6a1648}.inventory-kpi-value:before{background:#698bb2}
.inventory-kpi-link{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:11px;color:var(--ui-ink);font-size:10px;font-weight:700}
.inventory-kpi-link b{font-size:19px;font-weight:500;line-height:12px}
.inventory-kpi-expiry .inventory-kpi-link{color:var(--ui-ink)}.inventory-kpi-incoming .inventory-kpi-link{color:var(--ui-ink)}.inventory-kpi-value .inventory-kpi-link{color:var(--ui-ink)}
.inventory-branch-strip-head p{margin:5px 0 0;color:var(--ui-muted);font-size:9px;line-height:1.45}
.inventory-branch-card.selected{border-color:#ae819c;background:var(--ui-tint);box-shadow:0 0 0 2px #70194712}
.inventory-scope-field>span{display:flex;align-items:center;min-height:35px;padding:7px 9px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-soft);color:var(--ui-ink);font-size:10px;font-weight:700;box-sizing:border-box}
@media(max-width:900px){.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-kpi{min-height:132px;padding:12px 11px 10px;border-radius:14px}.inventory-kpi>strong{font-size:25px}.inventory-kpi-value>strong{font-size:20px}.inventory-kpi>small{font-size:9px}.inventory-kpi-link{padding-top:8px;font-size:9px}.inventory-branch-strip-head p{max-width:290px;font-size:8px}}

.inventory-data-note{display:inline-flex;margin-top:8px;padding:4px 8px;border-radius:7px;background:var(--ui-soft);color:var(--ui-ink);font-size:9px;font-weight:700;letter-spacing:.04em}.inventory-heading .inventory-data-note{margin-top:8px}

/* Profile-owned branch scope, language control, reliable More menu, and scroll-aware mobile header. */
.profile-control{display:flex;align-items:center;gap:8px;min-width:0}.active-branch-label{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-muted);font-size:10px;line-height:1.2}.language-toggle{height:38px;min-width:58px;padding:0 11px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-panel);color:var(--ui-ink);font-size:12px;font-weight:700;white-space:nowrap}.language-toggle:hover{background:var(--ui-soft);border-color:var(--ui-line)}.profile-branch-settings{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-panel)}.profile-branch-settings b,.profile-branch-settings small{display:block}.profile-branch-settings small{margin-top:5px;color:var(--ui-muted);font-size:12px}.profile-branch-settings select{max-width:52%;min-height:40px;padding:0 12px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);color:var(--ui-ink);font:inherit}.profile-branch-settings strong{color:var(--ui-ink);font-size:13px}
.maxdash-nav{overflow:visible!important;z-index:8}.more-menu{position:fixed;top:var(--more-menu-top,150px);left:auto;right:clamp(12px,3vw,42px);width:min(620px,calc(100vw - 24px));max-height:min(70vh,520px);overflow:auto;z-index:1001}.maxdash-header{transition:transform .22s ease;will-change:transform}.maxdash-header.is-scroll-hidden{transform:translateY(-110%);pointer-events:none}
html[dir="rtl"] .maxdash-brand{direction:ltr;margin-right:0;margin-left:auto}html[dir="rtl"] .profile-control{direction:rtl}html[dir="rtl"] .maxdash-nav>button{text-align:right}html[dir="rtl"] .more-menu{right:clamp(12px,3vw,42px);left:auto}
@media(max-width:900px){.maxdash-header{position:sticky!important;top:0!important;z-index:50!important}.more-menu{left:12px;right:12px;width:auto}.profile-branch-settings{align-items:flex-start}}
@media(max-width:600px){.maxdash-header{position:sticky!important;top:0!important}.maxdash-header>.topbar-first>.maxdash-brand{grid-column:1/3;grid-row:1;justify-self:start}.maxdash-header #notifications{grid-column:3;grid-row:1}.maxdash-header .profile-control{grid-column:4;grid-row:1;display:flex;justify-content:flex-end;gap:4px}.active-branch-label{max-width:64px;font-size:8px}.maxdash-header #profile{width:35px;height:35px}.maxdash-header #languageToggle{grid-column:1;grid-row:2;justify-self:start;height:36px;min-width:56px}.maxdash-header #dateSelect{grid-column:2/5;grid-row:2;height:38px;font-size:10px}.maxdash-header>.topbar-first>.max-pulse{grid-column:1/5;grid-row:3}.more-menu{position:fixed;top:var(--more-menu-top,120px);left:10px;right:10px;width:auto;max-height:min(68dvh,520px);grid-template-columns:repeat(2,minmax(0,1fr));z-index:1001}.maxdash-header.is-scroll-hidden{transform:translateY(calc(-100% - 4px))}.profile-branch-settings{flex-direction:column}.profile-branch-settings select{max-width:100%;width:100%}}
@media(prefers-reduced-motion:reduce){.maxdash-header{transition:none}}

/* Keep the MAX bar anchored; modal surfaces must cover it instead of appearing underneath. */
.topbar-first{direction:ltr}.maxdash-brand{margin-left:0!important;margin-right:0!important;order:0}.topbar-first>.toolbar{direction:ltr;order:1}
.maxdash-header{position:sticky!important;top:0!important;z-index:50!important;transform:none!important;transition:none!important;will-change:auto!important}.maxdash-header.is-scroll-hidden{transform:none!important;pointer-events:auto!important}
.modal-wrap{z-index:1100!important}.filter-pop{z-index:1101!important}.more-menu{z-index:1102!important}.map-overlay{z-index:1200!important}.toast{z-index:1300!important}
html[dir="rtl"] .topbar-first>.toolbar{direction:rtl}.maxdash-header>.topbar-first>.maxdash-brand{justify-self:start}

.sales-detail{display:grid;gap:12px;margin-top:12px}.sales-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border:1px solid var(--ui-line);border-radius:17px;background:linear-gradient(120deg,var(--ui-soft),var(--ui-panel) 78%)}.sales-detail-kicker{display:block;color:var(--ui-muted);font-size:10px;font-weight:700;letter-spacing:.12em}.sales-detail-hero strong{display:block;margin:5px 0;font-size:32px;line-height:1.05;letter-spacing:-.04em;color:var(--ui-ink)}.sales-detail-hero small{display:block;color:var(--ui-muted);font-size:12px}.sales-detail-change{min-width:102px;padding:10px 12px;border-radius:12px;background:var(--ui-soft);color:var(--ui-ink);font-size:17px;font-weight:700;text-align:center}.sales-detail-change.down{background:var(--ui-soft);color:#b52c43}.sales-detail-change small{margin-top:3px;font-size:10px;font-weight:500}.sales-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.sales-detail-metrics article{padding:12px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel)}.sales-detail-metrics span,.sales-detail-metrics b{display:block}.sales-detail-metrics span{color:var(--ui-muted);font-size:11px}.sales-detail-metrics b{margin-top:5px;color:var(--ui-ink);font-size:16px}.sales-target-card,.sales-reconciliation{padding:14px 15px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-panel)}.sales-target-card>div:first-child,.sales-reconciliation>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.sales-target-card b,.sales-reconciliation h4{margin:0;color:var(--ui-ink);font-size:13px}.sales-target-card>div:first-child span,.sales-reconciliation>div:first-child>span{color:var(--ui-muted);font-size:11px}.sales-target-track{height:9px;margin:11px 0 7px;border-radius:10px;background:var(--ui-soft);overflow:hidden}.sales-target-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#68113f,#b24782)}.sales-target-card>small{color:var(--ui-muted);font-size:10px}.sales-breakdown-grid{display:grid;grid-template-columns:1fr auto;gap:0 12px;margin-top:9px}.sales-breakdown-grid span,.sales-breakdown-grid b{padding:7px 0;border-top:1px solid var(--ui-line);font-size:11px}.sales-breakdown-grid span{color:var(--ui-ink)}.sales-breakdown-grid b{color:var(--ui-muted);font-weight:500;text-align:end}.sales-detail-note{margin:0;padding:10px 12px;border-radius:11px;background:var(--ui-soft);color:var(--ui-muted);font-size:10px;line-height:1.5}html[dir="rtl"] .sales-detail-hero{direction:rtl}html[dir="rtl"] .sales-target-card>div:first-child,html[dir="rtl"] .sales-reconciliation>div:first-child{direction:rtl}html[dir="rtl"] .sales-breakdown-grid b{text-align:left}
@media(max-width:560px){.sales-detail{gap:8px;margin-top:8px}.sales-detail-hero{padding:14px;border-radius:14px}.sales-detail-hero strong{font-size:26px}.sales-detail-change{min-width:86px;padding:8px 9px;font-size:15px}.sales-detail-metrics{gap:6px}.sales-detail-metrics article{padding:9px 8px}.sales-detail-metrics span{font-size:9px}.sales-detail-metrics b{font-size:13px}.sales-target-card,.sales-reconciliation{padding:11px}.sales-target-card b,.sales-reconciliation h4{font-size:11px}.sales-target-card>div:first-child span,.sales-reconciliation>div:first-child>span{font-size:9px}.sales-breakdown-grid span,.sales-breakdown-grid b{font-size:10px}}

/* The header belongs to normal page flow and scrolls away with the page. */
.maxdash-header{position:static!important;top:auto!important;z-index:auto!important;transform:none!important;transition:none!important;will-change:auto!important}
.maxdash-header.is-scroll-hidden{transform:none!important;pointer-events:auto!important}

/* Inventory overview: four branch-scoped summary cards and a distinct receiving signal. */
.inventory-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.inventory-kpi-value{background:linear-gradient(145deg,var(--ui-panel) 55%,var(--ui-soft))}
.inventory-kpi-value:before{background:#698bb2}
.inventory-kpi-value .inventory-kpi-link{color:var(--ui-ink)}
.inventory-kpi[ data-inventory-sort ]{cursor:pointer}
.inventory-attention-row.receiving .attention-count{background:var(--ui-soft);color:var(--ui-ink)}
.inventory-transfer-source{display:flex;flex-direction:column;gap:5px;grid-column:1/-1;padding:9px 10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-soft);color:var(--ui-muted);font-size:8px}
.inventory-transfer-source b{color:var(--ui-ink);font-size:10px}
@media(max-width:900px){.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.inventory-items-workspace{display:flex;flex-direction:column;gap:12px;padding:0 13px 14px}
.inventory-category-section,.inventory-items-panel{min-width:0;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-panel);box-shadow:none}
.inventory-category-section .inventory-module-head{padding-bottom:10px}
.inventory-category-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;padding:0 15px 14px}
.inventory-category-card{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:10px;min-width:0;min-height:74px;padding:11px 12px;border:1px solid var(--ui-line);border-radius:13px;background:linear-gradient(135deg,var(--ui-panel),var(--ui-soft));text-align:left;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.inventory-category-card:hover,.inventory-category-card.active{transform:translateY(-1px);border-color:#caaec0;box-shadow:0 5px 15px #32142b0c}
.inventory-category-card.active{background:linear-gradient(135deg,var(--ui-tint),var(--ui-tint))}
.inventory-category-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--ui-soft)}
.inventory-category-icon .inventory-library-icon{width:18px;height:18px;filter:invert(14%) sepia(31%) saturate(1481%) hue-rotate(279deg) brightness(88%) contrast(95%)}
.inventory-category-card.tone-1 .inventory-category-icon{background:var(--ui-soft)}.inventory-category-card.tone-1 .inventory-library-icon{filter:invert(44%) sepia(17%) saturate(809%) hue-rotate(84deg) brightness(91%) contrast(85%)}
.inventory-category-card.tone-2 .inventory-category-icon{background:var(--ui-soft)}.inventory-category-card.tone-2 .inventory-library-icon{filter:invert(47%) sepia(54%) saturate(548%) hue-rotate(2deg) brightness(95%) contrast(88%)}
.inventory-category-card.tone-3 .inventory-category-icon{background:var(--ui-soft)}.inventory-category-card.tone-3 .inventory-library-icon{filter:invert(47%) sepia(13%) saturate(973%) hue-rotate(177deg) brightness(91%) contrast(87%)}
.inventory-category-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.inventory-category-copy b{overflow:hidden;color:var(--ui-ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.inventory-category-copy small{overflow:hidden;color:var(--ui-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.inventory-category-arrow{color:var(--ui-muted);font-size:18px;line-height:1}
.inventory-items-panel .inventory-module-head{align-items:flex-end}
.inventory-items-panel .inventory-search{flex:none;width:min(280px,38vw)}
.inventory-items-table{min-width:900px}
.inventory-items-table td:nth-child(2){color:var(--ui-muted)}
.inventory-items-panel .inventory-footer{justify-content:space-between}
.inventory-form-note{grid-column:1/-1;margin:0;color:var(--ui-muted);font-size:8px;line-height:1.45}
.modal-wrap.inventory-receive-form .modal{width:min(1260px,96vw);max-width:1260px;max-height:93vh;padding:20px 22px}.modal-wrap.inventory-receive-form .detail-actions{display:none}.inventory-receive-form-body{display:flex;flex-direction:column;gap:11px}.receive-mode-switch{display:grid;grid-template-columns:1fr 1fr minmax(180px,.85fr);gap:8px}.receive-mode-switch>button{display:grid;grid-template-columns:39px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:67px;padding:9px 11px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);color:var(--ui-ink);text-align:left;cursor:pointer}.receive-mode-switch>button>b{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:var(--ui-soft);color:var(--ui-ink);font-size:14px}.receive-mode-switch>button>span{display:flex;flex-direction:column;gap:4px}.receive-mode-switch strong{font-size:10px}.receive-mode-switch small,.receive-mode-help small{color:var(--ui-muted);font-size:8px;line-height:1.4}.receive-mode-switch>button>i{display:grid;place-items:center;width:18px;height:18px;border:1px solid var(--ui-line);border-radius:50%;color:#fff;font-size:11px;font-style:normal}.receive-mode-switch>button.selected{border-color:#a77a96;background:var(--ui-tint);box-shadow:0 0 0 2px #681c4610}.receive-mode-switch>button.selected>i{border-color:#5b153e;background:#5b153e}.receive-mode-switch>button[data-receive-mode="order"] b{background:var(--ui-soft);color:var(--ui-ink)}.receive-mode-switch>button[data-receive-mode="order"].selected{border-color:#91ba9b;background:var(--ui-tint)}.receive-mode-switch>button[data-receive-mode="order"].selected>i{border-color:#4f8b5e;background:#4f8b5e}.receive-mode-switch>button[data-receive-mode="direct"] b{background:var(--ui-soft);color:var(--ui-muted)}.receive-mode-help{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px 12px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-panel)}.receive-mode-help strong{color:var(--ui-ink);font-size:9px}.receive-po-select{display:flex;align-items:flex-end;gap:14px;padding:10px 12px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-soft)}.receive-po-select label{display:flex;flex-direction:column;gap:5px;min-width:min(330px,50%);color:var(--ui-muted);font-size:8px;font-weight:650}.receive-po-select select{height:34px;padding:0 9px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:10px}.receive-po-select small{padding-bottom:8px;color:var(--ui-muted);font-size:8px}.receive-po-select.direct{align-items:center;border-color:var(--ui-line);background:var(--ui-soft)}.receive-po-select.direct span{color:var(--ui-ink);font-size:10px;font-weight:700}.receive-layout{display:grid;grid-template-columns:minmax(0,1fr) 244px;align-items:start;gap:11px}.receive-main{display:flex;flex-direction:column;gap:10px;min-width:0}.receive-card{min-width:0;padding:12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel)}.receive-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.receive-card>header>span{display:flex;flex-direction:column;gap:4px}.receive-card>header b{color:var(--ui-ink);font-size:10px}.receive-card>header small{color:var(--ui-muted);font-size:8px;line-height:1.4}.receive-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.receive-meta-grid label{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--ui-muted);font-size:8px;font-weight:650}.receive-meta-grid label.receive-wide{grid-column:1/-1}.receive-meta-grid input,.receive-meta-grid select,.receive-meta-grid textarea{width:100%;min-height:33px;padding:6px 8px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;box-sizing:border-box}.receive-meta-grid textarea{resize:vertical}.receive-lines-wrap{overflow:auto}.receive-lines{width:100%;min-width:780px;border-collapse:collapse}.receive-lines th{padding:7px 6px;border-bottom:1px solid var(--ui-line);background:var(--ui-soft);color:var(--ui-muted);font-size:7px;font-weight:650;text-align:left;white-space:nowrap}.receive-lines td{padding:6px;border-bottom:1px solid var(--ui-line);color:var(--ui-ink);font-size:8px;white-space:nowrap}.receive-lines td select,.receive-lines td input{max-width:120px;height:29px;padding:4px 6px;border:1px solid var(--ui-line);border-radius:6px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:8px}.receive-lines td:nth-child(2) select{max-width:180px}.receive-lines td small{display:block;margin:3px 0 0 4px;color:var(--ui-muted);font-size:7px}.receive-lines td.receive-difference{font-weight:700;color:var(--ui-ink)}.receive-lines td input[name^="qty"]{border-color:var(--ui-line);background:var(--ui-soft)}.receive-line-remove{width:22px;height:22px;border:0;border-radius:6px;background:var(--ui-soft);color:var(--ui-ink);font-size:15px;cursor:pointer}.receive-line-foot{display:flex;justify-content:space-between;gap:8px;padding-top:8px;color:var(--ui-muted);font-size:8px}.receive-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.receive-attachments .receive-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:112px;padding:12px;border:1px dashed var(--ui-line);border-radius:10px;background:var(--ui-panel);color:var(--ui-ink);text-align:center;cursor:pointer;transition:background .15s,border-color .15s}.receive-drop.dragging{border-color:#6a1945;background:var(--ui-soft)}.receive-drop input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.receive-drop>img{width:21px;height:21px;opacity:.68}.receive-drop strong{font-size:9px}.receive-drop small{color:var(--ui-muted);font-size:7px}.receive-drop .inventory-action{min-height:26px;margin-top:2px;font-size:8px}.receive-file-list{display:flex;flex-direction:column;gap:5px;margin-top:8px}.receive-file{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel)}.receive-file>span{display:flex;align-items:center;gap:8px;min-width:0}.receive-file .inventory-library-icon{width:15px;height:15px}.receive-file>span>span{display:flex;flex-direction:column;gap:2px;min-width:0}.receive-file b{overflow:hidden;color:var(--ui-ink);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.receive-file small{color:var(--ui-muted);font-size:7px}.receive-file button{width:22px;height:22px;border:0;border-radius:6px;background:var(--ui-soft);color:var(--ui-ink);font-size:15px;cursor:pointer}.receive-local-note{margin:7px 0 0;color:var(--ui-muted);font-size:7px;line-height:1.4}.receive-summary{position:sticky;top:0;display:flex;flex-direction:column;gap:9px}.receive-summary .receive-card{padding:11px}.receive-summary .receive-card>header{margin-bottom:8px}.receive-summary-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--ui-line);color:var(--ui-muted);font-size:8px}.receive-summary-row b{color:var(--ui-ink);font-size:8px;text-align:right}.receive-summary-row.total{margin-top:3px;padding-top:9px;border-top:1px solid var(--ui-line);color:var(--ui-ink);font-weight:700}.receive-summary-row.total b{color:var(--ui-ink);font-size:12px}.receive-summary-row.balance b{color:var(--ui-ink)}.receive-summary-alert{margin-top:8px;padding:8px;border-radius:8px;background:var(--ui-soft);color:var(--ui-ink);font-size:7px;line-height:1.45}.receive-summary-alert.warning{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-panel));color:var(--ui-warning)}.receive-stock-impact{background:linear-gradient(145deg,var(--ui-soft),var(--ui-panel))}.receive-stock-impact strong{display:block;color:var(--ui-ink);font-size:16px}.receive-stock-impact small{display:block;margin-top:4px;color:var(--ui-muted);font-size:7px;line-height:1.45}.receive-action-bar{position:sticky;bottom:-20px;z-index:4;display:flex;align-items:center;gap:7px;margin:0 -22px -20px;padding:10px 22px;border-top:1px solid var(--ui-line);background:var(--ui-panel);box-shadow:0 -6px 18px #30212d08}.receive-action-spacer{flex:1}.receive-action{min-height:39px;padding:0 13px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer}.receive-action.cancel{color:var(--ui-ink)}.receive-action.print{color:#5d4b5d}.receive-action.draft{border-color:var(--ui-line);color:var(--ui-ink)}.receive-action.partial{border-color:var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}.receive-action.confirm{border-color:#5c173f;background:#5c173f;color:#fff}.receive-action:hover{filter:brightness(.97)}.receive-detail-lines{margin-top:13px}.receive-detail-lines h4{margin:0 0 8px;color:var(--ui-ink);font-size:10px}
.modal-wrap.inventory-modal-form .detail-actions{display:none}.inventory-form.inventory-form-item{max-width:none}.inventory-product-form{display:flex;flex-direction:column;gap:11px}.inventory-item-section{padding:13px;border:1px solid var(--ui-line);border-radius:13px;background:linear-gradient(135deg,var(--ui-panel),var(--ui-panel))}.inventory-item-section>header{display:flex;align-items:center;gap:9px;margin-bottom:12px}.inventory-item-section>header>.inventory-library-icon{width:18px;height:18px;filter:invert(14%) sepia(31%) saturate(1481%) hue-rotate(279deg) brightness(88%) contrast(95%)}.inventory-item-section>header>span{display:flex;flex-direction:column;gap:3px}.inventory-item-section>header b{color:var(--ui-ink);font-size:11px}.inventory-item-section>header small{color:var(--ui-muted);font-size:8px}.inventory-item-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.inventory-item-fields>label{display:flex;flex-direction:column;gap:5px;min-width:0;color:var(--ui-muted);font-size:8px;font-weight:650}.inventory-item-fields>label.wide{grid-column:1/-1}.inventory-item-fields input,.inventory-item-fields select{width:100%;min-height:35px;padding:7px 9px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-ink);font:inherit;font-size:10px;box-sizing:border-box}.inventory-item-fields .inventory-toggle-field{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:35px;padding:0 10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-ink)}.inventory-toggle-field input{position:absolute;width:1px;height:1px;opacity:0}.inventory-toggle-field i{position:relative;flex:none;width:30px;height:17px;border-radius:12px;background:#ddd7dd;transition:background .15s}.inventory-toggle-field i:after{position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:var(--ui-panel);box-shadow:0 1px 3px #2513232e;content:"";transition:transform .15s}.inventory-toggle-field input:checked+i{background:#6b1a48}.inventory-toggle-field input:checked+i:after{transform:translateX(13px)}.inventory-toggle-field input:focus-visible+i{outline:2px solid #9b4f79;outline-offset:2px}
@media(max-width:700px){.inventory-items-workspace{gap:9px;padding:0 8px 9px}.inventory-category-cards{display:flex;gap:7px;overflow-x:auto;padding:0 9px 10px;scroll-snap-type:x mandatory}.inventory-category-card{flex:0 0 190px;scroll-snap-align:start}.inventory-items-panel .inventory-module-head{align-items:stretch}.inventory-items-panel .inventory-search{width:100%}.inventory-items-table{min-width:850px}}
@media(max-width:700px){.modal-wrap.inventory-modal-form .modal{width:calc(100vw - 18px);max-height:92dvh;padding:17px 12px}.inventory-item-section{padding:10px}.inventory-item-fields{gap:7px}.inventory-item-fields>label{font-size:7px}.inventory-item-fields input,.inventory-item-fields select{min-height:34px;padding:6px 7px;font-size:9px}.inventory-item-section>header b{font-size:10px}}
@media(max-width:760px){.modal-wrap.inventory-receive-form .modal{width:calc(100vw - 12px);max-height:96dvh;padding:12px 10px}.receive-mode-switch{grid-template-columns:1fr 1fr}.receive-mode-help{grid-column:1/-1}.receive-layout{grid-template-columns:1fr}.receive-summary{position:static;display:grid;grid-template-columns:1fr 1fr}.receive-stock-impact{grid-column:1/-1}.receive-lower-grid{grid-template-columns:1fr}.receive-meta-grid{grid-template-columns:1fr 1fr}.receive-action-bar{bottom:-12px;flex-wrap:wrap;margin:0 -10px -12px;padding:8px 10px}.receive-action{flex:1;min-height:36px;padding:0 8px;font-size:8px}.receive-action-spacer{display:none}}
@media print{body>*:not(#modalWrap){display:none!important}#modalWrap{position:static!important;display:block!important;background:#fff!important}#modalWrap .modal{width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-shadow:none!important}#modalWrap .close,#modalWrap .detail-actions,.receive-action-bar{display:none!important}.receive-layout{grid-template-columns:1fr 240px!important}.receive-summary{position:static!important}.receive-lines-wrap{overflow:visible!important}.receive-lines{min-width:0!important}}
/* Purchase order workspace */
.po-form-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 20px}.po-form-top .wide{grid-column:1/-1}.po-lines-card,.po-files-card{background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:18px;padding:18px;margin:16px 0}.po-lines-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.po-lines-card>header b{display:block;font-size:16px}.po-lines-card>header small{display:block;color:var(--ui-muted);margin-top:4px}.po-lines-table{min-width:900px}.po-lines-table select,.po-lines-table input{width:100%;min-width:70px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);padding:9px;font:inherit}.po-lines-table td:first-child{min-width:200px}.po-lines-table td:first-child small,.po-detail-lines td small{display:block;color:var(--ui-muted);font-size:11px;margin-top:4px}.po-remove-line{border:0;background:var(--ui-soft);color:var(--ui-ink);width:30px;height:30px;border-radius:50%;font-size:18px;cursor:pointer}.po-files-card .receive-drop{cursor:pointer}.po-form-total{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:20px;padding:18px;background:var(--ui-soft);border-radius:16px;margin:16px 0}.po-form-total span{display:grid;gap:5px;color:var(--ui-muted);font-size:12px}.po-form-total b{color:var(--ui-ink);font-size:15px}.po-form-total>strong{display:grid;gap:5px;padding-left:20px;border-left:1px solid var(--ui-line);color:var(--ui-ink)}.po-form-total>strong b{font-size:21px;color:var(--ui-ink)}.po-detail-lines,.po-detail-files,.po-timeline{margin:20px 0;padding:16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-panel)}.po-detail-lines h4,.po-detail-files h4{margin:0 0 12px}.po-detail-total{display:grid;grid-template-columns:1fr auto;gap:8px 20px;max-width:360px;margin:16px 0 0 auto}.po-detail-total strong{color:var(--ui-ink);font-size:18px}.po-timeline{display:flex;gap:16px;flex-wrap:wrap;color:var(--ui-muted);font-size:12px}.po-timeline b{color:var(--ui-ink)}.inventory-modal-form .calendar-detail-actions{position:sticky;bottom:0;background:rgba(255,255,255,.96);z-index:4;padding:12px 0;border-top:1px solid var(--ui-line)}.inventory-modal-form .calendar-form-footer{position:sticky;bottom:0;background:rgba(255,255,255,.97);z-index:3}.po-files-card input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.po-files-card .receive-drop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:100px;padding:18px;border:1px dashed var(--ui-line);border-radius:14px}.po-files-card .receive-drop small{color:var(--ui-muted)}.po-form-top label{display:grid;gap:6px;color:var(--ui-ink);font-size:12px}.po-form-top input,.po-form-top select{min-height:42px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);padding:9px 11px;font:inherit;color:var(--ui-ink)}@media(max-width:720px){.po-form-top{grid-template-columns:1fr 1fr;gap:10px}.po-form-top .wide{grid-column:1/-1}.po-form-total{justify-content:space-between;gap:12px;padding:14px}.po-form-total>strong{padding-left:0;border:0}.po-lines-card,.po-files-card{padding:12px;margin:12px 0}.po-lines-card>header{align-items:flex-start}.po-detail-lines,.po-detail-files,.po-timeline{padding:12px;margin:12px 0}}
.po-status-tabs{display:flex;gap:8px;overflow:auto;padding:12px 0 16px}.po-status-tabs button{white-space:nowrap;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-panel);color:var(--ui-ink);padding:8px 13px;font:inherit;font-size:12px;cursor:pointer}.po-status-tabs button.active{background:#55143f;border-color:#55143f;color:#fff}
.transfer-form-top{margin-bottom:18px}.transfer-lines-table{min-width:660px}.transfer-lines-table td:nth-child(1){min-width:220px}.transfer-lines-table td:nth-child(3) input{width:100%;min-width:90px;border:1px solid var(--ui-line);border-radius:9px;padding:9px;font:inherit}.transfer-lines-table td:nth-child(4){white-space:nowrap;color:var(--ui-ink)}.inventory-transfer-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.inventory-transfer-card{min-width:0}.po-detail-lines .inventory-table input[type=number]{width:120px;border:1px solid var(--ui-line);border-radius:9px;padding:9px;font:inherit}
/* Responsive inventory forms: one scroll surface, one clear action dock */
.modal-wrap.inventory-modal-form .modal{display:flex;flex-direction:column;width:min(1040px,calc(100vw - 40px));max-width:1040px;max-height:min(94dvh,980px);overflow:hidden;padding:24px 26px;border-radius:26px;background:var(--ui-panel);box-shadow:0 24px 80px #281a281f}
.modal-wrap.inventory-modal-form .detail-actions{display:none!important}
.modal-wrap.inventory-modal-form #modalTitle{flex:none;margin:0 42px 5px 0;color:var(--ui-ink);font-size:clamp(20px,2.3vw,28px);letter-spacing:-.025em}
.modal-wrap.inventory-modal-form #modalSub{flex:none;margin:0 0 15px;color:var(--ui-muted);font-size:12px}
.modal-wrap.inventory-modal-form #detailBody{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 2px 12px}
.inventory-form{max-width:none;display:flex;flex-direction:column;gap:16px}
.inventory-form-grid.inventory-purchase-form,.inventory-form-grid.inventory-transfer-form{display:flex;flex-direction:column;gap:14px;min-width:0}
.inventory-purchase-form>*,.inventory-transfer-form>*{width:100%;min-width:0;box-sizing:border-box}
.inventory-purchase-form .inventory-form-intro,.inventory-transfer-form .inventory-form-intro{grid-column:auto;padding:14px 16px;border-radius:16px;background:linear-gradient(110deg,var(--ui-soft),var(--ui-soft));color:var(--ui-ink);font-size:13px;line-height:1.55}
.inventory-transfer-source{width:100%;box-sizing:border-box}
.inventory-action-footer{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:76px;margin:0 -26px -24px;padding:12px 26px;border-top:1px solid var(--ui-line);background:var(--ui-panel);box-shadow:0 -8px 24px #271b250a}
.inventory-action-footer button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 20px;border-radius:16px;font-family:inherit;font-size:14px;font-weight:650;line-height:1.2;cursor:pointer;transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s,border-color .18s}
.inventory-action-footer button:active{transform:scale(.985)}
.inventory-action-footer-primary{border:1px solid #55153f;background:linear-gradient(135deg,#671a4d,#4b1138);color:#fff;box-shadow:0 7px 18px #54163d24}
.inventory-action-footer-primary span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--ui-panel) 14%,transparent);font-size:16px}
.inventory-action-footer-secondary{border:1px solid var(--ui-line);background:var(--ui-soft);color:var(--ui-ink)}
.inventory-action-footer-cancel{border:1px solid var(--ui-line);background:var(--ui-panel);color:var(--ui-ink)}
.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form){gap:14px}
.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) label{gap:7px;font-size:12px}
.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) input,.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) select,.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) textarea{min-height:46px;padding:10px 13px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-panel);color:var(--ui-ink);font-size:14px;transition:border-color .18s,box-shadow .18s}
.inventory-form-grid input:focus,.inventory-form-grid select:focus,.inventory-form-grid textarea:focus,.po-form-top input:focus,.po-form-top select:focus{outline:none;border-color:#b98ca8;box-shadow:0 0 0 3px #6b1c480f}
.inventory-form-grid input[type=date],.po-form-top input[type=date]{min-height:46px;border-radius:14px;font-size:14px;color:var(--ui-ink);accent-color:#5b153f}
.inventory-form-grid input[type=date]::-webkit-calendar-picker-indicator,.po-form-top input[type=date]::-webkit-calendar-picker-indicator{width:20px;height:20px;opacity:.72;cursor:pointer}
.inventory-form-error{font-size:13px;line-height:1.5}
.receive-action-bar{min-height:76px;padding-top:12px;padding-bottom:12px;background:var(--ui-panel);box-shadow:0 -8px 24px #271b250a}
.receive-action{min-height:50px;padding:0 16px;border-radius:15px;font-size:12px}
.receive-action.confirm{box-shadow:0 7px 16px #54163d21}
@media(max-width:760px){
 .modal-wrap.inventory-modal-form .modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:94dvh;padding:18px 14px;border-radius:22px}
 .modal-wrap.inventory-modal-form #modalTitle{font-size:21px}
 .modal-wrap.inventory-modal-form #modalSub{margin-bottom:11px;font-size:11px}
 .inventory-form-grid.inventory-purchase-form,.inventory-form-grid.inventory-transfer-form{gap:10px}
 .inventory-transfer-source{padding:13px 14px}
 .po-form-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:8px 0 10px}
 .po-form-top label{min-width:0;font-size:11px}
 .po-form-top input,.po-form-top select{min-width:0;min-height:46px;padding:9px 10px;border-radius:13px;font-size:13px}
 .po-form-top .wide{grid-column:1/-1}
 .po-lines-card,.po-files-card{width:100%;max-width:100%;overflow:hidden;border:1px solid var(--ui-line);border-radius:18px;background:var(--ui-panel)}
 .po-lines-card>header b{font-size:15px}.po-lines-card>header small{font-size:11px;line-height:1.45}
 .po-lines-card .inventory-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .transfer-lines-table{min-width:600px}
 .po-lines-table{min-width:760px}
 .po-form-total{width:100%;box-sizing:border-box;gap:10px 14px;padding:14px;border-radius:16px}
 .po-form-total span{font-size:11px}.po-form-total b{font-size:14px}.po-form-total>strong b{font-size:19px}
 .inventory-action-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;min-height:0;margin:12px -14px -18px;padding:12px 14px max(12px,env(safe-area-inset-bottom));}
 .inventory-action-footer button{width:100%;min-width:0;min-height:52px;padding:0 12px;border-radius:15px;font-size:13px;white-space:normal;text-align:center}
 .inventory-action-footer-primary{grid-column:2;grid-row:1}
 .inventory-action-footer-cancel{grid-column:1;grid-row:1}
 .inventory-purchase-actions .inventory-action-footer-primary{grid-column:1/-1;grid-row:1}
 .inventory-purchase-actions .inventory-action-footer-secondary{grid-column:1;grid-row:2}
 .inventory-purchase-actions .inventory-action-footer-cancel{grid-column:2;grid-row:2}
 .inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form){grid-template-columns:1fr 1fr;gap:11px}
 .inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) label{font-size:11px}
 .inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) input,.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) select,.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) textarea{min-height:46px;font-size:13px}
 .inventory-form-grid label.wide{grid-column:1/-1}
 .receive-action-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 -10px -12px;padding:11px 12px max(12px,env(safe-area-inset-bottom))}
 .receive-action{width:100%;min-width:0;min-height:50px;padding:8px 10px;font-size:12px;white-space:normal}
 .receive-action.confirm{grid-column:1/-1;grid-row:1}
 .receive-action.partial{grid-column:1/-1;grid-row:2}
 .receive-action-spacer{display:none}
 .receive-action.cancel{grid-column:1;grid-row:3}.receive-action.print{grid-column:2;grid-row:3}.receive-action.draft{grid-column:1/-1;grid-row:4}
}
@media(max-width:380px){.po-form-top{grid-template-columns:1fr}.po-form-top .wide{grid-column:auto}.inventory-action-footer button{font-size:12px}.receive-summary{grid-template-columns:1fr}}

/* Inventory follow-up: use the MAXDS icon library and make stock counts touch-ready. */
.inventory-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.inventory-tab-icon{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;opacity:.78}
.inventory-tab.active .inventory-tab-icon{opacity:1}
.inventory-tab>span:last-child:not(:first-child){flex:none}
.inventory-kpi-link .inventory-library-icon{width:14px;height:14px;margin-left:3px;vertical-align:middle}
.inventory-count-select{grid-column:1/-1;min-width:0;padding:15px;border:1px solid var(--ui-line);border-radius:18px;background:linear-gradient(135deg,var(--ui-panel),var(--ui-soft))}
.inventory-count-select[hidden]{display:none}
.inventory-count-select-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--ui-ink);font-size:14px}
.inventory-count-select-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto;padding:2px;overscroll-behavior:contain}
.inventory-count-select-row{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;min-width:0;padding:11px 12px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-panel);cursor:pointer}
.inventory-count-select-row:has(input:checked){border-color:#c7a7bc;background:var(--ui-tint);box-shadow:0 0 0 2px #5b153f0b}
.inventory-count-select-row input{flex:none;width:18px;height:18px;min-height:18px!important;margin:0;accent-color:#5b153f}
.inventory-form-grid:not(.inventory-product-form):not(.inventory-purchase-form):not(.inventory-transfer-form) .inventory-count-select-row input{width:18px!important;min-width:18px;min-height:18px!important;height:18px;padding:0;border-radius:5px}
.inventory-count-select-row>span{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.inventory-count-select-row b{overflow:hidden;color:var(--ui-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.inventory-count-select-row small{color:var(--ui-muted);font-size:10px}
.inventory-count-select-row>strong{flex:none;color:var(--ui-ink);font-size:11px}
.inventory-count-card-ref{display:flex;align-items:center;gap:6px}
.inventory-count-card-ref img{width:15px;height:15px;object-fit:contain;opacity:.82}
.inventory-count-card b{display:flex;align-items:center;gap:6px}
.po-remove-line .inventory-library-icon{width:17px;height:17px}
.po-remove-line{display:grid;place-items:center}
.inventory-action-footer-primary .inventory-library-icon{width:19px;height:19px;filter:brightness(0) invert(1)}
.modal-close-icon{display:block;width:18px;height:18px;object-fit:contain}
.map-close .modal-close-icon{width:19px;height:19px}
.map-choice-arrow img{display:block;width:16px;height:16px}
.inventory-reorder-box button .inventory-library-icon{width:14px;height:14px;vertical-align:middle}
.inventory-line-remove .inventory-library-icon,.receive-file button .inventory-library-icon{width:17px;height:17px}
.inventory-line-remove,.receive-file button{display:grid;place-items:center}
.attention-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:18;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.inventory-count-select{padding:12px;border-radius:15px}.inventory-count-select-list{grid-template-columns:1fr;gap:6px;max-height:36dvh}.inventory-count-select-row{min-height:48px}.inventory-tab{gap:5px}.inventory-tab-icon{width:14px;height:14px}}
/* Item editor: readable fields and the approved large action bar. */
.inventory-product-form .inventory-item-section{padding:20px;border-radius:20px;background:linear-gradient(135deg,var(--ui-panel),var(--ui-soft))}
.inventory-product-form .inventory-item-section>header{margin-bottom:18px;gap:12px}
.inventory-product-form .inventory-item-section>header b{font-size:17px;color:var(--ui-ink)}
.inventory-product-form .inventory-item-section>header small{font-size:12px;line-height:1.6;color:var(--ui-muted)}
.inventory-product-form .inventory-item-fields{gap:16px}
.inventory-product-form .inventory-item-fields>label{font-size:12px;color:var(--ui-ink);gap:7px}
.inventory-product-form .inventory-item-fields input,.inventory-product-form .inventory-item-fields select{min-height:46px;font-size:14px;padding:11px 13px;border-radius:12px;border-color:var(--ui-line)}
.inventory-product-form input:read-only{background:var(--ui-soft);color:var(--ui-muted)}
.inventory-product-form .inventory-toggle-field{min-height:46px;font-size:12px}
.inventory-unit-preview{display:grid;gap:8px;padding:18px;margin-top:18px;border-radius:15px;background:var(--ui-soft);color:var(--ui-ink);line-height:1.7}
.inventory-unit-preview b{font-size:12px}.inventory-unit-preview strong{font-size:22px;font-variant-numeric:tabular-nums}.inventory-unit-preview span,.inventory-unit-preview small{font-size:12px}
.inventory-local-save{padding:12px 16px;border-radius:12px;background:var(--ui-soft);color:var(--ui-muted);font-size:12px;line-height:1.7}
#inventoryForm:has(.inventory-product-form) .inventory-action-footer{position:sticky;bottom:0;z-index:2;padding:16px;background:color-mix(in srgb,var(--ui-panel) 93%,transparent);backdrop-filter:blur(12px);border-top:1px solid var(--ui-line);gap:12px}
#inventoryForm:has(.inventory-product-form) .inventory-action-footer button{min-height:50px;padding:13px 24px;border-radius:14px;font-size:14px}
#inventoryForm:has(.inventory-product-form) .inventory-action-footer-primary{background:#3d548d;color:white;box-shadow:0 5px 14px #354c8126}
#inventoryForm .inventory-form-error{font-size:13px;line-height:1.7;padding:14px;background:color-mix(in srgb,var(--ui-error) 10%,var(--ui-panel));color:#b82f4e;border-radius:12px}
@media(max-width:700px){.inventory-product-form .inventory-item-section{padding:15px}.inventory-product-form .inventory-item-fields{grid-template-columns:minmax(0,1fr);gap:13px}.inventory-product-form .inventory-item-fields input,.inventory-product-form .inventory-item-fields select{font-size:16px}.inventory-unit-preview strong{font-size:20px}#inventoryForm:has(.inventory-product-form) .inventory-action-footer button{flex:1;padding:12px}.inventory-product-form .inventory-item-section>header b{font-size:16px}}
#inventoryForm:has(.inventory-product-form),#inventoryForm:has(.inventory-product-form) .inventory-action-footer{box-sizing:border-box;max-width:100%;min-width:0}
#inventoryForm .inventory-product-form>.inventory-form-intro{font-size:13px;line-height:1.8;color:var(--ui-muted)}
/* Uniform inventory navigation and a short item creation form. */
.inventory-navigation{position:sticky;top:0;z-index:25;display:flex;align-items:center;padding:12px 0;margin:0 0 18px;background:color-mix(in srgb,var(--ui-soft) 92%,transparent);backdrop-filter:blur(12px)}
.inventory-page .inventory-return{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:11px 18px;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:14px;color:var(--ui-ink);font-size:15px;font-weight:700;box-shadow:0 4px 12px #203c7010;cursor:pointer}
.inventory-return img{width:20px;height:20px}.inventory-advanced,.inventory-photo{border:1px solid var(--ui-line);border-radius:17px;background:var(--ui-panel);overflow:hidden}
.inventory-advanced>summary,.inventory-photo>summary{padding:18px 20px;cursor:pointer;color:var(--ui-ink);font-size:15px;font-weight:700;list-style-position:inside}
.inventory-advanced>summary small{display:block;font-size:12px;font-weight:400;color:var(--ui-muted);margin-top:7px;line-height:1.6}.inventory-advanced[open]>summary{border-bottom:1px solid var(--ui-line)}.inventory-advanced .inventory-item-section{border:0;border-bottom:1px solid var(--ui-line);border-radius:0}
.inventory-item-basics .inventory-supplier-link{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;font-size:14px}.inventory-item-basics .inventory-supplier-link input{width:20px;min-height:20px;height:20px;accent-color:#3d548d}
.inventory-item-fields .inventory-inline-add{align-self:flex-start;border:0;border-radius:7px;padding:7px 0;background:none;color:var(--ui-ink);font-size:12px;font-family:inherit;cursor:pointer}
.inventory-inline-catalog{display:flex;gap:8px;align-items:center;margin-top:5px}.inventory-inline-catalog button,.inventory-photo button{border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-soft);color:var(--ui-ink);padding:10px 13px;font-family:inherit;cursor:pointer;white-space:nowrap}
.inventory-inline-catalog input{min-width:0}.inventory-photo>label{display:grid;gap:12px;padding:0 20px 16px;font-size:12px;color:var(--ui-muted)}.inventory-photo img{width:120px;height:100px;object-fit:cover;margin:0 20px 18px;border-radius:13px}.inventory-photo button{margin:0 20px 18px}
.inventory-group-form{display:grid;gap:20px;min-width:0}.inventory-group-form>p{font-size:14px;color:var(--ui-muted);line-height:1.8}.inventory-group-form>label{display:grid;gap:10px;font-size:14px}.inventory-group-form input{min-height:48px;padding:12px;border:1px solid var(--ui-line);border-radius:12px;font:inherit}.inventory-group-form button{min-height:48px;padding:12px 20px;font:inherit;border-radius:12px;border:1px solid var(--ui-line)}.inventory-group-form [type=submit]{color:#fff;background:#385791}.inventory-group-form .inventory-action-footer{display:flex;gap:12px;justify-content:flex-end}
@media(max-width:700px){.inventory-navigation{padding:9px 0;margin-bottom:12px}.inventory-page .inventory-return{width:100%;justify-content:center;min-height:48px}.inventory-experience-actions{flex-wrap:wrap}.inventory-experience-actions>button{flex:1}.inventory-item-basics .inventory-item-fields{grid-template-columns:minmax(0,1fr)}.inventory-advanced>summary small{font-size:12px}}
@media print{.inventory-navigation{display:none!important}}
.inventory-detail-photo{display:block;width:120px;height:100px;object-fit:cover;border:1px solid var(--ui-line);border-radius:14px;margin:0 0 18px}
/* Readable controls across existing tabs, inventory and purchase entry. */
:is(.po-status-tabs,.inventory-filters,.sc-toolbar,.rc-report-cards,.calendar-tabs) button{min-height:46px;padding:11px 18px;font-size:14px;border-radius:13px;font-weight:650}
.inventory-filters button span{font-size:16px;min-width:25px}.po-status-tabs{gap:10px;padding-block:15px}.po-status-tabs button.active{background:#385b9b;color:#fff;border-color:#385b9b;box-shadow:0 5px 12px #385b9b20}
.inventory-module-head h2{font-size:21px}.inventory-module-head p{font-size:13px;line-height:1.7}.inventory-table th{font-size:13px}.inventory-table td{font-size:14px}.inventory-item-name b{font-size:15px}.inventory-item-name small{font-size:12px}.inventory-quantity>b{font-size:19px}
.po-form-top label{font-size:13px;gap:8px}.po-form-top input,.po-form-top select,.po-lines-table input,.po-lines-table select{min-height:48px;padding:11px 12px;font-size:15px;border-radius:12px;box-sizing:border-box}
.po-lines-table{min-width:1050px}.po-lines-table td{padding:12px}.po-lines-table td:first-child{min-width:230px}.po-lines-table td:nth-child(2){min-width:185px}.po-lines-table input{width:104px}.po-lines-table [data-po-stock]{display:block;font-size:12px;color:var(--ui-ink);margin-top:7px;white-space:nowrap}
.po-form-total{gap:18px;padding:20px;background:var(--ui-soft);border-radius:18px}.po-form-total span{font-size:14px}.po-form-total b{display:block;font-size:21px;margin-top:8px;font-variant-numeric:tabular-nums}.po-form-total>strong{font-size:15px}.po-form-total>strong b{font-size:28px;color:var(--ui-ink)}
.inventory-purchase-actions{position:sticky;bottom:0;z-index:3;box-sizing:border-box;max-width:100%;background:color-mix(in srgb,var(--ui-panel) 95%,transparent);backdrop-filter:blur(10px);padding:16px;gap:12px;border-top:1px solid var(--ui-line)}.inventory-purchase-actions button{min-height:52px;font-size:15px;padding:13px 22px;border-radius:13px}
@media(max-width:700px){input[type=number],.po-form-top input,.po-form-top select,.po-lines-table input,.po-lines-table select{font-size:16px!important}.po-form-top{grid-template-columns:minmax(0,1fr)}.po-form-total{display:grid;grid-template-columns:1fr 1fr;gap:15px}.po-form-total>strong{grid-column:1/-1}.inventory-purchase-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.inventory-purchase-actions button{flex:1;min-width:110px;padding:12px 10px}.po-status-tabs button{min-height:48px;font-size:15px}}
[role=tab]{min-height:46px;font-size:14px;padding:10px 18px}.inventory-module-kpis strong{font-size:30px}.inventory-module-kpis span{font-size:14px}

.max-control-icon{width:22px;height:22px;display:inline-block;vertical-align:middle}.dayicon img{width:23px;height:23px}.metric-icon>img{width:26px;height:26px}.landmark>img{width:25px;height:25px}.goal-icon>img{width:26px;height:26px}.map-info-icon>img{width:23px;height:23px}.link-btn>img{width:18px;height:18px}
/* Shared numeric entry typography: readable on mobile without changing field validation. */
html body input[type="number"],html body input[inputmode="decimal"],html body input[inputmode="numeric"]{font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;font-variant-numeric:lining-nums tabular-nums;letter-spacing:0;direction:ltr;text-align:start}
