/* FERNER minimal appointment layer */
.calendar-trigger{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:30;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.035);
  color:rgba(255,255,255,.62);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-radius:999px;
  padding:9px 15px 10px;
  font:500 11px/1.1 var(--font-interface);
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:opacity .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
}
.calendar-trigger:hover{
  color:rgba(255,255,255,.92);
  border-color:rgba(255,255,255,.34);
  background:rgba(255,255,255,.07);
}
.calendar-panel{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(3,5,8,.46);
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.calendar-panel.is-open{
  opacity:1;
  pointer-events:auto;
}
.calendar-card{
  position:relative;
  width:min(420px, calc(100vw - 36px));
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;
  padding:32px 28px 26px;
  background:linear-gradient(145deg, rgba(16,18,22,.94), rgba(5,7,10,.92));
  box-shadow:0 26px 90px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.06);
  color:white;
}
.calendar-close{
  position:absolute;
  top:14px;
  right:16px;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.72);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.calendar-kicker{
  font:600 10px/1 var(--font-interface);
  letter-spacing:.28em;
  color:rgba(255,255,255,.42);
  margin-bottom:14px;
}
.calendar-card h2{
  margin:0;
  font:500 clamp(28px, 5vw, 42px)/.98 var(--font-display);
  letter-spacing:-.04em;
}
.calendar-note{
  margin:14px 0 22px;
  color:rgba(255,255,255,.58);
  font:400 13px/1.55 var(--font-interface);
}
.calendar-slots{
  display:grid;
  gap:10px;
}
.slot-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:14px 15px;
  background:rgba(255,255,255,.035);
  transition:background .22s ease, border-color .22s ease, transform .22s ease;
}
.slot-link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.26);
}
.slot-link span{
  color:rgba(255,255,255,.52);
  font:500 12px/1 var(--font-interface);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.slot-link strong{
  font:500 16px/1 var(--font-interface);
}
.calendar-foot,.calendar-loading,.calendar-empty{
  margin:12px 0 0;
  color:rgba(255,255,255,.45);
  font:400 12px/1.45 var(--font-interface);
}
.calendar-empty .slot-link{
  margin-top:12px;
}
@media (max-width:640px){
  .calendar-trigger{ bottom:18px; }
  .calendar-card{ padding:30px 22px 22px; border-radius:24px; }
}

/* v2: calendar trigger calmer and smaller */
.calendar-trigger{
  right:18px !important;
  left:auto !important;
  bottom:18px !important;
  transform:none !important;
  padding:8px 12px 9px !important;
  opacity:.74;
}
.calendar-trigger:hover{
  opacity:1;
}


/* v4 mobile-safe trigger placement */
.calendar-trigger{
  bottom:calc(env(safe-area-inset-bottom,0px) + 16px) !important;
  right:16px !important;
  left:auto !important;
  z-index:12;
}
@media(max-width:760px){
  .calendar-trigger{bottom:calc(env(safe-area-inset-bottom,0px) + 70px) !important; right:14px !important;}
}


/* v5 editorial bottom trigger: no cheap pill button */
.calendar-trigger{
  position: fixed;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  bottom: calc(env(safe-area-inset-bottom,0px) + 28px) !important;
  z-index: 18;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 18px 34px 16px !important;
  color: rgba(255,255,255,.80);
  opacity: .96;
  box-shadow: none !important;
  min-width: 160px;
}
.calendar-trigger:hover{
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255,255,255,.96);
}
.calendar-trigger-label{
  position: relative;
  display: inline-block;
  font: 500 12px/1 var(--font-interface);
  letter-spacing: .28em;
  text-transform: uppercase;
}
/* subtle lower weight / grounding */
.calendar-trigger::before,
.calendar-trigger::after,
.calendar-trigger-label::before,
.calendar-trigger-label::after{
  content:"";
  position:absolute;
  background: rgba(255,255,255,.22);
  pointer-events:none;
}
/* top-left asymmetrical cross */
.calendar-trigger::before{
  width: 42px;
  height: 1px;
  left: 0;
  top: 8px;
}
.calendar-trigger::after{
  width: 1px;
  height: 26px;
  left: 18px;
  top: 0;
}
/* bottom-right asymmetrical cross */
.calendar-trigger-label::before{
  width: 50px;
  height: 1px;
  right: -22px;
  bottom: -8px;
}
.calendar-trigger-label::after{
  width: 1px;
  height: 22px;
  right: 6px;
  bottom: -16px;
}
/* lower anchor lines to make the bottom feel heavier */
.calendar-trigger{
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}
.calendar-trigger .calendar-trigger-label{
  text-shadow: 0 0 12px rgba(0,0,0,.45);
}
@media(max-width:760px){
  .calendar-trigger{
    min-width: 146px;
    padding: 18px 28px 18px !important;
    bottom: calc(env(safe-area-inset-bottom,0px) + 34px) !important;
  }
  .calendar-trigger-label{
    font-size: 11px;
    letter-spacing: .24em;
  }
  .calendar-trigger::before{ width: 34px; }
  .calendar-trigger-label::before{ width: 40px; right: -18px; }
}


/* v6 signature trigger: almost no button, only editorial wordmark + hairlines */
.calendar-trigger{
  min-width: 0 !important;
  width: auto !important;
  padding: 16px 40px 18px !important;
  background: transparent !important;
  color: rgba(255,255,255,.86) !important;
  letter-spacing: .34em;
}
.calendar-trigger-label{
  font-size: 11px;
  letter-spacing: .34em;
}
.calendar-trigger::before,
.calendar-trigger::after,
.calendar-trigger-label::before,
.calendar-trigger-label::after{
  background: rgba(255,255,255,.18);
}
.calendar-trigger::before{
  width: 58px;
  left: -10px;
  top: 6px;
}
.calendar-trigger::after{
  height: 30px;
  left: 14px;
  top: -2px;
}
.calendar-trigger-label::before{
  width: 62px;
  right: -30px;
  bottom: -9px;
}
.calendar-trigger-label::after{
  height: 28px;
  right: 2px;
  bottom: -18px;
}
.calendar-trigger:hover .calendar-trigger-label{
  color: rgba(255,255,255,1);
}
@media(max-width:760px){
  .calendar-trigger{padding:14px 34px 18px !important;}
  .calendar-trigger::before{width:46px; left:-6px;}
  .calendar-trigger-label::before{width:48px; right:-20px;}
}


/* v10 calendar typography inherits premium stack */
