html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"]{
  --dfc-bt-shell-x:28px;
  --dfc-bt-shell-bg:#f6f6f4;
  --dfc-bt-shell-ink:#09090b;
  --dfc-bt-shell-muted:#667085;
  --dfc-bt-shell-line:rgba(9,9,11,.10);
  --dfc-bt-shell-line-soft:rgba(15,23,42,.06);
  --dfc-bt-shell-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerpanel.dfd-appdrawer{
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
  background:var(--dfc-bt-shell-bg) !important;
  color:var(--dfc-bt-shell-ink) !important;
  font-family:var(--dfc-bt-shell-font) !important;
}

/* Block time should be operationally simple. Hide the generic create intro lane. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] [data-dfc-drawer-intro-section]{
  display:none !important;
}

/* True fixed header band */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerhead.dfd-appdrawer__head{
  position:sticky !important;
  top:0 !important;
  z-index:4 !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:16px var(--dfc-bt-shell-x) 16px !important;
  background:var(--dfc-bt-shell-bg) !important;
  border-bottom:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerheadcopy.dfd-appdrawer__headcopy{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
  flex:1 1 auto !important;
  gap:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawertitle.dfd-appdrawer__title,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawertitle{
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  font-family:var(--dfc-bt-shell-font) !important;
  font-size:20px !important;
  font-weight:600 !important;
  line-height:1.05 !important;
  letter-spacing:-0.02em !important;
  color:var(--dfc-bt-shell-ink) !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerclose{
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--dfc-bt-shell-ink) !important;
  font-family:var(--dfc-bt-shell-font) !important;
  font-size:20px !important;
  font-weight:400 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerclose:hover{
  background:rgba(17,24,39,.04) !important;
  color:#000 !important;
}

/* Only the middle content scrolls */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerbody.dfd-appdrawer__body{
  display:block !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
  padding:0 !important;
  background:var(--dfc-bt-shell-bg) !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] [data-dfc-drawer-create-section].dfd-appdrawer__section{
  display:grid !important;
  align-content:start !important;
  gap:18px !important;
  padding:20px var(--dfc-bt-shell-x) 22px !important;
  background:var(--dfc-bt-shell-bg) !important;
  border-top:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerlbl{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  font:700 12px/1 var(--dfc-bt-shell-font) !important;
  color:rgba(9,9,11,.36) !important;
  text-transform:uppercase !important;
  letter-spacing:.12em !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__drawerlbl::after{
  content:'' !important;
  flex:1 1 auto !important;
  height:1px !important;
  background:var(--dfc-bt-shell-line-soft) !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocklanehead{
  display:grid !important;
  gap:6px !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocklanehead .dfc-cal__drawerlbl--section.dfd-appdrawer__sectionlabel{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-family:'Helvena VF','Helvetica Neue',Arial,sans-serif !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
  color:#09090b !important;
  text-transform:none !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocklanehead .dfc-cal__drawerlbl--section.dfd-appdrawer__sectionlabel::after{
  display:none !important;
  content:none !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blockhelp{
  margin:0 !important;
  padding:0 !important;
  font:400 13px/1.35 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  letter-spacing:0 !important;
  color:rgba(9,9,11,.58) !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__creategrid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:16px 14px !important;
  padding:20px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:none !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] [data-dfc-blocktime-cardhead]{
  display:grid !important;
  grid-column:1 / -1 !important;
  gap:6px !important;
  margin:0 0 2px !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocktimecardtitle{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-family:'Helvena VF','Helvetica Neue',Arial,sans-serif !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.08 !important;
  letter-spacing:0 !important;
  color:#09090b !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocktimecardhelp{
  margin:0 !important;
  padding:0 !important;
  font:400 13px/1.4 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  color:rgba(9,9,11,.58) !important;
  letter-spacing:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__field{
  display:grid !important;
  gap:8px !important;
  align-content:start !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__field > span{
  display:block !important;
  margin:0 !important;
  padding-left:2px !important;
  font:600 13px/1.2 var(--dfc-bt-shell-font) !important;
  color:var(--dfc-bt-shell-muted) !important;
  letter-spacing:-0.01em !important;
  text-transform:none !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input[type="text"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input[type="search"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input[type="number"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input[type="time"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] select,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] textarea{
  width:100% !important;
  min-height:44px !important;
  height:44px !important;
  border-radius:12px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  background:#fff !important;
  padding:0 12px !important;
  outline:none !important;
  box-shadow:none !important;
  font:500 13px/1.2 var(--dfc-bt-shell-font) !important;
  color:#07111f !important;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input:hover,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] select:hover,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] textarea:hover{
  border-color:rgba(15,23,42,.12) !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] input:focus,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] select:focus,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] textarea:focus{
  border-color:rgba(37,42,52,.18) !important;
  box-shadow:0 0 0 4px rgba(37,42,52,.06) !important;
  background:#fff !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blocklane{
  display:grid !important;
  gap:12px !important;
  margin-top:2px !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blockchoices{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blockchoice{
  min-height:38px !important;
  padding:0 18px !important;
  border-radius:8px !important;
  border:0 !important;
  background:#e8e7e3 !important;
  color:#09090b !important;
  box-shadow:none !important;
  font:500 12px/1 var(--dfc-bt-shell-font) !important;
  letter-spacing:0 !important;
}

html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__blockchoice.is-active{
  background:rgba(7,17,31,.08) !important;
  color:#252A34 !important;
}

/* Footer/button ownership intentionally removed here.
 * Source of truth now lives in:
 * #dfc-primary-drawer-footer-system-v6143
 * This avoids Block time keeping an older gray/pill footer lane.
 */

@media (max-width: 860px){
  html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"]{
    --dfc-bt-shell-x:22px;
  }

  html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"][data-dfc-pending-action="block-time"] .dfc-cal__creategrid{
    grid-template-columns:minmax(0,1fr) !important;
  }
}
