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)}@-ms-viewport{width:device-width}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}mark{padding:.2em;background-color:#feffe6}:root{color:#18181b;background:#fafafa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#fafafa}button,input{font:inherit}.login-page{min-height:100svh;display:grid;place-items:center;padding:24px;background:#f4f4f5}.login-card{width:min(420px,100%);display:grid;gap:20px;padding:32px;border:1px solid rgba(0,0,0,.08);border-radius:8px;background:#ffffffeb;box-shadow:0 24px 48px #0000001a,0 8px 16px #0000000d}.login-brand{display:flex;align-items:center;justify-content:space-between}.login-brand span{font-size:18px;font-weight:700}.login-card h2{margin:0 0 8px}.admin-shell{min-height:100svh}.admin-sider{position:sticky!important;top:0;height:100svh;border-right:1px solid rgba(0,0,0,.06);background:#fff!important}.admin-sider .ant-layout-sider-children{position:relative;display:flex;min-height:100%;flex-direction:column}.sider-brand{height:72px;display:flex;align-items:center;gap:12px;padding:16px;overflow:hidden}.brand-icon{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#6366f1;font-weight:700}.brand-copy{min-width:0;white-space:nowrap}.sider-brand strong,.sider-brand span{display:block;line-height:1.3}.sider-brand span{color:#71717a;font-size:12px}.ant-layout-sider-collapsed .sider-brand{justify-content:center;padding:16px 0}.ant-layout-sider-collapsed .brand-copy,.ant-layout-sider-collapsed .logout-button span{display:none}.logout-button{position:absolute;right:16px;bottom:16px;left:16px;width:calc(100% - 32px)}.admin-header{position:sticky;z-index:40;top:0;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-bottom:1px solid rgba(0,0,0,.06);background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-title-group{display:flex;min-width:0;align-items:center;gap:8px}.header-title-group>div{min-width:0}.server-identity{display:grid;gap:2px}.server-identity strong{max-width:420px;overflow:hidden;color:#18181b;font-size:14px;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.server-identity .ant-typography{font-size:12px;line-height:1.35}.desktop-collapse-button,.mobile-menu-button{width:40px;height:40px;flex:0 0 auto}.mobile-menu-button{display:none}.header-actions{flex-wrap:wrap;justify-content:flex-end}.admin-content{padding:24px 28px 32px;background:#fafafa}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.page-heading h3.ant-typography{margin:0 0 4px;color:#18181b;font-size:22px;line-height:1.25;letter-spacing:0}.page-heading .ant-typography-secondary{color:#71717a;font-size:13px}.page-actions{display:flex;flex:0 0 auto;justify-content:flex-end}.content-section{margin-bottom:20px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-alert{margin-bottom:16px}.stacked-card{margin-top:16px}.control-actions{margin-bottom:4px}.config-center{display:grid;align-items:start;grid-template-columns:292px minmax(0,1fr);gap:16px}.config-nav{position:sticky;top:88px;display:grid;gap:8px}.config-nav-item{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;border:1px solid rgba(0,0,0,.06);border-radius:8px;color:#52525b;background:#fff;box-shadow:0 1px 2px #0000000a;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.config-nav-item:hover{border-color:#6366f13d;background:#fafafa}.config-nav-item:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.config-nav-item.active{border-color:#6366f152;color:#18181b;background:#eef2ff}.config-nav-item strong,.config-nav-item small{display:block}.config-nav-item strong{margin-bottom:4px;font-size:14px}.config-nav-item small{color:#71717a;font-size:12px;line-height:1.4}.config-panel .ant-card-body{padding:0}.config-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 16px;border-bottom:1px solid rgba(0,0,0,.06)}.config-panel-header h4.ant-typography{margin:0 0 4px;font-size:18px;line-height:1.35}.config-save-note{margin:16px 24px 0}.config-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 24px 0;padding:14px 16px;border:1px solid rgba(0,0,0,.06);border-radius:8px;background:#f8fafc}.config-tools-main{display:grid;gap:4px;min-width:0}.backup-note-input{width:min(100%,620px)}.config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 24px 24px}.config-item{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px;min-height:132px;padding:16px;border:1px solid rgba(0,0,0,.06);border-radius:8px;background:#fff}.config-item.danger{border-color:#ef44443d;background:snow}.config-item-copy{display:grid;align-content:start;gap:8px;min-width:0}.config-item-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.config-item-title strong{color:#18181b;font-size:14px;line-height:1.45}.config-item .ant-typography-secondary{color:#52525b;font-size:13px;line-height:1.5}.config-item code{display:block;max-width:100%;overflow:hidden;color:#71717a;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.config-item .ant-form-item{align-self:center;margin-bottom:0}.config-empty{grid-column:1 / -1;padding:32px;border:1px dashed rgba(0,0,0,.12);border-radius:8px;text-align:center}.config-save-bar{position:sticky;z-index:30;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid rgba(0,0,0,.08);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.ant-card{border-color:#0000000f;border-radius:8px;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a}.ant-card .ant-card-body{padding:24px}.ant-statistic-content{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}.port-list{display:grid;gap:8px;margin-top:16px}.port-list code{display:block;overflow-x:auto;padding:10px 12px;border-radius:8px;color:#d9f99d;background:#0a0a0a;font-size:12px}.log-console{max-height:460px;margin:0;overflow:auto;padding:16px;border-radius:8px;color:#e5e7eb;background:#0a0a0a;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap}.raw-config-toolbar{margin-bottom:16px}.raw-config-meta{justify-content:flex-end}.raw-config-path{margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.raw-config-console{min-height:520px;max-height:68vh;margin:0;overflow:auto;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:8px;color:#e5e7eb;background:#0a0a0a;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre}.inline-json{display:block;max-width:520px;overflow:hidden;color:#52525b;text-overflow:ellipsis;white-space:nowrap}.mobile-nav-drawer .ant-drawer-body{position:relative;padding:0}.mobile-nav-drawer .sider-brand{display:none}.mobile-nav-drawer .logout-button{position:static;width:calc(100% - 32px);margin:16px}@media(max-width:960px){.admin-shell{min-height:100svh}.admin-sider,.desktop-collapse-button{display:none}.mobile-menu-button{display:inline-flex}.admin-header{position:sticky;height:auto;align-items:center;flex-direction:row;gap:8px;padding:16px}.header-title-group{flex:1 1 auto;min-width:0}.header-actions{flex:0 0 auto;gap:8px!important;justify-content:flex-end}.admin-content{padding:16px}.page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:12px}.page-actions{width:100%;justify-content:flex-start}.page-actions .ant-space{width:100%}.page-actions .ant-btn{flex:1 1 132px}.section-toolbar{align-items:stretch;flex-direction:column}.section-toolbar .ant-space,.section-toolbar .ant-input-affix-wrapper,.section-toolbar .ant-select,.section-toolbar .ant-btn{width:100%!important}.raw-config-meta{justify-content:flex-start}.config-center{grid-template-columns:1fr}.config-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.config-panel-header,.config-save-bar{align-items:stretch;flex-direction:column}.config-grid{grid-template-columns:1fr}.server-identity strong{max-width:220px}}@media(max-width:640px){.login-card{padding:24px}.admin-header,.admin-content{padding:12px}.server-identity strong{max-width:176px}.header-actions .ant-tag{display:none}.page-heading h3.ant-typography{font-size:20px}.content-section{margin-bottom:12px}.ant-card .ant-card-body{padding:16px}.config-panel .ant-card-body{padding:0}.config-nav{grid-template-columns:1fr}.config-panel-header,.config-save-note,.config-tools,.config-grid,.config-save-bar{padding-right:16px;padding-left:16px}.config-tools{flex-direction:column;align-items:stretch}.config-tools .ant-space,.config-tools .ant-btn,.backup-note-input,.backup-note-input .ant-input,.backup-note-input .ant-btn{width:100%}.config-item{grid-template-columns:1fr;min-height:auto}.config-item-title{flex-direction:column}.config-save-bar .ant-space,.config-save-bar .ant-btn{width:100%}.header-actions .ant-btn{min-height:36px}.port-list code,.log-console,.raw-config-console{font-size:11px}.raw-config-console{min-height:420px;padding:12px}}
