.audience-switcher { grid-template-columns:repeat(4,minmax(0,1fr)); }
.audience-switcher button[hidden] { display:none; }
@media(max-width:1100px) { .audience-switcher {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:760px) { .audience-switcher {grid-template-columns:1fr;} }

.pool-guidance {
  grid-column:1/-1;
  width:100%;
  padding:clamp(1rem,2vw,1.75rem);
  font-size:1rem;
  line-height:1.55;
  background:#fff;
  border:1px solid #cfe0e8;
  border-radius:1.25rem;
  color:#153e50;
  box-sizing:border-box;
}
.pool-research-card {
  padding:clamp(1rem,2vw,1.4rem);
  border:1px solid #9fd8d1;
  border-left:.45rem solid #07877e;
  border-radius:1rem;
  background:linear-gradient(135deg,#f2fbf9 0%,#f7fbfd 100%);
  margin-bottom:1.75rem;
}
.pool-status-chip,.pool-eyebrow {
  display:block;
  color:#08766f;
  font-size:.875rem;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.055em;
}
.pool-watch-title { display:block; margin:.65rem 0 .35rem; font-size:1.3rem; line-height:1.3; color:#123d50; }
.pool-watch-title span { font-weight:700; }
.pool-watch-copy { margin:.45rem 0 0; color:#516d7a; line-height:1.55; }
.pool-watch-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
  margin:1rem 0 .75rem;
}
.pool-watch-metrics div { padding:.8rem .9rem; border:1px solid #d4e7e8; border-radius:.75rem; background:rgba(255,255,255,.82); }
.pool-watch-metrics dt { font-size:.875rem; line-height:1.35; color:#5a7380; }
.pool-watch-metrics dd { margin:.35rem 0 0; font-size:1.2rem; line-height:1.25; font-weight:800; color:#0d6370; overflow-wrap:anywhere; }

.pool-guidance-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.pool-heading-copy { max-width:52rem; }
.pool-guidance h3 { margin:.25rem 0 0; font-size:clamp(1.35rem,2.2vw,1.85rem); line-height:1.25; }
.pool-budget { white-space:nowrap; padding:.6rem .8rem; border-radius:999px; background:#edf6f8; font-size:.95rem; font-weight:750; color:#24586b; }
.pool-budget[hidden],.pool-underdog[hidden],.pool-prepared-time[hidden] { display:none; }
.pool-tabs { display:flex; flex-wrap:wrap; gap:.55rem; margin:1.35rem 0 1rem; }
.pool-tabs button { min-height:2.75rem; padding:.65rem 1rem; font:inherit; border:1px solid #bcd4de; border-radius:.65rem; background:#fff; color:#153e50; cursor:pointer; }
.pool-tabs button:hover { border-color:#0c7d84; }
.pool-tabs button[aria-selected=true] { background:#123d50; border-color:#123d50; color:#fff; box-shadow:0 .3rem .75rem rgba(18,61,80,.15); }
.pool-guidance :focus-visible { outline:3px solid #007ad0; outline-offset:3px; }
.pool-pending { margin:.25rem 0 .5rem; padding:.85rem 1rem; background:#eef7f8; border-left:4px solid #168a8a; border-radius:0 .45rem .45rem 0; line-height:1.5; }
.pool-pending.pool-archived { background:#f3f5f6; border-left-color:#7b8f98; }
.pool-pending.pool-error { background:#fff3f3; border-left-color:#ba3742; }
.pool-market-status { margin:.55rem 0; font-size:.9rem; line-height:1.5; color:#5b727e; }
.pool-group-copy { margin:.35rem 0 1rem; color:#3b5967; max-width:58rem; }

.pool-ticket-card { margin-top:1rem; border:1px solid #c8dde5; border-radius:1rem; background:#f8fbfc; overflow:hidden; }
.pool-replay-notice { padding:1rem 1.1rem; border:1px solid #b7d9d9; border-left:5px solid #0d7c80; border-radius:.75rem; background:#f1f9f8; color:#224b55; }
.pool-replay-notice strong { display:block; font-size:1rem; }
.pool-replay-notice p { margin:.4rem 0 0; }
.pool-replay-notice .pool-replay-abstain { padding:.6rem .7rem; border-left:3px solid #b87851; border-radius:.35rem; background:#fff4ea; color:#765039; font-weight:700; }
.pool-replay-card h4 { margin:0; padding:1rem 1.1rem; border-bottom:1px solid #c8dde5; background:#eaf4f7; color:#123d50; font-size:1.15rem; }
.pool-replay-card > .pool-watch-title { display:block; padding:1rem 1.1rem 0; color:#123d50; font-size:1.2rem; }
.pool-replay-card > .pool-watch-copy { margin:0; padding:.75rem 1.1rem 1rem; }
.pool-interpretation-card { border-style:dashed; background:#fbfdfd; }
.pool-interpretation-card .pool-ticket-title-row { background:#f0f7f7; }
.pool-interpretation-copy { margin:0; padding:0 1.15rem 1.15rem; color:#486775; }
.pool-ticket-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1rem 1.1rem; background:#eaf4f7; border-bottom:1px solid #c8dde5; }
.pool-ticket-title-row h4 { margin:0; font-size:1.2rem; line-height:1.3; color:#123d50; }
.pool-order-chip { flex:none; padding:.4rem .65rem; border-radius:999px; background:#d5ece9; color:#0a6965; font-size:.85rem; font-weight:750; }
.pool-ticket-runners {
  display:flex;
  align-items:stretch;
  gap:.65rem;
  margin:0;
  padding:1.15rem;
  list-style:none;
  overflow-x:auto;
}
.pool-ticket-runners li:not(.pool-runner-separator) { min-width:8rem; flex:1 1 0; padding:.8rem; border:1px solid #d4e2e8; border-radius:.75rem; background:#fff; }
.pool-runner-number { display:block; margin-bottom:.3rem; color:#08766f; font-size:.9rem; font-weight:800; }
.pool-ticket-runners strong { display:block; font-size:1rem; line-height:1.35; color:#163f51; overflow-wrap:anywhere; }
.pool-runner-separator { align-self:center; flex:0 0 auto; color:#0a7780; font-size:1.35rem; font-weight:800; }
.pool-ticket-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.7rem; margin:0; padding:0 1.15rem 1.15rem; }
.pool-ticket-summary div { padding:.85rem; border-radius:.75rem; background:#fff; border:1px solid #d8e5ea; }
.pool-ticket-summary dt { font-size:.83rem; line-height:1.35; color:#5a727e; }
.pool-ticket-summary dd { margin:.35rem 0 .25rem; color:#0c6d77; font-size:1.25rem; line-height:1.25; font-weight:800; overflow-wrap:anywhere; }
.pool-ticket-summary small { display:block; color:#526b77; font-size:.875rem; line-height:1.45; }
.pool-empty-state { margin-top:1rem; padding:1.25rem; border:1px solid #c8dce3; border-left:5px solid #758f9b; border-radius:.85rem; background:#f7fafb; color:#3b5967; line-height:1.55; }
.pool-empty-title { display:block; color:#153e50; font-size:1.1rem; line-height:1.4; }
.pool-empty-state p { margin:.45rem 0 0; }
.pool-method { margin-top:1rem; border-top:1px solid #dbe6eb; padding-top:1rem; }
.pool-guidance summary { cursor:pointer; min-height:2.75rem; font-weight:750; }
.pool-guidance p { line-height:1.55; }

@media(max-width:850px) {
  .pool-watch-metrics { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  .pool-guidance { padding:1rem; }
  .pool-guidance-heading { align-items:flex-start; flex-direction:column; gap:.75rem; }
  .pool-budget { white-space:normal; }
  .pool-watch-metrics,.pool-ticket-summary { grid-template-columns:1fr; }
  .pool-ticket-title-row { flex-direction:column; }
  .pool-ticket-runners { align-items:stretch; flex-direction:column; overflow:visible; }
  .pool-ticket-runners li:not(.pool-runner-separator) { min-width:0; }
  .pool-runner-separator { align-self:center; transform:rotate(90deg); }
  .pool-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pool-tabs button { width:100%; }
}
.pool-controls { min-width:0; }
.pool-panel > .pool-underdog { box-sizing:border-box; min-width:0; margin:0; }
.pool-watch-title { overflow-wrap:anywhere; }
.pool-watch-quote { display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem .6rem; margin:.4rem 0; color:#24586b; font-size:.9rem; line-height:1.25; }
.pool-watch-quote strong { color:#0d6370; font-size:1.3rem; }
.pool-watch-extra { margin-top:.35rem; }
.pool-watch-extra summary { color:#0b6471; font-size:.875rem; font-weight:750; }
.pool-watch-extra .pool-watch-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); margin:.7rem 0; }

@media(max-width:600px) {
  .pool-controls { display:block; margin:1.35rem 0 1rem; }
  .pool-controls .pool-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin:0; }
  .pool-controls .pool-tabs button { min-width:0; width:100%; }
  .pool-panel .pool-underdog { padding:1rem; border-radius:.75rem; overflow-wrap:anywhere; }
  .pool-panel .pool-underdog .pool-status-chip { font-size:.875rem; }
  .pool-panel .pool-underdog .pool-watch-title { margin:.4rem 0; font-size:1.15rem; line-height:1.35; }
  .pool-panel .pool-watch-quote { margin:.4rem 0; font-size:.875rem; }
  .pool-panel .pool-watch-quote strong { font-size:1.3rem; }
  .pool-panel .pool-watch-extra summary { font-size:.875rem; line-height:1.4; }
  .pool-panel .pool-watch-extra .pool-watch-metrics { grid-template-columns:1fr; gap:.5rem; }
  .pool-panel .pool-watch-extra .pool-watch-metrics div { padding:.75rem; }
  .pool-panel .pool-watch-extra .pool-watch-metrics dt { font-size:.875rem; }
  .pool-panel .pool-watch-extra .pool-watch-metrics dd { font-size:1.1rem; }
  .pool-panel .pool-watch-copy { font-size:.875rem; line-height:1.5; }
}
.pool-error { border-style:solid; border-color:#d88d91; background:#fff7f7; color:#5f2932; }
.pool-error strong { display:block; font-size:1.05rem; }
.pool-error-reference { display:block; margin:.75rem 0; overflow-wrap:anywhere; color:#6b4750; }
.pool-error .secondary-button { margin-top:.25rem; }

/* Ma King Insight preview: match decision captions to the readable race-desk scale. */
.pool-guidance :is(.pool-market-status,.pool-order-chip,
  .pool-runner-number,.pool-ticket-summary dt,.pool-watch-quote,
  .pool-watch-extra summary,.pool-watch-metrics dt) {
  font-size:.875rem; line-height:1.5;
}
.pool-guidance .pool-ticket-summary small { font-size:.875rem; }
.pool-guidance .pool-tabs button { min-height:44px; }
@media (max-width:600px) {
  .pool-panel .pool-watch-quote,
  .pool-panel .pool-watch-extra summary,
  .pool-panel .pool-watch-extra .pool-watch-metrics dt { font-size:.875rem; }
}
