.fm-ai-overlay{position:fixed;inset:0;z-index:100000;background:rgba(3,13,24,.72);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#071627}
.fm-ai-window{width:min(1180px,96vw);height:min(860px,94vh);background:#f6f8fb;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.35);overflow:hidden;display:flex;flex-direction:column}
.fm-ai-window>header{height:66px;background:#071627;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px}
.fm-ai-window>header>div{display:flex;align-items:center;gap:12px}.fm-ai-window>header b{display:block;font-size:17px}.fm-ai-window>header small{opacity:.65}.fm-ai-window>header button{border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}
.fm-ai-star{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ff5a1f;font-size:18px}.fm-ai-body{padding:24px;overflow:auto;flex:1}
.fm-ai-hero,.fm-ai-done{max-width:900px;margin:42px auto;text-align:center}.fm-ai-hero h1,.fm-ai-done h1{font-size:38px;line-height:1.08;margin:10px 0 14px}.fm-ai-hero>p,.fm-ai-done>p{font-size:17px;color:#536174;max-width:760px;margin:0 auto 22px}
.fm-ai-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#ff5a1f}.fm-ai-note{padding:15px 17px;border:1px solid #dce3eb;border-radius:12px;background:#fff;color:#536174;text-align:left;margin:18px 0}.fm-ai-note b{color:#071627}
.fm-ai-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.fm-ai-actions button,.fm-ai-compose button,.fm-ai-designs button>div>span{border:1px solid #ccd5df;background:#fff;color:#071627;border-radius:9px;padding:10px 15px;font-weight:700;cursor:pointer}.fm-ai-actions .primary,.fm-ai-compose .primary{background:#ff5a1f;color:#fff;border-color:#ff5a1f}.fm-ai-actions .danger{color:#a52b22;border-color:#e8bbb7}
.fm-ai-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.fm-ai-status-grid>div{background:#fff;border:1px solid #e0e6ed;border-radius:12px;padding:18px;text-align:left}.fm-ai-status-grid b{display:block;font-size:20px}.fm-ai-status-grid span{font-size:12px;color:#6a7685}
.fm-ai-steps{display:flex;align-items:center;gap:6px;margin:0 0 22px}.fm-ai-steps>div{flex:1;display:flex;gap:8px;align-items:center;font-size:12px;color:#7b8795}.fm-ai-steps>div:after{content:"";height:2px;background:#dbe2e9;flex:1}.fm-ai-steps>div:last-child:after{display:none}.fm-ai-steps span{width:24px;height:24px;border-radius:50%;border:1px solid #cdd6df;display:grid;place-items:center;background:#fff}.fm-ai-steps .active{font-weight:800;color:#071627}.fm-ai-steps .active span{background:#ff5a1f;color:#fff;border-color:#ff5a1f}
.fm-ai-two{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.fm-ai-chat,.fm-ai-summary,.fm-ai-card{background:#fff;border:1px solid #dde4eb;border-radius:14px;padding:20px}.fm-ai-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.fm-ai-section-head h2{margin:3px 0 4px}.fm-ai-section-head p{margin:0;color:#667485}.fm-ai-pill{font-size:11px;background:#eef3f7;border-radius:30px;padding:7px 10px;color:#536174}.fm-ai-pill.test{background:#fff1eb;color:#b54013}
.fm-ai-chatlog{height:310px;overflow:auto;background:#f7f9fb;border:1px solid #e2e7ed;border-radius:12px;padding:15px}.fm-ai-chatlog>div,.fm-help-result>div{max-width:82%;padding:11px 13px;border-radius:12px;margin:8px 0;line-height:1.45}.fm-ai-chatlog .assistant,.fm-help-result .assistant{background:#fff;border:1px solid #e0e5eb}.fm-ai-chatlog .user,.fm-help-result .user{background:#071627;color:#fff;margin-left:auto}.thinking{opacity:.65}
.fm-ai-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.fm-ai-suggestions button{border:1px solid #d7dfe7;background:#fff;border-radius:20px;padding:7px 10px;font-size:11px;cursor:pointer}.fm-ai-compose{display:flex;gap:9px;margin-top:10px}.fm-ai-compose textarea{flex:1;min-height:74px;resize:vertical;border:1px solid #ccd6e0;border-radius:10px;padding:11px;font:inherit}
.fm-ai-summary h3{margin-top:0}.fm-ai-summary-grid>div{padding:10px 0;border-bottom:1px solid #edf0f3}.fm-ai-summary-grid small,.fm-ai-summary-grid b{display:block}.fm-ai-summary-grid small{color:#7d8895;font-size:11px}.muted{color:#7a8795}
.fm-ai-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fm-ai-form label,.fm-ai-records label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.fm-ai-form label.wide,.fm-ai-records label.wide{grid-column:1/-1}.fm-ai-form input,.fm-ai-records input,.fm-ai-records select{border:1px solid #ccd5df;border-radius:9px;padding:10px;font:inherit;background:#fff}
.fm-ai-records{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fm-ai-records fieldset{border:1px solid #dbe2e9;border-radius:12px;padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:11px}.fm-ai-records legend{font-weight:800;padding:0 6px}.fm-ai-records legend span{font-size:10px;color:#ff5a1f;margin-left:5px}
.widecard{max-width:none}.fm-ai-designs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fm-ai-designs>button{text-align:left;border:2px solid #e1e6ec;background:#fff;border-radius:14px;padding:0;overflow:hidden;cursor:pointer}.fm-ai-designs>button.selected{border-color:#ff5a1f;box-shadow:0 0 0 2px rgba(255,90,31,.12)}.fm-ai-designs>button>div:last-child{padding:13px}.fm-ai-designs h3{margin:0 0 5px}.fm-ai-designs p{margin:0 0 10px;color:#687687}.fm-ai-designs button>div>span{display:inline-block;font-size:11px;padding:6px 9px}
.fm-ai-design-preview{height:125px;background:#eef2f6;display:grid;grid-template-columns:36px 1fr 72px;gap:8px;padding:10px}.fm-ai-design-preview.dark{background:#101a26}.dp-nav,.dp-main,.dp-phone{background:#fff;border-radius:6px;padding:6px}.dark .dp-nav,.dark .dp-main,.dark .dp-phone{background:#172435}.dp-nav i,.dp-main i,.dp-phone i{display:block;background:#dbe1e7;height:7px;border-radius:3px;margin:6px 0}.dark i{background:#334356}.dp-main{display:flex;flex-direction:column}.dp-head{height:10px;background:#ff5a1f!important;width:35%}.dp-stats{display:flex;gap:5px}.dp-stats i{height:24px;flex:1}.dp-table i{height:5px}.dp-phone{align-self:center;height:95px;border:2px solid #ff5a1f}
.bigcheck{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#eaf7ef;color:#18864b;font-size:36px;margin:0 auto 18px}.bigcheck.live{color:#18864b;font-size:26px}.fm-ai-checklist{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fm-ai-checklist label{background:#f7f9fb;border:1px solid #e0e6ec;border-radius:9px;padding:11px}
.fm-help{max-width:860px;margin:20px auto}.fm-help-result{min-height:260px;max-height:430px;overflow:auto;background:#f7f9fb;border:1px solid #e0e6ed;border-radius:12px;padding:14px}.fm-help-result .assistant p{margin:7px 0}.fm-help-result small{color:#788696}.fm-help-result .bad{color:#a52b22}
@media(max-width:800px){.fm-ai-overlay{padding:0}.fm-ai-window{width:100vw;height:100vh;border-radius:0}.fm-ai-two,.fm-ai-records,.fm-ai-designs{grid-template-columns:1fr}.fm-ai-summary{display:none}.fm-ai-status-grid{grid-template-columns:1fr 1fr}.fm-ai-steps{overflow:auto}.fm-ai-steps>div{min-width:92px}.fm-ai-form{grid-template-columns:1fr}.fm-ai-records fieldset{grid-template-columns:1fr}.fm-ai-actions{flex-wrap:wrap}.fm-ai-hero h1,.fm-ai-done h1{font-size:30px}}