*{box-sizing:border-box}body{margin:0;background:#f4f0e8;color:#302b25;font-family:'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}.brand{display:inline-flex;flex-direction:column;align-items:center;font-size:34px;font-weight:500;line-height:.9;letter-spacing:-2px;text-decoration:none}.brand small{font-size:6px;letter-spacing:3px;margin-top:11px;font-weight:400}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#7c6b5b}.login-layout{min-height:100svh;display:grid;grid-template-columns:1fr 1fr}.login-campaign{position:relative;overflow:hidden;background:#432c24;isolation:isolate}.login-campaign>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 25%}.login-campaign:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#21100df0,transparent 85%)}.login-campaign>div{position:absolute;left:10%;right:10%;bottom:10%;color:#fff1de}.login-campaign span{font-size:10px;letter-spacing:1.8px}.login-campaign h1{font-size:clamp(36px,4vw,61px);line-height:1.05;font-weight:400;letter-spacing:-2px;margin:27px 0}.login-campaign em{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.25em;font-weight:400}.login-campaign p{font-size:12px;color:#e7d6bf;line-height:1.8}.login-main{padding:50px 12%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.login-main>.brand{margin-bottom:55px}.login-card{width:100%;max-width:400px}.login-card h2{font-size:44px;line-height:1.03;letter-spacing:-1.7px;font-weight:400;margin:21px 0}.login-card em{font-family:'Cormorant Garamond',serif;font-size:1.3em;font-weight:400}.login-card>p{font-size:13px;line-height:1.8;color:#786b5c}.login-card form{margin-top:28px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.5}input,textarea,select{width:100%;border:1px solid #cabcaa;background:#fbf7ef;color:#302b25;padding:13px 12px;border-radius:0;min-height:47px;font-size:14px}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #8c5c3d;outline-offset:3px}.login-card form>label{margin:20px 0 8px}.password-field{position:relative}.password-field input{padding-right:80px}.password-field button{position:absolute;right:2px;top:2px;bottom:2px;background:transparent;border:0;font-size:11px;color:#62313a;padding:0 12px;min-width:65px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:48px;padding:13px 19px;border:1px solid transparent;font-size:12px;text-decoration:none}.button.primary{background:#491d29;color:#fff1df}.button.primary:hover{background:#622d3b}.button.secondary{background:transparent;border-color:#c6b49f;color:#491d29}.login-card .button{width:100%;justify-content:space-between;margin-top:24px}.login-card .button span{font-size:21px}.login-note{font-size:11px!important;line-height:1.8!important;margin:24px 0!important}.back-link{display:inline-block;font-size:11px;text-underline-offset:4px;padding:12px 0}.message{font-size:12px;line-height:1.8;color:#466348;min-height:20px;overflow-wrap:anywhere}.message:empty{display:none}.message.error{color:#9a2537;background:#f7e5df;padding:12px 14px;border-left:2px solid #a64848}.admin-header{height:90px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d7cbbb;background:#f4f0e8;position:sticky;top:0;z-index:5}.admin-header>div{display:flex;gap:27px;align-items:center;font-size:12px}.admin-header button{background:none;border:1px solid #cdbca6;padding:10px 15px;min-height:44px;color:#491d29}.admin-main{max-width:1400px;margin:auto;padding:55px 5%}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.page-heading h1{font-size:42px;line-height:1.1;font-weight:400;letter-spacing:-1.5px;margin:18px 0}.page-heading em{font-family:'Cormorant Garamond',serif;font-size:1.25em}.page-heading p{font-size:12px;color:#7a6956;overflow-wrap:anywhere}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:34px 0}.stats>div{padding:23px;background:#eae2d5;border-top:2px solid #7f4b50}.stats span{display:block;font-size:11px;color:#776754}.stats strong{font-size:33px;font-weight:400;display:block;margin-top:13px;letter-spacing:-1px}.catalogue-panel{border:1px solid #d6c9b7;background:#faf6ee;padding:26px}.panel-top{display:flex;align-items:center;justify-content:space-between}.panel-top h2{font-size:24px;font-weight:400;letter-spacing:-.5px;margin:0}.panel-top button{background:none;border:0;color:#491d29;text-decoration:underline;min-height:44px;font-size:12px}.list-controls{display:grid;grid-template-columns:1fr 230px;gap:18px;margin:22px 0}.admin-product{display:flex;gap:20px;align-items:center;border-top:1px solid #dfd4c5;padding:20px 0}.admin-product>img,.admin-product>.photo-placeholder{width:70px;height:88px;object-fit:cover;flex-shrink:0}.photo-placeholder{display:grid;place-items:center;background:#e7dfd1;font-size:10px;color:#7e6b54;text-align:center;min-height:88px}.product-copy{min-width:0;flex:1}.product-copy h3{font-size:14px;line-height:1.5;margin:0 0 6px;font-weight:500}.product-copy p{font-size:11px;color:#7b6b58;line-height:1.7;margin:0 0 8px;overflow-wrap:anywhere}.stock-badge{font-size:10px;padding:4px 8px;color:#4d6546;background:#e7eddf;display:inline-block}.stock-badge.empty{color:#8a4735;background:#eee0d2}.product-values{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.product-values strong{font-size:15px;font-weight:500}.product-values small{font-size:10px;color:#8d614b}.product-values button{background:none;border:1px solid #c9b69c;min-height:44px;padding:9px 15px;font-size:11px;color:#491d29;margin-top:5px}.empty-list{text-align:center;padding:35px 15px}.empty-list h3{font-size:23px;font-weight:400}.empty-list p,.operation-note{font-size:11px;color:#806f5a;line-height:1.8}.operation-note{margin-top:22px}dialog{width:min(880px,96vw);max-height:94dvh;padding:0;border:0;background:#f4f0e8;color:#302b25;box-shadow:0 20px 90px #21130d55}dialog::backdrop{background:#21171399;backdrop-filter:blur(4px)}#product-form{display:flex;flex-direction:column;max-height:94dvh}.editor-heading{padding:24px 30px;border-bottom:1px solid #dacbb9;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f4f0e8;flex-shrink:0}.editor-heading h2{font-size:27px;font-weight:400;margin:10px 0 0;letter-spacing:-.8px}.close{width:44px;height:44px;display:grid;place-items:center;background:none;border:1px solid #cab9a3;border-radius:50%;font-size:27px;color:#491d29}.editor-body{overflow:auto;padding:0 30px 25px;overscroll-behavior:contain}.editor-body section{padding:25px 0;border-bottom:1px solid #dacbb9}.editor-body h3{font-size:18px;font-weight:500;letter-spacing:-.4px;margin:0 0 20px;display:flex;align-items:center;gap:12px}.editor-body h3 span{font-size:10px;letter-spacing:1px;color:#8b5a55}.editor-body label{margin-top:17px}.editor-body section>p,.help{font-size:11px;color:#7b6952;line-height:1.8;margin:15px 0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.check-label{flex-direction:row;align-items:center;gap:10px;padding-top:27px}.check-label input{width:19px;min-height:19px;height:19px;accent-color:#491d29}.editor-body .secondary{margin-top:17px}.variant-grid{overflow:auto;max-width:100%;border:1px solid #d3c4af}.variant-grid:empty{border:0}.variant-grid>p{padding:0 15px}.variant-grid table{border-collapse:collapse;font-size:11px;width:100%}.variant-grid caption{text-align:left;padding:13px;font-size:10px;color:#79664f;line-height:1.6}.variant-grid th{text-align:left;font-size:11px;font-weight:500;background:#e7decf;padding:12px;min-width:85px}.variant-grid tbody th{position:sticky;left:0;max-width:150px;overflow-wrap:anywhere}.variant-grid td{padding:7px;border-top:1px solid #d6c8b4;min-width:90px}.variant-grid input{min-width:70px;min-height:44px;padding:10px 8px;font-size:13px}.image-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.color-photo{display:flex;gap:14px;align-items:flex-start;padding:15px;border:1px solid #d9cbb6;min-width:0}.color-photo>img,.color-photo>.photo-placeholder{width:90px;height:115px;object-fit:cover;flex-shrink:0}.color-photo>div{min-width:0;flex:1}.color-photo strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.color-photo label{font-size:10px;margin-top:12px}.color-photo input{font-size:10px;padding:8px;min-height:40px;max-width:100%}.color-photo small{font-size:9px;color:#7d6a52;line-height:1.7;display:block;margin-top:8px}.color-photo button{background:none;border:0;padding:10px 0;color:#925044;text-decoration:underline;font-size:9px;min-height:35px}.editor-footer{display:flex;gap:12px;align-items:center;justify-content:flex-end;border-top:1px solid #d1c0a8;padding:18px 30px;background:#eae1d3;flex-shrink:0}.editor-footer>span{margin-right:auto;font-size:12px}.editor-footer .button{min-width:110px}
@media(max-width:850px){.login-main{padding:40px 9%}.login-campaign h1{font-size:40px}.login-main>.brand{margin-bottom:38px}.image-fields{grid-template-columns:1fr}.admin-main{padding:35px 4%}.stats{gap:10px}.stats>div{padding:18px}.page-heading h1{font-size:35px}}
@media(max-width:600px){.login-layout{display:block;min-height:100svh}.login-campaign{display:none}.login-main{padding:35px 27px 40px;min-height:100svh;justify-content:flex-start}.login-main>.brand{margin-bottom:48px}.login-card{max-width:none}.login-card h2{font-size:42px}.login-card>p{font-size:12px}.login-card form{margin-top:27px}input,textarea,select{font-size:16px;min-height:48px}.login-note{font-size:10px!important}.admin-header{height:80px;padding:0 20px}.admin-header .brand{font-size:29px}.admin-header .brand small{font-size:5px;letter-spacing:1.9px}.admin-header>div{gap:15px;font-size:11px}.admin-main{padding:32px 18px}.page-heading{display:block}.page-heading h1{font-size:33px;margin:14px 0}.page-heading .button{width:100%;margin-top:15px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin:25px 0}.stats>div{padding:17px}.stats span{font-size:10px}.stats strong{font-size:28px;margin-top:10px}.catalogue-panel{padding:18px 13px}.panel-top h2{font-size:22px}.list-controls{grid-template-columns:1fr;gap:14px;margin:18px 0}.list-controls label{font-size:11px}.admin-product{gap:11px;padding:17px 0}.admin-product>img,.admin-product>.photo-placeholder{width:52px;height:73px;min-height:73px}.product-copy h3{font-size:12px}.product-copy p{font-size:9px}.stock-badge{font-size:9px;padding:3px 6px}.product-values strong{font-size:13px}.product-values small{font-size:9px}.product-values button{font-size:10px;padding:8px 11px;min-height:44px}.operation-note{font-size:10px}dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;inset:0}#product-form{height:100dvh;max-height:100dvh}.editor-heading{padding:19px 20px}.editor-heading h2{font-size:24px}.editor-heading .eyebrow{font-size:8px}.editor-body{padding:0 20px 20px}.editor-body section{padding:23px 0}.editor-body h3{font-size:17px}.editor-body label{font-size:11px}.two-columns{grid-template-columns:1fr;gap:0}.check-label{padding-top:0;min-height:44px}.color-photo{padding:12px;gap:12px}.color-photo>img,.color-photo>.photo-placeholder{width:80px;height:105px}.color-photo input{font-size:11px}.color-photo button{font-size:10px;min-height:44px}.editor-footer{padding:14px 15px calc(14px + env(safe-area-inset-bottom));gap:8px;flex-wrap:wrap}.editor-footer>span{width:100%;font-size:11px;margin-bottom:2px}.editor-footer .button{flex:1;font-size:11px;min-height:46px;padding:12px 10px}.variant-grid input{font-size:16px}.variant-grid caption{font-size:9px}.message{font-size:11px}.eyebrow{font-size:8px}.back-link{min-height:44px}}
/* Supplier and pricing are owner-only panels; retail stock remains independent. */
.pricing-panel,.supplier-panel{margin-top:25px}.pricing-panel h2,.supplier-panel h2{font-size:26px;font-weight:400;letter-spacing:-.6px;margin:14px 0}.pricing-panel>p{font-size:12px;line-height:1.8;color:#78644f}.pricing-panel small{display:block;font-size:10px;line-height:1.8;color:#806c52;margin-top:18px}.pricing-panel .button{margin-top:13px}.price-example{padding:15px;background:#eee5d5;font-size:14px;line-height:1.7;color:#491d29}.supplier-panel .panel-top{gap:20px}.supplier-panel>label{margin:20px 0}.supplier-status{padding:15px 17px;background:#e5ecdf;color:#465c3d;font-size:11px;line-height:1.8}.supplier-status.offline{background:#f2e2d5;color:#8d4335;border-left:3px solid #9c5646}.supplier-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.supplier-product{border:1px solid #d7c6ac;padding:15px;display:flex;gap:15px;min-width:0}.supplier-product>img{width:110px;height:155px;object-fit:cover;flex-shrink:0}.supplier-product>div{min-width:0;flex:1}.supplier-product small{font-size:8px;letter-spacing:1px;color:#886c4f}.supplier-product h3{font-size:14px;font-weight:500;line-height:1.5;margin:10px 0}.supplier-product p{font-size:10px;line-height:1.7;color:#7c6953;overflow-wrap:anywhere}.supplier-product>div>span{font-size:11px;line-height:1.8}.supplier-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.supplier-actions button{background:transparent;border:1px solid #bda385;color:#491d29;font-size:10px;padding:10px 12px;min-height:44px}.supplier-actions button:first-child{background:#491d29;color:#f9edd8;border-color:#491d29}.supplier-actions button:disabled{opacity:.4;cursor:not-allowed}.cost-details{margin-top:20px;padding:16px;border:1px solid #cab79c}.cost-details summary{font-size:12px;cursor:pointer;min-height:30px}.variant-cost{display:block;font-size:9px;color:#80654a;margin-top:6px}#supplier-order .editor-body{padding-top:24px}#supplier-order{overflow:auto}#supplier-order pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eae0cf;padding:18px;font:12px/1.8 'DM Sans';max-width:100%}.order-total{font-size:14px;padding:18px 0}#supplier-order-check{margin:20px 0}#supplier-order .editor-heading{position:sticky;top:0;z-index:2}.cost-details .button{font-size:11px}.admin-header #logout{border:1px solid #cdbca6;padding:10px 15px;text-decoration:none;min-height:44px;display:flex;align-items:center}.login-card #login-submit{margin-top:24px}.login-card #login-message{margin-top:20px}
@media(max-width:900px){.supplier-list{grid-template-columns:1fr}.supplier-product>img{width:125px;height:170px}}@media(max-width:600px){.pricing-panel h2,.supplier-panel h2{font-size:24px;line-height:1.2}.pricing-panel .button{width:100%}.supplier-panel .panel-top{align-items:flex-start;gap:10px}.supplier-panel .panel-top button{font-size:10px;min-width:90px;text-align:right}.supplier-status{padding:13px;font-size:10px}.supplier-product{padding:12px;gap:12px}.supplier-product>img{width:88px;height:130px}.supplier-product h3{font-size:12px;margin:8px 0}.supplier-product p{font-size:9px}.supplier-product>div>span{font-size:10px}.supplier-actions{display:grid;grid-template-columns:1fr;gap:7px}.supplier-actions button{font-size:10px;padding:10px}.price-example{font-size:12px}.cost-details{padding:13px}.cost-details summary{font-size:11px}.admin-header #logout{font-size:11px}.supplier-product small{font-size:7px}}
.admin-tabs{position:sticky;top:90px;z-index:4;display:flex;gap:25px;overflow:auto;padding:0 5%;background:#ebe3d5;border-bottom:1px solid #d1c0a8}.admin-tabs a{font-size:11px;padding:16px 0;text-decoration:none;white-space:nowrap;min-height:48px}.admin-tabs a:hover{text-decoration:underline;text-underline-offset:6px}#catalogo,#precos,#fornecedor,#entradas{scroll-margin-top:160px}.receiving-panel{margin-top:25px}.receiving-panel h2{font-size:27px;font-weight:400;letter-spacing:-.7px;margin:15px 0}.receiving-panel>p{font-size:12px;line-height:1.8;color:#7f684e}.receiving-panel>label{margin-top:22px}.receiving-panel>.button{margin-top:18px}.receipt-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.receipt-summary>div{background:#eae1d1;padding:16px}.receipt-summary span{display:block;font-size:10px;color:#7f664c;margin-bottom:9px}.receipt-summary strong{font-size:19px;font-weight:500}.receipt-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:12px;line-height:1.8;margin:24px 0}.receipt-confirm input{min-height:20px;height:20px;width:20px;flex-shrink:0;accent-color:#491d29;margin-top:2px}.receipt-history-title{font-size:17px;font-weight:500;margin-top:35px}#receipt-history article{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid #d4c0a5}#receipt-history strong{font-size:12px;font-weight:500}#receipt-history span{font-size:11px}#receipt-history small{font-size:10px;color:#7c644a}#receipt-items{margin:20px 0}#receipt-items th{min-width:160px;font-size:11px;line-height:1.7}#receipt-items th small{font-size:8px;color:#866b4e}#receipt-items td{font-size:12px;line-height:1.7;padding:12px}#receipt-items select{width:240px;font-size:12px}.receiving-panel .help{font-size:11px;line-height:1.8}@media(max-width:600px){.admin-tabs{top:80px;padding:0 18px;gap:22px}.admin-tabs a{font-size:10px}#catalogo,#precos,#fornecedor,#entradas{scroll-margin-top:145px}.receiving-panel h2{font-size:24px;line-height:1.2}.receiving-panel>p{font-size:11px}.receipt-summary{grid-template-columns:1fr 1fr;gap:9px}.receipt-summary>div{padding:14px}.receipt-summary strong{font-size:16px}.receipt-confirm{font-size:11px}.receiving-panel .button{width:100%;font-size:11px}#receipt-history article{display:grid;gap:7px}#receipt-items td{font-size:11px}#receipt-items select{font-size:16px}.receiving-panel .help{font-size:10px}}
.queue-panel{margin-top:25px;scroll-margin-top:160px}.queue-panel h2{font-size:27px;font-weight:400;letter-spacing:-.7px;margin:15px 0}.queue-actions{display:flex;gap:22px;align-items:end;flex-wrap:wrap;margin:25px 0 12px}.queue-all,.queue-check{display:flex;flex-direction:row;align-items:center;gap:12px}.queue-all input,.queue-check input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:#491d29}.queue-all{margin-right:auto;min-height:48px}.queue-actions>label:not(.queue-all){min-width:190px}.queue-list{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}.queue-order,.queue-batch{border:1px solid #d3c2a8;padding:20px;background:#f7f1e6;min-width:0}.queue-order header,.queue-batch header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.queue-order strong,.queue-batch strong{font-size:14px;font-weight:500}.queue-order small,.queue-batch small{display:block;font-size:10px;color:#7d6850;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}.queue-order p,.queue-batch p{font-size:12px;line-height:1.8}.queue-order ul,.queue-batch ul{padding-left:18px;font-size:12px;line-height:1.8}.queue-order li,.queue-batch li{margin:13px 0}.queue-state{font-size:9px;background:#e7decd;color:#715a40;padding:7px 9px;white-space:nowrap}.queue-cancel{border:0;background:none;color:#8a3f40;text-decoration:underline;text-underline-offset:4px;min-height:44px;font-size:10px;padding:8px 0}.queue-batch{margin:18px 0}.queue-batch summary{font-size:12px;cursor:pointer;padding:12px 0;min-height:44px}.queue-batch-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.queue-panel .help{font-size:11px;line-height:1.8}.queue-check span{min-width:0}.queue-batch .button{font-size:11px}@media(max-width:800px){.queue-list{grid-template-columns:1fr}}@media(max-width:600px){.queue-panel{scroll-margin-top:145px}.queue-panel h2{font-size:23px}.queue-panel .panel-top{gap:15px;align-items:flex-start}.queue-panel .panel-top>button{font-size:10px;min-width:68px}.queue-actions{display:grid;gap:15px}.queue-actions>*{width:100%}.queue-order,.queue-batch{padding:15px}.queue-order header,.queue-batch header{flex-wrap:wrap}.queue-order strong,.queue-batch strong{font-size:13px}.queue-batch-actions{display:grid;gap:10px}.queue-batch-actions .button{width:100%}.queue-panel .receipt-summary>div:last-child strong{font-size:14px}.queue-panel .help{font-size:10px}}
.queue-check strong{overflow-wrap:anywhere}.queue-panel .queue-all{font-size:12px}

/* Operação diária: resumo, etapas e conferências manuais. */
.admin-main{font-size:16px}.admin-main p,.admin-main label,.admin-main .help,.admin-product p,.queue-order p,.queue-order ul,.queue-batch p,.queue-batch ul{font-size:16px;line-height:1.7;color:#47382d}.admin-main button,.admin-main .button,.admin-tabs a{font-size:15px;min-height:46px}.admin-main input,.admin-main select,.admin-main textarea{font-size:16px}.admin-main .eyebrow{font-size:12px;color:#5e4837}.admin-tabs{gap:20px;overflow-x:auto;white-space:nowrap}.admin-tabs a{display:inline-flex;align-items:center}.admin-overview{background:#fffaf2;border:1px solid #d1bfa9;border-radius:16px;padding:28px;margin:28px 0;scroll-margin-top:165px}.admin-overview h2{font-size:28px;margin:0}.overview-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.overview-cards a{display:flex;flex-direction:column;gap:12px;border:1px solid #d4c5b2;border-radius:12px;padding:20px;background:#f4ece1;text-decoration:none}.overview-cards strong{font-size:36px;color:#491d29}.overview-cards small{font-size:14px;text-decoration:underline}.overview-cards span{color:#48382e;font-size:16px}.overview-shortcuts,.workflow-actions{display:flex;gap:12px;flex-wrap:wrap}.overview-shortcuts a,.workflow-actions button{border:1px solid #baa48b;border-radius:8px;padding:12px 16px;background:#fffaf2;color:#491d29;text-decoration:none}.overview-shortcuts{margin-top:24px}.overview-lot,.overview-supplier{padding:20px;border-top:1px solid #d1bfa9}.overview-lot progress{width:100%;height:16px;accent-color:#491d29}#overview-next{display:grid;grid-template-columns:1fr 1fr;gap:16px}.queue-filters{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-top:24px}.order-workflow{padding:15px;background:#eee4d7;border-radius:10px}.order-workflow small,.queue-order small,.queue-batch small{font-size:14px;color:#56412f}.queue-order strong,.queue-batch strong{font-size:18px}.queue-state{font-size:14px;color:#491d29;white-space:normal;border-radius:8px}.queue-order,.queue-batch{border-radius:12px}.queue-order details summary{min-height:44px;padding:12px 0;cursor:pointer}.order-workflow li{font-size:14px}.admin-main :focus-visible{outline:3px solid #9a4b00;outline-offset:4px}#resumo,#encomendas{scroll-margin-top:165px}.queue-filters input{min-width:0}
@media(max-width:800px){.overview-cards{grid-template-columns:repeat(2,1fr)}#overview-next{grid-template-columns:1fr}.admin-overview{padding:20px}.admin-overview h2{font-size:24px}.admin-overview .panel-top{gap:16px;align-items:flex-start}}
@media(max-width:600px){.admin-main{padding:24px 14px}.admin-header{padding:0 16px}.admin-tabs{gap:16px}.admin-tabs a{font-size:15px}.overview-cards{gap:10px}.overview-cards a{padding:15px}.overview-cards span{font-size:15px}.overview-cards strong{font-size:30px}.queue-filters{grid-template-columns:1fr}.overview-shortcuts,.workflow-actions{display:grid;grid-template-columns:1fr}.overview-shortcuts a,.workflow-actions button{width:100%;text-align:center}.queue-order header{display:grid;gap:14px}.queue-order strong{font-size:18px}.queue-order p,.queue-order ul,.queue-panel .help,.receiving-panel .help{font-size:16px}.queue-order small,.queue-batch small{font-size:14px}.admin-product{flex-wrap:wrap}.product-copy{flex:1}.product-values{margin-left:auto}.product-copy h3{font-size:17px}.product-copy p{font-size:14px}.product-values strong{font-size:18px}.product-values button{font-size:16px}.stats span{font-size:14px}.overview-lot,.overview-supplier{padding:16px 0}.admin-overview .panel-top{flex-wrap:wrap}#resumo,#encomendas{scroll-margin-top:150px}}

#workflow-dialog{max-width:580px;height:auto;border-radius:14px;padding:0}.workflow-review{padding:28px;font-size:18px;line-height:1.7}.workflow-review h2{font-size:26px}.workflow-review button{font-size:17px}.workflow-review .help{font-size:16px;color:#50402f}@media(max-width:600px){#workflow-dialog{width:calc(100% - 28px);max-height:90dvh;margin:auto}.workflow-review{padding:22px}}

#vendas{scroll-margin-top:165px;margin:26px 0}.sales-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:start}.sales-cart{position:sticky;top:155px;background:#f1e7da;border:1px solid #cebca3;border-radius:12px;padding:22px}.sale-result{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #d7c9b8;padding:18px 0;align-items:center}.sale-result strong{font-size:17px}.sale-result p{font-size:15px;margin:6px 0}.sale-result button,.sale-line button,.sale-history>button{border:1px solid #bda88f;border-radius:8px;background:#fffaf2;color:#491d29;padding:10px 14px;font-size:16px;min-height:46px}.sale-line{display:grid;gap:8px;border-bottom:1px solid #c7b59e;padding:15px 0}.sale-line div{display:flex;align-items:center;gap:12px}.sale-line small{font-size:16px}.sales-cart #sales-review{width:100%;margin-top:16px;font-size:16px}.sale-history{padding:22px;border:1px solid #d2bea4;border-radius:12px;margin:16px 0}.sale-history header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.sale-history summary{cursor:pointer;padding:12px 0;min-height:44px}.sale-history li{font-size:16px;line-height:1.7}#sales-dialog{max-width:600px;height:auto;padding:0;border-radius:14px}#sales-dialog button{font-size:16px}.sales-panel>h3{margin-top:36px}.sales-panel .receipt-summary strong{font-size:26px}.sales-panel #sales-total{font-size:23px;font-weight:600}.sale-result>div{min-width:0;overflow-wrap:anywhere}.sales-cart h3{margin-top:0}
@media(max-width:800px){.sales-layout{grid-template-columns:1fr}.sales-cart{position:static}.sales-panel .receipt-summary{grid-template-columns:1fr 1fr}.sales-panel .receipt-summary>div:last-child{grid-column:1/-1}}
@media(max-width:600px){#vendas{scroll-margin-top:150px}.sale-history{padding:16px}.sale-result{align-items:flex-start}.sale-result button{padding:10px}.sales-cart{padding:18px}#sales-dialog{width:calc(100% - 28px);max-height:90dvh;margin:auto}.sale-line div{gap:10px;flex-wrap:wrap}.sale-history>button{width:100%}}

.sales-panel .receipt-summary span{font-size:15px;color:#48382e;line-height:1.5}.sales-cart{scroll-margin-top:155px}#sales-mobile-cart{display:none}@media(max-width:600px){body{padding-bottom:85px}#sales-mobile-cart:not([hidden]){display:block;position:fixed;bottom:14px;left:16px;right:16px;z-index:30;background:#491d29;color:#fffaf2;border:0;border-radius:12px;padding:16px;font-size:16px;box-shadow:0 4px 20px #0003;min-height:52px}.sales-panel .receipt-summary span{font-size:14px}}

.admin-tabs a[aria-current="page"]{font-weight:700;color:#491d29;border-bottom:3px solid #491d29}.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.admin-pagination button{border:1px solid #bda88f;background:#fffaf2;color:#491d29;padding:10px 15px;border-radius:8px;min-height:44px}.admin-pagination span{font-size:15px}.admin-main .page-heading{margin-bottom:22px}.admin-main .page-heading h1{font-size:34px;margin:12px 0}.sales-panel #sales-history{max-height:650px;overflow:auto;padding-right:5px}@media(max-width:600px){.admin-main{padding-top:16px}.admin-overview{margin-top:16px}.admin-main .page-heading h1{font-size:30px}.admin-main .page-heading .button{margin-top:12px}.sales-panel #sales-history{max-height:550px}}

#customer-message-dialog{width:calc(100% - 28px);max-width:680px;max-height:90dvh;height:auto;padding:0;border-radius:14px}#customer-message-text{width:100%;min-height:240px;max-height:42dvh;font-size:17px;line-height:1.6}#customer-message-dialog .workflow-actions{position:sticky;bottom:0;background:#fffaf2;padding:12px 0}#customer-message-dialog a.button{font-size:17px}

#operations-dialog{width:calc(100% - 28px);max-width:580px;max-height:90dvh;height:auto;padding:0;border-radius:14px}
