.hm-conv-panel{margin:-16px -15px;min-height:calc(100vh - 46px);padding:16px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(90deg,rgba(255,205,0,.08) 1px,transparent 1px),linear-gradient(rgba(0,111,183,.10) 1px,transparent 1px),linear-gradient(145deg,#f7fbff,#eaf5ff 46%,#fff);background-size:48px 48px,48px 48px,auto;border-radius:9px;overflow:hidden}
.hm-conv-head{min-height:86px;background:rgba(255,255,255,.92);border:1px solid #d7e7f4;border-radius:22px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 42px rgba(0,57,105,.10)}
.hm-conv-brand{display:flex;align-items:center;gap:13px}
.hm-conv-brand img{width:64px;height:64px;border-radius:14px;object-fit:contain;background:#09265a;border:1px solid #0a69b8;padding:5px}
.hm-conv-brand h1{margin:0;font-size:24px;line-height:1.05;color:#13213a;font-weight:900}
.hm-conv-brand p{margin:5px 0 0;font-size:12px;color:#5b6470;font-weight:800}
.hm-conv-filters{display:flex;gap:10px;min-height:38px;overflow:hidden}
.hm-conv-filters button{border:1px solid #d8e6f2;border-radius:999px;background:#fff;color:#172033;padding:9px 16px;font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer;box-shadow:0 9px 22px rgba(0,57,105,.08)}
.hm-conv-filters .ativo{background:#ffcd00;border-color:#ffcd00;color:#001f48}
.hm-conv-cards{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(250px,1fr));gap:14px;overflow:auto;padding-bottom:4px}
.hm-conv-card{min-height:390px;background:rgba(255,255,255,.96);border:1px solid #dbe8f2;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 18px 40px rgba(0,57,105,.10);animation:entrada .32s ease both}
.hm-conv-card-head{padding:14px;border-bottom:1px solid #e7eef5;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-conv-card-head strong{display:block;font-size:15px;color:#172033;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:165px}
.hm-conv-card-head span{display:block;margin-top:5px;color:#6b6258;font-size:11px;font-weight:800;white-space:nowrap}
.hm-conv-card-head em{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:8px 10px;color:#fff;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}
.hm-conv-card-head em:before{content:"";width:7px;height:7px;border-radius:50%;background:#fff}
.hm-conv-card-head .chat{background:#1f7cff}
.hm-conv-card-head .linkabot{background:#0E7C66}
.hm-conv-card-head .agendado{background:#18b981}
.hm-conv-chips{display:flex;gap:8px;padding:10px 14px;border-bottom:1px solid #edf2f6;background:#fbfdff}
.hm-conv-chips span{flex:1;display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #e2edf5;border-radius:12px;background:#fff;padding:8px;color:#6a6258;font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-conv-chips i{width:8px;height:8px;border-radius:50%;background:#ff9f1c;box-shadow:0 0 10px rgba(255,159,28,.28)}
.hm-conv-chat{flex:1;min-height:0;padding:13px;display:flex;flex-direction:column;gap:10px;overflow:hidden;background:linear-gradient(90deg,rgba(0,111,183,.08) 1px,transparent 1px),linear-gradient(rgba(255,205,0,.14) 1px,transparent 1px),#fffaf0;background-size:30px 30px}
.hm-conv-chat p{width:fit-content;max-width:92%;border-radius:16px;padding:10px 12px;margin:0;font-size:12px;line-height:1.35;font-weight:800;color:#172033;box-shadow:0 8px 18px rgba(0,57,105,.08)}
.hm-conv-chat .bot{align-self:flex-start;background:#eaf5ff;border:1px solid #cfe5f8}
.hm-conv-chat .user{align-self:flex-end;background:#ffe48a;border:1px solid #ffd64c;color:#4b3700}
.hm-conv-foot{border-top:1px solid #e7eef5;padding:12px 14px;background:#fff}
.hm-conv-foot strong{display:block;color:#172033;font-size:12px;font-weight:900;margin-bottom:6px}
.hm-conv-foot span{display:block;color:#665f57;font-size:11px;line-height:1.38;font-weight:800}
.hm-conv-empty{grid-column:1/-1;height:180px;border:1px dashed #bdd4e8;border-radius:18px;background:rgba(255,255,255,.78);display:grid;place-items:center;color:#57708b;font-size:12px;font-weight:900}
.hm-conv-legend{min-height:38px;border:1px solid #d9e7f3;border-radius:16px;background:rgba(255,255,255,.90);display:flex;align-items:center;gap:15px;padding:9px 12px;color:#5e6470;font-size:11px;font-weight:900}
.hm-conv-legend span{display:inline-flex;align-items:center;gap:7px}
.hm-conv-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}
.hm-conv-legend .chat{background:#1f7cff}
.hm-conv-legend .linkabot{background:#0E7C66}
.hm-conv-legend .agendado{background:#18b981}
.schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.tm-modal-backdrop{position:fixed;inset:0;background:rgba(0,13,31,.54);display:grid;place-items:center;z-index:30;opacity:0;transition:opacity .18s ease}
.tm-modal-backdrop.show{opacity:1}
.tm-modal{width:min(520px,calc(100vw - 34px));background:linear-gradient(180deg,#f9fdff,#e9f5ff);border:1px solid #4ab5f2;border-radius:16px;box-shadow:0 26px 80px rgba(0,0,0,.34);padding:18px;position:relative;transform:translateY(10px) scale(.98);transition:transform .18s ease}
.tm-modal-backdrop.show .tm-modal{transform:translateY(0) scale(1)}
.tm-modal h2{margin:0 0 14px;color:#001f48;font-size:18px}
.tm-modal-close{position:absolute;right:12px;top:10px;width:24px;height:24px;border:0;border-radius:50%;background:#006fb7;color:#fff;font-weight:900;cursor:pointer}
.schedule-form{display:grid;gap:12px}
.schedule-form label{display:grid;gap:6px;color:#304b66;font-size:10px;font-weight:900}
.schedule-form input,.schedule-form select{height:32px;border:1px solid #bcd1df;border-radius:8px;background:#fff;padding:0 10px;font-size:11px}
.schedule-form input:disabled{background:#edf2f6;color:#8b9bad}
.schedule-inline{display:flex;align-items:center;gap:8px}
.schedule-inline select{min-width:150px}
.schedule-checks{display:flex;gap:14px}
.schedule-checks label{display:flex;grid-template-columns:none;align-items:center;gap:7px}
.schedule-checks input{width:14px;height:14px;padding:0}
.schedule-head .primary-action{height:28px}
.donut span{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05}
.donut span strong{font-size:22px;color:#003d6d}
.donut span small{margin-top:4px;font-size:10px;color:#5b6f82;font-weight:900}
.legend strong{display:flex;align-items:center;gap:6px;color:#003d6d}
.legend strong em{font-style:normal;color:#0074c8;font-size:9px;font-weight:900}
.grid-actions .action-confirm{background:#18b981}
.menu a.submenu{height:20px;margin-top:-5px;margin-left:10px;border-color:#184869;background:#031323;color:#bfe8ff;font-size:8px}
.menu a.submenu.active{background:#0b73b8;border-color:#25baff;color:#fff}
.line-chart{height:232px;border:1px solid #cbdce8;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fcff);padding:8px;display:grid;grid-template-rows:162px minmax(0,1fr);gap:7px}
.line-chart svg{width:100%;height:162px;display:block}
.line-grid{stroke:#dce9f3;stroke-width:1}
.line-axis{fill:#64788e;font-size:9px;font-weight:800}
.line-date{fill:#415a74;font-size:9px;font-weight:800;text-anchor:middle}
.line-empty{fill:#75889a;font-size:12px;font-weight:900;text-anchor:middle}
.line-legend{min-height:0;overflow:auto;border:1px solid #dce9f3;border-radius:7px;background:#fff}
.line-summary-head,.line-summary-row{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;column-gap:6px;padding:0 7px}
.line-summary-head{height:17px;background:#eef7ff;color:#4b647d;font-size:8px;font-weight:900;text-transform:uppercase}
.line-summary-head span:nth-child(2),.line-summary-head span:nth-child(3){text-align:right}
.line-summary-row{height:20px;border-top:1px solid #edf3f8;color:#22364d;font-size:9px;font-weight:850}
.line-summary-row span{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.line-summary-row i{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto}
.line-summary-row strong,.line-summary-row em{text-align:right;font-size:9px}
.line-summary-row strong{color:#394f66}
.line-summary-row em{color:#0074c8;font-style:normal;font-weight:900}
@media(max-width:1180px){.hm-conv-panel{overflow:auto}.hm-conv-cards{grid-template-columns:repeat(2,minmax(250px,1fr));overflow:visible}.hm-conv-card{min-height:420px}}
@media(max-width:720px){.hm-conv-cards{grid-template-columns:1fr}.hm-conv-head{align-items:flex-start}.hm-conv-brand h1{font-size:20px}.schedule-head{display:grid}.schedule-checks{display:grid}}
@keyframes entrada{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* dashboard chart area expansion */
.page-card:has(.dashboard-head){height:calc(100vh - 46px);display:flex;flex-direction:column;overflow:hidden}
.page-card:has(.dashboard-head) .summary-grid{flex:0 0 auto}
.page-card:has(.dashboard-head) .dash-grid{flex:1;min-height:0;grid-auto-rows:minmax(0,1fr)}
.page-card:has(.dashboard-head) .chart-card{min-height:0;display:flex;flex-direction:column}
.page-card:has(.dashboard-head) .donut-wrap{flex:1;min-height:0;align-content:center}
.page-card:has(.dashboard-head) .line-chart{flex:1;height:auto;min-height:0;grid-template-rows:minmax(230px,1fr) minmax(94px,auto)}
.page-card:has(.dashboard-head) .line-chart svg{height:100%;min-height:230px}
.page-card:has(.dashboard-head) .line-legend{min-height:94px}
@media(max-width:900px){.page-card:has(.dashboard-head){height:auto;overflow:visible}.page-card:has(.dashboard-head) .dash-grid{min-height:0}.page-card:has(.dashboard-head) .chart-card{min-height:360px}.page-card:has(.dashboard-head) .line-chart{min-height:300px}}

/* ECOSENSE manager identity */
.app-body{background:#050201}
.app-shell{background:radial-gradient(circle at 20% 5%,rgba(255,59,18,.18),transparent 26%),linear-gradient(180deg,#050201,#120601)}
.sidebar{border-right-color:#9f5316}
.side-logo-card{border-color:rgba(255,210,108,.44);background:linear-gradient(180deg,#160703,#050201);box-shadow:0 0 22px rgba(255,59,18,.13)}
.side-logo-card img{content:url('../img/ecosense-logo.png');max-width:134px;max-height:100px}
.menu a{border-color:#8e4a12;background:#120703;color:#ffe8c0}
.menu a.active{background:linear-gradient(135deg,#ff3b12,#b87319);border-color:#ffd26c;color:#fff}
.menu a.submenu{border-color:#79400f;background:#190a03;color:#ffdca6}
.menu a.submenu.active{background:#b87319;border-color:#ffd26c;color:#fff}
.top-pill{background:#170802;border-color:#d49335;color:#ffe8c0}
.page-card{border-color:#b87319;background:linear-gradient(180deg,#fff7e8,#f5e1bd)}
.page-card h1{color:#2c1004}
.page-card .subtitle{color:#7a4a17}
.quick-actions a,.primary-action,.filter-bar button,.form-actions button{background:linear-gradient(135deg,#ff3b12,#b87319)}
.metric-card strong,.legend strong,.line-summary-row em{color:#c31808}
.waitlist-card{position:relative}
.waitlist-new-badge{position:absolute;top:8px;right:8px;padding:5px 8px;border-radius:999px;background:#00bd63;color:#fff!important;font-size:8px!important;font-weight:900;letter-spacing:.04em;line-height:1;box-shadow:0 0 18px rgba(0,255,134,.72);animation:waitlistBadgePulse 1.18s ease-in-out infinite}
@keyframes waitlistBadgePulse{0%,100%{opacity:.72;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
.waitlist-card.has-compatible-slot{border-color:#00ff86!important;box-shadow:0 0 0 1px rgba(0,255,134,.80),0 0 18px rgba(0,255,134,.55),0 10px 25px rgba(28,67,99,.13)!important;animation:waitlistPulse 1.18s ease-in-out infinite}
.waitlist-card.has-compatible-slot span,.waitlist-card.has-compatible-slot small{color:#006b3a!important}
.waitlist-card.has-compatible-slot .waitlist-new-badge{color:#fff!important}
.waitlist-card.has-compatible-slot strong{color:#00a85a!important;text-shadow:0 0 12px rgba(0,255,134,.38)}
@keyframes waitlistPulse{0%,100%{box-shadow:0 0 0 1px rgba(0,255,134,.64),0 0 14px rgba(0,255,134,.42),0 10px 25px rgba(28,67,99,.13)}50%{box-shadow:0 0 0 2px rgba(0,255,134,1),0 0 30px rgba(0,255,134,.88),0 0 52px rgba(0,255,134,.32),0 10px 25px rgba(28,67,99,.13)}}
.footer-bar{border-color:#b87319;background:#120703;color:#ffe8c0}
.footer-bar span:nth-child(1),.footer-bar span:nth-child(2){font-size:0}
.footer-bar span:nth-child(1)::before{content:"ECOSENSE";font-size:10px}
.footer-bar span:nth-child(2)::before{content:"Manager";font-size:10px}

.ai-shell{display:grid;gap:12px}
.ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.ai-head h1{margin:0}
.ai-panel{background:#fff;border:1px solid #dcc39b;border-radius:10px;padding:12px;box-shadow:0 10px 22px rgba(80,38,8,.08)}
.ai-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ai-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ai-field{display:grid;gap:5px;font-size:10px;font-weight:900;color:#55320e}
.ai-field input,.ai-field select,.ai-field textarea{width:100%;border:1px solid #d2b17c;border-radius:8px;background:#fffaf1;color:#241004;font-size:11px;padding:8px;outline:none}
.ai-field textarea{min-height:76px;resize:vertical}
.ai-field input:focus,.ai-field select:focus,.ai-field textarea:focus{border-color:#ff3b12;box-shadow:0 0 0 3px rgba(255,59,18,.13)}
.ai-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.ai-btn{height:26px;border:0;border-radius:8px;background:linear-gradient(135deg,#ff3b12,#b87319);color:#fff;font-size:10px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;cursor:pointer}
.ai-btn.secondary{background:#fff;border:1px solid #d2b17c;color:#3b1d07}
.ai-alert{border-radius:8px;padding:9px 10px;font-size:10px;font-weight:900;margin:8px 0}
.ai-alert.ok{background:#e9fff0;color:#006b2b;border:1px solid #9dddb0}
.ai-alert.err{background:#ffe9e5;color:#9d1c00;border:1px solid #e2a090}
.ai-table-wrap{max-height:calc(100vh - 335px);overflow:auto;border:1px solid #dcc39b;border-radius:10px;background:#fff}
.ai-table{width:100%;border-collapse:collapse;font-size:10px}
.ai-table th{position:sticky;top:0;background:#f8dfb1;color:#4d2608;text-align:left;height:26px;padding:0 8px;z-index:1}
.ai-table td{height:30px;border-top:1px solid #f1dfc2;padding:0 8px;color:#2e1b0a}
.ai-table tr:nth-child(even){background:#fffaf2}
.ai-table a{color:#c31808;font-weight:900;text-decoration:none}
.ai-options-grid{height:190px;overflow:auto;border:1px solid #dcc39b;border-radius:10px;background:#fff}
@media(max-width:900px){.ai-grid,.ai-grid.three{grid-template-columns:1fr}.ai-head{display:grid}.ai-table-wrap{max-height:none}}

/* Final visual lock: EcoGDV layout adapted to ECOSENSE colors */
.app-body{background:#020302}
.app-shell{grid-template-columns:140px 1fr;gap:6px;padding:0 8px 0 0;background:#020302}
.sidebar{border-right:1px solid rgba(197,91,24,.64);padding:18px 7px 0 7px;background:#001014}
.side-logo-card{height:94px;border:0;background:transparent;margin-bottom:15px;box-shadow:none}
.side-logo-card img{content:url('../img/ecosense-logo.png');max-width:112px;max-height:88px;filter:drop-shadow(0 0 18px rgba(255,80,16,.44))}
.menu a{height:22px;border:1px solid #71310e;border-radius:8px;background:#050708;color:#ffe7bf;font-size:9px;font-weight:900}
.menu a.active{background:linear-gradient(90deg,#ff3b12,#ff8a1c);border-color:#ff8a1c;color:#fff}
.menu a.submenu{border-color:#71310e;background:#120703;color:#ffd7a4}
.menu a.submenu.active{background:#c55b18;border-color:#ff8a1c;color:#fff}
.top-pill{right:8px;top:0;background:#081018;border:1px solid #c55b18;color:#fff}
.page-card{border:1px solid #c55b18;background:linear-gradient(180deg,#eef8ff,#e5f2fb)}
.page-card h1{color:#142033}
.page-card .subtitle{color:#607186}
.quick-actions a,.primary-action,.filter-bar button,.form-actions button,.ai-btn{background:linear-gradient(90deg,#ff3b12,#ff8a1c);color:#fff}
.ai-btn.secondary{background:#fff;border:1px solid #d2b17c;color:#3b1d07}
.footer-bar{left:146px;right:8px;border:1px solid #c55b18;background:#071018;color:#fff}
.footer-bar span:nth-child(1),.footer-bar span:nth-child(2){font-size:0}
.footer-bar span:nth-child(1)::before{content:"ECOSENSE";font-size:10px;font-weight:900}
.footer-bar span:nth-child(2)::before{content:"Versao 1.00";font-size:10px}
.login-body{background:#020302}
.login-body:before{background:radial-gradient(circle at 58% 40%,rgba(255,80,16,.24),transparent 26%),radial-gradient(circle at 58% 40%,rgba(255,210,108,.12),transparent 36%),linear-gradient(90deg,#001014 0 19.8%,#020302 19.8% 100%)}
.login-side{border-right:1px solid rgba(197,91,24,.58)}
.login-card{background:linear-gradient(180deg,#f7fbff,#dce9f5);border-color:#c55b18}
.login-card button{background:linear-gradient(90deg,#ff3b12,#ff8a1c)}
.login-hero{background:radial-gradient(circle at 50% 45%,rgba(255,80,16,.18),transparent 26%)}
@media(max-width:900px){.app-shell{grid-template-columns:132px 1fr}.footer-bar{left:132px}}

/* Standardized buttons and grid action icons */
button,.quick-actions a,.primary-action,.filter-bar a,.filter-bar button,.import-filter a,.import-filter button,.form-actions button,.ai-btn,.export-link{font-family:Arial,Helvetica,sans-serif}
.quick-actions a,.primary-action,.filter-bar button,.form-actions button,.import-filter button,.ai-btn,.filter-bar a,.import-filter a,.export-link{min-height:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;font-size:9px;font-weight:900;line-height:1;text-decoration:none;white-space:nowrap;box-sizing:border-box;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.quick-actions a,.primary-action,.filter-bar button,.form-actions button,.import-filter button,.ai-btn{border:1px solid rgba(255,210,108,.42);background:linear-gradient(90deg,#ff3b12,#ff8a1c);color:#fff;box-shadow:0 6px 14px rgba(137,48,6,.18)}
.filter-bar a,.import-filter a,.export-link,.ai-btn.secondary{border:1px solid #d2b17c;background:linear-gradient(180deg,#fffaf2,#f4dfbd);color:#3b1d07;box-shadow:0 5px 12px rgba(80,38,8,.09)}
.quick-actions a:hover,.primary-action:hover,.filter-bar button:hover,.form-actions button:hover,.import-filter button:hover,.ai-btn:hover,.filter-bar a:hover,.import-filter a:hover,.export-link:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 8px 18px rgba(137,48,6,.22)}
.export-link::before{content:"";width:17px;height:17px;border-radius:50%;background:url('../img/actions/excel.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.primary-action::before{content:"";width:17px;height:17px;border-radius:50%;background:url('../img/actions/schedule.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.form-actions button[type="submit"]::before,.ai-actions .ai-btn:not(.secondary)::before{content:"";width:17px;height:17px;border-radius:50%;background:url('../img/actions/confirm.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.import-filter button::before,.filter-bar button::before{content:"";width:16px;height:16px;border-radius:50%;background:url('../img/actions/refresh.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.quick-actions a:first-child::before{content:"";width:16px;height:16px;border-radius:50%;background:url('../img/actions/schedule.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.quick-actions a:last-child::before{content:"";width:16px;height:16px;border-radius:50%;background:url('../img/actions/refresh.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.tm-modal-close{width:30px;height:30px;border-radius:50%;border:0;background:#fff url('../img/actions/delete.png') center/cover no-repeat;color:transparent;font-size:0;box-shadow:0 5px 14px rgba(0,0,0,.18);overflow:hidden}
.grid-actions{display:flex;align-items:center;gap:7px;white-space:nowrap;min-width:112px}
.grid-actions button{width:30px;height:30px;min-width:30px;padding:0;border:0;border-radius:50%;background:#fff;color:transparent;font-size:0;line-height:0;display:inline-grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.16);overflow:hidden;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.grid-actions button::before{content:"";width:100%;height:100%;display:block;background-position:center;background-size:cover;background-repeat:no-repeat}
.grid-actions button[data-action="pre-agendar"]::before,.grid-actions button[data-action="reagendar"]::before{background-image:url('../img/actions/schedule.png')}
.grid-actions button[data-action="confirmar"]::before{background-image:url('../img/actions/confirm.png')}
.grid-actions button[data-action="excluir"]::before{background-image:url('../img/actions/delete.png')}
.grid-actions button:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 7px 16px rgba(0,0,0,.22)}
.grid-actions button:focus-visible,.quick-actions a:focus-visible,.primary-action:focus-visible,.filter-bar button:focus-visible,.form-actions button:focus-visible,.import-filter button:focus-visible,.ai-btn:focus-visible,.filter-bar a:focus-visible,.import-filter a:focus-visible,.export-link:focus-visible{outline:2px solid #ff8a1c;outline-offset:2px}

/* IA configuration screens */
.menu a.menu-section{margin-top:3px}
.menu a.submenu{height:19px;margin-top:0;margin-left:9px;padding:0 7px;border-radius:7px;font-size:8px;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu a.submenu-title{background:transparent;border-color:rgba(197,91,24,.35);color:#ffcf8a;pointer-events:none;cursor:default}
.page-card:has(.ai-shell){height:calc(100vh - 46px);display:flex;flex-direction:column;overflow:hidden;padding:13px 15px 12px}
.ai-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;color:#172132}
.ai-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0 0 8px;border-bottom:1px solid rgba(197,91,24,.28)}
.ai-head h1{font-size:18px;margin:0;color:#111c2c}
.ai-head .subtitle{display:block;margin-top:3px;color:#6a7482;font-size:9px;font-weight:900}
.ai-panel{background:linear-gradient(180deg,#ffffff,#f5fbff);border:1px solid #c8dbe8;border-radius:8px;padding:12px;box-shadow:0 10px 24px rgba(22,56,86,.12);min-width:0}
.ai-panel h2{margin:0 0 10px;color:#111c2c;font-size:12px;font-weight:900}
.ai-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:9px 10px}
.ai-grid.three{grid-template-columns:repeat(3,minmax(180px,1fr))}
.ai-field{display:grid;gap:5px;min-width:0;color:#26384e;font-size:9px;font-weight:900;text-transform:none}
.ai-field input,.ai-field select,.ai-field textarea{width:100%;box-sizing:border-box;border:1px solid #bdd2df;border-radius:8px;background:#fff;color:#172132;font-size:10px;font-weight:800;outline:none;padding:0 9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.ai-field input,.ai-field select{height:28px}
.ai-field textarea{min-height:68px;padding-top:8px;line-height:1.35;resize:vertical}
.ai-field input:focus,.ai-field select:focus,.ai-field textarea:focus{border-color:#ff8a1c;box-shadow:0 0 0 3px rgba(255,138,28,.16)}
.ai-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}
.ai-alert{border-radius:8px;padding:8px 10px;font-size:10px;font-weight:900}
.ai-alert.ok{background:#e9fff0;color:#006b2b;border:1px solid #9dddb0}
.ai-alert.err{background:#ffe9e5;color:#9d1c00;border:1px solid #e2a090}
.ai-table-wrap,.ai-options-grid{min-height:0;overflow:auto;border:1px solid #c8dbe8;border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(22,56,86,.08)}
.ai-list-first .ai-table-main{flex:1 1 auto;min-height:360px}
.ai-list-first .ai-table-main .ai-table td{height:31px}
.tm-modal-backdrop[hidden]{display:none!important}
.ai-options-grid{height:150px}
.ai-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px}
.ai-table th{position:sticky;top:0;z-index:1;height:26px;background:#cfeaf8;color:#004a7b;text-align:left;padding:0 8px;font-size:9px;font-weight:900}
.ai-table td{height:29px;border-top:1px solid #dce9f3;padding:0 8px;color:#21364d;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-table tbody tr:nth-child(even){background:#f7fbff}
.ai-table tbody tr:nth-child(odd){background:#fff}
.ai-table a{height:22px;min-width:52px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#ff3b12,#ff8a1c);color:#fff;text-decoration:none;font-size:9px;font-weight:900}
.ai-shell form[method="post"]{min-width:0}
.ai-shell > .ai-table-wrap{min-height:170px}
@media(max-width:1100px){.ai-grid,.ai-grid.three{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:760px){.page-card:has(.ai-shell){height:auto;overflow:visible}.ai-shell{height:auto;display:grid}.ai-grid,.ai-grid.three{grid-template-columns:1fr}.ai-head{align-items:flex-start}.ai-table-wrap,.ai-options-grid{max-height:none}}

/* Ecosense manager standardization */
.grid-actions{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:92px!important;white-space:nowrap!important}
.grid-actions button{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important;padding:0!important;margin:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border:1px solid rgba(0,0,0,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 3px rgba(0,0,0,.18)!important;font-size:0!important;line-height:1!important;background-image:none!important;filter:none!important}
.grid-actions button span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.grid-actions button:before{content:""!important;width:13px!important;height:13px!important;display:block!important;background:#071018!important;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.grid-actions button[data-action="confirmar"]{background:linear-gradient(180deg,#6fffa9,#16bf62)!important}
.grid-actions button[data-action="pre-agendar"],.grid-actions button[data-action="reagendar"]{background:linear-gradient(180deg,#ffd96b,#d9a84f)!important}
.grid-actions button[data-action="excluir"]{background:linear-gradient(180deg,#ff7272,#d92f2f)!important}
.grid-actions button[data-action="confirmar"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3 3.5 13.7l5.7 5.7L21 7.6 19.6 6.2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3 3.5 13.7l5.7 5.7L21 7.6 19.6 6.2z'/%3E%3C/svg%3E")}
.grid-actions button[data-action="pre-agendar"]:before,.grid-actions button[data-action="reagendar"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3H7zm8 0h2v3h-2zM4 4h16v17H4zm2 6v9h12v-9zm2 2h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3H7zm8 0h2v3h-2zM4 4h16v17H4zm2 6v9h12v-9zm2 2h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E")}
.grid-actions button[data-action="excluir"]:before{background:#180405!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 21 6 7H4V5h5V3h6v2h5v2h-2l-1 14zm2-2h6l.8-12H8.2zm1-10h2v8h-2zm4 0h2v8h-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 21 6 7H4V5h5V3h6v2h5v2h-2l-1 14zm2-2h6l.8-12H8.2zm1-10h2v8h-2zm4 0h2v8h-2z'/%3E%3C/svg%3E")}
.grid-actions button:hover{transform:translateY(-1px)!important;box-shadow:0 4px 10px rgba(0,0,0,.22)!important}

.menu{position:relative!important;overflow:visible!important}
.menu-cascade{position:relative!important;display:block!important}
.menu-cascade>.menu-section{position:relative!important;padding-right:18px!important;width:100%!important}
.menu-cascade>.menu-section:after{content:"";position:absolute;right:7px;top:50%;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-50%) rotate(-45deg);opacity:.8}
.submenu-panel{position:absolute;left:calc(100% + 8px);top:0;z-index:50;min-width:154px;display:none;gap:6px;padding:8px;border:1px solid rgba(0,255,134,.36);border-radius:9px;background:#03140d;box-shadow:0 12px 28px rgba(0,0,0,.38),0 0 18px rgba(0,255,134,.10)}
.menu-cascade:before{content:"";position:absolute;left:100%;top:-8px;width:14px;height:calc(100% + 16px);display:none;z-index:49}
.menu-cascade:hover:before,.menu-cascade:focus-within:before{display:block}
.menu-cascade:hover .submenu-panel,.menu-cascade:focus-within .submenu-panel{display:grid}
.submenu-panel a{height:24px!important;margin:0!important;border-radius:7px!important;border-color:rgba(0,255,134,.24)!important;background:#06110d!important;color:#d8f4e8!important;font-size:9px!important}
.submenu-panel a.active{background:linear-gradient(90deg,#00bd63,#00ff86)!important;color:#001109!important;border-color:#23ff5f!important}
.submenu-panel .submenu-title{pointer-events:none;color:#00ff86!important;background:transparent!important;border-color:rgba(0,255,134,.18)!important}

.ai-table a{width:24px!important;height:24px!important;min-width:24px!important;padding:0!important;border-radius:999px!important;font-size:0!important;background:linear-gradient(180deg,#74ffad,#00bd63)!important;border:1px solid rgba(0,0,0,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 3px rgba(0,0,0,.18)!important}
.ai-table a:before{content:"";width:13px;height:13px;background:#03140d;display:block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E") center/contain no-repeat}

.hm-att-panel{background:radial-gradient(circle at 12% 5%,rgba(0,255,134,.22),transparent 24%),radial-gradient(circle at 88% 2%,rgba(46,255,209,.16),transparent 24%),linear-gradient(145deg,#001411,#06110d 48%,#000302)!important;color:#d8f4e8!important}
.hm-att-top,.hm-att-card,.hm-att-legend{background:rgba(3,20,13,.86)!important;border-color:rgba(0,255,134,.34)!important}
.hm-att-brand h1,.hm-att-pedido strong,.hm-att-cab strong{color:#d8f4e8!important}
.hm-att-brand p,.hm-att-kpis span,.hm-att-cab span,.hm-att-fin span,.hm-att-pedido div,.hm-att-legend span{color:#9fc9b5!important}
.hm-att-kpis strong{color:#00ff86!important}
.hm-att-brand img{border-color:rgba(0,255,134,.36)!important;box-shadow:0 0 22px rgba(0,255,134,.36)!important}
.hm-att-filters button{border-color:rgba(0,255,134,.32)!important;color:#d8f4e8!important}
.hm-att-filters .ativo{background:linear-gradient(135deg,#74ffad,#00ff86)!important;color:#001109!important;box-shadow:0 0 18px rgba(0,255,134,.32)!important}
.hm-att-chat{background:linear-gradient(rgba(0,255,134,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(0,255,134,.07) 1px,transparent 1px),#020d09!important;background-size:30px 30px!important}
.ai-head-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.ai-head-actions .ai-btn{white-space:nowrap}

/* IA auto-configuration wizard */
.page-card:has(.iaw-shell){height:calc(100vh - 46px);display:flex;flex-direction:column;overflow:hidden;padding:13px 15px 12px}
.iaw-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;color:#172132}
.iaw-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(197,91,24,.28)}
.iaw-head h1{margin:0;color:#111c2c;font-size:18px}
.iaw-progress{height:7px;border-radius:999px;background:#dce9f3;overflow:hidden}
.iaw-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#00bd63,#00ff86)}
.iaw-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.iaw-steps a{min-height:44px;border:1px solid #c8dbe8;border-radius:8px;background:#fff;color:#4b6178;text-decoration:none;display:flex;align-items:center;gap:7px;padding:6px;overflow:hidden}
.iaw-steps b{width:22px;height:22px;flex:0 0 22px;border-radius:999px;background:#e6f1f8;color:#004a7b;display:grid;place-items:center;font-size:10px}
.iaw-steps span{font-size:9px;font-weight:900;line-height:1.12}
.iaw-steps a.active{border-color:#00bd63;background:#eafff6;color:#03140d}
.iaw-steps a.active b,.iaw-steps a.done b{background:#00bd63;color:#03140d}
.iaw-card{flex:1;min-height:0;overflow:auto;background:linear-gradient(180deg,#ffffff,#f5fbff);border:1px solid #c8dbe8;border-radius:8px;padding:12px;box-shadow:0 10px 24px rgba(22,56,86,.12)}
.iaw-wide{grid-column:1/-1}
.iaw-nav{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}
.iaw-table{margin-top:12px;max-height:260px;overflow:auto;border:1px solid #c8dbe8;border-radius:8px;background:#fff}
.iaw-review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.iaw-review div{min-height:74px;border:1px solid #c8dbe8;border-radius:8px;background:#fff;padding:12px;display:grid;align-content:center;gap:6px}
.iaw-review span{color:#6a7482;font-size:9px;font-weight:900}
.iaw-review strong{color:#111c2c;font-size:20px;font-weight:900;line-height:1.1;overflow:hidden;text-overflow:ellipsis}
.iaw-test{margin-top:12px;border:1px solid #c8dbe8;border-radius:8px;background:#fff;padding:12px}
.iaw-test h2{margin:0 0 8px;color:#111c2c;font-size:13px}
.iaw-test p{margin:0;padding:7px 0;border-top:1px solid #dce9f3;color:#26384e;font-size:11px;font-weight:800}
.iaw-test p:first-of-type{border-top:0}
.iaw-guide-head{margin:0 0 12px;padding:14px;border:1px solid rgba(0,230,168,.20);border-radius:10px;background:linear-gradient(180deg,#f8fffc,#edf9f4)}
.iaw-guide-head h2{margin:0;color:#111c2c;font-size:16px;font-weight:900}
.iaw-guide-head p{margin:5px 0 0;color:#5f7283;font-size:11px;font-weight:800}
.iaw-question-flow{display:grid;gap:13px}
.iaw-big-field{display:grid;gap:7px;color:#172132;font-size:13px;font-weight:900}
.iaw-big-field textarea{width:100%;min-height:82px;box-sizing:border-box;border:1px solid #bdd2df;border-radius:10px;background:#fff;color:#172132;font-size:13px;font-weight:800;line-height:1.4;padding:10px;resize:vertical;outline:none}
.iaw-big-field textarea:focus{border-color:#00bd63;box-shadow:0 0 0 3px rgba(0,189,99,.14)}
.iaw-choice-group{display:grid;gap:8px;border:1px solid #c8dbe8;border-radius:10px;background:#fff;padding:12px}
.iaw-choice-group>span{display:block;color:#172132;font-size:12px;font-weight:900}
.iaw-choice-group label{min-height:34px;border:1px solid #dce9f3;border-radius:9px;background:#f8fcff;display:flex;align-items:center;gap:9px;padding:8px 10px;color:#26384e;font-size:11px;font-weight:800;cursor:pointer}
.iaw-choice-group input{width:15px;height:15px;accent-color:#00bd63;flex:0 0 auto}
.iaw-choice-group label:has(input:checked){border-color:#00bd63;background:#eafff6;color:#03140d}
.iaw-button-options{display:grid;gap:10px;border:1px solid rgba(0,189,99,.26);border-radius:10px;background:#f8fffc;padding:12px}
.iaw-button-options[hidden]{display:none!important}
.iaw-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.iaw-route-list{display:grid;gap:8px;margin-top:12px}
.iaw-route-list p{margin:0;color:#5f7283;font-size:11px;font-weight:900}
.iaw-route-list div{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #c8dbe8;border-radius:10px;background:#fff;padding:8px}
.iaw-route-list.large div{grid-template-columns:26px minmax(0,1fr) auto auto}
.iaw-route-list b{width:24px;height:24px;border-radius:999px;background:#00bd63;color:#03140d;display:grid;place-items:center;font-size:10px}
.iaw-route-list span{color:#172132;font-size:12px;font-weight:900;line-height:1.25}
.iaw-route-list a{width:24px;height:24px;border-radius:999px;background:linear-gradient(180deg,#74ffad,#00bd63);font-size:0;display:grid;place-items:center}
.iaw-route-list a:before{content:"";width:13px;height:13px;background:#03140d;display:block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E") center/contain no-repeat}
.iaw-route-list em{display:flex;gap:6px;flex-wrap:wrap;font-style:normal;justify-content:flex-end}
.iaw-route-list i{border:1px solid rgba(0,189,99,.26);border-radius:999px;background:#eafff6;color:#03140d;padding:5px 8px;font-style:normal;font-size:9px;font-weight:900}
.iaw-closed{align-items:center;justify-content:flex-start}
.iaw-closed .iaw-head,.iaw-closed .iaw-progress,.iaw-closed .iaw-step-indicator,.iaw-closed .ai-alert{width:min(780px,100%)}
.iaw-step-indicator{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #c8dbe8;border-radius:10px;background:#fff;padding:10px 12px;color:#172132}
.iaw-step-indicator span{color:#5f7283;font-size:10px;font-weight:900}
.iaw-step-indicator strong{font-size:12px;font-weight:900;text-align:right}
.iaw-kiosk{width:min(780px,100%);min-height:430px;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:28px!important}
.iaw-kiosk h2{margin:0;color:#111c2c;font-size:24px;line-height:1.18;font-weight:900;text-align:center}
.iaw-kiosk p{margin:0;color:#5f7283;font-size:13px;line-height:1.45;font-weight:800;text-align:center}
.iaw-input,.iaw-textarea{width:100%;box-sizing:border-box;border:1px solid #bdd2df;border-radius:12px;background:#fff;color:#172132;font-weight:850;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.iaw-input{height:48px;padding:0 15px;font-size:18px;text-align:center}
.iaw-textarea{min-height:132px;padding:15px;font-size:15px;line-height:1.45;resize:vertical}
.iaw-input:focus,.iaw-textarea:focus{border-color:#00bd63;box-shadow:0 0 0 4px rgba(0,189,99,.13)}
.iaw-kiosk .iaw-choice-group{border:0;background:transparent;padding:0;grid-template-columns:1fr;gap:10px}
.iaw-kiosk .iaw-choice-group label{min-height:46px;border-radius:12px;font-size:13px;background:#fff}
.iaw-kiosk .iaw-nav{margin-top:auto;justify-content:center}
.iaw-kiosk .ai-btn{min-height:38px;height:38px;border-radius:10px;font-size:11px;padding:0 18px}
.iaw-summary{display:grid;gap:8px;border:1px solid #c8dbe8;border-radius:12px;background:#fff;padding:14px}
.iaw-summary p{margin:0;text-align:left;color:#26384e;font-size:12px;font-weight:800}
.iaw-test-buttons{display:flex;gap:8px;flex-wrap:wrap;padding:4px 0 10px}
.iaw-test-buttons span{border:1px solid rgba(0,189,99,.26);border-radius:999px;background:#eafff6;color:#03140d;padding:7px 10px;font-size:10px;font-weight:900}
@media(max-width:1100px){.iaw-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.iaw-review{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.page-card:has(.iaw-shell){height:auto;overflow:visible}.iaw-shell{height:auto}.iaw-head{align-items:flex-start}.iaw-steps,.iaw-review,.iaw-option-list{grid-template-columns:1fr}.iaw-card{overflow:visible}.iaw-nav{justify-content:flex-start}.iaw-route-list div,.iaw-route-list.large div{grid-template-columns:26px minmax(0,1fr) auto}.iaw-route-list em{grid-column:2/-1;justify-content:flex-start}.iaw-kiosk{min-height:360px;padding:18px!important}.iaw-kiosk h2{font-size:19px}.iaw-step-indicator{display:grid}.iaw-step-indicator strong{text-align:left}.iaw-input{font-size:15px}.iaw-kiosk .iaw-nav{justify-content:flex-start}}

/* Operational footer - EchoLink Manager */
.operational-footer{height:32px!important;left:146px!important;right:8px!important;bottom:6px!important;gap:0!important;padding:0 10px!important;border:1px solid rgba(0,230,168,.20)!important;border-radius:12px!important;background:#11181D!important;color:#EAFBF6!important;box-shadow:0 0 20px rgba(0,230,168,.08)!important;overflow:hidden;white-space:nowrap}
.operational-footer span{display:inline-flex!important;align-items:center!important;min-width:0!important;font-size:9px!important;font-weight:900!important;line-height:1!important;color:#EAFBF6!important}
.operational-footer span:nth-child(1),.operational-footer span:nth-child(2){font-size:9px!important}
.operational-footer span:nth-child(1)::before,.operational-footer span:nth-child(2)::before{content:none!important}
.operational-footer>span+span:before{content:"|"!important;margin:0 8px;color:#A8C8BF;font-weight:900}
.operational-footer .op-client{max-width:145px;overflow:hidden;text-overflow:ellipsis}
.operational-footer .op-infra,.operational-footer .op-user,.operational-footer .op-clock{color:#A8C8BF!important}
.operational-footer .op-service i{width:8px;height:8px;border-radius:50%;margin-right:5px;background:#FF5252;box-shadow:0 0 10px rgba(255,82,82,.32)}
.operational-footer .op-service.is-online i{background:#00E676;box-shadow:0 0 10px rgba(0,230,118,.34)}
.operational-footer .op-service.is-offline i{background:#FF5252}
.operational-footer .op-service.is-not-logged-in i{background:#FFC247;box-shadow:0 0 10px rgba(255,194,71,.42)}

/* Monitor - official EchoLink palette */
.hm-conv-panel{background:#0A0F12!important;background-image:none!important;color:#EAFBF6!important;border-radius:10px!important}
.hm-conv-head,.hm-conv-card,.hm-conv-legend{background:#151E24!important;border:1px solid rgba(0,230,168,.15)!important;border-radius:12px!important;box-shadow:0 0 20px rgba(0,230,168,.08)!important}
.hm-conv-brand img{background:#11181D!important;border:1px solid rgba(0,230,168,.20)!important;box-shadow:0 0 18px rgba(0,230,168,.10)!important}
.hm-conv-brand h1,.hm-conv-card-head strong,.hm-conv-foot strong{color:#EAFBF6!important}
.hm-conv-brand p,.hm-conv-card-head span,.hm-conv-foot span,.hm-conv-legend,.hm-conv-empty{color:#A8C8BF!important}
.hm-conv-filters button{background:#11181D!important;border:1px solid rgba(0,230,168,.20)!important;color:#A8C8BF!important;box-shadow:none!important}
.hm-conv-filters .ativo{background:#00E6A8!important;border-color:#00E6A8!important;color:#0A0F12!important;box-shadow:0 0 20px rgba(0,230,168,.16)!important}
.hm-conv-card-head{border-bottom:1px solid rgba(0,230,168,.15)!important;background:#151E24!important}
.hm-conv-card-head em{background:#0E7C66!important;color:#EAFBF6!important}
.hm-conv-card-head .chat,.hm-conv-card-head .linkabot,.hm-conv-card-head .agendado{background:#0E7C66!important;color:#EAFBF6!important}
.hm-conv-card-head em:before{background:#00E676!important}
.hm-conv-chips{background:#11181D!important;border-bottom:1px solid rgba(0,230,168,.15)!important}
.hm-conv-chips span{background:#151E24!important;border:1px solid rgba(0,230,168,.15)!important;color:#A8C8BF!important}
.hm-conv-chips i{background:#FFC107!important;box-shadow:0 0 10px rgba(255,193,7,.28)!important}
.hm-conv-chat{background:#0A0F12!important;background-image:none!important}
.hm-conv-chat p{box-shadow:none!important}
.hm-conv-chat .bot{background:#11181D!important;border:1px solid rgba(0,230,168,.15)!important;color:#EAFBF6!important}
.hm-conv-chat .user{background:#00C28D!important;border:1px solid #00E6A8!important;color:#0A0F12!important}
.hm-conv-foot{background:#11181D!important;border-top:1px solid rgba(0,230,168,.15)!important}
.hm-conv-empty{background:#151E24!important;border:1px dashed rgba(0,230,168,.20)!important}
.hm-conv-legend .chat,.hm-conv-legend .linkabot,.hm-conv-legend .agendado{background:#00E6A8!important}
.hm-conv-brand img{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important;border-radius:10px!important;padding:4px!important}
.hm-conv-chat{position:relative!important;overflow:hidden!important}
.hm-conv-flow{display:flex;flex-direction:column;gap:10px;will-change:transform;animation:hm-conv-roll 18s linear infinite}
.hm-conv-card:hover .hm-conv-flow{animation-play-state:paused}
@keyframes hm-conv-roll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}

@media(max-width:900px){.operational-footer{left:132px!important}}

/* Mobile shell - separate hamburger layout. Desktop rules above stay untouched. */
.mobile-topbar,.mobile-drawer,.mobile-menu-backdrop{display:none}

@media(max-width:900px){
  html,body{height:auto!important;min-height:100%!important;overflow:auto!important}
  .app-body{height:auto!important;min-height:100vh!important;overflow:auto!important;overflow-x:hidden!important;background:#000302!important;padding-top:54px!important}
  .mobile-topbar{position:fixed;left:0;right:0;top:0;z-index:120;height:54px;display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid rgba(0,255,134,.28);background:#001411;color:#d8f4e8;box-shadow:0 8px 24px rgba(0,0,0,.24)}
  .mobile-topbar img{width:72px;max-height:38px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(0,255,134,.40))}
  .mobile-topbar strong{font-size:12px;font-weight:900;color:#d8f4e8}
  .mobile-menu-button{width:38px;height:38px;border:1px solid rgba(0,255,134,.34);border-radius:10px;background:#06110d;display:grid;place-items:center;padding:8px;gap:4px}
  .mobile-menu-button span{display:block;width:18px;height:2px;border-radius:999px;background:#00ff86}
  .mobile-menu-backdrop{position:fixed;inset:0;z-index:125;background:rgba(0,0,0,.58);opacity:0;pointer-events:none;transition:opacity .18s ease}
  .mobile-drawer{position:fixed;left:0;top:0;bottom:0;z-index:130;width:min(310px,84vw);display:flex;flex-direction:column;gap:10px;padding:13px;border-right:1px solid rgba(0,255,134,.32);background:#001411;box-shadow:22px 0 50px rgba(0,0,0,.38);transform:translateX(-105%);transition:transform .2s ease}
  .mobile-menu-open .mobile-drawer{transform:translateX(0)}
  .mobile-menu-open .mobile-menu-backdrop{opacity:1;pointer-events:auto}
  .mobile-drawer-head{height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px}
  .mobile-drawer-head img{width:96px;max-height:46px;object-fit:contain;filter:drop-shadow(0 0 16px rgba(0,255,134,.38))}
  .mobile-drawer-head button{height:30px;border:1px solid rgba(0,255,134,.30);border-radius:8px;background:#06110d;color:#d8f4e8;font-size:9px;font-weight:900;padding:0 10px}
  .mobile-menu{display:grid!important;gap:8px!important;overflow:auto!important;padding:6px 0 20px!important}
  .mobile-menu a{height:34px!important;display:flex!important;align-items:center!important;border-radius:9px!important;font-size:10px!important;padding:0 10px!important;white-space:nowrap!important}
  .mobile-menu .menu-cascade{display:grid!important;gap:8px!important}
  .mobile-menu .menu-cascade>.menu-section:after{display:none!important}
  .mobile-menu .submenu-panel{position:static!important;display:grid!important;gap:7px!important;min-width:0!important;padding:7px!important;border:1px solid rgba(0,255,134,.16)!important;border-radius:9px!important;background:#03140d!important;box-shadow:none!important}
  .mobile-menu .submenu-panel .submenu-title{display:none!important}
  .app-shell{height:auto!important;min-height:calc(100vh - 54px)!important;display:block!important;padding:0 8px 92px!important;background:#000302!important}
  .sidebar{display:none!important}
  .content{overflow:visible!important;padding:0!important}
  .top-pill{display:none!important}
  .page-card{min-height:calc(100vh - 76px)!important;height:auto!important;margin:0!important;padding:12px!important;border-radius:10px!important;overflow:visible!important}
  .page-card:has(.dashboard-head),.page-card:has(.ai-shell),.page-card:has(.iaw-shell){height:auto!important;min-height:calc(100vh - 76px)!important;overflow:visible!important}
  .dashboard-head,.ai-head,.iaw-head,.schedule-head{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-items:start!important}
  .page-card h1,.ai-head h1,.iaw-head h1{font-size:16px!important;line-height:1.18!important}
  .quick-actions,.ai-head-actions,.iaw-nav,.form-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:7px!important}
  .quick-actions a,.primary-action,.filter-bar button,.filter-bar a,.import-filter button,.import-filter a,.export-link,.ai-btn{min-height:34px!important;height:34px!important;font-size:9px!important}
  .summary-grid,.dash-grid,.ai-grid,.ai-grid.three,.import-layout{grid-template-columns:1fr!important}
  .metric-card{padding:11px!important}
  .metric-card strong{font-size:18px!important}
  .chart-card{min-height:0!important;padding:10px!important}
  .donut-wrap{grid-template-columns:1fr!important;justify-items:center!important;gap:12px!important}
  .donut{width:150px!important;height:150px!important}
  .legend{width:100%!important}
  .bar-chart{height:210px!important;gap:7px!important;padding:8px!important;overflow-x:auto!important}
  .bar{min-width:42px!important}
  .line-chart{min-height:320px!important;grid-template-rows:minmax(210px,1fr) minmax(94px,auto)!important}
  .filter-bar,.import-filter{grid-template-columns:1fr!important}
  .filter-bar input,.filter-bar button,.filter-bar a,.import-filter select,.import-filter button,.import-filter a,.upload-form input,.upload-form select{height:36px!important;width:100%!important}
  .upload-form{max-width:none!important;padding:12px!important}
  .list-card,.import-grid-card,.ai-panel,.iaw-card{overflow:visible!important}
  .ai-field input,.ai-field select{height:36px!important;font-size:12px!important}
  .ai-field textarea{font-size:12px!important}
  .ai-table-wrap,.ai-options-grid,.import-grid-scroll,.iaw-table{max-height:none!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .eco-table,.ai-table,.import-table{min-width:680px!important}
  .grid-actions{min-width:84px!important;justify-content:flex-start!important}
  .footer-bar,.operational-footer{position:fixed!important;left:6px!important;right:6px!important;bottom:6px!important;z-index:110!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;height:auto!important;min-height:72px!important;gap:5px 6px!important;padding:7px!important;border-radius:10px!important;overflow:hidden!important;white-space:normal!important}
  .operational-footer span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8px!important;line-height:1!important}
  .operational-footer>span+span:before{content:none!important}
  .operational-footer .op-client,.operational-footer .op-product,.operational-footer .op-infra,.operational-footer .op-user,.operational-footer .op-clock{display:none!important}
  .operational-footer .op-client-id{display:inline-flex!important}
  .operational-footer .op-service i{width:7px!important;height:7px!important;margin-right:4px!important}
  .page-card:has(.dashboard-head){overflow:visible!important;max-width:100%!important}
  .page-card:has(.dashboard-head) .dashboard-head{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;min-width:0!important;max-width:100%!important}
  .page-card:has(.dashboard-head) .quick-actions{width:100%!important;max-width:100%!important}
  .page-card:has(.dashboard-head) .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;max-width:100%!important}
  .page-card:has(.dashboard-head) .dash-grid{grid-template-columns:1fr!important;gap:10px!important;min-width:0!important;max-width:100%!important}
  .page-card:has(.dashboard-head) .metric-card{min-width:0!important;padding:10px!important}
  .page-card:has(.dashboard-head) .metric-card span{font-size:8px!important}
  .page-card:has(.dashboard-head) .metric-card strong{font-size:17px!important;word-break:break-word!important}
  .page-card:has(.dashboard-head) .chart-card{min-height:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .page-card:has(.dashboard-head) .bar-chart{height:190px!important;gap:3px!important;padding:8px 5px!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important}
  .page-card:has(.dashboard-head) .bar{font-size:7px!important;min-width:0!important}
  .page-card:has(.dashboard-head) .bar span{min-height:18px!important;margin-top:4px!important}
  .page-card:has(.dashboard-head) .donut-wrap{grid-template-columns:1fr!important;justify-items:center!important;gap:12px!important}
  .page-card:has(.dashboard-head) .donut{width:132px!important;height:132px!important}
  .page-card:has(.dashboard-head) .donut span{width:74px!important;height:74px!important;font-size:18px!important}
  .page-card:has(.dashboard-head) .line-chart{height:auto!important;min-height:0!important;grid-template-rows:180px minmax(80px,auto)!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
  .page-card:has(.dashboard-head) .line-chart svg{width:100%!important;height:180px!important;min-height:0!important;display:block!important}
  .page-card:has(.dashboard-head) .line-date{font-size:8px!important}
  .page-card:has(.dashboard-head) .line-legend{min-height:0!important;max-height:150px!important;overflow:auto!important}
  .page-card:has(.dashboard-head) .legend p{height:auto!important;min-height:28px!important;padding:6px 8px!important;gap:8px!important}
  .hm-conv-panel,.hm-att-panel{margin:-12px!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:12px!important}
  .hm-conv-head,.hm-att-top,.hm-conv-legend,.hm-att-legend{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .hm-conv-brand,.hm-att-brand{min-width:0!important}
  .hm-conv-brand h1,.hm-att-brand h1{font-size:18px!important}
  .hm-conv-filters,.hm-att-filters{overflow-x:auto!important;padding-bottom:2px!important}
  .hm-conv-cards,.hm-att-cards{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}
  .hm-conv-card,.hm-att-card{min-height:420px!important;height:auto!important}
  .hm-att-kpis{justify-content:flex-start!important}
  .hm-att-kpis div{min-width:calc(50% - 6px)!important;flex:1 1 calc(50% - 6px)!important}
  .login-body{height:auto!important;min-height:100vh!important;overflow:auto!important;padding-top:0!important}
  .login-shell{height:auto!important;min-height:100vh!important;display:block!important}
  .login-side{min-height:100vh!important;border-right:0!important;padding:28px 14px!important}
  .login-logo-card{height:104px!important}
  .login-card{padding:18px 16px!important}
  .login-hero{display:none!important}
}

@media(max-width:420px){
  .app-shell{padding-left:6px!important;padding-right:6px!important}
  .page-card{padding:10px!important}
  .quick-actions a,.primary-action,.filter-bar button,.filter-bar a,.import-filter button,.import-filter a,.export-link,.ai-btn{width:100%!important}
  .iaw-kiosk h2{font-size:17px!important}
  .iaw-input{height:42px!important}
  .eco-table,.ai-table,.import-table{min-width:620px!important}
  .hm-att-kpis div{min-width:100%!important}
}

.page-card:has(.exhausted-slots-card){overflow:auto}.page-card:has(.exhausted-slots-card) .dash-grid{flex:0 0 auto}.exhausted-slots-card{width:calc(50% - 7px);min-width:520px;margin:0 0 14px;border:1px solid #ff4d4f!important;border-radius:10px!important;background:linear-gradient(135deg,#3a0808,#8f1115)!important;color:#fff!important;box-shadow:0 10px 24px rgba(143,17,21,.22)!important;padding:10px!important}
.exhausted-slots-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.exhausted-slots-head span{font-size:7px;font-weight:900;letter-spacing:.10em;color:#ffd5d5}.exhausted-slots-head h2{margin:2px 0 0;color:#fff!important;font-size:13px!important;line-height:1.1}.exhausted-slots-head strong{min-width:28px;height:28px;border-radius:9px;background:#fff;color:#a80f17;display:grid;place-items:center;font-size:13px;font-weight:900}
.exhausted-slots-grid-wrap{max-height:150px;overflow:auto;border:1px solid rgba(255,255,255,.20);border-radius:9px;background:rgba(0,0,0,.15)}.exhausted-slots-grid{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0}.exhausted-slots-grid th{position:sticky;top:0;z-index:1;background:#7d1014;color:#fff;font-size:7px;letter-spacing:.03em;text-align:left;text-transform:uppercase;padding:5px 6px;white-space:nowrap}.exhausted-slots-grid td{padding:5px 6px;border-top:1px solid rgba(255,255,255,.12);font-size:8px;line-height:1.15;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exhausted-slots-grid th:nth-child(1),.exhausted-slots-grid td:nth-child(1){width:18%}.exhausted-slots-grid th:nth-child(2),.exhausted-slots-grid td:nth-child(2){width:19%}.exhausted-slots-grid th:nth-child(3),.exhausted-slots-grid td:nth-child(3){width:20%}.exhausted-slots-grid th:nth-child(4),.exhausted-slots-grid td:nth-child(4){width:18%}.exhausted-slots-grid th:nth-child(5),.exhausted-slots-grid td:nth-child(5){width:12%}.exhausted-slots-grid th:nth-child(6),.exhausted-slots-grid td:nth-child(6){width:13%}.exhausted-slots-grid tbody tr:nth-child(odd){background:rgba(255,255,255,.07)}.exhausted-slots-grid tbody tr:nth-child(even){background:rgba(0,0,0,.16)}
.dashboard-waitlist-alert{margin:0 0 14px;padding:13px 15px;border:1px solid #00bd63;border-radius:10px;background:#eafff6;color:#063d25;font-size:12px;font-weight:900}
.exhausted-slots-inline{width:100%!important;max-width:none!important;min-width:0!important;margin:10px 0 0!important;padding:8px!important;align-self:stretch!important}.exhausted-slots-inline .exhausted-slots-grid-wrap{max-height:154px;overflow:auto!important}.exhausted-slots-inline .exhausted-slots-head{margin-bottom:5px}.exhausted-slots-inline .exhausted-slots-head h2{font-size:11px!important}.exhausted-slots-inline .exhausted-slots-head span{font-size:6px!important}.exhausted-slots-inline .exhausted-slots-head strong{min-width:24px;height:24px;font-size:11px}.exhausted-slots-inline .exhausted-slots-grid th{font-size:6px;padding:4px 5px}.exhausted-slots-inline .exhausted-slots-grid td{font-size:7px;padding:5px 5px}
@media(max-width:900px){.exhausted-slots-card{width:100%;min-width:0}.exhausted-slots-head strong{min-width:28px;height:28px;font-size:13px}.exhausted-slots-grid-wrap{max-height:180px}}

@media(max-width:900px){
  .page-dashboard .page-card{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
  .page-dashboard .dashboard-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0!important}
  .page-dashboard .dashboard-head h1{font-size:16px!important;line-height:1.15!important}
  .page-dashboard .dashboard-head .subtitle{font-size:8px!important;line-height:1.25!important;margin-bottom:6px!important}
  .page-dashboard .quick-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:6px!important}
  .page-dashboard .quick-actions a{width:100%!important;justify-content:center!important;padding:0 6px!important}
  .page-dashboard .summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;margin-bottom:9px!important}
  .page-dashboard .metric-card{min-width:0!important;padding:9px!important}
  .page-dashboard .metric-card span{font-size:8px!important;line-height:1.15!important}
  .page-dashboard .metric-card strong{font-size:16px!important;line-height:1.1!important;word-break:break-word!important}
  .page-dashboard .metric-card small{font-size:8px!important}
  .page-dashboard .dash-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important;min-width:0!important}
  .page-dashboard .chart-card{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:9px!important;overflow:hidden!important}
  .page-dashboard .chart-card h2{font-size:10px!important;margin-bottom:8px!important}
  .page-dashboard .bar-chart{height:172px!important;width:100%!important;max-width:100%!important;gap:2px!important;padding:7px 4px!important;overflow:hidden!important}
  .page-dashboard .bar{min-width:0!important;font-size:6px!important}
  .page-dashboard .bar span{min-height:16px!important;margin-top:3px!important}
  .page-dashboard .donut-wrap{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:10px!important}
  .page-dashboard .donut{width:124px!important;height:124px!important}
  .page-dashboard .donut span{width:70px!important;height:70px!important;font-size:16px!important}
  .page-dashboard .legend{width:100%!important;gap:6px!important}
  .page-dashboard .legend p{min-height:28px!important;height:auto!important;padding:6px 7px!important;font-size:8px!important;gap:6px!important}
  .page-dashboard .line-chart{width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-rows:168px minmax(76px,auto)!important;gap:6px!important;overflow:hidden!important}
  .page-dashboard .line-chart svg{width:100%!important;height:168px!important;min-height:0!important}
  .page-dashboard .line-axis,.page-dashboard .line-date{font-size:7px!important}
  .page-dashboard .line-legend{min-height:0!important;max-height:132px!important;overflow:auto!important}
  .page-dashboard .line-summary-head,.page-dashboard .line-summary-row{font-size:8px!important}
  .login-body{min-height:100vh!important;height:auto!important;overflow:auto!important;background:#000302!important;padding:0!important}
  .login-body:before{background:radial-gradient(circle at 50% 8%,rgba(0,255,134,.20),transparent 24%),linear-gradient(180deg,#001411 0,#000302 58%,#000302 100%)!important}
  .login-shell{display:grid!important;grid-template-columns:1fr!important;min-height:100vh!important;height:auto!important;padding:18px 12px!important}
  .login-side{min-height:0!important;width:100%!important;max-width:380px!important;margin:0 auto!important;border-right:0!important;background:transparent!important;padding:0!important;gap:12px!important;justify-content:center!important}
  .login-logo-card{height:112px!important;border-radius:14px!important}
  .login-logo-card img{max-width:180px!important;max-height:92px!important}
  .login-card{padding:18px 16px!important;border-radius:14px!important}
  .login-card h1{font-size:18px!important}
  .login-card p{font-size:10px!important;margin-bottom:14px!important}
  .login-card label{font-size:10px!important}
  .login-card input{height:38px!important;font-size:13px!important}
  .login-card button{height:40px!important;font-size:12px!important}
  .login-info{padding:12px!important;text-align:center!important}
  .login-hero{display:none!important}
}

.operational-footer.is-vps-restarting .op-service i{background:#FF5252!important;box-shadow:0 0 10px rgba(255,82,82,.58)!important}.op-vps-reboot{display:none!important;margin-left:auto;color:#ffb3b3!important;font-size:9px!important;font-weight:900!important}.op-vps-reboot.is-visible{display:inline-flex!important}.vps-reboot-toast{position:fixed;right:18px;bottom:52px;z-index:10000;min-width:260px;max-width:360px;border:1px solid rgba(0,255,134,.52);border-radius:18px;background:linear-gradient(145deg,rgba(3,24,15,.90),rgba(0,255,134,.14));box-shadow:0 24px 70px rgba(0,0,0,.46),0 0 32px rgba(0,255,134,.18);backdrop-filter:blur(10px);color:#eafff4;padding:15px 18px;font-size:13px;font-weight:900;opacity:0;transform:translateY(12px) scale(.97);transition:opacity .24s ease,transform .24s ease}.vps-reboot-toast.is-open{opacity:1;transform:translateY(0) scale(1)}
/* Harmony manual link modal */
.quick-actions .quick-link-action{border:1px solid rgba(255,220,90,.72)!important;background:linear-gradient(90deg,#f6b900,#ffe45c)!important;color:#261400!important;box-shadow:0 7px 18px rgba(190,136,0,.28)!important}
.quick-actions .quick-link-action::before{content:"";width:16px;height:16px;border-radius:50%;background:url('../img/actions/confirm.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
.harmony-link-modal-backdrop[hidden]{display:none!important}.harmony-link-modal-backdrop{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;background:rgba(0,10,6,.58);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:opacity .22s ease}.harmony-link-modal-backdrop.is-open{opacity:1;pointer-events:auto}.harmony-link-modal{width:min(460px,calc(100vw - 34px));border:1px solid rgba(255,228,92,.62);border-radius:24px;background:linear-gradient(145deg,rgba(32,26,2,.86),rgba(255,228,92,.16));box-shadow:0 28px 80px rgba(0,0,0,.50),0 0 38px rgba(255,228,92,.18),inset 0 1px 0 rgba(255,255,255,.16);padding:24px;color:#fff9df;transform:translateY(16px) scale(.96);transition:transform .22s ease}.harmony-link-modal-backdrop.is-open .harmony-link-modal{transform:translateY(0) scale(1)}.harmony-link-modal h2{margin:0 0 8px;font-size:22px;color:#fff4b8}.harmony-link-modal p{margin:0 0 18px;color:#f6e7a4;font-size:13px;line-height:1.5;font-weight:800}.harmony-link-modal label{display:block;margin:12px 0 0;color:#fff4b8;font-size:11px;font-weight:900}.harmony-link-modal input{width:100%;height:40px;margin-top:7px;border:1px solid rgba(255,228,92,.48);border-radius:13px;background:rgba(255,255,255,.12);color:#fff;padding:0 12px;outline:none}.harmony-link-modal input:focus{border-color:#ffe45c;box-shadow:0 0 0 3px rgba(255,228,92,.16)}.harmony-link-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.harmony-link-actions button{height:38px;border:0;border-radius:13px;padding:0 16px;font-weight:900;cursor:pointer}.harmony-link-cancel{background:rgba(255,255,255,.12);color:#fff9df;border:1px solid rgba(255,255,255,.18)!important}.harmony-link-confirm{background:linear-gradient(90deg,#f6b900,#ffe45c);color:#261400}.harmony-link-status{display:none;margin-top:14px;border-radius:14px;padding:11px 12px;font-size:12px;font-weight:900;line-height:1.4;white-space:normal;word-break:break-word}.harmony-link-status.ok{display:block;background:rgba(255,228,92,.14);border:1px solid rgba(255,228,92,.42);color:#fff9df}.harmony-link-status.err{display:block;background:rgba(255,80,80,.14);border:1px solid rgba(255,90,90,.42);color:#ffe8e8}
/* Harmony manual link button sizing */
.quick-actions .quick-link-action{min-height:28px!important;height:28px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:0 12px!important;font-size:9px!important;font-weight:900!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;box-sizing:border-box!important;cursor:pointer!important;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease!important}
.quick-actions a[href="pre_agendados.php"]::before{content:"";width:16px;height:16px;border-radius:50%;background:url('../img/actions/schedule.png') center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.14);flex:0 0 auto}
/* Ecosense visual identity */
:root{--eco-bg:#000708;--eco-deep:#00191b;--eco-teal:#00c8c8;--eco-cyan:#35f4f0;--eco-ice:#dfffff;--eco-soft:#9ed7d8;--eco-panel:#eaf9f9;--eco-line:rgba(53,244,240,.55)}
body,.app-body,.app-shell{background:#000708!important}
.login-body{background:#000708!important}
.login-body:before{background:radial-gradient(circle at 58% 42%,rgba(53,244,240,.32),transparent 25%),radial-gradient(circle at 65% 36%,rgba(0,200,200,.20),transparent 22%),radial-gradient(circle at 20% 22%,rgba(53,244,240,.10),transparent 30%),linear-gradient(90deg,#00191b 0 19.8%,#000708 19.8% 100%)!important}
.login-side,.sidebar{background:#00191b!important;border-color:var(--eco-line)!important}
.login-logo-card{border-color:rgba(53,244,240,.42)!important;background:linear-gradient(145deg,rgba(53,244,240,.14),rgba(0,200,200,.05))!important;box-shadow:0 0 38px rgba(53,244,240,.14)!important}
.login-logo-card img,.login-hero img,.side-logo-card img{content:url('../img/ecosense-logo.png')!important;filter:drop-shadow(0 0 24px rgba(53,244,240,.54)) drop-shadow(0 0 42px rgba(0,200,200,.20))!important}
.login-card{background:linear-gradient(180deg,#f2ffff,#d9eeee)!important;border-color:var(--eco-cyan)!important;box-shadow:0 18px 38px rgba(0,0,0,.36),0 0 34px rgba(53,244,240,.16)!important}
.login-card h1{color:#00191b!important}
.login-card p,.login-card label{color:#315f61!important}
.login-card input{background:#efffff!important;border-color:#9ed7d8!important;color:#00191b!important}
.login-card input:focus,.ai-field input:focus,.ai-field select:focus,.ai-field textarea:focus{border-color:var(--eco-cyan)!important;box-shadow:0 0 0 3px rgba(53,244,240,.18)!important}
.login-card button,.menu a.active,.quick-actions a,.primary-action,.filter-bar button,.form-actions button,.import-filter button,.ai-btn,.ai-table a{background:linear-gradient(90deg,#00aeb4,#35f4f0)!important;border-color:var(--eco-cyan)!important;color:#001315!important;box-shadow:0 5px 16px rgba(0,200,200,.18)!important}
.login-info{border-color:rgba(53,244,240,.42)!important;background:rgba(53,244,240,.07)!important}
.login-info strong{color:var(--eco-cyan)!important;text-shadow:0 0 12px rgba(53,244,240,.38)!important}
.login-info span{color:var(--eco-ice)!important}
.login-hero{background:radial-gradient(circle at 50% 45%,rgba(53,244,240,.21),transparent 27%)!important}
.side-logo-card{background:transparent!important;border:0!important;box-shadow:none!important}
.menu a{border-color:rgba(53,244,240,.30)!important;background:#031113!important;color:var(--eco-ice)!important}
.menu a.submenu{border-color:rgba(53,244,240,.24)!important;background:#041719!important;color:var(--eco-soft)!important}
.menu a.submenu.active{background:#00aeb4!important;border-color:var(--eco-cyan)!important;color:#001315!important}
.menu a.submenu-title{background:transparent!important;border-color:rgba(53,244,240,.30)!important;color:#9ceff0!important}
.top-pill,.footer-bar{background:#001315!important;border-color:var(--eco-cyan)!important;color:var(--eco-ice)!important}
.page-card{border-color:var(--eco-cyan)!important;background:linear-gradient(180deg,#effcfc,#dfeeee)!important}
.page-card h1,.ai-head h1,.ai-panel h2{color:#052f33!important}
.page-card .subtitle,.ai-head .subtitle{color:#527477!important}
.metric-card strong,.legend strong,.line-summary-row em{color:#008e96!important}
.chart-card h2,.list-card h2{color:#075d63!important}
.eco-table th,.ai-table th{background:#c8eeee!important;color:#075d63!important}
.ai-panel{border-color:#afd9da!important}
.ai-field{color:#244e51!important}
.ai-field input,.ai-field select,.ai-field textarea{border-color:#afd9da!important;background:#f8ffff!important}
.filter-bar a,.import-filter a,.export-link,.ai-btn.secondary{border-color:#9ed7d8!important;background:linear-gradient(180deg,#f5ffff,#d9eeee)!important;color:#07383b!important}
.quick-actions a:focus-visible,.primary-action:focus-visible,.filter-bar button:focus-visible,.form-actions button:focus-visible,.import-filter button:focus-visible,.ai-btn:focus-visible,.filter-bar a:focus-visible,.import-filter a:focus-visible,.export-link:focus-visible{outline-color:var(--eco-cyan)!important}
.footer-bar span:nth-child(1)::before{content:"ECOSENSE"!important}


/* Login mobile: formulario, logo pulsante e progress bar no viewport */
@media(max-width:900px){
  .login-body{min-height:100svh!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;background:#000708!important}
  .login-body:before{background:radial-gradient(circle at 50% 12%,rgba(53,244,240,.20),transparent 34%),linear-gradient(180deg,#003235 0,#001315 42%,#000708 100%)!important}
  .login-shell{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;align-content:start!important;justify-items:center!important;gap:14px!important;width:100%!important;min-height:100svh!important;height:auto!important;padding:clamp(22px,7svh,54px) 12px max(14px,env(safe-area-inset-bottom))!important}
  .login-hero{order:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:0!important;padding:0!important;background:transparent!important}
  .login-hero-logo-stage{width:clamp(168px,78vw,270px)!important;max-width:270px!important;min-height:0!important;padding:12px 18px 11px!important;border-radius:20px!important;background:rgba(53,244,240,.08)!important;border:1px solid rgba(53,244,240,.28)!important;box-shadow:0 0 32px rgba(53,244,240,.14),inset 0 1px 0 rgba(255,255,255,.08)!important;animation:loginHeroPulse 2.15s ease-in-out infinite!important}
  .login-hero-logo-stage img{content:url('../img/ecosense-login-hero.png')!important;display:block!important;width:100%!important;max-width:220px!important;max-height:min(120px,22svh)!important;margin:0 auto!important;object-fit:contain!important}
  .login-logo-progress{display:block!important;width:80%!important;height:5px!important;margin:9px auto 0!important;opacity:1!important;border-radius:999px!important;background:rgba(53,244,240,.18)!important;box-shadow:0 0 16px rgba(53,244,240,.24)!important;overflow:hidden!important}
  .login-logo-progress i{width:46%;animation:loginProgressIdle 1.45s ease-in-out infinite!important}
  .login-body.is-loading .login-logo-progress i{animation:loginProgressLoad 3s linear forwards!important}
  .login-side{order:2!important;display:block!important;width:100%!important;max-width:360px!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important}
  .login-logo-card,.login-info{display:none!important}
  .login-card{width:100%!important;padding:18px 16px!important;border-radius:18px!important}
  .login-card h1{margin:0 0 6px!important;font-size:18px!important;line-height:1.12!important;text-align:center!important}
  .login-card p{margin:0 0 12px!important;font-size:9px!important;line-height:1.35!important;text-align:center!important}
  .login-card label{margin-top:9px!important;font-size:10px!important}
  .login-card input{height:42px!important;margin-top:6px!important;padding:0 12px!important;font-size:15px!important}
  .login-card button{height:42px!important;margin-top:14px!important;font-size:12px!important}
}@keyframes loginProgressIdle{0%,100%{transform:translateX(0);opacity:.78}50%{transform:translateX(105%);opacity:1}}
@media(max-width:420px){
  .login-shell{padding-left:12px!important;padding-right:12px!important;gap:10px!important}
  .login-hero-logo-stage{width:clamp(196px,68vw,270px)!important;padding:8px 18px 11px!important}
  .login-hero-logo-stage img{max-height:min(92px,16svh)!important}
  .login-card{padding:18px 16px!important}
}
@media(max-width:900px) and (max-height:680px){
  .login-shell{align-content:start!important;gap:7px!important;padding-top:8px!important;padding-bottom:8px!important}
  .login-hero-logo-stage{width:clamp(178px,58vw,230px)!important;padding:6px 16px 9px!important}
  .login-hero-logo-stage img{max-height:min(68px,14svh)!important}
  .login-logo-progress{height:5px!important;margin-top:7px!important}
  .login-card{padding:14px 16px!important}
  .login-card h1{font-size:18px!important}
  .login-card p{margin-bottom:8px!important}
  .login-card label{margin-top:7px!important}
  .login-card input,.login-card button{height:40px!important}
  .login-card button{margin-top:10px!important}
}
/* Ecosense dashboard final viewport fit */
@media(min-width:901px){
  body.page-dashboard{overflow:hidden!important}
  .page-dashboard .app-shell{height:calc(100vh - 34px)!important;grid-template-columns:140px minmax(0,1fr)!important;padding-right:8px!important;overflow:hidden!important}
  .page-dashboard .content{min-width:0!important;overflow:hidden!important;padding:0 8px 0 4px!important}
  .page-dashboard .page-card{width:100%!important;max-width:100%!important;min-width:0!important;height:calc(100vh - 46px)!important;min-height:calc(100vh - 46px)!important;padding:12px 12px 10px!important;overflow:hidden!important;zoom:1!important;transform:none!important}
  .page-dashboard .dashboard-head{margin-bottom:8px!important;display:flex!important;gap:8px!important;align-items:flex-start!important}
  .page-dashboard .dashboard-head h1{font-size:16px!important;line-height:1.05!important;margin:0 0 1px!important}
  .page-dashboard .dashboard-head .subtitle{font-size:8px!important;margin-bottom:0!important}
  .page-dashboard .quick-actions{gap:6px!important;flex-wrap:nowrap!important;max-width:34%!important;overflow:hidden!important}
  .page-dashboard .quick-actions a{height:24px!important;padding:0 9px!important;font-size:8px!important;white-space:nowrap!important}
  .page-dashboard .filter-bar{grid-template-columns:1.08fr 1fr 1fr 58px 50px!important;gap:6px!important;margin:7px 0!important}
  .page-dashboard .filter-bar input,.page-dashboard .filter-bar a,.page-dashboard .filter-bar button{height:24px!important;border-radius:7px!important;font-size:8px!important;padding:0 8px!important}
  .page-dashboard .summary-grid{gap:7px!important;margin-bottom:7px!important}
  .page-dashboard .metric-card{padding:7px 9px!important;min-height:46px!important}
  .page-dashboard .metric-card span{font-size:8px!important;line-height:1.05!important}
  .page-dashboard .metric-card strong{font-size:16px!important;line-height:1!important;margin-top:3px!important}
  .page-dashboard .metric-card small{font-size:8px!important;margin-top:2px!important}
  .page-dashboard .dash-grid{gap:8px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;min-width:0!important}
  .page-dashboard .chart-card{padding:8px!important;min-height:0!important;height:auto!important;overflow:hidden!important;min-width:0!important}
  .page-dashboard .chart-card h2{font-size:10px!important;margin:0 0 7px!important}
  .page-dashboard .donut-wrap{grid-template-columns:90px minmax(0,1fr)!important;gap:10px!important;min-width:0!important}
  .page-dashboard .donut{width:78px!important;height:78px!important}
  .page-dashboard .donut span{width:45px!important;height:45px!important;font-size:17px!important}
  .page-dashboard .legend{gap:5px!important;min-width:0!important;max-height:86px!important;overflow:auto!important}
  .page-dashboard .legend p{height:20px!important;min-height:20px!important;padding:0 8px!important;font-size:8px!important;border-radius:6px!important}
  .page-dashboard .bar-chart{height:130px!important;padding:8px!important;gap:8px!important;overflow:hidden!important}
  .page-dashboard .bar{font-size:7px!important;min-width:0!important}
  .page-dashboard .bar span{min-height:18px!important;margin-top:4px!important}
  .page-dashboard .line-chart{height:126px!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:1fr!important}
  .page-dashboard .line-chart svg{height:118px!important;max-height:118px!important;width:100%!important}
  .page-dashboard .line-legend,.page-dashboard .line-summary,.page-dashboard .line-summary-list{max-height:110px!important;overflow:auto!important}
  .page-dashboard .exhausted-slots-inline{min-height:116px!important;max-height:126px!important;overflow:hidden!important}
  .page-dashboard .exhausted-slots-inline .eco-table td{height:22px!important;font-size:8px!important}
  .page-dashboard .exhausted-slots-inline .eco-table th{height:21px!important;font-size:8px!important}
  .page-dashboard .footer-bar{left:146px!important;right:8px!important;bottom:6px!important;width:auto!important;max-width:none!important}
}
.ecosense-config-form{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.ecosense-config-form>label,.ecosense-config-form>.form-actions{grid-column:1/-1}.eco-fieldset{min-width:0;border:1px solid #c6dae8;border-radius:8px;background:#fff;padding:11px;display:grid;gap:9px}.eco-fieldset legend{padding:0 6px;color:#004a7b;font-size:11px;font-weight:900}.eco-check{display:flex!important;grid-template-columns:auto!important;align-items:center;gap:7px}.eco-check input{width:14px;height:14px;padding:0}.eco-progress-card{padding:12px;margin-bottom:10px}.eco-progress-card h2{font-size:12px;color:#004a7b;margin:0 0 10px}.eco-progress-row{display:grid;grid-template-columns:150px 90px 1fr 42px;align-items:center;gap:9px;margin:7px 0;font-size:10px;font-weight:800;color:#23384f}.eco-progress-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eco-progress-row div{height:12px;border-radius:7px;background:#dce9f2;overflow:hidden}.eco-progress-row i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#009fe3,#16bf62)}.eco-progress-row em{font-style:normal;text-align:right}.eco-donut-wrap{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:15px}.eco-donut{width:160px;height:160px;border-radius:50%;background:conic-gradient(#009fe3 0 var(--s1),#16bf62 var(--s1) var(--s2),#ffcd00 var(--s2) var(--s3),#f23d2f var(--s3) 100%);display:grid;place-items:center}.eco-donut span{width:84px;height:84px;border-radius:50%;background:#eef8ff;display:grid;place-items:center;color:#003d6d;font-weight:900;font-size:20px}@media(max-width:900px){.ecosense-config-form{grid-template-columns:1fr}.eco-progress-row{grid-template-columns:1fr 70px}.eco-progress-row div{grid-column:1/-1}.eco-progress-row em{text-align:left}}

.eco-progress-row small{grid-column:1/-1;color:#5b6f82;font-size:9px;font-weight:800}.ecosense-config-form input:disabled,.ecosense-config-form select:disabled{background:#edf2f6!important;color:#8b9bad!important;cursor:not-allowed}.form-actions button[disabled]{opacity:.55;cursor:not-allowed}

/* EcoSense CRUD grid actions */
.grid-actions form{display:inline-flex!important;margin:0!important;padding:0!important}
.grid-actions button[data-action="editar"]{background:linear-gradient(180deg,#69e6ff,#00aeb4)!important}
.grid-actions button[data-action="editar"]:before{background:#03140d!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.3V21h3.7L18.6 10.1l-3.7-3.7zM20.7 8c.4-.4.4-1 0-1.4l-2.3-2.3c-.4-.4-1-.4-1.4 0l-1.8 1.8 3.7 3.7z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.3V21h3.7L18.6 10.1l-3.7-3.7zM20.7 8c.4-.4.4-1 0-1.4l-2.3-2.3c-.4-.4-1-.4-1.4 0l-1.8 1.8 3.7 3.7z'/%3E%3C/svg%3E")!important}
.filter-bar select{height:30px;border:1px solid #bcd1df;border-radius:8px;background:#fff;padding:0 10px;font-size:11px;color:#11314d;font-weight:800}
.catalog-filter{grid-template-columns:1fr 58px 58px!important}
.text-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}
.text-actions a{height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #9ed7d8;border-radius:8px;background:#f5ffff;color:#075d63;text-decoration:none;font-size:9px;font-weight:900;padding:0 10px}
.text-actions a.danger{border-color:#ffb2b2;background:#fff4f4;color:#cf1f1f}
.origin-list{display:grid;gap:9px}
.origin-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;border:1px solid #c9dae5;border-radius:8px;background:#fff;padding:9px 10px;font-size:10px;font-weight:800;color:#23384f}
.origin-row span{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.origin-row strong{color:#075d63}.origin-row em{font-style:normal;color:#687c8e}.origin-row b{grid-column:1/-1;height:9px;border-radius:6px;background:#dce9f2;overflow:hidden}.origin-row b i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#00aeb4,#35f4f0)}.origin-row small{grid-column:1/-1;color:#607985;font-size:9px}
.dashboard-origin-bars .bar small{font-size:8px;color:#607985}
.page-dashboard .dashboard-origin-bars{height:220px!important;min-height:220px!important;align-items:stretch!important}
.page-dashboard .dashboard-origin-bars .bar{height:100%!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;align-items:stretch!important}
.page-dashboard .dashboard-origin-bars .bar b{align-self:end!important;width:100%!important}
.page-dashboard .dashboard-origin-bars .bar span{align-self:start!important}
/* EcoSense dashboard no-overlap layout */
.page-dashboard .page-card{height:auto!important;min-height:calc(100vh - 46px)!important;display:block!important;overflow:visible!important;padding-bottom:46px!important}
.page-dashboard .summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;flex:none!important;align-items:stretch!important}
.page-dashboard .dash-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:10px!important;flex:none!important;min-height:0!important;margin-bottom:10px!important;align-items:start!important}
.page-dashboard .chart-card{min-height:0!important;height:auto!important;display:block!important;overflow:visible!important}
.page-dashboard .eco-progress-card{height:auto!important;min-height:0!important;overflow:visible!important;margin-bottom:10px!important}
.page-dashboard .bar-chart{min-height:220px!important;height:auto!important;overflow:visible!important}
.page-dashboard .origin-list{max-height:none!important;overflow:visible!important}
.page-dashboard .origin-row{position:relative!important;z-index:1!important}
.page-dashboard .line-legend{max-height:none!important;overflow:visible!important}
.page-dashboard .line-summary-row{min-height:24px!important;height:auto!important;padding-top:5px!important;padding-bottom:5px!important}
.page-dashboard .line-summary-row strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25!important}
@media(max-width:1100px){.page-dashboard .summary-grid,.page-dashboard .dash-grid{grid-template-columns:1fr!important}}
/* EcoSense dashboard scroll fix */
.page-dashboard .content{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  max-height:calc(100vh - 34px)!important;
  padding-bottom:48px!important;
  scrollbar-gutter:stable!important;
}
.page-dashboard .page-card{
  padding-bottom:64px!important;
}
@media(min-width:901px){
  .page-dashboard .content{
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .page-dashboard .page-card{
    height:auto!important;
    min-height:calc(100vh - 46px)!important;
    overflow:visible!important;
  }
}
/* EcoSense dashboard density: browser 100% renders like previous 80% */
@media(min-width:901px){
  .page-dashboard .page-card{
    zoom:.8!important;
    width:125%!important;
    max-width:125%!important;
    transform-origin:top left!important;
  }
}
/* EcoSense dashboard real 80% scale for Firefox/Chrome */
@media(min-width:901px){
  .page-dashboard .content{
    overflow:auto!important;
  }
  .page-dashboard .page-card{
    zoom:normal!important;
    transform:scale(.8)!important;
    transform-origin:top left!important;
    width:125%!important;
    max-width:125%!important;
    min-height:calc((100vh - 46px) * 1.25)!important;
  }
}
/* EcoSense dashboard scale inside card only */
@media(min-width:901px){
  .page-dashboard .page-card{
    zoom:normal!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
  }
  .page-dashboard .dashboard-scale{
    transform:scale(.8)!important;
    transform-origin:top left!important;
    width:125%!important;
    max-width:125%!important;
    min-height:calc((100vh - 46px) * 1.25)!important;
  }
  .page-dashboard .dashboard-origin-bars{
    height:220px!important;
    min-height:220px!important;
  }
}
/* EcoSense catalog scroll and realtime controls */
.catalog-list-card{padding:0!important;overflow:hidden!important}
.catalog-grid-scroll{max-height:calc(100vh - 178px);overflow:auto;border-radius:8px}
.catalog-grid-scroll .catalog-table{min-width:1300px}
.catalog-grid-scroll .catalog-table th{position:sticky;top:0;z-index:2}
.catalog-status-legend{margin:7px 0 10px!important}
.status-blue-light{background:#62d8ff!important;box-shadow:0 0 8px rgba(98,216,255,.70)!important}
.status-purple{background:#8b5cf6!important;box-shadow:0 0 9px rgba(139,92,246,.72)!important}
.catalog-check-cell{width:62px!important;min-width:62px!important;text-align:center!important;padding-left:6px!important;padding-right:6px!important}
.catalog-check-cell input{width:15px;height:15px;accent-color:#00aeb4;cursor:pointer}
.catalog-check-cell input:disabled{cursor:not-allowed;opacity:.48}
.stop-action{height:24px;border:0;border-radius:8px;background:linear-gradient(90deg,#ff5b5b,#cf1f1f)!important;color:#fff!important;font-size:9px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;cursor:pointer;box-shadow:0 5px 16px rgba(207,31,31,.22)!important}
.stop-action[hidden]{display:none!important}.stop-action:disabled{opacity:.65;cursor:not-allowed}
.eco-progress-row small{min-height:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#315f61!important}
@media(max-width:900px){.catalog-grid-scroll{max-height:calc(100vh - 220px)}.catalog-grid-scroll .catalog-table{min-width:1060px}}
/* EcoSense Marketplace */
.status-yellow{background:#f3c614!important;box-shadow:0 0 8px rgba(243,198,20,.65)!important}.status-blue{background:#1a9cf0!important;box-shadow:0 0 8px rgba(26,156,240,.62)!important}
.market-filter{grid-template-columns:minmax(220px,1fr) 170px 1fr 70px 65px!important}.market-grid-scroll{overflow:auto;max-height:calc(100vh - 190px);padding:0!important}.market-grid-scroll table{min-width:920px}.market-wide{min-width:1380px!important}.market-grid-scroll th{position:sticky;top:0;z-index:2}
.upload-form select{width:100%;height:34px;border:1px solid #afd9da;border-radius:8px;background:#f8ffff;color:#173d40;padding:0 10px;font-size:11px;font-weight:800}.market-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-bottom:10px}.market-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-charts-three{grid-template-columns:repeat(3,minmax(0,1fr))}.market-charts .chart-card{min-height:210px;padding:12px}.market-ranking{display:grid;gap:6px}.market-ranking p{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;min-height:29px;padding:6px 9px;border:1px solid #c9dae5;border-radius:7px;background:#fff;color:#315f61;font-size:9px;font-weight:800}.market-ranking p span{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-ranking p strong{color:#075d63;white-space:nowrap}.market-bars{display:grid;gap:7px}.market-bars>div{display:grid;grid-template-columns:75px minmax(40px,1fr) 95px;align-items:center;gap:8px;font-size:8px;font-weight:900;color:#315f61}.market-bars b{display:block;width:clamp(8px,calc(var(--value) * .08px),100%);height:12px;border-radius:3px;background:linear-gradient(90deg,#00aeb4,#35f4f0)}.market-bars strong{text-align:right;color:#075d63}.market-profit b{background:linear-gradient(90deg,#1abf68,#6ce09c)}.market-dual{font-size:8px}.market-detail{padding:12px;overflow:auto}.market-detail h2{font-size:13px;color:#075d63;margin:0 0 10px}.market-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}.market-detail-summary span{border:1px solid #c9dae5;border-radius:7px;background:#fff;padding:8px;color:#527477;font-size:9px;font-weight:800}.market-detail-summary strong{display:block;color:#075d63;font-size:13px;margin-top:3px}.market-detail .form-actions form{display:inline-flex}.market-qr{grid-column:1/-1;display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:12px}.market-qr img{width:180px;height:180px;border:1px solid #afd9da;background:#fff;padding:6px}.market-qr code{white-space:normal;word-break:break-all;color:#315f61;font-size:9px}.market-scanner{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:16px;align-items:center;padding:16px}.market-scanner video{width:100%;aspect-ratio:4/3;object-fit:cover;background:#00191b;border:1px solid #35f4f0;border-radius:8px}.market-scanner label{display:grid;gap:7px;color:#315f61;font-size:10px;font-weight:900}.market-scanner input{height:38px;border:1px solid #afd9da;border-radius:8px;padding:0 10px}.market-scanner .form-actions{justify-content:flex-start}.market-scanner .form-actions button{margin-right:7px}
@media(max-width:1100px){.market-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.market-charts,.market-charts-three{grid-template-columns:1fr}.market-scanner{grid-template-columns:1fr}}@media(max-width:700px){.market-summary{grid-template-columns:1fr!important}.market-filter{grid-template-columns:1fr!important}.market-detail-summary{grid-template-columns:1fr}.market-qr{grid-template-columns:1fr}}
/* Global CRUD vertical scroll */
.app-body:not(.page-dashboard) .content{
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  max-height:calc(100vh - 34px)!important;
  padding-bottom:54px!important;
  scrollbar-gutter:stable!important;
}
.app-body:not(.page-dashboard) .page-card{
  min-height:calc(100vh - 46px)!important;
  padding-bottom:70px!important;
  overflow:visible!important;
}
.app-body:not(.page-dashboard) .upload-form{
  margin-bottom:42px!important;
}
/* EcoSense monitoramento scroll */
.monitor-list-card{padding:0!important;overflow:hidden!important}
.monitor-grid-scroll{max-height:calc(100vh - 190px);overflow:auto;border-radius:8px}
.monitor-grid-scroll .monitor-table{min-width:1180px}
.monitor-grid-scroll .monitor-table th{position:sticky;top:0;z-index:2}
@media(max-width:900px){.monitor-grid-scroll{max-height:calc(100vh - 230px)}.monitor-grid-scroll .monitor-table{min-width:1040px}}


/* CRUD mobile grids: actions accessible */
@media(max-width:900px){
  .app-body:not(.page-dashboard) .page-card{width:100%!important;max-width:100%!important;min-width:0!important;padding-left:10px!important;padding-right:10px!important;overflow:visible!important}
  .app-body:not(.page-dashboard) .content{overflow-x:hidden!important}
  .app-body:not(.page-dashboard) .list-card{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;padding-bottom:8px!important;border-radius:8px!important}
  .app-body:not(.page-dashboard) .import-grid-scroll,.app-body:not(.page-dashboard) .catalog-grid-scroll,.app-body:not(.page-dashboard) .market-grid-scroll,.app-body:not(.page-dashboard) .monitor-grid-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .app-body:not(.page-dashboard) .list-card .eco-table,.app-body:not(.page-dashboard) .list-card .ai-table,.app-body:not(.page-dashboard) .list-card .import-table,.app-body:not(.page-dashboard) .import-grid-scroll table,.app-body:not(.page-dashboard) .catalog-grid-scroll table,.app-body:not(.page-dashboard) .market-grid-scroll table,.app-body:not(.page-dashboard) .monitor-grid-scroll table{min-width:720px!important;width:max-content!important;max-width:none!important;border-collapse:separate!important;border-spacing:0!important}
  .app-body:not(.page-dashboard) .list-card .eco-table th,.app-body:not(.page-dashboard) .list-card .eco-table td,.app-body:not(.page-dashboard) .list-card .ai-table th,.app-body:not(.page-dashboard) .list-card .ai-table td,.app-body:not(.page-dashboard) .list-card .import-table th,.app-body:not(.page-dashboard) .list-card .import-table td,.app-body:not(.page-dashboard) .import-grid-scroll th,.app-body:not(.page-dashboard) .import-grid-scroll td,.app-body:not(.page-dashboard) .catalog-grid-scroll th,.app-body:not(.page-dashboard) .catalog-grid-scroll td,.app-body:not(.page-dashboard) .market-grid-scroll th,.app-body:not(.page-dashboard) .market-grid-scroll td,.app-body:not(.page-dashboard) .monitor-grid-scroll th,.app-body:not(.page-dashboard) .monitor-grid-scroll td{height:auto!important;min-height:34px!important;padding:7px 8px!important;white-space:nowrap!important}
  .app-body:not(.page-dashboard) .list-card table th:last-child,.app-body:not(.page-dashboard) .list-card table td:last-child,.app-body:not(.page-dashboard) .import-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .import-grid-scroll table td:last-child,.app-body:not(.page-dashboard) .catalog-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .catalog-grid-scroll table td:last-child,.app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .market-grid-scroll table td:last-child,.app-body:not(.page-dashboard) .monitor-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .monitor-grid-scroll table td:last-child{position:sticky!important;right:0!important;z-index:4!important;min-width:98px!important;background:#f8ffff!important;box-shadow:-10px 0 18px rgba(0,19,21,.14)!important}
  .app-body:not(.page-dashboard) .list-card table th:last-child,.app-body:not(.page-dashboard) .import-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .catalog-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .monitor-grid-scroll table th:last-child{z-index:6!important;background:#c8eeee!important;color:#075d63!important}
  .app-body:not(.page-dashboard) .grid-actions{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-width:90px!important;white-space:nowrap!important}
  .app-body:not(.page-dashboard) .grid-actions form{display:inline-flex!important;margin:0!important;padding:0!important}
  .app-body:not(.page-dashboard) .grid-actions button{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;padding:0!important;border-radius:999px!important}
  .app-body:not(.page-dashboard) .text-actions{justify-content:flex-end!important;gap:6px!important;min-width:112px!important}
  .app-body:not(.page-dashboard) .text-actions a{height:30px!important;padding:0 9px!important}
}
@media(max-width:420px){
  .app-body:not(.page-dashboard) .list-card .eco-table,.app-body:not(.page-dashboard) .list-card .ai-table,.app-body:not(.page-dashboard) .list-card .import-table,.app-body:not(.page-dashboard) .import-grid-scroll table,.app-body:not(.page-dashboard) .catalog-grid-scroll table,.app-body:not(.page-dashboard) .market-grid-scroll table,.app-body:not(.page-dashboard) .monitor-grid-scroll table{min-width:760px!important}
}
/* Login mobile final: compact viewport */
@media(max-width:1200px){
  .login-body{min-height:100svh!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;background:#000708!important}
  .login-body:before{background:radial-gradient(circle at 50% 14%,rgba(53,244,240,.20),transparent 34%),linear-gradient(180deg,#003033 0,#001315 44%,#000708 100%)!important}
  .login-shell{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;align-content:start!important;justify-items:center!important;gap:14px!important;width:100%!important;min-height:100svh!important;height:auto!important;padding:clamp(18px,5svh,42px) 12px max(14px,env(safe-area-inset-bottom))!important}
  .login-side{order:2!important;display:block!important;width:100%!important;max-width:360px!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important}
  .login-logo-card,.login-info{display:none!important}
  .login-hero{order:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:0!important;height:auto!important;padding:0!important;background:transparent!important}
  .login-hero-logo-stage{width:min(100%,360px)!important;max-width:360px!important;min-height:140px!important;padding:18px 22px 16px!important;border-radius:18px!important;background:rgba(53,244,240,.08)!important;border:1px solid rgba(53,244,240,.48)!important;box-shadow:0 0 34px rgba(53,244,240,.16),inset 0 1px 0 rgba(255,255,255,.08)!important;animation:loginHeroPulse 2.15s ease-in-out infinite!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
  .login-hero-logo-stage img{content:url('../img/ecosense-login-hero.png')!important;display:block!important;width:100%!important;max-width:185px!important;max-height:82px!important;margin:0 auto!important;object-fit:contain!important}
  .login-logo-progress{display:block!important;width:140px!important;max-width:70%!important;height:5px!important;margin:12px auto 0!important;opacity:1!important;border-radius:999px!important;background:rgba(53,244,240,.18)!important;box-shadow:0 0 16px rgba(53,244,240,.24)!important;overflow:hidden!important}
  .login-logo-progress i{display:block!important;height:100%!important;width:46%!important;border-radius:999px!important;background:linear-gradient(90deg,#00aeb4,#35f4f0,#e8ffff)!important;box-shadow:0 0 12px rgba(53,244,240,.78),0 0 24px rgba(53,244,240,.46)!important;animation:loginProgressIdle 1.45s ease-in-out infinite!important}
  .login-body.is-loading .login-logo-progress i{animation:loginProgressLoad 3s linear forwards!important}
  .login-card{width:100%!important;padding:24px 24px 22px!important;border-radius:18px!important}
  .login-card h1{margin:0 0 9px!important;font-size:20px!important;line-height:1.1!important;text-align:center!important}
  .login-card p{margin:0 0 22px!important;font-size:10px!important;line-height:1.35!important;text-align:center!important}
  .login-card label{margin-top:14px!important;font-size:11px!important}
  .login-card input{height:40px!important;margin-top:7px!important;padding:0 12px!important;font-size:15px!important}
  .login-card button{height:40px!important;margin-top:18px!important;font-size:12px!important}
}
@media(max-width:420px){
  .login-shell{gap:14px!important;padding-top:clamp(16px,4svh,30px)!important}
  .login-hero-logo-stage{min-height:140px!important;padding:18px 20px 15px!important}
  .login-hero-logo-stage img{max-width:170px!important;max-height:76px!important}
  .login-card{padding:24px 20px 22px!important}
}
@media(max-width:1200px) and (max-height:680px){
  .login-shell{gap:10px!important;padding-top:10px!important;padding-bottom:10px!important}
  .login-hero-logo-stage{min-height:112px!important;padding:10px 18px 9px!important}
  .login-hero-logo-stage img{max-width:145px!important;max-height:58px!important}
  .login-logo-progress{margin-top:8px!important}
  .login-card{padding:18px 18px 16px!important}
  .login-card p{margin-bottom:12px!important}
  .login-card label{margin-top:9px!important}
  .login-card input,.login-card button{height:38px!important}
  .login-card button{margin-top:13px!important}
}
/* Login mobile approved layout: three cards with pulsing neon logo */
@media(max-width:1200px){
  .login-body{min-height:100svh!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;background:#000708!important}
  .login-body:before{background:radial-gradient(circle at 50% 12%,rgba(53,244,240,.20),transparent 34%),linear-gradient(180deg,#003033 0,#001315 48%,#000708 100%)!important}
  .login-shell{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:100svh!important;height:auto!important;gap:14px!important;padding:clamp(28px,7svh,62px) 14px 18px!important}
  .login-hero{display:none!important}
  .login-side{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important;max-width:360px!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important}
  .login-logo-card{display:flex!important;position:relative!important;width:100%!important;height:142px!important;min-height:142px!important;padding:16px 20px!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;border:1px solid rgba(53,244,240,.62)!important;background:radial-gradient(circle at 50% 45%,rgba(53,244,240,.22),transparent 55%),rgba(0,33,35,.74)!important;box-shadow:0 0 34px rgba(53,244,240,.16),inset 0 1px 0 rgba(255,255,255,.08)!important;overflow:hidden!important}
  .login-logo-card img{content:url('../img/ecosense-login-hero.png?v=20260623loginfx1')!important;display:block!important;width:100%!important;max-width:208px!important;max-height:116px!important;object-fit:contain!important;filter:drop-shadow(0 0 22px rgba(53,244,240,.72)) drop-shadow(0 0 46px rgba(0,200,200,.34))!important;animation:loginHeroPulse 2.15s ease-in-out infinite!important;will-change:transform,filter!important}
  .login-logo-card:after{content:""!important;position:absolute!important;left:50%!important;bottom:17px!important;width:128px!important;max-width:58%!important;height:4px!important;transform:translateX(-50%)!important;border-radius:999px!important;background:linear-gradient(90deg,transparent,#35f4f0,transparent)!important;box-shadow:0 0 14px rgba(53,244,240,.38)!important;opacity:.72!important}
  .login-card{display:block!important;width:100%!important;padding:24px 24px 22px!important;border-radius:16px!important}
  .login-card h1{margin:0 0 8px!important;font-size:20px!important;line-height:1.1!important;text-align:center!important}
  .login-card p{margin:0 0 22px!important;font-size:10px!important;line-height:1.35!important;text-align:center!important}
  .login-card label{margin-top:14px!important;font-size:11px!important}
  .login-card input{height:40px!important;margin-top:7px!important;padding:0 12px!important;font-size:15px!important}
  .login-card button{height:40px!important;margin-top:18px!important;font-size:12px!important}
  .login-info{display:block!important;width:100%!important;padding:16px 20px!important;border-radius:14px!important;border:1px solid rgba(53,244,240,.62)!important;background:rgba(0,33,35,.58)!important;color:#dfffff!important;box-shadow:none!important;text-align:left!important}
  .login-info strong{display:block!important;color:#35f4f0!important;font-size:11px!important;text-shadow:0 0 12px rgba(53,244,240,.38)!important}
  .login-info span{display:block!important;margin-top:8px!important;color:#eaffff!important;font-size:10px!important;font-weight:900!important;line-height:1.35!important}
}
@media(max-width:420px){
  .login-shell{padding-top:clamp(20px,5svh,38px)!important;gap:14px!important}
  .login-side{max-width:360px!important}
  .login-logo-card{height:140px!important;min-height:140px!important}
  .login-logo-card img{max-width:196px!important;max-height:110px!important}
  .login-card{padding:24px 20px 22px!important}
}
@media(max-width:1200px) and (max-height:680px){
  .login-shell{gap:10px!important;padding-top:10px!important;padding-bottom:10px!important}
  .login-logo-card{height:110px!important;min-height:110px!important;padding:10px 16px!important}
  .login-logo-card img{max-width:150px!important;max-height:74px!important}
  .login-logo-card:after{bottom:10px!important;height:3px!important}
  .login-card{padding:18px 18px 16px!important}
  .login-card p{margin-bottom:12px!important}
  .login-card label{margin-top:9px!important}
  .login-card input,.login-card button{height:38px!important}
  .login-card button{margin-top:13px!important}
  .login-info{padding:12px 16px!important}
}
/* Login mobile logo pulse equal desktop */
@media(max-width:1200px){
  .login-logo-card{animation:loginHeroPulse 2.4s ease-in-out infinite!important;will-change:transform,filter!important;transform-origin:center!important}
  .login-logo-card img{animation:none!important;filter:drop-shadow(0 0 24px rgba(53,244,240,.54)) drop-shadow(0 0 42px rgba(0,200,200,.20)) drop-shadow(0 18px 38px rgba(0,0,0,.48))!important}
}
/* EcoSense dollar quotation card */
.ecosense-dollar-grid{grid-template-columns:minmax(0,1fr) 220px!important;align-items:stretch!important}
.eco-dollar-card{min-height:210px!important}
.eco-dollar-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}
.eco-dollar-head strong{font-size:22px;color:#008e96}
.eco-dollar-head span{font-size:9px;font-weight:900;color:#527477;text-align:right}
.eco-dollar-chart{min-height:130px;border:1px solid #c9dae5;border-radius:8px;background:#fff;padding:6px;overflow:hidden}
.eco-dollar-svg{width:100%;height:130px;display:block}.eco-dollar-svg text{fill:#527477;font-size:12px;font-weight:900}
@media(max-width:1100px){.ecosense-dollar-grid{grid-template-columns:1fr!important}.ecosense-dollar-grid>.metric-card{min-height:70px}}

/* EcoSense dashboard top: cards left, dollar chart right */
.page-dashboard .ecosense-top-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important;margin-bottom:10px!important}
.page-dashboard .ecosense-top-layout .ecosense-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;align-content:start!important}
.page-dashboard .ecosense-top-layout .metric-card{min-width:0!important;min-height:58px!important;padding:9px 10px!important}
.page-dashboard .ecosense-top-layout .metric-card span{font-size:8px!important;line-height:1.1!important}
.page-dashboard .ecosense-top-layout .metric-card strong{font-size:16px!important;line-height:1.05!important;margin-top:3px!important;word-break:break-word!important}
.page-dashboard .ecosense-top-layout .metric-card small{font-size:8px!important;line-height:1.1!important;margin-top:2px!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card{height:430px!important;min-height:430px!important;max-height:430px!important;margin:0!important;padding:18px!important;border-radius:14px!important;border:1px solid rgba(124,255,34,.55)!important;background:#101112!important;box-shadow:none!important;color:#eefce9!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;overflow:hidden!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor{padding:0!important}
.page-dashboard .ecosense-top-layout .eco-dollar-shell[hidden]{display:none!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-dollar-shell{display:none!important}
.page-dashboard .ecosense-top-layout .eco-dollar-shell{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important}
.page-dashboard .ecosense-top-layout .eco-dollar-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin:0 0 12px!important}
.page-dashboard .ecosense-top-layout .eco-dollar-head h2{margin:0 0 6px!important;color:#fff!important;font-size:18px!important;line-height:1!important}
.page-dashboard .ecosense-top-layout .eco-dollar-head span{display:block!important;color:#d7ebff!important;font-size:10px!important;font-weight:900!important;text-align:left!important}
.page-dashboard .ecosense-top-layout .eco-dollar-head strong{color:#7cff22!important;font-size:32px!important;line-height:.95!important;text-align:right!important;white-space:nowrap!important}
.page-dashboard .ecosense-top-layout .eco-dollar-chart{flex:1!important;min-height:180px!important;border:0!important;border-radius:0!important;background:#101112!important;padding:0!important;display:flex!important;align-items:center!important;overflow:hidden!important}
.page-dashboard .ecosense-top-layout .eco-dollar-svg{width:100%!important;height:220px!important;display:block!important}
.page-dashboard .ecosense-top-layout .eco-dollar-svg rect{fill:#101112!important}
.page-dashboard .ecosense-top-layout .eco-dollar-svg text{fill:#d7ebff!important;font-size:11px!important;font-weight:900!important}
.page-dashboard .ecosense-top-layout .eco-terminal-shell[hidden]{display:none!important}
.page-dashboard .ecosense-top-layout .eco-terminal-shell{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;flex-direction:column!important;gap:12px!important;overflow:hidden!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-terminal-shell{gap:0!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-terminal-head{display:none!important}
.page-dashboard .ecosense-top-layout .eco-terminal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important}
.page-dashboard .ecosense-top-layout .eco-terminal-head h2{margin:0 0 6px!important;color:#f7fff8!important;font-size:18px!important;line-height:1!important}
.page-dashboard .ecosense-top-layout .eco-terminal-head span{display:block!important;color:rgba(214,245,224,.78)!important;font-size:10px!important;font-weight:900!important}
.page-dashboard .ecosense-top-layout .eco-terminal-head strong{color:#7cff22!important;font-size:26px!important;line-height:1!important;white-space:nowrap!important}
.page-dashboard .ecosense-top-layout .eco-terminal-screen{flex:1 1 auto!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;border:1px solid rgba(124,255,34,.24)!important;border-radius:14px!important;background:radial-gradient(circle at top left,rgba(124,255,34,.09),transparent 24%),linear-gradient(180deg,#041006,#03140a)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 0 1px rgba(124,255,34,.05)!important;overflow:hidden!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-terminal-screen{height:100%!important;border:0!important;border-radius:14px!important;box-shadow:none!important}
.page-dashboard .ecosense-top-layout .eco-terminal-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:10px 12px!important;border-bottom:1px solid rgba(124,255,34,.16)!important;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0))!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-terminal-toolbar{display:none!important}
.page-dashboard .ecosense-top-layout .eco-terminal-toolbar span{display:block!important;min-width:0!important;border:1px solid rgba(124,255,34,.18)!important;border-radius:999px!important;background:rgba(124,255,34,.06)!important;padding:6px 9px!important;color:#d8f6de!important;font-size:10px!important;font-weight:900!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.page-dashboard .ecosense-top-layout .eco-terminal-feed{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:12px!important;display:flex!important;flex-direction:column!important;gap:8px!important;font-family:Consolas,"Cascadia Mono","Courier New",monospace!important;scroll-behavior:smooth!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor .eco-terminal-feed{padding:14px!important}
.page-dashboard .ecosense-top-layout .eco-terminal-feed::-webkit-scrollbar{width:10px!important}
.page-dashboard .ecosense-top-layout .eco-terminal-feed::-webkit-scrollbar-thumb{border-radius:999px!important;background:rgba(124,255,34,.22)!important}
.page-dashboard .ecosense-top-layout .eco-terminal-feed::-webkit-scrollbar-track{background:rgba(255,255,255,.03)!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line{display:grid!important;grid-template-columns:72px 38px minmax(0,1fr)!important;align-items:flex-start!important;gap:10px!important;padding:8px 10px!important;border:1px solid rgba(124,255,34,.10)!important;border-radius:10px!important;background:rgba(0,0,0,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line time{color:rgba(214,245,224,.58)!important;font-size:10px!important;font-weight:800!important;line-height:1.45!important}
.page-dashboard .ecosense-top-layout .eco-terminal-prompt{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:20px!important;border-radius:999px!important;background:rgba(124,255,34,.14)!important;color:#92ff48!important;font-size:10px!important;font-weight:1000!important;letter-spacing:.08em!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line p{margin:0!important;color:#effff2!important;font-size:11px!important;line-height:1.45!important;white-space:pre-wrap!important;word-break:break-word!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-error{border-color:rgba(255,107,107,.18)!important;background:rgba(70,8,8,.34)!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-error .eco-terminal-prompt{background:rgba(255,107,107,.18)!important;color:#ff9e9e!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-done{border-color:rgba(101,255,207,.16)!important;background:rgba(3,42,22,.30)!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-done .eco-terminal-prompt{background:rgba(101,255,207,.16)!important;color:#9fffd7!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-compare .eco-terminal-prompt{background:rgba(83,206,255,.16)!important;color:#7edfff!important}
.page-dashboard .ecosense-top-layout .eco-terminal-line.is-site .eco-terminal-prompt{background:rgba(255,205,0,.16)!important;color:#ffe37a!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card.is-live-monitor [data-eco-terminal="foot"]{display:none!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card>small{display:block!important;color:#d7ebff!important;font-size:10px!important;font-weight:900!important;margin-top:10px!important}
@media(max-width:1100px){.page-dashboard .ecosense-top-layout{grid-template-columns:1fr!important}.page-dashboard .ecosense-top-layout .ecosense-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-dashboard .ecosense-top-layout .eco-dollar-card{height:430px!important;min-height:430px!important;max-height:430px!important}}
@media(max-width:760px){.page-dashboard .ecosense-top-layout .eco-terminal-toolbar{grid-template-columns:1fr!important}.page-dashboard .ecosense-top-layout .eco-terminal-line{grid-template-columns:64px 34px minmax(0,1fr)!important}}
@media(max-width:560px){.page-dashboard .ecosense-top-layout .ecosense-summary{grid-template-columns:1fr!important}}
/* EcoSense live search pair */
.ecosense-live-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin-bottom:10px!important;align-items:start!important}
.ecosense-live-grid .eco-progress-card,.ecosense-live-grid .eco-search-content-card{min-width:0!important;height:auto!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:12px!important}
.ecosense-live-grid .eco-progress-card h2,.ecosense-live-grid .eco-search-content-card h2{font-size:12px!important;color:#004a7b!important;margin:0 0 10px!important}
.ecosense-live-grid .eco-progress-row{grid-template-columns:100px 72px minmax(0,1fr) 36px!important;gap:7px!important}
.ecosense-live-grid .eco-progress-row small{grid-column:1/-1!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.eco-search-content-row{display:grid!important;grid-template-columns:120px minmax(0,1fr) 58px!important;align-items:center!important;gap:8px!important;min-height:28px!important;border-top:1px solid #dce9f2!important;color:#23384f!important;font-size:10px!important;font-weight:850!important}
.eco-search-content-row:first-child{border-top:0!important}
.eco-search-content-row strong,.eco-search-content-row span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
.eco-search-content-row em{font-style:normal!important;text-align:right!important;color:#008e96!important;font-weight:900!important}
@media(max-width:900px){.ecosense-live-grid{grid-template-columns:1fr!important}.ecosense-live-grid .eco-progress-row{grid-template-columns:1fr 70px!important}.ecosense-live-grid .eco-progress-row div{grid-column:1/-1!important}.ecosense-live-grid .eco-progress-row em{text-align:left!important}.eco-search-content-row{grid-template-columns:1fr 58px!important}.eco-search-content-row strong{grid-column:1/-1!important}}

/* EcoSense search content height/font adjustment */
.ecosense-live-grid{align-items:stretch!important}
.ecosense-live-grid .eco-search-content-card{height:100%!important;display:flex!important;flex-direction:column!important}
.ecosense-live-grid .eco-search-content-card #ecoSearchContent{flex:1!important;display:block!important}
.ecosense-live-grid .eco-search-content-row{min-height:33px!important;font-size:11px!important;line-height:1.25!important}
.ecosense-live-grid .eco-search-content-row strong,.ecosense-live-grid .eco-search-content-row span,.ecosense-live-grid .eco-search-content-row em{font-size:11px!important;line-height:1.25!important}
/* EcoSense per-site row alignment */
.ecosense-live-grid .eco-search-content-row{margin:7px 0!important;box-sizing:border-box!important}
.ecosense-live-grid .eco-search-log-group{display:grid!important;gap:7px!important;padding:9px 0!important;border-top:1px solid #dce9f2!important}
.ecosense-live-grid .eco-search-log-group:first-child{border-top:0!important;padding-top:0!important}
.ecosense-live-grid .eco-search-log-head{display:grid!important;gap:5px!important}
.ecosense-live-grid .eco-search-log-head strong{color:#004a7b!important;font-size:11px!important;line-height:1.2!important}
.ecosense-live-grid .eco-search-log-head em{display:flex!important;flex-wrap:wrap!important;gap:6px!important;font-style:normal!important}
.ecosense-live-grid .eco-search-log-head em span{display:inline-flex!important;align-items:center!important;min-height:20px!important;padding:0 8px!important;border-radius:999px!important;background:#eef7fb!important;color:#008e96!important;font-size:9px!important;font-weight:1000!important}
.ecosense-live-grid .eco-search-log-list{display:grid!important;gap:6px!important}
.ecosense-live-grid .eco-search-log-item{display:grid!important;gap:3px!important;padding:8px 9px!important;border-radius:10px!important;border:1px solid #dce9f2!important;background:#fff!important}
.ecosense-live-grid .eco-search-log-item b{font-size:9px!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.ecosense-live-grid .eco-search-log-item span{color:#23384f!important;font-size:11px!important;line-height:1.35!important;word-break:break-word!important}
.ecosense-live-grid .eco-search-log-item small{color:#5b6f82!important;font-size:9px!important;line-height:1.2!important}
.ecosense-live-grid .eco-search-log-item small a{color:#006fb7!important;text-decoration:none!important;font-weight:1000!important}
.ecosense-live-grid .eco-search-log-item.is-encontrado{border-color:#d6e8f4!important;background:#f9fcff!important}
.ecosense-live-grid .eco-search-log-item.is-encontrado b{color:#006fb7!important}
.ecosense-live-grid .eco-search-log-item.is-aprovado{border-color:#bfe5cd!important;background:#f4fff7!important}
.ecosense-live-grid .eco-search-log-item.is-aprovado b{color:#0d7c43!important}
.ecosense-live-grid .eco-search-log-item.is-descartado{border-color:#ffd7a3!important;background:#fffaf1!important}
.ecosense-live-grid .eco-search-log-item.is-descartado b{color:#b56700!important}
.ecosense-live-grid .eco-search-log-item.is-ignorado{border-color:#e3e8ee!important;background:#f7f9fb!important}
.ecosense-live-grid .eco-search-log-item.is-ignorado b{color:#5b6f82!important}
.ecosense-live-grid .eco-search-log-item.is-erro{border-color:#f0b8b8!important;background:#fff4f4!important}
.ecosense-live-grid .eco-search-log-item.is-erro b{color:#b62018!important}
.ecosense-live-grid .eco-search-log-item.is-resumo{border-color:#b9ece8!important;background:#f2fffe!important}
.ecosense-live-grid .eco-search-log-item.is-resumo b{color:#00797f!important}
/* EcoSense lower dashboard equal card heights */
.page-dashboard .ecosense-origin-grid{align-items:stretch!important;grid-auto-rows:auto!important}
.page-dashboard .ecosense-origin-grid .chart-card{height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.page-dashboard .ecosense-origin-grid .dashboard-origin-bars{height:220px!important;min-height:220px!important;flex:0 0 220px!important;overflow:hidden!important}
.page-dashboard .ecosense-origin-grid .origin-list,.page-dashboard .ecosense-origin-grid .line-legend{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
.page-dashboard .ecosense-origin-grid .dashboard-origin-bars .bar b{min-height:8px!important}
.market-column-filter{grid-template-columns:repeat(4,minmax(120px,1fr)) 70px 65px!important}.market-column-filter datalist{display:none}
/* EcoSense purchase order PDF action */
.grid-actions button[data-action="pdf"]{background:linear-gradient(180deg,#ffe07a,#f2b63f)!important}
.grid-actions button[data-action="pdf"]:before{background:#03140d!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l4 4v16H6zM13 4v4h4zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l4 4v16H6zM13 4v4h4zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E")!important}
@media(max-width:1200px){.app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,.app-body:not(.page-dashboard) .market-grid-scroll table td:last-child{min-width:148px!important}.app-body:not(.page-dashboard) .market-grid-scroll .grid-actions{min-width:138px!important}}


/* Purchase pending borderos */
.quick-actions form{display:inline-flex!important;margin:0!important;padding:0!important}
.pending-detail{display:grid;gap:10px}.pending-toolbar,.pending-origin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pending-toolbar button,.pending-origin-actions button{height:28px;border:1px solid #9ed7d8;border-radius:8px;background:linear-gradient(180deg,#f5ffff,#d9eeee);color:#07383b;padding:0 11px;font-size:9px;font-weight:900;cursor:pointer}.pending-origin-actions{padding:8px;border:1px solid #c9dae5;border-radius:8px;background:#fff}.pending-table{min-width:1280px!important}.pending-table input[type="checkbox"]{width:16px;height:16px;accent-color:#00aeb4}.pending-form-actions{margin-top:10px}.pending-summary{margin-top:10px;padding:12px}.pending-list{min-width:1120px!important}.eco-op-modal-backdrop[hidden]{display:none!important}.eco-op-modal-backdrop{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;background:rgba(0,19,21,.62);backdrop-filter:blur(9px);opacity:0;pointer-events:none;transition:opacity .18s ease}.eco-op-modal-backdrop.is-open{opacity:1;pointer-events:auto}.eco-op-modal{width:min(520px,calc(100vw - 34px));border:1px solid rgba(53,244,240,.50);border-radius:18px;background:linear-gradient(145deg,rgba(3,35,38,.96),rgba(0,19,21,.97));box-shadow:0 28px 80px rgba(0,0,0,.44),0 0 36px rgba(53,244,240,.14),inset 0 1px 0 rgba(255,255,255,.12);color:#effffd;padding:22px;transform:translateY(14px) scale(.97);transition:transform .18s ease}.eco-op-modal-backdrop.is-open .eco-op-modal{transform:translateY(0) scale(1)}.eco-op-modal h2{margin:0 0 8px;color:#fff;font-size:20px}.eco-op-modal p{margin:0;color:rgba(226,255,252,.76);font-size:12px;font-weight:850;line-height:1.45}.eco-op-status{min-height:18px;margin-top:10px;color:#ffe07a;font-size:11px;font-weight:900}.eco-op-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.eco-op-actions button{height:36px;border-radius:10px;padding:0 14px;font-size:10px;font-weight:950;cursor:pointer}.eco-op-cancel{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#effffd}.eco-op-confirm{border:1px solid var(--eco-cyan);background:linear-gradient(90deg,#00aeb4,#35f4f0);color:#001315}
@media(max-width:760px){.pending-toolbar,.pending-origin-actions{display:grid;grid-template-columns:1fr}.pending-toolbar button,.pending-origin-actions button,.pending-toolbar a{width:100%!important}.eco-op-actions{display:grid;grid-template-columns:1fr}.eco-op-actions button{width:100%}}
.purchase-delete-credentials{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.purchase-delete-credentials[hidden]{display:none!important}.purchase-delete-credentials label{display:grid;gap:6px;color:#dfffff;font-size:10px;font-weight:900}.purchase-delete-credentials input{height:34px;border:1px solid rgba(53,244,240,.38);border-radius:10px;background:rgba(255,255,255,.08);color:#effffd;padding:0 10px;outline:none}.purchase-delete-credentials input:focus{border-color:var(--eco-cyan);box-shadow:0 0 0 3px rgba(53,244,240,.15)}@media(max-width:620px){.purchase-delete-credentials{grid-template-columns:1fr}}
.eco-op-progress{display:grid;gap:8px;margin-top:12px}.eco-op-progress div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#dfffff;font-size:11px;font-weight:900}.eco-op-progress strong{color:#35f4f0}.eco-op-progress b{height:12px;border-radius:999px;background:rgba(255,255,255,.10);overflow:hidden}.eco-op-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00aeb4,#35f4f0,#65ffcf);box-shadow:0 0 18px rgba(53,244,240,.42);transition:width .22s ease}.eco-op-done{margin-top:12px;border:1px solid rgba(53,244,240,.38);border-radius:12px;background:rgba(53,244,240,.10);padding:10px 12px;color:#dfffff;font-size:12px;font-weight:900}

/* Dashboard top action buttons */
.page-dashboard .dashboard-head{display:grid!important;grid-template-columns:minmax(230px,1fr) auto minmax(120px,.45fr)!important;align-items:start!important;gap:14px!important;margin-bottom:12px!important;padding-right:150px!important}
.page-dashboard .dashboard-head>div:first-child{min-width:0!important}
.page-dashboard .quick-actions{grid-column:2!important;justify-self:center!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:auto!important;max-width:none!important;overflow:visible!important;flex-wrap:nowrap!important;padding:4px 8px!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(1,28,31,.52),rgba(7,45,48,.34))!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 12px 30px rgba(0,22,25,.18),inset 0 1px 0 rgba(255,255,255,.10)!important;backdrop-filter:blur(10px)!important}
.page-dashboard .quick-actions form{display:contents!important;margin:0!important;padding:0!important}
.page-dashboard .quick-actions a,.page-dashboard .quick-actions button,.page-dashboard .quick-actions .primary-action,.page-dashboard .quick-actions .stop-action{position:relative!important;width:124px!important;min-width:124px!important;max-width:124px!important;height:38px!important;min-height:38px!important;padding:0 12px 0 13px!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:8px!important;font-weight:1000!important;line-height:1!important;letter-spacing:.01em!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;border:1px solid rgba(255,255,255,.24)!important;color:#f3fffe!important;text-shadow:0 1px 7px rgba(0,0,0,.38)!important;box-shadow:0 10px 22px rgba(0,16,18,.28),inset 0 1px 0 rgba(255,255,255,.24),inset 0 -10px 18px rgba(0,0,0,.16)!important;backdrop-filter:blur(12px) saturate(1.18)!important;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important}
.page-dashboard .quick-actions a:hover,.page-dashboard .quick-actions button:hover{transform:translateY(-1px)!important;filter:saturate(1.1) brightness(1.05)!important;box-shadow:0 14px 28px rgba(0,16,18,.34),0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.32)!important}
.page-dashboard .quick-actions .primary-action::before,.page-dashboard .quick-actions a::before{width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;border-radius:50%!important;box-shadow:0 2px 8px rgba(0,0,0,.28),0 0 0 2px rgba(255,255,255,.16)!important}
.page-dashboard #ecoRunNow{background:linear-gradient(145deg,rgba(27,210,83,.92),rgba(3,128,78,.86))!important;color:#f7fff9!important}
.page-dashboard #ecoStopNow{background:linear-gradient(145deg,rgba(255,72,72,.92),rgba(139,18,30,.88))!important;color:#fff!important}
.page-dashboard [data-eco-dashboard-pending]{background:linear-gradient(145deg,rgba(35,220,216,.92),rgba(0,115,125,.88))!important;color:#f5ffff!important}
.page-dashboard .quick-actions a[href*="comparativo"]{background:linear-gradient(145deg,rgba(255,216,77,.94),rgba(175,116,0,.88))!important;color:#fff9dc!important;text-shadow:0 1px 7px rgba(60,39,0,.45)!important}
.page-dashboard .quick-actions a[href="catalogo.php"]{background:linear-gradient(145deg,rgba(74,151,255,.94),rgba(25,83,170,.88))!important;color:#f7fbff!important}
.page-dashboard .quick-actions a[href="ecosense_monitoramento.php"]{background:linear-gradient(145deg,rgba(142,108,255,.94),rgba(77,45,180,.88))!important;color:#fff!important}
@media(max-width:1280px){.page-dashboard .dashboard-head{grid-template-columns:minmax(210px,1fr) auto minmax(70px,.25fr)!important;padding-right:112px!important}.page-dashboard .quick-actions{gap:8px!important}.page-dashboard .quick-actions a,.page-dashboard .quick-actions button,.page-dashboard .quick-actions .primary-action,.page-dashboard .quick-actions .stop-action{width:116px!important;min-width:116px!important;max-width:116px!important;font-size:7px!important}}
@media(max-width:1080px){.page-dashboard .dashboard-head{grid-template-columns:1fr!important;padding-right:0!important}.page-dashboard .quick-actions{grid-column:1!important;justify-self:stretch!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.page-dashboard .quick-actions a,.page-dashboard .quick-actions button,.page-dashboard .quick-actions .primary-action,.page-dashboard .quick-actions .stop-action{width:100%!important;min-width:0!important;max-width:none!important;font-size:8px!important}}
@media(max-width:620px){.page-dashboard .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* EcoSense purchase order WhatsApp action */
.pending-whatsapp,.grid-actions button[data-action="whatsapp"]{border-color:#54c981!important;background:linear-gradient(180deg,#38d47a,#159957)!important;color:#03140d!important}
.pending-whatsapp.is-disabled,.grid-actions button[data-action="whatsapp"].is-disabled,.grid-actions button[data-action="whatsapp"]:disabled{border-color:#c8d2d8!important;background:linear-gradient(180deg,#edf2f4,#cfd8dc)!important;color:#68777e!important;cursor:not-allowed!important;opacity:.78!important}
.grid-actions button[data-action="whatsapp"]:before{background:#03140d!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 3.9A9.8 9.8 0 0 0 4.5 15.7L3 21l5.5-1.4A9.8 9.8 0 1 0 20 3.9zM12.1 18a8 8 0 0 1-4.1-1.1l-.3-.2-3.2.8.9-3.1-.2-.3A8 8 0 1 1 12.1 18zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8.9-.1.2-.3.2-.5.1-.2-.1-1-.4-1.9-1.2-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.1s1 2.5 1.1 2.7c.1.2 1.9 2.9 4.6 4 .6.3 1.1.4 1.5.5.6.2 1.2.1 1.6.1.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1-.1-.2-.3-.3-.5-.4z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 3.9A9.8 9.8 0 0 0 4.5 15.7L3 21l5.5-1.4A9.8 9.8 0 1 0 20 3.9zM12.1 18a8 8 0 0 1-4.1-1.1l-.3-.2-3.2.8.9-3.1-.2-.3A8 8 0 1 1 12.1 18zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8.9-.1.2-.3.2-.5.1-.2-.1-1-.4-1.9-1.2-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.1s1 2.5 1.1 2.7c.1.2 1.9 2.9 4.6 4 .6.3 1.1.4 1.5.5.6.2 1.2.1 1.6.1.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1-.1-.2-.3-.3-.5-.4z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="whatsapp"].is-disabled:before,.grid-actions button[data-action="whatsapp"]:disabled:before{background:#68777e!important}
/* Manager grids standardized from Harmo layout reference */
.app-body:not(.page-dashboard) .list-card,
.app-body:not(.page-dashboard) .ai-table-wrap,
.app-body:not(.page-dashboard) .import-grid-scroll,
.app-body:not(.page-dashboard) .catalog-grid-scroll,
.app-body:not(.page-dashboard) .market-grid-scroll,
.app-body:not(.page-dashboard) .monitor-grid-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
  border:1px solid #d7e2ee!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(11,29,51,.06)!important;
  scrollbar-gutter:stable!important;
}
.app-body:not(.page-dashboard) .list-card{padding:0!important}
.app-body:not(.page-dashboard) .eco-table,
.app-body:not(.page-dashboard) .ai-table,
.app-body:not(.page-dashboard) .import-table,
.app-body:not(.page-dashboard) .catalog-table,
.app-body:not(.page-dashboard) .market-grid-scroll table,
.app-body:not(.page-dashboard) .monitor-table{
  width:100%!important;
  min-width:760px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
  color:#0b1d33!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:10px!important;
  table-layout:auto!important;
}
.app-body:not(.page-dashboard) .market-wide{min-width:1380px!important}
.app-body:not(.page-dashboard) .pending-table{min-width:1280px!important}
.app-body:not(.page-dashboard) .pending-list{min-width:1120px!important}
.app-body:not(.page-dashboard) .import-table{min-width:980px!important}
.app-body:not(.page-dashboard) .catalog-table{min-width:1300px!important}
.app-body:not(.page-dashboard) .monitor-table{min-width:1180px!important}
.app-body:not(.page-dashboard) .eco-table th,
.app-body:not(.page-dashboard) .ai-table th,
.app-body:not(.page-dashboard) .import-table th,
.app-body:not(.page-dashboard) .catalog-table th,
.app-body:not(.page-dashboard) .market-grid-scroll th,
.app-body:not(.page-dashboard) .monitor-table th{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 9px!important;
  border-bottom:1px solid #d7e2ee!important;
  background:#f7fafd!important;
  color:#075d63!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:left!important;
  white-space:nowrap!important;
}
.app-body:not(.page-dashboard) .eco-table td,
.app-body:not(.page-dashboard) .ai-table td,
.app-body:not(.page-dashboard) .import-table td,
.app-body:not(.page-dashboard) .catalog-table td,
.app-body:not(.page-dashboard) .market-grid-scroll td,
.app-body:not(.page-dashboard) .monitor-table td{
  height:32px!important;
  min-height:32px!important;
  padding:0 9px!important;
  border-top:1px solid #e4ecf4!important;
  background:#fff!important;
  color:#0b1d33!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.2!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}
.app-body:not(.page-dashboard) .eco-table tbody tr:nth-child(even) td,
.app-body:not(.page-dashboard) .ai-table tbody tr:nth-child(even) td,
.app-body:not(.page-dashboard) .import-table tbody tr:nth-child(even) td,
.app-body:not(.page-dashboard) .catalog-table tbody tr:nth-child(even) td,
.app-body:not(.page-dashboard) .market-grid-scroll tbody tr:nth-child(even) td,
.app-body:not(.page-dashboard) .monitor-table tbody tr:nth-child(even) td{background:#fbfdff!important}
.app-body:not(.page-dashboard) .eco-table tbody tr:hover td,
.app-body:not(.page-dashboard) .ai-table tbody tr:hover td,
.app-body:not(.page-dashboard) .import-table tbody tr:hover td,
.app-body:not(.page-dashboard) .catalog-table tbody tr:hover td,
.app-body:not(.page-dashboard) .market-grid-scroll tbody tr:hover td,
.app-body:not(.page-dashboard) .monitor-table tbody tr:hover td{background:#f1f7ff!important}
.app-body:not(.page-dashboard) .eco-table th:last-child,
.app-body:not(.page-dashboard) .eco-table td:last-child,
.app-body:not(.page-dashboard) .ai-table th:last-child,
.app-body:not(.page-dashboard) .ai-table td:last-child,
.app-body:not(.page-dashboard) .import-table th:last-child,
.app-body:not(.page-dashboard) .import-table td:last-child,
.app-body:not(.page-dashboard) .catalog-table th:last-child,
.app-body:not(.page-dashboard) .catalog-table td:last-child,
.app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,
.app-body:not(.page-dashboard) .market-grid-scroll table td:last-child,
.app-body:not(.page-dashboard) .monitor-table th:last-child,
.app-body:not(.page-dashboard) .monitor-table td:last-child{
  position:sticky!important;
  right:0!important;
  min-width:112px!important;
  width:112px!important;
  text-align:right!important;
  z-index:4!important;
  box-shadow:-10px 0 18px rgba(0,19,21,.10)!important;
}
.app-body:not(.page-dashboard) .eco-table th:last-child,
.app-body:not(.page-dashboard) .ai-table th:last-child,
.app-body:not(.page-dashboard) .import-table th:last-child,
.app-body:not(.page-dashboard) .catalog-table th:last-child,
.app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,
.app-body:not(.page-dashboard) .monitor-table th:last-child{
  z-index:6!important;
  background:#f7fafd!important;
}
.app-body:not(.page-dashboard) .eco-table td:last-child,
.app-body:not(.page-dashboard) .ai-table td:last-child,
.app-body:not(.page-dashboard) .import-table td:last-child,
.app-body:not(.page-dashboard) .catalog-table td:last-child,
.app-body:not(.page-dashboard) .market-grid-scroll table td:last-child,
.app-body:not(.page-dashboard) .monitor-table td:last-child{background:#fff!important}
.app-body:not(.page-dashboard) tbody tr:nth-child(even) td:last-child{background:#fbfdff!important}
.app-body:not(.page-dashboard) tbody tr:hover td:last-child{background:#f1f7ff!important}
.grid-actions,
.vnc-actions,
.unit-actions,
.dropout-actions{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  min-width:98px!important;
  width:100%!important;
  white-space:nowrap!important;
  margin-left:auto!important;
}
.grid-actions form,
.vnc-actions form,
.unit-actions form,
.dropout-actions form{display:inline-flex!important;margin:0!important;padding:0!important}
.grid-actions a,
.grid-actions button,
.vnc-actions a,
.vnc-actions button,
.unit-actions a,
.unit-actions button,
.dropout-actions a,
.dropout-actions button,
.ai-table .grid-actions a,
.ai-table .grid-actions button{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  padding:0!important;
  margin:0!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border:1px solid rgba(0,0,0,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 3px rgba(0,0,0,.18)!important;
  font-size:0!important;
  line-height:1!important;
  color:transparent!important;
  text-decoration:none!important;
  cursor:pointer!important;
  position:relative!important;
  background-image:none!important;
}
.grid-actions a span,
.grid-actions button span,
.vnc-actions a span,
.vnc-actions button span,
.unit-actions a span,
.unit-actions button span,
.dropout-actions a span,
.dropout-actions button span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.grid-actions a:before,
.grid-actions button:before,
.vnc-actions a:before,
.vnc-actions button:before,
.unit-actions a:before,
.unit-actions button:before,
.dropout-actions a:before,
.dropout-actions button:before{
  content:""!important;
  width:13px!important;
  height:13px!important;
  display:block!important;
  background:#03140d!important;
  -webkit-mask:center/contain no-repeat;
  mask:center/contain no-repeat;
}
.grid-actions a,
.grid-actions button[data-action="editar"],
.grid-actions button.action-edit,
.grid-actions button:not([data-action]),
.dropout-actions a[data-dropout-action="editar"],
.unit-actions a[data-unit-action="editar"]{background:linear-gradient(180deg,#69e6ff,#00aeb4)!important}
.grid-actions a:before,
.grid-actions button[data-action="editar"]:before,
.grid-actions button.action-edit:before,
.grid-actions button:not([data-action]):before,
.dropout-actions a[data-dropout-action="editar"]:before,
.unit-actions a[data-unit-action="editar"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.3V21h3.7L18.6 10.1l-3.7-3.7zM20.7 8c.4-.4.4-1 0-1.4l-2.3-2.3c-.4-.4-1-.4-1.4 0l-1.8 1.8 3.7 3.7z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.3V21h3.7L18.6 10.1l-3.7-3.7zM20.7 8c.4-.4.4-1 0-1.4l-2.3-2.3c-.4-.4-1-.4-1.4 0l-1.8 1.8 3.7 3.7z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="confirmar"],
.grid-actions button.action-confirm{background:linear-gradient(180deg,#6fffa9,#16bf62)!important}
.grid-actions button[data-action="confirmar"]:before,
.grid-actions button.action-confirm:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3 3.5 13.7l5.7 5.7L21 7.6 19.6 6.2z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3 3.5 13.7l5.7 5.7L21 7.6 19.6 6.2z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="pre-agendar"],
.grid-actions button[data-action="reagendar"],
.grid-actions button.action-schedule,
.grid-actions button.action-reschedule{background:linear-gradient(180deg,#ffd96b,#d9a84f)!important}
.grid-actions button[data-action="pre-agendar"]:before,
.grid-actions button[data-action="reagendar"]:before,
.grid-actions button.action-schedule:before,
.grid-actions button.action-reschedule:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3H7zm8 0h2v3h-2zM4 4h16v17H4zm2 6v9h12v-9zm2 2h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3H7zm8 0h2v3h-2zM4 4h16v17H4zm2 6v9h12v-9zm2 2h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="pdf"]{background:linear-gradient(180deg,#ffe07a,#f2b63f)!important}
.grid-actions button[data-action="pdf"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l4 4v16H6zM13 4v4h4zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l4 4v16H6zM13 4v4h4zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="whatsapp"]{background:linear-gradient(180deg,#38d47a,#159957)!important;color:transparent!important}
.grid-actions button[data-action="whatsapp"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 3.9A9.8 9.8 0 0 0 4.5 15.7L3 21l5.5-1.4A9.8 9.8 0 1 0 20 3.9zM12.1 18a8 8 0 0 1-4.1-1.1l-.3-.2-3.2.8.9-3.1-.2-.3A8 8 0 1 1 12.1 18zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8.9-.1.2-.3.2-.5.1-.2-.1-1-.4-1.9-1.2-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.1s1 2.5 1.1 2.7c.1.2 1.9 2.9 4.6 4 .6.3 1.1.4 1.5.5.6.2 1.2.1 1.6.1.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1-.1-.2-.3-.3-.5-.4z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 3.9A9.8 9.8 0 0 0 4.5 15.7L3 21l5.5-1.4A9.8 9.8 0 1 0 20 3.9zM12.1 18a8 8 0 0 1-4.1-1.1l-.3-.2-3.2.8.9-3.1-.2-.3A8 8 0 1 1 12.1 18zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8.9-.1.2-.3.2-.5.1-.2-.1-1-.4-1.9-1.2-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.1s1 2.5 1.1 2.7c.1.2 1.9 2.9 4.6 4 .6.3 1.1.4 1.5.5.6.2 1.2.1 1.6.1.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1-.1-.2-.3-.3-.5-.4z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="excluir"],
.grid-actions button.action-delete,
.dropout-actions button[data-dropout-action="excluir"],
.unit-actions button[data-unit-action="excluir"]{background:linear-gradient(180deg,#ff7272,#d92f2f)!important}
.grid-actions button[data-action="excluir"]:before,
.grid-actions button.action-delete:before,
.dropout-actions button[data-dropout-action="excluir"]:before,
.unit-actions button[data-unit-action="excluir"]:before{background:#180405!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 21 6 7H4V5h5V3h6v2h5v2h-2l-1 14zm2-2h6l.8-12H8.2zm1-10h2v8h-2zm4 0h2v8h-2z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 21 6 7H4V5h5V3h6v2h5v2h-2l-1 14zm2-2h6l.8-12H8.2zm1-10h2v8h-2zm4 0h2v8h-2z'/%3E%3C/svg%3E")!important}
.grid-actions button[data-action="whatsapp"].is-disabled,
.grid-actions button[data-action="whatsapp"]:disabled{border-color:#c8d2d8!important;background:linear-gradient(180deg,#edf2f4,#cfd8dc)!important;cursor:not-allowed!important;opacity:.78!important}
.grid-actions button[data-action="whatsapp"].is-disabled:before,
.grid-actions button[data-action="whatsapp"]:disabled:before{background:#68777e!important}
.grid-actions a:hover,
.grid-actions button:hover,
.vnc-actions a:hover,
.vnc-actions button:hover,
.unit-actions a:hover,
.unit-actions button:hover,
.dropout-actions a:hover,
.dropout-actions button:hover{transform:translateY(-1px)!important;box-shadow:0 4px 10px rgba(0,0,0,.22)!important}
@media(max-width:900px){
  .app-body:not(.page-dashboard) .eco-table,
  .app-body:not(.page-dashboard) .ai-table,
  .app-body:not(.page-dashboard) .import-table,
  .app-body:not(.page-dashboard) .catalog-table,
  .app-body:not(.page-dashboard) .market-grid-scroll table,
  .app-body:not(.page-dashboard) .monitor-table{width:max-content!important;max-width:none!important}
  .app-body:not(.page-dashboard) .eco-table th:last-child,
  .app-body:not(.page-dashboard) .eco-table td:last-child,
  .app-body:not(.page-dashboard) .ai-table th:last-child,
  .app-body:not(.page-dashboard) .ai-table td:last-child,
  .app-body:not(.page-dashboard) .import-table th:last-child,
  .app-body:not(.page-dashboard) .import-table td:last-child,
  .app-body:not(.page-dashboard) .catalog-table th:last-child,
  .app-body:not(.page-dashboard) .catalog-table td:last-child,
  .app-body:not(.page-dashboard) .market-grid-scroll table th:last-child,
  .app-body:not(.page-dashboard) .market-grid-scroll table td:last-child,
  .app-body:not(.page-dashboard) .monitor-table th:last-child,
  .app-body:not(.page-dashboard) .monitor-table td:last-child{min-width:118px!important;width:118px!important}
}
/* Dynamic grid totalizers */
.grid-record-count{
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  padding:0 10px!important;
  border-bottom:1px solid #d7e2ee!important;
  background:#f7fafd!important;
  color:#315f61!important;
  font-size:10px!important;
  font-weight:900!important;
}
.grid-record-count strong{color:#075d63!important;font-size:11px!important}
.grid-totalizer-footer td{
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 9px!important;
  border-top:2px solid #9ed7d8!important;
  background:#eaf8f8!important;
  color:#07383b!important;
  font-size:10px!important;
  font-weight:950!important;
  white-space:nowrap!important;
  text-align:left!important;
  box-shadow:0 -8px 18px rgba(0,19,21,.08)!important;
}
.grid-totalizer-footer .grid-totalizer-label{color:#075d63!important;text-transform:uppercase!important;font-size:9px!important}
.grid-totalizer-footer .grid-totalizer-value{text-align:right!important;color:#001f22!important}
.app-body:not(.page-dashboard) .grid-totalizer-footer td:last-child{
  right:0!important;
  z-index:8!important;
  background:#eaf8f8!important;
}

/* Marketplace grid status legend */
.status-dot-cell{width:34px!important;min-width:34px!important;text-align:center!important;padding-left:6px!important;padding-right:6px!important}
.status-dot-cell .status-light{margin-right:0!important;vertical-align:middle!important}
.market-status-legend{min-height:32px;margin:7px 0 12px;padding:7px 10px;border:1px solid #d7e7f0;border-radius:7px;background:#fff;display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#486073;font-size:9px;font-weight:900}
.market-status-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.market-status-legend .status-light{margin-right:0!important}
.market-qty-col{width:64px!important;min-width:64px!important;text-align:right!important}
.market-money-col{width:92px!important;min-width:92px!important;text-align:right!important}
.market-num-col{width:72px!important;min-width:72px!important;text-align:right!important}
.eco-table th.market-num-col,.eco-table td.market-num-col,.eco-table th.market-money-col,.eco-table td.market-money-col,.eco-table th.market-qty-col,.eco-table td.market-qty-col{text-align:right!important}
.origin-row strong,.origin-row em{text-align:right!important;justify-self:end!important;white-space:nowrap!important}
.eco-table th.grid-align-number,.eco-table td.grid-align-number,.ai-table th.grid-align-number,.ai-table td.grid-align-number,.import-table th.grid-align-number,.import-table td.grid-align-number,.eco-compare-table th.grid-align-number,.eco-compare-table td.grid-align-number{text-align:right!important;font-variant-numeric:tabular-nums!important}
.eco-table tfoot td,.ai-table tfoot td,.import-table tfoot td,.eco-compare-table tfoot td{font-variant-numeric:tabular-nums!important}

/* Dashboard dollar chart action placement */
.page-dashboard .dashboard-head{display:block!important;padding-right:150px!important;margin-bottom:12px!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card{position:relative!important;overflow:visible!important;margin-top:44px!important}
.page-dashboard .ecosense-top-layout .eco-dollar-card>.quick-actions{position:absolute!important;left:50%!important;top:-52px!important;transform:translateX(-50%)!important;z-index:25!important;grid-column:auto!important;justify-self:auto!important;width:max-content!important;max-width:calc(100vw - 220px)!important;display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important;overflow:visible!important}
@media(max-width:1080px){.page-dashboard .dashboard-head{padding-right:0!important}.page-dashboard .ecosense-top-layout .eco-dollar-card{margin-top:0!important}.page-dashboard .ecosense-top-layout .eco-dollar-card>.quick-actions{position:static!important;transform:none!important;width:100%!important;max-width:none!important;margin:0 0 10px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-dashboard .ecosense-top-layout .eco-dollar-card>.quick-actions a,.page-dashboard .ecosense-top-layout .eco-dollar-card>.quick-actions button{width:100%!important;min-width:0!important;max-width:none!important}}
/* Categorias de importacao: editor compacto com grid de palavras maior */
.import-cat-editor{display:block!important;padding:12px 14px!important;margin-bottom:12px!important;max-width:none!important}
.import-cat-editor>form{display:none!important}
.import-cat-fields{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) 130px!important;gap:10px 12px!important;align-items:end!important}
.import-cat-fields label{min-width:0!important;color:#003d6d!important;font-size:10px!important;font-weight:900!important;display:grid!important;gap:5px!important}
.import-cat-fields input:not([type="checkbox"]){height:30px!important;min-height:30px!important;border:1px solid #afd9da!important;border-radius:7px!important;background:#f8ffff!important;color:#173d40!important;padding:0 10px!important;font-size:11px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important}
.import-cat-fields .import-cat-active{display:flex!important;align-items:center!important;align-self:center!important;margin:0!important;height:30px!important;padding-top:13px!important}
.import-cat-fields .import-cat-active input{width:14px!important;height:14px!important;min-height:14px!important}
.import-cat-actions{justify-content:flex-end!important;margin-top:10px!important;gap:7px!important}
.import-cat-words-grid{max-height:calc(100vh - 300px)!important;min-height:280px!important;margin-top:0!important}
.import-cat-words-grid .eco-table{min-width:1000px!important}
@media(max-width:900px){.import-cat-fields{grid-template-columns:1fr!important}.import-cat-fields .import-cat-active{padding-top:0!important}.import-cat-actions{justify-content:flex-start!important}.import-cat-words-grid{max-height:none!important;min-height:240px!important}}
/* Regras de importacao: editor compacto com grid de categorias maior */
.import-rule-editor{display:block!important;padding:12px 14px!important;margin-bottom:12px!important;max-width:none!important}
.import-rule-editor>form{display:none!important}
.import-rule-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 130px!important;gap:10px 12px!important;align-items:end!important}
.import-rule-fields label{min-width:0!important;color:#003d6d!important;font-size:10px!important;font-weight:900!important;display:grid!important;gap:5px!important}
.import-rule-fields input:not([type="checkbox"]),.import-rule-fields select{height:30px!important;min-height:30px!important;border:1px solid #afd9da!important;border-radius:7px!important;background:#f8ffff!important;color:#173d40!important;padding:0 10px!important;font-size:11px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important}
.import-rule-fields .import-rule-active{display:flex!important;align-items:center!important;align-self:center!important;margin:0!important;height:30px!important;padding-top:13px!important}
.import-rule-fields .import-rule-active input{width:14px!important;height:14px!important;min-height:14px!important}
.import-rule-actions{justify-content:flex-end!important;margin-top:10px!important;gap:7px!important}
.import-rule-links-grid{max-height:calc(100vh - 360px)!important;min-height:240px!important;margin-top:0!important}
.import-rule-links-grid .eco-table{min-width:1100px!important}
@media(max-width:1000px){.import-rule-fields{grid-template-columns:1fr!important}.import-rule-fields .import-rule-active{padding-top:0!important}.import-rule-actions{justify-content:flex-start!important}.import-rule-links-grid{max-height:none!important;min-height:240px!important}}
.import-rule-link-toolbar.filter-bar{display:grid!important;grid-template-columns:minmax(260px,420px) auto 1fr!important;gap:8px!important;align-items:end!important;margin:0!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid #c9dae5!important;border-radius:0!important;background:#f8ffff!important;box-shadow:none!important}
.import-rule-link-toolbar label{display:grid!important;gap:4px!important;min-width:0!important;color:#003d6d!important;font-size:10px!important;font-weight:900!important}
.import-rule-link-toolbar select{height:30px!important;min-height:30px!important;border:1px solid #afd9da!important;border-radius:8px!important;background:#f8ffff!important;color:#173d40!important;padding:0 10px!important;font-size:11px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important;outline:none!important}
.import-rule-link-toolbar select:focus{border-color:#35f4f0!important;box-shadow:0 0 0 2px rgba(53,244,240,.18)!important}
.import-rule-link-toolbar button{height:30px!important;min-height:30px!important;border-radius:8px!important;align-self:end!important;padding:0 12px!important;font-size:9px!important;font-weight:900!important}
.import-rule-link-toolbar button::before{content:""!important;width:16px!important;height:16px!important;border-radius:50%!important;background:url('../img/actions/confirm.png') center/cover no-repeat!important;box-shadow:0 2px 6px rgba(0,0,0,.14)!important;flex:0 0 auto!important}
@media(max-width:760px){.import-rule-link-toolbar.filter-bar{grid-template-columns:1fr!important}.import-rule-link-toolbar button{width:100%!important}}
/* Fornecedor: cadastro fixo com abas e grades de busca */
.page-ecosense_sites:has(.supplier-editor) .content{overflow:hidden!important;max-height:calc(100vh - 34px)!important;padding-bottom:8px!important}
.page-ecosense_sites:has(.supplier-editor) .page-card{height:calc(100vh - 46px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:12px!important}
.page-ecosense_sites:has(.supplier-editor) .dashboard-head,.page-ecosense_sites:has(.supplier-editor) .dashboard-error,.page-ecosense_sites:has(.supplier-editor) .dashboard-success{flex:0 0 auto!important}
.supplier-editor{flex:1 1 auto!important;min-height:0!important;display:grid!important;grid-template-rows:34px minmax(160px,180px) minmax(190px,1fr) 44px!important;gap:6px!important;overflow:hidden!important}
.supplier-editor>form[data-supplier-form]{display:none!important}
.supplier-tabs{display:flex!important;gap:0!important;align-items:flex-end!important;padding-left:8px!important;border-bottom:1px solid #9ed7d8!important;margin:0!important}
.supplier-tabs button{height:31px!important;min-width:112px!important;border:1px solid #9ed7d8!important;border-bottom:0!important;border-radius:8px 8px 0 0!important;background:#eaf8f8!important;color:#07383b!important;font-size:11px!important;font-weight:1000!important;cursor:pointer!important;margin:0 2px -1px 0!important;box-shadow:none!important}
.supplier-tabs button.is-active{height:34px!important;border-color:#00aeb4!important;background:#fff!important;color:#005d63!important;box-shadow:inset 0 3px 0 #ffcd00!important}
.supplier-tab-panel{display:block!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;padding:12px 14px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-top:0!important;border-top-left-radius:0!important;box-sizing:border-box!important}
.supplier-tab-panel[hidden]{display:none!important}
.supplier-tab-panel h2,.supplier-search-grid h2{margin:0 0 9px!important;color:#004a7b!important;font-size:12px!important;font-weight:1000!important}
.supplier-fields{display:grid!important;gap:10px 12px!important;align-items:end!important}
.supplier-fields-general{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.supplier-fields-import{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.supplier-fields label{min-width:0!important;color:#003d6d!important;font-size:10px!important;font-weight:900!important;display:grid!important;gap:5px!important}
.supplier-fields input:not([type="checkbox"]),.supplier-fields select{height:30px!important;min-height:30px!important;border:1px solid #afd9da!important;border-radius:7px!important;background:#f8ffff!important;color:#173d40!important;padding:0 10px!important;font-size:11px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important}
.supplier-fields input[readonly]{background:#eef6f7!important;color:#577174!important}
.supplier-active{display:flex!important;align-items:center!important;align-self:center!important;margin:0!important;height:30px!important;padding-top:13px!important}
.supplier-active input{width:14px!important;height:14px!important;min-height:14px!important}
.supplier-field-wide{grid-column:1/-1!important}
.supplier-form-actions{height:44px!important;min-height:44px!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;margin:0!important;padding-top:8px!important;border-top:1px solid #d7e7ef!important;flex:0 0 auto!important;box-sizing:border-box!important}
.supplier-search-grids{height:100%!important;min-height:0!important;max-height:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;overflow:hidden!important}
.supplier-search-grid{height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:22px 30px minmax(0,1fr)!important;gap:8px!important;overflow:hidden!important;padding:10px!important;box-sizing:border-box!important}
.supplier-inline-add{display:grid!important;grid-template-columns:minmax(0,1fr) 130px 30px!important;gap:7px!important;align-items:center!important;margin:0!important}
.supplier-inline-add input,.supplier-inline-add select{height:30px!important;min-height:30px!important;border:1px solid #afd9da!important;border-radius:7px!important;background:#f8ffff!important;color:#173d40!important;padding:0 10px!important;font-size:11px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important}
.supplier-inline-add input:disabled,.supplier-inline-add select:disabled{background:#edf3f5!important;color:#7a8b91!important}
.supplier-word-inline-add{grid-template-columns:138px minmax(0,1fr) 30px auto!important}
.supplier-word-cancel{height:30px!important;border:1px solid #9ed7d8!important;border-radius:8px!important;background:linear-gradient(180deg,#f5ffff,#d9eeee)!important;color:#07383b!important;padding:0 10px!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important}
.supplier-round-action{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;border:1px solid #d6a900!important;border-radius:50%!important;background:linear-gradient(180deg,#ffe27a,#ffcd00)!important;color:#3b2a00!important;font-size:18px!important;font-weight:1000!important;line-height:24px!important;text-align:center!important;cursor:pointer!important;box-shadow:0 2px 7px rgba(145,103,0,.18)!important}
.supplier-round-action:before{display:none!important}
.supplier-round-action:disabled{opacity:.55!important;cursor:not-allowed!important;box-shadow:none!important}
.supplier-grid-scroll{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-top:1px solid #d7e7ef!important}
.supplier-search-grid .eco-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.supplier-search-grid .eco-table thead th{position:sticky!important;top:0!important;z-index:6!important;background:#eaf8f8!important}
.supplier-compact-table th,.supplier-compact-table td{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.supplier-compact-table th:nth-child(1),.supplier-compact-table td:nth-child(1){width:54px!important;min-width:54px!important;text-align:center!important}
.supplier-compact-table th:nth-child(3),.supplier-compact-table td:nth-child(3){width:116px!important;min-width:116px!important}
.supplier-word-table th:nth-child(2),.supplier-word-table td:nth-child(2){width:126px!important;min-width:126px!important}
.supplier-word-table th:nth-child(4),.supplier-word-table td:nth-child(4){width:116px!important;min-width:116px!important}
/* As grades do fornecedor devem caber no painel, sem a largura minima global de 760px. */
html body.app-body.page-ecosense_sites .supplier-search-grid .eco-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
html body.app-body.page-ecosense_sites .supplier-search-grid .eco-table th,
html body.app-body.page-ecosense_sites .supplier-search-grid .eco-table td{box-sizing:border-box!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.app-body.page-ecosense_sites .supplier-search-grid .eco-table th:last-child,
html body.app-body.page-ecosense_sites .supplier-search-grid .eco-table td:last-child{position:static!important;width:112px!important;min-width:112px!important;max-width:112px!important;box-shadow:none!important;text-align:right!important}
html body.app-body.page-ecosense_sites .supplier-word-table th:last-child,
html body.app-body.page-ecosense_sites .supplier-word-table td:last-child{width:96px!important;min-width:96px!important;max-width:96px!important}
html body.app-body.page-ecosense_sites .supplier-word-table th:nth-child(3),
html body.app-body.page-ecosense_sites .supplier-word-table td:nth-child(3){width:auto!important;min-width:0!important}
html body.app-body.page-ecosense_sites .supplier-search-grid .supplier-grid-actions{width:100%!important;min-width:0!important;margin:0!important;justify-content:flex-end!important}
.supplier-search-grid tbody tr[data-category-row]{cursor:pointer!important}
.supplier-search-grid tbody tr.is-selected td{background:#e3fbfb!important;color:#062f34!important;box-shadow:inset 0 1px 0 rgba(53,244,240,.22),inset 0 -1px 0 rgba(53,244,240,.22)!important}
.supplier-search-grid tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 0 #00aeb4,inset 0 1px 0 rgba(53,244,240,.22),inset 0 -1px 0 rgba(53,244,240,.22)!important}
.supplier-grid-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important}
.supplier-grid-actions .supplier-round-action{order:1!important}
.supplier-grid-actions button[data-supplier-edit-category],.supplier-grid-actions button[data-supplier-edit-word]{order:2!important;background:linear-gradient(180deg,#4fd7e8,#00aeb4)!important}
.supplier-grid-actions button[data-supplier-delete-category],.supplier-grid-actions button[data-supplier-delete-word]{order:3!important;background:linear-gradient(180deg,#ff7272,#d92f2f)!important}
.supplier-grid-actions .supplier-add-word,.supplier-grid-actions button.supplier-add-word:not([data-action]){order:1!important;background:linear-gradient(180deg,#ffe27a,#ffcd00)!important;color:#3b2a00!important;font-size:0!important}
.supplier-grid-actions .supplier-add-word:before,.supplier-grid-actions button.supplier-add-word:not([data-action]):before{content:"+"!important;width:auto!important;height:auto!important;display:block!important;background:transparent!important;color:#3b2a00!important;font-size:18px!important;font-weight:1000!important;line-height:1!important;-webkit-mask-image:none!important;mask-image:none!important}
.supplier-grid-actions button span{display:none!important}
.supplier-add-word.needs-word{animation:supplierNeedWordPulse 1s ease-in-out infinite!important;box-shadow:0 0 0 3px rgba(255,205,0,.22),0 0 14px rgba(255,205,0,.60)!important}
.supplier-add-word.is-alert{outline:2px solid #ffcd00!important;outline-offset:2px!important}
@keyframes supplierNeedWordPulse{0%,100%{filter:brightness(1);transform:none}50%{filter:brightness(1.14);transform:scale(1.08)}}
.supplier-confirm-backdrop[hidden]{display:none!important}
.supplier-confirm-backdrop{position:fixed!important;inset:0!important;z-index:10040!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0,19,21,.58)!important;backdrop-filter:blur(10px)!important;opacity:0!important;pointer-events:none!important;transition:opacity .18s ease!important}
.supplier-confirm-backdrop.is-open{opacity:1!important;pointer-events:auto!important}
.supplier-confirm-modal{width:min(430px,calc(100vw - 34px))!important;border:1px solid rgba(53,244,240,.48)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(3,35,38,.90),rgba(0,19,21,.86))!important;box-shadow:0 28px 80px rgba(0,0,0,.44),0 0 36px rgba(53,244,240,.14),inset 0 1px 0 rgba(255,255,255,.12)!important;color:#effffd!important;padding:20px!important;transform:translateY(14px) scale(.97)!important;transition:transform .18s ease!important}
.supplier-confirm-backdrop.is-open .supplier-confirm-modal{transform:translateY(0) scale(1)!important}
.supplier-confirm-modal h2{margin:0 0 8px!important;color:#fff!important;font-size:18px!important;font-weight:1000!important}
.supplier-confirm-modal p{margin:0!important;color:rgba(226,255,252,.78)!important;font-size:12px!important;font-weight:850!important;line-height:1.45!important}
.supplier-confirm-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:18px!important}
.supplier-confirm-actions button{height:34px!important;border-radius:10px!important;padding:0 14px!important;font-size:10px!important;font-weight:950!important;cursor:pointer!important}
.supplier-confirm-cancel{border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.08)!important;color:#effffd!important}
.supplier-confirm-ok{border:1px solid rgba(255,90,90,.52)!important;background:linear-gradient(180deg,#ff7272,#d92f2f)!important;color:#180405!important}
.term-type-badge{display:inline-flex!important;align-items:center!important;max-width:100%!important;min-height:22px!important;padding:0 9px!important;border:1px solid rgba(0,174,180,.24)!important;border-radius:999px!important;background:linear-gradient(180deg,#f5ffff,#dff7f8)!important;color:#075d63!important;font-size:9px!important;font-weight:1000!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tm-delete-auth-fields{display:grid!important;gap:12px!important;margin-top:16px!important}
.tm-delete-auth-field{display:grid!important;gap:6px!important;color:#dfffff!important;font-size:11px!important;font-weight:900!important}
.tm-delete-auth-field input{height:36px!important;border:1px solid rgba(53,244,240,.34)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#effffd!important;padding:0 12px!important;font-size:12px!important;font-weight:850!important;outline:none!important}
.tm-delete-auth-field input:focus{border-color:#35f4f0!important;box-shadow:0 0 0 3px rgba(53,244,240,.15)!important}
.tm-delete-auth-password{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.tm-delete-auth-password button{height:36px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#effffd!important;padding:0 12px!important;font-size:10px!important;font-weight:950!important;cursor:pointer!important}
.tm-delete-auth-status{min-height:16px!important;margin-top:10px!important;color:#ffe07a!important;font-size:11px!important;font-weight:900!important}
@media(max-height:720px){.supplier-editor{grid-template-rows:32px minmax(145px,175px) minmax(175px,1fr) 40px!important}.supplier-tab-panel{padding-top:10px!important;padding-bottom:10px!important}.supplier-form-actions{height:40px!important;min-height:40px!important}}
@media(max-width:1100px){.supplier-fields-import{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){.supplier-search-grids{grid-template-columns:1fr!important;overflow:auto!important;height:auto!important;max-height:none!important}.page-ecosense_sites:has(.supplier-editor) .content{overflow:auto!important}.page-ecosense_sites:has(.supplier-editor) .page-card{height:auto!important;min-height:calc(100vh - 46px)!important;overflow:visible!important}.supplier-editor{grid-template-rows:auto minmax(260px,auto) auto 44px!important;overflow:visible!important}.supplier-search-grid{height:240px!important;min-height:240px!important}.supplier-word-inline-add{grid-template-columns:138px minmax(0,1fr) 30px auto!important}}
@media(max-width:760px){.supplier-fields-general,.supplier-fields-import{grid-template-columns:1fr!important}.supplier-tabs{display:grid!important;grid-template-columns:1fr 1fr!important}.supplier-tabs button{min-width:0!important}.supplier-active{padding-top:0!important}.supplier-form-actions{justify-content:flex-start!important}.supplier-word-inline-add{grid-template-columns:1fr 1fr 30px!important}.supplier-word-cancel{grid-column:1/-1!important}}
/* Catalog product editor fixed scope */
.page-cad_catalogo:has(.catalog-editor-form) .content{
  overflow:hidden!important;
  max-height:calc(100vh - 34px)!important;
  padding-bottom:8px!important;
}
.page-cad_catalogo:has(.catalog-editor-form) .page-card{
  height:calc(100vh - 46px)!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding-bottom:12px!important;
}
.page-cad_catalogo:has(.catalog-editor-form) .dashboard-head,
.page-cad_catalogo:has(.catalog-editor-form) .dashboard-error,
.page-cad_catalogo:has(.catalog-editor-form) .dashboard-success{
  flex:0 0 auto!important;
}
.page-cad_catalogo .catalog-editor-form{
  flex:1 1 auto!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  overflow:auto!important;
  padding:12px 14px 0!important;
  gap:11px!important;
  scrollbar-gutter:stable!important;
}
.page-cad_catalogo .catalog-editor-form .form-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  margin:0 -14px!important;
  padding:10px 14px!important;
  background:linear-gradient(180deg,rgba(249,253,255,.84),#e8f4fb)!important;
  border-top:1px solid #c6dae8!important;
}
.catalog-lookup-field{position:relative!important;display:grid!important;gap:7px!important}
.catalog-lookup-control{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:6px!important;align-items:center!important}
.catalog-lookup-control input{min-width:0!important;width:100%!important}
.catalog-lookup-trigger{width:34px!important;height:30px!important;min-width:34px!important;padding:0!important;border:1px solid #9ed7d8!important;border-radius:8px!important;background:linear-gradient(180deg,#f5ffff,#d9eeee)!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:0 5px 12px rgba(0,19,21,.09)!important}
.catalog-lookup-trigger:before{content:"";width:15px;height:15px;background:#07383b;display:block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m21 19.6-5.4-5.4a7 7 0 1 0-1.4 1.4l5.4 5.4zM5 10a5 5 0 1 1 10 0A5 5 0 0 1 5 10z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m21 19.6-5.4-5.4a7 7 0 1 0-1.4 1.4l5.4 5.4zM5 10a5 5 0 1 1 10 0A5 5 0 0 1 5 10z'/%3E%3C/svg%3E") center/contain no-repeat}
.catalog-lookup-suggest{position:absolute;left:0;right:40px;top:100%;z-index:25;margin-top:4px;border:1px solid #9ed7d8;border-radius:8px;background:rgba(248,255,255,.98);box-shadow:0 14px 30px rgba(0,19,21,.18);overflow:hidden;max-height:210px;overflow-y:auto}
.catalog-lookup-suggest button{width:100%;min-height:32px;border:0;border-top:1px solid #dce9f2;background:#fff;color:#173d40;display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:center;text-align:left;padding:6px 9px;cursor:pointer;font-size:10px;font-weight:850}
.catalog-lookup-suggest button:first-child{border-top:0}.catalog-lookup-suggest button:hover{background:#eaf9f9}.catalog-lookup-suggest strong,.catalog-lookup-suggest span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-lookup-suggest strong{color:#075d63}.catalog-lookup-suggest span{color:#527477}
.catalog-lookup-modal-backdrop[hidden]{display:none!important}.catalog-lookup-modal-backdrop{position:fixed;inset:0;z-index:10030;display:flex;align-items:center;justify-content:center;background:rgba(0,19,21,.62);backdrop-filter:blur(9px);opacity:0;pointer-events:none;transition:opacity .18s ease}.catalog-lookup-modal-backdrop.is-open{opacity:1;pointer-events:auto}
.catalog-lookup-modal{width:min(760px,calc(100vw - 38px));max-height:min(650px,calc(100vh - 70px));display:flex;flex-direction:column;min-height:0;border:1px solid rgba(53,244,240,.50);border-radius:18px;background:linear-gradient(145deg,rgba(3,35,38,.96),rgba(0,19,21,.97));box-shadow:0 28px 80px rgba(0,0,0,.44),0 0 36px rgba(53,244,240,.14),inset 0 1px 0 rgba(255,255,255,.12);color:#effffd;padding:16px;transform:translateY(14px) scale(.97);transition:transform .18s ease}.catalog-lookup-modal-backdrop.is-open .catalog-lookup-modal{transform:translateY(0) scale(1)}
.catalog-lookup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.catalog-lookup-head h2{margin:0;color:#fff;font-size:18px}.catalog-lookup-head span{display:block;margin-top:4px;color:rgba(226,255,252,.72);font-size:11px;font-weight:850}.catalog-lookup-close{width:30px;height:30px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);cursor:pointer;position:relative}.catalog-lookup-close:before,.catalog-lookup-close:after{content:"";position:absolute;left:8px;right:8px;top:14px;height:2px;background:#effffd}.catalog-lookup-close:before{transform:rotate(45deg)}.catalog-lookup-close:after{transform:rotate(-45deg)}
.catalog-lookup-search{height:36px;border:1px solid rgba(53,244,240,.38);border-radius:10px;background:rgba(255,255,255,.08);color:#effffd;padding:0 12px;outline:none;font-size:12px;font-weight:850}.catalog-lookup-search::placeholder{color:rgba(226,255,252,.58)}.catalog-lookup-search:focus{border-color:var(--eco-cyan);box-shadow:0 0 0 3px rgba(53,244,240,.15)}
.catalog-lookup-grid{flex:1 1 auto;min-height:220px;overflow:auto;margin-top:12px;border:1px solid rgba(53,244,240,.22);border-radius:12px;background:rgba(255,255,255,.06)}.catalog-lookup-row{width:100%;min-height:40px;border:0;border-top:1px solid rgba(255,255,255,.08);background:transparent;color:#effffd;display:grid;grid-template-columns:130px minmax(0,1fr) 70px;gap:10px;align-items:center;text-align:left;padding:8px 10px;cursor:pointer}.catalog-lookup-row:first-child{border-top:0}.catalog-lookup-row:hover,.catalog-lookup-row.is-selected{background:rgba(53,244,240,.12)}.catalog-lookup-row strong,.catalog-lookup-row span,.catalog-lookup-row em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-lookup-row strong{color:#35f4f0;font-size:11px}.catalog-lookup-row span{color:#dfffff;font-size:11px;font-weight:850}.catalog-lookup-row em{font-style:normal;text-align:right;color:rgba(226,255,252,.60);font-size:9px;font-weight:900}.catalog-lookup-empty{margin:0;padding:22px;color:rgba(226,255,252,.72);font-size:12px;font-weight:900;text-align:center}
.catalog-lookup-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.catalog-lookup-actions button{height:34px;border-radius:10px;padding:0 14px;font-size:10px;font-weight:950;cursor:pointer}.catalog-lookup-cancel{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#effffd}.catalog-lookup-ok{border:1px solid var(--eco-cyan);background:linear-gradient(90deg,#00aeb4,#35f4f0);color:#001315}
@media(max-width:760px){.page-cad_catalogo:has(.catalog-editor-form) .page-card{height:auto!important;overflow:visible!important}.page-cad_catalogo:has(.catalog-editor-form) .content{overflow:auto!important}.page-cad_catalogo .catalog-editor-form{max-height:none!important}.catalog-lookup-row{grid-template-columns:95px minmax(0,1fr)}.catalog-lookup-row em{display:none}.catalog-lookup-actions{display:grid;grid-template-columns:1fr}.catalog-lookup-actions button{width:100%}}

/* EcoSense live execution rulers */
.page-dashboard .eco-overall-card{margin:0 0 10px!important;padding:13px 14px!important;border:1px solid rgba(0,174,180,.28)!important;background:linear-gradient(145deg,rgba(248,253,255,.96),rgba(232,246,249,.92))!important;box-shadow:0 10px 24px rgba(2,64,71,.10)!important;overflow:hidden!important}
.page-dashboard .eco-overall-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:9px!important}.page-dashboard .eco-overall-head h2{margin:0 0 4px!important;color:#004a7b!important;font-size:13px!important;line-height:1!important}.page-dashboard .eco-overall-head span{display:block!important;max-width:100%!important;color:#315f61!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.page-dashboard .eco-overall-head strong{color:#008e96!important;font-size:22px!important;line-height:1!important}.page-dashboard .eco-overall-track{height:13px!important;border-radius:999px!important;background:#dce9f2!important;overflow:hidden!important}.page-dashboard .eco-overall-track i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#009fe3,#16bf62,#ffcd00)!important;transition:width .22s ease!important}.page-dashboard .eco-overall-card.is-running .eco-overall-track i{box-shadow:0 0 16px rgba(0,159,227,.34)!important}.page-dashboard .eco-overall-meta{display:grid!important;grid-template-columns:150px 120px minmax(0,1fr)!important;gap:8px!important;margin-top:8px!important;color:#315f61!important;font-size:10px!important;font-weight:900!important}.page-dashboard .eco-overall-meta span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.page-dashboard .eco-metric-ruler{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;margin-top:6px!important}.page-dashboard .eco-metric-ruler b{display:block!important;height:6px!important;border-radius:999px!important;background:#dce9f2!important;overflow:hidden!important}.page-dashboard .eco-metric-ruler i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#009fe3,#16bf62)!important;transition:width .22s ease!important}.page-dashboard .eco-metric-ruler em{font-style:normal!important;color:#315f61!important;font-size:8px!important;font-weight:900!important;white-space:nowrap!important}
.eco-attr-counters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:8px!important}.eco-attr-counters span{border:1px solid #d7e7ef!important;border-radius:8px!important;background:#f7fbfd!important;padding:6px!important;color:#315f61!important;font-size:9px!important;font-weight:900!important;text-align:center!important}.eco-attr-counters b{display:block!important;color:#008e96!important;font-size:14px!important;line-height:1.05!important}.eco-attributes-details{display:grid!important;gap:6px!important;margin-top:9px!important;max-height:250px!important;overflow:auto!important}.eco-attr-item{display:grid!important;grid-template-columns:minmax(0,1fr) 86px!important;gap:4px 8px!important;align-items:center!important;border-top:1px solid #dce9f2!important;padding:7px 0!important;color:#23384f!important;font-size:10px!important;font-weight:850!important}.eco-attr-item strong,.eco-attr-item span,.eco-attr-item small{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.eco-attr-item em{font-style:normal!important;text-align:center!important;border-radius:999px!important;padding:3px 6px!important;font-size:8px!important;font-weight:1000!important;background:#ffe9a9!important;color:#815900!important}.eco-attr-item.is-ok em{background:#c9f6dd!important;color:#096d35!important}.eco-attr-item span,.eco-attr-item small{grid-column:1/-1!important;color:#5b6f82!important;font-size:9px!important}
.eco-compare-backdrop[hidden]{display:none!important}.eco-compare-backdrop{position:fixed!important;inset:0!important;z-index:10030!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0,19,21,.54)!important;backdrop-filter:blur(10px)!important;opacity:0!important;pointer-events:none!important;transition:opacity .22s ease!important}.eco-compare-backdrop.is-open{opacity:1!important;pointer-events:auto!important}.eco-compare-modal{width:min(1040px,calc(100vw - 36px))!important;max-height:86vh!important;display:flex!important;flex-direction:column!important;border:1px solid rgba(53,244,240,.42)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(4,36,40,.92),rgba(1,19,24,.96))!important;box-shadow:0 28px 80px rgba(0,0,0,.44),0 0 38px rgba(53,244,240,.13),inset 0 1px 0 rgba(255,255,255,.13)!important;color:#effffd!important;padding:18px!important;transform:translateY(12px) scale(.98)!important;transition:transform .22s ease!important}.eco-compare-backdrop.is-open .eco-compare-modal{transform:translateY(0) scale(1)!important}.eco-compare-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:10px!important}.eco-compare-head h2{margin:0 0 5px!important;color:#fff!important;font-size:20px!important;line-height:1!important}.eco-compare-head span{display:block!important;color:#dfffff!important;font-size:11px!important;font-weight:900!important}.eco-compare-head button{width:34px!important;height:34px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.20)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:16px!important;font-weight:900!important;cursor:pointer!important}.eco-compare-state{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:7px!important}.eco-compare-state strong,.eco-compare-state em{font-style:normal!important;color:#35f4f0!important;font-size:11px!important;font-weight:1000!important}.eco-compare-track{height:12px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;overflow:hidden!important}.eco-compare-track i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#00aeb4,#35f4f0,#65ffcf)!important;box-shadow:0 0 18px rgba(53,244,240,.40)!important;transition:width .2s ease!important}.eco-compare-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}.eco-compare-metrics span{border:1px solid rgba(255,255,255,.12)!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;padding:8px!important;text-align:center!important}.eco-compare-metrics b{display:block!important;color:#fff!important;font-size:18px!important;line-height:1!important}.eco-compare-metrics small{display:block!important;margin-top:3px!important;color:#dfffff!important;font-size:9px!important;font-weight:900!important}.eco-compare-current{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;border:1px solid rgba(53,244,240,.26)!important;border-radius:12px!important;background:rgba(53,244,240,.08)!important;padding:9px 11px!important;margin-bottom:10px!important;color:#effffd!important;font-size:11px!important;font-weight:900!important}.eco-compare-current strong,.eco-compare-current span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.eco-compare-feed{min-height:150px!important;overflow:auto!important;border-radius:12px!important;background:rgba(255,255,255,.05)!important}.eco-compare-table-wrap{overflow:auto!important;max-height:46vh!important}.eco-compare-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;color:#effffd!important;font-size:10px!important}.eco-compare-table th{position:sticky!important;top:0!important;background:rgba(2,34,38,.96)!important;color:#35f4f0!important;padding:8px!important;text-align:left!important;white-space:nowrap!important}.eco-compare-table td{border-top:1px solid rgba(255,255,255,.08)!important;padding:8px!important;vertical-align:top!important}.eco-compare-table td strong,.eco-compare-table td span,.eco-compare-table td small{display:block!important;max-width:260px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.eco-compare-table td.is-adopted,.eco-compare-adopted{background:rgba(22,191,98,.14)!important;color:#bafbd4!important}.eco-compare-table td em{display:inline-block!important;margin-top:3px!important;border-radius:999px!important;background:rgba(22,191,98,.24)!important;color:#cffff0!important;padding:2px 6px!important;font-style:normal!important;font-size:8px!important;font-weight:1000!important}.eco-compare-event{display:grid!important;grid-template-columns:minmax(0,1fr) 94px!important;gap:4px 8px!important;border-top:1px solid rgba(255,255,255,.08)!important;padding:10px!important;color:#effffd!important}.eco-compare-event:first-child{border-top:0!important}.eco-compare-event strong,.eco-compare-event span,.eco-compare-event small{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.eco-compare-event em{font-style:normal!important;text-align:center!important;border-radius:999px!important;background:rgba(22,191,98,.22)!important;color:#cffff0!important;padding:3px 7px!important;font-size:8px!important;font-weight:1000!important}.eco-compare-event.is-discarded em{background:rgba(255,205,0,.20)!important;color:#ffe98c!important}.eco-compare-event.is-error em{background:rgba(255,66,66,.22)!important;color:#ffd5d5!important}.eco-compare-event span,.eco-compare-event small{grid-column:1/-1!important;color:#dfffff!important;font-size:9px!important}.eco-compare-empty{margin:0!important;padding:18px!important;color:#dfffff!important;font-size:11px!important;font-weight:900!important}.eco-compare-miss{color:rgba(255,255,255,.42)!important}
.eco-confirm-backdrop[hidden]{display:none!important}.eco-confirm-backdrop{position:fixed!important;inset:0!important;z-index:10035!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0,17,27,.52)!important;backdrop-filter:blur(12px)!important;opacity:0!important;pointer-events:none!important;transition:opacity .22s ease!important}.eco-confirm-backdrop.is-open{opacity:1!important;pointer-events:auto!important}.eco-confirm-modal{position:relative!important;width:min(440px,calc(100vw - 34px))!important;border:1px solid rgba(53,244,240,.34)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(5,36,44,.82),rgba(4,27,35,.94))!important;box-shadow:0 28px 80px rgba(0,0,0,.42),0 0 34px rgba(53,244,240,.12),inset 0 1px 0 rgba(255,255,255,.12)!important;color:#effffd!important;padding:24px 22px 20px!important;transform:translateY(12px) scale(.97)!important;transition:transform .22s ease!important;text-align:center!important}.eco-confirm-backdrop.is-open .eco-confirm-modal{transform:translateY(0) scale(1)!important}.eco-confirm-close{position:absolute!important;right:14px!important;top:14px!important;width:34px!important;height:34px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:16px!important;font-weight:1000!important;cursor:pointer!important}.eco-confirm-icon{width:66px!important;height:66px!important;margin:0 auto 14px!important;border-radius:20px!important;background:radial-gradient(circle at 30% 30%,rgba(255,205,0,.36),transparent 40%),linear-gradient(145deg,rgba(255,205,0,.20),rgba(255,138,28,.10))!important;border:1px solid rgba(255,205,0,.24)!important;box-shadow:0 0 24px rgba(255,205,0,.14)!important;position:relative!important}.eco-confirm-icon:before{content:""!important;position:absolute!important;left:50%!important;top:50%!important;width:22px!important;height:22px!important;background:#ffd55f!important;transform:translate(-50%,-50%)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 1 21h22zm1 14h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 1 21h22zm1 14h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E") center/contain no-repeat!important}.eco-confirm-modal h2{margin:0 0 8px!important;color:#fff!important;font-size:22px!important;line-height:1.05!important}.eco-confirm-modal p{margin:0!important;color:#d8f2f4!important;font-size:12px!important;font-weight:900!important;line-height:1.55!important}.eco-confirm-actions{display:flex!important;gap:10px!important;justify-content:center!important;margin-top:18px!important}.eco-confirm-actions button{min-width:138px!important;height:40px!important;border-radius:12px!important;font-size:10px!important;font-weight:1000!important;cursor:pointer!important;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important}.eco-confirm-actions button:hover{transform:translateY(-1px)!important;filter:saturate(1.05)!important}.eco-confirm-cancel{border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.08)!important;color:#effffd!important;box-shadow:0 10px 22px rgba(0,0,0,.16)!important}.eco-confirm-ok{border:1px solid rgba(255,138,28,.42)!important;background:linear-gradient(90deg,#ff3b12,#ff8a1c)!important;color:#fff!important;box-shadow:0 12px 24px rgba(137,48,6,.24)!important}
@media(max-width:900px){.page-dashboard .eco-overall-meta{grid-template-columns:1fr!important}.eco-attr-counters,.eco-compare-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eco-compare-current,.eco-attr-item,.eco-compare-event{grid-template-columns:1fr!important}.eco-compare-current span,.eco-attr-item em,.eco-compare-event em{text-align:left!important}.eco-compare-modal{padding:14px!important}.eco-confirm-actions{flex-direction:column!important}.eco-confirm-actions button{width:100%!important;min-width:0!important}}
.page-dashboard .eco-special-card{margin:0 0 10px!important;padding:12px 14px!important;border:1px solid rgba(0,111,183,.22)!important;background:linear-gradient(145deg,#f9fdff,#eaf6fb)!important}
.page-dashboard .eco-overall-card,.page-dashboard .eco-special-card,.page-dashboard .ecosense-live-grid{display:none!important}
.page-dashboard .eco-catalog-execution{margin:0 0 12px!important;padding:16px 16px 18px!important;border:1px solid rgba(0,142,150,.20)!important;background:linear-gradient(145deg,rgba(249,253,255,.98),rgba(234,246,250,.95))!important;box-shadow:0 18px 34px rgba(2,64,71,.10)!important;overflow:hidden!important}
.page-dashboard .eco-catalog-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin-bottom:14px!important}
.page-dashboard .eco-catalog-head h2{margin:0 0 6px!important;color:#003f60!important;font-size:16px!important;letter-spacing:.04em!important}
.page-dashboard .eco-catalog-head span[data-eco-monitor="summary-status"]{display:block!important;color:#315f61!important;font-size:11px!important;font-weight:900!important}
.page-dashboard .eco-catalog-meta{display:grid!important;grid-template-columns:repeat(4,minmax(120px,1fr))!important;gap:10px!important;min-width:min(100%,640px)!important}
.page-dashboard .eco-catalog-meta div{padding:10px 12px!important;border-radius:12px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(0,111,183,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.78)!important}
.page-dashboard .eco-catalog-meta small{display:block!important;margin-bottom:4px!important;color:#5b7b84!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important}
.page-dashboard .eco-catalog-meta strong{display:block!important;color:#083d49!important;font-size:14px!important;line-height:1.2!important}
.page-dashboard .eco-catalog-progress{padding:14px!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(5,56,59,.95),rgba(8,73,77,.92))!important;border:1px solid rgba(0,200,189,.24)!important;box-shadow:0 18px 30px rgba(0,36,40,.18)!important;color:#effffd!important}
.page-dashboard .eco-catalog-progress-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:8px!important}
.page-dashboard .eco-catalog-progress-head strong{font-size:26px!important;line-height:1!important;color:#fff!important}
.page-dashboard .eco-catalog-progress-head span{font-size:11px!important;font-weight:900!important;color:rgba(225,255,252,.84)!important}
.page-dashboard .eco-catalog-progress-track{height:16px!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;overflow:hidden!important}
.page-dashboard .eco-catalog-progress-track i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#00aeb4,#35f4f0,#65ffcf)!important;box-shadow:0 0 18px rgba(53,244,240,.34)!important;transition:width .22s ease!important}
.page-dashboard .eco-catalog-progress-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;margin-top:10px!important;font-size:11px!important;font-weight:900!important;color:rgba(225,255,252,.86)!important}
.page-dashboard .eco-catalog-progress-foot span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.page-dashboard .eco-catalog-stage-grid{zoom:.9;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}
.page-dashboard .eco-stage-card{position:relative!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-height:282px!important;padding:14px 12px!important;border-radius:18px!important;border:1px solid rgba(0,111,183,.12)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(240,248,251,.96))!important;box-shadow:0 12px 24px rgba(4,67,82,.08)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease!important}
.page-dashboard .eco-stage-card.is-active{border-color:rgba(0,174,180,.44)!important;box-shadow:0 0 0 1px rgba(53,244,240,.22),0 0 28px rgba(53,244,240,.28),0 18px 26px rgba(1,48,57,.18)!important;animation:eco-stage-pulse 1.8s ease-in-out infinite!important}
.page-dashboard .eco-stage-card.is-done{opacity:.86!important}
.page-dashboard .eco-stage-card.is-error{border-color:rgba(242,61,47,.38)!important}
.page-dashboard .eco-stage-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}
.page-dashboard .eco-stage-card-head span{min-width:0!important;overflow-wrap:anywhere;display:block!important;color:#003f60!important;font-size:11px!important;font-weight:1000!important;line-height:1.25!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.page-dashboard .eco-stage-card-head em{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:4px 7px!important;border-radius:999px!important;background:rgba(0,111,183,.10)!important;color:#004a7b!important;font-style:normal!important;font-size:9px!important;font-weight:1000!important;white-space:nowrap!important}
.page-dashboard .eco-stage-card.is-active .eco-stage-card-head em{background:rgba(0,174,180,.14)!important;color:#00797f!important}
.page-dashboard .eco-stage-card.is-done .eco-stage-card-head em{background:rgba(22,191,98,.14)!important;color:#0d7c43!important}
.page-dashboard .eco-stage-card.is-error .eco-stage-card-head em{background:rgba(242,61,47,.12)!important;color:#b62018!important}
.page-dashboard .eco-stage-gauge{width:112px!important;height:112px!important;margin:2px auto 0!important;border-radius:50%!important;background:var(--gauge-fill,conic-gradient(rgba(220,233,242,.95) 0 100%))!important;display:grid!important;place-items:center!important;box-shadow:inset 0 0 0 1px rgba(0,111,183,.08)!important;transition:background .22s ease!important}
.page-dashboard .eco-stage-gauge span{width:76px!important;height:76px!important;border-radius:50%!important;background:#f8fdff!important;display:grid!important;place-items:center!important;color:#083d49!important;font-size:18px!important;font-weight:1000!important;box-shadow:0 6px 14px rgba(3,56,66,.10)!important}
.page-dashboard .eco-stage-counts{display:grid!important;gap:2px!important;justify-items:center!important;text-align:center!important}
.page-dashboard .eco-stage-counts strong{display:block!important;color:#083d49!important;font-size:14px!important;line-height:1!important}
.page-dashboard .eco-stage-counts small{display:block!important;color:#557982!important;font-size:10px!important;font-weight:900!important}
.page-dashboard .eco-stage-current{margin-top:auto!important;padding:10px!important;border-radius:12px!important;background:rgba(0,111,183,.06)!important;color:#244955!important;font-size:10px!important;font-weight:900!important;line-height:1.45!important;min-height:82px!important}
@keyframes eco-stage-pulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(max-width:1350px){.page-dashboard .eco-catalog-stage-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){.page-dashboard .eco-catalog-head{flex-direction:column!important}.page-dashboard .eco-catalog-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}.page-dashboard .eco-catalog-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.page-dashboard .eco-catalog-meta{grid-template-columns:1fr!important}.page-dashboard .eco-catalog-progress-foot{grid-template-columns:1fr!important}.page-dashboard .eco-catalog-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-dashboard .eco-stage-card{min-height:250px!important}}
.page-dashboard .eco-special-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:9px!important}.page-dashboard .eco-special-head h2{margin:0 0 4px!important;color:#004a7b!important;font-size:13px!important;line-height:1!important}.page-dashboard .eco-special-head span{display:block!important;color:#52697f!important;font-size:10px!important;font-weight:900!important}.page-dashboard .eco-special-head strong{min-width:36px!important;height:26px!important;border-radius:8px!important;background:#006fb7!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:1000!important}
.page-dashboard .eco-special-list{display:grid!important;gap:7px!important;max-height:260px!important;overflow:auto!important}.page-dashboard .eco-special-row{display:grid!important;grid-template-columns:150px minmax(220px,1fr) 190px minmax(220px,1fr)!important;gap:8px!important;align-items:center!important;min-height:34px!important;border:1px solid #d4e4ee!important;border-radius:8px!important;background:#fff!important;padding:7px 9px!important;font-size:10px!important;font-weight:850!important;color:#254157!important}.page-dashboard .eco-special-row.is-adopted{border-color:#a6dfbf!important;background:#f4fff7!important}.page-dashboard .eco-special-row strong{color:#006fb7!important;font-size:11px!important}.page-dashboard .eco-special-row span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.page-dashboard .eco-special-row em{font-style:normal!important;color:#16354f!important}.page-dashboard .eco-special-row small{color:#5a7084!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:980px){.page-dashboard .eco-special-row{grid-template-columns:1fr!important}.page-dashboard .eco-special-row span,.page-dashboard .eco-special-row small{white-space:normal!important}}


/* Agendamentos: layout compacto com historico filtrado pela rotina selecionada */
.page-agendamentos .content{overflow:hidden!important}
.page-agendamentos .page-card{height:calc(100vh - 46px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:13px 15px 10px!important}
.page-agendamentos .schedule-dashboard-head{display:grid!important;grid-template-columns:minmax(190px,280px) minmax(220px,1fr) auto!important;align-items:start!important;gap:10px!important;margin:0 0 4px!important;flex:0 0 auto!important}
.page-agendamentos .schedule-dashboard-head .subtitle{margin-bottom:0!important}
.page-agendamentos .schedule-dashboard-head .quick-actions{justify-content:flex-end!important;white-space:nowrap!important}
.page-agendamentos .schedule-message-slot{min-height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.page-agendamentos .schedule-message-slot .dashboard-success,
.page-agendamentos .schedule-message-slot .dashboard-error{width:min(720px,100%)!important;min-height:26px!important;margin:0!important;padding:6px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;line-height:1!important}
.page-agendamentos .schedule-summary{flex:0 0 auto!important;gap:9px!important;margin:0 0 8px!important}
.page-agendamentos .schedule-summary .metric-card{min-height:58px!important;padding:9px 13px!important;box-sizing:border-box!important}
.page-agendamentos .schedule-summary .metric-card strong{font-size:18px!important;line-height:1!important;margin-top:4px!important}
.page-agendamentos .schedule-summary .metric-card small{margin-top:2px!important}
.page-agendamentos .schedule-master-layout{flex:0 0 min(250px,38vh)!important;min-height:155px!important;min-width:0!important;margin:0 0 5px!important;display:flex!important;overflow:hidden!important}
.page-agendamentos .schedule-master-grid{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:0!important}
.page-agendamentos .schedule-master-layout:has(.ecosense-config-form){flex:1 1 auto!important;display:grid!important;grid-template-columns:minmax(320px,420px) minmax(0,1fr)!important;gap:10px!important}
.page-agendamentos .schedule-master-layout:has(.ecosense-config-form) .ecosense-config-form{max-width:none!important;min-height:0!important;overflow:auto!important}
.page-agendamentos .schedule-history-grid{flex:1 1 auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:auto!important;padding:0!important}
.page-agendamentos .schedule-history-grid h2{height:26px!important;margin:0!important;padding:7px 8px 0!important;box-sizing:border-box!important;background:#f7fafd!important;border-bottom:1px solid #d7e2ee!important}
.page-agendamentos .schedule-master-grid tbody tr{cursor:pointer!important}
.page-agendamentos .schedule-master-grid tbody tr.is-selected td{background:#e3fbfb!important;color:#062f34!important;box-shadow:inset 0 1px 0 rgba(53,244,240,.22),inset 0 -1px 0 rgba(53,244,240,.22)!important}
.page-agendamentos .schedule-master-grid tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 0 #00aeb4,inset 0 1px 0 rgba(53,244,240,.22),inset 0 -1px 0 rgba(53,244,240,.22)!important}
.page-agendamentos .schedule-master-grid tbody tr.is-selected td:last-child{background:#e3fbfb!important}
.page-agendamentos .status-light.status-blue-pulse{background:#008cff!important;box-shadow:0 0 0 0 rgba(0,174,255,.70),0 0 10px rgba(0,174,255,.55)!important;animation:ecoScheduleStatusBluePulse 1.05s ease-in-out infinite!important;will-change:transform,box-shadow,background!important}
@keyframes ecoScheduleStatusBluePulse{0%,100%{background:#006dff;box-shadow:0 0 0 0 rgba(0,109,255,.40),0 0 6px rgba(0,109,255,.45);transform:scale(.92)}50%{background:#35f4ff;box-shadow:0 0 0 5px rgba(53,244,255,.22),0 0 18px rgba(53,244,255,.85);transform:scale(1.08)}}
.page-agendamentos .grid-actions button[data-action="editar"]{background:linear-gradient(180deg,#4fd7e8,#00aeb4)!important}
.page-agendamentos .grid-actions button[data-action="editar"]:before{background:#03140d!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 17.2V20h2.8L17.9 8.9l-2.8-2.8zM19.3 7.5l1.2-1.2c.7-.7.7-1.8 0-2.5l-.3-.3c-.7-.7-1.8-.7-2.5 0l-1.2 1.2z'/%3E%3C/svg%3E")!important}
@media(max-width:900px){.page-agendamentos .content{overflow:auto!important}.page-agendamentos .page-card{height:auto!important;min-height:calc(100vh - 46px)!important;overflow:visible!important}.page-agendamentos .schedule-dashboard-head{grid-template-columns:1fr!important}.page-agendamentos .schedule-message-slot{justify-content:flex-start!important}.page-agendamentos .schedule-message-slot .dashboard-success,.page-agendamentos .schedule-message-slot .dashboard-error{justify-content:flex-start!important;white-space:normal!important}.page-agendamentos .schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-agendamentos .schedule-master-layout{height:auto!important;min-height:190px!important;display:block!important}.page-agendamentos .schedule-master-grid,.page-agendamentos .schedule-history-grid{max-height:none!important;overflow:auto!important}.page-agendamentos .schedule-history-grid{min-height:240px!important}}
