:root {
  color-scheme: light;
  --ink: #252525;
  --muted: #8d8d8d;
  --canvas: #f4f4f4;
  --card: #ffffff;
  --pink: #f8e9ee;
  --yellow: #fff0b7;
  --blue: #e9f4ff;
  --lavender: #eeeafe;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.widget-shell { width: min(760px, 100%); margin: 0 auto; padding: 20px; }
.widget-header { display: flex; align-items: center; gap: 11px; min-height: 48px; margin-bottom: 16px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #202020; color: white; font-family: Georgia, serif; font-size: 20px; }
.eyebrow { margin: 0 0 2px; color: #999; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.today-block { margin-left: auto; color: var(--muted); text-align: right; font-size: 10px; line-height: 1.35; }
.today-block strong { display: block; color: var(--ink); font-size: 11px; font-weight: 650; }
.countdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric-card { min-height: 182px; padding: 17px; border: 1px solid rgba(0,0,0,.035); border-radius: 13px; background: var(--card); box-shadow: 0 2px 11px rgba(30,30,30,.04); }
.employment-card { background: var(--pink); }
.weekend-card { background: #202020; color: #fff; }
.month-card { background: var(--yellow); }
.payday-card { background: var(--blue); }
.year-card { background: var(--lavender); }
.metric-topline { display: flex; align-items: center; gap: 7px; color: inherit; opacity: .7; font-size: 11px; font-weight: 650; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.metric-value { display: block; margin: 31px 0 7px; font-size: clamp(25px, 5vw, 39px); font-weight: 720; letter-spacing: -.07em; line-height: 1; }
.metric-caption { display: block; min-height: 16px; color: inherit; opacity: .65; font-size: 11px; line-height: 1.4; }
.soft-panel { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 21px; padding: 9px 11px; border-radius: 8px; background: rgba(255,255,255,.55); color: #9d7a83; font-size: 10px; }
.soft-panel b { color: #4c3a3e; font-size: 11px; }
.progress-track { height: 5px; margin-top: 24px; overflow: hidden; border: 1px solid rgba(0,0,0,.3); border-radius: 99px; background: rgba(255,255,255,.55); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #292929; transition: width .4s ease; }
.weekend-card .progress-track { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.15); }
.weekend-card .progress-track span { background: #fff; }
.month-card .progress-track span { background: #c19b3a; }
.payday-card .progress-track span { background: #5e98c1; }
.year-card .progress-track span { background: #7967b8; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px 0; color: #a0a0a0; font-size: 10px; }
.status { color: #5f9f83; font-weight: 750; letter-spacing: .1em; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: currentColor; }
@media (max-width: 520px) { .widget-shell { padding: 13px; } .countdown-grid { grid-template-columns: 1fr; gap: 10px; } .metric-card { min-height: 156px; } .metric-value { margin-top: 23px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
