.modal-overlay:has(.customer-notes-modal){z-index:1500}
.modal.customer-notes-modal{width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 32px);background:#fbfcf8}
.customer-notes-modal .modalhead{background:#fff;border-bottom:1px solid #e2e8dc}
.customer-notes-modal .modalbody{padding:0 24px 24px}
.customer-notebook-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fbfcf8;z-index:1;padding:14px 0;color:#71816f;font-size:12px}
.customer-notes-day{margin-bottom:24px}
.customer-notes-day>header{display:flex;align-items:center;gap:12px;padding:10px 0;color:#61715d}
.customer-notes-day h3{margin:0;font-size:13px;font-weight:650}
.customer-notes-day>header>span{font-size:11px;color:#8a9487}
.customer-note{background:white;border:1px solid #e2e8dc;border-radius:12px;margin:0 0 10px;padding:14px 16px;overflow-wrap:anywhere}
.customer-note.active{border-color:#aabb9d;box-shadow:0 2px 10px #344b2310}
.customer-note-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7c8776;font-size:11px;min-height:24px}
.customer-note-meta .btn{font-size:11px;padding:2px 4px;min-height:28px}
.customer-note p{margin:8px 0 0;white-space:pre-wrap;color:#273e47;font-size:14px;line-height:1.7}
.customer-note textarea{display:block;width:100%;resize:vertical;border:0;outline:none;background:transparent;box-shadow:none;min-height:150px;padding:10px 0 0;font:inherit;font-size:15px;line-height:1.75;color:#273e47}
.customer-note textarea:focus{outline:0;box-shadow:none}
.customer-note textarea::placeholder{color:#a1aa9b}
.customer-note-call{display:block;margin-top:4px;color:#789080;font-size:11px}
.customer-note-error{font-size:12px;color:#9b562c;padding-top:10px;line-height:1.6}
.customer-note [data-state=error]{color:#a86736}
.customer-notes-empty{color:#8a9487;text-align:center;padding:30px}
.customer-notes-more{display:block;margin:8px auto}
.board-recent-notes>article[data-board]{cursor:pointer;transition:border-color .15s,background .15s}
.board-recent-notes>article[data-board]:hover{border-color:#aabb9d;background:#fffffc}
.board-recent-notes>article[data-board]:focus-visible{outline:2px solid #718d5e;outline-offset:2px}
@media(max-width:540px){.modal.customer-notes-modal{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.customer-notes-modal .modalbody{padding:0 14px 14px}.customer-note{padding:12px}.customer-note-meta{flex-wrap:wrap}.customer-notebook-toolbar{align-items:flex-start}.customer-note textarea{font-size:16px}}
