*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--brand: #1a56db;--brand-dark: #1245b5;--brand-light: #ebf0ff;--bg: #f4f6f9;--surface: #ffffff;--border: #e2e8f0;--text: #1a202c;--text-muted: #718096;--sidebar-bg: #0f172a;--sidebar-text: #cbd5e0;--sidebar-active: #1a56db;--red: #e53e3e;--red-light: #fff5f5;--yellow: #d69e2e;--yellow-light: #fffff0;--green: #38a169;--green-light: #f0fff4;--orange: #dd6b20;--orange-light: #fffaf0;--purple: #805ad5;--purple-light: #faf5ff;--gray: #718096;--gray-light: #f7fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;color:var(--text)}body{background:var(--bg)}.app{display:flex;height:100vh;overflow:hidden}.sidebar{width:220px;min-width:220px;background:var(--sidebar-bg);display:flex;flex-direction:column;padding:0}.sidebar-logo{padding:20px 20px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-logo h1{font-size:15px;font-weight:700;color:#fff;letter-spacing:.01em}.sidebar-logo p{font-size:11px;color:var(--sidebar-text);margin-top:2px}.sidebar-location{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.location-selector{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#ffffff0f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid rgba(255,255,255,.12);border-radius:6px;padding:7px 28px 7px 10px;color:var(--sidebar-text);font-size:12px;cursor:pointer;width:100%}.location-selector:hover{background-color:#ffffff1a}.location-selector:focus{outline:none;border-color:#ffffff4d}.location-selector option{background:#1e293b;color:#fff}.sidebar-nav{flex:1;padding:12px 0}.nav-section-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#ffffff4d;padding:8px 20px 4px}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 20px;color:var(--sidebar-text);cursor:pointer;border-radius:0;font-size:13px;transition:background .1s;border-left:3px solid transparent}.nav-item:hover{background:#ffffff0f;color:#fff}.nav-item.active{background:#1a56db33;color:#fff;border-left-color:var(--brand)}.nav-icon{font-size:15px;width:18px;text-align:center}.sidebar-footer{padding:12px 16px;border-top:1px solid rgba(255,255,255,.08)}.user-chip{display:flex;align-items:center;gap:8px;color:var(--sidebar-text);font-size:12px}.avatar{width:28px;height:28px;border-radius:50%;background:var(--brand);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0}.main{flex:1;display:flex;flex-direction:column;overflow:hidden}.topbar{background:var(--surface);border-bottom:1px solid var(--border);padding:0 24px;height:52px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.topbar-title{font-size:16px;font-weight:600}.topbar-meta{font-size:12px;color:var(--text-muted)}.page-content{flex:1;overflow-y:auto;padding:24px}.placeholder-page{display:flex;align-items:center;justify-content:center;height:100%;flex-direction:column;gap:12px;color:var(--text-muted)}.placeholder-page .ph-icon{font-size:48px}.placeholder-page h2{font-size:20px;font-weight:600;color:var(--text)}.placeholder-page p{font-size:14px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:12px}.dashboard-header h2{font-size:18px;font-weight:600}.view-toggle{display:flex;gap:0;border:1px solid var(--border);border-radius:6px;overflow:hidden;background:var(--surface)}.view-toggle button{padding:6px 14px;background:none;border:none;font-size:12px;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;gap:5px}.view-toggle button.active{background:var(--brand);color:#fff}.view-toggle button:hover:not(.active){background:var(--bg)}.summary-bar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px 18px;min-width:110px;flex:1}.summary-card .sc-label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.summary-card .sc-value{font-size:22px;font-weight:700}.tracker-table{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.tracker-table table{width:100%;border-collapse:collapse}.tracker-table th{background:var(--bg);padding:10px 14px;text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);border-bottom:1px solid var(--border)}.tracker-table td{padding:10px 14px;border-bottom:1px solid var(--border);vertical-align:middle}.tracker-table tr:last-child td{border-bottom:none}.tracker-table tr:hover td{background:var(--bg)}.stage-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:500}.stage-badge.waiting_to_arrive{background:var(--gray-light);color:var(--gray)}.stage-badge.waiting{background:var(--yellow-light);color:var(--yellow)}.stage-badge.in_consultation{background:var(--brand-light);color:var(--brand)}.stage-badge.ready_for_discharge{background:var(--orange-light);color:var(--orange)}.stage-badge.discharged{background:var(--green-light);color:var(--green)}.stage-badge.cancelled{background:#fff5f5;color:var(--red)}.priority-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.priority-badge.routine{background:#edf2f7;color:#718096}.priority-badge.urgent{background:var(--yellow-light);color:var(--yellow)}.priority-badge.emergency{background:var(--red-light);color:var(--red)}.hmo-chip{display:inline-flex;align-items:center;gap:3px;font-size:11px}.hmo-chip.covered{color:var(--green)}.hmo-chip.uncovered{color:var(--red)}.time-elapsed{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.time-elapsed.long{color:var(--orange)}.btn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:5px;border:none;font-size:12px;font-weight:500;cursor:pointer;transition:opacity .15s;white-space:nowrap}.btn:hover{opacity:.85}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--brand);color:#fff}.btn-success{background:var(--green);color:#fff}.btn-danger{background:var(--red);color:#fff}.btn-warning{background:var(--yellow);color:#fff}.btn-ghost{background:var(--bg);color:var(--text);border:1px solid var(--border)}.btn-sm{padding:3px 8px;font-size:11px}.kanban-board{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;align-items:flex-start;min-height:500px}.kanban-lane{flex:0 0 220px;background:var(--bg);border:1px solid var(--border);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:200px}.lane-header{padding:10px 14px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.lane-count{font-size:11px;font-weight:600;background:#00000014;border-radius:10px;padding:1px 7px}.lane-waiting_to_arrive .lane-header{background:#f1f5f9;color:var(--gray)}.lane-waiting .lane-header{background:var(--yellow-light);color:var(--yellow)}.lane-in_consultation .lane-header{background:var(--brand-light);color:var(--brand)}.lane-ready_for_discharge .lane-header{background:var(--orange-light);color:var(--orange)}.lane-discharged .lane-header{background:var(--green-light);color:var(--green)}.lane-body{padding:10px;display:flex;flex-direction:column;gap:8px;flex:1}.patient-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;box-shadow:0 1px 3px #0000000a}.patient-card.priority-emergency{border-left:3px solid var(--red)}.patient-card.priority-urgent{border-left:3px solid var(--yellow)}.card-name{font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:4px}.card-meta{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.card-meta-dot{color:var(--border)}.card-actions{display:flex;flex-direction:column;gap:4px;margin-top:4px}.card-assign-row{display:flex;gap:4px;align-items:center}.card-assign-row select{flex:1;padding:4px 6px;border:1px solid var(--border);border-radius:5px;font-size:11px;background:var(--surface);color:var(--text)}.payment-block{display:flex;align-items:center;gap:5px;background:var(--red-light);border:1px solid #fca5a5;border-radius:5px;padding:4px 8px;font-size:11px;color:var(--red);font-weight:500}.doctor-load-section{margin-top:24px}.doctor-load-section h3{font-size:14px;font-weight:600;margin-bottom:12px}.doctor-grid{display:flex;gap:12px;flex-wrap:wrap}.doctor-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px 16px;min-width:160px;flex:1}.doctor-card h4{font-size:13px;font-weight:600;margin-bottom:8px}.doctor-stats{display:flex;gap:8px;font-size:11px}.ds-item{display:flex;flex-direction:column;align-items:center;gap:2px}.ds-value{font-size:18px;font-weight:700}.ds-label{color:var(--text-muted)}.ds-item.in-progress .ds-value{color:var(--brand)}.ds-item.waiting .ds-value{color:var(--yellow)}.ds-item.done .ds-value{color:var(--green)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.staff-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.staff-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 16px 14px;display:flex;flex-direction:column;gap:0;transition:box-shadow .15s}.staff-card:hover{box-shadow:0 4px 12px #00000014}.staff-card.inactive{opacity:.65}.staff-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.staff-card-name{font-size:14px;font-weight:600;margin-bottom:6px;line-height:1.3}.inactive-badge{font-size:10px;font-weight:600;background:#f1f5f9;color:var(--text-muted);padding:2px 7px;border-radius:8px;text-transform:uppercase;letter-spacing:.04em}.specialism-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}.specialism-tag{display:inline-block;background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:2px 7px;font-size:11px;color:var(--text-muted)}.staff-edit-btn{margin-top:auto;width:100%;justify-content:center}.search-input{padding:7px 12px;border:1px solid var(--border);border-radius:6px;font-size:13px;width:260px;background:var(--surface);color:var(--text)}.search-input:focus{outline:none;border-color:var(--brand)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal{background:var(--surface);border-radius:12px;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px 14px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:16px;font-weight:600}.modal-close{background:none;border:none;font-size:16px;cursor:pointer;color:var(--text-muted);padding:4px;border-radius:4px;line-height:1}.modal-close:hover{background:var(--bg);color:var(--text)}.modal-body{flex:1;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:18px}.modal-footer{padding:14px 24px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}.form-photo-row{display:flex;align-items:center;gap:16px}.photo-preview{width:72px;height:72px;border-radius:50%;background:var(--bg);border:2px dashed var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;overflow:hidden;flex-shrink:0}.photo-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%}.photo-initials{font-size:22px;font-weight:700;color:var(--text-muted)}.photo-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;font-size:20px;opacity:0;transition:opacity .15s;border-radius:50%}.photo-preview:hover .photo-overlay{opacity:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.form-group input[type=text],.form-group input[type=email],.form-group select{padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;background:var(--surface);color:var(--text)}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--brand)}.toggle-row{display:flex;align-items:center;gap:10px;padding-top:4px}.toggle{position:relative;display:inline-block;width:36px;height:20px;cursor:pointer}.toggle input{display:none}.toggle-slider{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--border);border-radius:20px;transition:background .2s}.toggle-slider:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .2s;box-shadow:0 1px 3px #0003}.toggle input:checked+.toggle-slider{background:var(--brand)}.toggle input:checked+.toggle-slider:after{transform:translate(16px)}.tag-options{display:flex;flex-wrap:wrap;gap:6px}.tag-option{padding:4px 10px;border-radius:6px;border:1px solid var(--border);background:var(--surface);font-size:12px;cursor:pointer;color:var(--text-muted);transition:all .12s}.tag-option:hover{border-color:var(--brand);color:var(--brand)}.tag-option.selected{background:var(--brand-light);border-color:var(--brand);color:var(--brand);font-weight:500}.selected-tag{background:var(--brand-light)!important;border-color:var(--brand)!important;color:var(--brand)!important;display:inline-flex;align-items:center;gap:4px}.selected-tag button{background:none;border:none;cursor:pointer;color:inherit;font-size:10px;padding:0;line-height:1}.custom-specialism-row{display:flex;gap:6px;margin-top:8px}.custom-specialism-row input{flex:1;padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:12px;background:var(--surface);color:var(--text)}.custom-specialism-row input:focus{outline:none;border-color:var(--brand)}.profile-layout{display:flex;gap:20px;align-items:flex-start}.profile-card{width:240px;min-width:240px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px 20px;display:flex;flex-direction:column;align-items:center;text-align:center}.profile-avatar-wrap{position:relative;margin-bottom:14px}.profile-avatar-img{width:88px;height:88px;border-radius:50%;object-fit:cover}.profile-avatar-initials{width:88px;height:88px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;border:3px solid}.profile-status-dot{position:absolute;bottom:4px;right:4px;width:14px;height:14px;border-radius:50%;border:2px solid var(--surface)}.profile-name{font-size:16px;font-weight:700;margin-bottom:8px;line-height:1.3}.profile-role-badge{display:inline-block;padding:3px 12px;border-radius:12px;font-size:12px;font-weight:600;margin-bottom:18px}.profile-meta-list{width:100%;display:flex;flex-direction:column;gap:10px;text-align:left}.profile-meta-item{display:flex;flex-direction:column;gap:2px}.pmi-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.pmi-value{font-size:12px;color:var(--text);word-break:break-word}.profile-section{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px 18px}.profile-section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:12px}.specialism-pill{display:inline-block;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:500;background:var(--brand-light);color:var(--brand);border:1px solid #c3d4fb}.roster-mini{display:flex;gap:8px}.roster-mini-day{flex:1;border-radius:6px;padding:8px 4px;text-align:center;border:1px solid var(--border)}.roster-mini-day.on{background:var(--brand-light);border-color:#c3d4fb}.roster-mini-day.off{background:var(--bg)}.rmd-label{font-size:11px;font-weight:600;color:var(--text-muted);margin-bottom:4px}.roster-mini-day.on .rmd-label{color:var(--brand)}.rmd-slot{font-size:10px;color:var(--text-muted)}.roster-mini-day.on .rmd-slot{color:var(--brand)}.roster-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.roster-period-label{font-size:15px;font-weight:600;margin-left:4px}.roster-legend{display:flex;gap:16px;font-size:12px;color:var(--text-muted);margin-bottom:14px;align-items:center}.legend-item{display:flex;align-items:center;gap:5px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.unassigned-legend{color:var(--orange);font-weight:500}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.month-dow-header{padding:8px;text-align:center;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);background:var(--bg);border-bottom:1px solid var(--border)}.month-cell{min-height:100px;padding:6px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);cursor:pointer;transition:background .1s;vertical-align:top}.month-cell:hover{background:#fafbff}.month-cell.empty{background:var(--bg);cursor:default}.month-cell:nth-child(7n){border-right:none}.month-cell.today{background:#f0f5ff}.month-cell.has-unassigned{border-top:2px solid var(--orange)}.month-cell-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.month-day-num{font-size:12px;font-weight:500;color:var(--text-muted);width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%}.month-day-num.today-num{background:var(--brand);color:#fff;font-weight:700}.unassigned-flag{font-size:11px;color:var(--orange)}.month-chip-list{display:flex;flex-direction:column;gap:2px}.roster-chip{display:flex;align-items:center;gap:4px;font-size:11px;padding:2px 5px;border-radius:3px;background:var(--brand-light);color:var(--brand);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.roster-chip:hover{opacity:.8}.roster-chip.unassigned{background:#fff7ed;color:var(--orange);border:1px solid #fed7aa}.chip-dot{width:6px;height:6px;border-radius:50%;background:var(--brand);flex-shrink:0}.chip-dot.unassigned-dot{width:auto;height:auto;background:none;font-size:10px}.month-overflow{font-size:10px;color:var(--text-muted);padding:1px 4px}.week-view-scroll{overflow-x:auto}.week-rota-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.week-rota{width:100%;border-collapse:collapse;min-width:700px}.week-rota th,.week-rota td{border:1px solid var(--border)}.wr-staff-header{width:180px;min-width:180px;padding:8px 12px;background:var(--bg);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);text-align:left;border-left:none;border-top:none}.wr-day-header{padding:8px 4px;text-align:center;background:var(--bg);border-top:none;min-width:110px}.wr-day-header.today{background:#f0f5ff}.wr-day-header.weekend{background:#fafafa}.wr-dow{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:2px}.wr-date{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;font-size:15px;font-weight:600;color:var(--text)}.wr-date.today-num{background:var(--brand);color:#fff}.wr-staff-cell{padding:8px 10px;display:flex;align-items:center;gap:8px;border-left:none;background:var(--surface)}.wr-avatar{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0;border:1px solid}.wr-staff-info{display:flex;flex-direction:column;gap:1px}.wr-staff-name{font-size:12px;font-weight:600;white-space:nowrap}.wr-staff-role{font-size:10px;text-transform:capitalize}.wr-cell{padding:4px;vertical-align:top;cursor:pointer;transition:background .1s;min-height:56px}.wr-cell:hover:not(.weekend-cell){background:#fafbff}.wr-cell.today-cell{background:#f8faff}.wr-cell.weekend-cell{background:#fafafa;cursor:default}.wr-cell.has-entry{cursor:default}.wr-empty-hint{height:100%;min-height:48px;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--border);opacity:0;transition:opacity .15s}.wr-cell:hover .wr-empty-hint{opacity:1}.wr-blocks{display:flex;flex-direction:column;gap:3px}.wr-block{border-radius:5px;border-left:3px solid;padding:4px 6px;cursor:pointer;transition:opacity .1s}.wr-block:hover{opacity:.8}.wr-block-time{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;opacity:.75}.wr-block-spec{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wr-block-loc{font-size:10px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wr-staff-cell-clickable{cursor:pointer;transition:background .1s}.wr-staff-cell-clickable:hover{background:#f8faff}.wr-edit-schedule-hint{margin-left:auto;font-size:11px;color:var(--text-muted);opacity:0;transition:opacity .15s}.wr-staff-cell-clickable:hover .wr-edit-schedule-hint{opacity:1}.wr-cell.day-off-cell{background:#fff7ed;cursor:default}.wr-day-off-chip{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--orange);font-weight:500;padding:4px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wr-day-off-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wr-override-chip{font-size:10px;color:var(--brand);margin-bottom:3px;font-style:italic}.schedule-rule-card{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.schedule-form-panel{padding:14px;border:1px solid var(--brand);border-radius:8px;background:var(--brand-light)}.btn-danger{background:#fef2f2;color:var(--red);border:1px solid #fecaca}.btn-danger:hover{background:#fee2e2}.unassigned-note{font-size:11px;color:var(--orange);background:#fff7ed;border:1px solid #fed7aa;border-radius:5px;padding:5px 8px;margin-top:4px;font-weight:500}.filter-select{padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:12px;background:var(--surface);color:var(--text);cursor:pointer}.filter-select:focus{outline:none;border-color:var(--brand)}.day-appt-list{display:flex;flex-direction:column;gap:10px}.day-appt-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;display:flex;gap:0;overflow:hidden;transition:box-shadow .15s}.day-appt-card:hover{box-shadow:0 2px 8px #00000012}.day-appt-card.cancelled,.day-appt-card.no_show{opacity:.6}.day-appt-card.completed{border-left:3px solid #94a3b8}.day-appt-card.checked_in{border-left:3px solid var(--green)}.day-appt-card.scheduled{border-left:3px solid var(--brand)}.dac-time-col{width:68px;min-width:68px;background:var(--bg);border-right:1px solid var(--border);padding:14px 10px;display:flex;flex-direction:column;align-items:center;gap:2px}.dac-time{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.dac-end{font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}.dac-duration{font-size:10px;color:var(--text-muted);background:var(--border);border-radius:8px;padding:1px 5px;margin-top:2px}.dac-body{flex:1;padding:12px 14px;display:flex;flex-direction:column;gap:4px;justify-content:center}.dac-patient{font-size:14px;font-weight:600;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.dac-meta{font-size:12px;color:var(--text-muted)}.dac-actions{padding:10px 14px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:140px;border-left:1px solid var(--border)}.appt-month-grid .month-cell{min-height:80px}.appt-cell.weekend{background:var(--bg);cursor:default!important}.full-badge{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:var(--red-light);color:var(--red);padding:1px 5px;border-radius:4px}.day-cap{display:flex;flex-direction:column;gap:4px;margin-top:6px}.day-cap-counts{display:flex;align-items:baseline;gap:3px;font-size:12px;font-variant-numeric:tabular-nums}.day-cap-free{margin-left:auto;font-size:10px;color:var(--text-muted)}.day-cap-bar{height:4px;background:var(--border);border-radius:2px;overflow:hidden}.day-cap-fill{height:100%;border-radius:2px;transition:width .3s ease}
