html{--hps-bg:#f5efe4;--hps-panel:#fffaf1;--hps-text:#332d26;--hps-dim:#6c6257;--hps-line:#d9cebf;background:var(--hps-bg);color:var(--hps-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}html[data-theme=dark]{--hps-bg:#141311;--hps-panel:#24211e;--hps-text:#eee7dd;--hps-dim:#b3a99b;--hps-line:#484139;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--s0:#141311;--s1:#1d1b18;--s2:#24211e;--s3:#302b26;--s4:#3c352e;--s5:#4c433a;--void:#191817;--text-hi:#f4eee6;--text:#d2c8bb;--text-dim:#afa396;--text-faint:#a29689}html[data-theme=light]{--s0:#f5efe4;--s1:#faf6ef;--s2:#fffbf5;--s3:#ede5d9;--s4:#e3d9cb;--s5:#d8ccbc;--void:#dedbd6;--hair:#4333221f;--hair-2:#43332233;--hair-3:#43332252;--text-hi:#2c261f;--text:#443a30;--text-dim:#675b4e;--text-faint:#756758;--accent:#6350c3;--accent-hi:#5944b4;--accent-lo:#4f3caa;--accent-dim:#6350c31f;--accent-ring:#6350c38c;--sh-1:0 1px 2px #35281a14;--sh-2:0 4px 14px #35281a1f;--sh-3:0 16px 44px #35281a33;--sh-pop:0 12px 34px #35281a2e, 0 0 0 1px #35281a1f;--lift:inset 0 1px 0 #fff9;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme]{--font:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif}[hidden]{display:none!important}body{margin:0}.hps-gate{box-sizing:border-box;background:var(--hps-bg);min-height:100dvh;color:var(--hps-text);place-items:center;padding:24px;display:grid}.hps-gate__card{background:var(--hps-panel);border:1px solid var(--hps-line);box-sizing:border-box;border-radius:16px;width:min(100%,440px);padding:28px}.hps-home{color:inherit;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.hps-home img{object-fit:contain}.hps-gate h1{margin:28px 0 16px;font-size:25px;line-height:1.4}.hps-gate p{color:var(--hps-dim);font-size:15px;line-height:1.8}.hps-gate__actions{flex-wrap:wrap;align-items:center;gap:16px;margin-top:24px;display:flex}.hps-gate__actions button{color:#fff;font:inherit;cursor:pointer;background:#6551c6;border:0;border-radius:8px;min-height:44px;padding:12px 16px}.hps-gate__actions a{color:var(--hps-text);text-underline-offset:4px;padding-block:10px}.hps-gate :focus-visible{outline-offset:4px;outline:2px solid #7c6af6}.hps-desktop,.hps-desktop body{overflow-x:auto}#editor-shell{min-width:1100px;height:100dvh}#menubar>a.pk-brand{color:inherit;text-decoration:none}#menubar .pk-mark{object-fit:contain}.hps-theme{border:1px solid var(--hair-2);border-radius:var(--r-sm);background:var(--s2);height:28px;color:var(--text-hi);font:inherit;cursor:pointer;white-space:nowrap;flex:none;margin-left:10px;padding:0 10px}.hps-theme:hover{background:var(--s4)}html[data-theme=light] .pk-input:focus,html[data-theme=light] .pk-select:focus{background:var(--s2)}html[data-theme=light] ::-webkit-scrollbar-thumb{background-color:#35281a4d}html[data-theme=light] .pk-tool.active:hover{background:var(--accent-dim)}html[data-theme=light] .pk-wc-tpl-rect{background:var(--s3);border-color:var(--hair-2)}html[data-theme=light] .pk-wc-open:hover{background:var(--s4)}html[data-theme=light] .pk-btn.primary{color:#fff}html[data-theme] .pk-toast{background:var(--s3);color:var(--text-hi)}html[data-theme] #menubar>.pk-brand{gap:8px}html[data-theme] .pk-lay-hlabel{white-space:nowrap;flex-shrink:0}::selection{background:var(--accent-dim,#dcd3f7);color:inherit}.hps-ai-panel{flex-direction:column;gap:8px;padding:10px;display:flex}.hps-ai-panel .pk-field,.hps-ai-selection .pk-field{flex-direction:column;gap:4px;margin:0;display:flex}.hps-ai-panel .pk-field>span{color:var(--text-dim);font-size:var(--fs-sm)}.hps-ai-panel .pk-input{box-sizing:border-box;width:100%;min-width:0}.hps-ai-panel .pk-hint,.hps-ai-panel .pk-genfill-status{overflow-wrap:anywhere;white-space:normal}.hps-ai-panel .pkd-section{margin-top:7px}.hps-ai-panel .pkd-row{flex-wrap:wrap}.hps-ai-generate-actions{align-items:center;gap:6px;display:flex}.hps-ai-generate-actions>.primary{flex:1;min-width:0}.hps-ai-purchase{white-space:nowrap;flex:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.hps-ai-generate-actions>.primary.is-insufficient:disabled{background:var(--accent);opacity:.72;cursor:not-allowed}.hps-ai-results{flex-direction:column;gap:7px;display:flex}.hps-ai-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.hps-ai-panel .hps-ai-candidate.pk-btn{width:100%;height:104px;min-height:104px;padding:3px;display:block;overflow:hidden}.hps-ai-candidate img{object-fit:contain;width:100%;height:100%;display:block}.hps-ai-references{flex-wrap:wrap;gap:6px;display:flex}.hps-ai-references img{object-fit:contain;border:1px solid var(--hair-2);border-radius:var(--r-sm);background:var(--s1);width:56px;height:56px}.hps-ai-candidate>span{white-space:normal;overflow-wrap:anywhere;padding:12px 4px;display:block}.hps-ai-history-list{flex-direction:column;gap:6px;display:flex}.hps-ai-history-item.pk-btn{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:4px;height:auto;padding:7px;display:flex}.hps-ai-history-item>span{overflow-wrap:anywhere;max-width:100%}.hps-ai-candidate[aria-pressed=true]{outline:2px solid var(--accent-ring);outline-offset:-2px}.hps-ai-context{z-index:8;justify-content:center;max-width:calc(100% - 28px);position:absolute;bottom:34px;left:50%;transform:translate(-50%)}.hps-ai-balance{white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-self:center;align-items:center;margin-left:8px;text-decoration:none;display:inline-flex}.hps-ai-fields{flex-direction:column;gap:8px;padding-top:8px;display:flex}.hps-ai-output>summary{cursor:pointer;-webkit-user-select:none;user-select:none}.hps-ai-output>summary:focus-visible{outline:2px solid var(--accent-ring);outline-offset:2px}.hps-ai-output-summary{margin-left:8px;font-weight:400}.hps-ai-selection{z-index:9;box-sizing:border-box;border:1px solid var(--hair-2);border-radius:var(--r-sm);background:var(--s2);width:340px;max-width:calc(100% - 24px);color:var(--text);flex-direction:column;gap:6px;padding:8px;display:flex;position:absolute}.hps-ai-selection.is-collapsed{background:0 0;border:0;width:max-content;padding:0}.hps-ai-selection.is-collapsed>.pk-btn{align-items:center;gap:5px;height:28px;padding:0 9px;display:inline-flex}.hps-ai-selection-body{flex-direction:column;gap:6px;display:flex}.hps-ai-selection .pkd-row{align-items:center;gap:6px;display:flex}.hps-ai-selection select{flex:1;min-width:0}.hps-ai-selection textarea.pk-input{box-sizing:border-box;resize:none;width:100%;height:52px;min-height:52px}.hps-ai-selection .pk-genfill-status{overflow-wrap:anywhere;margin-top:0}.hps-ai-selection .pk-field>span{color:var(--text-dim);font-size:var(--fs-sm)}.hps-ai-compare{gap:12px;display:flex}.hps-ai-compare figure{flex:1;min-width:0;margin:0}.hps-ai-compare canvas{object-fit:contain;width:100%;max-height:55vh;margin-top:6px;display:block}.hps-ai-panel [hidden],.hps-ai-context[hidden],.hps-ai-selection[hidden],.hps-ai-selection [hidden]{display:none}.hps-ai-reference{align-items:center;gap:5px;min-width:0;display:flex}.hps-ai-reference select{flex:1;min-width:0}.hps-ai-references{flex-direction:column;align-items:stretch}
