/* Visual22/10: only Atlântica; Portal keeps its own presentation/contracts. */
body:not(.portal){--ink:#07154b;--muted:#7187b6;--accent:#0675ff;--paper:#fbfdff;--soft:#edf7ff;--line:#cce1f8;background:#f2f9fd;color:var(--ink)}
body:not(.portal).public-page #app{height:calc(100dvh - 24px);width:min(1460px,calc(100% - 48px));margin:12px auto;border:1px solid #bdd9fc;border-radius:14px;background:linear-gradient(135deg,#ffffff,#f8fcff);box-shadow:0 12px 40px #4179a014;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
body:not(.portal) .wrap{width:calc(100% - 56px);max-width:none}
body:not(.portal).public-page .header{width:100%;height:76px;padding:14px 28px;border-bottom:1px solid var(--line);background:transparent}
body:not(.portal) .header nav{gap:18px;font-size:15px}.header nav a{font-weight:500}
body:not(.portal) .header nav a:last-child{border:1px solid #8abaff;padding:8px 18px;border-radius:7px}
body:not(.portal) .brand{font-size:17px;letter-spacing:1px}
body:not(.portal) .page-scroll{scroll-padding:20px;background:radial-gradient(ellipse at 50% 18%,#e9f7ff45,transparent 70%)}
body:not(.portal) .approved-home{height:100%;min-height:510px;display:grid;grid-template-rows:minmax(230px,1fr) 185px;padding:16px 0 20px;gap:14px}
.home-identity{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0}
.home-emblem{width:min(180px,21vh);height:min(180px,21vh);object-fit:contain;flex-shrink:1;min-height:70px}
.home-name{font-size:clamp(28px,3vw,42px);font-weight:750;letter-spacing:5px;line-height:1.15}.home-name small{display:block;font-size:.52em;letter-spacing:7px;margin:8px 0 20px;font-weight:600}
body:not(.portal) .home-identity h1{font-size:clamp(22px,2.1vw,30px);line-height:1.25;margin:6px 0 10px;letter-spacing:-.7px}
body:not(.portal) .home-identity .lead{font-size:clamp(15px,1.4vw,20px);margin:0;color:var(--muted)}
.home-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;position:relative}
.home-choice{position:relative;border:1px solid var(--line);border-radius:12px;background:#fcfeff;min-width:0;z-index:1;align-self:start}
.home-choice:has([aria-expanded=true]){z-index:3;box-shadow:0 8px 25px #0675ff12;border-color:#91bdff}
.choice-toggle{display:flex;gap:18px;width:100%;padding:24px;text-align:left;align-items:center;background:transparent;border:0;color:inherit;border-radius:12px;min-height:126px}
.choice-toggle>span:nth-child(2){flex:1;min-width:0}.choice-toggle strong{font-size:21px;display:block;letter-spacing:-.5px}.choice-toggle small{display:block;color:var(--muted);font-size:16px;line-height:1.35;margin-top:6px}
.choice-icon{background:var(--soft);color:var(--accent);font-size:35px;width:62px;height:66px;display:grid;place-items:center;flex-shrink:0;border-radius:10px}
.choice-options{position:absolute;bottom:calc(100% + 6px);left:-1px;right:-1px;border:1px solid #91bdff;border-radius:10px;background:#fcfeff;padding:12px 20px;box-shadow:0 6px 25px #0675ff17;max-height:min(270px,50vh);overflow:auto}
.choice-options[hidden]{display:none}.choice-options a{display:block;padding:9px 3px;font-size:15px;color:var(--ink)}.choice-options a:hover{color:var(--accent)}.choice-options a:last-of-type{border-top:1px solid var(--line);margin-top:6px;color:var(--accent);font-weight:600}.choice-close{border:0;background:transparent;color:var(--muted);font-size:12px;padding:8px 3px}
body:not(.portal) .content{padding:22px 0 25px}body:not(.portal) .content h1{font-size:clamp(23px,2vw,29px);line-height:1.25;letter-spacing:-.5px;max-width:720px;margin:12px 0}
body:not(.portal) .content>.lead{font-size:18px;line-height:1.45;max-width:850px;margin-bottom:28px}.content>.eyebrow{margin-bottom:10px}
body:not(.portal) .content .section-nav{margin:0 0 32px;justify-content:flex-end;padding-bottom:12px;border-bottom:1px solid var(--line)}
body:not(.portal) .content .grid{gap:16px;margin-top:36px}.content .card{background:linear-gradient(120deg,#fff,#f7fbff);border-radius:11px;padding:26px}.content .card h2{font-size:21px;margin:0 0 13px}.content .card p{font-size:16px;line-height:1.55;min-height:70px}.content .btn{padding:11px 16px;font-size:14px}
body:not(.portal) .player{background:transparent;border-top:1px solid var(--line);padding:0 0 4px;position:relative;z-index:4}
body:not(.portal) .player-inner{min-height:68px;gap:18px;width:calc(100% - 56px);border:1px solid var(--line);border-radius:10px;margin:8px auto;padding:8px 18px;flex-wrap:nowrap}
body:not(.portal) .player .station{min-width:130px;font-size:15px;max-width:27vw}.station small{font-size:11px}.player .transport{flex:1;justify-content:center;gap:14px}.player .volume{max-width:160px;width:18vw}.player-note{display:none!important}.footer-links{display:none!important}.player .mark{flex-shrink:0}
.public-copyright{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 56px);margin:auto;border-top:1px solid var(--line);padding:10px 0 5px;color:var(--muted);font-size:11px}.public-copyright .brand{font-size:10px;gap:8px}.public-copyright .mark{transform:scale(.65);transform-origin:left center;width:27px}.public-copyright .brand em{font-size:9px}
body:not(.portal) .client-stage{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}.client-stage .client-logo{max-height:260px;height:auto;width:min(65vw,430px);object-fit:contain}
/* Panels: compact rows and useful metrics without global leakage into client context. */
body:not(.portal).dashboard-page #app{height:100dvh;padding:12px;background:#f3faff}
body:not(.portal) .dashboard{border:1px solid #bdd9fc;border-radius:12px;background:#fcfeff;grid-template-columns:205px minmax(0,1fr);box-shadow:0 9px 30px #2e609512}
body:not(.portal) .dashboard .sidebar{background:linear-gradient(135deg,#fff,#f3faff);padding:24px 12px;position:relative}.dashboard .sidebar nav{margin-top:26px;gap:5px}.dashboard .sidebar nav a{padding:9px 12px;color:var(--ink);font-size:13px}.dashboard .sidebar a.active{background:#e3f1ff;color:#0675ff}.sidebar .backlink{display:block;margin:25px 12px 0}
body:not(.portal) .dashboard>div{grid-template-rows:42px minmax(0,1fr)}body:not(.portal) .dash-top{min-height:42px;padding:6px 20px;background:#f2f8ff;font-size:12px}body:not(.portal) .dash-content{padding:18px 20px;scroll-padding-top:100px;max-width:none}body:not(.portal) .dash-content h1{font-size:25px;margin-bottom:12px}
body:not(.portal) .dashboard .panel{padding:14px;margin:12px 0}.dashboard .btn{font-size:12px;padding:7px 12px;min-height:32px}.dashboard .panel-row{min-height:34px;padding:4px 10px;font-size:13px;border-bottom:1px solid #dfebf8;gap:12px}.dashboard .panel-row:nth-child(odd){background:#f7fbff}.dashboard .panel-row .btn{padding:4px 9px;min-height:28px;flex-shrink:0}
.dashboard .panel-list .field{max-width:420px;margin:8px 0}.dashboard .field input,.dashboard .field select{padding:7px 10px;font-size:13px}.dashboard .panel-meta{font-size:12px;margin:7px 0}.dashboard .panel-paging{margin:8px 0}.dashboard .panel-toolbar{padding:8px}.dashboard .panel-toolbar .btn{min-height:32px}.dashboard .panel-status{font-size:12px}
.dashboard .metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;text-align:left;margin:6px 0 10px;width:100%}.metric-box{padding:13px 16px;background:#eaf4ff;border-radius:9px;font-size:12px;line-height:1.3}.metric-box strong{display:block;font-size:24px;margin-top:3px}.metric-box:nth-child(2){background:#eef9f2}.metric-box:nth-child(3){background:#fff0f2}.metric-box:nth-child(4){background:#f1f5fa}
.dashboard .panel-counter{max-width:none;width:100%;text-align:left;margin:0}.dashboard .panel-topline{display:block}.dashboard .panel-counter>small{font-size:11px}.dashboard [data-business-private]>section.panel:first-child{margin-top:0;padding:7px 12px}.dashboard [data-business-private]>section.panel:first-child>form{display:flex;align-items:end;gap:12px;margin:0}.dashboard [data-business-private]>section.panel:first-child .field{margin:0;flex:1}.dashboard [data-business-private]>section.panel:first-child form>p{display:none}
.dashboard .device-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dashboard .catalog-status{font-size:12px;display:flex;gap:12px;align-items:center}.dashboard .catalog-status span{white-space:nowrap}
@media(max-width:900px){.choice-toggle{padding:16px;gap:10px}.choice-icon{width:44px;height:50px;font-size:28px}.choice-toggle strong{font-size:18px}.choice-toggle small{font-size:13px}.dashboard .metric-strip{gap:7px}.metric-box{padding:10px}.catalog-status{flex-wrap:wrap}}
@media(max-width:760px){body:not(.portal).public-page #app{width:calc(100% - 16px);height:calc(100dvh - 16px);margin:8px}body:not(.portal) .wrap{width:calc(100% - 30px)}body:not(.portal).public-page .header{padding:12px 15px;height:auto;gap:10px}body:not(.portal) .header nav{gap:4px;width:auto;flex:1;justify-content:flex-end;font-size:12px}body:not(.portal) .header nav a{padding:7px}.header .brand{max-width:100%}body:not(.portal) .approved-home{min-height:560px;grid-template-rows:250px auto;padding:18px 0 12px;gap:20px;height:auto}.home-emblem{width:125px;height:125px;min-height:0}.home-name{font-size:27px}.home-name small{margin-bottom:10px;font-size:14px}.home-identity h1{font-size:22px!important}.home-identity .lead{font-size:15px!important}.home-paths{display:flex;flex-direction:column;gap:10px}.home-choice{width:100%}.choice-toggle{min-height:86px;padding:14px}.choice-options{position:static;border:0;box-shadow:none;border-top:1px solid var(--line);border-radius:0 0 12px 12px;max-height:250px;margin:0 12px;padding:9px}.home-choice:has([aria-expanded=true]){margin-bottom:0}body:not(.portal) .player-inner{width:calc(100% - 24px);padding:7px 10px;gap:8px;min-height:66px;flex-wrap:wrap}.player .station{max-width:50vw!important;min-width:110px!important;font-size:12px!important}.player .transport{justify-content:flex-end;gap:6px;flex:1}.player .volume{width:60px}.player .icon-button{width:28px;height:30px}.public-copyright{width:calc(100% - 24px);font-size:9px;padding:6px 0;gap:10px}.public-copyright .brand{display:none}body:not(.portal) .content>.lead{font-size:16px}body:not(.portal) .content .grid{margin-top:20px}body:not(.portal).dashboard-page #app{padding:0}.dashboard{border-radius:0!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)}body:not(.portal) .dashboard .sidebar{padding:10px;max-height:none}.sidebar .brand{font-size:13px!important}.dashboard .sidebar nav{margin:8px 0 0;display:flex;flex-direction:row;flex-wrap:wrap;gap:2px}.dashboard .sidebar nav a{padding:6px 8px;font-size:12px}.dashboard .sidebar .backlink{margin:6px 8px 0}.dashboard .sidebar small{display:none}body:not(.portal) .dash-content{padding:14px 12px}body:not(.portal) .dash-content h1{font-size:22px}.dashboard .metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-box{padding:10px 12px}.metric-box strong{font-size:22px}.dashboard .panel-row{flex-wrap:wrap;min-height:44px;gap:6px}.dashboard .panel-row .btn{min-height:36px}.dashboard [data-business-private]>section.panel:first-child>form{display:block}.dashboard .catalog-status{gap:8px}.choice-options[hidden]{display:none}}
@media(max-height:600px) and (min-width:761px){body:not(.portal).public-page .header{height:58px;padding-top:8px;padding-bottom:8px}body:not(.portal) .approved-home{min-height:380px;grid-template-rows:minmax(190px,1fr) 140px;gap:8px;padding:10px 0}.home-emblem{width:100px;height:100px;min-height:50px}.home-name{font-size:28px}.home-name small{margin:4px 0 8px}.home-identity h1{font-size:23px!important}.home-identity .lead{font-size:15px!important}.choice-toggle{min-height:105px;padding:16px}.public-copyright{padding:5px 0}.dashboard .metric-box{padding:8px 12px}.dashboard .metric-box strong{font-size:20px}.dashboard .dash-content{padding-top:12px}.dashboard .panel-counter details{margin:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.dashboard .panel-row>span:first-child,.dashboard .panel-row>div:first-child{flex:1;min-width:0}.dashboard .panel-list>select{padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:13px;margin:0 0 7px;max-width:100%}
/* Reserved option area: expansion never covers the emblem, player or another control. */
body:not(.portal) .approved-home{grid-template-rows:minmax(230px,1fr) 280px;min-height:560px}.home-paths{height:280px}.choice-options{top:100%;bottom:auto;max-height:150px;padding:7px 18px;box-shadow:none}.choice-options a{padding:6px 2px;font-size:14px}.choice-close{padding:5px 2px}.home-choice:has([aria-expanded=true]){border-bottom-left-radius:0;border-bottom-right-radius:0}
@media(max-width:760px){body:not(.portal) .approved-home{grid-template-rows:250px auto;min-height:0}.home-paths{height:auto;padding-bottom:170px;position:relative}.home-choice{position:static}.choice-options{position:absolute;top:auto;bottom:0;left:0;right:0;margin:0;height:158px;max-height:158px;border:1px solid var(--line);border-radius:10px;padding:8px 14px;background:#fcfeff}.choice-toggle{min-height:86px}.home-choice:has([aria-expanded=true]){border-radius:10px}.choice-options[hidden]{display:none}}
@media(max-height:600px) and (min-width:761px){body:not(.portal) .approved-home{grid-template-rows:minmax(190px,1fr) 260px;min-height:480px}.home-paths{height:260px}}
.home-identity{position:relative;isolation:isolate}.home-identity::before{content:'';position:absolute;z-index:-1;top:18%;left:0;width:100%;height:60%;opacity:.35;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='200' viewBox='0 0 1000 200'%3E%3Cg fill='none' stroke='%2392caff' stroke-width='1'%3E%3Cpath d='M0 100 C50 30 60 170 110 100 S160 20 170 100 S185 190 195 100 S210 -10 220 100 S235 200 245 100 S265 15 280 100 S320 140 350 100 S400 100 450 100 M550 100 C600 100 620 140 650 100 S700 20 720 100 S735 190 745 100 S760 -10 770 100 S785 200 795 100 S815 15 830 100 S875 140 900 100 S960 30 1000 100'/%3E%3Cpath d='M0 105 C50 40 60 160 110 105 S160 40 170 105 S185 170 195 105 S210 15 220 105 S235 175 245 105 S265 35 280 105 S320 140 350 105 S400 105 450 105 M550 105 C600 105 620 140 650 105 S700 40 720 105 S735 170 745 105 S760 15 770 105 S785 175 795 105 S815 35 830 105 S875 140 900 105 S960 40 1000 105'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat}.home-name small{margin-bottom:12px}
.line-icon{width:31px;height:36px;flex-shrink:0}.choice-icon .line-icon{width:39px;height:44px}.service-intro{display:flex;align-items:flex-start;gap:18px}.service-icon{display:grid;place-items:center;color:var(--accent);background:var(--soft);border-radius:9px;width:68px;height:74px;flex-shrink:0}.content .service-intro p{min-height:0;font-size:16px;margin:8px 0 0}.emissora-grid ul{list-style:none;border-top:1px solid var(--line);margin:20px 0;padding:12px 0}.emissora-grid li{font-size:15px;padding:7px 0}.emissora-grid li::before{content:'·';color:var(--accent);font-size:22px;margin-right:16px}.emissora-grid .btn{display:flex;justify-content:center}.emissora-grid h2{font-size:21px}.conversation{border:1px solid var(--line);border-radius:10px;padding:16px 22px;margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:20px}.conversation h2{font-size:20px;margin:0 0 4px}.conversation p{font-size:14px;color:var(--muted);margin:0}.player-wave{color:#a9ceff;letter-spacing:5px;font-size:22px;overflow:hidden;white-space:nowrap;margin:0 20px}.player #play{background:#e2f3ff;color:var(--accent);border-radius:50%;width:40px;height:40px}.player #stop{background:#f0f8ff;border-radius:50%;width:36px;height:36px}
@media(max-width:900px){.service-intro{gap:12px;display:block}.service-icon{margin-bottom:12px;width:50px;height:54px}.player-wave{display:none}}
@media(max-width:760px){.service-intro{display:flex}.service-icon{margin:0}.conversation{flex-direction:column;align-items:flex-start;padding:18px}.player #play,.player #stop{width:30px;height:30px}}
body:not(.portal) .content h1{font-weight:700}.dashboard [data-business-private]>section.panel:first-child>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard [data-business-private]>section.panel:first-child .field{margin:0;font-size:12px}
@media(max-width:760px){.dashboard [data-business-private]>section.panel:first-child>div{grid-template-columns:minmax(0,1fr)}}
.dashboard .panel-workspace>section:focus{outline:none}.dashboard .sidebar nav a[aria-disabled=true]{color:var(--muted);opacity:.7;cursor:not-allowed}.dashboard .catalog-item>div:first-child>small{display:none}.dashboard .panel-workspace>section>p{margin:8px 0;font-size:13px}.dashboard h4{margin:10px 0;font-size:14px}
@media(min-width:761px){.home-choice{align-self:end}.choice-options{top:auto;bottom:100%;border-radius:10px 10px 0 0}.home-choice:has([aria-expanded=true]){border-radius:0 0 12px 12px}}

/*023: subdued work surfaces. Geometry/data/list order remain controlled by panels.js. */
body:not(.portal).dashboard-page{--ink:#172b4b;--muted:#52667f;--line:#dce4ed;--soft:#f3f6fa;background:#f1f4f8}
body:not(.portal).dashboard-page #app{background:#f1f4f8}
body:not(.portal) .dashboard{border-color:#d8e1ec;background:#fff;box-shadow:0 4px 18px #233f6210}
body:not(.portal) .dashboard .sidebar{background:#f8fafc;border-right:1px solid var(--line)}
body:not(.portal) .dashboard .sidebar nav a{border-radius:7px;font-size:14px;min-height:40px;display:flex;align-items:center}
body:not(.portal) .dashboard .sidebar a.active{background:#eaf2fc;color:#125bb5;box-shadow:inset 2px 0 #1976d2}
body:not(.portal) .dashboard .dash-top{background:#fafbfd;border-bottom:1px solid var(--line);color:var(--ink)}
body:not(.portal) .dashboard .panel{border-color:var(--line);background:#fff;box-shadow:none}
body[data-site=atlantica].dashboard-page .compact-rows .compact-column>.panel-row{background:#fff;border-color:var(--line)}
body[data-site=atlantica].dashboard-page .compact-open:hover{background:#f3f7fc}
body:not(.portal) .dashboard :is(input,select,textarea){color:var(--ink);background:#fff;border-color:#b9c8da;font-size:14px}
body:not(.portal) .dashboard .btn{font-size:13px;border-color:#cbd8e8}
body:not(.portal) .dashboard .panel-meta{color:var(--muted)}
body:not(.portal) :is(button,a,input,select,textarea):focus-visible{outline:2px solid #1268c4;outline-offset:3px}
@media(min-width:761px){body:not(.portal) .dashboard{grid-template-columns:188px minmax(0,1fr)}body:not(.portal) .dashboard .sidebar{padding:20px 10px}}
@media(max-width:760px){body:not(.portal) .dashboard .sidebar{border-right:0;border-bottom:1px solid var(--line)}body:not(.portal) .dashboard .sidebar nav a{min-height:44px;padding:8px}body:not(.portal) .dashboard .btn{min-height:44px}}
/* Static imagery uses existing authorized assets; aspect ratio reserves layout space. */
body:not(.portal).public-page .service-photo{display:block;width:100%;height:clamp(100px,12vh,150px);object-fit:cover;object-position:center;border-radius:7px;margin:0 0 14px;background:#eef3f9}
@media(prefers-reduced-motion:no-preference){
 body:not(.portal).public-page .page-scroll>main{animation:atl023-enter 160ms ease-out}
 body:not(.portal).public-page :is(.card,.home-choice,.btn,.header a){transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
 body:not(.portal).public-page .card:hover{border-color:#97bee9;box-shadow:0 3px 12px #173f6f0a}
 body:not(.portal).dashboard-page :is(.btn,.sidebar a,.compact-open){transition:background-color 120ms ease,border-color 120ms ease}
 @keyframes atl023-enter{from{opacity:.88}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){body:not(.portal) *,body:not(.portal) *::before,body:not(.portal) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep all four public navigation links in a compact second row on phones. */
@media(max-width:760px){body:not(.portal).public-page .header{flex-wrap:wrap;gap:8px;padding:10px 15px}body:not(.portal).public-page .header nav{display:flex;flex-direction:row;flex:1 0 100%;width:100%;justify-content:flex-start;gap:6px}body:not(.portal).public-page .header nav a{padding:7px 10px}body:not(.portal).public-page .header nav a:last-child{margin-left:auto}}
