@import "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap";:root{color:#253b49;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg:#eef2f4;--surface:#fff;--surface-soft:#eef2f4;--line:#e1e7eb;--line-strong:#d7dfe4;--text:#253b49;--muted:#5f6b73;--brand:#314b5d;--brand-dark:#253b49;--brand-soft:#eef4f7;--accent:#2563eb;--accent-soft:#eaf1fd;--success:#16a34a;--success-bg:#eafaf0;--danger:#d62828;--danger-bg:#fdecec;--shadow:0 18px 44px #314b5d1f;--shadow-soft:0 8px 18px #314b5d14;background:#eef2f4;font-family:Roboto,Arial,sans-serif}*{box-sizing:border-box}html{width:100%}html,body{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar{width:0;height:0}body::-webkit-scrollbar{width:0;height:0}.table-wrap{scrollbar-color:#314b5d6b #eef2f7;scrollbar-width:thin}.table-wrap::-webkit-scrollbar{width:10px;height:10px}.table-wrap::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb{background:#9aaec7;border:2px solid #eef2f7;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb:hover{background:#7f95b2}body{background:linear-gradient(180deg, #fff 0, #f7f9fc 280px, var(--bg) 100%), var(--bg);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}img,svg,video,iframe{max-width:100%}button,input,textarea{font:inherit}button,button *{cursor:inherit}input,textarea{cursor:text}input[type=button],input[type=checkbox],input[type=file],input[type=radio],input[type=reset],input[type=submit],select,label{cursor:pointer}.app-shell{cursor:default;background:linear-gradient(120deg, #314b5d0f, transparent 34%), linear-gradient(300deg, #d628280d, transparent 28%), var(--bg);width:100%;min-width:0;min-height:100vh}.auth-shell{background:linear-gradient(135deg, #314b5d14, transparent 34%), linear-gradient(315deg, #d628280f, transparent 30%), var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{gap:12px;width:min(100%,430px);min-width:0;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;box-shadow:var(--shadow);text-align:left;border-radius:16px;gap:18px;padding:34px 36px 36px;display:grid;position:relative;overflow:hidden}.auth-card:before{background:var(--brand);content:"";height:5px;display:block;position:absolute;inset:0 0 auto}.auth-brand{align-items:center;gap:12px;min-width:0;display:flex}.auth-brand>div:last-child{min-width:0}.auth-brand h1,.auth-brand p,.auth-developer,.auth-error{margin:0}.auth-brand h1{color:var(--text);font-size:1.5rem;line-height:1.1}.auth-brand p{color:var(--muted);margin-top:5px;font-size:.95rem}.auth-brand-icon-bg{fill:url(#auth-brand-gradient)}.auth-card label{color:#344054;gap:8px;font-size:.88rem;font-weight:800;display:grid}.auth-card input{border:1px solid var(--line-strong);width:100%;height:46px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px}.auth-card input:focus{border-color:var(--brand);outline:3px solid #314b5d24}.auth-error{background:var(--danger-bg);color:var(--danger);border:1px solid #f0b7c0;border-radius:8px;padding:10px 12px;font-size:.88rem;font-weight:800}.auth-developer{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:6px;font-size:.82rem;font-weight:700;display:inline-flex}.auth-developer svg{width:16px;height:16px;color:var(--brand);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.app-header{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-bottom:1px solid #d8e8eef2;justify-content:space-between;align-items:center;gap:18px;padding:16px clamp(18px,4vw,48px);display:flex;position:sticky;top:0;box-shadow:0 1px 10px #15324309}.header-back-button{flex:none;padding:0 14px}.brand-group{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.brand-group>div:last-child{min-width:0}.brand-group:focus-visible{outline-offset:6px;border-radius:12px;outline:3px solid #314b5d33}.brand-mark{flex:none;place-items:center;width:46px;height:46px;display:grid}.brand-mark svg,.brand-mark img{filter:drop-shadow(0 8px 14px #314b5d24);width:46px;height:46px;display:block}.brand-mark img{object-fit:cover;border-radius:11px}.brand-icon-bg{fill:url(#brand-gradient)}.brand{align-items:center;gap:12px;min-width:max-content;display:flex}.brand-text{min-width:0}.nav-list{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:6px 4px;min-width:0;display:flex}.nav-item{min-height:32px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;align-items:center;gap:6px;padding:5px 9px;font-size:.76rem;font-weight:800;text-decoration:none;transition:color .14s,background-color .14s,border-color .14s;display:inline-flex}.nav-item svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.nav-item:hover{color:var(--text);background:var(--surface-soft);border-color:var(--line)}.nav-item.active{color:var(--brand);background:var(--brand-soft);border-color:#314b5d33}.nav-group{flex:none;position:relative}.nav-caret{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:11px;height:11px;margin-left:-1px}.nav-dropdown-bridge{z-index:20;padding-top:6px;position:absolute;top:100%;left:0}.nav-dropdown{background:var(--surface);border:1px solid var(--line);min-width:200px;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex}.nav-dropdown-item{color:var(--muted);font:inherit;white-space:nowrap;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:8px;padding:7px 10px;font-size:.78rem;font-weight:700;transition:color .14s,background-color .14s;display:flex}.nav-dropdown-item svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.nav-dropdown-item:hover{color:var(--text);background:var(--surface-soft)}.nav-dropdown-item.active{color:var(--brand);background:var(--brand-soft)}.brand-icon-paper{fill:#f8fafc}.brand-icon-fold{fill:none;stroke:#94a3b8;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.brand-icon-cross{fill:none;stroke:#06b6d4;stroke-linecap:round;stroke-width:3px}.brand-icon-line{fill:none;stroke:#64748b;stroke-linecap:round;stroke-width:2px}.app-header h1,.app-header p,.import-copy h2,.import-copy p,.section-heading h2,.upload-heading h3{margin:0}.app-header h1{color:var(--text);overflow-wrap:anywhere;font-size:1.42rem;line-height:1.1}.app-header p{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:1rem;line-height:1.25}.header-actions,.validation-strip,.button-row,.file-meta{flex-wrap:wrap;gap:8px;display:flex}.header-actions{justify-content:flex-end}.header-actions span,.secure-pill,.result-pill,.validation-strip span,.file-meta span{border:1px solid var(--line);background:var(--surface-soft);color:#475467;border-radius:999px;font-size:.77rem;font-weight:750}.header-actions span,.secure-pill,.result-pill{white-space:normal;max-width:100%;padding:7px 10px}.app-main{width:min(1500px,100vw - 24px);min-width:0;margin:0 auto;padding:30px 0 52px}.home-main{align-items:center;min-height:calc(100svh - 79px);padding:clamp(10px,1.8vh,18px) 0;display:grid}.home-panel{gap:clamp(12px,2.2vh,20px);width:100%;min-width:0;display:grid}.home-heading{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(90deg,#f1f5f9,#fffffffa),#fff;border-radius:8px;padding:clamp(16px,2.8vh,26px) clamp(22px,4vw,44px);position:relative;overflow:hidden}.home-heading:before{background:var(--brand);content:"";width:5px;position:absolute;inset:0 auto 0 0}.home-heading h2,.home-heading p{margin:0}.home-heading h2{color:var(--text);margin-top:6px;font-size:clamp(1.45rem,2.6vw,2.15rem);font-weight:900;line-height:1.05}.home-heading p{max-width:720px;color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:7px;line-height:1.35;display:-webkit-box;overflow:hidden}.home-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:14px;display:grid}.home-card{cursor:pointer;border:1px solid var(--line);min-width:0;height:100%;min-height:clamp(138px,20vh,168px);color:inherit;text-align:left;box-shadow:var(--shadow-soft);background:#fff;border-radius:8px;align-content:start;gap:10px;padding:clamp(12px,2.1vh,18px);text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;position:relative}.home-card:hover{box-shadow:var(--shadow);border-color:#94a3b8;transform:translateY(-2px)}.home-card:hover .home-card-arrow{border-color:var(--brand);background:var(--brand);color:#fff;transform:translate(2px)}.home-card:focus-visible{outline-offset:2px;outline:3px solid #314b5d2e}.home-card-primary{border-color:#94a3b8}.home-card-topline{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.home-card-icon{background:var(--brand-soft);width:clamp(38px,5.8vh,44px);height:clamp(38px,5.8vh,44px);color:var(--brand);border-radius:8px;place-items:center;display:grid}.home-card-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:21px;height:21px}.home-card strong{color:var(--text);overflow-wrap:anywhere;font-size:clamp(1rem,1.7vw,1.15rem);font-weight:900;line-height:1.12}.home-card>span:last-child{max-width:460px;color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.32;display:-webkit-box;overflow:hidden}.home-card-arrow{border:1px solid var(--line-strong);width:30px;height:30px;color:var(--brand);background:#fff;border-radius:999px;place-items:center;font-size:1.25rem;font-weight:700;line-height:1;transition:transform .16s,background .16s,border-color .16s,color .16s;display:grid}.comparison-panel{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow-soft);background:#fff;border-radius:8px;gap:16px;padding:clamp(14px,2.4vh,20px);display:grid}.comparison-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;display:grid}.comparison-summary{grid-template-columns:minmax(0,1fr) minmax(300px,.48fr);gap:12px;min-width:0;margin-bottom:0;display:grid}.comparison-total-strip,.comparison-metrics{background:#fff;border:1px solid #cfe3eb;border-radius:10px;min-width:0;box-shadow:0 8px 20px #1532430b}.comparison-total-strip{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.comparison-total-strip article{align-content:center;gap:10px;min-width:0;padding:17px 18px;display:grid;position:relative}.comparison-total-strip article:before{background:var(--brand);content:"";border-radius:999px;width:4px;position:absolute;inset:16px auto 16px 0}.comparison-total-strip .total-danger:before{background:var(--danger)}.comparison-total-strip .total-success:before{background:var(--success)}.comparison-total-strip .total-danger strong{color:var(--danger)}.comparison-total-strip .total-success strong{color:var(--success)}.comparison-total-strip article+article{border-left:1px solid var(--line)}.comparison-total-strip span,.comparison-total-strip strong,.comparison-total-strip small,.comparison-metrics span,.comparison-metrics strong{display:block}.comparison-total-strip span,.comparison-metrics span{color:#315a68;letter-spacing:.04em;text-transform:uppercase;font-size:.72rem;font-weight:850}.comparison-total-strip strong{color:var(--text);white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums;font-size:clamp(1.55rem,2.15vw,1.95rem);font-weight:900;line-height:1.08}.comparison-total-strip small{color:var(--brand);margin-top:4px;font-size:.78rem;font-weight:700}.comparison-metrics{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.comparison-metrics article{background:linear-gradient(#fff,#fbfdfe);align-content:center;gap:9px;min-width:0;padding:15px 16px;display:grid}.comparison-metrics article+article{border-left:1px solid var(--line)}.comparison-metrics strong{color:var(--brand);font-size:1.55rem;font-weight:900;line-height:1}.comparison-metrics .metric-danger strong{color:var(--danger)}.comparison-metrics .metric-success strong{color:var(--success)}.difference-report{background:#fff;border:1px solid #cfe3eb;border-radius:10px;min-width:0;padding:14px;box-shadow:0 8px 20px #1532430b}.difference-report-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:12px;display:flex}.difference-report-heading h3{color:var(--text);overflow-wrap:anywhere;margin:4px 0 0;font-size:1rem}.difference-report-heading strong{border:1px solid var(--line);background:var(--surface-soft);color:var(--brand);border-radius:999px;flex:none;padding:7px 10px;font-size:.78rem}.difference-report-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;display:grid}.difference-report-card{border:1px solid var(--line);background:linear-gradient(#fff,#fbfdfe);border-radius:10px;grid-template-columns:32px minmax(0,1fr);gap:10px;min-width:0;padding:12px;display:grid}.difference-report-rank{background:var(--brand-soft);width:32px;height:32px;color:var(--brand);border-radius:999px;place-items:center;font-weight:900;display:grid}.difference-report-content{min-width:0}.difference-report-topline{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.difference-report-topline strong{color:var(--text);font-size:.88rem;line-height:1.35}.difference-report-topline span{color:var(--danger);flex:none;font-size:.82rem;font-weight:900}.difference-report-values{color:var(--muted);gap:4px;margin-top:8px;font-size:.82rem;display:grid}.difference-report-values strong{color:var(--text)}.value-repeat-card .difference-report-topline strong{color:var(--brand);font-size:1rem}.comparison-table-wrap{max-height:min(560px,58vh)}.comparison-table-wrap th{z-index:4;top:0}.full-width-button{width:100%;margin-top:12px}.import-panel{grid-template-columns:minmax(0,1.25fr) minmax(330px,430px);gap:18px;min-width:0;margin-bottom:18px;display:grid}.import-copy,.upload-card,.summary-card,.results-section,.detail-panel,.patient-info-grid article{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);border-radius:16px}.import-copy{background:linear-gradient(135deg, #0f172a, #1e293b), var(--brand);color:#fff;min-height:292px;box-shadow:var(--shadow);border-color:#314b5d47;flex-direction:column;justify-content:center;padding:clamp(28px,4vw,44px);display:flex;position:relative;overflow:hidden}.import-copy:after{content:none}.eyebrow{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:850}.import-copy .eyebrow{color:#cbd5e1}.import-copy h2{max-width:640px;margin-top:11px;font-size:clamp(2rem,4vw,3.3rem);line-height:1.04;position:relative}.import-copy p{color:#e2e8f0;max-width:680px;margin-top:14px;font-size:1rem;line-height:1.62;position:relative}.validation-strip{margin-top:22px;position:relative}.validation-strip span{color:#fff;background:#ffffff1f;border-color:#ffffff3d;padding:8px 11px}.upload-card{min-width:0;padding:22px}.upload-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:16px;display:flex}.upload-heading>div{min-width:0}.upload-heading h3{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:1.12rem}.file-input{display:none}.file-dropzone{background:#fbfdfe;border:1px dashed #a9c7d2;border-radius:12px;align-items:center;gap:14px;min-width:0;min-height:116px;padding:16px;transition:border-color .16s,background .16s,box-shadow .16s;display:flex}.file-dropzone:hover,.file-dropzone.has-file{border-color:var(--brand);background:var(--brand-soft)}.comparison-dropzone{min-height:86px;margin-top:12px}.file-dropzone.has-file{box-shadow:inset 0 0 0 1px #314b5d1a}.file-icon{background:var(--brand-soft);width:56px;height:56px;color:var(--brand);border-radius:12px;flex:none;place-items:center;font-weight:850;display:grid}.file-dropzone strong,.file-dropzone span{display:block}.file-dropzone>div:last-child{min-width:0}.file-dropzone strong{overflow-wrap:anywhere;color:var(--text);font-size:.98rem}.file-dropzone span{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;line-height:1.45}.file-meta{margin-top:12px}.file-meta span{text-align:center;border-radius:10px;flex:120px;padding:8px 10px}.button-row{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;display:grid}.button{cursor:pointer;text-align:center;overflow-wrap:anywhere;white-space:normal;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0 14px;font-weight:800;line-height:1.15;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:focus-visible{outline-offset:2px;outline:3px solid #314b5d2e}.button:disabled{cursor:not-allowed;opacity:.55}.button.is-disabled{pointer-events:none;opacity:.55}.button-primary{background:var(--brand);color:#fff;box-shadow:0 10px 18px #314b5d2e}.button-primary:hover:not(:disabled){background:var(--brand-dark)}.button-secondary{border-color:var(--line-strong);color:var(--brand);background:#fff}.button-secondary:hover:not(:disabled){background:var(--brand-soft);border-color:#94a3b8}.visually-hidden-input{clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.icon-button{place-items:center;width:44px;min-height:44px;padding:0;display:inline-grid}.icon-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.help-icon-button{cursor:pointer;border:1px solid var(--line-strong);width:38px;height:38px;color:var(--brand);background:#fff;border-radius:999px;flex:none;place-items:center;transition:background .16s,border-color .16s,transform .16s;display:grid}.help-icon-button:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-1px)}.help-icon-button:focus-visible{outline-offset:2px;outline:3px solid #314b5d2e}.help-icon-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.audit-help-panel{background:var(--surface-soft);color:#294658;border:1px solid #cfe3eb;border-radius:10px;gap:10px;margin-bottom:14px;padding:13px 14px;display:grid}.audit-help-panel strong{color:var(--text);font-size:.95rem}.audit-help-panel dl{gap:9px;margin:0;display:grid}.audit-help-panel div{gap:3px;display:grid}.audit-help-panel dt{color:var(--brand);text-transform:uppercase;font-size:.78rem;font-weight:900}.audit-help-panel dd{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.status-message{color:#496675;background:#f4f9fb;border-radius:10px;align-items:flex-start;gap:10px;margin:16px 0 0;padding:11px 12px;line-height:1.45;display:flex}.status-message p{margin:0}.status-ready{background:var(--brand-soft);color:var(--brand)}.status-success{background:var(--success-bg);color:var(--success)}.status-loading{background:var(--brand-soft);color:var(--brand)}.status-error{background:var(--danger-bg);color:var(--danger)}.status-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:14px;height:14px;margin-top:3px;animation:.8s linear infinite status-spin}@keyframes status-spin{to{transform:rotate(360deg)}}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0;margin-bottom:18px;display:grid}.summary-card{min-height:126px;padding:18px;position:relative;overflow:hidden}.summary-card:before{background:var(--brand);content:"";border-radius:999px;width:34px;height:3px;margin-bottom:13px;display:block}.summary-card span,.summary-card strong,.summary-card small{display:block}.summary-card span{color:var(--muted);font-size:.83rem;font-weight:750}.summary-card strong{color:var(--text);overflow-wrap:anywhere;margin-top:11px;font-size:clamp(1.55rem,3vw,2.08rem);line-height:1.08}.summary-card .summary-file{align-items:center;min-height:2.25rem;font-size:1rem;line-height:1.35;display:flex}.summary-card small{color:#8493a5;margin-top:10px;font-size:.8rem;font-weight:650}.card-danger:before{background:var(--danger)}.card-danger strong{color:var(--danger)}.card-success:before{background:var(--success)}.card-success strong{color:var(--success)}.results-section{min-width:0;box-shadow:var(--shadow);padding:20px}.section-heading{justify-content:space-between;align-items:center;gap:16px;min-width:0;margin-bottom:16px;display:flex}.section-heading>div{min-width:0}.section-heading h2{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:1.22rem}.section-heading.compact{margin:0 0 12px}.section-heading.compact h2{font-size:1.05rem}.tabs{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;flex-wrap:wrap;gap:5px;max-width:100%;margin-bottom:16px;padding:4px;display:inline-flex}.tab-button{cursor:pointer;color:#667085;overflow-wrap:anywhere;white-space:normal;background:0 0;border:0;border-radius:9px;min-width:0;min-height:36px;padding:0 12px;font-weight:800}.tab-button:hover{color:var(--brand)}.tab-button.active{color:var(--brand);background:#fff;box-shadow:0 1px 6px #15324314}.search-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:8px 12px;min-width:0;margin-bottom:16px;padding:14px;display:grid}.search-panel label{color:#344054;text-transform:uppercase;grid-column:1/-1;font-size:.78rem;font-weight:850}.search-control{gap:8px;min-width:0;display:flex}.search-control .button{overflow-wrap:normal;white-space:nowrap;flex:none;min-width:92px;padding-inline:16px}.search-control input{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--text);background:#fff;border-radius:10px;outline:none;padding:0 13px}.search-control input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #314b5d24}.search-panel>span{color:var(--muted);white-space:nowrap;font-size:.84rem;font-weight:750}.medical-split-section{max-width:1180px;margin:0 auto}.medical-split-layout{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:start;gap:16px;display:grid}.medical-split-form,.medical-split-result{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;min-width:0;padding:16px}.medical-split-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.medical-split-field,.medical-split-check{gap:6px;min-width:0;display:grid}.medical-split-field-wide{grid-column:1/-1}.medical-split-field span,.medical-split-check span,.medical-split-procedure-card span{color:#344054;text-transform:uppercase;font-size:.76rem;font-weight:850}.medical-split-field input{border:1px solid var(--line-strong);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;outline:none;padding:0 12px}.medical-split-field input:disabled{cursor:not-allowed;color:#667085;background:#eef2f7}.medical-split-field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #314b5d24}.medical-split-check{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:auto 1fr;align-items:center;gap:8px;min-height:36px;padding:8px 10px}.medical-split-check input{width:17px;height:17px;accent-color:var(--brand)}.medical-split-procedure-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:5px;min-width:0;padding:12px;display:grid}.medical-split-procedure-card strong{color:var(--text);overflow-wrap:anywhere;line-height:1.25}.medical-split-procedure-card small{color:var(--muted);font-weight:750}.medical-split-result{background:#fff;gap:14px;display:grid}.medical-split-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.medical-split-metrics article{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;min-width:0;padding:12px}.medical-split-metrics span,.medical-split-metrics strong{display:block}.medical-split-metrics span{color:var(--muted);text-transform:uppercase;font-size:.74rem;font-weight:850}.medical-split-metrics strong{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:clamp(1rem,1.5vw,1.22rem);font-weight:900}.medical-split-cards{gap:8px;display:grid}.medical-split-share-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;min-width:0;padding:10px 12px;display:block}.medical-split-share-card.is-primary{background:#f8fbff;border-color:#9db4d4}.medical-split-share-card.is-muted{background:#f8fafc}.medical-split-share-main,.medical-split-total{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;display:flex}.medical-split-share-main span,.medical-split-total span{color:var(--brand);font-size:.84rem;font-weight:850}.medical-split-share-main strong,.medical-split-total strong{color:var(--text);text-align:right;white-space:nowrap;font-size:1.05rem;font-weight:900}.medical-split-total{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.table-wrap{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;min-width:0;overflow:auto}.report-toolbar{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;margin-bottom:14px;padding:14px;display:grid;box-shadow:0 1px #15324306}.report-toolbar-main strong,.report-toolbar-main p{margin:0;display:block}.report-toolbar-main strong{color:var(--text);margin-top:4px;font-size:1rem}.report-toolbar-main p{color:var(--muted);margin-top:4px;font-size:.86rem}.report-kpis{grid-template-columns:repeat(3,minmax(88px,1fr));gap:8px;min-width:0;display:grid}.report-kpis span{border:1px solid var(--line);background:var(--surface-soft);min-height:64px;color:var(--muted);border-radius:10px;align-content:center;padding:9px 11px;font-size:.75rem;font-weight:750;display:grid}.report-kpis strong{color:var(--brand);font-size:1.1rem;line-height:1.15}.frequent-errors{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;min-width:0;margin-bottom:16px;padding:14px}.frequent-errors-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:12px;display:flex}.frequent-errors-heading h3{color:var(--text);overflow-wrap:anywhere;margin:4px 0 0;font-size:1.05rem}.frequent-errors-heading strong{border:1px solid var(--line);color:var(--brand);background:#fff;border-radius:999px;flex:none;padding:7px 10px;font-size:.78rem}.frequent-error-list{gap:10px;display:grid}.frequent-error-card{background:#fff;border:1px solid #dce6ec;border-radius:10px;grid-template-columns:34px minmax(0,1fr);gap:11px;padding:12px;display:grid}.frequent-error-rank{background:var(--danger-bg);width:34px;height:34px;color:var(--danger);border-radius:999px;place-items:center;font-weight:850;display:grid}.frequent-error-content{min-width:0}.frequent-error-topline{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.frequent-error-topline strong{min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:.95rem;line-height:1.35}.frequent-error-topline span{color:var(--danger);flex:none;font-size:.82rem;font-weight:850}.frequent-error-meter{background:#edf2f5;border-radius:999px;height:8px;margin-top:9px;overflow:hidden}.frequent-error-meter span{border-radius:inherit;background:linear-gradient(90deg, var(--danger), var(--accent));height:100%;display:block}.frequent-error-card p,.frequent-error-card small{color:var(--muted);margin:8px 0 0;font-size:.82rem;line-height:1.45;display:block}.frequent-error-card small{color:#526b78}.report-table-wrap{max-height:min(460px,52vh)}.results-section>.table-wrap{max-height:min(430px,50vh)}table{border-collapse:collapse;background:#fff;width:100%;min-width:1320px}.report-table{min-width:2100px}.detail-report-table{min-width:1320px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e6ebf1;padding:12px 13px}th{z-index:1;color:#344054;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;background:#f8fafc;font-size:.73rem;font-weight:850;position:sticky;top:0}td{color:#334155;font-size:.88rem;line-height:1.48}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fafc}tbody tr.clickable-row{cursor:pointer}tbody tr.selected-row{background:#f1f5f9}tbody tr.selected-row:hover{background:#e2e8f0}.report-table th:nth-child(3),.report-table td:nth-child(3),.report-table th:nth-child(5),.report-table td:nth-child(5){z-index:2;background:inherit;position:sticky}.report-table th:nth-child(3),.report-table td:nth-child(3){min-width:162px;left:0;box-shadow:1px 0 #e6ebf1}.report-table th:nth-child(5),.report-table td:nth-child(5){min-width:310px;left:162px;box-shadow:1px 0 #e6ebf1}.report-table th:nth-child(3),.report-table th:nth-child(5){z-index:3;background:#f8fafc}.detail-panel{margin-top:16px;padding:16px}.patient-screen{gap:16px;min-width:0;display:grid}.patient-header{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;align-items:flex-start;gap:14px;min-width:0;padding:16px;display:flex}.detail-actions{flex-direction:column;flex:none;gap:8px;min-width:0;display:flex}.record-nav{grid-template-columns:minmax(84px,auto) auto minmax(84px,auto);align-items:center;gap:7px;min-width:0;display:grid}.record-nav .button{min-height:38px;padding:0 10px}.record-nav span{color:var(--muted);text-align:center;white-space:nowrap;font-size:.8rem;font-weight:800}.patient-header h2,.patient-header p{margin:0}.patient-header h2{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:1.22rem}.patient-header p{color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.patient-info-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;min-width:0;display:grid}.patient-info-grid article{min-height:78px;box-shadow:none;padding:14px}.patient-info-grid span,.patient-info-grid strong{display:block}.patient-info-grid span{color:var(--muted);font-size:.77rem;font-weight:750}.patient-info-grid strong{color:var(--text);overflow-wrap:anywhere;margin-top:8px;font-size:.95rem}.error-badge{background:var(--danger-bg);color:var(--danger);text-transform:uppercase;border-radius:999px;margin-right:7px;padding:3px 7px;font-size:.7rem;font-weight:850;display:inline-block}.print-error-list,.print-section-title{display:none}.empty-state{background:var(--surface-soft);text-align:center;border:1px dashed #c8d6e0;border-radius:12px;min-width:0;padding:34px}.empty-state strong{color:var(--text);font-size:1.05rem;display:block}.empty-state p{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0}.empty-state.ok{background:#f0fbf5;border-color:#9dd6b6}.empty-state.ok strong{color:var(--success)}.cid-procedure-section{flex-direction:column;width:100%;max-width:none;height:100%;margin:0 auto;display:flex;overflow:hidden}.cid-procedure-main{width:min(1500px,100vw - 24px);height:calc(100svh - 79px);padding:14px 0;overflow:hidden}.cid-procedure-section .section-heading{flex:none;align-items:flex-start;margin-bottom:12px}.cid-procedure-section .section-heading h2{margin-top:3px}.cid-search-panel{flex:none;margin-bottom:12px;padding:10px 14px}.cid-search-row{display:block}.cid-search-field{min-width:0}.cid-search-count{color:var(--muted);white-space:nowrap;font-size:.86rem;font-weight:850}.cid-search-panel .search-control input{min-height:46px;font-size:1rem}.cid-search-panel .search-control .button{min-height:46px}.cid-list-table,.cid-procedure-table{min-width:0}.cid-list-table-wrap{flex:none;max-height:210px}.cid-list-table th:first-child,.cid-list-table td:first-child{width:130px}.cid-list-table th:nth-child(3),.cid-list-table td:nth-child(3){text-align:center;width:140px}.cid-list-table td:nth-child(2),.cid-procedure-table td:nth-child(2){color:#334155;font-weight:700;line-height:1.45}.cid-selection-summary{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-top:10px;display:grid}.cid-selected-inline{cursor:pointer;width:100%;min-height:46px;color:inherit;text-align:left;background:0 0;border:1px solid #d8eaf0;border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.cid-selected-inline:hover strong{color:var(--brand-dark)}.cid-selected-inline strong{min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:.88rem;line-height:1.2}.cid-selected-inline small{color:var(--brand);white-space:nowrap;margin-left:auto;font-size:.74rem;font-weight:850}.cid-selected-panel{flex-direction:column;flex:auto;min-width:0;min-height:0;margin-top:12px;display:flex}.cid-selected-panel .section-heading{flex:none}.cid-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:10px;display:flex}.cid-panel-heading>div{min-width:0}.cid-panel-heading .eyebrow,.cid-panel-heading strong{display:block}.cid-panel-heading .eyebrow{font-size:.82rem}.cid-panel-heading strong{color:var(--text);overflow-wrap:anywhere;margin-top:4px;font-size:.98rem;line-height:1.3}.cid-procedure-table-wrap{min-height:0;max-height:none;box-shadow:none;scrollbar-width:none;-ms-overflow-style:none;border:0;border-radius:0;flex:auto;overflow-x:hidden}.cid-procedure-table-wrap::-webkit-scrollbar{width:0;height:0}.cid-procedure-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:100%}.cid-procedure-table th{color:#0f172a;text-transform:none;letter-spacing:0;background:#fff;font-size:1rem;font-weight:900}.cid-procedure-table th,.cid-procedure-table td{border-bottom:1px solid #d8dee6;padding:9px 8px}.cid-procedure-table td:nth-child(2){color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:500;line-height:1.4;overflow:hidden}.cid-procedure-code{color:var(--brand);letter-spacing:0;white-space:nowrap;font-family:Roboto,Arial,sans-serif;font-size:.88rem;font-weight:900}.yes-pill{background:var(--success);color:#fff;border-radius:7px;align-items:center;min-height:22px;padding:2px 8px;font-size:.78rem;font-weight:900;display:inline-flex}.cid-value-total{color:#111;font-variant-numeric:tabular-nums;text-align:left;white-space:nowrap;direction:ltr;unicode-bidi:isolate;min-width:108px;font-size:1rem;display:inline-block}.sigtap-missing-value{color:#b45309;white-space:nowrap;font-size:.82rem;font-weight:900}.muted-table-value{color:var(--muted);font-weight:700}.sigtap-import-section{background:#fff;border-color:#314b5d29;max-width:1120px;margin:0 auto}.sigtap-import-status-row{margin-bottom:12px;display:grid}.sigtap-import-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.sigtap-import-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:14px;min-width:0;padding:18px;display:grid}.sigtap-import-panel-heading{justify-content:flex-start;align-items:center;gap:12px;display:flex}.sigtap-import-icon{flex:none}.sigtap-import-panel-heading h3{margin-top:5px;font-size:1.12rem;line-height:1.15}.sigtap-import-help{color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.sigtap-import-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sigtap-import-section .status-message{margin:0}.sigtap-import-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:2px;display:grid}.sigtap-import-summary div{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.sigtap-import-summary strong{color:var(--text);overflow-wrap:anywhere;font-size:.94rem;font-weight:900;display:block}.sigtap-import-summary span{color:var(--muted);text-transform:uppercase;font-size:.82rem;font-weight:800}.suggestion-badge{color:#08745b;background:#e5f5ef}.sigtap-file-list{flex-wrap:wrap;gap:8px;display:flex}.sigtap-file-list span{color:var(--brand-dark);background:#eef6f8;border-radius:7px;padding:6px 8px;font-size:.82rem;font-weight:800}.procedure-kind-chip{min-height:30px;color:var(--muted);letter-spacing:.02em;text-transform:uppercase;background:#f6fbfd;border:1px solid #c8dce5;border-radius:999px;align-items:center;padding:5px 9px;font-size:.78rem;font-weight:850;display:inline-flex}.cid-procedure-table th:first-child,.cid-procedure-table td:first-child{white-space:nowrap;width:150px}.cid-procedure-table th:nth-child(3),.cid-procedure-table td:nth-child(3){text-align:left;white-space:nowrap;width:105px}.cid-procedure-table th:nth-child(4),.cid-procedure-table td:nth-child(4){white-space:nowrap;width:145px;padding-right:12px}.cid-procedure-table th:nth-child(4){text-align:left;padding-left:25px}.cid-procedure-table td:nth-child(4){text-align:right}.cid-procedure-table td{vertical-align:top}.cid-procedure-row{cursor:pointer;outline:none}.cid-procedure-row:hover td,.cid-procedure-row:focus-visible td{background:#f8fbfc}.cid-procedure-row:focus-visible td:first-child{box-shadow:inset 3px 0 0 var(--brand)}.procedure-modal-backdrop{z-index:60;background:#0f172a5c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.procedure-modal{scrollbar-width:none;-ms-overflow-style:none;background:#fff;border:1px solid #94a3b88c;border-radius:8px;gap:10px;width:min(100%,860px);max-height:min(88vh,720px);padding:20px 20px 18px;display:grid;overflow:auto;box-shadow:0 22px 58px #0f172a38}.procedure-modal::-webkit-scrollbar{width:0;height:0}.procedure-modal-header{z-index:2;background:#fff;border-bottom:1px solid #d8dee6e6;justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;margin:-20px -20px 0;padding:20px 20px 10px;display:flex;position:sticky;top:-20px;box-shadow:0 8px 14px #fffffff5}.procedure-modal-header h2{color:var(--text);overflow-wrap:anywhere;margin:4px 0 0;font-size:1.08rem;line-height:1.22}.procedure-modal-close{cursor:pointer;border:1px solid var(--line-strong);width:32px;height:32px;color:var(--brand);background:#fff;border-radius:999px;flex:none;place-items:center;font-size:1.25rem;line-height:1;display:grid}.procedure-modal-close:hover,.procedure-modal-close:focus-visible{border-color:var(--brand);background:var(--brand);color:#fff;outline:none}.procedure-summary-band{border:1px solid var(--line);background:#fff;border-radius:8px;gap:7px;padding:11px 12px;display:grid}.procedure-summary-band div,.procedure-competence-line,.procedure-summary-list div,.procedure-values-box div{grid-template-columns:minmax(140px,.26fr) minmax(0,1fr);align-items:baseline;gap:16px;display:grid}.procedure-competence-line{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 12px}.procedure-summary-list{border:1px solid var(--line);background:#fff;border-radius:8px;gap:6px;padding:11px 12px;display:grid}.procedure-summary-band span,.procedure-competence-line span,.procedure-summary-list span,.procedure-values-box span{color:#0f172a;font-size:.68rem;font-weight:850;line-height:1.2;display:block}.procedure-summary-band strong,.procedure-competence-line strong,.procedure-summary-list strong,.procedure-values-box strong{min-width:0;color:var(--brand);overflow-wrap:anywhere;font-size:.9rem;font-weight:800;line-height:1.32;display:block}.procedure-values-box,.procedure-description-box{border:1px solid var(--line);background:#fff;border-radius:8px;gap:7px 20px;padding:16px 12px 11px;display:grid;position:relative}.procedure-values-box{grid-template-columns:repeat(2,minmax(0,1fr))}.procedure-values-box .procedure-values-title,.procedure-description-box .procedure-values-title{color:var(--brand);background:#fff;padding:0 6px;font-size:.82rem;font-style:italic;font-weight:850;position:absolute;top:-9px;left:12px}.procedure-description-box p{color:var(--brand);text-transform:uppercase;margin:0;font-size:.9rem;font-style:italic;font-weight:600;line-height:1.48}.cid-selection-empty{margin-top:12px}.code-pill{background:var(--brand-soft);min-height:30px;color:var(--brand-dark);letter-spacing:.03em;border:1px solid #cbd5e1;border-radius:999px;align-items:center;padding:5px 9px;font-size:.82rem;font-weight:900;display:inline-flex}.procedure-code{color:#0f766e;background:#eefaf6;border-color:#b7e2d3}.result-note{color:var(--muted);background:#f8fbfc;border:1px solid #cfe3eb;border-radius:10px;margin-bottom:10px;padding:10px 12px;font-size:.86rem;font-weight:750}.compatibility-section{flex-direction:column;width:100%;max-width:none;height:100%;margin:0 auto;display:flex;overflow:hidden}.compatibility-main{height:calc(100svh - 79px);padding:14px 0;overflow:hidden}.compatibility-section .section-heading{flex:none;margin-bottom:12px}.compatibility-section .section-heading h2{margin-top:3px}.compatibility-search-panel{flex:none;grid-template-columns:minmax(0,1fr) auto;margin-bottom:12px;padding:12px 14px}.compatibility-search-panel .search-control input,.compatibility-search-panel .search-control .button{min-height:46px}.compatibility-search-panel>span{align-self:center;align-items:center;min-height:46px;display:inline-flex}.filter-tabs{border:1px solid var(--line);background:#fff;border-radius:12px;flex-wrap:wrap;grid-column:1/-1;gap:6px;padding:4px;display:inline-flex}.filter-tab{cursor:pointer;color:#667085;white-space:nowrap;background:0 0;border:0;border-radius:9px;min-height:32px;padding:0 12px;font-weight:850}.filter-tab:hover,.filter-tab.active{color:var(--brand)}.filter-tab.active{background:var(--brand-soft)}.compatibility-table-wrap{background:0 0;border:0;flex:auto;min-height:0;max-height:none;overflow:auto}.compatibility-table{background:0 0;min-width:0;display:block}.compatibility-table thead{display:none}.compatibility-table tbody{gap:10px;display:grid}.compatibility-table tr{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:96px 104px minmax(210px,1fr) 104px minmax(300px,1.35fr) 48px 72px;align-items:stretch;gap:0;padding:0;display:grid;overflow:hidden}.compatibility-table td{border-bottom:0;border-left:1px solid #e4eff3;grid-template-rows:20px minmax(34px,auto);align-content:start;gap:4px;min-width:0;padding:10px 12px;font-size:.82rem;line-height:1.35;display:grid}.compatibility-table td:first-child{border-left:0}.compatibility-table td:before{color:#344054;letter-spacing:.02em;text-transform:uppercase;font-size:.66rem;font-weight:900;line-height:1;display:block}.compatibility-table td:first-child:before{content:"Situacao"}.compatibility-table td:nth-child(2):before{content:"Principal"}.compatibility-table td:nth-child(3):before{content:"Nome principal"}.compatibility-table td:nth-child(4):before{content:"Relacionado"}.compatibility-table td:nth-child(5):before{content:"Nome relacionado"}.compatibility-table td:nth-child(6):before{content:"Qtd"}.compatibility-table td:nth-child(7):before{content:"Desde"}.compatibility-table td:nth-child(8):before{content:"Tipo"}.compatibility-table td:nth-child(8){background:#fbfdfe;border-top:1px solid #e4eff3;border-left:0;grid-column:1/-1;align-items:baseline;gap:12px;margin-top:0;padding:9px 12px;line-height:1.35;display:flex}.compatibility-table td:nth-child(8):before{flex:0 0 86px}.compatibility-table td:nth-child(3),.compatibility-table td:nth-child(5),.compatibility-table td:nth-child(8){color:#334155;font-weight:700;line-height:1.45}.compatibility-table td:first-child,.compatibility-table td:nth-child(2),.compatibility-table td:nth-child(4),.compatibility-table td:nth-child(6),.compatibility-table td:nth-child(7){text-align:center;justify-items:center}.compatibility-table td:nth-child(3),.compatibility-table td:nth-child(5){place-items:center start}.compatibility-table .code-pill{justify-content:center;width:100%;min-height:26px;padding:4px 7px;font-size:.72rem}.status-chip{text-transform:uppercase;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;width:100%;min-height:30px;padding:4px 7px;font-size:.68rem;font-weight:900;display:inline-flex}.status-chip.compativel{background:var(--accent-soft);color:#0f766e;border:1px solid #a8dccd}.status-chip.excludente{background:var(--danger-bg);color:var(--danger);border:1px solid #f0b7c0}@media (width<=1180px){.home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.app-main{width:min(1500px,100vw - 28px);padding-bottom:38px}.app-header{flex-direction:column;align-items:flex-start;gap:12px;position:static}.nav-list,.header-back-button{width:100%}.header-actions{justify-content:flex-start}.import-panel{grid-template-columns:1fr}.import-copy{min-height:auto}.comparison-upload-grid,.comparison-summary{grid-template-columns:1fr}.comparison-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.home-main{min-height:calc(100svh - 132px);padding-block:12px}.home-heading{padding:16px 18px}.home-card{min-height:150px}.upload-card,.results-section,.comparison-panel,.detail-panel{padding:16px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-toolbar{grid-template-columns:1fr}.report-kpis{width:100%}.patient-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.medical-split-layout{grid-template-columns:1fr}.sigtap-import-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1100px){.cid-search-row{grid-template-columns:minmax(0,1fr) auto}.cid-selected-inline{grid-column:1/-1}.compatibility-table-wrap{max-height:none;overflow:visible}.compatibility-table,.compatibility-table thead,.compatibility-table tbody,.compatibility-table tr,.compatibility-table th,.compatibility-table td{width:100%;min-width:0;display:block}.compatibility-table thead{display:none}.compatibility-table tbody{gap:10px;display:grid}.compatibility-table tr{border-bottom:1px solid var(--line);padding:10px}.compatibility-table td{border:0;grid-template-columns:118px minmax(0,1fr);gap:8px;padding:7px 0;display:grid}.compatibility-table td:before{color:#344054;text-transform:uppercase;font-size:.7rem;font-weight:900}.compatibility-table td:first-child:before{content:"Situacao"}.compatibility-table td:nth-child(2):before{content:"Principal"}.compatibility-table td:nth-child(3):before{content:"Nome"}.compatibility-table td:nth-child(4):before{content:"Relacionado"}.compatibility-table td:nth-child(5):before{content:"Nome"}.compatibility-table td:nth-child(6):before{content:"Qtd"}.compatibility-table td:nth-child(7):before{content:"Desde"}.compatibility-table td:nth-child(8):before{content:"Tipo"}.compatibility-table td:nth-child(8){background:0 0;grid-template-columns:118px minmax(0,1fr);display:grid}}@media (width<=760px){.auth-shell{min-height:100dvh;padding:18px}.app-header{padding:13px 14px}.brand-group{width:100%}.brand-mark,.brand-mark svg,.brand-mark img{width:42px;height:42px}.app-header h1{font-size:1.22rem}.app-header p{font-size:.88rem}.import-copy{padding:24px}.upload-card,.results-section,.comparison-panel,.detail-panel{border-radius:10px}.summary-card{min-height:auto}.table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;max-width:100%}table{min-width:960px}.report-table{min-width:1500px}.detail-report-table{min-width:1100px}.procedure-modal-backdrop{align-items:end;padding:12px}.procedure-modal{width:100%;max-height:88vh;padding:14px}.procedure-modal-header{margin:-14px -14px 0;padding:14px 14px 9px;top:-14px}.procedure-summary-band div,.procedure-competence-line,.procedure-summary-list div,.procedure-values-box,.procedure-description-box,.procedure-values-box div{grid-template-columns:1fr;gap:4px}th,td{padding:9px 10px;font-size:.82rem}.report-table th:nth-child(3),.report-table td:nth-child(3),.report-table th:nth-child(5),.report-table td:nth-child(5){min-width:0;box-shadow:none;position:static;left:auto}.report-table th:nth-child(3),.report-table th:nth-child(5){background:#f8fafc}.compatibility-table-wrap{max-height:none;overflow:visible}.compatibility-table,.compatibility-table thead,.compatibility-table tbody,.compatibility-table tr,.compatibility-table th,.compatibility-table td{width:100%;min-width:0;display:block}.compatibility-table thead{display:none}.compatibility-table tr{border-bottom:1px solid var(--line);padding:10px}.compatibility-table td{border-bottom:0;grid-template-columns:118px minmax(0,1fr);gap:8px;padding:7px 0;display:grid}.compatibility-table td:before{color:#344054;text-transform:uppercase;font-size:.7rem;font-weight:900}.compatibility-table td:first-child:before{content:"Situacao"}.compatibility-table td:nth-child(2):before{content:"Principal"}.compatibility-table td:nth-child(3):before{content:"Nome"}.compatibility-table td:nth-child(4):before{content:"Relacionado"}.compatibility-table td:nth-child(5):before{content:"Nome"}.compatibility-table td:nth-child(6):before{content:"Qtd"}.compatibility-table td:nth-child(7):before{content:"Desde"}.compatibility-table td:nth-child(8):before{content:"Tipo"}.comparison-total-strip,.comparison-metrics{grid-template-columns:1fr}.comparison-total-strip article+article,.comparison-metrics article+article{border-top:1px solid var(--line);border-left:0}}@media (width<=620px){.app-main{width:min(1500px,100vw - 16px);padding-top:12px;padding-bottom:28px}.auth-card{gap:16px;padding:20px}.auth-brand{align-items:flex-start}.app-header{gap:10px;padding:10px 12px}.brand-group{gap:10px}.app-header h1{font-size:1.14rem}.app-header p{margin-top:4px;font-size:.8rem;line-height:1.22}.header-back-button{min-height:42px}.home-main{width:min(100% - 16px,1220px);min-height:calc(100svh - 132px);padding-block:8px}.home-panel{gap:8px}.home-heading{padding:12px 14px}.home-heading h2{margin-top:5px;font-size:1.3rem}.home-heading p{margin-top:6px;font-size:.88rem;line-height:1.32}.home-card-grid{grid-template-columns:1fr;gap:8px}.home-card{gap:10px;min-height:auto;padding:12px}.home-card-arrow{width:30px;height:30px;font-size:1.25rem}.home-card-icon{border-radius:10px;width:38px;height:38px}.home-card-icon svg{width:20px;height:20px}.home-card strong{font-size:1rem}.home-card>span:last-child{-webkit-line-clamp:3;font-size:.84rem;line-height:1.28}.import-copy{padding:18px}.import-copy h2{font-size:1.65rem;line-height:1.08}.import-copy p{font-size:.9rem;line-height:1.45}.upload-card,.results-section,.comparison-panel,.detail-panel{padding:14px}.upload-heading{gap:10px;margin-bottom:12px}.upload-heading h3{font-size:1rem}.sigtap-import-grid,.sigtap-import-summary{grid-template-columns:1fr}.sigtap-import-panel{padding:14px}.file-dropzone{flex-direction:column;align-items:flex-start;gap:10px;min-height:auto;padding:12px}.file-icon{border-radius:10px;width:46px;height:46px}.file-dropzone strong{font-size:.92rem}.file-dropzone span{font-size:.84rem}.button-row,.summary-grid{grid-template-columns:1fr}.section-heading{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:12px}.section-heading h2{font-size:1.08rem;line-height:1.2}.result-pill,.secure-pill{align-self:flex-start}.tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;padding:3px;display:grid}.tab-button{white-space:normal;min-height:42px;padding:0 6px;font-size:.78rem;line-height:1.15}.search-panel{grid-template-columns:1fr;gap:8px;padding:12px}.search-control{flex-direction:column}.search-control .button{width:100%}.search-panel>span{white-space:normal}.patient-header{flex-direction:column;gap:10px;padding:12px}.detail-actions,.record-nav{width:100%}.record-nav{grid-template-columns:1fr auto 1fr}.patient-header h2{font-size:1.05rem;line-height:1.25}.patient-header p{overflow-wrap:anywhere;font-size:.85rem;line-height:1.4}.report-kpis{grid-template-columns:1fr}.report-kpis span{min-height:56px}.comparison-total-strip,.comparison-metrics,.difference-report-list{grid-template-columns:1fr}.comparison-total-strip article,.comparison-metrics article{padding:13px 14px}.comparison-total-strip strong{font-size:1.45rem}.comparison-total-strip article+article,.comparison-metrics article+article{border-top:1px solid var(--line);border-left:0}.difference-report,.frequent-errors{padding:12px}.difference-report-heading{flex-direction:column}.difference-report-heading strong,.frequent-errors-heading strong{align-self:flex-start}.frequent-errors-heading,.frequent-error-topline{flex-direction:column}.frequent-error-card{grid-template-columns:1fr}.frequent-error-rank{width:30px;height:30px}.patient-info-grid{grid-template-columns:1fr}.patient-info-grid article{min-height:auto;padding:12px}.summary-grid{gap:10px}.summary-card{padding:14px}.summary-card:before{margin-bottom:10px}.summary-card strong{font-size:1.45rem}.summary-card .summary-file{font-size:.92rem}.empty-state{padding:22px 14px}table{min-width:760px}.report-table{min-width:1180px}.detail-report-table{min-width:900px}th,td{padding:8px;font-size:.8rem;line-height:1.35}}@media (width<=420px){.auth-shell{padding:12px}.auth-card{padding:16px}.auth-brand h1{font-size:1.28rem}.auth-brand p{font-size:.86rem}.brand-mark,.brand-mark svg,.brand-mark img{width:38px;height:38px}.tabs{grid-template-columns:1fr}.tab-button{min-height:40px}.comparison-total-strip strong{font-size:1.32rem}table{min-width:680px}.report-table{min-width:1080px}.detail-report-table{min-width:840px}}@media (height<=620px){.app-header{padding-block:10px}.brand-mark,.brand-mark svg,.brand-mark img{width:40px;height:40px}.app-header h1{font-size:1.18rem}.app-header p{font-size:.8rem}.home-main{min-height:calc(100svh - 61px);padding-block:6px}.home-heading{padding-block:10px}.home-heading h2{font-size:clamp(1.25rem,4vh,1.85rem)}.home-card{min-height:118px;padding:10px 12px}.home-card>span:last-child{-webkit-line-clamp:2}}@media (height<=500px){.home-heading p{-webkit-line-clamp:1}.home-card-icon{width:36px;height:36px}.home-card>span:last-child{-webkit-line-clamp:2}}@media print{body{background:#fff}.app-header,.import-panel,.summary-grid,.tabs,.search-panel,.report-toolbar,.result-pill,.no-print,.empty-state.ok{display:none!important}.app-main{width:100%;padding:0}.results-section{box-shadow:none;border:0;padding:0}.results-section>:not(.printable-errors){display:none!important}.printable-errors{display:block!important}.printable-errors .table-wrap{display:none}.frequent-errors{break-after:page;border:0;border-bottom:2px solid var(--text);background:#fff;border-radius:0;margin-bottom:0;padding:0 0 14px}.frequent-errors-heading{margin-bottom:14px}.frequent-errors-heading h3,.print-section-title h3{color:var(--text);margin:3px 0 0;font-size:15px}.frequent-error-card{break-inside:avoid;border:0;border-top:1px solid #b8c5ce;border-radius:0;grid-template-columns:24px 1fr;padding:8px 0}.frequent-error-rank{background:#fff;border:1px solid #b32635;width:22px;height:22px;font-size:10px}.frequent-error-meter{height:5px}.frequent-error-card p,.frequent-error-card small,.frequent-error-topline strong,.frequent-error-topline span{font-size:10px}.print-section-title{border-bottom:2px solid var(--text);margin-bottom:10px;padding-bottom:7px;display:block}.print-error-list{gap:11px;display:grid}.print-error-item{break-inside:avoid;border-top:1px solid #7d8b99;padding-top:7px;font-size:10px;line-height:1.25}.print-error-patient,.print-error-detail{gap:0;display:grid}.print-error-patient{color:var(--text);grid-template-columns:auto 1fr 2fr 1fr 1.4fr;font-weight:850}.print-error-detail{grid-template-columns:1fr 1fr;margin-top:2px}.print-error-patient span,.print-error-detail span{overflow-wrap:anywhere;min-width:0;padding:1px 6px 1px 0}.print-error-detail span{color:#26364a}.print-error-detail span:first-child:before{color:#b32635;content:"Erro: ";font-weight:850}.print-error-detail span:last-child:before{color:var(--brand);content:"Sugestao: ";font-weight:850}.section-heading{margin-bottom:12px;display:block}.table-wrap{border:1px solid #b8c5ce;overflow:visible}table{width:100%;min-width:0;font-size:10px}th,td{border-color:#cfd8df;padding:6px 7px}th{color:var(--text);position:static;background:var(--bg)!important}}.hospital-section{padding:14px 20px}.hospital-section .section-heading{margin-bottom:8px}.hospital-help-panel p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.hospital-layout{grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);align-items:start;gap:16px;display:grid}@media (width<=860px){.hospital-layout{grid-template-columns:minmax(0,1fr)}}.hospital-form{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:10px;min-width:0;padding:14px;display:grid;box-shadow:0 1px 2px #0f172a0a}.hospital-summary{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-width:0;max-width:480px;padding:16px;box-shadow:0 1px 2px #0f172a0a}.hospital-summary h3{color:var(--text);text-transform:uppercase;letter-spacing:.02em;margin:0 0 12px;font-size:.82rem;font-weight:850}.hospital-summary-cnes{background:var(--brand-soft);border-radius:10px;align-items:baseline;gap:8px;margin-bottom:14px;padding:10px 12px;display:flex}.hospital-summary-cnes span{color:var(--brand);text-transform:uppercase;letter-spacing:.03em;font-size:.7rem;font-weight:850}.hospital-summary-cnes strong{color:var(--text);letter-spacing:.02em;font-size:1.05rem}.hospital-summary-tags{flex-wrap:wrap;gap:6px;display:flex}.hospital-summary-tag{border:1px solid var(--line);background:var(--surface-soft);color:#344054;cursor:default;border-radius:999px;padding:5px 10px;font-size:.74rem;font-weight:800}.hospital-summary-empty{color:#667085;margin:0;font-size:.85rem}.hospital-form .medical-split-field input{letter-spacing:.02em;font-size:.95rem;font-weight:700}.hospital-form .medical-split-field-wide{max-width:320px}.hospital-habilitation-header{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;padding-top:4px;display:flex}.hospital-habilitation-header>span:first-child{color:#344054;text-transform:uppercase;letter-spacing:.02em;font-size:.76rem;font-weight:850}.hospital-habilitation-count{border:1px solid var(--line);background:var(--surface-soft);color:var(--brand);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:800}.hospital-habilitation-grid{grid-template-columns:minmax(0,1fr);gap:6px;min-height:90px;max-height:min(300px,100vh - 670px);padding-right:4px;display:grid;overflow-y:auto}.hospital-habilitation-item{border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:6px 10px;transition:border-color .12s,background-color .12s,box-shadow .12s;display:flex;position:relative}.hospital-habilitation-item:hover{border-color:var(--line-strong)}.hospital-habilitation-item.is-checked{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand) inset}.hospital-habilitation-item input[type=checkbox]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.hospital-habilitation-check-mark{border:1.5px solid var(--line-strong);background:#fff;border-radius:5px;flex:none;place-items:center;width:16px;height:16px;transition:background-color .12s,border-color .12s;display:grid}.hospital-habilitation-check-mark svg{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;opacity:0;width:10px;height:10px;transition:opacity .12s,transform .12s;transform:scale(.6)}.hospital-habilitation-item.is-checked .hospital-habilitation-check-mark{border-color:var(--brand);background:var(--brand)}.hospital-habilitation-item.is-checked .hospital-habilitation-check-mark svg{opacity:1;transform:scale(1)}.hospital-habilitation-text{align-items:baseline;gap:6px;min-width:0;display:flex;overflow:hidden}.hospital-habilitation-text strong{color:var(--brand);letter-spacing:.02em;flex:none;font-size:.72rem;font-weight:850}.hospital-habilitation-text span{text-overflow:ellipsis;white-space:nowrap;color:#344054;min-width:0;font-size:.78rem;font-weight:600;line-height:1.35;overflow:hidden}.hospital-form-actions{flex-wrap:wrap;gap:10px;padding-top:4px;display:flex}.hospital-status{border-radius:8px;margin:0;padding:9px 12px;font-size:.83rem;font-weight:700}.hospital-status-success{color:#1a7f37;background:#1a7f371a}.hospital-status-error{color:#c0362c;background:#c0362c1a}
