@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.rom-login{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;min-height:100svh;display:grid;place-items:center;padding:clamp(16px,2.4vw,24px);color:#2c5f57;position:relative;background:radial-gradient(circle at 20% 20%,#e8f8f6,#b8e1dc 40%,#7ec4ba);overflow:hidden}.rom-login:before,.rom-login:after{content:"";position:absolute;border-radius:50%;filter:blur(80px);opacity:.35;z-index:0}.rom-login:before{width:680px;height:680px;top:-220px;left:-220px;background:radial-gradient(circle,#a7e6dc 0%,transparent 70%)}.rom-login:after{width:780px;height:780px;right:-220px;bottom:-260px;background:radial-gradient(circle,#8bc9bf 0%,transparent 70%)}.rom-login__wrapper{position:relative;z-index:2;width:100%;display:grid;place-items:center}.rom-login__card{--radius: 22px;--line: rgba(126,196,186,.22);width:min(100%,clamp(330px,28vw,420px));background:#ffffffe0;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,2.6vh,48px) clamp(20px,2.2vw,40px);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 42px #00000014,0 14px 34px #5db2a62e,inset 0 1px #ffffff73;transition:transform .3s ease,box-shadow .3s ease}.rom-login__card:hover{transform:translateY(-2px);box-shadow:0 28px 70px #5db2a638,0 18px 40px #00000014}.rom-login__header{margin-bottom:clamp(18px,3vh,30px)}.rom-login__logo{text-align:center}.rom-login__logo-icon{font-size:clamp(32px,5.4vw,42px);margin-bottom:6px;background:linear-gradient(135deg,#58afa3,#7ec4ba);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.rom-login__title{font-size:clamp(16px,1.9vw,20px);font-weight:800;line-height:1.35;color:#2f5c56}.rom-login__brand{color:#56a69c}.rom-login__subtitle{text-align:center;font-size:clamp(12px,1.4vw,14px);color:#6b8f89;margin-top:6px}.rom-login__form{display:block}.rom-login__group{margin-bottom:clamp(12px,2.2vh,22px)}.rom-login__label{display:block;font-size:clamp(12px,1.2vw,13px);font-weight:700;color:#3e6a63;margin-bottom:6px;letter-spacing:.3px}.rom-login__input{width:100%;padding:clamp(10px,1.2vh,14px) clamp(12px,1.2vw,16px);font-size:clamp(14px,1.3vw,15px);border-radius:12px;border:1.5px solid rgba(126,196,186,.3);background:#fff;color:#2c5f57;transition:border-color .2s,box-shadow .2s,background .2s}.rom-login__input::placeholder{color:#9db8b3}.rom-login__input:focus{border-color:#5db2a6;box-shadow:0 0 0 4px #5db2a624;outline:none}.rom-login__button{width:100%;padding:clamp(10px,1.8vh,16px);margin-top:4px;border:0;border-radius:12px;background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;font-size:clamp(14px,1.4vw,16px);font-weight:800;letter-spacing:.5px;text-transform:uppercase;cursor:pointer;box-shadow:0 10px 22px #5db2a647;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.rom-login__button:hover{transform:translateY(-1px);box-shadow:0 14px 32px #5db2a661}.rom-login__button:active{transform:translateY(0);box-shadow:0 9px 18px #5db2a647}.rom-login__button[disabled]{opacity:.7;cursor:not-allowed}.rom-login__alert{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff5f5;border:1px solid #ffd1d1;color:#b00020;font-size:14px}.rom-login__footer{margin-top:clamp(14px,3vh,32px);padding-top:clamp(10px,1.6vh,18px);border-top:1px solid var(--line);text-align:center}.rom-login__footer small{font-size:clamp(11px,1.2vw,12px);color:#86a8a2}@media(max-height:820px){.rom-login__card{border-radius:20px}}@media(max-height:760px){.rom-login__card{padding:clamp(18px,2.2vh,28px) clamp(18px,2vw,28px)}.rom-login__subtitle{margin-bottom:18px}}@media(max-width:1400px){.rom-login__card{width:min(100%,clamp(330px,30vw,380px))}}@media(max-width:1280px){.rom-login__card{width:min(100%,clamp(320px,34vw,360px))}}@media(max-width:480px){.rom-login__card{width:min(92vw,360px);border-radius:18px;padding:22px 18px}}.rom-me{width:100%;display:flex;justify-content:center;align-items:flex-start;background:radial-gradient(circle at 20% 20%,#e8f8f6,#b8e1dc 40%,#7ec4ba);min-height:100vh;padding:5px 0 32px}.rom-me__card{background:#fffffff2;border-radius:22px;border:1px solid rgba(126,196,186,.25);width:min(96%,1040px);margin:20px auto;padding:clamp(22px,3vw,36px);box-shadow:0 20px 42px #00000014,0 10px 34px #5db2a62e,inset 0 1px #ffffff73;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.rom-me__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.rom-me__header-left{display:flex;flex-direction:column;gap:2px;flex:1}.rom-me__title{margin:0 0 4px;font-size:clamp(20px,2.2vw,24px);font-weight:800;color:#2f5c56}.rom-me__patient{margin:0;color:#6b8f89;font-size:14px}.rom-me__logout{background:linear-gradient(135deg,#56a69c,#7ec4ba);border:0;color:#fff;font-weight:700;font-size:14px;padding:8px 20px;border-radius:10px;cursor:pointer;box-shadow:0 6px 14px #5db2a640;transition:all .15s;white-space:nowrap}.rom-me__logout:hover{transform:translateY(-1px);box-shadow:0 10px 22px #5db2a659}.rom-me__controls{display:grid;grid-template-columns:1fr 160px 180px;gap:8px;align-items:center;margin:8px 0 16px}.rom-me__search,.rom-me__select{padding:10px 12px;border-radius:12px;border:1.5px solid rgba(126,196,186,.35);font-size:14px;color:#2c5f57;background:#fff;transition:border-color .2s,box-shadow .2s}.rom-me__search::placeholder{color:#9ab5b0}.rom-me__search:focus,.rom-me__select:focus{outline:none;border-color:#5db2a6;box-shadow:0 0 0 4px #5db2a624}.rom-me__table-wrapper{border-radius:16px;border:1px solid rgba(126,196,186,.25);background:#fffffff5;box-shadow:0 8px 20px #0000000a}.rom-me__table-scroll{overflow-x:auto}.rom-me__table{width:100%;border-collapse:collapse;font-size:14px}.rom-me__th{text-align:left;padding:10px 12px;font-weight:600;border-bottom:1px solid rgba(0,0,0,.04);background:#f6faf9;color:#3e6a63;white-space:nowrap}.rom-me__td,.rom-me__cell{padding:10px 12px;vertical-align:middle;color:#2f5c56;background:#fff}.rom-me__row:nth-child(2n) .rom-me__td{background:#f9fcfb}.rom-me__cell--muted{text-align:center;color:#7b8f8a}.rom-me__study-info{display:flex;flex-direction:column}.rom-me__study-name{font-weight:600}.rom-me__badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600;min-width:28px;text-align:center;border-width:1px;border-style:solid}.rom-me__badge--success{background:#e8f6ec;color:#1f7a3a;border-color:#c8ebd4}.rom-me__badge--warn{background:#fff7e6;color:#9a6b00;border-color:#ffe7b8}.rom-me__badge--neutral{background:#eef2f7;color:#385169;border-color:#dde5ef}.rom-me__btn{font-size:13px;font-weight:700;letter-spacing:.3px;border-radius:999px;padding:7px 14px;cursor:pointer;border:none;transition:all .15s ease}.rom-me__btn--primary{background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;box-shadow:0 8px 18px #5db2a63d}.rom-me__btn--primary:hover{transform:translateY(-1px);box-shadow:0 12px 26px #5db2a657}.rom-me__no-files{font-size:12px;color:#888}.rom-me__hint{display:block;margin-top:10px;font-size:12px;color:#7b8f8a}@media(max-width:768px){.rom-me__card{margin:12px auto;padding:18px}.rom-me__header{flex-direction:column-reverse;align-items:flex-start;gap:10px}.rom-me__logout{align-self:flex-end;font-size:13px;padding:7px 14px}.rom-me__controls{grid-template-columns:1fr;gap:10px}.rom-me__table{font-size:13px}.rom-me__th,.rom-me__td,.rom-me__cell{padding:8px 10px}.rom-me__badge{font-size:11px;padding:3px 7px}}@media(max-width:480px){.rom-me__card{border-radius:18px;padding:16px}.rom-me__title{font-size:18px}.rom-me__patient{font-size:13px}.rom-me__controls{margin-top:4px}.rom-me__search,.rom-me__select{font-size:13px;padding:8px 10px}.rom-me__hint{text-align:center}}.rom-np{width:100%;display:flex;justify-content:center;align-items:flex-start;padding:0 20px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.rom-np__card{background:#ffffffe6;border:1px solid rgba(126,196,186,.25);border-radius:22px;width:min(96%,960px);margin:0 auto;padding:clamp(24px,3vw,40px);box-shadow:0 20px 42px #00000014,0 10px 34px #5db2a62e,inset 0 1px #ffffff73;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.rom-np__header{text-align:center;margin-bottom:clamp(20px,3vh,36px)}.rom-np__title{font-size:clamp(18px,2vw,24px);font-weight:800;color:#2f5c56;margin-bottom:4px}.rom-np__subtitle{color:#6b8f89;font-size:clamp(13px,1.2vw,15px)}.rom-np__form{width:100%}.rom-np__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.2vw,18px);margin-bottom:24px}@media(max-width:800px){.rom-np__grid{grid-template-columns:1fr}}.rom-np__label{display:block;font-size:14px;font-weight:600;color:#3e6a63;margin-bottom:6px}.rom-np__input{width:100%;padding:12px 14px;border-radius:10px;border:1.5px solid rgba(126,196,186,.3);font-size:15px;color:#2c5f57;background:#fff;transition:border-color .2s,box-shadow .2s}.rom-np__input:focus{border-color:#5db2a6;box-shadow:0 0 0 4px #5db2a624;outline:none}.rom-np__fieldset{border:1px solid rgba(126,196,186,.25);border-radius:14px;padding:18px;background:#ffffffb3;margin-bottom:28px}.rom-np__legend{font-weight:700;font-size:14px;color:#2f5c56;padding:0 8px}.rom-np__studies{display:grid;gap:12px;margin-bottom:12px}.rom-np__study-row{display:grid;grid-template-columns:1fr 130px;gap:10px}@media(max-width:520px){.rom-np__study-row{grid-template-columns:1fr}}.rom-np__btn{font-weight:700;letter-spacing:.3px;border-radius:10px;padding:10px 16px;cursor:pointer;transition:all .15s ease;border:none}.rom-np__btn--primary{background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;box-shadow:0 10px 22px #5db2a647;min-width:160px}.rom-np__btn--primary:hover{transform:translateY(-1px);box-shadow:0 14px 32px #5db2a661}.rom-np__btn--primary:active{transform:translateY(0);box-shadow:0 9px 18px #5db2a647}.rom-np__btn--ghost{background:transparent;border:1.5px dashed rgba(126,196,186,.3);color:#2f5c56}.rom-np__btn--ghost:hover{border-color:#5db2a6;background:#5db2a60f}.rom-np__btn--danger{background:#ffecec;color:#b00020;border:1.5px solid #ffd1d1}.rom-np__btn--danger:hover{background:#ffdede}.rom-np__btn--danger[disabled]{opacity:.6;cursor:not-allowed}.rom-np__actions{text-align:center;margin-top:16px}.rom-np__alert{margin-top:18px;background:#fff5f5;border:1px solid #ffd1d1;border-radius:10px;color:#b00020;text-align:center;font-size:14px;padding:10px 12px}@media(max-width:480px){.rom-np__card{border-radius:18px;padding:22px 18px}}.rom-ed{width:100%;display:flex;justify-content:center;align-items:flex-start}.rom-ed__card{background:#ffffffe6;border:1px solid rgba(126,196,186,.25);border-radius:22px;width:min(96%,1040px);margin:0 auto;padding:clamp(24px,3vw,40px);box-shadow:0 20px 42px #00000014,0 10px 34px #5db2a62e,inset 0 1px #ffffff73;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.rom-ed__header{text-align:center;margin-bottom:clamp(20px,3vh,32px)}.rom-ed__title{font-size:clamp(18px,2vw,24px);font-weight:800;color:#2f5c56;margin-bottom:4px}.rom-ed__subtitle{color:#6b8f89;font-size:clamp(13px,1.2vw,15px)}.rom-ed__toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between;margin-bottom:20px}.rom-ed__field{display:flex;flex-direction:column;gap:6px}.rom-ed__label{font-size:14px;font-weight:600;color:#3e6a63}.rom-ed__date{padding:10px 12px;border-radius:10px;border:1.5px solid rgba(126,196,186,.3);font-size:14px;color:#2c5f57;background:#fff;transition:border-color .2s,box-shadow .2s}.rom-ed__date:focus{outline:none;border-color:#5db2a6;box-shadow:0 0 0 4px #5db2a624}.rom-ed__btn{font-weight:700;letter-spacing:.3px;border-radius:10px;padding:10px 18px;cursor:pointer;transition:all .15s ease;border:none;font-size:14px}.rom-ed__btn--primary{background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;box-shadow:0 10px 22px #5db2a647}.rom-ed__btn--primary:hover:enabled{transform:translateY(-1px);box-shadow:0 14px 32px #5db2a661}.rom-ed__btn--primary:disabled{opacity:.6;cursor:default}.rom-ed__list{display:grid;gap:14px}.rom-ed__empty{margin:0;padding:12px 14px;font-size:14px;text-align:center;border-radius:10px;background:#ffffffb3;border:1px dashed rgba(126,196,186,.3);color:#6b8f89}.rom-su{border-radius:16px;border:1px solid rgba(126,196,186,.35);background:#ffffffeb;padding:16px 18px;box-shadow:0 6px 18px #0000000a;display:flex;flex-direction:column;gap:10px}.rom-su__header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rom-su__title{font-size:15px;font-weight:700;color:#2f5c56;margin:0 0 4px}.rom-su__meta{font-size:13px;color:#6b8f89;margin:0}.rom-su__estado{display:flex;align-items:center}.rom-su__checkbox{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#3e6a63}.rom-su__checkbox input[type=checkbox]{accent-color:#56a69c}.rom-su__body{display:flex;flex-direction:column;gap:8px}.rom-su__file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0 0 0 0);white-space:nowrap;border:0}.rom-su__upload-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.rom-su__btn{font-weight:700;letter-spacing:.3px;border-radius:9px;padding:8px 14px;cursor:pointer;transition:all .15s ease;border:none;font-size:13px}.rom-su__btn--primary{background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;box-shadow:0 8px 18px #5db2a63d}.rom-su__btn--primary:hover:enabled{transform:translateY(-1px);box-shadow:0 11px 26px #5db2a657}.rom-su__btn--ghost{background:transparent;border:1.5px dashed rgba(126,196,186,.4);color:#2f5c56}.rom-su__btn--ghost:hover:enabled{border-color:#5db2a6;background:#5db2a60f}.rom-su__btn:disabled{opacity:.6;cursor:default}.rom-su__hint{font-size:12px;color:#6b8f89}.rom-su__filelist{margin:4px 0 0;padding-left:18px;font-size:13px;color:#2f5c56}.rom-su__fileitem{margin-bottom:2px}.rom-su__message{margin-top:4px;font-size:13px;padding:8px 10px;border-radius:8px}.rom-su__message--ok{background:#f0fff8;border:1px solid #c2f0df;color:#226b4a}.rom-su__message--error{background:#fff5f5;border:1px solid #ffd1d1;color:#b00020}.rom-su__preview-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}.rom-su__preview-item{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.rom-su__preview{max-width:160px;max-height:200px;border-radius:10px;border:1px solid rgba(126,196,186,.4);object-fit:cover;background:#f8fafb}.rom-su__preview--pdf{width:180px;height:180px}.rom-su__preview-meta{font-size:11px;color:#6b8f89}@media(max-width:700px){.rom-ed__toolbar{flex-direction:column;align-items:stretch}.rom-ed__btn--primary{align-self:flex-start}.rom-su__header{flex-direction:column;align-items:flex-start;gap:6px}.rom-su__upload-row{flex-direction:column;align-items:flex-start}}.rom-su__preview-item{display:flex;flex-direction:column;gap:4px;align-items:flex-start;position:relative}.rom-su__preview-remove{position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:999px;border:none;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;background:#7ec4ba;color:#000;box-shadow:0 2px 6px #00000040;transition:transform .12s ease,background .12s ease,opacity .12s ease}.rom-su__preview-remove:hover{background:linear-gradient(135deg,#56a69ca6,#7ec4baa6);transform:translateY(-1px)}.rom-su__preview-remove:active{transform:translateY(0)}:root{--bg-dark: #08090d;--bg-darker: #0d0e12;--bg-panel: #141519;--accent-primary: #1e3c72;--accent-secondary: #181a21;--accent-hover: #234583;--text-primary: #f8f9fb;--text-secondary: #7d8086;--border-subtle: rgba(255, 255, 255, .02);--border-strong: rgba(255, 255, 255, .045);--shadow-soft: 0 2px 6px rgba(0, 0, 0, .15), 0 8px 24px rgba(0, 0, 0, .12)}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.viewer-container{width:100vw;height:100vh;background-color:var(--bg-dark);color:var(--text-primary);display:flex;flex-direction:column;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,sans-serif;outline:none}.quick-actions-bar{height:48px;background-color:var(--bg-darker);display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-bottom:1px solid var(--border-subtle);box-shadow:var(--shadow-soft)}.quick-actions-left,.quick-actions-right{display:flex;gap:8px}.quick-action{background:none;border:1px solid var(--border-subtle);color:var(--text-secondary);padding:6px 12px;border-radius:6px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:.9rem;transition:all .2s ease}.quick-action:hover{background-color:var(--accent-primary);color:var(--text-primary);border-color:var(--accent-primary);transform:translateY(-1px)}.quick-action.active{background-color:var(--accent-primary);border-color:var(--accent-secondary);color:var(--text-primary);box-shadow:0 0 10px #6366f14d}.quick-action i{font-size:1.1rem}.reset-button{width:100%;margin-top:30px;padding:12px;background:var(--accent-primary);border:none;border-radius:8px;color:var(--text-primary);font-weight:500;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:var(--shadow-soft)}.reset-button:hover{transform:translateY(-1px);box-shadow:0 6px 12px #6366f133;cursor:pointer}.reset-button i{margin-right:8px;font-size:1.1rem}.image-navigation{display:flex;align-items:center;gap:12px}.nav-button{background:none;border:1px solid var(--border-subtle);color:var(--text-primary);cursor:pointer;padding:4px 12px;border-radius:6px;font-size:1.2rem;line-height:1;transition:all .15s ease}.nav-button:disabled{color:var(--text-secondary);cursor:not-allowed;opacity:.3}.nav-button:not(:disabled):hover{background-color:var(--accent-primary);transform:scale(1.05);border-color:var(--accent-primary)}.image-counter{font-size:.9rem;color:var(--text-secondary);min-width:60px;text-align:center}.main-content{flex:1;display:flex;overflow:hidden;position:relative}.filters-panel{width:280px;background-color:var(--bg-panel);padding:16px;overflow-y:auto;border-right:1px solid var(--border-subtle)}.filter-control{margin-bottom:16px;padding:12px;background:#ffffff08;border-radius:8px;border:1px solid var(--border-subtle)}.filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.filter-value{color:var(--accent-secondary);font-size:.9rem;font-weight:500}.filter-slider{width:100%;height:4px;-webkit-appearance:none;appearance:none;background:#ffffff1a;border-radius:2px;outline:none}.filter-slider::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:var(--accent-primary);cursor:pointer;border:2px solid white;transition:transform .15s ease}.filter-slider::-webkit-slider-thumb:hover{transform:scale(1.2);background:var(--accent-secondary)}.image-workspace{flex:1;display:flex;justify-content:center;align-items:center;position:relative;background:var(--bg-dark);overflow:hidden}.image-workspace img{max-width:100%;max-height:100%;object-fit:contain;will-change:transform}.zoom-indicator{position:absolute;top:16px;right:16px;background-color:#0d1117d9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:4px 8px;border-radius:4px;font-size:.85rem;color:var(--text-primary);z-index:10}.thumbnails-panel{height:100px;background-color:var(--bg-panel);border-top:1px solid var(--border-subtle);padding:8px}.thumbnails-scroll{display:flex;gap:8px;overflow-x:auto;height:100%;padding:0 4px;scrollbar-width:thin;scrollbar-color:var(--accent-primary) rgba(255,255,255,.1)}.thumbnails-scroll::-webkit-scrollbar{height:6px}.thumbnails-scroll::-webkit-scrollbar-track{background:#ffffff1a;border-radius:3px}.thumbnails-scroll::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:3px}.thumbnail{position:relative;flex:0 0 auto;width:80px;height:80px;border:2px solid transparent;border-radius:6px;overflow:hidden;cursor:pointer;transition:all .2s ease}.thumbnail:hover{border-color:var(--accent-secondary);transform:translateY(-2px);box-shadow:0 4px 12px #6366f133}.thumbnail.active{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-secondary)}.thumbnail img{width:100%;height:100%;object-fit:cover}.thumbnail-number{position:absolute;top:4px;right:4px;background:#0d1117d9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--text-primary);padding:2px 6px;border-radius:3px;font-size:.8rem}:fullscreen .viewer-container{background-color:var(--bg-dark)}:fullscreen .quick-actions-bar,:fullscreen .filters-panel,:fullscreen .thumbnails-panel{background-color:#1a2332f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.viewer-container.filters-hidden .filters-panel,.viewer-container.thumbnails-hidden .thumbnails-panel{display:none}.viewer-container.filters-hidden .image-workspace{margin-left:0}.viewer-container.thumbnails-hidden .main-content{height:100%}.mobile-swipe-hint{display:none}.thumbnail{position:relative;cursor:pointer}.thumbnail-overlay{position:absolute;inset:0;z-index:1;background:transparent}.thumbnail embed{position:relative;z-index:0}.mobile-pdf-container{display:flex;align-items:center;justify-content:center;height:100%;background:#1e1e2f;margin-bottom:7px}.mobile-pdf-download{padding:10px 20px;color:#fff;background-color:#1e90ff;text-decoration:none;font-weight:700;border-radius:6px;box-shadow:0 4px 6px #0003;transition:all .3s ease}.mobile-pdf-download:hover{background-color:#0056b3;transform:translateY(-2px)}@media(max-width:768px){.viewer-container{height:auto;min-height:100svh}.quick-actions-bar{display:none}.main-content{flex-direction:column;height:auto}.filters-panel{width:100%;height:auto;padding:12px;background-color:var(--bg-panel);display:grid;grid-template-columns:repeat(2,1fr);gap:8px;border-right:none}.filter-control{margin-bottom:0}.reset-button{grid-column:span 2;width:200px;margin:12px auto;padding:8px}.image-workspace{width:100%;display:flex;flex-direction:column;align-items:center}.image-workspace img{width:100vw;height:auto;max-height:calc(100vh - 400px);object-fit:contain;padding:0;margin:16px 0}.mobile-swipe-hint{display:block;text-align:center;color:var(--text-secondary);padding:4px 0;margin:0 0 8px;font-size:.75rem;opacity:.8}.thumbnails-panel{width:100%;height:70px;padding:8px;background-color:var(--bg-panel);border-top:1px solid var(--border-subtle)}.thumbnails-scroll{display:flex;gap:8px;height:100%;overflow-x:auto;padding:0 4px;-webkit-overflow-scrolling:touch}.thumbnail{flex:0 0 50px;height:50px;border-width:1px}}@media(max-width:480px){.filters-panel,.filter-control{padding:8px}.filter-header label{font-size:.75rem}.image-workspace img{margin:8px 0;max-height:calc(100vh - 350px)}.thumbnails-panel{height:60px}.thumbnail{flex:0 0 40px;height:40px}}@media(max-width:768px)and (orientation:landscape){.image-workspace img{max-height:calc(100vh - 300px)}.filters-panel{grid-template-columns:repeat(4,1fr)}.reset-button{grid-column:span 4}}.study-viewer{width:100%;min-height:100vh;background-color:var(--bg-dark);color:var(--text-primary);display:flex;flex-direction:column}.study-viewer--status{display:flex;align-items:center;justify-content:center}.study-viewer__status-msg{padding:16px 24px;border-radius:8px;background:var(--bg-panel);border:1px solid var(--border-subtle);color:var(--text-primary);font-size:.95rem}.study-viewer__topbar{height:46px;padding:0 14px;display:flex;align-items:center;gap:12px;background:var(--bg-darker);border-bottom:1px solid var(--border-subtle);box-shadow:var(--shadow-soft);z-index:5}.study-viewer__back-btn{border:1px solid var(--border-subtle);background:var(--accent-secondary);color:var(--text-primary);padding:6px 12px;border-radius:6px;font-size:.9rem;cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:all .15s ease}.study-viewer__back-btn:hover{background:var(--accent-hover);border-color:var(--accent-primary);transform:translateY(-1px)}.study-viewer__info{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;font-size:.86rem;color:var(--text-secondary)}.study-viewer__name{color:var(--text-primary)}.study-viewer__patient{opacity:.9}.study-viewer__date{opacity:.8}.study-viewer__body{flex:1;min-height:0}.study-viewer .viewer-container{height:calc(100vh - 46px)}@media(max-width:768px){.study-viewer .viewer-container{height:auto;min-height:calc(100svh - 46px)}.study-viewer__topbar{padding-inline:10px;gap:8px}.study-viewer__info{font-size:.78rem;gap:4px}.study-viewer__back-btn{padding:5px 10px;font-size:.8rem}}.rom-ap{width:100%;display:flex;justify-content:center;align-items:flex-start}.rom-ap__card{background:#ffffffe6;border:1px solid rgba(126,196,186,.25);border-radius:22px;width:min(96%,1040px);margin:0 auto;padding:clamp(24px,3vw,40px);box-shadow:0 20px 42px #00000014,0 10px 34px #5db2a62e,inset 0 1px #ffffff73;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.rom-ap__header{text-align:center;margin-bottom:clamp(20px,3vh,32px)}.rom-ap__title{font-size:clamp(18px,2vw,24px);font-weight:800;color:#2f5c56;margin-bottom:4px}.rom-ap__subtitle{color:#6b8f89;font-size:clamp(13px,1.2vw,15px)}.rom-ap__toolbar{display:flex;margin-bottom:16px}.rom-ap__search{flex:1;padding:10px 12px;border-radius:12px;border:1.5px solid rgba(126,196,186,.35);font-size:14px;color:#2c5f57;background:#fff;transition:border-color .2s,box-shadow .2s}.rom-ap__search::placeholder{color:#9ab5b0}.rom-ap__search:focus{outline:none;border-color:#5db2a6;box-shadow:0 0 0 4px #5db2a624}.rom-ap__alert{margin:0 0 10px;font-size:14px;padding:8px 10px;border-radius:10px}.rom-ap__alert--error{background:#fff5f5;border:1px solid #ffd1d1;color:#b00020}.rom-ap__table-wrapper{width:100%;border-radius:16px;border:1px solid rgba(126,196,186,.25);background:#ffffffeb;box-shadow:0 8px 20px #0000000a}.rom-ap__table{width:100%;border-collapse:collapse;font-size:14px}.rom-ap__th{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.04);font-weight:600;background:#f6faf9;color:#3e6a63;white-space:nowrap}.rom-ap__td,.rom-ap__cell{padding:10px 12px;vertical-align:middle;color:#2f5c56;background:#fff}.rom-ap__row:nth-child(2n) .rom-ap__td{background:#f9fcfb}.rom-ap__cell--muted{text-align:center;color:#7b8f8a}.rom-ap__input--inline{width:100%;padding:6px 8px;border-radius:8px;border:1px solid rgba(126,196,186,.5);font-size:13px;color:#2c5f57;background:#fff}.rom-ap__input--inline:focus{outline:none;border-color:#5db2a6;box-shadow:0 0 0 3px #5db2a624}.rom-ap__row-actions{display:flex;flex-wrap:wrap;gap:6px}.rom-ap__btn{font-size:13px;font-weight:700;letter-spacing:.3px;border-radius:9px;padding:7px 12px;cursor:pointer;border:none;transition:all .15s ease}.rom-ap__btn--primary{background:linear-gradient(135deg,#56a69c,#7ec4ba);color:#fff;box-shadow:0 8px 18px #5db2a63d}.rom-ap__btn--primary:hover:enabled{transform:translateY(-1px);box-shadow:0 12px 26px #5db2a657}.rom-ap__btn--ghost{background:transparent;border:1.5px dashed rgba(126,196,186,.4);color:#2f5c56}.rom-ap__btn--ghost:hover:enabled{border-color:#5db2a6;background:#5db2a60f}.rom-ap__btn--danger{background:#ffecec;color:#b00020;border:1px solid #ffd1d1}.rom-ap__btn--danger:hover:enabled{background:#ffdede}.rom-ap__btn:disabled{opacity:.6;cursor:default}.rom-ap__load-more{text-align:center;padding:14px 4px 0}.rom-ap__hint{display:block;margin-top:10px;font-size:12px;color:#7b8f8a}@media(max-width:768px){.rom-ap__table-wrapper{overflow-x:auto}.rom-ap__table{min-width:640px}.rom-ap__header{text-align:left}}:root{--nav-h: 66px}html,body{height:100%;margin:0;overflow-y:auto}*,*:before,*:after{box-sizing:border-box}.rom-layout{height:100dvh;display:flex;flex-direction:column;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:radial-gradient(circle at 30% 30%,#e8f8f6,#cde9e5 40%,#a8d6cf);color:#2f5c56;overflow:hidden}.rom-layout__nav{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;height:var(--nav-h);padding:18px 40px;background:#ffffffd1;border-bottom:1px solid rgba(126,196,186,.25);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.rom-layout__content{flex:1 1 auto;min-height:0;display:flex;justify-content:center;align-items:flex-start;padding:32px 20px;overflow:auto}.rom-layout__links{display:flex;gap:24px;align-items:center}.rom-layout__link{color:#2f5c56;font-weight:600;text-decoration:none;transition:color .2s;font-size:15px}.rom-layout__link:hover{color:#56a69c}.rom-layout__logout{background:linear-gradient(135deg,#56a69c,#7ec4ba);border:0;color:#fff;font-weight:700;font-size:14px;padding:8px 18px;border-radius:8px;cursor:pointer;box-shadow:0 6px 14px #5db2a640;transition:all .15s}.rom-layout__logout:hover{transform:translateY(-1px);box-shadow:0 10px 22px #5db2a659}
