*{box-sizing:border-box}body{margin:0;color:#211636;font-family:Inter,Arial,sans-serif;background:#fff}a{color:inherit}.prompt-layout{display:grid;grid-template-columns:minmax(380px,1fr) minmax(0,1.1fr);min-height:100vh}.prompt-preview-pane{display:flex;flex-direction:column;padding:0;background:#fff;min-width:0;position:relative;overflow:hidden;isolation:isolate}.prompt-brand{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;text-decoration:none;font-size:20px;font-weight:700;letter-spacing:-.4px;color:#fff;position:relative;z-index:1}.prompt-brand img{width:auto;height:38px;object-fit:contain;filter:brightness(0) invert(1)}.prompt-preview-paper{width:100%;position:relative;z-index:1;max-width:none;height:100vh;min-height:480px;max-height:100vh;overflow:auto;margin:0;padding:40px;border:0;border-radius:0;background:#fff;box-shadow:none;line-height:1.6;color:#4d4659}.prompt-preview-paper h1{font-size:25px;color:#211636;margin:0 0 20px}.prompt-preview-paper h2{font-size:19px;color:#211636;margin:28px 0 12px}.prompt-preview-paper h3{font-size:15px;color:#211636;margin:24px 0 6px}.prompt-preview-paper p,.prompt-preview-paper li{font-size:14px}.prompt-preview-paper p{margin:6px 0 12px}.prompt-preview-paper table{border-collapse:collapse;width:100%;font-size:13px}.prompt-preview-paper th,.prompt-preview-paper td{padding:8px;border:1px solid #e7e1ee}.prompt-preview-paper ul{padding-left:22px}.prompt-preview-empty{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7d748a}.prompt-preview-empty>span{font-size:48px;color:#ab99d4}.prompt-preview-empty h2{margin:16px 0 6px;font-size:20px}.prompt-preview-empty p{max-width:270px;margin:0}.prompt-composer{padding:36px 32px 44px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#3b1fb8 0%,#6b35e8 55%,#9b59e8 100%)}.prompt-composer>.prompt-brand{position:absolute;left:44px;top:36px}.prompt-composer-inner{position:relative;z-index:1}.prompt-composer-inner{width:100%;max-width:480px}.prompt-composer h1{color:#fff;font-size:27px;font-weight:600;line-height:1.3;letter-spacing:-.025em;margin:0 0 20px}textarea{display:block;resize:vertical;width:100%;min-height:220px;padding:17px 18px;border:1px solid #dcd5e8;border-radius:10px;color:#322641;font:15px/1.7 Inter,Arial,sans-serif;background:white}textarea::placeholder{color:#9b92a7}textarea:focus{outline:2px solid #b19bf5;outline-offset:2px;border-color:#7045ee}.prompt-template{margin:12px 0 0;font-size:12px;line-height:1.6;color:#eee7ff}.prompt-template a{font-weight:500;color:#fff;text-decoration:underline;text-underline-offset:3px}.prompt-template a:hover{color:#fff}.prompt-template a:focus-visible{outline:2px solid #fff;outline-offset:3px}.prompt-generate{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:#fff;color:#522ae9;font:600 14px Inter,Arial,sans-serif;padding:15px 22px;border:0;border-radius:8px;margin-top:24px;cursor:pointer}.prompt-generate:hover{background:#f2edff}.prompt-generate:disabled{opacity:.55;cursor:wait}.prompt-error{color:#fff;font-size:14px;line-height:1.5;margin:16px 0 0}.prompt-preview-paper[aria-busy=true]{opacity:.65}[hidden]{display:none!important}@media(max-width:760px){.prompt-layout{display:flex;flex-direction:column}.prompt-composer{order:-1;padding:104px 24px 36px;align-items:flex-start}.prompt-composer>.prompt-brand{left:24px;top:28px}.prompt-composer-inner{max-width:none}.prompt-composer h1{font-size:25px}.prompt-preview-pane{padding:0;border:0}.prompt-preview-paper{padding:28px;max-height:650px;min-height:320px}.prompt-brand{font-size:18px}textarea{min-height:190px}}
.prompt-preview-loading{gap:16px}.prompt-preview-spinner{width:28px;height:28px;border:3px solid #e7e0f5;border-top-color:#5d33fb;border-radius:50%;animation:prompt-preview-spin .8s linear infinite}@keyframes prompt-preview-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.prompt-preview-spinner{animation:none}}.prompt-composer::before,.prompt-composer::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0}.prompt-composer::before{top:-80px;right:-80px;width:300px;height:300px;background:rgba(255,255,255,.06)}.prompt-composer::after{bottom:-60px;left:-40px;width:220px;height:220px;background:rgba(255,255,255,.05)}.prompt-brand:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:4px}@media(max-width:760px){.prompt-brand img{height:32px}}
@media(min-width:761px){.prompt-composer{min-height:650px}}
.prompt-box{border:1px solid #dcd5e8;border-radius:10px;background:#fff}.prompt-box:focus-within{outline:2px solid #b19bf5;outline-offset:2px;border-color:#7045ee}.prompt-box textarea{border:0;border-radius:10px 10px 0 0}.prompt-box textarea:focus{outline:none}.prompt-tools{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px 10px}.prompt-attach{flex:none;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #dcd5e8;border-radius:50%;background:#fff;color:#522ae9;cursor:pointer}.prompt-attach:hover,.prompt-attach[aria-expanded=true]{background:#f2edff}.prompt-attach:focus-visible{outline:2px solid #7045ee;outline-offset:2px}.prompt-attach:disabled{opacity:.55;cursor:wait}.prompt-menu{position:absolute;left:8px;bottom:calc(100% + 6px);z-index:5;min-width:220px;padding:6px;background:#fff;border:1px solid #e7e1ee;border-radius:10px;box-shadow:0 10px 28px rgba(33,22,54,.2)}.prompt-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:none;color:#322641;font:500 14px Inter,Arial,sans-serif;text-align:left;cursor:pointer}.prompt-menu button:hover,.prompt-menu button:focus-visible{background:#f4f0fc;outline:none}.prompt-menu svg{color:#6b5f7d}.prompt-attachments{display:flex;flex-wrap:wrap;gap:6px;min-width:0;margin:0;padding:0;list-style:none}.prompt-attachments li{display:inline-flex;align-items:center;gap:4px;max-width:220px;padding:3px 4px 3px 10px;border-radius:999px;background:#f2edff;color:#322641;font-size:12px;line-height:1.6}.prompt-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.prompt-file-name:hover{text-decoration:underline;text-underline-offset:2px}.prompt-file-name:focus-visible{outline:2px solid #7045ee;outline-offset:2px;border-radius:2px}.prompt-file-remove{flex:none;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:none;color:#6b5f7d;cursor:pointer}.prompt-file-remove:hover{background:#e4dbfb;color:#322641}.prompt-file-remove:focus-visible{outline:2px solid #7045ee}
.prompt-file-view{width:min(880px,92vw);max-height:90vh;padding:0;border:0;border-radius:12px;background:#fff;color:#211636;box-shadow:0 24px 60px rgba(33,22,54,.35)}.prompt-file-view::backdrop{background:rgba(24,12,48,.6)}.prompt-file-view-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;border-bottom:1px solid #efeaf6}.prompt-file-view-head h2{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600}.prompt-file-view-head button{flex:none;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:none;color:#6b5f7d;cursor:pointer}.prompt-file-view-head button:hover{background:#f2edff;color:#322641}.prompt-file-view-head button:focus-visible{outline:2px solid #7045ee}.prompt-file-view-body{padding:16px;background:#f7f5fb}.prompt-file-view-body img{display:block;max-width:100%;max-height:calc(90vh - 100px);margin:0 auto;border-radius:6px}.prompt-file-view-body iframe{display:block;width:100%;height:calc(90vh - 100px);border:0;border-radius:6px;background:#fff}.prompt-file-view-body pre{max-height:calc(90vh - 100px);overflow:auto;margin:0;padding:16px;border-radius:6px;background:#fff;white-space:pre-wrap;word-break:break-word;font:13px/1.6 ui-monospace,Consolas,monospace;color:#322641}
.prompt-countdown{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:14px;max-width:calc(100% - 32px);padding:8px 8px 8px 18px;border-radius:999px;background:#211636;color:#fff;font-size:14px;font-weight:500;box-shadow:0 10px 28px rgba(33,22,54,.28);white-space:nowrap}.prompt-countdown>span:first-child{overflow:hidden;text-overflow:ellipsis}.prompt-countdown-actions{display:inline-flex;gap:6px;flex:none}.prompt-countdown button{padding:7px 14px;border-radius:999px;font:600 13px Inter,Arial,sans-serif;cursor:pointer}#prompt-countdown-stop{border:1px solid rgba(255,255,255,.45);background:none;color:#fff}#prompt-countdown-stop:hover{background:rgba(255,255,255,.12)}#prompt-countdown-now{border:0;background:#fff;color:#522ae9}#prompt-countdown-now:hover{background:#f2edff}.prompt-countdown button:focus-visible{outline:2px solid #b19bf5;outline-offset:2px}
.pf-form{max-width:640px;margin:0 auto;padding-top:28px}.pf-form .pf-title{font-size:26px;line-height:1.25;margin:0 0 10px}.pf-prose{color:#4d4659}.pf-prose p{margin:4px 0 12px}.pf-section{margin-top:22px;padding-top:4px}.pf-section>h2{margin:10px 0 4px;padding-bottom:8px;border-bottom:2px solid #efeaf6;font-size:18px}.pf-agreement{padding:4px 20px 12px;border-radius:10px;background:#faf8fd}.pf-agreement>h2{border:0}.pf-question{margin:18px 0 0;padding:16px 18px;border:1px solid #ece6f4;border-radius:10px;background:#fff}.pf-label{font-size:15px;font-weight:600;color:#211636}.pf-required{margin-left:4px;color:#d93a3a}.pf-help{margin:4px 0 0;font-size:13px;color:#7d748a}.pf-help p{margin:4px 0}.pf-hint{margin:6px 0 0;font-size:12px;color:#8e85a0}ul.pf-hint{padding-left:18px}.pf-input{display:block;width:100%;margin-top:10px;padding:9px 11px;border:1px solid #dcd5e8;border-radius:7px;background:#fff;color:#322641;font:14px Inter,Arial,sans-serif}.pf-input.pf-short{max-width:260px}textarea.pf-input{min-height:0;resize:vertical}.pf-choices{display:flex;flex-direction:column;gap:8px;margin-top:10px}.pf-choice{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:#322641;cursor:pointer}.pf-choice input{margin:3px 0 0;accent-color:#5d33fb}.pf-scale{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.pf-scale-point{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:38px;font-size:13px;color:#4d4659}.pf-scale-point input{accent-color:#5d33fb}.pf-grid-wrap{overflow-x:auto;margin-top:10px}.pf-grid{border-collapse:collapse;font-size:13px}.pf-grid th,.pf-grid td{padding:6px 10px;border:0!important;text-align:center;font-weight:500}.pf-grid tbody th{text-align:left;font-weight:400}.pf-grid tbody tr:nth-child(odd){background:#faf8fd}.pf-upload{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:10px 16px;border:1px dashed #b9a9e6;border-radius:8px;color:#522ae9;font-size:14px;font-weight:500}.pf-signature{position:relative;height:90px;margin-top:10px;border:1px solid #dcd5e8;border-radius:8px;background:#fcfbfe}.pf-signature span{position:absolute;left:16px;right:16px;bottom:18px;padding-top:6px;border-top:1px solid #b9b0c8;font-size:12px;color:#9b92a7}.pf-product{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px}.pf-product .pf-input{margin-top:0}.pf-price{font-weight:600;color:#211636}.pf-qty{display:inline-flex;align-items:center;border:1px solid #dcd5e8;border-radius:999px;overflow:hidden}.pf-qty button{width:32px;height:30px;border:0;background:#f7f5fb;color:#522ae9;font-size:16px;cursor:default}.pf-qty span{min-width:30px;text-align:center;font-size:14px}.pf-output{background:#faf8fd}.pf-calculated{margin-top:8px;font-size:13px;color:#4d4659}.pf-submit{margin:24px 0 8px}.pf-submit span{display:inline-block;padding:10px 22px;border-radius:7px;background:#5d33fb;color:#fff;font-size:14px;font-weight:600}
.prompt-template{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.prompt-template a{margin-left:2px}.prompt-template-remove{flex:none;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;margin-left:4px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}.prompt-template-remove:hover{background:rgba(255,255,255,.3)}.prompt-template-remove:focus-visible{outline:2px solid #fff;outline-offset:2px}

.prompt-attach svg,.prompt-file-remove svg,.prompt-file-view-head button svg,.prompt-template-remove svg{display:block;flex:none;pointer-events:none}
