/* Cleaning workspace for managers. Same language as the cleaners' "My cleans" screen:
   DM Sans, white, 1px #EBEBEB lines, navy for actions, amber = needs a decision, red = urgent, green = done. */
.cw {
  --w-bg: #fff; --w-bg2: #f7f7f7; --w-sel: #f1f1f1; --w-text: #222; --w-muted: #717171; --w-line: #ebebeb;
  --w-navy: #142e40; --w-warn-bg: #fff5e5; --w-warn: #805218; --w-ok: #39784d; --w-bad: #b34035;
  font: 400 15px/1.45 'DM Sans', system-ui, sans-serif; color: var(--w-text); max-width: 1320px; margin: 0 auto;
}
.cw *, .cw *::before, .cw *::after { box-sizing: border-box; }
.cw svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cw h1, .cw h2, .cw h3 { font-family: 'DM Sans', system-ui, sans-serif; letter-spacing: -0.01em; color: var(--w-text); }
.cw-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cw-muted { color: var(--w-muted); font-size: 14px; }
.cw-sub { color: var(--w-muted); margin: 16px 0; }

body.cw-body { background: #fff; }

/* Header + tabs */
.cw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cw-head h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.15; }
.cw-head p { margin: 4px 0 0; color: var(--w-muted); }
.cw-range { display: inline-flex; border: 1px solid var(--w-line); border-radius: 8px; padding: 2px; }
.cw-range a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; color: var(--w-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.cw-range a[aria-current] { background: var(--w-navy); color: #fff; }
.cw-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--w-line); margin-bottom: 16px; overflow-x: auto; }
.cw-tabs a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--w-muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cw-tabs a[aria-current] { color: var(--w-text); font-weight: 600; }
.cw-tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--w-navy); border-radius: 2px; }

/* Buttons and links */
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #c9cfd4; background: #fff; color: var(--w-navy); font: 600 14px/1 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; }
.cw-btn:hover { border-color: var(--w-navy); }
.cw-btn--primary { background: var(--w-navy); border-color: var(--w-navy); color: #fff; }
.cw-btn--sm { min-height: 32px; padding: 0 10px; font-size: 13px; }
.cw-btn:disabled { opacity: .6; cursor: progress; }
.cw-link { background: none; border: 0; padding: 0; color: var(--w-navy); font: 500 14px/1.4 'DM Sans', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cw-link--inv { color: #fff; margin-left: 8px; }
.cw-icon { width: 36px; height: 36px; border: 1px solid var(--w-line); border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--w-text); }
.cw :focus-visible { outline: 2px solid var(--w-navy); outline-offset: 2px; }

/* Needs attention */
.cw-attn { margin-bottom: 16px; }
.cw-attn__h { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.cw-attn__list { display: flex; gap: 8px; flex-wrap: wrap; }
.cw-at { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; max-width: 320px; padding: 10px 14px; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--w-text); }
.cw-at b { font-weight: 600; font-size: 14px; }
.cw-at span { color: var(--w-muted); font-size: 13px; }
.cw-at:hover { background: var(--w-bg2); }
.cw-at.is-warn { background: var(--w-warn-bg); border-color: #f1dcb4; }
.cw-at.is-warn b { color: var(--w-warn); }
.cw-at.is-bad { border-color: #e7b9b3; }
.cw-at.is-bad b { color: var(--w-bad); }
.cw-ok { margin: 0; color: var(--w-ok); font-size: 14px; font-weight: 500; }

/* Week */
.cw-week { border: 1px solid var(--w-line); border-radius: 12px; padding: 10px 16px 8px; margin-bottom: 16px; }
.cw-week__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cw-week__nav { display: flex; gap: 6px; align-items: center; }
.cw-week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cw-day { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 64px; padding: 8px 10px; border: 1px solid var(--w-line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--w-text); text-align: left; }
.cw-day:hover:not(:disabled) { border-color: #b8bec4; }
.cw-day.is-on { background: var(--w-sel); border-color: var(--w-text); box-shadow: inset 0 0 0 1px var(--w-text); }
.cw-day.is-out { cursor: default; color: #b0b0b0; background: var(--w-bg2); border-style: dashed; }
.cw-day__w { font-size: 12px; color: var(--w-muted); }
.cw-day__w b { color: var(--w-text); font-weight: 600; }
.cw-day.is-today .cw-day__w b { background: var(--w-navy); color: #fff; border-radius: 999px; padding: 0 6px; }
.cw-day__main { font-size: 14px; font-weight: 600; }
.cw-day.is-none .cw-day__main { font-weight: 400; color: var(--w-muted); }
.cw-day__sub { font-size: 12px; color: var(--w-muted); line-height: 1.3; }
.cw-day.has-un .cw-day__sub { color: var(--w-warn); font-weight: 500; }
.cw-day.is-done .cw-day__sub { color: var(--w-ok); }
.cw-day__short { display: none; font-size: 11px; font-weight: 600; color: var(--w-warn); }

/* Filters */
.cw-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.cw-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.cw-pills button { min-height: 36px; padding: 0 14px; border: 1px solid var(--w-line); border-radius: 999px; background: #fff; font: 500 14px/1 'DM Sans', sans-serif; color: var(--w-text); cursor: pointer; }
.cw-pills button[aria-pressed="true"] { background: var(--w-text); border-color: var(--w-text); color: #fff; }
.cw-filters__more { display: flex; gap: 6px; flex-wrap: wrap; }
.cw-filters select, .cw-filters input, .cw-bulk select, .cw-prefs select, .cw-histf select, .cw-histf input, .cw-inline input {
  width: auto; min-height: 36px; padding: 6px 10px; border: 1px solid var(--w-line); border-radius: 8px; background: #fff; font: 400 14px 'DM Sans', sans-serif; color: var(--w-text); margin: 0;
}
.cw-filters input[type=search] { min-width: 200px; }
.cw-count { margin: 0 0 0 auto; color: var(--w-muted); font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cw-chipbtn { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--w-text); background: var(--w-sel); color: var(--w-text); font: 500 13px 'DM Sans', sans-serif; cursor: pointer; }
.cw-morefilters > summary { display: none; }
.cw-kind { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; color: var(--w-muted); background: var(--w-bg2); }
.cw-kind.is-same { color: var(--w-navy); background: #e9eff3; }
.cw-kind.is-early { color: var(--w-warn); background: var(--w-warn-bg); }
.cw-row__time b { color: var(--w-text); font-weight: 600; }
.cw-change { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--w-warn-bg); color: var(--w-warn); font-size: 14px; }
.cw-change p { margin: 0 0 6px; }
.cw-note__acts { display: flex; gap: 16px; align-items: center; margin-top: 4px; }
.cw-note__acts form { margin: 0; }
.cw-at .cw-link { margin-top: 4px; font-size: 13px; }
.cw-attn__fold { margin-top: 8px; }
.cw-attn__fold > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--w-line); border-radius: 12px; font-weight: 500; font-size: 14px; }
.cw-attn__fold[open] > summary { margin-bottom: 8px; }
body.cw-bulk-on .cw-work { margin-bottom: 96px; }

/* Workspace: schedule left, details right */
.cw-work { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); border: 1px solid var(--w-line); border-radius: 12px; overflow: hidden; min-height: 560px; }
.cw-list { border-right: 1px solid var(--w-line); max-height: calc(100vh - 180px); overflow-y: auto; }
.cw-detail { max-height: calc(100vh - 180px); overflow-y: auto; background: #fff; }
.cw-group__h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 8px 8px; background: var(--w-bg2); border-bottom: 1px solid var(--w-line); font-size: 14px; font-weight: 600; }
.cw-group__h span { flex: 1; }
.cw-group__h small { color: var(--w-muted); font-weight: 400; }
.cw-tag { font-style: normal; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--w-line); color: var(--w-muted); margin-left: 4px; }
.cw-tag.is-bad { color: var(--w-bad); border-color: #e7b9b3; }
.cw-tag.is-ok { color: var(--w-ok); }
.cw-check { display: flex; align-items: center; justify-content: center; width: 40px; min-height: 40px; flex: none; cursor: pointer; }
.cw-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--w-navy); cursor: pointer; }
.cw-row { display: flex; align-items: center; gap: 4px; padding: 0 12px 0 8px; border-bottom: 1px solid var(--w-line); background: #fff; }
.cw-row:hover { background: #fafafa; }
.cw-row.is-sel { background: var(--w-sel); }
.cw-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 4px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cw-row__flat { font-weight: 600; font-size: 15px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cw-row__time { font-size: 14px; color: var(--w-muted); font-variant-numeric: tabular-nums; }
.cw-row__flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.cw-flag { font-size: 12px; font-weight: 500; color: var(--w-muted); }
.cw-flag.is-warn { color: var(--w-warn); }
.cw-flag.is-bad { color: var(--w-bad); }
.cw-row__who { flex: none; max-width: 40%; text-align: right; }
.cw-who { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cw-who.is-un { padding: 2px 10px; border-radius: 999px; background: var(--w-warn-bg); color: var(--w-warn); font-size: 13px; }
.cw-who.is-ok { color: var(--w-ok); font-size: 13px; }
.cw-row__chev { flex: none; color: #b0b0b0; font-size: 20px; width: 16px; text-align: center; }
.cw-av { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--w-navy); color: #fff; font-weight: 600; font-size: 13px; flex: none; }
.cw-av--sm { width: 24px; height: 24px; font-size: 10px; }

.cw-blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 48px 24px; text-align: center; min-height: 240px; }
.cw-blank b { font-size: 17px; font-weight: 600; }
.cw-blank span { color: var(--w-muted); font-size: 14px; }
.cw-blank .cw-btn { margin-top: 12px; }
.cw-skel { padding: 24px; display: grid; gap: 12px; }
.cw-skel i { display: block; height: 16px; border-radius: 6px; background: linear-gradient(90deg, #f1f1f1, #f7f7f7, #f1f1f1); background-size: 200% 100%; animation: cw-sh 1.2s linear infinite; }
.cw-skel i.w { height: 72px; }
.cw-skel i:nth-child(2) { width: 60%; }
@keyframes cw-sh { to { background-position: -200% 0; } }

/* Details panel */
.cw-d { padding: 24px; position: relative; }
.cw-d__close { display: none; }
.cw-d__date { margin: 0; color: var(--w-muted); font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cw-d__head h2 { margin: 4px 0 4px; font-size: 22px; font-weight: 600; }
.cw-d__addr { display: inline-flex; gap: 6px; align-items: flex-start; color: var(--w-muted); font-size: 14px; min-height: 32px; padding: 4px 0; text-decoration: underline; text-decoration-color: var(--w-line); text-underline-offset: 3px; }
.cw-chip { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--w-bg2); color: var(--w-muted); }
.cw-chip--warn { background: var(--w-warn-bg); color: var(--w-warn); }
.cw-chip--bad { background: #fbeceb; color: var(--w-bad); }
.cw-chip--ok { background: #eef5f0; color: var(--w-ok); }
.cw-d__times { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 8px; background: var(--w-bg2); border-radius: 12px; }
.cw-d__times > div { display: flex; flex-direction: column; padding: 14px 16px; }
.cw-d__times > div + div { border-left: 1px solid var(--w-line); }
.cw-d__times span { color: var(--w-muted); font-size: 13px; }
.cw-d__times b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-d__context { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.cw-d__context li { padding-left: 14px; position: relative; }
.cw-d__context li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #c4c4c4; }
.cw-d__context li.is-warn { color: var(--w-warn); } .cw-d__context li.is-warn::before { background: #e6b15c; }
.cw-d__context li.is-bad { color: var(--w-bad); } .cw-d__context li.is-bad::before { background: var(--w-bad); }
.cw-d .ec-box { margin: 12px 0 0; }
.cw-d__alloc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--w-line); }
.cw-d h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.cw-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cw-person { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.cw-person:hover { border-color: #b8bec4; }
.cw-person.is-on { border-color: var(--w-navy); box-shadow: inset 0 0 0 1px var(--w-navy); }
.cw-person.is-busy { opacity: .6; cursor: progress; }
.cw-person.is-busy .cw-person__act { animation: cw-spin 1s linear infinite; }
@keyframes cw-spin { to { transform: rotate(360deg); } }
.cw-person__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cw-person__txt b { font-weight: 600; font-size: 15px; }
.cw-person__txt b small { font-weight: 400; color: var(--w-muted); }
.cw-person__txt span { font-size: 13px; color: var(--w-muted); }
.cw-person__act { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--w-line); color: var(--w-navy); }
.cw-person.is-on .cw-person__act { background: var(--w-navy); border-color: var(--w-navy); color: #fff; }
.cw-theirday { margin: 2px 0 4px 60px; font-size: 13px; color: var(--w-muted); }
.cw-theirday summary { cursor: pointer; }
.cw-theirday ul { margin: 4px 0 0; padding-left: 16px; }
.cw-d__alloc > .cw-link { margin-top: 10px; }
.cw-d__done { margin-top: 24px; padding: 16px; border-radius: 12px; background: #f3f8f4; }
.cw-d__done p { margin: 0 0 4px; }
.cw-d__done p:first-child { display: flex; gap: 8px; align-items: center; color: var(--w-ok); }
.cw-d__notes { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--w-line); display: grid; gap: 8px; }
.cw-note { padding: 12px 14px; border: 1px solid var(--w-line); border-radius: 12px; font-size: 14px; }
.cw-note p { margin: 0 0 4px; }
.cw-note__meta { color: var(--w-muted); font-size: 13px; }
.cw-note.is-new { border-color: #cfd8df; background: #fbfcfd; }
.cw-note.is-issue { border-color: #e7b9b3; }
.cw-note.is-issue .cw-note__meta { color: var(--w-bad); font-weight: 500; }
.cw-d__more { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--w-line); font-size: 14px; }
.cw-d__more summary { cursor: pointer; font-weight: 500; min-height: 32px; display: flex; align-items: center; }
.cw-prefs { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin: 8px 0; }
.cw-prefs label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--w-muted); }
.cw-hist { margin: 8px 0 0; padding-left: 16px; color: var(--w-muted); }
.cw-d__full { margin: 16px 0 0; font-size: 13px; color: var(--w-muted); }

/* Bulk bar + toast */
.cw-bulk { position: sticky; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 12px 16px; background: #fff; border: 1px solid #d6d6d6; border-radius: 12px; box-shadow: 0 6px 20px rgba(34, 34, 34, .08); }
.cw-bulk__msg { flex-basis: 100%; margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--w-warn-bg); color: var(--w-warn); font-size: 14px; }
.cw-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 8px; background: var(--w-text); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.cw-toast[hidden], .cw-bulk[hidden] { display: none; }

/* Cleaners tab */
.cw-team { display: grid; border: 1px solid var(--w-line); border-radius: 12px; overflow: hidden; }
.cw-mate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--w-line); }
.cw-mate:last-child { border-bottom: 0; }
.cw-mate.is-off { opacity: .6; }
.cw-mate__who { display: flex; flex-direction: column; } .cw-mate__who b { font-weight: 600; } .cw-mate__who span { color: var(--w-muted); font-size: 13px; }
.cw-mate__n { display: flex; gap: 24px; margin: 0; }
.cw-mate__n div { display: flex; flex-direction: column; align-items: center; } .cw-mate__n dt { color: var(--w-muted); font-size: 12px; } .cw-mate__n dd { margin: 0; font-weight: 600; font-size: 18px; }
.cw-mate__act { display: flex; gap: 12px; align-items: center; } .cw-mate__act form { margin: 0; }

/* Laundry + history */
.cw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cw-panel { border: 1px solid var(--w-line); border-radius: 12px; padding: 20px; }
.cw-panel h2 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.cw-big { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.cw-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cw-lines li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--w-line); }
.cw-lines li span { flex: 1; color: var(--w-muted); font-size: 14px; } .cw-lines li form { margin: 0; }
.cw-inline { display: flex; gap: 8px; flex-wrap: wrap; } .cw-inline input { flex: 1; min-width: 200px; }
.cw-histf { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.cw-histf label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--w-muted); }
.cw-histlist { border: 1px solid var(--w-line); border-radius: 12px; overflow: hidden; }
.cw-hrow { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 2fr auto; gap: 16px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--w-line); font-size: 14px; }
.cw-hrow:last-child { border-bottom: 0; }
.cw-hrow > div { display: flex; flex-direction: column; } .cw-hrow b { font-weight: 600; } .cw-hrow__notes p { margin: 0 0 2px; }
.cw-pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 16px 0; color: var(--w-muted); }

/* Tablet and phone: one column; the clean opens full screen. */
@media (max-width: 899px) {
  .cw-morefilters { width: 100%; }
  .cw-morefilters > summary { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--w-line); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; width: max-content; list-style: none; }
  .cw-morefilters > summary::-webkit-details-marker { display: none; }
  .cw-morefilters[open] > summary { margin-bottom: 8px; }
  .cw-pills { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .cw-pills button { flex: none; }
  .cw-week__days { gap: 3px; }
  .cw-day { min-height: 56px; padding: 6px 5px; }
  .cw-day__sub { display: none; }
  .cw-day__short { display: block; }
  .cw-day.has-un { border-color: #e6c48a; background: #fffaf1; }
  .cw-day__main { font-size: 12px; }
  .cw-bulk { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); margin: 0; }
  .cw-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) {
  .cw-work { grid-template-columns: 1fr; border-radius: 12px; min-height: 0; }
  .cw-list { border-right: 0; max-height: none; overflow: visible; }
  .cw-group__h { position: static; }
  .cw-detail { display: none; }
  .cw-detail.is-open { display: block; position: fixed; inset: 0; z-index: 80; max-height: none; padding-bottom: env(safe-area-inset-bottom); }
  .cw-d__close { display: grid; place-items: center; position: sticky; top: 8px; margin: -8px -8px 0 auto; width: 44px; height: 44px; border: 1px solid var(--w-line); border-radius: 50%; background: #fff; font-size: 16px; cursor: pointer; z-index: 2; }
  .cw-lock { overflow: hidden; }
  .cw-mate { grid-template-columns: auto minmax(0, 1fr); }
  .cw-mate__n, .cw-mate__act { grid-column: 1 / -1; }
  .cw-two { grid-template-columns: 1fr; }
  .cw-hrow { grid-template-columns: 1fr 1fr; }
  .cw-hrow__notes { grid-column: 1 / -1; }
  .cw-count { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .cw-head h1 { font-size: 24px; }
  .cw-filters__more { width: 100%; } .cw-filters__more > * { flex: 1 1 140px; } .cw-filters input[type=search] { min-width: 0; }
  .cw-week { padding: 10px 8px; } .cw-day { padding: 6px 0; } .cw-day__w { font-size: 11px; }
  .cw-row__who { max-width: 36%; } .cw-who { font-size: 13px; } .cw-row__chev { display: none; }
  .cw-d { padding: 16px; } .cw-d__times { grid-template-columns: 1fr; } .cw-d__times > div + div { border-left: 0; border-top: 1px solid var(--w-line); }
  .cw-at { max-width: 100%; flex: 1 1 100%; }
  .cw-bulk { bottom: 8px; }
  .cw-range a { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .cw-skel i, .cw-person.is-busy .cw-person__act { animation: none; } }
