#production-launcher{position:fixed;right:18px;bottom:116px;z-index:35;padding:9px 14px;border:1px solid #597687;border-radius:18px;background:#15232d;color:#e3f4fc;cursor:pointer}
body.home #production-launcher,body.home #production-panel{display:none}
#production-panel{position:fixed;right:16px;top:66px;bottom:166px;z-index:90;width:min(420px,calc(100vw - 24px));border:1px solid var(--line2,#536474);border-radius:14px;background:var(--panel,#23282c);color:var(--text,#e2e8f0);box-shadow:0 14px 48px #0005;overflow:hidden;display:flex;flex-direction:column}
#production-panel[hidden],#production-launcher[hidden]{display:none}
.production-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line2,#536474)}
.production-head strong{font-size:15px}.production-head button{font-size:18px}
.production-body{padding:14px;overflow:auto;overscroll-behavior:contain;flex:1}
#production-panel p{font-size:12px;line-height:1.65;margin:0 0 10px;opacity:.9}
#production-panel button,#production-panel select{border:1px solid var(--line2,#536474);border-radius:7px;background:var(--panel,#23282c);color:var(--text,#e2e8f0);padding:7px 10px;font:12px inherit;cursor:pointer}
#production-panel button:disabled{opacity:.5;cursor:wait}
#production-panel button.primary{background:#126a59;color:#fff;border-color:#239c82}
#production-panel button:focus-visible,#production-panel textarea:focus-visible,#production-panel select:focus-visible{outline:2px solid #28ab91;outline-offset:2px}
.production-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.production-step{border:1px solid var(--line2,#536474);border-radius:10px;padding:12px;margin-bottom:10px}
.production-step[data-state=done]{border-color:#36947e}
.production-step h3{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin:0 0 8px}
.production-step h3 span{font-size:11px;font-weight:400;white-space:nowrap}
.production-step ol{list-style:none;margin:10px 0 0;padding:0;max-height:240px;overflow:auto}
.production-step li{padding:7px 0;border-top:1px solid var(--line2,#536474);font-size:12px;overflow-wrap:anywhere}
.production-step li button{margin:5px 5px 0 0}
#production-panel textarea{box-sizing:border-box;width:100%;min-height:150px;resize:vertical;border:1px solid var(--line2,#536474);border-radius:8px;background:var(--panel,#23282c);color:var(--text,#e2e8f0);padding:10px;font:13px/1.6 sans-serif}
#production-panel select{max-width:100%;width:100%;margin:6px 0}
.production-notice{padding:10px;background:rgba(40,160,133,.12);border-radius:8px}
@media(min-width:901px){body:has(#agent-mask.show:not(.minimized)) #production-launcher{right:calc(var(--agent-width) + 32px)}}
@media(max-width:600px){#production-panel{right:6px;top:58px;bottom:78px;width:calc(100vw - 12px)}#production-launcher{bottom:112px;right:12px}}
