/* HSRMed "Request a Demo" form (js/request-demo.js). Self-contained: every rule is scoped to #hsr-rad. */
#hsr-rad { position: fixed; inset: 0; margin: auto; height: fit-content; border: 0; border-radius: 14px; padding: 0; width: min(520px, 94vw); max-height: 92vh; overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3); color: #16232b; background: #fff; text-align: start;
  font: 15px/1.45 "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
#hsr-rad[lang="ar"] { font-family: "Noto Sans Arabic", Tahoma, "Open Sans", sans-serif; }
#hsr-rad::backdrop { background: rgba(0, 40, 58, .6); }
#hsr-rad *, #hsr-rad *::before, #hsr-rad *::after { box-sizing: border-box; }
#hsr-rad form, #hsr-rad #hsr-rad-done { padding: 28px; position: relative; margin: 0; }
#hsr-rad h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; color: #00283a; font-weight: 700; text-transform: none; }
#hsr-rad p { margin: 0 0 12px; }
#hsr-rad .hsr-rad-sub { margin: 0 0 16px; color: #5b6770; }
#hsr-rad label { display: block; font-weight: 600; margin: 12px 0 4px; color: #16232b; font-size: 15px; text-transform: none; }
#hsr-rad label span { font-weight: 400; color: #5b6770; }
#hsr-rad input:not([type=checkbox]), #hsr-rad select { display: block; width: 100%; height: auto; margin: 0; padding: 10px 12px;
  border: 1px solid #9aa9b3; border-radius: 8px; font: inherit; color: #16232b; background: #fff; }
#hsr-rad input:focus, #hsr-rad select:focus { outline: 2px solid #92c500; outline-offset: 1px; border-color: #00283a; }
#hsr-rad [aria-invalid="true"] { border-color: #b42318 !important; }
#hsr-rad small { display: block; color: #5b6770; font-size: 13px; margin-top: 4px; }
#hsr-rad small:empty { display: none; }
#hsr-rad small.err { color: #b42318; }
#hsr-rad .hsr-rad-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; margin-top: 16px; }
#hsr-rad .hsr-rad-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
#hsr-rad .hsr-rad-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
#hsr-rad .hsr-rad-submit { display: block; margin-top: 18px; width: 100%; background: #00283a; color: #fff; border: 0; border-radius: 8px;
  padding: 13px; font: 700 16px/1.2 inherit; font-family: inherit; cursor: pointer; text-transform: none; }
#hsr-rad .hsr-rad-submit:hover { background: #0a3a52; }
#hsr-rad .hsr-rad-submit:focus-visible { outline: 3px solid #92c500; outline-offset: 2px; }
#hsr-rad .hsr-rad-submit[disabled] { opacity: .6; cursor: wait; }
#hsr-rad .hsr-rad-x { position: absolute; top: 10px; inset-inline-end: 12px; background: none; border: 0; font-size: 28px; line-height: 1;
  padding: 4px 8px; cursor: pointer; color: #5b6770; }
#hsr-rad .hsr-rad-alert { background: #fdecea; border: 1px solid #f5c2bd; color: #7d1a12; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
#hsr-rad [hidden] { display: none !important; }

/* Spoken introduction shown before the form (js/request-demo.js, INTRO). */
#hsr-rad #hsr-rad-intro { padding: 28px; position: relative; }
#hsr-rad .hsr-rad-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #4f7a00; }
#hsr-rad .hsr-rad-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
#hsr-rad .hsr-rad-wave i { display: block; width: 3px; height: 4px; border-radius: 2px; background: #92c500; }
#hsr-rad #hsr-rad-intro.is-playing .hsr-rad-wave i { animation: hsr-rad-wave 0.9s ease-in-out infinite; }
#hsr-rad #hsr-rad-intro.is-playing .hsr-rad-wave i:nth-child(2) { animation-delay: .15s; }
#hsr-rad #hsr-rad-intro.is-playing .hsr-rad-wave i:nth-child(3) { animation-delay: .3s; }
#hsr-rad #hsr-rad-intro.is-playing .hsr-rad-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes hsr-rad-wave { 0%, 100% { height: 4px; } 50% { height: 14px; } }
#hsr-rad .hsr-rad-script { margin: 14px 0 0; }
#hsr-rad .hsr-rad-script p { margin: 0 0 12px; line-height: 1.6; color: #3d4a52; }
#hsr-rad .hsr-rad-s { border-radius: 4px; padding: 1px 2px; transition: background-color .25s, color .25s; }
#hsr-rad .hsr-rad-s.is-done { color: #16232b; }
#hsr-rad .hsr-rad-s.is-on { background: #eef7d6; color: #00283a; box-shadow: 0 0 0 2px #eef7d6; }
#hsr-rad .hsr-rad-note { background: #f1f5f8; border: 1px solid #d6e0e7; border-radius: 8px; padding: 10px 12px; color: #3d4a52; font-size: 14px; }
#hsr-rad .hsr-rad-progress { height: 4px; background: #e6edf1; border-radius: 2px; overflow: hidden; margin: 6px 0 0; }
#hsr-rad .hsr-rad-progress span { display: block; height: 100%; width: 0; background: #92c500; transition: width .4s ease; }
#hsr-rad .hsr-rad-controls { display: flex; gap: 10px; align-items: stretch; margin-top: 18px; }
#hsr-rad .hsr-rad-controls .hsr-rad-submit { margin-top: 0; flex: 1 1 auto; }
#hsr-rad .hsr-rad-toggle { flex: none; background: #fff; color: #00283a; border: 1.5px solid #00283a; border-radius: 8px; padding: 0 16px;
  font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; text-transform: none; }
#hsr-rad .hsr-rad-toggle:hover { background: #f1f5f8; }
#hsr-rad .hsr-rad-toggle:focus-visible, #hsr-rad .hsr-rad-listen:focus-visible { outline: 3px solid #92c500; outline-offset: 2px; }
#hsr-rad .hsr-rad-listen { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 10px; background: #f1f5f8;
  border: 1px solid #d6e0e7; border-radius: 999px; color: #00283a; font: 600 13px/1.2 inherit; font-family: inherit; cursor: pointer; text-transform: none; }
#hsr-rad .hsr-rad-listen:hover { background: #e6edf1; }
@media (max-width: 420px) { #hsr-rad .hsr-rad-controls { flex-direction: column; } #hsr-rad .hsr-rad-toggle { padding: 12px 16px; } }
@media (prefers-reduced-motion: reduce) { #hsr-rad .hsr-rad-wave i, #hsr-rad .hsr-rad-s, #hsr-rad .hsr-rad-progress span { animation: none !important; transition: none !important; } }
