/* v0.99.62: sininho compacto no cabeçalho em todas as páginas do aplicativo. */
#stef-demo-runtime.stef-real-app #demo-main>.demo-page-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
#stef-demo-runtime.stef-real-app #demo-main>.demo-page-head>div:first-child{min-width:0;flex:1 1 240px}
#stef-demo-runtime.stef-real-app .stef62-notifier{position:relative;z-index:70;flex:0 0 auto;margin-left:auto;align-self:center;font-family:inherit}
#stef-demo-runtime.stef-real-app .stef62-trigger{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d4e0dc;border-radius:12px;background:#fff;color:#315e58;box-shadow:0 3px 10px #0e383010;cursor:pointer}
#stef-demo-runtime.stef-real-app .stef62-trigger svg{width:23px;height:23px}
#stef-demo-runtime.stef-real-app .stef62-trigger:hover{background:#f0f6f2}
#stef-demo-runtime.stef-real-app .stef62-trigger:focus-visible,#stef-demo-runtime.stef-real-app .stef62-panel button:focus-visible,#stef-demo-runtime.stef-real-app .stef62-panel a:focus-visible{outline:3px solid #b59a51;outline-offset:2px}
#stef-demo-runtime.stef-real-app .stef62-unread{position:absolute;top:-7px;right:-8px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:30px;background:#a03e2c;color:#fff;border:2px solid #fff;font-size:10px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
#stef-demo-runtime.stef-real-app .stef62-unread[hidden],#stef-demo-runtime.stef-real-app .stef62-panel[hidden]{display:none!important}
#stef-demo-runtime.stef-real-app .stef62-panel{position:absolute;right:0;top:calc(100% + 11px);box-sizing:border-box;width:min(380px,calc(100vw - 30px));max-height:min(72vh,650px);display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#294a44;border:1px solid #d6dfda;border-radius:17px;box-shadow:0 18px 45px #162f2740;text-align:left}
#stef-demo-runtime.stef-real-app .stef62-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 17px 10px}
#stef-demo-runtime.stef-real-app .stef62-panel-head>div{display:grid;gap:2px;min-width:0}
#stef-demo-runtime.stef-real-app .stef62-panel-head strong{font-size:17px;font-weight:750;line-height:1.25}
#stef-demo-runtime.stef-real-app .stef62-panel-head small{font-size:12px;color:#58716a;line-height:1.4}
#stef-demo-runtime.stef-real-app .stef62-close{display:grid;place-items:center;min-width:34px;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:#f2f5f3;color:#315e58;font-size:23px;cursor:pointer}
#stef-demo-runtime.stef-real-app .stef62-panel-commands{display:flex;justify-content:flex-end;padding:0 16px 8px;border-bottom:1px solid #edf0ed}
#stef-demo-runtime.stef-real-app .stef62-panel-commands button{border:0;background:transparent;color:#315e58;font-size:12px;text-decoration:underline;cursor:pointer;padding:4px}
#stef-demo-runtime.stef-real-app .stef62-items{min-height:90px;max-height:420px;overflow-y:auto;overscroll-behavior:contain}
#stef-demo-runtime.stef-real-app .stef62-item{position:relative;padding:0;border-bottom:1px solid #eef1ef}
#stef-demo-runtime.stef-real-app .stef62-item.is-unread{background:#f0f7f4}
#stef-demo-runtime.stef-real-app .stef62-item.is-unread:before{content:"";position:absolute;left:10px;top:20px;width:6px;height:6px;border-radius:50%;background:#377265}
#stef-demo-runtime.stef-real-app .stef62-item-link{display:grid;gap:4px;padding:13px 16px 10px 24px;border:0;background:transparent;width:100%;text-align:left;color:inherit;cursor:pointer;box-shadow:none;min-height:0}
#stef-demo-runtime.stef-real-app .stef62-item-link strong{font-size:13px;line-height:1.4;overflow-wrap:normal;word-break:normal}
#stef-demo-runtime.stef-real-app .stef62-item-link span{font-size:12px;line-height:1.55;overflow-wrap:break-word;word-break:normal}
#stef-demo-runtime.stef-real-app .stef62-item-link time{font-size:11px;color:#72847e}
#stef-demo-runtime.stef-real-app .stef62-item-link:hover{background:#e8f2ec}
#stef-demo-runtime.stef-real-app .stef62-patient-link{display:inline-block;padding:0 24px 12px;font-size:12px;color:#315e58;text-decoration:underline}
#stef-demo-runtime.stef-real-app .stef62-error,#stef-demo-runtime.stef-real-app .stef62-empty{display:block;margin:0;padding:16px;font-size:12px;color:#5b665f}
#stef-demo-runtime.stef-real-app .stef62-prefs{padding:11px 16px 13px;border-top:1px solid #e2ebe5;background:#f7f9f7}
#stef-demo-runtime.stef-real-app .stef62-prefs summary{font-size:12px;font-weight:700;color:#315e58;cursor:pointer}
#stef-demo-runtime.stef-real-app .stef62-prefs label{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:12px;line-height:1.35}
#stef-demo-runtime.stef-real-app .stef62-prefs input{width:17px;height:17px;accent-color:#315e58;margin:0;flex:none}
#stef-demo-runtime.stef-real-app .stef62-prefs small{display:block;margin:6px 0 0;color:#58716a;font-size:11px;line-height:1.5}
#stef-demo-runtime.stef-real-app .demo-item[id^="stef-appointment-"]:target,#stef-demo-runtime.stef-real-app .stef24-appointment[id^="stef-appointment-"]:target{scroll-margin-top:95px;outline:3px solid #b59a51;outline-offset:2px;background:#f3f7ed}
/* Botão de instalar continua no cabeçalho, mas não interfere no sino. */
#stef-demo-runtime.stef-real-app #demo-main>.demo-page-head>.stef56-install{margin-left:0;order:3}
@media(max-width:720px){
  #stef-demo-runtime.stef-real-app #demo-main>.demo-page-head{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
  #stef-demo-runtime.stef-real-app #demo-main>.demo-page-head>div:first-child{flex:1 1 180px;min-width:0}
  #stef-demo-runtime.stef-real-app #demo-main>.demo-page-head>.stef62-notifier{margin-left:0;align-self:flex-start}
  #stef-demo-runtime.stef-real-app #demo-main>.demo-page-head>.stef56-install{order:4;flex-basis:100%;margin:0 auto!important}
  #stef-demo-runtime.stef-real-app .stef62-panel{position:absolute;right:-20px;width:min(360px,calc(100vw - 24px));max-height:70vh}
}
