/* Homepage polish only. This named layer precedes typography so scoped important
   declarations can replace legacy repeated-ID overrides without changing DOM. */
@layer kuyu20-polish {
:root {
  --kuyu20-polish-ink:#edf3fa;
  --kuyu20-polish-muted:#a8b8ca;
  --kuyu20-polish-line:rgba(142,170,204,.22);
  --kuyu20-polish-surface:#111c29;
  --kuyu20-polish-shadow:0 5px 18px rgba(0,0,0,.12);
  --kuyu20-polish-control:rgba(124,163,209,.08);
  --kuyu20-polish-control-hover:rgba(124,163,209,.16);
}
:root.light-theme {
  --kuyu20-polish-ink:#1b2e45;
  --kuyu20-polish-muted:#64758b;
  --kuyu20-polish-line:rgba(93,120,154,.22);
  --kuyu20-polish-surface:#f9fbfe;
  --kuyu20-polish-shadow:0 5px 18px rgba(35,58,87,.045);
  --kuyu20-polish-control:rgba(86,127,175,.055);
  --kuyu20-polish-control-hover:rgba(86,127,175,.12);
}
/* Keep imagery, section accents and all inner product/forecast cards intact. */
.page-wrapper :is(#historyToday,#newsToday,#recentUpdates,#timeCapsule,#serviceHub,#comprehensiveHub,.site-overview-card) {
  border:1px solid var(--kuyu20-polish-line)!important;
  box-shadow:var(--kuyu20-polish-shadow)!important;
}
.page-wrapper :is(#newsToday,#recentUpdates,#timeCapsule,#serviceHub,#comprehensiveHub,.site-overview-card) {
  background:var(--kuyu20-polish-surface)!important;
}
.page-wrapper #historyToday {background:#151c27!important;}
.light-theme .page-wrapper #historyToday {background:#fdf9f2!important;}
/* One level for section headings; keep colored icons and feature titles. */
.page-wrapper :is(#historyTodayTitle,.digest-heading-copy>strong,.section-main-title,#latestUpdatesTitle,.capsule-title h2,.reset-pc-brand b) {
  font-size:22px!important;
  font-weight:600!important;
  line-height:1.35!important;
  letter-spacing:0!important;
  color:var(--kuyu20-polish-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
.page-wrapper .section-main-title>strong {font:inherit!important;color:inherit!important;}
.page-wrapper :is(.past-heading-copy>p,.digest-heading-copy>small,.section-main-title>small,.hub-entry-caption,.right-section-en,.past-kicker) {
  color:var(--kuyu20-polish-muted)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
  font-weight:400!important;
}
.page-wrapper :is(.section-main-title>small,.hub-entry-caption,.right-section-en) {font-size:12px!important;}
.page-wrapper :is(.past-kicker,.right-section-en) {letter-spacing:.12em!important;}
/* Reading rows no longer compete with the image-led first item. */
.page-wrapper :is(.past-item h3,.digest-row:not(.digest-row--featured) .digest-title) {
  font-weight:500!important;
  text-shadow:none!important;
}
/* Matching secondary share controls; no extra glow or frosted overlay. */
.page-wrapper :is(#historyShareToggle,#shareToggle) {
  width:40px!important;height:40px!important;min-width:40px!important;
  min-height:40px!important;padding:0!important;border-radius:12px!important;
  background:var(--kuyu20-polish-control)!important;
  border:1px solid var(--kuyu20-polish-line)!important;
  color:var(--kuyu20-polish-muted)!important;
  box-shadow:none!important;backdrop-filter:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  transition:background .18s ease,color .18s ease,border-color .18s ease!important;
}
.page-wrapper :is(#historyShareToggle,#shareToggle) i {
  font-size:17px!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;
}
.page-wrapper #shareToggle .digest-share-label {display:none!important;}
.page-wrapper :is(.past-footer>a,.digest-more-link,.reset-detail-link,.reset-pc-actions>a) {
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:600!important;
}
.page-wrapper .past-footer>a {
  border:1px solid var(--kuyu20-polish-line)!important;
  background:var(--kuyu20-polish-control)!important;
  color:var(--kuyu20-polish-ink)!important;
}
.page-wrapper .digest-more-link {
  border-color:var(--kuyu20-polish-line)!important;
  background:var(--kuyu20-polish-control)!important;
}
@media(hover:hover) {
 .page-wrapper :is(#historyShareToggle,#shareToggle,.past-footer>a,.digest-more-link):hover {
   background:var(--kuyu20-polish-control-hover)!important;
   color:var(--kuyu20-polish-ink)!important;
 }
}
.page-wrapper :is(#historyShareToggle,#shareToggle,.past-footer>a,.digest-more-link,.reset-detail-link,.reset-pc-actions>a):focus-visible {
  outline:2px solid #4e9ee8!important;outline-offset:3px!important;
}
@media(max-width:767px) {
 .page-wrapper :is(#historyTodayTitle,.digest-heading-copy>strong,.section-main-title,#latestUpdatesTitle,.capsule-title h2) {font-size:18px!important;}
 .page-wrapper :is(#historyShareToggle,#shareToggle) {
   width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 }
 .page-wrapper :is(.section-main-title>small,.hub-entry-caption,.right-section-en) {font-size:11px!important;}
}
@media(prefers-reduced-motion:reduce) {
 .page-wrapper :is(#historyShareToggle,#shareToggle) {transition:none!important;}
}
}
