#portal-publico[data-view="surge-session"] .portal-main{width:min(1120px,100%);padding-top:24px}
#portal-publico[data-view="surge-session"] .portal-brand-header{padding:24px}
#portal-publico[data-view="surge-session"] .portal-brand{width:330px}
#surge-workspace{font:14px Arial,sans-serif;color:#143652}
#surge-workspace *{box-sizing:border-box}
#surge-workspace [hidden]{display:none!important}
#surge-workspace button,#surge-workspace a{font:inherit;cursor:pointer}
#surge-workspace button:disabled{opacity:.55;cursor:not-allowed}
#surge-workspace .sw-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}
#surge-workspace .sw-identity{display:flex;align-items:center;gap:13px}
#surge-workspace .sw-identity img{width:49px;height:49px;object-fit:contain}
#surge-workspace .sw-context p{margin:0 0 6px;color:#0e658c;font-size:11px;font-weight:700;letter-spacing:1.4px}
#surge-workspace .sw-context h1{font-size:21px;line-height:1.25;font-weight:700;margin:0;outline:none}
#surge-workspace .sw-context small{font-size:12px;color:#58738d;font-weight:400;margin-left:10px}
#surge-workspace .sw-secondary{background:#eff6fe;border:1px solid #bfd5eb;border-radius:8px;padding:10px 13px;color:#285d80;font-size:13px;white-space:nowrap}
#surge-workspace .sw-documents{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#surge-workspace .sw-document{padding:18px;border:1px solid #c9dcef;border-radius:15px;background:#fff;min-width:0}
#surge-workspace h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;line-height:1.3;margin:0}
#surge-workspace .sw-number{display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:7px;background:#e5f0ff;color:#1269a4;font-size:13px}
#surge-workspace .sw-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:140px;margin-top:15px;padding:18px 15px;border:1px dashed #6fbedc;border-radius:10px;background:#0e658c;color:#fff;text-align:center}
#surge-workspace .sw-drop.sw-over{border:2px dashed #ffd340;background:#085579}
#surge-workspace .sw-drop svg{width:36px;height:36px;color:#ffd340}
#surge-workspace .sw-drop strong{font-size:14px;font-weight:700}
#surge-workspace .sw-drop small{font-size:12px;color:#edf7ff}
#surge-workspace .sw-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;color:#39617f}
#surge-workspace .sw-file button{background:none;border:0;padding:5px 0;font-size:12px}
#surge-workspace .sw-open{overflow-wrap:anywhere;line-height:1.45;text-align:left;color:#17658d;text-decoration:underline}
#surge-workspace .sw-remove{flex:none;color:#ab293a}
#surge-workspace .sw-doc-status{font-size:12px;line-height:1.5;color:#39617f;margin:9px 0 0;min-height:18px}
#surge-workspace [data-error="true"]{color:#a32939}
#surge-workspace .sw-affiliation{margin-top:19px;padding:19px 20px;border:1px solid #c9dcef;border-radius:15px;background:#fff}
#surge-workspace .sw-affiliation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
#surge-workspace .sw-result-group{display:flex;align-items:center;gap:10px}
#surge-workspace .sw-status{font-size:12px;border-radius:18px;padding:6px 10px;white-space:nowrap;background:#fff2ce;color:#856019}
#surge-workspace .sw-status[data-result="vigente"]{background:#e5f7ee;color:#00735b}
#surge-workspace .sw-status[data-result="no-vigente"]{background:#ffeded;color:#af283a}
#surge-workspace .sw-change{background:none;border:0;padding:3px 0;color:#23678d;font-size:12px}
#surge-workspace .sw-query-label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
#surge-workspace .sw-query-row{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;gap:10px;align-items:center}
#surge-workspace .sw-query-row input{font:16px Arial,sans-serif;width:100%;height:43px;min-width:0;padding:10px 12px;color:#143652;background:#fff;border:1px solid #bdd3e9;border-radius:8px}
#surge-workspace .sw-query-row input::placeholder{font-size:13px;color:#8497a8}
#surge-workspace .sw-consult{display:flex;align-items:center;justify-content:center;min-height:43px;padding:10px 16px;border:1px solid #007d65;border-radius:8px;background:#007d65;color:#fff;text-decoration:none;font-size:13px}
#surge-workspace .sw-helper{font-size:12px;color:#315f7e;line-height:1.5;margin:10px 0 0}
#surge-workspace .sw-human{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:15px;margin-top:16px;border-top:1px solid #e0eafa}
#surge-workspace .sw-human span{font-size:13px;color:#58738d;margin-right:auto}
#surge-workspace .sw-confirm{background:#007d65;color:#fff;border:1px solid #007d65;border-radius:8px;padding:10px 12px;font-size:12px}
#surge-workspace .sw-inactive{background:#fff4f4;color:#ac2b3b;border:1px solid #edc1c7;border-radius:8px;padding:10px 12px;font-size:12px}
#surge-workspace .sw-qa{font-size:12px;background:#fff3ce;border-radius:8px;padding:10px;margin-bottom:16px}
#surge-workspace dialog{width:min(1000px,94vw);height:85vh;border:1px solid #c9dcef;border-radius:15px;padding:0;background:white;color:#143652}
#surge-workspace dialog::backdrop{background:#143652aa}
#surge-workspace .sw-viewer-head{height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:2px solid #ffd340;padding:12px 18px}
#surge-workspace .sw-viewer-head h2{font-size:15px;overflow-wrap:anywhere}
#surge-workspace .sw-viewer-head button{border:1px solid #bfd5eb;border-radius:8px;background:#eff6fe;color:#143652;font-size:25px;width:36px;height:36px;flex:none}
#surge-workspace .sw-viewer-tools{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;border-bottom:1px solid #dce8f4}
#surge-workspace .sw-viewer-tools button{border:1px solid #bfd5eb;border-radius:6px;background:#eff6fe;color:#143652;font-size:20px;width:32px;height:30px}
#surge-workspace .sw-viewer-tools a{color:#17658d;font-size:12px;text-decoration:underline}
#surge-pdf-stage{height:calc(100% - 134px);overflow:auto;padding:14px;text-align:center;background:#edf3fa}
#surge-pdf-stage canvas{margin:auto;max-width:100%;height:auto!important;background:white;box-shadow:0 2px 8px #14365222}
#surge-pdf-notice{text-align:center;margin:8px;font-size:12px;color:#315f7e}
@media(max-width:600px){#portal-publico[data-view="surge-session"] .portal-main{padding:20px 17px 24px}#surge-workspace .sw-context{gap:10px}#surge-workspace .sw-context small{display:block;margin:5px 0 0}#surge-workspace .sw-context h1{font-size:19px}#surge-workspace .sw-documents{grid-template-columns:1fr;gap:14px}#surge-workspace .sw-query-row{grid-template-columns:minmax(130px,1fr) auto}#surge-workspace .sw-consult{grid-column:1/-1}#surge-workspace .sw-affiliation{padding:17px}#surge-workspace .sw-human span{flex-basis:100%;margin:0}#surge-workspace h2{font-size:16px}}
