/* Scoped ASL recorder and private viewer; matches MSAD's current palette. */
.msad-asl-dialog { color: #1b2d59; background: #fff; border: 0; border-radius: 18px; padding: 28px; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 24px 80px #0f193452; font: 16px/1.55 Inter, Arial, sans-serif; }
.msad-asl-dialog::backdrop { background: #0f1934ba; }
.msad-asl-dialog [hidden] { display: none !important; }
.msad-asl-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.msad-asl-eyebrow { margin: 0 0 8px; color: #52627f; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.msad-asl-dialog h2 { margin: 0; font: 700 clamp(24px, 4vw, 32px)/1.2 Inter, Arial, sans-serif; letter-spacing: -.03em; color: #1b2d59; }
.msad-asl-dialog p { margin: 12px 0; }
.msad-asl-dialog .msad-asl-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #ccd3df; border-radius: 50%; background: #fff; color: #1b2d59; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.msad-asl-screen { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #1b2d59; color: #fff; }
.msad-asl-screen video { display: block; width: 100%; height: 100%; object-fit: contain; background: #1b2d59; }
.msad-asl-screen video.is-camera { transform: scaleX(-1); }
.msad-asl-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; pointer-events: none; }
.msad-asl-placeholder span { font-size: 48px; color: #57df91; }
.msad-asl-timer { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; font-weight: 700; color: #fff; background: #142342; }
.msad-asl-record-dot { width: 10px; height: 10px; background: #ff9eb7; border-radius: 50%; }
.msad-asl-timer.is-warning { background: #7d1735; }
.msad-asl-status { min-height: 48px; color: #52627f; }
.msad-asl-status.is-error { color: #9a2345; font-weight: 600; }
.msad-asl-dialog.is-sent :is(.msad-asl-screen, .msad-asl-actions, #msad-asl-intro) { display: none; }
.msad-asl-dialog.is-sent .msad-asl-status { min-height:0; margin:24px 0; padding:18px 20px; border:1px solid #d4e7da; border-radius:10px; background:#edf6f0; color:#235b41; font-size:18px; font-weight:600; line-height:1.5; }
.msad-asl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.msad-asl-primary, .msad-asl-secondary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; font: 600 16px/1.4 Inter, Arial, sans-serif; cursor: pointer; }
.msad-asl-primary { background: #b23457; color: #fff; }
.msad-asl-primary:hover { background: #932441; color: #fff; }
.msad-asl-secondary { background: #edf0f5; color: #1b2d59; border-color: #ccd3df; }
.msad-asl-secondary:hover { background: #dde4ee; }
.msad-asl-dialog button:disabled { opacity: .6; cursor: wait; }
.msad-asl-dialog :is(button, input, a):focus-visible, .msad-asl-watch a:focus-visible { outline: 3px solid #2e7654; outline-offset: 3px; }
.msad-asl-dialog form { border-top: 1px solid #dce1e9; margin-top: 22px; padding-top: 20px; }
.msad-asl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msad-asl-fields label { display: block; font-weight: 700; margin-bottom: 7px; }
.msad-asl-fields label span { color: #52627f; font-weight: 400; }
.msad-asl-fields input { display: block; width: 100%; background: #fff; color: #1b2d59; padding: 12px; min-height: 48px; border: 1px solid #aeb9ca; border-radius: 8px; font: inherit; }
.msad-asl-dialog #msad-asl-email-help { color: #52627f; font-size: 14px; }
.msad-asl-dialog .msad-asl-privacy { border-top: 1px solid #dce1e9; padding-top: 16px; margin-top: 20px; color: #52627f; font-size: 14px; }
.msad-asl-trap { position: absolute; left: -10000px; }
.msad-asl-dialog progress { display: block; width: 100%; margin-top: 15px; accent-color: #2e7654; }
.msad-contact-security-status { grid-column: 1 / -1; margin: 12px 0 0; color: #9a2345; font: 600 14px/1.5 Inter, Arial, sans-serif; }
.msad-contact-security-status:empty { display: none; }
#msad-written-turnstile { grid-column: 1 / -1; }
.msad-contact-privacy-link { grid-column: 1 / -1; margin: 12px 0; font: 14px/1.5 Inter, Arial, sans-serif; }
.msad-contact-privacy-link a { color: #31577e; text-decoration: underline; }
.msad-asl-watch { margin: 0; background: #edf0f5; color: #1b2d59; font: 16px/1.6 Inter, Arial, sans-serif; }
.msad-asl-watch main { max-width: 960px; margin: 40px auto; padding: 28px; background: #fff; border-radius: 18px; }
.msad-asl-watch .msad-asl-brand { font-size: 28px; font-weight: 800; color: #1b2d59; text-decoration: none; }
.msad-asl-watch h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; letter-spacing: -.03em; }
.msad-asl-watch video { display: block; width: 100%; max-height: 65vh; background: #1b2d59; border-radius: 12px; }
.msad-asl-reply-section { border-top: 1px solid #dce1e9; margin-top: 24px; padding-top: 16px; }
.msad-asl-reply-section h2 { margin: 0; font-size: 24px; line-height: 1.3; }
@media (max-width: 540px) { .msad-asl-dialog { padding: 20px; } .msad-asl-fields { grid-template-columns: 1fr; } .msad-asl-actions > button { flex-grow: 1; } .msad-asl-watch main { margin: 12px; padding: 20px; } }
