.ftmp-invite{grid-column:1/-1;display:flex;align-items:center;gap:26px;padding:30px 32px;border:1px solid #dce5ef;border-radius:22px;background:linear-gradient(120deg,#f8edf0 0%,#fff 48%,#edf4fa 100%);color:#102c49;position:relative;overflow:hidden}
.ftmp-invite__icon{display:grid;place-items:center;width:70px;height:70px;flex-shrink:0;border-radius:22px;background:#fff;border:1px solid #dce5ef;color:#a52537;transform:rotate(-6deg)}
.ftmp-invite svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.ftmp-invite__icon svg{width:34px;height:34px}.ftmp-invite__copy{flex:1;min-width:0}.ftmp-invite__copy small{color:#a52537;font-weight:750}.ftmp-invite h3{margin:6px 0 8px;font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.8}.ftmp-invite p{margin:0;color:#586a80;font-size:.88rem;line-height:2}
.ftmp-invite a,.ftmp-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 22px;border:0;border-radius:13px;background:#a52537;color:#fff;font:inherit;font-weight:750;text-decoration:none;cursor:pointer;white-space:nowrap}
.ftmp-invite a:hover,.ftmp-submit:hover{background:#831c2b;color:#fff}.ftmp-invite a svg{width:18px;height:18px}.ftmp-submit:disabled{opacity:.6;cursor:wait}
.ftmp-dialog{box-sizing:border-box;width:min(780px,calc(100% - 32px));max-width:780px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dce5ef;border-radius:24px;box-shadow:0 24px 100px #0e294448;background:#fff;color:#102c49;direction:rtl;overflow:auto;overscroll-behavior:contain}
.ftmp-dialog:not([open]){display:none}.ftmp-dialog::backdrop{background:rgba(11,29,48,.56)}
.ftmp-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:2;padding:20px 26px;border-bottom:1px solid #e1e8f0;background:#fff}
.ftmp-dialog__head h2{font-size:1.3rem;margin:0;line-height:1.8}.ftmp-dialog__head small{color:#a52537}.ftmp-dialog__close{display:grid;place-items:center;min-width:44px;width:44px;height:44px;border:1px solid #dce5ef;border-radius:12px;background:#f5f8fb;color:#102c49;font-size:26px;cursor:pointer}
.ftmp-suggest-form{padding:0 26px 26px;font:inherit}.ftmp-suggest-form *{box-sizing:border-box}.ftmp-form-intro{font-size:.85rem;line-height:2;color:#5b6e84;margin:22px 0}.ftmp-suggest-form fieldset{min-width:0;padding:0;border:0;margin:26px 0}.ftmp-suggest-form legend{font-weight:800;font-size:1rem;margin-bottom:16px}.ftmp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ftmp-field{display:flex;flex-direction:column;gap:8px;min-width:0;color:#18344e;font-size:.82rem;font-weight:650}.ftmp-field small,.ftmp-check small{color:#a52537}.ftmp-field--wide{grid-column:1/-1}
.ftmp-field input,.ftmp-field textarea{display:block;width:100%;min-width:0;min-height:46px;margin:0;padding:11px 12px;border:1px solid #cfdae7;border-radius:11px;background:#fff;color:#102c49;font:inherit;font-weight:400;line-height:1.8;box-shadow:none}.ftmp-field textarea{resize:vertical;min-height:96px}
.ftmp-suggest-form :focus-visible,.ftmp-dialog :focus-visible,.ftmp-invite :focus-visible{outline:3px solid #8aa8f4;outline-offset:3px}.ftmp-field [aria-invalid=true]{border-color:#b51e38;background:#fff8f9}
.ftmp-form-details{border:1px solid #dce5ef;border-radius:14px;margin:16px 0;background:#fff}.ftmp-form-details summary{min-height:52px;padding:14px 16px;font-size:.83rem;font-weight:700;cursor:pointer;line-height:1.9}.ftmp-form-details summary span{color:#75849a;font-size:.72rem;font-weight:400;margin-inline-start:8px}.ftmp-form-details .ftmp-form-grid{padding:12px 18px 22px}
.ftmp-check{display:flex;align-items:flex-start;gap:10px;margin:17px 0;color:#425970;font-size:.82rem;line-height:2;cursor:pointer}.ftmp-check input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;margin:5px 0 0;accent-color:#a52537}.ftmp-field-note{font-size:.75rem;font-weight:400;line-height:2;color:#667b91;margin:0}
.ftmp-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid #e1e8f0;padding-top:20px}.ftmp-form-actions>span{font-size:.74rem;color:#667b91}.ftmp-refresh{background:transparent;border:0;color:#a52537;min-height:44px;text-decoration:underline;font:inherit;cursor:pointer}.ftmp-refresh[hidden]{display:none}
.ftmp-form-message:not(:empty){padding:14px 16px;margin:18px 0;border-radius:12px;border:1px solid #c0dfd2;background:#effaf4;color:#216549;font-size:.86rem;line-height:2}.ftmp-form-message.is-error{background:#fff4f5;border-color:#edc8cf;color:#9c2133}.ftmp-form-message p{margin:4px 0}.ftmp-trap{position:absolute!important;left:0!important;top:0!important;clip-path:inset(50%)!important;clip:rect(0,0,0,0)!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ftmp-standalone{margin:0;padding:24px;background:#f4f7fb;color:#102c49;font-family:Tahoma,sans-serif}.ftmp-standalone main{max-width:780px;margin:auto;padding:24px;border:1px solid #dce5ef;border-radius:24px;background:#fff}.ftmp-standalone h1{font-size:1.5rem}.ftmp-standalone .ftmp-suggest-form{padding:0}
@media(max-width:760px){.ftmp-invite{padding:24px 20px;gap:16px;flex-wrap:wrap}.ftmp-invite__icon{width:52px;height:52px;border-radius:16px}.ftmp-invite__icon svg{width:28px;height:28px}.ftmp-invite__copy{flex-basis:calc(100% - 70px)}.ftmp-invite a{width:100%;font-size:.85rem}.ftmp-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.ftmp-dialog__head{padding:16px}.ftmp-dialog__head h2{font-size:1.08rem}.ftmp-suggest-form{padding:0 16px 20px}.ftmp-form-grid{grid-template-columns:1fr;gap:15px}.ftmp-field input,.ftmp-field textarea{font-size:16px}.ftmp-form-details .ftmp-form-grid{padding:8px 14px 18px}.ftmp-form-actions .ftmp-submit{width:100%}.ftmp-form-actions>span{width:100%;text-align:center}.ftmp-standalone{padding:10px}.ftmp-standalone main{padding:18px}}
@media(prefers-reduced-motion:reduce){.ftmp-dialog,.ftmp-invite{scroll-behavior:auto}}
