@import url('/workspace/fonts/fonts.css');
:root{font-family:'Poppins',sans-serif;font-size:13px;color:#252d3e;background:#f8f8fb;--brand:#183c8b;--brand-dark:#102d6d;--brand-soft:#e9edf5;--line:#e6e8ee;--muted:#828894;--green:#209d79}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{outline-offset:4px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:11px 18px;border:1px solid transparent;border-radius:12px;background:var(--brand);color:#fff;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}button:hover,.button:hover{background:var(--brand-dark);box-shadow:0 5px 15px #12358316}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}button svg,.button svg{width:17px;height:17px;flex-shrink:0}a{color:var(--brand)}svg{width:20px;height:20px;flex-shrink:0}.secondary{background:#fff;border-color:#d8deea;color:var(--brand)}.secondary:hover{background:#f1f4fa}.danger{background:#fff7f8;color:#b44a60;border-color:#dce3f2}.danger:hover{background:#ebf0fc}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e5e8f0;padding:23px 19px;z-index:30;box-shadow:4px 0 20px #384a7103}.brand{display:flex;justify-content:center;margin:0 0 23px}.store-switch{display:flex;width:100%;min-height:60px;gap:10px;padding:11px 12px;margin-bottom:25px;text-align:left;background:linear-gradient(110deg,#254a9b,#103179);border-radius:11px;box-shadow:0 5px 13px #1a3e8d15}.store-symbol{display:grid;place-items:center;width:32px;height:34px;flex-shrink:0;background:#ffffff20;border:1px solid #ffffff15;border-radius:8px}.store-switch>span:nth-child(2){min-width:0;flex:1}.store-switch small{display:block;font-size:9px;font-weight:500;letter-spacing:1px;color:#d7e0f5}.store-switch strong{display:block;font-family:'Outfit',sans-serif;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.store-switch>svg{width:14px;color:#b8c7e9}.nav-caption{display:block;margin:0 10px 11px;color:#9a9faa;font-size:10px;font-weight:500;letter-spacing:.25px}.sidebar nav{display:grid;gap:5px}.sidebar nav a,.side-bottom>a{display:flex;align-items:center;gap:11px;min-height:41px;padding:10px 13px;border-radius:8px;color:#58616b;text-decoration:none;font-size:12px;font-weight:500;transition:background .15s,color .15s}.sidebar nav a svg,.side-bottom>a svg{width:18px;height:18px}.sidebar nav a:hover,.side-bottom>a:hover{background:#f6f8fb;color:var(--brand)}.sidebar nav a.active,.side-bottom>a.active{background:#e9edf5;color:var(--brand);font-weight:600}.local-indicator{display:flex;align-items:center;gap:7px;padding:14px 14px 0;border-top:1px solid #edeff3;margin:17px 0 0;color:#9a9faa;font-size:10px}.local-indicator i{width:6px;height:6px;border-radius:50%;background:#909ab0}.main{width:calc(100% - 245px);margin-left:245px;min-width:0;padding:10px 24px 30px}.top{display:flex;align-items:center;gap:14px;min-height:66px;padding:10px 18px;background:#fff;border:1px solid #edeff4;border-radius:16px;box-shadow:0 5px 18px #24335503}.breadcrumb{display:flex;gap:9px;font-size:10px;line-height:1.6;color:#9ca0aa}.breadcrumb strong{color:#495e8e;font-weight:500}.top h1{font-family:'Outfit',sans-serif;font-size:19px;font-weight:700;color:#153479;line-height:1.4;margin:1px 0 0}.account-menu{display:flex;align-items:center;gap:16px;margin-left:auto}.profile-button{padding:0;background:none;color:#454a54;gap:12px;font-size:11px;font-weight:500}.profile-button:hover{background:none;box-shadow:none}.avatar{display:grid;place-items:center;background:linear-gradient(130deg,#3359af,#113380);color:white;border-radius:50%;width:36px;height:36px;font-family:'Outfit',sans-serif;font-size:13px;font-weight:600;box-shadow:0 3px 10px #36559b25}.icon-button{display:grid;place-items:center;width:34px;min-height:34px;padding:7px;color:#737784;background:transparent;border-radius:9px}.icon-button:hover{background:#eff1f6;box-shadow:none}.account-menu>.icon-button{border-left:1px solid #edeff3;border-radius:0;width:39px;padding-left:16px}.icon-button svg{width:19px;height:19px}.mobile-menu{display:none}.page-content{max-width:1230px;margin:0 auto;padding-top:31px}.page-intro{margin-bottom:27px}.eyebrow{font-family:'Outfit',sans-serif;font-size:10px;letter-spacing:1.8px;color:#919cb4;font-weight:600;line-height:1.8}.page-intro h2{font-family:'Outfit',sans-serif;font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-.6px;color:#162548;margin:7px 0 9px}.page-intro>p{font-size:12px;color:#858b97;margin:0;line-height:1.8}.card{border:1px solid #e2e5ed;background:#fff;border-radius:20px;padding:25px;margin:0 0 20px;box-shadow:0 5px 20px #25396503}.card h2,.card h3{font-family:'Outfit',sans-serif;color:#223359;letter-spacing:-.3px;font-size:20px;font-weight:600;line-height:1.35;margin:0 0 10px}.card h3{font-size:17px}.muted{font-size:12px;line-height:1.85;color:#858b98}.notice{font-size:10px;line-height:1.8;color:#9199ac}.badge,.subtle-tag{display:inline-flex;align-items:center;gap:6px;font-family:'Outfit',sans-serif;font-size:10px;font-weight:500;line-height:1.5;color:#7683a0;background:#f0f2f8;border-radius:7px;padding:6px 10px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.row>p{margin:0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.empty{text-align:center;padding:60px 25px;border-style:dashed;box-shadow:none}.empty h2{font-size:24px}.empty button{margin-top:12px}.count{font-family:'Outfit',sans-serif;font-size:38px;color:var(--brand)}.ifood-feature{padding:29px 30px 30px;position:relative;overflow:hidden;box-shadow:0 9px 30px #2b417107}.ifood-feature:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#2b51a4,#92a8d9 70%,#edf1fa)}.provider-mark{display:inline-flex;align-items:center;gap:9px;font-family:'Outfit',sans-serif;line-height:1.2;font-size:29px;font-weight:600;color:#193b87;letter-spacing:-1.3px}.provider-mark.ifood{font-family:'Outfit',sans-serif;font-size:40px;font-style:italic;font-weight:800;letter-spacing:-2px}.ifood-feature>h2{font-size:25px;margin-bottom:6px}.platforms{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;position:relative;z-index:1}.text-action{background:transparent;color:var(--brand);padding:3px;min-height:25px;font-size:12px;gap:6px}.text-action:hover{background:none;box-shadow:none;color:var(--brand-dark)}.text-action svg{width:14px}.agent-orb{display:grid;place-items:center;width:108px;height:108px;margin:0 auto 24px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5175c6,#163b8e 65%,#123176);color:white;border:5px solid #dae1ef;box-shadow:0 0 0 11px #d8dfee77,0 0 0 12px #bac5dc66,0 17px 38px #2d4e9725;position:relative}.agent-orb:after{content:'';position:absolute;inset:-25px;border:1px dashed #bec8de;border-radius:50%}.agent-orb svg{width:43px;height:43px;stroke-width:1.3}form{display:grid;gap:17px}label{display:grid;gap:7px;font-size:11px;font-weight:500;color:#626b7f}input,textarea,select{width:100%;padding:12px 13px;border:1px solid #dce0e9;border-radius:10px;min-height:43px;background:#fff;color:#475064;font-size:12px;transition:border-color .18s,box-shadow .18s}input:focus,textarea:focus,select:focus{outline:none;border-color:#768cbd;box-shadow:0 0 0 3px #5b78ba0d}input[readonly]{background:#f2f4fa;font-family:'Outfit',sans-serif;color:#435e99;font-size:16px;letter-spacing:1px}textarea{min-height:110px;resize:vertical}.error{color:#4b69ad;background:#f4f7ff;border:1px solid #dde4f5;padding:12px 14px;border-radius:10px;font-size:11px;line-height:1.8}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;padding:15px;border-radius:10px;font-size:10px;max-height:350px;overflow:auto;line-height:1.7}.message{padding:15px 18px;border-radius:15px;background:#f3f5fb;white-space:pre-wrap;font-size:12px;line-height:1.9}.message.user{background:#24458f;color:white;margin-left:17%;border-bottom-right-radius:4px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.auth{width:100%;max-width:470px;margin:auto;padding:40px}.auth h1{font-family:'Outfit',sans-serif;color:#113177;font-size:31px;letter-spacing:-.7px;margin:0 0 9px}.auth>p{color:#8f97a8;font-size:12px;line-height:1.9;margin-bottom:30px}.auth>form{margin-top:25px}.auth>form>button{margin-top:5px}.auth .notice{font-size:10px;margin:22px 0 0;color:#9da6b9}.linkbutton{background:none;color:#556da1;padding:16px 0 0;font-size:11px;box-shadow:none;min-height:30px}.linkbutton:hover{background:none;box-shadow:none}.auth-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;background:radial-gradient(ellipse at 35% 25%,#4164b2,transparent 60%),linear-gradient(135deg,#193f92,#0d2967);color:white;text-align:center;position:relative;overflow:hidden}.auth-visual:before,.auth-visual:after{content:'';position:absolute;border:1px solid #ffffff0d;border-radius:50%;width:650px;height:650px;pointer-events:none}.auth-visual:after{width:850px;height:850px}.auth-visual>.eyebrow{color:#a8b9df;font-size:9px;margin-bottom:60px}.auth-visual .agent-orb{width:130px;height:130px;margin-bottom:50px;background:radial-gradient(circle at 40% 30%,#496fc4,#103587);border-color:#ffffff15;box-shadow:0 0 0 18px #ffffff06,0 0 0 19px #ffffff0d}.auth-visual .agent-orb:after{border-color:#ffffff1a;inset:-38px}.auth-visual h2{font-family:'Outfit',sans-serif;white-space:pre-line;font-size:39px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:0 0 20px}.auth-visual>p{color:#a6b7dc;font-size:12px;line-height:1.9;max-width:290px;margin:0}dialog{border:1px solid #dfe3ec;border-radius:20px;padding:29px;width:min(490px,92vw);color:#515a6f;box-shadow:0 28px 100px #111f3d24}dialog h2{font-family:'Outfit',sans-serif;color:#21396f;font-size:24px;font-weight:600;margin:0 0 24px}dialog>p{font-size:12px;line-height:1.9}dialog::backdrop{background:#101e3d55;backdrop-filter:blur(3px)}@media(min-width:1500px){.page-content{padding-top:38px}.main{padding-left:34px;padding-right:34px}.ifood-feature{padding:35px 38px}.page-intro h2{font-size:34px}}@media(max-width:1050px){.sidebar{width:215px;padding:23px 15px}.main{margin-left:215px;width:calc(100% - 215px);padding-left:18px;padding-right:18px}.ifood-feature{padding:25px 22px}.platforms{gap:10px}}@media(max-width:800px){.sidebar{width:225px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #24335515}.nav-open .sidebar{transform:translateX(0)}.main{width:100%;margin:0;padding:10px 16px 28px}.mobile-menu{display:grid}.top{position:relative;z-index:31}.page-content{padding-top:25px}.page-intro h2{font-size:28px}.auth{padding:35px 28px}.auth-visual{padding:35px}.auth-visual h2{font-size:30px}}@media(max-width:580px){.main{padding:9px 12px 22px}.top{padding:10px 12px;min-height:64px;border-radius:13px;gap:9px}.top h1{font-size:17px}.breadcrumb{font-size:9px}.account-menu{gap:6px}.profile-button>span:first-child{display:none}.avatar{width:31px;height:31px;font-size:11px}.account-menu>.icon-button{padding-left:7px;width:30px}.page-intro{margin-bottom:21px}.page-intro h2{font-size:26px}.page-intro p{font-size:11px;max-width:290px}.ifood-feature{width:100%;padding:25px 23px}.platforms{grid-template-columns:1fr;gap:10px}.auth-layout{display:block;min-height:100vh}.auth-visual{display:none}.auth{padding:55px 29px 35px;max-width:430px}.row{align-items:flex-start}.row>p{font-size:10px;max-width:170px}.row>button{font-size:10px;white-space:nowrap;padding:10px 13px}.card{padding:22px}.grid{grid-template-columns:1fr}.message.user{margin-left:10%}}
/* Secondary copy remains quiet without losing legibility. */
.page-intro>p,.provider-description{color:#717888}.muted{color:#747c8f}
@media(max-width:800px){.sidebar{visibility:hidden}.nav-open .sidebar{visibility:visible}}

.account-panel,.editor-panel{min-width:0;border:1px solid #e2e5ed;background:#fff;border-radius:18px;box-shadow:0 5px 24px #394c7706;overflow:hidden}.structured-form{display:block}.form-section{padding:25px 28px 27px;border-bottom:1px solid #ebeef4}.form-section h3{font-family:'Outfit',sans-serif;font-size:16px;color:#394c76;font-weight:500;margin:0 0 5px;line-height:1.6}.section-description{font-size:10px;line-height:1.85;color:#8b95aa;margin:0 0 21px}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}.form-section>label{margin-top:20px}.form-section label{font-size:11px;font-weight:500;color:#6e7990;min-width:0;align-content:start}.form-section input,.form-section textarea,.form-section select{font-size:12px;min-height:45px;color:#424d64;padding:12px 13px;border-radius:9px;border-color:#dfe3ed;letter-spacing:0}.form-section input::placeholder,.form-section textarea::placeholder{color:#afb7ca;font-size:11px}.form-section input:disabled{background:#f5f7fa;border-color:#e7eaf1;color:#959fb4;opacity:1;cursor:not-allowed}.field-wide{grid-column:1/-1}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 27px;background:#fbfcfe;border-top:1px solid #e7ebf3;min-height:82px}.form-footer>button{font-size:11px;padding:11px 16px;min-width:145px;flex-shrink:0}.save-feedback{font-size:11px;line-height:1.8;min-width:0}.save-feedback .error{margin:0;padding:8px 10px;font-size:10px}.saved-text{color:#2c997b}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:22px;align-items:start}.editor-aside{display:grid;gap:18px}.store-preview{display:flex;align-items:center;flex-direction:column;text-align:center;padding:24px 18px;background:radial-gradient(ellipse at 50% 0%,#eaeffa,#fff 80%);border:1px solid #dce2ef;border-radius:17px;overflow-wrap:anywhere}.store-preview>.eyebrow{font-size:8px;color:#909dbb;letter-spacing:1.7px;margin-bottom:22px}.establishment-avatar{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border:1px solid #d8dff0;border-radius:13px;background:#edf1f9;color:#5c76af}.establishment-avatar svg{width:23px;height:23px}.establishment-avatar.large{width:65px;height:65px;border-radius:18px;background:linear-gradient(145deg,#4f6db1,#24448a);color:#fff;border:0;box-shadow:0 8px 22px #5572b222}.establishment-avatar.large svg{width:31px;height:31px}.store-preview h3{font-family:'Outfit',sans-serif;font-weight:600;font-size:19px;color:#2d4579;line-height:1.4;margin:17px 0 8px}.store-preview>p{font-size:10px;color:#919cb5;line-height:1.85;margin:0}.editor-tip{padding:4px 10px 10px;color:#8f9bb5}.editor-tip>svg{width:21px;height:21px;color:#8091b8;margin:2px 0 10px}.editor-tip h3,.danger-section h3{font-family:'Outfit',sans-serif;font-size:15px;font-weight:500;color:#64759a;margin:0 0 9px}.editor-tip p,.danger-section p{font-size:10px;line-height:1.9;color:#8a96b0;margin:0 0 10px}.editor-tip button{font-size:10px}.danger-section{padding:19px 18px;border:1px solid #dee3ef;border-radius:13px;background:#fffafb}.danger-section h3{color:#798ab0;font-size:14px}.danger-section p{color:#99a2b6;font-size:10px}.danger-section button{font-size:10px;min-height:33px;padding:8px 12px}.back-link{background:none;color:#7e8daf;font-size:10px;min-height:25px;padding:0;margin-bottom:20px}.back-link:hover{background:none;color:#324e8d;box-shadow:none}.back-link svg{width:13px;height:13px;transform:rotate(180deg)}.store-search{position:relative;display:flex;align-items:center;max-width:340px;width:100%}.store-search svg{position:absolute;left:14px;color:#9fa9c0;width:17px;height:17px}.store-search input{padding-left:41px;background:#fff;border-color:#e4e7ef;min-height:43px;font-size:11px}.store-search input::placeholder{color:#a2acc1}.stores-empty{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;text-align:center;padding:62px 22px 58px;background:#fff;border:1px dashed #cdd4e5;border-radius:19px;min-height:300px}.stores-empty>svg{width:40px;height:40px;stroke-width:1.1;color:#8799c2;background:#eef1f9;box-sizing:content-box;padding:21px;border-radius:24px;margin-bottom:24px}.stores-empty h3{font-family:'Outfit',sans-serif;font-size:25px;color:#405481;font-weight:500;margin:0 0 10px}.stores-empty p{font-size:11px;line-height:1.9;color:#8a95ac;margin:0 0 24px;max-width:340px}.stores-empty button{font-size:11px}.ifood-test-note{display:grid;grid-template-columns:20px 1fr;gap:5px 9px;background:#faf6ed;border:1px solid #eee3c9;border-radius:11px;padding:13px 14px;margin-bottom:20px;color:#9a7d43}.ifood-test-note>svg{width:17px;height:17px}.ifood-test-note>strong{font-size:11px;font-weight:500}.ifood-test-note>p{grid-column:2;font-size:10px;line-height:1.85;color:#aa956d;margin:0}@media(max-width:1100px){.form-section{padding:23px}.form-footer{padding:19px 22px}.editor-layout{grid-template-columns:minmax(0,1fr)}.editor-aside{grid-template-columns:1fr 1fr;align-items:start}.store-preview{grid-row:span 2}.editor-tip{padding:15px 5px 4px}.danger-section{padding:16px}.fields-grid{gap:19px 15px}}@media(max-width:580px){.fields-grid{grid-template-columns:1fr;gap:19px}.form-section{padding:23px 21px 26px}.form-section h3{font-size:17px}.section-description{font-size:10px;margin-bottom:19px}.form-section label{font-size:11px}.form-section input,.form-section select,.form-section textarea{min-height:46px;font-size:13px}.form-footer{flex-wrap:wrap;padding:18px 20px;gap:10px}.form-footer>button{margin-left:auto;min-height:42px;font-size:11px}.save-feedback:not(:empty){width:100%}.editor-aside{grid-template-columns:1fr 1fr;gap:14px}.store-preview{padding:21px 13px;grid-row:auto;grid-column:1/-1}.store-preview .large{width:52px;height:52px}.store-preview h3{font-size:19px}.store-preview>.eyebrow{margin-bottom:15px}.editor-tip{padding:15px 4px}.editor-tip h3{font-size:14px}.danger-section{padding:16px 13px}.store-search{max-width:none}.stores-empty{min-height:320px;padding:43px 23px}.stores-empty h3{font-size:23px}.stores-empty p{font-size:11px}.stores-empty>svg{width:33px;height:33px;padding:20px}.ifood-test-note{padding:13px 11px}}
/* Form typography follows the original's stronger, more readable labels. */
.form-section label{font-size:12px;color:#59606f;font-weight:500}.form-section input,.form-section textarea,.form-section select{font-size:13px;font-weight:400;color:#41454f;border-color:#dbdee5}.section-description{font-size:11px;color:#818898}.form-section h3{font-size:18px;color:#414b60}.form-section input::placeholder,.form-section textarea::placeholder{font-size:12px;color:#a7aebc}.form-section input:disabled{color:#8c94a6}.store-preview>p,.editor-tip p{color:#818ca4}

/* Multiloja: escopo, menu em duas camadas e monitor */
.sidebar{overflow-y:auto}
.store-switch{align-items:center;margin-bottom:22px}
.store-switch>svg{width:16px;margin-left:2px}

dialog.panel-dialog{padding:22px;width:min(520px,94vw)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.dialog-head h2{margin:0;font-size:20px}
.panel-dialog>.muted{font-size:11px;margin:0 0 14px}
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f1f3f8;border-radius:12px;margin-bottom:14px}
.segmented button{min-height:36px;background:transparent;color:#7a8396;font-size:11px;font-weight:500;box-shadow:none}
.segmented button:hover{background:#fff8;box-shadow:none}
.segmented button.active{background:var(--brand);color:#fff}
.segmented svg{width:15px;height:15px}
.empty-line{padding:18px 6px;font-size:11px;text-align:center}
.inline-form{display:flex;gap:8px;align-items:center;margin-bottom:12px}
.inline-form input{min-height:40px;font-size:12px}
.inline-form button{min-height:40px;font-size:11px;white-space:nowrap}
.group-list{display:grid;gap:6px;max-height:min(46vh,360px);overflow-y:auto}
.group-row{display:flex;align-items:center;gap:6px;padding:8px 8px 8px 14px;border:1px solid #e6eaf2;border-radius:12px;background:#fbfcfe;flex-wrap:wrap}
.group-row>div{flex:1;display:grid;min-width:120px}
.group-row strong{font-family:'Outfit',sans-serif;font-size:13px;font-weight:500;color:#243865}
.group-row small{font-size:10px;color:#969dad}
.group-row .inline-form{flex:1;margin:0}
.group-row>button:not(.icon-button){min-height:34px;font-size:10px;padding:7px 11px}
.danger-text{font-size:10px;color:#b44a60;flex-basis:100%;order:3}
.group-row>.danger,.group-row>.danger~.secondary{order:4}
.scope-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:12px 16px;margin:-8px 0 20px;background:#fff;border:1px solid #e6eaf2;border-radius:13px;font-size:11px;color:#757e93}
.scope-strip>span:first-child{font-weight:600;color:#2a437b}
.scope-strip>.text-action{margin-left:auto;font-size:11px}
.module-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.feature-list{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:12px}
.feature-list li{display:flex;gap:10px;font-size:12px;color:#586073;line-height:1.6}
.feature-list svg{width:16px;height:16px;color:var(--green);flex-shrink:0;margin-top:2px}
.module-status{background:linear-gradient(160deg,#fff,#f5f7fc)}
.module-status h3{margin-top:6px}
.module-status>.muted{font-size:11px;line-height:1.9}
.module-status button{font-size:11px;margin-top:6px}

.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;margin-bottom:12px;background:#ecf0f8;border:1px solid #d4dced;border-radius:13px;font-size:11px;color:#2a437b}
.bulk-bar[hidden]{display:none}
.bulk-bar select{width:auto;min-height:36px;font-size:11px;padding:7px 10px}
.bulk-bar .linkbutton{padding:0;min-height:30px;margin-left:auto}
.bulk-bar.busy{opacity:.6;pointer-events:none}

.status-pill{justify-self:start;font-size:9px;font-weight:600;padding:4px 9px;border-radius:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.status-pill.ok{background:#e8f6f1;color:#1d8566}
.status-pill.off{background:#f2f3f6;color:#8a91a0}
.status-pill.warn{background:#fdf3e2;color:#a8681a}

.editor-groups{padding:18px;border:1px solid #e4e8f2;border-radius:15px;background:#fff}
.editor-groups h3{font-family:'Outfit',sans-serif;font-size:15px;font-weight:500;color:#2a437b;margin:0 0 10px}
.editor-groups .muted{font-size:10px;margin:0}
.group-toggles{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.group-toggle{min-height:30px;padding:5px 11px;font-size:10px;font-weight:500;background:#fff;border:1px solid #d8deea;color:#49629a;box-shadow:none;gap:5px}
.group-toggle:hover{background:#f3f5fb;box-shadow:none}
.group-toggle.on{background:var(--brand);border-color:var(--brand);color:#fff}
.group-toggle svg{width:12px;height:12px}
.editor-groups .text-action{font-size:10px}
@media(max-width:1050px){

.module-layout{grid-template-columns:1fr}}
@media(max-width:640px){

dialog.panel-dialog{padding:18px}}
.provider-mark .brand-svg{display:block;height:1em;width:auto}
.provider-mark.ifood .brand-svg{height:.9em}

/* Engenharia de cardápio */
.menu-editor.busy{opacity:.6;pointer-events:none}
.menu-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.menu-top>div{display:grid;margin-right:auto}
.menu-top strong{font-family:'Outfit',sans-serif;font-size:15px;color:#243865}
.menu-top .muted{font-size:10px}
.menu-top button{font-size:11px;min-height:38px}
.menu-top select{width:auto;min-height:38px;font-size:11px}
.menu-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.menu-stat{display:grid;padding:12px 15px;background:#fff;border:1px solid #e3e7ef;border-radius:13px}
.menu-stat strong{font-family:'Outfit',sans-serif;font-size:22px;font-weight:600;color:#1d305a;line-height:1.2}
.menu-stat span{font-size:10px;color:#7a8396}
.menu-stat.warn strong{color:#b7791f}
.menu-stat.accent strong{color:var(--brand)}
.menu-notice:empty{display:none}
.menu-notice p{margin:0 0 12px;font-size:12px}
.menu-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px;align-items:start;padding-bottom:90px}
.menu-categories{position:sticky;top:12px;display:grid;gap:3px;max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border:1px solid #e3e7ef;border-radius:15px;padding:12px 8px}
.menu-categories>.eyebrow{margin:2px 8px 6px;font-size:9px}
.category-button{justify-content:flex-start;gap:8px;width:100%;min-height:46px;padding:7px 10px;background:transparent;color:#243865;text-align:left;font-weight:400;box-shadow:none;border-radius:10px}
.category-button:hover{background:#f4f6fb;box-shadow:none}
.category-button.active{background:#e9edf5}
.category-button>span:first-child{display:grid;flex:1;min-width:0}
.category-button strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-button small{font-size:9px;color:#969dad}
.category-button.paused strong{color:#969dad;text-decoration:line-through}
.change-dot{font-size:9px;font-weight:600;min-width:18px;padding:1px 6px;border-radius:9px;background:var(--brand);color:#fff;text-align:center}
.menu-panel{min-width:0}
.menu-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}
.menu-tools .store-search{flex:1;min-width:200px;max-width:none}
.menu-filter{display:flex;margin:0;gap:2px}
.menu-filter button{padding:6px 11px;min-height:34px;font-size:10px}
.menu-bulk .bulk-amount{width:80px;min-height:36px;font-size:11px;padding:7px 10px}
.menu-bulk button{min-height:34px;font-size:10px;padding:7px 12px}
.bulk-divider{width:1px;height:22px;background:#cdd5e8}
.menu-list{background:#fff;border:1px solid #e3e7ef;border-radius:15px;overflow:hidden}
.menu-list-head,.menu-row{display:grid;grid-template-columns:20px 44px minmax(0,1fr) 150px 104px 30px 30px;gap:12px;align-items:center;padding:9px 14px}
.menu-list-head{grid-template-columns:20px minmax(0,1fr) 150px 134px;background:#f8f9fc;font-size:9px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#959eb2}
.menu-list input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;accent-color:var(--brand)}
.menu-row{border-top:1px solid #edeff5;transition:background .12s}
.menu-row:hover{background:#fafbfe}
.menu-row.changed{background:#f5f7fc;box-shadow:inset 3px 0 0 var(--brand)}
.menu-row.failed{background:#fff6f7;box-shadow:inset 3px 0 0 #c4485f}
.menu-row.paused .menu-thumb,.menu-row.paused .menu-name{opacity:.55}
.menu-thumb{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;overflow:hidden;background:#eef1f8;color:#8799c2}
.menu-thumb img{width:100%;height:100%;object-fit:cover}
.menu-thumb svg{width:18px;height:18px}
.menu-text{display:grid;gap:1px;min-width:0}
.menu-text input{min-height:0;padding:3px 6px;margin-left:-6px;border:1px solid transparent;border-radius:6px;background:transparent;box-shadow:none}
.menu-text input:hover{border-color:#e4e8f2}
.menu-text input:focus{background:#fff;border-color:#768cbd}
.menu-name{font-family:'Outfit',sans-serif;font-size:13px;font-weight:500;color:#1d305a}
.menu-desc{font-size:10px;color:#8c94a6;text-overflow:ellipsis}
.menu-text input.edited{background:#ecf0f8;color:var(--brand)}
.menu-meta{font-size:9px;color:#a4abbc}
.menu-error{font-size:10px;color:#b44a60;font-weight:500}
.menu-price{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11px;color:#969dad;cursor:text}
.menu-price input{width:86px;min-height:34px;padding:6px 8px;font-family:'Outfit',sans-serif;font-size:13px;font-weight:600;color:#1d305a;text-align:right}
.menu-price.edited input{border-color:var(--brand);background:#ecf0f8;color:var(--brand)}
.menu-price s{flex-basis:100%;font-size:9px;text-align:right;padding-right:2px}
.status-toggle{justify-content:flex-start;gap:8px;min-height:30px;padding:0;background:none;color:#7a8396;font-size:10px;font-weight:500;box-shadow:none}
.status-toggle:hover{background:none;box-shadow:none}
.status-toggle>span{position:relative;width:34px;height:20px;border-radius:20px;background:#d2d7e2;transition:background .15s;flex-shrink:0}
.status-toggle>span:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px #0002}
.status-toggle[aria-checked=true]>span{background:var(--green)}
.status-toggle[aria-checked=true]>span:after{transform:translateX(14px)}
.status-toggle em{font-style:normal}
.row-revert{visibility:hidden;width:30px;min-height:30px;padding:5px}
.menu-row.changed .row-revert,.menu-row.failed .row-revert{visibility:visible}
.publish-bar{position:fixed;left:calc(245px + 24px);right:24px;bottom:16px;z-index:20;display:flex;align-items:center;gap:12px;max-width:1230px;margin:0 auto;padding:12px 16px;background:#fff;border:1px solid #cfd7e9;border-radius:16px;box-shadow:0 14px 40px #182b5526}
.publish-bar[hidden]{display:none}
.publish-bar>div{display:grid;margin-right:auto}
.publish-bar strong{font-family:'Outfit',sans-serif;font-size:14px;color:#243865}
.publish-bar .muted{font-size:10px}
.publish-bar button{font-size:11px;min-height:40px}

.history-list{display:grid;gap:6px;max-height:min(60vh,520px);overflow-y:auto}
.history-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6eaf2;border-radius:12px}
.history-row>div{display:grid;flex:1;min-width:0;gap:2px}
.history-row small{font-size:9px;color:#969dad}
.history-row.failed{border-color:#d6dff2;background:#fff8f9}
.history-diff{display:grid;font-size:10px;color:#5b6478}
.history-row button{min-height:32px;font-size:10px}
dialog.history{width:min(620px,94vw)}
@media(max-width:1050px){.publish-bar{left:calc(215px + 18px);right:18px}
.menu-layout{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:800px){.publish-bar{left:12px;right:12px}
.menu-layout{grid-template-columns:1fr}
.menu-categories{position:static;display:flex;overflow-x:auto;max-height:none;padding:8px}
.menu-categories>.eyebrow{display:none}
.category-button{width:auto;flex-shrink:0;max-width:200px}
.menu-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.menu-list-head{display:none}
.menu-row{grid-template-columns:20px 40px minmax(0,1fr) 30px;grid-template-areas:'box thumb text revert' '. price price toggle';row-gap:6px}
.menu-row>:nth-child(1){grid-area:box}.menu-row>:nth-child(2){grid-area:thumb}.menu-row>:nth-child(3){grid-area:text}
.menu-row>:nth-child(4){grid-area:price}.menu-row>:nth-child(5){grid-area:toggle;justify-self:end}.menu-row>:nth-child(6){grid-area:revert}
.menu-price s{flex-basis:auto}
.publish-bar{flex-wrap:wrap}
.publish-bar>div{flex-basis:100%}}

/* ===== Shell v2: espelha a estrutura do app original ===== */
:root{--p50:#eaedf4;--p100:#e1e6f1;--p600:#153c94;--p700:#123480;--p900:#091e4e;--ink:#081634;--slate700:#334155;--slate500:#64748b;--slate400:#94a3b8;--slate100:#f1f5f9;--ok:#16a34a}
body{background:#f5f7fa}
.shell{font-family:'Outfit',sans-serif}
.sidebar{width:251px;padding:14px 12px 12px;background:#fff;border-right:1px solid #e7eaf2;box-shadow:none;gap:0}
.sidebar .brand{position:relative;justify-content:center;margin:2px 0 14px}

.sidebar .store-switch{position:relative;display:flex;align-items:center;gap:9px;width:100%;min-height:47px;margin:0 0 10px;padding:8px 12px;border-radius:8px;background:linear-gradient(to right,var(--p600),var(--p700));box-shadow:0 1px 2px #0000000d;color:#fff;text-align:left}
.sidebar .store-switch:hover{filter:brightness(1.06);background:linear-gradient(to right,var(--p600),var(--p700))}
.sidebar .store-symbol{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#ffffff26;font-size:12px;flex-shrink:0}
.sidebar .store-text{display:grid;flex:1;min-width:0;line-height:1.2}
.sidebar .store-text small{font-size:9px;font-weight:500;letter-spacing:.6px;color:#d9e3f8}
.sidebar .store-text strong{font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.switch-chevron{font-size:11px;opacity:.85}
.switch-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#f59e0b;color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}
.sidebar .side-nav{display:block;overflow-y:auto;flex:1;margin:0 -4px;padding:0 4px}
.side-nav .nav-list{display:grid;gap:1px;padding:0 0}
.sidebar .nav-item{display:flex;align-items:center;gap:0;min-height:34px;padding:7px 10px;border-radius:8px;color:var(--slate700);font-family:'Outfit',sans-serif;font-size:13px;font-weight:400;text-decoration:none;transition:background .15s,color .15s}
.sidebar .nav-item:hover{background:var(--slate100);color:var(--p700)}
.sidebar .nav-item.active{background:var(--p50);color:var(--p700);font-weight:600}
.nav-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;margin-right:10px;font-size:15px;flex-shrink:0}
.nav-label{flex:1;min-width:0;line-height:1.25}
.sidebar .nav-item.locked{color:var(--slate500);opacity:.7;cursor:default}
.sidebar .nav-item.locked:hover{background:transparent;color:var(--slate500);opacity:1}
.nav-lock{font-size:11px;margin-left:auto;padding-left:4px}
.sidebar .nav-caption{display:block;margin:0;padding:12px 10px 4px;font-family:'Outfit',sans-serif;font-size:11px;font-weight:500;color:var(--slate400);letter-spacing:0}
.nav-group-head{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:0;padding:12px 10px 4px;background:none;color:var(--slate400);box-shadow:none;border-radius:0}
.nav-group-head:hover{background:none;box-shadow:none}
.nav-group-head .brand-img,.nav-group-head .brand-inline{height:14px;opacity:.6;transition:opacity .15s}

.nav-group-head:hover .brand-img,.nav-group-head:hover .brand-inline{opacity:1}
.nav-group-head .brand-inline{display:block;font-size:14px;color:var(--p700)}
.nav-group-head .brand-inline svg{height:1em;width:auto;display:block}
.nav-chevron{font-size:10px;transition:transform .2s}
.nav-group.closed .nav-chevron{transform:rotate(-90deg)}
.nav-group.closed .nav-list{display:none}
.sidebar>.local-indicator{margin:10px 10px 0;padding-top:10px;border-top:1px solid #edeff5}
.main{width:calc(100% - 251px);margin-left:251px;padding:4px 8px 24px 10px}
.top{position:sticky;top:4px;z-index:25;min-height:56px;height:56px;margin-bottom:12px;padding:0 16px;border:1px solid #eaedf4cc;border-radius:12px;background:#ffffffcc;backdrop-filter:blur(12px);box-shadow:0 4px 18px #091e4e0d}
.top .breadcrumb{display:flex;gap:6px;align-items:center;font-family:'Outfit',sans-serif;font-size:11px;color:var(--slate400);letter-spacing:.3px;line-height:1}
.top .breadcrumb strong{color:var(--p700);font-weight:500}
.top h1{margin:3px 0 0;font-family:'Outfit',sans-serif;font-size:18px;font-weight:700;letter-spacing:.3px;color:var(--p700);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-title{min-width:0;flex:1}
.top .profile-button{font-family:'Outfit',sans-serif;font-size:13px;color:#1e293b;gap:8px}
.top .avatar{width:32px;height:32px;background:linear-gradient(135deg,var(--p600),#5472b5);font-size:11px}
.top .account-menu{gap:4px}
.top .account-menu>.icon-button{border:0;width:36px;padding:8px;color:#1e293b;font-size:16px}
.top .account-menu>.icon-button:hover{background:var(--slate100)}
.page-content{max-width:none;padding-top:0}

/* ===== Início ===== */
.agent-stage{position:relative;display:flex;flex-direction:column;align-items:center;padding:34px 28px 40px;border-radius:10px;color:var(--p900);font-family:'Poppins',sans-serif;background:radial-gradient(900px 520px at 82% -4%,#5472b51f,transparent 60%),radial-gradient(820px 520px at 6% 38%,#153c9417,transparent 58%),linear-gradient(#eef2fb,#f8fafd);overflow:hidden}
.stage-kicker{display:inline-flex;align-items:center;gap:8px;font-family:'Outfit',sans-serif;font-size:11px;font-weight:600;letter-spacing:2.4px;color:#5a71a5}
.stage-kicker i{width:6px;height:6px;border-radius:50%;background:#4e71c0;box-shadow:0 0 0 4px #4e71c026}
.stage-title{margin:12px 0 26px;padding:0 8px;font-family:'Outfit',sans-serif;font-size:38px;font-weight:800;line-height:1.08;letter-spacing:-.03em;color:var(--ink);text-align:center}
.step-row{display:flex;gap:12px;align-items:stretch}
.step-card{display:flex;align-items:center;gap:12px;min-width:270px;padding:14px 18px 14px 14px;background:#fff;border:1px solid #dfe5f1;border-radius:14px;box-shadow:0 8px 24px #091e4e12}
.step-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--p50);color:var(--p700);font-size:14px;flex-shrink:0}
.step-card>div{display:grid;gap:2px}
.step-label{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:1.5px;color:#7a87a3}
.step-label b{font-weight:700;margin-left:4px}
.step-label .live{color:var(--ok)}
.step-label .pending{color:#b7791f}
.step-card strong{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:var(--ink)}
.step-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:#666f84}
.step-meta i{color:var(--ok);font-size:10px}
.step-meta a{color:var(--p700);font-weight:600;text-decoration:none;margin-left:4px}
.step-add{display:grid;place-items:center;align-content:center;gap:4px;width:76px;padding:8px;background:#fff;border:1px solid #dfe5f1;border-radius:14px;color:var(--p700);box-shadow:0 8px 24px #091e4e12}
.step-add:hover{background:#f9fbfe;box-shadow:0 8px 24px #091e4e1c}
.step-plus{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--p50);font-size:18px;font-weight:500}
.step-add small{font-family:'Outfit',sans-serif;font-size:10px;font-weight:600}
.flow-lines{display:block;width:min(100%,980px);height:44px;margin:4px 0 2px;overflow:visible}
.flow-lines path{fill:none;stroke:#a6b5d6;stroke-width:1.2;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.flow-lines circle{fill:#4e71c0}
.stage-label{margin:6px 0 14px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;letter-spacing:2.6px;color:#7a87a3}
.platform-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(100%,980px)}
.platform-tile{display:grid;justify-items:center;align-content:center;gap:6px;min-height:128px;padding:16px 12px;background:#fff;border:1px solid #dfe5f1;border-radius:14px;box-shadow:0 8px 24px #091e4e10;text-align:center}
.platform-tile .tile-logo{height:30px;width:auto;color:var(--p700)}
.platform-tile .brand-inline.tile-logo{height:auto;font-size:30px;display:block}
.platform-tile .brand-inline.tile-logo svg{height:1em;width:auto;display:block}
.platform-tile.is-ifood .brand-inline.tile-logo{font-size:26px}

.platform-tile p{margin:0;font-size:11px;color:#6f7a92}
.tile-status{display:inline-flex;align-items:center;gap:6px;font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;color:#7a87a3}
.tile-status.on{color:var(--ok)}
.tile-status i{width:7px;height:7px;border-radius:50%;background:var(--ok)}
.tile-action{min-height:0;padding:2px 4px;gap:6px;background:none;color:var(--p700);font-family:'Outfit',sans-serif;font-size:13px;font-weight:700;box-shadow:none}
.tile-action:hover{background:none;box-shadow:none;text-decoration:underline}
.tile-action i{font-size:11px}

.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(100%,980px);align-items:start}
.work-col{display:grid;gap:4px;padding:16px 14px;background:#fff;border:1px solid #dfe5f1;border-radius:14px;box-shadow:0 8px 24px #091e4e10}
.work-col>.work-logo{justify-self:center;margin:2px 0 10px;color:var(--p700)}
.work-col>.brand-inline.work-logo{font-size:22px}
.work-col>.brand-inline.work-logo svg{height:1em;width:auto;display:block}

.work-col>img.work-logo{height:22px}

.work-item{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:0;padding:8px 6px;background:none;border-radius:9px;color:inherit;text-align:left;font-weight:400;box-shadow:none}
button.work-item:hover{background:#f3f5fb;box-shadow:none}
.work-icon{width:16px;margin-top:3px;color:#5a74ae;font-size:13px;text-align:center}
.work-item>span{display:grid;gap:2px;flex:1;min-width:0}
.work-item strong{font-family:'Outfit',sans-serif;font-size:13px;font-weight:700;color:var(--ink)}
.work-item small{font-size:11px;line-height:1.45;color:#7a8396}
.work-item.soon strong,.work-item.soon small,.work-item.soon .work-icon{color:#a9b0c0}
.work-tag{justify-self:start;font-style:normal;font-family:'Outfit',sans-serif;font-size:9px;font-weight:700;padding:2px 7px;border-radius:5px;background:#eef0f6;color:#9aa4b9}
.work-tag.ready{background:#dcfce7;color:#15803d}
.work-chevron{margin-top:4px;font-size:10px;color:#a8b3cb}
.news-card{width:min(100%,980px);margin-top:28px;padding:18px;background:#fff;border:1px solid #dfe5f1;border-radius:16px;box-shadow:0 8px 24px #091e4e10}
.news-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.news-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#f97316,#fb923c);color:#fff;font-size:13px}
.news-head strong{font-family:'Outfit',sans-serif;font-size:15px;font-weight:700;color:var(--ink)}
.news-tag{font-size:9px;font-weight:700;padding:2px 8px;border-radius:5px;background:#fef3c7;color:#b45309}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.news-item{display:grid;justify-items:start;align-content:start;gap:4px;min-height:84px;padding:12px 14px;background:#f5f7fc;border:1px solid #dfe5f3;border-radius:12px;color:inherit;text-align:left;font-weight:400;box-shadow:none}
.news-item:hover{background:#ecf0f8;box-shadow:none}
.news-item strong{font-family:'Outfit',sans-serif;font-size:13px;font-weight:700;color:var(--ink)}
.news-item span{font-size:11px;line-height:1.5;color:#7a8396}
@media(max-width:1050px){.sidebar{width:231px}
.main{width:calc(100% - 231px);margin-left:231px}
.platform-grid,.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.main{width:100%;margin:0;padding:6px 10px 24px}
.sidebar{width:251px}
.stage-title{font-size:28px}
.agent-stage{padding:26px 14px 30px}
.step-row{flex-direction:column;width:100%}
.step-card{min-width:0}
.step-add{width:auto;grid-auto-flow:column}
.platform-grid,.work-grid,.news-grid{grid-template-columns:1fr}
.flow-lines{height:28px}}

.fa-icon{display:inline-block;height:1em;width:auto;vertical-align:-.125em;flex-shrink:0}
.nav-icon .fa-icon{height:15px}
.store-symbol .fa-icon{height:12px}

/* ===== Dashboard ===== */
.dash-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 0 14px;border-bottom:1px solid #e4e7ef;margin-bottom:16px}
.dash-tabs{display:flex;flex-wrap:wrap;gap:6px}
.dash-tabs button{min-height:30px;padding:6px 13px;border-radius:8px;background:#eaedf4;color:#2a4276;font-family:'Outfit',sans-serif;font-size:12px;font-weight:500;box-shadow:none}
.dash-tabs button:hover{background:#d7deee;box-shadow:none}
.dash-tabs button.active{background:var(--p700);color:#fff;font-weight:600}
.dash-actions{display:flex;gap:8px;flex-shrink:0}
.dash-export-all{min-height:36px;padding:8px 16px;border-radius:8px;background:#e5484d;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;gap:8px}
.dash-export-all:hover{background:#d93d42}
.dash-range{position:relative;display:flex;align-items:center;gap:8px;min-height:36px;padding:0 4px 0 12px;border-radius:8px;background:var(--p700);color:#fff;font-size:12px}
.dash-range select{min-height:34px;width:auto;padding:4px 8px;border:0;background:transparent;color:#fff;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;box-shadow:none;cursor:pointer}
.dash-range select:focus{box-shadow:none}
.dash-range option{color:#081634}
.dash-note{display:flex;align-items:flex-start;gap:9px;padding:10px 14px;margin-bottom:18px;border:1px solid #d7dff0;border-radius:10px;background:#f5f7fc;color:#3f5586;font-size:12px;line-height:1.6}
.dash-note .fa-icon{margin-top:3px}
.dash-sections{display:grid;gap:30px;padding-bottom:40px}
.dash-section{display:grid;gap:12px}
.dash-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.dash-section-head h2{position:relative;margin:0;padding-left:13px;font-family:'Outfit',sans-serif;font-size:19px;font-weight:700;color:#1e1b2e}
.dash-section-head h2:before{content:'';position:absolute;left:0;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#4e71c0}
.dash-section-head p{margin:4px 0 0 13px;font-size:12px;color:#64748b}
.dash-export{min-height:28px;padding:5px 10px;gap:6px;border-radius:7px;background:#eaedf4;color:var(--p700);font-family:'Outfit',sans-serif;font-size:11px;font-weight:600;box-shadow:none}
.dash-export:hover{background:#d7deee;box-shadow:none}
.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dash-stats.seven{grid-template-columns:repeat(7,minmax(0,1fr))}
.dash-stats.six{grid-template-columns:repeat(6,minmax(0,1fr))}
.dash-stats.stack{grid-template-columns:1fr;align-content:start}
.dash-stat{display:grid;align-content:start;gap:6px;min-height:72px;padding:12px 14px;background:#fff;border:1px solid #e5e8ee;border-radius:12px;box-shadow:0 1px 2px #0000000a}
.dash-stat-label{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;letter-spacing:1.2px;color:#475569}
.dash-stat strong{font-family:'Outfit',sans-serif;font-size:19px;font-weight:700;color:#1e1b2e}
.dash-stat small{font-size:10.5px;color:#64748b}
.dash-stat.ok strong{color:var(--ok)}
.dash-stat.bad strong{color:#dc2626}
.dash-card{display:grid;align-content:start;gap:10px;padding:16px;background:#fff;border:1px solid #e5e8ee;border-radius:14px;box-shadow:0 1px 2px #0000000a;min-width:0}
.dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.dash-card-head h3{margin:0;font-family:'Outfit',sans-serif;font-size:15px;font-weight:600;color:#1e1b2e}
.dash-card-head p{margin:3px 0 0;font-size:11.5px;color:#64748b}
.dash-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dash-two.flat{gap:28px}

.dash-side{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:14px}
.dash-pills{display:flex;flex-wrap:wrap;gap:5px}
.dash-pills button{min-height:24px;padding:3px 10px;border-radius:20px;background:#eaedf4;color:#2a4276;font-family:'Outfit',sans-serif;font-size:11px;font-weight:500;box-shadow:none}
.dash-pills button:hover{background:#d7deee;box-shadow:none}
.dash-pills button.active{background:var(--p700);color:#fff;font-weight:600}
.dash-chart-empty{position:relative;height:200px;border-radius:10px;background:linear-gradient(#fff,#f9fafd)}
.dash-chart-empty>svg{position:absolute;inset:10px 10px 20px 36px;width:calc(100% - 46px);height:calc(100% - 30px)}
.dash-chart-empty line{stroke:#e8ebf2;stroke-width:1;vector-effect:non-scaling-stroke}
.dash-empty-msg{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:6px;color:#949cad;font-size:12px}
.dash-empty-msg .fa-icon{font-size:18px;color:#bfc7da}

.dash-ifood-reviews{justify-items:stretch}
.dash-ifood-reviews .dash-ifood-logo{justify-self:center;font-size:26px;color:var(--p700)}
.dash-ifood-reviews .dash-ifood-logo svg{height:1em;width:auto;display:block}
.dash-minis{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dash-mini{display:flex;align-items:center;gap:10px}
.dash-mini>div{display:grid}
.dash-mini small{font-size:11px;color:#64748b}
.dash-mini strong{font-family:'Outfit',sans-serif;font-size:15px;color:#1e1b2e}
.dash-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--p700);color:#fff;font-size:14px;flex-shrink:0}
.dash-compare{display:grid}
.dash-compare-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #edeff3;font-size:12.5px;color:#334155;text-align:right}
.dash-compare-row>:first-child{text-align:left}
.dash-compare-row.head{border-top:0;padding-top:0}
.dash-compare-row.head div{display:grid}
.dash-compare-row.head strong{font-weight:600;color:#1e1b2e}
.dash-compare-row.head small{font-size:10px;color:#64748b}
.dash-total{font-size:11.5px;font-weight:600;color:#334155;white-space:nowrap}
.dash-mini-label{display:block;margin-bottom:8px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;letter-spacing:1px;color:#475569}
.dash-bars{display:grid;gap:9px}
.dash-bar-row>div:first-child{display:flex;align-items:baseline;gap:8px;font-size:12px;color:#1e293b}
.dash-bar-row>div:first-child span{flex:1}
.dash-bar-row strong{font-weight:600}
.dash-bar-row small{width:32px;text-align:right;font-size:10px;color:#94a3b8}
.dash-track{height:4px;margin-top:4px;border-radius:4px;background:#e6eaf2;overflow:hidden}
.dash-track i{display:block;width:0;height:100%;background:var(--p700)}
.dash-table{display:grid;margin-top:6px}
.dash-table-row{display:grid;grid-template-columns:minmax(0,3fr) repeat(6,minmax(0,1fr));gap:10px;padding:8px 0;font-size:11px;text-align:right}
.dash-table-row>:first-child{text-align:left}
.dash-table-row.head{border-bottom:1px solid #edeff3;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:.6px;color:#475569}

.dash-list-empty{display:grid;justify-items:center;gap:8px;padding:34px 10px;color:#949cad;font-size:12px;text-align:center}
.dash-list-empty .fa-icon{font-size:18px;padding:10px;box-sizing:content-box;border-radius:50%;background:#eef1f7;color:#a8b3cb}
.dash-icon-card{gap:4px}
.dash-icon-head{display:flex;align-items:center;gap:12px}
.dash-icon-head .dash-icon{width:40px;height:40px;border-radius:10px;font-size:16px}
.dash-icon-head h3{margin:0;font-family:'Outfit',sans-serif;font-size:17px;font-weight:600;color:#1e1b2e}
.dash-sub{margin:10px 0 0;font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:#1e1b2e}

.dash-info{display:flex;gap:9px;padding:10px 14px;border:1px solid #d7dff0;border-radius:10px;background:#f5f7fc;font-size:12px;line-height:1.6;color:#2e3f66}
.dash-info .fa-icon{margin-top:3px;color:#5a74ae}
.dash-steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:4px}
.dash-steps:before{content:'';position:absolute;left:4px;right:4px;top:8px;height:1px;background:#d2d9e7}
.dash-steps>div{position:relative;display:grid;gap:4px}
.dash-steps i{width:9px;height:9px;border-radius:50%;background:var(--p700);margin-bottom:8px}
.dash-steps small{font-size:11px;color:#475569}
.dash-steps strong{font-family:'Outfit',sans-serif;font-size:15px;color:#1e1b2e}
.dash-super-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e5e8ee;border-radius:12px;background:#fff}
.dash-super-banner>div{display:grid;gap:2px}
.dash-super-banner strong{font-family:'Outfit',sans-serif;font-size:15px;color:#1e1b2e}
.dash-super-banner span{font-size:12px;color:#64748b}
.dash-criteria{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dash-criterion{display:grid;gap:8px;padding:14px 16px;background:#fff;border:1px solid #e5e8ee;border-radius:12px}
.dash-criterion>div:first-child{display:flex;justify-content:space-between;align-items:center;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;letter-spacing:1px;color:#475569}
.dash-criterion em{font-style:normal;font-family:'Outfit',sans-serif;font-size:10px;font-weight:600;letter-spacing:0;padding:2px 8px;border-radius:10px;background:#f1f5f9;color:#64748b}
.dash-criterion-value{display:flex;align-items:baseline;gap:8px}
.dash-criterion-value strong{font-family:'Outfit',sans-serif;font-size:22px;color:#1e1b2e}
.dash-criterion-value small{font-size:11px;color:#64748b}
.dash-criterion p{margin:0;font-size:11px;color:#64748b}
@media(max-width:1200px){.dash-stats.seven{grid-template-columns:repeat(4,minmax(0,1fr))}.dash-stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.dash-toolbar{flex-direction:column}.dash-two,.dash-three,.dash-side{grid-template-columns:1fr}.dash-criteria{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.dash-stats,.dash-stats.seven,.dash-stats.six{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-criteria,.dash-steps{grid-template-columns:1fr}.dash-steps:before{display:none}.dash-table-row{grid-template-columns:2fr repeat(2,1fr)}.dash-table-row>:nth-child(n+4){display:none}.dash-compare-row{font-size:11px}.dash-actions{width:100%}.dash-actions>*{flex:1}}

/* ===== Avaliações ===== */
.rv-top{display:grid;gap:14px;padding:14px 20px 18px;margin-bottom:14px;background:#fff;border:1px solid #e5e8ee;border-radius:14px;box-shadow:0 1px 2px #0000000a}
.rv-title{display:flex;justify-content:center;align-items:center;gap:8px;font-family:'Outfit',sans-serif;font-size:15px;font-weight:600;color:var(--p700)}
.rv-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.rv-logo{font-size:26px;color:var(--p700);margin-right:10px}
.rv-logo svg{height:1em;width:auto;display:block}
.rv-version{display:flex;align-items:center;gap:8px;font-family:'Outfit',sans-serif;font-size:13px;color:#334155}
.rv-seg{display:flex;gap:2px;padding:3px;border:1px solid #e2e8f0;border-radius:9px}
.rv-seg button{min-height:28px;padding:4px 14px;background:transparent;color:#1e293b;font-family:'Outfit',sans-serif;font-size:13px;font-weight:600;border-radius:7px;box-shadow:none}
.rv-seg button:hover{background:var(--slate100);box-shadow:none}
.rv-seg button.active{background:var(--p700);color:#fff}
.rv-pill{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:9px;background:var(--p700);color:#fff;font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;box-shadow:0 2px 6px #12348033}
.rv-pill:hover{background:var(--p600)}
.rv-range{padding:0 4px 0 12px}
.rv-range select{width:auto;min-height:34px;padding:4px 6px;border:0;background:transparent;color:#fff;font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;box-shadow:none;cursor:pointer}
.rv-range select:focus{box-shadow:none}
.rv-range option{color:#081634}
.rv-send{display:grid;justify-items:center;gap:2px;min-height:44px;padding:6px 18px;margin-left:12px;border-radius:9px;background:var(--p700);font-family:'Outfit',sans-serif;font-size:11px;font-weight:600;line-height:1.2}
.rv-send span{max-width:70px;text-align:center}
.rv-count{max-width:110px;font-family:'Outfit',sans-serif;font-size:13px;color:#334155;line-height:1.3}
.rv-panel{background:#fff;border:1px solid #e5e8ee;border-radius:14px;box-shadow:0 1px 2px #0000000a;overflow:hidden}
.rv-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 10px}
.rv-search{position:relative;display:flex;align-items:center;width:min(100%,210px)}
.rv-search input{min-height:36px;padding:7px 34px 7px 12px;border:1px solid #e2e8f0;border-radius:8px;font-family:'Outfit',sans-serif;font-size:13px}
.rv-search .fa-icon{position:absolute;right:11px;color:#475569;font-size:13px;pointer-events:none}
.rv-filter{min-height:30px;padding:5px 12px;gap:7px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#334155;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:500;box-shadow:none}
.rv-filter:hover{background:var(--slate100);box-shadow:none}
.rv-filter .fa-icon{color:#94a3b8}
.rv-filter i{width:6px;height:6px;border-radius:50%;background:#cbd5e1}
.rv-filter.on{border-color:var(--p700);background:#fff;color:var(--p700);box-shadow:0 0 0 1px var(--p700)}
.rv-filter.on .fa-icon{color:var(--p700)}
.rv-filter.on i{background:var(--p700)}
.rv-scroll{overflow-x:auto;padding:0 10px 10px}
.rv-table{width:100%;min-width:1180px;border-collapse:collapse;font-family:'Outfit',sans-serif;font-size:13px;color:#1e293b}
.rv-table th{padding:10px 12px;border-bottom:1px solid #e2e8f0;font-weight:600;color:#1e293b;text-align:center;vertical-align:middle;line-height:1.25}
.rv-table th>span{display:inline-flex;align-items:center;gap:6px}
.rv-table th input{width:15px;height:15px;min-height:0;padding:0;accent-color:var(--p700)}
.rv-th-filter{color:#cbd5e1;font-size:11px}
.rv-table td{padding:16px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
.rv-empty{display:grid;justify-items:center;gap:6px;padding:56px 10px;color:#94a3b8;font-size:12.5px;text-align:center}
.rv-empty .fa-icon{font-size:20px;padding:12px;box-sizing:content-box;border-radius:50%;background:#eef1f7;color:#a8b3cb}
.rv-empty strong{font-size:15px;color:#475569}
.rv-switch-row{display:flex;align-items:center;gap:12px;padding:6px 0 12px;font-family:'Outfit',sans-serif;font-size:13px;color:#1e293b}
.rv-dialog-foot{display:flex;justify-content:space-between;margin-top:16px;padding-top:14px;border-top:1px solid #edeff3}
.rv-dialog-foot button{min-height:36px;font-size:12px}
@media(max-width:800px){.rv-send{margin-left:0}.rv-controls{gap:8px}}
.rv-table.is-empty{min-width:0}
.dash-note.error{border-color:#f5c2c7;background:#fff5f6;color:#123e9f}
.dash-note.ok{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.rv-tools-right{display:flex;gap:8px}
.rv-tools-right .rv-filter:disabled{opacity:.5}
.rv-stars{display:inline-flex;gap:2px;font-size:13px;white-space:nowrap}
.rv-stars .on{color:var(--p700)}
.rv-stars .off{color:#d6dbe6}
.rv-th-btn{min-height:0;padding:2px;background:none;color:#cbd5e1;font-size:11px;box-shadow:none}
.rv-th-btn:hover{background:none;color:var(--p700);box-shadow:none}
.rv-th-btn.active{color:var(--p700)}
.rv-menu{position:absolute;z-index:60;display:grid;min-width:190px;padding:6px;background:#fff;border:1px solid #e5e8ee;border-radius:10px;box-shadow:0 12px 30px #08163426}
.rv-menu button{justify-content:flex-start;min-height:32px;padding:6px 10px;background:none;color:#334155;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:400;border-radius:7px;box-shadow:none;text-align:left}
.rv-menu button:hover{background:var(--slate100);box-shadow:none}
.rv-menu button.active{background:var(--p50);color:var(--p700);font-weight:600}
.rv-table td{text-align:center;color:#1e293b}
.rv-table td.rv-comment{max-width:260px;text-align:left;line-height:1.5}
.rv-table tr.done td{background:#fcfcfd}
.rv-reply{display:grid;gap:4px;min-width:220px}
.rv-reply textarea{min-height:0;padding:10px 12px;border:2px solid #e2e8f0;border-radius:12px;font-family:'Outfit',sans-serif;font-size:13px;line-height:1.5;color:#334155;resize:vertical}
.rv-reply textarea:focus{border-color:var(--p600);box-shadow:0 0 0 4px #eaedf4}
.rv-source{justify-self:start;font-size:10px;font-weight:600;color:#5a74ae}
.rv-reply-done{min-width:220px;max-width:280px;padding:10px 12px;border-radius:12px;background:#f8fafc;color:#475569;font-size:12.5px;line-height:1.5;text-align:left}
.rv-status{font-size:13px;color:#334155}
.rv-status.ok{color:var(--ok);font-weight:600}
.rv-info{width:34px;min-height:34px;padding:0;border-radius:9px;background:var(--p700);font-size:14px}
.rv-cards{display:grid;gap:12px;padding:6px 18px 18px}
.rv-card{display:grid;gap:10px;padding:14px 16px;border:1px solid #e5e8ee;border-radius:12px;background:#fff}
.rv-card.done{background:#fcfcfd}
.rv-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-family:'Outfit',sans-serif}
.rv-card-head strong{font-size:14px;color:#1e293b}
.rv-card-head small{font-size:11px;color:#64748b}
.rv-card-head .rv-status{margin-left:auto}
.rv-card .rv-comment{margin:0;font-size:13px;line-height:1.6;color:#334155}
.rv-card-foot{display:flex;justify-content:space-between;align-items:center}
.rv-card-foot label{display:flex;align-items:center;gap:8px;font-size:12px;color:#334155}
.rv-card .rv-reply,.rv-card .rv-reply-done{max-width:none;min-width:0}
.rv-table input[type=checkbox],.rv-card input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;accent-color:var(--p700)}
.rv-details{display:grid;grid-template-columns:140px 1fr;gap:8px 14px;margin:0;font-size:13px}
.rv-details dt{color:#64748b}
.rv-details dd{margin:0;color:#1e293b;word-break:break-word}
.rv-table td.rv-comment{min-width:200px}

.merchant-picker{display:grid;gap:12px;padding:16px;border:1px solid #dce2ef;border-radius:14px;background:#f9fafd}
.mp-head h3{margin:0;font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:#081634}
.mp-head p{margin:4px 0 0;font-size:12px;color:#64748b;line-height:1.5}

.mp-list{display:grid;gap:8px;max-height:420px;overflow-y:auto}
.mp-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(180px,260px);align-items:center;gap:12px;padding:10px 12px;background:#fff;border:1px solid #e5e8ee;border-radius:12px}
.mp-row.picked{border-color:var(--p600);box-shadow:0 0 0 1px var(--p600)}
.mp-row.linked{grid-template-columns:42px minmax(0,1fr) auto auto;background:#f8fdf9;border-color:#cdeed8}
.mp-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eaedf4;color:var(--p700);font-size:12px}
.mp-icon svg{height:1em;width:auto;display:block}
.mp-text{display:grid;min-width:0}
.mp-text strong{font-family:'Outfit',sans-serif;font-size:14px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-text small{font-size:10.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-row select{min-height:38px;font-size:12px}
.mp-linked{display:inline-flex;align-items:center;gap:6px;font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;color:var(--ok)}
.mp-row .secondary{min-height:32px;font-size:11px;padding:6px 10px}

.mp-feedback:empty{display:none}
.mp-feedback p{margin:0;font-size:12px}
@media(max-width:640px){.mp-row,.mp-row.linked{grid-template-columns:36px minmax(0,1fr)}.mp-row>select,.mp-row>.mp-linked,.mp-row>.secondary{grid-column:1/-1}}

.mp-row{grid-template-columns:42px minmax(0,1fr) auto}
.mp-row>button:not(.secondary){min-height:36px;font-size:12px}

/* Conexão iFood por loja */
dialog.ifood-connect{width:min(620px,94vw);max-height:90vh;overflow-y:auto}
dialog.ifood-connect .dialog-head .provider-mark{font-size:30px}
.ifood-connect{display:grid;gap:14px}
.ic-store{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:12px;background:#f6f8fc;border:1px solid #dfe5f1}
.ic-store .mp-icon{background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;font-size:15px}
.ic-store small{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:1.2px;color:#7a87a3}
.ifood-connect .ifood-test-note{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:10px 12px;border-radius:10px;background:#fffbeb;border:1px solid #fde68a;color:#92400e}
.ifood-connect .ifood-test-note .fa-icon{grid-row:span 2;margin-top:3px}
.ifood-connect .ifood-test-note strong{font-size:12.5px}
.ifood-connect .ifood-test-note p{margin:0;font-size:11.5px}
.ic-steps{display:grid;gap:8px}
.ic-steps>div{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#334155}
.ic-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--p50);color:var(--p700);font-size:11px;flex-shrink:0}
.ifood-connect>button:not(.secondary){justify-self:start;min-height:42px;gap:10px;font-size:13px}
.ic-btn-logo{font-size:18px;color:#fff}
.ic-btn-logo svg{height:1em;width:auto;display:block}
.ic-flow{display:grid;gap:10px}
.ic-flow .button{justify-self:start}
.ic-flow form{display:grid;gap:10px}
.ic-flow .linkbutton{justify-self:start;padding:0}
.ic-actions{display:flex;gap:6px}
.ic-actions button{min-height:32px;font-size:11px;padding:6px 12px}
.ic-store-list{display:grid;gap:8px}
.ic-store-list .mp-row{grid-template-columns:42px minmax(0,1fr) auto auto}
.ic-apps{display:grid;gap:8px}
.ic-apps .mp-row{grid-template-columns:42px minmax(0,1fr) auto auto}
.ic-apps .ic-flow{padding:12px;border:1px dashed #cbd5e1;border-radius:12px}
@media(max-width:640px){.ic-apps .mp-row{grid-template-columns:36px minmax(0,1fr)}.ic-apps .mp-row>.status-pill,.ic-apps .mp-row>.ic-actions{grid-column:2}}
button.tile-status{min-height:0;padding:2px 4px;background:none;box-shadow:none}
button.tile-status:hover{background:none;box-shadow:none;text-decoration:underline}
.ifood-feature>.provider-mark{font-size:34px;margin-bottom:12px}
.dash-chart{height:210px}
.dash-svg{width:100%;height:100%;overflow:visible;font-family:'Outfit',sans-serif}
.dash-svg .grid{stroke:#e8ebf2;stroke-width:1;vector-effect:non-scaling-stroke}
.dash-svg .axis{font-size:10px;fill:#94a3b8}
.dash-svg .value{font-size:10px;fill:#334155;font-weight:600}
.dash-svg .line{fill:none;stroke:var(--p700);stroke-width:2.2;vector-effect:non-scaling-stroke}
.dash-svg .area{fill:#12348014}
.dash-svg .bar{fill:var(--p700)}
.dash-svg .bar:hover{fill:#5472b5}
.dash-svg .hit{fill:transparent}
.dash-svg .hit:hover{fill:var(--p700)}
.dash-compare-row em{margin-left:6px;font-style:normal;font-size:11px}
.dash-compare-row em.up{color:var(--ok)}
.dash-compare-row em.down{color:#dc2626}
.dash-table-row .cost{color:#dc2626}
.dash-table-row b{color:#94a3b8;font-weight:500}
.dash-criterion em.ok{background:#dcfce7;color:#15803d}
.dash-criterion em.warn{background:#fef3c7;color:#b45309}
.dash-rank{display:grid;gap:8px}
.dash-rank-row>div:first-child{display:flex;align-items:baseline;gap:8px;font-size:12.5px;color:#1e293b}
.dash-rank-row b{width:16px;color:#94a3b8;font-weight:500;font-size:11px}
.dash-rank-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-rank-row small{display:block;margin-left:24px;font-size:10px;color:#94a3b8}
.dash-rank-row .dash-track{margin-left:24px}
button.menu-thumb{min-height:0;padding:0;border:0;cursor:pointer;position:relative;box-shadow:none}
button.menu-thumb:hover{background:#dce3f1;box-shadow:0 0 0 2px var(--p600)}
button.menu-thumb:hover:after{content:'';position:absolute;inset:0;background:#12348055 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center/18px no-repeat;border-radius:10px}
button.menu-thumb.uploading{opacity:.5;pointer-events:none}

/* Detalhe do item */
.menu-row{cursor:default}
.menu-row.open{background:#ecf0f8;box-shadow:inset 3px 0 0 var(--p700)}
.row-details{width:30px;min-height:30px;padding:6px;color:#5a74ae}
.menu-meta.changed-opts{color:var(--p700);font-weight:600}
.item-drawer{position:fixed;top:12px;right:12px;bottom:12px;z-index:45;width:min(430px,calc(100vw - 24px));display:flex;flex-direction:column;gap:14px;padding:16px;overflow-y:auto;background:#fff;border:1px solid #dce2ef;border-radius:16px;box-shadow:0 20px 60px #08163433}
.item-drawer[hidden]{display:none}
.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.drawer-head>div{display:grid;gap:2px;min-width:0}
.drawer-head small{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:1.2px;color:#7a87a3}
.drawer-head strong{font-family:'Outfit',sans-serif;font-size:16px;color:#1e293b}
.drawer-photo{position:relative;display:grid;place-items:center;min-height:180px;border-radius:12px;background:#eef1f8;overflow:hidden}
.drawer-photo img{width:100%;height:220px;object-fit:cover}
.drawer-photo .muted{font-size:12px}
.drawer-photo-btn{position:absolute;right:10px;bottom:10px;min-height:32px;padding:6px 12px;gap:6px;background:#fff;color:#1e293b;font-size:11.5px;box-shadow:0 2px 8px #0002}
.drawer-photo-btn:hover{background:#f8fafc}
.drawer-avail{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;border:1px solid #bbf7d0;background:#f0fdf4}
.drawer-avail.off{border-color:#fde68a;background:#fffbeb}
.drawer-avail>div{display:grid}
.drawer-avail strong{font-family:'Outfit',sans-serif;font-size:14px;color:#166534}
.drawer-avail.off strong{color:#92400e}
.drawer-avail small{font-size:11px;color:#64748b}
.drawer-avail button{min-height:34px;font-size:11.5px;gap:6px}
.drawer-form{display:grid;gap:10px}
.drawer-form label{font-size:11px}
.drawer-form input,.drawer-form textarea{min-height:38px;font-size:13px}
.drawer-groups{display:grid;gap:10px}
.drawer-groups h4{margin:4px 0 0;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;letter-spacing:1.2px;color:#475569}
.drawer-groups .muted{font-size:12px;margin:0}
.drawer-group{display:grid;gap:2px;padding:12px;border:1px solid #e5e8ee;border-radius:12px}
.drawer-group.off{opacity:.6}
.drawer-group-head{display:grid;margin-bottom:6px}
.drawer-group-head strong{font-family:'Outfit',sans-serif;font-size:14px;color:#1e293b}
.drawer-group-head small{font-size:11px;color:#64748b}
.drawer-option{display:grid;grid-template-columns:minmax(0,1fr) 112px 40px;align-items:center;gap:8px;padding:6px 6px;border-radius:8px}
.drawer-option.changed{background:#ecf0f8}
.drawer-option.paused .drawer-option-name{color:#94a3b8;text-decoration:line-through}
.drawer-option-name{font-size:13px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer-option-price{display:flex;align-items:center;gap:4px;font-size:11px;color:#94a3b8}
.drawer-option-price input{min-height:30px;padding:4px 8px;font-size:12.5px;text-align:right}
.drawer-option .status-toggle em{display:none}
@media(max-width:640px){.menu-row{grid-template-columns:20px 40px minmax(0,1fr) 30px;grid-template-areas:'box thumb text more' '. price price toggle'}.menu-row>:nth-child(7){grid-area:more}.menu-row>:nth-child(6){display:none}}
/* Estrutura do cardápio */
.side-head{display:flex;align-items:center;justify-content:space-between;margin:0 4px 4px 8px}
.side-head .eyebrow{margin:0}
.side-head .icon-button{width:28px;min-height:28px;padding:5px;color:var(--p700)}
.category-button[draggable=true]{cursor:grab}
.category-button.dragging{opacity:.4}
.category-button.drop-target{box-shadow:inset 0 3px 0 var(--p700)}
.menu-create{min-height:36px;padding:7px 14px;gap:7px;background:#16a34a;font-size:12px}
.menu-create:hover{background:#15803d}
.drawer-groups-head{display:flex;align-items:center;justify-content:space-between}
.drawer-groups-head .secondary{min-height:30px;padding:5px 10px;font-size:11px;gap:5px}
.drawer-add-option{justify-self:start;gap:5px;padding:4px 6px;min-height:28px;font-size:11.5px;color:var(--p700)}
dialog.struct{width:min(560px,94vw);max-height:90vh;overflow-y:auto}
.struct-form{display:grid;gap:12px}
.struct-form label{font-size:11.5px}
.struct-form input,.struct-form textarea,.struct-form select{min-height:38px;font-size:13px}
.struct-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}
.struct-groups{display:grid;gap:10px}
.struct-group{display:grid;gap:8px;margin:0;padding:12px;border:1px solid #e5e8ee;border-radius:12px}
.struct-group legend{padding:0 4px;font-size:11px;font-weight:600;color:#2a4276}
.struct-nums{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.struct-options{display:grid;gap:6px}
.struct-option{display:grid;grid-template-columns:minmax(0,1fr) auto 90px 32px;align-items:center;gap:6px;font-size:11px;color:#94a3b8}
.struct-option input{min-height:34px}
.struct-add{justify-self:start;min-height:34px;font-size:12px;gap:6px}
.danger-link{color:#b44a60;justify-self:start}
.struct-group .linkbutton{padding:0;min-height:26px;justify-self:start}
.struct-foot{display:flex;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #edeff3}
.struct-foot button{min-height:38px;font-size:12.5px}

.rp-empty{display:grid;justify-items:center;gap:8px;padding:70px 20px;background:#fff;border:1px dashed #cdd4e5;border-radius:16px;color:#94a3b8;text-align:center;font-size:12.5px}
.rp-empty .fa-icon{font-size:22px;padding:12px;box-sizing:content-box;border-radius:50%;background:#eef1f7;color:#a8b3cb}
.rp-empty strong{font-size:15px;color:#475569}

.md{font-size:13.5px;line-height:1.65;color:#334155}
.md h3{margin:18px 0 6px;font-family:'Outfit',sans-serif;font-size:16px;color:#1d305a}
.md h4{margin:14px 0 4px;font-family:'Outfit',sans-serif;font-size:14px;color:#1d305a}
.md ul{margin:0;padding-left:20px}
.md li{margin:3px 0}
.md p{margin:6px 0}
.md blockquote{margin:6px 0;padding:6px 12px;border-left:3px solid #d2d9e7;background:#f8f9fc;color:#475064;font-style:italic}

@media print{body{background:#fff}.sidebar,.top,.lyo-fab,.rp-top,.rp-list,.dash-note,.rp-actions{display:none!important}.main{margin:0!important;width:100%!important;padding:0!important}}

/* Cardápio v2: estatísticas e painel na hierarquia da tela */
.menu-stats{display:flex;flex-wrap:wrap;gap:0;padding:6px 8px;background:#fff;border:1px solid #e3e7ef;border-radius:13px}
.menu-stat{display:flex;align-items:center;gap:10px;padding:6px 18px 6px 10px;border:0;border-right:1px solid #edeff3;border-radius:0;background:none}
.menu-stat:last-child{border-right:0}
.menu-stat-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e9edf5;color:var(--p700);font-size:12px}
.menu-stat.warn .menu-stat-icon{background:#fef3c7;color:#b45309}
.menu-stat.accent .menu-stat-icon{background:#ede9fe;color:#285fd9}
.menu-stat>div{display:grid;line-height:1.15}
.menu-stat small{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9px;letter-spacing:1px;color:#94a3b8}
.menu-stat strong{font-family:'Outfit',sans-serif;font-size:17px;font-weight:700;color:#1e1b2e}
.menu-layout.has-detail{grid-template-columns:210px minmax(0,1fr) minmax(340px,400px)}
.menu-layout .item-drawer{position:sticky;top:76px;right:auto;bottom:auto;z-index:1;width:auto;max-height:calc(100vh - 92px);box-shadow:0 1px 2px #0000000a;border-color:#e5e8ee}
.menu-layout.has-detail .menu-list-head,.menu-layout.has-detail .menu-row{grid-template-columns:20px 44px minmax(0,1fr) 112px 46px 30px 30px}
.menu-layout.has-detail .menu-desc,.menu-layout.has-detail .status-toggle em,.menu-layout.has-detail .menu-list-head span:nth-child(4){display:none}
.menu-layout.has-detail .menu-price s{display:none}
@media(max-width:1180px){.menu-layout.has-detail{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}.menu-layout.has-detail .menu-categories{display:none}}
@media(max-width:900px){.menu-layout.has-detail{grid-template-columns:1fr}.menu-layout .item-drawer{position:fixed;top:12px;right:12px;bottom:12px;left:12px;z-index:45;max-height:none;box-shadow:0 20px 60px #08163433}}

/* Lojas (monitor) */
.lj-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;margin-bottom:10px;background:#fff;border:1px solid #e5e8ee;border-radius:14px}
.lj-seg{display:flex;gap:2px;padding:3px;border-radius:20px;background:#eaedf4}
.lj-seg button{min-height:30px;padding:5px 14px;gap:6px;border-radius:16px;background:transparent;color:#2a4276;font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;box-shadow:none}
.lj-seg button:hover{background:#d7deee;box-shadow:none}
.lj-seg button.active{background:var(--p700);color:#fff}
.lj-seg button i{width:6px;height:6px;border-radius:50%;background:currentColor}
.lj-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1}
.lj-chip{min-height:28px;padding:4px 10px;gap:5px;border:1px solid transparent;border-radius:8px;font-family:'Outfit',sans-serif;font-size:12px;font-weight:500;box-shadow:none}
.lj-chip i{width:6px;height:6px;border-radius:50%;background:currentColor}
.lj-chip.ok{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}.lj-chip.warn{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.lj-chip.closed{background:#f1f5f9;color:#475569;border-color:#e2e8f0}.lj-chip.bad{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.lj-chip.off{background:#fafafa;color:#64748b;border-color:#e5e7eb}
.lj-chip:hover{filter:brightness(.97);box-shadow:none}
.lj-chip.active{box-shadow:0 0 0 2px currentColor}
.lj-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.lj-orders{display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:10px;background:var(--p700);color:#fff}
.lj-orders>div{display:grid;line-height:1.1}
.lj-orders small{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9px;letter-spacing:1px;opacity:.85}
.lj-orders strong{font-family:'Outfit',sans-serif;font-size:20px}
.lj-stamp{font-size:12px;color:#64748b}
.lj-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}
.lj-search{width:200px}.lj-search input{padding-left:32px}.lj-search .fa-icon{left:11px;right:auto}
.lj-select{display:flex;align-items:center;gap:8px;padding:0 10px;min-height:36px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569}
.lj-select select{min-height:34px;width:auto;padding:4px;border:0;font-family:'Outfit',sans-serif;font-size:12.5px;box-shadow:none}
.lj-btn{min-height:36px;padding:7px 14px;gap:7px;border:1px solid #d5ddef;background:#fff;color:var(--p700);font-family:'Outfit',sans-serif;font-size:12px;font-weight:600;box-shadow:none}
.lj-btn:first-of-type{margin-left:auto}
.lj-btn:hover{background:#f5f7fb;box-shadow:none}
.lj-btn.orange{color:#c2410c;border-color:#fed7aa}.lj-btn.orange:hover{background:#fff7ed}
.lj-btn.green{background:#15803d;border-color:#15803d;color:#fff}.lj-btn.green:hover{background:#166534}
.lj-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.lj-card{display:grid;gap:8px;padding:12px;background:#fff;border:1px solid #e5e8ee;border-radius:12px;box-shadow:0 6px 18px #08163410;transition:box-shadow .2s}
.lj-card:hover{box-shadow:0 2px 8px #08163414;border-color:#cfd7e9}
.lj-card.current{border-color:var(--p600)}
.lj-name{display:flex;align-items:flex-start;gap:8px;min-height:0;padding:0;background:none;color:#1e293b;text-align:left;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;line-height:1.25;box-shadow:none}
.lj-name:hover{background:none;color:var(--p700);box-shadow:none}
.lj-name .fa-icon{margin-top:2px;color:#475569;font-size:12px}
.lj-foot{display:flex;align-items:center;justify-content:space-between;gap:6px}
.lj-icons{display:flex;gap:8px;color:#475569}
.lj-icon{display:inline-grid;place-items:center;min-height:0;width:auto;padding:0;background:none;color:#475569;font-size:11px;box-shadow:none}
.lj-icon:hover{background:none;color:var(--p700);box-shadow:none}
.lj-nums{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.lj-num{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#334155}
.lj-num .fa-icon{font-size:11px;color:#475569}
button.lj-num{min-height:0;padding:2px 8px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#9a3412;box-shadow:none}
button.lj-num:hover{background:#ffedd5;box-shadow:none}
button.lj-num i{width:7px;height:7px;border-radius:50%;background:#f97316}
button.lj-num.zero{border-color:#e5e7eb;background:#fafafa;color:#64748b}
button.lj-num.zero i{background:#cbd5e1}
.lj-rev{flex-basis:100%;text-align:right;font-size:10.5px;color:#64748b}
.lj-pill{justify-self:end;min-height:0;padding:3px 10px;border-radius:12px;font-family:'Outfit',sans-serif;font-size:11px;font-weight:600;box-shadow:none}
.lj-pill.ok{background:#dcfce7;color:#15803d}.lj-pill.warn{background:#ffedd5;color:#c2410c}.lj-pill.closed{background:#f1f5f9;color:#475569}.lj-pill.bad{background:#fee2e2;color:#b91c1c}.lj-pill.off{background:#f3f4f6;color:#6b7280}
.lj-pill:hover{filter:brightness(.96);box-shadow:none}
.lj-status-detail{display:grid;gap:10px;justify-items:start}
.lj-status-detail>strong{font-family:'Outfit',sans-serif;font-size:16px;color:#1e293b}
.lj-status-detail p{margin:0;font-size:12.5px}
.lj-reason{display:grid;gap:2px;width:100%;padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb;font-size:12.5px}
.lj-reason.warn{border-color:#fed7aa;background:#fff7ed}.lj-reason.bad{border-color:#fecaca;background:#fef2f2}
.lj-reason span,.lj-reason small{color:#64748b}
dialog.lj-inactive{width:min(640px,94vw);max-height:90vh;overflow-y:auto}
.lj-inactive{display:grid;gap:14px}
.lj-inactive h4{margin:0 0 6px;font-family:'Outfit',sans-serif;font-size:14px;color:#1e293b}
.lj-inactive-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;grid-template-areas:'c name price' '. meta meta';gap:2px 10px;align-items:center;padding:8px 10px;border-bottom:1px solid #f1f5f9;font-size:13px}
.lj-inactive-row input{grid-area:c;width:16px;height:16px;min-height:0;padding:0;accent-color:var(--p700)}
.lj-inactive-row span{grid-area:name;color:#1e293b}.lj-inactive-row small{grid-area:meta;color:#94a3b8}.lj-inactive-row strong{grid-area:price;font-size:12px;color:#475569}
@media(max-width:800px){.lj-right{margin-left:0}.lj-btn:first-of-type{margin-left:0}.lj-search{width:100%}}

/* Configurações (3 níveis) */
.cfg-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:0;min-height:calc(100vh - 100px);background:#fff;border:1px solid #e5e8ee;border-radius:14px;overflow:hidden}
.cfg-side{display:grid;align-content:start;gap:6px;padding:14px 12px;border-right:1px solid #edeff3;background:#fbfcfd}
.cfg-group-head{display:flex;align-items:center;gap:10px;width:100%;min-height:0;padding:10px;background:none;color:#1e293b;text-align:left;font-weight:400;box-shadow:none;border-radius:10px}
.cfg-group-head:hover{background:#f0f2f8;box-shadow:none}
.cfg-group-head>span:nth-child(2){display:grid;flex:1;gap:2px}
.cfg-group-head strong{font-family:'Outfit',sans-serif;font-size:13.5px;font-weight:600}
.cfg-group-head small{font-size:11px;color:#64748b;line-height:1.35}
.cfg-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f1f5f9;color:#475569;font-size:13px;flex-shrink:0}
.cfg-chevron{font-size:10px;color:#94a3b8;transition:transform .2s;transform:rotate(-90deg)}
.cfg-group.open .cfg-chevron{transform:none}
.cfg-items{display:none;gap:2px;padding:2px 0 8px 22px;border-left:1px solid #e4e7ef;margin-left:26px}
.cfg-group.open .cfg-items{display:grid}
.cfg-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;color:#334155;font-family:'Outfit',sans-serif;font-size:12.5px;text-decoration:none}
.cfg-item:hover{background:#f0f2f8;color:var(--p700)}
.cfg-item.active{background:#e9edf5;color:var(--p700);font-weight:600;box-shadow:inset 0 0 0 1px #d2daec}
.cfg-item-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#f1f5f9;color:#64748b;font-size:11px}
.cfg-item.active .cfg-item-icon{background:var(--p700);color:#fff}
.cfg-item em{margin-left:auto;font-style:normal;font-size:9px;font-weight:600;padding:2px 6px;border-radius:5px;background:#f1f5f9;color:#94a3b8}
.cfg-panel{display:grid;align-content:start;gap:14px;padding:22px 26px 40px;background:#f9fafc}
.cfg-head{display:flex;align-items:center;gap:14px}
.cfg-head-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e9edf5;color:var(--p700);font-size:18px}
.cfg-head h2{margin:0;font-family:'Outfit',sans-serif;font-size:22px;font-weight:700;color:#1e1b2e}
.cfg-head p{margin:2px 0 0;font-size:13px;color:#64748b}
.cfg-card{display:grid;gap:12px;padding:18px;background:#fff;border:1px solid #e5e8ee;border-radius:14px;box-shadow:0 1px 2px #0000000a}
.cfg-card.structured-form{gap:0}
.cfg-card .provider-mark{font-size:26px}
.cfg-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #edeff3;border-radius:12px}
.cfg-check{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#334155}
.cfg-check input{width:16px;height:16px;min-height:0;padding:0;accent-color:var(--p700)}
.cfg-tip{font-size:11.5px}
.cfg-table{display:grid;overflow-x:auto}
.cfg-tr{display:grid;grid-template-columns:minmax(160px,1.6fr) 120px minmax(140px,1.2fr) 130px minmax(120px,1fr);gap:10px;align-items:center;padding:10px 4px;border-bottom:1px solid #f1f5f9;font-size:12.5px;color:#334155;min-width:720px}
.cfg-tr.head{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:1px;color:#64748b;text-transform:uppercase}
.cfg-tr .linkbutton{padding:0;min-height:0;justify-content:flex-start;font-size:12.5px}
.cfg-matrix{display:grid;overflow-x:auto}
.cfg-mrow{display:grid;grid-template-columns:minmax(180px,1fr) repeat(var(--cols),minmax(120px,160px));align-items:center;gap:8px;padding:8px 4px;border-bottom:1px solid #f1f5f9;font-size:12.5px}
.cfg-mrow.head{align-items:end}
.cfg-gh{display:flex;align-items:center;gap:2px}
.cfg-gh strong{font-size:12px;color:#1e293b;margin-right:auto}
.cfg-gh .icon-button{width:26px;min-height:26px;padding:5px;font-size:11px}
.cfg-cell{display:flex;justify-content:center}
.cfg-cell input{width:16px;height:16px;min-height:0;padding:0;accent-color:var(--p700)}
@media(max-width:900px){.cfg-layout{grid-template-columns:1fr}.cfg-side{border-right:0;border-bottom:1px solid #edeff3}.cfg-panel{padding:16px}}

.dash-legend{display:flex;justify-content:center;gap:14px;margin-top:4px;font-size:11px;color:#475569}
.dash-legend span{display:inline-flex;align-items:center;gap:5px}
.dash-legend i{width:8px;height:8px;border-radius:50%}
.dash-chart:has(.dash-legend){height:auto}
.dash-chart:has(.dash-legend) .dash-svg{height:200px}
/* Relatórios v2 (como o original) */
.rp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.rp-seg{display:flex;padding:3px;gap:2px;border-radius:10px;background:#fff;border:1px solid #e5e8ee}
.rp-seg button{min-height:32px;padding:5px 16px;border-radius:8px;background:transparent;color:#334155;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;box-shadow:none}
.rp-seg button:hover{background:#f0f2f8;box-shadow:none}
.rp-seg button.active{background:var(--p700);color:#fff}
.rp-src{min-width:84px}.rp-src .brand-inline{font-size:16px}.rp-src .brand-inline svg{height:1em;width:auto;display:block}
.rp-src.active{color:#fff}.rp-src:disabled{opacity:.55}
.rp-pill{min-height:38px;padding:7px 16px;border-radius:10px;font-family:'Outfit',sans-serif;font-size:12.5px;margin-left:auto}
.rp-date{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 6px 0 12px;border-radius:10px;background:var(--p700);color:#fff}
.rp-date select{min-height:34px;width:auto;border:0;background:transparent;color:#fff;font-family:'Outfit',sans-serif;font-size:12.5px;font-weight:600;box-shadow:none}
.rp-date option{color:#1e293b}
.rp-doc{padding:22px 28px 40px;background:#fff;border:1px solid #e5e8ee;border-radius:14px}
.rp-doc-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.rp-doc-head>div:first-child{display:grid;gap:4px}
.rp-doc-head strong{font-family:'Outfit',sans-serif;font-size:14px;color:#1e293b}
.rp-doc-head small{font-size:11.5px;color:#475569;font-weight:600}
.rp-doc-meta{display:flex;align-items:center;gap:8px}
.rp-doc-meta .linkbutton{padding:0;min-height:0;font-size:11.5px}
.rp-src-tag{font-size:10.5px;font-weight:600;padding:3px 8px;border-radius:6px;background:#f1f5f9;color:#475569}
.rp-src-tag.ai{background:#e9edf5;color:var(--p700)}
.rp-doc-title{margin:8px 0 6px;font-family:'Outfit',sans-serif;font-size:26px;font-weight:800;color:#081634}
.rp-doc .md h3{font-size:19px;color:#1d305a;margin-top:22px}
.rp-doc .md h4{color:#3a5ca8;font-size:15px}
.md-table{margin:8px 0 12px}
.md-toggle{display:flex;gap:2px;margin-bottom:8px}
.md-toggle button{min-height:28px;padding:4px 12px;border-radius:7px;background:#eaedf4;color:#2a4276;font-size:11.5px;box-shadow:none}
.md-toggle button.active{background:var(--p700);color:#fff}
.md table{width:100%;border-collapse:collapse;font-size:12.5px}
.md th,.md td{padding:8px 10px;border-bottom:1px solid #edeff3;text-align:left}
.md th{background:#f8f9fc;font-weight:600;color:#475569}
.md td:not(:first-child),.md th:not(:first-child){text-align:right}
@media print{.rp-bar{display:none!important}.rp-doc{border:0;padding:0}.rp-doc-meta{display:none}}
/* Store switcher: a popover beside the sidebar, measured from the original (320px, blur-only backdrop). */
dialog.panel-dialog.switcher{position:fixed;inset:80px auto auto 267px;margin:0;width:320px;max-width:calc(100vw - 20px);max-height:calc(100vh - 96px);padding:0;border:0;border-radius:16px;background:#fff;color:#000;box-shadow:0 25px 50px -12px #00000040;overflow:hidden;display:flex;flex-direction:column;font-family:'Outfit',sans-serif}
dialog.panel-dialog.switcher::backdrop{background:transparent;backdrop-filter:blur(4px)}
.sw-head{display:flex;align-items:center;gap:8px;padding:12px 16px;background:linear-gradient(to right,#153c94,#123480,#0f2c6b)}
.sw-head>strong{flex:1;color:#fff;font-size:14px;font-weight:700}
.sw-head-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ffffff33;color:#fff;backdrop-filter:blur(4px)}
.sw-head-icon svg{width:14px;height:14px}
.sw-clear{display:flex;align-items:center;gap:4px;min-height:0;padding:6px 10px;border:1px solid #ffffff33;border-radius:6px;background:#ffffff1a;color:#ffffffe6;font-size:10px;font-weight:600;box-shadow:none}
.sw-clear:hover{background:#ffffff33;color:#fff;box-shadow:none}
.sw-clear svg{width:12px;height:12px}
.sw-close{display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border-radius:8px;background:transparent;color:#fff;font-size:18px;box-shadow:none}
.sw-close:hover{background:#ffffff33;box-shadow:none}
.sw-close span{transition:transform .3s}.sw-close:hover span{transform:rotate(90deg)}
.sw-toggle-wrap{padding:8px;background:linear-gradient(#f9fafb,#fff);border-bottom:1px solid #f3f4f6}
.sw-toggle{position:relative;display:flex;gap:8px;padding:0 6px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}
.sw-pill{position:absolute;top:4px;bottom:4px;left:6px;width:calc(50% - 10px);border-radius:8px;background:linear-gradient(to bottom right,#1845a8,#153c94,#123480);box-shadow:0 4px 12px #12348066,inset 0 1px 0 #ffffff33;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.sw-toggle.is-store .sw-pill{transform:translateX(calc(100% + 8px))}
.sw-tab{position:relative;z-index:1;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:10px 16px;border-radius:8px;background:transparent;color:#4b5563;font-size:12px;font-weight:700;box-shadow:none}
.sw-tab:hover{background:transparent;box-shadow:none;color:#123480}
.sw-tab.active{color:#fff;letter-spacing:.05em}
.sw-tab:disabled{color:#d1d5db;opacity:.5;cursor:not-allowed}
.sw-tab svg{width:14px;height:14px}
.sw-tools{display:grid;gap:12px;padding:16px;background:linear-gradient(#f9fafb,#fff);border-bottom:1px solid #f3f4f6}
.sw-field{position:relative;display:block}
.sw-field>svg:first-child{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:14px;height:14px;color:#9ca3af;pointer-events:none}
.sw-field:focus-within>svg:first-child{color:#153c94}
.sw-field input,.sw-field select{width:100%;height:40px;min-height:0;padding:10px 36px 10px 40px;border:2px solid #e5e7eb;border-radius:12px;background:#fff;color:#111827;font:inherit;font-size:12px;box-shadow:0 1px 2px #0000000d;appearance:none}
.sw-field select{font-weight:500;cursor:pointer}
.sw-field input:focus,.sw-field select:focus{outline:0;border-color:#8fa3d0;box-shadow:0 0 0 2px #eaedf4}
.sw-chevron{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:12px;height:12px;color:#9ca3af;pointer-events:none}
.sw-list{flex:1;min-height:0;max-height:256px;overflow-y:auto}
.sw-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 16px 12px 24px;border:0;border-radius:0;background:transparent;color:#374151;text-align:left;box-shadow:none;overflow:hidden}
.sw-row:hover{background:#f9fafb;box-shadow:none}
.sw-row.selected{background:linear-gradient(to right,#eaedf4,#eaedf480)}
.sw-accent{position:absolute;left:0;top:0;bottom:0;width:4px;background:transparent;transition:background .3s}
.sw-row:hover .sw-accent{background:#a6b7de}
.sw-row.selected .sw-accent{background:linear-gradient(#1845a8,#123480)}
.sw-row-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:12px;background:linear-gradient(to bottom right,#f3f4f6,#e5e7eb);color:#4b5563;transition:all .3s}
.sw-row:hover .sw-row-icon{color:#153c94}
.sw-row.selected .sw-row-icon{width:38px;height:38px;background:linear-gradient(to bottom right,#1845a8,#153c94);color:#fff;box-shadow:0 10px 15px -3px #0000001a}
.sw-row-icon svg{width:14px;height:14px}
.sw-row-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;color:#374151}
.sw-row:hover .sw-row-name{color:#111827}
.sw-row.selected .sw-row-name{color:#123480}
.sw-check{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:linear-gradient(to bottom right,#1845a8,#153c94);color:#fff;box-shadow:0 4px 6px -1px #0000001a}
.sw-check svg{width:11px;height:11px}
.sw-empty{margin:0;padding:22px 16px;color:#9ca3af;font-size:12px;text-align:center}
.sw-foot{padding:8px;border-top:1px solid #f3f4f6;background:linear-gradient(#fff,#f9fafb)}
.sw-add{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 12px;border:0;border-radius:12px;background:linear-gradient(to right,#153c94,#123480);color:#fff;font-size:14px;font-weight:700;letter-spacing:.025em;box-shadow:none}
.sw-add:hover{background:linear-gradient(to right,#123480,#0f2c6b);box-shadow:none}
.sw-add-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ffffff33;transition:transform .2s}
.sw-add:hover .sw-add-icon{transform:rotate(90deg);background:#ffffff4d}
.sw-add-icon svg{width:12px;height:12px}
@media(max-width:1050px){dialog.panel-dialog.switcher{left:247px}}
@media(max-width:800px){dialog.panel-dialog.switcher{inset:64px 10px auto 10px;width:auto}}
/* Item drawer: sales channels and sale periods */
.drawer-section{display:grid;gap:8px;padding-top:12px;border-top:1px solid #e8ebf3}
.drawer-section>h4,.drawer-section .drawer-groups-head h4{margin:0;font-size:11px;letter-spacing:.06em;color:#7a8396}
.drawer-section>.muted{margin:0;font-size:11px}
.drawer-section>select{height:38px;border:1px solid #dbdfe9;border-radius:10px;padding:0 10px;font:inherit;font-size:12px;background:#fff}
.shift-row{display:grid;gap:8px;padding:10px;border:1px solid #e6eaf2;border-radius:10px;background:#f9fafd}
.shift-row.invalid{border-color:#f1a7a7;background:#fff6f6}
.shift-times{display:flex;align-items:center;gap:8px;font-size:12px;color:#7a8396}
.shift-times input{height:34px;border:1px solid #dbdfe9;border-radius:8px;padding:0 8px;font:inherit;font-size:12px}
.shift-times .icon-button{margin-left:auto}
.shift-days{display:flex;gap:4px}
.shift-day{width:30px;height:30px;min-height:0;padding:0;border-radius:50%;background:#eef0f5;color:#7a8396;font-size:11px;font-weight:700;box-shadow:none}
.shift-day:hover{box-shadow:none;background:#dfe4f0}
.shift-day.on{background:var(--brand);color:#fff}
/* Store operation on iFood (pauses and opening hours) */
.op-section{display:grid;gap:14px;margin-top:16px}
.op-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.op-head h3{margin:0 0 4px}
.op-head p{margin:0;font-size:12px}
.op-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.op-name{font-weight:600;color:#242e44}
.op-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#edeff4;color:#6a7285;font-size:10px;font-weight:700;letter-spacing:.04em}
.op-tag.ok{background:#e3f6ee;color:#16855f}.op-tag.warn{background:#fff1e0;color:#b45309}.op-tag.live{background:#fde2e2;color:#b42318}
.op-block{display:grid;gap:8px;padding-top:12px;border-top:1px solid #e8ebf3}
.op-block h4{margin:0;font-size:11px;letter-spacing:.06em;color:#7a8396}
.op-pause{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e6eaf2;border-radius:10px;font-size:12px}
.op-pause small{color:#7a8396;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.op-pause-form{display:grid;gap:8px}
.op-pause-form>input{height:38px;border:1px solid #dbdfe9;border-radius:10px;padding:0 10px;font:inherit;font-size:12px}
.op-quick{display:flex;flex-wrap:wrap;gap:6px}
.op-quick button{min-height:34px;font-size:12px}
.op-custom{font-size:12px;color:#5a6274}
.op-custom summary{cursor:pointer;margin-bottom:8px}
.op-custom input{height:34px;border:1px solid #dbdfe9;border-radius:8px;padding:0 8px;font:inherit;font-size:12px;margin-right:6px}
.op-day{display:grid;grid-template-columns:80px 1fr auto;align-items:center;gap:10px;padding:6px 0;border-bottom:1px dashed #e8ebf3;font-size:12px}
.op-shifts{display:flex;flex-wrap:wrap;gap:6px}
.op-shift{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 8px;border:1px solid #dfe4ee;border-radius:10px;background:#f9fafd}
.op-shift input{height:30px;border:0;background:transparent;font:inherit;font-size:12px}
.op-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
@media(max-width:800px){.op-pause{grid-template-columns:auto 1fr auto}.op-pause small{grid-column:1/-1}.op-day{grid-template-columns:1fr auto}.op-shifts{grid-column:1/-1;order:3}}
/* Avaliações: iFood summary and policy link */
.rv-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-4px 0 10px}
.rv-sum-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #e2e7f3;border-radius:999px;background:#fff;font-size:12px;color:#5a6274}
.rv-sum-chip svg{width:12px;height:12px;color:#f5a524}
.rv-sum-chip strong{color:#242e44}
.rv-policy{margin-left:auto;font-size:12px;color:var(--brand);text-decoration:underline}
/* Analytics dimensions and homologation helper */
.dim-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dim-box{display:grid;gap:6px;align-content:start;padding:12px;border:1px solid #e8ebf3;border-radius:12px}
.dim-box h4{margin:0 0 4px;font-size:11px;letter-spacing:.06em;color:#7a8396;text-transform:uppercase}
.dim-row{display:grid;grid-template-columns:1fr auto 40px;gap:8px;font-size:12px;align-items:center}
.dim-row small{color:#7a8396;text-align:right}
.hm-card{display:grid;gap:10px;margin-top:16px}
.hm-card h2{margin:0}
.hm-list{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;margin:0;font-size:13px}
.hm-list dt{color:#5a6274}.hm-list dd{margin:0;font-weight:700;color:#242e44;text-align:right}
@media(max-width:1050px){.dim-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dim-grid{grid-template-columns:1fr}}
/* iFood-only version: single platform tile, single work column, single reviews card */
.platform-grid.single{grid-template-columns:minmax(0,320px);justify-content:center}
.work-grid.single{grid-template-columns:minmax(0,620px);justify-content:center}
.work-grid.single .work-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}
.work-grid.single .work-col>:first-child{grid-column:1/-1}
.dash-two.single{grid-template-columns:1fr}
@media(max-width:700px){.work-grid.single .work-col{grid-template-columns:1fr}}
/* BW Food mark (replaces the image logo) */
.wordmark{display:inline-flex;align-items:center;gap:10px;font-family:'Outfit',sans-serif;color:var(--brand-dark);text-decoration:none}
.wordmark-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 6px 14px #1d4ed833}
.wordmark-icon svg{width:17px;height:17px}
.wordmark-name{font-size:21px;font-weight:600;letter-spacing:-.01em;color:#1e293b}
.wordmark-name b{font-weight:800;color:#1d4ed8}
.wordmark.auth-mark{margin-bottom:34px}
.wordmark.auth-mark .wordmark-icon{width:44px;height:44px;border-radius:12px}
.wordmark.auth-mark .wordmark-icon svg{width:22px;height:22px}
.wordmark.auth-mark .wordmark-name{font-size:28px}

.sidebar .brand,.sidebar .brand:hover{text-decoration:none}
