/* Dra. Stefânia v0.99.11 · somente DEMO pública · Central de Acessos e centralização mobile */
#stef-demo-runtime .stef-access-summary,#stef-demo-runtime .stef-access-detail{border-color:#dce9e1;background:linear-gradient(140deg,#fff,#f8fbf8)}
#stef-demo-runtime .stef-access-card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:14px}
#stef-demo-runtime .stef-access-card-head h2{margin:0;color:#284c3f;font-size:clamp(18px,2vw,23px)}
#stef-demo-runtime .stef-access-pill{display:inline-flex;align-items:center;justify-content:center;text-align:center;border-radius:999px;font-size:11px;line-height:1.4;font-weight:750;padding:7px 10px;border:1px solid #e0e8df;background:#f0f3ef;color:#4e6358}
#stef-demo-runtime .stef-access-pill.is-active{background:#e1f3e5;border-color:#c3e5ce;color:#2b6645}
#stef-demo-runtime .stef-access-pill.is-verified{background:#e6f4ec;border-color:#cadfd0;color:#356b56}
#stef-demo-runtime .stef-access-pill.is-pending{background:#fff4e3;border-color:#f1d8ad;color:#8a602f}
#stef-demo-runtime .stef-access-pill.is-expired{background:#faeae6;border-color:#e7c5bf;color:#924c42}
#stef-demo-runtime .stef-access-summary-name{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:#315d4f}
#stef-demo-runtime .stef-access-summary-name span{color:#758279;font-size:12px;overflow-wrap:anywhere}
#stef-demo-runtime .stef-access-warning{font-size:12px;color:#785e34;background:#fff5e6;border:1px solid #ecdabb;border-radius:11px;padding:12px 14px;line-height:1.65;margin:15px 0}
#stef-demo-runtime .stef-access-fineprint{font-size:11px;color:#718276;margin:12px 0 0;line-height:1.5}
#stef-demo-runtime .stef-access-children{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
#stef-demo-runtime .stef-access-children span{background:#eaf4ec;color:#315b46;border:1px solid #d5e6d8;padding:8px 11px;border-radius:10px;font-size:12px;font-weight:700}
#stef-demo-runtime .stef-invite-preview{background:#f5f9f5;padding:18px;border:1px solid #dcebdc;border-radius:13px;margin:19px 0 0;max-width:100%;min-width:0}
#stef-demo-runtime .stef-invite-preview h3{color:#2d5541;margin-bottom:8px}
#stef-demo-runtime .stef-invite-preview p{font-size:12px;line-height:1.6;color:#5b7262}
#stef-demo-runtime .stef-invite-preview input{font-size:12px;text-overflow:ellipsis;min-width:0}
#stef-demo-runtime .stef-access-log{display:grid;gap:11px;padding:0;list-style:none;margin:0}
#stef-demo-runtime .stef-access-log li{display:flex;flex-direction:column;gap:4px;background:#f7f9f7;border-radius:10px;padding:12px 14px}
#stef-demo-runtime .stef-access-log strong{font-size:12px;color:#345a48}
#stef-demo-runtime .stef-access-log small{font-size:11px;color:#718174}
#stef-demo-runtime .stef-access-overview{display:grid;gap:10px;margin-top:17px}
#stef-demo-runtime .stef-access-overview-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e4ede5;background:#fff;padding:14px 16px;border-radius:13px;min-width:0}
#stef-demo-runtime .stef-access-overview-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
#stef-demo-runtime .stef-access-overview-row strong{font-size:15px;color:#2e4c3d}
#stef-demo-runtime .stef-access-overview-row small{font-size:12px;color:#748276;overflow-wrap:anywhere}
#stef-demo-runtime .stef-access-overview-row .demo-btn{flex:none}
#stef-demo-runtime .demo-access-box .stef-access-warning{margin:6px 0 15px}
@media(max-width:670px){
  /* Centralizar onde melhora a compreensão, sem centralizar campos clínicos longos ou tabelas. */
  #stef-demo-runtime #demo-main .demo-page-head,
  #stef-demo-runtime .stef-welcome-copy,
  #stef-demo-runtime .demo-panel>h2,
  #stef-demo-runtime .demo-panel>.demo-muted,
  #stef-demo-runtime .demo-panel>.stef-access-fineprint,
  #stef-demo-runtime .demo-panel>.stef-access-warning,
  #stef-demo-runtime .demo-portal-welcome,
  #stef-demo-runtime .demo-access-brand,
  #stef-demo-runtime .demo-access-box,
  #stef-demo-runtime .stef-access-summary,
  #stef-demo-runtime .stef-access-detail,
  #stef-demo-runtime .stef-calendar-empty{text-align:center}
  #stef-demo-runtime .demo-sidebar{flex-direction:column;justify-content:center;align-items:center}
  #stef-demo-runtime .demo-wordmark{justify-content:center}
  #stef-demo-runtime .demo-sidebar nav{justify-content:center;width:100%}
  #stef-demo-runtime .stef-welcome-copy{margin:0 auto;max-width:100%;width:100%}
  #stef-demo-runtime .stef-welcome-art{opacity:.13;right:0;width:100%;pointer-events:none}
  #stef-demo-runtime .stef-next-card{text-align:center;justify-content:center}
  #stef-demo-runtime .stef-next-text{flex:1 1 100%;text-align:center}
  #stef-demo-runtime .stef-next-icon{margin:0 auto}
  #stef-demo-runtime .stef-next-card>.demo-btn{margin:0 auto;max-width:350px;width:100%}
  #stef-demo-runtime .stef-quick-actions{justify-content:center}
  #stef-demo-runtime .stef-fixture-banner,.demo-fixture-banner{justify-content:center;text-align:center}
  #stef-demo-runtime .demo-shortcuts,#stef-demo-runtime .demo-form-actions,#stef-demo-runtime .demo-portal-shortcuts{justify-content:center}
  #stef-demo-runtime .demo-form-actions .demo-btn{min-width:min(140px,100%)}
  #stef-demo-runtime .demo-toolbar{justify-content:center;text-align:center}
  #stef-demo-runtime .demo-search-label{max-width:none;text-align:center}
  #stef-demo-runtime .demo-item{justify-content:center;text-align:center}
  #stef-demo-runtime .demo-item-body{align-items:center;text-align:center;flex-basis:calc(100% - 68px)}
  #stef-demo-runtime .demo-item-actions{width:100%;display:flex;justify-content:center;margin:0}
  #stef-demo-runtime .demo-item-actions .demo-btn{max-width:350px}
  #stef-demo-runtime .demo-section-head{justify-content:center;text-align:center}
  #stef-demo-runtime .demo-portal-highlights article{text-align:center;justify-items:center}
  #stef-demo-runtime .demo-portal-controls .demo-field>span{text-align:center}
  #stef-demo-runtime .stef-access-card-head{justify-content:center;text-align:center}
  #stef-demo-runtime .stef-access-summary-name{justify-content:center;text-align:center}
  #stef-demo-runtime .stef-access-children{justify-content:center}
  #stef-demo-runtime .stef-access-overview-row{flex-wrap:wrap;justify-content:center;text-align:center}
  #stef-demo-runtime .stef-access-overview-row>div{align-items:center}
  #stef-demo-runtime .stef-access-overview-row .demo-btn{width:100%;max-width:300px}
  #stef-demo-runtime .stef-access-log li{text-align:center}
  #stef-demo-runtime .demo-access-brand,#stef-demo-runtime .demo-access-box{align-items:center}
  #stef-demo-runtime .demo-access-box .demo-btn{text-align:center;max-width:350px}
  #stef-demo-runtime .demo-access-choices{width:100%}
  #stef-demo-runtime .stef-agenda-toolbar{text-align:center}
  #stef-demo-runtime .stef-agenda-toolbar>div{justify-content:center}
  #stef-demo-runtime .stef-selected-heading{justify-content:center;text-align:center}
  #stef-demo-runtime .stef-day-item{justify-content:center;flex-wrap:wrap;text-align:center}
  #stef-demo-runtime .stef-day-info{align-items:center;text-align:center;min-width:160px}
  #stef-demo-runtime .stef-day-meta{justify-content:center}
  #stef-demo-runtime .stef-day-commands{max-width:none;justify-content:center;padding:0;width:100%}
  #stef-demo-runtime .demo-field>span{text-align:center}
  #stef-demo-runtime .demo-field input,#stef-demo-runtime .demo-field textarea,#stef-demo-runtime .demo-field select{text-align:left}
  #stef-demo-runtime .demo-checkbox{text-align:left}
  #stef-demo-runtime .clinical-document-sheet{text-align:left}
  #stef-demo-runtime .demo-details{text-align:center}
  #stef-demo-runtime .stef-help-content,#stef-demo-runtime .stef-help-guide{text-align:left}
  #stef-demo-runtime .stef-help-guide h3{text-align:center}
  #stef-demo-runtime .stef-invite-preview{text-align:center;padding:13px}
}
@media(max-width:479px){
  #stef-demo-runtime .stef-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  #stef-demo-runtime .stef-next-text{flex:1 1 100%}
  #stef-demo-runtime .stef-next-card>.demo-btn{margin:0 auto;width:100%}
  #stef-demo-runtime .demo-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #stef-demo-runtime .demo-shortcuts .demo-btn{width:100%;font-size:11px}
  #stef-demo-runtime .demo-form-actions .demo-btn{flex:1 1 100%}
  #stef-demo-runtime .stef-access-summary .demo-form-actions .demo-btn{max-width:340px}
}
@media(prefers-reduced-motion:reduce){#stef-demo-runtime .stef-access-summary *{transition:none!important}}
@media(max-width:670px){
  #stef-demo-runtime #demo-main .demo-page-head{width:100%;justify-content:center;align-items:center}
  #stef-demo-runtime #demo-main .demo-page-head>div{width:100%;text-align:center}
  #stef-demo-runtime #demo-main .demo-page-head h1,
  #stef-demo-runtime #demo-main .demo-page-head .demo-eyebrow{text-align:center!important}
  #stef-demo-runtime .stef-access-summary .demo-form-actions,
  #stef-demo-runtime .stef-access-detail .demo-form-actions{justify-content:center}
}
