:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400}body{margin:0;min-width:320px;min-height:100vh;background-color:#f3f4f6}.main-content{margin-top:60px;padding:24px;min-height:calc(100vh - 60px)}a{text-decoration:none;color:inherit}button{border-radius:6px;border:none;padding:8px 14px;font-size:14px;font-weight:500;cursor:pointer}html,body,input,select,textarea,button,select option{font-family:Segoe UI,Inter,Arial,sans-serif}::placeholder{font-family:Segoe UI,Inter,Arial,sans-serif;color:#9ca3af;opacity:1}.toast-container{position:fixed;top:70px;right:20px;display:flex;flex-direction:column;gap:10px;z-index:9999}.toast{display:flex;align-items:flex-start;gap:10px;width:320px;padding:10px 12px;border-radius:6px;background:#fff;box-shadow:0 4px 12px #0000001f;border-left:4px solid;font-size:12px;color:#111827;animation:toastSlideIn .25s ease}.toast-icon{font-size:14px;margin-top:2px}.toast-content{flex:1}.toast-title{font-weight:600;font-size:12px;margin-bottom:2px}.toast-message{font-size:11px;color:#4b5563}.toast-close{background:transparent;border:none;font-size:14px;cursor:pointer;color:#9ca3af}.toast-close:hover{color:#111827}.toast.success{border-color:#16a34a;background:#ecfdf5}.toast.error{border-color:#dc2626;background:#fef2f2}.toast.warning{border-color:#d97706;background:#fffbeb}.toast.info{border-color:#2563eb;background:#eff6ff}@keyframes toastSlideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.login-page{height:100vh;display:flex;justify-content:center;align-items:center;background:#0b0f14;font-family:Segoe UI,Tahoma,sans-serif;color:#e5e7eb}.login-panel{width:360px;padding:32px;background:#111827;border:1px solid #1f2937;border-radius:4px}.system-header{margin-bottom:28px}.system-header h1{margin:0;font-size:1.4rem;font-weight:600;color:#f9fafb}.system-header span{font-size:.75rem;color:#9ca3af}.login-form{display:flex;flex-direction:column}.field label{font-size:.75rem;color:#9ca3af;margin-bottom:4px;display:block}.field input{width:100%;padding:10px;background:#0a0e12;border:1px solid #2f3b4a;border-radius:4px;color:#e5e7eb;font-size:.85rem}.field input:focus{border-color:#3b82f6;outline:none}.caps-warning{margin-top:6px;font-size:.75rem;color:#fbbf24}.login-form button{margin-top:10px;padding:10px;background:#1a2430;border:1px solid #3b4a5a;color:#e5e7eb;font-size:.8rem;letter-spacing:.5px;cursor:pointer}.login-form button:hover{background:#243142}.login-form button:disabled{opacity:.5;cursor:not-allowed}.error-box{background:#2a1212;border:1px solid #7f1d1d;color:#fca5a5;padding:8px;font-size:.8rem;margin-bottom:10px}.login-footer{margin-top:20px;font-size:.75rem;color:#6b7280}.login-footer span{display:block;cursor:pointer;margin-bottom:6px;color:#9ca3af}.login-footer span:hover{color:#e5e7eb}.field input,.login-form button{width:100%;height:42px;padding:0 12px;border-radius:4px;font-size:.85rem;box-sizing:border-box}.field input{background:#0a0e12;border:1px solid #2f3b4a;color:#e5e7eb}.login-form button{margin-top:10px;background:#1a2430;border:1px solid #3b4a5a;color:#e5e7eb;letter-spacing:.5px;cursor:pointer}.login-form button:focus,.field input:focus{outline:none;border-color:#3b82f6}.auth-page{height:100vh;display:flex;justify-content:center;align-items:center;background:#f3f6f9;font-family:Segoe UI,Tahoma,sans-serif}.auth-card{width:100%;max-width:380px;background:#fff;padding:32px;border-radius:8px;border:1px solid #e5e7eb;box-shadow:0 6px 18px #0000000d}.auth-card h2{margin-bottom:6px;font-size:1.4rem;color:#1f2937}.subtitle{font-size:.85rem;color:#6b7280;margin-bottom:20px}.auth-form{display:flex;flex-direction:column}.field{margin-bottom:16px}.field label{font-size:.8rem;color:#374151;margin-bottom:4px;display:block}.field input{width:100%;padding:11px;border-radius:6px;border:1px solid #d1d5db;font-size:.9rem}.field input:focus{border-color:#2563eb;outline:none}.auth-form button{margin-top:10px;padding:11px;background:#2563eb;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer}.auth-form button:hover{background:#1e40af}.auth-form button:disabled{background:#93c5fd;cursor:not-allowed}.error-box{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;padding:8px;font-size:.8rem;margin-bottom:10px}.success-box{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:8px;font-size:.8rem;margin-bottom:10px}.auth-footer{margin-top:16px;font-size:.8rem}.auth-footer span{color:#2563eb;cursor:pointer}.auth-footer span:hover{text-decoration:underline}.studies-filters,.filters-row,.ris-filters{position:sticky;top:0;z-index:20;background:#f8fafc}.studies-table thead th,.finalized-studies-table thead th,.ris-table thead th{position:sticky;top:60px;z-index:10;background:#eef2f7}.register-page{display:flex;justify-content:center;align-items:flex-start;padding:3px 30px;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem}.register-card{background:#fff;width:900px;max-width:100%;padding:15px 25px;border-radius:10px;box-shadow:0 4px 20px #00000014}.register-title{margin-bottom:25px;font-size:22px;font-weight:600}.register-form{display:flex;flex-direction:column;gap:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group input,.form-group select,.dob-section input{padding:10px;border-radius:6px;border:1px solid #ccc}.dob-section{display:flex;flex-direction:column;gap:10px}.mode-switch{display:flex;gap:15px}.age-display{background:#f5f7fa;padding:10px;border-radius:6px;font-size:14px}.submit-btn{padding:12px;border-radius:6px;border:none;font-size:15px;background:#0d6efd;color:#fff;cursor:pointer;transition:.2s ease}.submit-btn:hover{background:#0b5ed7}.submit-btn:active{background:#0a58ca}.submit-btn:disabled{background:#93c5fd;cursor:not-allowed}.dob-section{background:#f9fafc;padding:20px;border-radius:8px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:15px}.mode-switch{display:flex;gap:30px;align-items:center}.radio-option{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}.radio-option input{cursor:pointer}.dob-input-wrapper{width:100%}.date-input,.age-input{width:100%;padding:12px;border-radius:6px;border:1px solid #cbd5e1;font-size:14px;transition:all .2s ease;background-color:#fff}.date-input:focus,.age-input:focus{border-color:#0d6efd;outline:none;box-shadow:0 0 0 3px #0d6efd26}.age-display{background:#eef2ff;padding:10px 12px;border-radius:6px;font-size:14px;border-left:4px solid #0d6efd}.mrn-checking{font-size:12px;color:#6b7280}.mrn-available{font-size:12px;color:#16a34a;font-weight:500}.mrn-taken{font-size:12px;color:#dc2626;font-weight:500}.calendar-wrapper{position:relative;display:flex;flex-direction:column;gap:10px}.calendar-toggle-btn{padding:10px 14px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;cursor:pointer;transition:.2s ease}.calendar-toggle-btn:hover{background:#f1f5f9}.popup-calendar{position:absolute;top:50px;left:0;z-index:10;width:220px}.study-table th{background:#f4f6f9;font-weight:600;font-size:13px}.study-table td{font-size:13px}.study-table tr:hover{background:#f9fbff}.error{color:#dc2626;font-size:.75rem;display:block;margin-top:4px}.info{color:#2563eb;font-size:.75rem;display:block;margin-top:4px}.error{color:#dc2626;font-size:.75rem;margin-top:4px;display:block}.info{color:#2563eb;font-size:.75rem;margin-top:4px;display:block}.dob-input-wrapper{width:220px}.date-input,.age-input{width:100%}.dob-row{display:flex;align-items:center;gap:15px}.age-display.inline{padding:8px 12px;font-size:13px;white-space:nowrap}.dob-section .error{margin-top:-5px}.age-multi-input{display:flex;align-items:center;gap:6px}.age-multi-input input{width:60px;padding:10px;border-radius:6px;border:1px solid #cbd5e1;text-align:center}.age-multi-input span{font-size:13px;color:#555}.schedule-page{width:100%;max-width:100%;margin-top:12px;padding:1.5rem 2.5rem 1.5rem 1.5rem;box-sizing:border-box;background-color:#f3f4f6;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;overflow-x:hidden}.page-title{font-size:2rem;font-weight:700;margin-bottom:1rem;color:#111827}.patient-info-section{margin-bottom:1rem}.toggle-button{background:#2563eb;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-weight:400;cursor:pointer;transition:background .2s}.toggle-button:hover{background:#1d4ed8}.patient-info-box{background-color:#fff;padding:.8rem 1.5rem;border-radius:5px;font-size:1rem;box-shadow:0 4px 12px #00000012;margin-top:.5rem;transition:max-height .3s ease,opacity .3s ease}.patient-info-box h3{font-size:1.1rem;font-weight:600;margin-bottom:.8rem;color:#374151}.patient-info-box p{margin-bottom:.5rem;font-size:.8rem}.form-container{width:100%;max-width:1200px;margin:0 auto;box-sizing:border-box;background-color:#fff;padding:2rem;border-radius:12px;box-shadow:0 6px 20px #00000014;display:grid;grid-template-columns:1fr;gap:1.5rem}@media screen and (min-width:768px){.form-container{grid-template-columns:1fr 1fr}}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:.5rem;font-weight:600;color:#4b5563}.form-group select,.form-group input,.form-group textarea{width:100%;max-width:100%;box-sizing:border-box;padding:.55rem .75rem;border-radius:8px;border:1px solid #d1d5db;font-size:.95rem}.form-group select:focus,.form-group input:focus,.form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}textarea{min-height:70px;resize:vertical;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.95rem;line-height:1.4;color:#1f2937;border:1px solid #d1d5db;border-radius:8px;padding:.55rem .75rem;outline:none}.notes-row{display:grid;grid-template-columns:1fr;gap:1rem;grid-column:span 2;width:100%;max-width:100%}.notes-row .form-group{width:100%}.notes-row textarea{min-height:60px;max-height:100px;width:100%}button{padding:.75rem 1rem;font-size:1rem;border-radius:8px;border:none;font-weight:600;transition:background-color .2s,opacity .2s}.btn-primary{background-color:#2563eb;color:#fff;cursor:pointer;grid-column:span 2;margin-right:3px}.btn-primary:hover{background-color:#1e40af}.btn-disabled{background-color:#9ca3af;color:#fff;cursor:not-allowed;grid-column:span 2}@media screen and (min-width:768px){.form-container{grid-template-columns:repeat(2,minmax(0,1fr))}}.form-group select:hover,.form-group input:hover,.form-group textarea:hover{border-color:#2563eb}.patient-info-box.collapsed{max-height:0;opacity:0;overflow:hidden;padding:0 2rem;margin-top:0}.required-label:after{content:"*";color:#dc2626;margin-left:2px}.blurred{opacity:.6;pointer-events:none;background-color:#f9fafb;border-color:#d1d5db;transition:opacity .2s,background-color .2s}.blurred:hover{border-color:#d1d5db}.form-group select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.95rem;line-height:1.4;color:#1f2937;background-color:#fff;appearance:none;-moz-appearance:none;-webkit-appearance:none;padding:.55rem .75rem;border-radius:8px;border:1px solid #d1d5db;outline:none;transition:border-color .2s,box-shadow .2s}.form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.optional input{opacity:.6}.unit-box{background:#f3f4f6;padding:6px 10px;border-radius:6px;font-size:.85rem}.required{color:red}.btn-primary,.btn-disabled{height:40px;min-height:40px;line-height:1.25rem;padding:0 1.25rem;font-size:1rem;font-weight:500;margin-top:3px;border-radius:8px;border:none;display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s,opacity .2s;box-sizing:border-box}.blurred input{cursor:not-allowed}.autocomplete-dropdown{border:1px solid #d1d5db;border-radius:6px;margin-top:4px;background:#fff;max-height:150px;overflow-y:auto}.autocomplete-item{padding:6px 10px;cursor:pointer}.autocomplete-item:hover{background:#e0f2f7}.create-new{color:#2563eb;font-weight:600}.physician-module{width:100%;display:flex;flex-direction:column;gap:10px;margin-top:20px}.physician-label{font-weight:600}.physician-select-block,.physician-create-block{width:100%;display:flex;flex-direction:column;gap:10px}.physician-search-input{width:100%;padding:10px}.autocomplete-dropdown{width:100%}.physician-form-row{display:flex;gap:10px;width:100%}.physician-form-row input{flex:1}.title-box{width:70px;flex:none}.back-btn{align-self:flex-start;background:none;border:1px solid #ccc;padding:6px 10px;cursor:pointer}.save-btn{align-self:flex-start}.physician-module-full{position:relative}.physician-create-block{position:absolute;top:100%;left:0;width:100%;background:#fff;z-index:1100;box-shadow:0 8px 20px #0003;padding:10px}.physician-dropdown-menu{max-height:300px;overflow-y:auto}.physician-dropdown{width:98%;padding:10px;border:1px solid #d1d5db;border-radius:8px;background:#fff;cursor:pointer}.physician-dropdown-menu{position:static;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #d1d5db;border-radius:8px;z-index:1000;max-height:250px;overflow-y:auto;box-shadow:0 4px 10px #0000001a}.physician-dropdown-search{width:100%;padding:8px;border:none;border-bottom:1px solid #eee;outline:none}.physician-item{padding:8px 10px;cursor:pointer}.physician-item:hover{background:#e0f2f7}.physician-add-new{padding:10px;font-weight:600;color:#2563eb;cursor:pointer;border-top:1px solid #eee}.form-row.full-width{grid-column:span 2;display:grid;grid-template-columns:1fr;gap:1rem}@media screen and (min-width:768px){.form-row.full-width{grid-template-columns:1fr 1fr}}.physician-create-panel{grid-column:span 2;background:#f9fafb;border:1px solid #e5e7eb;padding:1rem;border-radius:8px}.error-text{color:#dc2626;font-size:.85rem;margin-top:4px}.physician-dropdown,.physician-item,.physician-add-new,.physician-dropdown-search{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.95rem}.full-width{grid-column:span 2}.physician-search-wrapper{position:relative}.clear-search-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:none;background:transparent;cursor:pointer;font-size:14px;color:#888}.clear-search-btn:hover{color:#000}.highlight{background-color:#ffe58a;font-weight:600;padding:0 2px;border-radius:2px}.phone-text{color:#666;margin-left:4px;font-size:.9em}.toast{position:fixed;top:20px;right:20px;min-width:220px;max-width:300px;padding:8px 12px;border-radius:6px;font-size:11px;font-weight:500;box-shadow:0 2px 6px #00000026;z-index:9999;animation:fadeIn .2s ease}.toast.success{background-color:#e6f4ea;color:#1e7e34;border-left:4px solid #28a745}.toast.error{background-color:#fdecea;color:#c62828;border-left:4px solid #dc3545}@keyframes fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ris-table-10{width:100%;border-collapse:collapse;background-color:#fff}.ris-table-10 th,.ris-table-10 td{padding:4px 6px;border-bottom:1px solid #e5e7eb;font-size:13px}body.dark-mode .ris-table-10 th,body.dark-mode .ris-table-10 td{border-bottom:1px solid #374151}.ris-table-10 thead th{position:sticky;top:0;background-color:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table-10 thead th{background-color:#374151!important;color:#e5e7eb;border-bottom:1px solid #4b5563}.ris-table-10 tbody tr:nth-child(2n){background-color:#f9fafb}body.dark-mode .ris-table-10 tbody tr:nth-child(2n){background-color:transparent}.ris-table-10 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-10 tbody tr:hover{background:#1f2937}body.dark-mode .ris-table-10{background-color:#111827}.ris-table-10 td>button{margin-right:6px;font-size:.75rem;font-weight:450}.ris-table-10 td:last-child,.ris-table-10 th:last-child{white-space:nowrap;text-align:center;padding-right:0;padding-left:0}.inline-details{background:#f8fafc;padding:10px 12px;border-left:3px solid #2563eb;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb}body.dark-mode .inline-details{background:#111827;border-left:3px solid #3b82f6;border-top:1px solid #374151;border-bottom:1px solid #374151;border-right:1px solid #374151}.inline-details h4{font-size:12px;font-weight:600;color:#374151;margin:6px 0;text-transform:uppercase}body.dark-mode .inline-details h4{color:#9ca3af}.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 12px;font-size:12.5px}.details-grid .full-width{grid-column:span 3}.details-grid div{display:flex;gap:4px;align-items:baseline}.details-grid b{color:#6b7280;min-width:110px}body.dark-mode .details-grid b{color:#9ca3af}body.dark-mode .details-grid div{color:#e5e7eb}.date-cell{display:flex;flex-direction:column;line-height:1.25;font-size:13px;color:inherit}.date-cell .date-main{font-size:13px;font-weight:400;color:inherit}.date-cell .date-sub{font-size:13px;opacity:1;color:inherit}.inline-details button{margin-top:8px;padding:3px 8px;font-size:11.5px;border-radius:4px;background:#ef4444;color:#fff;border:none}.inline-details button:hover{background:#dc2626}body.dark-mode .inline-details button{background:#7f1d1d}body.dark-mode .inline-details button:hover{background:#991b1b}.ris-table-2{width:100%;border-collapse:collapse;background-color:#fff}.ris-table-2 th,.ris-table-2 td{padding:4px 6px;border-bottom:1px solid #e5e7eb;font-size:13px}body.dark-mode .ris-table-2 th,body.dark-mode .ris-table-2 td{border-bottom:1px solid #374151}.ris-table-2 thead th{position:sticky;top:0;background-color:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table-2 thead th{background-color:#374151!important}body.dark-mode .ris-table-2 thead th{background-color:#374151!important;color:#e5e7eb;border-bottom:1px solid #4b5563}.ris-table-2 tbody tr:nth-child(2n){background-color:#f9fafb}body.dark-mode .ris-table-2 tbody tr:nth-child(2n){background-color:transparent}.ris-table-2 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-2 tbody tr:hover{background:#1f2937}.priority{padding:3px 6px;border-radius:6px;font-size:11px;font-weight:450}.priority.urgent{background:#ff7875;color:#fff;font-size:11px;font-weight:450}.priority.normal{background:#e6f4ff;color:#0958d9;font-size:11px;font-weight:450}body.dark-mode .ris-table-2{background-color:#111827}.ris-table-2 td>button{margin-right:6px;font-size:.75rem;font-weight:450}.ris-table-2 td:last-child{white-space:nowrap;text-align:center;padding-right:0;padding-left:0}.ris-table-2 th:last-child{white-space:nowrap;text-align:center;padding-right:0;padding-left:0}.comment-inline{text-align:left;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;padding:6px 10px;background:#f9f9f9;border-left:3px solid #4a90e2;border-radius:6px;margin:4px 0}.comment-inline h4{margin:4px 0 8px;font-size:14px;font-weight:600;color:#333}.comment-inline div{margin-bottom:4px;line-height:1.4}.comment-inline span{display:inline-block;color:#444}.comment-inline b{color:#000;font-weight:500}.comment-inline button{margin-top:8px;padding:4px 10px;font-size:12px;border:none;border-radius:4px;cursor:pointer;background:#e74c3c;color:#fff}.comment-inline button:hover{background:#c0392b}.comment-inline{animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.ris-table-2 td:nth-child(6){min-width:110px;max-width:200px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.ris-table-2 td:nth-child(6){font-weight:500;color:#1d39c4}body.dark-mode .ris-table-2 td:nth-child(6){color:#93c5fd}.modality-chip{display:inline-block;font-size:11px;font-weight:400;padding:1px 3px;border-radius:2px;background:#f0f5ff;margin-bottom:2px;color:#1d39c4}body.dark-mode .modality-chip{background:transparent;color:#93c5fd;border:none}.ris-table-2 td:nth-child(10),.ris-table-2 td:nth-child(12){line-height:1.2;white-space:normal}.ris-table-2 td:nth-child(10) div:last-child,.ris-table-2 td:nth-child(12) div:last-child{font-size:10px;opacity:.75}.my-finalized-studies-table td:nth-child(8){min-width:80px;max-width:110px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.my-finalized-studies-table button{font-weight:350}.my-preliminary-studies-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem}.my-preliminary-studies-page h2{font-size:1.6rem;font-weight:600;margin-bottom:.5rem;margin-top:2rem}.my-preliminary-studies-table{width:100%;border-collapse:collapse}.my-preliminary-studies-table th,.my-preliminary-studies-table td{padding:5px;text-align:left;border-bottom:1px solid #e5e7eb;font-family:Inter,Segoe UI,Arial,sans-serif}.my-preliminary-studies-table thead tr:first-child th{position:sticky;top:0;background-color:#e0f2f7;z-index:5;font-weight:600;font-size:13px;cursor:pointer}.my-preliminary-studies-table tbody td{font-size:12px}.my-preliminary-studies-table tbody tr:nth-child(2n){background-color:#f9fafb}.my-preliminary-studies-table tbody tr:hover{background-color:#e6f0ff;transition:background .2s ease}.my-preliminary-studies-table td:nth-child(8){min-width:80px;max-width:110px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.my-preliminary-studies-table td:nth-child(8){font-weight:400;color:#1d39c4}body.dark-mode .my-preliminary-studies-table td:nth-child(8){color:#93c5fd}.my-preliminary-studies-table button{font-weight:350}.ris-filters{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;overflow-x:auto;background:#f3f4f6;padding:6px;border-radius:8px;border:1px solid #d1d5db;position:sticky;top:0;z-index:30}.filters-left{display:flex;gap:4px;align-items:center;flex-wrap:nowrap}body.dark-mode button{background:#374151;color:#e5e7eb}.ris-table{border-collapse:collapse;width:max-content;min-width:100%;background:#fff}body.dark-mode .ris-table{background:#111827}.ris-table th,.ris-table td{padding:4px 8px;border-bottom:1px solid #e5e7eb;font-size:13px;font-weight:400;vertical-align:top;white-space:nowrap}body.dark-mode .ris-table th,body.dark-mode .ris-table td{border-bottom:1px solid #374151}.ris-table thead th{position:sticky;top:48px;background:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table thead th{background:#374151!important;color:#e5e7eb}.ris-table tbody tr:nth-child(2n){background:#f9fafb}body.dark-mode .ris-table tbody tr:nth-child(2n){background:transparent}.ris-table tbody tr:hover{background:#e6f0ff}body.dark-mode .priority.normal{background:#374151;color:#e5e7eb}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem;min-height:100vh;background-color:#fff}.ris-filters{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;background:#f3f4f6;padding:6px;border-radius:8px;border:1px solid #d1d5db;position:sticky;top:0;z-index:30}.filters-left{display:flex;gap:4px;flex-wrap:wrap}.ris-filters input,.ris-filters select{font-size:.7rem;padding:.4rem;border-radius:6px;border:1px solid #d1d5db;background-color:#fff;color:#1f2937}body.dark-mode .ris-filters input,body.dark-mode .ris-filters select{background-color:#374151;color:#f9fafb;border:1px solid #4b5563}button{padding:4px 8px;font-size:.75rem;border-radius:6px;border:none;background:#2563eb;color:#fff;cursor:pointer;transition:all .15s ease}body.dark-mode button:active{background:#6b7280}body.dark-mode .action-btn{background:#1e40af;border:none;color:#fff}body.dark-mode .action-btn:hover{background:#2563eb}.table-wrapper{margin-top:1rem;overflow-x:auto;border-radius:10px;padding-right:0}.ris-table-1{width:100%;border-collapse:collapse;background-color:#fff}.ris-table-1 th,.ris-table-1 td{padding:4px 6px;border-bottom:1px solid #e5e7eb;font-size:13px}body.dark-mode .ris-table-1 th,body.dark-mode .ris-table-1 td{border-bottom:1px solid #374151}.ris-table-1 thead th{position:sticky;top:0;background-color:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table-1 thead th{background-color:#374151!important}body.dark-mode .ris-table-1 thead th{background-color:#374151!important;color:#e5e7eb;border-bottom:1px solid #4b5563}.ris-table-1 tbody tr:nth-child(2n){background-color:#f9fafb}body.dark-mode .ris-table-1 tbody tr:nth-child(2n){background-color:transparent}.ris-table-1 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-1 tbody tr:hover{background:#1f2937}body.dark-mode .selected-row{background:#72798b!important;color:#f9fafb}body.dark-mode .selected-row:hover{background:#ccd0dd!important}body.dark-mode .no-data{color:#9ca3af}body.dark-mode .ris-table-1{background-color:#111827}.ris-table-1 td>button{margin-right:6px;font-size:.75rem;font-weight:450}.filters-right button{font-size:.8rem;font-weight:400;padding:4px 8px}.ris-table-1 td:last-child{white-space:nowrap;text-align:center;padding-right:0;padding-left:0}.ris-table-1 th:last-child{white-space:nowrap;text-align:center;padding-right:0;padding-left:0}.ris-filters{flex-wrap:nowrap;overflow-x:auto}.filters-left{flex-wrap:nowrap;align-items:center}.ris-filters input{width:80px;min-width:70px}.ris-filters select{width:110px;min-width:100px}.ris-filters input[type=date]{width:130px}.filters-right button{white-space:nowrap}.status-cell{font-size:.85rem}.ris-table-1 td{font-size:11.5px;padding:3px 5px}.ris-table-1 td .priority{font-size:.65rem}.ris-table-1 td:nth-child(10),.ris-table-1 td:nth-child(13),.ris-table-1 td:nth-child(14){min-width:85px;text-align:center}.ris-table-1 td:nth-child(6){min-width:110px;max-width:200px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.ris-table-1 td:nth-child(6){font-weight:400;color:#1d39c4}body.dark-mode .ris-table-1 td:nth-child(6){color:#93c5fd}.two-line-time{display:flex;flex-direction:column;line-height:1.1;font-size:10px}.two-line-time div:first-child{font-weight:500}.two-line-time div:last-child{font-size:9px;opacity:.8}.my-finalized-studies-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem}.my-finalized-studies-page h2{font-size:1.6rem;font-weight:600;margin-bottom:.5rem;margin-top:2rem}.filters-row{display:flex;flex-wrap:wrap;gap:5px;background:#f3f4f6;padding:5px;border-radius:8px;border:1px solid #d1d5db;margin-bottom:10px;position:sticky;top:0;z-index:10}.filters-row input,.filters-row select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.75rem;padding:.4rem .6rem;border-radius:6px;border:1px solid #d1d5db;outline:none;background-color:#fff;transition:border-color .2s,box-shadow .2s}.my-finalized-studies-table{width:100%;border-collapse:collapse}.my-finalized-studies-table th,.my-finalized-studies-table td{padding:6px 8px;text-align:left;border-bottom:1px solid #e5e7eb;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.8rem}.my-finalized-studies-table thead th{position:sticky;top:0;background-color:#e0f2f7;font-weight:600;cursor:pointer;z-index:5}.my-finalized-studies-table th:first-child,.my-finalized-studies-table th:last-child{cursor:default}.my-finalized-studies-table tbody tr:nth-child(2n){background-color:#f9fafb}.my-finalized-studies-table tbody tr:hover{background-color:#e6f0ff;transition:background .2s ease}button{font-family:Inter,Segoe UI,Arial,sans-serif;padding:4px 8px;font-weight:600;font-size:.75rem;border-radius:6px;border:none;background-color:#2563eb;color:#fff;cursor:pointer;transition:.2s}.no-data{text-align:center;padding:20px;font-style:italic;color:#6b7280}.my-finalized-studies-table td:nth-child(8){min-width:110px;max-width:140px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.my-finalized-studies-table td:nth-child(8){font-weight:400;color:#1d39c4}body.dark-mode .my-finalized-studies-table td:nth-child(8){color:#93c5fd}.ris-table-6{width:100%;border-collapse:collapse;background:#fff}body.dark-mode .ris-table-6{background:#111827}.ris-table-6 th,.ris-table-6 td{padding:4px 6px;border-bottom:1px solid #e5e7eb;font-size:13px}body.dark-mode .ris-table-6 th,body.dark-mode .ris-table-6 td{border-bottom:1px solid #374151}.ris-table-6 thead th{position:sticky;top:0;background:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table-6 thead th{background:#374151!important;color:#e5e7eb}.ris-table-6 tbody tr:nth-child(2n){background:#f9fafb}body.dark-mode .ris-table-6 tbody tr:nth-child(2n){background:transparent}.ris-table-6 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-6 tbody tr:hover{background:#1f2937}.ris-table-6 td:nth-child(8){white-space:normal;line-height:1.2;font-size:12px}.ris-table-6 td:nth-child(8) span{display:block}.ris-table-6 td:nth-child(2),.ris-table-6 td:nth-child(3),.ris-table-6 td:nth-child(4),.ris-table-6 td:nth-child(5),.ris-table-6 td:nth-child(9){white-space:nowrap;font-weight:400}.ris-table-6 select{font-size:.7rem;height:22px}body.dark-mode .ris-table-6 select{background:#1f2937;color:#e5e7eb;border:1px solid #374151}.ris-table-6 td:last-child,.ris-table-6 th:last-child{text-align:center;white-space:nowrap}.date-top{font-size:12px;font-weight:400;color:#1f2937}.ris-filters select,.ris-table-6 select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.7rem;font-weight:400;letter-spacing:.2px;line-height:1.2;padding:4px 6px;border-radius:6px;min-height:26px}body.dark-mode .ris-table-6 tbody tr:hover:not(.selected-row){background:#1f2937}body.dark-mode .selected-row:hover{background:#232b3a!important}.ris-table tbody tr{transition:background .12s ease}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;padding:1.5rem;color:#1f2937;background:#f9fafb}.ris-title{font-size:1.8rem;font-weight:700;margin-bottom:16px}.ris-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 14px #0000000f}.ris-table thead{background:#1d4ed8;color:#fff}.ris-table th{text-align:left;padding:12px 14px;font-size:.9rem;font-weight:600}.ris-table td{padding:12px 14px;font-size:.9rem;border-bottom:1px solid #e5e7eb}.ris-table tbody tr:hover{background:#f9fafb}.ris-table button{padding:5px 10px;font-size:.8rem;border-radius:6px;border:none;background:#2563eb;color:#fff;cursor:pointer;transition:background .15s ease}.ris-table button:hover{background:#1d4ed8}.ris-empty{text-align:center;padding:20px;color:#6b7280}.comment-modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:999}.comment-modal{background:#fff;padding:20px;border-radius:10px;width:400px;max-width:90%}.comment-modal h3{margin-bottom:10px}.comment-modal p{font-size:.9rem;color:#374151;white-space:pre-wrap}.comment-modal button{margin-top:15px;padding:6px 10px;background:#3a228f;color:#fff;border:none;border-radius:6px}.study-title-chip{display:inline-block;padding:1px 5px;border-radius:5px;font-size:11px;font-weight:400;line-height:1.2;background-color:#f0f5ff;color:#1d39c4;white-space:normal;word-break:break-word;min-width:120px;max-width:300px}.ris-search-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 0}.ris-search-row input,.ris-search-row select{padding:4px 8px;font-size:.85rem}.ris-table-wrapper{max-height:75vh;overflow:auto}.comment-inline button{margin-top:8px;padding:3px 8px;font-size:11.5px;border-radius:4px;background:#ef4444;color:#fff;border:none;cursor:pointer;transition:background .15s ease;font-weight:500}.comment-inline button:hover{background:#dc2626}.ris-toast{position:fixed;top:1rem;right:1rem;background-color:#2563eb;color:#fff;padding:1rem 1.5rem;border-radius:.5rem;box-shadow:0 0 10px #0003;animation:fadeInOut 3s forwards;z-index:9999}@keyframes fadeInOut{0%{opacity:0;transform:translateY(-10px)}10%,90%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.ris-new-row{background-color:#fef3c7;transition:background-color .5s ease}.ris-new-row{background:#e0e7ff!important;animation:highlightFade 3s ease forwards}@keyframes highlightFade{0%{background:#c7d2fe}to{background:transparent}}body.dark-mode,body.dark-mode .ris-page{background:#0f172a;color:#e5e7eb}body.dark-mode .ris-table{background:#111827;color:#e5e7eb}body.dark-mode .ris-table thead{background:#1f2937;color:#e5e7eb}body.dark-mode .ris-table td,body.dark-mode .ris-table th{border-bottom:1px solid #374151}body.dark-mode .ris-table tbody tr:hover{background:#1f2937}body.dark-mode .ris-table button{background:#374151;color:#e5e7eb;border:1px solid #4b5563}body.dark-mode .ris-table button:hover{background:#4b5563}body.dark-mode .comment-modal{background:#111827;color:#e5e7eb}body.dark-mode .comment-modal p{color:#d1d5db}body.dark-mode .study-title-chip{background:#1f2937;color:#93c5fd}body.dark-mode .comment-inline button{background:#7f1d1d;color:#fecaca}body.dark-mode .comment-inline button:hover{background:#991b1b}body.dark-mode .comment-inline{background:#0b1220;color:#e5e7eb;border:1px solid #1f2937;box-shadow:0 4px 12px #0006}body.dark-mode .comment-inline span,body.dark-mode .comment-inline div{color:#93c5fd}body.dark-mode .comment-inline{background:#0b1220;border:1px solid #1f2937;box-shadow:0 4px 12px #0006;color:#93c5fd}body.dark-mode .comment-inline h4,body.dark-mode .comment-inline span,body.dark-mode .comment-inline div,body.dark-mode .comment-inline p{color:#93c5fd!important}body.dark-mode .comment-inline h4{font-weight:600;color:#93c5fd}body.dark-mode .comment-inline *{color:#93c5fd}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;padding:1.5rem;min-height:100vh;background:#fff;color:#1f2937}body.dark-mode .ris-page{background:#111827;color:#f9fafb}.ris-title{font-size:1.6rem;font-weight:600;margin:2rem 0 .5rem}body.dark-mode .ris-title{color:#e5e7eb}.study-count{font-size:.95rem;color:#4b5563;margin-bottom:12px}body.dark-mode .study-count{color:#9ca3af}.ris-filters{display:flex;justify-content:space-between;align-items:center;padding:6px;border-radius:8px;border:1px solid #d1d5db;background:#f3f4f6;position:sticky;top:0;z-index:30;overflow-x:auto}body.dark-mode .ris-filters{background:#1f2937;border-color:#374151}.filters-left{display:flex;gap:4px;align-items:center}.filters-right{display:flex;gap:6px}.ris-filters input,.ris-filters select{font-size:.7rem;padding:.4rem;border-radius:6px;border:1px solid #d1d5db;background:#fff}body.dark-mode .ris-filters input,body.dark-mode .ris-filters select{background:#374151;color:#f9fafb;border:1px solid #4b5563}.table-wrapper{margin-top:1rem;overflow-x:auto;border-radius:10px}.ris-table-5{width:100%;border-collapse:collapse;background:#fff}body.dark-mode .ris-table-5{background:#111827}.ris-table-5 th,.ris-table-5 td{padding:4px 6px;border-bottom:1px solid #e5e7eb;font-size:13px}body.dark-mode .ris-table-5 th,body.dark-mode .ris-table-5 td{border-bottom:1px solid #374151}.ris-table-5 thead th{position:sticky;top:0;background:#e0f2f7;z-index:20;cursor:pointer}body.dark-mode .ris-table-5 thead th{background:#374151!important;color:#e5e7eb}.ris-table-5 tbody tr:nth-child(2n){background:#f9fafb}body.dark-mode .ris-table-5 tbody tr:nth-child(2n){background:transparent}.ris-table-5 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-5 tbody tr:hover{background:#1f2937}.priority{padding:3px 6px;border-radius:6px;font-size:.75rem;font-weight:500}body.dark-mode .priority.urgent{background:#7f1d1d;color:#fecaca}.modality-badge{display:inline-block;padding:1px 5px;border-radius:5px;font-size:11px;background:#f0f5ff;color:#1d39c4;max-width:120px;word-break:break-word}body.dark-mode .modality-badge{background:#1f2937;color:#93c5fd}.ris-table-5 td:nth-child(8){white-space:normal;line-height:1.2;font-size:12px}.ris-table-5 td:nth-child(8) span{display:block}.ris-table-5 td:nth-child(2),.ris-table-5 td:nth-child(3),.ris-table-5 td:nth-child(4),.ris-table-5 td:nth-child(5),.ris-table-5 td:nth-child(9){white-space:nowrap;font-weight:400}.ris-table-5 select{font-size:.7rem;height:22px}body.dark-mode .ris-table-5 select{background:#1f2937;color:#e5e7eb;border:1px solid #374151}.sla-warning{box-shadow:inset 4px 0 #f59e0b}.sla-critical{box-shadow:inset 4px 0 #ef4444}body.dark-mode .sla-critical{background:#ef444426}.ris-table-5 td:last-child,.ris-table-5 th:last-child{text-align:center;white-space:nowrap}.date-cell{display:flex;flex-direction:column;line-height:1.1}.date-top{font-size:12.5px;font-weight:500;color:#1f2937}.date-bottom{font-size:11px;color:#6b7280}body.dark-mode .date-top{color:#e5e7eb}body.dark-mode .date-bottom{color:#9ca3af}.ris-filters select,.ris-table-5 select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.7rem;font-weight:400;letter-spacing:.2px;line-height:1.2;padding:4px 6px;border-radius:6px;min-height:26px}body.dark-mode .ris-filters select,body.dark-mode .ris-table-6 select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.7rem;font-weight:400;letter-spacing:.25px;color:#f9fafb;background-color:#374151;border:1px solid #4b5563}body.dark-mode select option{font-size:.7rem;font-weight:400;background-color:#111827;color:#f9fafb}body.dark-mode select option:checked{background-color:#1f2937;font-weight:400}.finalized-studies-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem}.finalized-studies-page h2{font-size:1.6rem;font-weight:600;margin-bottom:.5rem;margin-top:2rem}.filters-row{display:flex;flex-wrap:wrap;gap:2px;background:#f3f4f6;padding:3px;border-radius:8px;border:1px solid #d1d5db;position:sticky;top:0;z-index:10}.filters-row input,.filters-row select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.7rem;padding:.4rem .5rem;border-radius:8px;border:1px solid #d1d5db;outline:none;background-color:#fff;transition:border-color .2s,box-shadow .2s}.filters-row input:focus,.filters-row select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.finalized-studies-table{width:100%;border-collapse:collapse}.finalized-studies-table th,.finalized-studies-table td{padding:5px;text-align:left;border-bottom:1px solid #e5e7eb;font-family:Inter,Segoe UI,Arial,sans-serif}.finalized-studies-table thead tr:first-child th{position:sticky;top:0;background-color:#e0f2f7;z-index:5;font-weight:600;font-size:13px;cursor:pointer}.finalized-studies-table tbody tr:nth-child(2n){background-color:#f9fafb}.finalized-studies-table tbody tr:hover{background-color:#e6f0ff;transition:background .2s ease}button{font-family:Inter,Segoe UI,Arial,sans-serif;padding:3px 6px;font-weight:600;font-size:.75rem;border-radius:6px;border:none;background-color:#2563eb;color:#fff;cursor:pointer;transition:.2s}button:hover{background-color:#1d4ed8}.filter-btn{padding:4px 10px;font-size:.75rem;border-radius:6px;background-color:#1d4ed8;color:#fff;height:28px;display:flex;align-items:center}.small-btn{padding:4px 8px;font-size:.75rem}.finalized-studies-table td{font-size:12px}.finalized-studies-table th{font-size:13px}.filters-row input,.filters-row select{height:30px;margin-top:1px;box-sizing:border-box}.filters-row input[type=date]{padding:0 6px}.filters-row .filters-row{margin-top:0;padding:0;border:none;background:transparent}.modality-badge{display:inline-block;padding:1px 5px;border-radius:5px;font-size:11px;font-weight:400;line-height:1.2;background-color:#f0f5ff;color:#1d39c4;white-space:normal;word-break:break-word;max-width:120px}.priority-badge{display:inline-block;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:400;white-space:nowrap}.priority-badge.normal{background-color:#e6f4ff;color:#0958d9}.priority-badge.urgent{background-color:#ff4d4f;color:#fff}.finalized-studies-table td:nth-child(8){max-width:130px}.finalized-studies-table button{font-weight:350}.patients-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.patients-title{font-size:22px;font-weight:600}.patients-subtitle{font-size:14px;color:#6b7280;margin-top:3px}.patients-table{width:100%;min-width:max-content;border-collapse:collapse;font-size:12px;table-layout:auto}.table-wrapper{max-height:75vh;overflow-y:auto;overflow-x:auto;border-radius:10px;position:relative}.patients-table thead tr:first-child th{position:sticky;top:0;z-index:3;background:#e0f2f7;color:#374151;border-bottom:1px solid #e5e7eb;text-align:left}.patients-table thead tr.search-row th{position:sticky;top:38px;z-index:0;background:#e0f2f7;box-shadow:0 2px #00000008;text-align:left}.patients-table th{padding:5px;text-align:left;font-weight:600;font-size:12.5px}.patients-table td{padding:2px 3px;border-bottom:1px solid #f1f3f6;text-align:left}.patients-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.patients-table tbody tr:hover{background-color:#e0f2f7;box-shadow:inset 3px 0 #e0f2f7}.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.sortable:hover{color:#1d4ed8}.search-row th{padding:4px}.search-row input{width:100%;box-sizing:border-box;padding:3px;border-radius:6px;border:1px solid #cbd5e1;font-size:12px;background-color:#fff;transition:all .2s ease}.search-row th:nth-child(2) input{width:70px}.search-row th:nth-child(8) input{width:90%}.search-row input:focus{border-color:#0d6efd;outline:none;box-shadow:0 0 0 3px #0d6efd26}.search-row input::placeholder{color:#9ca3af;font-size:11px}.action-buttons{display:flex;gap:1px;flex-wrap:nowrap}.btn{padding:4px 6px;border-radius:6px;font-size:11px;font-weight:400;border:1px solid transparent;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn.primary{background:#e0edff;color:#1d4ed8;border:1px solid #c7dbff}.btn.neutral{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.patients-page{padding:1.5rem;background:#f3f6fb;font-family:Segoe UI,Roboto,Arial,sans-serif;color:#1f2937}.patients-card{background:#fff;padding:8px;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e6eaf0}.patients-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.patients-title{font-size:20px;font-weight:600}.patients-subtitle{font-size:13px;color:#6b7280}.study-type{font-size:13px;font-weight:600;color:#374151}.table-wrapper{max-height:75vh;overflow:auto;border-radius:10px}.patients-table{width:100%;border-collapse:collapse;font-size:12px}.patients-table thead th{position:sticky;top:0;background:#e0f2f7;color:#374151;font-weight:600;padding:8px 10px;text-align:left;border-bottom:1px solid #e5e7eb}.patients-table td{padding:6px 8px;border-bottom:1px solid #f1f3f6}.patients-table tbody tr:hover{background:#e0f2f7}.badge{padding:3px 8px;border-radius:20px;font-size:11px;font-weight:600}.badge.scheduled{background:#e3f2fd;color:#1976d2}.badge.imaged{background:#fff3cd;color:#856404}.badge.progress{background:#e8f5e9;color:#2e7d32}.badge.finalized{background:#d4edda;color:#155724}.modality-badge{display:inline-block;padding:1px 5px;border-radius:5px;font-size:11px;background:#eef2ff;color:#3730a3;max-width:80px;word-break:break-word}.btn{padding:5px 8px;font-size:11px;border-radius:6px;border:none;cursor:pointer}.btn.success{background:#f8f8e7;color:#047857;border:1px solid #e7eab6}.btn:hover{transform:translateY(-1px);filter:brightness(.97)}.empty-state{padding:20px;text-align:center;color:#888}.profile-container{padding:32px;background:#f4f7fb;min-height:100vh;font-family:Inter,Segoe UI,Arial,sans-serif;display:flex;justify-content:center}.profile-card{background:#fff;padding:28px;width:100%;max-width:520px;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 8px 24px #0000000f}.profile-card h2{margin-bottom:4px;font-size:1.4rem;font-weight:600;color:#111827}.subtitle{font-size:.8rem;color:#6b7280;margin-bottom:22px}.profile-header{display:flex;align-items:center;gap:16px;margin-bottom:20px}.profile-image{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.profile-placeholder{width:64px;height:64px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:600}.profile-name{font-size:.95rem;font-weight:600;color:#111827;margin-bottom:4px}.profile-role{font-size:.8rem;color:#6b7280}.profile-name span,.profile-role span{font-weight:500;color:#374151}.profile-info{margin-bottom:14px}.profile-info p{font-size:.85rem;color:#374151}.profile-info span{font-weight:500}.signature-section{margin-top:18px}.signature-section p{font-size:.8rem;color:#374151;margin-bottom:6px}.signature-image{width:180px;border:1px solid #e5e7eb;padding:6px;background:#fff;border-radius:6px}.profile-form{margin-top:20px;display:flex;flex-direction:column;gap:14px}.field label{font-size:.75rem;color:#6b7280;margin-bottom:4px;display:block}.field input{width:100%;padding:10px;border-radius:6px;border:1px solid #d1d5db;font-size:.85rem;transition:.2s}.field input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1a}.profile-form button{margin-top:10px;padding:11px;background:#1e2a38;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:.2s}.profile-form button:hover{background:#2e3b4e}.profile-form button:disabled{opacity:.6;cursor:not-allowed}html,body,#root{height:100%}body.dark-mode .studies-page{background-color:#111827;color:#f9fafb}body.dark-mode .studies-title{color:#e5e7eb}body.dark-mode .studies-filters{background:#1f2937;border-color:#374151}body.dark-mode .studies-filters input,body.dark-mode .studies-filters select{background-color:#374151;color:#f9fafb;border:1px solid #4b5563}body.dark-mode .studies-filters input::placeholder{color:#9ca3af}body.dark-mode .studies-table{background-color:#111827}body.dark-mode .studies-table th,body.dark-mode .studies-table td{color:#e5e7eb;border-bottom:1px solid #374151;background-color:transparent}body.dark-mode .studies-table thead th{background-color:#374151!important;color:#e5e7eb;border-bottom:1px solid #4b5563}body.dark-mode .studies-table tbody tr:nth-child(2n){background-color:transparent}body.dark-mode .studies-table tbody tr:hover td{background-color:#1f2937!important}body.dark-mode .studies-table tbody tr.selected-row td{background-color:#72798b!important;color:#f9fafb}body.dark-mode .studies-table tbody tr.selected-row:hover td{background-color:#ccd0dd!important}body.dark-mode .selected-row td:first-child{border-left:4px solid #3b82f6}.studies-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem;overflow-x:auto;overflow-y:auto;height:100%;display:flex;flex-direction:column}.studies-title{font-size:1.7rem;font-weight:500;margin-bottom:1rem}.studies-filters{display:flex;flex-wrap:wrap;gap:5px;background:#f3f4f6;padding:6px;border-radius:4px;border:1px solid #d1d5db;position:sticky;top:0;z-index:40}.studies-filters input,.studies-filters select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.75rem;padding:.35rem .5rem;border-radius:8px;border:1px solid #d1d5db;outline:none;color:#1f2937;background-color:#fff;transition:border-color .2s,box-shadow .2s}.studies-filters input::placeholder{color:#9ca3af}.studies-filters input:focus,.studies-filters select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.refresh-btn{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.8rem;font-weight:200;padding:0rem .6rem;border-radius:5px;border:none;background-color:#2563eb;color:#fff;cursor:pointer;transition:background .2s}.refresh-btn:hover{background-color:#1d4ed8}.table-wrapper{flex:none;min-width:100%;overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 200px);margin-top:0rem;border-radius:10px}.studies-table{width:2500px;border-collapse:collapse;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px}.studies-table th,.studies-table td{padding:3px;text-align:left;color:#1f2937;border-bottom:1px solid #e5e7eb;background:#fff}.studies-table th:nth-child(1),.studies-table td:nth-child(1){min-width:50px}.studies-table th:nth-child(2),.studies-table td:nth-child(2){min-width:80px}.studies-table th:nth-child(3),.studies-table td:nth-child(3),.studies-table th:nth-child(4),.studies-table td:nth-child(4),.studies-table th:nth-child(5),.studies-table td:nth-child(5){min-width:110px}.studies-table th:nth-child(1),.studies-table td:nth-child(1){position:sticky;left:0;z-index:30;background-color:#fff}.studies-table th:nth-child(2),.studies-table td:nth-child(2){position:sticky;left:50px;z-index:30;background-color:#fff}.studies-table thead th:nth-child(1),.studies-table thead th:nth-child(2){background-color:#e0f2f7;z-index:60}body:not(.dark-mode) .studies-table td:nth-child(1),body:not(.dark-mode) .studies-table td:nth-child(2){background-color:#fff}body.dark-mode .studies-table td:nth-child(1),body.dark-mode .studies-table td:nth-child(2){background-color:#111827}.studies-table th:nth-child(5),.studies-table td:nth-child(5){box-shadow:3px 0 6px #00000014}.studies-table tbody tr:nth-child(2n){background-color:#f9fafb}.studies-table tbody tr:hover td{background-color:#e6f0ff!important;cursor:pointer}.priority{padding:2px 4px;border-radius:4px;font-weight:400}.priority.urgent{background-color:#ff4d4f;color:#fff}.priority.normal{background-color:#d9f7be;color:#000}.no-data{text-align:center;padding:20px}.studies-table input,.studies-table select,.studies-table textarea,button{font-family:Inter,Segoe UI,Arial,sans-serif}.studies-table thead th{position:sticky;top:0;background-color:#e0f2f7;z-index:40}.studies-table thead th:nth-child(1){left:0;z-index:60}.studies-table thead th:nth-child(2){left:50px;z-index:60}.studies-table tbody tr.selected-row td{background-color:#cfe3ff!important}.studies-table tbody tr.selected-row td:nth-child(-n+2){background-color:#cfe3ff!important}.studies-table thead th:nth-child(-n+5){position:sticky}.studies-table td:nth-child(9) .priority{font-size:11px;font-weight:400}.studies-table td:nth-child(10) .priority{font-size:11px;font-weight:400}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem;min-height:100vh;background-color:#fff;font-size:.95rem}.ris-title{font-size:1.4rem;font-weight:400;margin-bottom:1rem}.study-box{display:flex;flex-direction:column;gap:7px;background:#f3f4f6;padding:14px;border-radius:10px}body.dark-mode .study-box{background:#1f2937}.info-row{display:flex;gap:8px;flex-wrap:wrap}.info-label{font-weight:500;min-width:130px}.info-value{flex:1}.darkmode-toggle{margin-bottom:1px}.action-btn{padding:6px 12px;margin-right:10px;margin-bottom:10px;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;border:none;background-color:#1e40af;color:#fff;transition:all .15s ease}.action-btn:hover{background-color:#2563eb}body.dark-mode .action-btn{background-color:#374151;color:#f9fafb;border:1px solid #4b5563}body.dark-mode .action-btn:hover{background-color:#4b5563}.back-button-wrapper{margin-top:4px}body.dark-mode{background-color:#111827;color:#f9fafb}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;padding:1.5rem;min-height:100vh;background-color:#fff}body.dark-mode .ris-page{background-color:#111827;color:#f9fafb}.ris-table-4{width:100%;border-collapse:collapse;background-color:#fff}body.dark-mode .ris-table-4{background-color:#111827}.ris-table-4 th,.ris-table-4 td{padding:6px 8px;border-bottom:1px solid #e5e7eb;font-size:13px;text-align:left}body.dark-mode .ris-table-4 th,body.dark-mode .ris-table-4 td{border-bottom:1px solid #374151}.ris-table-4 thead th{position:sticky;top:0;background-color:#e0f2f7;z-index:10}body.dark-mode .ris-table-4 thead th{background-color:#374151;color:#e5e7eb}.ris-table-4 tbody tr:hover{background:#e6f0ff}body.dark-mode .ris-table-4 tbody tr:hover{background:#1f2937}.selected-row{background:#cfe3ff!important}body.dark-mode .selected-row{background:#2a3142!important}.priority{padding:3px 6px;border-radius:6px;font-size:.75rem;font-weight:500;white-space:nowrap}body.dark-mode .priority.normal{background:#374151;color:#e5e7eb;border:1px solid #4b5563}body.dark-mode .priority.urgent{background:#7f1d1d;color:#fecaca;border:1px solid #991b1b}.modality-badge{display:inline-block;padding:3px 6px;border-radius:6px;font-size:.7rem;font-weight:400;background:#e6f4ff;color:#0958d9;white-space:normal;word-break:break-word}body.dark-mode .modality-badge{background:#374151;color:#e5e7eb;border:1px solid #4b5563}.ris-table-4 td:last-child,.ris-table-4 th:last-child{text-align:center;white-space:nowrap}button{padding:4px 8px;font-size:.75rem;border-radius:6px;border:none;background:#2563eb;color:#fff;cursor:pointer}button:hover{background:#1d4ed8}body.dark-mode button{background:#374151;color:#e5e7eb;border:1px solid #4b5563}body.dark-mode button:hover{background:#4b5563}.ris-table-4 th:nth-child(14),.ris-table-4 td:nth-child(14){max-width:110px;width:110px}.ris-table-4 td:nth-child(14) .priority{display:inline-block;white-space:normal;word-break:break-word;text-align:center;line-height:1.1;padding:4px 6px}.action-btn{padding:4px 8px;font-size:.75rem;border-radius:6px}.disabled-downgrade{opacity:.45;cursor:not-allowed;pointer-events:none;filter:none}.disabled-downgrade:hover{background:#2563eb}.report-editor-fullscreen{width:100%;min-height:100vh;margin:0;padding:3rem 3rem 3rem 2rem;box-sizing:border-box;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;background-color:#f9fafb}.dark-mode.report-editor-fullscreen{background-color:#0f172a;color:#e5e7eb}.patient-info-top details{background:#fff;padding:1rem;border-radius:8px;margin-bottom:1.5rem;box-shadow:0 4px 12px #0000000f;transition:all .3s ease;font-size:.8rem}.patient-info-top summary{font-weight:500;cursor:pointer}.patient-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem 1rem;margin-top:.5rem}.patient-info-grid .full-width{grid-column:span 3}.return-feedback-box{background:#fff7ed;border-left:4px solid #f97316;padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:8px;font-size:.95rem;box-shadow:0 2px 6px #0000000a}.report-editor-field{margin-bottom:1rem;transition:all .3s ease}.report-editor-field label{font-weight:600;display:block;margin-bottom:.2rem;font-size:.95rem;color:#374151}.editor-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:3px 5px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;margin-bottom:.4rem}.editor-toolbar button{padding:3px 6px;font-size:.65rem;border-radius:4px;border:1px solid #d1d5db;background:#3a228f;cursor:pointer;transition:all .2s}.editor-toolbar button:hover{background-color:#0ea5e9;border-color:#0ea5e9}.editor-content-box{border:1px solid #d1d5db;border-radius:8px;padding:0rem .2rem;min-height:220px;max-height:400px;overflow-y:auto;background:#fff;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.9rem;line-height:1.5;box-shadow:inset 0 1px 2px #0000000d}.editor-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:1rem}.editor-actions button{height:34px;padding:0 12px;font-size:.8rem;font-weight:500;border-radius:6px;border:1px solid #d1d5db;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;transition:all .15s ease}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}.btn-primary{background:#e6f0ff;border-color:#93c5fd;color:#1e3a8a}.btn-primary:hover{background:#dbeafe}.btn-outline{background:#fff;color:#374151;border:1px solid #e5e7eb}.btn-outline:hover{background:#f9fafb}.btn-warning{background:#fff7ed;border-color:#fdba74;color:#92400e}.btn-warning:hover{background:#ffedd5}.editor-actions button:disabled{opacity:.5;cursor:not-allowed}.locked-message{color:#16a34a;font-weight:500;margin-top:1rem}@media screen and (max-width:768px){.patient-info-grid{grid-template-columns:1fr;gap:.5rem}.editor-toolbar{gap:4px;padding:4px 6px}.editor-content-box{min-height:180px}.editor-actions{flex-direction:column;align-items:stretch}.editor-actions button{width:100%}}.report-editor-field.impression-field{margin-bottom:.1rem}.editor-content-impression{border:1px solid #d1d5db;border-radius:6px;padding:.1rem .5rem;min-height:2px;max-height:300px;overflow-y:auto;background:#fff;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.95rem;line-height:1.4;box-shadow:none}.report-editor-field.impression-field .editor-toolbar{margin-bottom:.2rem;border-radius:6px 6px 0 0}.findings-header{display:flex;justify-content:space-between;align-items:center}.fullscreen-btn{padding:1px 7px;font-size:.9rem;border-radius:6px;border:1px solid #d1d5db;background:#3a228f;color:#fff;cursor:pointer}.fullscreen-btn:hover{background:#0ea5e9}.fullscreen-active{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;padding:1rem;margin:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;animation:expandFade .25s ease}.dark-mode.fullscreen-active{background:#0b1220!important}.dark-mode .report-editor-field{background:transparent}.dark-mode .impression-field,.dark-mode .editor-content-box,.dark-mode .editor-content-impression{background:#111827}.dark-mode.fullscreen-active .report-editor-field{background:#0f172a!important}.fullscreen-active{background-clip:padding-box}.fullscreen-active .editor-content-box{flex:1;max-height:none;min-height:0;overflow-y:auto}.fullscreen-active .report-editor-field.impression-field{margin-top:1rem;flex:0}@keyframes expandFade{0%{opacity:.6;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.fullscreen-active .editor-content-impression{flex:1;max-height:none;min-height:0;overflow-y:auto}.report-editor-fullscreen.fullscreen-active{width:100vw;height:100vh;padding:1rem;overflow:hidden}.fullscreen-active .patient-info-top,.fullscreen-active .return-feedback-box{display:none}.fullscreen-active{padding:1rem 1.5rem 1.5rem 1rem;box-sizing:border-box}.fullscreen-active .fullscreen-btn{z-index:10000;position:relative}.fullscreen-active{padding:1rem 1.5rem 1.5rem 1rem;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}.fullscreen-active .report-editor-field.fullscreen-active{flex:1;display:flex;flex-direction:column;overflow:hidden}.fullscreen-active .editor-content-box{flex:1;max-height:none;min-height:0;overflow-y:auto;margin-bottom:1rem}.fullscreen-active .report-editor-field.impression-field{flex:0 0 auto;display:flex;flex-direction:column}.fullscreen-active .editor-content-impression{max-height:200px;overflow-y:auto}.fullscreen-active .editor-actions{flex-shrink:0;margin-top:auto}.fullscreen-active .fullscreen-btn{position:absolute;top:1rem;right:1.5rem;z-index:10000}.return-to-resident-container{margin-top:5px;margin-bottom:5px;padding:10px;border:1px solid #e5e7eb;border-radius:8px;background-color:#f9fafb;box-shadow:0 2px 6px #0000000d;display:flex;flex-direction:column;gap:10px;width:98%}.return-label{font-weight:600;color:#374151;font-size:.95rem}.return-comment-box{width:99%;padding:5px;font-size:.95rem;border:1px solid #d1d5db;border-radius:6px;resize:vertical;font-family:inherit}.return-comment-box:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.return-confirm-btn{align-self:flex-start;background-color:#b45309;color:#fff;font-weight:600;padding:8px 16px;border-radius:6px;border:none;cursor:pointer;transition:background .2s ease}.return-confirm-btn:hover{background-color:#9a3e07}.return-confirm-btn:disabled{background-color:#f59e0b;cursor:not-allowed}.confirm-btn{height:34px;padding:0 12px;font-size:.8rem;font-weight:500;border-radius:6px;border:1px solid #d1d5db;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease;background:#b45309;border-color:#93c5fd;color:#fff}.confirm-btn:hover{background:#9a3e07}.dark-mode{background:#0f172a;color:#e5e7eb}.dark-mode.fullscreen-active{background:#0b1220!important;color:#e5e7eb}.dark-mode.fullscreen-active .patient-info-top,.dark-mode.fullscreen-active .editor-content-box,.dark-mode.fullscreen-active .editor-content-impression,.dark-mode.fullscreen-active .findings-header{background:#0f172a!important;color:#e5e7eb!important}.dark-mode .patient-info-top details{background:#111827;box-shadow:none;border:1px solid #1f2937;color:#e5e7eb}.dark-mode .patient-info-grid p{color:#cbd5e1}.dark-mode .editor-content-box,.dark-mode .editor-content-impression{background:#111827;border:1px solid #1f2937;color:#e5e7eb}.dark-mode .editor-toolbar{background:#111827;border:1px solid #1f2937}.dark-mode .editor-toolbar button{background:#1f2937;border:1px solid #374151;color:#e5e7eb}.dark-mode .editor-toolbar button:hover{background:#2563eb;border-color:#2563eb}.dark-mode .editor-actions button{background:#111827;border:1px solid #374151;color:#e5e7eb}.dark-mode .editor-actions button:hover{background:#1f2937}.dark-mode .btn-primary{background:#1e3a8a;border-color:#2563eb;color:#fff}.dark-mode .btn-primary:hover{background:#2563eb}.dark-mode .btn-secondary{background:#1f2937;color:#e5e7eb}.dark-mode .btn-outline{background:transparent;border:1px solid #374151;color:#cbd5e1}.dark-mode .btn-outline:hover{background:#1f2937}.dark-mode .btn-warning{background:#3b2a1a;border-color:#b45309;color:#fbbf24}.dark-mode .return-to-resident-container{background:#111827;border:1px solid #1f2937}.dark-mode .return-comment-box{background:#0f172a;border:1px solid #374151;color:#e5e7eb}.dark-mode.fullscreen-active{background:#0b1220}.top-controls{display:flex;gap:10px;align-items:center;position:relative;z-index:10001}.top-controls button{white-space:nowrap}body{margin:0;background:#f9fafb}body.dark-mode{background:#0f172a}.findings-left-controls{display:flex;align-items:center;gap:8px}.dropdown-btn{font-size:.6rem;padding:2px 4px;border-radius:4px;border:1px solid #d1d5db;background:#3a228f;color:#fff;cursor:pointer}.dropdown-btn:hover{background:#0ea5e9}.dark-toggle-btn{padding:2px 8px;font-size:.75rem}.top-controls{margin-left:auto}.patient-info-top details{background:#f8fafc;padding:10px 12px;border-left:3px solid #2563eb;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:6px;margin-bottom:10px;font-size:12.5px}.dark-mode .patient-info-top details{background:#111827;border-left:3px solid #3b82f6;border:1px solid #374151}.patient-info-top summary{font-size:12px;font-weight:600;color:#374151;cursor:pointer;text-transform:uppercase;letter-spacing:.3px}.dark-mode .patient-info-top summary{color:#9ca3af}.patient-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 12px;margin-top:6px}@media(max-width:768px){.patient-info-grid{grid-template-columns:1fr}}.patient-info-grid p{display:flex;gap:4px;margin:0;line-height:1.3}.patient-info-grid b{font-weight:500;color:#6b7280;min-width:110px}.patient-info-grid p{color:#111827}.dark-mode .patient-info-grid p{color:#e5e7eb}.dark-mode .patient-info-grid b{color:#9ca3af}.patient-info-grid .full-width{grid-column:span 3;display:block;line-height:1.4}.dark-mode .patient-info-grid .full-width{color:#d1d5db}.tat-container{padding:40px;background:#f4f6f9;min-height:100vh;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937}.tat-title{font-size:26px;font-weight:600;margin-bottom:25px}.preset-buttons{display:flex;gap:12px;margin-bottom:20px}.preset-buttons button{background:#2563eb;color:#fff;border:none;padding:8px 14px;border-radius:6px;cursor:pointer;font-weight:500;transition:.2s ease}.preset-buttons button:hover{background:#1d4ed8}.filters-card{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 10px #0000000d;display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:30px}.filters-card select{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px;padding:8px 12px;border-radius:6px;border:1px solid #d1d5db;min-width:180px;background-color:#fff;color:#1f2937;outline:none;appearance:none}.filters-card select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.apply-btn{background:#16a34a;color:#fff;border:none;padding:9px 18px;border-radius:6px;cursor:pointer;font-weight:500}.apply-btn:hover{background:#15803d}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-bottom:40px}.tat-card{background:#fff;padding:24px;border-radius:10px;box-shadow:0 2px 10px #0000000d}.card-label{color:#6b7280;font-size:14px}.card-value{font-size:28px;font-weight:600;margin-top:8px}.section-title{font-size:20px;font-weight:600;margin-bottom:20px}.modality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.modality-card{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 10px #0000000d;font-size:14px}.modality-name{font-weight:600;font-size:16px;margin-bottom:8px}.error{color:#dc2626;margin-bottom:20px}.clear-btn{background:#6b7280;color:#fff;border:none;padding:9px 18px;border-radius:6px;cursor:pointer}.clear-btn:hover{background:#4b5563}.date-input{font-family:inherit;font-size:14px;padding:8px 10px;border-radius:6px;border:1px solid #d1d5db;background:#fff;min-width:150px}.date-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.disabled-date{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.ris-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;padding:1.5rem}.ris-title{font-size:1.6rem;font-weight:600;margin-bottom:.5rem;margin-top:2rem}.ris-filters{display:flex;justify-content:flex-start;align-items:center;gap:6px;flex-wrap:wrap;background:#f3f4f6;padding:3px;border-radius:8px;border:1px solid #d1d5db;position:sticky;top:0;z-index:10}.ris-filters input{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:.7rem;padding:.4rem .5rem;border-radius:8px;border:1px solid #d1d5db;outline:none;background-color:#fff;transition:border-color .2s,box-shadow .2s}.ris-filters input::placeholder{color:#9ca3af}.ris-filters input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.filter-btn{padding:4px 10px;font-size:.75rem;border-radius:6px;background-color:#2563eb;color:#fff;height:28px;display:flex;align-items:center}.table-wrapper{overflow-x:auto;margin-top:1rem;border-radius:10px}.ris-table{width:100%;border-collapse:collapse}.ris-table th,.ris-table td{padding:5px;text-align:left;border-bottom:1px solid #e5e7eb;font-family:Inter,Segoe UI,Arial,sans-serif}.ris-table thead tr:first-child th{position:sticky;top:0;background-color:#e0f2f7;z-index:5;font-weight:600;font-size:13px;cursor:pointer}.ris-table td{font-size:12px}.ris-table th{font-size:13px}.ris-table tbody tr:nth-child(2n){background-color:#f9fafb}.ris-table tbody tr:hover{background-color:#e6f0ff;transition:background .2s ease}.selected-row{background-color:#cfe3ff!important}.no-data{text-align:center;padding:20px;color:#6b7280}.priority{padding:3px 6px;border-radius:6px;font-size:.75rem;font-weight:600}.priority.urgent{background:#ff7875;color:#fff}.priority.normal{background:#e6f4ff;color:#0958d9}.ris-table td:nth-child(8){min-width:80px;max-width:110px;white-space:normal;word-break:break-word;padding:1px 3px;border-radius:5px;font-size:10px;justify-content:space-between;align-items:center;line-height:1.2}.ris-table td:nth-child(8){font-weight:400;color:#1d39c4}body.dark-mode .ris-table td:nth-child(8){color:#93c5fd}.modality-chip{display:inline-block;padding:1px 3px;border-radius:2px;background:#f0f5ff;margin-bottom:2px}.ris-table td:nth-child(6),.ris-table th:nth-child(6){width:50px;min-width:50px;max-width:60px;text-align:left;white-space:nowrap;font-family:Inter,Segoe UI,Arial,sans-serif;color:#1f2937;font-size:.75rem}.action-btn{font-size:.7rem;font-weight:400;padding:2px 6px;border-radius:5px;background-color:#374151;color:#e5e7eb}.action-btn:hover{background-color:#4b5563}.admin-dashboard-container{padding:20px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f9f9f9;min-height:100vh}.admin-dashboard-container h1{font-size:28px;margin-bottom:20px;color:#333}.filters-card{display:flex;flex-wrap:wrap;gap:10px;background-color:#fff;padding:15px 20px;border-radius:10px;margin-bottom:25px;box-shadow:0 2px 8px #0000000d;align-items:center}.filters-card select,.filters-card input[type=date]{padding:6px 10px;border-radius:6px;border:1px solid #ccc;font-size:14px;min-width:150px}.filters-card input.date-input.disabled-date{background-color:#eee;cursor:not-allowed}.filters-card button{padding:7px 15px;border:none;background-color:#1976d2;color:#fff;font-weight:700;border-radius:6px;cursor:pointer;transition:all .2s ease}.filters-card button:hover{background-color:#125ea0}.error{color:red;margin-bottom:15px;font-weight:700}.cards-grid{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}.card{flex:1;min-width:200px;background-color:#fff;padding:20px 15px;border-radius:10px;box-shadow:0 2px 10px #0000000d;text-align:center}.card h3{font-size:16px;margin-bottom:10px;color:#555}.card p{font-size:24px;font-weight:700;color:#1976d2}.section-title{font-size:20px;margin-bottom:15px;color:#333;margin-top:40px}.pie-chart-container{background-color:#fff;padding:20px;border-radius:10px;margin-bottom:25px;box-shadow:0 2px 8px #0000000d}.pie-charts-grid{display:flex;flex-wrap:wrap;gap:20px}.modality-card,.priority-card,.user-card{background-color:#fff;padding:15px 20px;border-radius:10px;flex:1;min-width:180px;text-align:center;box-shadow:0 2px 8px #0000000d}.modality-card .modality-name,.priority-card .priority-name,.user-card .user-name{font-size:16px;font-weight:700;margin-bottom:10px;color:#555}.modality-card div,.priority-card div,.user-card div{font-size:14px;margin-bottom:5px;color:#333}.center-cell{text-align:left;vertical-align:middle}.dashboard-table th,.dashboard-table td{min-width:35px;text-align:center}.dashboard-table td:first-child,.dashboard-table th:first-child{position:sticky;left:0;background:#fff;z-index:2}.vertical-header{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;padding:4px 2px;font-size:11px}.slanted-header{transform:rotate(-45deg);white-space:nowrap;font-size:11px;height:60px;vertical-align:bottom}.dashboard-table th,.dashboard-table td{padding:4px 6px;font-size:12px}.dashboard-table th{background:#f3f3f3}.compact-header{font-size:11px;padding:4px;text-align:center;cursor:help;min-width:28px}.dashboard-table td{padding:6px;text-align:center}.compact-header{background-color:#f5f5f5;border-radius:4px;font-weight:700}.col-assigned{background-color:#e3f2fd}.col-pending{background-color:#fff3cd}.col-imaged{background-color:#e8f5e9}.col-finalized{background-color:#d0f0d0;font-weight:700}.col-preliminary{background-color:#ede7f6}.col-takenover{background-color:#ffe0b2}.compact-header{font-size:11px;padding:4px;text-align:center;min-width:28px;cursor:help}.modality-group{border:2px solid #444;background-color:#fafafa;font-weight:700}.dashboard-table th.modality-group,.dashboard-table td{border-right:1px solid #ddd}.dashboard-table th.modality-group{border-bottom:2px solid #444}.grand-total-row td{font-weight:700}.dashboard-table{border-collapse:collapse}.dashboard-table th,.dashboard-table td{padding:6px;text-align:center}.user-subtotal-row{background:#f5f7fa;font-size:.9em}.user-subtotal-row td{border-top:1px dashed #ccc}.user-subtotal-row{background:#f5f7fa;font-size:.9rem}.table-card{border:2px solid #ccc;border-radius:10px;padding:20px;margin-bottom:30px;background-color:#fdfdfd;box-shadow:0 2px 5px #0000001a}.table-card table{width:100%;border-collapse:separate;border-spacing:0 5px;margin-bottom:15px}.table-card th,.table-card td{padding:8px 12px;border:1px solid #ddd}.table-card th{background-color:#f0f0f0;text-align:center}.totals-table th,.totals-table td{font-weight:700;background-color:#fafafa}.table-card h2{background-color:#007bff;color:#fff;padding:8px 12px;border-radius:6px;margin-top:0}.totals-table th{background-color:#28a745;color:#fff}.normal-row td{font-weight:400}.grand-total-row{background-color:#007bff;color:#fff;font-weight:700;font-size:14px;border-radius:6px;box-shadow:0 2px 5px #00000026}.grand-total-row td{padding:8px 12px;border-top:2px solid #00a0a0}.cards-grid{display:flex;flex-wrap:nowrap;gap:10px;margin-bottom:20px;overflow-x:auto}.card{flex:1;min-width:120px;max-width:150px;background-color:#fff;padding:10px 8px;border-radius:8px;box-shadow:0 2px 5px #0000001a;text-align:center}.card h3{font-size:14px;margin-bottom:6px;color:#555}.card p{font-size:18px;font-weight:700;color:#1976d2;margin:0}.filters{display:flex;gap:10px;margin-bottom:20px}.filters select,.filters input{padding:6px}.filters button{background:#2563eb;color:#fff;border:none;padding:6px 12px;cursor:pointer}.cards{display:flex;gap:20px;margin-bottom:20px}.card{background:#f3f4f6;padding:15px;border-radius:8px;min-width:120px}table{width:100%;border-collapse:collapse}th,td{border:1px solid #ddd;padding:8px;text-align:center}th{background:#111827;color:#39393a}.dashboard-container{padding:20px}.filters-card{display:flex;gap:15px;margin-bottom:20px}.cards-grid{display:flex;gap:20px;margin-bottom:20px}.card{background:#f5f5f5;padding:15px;border-radius:10px;min-width:150px;text-align:center}.table-card{margin-top:20px}.dashboard-table,.totals-table{width:100%;border-collapse:collapse}.dashboard-table th,.dashboard-table td,.totals-table th,.totals-table td{border:1px solid #ddd;padding:8px;text-align:center}.bold-cell{font-weight:700}.grand-total-row{background-color:#f0f0f0;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;font-family:inherit}.filters select,.filters input[type=date]{padding:6px 10px;border:1px solid #ccc;border-radius:5px;font-size:14px;font-family:inherit}.filters button{padding:6px 12px;background-color:#1d4ed8;color:#fff;border:none;border-radius:5px;cursor:pointer;font-weight:500;font-family:inherit}.filters button:hover{background-color:#2563eb}.col-assigned{background-color:#e3f2fd;color:#1565c0;font-weight:600}.col-pending{background-color:#fff3e0;color:#ef6c00;font-weight:600}.col-imaged{background-color:#e8f5e9;color:#2e7d32;font-weight:600}.dashboard-table th.col-assigned{background-color:#bbdefb}.dashboard-table th.col-pending{background-color:#ffe0b2}.dashboard-table th.col-imaged{background-color:#c8e6c9}.blurred{color:#aaa;font-style:italic}.dashboard-title{font-size:1.5rem;margin-top:30px}.resident-dashboard-page{padding:40px 20px 20px}.table-card{margin-top:20px;overflow-x:auto}.dashboard-table,.totals-table{width:100%;min-width:max-content}th,td{white-space:nowrap}.dashboard-table th,.dashboard-table td,.totals-table th,.totals-table td{position:static!important}.notification-container{position:relative;margin-right:20px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:12px}.bell{font-size:18px;cursor:pointer;position:relative}.badge{position:absolute;top:-6px;right:-10px;background:red;color:#fff;font-size:11px;padding:2px 6px;border-radius:50%}.dropdown{position:absolute;right:0;top:35px;width:300px;background:#1e1e1e;border:1px solid #444;border-radius:8px;max-height:400px;overflow-y:auto;z-index:999;font-size:11px}.notification-item{padding:8px;border-bottom:1px solid #333;cursor:pointer}.notification-item:hover{background:#2a2a2a}.empty{padding:12px;text-align:center;color:#aaa}.type{font-size:11px;color:#aaa}.time{font-size:11px;color:#666}.notification-item.unread{background:#2c2c2c;border-left:4px solid #4da6ff;font-weight:400}.notification-item{opacity:.85}.notification-item.unread:hover{background:#353535}.notification-item.unread:before{content:"";width:8px;height:8px;background:#4da6ff;border-radius:50%;display:inline-block;margin-right:8px}.summary{padding:10px;border-bottom:1px solid #444;background:#252525;font-size:12px;color:#ddd}.summary div{margin-bottom:4px}.navbar{position:fixed;top:0;left:0;right:0;height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 24px;background-color:#0f172a;color:#fff;box-shadow:0 2px 8px #00000026;z-index:1000;overflow:visible}.navbar-left{display:flex;align-items:center;gap:16px}.menu-button{font-size:20px;cursor:pointer}.page-title{font-size:18px;font-weight:600}.navbar-right{display:flex;align-items:center;position:relative;gap:12px;overflow:visible}.profile-button{display:flex;align-items:center;gap:8px;cursor:pointer;max-width:260px;min-width:0}.avatar-image-wrapper{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;background-color:#2563eb}.avatar-image{width:100%;height:100%;object-fit:cover;object-position:center center}.avatar-placeholder{width:40px;height:40px;border-radius:50%;background-color:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;flex-shrink:0;font-size:1rem}.username{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.arrow{font-size:12px;flex-shrink:0}.dropdown-menu{position:absolute;top:60px;right:0;background:#fff;color:#111;border-radius:8px;box-shadow:0 4px 20px #00000026;overflow:hidden;min-width:180px;z-index:2000}.dropdown-menu div{padding:12px 16px;cursor:pointer}.dropdown-menu div:hover{background-color:#f3f4f6}.logout{color:#dc2626;font-weight:500}.navbar-brand{font-weight:700;font-size:1.3rem;margin-left:15px;background:linear-gradient(90deg,#4b6cb7,#182848);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:1.2px;text-shadow:1px 1px 2px rgba(0,0,0,.3);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.sidebar{position:fixed;top:60px;left:0;width:240px;height:calc(100vh - 60px);background-color:#0f172a;color:#fff;transition:width .3s ease;z-index:900;overflow-y:auto;overflow-x:hidden}.sidebar.collapsed{width:70px}.sidebar-inner{display:flex;flex-direction:column;padding:20px 10px 40px;gap:8px}.sidebar-link{display:flex;align-items:center;gap:14px;padding:12px;border-radius:8px;text-decoration:none;color:#fff;transition:background .2s ease;white-space:nowrap;cursor:pointer}.sidebar-link:hover{background-color:#1e293b}.sidebar-link.active{background-color:#2563eb}.link-text{transition:opacity .2s ease,width .2s ease;overflow:hidden}.link-text.hidden{opacity:0;width:0}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background-color:#334155;border-radius:10px}.sidebar::-webkit-scrollbar-thumb:hover{background-color:#475569}.layout{display:flex;flex-direction:column}.layout-body{display:flex}.main-content{flex:1;overflow:auto;display:flex;flex-direction:column;margin-top:0;padding:16px;transition:margin-left .3s ease}.main-content.expanded{margin-left:240px}.main-content.collapsed{margin-left:70px}.layout{height:100vh;display:flex;flex-direction:column}.main-content{flex:1;overflow:hidden;display:flex}
