/* Add to calendar. A text disclosure in the cream / navy palette, same family as
   the Calendar’s Confirmed pill and Nest’s saved-item calendar menu. */
.bb-addcal{position:relative;display:inline-block;max-width:100%;margin:8px 0 0;vertical-align:middle}
.bb-addcal summary{
  touch-action:manipulation;position:relative;z-index:2;
  list-style:none;cursor:pointer;
  font:700 .78rem/1.3 "Nunito Sans",system-ui,sans-serif;
  letter-spacing:.02em;color:var(--navy,#1f2f4d);
  background:transparent;border:0;border-bottom:1px solid rgba(31,47,77,.38);
  padding:2px 0;min-height:32px;display:inline-flex;align-items:center;gap:5px;
}
.bb-addcal summary::-webkit-details-marker{display:none}
.bb-addcal summary::after{content:"\25BE";font-size:.62rem;opacity:.65}
.bb-addcal[open] summary::after{content:"\25B4"}
.bb-addcal summary:hover{color:var(--brand-d,#3f6193);border-bottom-color:var(--brand,#5f83b3)}
.bb-addcal summary:focus-visible,.bb-addcal-menu button:focus-visible{outline:3px solid var(--brand,#5f83b3);outline-offset:2px}
.bb-addcal-menu{
  position:absolute;left:0;top:calc(100% + 4px);z-index:120;
  min-width:230px;max-width:min(280px,calc(100vw - 24px));
  background:#fffdf7;border:1px solid rgba(31,47,77,.16);border-radius:12px;
  box-shadow:0 12px 28px rgba(31,47,77,.12);padding:6px;
}
.bb-addcal-menu button{
  display:block;width:100%;text-align:left;cursor:pointer;
  padding:8px 10px;border:0;border-radius:8px;background:transparent;
  color:var(--navy,#1f2f4d);font:700 .84rem/1.35 "Nunito Sans",system-ui,sans-serif;
}
.bb-addcal-menu button:hover{background:var(--powder-l,#eaf1f8)}
.bb-acts .bb-addcal,.bb-dt .bb-addcal{margin:8px 0 0}
.bb-acts .bb-addcal{margin:0}
.bb-ses .bb-addcal{display:block;margin:6px 0 2px}
.bb-addcal-hold{margin:2px 0 8px}
.bb-so-cu-rec .bb-addcal,.bb-so-pcard .bb-addcal{margin-top:4px}
dl.kv dd .bb-addcal,dl.keyfacts dd .bb-addcal{margin-top:6px}
@media(max-width:560px){
  a.bb-date .bb-addcal{margin-left:0}
  .bb-addcal summary{
  touch-action:manipulation;position:relative;z-index:2;min-height:36px}
}

/* Portaled menu (body) — visible without .bb-addcal[open] ancestor */
.bb-addcal-menu[data-bb-addcal-portal="1"]{
  display:block;
  position:fixed;
  z-index:10000;
}
.bb-addcal-menu[hidden]{display:none!important}
