.fc{font-family:inherit}.fc-toolbar-title{font-size:1.1rem!important;font-weight:900;color:#0f172a}.fc-button{background:#2563eb!important;border:none!important;border-radius:8px!important;padding:10px 14px!important;font-weight:700!important;text-transform:capitalize!important;box-shadow:none!important}.fc-button:hover{background:#1d4ed8!important}.fc-button-active{background:#0f172a!important}.fc-button-group{gap:8px}.fc-theme-standard .fc-scrollgrid,.fc-theme-standard td,.fc-theme-standard th{border-color:#e2e8f0!important}.fc-col-header-cell{background:#f8fafc;padding:12px 0}.fc-daygrid-day-frame,.fc-timegrid-slot{cursor:pointer}[data-appointment-calendar].fc .fc-timegrid-slot{height:2.25rem}.fc-daygrid-day-frame:hover,.fc-timegrid-slot:hover{background:rgba(37,99,235,.1)}.fc-daygrid-day-number{color:#334155;font-weight:700;text-decoration:none!important}.fc-event{border:none!important;border-radius:10px!important;box-sizing:border-box;padding:6px 8px!important;font-size:12px!important;font-weight:700!important;line-height:1.3;min-height:28px;overflow:hidden!important;position:relative;z-index:1}.fc-event.appointment-event-actions-open,.fc-event:focus-within,.fc-event:hover{overflow:visible!important;z-index:50}.fc-daygrid-event-harness.appointment-event-harness-actions-open,.fc-daygrid-event-harness:hover,.fc-timegrid-event-harness.appointment-event-harness-actions-open,.fc-timegrid-event-harness:hover{z-index:40!important}.fc-event .fc-event-main{height:100%;overflow:hidden;width:100%}.fc-event.appointment-event-actions-open .fc-event-main,.fc-event:focus-within .fc-event-main,.fc-event:hover .fc-event-main{overflow:visible}.appointment-event-content{box-sizing:border-box;color:#fff;height:100%;min-width:0;overflow:hidden;position:relative;width:100%}.fc-event.appointment-event-actions-open .appointment-event-content,.fc-event:focus-within .appointment-event-content,.fc-event:hover .appointment-event-content{overflow:visible}.appointment-event-content--default{display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:1.15;justify-content:flex-start}.appointment-event-top{align-items:center;display:flex;font-weight:900;gap:8px;justify-content:space-between;min-width:0}.appointment-event-time{align-items:center;display:inline-flex;flex-shrink:0;font-weight:900;gap:4px}.appointment-event-status-icon{flex:0 0 auto;height:11px;width:11px}.appointment-event-age{font-weight:600;opacity:.85}.appointment-event-doctor,.appointment-event-procedure,.appointment-event-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointment-event-doctor{font-size:9px;opacity:.85}.appointment-event-title{font-weight:800}.appointment-event-title-row{align-items:center;display:flex;gap:6px;min-width:0;position:relative}.appointment-event-title-row .appointment-event-title{flex:1 1 auto}.appointment-event-procedure{font-size:9px;opacity:.9}.appointment-event-quick-actions{align-items:center;display:inline-flex;flex:0 0 auto;justify-content:center;position:relative;z-index:70}.appointment-event-quick-actions--compact{margin-left:auto}.appointment-event-quick-toggle{align-items:center;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:9px;box-shadow:0 8px 18px rgba(15,23,42,.12);color:#334155;cursor:pointer;display:inline-flex;flex:0 0 auto;height:24px;justify-content:center;padding:0;transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease;width:24px}.appointment-event-quick-actions.is-open .appointment-event-quick-toggle,.appointment-event-quick-toggle:hover{background:#fff;color:#0f172a;transform:translateY(-1px)}.appointment-event-quick-toggle svg{height:11px;width:11px}.appointment-event-quick-toggle i{font-size:11px;line-height:1}.appointment-event-quick-menu{background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:14px;box-shadow:0 18px 38px rgba(15,23,42,.18);color:#0f172a;display:none;flex-direction:column;gap:4px;min-width:198px;padding:6px;position:absolute;right:0;top:calc(100% + 8px);z-index:90}.appointment-event-quick-actions.is-open .appointment-event-quick-menu{display:flex}.appointment-event-quick-action{align-items:center;background:#fff;border:0;border-radius:10px;box-shadow:none;color:#0f172a;cursor:pointer;display:inline-flex;font-size:11px;font-weight:900;gap:8px;justify-content:flex-start;line-height:1.2;min-height:34px;padding:8px 10px;transition:transform .15s ease,background .15s ease,color .15s ease;white-space:nowrap;width:100%}.appointment-event-quick-action:hover{background:#f8fafc;transform:translateY(-1px)}.appointment-event-quick-action--success{color:#047857}.appointment-event-quick-action--info{color:#0e7490}.appointment-event-quick-action--warning{color:#b45309}.appointment-event-quick-action--danger{color:#dc2626}.appointment-event-quick-action--primary{color:#2563eb}.appointment-event-quick-action--neutral{color:#475569}.appointment-event-quick-action svg{flex:0 0 auto;height:12px;width:12px}.appointment-event-quick-action i{flex:0 0 auto;font-size:12px;line-height:1}.appointment-event-quick-label{display:inline-flex;line-height:1.1}.fc-event.appointment-event-short{border-radius:10px!important;min-height:24px;padding:3px 7px!important}.fc-event.appointment-event-short .fc-event-main{display:flex;min-width:0}.fc-event.appointment-event-tiny{min-height:22px;padding:2px 6px!important}.appointment-event-content--compact{align-items:center;display:grid;gap:6px;grid-template-columns:minmax(0,1fr) auto;line-height:1}.appointment-event-compact-text{display:flex;flex-direction:column;gap:2px;justify-content:center;min-width:0;overflow:hidden}.appointment-event-compact-meta{align-items:baseline;display:flex;gap:5px;min-width:0;overflow:hidden}.fc-event.appointment-event-short .appointment-event-quick-menu{min-width:190px;top:calc(100% + 7px)}.fc-event.appointment-event-short .appointment-event-quick-action{font-size:10px;min-height:30px;padding:7px 9px}.appointment-event-content--compact .appointment-event-time{flex:0 0 auto;font-size:11px;line-height:1}.appointment-event-content--compact .appointment-event-doctor{flex:1 1 auto;font-size:9px;font-weight:900;line-height:1;min-width:0}.appointment-event-content--compact .appointment-event-title{flex:1 1 auto;font-size:10px;line-height:1;min-width:0}.appointment-event-content--compact .appointment-event-quick-toggle{border-radius:8px;height:21px;width:21px}.appointment-event-content--tiny{gap:4px}.appointment-event-content--tiny .appointment-event-time,.appointment-event-content--tiny .appointment-event-title{font-size:11px}.appointment-event-content--tiny .appointment-event-doctor{font-size:9px}.appointment-event-content--tiny .appointment-event-compact-text{gap:1px}.appointment-event-content--tiny .appointment-event-quick-toggle{height:16px;width:16px}.appointment-event-content--tiny .appointment-event-quick-toggle svg{height:9px;width:9px}.appointment-event-content--tiny .appointment-event-quick-toggle i{font-size:9px}.fc-day-today{background:rgba(37,99,235,.05)!important}.appointment-in-progress{position:relative;border-left:4px solid rgba(255,255,255,.9)!important;animation:pulseAppointment 2s infinite}.fc-event.appointment-status-arrived{border-left:4px solid #0891b2!important}.fc-event.appointment-status-cancelled,.fc-event.appointment-status-no_show{background-color:#fff!important;border:2px dashed var(--event-color,#64748b)!important}.fc-event.appointment-status-cancelled .appointment-event-content,.fc-event.appointment-status-no_show .appointment-event-content{color:var(--event-color,#64748b)}.fc-event.appointment-status-cancelled .appointment-event-title,.fc-event.appointment-status-no_show .appointment-event-title{text-decoration:line-through}.fc-event.appointment-busy-slot{cursor:not-allowed!important;opacity:.35;filter:grayscale(.2)}.fc-event.appointment-busy-slot:hover{opacity:.5}@keyframes pulseAppointment{0%{box-shadow:0 0 0 0 rgba(139,92,246,.5)}70%{box-shadow:0 0 0 10px rgba(139,92,246,0)}100%{box-shadow:0 0 0 0 rgba(139,92,246,0)}}@media (max-width:768px){.fc-toolbar{flex-direction:column;gap:12px;align-items:flex-start!important}.fc-toolbar-chunk{display:flex;flex-wrap:wrap;gap:8px}}.animate-slide-left{animation:slideLeft .3s ease-in-out}.animate-slide-down{animation:slideDown .3s ease-in-out forwards}.animate-fade{animation:fadeIn .1s ease-in-out forwards}.animate-fadeout{animation:fadeOut .3s ease-in-out forwards}.animate-fade-grow{animation:grow .3s ease-in-out forwards}.animate-progress-infinite{animation:progress-infinite 1.5s cubic-bezier(.4,0,.2,1) infinite}.animate-bounce-slow{animation:bounce-slow 2s ease-in-out infinite}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes grow{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes slideLeft{from{transform:translate3d(-20px,0,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}@keyframes slideDown{from{transform:translate3d(0,-20px,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}@keyframes progress-infinite{0%{left:-50%}100%{left:100%}}@keyframes bounce-slow{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}.rte{border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:visible;position:relative}.rte-source{display:none}textarea[data-rich-text]:not(.rte-source){box-sizing:border-box;display:block;width:100%;height:271px;padding:63px 16px 14px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(#f8fafc 0 48px,#e2e8f0 48px 49px,#fff 49px);color:transparent;font-size:13px;line-height:1.6;resize:none;animation:rte-fallback 0s linear 6s forwards}textarea[data-rich-text][readonly]:not(.rte-source){height:222px;padding-top:14px;background:#f8fafc}@keyframes rte-fallback{to{height:auto;padding:12px 16px;background:#fff;color:#334155}}.rte-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #e2e8f0;background:#f8fafc;border-radius:14px 14px 0 0}.rte-group{display:inline-flex;align-items:center;gap:4px;position:relative}.rte-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:32px;height:32px;padding:0 8px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#334155;font-size:12px;font-weight:700;cursor:pointer;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.rte-button:hover{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.rte-button.is-active,.rte-button.is-active:hover{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.rte-button:focus-visible{outline:2px solid #3b82f6;outline-offset:1px}.rte-size-toggle span{min-width:16px;text-align:center}.rte-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:60;padding:6px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 16px 34px -12px rgba(15,23,42,.28)}.rte-menu[hidden]{display:none}.rte-menu-item{display:block;width:100%;min-width:64px;padding:7px 10px;border:0;border-radius:8px;background:0 0;text-align:left;font-size:12px;font-weight:700;color:#475569;cursor:pointer}.rte-menu-item:hover{background:#eff6ff;color:#1d4ed8}.rte-picker{padding:8px}.rte-grid{display:grid;grid-template-columns:repeat(10,18px);gap:2px}.rte-cell{width:18px;height:18px;border:1px solid #dbeafe;border-radius:2px;background:#f8fafc;cursor:pointer}.rte-cell.is-on{background:#bfdbfe;border-color:#60a5fa}.rte-grid-label{margin:8px 0 0;font-size:11px;font-weight:700;color:#64748b;text-align:center}.rte-content{min-height:220px;max-height:60vh;overflow-y:auto;padding:14px 16px;font-size:13px;line-height:1.6;color:#334155;outline:0;position:relative}.rte-content.is-empty::before{content:attr(data-placeholder);position:absolute;top:14px;left:16px;right:16px;color:#cbd5e1;pointer-events:none}.rte-content:focus{box-shadow:inset 0 0 0 2px rgba(59,130,246,.12)}.rte-content p{margin:0 0 8px}.rte-content p:last-child{margin-bottom:0}.rte-content table{width:100%;margin:10px 0;border-collapse:collapse;table-layout:auto}.rte-content td,.rte-content th{min-width:48px;padding:7px 9px;border:1px solid #cbd5e1;vertical-align:top}.rte-content th{background:#f1f5f9;font-weight:700}.rte.is-readonly .rte-toolbar{display:none}.rte.is-readonly .rte-content{background:#f8fafc;color:#475569}.rte-table-actions{position:absolute;z-index:55;display:inline-flex;align-items:center;gap:4px;padding:5px 6px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;box-shadow:0 14px 30px -12px rgba(15,23,42,.3)}.rte-table-actions[hidden]{display:none}.rte-table-actions .rte-button{min-width:28px;height:28px;padding:0 6px;font-size:11px}.rte-divider{width:1px;height:18px;margin:0 2px;background:#e2e8f0}@media print{.rte-table-actions,.rte-toolbar{display:none}.rte{border:0}.rte-content{max-height:none;overflow:visible;padding:0}}.rte-preview p{margin:0 0 6px}.rte-preview p:last-child{margin-bottom:0}.rte-preview table{width:100%;margin:6px 0;border-collapse:collapse}.rte-preview td,.rte-preview th{padding:5px 7px;border:1px solid #cbd5e1;vertical-align:top}.rte-preview th{background:#f1f5f9;font-weight:700}.rte-button[disabled]{opacity:.4;cursor:not-allowed}.rte-button[disabled]:hover{background:#fff;border-color:#e2e8f0;color:#334155}.animate-chat-in{animation:chatInSide .28s cubic-bezier(.2,.8,.2,1)}.animate-chat-out{animation:chatOutSide .2s ease-in forwards}@media (min-width:768px){.animate-chat-in{animation-name:chatInDrop;animation-duration:.22s;transform-origin:top right}.animate-chat-out{animation-name:chatOutDrop;animation-duration:.16s;transform-origin:top right}}@media (prefers-reduced-motion:reduce){.animate-chat-in,.animate-chat-out{animation-duration:1ms}}[data-chat] .overflow-y-auto,[data-chat] textarea{overscroll-behavior:contain}@keyframes chatInSide{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes chatOutSide{from{transform:translate3d(0,0,0)}to{transform:translate3d(100%,0,0)}}@keyframes chatInDrop{from{opacity:0;transform:translate3d(0,-12px,0) scale(.97)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}@keyframes chatOutDrop{from{opacity:1;transform:translate3d(0,0,0) scale(1)}to{opacity:0;transform:translate3d(0,-8px,0) scale(.98)}}