.ms-wrap{
  --ms-ink:#172033;
  --ms-muted:#667085;
  --ms-border:#e5e9f2;
  --ms-surface:#ffffff;
  --ms-soft:#f7f9fc;
  --ms-primary:#1769aa;
  --ms-primary-dark:#0d4f87;
  --group:#64748b;
  --group-soft:#f4f6f8;
  width:auto;
  max-width:none;
  margin:22px 20px 34px;
  padding:0;
  box-sizing:border-box;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ms-ink);
}
.ms-wrap *{box-sizing:border-box}
.ms-card{background:var(--ms-surface);border:1px solid var(--ms-border);border-radius:16px;padding:19px;box-shadow:0 6px 22px rgba(22,35,60,.045)}
.ms-card+.ms-card{margin-top:14px}
.ms-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px;padding:26px;border:1px solid #dbe8f6;border-radius:20px;background:linear-gradient(125deg,#f7fbff 0%,#edf7ff 48%,#f4fbff 100%)}
.ms-hero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#1769aa,#18a999)}
.ms-hero::after{content:"";position:absolute;right:-72px;top:-115px;width:255px;height:255px;border-radius:50%;background:rgba(23,105,170,.065);pointer-events:none}
.ms-hero-copy,.ms-hero-actions,.ms-actions{position:relative;z-index:1}
.ms-eyebrow,.ms-kicker{display:block;margin-bottom:6px;color:var(--ms-primary);font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.ms-hero h1{margin:0 0 7px;font-size:33px;line-height:1.08;letter-spacing:-.03em;color:#11213b}
.ms-hero p{max-width:760px;margin:0;color:#58677c;font-size:14.5px;line-height:1.55}
.ms-hero-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:13px;color:#526277;font-size:12.5px}
.ms-hero-meta span{display:inline-flex;align-items:center;gap:6px}
.ms-hero-meta span+span::before{content:"";width:5px;height:5px;border-radius:50%;background:#9fb4ca}
.ms-hero-actions{min-width:280px;text-align:right}
.ms-page-actions,.ms-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin:0}
.ms-btn,.ms-btn-light,.ms-open-link,.ms-clear-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;cursor:pointer;transition:.16s ease}
.ms-btn,.ms-btn-light{min-height:40px;padding:9px 14px;border-radius:10px;font-size:12.5px;font-weight:800;border:1px solid transparent}
.ms-btn{background:var(--ms-primary);color:#fff;box-shadow:0 4px 12px rgba(23,105,170,.15)}
.ms-btn:hover{background:var(--ms-primary-dark);transform:translateY(-1px)}
.ms-btn-light{background:#fff;border-color:#d8e1ec;color:#26364c}
.ms-btn-light:hover{border-color:#adc3dc;background:#f8fbff}
.ms-alert{border-radius:12px;padding:13px 15px;margin:0 0 14px}
.ms-alert-error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
.ms-breadcrumbs{margin:0 0 10px}
.ms-breadcrumbs__list{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0}
.ms-breadcrumbs__item{display:inline-flex;align-items:center;gap:7px;color:#738096;font-size:12.5px}
.ms-breadcrumbs__item:not(:last-child)::after{content:'›';color:#aab4c3}
.ms-breadcrumbs__link{color:var(--ms-primary);text-decoration:none;font-weight:750}
.ms-breadcrumbs__link:hover{text-decoration:underline}
.ms-breadcrumbs__current{color:#344054;font-weight:750}

.ms-map-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 15px}
.ms-map-tile{--group:#64748b;--group-soft:#f4f6f8;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:95px;padding:16px;border:1px solid var(--group-border,#e1e7ef);border-radius:16px;background:linear-gradient(135deg,#fff 0%,var(--group-soft) 100%);color:inherit;text-decoration:none;box-shadow:0 5px 18px rgba(22,35,60,.035);transition:.16s ease}
.ms-map-tile:hover,.ms-map-tile.is-active{transform:translateY(-2px);border-color:var(--group);box-shadow:0 8px 22px rgba(22,35,60,.07)}
.ms-map-tile-icon,.ms-section-icon,.ms-stat-icon{display:grid;place-items:center;flex:0 0 auto;color:var(--group);background:var(--group-soft);font-weight:900}
.ms-map-tile-icon{width:42px;height:42px;border-radius:13px;border:1px solid rgba(100,116,139,.10);font-size:20px}
.ms-map-tile-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.ms-map-tile-copy strong{color:#1c2b3f;font-size:15px}
.ms-map-tile-copy small{color:#738096;font-size:11.5px;line-height:1.35}
.ms-map-tile-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:#fff;color:var(--group);border:1px solid rgba(100,116,139,.13);font-size:12px;font-weight:900}

.ms-search-card{margin-bottom:14px;padding:17px 19px}
.ms-search-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.ms-search-heading h2,.ms-results-row h2{margin:0;color:#17243a;font-size:19px;letter-spacing:-.015em}
.ms-clear-link{color:var(--ms-primary);font-size:12.5px;font-weight:800}
.ms-clear-link:hover{text-decoration:underline}
.ms-filter-bar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(190px,260px) auto;gap:10px;align-items:end;margin:0}
.ms-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.ms-field>span{color:#556176;font-size:11.5px;font-weight:800}
.ms-input,.ms-select{width:100%;height:41px;border:1px solid #d6deea;border-radius:10px;padding:0 12px;font:inherit;font-size:13.5px;background:#fff;color:#1d2939;outline:none}
.ms-input:focus,.ms-select:focus{border-color:#6ca7d5;box-shadow:0 0 0 3px rgba(23,105,170,.09)}
.ms-search-submit{height:41px;min-width:108px}
.ms-results-row{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:18px 2px 10px}
.ms-filter-tag{--group:#1769aa;display:inline-flex;align-items:center;min-height:29px;padding:5px 10px;border-radius:999px;background:var(--group-soft);color:var(--group);font-size:11.5px;font-weight:850}

.ms-site-map,.ms-list-admin{display:flex;flex-direction:column;gap:13px}
.ms-map-section,.ms-admin-group{--group:#64748b;--group-soft:#f4f6f8;position:relative;overflow:hidden;border:1px solid #e3e8ef;border-left:4px solid var(--group);border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(22,35,60,.04)}
.ms-map-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid #edf0f5;background:linear-gradient(90deg,var(--group-soft) 0%,#fff 48%)}
.ms-map-section-title{display:flex;align-items:center;gap:11px;min-width:0}
.ms-section-icon{width:34px;height:34px;border-radius:10px;font-size:16px}
.ms-map-section-title h3{margin:0;color:#17243a;font-size:16px;letter-spacing:-.01em}
.ms-map-section-title p{margin:3px 0 0;color:#7a8597;font-size:11.5px;line-height:1.35}
.ms-section-count{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:#fff;border:1px solid #e2e7ef;color:var(--group);font-size:11.5px;font-weight:900}
.ms-sitemap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:7px 12px 11px}
.ms-sitemap-link{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:11px 9px;border-bottom:1px solid #edf0f5;color:inherit;text-decoration:none;transition:.14s}
.ms-sitemap-link:nth-last-child(-n+3){border-bottom-color:transparent}
.ms-sitemap-link:hover{background:var(--group-soft);border-radius:10px}
.ms-sitemap-marker,.ms-item-marker{display:block;width:7px;height:7px;border:2px solid var(--group);border-radius:50%;background:#fff}
.ms-sitemap-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.ms-sitemap-title{overflow:hidden;text-overflow:ellipsis;color:#1f2c3f;font-size:13px;font-weight:780;line-height:1.3}
.ms-sitemap-context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--group);font-size:10.5px;font-weight:800}
.ms-sitemap-url{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8993a2;font-size:10px}
.ms-sitemap-arrow{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f5f7fa;color:var(--group);font-weight:900;transition:.14s}
.ms-sitemap-link:hover .ms-sitemap-arrow{background:var(--group);color:#fff;transform:translateX(2px)}
.ms-empty{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;padding:32px 18px;color:#667085}
.ms-empty strong{color:#344054;font-size:15px}
.ms-empty span{font-size:12.5px}

.ms-stats{display:grid;gap:10px;margin-bottom:14px}
.ms-stats-admin{grid-template-columns:repeat(4,minmax(0,1fr))}
.ms-stat{--group:#60708a;--group-soft:#f4f6f8;display:flex;align-items:center;gap:12px;min-height:80px;padding:14px 15px;border:1px solid #e6eaf1;border-radius:14px;background:linear-gradient(135deg,#fff,var(--group-soft));box-shadow:0 4px 15px rgba(22,35,60,.035)}
.ms-stat-icon{width:38px;height:38px;border-radius:11px;font-size:17px;background:#fff;border:1px solid rgba(100,116,139,.11)}
.ms-stat strong{display:block;color:#17243a;font-size:22px;line-height:1}
.ms-stat div>span{display:block;margin-top:4px;color:#748095;font-size:11.5px;font-weight:800}
.ms-admin-items{padding:6px 12px 10px}
.ms-item-admin{--group:#64748b;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 7px;border-top:1px solid #edf0f5}
.ms-item-admin:first-child{border-top:0}
.ms-item-main{display:flex;flex-direction:column;min-width:0;gap:2px}
.ms-item-main strong{color:#1e2b3d;font-size:13px;line-height:1.35}
.ms-muted{color:var(--group);font-size:10.8px;font-weight:750}
.ms-item-main code{display:block;max-width:min(100%,980px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px;color:#7b8798;background:transparent;padding:0;font-size:10px}
.ms-open-link{flex:0 0 auto;min-height:32px;padding:6px 10px;border-radius:9px;background:var(--group-soft);color:var(--group);font-size:11.5px;font-weight:850}
.ms-open-link:hover{background:var(--group);color:#fff}
.ms-tech-details{margin-top:14px;padding:0;overflow:hidden}
.ms-tech-details summary{cursor:pointer;list-style:none;padding:14px 17px;color:#344054;font-size:12.5px;font-weight:800;background:#fafbfc}
.ms-tech-details summary::-webkit-details-marker{display:none}
.ms-tech-details summary::after{content:"+";float:right;color:#7c8798;font-size:18px;line-height:.8}
.ms-tech-details[open] summary::after{content:"−"}
.ms-tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:16px 17px;border-top:1px solid #edf0f5}
.ms-tech-grid h3{margin:0 0 8px;font-size:13.5px}
.ms-tech-grid p{margin:5px 0;color:#5f6b7c;font-size:11.5px;line-height:1.5}
.ms-list{margin:0;padding-left:18px;color:#5f6b7c;font-size:11.5px}
.ms-list li{margin:5px 0}
.ms-list code,.ms-tech-grid code{padding:2px 5px;border-radius:5px;background:#f4f6f8;color:#536173;font-size:10.5px;word-break:break-all}
.ms-status-dot{font-weight:750}
.ms-status-dot::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#f59e0b}
.ms-status-dot.is-online::before{background:#22a06b}

.ms-group--total{--group:#1769aa;--group-soft:#edf7ff;--group-border:#cfe5f7}
.ms-group--plugin{--group:#7c3aed;--group-soft:#f5f0ff;--group-border:#e3d7fb}
.ms-group--pagina{--group:#0891b2;--group-soft:#ecfbfe;--group-border:#c9edf4}
.ms-group--publicacao{--group:#e56a1f;--group-soft:#fff5ec;--group-border:#f8dcc4}

@media (max-width:1100px){
  .ms-sitemap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ms-sitemap-link:nth-last-child(-n+3){border-bottom-color:#edf0f5}
  .ms-sitemap-link:nth-last-child(-n+2){border-bottom-color:transparent}
}
@media (max-width:900px){
  .ms-wrap{margin:16px 14px 28px}
  .ms-hero{align-items:flex-start;flex-direction:column;padding:22px}
  .ms-hero-actions{min-width:0;width:100%;text-align:left}
  .ms-page-actions,.ms-actions{justify-content:flex-start}
  .ms-map-overview{grid-template-columns:1fr}
  .ms-map-tile{min-height:82px}
  .ms-filter-bar{grid-template-columns:1fr 1fr}
  .ms-search-submit{grid-column:1/-1}
  .ms-stats-admin{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ms-tech-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .ms-wrap{margin:12px 10px 24px}
  .ms-card,.ms-map-section,.ms-admin-group{border-radius:14px}
  .ms-hero{border-radius:16px;padding:18px}
  .ms-hero h1{font-size:28px}
  .ms-hero-meta{flex-direction:column;gap:5px}
  .ms-hero-meta span+span::before{display:none}
  .ms-page-actions .ms-btn,.ms-page-actions .ms-btn-light{flex:1 1 calc(50% - 6px)}
  .ms-actions .ms-btn,.ms-actions .ms-btn-light{width:100%}
  .ms-search-card{padding:15px}
  .ms-search-heading{align-items:flex-start;flex-direction:column}
  .ms-filter-bar{grid-template-columns:1fr}
  .ms-search-submit{grid-column:auto;width:100%}
  .ms-results-row{align-items:flex-start;flex-direction:column}
  .ms-sitemap-grid{grid-template-columns:1fr;padding:5px 10px 9px}
  .ms-sitemap-link:nth-last-child(-n+2){border-bottom-color:#edf0f5}
  .ms-sitemap-link:last-child{border-bottom-color:transparent}
  .ms-map-section-header{align-items:flex-start;padding:14px}
  .ms-map-section-title p{display:none}
  .ms-stats-admin{grid-template-columns:1fr 1fr}
  .ms-item-admin{align-items:flex-start}
  .ms-item-main code{white-space:normal;word-break:break-all}
  .ms-open-link{padding:6px 8px}
}
@media print{
  .ms-breadcrumbs,.ms-search-card,.ms-page-actions,.ms-actions,.ms-tech-details,script{display:none!important}
  .ms-wrap{margin:0;padding:0}
  .ms-hero{border:0;background:#fff;padding:0;margin-bottom:12px}
  .ms-hero::before,.ms-hero::after{display:none}
  .ms-map-overview{grid-template-columns:repeat(3,1fr);gap:8px}
  .ms-map-tile{min-height:0;box-shadow:none}
  .ms-site-map{gap:9px}
  .ms-map-section{box-shadow:none;break-inside:avoid}
  .ms-sitemap-grid{grid-template-columns:repeat(2,1fr)}
}
