/* Wordzule Oct 30 usability contrast and mobile dialog polish.
   Loaded after all feature styles; scoped to actual light-theme selector. */
html[data-effective-theme="light"] .wz-calendar-panel{
  background:#ffffff;border-color:#a9c1c5;color:#183d49
}
html[data-effective-theme="light"] #wz-calendar-caption{
  color:#654313;font-size:clamp(13px,3.5vw,16px);min-width:0;letter-spacing:.015em
}
html[data-effective-theme="light"] .wz-calendar-controls{
  gap:clamp(7px,2vw,13px);justify-content:space-between;width:100%
}
html[data-effective-theme="light"] .wz-calendar-controls button{
  background:#174557;border:2px solid #174557;color:#fff7e6;
  min-width:43px;width:43px;height:43px;font-size:28px;border-radius:11px;
  font-weight:700;opacity:1
}
html[data-effective-theme="light"] .wz-calendar-controls button:disabled{
  background:#e1e9e9;border-color:#b8cacc;color:#667e86;opacity:1
}
html[data-effective-theme="light"] .wz-calendar-controls button:not(:disabled):hover{
  background:#226d78;border-color:#226d78
}
html[data-effective-theme="light"] .wz-calendar-weekdays{color:#284e5b;font-size:12px}
html[data-effective-theme="light"] .wz-calendar-day[data-state="blank"]{
  background:#f6faf9;border:1px solid #c3d5d5;color:#4c6873;
  opacity:1;font-weight:650
}
html[data-effective-theme="light"] .wz-calendar-day[data-state="started"]{
  background:#cbdce6;border:1px solid #7798aa;color:#173a4a;opacity:1
}
html[data-effective-theme="light"] .wz-calendar-day[data-state="complete"]{
  background:#097c76;border:1px solid #08605b;color:#ffffff;opacity:1
}
html[data-effective-theme="light"] .wz-calendar-day[data-state="perfect"]{
  background:#f3c869;border:1px solid #9d7123;color:#342000;opacity:1
}
html[data-effective-theme="light"] .wz-calendar-day[data-today="yes"]{
  box-shadow:inset 0 0 0 2px #915b1c
}
html[data-effective-theme="light"] .wz-calendar-day[data-today="yes"]:after{
  width:6px;height:6px;bottom:3px;background:#975d0d
}
html[data-effective-theme="light"] .wz-calendar-day[data-state="complete"][data-today="yes"],
html[data-effective-theme="light"] .wz-calendar-day[data-state="started"][data-today="yes"]{
  box-shadow:inset 0 0 0 2px #ffe1a2
}
html[data-effective-theme="light"] .wz-calendar-day[data-state="complete"][data-today="yes"]:after{
  background:#ffe1a2
}
html[data-effective-theme="light"] .wz-profile-explain{color:#365663}
html[data-effective-theme="light"] .wz-profile-section .wz-calendar-day:focus-visible{
  outline:3px solid #905712;outline-offset:2px
}
.wz-calendar-day[data-state="blank"]{cursor:default}
.wz-push-dialog{overscroll-behavior:contain}
.wz-push-dialog .wz-push-header{
  position:sticky;top:0;z-index:2;
}
.wz-push-dialog #wz-push-close{cursor:pointer}
html[data-effective-theme="light"] .wz-push-guide ol li{color:#234753}
html[data-effective-theme="light"] .wz-push-note{color:#45626c!important}
html[data-effective-theme="light"] .wz-push-quiet{
  background:#ecf5f1;border-color:#a8c4c5
}
html[data-effective-theme="light"] .wz-push-quiet-toggle{color:#765222}
@media (max-width:550px){
 .wz-calendar-controls button{min-height:43px}
 .wz-calendar-weekdays,.wz-calendar-grid{gap:5px}
 .wz-calendar-day,.wz-calendar-empty{aspect-ratio:1.05}
 .wz-push-dialog{max-height:calc(100dvh - 34px)}
 .wz-push-dialog .wz-push-header{padding:13px 15px}
 .wz-push-dialog .wz-push-header strong{font-size:clamp(20px,5.5vw,25px)}
}

/* Spoiler-free victory share: text first, graphic + caption as a single native share. */
.wz-victory-dialog .wz-victory-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:9px}
.wz-victory-dialog .wz-victory-controls label{grid-column:1/-1;display:grid;max-width:100%;gap:5px}
.wz-victory-dialog .wz-victory-controls select{max-width:100%;width:100%}
.wz-victory-dialog .wz-victory-controls .wz-victory-action{
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:45px;font-size:12px;line-height:1.35;padding:9px;white-space:normal;margin:0
}
.wz-victory-dialog .wz-victory-controls .wz-victory-primary{background:#ffdc80;border-color:#fff0be;color:#092d42;font-weight:900}
.wz-victory-dialog .wz-victory-controls .wz-victory-quiet{background:#1b4257;color:#f3dba7;border-color:#6b8e99}
.wz-victory-share-note{font-size:11px;line-height:1.55;color:#c2d9d9;margin:12px 0 5px}
.wz-victory-caption-details{margin:5px 0 10px;border:1px solid #456979;border-radius:9px;padding:10px}
.wz-victory-caption-details summary{cursor:pointer;font-size:12px;color:#ffdc96;font-weight:800}
#wz-victory-caption-preview{display:block;box-sizing:border-box;width:100%;min-height:120px;resize:vertical;
 background:#0b2235;border:1px solid #577987;border-radius:9px;color:#f4e9d4;
 font:500 12px/1.5 system-ui;margin-top:9px;padding:11px}
@media(max-width:350px){
 .wz-victory-dialog .wz-victory-controls{grid-template-columns:1fr}
 .wz-victory-dialog .wz-victory-controls label{grid-column:1}
}
