.wf-rounds-capture{box-sizing:border-box;width:min(650px,calc(100vw - 24px));max-height:88dvh;padding:0;border:1px solid #c5d8de;border-radius:12px;color:#183b48;background:#fff;box-shadow:0 20px 70px #102b3966;font:14px/1.45 'DM Sans',Arial,sans-serif;overflow:auto}.wf-rounds-capture::backdrop{background:#10243780}.wf-rounds-capture header,.wf-rounds-capture footer{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#f2f7f8;border-bottom:1px solid #dce7e9}.wf-rounds-capture header{justify-content:space-between}.wf-rounds-capture header h2{font-size:21px;margin:3px 0}.wf-rounds-capture header p,.wf-rounds-capture header small{margin:0;color:#56717d}.wf-rounds-capture .wfc-body{padding:16px 18px}.wf-rounds-capture label{display:block;font-weight:600;font-size:12px;margin:8px 0 5px}.wf-rounds-capture input:not([type=checkbox]),.wf-rounds-capture select,.wf-rounds-capture textarea{display:block;width:100%;box-sizing:border-box;margin:5px 0;padding:8px;border:1px solid #b9cdd2;border-radius:6px;background:#fff;color:#183b48;font:inherit}.wf-rounds-capture button,.wfc-trigger{border:1px solid #a9c8c8;border-radius:6px;padding:7px 10px;background:#fff;color:#126b68;font:600 12px/1.3 Arial,sans-serif;cursor:pointer}.wf-rounds-capture .wfc-primary{background:#137f79;color:#fff;border-color:#137f79}.wf-rounds-capture button:disabled{opacity:.45;cursor:default}.wf-rounds-capture article{border:1px solid #d7e4e6;border-radius:8px;margin:9px 0;padding:10px}.wf-rounds-capture .wfc-source{margin:0 0 6px;font-weight:600}.wf-rounds-capture .wfc-match{color:#176b61;margin:4px 0}.wf-rounds-capture .wfc-muted{color:#775b33;margin:4px 0}.wf-rounds-capture .wfc-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wf-rounds-capture .wfc-fields label:first-child{grid-column:1/-1}.wf-rounds-capture footer{position:sticky;bottom:0;border-top:1px solid #dce7e9;border-bottom:none;justify-content:flex-end;flex-wrap:wrap}.wf-rounds-capture footer a{margin-right:auto;font-size:12px}.wf-rounds-capture :focus-visible,.wfc-trigger:focus-visible{outline:2px solid #168b85;outline-offset:2px}.wfc-trigger{white-space:nowrap}#wfc-message{color:#126b68;font-weight:600}.wf-rounds-capture textarea{resize:vertical}@media(max-width:480px){.wf-rounds-capture .wfc-fields{grid-template-columns:1fr}.wf-rounds-capture header,.wf-rounds-capture footer,.wf-rounds-capture .wfc-body{padding:12px}.wf-rounds-capture{max-height:94dvh}}

#compactBottom{flex-wrap:wrap}#compactBottom .wfc-trigger{min-height:34px}

/* Shared clinical dialog treatment; source and review controls remain unchanged. */
html[data-clinical-design] .wf-rounds-capture{font-family:var(--cl-font,'Segoe UI',Arial,system-ui,sans-serif);border-radius:var(--cl-panel-radius,6px)}
html[data-clinical-design] .wf-rounds-capture article{border-radius:var(--cl-panel-radius,6px)}
html[data-clinical-design] .wf-rounds-capture :is(button,input:not([type=checkbox]),select,textarea){border-radius:var(--cl-radius,4px);font-family:var(--cl-font,'Segoe UI',Arial,system-ui,sans-serif)}
html[data-clinical-design] .wf-rounds-capture :is(button,input:not([type=checkbox]),select){min-height:36px}
html[data-clinical-design] .wf-rounds-capture header button{width:36px;min-width:36px;padding:0;font-size:20px}
@media(max-width:767px){html[data-clinical-design] .wf-rounds-capture :is(button,input:not([type=checkbox]),select){min-height:40px}html[data-clinical-design] .wf-rounds-capture header button{width:40px;min-width:40px}}
