.dsbp {
  --dsbp-ink: #1b2a34;
  --dsbp-muted: #4f626d;
  --dsbp-accent: #0069a1;
  --dsbp-line: #dbe5eb;
  --dsbp-tint: #edf5fa;
  max-width: 740px;
  margin: 16px auto;
  border: 1px solid var(--dsbp-line);
  border-radius: 16px;
  background: #fff;
  color: var(--dsbp-ink);
  box-shadow: 0 8px 24px rgba(23, 61, 82, .06);
  font-size: 15px;
  line-height: 1.4;
}
.dsbp [hidden] { display: none !important; }
.entry-content .important-block:has(+ .dsbp) {
  margin-block-end: 0;
  padding-block: 24px;
}
.entry-content .important-block:has(+ .dsbp) > .wp-block-group__inner-container {
  padding-block: 0;
}
.entry-content .important-block:has(+ .dsbp) > :first-child,
.entry-content .important-block:has(+ .dsbp) > .wp-block-group__inner-container > :first-child {
  margin-block-start: 0;
}
.entry-content .important-block:has(+ .dsbp) > p:last-child,
.entry-content .important-block:has(+ .dsbp) > .wp-block-group__inner-container > p:last-child {
  margin-block-end: 0;
}
.entry-content .important-block + .dsbp { margin-block-start: 8px; }
.tech-intro-calendar:has(.dsbp) { flex: 1 1 0; min-width: 0; width: 100%; }
.tech-intro-calendar .dsbp { box-sizing: border-box; width: 100%; }
.dsbp-header {
  padding: 18px 24px 14px;
  background: #fbfdfe;
  border-bottom: 1px solid var(--dsbp-line);
  border-radius: 15px 15px 0 0;
}
.dsbp .dsbp-header h2 { margin: 0 0 4px; font-size: clamp(21px, 3vw, 25px); font-weight: 650; letter-spacing: -.02em; color: var(--dsbp-ink); }
.dsbp .dsbp-header p { margin: 0; color: var(--dsbp-muted); }
.dsbp .dsbp-header .dsbp-preview { margin-top: 5px; font-size: 12px; }
.dsbp-form { display: grid; gap: 10px; margin: 0; padding: 16px 24px 20px; }
.dsbp .dsbp-schedule-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dsbp label { display: grid; gap: 4px; min-width: 0; font-size: 14px; font-weight: 600; }
.dsbp select, .dsbp input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #a2b3bd;
  border-radius: 8px;
  background: #fff;
  color: var(--dsbp-ink);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}
.dsbp select:focus-visible, .dsbp input:focus-visible, .dsbp button:focus-visible { outline: 2px solid var(--dsbp-accent); outline-offset: 2px; }
.dsbp button {
  min-height: 36px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--dsbp-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dsbp button:not(:disabled):hover { filter: brightness(.9); }
.dsbp button:disabled { cursor: default; opacity: .55; }
.dsbp-schedule-columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.dsbp-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dsbp-month { color: var(--dsbp-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.dsbp .dsbp-month-nav button, .dsbp .dsbp-back { background: #fff; border-color: var(--dsbp-line); color: var(--dsbp-accent); }
.dsbp .dsbp-month-nav button { display: grid; place-items: center; box-sizing: border-box; width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 10px; }
.dsbp .dsbp-month-nav button::before { content: ""; width: 8px; height: 12px; background: currentColor; clip-path: polygon(22% 0, 0 15%, 65% 50%, 0 85%, 22% 100%, 100% 50%); }
.dsbp .dsbp-month-nav .dsbp-prev::before { transform: scaleX(-1); }
@media (forced-colors: active) {
  .dsbp .dsbp-month-nav button::before { forced-color-adjust: none; background: ButtonText; }
}
.dsbp-day-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.dsbp-day-grid span { color: var(--dsbp-muted); font-size: 12px; }
.dsbp .dsbp-day-grid button, .dsbp .dsbp-time-list button { padding: 0; background: var(--dsbp-tint); color: var(--dsbp-accent); }
.dsbp .dsbp-day-grid button:disabled { background: transparent; color: var(--dsbp-muted); font-weight: 400; }
.dsbp .dsbp-day-grid button[aria-pressed=true], .dsbp .dsbp-time-list button[aria-pressed=true] { background: var(--dsbp-accent); color: #fff; }
.dsbp-time-picker { display: flex; flex-direction: column; min-width: 0; padding: 12px; border: 1px solid var(--dsbp-line); border-radius: 12px; background: #f8fbfd; }
.dsbp .dsbp-time-heading { margin: 0 0 6px; color: var(--dsbp-muted); font-size: 13px; }
.dsbp-time-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.dsbp .dsbp-continue { width: 100%; margin-top: 7px; }
.dsbp .dsbp-request-recording { width: 100%; margin-top: 7px; background: #fff; border-color: var(--dsbp-line); color: var(--dsbp-accent); }
.dsbp .dsbp-timezone { display: flex; align-self: flex-end; align-items: center; gap: 6px; max-width: 100%; margin-top: auto; padding-top: 10px; color: var(--dsbp-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.dsbp .dsbp-timezone select { width: auto; max-width: min(11rem, 100%); min-height: 30px; padding: 2px 4px 2px 7px; border-color: var(--dsbp-line); color: var(--dsbp-accent); font-size: 13px; text-overflow: ellipsis; }
.dsbp fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
.dsbp legend { margin-bottom: 7px; padding: 0; font-size: 18px; font-weight: 600; }
.dsbp-selection-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; grid-column: 1 / -1; background: var(--dsbp-tint); border-radius: 6px; padding: 4px 8px; color: var(--dsbp-muted); font-size: 13px; }
.dsbp .dsbp-inperson, .dsbp .dsbp-details button[type=submit] { grid-column: 1 / -1; }
.dsbp .dsbp-status, .dsbp .dsbp-inperson { margin: 0; }
.dsbp-status:empty { display: none; }
@media (max-width: 600px) {
  .dsbp-header, .dsbp-form { padding-left: 12px; padding-right: 12px; }
  .dsbp-schedule-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dsbp .dsbp-month-nav button { width: 44px; height: 44px; }
  .dsbp fieldset { grid-template-columns: minmax(0, 1fr); }
  .dsbp button, .dsbp select, .dsbp input { min-height: 44px; }
  .dsbp select, .dsbp input { font-size: 16px; }
  .dsbp .dsbp-timezone select { min-height: 44px; font-size: 16px; }
}
.dsbp fieldset.dsbp-solutions { grid-column: 1 / -1; gap: 5px 12px; }
.dsbp .dsbp-solutions legend { margin-bottom: 5px; font-size: 14px; }
.dsbp .dsbp-solutions label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.dsbp .dsbp-solutions input { appearance: auto; width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--dsbp-accent); }
.dsbp label small { color: var(--dsbp-muted); font-size: 12px; font-weight: 400; }
.dsbp .dsbp-duration { grid-column: 1 / -1; margin: 0; color: var(--dsbp-muted); font-size: 13px; }
@media (max-width: 600px) { .dsbp .dsbp-solutions label { min-height: 44px; } }

.dsbp fieldset.dsbp-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; align-items: start; }
.dsbp .dsbp-details label { gap: 3px; }
.dsbp .dsbp-details > label > :is(input, select) { width: 100%; max-width: none; justify-self: stretch; }
.dsbp .dsbp-details label select { text-overflow: ellipsis; }
.dsbp fieldset.dsbp-solutions { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.dsbp .dsbp-solutions legend { margin-bottom: 3px; }
.dsbp .dsbp-details-footer { display: grid; grid-template-columns: minmax(0, 1fr) 165px; grid-column: 1 / -1; align-items: center; gap: 8px 12px; }
.dsbp .dsbp-details-footer button[type=submit] { grid-column: auto; width: 100%; }
.dsbp .dsbp-notes { min-width: 0; color: var(--dsbp-muted); font-size: 13px; }
.dsbp .dsbp-notes p { margin: 0; }
.dsbp .dsbp-notes { min-height: 2.8em; }
.dsbp-form:has(.dsbp-details:not([hidden])) .dsbp-status { display: block; min-height: 1.4em; font-size: 13px; }
.dsbp .dsbp-status-error:not(:empty) { padding: 8px 10px; border-left: 3px solid #ae3c35; background: #fff3f2; color: #7e2824; }
.dsbp-confirmation { display: grid; gap: 15px; padding: 20px 22px; }
.dsbp-confirmation-header { display: flex; align-items: flex-start; gap: 11px; }
.dsbp-confirmation-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--dsbp-tint); color: var(--dsbp-accent); font-size: 20px; font-weight: 700; }
.dsbp .dsbp-confirmation h3 { margin: 0 0 3px; font-size: clamp(19px, 3vw, 23px); line-height: 1.25; font-weight: 650; }
.dsbp .dsbp-confirmation-message { margin: 0; color: var(--dsbp-muted); }
.dsbp .dsbp-confirmation-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 12px 14px; margin: 0; border: 1px solid var(--dsbp-line); border-radius: 8px; background: var(--dsbp-tint); }
.dsbp-confirmation-details dt { color: var(--dsbp-muted); font-size: 12px; }
.dsbp-confirmation-details dd { margin: 2px 0 0; color: var(--dsbp-ink); font-weight: 600; overflow-wrap: anywhere; }
.dsbp-confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dsbp .dsbp-start-over { border-color: var(--dsbp-line); color: var(--dsbp-accent); background: #fff; }
.dsbp .dsbp-confirmation-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; background: var(--dsbp-accent); color: white; font-weight: 600; text-decoration: none; }
.dsbp .dsbp-confirmation-link:focus-visible { outline: 2px solid var(--dsbp-accent); outline-offset: 2px; }
@media (max-width: 600px) {
  .dsbp fieldset.dsbp-details { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dsbp .dsbp-details-footer { grid-template-columns: minmax(0, 1fr); }
  .dsbp .dsbp-solutions label { min-height: 40px; }
  .dsbp-form:has(.dsbp-details:not([hidden])) .dsbp-status { min-height: 2.8em; }
  .dsbp-confirmation { padding: 15px 12px; }
  .dsbp .dsbp-confirmation-link { min-height: 44px; }
}
@media (max-width: 380px) { .dsbp .dsbp-confirmation-details { grid-template-columns: minmax(0, 1fr); } }
