html[data-care-theme]{--wp-bg:#e9e9e4;--wp-surface:#f4f4ef;--wp-raised:#f9f9f4;--wp-soft:#e2e6e2;--wp-text:#293840;--wp-muted:#596970;--wp-line:#ced6d3;--wp-accent:#086e77;--wp-on-accent:#fff;--wp-hover:#e3edeb;--wp-head:#dce5e2;--wp-side:#293e46;--wp-shadow:0 6px 24px #263b4310;color-scheme:light;background:var(--wp-bg)}
html[data-care-theme=mist]{--wp-bg:#e2e8ee;--wp-surface:#edf2f6;--wp-raised:#f4f7fa;--wp-soft:#dce5ee;--wp-text:#263747;--wp-muted:#53677a;--wp-line:#c7d4df;--wp-accent:#235b8b;--wp-hover:#dde9f2;--wp-head:#d5e1eb;--wp-side:#253b55}
html[data-care-theme=dusk]{--wp-bg:#201e2b;--wp-surface:#2b2938;--wp-raised:#343244;--wp-soft:#39364b;--wp-text:#f0edf5;--wp-muted:#c1bbce;--wp-line:#504a62;--wp-accent:#92dcd5;--wp-on-accent:#153737;--wp-hover:#38354b;--wp-head:#39364b;--wp-side:#252235;color-scheme:dark;--wp-shadow:0 6px 24px #0002}
html[data-care-theme=midnight]{--wp-bg:#16212d;--wp-surface:#203041;--wp-raised:#283b50;--wp-soft:#2c4055;--wp-text:#edf3f8;--wp-muted:#b4c5d6;--wp-line:#405971;--wp-accent:#8ad5df;--wp-on-accent:#12353b;--wp-hover:#2c4055;--wp-head:#2b4056;--wp-side:#192837;color-scheme:dark;--wp-shadow:0 6px 24px #0002}
html[data-care-theme] body,html[data-care-theme] .shell{background:var(--wp-bg)!important;color:var(--wp-text)!important;--line:var(--wp-line);--muted:var(--wp-muted);--blue:var(--wp-accent)}
html[data-care-theme] .shell .main,html[data-care-theme] .shell .content{background:var(--wp-bg)!important}
html[data-care-theme] :is(.shell .panel,.shell .card,.shell .metric,.shell .record-list,.shell .ac-rows,.shell .sv-list,.shell .sv-cases,.shell .credential-row,dialog){background:var(--wp-surface)!important;border-color:var(--wp-line)!important;color:var(--wp-text)!important;box-shadow:var(--wp-shadow)!important}
html[data-care-theme] :is(.shell .page-head,.shell .fi-welcome,.shell .cw-guide,.shell .cw-inline-tip,.shell .notice,.shell .detail-block,.shell .cw-eligibility-summary,.shell .cw-document-heading,.shell .ac-warning,.shell .fi-identity){background:var(--wp-soft)!important;border-color:var(--wp-line)!important;color:var(--wp-text)!important;box-shadow:none!important}
html[data-care-theme] .shell .topbar{background:var(--wp-surface)!important;border-color:var(--wp-line)!important;color:var(--wp-text)!important}
html[data-care-theme] .shell .sidebar{background:var(--wp-side)!important}
html[data-care-theme] :is(.shell h1,.shell h2,.shell h3,.shell .metric strong,.shell .record-open strong,.shell .fi-welcome strong,.shell .cw-guide strong,dialog h2,dialog h3){color:var(--wp-text)!important}
html[data-care-theme] :is(.shell p,.shell small,.shell .muted,.shell .help,.shell .field,.shell .list-controls label,.shell .list-pager,.shell .eyebrow,.shell .ac-time,.shell .ac-time small,.shell .sv-row small,.shell .credential-row p,.shell .credential-row small,dialog p,dialog small,dialog .help,dialog .field,dialog dt){color:var(--wp-muted)!important}
html[data-care-theme] :is(.shell input,.shell select,.shell textarea,dialog input,dialog select,dialog textarea){background:var(--wp-raised)!important;color:var(--wp-text)!important;border-color:var(--wp-line)!important}
html[data-care-theme] :is(.shell input,dialog input)::placeholder{color:var(--wp-muted)!important;opacity:1}
html[data-care-theme] :is(.shell .btn,dialog .btn,.shell .icon-btn,dialog .icon-btn){background:var(--wp-raised)!important;color:var(--wp-text)!important;border-color:var(--wp-line)!important;box-shadow:none!important}
html[data-care-theme] :is(.shell .btn.primary,dialog .btn.primary){background:var(--wp-accent)!important;color:var(--wp-on-accent)!important;border-color:var(--wp-accent)!important}
html[data-care-theme] :is(.shell .btn:hover,dialog .btn:hover){filter:brightness(.94)}
html[data-care-theme] :is(.shell .tabs,.shell .cw-steps li,.shell .fi-shortcuts button,.shell .cw-shortcuts button,.shell .ac-candidate,.shell .sv-row,.shell .ac-row,.shell .credential-row-actions,.shell .credential-category,.shell .credential-guide){background:var(--wp-surface)!important;color:var(--wp-text)!important;border-color:var(--wp-line)!important}
html[data-care-theme] .shell .tabs button{color:var(--wp-muted)!important}
html[data-care-theme] .shell .tabs button.active{background:var(--wp-accent)!important;color:var(--wp-on-accent)!important}
html[data-care-theme] .shell .queue-count{background:var(--wp-soft)!important;color:var(--wp-text)!important}
html[data-care-theme] .shell .record-open{background:var(--wp-surface)!important;color:var(--wp-text)!important;padding:16px 20px;min-height:66px}
html[data-care-theme] .shell :is(.record-open:hover,.clickable-row:hover,.ac-row:hover,.sv-row:hover){background:var(--wp-hover)!important}
html[data-care-theme] .shell .record-open small{display:block;margin-top:4px;line-height:1.5}
html[data-care-theme] .shell .record-open strong{font-weight:650;font-size:14px;line-height:1.5}
.wp-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.55}
html[data-care-theme] .wp-table :is(th,td){border-color:var(--wp-line)!important}
html[data-care-theme] .wp-table th{background:var(--wp-head)!important;color:var(--wp-text)!important;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;text-align:left;padding:14px 18px;vertical-align:middle;white-space:nowrap;border-bottom:1px solid var(--wp-line)}
html[data-care-theme] .wp-table td{padding:16px 18px;color:var(--wp-text)!important;vertical-align:middle;border-bottom:1px solid var(--wp-line);background:var(--wp-surface)}
html[data-care-theme] .wp-table tbody tr:nth-child(even) td{background:var(--wp-raised)}
html[data-care-theme] .wp-table tbody tr:hover td{background:var(--wp-hover)}
.wp-table td strong{font-size:14px;font-weight:650;line-height:1.5}.wp-table td small{display:block;margin-top:3px;font-size:11px}.wp-table td .btn{font-size:12px;min-height:40px}.wp-table tbody tr:last-child td{border-bottom:0}.wp-request-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--wp-line)}
.wp-list-heading{display:flex;justify-content:space-between;gap:16px;padding:14px 20px;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;background:var(--wp-head);color:var(--wp-text);border-bottom:1px solid var(--wp-line)}
html[data-care-theme] dialog .modal-top{padding-bottom:16px;border-bottom:1px solid var(--wp-line)}
html[data-care-theme] :is(dialog .detail-block,dialog .notice,dialog .ac-warning,dialog .cw-inline-tip,dialog .ac-candidate,dialog .ac-block){background:var(--wp-soft)!important;color:var(--wp-text)!important;border-color:var(--wp-line)!important}
html[data-care-theme] :is(.shell .cw-pill,.shell .fi-face-empty,.shell .avatar,.shell .icon){background:var(--wp-soft)!important;color:var(--wp-accent)!important}
html[data-care-theme] :is(.shell .mobile-nav,.shell .fi-mobile-nav){background:var(--wp-surface)!important;border-color:var(--wp-line)!important}
html[data-care-theme] :is(.shell .mobile-nav button,.shell .fi-mobile-nav button){color:var(--wp-muted)!important}
html[data-care-theme] :is(.shell .mobile-nav button.active,.shell .fi-mobile-nav button.active){background:var(--wp-soft)!important;color:var(--wp-accent)!important}
html[data-care-theme] :is(.shell a,dialog a){color:var(--wp-accent)}
html[data-care-theme=dusk] :is(.shell .badge,dialog .badge),html[data-care-theme=midnight] :is(.shell .badge,dialog .badge){background:#384655!important;color:#d7e2eb!important}
html[data-care-theme=dusk] :is(.shell .badge.green,dialog .badge.green),html[data-care-theme=midnight] :is(.shell .badge.green,dialog .badge.green){background:#244b40!important;color:#b2f0d2!important}
html[data-care-theme=dusk] :is(.shell .badge.amber,dialog .badge.amber),html[data-care-theme=midnight] :is(.shell .badge.amber,dialog .badge.amber){background:#594826!important;color:#ffe0a0!important}
html[data-care-theme=dusk] :is(.shell .badge.red,dialog .badge.red),html[data-care-theme=midnight] :is(.shell .badge.red,dialog .badge.red){background:#5b323c!important;color:#ffcad2!important}
html[data-care-theme=dusk] :is(.shell .error,dialog .error),html[data-care-theme=midnight] :is(.shell .error,dialog .error){color:#ffc2c9!important}
html[data-care-theme=dusk] :is(.shell .ac-pass,dialog .ac-pass),html[data-care-theme=midnight] :is(.shell .ac-pass,dialog .ac-pass){color:#b2f0d2!important}
.wp-appearance{position:relative}.wp-appearance-toggle{gap:7px;white-space:nowrap}.wp-theme-picker{position:absolute;right:0;top:calc(100% + 12px);width:min(300px,calc(100vw - 28px));padding:18px;border-radius:14px;border:1px solid var(--wp-line);background:var(--wp-raised);color:var(--wp-text);box-shadow:0 12px 40px #0003;z-index:41}.wp-theme-picker>strong{display:block;font-size:14px}.wp-theme-picker>p{font-size:12px;margin:6px 0 14px}.wp-theme-picker [role=radio]{display:flex;align-items:center;gap:12px;width:100%;padding:12px;margin-top:6px;border-radius:10px;border:1px solid var(--wp-line);background:var(--wp-surface);color:var(--wp-text);text-align:left;min-height:58px}.wp-theme-picker [role=radio].selected{border:2px solid var(--wp-accent);padding:11px;background:var(--wp-hover)}.wp-theme-picker [role=radio] strong{font-size:13px}.wp-theme-picker [role=radio] small{display:block;font-size:11px;margin-top:3px}.wp-theme-check{margin-left:auto;color:var(--wp-accent);visibility:hidden}.selected .wp-theme-check{visibility:visible}.wp-swatch{width:27px;height:27px;border-radius:50%;border:1px solid #8888;flex-shrink:0}.wp-calm{background:#e9e9e4}.wp-mist{background:#dce5ee}.wp-dusk{background:#2b2938}.wp-midnight{background:#203041}
.wp-menu-close,.wp-menu-backdrop{display:none}
html[data-care-theme] :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--wp-accent);outline-offset:3px}
@media(max-width:700px){.shell .wp-menu-close{display:flex;align-items:center;justify-content:center;position:absolute;right:12px;top:12px;z-index:3;width:44px;height:44px;border-radius:10px;border:1px solid #ffffff50;background:#ffffff18;color:#fff;font-size:30px;line-height:1}.shell.menu-open .wp-menu-backdrop{display:block;position:fixed;inset:0;z-index:29;background:#0c152b88}.shell.menu-open .main::before{display:none!important}.shell.menu-open .menu-toggle{visibility:hidden!important}.shell .sidebar{padding-top:68px!important}.shell .topbar{padding:12px 14px;gap:8px}.shell .topbar-right{gap:8px;flex-wrap:wrap;justify-content:flex-end}.wp-appearance-toggle span{display:none}.wp-appearance-toggle{min-width:42px;font-size:20px!important;padding:8px!important}.wp-theme-picker{position:fixed;right:14px;top:74px;max-height:calc(100dvh - 90px);overflow-y:auto}.wp-list-heading{padding:12px 16px;font-size:10px}.wp-table td{padding:10px 8px!important;border:0!important;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.wp-table td::before{font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--wp-muted)!important;flex-shrink:0}.wp-table td strong{max-width:65%;text-align:right}.wp-table td small{flex-basis:100%;text-align:right}.wp-table tbody tr{padding:12px;border-bottom:1px solid var(--wp-line);background:var(--wp-surface)}.wp-table tbody tr:nth-child(even){background:var(--wp-raised)}.wp-table tbody tr td{background:transparent!important}.wp-table td:last-child .btn{margin-left:auto}html[data-care-theme] dialog .wp-table{display:table}html[data-care-theme] dialog .wp-table :is(th,td){display:table-cell;padding:12px!important}html[data-care-theme] dialog .wp-table td::before{display:none}.shell .content{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){html[data-care-theme] .shell *{transition:none!important}}
@media print{html[data-care-theme] dialog{background:#fff!important;color:#111!important;--wp-text:#111;--wp-muted:#333;--wp-surface:#fff;--wp-raised:#fff;--wp-head:#eee;--wp-line:#ccc;--wp-accent:#14515a}.wp-appearance,.wp-menu-close,.wp-menu-backdrop{display:none!important}}
/* The custom application/credential lists share the same table surface language. */
html[data-care-theme] :is(.shell .empty,.shell .application-row,.shell .credential-banner,.shell .credential-basis,.shell .credential-history,.shell .credential-confirm){background:var(--wp-surface)!important;color:var(--wp-text)!important;border-color:var(--wp-line)!important}
html[data-care-theme] .shell .application-columns{background:var(--wp-head)!important;color:var(--wp-text)!important;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding-top:14px;padding-bottom:14px}
html[data-care-theme] .shell .application-row:hover{background:var(--wp-hover)!important}
html[data-care-theme] :is(.shell .application-controls label,.shell .application-pager,.shell .application-footnote,.shell .meta,.shell .meta span,.shell .confirm-line){color:var(--wp-muted)!important}
html[data-care-theme] .shell .application-open{color:var(--wp-accent)!important}
html[data-care-theme] .shell .confirm-line{background:var(--wp-soft)!important;border-color:var(--wp-line)!important}
html[data-care-theme] .shell .sidebar .nav button.active{background:var(--wp-soft)!important;color:var(--wp-text)!important;box-shadow:inset 3px 0 var(--wp-accent)}
html[data-care-theme] :is(.shell .sidebar .nav small,.shell .sidebar-footer span){color:#c4d8e2!important}
html[data-care-theme] .shell .sidebar .nav button.active small{color:var(--wp-muted)!important}
html[data-care-theme] :is(.shell .btn.green,dialog .btn.green){background:#266a52!important;border-color:#266a52!important;color:#fff!important}
html[data-care-theme] :is(.shell .btn.red,dialog .btn.red){background:#9c3949!important;border-color:#9c3949!important;color:#fff!important}
html[data-care-theme] .shell .wp-menu-close{background:#ffffff18!important;color:#fff!important;border-color:#ffffff50!important}
html[data-care-theme] #root>.loading{background:var(--wp-bg)!important;color:var(--wp-text)!important}
html[data-care-theme] #root>.loading h1{color:var(--wp-text)!important}
html[data-care-theme] #root>.loading p{color:var(--wp-muted)!important}
html[data-care-theme] :is(.shell .pl-section,.shell .pl-time-pair,.shell .pl-preview,.shell .checkdays label){background:var(--wp-surface)!important;border-color:var(--wp-line)!important;color:var(--wp-text)!important}
html[data-care-theme] .shell .pl-section legend{color:var(--wp-accent)!important}
html[data-care-theme] .shell .checkdays label:has(input:checked){background:var(--wp-soft)!important;border-color:var(--wp-accent)!important;color:var(--wp-text)!important}
.wp-custom-heading{display:grid;grid-template-columns:1fr auto;gap:16px;padding:14px 18px;background:var(--wp-head);color:var(--wp-text);border-radius:10px;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.wp-custom-heading.wp-three{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto}.wp-custom-heading span:last-child{text-align:right}@media(max-width:700px){.wp-custom-heading.wp-three{grid-template-columns:1fr auto}.wp-custom-heading.wp-three span:nth-child(2){display:none}}

/* CARE_ADMIN_NAV_COLORS_V1: retain original Back Office brand in every content theme. */
html[data-care-theme] .shell.admin .sidebar{background:linear-gradient(165deg,#352443,#281c35)!important;color:#c9b8d6!important}
html[data-care-theme] .shell.admin .sidebar .workspace-label{color:#d9c8e7!important}
html[data-care-theme] .shell.admin .sidebar .nav button{color:#ded2e8!important}
html[data-care-theme] .shell.admin .sidebar .nav button:hover{background:#4d365e!important}
html[data-care-theme] .shell.admin .sidebar .nav button.active{background:#604574!important;color:#fff!important;box-shadow:inset 3px 0 #9fe2da!important}
html[data-care-theme] .shell.admin .sidebar .nav button small{color:#ded2e8!important}
html[data-care-theme] .shell.admin .sidebar .sidebar-footer,html[data-care-theme] .shell.admin .sidebar .sidebar-footer span{color:#c9b8d6!important;border-color:#ffffff24!important}
html[data-care-theme] .shell.admin .sidebar .sidebar-footer strong{color:#fff!important}
html[data-care-theme] .shell.admin .sidebar .signout{color:#dfd1e9!important}
/* CARE_TABLE_STRUCTURE_V2 */
html[data-care-theme] .shell.admin .record-open.wt-visit-row,.wt-visit-heading{display:grid;grid-template-columns:minmax(140px,1.05fr) minmax(230px,1.5fr) minmax(130px,.9fr) minmax(120px,.8fr);gap:20px;align-items:center}
html[data-care-theme] .shell.admin .record-open.wt-client-row,.wt-client-heading{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) auto;gap:20px;align-items:center}
.wt-heading span:last-child{text-align:right}.wt-schedule{display:grid;gap:5px;font-size:12px;line-height:1.6}.wt-worker,.wt-account{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.wt-schedule span{display:block}.wt-schedule span:first-child{font-weight:650}.wt-visit-row .row-end,.wt-client-row .row-end{justify-content:flex-end;gap:12px;flex-wrap:wrap}
html[data-care-theme] .shell.admin .wp-table td{line-height:1.65}.shell.admin .wp-table td:last-child .btn{margin:3px 5px 3px 0}.shell.admin .wp-table th:first-child{border-radius:10px 0 0 0}.shell.admin .wp-table th:last-child{border-radius:0 10px 0 0}
@media(max-width:1100px){html[data-care-theme] .shell.admin .record-open.wt-visit-row,.wt-visit-heading{grid-template-columns:minmax(120px,1fr) minmax(210px,1.4fr) minmax(100px,.8fr);gap:14px}.wt-visit-heading span:nth-child(3){display:none}.wt-visit-row .wt-worker{grid-column:1/3;color:var(--wp-muted)}.wt-visit-row .row-end{grid-column:3;grid-row:1/3}}
@media(max-width:700px){.wt-heading{display:none!important}html[data-care-theme] .shell.admin .record-open.wt-visit-row,html[data-care-theme] .shell.admin .record-open.wt-client-row{grid-template-columns:1fr;gap:10px;padding:16px}.wt-visit-row .wt-worker,.wt-visit-row .row-end{grid-column:auto;grid-row:auto}.wt-visit-row .row-end,.wt-client-row .row-end{justify-content:space-between;border-top:1px solid var(--wp-line);padding-top:10px}.wt-worker:before{content:'Caregiver: ';font-weight:650}.wt-account:before{content:'Family account: ';font-weight:650}.wt-schedule{padding:10px 12px;border-radius:8px;background:var(--wp-soft)}}
