/* Shared staff-header proportions and typography from Connect Bookings. */
:root { --cw-header-height:86px; }
.cw-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden] {display:none!important}
.cw-body {font-family:var(--cw-font)}
.cw-body :is(button,input,select,textarea) {font-family:inherit}
.cw-shell {min-height:calc(100vh - var(--cw-header-height))}
.cw-sidebar {top:var(--cw-header-height);height:calc(100vh - var(--cw-header-height));flex-basis:220px;padding:24px 14px}
.cw-topbar {position:sticky;top:0;z-index:1000;display:flex;min-height:var(--cw-header-height);height:auto;padding:20px 26px;gap:22px;border-bottom:1px solid var(--cw-line);background:color-mix(in srgb,var(--cw-bg) 92%,transparent);backdrop-filter:blur(20px) saturate(150%)}
.cw-topbar-left {gap:14px;flex-shrink:0}
.cw-header-brand {display:flex;align-items:center;gap:15px}
.cw-header-brand .cw-brand-logo {width:190px}
.cw-header-icon {display:none;width:32px;height:32px}
.cw-header-search {display:flex;align-items:center;gap:10px;flex:1;max-width:460px;min-width:160px;min-height:40px;padding:0 14px;border:1px solid var(--cw-line);border-radius:999px;background:var(--cw-surface);color:var(--cw-muted)}
.cw-header-search svg {flex-shrink:0}
.cw-header-search input {width:100%;padding:10px 0;border:0;outline:0;background:transparent;color:var(--cw-ink);font-size:12px}
.cw-header-search:focus-within {outline:2px solid var(--cw-brand);outline-offset:2px}
.cw-topbar-actions {margin-left:auto;gap:10px;flex-shrink:0}
.cw-topbar-add {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid var(--cw-line);border-radius:999px;background:var(--cw-soft);color:var(--cw-ink);font-size:12px;font-weight:600}
.cw-theme-toggle {display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border:1px solid var(--cw-line);border-radius:50%;background:var(--cw-soft);color:var(--cw-ink)}
.cw-theme-toggle span {line-height:0}
.cw-theme-toggle .cw-theme-sun {display:none}
[data-cw-theme="dark"] .cw-theme-toggle .cw-theme-moon {display:none}
[data-cw-theme="dark"] .cw-theme-toggle .cw-theme-sun {display:block}
.cw-theme-toggle:hover,.cw-notification-trigger:hover,.cw-user-menu summary:hover {background:var(--cw-accent-soft)}
.cw-user-menu summary {display:flex;align-items:center;height:38px;padding:3px 9px 3px 4px;gap:8px;border:1px solid var(--cw-line);border-radius:999px;background:var(--cw-surface);color:var(--cw-ink);list-style:none;white-space:nowrap}
.cw-user-menu summary strong {font-size:11px;font-weight:600}
.cw-user-menu summary .cw-avatar {font-size:12px;font-weight:600}
.cw-user-menu summary svg {width:12px;height:12px;color:var(--cw-muted)}
.cw-user-menu>div {z-index:10020;top:calc(100% + 9px);width:220px;padding:14px;border-radius:16px;background:var(--cw-surface);box-shadow:0 24px 70px rgba(12,22,18,.23)}
.cw-user-menu>div>strong {display:block;padding:4px 12px 10px;font-size:13px;font-weight:600}
.cw-user-menu>div {width:280px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 100px);overflow:auto}
.cw-account-type {display:block;padding:0 12px 12px;color:var(--cw-muted);font-size:11px}
.cw-view-switcher {display:grid;gap:9px;padding:14px 0;margin:0 0 6px;border-top:1px solid var(--cw-line);border-bottom:1px solid var(--cw-line)}
.cw-view-switcher label {font-size:12px;font-weight:600}
.cw-view-switcher select {min-width:0;width:100%;height:40px;padding:0 10px;border:1px solid var(--cw-line);border-radius:10px;background:var(--cw-soft);color:var(--cw-ink);font-size:12px}
.cw-view-switcher button,.cw-preview-bar button {padding:10px 14px;border:1px solid var(--cw-line);border-radius:999px;background:var(--cw-soft);color:var(--cw-ink);font-weight:600;font-size:12px}
.cw-preview-bar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:22px;border:1px solid var(--cw-brand);border-radius:16px;background:var(--cw-accent-soft)}
.cw-preview-bar>span {display:grid;gap:4px;font-size:13px}
.cw-preview-bar small {color:var(--cw-secondary);font-size:11px}
.cw-team-directory {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cw-member-card {display:flex;align-items:flex-start;gap:14px;padding:22px}
.cw-member-card .cw-avatar {width:42px;height:42px;font-size:17px}
.cw-member-card h2 {margin:0;font-size:16px;font-weight:600}
.cw-member-card p {margin:7px 0 12px;color:var(--cw-muted);font-size:13px}
.cw-member-type {display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--cw-soft);color:var(--cw-secondary);font-size:11px;font-weight:600}
body[data-cw-preview] :disabled {cursor:default;opacity:.6}
@media(max-width:1100px){.cw-team-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cw-team-directory{grid-template-columns:1fr;gap:12px}.cw-preview-bar{align-items:flex-start;flex-direction:column;gap:10px}.cw-view-switcher select{font-size:16px}}
.cw-notification-menu {position:relative}
.cw-notification-trigger {position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--cw-line);border-radius:50%;background:var(--cw-soft);color:var(--cw-ink);cursor:pointer;list-style:none}
.cw-notification-trigger::-webkit-details-marker {display:none}
.cw-notification-trigger svg {width:17px;height:17px}
.cw-notification-badge {position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--cw-brand);color:var(--cw-on-accent);font-size:10px;font-weight:600}
.cw-notification-panel {position:absolute;z-index:10020;top:calc(100% + 10px);right:-92px;width:min(390px,calc(100vw - 28px));max-height:calc(100dvh - 102px);overflow:auto;border:1px solid var(--cw-line);border-radius:22px;background:var(--cw-surface);color:var(--cw-ink);box-shadow:0 24px 70px rgba(12,22,18,.23)}
.cw-notification-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 14px;border-bottom:1px solid var(--cw-line)}
.cw-notification-head h2 {margin:0;font-size:22px;font-weight:600;letter-spacing:-.6px}
.cw-notification-tools {display:flex;align-items:center;gap:6px;white-space:nowrap}
.cw-notification-tools>span {padding:5px 8px;border-radius:999px;background:var(--cw-soft);color:var(--cw-muted);font-size:10px;font-weight:600}
.cw-notification-tools button {padding:5px 6px;border:0;border-radius:999px;background:transparent;color:var(--cw-muted);font-size:10px;font-weight:600}
.cw-notification-tools button:hover {background:var(--cw-soft)}
.cw-notification-tools button:disabled {opacity:.45;cursor:default}
.cw-notification-list {padding:8px}
.cw-notification-item {position:relative;border-radius:13px}
.cw-notification-item.is-unread {background:color-mix(in srgb,var(--cw-brand) 8%,var(--cw-surface))}
.cw-notification-item>a {display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;padding:11px 42px 11px 10px;border-radius:13px}
.cw-notification-item>a:hover {background:var(--cw-soft)}
.cw-notification-icon {display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--cw-soft);color:var(--cw-link)}
.cw-notification-icon svg {width:15px;height:15px}
.cw-notification-copy {display:grid;gap:4px;min-width:0}
.cw-notification-copy strong {font-size:12px;font-weight:600}
.cw-notification-copy>span {font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cw-notification-copy p {margin:0;color:var(--cw-muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.cw-notification-copy small {color:var(--cw-muted);font-size:10px}
.cw-notification-dismiss {position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--cw-muted)}
.cw-notification-dismiss svg {width:13px;height:13px}
.cw-notification-dismiss:hover {background:var(--cw-red-bg);color:var(--cw-red-ink)}
.cw-notification-empty {margin:0;padding:24px;text-align:center;color:var(--cw-muted);font-size:12px}
.cw-notification-status {margin:0;padding:0 18px 14px;color:var(--cw-red-ink);font-size:12px}
.cw-mobile-menu {width:38px;height:38px;align-items:center;justify-content:center;padding:0;border:1px solid var(--cw-line);border-radius:50%;background:var(--cw-soft);color:var(--cw-ink)}
.cw-content {padding-top:28px}
.cw-page-heading {margin-bottom:22px}
.cw-page-heading h1 {margin:0;font-size:clamp(26px,3vw,32px);font-weight:600;letter-spacing:-.8px}
.cw-page-heading p {margin-top:8px}
.cw-section-heading h2,.cw-panel>h2,.cw-next-panel h2 {margin-top:0;font-weight:600}
.cw-section-heading {margin-bottom:17px}
.cw-button,.cw-nav a,.cw-table th {font-weight:600}
.cw-stat {min-height:110px}
.cw-stat>span {font-size:11px;font-weight:600;letter-spacing:0}
.cw-stat strong {font-weight:600;margin-top:10px}
.cw-record-reference {display:block;margin-bottom:7px;font-size:12px;color:var(--cw-muted);font-weight:600}
.cw-job-heading .cw-demo-label {display:inline-block;margin-bottom:8px}
.cw-login-art h1 {font-size:clamp(32px,4vw,54px);letter-spacing:-1.5px}
.cw-nav a {border-radius:12px;gap:12px;font-size:13px}
.cw-nav a svg {width:18px;height:18px;flex-shrink:0}
.cw-panel,.cw-stat,.cw-year-month,.cw-calendar-month {border-radius:18px}
.cw-stat {background:var(--cw-surface)}
.cw-stat:first-child {background:var(--cw-accent-soft)}
.cw-stat:nth-child(2) {background:var(--cw-green-bg)}
.cw-stat:nth-child(3) {background:var(--cw-purple-bg)}
.cw-stat:nth-child(4) {background:var(--cw-red-bg)}
.cw-board-card {border-radius:15px}
.cw-board-card:hover {border-color:var(--cw-brand)}
.cw-week-strip a {border-radius:16px;gap:8px}
.cw-week-strip a.is-active {box-shadow:none;background:var(--cw-brand);color:var(--cw-on-accent)}
.cw-week-strip a.is-active span,.cw-week-strip a.is-active small {color:var(--cw-on-accent)}
.cw-myday-summary div {border-radius:14px}
.cw-stage {border-radius:999px}
.cw-calendar-day small {display:block;font-size:9px}
.cw-day-task {border-radius:12px;padding:17px 10px}
.cw-day-task:hover {background:var(--cw-soft)}
.cw-mobile-nav {display:none}
.cw-mobile-jobs {display:none}
@media(max-width:1100px) {
  .cw-header-search {display:none}
}
@media(max-width:850px) {
  .cw-mobile-menu {display:inline-flex}
  .cw-sidebar {top:var(--cw-header-height);height:calc(100dvh - var(--cw-header-height));overflow:auto}
}
@media(max-width:600px) {
  :root {--cw-header-height:66px}
  .cw-topbar {min-height:var(--cw-header-height);height:auto;padding:14px;gap:8px}
  .cw-topbar-left {gap:8px;min-width:0}
  .cw-header-brand .cw-brand-logo {width:120px}
  .cw-topbar-actions {gap:7px}
  .cw-user-menu summary {padding:3px;width:38px;justify-content:center}
  .cw-user-menu summary strong,.cw-user-menu summary svg {display:none}
  .cw-notification-panel {position:fixed;top:76px;right:14px;left:14px;width:auto;max-height:calc(100dvh - 92px)}
  .cw-topbar-add {display:inline-flex;width:38px;height:38px;min-width:38px;padding:0;border-radius:50%}
  .cw-topbar-add>span {display:none}
  .cw-stat {min-height:100px}
  .cw-content {padding-bottom:100px}
  .cw-mobile-nav {position:fixed;z-index:90;bottom:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:14px;right:14px;display:flex;gap:4px;justify-content:space-around;padding:7px;border:1px solid var(--cw-line);border-radius:22px;background:color-mix(in srgb,var(--cw-surface) 94%,transparent);backdrop-filter:blur(18px);box-shadow:0 8px 30px rgba(0,0,0,.15)}
  .cw-mobile-nav a {display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;border-radius:15px;padding:5px;color:var(--cw-muted);font-size:10px;font-weight:600}
  .cw-mobile-nav a.is-active {background:var(--cw-accent-soft);color:var(--cw-link)}
  .cw-mobile-nav svg {width:20px;height:20px}
  .cw-day-task {display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px 10px}
  .cw-day-task .cw-day-task-icon {grid-row:1/3}
  .cw-day-task .cw-stage {display:inline-flex;grid-column:2;justify-self:start}
  .cw-day-task-text small {white-space:normal}
  .cw-table-panel:has(+.cw-mobile-jobs) .cw-table-scroll {display:none}
  .cw-table-panel:has(+.cw-mobile-jobs) {margin-bottom:14px}
  .cw-mobile-jobs {display:grid;gap:12px}
  .cw-mobile-job-card {display:grid;gap:12px;padding:18px;border:1px solid var(--cw-line);border-radius:18px;background:var(--cw-surface)}
  .cw-mobile-job-card:hover {border-color:var(--cw-brand)}
  .cw-mobile-job-card h2 {margin:0;font-size:17px;font-weight:600;line-height:1.35}
  .cw-mobile-job-card p,.cw-mobile-job-card small {margin:0;color:var(--cw-muted);font-size:12px}
  .cw-mobile-job-meta {display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--cw-muted);font-size:11px}
  .cw-job-progress {height:4px;overflow:hidden;border-radius:999px;background:var(--cw-soft)}
  .cw-job-progress>span {display:block;height:100%;border-radius:999px;background:var(--cw-brand)}
}
@media(max-width:380px) {
  .cw-header-brand .cw-brand-logo {width:100px}
}
@media(max-width:350px) {
  .cw-header-brand .cw-brand-logo {display:none}
  .cw-header-icon {display:block}
  .cw-topbar {padding:14px 10px}
  .cw-notification-head {padding:16px 14px 12px;gap:7px}
  .cw-notification-head h2 {font-size:19px}
}
.cw-shift-label{font-size:12px;color:var(--cw-muted);margin:8px 0 16px}.cw-shift-label strong,.cw-team-load.is-overloaded{color:var(--cw-red-ink)}.cw-team-load small{display:block;font-size:11px;margin-top:4px}.cw-member-schedule{display:block;color:var(--cw-muted);font-size:12px;margin-top:10px}.cw-member-edit{display:inline-block;color:var(--cw-accent);font-size:12px;margin-top:8px}
.cw-timer-panel .cw-timer-report{display:flex;width:100%;margin-top:8px}
#cw-report-issue-form{scroll-margin-top:calc(var(--cw-bar-size,86px) + 20px)}
.cw-issue .cw-issue-resolution{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--cw-line);font-size:11px;font-weight:600;color:var(--cw-green-ink,var(--cw-ink))}

.cw-person-heading .cw-shift-label{width:100%;margin:3px 0 0 39px;font-size:10px}.cw-calendar-person{grid-template-columns:270px 1fr}@media(max-width:600px){.cw-calendar-person{grid-template-columns:1fr}}
.cw-issue-recipients{border:0;padding:0;margin:8px 0 14px;min-width:0}.cw-issue-recipients legend{font-size:13px;font-weight:600}.cw-issue-recipients p{font-size:12px;opacity:.7;margin:6px 0 10px}.cw-issue-recipients>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.cw-issue-recipients label{display:flex!important;align-items:center;gap:8px;padding:10px;border:1px solid rgba(128,128,128,.22);border-radius:10px;cursor:pointer}.cw-issue-recipients input{width:16px!important;height:16px;margin:0!important}.cw-issue-recipients label:has(input:checked){background:rgba(232,0,128,.09);border-color:#d00070}

.cw-assignee-picker{position:relative;min-width:0;width:100%;font-size:12px}.cw-assignee-picker summary{cursor:pointer;padding:7px 9px;border:1px solid rgba(128,128,128,.22);border-radius:8px;background:rgba(128,128,128,.05);overflow-wrap:anywhere}.cw-assignee-picker fieldset{border:0;margin:8px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:5px}.cw-assignee-picker legend{font-size:10px;opacity:.7;margin-bottom:7px}.cw-assignee-picker label{display:flex!important;flex-direction:row!important;align-items:center;gap:5px;padding:5px 0;font-size:12px}.cw-assignee-picker input[type=checkbox]{width:14px!important;height:14px;margin:0!important}.cw-assignee-picker small{grid-column:1/-1;font-size:10px}.jp-assign-form .cw-assignee-picker{flex:1;min-width:0}.jp-task-number{display:block;font-size:10px;opacity:.6;font-weight:500;margin-bottom:4px}.cw-handoff-badge{white-space:normal!important;line-height:1.4}
