/* COGO student polish r1 — additive presentation corrections.
 * Load after student-redesign-r1. No DOM, state, account, payment or animation changes.
 * Native card masks, scroll containers and avatar/progress clipping stay intact.
 */

/* The native compact day card has only 3–5px of room beside its icon.
 * Its previous 7px halo crossed the card edge. Keep the whole ring inside
 * that available room at every native breakpoint, including 320px screens.
 */
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-day-r3.is-today > i {
  box-shadow:0 0 0 2px #DDE7FF!important;
}

/* Today is a real status label: give it its own legible pill instead of
 * the original inline 8px text painted on a background with no padding.
 */
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-day-r3 > small {
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:2px 4px;
}
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-today-r4 {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:1px 4px!important;
  margin:0!important;
  min-inline-size:24px;
  font-size:9px!important;
  line-height:1.35!important;
  border-radius:999px;
}
@container gw-week (max-width:720px) {
  html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-day-r3 > small {
    flex-direction:column;
    justify-content:flex-start;
  }
}
/* Preserve the native very-short-window mode, which intentionally hides
 * the redundant today pill to keep the date and weekly controls readable.
 */
@media(min-width:1200px) and (min-height:650px) and (max-height:710px) {
  html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-today-r4 {
    display:none!important;
  }
}

/* The same calendar in the history dialog used 30 × 34px icons on mobile.
 * A square, locally bounded indicator leaves room for its native outline.
 */
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"] #gwHistoryR4 .gw-history-calendar-r4 .gw-day-r3 > i {
  box-sizing:border-box;
  width:min(42px,calc(100% - 8px))!important;
  height:auto!important;
  aspect-ratio:1;
  flex:none;
  border-radius:50%!important;
}
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"] #gwHistoryR4 .gw-history-calendar-r4 .gw-day-r3.is-today > i {
  outline-offset:1px!important;
}

/* Edge-to-edge card buttons and scrolling tab strips cannot display
 * an outward focus ring. Draw the existing accessible cue within them.
 */
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="home"] #main .sh-workspace-r2 .gw-day-r3[data-gw-day-r2]:focus-visible,
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"] #gwHistoryR4 .gw-day-r3[data-gw-day-r2]:focus-visible,
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="collection"] #main .closet-desk.td-avatar-compact :is(.closet-pick6,.item-heart6,.closet-tabs6 [data-avatar-tab],.closet-categories6 button):focus-visible,
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="report"] #main .report-desk6 > .learning-tabs > button:focus-visible,
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"] .bottom-nav button:focus-visible {
  outline:2px solid #2F6BFF!important;
  outline-offset:-4px!important;
}
html:not([data-theme="dark"]):not([data-contrast="high"]) body[data-cogo-role="student"][data-signed-in="true"][data-view="collection"] #main .closet-desk.td-avatar-compact .closet-item6 > .closet-pick6 {
  border-radius:inherit;
}

/* Shared business footer only. Checkout/help refund destinations remain native.
 * This user-requested footer removal applies to signed-in and guest pages.
 */
html body #cogo-business-legal-r1 nav > a[data-cogo-payment-help="footer-refund"][href] {
  display:none!important;
}

/* No new animation or transition is introduced. Native reduced-motion,
 * focus-mode and reduce-polish271 lifecycle settings remain authoritative.
 */
