#khModelDiscover{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;margin:0 0 10px;border:1px solid #e7b9d0;border-radius:12px;background:#fff5fa;color:#82244f;cursor:pointer;text-align:left;font:inherit}
#khModelDiscover strong{display:block;font-size:15px;line-height:1.5}#khModelDiscover small{display:block;font-size:12px;color:#705365;line-height:1.6}#khModelDiscover>span:last-child{white-space:nowrap;font-size:13px;font-weight:700}
#khPromptToolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0;color:#64748b;font-size:12px}#khPromptToolbar button{border:1px solid #ddc6d5;background:#fff6fb;border-radius:8px;color:#8c285a;padding:7px 10px;font-size:13px;cursor:pointer}
#khPromptArea{min-width:0}#khPromptArea #prompt{width:100%;box-sizing:border-box;min-height:156px;font-size:15px!important;line-height:1.85!important;resize:vertical}#khPromptCount.kh-over-limit{color:#b42334;font-weight:700}
.kh-reference-guide{font-size:12px!important;line-height:1.75!important;color:#52627b!important;margin:8px 0!important;white-space:normal!important}
#khReferenceSuggestions{padding:10px;border:1px solid #d9e3f1;border-radius:10px;background:#f5f8fd;margin:8px 0;max-height:170px;overflow:auto}#khReferenceSuggestions[hidden]{display:none!important}
#khReferenceSuggestions p{margin:0 0 6px;font-size:12px;line-height:1.7;color:#52627b}#khReferenceSuggestions button{font:inherit;font-size:12px;max-width:100%;overflow-wrap:anywhere;white-space:normal;cursor:pointer;padding:6px 9px;margin:3px;border:1px solid #d8dfe9;border-radius:7px;background:white;color:#334155;text-align:left}#khReferenceSuggestions .kh-match-all{color:#93275d;border-color:#dba5c2;font-weight:700}
#assetGrid .asset-footer{display:flex!important;flex-wrap:wrap;gap:4px;padding:6px!important;height:auto!important}#assetGrid .kh-asset-mention{border:0!important;background:#f9edf5!important;color:#94265d!important;border-radius:5px;padding:4px 6px;cursor:pointer;font-size:12px}#assetGrid .kh-asset-name{font-size:11px;color:#52627b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px 6px;max-width:100%;box-sizing:border-box}
.kh-prompt-dialog{box-sizing:border-box;width:min(1040px,calc(100vw - 48px));height:min(860px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:1px solid #ead9e4;border-radius:18px;color:#263248;background:#fff;box-shadow:0 24px 90px #17213640;overflow:hidden}
.kh-prompt-dialog[open]{display:flex;flex-direction:column}.kh-prompt-dialog::backdrop{background:#17213666;backdrop-filter:blur(4px)}.kh-prompt-dialog header{display:flex;justify-content:space-between;gap:16px;padding:24px 28px 18px;background:linear-gradient(110deg,#fff,#fff6fb)}.kh-prompt-dialog h2{font-size:23px;margin:6px 0}.kh-prompt-dialog header p{color:#657086;font-size:13px;margin:6px 0;line-height:1.7}
#khPromptClose{align-self:flex-start;border:1px solid #e3d9e1;border-radius:10px;background:#fff;font-size:25px;color:#59687c;cursor:pointer;width:36px;height:36px;flex-shrink:0}
.kh-prompt-find{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 14px;border-bottom:1px solid #e8edf4}.kh-prompt-find input{flex:1;min-width:150px;padding:10px;border:1px solid #d6dfec;border-radius:8px;font-size:14px}.kh-prompt-find button{border:1px solid #d6dfec;border-radius:8px;background:#fff;color:#475569;padding:8px 12px;cursor:pointer}.kh-prompt-find span{width:100%;font-size:12px;color:#657086}
#khPromptEditorBody{padding:18px 28px;flex:1;min-height:0;overflow:auto}#khPromptEditorBody #khPromptArea{display:flex;flex-direction:column;height:100%;min-height:220px}#khPromptEditorBody #prompt{flex:1;min-height:150px!important;max-height:none!important;resize:none;padding:18px!important;border:1px solid #d9dfeb!important;border-radius:12px!important;background:#fcfdff!important;color:#263248!important;font-size:16px!important;line-height:1.95!important;box-shadow:none!important}
.kh-prompt-dialog footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:15px 28px;border-top:1px solid #e8edf4;font-size:12px;color:#657086}.kh-prompt-dialog footer button{border:0;background:#9d2c64;color:white;border-radius:9px;padding:10px 20px;cursor:pointer;font-size:14px}
@media(max-width:600px){.kh-prompt-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:13px}.kh-prompt-dialog header{padding:18px 16px 12px}.kh-prompt-dialog h2{font-size:20px}.kh-prompt-find{padding:0 16px 12px}.kh-prompt-find input{width:100%;flex-basis:100%}#khPromptEditorBody{padding:12px 16px}.kh-prompt-dialog footer{padding:12px 16px}.kh-prompt-dialog footer>span:nth-child(2){display:none}#khModelDiscover{padding:10px}#khModelDiscover strong{font-size:14px}}
