.shepherd-button{background:#3288e6;border:0;border-radius:3px;color:#ffffffbf;cursor:pointer;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s ease}.shepherd-button:not(:disabled):hover{background:#196fcc;color:#ffffffbf}.shepherd-button.shepherd-button-secondary{background:#f1f2f3;color:#000000bf}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{background:#d6d9db;color:#000000bf}.shepherd-button:disabled{cursor:not-allowed}.shepherd-footer{border-bottom-left-radius:5px;border-bottom-right-radius:5px;display:flex;justify-content:flex-end;padding:0 .75rem .75rem}.shepherd-footer .shepherd-button:last-child{margin-right:0}.shepherd-cancel-icon{background:transparent;border:none;color:#808080bf;cursor:pointer;font-size:2em;font-weight:400;margin:0;padding:0;transition:color .5s ease}.shepherd-cancel-icon:hover{color:#000000bf}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:#808080bf}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:#000000bf}.shepherd-title{color:#000000bf;display:flex;flex:1 0 auto;font-size:1rem;font-weight:400;margin:0;padding:0}.shepherd-header{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex;justify-content:flex-end;line-height:2em;padding:.75rem .75rem 0}.shepherd-has-title .shepherd-content .shepherd-header{background:#e6e6e6;padding:1em}.shepherd-text{color:#000000bf;font-size:1rem;line-height:1.3em;padding:.75em}.shepherd-text p{margin-top:0}.shepherd-text p:last-child{margin-bottom:0}.shepherd-content{border-radius:5px;outline:none;padding:0}.shepherd-element{background:#fff;border:none;border-radius:5px;box-shadow:0 1px 4px #0003;margin:0;max-width:400px;opacity:0;outline:none;padding:0;transition:opacity .3s,visibility .3s;visibility:hidden;width:100%;z-index:9999}.shepherd-enabled.shepherd-element{opacity:1;visibility:visible}.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered){opacity:0;pointer-events:none;visibility:hidden}.shepherd-element,.shepherd-element *,.shepherd-element :after,.shepherd-element :before{box-sizing:border-box}.shepherd-arrow,.shepherd-arrow:before{height:16px;position:absolute;width:16px;z-index:-1}.shepherd-arrow:before{background:#fff;content:"";transform:rotate(45deg)}.shepherd-element[data-popper-placement^=top]>.shepherd-arrow{bottom:-8px}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-8px}.shepherd-element[data-popper-placement^=left]>.shepherd-arrow{right:-8px}.shepherd-element[data-popper-placement^=right]>.shepherd-arrow{left:-8px}.shepherd-element.shepherd-centered>.shepherd-arrow{opacity:0}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:#e6e6e6}.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,.shepherd-target-click-disabled.shepherd-enabled.shepherd-target *{pointer-events:none}.shepherd-modal-overlay-container{height:0;left:0;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:all .3s ease-out,height 0s .3s,opacity .3s 0s;width:100vw;z-index:9997}.shepherd-modal-overlay-container.shepherd-modal-is-visible{height:100vh;opacity:.5;transform:translateZ(0);transition:all .3s ease-out,height 0s 0s,opacity .3s 0s}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #f8fafc;--surface: #ffffff;--border: #e3e8ef;--text: #1a1f36;--text-muted: #697386;--primary: #4f46e5;--primary-light: #eef2ff;--green: #0d7a5f;--red: #dc2626;--amber: #e08b00;--orange: #ea580c;--blue: #2563eb;--grey: #6b7280;--pharmacy-green: #3CAF4A}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);font-size:13px;line-height:1.5;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{display:flex;flex-direction:column;height:100vh}.app-header{display:flex;align-items:center;justify-content:center;padding:8px 0;background:#2d2d2d}.header-brand{display:flex;align-items:center;gap:10px}.header-monogram{width:34px;height:34px;border-radius:7px;background:#fff;color:#2d2d2d;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1}.header-wordmark{font-size:38px;font-weight:600;color:#fff;letter-spacing:.02em}.header-logo{height:32px;width:auto}.nav-strip{width:48px;min-width:48px;display:flex;flex-direction:column;align-items:center;padding:12px 0;border-right:1px solid var(--border);background:var(--surface)}.nav-strip-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:4px}.nav-strip-btn{width:36px;height:36px;border-radius:8px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}.nav-strip-btn:hover{background:var(--bg);color:var(--text)}.nav-strip-btn.active{background:var(--primary-light);color:var(--primary)}.nav-strip-filters{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:4px}.nav-filter-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--border);background:transparent;font-family:inherit;font-size:12px;font-weight:500;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}.nav-filter-btn:hover{background:var(--bg);color:var(--text)}.nav-filter-btn.active{background:var(--primary-light);color:var(--primary);border-color:var(--primary-light)}.nav-strip [data-tooltip]{position:relative}.nav-strip [data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);padding:3px 8px;background:var(--text);color:var(--bg);font-size:11px;font-weight:400;white-space:nowrap;border-radius:4px;pointer-events:none;opacity:0;transition:opacity .1s}.nav-strip [data-tooltip]:hover:after{opacity:1}.app-body{display:flex;flex:1;overflow:hidden}.app-footer{position:relative;display:flex;align-items:center;padding:8px 24px;background:#2d2d2d;border-top:none;font-size:12px;line-height:1.4;letter-spacing:.02em;color:#fff}.footer-shortcuts{position:absolute;left:50%;transform:translate(-50%);font-size:11px;letter-spacing:.3px;white-space:nowrap;pointer-events:none}.task-queue{width:340px;min-width:340px;border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column}.task-queue-header{padding:12px 16px 2px;display:flex;align-items:center;justify-content:space-between}.task-queue-header h2{font-size:15px;font-weight:400;letter-spacing:-.01em;line-height:1.3}.task-count{font-size:12px;color:var(--text-muted);letter-spacing:.02em}.task-filters{display:flex;gap:4px;padding:8px 12px;border-bottom:1px solid var(--border);flex-wrap:wrap}.filter-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid var(--border);border-radius:16px;background:transparent;font-family:inherit;font-size:12px;letter-spacing:.02em;cursor:pointer;color:var(--text-muted);transition:all .15s}.filter-btn:hover{background:var(--bg)}.filter-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.filter-key{font-family:inherit;font-size:10px;font-weight:600;background:#00000014;border:none;border-radius:3px;padding:1px 4px;line-height:1.2}.filter-btn.active .filter-key{background:#ffffff40}.task-list{flex:1;overflow-y:auto}.task-card{padding:12px 16px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}.task-card:hover{background:#f1f5f9}.task-card.selected,.task-card.keyboard-focus{background:var(--primary-light)}.task-card-top{display:flex;align-items:center;gap:8px;margin-bottom:4px}.priority-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;outline:1px solid rgba(0,0,0,.15);outline-offset:2px}.priority-dot.low{opacity:.5}.task-type{display:inline-block;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.05em;line-height:1.3;padding:2px 7px;background:var(--bg);border:1px solid var(--border);border-radius:6px;color:var(--text-muted)}.task-channel{display:inline-flex;align-items:center;flex-shrink:0}.task-time{font-size:12px;letter-spacing:.01em;color:var(--text-muted)}.task-card-summary{font-size:13px;font-weight:400;line-height:1.45;letter-spacing:.01em;margin-bottom:4px}.task-card-meta{display:flex;align-items:center;gap:6px}.patient-name{font-size:13px;font-weight:400;letter-spacing:.01em;color:var(--text)}.task-card-patient-header{display:flex;align-items:center;gap:8px;margin-bottom:6px;padding-bottom:6px;border-bottom:1px solid var(--border)}.task-card-patient-name{font-size:14px;font-weight:350;letter-spacing:.01em;color:var(--text)}.patient-group{border-bottom:none;margin-bottom:0;border-radius:4px}.patient-group.group-active{outline:1px solid #2d2d2d;outline-offset:-1px;background:var(--surface);border-radius:6px}.patient-group.group-active .task-card.keyboard-focus{box-shadow:none}.patient-group-header{display:flex;align-items:center;gap:8px;padding:8px 16px;cursor:pointer;background:#fff;border-bottom:1px solid var(--border);transition:background .15s;font-size:12px;color:var(--text-muted)}.patient-group-header:hover{background:#f8fafc}.patient-group-header.collapsed{padding:6px 16px}.group-expand-icon{font-size:10px;color:var(--text-muted);transition:transform .2s;display:inline-block}.group-expand-icon.expanded{transform:rotate(90deg)}.group-avatar{width:24px;height:24px;border-radius:50%;background:var(--primary-light);color:var(--primary);font-size:10px;font-weight:400;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;letter-spacing:.02em}.patient-group-header .priority-dot{margin-top:.75px}.group-patient-name{font-size:14px;font-weight:350;letter-spacing:.01em;color:var(--text)}.group-task-count{background:#fff4ed;color:var(--orange);border:1px solid #fdcfb8;font-size:11px;font-weight:600;padding:1px 7px;border-radius:10px}.group-total-count{margin-left:auto;font-size:12px;color:var(--text-muted)}.patient-group .task-card{padding-left:32px}.task-list>.task-card{margin-bottom:8px;border-bottom:1px solid var(--border)}.task-list>.patient-group+.task-card,.task-list>.task-card+.patient-group,.task-list>.patient-group+.patient-group{margin-top:0}.status-badge{font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.04em;line-height:1.3;padding:3px 9px;border-radius:6px}.status-pending,.status-approved,.status-denied,.status-escalated,.status-completed,.status-cancelled,.status-callback_scheduled{background:#fff;color:#4338ca;border:.5px solid #c7d2fe}.detail-panel{flex:1;overflow-y:auto;background:var(--surface);min-width:0}.empty-detail{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:15px;line-height:1.5;letter-spacing:.01em;gap:8px}.keyboard-hint{font-size:13px;opacity:.6}.empty-state{padding:24px;text-align:center;color:var(--text-muted)}.task-preview{max-width:640px;margin:32px auto;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;cursor:default;box-shadow:0 2px 6px #0000001a,0 6px 16px #0000000f}.task-preview-header{display:flex;align-items:center;gap:14px;margin-bottom:16px}.task-preview-header-content{flex:1;min-width:0}.task-preview-name{font-size:18px;font-weight:400;letter-spacing:-.01em;line-height:1.3;color:var(--text);margin-bottom:4px}.task-preview-meta-row{display:flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.01em;line-height:1.4;color:var(--text-muted)}.task-preview-channel{font-weight:400}.task-preview-type{text-transform:capitalize}.task-preview-summary{font-size:15px;font-weight:400;color:var(--text);margin-bottom:14px;line-height:1.45;letter-spacing:.01em}.task-preview-ai-summary{background:#fffbeb;border:.5px solid #fde68a;border-radius:8px;padding:12px 14px;margin-bottom:12px;font-size:13px;line-height:1.55;letter-spacing:.01em}.task-preview-ai-summary strong{display:block;color:var(--orange);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;line-height:1.3;margin-bottom:4px}.task-preview-ai-summary p{color:var(--text);margin:0}.task-preview-action{background:#f0fdf4;border:.5px solid #bbf7d0;border-radius:8px;padding:12px 14px;margin-bottom:12px;font-size:13px;line-height:1.55;letter-spacing:.01em}.task-preview-action strong{display:block;color:var(--green);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;line-height:1.3;margin-bottom:4px}.task-preview-action p{color:var(--text);margin:0}.task-preview-risk{display:flex;align-items:center;gap:10px;margin-bottom:12px}.task-preview-flags{font-size:13px;font-weight:400;color:var(--text)}.task-preview-hint{text-align:center;font-size:12px;color:var(--text-muted);opacity:.6;margin-top:16px}.task-preview-hint kbd{font-family:inherit;font-size:11px;font-weight:600;background:#0000000f;border:1px solid var(--border);border-radius:3px;padding:1px 5px}.task-detail{max-width:640px;margin:0 auto;padding:24px}.task-detail-header{display:flex;align-items:center;gap:16px;margin-bottom:14px}.task-detail-avatar{width:48px;height:48px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:400;flex-shrink:0}.task-detail-header-content{flex:1;min-width:0}.task-detail-title{display:flex;align-items:center;gap:12px;margin-bottom:4px}.task-detail-title h2{font-size:15px;font-weight:500;letter-spacing:-.01em;line-height:1.3}.task-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:13px;line-height:1.5;letter-spacing:.01em;color:var(--text-muted)}.task-detail-meta strong{color:var(--text)}.risk-badge{display:inline-block;padding:3px 9px;border-radius:6px;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.04em}.risk-badge--red{background:#fce4ef;color:#9e2050;border:.5px solid #f5aaca}.risk-badge--yellow{background:#fef9ec;color:#b45309;border:.5px solid #fcd34d}.risk-badge--green{background:#e6f5f0;color:#0d7a5f;border:.5px solid #86cfb5}.task-detail-risk{display:flex;align-items:center;gap:10px;margin:0 0 14px}.task-section{margin-bottom:14px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}.task-section--risk-red{border-left:3px solid #d45087}.task-section--risk-yellow{border-left:3px solid #e08b00}.task-section--risk-green{border-left:3px solid #86cfb5}.task-section-collapsible{transition:outline .15s,box-shadow .15s}.task-section-collapsible.section-focused,.audio-player.section-focused{box-shadow:0 2px 6px #0000001a,0 6px 16px #0000000f;outline:1px solid #2d2d2d;outline-offset:-1px}.task-section h3{font-size:12px;font-weight:400;margin-bottom:8px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;line-height:1.3}.task-section-header{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:0}.task-section-header.has-content{margin-bottom:10px}.task-section-header h3{margin-bottom:0}.task-section-expand-icon{font-size:10px;color:var(--text-muted);transition:transform .2s;display:inline-block}.task-section-expand-icon.expanded{transform:rotate(90deg)}.task-section p{font-size:14px;line-height:1.55;letter-spacing:.01em}.task-section small{color:var(--text-muted);font-size:12px}.transcript{font-size:13px;line-height:1.6;letter-spacing:.01em;white-space:pre-wrap;background:#f8fafc;padding:12px;border-radius:4px;max-height:300px;overflow-y:auto}.conversation-timeline{display:flex;flex-direction:column;gap:8px;max-height:500px;overflow-y:auto}.conversation-messages{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}.message{display:flex;flex-direction:column;max-width:80%;padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.5;letter-spacing:.01em}.message.inbound{align-self:flex-start;background:#f1f5f9}.message.outbound{align-self:flex-end;background:var(--primary-light)}.message-sender{font-size:11px;font-weight:500;letter-spacing:.03em;color:var(--text-muted);margin-bottom:2px}.message-content{word-wrap:break-word;white-space:pre-wrap}.message-time{font-size:11px;color:var(--text-muted);margin-top:2px;align-self:flex-end}.message.message-active{outline:1px solid #2d2d2d;outline-offset:-1px;background:#4f46e508}.transcript-markers{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.transcript-marker{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:400;padding:2px 8px;border-radius:10px;border:1px solid;background:#fff;color:var(--text);line-height:1.3}.transcript-marker-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.handoff-marker{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:11px;font-weight:500;color:var(--orange);text-transform:uppercase;letter-spacing:.06em}.handoff-marker:before,.handoff-marker:after{content:"";flex:1;height:1px;background:var(--orange);opacity:.4}.timeline-summary{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 14px;font-size:13px;margin-bottom:12px}.timeline-summary strong{color:var(--orange)}.timeline-action{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:10px 14px;font-size:13px}.timeline-action strong{color:var(--green)}.audio-player{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px 16px;transition:outline .15s,box-shadow .15s;margin-bottom:20px}.audio-play-btn{width:36px;height:36px;border:none;border-radius:50%;background:var(--primary);color:#fff;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s}.audio-play-btn:hover{opacity:.9}.audio-time{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums;min-width:36px;text-align:center}.audio-scrub-container{flex:1;position:relative;display:flex;align-items:center;height:20px}.audio-scrub{width:100%;height:4px;-webkit-appearance:none;appearance:none;background:var(--border);border-radius:2px;outline:none;cursor:pointer;position:relative;z-index:1}.audio-scrub::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--primary);cursor:pointer}.audio-scrub::-moz-range-thumb{width:14px;height:14px;border-radius:50%;border:none;background:var(--primary);cursor:pointer}.audio-marker-status{display:flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--border);border-radius:4px;background:transparent;font-size:11px;font-weight:500;color:var(--text);flex-shrink:0;max-width:180px;overflow:hidden}.audio-marker-status-dim{color:var(--text-muted)}.audio-marker-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.audio-marker-status-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-speed-btn{padding:4px 8px;border:1px solid var(--border);border-radius:4px;background:transparent;font-size:12px;font-weight:400;color:var(--text-muted);cursor:pointer;flex-shrink:0;transition:all .15s}.audio-speed-btn:hover{background:var(--bg);color:var(--text)}.audio-marker{position:absolute;top:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;border:2px solid var(--surface);cursor:pointer;z-index:2;padding:0;transition:transform .1s,box-shadow .1s}.audio-marker:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:2px;height:16px;background:inherit;opacity:.45;border-radius:1px;pointer-events:none}.audio-marker:hover{transform:translate(-50%,-50%) scale(1.5);box-shadow:0 0 0 3px #0000001a}.audio-marker-tooltip{position:absolute;bottom:calc(100% + 4px);transform:translate(-50%);background:var(--text);color:var(--surface);font-size:11px;font-weight:500;padding:4px 8px;border-radius:4px;white-space:nowrap;z-index:10;pointer-events:none;display:flex;align-items:center;gap:5px}.audio-marker-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:var(--text)}.audio-marker-tooltip-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.task-actions{background:var(--surface);border:none;border-radius:8px;padding:0}.action-notes{width:100%;min-height:60px;padding:10px;border:1px solid var(--border);border-radius:6px;font-family:inherit;font-size:13px;line-height:1.5;letter-spacing:.01em;resize:vertical;margin-bottom:4px}.action-notes:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #4f46e51a}.action-notes-hint{margin:0 0 12px;font-size:11px;color:var(--text-muted);letter-spacing:.01em}.action-buttons{display:flex;flex-wrap:wrap;gap:8px}.action-buttons+.action-buttons{margin-top:8px}.action-btn{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:1px solid var(--border);border-radius:6px;font-family:inherit;font-size:13px;font-weight:400;letter-spacing:.02em;cursor:pointer;background:transparent;transition:background .15s,color .15s}.action-btn:focus:not(:focus-visible){outline:none}.action-btn:disabled{opacity:.5;cursor:not-allowed}.action-btn.approve{border-color:var(--green);color:var(--green)}.action-btn.approve:hover:not(:disabled){background:var(--green);color:#fff}.action-btn.deny{border-color:var(--red);color:var(--red)}.action-btn.deny:hover:not(:disabled){background:var(--red);color:#fff}.action-btn.escalate{border-color:var(--orange);color:var(--orange)}.action-btn.escalate:hover:not(:disabled){background:var(--orange);color:#fff}.action-btn.callback{border-color:#0891b2;color:#0891b2}.action-btn.callback:hover:not(:disabled){background:#0891b2;color:#fff}.action-btn-label{font-size:13px}.shortcut-hint{font-family:inherit;font-size:12px;font-weight:400;background:transparent;border:1px solid var(--border);border-radius:3px;padding:2px 6px;line-height:1.2;margin-left:auto}.context-panel{width:320px;min-width:320px;border-left:1px solid var(--border);background:var(--surface);overflow-y:auto;padding:20px}.context-loading,.context-empty{display:flex;align-items:center;justify-content:center;height:200px;color:var(--text-muted);font-size:14px}.context-section-title{font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;line-height:1.3;margin-bottom:10px;text-align:center}.patient-profile{margin-bottom:16px}.patient-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.patient-avatar{width:36px;height:36px;border-radius:50%;background:var(--primary-light);color:var(--primary);font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}.patient-profile-name{font-size:15px;font-weight:400;letter-spacing:-.01em;line-height:1.3;margin:0}.customer-details-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:12px;font-weight:400;letter-spacing:.01em;color:var(--text);cursor:pointer;transition:background .15s}.customer-details-toggle:hover{background:var(--hover)}.customer-details-toggle:not(:has(+.customer-details-body)){margin-bottom:12px}.toggle-chevron{font-size:12px;transition:transform .2s}.toggle-chevron.open{transform:rotate(180deg)}.customer-details-body{margin-top:10px;margin-bottom:12px;padding:0 12px}.patient-info-grid{display:flex;flex-direction:column;gap:6px;text-align:left;margin-bottom:14px}.patient-info-item{display:flex;justify-content:space-between;font-size:12px;line-height:1.45;letter-spacing:.01em}.patient-info-label{color:var(--text-muted);font-weight:400}.patient-info-value{color:var(--text);font-weight:400}.patient-stats{display:flex;justify-content:space-around;gap:8px;margin-bottom:12px;background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:6px 8px}.patient-stat{display:flex;flex-direction:column;align-items:center;flex:1 1 0;min-width:0}.stat-value{font-size:15px;font-weight:500;letter-spacing:-.01em;color:#4338ca}.stat-value--alert{color:#4338ca}.stat-label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:400}.risk-indicators{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.risk-indicators--red{border-left:3px solid #d45087}.risk-indicators--yellow{border-left:3px solid #e08b00}.risk-indicators--green{border-left:3px solid #86cfb5}.risk-header-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.risk-tier-badge{display:inline-block;padding:3px 9px;border-radius:6px;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.04em}.risk-tier-badge--red{background:#fce4ef;color:#9e2050;border:.5px solid #f5aaca}.risk-tier-badge--yellow{background:#fef9ec;color:#b45309;border:.5px solid #fcd34d}.risk-tier-badge--green{background:#e6f5f0;color:#0d7a5f;border:.5px solid #86cfb5}.risk-flags-text{font-size:13px;color:var(--text)}.risk-summary-label{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.risk-summary-text{font-size:13px;color:var(--text-muted);line-height:1.4}.risk-summary-prefix{font-weight:400;color:var(--text)}.empty-state-small{font-size:13px;color:var(--text-muted);text-align:center;padding:12px 0}.history-list{display:flex;flex-direction:column;gap:6px}.history-item{padding:8px 10px;border:1px solid var(--border);border-radius:6px;cursor:pointer;transition:all .15s}.history-item:hover{background:var(--bg);box-shadow:0 2px 6px #0000001a,0 6px 16px #0000000f}.history-item.current{background:var(--primary-light);box-shadow:0 2px 6px #0000001a,0 6px 16px #0000000f}.history-item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.history-type{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.history-summary{font-size:13px;font-weight:350;line-height:1.45;letter-spacing:.01em;color:var(--text);margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.history-item .status-badge{border:none;padding:0;background:none;font-weight:500}.history-date{font-size:11px;font-weight:500;color:var(--text-muted)}.history-item--approved .history-type,.history-item--approved .status-badge,.history-item--approved .history-date,.history-item--completed .history-type,.history-item--completed .status-badge,.history-item--completed .history-date{color:var(--green)}.history-item--denied .history-type,.history-item--denied .status-badge,.history-item--denied .history-date,.history-item--cancelled .history-type,.history-item--cancelled .status-badge,.history-item--cancelled .history-date{color:var(--red)}.history-item--escalated .history-type,.history-item--escalated .status-badge,.history-item--escalated .history-date{color:var(--orange)}.history-item--callback_scheduled .history-type,.history-item--callback_scheduled .status-badge,.history-item--callback_scheduled .history-date{color:#0891b2}.settings-overlay{position:fixed;inset:0;z-index:100;background:#00000080;display:flex;align-items:center;justify-content:center}.settings-panel{background:var(--surface);border-radius:12px;width:90%;max-width:800px;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px #0003}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid var(--border)}.settings-header h2{font-size:20px;font-weight:400;letter-spacing:-.01em}.settings-tabs{display:flex;gap:0;border-bottom:2px solid var(--border);padding:0 24px}.settings-tab{padding:10px 20px;border:none;background:none;font-family:inherit;font-size:14px;font-weight:400;letter-spacing:.01em;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s}.settings-tab:hover{color:var(--text)}.settings-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.settings-close{background:none;border:none;font-size:24px;cursor:pointer;color:var(--text-muted);line-height:1;padding:4px 8px;border-radius:4px}.settings-close:hover{background:var(--hover);color:var(--text)}.settings-section{padding:20px 24px}.settings-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.settings-section-header h3{font-size:15px;font-weight:400;letter-spacing:-.01em}.settings-search{width:100%;padding:7px 10px;border:1px solid var(--border);border-radius:6px;font-family:inherit;font-size:13px;background:var(--bg);color:var(--text);margin-bottom:12px;box-sizing:border-box}.settings-search:focus{outline:none;border-color:var(--primary)}.settings-add-btn{padding:6px 14px;background:var(--pharmacy-green);color:#fff;border:none;border-radius:6px;font-family:inherit;font-size:13px;font-weight:400;letter-spacing:.02em;cursor:pointer}.settings-add-btn:hover{opacity:.9}.settings-error{background:#fef2f2;border:1px solid #fecaca;color:var(--red);padding:8px 12px;border-radius:6px;font-size:13px;margin-bottom:12px}.settings-form{display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:var(--bg);border:1px solid var(--border);border-radius:8px;margin-bottom:16px}.settings-input,.settings-select{padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-family:inherit;font-size:13px;line-height:1.5;letter-spacing:.01em;background:var(--surface);color:var(--text);flex:1;min-width:140px}.settings-input:focus,.settings-select:focus{outline:none;border-color:var(--primary)}.settings-form-actions{display:flex;gap:6px;width:100%;justify-content:flex-end}.settings-loading,.settings-placeholder{text-align:center;color:var(--text-muted);padding:32px}.settings-store-group{margin-bottom:24px}.settings-store-group-title{font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:0 0 10px}.settings-store-grid{display:grid;grid-template-columns:90px 1fr;gap:8px 12px;align-items:center}.settings-store-label{font-size:13px;color:var(--text-muted);font-weight:400}.settings-hours-table{width:100%;border-collapse:collapse}.settings-hours-table th{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);text-align:left;padding:6px 10px;border-bottom:2px solid var(--border)}.settings-hours-table td{padding:6px 10px;border-bottom:1px solid var(--border);vertical-align:middle}.settings-hours-day{font-size:13px;font-weight:400;width:48px}.settings-hours-closed td:not(:first-child):not(:nth-child(2)){opacity:.35}.settings-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;letter-spacing:.01em}.settings-table th{text-align:left;padding:8px 10px;border-bottom:2px solid var(--border);font-weight:400;color:var(--text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;line-height:1.3}.settings-table td{padding:10px;border-bottom:1px solid var(--border);vertical-align:middle}.settings-row-inactive td{opacity:.5}.settings-row-editing td{background:var(--bg)}.settings-input-inline,.settings-select-inline{padding:5px 8px;border:1px solid var(--border);border-radius:4px;font-family:inherit;font-size:13px;line-height:1.5;letter-spacing:.01em;background:var(--surface);color:var(--text);width:100%}.settings-role-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:400}.settings-role-badge.role-admin{background:#dbeafe;color:#1e40af}.settings-role-badge.role-pharmacist{background:#d1faf3;color:#0a6652}.settings-role-badge.role-technician{background:#f3f4f6;color:#374151}.settings-toggle{padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;border:1px solid var(--border);cursor:pointer;background:#f3f4f6;color:#6b7280}.settings-toggle.active{background:#d1faf3;color:#0a6652;border-color:#a7f0e0}.settings-btn-primary{padding:6px 14px;background:var(--pharmacy-green);color:#fff;border:none;border-radius:6px;font-family:inherit;font-size:13px;font-weight:400;letter-spacing:.02em;cursor:pointer}.settings-btn-secondary,.settings-btn-cancel{padding:6px 14px;background:var(--surface);border:1px solid var(--border);border-radius:6px;font-family:inherit;font-size:13px;font-weight:400;letter-spacing:.02em;cursor:pointer;color:var(--text)}.settings-btn-edit,.settings-btn-save{padding:4px 10px;border:none;border-radius:4px;font-size:12px;cursor:pointer;margin-right:4px;background:var(--primary-light);color:var(--primary)}.settings-btn-delete{padding:4px 10px;border:none;border-radius:4px;font-size:12px;cursor:pointer;background:#fef2f2;color:var(--red)}.settings-btn-delete-confirm{padding:4px 10px;border:none;border-radius:4px;font-size:12px;cursor:pointer;margin-right:4px;background:var(--red);color:#fff}.schedule-sidebar{width:320px;min-width:320px;border-left:1px solid var(--border);background:var(--surface);overflow-y:auto}.schedule-view{display:flex;flex-direction:column;padding:20px;min-height:100%}.schedule-header{margin-bottom:20px}.schedule-header-label{font-size:11px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:4px}.schedule-header-date{font-size:16px;font-weight:400;letter-spacing:-.01em;color:var(--text);line-height:1.2}.schedule-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);text-align:center;padding:60px 0}.schedule-empty-icon{font-size:36px;line-height:1;margin-bottom:8px}.schedule-empty p{font-size:15px;font-weight:400;color:var(--text-muted);margin:0}.schedule-empty-hint{font-size:12px!important;opacity:.65;max-width:280px}.schedule-list{display:flex;flex-direction:column;gap:0}.schedule-now-line{display:flex;align-items:center;gap:8px;margin:10px 0;-webkit-user-select:none;user-select:none}.schedule-now-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;flex-shrink:0;animation:schedule-now-pulse 2s ease-in-out infinite}@keyframes schedule-now-pulse{0%,to{box-shadow:0 0 #ef444480}50%{box-shadow:0 0 0 5px #ef444400}}.schedule-now-label{font-size:10px;font-weight:600;letter-spacing:.12em;color:#ef4444;text-transform:uppercase;flex-shrink:0}.schedule-now-rule{flex:1;height:1px;background:#ef4444;opacity:.4}.schedule-slot{padding:16px 0;border-bottom:1px solid var(--border);cursor:pointer;border-radius:4px;transition:background .1s,padding .1s}.schedule-slot:last-of-type{border-bottom:none}.schedule-slot-time{font-size:1.5rem;font-weight:300;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--text);line-height:1;margin-bottom:5px}.schedule-slot-name{font-size:1rem;font-weight:400;color:var(--text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-slot-sub{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted)}.schedule-slot-channel{display:inline-flex;align-items:center;opacity:.5}.schedule-slot--upcoming:hover{background:var(--bg);padding-left:6px;padding-right:6px;margin-left:-6px;margin-right:-6px}.schedule-slot--upcoming:focus-visible{box-shadow:0 2px 6px #0000001a,0 6px 16px #0000000f}.schedule-slot--past{opacity:.35;cursor:default;pointer-events:none}.schedule-input-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:8px 10px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px}.schedule-input-label{font-size:12px;font-weight:400;color:#0369a1;white-space:nowrap;flex-shrink:0}.schedule-datetime-input{flex:1;border:1px solid var(--border);border-radius:4px;padding:4px 8px;font-family:inherit;font-size:13px;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s}.schedule-datetime-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px #4f46e51a}.wake-summary{display:flex;flex-direction:column;height:100%;overflow:hidden}.wake-header{padding:24px 24px 16px;border-bottom:1px solid var(--border);flex-shrink:0}.wake-header-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:4px}.wake-time-filter-btns{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin-top:6px}.wake-time-filter-btn{padding:4px 11px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-secondary);font-size:12px;font-weight:400;cursor:pointer;transition:background .12s,color .12s,border-color .12s}.wake-time-filter-btn:hover{background:var(--bg);color:var(--text)}.wake-time-filter-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.wake-greeting{font-size:20px;font-weight:400;color:var(--text);margin:0 0 4px}.wake-subtitle{font-size:13px;color:var(--text-secondary);margin:0 0 12px}.wake-count{font-size:13px;color:var(--text-secondary);display:flex;align-items:center;gap:4px}.wake-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;background:var(--primary);color:#fff;border-radius:11px;font-size:12px;font-weight:400}.wake-pending-note{color:#e08b00;font-weight:400}.wake-body{flex:1;overflow-y:auto;padding:12px 16px}.wake-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;gap:6px;color:var(--text-secondary)}.wake-empty p{margin:0;font-size:15px;font-weight:400;color:var(--text)}.wake-empty-sub{font-size:13px!important;font-weight:400!important;color:var(--text-secondary)!important}.wake-task-list{display:flex;flex-direction:column;gap:6px}.wake-task-row{background:var(--surface);border:1px solid var(--border);border-radius:8px;transition:border-color .12s}.wake-task-row--expanded{border-color:var(--primary-light)}.wake-task-row--focused{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.wake-task-row--focused.wake-task-row--expanded{border-color:var(--primary)}.wake-task-row-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:none;border:none;border-radius:8px;cursor:pointer;text-align:left;width:100%;transition:background .12s}.wake-task-row-header:focus{outline:none}.wake-task-row-header:hover{background:var(--hover)}.wake-chevron{font-size:11px;color:var(--text-secondary);transition:transform .18s;flex-shrink:0}.wake-chevron.open{transform:rotate(180deg)}.wake-task-row-left{display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1}.wake-task-row-left .priority-dot{margin-top:3px;flex-shrink:0}.wake-task-row-info{display:flex;flex-direction:column;gap:2px;min-width:0}.wake-task-patient{font-size:13px;font-weight:400;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wake-task-type{font-size:11px;color:var(--text-secondary);text-transform:capitalize}.wake-task-summary{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wake-task-row-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.wake-risk-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.wake-task-time{font-size:11px;color:var(--text-secondary);white-space:nowrap}.wake-footer{padding:16px 24px;border-top:1px solid var(--border);flex-shrink:0;display:flex;align-items:center;justify-content:space-between}.wake-keyboard-hint{font-size:11px;color:var(--text-secondary);opacity:.7}.wake-start-btn{padding:10px 20px;background:var(--primary);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:400;cursor:pointer;transition:opacity .15s}.wake-start-btn:hover{opacity:.88}.wake-dashboard-btn{border-color:var(--primary);color:var(--primary);flex:0 0 auto}.wake-dashboard-btn:hover:not(:disabled){background:var(--primary);color:#fff}.wake-task-expanded{border-top:1px solid var(--border);padding:12px 12px 14px;display:flex;flex-direction:column;gap:8px}.wake-expanded-details,.wake-expanded-action{font-size:13px;color:var(--text-secondary);margin:0;line-height:1.5}.wake-expanded-footer{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.wake-todo-label{font-size:12px;color:var(--text-muted);margin-left:7px;margin-right:auto;cursor:default}.wake-todo-checkbox{width:22px;height:22px;border-radius:50%;border:2px solid var(--border);background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;transition:border-color .15s,background .15s;color:#fff}.wake-todo-checkbox:hover{border-color:var(--primary)}.wake-todo-checkbox.checked{background:var(--primary);border-color:var(--primary)}.wake-view-full-btn{background:none;border:none;color:var(--primary);font-size:13px;font-weight:400;cursor:pointer;padding:0}.wake-view-full-btn:hover{text-decoration:underline}.filter-todo-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--primary);color:#fff;font-size:10px;font-weight:600;margin-left:3px}.filter-btn.active .filter-todo-count{background:#ffffff4d}.ai-chat-fab{position:fixed;width:52px;height:52px;border-radius:50%;background:#d97757;color:#fff;border:none;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px #b4785040;z-index:1000;-webkit-user-select:none;user-select:none;transition:box-shadow .15s}.ai-chat-fab:hover{box-shadow:0 4px 18px #b4785059}.ai-chat-panel{position:fixed;bottom:88px;right:24px;width:360px;height:500px;background:#faf9f7;border:1px solid #E8E2D9;border-radius:16px;box-shadow:0 4px 24px #8c78641f,0 1px 4px #8c786414;z-index:999;display:flex;flex-direction:column;animation:aiChatSlideUp .2s ease;overflow:hidden}@keyframes aiChatSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.ai-chat-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fff;border-bottom:1px solid #EDE8E0;font-size:14px;font-weight:500;color:#2d2b28;flex-shrink:0}.ai-chat-header-title{display:flex;align-items:center;gap:6px}.ai-chat-header-sparkle{color:#d97757;font-size:13px}.ai-chat-close{background:none;border:none;cursor:pointer;color:#a8a29e;font-size:15px;padding:0 2px;line-height:1;transition:color .15s}.ai-chat-close:hover{color:#57534e}.ai-chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#faf9f7}.ai-chat-empty{font-size:13.5px;color:#a8a29e;text-align:center;margin-top:40px;line-height:1.55}.ai-chat-bubble{max-width:84%;padding:10px 14px;border-radius:16px;font-size:13.5px;line-height:1.5;word-break:break-word}.ai-chat-bubble-user{align-self:flex-end;background:#eedcc8;color:#2d2b28;border-bottom-right-radius:4px}.ai-chat-bubble-ai{align-self:flex-start;background:#fff;color:#2d2b28;border:1px solid #E8E2D9;border-bottom-left-radius:4px}.ai-chat-bubble-ai:before{content:"✦";color:#d97757;font-size:11px}.ai-chat-typing{display:flex;align-items:center;gap:4px;padding:10px 14px}.ai-chat-typing:before{display:none}.ai-chat-typing span{width:6px;height:6px;border-radius:50%;background:#d97757;animation:aiDot 1.2s infinite both}.ai-chat-typing span:nth-child(2){animation-delay:.2s}.ai-chat-typing span:nth-child(3){animation-delay:.4s}@keyframes aiDot{0%,80%,to{transform:scale(.7);opacity:.35}40%{transform:scale(1);opacity:1}}.ai-chat-input-row{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#fff;border-top:1px solid #EDE8E0;flex-shrink:0}.ai-chat-input{flex:1;border:1px solid #E8E2D9;border-radius:10px;padding:9px 12px;font-size:13.5px;background:#faf9f7;color:#2d2b28;outline:none;font-family:inherit;transition:border-color .15s}.ai-chat-input::placeholder{color:#a8a29e}.ai-chat-input:focus{border-color:#d97757}.ai-chat-send{width:34px;height:34px;border-radius:10px;background:#d97757;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s}.ai-chat-send:disabled{opacity:.4;cursor:not-allowed}.ai-chat-send:not(:disabled):hover{opacity:.85}.payment-section{margin-top:12px}.payment-status{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;font-size:.85rem;margin-bottom:8px}.payment-status--paid{background:#ecfdf5}.payment-status--pending{background:#fffbeb}.payment-status--expired{background:#fef2f2}.payment-badge{font-weight:400;font-size:.75rem;padding:3px 8px;border-radius:6px;letter-spacing:.04em}.payment-badge--paid{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.payment-badge--pending{background:#fef9ec;color:#78350f;border:1px solid #fcd34d}.payment-badge--expired{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.payment-badge--cancelled{background:#fce4ef;color:#9e2050;border:1px solid #f5aaca}.payment-amount{font-weight:400;color:var(--text)}.payment-desc{color:var(--text-muted);font-size:.8rem}.payment-sent-via{color:var(--text-muted);font-size:.75rem;margin-left:auto}.action-btn.whatsapp{border-color:#25d366;color:#25d366}.action-btn.whatsapp:hover:not(:disabled){background:#25d366;color:#fff}.action-btn.payment{border-color:#635bff;color:#635bff}.action-btn.payment:hover:not(:disabled){background:#635bff;color:#fff}.action-btn.cancel-payment{background:transparent;border:1px solid var(--border);color:var(--text-muted);padding:8px 16px;border-radius:6px;font-size:.85rem;cursor:pointer}.action-btn.cancel-payment:hover{background:var(--bg)}.payment-form{display:flex;flex-direction:column;gap:10px}.payment-form-row{display:flex;gap:10px}.payment-form-row label{display:flex;flex-direction:column;gap:4px;font-size:.8rem;color:var(--text-muted);font-weight:400}.payment-input{padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:.85rem;color:var(--text);background:var(--surface);width:100px}.payment-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #4f46e526}.payment-input--desc{width:220px}.payment-form-actions{display:flex;flex-wrap:wrap;gap:8px}.payment-icon{font-size:.7rem;padding:2px 6px;border-radius:6px;font-weight:400;margin-left:4px}.payment-icon--paid{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.payment-icon--pending{background:#fef9ec;color:#78350f;border:1px solid #fcd34d}.payment-icon--expired{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.stamp-modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.stamp-modal{background:var(--surface);border-radius:14px;padding:28px 24px 20px;min-width:340px;max-width:500px;width:90%;box-shadow:0 24px 64px #00000038}.stamp-modal-title{font-size:16px;font-weight:600;color:var(--text);margin-bottom:4px}.stamp-modal-subtitle{font-size:13px;color:var(--text-muted);margin-bottom:20px}.stamp-modal-loading{font-size:13px;color:var(--text-muted);text-align:center;padding:20px 0;margin-bottom:16px}.stamp-modal-staff{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:16px}.stamp-staff-btn{display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px 12px;background:var(--bg);border:2px solid var(--border);border-radius:10px;cursor:pointer;font-size:14px;font-weight:400;color:var(--text);transition:border-color .12s,background .12s,color .12s}.stamp-staff-btn:hover:not(:disabled){border-color:var(--primary);background:var(--primary-light);color:var(--primary)}.stamp-staff-btn:disabled{opacity:.4;cursor:not-allowed}.stamp-staff-role{font-size:11px;font-weight:400;color:var(--text-muted);text-transform:capitalize}.stamp-modal-manual{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.stamp-manual-input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;color:var(--text);background:var(--bg)}.stamp-manual-input:focus{outline:none;border-color:var(--primary)}.stamp-cancel-btn{width:100%;padding:10px;background:none;border:1px solid var(--border);border-radius:8px;font-size:13px;color:var(--text-muted);cursor:pointer;transition:background .1s}.stamp-cancel-btn:hover{background:var(--bg)}.task-actioned-by{margin-top:4px;font-size:12px;color:var(--text-muted)}.pharmin-tour-step.shepherd-element{border-radius:12px;overflow:hidden;box-shadow:0 8px 32px #00000038}.pharmin-tour-step.shepherd-has-title .shepherd-content .shepherd-header{background:#2d2d2d;padding:14px 16px 12px}.pharmin-tour-step.shepherd-has-title .shepherd-content .shepherd-header .shepherd-title{color:#fff;font-size:15px;font-weight:600;font-family:inherit}.pharmin-tour-step .shepherd-content{border-radius:12px;overflow:hidden;border:none;font-family:inherit}.pharmin-tour-step .shepherd-text{font-size:13.5px;line-height:1.6;color:var(--text);padding:14px 16px}.pharmin-tour-step .shepherd-text kbd{display:inline-block;padding:1px 5px;background:var(--bg);border:1px solid var(--border);border-radius:4px;font-size:11px;font-family:monospace;color:var(--text-muted)}.pharmin-tour-step .shepherd-footer{padding:10px 16px 14px;border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end}.pharmin-tour-step .shepherd-button{padding:8px 18px;border-radius:7px;font-size:13px;font-weight:400;font-family:inherit;cursor:pointer;border:none;transition:opacity .15s}.pharmin-tour-step .shepherd-button:hover{opacity:.88}.pharmin-tour-step .shepherd-button-primary{background:#4338ca;color:#fff}.pharmin-tour-step .shepherd-button-secondary{background:var(--bg);color:var(--text-muted);border:1px solid var(--border)}.pharmin-tour-step .shepherd-cancel-icon{color:#ffffffbf}.pharmin-tour-step .shepherd-cancel-icon:hover{color:#fff}.shepherd-modal-overlay-container .shepherd-modal-overlay{fill:#0f28148c}.payment-icon--cancelled{background:#fce4ef;color:#9e2050;border:1px solid #f5aaca}.agent-sub-tabs{display:flex;gap:6px;margin-bottom:16px}.agent-sub-tab{padding:6px 16px;border-radius:20px;border:1px solid var(--border);background:var(--bg);color:var(--text-muted);font-size:13px;font-weight:400;cursor:pointer;transition:all .15s}.agent-sub-tab.active{background:var(--pharmacy-green);color:#fff;border-color:var(--pharmacy-green)}.agent-id-badge{font-family:monospace;font-size:11px;background:var(--bg);border:1px solid var(--border);border-radius:5px;padding:4px 8px;color:var(--text-muted);word-break:break-all;align-self:center}.agent-begin-message{resize:vertical;min-height:80px;font-size:13px;line-height:1.5}.agent-admin-picker{margin-top:12px;padding:14px;background:var(--bg);border:1px solid var(--border);border-radius:8px}.agent-admin-picker-label{font-size:12px;color:var(--text-muted);margin:0 0 10px}.settings-hint{font-size:11px;color:var(--text-muted);margin:8px 0 0;font-style:italic}.help-links{display:flex;flex-direction:column;gap:8px}.help-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;text-decoration:none;color:var(--text);transition:background .15s}.help-link:hover{background:var(--bg)}.help-link-icon{font-size:20px;flex-shrink:0}.help-link strong{display:block;font-size:13px;font-weight:500}.help-link-desc{font-size:12px;color:var(--text-muted)}.help-textarea{resize:vertical;min-height:80px;font-family:inherit;font-size:13px;line-height:1.5}.help-info-value{font-size:13px;color:var(--text-muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:8px;font-size:13px;font-weight:400;box-shadow:0 4px 16px #00000026;z-index:1000;animation:toast-in .2s ease;max-width:480px}@keyframes toast-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.toast--info{background:var(--primary);color:#fff}.toast--error{background:#dc2626;color:#fff}.toast-message{flex:1}.toast-close{background:none;border:none;color:inherit;opacity:.7;cursor:pointer;font-size:14px;padding:0 2px;line-height:1}.toast-close:hover{opacity:1}.task-search{padding:4px 12px 8px}.task-search-input{width:100%;padding:7px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;background:var(--bg);color:var(--text);outline:none;transition:border-color .15s;box-sizing:border-box}.task-search-input:focus{border-color:var(--primary)}.task-search-input::placeholder{color:var(--text-muted)}
