/*018 strictly panel scoped. Public sites retain their approved CSS. */
.dashboard .panel-workspace{min-width:0;max-width:100%;position:relative}
.dashboard .panel-trail{display:flex;align-items:center;gap:1mm;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:1mm 0 16px}
.dashboard .panel-row{display:flex;gap:1mm;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);min-width:0;overflow-wrap:anywhere}
.dashboard .panel-row>div{min-width:0}.dashboard .panel-row .btn{text-align:left;white-space:normal;flex-shrink:0;max-width:100%}
.dashboard .panel-paging,.dashboard .panel-actions{display:flex;flex-wrap:wrap;gap:1mm;align-items:center;margin:12px 0}
.dashboard .panel-meta{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.dashboard .panel-check{display:flex;align-items:center;gap:8px;padding:10px 0;cursor:pointer;font-size:14px}
.dashboard .panel-check input[type=checkbox]{width:20px;height:20px;min-width:20px;flex:0 0 20px;padding:0;margin:0;accent-color:var(--accent)}
.dashboard .panel-check span{display:block;min-width:0;overflow-wrap:anywhere}
.dashboard .panel-toolbar{position:sticky;top:1mm;z-index:2;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:8px;display:flex;flex-wrap:wrap;gap:1mm;align-items:center;margin-top:12px;box-shadow:0 -3px 12px #001e5010}
.dashboard .panel-counter{margin-left:auto;max-width:360px;text-align:right;font-size:13px;line-height:1.5}
.dashboard .panel-counter small{display:block;color:var(--muted);font-size:11px}
.dashboard .panel-counter details{font-size:11px;text-align:left;overflow-wrap:anywhere}
.dashboard .panel-topline{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.dashboard .panel-topline h2{margin:0;font-size:20px}
.dashboard .panel-workspace details,.dashboard .panel-workspace p{overflow-wrap:anywhere}
.dashboard .panel-workspace .field{max-width:100%}.dashboard .panel-workspace input,.dashboard .panel-workspace select{max-width:100%;min-width:0}
.dashboard button:focus-visible,.dashboard a:focus-visible,.dashboard input:focus-visible,.dashboard select:focus-visible,.dashboard summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dashboard .panel-workspace .btn{white-space:normal}.dashboard .panel-list{margin-bottom:1mm}
.dashboard .panel-workspace :disabled{opacity:.55;cursor:default}
@media(max-width:760px){.dashboard .panel-counter{margin-left:0;text-align:left;max-width:100%;width:100%}.dashboard .panel-topline{display:block}.dashboard .panel-row{align-items:flex-start;flex-wrap:wrap}.dashboard .panel-toolbar{position:sticky;top:1mm;padding:8px}.dashboard .panel-toolbar .btn{padding:9px 10px;font-size:12px}.dashboard .panel-trail{overflow-wrap:anywhere}.dashboard .panel-workspace .panel{margin:12px 0}}

.dashboard .dash-content{scroll-padding-top:140px;scroll-padding-bottom:1mm}.dashboard .panel-workspace .field{scroll-margin-top:140px}.dashboard .panel-actions[hidden]{display:none}.dashboard .panel-trail{font-size:12px}.dashboard .panel-counter{font-size:12px}.dashboard .panel-counter small{font-size:10px}

.dashboard .panel-check{min-height:44px}.dashboard .panel-toolbar .btn{min-height:44px}.dashboard .panel-workspace summary{cursor:pointer}

.dashboard .panel-toolbar-host:empty{display:none}.dashboard .panel-toolbar-host{position:sticky;top:1mm;z-index:2;background:var(--paper);margin-bottom:1mm}.dashboard .panel-toolbar-host>.panel-toolbar{position:static;margin:0}.dashboard #panel-state:empty{display:none}.dashboard [data-management-private]>[role=status]{font-size:12px;margin:4px 0}.dashboard .panel-trail{margin:4px 0 8px}
.dashboard .panel-row>div>small{display:block;margin-top:1mm}
/*020 proportional grouping; necessary scrolling remains available at zoom/small screens.*/
.dashboard .panel-row{gap:.65rem;padding:.4rem .6rem;min-height:3rem}
.dashboard .panel-actions,.dashboard .panel-paging{gap:.5rem}
.dashboard .panel-meta{font-size:.82rem}
.dashboard .panel-counter small{display:block}
.dashboard .panel-trail:empty{display:none}
.dashboard [data-generated-secret]{padding:1rem;border:1px solid currentColor;border-radius:.6rem}
.dashboard .panel-list .field{margin-bottom:.4rem}
.dashboard .panel-topline[hidden]{display:none}
.dashboard .panel-counter small,.dashboard .panel-counter details{font-size:.8rem}

.dashboard .panel-status{font-size:.85rem;display:inline-flex;gap:.4rem;align-items:center;overflow-wrap:anywhere}
.dashboard .panel-status:before{content:'';display:inline-block;width:.45rem;height:.45rem;min-width:.45rem;border-radius:50%;background:currentColor}
.dashboard .panel-status-online{color:#23633d}.dashboard .panel-status-offline{color:#8b5110}.dashboard .panel-status-unknown{color:var(--muted)}.dashboard .panel-status-blocked{color:#9d2828}.dashboard .panel-status-migration{color:#6750a4}

/* Complemento020: tarefa operacional isolada, mantendo paleta e controles existentes. */
.dashboard .radio020-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.dashboard .radio020-form .field:first-child,.dashboard .radio020-form>button,.dashboard .radio020-form>div{grid-column:1/-1}
@media(max-width:680px){.dashboard .radio020-form{grid-template-columns:minmax(0,1fr)}}

/*22/10 incremental compact panels; public/Portal pages are deliberately outside this scope.*/
body[data-site=atlantica].dashboard-page .dash-content{position:relative;scroll-padding-top:80px}
body[data-site=atlantica].dashboard-page .dash-content:has(.compact-counter) h1{padding-right:260px;min-height:36px;margin-bottom:8px}
body[data-site=atlantica].dashboard-page .compact-counter{width:auto;max-width:none;margin:0;text-align:right;font-size:12px}
body[data-site=atlantica].dashboard-page .compact-counters{position:absolute;right:20px;top:14px;display:flex;align-items:center;gap:6px;z-index:3}
body[data-site=atlantica].dashboard-page .compact-count{display:inline-flex;align-items:center;gap:7px;min-height:36px;min-width:48px;padding:6px 10px;border:1px solid transparent;border-radius:8px;color:var(--ink);background:transparent;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
body[data-site=atlantica].dashboard-page .compact-count[aria-pressed=true]{background:#e3f1ff;border-color:#0675ff}
body[data-site=atlantica].dashboard-page .compact-count:disabled{cursor:default;opacity:.7}
.counter-dot,.catalog-count:before{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;background:#73859b}.counter-online,.catalog-count-online:before{background:#25774b}.counter-offline,.catalog-count-offline:before{background:#bd3944}.counter-unknown,.catalog-count-unknown:before{background:#7b8797}
body[data-site=atlantica].dashboard-page .counter-wrap{position:relative}.counter-tooltip{display:none;position:absolute;right:0;top:100%;background:#10244e;color:white;border-radius:5px;padding:7px 9px;font-size:12px;width:max-content;max-width:210px;z-index:5;pointer-events:none}.counter-wrap:hover .counter-tooltip,.counter-wrap:focus-within .counter-tooltip{display:block}
body[data-site=atlantica].dashboard-page .counter-clear{border:0;background:transparent;color:#0669d4;min-height:36px;padding:6px;font-size:12px;cursor:pointer}.counter-clear[hidden]{display:none}
body[data-site=atlantica].dashboard-page .counter-freshness{font-size:11px;line-height:1.35;display:inline-block;margin:0 8px 0 0}
body[data-site=atlantica].dashboard-page .compact-counter[data-stale=true] .counter-freshness{color:#885115}
body[data-site=atlantica].dashboard-page .counter-details{display:inline-block;text-align:left;margin:0;font-size:12px}.counter-details p{max-width:650px}.counter-details summary{cursor:pointer}
body[data-site=atlantica].dashboard-page .compact-list{margin:8px 0;min-width:0}
body[data-site=atlantica].dashboard-page .compact-tools{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:4px 0 6px}
body[data-site=atlantica].dashboard-page .compact-tools .field{font-size:12px;margin:0;max-width:none;min-width:110px;flex:0 1 160px;gap:3px}
body[data-site=atlantica].dashboard-page .compact-tools .field:first-child{flex:1 1 220px;max-width:390px}
body[data-site=atlantica].dashboard-page .compact-tools .field input,body[data-site=atlantica].dashboard-page .compact-tools .field select{min-height:36px;width:100%;margin:0;padding:7px 9px}
body[data-site=atlantica].dashboard-page .compact-tools>.btn,body[data-site=atlantica].dashboard-page .compact-tools .panel-actions .btn{min-height:36px;margin:0}
body[data-site=atlantica].dashboard-page .compact-tools .panel-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}
body[data-site=atlantica].dashboard-page .compact-rows{display:grid;grid-template-columns:repeat(var(--list-columns,1),minmax(0,1fr));gap:6px 16px;align-items:stretch}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row{min-width:0;min-height:44px;margin:0;padding:0;gap:0;display:flex;align-items:stretch;border:1px solid #dfebf8;border-radius:7px;overflow-wrap:anywhere;font-size:14px;background:#f7fbff}
body[data-site=atlantica].dashboard-page .compact-rows .compact-open{display:flex;align-items:center;text-align:left;justify-content:flex-start;gap:10px;width:100%;white-space:normal;border:0;border-radius:7px;background:transparent;color:var(--ink);padding:8px 10px;min-height:44px;font:inherit;cursor:pointer}
body[data-site=atlantica].dashboard-page .compact-open:hover{background:#eaf4ff}
body[data-site=atlantica].dashboard-page .compact-open>span:first-child,body[data-site=atlantica].dashboard-page .compact-open>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
body[data-site=atlantica].dashboard-page .compact-open .panel-status{font-size:12px;flex:0 1 145px;line-height:1.3;min-width:0}
body[data-site=atlantica].dashboard-page .compact-open .compact-arrow{flex:0 0 auto;font-size:23px;color:#1775d3;line-height:1}
body[data-site=atlantica].dashboard-page .catalog-status{gap:8px;flex:0 0 auto;font-size:12px}.catalog-count{display:inline-flex;align-items:center;gap:4px}.catalog-count:before{content:'';width:6px;height:6px}
body[data-site=atlantica].dashboard-page .compact-list .panel-paging{display:flex;align-items:center;gap:8px;margin:8px 0}
body[data-site=atlantica].dashboard-page .compact-list .panel-meta{margin:5px 0;font-size:12px}
body[data-site=atlantica].dashboard-page .panel-workspace details:not([open]){font-size:12px;margin:5px 0}
@media(max-width:760px){body[data-site=atlantica].dashboard-page .dash-content:has(.compact-counter) h1{padding-right:0;margin-bottom:7px}body[data-site=atlantica].dashboard-page .compact-counters{position:static;justify-content:flex-end;flex-wrap:wrap}body[data-site=atlantica].dashboard-page .compact-counter{text-align:right;margin-bottom:8px}body[data-site=atlantica].dashboard-page .compact-count,body[data-site=atlantica].dashboard-page .counter-clear{min-height:44px}body[data-site=atlantica].dashboard-page .compact-tools .field:first-child{flex-basis:100%;max-width:none}body[data-site=atlantica].dashboard-page .compact-tools>.btn{min-height:44px}body[data-site=atlantica].dashboard-page .compact-open .panel-status{flex-basis:110px}}

body[data-site=atlantica].dashboard-page .panel-workspace:has(.compact-counter){position:static}
body[data-site=atlantica].dashboard-page .compact-tools [hidden]{display:none!important}
body[data-site=atlantica].dashboard-page .compact-open .panel-status{flex:0 0 auto;max-width:120px}
body[data-site=atlantica].dashboard-page .compact-open .panel-status-offline{color:#a32b38}
body[data-site=atlantica].dashboard-page .compact-tools select{font:inherit;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink)}

body[data-site=atlantica].dashboard-page #panel-state{font-size:12px;margin:3px 0}
body[data-site=atlantica].dashboard-page .panel-trail{margin:3px 0 6px;gap:6px}
body[data-site=atlantica].dashboard-page [data-business-private]>[role=status]{font-size:12px;line-height:1.4;margin:4px 0}
body[data-site=atlantica].dashboard-page [data-business-private]>section.panel:first-child{padding:5px 10px;margin:4px 0 6px}
body[data-site=atlantica].dashboard-page [data-business-private]>section.panel:first-child .field{gap:2px;font-size:11px}
body[data-site=atlantica].dashboard-page [data-business-private]>section.panel:first-child select{padding:5px 8px;min-height:32px;font-size:13px}
body[data-site=atlantica].dashboard-page .compact-rows .compact-open{width:auto;min-width:0;flex:1 1 0%}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row:has(>button:nth-of-type(2)){flex-wrap:wrap}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row>.btn:not(.compact-open){flex:0 1 auto;min-width:0;max-width:100%;margin:0;min-height:44px}
body[data-site=atlantica].dashboard-page .compact-open>div:first-child>small{display:none}

/* Final22/10: same footprint; tabular digits, known evidence and conditional pagination. */
body[data-site=atlantica].dashboard-page .panel-paging[hidden]{display:none!important}
body[data-site=atlantica].dashboard-page .compact-count>span{font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:.02em}
body[data-site=atlantica].dashboard-page .catalog-count{font-weight:650;font-variant-numeric:tabular-nums}
body[data-site=atlantica].dashboard-page .catalog-count-unavailable{color:#68778c}
body[data-site=atlantica].dashboard-page .catalog-count-unavailable:before{background:#7b8797}

body[data-site=atlantica].dashboard-page .compact-counter[data-confirmed=false] .counter-dot{background:#7b8797}

/* Installation details stay in normal grid flow, below their own row. */
body[data-site=atlantica].dashboard-page .compact-rows{align-items:start}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row:has(>.compact-expansion){display:block}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row:has(>.compact-expansion)>.compact-open{width:100%}
body[data-site=atlantica].dashboard-page .compact-expansion{padding:12px;border-top:1px solid var(--line);min-width:0;overflow-wrap:anywhere}
body[data-site=atlantica].dashboard-page .compact-expansion .compact-counter{display:none}
body[data-site=atlantica].dashboard-page .compact-expansion h3{font-size:15px;margin:0 0 8px}
body[data-site=atlantica].dashboard-page .compact-expansion .field{min-width:0;max-width:100%}

/* Independent contiguous columns keep DOM and keyboard reading order coherent. */
body[data-site=atlantica].dashboard-page .compact-column{display:flex;flex-direction:column;gap:6px;min-width:0}
body[data-site=atlantica].dashboard-page .compact-expansion{max-height:60vh;overflow:auto;animation:consult-appear .12s ease-out}
body[data-site=atlantica].dashboard-page .compact-open{transition:background-color .12s,border-color .12s}
@keyframes consult-appear{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body[data-site=atlantica].dashboard-page .compact-expansion{animation:none}body[data-site=atlantica].dashboard-page .compact-open{transition:none}}
/* R2: the HTML hidden contract must win over component display rules in dashboards. */
.dashboard [hidden]{display:none!important}

/* R8: stable approved shell with adaptive management content. */
body[data-site=atlantica].dashboard-page .management-catalog .compact-tools{display:grid;grid-template-columns:minmax(240px,1fr) minmax(330px,.9fr);align-items:end;gap:10px}
body[data-site=atlantica].dashboard-page .management-catalog .compact-tools>.field:first-child{max-width:none;min-width:0}
body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced{min-width:0;margin:0}
body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced-fields{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) auto;align-items:end;gap:8px}
body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced-fields>.field{min-width:0;max-width:none}
body[data-site=atlantica].dashboard-page .context-back{display:inline-flex;align-items:center;margin:0 0 8px!important;color:#2863b0;background:#fff;border-color:#a8bfdc}
body[data-site=atlantica].dashboard-page .context-back:before{content:'‹';font-size:19px;line-height:1;margin-right:6px}
body[data-site=atlantica].dashboard-page .management-registration{background:#fff;border:1px solid #d3dfeb;border-radius:8px;box-shadow:0 2px 7px #203d5808;padding:14px}
body[data-site=atlantica].dashboard-page .management-registration>.users-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;align-items:start}
body[data-site=atlantica].dashboard-page .management-registration>.users-editor>.users-card{margin:0;min-width:0}
body[data-site=atlantica].dashboard-page .management-registration>.users-editor>.users-card:last-child{grid-column:1/-1}
@media(min-width:761px){
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration){display:flex;flex-direction:column;overflow:hidden;padding-bottom:4px}
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration)>h1,body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration)>#panel-state{flex:0 0 auto}
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration)>#panel-data{flex:1 1 auto;min-height:0}
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration)>#panel-data>[data-management-private]{display:flex;flex-direction:column;height:100%;min-height:0}
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration) .panel-toolbar-host,body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration) .panel-trail{flex:0 0 auto}
 body[data-site=atlantica].dashboard-page .dash-content:has(.management-registration) .panel-workspace{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding-bottom:4px}
}
@media(max-width:760px){
 body[data-site=atlantica].dashboard-page .management-catalog .compact-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:7px;margin:5px 0}
 body[data-site=atlantica].dashboard-page .management-catalog .compact-tools>.field:first-child{grid-column:1}
 body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced{grid-column:2;min-width:44px}
 body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced[data-open=true]{grid-column:1/-1}
 body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced-fields{grid-template-columns:repeat(2,minmax(0,1fr)) auto;margin-top:6px}
 body[data-site=atlantica].dashboard-page .management-catalog .compact-advanced-fields>.field{font-size:11px}
 body[data-site=atlantica].dashboard-page .management-registration{padding:8px;margin-bottom:2px}
 body[data-site=atlantica].dashboard-page .management-registration>.users-editor{display:block}
 body[data-site=atlantica].dashboard-page .management-registration>.users-editor>.users-card{margin:0 0 8px}
}

/* 2026-10-27 approved client management direction: continuous authorized list. */
body[data-site=atlantica].dashboard-page .management-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body[data-site=atlantica].dashboard-page .management-summary>article{display:grid;gap:3px;min-height:72px;padding:11px 13px;border:1px solid #d7e2ec;border-radius:9px;background:linear-gradient(145deg,#fff,#f8fbfe);box-shadow:0 3px 10px #17324d0a}
body[data-site=atlantica].dashboard-page .management-summary span{color:#607489;font-size:11px;font-weight:650}
body[data-site=atlantica].dashboard-page .management-summary strong{color:#17324d;font-size:25px;line-height:1}
body[data-site=atlantica].dashboard-page .continuous-list{min-height:0}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-rows{display:block;max-height:clamp(260px,43vh,520px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #d7e2ec;border-radius:8px;background:#fff}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-rows>.panel-row{min-height:52px;margin:0;border:0;border-bottom:1px solid #e7eef5;border-radius:0;background:#fff}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-rows>.panel-row:last-child{border-bottom:0}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-count{margin:5px 0;color:#52667b}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-end{margin:6px 0 0;text-align:center;color:#607489}
body[data-site=atlantica].dashboard-page .continuous-list .continuous-end[data-complete=true]{color:#315f53}
body[data-site=atlantica].dashboard-page .continuous-list .compact-tools{grid-template-columns:minmax(220px,1fr) minmax(390px,.9fr)}
@media(max-width:760px){body[data-site=atlantica].dashboard-page .management-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body[data-site=atlantica].dashboard-page .management-summary>article{min-height:62px;padding:9px}body[data-site=atlantica].dashboard-page .continuous-list .continuous-rows{max-height:none;overflow:visible;border-left:0;border-right:0}body[data-site=atlantica].dashboard-page .continuous-list .compact-tools{grid-template-columns:minmax(0,1fr) auto}}
@media(prefers-reduced-motion:reduce){body[data-site=atlantica].dashboard-page .continuous-list .continuous-rows{scroll-behavior:auto}}
