/* Centrl 1.0.42: lightweight search, unified header, stable Android visuals. */
.centrl-team-search{display:grid;gap:7px;margin:0 0 24px;max-width:430px}
.centrl-team-search label{font-size:13px;font-weight:800;color:#293b59}
.centrl-team-search input{display:block;width:100%;min-height:45px;padding:11px 15px;border:1px solid #9db1c9;border-radius:12px;background:#fff;color:#172740;font-size:16px;box-shadow:0 3px 15px rgba(18,41,77,.05);outline-offset:2px}
.centrl-team-search input:focus{border-color:#258de9;outline:2px solid rgba(42,139,230,.15)}
.centrl-team-search small{font-size:12px;color:#50627c}
.centrl-unit-card[hidden],.centrl-unit-filter-empty[hidden]{display:none!important}
.centrl-unit-filter-empty{padding:18px;border:1px dashed #91abc7;color:#415571;border-radius:12px;margin:0 0 20px}
/* Brand: all seven skins use the same wordmark/line/slogan geometry. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandcopy{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:0!important;min-width:0!important;
  width:120px!important;flex:0 0 120px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmarks{
  display:block!important;position:relative!important;width:120px!important;height:34px!important;
  flex:0 0 34px!important;margin:0 auto!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmark{
  position:absolute!important;inset:0!important;width:120px!important;height:34px!important;
  object-fit:contain!important;object-position:center center!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandline{
  display:block!important;width:100px!important;height:1px!important;flex:0 0 1px!important;
  margin:4px auto 5px!important;opacity:.85!important;
  background:linear-gradient(90deg,transparent,#bcd9f7 15%,#fff 50%,#bcd9f7 85%,transparent)!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandtag{
  display:block!important;width:100%!important;margin:0!important;padding:0!important;
  font:500 8px/1.5 system-ui,-apple-system,sans-serif!important;letter-spacing:.035em!important;
  text-align:center!important;white-space:nowrap!important;color:var(--pda-text,#e3efff)!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme="light"] .centrl-approved-brandtag{color:#36516d!important}
@media(max-width:370px){
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandcopy{width:104px!important;flex-basis:104px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmarks,
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmark{width:104px!important;height:30px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmarks{flex-basis:30px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandline{width:86px!important}
}
/* Center every app glyph on top of its frame, regardless of theme. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-app-icon{position:relative!important;display:grid!important;place-items:center!important;padding:0!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-app-icon>svg:not(.pda-tactical-rail){
  position:relative!important;inset:auto!important;margin:auto!important;
  display:block!important;justify-self:center!important;align-self:center!important;
  transform:none!important;
}
/* Stronger blue aura behind the *transparent original shield* rather than a rectangular glow.
   Avoid filter and blur layers on Android, which previously caused white GPU artifacts. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem{
  position:relative!important;overflow:visible!important;
  background:radial-gradient(ellipse at 50% 51%,rgba(23,144,255,.68) 0%,rgba(23,129,255,.4) 36%,rgba(8,105,251,.19) 58%,transparent 79%)!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem .centrl-approved-shield{
  position:relative!important;z-index:2!important;
}
/* Glassy: stack the three words vertically even when inherited theme CSS tries inline layout. */
#centrl-pda .centrl-pda-shell[data-pda-theme="glassy"] .pda-word-stack{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:2px!important;white-space:normal!important;line-height:1.2!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme="glassy"] .pda-word-stack span{display:block!important;white-space:nowrap!important}
#centrl-pda .centrl-pda-settings-group{margin-bottom:14px!important}
#centrl-pda .centrl-pda-settings-group h3{margin-bottom:8px!important}
#centrl-pda .centrl-pda-settings-group .centrl-btn{width:100%!important;margin:10px 0!important}


/* ===== Centrl 1.0.47: PDA-only header refinements; CP weather CSS untouched ===== */
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-pda-brandmark{
  display:inline-flex!important;align-items:center!important;gap:14px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem{
  width:62px!important;height:70px!important;flex:0 0 62px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:radial-gradient(ellipse at center,rgba(33,143,255,.55) 2%,rgba(17,94,240,.2) 55%,transparent 75%)!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem .centrl-approved-shield{
  width:60px!important;height:68px!important;max-width:none!important;display:block!important;
  object-fit:contain!important;position:relative!important;z-index:2!important;
}
/* Do not scale 'Centrl.' with the shield; it must be smaller than the previous update. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandcopy{
  width:116px!important;min-width:116px!important;flex:0 0 116px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:3px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmarks{
  width:116px!important;height:32px!important;flex:0 0 32px!important;margin:0 auto!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-wordmark{
  width:116px!important;height:32px!important;object-fit:contain!important;object-position:center center!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandline{
  width:110px!important;margin:4px auto 2px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-approved-brandtag{
  font-size:11.3px!important;line-height:1.2!important;font-weight:650!important;
  letter-spacing:.015em!important;white-space:nowrap!important;
}
/* Stable 2-column PDA header, including narrow Samsung screens. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-hero-layout{
  display:flex!important;flex-direction:column!important;gap:14px!important;
  min-height:0!important;padding:3px 0 8px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top{
  display:grid!important;grid-template-columns:minmax(0,1fr) 158px!important;
  gap:12px!important;align-items:start!important;justify-content:space-between!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-hero-left{min-width:0!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top-right{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;
  width:158px!important;min-width:0!important;margin:0!important;justify-self:end!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top-right .pda-timebox{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;
  justify-content:start!important;text-align:right!important;min-width:0!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-strip{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;width:100%!important;min-width:0!important;min-height:80px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile{
  box-sizing:border-box!important;position:relative!important;display:flex!important;flex-direction:column!important;
  gap:4px!important;min-width:0!important;min-height:86px!important;
  padding:8px 7px!important;border-radius:13px!important;
  border:1.5px solid rgba(99,175,255,.62)!important;
  background:linear-gradient(165deg,#17335d,#071a3a)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 6px 20px rgba(1,12,28,.22)!important;
  overflow:hidden!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile.severity-green{border-color:#46d9ab!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile.severity-yellow{border-color:#ffd166!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile.severity-orange{border-color:#f59e42!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile.severity-red{border-color:#ff6578!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile.is-unavailable{border-color:rgba(122,166,213,.42)!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-label{
  color:#c5d8f2!important;font:850 9px/1.3 system-ui,sans-serif!important;letter-spacing:.05em!important;
  white-space:nowrap!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-main{
  display:flex!important;align-items:center!important;gap:3px!important;min-height:29px!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-main img{
  width:20px!important;height:20px!important;object-fit:contain!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-main b{
  color:#fff!important;font-size:20px!important;font-weight:900!important;line-height:1!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-placeholder{
  color:#d2e5ff!important;font-size:22px!important;font-weight:800!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-tile small{
  color:#a6c7f1!important;font:650 9px/1.2 system-ui,sans-serif!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-unit-block{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(112px,39%)!important;
  align-items:end!important;gap:12px!important;width:100%!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-unit-main,
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-unit-side{min-width:0!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-unit-side{
  max-width:none!important;justify-self:end!important;text-align:right!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-team{
  margin:1px 0 3px!important;font-size:clamp(24px,7vw,34px)!important;line-height:1.08!important;
  overflow-wrap:anywhere!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-guard{
  color:#ddecff!important;font-size:12px!important;font-weight:800!important;line-height:1.3!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-unit-label{
  display:block!important;font-size:9px!important;font-weight:850!important;letter-spacing:.10em!important;
  margin:0 0 5px!important;color:#9abce8!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-event-name{
  color:#fff!important;font-size:15px!important;font-weight:900!important;line-height:1.1!important;
  overflow-wrap:anywhere!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-event-location{
  margin-top:4px!important;color:#a8cbfd!important;font-size:11px!important;font-weight:800!important;
  letter-spacing:.09em!important;line-height:1.25!important;overflow-wrap:anywhere!important;
}
@media(max-width:375px){
  #centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top{grid-template-columns:minmax(0,1fr) 144px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top-right{width:144px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-label{font-size:8px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem{width:56px!important;height:64px!important;flex-basis:56px!important}
  #centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-electric-emblem .centrl-approved-shield{width:56px!important;height:64px!important}
}


/* ===== Centrl 1.0.48 | Only Centrl Control search and PDA tiles/header. CP weather unchanged ===== */
#centrl-control .centrl-unit-columns > section:first-child > .centrl-team-search{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;max-width:none!important;margin:6px 0 20px!important;
}
#centrl-control .centrl-team-search-premium .centrl-team-search-shell{
  display:flex!important;align-items:stretch!important;position:relative!important;isolation:isolate!important;
  width:min(100%,530px)!important;height:66px!important;padding:0!important;gap:0!important;
  border:3px solid #163762!important;border-radius:36px!important;overflow:hidden!important;
  background:#fff!important;box-shadow:0 12px 26px rgba(20,47,90,.16),inset 0 1px 0 rgba(255,255,255,.9)!important;
  box-sizing:border-box!important;
}
#centrl-control .centrl-team-search-premium input#centrl-unit-search{
  display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;
  min-height:0!important;height:100%!important;margin:0!important;padding:0 20px 0 24px!important;
  border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;
  background:#fff!important;color:#1b3353!important;font:600 18px/1.2 system-ui,sans-serif!important;
  appearance:none!important;-webkit-appearance:none!important;
}
#centrl-control .centrl-team-search-premium input#centrl-unit-search::placeholder{color:#8292a9!important;opacity:1!important}
#centrl-control .centrl-team-search-premium .centrl-search-icon{
  display:grid!important;place-items:center!important;flex:0 0 84px!important;width:84px!important;height:100%!important;
  border:0!important;border-radius:0 32px 32px 0!important;
  background:linear-gradient(135deg,#244a7e 0%,#081f44 100%)!important;
  color:#fff!important;box-shadow:inset 2px 0 0 rgba(22,55,98,.15)!important;
}
#centrl-control .centrl-team-search-premium .centrl-search-icon svg{display:block!important;width:35px!important;height:35px!important;stroke:#fff!important}
#centrl-control .centrl-team-search-premium .centrl-team-search-shell:focus-within{
  border-color:#2f71b7!important;box-shadow:0 0 0 4px rgba(38,105,177,.14),0 14px 30px rgba(10,35,72,.18)!important;
}
#centrl-control .centrl-team-search-premium input#centrl-unit-search::-webkit-search-cancel-button{filter:none!important}
@media(max-width:630px){
  #centrl-control .centrl-team-search-premium .centrl-team-search-shell{height:58px!important;border-radius:31px!important}
  #centrl-control .centrl-team-search-premium .centrl-search-icon{flex-basis:70px!important;width:70px!important}
  #centrl-control .centrl-team-search-premium input#centrl-unit-search{padding-left:16px!important;font-size:15px!important}
}
/* Preserve the PDA two-column header and weather slots on Samsung, with a compact size. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-weather-strip{display:grid!important;visibility:visible!important;opacity:1!important;min-height:88px!important;overflow:visible!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-top-right{visibility:visible!important;overflow:visible!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-hero-layout{min-height:0!important;overflow:visible!important}
#centrl-pda .centrl-pda-shell[data-pda-theme] .centrl-pda-header{min-height:0!important;height:auto!important;overflow:visible!important}
/* Centrl app menu buttons: the glyph itself stays dead-center even in layered themes. */
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-app-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-app-icon>svg:not(.pda-tactical-rail){
  position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
  width:34px!important;height:34px!important;margin:0!important;transform:translate(-50%,-50%)!important;
  z-index:5!important;display:block!important;
}
#centrl-pda .centrl-pda-shell[data-pda-theme] .pda-app-icon.settings{
  background:linear-gradient(150deg,#143760,#071c3b)!important;border-color:#8cb7ed!important;
}
