.prompt-page{max-width:1420px}.prompt-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:30px 0 18px}.prompt-intro h1{margin:0 0 8px;font-size:30px}.prompt-intro p{margin:0}.eyebrow{margin:0 0 7px;color:#7244da;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.prompt-intro-actions{display:flex;gap:10px;flex-shrink:0}.prompt-intro-actions button{width:auto;margin:0;padding:11px 18px}.prompt-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr);gap:20px;align-items:start}.prompt-config-column>.card{padding:24px}.prompt-section-head{align-items:flex-start}.prompt-section-head h2{margin:0 0 6px}.prompt-section-head p{margin:0}.count-pill,.live-pill{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 10px;border-radius:999px;background:#f0ebff;color:#6040ad;font-size:12px;font-weight:700}.prompt-groups{display:grid;gap:18px;margin-top:20px}.prompt-type-group{border:1px solid #e6e1f0;border-radius:14px;overflow:hidden;background:#fff}.prompt-type-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#faf9fd;border-bottom:1px solid #eeeaf5}.prompt-type-heading h3{margin:0;font-size:17px}.prompt-type-heading span{color:#756d83;font-size:12px}.prompt-entry{padding:18px;border-bottom:1px solid #eeeaf5}.prompt-entry:last-of-type{border-bottom:0}.entry-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.entry-top h4{margin:0;font-size:15px}.entry-tier{display:inline-block;margin-top:5px;color:#756d83;font-size:12px}.entry-actions{display:flex;gap:8px;flex-shrink:0}.text-button{padding:7px 10px;border:1px solid #ded6ea;border-radius:8px;background:#fff;color:#6040ad;font-weight:700;cursor:pointer}.text-button:hover{background:#f6f2fc}.text-button.is-danger{color:#a52e40;border-color:#f0d6db}.entry-fields{display:grid;grid-template-columns:1fr;gap:14px}.entry-fields label,.settings-grid label,.prompt-test-card>label,.add-prompt-row label{display:grid;gap:7px;font-size:13px;font-weight:700}.entry-fields .prompt-body{grid-column:1/-1}.prompt-body textarea{min-height:150px;resize:vertical;line-height:1.65}.param-panel{margin-top:14px;padding:14px;border-radius:12px;background:#f8f7fb}.param-panel h5{margin:0 0 12px;color:#4d4560;font-size:13px}.settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.settings-grid label.select-field{grid-column:span 2}.param-recommendation{display:grid;align-content:start;gap:7px;font-size:13px}.param-recommendation span{font-weight:700}.param-recommendation strong{padding:10px 12px;border:1px solid #e6e1f0;border-radius:9px;background:#fff;color:#315d48;font-size:14px}.settings-grid .input,.entry-fields .input,.entry-fields .textarea,.settings-grid .select,.prompt-test-card .input,.prompt-test-card .select,.prompt-test-card .textarea,.add-prompt-row .select{box-sizing:border-box;width:100%;max-width:none;padding:10px 12px;border:1px solid #d8d2e2;border-radius:9px;background:#fff;color:#282334;font:inherit}.field-hint{margin:8px 0 14px;color:#756d83;font-size:12px;line-height:1.6}.prompt-test-card{position:sticky;top:18px;padding:22px}.prompt-test-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.prompt-test-heading h2{margin:0}.live-pill{background:#eaf6ef;color:#147b45}.prompt-test-card>label{margin-top:15px}.resolved-name{margin:12px 0 6px;padding:10px 12px;border-radius:9px;background:#f7f4fc;color:#574778;font-weight:700;font-size:13px}.test-provider-grid{grid-template-columns:1fr 1fr;margin:14px 0 4px}.test-provider-grid label{font-size:13px}.test-image-preview{display:block;max-width:100%;max-height:190px;margin-top:12px;border-radius:12px;object-fit:contain;background:#f5f4f8}.test-submit{width:100%;margin:16px 0 0;padding:13px 18px}.test-submit:disabled{opacity:.6;cursor:wait}.test-result{margin-top:16px;padding:12px;border:1px solid #e9e4f1;border-radius:12px}.test-result p{margin:0 0 10px;font-weight:700}.test-result img{display:block;max-width:100%;max-height:420px;margin:0 auto;border-radius:8px}.test-result a{display:inline-block;margin-top:10px;color:#6842c2;font-weight:700}.bead-test{margin-top:16px;padding:16px;border:1px solid #dcebe2;border-radius:12px;background:#f8fbf9}.bead-test-heading h3{margin:0 0 4px;font-size:16px}.bead-test-heading p{margin:0;color:#697e76;font-size:12px}.bead-test-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.bead-test-settings label{display:grid;gap:7px;font-size:13px;font-weight:700}.bead-test .select{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #d8d2e2;border-radius:9px;background:#fff;font:inherit}.bead-result{margin-top:14px;padding:12px;border:1px solid #e1ebe4;border-radius:10px;background:#fff}.bead-result p{margin:0 0 10px;font-weight:800;color:#315d48}.bead-result img{display:block;max-width:100%;max-height:420px;margin:0 auto;image-rendering:pixelated}.add-prompt-row{display:flex;justify-content:flex-end;padding:12px 16px;background:#fcfbfd}.add-prompt-row label{width:min(260px,100%);font-size:12px;color:#756d83}.prompt-page .task-status{font-size:13px;line-height:1.6}.prompt-page .message{margin:10px 0}.prompt-page .message:not(:empty){padding:10px 12px;border-radius:9px;background:#f5f1fc}.empty-group{padding:16px;color:#756d83;font-size:13px}
@media(max-width:1000px){.prompt-layout{grid-template-columns:1fr}.prompt-test-card{position:static}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.prompt-intro{align-items:flex-start;flex-direction:column}.prompt-intro-actions{width:100%;flex-wrap:wrap}.prompt-intro-actions button{flex:1}.entry-fields{grid-template-columns:1fr}.entry-fields .prompt-body{grid-column:auto}.entry-top{align-items:flex-start;flex-direction:column}.entry-actions{width:100%}.entry-actions button{flex:1}.settings-grid{grid-template-columns:1fr}.settings-grid label.select-field{grid-column:auto}.prompt-config-column>.card,.prompt-test-card{padding:17px}.test-provider-grid,.bead-test-settings{grid-template-columns:1fr}.prompt-type-heading{align-items:flex-start;flex-direction:column}}
.effect-param-entry .param-panel{margin-top:0}.legacy-prompt-warning{display:grid;gap:8px;margin:0 0 14px;padding:12px 14px;border:1px solid #ead9a4;border-radius:10px;background:#fff9e8;color:#71591a;font-size:13px}.legacy-prompt-warning .select{max-width:420px}
.prompt-page .task-status,.prompt-test-card .test-result{scroll-margin-block:18vh}
.prompt-config-column,.prompt-test-card{min-height:0;max-height:calc(100vh - 36px);overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c8bfd7 transparent}
.prompt-config-column::-webkit-scrollbar,.prompt-test-card::-webkit-scrollbar{width:8px}
.prompt-config-column::-webkit-scrollbar-thumb,.prompt-test-card::-webkit-scrollbar-thumb{border-radius:8px;background:#c8bfd7}
.prompt-config-column::-webkit-scrollbar-track,.prompt-test-card::-webkit-scrollbar-track{background:transparent}
.prompt-save-bar{position:sticky;top:0;z-index:15;display:flex;align-items:center;gap:14px;margin:0 0 12px;padding:11px 14px;border:1px solid #e6e1f0;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 6px 18px rgba(39,29,59,.1);backdrop-filter:blur(10px)}
.prompt-save-copy{display:grid;gap:3px;min-width:190px}
.prompt-save-copy strong{font-size:14px;color:#282334}
.prompt-save-copy span{font-size:12px;line-height:1.45;color:#756d83}
.prompt-save-bar .message{flex:1;min-width:0;margin:0}
.prompt-save-bar .message:empty{display:none}
.prompt-page .prompt-save-bar .message:not(:empty){margin:0;padding:7px 10px}
.prompt-save-bar #saveConfig{flex-shrink:0;width:auto;margin:0;padding:11px 18px}
body.prompt-admin-page #app{display:none!important}
@media(max-width:640px){.prompt-save-bar{align-items:stretch;flex-direction:column;gap:8px}.prompt-save-copy{min-width:0}.prompt-save-bar #saveConfig{width:100%}}
@media(max-width:1000px){.prompt-config-column,.prompt-test-card{max-height:none;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:auto}}
