/* Surveyor 21.11.5 — UI CURRENT consolidated. Single active UI cascade; legacy overlays are not loaded separately. */

/* ===== assets/css/core/suite.css ===== */
:root{
  color-scheme: light;
  --bg:#f3f7fb;
  --surface:#ffffff;
  --surface-soft:#f8fbff;
  --line:#dbe6f2;
  --line-soft:#edf3f9;
  --text:#0f2a44;
  --muted:#607089;
  --primary:#2563eb;
  --primary-600:#1d4ed8;
  --primary-soft:#eaf2ff;
  --success:#059669;
  --success-soft:#ecfdf5;
  --danger:#c2410c;
  --danger-soft:#fff7ed;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 10px 24px rgba(15,23,42,.055);
  --sidebar:252px;
  --gap:16px;
  --page-pad:22px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
body{overflow-x:hidden}a{color:inherit}img,svg,canvas{max-width:100%;height:auto}.hidden{display:none!important}
button,input,select,textarea{font:inherit}button{cursor:pointer}
.suite{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);background:var(--bg)}
.side{position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;z-index:30}
.brand{display:flex;align-items:center;gap:11px;padding:18px 16px 14px;border-bottom:1px solid var(--line);background:#fff}
.brand-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:var(--primary-soft);border:1px solid #d7e6ff;overflow:hidden}.brand-mark img{width:28px;height:28px;object-fit:contain}.brand strong{display:block;font-size:18px;line-height:1.1;font-weight:850;color:var(--text)}.brand small{display:block;margin-top:3px;font-size:11px;color:var(--muted);line-height:1.35}
.nav{padding:14px 10px;display:flex;flex-direction:column;gap:5px;overflow:auto;min-height:0}.nav a{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;min-height:40px;padding:8px 10px;border-radius:11px;border:1px solid transparent;color:#334155;text-decoration:none;font-size:14px;font-weight:700;transition:.15s ease}.nav a:hover{background:#f8fbff;border-color:var(--line-soft);color:var(--primary)}.nav a.active{background:var(--primary-soft);border-color:#d7e6ff;color:var(--primary)}.nav a span:first-child:not(.nav-icon){display:grid;place-items:center;color:currentColor}.nav-icon{width:28px;height:28px;display:grid;place-items:center;color:currentColor}.sv-icon{width:17px;height:17px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.side-note{margin:auto 12px 14px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:12px;line-height:1.45;color:var(--muted);box-shadow:0 6px 18px rgba(15,23,42,.035)}.side-note b{display:block;color:var(--text);font-size:13px}.plan-mini,.side-admin-link{color:var(--primary);font-weight:750}.side-admin-link{display:inline-flex;margin-top:6px;text-decoration:none}.main{min-width:0;padding:var(--page-pad)}
.top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.top h1{margin:0;font-size:28px;line-height:1.1;font-weight:850;color:var(--text)}.top p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.45}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.mobile-toggle{display:none}.account-zone,.simple-account-badge{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#fff}.account-avatar,.simple-account-badge>span{width:34px;height:34px;border-radius:10px;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary);font-weight:850}.account-copy strong,.simple-account-badge b{display:block;font-size:13px}.account-copy small,.simple-account-badge small{display:block;color:var(--muted);font-size:11px}.account-logout{border:0;border-left:1px solid var(--line);background:transparent;color:var(--muted);padding:8px 9px}
.btn,.link-btn,.tiny-button,.cloud-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--text);font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:none}.btn:hover,.link-btn:hover,.tiny-button:hover,.cloud-actions button:hover{background:#f8fbff}.btn.primary,.link-btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover,.link-btn.primary:hover{background:var(--primary-600);border-color:var(--primary-600)}.btn.green,.link-btn.green{background:var(--success-soft);border-color:#b7f3d1;color:#047857}.btn.danger,.tiny-button.danger{background:var(--danger-soft);border-color:#fed7aa;color:var(--danger)}.danger-link,.danger-text{color:var(--danger)!important}
.hero,.panel,.card,.dashboard-stats article,.cloud-summary article,.admin-stats article,.quick-grid a,.recent-list>a,.official-card,.cloud-item,.table-wrap,.preview,.empty-box,.admin-tabs,.plan-card,.integration-grid article,.catalog-selected,.catalog-filters .panel,.upload-card,.portal-dialog,.output{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.hero{padding:26px;margin-bottom:18px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.hero h2{margin:8px 0 8px;font-size:28px;line-height:1.2;font-weight:850;color:var(--text)}.hero p{margin:0;color:var(--muted);line-height:1.6;max-width:760px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.eyebrow{display:inline-flex;width:max-content;align-items:center;padding:5px 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.eyebrow.light{background:#fff;color:var(--primary)}
.dashboard-stats,.cloud-summary,.admin-stats,.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.dashboard-stats article,.cloud-summary article,.admin-stats article,.stat{padding:18px}.dashboard-stats span,.cloud-summary span,.admin-stats span,.stat span{display:block;color:var(--muted);font-size:12px}.dashboard-stats strong,.cloud-summary strong,.admin-stats strong,.stat strong{display:block;margin-top:10px;font-size:25px;font-weight:850;color:var(--text)}.dashboard-stats small,.stat small{color:var(--muted)}.status-good{color:var(--success)!important}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:18px}.panel{padding:20px;margin-bottom:18px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.panel h2,.panel-heading h2{margin:3px 0 0;font-size:20px;color:var(--text)}.panel-desc{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}.panel-heading a{color:var(--primary);font-weight:750;text-decoration:none;font-size:13px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-grid a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:2px 12px;align-items:center;padding:14px;text-decoration:none;box-shadow:none}.quick-grid a:hover{border-color:#cfe0ff;background:#fbfdff}.quick-grid a>span:first-child{grid-row:1/3;width:40px;height:40px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.quick-grid b{font-size:14px}.quick-grid small{font-size:12px;color:var(--muted)}.recent-list{display:grid;gap:10px}.recent-list>a{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:12px;text-decoration:none;box-shadow:none}.doc-type,.cloud-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--primary-soft);color:var(--primary);font-weight:800}.empty-box{min-height:160px;display:grid;place-items:center;padding:24px;text-align:center;color:var(--muted);box-shadow:none}.official-grid,.plans-grid,.integration-grid,.layer-catalog,.admin-layer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.official-card,.plan-card,.integration-grid article{padding:16px}.official-card h3{margin:0 0 8px}.official-card p,.plan-card p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.5}
.form-grid,.form-grid.two,.custom-upload-grid,.catalog-import-grid,.geoservice-form,.cloud-form-grid,.integration-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.full{grid-column:1/-1}label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:750}input,select,textarea,.compact-input{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);outline:none}textarea{padding:12px;min-height:110px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}input[type=file]{padding:8px;background:#fff}input[type=file]::file-selector-button{height:30px;margin-right:10px;padding:0 10px;border:1px solid #cfe0ff;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-weight:800}.button-row,.notice-options,.layer-admin-filterbar,.catalog-status{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.button-row{margin-top:14px}.notice-options label,.permission-grid label{display:flex;align-items:center;gap:8px}.notice-options input,.permission-grid input{width:auto;min-height:auto}.warning{padding:12px 14px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb;color:#92400e}.output{min-height:54px;padding:14px;color:var(--text);box-shadow:none}.preview{min-height:140px;padding:18px;background:#fff;color:var(--text);overflow:auto}.success{color:var(--success)}
.table-wrap{overflow:auto;box-shadow:none}table{width:100%;border-collapse:collapse;min-width:640px}th,td{padding:11px 12px;border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top;font-size:13px}th{background:#f8fafc;color:#475569;font-weight:850}td{color:var(--text)}.data-table{width:100%}.admin-tabs,.sheet-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:8px;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.admin-tabs button,.sheet-tabs button,.sheet-tabs a{min-height:38px;padding:0 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.admin-tabs button.active,.sheet-tabs button.active,.sheet-tabs a.active{background:var(--primary-soft);border-color:#d7e6ff;color:var(--primary)}.admin-panel,.sheet-tab-panel,.car-tab-panel{display:none}.admin-panel.active,.sheet-tab-panel.active,.car-tab-panel.active{display:block}.user-cell{display:flex;align-items:center;gap:9px}.user-cell>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.status-pill{padding:4px 8px;border-radius:999px;background:#f8fafc;color:var(--muted);font-size:11px}.status-pill.active{background:#ecfdf5;color:#047857}.status-pill.blocked{background:#fff7ed;color:var(--danger)}
.catalog-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.catalog-filters{display:grid;gap:14px}.catalog-status{display:grid;gap:6px;margin-top:12px}.catalog-status span{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.ready-dot,.planned-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.ready-dot{background:#22c55e}.planned-dot{background:#f59e0b}.catalog-selected{padding:16px;display:grid;gap:4px}.catalog-selected strong{font-size:26px}.locked-label{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:850}.layer-group{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.layer-group+.layer-group{margin-top:12px}.layer-group-title{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 14px;border:0;background:#f8fbff;color:var(--text);font-weight:850;text-align:left}.layer-group-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.layer-group.collapsed .layer-group-content{display:none}.catalog-layer{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;align-items:flex-start}.catalog-layer:hover{border-color:#cfe0ff;background:#fbfdff}.layer-symbol{width:14px;height:14px;margin-top:4px;border-radius:4px;background:var(--layer-color,var(--primary));box-shadow:0 0 0 3px rgba(37,99,235,.1)}.catalog-layer-main b{font-size:13px}.catalog-layer-main p{margin:6px 0;color:var(--muted);font-size:12px}.layer-state{margin-left:6px;padding:3px 7px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:850}.opacity-row{display:grid;grid-template-columns:auto minmax(110px,1fr) auto;align-items:center;gap:8px;color:var(--muted);font-size:12px}.opacity-row input[type=range]{min-height:auto;padding:0}.switch{position:relative;display:inline-flex;width:38px;height:22px}.switch input{position:absolute;opacity:0;inset:0}.switch span{width:38px;height:22px;border-radius:999px;background:#dbe5f0;transition:.15s}.switch span::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:.15s}.switch input:checked+span{background:var(--primary)}.switch input:checked+span::after{left:19px}.layer-admin-filterbar{margin-bottom:14px}.layer-admin-help{margin-bottom:14px;color:var(--muted);font-size:13px}
.sheet-menu{position:relative}.sheet-menu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:none;min-width:190px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.sheet-menu:hover .sheet-menu-list,.sheet-menu:focus-within .sheet-menu-list{display:grid;gap:6px}.sheet-menu-list button,.sheet-menu-list select{width:100%;min-height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-weight:750}.sheet-panel{padding:18px}.project-sheet-select{margin-bottom:12px}.sheet-summary{display:flex;gap:20px;flex-wrap:wrap;margin:8px 0 14px}.sheet-summary span{display:block;color:var(--muted);font-size:12px}.sheet-summary b{font-size:18px}.georef-table{min-width:980px}
.customization-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:start}.customization-form{display:grid;gap:12px}.customization-form .form-grid{grid-template-columns:1fr 1fr}.custom-upload-grid{grid-template-columns:1fr 1fr}.upload-card{padding:14px;gap:8px}.upload-card strong{font-size:14px}.upload-card span,.field-help{color:var(--muted);font-size:12px;line-height:1.45}.customization-preview-panel{min-width:0}.document-preview{min-height:360px;border:1px dashed var(--line);border-radius:12px;background:#fff;padding:18px;overflow:auto}.loteamento-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:18px}.croqui-preview{min-height:220px}.car-project-picker{display:grid;gap:8px}.car-owner-list{display:grid;gap:10px}.car-owner-item,.owner-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.car-owner-item button,.owner-row button{min-width:38px}.car-output-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.car-share-box{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.card{padding:16px}.card h3{margin:0 0 8px}.card p{color:var(--muted);font-size:13px;line-height:1.5}.portal-dialog{border:0;padding:0;color:var(--text)}.portal-dialog::backdrop{background:rgba(15,23,42,.38)}.portal-dialog form{padding:22px}.dialog-title{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.dialog-close{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff}.toast{position:fixed;right:16px;bottom:16px;z-index:9999;padding:12px 14px;border-radius:12px;background:#0f172a;color:#fff;opacity:0;transform:translateY(10px);transition:.18s ease}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#991b1b}.toast.success{background:#047857}
.login-page{min-height:100vh;height:100vh;background:linear-gradient(135deg,#eef5ff 0%,#f8fbff 55%,#ffffff 100%);display:grid;place-items:stretch;padding:0;overflow:hidden}.login-shell{width:100vw;height:100vh;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(480px,.82fr);overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:none}.login-brand-panel{position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:18px;padding:18px 26px 18px 26px;background:#0f2a44;color:#fff;overflow:hidden;min-height:100%}.login-brand-panel::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 10%,rgba(37,99,235,.45),transparent 32%),linear-gradient(135deg,#102a48,#07172b);z-index:0}.login-brand-panel>*{position:relative;z-index:1}.login-brand img{width:118px;max-height:54px;object-fit:contain;background:#fff;border-radius:14px;padding:8px}.login-brand-copy{max-width:860px}.login-brand-copy h1{margin:6px 0 8px;max-width:820px;font-size:clamp(30px,3vw,52px);line-height:1.05}.login-brand-copy p{margin:0;max-width:780px;color:#cbd5e1;font-size:15px;line-height:1.5}.login-carousel{min-height:0;height:100%;max-height:calc(100vh - 290px);border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;background:rgba(255,255,255,.06);position:relative}.login-carousel-viewport,.login-slide{height:100%}.login-slide{display:none;position:relative}.login-slide.active{display:block}.login-slide img{width:100%;height:100%;object-fit:cover;display:block;opacity:.82}.login-slide-caption{position:absolute;left:18px;right:18px;bottom:18px;padding:14px;border-radius:14px;background:rgba(15,23,42,.65);backdrop-filter:blur(8px)}.login-slide-caption strong,.login-slide-caption span{display:block}.login-slide-caption strong{font-size:18px}.login-slide-caption span{margin-top:4px;color:#dbeafe;font-size:13px;line-height:1.35}.login-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:28px}.login-carousel-arrow.prev{left:14px}.login-carousel-arrow.next{right:14px}.login-carousel-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 16px}.login-carousel-meta strong,.login-carousel-meta span{display:block}.login-carousel-meta strong{font-size:15px}.login-carousel-meta span{color:#cbd5e1;font-size:12px;line-height:1.35}.login-carousel-dots{display:flex;gap:8px}.login-carousel-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#64748b}.login-carousel-dots button.active{background:#fff}.login-card{display:grid;place-items:center;padding:24px 38px;background:#f8fbff;min-height:100%;height:100%}.login-card-inner{width:min(520px,100%)}.login-logo{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:var(--primary-soft);border:1px solid #d7e6ff;margin-bottom:18px}.login-logo img{width:36px;height:36px;object-fit:contain}.login-card h2{margin:8px 0 8px;font-size:clamp(34px,2.4vw,46px);line-height:1.06}.login-card p{margin:0 0 22px;color:var(--muted);line-height:1.55;font-size:16px}.login-card form{display:grid;gap:14px}.login-card label{display:grid;gap:8px;font-weight:700;color:var(--text)}.login-card input{height:50px}.login-submit{width:100%;height:50px}.login-message{margin-top:12px;padding:12px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:var(--danger);font-size:13px}.security-note{margin-top:14px;padding:12px 14px 12px 42px;min-height:18px;border:1px solid #d7e6ff;border-radius:14px;background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);color:#335277;font-size:13px;font-weight:700;line-height:1.45;position:relative;box-shadow:0 8px 24px rgba(15,91,220,.08)}.security-note::before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;background:#dbeafe;box-shadow:inset 0 0 0 5px #2563eb}.security-note.hidden{display:none!important}.security-note.error{border-color:#fecaca;background:linear-gradient(180deg,#fff7f7 0%,#fff1f2 100%);color:#9f1239;box-shadow:0 8px 24px rgba(190,24,93,.08)}.security-note.error::before{background:#ffe4e6;box-shadow:inset 0 0 0 5px #e11d48}
@media(max-width:1180px){.dashboard-stats,.cloud-summary,.admin-stats,.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns,.catalog-layout,.customization-layout,.loteamento-layout,.car-output-grid{grid-template-columns:1fr}.layer-group-content{grid-template-columns:1fr}.car-analysis-grid{grid-template-columns:1fr}.login-shell{width:100%;height:100%;grid-template-columns:1fr}.login-brand-panel{display:none}}
@media(max-width:860px){:root{--sidebar:280px}.suite{grid-template-columns:1fr}.side{position:fixed;left:0;top:0;bottom:0;transform:translateX(-105%);transition:.18s ease;width:min(var(--sidebar),88vw);max-width:88vw;box-shadow:12px 0 30px rgba(15,23,42,.14)}.side.open{transform:translateX(0)}.main{padding:16px}.mobile-toggle{display:inline-flex}.top{flex-direction:column}.top-actions{justify-content:flex-start}.form-grid,.form-grid.two,.form-grid.three,.customization-form .form-grid,.custom-upload-grid,.catalog-import-grid,.geoservice-form,.cloud-form-grid,.integration-form,.car-owner-item,.owner-row{grid-template-columns:1fr}.official-grid,.plans-grid,.integration-grid,.layer-catalog,.admin-layer-list,.quick-grid{grid-template-columns:1fr}.login-page{padding:0}.login-shell{width:100%;height:100%;min-height:100vh;border-radius:0;border:0}.login-card{padding:28px 22px}}
@media(max-width:560px){.dashboard-stats,.cloud-summary,.admin-stats,.summary{grid-template-columns:1fr}.top h1{font-size:23px}.hero{padding:18px}.hero h2{font-size:22px}.btn,.link-btn{width:100%}.button-row .btn,.top-actions .btn,.top-actions .link-btn{width:auto}.sheet-tabs{overflow:auto;flex-wrap:nowrap}.sheet-menu-list{left:0;right:auto}.catalog-layer{grid-template-columns:14px minmax(0,1fr)}.switch{grid-column:2}.login-card h2{font-size:26px}}

/* ==========================================================
   v21.9.61 — Correções focadas nas áreas marcadas pelo Kaua
   ========================================================== */
:root{--fx-fast:160ms ease;--fx-med:230ms cubic-bezier(.2,.8,.2,1)}
.btn,.link-btn,.tiny-button,.cloud-actions button,.geo-tool,.geo-layers-trigger,.geo-toolbar-right button,.map-global-nav-toggle,.geo-brand-actions a,.geo-brand-actions button,.file-btn,.map-download-menu summary,.catalog-dialog-tabs button,.catalog-dialog-footer button,.sidepanel-tabs button,.sheet-tabs button,.sheet-tabs a{transition:transform var(--fx-fast),box-shadow var(--fx-fast),background-color var(--fx-fast),border-color var(--fx-fast),color var(--fx-fast),opacity var(--fx-fast)!important;will-change:transform}
.btn:hover,.link-btn:hover,.tiny-button:hover,.cloud-actions button:hover,.geo-tool:hover,.geo-layers-trigger:hover,.geo-toolbar-right button:hover,.map-global-nav-toggle:hover,.geo-brand-actions a:hover,.geo-brand-actions button:hover,.file-btn:hover,.map-download-menu summary:hover,.catalog-dialog-tabs button:hover,.catalog-dialog-footer button:hover,.sidepanel-tabs button:hover,.sheet-tabs button:hover,.sheet-tabs a:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08)!important}
.btn:active,.link-btn:active,.tiny-button:active,.cloud-actions button:active,.geo-tool:active,.geo-layers-trigger:active,.geo-toolbar-right button:active,.map-global-nav-toggle:active,.geo-brand-actions a:active,.geo-brand-actions button:active,.file-btn:active,.map-download-menu summary:active,.catalog-dialog-tabs button:active,.catalog-dialog-footer button:active,.sidepanel-tabs button:active,.sheet-tabs button:active,.sheet-tabs a:active{transform:translateY(0) scale(.98)}
.notification-center{position:relative;display:inline-flex;align-items:center;z-index:80}.notification-bell{width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);display:grid;place-items:center;position:relative}.notification-bell svg{width:20px!important;height:20px!important;max-width:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important}.notification-bell svg path{fill:none!important;stroke:currentColor!important}.notification-bell span{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#eaf2ff;color:#2563eb;border:1px solid #cfe0ff;font-size:11px;font-weight:850;display:grid;place-items:center}.notification-bell:not(.has-unread) span{background:#fff;color:#64748b}.notification-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 32px));max-height:480px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.16);z-index:999}.notification-panel header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.notification-panel h3{margin:0;font-size:15px}.notification-status{font-size:12px;color:var(--muted)}.notification-list{display:grid;gap:8px}.notification-item{padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8fbff}.notification-item.is-read{background:#fff;color:#475569}.notification-item span{display:inline-flex;margin-bottom:4px;padding:3px 7px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:850;text-transform:uppercase}.notification-item b,.notification-item p,.notification-item small{display:block}.notification-item p{margin:4px 0;color:var(--muted);font-size:12px;line-height:1.4}.system-notice-banner{margin:0 22px 16px;padding:12px 14px;border:1px solid #cfe0ff;border-radius:12px;background:#f8fbff;color:var(--text)}
@media print{body:not(.georural-map-page){background:#fff!important}.side,.top,.mobile-toggle,.button-row,.top-actions,.notification-center,.system-notice-banner,.toast,.no-print{display:none!important}.suite{display:block!important}.main{padding:0!important}.panel{box-shadow:none!important;border:0!important;padding:0!important}.preview,.output{box-shadow:none!important;border:0!important;background:#fff!important;color:#111!important}.preview *,.output *{color:#111!important}body[data-page="memorial.html"] .main>*:not(.memorial-print-host){display:none!important}body[data-page="memorial.html"] .memorial-print-host{display:block!important}}

/* v21.9.61 — páginas marcadas: nuvem, personalização, lotes e memorial */
.cloud-list{display:grid!important;gap:12px!important}.cloud-item{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;padding:14px!important;box-shadow:none!important}.cloud-info{display:grid!important;gap:6px!important;min-width:0!important}.cloud-title{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.cloud-title b{font-size:15px!important;color:var(--text)!important}.cloud-title span{display:inline-flex!important;padding:4px 8px!important;border-radius:999px!important;background:var(--primary-soft)!important;color:var(--primary)!important;font-size:11px!important;font-weight:850!important}.cloud-info p{margin:0!important;color:var(--text)!important;font-size:13px!important;word-break:break-word!important}.cloud-info small{color:var(--muted)!important;font-size:12px!important}.cloud-tags{display:flex!important;gap:6px!important;flex-wrap:wrap!important}.cloud-tags span{display:inline-flex!important;padding:4px 8px!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid var(--line-soft)!important;color:#475569!important;font-size:11px!important}.cloud-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important;justify-content:flex-end!important}.cloud-actions button{min-height:34px!important;padding:0 11px!important}.cloud-actions .danger-text{border-color:#fed7aa!important;background:#fff7ed!important}.customization-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important}.customization-preview-panel{display:grid!important;gap:10px!important}.document-preview{min-height:520px!important;max-height:calc(100vh - 210px)!important;overflow:auto!important;background:#fff!important}.preview-sheet{width:min(760px,100%)!important;margin:0 auto!important;padding:28px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.08)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;color:var(--text)!important}.preview-sheet header{display:flex!important;align-items:center!important;gap:16px!important;padding-bottom:16px!important;border-bottom:2px solid var(--primary-soft)!important}.preview-sheet header img{max-width:130px!important;max-height:90px!important;width:auto!important;height:auto!important;object-fit:contain!important}.preview-logo-placeholder{width:120px!important;height:70px!important;border:1px dashed var(--line)!important;border-radius:12px!important;display:grid!important;place-items:center!important;color:var(--muted)!important;background:#f8fafc!important}.preview-sheet header strong{display:block!important;font-size:20px!important}.preview-sheet header span{display:block!important;margin-top:4px!important;color:var(--muted)!important}.preview-sheet h1{font-size:26px!important;margin:22px 0 14px!important}.preview-lines{height:120px!important;margin:20px 0!important;border-radius:12px!important;background:repeating-linear-gradient(#f8fafc 0 14px,#fff 14px 28px)!important}.preview-sheet footer{display:grid!important;gap:4px!important;margin-top:24px!important;padding-top:14px!important;border-top:1px solid var(--line)!important;color:var(--muted)!important}.module-accordion-panel{padding:0!important;overflow:hidden!important}.module-accordion-toggle{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;padding:0 16px!important;border:0!important;background:#fff!important;color:var(--text)!important;text-align:left!important;font-size:18px!important;font-weight:850!important}.module-accordion-toggle small{display:block!important;margin-top:2px!important;color:var(--muted)!important;font-size:12px!important;font-weight:500!important}.module-accordion-toggle span:last-child{width:30px!important;height:30px!important;border-radius:10px!important;background:var(--primary-soft)!important;color:var(--primary)!important;display:grid!important;place-items:center!important;transition:.16s ease!important}.module-accordion-panel.is-collapsed .module-accordion-toggle span:last-child{transform:rotate(-90deg)}.module-accordion-body{padding:0 16px 16px!important}.module-accordion-panel.is-collapsed .module-accordion-body{display:none!important}.module-accordion-panel+.module-accordion-panel{margin-top:14px!important}.memorial-print-host{display:none}.memorial-clean-document{max-width:900px;margin:0 auto;padding:34px;background:#fff;color:#111;font-family:Arial,sans-serif;line-height:1.55}.memorial-clean-document h1,.memorial-clean-document h2,.memorial-clean-document h3{color:#111}.memorial-clean-document table{width:100%;border-collapse:collapse}.memorial-clean-document th,.memorial-clean-document td{border:1px solid #cbd5e1;padding:6px;color:#111}.memorial-clean-document .croqui-preview,.memorial-clean-document svg{max-width:100%!important}.top .link-btn[aria-disabled="true"],.top .link-btn.disabled{opacity:.55;pointer-events:none}@media(max-width:1180px){.customization-layout{grid-template-columns:1fr!important}.document-preview{max-height:none!important}.cloud-item{grid-template-columns:42px minmax(0,1fr)!important}.cloud-actions{grid-column:2!important;justify-content:flex-start!important}}@media(max-width:680px){.cloud-item{grid-template-columns:1fr!important}.cloud-actions{grid-column:auto!important}.preview-sheet{padding:18px!important}.preview-sheet header{align-items:flex-start;flex-direction:column!important}}


/* ==========================================================
   v21.9.72 — Admin: catálogo de camadas com cards organizados
   ========================================================== */
#tab-layers .panel-heading{
  align-items:center!important;
  gap:18px!important;
}
#tab-layers .panel-heading>div:first-child{
  min-width:280px!important;
}
#tab-layers .panel-heading .button-row{
  margin-top:0!important;
  justify-content:flex-end!important;
}
#tab-layers .layer-admin-filterbar{
  display:grid!important;
  grid-template-columns:minmax(220px,340px) minmax(260px,420px) auto!important;
  align-items:end!important;
  gap:12px!important;
  margin:18px 0 12px!important;
}
#tab-layers .layer-admin-filterbar label{
  margin:0!important;
}
#adminLayerFilterCount{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 14px!important;
  border:1px solid #dbe7f3!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  color:#0f2a44!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
#tab-layers .layer-admin-help{
  margin:12px 0 18px!important;
  padding:12px 14px!important;
  border:1px solid #dbe7f3!important;
  border-radius:14px!important;
  background:#f8fbff!important;
  color:#52667f!important;
  font-size:13px!important;
  line-height:1.55!important;
}
#tab-layers .admin-layer-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(360px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
#tab-layers .admin-layer-card{
  position:relative!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  grid-template-areas:
    "color copy state"
    "color actions actions"!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid #dbe7f3!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
  overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease!important;
}
#tab-layers .admin-layer-card:hover{
  transform:translateY(-2px)!important;
  border-color:#bfdbfe!important;
  box-shadow:0 18px 38px rgba(15,23,42,.08)!important;
  background:#fbfdff!important;
}
#tab-layers .admin-layer-card .layer-color{
  grid-area:color!important;
  width:16px!important;
  height:100%!important;
  min-height:86px!important;
  align-self:stretch!important;
  border-radius:999px!important;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.12),0 0 0 4px rgba(37,99,235,.08)!important;
}
#tab-layers .admin-layer-copy{
  grid-area:copy!important;
  min-width:0!important;
  display:grid!important;
  gap:7px!important;
}
#tab-layers .admin-layer-copy b{
  display:block!important;
  color:#0f2a44!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:900!important;
  word-break:break-word!important;
}
#tab-layers .admin-layer-copy small{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  color:#52667f!important;
  font-size:12px!important;
  line-height:1.35!important;
}
#tab-layers .admin-layer-copy em{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  align-items:center!important;
  gap:6px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#eef6ff!important;
  color:#245ea8!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-style:normal!important;
  font-weight:750!important;
  white-space:normal!important;
}
#tab-layers .admin-layer-copy em.layer-error-text{
  background:#fff7ed!important;
  color:#c2410c!important;
}
#tab-layers .admin-layer-card .layer-state{
  grid-area:state!important;
  align-self:start!important;
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#eef4ff!important;
  color:#2563eb!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  margin:0!important;
}
#tab-layers .admin-layer-card .layer-state.ready{
  background:#ecfdf5!important;
  color:#047857!important;
}
#tab-layers .admin-layer-card .layer-state.processing{
  background:#fffbeb!important;
  color:#b45309!important;
}
#tab-layers .admin-layer-card .layer-state.error{
  background:#fff1f2!important;
  color:#be123c!important;
}
#tab-layers .admin-layer-card .layer-state.planned{
  background:#f1f5f9!important;
  color:#64748b!important;
}
#tab-layers .admin-layer-actions{
  grid-area:actions!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding-top:8px!important;
  border-top:1px solid #edf2f7!important;
}
#tab-layers .admin-layer-actions .tiny-button{
  min-height:36px!important;
  padding:0 12px!important;
  border:1px solid #dbe7f3!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#0f2a44!important;
  font-size:13px!important;
  font-weight:850!important;
  box-shadow:none!important;
}
#tab-layers .admin-layer-actions .tiny-button:hover:not(:disabled){
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
  color:#2563eb!important;
}
#tab-layers .admin-layer-actions .danger-link{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
  color:#c2410c!important;
}
#tab-layers .admin-layer-actions .danger-link:hover:not(:disabled){
  background:#ffedd5!important;
  border-color:#fdba74!important;
  color:#9a3412!important;
}
#tab-layers .admin-layer-actions .tiny-button:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
  transform:none!important;
}
#tab-layers .layer-card-progress{
  width:100%!important;
  height:8px!important;
  border:0!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:#e2e8f0!important;
}
#tab-layers .layer-card-progress::-webkit-progress-bar{
  background:#e2e8f0!important;
  border-radius:999px!important;
}
#tab-layers .layer-card-progress::-webkit-progress-value{
  background:#2563eb!important;
  border-radius:999px!important;
}
#tab-layers .layer-card-progress::-moz-progress-bar{
  background:#2563eb!important;
  border-radius:999px!important;
}
@media(max-width:1180px){
  #tab-layers .admin-layer-list{grid-template-columns:1fr!important;}
  #tab-layers .layer-admin-filterbar{grid-template-columns:1fr 1fr!important;}
  #adminLayerFilterCount{grid-column:1/-1!important;justify-content:flex-start!important;}
}
@media(max-width:720px){
  #tab-layers .panel-heading{display:grid!important;}
  #tab-layers .panel-heading .button-row{justify-content:flex-start!important;}
  #tab-layers .layer-admin-filterbar{grid-template-columns:1fr!important;}
  #tab-layers .admin-layer-card{
    grid-template-columns:14px minmax(0,1fr)!important;
    grid-template-areas:
      "color state"
      "color copy"
      "color actions"!important;
  }
  #tab-layers .admin-layer-card .layer-state{justify-self:start!important;}
}


/* ==========================================================
   v21.9.74 — Avisos funcionais + Personalização em duas áreas
   ========================================================== */
.notification-center{isolation:isolate!important;z-index:5000!important}
.notification-bell{cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
.notification-bell:hover{transform:translateY(-1px)!important;border-color:#bfdbfe!important;box-shadow:0 10px 24px rgba(37,99,235,.14)!important}
.notification-bell.has-unread{border-color:#bfdbfe!important;background:#eff6ff!important;color:#2563eb!important}
.notification-panel{z-index:99999!important;text-align:left!important}.notification-panel.hidden{display:none!important}
.system-notice-popup{position:fixed!important;inset:0!important;z-index:99998!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(2px)!important}.system-notice-popup article{width:min(520px,calc(100vw - 32px))!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 24px 80px rgba(15,23,42,.24)!important}.system-notice-banner{box-shadow:0 10px 26px rgba(15,23,42,.08)!important}.system-maintenance-lock{position:fixed!important;inset:0!important;z-index:99997!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(248,250,252,.96)!important}.system-maintenance-lock article{width:min(620px,calc(100vw - 32px))!important;padding:28px!important;border:1px solid var(--line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 80px rgba(15,23,42,.18)!important;text-align:center!important}

body[data-page="customizacao.html"] .customization-layout{
  display:grid!important;
  grid-template-columns:minmax(320px,420px) minmax(620px,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="customizacao.html"] .customization-form,
body[data-page="customizacao.html"] .customization-preview-panel{
  min-width:0!important;
  padding:22px!important;
  border:1px solid var(--line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(15,23,42,.055)!important;
}
body[data-page="customizacao.html"] .customization-form{position:sticky!important;top:18px!important;align-self:start!important}
body[data-page="customizacao.html"] .customization-form .form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body[data-page="customizacao.html"] .custom-upload-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.upload-card{overflow:hidden!important}
body[data-page="customizacao.html"] .customization-preview-panel{min-height:calc(100vh - 160px)!important;display:flex!important;flex-direction:column!important;gap:12px!important}
body[data-page="customizacao.html"] .customization-preview-panel>h2{margin:0!important}
body[data-page="customizacao.html"] .document-preview{flex:1 1 auto!important;min-height:560px!important;max-height:none!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:22px!important;border:1px dashed #cfe0ff!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;overflow:auto!important}
body[data-page="customizacao.html"] .preview-sheet{width:min(760px,100%)!important;margin:0!important;padding:30px!important;border-radius:18px!important}
body[data-page="customizacao.html"] .field-help{margin:0!important;max-width:100%!important;line-height:1.45!important}
@media(max-width:1280px){body[data-page="customizacao.html"] .customization-layout{grid-template-columns:1fr!important}body[data-page="customizacao.html"] .customization-form{position:static!important}body[data-page="customizacao.html"] .document-preview{min-height:440px!important}}
@media(max-width:760px){body[data-page="customizacao.html"] .customization-form .form-grid,body[data-page="customizacao.html"] .custom-upload-grid{grid-template-columns:1fr!important}body[data-page="customizacao.html"] .customization-form,body[data-page="customizacao.html"] .customization-preview-panel{padding:16px!important}.notification-panel{right:auto!important;left:0!important;width:calc(100vw - 32px)!important}}


/* v21.9.75 — sino com bolinha vermelha para notificações não visualizadas */
.notification-bell.has-unread{border-color:#fecaca!important;background:#fff1f2!important;color:#dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.08)!important;}
.notification-bell.has-unread span{background:#ef4444!important;color:#fff!important;border-color:#fff!important;box-shadow:0 0 0 3px rgba(239,68,68,.16),0 5px 14px rgba(220,38,38,.24)!important;}
.notification-bell.has-unread::after{content:"";position:absolute;right:4px;top:4px;width:9px;height:9px;border-radius:999px;background:#ef4444;border:2px solid #fff;box-shadow:0 0 0 4px rgba(239,68,68,.18);animation:noticePulse 1.45s ease-in-out infinite;}
.notification-bell:not(.has-unread)::after{display:none!important;}
@keyframes noticePulse{0%,100%{transform:scale(.92);opacity:.72}50%{transform:scale(1.14);opacity:1}}
.notice-window-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;margin-top:6px!important;padding:3px 8px!important;border-radius:999px!important;font-size:10px!important;font-weight:850!important;font-style:normal!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.notice-window-badge.is-scheduled{background:#eff6ff!important;color:#2563eb!important;}
.notice-window-badge.is-current{background:#ecfdf5!important;color:#047857!important;}
.notice-window-badge.is-expired{background:#f8fafc!important;color:#64748b!important;}
.notification-item:not(.is-read){border-color:#fecaca!important;background:#fff7f7!important;box-shadow:inset 3px 0 0 #ef4444!important;}


/* v21.9.77 — banner grande de aviso só na Visão geral; demais páginas usam apenas o sino */
body:not([data-page="index.html"]) .system-notice-banner{display:none!important;}

/* v21.9.99 — Memorial dinâmico e personalização por módulo */
.custom-target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 14px}.custom-target-card{display:grid;gap:4px;align-content:start;min-height:86px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--text);text-align:left;cursor:pointer;transition:.16s ease}.custom-target-card:hover{transform:translateY(-1px);border-color:#bfd5ff;box-shadow:0 12px 26px rgba(15,23,42,.08)}.custom-target-card.active{background:var(--primary-soft);border-color:#bcd4ff;color:var(--primary)}.custom-target-card b{font-size:14px}.custom-target-card span{font-size:12px;line-height:1.35;color:var(--muted)}.custom-target-card.active span{color:#1d4ed8}.custom-section{display:none;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;margin:4px 0 12px}.custom-section.active{display:grid;gap:10px}.notice-options.vertical{display:grid;gap:9px}.mini-map-preview{display:grid;grid-template-columns:1fr 52px;align-items:center;gap:10px;margin:14px 0;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:linear-gradient(135deg,#dbeafe,#ecfdf5)}.mini-map-preview span{font-weight:800;color:#1e3a8a}.mini-map-preview b{height:52px;border:1px solid #94a3b8;border-radius:8px;background:#fff;display:grid;place-items:center;color:#0f172a}.preview-sheet footer img{max-width:74px;max-height:30px;object-fit:contain;margin-right:8px}.memorial-profissional{font-family:Arial,Helvetica,sans-serif}.memorial-company-header{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;border-bottom:2px solid #111827;padding-bottom:16px;margin-bottom:18px}.memorial-company-logo img{max-width:140px;max-height:86px;object-fit:contain}.memorial-logo-placeholder{width:130px;height:76px;border:1px dashed #94a3b8;display:grid;place-items:center;color:#64748b}.memorial-company-data{text-align:right;display:grid;gap:3px}.memorial-company-data strong{font-size:20px}.memorial-company-data span{font-size:12px;color:#475569}.memorial-title{text-align:center;font-size:24px;letter-spacing:.04em;margin:22px 0 20px}.memorial-ident{display:grid;grid-template-columns:1.15fr .85fr;border:1px solid transparent;margin:18px 0 22px;background:#f8fafc;border-radius:14px;overflow:hidden}.memorial-ident>div{padding:13px 16px;line-height:1.7}.memorial-ident>div+div{border-left:1px solid transparent}.memorial-paragraph{text-align:justify;margin:0 0 9px;line-height:1.62}.memorial-map-section{page-break-inside:avoid;margin-top:22px}.memorial-map-note{font-size:12px;color:#475569}.memorial-map-preview{background:#dfe6ef;padding:12px;text-align:center;border:1px solid #cbd5e1}.memorial-map-preview svg,.memorial-map-preview img{max-width:100%;height:auto;background:#fff}.memorial-date{margin:26px 0 20px}.memorial-signatures{display:grid;grid-template-columns:1fr 1fr;gap:38px;margin-top:42px}.memorial-signatures div{text-align:center}.memorial-signatures span{display:block;border-top:1px solid #111827;margin-bottom:8px}.memorial-signatures b,.memorial-signatures small{display:block}.memorial-company-footer{margin-top:28px;padding-top:12px;border-top:1px solid #cbd5e1;display:flex;gap:10px;align-items:center;justify-content:center;color:#64748b;font-size:11px}.memorial-company-footer img{max-height:30px;max-width:90px;object-fit:contain}@media(max-width:760px){.custom-target-grid{grid-template-columns:1fr}.memorial-company-header,.memorial-ident,.memorial-signatures{grid-template-columns:1fr}.memorial-company-data{text-align:left}.memorial-ident>div+div{border-left:0;border-top:1px solid transparent}}


/* v21.9.103 — Memorial: identificação sem linhas visíveis no Word/PDF */
.memorial-profissional{border-color:transparent!important;}
.memorial-ident{border-color:transparent!important;background:#f8fafc!important;}
.memorial-ident>div,.memorial-ident>div+div{border-color:transparent!important;}
@media print{.memorial-ident,.memorial-ident>div{border-color:transparent!important}.memorial-profissional{border:0!important}}


/* v21.9.104 — Personalização com prévia fiel ao template Word */
body[data-page="customizacao.html"] .document-preview{
  background:#edf3fb!important;
  border:1px solid #d5e2f3!important;
  border-radius:16px!important;
  padding:26px!important;
  overflow:auto!important;
  align-items:flex-start!important;
}
.word-template-preview{width:100%;display:flex;justify-content:center;align-items:flex-start;min-width:0}
.word-template-page{
  width:794px;
  min-height:1123px;
  max-width:100%;
  background:#fff;
  color:#0f172a;
  padding:54px 58px 48px;
  box-shadow:0 18px 50px rgba(15,23,42,.18);
  border:1px solid #d7dde8;
  border-radius:4px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  line-height:1.5;
  display:flex;
  flex-direction:column;
  gap:0;
}
.word-template-header{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:18px;
  align-items:center;
  padding-bottom:13px;
  margin-bottom:22px;
  border-bottom:2px solid #13243d;
}
.word-template-logo{display:flex;align-items:center;justify-content:flex-start;min-height:64px}
.word-template-logo img,.word-header-logo{max-width:118px!important;max-height:62px!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important}
.word-logo-placeholder{width:110px;height:58px;border:1px dashed #a8b6ca;border-radius:6px;display:grid;place-items:center;color:#64748b;font-size:11px;background:#f8fafc}
.word-template-company{text-align:right;display:grid;gap:2px;justify-items:end;color:#1f2937}
.word-template-company strong{font-size:18px;line-height:1.15;color:#0f172a}
.word-template-company span{font-size:11px;color:#475569;max-width:430px;overflow-wrap:anywhere}
.word-template-body{flex:1 1 auto}
.word-borderless-table{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:10px 0 22px;padding:0;background:transparent;border:0!important;outline:0!important}
.word-borderless-table>div{padding:2px 8px 2px 0;border:0!important;min-height:21px;line-height:1.35}
.word-borderless-table b{font-weight:800;color:#0f172a}
.word-borderless-table.compact{margin-top:20px;margin-bottom:18px}
.word-main-title{text-align:center;font-size:22px;letter-spacing:.04em;margin:18px 0 20px;color:#0f172a}
.word-section-title{font-size:17px;margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #b8c2d2;color:#0f172a}
.word-paragraph{text-align:justify;margin:0 0 9px;color:#111827;line-height:1.62}
.word-muted-note{font-size:12px;color:#64748b;background:#f8fafc;border-left:3px solid #2563eb;padding:8px 10px;text-align:left;border-radius:6px}
.word-map-section{break-before:page;page-break-before:always;margin-top:28px;padding-top:8px}
.word-map-section h2{font-size:17px;text-align:left;margin:0 0 10px;color:#0f172a}
.word-map-frame{border:1px solid #cbd5e1;background:#f8fafc;padding:10px;text-align:center;position:relative;overflow:hidden}
.word-map-satellite{position:absolute;inset:10px;background:linear-gradient(135deg,#d8e5d1,#9eb88a 42%,#d0c09c 43%,#8fb071 74%,#cbd7e6);opacity:.5}
.word-map-frame svg{position:relative;z-index:1;width:100%;height:auto;max-height:290px;background:rgba(255,255,255,.36)}
.word-caption{font-size:11px;color:#475569;margin:7px 0 0;text-align:center}
.word-placeholder-box{height:220px;border:1px dashed #cbd5e1;border-radius:10px;display:grid;place-items:center;color:#64748b;background:#f8fafc;margin-top:18px;text-align:center;padding:18px}
.word-signatures{display:grid;grid-template-columns:1fr 1fr;gap:42px;margin-top:54px;text-align:center}
.word-signatures span{display:block;border-top:1px solid #111827;margin-bottom:8px;height:1px}
.word-signatures b{display:block;font-size:12px}.word-signatures small{display:block;color:#475569}
.word-template-footer{
  margin-top:30px;
  padding-top:10px;
  border-top:1px solid #cbd5e1;
  display:grid;
  grid-template-columns:54px 1fr;
  gap:10px;
  align-items:center;
  color:#475569;
  font-size:11px;
}
.word-template-footer img{max-width:44px!important;max-height:32px!important;object-fit:contain!important;display:block!important}
.word-template-footer strong{display:block;color:#0f172a;font-size:11px}.word-template-footer span{display:block;overflow-wrap:anywhere}
@media(max-width:980px){.word-template-page{width:100%;min-height:900px;padding:34px 28px}.word-template-header{grid-template-columns:1fr}.word-template-company{text-align:left;justify-items:start}.word-borderless-table{grid-template-columns:1fr}.word-signatures{grid-template-columns:1fr;gap:34px}}

/* v21.9.105 — Planialtimetria técnica em formato de prancha */
body[data-page="planialtimetria.html"] #elevationPreview{
  padding:18px!important;
  background:#edf3f8!important;
  border-radius:18px!important;
  overflow:auto!important;
}
body[data-page="planialtimetria.html"] .planialt-document-preview{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
}
body[data-page="planialtimetria.html"] .planialt-sheet-svg{
  width:min(900px,100%);
  height:auto;
  background:#fff;
  box-shadow:0 22px 50px rgba(15,23,42,.14);
  border-radius:2px;
}
@media print{
  body[data-page="planialtimetria.html"] #elevationPreview{
    padding:0!important;
    border:0!important;
    background:#fff!important;
    overflow:visible!important;
  }
  body[data-page="planialtimetria.html"] .planialt-sheet-svg{
    width:100%!important;
    box-shadow:none!important;
  }
}

/* v21.9.106 — Planialtimetria com altitudes/curvas */
body[data-page="planialtimetria.html"] #loadProjectAltitudes{
  align-self:end!important;
  min-height:42px!important;
}
body[data-page="planialtimetria.html"] #altitudeSource{
  font-weight:750!important;
}
body[data-page="planialtimetria.html"] #elevationPoints{
  font-family:"Cascadia Mono","Consolas",monospace!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body[data-page="planialtimetria.html"] .planialt-sheet-svg text{
  font-family:Arial, Helvetica, sans-serif;
}

/* v21.9.110 — Prancha georreferenciada lateral */
body[data-page="pranchas.html"] .croqui-preview{
  background:#eef5fb!important;
  overflow:auto!important;
  padding:18px!important;
}
body[data-page="pranchas.html"] .croqui-preview svg{
  width:100%;
  max-width:1240px;
  height:auto;
  display:block;
  margin:0 auto;
  background:#fff;
  box-shadow:0 18px 48px rgba(15,23,42,.14);
}
body[data-page="pranchas.html"] .georef-sheet-svg{
  max-width:1280px!important;
}
@media print{
  body[data-page="pranchas.html"] .side,
  body[data-page="pranchas.html"] .top,
  body[data-page="pranchas.html"] .panel > h2,
  body[data-page="pranchas.html"] .panel > .panel-desc,
  body[data-page="pranchas.html"] .panel > .form-grid,
  body[data-page="pranchas.html"] .panel > .button-row,
  body[data-page="pranchas.html"] #suiteToast{display:none!important;}
  body[data-page="pranchas.html"] .suite,
  body[data-page="pranchas.html"] .main,
  body[data-page="pranchas.html"] .panel,
  body[data-page="pranchas.html"] .croqui-preview{
    display:block!important;
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
  }
  body[data-page="pranchas.html"] .croqui-preview svg{
    width:100%!important;
    max-width:none!important;
    box-shadow:none!important;
  }
}


/* v21.9.145 — Loteamentos / REURB: corrige layout quebrado dos painéis inferiores.
   O reparo de accordion envolvia .loteamento-layout, que continuava como grid no painel
   principal e jogava o conteúdo para a lateral. O painel agora vira bloco e o corpo interno
   assume a grade correta, no mesmo padrão visual dos painéis superiores. */
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout{
  display:block!important;
  grid-template-columns:none!important;
  padding:0!important;
  overflow:hidden!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout:not(.is-collapsed) .module-accordion-body{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr)!important;
  gap:16px!important;
  padding:0 16px 16px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .module-accordion-body>div{
  min-width:0!important;
  padding:16px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .module-accordion-body>div h2{
  margin:0 0 12px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid var(--line-soft)!important;
  font-size:18px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .table-wrap,
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .preview{
  border-radius:4px!important;
  box-shadow:none!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .button-row{
  margin-top:12px!important;
  gap:8px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .btn,
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .link-btn{
  min-height:34px!important;
  padding:0 10px!important;
  border-radius:4px!important;
  font-size:12px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .form-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;
  gap:10px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .croqui-preview{
  min-height:260px!important;
}
@media(max-width:1180px){
  body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout:not(.is-collapsed) .module-accordion-body{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   v21.9.148 — Personalização: refatoração real do preview Word
   Remove dependência de zoom/scale antigo e evita corte lateral.
   ========================================================== */
body[data-page="customizacao.html"] .customization-layout{
  display:grid!important;
  grid-template-columns:minmax(500px,.86fr) minmax(740px,1.14fr)!important;
  gap:20px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="customizacao.html"] .customization-form,
body[data-page="customizacao.html"] .customization-preview-panel{
  min-width:0!important;
  padding:22px!important;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(15,23,42,.055)!important;
}
body[data-page="customizacao.html"] .customization-form{
  position:sticky!important;
  top:18px!important;
  align-self:start!important;
}
body[data-page="customizacao.html"] .customization-preview-panel{
  width:100%!important;
  min-height:calc(100vh - 150px)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  position:sticky!important;
  top:18px!important;
  align-self:start!important;
}
body[data-page="customizacao.html"] .customization-preview-panel>h2{
  margin:0!important;
}
body[data-page="customizacao.html"] .document-preview{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:720px!important;
  max-height:calc(100vh - 210px)!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:18px!important;
  border:1px solid #d5e2f3!important;
  border-radius:14px!important;
  background:#edf3fb!important;
  overflow:auto!important;
}
body[data-page="customizacao.html"] .word-template-preview{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
  transform:none!important;
  zoom:1!important;
  margin:0!important;
}
body[data-page="customizacao.html"] .word-template-page{
  width:min(100%,780px)!important;
  max-width:780px!important;
  min-width:0!important;
  min-height:1100px!important;
  margin:0 auto!important;
  padding:50px 54px 48px!important;
  overflow:visible!important;
  transform:none!important;
}
body[data-page="customizacao.html"] .word-template-company span{
  max-width:100%!important;
}
body[data-page="customizacao.html"] .custom-target-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body[data-page="customizacao.html"] .customization-form .form-grid,
body[data-page="customizacao.html"] .custom-upload-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:1360px){
  body[data-page="customizacao.html"] .customization-layout{
    grid-template-columns:minmax(470px,.9fr) minmax(640px,1.1fr)!important;
  }
  body[data-page="customizacao.html"] .word-template-page{
    width:min(100%,720px)!important;
    padding:44px 46px 44px!important;
  }
}
@media(max-width:1180px){
  body[data-page="customizacao.html"] .customization-layout{grid-template-columns:1fr!important;}
  body[data-page="customizacao.html"] .customization-form,
  body[data-page="customizacao.html"] .customization-preview-panel{position:static!important;}
  body[data-page="customizacao.html"] .document-preview{min-height:520px!important;max-height:none!important;}
  body[data-page="customizacao.html"] .word-template-page{width:min(780px,100%)!important;max-width:100%!important;}
}
@media(max-width:760px){
  body[data-page="customizacao.html"] .custom-target-grid,
  body[data-page="customizacao.html"] .customization-form .form-grid,
  body[data-page="customizacao.html"] .custom-upload-grid{grid-template-columns:1fr!important;}
  body[data-page="customizacao.html"] .customization-form,
  body[data-page="customizacao.html"] .customization-preview-panel{padding:16px!important;}
  body[data-page="customizacao.html"] .word-template-page{padding:30px 24px!important;}
}
@media(max-width:1180px){
}
@media(max-width:760px){
}

/* v21.9.223 — Perímetro por azimute: preview limpo e impressão isolada */
body[data-page="perimetros.html"] #azimuthPreview.croqui-preview{
  background:#f8fafc!important;
  padding:18px!important;
  overflow:auto!important;
  text-align:center!important;
}
body[data-page="perimetros.html"] #azimuthPreview svg{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  background:#f4f7fb!important;
}
body[data-page="perimetros.html"] .table-wrap{
  margin-top:18px!important;
}


/* v21.9.247 — remove fundo visual dos containers de ícones */
.nav-icon-image,.quick-grid a>span:first-child,.doc-type,.cloud-icon,.official-card .ico,.workspace-official-card .ico{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.module-icon-img{background:transparent!important;box-shadow:none!important;}
@media(max-width:760px){
}

/* v21.9.271 — Admin comunicação e novidades da versão */
.notice-mode-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 18px}.notice-mode-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px;text-align:left;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.04)}.notice-mode-card b{display:block;font-size:13px;color:var(--text);margin-bottom:4px}.notice-mode-card span{display:block;font-size:12px;line-height:1.35;color:var(--muted)}.notice-mode-card.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 10px 28px rgba(37,99,235,.12)}.notice-mode-card.release-card.active{background:linear-gradient(135deg,#eff6ff,#f5f3ff);border-color:#7c3aed}.release-notice-builder{margin:16px 0;padding:16px;border:1px solid #cfe0ff;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#fff)}.release-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.release-builder-head h3{margin:3px 0 4px;font-size:18px}.release-builder-head p{margin:0;color:var(--muted)}.release-slides-list{display:grid;gap:12px;margin-top:14px}.release-slide-editor{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(180px,280px) auto;gap:12px;align-items:stretch;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff}.release-slide-number{width:36px;height:36px;border-radius:12px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-weight:900}.release-slide-fields{display:grid;gap:10px}.release-slide-preview{min-height:140px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;color:#64748b;font-size:12px}.release-slide-preview img{width:100%;height:100%;object-fit:cover;display:block}.release-slide-actions{display:flex;flex-direction:column;gap:6px}.notice-actions{white-space:nowrap}.notice-actions .tiny-button{margin:2px}.release-notes-overlay{position:fixed!important;inset:0!important;z-index:99999!important;display:grid!important;place-items:center!important;padding:32px!important;background:radial-gradient(circle at top left,rgba(37,99,235,.28),transparent 36%),linear-gradient(135deg,#020617,#071225 54%,#0f172a)!important;color:#fff!important}.release-notes-card{width:min(1180px,calc(100vw - 40px));min-height:min(720px,calc(100vh - 40px));display:grid;grid-template-columns:minmax(320px,.82fr) minmax(420px,1.18fr);grid-template-rows:1fr auto;gap:26px;align-items:center}.release-notes-copy h1{font-size:clamp(38px,5vw,72px);line-height:.98;margin:0 0 14px;font-weight:700;letter-spacing:-.045em}.release-notes-copy h2{font-size:clamp(22px,2.2vw,34px);margin:18px 0 8px;letter-spacing:-.02em}.release-notes-copy p{font-size:clamp(15px,1.35vw,20px);line-height:1.5;color:rgba(255,255,255,.82);margin:0 0 10px}.release-notes-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-weight:850;color:#bfdbfe}.release-notes-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.release-notes-actions .btn{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff}.release-notes-actions .btn.primary{background:#2563eb;border-color:#2563eb}.release-notes-actions .btn:disabled{opacity:.42;cursor:not-allowed}.release-notes-media{min-height:420px;border-radius:28px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 120px rgba(0,0,0,.38);overflow:hidden;display:grid;place-items:center;color:rgba(255,255,255,.62)}.release-notes-media img{width:100%;height:100%;object-fit:contain;background:rgba(255,255,255,.04)}.release-notes-progress{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;align-items:end}.release-notes-progress button{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.68);text-align:left;cursor:pointer;padding:0}.release-notes-progress button::before{content:'';display:block;height:2px;background:rgba(255,255,255,.25);margin-bottom:8px}.release-notes-progress button.active{color:#67e8f9}.release-notes-progress button.active::before{background:#67e8f9;height:3px}.release-notes-progress span{font-weight:850;margin-right:5px}.release-notes-progress em{font-style:normal;font-size:12px}.release-theme-light{background:#f8fafc!important;color:#0f172a!important}.release-theme-light .release-notes-copy p{color:#475569}.release-theme-light .release-notes-kicker{background:#eaf2ff;border-color:#cfe0ff;color:#2563eb}.release-theme-light .release-notes-actions .btn{background:#fff;color:#0f172a;border-color:#cbd5e1}.release-theme-light .release-notes-actions .btn.primary{background:#2563eb;color:#fff}.release-theme-light .release-notes-media{background:#fff;border-color:#dbe4f0;box-shadow:0 24px 70px rgba(15,23,42,.14);color:#64748b}.release-theme-light .release-notes-progress button{color:#64748b}.release-theme-light .release-notes-progress button::before{background:#cbd5e1}.release-theme-light .release-notes-progress button.active{color:#2563eb}.release-theme-light .release-notes-progress button.active::before{background:#2563eb}.release-theme-surveyor{background:radial-gradient(circle at 10% 8%,rgba(96,165,250,.32),transparent 32%),radial-gradient(circle at 84% 18%,rgba(124,58,237,.28),transparent 30%),linear-gradient(135deg,#06112a,#071c46 55%,#0a1024)!important}@media(max-width:980px){.notice-mode-grid{grid-template-columns:1fr 1fr}.release-slide-editor{grid-template-columns:36px 1fr}.release-slide-preview,.release-slide-actions{grid-column:2}.release-notes-card{grid-template-columns:1fr;overflow:auto}.release-notes-media{min-height:260px}.release-notes-copy h1{font-size:40px}}@media(max-width:640px){.notice-mode-grid{grid-template-columns:1fr}.release-notes-overlay{padding:18px!important}.release-notes-card{width:100%;min-height:auto}.release-notes-actions .btn{flex:1}.release-notes-progress{grid-template-columns:1fr 1fr}.release-slide-editor{grid-template-columns:1fr}.release-slide-number,.release-slide-preview,.release-slide-actions{grid-column:auto}.release-slide-actions{flex-direction:row;flex-wrap:wrap}}

/* v21.9.313 — Admin: cards de planos limpos e botao excluir */
#tab-plans .plans-grid{
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
#tab-plans .plan-card-v313{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  min-height:0!important;
  padding:18px!important;
  border:1px solid #dbe5f2!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
}
#tab-plans .plan-card-v313.inactive-plan{
  opacity:.72!important;
  background:#f8fafc!important;
}
#tab-plans .plan-card-v313 .plan-top{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:16px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #edf2f7!important;
}
#tab-plans .plan-card-v313 .plan-title-block{
  min-width:0!important;
}
#tab-plans .plan-card-v313 .plan-billing-chip{
  display:inline-flex!important;
  width:max-content!important;
  align-items:center!important;
  min-height:22px!important;
  padding:3px 9px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
#tab-plans .plan-card-v313 h3{
  margin:8px 0 0!important;
  font-size:17px!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
  color:#0f172a!important;
}
#tab-plans .plan-card-v313 .plan-price-stack{
  text-align:right!important;
  flex:0 0 auto!important;
}
#tab-plans .plan-card-v313 .plan-price-stack strong{
  display:block!important;
  font-size:18px!important;
  line-height:1.15!important;
  color:#0f172a!important;
  white-space:nowrap!important;
}
#tab-plans .plan-card-v313 .status-pill{
  display:inline-flex!important;
  margin-top:6px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:900!important;
}
#tab-plans .plan-card-v313 .status-pill.active{background:#dcfce7!important;color:#047857!important;}
#tab-plans .plan-card-v313 .status-pill.inactive{background:#fee2e2!important;color:#b91c1c!important;}
#tab-plans .plan-card-v313 .plan-description{
  margin:0!important;
  color:#475569!important;
  font-size:13px!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#tab-plans .plan-card-v313 .plan-permission-summary{
  display:grid!important;
  gap:8px!important;
  padding:12px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}
#tab-plans .plan-card-v313 .plan-permission-summary>strong{
  font-size:12px!important;
  color:#334155!important;
}
#tab-plans .plan-card-v313 .plan-permissions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  align-items:flex-start!important;
}
#tab-plans .plan-card-v313 .plan-permissions span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  max-width:100%!important;
  padding:5px 8px!important;
  border:1px solid #dbeafe!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#1e3a8a!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#tab-plans .plan-card-v313 .plan-permissions span b{
  display:inline-grid!important;
  place-items:center!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  background:#dbeafe!important;
  color:#1d4ed8!important;
  font-size:10px!important;
}
#tab-plans .plan-card-v313 .plan-permission-details{
  margin:0!important;
  border:1px dashed #cbd5e1!important;
  border-radius:12px!important;
  padding:8px 10px!important;
  background:#fff!important;
}
#tab-plans .plan-card-v313 .plan-permission-details summary{
  cursor:pointer!important;
  color:#2563eb!important;
  font-size:12px!important;
  font-weight:900!important;
  list-style:none!important;
}
#tab-plans .plan-card-v313 .plan-permission-details summary::-webkit-details-marker{display:none!important;}
#tab-plans .plan-card-v313 .plan-permissions-detail{
  margin-top:8px!important;
  max-height:150px!important;
  overflow:auto!important;
}
#tab-plans .plan-card-v313 .plan-permissions-detail span{
  border-color:#e2e8f0!important;
  color:#334155!important;
  background:#f8fafc!important;
}
#tab-plans .plan-card-v313 .plan-meta{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:auto!important;
}
#tab-plans .plan-card-v313 .plan-meta small{
  display:block!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:11px!important;
  line-height:1.25!important;
}
#tab-plans .plan-card-v313 .plan-meta small b{
  color:#0f172a!important;
}
#tab-plans .plan-card-v313 .plan-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding-top:12px!important;
  border-top:1px solid #edf2f7!important;
}
#tab-plans .plan-card-v313 .plan-actions .tiny-button{
  min-height:34px!important;
  border-radius:10px!important;
}
#tab-plans .plan-card-v313 .plan-actions .tiny-button.danger{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
  color:#c2410c!important;
}
#tab-plans .plan-card-v313 .plan-actions .tiny-button.danger:hover{
  background:#ffedd5!important;
  border-color:#fdba74!important;
}
@media(max-width:520px){
  #tab-plans .plans-grid{grid-template-columns:1fr!important;}
  #tab-plans .plan-card-v313 .plan-top{flex-direction:column!important;}
  #tab-plans .plan-card-v313 .plan-price-stack{text-align:left!important;}
  #tab-plans .plan-card-v313 .plan-meta{grid-template-columns:1fr!important;}
}

/* v21.9.350 — proprietário CAR */
.car-owner-row{display:grid;grid-template-columns:38px repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;}
.car-owner-row .btn.danger{width:38px;min-width:38px;height:38px;padding:0;align-self:center;}
.car-owner-save-row{display:flex;justify-content:flex-end;margin-top:10px;}
@media(max-width:760px){.car-owner-row{grid-template-columns:38px 1fr;}.car-owner-row .owner-role{grid-column:2;}.car-owner-save-row{justify-content:stretch;}.car-owner-save-row .btn{width:100%;}}


/* ==========================================================
   v21.9.362 — Módulo CAR simplificado e mapa somente leitura
   ========================================================== */
body[data-page="car.html"] .main{max-width:1500px;margin:0 auto;width:100%}
body[data-page="car.html"] .top{margin-bottom:12px}
body[data-page="car.html"] .top p{max-width:620px}
.car-project-picker-simple{display:grid!important;grid-template-columns:minmax(260px,520px) minmax(0,1fr)!important;align-items:end!important;gap:14px!important;padding:14px 16px!important}
.car-project-picker-simple #carSaveState{min-height:42px;display:flex;align-items:center;color:var(--muted);font-size:12px}
.car-simple-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:16px!important;padding:6px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important}
.car-simple-tabs button{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:42px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;font-weight:800!important}
.car-simple-tabs button small{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:inherit;font-size:11px}
.car-simple-tabs button.active{background:var(--primary-soft)!important;color:var(--primary)!important}
.car-simple-tabs button.active small{border-color:var(--primary);background:var(--primary);color:#fff}
.car-readonly-note{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.car-view-feature{min-height:32px!important;padding:0 10px!important;font-size:12px!important}
.car-map-viewer-dialog{width:min(1180px,calc(100vw - 28px));height:min(760px,calc(100vh - 28px));max-width:none;max-height:none;padding:0!important;border:0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 28px 90px rgba(15,23,42,.26)}
.car-map-viewer-dialog::backdrop{background:rgba(15,23,42,.48)}
.car-map-viewer-dialog[open]{display:block}
.car-map-viewer-shell{height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr);background:#fff}
.car-map-viewer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}
.car-map-viewer-header h2{margin:5px 0 0;font-size:20px}
.car-map-viewer-header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.car-map-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid var(--line);background:#f8fbff}
.car-readonly-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #cfe0ff;border-radius:999px;background:#fff;color:var(--primary);font-size:11px;font-weight:850}
.car-readonly-badge::before{content:'◉';font-size:9px}
.car-map-viewer-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px}
.car-map-canvas-wrap{position:relative;min-width:0;min-height:420px;background:#eef3f8}
#carReadonlyMap{position:absolute;inset:0;z-index:1}
.car-map-empty{position:absolute;left:50%;top:50%;z-index:500;transform:translate(-50%,-50%);max-width:320px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.96);color:var(--muted);text-align:center;box-shadow:0 12px 34px rgba(15,23,42,.12)}
.car-map-layer-panel{min-height:0;overflow:auto;padding:14px;border-left:1px solid var(--line);background:#fff}
.car-map-layer-panel h3{margin:0;font-size:16px}
.car-map-layer-panel>p{margin:4px 0 12px;color:var(--muted);font-size:12px}
.car-map-layer-list{display:grid;gap:8px}
.car-map-layer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff}
.car-map-layer-row label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-width:0}
.car-map-layer-row input{width:auto;min-height:auto;margin-top:3px}
.car-map-layer-row b,.car-map-layer-row small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.car-map-layer-row b{font-size:12px}.car-map-layer-row small{margin-top:3px;color:var(--muted);font-size:10px;font-weight:500}
.car-map-layer-row button{min-height:30px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--primary);font-size:11px;font-weight:850}
.car-map-layer-empty{padding:16px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px;text-align:center}
.car-map-viewer-dialog .leaflet-control-container,.car-map-viewer-dialog .leaflet-pane{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
@media(max-width:900px){.car-project-picker-simple{grid-template-columns:1fr!important}.car-simple-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.car-map-viewer-layout{grid-template-columns:1fr;grid-template-rows:minmax(360px,1fr) auto}.car-map-layer-panel{max-height:210px;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:560px){.car-simple-tabs{grid-template-columns:1fr 1fr!important}.car-simple-tabs button{font-size:12px}.car-map-viewer-dialog{width:calc(100vw - 12px);height:calc(100vh - 12px)}.car-map-viewer-header{padding:12px}.car-map-viewer-toolbar{padding:8px}.car-map-viewer-toolbar .btn{min-height:34px;padding:0 9px;font-size:11px}}

/* v21.9.364 — mapa interno do CAR com fundo alternável e estilos salvos */
.car-map-toolbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.car-map-base-switch{display:inline-flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}
.car-map-base-switch button{min-height:30px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:11px;font-weight:850;cursor:pointer}
.car-map-base-switch button.active{background:var(--primary);color:#fff}
.car-map-base-status{color:var(--muted);font-size:11px}.car-map-base-status b{color:var(--text)}
.car-map-style-swatch{width:12px;height:12px;margin-top:3px;border:2px solid var(--car-feature-color,#2563eb);border-radius:3px;background:color-mix(in srgb,var(--car-feature-color,#2563eb) 24%,transparent);box-shadow:0 0 0 2px #fff;flex:0 0 12px}
.car-map-layer-row label{grid-template-columns:auto auto minmax(0,1fr)!important}
.car-map-layer-row.invalid{opacity:.65}.car-map-layer-row button:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:680px){.car-map-viewer-toolbar{align-items:flex-start}.car-map-toolbar-left{width:100%}.car-map-base-status{display:none}}

/* v21.9.364 — desenho explícito das feições no visualizador interno do CAR */
.car-readonly-drawing-overlay{position:absolute;inset:0;z-index:470;width:100%;height:100%;overflow:hidden;pointer-events:none}
.car-readonly-feature-shape{paint-order:fill stroke markers;shape-rendering:geometricPrecision}

/* v21.9.365 — Módulo CAR simplificado e validação no topo */
.car-simple-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.car-validation-dialog{width:min(620px,calc(100vw - 28px));max-width:none;padding:0!important;border:0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 28px 90px rgba(15,23,42,.26)}
.car-validation-dialog::backdrop{background:rgba(15,23,42,.48)}
.car-validation-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid var(--line)}
.car-validation-shell h2{margin:5px 0 0;font-size:20px}
.car-validation-result{padding:18px;color:var(--text);font-size:13px;line-height:1.55}
.car-validation-result ul{margin:14px 0 0;padding-left:22px;display:grid;gap:8px}
.car-validation-summary{padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.car-validation-summary b,.car-validation-summary p{display:block;margin:0}.car-validation-summary p{margin-top:4px;color:var(--muted)}
.car-validation-summary.warning{border-color:#f59e0b;background:#fff7ed}.car-validation-summary.success{border-color:#22c55e;background:#f0fdf4}
@media(max-width:560px){.car-simple-tabs{grid-template-columns:1fr!important}.top-actions{flex-wrap:wrap}}

/* v21.9.366 — validação do CAR sempre visível ao lado do seletor */
.car-project-picker-simple{grid-template-columns:minmax(260px,520px) minmax(0,1fr) auto!important}
.car-validate-project-btn{align-self:end;min-height:42px;white-space:nowrap}
@media(max-width:900px){.car-project-picker-simple{grid-template-columns:1fr!important}.car-validate-project-btn{justify-self:start}}

/* v21.9.384 — bordas azuis uniformes apenas na interface */
@media screen {
  body:not(.georural-map-page) .panel,
  body:not(.georural-map-page) .summary > *,
  body:not(.georural-map-page) .dashboard-stats > *,
  body:not(.georural-map-page) .official-grid > *,
  body:not(.georural-map-page) .workspace-official-grid > *,
  body:not(.georural-map-page) .module-accordion-panel,
  body:not(.georural-map-page) .customization-form,
  body:not(.georural-map-page) .customization-preview-panel,
  body:not(.georural-map-page) input,
  body:not(.georural-map-page) select,
  body:not(.georural-map-page) textarea,
  body:not(.georural-map-page) .preview,
  body:not(.georural-map-page) .output {
    border-color:#1d63e9!important;
  }
  body[data-page="acervos.html"] .top{display:none!important}
  body[data-page="acervos.html"] .panel>.panel-heading,
  body[data-page="acervos.html"] .panel>h2,
  body[data-page="acervos.html"] .panel>.panel-desc{display:none!important}
}

/* v21.9.404 — contatos e preferências do Conecta+ */
.conecta-plus-preferences{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:12px;padding:13px 14px;border:1px solid #d7e6ff;border-radius:12px;background:#f7faff}
.conecta-plus-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important}
.conecta-plus-consent input,.conecta-plus-reminders input{width:auto!important;min-height:auto!important;margin-top:2px}
.conecta-plus-consent span{display:grid;gap:3px}.conecta-plus-consent small{color:var(--muted);font-weight:500;line-height:1.4}
.conecta-plus-reminders{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.conecta-plus-reminders strong{width:100%;font-size:12px;color:#334155}.conecta-plus-reminders label{display:flex!important;align-items:center;gap:6px!important;font-size:12px}
.whatsapp-cell{display:grid;gap:4px}.whatsapp-cell a{font-weight:800;color:var(--primary);text-decoration:none;white-space:nowrap}.whatsapp-cell small{color:var(--muted);font-size:11px}.whatsapp-cell .disabled-contact{color:#94a3b8;font-weight:700}
@media(max-width:760px){.conecta-plus-preferences{grid-template-columns:1fr}.conecta-plus-reminders{align-items:flex-start}}


/* ===== assets/css/core/layout-pro-v21.9.118.css ===== */

/* ==========================================================
   v21.9.129 — Workspace Design reconstruído
   Referência visual: sidebar clara, topbar leve, cards quadrados
   ========================================================== */
:root{
  --sv-sidebar:240px;
  --sv-topbar:58px;
  --sv-bg:#f7f9fc;
  --sv-surface:#ffffff;
  --sv-text:#111827;
  --sv-muted:#5f6b7a;
  --sv-soft:#f3f6fb;
  --sv-line:#dfe5ee;
  --sv-line-2:#edf1f6;
  --sv-primary:#0f5bdc;
  --sv-primary-2:#0647b6;
  --sv-primary-soft:#edf4ff;
  --sv-icon:#64748b;
  --sv-success:#0f766e;
  --sv-warning:#b45309;
  --sv-danger:#b91c1c;
  --sidebar:var(--sv-sidebar);
  --bg:var(--sv-bg);
  --surface:var(--sv-surface);
  --line:var(--sv-line);
  --text:var(--sv-text);
  --muted:var(--sv-muted);
  --primary:var(--sv-primary);
  --primary-600:var(--sv-primary-2);
  --primary-soft:var(--sv-primary-soft);
  --radius:6px;
  --radius-sm:4px;
  --shadow:none;
}
html,body{background:var(--sv-bg)!important;color:var(--sv-text)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:14px;}
body.surveyor-shell-pro{padding-top:0!important;background:var(--sv-bg)!important;}
body.surveyor-shell-pro::before{content:"";position:fixed;left:var(--sv-sidebar);right:0;top:0;height:var(--sv-topbar);background:#fff;border-bottom:1px solid var(--sv-line);z-index:999;pointer-events:none;}
.surveyor-shell-pro .suite{min-height:100vh!important;display:grid!important;grid-template-columns:var(--sv-sidebar) minmax(0,1fr)!important;background:var(--sv-bg)!important;}
.surveyor-shell-pro .side{position:fixed!important;inset:0 auto 0 0!important;width:var(--sv-sidebar)!important;height:100vh!important;z-index:1100!important;background:#fff!important;border-right:1px solid var(--sv-line)!important;box-shadow:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important;display:flex!important;flex-direction:column!important;}
.surveyor-shell-pro .main{grid-column:2!important;min-width:0!important;padding:calc(var(--sv-topbar) + 26px) 32px 42px!important;max-width:1160px!important;width:100%!important;}
.sv-pro-topbar{position:fixed!important;top:0!important;left:var(--sv-sidebar)!important;right:0!important;height:var(--sv-topbar)!important;z-index:1201!important;display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(280px,520px) auto!important;align-items:center!important;gap:18px!important;padding:0 24px!important;background:#fff!important;border-bottom:1px solid var(--sv-line)!important;color:var(--sv-text)!important;box-shadow:none!important;}
.sv-pro-brand{display:none!important;}
.sv-pro-search{height:34px!important;max-width:520px!important;width:100%!important;justify-self:start!important;display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #d8dee8!important;border-radius:3px!important;background:#fff!important;color:var(--sv-muted)!important;padding:0 10px!important;box-shadow:none!important;}
.sv-pro-search svg{width:15px!important;height:15px!important;stroke:#64748b!important;fill:none!important;stroke-width:2!important;flex:0 0 auto!important;}
.sv-pro-search input{min-height:30px!important;height:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;color:#111827!important;font-size:13px!important;font-weight:500!important;}
.sv-pro-search input::placeholder{color:#8a94a6!important;}
.sv-pro-search-results{position:absolute!important;top:48px!important;left:24px!important;width:min(520px,calc(100vw - var(--sv-sidebar) - 48px))!important;background:#fff!important;border:1px solid var(--sv-line)!important;border-radius:5px!important;box-shadow:0 18px 42px rgba(15,23,42,.12)!important;overflow:hidden!important;z-index:1400!important;}
.sv-pro-search-results a{display:grid!important;gap:2px!important;padding:10px 12px!important;text-decoration:none!important;border-bottom:1px solid var(--sv-line-2)!important;color:var(--sv-text)!important;}
.sv-pro-search-results a:hover{background:#f8fafc!important;}
.sv-pro-search-results span{font-size:10px!important;color:#64748b!important;text-transform:uppercase!important;font-weight:800!important;letter-spacing:.04em!important;}
.sv-pro-search-results b{font-size:13px!important;}
.sv-pro-search-results small,.sv-pro-search-results p{font-size:12px!important;color:#64748b!important;margin:0!important;padding:8px 12px!important;}
.sv-pro-topbar-actions{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-end!important;}
.sv-pro-help{width:32px!important;height:32px!important;min-height:32px!important;border:1px solid #d9e1ec!important;border-radius:999px!important;background:#fff!important;color:#111827!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important;padding:0!important;}
.sv-pro-user-fallback{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-width:34px!important;padding:0 11px!important;border:1px solid #d9e1ec!important;border-radius:999px!important;background:#eef2ff!important;color:#4f46e5!important;font-size:12px!important;font-weight:800!important;}
.sv-pro-user-fallback b{font-size:12px!important;font-weight:800!important;}
.surveyor-shell-pro .brand{height:70px!important;padding:14px 14px!important;border-bottom:1px solid var(--sv-line)!important;background:#fff!important;gap:9px!important;}
.surveyor-shell-pro .brand-mark{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:6px!important;background:#ecf3ff!important;border:1px solid #d9e6fa!important;box-shadow:none!important;}
.surveyor-shell-pro .brand-mark img{width:24px!important;height:24px!important;object-fit:contain!important;}
.surveyor-shell-pro .brand strong{display:block!important;color:#0f172a!important;font-size:15px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.01em!important;}
.surveyor-shell-pro .brand small{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:9px!important;font-weight:700!important;letter-spacing:.01em!important;text-transform:none!important;}
.surveyor-shell-pro .nav{padding:12px 8px!important;gap:2px!important;overflow:auto!important;}
.surveyor-shell-pro .nav a{display:grid!important;grid-template-columns:24px minmax(0,1fr) 10px!important;align-items:center!important;gap:8px!important;min-height:34px!important;padding:7px 8px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#344054!important;text-decoration:none!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important;}
.surveyor-shell-pro .nav a::after{content:"";width:4px;height:4px;border-right:1.5px solid #98a2b3;border-bottom:1.5px solid #98a2b3;transform:rotate(-45deg);opacity:.55;justify-self:end;}
.surveyor-shell-pro .nav a:hover{background:#f4f6fa!important;color:#0f172a!important;border:0!important;}
.surveyor-shell-pro .nav a.active{background:#eef1f5!important;color:#0f172a!important;border:0!important;box-shadow:inset 3px 0 0 var(--sv-primary)!important;}
.surveyor-shell-pro .nav a span:first-child,.surveyor-shell-pro .nav-icon{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:3px!important;background:#fff!important;border:1px solid #e3e8f0!important;color:#64748b!important;font-size:11px!important;font-weight:800!important;}
.surveyor-shell-pro .nav a.active span:first-child,.surveyor-shell-pro .nav a.active .nav-icon{background:#e9f1ff!important;border-color:#cddffc!important;color:#0f5bdc!important;}
.surveyor-shell-pro .side-note{display:none!important;}
.sv-side-footer{margin-top:auto!important;border-top:1px solid var(--sv-line)!important;padding:10px 8px 12px!important;display:grid!important;gap:2px!important;background:#fff!important;}
.sv-side-footer a,.sv-side-footer button{height:32px!important;display:grid!important;grid-template-columns:24px 1fr!important;align-items:center!important;gap:8px!important;padding:0 8px!important;border:0!important;background:transparent!important;color:#344054!important;text-decoration:none!important;border-radius:3px!important;font-size:12px!important;font-weight:650!important;text-align:left!important;}
.sv-side-footer a:hover,.sv-side-footer button:hover{background:#f4f6fa!important;color:#0f172a!important;}
.sv-side-footer a::before{content:"?";width:20px;height:20px;border:1px solid #e3e8f0;border-radius:4px;display:grid;place-items:center;color:#64748b;font-weight:900;}
.sv-side-footer button::before{content:"↪";width:20px;height:20px;border:1px solid #e3e8f0;border-radius:4px;display:grid;place-items:center;color:#64748b;font-weight:900;}
.surveyor-shell-pro .top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 22px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.surveyor-shell-pro .top h1{margin:0!important;font-size:28px!important;line-height:1.08!important;font-weight:850!important;color:#0f172a!important;letter-spacing:-.03em!important;}
.surveyor-shell-pro .top p{margin:6px 0 0!important;color:#5f6b7a!important;font-size:13px!important;line-height:1.45!important;max-width:680px!important;}
.surveyor-shell-pro .top-actions{display:flex!important;gap:8px!important;align-items:center!important;}
.surveyor-shell-pro .mobile-toggle{display:none!important;}
.surveyor-shell-pro .hero{display:none!important;}
.surveyor-shell-pro .panel,.surveyor-shell-pro .card,.surveyor-shell-pro .table-wrap,.surveyor-shell-pro .preview,.surveyor-shell-pro .output,.surveyor-shell-pro .empty-box,.surveyor-shell-pro .dashboard-stats article,.surveyor-shell-pro .cloud-summary article,.surveyor-shell-pro .admin-stats article,.surveyor-shell-pro .quick-grid a,.surveyor-shell-pro .recent-list>a,.surveyor-shell-pro .official-card,.surveyor-shell-pro .cloud-item,.surveyor-shell-pro .admin-tabs,.surveyor-shell-pro .plan-card,.surveyor-shell-pro .integration-grid article{background:#fff!important;border:1px solid var(--sv-line)!important;border-radius:5px!important;box-shadow:none!important;}
.surveyor-shell-pro .panel{padding:20px!important;margin-bottom:18px!important;}
.surveyor-shell-pro .panel h2,.surveyor-shell-pro .panel-heading h2{margin:0!important;font-size:18px!important;line-height:1.2!important;font-weight:800!important;color:#0f172a!important;}
.surveyor-shell-pro .panel-heading{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:16px!important;border-bottom:0!important;}
.surveyor-shell-pro .panel-heading a{font-size:11px!important;color:#0f5bdc!important;text-decoration:none!important;font-weight:800!important;}
.surveyor-shell-pro .panel-desc{font-size:12.5px!important;color:#64748b!important;line-height:1.5!important;margin:6px 0 16px!important;}
.surveyor-shell-pro .eyebrow{display:none!important;}
.surveyor-shell-pro .dashboard-stats,.surveyor-shell-pro .cloud-summary,.surveyor-shell-pro .admin-stats,.surveyor-shell-pro .summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:18px!important;}
.surveyor-shell-pro .dashboard-stats article,.surveyor-shell-pro .cloud-summary article,.surveyor-shell-pro .admin-stats article,.surveyor-shell-pro .stat{padding:14px!important;border-radius:5px!important;}
.surveyor-shell-pro .dashboard-stats span,.surveyor-shell-pro .cloud-summary span,.surveyor-shell-pro .admin-stats span,.surveyor-shell-pro .stat span{font-size:11px!important;color:#667085!important;font-weight:650!important;}
.surveyor-shell-pro .dashboard-stats strong,.surveyor-shell-pro .cloud-summary strong,.surveyor-shell-pro .admin-stats strong,.surveyor-shell-pro .stat strong{font-size:21px!important;margin-top:6px!important;color:#0f172a!important;font-weight:850!important;}
.surveyor-shell-pro .dashboard-columns,.surveyor-shell-pro .workspace-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr)!important;gap:18px!important;align-items:start!important;}
.surveyor-shell-pro .workspace-official-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;}
.surveyor-shell-pro .workspace-official-card{min-height:96px!important;border:1px solid #dfe5ee!important;border-radius:3px!important;background:#fff!important;padding:16px 12px!important;text-decoration:none!important;color:#0f172a!important;display:grid!important;place-items:center!important;text-align:center!important;gap:8px!important;}
.surveyor-shell-pro .workspace-official-card .ico,.surveyor-shell-pro .quick-grid a>span:first-child,.surveyor-shell-pro .doc-type,.surveyor-shell-pro .cloud-icon{width:28px!important;height:28px!important;border-radius:3px!important;border:1px solid #e3e8f0!important;background:#f4f6f8!important;color:#64748b!important;display:grid!important;place-items:center!important;font-size:13px!important;font-weight:900!important;}
.surveyor-shell-pro .workspace-official-card b{display:block!important;font-size:13px!important;font-weight:800!important;}
.surveyor-shell-pro .workspace-official-card small{display:block!important;font-size:10px!important;color:#64748b!important;line-height:1.25!important;}
.surveyor-shell-pro .quick-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.surveyor-shell-pro .quick-grid a{display:grid!important;grid-template-columns:32px 1fr 10px!important;gap:8px!important;align-items:center!important;padding:12px!important;text-decoration:none!important;min-height:54px!important;border-radius:5px!important;}
.surveyor-shell-pro .quick-grid a::after{content:"";width:5px;height:5px;border-right:1.6px solid #98a2b3;border-bottom:1.6px solid #98a2b3;transform:rotate(-45deg);}
.surveyor-shell-pro .quick-grid b{font-size:13px!important;font-weight:800!important;color:#0f172a!important;}
.surveyor-shell-pro .quick-grid small{display:block!important;font-size:11px!important;color:#667085!important;margin-top:2px!important;}
.surveyor-shell-pro .recent-list{display:grid!important;gap:0!important;border:0!important;}
.surveyor-shell-pro .recent-list>a{display:grid!important;grid-template-columns:34px 1fr!important;gap:10px!important;align-items:center!important;padding:11px 0!important;border:0!important;border-bottom:1px solid var(--sv-line-2)!important;border-radius:0!important;background:transparent!important;text-decoration:none!important;}
.surveyor-shell-pro .recent-list>a:last-child{border-bottom:0!important;}
.surveyor-shell-pro .recent-list b{font-size:13px!important;color:#0f172a!important;}
.surveyor-shell-pro .recent-list small{font-size:11px!important;color:#667085!important;}
.surveyor-shell-pro .official-grid,.surveyor-shell-pro .plans-grid,.surveyor-shell-pro .integration-grid,.surveyor-shell-pro .layer-catalog,.surveyor-shell-pro .admin-layer-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.surveyor-shell-pro .official-card,.surveyor-shell-pro .plan-card,.surveyor-shell-pro .integration-grid article{padding:16px!important;border-radius:5px!important;}
.surveyor-shell-pro .btn,.surveyor-shell-pro .link-btn,.surveyor-shell-pro .tiny-button,.surveyor-shell-pro .cloud-actions button{min-height:34px!important;padding:0 12px!important;border-radius:4px!important;border:1px solid #d9e1ec!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;text-decoration:none!important;}
.surveyor-shell-pro .btn:hover,.surveyor-shell-pro .link-btn:hover,.surveyor-shell-pro .tiny-button:hover{background:#f8fafc!important;border-color:#cfd8e6!important;}
.surveyor-shell-pro .btn.primary,.surveyor-shell-pro .link-btn.primary{background:#0f5bdc!important;border-color:#0f5bdc!important;color:#fff!important;}
.surveyor-shell-pro .btn.green,.surveyor-shell-pro .link-btn.green{background:#ecfdf5!important;border-color:#bdebd4!important;color:#047857!important;}
.surveyor-shell-pro .btn.danger,.surveyor-shell-pro .tiny-button.danger{background:#fff7ed!important;border-color:#fed7aa!important;color:#c2410c!important;}
.surveyor-shell-pro input,.surveyor-shell-pro select,.surveyor-shell-pro textarea,.surveyor-shell-pro .compact-input{min-height:36px!important;border-radius:4px!important;border:1px solid #d9e1ec!important;background:#fff!important;font-size:13px!important;color:#111827!important;box-shadow:none!important;}
.surveyor-shell-pro textarea{padding:10px 12px!important;}
.surveyor-shell-pro label{font-size:12px!important;color:#344054!important;font-weight:700!important;gap:5px!important;}
.surveyor-shell-pro input:focus,.surveyor-shell-pro select:focus,.surveyor-shell-pro textarea:focus{border-color:#8fb6ff!important;box-shadow:0 0 0 3px rgba(15,91,220,.10)!important;}
.surveyor-shell-pro table{border-collapse:collapse!important;background:#fff!important;}
.surveyor-shell-pro th{background:#fff!important;border-bottom:1px solid var(--sv-line)!important;font-size:11px!important;color:#667085!important;font-weight:800!important;}
.surveyor-shell-pro td{border-bottom:1px solid var(--sv-line-2)!important;font-size:12px!important;color:#344054!important;}
.surveyor-shell-pro .admin-tabs{display:flex!important;gap:16px!important;padding:0!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--sv-line)!important;background:transparent!important;margin-bottom:18px!important;}
.surveyor-shell-pro .admin-tab{border:0!important;background:transparent!important;border-radius:0!important;padding:0 0 10px!important;color:#667085!important;font-size:12px!important;font-weight:800!important;}
.surveyor-shell-pro .admin-tab.active{color:#0f5bdc!important;border-bottom:2px solid #0f5bdc!important;}
.surveyor-shell-pro .status-good,.surveyor-shell-pro .ready{color:#0f766e!important;}
.surveyor-shell-pro .toast{border-radius:5px!important;box-shadow:0 18px 40px rgba(15,23,42,.18)!important;}
body.surveyor-shell-pro.sv-sidebar-collapsed .suite{grid-template-columns:var(--sv-sidebar) minmax(0,1fr)!important;}
body.surveyor-shell-pro.sv-sidebar-collapsed .side{transform:none!important;opacity:1!important;pointer-events:auto!important;}
body.surveyor-shell-pro.sv-sidebar-collapsed .main{grid-column:2!important;}
/* Dashboard específico v129 */
.sv-dashboard-page .top h1{font-size:30px!important;}
.sv-dashboard-page .dashboard-hidden-metrics{display:none!important;}
.sv-dashboard-page .workspace-recent-table{width:100%;border-collapse:collapse;min-width:0!important;}
.sv-dashboard-page .workspace-recent-table th,.sv-dashboard-page .workspace-recent-table td{font-size:12px!important;padding:10px 8px!important;}
.sv-status-pill{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border-radius:3px;background:#eef2ff;color:#4f46e5;font-size:9px;font-weight:900;text-transform:uppercase;}
/* Mocks de documentos mantidos */
.word-module-preview{border:2px solid #111827;background:#fff;margin-top:16px;padding:14px;font-size:12px;color:#111827;}.word-module-title{text-align:center;font-size:18px;font-weight:900;margin:0 0 12px;text-transform:uppercase;}.word-map-mock{height:260px;border:1.6px solid #111827;background:linear-gradient(135deg,#e8f0e5,#cfe0ca);position:relative;overflow:hidden;}.word-map-mock:before{content:"";position:absolute;inset:0;background:linear-gradient(35deg,transparent 48%,rgba(45,82,34,.18) 49%,rgba(45,82,34,.18) 51%,transparent 52%),linear-gradient(110deg,transparent 57%,rgba(25,60,110,.16) 58%,rgba(25,60,110,.16) 60%,transparent 61%);}.word-map-poly{position:absolute;left:21%;top:18%;width:56%;height:58%;background:rgba(250,204,21,.36);border:4px solid #e11d48;clip-path:polygon(10% 62%,25% 18%,70% 6%,92% 44%,74% 86%,28% 90%);}.word-stamp-grid{display:grid;grid-template-columns:1.2fr 1.55fr .9fr;border:1.8px solid #111827;border-top:0;}.word-stamp-grid>div{min-height:88px;padding:10px;border-right:1.3px solid #111827;}.word-stamp-grid>div:last-child{border-right:0}.word-stamp-grid b{font-weight:900}.word-stamp-grid small{display:block;color:#334155;margin-top:5px}.word-altimetry-mock{height:340px;border:1.6px solid #111827;background:repeating-linear-gradient(0deg,#f8fafc 0 54px,#e2e8f0 55px,#f8fafc 56px),repeating-linear-gradient(90deg,transparent 0 76px,#cbd5e1 77px,transparent 78px);position:relative;overflow:hidden;}.word-altimetry-mock:before{content:"";position:absolute;left:16%;top:18%;width:62%;height:66%;background:linear-gradient(140deg,#8b6f60,#f2dc65,#4ed677,#1bb8d0,#1d5bc4);clip-path:polygon(10% 80%,18% 56%,42% 47%,58% 25%,92% 5%,76% 60%,60% 78%,32% 88%);border:3px dashed #dc2626;}.word-altimetry-mock:after{content:"";position:absolute;left:26%;top:34%;width:46%;height:38%;border:3px solid #111;border-radius:48% 52% 46% 54%;transform:rotate(-28deg)}.word-azimuth-table{width:100%;border-collapse:collapse;margin-top:12px}.word-azimuth-table th,.word-azimuth-table td{border:1px solid #cbd5e1;padding:7px;text-align:left}.word-azimuth-table th{background:#f1f5f9;font-weight:900}.word-preview-note{margin-top:10px;padding:10px;border-left:4px solid #0b55c7;background:#eff6ff;color:#334155;border-radius:8px;}
/* Nuvem */
.cloud-folder-bar{align-items:center!important;background:#fff!important;border:1px solid var(--sv-line)!important;border-radius:5px!important;box-shadow:none!important;}.cloud-folder-scroll{flex:1 1 auto!important;min-width:0!important;}.cloud-folder-btn{border-radius:4px!important;font-size:12px!important;}.btn.primary-soft{background:#edf4ff!important;border-color:#cfe0ff!important;color:#0f5bdc!important;font-weight:850!important;}.cloud-folder-dialog .portal-dialog,.cloud-folder-dialog{max-width:520px!important;}.cloud-folder-dialog label{margin-top:14px!important;}.cloud-folder-help{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.45;}.cloud-folder-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;}.cloud-actions button[data-action="move"]{background:#f8fbff!important;border-color:#cfe0ff!important;color:#0f5bdc!important;}
@media(max-width:1100px){:root{--sv-sidebar:220px}.sv-pro-topbar{grid-template-columns:minmax(0,1fr) auto!important}.sv-pro-search{max-width:none!important}.surveyOR-shell-pro .official-grid{grid-template-columns:repeat(2,1fr)!important}.surveyor-shell-pro .main{padding-left:22px!important;padding-right:22px!important}.surveyor-shell-pro .dashboard-columns,.surveyor-shell-pro .workspace-dashboard-grid{grid-template-columns:1fr!important}.surveyor-shell-pro .official-grid,.surveyor-shell-pro .plans-grid,.surveyor-shell-pro .integration-grid,.surveyor-shell-pro .layer-catalog,.surveyor-shell-pro .admin-layer-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){:root{--sv-sidebar:0px}.surveyOR-shell-pro{}body.surveyor-shell-pro::before{left:0!important}.sv-pro-topbar{left:0!important;padding:0 12px!important;grid-template-columns:1fr auto!important}.surveyOR-shell-pro .side{} .surveyor-shell-pro .side{display:none!important}.surveyor-shell-pro .suite{grid-template-columns:1fr!important}.surveyor-shell-pro .main{grid-column:1!important;padding:calc(var(--sv-topbar) + 18px) 14px 28px!important}.sv-pro-user-fallback{display:none!important}.surveyor-shell-pro .top{flex-direction:column!important}.surveyor-shell-pro .official-grid,.surveyor-shell-pro .plans-grid,.surveyor-shell-pro .integration-grid,.surveyor-shell-pro .layer-catalog,.surveyor-shell-pro .admin-layer-list,.surveyor-shell-pro .dashboard-stats,.surveyor-shell-pro .cloud-summary,.surveyor-shell-pro .admin-stats,.surveyor-shell-pro .summary{grid-template-columns:1fr!important}.surveyor-shell-pro .workspace-official-grid{grid-template-columns:1fr!important}.surveyor-shell-pro .form-grid,.surveyor-shell-pro .form-grid.two,.surveyor-shell-pro .form-grid.three{grid-template-columns:1fr!important}}
@media print{body.surveyor-shell-pro{background:#fff!important}.sv-pro-topbar,.surveyor-shell-pro .side,.surveyor-shell-pro .top-actions{display:none!important}.surveyor-shell-pro .suite{display:block!important}.surveyor-shell-pro .main{padding:0!important;max-width:none!important}}

/* ==========================================================
   v21.9.130 — Workspace Rebuild real
   Este bloco substitui o shell antigo em runtime. O body troca de
   .surveyor-shell-pro para .workspace-shell-v131 e o sidebar é recriado.
   ========================================================== */
:root{
  --wk-sidebar:240px;
  --wk-topbar:56px;
  --wk-bg:#f7f9fc;
  --wk-surface:#ffffff;
  --wk-text:#0b1220;
  --wk-muted:#667085;
  --wk-line:#d9e1ec;
  --wk-soft:#f3f6fb;
  --wk-primary:#0f5bdc;
  --wk-primary-dark:#0b4ebf;
  --wk-primary-soft:#edf4ff;
}
body.workspace-shell-v131{margin:0!important;background:var(--wk-bg)!important;color:var(--wk-text)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;overflow-x:hidden!important;}
body.workspace-shell-v131::before{display:none!important;content:none!important;}
.workspace-shell-v131 *{box-sizing:border-box;}
.workspace-shell-v131 .workspace-suite,.workspace-shell-v131 .suite{min-height:100vh!important;display:grid!important;grid-template-columns:var(--wk-sidebar) minmax(0,1fr)!important;background:var(--wk-bg)!important;}
.workspace-shell-v131 .workspace-sidebar,.workspace-shell-v131 .side{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--wk-sidebar)!important;height:100vh!important;z-index:1100!important;background:#fff!important;border-right:1px solid var(--wk-line)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;transform:none!important;opacity:1!important;}
.workspace-brand{height:72px!important;display:flex!important;align-items:center!important;padding:14px 16px!important;border-bottom:1px solid var(--wk-line)!important;background:#fff!important;}
.workspace-brand a{display:flex!important;align-items:center!important;gap:10px!important;color:var(--wk-text)!important;text-decoration:none!important;min-width:0!important;}
.workspace-brand img{width:34px!important;height:34px!important;object-fit:contain!important;border-radius:8px!important;}
.workspace-brand strong{display:block!important;font-size:15px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.02em!important;color:#0f172a!important;}
.workspace-brand small{display:block!important;margin-top:3px!important;font-size:9px!important;line-height:1.2!important;font-weight:700!important;color:#64748b!important;}
.workspace-new{padding:12px 12px 8px!important;background:#fff!important;}
.workspace-new-project{height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;border-radius:3px!important;background:var(--wk-primary)!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:900!important;border:1px solid var(--wk-primary)!important;}
.workspace-new-project:hover{background:var(--wk-primary-dark)!important;border-color:var(--wk-primary-dark)!important;}
.workspace-shell-v131 .workspace-nav,.workspace-shell-v131 .nav{padding:8px 8px 12px!important;display:flex!important;flex-direction:column!important;gap:2px!important;overflow:auto!important;min-height:0!important;}
.workspace-shell-v131 .workspace-nav a,.workspace-shell-v131 .nav a{position:relative!important;min-height:36px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr) 8px!important;align-items:center!important;gap:8px!important;padding:6px 8px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#344054!important;text-decoration:none!important;font-size:12px!important;line-height:1.15!important;font-weight:750!important;box-shadow:none!important;}
.workspace-shell-v131 .workspace-nav a::after,.workspace-shell-v131 .nav a::after{content:""!important;width:4px!important;height:4px!important;border-right:1.5px solid #98a2b3!important;border-bottom:1.5px solid #98a2b3!important;transform:rotate(-45deg)!important;opacity:.55!important;justify-self:end!important;}
.workspace-shell-v131 .workspace-nav a:hover,.workspace-shell-v131 .nav a:hover{background:#f3f6fa!important;color:#0f172a!important;}
.workspace-shell-v131 .workspace-nav a.active,.workspace-shell-v131 .nav a.active{background:#eef1f5!important;color:#0f172a!important;box-shadow:inset 3px 0 0 var(--wk-primary)!important;}
.workspace-shell-v131 .nav-icon,.workspace-shell-v131 .nav a span:first-child{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:3px!important;background:#fff!important;border:1px solid #e3e8f0!important;color:#64748b!important;font-size:11px!important;font-weight:900!important;}
.workspace-shell-v131 .nav a.active .nav-icon,.workspace-shell-v131 .nav a.active span:first-child{background:#e9f1ff!important;border-color:#cddffc!important;color:var(--wk-primary)!important;}
.workspace-sidebar-footer{margin-top:auto!important;border-top:1px solid var(--wk-line)!important;padding:10px 8px 12px!important;background:#fff!important;display:grid!important;gap:2px!important;}
.workspace-sidebar-footer a,.workspace-sidebar-footer button{height:34px!important;display:grid!important;grid-template-columns:24px 1fr!important;align-items:center!important;gap:8px!important;border:0!important;background:transparent!important;color:#344054!important;text-align:left!important;text-decoration:none!important;border-radius:3px!important;padding:0 8px!important;font-size:12px!important;font-weight:750!important;}
.workspace-sidebar-footer a:hover,.workspace-sidebar-footer button:hover{background:#f3f6fa!important;color:#0f172a!important;}
.workspace-sidebar-footer span{width:20px!important;height:20px!important;border:1px solid #e3e8f0!important;border-radius:4px!important;display:grid!important;place-items:center!important;color:#64748b!important;font-weight:900!important;}
.workspace-shell-v131 .side-note,.workspace-shell-v131 .brand{display:none!important;}
.workspace-topbar{position:fixed!important;top:0!important;left:var(--wk-sidebar)!important;right:0!important;height:var(--wk-topbar)!important;z-index:1200!important;display:grid!important;grid-template-columns:minmax(320px,560px) minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:0 26px!important;background:#fff!important;border-bottom:1px solid var(--wk-line)!important;box-shadow:none!important;}
.workspace-search{position:relative!important;height:34px!important;display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #d8dee8!important;border-radius:3px!important;background:#fff!important;padding:0 10px!important;width:100%!important;max-width:560px!important;grid-column:1!important;}
.workspace-search svg{width:15px!important;height:15px!important;stroke:#64748b!important;fill:none!important;stroke-width:2!important;flex:0 0 auto!important;}
.workspace-search input{height:30px!important;min-height:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;width:100%!important;font-size:13px!important;color:#111827!important;outline:none!important;}
.workspace-search input::placeholder{color:#8a94a6!important;}
.workspace-search-results{position:absolute!important;top:39px!important;left:0!important;width:100%!important;background:#fff!important;border:1px solid var(--wk-line)!important;border-radius:5px!important;box-shadow:0 18px 42px rgba(15,23,42,.12)!important;overflow:hidden!important;z-index:1400!important;}
.workspace-search-results a{display:grid!important;gap:2px!important;padding:10px 12px!important;text-decoration:none!important;border-bottom:1px solid #edf1f6!important;color:var(--wk-text)!important;}
.workspace-search-results a:hover{background:#f8fafc!important;}
.workspace-search-results span{font-size:10px!important;color:#64748b!important;text-transform:uppercase!important;font-weight:800!important;letter-spacing:.04em!important;}
.workspace-search-results b{font-size:13px!important;}
.workspace-search-results small,.workspace-search-results p{font-size:12px!important;color:#64748b!important;margin:0!important;padding:8px 12px!important;}
.workspace-topbar-actions{grid-column:3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;}
.workspace-icon-btn{width:32px!important;height:32px!important;min-height:32px!important;border:1px solid transparent!important;border-radius:999px!important;background:#fff!important;color:#0f172a!important;font-size:15px!important;font-weight:900!important;display:grid!important;place-items:center!important;padding:0!important;}
.workspace-icon-btn:hover{border-color:#d9e1ec!important;background:#f8fafc!important;}
.workspace-admin-pill{height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 12px!important;border:1px solid #d9e1ec!important;border-radius:999px!important;background:#eef2ff!important;color:#4f46e5!important;font-size:12px!important;font-weight:900!important;}
.workspace-shell-v131 .workspace-main,.workspace-shell-v131 .main{grid-column:2!important;min-width:0!important;width:100%!important;max-width:none!important;padding:calc(var(--wk-topbar) + 28px) 34px 42px!important;}
.workspace-shell-v131 .workspace-page-head,.workspace-shell-v131 .top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 22px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.workspace-shell-v131 .top h1{margin:0!important;font-size:30px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.035em!important;color:#0b1220!important;}
.workspace-shell-v131 .top p{margin:6px 0 0!important;color:#5f6b7a!important;font-size:13px!important;line-height:1.45!important;max-width:760px!important;}
.workspace-shell-v131 .top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;min-width:max-content!important;}
.workspace-shell-v131 .mobile-toggle{display:none!important;}
.workspace-shell-v131 .hero{display:none!important;}
.workspace-user-card{height:44px!important;display:grid!important;grid-template-columns:32px auto auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;gap:0 10px!important;border:1px solid var(--wk-line)!important;border-radius:10px!important;background:#fff!important;padding:5px 8px!important;min-width:230px!important;}
.workspace-user-card>span{grid-row:1/3!important;width:32px!important;height:32px!important;border-radius:8px!important;background:#edf4ff!important;color:#0f5bdc!important;display:grid!important;place-items:center!important;font-weight:900!important;}
.workspace-user-card b{font-size:12px!important;line-height:1!important;color:#0f172a!important;}
.workspace-user-card small{font-size:10px!important;color:#667085!important;line-height:1!important;}
.workspace-user-card button{grid-column:3!important;grid-row:1/3!important;border:0!important;border-left:1px solid var(--wk-line)!important;background:#fff!important;color:#667085!important;font-size:13px!important;padding:0 8px!important;height:30px!important;}
.workspace-shell-v131 .panel,.workspace-shell-v131 .card,.workspace-shell-v131 .table-wrap,.workspace-shell-v131 .preview,.workspace-shell-v131 .output,.workspace-shell-v131 .empty-box,.workspace-shell-v131 .dashboard-stats article,.workspace-shell-v131 .cloud-summary article,.workspace-shell-v131 .admin-stats article,.workspace-shell-v131 .quick-grid a,.workspace-shell-v131 .recent-list>a,.workspace-shell-v131 .official-card,.workspace-shell-v131 .cloud-item,.workspace-shell-v131 .admin-tabs,.workspace-shell-v131 .plan-card,.workspace-shell-v131 .integration-grid article{background:#fff!important;border:1px solid var(--wk-line)!important;border-radius:5px!important;box-shadow:none!important;}
.workspace-shell-v131 .panel{padding:20px!important;margin-bottom:18px!important;}
.workspace-shell-v131 .panel h2,.workspace-shell-v131 .panel-heading h2{margin:0!important;font-size:18px!important;line-height:1.2!important;font-weight:850!important;color:#0f172a!important;}
.workspace-shell-v131 .panel-heading{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:16px!important;border-bottom:0!important;}
.workspace-shell-v131 .panel-heading a{font-size:11px!important;color:var(--wk-primary)!important;text-decoration:none!important;font-weight:900!important;}
.workspace-shell-v131 .panel-desc{font-size:12.5px!important;color:#64748b!important;line-height:1.5!important;margin:6px 0 16px!important;}
.workspace-shell-v131 .workspace-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,2.1fr) minmax(340px,.9fr)!important;gap:18px!important;align-items:start!important;width:100%!important;max-width:1320px!important;}
.workspace-shell-v131 .workspace-recent-panel{max-width:1320px!important;}
.workspace-shell-v131 .workspace-official-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;}
.workspace-shell-v131 .workspace-official-card{min-height:96px!important;border:1px solid var(--wk-line)!important;border-radius:3px!important;background:#fff!important;padding:16px 12px!important;text-decoration:none!important;color:#0f172a!important;display:grid!important;place-items:center!important;text-align:center!important;gap:8px!important;}
.workspace-shell-v131 .workspace-official-card .ico,.workspace-shell-v131 .quick-grid a>span:first-child,.workspace-shell-v131 .doc-type,.workspace-shell-v131 .cloud-icon{width:28px!important;height:28px!important;border-radius:3px!important;border:1px solid #e3e8f0!important;background:#f4f6f8!important;color:#64748b!important;display:grid!important;place-items:center!important;font-size:13px!important;font-weight:900!important;}
.workspace-shell-v131 .workspace-official-card b{display:block!important;font-size:13px!important;font-weight:850!important;}
.workspace-shell-v131 .workspace-official-card small{display:block!important;font-size:10px!important;color:#64748b!important;line-height:1.25!important;}
.workspace-shell-v131 .quick-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.workspace-shell-v131 .quick-grid a{display:grid!important;grid-template-columns:32px minmax(0,1fr) 12px!important;grid-template-rows:auto auto!important;gap:2px 10px!important;align-items:center!important;padding:12px!important;text-decoration:none!important;min-height:62px!important;border-radius:5px!important;}
.workspace-shell-v131 .quick-grid a>span:first-child{grid-column:1!important;grid-row:1/3!important;}
.workspace-shell-v131 .quick-grid a b{grid-column:2!important;grid-row:1!important;font-size:13px!important;font-weight:900!important;color:#0f172a!important;white-space:normal!important;}
.workspace-shell-v131 .quick-grid a small{grid-column:2!important;grid-row:2!important;display:block!important;font-size:11px!important;color:#667085!important;line-height:1.25!important;margin:0!important;max-width:100%!important;overflow-wrap:anywhere!important;}
.workspace-shell-v131 .quick-grid a::after{content:""!important;grid-column:3!important;grid-row:1/3!important;width:5px!important;height:5px!important;border-right:1.6px solid #98a2b3!important;border-bottom:1.6px solid #98a2b3!important;transform:rotate(-45deg)!important;justify-self:center!important;}
.workspace-shell-v131 .recent-list{display:grid!important;gap:0!important;border:0!important;}
.workspace-shell-v131 .recent-list>a{display:grid!important;grid-template-columns:34px 1fr!important;gap:10px!important;align-items:center!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #edf1f6!important;border-radius:0!important;background:transparent!important;text-decoration:none!important;}
.workspace-shell-v131 .recent-list>a:last-child{border-bottom:0!important;}
.workspace-shell-v131 .recent-list b{font-size:13px!important;color:#0f172a!important;}
.workspace-shell-v131 .recent-list small{font-size:11px!important;color:#667085!important;}
.workspace-shell-v131 .official-grid,.workspace-shell-v131 .plans-grid,.workspace-shell-v131 .integration-grid,.workspace-shell-v131 .layer-catalog,.workspace-shell-v131 .admin-layer-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.workspace-shell-v131 .btn,.workspace-shell-v131 .link-btn,.workspace-shell-v131 .tiny-button,.workspace-shell-v131 .cloud-actions button{min-height:34px!important;padding:0 12px!important;border-radius:4px!important;border:1px solid #d9e1ec!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important;text-decoration:none!important;}
.workspace-shell-v131 .btn:hover,.workspace-shell-v131 .link-btn:hover,.workspace-shell-v131 .tiny-button:hover{background:#f8fafc!important;border-color:#cfd8e6!important;}
.workspace-shell-v131 .btn.primary,.workspace-shell-v131 .link-btn.primary{background:var(--wk-primary)!important;border-color:var(--wk-primary)!important;color:#fff!important;}
.workspace-shell-v131 .btn.green,.workspace-shell-v131 .link-btn.green{background:#ecfdf5!important;border-color:#bdebd4!important;color:#047857!important;}
.workspace-shell-v131 .btn.danger,.workspace-shell-v131 .tiny-button.danger{background:#fff7ed!important;border-color:#fed7aa!important;color:#c2410c!important;}
.workspace-shell-v131 input,.workspace-shell-v131 select,.workspace-shell-v131 textarea,.workspace-shell-v131 .compact-input{min-height:36px!important;border-radius:4px!important;border:1px solid #d9e1ec!important;background:#fff!important;font-size:13px!important;color:#111827!important;box-shadow:none!important;}
.workspace-shell-v131 textarea{padding:10px 12px!important;}
.workspace-shell-v131 label{font-size:12px!important;color:#344054!important;font-weight:750!important;gap:5px!important;}
.workspace-shell-v131 input:focus,.workspace-shell-v131 select:focus,.workspace-shell-v131 textarea:focus{border-color:#8fb6ff!important;box-shadow:0 0 0 3px rgba(15,91,220,.10)!important;}
.workspace-shell-v131 table{border-collapse:collapse!important;background:#fff!important;}
.workspace-shell-v131 th{background:#fff!important;border-bottom:1px solid var(--wk-line)!important;font-size:11px!important;color:#667085!important;font-weight:850!important;}
.workspace-shell-v131 td{border-bottom:1px solid #edf1f6!important;font-size:12px!important;color:#344054!important;}
.workspace-shell-v131 .admin-tabs{display:flex!important;gap:16px!important;padding:0!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--wk-line)!important;background:transparent!important;margin-bottom:18px!important;}
.workspace-shell-v131 .admin-tab{border:0!important;background:transparent!important;border-radius:0!important;padding:0 0 10px!important;color:#667085!important;font-size:12px!important;font-weight:850!important;}
.workspace-shell-v131 .admin-tab.active{color:var(--wk-primary)!important;border-bottom:2px solid var(--wk-primary)!important;}
@media(max-width:1180px){:root{--wk-sidebar:220px}.workspace-shell-v131 .workspace-main,.workspace-shell-v131 .main{padding-left:24px!important;padding-right:24px!important}.workspace-shell-v131 .workspace-dashboard-grid{grid-template-columns:1fr!important;max-width:none!important}.workspace-shell-v131 .official-grid,.workspace-shell-v131 .plans-grid,.workspace-shell-v131 .integration-grid,.workspace-shell-v131 .layer-catalog,.workspace-shell-v131 .admin-layer-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){:root{--wk-sidebar:0px}.workspace-topbar{left:0!important;padding:0 12px!important;grid-template-columns:1fr auto!important}.workspace-topbar-actions{grid-column:2!important}.workspace-admin-pill{display:none!important}.workspace-shell-v131 .workspace-sidebar,.workspace-shell-v131 .side{display:none!important}.workspace-shell-v131 .workspace-suite,.workspace-shell-v131 .suite{grid-template-columns:1fr!important}.workspace-shell-v131 .workspace-main,.workspace-shell-v131 .main{grid-column:1!important;padding:calc(var(--wk-topbar) + 18px) 14px 28px!important}.workspace-shell-v131 .top{flex-direction:column!important}.workspace-shell-v131 .top-actions{justify-content:flex-start!important}.workspace-user-card{min-width:0!important;width:100%!important}.workspace-shell-v131 .workspace-official-grid,.workspace-shell-v131 .official-grid,.workspace-shell-v131 .plans-grid,.workspace-shell-v131 .integration-grid,.workspace-shell-v131 .layer-catalog,.workspace-shell-v131 .admin-layer-list,.workspace-shell-v131 .dashboard-stats,.workspace-shell-v131 .cloud-summary,.workspace-shell-v131 .admin-stats,.workspace-shell-v131 .summary{grid-template-columns:1fr!important}}
@media print{.workspace-topbar,.workspace-shell-v131 .workspace-sidebar,.workspace-shell-v131 .side,.workspace-shell-v131 .top-actions{display:none!important}.workspace-shell-v131 .suite{display:block!important}.workspace-shell-v131 .main{padding:0!important;max-width:none!important}}


/* v21.9.131 — correção PT-BR e remoção de sobreposição do cabeçalho */
.workspace-shell-v131 .top-actions .workspace-user-card,
.workspace-shell-v131 .top-actions .notification-center{display:none!important;}
.workspace-topbar{grid-template-columns:minmax(340px,560px) minmax(0,1fr) auto!important;}
.workspace-search{box-sizing:border-box!important;overflow:hidden!important;}
.workspace-search input,
.workspace-search input[type="search"]{-webkit-appearance:none!important;appearance:none!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;line-height:30px!important;}
.workspace-topbar-actions.sv-pro-topbar-actions{display:flex!important;align-items:center!important;gap:10px!important;min-width:max-content!important;}
.workspace-topbar-actions .notification-center{position:relative!important;display:inline-flex!important;align-items:center!important;z-index:1300!important;}
.workspace-topbar-actions .notification-bell{width:32px!important;height:32px!important;min-height:32px!important;border:1px solid transparent!important;border-radius:999px!important;background:#fff!important;color:#0f172a!important;box-shadow:none!important;display:grid!important;place-items:center!important;padding:0!important;}
.workspace-topbar-actions .notification-bell:hover{border-color:#d9e1ec!important;background:#f8fafc!important;transform:none!important;}
.workspace-topbar-actions .notification-bell svg{width:17px!important;height:17px!important;}
.workspace-topbar-actions .notification-bell span{right:-2px!important;top:-4px!important;min-width:16px!important;height:16px!important;font-size:10px!important;}
.workspace-page-head .top-actions{display:flex!important;align-items:center!important;gap:10px!important;}
.workspace-page-head .top-actions .link-btn.primary{white-space:nowrap!important;}
.workspace-admin-pill{white-space:nowrap!important;}
.workspace-brand small{line-height:1.15!important;}

.workspace-page-head .top-actions .workspace-user-card,.workspace-page-head .top-actions .notification-center{display:none!important;}


/* v21.9.132 — ajustes finais de dashboard e Minha Nuvem */
body.workspace-shell-v131.sv-dashboard-page .workspace-dashboard-grid{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,420px)!important;
  align-items:start!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-recent-panel{
  width:100%!important;
  max-width:none!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-main,
body.workspace-shell-v131.sv-dashboard-page .main{
  padding-right:34px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel{
  width:100%!important;
  justify-self:stretch!important;
}
body.workspace-shell-v131 .cloud-folder-bar{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px!important;
  margin:0 0 14px!important;
  background:#fff!important;
  border:1px solid var(--wk-line)!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
body.workspace-shell-v131 .cloud-folder-scroll{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  padding:2px!important;
  scrollbar-width:thin!important;
}
body.workspace-shell-v131 .cloud-folder-btn{
  flex:0 0 auto!important;
  min-height:30px!important;
  padding:0 12px!important;
  border:1px solid #d9e1ec!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#344054!important;
  font-size:12px!important;
  font-weight:850!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
body.workspace-shell-v131 .cloud-folder-btn:hover{
  background:#f8fbff!important;
  border-color:#bfd3f7!important;
  color:var(--wk-primary)!important;
}
body.workspace-shell-v131 .cloud-folder-btn.active{
  background:#edf4ff!important;
  border-color:#b9d2ff!important;
  color:var(--wk-primary)!important;
}
body.workspace-shell-v131 #createCloudFolder,
body.workspace-shell-v131 .cloud-folder-bar .btn.primary-soft{
  flex:0 0 auto!important;
  margin-left:auto!important;
  min-height:32px!important;
  padding:0 14px!important;
  border-radius:4px!important;
  background:var(--wk-primary)!important;
  border-color:var(--wk-primary)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.workspace-shell-v131 .cloud-toolbar{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(180px,240px) minmax(160px,210px)!important;
  gap:10px!important;
  align-items:center!important;
  margin-bottom:14px!important;
}
body.workspace-shell-v131 .cloud-search{min-width:0!important;}
body.workspace-shell-v131 .cloud-search input{width:100%!important;}
body.workspace-shell-v131 .cloud-list{display:grid!important;gap:12px!important;}
body.workspace-shell-v131 .cloud-item{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:start!important;
  padding:14px!important;
  background:#fff!important;
  border:1px solid var(--wk-line)!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
body.workspace-shell-v131 .cloud-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.workspace-shell-v131 .cloud-title b{font-size:14px!important;color:#0f172a!important;font-weight:900!important;}
body.workspace-shell-v131 .cloud-title span,
body.workspace-shell-v131 .cloud-folder-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:22px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#edf4ff!important;
  border:1px solid #d5e5ff!important;
  color:var(--wk-primary)!important;
  font-size:11px!important;
  font-weight:850!important;
}
body.workspace-shell-v131 .cloud-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
@media(max-width:1180px){
  body.workspace-shell-v131.sv-dashboard-page .workspace-dashboard-grid{grid-template-columns:1fr!important;}
  body.workspace-shell-v131 .cloud-toolbar{grid-template-columns:1fr!important;}
  body.workspace-shell-v131 .cloud-item{grid-template-columns:42px minmax(0,1fr)!important;}
  body.workspace-shell-v131 .cloud-actions{grid-column:2!important;justify-content:flex-start!important;}
}
@media(max-width:700px){
  body.workspace-shell-v131 .cloud-folder-bar{align-items:stretch!important;flex-direction:column!important;}
  body.workspace-shell-v131 #createCloudFolder{width:100%!important;margin-left:0!important;}
  body.workspace-shell-v131 .cloud-item{grid-template-columns:1fr!important;}
  body.workspace-shell-v131 .cloud-actions{grid-column:auto!important;}
}


/* v21.9.133 — menu mais largo, botões quadrados e projetos recentes reais */
:root{--sv-sidebar:240px;--wk-sidebar:240px;--radius:2px;--radius-sm:2px;}
.workspace-shell-v131 .workspace-sidebar,
.workspace-shell-v131 .side,
.surveyor-shell-pro .side{width:var(--wk-sidebar)!important;}
.workspace-shell-v131 .workspace-suite,
.workspace-shell-v131 .suite{grid-template-columns:var(--wk-sidebar) minmax(0,1fr)!important;}
.workspace-topbar{left:var(--wk-sidebar)!important;}
.workspace-shell-v131 .workspace-main,
.workspace-shell-v131 .main{grid-column:2!important;}
.workspace-sidebar-footer{padding-bottom:18px!important;}
.workspace-sidebar-footer button{display:none!important;}
.workspace-sidebar-footer a{border-radius:2px!important;}
.workspace-shell-v131 button,
.workspace-shell-v131 .btn,
.workspace-shell-v131 .link-btn,
.workspace-shell-v131 .tiny-button,
.workspace-shell-v131 .workspace-new-project,
.workspace-shell-v131 .workspace-admin-pill,
.workspace-shell-v131 .account-zone,
.workspace-shell-v131 .account-avatar,
.workspace-shell-v131 .account-logout,
.workspace-shell-v131 .workspace-user-card,
.workspace-shell-v131 .workspace-user-card>span,
.workspace-shell-v131 .panel,
.workspace-shell-v131 .card,
.workspace-shell-v131 .quick-grid a,
.workspace-shell-v131 .workspace-official-card,
.workspace-shell-v131 .official-card,
.workspace-shell-v131 .recent-list>a,
.workspace-shell-v131 .empty-box,
.workspace-shell-v131 input,
.workspace-shell-v131 select,
.workspace-shell-v131 textarea,
.workspace-shell-v131 .workspace-search,
.workspace-shell-v131 .workspace-search-results,
.workspace-shell-v131 .cloud-folder-bar,
.workspace-shell-v131 .cloud-folder-btn,
.workspace-shell-v131 #createCloudFolder,
.workspace-shell-v131 .cloud-item{border-radius:2px!important;}
.workspace-topbar-actions .notification-bell,
.workspace-admin-pill{border-radius:2px!important;}
.workspace-shell-v131 .workspace-new-project,
.workspace-shell-v131 .link-btn.primary,
.workspace-shell-v131 .btn.primary{border-radius:2px!important;}
.workspace-shell-v131 .top-actions .account-zone{border-radius:2px!important;}
.workspace-shell-v131 .top-actions .account-avatar{border-radius:2px!important;}
.workspace-shell-v131 .recent-list{display:grid!important;gap:0!important;border:1px solid var(--wk-line)!important;border-radius:2px!important;overflow:hidden!important;background:#fff!important;}
.workspace-shell-v131 .recent-list>a{grid-template-columns:38px minmax(0,1fr) auto!important;padding:12px 14px!important;border-bottom:1px solid #edf1f6!important;background:#fff!important;}
.workspace-shell-v131 .recent-list>a:hover{background:#f8fbff!important;}
.workspace-shell-v131 .recent-list>a:last-child{border-bottom:0!important;}
.workspace-shell-v131 .project-badge{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border:1px solid #dbe5f3!important;background:#edf4ff!important;color:#0f5bdc!important;font-size:10px!important;font-weight:900!important;border-radius:2px!important;}
.workspace-shell-v131 .project-open{color:#0f5bdc!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;}
.workspace-shell-v131 .recent-list b{display:block!important;font-size:13px!important;color:#0f172a!important;line-height:1.25!important;}
.workspace-shell-v131 .recent-list small{display:block!important;margin-top:3px!important;font-size:11px!important;color:#667085!important;}
.workspace-shell-v131 .recent-list .empty-box{border:0!important;min-height:142px!important;}
@media(max-width:1180px){:root{--wk-sidebar:220px}.workspace-topbar{left:var(--wk-sidebar)!important}}
@media(max-width:760px){:root{--wk-sidebar:0px}.workspace-topbar{left:0!important}}


/* v21.9.135 — painel inicial com acervos expandidos */
body.workspace-shell-v131.sv-dashboard-page .workspace-dashboard-grid{
  gap:22px!important;
  margin-bottom:34px!important;
  align-items:stretch!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-panel,
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel{
  min-height:292px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card{
  min-height:92px!important;
  padding:14px 10px!important;
  transition:transform .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card:hover{
  transform:translateY(-3px)!important;
  border-color:#0f5bdc!important;
  background:#f8fbff!important;
  box-shadow:0 8px 18px rgba(15,91,220,.08)!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card:hover .ico{
  background:#eaf2ff!important;
  color:#0f5bdc!important;
  border-color:#b9d2ff!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel .quick-grid{
  grid-template-columns:1fr!important;
  gap:10px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel .quick-grid a{
  min-height:56px!important;
  padding:10px 12px!important;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel .quick-grid a:hover{
  transform:translateX(2px)!important;
  background:#f8fbff!important;
  border-color:#b9d2ff!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-recent-panel{
  margin-top:0!important;
}
@media(max-width:1180px){
  body.workspace-shell-v131.sv-dashboard-page .workspace-official-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  body.workspace-shell-v131.sv-dashboard-page .workspace-official-grid{grid-template-columns:1fr!important;}
}


/* v21.9.139 — topo do workspace limpo */
.workspace-shell-v131 .workspace-page-head .top-actions,
.workspace-shell-v131 .top .top-actions:empty{display:none!important;}
.workspace-topbar-actions .notification-center,
.workspace-topbar-actions .workspace-icon-btn,
.workspace-topbar-actions .workspace-admin-pill{display:none!important;}
.workspace-topbar .account-zone.workspace-topbar-account{height:38px!important;display:flex!important;align-items:center!important;gap:10px!important;border:1px solid var(--wk-line)!important;border-radius:2px!important;background:#fff!important;padding:4px 8px!important;min-width:230px!important;box-shadow:none!important;}
.workspace-topbar .account-avatar{width:30px!important;height:30px!important;border-radius:2px!important;background:#edf4ff!important;color:#0f5bdc!important;display:grid!important;place-items:center!important;font-weight:900!important;flex:0 0 auto!important;}
.workspace-topbar .account-copy{min-width:0!important;line-height:1.05!important;}
.workspace-topbar .account-copy strong{display:block!important;font-size:12px!important;line-height:1.1!important;color:#0f172a!important;white-space:nowrap!important;max-width:160px!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.workspace-topbar .account-copy small{display:block!important;font-size:10px!important;line-height:1.1!important;color:#667085!important;margin-top:2px!important;}
.workspace-topbar .account-logout{height:28px!important;border:0!important;border-left:1px solid var(--wk-line)!important;background:#fff!important;color:#667085!important;font-size:12px!important;padding:0 8px!important;margin-left:auto!important;border-radius:0!important;}
.workspace-topbar .account-logout:hover{color:#0f172a!important;background:#f8fafc!important;}
.sv-dashboard-page .workspace-page-head .top-actions{display:none!important;}


/* v21.9.140 — restaura o sino permanente e mantém fora do topo apenas ícones obsoletos */
.workspace-topbar-actions .notification-center{display:inline-flex!important;order:1!important;margin-right:2px!important;}
.workspace-topbar-actions .workspace-topbar-account{order:2!important;}
.workspace-topbar-actions .workspace-icon-btn,.workspace-topbar-actions .workspace-admin-pill{display:none!important;}
.workspace-topbar-actions .notification-bell{width:32px!important;height:32px!important;min-width:32px!important;border-radius:4px!important;border:1px solid #dbe4ef!important;background:#fff!important;color:#0f172a!important;}
.workspace-topbar-actions .notification-bell span{position:absolute!important;right:-5px!important;top:-7px!important;min-width:16px!important;height:16px!important;border-radius:999px!important;font-size:10px!important;}
.workspace-topbar-actions .notification-panel{right:0!important;top:calc(100% + 8px)!important;border-radius:5px!important;}
.workspace-page-head .notification-center,.top .notification-center{display:none!important;}

/* v21.9.141: remove o marcador circular legado do topo; o sino de notificações permanece via .notification-center. */
.sv-pro-topbar-actions::before,.workspace-topbar-actions::before{content:none!important;display:none!important;}


/* v21.9.142 — Minha Nuvem em modo gerenciador de pastas */
body.workspace-shell-v131 .cloud-folder-empty{
  color:#667085!important;
  font-size:12px!important;
  font-weight:700!important;
  padding:0 8px!important;
  white-space:nowrap!important;
}
body.workspace-shell-v131 .cloud-folder-back{
  background:#f8fbff!important;
  color:#0f5bdc!important;
  border-color:#cfe0ff!important;
}
body.workspace-shell-v131 .cloud-folder-view{
  display:block!important;
}
body.workspace-shell-v131 .cloud-folder-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
  gap:16px!important;
  padding:12px 0 4px!important;
}
body.workspace-shell-v131 .cloud-folder-card{
  min-height:132px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:18px 12px!important;
  background:#fff!important;
  border:1px solid var(--wk-line)!important;
  border-radius:2px!important;
  color:#0f172a!important;
  text-align:center!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
body.workspace-shell-v131 .cloud-folder-card:hover{
  background:#f8fbff!important;
  border-color:#9ec3ff!important;
  transform:translateY(-2px)!important;
}
body.workspace-shell-v131 .cloud-folder-card-icon{
  width:46px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  font-size:32px!important;
  line-height:1!important;
}
body.workspace-shell-v131 .cloud-folder-card strong{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.workspace-shell-v131 .cloud-folder-card small{
  color:#667085!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.workspace-shell-v131 .cloud-folder-current{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0 0 12px!important;
  padding:10px 0 2px!important;
}
body.workspace-shell-v131 .cloud-folder-current strong{
  font-size:15px!important;
  color:#0f172a!important;
  font-weight:900!important;
}
@media(max-width:700px){
  body.workspace-shell-v131 .cloud-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* v21.9.143 — exportações agrupadas em menu único de Download */
body.workspace-shell-v131 .export-menu,
body.workspace-shell-v131 .gr-download-menu,
body.workspace-shell-v131 .sheet-menu{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
}
body.workspace-shell-v131 .export-menu-list,
body.workspace-shell-v131 .gr-download-menu-list,
body.workspace-shell-v131 .sheet-menu-list{
  position:absolute!important;
  left:0!important;
  top:calc(100% + 6px)!important;
  z-index:80!important;
  display:grid!important;
  min-width:210px!important;
  gap:6px!important;
  padding:8px!important;
  background:#fff!important;
  border:1px solid var(--wk-line,#d8e1ef)!important;
  border-radius:2px!important;
  box-shadow:0 14px 26px rgba(15,23,42,.14)!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(-4px)!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
body.workspace-shell-v131 .export-menu:hover .export-menu-list,
body.workspace-shell-v131 .export-menu:focus-within .export-menu-list,
body.workspace-shell-v131 .gr-download-menu:hover .gr-download-menu-list,
body.workspace-shell-v131 .gr-download-menu:focus-within .gr-download-menu-list,
body.workspace-shell-v131 .sheet-menu:hover .sheet-menu-list,
body.workspace-shell-v131 .sheet-menu:focus-within .sheet-menu-list{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
body.workspace-shell-v131 .export-menu-list button,
body.workspace-shell-v131 .gr-download-menu-list button,
body.workspace-shell-v131 .sheet-menu-list button{
  width:100%!important;
  min-height:34px!important;
  padding:8px 10px!important;
  border:1px solid var(--wk-line,#d8e1ef)!important;
  border-radius:2px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-weight:800!important;
  text-align:left!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body.workspace-shell-v131 .export-menu-list button:hover,
body.workspace-shell-v131 .gr-download-menu-list button:hover,
body.workspace-shell-v131 .sheet-menu-list button:hover{
  background:#f3f7ff!important;
  border-color:#a9c7ff!important;
  color:#0f5bdc!important;
}
body.workspace-shell-v131 .export-hidden,
body.workspace-shell-v131 .gr-export-source-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.workspace-shell-v131 .sheet-download-row{
  margin:8px 0 12px!important;
}
body.workspace-shell-v131 .gr-export-row{
  margin:10px 0 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}


/* v21.9.145 — Loteamentos / REURB: corrige layout quebrado dos painéis inferiores.
   O reparo de accordion envolvia .loteamento-layout, que continuava como grid no painel
   principal e jogava o conteúdo para a lateral. O painel agora vira bloco e o corpo interno
   assume a grade correta, no mesmo padrão visual dos painéis superiores. */
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout{
  display:block!important;
  grid-template-columns:none!important;
  padding:0!important;
  overflow:hidden!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout:not(.is-collapsed) .module-accordion-body{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr)!important;
  gap:16px!important;
  padding:0 16px 16px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .module-accordion-body>div{
  min-width:0!important;
  padding:16px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .module-accordion-body>div h2{
  margin:0 0 12px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid var(--line-soft)!important;
  font-size:18px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .table-wrap,
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .preview{
  border-radius:4px!important;
  box-shadow:none!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .button-row{
  margin-top:12px!important;
  gap:8px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .btn,
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .link-btn{
  min-height:34px!important;
  padding:0 10px!important;
  border-radius:4px!important;
  font-size:12px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .form-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;
  gap:10px!important;
}
body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout .croqui-preview{
  min-height:260px!important;
}
@media(max-width:1180px){
  body[data-page="loteamentos-reurb.html"] .module-accordion-panel.loteamento-layout:not(.is-collapsed) .module-accordion-body{
    grid-template-columns:1fr!important;
  }
}


/* v21.9.224 — área Sobre e suporte na barra lateral */
.workspace-about{
  margin:8px 10px 8px!important;
  padding:12px!important;
  border:1px solid #dbe7fb!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)!important;
  display:grid!important;
  gap:5px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.04)!important;
}
.workspace-about-kicker{
  display:inline-flex!important;
  width:max-content!important;
  min-height:20px!important;
  align-items:center!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#edf4ff!important;
  color:var(--wk-primary,#0f5bdc)!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
.workspace-about strong{
  margin-top:2px!important;
  color:#0f172a!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.workspace-about p{
  margin:0!important;
  color:#64748b!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.workspace-about a{
  color:var(--wk-primary,#0f5bdc)!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:800!important;
  text-decoration:none!important;
  word-break:break-word!important;
}
.workspace-about a:hover{
  text-decoration:underline!important;
}
@media(max-height:760px){
  .workspace-about{padding:10px!important;gap:3px!important;}
  .workspace-about p{display:none!important;}
}


/* v21.9.225 — seção Sobre clicável na barra lateral */
.workspace-about{display:none!important;}
.workspace-about-link{
  margin:8px 8px 8px!important;
  min-height:38px!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) 8px!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 8px!important;
  border:1px solid #dbe7fb!important;
  border-radius:4px!important;
  background:#f8fbff!important;
  color:#344054!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.workspace-about-link::after{
  content:""!important;
  width:4px!important;
  height:4px!important;
  border-right:1.5px solid #98a2b3!important;
  border-bottom:1.5px solid #98a2b3!important;
  transform:rotate(-45deg)!important;
  justify-self:end!important;
  opacity:.65!important;
}
.workspace-about-link:hover{background:#eef4ff!important;border-color:#cfe0ff!important;color:#0f172a!important;}
.workspace-about-link.active{background:#eef1f5!important;color:#0f172a!important;box-shadow:inset 3px 0 0 var(--wk-primary,#0f5bdc)!important;}
.workspace-about-icon{
  width:20px!important;height:20px!important;border:1px solid #dbe7fb!important;border-radius:4px!important;
  display:grid!important;place-items:center!important;background:#fff!important;color:var(--wk-primary,#0f5bdc)!important;
  font-weight:950!important;font-size:12px!important;
}
.workspace-about-link strong{display:block!important;color:#0f172a!important;font-size:12px!important;line-height:1.15!important;font-weight:850!important;}
.workspace-about-link small{display:block!important;margin-top:2px!important;color:#64748b!important;font-size:10.5px!important;line-height:1.15!important;font-weight:700!important;}
body[data-page="sobre.html"] .workspace-about-link{background:#eef1f5!important;color:#0f172a!important;box-shadow:inset 3px 0 0 var(--wk-primary,#0f5bdc)!important;}
.sobre-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;margin-bottom:18px;}
.sobre-card{padding:22px;border:1px solid var(--line,#dbe4f0);border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.035);}
.sobre-card h2{margin:0 0 10px;font-size:22px;color:#0f172a;}
.sobre-card p{margin:0 0 12px;color:#475569;line-height:1.65;}
.sobre-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:#edf4ff;color:var(--wk-primary,#0f5bdc);font-weight:900;font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:12px;}
.sobre-contact-list{display:grid;gap:10px;margin-top:12px;}
.sobre-contact-row{display:grid;gap:4px;padding:12px;border:1px solid var(--line,#dbe4f0);border-radius:8px;background:#f8fbff;}
.sobre-contact-row strong{font-size:12px;color:#0f172a;}
.sobre-contact-row a,.sobre-contact-row span{color:#0f5bdc;text-decoration:none;font-weight:800;word-break:break-word;}
.sobre-contact-row a:hover{text-decoration:underline;}
.sobre-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.sobre-feature{padding:18px;border:1px solid var(--line,#dbe4f0);border-radius:10px;background:#fff;}
.sobre-feature span{width:34px;height:34px;border-radius:8px;background:#edf4ff;color:#0f5bdc;display:grid;place-items:center;font-weight:900;margin-bottom:12px;}
.sobre-feature h3{margin:0 0 8px;font-size:16px;color:#0f172a;}
.sobre-feature p{margin:0;color:#64748b;line-height:1.55;font-size:13px;}
@media(max-width:980px){.sobre-hero,.sobre-grid{grid-template-columns:1fr;}}


/* v21.9.227 — Página de suporte */
.support-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;align-items:start;}
.support-card{padding:22px;border:1px solid var(--line,#dbe4f0);border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.035);}
.support-card h2{margin:0 0 10px;font-size:22px;color:#0f172a;}
.support-card h3{margin:0 0 10px;font-size:15px;color:#0f172a;}
.support-desc,.support-card p{margin:0 0 14px;color:#475569;line-height:1.65;}
.support-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:#edf4ff;color:var(--wk-primary,#0f5bdc);font-weight:900;font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:12px;}
.support-form{display:grid;gap:14px;}
.support-form label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:800;}
.support-form input,.support-form select,.support-form textarea{width:100%;border:1px solid var(--line,#dbe4f0);border-radius:10px;background:#fff;color:#0f172a;outline:none;}
.support-form input,.support-form select{min-height:44px;padding:0 12px;}
.support-form textarea{min-height:150px;padding:12px;resize:vertical;line-height:1.55;}
.support-form input:focus,.support-form select:focus,.support-form textarea:focus{border-color:#0f5bdc;box-shadow:0 0 0 3px rgba(15,91,220,.12);}
.support-alert{padding:12px 14px;border:1px solid #facc15;border-left:5px solid #eab308;border-radius:10px;background:#fffbeb;color:#854d0e;font-weight:850;line-height:1.55;}
.support-alert.hidden,.support-result.hidden{display:none!important;}
.support-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.support-result{padding:13px 14px;border-radius:10px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;line-height:1.55;}
.support-result.info{display:block;}
.support-result.success{display:block;border-color:#bbf7d0;background:#f0fdf4;color:#166534;}
.support-result.error{display:block;border-color:#fecaca;background:#fef2f2;color:#991b1b;}
.support-contact-box{display:grid;gap:5px;padding:14px;border:1px solid var(--line,#dbe4f0);border-radius:10px;background:#f8fbff;margin:12px 0 16px;}
.support-contact-box strong{font-size:12px;color:#0f172a;}
.support-contact-box a{color:#0f5bdc;text-decoration:none;font-weight:900;word-break:break-word;}
.support-contact-box a:hover{text-decoration:underline;}
.support-flow{padding-top:14px;border-top:1px solid var(--line,#dbe4f0);}
.support-flow ol{margin:0;padding-left:20px;color:#475569;line-height:1.7;}
.workspace-sidebar-footer a.active,.workspace-sidebar-footer a:hover{background:#edf4ff;color:#0f5bdc;border-color:#cfe0ff;}
@media(max-width:980px){.support-layout{grid-template-columns:1fr;}.support-actions .btn{width:100%;}}


/* v21.9.240 — ícones PNG oficiais nos módulos */
.workspace-shell-v131 .nav-icon-image,
.workspace-shell-v131 .nav a span:first-child,
.surveyor-shell-pro .nav-icon-image,
.surveyor-shell-pro .nav a span:first-child{
  background:rgba(15,91,220,.08)!important;
  border-color:rgba(15,91,220,.14)!important;
  color:#0f5bdc!important;
  overflow:hidden!important;
}
.workspace-shell-v131 .module-icon-img,
.surveyor-shell-pro .module-icon-img,
.workspace-map-v131 .module-icon-img{
  display:block!important;
  width:20px!important;
  height:20px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.workspace-shell-v131 .quick-grid a>span:first-child,
.surveyor-shell-pro .quick-grid a>span:first-child,
.workspace-shell-v131 .workspace-official-card .ico,
.surveyor-shell-pro .workspace-official-card .ico{
  overflow:hidden!important;
  background:rgba(15,91,220,.07)!important;
  border-color:rgba(15,91,220,.13)!important;
}
.workspace-shell-v131 .quick-grid a>span:first-child .module-icon-img,
.surveyor-shell-pro .quick-grid a>span:first-child .module-icon-img,
.workspace-shell-v131 .workspace-official-card .ico .module-icon-img,
.surveyor-shell-pro .workspace-official-card .ico .module-icon-img{
  width:24px!important;
  height:24px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-quick-panel .quick-grid a>span:first-child .module-icon-img{
  width:26px!important;
  height:26px!important;
}


/* v21.9.247 — ícones sem fundo visível */
.workspace-shell-v131 .nav-icon-image,
.workspace-shell-v131 .nav a span:first-child,
.surveyor-shell-pro .nav-icon-image,
.surveyor-shell-pro .nav a span:first-child,
.workspace-shell-v131 .quick-grid a>span:first-child,
.surveyor-shell-pro .quick-grid a>span:first-child,
.workspace-shell-v131 .workspace-official-card .ico,
.surveyor-shell-pro .workspace-official-card .ico,
.workspace-shell-v131 .doc-type,
.surveyor-shell-pro .doc-type,
.workspace-shell-v131 .cloud-icon,
.surveyor-shell-pro .cloud-icon,
.workspace-map-v131 .nav-icon-image,
.workspace-map-v130 .map-global-nav .nav-icon,
body.georural-map-page .map-global-nav .nav-icon{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.workspace-shell-v131 .nav a.active .nav-icon-image,
.workspace-shell-v131 .nav a.active span:first-child,
.surveyor-shell-pro .nav a.active .nav-icon-image,
.surveyor-shell-pro .nav a.active span:first-child{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.workspace-shell-v131 .module-icon-img,
.surveyor-shell-pro .module-icon-img,
.workspace-map-v131 .module-icon-img{
  background:transparent!important;
  box-shadow:none!important;
}


/* v21.9.257 — marcas visuais dos acervos oficiais no painel inicial */
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo,
.surveyor-shell-pro .workspace-official-card .official-logo,
.workspace-shell-v131 .workspace-official-card .official-logo{
  width:76px!important;
  min-height:34px!important;
  border-radius:9px!important;
  border:1px solid #d8e2f1!important;
  background:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:5px 8px!important;
  color:#0f172a!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.02em!important;
  box-shadow:0 4px 10px rgba(15,23,42,.05)!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo .mark-ring{
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  display:inline-grid!important;
  place-items:center!important;
  font-size:9px!important;
  font-weight:950!important;
  flex:0 0 22px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo .mark-text,
.surveyor-shell-pro .workspace-official-card .official-logo .mark-text,
.workspace-shell-v131 .workspace-official-card .official-logo .mark-text{
  font-size:11px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-sigef,
.surveyor-shell-pro .workspace-official-card .official-logo-sigef,
.workspace-shell-v131 .workspace-official-card .official-logo-sigef{border-color:#bfdbfe!important;background:linear-gradient(180deg,#eff6ff,#fff)!important;color:#0b4da2!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-sigef .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-sigef .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-sigef .mark-ring{background:#0b4da2!important;color:#fff!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-incra,
.surveyor-shell-pro .workspace-official-card .official-logo-incra,
.workspace-shell-v131 .workspace-official-card .official-logo-incra{border-color:#bbf7d0!important;background:linear-gradient(180deg,#f0fdf4,#fff)!important;color:#166534!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-incra .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-incra .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-incra .mark-ring{background:#16a34a!important;color:#fff!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-sncr,
.surveyor-shell-pro .workspace-official-card .official-logo-sncr,
.workspace-shell-v131 .workspace-official-card .official-logo-sncr{border-color:#dbeafe!important;background:linear-gradient(180deg,#eef2ff,#fff)!important;color:#1e3a8a!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-sncr .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-sncr .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-sncr .mark-ring{background:#1d4ed8!important;color:#fff!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-car,
.surveyor-shell-pro .workspace-official-card .official-logo-car,
.workspace-shell-v131 .workspace-official-card .official-logo-car{border-color:#bbf7d0!important;background:linear-gradient(180deg,#ecfdf5,#fff)!important;color:#047857!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-car .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-car .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-car .mark-ring{background:#dcfce7!important;color:#047857!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-seia,
.surveyor-shell-pro .workspace-official-card .official-logo-seia,
.workspace-shell-v131 .workspace-official-card .official-logo-seia{border-color:#bae6fd!important;background:linear-gradient(180deg,#f0f9ff,#fff)!important;color:#0369a1!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-seia .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-seia .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-seia .mark-ring{background:#0284c7!important;color:#fff!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-ibge,
.surveyor-shell-pro .workspace-official-card .official-logo-ibge,
.workspace-shell-v131 .workspace-official-card .official-logo-ibge{border-color:#bfdbfe!important;background:linear-gradient(180deg,#eff6ff,#fff)!important;color:#075985!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card .official-logo-ibge .mark-ring,
.surveyor-shell-pro .workspace-official-card .official-logo-ibge .mark-ring,
.workspace-shell-v131 .workspace-official-card .official-logo-ibge .mark-ring{background:#0ea5e9!important;color:#fff!important;}
body.workspace-shell-v131.sv-dashboard-page .workspace-official-card:hover .official-logo,
.surveyor-shell-pro .workspace-official-card:hover .official-logo,
.workspace-shell-v131 .workspace-official-card:hover .official-logo{transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(15,23,42,.10)!important;}


/* v21.9.258 — Tela inicial sem menu lateral, com Ferramentas superior */
body[data-page="index.html"].workspace-shell-v131::before,
body[data-page="index.html"].surveyor-shell-pro::before{left:0!important;}
body[data-page="index.html"].workspace-shell-v131 .side,
body[data-page="index.html"].workspace-shell-v131 .workspace-sidebar,
body[data-page="index.html"].surveyor-shell-pro .side{display:none!important;}
body[data-page="index.html"].workspace-shell-v131 .suite,
body[data-page="index.html"].surveyor-shell-pro .suite{grid-template-columns:1fr!important;}
body[data-page="index.html"].workspace-shell-v131 .main,
body[data-page="index.html"].surveyor-shell-pro .main{grid-column:1!important;padding-left:28px!important;padding-right:28px!important;max-width:none!important;}
body[data-page="index.html"] .workspace-topbar.sv-home-topbar,body.sv-toolmenu-page .workspace-topbar.sv-home-topbar{left:0!important;right:0!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:22px!important;padding:0 28px!important;height:58px!important;z-index:1600!important;}
.sv-home-brand a{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important;color:#0f172a!important;white-space:nowrap!important;}
.sv-home-brand img{width:34px!important;height:34px!important;object-fit:contain!important;}
.sv-home-brand strong{display:block!important;font-size:17px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.02em!important;}
.sv-home-brand small{display:block!important;font-size:8px!important;line-height:1.25!important;color:#64748b!important;font-weight:800!important;margin-top:2px!important;}
.sv-home-nav{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;height:100%!important;}
.sv-home-nav>a,.sv-home-tools-btn{height:58px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#0f172a!important;padding:0 10px!important;text-decoration:none!important;font-size:14px!important;font-weight:750!important;cursor:pointer!important;}
.sv-home-nav>a:hover,.sv-home-tools-btn:hover,.sv-home-tools-btn[aria-expanded="true"]{color:#0f5bdc!important;border-bottom-color:#0f5bdc!important;background:#f8fbff!important;}
.sv-home-tools-btn .tools-grid{font-size:20px!important;line-height:1!important;color:#0f5bdc!important;}
.sv-home-tools-btn .tools-chevron{font-size:14px!important;transition:transform .15s ease!important;}
.sv-home-tools-btn[aria-expanded="true"] .tools-chevron{transform:rotate(180deg)!important;}
.sv-home-tools-menu{position:fixed!important;left:0!important;right:0!important;top:58px!important;background:#fff!important;border-top:1px solid #d7e0ed!important;border-bottom:1px solid #d7e0ed!important;box-shadow:0 20px 50px rgba(15,23,42,.12)!important;z-index:1599!important;padding:22px max(28px,calc((100vw - 1460px)/2)) 26px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px!important;}
.sv-home-tools-menu.hidden{display:grid!important;visibility:hidden!important;opacity:0!important;transform:translateY(-10px)!important;pointer-events:none!important;}
.sv-home-tools-menu section{min-width:0!important;}
.sv-home-tools-menu h3{margin:0 0 10px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;letter-spacing:.01em!important;}
.sv-home-tools-menu a{display:grid!important;grid-template-columns:32px 1fr!important;align-items:center!important;gap:10px!important;min-height:46px!important;padding:7px 9px!important;border-radius:6px!important;text-decoration:none!important;color:#0f172a!important;}
.sv-home-tools-menu a:hover{background:#edf4ff!important;}
.sv-home-tools-menu .tool-icon{width:28px!important;height:28px!important;border-radius:7px!important;display:grid!important;place-items:center!important;background:#eef5ff!important;border:1px solid #d7e7ff!important;}
.sv-home-tools-menu .module-icon-img{width:21px!important;height:21px!important;object-fit:contain!important;background:transparent!important;border:0!important;}
.sv-home-tools-menu b{display:block!important;font-size:13px!important;font-weight:850!important;line-height:1.15!important;}
.sv-home-tools-menu small{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:11px!important;line-height:1.25!important;}
body[data-page="index.html"] .workspace-topbar .workspace-search,body.sv-toolmenu-page .workspace-topbar .workspace-search{display:none!important;}
body[data-page="index.html"] .workspace-topbar-actions,body.sv-toolmenu-page .workspace-topbar-actions{justify-content:end!important;}
@media(max-width:1000px){body[data-page="index.html"] .sv-home-nav>a,body.sv-toolmenu-page .sv-home-nav>a{display:none!important}.sv-home-tools-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body[data-page="index.html"] .workspace-topbar.sv-home-topbar,body.sv-toolmenu-page .workspace-topbar.sv-home-topbar{padding:0 12px!important;gap:10px!important}.sv-home-brand small{display:none!important}.sv-home-tools-menu{grid-template-columns:1fr!important;padding:14px!important}.sv-home-brand strong{font-size:15px!important}}


body.workspace-shell-v131.sv-toolmenu-page .workspace-sidebar,
body.workspace-shell-v131.sv-toolmenu-page .side{display:none!important;}
body.workspace-shell-v131.sv-toolmenu-page .workspace-suite,
body.workspace-shell-v131.sv-toolmenu-page .suite{grid-template-columns:1fr!important;}
body.workspace-shell-v131.sv-toolmenu-page .workspace-main,
body.workspace-shell-v131.sv-toolmenu-page .main{grid-column:1!important;padding:calc(var(--wk-topbar) + 28px) 34px 42px!important;}
body.workspace-shell-v131.sv-toolmenu-page .sv-home-nav>a.active,
body.workspace-shell-v131.sv-toolmenu-page .sv-home-tools-btn[aria-expanded="true"]{color:#0f5bdc!important;border-bottom-color:#0f5bdc!important;background:#f8fbff!important;}
@media(max-width:760px){
  body.workspace-shell-v131.sv-toolmenu-page .workspace-main,
  body.workspace-shell-v131.sv-toolmenu-page .main{padding:calc(var(--wk-topbar) + 18px) 14px 28px!important;}
}


/* ==========================================================
   v21.9.306 — Menu superior centralizado
   Centraliza Ferramentas / Mapa / Relatórios / Nuvem / Acervos oficiais / Tokens / Suporte
   no espaço real entre a marca e a área do usuário.
   ========================================================== */
body[data-page="index.html"] .workspace-topbar.sv-home-topbar,
body.sv-toolmenu-page .workspace-topbar.sv-home-topbar{
  grid-template-columns:minmax(190px,1fr) auto minmax(260px,1fr)!important;
  gap:18px!important;
}
body[data-page="index.html"] .sv-home-brand,
body.sv-toolmenu-page .sv-home-brand{
  grid-column:1!important;
  justify-self:start!important;
}
body[data-page="index.html"] .sv-home-nav,
body.sv-toolmenu-page .sv-home-nav{
  grid-column:2!important;
  justify-self:center!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:100%!important;
}
body[data-page="index.html"] .workspace-topbar-actions,
body.sv-toolmenu-page .workspace-topbar-actions{
  grid-column:3!important;
  justify-self:end!important;
  justify-content:flex-end!important;
}
@media(max-width:1100px){
  body[data-page="index.html"] .workspace-topbar.sv-home-topbar,
  body.sv-toolmenu-page .workspace-topbar.sv-home-topbar{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body[data-page="index.html"] .sv-home-nav,
  body.sv-toolmenu-page .sv-home-nav{
    width:auto!important;
  }
}
@media(max-width:1000px){
  body[data-page="index.html"] .sv-home-nav,
  body.sv-toolmenu-page .sv-home-nav{
    justify-self:center!important;
  }
}

/* v21.9.308 — Acervos oficiais: Consulta Pública CAR e CNIR */
.official-logo-cnir{background:linear-gradient(135deg,#0f5f8f,#1d9bd1)!important;color:#fff!important;}
.official-logo-cnir .mark-ring{border-color:rgba(255,255,255,.75)!important;}

/* v21.9.313 — preserva grid profissional dos planos no Admin */
.surveyor-shell-pro #tab-plans .plans-grid,
.workspace-shell-v131 #tab-plans .plans-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;gap:16px!important;}

.generation-meter{height:10px;background:#e5edf7;border-radius:999px;overflow:hidden;margin:12px 0}.generation-meter>div{height:100%;width:0;background:#0f5bdc;border-radius:999px;transition:width .25s ease}.workspace-generation-panel{border-color:#bfdbfe;background:linear-gradient(135deg,#eff6ff,#fff)}


/* v21.9.318 — painel de limite de geração abaixo dos acervos e antes dos projetos recentes */
body.workspace-shell-v131.sv-dashboard-page .workspace-generation-panel-row{
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  min-height:auto!important;
  box-sizing:border-box!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-generation-panel-row .panel-heading{
  align-items:flex-start!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-generation-panel-row .generation-meter{
  margin:16px 0 12px!important;
}
body.workspace-shell-v131.sv-dashboard-page .workspace-dashboard-grid{
  margin-bottom:18px!important;
}


/* ==========================================================
   v21.9.355 — seletor visual de pastas na Nuvem
   ========================================================== */
.cloud-folder-dialog{width:min(560px,calc(100vw - 24px))!important;max-width:560px!important;}
.cloud-folder-search-label input{margin-top:7px!important;}
.cloud-folder-picker{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  max-height:260px!important;
  overflow:auto!important;
  margin-top:12px!important;
  padding:8px!important;
  border:1px solid #d9e1ec!important;
  border-radius:8px!important;
  background:#f8fafc!important;
}
.cloud-folder-option{
  width:100%!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:8px 11px!important;
  border:1px solid #d7e1ef!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172033!important;
  text-align:left!important;
  cursor:pointer!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease!important;
}
.cloud-folder-option:hover{background:#edf4ff!important;border-color:#9ec3ff!important;transform:translateX(2px)!important;}
.cloud-folder-option.active{background:#e7f0ff!important;border-color:#6fa4f5!important;box-shadow:0 0 0 2px rgba(15,91,220,.10)!important;}
.cloud-folder-option span{font-size:18px!important;line-height:1!important;}
.cloud-folder-option strong{font-size:13px!important;font-weight:850!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.cloud-folder-root-option{color:#475467!important;}
.cloud-folder-picker-empty{margin:0!important;padding:12px!important;color:#667085!important;font-size:12px!important;text-align:center!important;}
.cloud-folder-option[hidden]{display:none!important;}

/* v21.9.359 — menu superior final e página inicial reservada */
body[data-page="index.html"] .workspace-main{
  min-height:calc(100vh - var(--wk-topbar))!important;
  background:#f6f8fb!important;
}
body[data-page="index.html"] .sv-home-nav,
body.sv-toolmenu-page .sv-home-nav{
  gap:4px!important;
}
body[data-page="index.html"] .sv-home-nav>a,
body[data-page="index.html"] .sv-home-tools-btn,
body.sv-toolmenu-page .sv-home-nav>a,
body.sv-toolmenu-page .sv-home-tools-btn{
  padding-left:8px!important;
  padding-right:8px!important;
  white-space:nowrap!important;
}
@media(max-width:1240px){
  body[data-page="index.html"] .sv-home-nav>a,
  body[data-page="index.html"] .sv-home-tools-btn,
  body.sv-toolmenu-page .sv-home-nav>a,
  body.sv-toolmenu-page .sv-home-tools-btn{
    font-size:13px!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
}

/* v21.9.359 — os atalhos únicos do topo continuam acessíveis em telas menores */
@media(max-width:1000px){
  body[data-page="index.html"] .sv-home-nav>a,
  body.sv-toolmenu-page .sv-home-nav>a{
    display:inline-flex!important;
  }
  body[data-page="index.html"] .sv-home-nav,
  body.sv-toolmenu-page .sv-home-nav{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-self:stretch!important;
    justify-content:flex-start!important;
    scrollbar-width:thin!important;
  }
}

/* v21.9.361 — plano e validade sempre visíveis no cabeçalho, sem ocupar a página inicial */
.workspace-topbar-actions .workspace-plan-status{
  height:38px!important;
  min-width:158px!important;
  max-width:210px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  padding:4px 10px!important;
  border:1px solid #cfe0f5!important;
  border-radius:4px!important;
  background:#f7fbff!important;
  color:#0f3f87!important;
  text-decoration:none!important;
  line-height:1.05!important;
  box-shadow:none!important;
  order:1!important;
}
.workspace-topbar-actions .workspace-plan-status strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11px!important;
  font-weight:900!important;
  color:inherit!important;
}
.workspace-topbar-actions .workspace-plan-status small{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9.5px!important;
  font-weight:700!important;
  color:inherit!important;
  opacity:.82!important;
}
.workspace-topbar-actions .workspace-plan-status:hover{background:#eef6ff!important;border-color:#9fc4ef!important;}
.workspace-topbar-actions .workspace-plan-status.is-active{background:#f0fdf4!important;border-color:#bbebca!important;color:#167443!important;}
.workspace-topbar-actions .workspace-plan-status.is-warning{background:#fff8e8!important;border-color:#f4d588!important;color:#8a5a00!important;}
.workspace-topbar-actions .workspace-plan-status.is-critical{background:#fff3e8!important;border-color:#f5b77c!important;color:#a54308!important;}
.workspace-topbar-actions .workspace-plan-status.is-expired{background:#fff1f2!important;border-color:#f3a9b1!important;color:#b42335!important;}
.workspace-topbar-actions .workspace-plan-status.is-lifetime{background:#f5f3ff!important;border-color:#d7cdfc!important;color:#5b3db6!important;}
.workspace-topbar-actions .workspace-plan-status.is-neutral{background:#f8fafc!important;border-color:#d9e1ec!important;color:#475467!important;}
.workspace-topbar-actions .workspace-plan-status.is-admin{background:#eef4ff!important;border-color:#b7cdf7!important;color:#174ea6!important;}
.workspace-topbar-actions .workspace-topbar-account{order:2!important;}
@media(max-width:1180px){
  .workspace-topbar-actions .workspace-plan-status{min-width:118px!important;max-width:145px!important;}
  .workspace-topbar-actions .workspace-plan-status small{display:none!important;}
}
@media(max-width:860px){
  .workspace-topbar-actions .workspace-plan-status{display:none!important;}
}


/* v21.9.370 — identidade visual dos planos oficiais */
.workspace-topbar-actions .workspace-plan-status.is-plan-basic{
  background:#f3e3d1!important;
  border-color:#b87333!important;
  color:#6f431f!important;
}
.workspace-topbar-actions .workspace-plan-status.is-plan-plus{
  background:#f1e8ff!important;
  border-color:#8b5cf6!important;
  color:#5b21b6!important;
}
.workspace-topbar-actions .workspace-plan-status.is-plan-pro{
  background:#fff2b8!important;
  border-color:#d6a700!important;
  color:#6f5200!important;
}
.workspace-plan-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  margin-right:5px!important;
  line-height:1!important;
  vertical-align:-3px!important;
}
.workspace-plan-diamond{
  display:block!important;
  width:16px!important;
  height:16px!important;
  overflow:visible!important;
}
.workspace-plan-diamond path:first-child{
  fill:#ffd84d!important;
  stroke:#8a6400!important;
  stroke-width:1.25!important;
  stroke-linejoin:round!important;
}
.workspace-plan-diamond path:last-child{
  fill:none!important;
  stroke:#8a6400!important;
  stroke-width:1.1!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.workspace-topbar-actions .workspace-plan-status.is-expired{
  box-shadow:inset 4px 0 0 #b42335!important;
}
.workspace-topbar-actions .workspace-plan-status.is-critical small{
  color:#9a3412!important;
  opacity:1!important;
}

/* v21.9.382 — página Projetos sem pastas */
body[data-page="nuvem.html"] .main.projects-page-main{max-width:none!important;width:100%!important;padding-top:88px!important;}
.projects-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px;}
.projects-overview article,.projects-panel,.project-list-row{border:1px solid #1769e0!important;background:#fff!important;}
.projects-overview article{padding:18px 20px;min-height:96px;display:grid;align-content:center;gap:8px;}
.projects-overview span{font-size:12px;color:#667085;font-weight:750;}
.projects-overview strong{font-size:28px;line-height:1;color:#0f172a;}
.projects-overview small{font-size:11px;color:#667085;font-weight:600}.projects-storage-card{position:relative}.projects-storage-meter{height:7px;border-radius:999px;background:#e8eef7;overflow:hidden;margin-top:2px}.projects-storage-meter>i{display:block;height:100%;width:0;border-radius:inherit;background:#1769e0;transition:width .25s ease}.projects-storage-buy{justify-self:start;border:1px solid #bfd4f5;background:#fff;color:#0f62e8;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.projects-storage-buy:hover{background:#f5f9ff}
.projects-panel{padding:18px!important;box-shadow:none!important;}
.projects-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;margin-bottom:14px;}
.projects-search{display:flex;align-items:center;gap:10px;border:1px solid #1769e0;background:#fff;padding:0 12px;min-height:44px;}
.projects-search svg{width:19px;height:19px;fill:none;stroke:#0f5bdc;stroke-width:1.9;flex:0 0 auto;}
.projects-search input{border:0!important;outline:0!important;width:100%;min-width:0;background:transparent!important;}
.projects-toolbar select{min-height:44px;border:1px solid #1769e0!important;background:#fff;padding:0 12px;}
.projects-list{display:grid;gap:10px;}
.project-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 18px;}
.project-list-main strong{display:block;font-size:16px;color:#0f172a;margin-bottom:8px;}
.project-list-meta{display:flex;flex-wrap:wrap;gap:7px;}
.project-list-meta span{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border:1px solid #b7d2ff;background:#f5f9ff;color:#475467;font-size:11px;font-weight:750;}
.project-list-actions{display:flex;align-items:center;gap:8px;}
.project-icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #1769e0;background:#fff;color:#0f5bdc;cursor:pointer;}
.project-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;}
.project-icon-button:hover,.project-icon-button:focus-visible,.project-icon-button:active{background:#0f5bdc;color:#fff;}
.project-delete-button{border-color:#dc2626!important;color:#dc2626!important;}
.project-delete-button:hover,.project-delete-button:focus-visible,.project-delete-button:active{background:#dc2626!important;color:#fff!important;}
.project-download-popover{position:fixed;z-index:9999;min-width:190px;display:grid;padding:7px;border:1px solid #1769e0;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16);}
.project-download-popover button{border:0;background:#fff;text-align:left;padding:10px 12px;font-weight:750;color:#0f172a;cursor:pointer;}
.project-download-popover button:hover{background:#0f5bdc;color:#fff;}
body[data-page="nuvem.html"] .sv-home-nav>a.active{color:#0f5bdc!important;border-bottom-color:#0f5bdc!important;background:#f8fbff!important;}
.sv-plan-usage-footer{position:fixed;z-index:2147482000;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100vw - 24px);padding:7px 12px;border:1px solid #d9e4f2;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 6px 22px rgba(15,23,42,.12);backdrop-filter:blur(8px);font-size:10px;color:#617087;white-space:nowrap}.sv-plan-usage-footer>span{font-weight:800;color:#23344c}.sv-plan-usage-footer>b{font-weight:750;color:#0f172a}.sv-plan-usage-footer>i{width:1px;height:12px;background:#d9e4f2}.georural-map-page .sv-plan-usage-footer{bottom:34px}@media(max-width:680px){.sv-plan-usage-footer{gap:6px;padding:6px 9px;font-size:9px}.sv-plan-usage-footer>span{display:none}}
@media(max-width:760px){.projects-overview{grid-template-columns:1fr}.projects-toolbar{grid-template-columns:1fr}.project-list-row{grid-template-columns:1fr}.project-list-actions{justify-content:flex-end}}

/* v21.9.383 — Projetos compactos, sem esticar de ponta a ponta */
body[data-page="nuvem.html"] .main,
body[data-page="nuvem/index.html"] .main,
body[data-page="/nuvem/"] .main{
  width:100%!important;
}
body[data-page="nuvem.html"] .projects-overview,
body[data-page="nuvem/index.html"] .projects-overview,
body[data-page="/nuvem/"] .projects-overview{
  width:min(100%,760px)!important;
  margin:0 auto 16px!important;
  grid-template-columns:repeat(2,minmax(240px,320px))!important;
  justify-content:center!important;
  gap:16px!important;
}
body[data-page="nuvem.html"] .projects-overview article,
body[data-page="nuvem/index.html"] .projects-overview article,
body[data-page="/nuvem/"] .projects-overview article{
  min-height:88px!important;
  padding:16px 18px!important;
}
body[data-page="nuvem.html"] .projects-panel,
body[data-page="nuvem/index.html"] .projects-panel,
body[data-page="/nuvem/"] .projects-panel{
  width:min(100%,1180px)!important;
  margin:0 auto!important;
  padding:16px!important;
}
body[data-page="nuvem.html"] .projects-toolbar,
body[data-page="nuvem/index.html"] .projects-toolbar,
body[data-page="/nuvem/"] .projects-toolbar{
  grid-template-columns:minmax(0,1fr) 190px!important;
  gap:12px!important;
  margin:0 0 14px!important;
}
body[data-page="nuvem.html"] .projects-search,
body[data-page="nuvem/index.html"] .projects-search,
body[data-page="/nuvem/"] .projects-search{
  min-width:0!important;
}
body[data-page="nuvem.html"] .project-list-row,
body[data-page="nuvem/index.html"] .project-list-row,
body[data-page="/nuvem/"] .project-list-row{
  min-height:82px!important;
}
@media(max-width:760px){
  body[data-page="nuvem.html"] .projects-overview,
  body[data-page="nuvem/index.html"] .projects-overview,
  body[data-page="/nuvem/"] .projects-overview{
    width:100%!important;
    grid-template-columns:1fr!important;
  }
  body[data-page="nuvem.html"] .projects-panel,
  body[data-page="nuvem/index.html"] .projects-panel,
  body[data-page="/nuvem/"] .projects-panel{
    width:100%!important;
  }
  body[data-page="nuvem.html"] .projects-toolbar,
  body[data-page="nuvem/index.html"] .projects-toolbar,
  body[data-page="/nuvem/"] .projects-toolbar{
    grid-template-columns:1fr!important;
  }
}

/* v21.9.384 — menu de ferramentas sem subtópicos */
.sv-home-tools-menu{grid-template-columns:repeat(3,minmax(240px,1fr))!important;gap:18px!important}
.sv-home-tools-menu section{display:grid!important;align-content:start!important;gap:8px!important}
.sv-home-tools-menu section h3{display:none!important}
@media(max-width:980px){.sv-home-tools-menu{grid-template-columns:1fr!important}}


/* ===== assets/css/core/smart-forms.css ===== */
/* Surveyor v21.9.403 — formulários compactos e campos inteligentes sem detecção genérica. */
:root{--sv-form-shell-max:1080px}

body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .top>div>p{display:none!important}

body[data-page="car.html"]{--sv-form-shell-max:1120px}
body[data-page="customizacao.html"]{--sv-form-shell-max:1100px}
body[data-page="memorial.html"],
body[data-page="mapas.html"],
body[data-page="pranchas.html"],
body[data-page="planialtimetria.html"],
body[data-page="perimetros.html"],
body[data-page="ambiental.html"],
body[data-page="confrontacao.html"],
body[data-page="ods.html"],
body[data-page="glebas.html"],
body[data-page="loteamentos-reurb.html"]{--sv-form-shell-max:1080px}

body[data-page="memorial.html"] .main>.top,
body[data-page="memorial.html"] .main>.panel,
body[data-page="car.html"] .main>.top,
body[data-page="car.html"] .main>.panel,
body[data-page="car.html"] .main>.sheet-tabs,
body[data-page="mapas.html"] .main>.top,
body[data-page="mapas.html"] .main>.panel,
body[data-page="pranchas.html"] .main>.top,
body[data-page="pranchas.html"] .main>.panel,
body[data-page="planialtimetria.html"] .main>.top,
body[data-page="planialtimetria.html"] .main>.panel,
body[data-page="perimetros.html"] .main>.top,
body[data-page="perimetros.html"] .main>.panel,
body[data-page="ambiental.html"] .main>.top,
body[data-page="ambiental.html"] .main>.panel,
body[data-page="confrontacao.html"] .main>.top,
body[data-page="confrontacao.html"] .main>.panel,
body[data-page="ods.html"] .main>.top,
body[data-page="ods.html"] .main>.panel,
body[data-page="glebas.html"] .main>.top,
body[data-page="glebas.html"] .main>.panel,
body[data-page="loteamentos-reurb.html"] .main>.top,
body[data-page="loteamentos-reurb.html"] .main>.panel,
body[data-page="customizacao.html"] .main>.top,
body[data-page="customizacao.html"] .main>.panel,
body[data-page="customizacao.html"] .main>.customization-layout{
  width:min(100%,var(--sv-form-shell-max))!important;
  max-width:var(--sv-form-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important
}

body[data-page="car.html"] .main{max-width:none!important;width:100%!important}
body[data-page="car.html"] .car-project-picker-simple,
body[data-page="car.html"] .car-simple-tabs,
body[data-page="car.html"] .car-tab-panel{
  width:min(100%,var(--sv-form-shell-max))!important;
  max-width:var(--sv-form-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important
}

body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel{padding:14px!important}
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel .form-grid,
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel .form-grid.two,
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel .form-grid.three{gap:9px 11px!important}
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel input,
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel select,
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel .compact-input{min-height:38px!important}
body[data-page]:not([data-page="mapa.html"]):not([data-page="admin.html"]) .sv-form-panel .panel-heading{margin-bottom:10px!important}

.sv-municipality-suggestions{position:fixed;z-index:100000;display:none;max-height:260px;overflow:auto;border:1px solid #2563eb;border-radius:10px;background:#fff;box-shadow:0 14px 36px rgba(15,42,68,.18)}
.sv-municipality-suggestions.is-open{display:block}
.sv-municipality-option{width:100%;min-height:40px;padding:8px 12px;border:0;border-bottom:1px solid #e5edf8;background:#fff;color:#0f2a44;text-align:left;cursor:pointer}
.sv-municipality-option:last-child{border-bottom:0}
.sv-municipality-option:hover,.sv-municipality-option.is-active{background:#eaf2ff;color:#1d4ed8}
.sv-municipality-option strong{display:block;font-size:13px}
.sv-municipality-option small{display:block;margin-top:2px;color:#607089;font-size:11px}
.sv-municipality-empty{padding:12px;color:#607089;font-size:12px}
.sv-input-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important}
.sv-input-valid{border-color:#16a34a!important}

@media(max-width:900px){
  body[data-page="car.html"] .car-project-picker-simple,
  body[data-page="car.html"] .car-simple-tabs,
  body[data-page="car.html"] .car-tab-panel{width:100%!important}
}

/* v21.9.403 — ações preservadas após remover cabeçalhos internos redundantes. */
.panel-actions-top,.car-feature-actions{justify-content:flex-end!important;margin:0 0 10px!important}


/* ===== assets/css/core/commercial-readiness-v21.10.0.css ===== */
:root{--surveyor-focus:#2563eb;--surveyor-danger:#b91c1c;--surveyor-warning:#92400e;--surveyor-success:#166534}
*{box-sizing:border-box}
html{overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
:where(button,[role="button"],a,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--surveyor-focus) 35%,transparent);outline-offset:2px}
:where(button,[role="button"],input,select){min-height:36px}
img,svg,canvas,video{max-width:100%}
[hidden],.hidden{display:none!important}
.surveyor-runtime-banner{position:fixed;z-index:2147483000;left:50%;top:max(10px,env(safe-area-inset-top));transform:translateX(-50%);width:min(680px,calc(100% - 24px));display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:13px;background:#fff;color:#0f172a;box-shadow:0 18px 50px rgba(15,23,42,.26);border:1px solid #cbd5e1;font:600 14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.surveyor-runtime-banner[data-kind="danger"]{border-color:#fecaca;background:#fff7f7;color:#7f1d1d}.surveyor-runtime-banner[data-kind="warning"]{border-color:#fed7aa;background:#fffbeb;color:#78350f}.surveyor-runtime-banner[data-kind="success"]{border-color:#bbf7d0;background:#f0fdf4;color:#14532d}.surveyor-runtime-banner__message{flex:1}.surveyor-runtime-banner button{min-height:28px;border:0;background:transparent;color:inherit;font:700 18px/1 system-ui;cursor:pointer;padding:2px 5px;border-radius:6px}
.surveyor-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){:where(.modal,.dialog,[role="dialog"]){max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}:where(.modal-content,.dialog-content){max-height:calc(100dvh - 32px)!important;overflow:auto}.surveyor-runtime-banner{top:max(6px,env(safe-area-inset-top));font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* ===== assets/css/core/shell-stabilizer-v21.10.0.css ===== */
/* Surveyor v21.10.0 REV7 — estabilização do shell moderno
   Impede o layout lateral legado de aparecer antes da topbar moderna. */
:root{--sv-shell-topbar:50px}

body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite > .side,
body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite > .workspace-sidebar,
body.workspace-shell-v131.sv-toolmenu-page .side,
body.workspace-shell-v131.sv-toolmenu-page .workspace-sidebar{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite,
body.workspace-shell-v131.sv-toolmenu-page .suite,
body.workspace-shell-v131.sv-toolmenu-page .workspace-suite{
  display:block!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  min-height:100vh!important;
}

body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite > .main,
body.workspace-shell-v131.sv-toolmenu-page .main,
body.workspace-shell-v131.sv-toolmenu-page .workspace-main{
  grid-column:1!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  min-width:0!important;
}

body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) .mobile-toggle{
  display:none!important;
}

/* Reserva a faixa da topbar desde o primeiro paint, reduzindo deslocamento visual. */
body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite > .main{
  padding-top:calc(var(--sv-shell-topbar) + 28px)!important;
}

/* Ícones robustos: se o PNG falhar, uma sigla continua visível. */
.module-icon-safe{
  display:inline-grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
}
.module-icon-safe > .module-icon-img{
  grid-area:1/1!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.module-icon-safe > .module-icon-fallback{
  grid-area:1/1!important;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  border-radius:8px;
  background:#eaf1ff;
  color:#0b4bf2!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.02em;
}
.module-icon-safe > .module-icon-fallback[hidden]{display:none!important}

/* Garante que os ícones de ferramentas não desapareçam por regras antigas. */
.sv-home-tools-menu .tool-icon .module-icon-safe,
.workspace-nav .nav-icon .module-icon-safe,
.map-global-nav .nav-icon .module-icon-safe{
  width:32px!important;
  height:32px!important;
}

@media(max-width:760px){
  body[data-page]:not([data-page="mapa.html"]):not([data-page="login.html"]) > .suite > .main{
    padding-top:calc(var(--sv-shell-topbar) + 18px)!important;
  }
}


/* Surveyor v21.10.0 REV8 — alinhamento uniforme dos ícones no menu Ferramentas */
.sv-home-tools-menu a{
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:11px!important;
  min-height:56px!important;
  box-sizing:border-box!important;
}
.sv-home-tools-menu .tool-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  line-height:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.sv-home-tools-menu .tool-icon .module-icon-safe{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:0!important;
}
.sv-home-tools-menu .tool-icon .module-icon-img{
  width:24px!important;
  height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  position:static!important;
  transform:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
.sv-home-tools-menu a>span:last-child{
  min-width:0!important;
  min-height:34px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
.sv-home-tools-menu a>span:last-child b,
.sv-home-tools-menu a>span:last-child small{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(min-width:981px){
  .sv-home-tools-menu section{grid-auto-rows:56px!important}
  .sv-home-tools-menu a{height:56px!important}
}
@media(max-width:980px){
  .sv-home-tools-menu a{height:auto!important;min-height:56px!important}
}


/* ===== assets/css/core/surveyor-modern-ui-v21.11.5.css ===== */
/* Surveyor Modern UI — visual transplant only. Functional runtime remains 21.11.5. */
:root{
  --sv-blue:#0f62e8;
  --sv-blue-2:#1769e8;
  --sv-blue-soft:#edf5ff;
  --sv-navy:#071d35;
  --sv-text:#10213b;
  --sv-body:#44536a;
  --sv-muted:#6f7f97;
  --sv-line:#dbe3ee;
  --sv-line-soft:#e9eef5;
  --sv-bg:#f5f7fb;
  --sv-white:#fff;
  --sv-shadow:0 1px 2px rgba(15,23,42,.04),0 7px 18px rgba(15,23,42,.045);
  --sv-radius:12px;
}
html,body{background:var(--sv-bg)!important;color:var(--sv-text)!important}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}

/* ===== GLOBAL TOP HEADER (all screens except map/login) ===== */
body.workspace-shell-v131.sv-toolmenu-page .workspace-topbar.sv-home-topbar,
body[data-page="index.html"] .workspace-topbar.sv-home-topbar{
  height:56px!important;left:0!important;right:0!important;padding:0 18px!important;
  grid-template-columns:minmax(190px,1fr) auto minmax(250px,1fr)!important;gap:16px!important;
  border-bottom:1px solid var(--sv-line)!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.035)!important;
}
.sv-home-brand{justify-self:start!important}.sv-home-brand a{gap:8px!important}.sv-home-brand img{width:30px!important;height:30px!important}.sv-home-brand strong{font-size:14px!important;font-weight:800!important;letter-spacing:-.01em!important}.sv-home-brand small{font-size:8px!important;font-weight:500!important;color:#6e7d92!important;margin-top:2px!important}
body.sv-toolmenu-page .sv-home-nav,body[data-page="index.html"] .sv-home-nav{justify-self:center!important;gap:4px!important;height:56px!important}
body.sv-toolmenu-page .sv-home-nav>a,body.sv-toolmenu-page .sv-home-tools-btn,body[data-page="index.html"] .sv-home-nav>a,body[data-page="index.html"] .sv-home-tools-btn{
  height:38px!important;border:1px solid transparent!important;border-bottom:1px solid transparent!important;border-radius:8px!important;padding:0 12px!important;font-size:12px!important;font-weight:600!important;color:#17233a!important;background:transparent!important;gap:6px!important;
}
body.sv-toolmenu-page .sv-home-tools-btn,body[data-page="index.html"] .sv-home-tools-btn{border-color:var(--sv-line)!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025)!important}
body.sv-toolmenu-page .sv-home-nav>a:hover,body.sv-toolmenu-page .sv-home-tools-btn:hover,body[data-page="index.html"] .sv-home-nav>a:hover,body[data-page="index.html"] .sv-home-tools-btn:hover{background:#f3f7fc!important;color:#0b57d0!important;border-color:#dce7f5!important}
body.sv-toolmenu-page .sv-home-nav>a.active,body[data-page="index.html"] .sv-home-nav>a.active,body.sv-toolmenu-page .sv-home-tools-btn[aria-expanded="true"]{background:#edf4ff!important;color:#0b5fe7!important;border-color:#edf4ff!important}
.sv-home-tools-btn .tools-grid{display:none!important}.sv-home-tools-btn .tools-chevron{font-size:12px!important;color:#718096!important;display:inline-block!important;transition:transform .2s ease!important}.sv-home-tools-btn[aria-expanded="true"] .tools-chevron{transform:rotate(180deg)!important}
body.sv-toolmenu-page .workspace-topbar-actions,body[data-page="index.html"] .workspace-topbar-actions{justify-self:end!important;display:flex!important;gap:10px!important;align-items:center!important}
.workspace-topbar-actions .notification-bell{width:36px!important;height:36px!important;min-width:36px!important;border-radius:50%!important;border:1px solid var(--sv-line)!important;background:#fff!important}.workspace-topbar-actions .notification-bell svg{width:17px!important;height:17px!important}.workspace-topbar-actions .notification-bell span{right:-4px!important;top:-5px!important;background:#ef4444!important;color:white!important;border:2px solid white!important}
.workspace-topbar-actions .workspace-plan-status{height:40px!important;min-width:135px!important;border-radius:8px!important;padding:5px 12px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;box-shadow:0 2px 7px rgba(7,29,53,.18)!important}
.workspace-topbar-actions .workspace-plan-status.is-plan-pro{background:#071d35!important;border-color:#071d35!important;color:#fff!important}.workspace-topbar-actions .workspace-plan-status.is-plan-pro strong{color:#fff!important}.workspace-topbar-actions .workspace-plan-status.is-plan-pro small{color:#a9bfd9!important}.workspace-topbar-actions .workspace-plan-status strong{font-size:11px!important;line-height:1.1!important}.workspace-topbar-actions .workspace-plan-status small{font-size:8px!important;margin-top:3px!important}
.workspace-topbar .account-zone.workspace-topbar-account{position:relative!important;height:42px!important;min-width:150px!important;border:0!important;background:transparent!important;border-radius:8px!important;padding:4px!important;gap:7px!important}.workspace-topbar .account-avatar{width:32px!important;height:32px!important;border-radius:6px!important;background:#e8f1ff!important;color:#0f62e8!important}.workspace-topbar .account-copy strong{font-size:11px!important;max-width:130px!important}.workspace-topbar .account-copy small{font-size:9px!important}.workspace-topbar .account-menu-toggle{width:22px;height:28px;border:0;background:transparent;color:#65758c;cursor:pointer;border-radius:6px}.workspace-topbar .account-menu-toggle:hover{background:#f1f5f9}.workspace-account-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:185px;background:#fff;border:1px solid var(--sv-line);border-radius:10px;box-shadow:0 18px 42px rgba(15,23,42,.16);padding:6px;z-index:100000}.workspace-account-menu.hidden{display:none!important}.workspace-account-menu a,.workspace-account-menu .account-logout{display:flex!important;width:100%!important;height:auto!important;min-height:34px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#334155!important;padding:8px 10px!important;font-size:11px!important;text-decoration:none!important;align-items:center!important}.workspace-account-menu a:hover,.workspace-account-menu .account-logout:hover{background:#f1f5f9!important;color:#0f62e8!important}

/* ===== TOOLS MEGA MENU ===== */
.sv-home-tools-menu{top:56px!important;padding:16px max(16px,calc((100vw - 1440px)/2)) 18px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;background:#fff!important;border-top:0!important;border-bottom:1px solid var(--sv-line)!important;box-shadow:0 14px 30px rgba(15,23,42,.12)!important}
.sv-home-tools-menu.hidden{visibility:hidden!important;opacity:0!important;transform:translateY(-10px)!important;pointer-events:none!important}.sv-home-tools-menu section{display:block!important}.sv-home-tools-menu section h3{display:block!important;margin:0 0 10px!important;padding-bottom:8px!important;border-bottom:1px solid #edf1f6!important;font-size:9px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#6c7c93!important;font-weight:800!important}.sv-home-tools-menu a{grid-template-columns:31px minmax(0,1fr)!important;gap:9px!important;min-height:44px!important;padding:7px 8px!important;border-radius:8px!important}.sv-home-tools-menu a:hover{background:#f5f8fd!important;transform:translateX(1px)}.sv-home-tools-menu .tool-icon{width:31px!important;height:31px!important;border:0!important;border-radius:7px!important;background:#eef5ff!important}.sv-home-tools-menu .module-icon-img{width:19px!important;height:19px!important}.sv-home-tools-menu b{font-size:11px!important;color:#1d293d!important}.sv-home-tools-menu small{font-size:8.5px!important;color:#7a899d!important;margin-top:2px!important}.sv-home-tools-menu a[href*="/admin/"] .tool-icon{background:#fff0f1!important}.sv-home-tools-menu a[href*="/admin/"] b{color:#243149!important}

/* ===== MAIN PAGE SHELL ===== */
body.workspace-shell-v131.sv-toolmenu-page .workspace-main,body[data-page="index.html"] .workspace-main{padding:76px 18px 34px!important;max-width:1500px!important;width:100%!important;margin:0 auto!important;box-sizing:border-box!important}
body.workspace-shell-v131 .workspace-page-head,body.workspace-shell-v131 .top{margin:0 0 22px!important;align-items:center!important;min-height:48px!important}
.workspace-page-head>div:first-child,.top>div:first-child{position:relative;padding-left:49px;min-width:0}.workspace-page-head>div:first-child:before,.top>div:first-child:before{content:"";position:absolute;left:0;top:0;width:36px;height:36px;border-radius:8px;background-color:#ecf4ff;background-repeat:no-repeat;background-position:center;background-size:20px 20px;box-shadow:inset 0 0 0 1px #e0ebfa}
body[data-page="nuvem.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/projetos.svg')}body[data-page="acervos.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/acervos.png')}body[data-page="suporte.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/suporte.png')}body[data-page="memorial.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/memorial.png')}body[data-page="ods.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/ods.png')}body[data-page="mapas.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/mapas.png')}body[data-page="pranchas.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/pranchas.png')}body[data-page="planialtimetria.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/planialtimetria.png')}body[data-page="perimetros.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/perimetros.png')}body[data-page="ambiental.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/ambiental.png')}body[data-page="loteamentos-reurb.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/loteamentos.png')}body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/customizacao.png')}body[data-page="admin.html"] .workspace-page-head>div:first-child:before{background-image:url('/assets/module-icons/admin.png')}
.workspace-page-head h1,.top h1{font-size:21px!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.025em!important;color:#0c1d37!important;margin:1px 0 5px!important}.workspace-page-head p,.top p{font-size:11px!important;line-height:1.45!important;color:#677a94!important;margin:0!important}.workspace-page-head .top-actions,.top .top-actions{gap:8px!important}.workspace-page-head .top-actions .link-btn,.workspace-page-head .top-actions .btn,.top .top-actions .link-btn,.top .top-actions .btn{border-radius:7px!important;min-height:35px!important;padding:8px 12px!important;font-size:10px!important;font-weight:700!important}
.workspace-shell-v131 .panel,.support-card,.official-card{border:1px solid var(--sv-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--sv-shadow)!important}
.workspace-shell-v131 .panel{padding:20px!important;margin-bottom:18px!important}
.workspace-shell-v131 .panel h2{font-size:14px!important;color:#111f36!important;margin:0 0 12px!important}.workspace-shell-v131 label{font-size:10px!important;font-weight:600!important;color:#33445d!important;gap:6px!important}.workspace-shell-v131 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),.workspace-shell-v131 select,.workspace-shell-v131 textarea{min-height:36px!important;border:1px solid #d8e2ee!important;border-radius:7px!important;background:#fff!important;padding:8px 10px!important;font-size:11px!important;color:#17243a!important}.workspace-shell-v131 input:focus,.workspace-shell-v131 select:focus,.workspace-shell-v131 textarea:focus{border-color:#679bf3!important;box-shadow:0 0 0 3px rgba(15,98,232,.09)!important}.workspace-shell-v131 .form-grid{gap:14px!important}.workspace-shell-v131 .btn,.workspace-shell-v131 .link-btn{border-radius:7px!important;font-size:10px!important;font-weight:700!important;min-height:34px!important;padding:8px 12px!important}.workspace-shell-v131 .btn.primary,.workspace-shell-v131 .link-btn.primary{background:#1063e8!important;border-color:#1063e8!important;color:#fff!important;box-shadow:0 3px 8px rgba(16,99,232,.16)!important}
.workspace-shell-v131 .preview,.workspace-shell-v131 .output{border:1px solid #dce4ef!important;border-radius:10px!important;background:#f7f9fc!important;box-shadow:none!important}

/* ===== PROJECTS ===== */
body[data-page="nuvem.html"] .projects-overview{display:grid!important}body[data-page="nuvem.html"] .projects-panel{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}body[data-page="nuvem.html"] .projects-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:18px!important}body[data-page="nuvem.html"] .projects-search{width:min(430px,100%)!important;height:36px!important;border:1px solid var(--sv-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}body[data-page="nuvem.html"] .projects-search input{border:0!important;box-shadow:none!important;background:transparent!important;min-height:34px!important}body[data-page="nuvem.html"] #projectSort{display:none!important}.sv-projects-live-count{margin-left:auto;color:#73829a;font-size:10px}.projects-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}.project-list-row{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:265px!important;border:1px solid #dbe3ee!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 2px 6px rgba(15,23,42,.06)!important;padding:0!important}.project-card-preview{height:102px!important;position:relative!important;background:#17304b!important;overflow:hidden!important;background-position:center!important;background-size:cover!important}.project-card-preview:before{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(14,55,35,.18),rgba(18,46,86,.08))}.project-card-preview.is-placeholder{background:radial-gradient(circle at 35% 35%,#44634a 0,#27463e 28%,#142b37 58%,#0b2133 100%)!important}.project-card-preview .project-preview-outline{position:absolute;left:32%;top:28%;width:36%;height:45%;border:3px solid #0b65ff;clip-path:polygon(12% 4%,82% 14%,98% 75%,38% 96%,0 57%);background:rgba(13,99,232,.16);filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}.project-cloud-pill{position:absolute;right:9px;top:8px;background:#fff;color:#1764e8;border:1px solid #dce7f6;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:700}.project-list-main{padding:14px 14px 6px!important;display:block!important}.project-list-main strong{font-size:12px!important;color:#101d30!important;font-weight:800!important}.project-owner{font-size:9px!important;color:#6f8097!important;margin-top:3px!important}.project-list-meta{display:flex!important;gap:11px!important;flex-wrap:wrap!important;padding:7px 14px 12px!important;color:#76869a!important;font-size:9px!important}.project-list-meta span{display:inline-flex!important;align-items:center!important;gap:4px!important}.project-list-actions{margin-top:auto!important;padding:10px 14px 14px!important;border-top:1px solid #edf1f6!important;display:grid!important;grid-template-columns:1fr auto auto!important;gap:6px!important;width:100%!important}.project-icon-button{height:31px!important;border:1px solid #bfd4f5!important;border-radius:6px!important;background:#fff!important;color:#0f62e8!important;display:grid!important;place-items:center!important}.project-icon-button[data-action="view"]{display:flex!important;gap:6px!important;width:100%!important;font-size:9px!important;font-weight:700!important}.project-icon-button[data-action="view"]:after{content:"Abrir no mapa"}.project-icon-button svg{width:14px!important;height:14px!important}.project-delete-button{color:#c43d4d!important;border-color:#f1ccd1!important}.sv-projects-new-btn{background:#1063e8!important;color:#fff!important;border:0!important;border-radius:8px!important;min-height:36px!important;padding:0 16px!important;font-size:10px!important;font-weight:750!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;gap:6px!important;box-shadow:0 3px 9px rgba(16,99,232,.18)!important}

/* ===== ACERVOS ===== */
body[data-page="acervos.html"] .official-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}.official-card{padding:18px!important;min-height:150px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}.official-card:before{content:"OFICIAL";display:inline-flex;padding:3px 7px;border:1px solid #a8cbff;border-radius:999px;background:#f3f8ff;color:#0f62e8;font-size:8px;font-weight:800;margin-bottom:9px}.official-card h3{font-size:13px!important;margin:0 0 4px!important;color:#0d1c32!important}.official-card p{font-size:10px!important;color:#61728b!important;line-height:1.45!important;margin:0 0 12px!important}.official-card .link-btn{margin-top:auto!important;background:#fff!important;color:#0f62e8!important;border-color:#bcd2f5!important}

/* ===== SUPPORT ===== */
body[data-page="suporte.html"] .workspace-page-head .top-actions{display:none!important}.support-layout{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(310px,.95fr)!important;gap:20px!important;align-items:start!important}.support-card{padding:22px!important}.support-badge,.support-desc{display:none!important}.support-card h2{font-size:14px!important;margin:0 0 16px!important}.support-form{display:grid!important;gap:14px!important}.support-form .form-grid.two{grid-template-columns:1fr!important}.support-actions{display:flex!important;gap:8px!important}.support-actions #supportSubmit{width:100%!important}.support-actions #supportClear{display:none!important}.support-info-stack{display:grid!important;gap:14px!important}.support-mini-card{display:flex!important;gap:13px!important;align-items:flex-start!important;padding:18px!important;border:1px solid var(--sv-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.03)!important}.support-mini-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#edf5ff;color:#0f62e8;font-weight:900;font-size:14px;flex:0 0 auto}.support-mini-card strong{display:block;font-size:11px;color:#111f35}.support-mini-card a,.support-mini-card span{display:block;font-size:9px;color:#6d7e96;text-decoration:none;margin-top:3px;line-height:1.4}

/* ===== ADMIN ===== */
body[data-page="admin.html"] .admin-stats{display:none!important}body[data-page="admin.html"] .admin-tabs{display:flex!important;gap:2px!important;flex-wrap:wrap!important;background:#f7f9fc!important;border:1px solid #edf1f6!important;border-radius:10px!important;padding:4px!important;margin:0 0 14px!important}body[data-page="admin.html"] .admin-tabs button{border:0!important;border-radius:7px!important;background:transparent!important;color:#607189!important;font-size:10px!important;font-weight:650!important;min-height:34px!important;padding:0 11px!important}body[data-page="admin.html"] .admin-tabs button.active{background:#fff!important;color:#0f62e8!important;box-shadow:0 1px 3px rgba(15,23,42,.08)!important}body[data-page="admin.html"] .admin-panel{padding:22px!important}body[data-page="admin.html"] .admin-panel .eyebrow{font-size:8px!important;color:#7a8aa0!important;letter-spacing:.09em!important}body[data-page="admin.html"] .admin-panel h2{font-size:15px!important}.sv-admin-team-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.sv-admin-team-owner{min-height:38px!important;border:1px solid #9fc1f8!important;border-radius:7px!important;background:#fff!important;color:#0f62e8!important;font-size:10px!important;font-weight:650!important;cursor:pointer!important}.sv-admin-team-owner:hover{background:#f3f8ff!important}body[data-page="admin.html"] [data-tab="admin-ai"],body[data-page="admin.html"] #tab-admin-ai{display:none!important}.admin-table-wrap,.table-wrap{border:1px solid #e3e9f1!important;border-radius:9px!important;overflow:auto!important}body[data-page="admin.html"] table{background:#fff!important}body[data-page="admin.html"] th{background:#f7f9fc!important;color:#708096!important;font-size:9px!important}body[data-page="admin.html"] td{font-size:10px!important}

/* ===== TECHNICAL / DOCUMENT GENERATION MODULES ===== */
body[data-page="memorial.html"] .panel,body[data-page="ods.html"] .panel,body[data-page="mapas.html"] .panel,body[data-page="pranchas.html"] .panel,body[data-page="planialtimetria.html"] .panel,body[data-page="perimetros.html"] .panel,body[data-page="ambiental.html"] .panel,body[data-page="loteamentos-reurb.html"] .panel,body[data-page="customizacao.html"] .panel{padding:22px!important}.memorial-generation-progress{border-radius:9px!important;background:#f8fafc!important}.memorial-generation-progress-track{height:6px!important}.memorial-generation-progress-bar{background:#1063e8!important}.croqui-preview,.preview{min-height:230px!important;padding:18px!important}.sheet-panel{padding:20px!important}.sheet-menu{border-radius:10px!important;border:1px solid #e1e8f1!important;background:#fff!important}.sheet-menu-list{gap:3px!important}.sheet-menu-list a,.sheet-menu-list button{border-radius:7px!important;font-size:10px!important}.summary,.sheet-summary{gap:10px!important}.summary article,.sheet-summary>div{border-radius:8px!important;background:#f8fafc!important;border:1px solid #e5ebf2!important}

/* ===== MAP: only the top bar and global navigation are visually replaced ===== */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{height:56px!important;min-height:56px!important;background:#fff!important;border-bottom:1px solid var(--sv-line)!important;box-shadow:0 1px 3px rgba(15,23,42,.05)!important;padding:0 10px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) minmax(230px,310px)!important;align-items:center!important;gap:10px!important;z-index:2000!important}body[data-page="mapa.html"] .geo-brand-left{grid-column:1!important;display:flex!important;align-items:center!important}.geo-brand-left .geo-brand{display:none!important}.map-global-nav-toggle{width:38px!important;height:38px!important;border:1px solid #d6e0ec!important;border-radius:8px!important;background:#fff!important;color:#25415f!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}.map-global-nav-toggle svg{width:19px!important;height:19px!important}.sv-map-toolbar-modern{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;height:56px!important;min-width:0!important}.sv-map-toolbar-item,.sv-map-toolbar-modern>details{height:50px!important;min-width:58px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#243852!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:3px 8px!important;cursor:pointer!important;text-decoration:none!important;position:relative!important}.sv-map-toolbar-modern{position:relative!important}.sv-map-toolbar-item:hover,.sv-map-toolbar-modern>details:hover{background:#f3f7fc!important;color:#0f62e8!important}.sv-map-toolbar-item svg,.sv-map-toolbar-modern>details summary svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}.sv-map-toolbar-item .sv-map-label,.sv-map-toolbar-modern>details .sv-map-label{font-size:8px!important;font-weight:600!important;white-space:nowrap!important}.sv-map-toolbar-modern>details summary{list-style:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:100%!important;height:100%!important;cursor:pointer!important}.sv-map-toolbar-modern>details summary::-webkit-details-marker{display:none!important}.sv-map-toolbar-separator{width:1px;height:32px;background:#e2e8f0;margin:0 4px}.sv-map-search-host{grid-column:3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}.sv-map-search-host .geo-searchbar{position:static!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;width:100%!important}.sv-map-search-host .geo-search-input-wrap{width:100%!important}.sv-map-search-host #coordSearch{height:36px!important;border:1px solid #dbe3ee!important;border-radius:999px!important;background:#f8fafc!important;padding:0 38px 0 14px!important;font-size:10px!important}.sv-map-search-host .geo-searchbar>button{display:none!important}.sv-map-search-host .geo-search-input-wrap:after{content:"⌕";position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:20px;color:#49617e;pointer-events:none}.sv-map-search-host .city-suggest{top:calc(100% + 6px)!important;right:0!important;left:auto!important;width:100%!important}.geo-toolstrip{display:contents!important}.geo-toolbar-right.geo-toolbar-right-map{display:none!important}.map-quick-tools-anchor{display:none!important}
.map-global-nav{width:350px!important;max-width:min(350px,calc(100vw - 28px))!important;background:#fff!important;border-right:1px solid #dbe3ee!important;box-shadow:12px 0 28px rgba(15,23,42,.12)!important;color:#26374f!important}.map-global-nav .brand{height:auto!important;padding:18px 18px 12px!important;border-bottom:1px solid #e8edf4!important;background:#fff!important}.map-global-nav .brand .brand-mark{display:none!important}.map-global-nav .brand>div:nth-child(2):before{content:"Surveyor";display:block;font-size:15px;font-weight:800;color:#172238}.map-global-nav .brand strong{display:none!important}.map-global-nav .brand small{font-size:10px!important;color:#718199!important}.map-global-nav-close{right:14px!important;top:14px!important;width:30px!important;height:30px!important;border:0!important;border-radius:7px!important;background:#f7f9fc!important;color:#465a74!important}.map-global-nav .nav{padding:10px 10px!important;display:grid!important;gap:2px!important}.map-global-nav .nav a{min-height:39px!important;padding:0 12px!important;border-radius:7px!important;background:transparent!important;color:#3d4f67!important;font-size:11px!important;font-weight:550!important;display:flex!important;align-items:center!important;gap:10px!important}.map-global-nav .nav a:hover,.map-global-nav .nav a.active{background:#f1f6fd!important;color:#0f62e8!important}.map-global-nav .nav .nav-icon{width:21px!important;height:21px!important;display:grid!important;place-items:center!important}.map-global-nav .module-icon-img{width:17px!important;height:17px!important}.map-global-nav .side-note{display:none!important}

@media(max-width:1050px){body.sv-toolmenu-page .workspace-topbar.sv-home-topbar,body[data-page="index.html"] .workspace-topbar.sv-home-topbar{grid-template-columns:auto 1fr auto!important}.sv-home-brand small{display:none!important}.workspace-topbar-actions .workspace-plan-status{display:none!important}.projects-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sv-home-tools-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}.support-layout{grid-template-columns:1fr!important}.sv-admin-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sv-map-toolbar-modern{justify-content:flex-start!important;overflow-x:auto!important}.sv-map-toolbar-item,.sv-map-toolbar-modern>details{min-width:54px!important}}
@media(max-width:720px){body.sv-toolmenu-page .sv-home-nav>a{display:none!important}body.workspace-shell-v131.sv-toolmenu-page .workspace-main{padding:72px 12px 28px!important}.projects-list{grid-template-columns:1fr!important}.official-grid{grid-template-columns:1fr!important}.sv-home-tools-menu{grid-template-columns:1fr!important;max-height:calc(100vh - 56px)!important;overflow:auto!important}.workspace-topbar-actions .workspace-topbar-account .account-copy{display:none!important}.workspace-topbar .account-zone.workspace-topbar-account{min-width:40px!important}.sv-admin-team-grid{grid-template-columns:1fr!important}body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:44px minmax(0,1fr)!important}.sv-map-search-host{display:none!important}.sv-map-toolbar-modern{grid-column:2!important}}

/* expanded quick tools below the centered map toolbar */
.sv-map-toolbar-modern .map-quick-tools-drawer{position:absolute!important;left:50%!important;top:54px!important;transform:translateX(-50%)!important;width:min(680px,calc(100vw - 40px))!important;max-height:260px!important;overflow:auto!important;background:#fff!important;border:1px solid #dbe3ee!important;border-radius:12px!important;box-shadow:0 16px 36px rgba(15,23,42,.16)!important;padding:10px!important;z-index:6000!important}
.sv-map-toolbar-modern .map-quick-tools-drawer.hidden{display:none!important}
.sv-map-toolbar-modern .map-quick-tools-grid{display:grid!important;grid-template-columns:repeat(10,minmax(42px,1fr))!important;gap:7px!important}
.sv-map-toolbar-modern .map-quick-tools-grid button{min-height:42px!important;border:1px solid #b7d1fb!important;border-radius:8px!important;background:#fff!important;color:#0f62e8!important}
.sv-map-toolbar-modern .map-quick-tools-grid button:hover{background:#edf5ff!important}
.sv-map-toolbar-modern .sv-map-toolbar-more .sv-map-label{display:none!important}
.sv-map-toolbar-modern .sv-map-toolbar-more{min-width:40px!important;width:40px!important}
.project-card-preview .project-preview-tiles{position:absolute;left:50%;top:50%;width:768px;height:768px;transform:translate(calc(-1 * var(--sv-preview-x,384px)),calc(-1 * var(--sv-preview-y,384px)));transform-origin:0 0;z-index:0}.project-card-preview .project-preview-tiles img{position:absolute;width:256px;height:256px;object-fit:cover}.project-card-preview .project-preview-svg{position:absolute;left:50%;top:50%;width:768px;height:768px;transform:translate(calc(-1 * var(--sv-preview-x,384px)),calc(-1 * var(--sv-preview-y,384px)));z-index:1;overflow:visible}.project-card-preview .project-cloud-pill{z-index:4}.project-card-preview:before{z-index:2;pointer-events:none}
.workspace-topbar-actions .notification-center{order:1!important}.workspace-topbar-actions .workspace-plan-status{order:2!important}.workspace-topbar-actions .workspace-topbar-account{order:3!important}

/* ===== 2026-08-17 corrections: map header, project previews, teams and generation progress ===== */
body[data-page="mapa.html"] .geo-toolstrip{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;padding:0!important;border:0!important;overflow:hidden!important}
body[data-page="mapa.html"] .geo-layers-trigger,
body[data-page="mapa.html"] .geo-toolbar-center,
body[data-page="mapa.html"] .geo-toolbar-right-map,
body[data-page="mapa.html"] .map-quick-tools-anchor{display:none!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern .geo-tool,
body[data-page="mapa.html"] .sv-map-toolbar-modern .geo-layers-trigger,
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-download-menu,
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-download-menu summary{display:flex!important;visibility:visible!important;height:50px!important;min-height:50px!important;max-height:50px!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-download-menu{overflow:visible!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-download-menu .map-download-list{top:52px!important;z-index:7000!important}
body[data-page="mapa.html"] .geo-brandbar.map-onebar{overflow:visible!important}
body[data-page="mapa.html"] .geo-app{grid-template-rows:56px minmax(0,1fr)!important}
body[data-page="mapa.html"] .geo-workspace{grid-row:2!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern{overflow:visible!important;white-space:nowrap!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern>.sv-map-toolbar-item,
body[data-page="mapa.html"] .sv-map-toolbar-modern>details{flex:0 0 auto!important}
@media(max-width:1180px){body[data-page="mapa.html"] .sv-map-toolbar-modern{overflow-x:auto!important;overflow-y:visible!important;justify-content:flex-start!important}}

.project-card-preview{background:#dfe8f0!important}
.project-card-preview.is-placeholder{background:linear-gradient(110deg,#dfe7ef 8%,#edf2f6 18%,#dfe7ef 33%)!important;background-size:200% 100%!important;animation:svProjectPreviewLoading 1.4s linear infinite!important}
.project-card-preview.is-placeholder .project-preview-outline{display:none!important}
.project-card-preview.is-preview-ready{animation:none!important;background:#152c3b!important}
.project-card-preview.is-preview-unavailable{animation:none!important;background:linear-gradient(145deg,#17364a,#254f58 55%,#1d3c4b)!important}
.project-card-preview.is-preview-unavailable .project-preview-outline{display:block!important}
@keyframes svProjectPreviewLoading{to{background-position-x:-200%}}
.project-card-preview .project-preview-tiles{z-index:0!important}
.project-card-preview .project-preview-svg{z-index:3!important}
.project-card-preview:before{z-index:2!important;background:linear-gradient(180deg,rgba(5,25,45,.03),rgba(5,25,45,.12))!important}
.project-card-preview .project-cloud-pill{z-index:5!important}

.sv-admin-team-owner{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:0 14px!important;color:#18314e!important;text-align:left!important}
.sv-admin-team-owner:before{content:"♧";font-size:15px;color:#0f62e8;flex:0 0 auto}

.sv-generation-overlay{position:fixed;inset:0;z-index:120000;display:grid;place-items:center;background:rgba(8,24,45,.32);backdrop-filter:blur(3px);padding:20px}
.sv-generation-overlay[hidden]{display:none!important}
.sv-generation-card{width:min(440px,calc(100vw - 32px));background:#fff;border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 24px 70px rgba(15,33,58,.24);padding:24px}
.sv-generation-card-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.sv-generation-spinner{width:34px;height:34px;border-radius:50%;border:3px solid #dce9fb;border-top-color:#1769e8;animation:svGenSpin .8s linear infinite;flex:0 0 auto}.sv-generation-card strong{display:block;font-size:14px;color:#10213b}.sv-generation-card small{display:block;margin-top:3px;color:#718096;font-size:10px}.sv-generation-progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:10px;color:#5f7087;font-weight:700}.sv-generation-progress-row b{color:#1769e8}.sv-generation-track{height:8px;border-radius:999px;background:#e4edf8;overflow:hidden}.sv-generation-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769e8,#4b91ff);transition:width .22s ease}.sv-generation-stage{margin-top:10px;font-size:10px;color:#65768d;line-height:1.4}.sv-generation-card.is-done .sv-generation-spinner{border:0;background:#eaf8ef;color:#168348;display:grid;place-items:center;animation:none}.sv-generation-card.is-done .sv-generation-spinner:before{content:"✓";font-size:19px;font-weight:900}.sv-generation-card.is-error .sv-generation-spinner{border:0;background:#fff0f1;color:#c33;display:grid;place-items:center;animation:none}.sv-generation-card.is-error .sv-generation-spinner:before{content:"!";font-size:19px;font-weight:900}@keyframes svGenSpin{to{transform:rotate(360deg)}}

/* ===== MAP HOTFIX 2026-08-17: clean functional one-line toolbar ===== */
body[data-page="mapa.html"].georural-map-page .geo-app{
  grid-template-rows:56px minmax(0,1fr)!important;
}
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  position:relative!important;
  height:56px!important;
  min-height:56px!important;
  max-height:56px!important;
  display:grid!important;
  grid-template-columns:48px minmax(620px,1fr) minmax(250px,320px)!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 10px!important;
  overflow:visible!important;
  background:#fff!important;
  border-bottom:1px solid #dfe6ef!important;
  box-shadow:0 1px 3px rgba(15,23,42,.05)!important;
}
body[data-page="mapa.html"] .geo-brand-left{
  grid-column:1!important;
  position:static!important;
  width:48px!important;
  min-width:48px!important;
  height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:0!important;
  margin:0!important;
}
body[data-page="mapa.html"] .map-global-nav-toggle{
  width:38px!important;height:38px!important;min-width:38px!important;
  display:grid!important;place-items:center!important;
  margin:0!important;padding:0!important;
}
body[data-page="mapa.html"] .sv-map-legacy-controls{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  opacity:0!important;
  pointer-events:none!important;
  left:-9999px!important;top:-9999px!important;
  display:block!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern{
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  z-index:2400!important;
  height:56px!important;
  min-width:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern>.sv-map-toolbar-item,
body[data-page="mapa.html"] .sv-map-toolbar-modern>.sv-map-export-clean{
  flex:0 0 auto!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item,
body[data-page="mapa.html"] .sv-map-export-clean{
  height:56px!important;
  min-width:64px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#1f344d!important;
  box-shadow:none!important;
  transform:none!important;
}
body[data-page="mapa.html"] button.sv-map-toolbar-item{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  padding:4px 9px!important;
  cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item:hover,
body[data-page="mapa.html"] .sv-map-export-clean:hover,
body[data-page="mapa.html"] .sv-map-toolbar-item:focus-visible{
  background:#f6f9fd!important;
  color:#0d63df!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item svg,
body[data-page="mapa.html"] .sv-map-export-clean summary svg{
  width:18px!important;height:18px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  flex:0 0 auto!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item .sv-map-label,
body[data-page="mapa.html"] .sv-map-export-clean .sv-map-label{
  font-size:9px!important;
  line-height:1!important;
  font-weight:600!important;
  color:inherit!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-separator{
  flex:0 0 1px!important;
  align-self:center!important;
  width:1px!important;height:34px!important;
  background:#e1e7ef!important;
  margin:0 5px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-more{
  min-width:38px!important;width:38px!important;
  border:1px solid #c6d8f5!important;
  border-radius:7px!important;
  height:38px!important;
  align-self:center!important;
  margin:0 4px!important;
  padding:0!important;
  background:#fff!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-more svg{width:17px!important;height:17px!important}
body[data-page="mapa.html"] .sv-map-toolbar-more .sv-more-up{display:none!important}
body[data-page="mapa.html"] .sv-map-toolbar-more[aria-expanded="true"]{background:#eef5ff!important;color:#0d63df!important;border-color:#78a8f3!important}
body[data-page="mapa.html"] .sv-map-toolbar-more[aria-expanded="true"] .sv-more-down{display:none!important}
body[data-page="mapa.html"] .sv-map-toolbar-more[aria-expanded="true"] .sv-more-up{display:block!important}
body[data-page="mapa.html"] .sv-map-export-clean{position:relative!important;display:block!important}
body[data-page="mapa.html"] .sv-map-export-clean>summary{
  list-style:none!important;
  width:100%!important;height:56px!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:3px!important;
  padding:4px 9px!important;cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-map-export-clean>summary::-webkit-details-marker{display:none!important}
body[data-page="mapa.html"] .sv-map-export-menu{
  position:absolute!important;top:54px!important;left:50%!important;transform:translateX(-50%)!important;
  min-width:150px!important;padding:6px!important;
  display:grid!important;gap:3px!important;
  background:#fff!important;border:1px solid #dce5ef!important;border-radius:9px!important;
  box-shadow:0 14px 32px rgba(15,23,42,.16)!important;z-index:8000!important;
}
body[data-page="mapa.html"] .sv-map-export-clean:not([open]) .sv-map-export-menu{display:none!important}
body[data-page="mapa.html"] .sv-map-export-menu button{
  min-height:34px!important;border:0!important;border-radius:6px!important;background:#fff!important;
  color:#263b53!important;text-align:left!important;padding:0 10px!important;font-size:11px!important;font-weight:600!important;
}
body[data-page="mapa.html"] .sv-map-export-menu button:hover{background:#eef5ff!important;color:#0d63df!important}
body[data-page="mapa.html"] .sv-map-search-host{
  grid-column:3!important;grid-row:1!important;
  height:56px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  min-width:0!important;position:relative!important;z-index:2300!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar{
  position:static!important;inset:auto!important;transform:none!important;
  width:100%!important;max-width:310px!important;height:auto!important;
  display:block!important;visibility:visible!important;opacity:1!important;
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap{position:relative!important;width:100%!important}
body[data-page="mapa.html"] .sv-map-search-host #coordSearch{
  width:100%!important;height:36px!important;min-height:36px!important;
  border:1px solid #dbe3ee!important;border-radius:999px!important;
  background:#f8fafc!important;color:#263b53!important;
  padding:0 38px 0 14px!important;font-size:10px!important;outline:none!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar>button{display:none!important}
body[data-page="mapa.html"] .sv-map-modern-drawer{
  position:absolute!important;
  left:50%!important;top:58px!important;transform:translateX(-50%)!important;
  width:min(680px,calc(100vw - 32px))!important;max-height:280px!important;
  overflow:auto!important;background:#fff!important;border:1px solid #dbe3ee!important;border-radius:12px!important;
  box-shadow:0 16px 36px rgba(15,23,42,.18)!important;padding:10px!important;z-index:9000!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer.hidden{display:none!important}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{
  display:grid!important;grid-template-columns:repeat(10,minmax(42px,1fr))!important;gap:7px!important;
}
body[data-page="mapa.html"] .geo-workspace{
  grid-row:2!important;
  min-height:0!important;
}
@media(max-width:1250px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:48px minmax(560px,1fr) 230px!important}
  body[data-page="mapa.html"] .sv-map-toolbar-item{min-width:56px!important;padding-left:6px!important;padding-right:6px!important}
}
@media(max-width:1000px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:48px minmax(0,1fr)!important}
  body[data-page="mapa.html"] .sv-map-search-host{display:none!important}
  body[data-page="mapa.html"] .sv-map-toolbar-modern{justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important}
}

/* exact grouping/captions from the approved map-toolbar reference */
body[data-page="mapa.html"] .sv-map-toolbar-group{
  height:56px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;min-width:0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group-actions{
  height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group-caption{
  display:block!important;height:11px!important;line-height:11px!important;margin-top:0!important;
  font-size:7px!important;font-weight:500!important;color:#6e7f94!important;white-space:nowrap!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-item,
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-export-clean{
  height:42px!important;min-height:42px!important;max-height:42px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group button.sv-map-toolbar-item{
  padding:2px 9px 0!important;min-width:64px!important;gap:2px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-export-clean>summary{
  height:42px!important;padding:2px 9px 0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more{
  min-width:34px!important;width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;
  margin:3px 4px 0!important;border-radius:7px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more .sv-map-label{display:none!important}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-export-menu{top:42px!important}


/* v21.11.5 map popup/navigation/quick-tools hotfix 3 */
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more{
  min-width:30px!important;width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  margin:5px 4px 0!important;border-radius:6px!important;padding:0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more svg{width:15px!important;height:15px!important}

body[data-page="mapa.html"] .sv-map-search-host{gap:8px!important}
body[data-page="mapa.html"] .sv-map-locate-proxy{
  flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
  border:1px solid #cbdaf0!important;border-radius:9px!important;background:#fff!important;color:#0d63df!important;
  box-shadow:0 1px 2px rgba(15,23,42,.04)!important;cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-map-locate-proxy:hover{background:#eef5ff!important;border-color:#8fb5ef!important}
body[data-page="mapa.html"] .sv-map-locate-proxy svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar{flex:1 1 auto!important;min-width:0!important}

body[data-page="mapa.html"] .sv-map-modern-drawer{
  position:fixed!important;transform:none!important;right:auto!important;bottom:auto!important;
  max-width:calc(100vw - 24px)!important;max-height:250px!important;overflow:auto!important;
  padding:10px!important;border-radius:12px!important;z-index:9500!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{
  display:grid!important;grid-template-columns:repeat(8,minmax(44px,1fr))!important;gap:7px!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool{
  width:100%!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  display:grid!important;place-items:center!important;margin:0!important;padding:0!important;
  border:1px solid #9fc0f5!important;border-radius:8px!important;background:#fff!important;color:#0f62e8!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool:hover{background:#edf5ff!important;border-color:#4e91ee!important}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}

/* Global navigation on the map is an anchored corner drawer tied to the hamburger area. */
body[data-page="mapa.html"].georural-map-page .map-global-nav,
body[data-page="mapa.html"].georural-map-page .map-global-nav.open,
body[data-page="mapa.html"].georural-map-page.map-nav-open .map-global-nav{
  position:fixed!important;left:0!important;top:0!important;bottom:0!important;
  width:320px!important;min-width:320px!important;max-width:min(320px,calc(100vw - 8px))!important;
  height:auto!important;z-index:12000!important;overflow:hidden!important;
  background:#fff!important;border:1px solid #dbe3ee!important;border-left:0!important;
  border-top:0!important;border-bottom:0!important;border-radius:0 18px 18px 0!important;
  box-shadow:10px 0 32px rgba(15,23,42,.14)!important;
  transition:transform .16s ease,opacity .16s ease!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav:not(.open){
  transform:translateX(calc(-100% - 12px))!important;opacity:0!important;pointer-events:none!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav.open{
  transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav.open~.geo-app,
body[data-page="mapa.html"].georural-map-page.map-nav-open .map-global-nav~.geo-app{
  margin-left:0!important;width:100%!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand{
  height:64px!important;min-height:64px!important;padding:16px 16px 12px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  border-bottom:1px solid #e7edf5!important;background:#fff!important;overflow:visible!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand .brand-mark{display:none!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand>div:nth-child(2){display:block!important;min-width:0!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand strong{
  display:block!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;color:#172238!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand small{
  display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.2!important;color:#718199!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav-close{
  display:grid!important;place-items:center!important;position:absolute!important;right:12px!important;top:12px!important;
  width:32px!important;height:32px!important;border:0!important;border-radius:8px!important;background:#f5f7fa!important;color:#3c4d63!important;
  font-size:20px!important;line-height:1!important;cursor:pointer!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav{
  display:flex!important;flex-direction:column!important;gap:2px!important;padding:8px 10px 12px!important;overflow:auto!important;
  height:calc(100% - 64px)!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a{
  position:relative!important;width:100%!important;height:38px!important;min-height:38px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  padding:0 10px!important;margin:0!important;border:0!important;border-radius:8px!important;
  background:#fff!important;color:#37485f!important;box-shadow:none!important;text-decoration:none!important;overflow:hidden!important;
  font-size:12px!important;font-weight:600!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a:hover,
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a.active{background:#f2f6fb!important;color:#0d63df!important;box-shadow:none!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav .nav-icon{
  position:static!important;width:20px!important;height:20px!important;min-width:20px!important;margin:0!important;
  display:grid!important;place-items:center!important;border:0!important;background:transparent!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav .nav-icon img{width:18px!important;height:18px!important;object-fit:contain!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a>span:last-child{
  position:static!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.2!important;pointer-events:auto!important;
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .side-note{display:none!important}

@media(max-width:1000px){
  body[data-page="mapa.html"] .sv-map-locate-proxy{display:none!important}
  body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{grid-template-columns:repeat(6,minmax(42px,1fr))!important}
}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav .nav-icon svg{
  width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}

/* ===== COMMERCIAL FRIENDLY POLISH 2026-08-18 ===== */
.sv-friendly-icon,.module-icon-safe .sv-friendly-icon,.map-global-nav .sv-friendly-icon{
  width:19px!important;height:19px!important;display:block!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.sv-home-tools-menu .module-icon-safe{display:grid!important;place-items:center!important;color:#0f62e8!important}
.sv-home-tools-menu .tool-icon{box-shadow:inset 0 0 0 1px #dfebfb!important}

/* Generated page headers use the same friendly module icon as native page headers. */
body[data-page="nuvem.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/projetos.svg')!important}
body[data-page="acervos.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/acervos.png')!important}
body[data-page="suporte.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/suporte.png')!important}
body[data-page="admin.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/admin.png')!important}
body[data-page="memorial.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/memorial.png')!important}
body[data-page="ods.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/ods.png')!important}
body[data-page="mapas.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/mapas.png')!important}
body[data-page="pranchas.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/pranchas.png')!important}
body[data-page="planialtimetria.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/planialtimetria.png')!important}
body[data-page="perimetros.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/perimetros.png')!important}
body[data-page="ambiental.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/ambiental.png')!important}
body[data-page="loteamentos-reurb.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/loteamentos.png')!important}
body[data-page="customizacao.html"] .top>div:first-child:before{background-image:url('/assets/module-icons/customizacao.png')!important}

/* Projects: real satellite preview gets visual priority, metadata uses coherent icons. */
body[data-page="nuvem.html"] .project-list-row{min-height:286px!important;border-radius:13px!important}
body[data-page="nuvem.html"] .project-card-preview{height:128px!important;background:#dde6ee!important}
body[data-page="nuvem.html"] .project-list-main{padding:13px 14px 5px!important}
body[data-page="nuvem.html"] .project-list-meta{padding:7px 14px 13px!important;gap:10px!important}
body[data-page="nuvem.html"] .project-list-meta span{min-height:22px!important;padding:0 7px!important;border-radius:7px!important;background:#f7f9fc!important;color:#5f7188!important;font-weight:650!important}
body[data-page="nuvem.html"] .project-meta-icon{width:13px!important;height:13px!important;fill:none!important;stroke:#50709a!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:0 0 auto!important}
body[data-page="nuvem.html"] .project-cloud-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;box-shadow:0 1px 4px rgba(15,23,42,.08)!important}
body[data-page="nuvem.html"] .project-cloud-pill .project-meta-icon{width:11px!important;height:11px!important;stroke:#0f62e8!important}
body[data-page="nuvem.html"] .project-icon-button{border-color:#d1def0!important;border-radius:8px!important;transition:.14s ease!important}
body[data-page="nuvem.html"] .project-icon-button:hover{background:#eef5ff!important;border-color:#9bbcf0!important;transform:translateY(-1px)!important}
body[data-page="nuvem.html"] .project-delete-button:hover{background:#fff3f4!important;border-color:#e9aab2!important;color:#b9283d!important}

/* Support: remove raw text glyph appearance. */
.support-mini-icon{border:1px solid #deebfb!important;background:#eef5ff!important}
.support-mini-icon svg{width:17px!important;height:17px!important;fill:none!important;stroke:#0f62e8!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.support-mini-card{transition:.14s ease!important}
.support-mini-card:hover{border-color:#c9dbf3!important;box-shadow:0 5px 16px rgba(15,23,42,.06)!important}

/* Map header: no visual rule crosses through tools; every group has its own clean surface. */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{border-bottom:1px solid #e1e8f0!important;background:#fff!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern{background:#fff!important;isolation:isolate!important}
body[data-page="mapa.html"] .sv-map-toolbar-group{position:relative!important;background:#fff!important;z-index:2!important;padding:0 2px!important}
body[data-page="mapa.html"] .sv-map-toolbar-group-actions{background:#fff!important}

/* Clean basemap selector added to the live toolbar. */
body[data-page="mapa.html"] .sv-map-basemap-clean{position:relative!important;height:42px!important;min-width:64px!important;background:#fff!important;border:0!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary{list-style:none!important;height:42px!important;min-width:64px!important;padding:2px 9px 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;color:#1f344d!important;cursor:pointer!important;border-radius:7px!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary::-webkit-details-marker{display:none!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary:hover,body[data-page="mapa.html"] .sv-map-basemap-clean[open]>summary{background:#eef5ff!important;color:#0d63df!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary .sv-friendly-icon{width:18px!important;height:18px!important}
body[data-page="mapa.html"] .sv-map-basemap-clean .sv-map-label{font-size:9px!important;line-height:1!important;font-weight:600!important}
body[data-page="mapa.html"] .sv-map-basemap-menu{position:absolute!important;top:44px!important;left:50%!important;transform:translateX(-50%)!important;width:230px!important;padding:8px!important;display:grid!important;gap:3px!important;background:#fff!important;border:1px solid #dbe4ef!important;border-radius:11px!important;box-shadow:0 16px 36px rgba(15,23,42,.17)!important;z-index:10000!important}
body[data-page="mapa.html"] .sv-map-basemap-clean:not([open]) .sv-map-basemap-menu{display:none!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button{width:100%!important;min-height:38px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;padding:4px 7px!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#293e57!important;text-align:left!important;font-size:11px!important;font-weight:650!important;cursor:pointer!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button:hover,body[data-page="mapa.html"] .sv-map-basemap-menu button.active{background:#eef5ff!important;color:#0f62e8!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button>svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;opacity:0!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button.active>svg{opacity:1!important}
body[data-page="mapa.html"] .sv-basemap-swatch{width:30px!important;height:25px!important;border-radius:6px!important;border:1px solid #d7e1ec!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)!important;background:#eef3f8!important}
body[data-page="mapa.html"] .sv-basemap-sat{background:linear-gradient(135deg,#315f48,#79906b 45%,#524d35)!important}
body[data-page="mapa.html"] .sv-basemap-hybrid{background:linear-gradient(135deg,#315f48,#73856b 50%,#3b4656)!important}
body[data-page="mapa.html"] .sv-basemap-road{background:linear-gradient(135deg,#faf8f1 40%,#efad66 42% 48%,#f5f3ee 50%)!important}
body[data-page="mapa.html"] .sv-basemap-terrain{background:linear-gradient(135deg,#e9e3c3,#b9d09d 50%,#d3ba89)!important}
body[data-page="mapa.html"] .sv-basemap-topo,body[data-page="mapa.html"] .sv-basemap-topographicReal{background:repeating-linear-gradient(155deg,#f6f2dd 0 6px,#c5b574 7px 8px)!important}
body[data-page="mapa.html"] .sv-basemap-relief{background:linear-gradient(135deg,#2f83b5,#66b27c,#d9bd62,#a85b45)!important}

/* Quick tools is a true popup and fits all production tools without reorganizing the map. */
body[data-page="mapa.html"] .sv-map-modern-drawer{width:min(760px,calc(100vw - 32px))!important;max-height:min(330px,calc(100vh - 86px))!important;padding:14px!important;border-radius:14px!important;overflow:auto!important;overscroll-behavior:contain!important;box-shadow:0 20px 48px rgba(15,23,42,.20)!important}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{grid-template-columns:repeat(10,minmax(48px,1fr))!important;gap:9px!important}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool{height:50px!important;min-height:50px!important;border-radius:10px!important;border-color:#cbdcf4!important;transition:.13s ease!important}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool:hover{background:#eef5ff!important;border-color:#7eaaec!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px rgba(15,98,232,.09)!important}

/* Map popup navigation: visual polish only. Geometry is owned by the canonical drawer block above. */
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand{padding:11px 54px 10px 14px!important;gap:10px!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand .brand-mark{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:10px!important;background:#eef5ff!important;border:1px solid #dbe9fb!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand .brand-mark img{display:block!important;width:26px!important;height:26px!important;object-fit:contain!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand>div:nth-child(2):before{content:none!important;display:none!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand strong{display:block!important;font-size:15px!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .brand small{font-size:10px!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav{padding:10px 12px 14px!important;gap:3px!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a{height:40px!important;min-height:40px!important;border-radius:9px!important;padding:0 11px!important;gap:11px!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav .nav-icon{width:23px!important;height:23px!important;min-width:23px!important;color:#42617f!important}
body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a:hover .nav-icon,body[data-page="mapa.html"].georural-map-page .map-global-nav .nav a.active .nav-icon{color:#0f62e8!important}

@media(max-width:1240px){
  body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{grid-template-columns:repeat(8,minmax(46px,1fr))!important}
  body[data-page="mapa.html"] .sv-map-basemap-clean{min-width:58px!important}
}


/* ===== POLIMENTO COMERCIAL UI 2026-08-18B ===== */
/* Conta / menu do usuário */
.workspace-topbar .account-zone.workspace-topbar-account{display:flex!important;align-items:center!important;align-self:center!important}
.workspace-topbar .account-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;align-self:center!important}
.workspace-account-menu{top:calc(100% + 10px)!important}

/* Menu Ferramentas (desktop) mais amigável e com ícones escuros */
.sv-home-tools-menu section h3{font-size:10px!important;color:#5f6e82!important}
.sv-home-tools-menu a{grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important;min-height:50px!important;padding:8px 10px!important;border-radius:10px!important}
.sv-home-tools-menu .tool-icon{width:38px!important;height:38px!important;border-radius:10px!important;background:#f3f4f6!important;box-shadow:inset 0 0 0 1px #e5e7eb!important}
.sv-home-tools-menu .module-icon-safe{color:#111827!important}
.sv-home-tools-menu .tool-icon svg{width:19px!important;height:19px!important}
.sv-home-tools-menu b{font-size:12px!important;color:#0f172a!important}
.sv-home-tools-menu small{font-size:9px!important;color:#6b7280!important}
.sv-friendly-icon,.module-icon-safe .sv-friendly-icon,.map-global-nav .sv-friendly-icon{stroke:#111827!important;fill:none!important;stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Navegação lateral do mapa com logo real, sem redundância */
.map-global-nav .brand{display:grid!important;grid-template-columns:40px minmax(0,1fr) 30px!important;align-items:center!important;gap:11px!important}
.map-global-nav .brand .brand-mark{display:grid!important;width:40px!important;height:40px!important;border-radius:10px!important;background:#f5f7fa!important;border:1px solid #dbe3ee!important}
.map-global-nav .brand .brand-mark img{width:26px!important;height:26px!important;object-fit:contain!important}
.map-global-nav .brand>div:nth-child(2):before{display:none!important;content:none!important}
.map-global-nav .brand strong{display:block!important;font-size:18px!important;color:#0f172a!important}
.map-global-nav .brand small{display:block!important;margin-top:2px!important;font-size:11px!important;color:#6b7280!important}
.map-global-nav .nav a{min-height:42px!important;border-radius:10px!important;font-size:13px!important;color:#334155!important}
.map-global-nav .nav .nav-icon{width:22px!important;height:22px!important;color:#1f2937!important}
.map-global-nav .nav a:hover,.map-global-nav .nav a.active{background:#f5f7fa!important;color:#111827!important}
.map-global-nav-close{position:static!important;margin-left:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* Suporte com ícones pretos/neutros */
.support-mini-card{gap:14px!important}
.support-mini-icon{border:1px solid #e5e7eb!important;background:#f5f5f5!important;color:#111827!important}
.support-mini-icon svg{width:17px!important;height:17px!important;fill:none!important;stroke:#111827!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Projetos: cartões mais amigáveis */
body[data-page="nuvem.html"] .project-list-row{border-color:#d7e1eb!important;box-shadow:0 8px 22px rgba(15,23,42,.05)!important}
body[data-page="nuvem.html"] .project-card-preview{height:144px!important;background:#dfe7ef!important}
body[data-page="nuvem.html"] .project-list-main strong{font-size:13px!important}
body[data-page="nuvem.html"] .project-owner{font-size:10px!important}
body[data-page="nuvem.html"] .project-list-meta{padding-top:8px!important;gap:10px!important}
body[data-page="nuvem.html"] .project-list-meta span{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:4px 8px!important;border:1px solid #d7e3f2!important;border-radius:999px!important;background:#f8fbff!important;color:#51627a!important}
body[data-page="nuvem.html"] .project-icon-button{height:36px!important;border-radius:9px!important}
body[data-page="nuvem.html"] .project-icon-button[data-action="view"]{font-size:10px!important}
body[data-page="nuvem.html"] .project-icon-button svg{width:15px!important;height:15px!important}

/* Mapa: barra superior com melhor respiro */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{height:62px!important;min-height:62px!important;padding:4px 12px!important;gap:12px!important;align-items:center!important}
body[data-page="mapa.html"] .geo-brand-left{display:flex!important;align-items:center!important;align-self:center!important}
body[data-page="mapa.html"] .map-global-nav-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;align-self:center!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern{height:58px!important;align-items:center!important}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-group-actions{align-items:center!important}
body[data-page="mapa.html"] .sv-map-toolbar-more{min-width:42px!important;width:42px!important;height:42px!important;border:1px solid #cfe0f4!important;border-radius:10px!important;background:#fff!important}
body[data-page="mapa.html"] .sv-map-toolbar-more[aria-expanded="true"]{background:#f4f7fb!important;color:#111827!important;border-color:#c7d2df!important}

/* Seletor de mapa base com miniaturas reais */
body[data-page="mapa.html"] .sv-map-basemap-clean{position:relative!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary{background:#fff!important;border:1px solid transparent!important}
body[data-page="mapa.html"] .sv-map-basemap-clean>summary:hover,body[data-page="mapa.html"] .sv-map-basemap-clean[open]>summary{border-color:#d5dfeb!important;background:#f8fafc!important;color:#111827!important}
body[data-page="mapa.html"] .sv-map-basemap-menu{min-width:250px!important;border-radius:16px!important;padding:10px!important;box-shadow:0 18px 42px rgba(15,23,42,.18)!important;border:1px solid #dbe3ee!important;background:#fff!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button{display:grid!important;grid-template-columns:34px minmax(0,1fr) 18px!important;align-items:center!important;gap:10px!important;min-height:42px!important;padding:6px 8px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#334155!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button:hover,body[data-page="mapa.html"] .sv-map-basemap-menu button.active{background:#f3f4f6!important;color:#111827!important}
body[data-page="mapa.html"] .sv-map-basemap-menu button svg{width:14px!important;height:14px!important;opacity:0}
body[data-page="mapa.html"] .sv-map-basemap-menu button.active svg{opacity:1!important}
body[data-page="mapa.html"] .sv-basemap-swatch{width:34px!important;height:24px!important;border-radius:7px!important;border:1px solid #d7e1eb!important;background-size:cover!important;background-position:center!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)!important}
body[data-page="mapa.html"] .sv-basemap-osm{background-image:url('https://tile.openstreetmap.org/15/17658/11842.png')!important}
body[data-page="mapa.html"] .sv-basemap-sat{background-image:url('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/15/11842/17658')!important}
body[data-page="mapa.html"] .sv-basemap-hybrid{background-image:url('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/15/11842/17658')!important}
body[data-page="mapa.html"] .sv-basemap-road{background-image:url('https://tile.openstreetmap.org/15/17658/11842.png')!important}
body[data-page="mapa.html"] .sv-basemap-terrain{background-image:url('https://tile.opentopomap.org/15/17658/11842.png')!important}
body[data-page="mapa.html"] .sv-basemap-topo{background-image:url('https://tile.opentopomap.org/15/17658/11842.png')!important}
body[data-page="mapa.html"] .sv-basemap-topographicReal{background-image:url('https://tile.opentopomap.org/15/17658/11842.png')!important}
body[data-page="mapa.html"] .sv-basemap-relief{background-image:url('https://tile.opentopomap.org/15/17658/11842.png')!important}

/* Drawer de ferramentas rápidas */
body[data-page="mapa.html"] .sv-map-modern-drawer{border-radius:16px!important;border:1px solid #dbe3ee!important;background:#fff!important;box-shadow:0 18px 42px rgba(15,23,42,.16)!important;padding:12px!important}
body[data-page="mapa.html"] .map-quick-grid-tool{width:52px!important;height:52px!important;border-radius:12px!important;background:#fff!important;border:1px solid #d7e3ef!important;color:#0f172a!important}
body[data-page="mapa.html"] .map-quick-grid-tool:hover{background:#f8fafc!important;border-color:#c9d7e5!important;color:#111827!important}
body[data-page="mapa.html"] .map-quick-grid-tool svg{width:18px!important;height:18px!important}

/* v21.11.5 — ajustes finos solicitados em 18/08/2026 */

/* Ferramentas rápidas: neutras/preto e mais amigáveis */
body[data-page="mapa.html"] .sv-map-modern-drawer{
  border-radius:22px!important;
  padding:16px!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{
  gap:10px!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button,
body[data-page="mapa.html"] .map-quick-grid-tool,
.sv-map-toolbar-modern .map-quick-tools-grid button{
  width:56px!important;
  height:56px!important;
  min-height:56px!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #dde3ea!important;
  color:#111827!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button:hover,
body[data-page="mapa.html"] .map-quick-grid-tool:hover,
.sv-map-toolbar-modern .map-quick-tools-grid button:hover{
  background:#f8fafc!important;
  border-color:#cfd6df!important;
  color:#000!important;
  transform:translateY(-1px)!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button svg,
body[data-page="mapa.html"] .map-quick-grid-tool svg,
.sv-map-toolbar-modern .map-quick-tools-grid button svg{
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-more,
#mapQuickToolsToggle{
  border-radius:12px!important;
}

/* Preview dos documentos: remover aparência excessivamente pesada */
body[data-page="mapas.html"] .preview svg,
body[data-page="pranchas.html"] .preview svg,
body[data-page="memorial.html"] .preview svg,
body[data-page="confrontacao.html"] .preview svg,
body[data-page="planialtimetria.html"] .preview svg{
  text-rendering:geometricPrecision!important;
  -webkit-font-smoothing:antialiased!important;
  font-synthesis-weight:none!important;
}
body[data-page="mapas.html"] .preview svg text,
body[data-page="mapas.html"] .preview svg tspan,
body[data-page="pranchas.html"] .preview svg text,
body[data-page="pranchas.html"] .preview svg tspan,
body[data-page="memorial.html"] .preview svg text,
body[data-page="memorial.html"] .preview svg tspan,
body[data-page="confrontacao.html"] .preview svg text,
body[data-page="confrontacao.html"] .preview svg tspan,
body[data-page="planialtimetria.html"] .preview svg text,
body[data-page="planialtimetria.html"] .preview svg tspan{
  paint-order:normal!important;
  stroke:none!important;
  stroke-width:0!important;
  letter-spacing:0!important;
}
body[data-page="mapas.html"] .preview,
body[data-page="pranchas.html"] .preview,
body[data-page="memorial.html"] .preview,
body[data-page="confrontacao.html"] .preview,
body[data-page="planialtimetria.html"] .preview{
  font-weight:500!important;
}

/* v21.11.5o — ferramentas rápidas compactas, sem rolagem horizontal */
body[data-page="mapa.html"] .sv-map-modern-drawer{
  width:min(640px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:none!important;
  padding:10px!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  align-items:center!important;
  justify-items:center!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button,
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
  padding:0!important;
  border-radius:10px!important;
  box-shadow:0 3px 8px rgba(15,23,42,.045)!important;
}
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button svg,
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-grid-tool svg{
  width:17px!important;
  height:17px!important;
}

/* Seta de mais ferramentas: tamanho equivalente aos controles do grupo */
body[data-page="mapa.html"] .sv-map-toolbar-group button.sv-map-toolbar-item.sv-map-toolbar-more,
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more{
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:6px 2px 0!important;
  padding:0!important;
  border-radius:7px!important;
  align-self:flex-start!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more svg{
  width:14px!important;
  height:14px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-toolbar-more .sv-map-label{
  display:none!important;
}

@media(max-width:760px){
  body[data-page="mapa.html"] .sv-map-modern-drawer{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    overflow-y:auto!important;
  }
  body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
}

/* v21.11.5o — miniaturas reais de mapa base + estabilidade visual vista em vídeo */
body[data-page="mapa.html"] .sv-map-basemap-menu{
  width:286px!important;
  min-width:286px!important;
  max-height:min(560px,calc(100vh - 90px))!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
body[data-page="mapa.html"] .sv-map-basemap-menu button{
  grid-template-columns:48px minmax(0,1fr) 18px!important;
  min-height:48px!important;
  gap:10px!important;
  padding:6px 8px!important;
}
body[data-page="mapa.html"] .sv-basemap-swatch{
  width:46px!important;
  height:32px!important;
  border-radius:8px!important;
  background-color:#e7edf4!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.52),0 1px 3px rgba(15,23,42,.10)!important;
}
/* Coordenadas reais de Amargosa/BA, evitando as miniaturas vazias/erradas anteriores. */
body[data-page="mapa.html"] .sv-basemap-osm{background-image:url('https://tile.openstreetmap.org/14/6389/8790.png'),url('/assets/basemap-thumbs/osm-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-road{background-image:url('https://mt1.google.com/vt/lyrs=m&x=6389&y=8790&z=14'),url('/assets/basemap-thumbs/osm-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-sat{background-image:url('https://mt1.google.com/vt/lyrs=s&x=6389&y=8790&z=14'),url('/assets/basemap-thumbs/satellite-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-hybrid{background-image:url('https://mt1.google.com/vt/lyrs=y&x=6389&y=8790&z=14'),url('/assets/basemap-thumbs/satellite-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-terrain{background-image:url('https://mt1.google.com/vt/lyrs=p&x=6389&y=8790&z=14'),url('/assets/basemap-thumbs/osm-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-topo{background-image:url('https://tile.openmaps.fr/opentopomap/14/6389/8790.png'),url('/assets/basemap-thumbs/osm-reference.jpg')!important}
body[data-page="mapa.html"] .sv-basemap-topographicReal{
  background-image:linear-gradient(135deg,rgba(22,163,74,.18),rgba(250,204,21,.14),rgba(239,68,68,.12)),url('https://tile.openmaps.fr/opentopomap/14/6389/8790.png'),url('/assets/basemap-thumbs/osm-reference.jpg')!important;
  background-blend-mode:multiply,normal!important;
}
body[data-page="mapa.html"] .sv-basemap-relief{background-image:url('https://maps-for-free.com/layer/relief/z11/row1098/11_798-1098.jpg'),url('/assets/basemap-thumbs/satellite-reference.jpg')!important}

/* Evita cortes, barras horizontais e previews saindo da largura em módulos técnicos. */
body.sv-modern-htmlcss:not([data-page="mapa.html"]){overflow-x:clip!important}
body.sv-document-workspace .main,
body.sv-document-workspace .workspace-main,
body.sv-document-complex .main,
body.sv-document-complex .workspace-main{min-width:0!important;max-width:100%!important}
body.sv-document-workspace .preview,
body.sv-document-workspace [id$="Preview"],
body.sv-document-workspace [id$="Output"],
body.sv-document-complex .preview,
body.sv-document-complex [id$="Preview"],
body.sv-document-complex [id$="Output"]{
  max-width:100%!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  box-sizing:border-box!important;
}
body.sv-document-workspace .preview>svg,
body.sv-document-workspace [id$="Preview"]>svg,
body.sv-document-workspace [id$="Output"]>svg,
body.sv-document-complex .preview>svg,
body.sv-document-complex [id$="Preview"]>svg,
body.sv-document-complex [id$="Output"]>svg{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin-inline:auto!important;
}
.support-layout,.support-info-stack,.support-form-card{min-width:0!important}

/* Mega menu ancorado à barra superior: compacto, arredondado e animável sem deslocar a página. */
.sv-home-tools-menu{
  position:fixed!important;
  top:56px!important;left:0!important;right:0!important;
  width:auto!important;max-width:none!important;
  max-height:calc(100vh - 68px)!important;
  overflow:auto!important;overscroll-behavior:contain!important;
  border:1px solid #dbe3ee!important;border-top:0!important;border-radius:0 0 22px 22px!important;
  box-shadow:0 18px 38px rgba(15,23,42,.14)!important;
  transform-origin:top center!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateY(0)!important;
  transition:opacity .18s ease,transform .22s cubic-bezier(.2,.75,.25,1),visibility 0s linear 0s!important;
  will-change:opacity,transform!important;
}
.sv-home-tools-menu.hidden{
  visibility:hidden!important;opacity:0!important;transform:translateY(-10px)!important;pointer-events:none!important;
  transition:opacity .14s ease,transform .18s ease,visibility 0s linear .18s!important;
}
@media(prefers-reduced-motion:reduce){.sv-home-tools-menu{transition:none!important}.sv-home-tools-menu.hidden{transition:none!important}}


/* ===== assets/css/core/surveyor-commercial-polish-v21.11.5.css ===== */
/* Surveyor 21.11.5 — acabamento comercial baseado no fluxo real do produto. */
:root{--svc-blue:#1267eb;--svc-navy:#0c2343;--svc-text:#17233a;--svc-muted:#6b7c93;--svc-line:#dce4ee;--svc-bg:#f6f8fb;--svc-green:#16a05d}
.sv-commercial-polish svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ===== Documentos: um único layout para Memorial, ODS, Croquis, Pranchas etc. ===== */
body.sv-document-workspace .workspace-main,body.sv-document-workspace .main{max-width:1500px!important;margin:0 auto!important}
body.sv-document-workspace .workspace-page-head,body.sv-document-workspace .main>.top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:center!important;margin-bottom:18px!important}
body.sv-document-workspace .workspace-page-head h1,body.sv-document-workspace .main>.top h1{font-size:28px!important;letter-spacing:-.025em!important}
body.sv-document-workspace .workspace-page-head p,body.sv-document-workspace .main>.top p{font-size:12px!important;color:#63748b!important}
.sv-doc-head-status{display:flex;align-items:stretch;gap:0;background:#fff;border:1px solid var(--svc-line);border-radius:14px;box-shadow:0 5px 18px rgba(15,23,42,.05);overflow:hidden}
.sv-doc-status-card{min-width:190px;display:flex;align-items:center;gap:10px;padding:13px 16px;border-left:1px solid #e7ecf2}.sv-doc-status-card:first-child{border-left:0}
.sv-doc-status-icon{width:34px;height:34px;border-radius:9px;background:#f0f5fb;color:#17233a;display:grid;place-items:center}.sv-doc-status-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.sv-doc-status-card small{display:block;font-size:9px;color:#718096}.sv-doc-status-card strong{display:block;max-width:180px;margin-top:2px;font-size:12px;color:#17233a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.sv-document-workspace .sv-document-panel{padding:22px 24px!important;border:1px solid var(--svc-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 24px rgba(15,23,42,.045)!important}
.sv-document-sections{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 24px}
.sv-doc-section{grid-column:span 6;padding:18px 0;border-top:1px solid #e7ecf2}.sv-doc-section:first-child{grid-column:1/-1;border-top:0;padding-top:2px}
.sv-doc-section h2{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-size:13px;color:#17233a}.sv-doc-section h2>span{width:22px;height:22px;border:2px solid #2680ff;border-radius:50%;display:grid;place-items:center;color:#1267eb;font-size:10px;font-weight:900;background:#fff}
.sv-doc-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}.sv-doc-section:first-child .sv-doc-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.sv-document-workspace .sv-document-panel label{font-size:10px!important;font-weight:700!important;color:#42526a!important;gap:6px!important}
body.sv-document-workspace .sv-document-panel input,body.sv-document-workspace .sv-document-panel select,body.sv-document-workspace .sv-document-panel textarea{min-height:40px!important;border:1px solid #dbe3ed!important;border-radius:8px!important;background:#fff!important;color:#17233a!important;font-size:11px!important;padding:0 12px!important;box-shadow:none!important}
body.sv-document-workspace .sv-document-panel textarea{padding:10px 12px!important;min-height:110px!important}
body.sv-document-workspace .sv-document-panel input:focus,body.sv-document-workspace .sv-document-panel select:focus,body.sv-document-workspace .sv-document-panel textarea:focus{border-color:#6aa5f7!important;box-shadow:0 0 0 3px rgba(18,103,235,.09)!important;outline:0!important}
body.sv-document-workspace .sv-document-panel .button-row{margin-top:18px!important;padding-top:18px!important;border-top:1px solid #e7ecf2!important;gap:10px!important}
body.sv-document-workspace .sv-document-panel .btn,body.sv-document-workspace .sv-document-panel .link-btn{min-height:42px!important;border-radius:8px!important;font-size:11px!important;font-weight:800!important;padding:0 16px!important}
body.sv-document-workspace .sv-document-panel .btn.primary{background:#1267eb!important;border-color:#1267eb!important;box-shadow:0 6px 14px rgba(18,103,235,.18)!important}
body.sv-document-workspace .preview,body.sv-document-workspace [id$="Preview"],body.sv-document-workspace [id$="Output"]{margin-top:22px!important;border-radius:14px!important}
@media(max-width:900px){.sv-doc-head-status{display:none}.sv-document-sections{display:block}.sv-doc-section{padding:16px 0}.sv-doc-section-grid{grid-template-columns:1fr!important}}

/* ===== Projetos ===== */
body[data-page="nuvem.html"] .projects-overview{display:grid!important}
body[data-page="nuvem.html"] .projects-panel{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body[data-page="nuvem.html"] .projects-toolbar{display:grid!important;grid-template-columns:minmax(300px,1fr) auto!important;gap:14px!important;align-items:center!important;margin-bottom:18px!important}
body[data-page="nuvem.html"] .projects-search{height:44px!important;border:1px solid var(--svc-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.025)!important}
body[data-page="nuvem.html"] .projects-search input{font-size:11px!important}
body[data-page="nuvem.html"] .sv-projects-live-count{position:absolute!important;right:0!important;top:-76px!important;background:#fff!important;border:1px solid var(--svc-line)!important;border-radius:9px!important;padding:8px 12px!important;font-size:10px!important;color:#52637b!important}
.sv-project-controls{display:flex;align-items:center;gap:10px}.sv-project-sort{height:44px;min-width:205px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--svc-line);border-radius:9px;background:#fff}.sv-project-sort>span{font-size:11px;font-weight:700;color:#334155}.sv-project-sort select{border:0!important;min-height:auto!important;background:transparent!important;padding:0!important;font-size:10px!important;color:#475569!important}
.sv-project-view-toggle{height:44px;display:flex;border:1px solid var(--svc-line);border-radius:9px;overflow:hidden;background:#fff}.sv-project-view-toggle button{width:46px;border:0;border-left:1px solid var(--svc-line);background:#fff;color:#334155}.sv-project-view-toggle button:first-child{border-left:0}.sv-project-view-toggle button.active{background:#eef5ff;color:#1267eb}.sv-project-view-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.sv-project-new{height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:9px;background:#1267eb;color:#fff!important;text-decoration:none;font-size:11px;font-weight:800;box-shadow:0 7px 16px rgba(18,103,235,.18)}.sv-project-new svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
body[data-page="nuvem.html"] .projects-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
body[data-page="nuvem.html"] .project-list-row{border:1px solid #dce4ee!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(15,23,42,.045)!important}
body[data-page="nuvem.html"] .project-card-preview{position:relative!important;height:210px!important;border-radius:0!important;overflow:hidden!important;background:linear-gradient(180deg,#edf3fb 0%,#dbe6f2 100%)!important}
body[data-page="nuvem.html"] .project-list-main{padding:14px 14px 6px!important}.project-list-main strong{font-size:13px!important}.project-owner{font-size:10px!important;color:#738299!important;margin-top:4px!important}
body[data-page="nuvem.html"] .project-list-meta{padding:8px 14px 14px!important;display:flex!important;gap:7px!important;flex-wrap:wrap!important}
body[data-page="nuvem.html"] .project-list-meta span{padding:5px 8px!important;background:#f8fafc!important;border:1px solid #e0e7ef!important;border-radius:999px!important;font-size:9px!important;color:#475569!important}
body[data-page="nuvem.html"] .project-list-actions{padding:10px 14px!important;border-top:1px solid #eef2f6!important;gap:7px!important}.project-list-actions button{border-radius:8px!important;background:#fff!important}.project-list-actions button[data-action="view"]{flex:1!important;color:#1267eb!important;border-color:#b8d1f8!important}.project-list-actions button[data-action="view"]:after{content:"Abrir no mapa";font-size:10px;font-weight:800;margin-left:7px}
body[data-page="nuvem.html"] .projects-list.is-list-view{grid-template-columns:1fr!important}.projects-list.is-list-view .project-list-row{display:grid!important;grid-template-columns:240px 1fr auto!important}.projects-list.is-list-view .project-card-preview{height:150px!important;grid-row:1/4}.projects-list.is-list-view .project-list-actions{grid-column:3;grid-row:1/4;border:0!important;flex-direction:column!important;justify-content:center!important}
@media(max-width:1250px){body[data-page="nuvem.html"] .projects-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:950px){body[data-page="nuvem.html"] .projects-toolbar{grid-template-columns:1fr!important}.sv-project-controls{flex-wrap:wrap}body[data-page="nuvem.html"] .projects-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:650px){body[data-page="nuvem.html"] .projects-list{grid-template-columns:1fr!important}.sv-project-sort{flex:1}.projects-list.is-list-view .project-list-row{display:block!important}}

/* ===== Acervos oficiais ===== */
body[data-page="acervos.html"] .panel{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.sv-acervos-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.sv-acervos-search{width:min(470px,100%);height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;background:#fff;border:1px solid var(--svc-line);border-radius:9px}.sv-acervos-search svg{width:17px;height:17px;fill:none;stroke:#5f7087;stroke-width:1.8}.sv-acervos-search input{flex:1;border:0!important;outline:0;background:transparent!important;font-size:10px!important}.sv-acervos-filters{display:flex;gap:7px;flex-wrap:wrap}.sv-acervos-filters button{height:34px;padding:0 13px;border:1px solid var(--svc-line);border-radius:8px;background:#fff;color:#52637b;font-size:9px;font-weight:800}.sv-acervos-filters button.active{border-color:#6ba4f5;background:#eef5ff;color:#1267eb}
body[data-page="acervos.html"] .official-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.official-card{position:relative!important;min-height:206px!important;padding:18px!important;border:1px solid #dce4ee!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,23,42,.04)!important}.sv-official-badge{display:inline-flex;padding:3px 7px;border:1px solid #9fc2fb;border-radius:5px;color:#1267eb;background:#f5f9ff;font-size:8px;font-weight:900}.sv-official-brand{height:82px;display:flex;align-items:center;justify-content:flex-start;margin:6px 0 4px}.sv-official-logo{display:block;max-width:100%;max-height:76px;width:auto;height:auto;object-fit:contain}.official-card h3{margin:5px 0 3px!important;font-size:12px!important}.official-card p{font-size:9px!important;color:#64748b!important;line-height:1.45!important}.official-card .link-btn{position:absolute;left:18px;bottom:16px;min-height:30px!important;border-radius:6px!important;padding:0 10px!important;font-size:9px!important}.official-card[hidden]{display:none!important}@media(max-width:1000px){body[data-page="acervos.html"] .official-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sv-acervos-toolbar{align-items:stretch;flex-direction:column}}@media(max-width:650px){body[data-page="acervos.html"] .official-grid{grid-template-columns:1fr!important}}

/* ===== Personalização ===== */
.sv-custom-dashboard{max-width:1180px;margin:0 auto 18px}.sv-custom-progress{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px;border:1px solid var(--svc-line);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.04)}.sv-progress-ring{--p:0deg;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#1267eb var(--p),#e6edf6 0);position:relative}.sv-progress-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.sv-progress-ring strong{position:relative;z-index:1;color:#1267eb;font-size:15px}.sv-custom-progress small{font-size:9px;font-weight:800;color:#52637b}.sv-custom-progress h2{margin:4px 0 3px;font-size:16px}.sv-custom-progress p{margin:0;font-size:10px;color:#718096}.sv-review-all{height:38px;padding:0 14px;border:0;border-radius:8px;background:#1267eb;color:#fff;font-size:10px;font-weight:800}.sv-custom-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.sv-custom-module-card{min-height:122px;display:grid;grid-template-columns:50px minmax(0,1fr);align-items:start;gap:13px;padding:16px;text-align:left;border:1px solid var(--svc-line);border-radius:13px;background:#fff;color:#17233a;box-shadow:0 4px 14px rgba(15,23,42,.035);cursor:pointer}.sv-custom-module-card:hover{border-color:#b9d1f4;box-shadow:0 8px 20px rgba(15,23,42,.07);transform:translateY(-1px)}.sv-custom-module-icon{width:46px;height:46px;border-radius:12px;background:#eef4fb;display:grid;place-items:center;color:#1267eb}.sv-custom-module-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.sv-custom-module-card strong{display:block;font-size:12px}.sv-custom-module-card small{display:block;margin-top:5px;font-size:9px;line-height:1.45;color:#6c7d93}.sv-custom-module-card em{display:block;margin-top:12px;color:#1267eb;font-size:9px;font-style:normal;font-weight:800}.customization-chooser{border-radius:14px!important}.custom-section{border-radius:13px!important}@media(max-width:950px){.sv-custom-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.sv-custom-progress{grid-template-columns:62px 1fr}.sv-review-all{grid-column:1/-1}.sv-custom-card-grid{grid-template-columns:1fr}}

/* ===== Home ===== */
body[data-page="index.html"] .home-hero{min-height:calc(100vh - 56px)!important;justify-content:center!important;padding:60px max(28px,calc((100vw - 1440px)/2))!important;background:radial-gradient(circle at 78% 35%,rgba(18,103,235,.08),transparent 34%),linear-gradient(135deg,#f7faff 0%,#eef4fb 100%)!important}
body[data-page="index.html"] .home-hero-card{width:100%!important;max-width:1240px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr)!important;text-align:left!important;align-items:center!important;padding:30px 0!important}.sv-home-welcome{grid-column:1;display:inline-flex;justify-self:start;padding:6px 10px;border-radius:999px;background:#eaf3ff;color:#1267eb;font-size:10px;font-weight:800;margin-bottom:22px}.home-hero-title{grid-column:1;margin:0!important;font-size:clamp(38px,4vw,58px)!important;letter-spacing:-.04em!important;color:#0c2343!important}.home-hero-subtitle{grid-column:1;max-width:650px!important;margin:20px 0 0!important;font-size:clamp(18px,1.7vw,25px)!important;line-height:1.5!important;color:#526a87!important}.home-hero-actions{grid-column:1;margin-top:28px!important;justify-content:flex-start!important}.home-hero-logo{grid-column:2;grid-row:1/5;width:min(360px,70%)!important;height:auto!important;justify-self:center!important;margin:0!important;filter:drop-shadow(0 18px 28px rgba(18,74,160,.14))}.home-hero-btn{min-height:48px!important;border-radius:9px!important;font-size:13px!important}.home-hero-btn.primary{background:#1267eb!important}.home-hero-btn.secondary{color:#1267eb!important}@media(max-width:850px){body[data-page="index.html"] .home-hero-card{grid-template-columns:1fr!important;text-align:center!important}.sv-home-welcome{justify-self:center}.home-hero-title,.home-hero-subtitle,.home-hero-actions,.home-hero-logo{grid-column:1!important}.home-hero-logo{grid-row:auto!important;margin-top:30px!important;width:190px!important}.home-hero-actions{justify-content:center!important}.home-hero-subtitle{margin-left:auto!important;margin-right:auto!important}}

/* ===== Confirmação própria do Surveyor ===== */
.sv-confirm-overlay{position:fixed;inset:0;z-index:200000;display:grid;place-items:center;padding:18px;background:rgba(15,23,42,.38);backdrop-filter:blur(3px)}.sv-confirm-card{width:min(460px,calc(100vw - 30px));display:grid;grid-template-columns:44px 1fr;gap:14px;padding:22px;border:1px solid var(--svc-line);border-radius:15px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.28)}.sv-confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#eef5ff;color:#1267eb}.sv-confirm-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.sv-confirm-card h2{margin:1px 0 5px;font-size:15px}.sv-confirm-card p{margin:0;color:#66768d;font-size:10px;line-height:1.55}.sv-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.sv-confirm-actions button{height:38px;padding:0 14px;border:1px solid var(--svc-line);border-radius:8px;background:#fff;color:#334155;font-size:10px;font-weight:800}.sv-confirm-actions button.primary{background:#1267eb;border-color:#1267eb;color:#fff}
.project-card-preview .project-preview-static-svg{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.project-card-preview.is-preview-ready{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}.project-card-preview.is-preview-ready:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,18,35,.02),rgba(2,18,35,.10));z-index:2;pointer-events:none}
body.sv-document-complex .sv-document-panel{margin-bottom:14px!important;padding:20px 22px!important;border:1px solid var(--svc-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 20px rgba(15,23,42,.04)!important}body.sv-document-complex .sv-document-panel>h2{margin:0 0 14px!important;font-size:14px!important;color:#17233a!important}body.sv-document-complex .form-grid{gap:13px 16px!important}body.sv-document-complex label{font-size:10px!important;font-weight:700!important;color:#42526a!important}body.sv-document-complex input,body.sv-document-complex select,body.sv-document-complex textarea{min-height:40px!important;border:1px solid #dbe3ed!important;border-radius:8px!important;background:#fff!important;font-size:11px!important}body.sv-document-complex .btn,body.sv-document-complex .link-btn{border-radius:8px!important;min-height:40px!important}

.project-card-preview.is-placeholder:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(255,255,255,0) 15%,rgba(255,255,255,.45) 32%,rgba(255,255,255,0) 48%);transform:translateX(-100%);animation:svPreviewSheen 1.6s linear infinite;z-index:1;pointer-events:none}.project-card-preview.is-preview-ready:before,.project-card-preview.is-preview-unavailable:before{display:none}.project-card-preview .project-preview-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.project-card-preview .project-preview-tiles{position:absolute;left:50%;top:50%;width:768px;height:768px;transform:translate(-50%,-50%);z-index:1}.project-card-preview .project-preview-tiles img{position:absolute;width:256px;height:256px;object-fit:cover}.project-card-preview .project-preview-svg,.project-card-preview .project-preview-static-svg{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.project-card-preview .project-cloud-pill{position:absolute;right:12px;top:12px;z-index:4}.project-card-preview .project-preview-outline{position:absolute;inset:12px;border:1px dashed rgba(255,255,255,.24);border-radius:12px;z-index:2;pointer-events:none}.project-card-preview.is-preview-unavailable{background:linear-gradient(180deg,#dfe8f0 0%,#c9d5e4 100%)!important}.project-card-preview.is-preview-unavailable .project-preview-outline{border-color:rgba(15,23,42,.09)}@keyframes svPreviewSheen{0%{transform:translateX(-100%)}100%{transform:translateX(130%)}}

.project-preview-unavailable-note{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:5;max-width:84%;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid rgba(203,213,225,.9);box-shadow:0 4px 12px rgba(15,23,42,.08);font-size:9px;font-weight:700;color:#64748b;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* HOTFIX PROJETOS 2026-08-18E — miniatura visível em grade/lista */
body[data-page="nuvem.html"] .projects-list:not(.is-list-view) .project-card-preview,
body[data-page="nuvem.html"] .projects-list.is-list-view .project-card-preview{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  overflow:hidden!important;
  background:#dfe7ef!important;
}
body[data-page="nuvem.html"] .projects-list:not(.is-list-view) .project-card-preview{height:210px!important;min-height:210px!important;width:100%!important}
body[data-page="nuvem.html"] .projects-list.is-list-view .project-card-preview{height:150px!important;min-height:150px!important;width:240px!important}
body[data-page="nuvem.html"] .project-preview-static-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  opacity:1!important;
  z-index:1!important;
}
body[data-page="nuvem.html"] .project-preview-static-svg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:3!important;
  pointer-events:none!important;
  overflow:visible!important;
}
body[data-page="nuvem.html"] .project-cloud-pill{z-index:5!important}
body[data-page="nuvem.html"] .project-card-preview.is-preview-ready{background:#dfe7ef!important;animation:none!important}

/* Acervos oficiais — correção comercial 2026-08-18 */
body[data-page="acervos.html"] .official-card:before{display:none!important;content:none!important}
body[data-page="acervos.html"] .official-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
body[data-page="acervos.html"] .official-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:232px!important;padding:18px 20px!important;border:1px solid #d8e2ef!important;border-radius:14px!important;overflow:hidden!important}
body[data-page="acervos.html"] .sv-official-badge{align-self:flex-start!important;margin:0 0 8px!important;padding:3px 8px!important;border-radius:999px!important;font-size:8px!important;line-height:1.2!important}
body[data-page="acervos.html"] .sv-official-brand{height:74px!important;margin:0 0 8px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important}
body[data-page="acervos.html"] .sv-official-logo{display:block!important;width:auto!important;max-width:92%!important;height:auto!important;max-height:68px!important;object-fit:contain!important;object-position:left center!important}
body[data-page="acervos.html"] .official-card h3{position:static!important;margin:3px 0 5px!important;font-size:13px!important;line-height:1.3!important;color:#0d1c32!important}
body[data-page="acervos.html"] .official-card p{position:static!important;margin:0 0 14px!important;font-size:10px!important;line-height:1.45!important;color:#607089!important;min-height:29px!important}
body[data-page="acervos.html"] .official-card .link-btn{position:static!important;left:auto!important;bottom:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;min-height:32px!important;margin-top:auto!important;padding:0 12px!important;border-radius:8px!important;font-size:9px!important;font-weight:800!important}
body[data-page="acervos.html"] .sv-official-suggestion{justify-content:center!important;border-style:dashed!important}
@media(max-width:1100px){body[data-page="acervos.html"] .official-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){body[data-page="acervos.html"] .official-grid{grid-template-columns:1fr!important}}

/* ===== Personalização — correção visual e estrutural 2026-08-18 ===== */
body[data-page="customizacao.html"]{
  background:#f5f7fb!important;
}
body[data-page="customizacao.html"]>.suite>.main,
body[data-page="customizacao.html"].workspace-shell-v131 .main,
body[data-page="customizacao.html"].workspace-shell-v131 .workspace-main{
  padding-top:72px!important;
  padding-left:clamp(18px,2.6vw,38px)!important;
  padding-right:clamp(18px,2.6vw,38px)!important;
  padding-bottom:42px!important;
}
body[data-page="customizacao.html"] .top,
body[data-page="customizacao.html"] .workspace-page-head{
  width:min(1320px,100%)!important;
  min-height:44px!important;
  margin:0 auto 14px!important;
  padding:0!important;
  align-items:center!important;
}
body[data-page="customizacao.html"] .top>div:first-child,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child{
  padding-left:44px!important;
}
body[data-page="customizacao.html"] .top>div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before{
  width:34px!important;
  height:34px!important;
  border-radius:9px!important;
  background-size:19px 19px!important;
}
body[data-page="customizacao.html"] .top h1,
body[data-page="customizacao.html"] .workspace-page-head h1{
  font-size:22px!important;
  margin:0!important;
}
body[data-page="customizacao.html"] .top p,
body[data-page="customizacao.html"] .workspace-page-head p{
  display:none!important;
}
body[data-page="customizacao.html"] .panel.customization-layout{
  width:min(1320px,100%)!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-page="customizacao.html"] .customization-form{gap:14px!important}
body[data-page="customizacao.html"] .customization-chooser{
  gap:14px!important;
  padding:22px!important;
  border:1px solid #dbe3ee!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
body[data-page="customizacao.html"] .customization-chooser-head{
  max-width:900px!important;
}
body[data-page="customizacao.html"] .customization-chooser-head h2{
  margin:0 0 5px!important;
  font-size:22px!important;
  letter-spacing:-.02em!important;
}
body[data-page="customizacao.html"] .customization-chooser-head p{
  font-size:12.5px!important;
  line-height:1.45!important;
  color:#697a91!important;
}
body[data-page="customizacao.html"] .customization-progress-summary{
  min-height:66px!important;
  padding:12px 14px!important;
  border:1px solid #d9e6f8!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#f7faff,#eef5ff)!important;
  box-shadow:none!important;
}
body[data-page="customizacao.html"] .customization-progress-summary strong{
  font-size:13px!important;
}
body[data-page="customizacao.html"] .customization-progress-summary span{
  font-size:10.5px!important;
}
body[data-page="customizacao.html"] .customization-progress-summary output{
  min-width:70px!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  font-size:12px!important;
}
body[data-page="customizacao.html"] .custom-target-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
}
body[data-page="customizacao.html"] .custom-target-card{
  grid-column:span 2!important;
  min-height:108px!important;
  padding:13px 14px!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-areas:"icon content" "status status" "progress progress"!important;
  gap:7px 10px!important;
  border:1px solid #dce4ee!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 3px 10px rgba(15,23,42,.025)!important;
  overflow:hidden!important;
}
body[data-page="customizacao.html"] .custom-target-card.is-featured{
  grid-column:span 3!important;
  min-height:116px!important;
  background:linear-gradient(135deg,#fff,#f8fbff)!important;
  border-color:#cbdcf5!important;
}
body[data-page="customizacao.html"] .custom-target-card:hover,
body[data-page="customizacao.html"] .custom-target-card:focus-visible{
  transform:translateY(-1px)!important;
  border-color:#a9c6ee!important;
  box-shadow:0 10px 22px rgba(15,23,42,.07)!important;
}
body[data-page="customizacao.html"] .custom-target-icon{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
  background:#eef4ff!important;
  color:#155edb!important;
  font-size:9px!important;
  letter-spacing:.02em!important;
}
body[data-page="customizacao.html"] .custom-target-content b{
  font-size:12px!important;
  line-height:1.25!important;
}
body[data-page="customizacao.html"] .custom-target-content span{
  margin-top:3px!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
body[data-page="customizacao.html"] .custom-target-step{
  position:absolute!important;
  right:12px!important;
  top:10px!important;
  padding:3px 7px!important;
  border:1px solid #c9dcf8!important;
  border-radius:999px!important;
  background:#f4f8ff!important;
  color:#155edb!important;
  font-size:7px!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
body[data-page="customizacao.html"] .custom-target-status{
  justify-self:start!important;
  min-width:0!important;
  min-height:23px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  font-size:8px!important;
  font-weight:800!important;
}
body[data-page="customizacao.html"] .custom-target-status.is-waiting{
  border-color:#d8e1ec!important;
  background:#f8fafc!important;
  color:#64748b!important;
}
body[data-page="customizacao.html"] .custom-target-progress{
  gap:7px!important;
}
body[data-page="customizacao.html"] .custom-target-progress-bar{
  height:4px!important;
  background:#e8edf4!important;
}
body[data-page="customizacao.html"] .custom-target-progress small{
  min-width:28px!important;
  font-size:8px!important;
}
body[data-page="customizacao.html"] .customization-editor{
  gap:12px!important;
}
body[data-page="customizacao.html"] .document-picker-summary{
  position:sticky!important;
  top:64px!important;
  z-index:40!important;
  min-height:56px!important;
  padding:10px 12px!important;
  border:1px solid #dce4ee!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(10px)!important;
  box-shadow:0 10px 26px rgba(15,23,42,.08)!important;
}
body[data-page="customizacao.html"] .document-picker-summary strong{font-size:13px!important}
body[data-page="customizacao.html"] .document-picker-summary .field-help{font-size:8px!important}
body[data-page="customizacao.html"] .document-picker-summary .btn{min-height:33px!important;font-size:9px!important;border-radius:8px!important}
body[data-page="customizacao.html"] .custom-section{
  padding:18px!important;
  border:1px solid #dce4ee!important;
  border-radius:15px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.035)!important;
}
body[data-page="customizacao.html"] .custom-section-heading h2{font-size:18px!important}
body[data-page="customizacao.html"] .custom-section-heading p{font-size:11px!important}
body[data-page="customizacao.html"] .section-completion-badge{
  min-height:25px!important;
  padding:4px 8px!important;
  font-size:8px!important;
}
body[data-page="customizacao.html"] .section-completion-badge.is-waiting{
  border-color:#d8e1ec!important;
  background:#f8fafc!important;
  color:#64748b!important;
}
body[data-page="customizacao.html"] .identity-fieldset,
body[data-page="customizacao.html"] .company-logo-card,
body[data-page="customizacao.html"] .technical-signature-card,
body[data-page="customizacao.html"] .module-automatic-panel{
  border-radius:12px!important;
}

/* Topbar de contingência: aparece somente se a topbar global não for montada. */
.sv-custom-fallback-topbar{
  position:fixed!important;
  inset:0 0 auto 0!important;
  z-index:12000!important;
  height:56px!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
  gap:20px!important;
  padding:0 22px!important;
  background:#fff!important;
  border-bottom:1px solid #e2e8f0!important;
  box-shadow:0 1px 3px rgba(15,23,42,.04)!important;
}
.sv-custom-fallback-brand{display:flex;align-items:center;gap:9px;color:#0f172a;text-decoration:none!important}
.sv-custom-fallback-brand img{width:30px;height:30px;object-fit:contain}
.sv-custom-fallback-brand strong{display:block;font-size:13px}
.sv-custom-fallback-brand small{display:block;font-size:7px;color:#7a8799;margin-top:1px}
.sv-custom-fallback-topbar nav{display:flex;align-items:center;justify-content:center;gap:4px}
.sv-custom-fallback-topbar nav a,.sv-custom-fallback-home{padding:8px 10px;border-radius:8px;color:#334155;text-decoration:none!important;font-size:9px;font-weight:700}
.sv-custom-fallback-topbar nav a:hover,.sv-custom-fallback-home:hover{background:#f1f5f9;color:#111827}
body[data-page="customizacao.html"].sv-custom-shell-fallback>.suite>.main{padding-top:76px!important}

@media(max-width:1100px){
  body[data-page="customizacao.html"] .custom-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="customizacao.html"] .custom-target-card,
  body[data-page="customizacao.html"] .custom-target-card.is-featured{grid-column:span 1!important}
}
@media(max-width:720px){
  body[data-page="customizacao.html"]>.suite>.main,
  body[data-page="customizacao.html"].workspace-shell-v131 .main,
  body[data-page="customizacao.html"].workspace-shell-v131 .workspace-main{padding:68px 12px 26px!important}
  body[data-page="customizacao.html"] .customization-chooser{padding:14px!important;border-radius:14px!important}
  body[data-page="customizacao.html"] .custom-target-grid{grid-template-columns:1fr!important}
  body[data-page="customizacao.html"] .custom-target-card,
  body[data-page="customizacao.html"] .custom-target-card.is-featured{grid-column:1!important}
  .sv-custom-fallback-topbar nav{display:none!important}
  .sv-custom-fallback-brand small{display:none!important}
}


/* First paint gate: never expose the superseded markup/style while current UI runtime is normalizing the DOM. */
html.surveyor-ui-booting body{opacity:0;pointer-events:none;animation:svUiBootFallback .001s 2.5s forwards}
html:not(.surveyor-ui-booting) body{opacity:1}
@keyframes svUiBootFallback{to{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:no-preference){html:not(.surveyor-ui-booting) body{transition:opacity .10s ease-out}}

/* Current memorial progress UI — consolidated replacement for the retired audit stylesheet. */
.memorial-generation-progress{margin:14px 0 16px;padding:15px 16px;border:1px solid #cbd9ee;border-radius:9px;background:#f8fafc;box-shadow:none}
.memorial-generation-progress[hidden]{display:none!important}
.memorial-generation-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.memorial-generation-progress-head strong{font-size:13px;color:#0f2748;line-height:1.35}
.memorial-generation-progress-head span{font-size:12px;font-weight:800;color:#145edb;white-space:nowrap}
.memorial-generation-progress-track{height:6px;border-radius:999px;background:#dbe7f7;overflow:hidden}
.memorial-generation-progress-bar{display:block;width:0;height:100%;border-radius:inherit;background:#1063e8;transition:width .28s ease}
.memorial-generation-progress-stages{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0;padding:0;list-style:none}
.memorial-generation-progress-stages li{font-size:11px;color:#64748b;padding:4px 7px;border:1px solid #d7e0ec;border-radius:999px;background:#fff}
.memorial-generation-progress-stages li.is-active{color:#0f4fb5;border-color:#8eb5ef;background:#edf5ff;font-weight:800}
.memorial-generation-progress-stages li.is-done{color:#166534;border-color:#a7d7b7;background:#f0fdf4}
.memorial-generation-progress.is-error{border-color:#fecaca;background:#fff7f7}
.memorial-generation-progress.is-error .memorial-generation-progress-bar{background:#b91c1c}
.memorial-generation-progress.is-error .memorial-generation-progress-head strong{color:#991b1b}
#generateMemorial[aria-busy="true"]{cursor:wait;opacity:.82}
@media(max-width:760px){.memorial-generation-progress-stages{display:grid;grid-template-columns:1fr 1fr}}


/* ===== 2026-08-18 — correção final da Central de Personalização =====
   A tela atual possui apenas um formulário/hub; regras históricas de duas colunas
   reservavam uma coluna de preview inexistente e comprimiam os cards. */
body[data-page="customizacao.html"] .panel.customization-layout{
  display:block!important;
  grid-template-columns:1fr!important;
  width:min(1320px,100%)!important;
  max-width:1320px!important;
  overflow:visible!important;
}
body[data-page="customizacao.html"] .panel.customization-layout>.customization-form{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  position:static!important;
  top:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="customizacao.html"] .customization-chooser{width:100%!important;min-width:0!important}
body[data-page="customizacao.html"] .custom-target-grid{
  width:100%!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:stretch!important;
}
body[data-page="customizacao.html"] .custom-target-card{min-width:0!important;height:auto!important}
body[data-page="customizacao.html"] .custom-target-content{min-width:0!important;overflow:hidden!important}
body[data-page="customizacao.html"] .custom-target-content b,
body[data-page="customizacao.html"] .custom-target-content span{overflow-wrap:anywhere!important;word-break:normal!important}
@media(max-width:1100px){
  body[data-page="customizacao.html"] .custom-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="customizacao.html"] .custom-target-card,
  body[data-page="customizacao.html"] .custom-target-card.is-featured{grid-column:span 1!important}
}
@media(max-width:680px){
  body[data-page="customizacao.html"] .custom-target-grid{grid-template-columns:1fr!important}
}

/* 2026-08-18 — remove selo redundante Bem-vindo da home */
body[data-page="index.html"] .sv-home-welcome{display:none!important}


/* ===== 2026-08-18 — alinhamento final: Projetos / Acervos / Personalização ===== */
body[data-page="nuvem.html"] .workspace-main,
body[data-page="nuvem.html"] .main,
body[data-page="acervos.html"] .workspace-main,
body[data-page="acervos.html"] .main,
body[data-page="customizacao.html"] .workspace-main,
body[data-page="customizacao.html"] .main{
  max-width:1500px!important;
  width:100%!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
body[data-page="nuvem.html"] .top,
body[data-page="nuvem.html"] .workspace-page-head,
body[data-page="acervos.html"] .top,
body[data-page="acervos.html"] .workspace-page-head,
body[data-page="customizacao.html"] .top,
body[data-page="customizacao.html"] .workspace-page-head{
  width:min(1360px,100%)!important;
  margin:0 auto 18px!important;
}
body[data-page="nuvem.html"] .projects-panel,
body[data-page="acervos.html"] .panel,
body[data-page="customizacao.html"] .panel.customization-layout{
  width:min(1360px,100%)!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
body[data-page="nuvem.html"] .projects-toolbar,
body[data-page="nuvem.html"] .projects-list,
body[data-page="acervos.html"] .sv-acervos-toolbar,
body[data-page="acervos.html"] .official-grid,
body[data-page="customizacao.html"] .customization-chooser,
body[data-page="customizacao.html"] .custom-target-grid{
  width:100%!important;
  box-sizing:border-box!important;
}
body[data-page="nuvem.html"] .top>div:first-child,
body[data-page="acervos.html"] .top>div:first-child,
body[data-page="customizacao.html"] .top>div:first-child,
body[data-page="nuvem.html"] .workspace-page-head>div:first-child,
body[data-page="acervos.html"] .workspace-page-head>div:first-child,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child{
  padding-left:52px!important;
}
body[data-page="nuvem.html"] .top>div:first-child:before,
body[data-page="acervos.html"] .top>div:first-child:before,
body[data-page="customizacao.html"] .top>div:first-child:before,
body[data-page="nuvem.html"] .workspace-page-head>div:first-child:before,
body[data-page="acervos.html"] .workspace-page-head>div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
  background-size:20px 20px!important;
}

/* Projetos — cabeçalho e grade alinhados */
body[data-page="nuvem.html"] .projects-toolbar{
  grid-template-columns:minmax(320px,1fr) auto!important;
  gap:18px!important;
  align-items:center!important;
}
body[data-page="nuvem.html"] .projects-search{max-width:500px!important}
body[data-page="nuvem.html"] .projects-list{align-items:stretch!important}
body[data-page="nuvem.html"] .project-list-row{height:100%!important}

/* Acervos — filtros fixos e mais fáceis de clicar */
body[data-page="acervos.html"] .sv-acervos-toolbar{
  display:grid!important;
  grid-template-columns:minmax(320px,1fr) auto!important;
  gap:18px!important;
  align-items:start!important;
}
body[data-page="acervos.html"] .sv-acervos-search{max-width:560px!important;width:100%!important}
body[data-page="acervos.html"] .sv-acervos-filters{justify-content:flex-end!important;align-items:center!important}
body[data-page="acervos.html"] .sv-acervos-filters button{
  min-width:92px!important;
  min-height:42px!important;
  padding:0 16px!important;
  font-size:11px!important;
  cursor:pointer!important;
}
body[data-page="acervos.html"] .sv-acervos-filters button.active{box-shadow:0 0 0 3px rgba(18,103,235,.08)!important}

/* Personalização — central alinhada e cards estáveis */
body[data-page="customizacao.html"] .top,
body[data-page="customizacao.html"] .workspace-page-head{
  margin-bottom:20px!important;
}
body[data-page="customizacao.html"] .customization-chooser{
  padding:26px!important;
}
body[data-page="customizacao.html"] .customization-progress-summary{
  margin-bottom:18px!important;
}
body[data-page="customizacao.html"] .custom-target-grid{
  grid-auto-flow:row dense!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
body[data-page="customizacao.html"] .custom-target-card,
body[data-page="customizacao.html"] .custom-target-card.is-featured{
  width:100%!important;
  height:100%!important;
  align-content:start!important;
  box-sizing:border-box!important;
}
body[data-page="customizacao.html"] .custom-target-card{min-height:126px!important}
body[data-page="customizacao.html"] .custom-target-card.is-featured{min-height:126px!important}
body[data-page="customizacao.html"] .custom-target-progress-bar{width:100%!important}
body[data-page="customizacao.html"] .custom-target-content{padding-right:18px!important}
body[data-page="customizacao.html"] .custom-target-content b{display:block!important}
body[data-page="customizacao.html"] .custom-target-content span{display:block!important}
@media(max-width:1100px){
  body[data-page="acervos.html"] .sv-acervos-toolbar{grid-template-columns:1fr!important}
}


/* ===== HEADER ICONS: friendly monochrome set for document modules ===== */
body[data-page="memorial.html"] .top>div:first-child:before,
body[data-page="memorial.html"] .workspace-page-head>div:first-child:before,
body[data-page="ods.html"] .top>div:first-child:before,
body[data-page="ods.html"] .workspace-page-head>div:first-child:before,
body[data-page="mapas.html"] .top>div:first-child:before,
body[data-page="mapas.html"] .workspace-page-head>div:first-child:before,
body[data-page="pranchas.html"] .top>div:first-child:before,
body[data-page="pranchas.html"] .workspace-page-head>div:first-child:before,
body[data-page="planialtimetria.html"] .top>div:first-child:before,
body[data-page="planialtimetria.html"] .workspace-page-head>div:first-child:before,
body[data-page="perimetros.html"] .top>div:first-child:before,
body[data-page="perimetros.html"] .workspace-page-head>div:first-child:before,
body[data-page="ambiental.html"] .top>div:first-child:before,
body[data-page="ambiental.html"] .workspace-page-head>div:first-child:before,
body[data-page="loteamentos-reurb.html"] .top>div:first-child:before,
body[data-page="loteamentos-reurb.html"] .workspace-page-head>div:first-child:before{
  background-color:#f5f7fa!important;
  box-shadow:inset 0 0 0 1px #d7dde5!important;
  background-size:18px 18px!important;
}
body[data-page="memorial.html"] .top>div:first-child:before,
body[data-page="memorial.html"] .workspace-page-head>div:first-child:before,
body[data-page="ods.html"] .top>div:first-child:before,
body[data-page="ods.html"] .workspace-page-head>div:first-child:before,
body[data-page="pranchas.html"] .top>div:first-child:before,
body[data-page="pranchas.html"] .workspace-page-head>div:first-child:before,
body[data-page="loteamentos-reurb.html"] .top>div:first-child:before,
body[data-page="loteamentos-reurb.html"] .workspace-page-head>div:first-child:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v5h5'/%3E%3Cpath d='M9 13h6M9 17h6M9 9h2'/%3E%3C/svg%3E")!important;
}
body[data-page="mapas.html"] .top>div:first-child:before,
body[data-page="mapas.html"] .workspace-page-head>div:first-child:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-2 6 2 6-2v14l-6 2-6-2-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E")!important;
}
body[data-page="planialtimetria.html"] .top>div:first-child:before,
body[data-page="planialtimetria.html"] .workspace-page-head>div:first-child:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18'/%3E%3Cpath d='m4 15 4-5 4 3 5-7 3 4'/%3E%3Ccircle cx='8' cy='10' r='1'/%3E%3Ccircle cx='12' cy='13' r='1'/%3E%3Ccircle cx='17' cy='6' r='1'/%3E%3C/svg%3E")!important;
}
body[data-page="perimetros.html"] .top>div:first-child:before,
body[data-page="perimetros.html"] .workspace-page-head>div:first-child:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14v12H5z'/%3E%3Cpath d='m8 14 3-4 2 2 3-5'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E")!important;
}
body[data-page="ambiental.html"] .top>div:first-child:before,
body[data-page="ambiental.html"] .workspace-page-head>div:first-child:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 4C11 4 5 8 5 14c0 3 2 5 5 5 6 0 9-7 9-15Z'/%3E%3Cpath d='M5 19c2-5 5-8 10-11'/%3E%3C/svg%3E")!important;
}

/* ===== 2026-08-19 — POLIMENTO FINAL: cabeçalhos, suporte e módulos técnicos compactos ===== */

/* Cabeçalhos alinhados com a área útil da página. */
body[data-page="nuvem.html"] .top,
body[data-page="nuvem.html"] .workspace-page-head,
body[data-page="customizacao.html"] .top,
body[data-page="customizacao.html"] .workspace-page-head,
body[data-page="suporte.html"] .top,
body[data-page="suporte.html"] .workspace-page-head{
  min-height:52px!important;
  align-items:center!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body[data-page="nuvem.html"] .top>div:first-child,
body[data-page="nuvem.html"] .workspace-page-head>div:first-child,
body[data-page="customizacao.html"] .top>div:first-child,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child,
body[data-page="suporte.html"] .top>div:first-child,
body[data-page="suporte.html"] .workspace-page-head>div:first-child{
  position:relative!important;
  min-height:44px!important;
  padding-left:56px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
}
body[data-page="nuvem.html"] .top>div:first-child:before,
body[data-page="nuvem.html"] .workspace-page-head>div:first-child:before,
body[data-page="customizacao.html"] .top>div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before,
body[data-page="suporte.html"] .top>div:first-child:before,
body[data-page="suporte.html"] .workspace-page-head>div:first-child:before{
  left:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:13px!important;
  box-shadow:none!important;
  background-color:transparent!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:44px 44px!important;
}
body[data-page="nuvem.html"] .top>div:first-child:before,
body[data-page="nuvem.html"] .workspace-page-head>div:first-child:before{
  background-image:url('/assets/module-icons/projetos.svg')!important;
}
body[data-page="customizacao.html"] .top>div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before{
  background-image:url('/assets/module-icons/customizacao.svg')!important;
}
body[data-page="suporte.html"] .top>div:first-child:before,
body[data-page="suporte.html"] .workspace-page-head>div:first-child:before{
  background-image:url('/assets/module-icons/suporte.svg')!important;
}
body[data-page="nuvem.html"] .top h1,
body[data-page="nuvem.html"] .workspace-page-head h1,
body[data-page="customizacao.html"] .top h1,
body[data-page="customizacao.html"] .workspace-page-head h1,
body[data-page="suporte.html"] .top h1,
body[data-page="suporte.html"] .workspace-page-head h1{
  margin:0!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}

/* Suporte: ícones centralizados e cards com leitura limpa. */
body[data-page="suporte.html"] .support-layout{
  align-items:start!important;
  gap:20px!important;
}
body[data-page="suporte.html"] .support-info-stack{
  display:grid!important;
  gap:14px!important;
}
body[data-page="suporte.html"] .support-mini-card{
  min-height:76px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px 16px!important;
  border-radius:13px!important;
}
body[data-page="suporte.html"] .support-mini-icon{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  padding:0!important;
  margin:0!important;
  border-radius:11px!important;
  background:#f5f7fa!important;
  border:1px solid #dfe5ec!important;
  color:#111827!important;
  line-height:1!important;
}
body[data-page="suporte.html"] .support-mini-icon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  margin:auto!important;
  stroke:#111827!important;
  stroke-width:1.8!important;
  fill:none!important;
}
body[data-page="suporte.html"] .support-mini-card>div{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
  align-content:center!important;
}
body[data-page="suporte.html"] .support-mini-card strong{
  margin:0!important;
  font-size:12px!important;
  line-height:1.25!important;
}
body[data-page="suporte.html"] .support-mini-card a,
body[data-page="suporte.html"] .support-mini-card span:not(.support-mini-icon){
  margin:0!important;
  font-size:10px!important;
  line-height:1.35!important;
}

/* Módulos técnicos: mais informação na tela e menos vazios. */
body.sv-document-workspace .workspace-main,
body.sv-document-workspace .main{
  width:min(1400px,100%)!important;
  max-width:1400px!important;
}
body.sv-document-workspace .workspace-page-head,
body.sv-document-workspace .main>.top{
  margin-bottom:12px!important;
  gap:14px!important;
}
body.sv-document-workspace .workspace-page-head h1,
body.sv-document-workspace .main>.top h1{
  font-size:24px!important;
}
body.sv-document-workspace .sv-document-panel{
  padding:14px 16px!important;
  border-radius:13px!important;
}
body.sv-document-workspace .sv-document-sections{
  gap:0 18px!important;
}
body.sv-document-workspace .sv-doc-section{
  padding:10px 0!important;
}
body.sv-document-workspace .sv-doc-section:first-child{
  padding-top:0!important;
  padding-bottom:10px!important;
}
body.sv-document-workspace .sv-doc-section h2{
  margin:0 0 9px!important;
  gap:8px!important;
  font-size:12px!important;
}
body.sv-document-workspace .sv-doc-section h2>span{
  width:20px!important;
  height:20px!important;
  font-size:9px!important;
}
body.sv-document-workspace .sv-doc-section-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:9px 12px!important;
  align-items:start!important;
}
body.sv-document-workspace .sv-doc-section:first-child .sv-doc-section-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
}
body.sv-document-workspace .sv-document-panel label{
  gap:4px!important;
  font-size:9.5px!important;
}
body.sv-document-workspace .sv-document-panel input,
body.sv-document-workspace .sv-document-panel select{
  min-height:36px!important;
  height:36px!important;
  padding:0 10px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
}
body.sv-document-workspace .sv-document-panel textarea{
  min-height:82px!important;
  padding:8px 10px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}
body.sv-document-workspace .sv-document-panel .button-row{
  margin-top:10px!important;
  padding-top:10px!important;
  gap:8px!important;
}
body.sv-document-workspace .sv-document-panel .btn,
body.sv-document-workspace .sv-document-panel .link-btn{
  min-height:36px!important;
  height:36px!important;
  padding:0 13px!important;
  font-size:10px!important;
  border-radius:7px!important;
}
body.sv-document-workspace .summary{
  margin-top:10px!important;
  padding-top:8px!important;
  gap:12px!important;
}
body.sv-document-workspace .summary .stat{
  padding:6px 8px!important;
}
body.sv-document-workspace .summary .stat strong{
  font-size:18px!important;
}
body.sv-document-workspace .preview,
body.sv-document-workspace [id$="Preview"],
body.sv-document-workspace [id$="Output"]{
  margin-top:14px!important;
}
body.sv-document-workspace .sv-doc-head-status{
  border-radius:12px!important;
}
body.sv-document-workspace .sv-doc-status-card{
  min-height:48px!important;
  padding:8px 12px!important;
}

/* Perímetros por azimute: evita o grande vazio entre ponto inicial e visualização. */
body[data-page="perimetros.html"].sv-document-workspace .sv-document-sections{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:18px!important;
  row-gap:0!important;
}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(1){grid-column:1/-1!important;grid-row:1!important}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(2){grid-column:1!important;grid-row:2!important}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(3){grid-column:2!important;grid-row:2 / span 2!important}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(4){grid-column:1!important;grid-row:3!important}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(2),
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(4){border-right:0!important}
body[data-page="perimetros.html"].sv-document-workspace #azimuthLines{min-height:118px!important;max-height:150px!important}
body[data-page="perimetros.html"].sv-document-workspace .sv-doc-section:nth-child(4) .sv-doc-section-grid{grid-template-columns:minmax(180px,260px)!important}

/* Campo de escopo/gleba é um recurso condicional: quando oculto não reserva espaço. */
.surveyor-document-scope-field[hidden]{display:none!important}
.surveyor-document-scope-field{margin:0!important}
.surveyor-document-scope-field small{font-size:9.5px!important;line-height:1.3!important;margin-top:1px!important}

@media(max-width:900px){
  body[data-page="perimetros.html"].sv-document-workspace .sv-document-sections{display:block!important}
}


/* ===== 2026-08-20 — Personalização: reposicionamento do título principal ===== */
body[data-page="customizacao.html"] .top,
body[data-page="customizacao.html"] .workspace-page-head{
  min-height:88px!important;
  margin:6px 0 20px!important;
  align-items:center!important;
}
body[data-page="customizacao.html"] .top>div:first-child,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child{
  min-height:88px!important;
  padding-left:68px!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
body[data-page="customizacao.html"] .top>div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head>div:first-child:before{
  width:46px!important;
  height:46px!important;
  background-size:46px 46px!important;
}
body[data-page="customizacao.html"] .top h1,
body[data-page="customizacao.html"] .workspace-page-head h1{
  margin:2px 0 0!important;
  font-size:30px!important;
  line-height:1.1!important;
}
body[data-page="customizacao.html"] .top p,
body[data-page="customizacao.html"] .workspace-page-head p{
  margin:6px 0 0!important;
  max-width:820px!important;
}
@media(max-width:760px){
  body[data-page="customizacao.html"] .top,
  body[data-page="customizacao.html"] .workspace-page-head{min-height:auto!important;}
  body[data-page="customizacao.html"] .top>div:first-child,
  body[data-page="customizacao.html"] .workspace-page-head>div:first-child{
    min-height:72px!important;
    padding-left:60px!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
}


/* ===== 2026-08-20 — Personalização: ícone + título alinhados ao painel ===== */
body[data-page="customizacao.html"] .main > header.top,
body[data-page="customizacao.html"] .workspace-page-head{
  width:min(1360px,100%)!important;
  max-width:1360px!important;
  min-height:88px!important;
  margin:6px auto 20px!important;
  padding:0!important;
  align-items:center!important;
  box-sizing:border-box!important;
}
body[data-page="customizacao.html"] .main > header.top > div:first-child,
body[data-page="customizacao.html"] .workspace-page-head > div:first-child{
  position:relative!important;
  min-height:88px!important;
  margin:0!important;
  padding:12px 0 12px 86px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
}
body[data-page="customizacao.html"] .main > header.top > div:first-child:before,
body[data-page="customizacao.html"] .workspace-page-head > div:first-child:before{
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:46px!important;
  height:46px!important;
  border-radius:12px!important;
  background-image:url('/assets/module-icons/customizacao.svg')!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:46px 46px!important;
}
body[data-page="customizacao.html"] .main > header.top h1,
body[data-page="customizacao.html"] .workspace-page-head h1{
  margin:0!important;
  margin-left:0!important;
  font-size:30px!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}
body[data-page="customizacao.html"] .main > header.top p,
body[data-page="customizacao.html"] .workspace-page-head p{
  margin-left:0!important;
}
@media(max-width:760px){
  body[data-page="customizacao.html"] .main > header.top,
  body[data-page="customizacao.html"] .workspace-page-head{
    width:100%!important;
    min-height:72px!important;
    margin:4px auto 14px!important;
  }
  body[data-page="customizacao.html"] .main > header.top > div:first-child,
  body[data-page="customizacao.html"] .workspace-page-head > div:first-child{
    min-height:72px!important;
    padding:8px 0 8px 66px!important;
  }
  body[data-page="customizacao.html"] .main > header.top > div:first-child:before,
  body[data-page="customizacao.html"] .workspace-page-head > div:first-child:before{
    left:12px!important;
    width:42px!important;
    height:42px!important;
    background-size:42px 42px!important;
  }
  body[data-page="customizacao.html"] .main > header.top h1,
  body[data-page="customizacao.html"] .workspace-page-head h1{font-size:24px!important;}
}


body[data-page="admin.html"] .admin-tabs .admin-route-tab{border:0!important;border-radius:7px!important;background:transparent!important;color:#607189!important;font-size:10px!important;font-weight:650!important;min-height:34px!important;padding:0 11px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;cursor:pointer!important}
body[data-page="admin.html"] .admin-tabs .admin-route-tab:hover{background:#fff!important;color:#0f62e8!important;box-shadow:0 1px 3px rgba(15,23,42,.08)!important}


/* 2026-08-21 PROJETOS — lista compacta com miniatura sob demanda */
body[data-page="nuvem.html"] .sv-project-view-toggle{display:none!important}
body[data-page="nuvem.html"] .projects-list,
body[data-page="nuvem.html"] .projects-list.is-accordion-view{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
}
body[data-page="nuvem.html"] .project-list-row{
  display:block!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 10px!important;
  padding:0!important;
  border:1px solid #dce4ee!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 3px 12px rgba(15,23,42,.04)!important;
}
body[data-page="nuvem.html"] .project-list-summary{
  width:100%!important;
  min-height:74px!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1.1fr) minmax(360px,1.7fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  padding:13px 16px!important;
  border:0!important;
  background:#fff!important;
  color:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
}
body[data-page="nuvem.html"] .project-list-summary:hover{background:#f8fbff!important}
body[data-page="nuvem.html"] .project-list-row.is-expanded .project-list-summary{background:#f7faff!important;border-bottom:1px solid #e4ebf4!important}
body[data-page="nuvem.html"] .project-list-summary .project-list-main{display:block!important;padding:0!important;min-width:0!important}
body[data-page="nuvem.html"] .project-list-summary .project-list-main strong{display:block!important;font-size:13px!important;font-weight:800!important;color:#101d30!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="nuvem.html"] .project-list-summary .project-owner{display:block!important;margin-top:4px!important;font-size:10px!important;color:#718198!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="nuvem.html"] .project-list-summary .project-list-meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  padding:0!important;
  min-width:0!important;
}
body[data-page="nuvem.html"] .project-list-summary .project-list-meta span{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:5px 8px!important;border:1px solid #e0e7ef!important;border-radius:999px!important;background:#f8fafc!important;color:#52637b!important;font-size:9px!important;white-space:nowrap!important}
body[data-page="nuvem.html"] .project-expand-toggle{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:145px!important;color:#1267eb!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}
body[data-page="nuvem.html"] .project-expand-toggle svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;transition:transform .18s ease!important}
body[data-page="nuvem.html"] .project-list-row.is-expanded .project-expand-toggle svg{transform:rotate(180deg)!important}
body[data-page="nuvem.html"] .project-list-expanded{
  display:grid!important;
  grid-template-columns:minmax(320px,420px) minmax(240px,1fr)!important;
  gap:20px!important;
  align-items:stretch!important;
  padding:16px!important;
  background:#fff!important;
}
body[data-page="nuvem.html"] .project-list-expanded .project-card-preview{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  width:100%!important;
  height:220px!important;
  min-height:220px!important;
  border:1px solid #dbe4ef!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#dfe7ef!important;
}
body[data-page="nuvem.html"] .project-expanded-side{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:16px!important;min-width:0!important}
body[data-page="nuvem.html"] .project-expanded-copy{padding:4px 2px!important}
body[data-page="nuvem.html"] .project-expanded-copy strong{display:block!important;font-size:12px!important;color:#17233a!important;margin-bottom:5px!important}
body[data-page="nuvem.html"] .project-expanded-copy span{display:block!important;max-width:520px!important;font-size:10px!important;line-height:1.5!important;color:#6d7d93!important}
body[data-page="nuvem.html"] .project-list-expanded .project-list-actions{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) 42px 42px!important;
  gap:8px!important;
}
body[data-page="nuvem.html"] .project-list-expanded .project-icon-button{height:38px!important}
body[data-page="nuvem.html"] .project-list-expanded .project-icon-button[data-action="view"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important}
@media(max-width:980px){
  body[data-page="nuvem.html"] .project-list-summary{grid-template-columns:1fr auto!important;gap:10px!important}
  body[data-page="nuvem.html"] .project-list-summary .project-list-meta{grid-column:1/-1!important}
  body[data-page="nuvem.html"] .project-expand-toggle{grid-column:2!important;grid-row:1!important}
  body[data-page="nuvem.html"] .project-list-expanded{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  body[data-page="nuvem.html"] .project-list-summary{display:block!important}
  body[data-page="nuvem.html"] .project-list-summary .project-list-meta{margin-top:10px!important}
  body[data-page="nuvem.html"] .project-expand-toggle{margin-top:10px!important;justify-content:flex-start!important}
  body[data-page="nuvem.html"] .project-list-expanded{padding:12px!important}
  body[data-page="nuvem.html"] .project-list-expanded .project-card-preview{height:180px!important;min-height:180px!important}
}


/* Surveyor 21.11.5 — projetos: miniatura instantânea via tiles CDN */
body[data-page="nuvem.html"] .project-preview-fast-tiles{position:absolute!important;inset:0!important;overflow:hidden!important;z-index:1!important;background:#dfe7ef!important}
body[data-page="nuvem.html"] .project-preview-fast-tiles img{position:absolute!important;width:256px!important;height:256px!important;max-width:none!important;object-fit:cover!important;display:block!important;user-select:none!important;pointer-events:none!important}
body[data-page="nuvem.html"] .project-card-preview.is-preview-ready:before{display:block!important;content:""!important;position:absolute!important;inset:0!important;z-index:2!important;background:linear-gradient(180deg,rgba(5,25,45,.015),rgba(5,25,45,.07))!important;pointer-events:none!important}
body[data-page="nuvem.html"] .project-card-preview .project-preview-static-svg{z-index:3!important}


/* 2026-08-21 — ícone premium e ícone amigável de Cartas de confrontação */
.workspace-plan-premium-icon{
  display:block!important;width:16px!important;height:16px!important;overflow:visible!important;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));
}
.workspace-plan-premium-icon .premium-crown-fill{
  fill:#f8cf4c!important;stroke:#e3a812!important;stroke-width:1.15!important;stroke-linejoin:round!important;
}
.workspace-plan-premium-icon .premium-crown-line{
  fill:none!important;stroke:#f8cf4c!important;stroke-width:1.45!important;stroke-linecap:round!important;
}
.workspace-plan-premium-icon .premium-crown-gem{fill:#fff5be!important;stroke:#d99b00!important;stroke-width:.8!important}
body[data-page="confrontacao.html"] .workspace-page-head>div:first-child:before,
body[data-page="confrontacao.html"] .top>div:first-child:before{
  background-image:url('/assets/module-icons/confrontacao.png')!important;
  background-color:#fff7ed!important;
  background-size:24px 24px!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* 2026-08-21 — Personalização: override final contra regras antigas conflitantes */
body[data-page="customizacao.html"] .custom-target-grid{
  grid-auto-flow:row!important;
  grid-template-columns:repeat(2,minmax(330px,1fr))!important;
  gap:16px!important;
}
body[data-page="customizacao.html"] .custom-target-card,
body[data-page="customizacao.html"] .custom-target-card.is-featured{
  grid-column:span 1!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  grid-template-areas:"icon content" "status status" "progress progress"!important;
  gap:11px 16px!important;
  min-height:150px!important;
  height:auto!important;
  padding:18px 44px 16px 18px!important;
  align-content:start!important;
  align-items:start!important;
}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-icon{
  width:52px!important;height:52px!important;min-width:52px!important;margin:0!important;
}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-content{
  min-width:0!important;width:100%!important;padding:1px 4px 0 0!important;margin:0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;overflow:hidden!important;
}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-content>b,
body[data-page="customizacao.html"] .custom-target-card>.custom-target-content>span{
  position:static!important;transform:none!important;display:block!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-content>b{font-size:15px!important;line-height:1.28!important}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-content>span{
  font-size:12px!important;line-height:1.48!important;color:#64748b!important;overflow:visible!important;
  -webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;
}
body[data-page="customizacao.html"] .custom-target-card>.custom-target-status,
body[data-page="customizacao.html"] .custom-target-card>.custom-target-progress{position:static!important;transform:none!important}
body[data-page="customizacao.html"] .document-picker-summary>div:first-child{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important;
}
body[data-page="customizacao.html"] .document-picker-summary .field-help,
body[data-page="customizacao.html"] .document-picker-summary strong{display:block!important;margin:0!important}
@media(max-width:900px){body[data-page="customizacao.html"] .custom-target-grid{grid-template-columns:1fr!important}}

/* =========================================================
   Surveyor PWA — botão de instalação desktop (2026-08-23)
   ========================================================= */
.sv-pwa-install-button{
  order:0!important;
  height:36px!important;
  min-width:96px!important;
  padding:0 13px!important;
  border:1px solid #b7cdf7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0b57d0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font:700 12px/1 Arial,Helvetica,sans-serif!important;
  cursor:pointer!important;
  box-shadow:0 1px 3px rgba(15,91,220,.08)!important;
  white-space:nowrap!important;
}
.sv-pwa-install-button[hidden]{display:none!important;}
.sv-pwa-install-button:hover{
  background:#edf4ff!important;
  border-color:#86adeb!important;
  color:#064fc2!important;
}
.sv-pwa-install-button:active{transform:translateY(1px)!important;}
.sv-pwa-install-button[aria-busy="true"]{opacity:.65!important;cursor:wait!important;}
.sv-pwa-install-button svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.workspace-topbar-actions .sv-pwa-install-button{order:0!important;}
.workspace-topbar-actions .notification-center{order:1!important;}
.workspace-topbar-actions .workspace-plan-status{order:2!important;}
.workspace-topbar-actions .workspace-topbar-account{order:3!important;}
@media(max-width:1180px){
  .sv-pwa-install-button{min-width:36px!important;width:36px!important;padding:0!important;}
  .sv-pwa-install-button span{display:none!important;}
}
@media(max-width:760px){
  .sv-pwa-install-button{display:none!important;}
}

/* 2026-08-29 — autoria dos projetos compartilhados por equipe */
body[data-page="nuvem.html"] .project-created-by{display:block!important;margin-top:4px!important;font-size:9px!important;line-height:1.25!important;color:#4f647f!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="nuvem.html"] .project-created-by b{font-weight:800!important;color:#24364d!important}
body[data-page="nuvem.html"] .project-created-by.is-unknown{color:#94a3b8!important;font-weight:600!important}

/* R18 — protected-route first-paint gate. The JS preflight also applies inline visibility
   before body parsing; this CSS keeps the contract explicit if the shell is rebuilt. */
html.surveyor-auth-pending body{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
