@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap";:root{font-family:DM Sans,sans-serif;color:#30251f;background:#f7f5f2;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:#fff;border-right:1px solid #ece7e2;padding:25px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 32px}.brand-mark{width:42px;height:42px;border-radius:13px;background:#6b3f2a;color:#fff;display:grid;place-items:center;font-family:Playfair Display;font-size:17px}.brand b{display:block;letter-spacing:1.6px;font-size:13px}.brand small{display:block;color:#a28e80;font-size:10px;letter-spacing:2px;margin-top:3px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#ad9d91;padding:0 11px 10px}.nav-item{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;color:#74675e;font-size:13px;text-align:left;margin-bottom:3px}.nav-item.active{background:#f5eee9;color:#6b3f2a;font-weight:700}.nav-item em{margin-left:auto;background:#f0dfd2;color:#784a31;border-radius:20px;font-style:normal;font-size:10px;padding:3px 7px}.nav-item.disabled{opacity:.45;cursor:default}.nav-item.disabled small{margin-left:auto;font-size:9px}.extra-label{margin-top:26px}.sidebar-bottom{margin-top:auto}.sync-state{display:flex;align-items:center;gap:9px;color:#54765a;background:#f0f6ef;border-radius:8px;padding:10px;font-size:11px;margin:10px 2px 14px}.sidebar-bottom>small{display:block;color:#b0a49b;font-size:10px;padding:8px}.main{margin-left:258px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;background:#fff;border-bottom:1px solid #ece7e2;display:flex;align-items:center;padding:0 36px;justify-content:space-between}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#ad907b}.page-heading{font-family:Playfair Display;font-size:21px;margin-top:3px}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:12px;color:#887a70}.avatar{width:34px;height:34px;background:#efe5dd;color:#714b35;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700}.content{padding:30px 36px 50px;max-width:1500px;width:100%;margin:0 auto;flex:1}.welcome{background:linear-gradient(110deg,#6b3f2a,#8b5a3d);border-radius:16px;padding:27px 30px;color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.welcome .eyebrow{color:#e7c9b2}.welcome h1{font-family:Playfair Display;font-size:26px;margin:9px 0}.welcome p{font-size:12px;color:#f1e4db;margin:0}.welcome-icon{width:90px;height:90px;border:1px solid #ffffff35;border-radius:50%;display:grid;place-items:center;color:#f3d8c2}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.stat-card,.panel{background:#fff;border:1px solid #eee9e4;border-radius:13px}.stat-card{padding:18px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#82746a;font-size:11px}.stat-icon{width:34px;height:34px;background:#f7f0eb;color:#85583e;border-radius:9px;display:grid;place-items:center}.stat-card strong{display:block;font-family:Playfair Display;font-size:27px;margin:13px 0 4px}.stat-card small{font-size:10px;color:#a4988f}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:16px}.panel{padding:20px}.panel h2{font-family:Playfair Display;font-size:17px;margin:0}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-head p,.quick-panel>p{font-size:11px;color:#9b8d83;margin:5px 0 0}.text-button{background:none;border:0;color:#80563e;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:left;font-size:9px;color:#a4978d;letter-spacing:.5px;text-transform:uppercase;font-weight:700;padding:11px 10px;border-bottom:1px solid #eee9e4}td{padding:13px 10px;border-bottom:1px solid #f2eeea;font-size:11px;color:#74675e}tbody tr:last-child td{border-bottom:0}.strong{font-weight:700;color:#44352c}.status{font-size:9px;padding:5px 8px;border-radius:20px;font-weight:700}.status.amber{background:#fff4df;color:#a36d19}.status.green{background:#eaf5e9;color:#4b8050}.status.gray{background:#f0efed;color:#827b75}.status.blue{background:#e9f1fa;color:#52769c}.quick-panel{padding:20px}.quick-action{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;text-align:left;padding:14px 0;border-bottom:1px solid #f0ece8;color:#44352c}.quick-action:last-child{border-bottom:0}.quick-icon{width:35px;height:35px;border-radius:9px;background:#f6eee8;color:#81583f;display:grid;place-items:center}.quick-action b,.quick-action small{display:block}.quick-action b{font-size:11px}.quick-action small{font-size:10px;color:#a19489;margin-top:4px}.info-note{margin-top:18px;background:#f5f0e9;border:1px solid #eee3d8;border-radius:11px;padding:14px;display:flex;gap:11px;color:#8a654b}.info-note div span{display:block;font-size:11px;color:#887b70;margin-top:4px;line-height:1.5}.info-note b{font-size:11px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.section-title h1{font-family:Playfair Display;font-size:27px;margin:0 0 6px}.section-title p{font-size:12px;color:#91847a;margin:0}.primary-btn,.secondary-btn{border:0;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-btn{background:#6b3f2a;color:#fff}.primary-btn:hover{background:#805139}.secondary-btn{background:#f2efec;color:#75665c}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.search-box{height:39px;background:#fff;border:1px solid #eae4df;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px;width:min(360px,100%);color:#a39387}.search-box input{border:0;outline:0;width:100%;font-size:11px;color:#44352c}.result-count{font-size:10px;color:#9c8e84}.table-panel{padding:5px 17px}.row-actions{display:flex;gap:5px;justify-content:flex-end}.row-actions button,.sub-actions button{border:0;background:#f7f4f1;color:#89786b;width:27px;height:27px;border-radius:6px;display:grid;place-items:center}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.category-card{padding:18px}.category-head{display:flex;align-items:center;gap:11px}.category-symbol{width:38px;height:38px;background:#f5eee8;color:#80553d;border-radius:9px;display:grid;place-items:center}.category-head h3{font-size:13px;margin:0}.category-head small{font-size:10px;color:#9b8d83}.category-head .row-actions{margin-left:auto}.subcategory{margin:17px 0 0 49px;border-top:1px solid #f0ece8;padding-top:12px;display:flex;justify-content:space-between;font-size:11px;color:#64564c}.sub-actions{display:flex;gap:5px}.add-sub{margin:16px 0 0 49px;background:none;border:0;color:#80563e;font-size:10px;font-weight:700}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-card{display:flex;align-items:center;gap:12px;padding:15px}.customer-avatar{width:39px;height:39px;border-radius:50%;background:#f2e8df;color:#80553d;display:grid;place-items:center;font-size:11px;font-weight:700}.customer-info{flex:1;min-width:0}.customer-info b,.customer-info span,.customer-info small{display:block}.customer-info b{font-size:12px}.customer-info span{font-size:10px;color:#80736a;margin-top:4px}.customer-info small{font-size:9px;color:#a79b91;margin-top:3px}.empty{padding:45px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:#897b70}.empty-icon{width:48px;height:48px;border-radius:14px;background:#f6f0eb;color:#98745d;display:grid;place-items:center;margin-bottom:5px}.empty b{font-size:12px;color:#514239}.empty span{font-size:11px;max-width:320px;line-height:1.5}.small-action{border:0;background:#f1f6ef;color:#4e8052;border-radius:6px;padding:7px 9px;font-size:10px;display:inline-flex;align-items:center;gap:4px}.muted{color:#9d9188;font-size:10px}.alert{margin:14px 36px 0;background:#fff0ed;color:#a44635;border:1px solid #f0d3cc;padding:11px 13px;border-radius:8px;font-size:11px;display:flex;gap:8px;align-items:center}.alert button{margin-left:auto;border:0;background:none;color:inherit;font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#21171088;z-index:50;display:grid;place-items:center;padding:16px}.modal{background:#fff;border-radius:15px;width:min(620px,100%);max-height:92vh;overflow:auto;padding:24px;box-shadow:0 20px 80px #0003}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.modal-head h2{font-family:Playfair Display;font-size:22px;margin:5px 0 0}.icon-btn{border:0;background:#f4f0ed;color:#725c4c;border-radius:8px;width:34px;height:34px;display:grid;place-items:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:700;color:#716257}.field input,.field select,.field textarea,.form-grid>label>input,.order-line input,.order-line select{width:100%;border:1px solid #e7e0da;border-radius:7px;padding:10px 11px;font-size:11px;outline:none;background:#fff;color:#44352c}.field input:focus,.field select:focus,.field textarea:focus{border-color:#a77b5d;box-shadow:0 0 0 2px #a77b5d20}.field textarea{min-height:75px;resize:vertical}.check-field{display:flex;align-items:center;gap:8px;font-size:11px;color:#6e6056}.full-width{grid-column:1/-1}.line-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:10px}.order-line{display:grid;grid-template-columns:minmax(0,1fr) 75px 42px 70px 28px;gap:7px;align-items:center;margin-bottom:8px}.order-line span{font-size:10px;color:#8e8177}.order-line b{font-size:10px;text-align:right}.remove-line{border:0;background:#f8eeee;color:#a15e51;border-radius:6px;height:30px}.total-preview{grid-column:1/-1;display:flex;justify-content:space-between;padding:14px;background:#f7f3ef;border-radius:8px;font-size:12px}.total-preview b{font-size:16px;color:#6b3f2a}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:17px;border-top:1px solid #eee9e4}.login-screen,.center-screen{min-height:100vh;display:grid;place-items:center;background:#f7f5f2}.login-card{width:min(390px,calc(100% - 30px));background:#fff;border:1px solid #eee8e2;border-radius:16px;padding:30px;display:flex;flex-direction:column;gap:15px}.brand-mark.large{width:54px;height:54px;font-size:22px}.login-card h1{font-family:Playfair Display;margin:0}.login-card p,.login-card small{font-size:11px;color:#91847a;margin:0}.login-card .full{width:100%}.mobile-close,.menu-toggle,.scrim{display:none}footer{padding:16px 36px;color:#b0a49b;font-size:9px;border-top:1px solid #eee9e4}footer span{padding:0 5px}@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.content{padding:25px 22px}.topbar{padding:0 22px}}@media(max-width:700px){.sidebar{transform:translate(-100%);transition:transform .2s;width:270px}.sidebar.open{transform:translate(0)}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#1e171277;z-index:19}.mobile-close{display:grid;margin-left:auto}.main{margin-left:0}.menu-toggle{display:grid}.topbar{height:68px;padding:0 15px;gap:12px}.topbar>div:nth-child(2){margin-right:auto}.page-heading{font-size:18px}.today{display:none}.content{padding:20px 14px 35px}.welcome{padding:22px 19px}.welcome h1{font-size:21px}.welcome p{max-width:250px;line-height:1.5}.welcome-icon{width:57px;height:57px;flex-shrink:0}.welcome-icon svg{width:28px}.stat-grid{gap:9px;margin:14px 0}.stat-card{padding:13px}.stat-card strong{font-size:22px}.stat-card small{font-size:9px}.stat-top{font-size:10px}.stat-icon{width:29px;height:29px}.section-title{align-items:flex-start;gap:10px}.section-title h1{font-size:23px}.section-title p{font-size:10px;line-height:1.4}.section-title .primary-btn{padding:10px;font-size:0;white-space:nowrap}.section-title .primary-btn svg{width:18px;height:18px}.toolbar{gap:10px}.search-box{width:100%}.result-count{white-space:nowrap}.category-grid,.customer-grid{grid-template-columns:1fr}.panel{padding:15px}.table-panel{padding:5px 10px}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.modal{padding:18px}.modal-head h2{font-size:19px}.order-line{grid-template-columns:minmax(0,1fr) 65px 30px 55px 25px;gap:4px}.order-line input,.order-line select{padding:8px 5px;font-size:9px}.order-line b{font-size:9px}.alert{margin:10px 14px 0}footer{padding:14px}.panel-head{gap:10px}.panel-head .text-button{white-space:nowrap}.quick-panel{padding:17px}}@media print{.print-movement-summary{display:block;margin:15px 0;padding:10px;border:1px solid #ccc;font-size:10px}.print-movement-summary p{margin:4px 0}.print-inventory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.print-inventory-summary div{border:1px solid #ccc;padding:12px;text-align:center}.print-inventory-summary span{display:block;font-size:9px;margin-bottom:6px}.print-inventory-summary strong{font-size:20px}@page{size:A4 portrait;margin:12mm}body *{visibility:hidden}.warehouse-report,.warehouse-report *{visibility:visible}.warehouse-report{position:absolute;left:0;top:0;width:100%;padding:15px}.warehouse-report button{display:none!important}.warehouse-report .panel{break-inside:avoid;box-shadow:none!important}.warehouse-report table{width:100%;border-collapse:collapse}.warehouse-report th,.warehouse-report td{border:1px solid #ccc;padding:7px}.print-report-header{display:block;text-align:center;margin-bottom:25px;color:#333}.print-report-header h1{font-size:27px;letter-spacing:4px;margin:0;color:#9b6849}.print-report-header p{font-size:10px;margin:5px 0}.print-report-header h2{font-size:18px;margin:20px 0 8px;letter-spacing:1px}.print-header-line{border-bottom:1px solid #9b6849;margin:12px 0}}.print-report-header,.print-inventory-summary,.print-movement-summary{display:none}
