.ai-theme-dialog{width:min(920px,calc(100vw - 28px));max-height:90vh;box-sizing:border-box;overflow:auto;padding:26px;border:1px solid #355c76;border-radius:22px;background:#0e1e32;color:#eff6ff;box-shadow:0 24px 90px #0009;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}.ai-theme-dialog::backdrop{background:#030b19b8;backdrop-filter:blur(5px)}.ai-theme-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.ai-theme-dialog h2{font-size:24px;line-height:1.2;margin:0;color:#f5f9ff}.ai-theme-dialog p{color:#b7cce2;margin:15px 0}.ai-theme-dialog .ai-theme-close{border:1px solid #416079;border-radius:50%;background:#1b324b;color:#eff8ff;font-size:28px;width:40px;height:40px;flex:none;cursor:pointer;padding:0;line-height:1}.ai-theme-label{display:block;font-weight:650;margin:16px 0 8px}.ai-theme-prompt-text{display:block;box-sizing:border-box;width:100%;height:330px;min-height:180px;max-height:50vh;margin:0;padding:16px;border:1px solid #3d5a74;border-radius:13px;background:#071525;color:#daeafa;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;white-space:pre-wrap}.ai-theme-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}.ai-theme-actions a,.ai-theme-actions button{font:650 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.ai-theme-primary,.ai-theme-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:11px;border:1px solid #527aa2;text-decoration:none!important;box-sizing:border-box}.ai-theme-primary{background:#9ddcff;color:#08233d!important;border-color:#9ddcff}.ai-theme-primary:hover{background:#c5ecff}.ai-theme-primary:disabled{opacity:.55;cursor:wait}.ai-theme-secondary{background:#1b3650;color:#e2f4ff!important}.ai-theme-secondary:hover{background:#254966}.ai-theme-guide-link,.ai-theme-import-help a{color:#8fdbff!important;text-decoration:underline;text-underline-offset:3px}.ai-theme-dialog .ai-theme-status{min-height:24px;color:#9ae5c7;font-size:13px;margin:12px 0}.ai-theme-dialog .ai-theme-note{font-size:13px;margin-bottom:0}.ai-theme-entry,.ai-theme-doc-section{scroll-margin-top:95px}.ai-theme-entry{padding:22px 24px;margin:24px 0;border:1px solid #315775;border-radius:18px;background:linear-gradient(120deg,#142d48,#0c1c30)}.ai-theme-entry h2,.ai-theme-entry h3{color:#f4f8ff;margin:0 0 8px}.ai-theme-entry p{color:#b8cfe6;margin:0}.ai-theme-import-help{font-size:14px;line-height:1.6;margin:16px 0 0}.ai-theme-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.ai-theme-step{padding:18px;border:1px solid #2d506f;border-radius:15px;background:#0d1d31}.ai-theme-step strong{display:block;color:#a9ddff;margin-bottom:8px}.ai-theme-step p{font-size:14px;margin:0}.ai-theme-example{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;max-width:600px;margin:25px auto}.ai-theme-example figure{margin:0;text-align:center}.ai-theme-example img{display:block;width:100%;height:auto;border:1px solid #35546e;border-radius:24px;background:#13263c}.ai-theme-example figcaption{font-size:13px;color:#b8cce2;margin-top:10px}.ai-theme-dialog :is(button,a,textarea):focus-visible,.ai-theme-entry :is(button,a):focus-visible,.ai-theme-import-help a:focus-visible{outline:3px solid #9feaff;outline-offset:3px}@media(max-width:650px){.ai-theme-dialog{padding:20px 17px;border-radius:18px}.ai-theme-dialog h2{font-size:21px}.ai-theme-prompt-text{height:280px}.ai-theme-steps{grid-template-columns:1fr}.ai-theme-actions{gap:10px}.ai-theme-entry{padding:20px}.ai-theme-example{gap:12px}.ai-theme-example img{border-radius:16px}}@media(prefers-reduced-motion:reduce){.ai-theme-dialog::backdrop{backdrop-filter:none}}
