:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#20252d;background:#f7f6f3;font-synthesis:none;--red: #cf1027;--red-dark: #ad0c20;--ink: #1c2027;--sidebar: #151a20;--muted: #6f7886;--line: #dde1e5;--soft: #f7f6f3;--surface: #fff;--green: #079455;--amber: #f59e0b;--blue: #146ee8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--soft);-webkit-font-smoothing:antialiased;box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(207,16,39,.18);outline-offset:1px}.erp-app{min-height:100vh;padding:64px 0 8px 180px;transition:padding-left .22s ease;overflow-x:hidden}.erp-app.sidebar-collapsed{padding-left:76px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,.9fr) minmax(480px,1.1fr);color:var(--ink);background:#f7f5f1}.auth-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(40px,6vw,86px);color:#fff;background:#161b21}.auth-brand-panel:after{content:"";position:absolute;right:-120px;bottom:-150px;width:360px;height:360px;border:80px solid rgba(207,16,39,.12);border-radius:50%}.auth-brand-panel img{position:relative;z-index:1;width:132px;height:132px;object-fit:cover;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.auth-brand-panel>div{position:relative;z-index:1;max-width:520px}.auth-brand-panel span{color:#ffafb9;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.auth-brand-panel h1{margin:10px 0 14px;font-size:clamp(36px,5vw,64px);line-height:.98;letter-spacing:-2px}.auth-brand-panel p{max-width:450px;margin:0;color:#c5cbd2;font-size:17px;line-height:1.6}.login-card{width:min(430px,calc(100% - 40px));align-self:center;justify-self:center;padding:36px;background:#fff;border:1px solid #e1e2e4;border-radius:12px;box-shadow:0 24px 70px #1f232917}.login-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:24px;color:#fff;background:var(--red);border-radius:10px;box-shadow:0 9px 22px #cf102738}.login-card>small{color:var(--red);font-size:10px;font-weight:800;letter-spacing:.15em}.login-card h2{margin:9px 0 8px;font-size:27px;letter-spacing:-.6px}.login-card>p{margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.6}.login-card form label{display:block;margin-top:15px;color:#444e5b;font-size:11px;font-weight:700}.login-card form label>span{min-height:46px;display:flex;align-items:center;gap:9px;margin-top:7px;padding:0 12px;color:#76808c;background:#fff;border:1px solid #ccd2d8;border-radius:7px}.login-card form input{min-width:0;flex:1;height:42px;padding:0;color:var(--ink);background:transparent;border:0;outline:0;font-size:13px}.login-submit{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:22px;color:#fff;background:var(--red);border:0;border-radius:7px;font-weight:750}.login-submit:hover{background:var(--red-dark)}.forgot-button{width:100%;margin-top:12px;padding:8px;color:#616b77;background:transparent;border:0;font-size:12px}.login-card footer{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:22px;padding-top:18px;color:#8a929d;border-top:1px solid #eceef0;font-size:10px}.auth-message{display:flex;align-items:flex-start;gap:9px;margin:15px 0;padding:11px;border-radius:7px;font-size:11px;line-height:1.45}.auth-message.error{color:#962637;background:#fff0f2;border:1px solid #ffc1ca}.auth-message.success{color:#12673f;background:#edf9f2;border:1px solid #a8ddbf}.auth-loading{align-self:center;justify-self:center;display:flex;align-items:center;gap:12px;color:#596370}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bootstrap-card{grid-column:1 / -1}.system-banner{display:flex;align-items:center;gap:9px;margin-bottom:14px;padding:10px 12px;color:#39566e;background:#eff7fd;border:1px solid #bcdcf2;border-radius:7px;font-size:11px}.system-banner.warning{color:#76500b;background:#fff8e8;border-color:#f5d286}.system-banner.error{color:#962637;background:#fff0f2;border-color:#ffc1ca}.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:180px;display:flex;flex-direction:column;color:#f7f8fa;background:var(--sidebar);border-right:1px solid #282f37;transition:width .22s ease,box-shadow .22s ease}.sidebar-scrim{display:none}.brand-lockup{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 12px 27px}.brand-lockup img{width:100px;height:100px;object-fit:cover;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.brand-lockup strong{font-size:18px;letter-spacing:-.2px}.sidebar nav{display:flex;flex-direction:column;gap:5px;padding:0 7px}.sidebar nav button,.collapse-button{min-height:44px;display:flex;align-items:center;gap:13px;padding:0 13px;color:#f3f5f7;background:transparent;border:0;border-radius:6px;font-size:13px;text-align:left}.sidebar nav button:hover{background:#222931}.sidebar nav button.active{background:var(--red);box-shadow:0 6px 18px #cf10273d}.collapse-button{margin:auto 7px 14px;color:#aeb5bf}.collapse-button svg{transform:rotate(180deg)}.sidebar.collapsed{width:76px}.sidebar.collapsed .brand-lockup{padding:16px 8px 22px}.sidebar.collapsed .brand-lockup img{width:58px;height:58px}.sidebar.collapsed .brand-lockup strong,.sidebar.collapsed nav span,.sidebar.collapsed .collapse-button span{display:none}.sidebar.collapsed nav button,.sidebar.collapsed .collapse-button{justify-content:center;padding:0}.sidebar.collapsed .collapse-button svg{transform:none}.topbar{position:fixed;top:0;left:180px;right:0;z-index:40;height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;background:#fffffff7;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:left .22s ease}.erp-app.sidebar-collapsed .topbar{left:76px}.breadcrumb{display:flex;align-items:center;gap:13px;color:#5d6672;font-size:13px}.breadcrumb>span{width:1px;height:25px;background:var(--line)}.breadcrumb b{color:#303640;font-weight:500}.mobile-menu{display:none;place-items:center;width:38px;height:38px;padding:0;background:transparent;border:0;border-radius:7px}.topbar-actions{display:flex;align-items:center;gap:12px}.store-switcher{position:relative}.store-button,.date-button,.profile{height:40px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#303640;background:#fff;border:1px solid #d6dce2;border-radius:7px;font-size:13px}.store-button{min-width:148px}.store-button span{flex:1;text-align:left}.date-button{min-width:250px}.date-button span{flex:1}.store-menu{position:absolute;top:47px;right:0;z-index:70;width:230px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 18px 42px #131c262b}.store-menu button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 10px;color:var(--ink);background:transparent;border:0;border-radius:6px;text-align:left}.store-menu button:hover,.store-menu button.selected{background:#fff1f3;color:var(--red)}.store-menu button span{flex:1}.notification-wrap{position:relative}.notification{position:relative;width:40px;height:40px;display:grid;place-items:center;padding:0;color:#37404c;background:transparent;border:0;border-radius:8px}.notification:hover,.notification.active{color:var(--red);background:#fff1f3}.notification span{position:absolute;top:-3px;right:-2px;min-width:19px;height:19px;display:grid;place-items:center;color:#fff;background:var(--red);border:2px solid white;border-radius:99px;font-size:10px;font-weight:700}.notification-panel{position:absolute;top:48px;right:0;z-index:80;width:360px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 20px 48px #131c2633}.notification-panel header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-bottom:1px solid #eceeef}.notification-panel header div{display:grid;gap:4px}.notification-panel header small{color:var(--red);font-size:9px;font-weight:800;letter-spacing:.8px}.notification-panel header strong{font-size:15px}.notification-panel header>button{width:32px;height:32px;display:grid;place-items:center;padding:0;color:var(--muted);background:#f5f6f7;border:0;border-radius:7px}.notification-panel>button{width:100%;min-height:72px;display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:11px;padding:11px 14px;color:var(--ink);background:#fff;border:0;border-bottom:1px solid #eef0f1;text-align:left}.notification-panel>button:hover{background:#fff8f8}.notification-panel>button>span{display:grid;gap:4px}.notification-panel>button strong{font-size:11px}.notification-panel>button small{color:var(--muted);font-size:9px;line-height:1.4}.notification-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px}.notification-icon.danger{color:#bd1629;background:#fff0f2}.notification-icon.warning{color:#9a6700;background:#fff7df}.notification-icon.info{color:#1761b5;background:#edf6ff}.notification-panel footer{padding:10px 14px;background:#fafafa}.notification-panel footer button{width:100%;min-height:34px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--red);background:transparent;border:0;font-size:10px;font-weight:750}.profile-wrap{position:relative}.profile{min-width:142px;padding:0;border:0;border-radius:8px}.profile:hover,.profile.active{background:#f7f7f7}.profile>i{width:35px;height:35px;display:grid;place-items:center;color:#fff;background:#7e3f38;border-radius:50%;font-style:normal}.profile>span{flex:1;display:flex;flex-direction:column;align-items:flex-start}.profile strong{font-size:13px}.profile small{color:var(--muted);font-size:10px}.profile-scrim{position:fixed;top:64px;right:0;bottom:0;left:0;z-index:35;padding:0;background:transparent;border:0}.profile-menu{position:fixed;top:64px;right:12px;z-index:100;width:390px;max-height:calc(100vh - 88px);overflow-y:auto;padding:10px;color:var(--ink);background:#f4f4f3;border:1px solid #dfe2e4;border-radius:14px;box-shadow:0 24px 58px #131c2638}.profile-menu-heading{min-height:88px;display:grid;grid-template-columns:48px minmax(0,1fr) 32px;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #e4e6e8;border-radius:10px 10px 0 0}.profile-avatar{display:grid;place-items:center;color:#fff;background:#7e3f38;border-radius:50%;font-style:normal;font-weight:750}.profile-avatar.large{width:46px;height:46px;font-size:14px}.profile-menu-heading>span,.profile-summary-card>span{min-width:0;display:grid;gap:3px;overflow:hidden}.profile-menu-heading strong,.profile-summary-card strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.profile-menu-heading small,.profile-summary-card small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.profile-menu-heading em,.profile-summary-card em{justify-self:start;padding:4px 7px;color:#8c2532;background:#fff0f2;border-radius:20px;font-size:8px;font-style:normal;font-weight:750;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-heading>button{width:30px;height:30px;display:grid;place-items:center;padding:0;color:#66717d;background:#f3f4f5;border:0;border-radius:50%;flex-shrink:0}.switch-account{width:100%;min-height:52px;display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:0 14px;color:var(--ink);background:#fff;border:1px solid #e4e6e8;border-top:0;border-radius:0 0 10px 10px;text-align:left}.switch-account>span{min-width:0;flex:1;display:flex;align-items:center;justify-content:space-between;gap:10px}.switch-account strong{font-size:10px}.switch-account small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.profile-menu-section{margin-top:10px;overflow:hidden;background:#fff;border:1px solid #e4e6e8;border-radius:11px}.profile-menu-section h3{margin:0;padding:15px 14px 8px;color:#757e89;font-size:9px;letter-spacing:.55px}.profile-menu-section>button{width:calc(100% - 24px);min-height:60px;display:grid;grid-template-columns:34px 1fr 17px;align-items:center;gap:10px;margin:0 12px;padding:8px 2px;color:var(--ink);background:#fff;border:0;border-bottom:1px solid #eef0f1;text-align:left}.profile-menu-section>button:last-child{border-bottom:0}.profile-menu-section>button:hover{color:var(--red);background:snow}.profile-menu-section>button>i{width:34px;height:34px;display:grid;place-items:center;color:#3f4854;background:#f5f6f7;border-radius:8px}.profile-menu-section>button>span{display:grid;gap:4px}.profile-menu-section>button strong{font-size:11px}.profile-menu-section>button small{color:var(--muted);font-size:8px;line-height:1.4}.profile-menu footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 2px}.profile-menu footer button{display:flex;align-items:center;gap:7px;padding:7px 9px;color:var(--red);background:transparent;border:0;font-size:10px;font-weight:750}.profile-menu footer small{color:#9299a2;font-size:8px}.workspace{width:100%;max-width:1480px;margin:0 auto;padding:20px 26px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.page-heading h1{margin:0;color:#15191f;font-size:29px;line-height:1.1;letter-spacing:-.65px}.page-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.primary-button,.save-button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 20px;color:#fff;background:var(--red);border:0;border-radius:6px;font-size:13px;font-weight:700;box-shadow:0 5px 14px #cf102729}.primary-button:hover,.save-button:hover{background:var(--red-dark)}.store-summary{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr)) minmax(160px,.82fr);background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.store-summary>button{min-width:0;min-height:100px;padding:16px;background:#fff;border:0;border-right:1px solid var(--line);text-align:left}.store-summary>button:hover,.store-summary>button.selected{background:#fff8f8;box-shadow:inset 0 -3px 0 var(--red)}.summary-name{display:flex;align-items:center;gap:9px;margin-bottom:15px}.summary-name strong{font-size:15px}.status-dot{width:8px;height:8px;flex:0 0 auto;display:inline-block;border-radius:50%}.status-dot.green{background:var(--green)}.status-dot.blue{background:var(--blue)}.status-dot.amber{background:var(--amber)}.status-dot.red{background:var(--red)}.summary-stats{display:grid;grid-template-columns:1.2fr .8fr .8fr}.summary-stats>span{display:flex;flex-direction:column;gap:7px;padding-right:8px;border-right:1px solid #e4e7eb}.summary-stats>span+span{padding-left:12px}.summary-stats>span:last-child{border:0}.summary-stats small{color:var(--muted);font-size:10px}.summary-stats b{color:#1f2731;font-size:15px}.summary-stats span:first-child b{color:var(--green)}.warning-text{color:var(--amber)!important}.danger-text{color:var(--red)!important}.success-text{color:var(--green)!important}.chain-total{min-height:100px;display:flex;flex-direction:column;justify-content:center;padding:12px 22px}.chain-total span{color:var(--muted);font-size:10px}.chain-total strong{margin:4px 0;color:var(--green);font-size:18px}.chain-total hr{width:100%;margin:7px 0;border:0;border-top:1px solid var(--line)}.chain-total b{margin-top:3px;color:var(--amber)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:16px;margin-top:12px;align-items:start}.main-column,.side-column{display:flex;flex-direction:column;gap:12px;min-width:0}.panel{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden}.panel-heading{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 15px;border-bottom:1px solid var(--line)}.panel-heading h2{margin:0;color:#161b21;font-size:18px;letter-spacing:-.3px}.panel-heading h2>span{min-width:23px;height:23px;display:inline-grid;place-items:center;margin-left:7px;color:#fff;background:var(--red);border-radius:50%;font-size:11px;vertical-align:2px}.panel-heading button,.panel-link{display:flex;align-items:center;gap:3px;padding:0;color:#0869e8;background:transparent;border:0;font-size:12px;font-weight:650}.panel-link{min-height:42px;padding:0 16px}.table-scroll{overflow-x:auto;scrollbar-width:thin}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th{height:36px;padding:0 12px;color:#596372;background:#fbfbfa;border-bottom:1px solid var(--line);font-size:10px;font-weight:600;text-align:left}td{height:37px;padding:0 12px;color:#4b5563;border-bottom:1px solid #e8eaed}tbody tr:hover{background:snow}tbody tr:last-child td{border-bottom:0}td strong{color:#323b47;font-weight:600}.risk-panel table{min-width:730px}.transaction-panel table{min-width:940px}.status-label,.type-label,.complete{display:inline-flex;align-items:center;gap:7px}.status-label i,.complete i{width:8px;height:8px;border-radius:50%}.status-label.danger,.status-label.warning{color:var(--amber)}.status-label.danger i,.status-label.warning i{background:var(--amber)}.status-label.good,.complete{color:var(--green)}.status-label.good i,.complete i{background:var(--green)}.outline-button{min-height:29px;padding:0 10px;color:#53606f;background:#fff;border:1px solid #d2d8df;border-radius:5px;font-size:10px}.voucher{color:#006be8}.type-label.receive{color:var(--green)}.type-label.issue{color:var(--red)}.icon-button{width:29px;height:29px;display:grid;place-items:center;padding:0;color:#647083;background:transparent;border:0;border-radius:5px}.icon-button:hover{color:var(--red);background:#fff0f2}.table-totals{min-height:38px;display:flex;align-items:center;gap:28px;padding:0 15px;color:var(--muted);border-top:1px solid var(--line);font-size:10px}.table-totals strong{color:var(--green)}.table-totals b{color:var(--red)}.store-status-list button{width:100%;min-height:36px;display:grid;grid-template-columns:1.1fr .75fr 1fr 18px;align-items:center;gap:8px;padding:0 14px;color:#566171;background:#fff;border:0;border-bottom:1px solid #e7e9ec;font-size:11px;text-align:left}.store-status-list button:last-child{border-bottom:0}.store-status-list button:hover{background:snow}.store-status-list span{display:flex;align-items:center;gap:8px}.store-status-list span:nth-child(3){justify-content:space-between}.store-status-list svg{color:#84909d}.staff-head{min-height:32px;display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:center;padding:0 14px 0 51px;color:var(--muted);border-bottom:1px solid var(--line);font-size:9px}.staff-row{width:100%;min-height:39px;display:grid;grid-template-columns:31px .7fr 1.05fr 1.15fr;align-items:center;gap:7px;padding:0 14px;color:#4e5866;background:#fff;border:0;border-bottom:1px solid #e8eaed;font-size:10px;text-align:left}.staff-row:hover{background:snow}.avatar{width:27px;height:27px;display:grid;place-items:center;color:#31506c;background:#eaf0f5;border:1px solid #d8e0e7;border-radius:50%;font-size:10px;font-style:normal}.staff-row strong{color:#3c4551}.staff-row em{display:flex;align-items:center;gap:6px;font-style:normal}.staff-row em i{width:7px;height:7px;border-radius:50%}.staff-row em.working i{background:var(--green)}.staff-row em.pending{color:#895c05}.staff-row em.pending i{background:var(--amber)}.schedule-panel{padding-bottom:8px}.schedule-axis{display:grid;grid-template-columns:repeat(5,1fr);padding:8px 15px 4px 105px;color:#76808d;font-size:9px;text-align:center}.schedule-row{min-height:30px;display:grid;grid-template-columns:98px 1fr 1fr;align-items:center;gap:4px;padding:0 14px;font-size:9px}.schedule-row>span{display:flex;align-items:center;gap:6px;color:#515c69}.schedule-row b{height:23px;display:grid;place-items:center;color:#1465d8;background:#edf5ff;border:1px solid #2e86ff;border-radius:4px;font-weight:500}.schedule-row b.late{color:#1b784b;background:#edfbf3;border-color:#56b984}.schedule-row b.missing{color:var(--red);background:#fff0f2;border-color:#f45d6e}.schedule-legend{display:flex;gap:17px;padding:10px 15px 3px;color:#606b78;border-top:1px solid #eceef0;font-size:9px}.schedule-legend span{display:flex;align-items:center;gap:6px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:24px;background:#0c11168f}.transaction-modal{width:min(560px,100%);max-height:min(92vh,92dvh);overflow-y:auto;padding:22px;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:10px;box-shadow:0 24px 70px #0000003d;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-heading small{color:var(--muted);font-size:11px}.modal-heading h2{margin:4px 0 0;font-size:23px}.modal-heading>button{width:38px;height:38px;display:grid;place-items:center;padding:0;color:#4d5662;background:#f2f3f4;border:0;border-radius:50%}.type-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:18px 0 12px;padding:4px;background:#f2f3f4;border-radius:8px}.type-tabs button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;color:#5d6672;background:transparent;border:0;border-radius:6px;font-weight:650}.type-tabs button.active{color:#fff;background:var(--red)}.voucher-line{min-height:43px;display:flex;align-items:center;gap:7px;padding:0 12px;color:var(--muted);background:#f7f7f6;border:1px solid var(--line);border-radius:7px;font-size:11px}.voucher-line strong{flex:1;color:var(--red);text-align:right}.transaction-modal label{display:block;margin-top:13px;color:#4a5563;font-size:11px;font-weight:650}.transaction-modal label>b{color:var(--red)}.transaction-modal input,.transaction-modal select{width:100%;min-height:44px;margin-top:6px;padding:0 11px;color:var(--ink);background:#fff;border:1px solid #cfd5dc;border-radius:7px;outline:none;font-size:13px}.transaction-modal input[readonly]{color:#707987;background:#f4f5f5}.form-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px}.account-intro{display:flex;gap:10px;margin:16px 0 4px;padding:12px;color:#5b2830;background:#fff5f5;border:1px solid #f4d1d4;border-radius:8px;font-size:12px;line-height:1.5}.account-intro svg{flex:0 0 auto;color:var(--red)}.store-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 4px;padding:12px;border:1px solid #dce1e6;border-radius:8px}.store-permissions legend{padding:0 6px;color:#4a5563;font-size:11px;font-weight:700}.transaction-modal .store-permissions label{display:flex;align-items:center;gap:8px;margin:0;padding:8px 9px;background:#f7f8f9;border-radius:6px;cursor:pointer}.transaction-modal .store-permissions input{width:16px;min-height:16px;margin:0;accent-color:var(--red)}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin-top:8px}.active-toggle{display:flex!important;align-items:center;gap:9px;margin-top:16px!important;padding:11px;background:#f7f8f8;border-radius:7px;cursor:pointer}.transaction-modal .active-toggle input{width:17px;min-height:17px;margin:0;accent-color:var(--red)}.active-toggle span{font-size:11px}.locked-field{position:relative;display:block}.locked-field svg{position:absolute;right:11px;top:21px;color:#757f8b}.calculation{margin-top:15px;padding:12px;background:#f8f8f7;border:1px solid var(--line);border-radius:7px}.calculation>div,.calculation p{display:flex;align-items:center;justify-content:space-between;gap:12px}.calculation>div span{display:flex;align-items:center;gap:4px;color:var(--green);font-size:10px}.calculation p{min-height:34px;margin:0;color:var(--muted);border-top:1px dashed #d8dcdf;font-size:11px}.calculation p b{color:var(--ink)}.form-alert{display:flex;gap:9px;margin-top:13px;padding:11px;color:#9f2432;background:#fff1f2;border:1px solid #ffc5cc;border-radius:7px}.form-alert span,.form-alert small{display:block}.form-alert strong{font-size:11px}.form-alert small{margin-top:2px;font-size:10px}.form-alert.warning{color:#92540e;background:#fffbeb;border-color:#fcd34d}.profile-settings-modal{width:min(540px,100%)}.profile-summary-card{min-height:84px;display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;margin:16px 0 4px;padding:13px;background:#f7f7f7;border:1px solid #e1e4e6;border-radius:9px}.profile-access-box{display:grid;gap:5px;margin-top:14px;padding:13px;background:#f7f7f7;border:1px solid #e1e4e6;border-radius:8px}.profile-access-box strong{font-size:10px}.profile-access-box span{color:var(--muted);font-size:10px;line-height:1.5}.profile-security-note{display:flex;align-items:flex-start;gap:10px;margin:16px 0 4px;padding:12px;color:#6f3038;background:#fff4f5;border:1px solid #f0d1d5;border-radius:8px;font-size:10px;line-height:1.55}.profile-security-note svg{flex:0 0 auto;color:var(--red)}.preference-list{display:grid;margin-top:16px;border:1px solid #e1e4e6;border-radius:9px}.preference-list label{min-height:70px;display:grid!important;grid-template-columns:38px 1fr 24px;align-items:center;gap:11px;margin:0!important;padding:11px 13px;border-bottom:1px solid #eceeef;cursor:pointer}.preference-list label:last-child{border-bottom:0}.preference-list label>i{width:36px;height:36px;display:grid;place-items:center;color:var(--red);background:#fff0f2;border-radius:8px}.preference-list label>span{display:grid;gap:4px}.preference-list label strong{font-size:11px}.preference-list label small{color:var(--muted);font-size:9px;line-height:1.4}.transaction-modal .preference-list input{width:18px;min-height:18px;margin:0;accent-color:var(--red)}.security-status-list{display:grid;gap:9px;margin-top:17px}.security-status-list article{min-height:66px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;padding:11px 13px;background:#f7f8f8;border:1px solid #e3e6e8;border-radius:8px}.security-status-list article>svg{color:var(--green)}.security-status-list article>span{display:grid;gap:4px}.security-status-list article strong{font-size:11px}.security-status-list article small{color:var(--muted);font-size:9px}.security-status-list article b{color:var(--green);font-size:9px}.profile-close-action{width:100%;justify-content:center;margin-top:7px}.save-button{width:100%;margin-top:16px}.support-center-modal{width:min(760px,100%);padding:0;overflow:hidden}.support-heading{padding:20px 22px 15px;border-bottom:1px solid #eceeef}.support-intro{min-height:68px;display:flex;align-items:center;gap:11px;margin:16px 22px 0;padding:12px 14px;color:#7d2a34;background:linear-gradient(135deg,#fff2f3,snow);border:1px solid #f1cdd1;border-radius:9px}.support-intro>svg{flex:0 0 auto;color:var(--red)}.support-intro span{display:grid;gap:4px}.support-intro strong{font-size:11px}.support-intro small{color:#765d61;font-size:9px;line-height:1.45}.support-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:14px 22px 0;padding:4px;background:#f2f3f4;border-radius:8px}.support-tabs button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;color:#65707d;background:transparent;border:0;border-radius:6px;font-size:10px;font-weight:750}.support-tabs button b{min-width:18px;min-height:18px;display:grid;place-items:center;padding:0 5px;color:#68727e;background:#fff;border-radius:20px;font-size:8px}.support-tabs button.active{color:#fff;background:var(--red);box-shadow:0 5px 14px #c5102233}.support-tabs button.active b{color:var(--red)}.support-error{margin:13px 22px 0}.support-form{max-height:calc(min(92vh,92dvh) - 232px);overflow-y:auto;padding:3px 22px calc(22px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-form textarea{width:100%;min-height:118px;margin-top:6px;padding:11px;resize:vertical;color:var(--ink);background:#fff;border:1px solid #cfd5dc;border-radius:7px;outline:none;font:inherit;font-size:12px;line-height:1.5}.support-form input:focus,.support-form select:focus,.support-form textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #c5102214}.support-counted-field{position:relative}.support-counted-field>span{position:absolute;top:0;right:0;color:#89919a;font-size:8px;font-weight:600}.support-counted-field>span.valid{color:var(--green)}.support-upload{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:15px;padding:13px;background:#f8f8f7;border:1px dashed #cbd1d7;border-radius:8px}.support-upload>div:first-child{display:grid;gap:4px}.support-upload strong{color:#46515d;font-size:10px}.support-upload strong b{color:var(--red)}.support-upload small{color:var(--muted);font-size:8px}.transaction-modal .support-upload-button{min-height:36px;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0 11px;color:var(--red);background:#fff;border:1px solid #e7b8bd;border-radius:6px;cursor:pointer}.support-upload-button input{position:absolute;width:1px!important;min-height:1px!important;opacity:0;pointer-events:none}.support-file-list{grid-column:1 / -1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}.support-file-list>span{min-width:0;min-height:38px;display:grid;grid-template-columns:17px 1fr 24px;align-items:center;gap:6px;padding:6px 7px;color:#52606d;background:#fff;border:1px solid #e0e4e7;border-radius:6px}.support-file-list em{overflow:hidden;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.support-file-list button{width:24px;height:24px;display:grid;place-items:center;padding:0;color:#727c87;background:#f3f4f5;border:0;border-radius:50%}.support-account-note{display:flex;align-items:center;gap:7px;margin-top:12px;color:#78828e;font-size:8px;line-height:1.4}.support-form .save-button:disabled{color:#959ca4;background:#e7e8e9;cursor:not-allowed;box-shadow:none}.support-history{min-height:320px;max-height:calc(min(92vh,92dvh) - 232px);overflow-y:auto;padding:14px 22px calc(22px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}.support-history-empty{min-height:290px;display:grid;place-items:center;align-content:center;gap:8px;color:#8a929b;text-align:center}.support-history-empty strong{color:#39434e;font-size:13px}.support-history-empty span{max-width:360px;font-size:9px;line-height:1.5}.support-history-empty button{margin-top:6px;padding:9px 12px;color:var(--red);background:#fff3f4;border:1px solid #efc3c8;border-radius:6px;font-size:9px;font-weight:750}.support-ticket{position:relative;display:grid;grid-template-columns:36px 1fr auto;align-items:start;gap:11px;padding:14px 0;border-bottom:1px solid #eceeef}.support-ticket:last-child{border-bottom:0}.support-ticket-marker{width:34px;height:34px;display:grid;place-items:center;color:var(--red);background:#fff0f2;border-radius:50%}.support-ticket>div:nth-child(2){min-width:0}.support-ticket header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#707a86;font-size:8px}.support-ticket header b{color:var(--red)}.support-ticket header em{font-style:normal;white-space:nowrap}.support-ticket h3{margin:6px 0 4px;overflow:hidden;color:#2d3742;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.support-ticket p{display:-webkit-box;margin:0;overflow:hidden;color:#68727d;font-size:9px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.support-ticket footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;color:#8a929b;font-size:8px}.support-ticket footer span{display:flex;align-items:center;gap:4px}.support-status{display:flex;align-items:center;gap:5px;padding:6px 8px;color:#a56610;background:#fff7e9;border-radius:20px;font-size:8px;white-space:nowrap}.support-status i{width:6px;height:6px;background:#efa62f;border-radius:50%}.support-status.done{color:#176c47;background:#edf9f3}.support-status.done i{background:var(--green)}.toast{position:fixed;right:22px;bottom:22px;z-index:110;min-width:320px;max-width:min(440px,calc(100vw - 28px));display:flex;align-items:center;gap:9px;padding:12px 13px;color:#135537;background:#edfaf3;border:1px solid #94d3b1;border-radius:8px;box-shadow:0 14px 34px #0f462c29;font-size:12px}.toast span{flex:1}.toast button{width:30px;height:30px;display:grid;place-items:center;padding:0;color:#506258;background:transparent;border:0}.module-page{display:grid;gap:18px}.module-heading{min-height:82px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.module-heading small{color:var(--red);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.module-heading h1{margin:5px 0 4px;font-size:clamp(24px,2.2vw,34px);letter-spacing:-.035em}.module-heading p{max-width:720px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}.secondary-action{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;color:#3e4855;background:#fff;border:1px solid #cfd5db;border-radius:7px;font-weight:700}.secondary-action:hover{color:var(--red);border-color:#e4a8ad;background:snow}.module-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.row-actions,.card-actions,.shift-actions{display:flex;align-items:center;gap:7px}.row-actions button:not(.outline-button),.card-actions button,.shift-actions button{padding:5px 7px;color:#4b5968;background:transparent;border:0;font-size:10px;font-weight:700}.row-actions button.delete,.card-actions button.delete,.shift-actions button.delete{color:var(--red)}.module-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.module-kpis.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{min-height:112px;display:flex;flex-direction:column;padding:17px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 4px 14px #232c3709}.metric-card>span{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.metric-card>strong{margin:10px 0 5px;color:#222b35;font-size:27px;line-height:1}.metric-card>small{margin-top:auto;color:#7b8490;font-size:10px}.metric-card.danger{border-top:3px solid var(--red)}.metric-card.danger>strong{color:var(--red)}.metric-card.good{border-top:3px solid var(--green)}.metric-card.good>strong{color:#18724a}.module-panel{overflow:hidden}.module-panel-heading{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border-bottom:1px solid #eceeef}.module-panel-heading h2{margin:0;font-size:16px}.module-panel-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.live-badge{display:flex;align-items:center;gap:6px;padding:6px 9px;color:#176c47;background:#ecf9f2;border-radius:20px;font-size:10px;font-weight:700}.live-badge i{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 3px #2aa26821}.employee-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#eceeef}.employee-directory article{min-height:102px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:15px 18px 10px;background:#fff}.avatar.large{width:40px;height:40px;font-size:12px}.employee-directory article>div{display:grid;gap:4px}.employee-directory article>div span{color:var(--muted);font-size:10px}.employee-directory article>em{display:flex;align-items:center;gap:6px;color:#46515d;font-size:10px;font-style:normal}.employee-directory article>em i{width:7px;height:7px;border-radius:50%}.employee-directory article>em.working i{background:var(--green)}.employee-directory article>em.pending i{background:var(--amber)}.employee-directory .card-actions{grid-column:2 / -1;justify-content:flex-end;padding-top:7px;border-top:1px solid #eef0f1}.shift-board{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:9px}.shift-board-head,.shift-board article{display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr 105px;align-items:center;gap:14px;padding:0 18px}.shift-board-head{min-height:42px;color:#7a8490;background:#f7f8f8;border-bottom:1px solid var(--line);font-size:9px;font-weight:700;text-transform:uppercase}.shift-board article{min-height:70px;border-bottom:1px solid #eceeef;font-size:11px}.shift-board article:last-child{border-bottom:0}.shift-board article>strong{display:flex;align-items:center;gap:8px}.shift-chip{display:inline-flex;align-items:center;min-height:31px;padding:0 10px;color:#176c47;background:#edf9f3;border:1px solid #b6dec9;border-radius:5px}.shift-chip.active{color:#1761b5;background:#eef6ff;border-color:#b9d4f4}.shift-chip.missing{color:#a42635;background:#fff1f2;border-color:#f4bec5}.shift-actions{justify-content:flex-end}.shift-actions>b{margin-right:auto;font-size:10px}.view-shift-button{min-height:32px;padding:0 10px;color:var(--red);background:#fff4f5;border:1px solid #f2c7cc;border-radius:6px;font-size:10px;font-weight:750}.view-shift-button:hover{color:#fff;background:var(--red);border-color:var(--red)}.shift-employees-modal{width:min(620px,100%)}.shift-capacity{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0 14px}.shift-capacity>span{min-height:70px;display:grid;align-content:center;gap:5px;padding:12px;background:#f7f8f8;border:1px solid #eceeef;border-radius:8px}.shift-capacity small{color:var(--muted);font-size:9px}.shift-capacity strong{font-size:14px}.shift-employee-list{display:grid;gap:8px}.shift-employee-list article{min-height:68px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:11px 13px;background:#fff;border:1px solid #e5e8eb;border-radius:8px}.shift-employee-list article>span{display:grid;gap:4px}.shift-employee-list article small{color:var(--muted);font-size:9px}.shift-employee-list article em{display:flex;align-items:center;gap:6px;color:#46515d;font-size:9px;font-style:normal}.shift-employee-list article em i{width:7px;height:7px;border-radius:50%}.shift-employee-list article em.working i{background:var(--green)}.shift-employee-list article em.pending i{background:var(--amber)}.shift-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:8px;padding:24px;color:#7d8792;background:#f8f9fa;border:1px dashed #ccd2d8;border-radius:9px;text-align:center}.shift-empty strong{color:#424b56;font-size:13px}.shift-empty span{max-width:360px;font-size:10px;line-height:1.5}.shift-explorer{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:10px}.shift-explorer-toolbar{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px;background:#f7f8f8;border-bottom:1px solid var(--line)}.shift-explorer-toolbar>div{display:flex;align-items:center;gap:10px}.shift-explorer-toolbar>div>svg{color:var(--red)}.shift-explorer-toolbar span{display:grid;gap:3px}.shift-explorer-toolbar strong{font-size:12px}.shift-explorer-toolbar small{color:var(--muted);font-size:9px}.shift-explorer-toolbar>button{min-height:32px;padding:0 11px;color:#4e5966;background:#fff;border:1px solid #d6dbe0;border-radius:6px;font-size:9px;font-weight:750}.shift-group{border-bottom:1px solid #e8ebed}.shift-group:last-child{border-bottom:0}.shift-group-toggle{width:100%;min-height:62px;display:grid;grid-template-columns:20px 24px 1fr auto;align-items:center;gap:11px;padding:0 18px;color:var(--ink);background:#fff;border:0;text-align:left}.shift-group-toggle:hover{background:snow}.shift-group-toggle>svg:first-child{color:#7a8490}.shift-group-toggle>svg:nth-child(2){color:var(--red)}.shift-group-toggle>span{display:grid;gap:4px}.shift-group-toggle strong{font-size:12px}.shift-group-toggle small{color:var(--muted);font-size:9px}.shift-group-toggle em{padding:6px 9px;color:#18724a;background:#edf9f3;border-radius:20px;font-size:9px;font-style:normal;font-weight:750}.shift-group-toggle em.has-warning{color:#b42336;background:#fff0f2}.shift-group-children{overflow-x:auto;border-top:1px solid #edf0f2;box-shadow:inset 4px 0 #f0c3c8}.shift-child-head,.shift-group-children article{min-width:740px;display:grid;grid-template-columns:1fr 1.2fr 1.25fr 110px;align-items:center;gap:14px;padding:0 18px 0 49px}.shift-child-head{min-height:36px;color:#818a95;background:#fafafa;border-bottom:1px solid #edf0f2;font-size:8px;font-weight:750;text-transform:uppercase}.shift-group-children article{min-height:65px;background:#fff;border-bottom:1px solid #eef0f1;font-size:10px}.shift-group-children article:last-child{border-bottom:0}.report-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:14px}.report-bars{display:grid;gap:16px;padding:22px 18px}.report-bars>div{display:grid;grid-template-columns:100px 1fr 60px;align-items:center;gap:12px;font-size:10px}.report-bars>div>i{height:9px;overflow:hidden;background:#f0f1f2;border-radius:10px}.report-bars>div>i b{display:block;height:100%;background:linear-gradient(90deg,#c51022,#ee5260);border-radius:inherit}.report-bars>div>strong{text-align:right}.report-summary{padding:18px}.report-summary h2{margin:0 0 12px;font-size:16px}.report-summary p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:13px 0;color:var(--muted);border-bottom:1px solid #eceeef;font-size:10px}.report-summary p strong{color:var(--ink)}.report-summary button{width:100%;min-height:38px;display:flex;align-items:center;justify-content:space-between;margin-top:14px;color:var(--red);background:transparent;border:0;font-weight:700}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.supplier-card{padding:18px}.supplier-card>div{display:flex;align-items:center;gap:12px}.supplier-card>div>i{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:var(--red);border-radius:8px;font-size:12px;font-style:normal;font-weight:800}.supplier-card>div>span{display:grid;gap:4px}.supplier-card>div small{color:var(--muted);font-size:10px}.supplier-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px 16px;margin:18px 0;padding:13px;background:#f7f8f8;border-radius:7px}.supplier-card dt{color:var(--muted);font-size:9px}.supplier-card dd{margin:0;font-size:11px;font-weight:700}.supplier-card footer{display:flex;align-items:center;justify-content:space-between}.supplier-card footer>span{display:flex;align-items:center;gap:6px;color:#46515d;font-size:10px}.supplier-card footer>span i{width:7px;height:7px;border-radius:50%}.supplier-active i{background:var(--green)}.supplier-review i{background:var(--amber)}.supplier-card footer button{color:var(--red);background:transparent;border:0;font-size:10px;font-weight:750}.supplier-card .card-actions{justify-content:flex-end}.chain-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chain-card{padding:18px}.chain-card header{display:flex;align-items:center;gap:10px}.chain-card header>span{display:grid;gap:4px}.chain-card header small{color:var(--muted);font-size:9px}.chain-card header>b{margin-left:auto;padding:6px 8px;color:#176c47;background:#ecf9f2;border-radius:20px;font-size:9px}.chain-card dl{display:grid;grid-template-columns:85px 1fr;gap:9px 12px;margin:18px 0;padding:14px;background:#f7f8f8;border-radius:7px}.chain-card dt{color:var(--muted);font-size:9px}.chain-card dd{margin:0;font-size:10px;font-weight:650}.chain-card footer{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #eceeef}.chain-card footer button{padding:7px 9px;color:#4b5968;background:transparent;border:1px solid #d6dbe0;border-radius:5px;font-size:10px;font-weight:700}.chain-card footer button.delete{color:var(--red);border-color:#f0c2c7}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.settings-card{min-height:195px;display:flex;flex-direction:column;padding:18px}.settings-icon{width:42px;height:42px;display:grid;place-items:center;color:var(--red);background:#fff0f1;border-radius:8px}.settings-card h2{margin:16px 0 6px;font-size:15px}.settings-card p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.settings-card>button,.settings-card>span{min-height:36px;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:0;color:var(--red);background:transparent;border:0;font-size:10px;font-weight:750}.settings-card>span{color:var(--muted)}.settings-card>span.settings-ok{justify-content:flex-start;gap:6px;color:#176c47}.role-matrix{overflow:hidden}.role-matrix>div:not(.module-panel-heading){min-height:60px;display:grid;grid-template-columns:180px 1fr 90px;align-items:center;gap:16px;padding:0 18px;border-bottom:1px solid #eceeef;font-size:10px}.role-matrix>div:last-child{border-bottom:0}.role-matrix>div span{color:var(--muted)}.role-matrix>div b{color:#176c47;text-align:right}@media(max-width:1220px){.store-summary{grid-template-columns:repeat(4,minmax(165px,1fr));overflow-x:auto}.chain-total{display:none}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr)}.date-button{min-width:auto}.date-button span{display:none}}@media(max-width:1020px){.dashboard-grid{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.schedule-panel{grid-column:1 / -1}.module-kpis,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chain-grid{grid-template-columns:1fr}}@media(max-width:840px){.erp-app{padding-left:76px}.sidebar{width:76px}.brand-lockup{padding:16px 8px 22px}.brand-lockup img{width:58px;height:58px}.brand-lockup strong,.sidebar nav span,.collapse-button span{display:none}.sidebar nav button,.collapse-button{justify-content:center;padding:0}.topbar{left:76px;padding:0 18px}.profile{min-width:auto}.profile>span,.profile>svg{display:none}}@media(max-width:700px){.auth-shell{grid-template-columns:1fr;padding:18px 0}.auth-brand-panel{min-height:210px;padding:24px}.auth-brand-panel img{width:72px;height:72px}.auth-brand-panel h1{font-size:32px}.auth-brand-panel p{font-size:13px}.login-card{margin:-24px auto 0;padding:26px 20px;border-radius:12px;z-index:2}.erp-app,.erp-app.sidebar-collapsed{padding:58px 0 76px}.sidebar{top:auto;right:0;bottom:0;width:auto;height:64px;flex-direction:row;background:#fff;border-top:1px solid var(--line);border-right:0;box-shadow:0 -8px 24px #151f2b14}.sidebar.open{top:58px;right:auto;bottom:0;z-index:80;width:min(300px,88vw);height:auto;flex-direction:column;color:#f7f8fa;background:var(--sidebar);border-top:0;border-right:1px solid #282f37;box-shadow:18px 0 50px #0a0f1447}.sidebar.collapsed{width:auto}.sidebar.collapsed nav button{justify-content:center;padding:0}.sidebar.collapsed.open{width:min(300px,88vw)}.sidebar.collapsed.open .brand-lockup{display:flex}.sidebar.collapsed.open .brand-lockup strong,.sidebar.collapsed.open nav span,.sidebar.collapsed.open .collapse-button span{display:block}.sidebar-scrim{position:fixed;top:58px;right:0;bottom:0;left:0;z-index:70;display:block;padding:0;background:#0c11167a;border:0}.brand-lockup,.collapse-button{display:none}.sidebar nav{width:100%;display:flex;flex-direction:row;gap:0;padding:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.sidebar nav button{min-width:78px;min-height:64px;flex:1 0 78px;flex-direction:column;justify-content:center;gap:4px;color:#687383;border-radius:0;font-size:10px}.sidebar nav button.active{color:var(--red);background:#fff4f5;box-shadow:inset 0 3px 0 var(--red)}.sidebar nav span{display:block}.sidebar.open .brand-lockup{display:flex;flex-direction:row;align-items:center;gap:12px;padding:18px}.sidebar.open .brand-lockup img{width:52px;height:52px}.sidebar.open .brand-lockup strong{display:block;color:#fff;font-size:17px}.sidebar.open nav{width:100%;flex:1;flex-direction:column;gap:4px;padding:0 10px;overflow-x:hidden;overflow-y:auto}.sidebar.open nav button{width:100%;min-width:0;min-height:48px;flex:0 0 48px;flex-direction:row;justify-content:flex-start;gap:12px;padding:0 14px;color:#e7eaee;border-radius:7px;font-size:12px}.sidebar.open nav button.active{color:#fff;background:var(--red);box-shadow:none}.sidebar.open .collapse-button{min-height:44px;display:flex;justify-content:flex-start;margin:10px;padding:0 14px;color:#c9ced5}.sidebar.open .collapse-button span{display:block}.topbar,.erp-app.sidebar-collapsed .topbar{left:0;height:58px;padding:0 12px}.mobile-menu{display:grid}.breadcrumb>svg:not(.mobile-menu svg),.breadcrumb>span,.breadcrumb b{display:none}.topbar-actions{gap:4px}.date-button{display:none}.store-button{min-width:132px;max-width:145px;height:38px;padding:0 9px}.notification-panel{position:fixed;top:64px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 140px);overflow-y:auto}.profile{min-width:38px;width:38px;height:38px;display:flex;padding:0}.profile>i{width:36px;height:36px}.profile>span,.profile>svg{display:none}.profile-scrim{top:58px;right:0;bottom:64px;left:0;background:#0c11162e;z-index:95}.profile-menu{position:fixed;top:58px;right:0;bottom:64px;left:0;width:auto;max-height:none;z-index:100;padding:14px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));background:#f4f4f3;border:0;border-radius:0;box-shadow:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.profile-menu-heading{min-height:94px}.profile-menu-section{margin-top:12px}.profile-menu-section>button{min-height:64px}.profile-menu footer{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.workspace{padding:18px 14px}.page-heading{align-items:flex-end;margin-bottom:16px}.page-heading h1{font-size:22px}.page-heading p{font-size:11px}.primary-button{min-height:40px;padding:0 12px;font-size:11px}.store-summary{grid-template-columns:repeat(4,210px);margin:0 -14px;padding:0 14px;background:transparent;border:0;border-radius:0;gap:10px;scrollbar-width:none}.store-summary::-webkit-scrollbar{display:none}.store-summary>button{min-height:102px;border:1px solid var(--line);border-radius:8px}.dashboard-grid{margin-top:12px}.side-column{display:flex}.panel-heading h2{font-size:16px}.store-status-list button{grid-template-columns:1fr .8fr .9fr 17px}.modal-backdrop{align-items:end;padding:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}.transaction-modal{max-height:94dvh;padding:18px 16px calc(22px + env(safe-area-inset-bottom,0px));border-radius:14px 14px 0 0}.profile-settings-modal{max-height:90dvh}.support-center-modal{width:100%;max-height:94dvh;border-radius:14px 14px 0 0}.support-heading{padding:17px 16px 13px}.support-intro,.support-tabs,.support-error{margin-right:16px;margin-left:16px}.support-form,.support-history{max-height:calc(94dvh - 218px);padding-right:16px;padding-left:16px;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}.toast{left:14px;right:14px;bottom:76px;min-width:0}.module-heading{min-height:0;align-items:flex-start}.module-heading h1{font-size:24px}.module-heading .primary-button,.module-heading .secondary-action{width:auto;flex:0 0 auto;font-size:0}.module-heading .primary-button svg,.module-heading .secondary-action svg{margin:0}.module-kpis,.module-kpis.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-card{min-height:98px;padding:13px}.metric-card>strong{font-size:22px}.employee-directory,.supplier-grid,.settings-grid,.report-grid{grid-template-columns:1fr}.module-actions{flex-wrap:wrap}.shift-board{overflow-x:auto}.shift-board-head,.shift-board article{min-width:850px}.shift-explorer-toolbar{align-items:flex-start}.shift-explorer-toolbar>button{white-space:nowrap}.shift-group-toggle{grid-template-columns:18px 22px 1fr;padding:0 13px}.shift-group-toggle em{grid-column:3;justify-self:start;margin:-5px 0 9px}.shift-child-head,.shift-group-children article{padding-left:38px}.role-matrix{overflow-x:auto}.role-matrix>div:not(.module-panel-heading){min-width:650px}}@media(max-width:480px){.page-heading{align-items:flex-start}.primary-button{width:42px;flex:0 0 42px;padding:0;font-size:0}.store-status-list button{grid-template-columns:1fr .8fr 17px}.store-status-list span:nth-child(3){display:none}.staff-head{display:none}.staff-row{grid-template-columns:31px .7fr 1.25fr}.staff-row em{grid-column:2 / -1;padding-bottom:6px}.schedule-axis{padding-left:90px}.schedule-row{grid-template-columns:82px 1fr 1fr;padding:0 8px}.schedule-row>span{overflow:hidden;white-space:nowrap}.schedule-legend{gap:10px;overflow-x:auto;white-space:nowrap}.form-grid{grid-template-columns:1fr;gap:0}.module-heading{gap:10px}.module-heading p{font-size:10px}.module-kpis,.module-kpis.compact{grid-template-columns:1fr 1fr}.shift-capacity{grid-template-columns:1fr}.shift-employee-list article{grid-template-columns:42px 1fr}.shift-employee-list article em{grid-column:2}.report-bars>div{grid-template-columns:78px 1fr 45px}.store-permissions,.editor-grid{grid-template-columns:1fr}.support-form-grid{grid-template-columns:1fr;gap:0}.support-upload{grid-template-columns:1fr}.support-upload>div:first-child{min-width:0}.transaction-modal .support-upload-button{width:100%}.support-file-list{grid-template-columns:1fr}.support-ticket{grid-template-columns:34px 1fr}.support-status{grid-column:2;justify-self:start}}@media print{.sidebar,.topbar,.primary-button,.panel-link,.icon-button{display:none!important}.erp-app{padding:0}.workspace{max-width:none;padding:0}}
