body.enhance-modal-open{overflow:hidden}.enhance-overlay{position:fixed;inset:0;z-index:260;background:rgba(4,24,40,.72);display:none;align-items:center;justify-content:center;padding:18px}.enhance-overlay.show{display:flex}.enhance-dialog{width:min(1180px,97vw);max-height:94vh;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.32);display:flex;flex-direction:column;overflow:hidden}.enhance-dialog>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff}.enhance-dialog>header h2{margin:0;color:var(--blue-deep);font-size:25px}.enhance-dialog>header p{margin:5px 0 0;color:var(--muted);line-height:1.45}.enhance-close{border:1px solid #d3e2eb;background:#fff;border-radius:11px;width:42px;height:42px;font-size:20px;cursor:pointer}.enhance-modal-body{padding:22px 24px 28px;overflow:auto}.enhance-loading{padding:44px;text-align:center;color:var(--muted)}.enhance-bell{border:1px solid #cfe0ec;background:#f2f8fc;color:var(--blue-dark);border-radius:999px;padding:9px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:7px}.enhance-bell b,.enhance-side-count{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#c83232;color:#fff;font-size:11px;padding:0 5px}.enhance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.enhance-summary-grid button{border:1px solid var(--line);background:#fff;border-radius:16px;padding:16px;text-align:left;cursor:pointer}.enhance-summary-grid span{display:block;color:var(--muted);font-size:12px}.enhance-summary-grid strong{display:block;color:var(--blue-deep);font-size:26px;margin-top:4px}.enhance-center-stats,.enhance-report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.enhance-center-stats>div,.enhance-report-stats>div{border:1px solid var(--line);border-radius:16px;padding:15px;background:#f9fcfe}.enhance-center-stats span,.enhance-report-stats span{display:block;color:var(--muted);font-size:12px}.enhance-center-stats strong,.enhance-report-stats strong{display:block;font-size:25px;color:var(--blue-deep);margin-top:4px}.enhance-center-tools{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;margin-bottom:16px}.enhance-center-tools input,.enhance-center-tools select,.enhance-form input,.enhance-form select,.enhance-form textarea,.enhance-message-form textarea,.enhance-attachment-form input,.enhance-report-tools input{border:1px solid #bfd3e0;border-radius:11px;padding:11px 12px;font:inherit;background:#fff;color:var(--ink)}.enhance-card-list{display:grid;gap:12px}.enhance-appointment-card{border:1px solid var(--line);border-radius:18px;padding:17px;background:#fff}.enhance-card-main{display:flex;justify-content:space-between;gap:18px}.enhance-appointment-card h3{margin:8px 0 7px;color:var(--blue-deep)}.enhance-appointment-card p{margin:4px 0;color:#496579;font-size:13px;line-height:1.45}.enhance-card-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:430px}.enhance-status{display:inline-flex;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;background:#edf5fa;color:#31536d}.enhance-status.pending{background:#fff3cd;color:#806100}.enhance-status.ok{background:#e7f8f2;color:#176b52}.enhance-status.bad{background:#ffeded;color:#9a2828}.enhance-status.done{background:#e8f4ff;color:#155c91}.enhance-status.absent{background:#fff0dd;color:#925b00}.enhance-cancel-note{background:#fff4f4;border-left:4px solid #cf3e3e;border-radius:7px;padding:8px 10px!important;color:#7d3030!important}.enhance-proposal{margin-top:14px;border:1px solid #c9dff0;background:#f4faff;border-radius:14px;padding:13px}.enhance-proposal strong,.enhance-proposal span{display:block}.enhance-proposal span{margin:5px 0 10px;color:#496579;font-size:13px}.enhance-proposal>div{display:flex;gap:8px;flex-wrap:wrap}.enhance-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.enhance-form label{display:flex;flex-direction:column;gap:6px;font-weight:800;font-size:13px}.enhance-form label.full,.enhance-form .full{grid-column:1/-1}.enhance-form textarea{min-height:100px;resize:vertical}.enhance-complete-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.enhance-complete-options button{padding:20px}.enhance-detail-summary{border:1px solid var(--line);border-radius:16px;padding:16px;background:#f8fbfd;margin-bottom:16px}.enhance-detail-summary h3{margin:8px 0}.enhance-detail-summary p{margin:5px 0;color:#496579}.enhance-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.enhance-detail-grid>section{min-width:0}.enhance-thread{display:flex;flex-direction:column;gap:9px;max-height:390px;overflow:auto;padding:2px}.enhance-message{align-self:flex-start;max-width:88%;background:#f5f8fa;border:1px solid #d8e5ec;border-radius:14px;padding:10px 12px}.enhance-message.own{align-self:flex-end;background:#eaf5fc;border-color:#bfdced}.enhance-message.cancel{align-self:stretch;max-width:100%;background:#fff3f3;border-color:#efc5c5}.enhance-message header{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.enhance-message header strong{color:var(--blue-deep);font-size:13px}.enhance-message header span{color:var(--muted);font-size:11px}.enhance-message p{margin:6px 0 0;white-space:pre-wrap;line-height:1.5;color:#2d4658}.enhance-message-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.enhance-message-form textarea{min-height:76px;resize:vertical}.enhance-attachment-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.enhance-attachment-form small{grid-column:1/-1;color:var(--muted)}.enhance-attachment-list{display:grid;gap:8px;margin-bottom:12px}.enhance-attachment-list button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;text-align:left;display:flex;gap:10px;align-items:center;cursor:pointer}.enhance-attachment-list button>span{font-size:21px}.enhance-attachment-list strong,.enhance-attachment-list small{display:block}.enhance-attachment-list small{color:var(--muted);margin-top:2px}.enhance-timeline-title{margin-top:24px}.enhance-timeline{display:grid;gap:0}.enhance-timeline-item{display:grid;grid-template-columns:20px 1fr;gap:8px}.enhance-timeline-item>span{width:10px;height:10px;border-radius:50%;background:var(--blue);margin-top:5px;position:relative}.enhance-timeline-item>span:after{content:"";position:absolute;width:2px;background:#c8dce9;left:4px;top:10px;bottom:-34px}.enhance-timeline-item:last-child>span:after{display:none}.enhance-timeline-item>div{padding-bottom:18px}.enhance-timeline-item strong{font-size:11px;color:var(--muted)}.enhance-timeline-item p{margin:3px 0 0;line-height:1.4;color:#344f62;font-size:13px}.enhance-notification-tools{display:flex;justify-content:flex-end;margin-bottom:12px}.enhance-notification-list{display:grid;gap:8px}.enhance-notification{border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px;text-align:left;display:grid;grid-template-columns:34px 1fr;gap:10px;cursor:pointer}.enhance-notification.unread{background:#f1f8fd;border-color:#afd4e8}.enhance-notification>span{font-size:22px}.enhance-notification strong{display:block;color:var(--blue-deep)}.enhance-notification p{margin:4px 0;color:#4e687a;line-height:1.4}.enhance-notification small{color:var(--muted)}.enhance-report-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.enhance-report-tools label{display:flex;flex-direction:column;gap:5px;font-weight:800;font-size:12px}.enhance-report-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.enhance-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.enhance-report-grid section{border:1px solid var(--line);border-radius:16px;padding:15px}.enhance-report-grid h3{margin-top:0}.enhance-report-table{display:grid;gap:5px}.enhance-report-table>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f5;padding:7px 0}.enhance-report-table span{color:#496579}.enhance-privacy h3{color:var(--blue-deep);margin-bottom:5px}.enhance-privacy p{margin-top:0;color:#405e72;line-height:1.65}.enhance-toast{position:fixed;right:20px;bottom:20px;z-index:320;background:#176b52;color:#fff;border-radius:12px;padding:13px 16px;box-shadow:0 14px 36px rgba(0,0,0,.2);max-width:420px}.enhance-toast.error{background:#982a2a}
@media(max-width:800px){.enhance-dialog{width:100%;max-height:97vh;border-radius:16px}.enhance-modal-body{padding:16px}.enhance-summary-grid,.enhance-center-stats,.enhance-report-stats{grid-template-columns:1fr 1fr}.enhance-center-tools,.enhance-detail-grid,.enhance-report-grid{grid-template-columns:1fr}.enhance-card-main{flex-direction:column}.enhance-card-actions{justify-content:flex-start;max-width:none}.enhance-form{grid-template-columns:1fr 1fr}.enhance-report-stats{grid-template-columns:repeat(2,1fr)}.enhance-bell span{display:none}}
@media(max-width:540px){.enhance-overlay{padding:6px}.enhance-dialog>header{padding:15px}.enhance-dialog>header h2{font-size:21px}.enhance-summary-grid,.enhance-center-stats,.enhance-report-stats,.enhance-complete-options,.enhance-form{grid-template-columns:1fr}.enhance-form label.full,.enhance-form .full{grid-column:auto}.enhance-message-form,.enhance-attachment-form{grid-template-columns:1fr}.enhance-card-actions>*{width:100%}.enhance-report-tools>*{width:100%}.enhance-report-tools button{width:100%}}
@media print{body>*:not(#enhanceReports){display:none!important}#enhanceReports{position:static!important;display:block!important;background:#fff!important;padding:0!important}#enhanceReports .enhance-dialog{width:100%!important;max-height:none!important;box-shadow:none!important}#enhanceReports .enhance-close,#enhanceReports .enhance-report-tools{display:none!important}#enhanceReports .enhance-modal-body{overflow:visible!important}.enhance-report-grid{grid-template-columns:1fr 1fr!important}}
