
.smd-v2{width:95%;max-width:1800px;margin:22px auto;font-family:Inter,Segoe UI,Arial,sans-serif;color:#eaf7ff;background:#06162b;border-radius:26px;overflow:hidden;box-shadow:0 22px 70px rgba(0,34,70,.28)}
.smd-impact-hero{min-height:220px;padding:34px 38px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;overflow:hidden;background:radial-gradient(circle at 72% 38%,rgba(0,188,255,.35),transparent 22%),linear-gradient(115deg,#071a35 0%,#082b57 52%,#06162b 100%)}
.smd-impact-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#00d9ff,#775cff,#ff27d4,#00ffa8,#ffd500)}
.smd-brand-block{z-index:2}.smd-kicker{font-size:12px;letter-spacing:.18em;color:#75dfff;font-weight:800}.smd-impact-hero h1{font-size:40px;line-height:1.05;margin:10px 0 8px;color:white}.smd-impact-hero h1 em{font-style:normal;color:#00e5ff}.smd-impact-hero p{color:#a9cbe2;font-size:17px}.smd-status{z-index:2;background:rgba(3,20,43,.7);border:1px solid #1e6e9c;border-radius:14px;padding:12px 16px;color:#7fffd4;font-weight:800}
.smd-tech-art{position:absolute;right:22%;top:15px;width:250px;height:200px;border:1px solid rgba(0,217,255,.35);border-radius:50%;box-shadow:inset 0 0 50px rgba(0,217,255,.15),0 0 55px rgba(0,217,255,.18)}.smd-tech-art span{position:absolute;font-size:150px;color:#0ddcff;opacity:.32;left:48px;top:2px}.smd-tech-art i,.smd-tech-art b{position:absolute;border:1px solid rgba(0,217,255,.25);border-radius:50%;inset:25px}.smd-tech-art b{inset:55px}
.smd-category-strip{display:flex;gap:12px;padding:18px 22px;overflow-x:auto;background:#071a31}.smd-cat{min-width:150px;min-height:105px;border:1px solid #184a6d;border-radius:17px;background:linear-gradient(180deg,#0a2b4a,#081d34);color:#eaf7ff;padding:13px;cursor:pointer}.smd-cat .ico{display:block;font-size:25px;color:#00d9ff;margin-bottom:5px}.smd-cat strong,.smd-cat small{display:block}.smd-cat small{margin-top:5px;color:#8eb9d2}.smd-cat.active{border-color:#00d9ff;background:linear-gradient(180deg,#0c8de0,#075bb0);box-shadow:0 0 22px rgba(0,217,255,.25)}
.smd-search-card{margin:0 22px 14px;padding:16px;background:#0a203b;border:1px solid #17466b;border-radius:16px}.smd-search-row{display:flex;gap:10px}.smd-search-row input{flex:1;min-width:0;border:1px solid #2a5a7d;background:#f7fbff;color:#16324b;border-radius:12px;padding:15px;font-size:16px}.smd-search-row button{border:1px solid #2877a8;border-radius:11px;padding:0 20px;background:#123758;color:white;font-weight:800;cursor:pointer}#smd-do-search{background:#087ee6;border-color:#00cfff}
.smd-kpis{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;padding:0 22px 18px}.smd-kpi{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid #087ee6;border-radius:13px;padding:13px;background:#09213d}.smd-kpi span{font-size:23px;color:#00d9ff}.smd-kpi b,.smd-kpi small{display:block}.smd-kpi b{font-size:20px}.smd-kpi small{font-size:10px;color:#b9d3e5;overflow:hidden;text-overflow:ellipsis}.smd-kpi.k1{border-color:#00dc8a}.smd-kpi.k2{border-color:#ff9d1f}.smd-kpi.k3{border-color:#d927ff}.smd-kpi.k4{border-color:#00d9ff}.smd-kpi.k5{border-color:#ff4c4c}.smd-kpi.k6{border-color:#ffd000}
.smd-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;padding:0 22px 22px}.smd-side,.smd-main-results{background:#081d35;border:1px solid #17466b;border-radius:17px;padding:14px}.smd-side h3,.smd-results-head h3{margin:3px 0 12px;color:white}.smd-side-cat{width:100%;display:flex;justify-content:space-between;gap:8px;border:0;border-radius:9px;background:transparent;color:#bcd9ea;padding:10px;text-align:left;cursor:pointer}.smd-side-cat b{background:#183b5a;padding:2px 7px;border-radius:7px}.smd-side-cat.active{background:#087ee6;color:white}
.smd-results-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.smd-results-head span,#smd-result-count{color:#83abc4;font-size:12px}.smd-empty{padding:25px;text-align:center;border:1px dashed #245477;border-radius:12px;color:#89b4cd}.smd-table-scroll{overflow-x:auto;border:1px solid #173f5e;border-radius:12px}.smd-result-table{width:100%;min-width:1050px;border-collapse:collapse;background:#07192d}.smd-result-table th{background:#113b65;color:#cce9fa;padding:11px;text-align:left;font-size:11px}.smd-result-table td{padding:11px;border-bottom:1px solid #12314b;color:#d9edf8;font-size:12px}.smd-result-table tr:hover td{background:#0c2946}.smd-mini-pill{display:inline-block;background:#0b6d87;border:1px solid #0dcce8;border-radius:7px;padding:4px 7px}.smd-view{border:0;border-radius:8px;background:#087ee6;color:white;padding:9px 13px;font-weight:800;cursor:pointer;white-space:nowrap}
.smd-detail{margin:0 22px 22px;padding:20px;background:#0a203b;border:1px solid #1b628e;border-radius:17px}.smd-detail-head{display:flex;justify-content:space-between;align-items:center}.smd-detail h2{color:white}.smd-pill{display:inline-block;background:#0b6688;color:#9ff2ff;border-radius:999px;padding:6px 10px}.smd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.smd-field,.smd-credentials>div,.smd-notes{background:#071a30;border:1px solid #173f5e;border-radius:12px;padding:13px}.smd-field span,.smd-credentials span,.smd-notes span{display:block;color:#79a8c3;font-size:11px;margin-bottom:5px}.smd-field strong{color:white;word-break:break-word}.smd-credentials{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-top:10px}.smd-credentials strong{color:white}.smd-credentials button,.smd-actions button,.smd-actions a,.smd-secondary{border:0;border-radius:10px;padding:12px 16px;font-weight:800;text-decoration:none;cursor:pointer}.smd-credentials button{background:#ffb000;color:#1c1600}.smd-notes{margin-top:10px}.smd-notes p{white-space:pre-wrap;color:#e7f5fc}.smd-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}.smd-primary{background:#087ee6;color:white!important}.smd-actions button,.smd-secondary{background:#153d5c;color:#eaf7ff}.smd-actions a[aria-disabled=true]{opacity:.4;pointer-events:none}.smd-footer-line{padding:14px 25px;border-top:1px solid #173b57;color:#6fa8c9;font-size:11px}
.smd-admin{max-width:1500px}.smd-admin-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.smd-admin-card{background:#fff;border:1px solid #dce5eb;border-radius:16px;padding:18px;margin:16px 0}.smd-admin-card label{display:block;font-weight:600;margin:9px 0}.smd-admin-card input,.smd-admin-card textarea{display:block;width:100%;max-width:none;margin-top:5px}
@media(max-width:1100px){.smd-kpis{grid-template-columns:repeat(3,1fr)}.smd-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.smd-v2{width:97%;border-radius:18px}.smd-impact-hero{padding:25px 20px;min-height:180px}.smd-impact-hero h1{font-size:30px}.smd-tech-art{display:none}.smd-status{display:none}.smd-search-row{flex-wrap:wrap}.smd-search-row input{flex-basis:100%}.smd-kpis{grid-template-columns:repeat(2,1fr)}.smd-workspace{grid-template-columns:1fr}.smd-side{display:flex;overflow-x:auto;gap:7px}.smd-side h3{display:none}.smd-side-cat{min-width:150px}.smd-grid{grid-template-columns:1fr}.smd-credentials{grid-template-columns:1fr}}

/* V2.1 - Visualização mobile completa */
@media(max-width:780px){
  .smd-main-results{padding:10px}
  .smd-table-scroll{overflow:visible;border:0}
  .smd-result-table{min-width:0;width:100%;display:block;background:transparent}
  .smd-result-table thead{display:none}
  .smd-result-table tbody{display:grid;grid-template-columns:1fr;gap:12px}
  .smd-result-table tr{display:block;background:#071a30;border:1px solid #1a557b;border-radius:15px;padding:12px;box-shadow:0 8px 22px rgba(0,0,0,.16)}
  .smd-result-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;align-items:start;max-width:none!important;padding:7px 4px;border-bottom:1px solid #123a57;font-size:13px;word-break:break-word}
  .smd-result-table td:last-child{display:block;border-bottom:0;padding-top:12px}
  .smd-result-table td:nth-child(1)::before{content:"CLIENTE";color:#69cfff;font-size:10px;font-weight:800}
  .smd-result-table td:nth-child(2)::before{content:"ABA";color:#69cfff;font-size:10px;font-weight:800}
  .smd-result-table td:nth-child(3)::before{content:"MARCA / MODELO";color:#69cfff;font-size:10px;font-weight:800}
  .smd-result-table td:nth-child(4)::before{content:"IP EXTERNO";color:#69cfff;font-size:10px;font-weight:800}
  .smd-result-table td:nth-child(5)::before{content:"IP INTERNO";color:#69cfff;font-size:10px;font-weight:800}
  .smd-result-table td:nth-child(6)::before{content:"PORTA";color:#69cfff;font-size:10px;font-weight:800}
  .smd-view{width:100%;min-height:46px;font-size:14px}
  .smd-detail{margin:0 10px 16px;padding:14px}
  .smd-detail-head{align-items:flex-start;gap:8px}
  .smd-detail h2{font-size:21px;line-height:1.15;word-break:break-word}
  .smd-field,.smd-credentials>div,.smd-notes{padding:12px}
  .smd-field strong,.smd-credentials strong,.smd-notes p{font-size:14px;word-break:break-word}
  .smd-actions>*{width:100%;text-align:center;box-sizing:border-box;min-height:46px}
  .smd-results-head{align-items:flex-start;flex-direction:column}
}
/* V2.3 - Tema claro, vivo e futurista */
.smd-v2{color:#173a5b;background:linear-gradient(180deg,#edf9ff,#f9fcff 55%,#eaf7ff);box-shadow:0 22px 70px rgba(0,94,170,.18)}
.smd-impact-hero{min-height:255px;background:linear-gradient(90deg,rgba(4,38,91,.93),rgba(5,55,120,.70),rgba(4,35,81,.28)),url("dashboard-futurista.png") center 35%/cover no-repeat}
.smd-impact-hero h1,.smd-impact-hero p{color:#fff}.smd-impact-hero h1 em{color:#22f3ff}
.smd-category-strip{background:#f5fbff;border-bottom:1px solid #d4eaff}.smd-cat{background:linear-gradient(160deg,#fff,#e8f6ff);color:#164262;border-color:#b9def4;box-shadow:0 8px 18px rgba(0,112,200,.10)}
.smd-cat:nth-child(3n+1){border-bottom:4px solid #008cff}.smd-cat:nth-child(3n+2){border-bottom:4px solid #00c980}.smd-cat:nth-child(3n){border-bottom:4px solid #ff7a00}.smd-cat .ico{color:#008cff}.smd-cat small{color:#5c7f98}.smd-cat.active{color:white;background:linear-gradient(135deg,#007fff,#00c8ff);border-color:#00aef0}
.smd-search-card,.smd-side,.smd-main-results,.smd-detail{background:rgba(255,255,255,.97);border-color:#c7e3f4;box-shadow:0 10px 24px rgba(0,105,180,.08)}
.smd-search-row button{background:#e8f5ff;color:#15517a;border-color:#b7dbef}#smd-do-search{color:#fff;background:linear-gradient(135deg,#006dff,#00bfff)}#smd-clear{color:#fff;background:linear-gradient(135deg,#00a85a,#00d48a)}
.smd-kpi{background:#fff;color:#183e5c;box-shadow:0 8px 18px rgba(0,100,180,.08)}.smd-kpi small{color:#557991}.smd-side h3,.smd-results-head h3{color:#123a5a}.smd-side-cat{color:#315c79}.smd-side-cat b{background:#e4f2fb;color:#315c79}.smd-side-cat.active{background:linear-gradient(135deg,#087ee6,#00bfff);color:white}
.smd-result-table{background:white}.smd-result-table th{background:linear-gradient(180deg,#dff2ff,#cfeaff);color:#16405f}.smd-result-table td{color:#274f69;border-bottom-color:#dcecf5}.smd-result-table tr:hover td{background:#eff9ff}.smd-mini-pill{background:#d9f8ff;color:#006c80}.smd-view{background:linear-gradient(135deg,#006eff,#00aaff);box-shadow:0 4px 10px rgba(0,110,255,.22)}
.smd-field,.smd-credentials>div,.smd-notes{background:#f3faff;border-color:#d0e8f6}.smd-field strong,.smd-credentials strong,.smd-notes p{color:#173d59}.smd-field span,.smd-credentials span,.smd-notes span{color:#58809b}.smd-footer-line{background:#e6f5ff;border-color:#c8e4f5;color:#487590}
@media(max-width:780px){.smd-impact-hero{min-height:210px;background-position:center}.smd-result-table tr{background:#fff;border-color:#bfe0f3}.smd-result-table td{color:#254e68;border-bottom-color:#e1eef6}}

.smd-family-strip{display:grid;grid-template-columns:repeat(8,minmax(125px,1fr));gap:10px;padding:18px 22px;background:#f6fbff}.smd-family{min-height:112px;border:1px solid #b8dcf2;border-radius:17px;background:linear-gradient(160deg,#fff,#eaf7ff);color:#163e5e;cursor:pointer;padding:12px;box-shadow:0 7px 18px rgba(0,105,180,.10)}.smd-family span{display:block;font-size:28px;margin-bottom:7px}.smd-family strong,.smd-family small{display:block}.smd-family small{margin-top:5px;color:#68879b}.smd-family.panasonic{border-bottom:5px solid #008cff}.smd-family.handphone{border-bottom:5px solid #00c980}.smd-family.intelbras{border-bottom:5px solid #ff7a00}.smd-family.utech{border-bottom:5px solid #e74343}.smd-family.siemens{border-bottom:5px solid #00a4bd}.smd-family.diversos{border-bottom:5px solid #9a4dff}.smd-family.dvr{border-bottom:5px solid #ff2da3}.smd-family.active{color:white;background:linear-gradient(135deg,#087ee6,#00c7f4)}.smd-family.active small{color:#e8fbff}.smd-subtabs{display:flex;flex-wrap:wrap;gap:10px;padding:14px 22px;background:#e8f7ff}.smd-subtab{border:1px solid #8bcbea;border-radius:12px;background:white;color:#145177;padding:11px 18px;font-weight:800;cursor:pointer}.smd-subtab.active{background:linear-gradient(135deg,#006eff,#00bfff);color:#fff}.smd-family-note{width:100%;padding:11px 15px;border-radius:11px;background:#fff7d9;color:#775600;border:1px solid #ffd45a;font-weight:700}.smd-side-family{width:100%;border:0;border-radius:10px;background:transparent;color:#315c79;padding:11px;text-align:left;font-weight:700;cursor:pointer}.smd-side-family.active{background:linear-gradient(135deg,#087ee6,#00bfff);color:white}@media(max-width:1200px){.smd-family-strip{grid-template-columns:repeat(4,1fr)}}@media(max-width:780px){.smd-family-strip{display:flex;overflow-x:auto;padding:12px}.smd-family{min-width:145px}.smd-subtabs{flex-wrap:nowrap;overflow-x:auto}.smd-subtab{min-width:max-content}}

.smd-login-shell{min-height:70vh;display:grid;place-items:center;background:linear-gradient(135deg,#eaf8ff,#fff,#dff4ff);font-family:Inter,Segoe UI,Arial}.smd-login-card{width:min(430px,92vw);padding:34px;border-radius:24px;background:#fff;box-shadow:0 25px 70px rgba(0,100,180,.18);border:1px solid #bde3f8}.smd-login-logo{font-size:34px;font-weight:900;color:#087ee6}.smd-login-logo span{display:block;font-size:12px;color:#4d7893}.smd-login-card input{width:100%;box-sizing:border-box;margin:7px 0;padding:14px;border:1px solid #b8d9eb;border-radius:11px}.smd-login-card button{width:100%;padding:14px;border:0;border-radius:11px;background:linear-gradient(135deg,#087ee6,#00bfff);color:#fff;font-weight:900}.smd-login-msg{color:#c62828;padding-top:10px}.smd-userbar{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:10px 22px;background:#eaf7ff}.smd-userbar button{border:0;border-radius:9px;padding:9px 12px;background:#087ee6;color:#fff;font-weight:800}.smd-userbar #smd-custom-logout{background:#e83d50}.smd-user-admin{margin:0 22px 20px;padding:18px;background:#fff;border:1px solid #bcdff2;border-radius:16px;color:#173e59;overflow:auto}.smd-admin-head,.smd-user-form{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.smd-admin-head{justify-content:space-between}.smd-user-form input:not([type=checkbox]){padding:10px;border:1px solid #bad9ea;border-radius:9px}.smd-user-form button,.smd-admin-head button,.ua-edit,.ua-del{border:0;border-radius:8px;padding:9px 11px;background:#087ee6;color:#fff;font-weight:800}.ua-del{background:#e74747}.smd-user-admin table{width:100%;border-collapse:collapse;margin-top:15px}.smd-user-admin th,.smd-user-admin td{padding:9px;border-bottom:1px solid #e0edf5;text-align:left}

/* v2.8.3 - rolagem vertical sem bloquear menus e tabelas */
html:has(.smd-v2), body:has(.smd-v2){overflow-y:auto!important;height:auto!important;max-height:none!important;scroll-behavior:auto;}
body:has(.smd-v2) #page,body:has(.smd-v2) .site,body:has(.smd-v2) .site-content,body:has(.smd-v2) main,body:has(.smd-v2) .entry-content{height:auto!important;max-height:none!important;overflow-y:visible!important;}
.smd-v2{height:auto!important;max-height:none!important;overflow-x:clip!important;overflow-y:visible!important;}
.smd-user-admin{max-height:min(75vh,760px);overflow-y:auto!important;overflow-x:auto!important;overscroll-behavior:contain;}
.smd-table-scroll{overflow-x:auto;overflow-y:visible;}
@media(max-width:780px){.smd-v2{overflow-x:clip!important;overflow-y:visible!important;}}
