/* "The whole job" section (workday.js) and the third value card. Page tokens from version-beauty/style.css; cards 18px, controls pill. */
.sec-workday { padding: clamp(5rem, 9vw, 8rem) 0; background: linear-gradient(var(--bg), #0e1014 40%, var(--bg)); }
.wd-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.wd-head .h2 { margin: 0; max-width: 26ch; }
.wd-head p { max-width: 62ch; }
.wd-head p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.wd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.1rem, 2.4vw, 1.8rem); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); margin-top: .9rem; }
.wd-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.wd-card-h b { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; } .wd-card-h span { font-size: 13px; color: var(--ink-3); }

/* intent split as granules (workday.js board): one pellet per message, poured into four trays by outcome.
   Shading from the hero's pellet tokens (--pd-*, --ps-*); trays share the page's card surface. */
.wd-gr-h { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem; }
.wd-gr-h b { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.wd-gr-h span { font-size: 13.5px; color: var(--ink-3); }
.wd-bins { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 40fr) minmax(150px, 14fr) minmax(150px, 14fr); grid-template-rows: auto 1fr; gap: 0 .9rem; }
.wd-bin { display: grid; grid-row: span 2; grid-template-rows: subgrid; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); overflow: hidden; }
.wd-bin-h { display: flex; align-items: flex-start; padding: 1rem 1.2rem .9rem; }
.wd-bin-h b { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.b-d .wd-bin-h b { color: var(--d); } .b-s .wd-bin-h b { color: var(--s); } .b-x .wd-bin-h b { color: var(--ink-2); } .b-f .wd-bin-h b { color: var(--ink-3); }
/* the tray: pellets settle at the bottom, groups side by side */
.wd-bin-b { display: flex; align-items: flex-end; align-content: flex-end; justify-content: space-evenly; flex-wrap: wrap; gap: 1.2rem 1rem; padding: 1.4rem 1.2rem 1.1rem; min-height: 170px;
  background: linear-gradient(to top, rgb(255 255 255 / .03), transparent 60%); border-top: 1px dashed var(--line-2); }
.wd-grp { display: flex; flex-direction: column; align-items: center; gap: .55rem; max-width: 100%; cursor: pointer; outline: none; transition: opacity 300ms var(--ease); }
.wd-grp > span { display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 .45rem; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); text-align: center; }
.wd-grp:focus-visible > span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wd-pile { display: flex; flex-wrap: wrap-reverse; justify-content: center; gap: 3px 4px; width: calc(var(--c, 6) * 23px); max-width: 100%; } /* fills from the bottom, top row centred: a heap */
.wd-pile i { width: calc(19px * var(--z, 1)); height: calc(13px * var(--z, 1)); border-radius: 50%; rotate: var(--t, 0deg); box-shadow: 0 2px 3px -1px rgb(0 0 0 / .6); }
.b-d .wd-pile i { background: radial-gradient(circle at 35% 30%, var(--pd-hi), var(--pd-mid) 45%, var(--pd-lo) 75%, var(--pd-edge)); }
.b-s .wd-pile i { background: radial-gradient(circle at 35% 30%, #fff, var(--ps-dot-mid) 50%, var(--ps-dot-lo)); }
.b-x .wd-pile i { background: radial-gradient(circle at 35% 30%, #d9dce1, #8d939c 55%, #50555d); }
.b-f .wd-pile i { background: transparent; box-shadow: none; border: 1.5px dashed var(--ps-dot-lo); }
/* pour in once the board is on screen */
.wd-gr .wd-pile i { opacity: 0; translate: 0 -46px; }
.wd-gr.poured .wd-pile i { animation: wd-pour 700ms var(--ease) var(--w, 0ms) forwards; }
@keyframes wd-pour { 60% { opacity: 1; translate: 0 3px; } to { opacity: 1; translate: 0 0; } }
/* hover or tap a group: the others step back */
.wd-gr.focus .wd-grp { opacity: .28; } .wd-gr.focus .wd-grp.on { opacity: 1; }
.wd-gr.focus .wd-grp.on > span { color: var(--ink); }
@media (max-width: 960px) { .wd-bins { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto 1fr; gap: .9rem; } }
@media (max-width: 560px) { .wd-bins { grid-template-columns: 1fr; grid-template-rows: none; } .wd-bin { grid-row: auto; grid-template-rows: auto 1fr; } .wd-bin-b { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .wd-gr .wd-pile i { opacity: 1; translate: none; animation: none; } }
.wd-fn { margin: .9rem 0 0; font-size: 12.5px; color: var(--ink-3); }

/* the guide */
.wd-stg-h, .wd-path { display: grid; grid-template-columns: 11rem repeat(3, minmax(0, 1fr)); gap: .6rem; }
.wd-stg-h { margin-bottom: .6rem; } .wd-stg-h::before { content: ""; }
.wd-stg-h span { display: flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--ink-2); }
.wd-stg-h em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink); }
.wd-path { padding: .6rem 0; border-top: 1px solid var(--line); align-items: center; }
.wd-path-l { display: flex; flex-direction: column; } .wd-path-l b { font-weight: 500; font-size: 14.5px; } .wd-path-l small { color: var(--ink-3); font-size: 12.5px; }
.wd-seg { display: flex; flex-wrap: wrap; gap: .35rem; padding: .55rem; border-radius: 12px; background: rgb(var(--d-rgb) / .08); border: 1px solid rgb(var(--d-rgb) / .22); }
.wd-path.short .wd-seg { background: rgb(var(--s-rgb) / .08); border-color: rgb(var(--s-rgb) / .22); }
.wd-seg span { font-size: 12.5px; padding: .25rem .6rem; border-radius: var(--pill); background: rgb(255 255 255 / .05); color: var(--ink); white-space: nowrap; }
.wd-guide-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.wd-guide-f div { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; } .wd-guide-f .ph-light { grid-row: span 2; font-size: 22px; color: var(--d); margin-top: 2px; }
.wd-guide-f b { font-weight: 500; } .wd-guide-f span { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

/* the day */
.wd-line { position: relative; height: 74px; margin: 0 22px 1.2rem; }
.wd-line::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgb(255 255 255 / .1), rgb(var(--d-rgb) / .5), rgb(255 255 255 / .1)); }
.wd-line button { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .45rem; border: 0; background: none; padding: 0; color: var(--ink-3); cursor: pointer; }
.wd-line i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 19px; color: var(--ink-2); font-style: normal; transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.wd-line time { font-family: var(--mono); font-size: 12.5px; }
.wd-line button:hover i { transform: translateY(-2px); color: var(--ink); }
.wd-line button.on i { background: var(--d); border-color: var(--d); color: var(--on-d); box-shadow: 0 0 0 6px rgb(var(--d-rgb) / .16); } .wd-line button.on time { color: var(--ink); }
.wd-mo { display: flex; flex-direction: column; gap: .9rem; }
.wd-mo-in { display: grid; grid-template-columns: 14rem minmax(0, 1fr) 13rem; gap: 1.4rem; align-items: center; }
.wd-mo-in.anim { animation: wd-in 500ms var(--ease) both; } @keyframes wd-in { from { opacity: 0; transform: translateY(8px); } }
.wd-mo-t { display: flex; flex-direction: column; gap: .3rem; } .wd-mo-t time { font-family: var(--mono); font-size: 13px; color: var(--d-ink); } .wd-mo-t b { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; } .wd-mo-t small { color: var(--ink-3); font-size: 13px; }
.wd-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.wd-cmp > div { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.wd-cmp small { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; letter-spacing: .02em; color: var(--ink-3); }
.wd-cmp p { margin: .45rem 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.wd-cmp .now { background: linear-gradient(160deg, rgb(var(--d-rgb) / .14), var(--surface-2) 70%); border-color: rgb(var(--d-rgb) / .32); }
.wd-cmp .now small { color: var(--d-ink); } .wd-cmp .now p { color: var(--ink); }
.wd-mo-k { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.wd-mo-k > b { font-family: var(--mono); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; color: var(--d); } .wd-mo-k > span { font-size: 13px; color: var(--ink-3); margin-bottom: .8rem; }
.wd-mo-nav { display: flex; align-items: center; justify-content: center; gap: .8rem; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.wd-mo-nav button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 200ms var(--ease); }
.wd-mo-nav button:hover:not(:disabled) { background: rgb(255 255 255 / .06); } .wd-mo-nav button:disabled { opacity: .35; cursor: default; }

/* value: third card */
.vl-wide { grid-column: 1 / -1; }
.vl-wide-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.6rem; }
.vl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; }
.vl-out.vl-out-g { grid-template-columns: 1fr; margin-top: 0; padding-top: 0; border-top: 0; padding-left: 1.6rem; border-left: 1px solid var(--line); align-content: center; gap: 1rem; }
.vl-out-g > div:first-child b { color: var(--d); font-size: clamp(2.4rem, 4vw, 3.4rem); }
.vl-out-g .sub b { font-size: 1.35rem; }

@media (max-width: 960px) {
  .wd-head { grid-template-columns: 1fr; }
  .wd-stg-h { display: none; }
  .wd-path { grid-template-columns: 1fr; } .wd-seg::before { display: none; }
  .wd-guide-f { grid-template-columns: 1fr; }
  .wd-mo-in { grid-template-columns: 1fr; gap: 1rem; }
  .wd-cmp { grid-template-columns: 1fr; }
  .wd-line { margin: 0 18px 1rem; } .wd-line i { width: 36px; height: 36px; font-size: 16px; } .wd-line time { font-size: 10.5px; }
  .vl-wide-in, .vl-cols { grid-template-columns: 1fr; } .vl-out.vl-out-g { padding-left: 0; border-left: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .wd-line time { display: none; } .wd-line { height: 50px; } }
