*{box-sizing:border-box}body{margin:0;font:16px Arial,sans-serif;background:#f6f8f2;color:#172611}header{display:flex;align-items:center;gap:18px;background:#10170c;color:#fff;padding:22px 5vw}header strong{font-size:28px;color:#8bc448}header button{margin-left:auto}main{max-width:1150px;padding:25px;margin:auto}.notice{padding:15px;background:#fff1c7;border-radius:12px}.box{max-width:460px;margin:45px auto;background:#fff;padding:28px;border:1px solid #dce4d5;border-radius:18px}h1{font-size:28px}label{display:block;margin:15px 0}input,button{font:inherit;padding:12px;border-radius:9px}input{width:100%;border:1px solid #cbd5c3}button{border:0;background:#438000;color:#fff;font-weight:bold;cursor:pointer}button:disabled{opacity:.6;cursor:wait}.heading{display:flex;align-items:center;justify-content:space-between}nav{display:flex;gap:12px;margin:25px 0}.row{display:grid;grid-template-columns:2fr 120px 120px auto;gap:15px;align-items:center;background:white;border:1px solid #dce4d5;padding:16px;border-radius:12px;margin:12px 0}.row small{display:block;color:#63705a}.row label{margin:0;font-size:13px}.order{background:#fff;border-radius:12px;border:1px solid #dce4d5;padding:18px;margin:12px 0}.cancelled{background:#eee;color:#687160}#status{padding:15px;font-weight:bold}#status.error{color:#a52218}.box p{line-height:1.5;font-size:14px;color:#5b6854}[hidden]{display:none!important}@media(max-width:650px){.row{grid-template-columns:1fr 1fr}.row>div{grid-column:1/-1}header span{font-size:12px}main{padding:15px}}
.receipt-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.receipt-settings{padding:18px;border:1px solid #d3dec8;border-radius:14px;margin:20px 0;background:white}.receipt-settings select{display:block;padding:10px;font:inherit;margin:8px 0}.receipt-settings button{margin:5px 8px 5px 0}
.receipt-preview{display:block;width:100%;height:520px;background:white;border:1px solid #d3dec8;border-radius:12px;margin:14px 0}.print-form{max-width:650px}.print-form input[type=checkbox]{width:22px;height:22px;margin-left:12px}.receipt-settings select{width:100%;max-width:650px}
.order select{display:block;max-width:100%;padding:12px;font:inherit;border-radius:10px;border:1px solid #d3dec8;margin:10px 0}.order.cancelled{opacity:.75;border-left:5px solid #a62e2e}
.orders-scroll{overflow-x:auto;background:#fff;border:1px solid #dce4d5;border-radius:12px}.orders-table{width:100%;min-width:1100px;border-collapse:collapse;text-align:left;font-size:15px}.orders-table caption{text-align:left;padding:16px;font-weight:bold}.orders-table th{color:#63705a;font-size:13px;background:#f6f8f2;padding:12px}.orders-table td{vertical-align:top;padding:15px 12px;border-top:1px solid #e3e8dd;overflow-wrap:anywhere}.orders-table td:nth-child(2){min-width:120px}.orders-table td:nth-child(3){min-width:145px}.orders-table td:nth-child(4){min-width:180px}.orders-table td:nth-child(5){min-width:225px}.orders-table td:nth-child(6){white-space:nowrap}.orders-table small{display:block;margin-top:5px}.order-item-list{margin:0;padding:0;list-style:none}.order-item-list li+li{margin-top:10px}.order-notes{white-space:pre-wrap;line-height:1.5}.order-status label{margin:0;font-size:12px}.order-status select{display:block;padding:10px;font:inherit;max-width:180px;margin:8px 0;border:1px solid #cbd5c3;border-radius:9px}.order-status button{font-size:13px;padding:10px}.orders-table .receipt-actions{margin:0;display:flex;flex-direction:column;gap:8px}.orders-table .receipt-actions button{background:white;border:1px solid #cbd5c3;color:#172611;white-space:nowrap;font-size:13px;padding:10px}.orders-table .cancelled{text-decoration:none}
/* Espaço reservado para identificação e leitura, sem espremer os pedidos. */
main:has(#orders:not([hidden])){max-width:1680px}
.orders-table{min-width:1380px;line-height:1.45}
.orders-table th,.orders-table td{padding:16px 18px}
.orders-table th:first-child,.orders-table td:first-child{min-width:125px;width:125px;white-space:nowrap;overflow-wrap:normal}
.orders-table td:first-child strong{display:block;font-size:18px;line-height:1.5}
.orders-table td:first-child small{font-size:13px;white-space:nowrap}
.orders-table th:nth-child(2),.orders-table td:nth-child(2){min-width:155px;width:155px;overflow-wrap:normal}
.orders-table th:nth-child(3),.orders-table td:nth-child(3){min-width:185px}
.orders-table th:nth-child(4),.orders-table td:nth-child(4){min-width:210px}
.orders-table th:nth-child(5),.orders-table td:nth-child(5){min-width:270px}
.orders-table th:nth-child(6),.orders-table td:nth-child(6){min-width:125px}
.orders-table th:nth-child(7),.orders-table td:nth-child(7){min-width:175px}
.orders-table th:nth-child(8),.orders-table td:nth-child(8){min-width:150px}
nav{flex-wrap:wrap}nav button.active{background:#172611;box-shadow:inset 0 -3px #8bc448}
.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.dashboard-card{background:#fff;border:1px solid #dce4d5;border-radius:14px;padding:20px;min-width:0}.dashboard-card span{display:block;color:#536548;font-size:14px}.dashboard-card strong{display:block;font-size:29px;line-height:1.3;margin:12px 0;color:#284c12;overflow-wrap:anywhere}.dashboard-card small{display:block;color:#63705a;line-height:1.5}.dashboard-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-block{background:#fff;border:1px solid #dce4d5;border-radius:14px;padding:20px;min-width:0}.dashboard-block h3{margin-top:0;font-size:17px}.dashboard-block ul{padding-left:20px;max-height:320px;overflow-y:auto;line-height:1.6}.dashboard-block li{margin-bottom:10px;overflow-wrap:anywhere}.dashboard-status-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e6ebdf}#dashboard>p{line-height:1.6;color:#536548}@media(max-width:950px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-details{grid-template-columns:1fr}}@media(max-width:480px){.dashboard-cards{grid-template-columns:1fr}.dashboard-card strong{font-size:26px}}
.counter-form{border:1px solid #dce4d5;border-radius:14px;padding:22px;background:white;max-width:850px;margin:20px 0}.counter-form select{width:100%;padding:12px;font:inherit;border:1px solid #cbd5c3;border-radius:9px}.counter-form input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin:0 10px}.counter-extras{display:flex;flex-wrap:wrap;gap:8px 20px}.counter-extras label{font-size:14px}.counter-cart-line{display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid #dce4d5;padding:12px 0}.counter-cart-line p{line-height:1.6}.counter-cart-line button{font-size:13px;flex-shrink:0}.counter-total{display:block;font-size:24px;margin:22px 0}#counter>p{line-height:1.6}#counter>div{margin:16px 0}
.nav-draggable{cursor:grab}.nav-draggable:active{cursor:grabbing}.nav-draggable.nav-dragging{opacity:.45}.nav-draggable.nav-drop-target{outline:3px dashed #8bc448;outline-offset:4px}.nav-layout-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-10px 0 25px}.nav-layout-tools small{width:100%;color:#63705a;line-height:1.5}.nav-layout-tools>button,.nav-layout-editor button{background:#fff;color:#284c12;border:1px solid #cbd5c3;padding:8px 12px;font-size:13px}.nav-layout-tools>span{font-size:13px;color:#536548}.nav-layout-editor{width:100%;max-width:550px;background:#fff;padding:15px;border:1px solid #dce4d5;border-radius:12px}.nav-layout-editor>div{display:flex;gap:10px;align-items:center;padding:8px 0}.nav-layout-editor span{flex:1}.nav-layout-editor button:disabled{opacity:.4;cursor:default}
.pwa-install{background:#fff;border:1px solid #dce4d5;border-radius:14px;padding:18px;margin:18px 0}.pwa-install p{font-size:14px;line-height:1.6;color:#536548}.pwa-install summary{cursor:pointer;font-size:14px;color:#284c12;margin-top:12px}.pwa-install button{margin:8px 0}.pwa-offline-warning{padding:16px;background:#fff1c7;border:1px solid #c59635;border-radius:12px;line-height:1.6}
.order-sound{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:white;border:1px solid #dce4d5;border-radius:14px;padding:18px;margin:20px 0}.order-sound>p,.order-sound>small{width:100%;margin:0;line-height:1.5}.order-sound>small{color:#63705a}.order-sound label{display:flex;gap:10px;align-items:center;margin:0}.order-sound input{width:120px;padding:0}.order-sound-notice{background:#fff1c7;padding:14px;border-radius:10px}.order-sound-notice button{margin-left:12px}
#settings .nav-layout-tools{margin:20px 0;padding:20px;background:white;border:1px solid #dce4d5;border-radius:14px}#settings .nav-layout-tools h3{width:100%;margin:0 0 8px;font-size:17px}
