/* Focused refinement: the original dashboard and navigation are unchanged. */
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]){background:#f7f9f8}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-intro{margin:4px 0 20px;gap:14px}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-intro h2{color:#193c30;font-size:22px;margin:6px 0}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-intro p{color:#64756c;font-size:14px}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-eyebrow{color:#65796d;font-size:11px}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page .toolbar{padding:12px 15px;min-height:70px;border-color:#e4eae6;border-radius:12px;margin-bottom:18px}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page .summary-card{padding:17px 18px;border-color:#e3eae6;border-radius:12px;min-height:94px}
body:is([data-page=menu],[data-page=stocks],[data-page=customers]) .summary-card>div>small{color:#607569;font-size:13px}
body:is([data-page=menu],[data-page=stocks],[data-page=customers]) .summary-card strong{color:#214b38;font-size:24px}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page :is(.button,.mini-button,.filter-select,.search input){font-size:13px;color:#425f50}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page .button.primary{color:#fff;background:#087747}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page .mini-button{min-height:32px;padding:7px 10px;border-color:#dfe7e2;border-radius:7px;background:#fff;margin:2px}
body:is([data-page=menu],[data-page=stocks],[data-page=customers]) .mini-button[data-action^="delete:"]{color:#a75349;border-color:transparent;background:transparent}
body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-page .badge{font-size:11px;font-weight:500;line-height:1.5;padding:4px 8px}
.module-page .refined-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.module-page .refined-product-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:0 18px;padding:20px;border:1px solid #e2e9e5;border-radius:13px;overflow:hidden;background:#fff;align-items:start;transition:border-color .15s,box-shadow .15s}
.module-page .refined-product-card:hover{border-color:#b9d1c2;box-shadow:0 4px 16px #163c2408}
.product-thumbnail{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100px;height:120px;border-radius:10px;background:#f3f6f3;overflow:hidden;border:1px solid #edf0ed;color:#6b937c}
.product-thumbnail.beverage{background:#faf8f3;color:#b29259}
.product-thumbnail img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;position:static;padding:8px;mix-blend-mode:multiply}
.product-thumbnail .icon{width:30px;height:30px;stroke-width:1.4}
.module-page .refined-product-card .product-info{padding:0;min-width:0}
.product-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-reference{font-size:11px;color:#77877e;font-variant-numeric:tabular-nums}
.module-page .refined-product-card .product-info h3{margin:10px 0 4px!important;color:#1c3e30;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.25px}
.module-page .refined-product-card .product-info .product-format{font-size:12px;line-height:1.6;color:#67766d;margin:0;min-height:20px}
.module-page .refined-product-card .product-price{display:flex;flex-direction:row;align-items:center;gap:8px;margin:13px 0 0;flex-wrap:wrap}
.module-page .refined-product-card .product-price strong{color:#145c3d;font-size:19px;font-weight:600}
.product-availability{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#39734e;white-space:nowrap}
.product-availability:before{content:'';width:5px;height:5px;background:#4b9e65;border-radius:50%}
.product-availability.empty{color:#ae5346}.product-availability.empty:before{background:#c66c59}
.module-page .refined-product-card .product-card-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #edf1ee;margin-top:16px;padding:12px 0 0}
.product-stock-caption{font-size:12px;color:#546a5c;display:inline-flex;align-items:center;gap:6px;line-height:1.6}
.product-stock-caption .icon{width:15px;height:15px;color:#7a9383}
.product-card-actions{display:flex;align-items:center;flex-wrap:wrap}
body[data-page=stocks] .module-table-heading{font-size:15px;color:#244b37;padding:17px 20px;border-color:#e6ece8}
body[data-page=stocks] .data-table th{color:#64756b;background:#f8faf9;font-size:12px;font-weight:500;padding:12px 18px}
body[data-page=stocks] .data-table td{padding:14px 18px;color:#365240;font-size:13px;border-color:#edf1ee}
body[data-page=stocks] .data-table td small{display:block;color:#718177;font-size:12px;margin-top:4px}
.inventory-product{display:flex;align-items:center;gap:12px;min-width:170px}
.inventory-product .product-thumbnail{width:42px;height:48px;border-radius:7px}.inventory-product .product-thumbnail img{padding:3px}.inventory-product .icon{width:20px;height:20px}
.inventory-product strong{color:#244233;font-size:13px;font-weight:600}.inventory-quantity{font-weight:500;color:#375443}
body[data-page=production] .kanban{gap:16px;align-items:start}
body[data-page=production] .kanban-column{background:#fff;border:1px solid #e2e9e5;border-radius:12px;padding:15px;min-height:230px;border-top:3px solid #e2b355}
body[data-page=production] .kanban-column:nth-child(2){border-top-color:#a995cc}body[data-page=production] .kanban-column:nth-child(3){border-top-color:#6da585}
body[data-page=production] .kanban-heading{color:#324e3d;font-size:14px;font-weight:600;padding:3px 1px 14px;border-bottom:1px solid #edf1ee;margin-bottom:13px}
body[data-page=production] .kanban-heading span{background:#f0f4f1;color:#4f6b58;font-size:12px;border-radius:6px}
body[data-page=production] .production-empty{display:flex;flex-direction:column;align-items:center;gap:9px;padding:26px 8px;margin:0!important;color:#6f7f75!important;font-size:12px!important}
.production-empty .icon{width:30px;height:30px;background:#f2f6f3;color:#73947f;border-radius:50%;padding:7px;box-sizing:content-box}.production-empty strong{color:#556d5e;font-weight:500;font-size:13px}
body[data-page=production] .ticket{border-color:#e3ebe5;box-shadow:none;background:#fcfdfc;padding:14px}
body[data-page=production] .ticket-head{color:#254a35;font-size:14px}body[data-page=production] .ticket li{color:#4d6355;font-size:14px}
body[data-page=customers] .table-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-page=customers] .table-card{padding:18px;border-color:#e2e9e5;border-radius:12px}
body[data-page=customers] .table-card.occupied{background:#fff;border-color:#e7d9bb}
body[data-page=customers] .table-card .table-symbol{width:34px;height:34px;border-radius:8px;border:0;background:#f0f6f1;color:#578768}
body[data-page=customers] .table-card.occupied .table-symbol{background:#fcf5e8;color:#ad853d}
body[data-page=customers] .table-card h3{font-size:20px;color:#254736;margin:13px 0 6px;font-weight:600}
body[data-page=customers] .table-card p{color:#6b7b70;font-size:13px;margin:0 0 14px}
body[data-page=customers] .table-card-footer{padding-top:12px;margin-top:0;border-color:#edf1ee}
body[data-page=customers] .table-card-footer strong{color:#365d43;font-size:16px}
/* Product modals: compact sections, contained photo and paired fields. */
#modal:is(.product-editor,.product-details){width:760px;max-width:760px;border-radius:16px;color:#244235}
#modal:is(.product-editor,.product-details) .modal-head{padding:22px 24px 18px;border-color:#edf1ee;gap:13px}
#modal:is(.product-editor,.product-details) .modal-head h2{font-size:23px;font-weight:600;letter-spacing:-.6px}
#modal:is(.product-editor,.product-details) .modal-title-symbol{width:38px;height:38px;border-radius:10px}
#modal:is(.product-editor,.product-details) .modal-description{font-size:13px!important;color:#6c7d72;margin-top:6px}
#modal:is(.product-editor,.product-details) .modal-body{padding:22px 24px}
#modal:is(.product-editor,.product-details) .modal-foot{padding:15px 24px;background:#fff;border-color:#edf1ee}
#modal.product-editor .modal-required-hint{display:none}
#modal.product-editor .modal-body{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#modal.product-editor #familyFields{display:contents}
#modal.product-editor .modal-body>label,#modal.product-editor #familyFields>label,#modal.product-editor #beverageFields>label{margin:0}
#modal.product-editor label{margin:0;color:#465f50;font-size:13px;line-height:1.6;font-weight:500;min-width:0}
#modal.product-editor :is(input:not([type=checkbox]),select){min-height:43px;padding:10px 12px;border:1px solid #dfe7e1;border-radius:8px;font-size:14px;margin-top:6px;color:#244633}
#modal.product-editor .product-identity{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;padding:16px;background:#fbfcfb;border:1px solid #e7ede8;border-radius:10px;margin:0}
#modal.product-editor #identityTitle{grid-column:1/-1;margin:0 0 3px!important;font-size:13px!important;color:#435f4b;font-weight:600}
#modal.product-editor .product-photo-editor{display:grid;grid-template-columns:1fr 64px;gap:6px 12px;align-items:start;min-width:0}
#modal.product-editor .product-photo-editor>label:first-child{grid-column:1/-1}
#modal.product-editor .product-photo-editor>small{font-size:11px;line-height:1.5;color:#76857a;grid-column:1}
#modal.product-editor #productPhotoInput{font-size:11px;padding:7px;width:100%;background:#fff;min-height:40px}
#modal.product-editor #productPhotoInput::file-selector-button{font-size:11px;padding:5px 7px;margin-right:6px;background:#eef4ef;color:#37664a;border:0;border-radius:5px}
#modal.product-editor #productPhotoPreview{grid-column:2;grid-row:2/4;width:64px!important;height:64px!important;margin:0!important;border-radius:7px!important;background:#fff!important;border:1px solid #e5ece6;object-fit:contain}
#modal.product-editor .product-photo-editor>label:has(#removeProductPhoto){margin:0!important;font-size:11px;grid-column:1;font-weight:400;line-height:1.5}
#modal.product-editor #photoError{grid-column:1/-1;margin:0;font-size:12px}
#modal.product-editor #beverageFields{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr;gap:16px}
#modal.product-editor .form-row{margin:0;gap:16px}
#modal.product-editor #familyFields>.form-row{grid-column:1/-1}
#modal.product-editor #bottleFields{align-items:start}
#modal.product-details{width:660px;max-width:660px}
.product-detail-hero{display:flex;gap:20px;align-items:center;padding-bottom:22px;border-bottom:1px solid #e8eee9}
.product-detail-hero .product-thumbnail{width:90px;height:112px}
.product-detail-hero h3{font-size:23px;color:#214533;margin:9px 0 5px;line-height:1.3}
.product-detail-hero p{font-size:13px;color:#6c7d71;margin:0 0 9px}
.product-detail-facts{display:grid;grid-template-columns:1fr 1fr;margin:7px 0 0;gap:0 25px}
.product-detail-facts>div{padding:15px 0;border-bottom:1px solid #edf1ee;min-width:0}
.product-detail-facts dt{font-size:12px;color:#75857a;margin-bottom:7px}
.product-detail-facts dd{font-size:14px;color:#2d4d39;font-weight:500;margin:0;overflow-wrap:anywhere}
.product-detail-actions{display:flex;justify-content:flex-end;margin-top:20px}
@media(max-width:1100px){.module-page .refined-product-grid{grid-template-columns:1fr}body[data-page=customers] .table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body:is([data-page=stocks],[data-page=customers]) .module-page .summary-card{padding:14px;gap:10px;align-items:flex-start}body:is([data-page=stocks],[data-page=customers]) .summary-card .summary-icon{width:28px;height:30px;border-radius:7px;flex-shrink:0}body:is([data-page=stocks],[data-page=customers]) .summary-card strong{font-size:20px;line-height:1.5}body:is([data-page=stocks],[data-page=customers]) .summary-card>div>small{font-size:12px;line-height:1.5}}
@media(max-width:650px){body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-intro h2{font-size:20px}body:is([data-page=menu],[data-page=stocks],[data-page=production],[data-page=customers]) .module-intro p{font-size:13px}.module-page .refined-product-card{padding:15px;grid-template-columns:76px minmax(0,1fr);gap:0 12px}.refined-product-card .product-thumbnail{width:76px;height:104px}.module-page .refined-product-card .product-info h3{font-size:16px}.module-page .refined-product-card .product-price strong{font-size:18px}.module-page .refined-product-card .product-price{margin-top:9px}.product-card-actions{margin-left:auto}.module-page .refined-product-card .product-card-bottom{margin-top:13px;gap:7px}.product-stock-caption{font-size:12px}.product-availability{font-size:10px}body[data-page=customers] .table-grid{grid-template-columns:1fr}body[data-page=production] .kanban-column{min-height:200px}#modal:is(.product-editor,.product-details){width:calc(100% - 20px)}#modal:is(.product-editor,.product-details) .modal-head{padding:19px 18px 16px}#modal:is(.product-editor,.product-details) .modal-body{padding:18px}#modal:is(.product-editor,.product-details) .modal-head h2{font-size:21px}#modal:is(.product-editor,.product-details) .modal-foot{padding:14px 18px}#modal.product-editor .modal-body{grid-template-columns:1fr;gap:15px}#modal.product-editor .product-identity{grid-template-columns:1fr;padding:14px}#modal.product-editor :is(input:not([type=checkbox]),select){font-size:16px}#modal.product-editor #beverageFields{grid-template-columns:1fr}#modal.product-editor .product-photo-editor{grid-template-columns:1fr 64px}.product-detail-hero{gap:14px}.product-detail-hero h3{font-size:20px}.product-detail-hero .product-thumbnail{width:75px;height:96px}.product-detail-facts{gap:0 17px}.product-detail-facts dd{font-size:13px}.product-detail-facts dt{font-size:12px}}
