/* Operational workspace: clear hierarchy, readable forms and touch targets. */
:root{--ink:#263b32;--muted:#65756c;--green:#203d30;--cream:#f5f4ef;--line:#e2e7df;--accent:#cf9855}
body{font-family:Segoe UI,Arial,sans-serif;line-height:1.45}
aside{width:260px;padding:28px 20px;background:linear-gradient(165deg,#254433,#193428);border-right:1px solid #163023}
.brand{font-size:22px;letter-spacing:-.7px}.brand span{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff25;border-radius:14px;background:#ffffff09;font-size:27px}.brand small{color:#c0cfc5;letter-spacing:.4px;margin-top:5px}
nav{margin-top:27px;gap:3px}.nav-section{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#a7bdb0;padding:21px 13px 7px}
nav a{padding:10px 13px;border-radius:9px;color:#d3ded7;font-size:13px;display:flex;gap:10px;align-items:center;min-height:42px}.nav-icon{width:20px;text-align:center;font-size:16px;color:#a7beaf}
nav a.active{background:#ffffff12;box-shadow:inset 3px 0 var(--accent);color:#fff}nav a.active .nav-icon{color:#edc690}nav a:hover{background:#ffffff0a}
main{margin-left:260px;padding:34px 38px;max-width:1700px}header{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}#eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7c8b81}h1{font-size:29px;letter-spacing:-.8px;margin:7px 0 0;font-weight:650}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:16px;letter-spacing:-.2px}
.notice{border-radius:10px;background:#fff8ea;border-color:#ede0c9;color:#735b34;padding:12px 16px;line-height:1.7;margin-bottom:24px}
.panel,.order,.tile,.stat{border-radius:16px;border-color:#e0e5dc;box-shadow:0 3px 14px #223e2b04}.panel{padding:25px}.stats{gap:16px}.stat{position:relative;padding:21px 23px}.stat:before{content:'';position:absolute;top:23px;right:20px;width:7px;height:7px;border-radius:50%;background:#d2af78}.stat small{font-size:10px;letter-spacing:1.3px;font-weight:700}.stat strong{font-size:30px;letter-spacing:-1px}.stat span{line-height:1.6;display:block}
.row{padding:16px 0}.order-head small{font-weight:700;letter-spacing:1px;color:#6b7c70}.order h3{font-size:19px;margin-bottom:12px}.order .total{padding-top:18px}.badge{font-size:11px;font-weight:600;padding:7px 12px}.actions{gap:9px}
button,.button{min-height:42px;padding:11px 16px;font-weight:600;border-radius:9px;font-size:12px;transition:background .15s,box-shadow .15s}button.primary,.button.primary{background:#234532;border-color:#234532}button.primary:hover,.button.primary:hover{background:#315d42;box-shadow:0 3px 9px #203d3020}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cf9855;outline-offset:3px}label{font-weight:600;font-size:12px}input,select,textarea{min-height:44px;border-radius:9px;border-color:#dce2d8;padding:12px;font-weight:400}.muted,.stage-description{color:#637369;line-height:1.8}.empty{background:#f8f9f5;border:1px dashed #dce3d6;border-radius:12px;font-size:13px;line-height:1.7;margin:10px 0;padding:30px 20px}
th{background:#f8faf6;color:#647467;font-size:10px;font-weight:700}td{line-height:1.7}.tile{padding:23px}.tile p{font-size:13px;line-height:1.85;color:#607065}.guide-grid{gap:18px}.guide-grid h3{line-height:1.6}.guide-grid .button{margin-top:14px}
.connection-steps{display:flex;gap:12px;margin:18px 0 24px;flex-wrap:wrap}.connection-step{flex:1;min-width:180px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.connection-step b{display:block;font-size:13px;margin-bottom:7px}.connection-step p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}
.integration-error{padding:12px 16px;background:#fff3ee;color:#93452d;border:1px solid #f0d8ce;border-radius:9px}.sidebar-footer{border-top:1px solid #ffffff17;padding-top:19px;color:#acbfb1;font-size:11px}footer{padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:1000px){aside{width:220px}main{margin-left:220px;padding:26px}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){aside{position:static;width:100%;padding:18px}main{margin-left:0;padding:20px 16px}nav{display:flex;margin-top:17px;gap:5px;overflow-x:auto;max-height:none;padding-bottom:3px}.nav-section{display:none}nav a{min-height:42px;padding:10px 12px;flex-shrink:0}.sidebar-footer{padding-top:12px;margin-top:14px}.brand{font-size:21px}.panel{padding:20px}.stats{gap:10px}.stat{padding:18px 15px}.stat:before{display:none}.stat strong{font-size:26px}header{align-items:center;gap:8px}h1{font-size:25px;line-height:1.25}.mode{white-space:normal;text-align:right;max-width:105px;padding:7px 9px}.connection-step{min-width:100%}.section-head{align-items:start}.tools label{width:100%}.report-filter button{flex:1}.orders,.grid{grid-template-columns:1fr}}

.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0}.permission-grid label{display:flex;align-items:center;gap:8px;font-size:13px}.permission-grid input{width:auto;min-height:auto}@media(max-width:650px){.permission-grid{grid-template-columns:1fr}}

.origin{display:inline-block;padding:2px 8px;border-radius:999px;font-weight:600;font-size:.8em;background:#eef2ee;color:#263f35}
.origin-ifood{background:#fde8e8;color:#9b1c1c}.origin-99food{background:#fff4d6;color:#7a4b00}.origin-whatsapp{background:#e3f6ea;color:#14532d}.origin-balcao{background:#f3ece2;color:#5b4027}
.bars{display:grid;gap:4px;margin:8px 0 16px}.bar-row{display:grid;grid-template-columns:44px 1fr 32px;align-items:center;gap:8px;font-size:.9em}.bar-row i{display:block;height:12px;border-radius:6px;background:#263f35;min-width:4px}.bar-row b{text-align:right}
.ideas{padding-left:20px;line-height:1.5}.ideas li{margin:6px 0}

.cost-tile h2 small{font-size:.5em;font-weight:500;margin-left:6px;color:#6b665e}
.cost-bar{display:flex;height:14px;border-radius:7px;overflow:hidden;margin:10px 0 6px;background:#eee}.cost-bar i{display:block;height:100%}
.cost-legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.82em;margin-bottom:8px}.cost-legend b{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:middle}
.cost-tile details{margin:8px 0}.cost-tile summary{cursor:pointer;font-weight:600}
