/* Match the existing blue forms; keep account typography clear and restrained. */
#yt77-settings-dialog{
  box-sizing:border-box!important;
  width:min(640px,calc(100% - 32px))!important;
  max-width:640px!important;
  max-height:calc(100dvh - 32px)!important;
  margin:auto!important;
  padding:28px!important;
  background:linear-gradient(135deg,#193b60,#0d223c)!important;
  color:#eef5ff!important;
  border:1px solid #91b9ee!important;
  border-radius:18px!important;
  color-scheme:dark;
  font:400 16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  letter-spacing:normal!important;
  overflow:auto;
  overflow-wrap:anywhere;
  text-align:start;
}
#yt77-settings-dialog,
#yt77-settings-dialog *{
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}
#yt77-settings-dialog :is(h1,h2,h3,h4,p,span,div,section,label,a,legend,small,strong,button){
  color:#eef5ff!important;
  -webkit-text-fill-color:#eef5ff!important;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  letter-spacing:normal!important;
}
#yt77-settings-dialog h2{font-size:24px!important;line-height:1.35!important;font-weight:600!important;margin:0 0 22px!important}
#yt77-settings-dialog h3{font-size:20px!important;line-height:1.5!important;font-weight:600!important;margin:0 0 16px!important}
#yt77-settings-dialog :is(p,label,small,.hint){font-size:16px!important;line-height:1.65!important;font-weight:400!important}
#yt77-settings-dialog :is(section,div,p,label){background:transparent!important}
#yt77-settings-dialog section{padding:0!important;border:0!important}
#yt77-settings-dialog p{margin:0 0 18px!important}
#yt77-settings-dialog a{text-decoration:underline!important;text-underline-offset:3px}
#yt77-settings-dialog button,
#yt77-settings-dialog [data-delete-choice],
#yt77-settings-dialog #pa68-delete-request{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  padding:12px 18px!important;
  margin:12px 0 0!important;
  border:1px solid #91b9ee!important;
  border-radius:10px!important;
  background:#1d4ed8!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:500!important;
  white-space:normal;
  overflow-wrap:anywhere;
}
#yt77-settings-dialog button:hover:enabled{background:#1742b5!important}
#yt77-settings-dialog button:disabled,#yt77-settings-dialog #pa68-delete-request:disabled{background:#20344f!important;border-style:dashed!important;cursor:not-allowed}
#yt77-settings-dialog :is(button,a,input):focus-visible{outline:3px solid #c2e4ff!important;outline-offset:4px!important}
#yt77-settings-dialog label.pa61-check{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:20px 0!important}
#yt77-settings-dialog input[type=checkbox]{appearance:auto!important;accent-color:#93c5fd;width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px!important;padding:0!important;margin:2px 0 0!important}
#yt77-settings-dialog::backdrop{background:rgba(3,12,26,.75);backdrop-filter:none;-webkit-backdrop-filter:none}
#yt77-settings-dialog [hidden]{display:none!important}
#pa68-settings-open{font:500 16px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-shadow:none!important;filter:none!important;color:#fff!important;background:#123050!important;border:1px solid #91b9ee!important;opacity:1!important;padding:11px 16px!important}
/* Use the same weights on every enquiry step, including step three. */
[data-panel=account] :is(h2,h3,h4,strong,b),
.yt77-wizard :is(h2,h3,h4,strong,b),
.yt77-wizard-header,
.yt77-review dt,
.yt76-receipt strong{font-weight:600!important;text-shadow:none!important;filter:none!important;letter-spacing:normal!important}
.yt77-wizard-header{font-size:1.15em;line-height:1.5}
.yt77-steps li{font-weight:400!important}
.yt77-step :is(label,p,legend),.yt77-review dd{font-weight:400!important;text-shadow:none!important;filter:none!important}
.yt77-wizard-nav button{font-weight:500!important}
@media(max-width:520px){
  #yt77-settings-dialog{width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:20px!important;border-radius:14px!important}
  #yt77-settings-dialog h2{font-size:23px!important}
}
