/* Standalone modal shell; activated only by an explicit create/open call. */
.notera-room-modal{position:fixed;margin:0;padding:0;max-width:none;max-height:none;border:1px solid #a9c7b5;border-radius:14px;background:#fff;color:#22392f;box-shadow:0 16px 56px #142f2440;overflow:hidden;box-sizing:border-box;font:inherit}
.notera-room-modal[open]{display:flex;flex-direction:column}
.notera-room-modal::backdrop{background:#172d2590}
.notera-room-modal *{box-sizing:border-box}
.notera-room-modal [hidden]{display:none!important}
.notera-modal-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:#edf5ef;border-bottom:1px solid #dbe6df;cursor:move;touch-action:none;user-select:none;flex:none}
.notera-modal-heading{font-size:17px;margin:0;min-width:0;overflow-wrap:anywhere;color:#275d49}
.notera-modal-tools{display:flex;gap:5px;align-items:center;flex:none}
.notera-room-modal .notera-modal-control,.notera-room-modal .notera-modal-move{font:inherit;font-size:20px;min-width:40px;min-height:40px;padding:4px 8px;border:1px solid #a9c7b5;border-radius:7px;background:white;color:#275d49;cursor:pointer}
.notera-room-modal button:focus-visible{outline:2px solid #32775b;outline-offset:2px}
.notera-room-modal button:disabled{opacity:.5;cursor:not-allowed}
.notera-modal-body{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.notera-modal-feedback{flex:none;max-height:25%;overflow:auto;margin:0;padding:8px 16px;color:#285d47;overflow-wrap:anywhere}
.notera-modal-feedback:empty{display:none}
.notera-modal-footer{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 48px 12px 16px;border-top:1px solid #dbe6df;background:white}
.notera-modal-footer:empty{min-height:40px}
.notera-room-modal .notera-modal-resize{position:absolute;right:4px;bottom:4px;min-height:32px;min-width:32px;font-size:18px;cursor:nwse-resize;touch-action:none}
.notera-room-modal.notera-modal-full{border-radius:0;border:0}
.notera-modal-full .notera-modal-bar{cursor:default}
.notera-modal-full .notera-modal-footer{padding-right:16px}
@media(max-width:600px){.notera-modal-bar{padding:10px}.notera-modal-heading{font-size:16px}.notera-modal-body{padding:12px}.notera-modal-footer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}}
