:root{--surface:#fff;--foreground:#18191b;--muted-foreground:#666a73;--muted:#f5f6f7;--sidebar:#f9fafb;--sidebar-active:#eaecef;--border:#e1e3e7;--accent:#405a9a;--accent-surface:#edf1fa;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--surface:#17181b;--foreground:#f0f1f3;--muted-foreground:#a4a9b3;--muted:#222429;--sidebar:#1c1d21;--sidebar-active:#303238;--border:#31343b;--accent:#a0baff;--accent-surface:#252f4b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{min-width:320px;color:var(--foreground);background:var(--surface);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,system-ui,-apple-system,PingFang SC,sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.admin-layout{background:var(--surface);height:100dvh;min-height:100dvh}.admin-layout .ant-layout{background:var(--surface);min-width:0}.admin-sidebar.ant-layout-sider{background:var(--sidebar);border-right:1px solid var(--border);height:100dvh}.admin-sidebar .ant-layout-sider-children{flex-direction:column;display:flex;overflow:auto}.brand{align-items:center;gap:12px;min-height:80px;padding:24px 22px 18px;display:flex}.brand img{flex:none;display:block}.brand strong{font-size:18px;font-weight:700}.brand small{letter-spacing:1px;color:var(--muted-foreground);font-size:10px;display:block}.admin-sidebar .ant-menu,.ant-drawer .ant-menu{background:0 0;padding:8px;border-inline-end:0!important}.admin-sidebar .ant-menu-item-selected{background:var(--sidebar-active)!important;color:var(--foreground)!important}.admin-sidebar .ant-menu-item-group-title{color:var(--muted-foreground);padding-top:20px;font-size:11px}.sidebar-bottom{border-top:1px solid var(--border);color:var(--muted-foreground);gap:10px;margin-top:auto;padding:18px 22px;font-size:12px;display:flex}.topbar{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;height:64px;padding:0 32px;display:flex}.account{align-items:center;gap:8px;display:flex}.account .ant-avatar{background:var(--accent-surface);color:var(--accent)}.environment,.topbar .ant-breadcrumb{font-size:12px}.admin-content{min-height:0;padding:26px 32px;overflow:auto}.admin-footer{border-top:1px solid var(--border);color:var(--muted-foreground);flex:none;justify-content:space-between;padding:12px 32px;font-size:11px;display:flex}.page-heading{flex:none;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}h1,h2{color:var(--foreground);margin:0;font-weight:650}h1{font-size:24px;line-height:1.4}h2{font-size:16px}.page-heading p,.module-card p,.quiet{color:var(--muted-foreground);margin:6px 0 0;font-size:13px}.eyebrow{color:var(--muted-foreground);margin-bottom:5px;font-size:11px}.module-grid{grid-template-columns:repeat(auto-fit,minmax(260px,360px));gap:16px;display:grid}.module-card.ant-card{border-color:var(--border)}.module-icon{background:var(--muted);width:38px;height:38px;color:var(--accent);border-radius:10px;place-items:center;margin-bottom:14px;font-size:19px;display:grid}.workspace-link,.module-links a{color:var(--accent);justify-content:space-between;padding:11px 0;display:flex}.workspace-link,.module-links{border-top:1px solid var(--border);margin-top:14px}.project-page,.resource-page{flex-direction:column;height:100%;min-height:0;display:flex}.project-heading{margin-bottom:8px}.project-page>.ant-tabs{flex:none}.project-page>.ant-tabs .ant-tabs-nav{margin-bottom:16px}.project-page>.ant-tabs .ant-tabs-tab{padding:10px 0}.project-page>.ant-tabs .ant-tabs-tab+.ant-tabs-tab{margin-left:24px}.project-page>.resource-page{flex:1;height:auto}.resource-embedded>.page-heading{margin-bottom:12px}.resource-embedded>.page-heading p{font-size:12px}.filter-bar{background:var(--muted);border:1px solid var(--border);border-radius:8px;flex:none;align-items:center;gap:8px;margin-bottom:12px;padding:12px 14px;display:flex}.filter-bar>.ant-input-affix-wrapper{max-width:300px}.filter-bar>.ant-input{max-width:180px}.audit-time-field{min-width:0;color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:flex}.audit-time-field .ant-input{width:205px}.audit-description{color:var(--muted-foreground);flex:none;margin:-4px 0 12px;font-size:12px}.resource-page>.ant-alert{flex:none;margin-bottom:12px}.table-panel{border:1px solid var(--border);border-radius:8px;flex-direction:column;flex:1;min-height:230px;display:flex;overflow:hidden}.table-panel>.ant-table-wrapper{flex:1;min-height:0;overflow:auto}.table-panel .ant-table{font-size:13px}.table-footer{border-top:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;font-size:12px;display:flex}.identifier{white-space:nowrap;font-family:ui-monospace,monospace;font-size:11px}.entity-label{flex-direction:column;gap:2px;display:flex}.entity-label .identifier{color:var(--muted-foreground)}.rules-area{overflow:auto}.rules-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.write-target{overflow-wrap:anywhere;margin:0 0 10px;font-weight:600}.ant-modal .ant-alert{margin-bottom:12px}.login-screen{background:var(--sidebar);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;display:flex}.login-card{width:min(520px,100% - 28px)}@media (width<=1100px){.filter-bar{flex-wrap:wrap}.filter-bar>.ant-input-affix-wrapper{flex-basis:100%;max-width:none}.filter-bar>.ant-input{flex:1;min-width:120px;max-width:none}.audit-time-field{flex:280px}.audit-time-field .ant-input{width:100%}}@media (width<=767px){.admin-content{padding:16px 12px}.topbar,.admin-footer{padding-inline:12px}.topbar .ant-breadcrumb{display:none}.rules-grid{grid-template-columns:1fr}.table-footer{flex-direction:column;align-items:flex-start;gap:5px;padding:8px}.table-footer .ant-space{flex-wrap:wrap;gap:5px!important}.project-page>.ant-tabs .ant-tabs-tab+.ant-tabs-tab{margin-left:16px}.project-page>.ant-tabs .ant-tabs-nav{margin-bottom:12px}.page-heading p{font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.table-panel.price-panel{flex:0 auto;min-height:0}
