/* VOICE: calm, crafted; a designer's daily card.
   IDEA: a paint swatch chip filed beside the day's index card.
   PICTURE: one large chip of the week's colour, sized to the screen height.
   COLOUR and TYPE: warm white page, ink text, the palette is the only colour. Bricolage Grotesque, as on COL Play.
   LAYOUT: one screen: chip left with its caption, the day right as one even list; month chips at the foot. */
:root{color-scheme:light;--ink:#1a1a1a;--soft:#8a857e;--rule:#e7e3dc}
*{box-sizing:border-box;min-width:0}
html,body{height:100%}
body{margin:0;background:#fbfaf8;color:var(--ink);font:400 18px/1.45 "Bricolage Grotesque","Avenir Next","Segoe UI",system-ui,sans-serif}
.wrap{min-height:100vh;min-height:100dvh;max-width:1200px;margin:0 auto;padding:clamp(16px,3vh,32px) max(4vw,20px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(14px,2.6vh,28px)}
.top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;color:var(--soft)}
.top b{font-weight:600;color:var(--ink)}
.card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;min-height:0}
.chip{margin:0;background:#fff;padding:12px 12px 0;box-shadow:0 1px 2px rgba(0,0,0,.06),0 18px 40px -18px rgba(60,40,20,.25);border-radius:3px;width:min(38vw,calc(100vh - 230px),calc(100dvh - 230px))}
.sw{aspect-ratio:1;background:var(--c);border-radius:1px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}
.cap{padding:10px 2px 14px}
.cap .v{font-weight:600}
.ci{border-top:1px solid var(--rule);margin-top:10px;padding-top:10px}.cap .d{font-weight:400}
.day{display:flex;flex-direction:column;min-height:0}
.row{padding:clamp(8px,1.5vh,13px) 0;border-bottom:1px solid var(--rule)}
.row:first-child{padding-top:0}.row:last-child{border-bottom:0}
.lbl{display:block;font-size:13px;color:var(--soft);margin-bottom:2px}
a.lbl{display:inline-flex;gap:.35em;color:var(--soft);text-decoration:none;border-bottom:1px solid currentColor;margin-bottom:4px}
a.lbl:hover,a.lbl:focus-visible{color:var(--ink);outline:none}
.d{color:var(--soft)}
.stack span{display:block}
.foot{display:flex;align-items:center;gap:12px}
.month{display:grid;grid-template-columns:repeat(31,minmax(0,1fr));gap:4px;flex:1}
.month a{display:block;aspect-ratio:1;max-height:26px;border-radius:2px;background:var(--dc);opacity:.35;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:opacity .2s,transform .2s}
.month a:hover{opacity:.8}.month a.on{opacity:1;transform:translateY(-3px)}
.month a:focus-visible,.arrow:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.arrow{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:20px;color:var(--ink);border:1px solid var(--rule);border-radius:50%;width:40px;height:40px;flex:none}
.arrow.off{opacity:.25;pointer-events:none}
@media(max-width:760px){.wrap{height:auto;min-height:100dvh}.card{grid-template-columns:1fr;align-items:start}.chip{width:100%;max-width:340px;margin:0 auto}.month{gap:2px}.foot{gap:8px}body{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.mnav{display:flex;flex-wrap:wrap;gap:2px 10px;justify-content:flex-end}.mnav a{color:var(--soft);text-decoration:none;padding:2px 0}.mnav a:hover,.mnav a:focus-visible{color:var(--ink);outline:none;text-decoration:underline}.mnav a[aria-current]{color:var(--ink);font-weight:600}
