.module-nav button[data-module=clinic]{background:#f0ebf8;color:#66518a;border-color:#d9cce9}
body[data-module=clinic]{--action:#6d5793;--action-soft:#f1edf8;--action-ink:#5a447c}
.clinic-ap-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:18px 0}
.clinic-ap-summary button{display:grid;gap:8px;text-align:left;background:#fbfaff;border-color:#e0d7ed;padding:18px}
.clinic-ap-summary strong{font-size:26px;color:#66518a}
.clinic-ap-summary [aria-pressed=true]{background:#eee6f8;border-color:#9379b3}
.clinic-ap-departments{margin:20px 0}.clinic-ap-departments button{background:#fbfaff;border-color:#ded4e9}
.clinic-ap-card{border-top:5px solid #b5a2d1}.clinic-ap-card.clinic-ap-overdue{border-top-color:#cf8080;background:#fffafa}
.clinic-ap-card h2{font-size:22px}.clinic-ap-card p{overflow-wrap:anywhere}.clinic-ap-last-check{background:#f6f2fb;padding:12px;border-radius:10px;font-size:14px}
.clinic-ap-hr-ok{color:#386b50;background:#edf7ef;padding:10px 12px;border-radius:10px}
.clinic-ap-detail{background:#f7f4fb;padding:16px;border:1px solid #e0d7ec;border-radius:12px;margin:16px 0}
.clinic-ap-actions{margin:20px 0}.clinic-ap-actions button{min-height:80px;text-align:left;line-height:1.5}
.clinic-ap-tiles button{min-height:64px}.clinic-ap-deadline{background:#f0ebf8;color:#59447b;padding:12px;border-radius:10px;grid-column:1/-1}
.clinic-ap-history{margin-top:28px}.clinic-ap-history .care-entry{border-left-color:#ad96c8;background:#f7f3fb}
.clinic-ap-dialog input[type=checkbox]{width:22px;height:22px;accent-color:#6d5793}
.clinic-ap-dialog label:has(>input[type=checkbox]){display:flex;align-items:center;gap:12px;flex-direction:row;padding:14px;border:1px solid #ded4e9;border-radius:10px;background:#faf8fd}
.calendar-event.clinic_adaptation{background:#f0eafa;border-color:#c6b4dd;color:#654985}
@media(max-width:600px){.clinic-ap-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.clinic-ap-actions{grid-template-columns:1fr}.clinic-ap-departments{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sent-materials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:16px}.sent-materials-grid label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d6e1ed;border-radius:12px;background:#f7faff}.sent-materials-grid label:has(input:checked){background:#eaf5ed;border-color:#9fc4ab}.sent-materials-grid input{width:22px;height:22px;flex-shrink:0}.sent-materials-panel h3{margin-top:0}.clinic-ap-course{grid-column:1/-1;padding:16px;background:#f7f3fb;border:1px solid #e2d8ec;border-radius:12px}.clinic-ap-completion-text{padding:16px;border-left:4px solid #a994c4;background:#faf7fe;border-radius:12px;margin:16px 0}.clinic-ap-completion-text h3{margin-top:0}.clinic-ap-attendance{padding:10px;background:#f3edf9;border-radius:10px}

.clinic-ap-card.clinic-ap-planned{border-top-color:#8bb8cb;background:#f7fcfe}.clinic-ap-dialog .status-badge.planned,.clinic-ap-card .status-badge.planned{color:#315e75;background:#e7f3f9}.clinic-ap-summary button:first-child{background:#f1f9fd;border-color:#b7d4e3}

.clinic-ap-summary.clinic-ap-departments{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0 24px}.clinic-ap-summary.clinic-ap-departments button{align-content:start;min-height:116px;min-width:0;text-align:left;padding:18px;line-height:1.4}.clinic-ap-departments strong{font-size:28px;line-height:1.2}.clinic-ap-departments span{overflow-wrap:normal;word-break:normal}.clinic-ap-departments [aria-pressed=true]{background:#eee6f8;border-color:#9379b3}
@media(max-width:1100px){.clinic-ap-summary.clinic-ap-departments{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.clinic-ap-summary.clinic-ap-departments{grid-template-columns:repeat(2,minmax(0,1fr))}.clinic-ap-summary.clinic-ap-departments button{padding:14px;min-height:116px}}

.anesthesia-program-patients{display:grid;gap:16px;margin:16px 0}.anesthesia-program-patient{background:#f7faff;border:1px solid #d7e4ef;border-left:4px solid #a7c4df}.anesthesia-program-patient h3{margin-top:0}.anesthesia-program-patient textarea{min-height:88px}

.anesthesia-program-patient.anesthesia-program-cancelled{background:#f3f4f7;border-color:#c8cbd3;border-left-color:#9c9faa}.anesthesia-program-cancelled h3{color:#626878}.anesthesia-program-patient label:has(>input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:12px;margin-bottom:16px}.anesthesia-program-patient input[type=checkbox]{width:22px;height:22px;min-height:22px;flex-shrink:0}
