.admin-body{background:#100e0c;color:#f4e9d8;min-height:100vh}.admin-app{display:flex;min-height:100vh}.admin-sidebar{width:257px;flex:none;background:#13100d;border-right:1px solid #32281d;min-height:100vh;position:sticky;top:0;align-self:flex-start;height:100vh;display:flex;flex-direction:column;padding:29px 13px 18px;z-index:90}.admin-brand{display:flex;align-items:center;gap:11px;margin-bottom:57px;padding:0 10px}.admin-brand img{width:56px;height:56px;object-fit:contain}.admin-brand b{display:block;font:700 21px var(--serif);color:#efca84;letter-spacing:1px}.admin-brand small{font-size:8px;letter-spacing:1.5px;color:#af8553;font-weight:800}.sidebar-label{font-size:9px;font-weight:800;letter-spacing:2.2px;color:#796f60;margin:0 13px 20px}.sidebar-nav{display:flex;flex-direction:column;gap:7px}.sidebar-nav>a{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:46px;font-weight:700;font-size:12px;color:#a89f92;border:1px solid transparent;border-radius:9px;transition:background .18s,color .18s,border-color .18s}.sidebar-nav>a:hover{color:#f7deb5;background:#241c12}.sidebar-nav>a.selected{color:#f2c875;background:#352516;border-color:#584027}.nav-icon{font-size:19px;display:inline-grid;place-items:center;width:25px;line-height:1}.sidebar-pill{background:#ad7128;color:#fff8e7;border-radius:15px;font-size:10px;padding:2px 6px;margin-left:auto}.sidebar-pill[hidden]{display:none}.sidebar-foot{border-top:1px solid #30261c;margin-top:auto;padding:18px 10px 0;display:flex;flex-direction:column;gap:9px}.sidebar-foot a,.sidebar-foot button{padding:6px 0;font-size:12px;color:#bba88a;font-weight:700;text-align:left;border:0;background:transparent;cursor:pointer}.sidebar-foot a:hover,.sidebar-foot button:hover{color:var(--gold)}.admin-main{flex:1;min-width:0;display:flex;flex-direction:column}.admin-topbar{height:80px;border-bottom:1px solid #302920;background:#15120f;display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:60}.topbar-left,.topbar-right{display:flex;gap:16px;align-items:center}.admin-breadcrumb{color:#e4d4bc;font-size:10px;font-weight:900;letter-spacing:1.35px}.admin-breadcrumb span{color:#8f826e}.admin-live-dot{width:7px;height:7px;background:#39c188;box-shadow:0 0 10px #39c18888}.admin-live-text{font-size:11px;color:#a9af9f}.sound-toggle{padding:8px 11px;color:#edc98b;border:1px solid #5d492e;background:#21190f;font-size:11px;border-radius:8px;font-weight:800}.sound-toggle[aria-pressed=true]{background:#2c361c;color:#b7e194;border-color:#58713c}.admin-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#c18937,#f3d18e);color:#211506;font-size:15px;font-weight:900}.admin-avatar.big{width:58px;height:58px;font-size:25px}.sidebar-toggle{display:none;background:#2b2014;color:#efc47c;border:1px solid #4a3927;border-radius:8px;padding:5px 9px;font-size:20px}.admin-content{width:100%;max-width:1600px;margin:0 auto;padding:35px 38px 75px;flex:1}.admin-footer{padding:15px 35px;color:#817666;font-size:10px;border-top:1px solid #31281d}.admin-footer span{padding:0 8px;color:#967747}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px}.admin-heading h1{font:700 clamp(29px,3vw,40px) var(--serif);margin:7px 0 8px}.admin-heading p{font-size:13px;color:#a49b8e;margin:0}.admin-card{border:1px solid #393025;background:#191511;border-radius:12px;padding:25px;margin-bottom:23px;min-width:0}.admin-card h2{font:700 21px var(--serif);margin:0 0 17px;color:#f9e9ce}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.stat-card{padding:23px;background:linear-gradient(135deg,#21190f,#191511);border:1px solid #3f3323;border-radius:12px;min-height:180px}.stat-icon{float:right;display:grid;place-items:center;width:36px;height:36px;background:#513920;color:#ffcc7b;border:1px solid #70512c;border-radius:9px;font-size:20px}.stat-card>span{font-size:12px;font-weight:650;color:#b9aa92;display:block;margin-top:5px}.stat-card>strong{font-size:35px;line-height:1.1;color:#f9ebcf;display:block;margin-top:17px}.stat-card>strong.stat-money{font-size:25px;padding-top:7px}.stat-card>small{display:block;color:#8d8577;font-size:11px;margin-top:12px}.admin-two-columns{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.card-heading h2{margin:0;font:700 20px var(--serif)}.card-heading p{margin:4px 0 0;color:#8b8378;font-size:12px}.small-legend{font-size:11px;color:#c69b54}.chart-bars{display:flex;align-items:end;gap:20px;height:205px;padding-top:16px}.chart-col{flex:1;display:flex;align-items:center;flex-direction:column;gap:9px;height:100%;min-width:0;color:#93897b;font-size:11px}.chart-value{color:#eec881;font-size:12px;font-weight:800}.chart-track{height:150px;background:#30271c;width:100%;max-width:53px;border-radius:7px 7px 0 0;display:flex;align-items:end;overflow:hidden}.chart-track>span{width:100%;background:linear-gradient(#f3c879,#926426);border-radius:6px 6px 0 0;min-height:3px}.small-link{color:#d9af68;font-size:12px;font-weight:800}.quick-actions{display:flex;flex-direction:column}.quick-actions>a{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #362b20}.quick-actions>a:last-child{border-bottom:0}.quick-actions>a>span{width:40px;height:40px;flex:none;display:grid;place-items:center;background:#302518;color:var(--gold);border-radius:9px;font-size:23px}.quick-actions>a div{flex:1}.quick-actions strong,.quick-actions small{display:block}.quick-actions strong{font-size:13px;color:#f2ddbc}.quick-actions small{font-size:10px;color:#8f8679;margin-top:3px}.quick-actions b{color:var(--gold);font-size:16px}.table-scroll{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.data-table th{text-align:left;color:#998975;font-weight:800;font-size:10px;letter-spacing:1px;text-transform:uppercase;padding:15px 16px;border-bottom:1px solid #473729;background:#211a13}.data-table td{padding:16px;border-bottom:1px solid #302820;color:#dfd0ba}.data-table tbody tr:hover{background:#241c15}.data-table tbody tr:last-child td{border-bottom:0}.data-table td strong{font-weight:800;color:#f2e1c5}.table-empty{text-align:center;color:#988b79!important;padding:30px!important}.status{border:1px solid transparent;border-radius:7px;padding:5px 10px;font-size:10px;font-weight:850;white-space:nowrap;display:inline-block}.status-novo{color:#f8c97f;background:#412e17;border-color:#6f4a1b}.status-em_atendimento{color:#93c2ff;background:#192c49;border-color:#365577}.status-concluido{color:#91e6b3;background:#163d27;border-color:#2f6644}.status-cancelado{color:#eea8a4;background:#492320;border-color:#763b37}.muted{color:#978b7b;font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.toolbar-search{display:flex;max-width:450px;flex:1;gap:8px}.toolbar-search input{flex:1;min-width:0}.toolbar-search button{background:#40301b;color:var(--gold);border:1px solid #67502a;border-radius:8px;padding:9px 15px;font-weight:750;white-space:nowrap}.table-product{display:flex;align-items:center;gap:13px;min-width:175px}.table-product img{width:52px;height:52px;object-fit:cover;border-radius:7px;border:1px solid #51402e}.table-product strong,.table-product small{display:block}.table-product small{color:#d49e42;font-size:10px;margin-top:4px}.table-actions{display:flex;gap:9px;align-items:center}.table-actions form{display:inline}.icon-link{color:#cba966!important;background:transparent;border:0;font-size:11px;font-weight:800;padding:4px 2px}.icon-link:hover{text-decoration:underline}.icon-link.danger{color:#e78b81!important}.admin-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.form-sidebar{position:sticky;top:110px}.form-group{margin-bottom:23px}.form-group label{display:block;margin-bottom:9px;color:#e3d2b9;font-size:12px;font-weight:750}.form-group small{display:block;margin-top:7px;color:#8b8377;font-size:11px}.form-group input,.form-group textarea,.form-group select{background:#100f0d}.form-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:17px}.check-row{display:flex;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid #3c3021;cursor:pointer}.check-row input{margin-top:4px;accent-color:#d7a34f}.check-row span{display:block}.check-row strong,.check-row small{display:block}.check-row strong{font-size:12px;color:#f5e2c4}.check-row small{font-size:10px;color:#968777;margin-top:3px}.form-sidebar .btn{margin-top:22px}.upload-area{border:1px dashed #8b632e;padding:30px 20px;text-align:center;border-radius:9px;background:#221a11}.upload-area span{font-size:36px;display:block;color:#d6a454}.upload-area strong{font-size:13px;color:#f9ddb1}.upload-area p{font-size:11px;color:#a79881;margin:4px 0 18px}.upload-area input{width:100%;font-size:11px;color:#c7b59a}.upload-area input::file-selector-button{background:#503b1e;color:#f4d9a6;border:1px solid #886537;padding:8px 14px;border-radius:7px;cursor:pointer}.existing-photos{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.existing-photo{width:110px;height:110px;position:relative;border-radius:7px;overflow:hidden;background:#2b2116;border:1px solid #6d502c}.existing-photo img{width:100%;height:100%;object-fit:cover}.existing-photo button{position:absolute;top:5px;right:5px;border:0;background:#8b2926;color:white;border-radius:5px;padding:3px 7px}.admin-side-note{border:1px solid #6a4c27;background:#281d10;padding:22px;border-radius:10px;color:#d4b789}.admin-side-note strong{font-size:13px;color:#f6d393}.admin-side-note p{margin:10px 0 0;font-size:12px;line-height:1.7}.settings-form{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px;align-items:start}.settings-form .admin-card{max-width:800px}.status-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.status-tabs a{border:1px solid #4b3a27;border-radius:8px;font-size:11px;padding:9px 13px;color:#c2b29c;font-weight:700}.status-tabs a.active,.status-tabs a:hover{background:#4a321b;color:#f5c675;border-color:#826034}.status-tabs span{color:var(--gold);margin-left:5px}.orders-list{display:grid;gap:17px}.order-card{margin-bottom:0}.order-card-top{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:16px}.order-kicker{color:#a89068;font-size:10px;font-weight:800;letter-spacing:1px}.order-kicker span{padding:0 8px}.order-card-top h2{font:700 21px var(--serif);margin:10px 0 5px}.order-card-top p{color:#a99a85;font-size:12px;margin:0}.order-card-price{text-align:right}.order-card-price strong{display:block;color:var(--gold);font-size:23px;margin-bottom:9px}.order-lines{border-top:1px solid #3e3022;padding:7px 0}.order-lines>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;font-size:12px;color:#d6c6ae}.order-lines b{white-space:nowrap}.order-notes{background:#241c15;border:1px solid #4b3825;padding:13px;border-radius:8px;font-size:12px;margin:10px 0;color:#c4b49d}.order-status-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:20px;border-top:1px solid #3e3022;margin-top:12px}.order-status-form label{color:#a89982;font-size:11px;font-weight:800}.order-status-form select{max-width:215px;font-size:12px}.category-row{border-top:1px solid #3d3122;padding:13px 0;display:flex;align-items:center;gap:12px}.category-edit{flex:1;display:flex;align-items:center;gap:12px;min-width:0}.category-edit input{flex:1;min-width:80px}.category-edit small{color:#8d8170;font-size:11px;white-space:nowrap}.account-summary{display:flex;align-items:center;gap:13px;padding:10px 0 25px;margin-bottom:25px;border-bottom:1px solid #3f3222}.account-summary strong,.account-summary small{display:block}.account-summary small{color:#a59783}.settings-form form .btn{margin-top:18px}.toast-area{position:fixed;z-index:200;right:24px;bottom:24px;display:flex;flex-direction:column;gap:12px;pointer-events:none}.admin-toast{pointer-events:auto;display:block;width:min(330px,calc(100vw - 40px));border:1px solid #c39348;background:#322215;box-shadow:0 10px 40px #0009;border-left:5px solid var(--gold);border-radius:9px;padding:16px;color:#ffe8c0;animation:riseIn .25s ease}.admin-toast strong,.admin-toast span{display:block}.admin-toast span{color:#d2bc97;font-size:12px;margin-top:5px}.login-body{min-height:100vh;background:#0d0b09}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 28%,#432a13,#110e0b 65%);padding:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.login-art:after{content:'';position:absolute;inset:25px;border:1px solid #8d61294b;pointer-events:none}.login-art img{height:320px;width:320px;object-fit:contain;margin-bottom:20px;filter:drop-shadow(0 20px 28px #0008)}.login-art>span{font-size:9px;color:#b99258;letter-spacing:3px;font-weight:850}.login-art h1{font:700 42px/1.15 var(--serif);margin:18px 0}.login-art p{color:#a99a86;max-width:380px}.login-area{display:grid;place-items:center;padding:40px}.login-panel{width:min(100%,400px)}.login-panel h1{font:700 42px var(--serif);margin:16px 0}.login-panel>p{color:#a89b88;font-size:13px;margin-bottom:30px}.login-panel label{display:block;font-size:12px;color:#e1cda9;margin:18px 0 7px;font-weight:800}.login-panel input{min-height:50px}.login-panel button{margin-top:26px}.login-back{display:block;text-align:center;margin-top:25px;color:#a9936d;font-size:12px}.login-back:hover{color:var(--gold)}
@media(max-width:1200px){.admin-sidebar{width:229px}.admin-content{padding:30px 24px}.admin-topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:150px}}
@media(max-width:980px){.admin-two-columns{grid-template-columns:1fr}.admin-form-grid,.settings-form{grid-template-columns:1fr}.form-sidebar{position:static}.login-art{padding:38px}.login-art img{width:240px;height:240px}.login-art h1{font-size:33px}}
@media(max-width:760px){.admin-sidebar{position:fixed;left:0;top:0;bottom:0;transform:translateX(-110%);transition:transform .22s;width:260px;box-shadow:20px 0 50px #0009}.admin-sidebar.open{transform:translateX(0)}.sidebar-toggle{display:inline-block}.admin-content{padding:28px 17px}.admin-topbar{height:68px;padding:0 17px}.admin-breadcrumb{display:none}.topbar-right{gap:8px}.admin-live-text{display:none}.sound-toggle{font-size:10px;padding:7px}.admin-heading{align-items:start;flex-direction:column}.admin-heading .btn{min-height:42px}.admin-card{padding:17px}.admin-footer{padding:15px 17px}.login-screen{display:block}.login-art{min-height:280px;padding:25px}.login-art img{width:150px;height:150px}.login-art h1{font-size:26px;margin:8px 0}.login-art p{display:none}.login-area{padding:46px 22px}.login-panel h1{font-size:34px}}
@media(max-width:510px){.stats-grid{gap:10px}.stat-card{padding:15px;min-height:135px}.stat-card>strong{font-size:28px}.stat-card>strong.stat-money{font-size:19px}.stat-card>span{font-size:11px}.stat-card>small{font-size:10px}.stat-icon{width:29px;height:29px;font-size:16px}.chart-bars{gap:8px}.chart-track{height:135px}.chart-col{font-size:9px}.chart-value{font-size:10px}.admin-heading h1{font-size:30px}.table-actions{gap:6px}.order-card-top{flex-direction:column;gap:12px}.order-card-price{text-align:left}.order-card-price strong{display:inline;margin-right:20px}.category-row{align-items:start;flex-direction:column}.category-edit{width:100%}.form-grid-two{grid-template-columns:1fr}}

/* CARUSO V2 | sabores individuais, respostas rápidas e endereço de pedidos */
.settings-stacked{display:grid;gap:20px;min-width:0}
.settings-stacked .admin-card{margin:0;max-width:100%}
.settings-stacked .eyebrow{margin-bottom:12px}
.settings-stacked h2{margin:0 0 18px}
.settings-stacked .admin-card>p{margin:0 0 17px;line-height:1.6}
.settings-tip{border:1px solid #705029;background:#2a2115;color:#d9bb87;font-size:12px;line-height:1.6;border-radius:8px;padding:13px 15px}
.settings-stacked code{color:#f7c477;background:#2d2113;padding:2px 5px;border-radius:4px;font-size:11px}
.settings-stacked .btn{margin-top:4px}
.options-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;flex-wrap:wrap}
.options-title h2{margin:0 0 4px}
.options-title p{margin:0}
.options-manager{display:grid;gap:9px;margin:4px 0 14px}
.option-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 162px 36px;gap:10px;align-items:center}
.option-editor-row input,.option-editor-row select{font-size:12px;min-width:0}
.option-editor-row select{color:#e8d6b8}
.option-remove{height:42px;border:1px solid #70473b;background:#3a2420;color:#f4b4a1;border-radius:8px;font-size:15px}
.option-remove:hover{background:#63302a}
.order-address{padding:16px 18px;background:#1e1c16;border:1px solid #55412b;border-radius:10px;margin:13px 0;color:#ddc7a9}
.order-address strong{font-size:12px;color:#efca87;letter-spacing:.2px}
.order-address p{margin:8px 0 0;font-size:12px;line-height:1.9;color:#d2c3aa}
.order-quick-reply{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0 5px;padding:15px 18px;border-radius:10px;border:1px solid #3b7951;background:#153024}
.order-quick-reply strong{font-size:12px;color:#a7ebbd}
.order-quick-reply p{font-size:11px;color:#9abcaa;margin:4px 0 0}
.order-quick-reply .btn{flex-shrink:0;min-height:40px;max-width:100%;font-size:11px;padding:8px 12px}
@media(max-width:760px){.option-editor-row{grid-template-columns:minmax(0,1fr) 140px 33px;gap:7px}.order-quick-reply{align-items:stretch;flex-direction:column}.order-quick-reply .btn{width:100%}}
@media(max-width:430px){.option-editor-row{grid-template-columns:1fr 36px}.option-editor-row input{grid-column:1/-1}.option-editor-row select{grid-column:1}.option-editor-row .option-remove{grid-column:2}}

/* CARUSO V3 | Pagamento em pedidos e dashboard */
.order-payment{display:flex;align-items:center;gap:13px;background:#2a2115;border:1px solid #72532d;border-radius:10px;padding:13px 18px;margin:12px 0;color:#eccf9b}
.order-payment>span{font-size:23px}
.order-payment strong{display:block;font-size:11px;letter-spacing:.4px;color:#bea784;text-transform:uppercase}
.order-payment p{margin:3px 0 0;font-size:14px;color:#f7d493;font-weight:800}
.payment-mini{display:inline-block;white-space:normal;font-size:11px;color:#f1cf8a;font-weight:750}
.payment-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:-11px 0 20px}
.payment-filters>span{font-size:11px;font-weight:750;color:#b5a38a;margin-right:5px}
.payment-filters>a{display:inline-flex;padding:6px 12px;border-radius:7px;border:1px solid #51402e;color:#c8b393;font-size:11px;font-weight:750}
.payment-filters>a.active,.payment-filters>a:hover{background:#3e2b17;border-color:#a8793d;color:#ffdb98}

/* ================================================================
   CARUSO V4 — CENTRAL DE PEDIDOS COMPACTA E ALERTAS
   Layout escalável: 15 linhas por página, detalhes sob demanda.
   ================================================================ */
.orders-v4{--orders-border:#433220;--orders-soft:#a99b88;--orders-amber:#f4c274;--orders-panel:#19140f}
.orders-v4 [hidden],.orders-attention[hidden],.orders-updated[hidden],.topbar-orders-notice[hidden]{display:none!important}
.orders-v4 .orders-title{gap:15px;margin-bottom:23px}
.orders-heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.orders-refresh{border:1px solid #60472b!important;background:#231b13!important;color:#edc78a!important;min-height:41px;padding:10px 16px;font-size:12px}
.orders-refresh:hover{background:#3c2a19!important}
.orders-attention{border:1px solid #b17a32;background:linear-gradient(110deg,#3d2711,#261b11 65%,#21170f);box-shadow:inset 3px 0 #f2b958,0 5px 24px #0002;color:#f9e4c5;border-radius:12px;padding:17px 20px;display:flex;align-items:center;gap:16px;margin:0 0 23px;min-width:0}
.orders-attention-icon{width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:11px;border:1px solid #ae7937;background:#4b3117;font-size:22px;animation:orders-attention-pulse 2.8s infinite}
.orders-attention>div{flex:1;min-width:0}.orders-attention strong{font-size:14px;line-height:1.5;color:#ffdc9d}.orders-attention p{font-size:11px;color:#cfaf80;margin:5px 0 0;line-height:1.5}.orders-attention p b{color:#f9cf8d}
.orders-attention>a{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:#dba754;color:#231305;font-size:11px;font-weight:850;white-space:nowrap;padding:11px 15px;border-radius:8px;min-height:41px;transition:background .18s}.orders-attention>a:hover{background:#ffe1a0}
.dashboard-attention{margin-bottom:24px}
.orders-updated{background:#243629;border:1px solid #468457;border-radius:9px;color:#d7f6df;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;font-weight:700;margin:-10px 0 22px}
.orders-updated a{color:#a3efbd;font-weight:800;white-space:nowrap}
.topbar-orders-notice{display:inline-flex;align-items:center;gap:8px;border:1px solid #9b692f;border-radius:9px;padding:8px 10px;color:#f7d391;background:#3d2918;font-weight:800;font-size:11px;white-space:nowrap;animation:orders-attention-border 3.5s infinite}.topbar-orders-notice:hover{background:#56351a;color:#fff0d6}
.topbar-orders-bell{font-size:15px}.topbar-orders-notice b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:7px;background:#f1bb61;color:#201309;padding:0 5px;font-size:11px}
.orders-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.orders-stat{position:relative;min-height:92px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto 1fr;column-gap:12px;align-items:center;min-width:0;background:linear-gradient(150deg,#1f1913,#16120e);border:1px solid #433222;border-radius:12px;padding:16px 17px;transition:border-color .17s,transform .17s,background .17s}
.orders-stat:hover{transform:translateY(-2px);border-color:#b17e43}.orders-stat.is-selected{border-color:#db9c48;background:linear-gradient(135deg,#302318,#1d1711)}
.orders-stat-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#49301d;color:#efb65c;font-weight:900;font-size:19px}
.orders-stat-label{color:#bca88b;font-size:11px;line-height:1.3;font-weight:750}.orders-stat strong{display:block;margin-top:4px;font-size:25px;font-weight:850;color:#f3e1c4;line-height:1}
.orders-stat-novo{border-color:#80602f}.orders-stat-novo .orders-stat-icon{background:#62401b;color:#ffd47b}.orders-stat-novo strong{color:#fbc66e}
.orders-stat-em_atendimento .orders-stat-icon{background:#35334d;color:#b9adfd}.orders-stat-concluido .orders-stat-icon{background:#203a2b;color:#79d7a1}.orders-stat-cancelado .orders-stat-icon{background:#382525;color:#e4a097}
.orders-focus{border:1px solid #7f5b2c;border-radius:9px;padding:13px 16px;margin-bottom:19px;background:#2d2115;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#e9ce9e}.orders-focus a{color:#f4be6c;font-weight:800}
.orders-controls{margin-bottom:21px;display:grid;gap:14px}
.orders-tabs{display:flex;flex-wrap:wrap;gap:8px}
.orders-tabs a{min-height:38px;display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border:1px solid #4b3925;border-radius:9px;color:#bfaf96;background:#1b1610;font-size:11px;font-weight:750;transition:background .18s,border-color .18s}
.orders-tabs a:hover,.orders-tabs a.active{color:#ffda9c;background:#3b2b1a;border-color:#9d7140}.orders-tabs a span{font-size:10px;color:#f5cb84;background:#3b301f;padding:3px 6px;border-radius:6px;line-height:1}
.orders-tabs a.active span{background:#79532e;color:#fff0d2}
.orders-search{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap;border:1px solid #443528;border-radius:12px;background:#1b1610;padding:12px}
.orders-search-field{display:flex;align-items:center;gap:10px;min-width:210px;flex:1}.orders-search-field>span[aria-hidden]{font-size:23px;color:#bd8a4c;line-height:1;padding-left:5px}
.orders-search input,.orders-search select{background:#241d15;border:1px solid #5b442b;color:#eedecc;border-radius:8px;min-height:41px;font-size:12px;min-width:0}
.orders-search input{width:100%;padding:10px 11px}.orders-search select{width:100%;padding:10px 29px 10px 11px}
.orders-search input:focus,.orders-search select:focus{outline:1px solid #cc9b4c;outline-offset:1px}.orders-search input::placeholder{color:#968674}
.orders-payment-select{flex:0 0 175px;min-width:150px}.orders-search .btn{min-height:41px;min-width:90px}.orders-clear{display:inline-flex;align-items:center;padding:0 9px;color:#dac399;font-weight:700;font-size:11px}.orders-clear:hover{color:#ffe0a5}
.orders-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9d8d7c;font-size:11px;margin:0 0 11px;padding:0 3px}.orders-list-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.orders-list-heading strong{color:#f0d1a0;font-size:12px}
.orders-compact-list{border:1px solid #453425;border-radius:12px;background:#18130f;overflow:hidden}
.order-entry{border-bottom:1px solid #3e3024;background:#1a1511;color:#efdfc7}.order-entry:last-child{border-bottom:0}.order-entry-new{background:linear-gradient(90deg,#312216,#1b1511 35%);box-shadow:inset 3px 0 #d7a14c}
.order-entry[open]{background:#201910}.order-entry-new[open]{background:#281d12}
.order-entry-summary{display:grid;grid-template-columns:minmax(105px,0.65fr) minmax(150px,1.7fr) minmax(95px,.65fr) minmax(104px,.75fr) minmax(124px,.95fr) 25px;gap:12px;align-items:center;padding:17px 18px;cursor:pointer;list-style:none;min-height:84px;transition:background .15s}
.order-entry-summary::-webkit-details-marker{display:none}.order-entry-summary:hover{background:#39291a}.order-entry-summary:focus-visible{outline:2px solid #ffca74;outline-offset:-3px}
.order-entry-summary>span{min-width:0}.order-entry-number b{font-size:13px;color:#f7c87b}.order-entry-number small,.order-entry-customer small{display:block;font-size:10px;color:#b19e83;line-height:1.5;margin-top:5px}
.order-entry-customer strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#f6e6d0;font-weight:800}.order-entry-payment{color:#d0b28b;font-size:11px;font-weight:700;overflow-wrap:anywhere}.order-entry-total{font-size:15px;font-weight:850;color:#ffd18a;white-space:nowrap}
.order-entry-state{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.order-entry-state .status{font-size:10px}.order-new-mark{font-size:10px;font-weight:800;color:#e5a84a;white-space:nowrap}
.order-entry-chevron{display:grid;place-items:center;border:1px solid #59432b;width:24px;height:24px;border-radius:7px;color:#e8bd7a;font-size:22px;line-height:1;transition:transform .17s}.order-entry[open] .order-entry-chevron{transform:rotate(180deg)}
.order-detail{border-top:1px solid #6a4a29;padding:20px 22px 23px;background:linear-gradient(#241b13,#1a1510)}
.order-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.order-detail-heading>div>span{font-size:9px;color:#a8875d;letter-spacing:1.4px;font-weight:850}.order-detail-heading h3{font:700 20px var(--serif);color:#f8e0b7;margin:5px 0 0}
.order-detail-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:16px}.order-detail-main,.order-detail-aside{display:grid;align-content:start;gap:12px;min-width:0}
.order-detail-panel{background:#19150f;border:1px solid #51402d;border-radius:10px;padding:17px 18px;min-width:0}.order-detail-panel h4{font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:#d7b27d;margin:0 0 13px;font-weight:850}
.order-detail-panel .order-lines{border-top:1px solid #3d3227;border-bottom:1px solid #3d3227;margin-bottom:12px;padding:3px 0}.order-detail-panel .order-lines>div{font-size:12px;align-items:flex-start}.order-detail-panel .order-lines span{min-width:0;line-height:1.5}.order-detail-panel .order-lines b{color:#f1d2a7}
.order-detail-subtotal{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px;color:#bdad98}.order-detail-subtotal strong{color:#ffd18c;font-size:19px}.order-address-text{margin:0;color:#d9c9b2;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.order-facts{display:grid;gap:11px;margin:0}.order-facts>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #332920;padding-bottom:10px}.order-facts>div:last-child{border-bottom:0;padding-bottom:0}.order-facts dt{font-size:11px;color:#a79377}.order-facts dd{font-size:11px;text-align:right;color:#f1d3a8;font-weight:800;margin:0;overflow-wrap:anywhere}
.order-reply-compact{margin:0;display:flex;align-items:stretch;flex-direction:column;padding:15px 16px;gap:12px}.order-reply-compact .btn{width:100%;justify-content:center}
.order-status-compact{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border:1px solid #4d3d2b;border-radius:10px;background:#1c1711;margin:0}.order-status-compact label{grid-column:1/-1}.order-status-compact select{min-width:0;width:100%;max-width:none;min-height:40px}.order-status-compact button{white-space:nowrap}
.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 0;color:#b8a486;font-size:12px}.orders-pagination>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.orders-pagination a{border:1px solid #51402a;border-radius:8px;padding:9px 11px;min-height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;color:#dec49f;font-weight:800}.orders-pagination a:hover,.orders-pagination a.active{background:#58391c;border-color:#bb8742;color:#fff0cd}
.orders-help{font-size:11px;color:#938572;margin:23px 0 0;line-height:1.6}.orders-help b{color:#e4bd7c}
.orders-v4 .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes orders-attention-pulse{0%,100%{box-shadow:0 0 0 0 #e5a5521c}45%{box-shadow:0 0 0 7px #e5a55205}}
@keyframes orders-attention-border{0%,100%{border-color:#805723}50%{border-color:#d9a04f}}
@media(max-width:1260px){.order-entry-summary{grid-template-columns:minmax(94px,.7fr) minmax(140px,1.5fr) minmax(82px,.6fr) minmax(98px,.8fr) minmax(100px,.85fr) 24px;gap:8px}.order-entry-summary{padding:15px}.orders-stat{padding:14px}}
@media(max-width:1050px){.orders-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.order-entry-summary{grid-template-columns:90px minmax(110px,1fr) minmax(90px,.7fr) 100px 24px}.order-entry-payment{display:none}.order-detail-columns{grid-template-columns:1fr}.topbar-orders-label{display:none}}
@media(max-width:760px){.orders-attention{align-items:flex-start;flex-wrap:wrap;padding:15px}.orders-attention-icon{width:39px;height:39px;font-size:18px}.orders-attention>a{width:100%}.orders-updated{align-items:flex-start;flex-direction:column}.orders-search-field{flex-basis:100%}.orders-payment-select{flex:1}.orders-search .btn{flex:0 0 90px}.order-entry-summary{grid-template-columns:minmax(60px,.5fr) minmax(110px,1.4fr) auto 24px;gap:8px;min-height:80px}.order-entry-total{font-size:12px}.order-entry-state,.order-entry-payment{display:none}.order-entry-customer strong{font-size:12px}.order-entry-number small{font-size:9px}.order-detail{padding:15px}.orders-pagination>span{width:100%}}
@media(max-width:480px){.orders-stat{min-height:78px;padding:11px;grid-template-columns:27px 1fr;gap:8px}.orders-stat-icon{width:27px;height:27px;font-size:15px}.orders-stat-label{font-size:10px}.orders-stat strong{font-size:20px}.orders-tabs a{padding:8px 11px}.orders-list-heading>span{display:none}.order-entry-summary{grid-template-columns:65px minmax(80px,1fr) 24px;padding:12px 10px}.order-entry-total{display:none}.order-entry-number b{font-size:12px}.order-entry-customer small{font-size:9px}.order-detail-panel{padding:13px}.order-status-compact{grid-template-columns:1fr}.orders-focus{align-items:flex-start;flex-direction:column}.topbar-orders-notice{padding:6px}.topbar-orders-notice b{min-width:19px;height:20px}.orders-search .btn{flex:1}.orders-payment-select{flex:1 1 150px}}
@media(prefers-reduced-motion:reduce){.orders-attention-icon,.topbar-orders-notice{animation:none!important}.order-entry-chevron,.orders-stat{transition:none!important}}

/* Identificação de pedido novo mesmo em telas pequenas. */
.order-row-new-flag{display:none}
@media(max-width:760px){.order-row-new-flag{display:inline-flex;background:#684418;color:#ffdc9e;border:1px solid #b17b31;border-radius:5px;padding:1px 4px;font-size:9px;font-weight:850;margin-left:4px;vertical-align:middle}}

/* CARUSO V5 — cupom e monitor de notificações */
.settings-coupon-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.42fr);gap:17px}
.order-discount-row{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px;color:#a3e6ac}
@media(max-width:640px){.settings-coupon-grid{grid-template-columns:1fr}}

/* CARUSO V11 — alerta sonoro forte com ajuste de volume */
.sound-settings-control{position:relative;display:flex;align-items:center;flex-shrink:0}
.sound-settings-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid #67502a;border-radius:9px;background:#281c10;color:#f0c77d;font-size:19px;line-height:1;cursor:pointer;transition:background .18s,border-color .18s}
.sound-settings-toggle:hover,.sound-settings-toggle[aria-expanded="true"]{background:#443018;border-color:#d2a055}
.sound-settings-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(300px,calc(100vw - 25px));padding:18px;border-radius:13px;background:#231a12;border:1px solid #8c632d;box-shadow:0 16px 50px #000b;z-index:120;display:grid;gap:13px;color:#f6dfb4;text-align:left}
.sound-settings-panel[hidden]{display:none}
.sound-settings-panel::before{content:"";position:absolute;right:10px;top:-7px;width:12px;height:12px;transform:rotate(45deg);background:#231a12;border-left:1px solid #8c632d;border-top:1px solid #8c632d}
.sound-settings-panel strong{font-size:13px;color:#f5ce84}
.sound-settings-panel label{display:flex;justify-content:space-between;color:#d9c09c;font-size:12px;font-weight:750}
.sound-settings-panel output{color:#ffcc74;font-weight:900}
.sound-settings-panel input[type="range"]{accent-color:#e8aa4a;width:100%;height:19px;cursor:pointer}
.sound-test-button{border:1px solid #b98439;background:linear-gradient(135deg,#eebc6a,#bb8335);color:#261509;border-radius:8px;min-height:42px;font-weight:900;font-size:12px;cursor:pointer;transition:filter .15s,transform .15s}
.sound-test-button:hover{filter:brightness(1.1);transform:translateY(-1px)}
.sound-settings-panel small{color:#ad9a7e;font-size:11px;line-height:1.55}
.sound-toggle:focus-visible,.sound-settings-toggle:focus-visible,.sound-test-button:focus-visible,.sound-settings-panel input:focus-visible{outline:2px solid #f4cd84;outline-offset:3px}
@media(max-width:760px){.sound-settings-toggle{width:31px;height:31px}.sound-settings-panel{right:-45px}}
@media(max-width:400px){.admin-topbar{padding-left:12px;padding-right:12px}.topbar-right{gap:5px}.sound-toggle{font-size:9px;padding:6px}.sound-settings-panel{right:-40px;width:min(270px,calc(100vw - 22px))}}
@media(prefers-reduced-motion:reduce){.sound-settings-toggle,.sound-test-button{transition:none}.sound-test-button:hover{transform:none}}

/* CARUSO V12 — dois perfis administrativos */
.admin-role-label{font-size:10px;font-weight:750;letter-spacing:.03em;color:#d1b487;padding:6px 9px;background:#2d2113;border:1px solid #644a2c;border-radius:7px;white-space:nowrap}
.users-capacity{padding:10px 16px;border:1px solid #7e5629;background:#352416;color:#f4cc83;border-radius:10px;font-weight:900;letter-spacing:.04em;white-space:nowrap;font-size:13px}
.users-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}
.users-role-grid .admin-card{margin:0}
.user-role-card{background:linear-gradient(150deg,#251b11 0%,#181410 76%);border-color:#6b4b2a;min-height:290px;display:flex;flex-direction:column}
.user-role-dev{background:linear-gradient(150deg,#1c211e 0%,#181410 75%);border-color:#405a49}
.user-role-card h2{margin:12px 0 9px;font-size:23px}
.user-role-card>p{color:#b2a392;font-size:12px;line-height:1.7;margin:0 0 14px}
.user-role-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.user-role-symbol{width:49px;height:49px;background:#483017;border:1px solid #986b38;color:#f9ce83;display:grid;place-items:center;border-radius:13px;font-size:26px}
.user-role-dev .user-role-symbol{background:#1f352a;border-color:#446d54;color:#9bd6ad}
.account-role-tag{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-size:10px;font-weight:900;letter-spacing:.09em;border:1px solid #805a2f;border-radius:20px;padding:5px 9px;color:#ecc68c;background:#322416}
.user-role-dev .account-role-tag{color:#abd5b5;border-color:#47654b;background:#25352a}
.user-profile{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #59422a;background:#1d1711;border-radius:11px;margin:14px 0;overflow:hidden}
.user-role-dev .user-profile{border-color:#365341;background:#192219}
.user-profile>div{min-width:0}
.user-profile strong,.user-profile small{display:block;overflow-wrap:anywhere}
.user-profile strong{color:#f4dab1;font-size:14px}
.user-profile small{font-size:11px;color:#b7a58b;line-height:1.7}
.user-state{display:block;font-size:10px;color:#74ce91;font-weight:800;margin-top:8px}
.user-role-card .user-outline-btn{margin-top:auto;align-self:flex-start;background:#2c2014;color:#edc78b;border:1px solid #8b652f}
.user-empty-slot{border:1px dashed #58725d;border-radius:11px;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#c1d4c4;margin-top:auto;background:#1b251c}
.user-empty-slot>span{font-size:27px;color:#9dcaa6;line-height:1}
.user-empty-slot strong{font-size:12px;color:#cbe4ce}
.user-empty-slot small{font-size:10px;color:#9cac9d;text-align:center}
.users-editor{max-width:980px}
.users-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.users-editor-head h2{margin:7px 0}
.users-editor-head p{font-size:12px;color:#ac9e89;margin:0}
.users-editor .form-group input{width:100%}
.users-editor .btn{min-height:45px}
.users-delete-card{border-color:#764038;background:#221512;max-width:980px}
.users-delete-card>p{font-size:12px;color:#bea49c;line-height:1.7}
.users-remove-form{display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:end}
.users-remove-form .form-group{margin:0}
.users-danger-btn{min-height:45px;padding:10px 18px;border:1px solid #b45b4b;border-radius:8px;background:#6c2926;color:#fff0eb;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}
.users-danger-btn:hover{background:#97362e;transform:translateY(-1px)}
.account-v12-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;max-width:1100px}
.account-v12-grid .admin-card{margin:0}
.account-v12-grid .account-role-tag{margin-top:6px}
.account-v12-grid .form-group input{width:100%}
.account-v12-grid .muted{margin-top:18px;line-height:1.6}
@media(max-width:1020px){.users-remove-form{grid-template-columns:repeat(2,minmax(0,1fr))}.users-remove-form button{grid-column:1/-1;width:fit-content}}
@media(max-width:900px){.users-role-grid,.account-v12-grid{grid-template-columns:1fr}.users-role-grid .user-role-card{min-height:0}.users-role-grid .user-role-card .user-outline-btn{margin-top:14px}}
@media(max-width:760px){.admin-role-label{display:none}.users-editor-head{align-items:flex-start;flex-direction:column}.users-editor .form-grid-two{grid-template-columns:1fr;gap:0}}
@media(max-width:520px){.users-remove-form{grid-template-columns:1fr}.users-role-grid{gap:12px}.users-role-grid .admin-card{padding:17px}.users-role-head .account-role-tag{font-size:8px}.user-role-card h2{font-size:20px}.user-profile{padding:10px}.users-capacity{padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.users-danger-btn{transition:none}.users-danger-btn:hover{transform:none}}
