:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#26303b;background:#f5f7f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:3px solid #e7a8ae;outline-offset:3px}#loading-bar{position:fixed;top:0;left:0;height:3px;width:0;background:#cf293c;z-index:99;transition:width .35s ease,opacity .3s ease}#loading-bar.busy{width:76%}#loading-bar.done{width:100%;opacity:0}#notice{position:fixed;right:24px;bottom:24px;z-index:90;max-width:min(440px,calc(100vw - 32px));padding:15px 20px;border-radius:14px;background:#27333e;color:#fff;box-shadow:0 16px 45px #1b25353b;opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s ease}#notice.show{opacity:1;transform:translateY(0)}#notice.error{background:#a7192b}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:#9f2534}.eyebrow.light{color:#ffbdc5}.muted{color:#78838d}.small{font-size:12px}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{padding:clamp(28px,5vw,76px);background:radial-gradient(circle at 85% 80%,#ce3f4e 0,transparent 35%),linear-gradient(145deg,#941527,#b01e31 65%,#a2162b);color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"+";position:absolute;font-weight:800;font-size:450px;line-height:1;right:-35px;bottom:-210px;color:#ffffff0e;transform:rotate(-16deg);pointer-events:none}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:16px;letter-spacing:-.02em}.brand small{display:block;font-size:9px;font-weight:750;letter-spacing:.13em;color:#9ca6af;margin-top:2px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;background:#ad1d2e;border-radius:12px;color:#fff;box-shadow:0 8px 16px #87112728}.brand-mark .icon{stroke:none;width:21px;height:21px}.brand-large{font-size:20px}.brand-large .brand-mark{background:#ffffff24;box-shadow:none}.auth-copy{position:relative;z-index:1;max-width:590px}.auth-copy h1{font-size:clamp(40px,4.7vw,72px);line-height:1.09;letter-spacing:-.055em;margin:16px 0 18px}.auth-copy p{font-size:17px;line-height:1.7;max-width:450px;color:#ffe7ea}.auth-story-foot{display:flex;gap:10px;align-items:center;font-size:13px;color:#ffe5e9;position:relative;z-index:1}.auth-panel{display:grid;place-items:center;padding:30px}.auth-card{width:min(100%,410px);animation:rise .55s both}.auth-card h2{font-size:36px;letter-spacing:-.04em;margin:10px 0 3px}.auth-card>p{margin:0 0 34px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:12px;font-weight:800;color:#3a4650}.field input,.field select,.search-row input{width:100%;min-height:44px;border:1px solid #dce2e6;border-radius:10px;padding:10px 13px;background:#fff;color:#283540;transition:border-color .2s,box-shadow .2s}.field input:focus,.field select:focus,.search-row input:focus{outline:none;border-color:#b52236;box-shadow:0 0 0 4px #bb26331a}.field input::placeholder{color:#aab2b9}.auth-card form{display:grid;gap:20px}.auth-card .primary{margin-top:9px}.primary,.secondary,.icon-button{border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 17px;font-weight:750;transition:transform .2s,box-shadow .2s,background .2s}.primary{background:#ad1d30;color:#fff;box-shadow:0 7px 16px #ad1d3026}.primary:hover{background:#95182a;transform:translateY(-2px);box-shadow:0 12px 22px #ad1d3030}.secondary,.icon-button{background:#f2f4f6;color:#384450}.secondary:hover,.icon-button:hover{background:#e6eaed;transform:translateY(-2px)}.full{width:100%}.secure-note{display:flex;gap:7px;align-items:center;color:#95a0a9!important;font-size:12px;margin-top:25px!important}.secure-note .icon{width:15px;height:15px}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid #e8ecef;position:sticky;top:0;height:100vh;padding:27px 15px;display:flex;flex-direction:column}.sidebar .brand{padding:0 12px}.sidebar-label{color:#acb5bd;font-size:10px;font-weight:800;letter-spacing:.14em;margin:43px 14px 14px}.sidebar nav{display:grid;gap:5px}.nav-link,.logout{width:100%;border:0;background:transparent;text-align:left;color:#65717c;display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:10px;font-weight:650;transition:color .2s,background .2s,transform .2s}.nav-link:hover,.logout:hover{background:#f6f7f9;color:#ad1d30;transform:translateX(2px)}.nav-link.active{background:#fdf0f2;color:#a7192b}.nav-link.active:before{content:"";height:20px;width:3px;position:absolute;left:15px;background:#a7192b;border-radius:4px}.sidebar-bottom{margin-top:auto;border-top:1px solid #eff1f3;padding-top:16px}.operator{display:flex;align-items:center;gap:10px;padding:5px 8px 14px;font-size:12px}.operator strong,.operator small{display:block}.operator small{color:#919da6;margin-top:3px}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#f9e5e9;color:#a7192b}.avatar .icon{width:18px}.workspace{min-width:0}.topbar{height:112px;background:#fff;border-bottom:1px solid #e8ecef;display:flex;align-items:center;justify-content:space-between;padding:22px clamp(22px,4vw,55px)}.topbar h1{font-size:25px;letter-spacing:-.04em;margin:8px 0 0}.topbar .eyebrow{color:#9da9b2}.icon-button{width:42px;padding:0}.content{max-width:1450px;margin:auto;padding:30px clamp(20px,4vw,55px) 70px}.page{animation:rise .35s both}.page-intro{margin:2px 0 28px}.page-intro h2{font-size:28px;letter-spacing:-.04em;margin:8px 0 3px}.page-intro p{margin:0}.hero{border-radius:19px;background:linear-gradient(115deg,#961629,#c12d40);padding:34px 40px;color:#fff;min-height:205px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.hero h2{font-size:clamp(25px,3vw,38px);letter-spacing:-.04em;margin:9px 0 10px}.hero p{margin:0;color:#ffdee2;max-width:530px;line-height:1.6}.hero-icon{width:180px;height:180px;fill:none;stroke:#ffffff24;stroke-width:1;transform:rotate(12deg);position:absolute;right:65px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.stat{padding:23px;background:#fff;border:1px solid #e9edf0;border-radius:15px;box-shadow:0 5px 20px #26303b08;animation:rise .5s both}.stat:nth-child(2){animation-delay:.05s}.stat:nth-child(3){animation-delay:.1s}.stat:nth-child(4){animation-delay:.15s}.stat .stat-icon{width:39px;height:39px;display:grid;place-items:center;background:#fceef0;color:#ae2637;border-radius:10px;margin-bottom:16px}.stat span{font-size:12px;color:#82909b;font-weight:700}.stat strong{display:block;font-size:28px;letter-spacing:-.04em;margin-top:4px}.panel{background:#fff;border:1px solid #e9edf0;border-radius:16px;padding:24px;margin:20px 0;box-shadow:0 5px 20px #26303b07}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-heading h2,.panel-heading h3{margin:5px 0;font-size:19px;letter-spacing:-.03em}.panel-heading p{margin:3px 0 0;font-size:12px}.heading-icon{width:36px;height:36px;border-radius:10px;background:#fceef0;color:#a7192b;display:grid;place-items:center}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.form-actions{grid-column:1/-1;display:flex;align-items:center;gap:15px}.form-block{border-top:1px solid #eff1f3;padding-top:22px;margin-top:22px}.form-block h4{margin:0 0 18px;font-size:14px}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;color:#9ca6ae;letter-spacing:.1em;text-transform:uppercase;padding:12px 13px;border-bottom:1px solid #e9edf0}td{padding:14px 13px;border-bottom:1px solid #f0f2f4;font-size:13px}tr:last-child td{border-bottom:0}tbody tr{transition:background .15s}tbody tr:hover{background:#fafbfc}.badge{display:inline-flex;align-items:center;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:750;background:#f2f4f6;color:#58646e}.badge.green{background:#e9f7ef;color:#207b46}.badge.red{background:#fdeef0;color:#ad1d30}.badge.amber{background:#fff3dc;color:#9b6515}.table-action{border:0;border-radius:8px;padding:7px 10px;background:#f2f4f6;color:#354450;font-size:11px;font-weight:750;margin-right:5px;white-space:nowrap}.table-action:hover{background:#e7ebee}.empty{color:#a0aab2;text-align:center;padding:25px}.search-row{display:flex;gap:10px;max-width:570px;margin-bottom:20px}.compact{max-width:340px;margin-bottom:16px}@keyframes rise{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}}@media(max-width:700px){.auth-screen{grid-template-columns:1fr}.auth-story{min-height:270px;padding:28px}.auth-copy h1{font-size:37px}.auth-copy p,.auth-story-foot{display:none}.auth-panel{padding:35px 25px}.app-shell{display:block}.sidebar{position:relative;height:auto;padding:13px 15px}.sidebar .brand{padding:0 3px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;margin-top:15px;padding-bottom:3px;gap:5px}.nav-link{width:auto;flex:none;white-space:nowrap;padding:10px}.nav-link .icon{width:17px;height:17px}.nav-link.active:before{display:none}.topbar{height:78px;padding:14px 20px}.topbar h1{font-size:21px}.content{padding:20px 15px 45px}.grid{grid-template-columns:1fr}.stat-grid{gap:9px}.stat{padding:16px}.stat strong{font-size:23px}.hero{padding:24px;min-height:175px}.hero-icon{right:-45px}.panel{padding:17px}.form-actions{align-items:flex-start;flex-direction:column}.search-row{flex-direction:column}}@media(max-width:390px){.stat-grid{grid-template-columns:1fr 1fr}.stat{padding:12px}.stat-icon{margin-bottom:8px!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Product editor and media */
.field textarea{width:100%;border:1px solid #dce2e6;border-radius:10px;padding:11px 13px;background:#fff;color:#283540;resize:vertical;min-height:86px;transition:border-color .2s,box-shadow .2s}.field textarea:focus{outline:none;border-color:#b52236;box-shadow:0 0 0 4px #bb26331a}.field input[type=file]{padding:8px;background:#fafbfc}.field input[type=file]::file-selector-button{border:0;border-radius:7px;padding:7px 11px;background:#f3e5e8;color:#9d2032;font-weight:750;margin-right:10px;cursor:pointer}.field.wide{grid-column:span 2}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 8px}.product-thumb{width:50px;height:50px;object-fit:cover;border-radius:10px;background:#f4f0f1;border:1px solid #ede6e8}.product-thumb.placeholder{display:grid;place-items:center;color:#bc8791}.product-thumb.placeholder .icon{width:22px;height:22px}.image-preview{display:flex;align-items:center;gap:12px;grid-column:1/-1;font-size:12px;color:#87939d}.image-preview img{width:90px;height:90px;object-fit:cover;border-radius:12px;border:1px solid #e5e9ed}.image-preview .placeholder{width:90px;height:90px}.product-actions{display:flex;gap:6px}.product-actions .table-action{display:inline-flex;align-items:center;gap:5px}.product-actions .icon{width:14px;height:14px}.table-action.danger{background:#fcecef;color:#a7192b}.table-action.danger:hover{background:#f8dfe4}@media(max-width:700px){.field.wide{grid-column:1}.catalog-toolbar{align-items:flex-start;flex-direction:column}.product-actions{flex-wrap:wrap}}
/* Locations and multi-product orders */
.order-lines-block{grid-column:1/-1;border-top:1px solid #edf0f2;padding-top:22px}.order-lines-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.order-lines-header h4{margin:0 0 4px;font-size:15px}.order-lines-header p{margin:0}.order-lines{display:grid;gap:11px}.order-line{display:grid;grid-template-columns:minmax(0,2fr) 120px minmax(145px,1fr) auto;align-items:end;gap:12px;padding:13px;background:#fafbfc;border:1px solid #e9edf0;border-radius:12px;animation:rise .24s both}.order-line .field{min-width:0}.order-line-total{min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:2px}.order-line-total strong{font-size:15px}.order-line-total small{font-size:11px;color:#81909a}.order-line-total small.warn{color:#af293b}.order-remove{width:44px;height:44px;padding:0;color:#a7192b}.order-estimate{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:14px 16px;border-radius:11px;background:#fff4f5;color:#8d2635}.order-estimate span{font-size:12px;font-weight:700}.order-estimate strong{font-size:21px;letter-spacing:-.035em}@media(max-width:700px){.order-lines-header{align-items:flex-start;flex-direction:column}.order-line{grid-template-columns:minmax(0,1fr) 100px}.order-line .field:first-child{grid-column:1/-1}.order-line-total{min-height:44px}.order-remove{justify-self:end}}@media(max-width:390px){.order-line{grid-template-columns:minmax(0,1fr) 88px}}
.order-remove .icon{transform:rotate(45deg)}
