/* Product: Zoho Shifts / Workerly - page-specific design. Accent sampled from Shifts' icon
   (#226cb4, the anchor app of this bundled catalog entry). Mechanic is a toggleable weekly shift
   grid: clicking an empty slot fills it, clicking a filled slot clears it, with a running
   covered-vs-gap summary - distinct from every other mechanic on the site (a grid calendar, not
   a switchboard, matcher, checker, feed, builder or race).

   All classes scoped to .shw-page, prefixed shw-. */

.shw-page { --shw: #226cb4; --shw-d: #185086; --shw-l: #eaf2fa; --shw-gap: #d33032; }

.shw-page .ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff;
  margin-block-end: 18px;
}
.shw-page .ph-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

/* ------------------------------------------------------------------- grid-section -- */
.shw-grid-section { padding: clamp(48px, 7vw, 84px) 0; }
.shw-grid-section h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0 0 12px; }
.shw-grid-section .lede { max-width: 82ch; margin: 0 0 26px; }

.shw-grid { display: grid; grid-template-columns: 70px repeat(4, 1fr); gap: 6px; max-width: 480px; }
.shw-cell { display: flex; align-items: center; justify-content: center; min-height: 40px; font-size: .82rem; }
.shw-head { font-weight: 800; color: var(--muted); }
.shw-row-label { font-weight: 700; color: var(--ink); justify-content: flex-start; }
.shw-slot {
  font: inherit; cursor: pointer; border-radius: 8px; font-weight: 700; font-size: .78rem;
  background: color-mix(in srgb, var(--shw-gap) 10%, var(--white)); border: 1.5px dashed color-mix(in srgb, var(--shw-gap) 40%, var(--line)); color: var(--shw-gap);
}
.shw-slot.is-filled { background: var(--shw-l); border: 1.5px solid var(--shw); color: var(--shw-d); }

.shw-summary { margin: 16px 0 0; font-weight: 700; font-size: .92rem; color: var(--ink); }

/* ------------------------------------------------------------------------ need -- */
.shw-need {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--shw-l);
  border-block: 1px solid color-mix(in srgb, var(--shw) 18%, var(--line));
}
.shw-need h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 12px; }
.shw-need .lede { max-width: 82ch; margin: 0; }

/* ------------------------------------------------------------------------- caps -- */
.shw-caps { padding: clamp(48px, 7vw, 84px) 0; }
.shw-caps h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 22px; }
.shw-cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 13px; }
.shw-cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.shw-cap b { display: block; margin-block-end: 6px; font-size: 1.02rem; color: var(--shw-d); }
.shw-cap p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ------------------------------------------------------------------------- move -- */
.shw-move { padding: clamp(48px, 7vw, 84px) 0; }
.shw-move h2 { font-size: 1.35rem; margin: 0 0 10px; }
.shw-move h3 { font-size: 1.08rem; }

@media (max-width: 480px) {
  .shw-grid { grid-template-columns: 50px repeat(4, 1fr); }
  .shw-cell { min-height: 34px; font-size: .72rem; }
}
