.private-notes-dialog{width:min(640px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid #ded6f4;border-radius:22px;padding:24px;color:#29243c;background:#fff;box-sizing:border-box}.private-notes-dialog::backdrop{background:#10152a88}.private-notes-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.private-notes-dialog h2{margin:0;overflow-wrap:normal;word-break:normal}.private-notes-dialog label{display:block}.private-notes-dialog textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;min-height:180px}.private-notes-dialog button,[data-private-note-list],[data-private-note-live]{min-height:44px}.private-notes-dialog article{padding:16px 0;border-top:1px solid #ddd}.private-notes-dialog p{line-height:1.5}.private-notes-dialog strong{overflow-wrap:anywhere}@media(max-width:500px){.private-notes-dialog{padding:16px}.private-notes-dialog header{align-items:flex-start}}@media(prefers-color-scheme:dark){.private-notes-dialog{background:#211d32;color:#f4f0ff}.private-notes-dialog textarea{background:#181524;color:#fff}}
.private-notes-dialog.private-notes-floating{position:fixed;inset:auto;margin:0;width:min(370px,calc(100vw - 16px));max-height:calc(100dvh - 16px);padding:18px;z-index:1800;box-shadow:0 12px 36px #17152f33}.private-notes-floating header{cursor:grab;touch-action:none;user-select:none;align-items:flex-start}.private-notes-floating header:active{cursor:grabbing}.private-notes-floating header:focus-visible{outline:2px solid #7447ed;outline-offset:4px}.private-notes-floating h2{font-size:18px;line-height:1.35}.private-notes-floating textarea{min-height:150px;height:190px;resize:vertical}.private-notes-drag-hint{display:block;margin:8px 0;color:#716581}.private-notes-floating header button{cursor:pointer;flex-shrink:0}.private-notes-floating p{margin:10px 0;font-size:14px}
.private-notes-floating header{flex-wrap:wrap;gap:8px}.private-notes-floating header h2{flex:1 1 100%}.private-notes-floating.private-notes-collapsed>:not(header){display:none}.private-notes-floating.private-notes-collapsed{max-height:160px}

.private-notes-dialog select{display:block;width:100%;box-sizing:border-box;min-height:44px;margin:8px 0 12px;padding:10px;border:1px solid #cfc5e5;border-radius:10px;font:inherit;background:inherit;color:inherit}
.room-reference-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0;max-width:100%}.private-notes-access{padding:14px!important;margin:0!important;min-width:0;box-sizing:border-box}.zaira-in-call .private-notes-access #session-notes-open,.private-notes-access [data-private-note-live]{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center;gap:10px;width:100%!important;height:auto!important;min-height:52px;padding:9px 10px!important;border:1px solid #e4dcf3;border-radius:12px!important;background:#faf7ff!important;color:#55388e!important;text-align:left;font-size:13px!important;line-height:1.4;white-space:normal;box-shadow:none!important;cursor:pointer}.private-notes-notebook-trigger>span:first-child{display:flex;align-items:center;justify-content:center;flex:0 0 36px}.private-notes-notebook-trigger svg{display:block}.private-notes-docked{position:static!important;inset:auto!important;margin:12px 0 0!important;width:100%!important;max-width:100%;max-height:65dvh;padding:0!important;border:0!important;border-radius:0;background:transparent!important;color:inherit;box-shadow:none!important;overflow:auto;box-sizing:border-box}.private-notes-docked:not([open]){display:none!important}.private-notes-docked[open]{display:block}.private-notes-docked header{align-items:flex-start;flex-wrap:wrap;gap:8px}.private-notes-docked h2{font-size:15px;line-height:1.4;flex:1 1 100%}.private-notes-docked p{font-size:12px;line-height:1.5;margin:10px 0}.private-notes-docked label{font-size:13px}.private-notes-docked textarea{min-height:160px;height:190px;resize:vertical;font-size:14px;padding:10px}.private-notes-docked button{min-height:32px;font-size:12px;padding:6px 10px}@media(max-width:1000px){.room-reference-sidebar{width:100%;margin-top:12px}.private-notes-docked{max-height:none}}

.room-reference-sidebar .medication-panel,.room-reference-sidebar .private-notes-access{padding:14px!important}
.room-reference-sidebar .medication-panel>summary,.private-notes-access .private-notes-notebook-trigger{display:flex!important;align-items:center;gap:10px;box-sizing:border-box;width:100%;min-height:62px;padding:9px 10px!important;margin:0;border:1px solid #e4dcf3;border-radius:12px;background:#faf7ff;color:#55388e;font-size:13px!important;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;list-style:none}
.medication-panel>summary::marker{content:''}.medication-panel>summary::-webkit-details-marker{display:none}
.room-reference-sidebar .medication-heading-icon,.private-notes-notebook-trigger>span:first-child{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;margin:0;border:0;border-radius:0;background:transparent}
.room-reference-sidebar .medication-heading-icon svg,.private-notes-notebook-trigger svg{width:32px;height:32px}
.room-reference-sidebar .medication-heading-text,.private-notes-notebook-trigger>span:nth-child(2){flex:1;max-width:none}
.reference-chevron{flex:0 0 14px;font-size:24px;line-height:1;text-align:center;transform:rotate(0deg)}
.medication-panel[open]>summary>.reference-chevron,.private-notes-notebook-trigger[aria-expanded=true]>.reference-chevron{transform:rotate(90deg)}

/* Cabeçalhos irmãos com mesma hierarquia, área de ícone e seta. */
.medication-panel>summary.room-reference-heading,.zaira-in-call .private-notes-access #session-notes-open.room-reference-heading,.private-notes-access [data-private-note-live].room-reference-heading{display:flex!important;align-items:center;gap:8px;min-height:64px;box-sizing:border-box;width:100%!important;padding:9px 10px!important;margin:0;border:1px solid #e4dcf3;border-radius:12px!important;background:#faf7ff!important;color:#55388e!important;font-size:13px!important;font-weight:600;line-height:1.4;text-align:left;list-style:none;cursor:pointer}
.medication-panel>summary.room-reference-heading::-webkit-details-marker{display:none}
.room-reference-heading::before{content:'›';display:inline-block;flex:0 0 10px;width:10px;font-size:22px;line-height:1;color:#8061b5;transform:rotate(0deg);text-align:center}
.medication-panel[open]>summary.room-reference-heading::before,.private-notes-notebook-trigger[aria-expanded=true]::before{transform:rotate(90deg)}
.room-reference-heading .medication-heading-icon,.room-reference-heading>span[aria-hidden=true]{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;margin:0;border:0;background:transparent;border-radius:0}
.room-reference-heading svg{display:block;width:32px;height:32px;flex:none}
.room-reference-heading .medication-heading-text,.room-reference-heading>span:last-child{max-width:none;min-width:0;flex:1;line-height:1.4;vertical-align:baseline}
