#care-workspace .cr-banner{display:flex;gap:1.5rem;align-items:center;justify-content:space-between;padding:1.75rem 2rem;margin-bottom:1.5rem;border:1px solid #c8ded6;border-radius:20px;background:linear-gradient(120deg,#eff8f3,#f5f9fc)}
#care-workspace .cr-banner h2{font-family:Georgia,serif;font-size:clamp(1.65rem,2.4vw,2.1rem);font-weight:500;line-height:1.2;margin:.5rem 0;color:#173f38}
#care-workspace .cr-banner p{font-size:1rem;line-height:1.6;max-width:720px;margin:.6rem 0 0;color:#4b645e}
#care-workspace .cr-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
#care-workspace .cr-toolbar{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1.25rem 0}
#care-workspace .cr-toolbar label{min-width:min(360px,100%);font-size:1rem}
#care-workspace .cr-toolbar select{width:100%;display:block;margin-top:.4rem}
#care-workspace .cr-table-wrap{max-width:100%;overflow:auto}
#care-workspace .cr-table{width:100%;border-collapse:collapse;min-width:650px;text-align:left}
#care-workspace .cr-table th{font-size:.875rem;letter-spacing:.025em;text-transform:uppercase;color:#52655f;background:#f4f8f6;padding:1rem 1.2rem;font-weight:650}
#care-workspace .cr-table td{padding:1rem 1.2rem;border-top:1px solid #e5eeea;vertical-align:middle;font-size:1rem;line-height:1.55}
#care-workspace .cr-table td strong,#care-workspace .cr-table td small,#care-workspace .cr-table td span:not(.cr-badge){display:block}
#care-workspace .cr-table td small{font-size:.875rem;color:#5e6e68;margin-top:.3rem}
#care-workspace .cr-badge{display:inline-flex;border-radius:30px;padding:.3rem .7rem;background:#edf2f0;color:#40594f;font-size:.875rem;font-weight:600;white-space:normal;line-height:1.4}
#care-workspace .cr-badge-accepted,#care-workspace .cr-badge-completed,#care-workspace .cr-badge-recorded,#care-workspace .cr-badge-reviewed{background:#e1f4e8;color:#215a40}
#care-workspace .cr-badge-high,#care-workspace .cr-badge-shared,#care-workspace .cr-badge-pending,#care-workspace .cr-badge-waiting{background:#fff0d8;color:#75511e}
#care-workspace .cr-badge-urgent,#care-workspace .cr-badge-declined,#care-workspace .cr-badge-cancelled{background:#fde9e6;color:#853e34}
#care-workspace .cr-inline{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
#care-workspace .cr-plan-grid,#care-workspace .cr-readiness-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.25rem}
#care-workspace .cr-plan-card,#care-workspace .cr-readiness-card{padding:1.5rem;display:flex;flex-direction:column;align-items:stretch;gap:.75rem}
#care-workspace .cr-plan-card h3,#care-workspace .cr-readiness-card h3{font-size:1.25rem;line-height:1.4;margin:0;color:#193f35}
#care-workspace .cr-plan-card p{margin:0;font-size:1rem;line-height:1.6}
#care-workspace .cr-plan-card .cr-amount{font-size:2rem;line-height:1.2;color:#173f38;margin:.5rem 0}
#care-workspace .cr-plan-card .cw-btn{margin-top:auto;justify-content:center}
#care-workspace .cr-meta,#care-workspace .cr-note,#care-workspace .cr-chart-caption{font-size:.875rem;line-height:1.6;color:#566960}
#care-workspace .cr-note{margin:1rem 0;padding:1rem;border-radius:10px;background:#f3f6f4;border-left:3px solid #b2c8bc}
#care-workspace .cr-mt{margin-top:1.5rem}
#care-workspace .cr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
#care-workspace .cr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
#care-workspace .cr-metrics article{padding:1.4rem;border:1px solid #d7e6dd;border-radius:16px;background:white;display:flex;flex-direction:column;gap:1rem;min-width:0}
#care-workspace .cr-metrics span{font-size:.95rem;color:#54685f;line-height:1.5}
#care-workspace .cr-metrics strong{font-size:clamp(1.4rem,2vw,2rem);line-height:1.3;overflow-wrap:anywhere;color:#173f38}
#care-workspace .cr-legacy{margin-top:1.5rem;border:1px solid #dbe5df;border-radius:12px;padding:1rem 1.3rem;background:#fff}
#care-workspace .cr-legacy summary{cursor:pointer;font-size:1rem;font-weight:650;line-height:1.6;padding:.4rem 0}
#care-workspace .cr-legacy article{padding:1rem 0;border-top:1px solid #e4ebe7}
#care-workspace .cr-chart-scroll{padding:1.5rem;overflow-x:auto}
#care-workspace .cr-chart-labels{display:flex;justify-content:space-between;min-width:720px;margin-bottom:1rem;font-size:.875rem;color:#52665d}
#care-workspace .cr-teeth{display:grid;grid-template-columns:repeat(var(--teeth),minmax(42px,1fr));min-width:720px;gap:.3rem;margin:.4rem 0}
#care-workspace .cr-tooth{display:flex;flex-direction:column;gap:.35rem;align-items:center;justify-content:center;padding:.6rem .2rem;background:#f8fbf9;border:1px solid #dbe7df;border-radius:9px;min-width:0;min-height:110px;color:#526259;cursor:pointer}
#care-workspace .cr-tooth.selected{background:#e5f3ec;border:2px solid #26725d;color:#164737}
#care-workspace .cr-tooth.recorded .cr-tooth-shape{background:#b9d9c9;border-color:#518c70}
#care-workspace .cr-tooth-shape{height:35px;width:25px;border:2px solid #aec3b6;border-radius:10px 10px 7px 7px;background:#fff;box-shadow:inset 0 -5px 0 #e8f0eb}
#care-workspace .cr-tooth strong{font-size:1rem}
#care-workspace .cr-tooth small{font-size:.875rem}
#care-workspace .cr-history{display:grid;gap:1rem}
#care-workspace .cr-history-item{border:1px solid #dbe6df;border-left:3px solid #4f896c;border-radius:10px;padding:1.25rem}
#care-workspace .cr-history-item header{display:flex;justify-content:space-between;align-items:center;gap:1rem}
#care-workspace .cr-history-item p{font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
#care-workspace .cr-historical{border-left-color:#b7bdb9;background:#f8f9f8}
#care-workspace .cr-measurements,#care-workspace .cr-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;margin:1rem 0}
#care-workspace .cr-measurements>div{padding:.8rem;background:#f1f6f3;border-radius:8px;display:flex;flex-direction:column;gap:.4rem}
#care-workspace .cr-measurements span,#care-workspace .cr-measurements small{font-size:.875rem}
#care-workspace .cr-measurements strong{font-size:1.25rem}
#care-workspace .cr-fieldset,#care-workspace .cr-plan-item,#care-workspace .cr-form-question{padding:1.25rem;border:1px solid #d7e5dc;border-radius:12px;margin:0 0 1rem;min-width:0}
#care-workspace .cr-fieldset legend,#care-workspace .cr-plan-item legend,#care-workspace .cr-form-question legend{font-size:1rem;font-weight:650;padding:0 .5rem}
#care-workspace .cr-checks{display:flex;gap:1.2rem;flex-wrap:wrap;margin:1rem 0}
#care-workspace .cr-checks label{display:flex;gap:.4rem;align-items:center}
#care-workspace .cr-checks input{min-height:0;width:20px;height:20px}
#care-workspace dialog.cr-wide-dialog{max-width:1040px;width:calc(100% - 2rem)}
#care-workspace .cr-plan-document{font-size:1rem;line-height:1.65}
#care-workspace .cr-plan-document header h2{font-size:1.75rem}
#care-workspace .cr-plan-document footer{font-size:.875rem;color:#5c6b63;margin-top:1.5rem}
#care-workspace .cr-plan-total{display:flex;justify-content:flex-end;gap:2rem;padding:1.5rem 0;flex-wrap:wrap}
#care-workspace .cr-plan-total span{display:flex;flex-direction:column;gap:.4rem}
#care-workspace .cr-plan-total strong{font-size:1.4rem;color:#174c39}
#care-workspace .cr-decision{display:grid;gap:1rem;padding:1.25rem;background:#f0f7f2;border-radius:12px}
#care-workspace .cr-answer{grid-column:1/-1;padding:1rem 0;border-bottom:1px solid #e3e9e5;font-size:1rem;line-height:1.6}
#care-workspace .cr-answer p{white-space:pre-wrap;overflow-wrap:anywhere}
#care-workspace .cr-resource{display:flex;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid #e5ece7}
#care-workspace .cr-resource>span{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf5ef;color:#397357}
#care-workspace .cr-resource p{margin:.35rem 0 0;font-size:.875rem;color:#5d6f63}
#care-workspace .cr-room-row{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:end;padding:.5rem 0}
#care-workspace .cr-provider-hours{margin:1rem 0;padding:1rem;border:1px solid #dce6df;border-radius:10px}
#care-workspace .cr-provider-hours summary{font-weight:650;cursor:pointer;padding:.5rem 0}
#care-workspace .cr-hours-table>div{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:1rem;align-items:center;padding:.6rem 0;border-bottom:1px solid #e2ebe5}
#care-workspace .cr-hours-table input{width:100%}
#care-workspace .cr-summary-row{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0;border-bottom:1px solid #e2ebe5;font-size:1rem}
#care-workspace .cr-home-summary{margin:0 0 2rem;padding:1.25rem;border:1px solid #d4e3db;background:#f3f8f5;border-radius:16px}
#care-workspace .cr-home-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
#care-workspace .cr-home-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:1rem}
#care-workspace .cr-home-cards button{display:flex;align-items:flex-start;flex-direction:column;gap:1rem;text-align:left;background:white;padding:1.2rem;border:1px solid #d4e3db;border-radius:12px;cursor:pointer;color:#244f3c}
#care-workspace .cr-home-cards button span{display:flex;align-items:center;gap:.5rem;font-size:.95rem;line-height:1.5}
#care-workspace .cr-home-cards button strong{font-size:1.65rem}
#care-workspace .cr-readiness-card ul{padding-left:1.3rem;line-height:1.7;font-size:1rem;margin:.5rem 0}
#care-workspace .cr-readiness-card li{margin:.35rem 0}
@media(max-width:1100px){#care-workspace .cr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#care-workspace .cr-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){#care-workspace .cr-banner{padding:1.25rem}#care-workspace .cr-two{grid-template-columns:1fr}#care-workspace .cr-six,#care-workspace .cr-measurements{grid-template-columns:repeat(3,minmax(0,1fr))}#care-workspace .cr-room-row{grid-template-columns:1fr auto}#care-workspace .cr-room-row label:first-child{grid-column:1/-1}#care-workspace .cr-hours-table>div{grid-template-columns:1fr 1fr}#care-workspace .cr-wide-dialog{padding:1rem}#care-workspace .cr-table th,#care-workspace .cr-table td{padding:.9rem}}
@media(max-width:420px){#care-workspace .cr-metrics{grid-template-columns:1fr}#care-workspace .cr-toolbar{align-items:stretch}#care-workspace .cr-plan-total{justify-content:flex-start}}
@media print{body:has(.cr-print-dialog) *{visibility:hidden}#care-workspace .cr-print-dialog,#care-workspace .cr-print-dialog [data-care-print],#care-workspace .cr-print-dialog [data-care-print] *{visibility:visible}#care-workspace .cr-print-dialog{position:absolute;inset:0;width:100%;max-width:none;height:auto;max-height:none;padding:0;border:0;overflow:visible}#care-workspace .cr-print-dialog::backdrop{background:transparent}#care-workspace .cr-print-dialog form{display:block;padding:0;overflow:visible}#care-workspace .cr-print-dialog [data-care-print]{position:absolute;top:0;left:0;width:100%}#care-workspace .cr-print-dialog .cr-table{min-width:0}#care-workspace .cr-print-dialog button{display:none}#care-workspace .cr-print-dialog .cr-table-wrap{overflow:visible}}
