html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}*{box-sizing:border-box}:root{--admin-bg:#f3f6f9;--admin-surface:#fff;--admin-surface-soft:#f8fafc;--admin-border:#d9e2ec;--admin-border-soft:#edf2f7;--admin-text:#1f2933;--admin-muted:#667085;--admin-muted-strong:#52616f;--admin-accent:#1677ff;--admin-accent-soft:#eef6ff;--admin-radius:8px;--admin-shadow:0 8px 24px #0f172a0a}html,body,#root{background:var(--admin-bg);width:100%;height:100%;color:var(--admin-text);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;overflow:hidden}.app-shell{background:var(--admin-bg);width:100%;height:100vh;overflow:hidden}.app-sider{border-right:1px solid var(--admin-border);height:100vh;overflow:hidden;background:var(--admin-surface)!important}.brand-block{border-bottom:1px solid var(--admin-border-soft);height:76px;padding:16px 20px}.brand-block h4{color:var(--admin-text);letter-spacing:0;margin:0}.brand-block .ant-typography{color:var(--admin-muted)}.app-sider .ant-menu{padding:10px;border-inline-end:0!important}.app-sider .ant-menu-item{border-radius:7px;height:40px;margin:4px 0}.app-sider .ant-menu-item-selected{background:var(--admin-accent-soft)}.app-sider .ant-menu-item-selected:after{display:none}.app-main{min-width:0;height:100vh;overflow:hidden}.app-header{border-bottom:1px solid var(--admin-border);background:#fff;flex:0 0 76px;justify-content:space-between;align-items:center;gap:20px;height:76px;padding:14px 24px;line-height:1.4;display:flex;overflow:hidden}.app-header h3{letter-spacing:0;margin:0}.header-copy{min-width:0}.header-copy .ant-typography{max-width:100%}.api-input{width:280px}.app-content{min-width:0;height:calc(100vh - 76px);min-height:0;padding:12px 14px 14px;overflow:hidden}.workspace-tabs{flex-direction:column;height:100%;display:flex}.workspace-tabs>.ant-tabs-nav{flex:none;margin:0 0 10px}.workspace-tabs>.ant-tabs-nav .ant-tabs-tab{border-radius:7px 7px 0 0!important}.workspace-tabs>.ant-tabs-content-holder{flex:auto;min-height:0;overflow:hidden}.workspace-tabs>.ant-tabs-content-holder>.ant-tabs-content{height:100%}.workspace-tabs .ant-tabs-tabpane{height:100%;overflow:hidden}.workspace-page{height:100%;min-height:0;overflow:hidden}.config-manager{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow:hidden}.toolbar-card{border-color:var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface-soft);box-shadow:none;flex:none}.toolbar-card>.ant-card-body{padding:12px 14px}.config-tabs{flex:auto;min-height:0;display:flex;overflow:hidden}.config-tabs>.ant-tabs-nav{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);flex:0 0 148px;width:148px;margin:0 12px 0 0;padding:8px}.config-tabs>.ant-tabs-nav .ant-tabs-tab{border-radius:7px;padding:9px 10px;margin:0 0 4px!important}.config-tabs>.ant-tabs-nav .ant-tabs-tab-active{background:var(--admin-accent-soft)}.config-tabs>.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0;overflow:hidden}.config-tabs>.ant-tabs-content-holder>.ant-tabs-content{height:100%}.config-tabs .ant-tabs-tabpane{height:100%;overflow:hidden}.system-config-stack{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:20px;min-height:0;display:flex;overflow:auto}.system-config-stack>.page-card{flex:none;height:auto}.page-card{border-color:var(--admin-border);border-radius:var(--admin-radius);height:100%;box-shadow:var(--admin-shadow);flex-direction:column;display:flex;overflow:hidden}.page-card>.ant-card-head{flex:none}.page-card>.ant-card-body{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.admin-page-shell>.ant-card-body{gap:12px;padding:14px}.admin-page-toolbar{border-bottom:1px solid var(--admin-border-soft);flex:none;justify-content:space-between;align-items:center;gap:16px;min-width:0;min-height:38px;padding:0 2px 10px;display:flex}.admin-page-description{min-width:0;color:var(--admin-muted);line-height:1.5}.admin-page-description .ant-typography{color:var(--admin-muted)}.admin-page-actions{flex:none}.admin-page-body{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.config-list-card>.ant-card-body{overscroll-behavior:contain;flex-direction:column;gap:12px;display:flex;overflow:auto}.config-list-card{border-color:var(--admin-border);box-shadow:none}.config-list-card>.ant-card-head{border-bottom-color:var(--admin-border-soft);min-height:48px}.config-list-card>.ant-card-head .ant-card-head-title{color:var(--admin-text);font-weight:650}.users-manager{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow:hidden}.users-admin-card{border-color:var(--admin-border);box-shadow:none;flex:none}.users-mini-card{border-color:var(--admin-border);min-height:0;box-shadow:none;flex-direction:column;flex:auto;display:flex;overflow:hidden}.users-admin-card>.ant-card-head,.users-mini-card>.ant-card-head{border-bottom-color:var(--admin-border-soft);min-height:44px}.users-admin-card>.ant-card-head .ant-card-head-title,.users-mini-card>.ant-card-head .ant-card-head-title{color:var(--admin-text);font-weight:650}.users-mini-card>.ant-card-body{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.user-name-cell{width:100%;min-width:0;display:block}.users-search-input{width:min(260px,36vw)}.user-tags-cell{flex-wrap:wrap;gap:4px;width:100%;min-width:0;display:flex;overflow:hidden}.user-tags-cell .ant-tag{text-overflow:ellipsis;max-width:100%;margin-inline-end:0;overflow:hidden}.user-actions-cell{width:100%;min-width:0}.users-table,.feedback-table,.recognition-table{flex:auto;min-height:0}.feedback-table,.recognition-table{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);padding:0;overflow:hidden}.users-table .ant-spin-nested-loading,.users-table .ant-spin,.users-table .ant-spin-container,.feedback-table .ant-spin-nested-loading,.feedback-table .ant-spin,.feedback-table .ant-spin-container,.recognition-table .ant-spin-nested-loading,.recognition-table .ant-spin,.recognition-table .ant-spin-container{height:100%;min-height:0}.users-table .ant-spin,.feedback-table .ant-spin,.recognition-table .ant-spin,.users-table .ant-spin-container,.feedback-table .ant-spin-container,.recognition-table .ant-spin-container{flex-direction:column;display:flex}.users-table .ant-table,.feedback-table .ant-table,.recognition-table .ant-table{flex-direction:column;flex:auto;min-height:0;display:flex}.users-table .ant-table-container,.feedback-table .ant-table-container,.recognition-table .ant-table-container{flex-direction:column;flex:auto;height:auto;min-height:0;display:flex}.users-table .ant-table-header,.feedback-table .ant-table-header,.recognition-table .ant-table-header{flex:none}.users-table .ant-table-body,.feedback-table .ant-table-body,.recognition-table .ant-table-body{flex:auto;height:auto;max-height:none!important;overflow-y:auto!important}.users-table .ant-table-body{overflow-x:hidden!important}.users-table .ant-pagination,.feedback-table .ant-pagination,.recognition-table .ant-pagination{flex:none;margin:10px 12px 0}.ant-table-wrapper .ant-table-thead>tr>th{color:#475467;font-weight:650;background:var(--admin-surface-soft)!important}.ant-table-wrapper .ant-table-tbody>tr>td{color:var(--admin-text)}.ant-table-wrapper .ant-table-tbody>tr:hover>td{background:#f6fbff!important}.token-summary{border:1px solid var(--admin-border);background:var(--admin-surface-soft);border-radius:6px;width:100%;margin-bottom:12px;padding:10px 12px}.token-positive{color:#047857;font-weight:600}.token-negative{color:#b42318;font-weight:600}.full-width-input{width:100%}.feedback-summary-cell,.feedback-content-cell{width:100%;min-width:0;display:block}.feedback-content-modal{white-space:pre-wrap;overflow-wrap:anywhere;max-height:min(420px,100vh - 220px);line-height:1.7;overflow:auto}.recognition-thumbs{max-width:100%}.recognition-thumb{object-fit:cover;background:var(--admin-surface-soft);border:1px solid #05050514;border-radius:6px}.recognition-detail{width:100%}.recognition-result .ant-descriptions-item-label{width:160px}.recognition-flow-step{width:100%}.recognition-pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--admin-surface-soft);border:1px solid #05050514;border-radius:6px;max-height:260px;margin:6px 0 0;padding:10px 12px;font-size:12px;line-height:1.6;overflow:auto}.recognition-error{color:#a8071a;background:#fff1f0}.recognition-empty-flow{background:var(--admin-surface-soft);border:1px dashed #0505051f;border-radius:6px;padding:12px}.prompt-manager>.ant-card-body{gap:12px;padding:14px}.prompt-list-page{border:1px solid var(--admin-border);border-radius:var(--admin-radius);background:var(--admin-surface);flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.prompt-workflow-tabs{flex-direction:column;flex:auto;min-height:0;padding:0 14px 12px;display:flex}.prompt-workflow-tabs>.ant-tabs-nav{flex:none;margin:0}.prompt-workflow-tabs>.ant-tabs-content-holder,.prompt-workflow-tabs>.ant-tabs-content-holder>.ant-tabs-content,.prompt-workflow-tabs>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{flex:auto;min-height:0}.prompt-workflow-tabs>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane-active{flex-direction:column;display:flex}.prompt-tab-content{flex-direction:column;flex:auto;gap:12px;min-height:0;padding-top:12px;display:flex;overflow:hidden}.prompt-list-table{flex:auto;min-height:0}.prompt-list-table .ant-table-wrapper,.prompt-list-table .ant-spin-nested-loading,.prompt-list-table .ant-spin,.prompt-list-table .ant-spin-container{height:100%;min-height:0}.prompt-list-table .ant-spin,.prompt-list-table .ant-spin-container,.prompt-list-table .ant-table,.prompt-list-table .ant-table-container{flex-direction:column;flex:auto;min-height:0;display:flex}.prompt-list-table .ant-table-body{flex:auto}.prompt-list-table .ant-pagination{flex:none}.prompt-name-cell{flex-direction:column;gap:4px;min-width:0;display:flex}.prompt-name-cell .ant-typography{overflow-wrap:anywhere;margin:0}.prompt-row-actions{max-width:100%}.prompt-detail-modal,.prompt-version-editor,.prompt-test-modal{max-height:calc(100vh - 210px);overflow:hidden}.prompt-detail-modal{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:14px;display:grid}.prompt-current-block{flex-direction:column;min-width:0;min-height:420px;display:flex;overflow:hidden}.prompt-version-editor,.prompt-test-modal{flex-direction:column;gap:12px;display:flex}.prompt-field{flex:none;min-width:0}.prompt-field-main{flex-direction:column;flex:auto;min-height:0;display:flex}.prompt-field-label{color:var(--admin-muted-strong);margin-bottom:7px;font-size:12px;font-weight:700;display:block}.prompt-field-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;display:flex}.prompt-textarea{resize:none;background:var(--admin-surface);border:1px solid #d9d9d9;border-radius:6px;outline:none;flex:auto;width:100%;min-width:0;min-height:0;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:1.6}.prompt-textarea--editor{min-height:420px}.prompt-textarea:focus{border-color:#1677ff;box-shadow:0 0 0 2px #0591ff1a}.prompt-textarea--test{min-height:260px}.prompt-test-images{flex-wrap:wrap;gap:8px;max-height:84px;margin-top:8px;display:flex;overflow:auto}.prompt-test-image{background:var(--admin-surface);border:1px solid #05050514;border-radius:6px;width:68px;height:68px;position:relative;overflow:hidden}.prompt-test-image img{object-fit:cover;width:100%;height:100%}.prompt-test-image .ant-btn{position:absolute;top:4px;right:4px}.prompt-version-copy{width:100%}.prompt-version-copy .prompt-version-select{flex:auto;min-width:0}.prompt-markdown-preview{background:var(--admin-surface);border:1px solid #d9d9d9;border-radius:6px;flex:auto;min-height:0;padding:14px 16px;line-height:1.7;overflow:auto}.prompt-markdown-preview .ant-typography{margin-bottom:8px}.prompt-markdown-bullet{overflow-wrap:anywhere;margin-bottom:6px;padding-left:18px;position:relative}.prompt-markdown-bullet:before{content:"•";position:absolute;left:2px}.prompt-markdown-code{overflow-wrap:anywhere;background:var(--admin-surface-soft);border-radius:4px;margin:0 0 4px;padding:2px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.prompt-markdown-spacer{height:8px}.prompt-test-result{width:100%}.prompt-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.prompt-pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--admin-surface-soft);border:1px solid #05050514;border-radius:6px;max-height:min(360px,100vh - 260px);margin:6px 0 0;padding:10px 12px;font-size:12px;line-height:1.6;overflow:auto}.prompt-pre--sample{max-height:180px}.prompt-result-fields{background:var(--admin-surface-soft);border:1px solid #05050514;border-radius:6px;max-height:min(360px,100vh - 260px);margin-top:6px;overflow:auto}.prompt-result-row{border-bottom:1px solid #0505050f;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:8px 10px;display:grid}.prompt-result-row:last-child{border-bottom:0}.prompt-result-row .ant-typography{overflow-wrap:anywhere}.config-table{flex:none;min-height:0}.config-table.ant-table-wrapper{min-width:0}.config-add-row{width:100%;min-width:0}.config-add-row .ant-space-compact{width:min(520px,100%)}.config-add-row .ant-input{min-width:0}.localized-add{width:min(520px,100%)}.banner-upload-cell{width:100%}.banner-thumb{object-fit:cover;background:var(--admin-surface-soft);border:1px solid #05050514;border-radius:6px;width:180px;height:86px;display:block;overflow:hidden}.banner-thumb--poster{width:96px;height:128px}.banner-thumb--empty{color:#00000073;text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;padding:8px;font-size:12px;display:flex}.localized-add .ant-input{min-width:0}.embedded-card{border:0}.embedded-card>.ant-card-body{padding:0}.ant-drawer-body,.ant-modal-root .ant-modal-wrap{overflow:hidden}.ant-modal{max-width:calc(100vw - 32px);padding-bottom:0;top:24px}.ant-modal-content{flex-direction:column;max-height:calc(100vh - 48px);display:flex;overflow:hidden}.ant-modal-body{min-height:0;overflow:auto}.ant-modal-header,.ant-modal-footer{flex:none}.toolbar{width:100%}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;display:grid}.brew-stage-editor{flex-direction:column;gap:10px;max-height:310px;padding-right:4px;display:flex;overflow:auto}.brew-stage-row{grid-template-columns:minmax(120px,1fr) 120px 130px minmax(180px,1.5fr) auto;align-items:end;gap:10px;display:grid}.brew-stage-row .ant-form-item{margin-bottom:0}.brew-stage-row .ant-input-number-group-wrapper{width:100%}.stage-actions{padding-bottom:0}.json-block{margin:0}.json-block pre{color:#e5e7eb;background:#101828;border-radius:6px;max-height:calc(100vh - 160px);margin:0;padding:14px;font-size:12px;line-height:1.55;overflow:auto}.modal-meta{margin-bottom:16px}.login-wrap{background:var(--admin-bg);place-items:center;width:100%;height:100vh;display:grid;overflow:hidden}.login-card{width:380px}.loading-screen{width:100%;height:100vh;color:var(--admin-muted);place-items:center;display:grid;overflow:hidden}.ant-card,.ant-table-wrapper .ant-table{border-radius:var(--admin-radius)}.ant-card-head{border-bottom-color:var(--admin-border-soft)}.ant-btn{border-radius:6px}.ant-input,.ant-input-number,.ant-select-selector{border-radius:6px!important}
