@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.min-h-screen{min-height:100vh}.max-w-2xl{max-width:42rem;margin:0 auto}.max-w-4xl{max-width:56rem;margin:0 auto}.max-w-5xl{max-width:64rem;margin:0 auto}.max-w-6xl{max-width:72rem;margin:0 auto}.max-w-none{max-width:none}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-shrink-0{flex-shrink:0}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.space-x-1>*+*{margin-left:.25rem}.space-x-2>*+*{margin-left:.5rem}.space-x-3>*+*{margin-left:.75rem}.space-x-4>*+*{margin-left:1rem}.space-x-6>*+*{margin-left:1.5rem}.space-x-8>*+*{margin-left:2rem}.space-y-2>*+*{margin-top:.5rem}.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.space-y-8>*+*{margin-top:2rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.m-0{margin:0}.mb-3{margin-bottom:.75rem}.mb-8{margin-bottom:2rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-16{margin-top:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-full{width:100%}.h-0{height:0}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.text-white{color:#fff}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-900{color:#111827}.text-blue-600{color:#2563eb}.text-blue-800{color:#1e40af}.text-green-600{color:#16a34a}.text-green-700{color:#15803d}.text-green-800{color:#166534}.text-red-500{color:#ef4444}.text-red-600{color:#dc2626}.text-red-700{color:#b91c1c}.text-orange-800{color:#9a3412}.text-purple-800{color:#6b21a8}.bg-white{background-color:#fff}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-gray-200{background-color:#e5e7eb}.bg-gray-300{background-color:#d1d5db}.bg-gray-600{background-color:#4b5563}.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}.bg-blue-600{background-color:#2563eb}.bg-blue-700{background-color:#1d4ed8}.bg-green-50{background-color:#f0fdf4}.bg-green-100{background-color:#dcfce7}.bg-green-600{background-color:#16a34a}.bg-red-50{background-color:#fef2f2}.bg-red-100{background-color:#fee2e2}.bg-red-600{background-color:#dc2626}.bg-red-700{background-color:#b91c1c}.bg-orange-100{background-color:#fed7aa}.bg-purple-100{background-color:#f3e8ff}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0))}.from-blue-600{--tw-gradient-from: #2563eb;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0))}.from-green-600{--tw-gradient-from: #16a34a;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(22, 163, 74, 0))}.via-white{--tw-gradient-stops: var(--tw-gradient-from), white, var(--tw-gradient-to, rgba(255, 255, 255, 0))}.to-blue-700{--tw-gradient-to: #1d4ed8}.to-indigo-50{--tw-gradient-to: #eef2ff}.to-indigo-600{--tw-gradient-to: #4f46e5}.to-indigo-700{--tw-gradient-to: #4338ca}.to-emerald-600{--tw-gradient-to: #059669}.border{border-width:1px}.border-2{border-width:2px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-gray-200{border-color:#e5e7eb}.border-gray-300{border-color:#d1d5db}.border-blue-200{border-color:#bfdbfe}.border-blue-600{border-color:#2563eb}.border-green-200{border-color:#bbf7d0}.border-green-600{border-color:#16a34a}.border-red-200{border-color:#fecaca}.border-orange-200{border-color:#fed7aa}.border-purple-200{border-color:#e9d5ff}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.shadow-sm{box-shadow:0 1px 2px #0000000d}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-mono{font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}.leading-relaxed{line-height:1.625}.text-left{text-align:left}.whitespace-pre-wrap{white-space:pre-wrap}.block{display:block}.hidden{display:none}.relative{position:relative}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-color: #3b82f6}.focus\:border-transparent:focus{border-color:transparent}.hover\:bg-blue-700:hover{background-color:#1d4ed8}.hover\:bg-gray-50:hover{background-color:#f9fafb}.hover\:bg-gray-700:hover{background-color:#374151}.hover\:bg-red-700:hover{background-color:#b91c1c}.hover\:from-blue-700:hover{--tw-gradient-from: #1d4ed8}.hover\:to-indigo-700:hover{--tw-gradient-to: #4338ca}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.animate-spin{animation:spin 1s linear infinite}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.transition-colors{transition-property:color,background-color,border-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.gap-2>*+*{margin-left:.5rem}.gap-4>*+*{margin-left:1rem}.gap-6>*+*{margin-left:1.5rem}.gap-8>*+*{margin-left:2rem}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.critical-info{background-color:#c530301f;color:#c53030;padding:2px 4px;border-radius:3px;font-weight:600}.high-priority{background-color:#b478001f;color:#b7791f;padding:2px 4px;border-radius:3px;font-weight:500}.medication-highlight{background-color:#3197951f;color:#2c7a7b;padding:2px 4px;border-radius:3px;font-weight:500}.vital-sign{background-color:#3182ce1f;color:#2b6cb0;padding:2px 4px;border-radius:3px;font-weight:500}[data-theme=dark] .critical-info{background-color:#c530302e;color:#fc8181}[data-theme=dark] .high-priority{background-color:#d69e2e2e;color:#f6ad55}[data-theme=dark] .medication-highlight{background-color:#3197952e;color:#81e6d9}[data-theme=dark] .vital-sign{background-color:#3182ce2e;color:#90cdf4}.prose{color:#374151;max-width:65ch}.prose h1,.prose h2,.prose h3,.prose h4{color:#111827;font-weight:600}.prose p{margin-top:1.25em;margin-bottom:1.25em}.prose ul{margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose li{margin-top:.5em;margin-bottom:.5em}button{cursor:pointer;border:none;outline:none;font-family:inherit}button:disabled{cursor:not-allowed;opacity:.5}input{outline:none;font-family:inherit}input:focus{box-shadow:0 0 0 2px #3b82f6;border-color:transparent}.collapsible-content{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s ease}.collapsible-content.collapsed{grid-template-rows:0fr}.collapsible-content>.collapsible-inner{overflow:hidden;min-height:0}.collapsible-header{transition:border-radius .3s ease}*{font-family:Inter,sans-serif;box-sizing:border-box;margin:0;padding:0}@media(max-width:480px){html,body,#root{width:100vw;max-width:100vw;overflow-x:hidden}body.rating-modal-open .feedback-widget-container,body.rating-modal-open .task-reminders-container{display:none!important;visibility:hidden!important;pointer-events:none!important}}:root{--primary-blue: #3da2fa;--primary-blue-light: #3b82f6;--primary-blue-dark: #1d4ed8;--secondary-teal: #0d9488;--secondary-teal-light: #14b8a6;--accent-green: #059669;--accent-red: #dc2626;--neutral-50: #f8fafc;--neutral-100: #f1f5f9;--neutral-200: #e2e8f0;--neutral-300: #cbd5e1;--neutral-700: #334155;--neutral-800: #1e293b;--neutral-900: #0f172a;--white: #ffffff;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1)}.app-root{display:flex;min-height:100vh;background:linear-gradient(135deg,var(--neutral-50) 0%,var(--neutral-100) 100%)}.app-root--boot{animation:appMountIn .9s cubic-bezier(.22,1,.36,1) both}.app-root--boot>.sidebar{animation:sidebarSlideIn .85s .1s cubic-bezier(.22,1,.36,1) backwards}.app-root--boot>main{animation:appContentRise .85s .2s cubic-bezier(.22,1,.36,1) backwards}.app-root--boot>main .main-header{animation:appSectionFade .7s .3s cubic-bezier(.22,1,.36,1) both}.app-root--boot>main .tab-navigation{animation:appSectionFade .7s .45s cubic-bezier(.22,1,.36,1) both}@keyframes appMountIn{0%{opacity:0}to{opacity:1}}@keyframes sidebarSlideIn{0%{opacity:0;transform:translate(-24px)}to{opacity:1;transform:translate(0)}}@keyframes appContentRise{0%{opacity:0;transform:translateY(16px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes appSectionFade{0%{opacity:0;transform:translateY(10px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@media(prefers-reduced-motion:reduce){.app-root,.app-root--boot,.app-root--boot>.sidebar,.app-root--boot>main,.app-root--boot>main .main-header,.app-root--boot>main .tab-navigation{animation:none!important}}@media(max-width:1366px){.app-root>.sidebar{animation:none!important}}.sidebar{width:320px;min-width:320px;flex-shrink:0;padding:2rem 1.5rem;background:var(--white);border-right:1px solid var(--neutral-200);height:100vh;max-height:100vh;overflow-y:auto;box-shadow:var(--shadow-lg);transition:transform .3s ease;position:sticky;top:0}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background:var(--neutral-100)}.sidebar::-webkit-scrollbar-thumb{background:var(--neutral-300);border-radius:4px}.sidebar::-webkit-scrollbar-thumb:hover{background:var(--neutral-400)}.sidebar input{display:block;width:100%;margin-bottom:1rem;padding:.875rem 1rem;border-radius:8px;border:1px solid var(--neutral-300);background:var(--white);font-size:.875rem;color:var(--neutral-700);transition:all .2s ease;outline:none}.sidebar input:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #2563eb1a}.sidebar button{display:block;width:100%;margin-bottom:.75rem;padding:.875rem 1rem;border-radius:8px;border:none;background:var(--primary-blue);color:var(--white);font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease;outline:none}.sidebar button:hover:not(:disabled){background:var(--primary-blue-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}.sidebar button:active{transform:translateY(0)}.sidebar button:disabled{background:var(--neutral-300);color:var(--neutral-700);cursor:not-allowed;transform:none;box-shadow:none}.sidebar .mrn-btn{font-size:.8rem;background:var(--secondary-teal);padding:.75rem;color:#fff!important}.sidebar .mrn-btn:hover:not(:disabled){background:var(--secondary-teal-light)}.sidebar hr{margin:1.25rem 0;border:none;height:1px;flex-shrink:0;background:var(--neutral-200)}.sidebar h3,.sidebar h4{margin-top:.5rem;margin-bottom:1rem;color:var(--text-primary);font-weight:600;font-size:1rem}.lookup-not-found-msg{color:#dc2626;font-size:.8rem;font-weight:500;margin:.5rem 0;padding:.5rem .75rem;background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;animation:lookupFadeIn .2s ease-out}[data-theme=dark] .lookup-not-found-msg{background:#dc26261f;border-color:#dc262659;color:#fca5a5}@keyframes lookupFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.status{margin-bottom:1rem;padding:.75rem 1rem;border-radius:8px;font-weight:500;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.status.ok{background:#22c55e1a;color:var(--accent-green);border:1px solid rgb(34 197 94 / .2)}.status.err{background:#dc26261a;color:var(--accent-red);border:1px solid rgb(220 38 38 / .2)}main{flex:1;flex-shrink:0;padding:2rem;min-width:0;background:var(--neutral-50)}.main-header{background:#112a74;color:var(--white);padding:3rem 2rem;border-radius:16px;text-align:center;margin-bottom:2rem;box-shadow:var(--shadow-xl);position:relative}.main-header .hospital-name,.main-header h3,.main-header p{text-shadow:0 0 18px rgba(96,165,250,.55),0 0 42px rgba(96,165,250,.28),0 2px 6px rgba(0,0,0,.35);animation:mainHeaderTextGlow 4.5s ease-in-out infinite}.main-header .hospital-name{animation-delay:0s}.main-header h3{animation-delay:.3s}.main-header p{animation-delay:.6s}@keyframes mainHeaderTextGlow{0%,to{text-shadow:0 0 16px rgba(96,165,250,.45),0 0 36px rgba(96,165,250,.22),0 2px 6px rgba(0,0,0,.35)}50%{text-shadow:0 0 26px rgba(96,165,250,.7),0 0 60px rgba(96,165,250,.35),0 2px 6px rgba(0,0,0,.35)}}@media(prefers-reduced-motion:reduce){.main-header .hospital-name,.main-header h3,.main-header p{animation:none}}.patient-content-enter{animation:patientContentEnter .7s cubic-bezier(.22,1,.36,1) both}.patient-content-enter>*{animation:patientContentChild .6s cubic-bezier(.22,1,.36,1) both}.patient-content-enter>*:nth-child(1){animation-delay:.1s}.patient-content-enter>*:nth-child(2){animation-delay:.18s}.patient-content-enter>*:nth-child(3){animation-delay:.26s}.patient-content-enter>*:nth-child(4){animation-delay:.34s}.patient-content-enter>*:nth-child(5){animation-delay:.42s}.patient-content-enter>*:nth-child(n+6){animation-delay:.5s}@keyframes patientContentEnter{0%{opacity:0;transform:translateY(14px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes patientContentChild{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.patient-content-enter,.patient-content-enter>*{animation:none}}.main-header .ecg-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:inherit;-webkit-mask-image:linear-gradient(to right,transparent 0%,black 12%,black 88%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 12%,black 88%,transparent 100%)}.main-header .ecg-svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.main-header .ecg-sharp{-webkit-mask-image:linear-gradient(to right,black 0%,black 25%,transparent 40%,transparent 60%,black 75%,black 100%);mask-image:linear-gradient(to right,black 0%,black 25%,transparent 40%,transparent 60%,black 75%,black 100%)}.main-header .ecg-blur{filter:blur(6px);opacity:.55;-webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 28%,black 42%,black 58%,transparent 72%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,transparent 28%,black 42%,black 58%,transparent 72%,transparent 100%)}.ecg-path{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:3200;stroke-dashoffset:3200;animation:ecgSweep 4s linear infinite}@keyframes ecgSweep{0%{stroke-dashoffset:3200}to{stroke-dashoffset:0}}.ecg-outer{stroke:#00dcff1a;stroke-width:5}.ecg-mid{stroke:#00dcff59;stroke-width:2.5}.ecg-main{stroke:#00dcff;stroke-width:.8;filter:drop-shadow(0 0 8px #00dcff)}.ecg-core{stroke:#ffffffbf;stroke-width:.325}.tab-navigation{display:inline-flex;gap:0;margin-top:1.5rem;margin-bottom:1.5rem;background:var(--neutral-200);border-radius:12px;padding:.375rem;position:relative;z-index:2}.tab-button{padding:.875rem 1.5rem;border:none;background:transparent;color:var(--neutral-600);font-size:.95rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .2s ease;position:relative;white-space:nowrap}.tab-button:hover:not(.active){background:var(--neutral-300);color:var(--neutral-800)}.tab-button.active{background:linear-gradient(135deg,var(--secondary-teal) 0%,var(--secondary-teal-light) 100%);color:var(--white);box-shadow:0 2px 8px #0d94884d}.interaction-type-row{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap}.interaction-type-label{font-size:.95rem;font-weight:500;color:var(--neutral-700)}.interaction-type-select{padding:.625rem 1rem;border-radius:8px;border:1px solid var(--neutral-300);font-size:.9rem;min-width:220px;cursor:pointer;background:var(--white);color:var(--neutral-700);transition:border-color .2s ease,box-shadow .2s ease}.interaction-type-select:hover{border-color:var(--secondary-teal)}.interaction-type-select:focus{outline:none;border-color:var(--secondary-teal);box-shadow:0 0 0 3px #0d948826}[data-theme=dark] .tab-navigation{background:var(--neutral-800)}[data-theme=dark] .tab-button{color:#ffffffb3}[data-theme=dark] .tab-button:hover:not(.active){background:#ffffff1a;color:var(--white)}[data-theme=dark] .interaction-type-label{color:var(--neutral-200)}[data-theme=dark] .interaction-type-select{background:var(--neutral-800);color:var(--neutral-100);border-color:var(--neutral-600)}[data-theme=dark] .interaction-type-select:hover{border-color:var(--secondary-teal)}@media(max-width:768px){.interaction-type-row{flex-direction:column;align-items:flex-start;gap:.5rem}.interaction-type-select{width:100%}}@media(max-width:768px){.tab-navigation{margin-top:1rem;display:flex;flex-wrap:wrap;width:100%;max-width:100%}.tab-button{padding:.75rem 1rem;font-size:.9rem;white-space:normal;text-align:center;flex:1 1 auto;min-width:0}}@media(max-width:480px){.tab-navigation{order:0;margin-top:1rem;display:flex;flex-wrap:nowrap;width:100%;max-width:100%;overflow-x:hidden}.tab-button{padding:.5rem;font-size:.75rem;white-space:normal;text-align:center;flex:1 1 0;min-width:0;word-break:break-word;line-height:1.2}}.transcription-text{color:var(--neutral-800)}.content-columns{display:flex;gap:2rem;align-items:flex-start;max-width:100%;overflow-x:hidden}.column-left,.column-right{flex:1 1 0;min-width:0}.column-left>*:first-child,.column-right>*:first-child{margin-top:0}.column-right>div:first-child>.analysis-section:first-child,.column-right>div:first-child>.section-card:first-child{margin-top:0}.patient-card{background:var(--white);padding:2rem;border-radius:12px;margin-bottom:1.5rem;box-shadow:var(--shadow-lg);border:1px solid var(--neutral-200);position:relative;max-width:100%;overflow:hidden;box-sizing:border-box;animation:patientCardEnter .6s cubic-bezier(.22,1,.36,1) both}@keyframes patientCardEnter{0%{opacity:0;transform:translateY(12px) scale(.98);filter:blur(4px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@media(prefers-reduced-motion:reduce){.patient-card{animation:none}}.patient-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.patient-card .card-header h2{color:var(--neutral-800);font-size:1.5rem;font-weight:700}.department-badge{background:#2563eb1a;color:var(--primary-blue-dark);padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;border:1px solid rgb(37 99 235 / .2)}.family-prefs-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#2563eb1a;color:var(--primary-blue-dark);border:1px solid rgb(37 99 235 / .2);box-shadow:0 1px 2px #00000014,inset 0 -1px 2px #0000000f;cursor:pointer;padding:0;transition:transform .15s ease,background .15s ease,box-shadow .15s ease;vertical-align:middle}.family-prefs-badge:hover{background:#2563eb2e;transform:scale(1.06);box-shadow:0 2px 6px #0000001f,inset 0 -1px 2px #0000000f}.family-prefs-badge:active{transform:scale(.96)}.preferences-modal{background:var(--bg-card);color:var(--text-primary);border-radius:12px;width:90%;max-width:600px;height:600px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;border:1px solid var(--border-color)}.preferences-modal-header{padding:20px 24px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.preferences-modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.preferences-modal-close{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-secondary);line-height:1;padding:0 4px}.preferences-modal-close:hover{color:var(--text-primary)}.preferences-modal-tabs{display:flex;border-bottom:1px solid var(--border-color);padding:0 24px}.preferences-modal-tab{background:transparent;border:none;padding:12px 16px;font-size:.95rem;font-weight:600;cursor:pointer;color:var(--text-secondary);border-bottom:2px solid transparent;margin-bottom:-1px;text-transform:capitalize;font-family:inherit}.preferences-modal-tab:hover{color:var(--text-primary)}.preferences-modal-tab.active{color:var(--primary-blue, #2563eb);border-bottom-color:var(--primary-blue, #2563eb)}.preferences-modal-body{padding:24px;flex:1;min-height:0;overflow:hidden;color:var(--text-primary);display:flex;flex-direction:column;gap:16px}.preferences-history{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:4px}.preferences-empty{color:var(--text-secondary);font-size:.9rem;text-align:center;padding:16px 0}.preferences-item{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px}.preferences-item:nth-child(2n){background:#eef2f7;border-color:#cbd5e1}[data-theme=dark] .preferences-item{background:#1e293b;border-color:#334155}[data-theme=dark] .preferences-item:nth-child(2n){background:#0f172a;border-color:#475569}.preferences-item-header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.preferences-item-author{color:var(--text-secondary);font-size:.7rem;font-weight:400}.preferences-item-time{color:var(--text-secondary);font-size:.7rem}.preferences-item-text{color:var(--text-primary);font-size:.825rem;line-height:1.4;word-break:break-word}.preferences-item-actions{display:flex;gap:6px;margin-top:2px}.preferences-action-btn{background:transparent;border:1px solid var(--border-color);color:var(--text-primary);border-radius:6px;padding:4px 8px;font-size:.75rem;font-weight:600;cursor:pointer;font-family:inherit}.preferences-action-btn:hover{background:var(--bg-secondary)}.preferences-action-btn.danger{color:#dc2626;border-color:#dc262640}.preferences-action-btn.danger:hover{background:#dc262615}.preferences-edit-input{width:100%;background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;padding:6px 8px;font-size:.95rem;font-family:inherit}.preferences-input-row{display:flex;gap:8px;align-items:flex-end;border-top:1px solid var(--border-color);padding-top:12px;flex-shrink:0}.preferences-input-wrap{flex:1;min-width:0;position:relative;display:flex}textarea.preferences-input{flex:1;width:100%;min-width:0;background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border-color);border-radius:8px;padding:10px 44px 10px 12px;margin:0;font-size:.95rem;font-family:inherit;resize:none;overflow:hidden;min-height:42px;max-height:180px;line-height:1.4;box-sizing:border-box;display:block}.preferences-mic-btn{position:absolute;top:6px;right:6px;width:32px;height:32px;min-width:32px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:linear-gradient(135deg,#ec4899,#f472b6);color:#fff;cursor:pointer;padding:0;font-family:inherit;transition:all .2s;box-shadow:0 2px 8px #ec48994d;z-index:2;flex-shrink:0}.preferences-mic-btn:hover:not(:disabled){background:linear-gradient(135deg,#f472b6,#ec4899);transform:translateY(-1px);box-shadow:0 4px 12px #ec489966}.preferences-mic-btn:active:not(:disabled){transform:translateY(0)}.preferences-mic-btn:disabled{opacity:.5;cursor:not-allowed}[data-theme=dark] .preferences-mic-btn{color:#1f2937}.preferences-mic-spin{animation:preferences-mic-spin .9s linear infinite}@keyframes preferences-mic-spin{to{transform:rotate(360deg)}}.preferences-input:focus{outline:none;border-color:var(--primary-blue, #2563eb)}.preferences-save-btn{background:var(--primary-blue, #2563eb);color:#fff;border:none;border-radius:8px;padding:0 18px;height:42px;font-size:.875rem;font-weight:600;cursor:pointer;font-family:inherit;flex-shrink:0;align-self:flex-end}.preferences-save-btn:disabled{opacity:.5;cursor:not-allowed}.patient-card .card-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem 1rem}.patient-card .field-group{color:var(--neutral-700)}.patient-card .field-label{font-weight:600;font-size:.875rem;color:var(--neutral-800);margin-bottom:.25rem}.patient-card .field-value{font-size:1rem;color:var(--neutral-700)}.handoff-type-selector{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:var(--neutral-100);border-radius:12px;margin-bottom:1rem}.handoff-type-label{font-weight:600;font-size:.9rem;color:var(--neutral-700);white-space:nowrap}.handoff-type-options{display:flex;gap:.5rem;flex-wrap:nowrap}.handoff-type-btn{padding:.5rem .75rem;border:none;border-radius:8px;background:var(--neutral-100);color:var(--neutral-600);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.handoff-type-btn:hover{color:var(--primary-blue);background:#3b82f61a}.handoff-type-btn.active{background:var(--primary-blue);color:#fff}[data-theme=dark] .handoff-type-selector{background:#1e293b;border-radius:12px;padding:.5rem 1rem}[data-theme=dark] .handoff-type-label{color:#e2e8f0}[data-theme=dark] .handoff-type-btn{background:#334155;color:#94a3b8;border-radius:8px;padding:.5rem .75rem}[data-theme=dark] .handoff-type-btn:hover{color:#38bdf8;background:#3b4a5f}[data-theme=dark] .handoff-type-btn.active{background:#3b82f6;color:#fff}.handoff-type-btn{position:relative}.handoff-pending-badge{position:absolute;top:-5px;right:-5px;width:16px;height:16px;background:#f59e0b;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;pointer-events:none}[data-theme=dark] .handoff-pending-badge{background:#f59e0b;border:1.5px solid #1e293b}.handoff-pending-badge.handoff-pending-badge-inline{position:static;top:auto;right:auto;display:inline-flex;margin-left:.5rem;vertical-align:middle;border:none}.tooltip-select-option-label{display:inline-flex;align-items:center}.handoff-type-mobile{display:none}.handoff-type-dropdown{padding:.5rem 1rem;border-radius:8px;border:1px solid var(--neutral-300);background:var(--white);color:var(--neutral-700);font-size:.9rem;font-weight:500;cursor:pointer;flex:1}[data-theme=dark] .handoff-type-dropdown{background:#334155;border-color:#475569;color:#e2e8f0}.admission-metadata-container{background:var(--white);border-radius:12px;padding:1.25rem;margin-bottom:1rem;box-shadow:var(--shadow-md);border:1px solid var(--neutral-200)}[data-theme=dark] .admission-metadata-container{background:var(--bg-secondary);border-color:var(--neutral-700)}.admission-metadata-header{display:flex;align-items:center;gap:12px;margin-bottom:0}.admission-metadata-header.expanded{margin-bottom:16px}.admission-header-clickable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:opacity .2s ease}.admission-header-clickable:hover{opacity:.8}.admission-collapse-icon{margin-left:auto;transition:transform .3s ease;color:var(--text-secondary)}.admission-collapse-icon.expanded{transform:rotate(180deg)}.anim-collapse{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1)}.anim-collapse.is-open{grid-template-rows:1fr}.anim-collapse>.anim-collapse-inner{overflow:hidden;min-height:0;opacity:0;transition:opacity .25s ease}.anim-collapse.is-open>.anim-collapse-inner{opacity:1}.activity-panel-expandable{margin-top:1rem;background:#d1d5db;border-radius:12px;padding:1.25rem;box-shadow:var(--shadow-sm);border:1px solid var(--neutral-200)}[data-theme=dark] .activity-panel-expandable{background:#374151;border-color:var(--neutral-700)}.activity-panel-expandable .activity-panel-expanded-content{background-color:transparent;border-radius:0;padding:0;margin-top:1rem}[data-theme=dark] .activity-panel-expandable .activity-panel-expanded-content{background-color:transparent}.activity-panel-expandable .activity-panel{margin:0!important;border-radius:8px!important;overflow:visible!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:1rem!important}.activity-panel-expandable .activity-action-buttons{flex-direction:row!important;flex-wrap:nowrap!important;gap:.5rem!important;width:100%!important;max-width:100%!important}.activity-panel-expandable .activity-btn{flex:1!important;width:auto!important;max-width:100%!important;box-sizing:border-box!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:.75rem!important;padding:.65rem .35rem!important}.activity-panel-expandable .activity-item{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:visible!important;padding:1rem!important}.activity-panel-expandable .activity-list{width:100%!important;max-width:100%!important;box-sizing:border-box!important;max-height:220px!important;overflow-y:auto!important;overflow-x:hidden!important}.activity-panel-expandable .activity-panel-expanded-content{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;padding:0!important}.activity-panel-expandable{overflow:hidden!important}[data-theme=dark] .activity-panel-expanded-content{border-top-color:var(--neutral-700)}.procedure-section-hint{font-size:.85rem;color:var(--text-secondary);margin-bottom:12px}.required-asterisk{color:#ef4444;font-weight:600}.consent-validation-error{color:#ef4444;font-size:.85rem;margin-top:8px;margin-bottom:0;line-height:1.5}.procedure-note-input-row{display:flex;gap:10px;align-items:center}.procedure-note-textarea{flex:1;min-height:50px!important;max-height:300px;resize:none;overflow-y:auto;transition:height .15s ease}.procedure-note-textarea.auto-resize-textarea{overflow-y:hidden;resize:none}.procedure-note-textarea:empty,.procedure-note-textarea:placeholder-shown{height:auto!important}.procedure-save-btn{padding:8px 16px;background:var(--primary-blue);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.procedure-save-btn:hover:not(:disabled){background:#2563eb}.procedure-save-btn:disabled{opacity:.5;cursor:not-allowed}.procedure-cancel-btn{padding:8px 16px;background:transparent;color:var(--text-secondary);border:1px solid var(--border-color);border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.procedure-cancel-btn:hover{background:var(--bg-secondary)}.procedure-notes-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}.procedure-note-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:10px 12px}.procedure-note-content{display:flex;flex-direction:column;gap:4px}.procedure-note-text{font-size:.9rem;color:var(--text-primary);line-height:1.4}.procedure-note-time{font-size:.75rem;color:var(--text-secondary)}.procedure-note-actions{display:flex;gap:8px;margin-top:8px}.procedure-note-edit-btn,.procedure-note-delete-btn{padding:4px 10px;font-size:.75rem;border-radius:4px;cursor:pointer;transition:all .2s ease}.procedure-note-edit-btn{background:transparent;color:var(--primary-blue);border:1px solid var(--primary-blue)}.procedure-note-edit-btn:hover{background:var(--primary-blue);color:#fff}.procedure-note-delete-btn{background:transparent;color:#ef4444;border:1px solid #ef4444}.procedure-note-delete-btn:hover{background:#ef4444;color:#fff}.procedure-note-edit{display:flex;flex-direction:column;gap:8px}.procedure-note-edit-actions{display:flex;gap:8px}.admission-metadata-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--primary-blue);color:#fff;border-radius:6px;font-weight:600;font-size:.9rem}.admission-metadata-header h3{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-primary)}[data-theme=dark] .admission-metadata-header h3{color:var(--text-primary)}.admission-metadata-form{display:flex;flex-direction:column;gap:1rem}.admission-field{display:flex;flex-direction:column;gap:.5rem}.admission-field label{font-weight:600;font-size:.9rem;color:var(--text-primary)}[data-theme=dark] .admission-field label{color:var(--text-primary)}.yes-no-buttons{display:flex;gap:.5rem}.yes-no-btn{padding:.5rem 1.25rem;border:1px solid var(--neutral-300);border-radius:6px;font-size:.875rem;font-weight:500;background:var(--white);color:var(--neutral-700);cursor:pointer;transition:all .2s ease;min-width:60px}.yes-no-btn:hover{border-color:var(--primary-blue);background:#3b82f60d}.yes-no-btn.selected.yes,.yes-no-btn.selected.no{background:var(--primary-blue);border-color:var(--primary-blue);color:#fff}[data-theme=dark] .yes-no-btn{background:var(--neutral-800);border-color:var(--neutral-700);color:var(--neutral-300)}[data-theme=dark] .yes-no-btn:hover{border-color:var(--primary-blue);background:#3b82f61a}[data-theme=dark] .yes-no-btn.selected.yes,[data-theme=dark] .yes-no-btn.selected.no{background:var(--primary-blue);border-color:var(--primary-blue);color:#fff}.required-indicator{color:#ef4444;font-size:.75rem;font-weight:500;margin-left:.5rem}[data-theme=dark] .required-indicator{color:#f87171}.admission-input{padding:.75rem 1rem;border:1px solid var(--neutral-300);border-radius:8px;font-size:.9rem;background:var(--white);color:var(--text-primary);transition:border-color .2s ease,box-shadow .2s ease;width:100%;box-sizing:border-box}.admission-input:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a}.admission-input-expandable{resize:none;overflow:hidden;white-space:pre-wrap;word-wrap:break-word;min-height:44px;line-height:1.4;font-family:inherit}.admission-input-expandable:focus{white-space:pre-wrap;word-wrap:break-word;overflow:auto;min-height:44px}[data-theme=dark] .admission-input{background:var(--bg-tertiary);border-color:var(--neutral-600);color:var(--text-primary)}select.admission-input{cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}select.admission-input:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a}[data-theme=dark] select.admission-input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%9ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")}.admission-textarea{resize:none;min-height:44px;font-family:inherit;overflow:hidden;white-space:pre-wrap;word-wrap:break-word;line-height:1.5;padding-top:6px;padding-bottom:6px}.admission-textarea:focus{white-space:pre-wrap;overflow-y:auto;min-height:44px;line-height:1.5;padding-top:6px;padding-bottom:6px}.admission-textarea.auto-resize-textarea{overflow:hidden;resize:none;transition:height .15s ease}.admission-textarea-wrapper{position:relative}.admission-textarea-wrapper .admission-field-tooltip{display:none;position:absolute;bottom:calc(100% + 8px);left:0;right:0;padding:8px 12px;background-color:#f5f5f5;color:#1a1a1a;border-radius:6px;font-size:13px;line-height:1.4;box-shadow:0 4px 12px #00000026;z-index:1000;max-height:120px;overflow:auto;word-break:break-word;white-space:pre-wrap}.admission-textarea-wrapper .admission-field-tooltip:after{content:"";position:absolute;top:100%;left:20px;border-width:6px;border-style:solid;border-color:#f5f5f5 transparent transparent transparent}[data-theme=dark] .admission-textarea-wrapper .admission-field-tooltip{background-color:#1e293b;color:#f1f5f9;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .admission-textarea-wrapper .admission-field-tooltip:after{border-color:#1e293b transparent transparent transparent}.admission-textarea-wrapper:hover .admission-field-tooltip{display:block}.admission-textarea-wrapper:focus-within .admission-field-tooltip{display:none}.handoff-field-with-mic{position:relative}.handoff-field-with-mic textarea,.handoff-field-with-mic input[type=text]{width:100%;padding-right:48px;box-sizing:border-box}.handoff-mic-btn{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:8px;border:none;background:linear-gradient(135deg,#ec4899,#f472b6);color:#fff;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #ec48994d;z-index:2}.handoff-mic-btn:hover{background:linear-gradient(135deg,#f472b6,#ec4899);transform:translateY(-1px);box-shadow:0 4px 12px #ec489966}.handoff-mic-btn:active{transform:translateY(0)}[data-theme=dark] .handoff-mic-btn{color:#1f2937}.admission-options{display:flex;flex-wrap:wrap;gap:.5rem}.admission-option-btn{padding:.5rem 1rem;border:1px solid var(--neutral-300);border-radius:8px;background:var(--white);color:var(--text-secondary);font-size:.85rem;cursor:pointer;transition:all .2s ease}.admission-option-btn:hover{border-color:var(--primary-blue);color:var(--primary-blue);background:#3b82f60d}.admission-option-btn.active{background:var(--primary-blue);color:#fff;border-color:var(--primary-blue)}[data-theme=dark] .admission-option-btn{background:var(--bg-tertiary);border-color:var(--neutral-600);color:var(--text-secondary)}[data-theme=dark] .admission-option-btn:hover{border-color:var(--primary-blue);color:var(--primary-blue)}[data-theme=dark] .admission-option-btn.active{background:var(--primary-blue);color:#fff}.wound-upload-section{padding:.5rem 0}.wound-upload-description{color:var(--text-secondary);font-size:.9rem;margin-bottom:1rem}.wound-upload-actions{display:flex;gap:1rem;flex-wrap:wrap}.wound-upload-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border:2px dashed var(--neutral-300);border-radius:10px;background:var(--neutral-50);color:var(--text-secondary);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.wound-upload-btn:hover{border-color:var(--primary-blue);color:var(--primary-blue);background:#3b82f60d}.wound-upload-btn svg{flex-shrink:0}.wound-capture-btn{border-color:var(--secondary-teal);color:var(--secondary-teal)}.wound-capture-btn:hover{border-color:var(--secondary-teal);color:var(--secondary-teal);background:#14b8a60d}[data-theme=dark] .wound-upload-btn{background:var(--bg-tertiary);border-color:var(--neutral-600);color:var(--text-secondary)}[data-theme=dark] .wound-upload-btn:hover{border-color:var(--primary-blue);color:var(--primary-blue)}[data-theme=dark] .wound-capture-btn{border-color:var(--secondary-teal);color:var(--secondary-teal)}.wound-image-preview-container{margin-top:1rem}.wound-image-preview{position:relative;display:inline-block;max-width:300px}.wound-image-preview img{width:100%;border-radius:10px;border:2px solid var(--neutral-200);box-shadow:var(--shadow-md)}[data-theme=dark] .wound-image-preview img{border-color:var(--neutral-600)}.wound-image-remove{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;background:var(--error-red);color:#fff;border:2px solid white;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s ease;box-shadow:var(--shadow-md)}.wound-image-remove:hover{transform:scale(1.1)}[data-theme=dark] .wound-image-remove{border-color:var(--bg-primary)}.wound-upload-status{margin-top:.75rem}.wound-save-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border:none;border-radius:8px;background:var(--primary-blue);color:#fff;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.wound-save-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.wound-save-btn:disabled{opacity:.7;cursor:not-allowed}.wound-upload-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.wound-uploaded-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#22c55e1a;color:#22c55e;border-radius:8px;font-size:.85rem;font-weight:500}[data-theme=dark] .wound-uploaded-badge{background:#22c55e26}.wound-images-history{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--neutral-200)}[data-theme=dark] .wound-images-history{border-color:var(--neutral-700)}.wound-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.wound-history-title{font-size:.9rem;font-weight:600;color:var(--text-primary);margin:0}.wound-selection-buttons{display:flex;gap:.5rem}.wound-select-btn{padding:.25rem .6rem;font-size:.75rem;font-weight:500;border:1px solid var(--primary-blue);border-radius:4px;background:transparent;color:var(--primary-blue);cursor:pointer;transition:all .2s ease}.wound-select-btn:hover{background:var(--primary-blue);color:#fff}.wound-history-list{display:flex;flex-direction:column;gap:.5rem;max-height:240px;overflow-y:auto;padding-right:8px}.wound-history-list::-webkit-scrollbar{width:6px}.wound-history-list::-webkit-scrollbar-track{background:#6b728033;border-radius:3px}.wound-history-list::-webkit-scrollbar-thumb{background:#6b728080;border-radius:3px}.wound-history-list::-webkit-scrollbar-thumb:hover{background:#6b7280b3}@media(min-width:768px){.wound-history-list{max-height:240px}}.wound-history-item{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.wound-history-link{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem;background:transparent;border:1px solid var(--primary-blue);border-radius:6px;color:var(--primary-blue);font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.wound-history-link:hover{background:var(--primary-blue);color:#fff}.wound-history-meta{font-size:.8rem;color:var(--text-secondary)}.wound-delete-btn{display:flex;align-items:center;justify-content:center;padding:.35rem;background:transparent;border:1px solid #ef4444;border-radius:6px;color:#ef4444;cursor:pointer;transition:all .2s ease;opacity:.7}.wound-delete-btn:hover{background:#ef4444;color:#fff;opacity:1}.wound-checkbox-label{display:flex;align-items:center;cursor:pointer;position:relative}.wound-checkbox{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.wound-checkbox-custom{width:20px;height:20px;border:2px solid var(--primary-blue);border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;background:#3b82f61a;flex-shrink:0}.wound-checkbox:checked+.wound-checkbox-custom{background:var(--primary-blue);border-color:var(--primary-blue)}.wound-checkbox:checked+.wound-checkbox-custom:after{content:"";width:5px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);margin-bottom:2px}.wound-checkbox-label:hover .wound-checkbox-custom{border-color:var(--primary-blue)}[data-theme=dark] .wound-checkbox-custom{background:#3b82f626;border-color:var(--primary-blue)}[data-theme=dark] .wound-checkbox:checked+.wound-checkbox-custom{background:var(--primary-blue);border-color:var(--primary-blue)}.wound-action-buttons{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap}.wound-analyze-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border:none;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.wound-analyze-btn:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#4f46e5);transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf64d}.wound-analyze-btn:disabled{opacity:.7;cursor:not-allowed}.wound-summary-container{margin-top:1rem;padding:1rem;background:linear-gradient(135deg,#8b5cf614,#7c3aed0d);border:1px solid rgba(139,92,246,.2);border-radius:12px;border-left:4px solid #8b5cf6}[data-theme=dark] .wound-summary-container{background:linear-gradient(135deg,#8b5cf61f,#7c3aed14);border-color:#8b5cf64d}.wound-summary-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.wound-summary-header h5{margin:0;font-size:.95rem;font-weight:600;color:#8b5cf6}.wound-summary-close{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s ease}.wound-summary-close:hover{background:#8b5cf61a;color:#8b5cf6}.wound-summary-content{font-size:.9rem;line-height:1.6;color:var(--text-primary)}.wound-summary-section-header{font-size:.95rem;font-weight:700;color:#7c3aed;margin-top:.75rem;margin-bottom:.25rem}.wound-summary-section-header:first-child{margin-top:0}[data-theme=dark] .wound-summary-section-header{color:#a78bfa}.wound-summary-section-body{font-size:.875rem;color:var(--text-primary);margin-bottom:.25rem}.wound-viewer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem}.wound-viewer-modal{position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;align-items:center}.wound-viewer-close{position:absolute;top:-40px;right:0;background:#ffffff1a;border:none;color:#fff;cursor:pointer;padding:.5rem;border-radius:50%;transition:all .2s ease;z-index:10001}.wound-viewer-close:hover{background:#fff3;transform:scale(1.1)}.wound-viewer-image-container{max-width:100%;max-height:calc(90vh - 80px);overflow:hidden;border-radius:12px;box-shadow:0 25px 50px -12px #00000080}.wound-viewer-image-container img{max-width:100%;max-height:calc(90vh - 80px);object-fit:contain;display:block}.wound-viewer-info{display:flex;gap:1.5rem;margin-top:1rem;padding:.75rem 1rem;background:#ffffff1a;border-radius:8px}.wound-viewer-uploader,.wound-viewer-date{display:inline-flex;align-items:center;gap:.5rem;color:#ffffffe6;font-size:.9rem}.wound-viewer-uploader svg,.wound-viewer-date svg{opacity:.7}.photo-upload-section{display:flex;align-items:center;gap:16px;padding:12px;background:#ffffff0d;border-radius:12px;border:1px dashed rgba(255,255,255,.15)}.photo-preview-circle{width:70px;height:70px;min-width:70px;border-radius:50%;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;border:2px solid #3b82f6}.photo-preview-circle svg{stroke:#3b82f6;fill:none}[data-theme=dark] .photo-preview-circle{background:linear-gradient(135deg,#1e293b,#334155);border:2px solid rgba(255,255,255,.2)}[data-theme=dark] .photo-preview-circle svg{stroke:#ffffffb3}.photo-preview-circle img{width:100%;height:100%;object-fit:cover}.photo-upload-buttons{display:flex;gap:8px}.photo-btn{display:inline-flex;align-items:center;justify-content:center;gap:.3125rem;padding:.375rem .75rem;margin:0;font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s ease;border:1px solid transparent;border-radius:6px;box-sizing:border-box;line-height:1.2;text-decoration:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:28px}.photo-upload-buttons .photo-btn{flex:0 0 auto;display:inline-flex;font-size:.8125rem;margin:0;padding:.5rem 1rem;min-height:38px;line-height:1.2;font-weight:600}.photo-upload-buttons .photo-btn-upload{color:var(--primary-blue, #3b82f6)}.photo-upload-buttons .photo-btn-upload:hover{color:#fff}.photo-btn svg{flex-shrink:0;width:14px;height:14px}.photo-btn-camera{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid transparent}.photo-btn-camera:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 2px 6px #3b82f64d}.photo-btn-upload{background:transparent;color:var(--primary-blue, #3b82f6);border:1px solid var(--primary-blue, #3b82f6)}.photo-btn-upload:hover{background:var(--primary-blue, #3b82f6);color:#fff}.photo-btn-remove{background:transparent;color:#f87171;border:none;padding:4px 8px;font-size:12px;cursor:pointer;margin-left:auto}.photo-btn-remove:hover{color:#ef4444;text-decoration:underline}.camera-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--neutral-200)}[data-theme=dark] .camera-header{border-color:var(--neutral-700)}.camera-header h3{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.camera-video-container{padding:1rem}.camera-video-container video{width:100%;border-radius:8px;background:#000}.camera-actions{display:flex;justify-content:center;padding:1rem;border-top:1px solid var(--neutral-200)}[data-theme=dark] .camera-actions{border-color:var(--neutral-700)}.camera-capture-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.camera-capture-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.camera-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:10001;padding:1rem}.camera-modal{background:var(--white);border-radius:16px;max-width:600px;width:100%;max-height:90vh;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}[data-theme=dark] .camera-modal{background:var(--bg-secondary)}.camera-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--neutral-200)}[data-theme=dark] .camera-modal-header{border-color:var(--neutral-700)}.camera-modal-header h3{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.camera-close-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;border-radius:6px;transition:all .2s ease}.camera-close-btn:hover{background:var(--neutral-100);color:var(--text-primary)}[data-theme=dark] .camera-close-btn:hover{background:var(--neutral-700)}.camera-video-container{background:#000;display:flex;align-items:center;justify-content:center;min-height:300px}.camera-video-container video{width:100%;max-height:400px;object-fit:contain}.camera-modal-actions{display:flex;gap:1rem;padding:1rem 1.25rem;border-top:1px solid var(--neutral-200);justify-content:flex-end}[data-theme=dark] .camera-modal-actions{border-color:var(--neutral-700)}.camera-cancel-btn{padding:.75rem 1.5rem;border:1px solid var(--neutral-300);border-radius:10px;background:var(--white);color:var(--text-secondary);font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.camera-cancel-btn:hover{background:var(--neutral-100);color:var(--text-primary)}[data-theme=dark] .camera-cancel-btn{background:var(--bg-tertiary);border-color:var(--neutral-600);color:var(--text-secondary)}[data-theme=dark] .camera-cancel-btn:hover{background:var(--neutral-700)}.camera-capture-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:10px;background:var(--secondary-teal);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.camera-capture-btn:hover{background:#0d9488;transform:scale(1.02)}.camera-capture-btn svg{flex-shrink:0}.nurse-info-card{background:var(--white);padding:1rem 1.25rem;border-radius:12px;margin-bottom:1rem;box-shadow:var(--shadow-md);border:1px solid var(--neutral-200);border-left:4px solid var(--secondary-teal)}.nurse-info-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.nurse-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary-blue) 0%,var(--secondary-teal) 100%);display:flex;align-items:center;justify-content:center;color:#fff}.nurse-avatar svg{width:20px;height:20px}.nurse-info-card h4{margin:0;font-size:1rem;font-weight:600}.nurse-info-details{display:flex;flex-direction:column;gap:.5rem}.nurse-info-row{display:flex;align-items:center;gap:.75rem}.nurse-info-label{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px;min-width:40px}.nurse-info-value{font-size:.875rem;font-weight:500}.nurse-info-value.nurse-email{font-size:.8rem;opacity:.9}.section-card{padding:2rem;border-radius:12px;box-shadow:var(--shadow-md);margin-bottom:1.5rem;border:1px solid var(--neutral-200);transition:all .2s ease}.section-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.section-card h3{font-weight:600;font-size:1.125rem;margin-bottom:1rem}.audio-controls{background:transparent!important;padding:0!important;border-radius:0!important;text-align:center;box-shadow:none!important;margin-bottom:2rem;border:none!important;width:100%!important;max-width:100%!important}.button-row{display:flex;gap:1rem;align-items:center;width:100%;margin-bottom:1.5rem}.record-btn{flex:1;background:#7a048a;color:var(--white);border:none;padding:1rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:var(--shadow-md)}.record-btn:hover:not(:disabled){background:#d723ef;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.record-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.record-btn.active{background:#810391;animation:recordPulse 2s infinite}@keyframes recordPulse{0%,to{box-shadow:var(--shadow-md)}50%{box-shadow:0 0 0 4px #dc262633,var(--shadow-lg)}}.generate-handoff-btn{flex:1;background:#9d007e;color:var(--white);border:none;padding:.875rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:var(--shadow-md)}.generate-handoff-btn:hover:not(:disabled){background:#1499ff;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.generate-handoff-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;background:var(--neutral-300)}.button-row .record-btn,.button-row .generate-handoff-btn{padding:1rem 1.5rem;font-size:1rem}.analyze-transcription-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;color:var(--white);border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;padding:12px 24px!important;border-radius:8px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transform:translateY(0);transition:all .3s cubic-bezier(.4,0,.2,1);align-items:center;justify-content:center;gap:.5rem;margin-top:1rem;box-shadow:var(--shadow-sm)}.analyze-transcription-btn:hover:not(:disabled){background:var(--primary-blue-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}.analyze-transcription-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.transcribe-btn{background:var(--secondary-teal);color:var(--white);border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:0;box-shadow:var(--shadow-sm)}.transcribe-btn:hover:not(:disabled){background:#0f766e;transform:translateY(-1px);box-shadow:var(--shadow-md)}.continue-recording-btn{background:#10b981;color:var(--white);border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.continue-recording-btn:hover:not(:disabled){background:#059669;transform:translateY(-1px);box-shadow:var(--shadow-md)}.continue-recording-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.discard-recording-btn{background:#dc2626;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.discard-recording-btn:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px);box-shadow:var(--shadow-md)}[data-theme=dark] .discard-recording-btn{background:#dc2626;color:#fff}[data-theme=dark] .discard-recording-btn:hover:not(:disabled){background:#ef4444}.discard-recording-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.submit-btn{background:var(--accent-green);color:var(--white);border:none;padding:1rem 2rem;border-radius:8px;font-weight:600;font-size:1.125rem;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-md);width:100%}.submit-btn:hover:not(:disabled){background:#047857;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.submit-btn:disabled{background:var(--neutral-300);cursor:not-allowed;transform:none;box-shadow:var(--shadow-sm)}.audio-section{background:var(--neutral-50);padding:1.5rem;border-radius:8px;margin:1rem 0;border:1px solid var(--neutral-200)}.audio-section h4{margin-bottom:1rem;color:var(--text-primary);font-weight:600}.audio-section audio{width:100%;margin-bottom:1rem;border-radius:8px}.audio-action-buttons{width:100%}@media(max-width:640px){.audio-section{padding:.85rem .75rem}.audio-action-buttons{display:grid!important;grid-template-columns:1fr 1fr;gap:.5rem!important}.audio-action-buttons>button{width:100%;padding:.55rem .5rem;font-size:.9rem;white-space:nowrap}.audio-action-buttons>.continue-recording-btn{grid-row:1;grid-column:1}.audio-action-buttons>.discard-recording-btn{grid-row:1;grid-column:2}.audio-action-buttons>.transcribe-btn{grid-row:2;grid-column:1 / -1}}.processing-indicator{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;background:#3b82f61a;color:var(--primary-blue-dark);border:1px solid rgb(59 130 246 / .2);border-radius:8px;margin:1rem 0;font-weight:500}.spinner{width:20px;height:20px;border:2px solid rgb(59 130 246 / .3);border-top:2px solid var(--primary-blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.recording-status{background:#22c55e1a;color:var(--accent-green);padding:1rem;border:1px solid rgb(34 197 94 / .2);border-radius:8px;font-weight:600;margin:1rem 0;text-align:center}.language-detection{background:#a855f71a;color:#7c3aed;padding:1rem;border:1px solid rgb(168 85 247 / .2);border-radius:8px;margin:1rem 0;font-weight:500}.transcription-cols{display:flex;gap:1.5rem}.transcription-cols>div{flex:1}textarea{width:100%;min-height:120px;font-size:.875rem;border-radius:8px;padding:1rem;background:var(--white);border:1px solid var(--neutral-300);margin-bottom:1rem;transition:all .2s ease;resize:vertical;font-family:Inter,sans-serif;line-height:1.5;color:var(--neutral-700)}textarea:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #2563eb1a;outline:none}.analysis-section{background:var(--bg-card);padding:2rem;border-radius:12px;margin-top:0;margin-bottom:1rem;box-shadow:var(--shadow-md);border:1px solid var(--neutral-200)}.analysis-section h3{color:var(--text-primary);font-weight:700;font-size:1.25rem;margin-bottom:1.5rem}.analysis-sections{margin:.5rem 0;display:flex;flex-direction:column;gap:.75rem}.slide-in-card{opacity:0;transform:translate(50px);transition:opacity .4s ease-out,transform .4s ease-out}.slide-in-card.visible{opacity:1;transform:translate(0)}.category-section{background:var(--bg-card);padding:1rem 1rem .5rem;border-radius:8px;border-left:4px solid var(--primary-blue);transition:all .2s ease,opacity .4s ease-out,transform .4s ease-out}.category-section:hover{background:var(--bg-card);box-shadow:var(--shadow-sm)}.category-section h3{margin-bottom:.5rem;font-weight:600;font-size:1rem}.category-section p{color:var(--neutral-700);line-height:1.6}.edit-submit-section{background:var(--white);padding:2rem;border-radius:12px;margin:2rem 0;border:1px solid var(--neutral-200);box-shadow:var(--shadow-md)}.edit-submit-section h3{color:var(--text-primary);margin-bottom:1.5rem;font-weight:600;font-size:1.125rem}.submit-section{background:var(--white);padding:2rem;border-radius:12px;margin:2rem 0;text-align:center;box-shadow:var(--shadow-md);border:1px solid var(--neutral-200)}.export-btn-section{display:flex;gap:1rem;margin:1.5rem 0;flex-wrap:wrap}.export-btn-section button{flex:1;min-width:150px;background:var(--primary-blue);color:var(--white);padding:.875rem 1rem;border-radius:8px;border:none;cursor:pointer;font-weight:600;transition:all .2s ease;box-shadow:var(--shadow-sm);font-size:.875rem}.export-btn-section button:hover:not(:disabled){background:var(--primary-blue-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}.footer-premium{background:linear-gradient(135deg,var(--neutral-800) 0%,var(--neutral-900) 100%);color:var(--white);text-align:center;padding:2rem;border-radius:12px;margin-top:3rem;box-shadow:var(--shadow-lg)}.footer-premium h3{font-size:1.25rem;font-weight:700;margin-bottom:.5rem}.footer-premium p{opacity:.8;font-size:.875rem}@media(max-width:1024px){.content-columns{flex-direction:column}.button-row{flex-direction:row;flex-wrap:nowrap}.record-btn,.generate-handoff-btn{flex:1;min-width:0;white-space:nowrap;font-size:.85rem;padding:.5rem}}@media(max-width:768px){.sidebar{width:100%;min-width:unset;min-height:auto}main{padding:1rem}.transcription-cols,.export-btn-section{flex-direction:column}.export-btn-section button{min-width:auto}.main-header h1{font-size:2rem}.main-header p{font-size:1rem}.category-section{padding:1rem}.analysis-sections{gap:.35rem}}@media(max-width:480px){.sidebar{padding:1rem}.main-header{padding:2rem 1rem}.patient-card,.nurse-info-card,.section-card,.audio-controls,.analysis-section,.submit-section,.footer-premium{padding:1.5rem}.patient-card .card-fields{grid-template-columns:1fr}}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-center{text-align:center}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary-blue);outline-offset:2px}.loading{position:relative;overflow:hidden}.loading:after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shimmer 1.5s infinite}@keyframes shimmer{0%{left:-100%}to{left:100%}}:root{--bg-main: #f9fafb;--bg-card: #ffffff;--bg-secondary: #f3f4f6;--text-primary: #111827;--text-secondary: #6b7280;--border-color: #e5e7eb;--shadow: 0 1px 3px 0 rgba(0, 0, 0, .1)}[data-theme=dark]{--bg-main: #111827;--bg-card: #111827;--bg-secondary: #111827;--text-primary: #f9fafb;--text-secondary: #d1d5db;--border-color: #374151;--shadow: 0 1px 3px 0 rgba(0, 0, 0, .5)}html,body{background-color:var(--bg-main)!important;color:var(--text-primary);transition:background-color .3s ease,color .3s ease}.app-root{background-color:var(--bg-main)!important}.sidebar{background-color:var(--bg-card)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.sidebar h3,.sidebar h4{color:var(--text-primary)!important}.sidebar input{background-color:var(--bg-card)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.sidebar hr{background-color:var(--border-color)!important}.sidebar .mrn-btn,.sidebar .tracker-title,.sidebar .tracker-title span,.sidebar .expand-icon{color:#fff!important}[data-theme=dark] .sidebar{background:#0f172a}[data-theme=dark] .sidebar::-webkit-scrollbar-track{background:#1e293b}[data-theme=dark] .sidebar::-webkit-scrollbar-thumb{background:#475569}[data-theme=dark] .sidebar::-webkit-scrollbar-thumb:hover{background:#64748b}main{background-color:var(--bg-main)!important}.column-left,.column-right{background-color:var(--bg-main)!important;border:none!important;box-shadow:none!important;color:var(--text-primary)!important}.section-card{background-color:var(--bg-card)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}.button-row{background:transparent!important;border:none!important;box-shadow:none!important;padding:16px 0!important}.audio-section{background-color:var(--bg-secondary)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}.footer-premium{background-color:var(--bg-card)!important;border-color:var(--border-color)!important}[data-theme=dark] .footer-premium h4{color:#fff!important}h1,h2,h3,h4,h5,h6,p,span,div,label{color:var(--text-primary)}.footer-premium *{color:#fff!important}textarea{background-color:var(--bg-card)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.sidebar-header{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-bottom:12px}button.theme-toggle,button.view-toggle{width:auto;margin:0;padding:8px 14px;background:transparent!important;border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary)!important;cursor:pointer;font-size:13px;font-weight:500;line-height:1;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease}button.theme-toggle svg,button.view-toggle svg{flex-shrink:0}[data-theme=dark] button.theme-toggle,[data-theme=dark] button.view-toggle{color:var(--text-secondary)}button.theme-toggle:hover:not(:disabled),button.view-toggle:hover:not(:disabled){background-color:var(--border-color)!important;color:var(--text-primary);transform:none;box-shadow:none}button.view-toggle--admin:hover:not(:disabled){background-color:#8b5cf624!important;border-color:#8b5cf6;color:#a78bfa!important}button.view-toggle--nurse:hover:not(:disabled){background-color:#10b98124!important;border-color:#10b981;color:#34d399!important}.view-transition-veil{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background-color:#f5f5f5;opacity:0;pointer-events:none;transition:opacity .1s ease}[data-theme=dark] .view-transition-veil{background-color:#111827}.view-transition-veil.active{opacity:1;pointer-events:all}.status.ok{background:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.3)}.status.err{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3)}.record-btn{background:linear-gradient(135deg,#ec4899,#be185d)!important;color:#fff!important;transform:translateY(0);transition:all .3s cubic-bezier(.4,0,.2,1)}.record-btn:hover:not(:disabled){background:linear-gradient(135deg,#be185d,#9d174d)!important;transform:translateY(-3px) scale(1.02);box-shadow:0 8px 25px #ec489966!important}.generate-handoff-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;color:#fff!important;transform:translateY(0);transition:all .3s cubic-bezier(.4,0,.2,1)}.generate-handoff-btn:hover:not(:disabled){background:linear-gradient(135deg,#1dd5d8,#1e40af)!important;transform:translateY(-3px) scale(1.02);box-shadow:0 8px 25px #3b82f666!important}.transcribe-btn,.analyze-transcription-btn{color:#fff!important;transition:all .3s ease}.transcribe-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #10b9814d!important}.analyze-transcription-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d!important}.analyze-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;color:#fff!important;border:none!important;padding:12px 24px!important;border-radius:8px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transform:translateY(0);transition:all .3s cubic-bezier(.4,0,.2,1);display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:0 2px 8px #10b98133!important}.analyze-btn:hover:not(:disabled){background:linear-gradient(135deg,#1e96fc,#4cc9f0)!important;transform:translateY(-3px) scale(1.02)!important;box-shadow:0 8px 25px #10b98166!important}.analyze-btn:disabled{opacity:.6!important;cursor:not-allowed!important;transform:none!important;background:linear-gradient(135deg,#9ca3af,#6b7280)!important}.patient-card *,.main-header *,[data-theme=dark] .column-left h2,[data-theme=dark] .column-right h2{color:#fff!important}[data-theme=dark] .column-right .section-card:empty{display:none!important}.column-right>div:empty,.column-right>section:empty{display:none!important}.activity-panel{background:var(--white);border-radius:12px;padding:1.25rem;margin-bottom:1.5rem;box-shadow:var(--shadow-lg);border:1px solid var(--neutral-200);animation:panelSlideIn .3s ease-out;transition:opacity .3s ease,transform .3s ease;width:100%;max-width:100%;box-sizing:border-box}@keyframes panelSlideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.activity-panel.exiting{opacity:0;transform:translate(-20px)}.handoff-acceptance-required-banner{background:transparent;border:none;border-radius:8px;padding:.875rem 1rem;margin-bottom:1rem}.handoff-acceptance-required-banner p{margin:0;color:#92400e;font-weight:600;font-size:.82rem;display:flex;align-items:center;gap:.5rem}[data-theme=dark] .handoff-acceptance-required-banner{background:transparent}[data-theme=dark] .handoff-acceptance-required-banner p{color:#fbbf24}.activity-panel-header{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem;padding-bottom:1rem;border-bottom:1px solid var(--neutral-200)}.back-btn{display:flex;align-items:center;gap:.5rem;background:#f1f5f9;color:#64748b;border:2px solid #e2e8f0;padding:.75rem 1rem;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.back-btn:hover{background:#e2e8f0;color:#475569;border-color:#cbd5e1;transform:translateY(-1px)}.header-content h3{color:var(--neutral-800);font-weight:700;font-size:1.25rem;margin-bottom:.25rem}.activity-patient-info{color:var(--neutral-600);font-size:.875rem}.quick-activity-scroll{display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0;scrollbar-width:none;flex:1;min-width:0}.quick-activity-scroll::-webkit-scrollbar{display:none}.quick-activity-chip{display:flex;align-items:center;justify-content:center;gap:.35rem;flex:0 0 calc(33.333% - .35rem);scroll-snap-align:start;padding:.5rem .75rem;border:1px solid var(--neutral-200, #e2e8f0);border-radius:8px;background:var(--white, #ffffff);cursor:pointer;font-size:.8rem;font-weight:500;color:var(--text-primary, #1e293b);transition:all .2s ease;white-space:nowrap;box-sizing:border-box;height:38px}.quick-activity-chip:hover{background:#14b8a614;border-color:var(--primary, #14b8a6);color:var(--primary, #14b8a6)}.quick-activity-chip.active{background:var(--primary, #14b8a6);border-color:var(--primary, #14b8a6);color:#fff}.quick-activity-chip.new-session-btn{background:var(--primary-blue, #3b82f6);border-color:var(--primary-blue, #3b82f6);color:#fff;font-weight:600}.quick-activity-chip.new-session-btn:hover{background:#2563eb;border-color:#2563eb;color:#fff}[data-theme=dark] .quick-activity-chip.new-session-btn{background:#3b82f6;border-color:#3b82f6;color:#fff}[data-theme=dark] .quick-activity-chip.new-session-btn:hover{background:#2563eb;border-color:#2563eb}.chip-label{font-size:.78rem}.quick-activity-divider{border:none;border-top:1px solid var(--neutral-200, #e2e8f0);margin:.75rem 0 1rem}[data-theme=dark] .quick-activity-chip{background:#1e293b;border-color:#334155;color:#e2e8f0}[data-theme=dark] .quick-activity-chip:hover{background:#14b8a626;border-color:var(--primary, #14b8a6);color:var(--primary, #14b8a6)}[data-theme=dark] .quick-activity-chip.active{background:var(--primary, #14b8a6);border-color:var(--primary, #14b8a6);color:#fff}[data-theme=dark] .quick-activity-divider{border-top-color:#d1d5db}.new-session-confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:10001}.new-session-confirm-modal{background:var(--white, #ffffff);border-radius:12px;padding:1.25rem 1.5rem;max-width:320px;width:90%;box-shadow:0 8px 30px #0003}.new-session-confirm-modal p{margin:0 0 .5rem;font-weight:600;font-size:.95rem;color:var(--text-primary, #1e293b)}.new-session-confirm-note{font-weight:400!important;font-size:.8rem!important;color:var(--text-secondary, #64748b)!important;margin-bottom:1rem!important}.new-session-confirm-actions{display:flex;gap:.5rem;justify-content:flex-end}.new-session-cancel-btn,.new-session-create-btn{padding:.4rem 1rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;border:none;transition:all .2s ease}.new-session-cancel-btn{background:var(--neutral-100, #f1f5f9);color:var(--text-primary, #1e293b)}.new-session-cancel-btn:hover{background:var(--neutral-200, #e2e8f0)}.new-session-create-btn{background:var(--primary, #14b8a6);color:#fff}.new-session-create-btn:hover{background:#0d9488}[data-theme=dark] .new-session-confirm-modal{background:#1e293b}[data-theme=dark] .new-session-confirm-modal p{color:#f1f5f9}[data-theme=dark] .new-session-cancel-btn{background:#334155;color:#e2e8f0}[data-theme=dark] .new-session-cancel-btn:hover{background:#475569}.new-session-confirm-modal.rerecord-confirm-modal{position:relative;padding-top:1.75rem}.new-session-confirm-modal.rerecord-confirm-modal .new-session-confirm-actions{justify-content:center}.rerecord-confirm-close{position:absolute;top:.5rem;right:.6rem;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--text-secondary, #64748b);font-size:1.25rem;line-height:1;cursor:pointer;border-radius:6px;transition:background .15s ease,color .15s ease}.rerecord-confirm-close:hover{background:var(--neutral-100, #f1f5f9);color:var(--text-primary, #1e293b)}[data-theme=dark] .rerecord-confirm-close{color:#94a3b8}[data-theme=dark] .rerecord-confirm-close:hover{background:#334155;color:#f1f5f9}.new-session-discard-btn{padding:.4rem 1rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;border:none;transition:all .2s ease;background:#dc2626;color:#fff}.new-session-discard-btn:hover{background:#b91c1c}[data-theme=dark] .new-session-discard-btn{background:#dc2626;color:#fff}[data-theme=dark] .new-session-discard-btn:hover{background:#ef4444}.activity-action-buttons{display:flex;gap:1rem;margin-bottom:2rem;width:100%;max-width:100%;box-sizing:border-box}.activity-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem;border-radius:8px;min-width:0;max-width:100%;box-sizing:border-box;border:none;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-md);line-height:1.2;min-height:50px}.activity-btn.type-btn{background:linear-gradient(135deg,#c7c8ca,#ababab);color:#1e293b;border-color:#9ca3af;box-shadow:0 2px 8px #0000001f;font-size:1rem}.activity-btn.type-btn:hover{background:linear-gradient(135deg,#bbbcbe,#6b7280);color:var(--white);border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.activity-btn.type-btn.active{background:var(--primary-blue);color:var(--white);border-color:var(--primary-blue-dark)}.activity-btn.record-btn{background:linear-gradient(135deg,#ec4899,#be185d);color:var(--white);border-color:transparent;box-shadow:var(--shadow-md);font-size:.95rem}.activity-btn.record-btn:hover{background:linear-gradient(135deg,#be185d,#9d174d);transform:translateY(-1px);box-shadow:0 8px 25px #ec489966}.activity-btn.record-btn.active{background:linear-gradient(135deg,#9d174d,#831843);animation:recordPulse 2s infinite}.activity-btn:disabled{opacity:.5;cursor:not-allowed!important;transform:none!important;pointer-events:none}.activity-btn:disabled:hover{transform:none!important;box-shadow:none!important}.btn-icon{width:20px;height:20px;display:inline-block;flex-shrink:0}.btn-icon:empty{display:none}.activity-input-section{background:var(--neutral-50);border:1px solid var(--neutral-200);border-radius:12px;padding:2rem;margin-bottom:2rem}.activity-input-section h4{color:var(--neutral-800);font-weight:600;font-size:1.125rem;margin-bottom:1.5rem}.activity-textarea{width:100%;min-height:120px;padding:1rem;border:1px solid var(--neutral-300);border-radius:8px;font-family:Inter,sans-serif;font-size:.875rem;line-height:1.5;color:var(--neutral-700);background:var(--white);resize:vertical;transition:all .2s ease;margin-bottom:1rem}.activity-textarea:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #2563eb1a;outline:none}.activity-textarea-wrapper{position:relative;width:100%}.activity-textarea-wrapper .activity-textarea{padding-right:3rem}.activity-textarea-camera-btn{position:absolute;top:.5rem;right:.5rem;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:6px;border:1px solid var(--neutral-300);background:var(--white);color:var(--neutral-600);cursor:pointer;transition:all .15s ease;z-index:2}.activity-textarea-camera-btn:hover:not(:disabled){color:var(--primary-blue);border-color:var(--primary-blue);background:#2563eb0f}.activity-textarea-camera-btn:disabled{opacity:.5;cursor:not-allowed}[data-theme=dark] .activity-textarea-camera-btn{background:#ffffff0a;border-color:#ffffff1f;color:#ffffffb3}.activity-textarea-extracting{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:.5rem;background:#ffffffb3;border-radius:8px;color:var(--neutral-700);font-size:.875rem;font-weight:500;pointer-events:none}[data-theme=dark] .activity-textarea-extracting{background:#0f172ab3;color:#ffffffd9}.activity-extraction-error{margin:-.5rem 0 .75rem;color:#dc2626;font-size:.8125rem}.input-actions{display:flex;gap:1rem;justify-content:flex-end;align-items:center}.cancel-btn{background:var(--neutral-100);color:var(--neutral-700);border:1px solid var(--neutral-300);padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn:hover{background:var(--neutral-200);color:var(--neutral-800)}.save-btn{background:var(--accent-green);color:var(--white);border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.save-btn:hover:not(:disabled){background:#047857;transform:translateY(-1px);box-shadow:var(--shadow-md)}.save-btn:disabled{background:var(--neutral-300);color:var(--neutral-500);cursor:not-allowed;transform:none}.retry-btn{background:var(--secondary-teal);color:var(--white);border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.retry-btn:hover{background:var(--secondary-teal-light);transform:translateY(-1px);box-shadow:var(--shadow-md)}.suggested-activities{margin-bottom:1.25rem}.suggested-activities-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.suggested-activities-title{display:flex;align-items:center;gap:.375rem;font-size:.8125rem;font-weight:600;color:var(--neutral-700);letter-spacing:.01em}.suggested-sparkle{color:var(--primary-blue);flex-shrink:0}.suggestions-refresh-btn{display:flex;align-items:center;gap:.375rem;background:none;border:1px solid var(--neutral-300);border-radius:6px;padding:.3rem .75rem;font-size:.75rem;font-weight:500;color:var(--neutral-700);cursor:pointer;transition:all .2s ease;white-space:nowrap}.suggestions-refresh-btn:hover:not(:disabled){background:var(--neutral-100);border-color:var(--primary-blue);color:var(--primary-blue)}.suggestions-refresh-btn:disabled{opacity:.5;cursor:not-allowed}.suggestions-refresh-btn .spin{animation:suggestions-spin .8s linear infinite}@keyframes suggestions-spin{to{transform:rotate(360deg)}}.suggestions-scroll{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.375rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.suggestions-scroll::-webkit-scrollbar{height:4px}.suggestions-scroll::-webkit-scrollbar-track{background:transparent}.suggestions-scroll::-webkit-scrollbar-thumb{background:var(--neutral-300);border-radius:4px}.suggestions-scroll::-webkit-scrollbar-thumb:hover{background:var(--neutral-700)}.suggestion-chip{display:flex;align-items:center;gap:.375rem;flex-shrink:0;scroll-snap-align:start;background:var(--white);border:1.5px solid var(--neutral-200);border-radius:6px;padding:.375rem .875rem .375rem .625rem;font-size:.8125rem;font-weight:500;color:var(--neutral-700);cursor:pointer;transition:all .18s ease;white-space:nowrap}.suggestion-chip:hover{border-color:var(--primary-blue);background:#3da2fa0f;color:var(--primary-blue);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.suggestion-chip.active{border-color:var(--primary-blue);background:#3da2fa1f;color:var(--primary-blue)}.suggestion-chip-icon{display:flex;align-items:center;flex-shrink:0}.suggestion-chip-label{line-height:1.2}.suggestions-skeleton{display:flex;gap:.5rem;overflow:hidden}.suggestion-chip-skeleton{flex-shrink:0;width:110px;height:32px;border-radius:6px;background:linear-gradient(90deg,var(--neutral-200) 25%,var(--neutral-100) 50%,var(--neutral-200) 75%);background-size:200% 100%;animation:suggestions-shimmer 1.4s infinite}@keyframes suggestions-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.suggestions-empty{font-size:.8rem;color:var(--neutral-700);padding:.5rem 0;opacity:.7}[data-theme=dark] .suggested-activities-title{color:var(--text-secondary)}[data-theme=dark] .suggestions-refresh-btn{border-color:var(--border-color);color:var(--text-secondary);background:transparent}[data-theme=dark] .suggestions-refresh-btn:hover:not(:disabled){background:#ffffff0f;border-color:var(--primary-blue);color:var(--primary-blue)}[data-theme=dark] .suggestions-scroll::-webkit-scrollbar-thumb{background:#ffffff26}[data-theme=dark] .suggestion-chip{background:#ffffff0d;border-color:#ffffff1f;color:var(--text-secondary)}[data-theme=dark] .suggestion-chip:hover{border-color:var(--primary-blue);background:#3da2fa1f;color:var(--primary-blue)}[data-theme=dark] .suggestion-chip.active{border-color:var(--primary-blue);background:#3da2fa2e;color:var(--primary-blue)}.suggestion-chip--medication{background:#dce3ec;border-color:#94a2b5;color:#2c3744}.suggestion-chip--medication:hover{background:#cbd4e0;border-color:#7889a0;color:#1f2733}.suggestion-chip--medication.active{background:#b8c3d2;border-color:#5e7088;color:#161d27}[data-theme=dark] .suggestion-chip--medication{background:#ffffff24;border-color:#ffffff47;color:#e5ebf2}[data-theme=dark] .suggestion-chip--medication:hover{background:#fff3;border-color:#ffffff6b;color:#f4f7fb}[data-theme=dark] .suggestion-chip--medication.active{background:#ffffff42;border-color:#ffffff8c;color:#fff}[data-theme=dark] .suggestion-chip-skeleton{background:linear-gradient(90deg,#ffffff14 25%,#ffffff0a,#ffffff14 75%);background-size:200% 100%}[data-theme=dark] .suggestions-empty{color:var(--text-secondary)}[data-theme=dark] .activity-input-section{background:var(--bg-secondary);border-color:var(--border-color)}[data-theme=dark] .activity-input-section h4{color:var(--text-primary)}[data-theme=dark] .activity-textarea{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .cancel-btn{background:#ffffff0f;border-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .cancel-btn:hover{background:#ffffff1a;color:var(--text-primary)}.nurse-scribe-btn{transition:all .2s ease}.nurse-scribe-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.nurse-scribe-btn:disabled{opacity:.6;cursor:not-allowed}.audio-controls-container{display:flex;justify-content:center;margin:2rem 0}.mic-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;background:var(--primary-blue);color:var(--white);border:none;padding:2rem;border-radius:50%;width:120px;height:120px;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-lg);font-weight:600}.mic-btn:hover{background:var(--primary-blue-dark);transform:scale(1.05);box-shadow:var(--shadow-xl)}.mic-btn.recording{background:var(--accent-red);animation:recordPulse 2s infinite}.mic-icon{font-size:2rem}.mic-icon.pulse{animation:pulse 1s infinite}.transcribing-indicator{display:flex;align-items:center;justify-content:center;gap:1rem;padding:2rem;background:#3b82f61a;color:var(--primary-blue-dark);border:1px solid rgb(59 130 246 / .2);border-radius:8px;font-weight:500}.transcribe-spinner{width:20px;height:20px;border:2px solid rgb(59 130 246 / .3);border-top:2px solid var(--primary-blue);border-radius:50%;animation:spin 1s linear infinite}.transcription-result{margin-top:1rem}.transcription-result label{display:block;font-weight:600;color:var(--neutral-800);margin-bottom:.5rem}.activity-list-section{margin-top:2rem}.activity-list-section h4{color:var(--neutral-800);font-weight:600;font-size:1.125rem;margin-bottom:1.5rem}.activity-loading{text-align:center;padding:2rem;color:var(--neutral-600);font-style:italic}.no-activities{text-align:center;padding:3rem 2rem;color:var(--neutral-600)}.empty-illustration{margin-bottom:1.5rem;opacity:.7}.empty-title{font-size:1.125rem;font-weight:600;color:#64748b;margin-bottom:.5rem}.empty-hint{font-size:.875rem;color:var(--neutral-500)}.activity-list{display:flex;flex-direction:column;gap:1rem;max-height:350px;overflow-y:auto;padding-right:0;padding-top:0;scroll-behavior:smooth}.activity-list::-webkit-scrollbar{width:6px}.activity-list::-webkit-scrollbar-track{background:var(--neutral-100);border-radius:3px}.activity-list::-webkit-scrollbar-thumb{background:var(--neutral-300);border-radius:3px}.activity-list::-webkit-scrollbar-thumb:hover{background:var(--neutral-400)}.activity-item{background:var(--white);border:1px solid var(--neutral-200);border-radius:8px;padding:1.5rem;transition:all .2s ease;box-shadow:var(--shadow-sm)}.activity-item:nth-child(2n){background:#eef2f7;border-color:#cbd5e1}.activity-item:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.activity-type-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.activity-type-badge.text{background:#3b82f61a;color:var(--primary-blue-dark)}.activity-type-badge.audio{background:#ec48991a;color:#be185d}.activity-timestamp{font-size:.75rem;color:var(--neutral-500);font-weight:500}.activity-content{color:var(--neutral-700);line-height:1.5;font-size:.875rem}.activity-actions{display:flex;gap:.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--neutral-200)}.activity-edit-btn,.activity-delete-btn{padding:.4rem .75rem;font-size:.75rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease;border:none}.activity-edit-btn{background:var(--white);color:var(--primary-blue);border:1px solid var(--primary-blue)!important}.activity-edit-btn:hover{background:var(--primary-blue);color:#fff;border-color:var(--primary-blue)!important}.activity-delete-btn{background:var(--white);color:#dc2626;border:1px solid #dc2626!important}.activity-delete-btn:hover{background:#dc2626;color:#fff;border-color:#dc2626!important}.activity-edit-section{margin-top:.75rem}.activity-edit-textarea{width:100%;padding:.75rem;border:1px solid var(--primary-blue);border-radius:8px;font-size:.875rem;resize:vertical;min-height:80px;font-family:inherit;background:var(--white);color:var(--text-primary)}.activity-edit-textarea:focus{outline:none;box-shadow:0 0 0 3px #3b82f633}.activity-edit-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.75rem}.activity-cancel-btn,.activity-save-btn{padding:.5rem 1rem;font-size:.8rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease;border:none}.activity-cancel-btn{background:var(--neutral-200);color:var(--neutral-700)}.activity-cancel-btn:hover:not(:disabled){background:var(--neutral-300)}.activity-save-btn{background:linear-gradient(135deg,var(--primary-blue),var(--primary-blue-dark));color:#fff}.activity-save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.activity-save-btn:disabled,.activity-cancel-btn:disabled{opacity:.6;cursor:not-allowed}.activity-delete-confirm{margin-top:.75rem;padding:1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px}.activity-delete-confirm p{margin:0 0 .75rem;color:#dc2626;font-size:.875rem;font-weight:500}.activity-delete-actions{display:flex;gap:.5rem;justify-content:flex-end}.activity-delete-actions .activity-delete-btn{background:#dc2626;color:#fff}.activity-delete-actions .activity-delete-btn:hover:not(:disabled){background:#b91c1c}[data-theme=dark] .activity-actions{border-top-color:#334155}[data-theme=dark] .activity-edit-btn,[data-theme=dark] .activity-delete-btn{background:#334155;color:#e2e8f0}[data-theme=dark] .activity-edit-btn:hover{background:var(--primary-blue);color:#fff}[data-theme=dark] .activity-delete-btn:hover{background:#dc2626;color:#fff}[data-theme=dark] .activity-edit-textarea{background:#0f172a;border-color:#3b82f6;color:#f1f5f9}[data-theme=dark] .activity-cancel-btn{background:#475569;color:#e2e8f0}[data-theme=dark] .activity-cancel-btn:hover:not(:disabled){background:#64748b}[data-theme=dark] .activity-delete-confirm{background:#450a0a;border-color:#7f1d1d}[data-theme=dark] .activity-delete-confirm p{color:#fca5a5}.shift-summary-snapshot{border:1px solid var(--border-color, #e5e7eb);border-radius:10px;background:var(--bg-secondary, rgba(59, 130, 246, .04));padding:10px 14px;margin-top:8px;display:flex;flex-direction:column;gap:6px}.shift-summary-snapshot-row{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--text-secondary, #4b5563);line-height:1.3}.shift-summary-snapshot-row strong{color:var(--text-primary, #111827);font-weight:600}.shift-summary-snapshot-icon{flex-shrink:0;color:var(--accent-color, #3b82f6)}[data-theme=dark] .shift-summary-snapshot{border-color:#ffffff14;background:#ffffff08}[data-theme=dark] .shift-summary-snapshot-row{color:#c8cfdb}[data-theme=dark] .shift-summary-snapshot-row strong{color:#fff}.shift-summary-snapshot+.end-shift-container{margin-top:10px}.activity-panel+.shift-summary-snapshot{margin-top:-12px}.end-shift-container{background:linear-gradient(145deg,#112a74,#6da4f0);border-radius:14px;padding:20px;margin-top:20px;text-align:center;border:none;box-shadow:var(--shadow-lg)}.end-shift-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:var(--white);border:none;padding:1rem 2rem;border-radius:8px;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 0 18px #ffffff73,0 0 32px #ffffff40;margin-bottom:.5rem}.end-shift-btn:hover{transform:translateY(-2px);box-shadow:0 0 24px #fff9,0 6px 20px #1499ff}.end-shift-btn:disabled{box-shadow:var(--shadow-md);opacity:.65;cursor:not-allowed}.end-shift-hint{margin:12px 0 0;font-size:.85rem;color:#fff;font-weight:500}.handoff-undo-row{display:flex;justify-content:flex-start;margin-bottom:.5rem}.undo-end-shift-btn span{font-size:inherit;font-weight:inherit;display:inline}.undo-end-shift-btn{display:inline-flex;align-items:center;gap:.3rem;background:transparent;color:var(--text-secondary, #4b5563);border:none;padding:.3rem .5rem;border-radius:6px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease;font-size:.8rem}.undo-end-shift-btn:hover{background:#0000000d;color:var(--text-primary, #111827)}[data-theme=dark] .undo-end-shift-btn{color:#c8cfdb}[data-theme=dark] .undo-end-shift-btn:hover{background:#ffffff14;color:#fff}@media(max-width:768px){.activity-panel{padding:1rem}.activity-action-buttons{flex-direction:row!important;flex-wrap:nowrap!important;gap:.4rem!important}.activity-btn{flex:1!important;width:auto!important;min-width:0!important;padding:.65rem .25rem!important;font-size:.75rem!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-actions{flex-direction:column;align-items:stretch}.input-actions button{width:100%;margin-bottom:.5rem}.audio-input-section .input-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;flex-direction:initial}.audio-input-section .input-actions button{width:100%;margin-bottom:0;padding:.65rem .5rem;font-size:.85rem}.audio-input-section .input-actions .continue-btn{order:1}.audio-input-section .input-actions .retry-btn:not(.continue-btn){order:2}.audio-input-section .input-actions .cancel-btn{order:3}.audio-input-section .input-actions .save-btn{order:4}.activity-header{flex-direction:column;align-items:flex-start;gap:.5rem}.mic-btn{width:100px;height:100px;padding:1.5rem}}@media(max-width:480px){.activity-panel{padding:.75rem}.activity-list{padding-right:0;padding-top:0}.activity-panel-header{display:grid;grid-template-columns:auto 1fr;column-gap:.75rem;row-gap:.75rem;align-items:end}.back-btn{padding:.15rem .6rem;font-size:.85rem;border-radius:6px;border-width:1px;height:auto;line-height:1.2;grid-column:1;grid-row:1;align-self:end}.header-content{display:contents}.header-content h3{grid-column:2;grid-row:1;font-size:1.1rem;margin-bottom:0;line-height:1.2;align-self:end}.activity-patient-info{grid-column:1 / -1;grid-row:2;font-size:.8rem;margin:0}}[data-theme=dark] .activity-panel{background:linear-gradient(145deg,#1e293b,#0f172a)!important;border-color:#334155!important}[data-theme=dark] .activity-panel-header h3{color:#f1f5f9!important}[data-theme=dark] .activity-patient-info{color:#94a3b8!important}[data-theme=dark] .activity-btn.type-btn{background:linear-gradient(135deg,#4b5563,#374151)!important;border-color:#6b7280!important;color:#fff!important;box-shadow:0 2px 8px #0000004d!important}[data-theme=dark] .activity-btn.type-btn:hover{background:linear-gradient(135deg,#6b7280,#4b5563)!important;border-color:#9ca3af!important;color:#fff!important;box-shadow:0 4px 12px #0006!important}[data-theme=dark] .activity-btn.type-btn.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;color:#fff!important;border-color:#3b82f6!important}[data-theme=dark] .activity-btn.record-btn{background:linear-gradient(135deg,#ec4899,#be185d)!important;color:var(--white)!important;border-color:transparent}[data-theme=dark] .activity-btn.record-btn:hover{background:linear-gradient(135deg,#be185d,#9d174d)!important;transform:translateY(-1px);box-shadow:0 8px 25px #ec489966!important;color:var(--white)!important;border-color:transparent}[data-theme=dark] .activity-btn.record-btn.active{background:linear-gradient(135deg,#9d174d,#831843)!important;animation:recordPulse 2s infinite;color:var(--white)!important;border-color:transparent}[data-theme=dark] .activity-input-section{background:#0f172a!important;border-color:#334155!important}[data-theme=dark] .activity-input-section h4{color:#e2e8f0!important}[data-theme=dark] .activity-item{background:#1e293b!important;border-color:#334155!important}[data-theme=dark] .activity-item:nth-child(2n){background:#0f172a!important;border-color:#475569!important}[data-theme=dark] .activity-item:hover{border-color:#475569!important}[data-theme=dark] .activity-timestamp{color:#64748b!important}[data-theme=dark] .activity-content{color:#cbd5e1!important}[data-theme=dark] .end-shift-container{background-color:var(--bg-card)!important;border-color:var(--border-color)!important}[data-theme=dark] .activity-textarea{background:#1e293b!important;border-color:#334155!important;color:#e2e8f0!important}[data-theme=dark] .activity-textarea:focus{border-color:#3b82f6!important}[data-theme=dark] .cancel-btn{background:#334155!important;color:#94a3b8!important;border-color:#475569!important}[data-theme=dark] .cancel-btn:hover{background:#475569!important;color:#e2e8f0!important}[data-theme=dark] .mic-btn{background:#1e293b!important;border-color:#475569!important;color:#94a3b8!important}[data-theme=dark] .mic-btn:hover{border-color:#3b82f6!important;background:#1e3a5f!important;color:#60a5fa!important}[data-theme=dark] .mic-btn.recording{background:#450a0a!important;border-color:#ef4444!important;color:#f87171!important}[data-theme=dark] .no-activities{color:#64748b!important}[data-theme=dark] .end-shift-container{background:linear-gradient(145deg,#112a74,#6da4f0);border-color:#112a74!important}[data-theme=dark] .end-shift-hint{color:#fff}[data-theme=dark] .transcription-result label,[data-theme=dark] .transcribing-indicator{color:#94a3b8!important}[data-theme=dark] .activity-list-section h4{color:#e2e8f0!important}[data-theme=dark] .activity-list::-webkit-scrollbar-track{background:#1e293b}[data-theme=dark] .activity-list::-webkit-scrollbar-thumb{background:#475569}[data-theme=dark] .activity-list::-webkit-scrollbar-thumb:hover{background:#64748b}[data-theme=dark] .back-btn{background:#334155;border-color:#475569;color:#94a3b8}[data-theme=dark] .back-btn:hover{background:#475569;border-color:#64748b;color:#e2e8f0}.handoff-generation-section{background:linear-gradient(135deg,#48c6ef,#6f86d6);color:#fff;padding:2rem;border-radius:20px;margin:1.5rem 0;box-shadow:0 8px 25px #48c6ef4d;animation:fadeInUp .6s ease-out}.section-header h3{margin-bottom:1rem;font-size:1.5rem}.section-header p{opacity:.9;margin-bottom:1.5rem}.generate-handoff-btn.primary{background:linear-gradient(45deg,#4caf50,#45a049)}.status-message{background:#fff3;padding:1rem;border-radius:10px;margin:1rem 0;font-weight:500}.error-message{background:#f4433633;color:#ffebee;padding:1rem;border-radius:10px;margin:1rem 0;border-left:4px solid #f44336}.warning-text{color:#fffc;font-size:.9rem;margin-top:.5rem}.generated-handoff-container{background:#fff;color:#333;border-radius:15px;margin:1rem 0;overflow:hidden;box-shadow:0 5px 20px #0000001a}.handoff-tabs{display:flex;background:#f5f5f5;border-bottom:1px solid #ddd}.tab-btn{flex:1;padding:1rem;border:none;background:transparent;cursor:pointer;font-weight:600;transition:all .3s ease}.tab-btn.active{background:#fff;color:#48c6ef;border-bottom:2px solid #48c6ef}.tab-btn:hover:not(.active){background:#eee}.generated-handoff-display{padding:2rem}.handoff-text{font-family:Inter,sans-serif;line-height:1.8;font-size:1.1rem;margin-bottom:2rem;padding:1.5rem;background:#f9f9f9;border-radius:10px;border-left:4px solid #48c6ef}@keyframes hlFadeIn{0%{background:transparent;background-image:none;color:inherit;box-shadow:none;text-shadow:none}}.hl-fadein .critical-info,.hl-fadein .vital-sign,.hl-fadein .high-priority,.hl-fadein .medication-highlight,.hl-fadein .device-highlight,.hl-fadein .titration-highlight,.hl-fadein .pending-highlight,.hl-fadein .isolation-highlight,.hl-fadein .goal-highlight,.hl-fadein .time-critical,.hl-fadein .safety-highlight,.hl-fadein .disposition-highlight,.hl-fadein .functional-highlight,.hl-fadein .cognition-highlight,.hl-fadein .progress-highlight,.hl-fadein .discharge-highlight,.hl-fadein .mobility-highlight,.hl-fadein .trend-highlight,.hl-fadein .neuro-change,.hl-fadein .seizure-highlight,.hl-fadein .icp-highlight,.hl-fadein .neuro-safety,.hl-fadein .pain-management-highlight,.hl-fadein .dehydration-risk-highlight,.hl-fadein .behavioral-crisis-highlight,.hl-fadein .fall-safety-highlight,.hl-fadein .discharge-planning-highlight{animation:hlFadeIn 1.2s ease-out}.handoff-text .critical-info,.category-section .critical-info,.analysis-sections .critical-info{background:linear-gradient(45deg,#ee5a24,#ee5a24);color:#eb1957;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #ff6b6b4d}.handoff-text .high-priority,.category-section .high-priority,.analysis-sections .high-priority{background:linear-gradient(45deg,#feca57,#feca57);color:#2c2c2c;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #feca574d}.handoff-text .medication-highlight,.category-section .medication-highlight,.analysis-sections .medication-highlight{background:linear-gradient(45deg,#341f97,#341f97);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #5f27cd4d}.handoff-text .vital-sign,.category-section .vital-sign,.analysis-sections .vital-sign{background:linear-gradient(45deg,#00d2d3,#00d2d3);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #00d2d34d}.handoff-text .device-highlight,.category-section .device-highlight,.analysis-sections .device-highlight{background:linear-gradient(45deg,#6b7280,#6b7280);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #6b72804d}.handoff-text .titration-highlight,.category-section .titration-highlight,.analysis-sections .titration-highlight{background:linear-gradient(45deg,#14b8a6,#14b8a6);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0f766e4d}.handoff-text .pending-highlight,.category-section .pending-highlight,.analysis-sections .pending-highlight{background:linear-gradient(45deg,#a78bfa,#a78bfa);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c3aed4d}.handoff-text .isolation-highlight,.category-section .isolation-highlight,.analysis-sections .isolation-highlight{background:linear-gradient(45deg,#ef4444,#ef4444);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b4d}.handoff-text .goal-highlight,.category-section .goal-highlight,.analysis-sections .goal-highlight{background:linear-gradient(45deg,#0369a1,#0369a1);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0369a14d}.handoff-text .time-critical,.category-section .time-critical,.analysis-sections .time-critical{background:linear-gradient(45deg,#38bdf8,#38bdf8);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0ea5e94d}.handoff-text .disposition-highlight,.category-section .disposition-highlight,.analysis-sections .disposition-highlight{background:linear-gradient(45deg,#818cf8,#818cf8);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #4f46e54d}.handoff-text .safety-highlight,.category-section .safety-highlight,.analysis-sections .safety-highlight{background:linear-gradient(45deg,#f59e0b,#f59e0b);color:#2c2c2c;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b453094d}.handoff-text .functional-highlight,.category-section .functional-highlight,.analysis-sections .functional-highlight{background:linear-gradient(45deg,#16a34a,#16a34a);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #16a34a4d}.handoff-text .cognition-highlight,.category-section .cognition-highlight,.analysis-sections .cognition-highlight{background:linear-gradient(45deg,#7c3aed,#7c3aed);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c3aed4d}.handoff-text .progress-highlight,.category-section .progress-highlight,.analysis-sections .progress-highlight{background:linear-gradient(45deg,#0f766e,#0f766e);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0f766e4d}.handoff-text .trend-highlight,.category-section .trend-highlight,.analysis-sections .trend-highlight{background:linear-gradient(45deg,#14b8a6,#14b8a6);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0f766e4d}.handoff-text .mobility-highlight,.category-section .mobility-highlight,.analysis-sections .mobility-highlight{background:linear-gradient(45deg,#16a34a,#16a34a);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #16a34a4d}.handoff-text .discharge-highlight,.category-section .discharge-highlight,.analysis-sections .discharge-highlight{background:linear-gradient(45deg,#0369a1,#0369a1);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0369a14d}.handoff-text .neuro-change,.category-section .neuro-change,.analysis-sections .neuro-change{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b4d}.handoff-text .seizure-highlight,.category-section .seizure-highlight,.analysis-sections .seizure-highlight{background:linear-gradient(45deg,#7c3aed,#7c3aed);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c3aed4d}.handoff-text .icp-highlight,.category-section .icp-highlight,.analysis-sections .icp-highlight{background:linear-gradient(45deg,#0f766e,#0f766e);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0f766e4d}.handoff-text .neuro-safety,.category-section .neuro-safety,.analysis-sections .neuro-safety{background:linear-gradient(45deg,#b45309,#b45309);color:#2c2c2c;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b453094d}.handoff-text .rhythm-highlight,.category-section .rhythm-highlight,.analysis-sections .rhythm-highlight{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b4d}.handoff-text .perfusion-highlight,.category-section .perfusion-highlight,.analysis-sections .perfusion-highlight{background:linear-gradient(45deg,#7c2d12,#7c2d12);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c2d124d}.handoff-text .fluid-highlight,.category-section .fluid-highlight,.analysis-sections .fluid-highlight{background:linear-gradient(45deg,#0369a1,#0369a1);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0369a14d}.handoff-text .ischemia-highlight,.category-section .ischemia-highlight,.analysis-sections .ischemia-highlight{background:linear-gradient(45deg,#b91c1c,#b91c1c);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b91c1c4d}.handoff-text .neutropenia-highlight,.category-section .neutropenia-highlight,.analysis-sections .neutropenia-highlight{background:linear-gradient(45deg,#7c2d12,#7c2d12);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c2d124d}.handoff-text .chemo-highlight,.category-section .chemo-highlight,.analysis-sections .chemo-highlight{background:linear-gradient(45deg,#1e40af,#1e40af);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #1e40af4d}.handoff-text .infection-risk-highlight,.category-section .infection-risk-highlight,.analysis-sections .infection-risk-highlight{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b4d}.handoff-text .psychosocial-highlight,.category-section .psychosocial-highlight,.analysis-sections .psychosocial-highlight{background:linear-gradient(45deg,#4b5563,#4b5563);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:500;box-shadow:0 2px 5px #4b55634d}.handoff-text .airway-risk-highlight,.category-section .airway-risk-highlight,.analysis-sections .airway-risk-highlight{background:linear-gradient(45deg,#0f172a,#0f172a);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #0f172a59}.handoff-text .hemodynamic-highlight,.category-section .hemodynamic-highlight,.analysis-sections .hemodynamic-highlight{background:linear-gradient(45deg,#7c2d12,#7c2d12);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c2d1259}.handoff-text .emergence-highlight,.category-section .emergence-highlight,.analysis-sections .emergence-highlight{background:linear-gradient(45deg,#312e81,#312e81);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #312e8159}.handoff-text .discharge-ready-highlight,.category-section .discharge-ready-highlight,.analysis-sections .discharge-ready-highlight{background:linear-gradient(45deg,#065f46,#065f46);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #065f4659}.handoff-text .respiratory-crisis-highlight,.category-section .respiratory-crisis-highlight,.analysis-sections .respiratory-crisis-highlight{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b59}.handoff-text .feeding-intolerance-highlight,.category-section .feeding-intolerance-highlight,.analysis-sections .feeding-intolerance-highlight{background:linear-gradient(45deg,#a16207,#a16207);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #a1620759}.handoff-text .sepsis-risk-highlight,.category-section .sepsis-risk-highlight,.analysis-sections .sepsis-risk-highlight{background:linear-gradient(45deg,#7c2d12,#7c2d12);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c2d1259}.handoff-text .neurological-concern-highlight,.category-section .neurological-concern-highlight,.analysis-sections .neurological-concern-highlight{background:linear-gradient(45deg,#581c87,#581c87);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #581c8759}.handoff-text .growth-milestone-highlight,.category-section .growth-milestone-highlight,.analysis-sections .growth-milestone-highlight{background:linear-gradient(45deg,#047857,#047857);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #04785759}.handoff-text .respiratory-distress-highlight,.category-section .respiratory-distress-highlight,.analysis-sections .respiratory-distress-highlight{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b59}.handoff-text .pain-management-highlight,.category-section .pain-management-highlight,.analysis-sections .pain-management-highlight{background:linear-gradient(45deg,#9f1239,#9f1239);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #9f123959}.handoff-text .dehydration-risk-highlight,.category-section .dehydration-risk-highlight,.analysis-sections .dehydration-risk-highlight{background:linear-gradient(45deg,#a16207,#a16207);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #a1620759}.handoff-text .behavioral-crisis-highlight,.category-section .behavioral-crisis-highlight,.analysis-sections .behavioral-crisis-highlight{background:linear-gradient(45deg,#581c87,#581c87);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #581c8759}.handoff-text .fall-safety-highlight,.category-section .fall-safety-highlight,.analysis-sections .fall-safety-highlight{background:linear-gradient(45deg,#c2410c,#c2410c);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #c2410c59}.handoff-text .discharge-planning-highlight,.category-section .discharge-planning-highlight,.analysis-sections .discharge-planning-highlight{background:linear-gradient(45deg,#047857,#047857);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #04785759}.handoff-text .fetal-distress-highlight,.category-section .fetal-distress-highlight,.analysis-sections .fetal-distress-highlight{background:linear-gradient(45deg,#7f1d1d,#7f1d1d);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7f1d1d59}.handoff-text .hemorrhage-risk-highlight,.category-section .hemorrhage-risk-highlight,.analysis-sections .hemorrhage-risk-highlight{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b59}.handoff-text .preeclampsia-highlight,.category-section .preeclampsia-highlight,.analysis-sections .preeclampsia-highlight{background:linear-gradient(45deg,#831843,#831843);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #83184359}.handoff-text .labor-progression-highlight,.category-section .labor-progression-highlight,.analysis-sections .labor-progression-highlight{background:linear-gradient(45deg,#6d28d9,#6d28d9);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #6d28d959}.handoff-text .delivery-imminent-highlight,.category-section .delivery-imminent-highlight,.analysis-sections .delivery-imminent-highlight{background:linear-gradient(45deg,#b45309,#b45309);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b4530959}.handoff-text .suicide-risk-highlight,.category-section .suicide-risk-highlight,.analysis-sections .suicide-risk-highlight{background:linear-gradient(45deg,#7f1d1d,#7f1d1d);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7f1d1d59}.handoff-text .aggression-risk-highlight,.category-section .aggression-risk-highlight,.analysis-sections .aggression-risk-highlight{background:linear-gradient(45deg,#9f1239,#9f1239);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #9f123959}.handoff-text .psychosis-highlight,.category-section .psychosis-highlight,.analysis-sections .psychosis-highlight{background:linear-gradient(45deg,#581c87,#581c87);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #581c8759}.handoff-text .withdrawal-risk-highlight,.category-section .withdrawal-risk-highlight,.analysis-sections .withdrawal-risk-highlight{background:linear-gradient(45deg,#b45309,#b45309);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b4530959}.handoff-text .critical-info,.category-section .critical-info,.analysis-sections .critical-info{background:linear-gradient(45deg,#991b1b,#991b1b);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #991b1b59}.handoff-text .high-priority,.category-section .high-priority,.analysis-sections .high-priority{background:linear-gradient(45deg,#b45309,#b45309);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #b4530959}.handoff-text .medication-highlight,.category-section .medication-highlight,.analysis-sections .medication-highlight{background:linear-gradient(45deg,#1d4ed8,#1d4ed8);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #1d4ed859}.handoff-text .vital-sign,.category-section .vital-sign,.analysis-sections .vital-sign{background:linear-gradient(45deg,#047857,#047857);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #04785759}.handoff-text .fetal-status-highlight,.category-section .fetal-status-highlight,.analysis-sections .fetal-status-highlight{background:linear-gradient(45deg,#312e81,#312e81);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #312e8159}.handoff-text .labor-progress-highlight,.category-section .labor-progress-highlight,.analysis-sections .labor-progress-highlight{background:linear-gradient(45deg,#065f46,#065f46);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #065f4659}.handoff-text .hemorrhage-risk-highlight,.category-section .hemorrhage-risk-highlight,.analysis-sections .hemorrhage-risk-highlight{background:linear-gradient(45deg,#7c2d12,#7c2d12);color:#fff;padding:.2rem .5rem;border-radius:5px;font-weight:600;box-shadow:0 2px 5px #7c2d1259}.handoff-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.action-btn{padding:.75rem 1.5rem;border-radius:10px;border:none;font-weight:600;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-block;font-size:.95rem}.action-btn.regenerate{background:linear-gradient(45deg,#4caf50,#45a049);color:#fff;box-shadow:0 4px 15px #4caf504d}.action-btn.download{background:linear-gradient(45deg,#2196f3,#1976d2);color:#fff;box-shadow:0 4px 15px #2196f34d}.action-btn.copy{background:linear-gradient(45deg,#9c27b0,#7b1fa2);color:#fff;box-shadow:0 4px 15px #9c27b04d}.action-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}.edit-handoff-section{padding:2rem}.handoff-editor{width:100%;min-height:300px;padding:1rem;border:2px solid #ddd;border-radius:10px;font-family:Inter,sans-serif;font-size:1rem;line-height:1.6;resize:vertical;margin-bottom:1rem;transition:border-color .3s ease}.handoff-editor:focus{outline:none;border-color:#48c6ef;box-shadow:0 0 0 3px #48c6ef1a}.submit-handoff-btn{background:linear-gradient(45deg,#4caf50,#45a049);color:#fff;border:none;padding:1rem 2rem;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #4caf504d;width:100%}.submit-handoff-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #4caf5066}.submit-handoff-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.handoff-generation-section{padding:1rem;margin:1rem 0}.handoff-actions{flex-direction:row;flex-wrap:nowrap}.action-btn{flex:1;min-width:0;margin:.25rem 0}.generate-handoff-btn{padding:.75rem .5rem;font-size:.8rem;white-space:nowrap}}.logo{height:2.2em;width:auto;background-color:#fff;border-radius:8px;padding:4px;box-shadow:0 3px 8px #00000040;flex-shrink:0;position:relative;top:-2px}.title-container{display:flex;align-items:center;justify-content:center;gap:12px}.hospital-name{font-size:2.5em;font-weight:700;color:#fff;white-space:nowrap}.typewriter{font-size:3em;font-weight:700;color:#fff;display:inline-flex;align-items:center;min-height:1.2em;line-height:1;text-align:left;margin:0}.typewriter-text{display:inline}.cursor{display:inline-block;width:3px;background-color:#00b4ff;margin-left:4px;animation:blink .7s step-end infinite}@keyframes blink{50%{opacity:0}}@media(max-width:1024px){.app-root{flex-direction:column}.sidebar{width:100%;min-height:auto;border-right:none;border-bottom:1px solid var(--neutral-200)}.content-columns{flex-direction:column}.button-row{flex-direction:row;flex-wrap:nowrap}.record-btn,.generate-handoff-btn{flex:1;min-width:0;width:auto;white-space:nowrap;font-size:.8rem;padding:.75rem .5rem}.main-header h1{font-size:2.25rem}.main-header{padding:2.5rem 1.5rem}.title-container{margin-left:3em}.typewriter{font-size:2.5em}.export-btn-section{flex-direction:column}.export-btn-section button{min-width:auto;width:100%}}@media(max-width:768px)and (max-width:1366px){.sidebar-toggle{display:flex}.sidebar-toggle.collapsed{left:0}main{padding:1rem}.main-header{padding:2rem 1rem;margin-bottom:1.5rem}.main-header h1{font-size:1.75rem}.main-header h3{font-size:1rem}.main-header p{font-size:.875rem}.title-container{margin-left:0;gap:8px}@media(max-width:480px){.app-root{flex-direction:column;overflow-x:hidden;max-width:100vw}.sidebar{position:fixed;top:0;left:0;bottom:0;width:85vw;max-width:320px;height:100%;min-height:100vh;min-height:100dvh;z-index:10000;transform:translate(-100%);transition:transform .3s ease;background:var(--bg-card, var(--white));overflow-x:hidden;overflow-y:auto;box-shadow:4px 0 20px #00000026;display:flex;flex-direction:column;padding:1rem}[data-theme=dark] .sidebar{background:#0f172a}.sidebar:not(.collapsed){transform:translate(0)}.sidebar *{max-width:100%;word-wrap:break-word;overflow-wrap:break-word}main{width:100vw;max-width:100vw;padding:1rem;display:flex;flex-direction:column;overflow-x:hidden;box-sizing:border-box}main>*{max-width:100%;box-sizing:border-box}.main-header{order:1;margin-top:3rem}.tab-navigation{order:2}.content-columns,.tab-content-other,.patient-report-container,.report-header-container{order:3}.footer-premium{order:4}}.logo{height:1.8em}.typewriter{font-size:2em;width:12ch}.transcription-cols{flex-direction:column}.patient-card .card-fields{grid-template-columns:1fr;gap:1rem}.patient-card,.nurse-info-card,.section-card,.audio-controls,.analysis-section,.submit-section,.edit-submit-section{padding:1.5rem}.record-btn,.generate-handoff-btn{padding:.75rem .5rem;font-size:.8rem;white-space:nowrap}.handoff-actions{flex-direction:row;flex-wrap:nowrap}.action-btn{width:100%}.footer-premium{padding:1.5rem;margin-top:2rem}}@media(max-width:480px){.sidebar{padding:1rem}.sidebar input,.sidebar button{padding:.75rem;font-size:.875rem}main{padding:.75rem}.main-header{padding:1.5rem 1rem;border-radius:12px;text-align:center;display:flex;flex-direction:column;align-items:center;width:calc(100vw - 2rem);max-width:calc(100vw - 2rem);box-sizing:border-box}.main-header h1{font-size:1.25rem;text-align:center;max-width:100%;word-wrap:break-word}.main-header h3{font-size:.8rem;text-align:center;max-width:100%}.main-header p{font-size:.75rem;text-align:center;max-width:100%}.title-container{flex-direction:row;flex-wrap:wrap;gap:8px;margin-left:0;align-items:center;justify-content:center;text-align:center;max-width:100%}.logo{height:2em;top:0}.typewriter{font-size:1.2em;width:auto;max-width:100%;white-space:normal;text-align:center;word-wrap:break-word}.hospital-name{font-size:1.2em;white-space:normal;text-align:center;word-wrap:break-word}.cursor{width:2px}html,body,.app-root{overflow-x:hidden;max-width:100vw}main{overflow-x:hidden;max-width:100%}.patient-card,.nurse-info-card,.section-card,.audio-controls,.analysis-section,.analysis-sections,.edit-submit-section,.submit-section,.activity-panel,.handoff-generation-section,.key-focus-areas,.previous-handoff-section,.footer-premium{padding:1rem;border-radius:8px;width:calc(100vw - 2rem)!important;max-width:calc(100vw - 2rem)!important;box-sizing:border-box;overflow-x:hidden}.category-section{padding:.5rem!important;width:calc(100vw - 2rem)!important;max-width:calc(100vw - 2rem)!important}.handoff-type-bar,.handoff-type-selector,.tab-navigation{width:calc(100vw - 2rem)!important;max-width:calc(100vw - 2rem)!important;box-sizing:border-box;overflow-x:auto}.handoff-type-desktop{display:none!important}.handoff-type-mobile{display:block!important;flex:1}.handoff-type-selector{position:relative;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem!important;font-size:.85rem}.handoff-type-label{font-size:.85rem!important}.handoff-type-mobile-tooltip .tooltip-select-trigger{padding:.5rem 2.25rem .5rem .75rem;font-size:.85rem;border-radius:8px;border-width:1px}.handoff-type-mobile-tooltip .tooltip-select-value{font-size:.85rem}.handoff-type-mobile-tooltip .tooltip-select-arrow{right:.75rem}.handoff-type-dropdown{-webkit-appearance:menulist;-moz-appearance:menulist;appearance:menulist;font-size:14px!important;padding:.5rem .75rem!important;border-radius:8px;min-height:36px!important;height:36px!important}.photo-upload-section{flex-direction:row!important;align-items:center;gap:1rem}.photo-upload-buttons{flex-direction:column;flex:1;gap:.5rem}.photo-btn{width:100%;justify-content:center!important;min-width:unset;text-align:center}.photo-btn-upload{justify-content:center!important}.photo-preview-circle{width:60px!important;height:60px!important;min-width:60px!important}.patient-card{padding:1rem!important;flex-direction:row!important;gap:1rem!important;align-items:flex-start!important}.patient-photo-container{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;margin:0!important;flex-shrink:0}.patient-card .card-header{flex-direction:row!important;flex-wrap:wrap;align-items:center!important;gap:.5rem!important;margin-bottom:.5rem!important}.patient-card .card-header h2{font-size:1.1rem!important;margin:0!important}.department-badge{font-size:.7rem!important;padding:.25rem .5rem!important}.patient-card .card-fields{display:grid!important;grid-template-columns:1fr 1fr;gap:.25rem .5rem;font-size:.8rem}.patient-card .card-fields span{white-space:normal!important}.patient-card>div:last-child{flex:1;min-width:0}.patient-card>div:last-child>div{font-size:.8rem;margin-bottom:.15rem!important}.category-section,.analysis-sections,.handoff-text,.category-content,.category-section *,.analysis-sections *{word-wrap:break-word!important;overflow-wrap:break-word!important;word-break:break-word!important;max-width:100%!important}.category-section{padding:.1rem!important;margin:0!important}.category-section>div{padding:.1rem .5rem!important;margin-left:0!important;border-left-width:3px!important}.collapsible-section,.analysis-sections{padding:0rem!important}.category-section h3,.category-section h4,.analysis-sections h3,.analysis-sections h4{font-size:.95rem!important;word-break:break-word!important;padding-left:.75rem!important;margin-left:0!important}.category-section ul,.analysis-sections ul{padding-left:1rem!important;margin:0}.category-section li,.analysis-sections li,.category-section p,.analysis-sections p{word-wrap:break-word!important;overflow-wrap:break-word!important;word-break:break-word!important;font-size:.85rem!important;line-height:1.4!important}main>*,.content-columns>*,.column-left>*,.column-right>*{width:calc(100vw - 2rem)!important;max-width:calc(100vw - 2rem)!important;box-sizing:border-box}.patient-card .card-header{flex-direction:column;align-items:flex-start;gap:.75rem}.department-badge{align-self:flex-start}.record-btn,.generate-handoff-btn{padding:.875rem;font-size:.875rem}.submit-btn{padding:.875rem 1.5rem;font-size:1rem}.content-columns{gap:0!important}.handoff-undo-row{margin-bottom:.25rem}.audio-controls-container{margin:.75rem 0}.button-row{margin-bottom:.5rem}.quick-activity-chip{flex:0 0 calc(50% - .25rem)}.analysis-section.processing-status{padding:1rem 1.5rem;margin-top:0;margin-bottom:0}textarea{min-height:100px;font-size:.875rem}.handoff-generation-section{padding:1rem}.generate-handoff-btn{padding:1rem;font-size:.95rem}.handoff-text{font-size:.95rem;padding:1rem}.handoff-editor{min-height:250px;font-size:.875rem}.footer-premium{padding:1rem}.footer-premium h3,.footer-premium h4{font-size:1rem}}@media(max-width:360px){.main-header h1{font-size:1.25rem}.typewriter{font-size:1.25em}.logo{height:1.5em}.patient-card,.section-card,.audio-controls{padding:.75rem}.record-btn,.generate-handoff-btn{font-size:.8rem}}.sidebar-toggle{position:fixed;top:50%;transform:translateY(-50%);z-index:1000;background:#fff;color:#334155;border:1px solid #e2e8f0;width:24px;height:48px;border-radius:0 6px 6px 0;cursor:pointer;font-size:1.2rem;display:none;align-items:center;justify-content:center;box-shadow:2px 0 6px #0000001a;transition:left .3s ease;line-height:1;left:0}.sidebar-toggle.expanded{left:320px}.sidebar-toggle.collapsed{left:0}.sidebar-toggle:hover{background:#f1f5f9;box-shadow:2px 0 8px #00000026}[data-theme=dark] .sidebar-toggle{background:#1e293b;border-color:#334155;color:#e2e8f0}[data-theme=dark] .sidebar-toggle:hover{background:#334155}@media(max-width:480px){.sidebar-toggle{display:flex;position:fixed;top:50%;transform:translateY(-50%);z-index:1002;width:28px;height:56px;background:#fff;border:1px solid #e2e8f0;border-left:none;border-radius:0 8px 8px 0;box-shadow:3px 0 10px #00000026}.sidebar-toggle.collapsed{left:0}.sidebar-toggle.expanded{left:min(320px,100vw - 40px)}}main.sidebar-collapsed{margin-left:0}@media(min-width:768px)and (max-width:1366px){.sidebar-toggle{display:flex}.sidebar{position:fixed;top:0;left:0;width:320px;height:100vh;z-index:999;transition:transform .3s ease;box-shadow:var(--shadow-xl)}main{width:100%;padding:1.5rem;margin-left:0;display:flex;flex-direction:column;min-height:100vh}main.sidebar-collapsed{margin-left:0}.sidebar{transition:transform .3s ease}.sidebar.collapsed{transform:translate(-100%)}.main-header{order:1;width:100%;margin-bottom:0}.tab-navigation{order:2;margin-top:1rem;margin-bottom:1.5rem}.content-columns{order:3;display:flex;flex-direction:column;gap:1.5rem;flex:1}.tab-content-other,.report-header-container,.patient-report-container{order:3}.column-left{order:1;width:100%}.patient-card{width:100%;margin-bottom:1.5rem}.nurse-info-card{width:100%}.audio-controls{order:2;width:100%;margin-bottom:1.5rem}.button-row{display:flex;flex-direction:row;gap:1rem;width:100%}.record-btn,.generate-handoff-btn{flex:1;min-height:70px;padding:1.5rem;font-size:1rem}.transcription-cols{order:3;flex-direction:column}.column-right{order:4;width:100%;padding:0}.column-right .section-card{width:100%!important;max-width:100%!important;margin:0;box-sizing:border-box}.analysis-section{width:100%}.footer-premium{order:5;margin-top:auto;width:100%}}@media(max-width:1366px){.sidebar-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:998;display:none}.sidebar-overlay.active{display:block}body.sidebar-open .task-reminders-container,body.sidebar-open .task-reminders-minimized,body.sidebar-open .feedback-widget-container{display:none!important}}.audio-visualizer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at center,#0f10238c,#0f0f288c);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .3s ease-in-out}.audio-visualizer-container{position:relative;display:flex;flex-direction:column;align-items:center;gap:32px}.visualizer-circle{position:relative;width:256px;height:256px}.visualizer-glow{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;filter:blur(40px);transition:all .5s ease-out}.circular-wave-shell{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:9999px;border:2px solid rgba(99,102,241,.2);transition:all .7s ease-in-out}.particle{position:absolute;width:6px;height:6px;border-radius:9999px;transition:all .5s ease-out}.center-orb{width:112px;height:112px;border-radius:50%;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;transition:all .5s ease-out}.orb-ring{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px solid;transition:all .3s ease-out}.inner-orb-flare{position:absolute;top:16px;right:16px;bottom:16px;left:16px;border-radius:50%;transition:all .5s ease-out}.mic-icon{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.wave-bars{display:flex;gap:8px;align-items:center;justify-content:center;height:80px}.wave-bar{width:4px;border-radius:9999px;transition:all .2s ease-out}.rec-status{text-align:center}.rec-status-main{color:#fff;font-size:.9rem;font-weight:500;letter-spacing:.05em}.rec-status-sub{margin-top:8px;color:#ffffff80;font-size:.75rem;border:none!important;background:transparent!important;outline:none!important;box-shadow:none!important}body.recording-active{overflow:hidden}.audio-visualizer-overlay{z-index:10001!important}.sidebar{z-index:10000}body.recording-active .sidebar{position:relative!important;top:var(--scroll-lock-offset, 0px)!important}.audio-visualizer-overlay button{transition:all .3s cubic-bezier(.4,0,.2,1)}.audio-visualizer-overlay button:hover{transform:scale(1.05)!important;box-shadow:0 20px 25px -5px #0003!important}.audio-visualizer-overlay button:active{transform:scale(.98)!important}.recording-overlay{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;z-index:10050;display:flex;align-items:center;justify-content:center;background:#00000073}.recording-overlay{opacity:0;transition:opacity .4s ease-in-out}.recording-overlay.visible{opacity:1}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.add-patient-btn{display:block;width:100%;padding:.75rem 1rem;margin-top:.75rem;font-size:.875rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s ease}.add-patient-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);-webkit-transform:translateZ(0);transform:translateZ(0)}.modal-content{background:var(--white);border-radius:16px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040;animation:modalSlideIn .3s ease;position:relative;z-index:10001;-webkit-transform:translateZ(0);transform:translateZ(0)}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--neutral-200)}.modal-header h2{margin:0;font-size:1.25rem;color:var(--text-primary)}.modal-header-cancel{padding:.5rem 1rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.modal-header-cancel:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px)}.patient-form{padding:1.5rem}.form-error{background:#fef2f2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.875rem;border:1px solid #fecaca}.field-error{display:block;color:#dc2626;font-size:.75rem;margin-top:.25rem}[data-theme=dark] .field-error{color:#fca5a5}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-primary);font-size:.875rem}.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-card);color:var(--text-primary);font-size:.9rem;transition:border-color .2s ease}.form-group select{width:100%;padding:.875rem 3rem .875rem 1rem;border-radius:12px;border:2px solid var(--neutral-200);background:linear-gradient(135deg,var(--white) 0%,var(--neutral-50) 100%);color:var(--neutral-700);font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-sm);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:1.25rem}.form-group select:hover{border-color:var(--primary-blue-light);box-shadow:var(--shadow-md);transform:translateY(-1px);background:linear-gradient(135deg,var(--white) 0%,var(--neutral-50) 50%,var(--neutral-100) 100%)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a}.form-group select:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a,var(--shadow-lg);transform:translateY(-2px);background:var(--white)}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--neutral-200)}@media(max-width:480px){.form-actions{justify-content:center;width:100%}}.btn-cancel{padding:.75rem 1.5rem;background:var(--neutral-100);color:var(--neutral-700);border:1px solid var(--neutral-300);border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-cancel:hover:not(:disabled){background:var(--neutral-200)}.btn-submit{padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--primary-blue),var(--primary-blue-dark));color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.btn-submit:disabled,.btn-cancel:disabled{opacity:.6;cursor:not-allowed}.add-patient-tabs{display:flex;border-bottom:1px solid var(--neutral-200);padding:0 1rem;gap:0}.add-patient-tabs .tab-btn{flex:1;padding:.875rem 1rem;background:transparent;border:none;border-bottom:2px solid transparent;font-size:.9rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.add-patient-tabs .tab-btn:hover{color:var(--primary-blue);background:#3b82f60d}.add-patient-tabs .tab-btn.active{color:var(--primary-blue);border-bottom-color:var(--primary-blue)}.mrn-lookup-form{padding:1.5rem}.mrn-lookup-description{margin-bottom:1.25rem;padding:.875rem 1rem;background:#3b82f614;border-radius:8px;border-left:3px solid var(--primary-blue)}.mrn-lookup-description p{margin:0;font-size:.875rem;color:var(--text-secondary);line-height:1.5}[data-theme=dark] .add-patient-tabs{border-bottom-color:#334155}[data-theme=dark] .add-patient-tabs .tab-btn{color:#94a3b8}[data-theme=dark] .add-patient-tabs .tab-btn:hover{color:#60a5fa;background:#3b82f61a}[data-theme=dark] .add-patient-tabs .tab-btn.active{color:#60a5fa;border-bottom-color:#60a5fa}[data-theme=dark] .mrn-lookup-description{background:#3b82f626;border-left-color:#60a5fa}[data-theme=dark] .mrn-lookup-description p{color:#cbd5e1}[data-theme=dark] .modal-content{background:#1e293b;border:1px solid #334155}[data-theme=dark] .modal-header{border-bottom-color:#334155}[data-theme=dark] .modal-header h2{color:#f1f5f9}[data-theme=dark] .modal-header-cancel{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}[data-theme=dark] .modal-header-cancel:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}[data-theme=dark] .form-group label{color:#e2e8f0}[data-theme=dark] .form-group input,[data-theme=dark] .form-group textarea{background:#0f172a;border-color:#334155;color:#f1f5f9}[data-theme=dark] .form-group select{background:linear-gradient(135deg,var(--neutral-800) 0%,var(--neutral-700) 100%);border-color:var(--neutral-600);color:var(--neutral-100);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")}@media(min-width:768px)and (max-width:1366px){.modal-overlay{padding:1rem;align-items:flex-start;padding-top:5vh}.modal-content{width:95%;max-width:450px;max-height:85vh;margin:0 auto}.modal-header{padding:1rem 1.25rem;position:sticky;top:0;background:var(--white);z-index:10}.modal-header h2{font-size:1.125rem}.patient-form{padding:1rem 1.25rem}.form-group{margin-bottom:.875rem}.form-group label{font-size:.8rem;margin-bottom:.35rem}.form-group input,.form-group select,.form-group textarea{padding:.625rem .75rem;font-size:.9rem}.form-actions{padding:1rem 0;margin-top:1rem;position:sticky;bottom:0;background:var(--white)}.photo-upload-section{flex-direction:column;gap:.75rem}.photo-preview{width:80px;height:80px}.photo-upload-buttons{flex-direction:row;flex-wrap:wrap;gap:.5rem}.photo-upload-btn{padding:.5rem .75rem;font-size:.8rem}}@media(min-width:768px)and (max-width:1366px){[data-theme=dark] .modal-header,[data-theme=dark] .form-actions{background:#1e293b}}@media(max-width:767px){.modal-overlay{padding:.5rem;align-items:flex-start;padding-top:2vh}.modal-content{width:100%;max-width:100%;max-height:95vh;border-radius:12px;margin:0}.modal-header{padding:1rem;position:sticky;top:0;background:var(--white);z-index:10}.modal-header h2{font-size:1rem}.patient-form{padding:1rem}.form-group{margin-bottom:.75rem}.form-group label{font-size:.8rem;margin-bottom:.25rem}.form-group input,.form-group select,.form-group textarea{padding:.625rem .75rem;font-size:16px}.form-actions{flex-direction:column;gap:.75rem;padding:1rem 0;margin-top:1rem;position:sticky;bottom:0;background:var(--white)}.form-actions button{width:100%}.photo-upload-section{flex-direction:column;align-items:center;gap:.75rem}.photo-preview{width:100px;height:100px}.photo-upload-buttons{width:100%;flex-direction:column;gap:.5rem}.photo-upload-btn{width:100%;justify-content:center}}@media(max-width:767px){[data-theme=dark] .modal-header,[data-theme=dark] .form-actions{background:#1e293b}}[data-theme=dark] .form-group select:hover{background:linear-gradient(135deg,var(--neutral-700) 0%,var(--neutral-600) 100%);border-color:var(--primary-blue-light)}[data-theme=dark] .form-group input:focus,[data-theme=dark] .form-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .form-group select:focus{background:var(--neutral-800);border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a,var(--shadow-lg)}[data-theme=dark] .form-error{background:#450a0a;color:#fca5a5;border-color:#7f1d1d}[data-theme=dark] .form-actions{border-top-color:#334155}.report-actions{display:flex;gap:1rem;justify-content:center;align-items:center;padding:1.5rem 1rem;margin-top:1rem}@media(max-width:480px){.report-actions{justify-content:center;width:100%;padding:1rem}}[data-theme=dark] .btn-cancel{background:#334155;color:#e2e8f0;border-color:#475569}[data-theme=dark] .btn-cancel:hover:not(:disabled){background:#475569}.empty-state-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;border:2px dashed #cbd5e1;margin-top:1rem;min-height:300px}[data-theme=dark] .empty-state-container{background:linear-gradient(135deg,#1e293b,#0f172a);border-color:#334155}.empty-state-icon{display:flex;align-items:center;justify-content:center;width:140px;height:140px;border-radius:50%;background:linear-gradient(135deg,#e0f2fe,#bae6fd);color:#0284c7;margin-bottom:1.5rem}[data-theme=dark] .empty-state-icon{background:linear-gradient(135deg,#0c4a6e,#075985);color:#7dd3fc}.empty-state-title{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 .75rem}[data-theme=dark] .empty-state-title{color:#f1f5f9}.empty-state-text{font-size:1rem;color:#64748b;max-width:400px;line-height:1.6;margin:0 0 1.5rem}[data-theme=dark] .empty-state-text{color:#94a3b8}.empty-state-hint{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#0ea5e91a;border-radius:8px;color:#0284c7;font-size:.875rem;font-weight:500}[data-theme=dark] .empty-state-hint{background:#0ea5e926;color:#38bdf8}.elegant-select,.department-dropdown,.interaction-type-select,.shift-end-select,.language-select,select{width:100%;padding:.875rem 3rem .875rem 1rem;border-radius:12px;border:2px solid var(--neutral-200);background:linear-gradient(135deg,var(--white) 0%,var(--neutral-50) 100%);color:var(--neutral-700);font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-sm);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:1.25rem}.elegant-select:hover,.department-dropdown:hover,.interaction-type-select:hover,.shift-end-select:hover,.language-select:hover,select:hover{border-color:var(--primary-blue-light);box-shadow:var(--shadow-md);transform:translateY(-1px);background:linear-gradient(135deg,var(--white) 0%,var(--neutral-50) 50%,var(--neutral-100) 100%)}.elegant-select:focus,.department-dropdown:focus,.interaction-type-select:focus,.shift-end-select:focus,.language-select:focus,select:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px #3b82f61a,var(--shadow-lg);transform:translateY(-2px);background:var(--white)}.elegant-select:active,.department-dropdown:active,.interaction-type-select:active,.shift-end-select:active,.language-select:active,select:active{transform:translateY(0);box-shadow:var(--shadow-sm)}.elegant-select option,.department-dropdown option,.interaction-type-select option,.shift-end-select option,.language-select option,select option{background-color:var(--white);color:var(--neutral-700);padding:.75rem 1rem;font-weight:500}.elegant-select option:hover,.department-dropdown option:hover,.interaction-type-select option:hover,.shift-end-select option:hover,.language-select option:hover,select option:hover{background-color:var(--neutral-50);color:var(--primary-blue)}.elegant-select option:checked,.department-dropdown option:checked,.interaction-type-select option:checked,.shift-end-select option:checked,.language-select option:checked,select option:checked{background-color:var(--primary-blue);color:var(--white)}[data-theme=dark] .elegant-select,[data-theme=dark] .department-dropdown,[data-theme=dark] .interaction-type-select,[data-theme=dark] .shift-end-select,[data-theme=dark] .language-select,[data-theme=dark] select{background:linear-gradient(135deg,var(--neutral-800) 0%,var(--neutral-700) 100%);border-color:var(--neutral-600);color:var(--neutral-100);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")}[data-theme=dark] .elegant-select:hover,[data-theme=dark] .department-dropdown:hover,[data-theme=dark] .interaction-type-select:hover,[data-theme=dark] .shift-end-select:hover,[data-theme=dark] .language-select:hover,[data-theme=dark] select:hover{background:linear-gradient(135deg,var(--neutral-700) 0%,var(--neutral-600) 100%);border-color:var(--primary-blue-light)}[data-theme=dark] .elegant-select:focus,[data-theme=dark] .department-dropdown:focus,[data-theme=dark] .interaction-type-select:focus,[data-theme=dark] .shift-end-select:focus,[data-theme=dark] .language-select:focus,[data-theme=dark] select:focus{background:var(--neutral-800);border-color:var(--primary-blue)}[data-theme=dark] .elegant-select option,[data-theme=dark] .department-dropdown option,[data-theme=dark] .interaction-type-select option,[data-theme=dark] .shift-end-select option,[data-theme=dark] .language-select option,[data-theme=dark] select option{background-color:var(--neutral-800);color:var(--neutral-100)}.department-selection{margin-bottom:.75rem}.department-selection h3{margin-bottom:.75rem;color:var(--neutral-700);font-weight:600;font-size:1rem}[data-theme=dark] .department-selection h3{color:var(--neutral-200)}.analytics-filter-bar select{min-width:200px;margin-left:0rem}.language-selector-row select,.language-select{min-width:150px;font-size:.875rem}.shift-end-select{min-width:80px;text-align:center}.interaction-type-select{min-width:250px}.elegant-select.small,select.small{padding:.625rem 2.5rem .625rem .875rem;font-size:.875rem;border-radius:8px;background-size:1rem;background-position:right .625rem center}.elegant-select:disabled,.department-dropdown:disabled,.interaction-type-select:disabled,.shift-end-select:disabled,.language-select:disabled,select:disabled,.form-group select:disabled{opacity:.6;cursor:not-allowed;transform:none!important;background:var(--neutral-100);border-color:var(--neutral-300)}[data-theme=dark] .elegant-select:disabled,[data-theme=dark] .department-dropdown:disabled,[data-theme=dark] .interaction-type-select:disabled,[data-theme=dark] .shift-end-select:disabled,[data-theme=dark] .language-select:disabled,[data-theme=dark] select:disabled,[data-theme=dark] .form-group select:disabled{background:var(--neutral-800);border-color:var(--neutral-700);color:var(--neutral-500)}.elegant-select.loading,select.loading{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M10 3v3m6 2l-2 2M10 17v-3m-6-2l2-2m8 2a7 7 0 11-8-8'/%3e%3c/svg%3e");animation:spin 1s linear infinite}.no-patients-message,.select-department-message{text-align:center;padding:1.5rem 1rem;color:var(--text-secondary);background-color:var(--bg-card);border-radius:8px;border:1px dashed var(--border-color);margin-bottom:1rem}.no-patients-message p,.select-department-message p{margin:.25rem 0;font-size:.9rem}.no-patients-message p:first-child{font-weight:500;color:var(--text-primary)}.patient-list-section{margin-top:.5rem}.patient-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.patient-list-header h4{margin:0}.edit-list-btn{padding:.25rem .75rem!important;font-size:.75rem!important;background:transparent!important;color:var(--primary-blue)!important;border:1px solid var(--primary-blue)!important;border-radius:6px!important;cursor:pointer;transition:all .2s ease;width:auto!important;margin:0!important}.edit-list-btn:hover{background:var(--primary-blue)!important;color:#fff!important}.patient-list-header-actions{display:flex;align-items:center;gap:.375rem}.add-patient-btn-compact{padding:.25rem .75rem!important;font-size:.75rem!important;font-weight:600!important;background:var(--primary-blue)!important;color:var(--white)!important;border:1px solid transparent!important;border-radius:6px!important;cursor:pointer;transition:all .2s ease;width:auto!important;margin:0!important;line-height:1.2}.add-patient-btn-compact:hover{background:var(--primary-blue-dark)!important;transform:translateY(-1px);box-shadow:var(--shadow-md)}.scan-document-section{margin-bottom:1rem;padding:.75rem .875rem;background:var(--bg-secondary, #f1f5f9);border:1px dashed var(--primary-blue, #3b82f6);border-radius:8px}.scan-document-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.scan-document-title{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;color:var(--text-primary)}.scan-document-title svg{color:var(--primary-blue, #3b82f6)}.scan-document-actions{display:flex;gap:.375rem}.scan-btn{display:inline-flex;align-items:center;gap:.3125rem;padding:.375rem .75rem;font-size:.75rem;font-weight:600;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid transparent;border-radius:6px;cursor:pointer;transition:all .2s ease}.scan-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 2px 6px #3b82f64d}.scan-btn:disabled{opacity:.6;cursor:not-allowed}.scan-btn-secondary{background:transparent;color:var(--primary-blue, #3b82f6);border:1px solid var(--primary-blue, #3b82f6)}.scan-btn-secondary:hover:not(:disabled){background:var(--primary-blue, #3b82f6);color:#fff}.scan-btn-record{background:linear-gradient(135deg,#ec4899,#db2777);color:#fff;border:1px solid transparent}.scan-btn-record:hover:not(:disabled){background:linear-gradient(135deg,#db2777,#be185d);transform:translateY(-1px);box-shadow:0 2px 6px #ec48994d}.scan-status{margin-top:.5rem;font-size:.75rem;color:var(--text-secondary, #475569)}.scan-status-loading{color:var(--primary-blue, #3b82f6);font-style:italic}.patient-list-scroll-wrapper{position:relative}.patient-list-scroll{max-height:15rem;overflow-y:auto}.more-patients-indicator{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:20px 16px 10px;background:linear-gradient(to bottom,transparent 0%,#f8fafc 30%,#f8fafc 100%);font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .3s ease;opacity:0;pointer-events:none;z-index:10;touch-action:manipulation;-webkit-tap-highlight-color:transparent}[data-theme=dark] .more-patients-indicator,.dark .more-patients-indicator{background:linear-gradient(to bottom,transparent 0%,#1e293b 30%,#1e293b 100%);color:#cbd5e1}.more-patients-indicator.visible{opacity:1;pointer-events:auto}.more-patients-indicator:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:#334155}[data-theme=dark] .more-patients-indicator:hover,.dark .more-patients-indicator:hover{background:linear-gradient(135deg,#334155,#475569);color:#f1f5f9}.more-patients-indicator svg{animation:bounce 1s infinite}.patient-list-item{position:relative;margin-bottom:.5rem}.patient-list-item .mrn-btn{width:100%;margin-bottom:0!important;transition:all .3s ease;position:relative;display:flex!important;align-items:center;justify-content:center;overflow:hidden}.patient-list-item .mrn-btn .patient-name-text{transition:transform .3s ease}.patient-list-item.edit-mode .mrn-btn{cursor:default;padding-right:70px!important}.patient-list-item.edit-mode .mrn-btn:disabled{background:var(--secondary-teal)!important;color:#fff!important;opacity:1!important;cursor:default}.patient-list-item.edit-mode .mrn-btn .patient-name-text{transform:translate(-20px)}.patient-actions{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;gap:.25rem;opacity:0;pointer-events:none;transition:opacity .3s ease}.patient-list-item.edit-mode .patient-actions{opacity:1;pointer-events:auto}.patient-action-btn{display:flex!important;align-items:center;justify-content:center;width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;margin:0!important;border-radius:6px!important;background:transparent!important;border:none!important;cursor:pointer;transition:all .2s ease}.patient-action-btn.edit-btn{color:#fff!important}.patient-action-btn.edit-btn:hover{background:#fff3!important}.patient-action-btn.delete-btn{color:#fff!important}.patient-action-btn.delete-btn:hover{background:#fff3!important}.delete-confirm-modal{max-width:400px;padding-bottom:0}.delete-confirm-body{padding:1rem 1.5rem;text-align:center}.delete-confirm-body p{margin:0 0 .75rem;color:var(--text-secondary)}.delete-patient-info{display:flex;flex-direction:column;gap:.25rem;padding:.75rem 1rem;background:var(--neutral-100);border-radius:8px;margin-bottom:.75rem}.delete-confirm-modal .form-actions{padding:1rem 1.5rem;margin-top:0}[data-theme=dark] .delete-patient-info{background:#1e293b}.delete-patient-info strong{font-size:1.1rem;color:var(--text-primary)}.delete-patient-info span{font-size:.875rem;color:var(--text-secondary)}.delete-warning{font-size:.875rem;color:#ef4444!important;font-weight:500}.btn-delete{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important;border:none!important}.btn-delete:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c)!important}.form-hint{display:block;font-size:.75rem;color:var(--text-secondary);margin-top:.25rem}.input-disabled{background:var(--neutral-100)!important;color:var(--text-secondary)!important;cursor:not-allowed}[data-theme=dark] .input-disabled{background:#1e293b!important}.success-toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;box-shadow:0 4px 12px #10b9814d;z-index:9999;animation:slideInUp .3s ease-out,slideOutDown .3s ease-in 3.5s forwards}@keyframes slideInUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes slideOutDown{0%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(20px)}}.form-success{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-weight:500;text-align:center;animation:successPulse .5s ease-out}@keyframes successPulse{0%{transform:scale(.95);opacity:0}50%{transform:scale(1.02)}to{transform:scale(1);opacity:1}}.sidebar .mrn-btn,.sidebar .mrn-btn span,.sidebar .mrn-btn .patient-name-text,.patient-list-item .mrn-btn,.patient-list-item .mrn-btn span,.patient-list-item .mrn-btn .patient-name-text{color:#fff!important}.risk-loading-indicator{font-size:.75rem;color:var(--text-secondary);text-align:center;padding:.5rem;font-style:italic}.patient-list-item.risk-low .mrn-btn,.patient-list-item.risk-low.edit-mode .mrn-btn:disabled{background:#22c55e!important}.patient-list-item.risk-low .mrn-btn:hover:not(:disabled){background:#16a34a!important}.patient-list-item.risk-moderate .mrn-btn,.patient-list-item.risk-moderate.edit-mode .mrn-btn:disabled{background:#f59e0b!important}.patient-list-item.risk-moderate .mrn-btn:hover:not(:disabled){background:#d97706!important}.patient-list-item.risk-high .mrn-btn,.patient-list-item.risk-high.edit-mode .mrn-btn:disabled{background:#ef4444!important}.patient-list-item.risk-high .mrn-btn:hover:not(:disabled){background:#dc2626!important}.patient-list-item.discharged .mrn-btn{background:#9ca3af!important;opacity:.7!important}.patient-list-item.discharged .mrn-btn:hover:not(:disabled){background:#6b7280!important;opacity:.85!important}.discharged-badge{display:inline-flex;align-items:center;justify-content:center;background:#ffffff4d;color:#fff;font-size:9px;font-weight:700;padding:2px 5px;border-radius:4px;margin-right:6px;letter-spacing:.5px}[data-theme=dark] .patient-list-item.discharged .mrn-btn,[data-theme=dark] .patient-list-item.discharged .mrn-btn:disabled,.dark .patient-list-item.discharged .mrn-btn,.dark .patient-list-item.discharged .mrn-btn:disabled{background:#4b5563!important;opacity:.7!important}[data-theme=dark] .patient-list-item.discharged .mrn-btn:hover,.dark .patient-list-item.discharged .mrn-btn:hover{background:#4b5563!important}[data-theme=dark] .discharged-badge,.dark .discharged-badge{background:#fff3}.patient-report-container{border-radius:12px;box-shadow:var(--shadow-md);overflow:hidden;margin-bottom:1.5rem;animation:patientCardEnter .6s .08s cubic-bezier(.22,1,.36,1) both}@media(max-width:1024px){.patient-report-container{background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}.patient-report-container>.report-section{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}.patient-report-container>.report-section:first-of-type{margin-top:0!important}}.report-header-container{animation:patientCardEnter .6s cubic-bezier(.22,1,.36,1) both}.patient-report-container>.report-section{animation:patientContentChild .6s cubic-bezier(.22,1,.36,1) both}.patient-report-container>.report-section:nth-child(1){animation-delay:.18s}.patient-report-container>.report-section:nth-child(2){animation-delay:.26s}.patient-report-container>.report-section:nth-child(3){animation-delay:.34s}.patient-report-container>.report-section:nth-child(4){animation-delay:.42s}.patient-report-container>.report-section:nth-child(5){animation-delay:.5s}.patient-report-container>.report-section:nth-child(n+6){animation-delay:.58s}@media(prefers-reduced-motion:reduce){.patient-report-container,.report-header-container,.patient-report-container>.report-section{animation:none}}.patient-report-header{padding:1.25rem 1.5rem;border-bottom:1px solid;text-align:center}.patient-report-header h2{margin:0;font-size:1.25rem;font-weight:600}.report-section{border:1px solid;border-radius:8px;margin:1rem;overflow:hidden}.report-section-header{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1rem;border-bottom:1px solid;transition:background-color .2s ease}.report-section-header:hover{opacity:.9}.report-section-title{display:flex;align-items:center;gap:.5rem}.report-section-content{padding:1rem;display:flex;flex-wrap:wrap;gap:.75rem 1.5rem}.report-section-content .report-input-group{flex:1 1 auto;min-width:150px}.report-input-group{display:flex;align-items:center;gap:.75rem}.report-input-group label{font-size:.875rem;font-weight:500;min-width:120px;flex-shrink:0}.report-input{flex:1;padding:.5rem .75rem;border:1px solid;border-radius:6px;font-size:.875rem;transition:border-color .2s ease}.report-input:focus{outline:none;border-color:#3b82f6}.report-input::placeholder{color:#94a3b8;font-style:italic}.report-other-notes-textarea{background-color:#fff!important;border-color:#e2e8f0!important;width:100%!important}.report-other-notes-textarea::placeholder{color:#94a3b8!important;font-style:italic!important}[data-theme=dark] .report-other-notes-textarea{background-color:#1e293b!important;border-color:#334155!important}[data-theme=dark] .report-other-notes-textarea::placeholder{color:#94a3b8!important}.report-section-content .report-field{width:100%;flex-basis:100%}.report-input-expanded{flex:1;width:100%;font-family:inherit;font-size:.875rem;border-radius:6px;transition:all .2s ease}.report-input-expanded:focus{outline:none}.report-input-tooltip{animation:tooltipFadeIn .15s ease-out}@keyframes tooltipFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.report-vitals-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.report-vitals-row .report-input-group{flex-direction:column;align-items:flex-start;gap:.25rem}.report-vitals-row .report-input-group label{min-width:auto}.report-save-container{padding:1.5rem;display:flex;flex-direction:column;align-items:center;gap:.75rem}.report-save-btn{background:#3da2fa;color:#fff;border:none;padding:.875rem 2.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease}.report-save-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.report-save-btn:active{transform:translateY(0)}.report-save-status{font-size:.875rem;font-weight:500}.under-construction-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;min-height:400px}.under-construction-icon{color:#f59e0b;margin-bottom:1.5rem}.under-construction-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.under-construction-text{font-size:1rem;color:var(--text-secondary);margin-bottom:.5rem}.under-construction-subtext{font-size:.875rem;color:var(--text-secondary);opacity:.8}@media(max-width:768px){.report-section-content{flex-direction:column}.report-section-content .report-input-group{width:100%;min-width:auto}.report-vitals-row{grid-template-columns:repeat(2,1fr)}.report-input-group{flex-direction:row;align-items:center;gap:.75rem}.report-input-group label{min-width:0;flex:1;text-align:left}.report-input-group .report-input{flex:0 0 auto;width:55%;max-width:60%}.report-vitals-row{grid-template-columns:1fr}.report-vitals-row .report-input-group{flex-direction:row;align-items:center;gap:.75rem}.report-vitals-row .report-input-group label{min-width:0;flex:1}}@media(max-width:480px){.report-vitals-row{grid-template-columns:1fr}.patient-report-header h2{font-size:1rem}.patient-report-container>.report-section{margin:.75rem 0!important}.patient-report-container>.report-section:first-of-type{margin-top:0!important}.report-section-content{padding:.75rem;flex-direction:column}}@media(max-width:768px){.report-header-container{padding:1.5rem!important;margin-bottom:1.5rem!important;box-shadow:var(--shadow-lg)}.report-header-container h2{font-size:1.125rem!important;line-height:1.3!important;word-break:break-word}.report-header-container p{font-size:.8125rem!important;line-height:1.35!important;margin-top:6px!important}}@media(max-width:480px){.report-header-container{padding:1.25rem!important}.report-header-container h2{font-size:1rem!important}.report-header-container p{font-size:.75rem!important}}.nurse-admin-landing{position:fixed;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#102b74,#05298c);display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:nurseAdminFadeIn .8s ease-out;font-family:Inter,sans-serif}@keyframes nurseAdminFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.nurse-admin-background-dots{position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 80% 25%,rgba(139,92,246,.12) 2px,transparent 3px),radial-gradient(circle at 60% 70%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 85% 80%,rgba(139,92,246,.1) 2px,transparent 3px),radial-gradient(circle at 15% 85%,rgba(59,130,246,.12) 2px,transparent 3px);animation:nurseAdminFloatDots 8s ease-in-out infinite;z-index:0}@keyframes nurseAdminFloatDots{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-20px);opacity:.9}}.nurse-admin-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:500px;padding:2rem}.nurse-admin-logo-section{margin-bottom:2rem}.nurse-admin-brand-row{display:flex;align-items:center;justify-content:center;gap:1rem}.nurse-admin-logo-container{width:48px;height:48px;background:#fff!important;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px #00000040;padding:4px}.nurse-admin-logo-image{width:42px;height:42px;object-fit:contain;display:block}.nurse-admin-brand-title{color:#fff;font-size:3rem;font-weight:800;margin:0;background:linear-gradient(135deg,#fff,#e2e8f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nurse-admin-text-section{margin-bottom:2.5rem}.nurse-admin-title{color:#fff;font-size:2rem;font-weight:700;margin:0 0 .5rem}.nurse-admin-subtitle{color:#ffffffb3;font-size:1.1rem;margin:0}.nurse-admin-options{display:flex;flex-direction:column;gap:1rem;width:100%;margin-bottom:2rem}.nurse-admin-option{display:flex;align-items:center;gap:1.25rem;padding:1.25rem 1.5rem;border:2px solid rgba(255,255,255,.2);border-radius:16px;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;transition:all .3s ease;text-align:left}.nurse-admin-option:hover{background:#fff3;border-color:#fff6;transform:translateY(-2px);box-shadow:0 10px 30px -10px #0000004d}.nurse-admin-option .option-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#ffffff26;border-radius:12px;color:#fff;flex-shrink:0}.admin-dashboard-option:hover .option-icon{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}.nurse-view-option:hover .option-icon{background:linear-gradient(135deg,#10b981,#34d399)}.nurse-admin-option .option-content h2{font-size:1.1rem;font-weight:600;color:#fff;margin:0 0 .25rem}.nurse-admin-option .option-content p{font-size:.875rem;color:#ffffffb3;margin:0}.nurse-admin-logout-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:8px;color:#ffffffb3!important;font-size:.9rem;cursor:pointer;transition:all .2s ease}.nurse-admin-logout-btn span,.nurse-admin-logout-btn svg{color:#ffffffb3!important}.nurse-admin-logout-btn:hover{background:#ef444433;border-color:#ef444480;color:#fca5a5!important}.nurse-admin-logout-btn:hover span,.nurse-admin-logout-btn:hover svg{color:#fca5a5!important}@media(max-width:480px){.nurse-admin-content{padding:1.5rem}.nurse-admin-brand-title{font-size:2rem}.nurse-admin-logo-container{width:42px;height:42px}.nurse-admin-logo-image{width:36px;height:36px}.nurse-admin-title{font-size:1.5rem}.nurse-admin-option{flex-direction:column;text-align:center;gap:1rem;padding:1.25rem}.nurse-admin-option .option-content{text-align:center}}@media print{.sidebar,.tab-navigation,.column-left,.audio-section,.button-row,.input-actions,.language-selector-row,.generate-handoff-btn,.action-btn,.submit-status,.footer-premium,.feedback-widget,.feedback-widget-container,.collapsible-header svg,header,nav,.record-btn,.nurse-scribe-btn,.interaction-type-row,.record-other-content>.section-card:first-child,[class*=feedback],button,.main-header,.title-container,.logo,.typewriter,.cursor{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}:root,[data-theme=dark],[data-theme=light]{--bg-main: #ffffff !important;--bg-card: #ffffff !important;--bg-secondary: #f8fafc !important;--text-primary: #1f2937 !important;--text-secondary: #4b5563 !important;--border-color: #e5e7eb !important}html,body{background:#fff!important;background-color:#fff!important;color:#1f2937!important;margin:0!important;padding:0!important}.app-root{display:block!important;background:#fff!important;background-color:#fff!important;min-height:auto!important}.main-content{margin:0!important;padding:20px!important;max-width:100%!important;background:#fff!important;background-color:#fff!important;background-image:none!important}.content-columns{display:block!important;background:#fff!important}.column-right{width:100%!important;max-width:100%!important;padding:0!important;display:block!important;background:#fff!important}.analysis-section{box-shadow:none!important;border:none!important;background:#fff!important;display:block!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:20px!important}.analysis-section.section-card{display:block!important;visibility:visible!important;background:#fff!important;border:none!important}.section-card{box-shadow:none!important;border:1px solid #e5e7eb!important;background:#fff!important}.collapsible-section{display:block!important;visibility:visible!important;page-break-inside:avoid}.collapsible-header{background:#f8fafc!important;border:1px solid #e5e7eb!important;color:#1f2937!important;display:flex!important;visibility:visible!important}.collapsible-header span{color:#1f2937!important}.collapsible-section>div{display:block!important;visibility:visible!important;color:#1f2937!important;background:#fff!important}.category-section{page-break-inside:avoid;background:#f8fafc!important;display:block!important;visibility:visible!important}.category-section h4{color:#3b82f6!important}.category-section div,.category-section p,.analysis-text,.collapsible-section div,.collapsible-section p,.collapsible-section li,.collapsible-section span,p,li,span,div,ol,ul,ol li,ul li{color:#1f2937!important}.analysis-section:before{content:"CareShift Clinical Interaction Summary";display:block!important;font-size:24px;font-weight:700;color:#1f2937!important;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #3b82f6}}.handoff-text .critical-info,.category-section .critical-info,.analysis-sections .critical-info{--hl-color: #ee5a24}.handoff-text .high-priority,.category-section .high-priority,.analysis-sections .high-priority{--hl-color: #b45309}.handoff-text .medication-highlight,.category-section .medication-highlight,.analysis-sections .medication-highlight{--hl-color: #341f97}.handoff-text .vital-sign,.category-section .vital-sign,.analysis-sections .vital-sign{--hl-color: #0e7490}.handoff-text .device-highlight,.category-section .device-highlight,.analysis-sections .device-highlight{--hl-color: #4b5563}.handoff-text .titration-highlight,.category-section .titration-highlight,.analysis-sections .titration-highlight{--hl-color: #0f766e}.handoff-text .pending-highlight,.category-section .pending-highlight,.analysis-sections .pending-highlight{--hl-color: #7c3aed}.handoff-text .isolation-highlight,.category-section .isolation-highlight,.analysis-sections .isolation-highlight{--hl-color: #dc2626}.handoff-text .goal-highlight,.category-section .goal-highlight,.analysis-sections .goal-highlight{--hl-color: #0369a1}.handoff-text .time-critical,.category-section .time-critical,.analysis-sections .time-critical{--hl-color: #0284c7}.handoff-text .disposition-highlight,.category-section .disposition-highlight,.analysis-sections .disposition-highlight{--hl-color: #4f46e5}.handoff-text .safety-highlight,.category-section .safety-highlight,.analysis-sections .safety-highlight{--hl-color: #b45309}.handoff-text .functional-highlight,.category-section .functional-highlight,.analysis-sections .functional-highlight{--hl-color: #15803d}.handoff-text .cognition-highlight,.category-section .cognition-highlight,.analysis-sections .cognition-highlight{--hl-color: #7c3aed}.handoff-text .progress-highlight,.category-section .progress-highlight,.analysis-sections .progress-highlight{--hl-color: #0f766e}.handoff-text .discharge-highlight,.category-section .discharge-highlight,.analysis-sections .discharge-highlight{--hl-color: #0369a1}.handoff-text .mobility-highlight,.category-section .mobility-highlight,.analysis-sections .mobility-highlight{--hl-color: #15803d}.handoff-text .trend-highlight,.category-section .trend-highlight,.analysis-sections .trend-highlight{--hl-color: #0f766e}.handoff-text .neuro-change,.category-section .neuro-change,.analysis-sections .neuro-change{--hl-color: #991b1b}.handoff-text .seizure-highlight,.category-section .seizure-highlight,.analysis-sections .seizure-highlight{--hl-color: #7c3aed}.handoff-text .icp-highlight,.category-section .icp-highlight,.analysis-sections .icp-highlight{--hl-color: #0f766e}.handoff-text .neuro-safety,.category-section .neuro-safety,.analysis-sections .neuro-safety{--hl-color: #b45309}.handoff-text .rhythm-highlight,.category-section .rhythm-highlight,.analysis-sections .rhythm-highlight{--hl-color: #991b1b}.handoff-text .perfusion-highlight,.category-section .perfusion-highlight,.analysis-sections .perfusion-highlight{--hl-color: #7c2d12}.handoff-text .fluid-highlight,.category-section .fluid-highlight,.analysis-sections .fluid-highlight{--hl-color: #0369a1}.handoff-text .ischemia-highlight,.category-section .ischemia-highlight,.analysis-sections .ischemia-highlight{--hl-color: #b91c1c}.handoff-text .neutropenia-highlight,.category-section .neutropenia-highlight,.analysis-sections .neutropenia-highlight{--hl-color: #7c2d12}.handoff-text .chemo-highlight,.category-section .chemo-highlight,.analysis-sections .chemo-highlight{--hl-color: #1e40af}.handoff-text .infection-risk-highlight,.category-section .infection-risk-highlight,.analysis-sections .infection-risk-highlight{--hl-color: #991b1b}.handoff-text .psychosocial-highlight,.category-section .psychosocial-highlight,.analysis-sections .psychosocial-highlight{--hl-color: #4b5563}.handoff-text .airway-risk-highlight,.category-section .airway-risk-highlight,.analysis-sections .airway-risk-highlight{--hl-color: #0f172a}.handoff-text .hemodynamic-highlight,.category-section .hemodynamic-highlight,.analysis-sections .hemodynamic-highlight{--hl-color: #7c2d12}.handoff-text .emergence-highlight,.category-section .emergence-highlight,.analysis-sections .emergence-highlight{--hl-color: #312e81}.handoff-text .discharge-ready-highlight,.category-section .discharge-ready-highlight,.analysis-sections .discharge-ready-highlight{--hl-color: #065f46}.handoff-text .respiratory-crisis-highlight,.category-section .respiratory-crisis-highlight,.analysis-sections .respiratory-crisis-highlight{--hl-color: #991b1b}.handoff-text .feeding-intolerance-highlight,.category-section .feeding-intolerance-highlight,.analysis-sections .feeding-intolerance-highlight{--hl-color: #a16207}.handoff-text .sepsis-risk-highlight,.category-section .sepsis-risk-highlight,.analysis-sections .sepsis-risk-highlight{--hl-color: #7c2d12}.handoff-text .neurological-concern-highlight,.category-section .neurological-concern-highlight,.analysis-sections .neurological-concern-highlight{--hl-color: #581c87}.handoff-text .growth-milestone-highlight,.category-section .growth-milestone-highlight,.analysis-sections .growth-milestone-highlight{--hl-color: #047857}.handoff-text .respiratory-distress-highlight,.category-section .respiratory-distress-highlight,.analysis-sections .respiratory-distress-highlight{--hl-color: #991b1b}.handoff-text .pain-management-highlight,.category-section .pain-management-highlight,.analysis-sections .pain-management-highlight{--hl-color: #9f1239}.handoff-text .dehydration-risk-highlight,.category-section .dehydration-risk-highlight,.analysis-sections .dehydration-risk-highlight{--hl-color: #a16207}.handoff-text .behavioral-crisis-highlight,.category-section .behavioral-crisis-highlight,.analysis-sections .behavioral-crisis-highlight{--hl-color: #581c87}.handoff-text .fall-safety-highlight,.category-section .fall-safety-highlight,.analysis-sections .fall-safety-highlight{--hl-color: #c2410c}.handoff-text .discharge-planning-highlight,.category-section .discharge-planning-highlight,.analysis-sections .discharge-planning-highlight{--hl-color: #047857}.handoff-text .fetal-distress-highlight,.category-section .fetal-distress-highlight,.analysis-sections .fetal-distress-highlight{--hl-color: #7f1d1d}.handoff-text .hemorrhage-risk-highlight,.category-section .hemorrhage-risk-highlight,.analysis-sections .hemorrhage-risk-highlight{--hl-color: #991b1b}.handoff-text .preeclampsia-highlight,.category-section .preeclampsia-highlight,.analysis-sections .preeclampsia-highlight{--hl-color: #831843}.handoff-text .labor-progression-highlight,.category-section .labor-progression-highlight,.analysis-sections .labor-progression-highlight{--hl-color: #6d28d9}.handoff-text .delivery-imminent-highlight,.category-section .delivery-imminent-highlight,.analysis-sections .delivery-imminent-highlight{--hl-color: #b45309}.handoff-text .suicide-risk-highlight,.category-section .suicide-risk-highlight,.analysis-sections .suicide-risk-highlight{--hl-color: #7f1d1d}.handoff-text [class*=-highlight],.category-section [class*=-highlight],.analysis-sections [class*=-highlight],.handoff-text .critical-info,.handoff-text .vital-sign,.handoff-text .high-priority,.handoff-text .time-critical,.handoff-text .neuro-change,.handoff-text .neuro-safety,.category-section .critical-info,.category-section .vital-sign,.category-section .high-priority,.category-section .time-critical,.category-section .neuro-change,.category-section .neuro-safety,.analysis-sections .critical-info,.analysis-sections .vital-sign,.analysis-sections .high-priority,.analysis-sections .time-critical,.analysis-sections .neuro-change,.analysis-sections .neuro-safety{background:color-mix(in srgb,var(--hl-color, #14b8a6) 22%,transparent)!important;color:var(--hl-color, #14b8a6)!important;box-shadow:none!important;font-weight:600!important;padding:.05rem .3rem!important;border-radius:4px!important}[data-theme=dark] .handoff-text [class*=-highlight],[data-theme=dark] .category-section [class*=-highlight],[data-theme=dark] .analysis-sections [class*=-highlight],[data-theme=dark] .handoff-text .critical-info,[data-theme=dark] .handoff-text .vital-sign,[data-theme=dark] .handoff-text .high-priority,[data-theme=dark] .handoff-text .time-critical,[data-theme=dark] .handoff-text .neuro-change,[data-theme=dark] .handoff-text .neuro-safety,[data-theme=dark] .category-section .critical-info,[data-theme=dark] .category-section .vital-sign,[data-theme=dark] .category-section .high-priority,[data-theme=dark] .category-section .time-critical,[data-theme=dark] .category-section .neuro-change,[data-theme=dark] .category-section .neuro-safety,[data-theme=dark] .analysis-sections .critical-info,[data-theme=dark] .analysis-sections .vital-sign,[data-theme=dark] .analysis-sections .high-priority,[data-theme=dark] .analysis-sections .time-critical,[data-theme=dark] .analysis-sections .neuro-change,[data-theme=dark] .analysis-sections .neuro-safety{background:color-mix(in srgb,var(--hl-color, #14b8a6) 32%,transparent)!important;color:color-mix(in srgb,var(--hl-color, #14b8a6) 55%,#ffffff)!important}.patient-report-container.patient-report-container>.report-section.report-section{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}.patient-report-container.patient-report-container>.report-section.report-section:first-of-type{margin-top:0!important}.patient-report-container.patient-report-container{background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;padding:0!important}.profile-avatar-button.profile-avatar-button{position:relative;width:32px;height:32px;min-width:32px;max-width:32px;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#0284c7);display:flex;align-items:center;justify-content:center;color:#fff;border:none;padding:0;margin:0;cursor:pointer;flex-shrink:0;overflow:hidden;box-shadow:none;transition:transform .15s ease}.profile-avatar-button.profile-avatar-button:hover{background:linear-gradient(135deg,#0ea5e9,#0284c7);transform:none;box-shadow:none}.profile-avatar-button:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.profile-avatar-img{width:100%;height:100%;object-fit:cover;display:block}.profile-avatar-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#00000073;color:#fff;opacity:0;transition:opacity .15s ease;pointer-events:none}@media(hover:hover){.profile-avatar-button:hover .profile-avatar-overlay{opacity:1}}.profile-pic-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617a6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;animation:profilePicFade .18s ease-out}@keyframes profilePicFade{0%{opacity:0}to{opacity:1}}.profile-pic-modal{background:#0f172a;color:#e2e8f0;border-radius:16px;border:1px solid rgba(148,163,184,.15);box-shadow:0 20px 60px #00000080;width:100%;max-width:420px;overflow:hidden;display:flex;flex-direction:column;transition:max-width .2s ease}.profile-pic-modal.expanded{max-width:620px}.profile-pic-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid rgba(148,163,184,.12)}.profile-pic-modal-header h2{margin:0;font-size:1.05rem;font-weight:600;color:#f1f5f9}.profile-pic-modal-close{background:transparent;border:none;color:#94a3b8;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.profile-pic-modal-close:hover{background:#94a3b81f;color:#f1f5f9}.profile-pic-modal-body{padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.profile-pic-modal-error{background:#ef44441f;border:1px solid rgba(239,68,68,.3);color:#fecaca;padding:.625rem .75rem;border-radius:8px;font-size:.85rem}.profile-pic-choose{display:flex;flex-direction:column;gap:.75rem}.profile-pic-option-btn{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#1e293bcc;color:#e2e8f0;border:1px solid rgba(148,163,184,.18);border-radius:10px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .1s ease}.profile-pic-option-btn:hover{background:#0ea5e926;border-color:#0ea5e966}.profile-pic-option-btn:active{transform:translateY(1px)}.profile-pic-camera{display:flex;flex-direction:column;gap:.875rem}.profile-pic-camera-video{width:100%;max-height:60vh;background:#000;border-radius:10px;object-fit:cover;transform:scaleX(-1)}.profile-pic-preview{display:flex;flex-direction:column;align-items:center;gap:.875rem}.profile-pic-preview-img{width:220px;height:220px;border-radius:50%;object-fit:cover;border:3px solid rgba(14,165,233,.4)}.profile-pic-actions{display:flex;gap:.625rem;justify-content:flex-end;flex-wrap:wrap}.profile-pic-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;border:1px solid transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.profile-pic-btn:disabled{opacity:.6;cursor:not-allowed}.profile-pic-btn.primary{background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff}.profile-pic-btn.primary:hover:not(:disabled){filter:brightness(1.08)}.profile-pic-btn.secondary{background:#1e293bcc;color:#e2e8f0;border-color:#94a3b838}.profile-pic-btn.secondary:hover:not(:disabled){background:#334155e6}@media(max-width:540px){.profile-pic-preview-img{width:180px;height:180px}.profile-pic-actions{justify-content:stretch}.profile-pic-btn{flex:1;justify-content:center}.profile-pic-modal.choose-mode{max-width:320px}.profile-pic-modal.choose-mode .profile-pic-option-btn{padding:.75rem .875rem;font-size:.9rem}}[data-theme=light] .profile-pic-modal-overlay{background:#0f172a73}[data-theme=light] .profile-pic-modal{background:#fff;color:#1f2937;border-color:#0f172a1a;box-shadow:0 20px 60px #0f172a2e}[data-theme=light] .profile-pic-modal-header{border-bottom-color:#0f172a14}[data-theme=light] .profile-pic-modal-header h2{color:#111827}[data-theme=light] .profile-pic-modal-close{color:#6b7280}[data-theme=light] .profile-pic-modal-close:hover{background:#f3f4f6;color:#111827}[data-theme=light] .profile-pic-modal-error{background:#ef444414;border-color:#ef444440;color:#b91c1c}[data-theme=light] .profile-pic-option-btn{background:#f9fafb;color:#1f2937;border-color:#0f172a1f}[data-theme=light] .profile-pic-option-btn:hover{background:#0ea5e914;border-color:#0ea5e966}[data-theme=light] .profile-pic-btn.secondary{background:#f3f4f6;color:#1f2937;border-color:#0f172a1f}[data-theme=light] .profile-pic-btn.secondary:hover:not(:disabled){background:#e5e7eb}[data-theme=light] .profile-pic-preview-img{border-color:#0ea5e980}.signup-name-row{display:flex;gap:1rem;align-items:stretch;margin-bottom:1.5rem}.signup-name-row .signup-name-col{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.75rem;justify-content:space-between}.signup-name-row .signup-name-col .login-form-group{margin-bottom:0}.signup-pic-picker{flex:0 0 auto;width:124px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.65rem;padding-top:4px}.signup-pic-avatar{width:104px;height:104px;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;border:2px solid rgba(14,165,233,.25);box-shadow:0 4px 12px #0284c740}.signup-pic-avatar-img{width:100%;height:100%;object-fit:cover;display:block}.signup-pic-buttons{display:flex;flex-direction:column;gap:.4rem;width:100%;align-items:stretch}.signup-pic-picker .signup-pic-btn.signup-pic-btn{width:100%;height:32px;padding:0 .5rem;margin:0;border-radius:8px;border:1px solid rgba(14,165,233,.45);background:#fff;color:#0284c7;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;cursor:pointer;font-size:.78rem;font-weight:600;line-height:1;white-space:nowrap;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .1s ease;box-shadow:none;flex:0 0 auto}.signup-pic-picker .signup-pic-btn.signup-pic-btn svg{color:#0ea5e9}.signup-pic-picker .signup-pic-btn.signup-pic-btn span{color:#0284c7;-webkit-text-fill-color:#0284c7;background:none;-webkit-background-clip:border-box;background-clip:border-box;opacity:1}.signup-pic-picker .signup-pic-btn.signup-pic-btn:hover{background:#0ea5e914;border-color:#0ea5e9;color:#0369a1;transform:none;box-shadow:none}.signup-pic-picker .signup-pic-btn.signup-pic-btn:hover svg{color:#0369a1}.signup-pic-picker .signup-pic-btn.signup-pic-btn:hover span{color:#0369a1;-webkit-text-fill-color:#0369a1}.signup-pic-picker .signup-pic-btn.signup-pic-btn:active{transform:translateY(1px)}.signup-pic-picker .signup-pic-btn.signup-pic-btn-danger{border-color:#ef444473;color:#dc2626}.signup-pic-picker .signup-pic-btn.signup-pic-btn-danger svg{color:#dc2626}.signup-pic-picker .signup-pic-btn.signup-pic-btn-danger span{color:#dc2626;-webkit-text-fill-color:#dc2626}.signup-pic-picker .signup-pic-btn.signup-pic-btn-danger:hover{background:#ef444414;border-color:#dc2626;color:#b91c1c}.signup-pic-picker .signup-pic-btn.signup-pic-btn-danger:hover svg{color:#b91c1c}[data-theme=dark] .signup-pic-picker .signup-pic-btn.signup-pic-btn,.dark .signup-pic-picker .signup-pic-btn.signup-pic-btn{background:#fff;border-color:#0ea5e980;color:#0284c7}[data-theme=dark] .signup-pic-picker .signup-pic-btn.signup-pic-btn span,.dark .signup-pic-picker .signup-pic-btn.signup-pic-btn span{color:#0284c7;-webkit-text-fill-color:#0284c7}[data-theme=dark] .signup-pic-picker .signup-pic-btn.signup-pic-btn:hover,.dark .signup-pic-picker .signup-pic-btn.signup-pic-btn:hover{background:#f0f9ff;border-color:#0ea5e9;color:#0369a1}.signup-pic-error{color:#dc2626;font-size:.72rem;text-align:center;line-height:1.2}[data-theme=dark] .signup-pic-error,.dark .signup-pic-error{color:#fca5a5}@media(max-width:480px){.signup-name-row{gap:.75rem}.signup-pic-picker{width:104px;gap:.5rem}.signup-pic-avatar{width:80px;height:80px}.signup-pic-picker .signup-pic-btn.signup-pic-btn{font-size:.72rem;height:30px}}.login-page{min-height:100vh;background:linear-gradient(135deg,#102b74,#102b74,#102b74);display:flex;align-items:center;justify-content:center;padding:1rem;position:relative;overflow:hidden;font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.login-page,.login-page button,.login-page input{font-family:inherit}.login-background-dots{position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 80% 25%,rgba(139,92,246,.12) 2px,transparent 3px),radial-gradient(circle at 60% 70%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 85% 80%,rgba(139,92,246,.1) 2px,transparent 3px),radial-gradient(circle at 15% 85%,rgba(59,130,246,.12) 2px,transparent 3px);animation:loginFloatDots 8s ease-in-out infinite;z-index:0}@keyframes loginFloatDots{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-20px);opacity:.9}}.login-card{position:relative;z-index:1;width:100%;max-width:420px;background:#fffffffa;border-radius:24px;padding:3rem 2.5rem;box-shadow:0 20px 60px #00000080,0 0 0 1px #ffffff14 inset;animation:loginCardEnter .95s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity,filter}@keyframes loginCardEnter{0%{opacity:0;transform:translateY(28px) scale(.96);filter:blur(10px)}60%{filter:blur(0)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@keyframes loginRise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.login-card .login-logo-section,.login-card .login-success-banner,.login-card .forgot-password-header,.login-card .login-form>*,.login-card .forgot-password-success>*,.login-card .login-create-account-text,.login-card .login-divider,.login-card .login-help-text{animation:loginRise .65s cubic-bezier(.22,1,.36,1) both}.login-card .login-logo-section{animation-delay:.18s}.login-card .login-success-banner{animation-delay:.22s}.login-card .forgot-password-header{animation-delay:.26s}.login-card .login-form>*:nth-child(1){animation-delay:.3s}.login-card .login-form>*:nth-child(2){animation-delay:.38s}.login-card .login-form>*:nth-child(3){animation-delay:.46s}.login-card .login-form>*:nth-child(4){animation-delay:.54s}.login-card .login-form>*:nth-child(5){animation-delay:.62s}.login-card .login-form>*:nth-child(6){animation-delay:.7s}.login-card .login-form>*:nth-child(7){animation-delay:.78s}.login-card .login-form>*:nth-child(n+8){animation-delay:.86s}.login-card .forgot-password-success>*:nth-child(1){animation-delay:.3s}.login-card .forgot-password-success>*:nth-child(2){animation-delay:.4s}.login-card .forgot-password-success>*:nth-child(3){animation-delay:.5s}.login-card .forgot-password-success>*:nth-child(4){animation-delay:.6s}.login-card .forgot-password-success>*:nth-child(5){animation-delay:.7s}.login-card .login-create-account-text{animation-delay:.82s}.login-card .login-divider{animation-delay:.88s}.login-card .login-help-text{animation-delay:.94s}@media(prefers-reduced-motion:reduce){.login-card,.login-card *{animation:none!important}}.login-logo-section{text-align:center;margin-bottom:2rem}.login-title-row{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:.5rem}.login-logo-image{width:48px;height:48px;object-fit:contain;display:block;transform-origin:center}.login-title{font-size:2.25rem;font-weight:800;letter-spacing:-.02em;background:linear-gradient(120deg,#0ea5e9,#3b82f6 45%,#0ea5e9);background-size:200% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent;margin:0;animation:titleShimmer 7s ease-in-out infinite}@keyframes titleShimmer{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.login-subtitle{color:#64748b;font-size:.95rem;font-weight:500;letter-spacing:.01em}.login-form{margin-top:2rem}.login-form-group{margin-bottom:1.5rem}.login-form-label{display:block;margin-bottom:.5rem;color:#1e293b;font-weight:600;font-size:.875rem}.login-input-wrapper{position:relative}.login-input-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#94a3b8;width:20px;height:20px;pointer-events:none}.login-form-input{width:100%;padding:.875rem 1rem .875rem 3rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.95rem;transition:all .3s ease;background:#f8fafc;font-family:Plus Jakarta Sans,Inter,sans-serif;letter-spacing:.005em}.login-form-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 4px #3b82f61a}.login-form-input:focus~.login-input-icon{color:#3b82f6}.login-password-toggle{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#94a3b8;padding:.25rem;transition:color .2s ease;display:flex;align-items:center;justify-content:center}.login-password-toggle:hover{color:#3b82f6}.password-requirement{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.8rem;font-weight:500;transition:all .3s ease}.password-requirement.unmet{color:#dc2626}.password-requirement.met{color:#10b981}.password-requirement svg{flex-shrink:0}.login-forgot-password{text-align:right;margin-top:.5rem}.login-forgot-link{color:#3b82f6;background:none;border:none;font-size:.875rem;font-weight:500;cursor:pointer;padding:0;transition:color .2s ease}.login-forgot-link:hover{color:#2563eb;text-decoration:underline}.login-submit-btn{width:100%;padding:1rem;background:linear-gradient(120deg,#2563eb,#3b82f6,#0ea5e9);background-size:200% 100%;background-position:0% 50%;color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,background-position .6s ease;box-shadow:0 4px 16px #3b82f64d;margin-top:1.5rem;font-family:Plus Jakarta Sans,Inter,sans-serif}.login-submit-btn:hover:not(:disabled){background-position:100% 50%}.login-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px #3b82f666}.login-submit-btn:active{transform:translateY(0)}.login-submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.login-error-message{background:#fee2e2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-top:1rem;border-left:4px solid #dc2626;animation:loginShake .5s ease-in-out}@keyframes loginShake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.login-divider{display:flex;align-items:center;margin:2rem 0;color:#94a3b8;font-size:.875rem}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:#e2e8f0}.login-divider:before{margin-right:1rem}.login-divider:after{margin-left:1rem}.login-help-text{text-align:center;color:#64748b;font-size:.875rem}.login-create-account-text{text-align:center;color:#64748b;font-size:.875rem;margin-top:1.5rem}.login-create-account-link{color:#3b82f6;background:none;border:none;font-weight:600;cursor:pointer;padding:0;font-size:.875rem;transition:color .2s ease}.login-create-account-link:hover{color:#2563eb;text-decoration:underline}.login-support-link{color:#3b82f6;background:none;border:none;font-weight:600;cursor:pointer;padding:0;font-size:.875rem;transition:color .2s ease}.login-support-link:hover{color:#2563eb;text-decoration:underline}.login-success-banner{background:#d1fae5;color:#065f46;padding:.875rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1.5rem;border-left:4px solid #10b981;animation:loginSlideDown .4s ease-out}@keyframes loginSlideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.success-message-container{position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 35%,#1a3d82,#102b74 45%,#0a1d4d);display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:loginFadeIn .5s ease-out;overflow:hidden}.success-message-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(rgba(96,165,250,.08) 1px,transparent 1px);background-size:24px 24px;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse at 50% 42%,transparent 0,transparent 180px,rgba(0,0,0,.6) 320px,#000 480px);mask-image:radial-gradient(ellipse at 50% 42%,transparent 0,transparent 180px,rgba(0,0,0,.6) 320px,#000 480px)}.success-message-container:after{content:"";position:absolute;left:50%;top:42%;width:720px;height:720px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.28) 0%,rgba(96,165,250,.16) 25%,rgba(59,130,246,.08) 45%,rgba(37,99,235,.03) 65%,transparent 75%);filter:blur(40px);pointer-events:none;will-change:transform,opacity;animation:successAmbientPulse 4.5s ease-in-out infinite}@keyframes successAmbientPulse{0%,to{opacity:.85;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.04)}}@keyframes loginFadeIn{0%{opacity:0}to{opacity:1}}.success-icon-wrapper{position:relative;z-index:1;width:110px;height:110px;background:radial-gradient(circle at 30% 25%,#60a5fa66,#3b82f64d 60%,#2563eb33);border:1px solid rgba(96,165,250,.6);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:2.25rem;box-shadow:0 0 0 1px #ffffff14,0 0 24px #60a5fa73,0 0 60px #60a5fa47,0 0 120px #60a5fa2e,0 0 200px #3b82f61f;animation:loginScaleIn .55s cubic-bezier(.34,1.56,.64,1) both,iconHeartbeat 1.6s .7s ease-in-out infinite}.success-icon-wrapper:before,.success-icon-wrapper:after{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:50%;border:2px solid rgba(96,165,250,.75);opacity:0;pointer-events:none;animation:vitalsPing 2.2s .6s cubic-bezier(.25,.46,.45,.94) infinite}.success-icon-wrapper:after{animation-delay:1.5s;border-color:#ffffff8c}@keyframes loginScaleIn{0%{transform:scale(0) rotate(-8deg);opacity:0}60%{transform:scale(1.08) rotate(2deg);opacity:1}to{transform:scale(1) rotate(0);opacity:1}}@keyframes iconHeartbeat{0%,60%,to{transform:scale(1)}20%{transform:scale(1.04)}35%{transform:scale(1.01)}45%{transform:scale(1.03)}}@keyframes vitalsPing{0%{transform:scale(1);opacity:.9}80%{transform:scale(1.9);opacity:0}to{transform:scale(1.9);opacity:0}}.success-checkmark{width:62px;height:62px;fill:#fff;clip-path:inset(0 100% 0 0);animation:checkReveal .55s .35s cubic-bezier(.22,1,.36,1) forwards,checkUnclip 0s .95s forwards}@keyframes checkReveal{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}@keyframes checkUnclip{to{clip-path:none}}.success-title{position:relative;z-index:1;color:#f4fcff;font-size:2rem;font-weight:700;margin-bottom:.5rem;letter-spacing:-.5px;text-shadow:0 0 24px rgba(96,165,250,.4),0 2px 6px rgba(0,0,0,.4);animation:loginBlurUp .7s .55s cubic-bezier(.22,1,.36,1) both}.success-subtitle{position:relative;z-index:1;color:#c8e1f0eb;font-size:1.125rem;letter-spacing:.3px;animation:loginBlurUp .7s .75s cubic-bezier(.22,1,.36,1) both}.success-subtitle:after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:#60a5fa;box-shadow:0 0 10px #60a5fae6;vertical-align:middle;animation:vitalsBeep 1.2s 1.1s ease-in-out infinite}@keyframes vitalsBeep{0%,to{opacity:.2;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}@keyframes loginBlurUp{0%{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@media(max-width:480px){.login-card{padding:2rem 1.5rem}.login-title{font-size:1.75rem}.login-logo-image{width:36px;height:36px}.success-title{font-size:1.5rem}.success-subtitle{font-size:1rem}}.success-message-container.fade-out{animation:loginFadeOut 1s ease-out forwards}@keyframes loginFadeOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1)}}.forgot-password-header{margin-bottom:1.5rem}.back-to-login-btn{display:inline-flex;align-items:center;gap:.5rem;background:none;border:none;color:#3b82f6;font-size:.95rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:color .2s ease}.back-to-login-btn:hover{color:#2563eb}.back-to-login-btn svg{fill:currentColor}.forgot-password-title{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .75rem;text-align:center}.forgot-password-description{color:#64748b;font-size:.95rem;line-height:1.5;text-align:center;margin-bottom:1.5rem}.forgot-password-success{text-align:center;padding:1rem 0}.forgot-password-success h3{font-size:1.5rem;font-weight:700;color:#1e293b;margin:1rem 0 .5rem}.forgot-password-success p{color:#64748b;font-size:.95rem;margin-bottom:.5rem}.forgot-password-hint{font-size:.85rem!important;color:#94a3b8!important;margin-top:1rem!important}.success-icon-circle{width:64px;height:64px;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto;animation:scaleIn .3s ease-out}.success-icon-circle svg{fill:#fff}@keyframes scaleIn{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.splash-screen{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0a1d4d;background-image:var(--splash-bg);background-position:center center;background-size:cover;background-repeat:no-repeat;display:flex;align-items:flex-end;justify-content:center;z-index:2000;animation:splashFadeIn .5s ease-out}.splash-screen.fade-out{animation:splashFadeOut .5s ease-out forwards}@keyframes splashFadeIn{0%{opacity:0}to{opacity:1}}@keyframes splashFadeOut{0%{opacity:1}to{opacity:0}}.splash-background-dots{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to bottom,#0a1d4d33,#0a1d4d4d 30%,#0a1d4d99,#0a1d4de6 70%,#0a1d4dfa);z-index:0}@keyframes splashFloatDots{0%,to{transform:translateY(0);opacity:.7}50%{transform:translateY(-15px);opacity:1}}.splash-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 2rem 4rem}.splash-logo-container{width:120px;height:120px;background:#fff!important;border-radius:28px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;animation:splashLogoAppear .8s ease-out;box-shadow:0 8px 32px #0003;padding:8px}@keyframes splashLogoAppear{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}.splash-logo{width:96px;height:96px;object-fit:contain}.splash-title{font-size:3rem;font-weight:800;color:#fff;margin:0 0 1.5rem;letter-spacing:-.5px;animation:splashTitleAppear .8s ease-out .2s both;text-shadow:0 4px 20px rgba(0,0,0,.3)}@keyframes splashTitleAppear{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.splash-slogan{animation:splashSloganAppear .8s ease-out .4s both}.splash-slogan p{font-size:1.25rem;font-weight:500;color:#ffffffe6;margin:0;line-height:1.6;letter-spacing:.5px}.splash-slogan p:first-child{color:#60a5fa;font-weight:600}@keyframes splashSloganAppear{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.splash-loader{display:flex;gap:8px;margin-top:3rem;animation:splashLoaderAppear .5s ease-out .6s both}@keyframes splashLoaderAppear{0%{opacity:0}to{opacity:1}}.splash-loader-dot{width:10px;height:10px;background:#fffc;border-radius:50%;animation:splashDotPulse 1.4s ease-in-out infinite}.splash-loader-dot:nth-child(1){animation-delay:0s}.splash-loader-dot:nth-child(2){animation-delay:.2s}.splash-loader-dot:nth-child(3){animation-delay:.4s}@keyframes splashDotPulse{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}@media(max-width:430px){.splash-logo-container{width:72px;height:72px;border-radius:16px;background:#fff!important}.splash-logo{width:56px;height:56px}.splash-title{font-size:2.5rem}.splash-slogan p{font-size:1.1rem}}@media(max-width:380px){.splash-logo-container{width:80px;height:80px;border-radius:18px;background:#fff!important}.splash-logo{width:64px;height:64px}.splash-title{font-size:2.25rem}.splash-slogan p{font-size:1rem}}@media(min-width:768px)and (max-width:1024px){.splash-logo-container{width:100px;height:100px;border-radius:24px;background:#fff!important}.splash-logo{width:84px;height:84px}.splash-title{font-size:4rem;margin-bottom:2rem}.splash-slogan p{font-size:1.75rem;line-height:1.8}.splash-loader{margin-top:4rem}.splash-loader-dot{width:12px;height:12px}}.welcome-page{position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 20%,#1a3d82,#102b74 45%,#0a1d4d);display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:welcomeFadeIn .9s cubic-bezier(.22,1,.36,1);font-family:Inter,sans-serif;overflow:hidden}.welcome-page:before{content:"";position:absolute;top:15%;left:50%;width:560px;height:560px;transform:translate(-50%);border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.14) 0%,rgba(59,130,246,.05) 40%,transparent 70%);pointer-events:none;animation:welcomeGlowPulse 6s ease-in-out infinite}@keyframes welcomeGlowPulse{0%,to{opacity:.8;transform:translate(-50%) scale(1)}50%{opacity:1;transform:translate(-50%) scale(1.05)}}@keyframes welcomeFadeIn{0%{opacity:0;transform:translateY(12px);filter:blur(6px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}.welcome-background-dots{position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(rgba(96,165,250,.08) 1px,transparent 1px);background-size:24px 24px;animation:welcomeFloatDots 6s ease-in-out infinite;z-index:0;pointer-events:none}@keyframes welcomeFloatDots{0%,to{opacity:.55}50%{opacity:.9}}.welcome-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:500px;padding:2rem}.welcome-logo-section{margin-bottom:3rem}.welcome-brand-row{display:flex;align-items:center;justify-content:center;gap:1rem;animation:welcomeBlurUp .75s .05s cubic-bezier(.22,1,.36,1) both}@keyframes welcomeBlurUp{0%{opacity:0;transform:translateY(18px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}.welcome-logo-container{position:relative;width:48px;height:48px;background:#fff!important;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px #00000040,0 0 0 1px #fff9,0 0 24px #5ee8e040;padding:4px}.welcome-logo-image{width:42px;height:42px;object-fit:contain;display:block}.welcome-brand-title{color:#fff;font-size:3rem;font-weight:800;margin:0;background:linear-gradient(135deg,#fff,#e2e8f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.welcome-text-section{margin-bottom:4rem}.welcome-title{color:#fff;font-size:3rem;font-weight:700;margin-bottom:1rem;letter-spacing:-1px;text-shadow:0 0 32px rgba(94,232,224,.25),0 2px 8px rgba(0,0,0,.35);animation:welcomeBlurUp .85s .25s cubic-bezier(.22,1,.36,1) both;line-height:1.2}.welcome-subtitle{color:#ffffffe6;font-size:1.25rem;font-weight:400;animation:welcomeSlideUp .8s ease-out .4s both;margin:0}@keyframes welcomeSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.start-shift-button{position:relative;display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.25rem 3rem;background:#ffffff26;color:#fff!important;border:2px solid rgba(255,255,255,.3);border-radius:16px;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.22,1,.36,1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:welcomeBlurUp .8s .9s cubic-bezier(.22,1,.36,1) both;font-family:Inter,sans-serif;min-width:240px;overflow:hidden}.start-shift-button:hover{background:#ffffff40;border-color:#ffffff80;transform:translateY(-3px);box-shadow:0 12px 40px #0000004d}.start-shift-button:active{transform:translateY(-1px)}.button-text{flex:1;color:#fff!important}.button-arrow{width:24px;height:24px;transition:transform .3s ease}.start-shift-button:hover .button-arrow{transform:translate(4px)}.shift-end-time-section{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-bottom:2rem}.shift-end-time-section .shift-end-label{animation:welcomeBlurUp .75s .45s cubic-bezier(.22,1,.36,1) both}.shift-end-time-section .shift-end-inputs>*{animation:welcomeBlurUp .7s cubic-bezier(.22,1,.36,1) both}.shift-end-time-section .shift-end-inputs>*:nth-child(1){animation-delay:.55s}.shift-end-time-section .shift-end-inputs>*:nth-child(2){animation-delay:.63s}.shift-end-time-section .shift-end-inputs>*:nth-child(3){animation-delay:.71s}.shift-end-time-section .shift-end-inputs>*:nth-child(4){animation-delay:.79s}.shift-end-label{color:#ffffffe6;font-size:1.125rem;font-weight:500;font-family:Inter,sans-serif}.shift-end-inputs{display:flex;align-items:center;gap:.5rem}.shift-end-select{background:#ffffff26;color:#fff;border:2px solid rgba(255,255,255,.3);border-radius:12px;padding:.75rem 1rem;font-size:1.125rem;font-weight:600;font-family:Inter,sans-serif;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;-moz-appearance:none;appearance:none;-webkit-appearance:none;min-width:70px;text-align:center}.shift-end-select:hover{background:#ffffff40;border-color:#ffffff80}.shift-end-select:focus{outline:none;border-color:#fff9;box-shadow:0 0 0 3px #ffffff1a}.shift-end-select option{background:#1e3a5f;color:#fff}.time-separator{color:#ffffffe6;font-size:1.5rem;font-weight:600}.period-toggle{display:flex;background:#ffffff1a;border-radius:12px;padding:4px;margin-left:.5rem}.period-btn{background:transparent;color:#fff9;border:none;border-radius:8px;padding:.6rem 1rem;font-size:.95rem;font-weight:600;font-family:Inter,sans-serif;cursor:pointer;transition:all .2s ease}.period-btn:hover{color:#ffffffe6}.period-btn.active{background:#fff3;color:#fff}.start-shift-button:disabled{opacity:.5;cursor:not-allowed}.start-shift-button:disabled:hover{transform:none;box-shadow:none}.welcome-page.fade-out{animation:welcomeFadeOut .8s cubic-bezier(.4,0,.2,1) forwards}.welcome-page.fade-out .welcome-content{animation:welcomeContentExit .65s cubic-bezier(.4,0,.2,1) forwards}.welcome-page.fade-out .start-shift-button{pointer-events:none;animation:buttonSignalPulse .7s cubic-bezier(.25,.46,.45,.94) forwards}.welcome-page.fade-out .start-shift-button:after{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:20px;border:2px solid rgba(94,232,224,.8);animation:buttonSignalRing .7s cubic-bezier(.25,.46,.45,.94) forwards}@keyframes welcomeFadeOut{0%{opacity:1;transform:scale(1);filter:blur(0)}to{opacity:0;transform:scale(1.05);filter:blur(6px)}}@keyframes welcomeContentExit{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-10px) scale(1.02)}}@keyframes buttonSignalPulse{0%{transform:translateY(0) scale(1);box-shadow:0 0 #5ee8e0cc}40%{transform:translateY(-2px) scale(1.03);box-shadow:0 0 40px #5ee8e099}to{transform:translateY(-4px) scale(1.02);box-shadow:0 0 #5ee8e000;opacity:.6}}@keyframes buttonSignalRing{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.6)}}@media(max-width:768px){.welcome-content{padding:1.5rem;max-width:400px}.welcome-title{font-size:2.5rem}.welcome-subtitle{font-size:1.125rem}.welcome-logo-container{width:52px;height:52px}.welcome-logo-image{width:48px;height:48px}.welcome-brand-title{font-size:2.5rem}.start-shift-button{padding:1rem 2.5rem;font-size:1rem;min-width:200px}}@media(max-width:480px){.welcome-content{padding:1rem;max-width:350px}.welcome-title{font-size:2rem}.welcome-subtitle{font-size:1rem}.welcome-logo-container{width:48px;height:48px}.welcome-logo-image{width:36px;height:36px}.welcome-brand-title{font-size:2rem}.start-shift-button{padding:.875rem 2rem;font-size:.95rem;min-width:180px}.welcome-text-section,.welcome-logo-section{margin-bottom:2rem}.shift-end-time-section{margin-bottom:1.5rem}.shift-end-label{font-size:1rem}.shift-end-select{padding:.6rem .75rem;font-size:1rem;min-width:60px}.time-separator{font-size:1.25rem}.period-btn{padding:.5rem .75rem;font-size:.85rem}}.nurse-activity-tracker{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;padding:0;margin:1rem 0;border:1px solid #bae6fd;overflow:visible;box-shadow:0 2px 8px #0ea5e91a;box-sizing:border-box}.nurse-activity-tracker.dark{background:linear-gradient(135deg,#1e3a5f,#0c4a6e);border-color:#0369a1}.tracker-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;background:linear-gradient(135deg,#0ea5e9,#0284c7);border-radius:12px 12px 0 0;cursor:pointer;transition:background .2s ease}.tracker-header:last-child{border-radius:12px}.tracker-header:hover{background:linear-gradient(135deg,#0284c7,#0369a1)}.tracker-title{display:flex;align-items:center;gap:.5rem;color:#fff!important;font-weight:600;font-size:.875rem}.tracker-title svg{opacity:.9}.expand-icon{color:#fff;transition:transform .3s ease}.expand-icon.expanded{transform:rotate(180deg)}.tracker-content{padding:.75rem;overflow:visible;box-sizing:border-box}.shift-progress-section{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.progress-label{font-size:.75rem;font-weight:500;color:#0369a1;text-transform:uppercase;letter-spacing:.5px}.nurse-activity-tracker.dark .progress-label{color:#7dd3fc}.progress-time{font-size:.875rem;font-weight:700;color:#0c4a6e;font-family:SF Mono,Monaco,Inconsolata,monospace}.nurse-activity-tracker.dark .progress-time{color:#e0f2fe}.progress-bar-container{position:relative;height:8px;background:#e0f2fe;border-radius:4px;overflow:hidden}.nurse-activity-tracker.dark .progress-bar-container{background:#164e63}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a,#15803d);border-radius:4px;transition:width 1s ease;position:relative}.progress-bar-fill:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.progress-markers{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.progress-markers .marker{position:absolute;top:0;width:1px;height:100%;background:#ffffff80}.progress-footer{display:flex;justify-content:space-between;margin-top:.375rem}.shift-start{font-size:.7rem;color:#64748b}.nurse-activity-tracker.dark .shift-start{color:#94a3b8}.shift-remaining{font-size:.7rem;color:#16a34a;font-weight:500}.nurse-activity-tracker.dark .shift-remaining{color:#4ade80}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.75rem;width:100%;box-sizing:border-box}.stat-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#fff;border-radius:8px;border:1px solid #e2e8f0;transition:all .2s ease;min-width:0;box-sizing:border-box}.nurse-activity-tracker.dark .stat-item{background:#ffffff0d;border-color:#ffffff1a}.stat-item:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.stat-item-full{grid-column:1 / -1}.stat-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.patients{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8}.nurse-activity-tracker.dark .stat-icon.patients{background:linear-gradient(135deg,#1e40af,#1d4ed8);color:#93c5fd}.stat-icon.activities{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#15803d}.nurse-activity-tracker.dark .stat-icon.activities{background:linear-gradient(135deg,#166534,#15803d);color:#86efac}.stat-icon.voice{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#b45309}.nurse-activity-tracker.dark .stat-icon.voice{background:linear-gradient(135deg,#92400e,#b45309);color:#fcd34d}.stat-icon.handoffs{background:linear-gradient(135deg,#f3e8ff,#e9d5ff);color:#7c3aed}.nurse-activity-tracker.dark .stat-icon.handoffs{background:linear-gradient(135deg,#5b21b6,#7c3aed);color:#c4b5fd}.stat-icon.reports{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#2563eb}.nurse-activity-tracker.dark .stat-icon.reports{background:linear-gradient(135deg,#1e40af,#2563eb);color:#93c5fd}.stat-icon.recordings{background:linear-gradient(135deg,#fce7f3,#fbcfe8);color:#db2777}.nurse-activity-tracker.dark .stat-icon.recordings{background:linear-gradient(135deg,#9d174d,#db2777);color:#f9a8d4}.stat-details{display:flex;flex-direction:column;min-width:0}.stat-value{font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.2}.nurse-activity-tracker.dark .stat-value{color:#f1f5f9}.stat-label{font-size:.65rem;color:#64748b;text-transform:uppercase;letter-spacing:.3px;font-weight:500}.nurse-activity-tracker.dark .stat-label{color:#94a3b8}.time-in-app{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem;background:#0ea5e91a;border-radius:6px;font-size:.75rem;color:#0369a1;font-weight:500}.nurse-activity-tracker.dark .time-in-app{background:#0ea5e933;color:#7dd3fc}.time-in-app svg{opacity:.8}.nurse-info-sidebar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;padding:.75rem 1rem;margin:.5rem 0;border:1px solid #bae6fd;box-shadow:0 2px 8px #0ea5e91a}.nurse-info-sidebar.dark{background:linear-gradient(135deg,#1e3a5f,#0c4a6e);border-color:#0369a1}.nurse-info-sidebar-content{display:flex;align-items:center;gap:.625rem;flex:1;min-width:0}.nurse-avatar-small{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#0284c7);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.nurse-details-sidebar{display:flex;flex-direction:column;gap:.0625rem;min-width:0;overflow:hidden}.nurse-name-sidebar{font-weight:600;font-size:.8125rem;color:#0c4a6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nurse-info-sidebar.dark .nurse-name-sidebar{color:#f0f9ff}.nurse-id-sidebar{font-size:.6875rem;color:#0369a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nurse-info-sidebar.dark .nurse-id-sidebar{color:#7dd3fc}.logout-btn{display:flex!important;align-items:center;justify-content:center;width:32px!important;height:32px;min-width:32px;max-width:32px;border-radius:6px!important;background:transparent!important;border:none!important;color:#ef4444!important;cursor:pointer;transition:all .2s ease;flex-shrink:0;padding:0!important;margin:0!important;box-shadow:none!important}.logout-btn:hover{background:#ef44441a!important;color:#dc2626!important;transform:none!important;box-shadow:none!important}.logout-btn:active{transform:scale(.95)!important}.signature-pad{display:flex;flex-direction:column;gap:.5rem;width:100%}.signature-pad-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.signature-pad-label{font-size:.875rem;font-weight:600;color:#1f2937}.signature-pad.dark .signature-pad-label{color:#f9fafb}.signature-pad-clear-btn{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .6rem;font-size:.75rem;font-weight:500;background:transparent;border:1px solid #d1d5db;border-radius:6px;color:#6b7280;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.signature-pad-clear-btn:hover{background:#f3f4f6;color:#ef4444;border-color:#ef4444}.signature-pad.dark .signature-pad-clear-btn{border-color:#374151;color:#9ca3af}.signature-pad.dark .signature-pad-clear-btn:hover{background:#1f2937;color:#f87171;border-color:#f87171}.signature-pad-canvas-wrap{position:relative;width:100%;height:100px;background:#fff;border:1.5px dashed #d1d5db;border-radius:8px;overflow:hidden;touch-action:none}.signature-pad.dark .signature-pad-canvas-wrap{background:#0f172a;border-color:#374151}.signature-pad-canvas{width:100%;height:100%;display:block;cursor:crosshair}.missing-info-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.missing-info-modal{background:#fff;border-radius:16px;padding:24px;max-width:420px;width:90%;box-shadow:0 4px 20px #00000026}.missing-info-title{text-align:center;font-size:20px;font-weight:600;color:#1a365d;margin:0 0 16px}.completeness-score-section{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f1f5f9;border-radius:8px;margin-bottom:16px;flex-wrap:wrap}.completeness-label{font-size:14px;font-weight:600;color:#334155}.completeness-score{font-size:18px;font-weight:700}.completeness-message{font-size:13px;color:#64748b;font-style:italic}.missing-info-content{background:#f8fafc;border-radius:12px;padding:16px;margin-bottom:16px}.missing-info-header{display:flex;align-items:flex-end;gap:10px;margin-bottom:12px}.warning-icon{width:20px;height:20px;flex-shrink:0;color:#f59e0b;display:block}.header-text{font-size:15px;font-weight:500;color:#334155;line-height:1.4}.missing-items-list{list-style:none;padding:0;margin:0 0 0 8px;max-height:180px;overflow-y:auto}.missing-items-list::-webkit-scrollbar{width:6px}.missing-items-list::-webkit-scrollbar-track{background:#e2e8f0;border-radius:3px}.missing-items-list::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:3px}.missing-items-list::-webkit-scrollbar-thumb:hover{background:#64748b}.complete-info-content{background:#10b9811a;border:1px solid rgba(16,185,129,.3);border-radius:8px;padding:16px;margin-bottom:16px}.complete-info-header{display:flex;align-items:center;gap:10px}.success-icon{font-size:1.5rem}.complete-info-header .header-text{font-weight:500;color:#059669;font-size:1rem}.missing-item-row{list-style:none}.missing-item{display:flex;align-items:center;gap:10px;padding:4px 0;font-size:14px;color:#475569}.missing-item-row:first-child .missing-item{padding-top:2px}.missing-item .item-text{flex:1}.missing-item-add-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s;flex-shrink:0}.missing-item-add-btn:hover{background:#f1f5f9;border-color:#94a3b8}.missing-item-add-btn.expanded{background:#f1f5f9;border-color:#94a3b8;padding:4px 6px}.missing-item-add-panel{margin:6px 0 8px;display:flex;flex-direction:column;gap:8px}.missing-item-textarea-wrap{position:relative;display:flex;align-items:flex-start;background:#fff;border:1px solid #cbd5e1;border-radius:8px;transition:border-color .15s;width:100%;box-sizing:border-box}.missing-item-textarea-wrap:focus-within{border-color:#3b82f6}.missing-info-modal textarea.missing-item-textarea{flex:1;min-width:0;width:auto;border:none;outline:none;resize:none;padding:8px 10px;margin:0;font-size:13px;font-family:inherit;line-height:1.4;color:#1f2937;background:transparent;height:36px;min-height:36px;max-height:140px;overflow-y:auto;display:block;box-sizing:border-box;border-top-left-radius:8px;border-bottom-left-radius:8px}.missing-info-modal textarea.missing-item-textarea:focus{box-shadow:none;border:none}.missing-item-textarea:disabled{opacity:.6}.missing-item-mic-btn{display:flex;align-items:center;justify-content:center;border:none;background:linear-gradient(135deg,#ec4899,#db2777);color:#fff;width:36px;height:36px;align-self:flex-start;margin:0;border-top-right-radius:7px;border-bottom-right-radius:7px;cursor:pointer;transition:opacity .15s,transform .1s;flex-shrink:0}.missing-item-mic-btn:hover:not(:disabled){opacity:.9}.missing-item-mic-btn:active:not(:disabled){transform:scale(.95)}.missing-item-mic-btn:disabled{opacity:.5;cursor:not-allowed}.missing-item-submit-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;background:#10b981;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s}.missing-item-submit-btn:hover:not(:disabled){background:#059669}.missing-item-submit-btn:disabled{background:#94a3b8;cursor:not-allowed}.missing-item-spin{animation:missing-item-spin .8s linear infinite}@keyframes missing-item-spin{to{transform:rotate(360deg)}}.missing-item-feedback{margin:4px 0 8px;padding:6px 10px;border-radius:6px;font-size:12px;line-height:1.35}.missing-item-feedback.success{background:#10b9811a;color:#059669;border:1px solid rgba(16,185,129,.3)}.missing-item-feedback.error{background:#ef444414;color:#b91c1c;border:1px solid rgba(239,68,68,.25)}.item-icon{width:20px;height:20px;background:#f59e0b;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.item-text{line-height:1.3}.missing-info-question{font-size:14px;color:#64748b;text-align:center;margin:0 0 20px}.missing-info-buttons{display:flex;gap:12px}.add-details-btn{flex:1;padding:12px 20px;background:#4a9cd4;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}.add-details-btn:hover{background:#3a8cc4}.submit-anyway-btn{flex:1;padding:12px 20px;background:#10b981;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.submit-anyway-btn:hover{background:#059669}.reviewing-animation-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:1.5rem}.clipboard-magnifier-scene{position:relative;width:100px;height:120px;display:flex;align-items:center;justify-content:center}.clipboard-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.magnifier-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;pointer-events:none}.magnifying-glass-animated{position:absolute;animation:magnifierScan 4s ease-in-out infinite;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}@keyframes magnifierScan{0%{top:-5px;left:5px;transform:rotate(-5deg)}15%{top:10px;left:45px;transform:rotate(8deg)}30%{top:35px;left:50px;transform:rotate(5deg)}50%{top:55px;left:30px;transform:rotate(-3deg)}70%{top:40px;left:0;transform:rotate(-8deg)}85%{top:15px;left:-5px;transform:rotate(-5deg)}to{top:-5px;left:5px;transform:rotate(-5deg)}}.magnifying-glass-wrapper{position:relative;width:60px;height:60px;display:flex;align-items:center;justify-content:center}.magnifying-glass-icon{animation:searchMove 2s ease-in-out infinite}@media(max-width:480px){.missing-info-modal{width:95%;padding:16px;margin:16px;max-height:90vh;overflow-y:auto}.missing-info-title{font-size:18px;margin-bottom:16px}.missing-info-content{padding:12px;margin-bottom:12px}.missing-info-header{gap:8px;margin-bottom:10px}.warning-icon{width:18px;height:18px}.header-text{font-size:14px}.missing-items-list{max-height:160px;margin-left:4px}.missing-item{padding:3px 0;font-size:13px;gap:8px}.item-icon{width:18px;height:18px;font-size:11px}.missing-info-question{font-size:13px;margin-bottom:16px}.missing-info-buttons{flex-direction:column;gap:10px}.add-details-btn,.submit-anyway-btn{padding:14px 16px;font-size:14px;width:100%}}@media(max-width:360px){.missing-info-modal{padding:14px}.missing-info-title{font-size:16px}.header-text{font-size:13px}.missing-items-list{max-height:140px}.missing-item{font-size:12px}}.dark .missing-info-modal{background:#1e293b;border:1px solid #334155;box-shadow:0 20px 50px #00000080}.dark .missing-info-title{color:#f1f5f9}.dark .completeness-score-section{background:#0f172a;border-color:#334155}.dark .completeness-label,.dark .completeness-message{color:#94a3b8}.dark .missing-info-content{background:#fbbf241a;border-color:#fbbf244d}.dark .header-text{color:#e2e8f0}.dark .missing-item{color:#cbd5e1}.dark .item-icon{background:#f59e0b;color:#1e293b}.dark .missing-info-question{color:#94a3b8}.dark .complete-info-content{background:#10b98126;border-color:#10b98166}.dark .complete-info-header .header-text{color:#34d399}.dark .add-details-btn{background:#3b82f6;color:#f0f9ff}.dark .add-details-btn:hover{background:#2563eb}.dark .submit-anyway-btn{background:#10b981;border-color:transparent;color:#fff}.dark .submit-anyway-btn:hover{background:#059669;border-color:transparent;color:#fff}.dark .missing-item-add-btn{background:#0f172a;border-color:#475569;color:#cbd5e1}.dark .missing-item-add-btn:hover,.dark .missing-item-add-btn.expanded{background:#1e293b;border-color:#64748b}.dark .missing-item-textarea-wrap{background:#0f172a;border-color:#475569}.dark .missing-item-textarea-wrap:focus-within{border-color:#60a5fa}.dark .missing-item-textarea{color:#f1f5f9}.dark .missing-item-feedback.success{background:#10b9812e;color:#34d399;border-color:#10b98166}.dark .missing-item-feedback.error{background:#ef444426;color:#fca5a5;border-color:#ef444459}.dark .missing-items-list::-webkit-scrollbar-track{background:#334155}.dark .missing-items-list::-webkit-scrollbar-thumb{background:#475569}.dark .missing-items-list::-webkit-scrollbar-thumb:hover{background:#64748b}.dark .reviewing-text{animation:colorPulseDark 2s ease-in-out infinite}@keyframes colorPulseDark{0%,to{color:#64748b}50%{color:#e2e8f0}}.signature-step{display:flex;flex-direction:column;gap:.75rem;margin:.5rem 0 .25rem}.signature-step .signature-pad-canvas-wrap{height:110px}.signature-step-header{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#1f2937}.dark .signature-step-header{color:#f9fafb}.signature-step-subtitle{margin:0;font-size:.85rem;color:#6b7280}.dark .signature-step-subtitle{color:#9ca3af}.reviewing-animation-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:1rem}.magnifying-glass-wrapper{position:relative;width:60px;height:60px}.magnifying-glass-icon{position:absolute;color:#3b82f6;animation:searchMove 2s ease-in-out infinite}@keyframes searchMove{0%{transform:translate(0) rotate(0)}25%{transform:translate(10px,-5px) rotate(5deg)}50%{transform:translate(5px,5px) rotate(-3deg)}75%{transform:translate(-8px,-3px) rotate(3deg)}to{transform:translate(0) rotate(0)}}.reviewing-text{font-size:1rem;font-weight:500;animation:colorPulse 2s ease-in-out infinite}@keyframes colorPulse{0%,to{color:#94a3b8}50%{color:#334155}}.dark .magnifying-glass-icon{color:#60a5fa}.dark .reviewing-text{color:#94a3b8}.previous-handoffs-wrapper{display:flex;flex-direction:column;gap:.75rem}.previous-handoff-container{background:var(--bg-secondary, #f8fafc);border:1px solid var(--primary, #14b8a6);border-radius:12px;overflow:hidden;transition:all .3s ease;box-shadow:0 2px 8px #14b8a61a}.previous-handoff-container.expanded{box-shadow:0 4px 16px #14b8a626}.previous-handoff-container.no-handoff{opacity:.7}.no-handoff-content{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem}.no-handoff-text{font-size:.9rem;color:var(--text-secondary, #64748b);font-style:italic}[data-theme=dark] .no-handoff-text{color:var(--text-secondary, #94a3b8)}[data-theme=dark] .previous-handoff-container{background:var(--bg-secondary, #1e293b);border-color:var(--primary, #14b8a6)}.previous-handoff-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:1rem 1.25rem;background:transparent;border:none;cursor:pointer;transition:background .2s ease;color:inherit;overflow:hidden}.previous-handoff-header:hover{background:#14b8a614}[data-theme=dark] .previous-handoff-header:hover{background:#14b8a61f}.handoff-header-left{display:flex;align-items:flex-start;gap:.75rem;min-width:0;flex:1}.handoff-header-left>.handoff-icon{margin-top:.15rem}.handoff-icon{color:var(--primary, #14b8a6);flex-shrink:0}[data-theme=dark] .handoff-icon{color:var(--primary, #14b8a6)}.handoff-header-info{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;min-width:0}.handoff-header-title{font-weight:600;font-size:.95rem;color:var(--primary, #14b8a6)}[data-theme=dark] .handoff-header-title{color:var(--primary, #14b8a6)}.handoff-header-meta-row{display:flex;align-items:center;gap:.75rem;opacity:1;max-height:50px;overflow:hidden;transition:opacity .3s ease,max-height .3s ease}.previous-handoff-container.expanded .handoff-header-meta-row{opacity:0;max-height:0}.previous-handoff-header .handoff-header-meta-item{display:flex;align-items:center;gap:.3rem;font-size:.8rem;color:#14b8a6;white-space:nowrap}.previous-handoff-header .handoff-header-meta-item span{color:#14b8a6}.previous-handoff-header .handoff-header-meta-item svg{flex-shrink:0;color:#14b8a6}.handoff-header-right{display:flex;align-items:center;gap:.5rem;color:var(--primary, #14b8a6);flex-shrink:0}[data-theme=dark] .handoff-header-right{color:var(--primary, #14b8a6)}.chevron-icon{display:flex;align-items:center;flex-shrink:0}.previous-handoff-content{padding:0 1.25rem 1.25rem;animation:slideDown .3s ease-out}.handoff-text{font-size:.9rem;line-height:1.6;color:var(--text-primary, #1e293b);white-space:pre-wrap;word-wrap:break-word;background:var(--bg-primary, #ffffff);padding:1rem;border-radius:8px;max-height:300px;overflow-y:auto;border:1px solid rgba(20,184,166,.15)}[data-theme=dark] .handoff-text{color:var(--text-primary, #e2e8f0);background:var(--bg-primary, #0f172a);border-color:#14b8a633}.handoff-text::-webkit-scrollbar{width:6px}.handoff-text::-webkit-scrollbar-track{background:#14b8a61a;border-radius:3px}.handoff-text::-webkit-scrollbar-thumb{background:#14b8a64d;border-radius:3px}.handoff-text::-webkit-scrollbar-thumb:hover{background:#14b8a680}[data-theme=dark] .handoff-text::-webkit-scrollbar-track{background:#14b8a61a}[data-theme=dark] .handoff-text::-webkit-scrollbar-thumb{background:#14b8a64d}[data-theme=dark] .handoff-text::-webkit-scrollbar-thumb:hover{background:#14b8a680}.handoff-section{margin-top:.75rem;border:1px solid rgba(20,184,166,.2);border-radius:8px;overflow:hidden}[data-theme=dark] .handoff-section{border-color:#14b8a64d}.handoff-section-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:#14b8a614;border:none;cursor:pointer;font-size:.9rem;font-weight:600;color:var(--primary, #14b8a6);transition:background .2s ease}.handoff-section-header:hover{background:#14b8a626}[data-theme=dark] .handoff-section-header{background:#14b8a61f;color:var(--primary, #14b8a6)}[data-theme=dark] .handoff-section-header:hover{background:#14b8a633}.handoff-section .handoff-text{border:none;border-radius:0;margin:0}.breakdown-text{max-height:550px}.handoff-text .category-header{display:block;font-size:1.1rem;font-weight:700;margin-top:0rem;margin-bottom:0rem;color:var(--text-primary, #1e293b)}.handoff-text .category-header:first-child{margin-top:0}[data-theme=dark] .handoff-text .category-header{color:var(--text-primary, #e2e8f0)}.handoff-nav-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;margin-bottom:.75rem;background:#14b8a60f;border:1px solid rgba(20,184,166,.15);border-radius:8px;flex-wrap:wrap}.handoff-nav-controls{display:flex;align-items:center;gap:.75rem}.handoff-date-filter-group{display:flex;align-items:center;gap:.4rem}.handoff-date-filter-label{font-size:.8rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .handoff-date-filter-label{color:var(--text-secondary, #94a3b8)}.handoff-date-filter{font-size:.78rem;font-weight:500;padding:.25rem .5rem;border-radius:6px;border:1px solid rgba(20,184,166,.3);cursor:pointer;outline:none;transition:border-color .2s ease;min-width:180px}.handoff-date-filter:hover,.handoff-date-filter:focus{border-color:var(--primary, #14b8a6)}[data-theme=dark] .handoff-date-filter{border-color:#14b8a64d}[data-theme=dark] .handoff-date-filter:hover,[data-theme=dark] .handoff-date-filter:focus{border-color:var(--primary, #14b8a6)}@media(max-width:600px){.handoff-nav-bar{justify-content:center}.handoff-nav-controls{width:100%;justify-content:center}.handoff-date-filter-group{width:100%}.handoff-date-filter{flex:1;min-width:0}.handoff-header-meta-row{flex-direction:column;align-items:flex-start;gap:.15rem}}[data-theme=dark] .handoff-nav-bar{background:#14b8a614;border-color:#14b8a633}.handoff-nav-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid rgba(20,184,166,.3);background:transparent;color:var(--primary, #14b8a6);cursor:pointer;transition:all .2s ease;padding:0}.handoff-nav-btn:hover:not(:disabled){background:#14b8a626;border-color:var(--primary, #14b8a6)}.handoff-nav-btn:disabled{opacity:.3;cursor:not-allowed}[data-theme=dark] .handoff-nav-btn{border-color:#14b8a64d;color:var(--primary, #14b8a6)}[data-theme=dark] .handoff-nav-btn:hover:not(:disabled){background:#14b8a633}.handoff-nav-label{font-size:.8rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .handoff-nav-label{color:var(--text-secondary, #94a3b8)}.language-selector-row{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;margin-bottom:.5rem}.collapsible-wrapper{display:grid;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1),opacity .24s ease,transform .32s cubic-bezier(.22,1,.36,1),margin .32s cubic-bezier(.22,1,.36,1);will-change:grid-template-rows,opacity,transform}.collapsible-wrapper.is-open{grid-template-rows:1fr;opacity:1;transform:translateY(0)}.collapsible-wrapper.is-closed{grid-template-rows:0fr;opacity:0;transform:translateY(-4px);margin-top:0;margin-bottom:0;pointer-events:none}.collapsible-inner{overflow:hidden;min-height:0}.handoff-chevron{display:inline-flex;align-items:center;justify-content:center;transition:transform .28s cubic-bezier(.22,1,.36,1)}.handoff-chevron.is-open{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.collapsible-wrapper,.handoff-chevron{transition:none}}.language-icon{color:var(--text-secondary, #64748b);flex-shrink:0}[data-theme=dark] .language-icon{color:var(--text-secondary, #94a3b8)}.language-label{font-size:.85rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .language-label{color:var(--text-secondary, #94a3b8)}.language-select{padding:.4rem .75rem;border-radius:6px;border:1px solid var(--border-color, #d1d5db);font-size:.85rem;cursor:pointer;min-width:130px;transition:border-color .2s ease,box-shadow .2s ease}.language-select:hover:not(:disabled){border-color:var(--primary, #14b8a6)}.language-select:focus{outline:none;border-color:var(--primary, #14b8a6);box-shadow:0 0 0 2px #14b8a633}.language-select:disabled{cursor:wait;opacity:.7}[data-theme=dark] .language-select{background:var(--bg-primary, #1e293b);color:var(--text-primary, #f9fafb);border-color:var(--border-color, #374151)}.translating-spinner{color:var(--primary, #14b8a6);animation:spin 1s linear infinite}.spin{animation:spin 1s linear infinite;color:var(--primary, #14b8a6)}.highlighting-text{font-size:.75rem;color:var(--text-secondary, #9ca3af);margin-right:8px;font-style:italic}@media(max-width:768px){.previous-handoff-header{padding:.875rem 1rem}.handoff-header-title{font-size:.9rem}.previous-handoff-content{padding:0 1rem 1rem}.handoff-text{font-size:.85rem;padding:.75rem;max-height:250px}.language-selector-row{flex-wrap:nowrap;gap:.4rem}.language-label{flex-shrink:0}.language-select{flex:1 1 auto;min-width:0;font-size:.8rem;padding:.4rem .5rem}}.handoff-icon.admission-icon{color:#22c55e}.handoff-icon.procedure-icon{color:#f97316}.handoff-icon.discharge-icon{color:#8b5cf6}.previous-handoff-container.admission-handoff{border-color:#22c55e;box-shadow:0 2px 8px #22c55e1a}.previous-handoff-container.admission-handoff.expanded{box-shadow:0 4px 16px #22c55e26}.previous-handoff-container.admission-handoff .previous-handoff-header:hover{background:#22c55e14}[data-theme=dark] .previous-handoff-container.admission-handoff .previous-handoff-header:hover{background:#22c55e1f}.previous-handoff-container.admission-handoff .handoff-header-title,.previous-handoff-container.admission-handoff .handoff-header-meta-item,.previous-handoff-container.admission-handoff .handoff-header-meta-item span{color:#22c55e}.previous-handoff-container.admission-handoff .handoff-header-meta-item svg{color:#22c55e}.previous-handoff-container.admission-handoff .handoff-header-right{color:#22c55e}.previous-handoff-container.procedure-handoff{border-color:#f97316;box-shadow:0 2px 8px #f973161a}.previous-handoff-container.procedure-handoff.expanded{box-shadow:0 4px 16px #f9731626}.previous-handoff-container.procedure-handoff .previous-handoff-header:hover{background:#f9731614}[data-theme=dark] .previous-handoff-container.procedure-handoff .previous-handoff-header:hover{background:#f973161f}.previous-handoff-container.procedure-handoff .handoff-header-title,.previous-handoff-container.procedure-handoff .handoff-header-meta-item,.previous-handoff-container.procedure-handoff .handoff-header-meta-item span{color:#f97316}.previous-handoff-container.procedure-handoff .handoff-header-meta-item svg{color:#f97316}.previous-handoff-container.procedure-handoff .handoff-header-right{color:#f97316}.previous-handoff-container.discharge-handoff{border-color:#8b5cf6;box-shadow:0 2px 8px #8b5cf61a}.previous-handoff-container.discharge-handoff.expanded{box-shadow:0 4px 16px #8b5cf626}.previous-handoff-container.discharge-handoff .previous-handoff-header:hover{background:#8b5cf614}[data-theme=dark] .previous-handoff-container.discharge-handoff .previous-handoff-header:hover{background:#8b5cf61f}.previous-handoff-container.discharge-handoff .handoff-header-title,.previous-handoff-container.discharge-handoff .handoff-header-meta-item,.previous-handoff-container.discharge-handoff .handoff-header-meta-item span{color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-header-meta-item svg{color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-header-right{color:#8b5cf6}.previous-handoff-container.admission-handoff .handoff-metadata-section{background:#22c55e0f;border-color:#22c55e33}[data-theme=dark] .previous-handoff-container.admission-handoff .handoff-metadata-section{background:#22c55e14;border-color:#22c55e33}.previous-handoff-container.admission-handoff .metadata-icon{color:#22c55e}.previous-handoff-container.admission-handoff .handoff-nav-bar{background:#22c55e0f;border-color:#22c55e26}[data-theme=dark] .previous-handoff-container.admission-handoff .handoff-nav-bar{background:#22c55e14;border-color:#22c55e33}.previous-handoff-container.admission-handoff .handoff-nav-btn{border-color:#22c55e4d;color:#22c55e}.previous-handoff-container.admission-handoff .handoff-nav-btn:hover:not(:disabled){background:#22c55e26;border-color:#22c55e}.previous-handoff-container.admission-handoff .handoff-section{border-color:#22c55e33}.previous-handoff-container.admission-handoff .handoff-section-header{background:#22c55e14;color:#22c55e}.previous-handoff-container.admission-handoff .handoff-section-header:hover{background:#22c55e26}.previous-handoff-container.admission-handoff .handoff-text{border-color:#22c55e26}.previous-handoff-container.procedure-handoff .handoff-metadata-section{background:#f973160f;border-color:#f9731633}[data-theme=dark] .previous-handoff-container.procedure-handoff .handoff-metadata-section{background:#f9731614;border-color:#f9731633}.previous-handoff-container.procedure-handoff .metadata-icon{color:#f97316}.previous-handoff-container.procedure-handoff .handoff-nav-bar{background:#f973160f;border-color:#f9731626}[data-theme=dark] .previous-handoff-container.procedure-handoff .handoff-nav-bar{background:#f9731614;border-color:#f9731633}.previous-handoff-container.procedure-handoff .handoff-nav-btn{border-color:#f973164d;color:#f97316}.previous-handoff-container.procedure-handoff .handoff-nav-btn:hover:not(:disabled){background:#f9731626;border-color:#f97316}.previous-handoff-container.procedure-handoff .handoff-section{border-color:#f9731633}.previous-handoff-container.procedure-handoff .handoff-section-header{background:#f9731614;color:#f97316}.previous-handoff-container.procedure-handoff .handoff-section-header:hover{background:#f9731626}.previous-handoff-container.procedure-handoff .handoff-text{border-color:#f9731626}.previous-handoff-container.discharge-handoff .handoff-metadata-section{background:#8b5cf60f;border-color:#8b5cf633}[data-theme=dark] .previous-handoff-container.discharge-handoff .handoff-metadata-section{background:#8b5cf614;border-color:#8b5cf633}.previous-handoff-container.discharge-handoff .metadata-icon{color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-nav-bar{background:#8b5cf60f;border-color:#8b5cf626}[data-theme=dark] .previous-handoff-container.discharge-handoff .handoff-nav-bar{background:#8b5cf614;border-color:#8b5cf633}.previous-handoff-container.discharge-handoff .handoff-nav-btn{border-color:#8b5cf64d;color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-nav-btn:hover:not(:disabled){background:#8b5cf626;border-color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-section{border-color:#8b5cf633}.previous-handoff-container.discharge-handoff .handoff-section-header{background:#8b5cf614;color:#8b5cf6}.previous-handoff-container.discharge-handoff .handoff-section-header:hover{background:#8b5cf626}.previous-handoff-container.discharge-handoff .handoff-text{border-color:#8b5cf626}.previous-handoff-container .category-section{padding:.1rem 1rem;margin-bottom:.1rem}.previous-handoff-container .category-section h3{margin-bottom:.2rem;font-size:.75rem}.previous-handoff-container .analysis-sections{margin:.5rem 0;gap:.5rem}.handoff-acceptance-section{background:#f59e0b14;border:1px solid #f59e0b;border-radius:8px;padding:1rem;margin-top:1rem;margin-bottom:1rem}[data-theme=dark] .handoff-acceptance-section{background:#f59e0b1f}.acceptance-title{font-size:.95rem;font-weight:600;color:#f59e0b;margin:0 0 .75rem}.acceptance-checks{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.acceptance-check-item{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;color:var(--text-primary, #1f2937)}[data-theme=dark] .acceptance-check-item{color:var(--text-primary, #f9fafb)}.acceptance-check-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#f59e0b}.accept-handoff-btn{width:100%;padding:.625rem 1rem;background:#f59e0b;color:#fff;border:none;border-radius:6px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.accept-handoff-btn:hover:not(:disabled){background:#d97706;transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b4d}.accept-handoff-btn:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}[data-theme=dark] .accept-handoff-btn:disabled{background:#4b5563}.previous-handoff-container:has(.previous-handoff-header.pending-acceptance){border-color:#f59e0b}.previous-handoff-header.pending-acceptance{background:#f59e0b1f!important}[data-theme=dark] .previous-handoff-header.pending-acceptance{background:#f59e0b2e!important}.previous-handoff-header.pending-acceptance .handoff-header-meta-item,.previous-handoff-header.pending-acceptance .handoff-header-meta-item span{color:#f59e0b!important}.previous-handoff-header.pending-acceptance .handoff-header-meta-item svg{color:#f59e0b!important}.previous-handoff-header.pending-acceptance .handoff-header-right{color:#f59e0b!important}.previous-handoff-header.pending-acceptance .chevron-icon svg{color:#f59e0b!important}.previous-handoff-header.pending-acceptance .handoff-icon,.previous-handoff-header.pending-acceptance .handoff-icon.admission-icon,.previous-handoff-header.pending-acceptance .handoff-icon.procedure-icon,.previous-handoff-header.pending-acceptance .handoff-icon.discharge-icon{color:#f59e0b!important}.pending-icon{animation:pulse-hourglass 2s ease-in-out infinite}@keyframes pulse-hourglass{0%,to{opacity:1}50%{opacity:.6}}.critical-alert-icon{animation:pulse-hourglass 2s ease-in-out infinite;margin-left:.5rem}.previous-handoff-header.pending-acceptance .handoff-icon.critical-alert-icon{color:#ef4444!important}.critical-alert-tooltip-wrap{position:relative;display:inline-flex;align-items:center;cursor:help;outline:none}.critical-alert-tooltip-portal{position:fixed;background:#fff;color:#1f2937;border:1px solid rgba(15,23,42,.12);font-size:.78rem;font-weight:500;line-height:1.3;padding:.5rem .7rem;border-radius:6px;white-space:normal;width:max-content;max-width:min(220px,calc(100vw - 16px));box-shadow:0 4px 12px #0f172a26;z-index:10050;pointer-events:none}[data-theme=dark] .critical-alert-tooltip-portal{background:#1f2937;color:#fff;border-color:#ffffff14;box-shadow:0 4px 12px #00000073}.critical-values-loading{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:.75rem;background:#3b82f60d;border:1px solid rgba(59,130,246,.2);border-radius:6px;color:#3b82f6;font-size:.875rem}[data-theme=dark] .critical-values-loading{background:#3b82f61a;border-color:#3b82f64d}.critical-values-loading .spinner{animation:spin 1s linear infinite}.critical-values-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1rem}@media(max-width:768px){.critical-values-container{grid-template-columns:repeat(2,1fr);gap:.5rem}.critical-value-tile{padding:.75rem;min-width:0}.critical-value-label{font-size:.875rem}}@media(max-width:480px){.critical-values-container{grid-template-columns:repeat(2,1fr);gap:.4rem}.critical-value-tile{padding:.5rem .55rem;gap:.35rem;border-radius:8px}.critical-value-header{gap:.25rem}.critical-value-icon{width:15px;height:15px}.critical-value-icon svg{width:15px;height:15px}.critical-value-label{font-size:.8125rem}.critical-value-direction{top:0;right:0;padding:.0625rem .3125rem .0625rem .25rem;border-radius:0 6px;font-size:.5625rem}.critical-value-direction svg{width:10px;height:10px}.critical-value-value{font-size:.9375rem}}.critical-value-tile{display:flex;flex-direction:column;gap:.5rem;padding:.875rem;background:#fee2e2;border:2px solid rgba(254,202,202,1);border-radius:10px;transition:transform .2s ease,box-shadow .2s ease;position:relative}[data-theme=dark] .critical-value-tile{background:#7f1d1d4d;border-color:#b91c1c80}.critical-value-tile:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ef444426}.critical-value-header{display:flex;align-items:center;gap:.375rem;min-width:0}.critical-value-icon{flex-shrink:0;color:#dc2626;width:18px;height:18px;display:flex;align-items:center}[data-theme=dark] .critical-value-icon{color:#ef4444}.critical-value-label{font-size:.9375rem;font-weight:700;color:#1f2937;letter-spacing:-.01em;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-theme=dark] .critical-value-label{color:#f9fafb}.critical-value-direction{position:absolute;top:0;right:0;z-index:1;display:inline-flex;align-items:center;gap:.0625rem;padding:.125rem .375rem .125rem .3125rem;border-radius:0 8px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em;line-height:1.3;color:#b91c1c;background:#dc26261f}.critical-value-direction svg{width:11px;height:11px}[data-theme=dark] .critical-value-direction{color:#fca5a5;background:#f871712e}.critical-value-content{display:flex;flex-direction:column;gap:.25rem;min-width:0}.critical-value-value{font-size:1.125rem;font-weight:700;color:#dc2626;line-height:1.15;letter-spacing:-.02em;min-width:0;overflow-wrap:anywhere;word-break:break-word}[data-theme=dark] .critical-value-value{color:#ef4444}.all-vitals-section{margin-top:1.5rem;margin-bottom:1rem;position:relative}.all-vitals-title{font-size:.875rem;font-weight:600;color:#1f2937;margin-bottom:.5rem;letter-spacing:-.01em}[data-theme=dark] .all-vitals-title{color:#f9fafb}.all-vitals-list{display:flex;flex-direction:column;gap:.1rem;background:transparent;border:none;border-radius:0;padding:0;max-height:11rem;overflow-y:auto;padding-right:.25rem}.all-vitals-list::-webkit-scrollbar{width:6px}.all-vitals-list::-webkit-scrollbar-track{background:#0000000d;border-radius:3px}.all-vitals-list::-webkit-scrollbar-thumb{background:#f59e0b4d;border-radius:3px}.all-vitals-list::-webkit-scrollbar-thumb:hover{background:#f59e0b80}[data-theme=dark] .all-vitals-list::-webkit-scrollbar-track{background:#ffffff0d}[data-theme=dark] .all-vitals-list::-webkit-scrollbar-thumb{background:#f59e0b66}[data-theme=dark] .all-vitals-list::-webkit-scrollbar-thumb:hover{background:#f59e0b99}.vital-sign-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem .625rem;background:transparent;border-radius:6px;border-bottom:1px solid rgba(15,23,42,.12)}.vital-sign-row:last-child{border-bottom:none}[data-theme=dark] .vital-sign-row{background:transparent;border-bottom-color:#f8fafc24}.vital-sign-left{display:flex;align-items:center;gap:.625rem;flex:1}.vital-sign-label{font-size:.75rem;font-weight:600;color:#1f2937;min-width:45px}[data-theme=dark] .vital-sign-label{color:#f9fafb}.vital-sign-value{font-size:.8125rem;font-weight:600;color:#374151}[data-theme=dark] .vital-sign-value{color:#f3f4f6}.vital-sign-badge{padding:0;border-radius:0;font-size:.6875rem;font-weight:600;text-transform:capitalize;min-width:80px;white-space:nowrap;text-align:center;background:transparent;border:none}.vital-sign-badge.critical{color:#dc2626}[data-theme=dark] .vital-sign-badge.critical{color:#f87171}.vital-sign-badge.moderate{color:#d97706}[data-theme=dark] .vital-sign-badge.moderate{color:#fbbf24}.vital-sign-badge.normal{color:#059669}[data-theme=dark] .vital-sign-badge.normal{color:#34d399}.follow-up-questions-section{margin:1.25rem -1rem 1rem;padding:.75rem 1rem 0;border-top:1px solid rgba(245,158,11,.55)}[data-theme=dark] .follow-up-questions-section{border-top-color:#f59e0ba6}.follow-up-questions-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.5rem}.follow-up-questions-header .all-vitals-title{margin-bottom:0}.follow-up-questions-list{max-height:none;padding-right:0;display:flex;flex-direction:column;gap:.4rem}.follow-up-question-row{display:flex;align-items:flex-start;gap:.5rem;padding:.55rem .7rem;background:#f59e0b24;border:1px solid rgba(245,158,11,.45);border-radius:8px}[data-theme=dark] .follow-up-question-row{background:#f59e0b2e;border-color:#f59e0b8c}.follow-up-question-number{font-size:.8125rem;font-weight:600;color:#b45309;flex-shrink:0;line-height:1.4}[data-theme=dark] .follow-up-question-number{color:#fbbf24}.follow-up-question-text{display:block;font-size:.8125rem;font-weight:400;color:#1f2937;line-height:1.4}[data-theme=dark] .follow-up-question-text{color:#f3f4f6}.follow-up-loading{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#6b7280;padding:.5rem .625rem}[data-theme=dark] .follow-up-loading{color:#9ca3af}.follow-up-loading .spin,.suggestions-refresh-btn .spin{animation:followup-spin .8s linear infinite}@keyframes followup-spin{to{transform:rotate(360deg)}}.vitals-scroll-indicator{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:.375rem;padding:1.5rem 1rem .625rem;background:linear-gradient(to bottom,transparent 0%,#f3ede3 60%,#f3ede3 100%);font-size:.75rem;font-weight:600;color:#d97706;cursor:default;transition:opacity .3s ease;z-index:10;border-radius:0;pointer-events:none;opacity:0}.vitals-scroll-indicator.visible{opacity:1}[data-theme=dark] .vitals-scroll-indicator{background:linear-gradient(to bottom,transparent 0%,#2c2824 60%,#2c2824 100%);color:#fbbf24}.vitals-scroll-indicator svg{flex-shrink:0;animation:vitals-bounce 1s infinite}.vitals-scroll-indicator span{white-space:nowrap}@keyframes vitals-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}@media(max-width:768px){.critical-value-value{font-size:1rem}.vital-sign-row{flex-direction:row;align-items:center;gap:.5rem;padding:.5rem}.vital-sign-left{flex:1;gap:.5rem;min-width:0}.vital-sign-label{font-size:.7rem;min-width:35px}.vital-sign-value{font-size:.75rem;flex:1;min-width:0}.vital-sign-badge{font-size:.65rem;padding:.25rem .4rem;min-width:60px;flex-shrink:0}}.handoff-icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0}.accepted-checkmark{position:absolute;bottom:-2px;right:-4px;color:#22c55e;background:var(--bg-secondary, #f8fafc);border-radius:50%;padding:1px}[data-theme=dark] .accepted-checkmark{background:var(--bg-secondary, #1e293b)}.handoff-metadata-section{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem;background:#14b8a60d;border:1px solid rgba(20,184,166,.15);border-radius:8px;margin-bottom:.75rem;border-bottom-width:1px;transition:border-bottom-width .3s ease,border-bottom-color .3s ease}.previous-handoff-container.expanded .handoff-metadata-section{border-bottom-width:0;border-bottom-color:transparent}[data-theme=dark] .handoff-metadata-section{background:#14b8a614;border-color:#14b8a633}.handoff-metadata-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--text-primary, #1f2937)}[data-theme=dark] .handoff-metadata-item{color:var(--text-primary, #f9fafb)}.handoff-metadata-item.accepted-info{color:#22c55e;font-weight:500}[data-theme=dark] .handoff-metadata-item.accepted-info{color:#22c55e}.metadata-icon{flex-shrink:0;color:var(--primary, #14b8a6)}.handoff-metadata-item.accepted-info .metadata-icon{color:#22c55e}.metadata-label{font-weight:600;min-width:100px}.metadata-value{font-weight:400}@media(max-width:480px){.handoff-metadata-section{padding:.625rem .75rem}.handoff-metadata-item{font-size:.8rem}.metadata-label{min-width:85px}}.handoff-text span.hl-clickable{cursor:pointer;text-decoration:underline dotted currentColor;text-underline-offset:2px}.handoff-text span.hl-clickable:hover{filter:brightness(.92)}.highlight-source-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9000;padding:1rem;animation:fadeIn .15s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.highlight-source-modal{background:var(--card-bg, #ffffff);color:var(--text-color, #111827);border-radius:16px;max-width:520px;width:100%;box-shadow:0 24px 80px #0000004d,0 0 1px #0000001a;overflow:hidden;border:1px solid rgba(0,0,0,.08);animation:slideUp .2s cubic-bezier(.16,1,.3,1)}.highlight-source-modal-header{display:flex;align-items:center;justify-content:center;position:relative;padding:1rem 1.25rem;border-bottom:1px solid rgba(0,0,0,.08);background:#00000005}.modal-title{margin:0;font-size:1rem;font-weight:600;color:inherit;letter-spacing:.02em}.highlight-source-chip{display:inline;font-weight:600;padding:.1rem .35rem;border-radius:4px;font-size:.95rem;letter-spacing:0;line-height:1.6;background:color-mix(in srgb,var(--hl-color, #14b8a6) 22%,transparent)!important;color:var(--hl-color, #14b8a6)!important}[data-theme=dark] .highlight-source-chip{background:color-mix(in srgb,var(--hl-color, #14b8a6) 32%,transparent)!important;color:color-mix(in srgb,var(--hl-color, #14b8a6) 55%,#ffffff)!important}.highlight-source-chip.critical-info{--hl-color: #ee5a24}.highlight-source-chip.vital-sign{--hl-color: #0e7490}.highlight-source-chip.high-priority{--hl-color: #b45309}.highlight-source-chip.medication-highlight{--hl-color: #341f97}.highlight-source-chip.device-highlight{--hl-color: #4b5563}.highlight-source-chip.titration-highlight{--hl-color: #0f766e}.highlight-source-chip.pending-highlight{--hl-color: #7c3aed}.highlight-source-chip.isolation-highlight{--hl-color: #dc2626}.highlight-source-chip.goal-highlight{--hl-color: #0369a1}.highlight-source-chip.time-critical{--hl-color: #0284c7}.highlight-source-chip.safety-highlight{--hl-color: #b45309}.highlight-source-chip.disposition-highlight{--hl-color: #4f46e5}.highlight-source-chip.functional-highlight{--hl-color: #15803d}.highlight-source-chip.cognition-highlight{--hl-color: #7c3aed}.highlight-source-chip.progress-highlight{--hl-color: #0f766e}.highlight-source-chip.discharge-highlight{--hl-color: #0369a1}.highlight-source-chip.mobility-highlight{--hl-color: #15803d}.highlight-source-chip.trend-highlight{--hl-color: #0f766e}.highlight-source-chip.neuro-change{--hl-color: #991b1b}.highlight-source-chip.seizure-highlight{--hl-color: #7c3aed}.highlight-source-chip.icp-highlight{--hl-color: #0f766e}.highlight-source-chip.neuro-safety{--hl-color: #b45309}.highlight-source-chip.pain-management-highlight{--hl-color: #9f1239}.highlight-source-chip.dehydration-risk-highlight{--hl-color: #a16207}.highlight-source-chip.behavioral-crisis-highlight{--hl-color: #581c87}.highlight-source-chip.fall-safety-highlight{--hl-color: #c2410c}.highlight-source-chip.discharge-planning-highlight{--hl-color: #047857}.highlight-source-close{position:absolute;right:1rem;background:transparent;border:none;font-size:1.5rem;line-height:1;cursor:pointer;color:inherit;padding:.25rem;opacity:.6;transition:opacity .15s ease;border-radius:4px}.highlight-source-close:hover{opacity:1;background:#0000000d}.highlight-source-body{padding:1.25rem;display:flex;flex-direction:column;gap:1rem;font-size:.94rem;line-height:1.5}.source-type-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .85rem;border-radius:8px;font-weight:600;font-size:.9rem;width:fit-content;letter-spacing:.02em}.source-type-badge.source-report{background:linear-gradient(135deg,#3b82f61f,#2563eb14);color:#1d4ed8;border:1px solid rgba(59,130,246,.2)}.source-type-badge.source-activity{background:linear-gradient(135deg,#10b9811f,#05966914);color:#047857;border:1px solid rgba(16,185,129,.2)}.source-type-badge.source-inferred{background:linear-gradient(135deg,#8b5cf61f,#7c3aed14);color:#7c3aed;border:1px solid rgba(139,92,246,.2)}.source-type-badge.source-unknown{background:linear-gradient(135deg,#6b72801f,#4b556314);color:#4b5563;border:1px solid rgba(107,114,128,.2)}.source-icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor}.source-label{font-size:.88rem;text-transform:uppercase;letter-spacing:.05em}.source-details{display:flex;flex-direction:column;gap:.65rem;padding:.75rem 0}.source-detail-row{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}.detail-item{display:inline-flex;align-items:baseline;gap:.4rem;font-size:.9rem}.detail-label{font-weight:600;color:#00000080;font-size:.85rem;text-transform:uppercase;letter-spacing:.03em}.detail-value{color:inherit;font-weight:500}.highlighted-term-container{display:block;padding:0rem 0;margin-top:-.5rem;line-height:1.8}.highlight-label{display:inline;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.03em;color:#00000080;margin-right:.5rem}.snippet-container{display:inline;margin-top:-.25rem}.snippet-label{display:inline;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.03em;color:#00000080;margin-right:.5rem}.snippet-text{display:inline;font-weight:400;font-style:italic;color:inherit;line-height:1.6;font-size:.94rem}.snippet-text:before{content:'"'}.snippet-text:after{content:'"'}.highlight-source-meta{color:#000000b3;line-height:1.6}.source-note{opacity:.75;font-size:.88rem;padding:.65rem .85rem;background:#00000008;border-radius:6px;border-left:2px solid rgba(139,92,246,.3)}[data-theme=dark] .highlight-source-modal-backdrop{background:#000000a6}[data-theme=dark] .highlight-source-modal{background:#1e293b;color:#f1f5f9;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 80px #000000b3,0 0 1px #ffffff1a}[data-theme=dark] .highlight-source-modal-header{border-bottom-color:#ffffff1a;background:#ffffff08}[data-theme=dark] .highlight-source-close{color:#f1f5f9}[data-theme=dark] .highlight-source-close:hover{background:#ffffff14}[data-theme=dark] .source-type-badge.source-report{background:linear-gradient(135deg,#60a5fa2e,#3b82f61f);color:#93c5fd;border-color:#60a5fa4d}[data-theme=dark] .source-type-badge.source-activity{background:linear-gradient(135deg,#34d3992e,#10b9811f);color:#6ee7b7;border-color:#34d3994d}[data-theme=dark] .source-type-badge.source-inferred{background:linear-gradient(135deg,#a78bfa2e,#8b5cf61f);color:#c4b5fd;border-color:#a78bfa4d}[data-theme=dark] .source-type-badge.source-unknown{background:linear-gradient(135deg,#9ca3af2e,#6b72801f);color:#d1d5db;border-color:#9ca3af4d}[data-theme=dark] .detail-label,[data-theme=dark] .highlight-label,[data-theme=dark] .snippet-label{color:#ffffff80}[data-theme=dark] .snippet-text{color:#ffffffe6}[data-theme=dark] .highlight-source-meta{color:#ffffffbf}[data-theme=dark] .source-note{background:#ffffff0d;border-left-color:#a78bfa66}@media(max-width:768px){.highlight-source-modal{max-width:95%;margin:0 .5rem}.highlight-source-modal-header{padding:.875rem 1rem}.modal-title{font-size:.95rem}.highlight-source-body{padding:1rem;gap:.75rem;font-size:.875rem}.source-type-badge{padding:.4rem .7rem;font-size:.8rem}.source-icon{width:16px;height:16px}.source-label{font-size:.78rem}.source-details{gap:.5rem;padding:.5rem 0}.source-detail-row{flex-direction:column;gap:.4rem}.detail-item{font-size:.85rem}.detail-label{font-size:.78rem}.detail-value{font-size:.85rem}.highlight-label{font-size:.78rem}.highlight-source-chip{font-size:.875rem;max-width:100%}.snippet-label{font-size:.78rem}.snippet-text{font-size:.875rem}.source-note{font-size:.8rem;padding:.5rem .7rem}}.handoff-acceptance-signature{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows .35s ease,opacity .3s ease,transform .35s ease,margin .35s ease;margin:0;overflow:hidden}.handoff-acceptance-signature.is-open{grid-template-rows:1fr;opacity:1;transform:translateY(0);margin:1rem 0}.handoff-acceptance-signature-inner{min-height:0;display:flex;flex-direction:column;gap:.5rem;overflow:hidden}.handoff-acceptance-signature-inner .signature-pad-label{font-size:.95rem;font-weight:600;color:#f59e0b}.signature-step-error{font-size:.85rem;color:#ef4444;background:#ef44441a;border:1px solid rgba(239,68,68,.25);border-radius:6px;padding:.5rem .75rem}.handoff-signatures-block{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem 2rem;margin-top:.75rem;padding-top:.5rem;border-top:1px solid rgba(148,163,184,.25)}.handoff-signature-entry{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;flex:1 1 240px;min-width:0}@media(max-width:640px){.handoff-signatures-block{flex-direction:column;gap:1.25rem}.handoff-signature-entry{flex:1 1 auto;width:100%}}.handoff-signature-image{display:block;width:100%;max-width:260px;height:90px;object-fit:contain;background:transparent}.handoff-signature-caption{font-size:.85rem;font-weight:500;color:inherit;opacity:.85}.psych-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.psych-modal-content{background:#fff;border-radius:16px;padding:1.5rem;max-width:520px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 60px #0003}[data-theme=dark] .psych-modal-content{background:var(--bg-secondary, #1e293b);color:var(--text-primary, #f1f5f9)}.psych-modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;cursor:pointer;color:#6b7280;padding:.25rem;border-radius:4px;transition:background .2s}.psych-modal-close:hover{background:#f3f4f6;color:#374151}[data-theme=dark] .psych-modal-close:hover{background:#374151;color:#f1f5f9}.psych-modal-title{font-size:1.25rem;font-weight:600;margin:0 0 1.25rem;color:#1f2937}[data-theme=dark] .psych-modal-title{color:#f1f5f9}.psych-activity-grid{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.psych-activity-btn{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:.75rem;padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;cursor:pointer;transition:all .3s ease;width:100%;opacity:1;max-height:60px;overflow:hidden}.psych-activity-btn:hover{transform:translate(4px);box-shadow:0 2px 8px #00000014}.psych-activity-btn.selected{border-width:2px;box-shadow:0 2px 8px #0000001f;cursor:pointer}.psych-activity-btn.hidden{opacity:0;max-height:0;padding:0;margin:0;border-width:0;pointer-events:none}.psych-activity-grid.has-selection{gap:0}.psych-activity-btn span{font-size:.9rem;font-weight:500;text-align:left}[data-theme=dark] .psych-activity-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151)}[data-theme=dark] .psych-activity-btn span{color:var(--text-primary, #f1f5f9)}.psych-divider{border:none;border-top:1px solid #e5e7eb;margin:1rem 0}[data-theme=dark] .psych-divider{border-top-color:#374151}.psych-form{animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.psych-form-title{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:600;margin:0 0 1rem;color:#1f2937}[data-theme=dark] .psych-form-title{color:#f1f5f9}.psych-label{font-size:.875rem;color:#6b7280;margin:.75rem 0 .5rem}[data-theme=dark] .psych-label{color:#9ca3af}.psych-input{width:100%;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;background:#f9fafb;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.psych-input:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}[data-theme=dark] .psych-input{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.psych-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#374151;cursor:pointer}.psych-checkbox input{width:18px;height:18px;cursor:pointer}[data-theme=dark] .psych-checkbox{color:#d1d5db}.psych-button-group{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.psych-route-btn,.psych-response-btn{padding:.6rem 1.25rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;color:#374151}.psych-route-btn:hover,.psych-response-btn:hover{background:#f3f4f6}.psych-route-btn.selected,.psych-response-btn.selected{background:#10b981;border-color:#10b981;color:#fff}[data-theme=dark] .psych-route-btn,[data-theme=dark] .psych-response-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}[data-theme=dark] .psych-route-btn.selected{background:#10b981;border-color:#10b981;color:#fff}.psych-mood-grid{display:flex;flex-wrap:wrap;gap:.5rem}.psych-mood-btn{padding:.5rem 1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:.85rem;cursor:pointer;transition:all .2s;color:#374151}.psych-mood-btn:hover{background:#f3f4f6}.psych-mood-btn.selected{background:#8b5cf6;border-color:#8b5cf6;color:#fff}[data-theme=dark] .psych-mood-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}[data-theme=dark] .psych-mood-btn.selected{background:#8b5cf6;border-color:#8b5cf6;color:#fff}.psych-textarea-container{position:relative;margin-top:.75rem}.psych-textarea{width:100%;padding:.75rem 5rem .75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;font-family:inherit;resize:vertical;min-height:80px;background:#f9fafb;box-sizing:border-box}.psych-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}[data-theme=dark] .psych-textarea{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.psych-record-btn{position:absolute;right:.5rem;top:.5rem;display:flex;align-items:center;justify-content:center;padding:.5rem;border:none;border-radius:8px;background:linear-gradient(135deg,#ec4899,#db2777);color:#1f2937;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #ec48994d}.psych-record-btn:hover{background:linear-gradient(135deg,#f472b6,#ec4899);transform:translateY(-1px);box-shadow:0 4px 12px #ec489966}.psych-record-btn:active{transform:translateY(0)}[data-theme=dark] .psych-record-btn{color:#1f2937}.psych-incident-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.psych-incident-btn{padding:.75rem 1rem;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;color:#dc2626;text-align:center}.psych-incident-btn:hover{background:#fee2e2}.psych-incident-btn.selected{background:#dc2626;border-color:#dc2626;color:#fff}[data-theme=dark] .psych-incident-btn{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}[data-theme=dark] .psych-incident-btn.selected{background:#dc2626;border-color:#dc2626;color:#fff}.psych-legal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-bottom:.75rem}.psych-legal-btn{padding:.75rem 1rem;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;color:#2563eb;text-align:center}.psych-legal-btn:hover{background:#dbeafe}.psych-legal-btn.selected{background:#2563eb;border-color:#2563eb;color:#fff}[data-theme=dark] .psych-legal-btn{background:#1e3a5f;border-color:#1e40af;color:#93c5fd}[data-theme=dark] .psych-legal-btn.selected{background:#2563eb;border-color:#2563eb;color:#fff}.psych-vitals-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.psych-vital-field{display:flex;flex-direction:column;gap:.25rem}.psych-vital-field label{font-size:.85rem;font-weight:500;color:#374151}[data-theme=dark] .psych-vital-field label{color:#d1d5db}.psych-vital-field input{padding:.6rem .75rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background:#f9fafb}.psych-vital-field input:focus{outline:none;border-color:#22c55e;box-shadow:0 0 0 3px #22c55e1a}[data-theme=dark] .psych-vital-field input{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.psych-form-actions{display:flex;gap:.75rem;margin-top:1.25rem}.psych-cancel-btn{flex:1;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;color:#374151}.psych-cancel-btn:hover{background:#f3f4f6}[data-theme=dark] .psych-cancel-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.psych-save-btn{flex:1;padding:.75rem 1rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;color:#fff}.psych-save-btn:disabled{opacity:.5;cursor:not-allowed}.psych-save-btn.medication{background:#10b981}.psych-save-btn.medication:hover:not(:disabled){background:#059669}.psych-save-btn.behavior{background:#8b5cf6}.psych-save-btn.behavior:hover:not(:disabled){background:#7c3aed}.psych-save-btn.safety{background:#ef4444}.psych-save-btn.safety:hover:not(:disabled){background:#dc2626}.psych-save-btn.legal{background:#3b82f6}.psych-save-btn.legal:hover:not(:disabled){background:#2563eb}.psych-save-btn.vitals{background:#22c55e}.psych-save-btn.vitals:hover:not(:disabled){background:#16a34a}.psych-save-btn.freeNote{background:#6b7280}.psych-save-btn.freeNote:hover:not(:disabled){background:#4b5563}.psych-form-row{margin-bottom:.75rem}@media(max-width:480px){.psych-activity-grid{grid-template-columns:repeat(2,1fr)}.psych-incident-grid,.psych-legal-grid,.psych-vitals-grid{grid-template-columns:1fr}.psych-form-actions{flex-direction:row}.psych-cancel-btn,.psych-save-btn{padding:.65rem .5rem;font-size:.85rem}}.activity-btn.quick-log-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;border:none;padding:.875rem 1.25rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.activity-btn.quick-log-btn:hover:not(:disabled){background:linear-gradient(135deg,#0d9488,#0f766e);transform:translateY(-1px);box-shadow:0 4px 12px #14b8a64d}.activity-btn.quick-log-btn:disabled{opacity:.5;cursor:not-allowed!important;transform:none!important;pointer-events:none}.activity-btn.quick-log-btn svg{flex-shrink:0}.key-focus-container{background:var(--bg-secondary, #f8fafc);border:2px solid #3b82f6;border-radius:12px;margin-bottom:1rem;overflow:hidden;transition:box-shadow .3s ease;box-shadow:0 2px 8px #3b82f626}.key-focus-container.expanded{box-shadow:0 4px 16px #3b82f640}[data-theme=dark] .key-focus-container{background:var(--bg-secondary, #1e293b);border-color:#3b82f6}.key-focus-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:1rem 1.25rem;background:transparent;border:none;cursor:pointer;text-align:left;transition:background .2s ease}.key-focus-header:hover{background:#3b82f614}[data-theme=dark] .key-focus-header:hover{background:#3b82f61f}.key-focus-title-row{display:flex;align-items:center;gap:.75rem}.focus-icon{color:#3b82f6;flex-shrink:0}.key-focus-title-text{display:flex;flex-direction:column;gap:.125rem}.key-focus-title{font-size:1rem;font-weight:600;color:#3b82f6}.key-focus-subtitle{font-size:.75rem;color:var(--text-secondary, #64748b)}.key-focus-header svg:last-child{color:#3b82f6}.key-focus-content{padding:0 1.25rem 1.25rem;animation:slideDown .3s ease-out}.focus-loading{display:flex;align-items:center;gap:.75rem;padding:1rem;color:var(--text-secondary, #64748b);font-size:.875rem}.focus-loading .spin{animation:spin 1s linear infinite;color:var(--accent-green, #059669)}.focus-error{padding:1rem;color:var(--accent-red, #dc2626);font-size:.875rem;background:#dc26261a;border-radius:8px}.focus-empty{padding:1rem;color:var(--text-secondary, #64748b);font-size:.875rem;font-style:italic}.focus-areas-text{font-size:.85rem;line-height:1.4;color:var(--text-primary, #1f2937)}[data-theme=dark] .focus-areas-text{color:var(--text-primary, #f9fafb)}.focus-areas-text h2.focus-heading,.focus-areas-text h3.focus-heading{margin:.5rem 0 .25rem;font-weight:600;color:var(--accent-green, #059669)}.focus-areas-text h2.focus-heading:first-child,.focus-areas-text h3.focus-heading:first-child{margin-top:0}.focus-areas-text h2.focus-heading{font-size:.95rem}.focus-areas-text h3.focus-heading{font-size:.9rem}.focus-areas-text ol.focus-numbered-list{margin:.25rem 0 .5rem;padding-left:0;list-style:none;counter-reset:focus-counter}.focus-areas-text ol.focus-numbered-list li{counter-increment:focus-counter;display:flex;align-items:flex-start;gap:.6rem;margin-bottom:.05rem;padding-left:0;line-height:1.5}.focus-areas-text ol.focus-numbered-list li:last-child{margin-bottom:0}.focus-areas-text ol.focus-numbered-list li:before{content:counter(focus-counter);display:inline-flex;align-items:center;justify-content:center;min-width:1.45rem;height:1.45rem;border-radius:6px;background:#3b82f6;color:#fff;font-size:.7rem;font-weight:700;flex-shrink:0;line-height:1;margin-top:.1rem}[data-theme=dark] .focus-areas-text ol.focus-numbered-list li:before{background:#3b82f6;color:#fff}.focus-areas-text ol.focus-numbered-list li .focus-item-text{flex:1;min-width:0}.focus-areas-text strong{font-weight:600;color:var(--text-primary, #1f2937)}[data-theme=dark] .focus-areas-text strong{color:var(--text-primary, #f9fafb)}.focus-areas-text em{font-style:italic}.focus-areas-text p{margin:.25rem 0}.focus-areas-text p:first-child{margin-top:0}.action-item{color:#3b82f6}[data-theme=dark] .action-item{color:#60a5fa}.critical-item{color:#dc2626;font-weight:600}[data-theme=dark] .critical-item{color:#f87171;font-weight:600}.critical-item .action-item,.action-item .critical-item{color:inherit}@media(max-width:768px){.key-focus-header{padding:.875rem 1rem}.key-focus-title{font-size:.9rem}.key-focus-content{padding:0 1rem 1rem}.focus-areas-text{font-size:.85rem}}.logout-summary{position:fixed;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#102b74,#05298c);display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:logoutFadeIn .8s ease-out;font-family:Inter,sans-serif}@keyframes logoutFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.logout-summary.fade-out{animation:logoutFadeOut .8s ease-in forwards}@keyframes logoutFadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-20px)}}.logout-background-dots{position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 80% 25%,rgba(139,92,246,.12) 2px,transparent 3px),radial-gradient(circle at 60% 70%,rgba(59,130,246,.15) 2px,transparent 3px),radial-gradient(circle at 85% 80%,rgba(139,92,246,.1) 2px,transparent 3px),radial-gradient(circle at 15% 85%,rgba(59,130,246,.12) 2px,transparent 3px);animation:logoutFloatDots 8s ease-in-out infinite;z-index:0}@keyframes logoutFloatDots{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-20px);opacity:.9}}.logout-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:600px;padding:2rem}.logout-logo-section{margin-bottom:2rem}.logout-brand-row{display:flex;align-items:center;justify-content:center;gap:1rem}.logout-logo-container{width:46px;height:46px;background:#fff!important;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px #00000040;padding:4px}.logout-logo-image{width:40px;height:40px;object-fit:contain;display:block}.logout-brand-title{color:#fff;font-size:2.5rem;font-weight:800;margin:0;background:linear-gradient(135deg,#fff,#e2e8f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.logout-text-section{margin-bottom:2.5rem}.logout-title{color:#fff;font-size:2rem;font-weight:700;margin:0 0 .75rem;animation:logoutTitleSlide .6s ease-out .2s both}@keyframes logoutTitleSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.logout-subtitle{color:#fffc;font-size:1.1rem;margin:0;animation:logoutTitleSlide .6s ease-out .4s both}.logout-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2.5rem;width:100%;opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}.logout-stats-grid.show{opacity:1;transform:translateY(0)}.logout-stat-card{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;border:1px solid rgba(255,255,255,.15);animation:logoutStatPop .5s ease-out both;animation-delay:inherit;transition:transform .2s ease,background .2s ease}.logout-stat-card:hover{transform:translateY(-2px);background:#ffffff26}@keyframes logoutStatPop{0%{opacity:0;transform:scale(.8) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.logout-stat-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;color:#fff;flex-shrink:0}.logout-stat-icon-activity{background:linear-gradient(135deg,#f97316,#fb923c)}.logout-stat-icon-handoff{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}.logout-stat-icon-patients{background:linear-gradient(135deg,#14b8a6,#06b6d4)}.logout-stat-icon-reports{background:linear-gradient(135deg,#2563eb,#3b82f6)}.logout-stat-icon-recordings{background:linear-gradient(135deg,#db2777,#ec4899)}.logout-stat-icon-time{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}.logout-stat-info{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.logout-stat-value{font-size:1.75rem;font-weight:700;color:#fff;line-height:1}.logout-stat-label{font-size:.85rem;color:#ffffffb3;font-weight:500}.logout-continue-button{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1rem 2.5rem;background:#3b82f6;color:#fff!important;border:none;border-radius:50px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 20px #3b82f666;animation:logoutButtonPulse 2s ease-in-out infinite;font-family:Inter,sans-serif}.logout-continue-button:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 6px 25px #3b82f680}@keyframes logoutButtonPulse{0%,to{box-shadow:0 4px 20px #3b82f666}50%{box-shadow:0 4px 30px #3b82f699}}.logout-continue-button .button-text{font-size:1.1rem;color:#fff!important}.logout-continue-button .button-arrow{width:20px;height:20px;transition:transform .3s ease}.logout-continue-button:hover .button-arrow{transform:translate(4px)}.logout-auto-redirect{margin-top:1.5rem;color:#ffffff80;font-size:.85rem;animation:logoutPulseText 2s ease-in-out infinite}@keyframes logoutPulseText{0%,to{opacity:.5}50%{opacity:.8}}@media(max-width:600px){.logout-summary{padding:1rem 0;overflow-y:auto}.logout-content{padding:2rem 1rem 1rem;max-height:100vh;justify-content:flex-start}.logout-logo-section{margin-bottom:1rem}.logout-brand-row{gap:.5rem}.logout-brand-title{font-size:1.75rem}.logout-logo-image{width:40px;height:40px}.logout-text-section{margin-bottom:1.5rem}.logout-title{font-size:1.25rem;margin-bottom:.5rem}.logout-subtitle{font-size:.9rem}.logout-stats-grid{grid-template-columns:1fr;gap:.5rem;margin-bottom:1.5rem}.logout-stat-card{padding:.75rem 1rem}.logout-stat-icon{width:36px;height:36px}.logout-stat-icon svg{width:20px;height:20px}.logout-stat-value{font-size:1.25rem}.logout-stat-label{font-size:.75rem}.logout-continue-button{padding:.75rem 1.5rem;font-size:.9rem;margin-bottom:.5rem}.logout-redirect-text{font-size:.75rem}}.logout-loading-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin:2rem auto 0}.tooltip-select-container{position:relative;display:inline-block;width:100%;z-index:100}.tooltip-select-container.disabled{opacity:.6;pointer-events:none}.tooltip-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.875rem 3rem .875rem 1rem;border-radius:12px;border:2px solid #e5e7eb;background:#fff;color:#1f2937;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px #0000000d;min-height:auto}.tooltip-select-trigger:hover{border-color:#3b82f6;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;background:#f9fafb}.tooltip-select-trigger.open{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f64d;background:#fff}.tooltip-select-trigger:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f64d;background:#fff}.tooltip-select-value{font-size:.95rem;font-weight:500;color:#1f2937}.tooltip-select-value.placeholder{color:#6b7280}.tooltip-select-arrow{position:absolute;right:1rem;color:#6b7280;transition:transform .2s ease;flex-shrink:0}.tooltip-select-arrow.open{transform:rotate(180deg)}.tooltip-select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 25px #00000026;z-index:9999;max-height:300px;overflow:visible}.tooltip-select-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.tooltip-select-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.tooltip-select-option{position:relative;padding:.4rem 1rem;cursor:pointer;transition:background-color .15s ease;font-size:.95rem;font-weight:500;color:#1f2937}.tooltip-select-option:hover{background-color:#3da2fa;color:#fff}.tooltip-select-option.selected{background-color:#3da2fa;color:#fff;font-weight:600}.tooltip-select-option.selected,.tooltip-select-option.selected .tooltip-select-option-label,.tooltip-select-option:hover,.tooltip-select-option:hover .tooltip-select-option-label{color:#fff}.tooltip-select-option.selected:before{content:"✓ ";color:#fff}.tooltip-select-option.placeholder-option{color:#6b7280;font-style:italic;font-weight:400}.tooltip-select-option.placeholder-option.disabled{opacity:.5;cursor:not-allowed;background-color:transparent}.tooltip-select-option.placeholder-option.disabled:hover{background-color:transparent;color:#6b7280}.tooltip-select-tooltip{position:absolute;background:#fff;color:#1f2937;padding:.625rem .875rem;border-radius:8px;font-size:.85rem;font-weight:400;z-index:10000;box-shadow:0 4px 12px #00000026;width:250px;white-space:normal;line-height:1.5;border:1px solid #e5e7eb;pointer-events:none}.tooltip-select-tooltip.tooltip-right{left:calc(100% + 12px);top:50%;transform:translateY(-50%)}.tooltip-select-tooltip.tooltip-right:before{content:"";position:absolute;right:100%;top:50%;transform:translateY(-50%);border:8px solid transparent;border-right-color:#fff}.tooltip-select-tooltip.tooltip-left{right:calc(100% + 12px);left:auto;top:50%;transform:translateY(-50%)}.tooltip-select-tooltip.tooltip-left:before{content:"";position:absolute;left:100%;top:50%;transform:translateY(-50%);border:8px solid transparent;border-left-color:#fff}[data-theme=dark] .tooltip-select-trigger{border-color:#4b5563;background:#1f2937;color:#e5e7eb}[data-theme=dark] .tooltip-select-trigger:hover{border-color:#60a5fa;background:#374151}[data-theme=dark] .tooltip-select-trigger.open,[data-theme=dark] .tooltip-select-trigger:focus{border-color:#3b82f6;background:#1f2937}[data-theme=dark] .tooltip-select-value{color:#e5e7eb}[data-theme=dark] .tooltip-select-value.placeholder,[data-theme=dark] .tooltip-select-arrow{color:#9ca3af}[data-theme=dark] .tooltip-select-dropdown{background:#1f2937;border-color:#4b5563;box-shadow:0 10px 25px #0006}[data-theme=dark] .tooltip-select-option{color:#e5e7eb}[data-theme=dark] .tooltip-select-option.selected,[data-theme=dark] .tooltip-select-option.selected .tooltip-select-option-label,[data-theme=dark] .tooltip-select-option:hover,[data-theme=dark] .tooltip-select-option:hover .tooltip-select-option-label{color:#fff}[data-theme=dark] .tooltip-select-option.placeholder-option,[data-theme=dark] .tooltip-select-option.placeholder-option.disabled:hover{color:#9ca3af}[data-theme=dark] .tooltip-select-tooltip{background:#1f2937;border-color:#4b5563;color:#e5e7eb}[data-theme=dark] .tooltip-select-tooltip.tooltip-right:before{border-right-color:#1f2937}[data-theme=dark] .tooltip-select-tooltip.tooltip-left:before{border-left-color:#1f2937}.tooltip-select-tooltip.tooltip-top.tooltip-right,.tooltip-select-tooltip.tooltip-top.tooltip-left{top:0;transform:none}.tooltip-select-tooltip.tooltip-bottom.tooltip-right,.tooltip-select-tooltip.tooltip-bottom.tooltip-left{top:auto;bottom:0;transform:none}.tooltip-select-tooltip.tooltip-top.tooltip-right:before,.tooltip-select-tooltip.tooltip-top.tooltip-left:before{top:12px;transform:none}.tooltip-select-tooltip.tooltip-bottom.tooltip-right:before,.tooltip-select-tooltip.tooltip-bottom.tooltip-left:before{top:auto;bottom:12px;transform:none}.session-timeout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease-out}.session-timeout-modal{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:20px;padding:2.5rem;text-align:center;max-width:400px;width:90%;box-shadow:0 25px 50px -12px #00000080;border:1px solid rgba(255,255,255,.1);animation:slideUp .3s ease-out}.timeout-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;animation:pulse 2s ease-in-out infinite}.session-timeout-modal h2{color:#fff;font-size:1.75rem;font-weight:700;margin:0 0 .75rem}.session-timeout-modal p{color:#ffffffb3;font-size:1rem;margin:0 0 1.5rem}.countdown-display{display:flex;flex-direction:column;align-items:center;gap:.25rem;margin-bottom:2rem}.countdown-number{font-size:4rem;font-weight:800;color:#f59e0b;line-height:1;font-variant-numeric:tabular-nums}.countdown-label{font-size:.875rem;color:#ffffff80;text-transform:uppercase;letter-spacing:.1em}.stay-logged-in-btn{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 15px #14b8a64d}.stay-logged-in-btn:active{transform:translateY(0)}.session-timeout-overlay.light .session-timeout-modal{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid rgba(0,0,0,.1)}.session-timeout-overlay.light .session-timeout-modal p{color:#1e293bb3}.session-timeout-overlay.light .countdown-label{color:#1e293b80}.timeout-icon.urgent{background:linear-gradient(135deg,#ef4444,#dc2626);animation:urgentPulse .5s ease-in-out infinite}@keyframes urgentPulse{0%,to{transform:scale(1);box-shadow:0 0 #ef444499}50%{transform:scale(1.08);box-shadow:0 0 0 12px #ef444400}}.countdown-display.urgent .countdown-number{color:#ef4444;animation:countdownPulse 1s ease-in-out infinite}@keyframes countdownPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.logout-warning-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.logout-warning-modal{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:16px;padding:1.5rem;text-align:center;max-width:340px;width:85%;box-shadow:0 25px 50px -12px #00000080;border:1px solid rgba(255,255,255,.1);animation:slideUp .3s ease-out}.logout-warning-icon{width:60px;height:60px;margin:0 auto 1rem;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 0 #f59e0b66}50%{transform:scale(1.05);box-shadow:0 0 0 15px #f59e0b00}}.logout-warning-modal h2{color:#fff;font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.logout-warning-modal p{color:#ffffffd9;font-size:.9rem;margin:0 0 .4rem;line-height:1.4}.logout-warning-subtext{color:#fff9!important;font-size:.85rem!important;margin-bottom:1rem!important}.logout-warning-buttons{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.logout-warning-btn{width:100%;padding:.75rem 1.5rem;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.logout-anyway-btn{background:linear-gradient(135deg,#64748b,#475569);color:#fff;box-shadow:0 4px 15px #64748b4d}.logout-anyway-btn:hover{background:linear-gradient(135deg,#475569,#334155);transform:translateY(-2px);box-shadow:0 6px 20px #64748b66}.stay-logged-in-btn{background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;box-shadow:0 4px 15px #14b8a64d}.stay-logged-in-btn:hover{background:linear-gradient(135deg,#0d9488,#0f766e);transform:translateY(-2px);box-shadow:0 6px 20px #14b8a666}.logout-warning-btn:active{transform:translateY(0)}.logout-warning-overlay.light .logout-warning-modal{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid rgba(0,0,0,.1)}.logout-warning-overlay.light .logout-warning-modal h2{color:#1e293b}.logout-warning-overlay.light .logout-warning-modal p{color:#1e293bd9}.logout-warning-overlay.light .logout-warning-subtext{color:#1e293b99!important}.report-update-toast-container{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:9999;display:flex;flex-direction:column;gap:8px;max-width:400px;width:90%}.report-update-toast{display:flex;align-items:center;gap:12px;padding:12px 16px;background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:12px;box-shadow:0 4px 20px #0000004d;border:1px solid rgba(255,255,255,.1);animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.toast-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;color:#fff;flex-shrink:0}.toast-content{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.toast-field{font-size:.75rem;font-weight:600;color:#10b981;text-transform:uppercase;letter-spacing:.5px}.toast-message{font-size:.875rem;color:#ffffffe6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast-dismiss{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:transparent;border:none;border-radius:6px;color:#ffffff80;cursor:pointer;transition:all .2s ease;flex-shrink:0}.toast-dismiss:hover{background:#ffffff1a;color:#fffc}.report-update-toast-container.light .report-update-toast{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid rgba(0,0,0,.1);box-shadow:0 4px 20px #00000026}.report-update-toast-container.light .toast-message{color:#1e293be6}.report-update-toast-container.light .toast-dismiss{color:#1e293b80}.report-update-toast-container.light .toast-dismiss:hover{background:#0000000d;color:#1e293bcc}@media(max-width:480px){.report-update-toast-container{bottom:70px;width:95%}.report-update-toast{padding:10px 12px}.toast-message{font-size:.8rem}}.feedback-widget-container{position:fixed;bottom:24px;right:24px;z-index:9999;--ease-out-expo: cubic-bezier(.16, 1, .3, 1);--ease-in-expo: cubic-bezier(.7, 0, .84, 0)}.feedback-trigger-btn{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px #3b82f666;transition:transform .25s var(--ease-out-expo),box-shadow .25s var(--ease-out-expo);transform-origin:center;animation:fabPopIn .36s var(--ease-out-expo) both;will-change:transform}.feedback-trigger-btn:hover{transform:scale(1.06);box-shadow:0 6px 24px #3b82f680}.feedback-trigger-btn:active{transform:scale(.94);transition-duration:.12s}@keyframes fabPopIn{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.feedback-panel{width:320px;background:#fff!important;border-radius:16px;box-shadow:0 10px 40px #00000026;overflow:hidden;animation:expandIn .36s var(--ease-out-expo) both;transform-origin:bottom right;will-change:transform,opacity}.feedback-panel.closing{animation:collapseOut .22s var(--ease-in-expo) forwards}@keyframes expandIn{0%{opacity:0;transform:scale(.9) translateY(12px);filter:blur(4px)}60%{opacity:1;filter:blur(0)}to{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}}@keyframes collapseOut{0%{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}to{opacity:0;transform:scale(.9) translateY(8px);filter:blur(3px)}}@media(prefers-reduced-motion:reduce){.feedback-panel,.feedback-panel.closing,.feedback-trigger-btn{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.feedback-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.feedback-header h3{margin:0;font-size:16px;font-weight:600}.feedback-close-btn{background:#fff3;border:none;color:#fff;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease}.feedback-close-btn:hover{background:#ffffff4d}.feedback-body{padding:16px 20px}.feedback-rating{margin-bottom:16px}.rating-label{display:block;font-size:14px;font-weight:500;color:#334155;margin-bottom:8px}.star-rating{display:flex;gap:4px}.star-btn{background:none;border:none;padding:4px;cursor:pointer;transition:transform .2s ease;display:flex;align-items:center;justify-content:center}.star-btn:hover{transform:scale(1.15)}.star-btn.active svg{filter:drop-shadow(0 0 4px rgba(251,191,36,.5))}.feedback-textarea{width:100%;height:120px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:14px;resize:none;transition:border-color .2s ease;box-sizing:border-box}.feedback-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.feedback-textarea:disabled{background:#f8fafc;cursor:not-allowed}.feedback-char-count{text-align:right;font-size:12px;color:#94a3b8;margin-top:4px}.feedback-error{color:#ef4444;font-size:13px;margin-top:8px}.feedback-footer{padding:12px 20px 20px}.feedback-submit-btn{width:100%;padding:12px 16px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease}.feedback-submit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.feedback-submit-btn:disabled{opacity:.6;cursor:not-allowed}.feedback-success{padding:40px 20px;text-align:center}.feedback-success .success-icon{width:48px;height:48px;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;margin:0 auto 16px}.feedback-success p{margin:0;color:#334155;font-size:15px;font-weight:500}.feedback-widget-container .feedback-panel,.feedback-widget-container .feedback-body{background:#fff!important;color:#334155!important}.feedback-widget-container .feedback-textarea{background:#fff!important;color:#334155!important;border-color:#e2e8f0!important}.feedback-widget-container .feedback-textarea::placeholder{color:#94a3b8!important}.feedback-widget-container .feedback-char-count{color:#94a3b8!important}.feedback-widget-container .feedback-footer{background:#fff!important}.feedback-widget-container .feedback-success p{color:#334155!important}.feedback-widget-container .feedback-header h3{color:#fff!important}.feedback-widget-container .feedback-error{color:#ef4444!important}.feedback-widget-container .rating-label{color:#334155!important}.feedback-widget-container .feedback-submit-btn,.feedback-widget-container .feedback-submit-btn span{color:#fff!important}[data-theme=dark] .feedback-widget-container .feedback-panel,[data-theme=dark] .feedback-widget-container .feedback-body{background:#1e293b!important;color:#f1f5f9!important}[data-theme=dark] .feedback-widget-container .feedback-textarea{background:#0f172a!important;color:#f1f5f9!important;border-color:#334155!important}[data-theme=dark] .feedback-widget-container .feedback-textarea::placeholder{color:#64748b!important}[data-theme=dark] .feedback-widget-container .feedback-char-count{color:#64748b!important}[data-theme=dark] .feedback-widget-container .feedback-footer{background:#1e293b!important}[data-theme=dark] .feedback-widget-container .feedback-success p{color:#f1f5f9!important}[data-theme=dark] .feedback-widget-container .feedback-header h3{color:#fff!important}[data-theme=dark] .feedback-widget-container .feedback-error{color:#ef4444!important}[data-theme=dark] .feedback-widget-container .rating-label{color:#f1f5f9!important}[data-theme=dark] .feedback-widget-container .feedback-submit-btn,[data-theme=dark] .feedback-widget-container .feedback-submit-btn span{color:#fff!important}@media(max-width:480px){.feedback-widget-container{bottom:16px;right:16px}.feedback-panel{width:calc(100vw - 32px);max-width:320px}.feedback-trigger-btn{width:48px;height:48px}}@media(max-width:480px){body.rating-modal-open .feedback-widget-container{display:none!important}}@media print{.feedback-widget-container,.feedback-widget-container *,.feedback-panel,.feedback-trigger-btn{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important}}.previous-recordings-container{background:var(--bg-secondary, #f8fafc);border:2px solid #3b82f6;border-radius:12px;margin-bottom:1rem;overflow:hidden;transition:all .3s ease}.previous-recordings-container.expanded{box-shadow:0 4px 12px #3b82f626}.previous-recordings-container.no-recordings{opacity:.7}.no-recordings-content{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem}.no-recordings-text{font-size:.9rem;color:var(--text-secondary, #64748b);font-style:italic}[data-theme=dark] .no-recordings-text{color:var(--text-secondary, #94a3b8)}.previous-recordings-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:transparent;border:none;cursor:pointer;transition:background .2s ease}.previous-recordings-header:hover{background:#3b82f614}.recordings-header-left{display:flex;align-items:center;gap:.75rem}.recordings-icon{color:#3b82f6;flex-shrink:0}.recordings-header-info{display:flex;flex-direction:column;align-items:flex-start}.recordings-header-title{font-weight:600;font-size:1rem;color:#3b82f6}.recordings-header-count{font-size:.85rem;color:var(--text-secondary, #64748b)}.recordings-header-right{display:flex;align-items:center;color:#3b82f6}.previous-recordings-content{padding:0 1rem 1rem}.recordings-loading,.recordings-error{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:2rem;color:var(--text-secondary, #64748b)}.recordings-error{color:#ef4444}.recordings-list{display:flex;flex-direction:column;gap:.75rem}.previous-recording-card{background:#3b82f60f;border:1px solid rgba(59,130,246,.25);border-radius:10px;overflow:hidden;transition:all .2s ease}.previous-recording-card.expanded{box-shadow:0 2px 8px #00000014}.previous-recording-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;background:transparent;border:none;cursor:pointer;transition:background .2s ease;overflow:hidden}.previous-recording-header:hover{background:#00000008}.recording-header-left{display:flex;align-items:center;gap:.625rem}.recording-header-info{display:flex;flex-direction:column;align-items:flex-start}.recording-header-title{font-weight:600;font-size:.95rem}.recording-header-meta{font-size:.8rem;color:#3b82f6}.recording-header-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0;color:#3b82f6}.highlighting-loader{display:flex;align-items:center;gap:.25rem}.highlighting-text{font-size:.85rem;color:var(--text-secondary, #64748b)}[data-theme=dark] .highlighting-text{color:var(--text-secondary, #94a3b8)}.previous-recording-content{padding:.75rem 1rem 1rem;border-top:1px solid var(--border-color, #e5e7eb)}.recording-meta-row{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-color, #e5e7eb)}.recording-meta-item{display:flex;align-items:center;gap:.375rem;font-size:.85rem;color:var(--text-secondary, #64748b)}.recording-meta-item svg{flex-shrink:0}.recording-section{margin-top:.625rem;border:1px solid var(--border-color, #e5e7eb);border-radius:8px;overflow:hidden}.recording-section-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.625rem .875rem;background:var(--bg-secondary, #f8fafc);border:none;cursor:pointer;font-weight:500;font-size:.9rem;color:var(--text-primary, #1f2937);transition:background .2s ease}.recording-section-header:hover{background:#0000000d}.recording-section-content{padding:.75rem .875rem;background:var(--bg-card, #ffffff);font-size:.9rem;line-height:1.6;color:var(--text-primary, #1f2937)}.recording-section-content p{margin:0}.key-points-list{margin:0;padding-left:1.25rem}.key-points-list li{margin-bottom:.375rem}.key-points-list li:last-child{margin-bottom:0}.breakdown-content{display:flex;flex-direction:column;gap:.625rem}.breakdown-category{padding:.625rem;background:var(--bg-secondary, #f8fafc);border-left:3px solid #3b82f6;border-radius:4px}.breakdown-category h4{margin:0 0 .375rem;font-size:.9rem;font-weight:600;color:#3b82f6}.breakdown-category p{margin:0;font-size:.85rem;color:var(--text-primary, #1f2937)}.spin{animation:spin 1s linear infinite}[data-theme=dark] .previous-recordings-container{background:var(--bg-secondary, #1e293b);border-color:#3b82f6}[data-theme=dark] .previous-recordings-header:hover{background:#3b82f61f}[data-theme=dark] .previous-recording-card{background:#3b82f61a;border-color:#3b82f659}[data-theme=dark] .previous-recording-header:hover{background:#ffffff0d}[data-theme=dark] .previous-recording-content{border-top-color:#334155}[data-theme=dark] .recording-meta-row{border-bottom-color:#334155}[data-theme=dark] .recording-section{border-color:#334155}[data-theme=dark] .recording-section-header{background:#ffffff0d;color:var(--text-primary, #f9fafb)}[data-theme=dark] .recording-section-header:hover{background:#ffffff14}[data-theme=dark] .recording-section-content{background:var(--bg-card, #0f172a);color:var(--text-primary, #f9fafb)}[data-theme=dark] .breakdown-category{background:#ffffff0d}[data-theme=dark] .breakdown-category p{color:var(--text-primary, #f9fafb)}[data-theme=dark] .recordings-header-count,[data-theme=dark] .recording-header-meta,[data-theme=dark] .recording-meta-item{color:var(--text-secondary, #94a3b8)}.previous-recordings-wrapper{display:flex;flex-direction:column;gap:.75rem}.recording-header-meta-row{display:flex;align-items:center;gap:.75rem;margin-top:.15rem}.recording-header-meta-item{display:flex;align-items:center;gap:.3rem;font-size:.78rem;color:#3b82f6;white-space:nowrap}.recording-header-meta-item svg{flex-shrink:0}[data-theme=dark] .recording-header-meta-item{color:#60a5fa}.recording-nav-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;margin-bottom:.75rem;background:#3b82f60f;border:1px solid rgba(59,130,246,.2);border-radius:8px;flex-wrap:wrap}[data-theme=dark] .recording-nav-bar{background:#3b82f61a;border-color:#3b82f64d}.recording-nav-controls{display:flex;align-items:center;gap:.75rem}.recording-nav-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid rgba(59,130,246,.35);background:transparent;color:#3b82f6;cursor:pointer;transition:all .2s ease;padding:0}.recording-nav-btn:hover:not(:disabled){background:#3b82f626;border-color:#3b82f6}.recording-nav-btn:disabled{opacity:.3;cursor:not-allowed}[data-theme=dark] .recording-nav-btn{border-color:#3b82f666;color:#60a5fa}[data-theme=dark] .recording-nav-btn:hover:not(:disabled){background:#3b82f633}.recording-nav-label{font-size:.8rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .recording-nav-label{color:var(--text-secondary, #94a3b8)}.recording-date-filter-group{display:flex;align-items:center;gap:.4rem}.recording-date-filter-label{font-size:.8rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .recording-date-filter-label{color:var(--text-secondary, #94a3b8)}.recording-date-filter{font-size:.78rem;font-weight:500;padding:.25rem .5rem;border-radius:6px;border:1px solid rgba(59,130,246,.35);cursor:pointer;outline:none;transition:border-color .2s ease;min-width:180px}.recording-date-filter:hover,.recording-date-filter:focus{border-color:#3b82f6}[data-theme=dark] .recording-date-filter{border-color:#3b82f666}@media(max-width:600px){.recording-nav-bar{justify-content:center}.recording-nav-controls{width:100%;justify-content:center}.recording-date-filter-group{width:100%}.recording-date-filter{flex:1;min-width:0}.recording-header-meta-row{flex-direction:column;align-items:flex-start;gap:.15rem}.recording-header-right{flex-direction:row;align-items:center;justify-content:flex-end;flex-shrink:0}}.recording-language-row{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;margin-bottom:.5rem}.recording-language-icon{color:var(--text-secondary, #64748b);flex-shrink:0}[data-theme=dark] .recording-language-icon{color:var(--text-secondary, #94a3b8)}.recording-language-label{font-size:.85rem;font-weight:500;color:var(--text-secondary, #64748b);white-space:nowrap}[data-theme=dark] .recording-language-label{color:var(--text-secondary, #94a3b8)}.recording-language-select{padding:.4rem .75rem;border-radius:6px;border:1px solid var(--border-color, #d1d5db);font-size:.85rem;cursor:pointer;min-width:130px;transition:border-color .2s ease,box-shadow .2s ease}.recording-language-select:hover:not(:disabled){border-color:#3b82f6}.recording-language-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.recording-language-select:disabled{cursor:wait;opacity:.7}[data-theme=dark] .recording-language-select{background:var(--bg-primary, #1e293b);color:var(--text-primary, #f9fafb);border-color:var(--border-color, #374151)}.recording-translating-spinner{color:#3b82f6}@media(max-width:768px){.recording-language-row{flex-wrap:wrap}.recording-language-select{min-width:120px;font-size:.8rem}}.custom-audio-player{--progress-color: #3b82f6;--track-color: #e5e7eb;--btn-hover-bg: #f3f4f6;--text-color: #1f2937;--border-color: #d1d5db;width:100%;padding:1rem;border-radius:8px;background-color:#f9fafb;border:1px solid var(--border-color)}.custom-audio-player.dark{--progress-color: #60a5fa;--track-color: #374151;--btn-hover-bg: #374151;--text-color: #f9fafb;--border-color: #4b5563;background-color:#1f2937}.audio-controls-row{display:flex;align-items:center;gap:.375rem;margin-bottom:.75rem;flex-wrap:wrap}.control-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:50%;background-color:transparent;color:var(--text-color);cursor:pointer;transition:all .2s ease}.control-btn:hover{background-color:var(--btn-hover-bg)}.control-btn:active{transform:scale(.95)}.play-btn{width:44px;height:44px;background-color:var(--progress-color);color:#fff}.play-btn:hover{opacity:.9;background-color:var(--progress-color)}.speed-btn{width:auto;min-width:52px;padding:0 .75rem;border-radius:18px;font-size:.875rem;font-weight:600;color:var(--progress-color);border:1px solid var(--progress-color)}.speed-btn:hover{background-color:var(--progress-color);color:#fff}.time-display{font-size:.875rem;color:var(--text-color);font-variant-numeric:tabular-nums;min-width:90px}@media(max-width:640px){.audio-controls-row{gap:.25rem}.control-btn{width:32px;height:32px}.play-btn{width:40px;height:40px}.speed-btn{min-width:48px;padding:0 .5rem;font-size:.8125rem}.time-display{font-size:.8125rem;min-width:80px}.volume-control{margin-left:0;width:100%}.volume-slider{flex:1}}.volume-control{display:flex;align-items:center;gap:.5rem;margin-left:auto}.volume-slider{width:80px;height:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--track-color);border-radius:2px;outline:none;cursor:pointer}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:var(--progress-color);cursor:pointer;transition:all .2s ease}.volume-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.volume-slider::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--progress-color);cursor:pointer;border:none;transition:all .2s ease}.volume-slider::-moz-range-thumb:hover{transform:scale(1.2)}.progress-container{width:100%}.progress-slider{width:100%;height:6px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:3px;outline:none;cursor:pointer;transition:height .2s ease}.progress-slider:hover{height:8px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:var(--progress-color);cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0003}.progress-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.progress-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--progress-color);cursor:pointer;border:none;transition:all .2s ease;box-shadow:0 2px 4px #0003}.progress-slider::-moz-range-thumb:hover{transform:scale(1.2)}.clinical-report{width:100%;margin-top:1rem}.clinical-report__actions{display:flex;justify-content:flex-end;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.clinical-report__footer-actions{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:1.5rem;padding:1.25rem 1rem}.clinical-report__footer-actions>:first-child{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}.clinical-report__grid{display:grid;grid-template-columns:minmax(280px,340px) 1fr;gap:1.25rem;align-items:stretch}@media(max-width:1024px){.clinical-report__grid{grid-template-columns:1fr}}.clinical-report__panel-header,.clinical-report__summary-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid var(--border-color, #e5e7eb)}.clinical-report__summary-header{justify-content:space-between}.clinical-report__summary-title{display:flex;align-items:center;gap:.5rem}.clinical-report__summary-title h3,.clinical-report__summary-title .clinical-report__panel-icon{color:#a855f7}.clinical-report__panel-header h3,.clinical-report__summary-title h3{margin:0;font-size:.95rem;font-weight:600;color:var(--text-primary, #0f172a);letter-spacing:-.01em}.clinical-report__panel-icon{font-size:1rem;line-height:1}.clinical-report__transcript .clinical-report__panel-header{background:#14b8a60d;border-bottom-color:#14b8a626}.clinical-report__transcript .clinical-report__panel-header h3,.clinical-report__transcript .clinical-report__panel-icon{color:#14b8a6}.clinical-report__copy-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border-radius:6px;border:1px solid var(--border-color, #e5e7eb);background:var(--card-bg, #ffffff);color:var(--text-secondary, #475569);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .15s}.clinical-report__copy-btn:hover:not(:disabled){border-color:#6366f1;color:#4f46e5}.clinical-report__copy-btn:disabled{opacity:.5;cursor:default}.clinical-report__transcript{display:flex;flex-direction:column;background:#14b8a60d;border:1px solid rgba(20,184,166,.15);border-radius:12px;max-height:1150px;overflow:hidden}.clinical-report__transcript-scroll{flex:1 1 50%;overflow-y:auto;padding:.75rem 1rem 1rem;scrollbar-width:thin;background:#14b8a60d;min-height:0}.clinical-report__transcript-scroll::-webkit-scrollbar{width:6px}.clinical-report__transcript-scroll::-webkit-scrollbar-thumb{background:#64748b59;border-radius:3px}.clinical-report__transcript-empty{margin:0;padding:2rem 0;text-align:center;color:var(--text-secondary, #64748b);font-size:.875rem}.clinical-report__turn{margin-bottom:0;padding:.75rem .85rem;border-bottom:1px dashed rgba(20,184,166,.15)}.clinical-report__turn:nth-child(odd){background:#14b8a614}.clinical-report__turn:nth-child(2n){background:#14b8a626}.clinical-report__turn:last-child{border-bottom:none}.clinical-report__turn-speaker{font-size:.875rem;font-weight:700;text-transform:capitalize;letter-spacing:.01em;margin-bottom:.3rem}.clinical-report__turn-line{font-size:.875rem;line-height:1.6;color:var(--text-primary, #0f172a);white-space:pre-wrap}.clinical-report__summary{display:flex;flex-direction:column;background:var(--card-bg, #ffffff);border:1px solid var(--border-color, #e5e7eb);border-radius:12px;overflow:hidden}.clinical-report__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding:1rem}@media(max-width:1280px){.clinical-report__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.clinical-report__cards{grid-template-columns:1fr;padding-left:0;padding-right:0}}.clinical-report__card{position:relative;background:var(--bg-secondary, #f8fafc);border:1px solid var(--border-color, #e5e7eb);border-radius:10px;padding:.85rem .95rem .95rem;transition:box-shadow .15s,transform .15s;display:flex;flex-direction:column;gap:.45rem;min-height:96px}.clinical-report__card:hover{box-shadow:0 2px 10px #0f172a0f}.clinical-report__card--wide{grid-column:1 / -1}.clinical-report__card--alert{background:#fef2f2;border-color:#fecaca}[data-theme=dark] .clinical-report__card--alert{background:#dc26261f;border-color:#dc262666}.clinical-report__card-label{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:600;color:var(--accent, #475569);text-transform:none;letter-spacing:0}.clinical-report__card-label svg{color:var(--accent, #475569);flex-shrink:0}.clinical-report__card-label span{color:var(--accent, #475569)}.clinical-report__card-value{margin:0;font-size:.9rem;line-height:1.5;font-weight:500;color:var(--text-primary, #0f172a);white-space:pre-wrap;overflow-wrap:anywhere}.clinical-report__card-value--muted{font-weight:400;font-style:italic;color:var(--text-secondary, #94a3b8)}.clinical-report__card-list{margin:0;padding-left:1rem;font-size:.9rem;line-height:1.5;font-weight:500;color:var(--text-primary, #0f172a);display:flex;flex-direction:column;gap:.25rem}.clinical-report__card-list li{list-style:disc}.clinical-report--loading .clinical-report__card-value{background:linear-gradient(90deg,#94a3b81f,#94a3b840,#94a3b81f);border-radius:4px;color:transparent;animation:clinical-shimmer 1.4s infinite linear}@keyframes clinical-shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}[data-theme=dark] .clinical-report__panel-header,[data-theme=dark] .clinical-report__summary-header{border-bottom-color:var(--neutral-700)}[data-theme=dark] .clinical-report__panel-header h3,[data-theme=dark] .clinical-report__summary-title h3{color:var(--neutral-100)}[data-theme=dark] .clinical-report__copy-btn{background:var(--neutral-800);border-color:var(--neutral-700);color:var(--neutral-300)}[data-theme=dark] .clinical-report__copy-btn:hover:not(:disabled){border-color:#6366f1;color:#818cf8;background:#6366f11a}[data-theme=dark] .clinical-report__transcript{background:#14b8a614;border-color:#14b8a633}[data-theme=dark] .clinical-report__transcript .clinical-report__panel-header{background:#14b8a614;border-bottom-color:#14b8a633}[data-theme=dark] .clinical-report__transcript .clinical-report__panel-header h3,[data-theme=dark] .clinical-report__transcript .clinical-report__panel-icon{color:#14b8a6}[data-theme=dark] .clinical-report__transcript-scroll{background:#14b8a614}[data-theme=dark] .clinical-report__transcript-scroll::-webkit-scrollbar-thumb{background:#14b8a64d}[data-theme=dark] .clinical-report__transcript-empty{color:var(--text-secondary, #94a3b8)}[data-theme=dark] .clinical-report__turn{border-bottom-color:#14b8a626}[data-theme=dark] .clinical-report__turn:nth-child(odd){background:#14b8a61f}[data-theme=dark] .clinical-report__turn:nth-child(2n){background:#14b8a62e}[data-theme=dark] .clinical-report__turn-speaker,[data-theme=dark] .clinical-report__turn-line{color:var(--text-primary, #f9fafb)}[data-theme=dark] .clinical-report__summary{background:var(--neutral-800);border-color:var(--neutral-700)}[data-theme=dark] .clinical-report__card{background:var(--neutral-900);border-color:var(--neutral-700)}[data-theme=dark] .clinical-report__card:hover{box-shadow:0 2px 10px #0000004d}[data-theme=dark] .clinical-report__card-label{color:var(--accent, #94a3b8)}[data-theme=dark] .clinical-report__card-label svg{color:var(--accent, #94a3b8)}[data-theme=dark] .clinical-report__card-label span{color:var(--accent, #94a3b8)}[data-theme=dark] .clinical-report__summary-title h3,[data-theme=dark] .clinical-report__summary-title .clinical-report__panel-icon{color:#a855f7}[data-theme=dark] .clinical-report__card-value{color:var(--neutral-100)}[data-theme=dark] .clinical-report__card-value--muted{color:var(--neutral-500)}[data-theme=dark] .clinical-report__card-list{color:var(--neutral-100)}[data-theme=dark] .clinical-report--loading .clinical-report__card-value{background:linear-gradient(90deg,#94a3b814,#94a3b826,#94a3b814)}.clinical-report__summary-section{padding:1rem;border-top:1px solid rgba(20,184,166,.2);background:#14b8a608;flex:1 1 50%;overflow-y:auto;scrollbar-width:thin;min-height:0}.clinical-report__summary-section::-webkit-scrollbar{width:6px}.clinical-report__summary-section::-webkit-scrollbar-thumb{background:#64748b59;border-radius:3px}.clinical-report__ai-summary-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:0;border-bottom:none}.clinical-report__ai-summary-header h4{margin:0;font-size:.875rem;font-weight:600;color:#0d9488;letter-spacing:-.01em}.clinical-report__ai-summary-icon{color:#0d9488;flex-shrink:0}.clinical-report__generate-summary-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;border:1px solid rgba(20,184,166,.3);background:#14b8a61a;color:#0d9488;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.clinical-report__generate-summary-btn:hover:not(:disabled){background:#14b8a626;border-color:#14b8a680;transform:translateY(-1px)}.clinical-report__generate-summary-btn:disabled{opacity:.5;cursor:not-allowed}.clinical-report__summary-loading{display:flex;align-items:center;gap:.5rem;padding:.75rem;color:#0d9488;font-size:.875rem}.clinical-report__summary-spinner{width:16px;height:16px;border:2px solid rgba(20,184,166,.2);border-top-color:#0d9488;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.clinical-report__summary-content{padding:.875rem 1rem;background:#fff9;border:1px solid rgba(20,184,166,.2);border-radius:8px;margin-top:.5rem}.clinical-report__summary-content p{margin:0;font-size:.875rem;line-height:1.6;color:var(--text-primary, #0f172a)}.clinical-report__summary-error{padding:.75rem;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;color:#dc2626;font-size:.875rem;margin-top:.5rem}[data-theme=dark] .clinical-report__summary-section{background:#14b8a60d;border-top-color:#14b8a640}[data-theme=dark] .clinical-report__summary-section::-webkit-scrollbar-thumb{background:#14b8a64d}[data-theme=dark] .clinical-report__ai-summary-header h4,[data-theme=dark] .clinical-report__ai-summary-icon{color:#14b8a6}[data-theme=dark] .clinical-report__generate-summary-btn{background:#14b8a626;border-color:#14b8a666;color:#14b8a6}[data-theme=dark] .clinical-report__generate-summary-btn:hover:not(:disabled){background:#14b8a633;border-color:#14b8a699}[data-theme=dark] .clinical-report__summary-loading{color:#14b8a6}[data-theme=dark] .clinical-report__summary-spinner{border-color:#14b8a64d;border-top-color:#14b8a6}[data-theme=dark] .clinical-report__summary-content{background:#14b8a614;border-color:#14b8a640}[data-theme=dark] .clinical-report__summary-content p{color:var(--neutral-100)}[data-theme=dark] .clinical-report__summary-error{background:#ef444426;border-color:#ef444466;color:#f87171}.task-reminder-popup{position:relative;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;padding:10px 28px 8px 10px;box-shadow:none;border:none;max-width:300px;min-width:260px;animation:slideIn .3s ease-out;color:#000;margin-top:8px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .2s ease}.task-reminder-popup:hover{transform:translateY(-1px)}[data-theme=dark] .task-reminder-popup,.dark .task-reminder-popup{background:linear-gradient(135deg,#494949b3,#69686899);border:none;color:#fff}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.task-reminder-popup.shake{animation:shake .6s ease-in-out}.task-reminder-popup.urgent{background:linear-gradient(135deg,#7f1d1db3,#b91c1c99)}.popup-dismiss-btn{position:absolute;top:6px;right:6px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#0000001a;border:none;cursor:pointer;color:#00000080;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:5}.popup-dismiss-btn:hover{background:#0003;color:#000}[data-theme=dark] .popup-dismiss-btn,.dark .popup-dismiss-btn{background:#ffffff26;color:#ffffffb3}[data-theme=dark] .popup-dismiss-btn:hover,.dark .popup-dismiss-btn:hover{background:#ffffff40;color:#fff}.popup-content-wrapper{display:flex;align-items:flex-start;gap:8px}.popup-icon-large{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0}.popup-icon-large svg{width:24px;height:24px}.popup-content-area{flex:1;min-width:0}.popup-header{display:flex;align-items:flex-start;cursor:pointer;margin-bottom:1px}.popup-task-title{font-weight:600;font-size:13px;color:#000;flex:1;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word}[data-theme=dark] .popup-task-title,.dark .popup-task-title{color:#fff}.popup-details-preview{font-size:10px;color:#0009;line-height:1.2;cursor:pointer;margin-bottom:2px}[data-theme=dark] .popup-details-preview,.dark .popup-details-preview{color:#ffffffb3}.popup-details{font-size:11px;color:#000000b3;line-height:1.4;margin-bottom:0;max-height:0;overflow:hidden;opacity:0;word-wrap:break-word;overflow-wrap:break-word;transition:all .3s ease;cursor:pointer}[data-theme=dark] .popup-details,.dark .popup-details{color:#fffc}.popup-details.expanded{max-height:150px;opacity:1;margin-bottom:8px;padding-top:4px}.popup-footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-top:2px}.popup-time-display{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:500;color:#000000b3;padding:3px 6px;background:#0000001a;border-radius:4px;margin-right:auto}[data-theme=dark] .popup-time-display,.dark .popup-time-display{color:#ffffffe6;background:#ffffff26}.popup-complete-btn{display:flex;align-items:center;gap:3px;padding:4px 8px;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;border:none;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0d94884d;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.popup-complete-btn:hover{background:linear-gradient(135deg,#0f766e,#0d9488);transform:translateY(-1px);box-shadow:0 3px 6px #0d948866}.popup-priority-badge{position:absolute;top:-6px;left:8px;display:flex;align-items:center;gap:2px;padding:2px 6px;background:#ef4444;color:#fff;font-size:9px;font-weight:700;border-radius:6px;text-transform:uppercase;letter-spacing:.3px;z-index:10}.task-reminders-container{position:fixed;bottom:90px;right:24px;z-index:9998;--ease-out-expo: cubic-bezier(.16, 1, .3, 1);--ease-in-expo: cubic-bezier(.7, 0, .84, 0);animation:taskExpandIn .36s var(--ease-out-expo) both;transform-origin:bottom right;will-change:transform,opacity}.task-reminders-container.closing{animation:taskCollapseOut .22s var(--ease-in-expo) forwards}@keyframes taskExpandIn{0%{opacity:0;transform:scale(.9) translateY(12px);filter:blur(4px)}60%{opacity:1;filter:blur(0)}to{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}}@keyframes taskCollapseOut{0%{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}to{opacity:0;transform:scale(.9) translateY(8px);filter:blur(3px)}}@media(prefers-reduced-motion:reduce){.task-reminders-container,.task-reminders-container.closing,.task-reminders-minimized{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.task-reminders-wrapper{position:relative;width:300px}.task-list-close-btn{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;background:#6b7280;border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:20;transition:all .2s;box-shadow:0 2px 8px #00000026}.task-list-close-btn:hover{transform:scale(1.1);background:#4b5563}.task-reminders-minimized{position:fixed;bottom:76px;right:16px;width:48px;height:48px;min-width:48px;min-height:48px;border-radius:50%;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:9998;box-shadow:0 4px 20px #0d948866;animation:taskFabPopIn .36s cubic-bezier(.16,1,.3,1) both;will-change:transform}.task-reminders-minimized:active{transform:scale(.94)}@keyframes taskFabPopIn{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.task-reminders-minimized .task-icon{width:29px;height:29px}@media(min-width:769px){.task-reminders-minimized{bottom:92px;right:24px;width:56px;height:56px;min-width:56px;min-height:56px;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s cubic-bezier(.16,1,.3,1)}.task-reminders-minimized:hover{transform:scale(1.06);box-shadow:0 6px 24px #0d948880}.task-reminders-minimized .task-icon{width:30px;height:30px}}.task-count-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:9px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid white}.task-reminders-scroll-area{display:flex;flex-direction:column;gap:12px;max-height:180px;overflow-y:auto;overflow-x:visible;padding-right:4px;padding-top:12px;padding-bottom:8px}.task-reminders-scroll-area::-webkit-scrollbar{width:4px}.task-reminders-scroll-area::-webkit-scrollbar-track{background:transparent}.task-reminders-scroll-area::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}[data-theme=dark] .task-reminders-scroll-area::-webkit-scrollbar-thumb,.dark .task-reminders-scroll-area::-webkit-scrollbar-thumb{background:#4b5563}.dismissed-tasks-counter{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;background:#6b728026;border-radius:8px;font-size:12px;font-weight:500;color:#6b7280;margin-bottom:8px;margin-right:4px}.dismissed-tasks-counter svg{color:#9ca3af}[data-theme=dark] .dismissed-tasks-counter,.dark .dismissed-tasks-counter{background:#6b72804d;color:#9ca3af}.no-tasks-message{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;text-align:left;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.no-tasks-message svg{color:#64748b;flex-shrink:0;width:28px;height:28px}.no-tasks-message .message-content{display:flex;flex-direction:column;gap:2px}.no-tasks-message p{margin:0;font-size:13px;font-weight:600;color:#000}.no-tasks-message span{margin:0;font-size:11px;color:#475569}[data-theme=dark] .no-tasks-message p,.dark .no-tasks-message p{color:#fff}[data-theme=dark] .no-tasks-message span,.dark .no-tasks-message span{color:#94a3b8}[data-theme=dark] .no-tasks-message svg,.dark .no-tasks-message svg{color:#94a3b8}[data-theme=dark] .no-tasks-message,.dark .no-tasks-message{background:linear-gradient(135deg,#494949b3,#69686899)}.all-done-message{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;text-align:left;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.all-done-message svg{color:#22c55e;flex-shrink:0;width:28px;height:28px}.all-done-message .message-content{display:flex;flex-direction:column;gap:2px}.all-done-message p{margin:0;font-size:13px;font-weight:600;color:#000}.all-done-message span{margin:0;font-size:11px;color:#475569}[data-theme=dark] .all-done-message p,.dark .all-done-message p{color:#fff}[data-theme=dark] .all-done-message span,.dark .all-done-message span{color:#94a3b8}[data-theme=dark] .all-done-message,.dark .all-done-message{background:linear-gradient(135deg,#494949b3,#69686899)}.extracting-tasks-message{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;text-align:left;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.extracting-tasks-message svg{color:#0d9488;flex-shrink:0;width:28px;height:28px}.extracting-tasks-message .message-content{display:flex;flex-direction:column;gap:2px}.extracting-tasks-message p{margin:0;font-size:13px;font-weight:600;color:#000}.extracting-tasks-message span{margin:0;font-size:11px;color:#475569}[data-theme=dark] .extracting-tasks-message p,.dark .extracting-tasks-message p{color:#fff}[data-theme=dark] .extracting-tasks-message svg,.dark .extracting-tasks-message svg{color:#14b8a6}[data-theme=dark] .extracting-tasks-message span,.dark .extracting-tasks-message span{color:#94a3b8}[data-theme=dark] .extracting-tasks-message,.dark .extracting-tasks-message{background:linear-gradient(135deg,#494949b3,#69686899)}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.all-dismissed-message{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;text-align:left;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.all-dismissed-message svg{color:#6b7280;flex-shrink:0;width:28px;height:28px}.all-dismissed-message .message-content{display:flex;flex-direction:column;gap:2px}.all-dismissed-message p{margin:0;font-size:13px;font-weight:600;color:#000}.all-dismissed-message span{margin:0;font-size:11px;color:#475569}[data-theme=dark] .all-dismissed-message p,.dark .all-dismissed-message p{color:#fff}[data-theme=dark] .all-dismissed-message span,.dark .all-dismissed-message span{color:#94a3b8}[data-theme=dark] .all-dismissed-message svg,.dark .all-dismissed-message svg{color:#9ca3af}[data-theme=dark] .all-dismissed-message,.dark .all-dismissed-message{background:linear-gradient(135deg,#494949b3,#69686899)}.more-tasks-indicator{position:absolute;bottom:0;left:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;right:4px;display:flex;align-items:center;justify-content:center;gap:6px;padding:20px 16px 10px;background:linear-gradient(to bottom,transparent 0%,#f8fafc 30%,#f8fafc 100%);font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .3s ease;box-sizing:border-box;opacity:0;pointer-events:none;border-radius:0;z-index:10}[data-theme=dark] .more-tasks-indicator,.dark .more-tasks-indicator{background:linear-gradient(to bottom,transparent 0%,#1e293b 30%,#1e293b 100%);color:#cbd5e1}.more-tasks-indicator.visible{opacity:1;pointer-events:auto}.more-tasks-indicator:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:#334155}[data-theme=dark] .more-tasks-indicator:hover,.dark .more-tasks-indicator:hover{background:linear-gradient(135deg,#334155,#475569);color:#f1f5f9}.more-tasks-indicator svg{animation:bounce 1s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}@media(max-width:768px){.task-reminders-container{left:auto;right:16px;bottom:100px}.task-reminders-wrapper{width:calc(100vw - 40px);max-width:320px}.task-reminder-popup{max-width:none;min-width:auto}}@media(max-width:480px){.task-reminders-container{right:16px;bottom:76px}body.rating-modal-open .task-reminders-container{display:none!important}}.task-widget-tabs{display:flex;gap:4px;padding:4px;background:#c8c8c8d9;border-radius:10px;margin-bottom:8px;margin-right:4px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}[data-theme=dark] .task-widget-tabs,.dark .task-widget-tabs{background:#374151d9}.task-widget-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:none;background:transparent;border-radius:8px;font-size:12px;font-weight:600;color:#1f2937;cursor:pointer;transition:all .2s ease}.task-widget-tab:hover{background:#ffffff80;color:#374151}[data-theme=dark] .task-widget-tab:hover,.dark .task-widget-tab:hover{background:#ffffff1a;color:#d1d5db}.task-widget-tab.active{background:linear-gradient(135deg,#3da2fa,#3b82f6);color:#fff;box-shadow:0 2px 4px #3da2fa4d}.task-widget-tab.active:hover{background:linear-gradient(135deg,#2b8fe0,#3da2fa);color:#fff}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#ffffff4d;border-radius:9px;font-size:10px;font-weight:700}.task-widget-tab.active .tab-badge{background:#ffffff4d}[data-theme=dark] .task-widget-tab,.dark .task-widget-tab{color:#fff}[data-theme=dark] .task-widget-tab.active,.dark .task-widget-tab.active{background:linear-gradient(135deg,#475569,#64748b);color:#fff;box-shadow:0 2px 4px #47556966}[data-theme=dark] .task-widget-tab.active:hover,.dark .task-widget-tab.active:hover{background:linear-gradient(135deg,#334155,#475569);color:#fff}.reminders-tab-content{padding:12px 4px 12px 0}.reminder-buttons-row{display:flex;gap:8px}.reminder-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px!important;border:none!important;border-radius:6px!important;font-size:11px!important;font-weight:600;cursor:pointer;transition:all .2s ease;min-height:auto!important;height:auto!important}.reminder-action-btn.type-btn{background:linear-gradient(135deg,#c8c8c8e6,#c8c8c8e6)!important;color:#1f2937!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.reminder-action-btn.type-btn:hover{background:linear-gradient(135deg,#c8c8c8cc,#c8c8c8cc)!important;transform:translateY(-1px)}[data-theme=dark] .reminder-action-btn.type-btn,.dark .reminder-action-btn.type-btn{background:linear-gradient(135deg,#494949b3,#69686899)!important;color:#e5e7eb!important}[data-theme=dark] .reminder-action-btn.type-btn:hover,.dark .reminder-action-btn.type-btn:hover{background:linear-gradient(135deg,#535353cc,#737272b3)!important}.reminder-action-btn.record-btn{background:linear-gradient(135deg,#ec4899,#be185d)!important;color:#fff!important;box-shadow:0 2px 4px #ec48994d!important}.reminder-action-btn.record-btn:hover{background:linear-gradient(135deg,#be185d,#9d174d)!important;transform:translateY(-1px);box-shadow:0 3px 6px #ec489966!important}.reminder-input-container{display:flex;flex-direction:column;gap:8px}.reminder-textarea{width:100%;min-height:80px;padding:12px;border:1px solid rgba(107,114,128,.3);border-radius:10px;font-size:13px;font-family:inherit;resize:vertical;background:#ffffffe6;color:#1f2937;transition:border-color .2s ease;box-sizing:border-box}.reminder-textarea:focus{outline:none;border-color:#0d9488;box-shadow:0 0 0 2px #0d94881a}.reminder-textarea::placeholder{color:#9ca3af}[data-theme=dark] .reminder-textarea,.dark .reminder-textarea{background:#374151e6;border-color:#6b728080;color:#f3f4f6}[data-theme=dark] .reminder-textarea:focus,.dark .reminder-textarea:focus{border-color:#14b8a6;box-shadow:0 0 0 2px #14b8a633}[data-theme=dark] .reminder-textarea::placeholder,.dark .reminder-textarea::placeholder{color:#6b7280}.reminder-error-message{font-size:11px;color:#991b1b;background:#fecacae6;padding:8px 12px;border-radius:6px;border-left:3px solid #dc2626;line-height:1.4;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}[data-theme=dark] .reminder-error-message,.dark .reminder-error-message{color:#f87171;background:#dc262626;border-left-color:#f87171}.reminder-input-actions{display:flex;gap:8px;justify-content:flex-end}.reminder-save-btn{display:flex;align-items:center;gap:4px;padding:8px 16px;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0d94884d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.reminder-save-btn:hover:not(:disabled){background:linear-gradient(135deg,#0f766e,#0d9488);transform:translateY(-1px)}.reminder-save-btn:disabled{opacity:.7;cursor:not-allowed}.reminder-cancel-btn{display:flex;align-items:center;gap:4px;padding:8px 16px;background:#6b728059;color:#4b5563;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.reminder-cancel-btn:hover{background:#6b728040;color:#374151}[data-theme=dark] .reminder-cancel-btn,.dark .reminder-cancel-btn{background:#6b72804d;color:#9ca3af}[data-theme=dark] .reminder-cancel-btn:hover,.dark .reminder-cancel-btn:hover{background:#6b728066;color:#d1d5db}.reminder-transcribing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:#c8c8c8d9;border-radius:10px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.reminder-transcribing span{font-size:13px;font-weight:500;color:#6b7280}[data-theme=dark] .reminder-transcribing,.dark .reminder-transcribing{background:#374151d9}[data-theme=dark] .reminder-transcribing span,.dark .reminder-transcribing span{color:#9ca3af}.reminder-transcribing svg{color:#0d9488}[data-theme=dark] .reminder-transcribing svg,.dark .reminder-transcribing svg{color:#14b8a6}.user-reminders-list-wrapper{position:relative;margin-top:12px}.user-reminders-list{display:flex;flex-direction:column;gap:8px;max-height:200px;overflow-y:auto;padding-bottom:8px;padding-right:4px}.user-reminders-list::-webkit-scrollbar{width:4px}.user-reminders-list::-webkit-scrollbar-track{background:transparent}.user-reminders-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}[data-theme=dark] .user-reminders-list::-webkit-scrollbar-thumb,.dark .user-reminders-list::-webkit-scrollbar-thumb{background:#4b5563}.more-reminders-indicator{position:absolute;bottom:0;left:0;right:0}.user-reminder-item{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .2s ease}.user-reminder-item:hover{transform:translateY(-1px)}[data-theme=dark] .user-reminder-item,.dark .user-reminder-item{background:linear-gradient(135deg,#494949b3,#69686899)}.user-reminder-item.priority-high{border-left:3px solid #ef4444}.user-reminder-item.priority-medium{border-left:3px solid #f59e0b}.user-reminder-item.priority-low{border-left:3px solid #22c55e}.user-reminder-content{flex:1;min-width:0}.user-reminder-header{display:flex;align-items:flex-start;gap:6px}.user-reminder-header .reminder-icon{flex-shrink:0;color:#6b7280;margin-top:2px}[data-theme=dark] .user-reminder-header .reminder-icon,.dark .user-reminder-header .reminder-icon{color:#9ca3af}.user-reminder-text{font-size:12px;font-weight:500;color:#1f2937;line-height:1.4;word-wrap:break-word}[data-theme=dark] .user-reminder-text,.dark .user-reminder-text{color:#f3f4f6}.user-reminder-meta{display:flex;align-items:center;gap:4px;margin-top:6px;margin-left:20px;font-size:10px;color:#6b7280}[data-theme=dark] .user-reminder-meta,.dark .user-reminder-meta{color:#9ca3af}.user-reminder-meta svg{flex-shrink:0}.priority-badge{padding:2px 6px;border-radius:4px;font-size:9px;font-weight:700;text-transform:uppercase;margin-left:6px}.priority-badge.high{background:#fef2f2;color:#dc2626}[data-theme=dark] .priority-badge.high,.dark .priority-badge.high{background:#dc262633;color:#f87171}.user-reminder-delete{flex-shrink:0;padding:4px;background:transparent;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px}.user-reminder-delete:hover{background:#ef44441a;color:#ef4444}[data-theme=dark] .user-reminder-delete:hover,.dark .user-reminder-delete:hover{background:#ef444433;color:#f87171}.user-reminder-delete.deleting{cursor:default;color:#6b7280;background:#6b72801a}.user-reminder-delete.deleting:hover{background:#6b72801a;color:#6b7280}[data-theme=dark] .user-reminder-delete.deleting,.dark .user-reminder-delete.deleting{color:#9ca3af;background:#9ca3af26}[data-theme=dark] .user-reminder-delete.deleting:hover,.dark .user-reminder-delete.deleting:hover{background:#9ca3af26;color:#9ca3af}.user-reminder-delete .deleting-text{font-size:10px;font-weight:500;color:#6b7280}[data-theme=dark] .user-reminder-delete .deleting-text,.dark .user-reminder-delete .deleting-text{color:#9ca3af}.reminder-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:20px;color:#6b7280;font-size:12px}[data-theme=dark] .reminder-loading,.dark .reminder-loading{color:#9ca3af}.reminder-loading svg{color:#3da2fa}.no-reminders-message{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;margin-top:8px;background:linear-gradient(135deg,#d5d5d5b3,#d5d5d5b3);border-radius:10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}[data-theme=dark] .no-reminders-message,.dark .no-reminders-message{background:linear-gradient(135deg,#494949b3,#69686899)}.no-reminders-icon{flex-shrink:0;width:28px;height:28px;color:#64748b}[data-theme=dark] .no-reminders-icon,.dark .no-reminders-icon{color:#94a3b8}.no-reminders-text{display:flex;flex-direction:column;gap:2px}.no-reminders-title{font-size:13px;font-weight:600;color:#000}[data-theme=dark] .no-reminders-title,.dark .no-reminders-title{color:#fff}.no-reminders-subtitle{font-size:11px;color:#475569}[data-theme=dark] .no-reminders-subtitle,.dark .no-reminders-subtitle{color:#94a3b8}.pulse-check-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.pulse-check-modal{background:#fff;border-radius:16px;padding:1.25rem;max-width:420px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 60px #0003}[data-theme=dark] .pulse-check-modal{background:var(--bg-secondary, #1e293b);color:var(--text-primary, #f1f5f9)}.pulse-check-close{position:absolute;top:1rem;right:1rem;background:none;border:none;cursor:pointer;color:#6b7280;padding:.25rem;border-radius:4px;transition:background .2s}.pulse-check-close:hover{background:#f3f4f6;color:#374151}[data-theme=dark] .pulse-check-close:hover{background:#374151;color:#f1f5f9}.pulse-check-header{margin-bottom:.75rem}.pulse-check-header h2{font-size:1.1rem;font-weight:600;margin:0 0 .25rem;color:#1f2937}[data-theme=dark] .pulse-check-header h2{color:#f1f5f9}.pulse-check-subtitle{font-size:.85rem;color:#6b7280;margin:0}[data-theme=dark] .pulse-check-subtitle{color:#9ca3af}.pulse-check-progress{height:4px;background:#e5e7eb;border-radius:2px;margin-bottom:1rem;overflow:hidden}.pulse-check-progress-fill{height:100%;background:linear-gradient(90deg,#14b8a6,#0d9488);border-radius:2px;transition:width .3s ease}[data-theme=dark] .pulse-check-progress{background:#374151}.pulse-check-question{margin-bottom:1rem}.pulse-check-question-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.pulse-check-question-number{font-size:.8rem;font-weight:600}.pulse-check-question-text{font-size:1rem;font-weight:500;color:#1f2937;margin:0;line-height:1.4}[data-theme=dark] .pulse-check-question-text{color:#f1f5f9}.pulse-check-answers{margin-bottom:1rem}.pulse-check-yesno-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.pulse-check-option-btn{padding:1rem;border:2px solid #e5e7eb;border-radius:10px;background:#fff;font-size:.95rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease}.pulse-check-option-btn:hover{border-color:#d1d5db;background:#f9fafb}.pulse-check-option-btn.selected{border-color:#14b8a6;background:#f0fdfa;color:#0d9488}[data-theme=dark] .pulse-check-option-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}[data-theme=dark] .pulse-check-option-btn.selected{border-color:#14b8a6;background:#042f2e;color:#5eead4}.pulse-check-note-container{animation:slideDown .2s ease}.pulse-check-note-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.85rem;color:#6b7280}[data-theme=dark] .pulse-check-note-header{color:#9ca3af}.pulse-check-record-btn{display:flex;align-items:center;justify-content:center;padding:.5rem;background:linear-gradient(135deg,#ec4899,#db2777);color:#1f2937;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #ec48994d}.pulse-check-record-btn:hover{background:linear-gradient(135deg,#f472b6,#ec4899);transform:translateY(-1px);box-shadow:0 4px 12px #ec489966}.pulse-check-record-btn:active{transform:translateY(0)}[data-theme=dark] .pulse-check-record-btn{color:#1f2937}.pulse-check-note-input{width:100%;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;font-family:inherit;resize:vertical;min-height:80px;background:#f9fafb;box-sizing:border-box}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.pulse-check-note-input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}[data-theme=dark] .pulse-check-note-input{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.pulse-check-mc-options{display:flex;flex-direction:column;gap:.5rem}.pulse-check-mc-btn{padding:.875rem 1rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.95rem;text-align:left;color:#374151;cursor:pointer;transition:all .2s ease}.pulse-check-mc-btn:hover{border-color:#d1d5db;background:#f9fafb}.pulse-check-mc-btn.selected{border-color:#14b8a6;background:#f0fdfa;color:#0d9488;border-width:2px}[data-theme=dark] .pulse-check-mc-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}[data-theme=dark] .pulse-check-mc-btn.selected{border-color:#14b8a6;background:#042f2e;color:#5eead4}.pulse-check-text-input-container{display:flex;flex-direction:column;gap:.5rem}.pulse-check-text-header{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#6b7280}[data-theme=dark] .pulse-check-text-header{color:#9ca3af}.pulse-check-text-input{width:100%;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;font-family:inherit;resize:vertical;min-height:100px;background:#f9fafb;box-sizing:border-box}.pulse-check-text-input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}[data-theme=dark] .pulse-check-text-input{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.pulse-check-navigation{display:flex;gap:.75rem;align-items:center}.pulse-check-back-btn{display:flex;align-items:center;gap:.25rem;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.pulse-check-back-btn:hover{background:#f3f4f6}[data-theme=dark] .pulse-check-back-btn{background:var(--bg-primary, #0f172a);border-color:var(--border-color, #374151);color:var(--text-primary, #f1f5f9)}.pulse-check-next-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;border:none;border-radius:8px;background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.pulse-check-next-btn:hover:not(:disabled){background:linear-gradient(135deg,#0d9488,#0f766e);transform:translateY(-1px);box-shadow:0 4px 12px #14b8a64d}.pulse-check-next-btn:disabled{opacity:.5;cursor:not-allowed;background:#9ca3af}.pulse-check-complete-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;border:none;border-radius:8px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 14px #3b82f659}.pulse-check-complete-btn:hover:not(:disabled){background:linear-gradient(135deg,#60a5fa,#3b82f6);transform:translateY(-1px);box-shadow:0 6px 20px #3b82f673}.pulse-check-complete-btn:disabled{opacity:.5;cursor:not-allowed;background:#9ca3af;box-shadow:none}@media(max-width:480px){.pulse-check-yesno-buttons{grid-template-columns:1fr}.pulse-check-navigation{flex-direction:row}.pulse-check-back-btn{flex:0 0 auto;justify-content:center;padding:.5rem .75rem;font-size:.75rem}.pulse-check-next-btn,.pulse-check-complete-btn{flex:1;padding:.5rem;font-size:.75rem;white-space:nowrap}}
