@import "https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";.shell{background:var(--ims-bg);min-height:100vh;color:var(--ims-text);font-family:var(--ims-font)}.shell-sidebar{--ims-sidebar-rail:76px;background:var(--ims-sidebar-bg);color:var(--ims-sidebar-text);z-index:30;width:var(--ims-sidebar-rail);border-right:1px solid var(--ims-sidebar-border);flex-direction:column;height:100vh;padding:.85rem .65rem;transition:width .22s;display:flex;position:fixed;top:0;left:0;overflow:hidden auto}.shell.nav-open .shell-sidebar{width:var(--ims-sidebar-width)}.nav-backdrop{z-index:25;background:#11122073;border:0;display:none;position:fixed;inset:0}.shell-main{background:radial-gradient(880px 380px at 100% -8%, #8b6cff1a, transparent 55%), radial-gradient(640px 320px at -8% 12%, #4c8dff14, transparent 50%), var(--ims-bg);flex-direction:column;min-width:0;min-height:100vh;margin-left:76px;transition:margin-left .22s;display:flex}@media (width>=981px){.shell.nav-open .shell-main{margin-left:var(--ims-sidebar-width)}}@media (width<=980px){.shell.nav-open .shell-main{margin-left:76px}.shell.nav-open .shell-sidebar{box-shadow:12px 0 32px #0a0c1847}.nav-backdrop.show{display:block;left:76px}.shell-user-meta{display:none}}.shell-side-head{height:var(--ims-header-height);min-height:var(--ims-header-height);color:#fff;box-sizing:border-box;border-bottom:1px solid #ffffff14;align-items:center;gap:.75rem;margin:-.85rem -.65rem .85rem;padding:0 .85rem;display:flex}.shell-menu-btn{color:#fff;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.shell-menu-btn:hover{background:var(--ims-sidebar-hover)}.shell-menu-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:18px;height:18px;display:block}.shell-brand-copy strong{letter-spacing:.02em;white-space:nowrap;font-size:1.05rem;display:block}.shell-brand-copy small{color:var(--ims-sidebar-text);white-space:nowrap;font-size:.72rem}.shell-nav{flex-direction:column;flex:1;gap:.2rem;display:flex}.shell-nav-section{text-transform:uppercase;letter-spacing:.08em;color:#6f7288;margin:1rem .75rem .3rem;font-size:.68rem;font-weight:700}.shell-nav-section:first-child{margin-top:.15rem}.shell-nav-subsection{color:#85879a;margin-top:.2rem}.shell-nav-item.nested{margin-left:.35rem}.shell-nav-item{color:var(--ims-sidebar-text);border-radius:10px;align-items:center;gap:.7rem;padding:.52rem .75rem;font-size:.88rem;font-weight:500;text-decoration:none;display:flex}.shell-nav-item:hover{background:var(--ims-sidebar-hover);color:#fff;text-decoration:none}.shell-nav-item.active{color:#fff;box-shadow:inset 3px 0 0 var(--ims-purple);background:#8b6cff2e}.shell-nav-item.disabled{opacity:.55;cursor:default}.shell-nav-icon{text-align:center;opacity:.9;width:1.2rem}.shell-chevron{opacity:.55;margin-left:auto}.shell-logout{width:100%;color:var(--ims-sidebar-text);cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:.7rem;margin-top:.75rem;padding:.65rem .8rem;font-weight:600;display:flex}.shell-logout:hover{background:var(--ims-sidebar-hover);color:#fff}.shell-top-start{align-items:center;gap:.55rem;min-width:0;display:flex}.page-back{border:1px solid var(--ims-border);background:var(--ims-surface);color:var(--ims-text);cursor:pointer;box-shadow:var(--ims-shadow-sm);border-radius:999px;align-items:center;gap:.2rem;margin:0 0 .85rem;padding:.35rem .7rem .35rem .4rem;font-size:.82rem;font-weight:600;display:inline-flex}.page-back svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;display:block}.page-back:hover{border-color:var(--ims-purple);color:var(--ims-purple)}.nav-glyph{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px;display:block}.shell-nav-item.active .nav-glyph{opacity:1}.shell-topbar{height:var(--ims-header-height);min-height:var(--ims-header-height);z-index:5;background:var(--ims-surface);border-bottom:1px solid var(--ims-border);box-sizing:border-box;justify-content:space-between;align-items:center;gap:1rem;padding:0 1.35rem;display:flex;position:sticky;top:0}.shell-title{letter-spacing:-.02em;color:var(--ims-text);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.05rem;font-weight:700;overflow:hidden}.shell-top-actions{align-items:center;gap:.65rem;display:flex}.icon-btn{border:1px solid var(--ims-border);background:var(--ims-surface);cursor:pointer;border-radius:12px;width:40px;height:40px;position:relative}.icon-btn .dot{background:var(--ims-pink);border-radius:50%;width:7px;height:7px;position:absolute;top:9px;right:10px}.shell-user{background:var(--ims-surface);border:1px solid var(--ims-border);border-radius:999px;align-items:center;gap:.65rem;padding:.25rem .55rem .25rem .25rem;display:flex}.avatar{background:linear-gradient(135deg, var(--ims-purple), var(--ims-blue));color:#fff;border-radius:50%;place-items:center;width:36px;height:36px;font-size:.75rem;font-weight:700;display:grid}.shell-user-meta{flex-direction:column;padding-right:.35rem;line-height:1.15;display:flex}.shell-user-meta strong{font-size:.82rem}.shell-user-meta small{color:var(--ims-text-secondary);font-size:.7rem}.shell-content{max-width:1440px;padding:1.15rem 1.5rem 2rem}.shell:not(.nav-open) .shell-brand-copy,.shell:not(.nav-open) .shell-nav-item span,.shell:not(.nav-open) .shell-logout span{display:none}.shell:not(.nav-open) .shell-nav-section{letter-spacing:0;color:#0000;background:#ffffff1a;height:1px;margin:.45rem;padding:0;font-size:0;overflow:hidden}.shell:not(.nav-open) .shell-side-head{justify-content:center;padding-left:0;padding-right:0}.shell:not(.nav-open) .shell-nav-item,.shell:not(.nav-open) .shell-logout{justify-content:center;gap:0;padding-left:0;padding-right:0}.login-page{background:var(--ims-bg);min-height:100vh;font-family:var(--ims-font);grid-template-columns:1.1fr .9fr;display:grid}.login-hero{color:#fff;background:radial-gradient(circle at 20% 20%,#8b6cff38,#0000 45%),radial-gradient(circle at 80% 70%,#2cd9c52e,#0000 40%),linear-gradient(160deg,#1e1e2d 0%,#2a2b3d 100%);flex-direction:column;justify-content:center;padding:3rem;display:flex}.login-hero-badge{letter-spacing:.04em;background:#ffffff1f;border-radius:999px;width:fit-content;margin-bottom:1rem;padding:.4rem .75rem;font-weight:700}.login-hero h1{max-width:12ch;margin:0;font-size:clamp(1.8rem,3vw,2.6rem)}.login-hero p{color:#c5c8da;max-width:34ch;margin-top:.85rem}.login-card{gap:.5rem;width:min(420px,100% - 2rem);margin:auto;padding:1.6rem;display:grid}.login-card h2{margin:0;font-size:1.3rem}.login-sub{color:var(--ims-text-secondary);margin:0 0 .7rem}.login-card label{color:var(--ims-text-secondary);font-size:.82rem;font-weight:600}.login-error{border-radius:var(--ims-radius-sm);background:var(--ims-red-soft);color:var(--ims-red);margin-top:.35rem;padding:.7rem}.login-error p{margin:0}.login-card .btn-primary{margin-top:.55rem}@media (width<=860px){.login-page{grid-template-columns:1fr}.login-hero{min-height:220px;padding:1.5rem}}.dash{flex-direction:column;gap:1rem;display:flex}.dash-header .page-subtitle{margin-bottom:0}.dash-kpi-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.dash-kpi{align-items:center;gap:.9rem;padding:1.1rem 1.15rem;display:flex}.dash-kpi-icon{border-radius:14px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:1.1rem;display:grid}.tone-purple{background:var(--ims-purple-soft);color:var(--ims-purple)}.tone-blue{background:var(--ims-blue-soft);color:var(--ims-blue)}.tone-cyan{background:var(--ims-cyan-soft);color:var(--ims-cyan)}.tone-green{background:var(--ims-green-soft);color:var(--ims-green)}.dash-kpi-label{color:var(--ims-text-secondary);margin:0;font-size:.82rem;font-weight:500}.dash-kpi h3{margin:.15rem 0 .25rem;font-size:1.35rem;font-weight:800}.dash-trend{font-size:.75rem;font-style:normal;font-weight:600}.dash-trend.up{color:var(--ims-green)}.dash-trend.down-blue{color:var(--ims-blue)}.dash-trend.down-red{color:var(--ims-red)}.dash-mid-row{grid-template-columns:1.7fr 1fr;gap:1rem;display:grid}.dash-panel{padding:1.1rem 1.2rem 1.2rem}.dash-panel-head{justify-content:space-between;align-items:center;margin-bottom:.85rem;display:flex}.dash-panel-head h2{margin:0;font-size:1.05rem;font-weight:700}.dash-select{border:1px solid var(--ims-border);background:var(--ims-surface-muted);color:var(--ims-text-secondary);cursor:pointer;border-radius:999px;padding:.35rem .75rem;font-size:.78rem;font-weight:600}.dash-legend{color:var(--ims-text-secondary);flex-wrap:wrap;gap:.9rem;margin-bottom:.9rem;font-size:.78rem;display:flex}.dash-legend span,.donut-legend li{align-items:center;gap:.35rem;display:inline-flex}.dash-legend i,.donut-legend i{border-radius:50%;width:10px;height:10px;display:inline-block}.lg-gray{background:#d7dcec}.lg-pink{background:var(--ims-pink)}.lg-purple{background:var(--ims-purple)}.lg-blue{background:var(--ims-blue)}.lg-cyan{background:var(--ims-cyan)}.lg-green{background:var(--ims-green)}.bar-chart{grid-template-columns:repeat(6,1fr);align-items:end;gap:.75rem;min-height:220px;padding-top:.5rem;display:grid}.bar-group{flex-direction:column;align-items:center;gap:.45rem;display:flex}.bar-group span{color:var(--ims-text-secondary);font-size:.78rem;font-weight:600}.bar-target{background:var(--ims-gray-bar);border-radius:10px;justify-content:center;align-items:flex-end;gap:4px;width:100%;max-width:46px;height:180px;padding:0 6px;display:flex}.bar{border-radius:8px 8px 4px 4px;width:12px}.bar.sales{background:linear-gradient(180deg, #ff8aa3, var(--ims-pink))}.bar.purchases{background:linear-gradient(180deg, #b49bff, var(--ims-purple))}.donut-wrap{grid-template-columns:1fr;justify-items:center;gap:1rem;padding:.5rem 0 .25rem;display:grid}.donut{background:conic-gradient(var(--ims-pink) 0 30%, var(--ims-purple) 30% 55%, var(--ims-blue) 55% 75%, var(--ims-cyan) 75% 90%, var(--ims-green) 90% 100%);border-radius:50%;width:170px;height:170px;-webkit-mask:radial-gradient(circle,#0000 48%,#000 49%);mask:radial-gradient(circle,#0000 48%,#000 49%)}.donut-legend{width:100%;color:var(--ims-text-secondary);gap:.45rem;margin:0;padding:0;font-size:.82rem;list-style:none;display:grid}.stock-history{gap:.85rem;margin:0;padding:0;list-style:none;display:grid}.stock-history li{border-bottom:1px solid var(--ims-border);justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.75rem;display:flex}.stock-history li:last-child{border-bottom:0;padding-bottom:0}.stock-history strong{font-size:1.15rem;font-weight:800;display:block}.stock-history span{color:var(--ims-text-secondary);font-size:.8rem}.line-chart{width:100%;height:170px;display:block}.line-x{color:var(--ims-text-muted);text-align:center;grid-template-columns:repeat(15,1fr);gap:.15rem;margin-top:.45rem;font-size:.65rem;display:grid}@media (width<=1200px){.dash-kpi-row,.dash-mid-row{grid-template-columns:1fr 1fr}}@media (width<=760px){.dash-kpi-row,.dash-mid-row{grid-template-columns:1fr}}.foundation-page{flex-direction:column;gap:1rem;animation:.28s page-in;display:flex}@keyframes page-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.foundation-page h1{letter-spacing:-.02em;color:var(--ims-text);margin:0;font-size:1.25rem;font-weight:700}.subtitle{color:var(--ims-text-secondary);margin:.2rem 0 0;font-size:.9rem;line-height:1.45}.status-panel{background:var(--ims-surface);border:1px solid var(--ims-border);border-radius:var(--ims-radius);box-shadow:var(--ims-shadow);padding:.9rem 1rem}.status-panel td[colspan]{text-align:center;color:var(--ims-text-secondary);padding:2rem 1rem;font-weight:500}.foundation-page a{font-weight:600}.status-panel h2{letter-spacing:-.01em;color:var(--ims-text);margin:0 0 .65rem;font-size:.95rem;font-weight:700}.status-panel ul{color:var(--ims-text-secondary);margin:.5rem 0 0;padding-left:1.1rem}.status-panel input,.status-panel select,.status-panel textarea{border-radius:var(--ims-radius-sm);border:1px solid var(--ims-border);background:var(--ims-surface);width:100%;color:var(--ims-text);margin:.25rem 0 .55rem;padding:.65rem .8rem}.status-panel textarea{resize:vertical;min-height:4.5rem}.status-panel button,.foundation-page button{border:1px solid var(--ims-border);border-radius:var(--ims-radius-sm);background:var(--ims-surface);color:var(--ims-text);cursor:pointer;box-shadow:none;padding:.55rem .85rem;font-size:.86rem;font-weight:600;line-height:1.2}.foundation-page .page-header-row>button,.foundation-page .form-actions>button:not(.btn-ghost),.foundation-page form.status-panel>button[type=submit],.foundation-page .filter-bar>button:not(.btn-ghost),.foundation-page .dialog .form-actions>button[type=submit],.foundation-page button.btn-primary{background:linear-gradient(135deg, var(--ims-purple), var(--ims-blue));color:#fff;border:0;box-shadow:0 8px 18px #4c8dff2e}.status-panel button:disabled,.foundation-page button:disabled{opacity:.6;cursor:not-allowed}.status-panel button:focus-visible,.foundation-page button:focus-visible,.status-panel input:focus-visible,.status-panel select:focus-visible,.status-panel textarea:focus-visible{outline:2px solid var(--ims-blue);outline-offset:2px}.status-panel table,.data-table{border-collapse:separate;border-spacing:0;width:100%}.status-panel th,.status-panel td,.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--ims-border);color:var(--ims-text);vertical-align:middle;padding:.8rem .85rem;font-size:.9rem}.status-panel tbody tr:hover{background:var(--ims-surface-muted)}.table-wrap{overflow-x:auto}.table-actions{flex-wrap:wrap;gap:.35rem;display:flex}.required{color:var(--ims-red)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.status-panel th,.data-table th{color:var(--ims-text-secondary);letter-spacing:.04em;text-transform:uppercase;background:var(--ims-surface-muted);white-space:nowrap;font-size:.72rem;font-weight:700}.status-panel tbody tr:last-child td,.data-table tbody tr:last-child td{border-bottom:0}.foundation-page table button,.foundation-page .table-actions button,.foundation-page .pager button{background:var(--ims-surface);color:var(--ims-text);border:1px solid var(--ims-border);box-shadow:none;padding:.4rem .7rem}.foundation-page button.btn-view,.foundation-page table button.btn-view,.foundation-page .table-actions button.btn-view{background:var(--ims-blue-soft);color:#2458c5;box-shadow:none;border:1px solid #c9dbff}.foundation-page button.btn-edit,.foundation-page table button.btn-edit,.foundation-page .table-actions button.btn-edit,.foundation-page .form-actions>button.btn-edit{background:var(--ims-purple-soft);color:#5b3fd4;box-shadow:none;border:1px solid #ddd4ff}.foundation-page button.btn-success,.foundation-page table button.btn-success,.foundation-page .table-actions button.btn-success,.foundation-page .form-actions>button.btn-success,.foundation-page .dialog .form-actions>button.btn-success{background:var(--ims-green);color:#fff;box-shadow:none;border:0}.foundation-page button.btn-danger,.foundation-page table button.btn-danger,.foundation-page .table-actions button.btn-danger,.foundation-page .form-actions>button.btn-danger,.foundation-page .dialog .form-actions>button.btn-danger{background:var(--ims-red);color:#fff;box-shadow:none;border:0}.ok{color:var(--ims-green)}.error{color:var(--ims-red)}.page-header-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.foundation-page label{color:var(--ims-text-secondary);margin:0 0 .28rem;font-size:.78rem;font-weight:600;display:block}.filter-bar{flex-wrap:wrap;align-items:flex-end;gap:.65rem;display:flex}.filter-bar input,.filter-bar select{flex:160px;width:auto;min-width:140px}.filter-bar button{flex:none}.filter-bar button,.page-header-row>button,.form-actions button{min-height:40px}.filter-bar input,.filter-bar select{margin:0}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem 1rem;margin-bottom:1rem;display:grid}.detail-split{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.foundation-page .check-row label{min-height:40px;color:var(--ims-text);align-items:center;gap:.5rem;margin:0;display:flex}.foundation-page .check-row input{width:auto;margin:0}.role-pills{flex-wrap:wrap;gap:.4rem;margin:.7rem 0 0;display:flex}.role-pills span{color:var(--ims-text);background:#8b6cff1f;border-radius:999px;padding:.25rem .6rem;font-size:.78rem;font-weight:600}.form-grid input,.form-grid select,.form-grid textarea,.filter-bar input,.filter-bar select{min-height:40px;margin:0}.link-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;display:grid}.link-section{flex-direction:column;gap:.7rem;display:flex}.link-section h2{letter-spacing:.06em;text-transform:uppercase;color:var(--ims-text-secondary);margin:0;font-size:.78rem;font-weight:700}.link-card{background:var(--ims-surface);border:1px solid var(--ims-border);border-radius:var(--ims-radius);box-shadow:var(--ims-shadow-sm);color:var(--ims-text);border-left:3px solid var(--ims-purple);flex-direction:column;gap:.25rem;padding:.95rem 1rem .95rem .95rem;text-decoration:none;display:flex}.link-card:hover{border-color:var(--ims-purple);box-shadow:var(--ims-shadow);text-decoration:none}.link-card strong{font-size:.95rem}.link-card span{color:var(--ims-text-secondary);font-size:.78rem}.form-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.page-header-row>.form-actions{justify-content:flex-end;margin-left:auto}.foundation-page .page-header-row>a,.foundation-page .page-header-row .form-actions>a,.foundation-page .subtitle a{border:1px solid var(--ims-border);background:var(--ims-surface);min-height:36px;color:var(--ims-text);white-space:nowrap;box-shadow:var(--ims-shadow-sm);border-radius:999px;align-items:center;padding:.35rem .8rem;font-size:.82rem;font-weight:600;line-height:1.2;text-decoration:none;display:inline-flex}.foundation-page .page-header-row>a:hover,.foundation-page .page-header-row .form-actions>a:hover,.foundation-page .subtitle a:hover{border-color:var(--ims-purple);color:var(--ims-purple);text-decoration:none}.foundation-page .subtitle a{vertical-align:middle;min-height:28px;margin:.15rem .35rem .15rem 0;padding:.2rem .65rem;font-size:.75rem}.pager{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.8rem;display:flex}.pager-summary,.pager-size{color:var(--ims-text-secondary);font-size:.85rem}.pager-size{align-items:center;gap:.4rem;display:flex}.pager-size select{width:auto;margin:0}.attribute-editor-head,.attribute-editor-row{grid-template-columns:1fr 1fr auto;align-items:center;gap:.65rem;margin-bottom:.5rem;display:grid}.attribute-editor-head{color:var(--ims-text-secondary);font-size:.78rem;font-weight:600}.dialog-backdrop{z-index:40;background:#1b255959;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.dialog{background:var(--ims-surface);border-radius:var(--ims-radius);width:min(460px,100%);box-shadow:var(--ims-shadow);padding:1.2rem}.dialog h2{margin:0 0 .75rem;font-size:1.05rem}.dialog-body p{color:var(--ims-text);margin:0 0 .5rem}.toast-host{display:none}@media (width<=720px){.form-grid,.attribute-editor-head,.attribute-editor-row,.page-header-row{grid-template-columns:1fr;display:grid}.page-header-row{align-items:stretch}}.detail-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.45rem;display:grid}.detail-grid p{background:var(--ims-surface-muted);border:1px solid var(--ims-border);color:var(--ims-text);font-family:var(--ims-font-data);letter-spacing:-.01em;border-radius:10px;margin:0;padding:.5rem .7rem;font-size:.9rem;font-weight:600;line-height:1.3}.detail-grid p strong{color:var(--ims-text-secondary);font-family:var(--ims-font);letter-spacing:.05em;text-transform:uppercase;margin:0 0 .15rem;font-size:.65rem;font-weight:700;line-height:1.2;display:block}.detail-grid br{display:none}.detail-grid .status-pill{font-family:var(--ims-font);letter-spacing:0;margin-top:.1rem}.summary-cards{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem;margin-bottom:.75rem;display:grid}.summary-card{background:var(--ims-surface);border:1px solid var(--ims-border);border-radius:10px;padding:.65rem .75rem}.summary-card strong{color:var(--ims-text);font-family:var(--ims-font-data);letter-spacing:-.02em;margin-top:.2rem;font-size:1.15rem;font-weight:700;line-height:1.15;display:block}.summary-card span{color:var(--ims-text-secondary);font-family:var(--ims-font);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:700}.qty-in{color:#1f7a4d;font-weight:600}.qty-out{color:#b42318;font-weight:600}.inline-form{gap:.6rem;max-width:420px;margin-top:1rem;display:grid}.foundation-page .checkbox-label,.checkbox-label{color:var(--ims-text);align-items:center;gap:.45rem;margin:0;font-size:.9rem;display:flex}.hint{color:var(--ims-text-secondary);margin:.2rem 0 .75rem;font-size:.85rem}.banner-ok{border-radius:var(--ims-radius-sm);background:var(--ims-green-soft);color:var(--ims-green);margin:0;padding:.75rem .9rem;font-weight:600}.dialog-wide{width:min(760px,100%);max-height:min(88vh,920px);overflow:auto}.dialog label{color:var(--ims-text-secondary);margin-top:.65rem;font-size:.8rem;font-weight:600;display:block}.dialog input,.dialog select,.dialog textarea{border-radius:var(--ims-radius-sm);border:1px solid var(--ims-border);background:var(--ims-surface);width:100%;color:var(--ims-text);margin-top:.3rem;padding:.65rem .8rem}.dialog .form-grid{margin-top:.4rem}.dialog .form-grid label{margin-top:0}.store-assign h3{margin:.4rem 0 .2rem}.store-pick-list{flex-direction:column;gap:.5rem;max-height:220px;display:flex;overflow:auto}.store-pick{border:1px solid var(--ims-border);border-radius:var(--ims-radius-sm);background:var(--ims-surface-muted);justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .75rem;display:flex}.store-pick.selected{border-color:var(--ims-purple);background:var(--ims-purple-soft)}.foundation-page .store-pick label,.store-pick label{color:var(--ims-text);align-items:center;gap:.65rem;margin:0;font-size:.9rem;display:flex}.store-pick input{width:auto;margin:0}.store-pick span{flex-direction:column;display:flex}.store-pick small{color:var(--ims-text-secondary)}.foundation-page button.btn-ghost.is-default{background:var(--ims-green-soft);color:var(--ims-green);border-color:#0000}.role-workspace{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:1rem;display:grid}.role-list{flex-direction:column;gap:.55rem;display:flex}.foundation-page button.role-card,.foundation-page button.perm-toggle{text-align:left;background:var(--ims-surface);width:100%;color:var(--ims-text);border:1px solid var(--ims-border);box-shadow:none;align-items:flex-start;gap:.55rem;display:flex}.foundation-page button.role-card{flex-direction:column;gap:.15rem}.foundation-page button.role-card small,.foundation-page button.role-card span,.foundation-page button.perm-toggle small{color:var(--ims-text-secondary);font-weight:500}.foundation-page button.role-card.active,.foundation-page button.perm-toggle.on{background:var(--ims-purple-soft);border-color:var(--ims-purple);color:var(--ims-text)}.role-permissions .page-header-row input{width:min(260px,100%);margin:0}.perm-modules{flex-direction:column;gap:1rem;display:flex}.perm-module header{justify-content:space-between;align-items:baseline;margin-bottom:.55rem;display:flex}.perm-module h3{margin:0;font-size:.92rem}.perm-module header span{color:var(--ims-text-secondary);font-size:.8rem}.perm-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem;display:grid}.foundation-page button.perm-toggle span:last-child{flex-direction:column;gap:.1rem;display:flex}.perm-mark{border:1px solid var(--ims-border);border-radius:4px;flex:none;place-items:center;width:1.1rem;height:1.1rem;margin-top:.1rem;font-size:.75rem;display:inline-grid}.foundation-page button.perm-toggle.on .perm-mark{background:var(--ims-purple);border-color:var(--ims-purple);color:#fff}@media (width<=900px){.role-workspace{grid-template-columns:1fr}}.status-panel .btn-ghost,.foundation-page .btn-ghost{background:var(--ims-surface);color:var(--ims-text);border:1px solid var(--ims-border)}.vendor-editor{flex-direction:column;gap:.75rem;display:flex}.vendor-editor-card{margin:0}@media (width<=720px){.filter-bar{align-items:stretch}.filter-bar button{width:100%}}.po-totals{color:var(--ims-text);justify-items:end;gap:.25rem;margin-top:1rem;display:grid}.po-items h2{margin:0}.barcode-preview-wrap{justify-items:center;gap:.35rem;margin-bottom:.5rem;display:grid}.barcode-preview{border:1px dashed var(--ims-border);border-radius:var(--ims-radius-sm);color:#000;width:min(320px,100%);box-shadow:var(--ims-shadow);background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;padding:.6rem .9rem;display:flex}.barcode-preview-name{text-align:center;max-height:2.4em;font-size:.85rem;font-weight:700;line-height:1.2;overflow:hidden}.barcode-preview-bars{width:100%;height:56px}.barcode-preview-bars svg{width:100%;height:100%;display:block}.barcode-preview-value{letter-spacing:.12em;font-family:Courier New,monospace;font-size:.85rem}.barcode-preview-code{color:#444;font-size:.72rem}.barcode-options{flex-wrap:wrap;gap:1.25rem;margin:.75rem 0 .25rem;display:flex}.barcode-options input{width:auto;margin:0}.barcode-panel{flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;display:flex}.barcode-panel .barcode-preview{width:260px;box-shadow:none}.barcode-panel-actions{flex-direction:column;align-items:flex-start;gap:.5rem;display:flex}.input-with-action{align-items:stretch;gap:.5rem;display:flex}.input-with-action input{flex:1;min-width:0}.input-with-action button{white-space:nowrap}.table-select{width:2.25rem}.table-select input{width:auto;margin:0}@media print{.shell-sidebar,.shell-topbar,.shell-logout,.no-print,.toast-host,.toast-stack{display:none!important}.shell,.shell-main{background:#fff;display:block}.foundation-page,.status-panel{box-shadow:none;border:0}}:root{--ims-font:"Plus Jakarta Sans", system-ui, sans-serif;--ims-font-data:"Manrope", "Plus Jakarta Sans", system-ui, sans-serif;--ims-sidebar-bg:#1e1e2d;--ims-sidebar-text:#a2a3b7;--ims-sidebar-text-active:#fff;--ims-sidebar-hover:#ffffff0f;--ims-sidebar-active:#ffffff1a;--ims-sidebar-border:#ffffff0f;--ims-sidebar-width:260px;--ims-bg:#f4f7fe;--ims-surface:#fff;--ims-surface-muted:#f8f9fd;--ims-border:#e8eaf2;--ims-shadow:0 4px 20px #1c25420f;--ims-shadow-sm:0 2px 8px #1c25420a;--ims-text:#1b2559;--ims-text-secondary:#8f9bba;--ims-text-muted:#a3aed0;--ims-purple:#8b6cff;--ims-purple-soft:#f0ebff;--ims-pink:#ff6b8a;--ims-pink-soft:#ffe8ee;--ims-blue:#4c8dff;--ims-blue-soft:#e8f0ff;--ims-cyan:#2cd9c5;--ims-cyan-soft:#e6fbf8;--ims-green:#05cd99;--ims-green-soft:#e6faf3;--ims-red:#ee5d50;--ims-red-soft:#fdeceb;--ims-orange:#ffb547;--ims-gray-bar:#edf0f7;--ims-radius:16px;--ims-radius-sm:10px;--ims-radius-pill:999px;--ims-header-height:64px}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--ims-bg);color:var(--ims-text);font-family:var(--ims-font);-webkit-font-smoothing:antialiased}a{color:var(--ims-blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font-family:inherit}.page-card{background:var(--ims-surface);border-radius:var(--ims-radius);box-shadow:var(--ims-shadow);border:1px solid var(--ims-border)}.page-title{color:var(--ims-text);margin:0;font-size:1.35rem;font-weight:700}.page-subtitle{color:var(--ims-text-secondary);margin:.35rem 0 1.25rem;font-size:.92rem}.status-pill{border-radius:var(--ims-radius-pill);align-items:center;padding:.28rem .7rem;font-size:.75rem;font-weight:600;display:inline-flex}.status-pill.balanced{background:var(--ims-green-soft);color:var(--ims-green)}.status-pill.process{background:var(--ims-blue-soft);color:var(--ims-blue)}.status-pill.delayed{background:var(--ims-red-soft);color:var(--ims-red)}.btn-primary{border-radius:var(--ims-radius-sm);background:linear-gradient(135deg, var(--ims-purple), var(--ims-blue));color:#fff;cursor:pointer;border:0;padding:.7rem 1rem;font-weight:600}.btn-primary:disabled{opacity:.65;cursor:wait}.btn-ghost{border:1px solid var(--ims-border);background:var(--ims-surface);color:var(--ims-text);border-radius:var(--ims-radius-sm);cursor:pointer;padding:.55rem .85rem}.field-input{border-radius:var(--ims-radius-sm);border:1px solid var(--ims-border);background:var(--ims-surface);width:100%;color:var(--ims-text);padding:.7rem .85rem}.field-input:focus{border-color:var(--ims-purple);outline:2px solid #8b6cff40}.error-text{color:var(--ims-red)}.ok-text{color:var(--ims-green)}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;color:var(--ims-text-secondary);border-bottom:1px solid var(--ims-border);padding:.75rem .5rem;font-size:.78rem;font-weight:600}.data-table td{border-bottom:1px solid var(--ims-border);color:var(--ims-text);padding:.85rem .5rem;font-size:.9rem}.data-table tr:last-child td{border-bottom:0}.toast-stack{z-index:80;pointer-events:none;flex-direction:column;gap:.65rem;width:min(380px,100vw - 2rem);display:flex;position:fixed;top:1rem;right:1rem}.toast-card{pointer-events:auto;border:1px solid var(--ims-border);background:#fff;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:flex-start;gap:.75rem;padding:.85rem .85rem .85rem .9rem;animation:.28s toast-in;display:grid;box-shadow:0 16px 40px #1b255924}.toast-card strong{color:var(--ims-text);font-size:.86rem;display:block}.toast-card p{color:var(--ims-text-secondary);margin:.15rem 0 0;font-size:.84rem;line-height:1.4}.toast-icon{border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.toast-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.toast-ok .toast-icon{background:var(--ims-green-soft);color:var(--ims-green)}.toast-error .toast-icon{background:var(--ims-red-soft);color:var(--ims-red)}.toast-info .toast-icon{background:var(--ims-blue-soft);color:var(--ims-blue)}.toast-close{color:var(--ims-text-muted);cursor:pointer;background:0 0;border:0;padding:0 .15rem;font-size:1.15rem;line-height:1}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
