html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}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]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}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{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}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{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}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{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[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}html,body,#root{min-height:100%;margin:0;width:100%}body{background:#f4f6f9;color:#111827;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.login-screen{background:#eef3f8;display:grid;min-height:100vh;padding:24px;place-items:center}.login-card{width:min(420px,100%)}.login-title{align-items:center;display:flex;gap:14px;margin-bottom:24px}.login-title h1{font-size:24px;line-height:1.2;margin:0}.login-title p{color:#697386;margin:4px 0 0}.login-mark,.brand-logo{align-items:center;background:#1677ff;border-radius:6px;color:#fff;display:inline-flex;font-weight:700;height:34px;justify-content:center;width:34px}.admin-layout{min-height:100vh}.admin-sider{background:#fff!important;border-right:1px solid #edf0f5;min-height:100vh}.admin-brand{align-items:center;border-bottom:1px solid #edf0f5;color:#111827;display:flex;font-size:17px;font-weight:700;gap:10px;height:64px;padding:0 18px}.admin-menu{background:#fff;border-inline-end:0;padding:10px 8px}.admin-menu .ant-menu-item{border-radius:6px;height:40px;line-height:40px;margin:2px 0;width:100%}.admin-menu .ant-menu-item .ant-menu-item-icon{align-items:center;display:inline-flex}.admin-header{align-items:center;background:#fff;border-bottom:1px solid #edf0f5;display:flex;height:72px;justify-content:space-between;line-height:1.5;padding:0 24px}.admin-header h4{margin:0 0 2px}.admin-content{min-height:calc(100vh - 72px);padding:24px}.resource-page{display:flex;flex-direction:column;gap:16px;width:100%}.resource-header{align-items:center;display:flex;justify-content:space-between;min-height:48px}.resource-header h3{margin:0 0 2px}.resource-actions{flex-shrink:0}.toolbar-card .ant-card-body{padding:16px}.upload-progress-panel{background:#f8fafc;border:1px solid #dbeafe;border-radius:6px;margin-top:14px;padding:12px}.upload-progress-panel .ant-progress{margin-bottom:4px}.plugin-toolbar{align-items:center;display:grid;gap:12px;grid-template-columns:minmax(260px,1fr) 150px max-content max-content max-content}.plugin-market .ant-col{display:flex}.plugin-market-card{height:100%;width:100%}.plugin-market-card .ant-card-head{min-height:58px}.plugin-market-card .ant-card-body{min-height:178px}.plugin-market-card .ant-card-actions>li{margin:8px 0}.plugin-card-title{display:grid;gap:3px;min-width:0}.plugin-card-title strong,.plugin-card-title .ant-typography{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-card{min-height:360px}.role-summary{align-items:center;background:#fff;border:1px solid #edf0f5;border-radius:8px;display:flex;gap:16px;justify-content:space-between;min-height:64px;padding:16px 20px}.role-summary h4{margin:2px 0 0}.role-grid{align-items:stretch}.role-grid>.ant-col{display:flex}.role-grid .ant-card{width:100%}.role-grid .ant-card-head{min-height:58px}.role-grid .ant-card-body{display:grid;gap:14px}.role-card-footer{border-top:1px solid #edf0f5;padding-top:12px}.checkbox-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));width:100%}.permission-options{gap:12px 16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.permission-options .ant-checkbox-wrapper{align-items:flex-start;background:#fafbfc;border:1px solid #edf0f5;border-radius:6px;line-height:1.35;margin-inline-start:0;min-width:0;padding:8px 10px}.permission-options .ant-checkbox-wrapper>span:last-child{min-width:0;overflow-wrap:anywhere}.admin-table-card{border:1px solid #edf0f5;border-radius:8px;box-shadow:none}.table-toolbar{align-items:center;border-bottom:1px solid #eef2f6;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px;padding-bottom:12px}.toolbar-search{max-width:420px;width:36vw}.toolbar-select{min-width:128px}.ant-table-thead>tr>th{background:#f8fafc!important;color:#475467;font-size:13px;font-weight:600}.ant-table-tbody>tr>td{color:#344054}.status-pill{align-items:center;border:1px solid;border-radius:999px;display:inline-flex;font-size:12px;font-weight:600;gap:6px;height:24px;padding:0 9px}.status-dot{border-radius:50%;height:6px;width:6px}.status-success{background:#ecfdf3;border-color:#abefc6;color:#067647}.status-success .status-dot{background:#12b76a}.status-muted{background:#f2f4f7;border-color:#d0d5dd;color:#475467}.status-muted .status-dot{background:#98a2b3}.form-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.drawer-stack{display:flex;flex-direction:column;gap:14px}.permission-list{display:flex;flex-direction:column;gap:8px;width:100%}.permission-item{align-items:flex-start;border:1px solid #edf0f5;border-radius:6px;display:flex;margin-inline-start:0!important;padding:10px 12px;width:100%}.permission-item:hover{background:#fafbfc;border-color:#1677ff}.permission-title,.permission-meta{display:block;line-height:1.4}.permission-title{color:#111827;font-weight:600}.permission-meta{color:#697386;font-size:12px;margin-top:2px}.json-block{font-size:12px;margin:0;max-height:220px;overflow:auto;white-space:pre-wrap}button svg{vertical-align:-2px}@media(max-width:900px){.admin-layout{display:block}.admin-sider{max-width:none!important;min-height:auto;min-width:0!important;width:100%!important}.admin-header{align-items:flex-start;flex-direction:column;gap:12px;height:auto;padding:16px}.admin-content{padding:16px}.resource-header,.role-summary{align-items:flex-start;flex-direction:column}.plugin-toolbar,.form-grid{grid-template-columns:1fr}.table-toolbar{align-items:stretch;flex-direction:column}.toolbar-search{max-width:none;width:100%}}
