*{box-sizing:border-box}body{margin:0;background:#f7f3ef;color:#281a18;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}.top{height:92px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:8px 5vw;border-bottom:3px solid #b4141c;position:sticky;top:0;z-index:20}.identity{display:flex;align-items:center;gap:12px;text-decoration:none;color:#281a18}.identity img{width:72px;height:72px;object-fit:contain}.identity b{font-size:20px;display:block}.identity small{color:#806c68}.top nav{display:flex;align-items:center;gap:22px}.top nav a{text-decoration:none;color:#4c3a36;font-weight:700}.top .new,.cta,.primary{background:#b4141c!important;color:#fff!important;border-radius:12px;padding:13px 18px;border:0;text-decoration:none;font-weight:800}main{max-width:1240px;margin:auto;padding:42px 5vw 60px}.pagehead{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.pagehead span{font-size:12px;letter-spacing:1.5px;font-weight:900;color:#b4141c}.pagehead h1{font-family:Georgia,serif;font-size:44px;margin:7px 0}.pagehead p{color:#76615d;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0 40px}.stats div,.panel,.order,.empty,.producttable{background:#fff;border:1px solid #eaded9;border-radius:18px}.stats div{padding:20px;border-top:4px solid #b4141c}.stats small{color:#826e69}.stats b{display:block;font-size:26px;margin-top:8px}.sectiontitle{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.sectiontitle h2{margin:0}.sectiontitle span{font-size:13px;color:#88736f}.orders{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.order{padding:20px;border-left:5px solid #b4141c}.ordtop,.orderbottom{display:flex;justify-content:space-between;gap:15px}.ordtop span{font-size:11px;font-weight:900;color:#b4141c}.ordtop h3{margin:5px 0}.ordtop small{color:#8a7772}.status{background:#f6e5e5;color:#9b1018;height:max-content;padding:7px 10px;border-radius:15px;font-size:11px}.chips{display:flex;flex-wrap:wrap;gap:6px;margin:17px 0}.chips span{background:#f4efec;padding:7px 9px;border-radius:8px;font-size:12px}.order p{font-size:13px}.orderbottom{align-items:end}.orderbottom>strong{font-size:21px}.orderbottom>div{display:flex;gap:8px}.order form{display:flex;gap:6px}.order select{border:1px solid #daccc7;border-radius:8px;padding:8px}.order button,.print{border:0;background:#eee4df;color:#4a332e;padding:9px 11px;border-radius:8px;text-decoration:none;font-weight:700}.empty{padding:35px}.panel{padding:24px;margin-bottom:18px}.panel h2{margin-top:0;font-family:Georgia,serif}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fields label{font-size:12px;font-weight:800;color:#654d48}.fields input,.fields select,.fields textarea{display:block;width:100%;margin-top:6px;border:1px solid #ddcec8;border-radius:10px;padding:12px;background:#fff}.wide{grid-column:span 2}.fields textarea{min-height:75px}.productgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.product{border:1px solid #eadbd5;border-radius:13px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:10px}.product small,.product b,.product span{display:block}.product small{color:#b4141c;font-size:10px;font-weight:900}.product b{margin:4px 0}.product span{color:#725d58;font-size:13px}.qty{display:flex;align-items:center}.qty button{width:34px;height:34px;border:0;border-radius:50%;background:#f0e4df;font-size:20px}.qty input{width:40px;text-align:center;border:0;background:transparent;font-weight:900}.itemnote{grid-column:1/-1;border:0;border-top:1px solid #eee0db;padding:9px 2px 2px;outline:none}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.actions button{padding:14px 18px;border-radius:11px;font-weight:800;cursor:pointer}.secondary{background:#fff;border:1px solid #ccb9b3}.error{background:#ffe6e6;color:#9b1018;padding:12px;border-radius:10px;margin-bottom:15px}.producttable{overflow:hidden}.producttable>div{padding:16px 20px;border-bottom:1px solid #eee1dc;display:flex;justify-content:space-between;align-items:center}.producttable small,.producttable b,.producttable span{display:block}.producttable small{color:#a91820}.producttable span{color:#806a65;margin-top:4px}.producttable button{border:0;border-radius:16px;padding:9px 13px;font-weight:800}.on{background:#e3f5e8;color:#23753b}.off{background:#f6e1e1;color:#a21920}footer{background:#030711;text-align:center;padding:16px}footer img{width:min(720px,90%);max-height:80px;object-fit:contain}@media(max-width:760px){.top{height:auto;align-items:flex-start}.identity img{width:58px;height:58px}.identity small{display:none}.top nav{gap:8px;flex-wrap:wrap;justify-content:flex-end}.top nav>a:not(.new){display:none}.pagehead{align-items:flex-start;gap:15px}.pagehead h1{font-size:34px}.stats{grid-template-columns:repeat(2,1fr)}.orders,.productgrid{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.wide{grid-column:auto}.orderbottom{flex-direction:column;align-items:stretch}.orderbottom>div{flex-direction:column}.actions{flex-direction:column}.actions button{width:100%}}
.wa-state{background:#e8f7ed;color:#18783a;padding:10px 14px;border-radius:20px;font-weight:800;font-size:12px}.wa-state i{display:inline-block;width:8px;height:8px;background:#25d366;border-radius:50%;margin-right:5px}.wa-layout{display:grid;grid-template-columns:390px 1fr;gap:22px;align-items:start}.phone-demo{background:#e9e1d8;border:8px solid #262626;border-radius:28px;overflow:hidden;box-shadow:0 14px 40px #2a17121a}.phone-head{background:#075e54;color:white;padding:16px 18px}.phone-head b,.phone-head small{display:block}.phone-head small{opacity:.8;margin-top:3px}.chat{min-height:210px;padding:24px 16px;background:#efe7de}.bubble{margin-left:auto;max-width:88%;background:#d9fdd3;border-radius:12px 3px 12px 12px;padding:13px;line-height:1.45;box-shadow:0 1px 2px #0002}.demo-form{background:white;padding:12px}.demo-form textarea{width:100%;min-height:105px;border:1px solid #ddd;border-radius:10px;padding:10px;resize:vertical}.demo-form button{width:100%;margin-top:8px}.parsed{margin:0}.parse-title{display:flex;justify-content:space-between;gap:15px;align-items:start;border-bottom:1px solid #eee0db;padding-bottom:16px;margin-bottom:16px}.parse-title span{font-size:11px;color:#b4141c;font-weight:900;letter-spacing:1px}.parse-title h2{margin:5px 0 0}.parse-title>b{font-size:11px;background:#e8f7ed;color:#18783a;padding:8px 10px;border-radius:15px}.parsed-items{display:grid;gap:8px;margin-bottom:18px}.parsed-item{display:grid;grid-template-columns:1fr 80px 1.2fr;gap:10px;align-items:end;background:#faf6f3;border:1px solid #eadbd5;border-radius:12px;padding:12px}.parsed-item strong,.parsed-item small{display:block}.parsed-item small{color:#806a65;margin-top:4px}.parsed-item label,.compact label{font-size:11px;font-weight:800;color:#654d48}.parsed-item input{width:100%;margin-top:5px;padding:9px;border:1px solid #ddcec8;border-radius:8px}.compact{grid-template-columns:repeat(3,1fr)}.confirm-note{margin-top:15px;padding:12px;border-radius:10px;background:#fff7db;color:#6e5811;font-size:12px}.waiting{text-align:center;padding:55px 25px}.waiting>div{font-size:44px}.waiting h3{margin-bottom:7px}.waiting p{color:#76615d;max-width:500px;margin:auto;line-height:1.5}@media(max-width:900px){.wa-layout{grid-template-columns:1fr}.phone-demo{max-width:430px;margin:auto}.parsed-item{grid-template-columns:1fr 70px}.parsed-item label:last-child{grid-column:1/-1}}@media(max-width:760px){.wa-state{display:none}.compact{grid-template-columns:1fr}.parse-title{flex-direction:column}}
.burger-logo{width:66px;height:66px;border-radius:18px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px;border:4px solid #ff7a18;box-shadow:inset 0 0 0 2px #fff}.adminstats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0}.adminstats>div{background:#111827;color:#fff;padding:20px;border-radius:18px;border-top:4px solid #ff7a18}.adminstats small{color:#cbd5e1}.adminstats b{display:block;font-size:24px;margin-top:8px}.admin-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.legend{display:flex;gap:16px;font-size:12px;color:#6b7280;margin:5px 0 20px}.legend span:nth-child(1){color:#b4141c}.legend span:nth-child(2){color:#6b7280}.legend span:nth-child(3){color:#18783a}.monthchart{height:230px;display:flex;align-items:end;justify-content:space-around;border-bottom:1px solid #ddd;padding:0 8px 10px}.month{text-align:center;min-width:60px}.bars{height:180px;display:flex;align-items:end;justify-content:center;gap:4px}.bars i{display:block;width:12px;min-height:2px;border-radius:5px 5px 0 0}.bars .rev{background:#b4141c}.bars .cost{background:#7c7c7c}.bars .res{background:#238547}.month b{font-size:11px;color:#5d4b47}.ranking{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid #eee}.ranking small{display:block;color:#806a65;margin-top:4px}.adminlink,.secondary-link{display:inline-block;margin-top:18px;text-decoration:none;color:#b4141c;font-weight:800}.costlist>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #eee}.costlist small{display:block;color:#806a65;margin-top:3px}.costlist button{border:0;background:#f6e1e1;color:#a21920;padding:7px 10px;border-radius:8px;font-weight:700}@media(max-width:900px){.admin-grid{grid-template-columns:1fr}.adminstats{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.burger-logo{width:54px;height:54px}.adminstats{grid-template-columns:1fr 1fr}.month{min-width:42px}.bars i{width:8px}.costlist>div{grid-template-columns:1fr auto}.costlist form{grid-column:1/-1}.top nav a[href*="admin"]{display:block!important}}

/* LIVIZ Food V2 - identidade burger */
:root{--yellow:#ffc400;--yellow2:#ffad00;--ink:#0d1117;--panel:#151a22;--green:#25d366;--blue:#258cff;--orange:#ff7a18}body{background:#f6f2ec;color:#17120f}.top{background:#0b0d10;color:#fff;border-bottom:2px solid var(--yellow);height:86px}.identity{color:#fff}.identity b{font-size:22px}.identity b em{color:var(--yellow);font-style:normal}.identity small{color:#c6c6c6}.burger-logo{background:transparent;border:0;box-shadow:none;font-size:44px;width:58px;height:58px}.top nav a{color:#f4f4f4}.top .new,.cta,.primary{background:linear-gradient(135deg,var(--yellow),var(--yellow2))!important;color:#111!important;box-shadow:0 8px 24px #ffb80025}.pagehead span,.product small,.adminlink,.secondary-link{color:#b07a00}.hero{position:relative;background-image:url('/static/img/burger-hero.png');background-size:cover;background-position:center 43%;color:#fff}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.68) 48%,rgba(0,0,0,.35) 100%)}.hero-content{position:relative;padding-top:48px;padding-bottom:48px}.hero .pagehead h1{color:#fff}.hero .pagehead p{color:#e7e7e7}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero .stats{margin-bottom:0}.hero .stats div{background:rgba(12,15,20,.88);border:1px solid #ffffff25;border-top:4px solid var(--yellow);backdrop-filter:blur(6px);color:#fff}.hero .stats small{color:#ddd}.queue-main{padding-top:34px}.new-alert{background:#fff4c7;border:1px solid #f2c94c;border-radius:13px;padding:13px 16px;margin-bottom:20px;color:#4a3800}.new-alert button{float:right;border:0;background:#171717;color:#fff;border-radius:8px;padding:6px 10px}.new-alert.muted{opacity:.55}.order{border-left:0;border-top:5px solid var(--yellow);position:relative;overflow:hidden}.source-badge{display:inline-block;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;margin-bottom:12px}.source-whatsapp{border-top-color:var(--green)}.source-whatsapp .source-badge{background:#dcfce7;color:#087a31}.source-balcao{border-top-color:var(--orange)}.source-balcao .source-badge{background:#fff0e4;color:#a74400}.source-telefone{border-top-color:var(--blue)}.source-telefone .source-badge{background:#e4f1ff;color:#075fae}.ordtop span{color:#8b6700}.status{background:#fff4c7;color:#5d4700}.order button,.print{background:#fff0b8;color:#332600}.adminstats>div{background:#111722;border-top-color:var(--yellow)}.legend span:nth-child(1){color:#d69b00}.monthchart{height:255px;overflow-x:auto;gap:14px;justify-content:space-between}.month{min-width:92px}.bars{height:185px;gap:6px}.barwrap{height:180px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.barwrap small{font-size:8px;color:#665b55;margin-bottom:4px;white-space:nowrap}.bars i{width:14px}.bars .rev{background:#f4b400}.bars .cost{background:#737b86}.bars .res{background:#258a4a}.month em{display:block;font-size:7px;font-style:normal;color:#9a7000;margin-top:3px}.comparison{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #eee;font-size:11px}.comparison span{background:#f7f3eb;padding:7px 9px;border-radius:8px}.finance-note{margin-top:18px;padding:13px;background:#fff8dd;border-radius:10px}.finance-note small{display:block;margin-top:5px;color:#6f6240}.product-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.product-actions a,.btnlink{padding:9px 12px;border-radius:10px;text-decoration:none;background:#fff2bd;color:#5e4500;font-weight:800;font-size:13px}.product-actions form{margin:0}.producttable .danger{background:#fee2e2;color:#a31515}.product-form{max-width:850px;margin:auto}.error{background:#fff1c7;color:#624b00}@media(max-width:760px){.hero .pagehead{flex-direction:column}.hero-actions{width:100%}.hero-actions .cta{flex:1;text-align:center}.hero{background-position:62% center}.hero-shade{background:rgba(0,0,0,.7)}.top nav a[href*="products"]{display:none}.monthchart{justify-content:flex-start}.producttable>div{align-items:flex-start;gap:12px}.product-actions{justify-content:flex-end}}
/* V3 - SLA, histórico e navegação financeira */
.timebox{margin:14px 0 4px}.timebox>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:11px}.timebox span{font-weight:700}.progress{height:8px;background:#eee7df;border-radius:99px;overflow:hidden;margin-top:7px}.progress i{display:block;height:100%;border-radius:99px;background:#2ca65a}.timebox.attention .progress i{background:#e5b100}.timebox.priority .progress i{background:#ff7a18}.timebox.late .progress i{background:#d92323}.timebox.late span{color:#b20f0f}.timebox.done{opacity:.6}.item-warning{display:block!important;color:#b20f0f!important;background:#fff0c9;margin-top:5px;padding:4px 6px;border-radius:5px;font-weight:900}.admin-head-actions{display:flex;align-items:end;gap:12px}.month-picker label{font-size:11px;font-weight:800;color:#665b55}.month-picker select{display:block;margin-top:5px;padding:12px 36px 12px 12px;border:1px solid #ddcec8;border-radius:11px;background:#fff;font-weight:800}.adminstats>a{display:block;background:#111722;color:#fff;padding:20px;border-radius:18px;border-top:4px solid var(--yellow);text-decoration:none;transition:.18s transform,.18s box-shadow}.adminstats>a:hover{transform:translateY(-4px);box-shadow:0 12px 26px #0002}.adminstats a small{color:#cbd5e1}.adminstats a b{display:block;font-size:24px;margin-top:8px}.adminstats a em{display:block;margin-top:12px;color:#ffc400;font-size:11px;font-style:normal;font-weight:800}.result-equation{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:14px;align-items:center}.result-equation>div{background:#111722;color:#fff;padding:22px;border-radius:16px}.result-equation>strong{font-size:26px}.result-equation small{color:#cbd5e1}.result-equation b{display:block;font-size:21px;margin-top:8px}.result-equation .result{border-top:4px solid var(--yellow)}.detail-list>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #eee}.detail-list small{display:block;color:#806a65;margin-top:4px}.smallcta{padding:9px 12px!important;font-size:12px}@media(max-width:760px){.admin-head-actions{width:100%;flex-direction:column;align-items:stretch}.month-picker select{width:100%}.result-equation{grid-template-columns:1fr}.result-equation>strong{text-align:center}.timebox>div:first-child{flex-direction:column;gap:3px}}

/* V4 - alertas, finalizados e acabamento */
.pulse-alert{animation:alertPulse 1.5s ease-in-out infinite}
@keyframes alertPulse{0%,100%{background:#fff4c7;box-shadow:0 0 0 0 rgba(255,196,0,.05)}50%{background:#ffe68a;box-shadow:0 0 0 5px rgba(255,196,0,.12)}}
.finished-section{margin-top:30px;border-top:1px solid #e5ddd5;padding-top:18px}.finished-section summary{cursor:pointer;font-size:20px;font-weight:900;padding:14px 16px;background:#edf8ef;border:1px solid #cfe8d4;border-radius:13px;color:#176b35}.finished-orders{margin-top:16px}.finished-card{background:#f4f6f4!important;border-top-color:#70bd83!important;opacity:.82}.finished-badge{display:inline-block;background:#dff3e4;color:#176b35;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;margin-bottom:12px}.done-status{background:#dff3e4!important;color:#176b35!important}.finished-time{font-weight:800;color:#477252;margin:12px 0}.finished-card .orderbottom{margin-top:14px}

/* V5 - status visual */
.status-new{background:#fff4c7!important;color:#5d4700!important}.status-prep{background:#ffead1!important;color:#9a4d00!important}.status-ready{background:#dcfce7!important;color:#087a31!important}.status-delivery{background:#e4f1ff!important;color:#075fae!important}
