/* Selected calendar appointments are a focused mobile work window, not a panel hidden below the calendar. */
.premium-app .appointment-inspector-v2 .appointment-inspector-head{
  grid-template-columns:42px minmax(0,1fr) auto 34px!important;
}
.premium-app .appointment-inspector-close{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #38536b;
  border-radius:50%;
  color:#dce8f2;
  background:#0b1927;
  cursor:pointer;
}
.premium-app .appointment-inspector-close svg{width:18px;height:18px;}
.premium-app .appointment-inspector-close:hover,
.premium-app .appointment-inspector-close:focus-visible{
  border-color:#ff8a1f;
  color:#ffb36c;
  outline:2px solid rgba(255,138,31,.3);
  outline-offset:2px;
}
.premium-app .appointment-proposal-launch{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:12px;
  border:1px solid rgba(255,138,31,.78);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(255,116,22,.14),rgba(8,23,36,.95));
}
.premium-app .appointment-proposal-launch-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #ff8a1f;
  border-radius:50%;
  color:#ff9a3d;
  background:rgba(255,138,31,.08);
}
.premium-app .appointment-proposal-launch-icon svg{width:20px;height:20px;}
.premium-app .appointment-proposal-launch>div{min-width:0;display:grid;gap:2px;}
.premium-app .appointment-proposal-launch small{color:#ffb36c;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.premium-app .appointment-proposal-launch strong{color:#fff;font-size:14px;font-weight:850;line-height:1.2;}
.premium-app .appointment-proposal-launch p{margin:0;color:#b9c8d6;font-size:12px;line-height:1.35;}
.premium-app .appointment-proposal-launch>button{
  grid-column:1 / -1;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:9px 12px;
  border:1px solid #ff8a1f;
  border-radius:8px;
  color:#121820;
  background:#ff8a1f;
  font:850 13px/1 "Segoe UI",Arial,sans-serif;
  cursor:pointer;
}
.premium-app .appointment-proposal-launch>button svg{width:18px;height:18px;}
.premium-app .appointment-proposal-launch>button:hover,
.premium-app .appointment-proposal-launch>button:focus-visible{background:#ffae5c;outline:2px solid rgba(255,138,31,.34);outline-offset:2px;}
.premium-app .appointment-proposal-launch.is-blocked{border-color:#3a5268;background:#091724;}
.premium-app .appointment-proposal-launch.is-blocked .appointment-proposal-launch-icon{border-color:#4b6072;color:#92a5b6;}
.premium-app .appointment-proposal-launch.is-blocked>button{border-color:#385067;color:#8ea2b4;background:#102033;cursor:not-allowed;}

@media(max-width:760px){
  .premium-app .ironflow-calendar-page .calendar-shell .appointment-inspector-v2{
    position:fixed!important;
    z-index:9300!important;
    top:max(10px,env(safe-area-inset-top))!important;
    right:10px!important;
    bottom:calc(78px + env(safe-area-inset-bottom))!important;
    left:10px!important;
    width:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-color:#47647c!important;
    border-radius:14px!important;
    box-shadow:0 0 0 100vmax rgba(1,7,12,.76),0 28px 80px rgba(0,0,0,.7)!important;
  }
  .premium-app .appointment-inspector-v2 .appointment-inspector-head{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    min-height:70px!important;
    padding:12px!important;
  }
  .premium-app .appointment-inspector-v2 .head h2{white-space:normal!important;font-size:17px!important;}
  .premium-app .appointment-inspector-v2 .head .pill{display:none!important;}
  .premium-app .appointment-inspector-v2 .compact-inspector-body{padding:12px!important;padding-bottom:18px!important;}
}
