.maf-research{box-sizing:border-box;width:min(36rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);margin:auto;padding:0;overflow:auto;border:1px solid #69449a;border-radius:1.25rem;background:#0b0b18;color:#f4f2fb;box-shadow:0 24px 80px #0009;text-align:left}.maf-research::backdrop{background:rgb(5 5 12/60%);backdrop-filter:blur(2px)}.maf-research-panel{position:relative;padding:1.75rem 2rem;background:radial-gradient(ellipse at 50% 0,#7425bd1a,transparent 65%)}.maf-research-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px;padding-right:36px}.maf-research h2{font-size:24px;line-height:1.3;letter-spacing:-.3px;margin:0 0 7px;font-weight:650;color:#f6f2ff}.maf-research p{font-size:14px;line-height:1.5;color:#b9b1cc;margin:0}.maf-research button{font:inherit;cursor:pointer;transition:background .15s,border-color .15s;min-height:44px}.maf-research button:focus-visible,.maf-research input:focus-visible{outline:2px solid #ceadff;outline-offset:3px}.maf-research button:disabled{opacity:.5;cursor:default}.maf-research-close{position:absolute;top:8px;right:8px;width:44px;border:0;border-radius:8px;background:transparent;color:#ccc0df;font-size:26px!important;line-height:1}.maf-research-close:hover{background:#ffffff0d}.maf-research-actions,.maf-research-choices{display:flex;flex-wrap:wrap;gap:8px}.maf-research-actions button,.maf-research-choices button{border:1px solid #695081;border-radius:10px;background:#ffffff04;color:#f6f2ff;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.4}.maf-research-actions button:hover,.maf-research-choices button:hover{background:#392349;border-color:#bc82ff}.maf-research-actions button{flex:1;min-width:0;border-color:#77728a;padding:12px 16px}.maf-research-actions button:first-child{background:linear-gradient(180deg,#993cff,#6921d9);border-color:#ba80ff;box-shadow:0 0 20px #923cff26}.maf-research-write{display:flex;gap:8px;margin-top:14px}.maf-research-write input{flex:1;min-width:0;background:#0e0b17;border:1px solid #524065;border-radius:10px;color:#f6f2ff;padding:12px 14px;font:inherit;font-size:14px;min-height:46px}.maf-research-write input::placeholder{color:#a79ab9;opacity:1}.maf-research-write button{padding:0 18px;border:1px solid #9d68ed;border-radius:10px;background:#7436cb;color:#fff;font-weight:600}.maf-research-done,.maf-research-error button{padding:0 8px;background:transparent;border:0;color:#d6b8ff;text-decoration:underline}.maf-research-done{margin-top:8px}.maf-research .maf-research-error{margin-top:10px;color:#f0c8d5}.maf-research-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:600px){.maf-research-panel{padding:1.5rem 1.25rem}.maf-research h2{font-size:21px}.maf-research-heading{gap:8px;margin-bottom:18px}.maf-research-choices{gap:7px}.maf-research-choices button{padding:9px 12px;font-size:13px}.maf-research-actions button{padding:10px}.maf-research-write input{font-size:16px}.maf-research-write button{padding:0 12px}}