:root{--purple:#5b35b5;--purple-dark:#27134e;--purple-deep:#1d103a;--orange:#f28b36;--ink:#242334;--muted:#9291a2;--line:#eeedf2;--bg:#f8f8fb;--green:#24a476;--red:#de5f65;--blue:#547fe5;--shadow:0 8px 28px rgba(37,25,67,.05)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{width:258px;background:var(--purple-deep);color:#e6e0f4;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:26px 16px 16px;z-index:3}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;padding:0 8px 24px}.brand-mark{width:37px;height:37px;border-radius:11px;background:linear-gradient(145deg,#a68aec,#6543b5);display:grid;place-items:center}.brand-mark svg{width:30px;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.brand b{font:800 19px Manrope,sans-serif;letter-spacing:-.8px;display:block}.brand small{font-size:9px;letter-spacing:2px;color:#b6a6d6;font-weight:700}.workspace{height:58px;border:1px solid #483668;background:#2a1948;border-radius:10px;display:flex;align-items:center;gap:10px;padding:8px;margin-bottom:27px}.workspace-logo{width:34px;height:34px;border-radius:8px;background:#5934a9;color:white;font:800 17px Manrope;display:grid;place-items:center}.workspace b,.workspace small{display:block}.workspace b{font-size:12px;color:#fff}.workspace small{font-size:10px;color:#ada0c8;margin-top:3px}.chevron{margin-left:auto;color:#a99abf}.nav-label{font-size:9px;letter-spacing:1.5px;color:#897ba6;font-weight:700;padding:0 10px 10px}.main-nav{display:flex;flex-direction:column;gap:4px}.nav-item{height:40px;display:flex;align-items:center;gap:11px;color:#bdb3d1;text-decoration:none;padding:0 11px;border-radius:8px;font-size:12px;font-weight:500;transition:.2s}.nav-item:hover{background:#2a1948;color:white}.nav-item.active{background:#5735a5;color:white;font-weight:700;box-shadow:inset 3px 0 #f29a48}.nav-item i{width:17px;font-style:normal;text-align:center;font-size:15px;color:#a899c7}.nav-item.active i{color:#ffb86e}.nav-count{margin-left:auto;border-radius:5px;padding:2px 7px;background:#3c2a5a;color:#d4c8e9;font-size:10px}.orange-count{background:#624325;color:#ffc275}.nav-dot{width:7px;height:7px;border-radius:50%;background:#f4a144;margin-left:auto;box-shadow:0 0 0 3px #513a39}.nav-label-gap{padding-top:27px}.sidebar-bottom{margin-top:auto}.help-card{background:linear-gradient(145deg,#30204d,#2a1a46);border:1px solid #493965;border-radius:10px;padding:13px;margin-bottom:16px}.help-icon{color:#ffc075;font-size:17px;margin-bottom:8px}.help-card b{font-size:11px;color:white}.help-card p{font-size:10px;color:#a99cbd;margin:5px 0 11px}.help-card button{border:0;background:none;color:#ffbb71;padding:0;font-size:10px;font-weight:700}.help-card button span{margin-left:55px}.profile{border-top:1px solid #3b2b53;padding:15px 4px 0;display:flex;align-items:center;gap:9px}.avatar{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#f5b573;color:#533119;font-weight:800;font-size:10px}.profile b,.profile small,.top-user b,.top-user small{display:block}.profile b{font-size:10px;color:#f5f1fa}.profile small{font-size:9px;color:#a497ba;margin-top:3px}.more{margin-left:auto;background:none;border:0;color:#a497ba;letter-spacing:2px}.main{margin-left:258px;min-height:100vh}.topbar{height:65px;background:#fff;border-bottom:1px solid #f0eff3;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#9998a6}.breadcrumb span{padding:0 10px;color:#d2d0d9}.breadcrumb b{color:#4b4858;font-weight:600}.top-actions{display:flex;align-items:center;gap:14px}.icon-btn{width:29px;height:29px;border-radius:8px;border:1px solid #efedf2;background:white;color:#777386;font-weight:700;position:relative}.notify em{position:absolute;right:5px;top:4px;width:5px;height:5px;background:#f28b36;border-radius:50%}.top-divider{height:26px;width:1px;background:#eee}.top-user{display:flex;align-items:center;gap:9px;font-size:10px;color:#777386}.top-user b{font-size:10px;color:#333143}.top-user small{font-size:9px;color:#a4a2ae;margin-top:2px}.small-avatar{width:29px;height:29px;font-size:9px}.content{padding:35px 40px 20px;max-width:1440px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.45px;font-weight:700;color:#a09dac}.page-heading h1{font:800 27px Manrope,sans-serif;letter-spacing:-.8px;margin:7px 0 4px;color:#282438}.wave{color:var(--orange);font-size:19px;vertical-align:3px}.page-heading p{color:#9693a2;margin:0;font-size:12px}.heading-actions{display:flex;gap:9px}.btn{height:36px;padding:0 14px;border-radius:7px;font-size:11px;font-weight:700;border:1px solid transparent;transition:.2s}.btn-primary{color:#fff;background:linear-gradient(110deg,#6138b5,#52309e);box-shadow:0 4px 11px #52309e25}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 14px #52309e35}.btn-secondary{background:white;color:#625e6d;border-color:#e9e7ee}.btn-secondary:hover{border-color:#c7bddc;color:var(--purple)}.btn-orange{color:white;background:var(--orange)}.section-title{font:700 14px Manrope,sans-serif;margin:0 0 14px}.section-title span{font:400 10px 'DM Sans';color:var(--muted);margin-left:7px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card,.panel,.chart-card,.table-card,.router-card{background:#fff;border:1px solid #f0eff4;border-radius:10px;box-shadow:var(--shadow)}.stat-card{padding:16px 17px;min-height:119px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#868392;font-size:10px;font-weight:600}.stat-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font-size:14px}.icon-violet{background:#f0eafe;color:#7950c9}.icon-orange{background:#fff1e5;color:#e58a3a}.icon-green{background:#e5f7f0;color:#38a77a}.icon-blue{background:#eaf0ff;color:#6687dd}.stat-number{font:800 23px Manrope,sans-serif;letter-spacing:-.6px;margin-top:12px;color:#29263a}.stat-note{font-size:9px;color:#a19eaa;margin-top:3px}.positive{color:#28a277;font-weight:700}.attention{color:#e88b36;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:15px;margin-bottom:18px}.chart-card{padding:18px 19px;min-height:272px}.card-header{display:flex;align-items:center;justify-content:space-between}.card-header h3{font:700 13px Manrope;margin:0}.card-header p{font-size:9px;color:#a29fac;margin:4px 0 0}.select-mini{font-size:9px;border:1px solid #efedf2;padding:6px 8px;border-radius:6px;color:#777386;background:#fff}.chart-wrap{height:184px;margin-top:12px;position:relative}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:#f0eef3;stroke-width:1}.chart-label{font:9px 'DM Sans';fill:#aaa7b1}.chart-area{fill:url(#area)}.chart-line{fill:none;stroke:#7145c2;stroke-width:3;stroke-linecap:round}.chart-line-two{fill:none;stroke:#f19a4e;stroke-width:2;stroke-dasharray:4 5}.chart-legend{font-size:9px;color:#918e9b;display:flex;gap:13px;align-items:center}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#7145c2}.legend-dot.orange{background:#f19a4e}.plan-chart{display:flex;align-items:center;justify-content:center;gap:25px;height:170px}.donut{width:135px;height:135px;border-radius:50%;background:conic-gradient(#6037b1 0 44%,#f49b4b 44% 70%,#a58add 70% 88%,#e7e1f1 88% 100%);position:relative;display:grid;place-items:center}.donut:after{content:'';position:absolute;inset:19px;border-radius:50%;background:white}.donut-center{z-index:1;text-align:center}.donut-center b{display:block;font:800 22px Manrope}.donut-center small{font-size:9px;color:#a19eaa}.plan-legend{display:flex;flex-direction:column;gap:13px}.plan-legend div{font-size:10px;color:#777485;display:flex;align-items:center;gap:7px}.plan-legend i{width:8px;height:8px;border-radius:3px;background:#6037b1}.plan-legend i:nth-child(1){background:#6037b1}.plan-legend b{margin-left:auto;color:#343144}.table-card{overflow:hidden;margin-bottom:18px}.table-head{padding:16px 18px;display:flex;justify-content:space-between;align-items:center}.table-head h3{font:700 13px Manrope;margin:0}.table-head a{font-size:10px;color:var(--purple);text-decoration:none;font-weight:700;cursor:pointer}.table-tools{display:flex;align-items:center;gap:9px}.search{height:31px;width:205px;border:1px solid #eeedf2;background:#fff;border-radius:6px;padding:0 10px;font-size:10px;outline:none}.search:focus,input:focus,select:focus{border-color:#a38bd3;box-shadow:0 0 0 3px #7044bb15;outline:0}.filter-select{height:31px;border:1px solid #eeedf2;border-radius:6px;padding:0 8px;background:#fff;font-size:10px;color:#777485}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{background:#faf9fc}th{font-size:9px;color:#a19eaa;letter-spacing:.6px;text-transform:uppercase;text-align:left;font-weight:700;padding:11px 18px}td{padding:12px 18px;border-top:1px solid #f3f2f5;font-size:10px;color:#777485}td b{color:#343144;font-weight:600}.client-cell{display:flex;align-items:center;gap:9px}.client-avatar{width:28px;height:28px;border-radius:8px;background:#eee8fa;color:#6645a8;font-weight:700;font-size:9px;display:grid;place-items:center}.client-avatar.alt{background:#fff0e3;color:#d7802f}.client-avatar.green{background:#e5f6ef;color:#318b69}.client-avatar.blue{background:#eaf0ff;color:#5475c6}.client-cell b,.client-cell small{display:block}.client-cell small{font-size:9px;color:#aaa7b1;margin-top:3px}.status{border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;display:inline-flex;align-items:center;gap:5px}.status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status.Ativo,.status.Pago,.status.Resolvido{background:#eaf8f2;color:#258b68}.status.Pendente,.status.Em-andamento{background:#fff5e9;color:#d18a35}.status.Atrasado,.status.Suspenso{background:#fff0f0;color:#d36568}.status.Aberto{background:#f0eafe;color:#7551b7}.row-menu{border:0;background:none;color:#9994a2;font-size:17px}.table-foot{padding:12px 18px;display:flex;justify-content:space-between;border-top:1px solid #f3f2f5;color:#aaa7b1;font-size:9px}.pagination{display:flex;gap:5px}.page-num{height:24px;min-width:24px;border:1px solid #eeedf2;border-radius:5px;background:#fff;color:#777485;font-size:9px}.page-num.active{background:#6037b1;color:#fff;border-color:#6037b1}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.panel{padding:17px}.panel h3{font:700 13px Manrope;margin:0}.panel-sub{font-size:10px;color:#9e9ba8;margin:4px 0 15px}.plan-row,.activity-row{display:flex;align-items:center;padding:12px 0;border-top:1px solid #f1eff4;gap:10px}.plan-badge{height:34px;width:34px;border-radius:9px;background:#f0eafe;color:#7447ba;display:grid;place-items:center;font-size:14px}.plan-row b,.plan-row small,.activity-row b,.activity-row small{display:block}.plan-row b,.activity-row b{font-size:10px}.plan-row small,.activity-row small{font-size:9px;color:#a29fac;margin-top:3px}.plan-price{margin-left:auto;text-align:right;font-weight:700;font-size:11px}.plan-price small{font-weight:400}.activity-dot{width:8px;height:8px;border-radius:50%;background:#f3a04d;margin:0 4px}.router-card{padding:18px;margin-bottom:12px;display:flex;align-items:center;gap:13px}.router-icon{width:44px;height:44px;border-radius:11px;background:#f0eafe;color:#6741b0;display:grid;place-items:center;font-size:19px}.router-info{flex:1}.router-info h3{margin:0 0 4px;font:700 12px Manrope}.router-info p{margin:0;color:#9995a3;font-size:10px}.router-meta{display:flex;gap:20px;color:#8e8a98;font-size:9px;margin-top:10px}.router-status{font-size:9px;color:#d18a35;background:#fff5e9;padding:5px 8px;border-radius:15px}.info-banner{border:1px solid #e8e1f3;border-radius:9px;background:#f5f1fb;padding:14px 16px;color:#65517f;font-size:10px;line-height:1.6;margin-bottom:16px}.info-banner b{color:#503782}.pppoe-user{font-family:monospace;color:#6540ac}.portal-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.portal-login{padding:24px;max-width:520px}.portal-login h2{font:800 21px Manrope;margin:5px 0}.portal-login p{color:#9491a0;font-size:11px;line-height:1.6}.portal-login label,.form-grid label{display:block;font-size:10px;color:#6f6c7a;font-weight:700}.portal-login input,.form-grid input,.form-grid select{height:39px;width:100%;margin-top:7px;border:1px solid #ebe9ef;border-radius:7px;padding:0 11px;background:white;font-size:11px;color:#383446}.portal-login .btn{margin-top:12px;width:100%}.portal-hint{font-size:9px;color:#aaa7b1;margin-top:13px}.customer-hero{padding:22px;background:linear-gradient(120deg,#5531a3,#7753c0);color:white;border-radius:11px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.customer-hero h2{font:800 20px Manrope;margin:4px 0}.customer-hero p{margin:0;color:#ddd3f1;font-size:10px}.customer-hero .eyebrow{color:#c4b2e4}.portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.portal-stat{padding:16px}.portal-stat b{font:800 17px Manrope}.portal-stat small{display:block;color:#9995a3;font-size:9px;margin-top:5px}.empty-state{text-align:center;padding:48px 15px;color:#9995a3}.empty-state b{display:block;color:#494557;font:700 14px Manrope;margin-bottom:6px}.loading{padding:65px;text-align:center;color:#9a96a4}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #e5e0ef;border-top-color:#6741b0;border-radius:50%;animation:spin .8s linear infinite;vertical-align:middle;margin-right:7px}@keyframes spin{to{transform:rotate(360deg)}}footer{font-size:9px;color:#aaa7b1;padding:10px 2px 0}footer span{padding:0 6px;color:#e9a05a}.toast{position:fixed;bottom:22px;right:22px;background:#251442;color:white;padding:12px 17px;border-radius:8px;box-shadow:0 10px 30px #17102030;font-size:11px;opacity:0;transform:translateY(10px);transition:.25s;z-index:10;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}.modal-backdrop{display:none;position:fixed;inset:0;background:#1e143655;backdrop-filter:blur(3px);align-items:center;justify-content:center;z-index:8;padding:20px}.modal-backdrop.open{display:flex}.modal{width:min(600px,100%);background:#fff;border-radius:13px;padding:23px;box-shadow:0 18px 70px #1d103a30}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-head h2{font:800 19px Manrope;margin:5px 0 0}.close{border:0;background:none;font-size:24px;color:#9995a3}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select{display:block}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}@media(max-width:1100px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:30px 25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.topbar{padding:0 25px}}@media(max-width:760px){.sidebar{width:62px;padding:18px 8px}.brand{padding:0 4px 25px}.brand>span:not(.brand-mark),.workspace,.nav-label,.nav-item:not(.active),.nav-item.active{font-size:0}.brand-mark{width:40px;height:40px}.main-nav{gap:6px}.nav-item{justify-content:center;padding:0;width:44px;font-size:0!important}.nav-item i{font-size:16px}.nav-count,.nav-dot,.sidebar-bottom{display:none}.main{margin-left:62px}.content{padding:24px 14px}.topbar{padding:0 14px;height:56px}.breadcrumb{font-size:9px}.top-user span:not(.avatar){display:none}.page-heading{align-items:flex-start;gap:12px;flex-direction:column}.heading-actions{align-self:flex-end}.page-heading h1{font-size:23px}.stats-grid{gap:8px}.stat-card{padding:12px;min-height:105px}.stat-number{font-size:19px}.dashboard-grid,.content-grid,.portal-layout{grid-template-columns:1fr}.chart-card{min-height:240px}.search{width:140px}.table-head{align-items:flex-start;gap:10px;flex-direction:column}.table-tools{width:100%}.portal-stats{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}
.form-section-label{font-size:9px!important;letter-spacing:1.1px;color:#8c7aa9!important;border-top:1px solid #eeeaf4;padding-top:14px}.form-section-label small{display:block;letter-spacing:0;text-transform:none;font-size:9px;color:#a29fac;font-weight:400;margin-top:5px}
.account-details{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}.account-details>div{min-width:0}.account-details small{display:block;color:#a29fac;font-size:8px;letter-spacing:.7px;font-weight:700;margin-bottom:5px}.account-details b{display:block;color:#393648;font-size:10px;overflow-wrap:anywhere}.account-details .detail-wide{grid-column:1/-1}.account-details b .status{display:inline-flex}@media(max-width:500px){.account-details{grid-template-columns:1fr}.account-details .detail-wide{grid-column:auto}}
.pay-link{color:#6037b1;font-size:9px;font-weight:700;text-decoration:none;white-space:nowrap}.pay-link:hover{text-decoration:underline}

button[data-portal-target]{width:100%;padding:12px 0;border:0;border-top:1px solid #f1eff4;background:transparent;color:inherit;text-align:left;cursor:pointer}button[data-portal-target]:hover{background:#faf9fc;color:var(--purple)}


.portal-experience{max-width:1120px;margin:0 auto}.portal-branding{position:relative;display:flex;align-items:center;gap:24px;padding:23px 28px;margin-bottom:18px;overflow:hidden;border:1px solid #eee9f7;border-radius:18px;background:radial-gradient(ellipse at 92% 8%,#f5edff 0,transparent 35%),linear-gradient(115deg,#fff 0%,#fcfaff 58%,#fff8ef 100%);box-shadow:0 12px 35px rgba(45,25,79,.06)}.portal-branding:after{content:'';position:absolute;width:200px;height:200px;border:1px solid #eee5f8;border-radius:50%;right:7%;top:-130px;box-shadow:0 0 0 22px #fbf8ff,0 0 0 23px #eee5f8}.portal-logo-frame{width:230px;min-width:190px;height:86px;display:grid;place-items:center;background:#fff;border:1px solid #f2eef7;border-radius:13px;padding:10px 14px;box-shadow:0 5px 16px rgba(46,27,77,.06);z-index:1}.portal-logo-frame img{display:block;max-width:100%;max-height:100%;object-fit:contain}.portal-brand-copy{z-index:1}.portal-brand-copy h2{font:800 21px Manrope,sans-serif;letter-spacing:-.5px;color:#29233b;margin:5px 0}.portal-brand-copy p{font-size:11px;color:#898596;margin:0}.portal-secure{margin-left:auto;display:flex;align-items:center;gap:7px;color:#24926c;font-size:9px;white-space:nowrap;z-index:1}.portal-secure span{font-weight:800;letter-spacing:.8px}.portal-layout{gap:18px}.portal-login{padding:30px;max-width:none;border-radius:15px;box-shadow:0 12px 32px rgba(37,25,67,.055)}.portal-login h2{font-size:23px;letter-spacing:-.4px;color:#2c263e;margin-top:8px}.portal-login p{font-size:12px}.portal-login input{height:44px;border-radius:9px;padding:0 13px;font-size:12px}.portal-login .btn{height:42px;border-radius:9px;font-size:12px;margin-top:15px}.portal-layout>aside{padding:22px;border-radius:15px}.portal-layout>aside h3{font:800 16px Manrope,sans-serif;color:#302943}.portal-layout>aside .activity-row{width:100%;padding:12px 9px;border:0;border-radius:10px;background:transparent;text-align:left;transition:background .2s,transform .2s}.portal-layout>aside .activity-row:hover{background:#f8f5fd;transform:translateX(2px)}.portal-layout>aside .activity-row b{font-size:11px}.portal-layout>aside .activity-row small{margin-top:4px}.customer-hero{border-radius:15px;box-shadow:0 12px 28px rgba(72,42,133,.15);padding:25px 28px}.portal-stat{border-radius:13px;box-shadow:0 8px 24px rgba(37,25,67,.045)}@media(max-width:760px){.portal-branding{gap:13px;padding:16px;align-items:flex-start;flex-wrap:wrap}.portal-logo-frame{width:160px;min-width:150px;height:62px}.portal-brand-copy{flex:1;min-width:190px}.portal-brand-copy h2{font-size:17px}.portal-secure{margin-left:0}.portal-login{padding:21px}.portal-layout>aside{padding:18px}}

.brand-mark-wave{width:40px;min-width:40px;height:37px;border-radius:11px}.brand-mark-wave img{display:block;width:34px;height:19px;object-fit:contain}

.router-card{flex-wrap:wrap;align-items:flex-start}.router-info{flex:1;min-width:220px}.router-sync-details{flex-basis:100%;border-top:1px solid #f0eef4;padding-top:12px}.router-sync-details summary{cursor:pointer;color:#5b35b5;font-size:11px;font-weight:700}.router-sync-details .table-scroll{margin-top:12px}.router-session-list{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;color:#777485;font-size:10px}.router-session-list b{color:#343144}.router-session-list span{border:1px solid #eeedf2;background:#fbfaff;border-radius:6px;padding:5px 8px}.router-sync-time{display:block;margin-top:12px;color:#aaa7b1;font-size:9px}@media(max-width:760px){.router-info{flex-basis:calc(100% - 55px)}.router-actions{width:100%}.router-actions .btn{flex:1}.router-meta{flex-wrap:wrap;gap:8px 12px}}

.router-actions{display:flex;gap:8px;align-self:center}

.status.Agendada{background:#fff5e9;color:#d18a35}.status.Em-andamento{background:#eef3ff;color:#5f79c8}.status.Concluída,.status.Cancelada{background:#eaf8f2;color:#258b68}

.readonly-field{background:#f7f5fa!important;color:#6040a2!important;font-weight:800;letter-spacing:.4px}

.dashboard-brand{min-height:56px;display:flex;align-items:center;gap:11px;margin:0 0 16px;padding:0 4px}.dashboard-brand>img{width:47px;height:26px;object-fit:contain}.dashboard-brand-name b,.dashboard-brand-name small{display:block}.dashboard-brand-name b{font:800 11px Manrope,sans-serif;letter-spacing:1.2px;color:#54348e}.dashboard-brand-name small{font-size:8px;letter-spacing:1.8px;color:#a19aa9;margin-top:3px}.dashboard-brand>span{margin-left:auto;color:#aaa4b1;font-size:10px;letter-spacing:.15px}.dashboard-brand:after{content:'';width:32px;height:2px;margin-left:2px;border-radius:2px;background:linear-gradient(90deg,#6a40b3 50%,#f29645 50%)}@media(max-width:600px){.dashboard-brand{min-height:44px}.dashboard-brand>span{font-size:9px}.dashboard-brand>img{width:38px;height:22px}}

.stock-available{display:block;margin-top:6px;color:#7c7487;font-size:10px;font-weight:400}

.stock-item-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr);gap:12px;align-items:start}.stock-item-row label{min-width:0}@media(max-width:600px){.stock-item-row{grid-template-columns:1fr}}

#service-order-modal .modal{width:min(960px,100%);max-height:90vh;overflow-y:auto}#service-order-form>.stock-item-row{grid-column:span 1}.stock-item-row{grid-template-columns:minmax(0,1fr) 92px;gap:9px}#service-order-form .stock-item-row select,#service-order-form .stock-item-row input{padding-left:8px;padding-right:8px}@media(max-width:760px){#service-order-modal .modal{width:100%;max-height:92vh}#service-order-form>.stock-item-row{grid-column:1/-1}}@media(max-width:600px){.stock-item-row{grid-template-columns:minmax(0,1fr) 100px}}

.olt-icon{background:#fff1e5;color:#e58635}.olt-signal-placeholder{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:10px 12px;border-radius:8px;background:#faf8fc;border:1px solid #f0edf4;font-size:10px}.olt-signal-placeholder>div{display:grid;gap:4px}.olt-signal-placeholder b{color:#393447}.olt-signal-placeholder span,.olt-optical-time{color:#9b96a4}.olt-optical-results{margin-top:8px}.olt-optical-results:empty{display:none}.olt-optical-results table{font-size:11px}.olt-optical-results th,.olt-optical-results td{padding:7px 9px}.olt-optical-error,.olt-optical-empty{padding:10px 12px;border-radius:8px;background:#fff8f2;color:#8c5d32;font-size:11px}.olt-optical-error{background:#fff4f3;color:#a94f53}.olt-optical-time{display:block;margin:7px 2px;font-size:10px}.olt-card{align-items:flex-start}@media(max-width:760px){.olt-signal-placeholder{align-items:flex-start;flex-direction:column;gap:8px}}

.olt-linked-customers{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;font-size:10px}.olt-linked-customers>b{color:#4c4559;margin-right:3px}.olt-linked-customers>span{padding:4px 7px;border-radius:5px;background:#f4f0fa;color:#70667d}.olt-linked-customers>small{color:#a29caa}

/* Formulário do cliente: mais largura para acomodar os dados ópticos sem crescer tanto na vertical. */
#modal .modal{width:min(900px,100%);max-height:90vh;overflow-y:auto;padding:20px}#customer-form.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}#customer-form.form-grid input,#customer-form.form-grid select{height:35px;margin-top:4px;padding:0 9px}#customer-form .modal-actions{margin-top:0}@media(max-width:900px){#customer-form.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#modal.modal-backdrop{padding:10px}#modal .modal{padding:16px;max-height:94vh}#customer-form.form-grid{grid-template-columns:1fr;gap:9px}#customer-form.form-grid .wide{grid-column:1}}

#customer-form .customer-field-document input,#customer-form .customer-field-phone input,#customer-form .customer-field-cep input{max-width:195px}

.olt-name{display:flex;align-items:center;gap:8px;transition:color .2s}.olt-name.connected{color:#218a65!important}.olt-status-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#f2a044;box-shadow:0 0 0 3px #fff1df}.olt-status-dot.connected{background:#25a477;box-shadow:0 0 0 3px #e1f5ed}

.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.infra-counts{display:flex;align-items:baseline;gap:7px;margin-top:12px}.infra-counts b{font:800 22px Manrope,sans-serif;letter-spacing:-.5px}.infra-counts small{font-size:9px;color:#9894a1}.infra-counts .infra-online{color:#24a476}.infra-counts .infra-offline{color:#de5f65;margin-left:5px}@media(max-width:1100px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dashboard-stats{grid-template-columns:1fr}}



/* Diversos: CTOs, cobertura e sessões PPPoE */
.table-secondary{display:block;margin-top:4px;color:#9995a3;font-size:9px;font-weight:400}.map-preview{min-height:185px;max-height:285px;overflow:auto;border:1px solid #efedf2;border-radius:9px;padding:10px;background:linear-gradient(135deg,#faf9fc,#f3f0f8)}.map-pin-row{display:flex;align-items:center;gap:10px;padding:10px 5px;border-bottom:1px solid #ebe7f1}.map-pin-row:last-child{border-bottom:0}.map-pin-row>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eee8fa;color:#6940b4;font-size:17px}.map-pin-row b,.map-pin-row small{display:block}.map-pin-row b{font-size:10px}.map-pin-row small{font-size:9px;color:#9692a0;margin-top:3px}.coverage-map-panel{margin-top:14px;padding:18px}.coverage-map-panel iframe{width:100%;height:430px;border:0;border-radius:9px;margin-top:15px;background:#f4f1f7}.coverage-map-panel .panel-sub{margin-bottom:0}.nav-label-gap{margin-top:12px}

.coverage-map-tools{display:flex;align-items:center;gap:8px}.coverage-map-tools select{min-width:240px}.coverage-map-canvas{height:500px;border-radius:10px;border:1px solid #e9e5ee;margin-top:16px;z-index:1}.coverage-location-hint{font-size:10px;color:#777485;padding:11px 3px 0;line-height:1.5}.coverage-tower-icon{display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);background:#6940b4;box-shadow:0 2px 9px #25144250}.coverage-tower-icon svg{width:19px;height:19px;transform:rotate(45deg);fill:none;stroke:white;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.coverage-cto-icon{display:grid;place-items:center;width:34px;height:26px;border-radius:7px;background:#f19a4e;border:2px solid white;color:white;font:800 9px Manrope;box-shadow:0 2px 8px #25144240}.leaflet-popup-content{font:11px 'DM Sans',sans-serif;line-height:1.6}.leaflet-popup-content b{font:700 12px Manrope}@media(max-width:760px){.coverage-map-tools{width:100%;align-items:stretch;flex-direction:column}.coverage-map-tools select{min-width:0;width:100%}.coverage-map-canvas{height:390px}}

.cto-geocode-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cto-geocode-row small{font-size:9px;color:#908b9a}

.btn-delete-cto{padding:6px 10px;border:1px solid #f0d8d9;border-radius:6px;background:#fff7f7;color:#c45159;font-size:10px;font-weight:700}.btn-delete-cto:hover{background:#ffeded;border-color:#e9bfc1}

.btn-delete-invoice{margin-left:4px;padding:4px 7px;border:1px solid #f0d8d9;border-radius:5px;background:#fff7f7;color:#c45159;font-size:9px;font-weight:700;cursor:pointer}.btn-delete-invoice:hover{background:#ffeded;border-color:#e9bfc1}

.admin-auth{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:22px;background:linear-gradient(135deg,#211438ed,#3d2364ef)}.admin-auth[hidden]{display:none}.admin-auth-card{width:min(100%,420px);padding:34px;border:1px solid #ffffff30;border-radius:18px;background:#fff;box-shadow:0 24px 80px #120b2066}.admin-auth-card>img{display:block;width:46px;height:46px;margin-bottom:20px}.admin-auth-card h1{margin:8px 0;font-size:24px;color:#282332}.admin-auth-card p{margin:0 0 22px;color:#777282;font-size:13px;line-height:1.6}.admin-auth-card form{display:grid;gap:14px}.admin-auth-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#4a4553}.admin-auth-card input{height:42px;padding:0 12px;border:1px solid #e4e0e9;border-radius:8px;font:inherit}.admin-auth-card button{height:44px;margin-top:3px}.admin-auth-card #admin-auth-error{color:#b13f49;font-size:12px;min-height:16px}.admin-auth-card>small{display:block;margin-top:18px;color:#928d9a;font-size:10px}

.logout-button{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #e8e2ed;border-radius:7px;background:#fff;color:#675579;font-size:11px;font-weight:700;cursor:pointer}.logout-button:hover{border-color:#e1c5c6;background:#fff6f5;color:#b34e55}.profile{gap:9px}.profile>div:nth-child(2){min-width:0;flex:1}.profile .logout-button{flex:none}

.router-name{display:flex;align-items:center;gap:8px;transition:color .2s}.router-name.connected{color:#218a65!important}.router-status-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#f2a044;box-shadow:0 0 0 3px #fff1df}.router-status-dot.connected{background:#25a477;box-shadow:0 0 0 3px #e1f5ed}

.router-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.report-bars{height:205px;display:flex;align-items:flex-end;justify-content:space-around;gap:8px;padding:12px 3px 0;border-bottom:1px solid #efedf2}.report-bar-col{height:100%;display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.report-bar-stack{height:165px;display:flex;align-items:flex-end;gap:3px}.report-bar-stack i,.report-bar-stack b{display:block;width:11px;max-height:150px;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#8159c7,#6037b1)}.report-bar-stack b{background:linear-gradient(180deg,#ffb36e,#f28b36)}.report-bar-col small{font-size:8px;color:#9793a1;white-space:nowrap}.report-plan-row{display:grid;grid-template-columns:minmax(95px,1fr) 26px minmax(50px,1.5fr);align-items:center;gap:10px;border-bottom:1px solid #f1eff4;padding:12px 0;font-size:10px;color:#716d7c}.report-plan-row>b{text-align:right;color:#343144}.report-plan-row>i{height:7px;border-radius:9px;background:#f0edf5;overflow:hidden}.report-plan-row>i>em{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#6037b1,#f28b36)}.history-list{max-height:55vh;overflow:auto;padding:5px 4px}.history-entry{position:relative;display:flex;gap:12px;padding:10px 0 14px 3px;border-left:1px solid #e8e1f3;margin-left:5px}.history-entry>i{flex:0 0 9px;height:9px;border-radius:50%;background:#f28b36;margin-left:-5px;margin-top:3px;box-shadow:0 0 0 3px #fff1e5}.history-entry b{font-size:11px;color:#353143}.history-entry p{font-size:10px;line-height:1.55;color:#767282;margin:4px 0}.history-entry small{font-size:9px;color:#aaa6b2}.backup-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.backup-panel .panel-sub{margin-bottom:0}.backup-panel .btn{flex-shrink:0}.status.Alta,.status.Urgente{background:#fff0f0;color:#c55158}@media(max-width:600px){.backup-panel{align-items:flex-start;flex-direction:column}.report-bars{gap:2px}.report-bar-stack{gap:2px}.report-bar-stack i,.report-bar-stack b{width:7px}.report-bar-col small{font-size:7px}}

.technician-admin-panel{margin:0 0 14px}.technician-create-form{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:10px;margin:12px 0 18px}.technician-create-form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#4a4553}.technician-create-form input,.technician-create-form select{height:38px;min-width:0;padding:0 10px;border:1px solid #e4e0e9;border-radius:8px;font:inherit}.technician-create-form .btn{height:38px;white-space:nowrap}.technician-admin-panel .table-head{margin-bottom:8px}.technician-admin-panel .panel-sub{margin:4px 0}.technician-admin-panel>.table-scroll{margin-top:6px}@media(max-width:760px){.technician-create-form{grid-template-columns:1fr 1fr}.technician-create-form .btn{grid-column:1/-1}.technician-create-form label:first-child{grid-column:1/-1}}
.tech-order .client-message{background:#f2edf8;border:1px solid #e4d8f1;border-radius:9px;padding:12px;color:#4d2876;font-size:12px;line-height:1.5}
/* Menu com rolagem própria: mantém marca e saída acessíveis no zoom normal. */
.sidebar{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.sidebar>.brand,.sidebar>.nav-label,.sidebar>.sidebar-bottom{flex-shrink:0}
.sidebar .main-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8267ab transparent;padding-right:5px}
.sidebar .main-nav .nav-item,.sidebar .main-nav .nav-label{flex-shrink:0}
.sidebar .main-nav::-webkit-scrollbar{width:5px}
.sidebar .main-nav::-webkit-scrollbar-thumb{background:#8267ab;border-radius:6px}
.sidebar .sidebar-bottom{margin-top:12px;padding-top:12px}
.sidebar .nav-group{flex-shrink:0;min-width:0}
.sidebar .nav-group>summary{list-style:none;cursor:pointer}
.sidebar .nav-group>summary::-webkit-details-marker{display:none}
.sidebar .nav-chevron{margin-left:auto;font-size:13px;transition:transform .15s}
.sidebar .nav-group[open] .nav-chevron{transform:rotate(180deg)}
.sidebar details.nav-group .nav-submenu{border-left:1px solid #6f568e;margin:2px 0 10px 18px;padding-left:8px}
.sidebar details.nav-group .nav-submenu .nav-item{padding-left:12px;width:100%;font-size:12px!important;min-height:38px}
