#prontuario-alert-bell{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));right:14px;z-index:2147483635;padding:10px 14px;border-radius:999px;border:1px solid #6c7788;background:#232c39;color:#fff;font:bold 13px system-ui;box-shadow:0 6px 22px #0009;cursor:pointer}
#prontuario-alert-bell.has-new{border-color:#e9b96c;background:#493320}
#prontuario-alert-panel{position:fixed;bottom:70px;right:14px;z-index:2147483636;width:min(410px,calc(100vw - 28px));max-height:70dvh;overflow:auto;background:#1a1d24;border:1px solid #596270;border-radius:15px;box-shadow:0 18px 50px #000a;padding:14px;color:#eef2f5;font:14px system-ui}
#prontuario-alert-panel[hidden]{display:none}#prontuario-alert-panel header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
#prontuario-alert-panel header button{background:transparent;border:1px solid #626975;color:white;border-radius:8px;padding:5px 9px;cursor:pointer}
.pa-summary,.pa-small{font-size:12px;color:#bbc5d0;line-height:1.5}.pa-small{display:block;margin-top:10px}.pa-event{border:1px solid #4f5b6b;border-radius:9px;background:#252b33;padding:10px;margin-top:9px;line-height:1.6}
.pa-event.birthday{border-color:#966b40;background:#302820}.pa-event strong{display:block}.pa-event small{color:#afbbc6}.pa-empty{padding:15px;color:#b4c0cd}.pa-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.pa-actions button{background:#394354;border:1px solid #6b7890;border-radius:9px;color:white;padding:9px;font:inherit;cursor:pointer}
.excel-guide textarea{width:100%;background:#171c24;color:#fff;border:1px solid #687587;border-radius:8px;padding:12px;box-sizing:border-box;font:inherit}
.excel-guide h2,.history-panel h2{font-size:1.05rem;margin:0}.excel-guide .guide-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#222a33;border:1px solid #424c5a;border-radius:9px;padding:12px;margin:10px 0}.guide-help{font-size:13px;color:#b5c2cf;line-height:1.55}.guide-feedback{font-size:12px;color:#b2d9b6}.history-items{max-height:390px;overflow:auto;margin-top:12px}.history-entry{padding:10px;border-bottom:1px solid #444e5c}.history-entry small{color:#a9b6c5}.history-change{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:5px;font-size:13px}.history-change strong{color:#ffc1ab}
