.quick-patient-preview-modal__backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:1070;padding:16px;animation:quickPatientPreviewFadeIn .16s ease-out}.quick-patient-preview-modal__dialog{width:min(100%,460px);max-height:min(80vh,620px);background:#fff;border-radius:var(--card-border-radius,14px);border:1px solid var(--border-color,#e2e8f0);box-shadow:0 20px 60px rgba(15,23,42,.18),0 6px 18px rgba(15,23,42,.08);display:flex;flex-direction:column;overflow:hidden;animation:quickPatientPreviewDialogIn .22s cubic-bezier(.22,1,.36,1)}.quick-patient-preview-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 10px;border-bottom:1px solid var(--border-color,#e2e8f0);background:linear-gradient(180deg,rgba(var(--primary-color-rgb,1,96,117),.035) 0,rgba(var(--primary-color-rgb,1,96,117),0) 100%)}.quick-patient-preview-modal__heading{display:flex;align-items:center;gap:10px;min-width:0}.quick-patient-preview-modal__avatar{flex-shrink:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,rgba(var(--primary-color-rgb,1,96,117),.92),var(--primary-color-dark,#014a59));color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.03em;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.35),0 2px 5px rgba(var(--primary-color-rgb,1,96,117),.28)}.quick-patient-preview-modal__name{font-size:1.02rem;font-weight:600;letter-spacing:-.01em;color:var(--text-color,#0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-patient-preview-modal__profile-link{display:inline-flex;align-items:center;gap:3px;font-size:.78rem;font-weight:500;color:var(--primary-color,#016075);text-decoration:none}.quick-patient-preview-modal__profile-link:hover{text-decoration:underline}.quick-patient-preview-modal__close{flex-shrink:0;font-size:1.05rem;line-height:1}.quick-patient-preview-modal__header-actions{display:flex;align-items:center;gap:var(--space-xs,4px);flex-shrink:0}.quick-patient-preview-modal__refresh{flex-shrink:0}.quick-patient-preview-modal__refresh--spinning img,.quick-patient-preview-modal__refresh--spinning svg{animation:quickPatientPreviewRefreshSpin .9s linear infinite}@keyframes quickPatientPreviewRefreshSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.quick-patient-preview-modal__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;padding:10px 16px;background:rgba(var(--primary-color-rgb,1,96,117),.04);border-bottom:1px solid var(--border-color,#e2e8f0)}.quick-patient-preview-modal__stat{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:7px 4px;border-radius:8px;text-align:center;background:#fff;border:1px solid rgba(var(--primary-color-rgb,1,96,117),.08);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.9),0 1px 2px rgba(15,23,42,.05)}.quick-patient-preview-modal__stat>:first-child{margin-bottom:2px}.quick-patient-preview-modal__stat-value{font-size:.85rem;font-weight:600;color:var(--text-color,#0f172a);line-height:1.2}.quick-patient-preview-modal__stat-active{font-size:.7rem;font-weight:500;color:var(--primary-color,#016075)}.quick-patient-preview-modal__stat-label{font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:var(--soft-gray,#94a3b8);line-height:1.2}.quick-patient-preview-modal__tabs{padding:8px 16px 6px;display:flex;justify-content:center}.quick-patient-preview-modal__body{flex:1 1 auto;overflow-y:auto;padding:6px 12px 14px;min-height:200px;max-height:380px}.quick-patient-preview-modal__filters{position:-webkit-sticky;position:sticky;top:-6px;margin:-6px -12px 6px;padding:8px 12px 6px;background:linear-gradient(180deg,#ffffff,#ffffff 86%,rgba(255,255,255,0));z-index:2;display:flex;flex-direction:column;gap:6px}.quick-patient-preview-modal__filter-row{display:flex;align-items:center;gap:6px}.quick-patient-preview-modal__filter-row .vita-search-bar{flex:1 1 auto;min-width:0}.quick-patient-preview-modal__filter-chips{overflow-x:auto;margin:0 -4px;padding:0 4px 2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.quick-patient-preview-modal__filter-chips::-webkit-scrollbar{display:none}.quick-patient-preview-modal__filter-chips .vita-chip-group{flex-wrap:nowrap}.quick-patient-preview-modal__filter-count{font-size:.7rem;color:var(--soft-gray,#94a3b8);text-align:right;letter-spacing:.02em}.quick-patient-preview-modal__empty-filter{display:flex;flex-direction:column;align-items:center;gap:4px;padding:28px 12px;color:var(--medium-gray,#64748b);font-size:.82rem;text-align:center}.quick-patient-preview-modal__reset-link{background:none;border:none;padding:0;font-size:.8rem;color:var(--primary-color,#016075);cursor:pointer;text-decoration:underline}.quick-patient-preview-modal__reset-link:hover{color:var(--primary-color-dark,#014a59)}.quick-patient-preview-modal__error,.quick-patient-preview-modal__loading{display:flex;align-items:center;justify-content:center;padding:32px 12px;color:var(--soft-gray,#94a3b8);font-size:.85rem}.quick-patient-preview-modal__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.quick-patient-preview-modal__row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:rgba(var(--primary-color-rgb,1,96,117),.025);border:1px solid rgba(0,0,0,0);transition:background .12s ease-out,border-color .12s ease-out}.quick-patient-preview-modal__row:hover{background:rgba(var(--primary-color-rgb,1,96,117),.06);border-color:rgba(var(--primary-color-rgb,1,96,117),.12)}.quick-patient-preview-modal__row-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.quick-patient-preview-modal__row-state{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;min-width:0}.quick-patient-preview-modal__row-date{font-size:.83rem;font-weight:600;color:var(--text-color,#0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-patient-preview-modal__row-meta{font-weight:500;color:var(--soft-gray,#94a3b8)}.quick-patient-preview-modal__row-sub{font-size:.74rem}.quick-patient-preview-modal__row-note,.quick-patient-preview-modal__row-sub{color:var(--medium-gray,#64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-patient-preview-modal__row-note{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-size:.7rem;font-style:italic;background:rgba(0,0,0,0);border:none;padding:0;text-align:left;width:100%}.quick-patient-preview-modal__row-note>span{overflow:hidden;text-overflow:ellipsis}.quick-patient-preview-modal__row-note--add,.quick-patient-preview-modal__row-note--editable{cursor:pointer;border-radius:6px;transition:background-color .12s ease-out}.quick-patient-preview-modal__row-note--add:hover,.quick-patient-preview-modal__row-note--editable:hover{background-color:rgba(var(--primary-color-rgb),.06)}.quick-patient-preview-modal__row-note--add{font-style:normal;opacity:.55}.quick-patient-preview-modal__row-note--add:hover{opacity:1}.quick-patient-preview-modal__row-note-pencil{margin-left:auto;flex-shrink:0;opacity:.6}.quick-patient-preview-modal__row--editing{background:rgba(var(--primary-color-rgb),.04)}.appointment-notes-editor{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding:8px;border-radius:8px;background:rgba(var(--primary-color-rgb),.06);animation:quickPatientPreviewFadeIn .16s ease-out}.appointment-notes-editor__field{display:flex;flex-direction:column;gap:3px}.appointment-notes-editor__label{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:var(--text-color,#1e293b);opacity:.75}.appointment-notes-editor .vita-textarea__field,.appointment-notes-editor textarea{font-size:11px!important;line-height:1.35!important;padding:5px 7px!important;min-height:0}.appointment-notes-editor__actions{display:flex;gap:6px;justify-content:flex-end}.quick-patient-info-button{margin-left:4px;vertical-align:middle}@keyframes quickPatientPreviewFadeIn{0%{opacity:0}to{opacity:1}}@keyframes quickPatientPreviewDialogIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.quick-patient-preview-modal__notes{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px 0}.quick-patient-preview-modal__note-row{display:flex;align-items:flex-start;gap:6px;flex:1 1 100%;min-width:0;padding:5px 9px;border-radius:8px;background:rgba(var(--secondary-color-rgb),.06);border:1px solid rgba(var(--secondary-color-rgb),.18);font-size:10px;line-height:1.25;color:var(--text-color);text-align:start;width:100%;transition:background .15s ease}.quick-patient-preview-modal__note-row:hover{background:rgba(var(--secondary-color-rgb),.1)}.quick-patient-preview-modal__note-row--alert{background:linear-gradient(180deg,rgba(var(--danger-color-rgb),.1),rgba(var(--danger-color-rgb),.04));border-color:rgba(var(--danger-color-rgb),.55);color:var(--danger-color);font-weight:500}.quick-patient-preview-modal__note-row--alert:hover{background:linear-gradient(180deg,rgba(var(--danger-color-rgb),.15),rgba(var(--danger-color-rgb),.06))}.quick-patient-preview-modal__note-row--alert .quick-patient-preview-modal__note-label{color:var(--danger-color)}.quick-patient-preview-modal__note-row--empty{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 3px);width:auto;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:1px dashed rgba(var(--soft-gray-rgb,191,191,191),.6);color:var(--soft-gray);cursor:pointer}.quick-patient-preview-modal__note-row--empty .quick-patient-preview-modal__note-body{flex:0 1 auto}.quick-patient-preview-modal__note-row--empty:hover{border-color:var(--primary-color);color:var(--primary-color);background:rgba(var(--primary-color-rgb),.04)}.quick-patient-preview-modal__note-row--empty.quick-patient-preview-modal__note-row--alert{border-color:rgba(var(--danger-color-rgb),.45);color:var(--danger-color)}.quick-patient-preview-modal__note-row--empty.quick-patient-preview-modal__note-row--alert:hover{border-color:var(--danger-color);background:rgba(var(--danger-color-rgb),.06)}.quick-patient-preview-modal__notes>:not(.quick-patient-preview-modal__note-row){flex:1 1 100%;min-width:0}.quick-patient-preview-modal__note-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.quick-patient-preview-modal__note-label{font-weight:600;font-size:8.5px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-color);opacity:.7}.quick-patient-preview-modal__note-value{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;white-space:pre-wrap}button.quick-patient-preview-modal__note-row{cursor:pointer;font-family:inherit;text-align:start}.quick-patient-preview-modal__note-pencil{flex-shrink:0;opacity:.55;align-self:center;transition:opacity .15s ease}.quick-patient-preview-modal__note-row:hover .quick-patient-preview-modal__note-pencil{opacity:1}.quick-patient-preview-modal__history{display:flex;flex-direction:column;gap:var(--space-md,12px)}.quick-patient-preview-modal__history-group{display:flex;flex-direction:column;gap:var(--space-xs,4px)}.quick-patient-preview-modal__history-day{font-size:var(--font-xs,11px);text-transform:uppercase;letter-spacing:.04em;color:var(--medium-gray,#94a3b8);font-weight:600;padding:0 var(--space-xs,4px)}.quick-patient-preview-modal__history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-xs,4px);position:relative}.quick-patient-preview-modal__history-row{display:flex;align-items:flex-start;gap:var(--space-sm,8px);padding:var(--space-sm,8px) var(--space-sm,8px);border-radius:var(--border-radius,8px);background:rgba(var(--primary-color-rgb),.04);border:1px solid var(--border-color,#e2e8f0)}.quick-patient-preview-modal__history-icon{flex:0 0 auto;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:1px solid var(--border-color,#e2e8f0)}.quick-patient-preview-modal__history-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:var(--space-xs,4px)}.quick-patient-preview-modal__history-title{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-sm,8px);font-size:var(--font-sm,13px);color:var(--text-color,#0f172a);font-weight:500}.quick-patient-preview-modal__history-time{font-size:var(--font-xs,11px);color:var(--medium-gray,#94a3b8);flex-shrink:0}.quick-patient-preview-modal__history-preview{font-size:var(--font-sm,13px);color:var(--text-color,#0f172a);opacity:.8;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.quick-patient-preview-modal__history-actor{font-size:var(--font-xs,11px);color:var(--medium-gray,#94a3b8)}.quick-patient-preview-modal__history-load-more{display:flex;justify-content:center;padding-top:var(--space-sm,8px)}.quick-patient-preview-modal__quick-actions{display:flex;justify-content:flex-end;padding:var(--space-sm,8px) 16px 0}.quick-patient-preview-modal__plan-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-xs,4px);margin-top:var(--space-xs,4px)}.quick-patient-preview-modal__datos{display:flex;flex-wrap:wrap;gap:var(--space-xs,4px) var(--space-md,16px);padding:var(--space-sm,8px) 10px;margin:6px 16px var(--space-sm,8px);border-radius:8px;background:rgba(var(--primary-color-rgb),.04);border:1px solid var(--border-color)}.quick-patient-preview-modal__dato{display:flex;align-items:baseline;gap:var(--space-xs,4px);min-width:0}.quick-patient-preview-modal__dato-label{font-size:var(--font-xs,10.5px);text-transform:uppercase;letter-spacing:.04em;color:var(--medium-gray);flex-shrink:0}.quick-patient-preview-modal__dato-value{font-size:var(--font-sm,12.5px);font-weight:600;color:var(--text-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}