@font-face{font-family:TGML Text;src:url(assets/red-hat-text.ttf) format('truetype');font-weight:300 700;font-display:swap}
@font-face{font-family:TGML Display;src:url(assets/red-hat-display.ttf) format('truetype');font-weight:300 700;font-display:swap}
/* Matches the existing Tehing.ee handbook dialog; MailerLite transport is unchanged. */
.tg-ml-dialog{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-width:640px;max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:1px solid #C5D3DE;border-radius:24px;background:#fff;color:#000D10;font:400 18px/1.65 'TGML Text',Arial,sans-serif;font-synthesis:none;overflow:auto;overscroll-behavior:contain;scrollbar-color:#9FB0BF #fff}
.tg-ml-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.tg-ml-dialog .tg-ml-content{overflow:auto;min-height:0;padding:4px;scrollbar-gutter:stable}
.tg-ml-dialog *{box-sizing:border-box}
.tg-ml-dialog::backdrop{background:rgb(0 13 16 / .6)}
.tg-ml-dialog header{display:flex;justify-content:flex-end;flex-shrink:0;margin:0;padding:0;border:0}
.tg-ml-dialog button,.tg-ml-dialog input{font-family:'TGML Text',sans-serif!important}
.tg-ml-dialog .tg-ml-close{min-height:44px;margin:0 0 0 auto;padding:8px;border:0;border-radius:8px;background:#fff;color:#000D10;font-size:16px;font-weight:400;line-height:24px;cursor:pointer;white-space:nowrap}
.tg-ml-dialog .row-form,.tg-ml-dialog .row-success{padding:0}
.tg-ml-dialog h2{margin:0 0 24px;font:500 clamp(28px,calc(24.576px + 1.071vw),40px)/1.2 'TGML Display',sans-serif;letter-spacing:-.025em;text-wrap:balance;max-width:30ch;overflow-wrap:break-word}
.tg-ml-dialog p{margin:0}
.tg-ml-dialog .ml-form-embedContent{margin-bottom:20px}
.tg-ml-dialog .ml-form-embedContent p{color:#4E5866}
.tg-ml-dialog .ml-form-fieldRow{margin-bottom:20px}
.tg-ml-dialog .ml-last-item{margin-bottom:16px}
.tg-ml-dialog label{display:block;margin-bottom:8px;font-size:16px;line-height:24px;font-weight:500}
.tg-ml-dialog input:not([type=hidden]){display:block;width:100%;min-width:0;min-height:50px;padding:12px 16px;background:#fff;color:#000D10;border:1px solid #4E5866;border-radius:24px;font-size:16px;line-height:24px;caret-color:#000D10}
.tg-ml-dialog input::placeholder{color:#4E5866;opacity:1}
.tg-ml-dialog input[aria-invalid=true]{border-color:#B3261E}
.tg-ml-dialog .tg-ml-field-error{margin:8px 0 0;font-size:16px;line-height:1.5;color:#B3261E}
.tg-ml-dialog .privacy-policy{margin:0 0 20px;font-size:16px;line-height:1.5;color:#4E5866}
.tg-ml-dialog .privacy-policy p+p{margin-top:16px}
.tg-ml-dialog a{color:inherit;text-decoration:underline;text-underline-offset:5px}
.tg-ml-dialog .ml-form-recaptcha{margin:20px 0 24px;max-width:100%}
.tg-ml-dialog .ml-form-embedSubmit button,.tg-ml-dialog .tg-ml-success-close{width:auto;min-height:56px;padding:14px 24px;border:2px solid #000D10;border-radius:999px;background:#000D10;color:#fff;font-size:16px;line-height:24px;font-weight:600;cursor:pointer}
.tg-ml-dialog .tg-ml-close:hover{background:#D8E6F0}
.tg-ml-dialog .ml-form-embedSubmit button:hover,.tg-ml-dialog .tg-ml-success-close:hover{background:#1C2A36;border-color:#1C2A36}
.tg-ml-dialog button:disabled{cursor:wait;opacity:.65}
.tg-ml-dialog footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px;padding:0 4px;border:0;font-size:12px;line-height:1.5;color:#4E5866}
.tg-ml-dialog :focus-visible{outline:3px solid #4E5866;outline-offset:3px}
.tg-ml-dialog ::selection{background:#D8E6F0;color:#000D10}
.tg-ml-dialog .tg-ml-status{padding:12px 0;color:#B3261E;font-size:16px;line-height:1.5}
.tg-ml-dialog .row-success{min-height:230px}
.tg-ml-dialog .row-success p{margin-bottom:24px}
.tg-ml-dialog .row-success:focus{outline:none}
.tg-ml-dialog .ml-server-error{display:none}
@media(max-width:599px){.tg-ml-dialog{padding:20px}.tg-ml-dialog .ml-form-embedSubmit button,.tg-ml-dialog .tg-ml-success-close{width:100%}}
.tg-ml-dialog .ml-form-recaptcha{overflow:hidden}

/* Failed reCAPTCHA fallback cannot submit; keep its unusable 422px frame out of the form. */
.tg-ml-dialog [hidden]{display:none!important}
.tg-ml-dialog .tg-ml-retry{display:block;margin:8px 0 20px;padding:10px 16px;min-height:44px;border:1px solid #4E5866;border-radius:999px;background:#fff;color:#000D10;font:500 16px/24px 'TGML Text',sans-serif;cursor:pointer}
