html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]){
  --dfc-create-line:rgba(15,23,42,.06);
}

/* Fixed header row with its own visual boundary. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerhead.dfd-appdrawer__head{
  padding:16px 28px 16px !important;
  border-bottom:1px solid rgba(9,9,11,.10) !important;
  background:#f6f6f4 !important;
}

/* Only the body scrolls; first section starts cleanly below the true header. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbody.dfd-appdrawer__body{
  padding-top:0 !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawersection--intro.dfd-appdrawer__section,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) [data-dfc-drawer-create-section].dfd-appdrawer__section{
  padding-top:18px !important;
}

/* Real small divider labels, same class lane as the rest of DockFlow. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerlbl{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  font:700 13px/1 var(--dfc-cal-font) !important;
  color:rgba(7,17,31,.36) !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerlbl::after{
  content:'' !important;
  flex:1 1 auto !important;
  height:1px !important;
  background:var(--dfc-create-line) !important;
}

/* Shared create field rhythm, closer to the approved DockFlow form controls. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([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"]:not([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-cal-font) !important;
  color:#667085 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) input[type="text"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) input[type="search"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) input[type="number"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) input[type="time"],
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) select,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([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;
  font:600 13px/1.3 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  color:#07111f !important;
  outline:none !important;
  box-shadow:none !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) input:hover,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) select:hover,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([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"]:not([data-dfc-pending-action="block-time"]) input:focus,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) select:focus,
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) textarea:focus{
  border-color:rgba(37,99,235,.32) !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.10) !important;
}

/* Real footer button lane + wrapper from the approved Tour drawer. */
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerfootmenuwrap.dfd-appdrawer__menuwrap{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  margin-left:0 !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn.dfd-appdrawer__button{
  height:38px !important;
  padding:0 22px !important;
  border-radius:8px !important;
  border:0 !important;
  font:450 12px/1 var(--dfc-cal-font) !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn.dfd-appdrawer__button--soft{
  background:#e6e6e4 !important;
  color:#09090b !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn.dfd-appdrawer__button--soft:hover{
  background:#ddddda !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn.dfd-appdrawer__button--dark{
  background:#000 !important;
  color:#fff !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn.dfd-appdrawer__button--dark:hover{
  background:#111 !important;
}
html body .dfc-cal__drawer[data-dfc-drawer-shell="primary"][data-dfc-drawer-mode="create"]:not([data-dfc-pending-action="block-time"]) .dfc-cal__drawerbtn--menu.dfd-appdrawer__button--menu{
  min-width:106px !important;
  padding:0 20px !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
}
