/* WTWR_UNIFORM_VISUAL_FOUNDATION_V1
   One clean visual language for Today / Results / AI Demo.
*/

.wtwr-uniform-polish-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  grid-column:1 / -1!important;
  flex:1 1 100%!important;
  margin:12px 0 18px!important;
  padding:0!important;
}

/* Keep the strategy selector compact, balanced and identical. */
.wtwr-uniform-polish-shell .wtwr-uniform-master-bar,
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-bar,
.wtwr-uniform-polish-shell .wtwr-foundation-master-bar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  align-content:flex-start!important;
  gap:10px 12px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

.wtwr-polish-strategy-group,
.wtwr-uniform-polish-shell .wtwr-foundation-master-group{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
}

/* Canonical strategy pill — Today / Results / AI use the same dimensions. */
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab,
.wtwr-uniform-polish-shell .wtwr-foundation-master-tab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 16px!important;
  margin:0!important;
  border:1px solid #263b52!important;
  border-radius:999px!important;
  background:#07101b!important;
  color:#c7d0db!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:.95rem!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}

.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab.active,
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab[aria-pressed="true"],
.wtwr-uniform-polish-shell .wtwr-foundation-master-tab.active,
.wtwr-uniform-polish-shell .wtwr-foundation-master-tab[aria-pressed="true"]{
  border-color:#279cff!important;
  background:rgba(39,156,255,.14)!important;
  color:#f5f8fc!important;
}

/* Counts stay simple gold text — never a separate bubble. */
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab [id$="Count"],
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab .wtwr-uniform-count,
.wtwr-uniform-polish-shell .wtwr-foundation-master-tab strong{
  display:inline!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#f3c44f!important;
  font:inherit!important;
  font-weight:850!important;
  line-height:1!important;
}

.wtwr-uniform-polish-shell .wtwr-foundation-master-tab:disabled,
.wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
}

/* Information button belongs visually to its strategy pill. */
.wtwr-uniform-polish-shell .wtwr-uniform-master-info,
.wtwr-uniform-polish-shell .wtwr-uniform-info,
.wtwr-uniform-polish-shell .wtwr-foundation-master-info{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #263b52!important;
  border-radius:50%!important;
  background:#07101b!important;
  color:#aebaca!important;
  box-shadow:none!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:1!important;
}

.wtwr-uniform-polish-shell .wtwr-foundation-master-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.wtwr-uniform-polish-shell .wtwr-foundation-master-note{
  display:none!important;
}

/* The customer-facing evidence panel is full-width and identical everywhere. */
.wtwr-uniform-polish-shell > .wtwr-shared-strategy-evidence{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  grid-column:1 / -1!important;
  margin:12px 0 0!important;
  padding:14px 16px!important;
  border:1px solid #263b52!important;
  border-radius:14px!important;
  background:rgba(6,16,28,.76)!important;
  box-sizing:border-box!important;
}

.wtwr-uniform-polish-shell .wtwr-shared-evidence-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 11px!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-head>div{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:7px 12px!important;
  min-width:0!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-head small{
  font-size:.66rem!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-head b{
  font-size:.96rem!important;
  line-height:1.2!important;
}

.wtwr-uniform-polish-shell .wtwr-shared-evidence-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-card{
  min-width:0!important;
  min-height:112px!important;
  padding:11px 12px!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-card small{
  font-size:.61rem!important;
  line-height:1.25!important;
  letter-spacing:.075em!important;
  overflow-wrap:anywhere!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-card strong{
  margin:5px 0 4px!important;
  font-size:1.08rem!important;
  line-height:1.15!important;
  overflow-wrap:anywhere!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-card span{
  font-size:.67rem!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}
.wtwr-uniform-polish-shell .wtwr-shared-evidence-foot{
  margin-top:9px!important;
  font-size:.69rem!important;
  line-height:1.4!important;
}

/* Today meeting selector is part of the same control block, aligned neatly. */
.wtwr-polish-meeting-row{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:flex-end!important;
  width:100%!important;
  margin:12px 0 0!important;
  padding:0!important;
}
.wtwr-polish-meeting-row .meeting-filter{
  width:min(100%,280px)!important;
  max-width:280px!important;
  margin:0!important;
}

/* Results keeps its own stat cards / result content; only the shared control layer is normalised. */
#wtwrResultsUniformPolishShell{
  margin-top:14px!important;
}

@media(max-width:980px){
  .wtwr-uniform-polish-shell .wtwr-shared-evidence-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:700px){
  .wtwr-uniform-polish-shell .wtwr-uniform-master-bar,
  .wtwr-uniform-polish-shell .wtwr-uniform-strategy-bar,
  .wtwr-uniform-polish-shell .wtwr-foundation-master-bar{
    gap:8px 9px!important;
  }
  .wtwr-uniform-polish-shell .wtwr-uniform-strategy-tab,
  .wtwr-uniform-polish-shell .wtwr-foundation-master-tab{
    min-height:44px!important;
    height:44px!important;
    padding:0 13px!important;
    font-size:.9rem!important;
  }
  .wtwr-uniform-polish-shell .wtwr-uniform-master-info,
  .wtwr-uniform-polish-shell .wtwr-uniform-info,
  .wtwr-uniform-polish-shell .wtwr-foundation-master-info{
    flex-basis:30px!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    font-size:15px!important;
  }
  .wtwr-polish-meeting-row{
    justify-content:stretch!important;
  }
  .wtwr-polish-meeting-row .meeting-filter{
    width:100%!important;
    max-width:none!important;
  }
}

@media(max-width:540px){
  .wtwr-uniform-polish-shell .wtwr-shared-evidence-grid{
    grid-template-columns:1fr!important;
  }
  .wtwr-uniform-polish-shell .wtwr-shared-evidence-head{
    align-items:flex-start!important;
  }
}
