/* AI scheduling help (CEO, Oct 27, 2026; design/ai-scheduling-proto.html): Find cover, the Schedule builder, Please don't send, bonuses.
   Office visual system only (tokens from office.css body.skin). Block colors per the CEO (Oct 27, 21:09Z): Booked solid dark teal with white
   text; AI draft soft teal; Your pick white with a teal outline and a check; Needs you soft coral, coral outline; Open light grey, grey
   dashed; Suggested white, dotted. Needs you row tint is coral, not amber; "new" stays amber. No hover reveal anywhere. */
.ai-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: #E8F0EE; color: #184E49; font: 700 11px/1 var(--f-ui); letter-spacing: .04em; vertical-align: 3px; white-space: nowrap; }
.ai-pill::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: #184E49; transform: rotate(45deg); }
.sb-bon { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #FFF4E0; color: #8A5A00; font: 700 12px/1 var(--f-ui); white-space: nowrap; margin: 0 6px 0 0; }
.sb-bon.ask { background: #F6F5F2; color: #4A5553; }
.offers .sb-bon, .row-t .sb-bon { margin: 4px 0 0; align-self: flex-start; }

/* ---------- Find cover ---------- */
.fcv { margin: 24px 0 32px; }
.fcv-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.fcv-h h2 { font: 700 19px/1.3 var(--f-ui); margin: 0; }
.fcv-r { margin-left: auto; font-size: 14px; color: #6F7977; }
.fcv-intro { font-size: 14px; color: #4A5553; max-width: 720px; margin: 0 0 16px; }
.fcv-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; margin: 0 0 14px; }
.fcv-bonus small { color: #6F7977; font-size: 13px; }
.fcv-bonus .done-line { margin: 0; }
.fcv-done { margin: 0 0 12px; }
.fcv-held { margin: 0 0 12px; }
.fcv-rows { border-top: 1px solid #E7E5E0; }
.fcv-row { border-bottom: 1px solid #E7E5E0; padding: 12px 0; cursor: pointer; }
.fcv-row.static { cursor: default; }
.fcv-row:focus-visible { outline: 2px solid #184E49; outline-offset: 2px; }
.fcv-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fcv-rank { width: 22px; flex: none; font: 500 20px/1 var(--f-display); color: #6F7977; text-align: center; }
.fcv-line .av { flex: none; }
.fcv-txt { flex: 1; min-width: 0; }
.fcv-txt b { display: block; font-weight: 600; font-size: 15px; }
.fcv-txt b .st { font-size: 13px; margin-left: 6px; }
.fcv-txt small { display: block; font-size: 13px; color: #4A5553; margin-top: 2px; }
.fcv-car { display: inline-block; color: #6F7977; transition: transform .15s; }
.fcv-row.open .fcv-car { transform: rotate(90deg); }
.fcv-end { flex: none; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #6F7977; }
.fcv-off { color: #1B7A4E; font-weight: 600; white-space: nowrap; }
.fcv-prn { display: inline-block; font: 700 11px/1 var(--f-ui); padding: 3px 7px; border-radius: 999px; background: #F6F5F2; color: #4A5553; vertical-align: 1px; }
.fcv-why { display: none; margin: 10px 0 2px 70px; border-left: 2px solid #E7E5E0; padding-left: 14px; }
.fcv-row.open .fcv-why { display: block; }
.fcv-why dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; font-size: 13px; }
.fcv-why dt { color: #6F7977; } .fcv-why dd { margin: 0; }
.fcv-low, .lowrel { color: #C9452F; font-weight: 600; }
.fcv-note { font-size: 13px; color: #6F7977; margin: 10px 0 0; }
.fcv-rest .fcv-row { opacity: .9; }
@media (max-width: 719px) {
  .fcv-r { margin-left: 0; width: 100%; font-size: 13px; }
  .fcv-prof { display: none; }
  .fcv-why { margin-left: 0; }
  .fcv-why dl { grid-template-columns: 1fr; gap: 1px; } .fcv-why dt { margin-top: 8px; }
  .fcv-end .btn { height: 34px; }
}

/* ---------- Schedule builder ---------- */
.sb { position: relative; min-width: 0; }
.sb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 20px; }
.sb-title { font: 500 28px/1.1 var(--f-display); margin: 0 0 6px; text-wrap: balance; }
.sb-sub { font-size: 14px; color: #6F7977; }
.sb-need { color: #C9452F; font-weight: 600; }
.sb-btns { display: flex; gap: 8px; flex: none; }
.sb-btns.ph { margin: 0 0 14px; } .sb-btns.ph .btn { flex: 1; }
.sb-btns.end { margin: 16px 0 0; }
.btn.full { width: 100%; height: 48px; border-radius: 12px; font-size: 16px; }
.sb-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.sb-seg { display: inline-flex; background: #F6F5F2; border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.sb-seg button { border: 0; background: transparent; height: 30px; padding: 0 12px; border-radius: 7px; font: 600 13px/1 var(--f-ui); color: #4A5553; cursor: pointer; white-space: nowrap; }
.sb-seg button.on { background: #fff; color: #16211F; box-shadow: 0 1px 2px rgba(22, 33, 31, .12); }
.sb-seg button:focus-visible { outline: 2px solid #184E49; outline-offset: 2px; }
.sb-seg.sm button { height: 26px; padding: 0 9px; font-size: 12px; }
.sb-legend { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 12px; color: #6F7977; flex-wrap: wrap; }
.sb-legend .lg { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-left: 8px; border: 1.5px solid transparent; }
.sb-dd { position: relative; }
.sb-ddb { height: 36px; }
.sb-car { display: inline-block; color: #6F7977; transition: transform .15s; }
.sb-ddb[aria-expanded="true"] .sb-car { transform: rotate(90deg); }
.sb-ddl { position: absolute; top: 42px; left: 0; z-index: 30; min-width: 300px; max-height: 420px; overflow: auto; background: #fff; border: 1px solid #E7E5E0; border-radius: 12px; box-shadow: 0 8px 24px rgba(22, 33, 31, .10); padding: 6px; display: flex; flex-direction: column; }
.sb-ddl.static { position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; max-height: none; }
.sb-ddh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 10px 4px; }
.sb-ddh small { font-size: 12px; color: #6F7977; }
.sb-lab { font: 700 11px/1.3 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: #6F7977; }
.sb-ddr { border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; font: 600 14px/1.3 var(--f-ui); cursor: pointer; color: #16211F; }
.sb-ddr small { display: block; font-size: 12px; font-weight: 500; color: #6F7977; }
.sb-ddr.on { background: #E8F0EE; color: #184E49; }
.sb-ddr:focus-visible { outline: 2px solid #184E49; }
.sb-note { font-size: 13px; color: #6F7977; margin: 10px 0 0; }
.sb-ddl .sb-note { margin: 6px 10px 4px; }
.sb-sum { font-size: 14px; color: #4A5553; margin: 0 0 16px; max-width: 900px; } .sb-sum b { color: #16211F; }
.sb-how { margin: 0 0 16px; border-top: 1px solid #E7E5E0; border-bottom: 1px solid #E7E5E0; }
.sb-howb { border: 0; background: none; width: 100%; text-align: left; padding: 12px 0; font: 600 14px/1.3 var(--f-ui); color: #184E49; cursor: pointer; display: flex; justify-content: space-between; }
.sb-how.open .sb-car { transform: rotate(90deg); }
.sb-howt { display: none; font-size: 14px; color: #4A5553; padding: 0 0 14px; max-width: 760px; }
.sb-how.open .sb-howt { display: block; }
.sb-howt p { margin: 0 0 8px; } .sb-howt ol { margin: 0 0 8px; padding-left: 22px; } .sb-howt li { margin: 0 0 4px; } .sb-howt b { color: #16211F; }
.sb-calwrap { overflow-x: auto; }
.sb-cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.sb-cal th { text-align: left; font-weight: 600; font-size: 13px; padding: 0 4px 8px; border-bottom: 1px solid #E7E5E0; vertical-align: bottom; }
.sb-cal th small { display: block; font-size: 11px; color: #6F7977; font-weight: 500; } .sb-cal th small .o { color: #C9452F; font-weight: 700; }
.sb-cal th.nm { width: 128px; padding-left: 0; } .sb-cal th.hr { width: 72px; }
.sb-cal td { border-bottom: 1px solid #E7E5E0; padding: 3px; vertical-align: top; height: 40px; }
.sb-cal td.nm { padding: 6px 4px 6px 0; } .sb-cal td.nm b { display: block; font-size: 13px; font-weight: 600; } .sb-cal td.nm small { font-size: 11px; color: #6F7977; }
.sb-cal td.na, .pcal td.na { background: repeating-linear-gradient(135deg, transparent 0 6px, #F6F5F2 6px 8px); }
.sb-cal td.toff, .pcal td.toff { background: #F6F5F2; }
.offl { display: block; font-size: 11px; color: #6F7977; padding: 4px 2px; }
.sb-cal td.hr { font-size: 12px; font-weight: 600; padding-top: 8px; }
.sb-cal td.hr .ot, .sb-cal td.hr .gap { color: #C9452F; }
.bar { display: block; height: 4px; background: #F6F5F2; border-radius: 2px; margin-top: 4px; overflow: hidden; } .bar i { display: block; height: 100%; background: #184E49; } .bar i.short { background: #C9452F; }
.sb-cal tr.needs td, .pcal tr.needs td { background: #FFF6F4; border-bottom: 1px solid #C9452F; }
.cs { font-weight: 600; } .cs.bad { color: #C9452F; } .cs.warn { color: #8A5A00; } .cs.ok { color: #1B7A4E; }
.blk { display: block; width: 100%; text-align: left; border-radius: 6px; padding: 3px 6px; margin: 0 0 3px; cursor: pointer; font: 500 12px/1.25 var(--f-ui); border: 1.5px solid transparent; }
.blk b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk small { font-size: 11px; color: #4A5553; white-space: nowrap; }
.blk .nw, .nw { font-style: normal; font-weight: 700; color: #8A5A00; } .blk .bn { font-style: normal; font-weight: 700; color: #8A5A00; }
.blk.booked, .sb-legend .lg.booked { background: #184E49; border-color: #184E49; color: #fff; } .blk.booked small, .blk.booked .nw, .blk.booked .bn { color: rgba(255, 255, 255, .85); }
.blk.draft, .sb-legend .lg.draft { background: #E8F0EE; border-color: #E8F0EE; color: #184E49; } .blk.draft small { color: #184E49; }
.blk.mine, .sb-legend .lg.mine { background: #fff; border-color: #184E49; color: #184E49; } .blk.mine b::before { content: '\2713 '; }
.blk.open, .sb-legend .lg.open { background: #FDECE9; border-color: #C9452F; color: #C9452F; } .blk.open small { color: #C9452F; }
.blk.undrafted, .sb-legend .lg.undrafted { background: #F6F5F2; border: 1.5px dashed #D5D2CB; color: #6F7977; }
.blk.suggest, .sb-legend .lg.suggest { background: #fff; border: 1.5px dotted #4A5553; color: #4A5553; }
.blk.flag { box-shadow: inset 3px 0 0 #D9A23A; } .blk.flag b::after { content: ' ?'; color: #8A5A00; }
.blk.sel, .pchip.sel { box-shadow: 0 0 0 2px #16211F; }
.blk:focus-visible, .pchip:focus-visible { outline: 2px solid #184E49; outline-offset: 1px; }
/* the phone grid at 390: a 74 px name column and initials chips */
.sb.ph .sb-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
.sb.ph .sb-title { font-size: 26px; }
.sb.ph .sb-bar { gap: 8px; }
.sb.ph .sb-seg button { padding: 0 10px; font-size: 12px; }
.sb.ph .sb-legend { margin: 0 0 10px; justify-content: flex-start; }
.sb.ph .sb-legend .lg:first-child { margin-left: 0; }
.sb.ph .sb-dd { position: static; }
.sb-pnote { margin: 0 0 8px; }
.pcal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pcal th { font-weight: 600; padding: 0 0 6px; border-bottom: 1px solid #E7E5E0; position: relative; text-align: center; }
.pcal th span { display: block; font-size: 10px; font-weight: 700; color: #6F7977; } .pcal th b { font-size: 14px; }
.pcal th i { position: absolute; top: 0; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #D9A23A; }
.pcal th.pn { width: 74px; }
.pcal td { border-bottom: 1px solid #E7E5E0; padding: 2px 1px; vertical-align: middle; height: 42px; text-align: center; }
.pcal td.pn { text-align: left; padding-right: 4px; }
.pcal td.pn b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcal td.pn small { display: block; font-size: 11px; color: #6F7977; } .pcal td.pn small.ot { color: #C9452F; }
.pcal tr.needs td.pn b { color: #C9452F; }
.pchip { display: block; width: 100%; max-width: 38px; margin: 1px auto; height: 22px; border-radius: 5px; font: 700 10px/1 var(--f-ui); padding: 0; cursor: pointer; border: 1.5px solid transparent; position: relative; }
.pchip.booked { background: #184E49; color: #fff; } .pchip.draft { background: #E8F0EE; color: #184E49; }
.pchip.mine { background: #fff; border-color: #184E49; color: #184E49; } .pchip.open { background: #FDECE9; border-color: #C9452F; color: #C9452F; }
.pchip.undrafted { background: #F6F5F2; border: 1.5px dashed #D5D2CB; color: #6F7977; } .pchip.suggest { background: #fff; border: 1.5px dotted #4A5553; color: #4A5553; }
.pchip.nwc::after { content: ''; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: #D9A23A; border: 1.5px solid #fff; }
.pchip.flag::before { content: '?'; position: absolute; top: -6px; left: -2px; font-size: 10px; color: #8A5A00; }
/* the side sheet: a right panel on a computer, a bottom sheet on a phone */
.sb-back { position: fixed; inset: 0; background: rgba(22, 33, 31, .18); z-index: 59; }
.sb-panel { position: fixed; top: 56px; right: 0; bottom: 0; width: 380px; max-width: 100%; background: #fff; box-shadow: -8px 0 24px rgba(22, 33, 31, .12); padding: 24px; overflow: auto; z-index: 60; }
@media (max-width: 719px) { .sb-panel { top: auto; left: 0; right: 0; width: auto; max-height: 82%; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(22, 33, 31, .16); padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 720px) { .sb-back:not(.sb-dd .sb-back) { background: transparent; } }
.sb-ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.sb-ph h3 { font: 500 24px/1.15 var(--f-display); margin: 2px 0 0; }
.sb-ddp .sb-ph h3 { font-size: 20px; }
.sb-pick { display: flex; gap: 12px; align-items: center; }
.sb-pick b { display: block; font-weight: 600; } .sb-pick small { font-size: 13px; color: #6F7977; }
.av.none { background: #F6F5F2; color: #6F7977; border: 1px dashed #D5D2CB; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; }
.sb-why { font-size: 14px; color: #4A5553; margin: 10px 0 0; }
.sb-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; } .sb-acts.row { flex-direction: row; flex-wrap: wrap; margin-top: 8px; }
.sb-alert { padding: 12px 14px; border-radius: 10px; background: #FFF4E0; color: #8A5A00; font-size: 14px; line-height: 1.35; margin: 12px 0 4px; }
.sb-och { margin: 18px 0 6px; }
.sb-rows { border-top: 1px solid #E7E5E0; }
.sb-orow { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid #E7E5E0; }
.sb-ot { flex: 1; min-width: 0; } .sb-ot b { display: block; font-weight: 600; font-size: 14px; } .sb-ot small { font-size: 12px; color: #4A5553; }
.tier { display: inline-block; font: 700 11px/1.4 var(--f-ui); border-radius: 999px; padding: 1px 7px; margin-right: 2px; }
.tier.t1 { background: #E6F4EE; color: #1B7A4E; } .tier.t2 { background: #E8F0EE; color: #184E49; } .tier.t3 { background: #F6F5F2; color: #4A5553; } .tier.t4 { background: #FFF4E0; color: #8A5A00; }

/* ---------- Please don't send (client Care team), caregiver record, caregiver hub, Settings ---------- */
.dns { margin: 0 0 24px; }
.dns-sec { margin: 0 0 28px; }
.dns-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.dns-h h2 { font: 700 17px/1.3 var(--f-ui); margin: 0; } .dns-h .n { color: #6F7977; font-size: 14px; } .dns-h .r { margin-left: auto; font-size: 14px; color: #6F7977; }
.dns-rows { border-top: 1px solid #E7E5E0; }
.dns-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #E7E5E0; }
.dns-t { flex: 1; min-width: 0; } .dns-t b { display: block; font-weight: 600; } .dns-t small { display: block; font-size: 13px; color: #4A5553; margin-top: 2px; } .dns-t small.q { white-space: normal; color: #4A5553; }
.dns-e { flex: none; display: flex; gap: 8px; align-items: center; }
.dns-note { font-size: 13px; color: #6F7977; margin: 10px 0; max-width: 720px; }
.dns-pick { max-height: 320px; overflow: auto; margin: 0 0 14px; }
.dns-pr { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #E7E5E0; background: none; padding: 8px 6px; cursor: pointer; font: inherit; }
.dns-pr span b { display: block; font-weight: 600; } .dns-pr span small { font-size: 12px; color: #6F7977; }
.dns-pr.on { background: #E8F0EE; }
@media (max-width: 719px) { .dns-h .r { margin-left: 0; width: 100%; } .dns-row { flex-wrap: wrap; } .dns-e { width: 100%; justify-content: flex-end; } }
.sb-cgsec .sb-seg { margin-left: 8px; vertical-align: middle; }
.cgh-rnot { margin: 28px 0 8px; font-size: 13px; }
.cgh-rnot .link { color: #6F7977; font-weight: 500; }
.set-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #E7E5E0; flex-wrap: wrap; }
.set-row b { display: block; font-weight: 600; } .set-row small { display: block; font-size: 13px; margin-top: 2px; }
.sb-num { width: 64px; height: 32px; border: 1px solid #D5D2CB; border-radius: 8px; padding: 0 8px; font: inherit; font-size: 16px; }
.sb-amts { margin: 8px 0 14px; }
.sb-ov { margin-top: 8px; }
/* Hours 18/30 and No availability chips, the note on one line (input audit C3, Oct 28, 2026) */
.av-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #EEF1F0; color: #4A5553; white-space: nowrap; vertical-align: 1px; }
.av-tag.warn { background: #FFF1E0; color: #8A4B00; }
.av-tag.full { background: #F3F4F4; color: #6F7977; }
.av-note1 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #6F7977; max-width: 100%; }
