.csf{--csf-ink:#213e40;--csf-teal:#146b5f;--csf-line:#dbe6e5;color:var(--csf-ink);font:14px/1.45 system-ui,-apple-system,sans-serif;text-align:left}.csf *{box-sizing:border-box}.csf h1{font-size:25px;letter-spacing:-.5px;margin:3px 0}.csf h2{font-size:22px;margin:0}.csf h3{font-size:17px;margin:24px 0 12px}.csf p{margin:5px 0 12px}.csf-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 16px}.csf-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#80633e}.csf-header p,.csf-muted{color:#617476}.csf button,.csf input,.csf select,.csf textarea{font:inherit}.csf button{min-height:40px;padding:8px 13px;border:1px solid #b9cfcc;border-radius:7px;color:var(--csf-teal);background:#fff;cursor:pointer;font-weight:600;white-space:nowrap}.csf button:hover{background:#edf5f3}.csf button:disabled{opacity:.45;cursor:default}.csf button:focus-visible,.csf input:focus-visible,.csf select:focus-visible,.csf textarea:focus-visible,.csf summary:focus-visible{outline:3px solid #bc8c4e;outline-offset:3px}.csf .csf-primary{background:var(--csf-teal);border-color:var(--csf-teal);color:#fff}.csf .csf-primary:hover{background:#10564d}.csf-sync{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#596f70;margin-bottom:18px}.csf-sync>span:last-child{margin-left:auto}.csf-sync button{margin-left:auto;font-size:12px;min-height:32px;color:#8c5b15;border-color:#dfc395;background:#fffaf0}.csf-dot{width:7px;height:7px;border-radius:50%;background:#217a63}.csf-dot-off{background:#b77e27}.csf-tabs{display:flex;border-bottom:1px solid var(--csf-line);gap:10px;overflow:auto}.csf-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#687979;padding:14px 12px}.csf-tabs button[aria-current=page]{border-bottom-color:var(--csf-teal);color:var(--csf-teal)}.csf-tabs span{margin-left:9px;background:#eaf0ef;padding:2px 7px;border-radius:5px;font-size:12px}.csf-tabs [aria-current=page] span{background:#d5eae4}.csf-filters{border:1px solid var(--csf-line);background:#fff;border-radius:10px;margin:18px 0 0;padding:15px}.csf-mainfilters,.csf-advanced{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.csf label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.csf input,.csf select,.csf textarea{min-height:40px;border:1px solid #cbdad8;border-radius:6px;padding:8px 10px;color:var(--csf-ink);background:#fff;max-width:100%}.csf-search{flex:1;min-width:240px}.csf-more summary{margin-top:12px;color:var(--csf-teal);cursor:pointer;font-size:12px}.csf-advanced{border-top:1px solid var(--csf-line);padding-top:15px;margin-top:12px}.csf .csf-check{flex-direction:row;align-items:center;min-height:40px}.csf-check input{min-height:20px}.csf-message{font-size:13px;min-height:32px;padding:7px 0;color:#617476}.csf-error{color:#9c3030!important}.csf-count{display:flex;justify-content:space-between;gap:16px;margin:0 0 10px}.csf-count span{font-size:12px;color:#617476}.csf-tablewrap{border:1px solid var(--csf-line);border-radius:10px;overflow:auto;background:#fff}.csf table{width:100%;border-collapse:collapse;table-layout:fixed}.csf th{padding:12px 14px;background:#edf3f1;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#506a68;text-align:left;white-space:nowrap}.csf th:first-child{width:24%}.csf th:nth-child(2){width:21%}.csf th:nth-child(3){width:16%}.csf th:nth-child(4){width:15%}.csf th:nth-child(5){width:15%}.csf th:last-child{width:124px}.csf td{padding:15px 14px;border-top:1px solid #e4ecea;vertical-align:top;font-size:13px;overflow-wrap:anywhere}.csf td strong{font-weight:600}.csf td small,.csf-history small,.csf-outbox small{display:block;margin-top:4px;color:#65797a;font-size:11px}.csf button.csf-patient{display:block;padding:0;border:0;background:none;min-height:24px;color:#244f49;text-align:left;white-space:normal;font-weight:700}.csf .csf-local,.csf-overdue{color:#955e10;font-weight:600}.csf-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0}.csf-pagination label{flex-direction:row;align-items:center}.csf-pagination div{display:flex;align-items:center;gap:14px}.csf-pagination span{font-size:12px}.csf-empty{background:white;border:1px solid var(--csf-line);border-radius:10px;text-align:center;padding:48px 20px}.csf-empty p{color:#65797a}.csf-dialog{border:0;padding:0;border-radius:12px;width:min(740px,96vw);max-height:92vh;box-shadow:0 12px 60px #12343240}.csf-dialog::backdrop{background:#18363277}.csf-dialogheader{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:22px 25px;background:#f3f7f5;position:sticky;top:0;z-index:1;border-bottom:1px solid var(--csf-line)}.csf-dialogbody{padding:20px 25px 28px}.csf-detailitems article{border:1px solid var(--csf-line);border-radius:8px;padding:14px;margin:12px 0}.csf-detailitems article>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.csf-detailitems p{font-size:12px;color:#627877;margin:8px 0}.csf-badge{font-size:11px;border-radius:5px;padding:4px 7px;background:#eaf0ef;white-space:nowrap}.csf-pendente,.csf-reagendar{background:#fff0d8;color:#8b5811}.csf-revisar{background:#ffe8e4;color:#9b3c31}.csf-agendado{background:#e3f0fa;color:#24638e}.csf-realizado{background:#dceee5;color:#296949}.csf-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.csf-contact textarea{width:100%;resize:vertical}.csf-contact .csf-muted{font-size:12px;margin-top:10px}.csf-formmessage{color:#715528;font-size:13px}.csf-history article,.csf-outbox{border-bottom:1px solid var(--csf-line);padding:12px 0}.csf-history p{font-size:12px}.csf-conflict{padding:12px;border:1px solid #dfb775;background:#fff6e5;border-radius:8px;font-size:13px}.csf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1100px){.csf th:nth-child(5),.csf td:nth-child(5){display:none}.csf th:first-child{width:26%}.csf th:nth-child(2){width:24%}.csf th:nth-child(4){width:20%}.csf td{padding:12px 10px}.csf th{padding:12px 10px}}@media(max-width:820px){.csf h1{font-size:22px}.csf-header{align-items:start}.csf-header p{max-width:260px}.csf-tablewrap{border:0;background:none}.csf table,.csf tbody,.csf tr,.csf td{display:block;width:auto!important}.csf thead{display:none}.csf tr{padding:12px;background:white;border:1px solid var(--csf-line);border-radius:9px;margin:10px 0}.csf td{border:0;padding:5px 0}.csf td:nth-child(5){display:block}.csf td[data-label]:not(:first-child):before{content:attr(data-label) ': ';font-size:11px;color:#69807a}.csf td small{display:inline;margin-left:6px}.csf td:first-child small{display:block;margin-left:0}.csf-count,.csf-pagination{flex-wrap:wrap}.csf-sync>span:last-child{margin-left:0}.csf-mainfilters label{flex:1;min-width:150px}.csf-mainfilters .csf-search{flex-basis:100%}.csf-dialogbody{padding:15px}.csf-dialogheader{padding:16px}.csf-dialogheader h2{font-size:19px}.csf-formgrid{grid-template-columns:1fr}.csf-tabs{gap:0}}

.csf .csf-compact-return{display:none}@media(max-width:1100px) and (min-width:821px){.csf .csf-compact-return{display:block;color:#805b24}}

.csf-pagination{position:sticky;bottom:0;background:#f4f7f6;border-top:1px solid var(--csf-line);z-index:2}.csf th{position:sticky;top:0}
@media(max-width:1100px){.csf-header{margin:12px 0 8px}.csf-header p,.csf-eyebrow{display:none}.csf h1{font-size:22px}.csf-sync{margin-bottom:6px;font-size:11px}.csf-tabs button{padding:10px}.csf-filters{margin-top:12px;padding:12px}.csf-message{min-height:20px;padding:3px 0}.csf-count{margin-bottom:8px}.csf-pagination{padding:10px 0}}

.csf .csf-actions{width:150px}.csf-actions button{width:100%;margin-bottom:5px}.csf button.csf-link{border:0;background:transparent;font-size:12px;white-space:normal;min-height:32px;padding:3px}.csf th:last-child{width:150px}@media(max-width:820px){.csf .csf-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.csf-actions button{width:auto;margin:0}.csf .csf-actions .csf-link{padding:8px}}
/* Ações diretas sem aumentar o cabeçalho ou cortar títulos de coluna. */
.csf th{white-space:normal}.csf-header{margin:12px 0 8px}.csf-header p,.csf-eyebrow{display:none}.csf-sync{margin-bottom:6px}.csf-tabs button{padding:10px}.csf-filters{margin-top:12px;padding:12px}.csf-message{min-height:20px;padding:3px 0}.csf-count{margin-bottom:8px}.csf-pagination{padding:10px 0}.csf-actions button:not(.csf-primary){min-height:32px;padding:4px 6px;font-size:12px}

/* A Central é montada dentro da .layout, que tem altura limitada e corta
   transbordamento. A própria tela precisa ser a área de rolagem, sem depender
   dos estilos injetados ao abrir a lista documental antiga. */
.layout > #screen_solic_v2_global.csf {
  height: var(--csf-viewport-height, 100%);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
