.rteConfig>label{display:block;width:100%;margin-bottom:14px;color:#334155;font-size:14px;font-weight:600}.rteConfig>label>input:not([type=checkbox]),.rteConfig>label>select{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:38px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-size:14px;font-weight:400}.rteConfig>label>input:focus,.rteConfig>label>select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61f}.rteConfig>label>input:disabled,.rteConfig>label>select:disabled{background:#f8fafc;color:#64748b}.rteConfig hr{border:0;border-top:1px solid #e2e8f0;margin:18px 0}.rteConfig button{min-height:36px;padding:7px 11px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;cursor:pointer}.rteConfig button:hover{background:#f8fafc}*{box-sizing:border-box}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#152238;background:#f3f6f9}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex}.sidebar{width:250px;min-height:100vh;background:#122137;color:#fff;display:flex;flex-direction:column;padding:24px 18px;position:fixed;left:0;top:0}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 28px}.brandIcon{width:42px;height:42px;border-radius:12px;background:#1f89e5;display:grid;place-items:center;font-size:22px;font-weight:800}.brand strong{display:block;letter-spacing:1.5px}.brand span{display:block;color:#92a8c4;font-size:13px;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.navItem{border:none;background:transparent;color:#aec0d6;display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;text-align:left}.navItem:hover{background:#1b304d;color:#fff}.navItem.active{background:#1f89e5;color:#fff}.navItem.disabled{opacity:.52;cursor:default}.soon{margin-left:auto;font-size:10px;background:#263b57;padding:3px 6px;border-radius:20px}.navDivider{height:1px;background:#283a52;margin:12px 0}.sidebarBottom{margin-top:auto;display:flex;gap:10px;align-items:center;padding:14px 10px;color:#9fb4cb;border-top:1px solid #283a52}.sidebarBottom strong{display:block;font-size:12px;color:#dce8f5}.sidebarBottom span{display:block;font-size:11px;margin-top:3px}.main{margin-left:250px;width:calc(100% - 250px);padding:32px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.topbar h1{margin:0;font-size:30px}.topbar p{margin:5px 0 0;color:#718096}.refresh,.secondary{background:#fff;border:1px solid #dbe3eb;border-radius:9px;padding:9px 13px;display:flex;gap:8px;align-items:center}.primary{border:none;background:#1976d2;color:#fff;border-radius:9px;padding:10px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:600}.primary:hover{background:#1465b6}.primary:disabled{opacity:.6;cursor:wait}.primary.big{padding:13px 24px;min-width:180px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.statCard,.panel{background:#fff;border:1px solid #e2e9f0;border-radius:14px;box-shadow:0 2px 8px #1428460a}.statCard{padding:22px}.statCard .statTitle{color:#64748b;font-size:14px}.statCard strong{display:block;font-size:34px;margin:6px 0}.statCard small{color:#8a99aa}.panel{padding:24px}.panelHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.panelHeader h2{margin:0;font-size:20px}.panelHeader p{margin:4px 0 0;color:#8491a2;font-size:14px}.tableWrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse}th{text-align:left;padding:12px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#75859a;background:#f7f9fb;border-bottom:1px solid #e6ebf0;white-space:nowrap}td{padding:14px 12px;border-bottom:1px solid #edf1f5;font-size:14px;vertical-align:middle}tbody tr:hover{background:#fafcff}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.modality{display:inline-block;background:#eaf3ff;color:#1768b2;font-weight:700;border-radius:7px;padding:5px 8px}.status{border-radius:20px;padding:5px 9px;font-size:12px;font-weight:600}.status-SCHEDULED{background:#fff4d6;color:#8a6100}.status-IN_PROGRESS{background:#e6f1ff;color:#155eaa}.status-COMPLETED,.status-TO_REPORT{background:#eee8ff;color:#6543a8}.status-REPORTED,.status-SIGNED{background:#e5f7ed;color:#187344}.status-CANCELLED{background:#fdecec;color:#a52d2d}.mwlOk{color:#16844d;font-weight:600}.mwlNo{color:#ae6d00}.searchBox{max-width:480px;display:flex;align-items:center;gap:8px;border:1px solid #dce4ec;border-radius:9px;padding:0 12px;margin-bottom:20px;background:#fff}.searchBox input{width:100%;border:none;outline:none;padding:11px 2px}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.wide{grid-column:1 / -1}.field>span{font-size:13px;font-weight:600;color:#47566a}.field input,.field select,.field textarea{border:1px solid #d7e0e9;border-radius:9px;background:#fff;padding:11px 12px;outline:none;width:100%}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2584d8;box-shadow:0 0 0 3px #2584d81a}.sectionTitle{font-size:13px;font-weight:800;text-transform:uppercase;color:#607086;letter-spacing:.06em;border-bottom:1px solid #e8edf2;padding-bottom:9px;margin:26px 0 16px}.sectionTitle:first-child{margin-top:0}.createStudyBox{margin-top:28px;background:#f1f7fd;border:1px solid #d8e8f8;border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.createStudyBox strong{display:block}.createStudyBox span{display:block;color:#65768a;margin-top:4px;font-size:13px}.modalBackdrop{position:fixed;inset:0;z-index:100;background:#0a14238c;display:grid;place-items:center;padding:20px}.modal{width:min(760px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:15px;padding:24px}.modalHeader{display:flex;justify-content:space-between;margin-bottom:24px}.modalHeader h2{margin:0}.modalHeader p{margin:4px 0 0;color:#7e8da0}.closeButton{width:36px;height:36px;border:none;border-radius:8px;font-size:24px;background:#f1f4f7}.modalActions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.message{background:#eaf4ff;border:1px solid #cfe5fb;color:#185b94;border-radius:10px;padding:13px 16px;margin-bottom:20px;display:flex;justify-content:space-between}.message button{background:transparent;border:0;color:inherit;font-size:20px}.loading,.empty{text-align:center;padding:60px 20px;color:#738296}.emptyTable{text-align:center;padding:45px;color:#8996a7}.pacsStatus{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:700;white-space:nowrap}.pacsStatus.linked{background:#ede9fe;color:#6d28d9}.pacsStatus.imported{background:#e2e8f0;color:#475569}.studyActions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;white-space:nowrap;min-width:max-content}.studyActions button{height:42px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;white-space:nowrap;font-size:13px;font-weight:700;border-radius:9px;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .08s ease}.studyActions button:active{transform:translateY(1px)}.viewerButton{min-width:138px;padding:0 16px;border:1px solid #cbd5e1;background:#fff;color:#0f172a}.viewerButton:hover{background:#f1f5f9;border-color:#b6c2d0}.reportButton{min-width:105px;padding:0 16px;border:1px solid #2563eb;background:#2563eb;color:#fff}.reportButton:hover{background:#1d4ed8;border-color:#1d4ed8}.pdfReportButton{min-width:72px;padding:0 16px;border:1px solid #122137;background:#122137;color:#fff}.pdfReportButton:hover{background:#1b304d;border-color:#1b304d}.tableWrap th:last-child,.tableWrap td:last-child{min-width:360px}.tableWrap table{min-width:1120px}.reportOverlay{position:fixed;inset:0;background:#0f172aad;display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999}.reportModal{width:min(900px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 80px #0f172a4d}.reportHeader{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #e2e8f0}.reportHeader h2{margin:0}.reportHeader p{margin:5px 0 0;color:#64748b}.reportClose{border:0;background:transparent;font-size:30px;cursor:pointer;color:#64748b}.reportClose:hover{color:#0f172a}.reportBody{display:flex;flex-direction:column;gap:10px;padding:24px 26px}.reportBody label{margin-top:8px;font-weight:700;color:#334155}.reportBody input,.reportBody textarea{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:12px;font:inherit;outline:none;background:#fff;color:#152238}.reportBody input:focus,.reportBody textarea:focus{border-color:#2584d8;box-shadow:0 0 0 3px #2584d81a}.reportBody input[readonly],.reportBody textarea[readonly]{background:#f8fafc;border-color:#e2e8f0;color:#334155;cursor:default}.reportBody textarea{resize:vertical}.reportFooter{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:18px 26px 24px;border-top:1px solid #e2e8f0}.secondaryButton{min-height:42px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:10px 16px;cursor:pointer;font-weight:600;color:#334155}.secondaryButton:hover{background:#f8fafc}.saveReportButton{min-height:42px;border:1px solid #2563eb;background:#2563eb;color:#fff;border-radius:8px;padding:10px 18px;cursor:pointer;font-weight:700}.saveReportButton:hover{background:#1d4ed8}.saveReportButton:disabled{opacity:.6;cursor:wait}.signReportButton{min-height:42px;border:1px solid #16a34a;background:#16a34a;color:#fff;border-radius:8px;padding:10px 18px;cursor:pointer;font-weight:700}.signReportButton:hover{background:#15803d;border-color:#15803d}.signReportButton:disabled{opacity:.6;cursor:wait}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{width:76px;padding:18px 10px}.brand>div:last-child,.navItem:not(.active) .soon,.navItem{font-size:0}.navItem{justify-content:center}.sidebarBottom{display:none}.main{margin-left:76px;width:calc(100% - 76px);padding:18px}.stats,.formGrid{grid-template-columns:1fr}.field.wide{grid-column:auto}.createStudyBox{flex-direction:column;align-items:stretch}.topbar{gap:16px;align-items:flex-start}.topbar h1{font-size:26px}.panel{padding:18px}.reportOverlay{padding:10px}.reportHeader,.reportBody,.reportFooter{padding-left:18px;padding-right:18px}.reportFooter{flex-wrap:wrap}}.studiesTableWrap table{min-width:1050px}.studiesTableWrap th:last-child,.studiesTableWrap td:last-child{min-width:0}.studiesTableWrap td:nth-child(1){min-width:165px}.studiesTableWrap td:nth-child(3){width:90px}.studiesTableWrap td:nth-child(4){min-width:145px;max-width:210px}.studiesTableWrap td:nth-child(5){min-width:250px}.studiesTableWrap td:nth-child(9){min-width:175px}.studiesTableWrap .studyActions{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;min-width:0}.studiesTableWrap .studyActions button{min-width:0;height:38px;padding:0 12px;flex-shrink:0;white-space:nowrap;font-size:12px}@media(max-width:760px){.studiesTableWrap{overflow:visible}.studiesTableWrap table,.studiesTableWrap tbody{display:block;width:100%;min-width:0!important}.studiesTableWrap thead{display:none}.studiesTableWrap tbody tr{display:flex;flex-direction:column;width:100%;margin-bottom:14px;padding:15px;background:#fff;border:1px solid #e2e8f0;border-radius:13px;box-shadow:0 2px 7px #1428460d}.studiesTableWrap tbody tr:hover{background:#fff}.studiesTableWrap tbody td{display:block;width:100%;min-width:0!important;max-width:none!important;padding:0;border:none}.studiesTableWrap tbody td:nth-child(2),.studiesTableWrap tbody td:nth-child(7),.studiesTableWrap tbody td:nth-child(8),.studiesTableWrap tbody td:nth-child(9){display:none}.studiesTableWrap tbody td:nth-child(1){order:1;font-size:16px;margin-bottom:8px}.studiesTableWrap tbody td:nth-child(6){order:2;margin-bottom:10px}.studiesTableWrap tbody td:nth-child(3){order:3;margin-bottom:8px}.studiesTableWrap tbody td:nth-child(4){order:4;color:#475569;line-height:1.4;margin-bottom:12px}.studiesTableWrap tbody td:nth-child(5){order:5;padding-top:12px;border-top:1px solid #edf1f5}.studiesTableWrap .studyActions{width:100%;display:flex;gap:8px;flex-wrap:wrap}.studiesTableWrap .studyActions button{flex:1 1 110px;min-width:0;height:40px;padding:0 9px;font-size:12px}}@media(max-width:480px){.studiesTableWrap tbody tr{padding:13px}.studiesTableWrap .studyActions{flex-direction:column}.studiesTableWrap .studyActions button{width:100%;flex:none}}.topbarActions{display:flex;align-items:center;gap:10px}.userBadge{min-height:42px;display:flex;align-items:center;gap:9px;padding:6px 10px;background:#fff;border:1px solid #dbe3eb;border-radius:10px}.userAvatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#122137;color:#fff;font-size:13px;font-weight:800}.userInfo{min-width:0}.userInfo strong{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#1e293b}.userInfo span{display:block;margin-top:2px;font-size:10px;font-weight:700;color:#64748b}.logoutButton{min-height:42px;padding:0 13px;border:1px solid #dbe3eb;border-radius:9px;background:#fff;color:#475569;font-weight:600}.logoutButton:hover{background:#f8fafc;color:#0f172a}@media(max-width:760px){.topbarActions{gap:6px}.userBadge{padding:5px}.userInfo{display:none}.logoutButton{min-height:38px;padding:0 9px;font-size:11px}}@media(max-width:480px){.logoutButton{font-size:0;width:38px;padding:0}.logoutButton:after{content:"↪";font-size:19px}}.usersHeaderActions{display:flex;gap:10px;align-items:center}.usersTableWrap{width:100%;overflow-x:auto}.usersTable{min-width:1050px}.roleBadge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.role-ADMIN{color:#5b21b6;background:#ede9fe}.role-RECEPTION{color:#075985;background:#e0f2fe}.role-RADIOLOGIST{color:#166534;background:#dcfce7}.role-COORDINATOR{color:#92400e;background:#fef3c7}.userState{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700}.userState.active{background:#dcfce7;color:#166534}.userState.inactive{background:#fee2e2;color:#991b1b}.userRowActions{display:flex;gap:7px;flex-wrap:wrap}.userActionButton{min-height:35px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d7e0e9;border-radius:8px;background:#fff;color:#334155;padding:0 9px;font-size:11px;font-weight:700}.userActionButton:hover{background:#f8fafc}.userActionButton.danger{color:#b91c1c}.userActionButton.success{color:#15803d}.userAdminModal{width:min(800px,100%)}.userActiveCheck{display:flex;align-items:center;gap:9px;font-weight:600;color:#334155}.userActiveCheck input{width:18px;height:18px}.field small{color:#64748b;font-size:11px}@media(max-width:760px){.usersHeaderActions{width:100%;justify-content:flex-end}.usersAdminPanel .panelHeader{flex-direction:column}.userAdminModal .formGrid{grid-template-columns:1fr}}.assignSelect{min-height:40px;max-width:190px;padding:0 32px 0 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;font-size:12px;font-weight:700;cursor:pointer}.assignSelect:hover{border-color:#94a3b8}.assignSelect:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.assignSelect:disabled{opacity:.6;cursor:wait}@media(max-width:760px){.mobileActions .assignSelect{width:100%;max-width:none;min-height:42px;grid-column:1 / -1}}.doctorsPage{display:flex;flex-direction:column;gap:22px}.doctorsHeader{display:flex;justify-content:space-between;align-items:center;gap:20px}.doctorsHeader h2{margin:0;font-size:24px}.doctorsHeader p{margin:5px 0 0;color:#718096}.doctorsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:20px}.doctorCard{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px}.doctorIdentity{display:flex;gap:13px;align-items:center}.doctorIdentity h3{margin:0;font-size:18px}.doctorIdentity p{margin:4px 0 0;color:#718096;font-size:13px}.doctorAvatar{width:46px;height:46px;border-radius:13px;background:#eaf4ff;display:grid;place-items:center;color:#1677d2}.doctorMetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.doctorMetrics>div{border:1px solid #e7edf4;border-radius:11px;padding:12px;min-width:0}.doctorMetrics svg{color:#64748b}.doctorMetrics span{display:block;font-size:11px;color:#718096;margin-top:7px}.doctorMetrics strong{display:block;font-size:20px;margin-top:3px}.doctorTurnaround{margin-top:15px;padding:12px 14px;background:#f7f9fc;border-radius:10px;display:flex;justify-content:space-between;gap:15px}.doctorTurnaround span{color:#64748b;font-size:13px}.doctorLoadButton{width:100%;margin-top:15px;min-height:42px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-weight:700;cursor:pointer}.doctorStudies{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:10px}.doctorStudyRow{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(150px,190px);gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf2f7}.doctorStudyMain{min-width:0}.doctorStudyMain strong{display:block;font-size:12px}.doctorStudyMain span{display:block;margin-top:3px;font-size:12px;color:#64748b}.doctorStudyStatus{font-size:12px;font-weight:700;color:#5b21b6}.doctorStudyRow select{min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;background:#fff}.doctorsError{padding:12px;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;color:#be123c}.doctorsLoading,.doctorsEmpty,.doctorNoStudies{color:#64748b}@media(max-width:760px){.doctorsHeader{align-items:stretch;flex-direction:column}.doctorsGrid{grid-template-columns:1fr}.doctorMetrics{grid-template-columns:repeat(2,1fr)}.doctorStudyRow{grid-template-columns:1fr}.doctorStudyRow select{width:100%}}.agendaPage{display:flex;flex-direction:column;gap:20px}.agendaHeader{display:flex;justify-content:space-between;align-items:center;gap:20px}.agendaHeader h2{margin:0;font-size:24px}.agendaHeader p{margin:5px 0 0;color:#718096}.agendaHeaderActions{display:flex;gap:10px}.agendaHeaderActions button{display:inline-flex;align-items:center;gap:8px}.agendaFilters{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;display:flex;justify-content:space-between;gap:16px}.agendaDayButtons{display:flex;gap:8px;flex-wrap:wrap}.agendaDay{min-height:40px;padding:0 16px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-weight:700;cursor:pointer}.agendaDay.active{background:#eaf4ff;color:#1677d2;border-color:#1677d2}.agendaDayButtons input{min-height:40px;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px}.agendaSearch{display:flex;align-items:center;gap:8px;min-width:300px;border:1px solid #cbd5e1;border-radius:9px;padding:0 12px;background:#fff}.agendaSearch input{width:100%;min-height:40px;border:0;outline:0;background:transparent}.agendaList{display:flex;flex-direction:column;gap:10px}.appointmentCard{display:grid;grid-template-columns:130px minmax(180px,1fr) minmax(280px,1.4fr) 130px auto;gap:18px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px}.appointmentTime,.appointmentPatient,.appointmentStudy{min-width:0}.appointmentTime{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 8px}.appointmentTime span{grid-column:2;color:#718096;font-size:11px}.appointmentPatient strong,.appointmentStudy strong{display:block}.appointmentPatient span,.appointmentStudy span{display:block;margin-top:3px;color:#718096;font-size:12px}.appointmentStudy{display:flex;align-items:center;gap:10px}.appointmentStatusBadge{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.appointmentStatusBadge.SCHEDULED{background:#fff7db;color:#9a6700}.appointmentStatusBadge.CONFIRMED{background:#eaf4ff;color:#1662a8}.appointmentStatusBadge.ARRIVED{background:#ede9fe;color:#6d28d9}.appointmentStatusBadge.CANCELLED{background:#fff1f2;color:#be123c}.appointmentStatusBadge.COMPLETED{background:#dcfce7;color:#15803d}.appointmentActions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap}.appointmentActions button{min-height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.appointmentActions .appointmentCancel{color:#b91c1c}.agendaEmpty{min-height:240px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;display:grid;place-items:center;align-content:center;gap:8px;color:#718096;text-align:center}.agendaEmpty strong{color:#1e293b}.agendaModal{background:#fff;width:min(720px,calc(100% - 32px));max-height:calc(100vh - 32px);overflow-y:auto;border-radius:18px}.agendaForm{padding:24px 28px 28px;display:flex;flex-direction:column;gap:9px}.agendaForm label{margin-top:7px;font-weight:700;color:#334155}.agendaForm input,.agendaForm select,.agendaForm textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;font:inherit}.agendaFormGrid{display:grid;grid-template-columns:1.4fr .6fr;gap:14px}.agendaModalActions{margin-top:16px;display:flex;justify-content:flex-end;gap:10px}@media(max-width:900px){.appointmentCard{grid-template-columns:110px 1fr}.appointmentStudy,.appointmentStatus,.appointmentActions{grid-column:2}}@media(max-width:760px){.agendaHeader,.agendaFilters{flex-direction:column;align-items:stretch}.agendaHeaderActions{width:100%}.agendaHeaderActions button{flex:1;justify-content:center}.agendaSearch{min-width:0}.appointmentCard{grid-template-columns:1fr}.appointmentStudy,.appointmentStatus,.appointmentActions{grid-column:1}.appointmentActions{justify-content:stretch}.appointmentActions button{flex:1;justify-content:center}.agendaFormGrid{grid-template-columns:1fr}}.appointmentActions .appointmentCreateStudy{background:#1677d2;border-color:#1677d2;color:#fff}.appointmentCreated{display:inline-flex;align-items:center;min-height:36px;padding:0 10px;border-radius:8px;background:#dcfce7;color:#15803d;font-size:11px;font-weight:800}.usageReport{display:flex;flex-direction:column;gap:20px}.usageHeader{display:flex;align-items:center;justify-content:space-between;gap:20px}.usageHeader h2{margin:0;font-size:24px}.usageHeader p{margin:5px 0 0;color:#718096}.usageExport{display:inline-flex;align-items:center;gap:8px}.usageFilters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:14px}.usagePeriods{display:flex;gap:7px}.usageDates{display:flex;gap:7px;align-items:center}.usageDates input,.usageFilters>select{min-height:40px;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px;background:#fff}.usageSearch{margin-left:auto;min-width:250px;display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:9px;padding:0 11px}.usageSearch input{border:0;outline:0;min-height:40px;width:100%;background:transparent}.usageMetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.usageMetrics article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.usageMetrics article>svg{color:#64748b}.usageMetrics span{display:block;color:#64748b;margin-top:10px;font-size:13px}.usageMetrics strong{display:block;font-size:27px;margin-top:4px}.usageMetrics small{display:block;color:#94a3b8;margin-top:4px}.usageMiddle{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.usageModalityBox,.billingBox{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.usageModalityBox h3,.billingBox h3{margin:0}.usageModalityList{margin-top:14px}.usageModalityRow{display:grid;grid-template-columns:80px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7}.usageModalityRow span{color:#64748b;font-size:13px}.billingTitle{display:flex;gap:11px;align-items:center}.billingTitle p{margin:4px 0 0;color:#64748b;font-size:12px}.billingControls{margin-top:18px;display:grid;grid-template-columns:1fr 110px;gap:10px}.billingControls label{display:block;margin-bottom:5px;color:#64748b;font-size:12px}.billingControls input,.billingControls select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px;background:#fff}.billingResult{margin-top:18px;padding:15px;background:#f7f9fc;border-radius:11px}.billingResult span{display:block;color:#64748b;font-size:12px}.billingResult strong{display:block;margin-top:5px;font-size:25px}.usageTableWrap{overflow-x:auto;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.usageTable{width:100%;border-collapse:collapse}.usageTable th,.usageTable td{padding:12px;text-align:left;border-bottom:1px solid #edf2f7;white-space:nowrap}.usageTable th{color:#64748b;font-size:12px}.usageSource{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.usageSource.ris{background:#dcfce7;color:#15803d}.usageSource.imported{background:#e2e8f0;color:#475569}@media(max-width:900px){.usageMetrics{grid-template-columns:repeat(2,1fr)}.usageMiddle{grid-template-columns:1fr}}@media(max-width:760px){.usageHeader{flex-direction:column;align-items:stretch}.usageFilters{align-items:stretch}.usagePeriods,.usageDates{width:100%;flex-wrap:wrap}.usageSearch{margin-left:0;min-width:0;width:100%}.usageFilters>select{width:100%}.usageMetrics{grid-template-columns:1fr 1fr}.billingControls{grid-template-columns:1fr}}.shareStudyButton{min-height:36px;padding:0 13px;border:1px solid #1677d2;border-radius:8px;background:#fff;color:#1677d2;font-size:12px;font-weight:700;cursor:pointer}.shareStudyButton:hover{background:#eef6ff}.usageModalityRowV2{display:grid;grid-template-columns:130px 1fr 60px;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid #edf2f7}.usageModalityName{display:flex;flex-direction:column;gap:2px}.usageModalityName strong{font-size:14px}.usageModalityName span{color:#64748b;font-size:11px}.usageBarTrack{height:9px;border-radius:999px;background:#e8eef5;overflow:hidden}.usageBarFill{height:100%;min-width:2px;border-radius:inherit;background:#1677d2}.usagePercentage{text-align:right;font-size:12px}.usageSource.direct{background:#fff4db;color:#a16207}.usageFootnote{margin:12px 0 0;color:#64748b;font-size:11px;line-height:1.45}.usageTableEmpty{padding:28px!important;text-align:center!important;color:#64748b}@media(max-width:760px){.usageModalityRowV2{grid-template-columns:95px 1fr 50px;gap:8px}}.studiesFilterPanel{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:16px;padding:13px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.studiesQuickDates{display:flex;gap:6px}.studiesQuickDates button,.studiesPagination button{min-height:37px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-weight:700;cursor:pointer}.studiesQuickDates button:hover,.studiesPagination button:hover:not(:disabled){border-color:#1677d2;color:#1677d2}.studiesDateRange{display:flex;align-items:center;gap:6px}.studiesDateRange input,.studiesFilterPanel>select{min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;background:#fff}.studiesSearchBox{display:flex;align-items:center;gap:7px;min-height:38px;min-width:230px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff}.studiesSearchBox input{width:100%;border:0;outline:0;background:transparent}.studiesLoading{padding:10px 0;color:#64748b;font-size:13px}.studiesPagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 4px 4px;color:#64748b;font-size:13px}.studiesPagination>div{display:flex;align-items:center;gap:10px}.studiesPagination button:disabled{opacity:.45;cursor:default}@media(max-width:900px){.studiesFilterPanel{align-items:stretch}.studiesQuickDates,.studiesDateRange{width:100%;flex-wrap:wrap}.studiesFilterPanel>select,.studiesSearchBox{flex:1 1 190px}.studiesPagination{flex-direction:column;align-items:stretch}.studiesPagination>div{justify-content:space-between}}.statCardButton{width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}.statCardButton>*{height:100%;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.statCardButton:hover>*{transform:translateY(-2px);border-color:#b9d7f5;box-shadow:0 8px 24px #0f274717}.statCardButton:focus-visible{outline:3px solid rgba(22,119,210,.25);outline-offset:3px;border-radius:14px}.sidebarCopyright{margin-top:auto;padding:18px 16px;border-top:1px solid rgba(255,255,255,.1);color:#9fb0c4;font-size:10px;line-height:1.5}.sidebarCopyright small{display:block;font-size:9px;opacity:.75}.sidebarBottom.sidebarCopyright{display:block;padding:16px 18px;color:#9fb0c4;font-size:10px;line-height:1.45}.sidebarCopyright span{display:block;font-weight:600}.sidebarCopyright small{display:block;margin-top:2px;font-size:9px;color:#7f93aa}.liveClock{min-width:132px;padding:6px 12px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;background:#fff;border:1px solid #dce3ec;border-radius:10px;box-shadow:0 1px 3px #0f172a0f}.liveClock strong{font-size:17px;line-height:1.1;font-weight:700;font-variant-numeric:tabular-nums;color:#162033}.liveClock span{margin-top:3px;font-size:11px;color:#718096}.agendaPatientActions{display:flex;justify-content:flex-end;margin-top:7px;margin-bottom:10px}.agendaNewPatientButton{border:0;background:transparent;color:#2563eb;font-weight:700;cursor:pointer;padding:5px 2px}.agendaNewPatientButton:hover{text-decoration:underline}.agendaNewPatientPanel{margin:8px 0 20px;padding:16px;border:1px solid #d9e2ec;border-radius:12px;background:#f8fafc}.agendaNewPatientTitle{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}.agendaNewPatientTitle strong{font-size:15px;color:#172033}.agendaNewPatientTitle span{font-size:12px;color:#718096}.agendaNewPatientGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agendaNewPatientGrid>div{display:flex;flex-direction:column;gap:5px}.agendaNewPatientGrid label{font-size:12px;font-weight:700;color:#475569}.agendaNewPatientGrid input,.agendaNewPatientGrid select{width:100%;box-sizing:border-box}.agendaNewPatientFooter{display:flex;justify-content:flex-end;margin-top:15px}@media(max-width:760px){.agendaNewPatientGrid{grid-template-columns:1fr}}.patientModalBackdrop{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a75;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.patientModalCard{width:min(720px,100%);max-height:calc(100vh - 48px);overflow-y:auto;background:#fff;border:1px solid rgba(148,163,184,.25);border-radius:18px;box-shadow:0 24px 70px #0f172a3d;padding:0}.patientModalHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e8edf3}.patientModalHeading{display:flex;align-items:center;gap:14px}.patientModalIcon{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#eaf2ff;color:#2563eb}.patientModalHeading h2{margin:0;font-size:20px;line-height:1.2;color:#172033}.patientModalHeading p{margin:5px 0 0;font-size:13px;color:#718096}.patientModalClose{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:#f1f5f9;color:#475569;cursor:pointer}.patientModalClose:hover{background:#e2e8f0}.patientMrnNotice{margin:20px 24px 4px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}.patientMrnNotice>div:first-child{display:flex;flex-direction:column;gap:2px}.patientMrnNotice strong{font-size:13px;color:#334155}.patientMrnNotice span{font-size:12px;color:#64748b}.patientMrnBadge{padding:6px 10px;border-radius:8px;background:#eaf2ff;color:#2563eb;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:800}.patientFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:22px 24px}.patientField{display:flex;flex-direction:column;gap:7px}.patientFieldFull{grid-column:1 / -1}.patientField label{font-size:12px;font-weight:700;color:#475569}.patientField label span{margin-left:3px;color:#dc2626}.patientField input,.patientField select{width:100%;height:42px;box-sizing:border-box;border:1px solid #d5dde7;border-radius:10px;background:#fff;color:#1e293b;padding:0 12px;font:inherit;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.patientField input:focus,.patientField select:focus{border-color:#4f86e8;box-shadow:0 0 0 3px #4f86e81f}.patientFormError{margin:0 24px 18px;padding:11px 13px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#b42318;font-size:13px}.patientModalActions{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid #e8edf3;background:#fbfcfe}.patientCancelButton,.patientSaveButton{min-height:40px;padding:0 16px;border-radius:9px;font-weight:700;font-size:13px;cursor:pointer}.patientCancelButton{border:1px solid #d6dee8;background:#fff;color:#475569}.patientSaveButton{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #2563eb;background:#2563eb;color:#fff}.patientSaveButton:hover{background:#1d4ed8}.patientSaveButton:disabled,.patientCancelButton:disabled{opacity:.6;cursor:not-allowed}@media(max-width:680px){.patientModalBackdrop{padding:12px}.patientFormGrid{grid-template-columns:1fr}.patientFieldFull{grid-column:auto}.patientMrnNotice{align-items:flex-start;flex-direction:column}.patientModalActions{flex-direction:column-reverse}.patientCancelButton,.patientSaveButton{width:100%}}.agendaPatientPicker{position:relative;width:100%}.agendaPatientSearchBox{height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:10px;background:#fff;color:#64748b}.agendaPatientSearchBox:focus-within{border-color:#4f86e8;box-shadow:0 0 0 3px #4f86e81f}.agendaPatientSearchBox input{flex:1;min-width:0;height:100%;padding:0;border:0!important;outline:0!important;background:transparent;box-shadow:none!important;font-size:14px;color:#1e293b}.agendaPatientSearchHint{margin-top:7px;font-size:12px;color:#94a3b8}.agendaPatientResults{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:100;max-height:330px;overflow-y:auto;padding:6px;border:1px solid #d8e0ea;border-radius:11px;background:#fff;box-shadow:0 14px 34px #0f172a29}.agendaPatientResult{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:11px 12px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.agendaPatientResult:hover{background:#f1f6ff}.agendaPatientResultName{font-size:14px;font-weight:700;color:#1e293b}.agendaPatientResultMeta{font-size:12px;color:#64748b}.agendaPatientNoResults{padding:14px 12px;font-size:13px;color:#64748b;text-align:center}.agendaSelectedPatient{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 13px;border:1px solid #bfdbfe;border-radius:11px;background:#f8fbff}.agendaSelectedPatientInfo{min-width:0;display:flex;flex-direction:column;gap:4px}.agendaSelectedPatientInfo strong{font-size:14px;color:#172033}.agendaSelectedPatientInfo span{font-size:12px;color:#64748b}.agendaChangePatientButton{flex:0 0 auto;padding:7px 12px;border:1px solid #c7d7ed;border-radius:8px;background:#fff;color:#2563eb;font-size:12px;font-weight:700;cursor:pointer}.agendaChangePatientButton:hover{background:#eef5ff}.agendaPatientActions{display:flex;justify-content:flex-end;margin-top:9px;margin-bottom:14px}.agendaNewPatientButton{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:0;background:transparent;color:#2563eb;font-size:13px;font-weight:700;cursor:pointer}.agendaNewPatientButton:hover{background:#eff6ff;border-radius:8px}@media(max-width:680px){.agendaSelectedPatient{align-items:flex-start;flex-direction:column}}.agendaNewPatientButton{min-height:42px!important;padding:10px 16px!important;border:1px solid #bfdbfe!important;border-radius:10px!important;background:#eff6ff!important;font-size:14px!important;font-weight:700!important}.agendaNewPatientButton:hover{background:#dbeafe!important;border-color:#93c5fd!important}.patientsSimpleTable{width:100%}.patientsSimpleTable th:first-child{width:65%}.patientActionsHeader{text-align:right}.patientSimpleName{font-size:14px;color:#172033}.patientRowActions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.patientActionButton{min-width:68px;height:34px;padding:0 12px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#334155;font-size:12px;font-weight:700;cursor:pointer}.patientActionButton:hover{background:#f8fafc}.patientActionButton.view{color:#2563eb;border-color:#bfdbfe}.patientActionButton.edit{color:#475569}.patientActionButton.delete{color:#dc2626;border-color:#fecaca}.patientActionButton.delete:hover{background:#fef2f2}.patientActionButton:disabled{opacity:.55;cursor:not-allowed}.patientDetailBackdrop{position:fixed;inset:0;z-index:50000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.patientDetailCard{width:min(680px,100%);overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.patientDetailHeader{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e8edf3}.patientDetailHeader h2{margin:0;font-size:20px;color:#172033}.patientDetailHeader p{margin:5px 0 0;font-size:13px;color:#64748b}.patientDetailClose{width:38px;height:38px;border:0;border-radius:10px;background:#f1f5f9;color:#475569;font-size:24px;line-height:1;cursor:pointer}.patientDetailGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px}.patientDetailItem{display:flex;flex-direction:column;gap:5px;padding:13px 15px;border:1px solid #e6ebf1;border-radius:10px;background:#f8fafc}.patientDetailItem span{font-size:11px;font-weight:700;text-transform:uppercase;color:#64748b}.patientDetailItem strong{font-size:14px;color:#172033}.patientDetailFooter{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid #e8edf3}@media(max-width:680px){.patientDetailGrid{grid-template-columns:1fr}.patientRowActions{flex-wrap:wrap}}.studyPatientCell{width:27%}.studyPatientCell strong{color:#172033}.studyDescriptionCell{width:30%}.studyDescriptionCell strong{font-weight:600;color:#334155}.studyDateCell{white-space:nowrap}.studyOptionsHeader{text-align:right}.studyOptionsCell{width:180px;text-align:right;vertical-align:top}.studyOptionsMenu{width:160px;margin-left:auto}.studyOptionsMenu>summary{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;box-sizing:border-box;border:1px solid #cbd8e8;border-radius:9px;background:#fff;color:#334155;font-size:13px;font-weight:700;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.studyOptionsMenu>summary::-webkit-details-marker{display:none}.studyOptionsMenu>summary:hover{border-color:#93b7e9;background:#f8fbff}.studyOptionsMenu[open]>summary{border-color:#93b7e9;background:#f3f7ff;color:#2563eb}.studyOptionsArrow{font-size:12px;transition:transform .16s ease}.studyOptionsMenu[open] .studyOptionsArrow{transform:rotate(180deg)}.studyOptionsDropdown{width:240px;display:grid;gap:6px;margin-top:7px;margin-left:auto;padding:8px;box-sizing:border-box;border:1px solid #d9e2ec;border-radius:10px;background:#fff;box-shadow:0 12px 28px #0f172a1f}.studyOptionItem{width:100%;min-height:38px;display:flex;align-items:center;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#334155;font-size:13px;font-weight:600;text-align:left;cursor:pointer}.studyOptionItem:hover{background:#f1f5f9}.studyOptionItem.primary{background:#2563eb;color:#fff}.studyOptionItem.primary:hover{background:#1d4ed8}.studyOptionAssign{display:grid;gap:7px;padding:9px 5px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;text-align:left}.studyOptionAssign span{padding:0 4px;font-size:11px;font-weight:700;text-transform:uppercase;color:#64748b}.studyOptionAssign .assignSelect{width:100%;min-width:0}@media(max-width:900px){.studyDescriptionCell{min-width:210px}.studyOptionsCell{min-width:170px}}.studiesCleanTable{width:100%;table-layout:fixed}.studiesCleanTable th:nth-child(1),.studiesCleanTable td:nth-child(1){width:30%}.studiesCleanTable th:nth-child(2),.studiesCleanTable td:nth-child(2){width:30%}.studiesCleanTable th:nth-child(3),.studiesCleanTable td:nth-child(3){width:14%}.studiesCleanTable th:nth-child(4),.studiesCleanTable td:nth-child(4){width:12%}.studiesCleanTable th:nth-child(5),.studiesCleanTable td:nth-child(5){width:14%}.studiesCleanTable th,.studiesCleanTable td{padding-left:14px!important;padding-right:14px!important}.studiesCleanTable td{vertical-align:middle}.studyOptionsCell{position:relative;width:auto!important;overflow:visible!important;vertical-align:middle!important}.studyOptionsMenu{position:relative;width:145px;margin-left:auto}.studyOptionsMenu[open]{z-index:5000}.studyOptionsDropdown{position:absolute!important;top:calc(100% + 6px);right:0;z-index:6000;width:290px!important;margin:0!important;padding:9px!important;box-sizing:border-box;background:#fff;border:1px solid #d8e1ec;border-radius:11px;box-shadow:0 16px 36px #0f172a2e}.studyOptionItem{min-height:40px!important;padding:0 13px!important}.studyOptionAssign{width:100%;box-sizing:border-box;padding:10px 5px!important}.studyOptionAssign span{display:block;margin-bottom:3px;font-size:11px;font-weight:700;color:#64748b}.studyOptionAssign .assignSelect{width:100%!important;height:40px;padding:0 10px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:13px}.studiesCleanTable tbody tr{height:62px}@media(max-width:900px){.studiesTableWrap{overflow-x:auto!important}.studiesCleanTable{min-width:850px}}.shareStudyOverlay{position:fixed;inset:0;z-index:20000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.shareStudyModal{width:min(620px,100%);overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0f172a40}.shareStudyHeader{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e8edf3}.shareStudyHeader h2{margin:0;font-size:20px;color:#172033}.shareStudyHeader p{margin:5px 0 0;font-size:13px;color:#64748b}.shareStudyClose{width:38px;height:38px;border:0;border-radius:10px;background:#f1f5f9;color:#475569;font-size:24px;cursor:pointer}.shareStudyBody{padding:24px}.shareStudyInfo{display:flex;flex-direction:column;gap:4px;margin-bottom:20px;padding:14px 16px;border:1px solid #dbe7f5;border-radius:11px;background:#f8fbff}.shareStudyInfo strong{color:#172033}.shareStudyInfo span{font-size:12px;color:#64748b}.shareStudyLabel{display:block;margin-bottom:7px;font-size:12px;font-weight:700;color:#475569}.shareStudyLinkBox{display:flex;gap:8px}.shareStudyLinkBox input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc}.shareStudyLinkBox button{min-width:100px;border:0;border-radius:9px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}.shareStudyHint{margin:8px 0 0;font-size:12px;color:#64748b}.shareStudyLoading{padding:15px;text-align:center;color:#64748b}.shareStudyError{padding:12px 14px;border:1px solid #fecaca;border-radius:9px;background:#fef2f2;color:#b91c1c}.shareStudyFooter{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid #e8edf3}@media(max-width:600px){.shareStudyLinkBox{flex-direction:column}.shareStudyLinkBox button{min-height:42px}}.studiesCleanTable{width:100%;table-layout:auto!important;border-collapse:collapse}.studiesCleanTable thead th{height:38px;padding:0 12px!important;background:#f7f9fc;border-bottom:1px solid #dce4ed;font-size:11px;font-weight:700;text-transform:uppercase;color:#718096;white-space:nowrap}.studiesCleanTable tbody tr{height:52px!important}.studiesCleanTable tbody td{padding:10px 12px!important;border-bottom:1px solid #e7edf3;vertical-align:middle!important;font-size:13px;color:#172033}.studiesCleanTable th:nth-child(1),.studiesCleanTable td:nth-child(1){width:27%!important}.studyPatientCell strong{font-size:13px;font-weight:700;white-space:nowrap}.studyDescriptionCell strong{font-size:13px;font-weight:500;color:#172033;white-space:nowrap}.studiesCleanTable th:nth-child(3),.studiesCleanTable td:nth-child(3){width:14%!important;white-space:nowrap}.studiesCleanTable th:nth-child(4),.studiesCleanTable td:nth-child(4){width:13%!important;white-space:nowrap}.studyDateCell{font-size:13px}.studiesCleanTable th:nth-child(5),.studiesCleanTable td:nth-child(5){width:150px!important}.studyOptionsHeader{text-align:right!important}.studyOptionsCell{width:150px!important;padding-right:10px!important;text-align:right}.studyOptionsMenu{width:130px!important;margin-left:auto}.studyOptionsMenu>summary{min-height:36px!important;padding:0 11px!important;border-radius:8px;font-size:12px!important}.studyOptionsDropdown{width:285px!important}.studiesCleanTable tbody tr:hover{background:#fafcff}@media(max-width:1000px){.studiesCleanTable{min-width:820px}}.shareStudyLinkDisplay{width:100%;margin-bottom:16px}.shareStudyLinkDisplay input{width:100%;height:44px;box-sizing:border-box;padding:0 12px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;color:#475569;font-size:12px}.shareStudyChannels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shareChannelButton{min-height:78px;display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #d8e1ec;border-radius:11px;background:#fff;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.shareChannelButton:hover{transform:translateY(-1px);background:#f8fafc;border-color:#b9c9dc}.shareChannelButton>span:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.shareChannelButton strong{font-size:13px;color:#172033}.shareChannelButton small{font-size:10px;line-height:1.3;color:#718096}.shareChannelIcon{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;border-radius:9px;font-size:18px}.shareChannelButton.copy .shareChannelIcon{background:#eff6ff;color:#2563eb}.shareChannelButton.whatsapp{border-color:#bbf7d0}.shareChannelButton.whatsapp:hover{background:#f0fdf4;border-color:#86efac}.shareChannelButton.whatsapp .shareChannelIcon{background:#dcfce7;color:#15803d}.shareChannelButton.email .shareChannelIcon{background:#f1f5f9;color:#475569}@media(max-width:680px){.shareStudyChannels{grid-template-columns:1fr}}.shareChannelButton{min-height:52px!important;justify-content:center;padding:9px 12px!important}.shareStudyHint,.shareStudyInfo,.shareStudyLabel,.shareStudyLinkDisplay{display:none!important}.shareStudyChannels{margin-top:0!important;gap:10px!important}.shareChannelButton{min-height:48px!important;padding:8px 12px!important;justify-content:center!important}.shareChannelButton small{display:none!important}.shareChannelButton>span:last-child{display:block!important}.shareChannelButton strong{font-size:13px!important;white-space:nowrap}.shareStudyBody{padding:18px 20px!important}.newStudyCompactForm{display:block}.newStudyPatientLine{display:flex;align-items:flex-start;gap:12px;margin-bottom:24px}.newStudyPatientPicker{position:relative;flex:1;min-width:0}.newStudyPatientSearch{height:44px;display:flex;align-items:center;gap:10px;padding:0 13px;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:9px;background:#fff;color:#64748b}.newStudyPatientSearch:focus-within{border-color:#4f86e8;box-shadow:0 0 0 3px #4f86e81a}.newStudyPatientSearch input{flex:1;height:100%;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}.newStudyPatientResults{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:1000;max-height:310px;overflow-y:auto;padding:6px;border:1px solid #d8e0ea;border-radius:10px;background:#fff;box-shadow:0 14px 32px #0f172a29}.newStudyPatientResults button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 11px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.newStudyPatientResults button:hover{background:#f1f6ff}.newStudyPatientResults strong{font-size:13px;color:#172033}.newStudyPatientResults span{font-size:11px;color:#64748b}.newStudyNoPatients{padding:14px;text-align:center;font-size:12px;color:#64748b}.newStudySelectedPatient{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px;box-sizing:border-box;border:1px solid #bfdbfe;border-radius:9px;background:#f8fbff}.newStudySelectedPatient>div{min-width:0;display:flex;flex-direction:column;gap:2px}.newStudySelectedPatient strong{font-size:13px;color:#172033}.newStudySelectedPatient span{font-size:11px;color:#64748b}.newStudySelectedPatient button{border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:700;cursor:pointer}.newStudyCreatePatient{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#2563eb;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.newStudyCreatePatient:hover{background:#dbeafe}.newStudyProcedureRow{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;margin-bottom:16px}.newStudyScheduleRow{display:grid;grid-template-columns:210px 160px 190px;gap:14px;margin-bottom:16px}.newStudyField{min-width:0;display:flex;flex-direction:column;gap:6px}.newStudyField label{font-size:12px;font-weight:700;color:#475569}.newStudyField input,.newStudyField select,.newStudyField textarea{width:100%;box-sizing:border-box}.newStudyField input,.newStudyField select{height:44px}.newStudyFullField{margin-bottom:16px}.newStudyFullField textarea{min-height:88px;resize:vertical}.newStudyFooter{display:flex;justify-content:flex-end;padding-top:4px}.newStudyFooter .primary{min-width:145px;min-height:42px}@media(max-width:850px){.newStudyPatientLine{flex-direction:column}.newStudyPatientPicker,.newStudyCreatePatient{width:100%}.newStudyProcedureRow,.newStudyScheduleRow{grid-template-columns:1fr}}.studiesCleanTable{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.studiesCleanTable thead th{height:34px!important;padding:7px 10px!important;background:#f7f9fc!important;border-bottom:1px solid #dce5ef!important;font-size:10.5px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.01em;color:#718096!important;vertical-align:middle!important}.studiesCleanTable tbody tr{height:48px!important}.studiesCleanTable tbody td{height:48px!important;padding:8px 10px!important;border-bottom:1px solid #e7edf3!important;vertical-align:middle!important;font-size:12.5px!important;color:#172033}.studiesCleanTable tbody tr:hover{background:#fafcff!important}.studiesCleanTable th:nth-child(1),.studiesCleanTable td:nth-child(1){width:25%!important}.studiesCleanTable th:nth-child(2),.studiesCleanTable td:nth-child(2){width:29%!important}.studiesCleanTable th:nth-child(3),.studiesCleanTable td:nth-child(3){width:14%!important}.studiesCleanTable th:nth-child(4),.studiesCleanTable td:nth-child(4){width:13%!important}.studiesCleanTable th:nth-child(5),.studiesCleanTable td:nth-child(5){width:19%!important}.studyPatientCell{width:auto!important}.studyPatientCell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px!important;font-weight:700;color:#172033}.studyDescriptionCell{width:auto!important}.studyDescriptionCell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px!important;font-weight:500!important;color:#172033!important}.studiesCleanTable td:nth-child(3){white-space:nowrap}.studiesCleanTable td:nth-child(3) .pacsStatus{display:inline-flex;align-items:center;min-height:24px;padding:3px 10px;box-sizing:border-box;font-size:10.5px!important;font-weight:700;line-height:1}.studyDateCell{width:auto!important;white-space:nowrap;font-size:12px!important}.studyOptionsHeader{text-align:right!important;padding-right:10px!important}.studyOptionsCell{position:relative!important;width:auto!important;padding-right:8px!important;overflow:visible!important;text-align:right!important;vertical-align:middle!important}.studyOptionsMenu{position:relative;width:120px!important;margin:0 0 0 auto!important}.studyOptionsMenu>summary{width:120px!important;min-height:34px!important;height:34px!important;padding:0 11px!important;box-sizing:border-box;border:1px solid #cbd8e8!important;border-radius:8px!important;background:#fff!important;font-size:11.5px!important;font-weight:700!important;color:#334155!important}.studyOptionsMenu>summary:hover{border-color:#93b7e9!important;background:#f8fbff!important}.studyOptionsMenu[open]>summary{border-color:#8ab4f8!important;background:#f3f7ff!important;color:#2563eb!important}.studyOptionsMenu[open]{z-index:7000!important}.studyOptionsDropdown{position:absolute!important;top:calc(100% + 6px)!important;right:0!important;z-index:8000!important;width:275px!important;margin:0!important;padding:8px!important;box-sizing:border-box;border:1px solid #d7e1ec!important;border-radius:10px!important;background:#fff!important;box-shadow:0 16px 36px #0f172a2b!important}.studyOptionItem{width:100%!important;min-height:37px!important;padding:0 11px!important;border-radius:7px!important;font-size:12px!important}.studyOptionAssign{width:100%!important;padding:9px 4px!important;box-sizing:border-box}.studyOptionAssign span{margin-bottom:5px!important;font-size:10px!important;font-weight:700;color:#64748b}.studyOptionAssign .assignSelect{width:100%!important;height:37px!important;padding:0 9px!important;box-sizing:border-box;border-radius:7px!important;font-size:12px!important}.studiesTableWrap{overflow:visible!important}.studiesTableWrap+.studyPagination,.studyPagination{font-size:11px!important}@media(max-width:1000px){.studiesTableWrap{overflow-x:auto!important;overflow-y:visible!important}.studiesCleanTable{min-width:850px!important}}.topHeaderIconButton{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;border-radius:10px!important}.topHeaderIconButton svg{width:18px!important;height:18px!important;margin:0!important}.topHeaderLogoutButton:hover{color:#dc2626!important;border-color:#fecaca!important;background:#fef2f2!important}.topUserCompact{min-width:70px!important;padding:6px 9px!important;gap:7px!important;justify-content:center!important}.topUserCompact>div:last-child>strong{display:none!important}.topUserCompact>div:last-child{display:flex!important;align-items:center!important;justify-content:center!important}.topUserCompact>div:last-child>small{margin:0!important;font-size:9px!important;font-weight:700!important;line-height:1!important;text-transform:uppercase!important}.topUserCompact{width:68px!important;min-width:68px!important;height:42px!important;padding:4px 7px!important;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}.topUserCompact .userInfo{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}.topUserCompact .userInfo span{margin:0!important;font-size:9px!important;font-weight:700!important;line-height:1!important;color:#607493!important;text-transform:uppercase!important;white-space:nowrap!important}.topUserCompact .userAvatar{width:30px!important;height:30px!important;min-width:30px!important;font-size:13px!important}.topHeaderIconButton{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.topUserCompact{width:58px!important;min-width:58px!important;height:48px!important;padding:4px 6px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important}.topUserCompact .userAvatar{width:27px!important;height:27px!important;min-width:27px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important}.topUserCompact .userInfo{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}.topUserCompact .userInfo strong{display:none!important}.topUserCompact .userInfo span{display:block!important;margin:0!important;font-size:8px!important;font-weight:700!important;line-height:1!important;text-align:center!important;white-space:nowrap!important}button[data-study-range-active=true]{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 2px 7px #2563eb33}button[data-study-range-active=true]:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important}button[data-study-range-active=true]{background:#1f89e5!important;border-color:#1f89e5!important;color:#fff!important;box-shadow:0 2px 7px #1f89e538}button[data-study-range-active=true]:hover{background:#1979cf!important;border-color:#1979cf!important}.addendumSection{margin-top:26px;padding-top:20px;border-top:1px solid #dbe3ec}.addendumSectionHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.addendumSectionHeader strong{font-size:15px}.addendumSectionHeader p{margin:4px 0 0;font-size:12px;color:#64748b}.addendumButton{border:0;border-radius:8px;padding:9px 14px;font-weight:600;cursor:pointer;background:#1677d2;color:#fff}.addendumEmpty{padding:14px;border-radius:8px;background:#f7f9fc;color:#64748b;font-size:13px}.addendumCard{margin-top:12px;padding:14px;border:1px solid #dbe3ec;border-radius:9px;background:#f9fbfd}.addendumCardHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.addendumMeta{display:flex;justify-content:space-between;gap:12px;margin-top:7px;font-size:12px;color:#64748b}.addendumReason{margin-top:12px;font-size:13px}.addendumText{margin-top:8px;white-space:pre-wrap;line-height:1.5;font-size:13px}.addendumStatus{border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.addendumStatus.ok{background:#e8f7ee;color:#16794a}.addendumStatus.pending{background:#fff3d6;color:#8a5a00}.addendumForm{margin-top:14px;padding:16px;border:1px solid #cbd8e6;border-radius:9px;background:#f7f9fc}.addendumForm label{display:block;margin-top:10px}.addendumForm label:first-child{margin-top:0}.addendumActions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.reportBody:has(>.onlyOfficeStage)>:not(.onlyOfficeStage){display:none!important}.reportBody:has(>.onlyOfficeStage){padding:14px 18px 18px;overflow:hidden}.onlyOfficeStage{width:100%}
