*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-deep: #060d1a;--bg-base: #0d1b2a;--bg-surface: rgba(255,255,255,.05);--bg-surface-h: rgba(255,255,255,.09);--border: rgba(255,255,255,.12);--border-focus: #4fc3f7;--primary: #1a73e8;--primary-h: #1558b0;--accent: #4fc3f7;--accent-dim: rgba(79,195,247,.18);--text: #e8eaf6;--text-muted: rgba(232,234,246,.55);--red: #ef5350;--green: #66bb6a;--shadow-card: 0 24px 64px rgba(0,0,0,.55);--shadow-glow: 0 0 48px rgba(79,195,247,.12);--radius: 12px;--radius-sm: 8px}body{font-family:Inter,Segoe UI,system-ui,sans-serif;background:var(--bg-base);color:var(--text);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}.login-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 20% 50%,#0d2060 0%,transparent 60%),radial-gradient(ellipse at 80% 20%,#0a3060 0%,transparent 55%),radial-gradient(ellipse at 60% 80%,#061840 0%,transparent 50%),var(--bg-deep);overflow:hidden;position:relative;padding:1rem}.orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.35;pointer-events:none}.orb-1{width:500px;height:500px;background:radial-gradient(circle,#1a73e8,transparent 70%);top:-120px;left:-100px;animation:orbFloat 14s ease-in-out infinite}.orb-2{width:400px;height:400px;background:radial-gradient(circle,#4fc3f7,transparent 70%);bottom:-80px;right:-80px;animation:orbFloat 18s ease-in-out infinite reverse}.orb-3{width:300px;height:300px;background:radial-gradient(circle,#003087,transparent 70%);top:50%;left:60%;animation:orbFloat 22s ease-in-out infinite 4s}@keyframes orbFloat{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-40px) scale(1.05)}66%{transform:translate(-20px,20px) scale(.97)}}.login-card{position:relative;z-index:1;background:#0d1b2abf;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card),var(--shadow-glow);padding:2.5rem 2.25rem 2rem;width:100%;max-width:400px;animation:cardIn .5s cubic-bezier(.22,1,.36,1) both}@keyframes cardIn{0%{opacity:0;transform:translateY(28px) scale(.97)}to{opacity:1;transform:none}}.login-logo{display:block;height:56px;margin:0 auto 1.5rem;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.4))}.login-title{text-align:center;font-size:1.15rem;font-weight:600;color:var(--text);letter-spacing:.02em;margin-bottom:1.75rem}.login-form{display:flex;flex-direction:column;gap:1rem}.login-field{display:flex;flex-direction:column;gap:.35rem}.login-field label{font-size:.8rem;font-weight:500;color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase}.login-field input{background:#ffffff0f;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.65rem .9rem;font-size:.9375rem;color:var(--text);outline:none;transition:border-color .2s,box-shadow .2s,background .2s}.login-field input::placeholder{color:var(--text-muted)}.login-field input:focus{border-color:var(--border-focus);background:#4fc3f70f;box-shadow:0 0 0 3px #4fc3f726}.login-btn{margin-top:.5rem;background:linear-gradient(135deg,#1a73e8,#1558b0);color:#fff;border:none;border-radius:var(--radius-sm);padding:.75rem 1.5rem;font-size:.9375rem;font-weight:600;cursor:pointer;letter-spacing:.02em;transition:opacity .2s,transform .15s,box-shadow .2s;box-shadow:0 4px 18px #1a73e866}.login-btn:hover:not(:disabled){opacity:.92;transform:translateY(-1px);box-shadow:0 6px 24px #1a73e88c}.login-btn:active:not(:disabled){transform:translateY(0)}.login-btn:disabled{opacity:.45;cursor:default}.login-error{font-size:.8375rem;color:#ff6b6b;background:#ef53501f;border:1px solid rgba(239,83,80,.3);border-radius:6px;padding:.45rem .75rem}.totp-title{font-size:1.1rem;font-weight:600;text-align:center;color:var(--text);margin-bottom:.4rem}.totp-subtitle{font-size:.85rem;color:var(--text-muted);text-align:center;margin-bottom:1.5rem}.totp-input{font-size:2rem!important;letter-spacing:.6rem;text-align:center}.btn-link{background:none;border:none;color:var(--accent);cursor:pointer;font-size:.85rem;padding:0;text-align:center;opacity:.8;transition:opacity .15s}.btn-link:hover{opacity:1}.upload-page{display:flex;flex-direction:column;min-height:100vh;background:var(--bg-deep)}.topbar{background:#0d1b2ae6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:.7rem 1.75rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}.topbar-logo{height:38px;object-fit:contain}.topbar-right{display:flex;align-items:center;gap:.85rem}.topbar-fhir-badge{display:flex;align-items:center;gap:.45rem;background:#4fc3f71a;border:1px solid rgba(79,195,247,.25);border-radius:20px;padding:.3rem .85rem .3rem .6rem;font-size:.8rem;font-weight:600;color:var(--accent);letter-spacing:.03em}.topbar-fhir-badge svg{flex-shrink:0}button.topbar-fhir-badge{font-family:inherit}.topbar-fhir-badge.clickable{cursor:pointer;transition:background .15s,border-color .15s}.topbar-fhir-badge.clickable:hover{background:#4fc3f733;border-color:#4fc3f780}.topbar-fhir-badge.clickable:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}.topbar-user{font-size:.825rem;color:var(--text-muted);max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#030810b3;display:flex;align-items:center;justify-content:center;padding:1rem}.audit-dialog{background:var(--bg-base);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);width:min(1100px,100%);max-height:88vh;display:flex;flex-direction:column;overflow:hidden}.audit-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.25rem;border-bottom:1px solid var(--border)}.audit-header h3{font-size:1rem;font-weight:600}.audit-close{background:none;border:none;color:var(--text-muted);font-size:1.5rem;line-height:1;cursor:pointer;padding:0 .25rem}.audit-close:hover{color:var(--text)}.audit-filters{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding:.75rem 1.25rem;border-bottom:1px solid var(--border)}.audit-periods{display:flex;gap:.3rem}.audit-period{background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;color:var(--text-muted);padding:.3rem .7rem;font-size:.8rem;cursor:pointer}.audit-period:hover{background:var(--bg-surface-h);color:var(--text)}.audit-period.active{background:var(--accent-dim);border-color:var(--accent);color:var(--accent)}.audit-filters select{background:var(--bg-deep);border:1px solid var(--border);border-radius:6px;color:var(--text);padding:.3rem .5rem;font-size:.8rem}.audit-body{overflow:auto;flex:1}.audit-table{width:100%;border-collapse:collapse;font-size:.8rem}.audit-table th{position:sticky;top:0;background:var(--bg-base);text-align:left;font-weight:600;color:var(--text-muted);padding:.5rem .75rem;border-bottom:1px solid var(--border)}.audit-table td{padding:.45rem .75rem;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:top}.audit-table tbody tr:hover{background:var(--bg-surface)}.audit-nowrap{white-space:nowrap}.audit-muted{color:var(--text-muted)}.audit-row-failed td{color:#ffab91}.audit-event{display:inline-block;border-radius:10px;padding:.05rem .55rem;font-size:.75rem;white-space:nowrap;background:var(--bg-surface-h)}.audit-event-login-success{background:#66bb6a2e;color:var(--green)}.audit-event-login-failed{background:#ef53502e;color:var(--red)}.audit-event-logout{background:#ffffff14;color:var(--text-muted)}.audit-event-render{background:var(--accent-dim);color:var(--accent)}.audit-event-validation{background:#1a73e833;color:#90caf9}.audit-empty{padding:2rem;text-align:center;color:var(--text-muted)}.audit-error{color:var(--red)}.audit-footer{padding:.55rem 1.25rem;border-top:1px solid var(--border);font-size:.75rem;color:var(--text-muted)}@media (max-width: 640px){.topbar-user{display:none}.audit-table th:nth-child(5),.audit-table td:nth-child(5){display:none}}.topbar-logout{background:#ffffff12;border:1px solid var(--border);border-radius:6px;padding:.35rem .85rem;color:var(--text-muted);cursor:pointer;font-size:.825rem;transition:background .15s,color .15s}.topbar-logout:hover{background:#ffffff1f;color:var(--text)}.upload-main{flex:1;display:flex;flex-direction:column;align-items:center;padding:2.5rem 1.5rem}.upload-heading{font-size:1.5rem;font-weight:700;color:var(--text);margin-bottom:.4rem;letter-spacing:-.01em}.upload-subheading{color:var(--text-muted);font-size:.9rem;margin-bottom:2rem}.drop-zone{width:100%;max-width:640px;border:2px dashed rgba(79,195,247,.3);border-radius:var(--radius);background:#4fc3f708;padding:2.5rem 1.5rem;display:flex;flex-direction:column;align-items:center;gap:.85rem;cursor:pointer;transition:border-color .2s,background .2s,transform .15s;text-align:center;position:relative}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--accent);background:#4fc3f714;transform:scale(1.01)}.drop-zone-icon{color:var(--accent);opacity:.7;transition:opacity .2s,transform .2s}.drop-zone:hover .drop-zone-icon,.drop-zone.drag-over .drop-zone-icon{opacity:1;transform:translateY(-3px)}.drop-zone-label{font-size:1rem;font-weight:600;color:var(--text)}.drop-zone-sub{font-size:.825rem;color:var(--text-muted)}.drop-zone-browse{color:var(--accent);text-decoration:underline;cursor:pointer}.file-chosen{display:flex;align-items:center;gap:.5rem;background:#4fc3f71a;border:1px solid rgba(79,195,247,.25);border-radius:6px;padding:.4rem .85rem;font-size:.85rem;color:var(--accent);font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-zone input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload-controls{width:100%;max-width:640px;margin-top:1.25rem;display:flex;flex-direction:column;gap:1rem}.format-toggle{display:flex;gap:.5rem;background:#ffffff0a;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.3rem}.format-toggle button{flex:1;padding:.5rem 1rem;border-radius:6px;border:none;background:transparent;color:var(--text-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s,color .15s}.format-toggle button.active{background:#1a73e8d9;color:#fff;box-shadow:0 2px 8px #1a73e866}.format-toggle button:not(.active):hover{background:var(--bg-surface-h);color:var(--text)}.submit-btn{color:#fff;border:none;border-radius:var(--radius-sm);padding:.8rem 1.5rem;font-size:.9375rem;font-weight:600;cursor:pointer;letter-spacing:.02em;transition:opacity .2s,transform .15s,box-shadow .2s}.submit-btn:hover:not(:disabled){opacity:.88;transform:translateY(-1px)}.submit-btn:disabled{opacity:.4;cursor:default;transform:none}.submit-btn-html{background:linear-gradient(135deg,#1e8c4a,#156636);box-shadow:0 4px 18px #1e8c4a66}.submit-btn-html:hover:not(:disabled){box-shadow:0 6px 24px #1e8c4a8c}.submit-btn-pdf{background:linear-gradient(135deg,#e07b1a,#b85e0d);box-shadow:0 4px 18px #e07b1a66}.submit-btn-pdf:hover:not(:disabled){box-shadow:0 6px 24px #e07b1a8c}.alert-error{font-size:.85rem;color:#ff6b6b;background:#ef53501a;border:1px solid rgba(239,83,80,.28);border-radius:6px;padding:.5rem .85rem}.alert-success{font-size:.85rem;color:var(--green);background:#66bb6a1a;border:1px solid rgba(102,187,106,.28);border-radius:6px;padding:.5rem .85rem}.preview-panel{width:100%;max-width:1200px;margin-top:2rem;display:flex;flex-direction:column;gap:.5rem;animation:cardIn .35s cubic-bezier(.22,1,.36,1) both}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;color:var(--text-muted)}.preview-open-btn{background:#4fc3f71a;border:1px solid rgba(79,195,247,.25);border-radius:6px;padding:.3rem .75rem;color:var(--accent);font-size:.8rem;cursor:pointer;transition:background .15s}.preview-open-btn:hover{background:#4fc3f72e}.preview-frame{width:100%;min-height:72vh;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.page-footer{padding:.6rem 1.75rem;font-size:.75rem;color:var(--text-muted);border-top:1px solid var(--border);text-align:left}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;vertical-align:middle;margin-right:.4rem}.upload-page.explorer-mode{height:100vh;overflow:hidden}.upload-page.explorer-mode .topbar{flex-shrink:0}.fhir-explorer{flex:1;display:flex;min-height:0;animation:fadeUp .28s cubic-bezier(.22,1,.36,1) both}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.fhir-sidebar{width:272px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--border);background:#060d1a80;min-height:0}.fhir-sidebar-file{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem .85rem;border-bottom:1px solid var(--border);flex-shrink:0}.fhir-sidebar-filename{display:flex;align-items:center;gap:.4rem;color:var(--text);font-size:.75rem;min-width:0}.fhir-sidebar-filename span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fhir-change-btn{flex-shrink:0;background:#ffffff0d;border:1px solid var(--border);border-radius:4px;padding:.18rem .55rem;color:var(--text-muted);font-size:.7rem;font-family:inherit;cursor:pointer;transition:background .12s,color .12s;white-space:nowrap}.fhir-change-btn:hover{background:#ffffff1a;color:var(--text)}.fhir-sidebar-meta{padding:.4rem .85rem;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);border-bottom:1px solid var(--border);flex-shrink:0;opacity:.7}.fhir-list{flex:1;overflow-y:auto;padding:.3rem 0;min-height:0}.fhir-list::-webkit-scrollbar{width:4px}.fhir-list::-webkit-scrollbar-track{background:transparent}.fhir-list::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:2px}.fhir-list::-webkit-scrollbar-thumb:hover{background:#fff3}.fhir-list-item{display:grid;grid-template-columns:24px 8px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:.4rem;width:100%;padding:.38rem .75rem .38rem .6rem;background:transparent;border:none;border-left:2px solid transparent;color:var(--text);cursor:pointer;font-size:.775rem;font-family:inherit;text-align:left;transition:background .1s,border-color .1s}.fhir-list-item:hover{background:#ffffff0a}.fhir-list-item.active{background:#4fc3f712}.fhir-list-num{color:#e8eaf64d;font-size:.68rem;text-align:right;font-variant-numeric:tabular-nums}.fhir-list-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.fhir-list-type{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fhir-list-id{color:#e8eaf659;font-size:.68rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Consolas,Monaco,monospace}.fhir-list-empty{padding:1.25rem .85rem;color:var(--text-muted);font-size:.8rem;opacity:.6}.fhir-content{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.fhir-tab-bar{display:flex;align-items:center;border-bottom:1px solid var(--border);flex-shrink:0;padding:0 .75rem;gap:.1rem;background:#060d1a4d}.fhir-tab{padding:.55rem 1rem;font-size:.8rem;font-weight:500;color:var(--text-muted);border:none;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;cursor:pointer;font-family:inherit;transition:color .15s,border-color .15s;white-space:nowrap}.fhir-tab:hover:not(.active){color:var(--text)}.fhir-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.fhir-tab-pdf{color:#e8eaf673;margin-left:.25rem}.fhir-tab-pdf:hover{color:#ffb74d}.fhir-tab-pdf.loading{opacity:.6;cursor:default}.fhir-notice{margin-left:auto;font-size:.75rem;color:var(--green);padding:0 .75rem;animation:fadeUp .2s ease both}.fhir-notice.error{color:var(--red)}.fhir-render-warnings{display:flex;align-items:flex-start;gap:.75rem;padding:.55rem 1rem;border-bottom:1px solid rgba(255,160,0,.35);background:#ffa0001a;color:#ffcc80;font-size:.78rem;flex-shrink:0;animation:fadeUp .2s ease both}.fhir-render-warnings-body{flex:1;min-width:0}.fhir-render-warnings-body ul{margin:.25rem 0 0;padding-left:1.1rem;overflow-wrap:anywhere}.fhir-render-warnings-close{background:none;border:none;color:inherit;font-size:1.1rem;line-height:1;cursor:pointer;opacity:.7}.fhir-render-warnings-close:hover{opacity:1}.fhir-code-pre{flex:1;overflow:auto;margin:0;padding:.5rem 0;font-family:JetBrains Mono,Cascadia Code,Fira Code,Consolas,Monaco,monospace;font-size:12.5px;line-height:1.65;white-space:pre;background:transparent;min-height:0}.fhir-code-pre::-webkit-scrollbar{width:6px;height:6px}.fhir-code-pre::-webkit-scrollbar-track{background:transparent}.fhir-code-pre::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.fhir-code-pre::-webkit-scrollbar-thumb:hover{background:#ffffff2e}.fhir-code-line{display:flex;padding-right:2rem}.fhir-code-line.fhir-line-highlighted{background:#4fc3f717;box-shadow:inset 3px 0 0 var(--accent)}.fhir-line-no{width:50px;min-width:50px;padding:0 .85rem 0 .5rem;text-align:right;color:#e8eaf62e;-webkit-user-select:none;user-select:none;font-size:11px;flex-shrink:0}.jk{color:#4fc3f7}.js{color:#a5d6a7}.ji{color:#ffcc80}.jb{color:#f48fb1}.jn{color:#ce93d8}.fhir-code-wrap{flex:1;display:flex;flex-direction:column;position:relative;min-height:0}.fhir-search-trigger{position:absolute;top:22px;right:12px;z-index:10;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--border);border-radius:7px;background:#ffffff0d;color:#ffffff8c;cursor:pointer;transition:color .15s,background .15s,border-color .15s,box-shadow .15s}.fhir-search-trigger:hover{color:#fff;background:#4fc3f726;border-color:var(--accent);box-shadow:0 0 0 2px #4fc3f726}.fhir-search-trigger.active{color:var(--accent);background:#4fc3f71f;border-color:var(--accent)}.fhir-search-bar{position:absolute;top:8px;right:8px;z-index:20;display:flex;align-items:center;gap:4px;padding:4px 8px;background:#1e2535;border:1px solid var(--border);border-radius:7px;box-shadow:0 4px 16px #00000080;color:#ffffff80}.fhir-search-input{width:180px;padding:2px 6px;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);border-radius:4px;color:#e0e6f0;font-size:.82rem;font-family:inherit;outline:none}.fhir-search-input:focus{border-color:var(--accent);background:#4fc3f70f}.fhir-search-count{font-size:.75rem;color:#fff6;min-width:60px;text-align:center;white-space:nowrap}.fhir-search-nav,.fhir-search-close{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;border-radius:4px;background:transparent;color:#ffffff73;font-size:.8rem;cursor:pointer;transition:background .12s,color .12s}.fhir-search-nav:hover,.fhir-search-close:hover{background:#ffffff1a;color:#ffffffd9}mark.sm{background:#ffd54f59;color:inherit;border-radius:2px}mark.smc{background:#ff9800a6;color:#fff;border-radius:2px;outline:1px solid rgba(255,152,0,.8)}.fhir-html-panel{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.fhir-panel-center{flex:1;display:flex;align-items:center;justify-content:center;gap:.6rem;color:var(--text-muted);font-size:.875rem}.fhir-panel-error{color:var(--red)}.fhir-html-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.4rem 1rem;border-bottom:1px solid var(--border);flex-shrink:0;background:#060d1a4d}.fhir-html-meta{font-size:.75rem;color:var(--text-muted)}.fhir-html-open-btn{background:#4fc3f714;border:1px solid rgba(79,195,247,.22);border-radius:5px;padding:.28rem .75rem;color:var(--accent);font-size:.75rem;font-family:inherit;cursor:pointer;transition:background .15s}.fhir-html-open-btn:hover{background:#4fc3f726}.fhir-eorder-print{display:flex;align-items:center;gap:.4rem;margin-left:auto;margin-right:.6rem}.fhir-eorder-print input{background:#060d1a80;border:1px solid var(--border);border-radius:5px;padding:.28rem .5rem;color:inherit;font-size:.75rem;font-family:inherit;width:7.5rem}.fhir-eorder-print input:last-of-type{width:17rem}.fhir-html-frame{flex:1;width:100%;border:none;background:#fff;min-height:0}.fhir-graph-container{flex:1;display:flex;min-height:0;overflow:hidden;position:relative}.fhir-graph-area{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.fhir-graph-svg{flex:1;width:100%;height:100%;display:block}.fhir-graph-hint{position:absolute;bottom:.6rem;left:50%;transform:translate(-50%);font-size:.7rem;color:#e8eaf640;pointer-events:none;white-space:nowrap}.fhir-graph-resize-handle{width:5px;flex-shrink:0;cursor:col-resize;background:var(--border);transition:background .15s;position:relative;z-index:1}.fhir-graph-resize-handle:hover,.fhir-graph-resize-handle:active{background:var(--accent)}.fhir-graph-detail{flex-shrink:0;display:flex;flex-direction:column;border-left:1px solid var(--border);background:var(--bg-base);min-height:0}.fhir-graph-detail-header{display:flex;align-items:center;justify-content:space-between;padding:.55rem 1rem;border-bottom:1px solid var(--border);font-size:.8rem;font-weight:600;flex-shrink:0}.fhir-graph-detail-actions{display:flex;align-items:center;gap:.25rem}.fhir-graph-copy-btn{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:.15rem .3rem;border-radius:3px;line-height:1;display:flex;align-items:center;transition:color .15s,background .15s}.fhir-graph-copy-btn:hover{color:var(--accent);background:#4fc3f71a}.fhir-graph-copy-btn.copied{color:#81c784}.fhir-graph-detail-close{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:.85rem;padding:.1rem .3rem;border-radius:3px;line-height:1;transition:color .15s,background .15s}.fhir-graph-detail-close:hover{color:var(--text);background:#ffffff12}.fhir-graph-detail-code{flex:1;overflow-y:auto;font-family:JetBrains Mono,Fira Code,monospace;font-size:.72rem;line-height:1.5;padding:.5rem 0}.fhir-tab-validate{position:relative}.fhir-validate-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:.4rem;min-width:18px;height:18px;padding:0 5px;border-radius:9px;font-size:.65rem;font-weight:700;line-height:1}.fhir-validate-badge.error{background:#e5393540;color:#ef9a9a}.fhir-validate-badge.warn{background:#ffa00033;color:#ffcc80}.fhir-validate-badge.ok{background:#81c78433;color:#81c784;font-size:.7rem}.fhir-validate-panel{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.fhir-validate-header{flex-shrink:0;padding:.65rem 1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:1.5rem;background:#060d1a66}.fhir-validate-title{font-size:.8rem;font-weight:600;color:var(--text);opacity:.75}.fhir-validate-summary{display:flex;gap:1rem;flex-wrap:wrap}.fhir-validate-copy-btn{margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem;border:1px solid rgba(79,195,247,.22);border-radius:5px;background:#4fc3f714;color:var(--accent);font-family:inherit;font-size:.75rem;cursor:pointer;transition:color .15s,background .15s,border-color .15s}.fhir-validate-copy-btn:hover{background:#4fc3f726;border-color:#4fc3f761}.fhir-validate-copy-btn.copied{color:#81c784;background:#81c7841a;border-color:#81c78447}.fhir-vsummary-item{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:600}.fhir-vsummary-item.error{color:#ef9a9a}.fhir-vsummary-item.warn{color:#ffcc80}.fhir-vsummary-item.info{color:#90caf9}.fhir-vsummary-item.ok{color:#81c784}.fhir-validate-list{flex:1;overflow-y:auto;padding:.5rem 0}.fhir-validate-empty{padding:2rem 1.5rem;color:#81c784;font-size:.875rem}.fhir-validate-item{display:flex;align-items:flex-start;gap:.7rem;padding:.5rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.04);transition:background .12s}.fhir-validate-item:hover{background:#ffffff08}.fhir-validate-item.nav{cursor:pointer}.fhir-validate-item.nav:hover{background:#4fc3f712;border-bottom-color:#4fc3f71a}.fhir-validate-item.nav:hover .fhir-validate-path{opacity:1}.fhir-validate-nav-arrow{margin-left:auto;padding-left:.75rem;flex-shrink:0;color:var(--accent);opacity:0;font-size:1.2rem;font-weight:600;line-height:1;align-self:center;transition:opacity .15s,transform .15s}.fhir-validate-item.nav:hover .fhir-validate-nav-arrow{opacity:1;transform:translate(4px)}.fhir-validate-item.error .fhir-validate-icon{color:#ef9a9a}.fhir-validate-item.warning .fhir-validate-icon{color:#ffcc80}.fhir-validate-item.info .fhir-validate-icon{color:#90caf9}.fhir-validate-icon{flex-shrink:0;margin-top:.15rem}.fhir-validate-body{display:flex;flex-direction:column;gap:.15rem}.fhir-validate-path{font-family:JetBrains Mono,Fira Code,monospace;font-size:.72rem;color:var(--accent);opacity:.8}.fhir-validate-msg{font-size:.8rem;color:var(--text);line-height:1.45}
