:root{color:#1e293b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--portal-blue:#3b82f6;--portal-muted:#64748b;--portal-line:#e2e8f0;--portal-sidebar:224px;background:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}body{min-width:0;margin:0}#portal-root{min-height:100vh}#portal-root *{box-sizing:border-box}#portal-root button,#portal-root input,#portal-root select,#portal-root textarea{font:inherit}#portal-root button,#portal-root a{-webkit-tap-highlight-color:transparent}#portal-root button{cursor:pointer}#portal-root button:disabled{cursor:not-allowed;opacity:.55}#portal-root button:focus-visible,#portal-root a:focus-visible{outline-offset:3px;outline:3px solid #93c5fd}#portal-root a{color:inherit}#portal-root svg{flex-shrink:0}.portal-sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.portal-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.75s linear infinite portal-spin;display:inline-block}@keyframes portal-spin{to{transform:rotate(360deg)}}.portal-shell{min-height:100vh;font-size:14px;line-height:1.5}.portal-sidebar{width:var(--portal-sidebar);z-index:60;border-right:1px solid var(--portal-line);background:#fff;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.portal-sidebar-brand{border-bottom:1px solid #f1f5f9;flex-shrink:0;align-items:center;gap:11px;height:65px;padding:0 21px;text-decoration:none;display:flex;overflow:hidden}.portal-logo{flex-shrink:0;justify-content:center;align-items:center;width:33px;height:36px;display:flex}.portal-sidebar-brand strong{letter-spacing:2px;color:#0f172a;font-size:18px;display:block}.portal-sidebar-brand small{letter-spacing:.8px;color:#64748b;white-space:nowrap;margin-top:1px;font-size:10px;display:block}.portal-nav-heading{color:#64748b;letter-spacing:1px;white-space:nowrap;padding:25px 24px 9px;font-size:11px}.portal-sidebar nav{flex-direction:column;gap:5px;padding:0 12px;display:flex}.portal-nav-item{white-space:nowrap;border-radius:7px;align-items:center;gap:12px;min-height:43px;padding:10px 13px;font-weight:500;text-decoration:none;transition:background-color .15s,color .15s;display:flex;color:#64748b!important}.portal-nav-item:hover{background:#f8fafc;color:#334155!important}.portal-nav-active{color:#2563eb!important;background:#eff6ff!important}.portal-nav-active svg{stroke-width:2.2px}.portal-sidebar-bottom{margin-top:auto;padding:15px 16px 12px}.portal-sidebar-hint{color:#64748b;white-space:nowrap;align-items:center;gap:9px;padding:13px 5px 20px;font-size:11px;display:flex}.portal-sidebar-collapse{color:#64748b;background:0 0;border:0;border-top:1px solid #f1f5f9;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px 0;display:flex;font-size:12px!important}.portal-main{margin-left:var(--portal-sidebar);min-height:100vh}.portal-topbar{border-bottom:1px solid var(--portal-line);z-index:40;background:#fff;justify-content:space-between;align-items:center;gap:20px;height:65px;padding:0 26px;display:flex;position:sticky;top:0}.portal-topbar-title{color:#64748b;align-items:center;gap:12px;min-width:0;font-size:13px;display:flex}.portal-topbar-title strong{color:#475569;white-space:nowrap;font-weight:500}.portal-breadcrumb{white-space:nowrap}.portal-topbar-user{flex-shrink:0;align-items:center;gap:10px;display:flex}.portal-avatar{color:#3b82f6;background:#eff6ff;border:1px solid #dbeafe;border-radius:50%;place-items:center;width:33px;height:33px;font-size:12px;font-weight:600;display:grid}.portal-user-name{color:#334155;text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:12px;overflow:hidden}.portal-user-name small{color:#64748b;margin-top:1px;font-size:10px;display:block}.portal-topbar-separator{background:#e2e8f0;width:1px;height:22px;margin:0 7px}.portal-logout{color:#64748b;background:0 0;border:0;align-items:center;gap:7px;padding:7px 0;display:flex;font-size:12px!important}.portal-logout:hover{color:#ef4444}.portal-tabs{z-index:35;border-bottom:1px solid var(--portal-line);scrollbar-width:none;background:#fff;align-items:center;gap:6px;min-height:42px;padding:6px 22px;display:flex;position:sticky;top:65px;overflow-x:auto}.portal-tabs::-webkit-scrollbar{display:none}.portal-tab{color:#64748b;border:1px solid #0000;border-radius:5px;flex-shrink:0;align-items:center;gap:4px;font-size:12px;display:flex}.portal-tab a{align-items:center;gap:7px;padding:5px 10px;text-decoration:none;display:flex}.portal-tab-active{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.portal-tab button{color:inherit;background:0 0;border:0;border-radius:3px;place-items:center;margin-right:4px;padding:3px;display:grid}.portal-tab button:hover{background:#dbeafe}.portal-content{min-width:0;max-width:1920px;margin:auto;padding:25px 27px 36px}.portal-back-action{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:7px;margin:0 0 14px;padding:8px 12px;display:flex;font-size:13px!important}.portal-icon-button{color:#475569;background:0 0;border:0;place-items:center;padding:5px;display:grid}.portal-mobile-menu,.portal-sidebar-backdrop{display:none}.portal-sidebar-collapsed{--portal-sidebar:72px}.portal-sidebar-collapsed .portal-sidebar-label{display:none}.portal-sidebar-collapsed .portal-sidebar-brand{justify-content:center;padding:0}.portal-sidebar-collapsed .portal-nav-heading{height:40px;padding:0;font-size:0}.portal-sidebar-collapsed .portal-sidebar nav{padding:0 10px}.portal-sidebar-collapsed .portal-nav-item{justify-content:center;padding:12px}.portal-sidebar-collapsed .portal-sidebar-bottom{padding-inline:10px}.portal-sidebar-collapsed .portal-sidebar-hint{justify-content:center}.portal-sidebar-collapsed .portal-sidebar-collapse span{display:none}.portal-shell-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px;padding:12px 16px;font-size:13px;display:flex}.portal-shell-error button{color:inherit;background:0 0;border:0;text-decoration:underline}.portal-native-page{min-width:0}.portal-native-page h1,.portal-native-page h2,.portal-native-page h3,.portal-native-page p{margin:0}.portal-native-page .page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px;display:flex}.portal-native-page .page-title{letter-spacing:0;color:#0f172a;font-size:20px;font-weight:600;line-height:1.35}.portal-native-page .page-description{color:#64748b;margin-top:6px;font-size:13px;line-height:1.6}.portal-native-page .panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;min-width:0;margin-bottom:18px;box-shadow:0 1px 2px #0f172a08}.portal-native-page .panel-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;display:flex}.portal-native-page .panel-header h2{font-size:15px;font-weight:600}.portal-native-page .panel-body{padding:20px}.portal-native-page .toolbar{flex-wrap:wrap;align-items:center;gap:10px;padding:17px 20px;display:flex}.portal-native-page .button{color:#334155;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 13px;font-size:14px;font-weight:500;line-height:1.3;transition:background-color .15s,border-color .15s;display:inline-flex}.portal-native-page .button:hover{background:#f8fafc;border-color:#cbd5e1}.portal-native-page .button-primary{color:#fff;background:#3b82f6;border-color:#3b82f6;box-shadow:0 2px 3px #2563eb12}.portal-native-page .button-primary:hover{background:#2563eb;border-color:#2563eb}.portal-native-page .button-ghost{color:#2563eb;background:0 0;border-color:#0000;min-height:30px;padding:6px 8px}.portal-native-page .button-ghost:hover{background:#eff6ff;border-color:#0000}.portal-native-page .button-danger{color:#dc2626;border-color:#fecaca}.portal-native-page .input,.portal-native-page .select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;min-width:0;min-height:36px;padding:8px 11px;font-size:14px}.portal-native-page .input::placeholder{color:#94a3b8}.portal-native-page .input:hover:not(:disabled):not(:focus),.portal-native-page .select:hover:not(:disabled):not(:focus){border-color:#94a3b8}.portal-native-page .input:focus,.portal-native-page .select:focus{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.portal-native-page .select{padding-right:28px}.portal-native-page .table-wrap{border-top:1px solid #f1f5f9;width:100%;overflow:auto}.portal-native-page .data-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.portal-native-page .data-table th{color:#64748b;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 20px;font-size:11px;font-weight:600}.portal-native-page .data-table td{color:#475569;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:16px 20px}.portal-native-page .data-table tbody tr:hover{background:#f8fbff}.portal-native-page .data-table tbody tr:last-child td{border-bottom:0}.portal-native-page .data-table .muted{color:#64748b;margin-top:4px;font-size:11px}.portal-native-page .badge{color:#64748b;white-space:nowrap;background:#f1f5f9;border-radius:5px;align-items:center;gap:5px;padding:3px 8px;font-size:11px;display:inline-flex}.portal-native-page .badge-success{color:#059669;background:#ecfdf5}.portal-native-page .badge-warning{color:#d97706;background:#fffbeb}.portal-native-page .badge-danger{color:#e11d48;background:#fff1f2}.portal-native-page .badge-info,.portal-native-page .badge-primary{color:#2563eb;background:#eff6ff}.portal-native-page .empty-state{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:45px 20px;font-size:13px;display:flex}.portal-native-page .empty-state h2{color:#475569;font-size:15px}.portal-native-page .pagination{color:#64748b;border-top:1px solid #f1f5f9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:15px 20px;font-size:12px;display:flex}.portal-native-page .pagination>div{align-items:center;gap:9px;display:flex}.portal-native-page .loading-inline{color:#64748b;align-items:center;gap:7px;font-size:12px;display:inline-flex}.portal-native-page .spinner{border:2px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;width:15px;height:15px;animation:.75s linear infinite portal-spin;display:inline-block}.portal-native-page .error-banner{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;align-items:center;gap:10px;margin-bottom:16px;padding:12px 15px;font-size:13px;display:flex}.portal-native-page .error-banner button{margin-left:auto}.portal-native-page .text-muted{color:#64748b}.portal-native-page .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px;display:grid}.portal-native-page .stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:14px;padding:18px 20px;display:flex}.portal-native-page .stat-value{color:#0f172a;font-size:24px;font-weight:650}.portal-native-page .stat-label{color:#64748b;margin-top:3px;font-size:12px}.portal-native-page .stat-icon{color:#3b82f6;background:#eff6ff;border-radius:9px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.portal-login{background:#f8fafc;flex-direction:column;justify-content:center;align-items:center;min-height:100svh;padding:100px 24px 60px;font-size:14px;line-height:1.5;display:flex}.portal-login-brand{color:#0f172a;letter-spacing:2px;align-items:center;gap:10px;font-size:20px;font-weight:650;display:flex;position:absolute;top:30px;left:38px}.portal-brand-divider{background:#cbd5e1;width:1px;height:19px;margin:0 3px}.portal-brand-caption{letter-spacing:1px;color:#64748b;font-size:12px;font-weight:400}.portal-login-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;max-width:420px;padding:36px 36px 28px;box-shadow:0 12px 45px #33415506}.portal-login-mark{background:#eff6ff;border-radius:12px;place-items:center;width:48px;height:48px;margin-bottom:24px;display:grid}.portal-login-card h1{color:#0f172a;letter-spacing:-.7px;margin:0;font-size:25px;font-weight:650}.portal-login-subtitle{color:#64748b;margin:8px 0 30px;font-size:13px}.portal-login-form{gap:20px;display:grid}.portal-login-form label{color:#475569;gap:8px;font-size:12px;font-weight:500;display:grid}.portal-login-field{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 13px;display:flex}.portal-login-field:focus-within{border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f612}.portal-login-field input{color:#334155;background:0 0;border:0;outline:none;width:100%;min-width:0;padding:12px 0;font-weight:400;font-size:13px!important}.portal-login-field input::placeholder{color:#a8b3c2}.portal-password-toggle{color:#64748b;background:0 0;border:0;place-items:center;padding:3px;display:grid}.portal-login-submit{color:#fff;background:#2563eb;border:1px solid #2563eb;border-radius:7px;justify-content:center;align-items:center;gap:12px;min-height:44px;margin-top:6px;font-weight:500;display:flex;box-shadow:0 3px 7px #2563eb16;font-size:13px!important}.portal-login-submit:hover{background:#1d4ed8}.portal-login-status{color:#64748b;min-height:20px;margin-top:15px;font-size:12px}.portal-login-status p{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.portal-login-status button{color:#2563eb;background:0 0;border:0;align-items:center;gap:4px;padding:2px 3px;display:inline-flex;font-size:12px!important}.portal-login-error{color:#dc2626}.portal-login-footer{letter-spacing:1px;color:#a8b3c2;margin:27px 0 0;font-size:11px}.portal-page-loading{gap:20px;padding:3px 0;display:grid}.portal-skeleton{background:#e9eef4;border-radius:5px;animation:1.4s ease-in-out infinite portal-pulse}.portal-skeleton-title{width:150px;height:27px}.portal-skeleton-toolbar{background:#fff;border:1px solid #e2e8f0;height:64px}.portal-skeleton-table{background:#fff;border:1px solid #e2e8f0;border-radius:8px;gap:27px;padding:24px;display:grid}.portal-skeleton-table .portal-skeleton{width:85%;height:20px}.portal-skeleton-table .portal-skeleton:nth-child(2n){width:72%}@keyframes portal-pulse{50%{opacity:.5}}.portal-page-failure{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.portal-page-failure h2{color:#475569;margin:15px 0 0;font-size:17px}.portal-page-failure p{margin:8px 0 18px;font-size:13px}.portal-page-failure button{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:8px;padding:9px 14px;display:flex}.portal-dialog-backdrop{z-index:150;background:#0f172a55;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.portal-notice-dialog{background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;max-width:380px;padding:30px;box-shadow:0 20px 80px #0f172a25}.portal-notice-icon{color:#2563eb;background:#eff6ff;border-radius:11px;place-items:center;width:45px;height:45px;display:grid}.portal-notice-dialog h2{margin:20px 0 10px;font-size:19px}.portal-notice-dialog p{color:#64748b;font-size:13px;line-height:1.8}.portal-notice-dialog button{color:#fff;background:#2563eb;border:0;border-radius:7px;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:22px;padding:11px;font-size:13px;display:flex}@media (width>=1600px){.portal-content{padding:30px 36px 40px}}@media (width<=1000px){.portal-content{padding:22px 20px}.portal-topbar{padding-inline:20px}.portal-native-page .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.portal-sidebar{transition:transform .18s;transform:translate(-100%);width:224px!important}.portal-sidebar-open{transform:translate(0)}.portal-sidebar-open .portal-sidebar-label{display:block}.portal-sidebar-open .portal-sidebar-brand{justify-content:flex-start;padding:0 21px}.portal-sidebar-open .portal-nav-item{justify-content:flex-start;padding:10px 13px}.portal-sidebar-open .portal-nav-heading{height:auto;padding:25px 24px 9px;font-size:11px}.portal-sidebar-open .portal-sidebar-hint{justify-content:flex-start}.portal-sidebar-collapse{display:none}.portal-sidebar-backdrop{z-index:55;background:#0f172a55;border:0;display:block;position:fixed;inset:0}.portal-main{margin-left:0}.portal-mobile-menu{display:grid}.portal-topbar{height:58px;padding:0 16px}.portal-topbar-title{gap:8px}.portal-breadcrumb,.portal-topbar-title>svg{display:none}.portal-tabs{min-height:40px;padding-inline:12px;top:58px}.portal-content{padding:20px 14px 30px}.portal-topbar-user{gap:7px}.portal-topbar-separator{margin:0 4px}.portal-user-name{max-width:88px}.portal-native-page .page-title{font-size:21px}.portal-native-page .page-header{gap:14px;margin-bottom:18px}.portal-native-page .toolbar{padding:14px}.portal-native-page .panel-header,.portal-native-page .panel-body{padding:15px}.portal-native-page .data-table td,.portal-native-page .data-table th{padding-left:14px;padding-right:14px}.portal-native-page .pagination{padding:14px}.portal-native-page .stat-grid{gap:10px}.portal-native-page .stat-card{gap:10px;padding:14px}.portal-native-page .stat-value{font-size:21px}.portal-login{padding-inline:20px}.portal-login-brand{top:25px;left:24px}.portal-login-card{padding:30px 27px 22px}.portal-login-field input{font-size:16px!important}}@media (width<=380px){.portal-user-name{display:none}.portal-topbar{padding-inline:12px}.portal-topbar-title{font-size:12px}.portal-content{padding-inline:11px}.portal-native-page .toolbar>.input{width:100%}.portal-native-page .stat-card{padding:12px}.portal-native-page .stat-icon{width:32px;height:32px}.portal-native-page .stat-value{font-size:19px}}@media (prefers-reduced-motion:reduce){#portal-root *,#portal-root :before,#portal-root :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
