.modal-card:has(.os-structured-form){width:min(920px,calc(100vw - 32px));max-height:min(900px,calc(100dvh - 32px));border:1px solid rgba(139,113,240,.28);box-shadow:0 30px 90px rgba(0,0,0,.56),0 0 70px rgba(116,88,224,.08)}
.modal-card:has(.os-structured-form) .modal-body{padding:0;overflow:auto;scrollbar-gutter:stable}
.modal-card:has(.os-structured-form) .modal-footer{position:sticky;bottom:0;z-index:5;border-top:1px solid rgba(255,255,255,.08);background:rgba(29,30,32,.94);backdrop-filter:blur(18px)}
.os-structured-form{display:grid;gap:16px;padding:20px;background:radial-gradient(circle at 100% 0,rgba(112,86,219,.1),transparent 34%)}
.os-form-intro{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid rgba(139,113,240,.25);border-radius:16px;background:linear-gradient(135deg,rgba(119,91,222,.15),rgba(71,196,185,.06))}
.os-form-intro>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:rgba(128,101,231,.18);color:#b7a7ff;font-size:20px}
.os-form-intro strong{display:block;color:#f4f2fb;font-size:14px;line-height:1.45}
.os-form-intro p{margin:4px 0 0;color:#aaa8b4;font-size:12px;line-height:1.55}
.os-form-section{display:grid;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.027),rgba(255,255,255,.012))}
.os-form-section>header{display:flex;gap:12px;align-items:center;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.065)}
.os-form-section>header>b{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid rgba(133,108,231,.26);border-radius:11px;background:rgba(125,96,226,.11);color:#ad9bfd;font-size:11px;letter-spacing:.08em}
.os-form-section>header h3{margin:0;color:#f4f3f8;font-size:14px;font-weight:720}
.os-form-section>header p{margin:3px 0 0;color:#8f8d98;font-size:11px;line-height:1.4}
.os-structured-form label{display:grid;gap:7px;color:#dbdae1;font-size:12px;font-weight:620;line-height:1.35}
.os-structured-form label small{color:#85828e;font-size:10px;font-weight:450;line-height:1.45}
.os-structured-form .input{width:100%;min-height:44px;border-color:rgba(255,255,255,.11);border-radius:12px;background:#18191c;color:#f2f1f5;font-size:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.os-structured-form textarea.input{min-height:88px;padding:12px 13px;line-height:1.55;resize:vertical}
.os-structured-form .input::placeholder{color:#686671}
.os-structured-form .input:hover{border-color:rgba(156,133,240,.32);background:#1b1c20}
.os-structured-form .input:focus{border-color:#8971e9;box-shadow:0 0 0 3px rgba(126,98,231,.14);outline:0}
.os-structured-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.os-structured-form .form-grid-text{align-items:start}
.os-structured-form .os-field-medium{max-width:calc(50% - 7px)}
.os-upload-field{padding:13px;border:1px dashed rgba(151,132,229,.26);border-radius:13px;background:rgba(121,98,211,.035)}
.os-upload-field>span{color:#d9d6e2}
.os-upload-field input[type=file]{padding:8px}
.os-upload-field input[type=file]::file-selector-button{margin-right:10px;padding:8px 12px;border:0;border-radius:8px;background:#34303f;color:#dcd7ef;font-weight:650;cursor:pointer}
@media(max-width:700px){.modal-card:has(.os-structured-form){width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.os-structured-form{padding:12px}.os-form-section{padding:14px}.os-structured-form .form-grid{grid-template-columns:1fr}.os-structured-form .os-field-medium{max-width:none}}
