@import"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap";.web-code-deduct-form{margin-top:12px;padding:16px;border:1px solid var(--cx-border);border-radius:12px}.web-code-deduct-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.web-code-deduct-fields label{display:grid;gap:6px;flex:1 1 180px;min-width:0}.web-code-deduct-fields input{width:100%;min-width:0;height:39px;padding:0 11px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--cx-text)}.web-code-deduct-fields button{height:39px;padding:0 10px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer}.web-code-deduct-form .pack-lot-actions{flex-wrap:wrap}.web-code-deduct-form [role=alert]{color:var(--cx-danger, #f87171)}:root{font-family:Geist,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--cx-text,#1d1d1f);background:var(--cx-bg,#f5f5f7);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}.splash,.loading{display:grid;place-items:center;min-height:240px;color:var(--cx-text-muted)}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 0,#dbeeff 0,transparent 38%),#f4f7fb}.login-card{width:min(430px,calc(100% - 32px));background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:22px;padding:36px;box-shadow:0 22px 70px #18315318}.admin-mark{display:flex;align-items:center;gap:10px;color:#269cff}.admin-mark svg{width:34px;height:34px}.admin-mark span{font-size:19px;font-weight:800;color:var(--cx-text)}.admin-mark b{margin-left:auto;font-size:11px;padding:5px 9px;border-radius:999px;background:var(--cx-brand-soft)}.login-card h1{margin:32px 0 7px}.login-card>p{color:var(--cx-text-muted);margin:0 0 25px}.login-card label{display:grid;gap:8px;font-size:13px;font-weight:700}.login-card input,.search input{border:1px solid var(--cx-border);border-radius:10px;padding:12px;outline:none}.login-card input:focus,.search input:focus{outline:none;box-shadow:none}.primary{width:100%;border:0;border-radius:10px;padding:12px;margin-top:16px;background:#269cff;color:#fff;font-weight:800;cursor:pointer}.link{width:100%;border:0;background:none;margin-top:14px;cursor:pointer}.dev-code,.error{padding:11px;margin-top:12px;border-radius:9px;background:var(--cx-warning-soft);color:#8a5a00}.error{background:var(--cx-danger-soft);color:#c42828}.shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.shell aside{position:fixed;inset:0 auto 0 0;width:250px;background:#111827;color:#fff;padding:22px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:4px 10px 25px}.brand>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#269cff}.brand div{display:grid}.brand b{font-size:17px}.brand small{color:#93a2b7}.shell aside nav{display:grid;gap:5px}.shell aside nav button{display:flex;align-items:center;gap:11px;border:0;border-radius:10px;padding:11px 12px;background:transparent;color:#aebacd;cursor:pointer;text-align:left}.shell aside nav svg{width:18px}.shell aside nav button.active{background:#269cff;color:#fff}.admin-user{margin-top:auto;padding:14px 8px 0;border-top:1px solid #273244;display:flex;align-items:center}.admin-user div{display:grid;min-width:0}.admin-user small{color:#93a2b7;overflow:hidden;text-overflow:ellipsis}.admin-user em{font-size:10px;color:#61baff}.admin-user button{margin-left:auto;border:0;background:transparent;color:#aebacd;cursor:pointer}.admin-user svg{width:18px}.shell>main{grid-column:2;min-width:0}.shell>main>header{height:88px;background:var(--cx-surface);border-bottom:1px solid var(--cx-border-soft);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:4}.shell>main>header h1{font-size:21px;margin:0 0 4px}.shell>main>header p{margin:0;color:var(--cx-text-muted);font-size:13px}.live{font-size:12px;border:1px solid var(--cx-border);border-radius:999px;padding:7px 12px}.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#19b66a;margin-right:6px}.content{padding:28px 34px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.metrics article,.finance article{background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:15px;padding:20px}.metrics svg{width:20px;color:#269cff;float:right}.metrics small,.finance small{display:block;color:var(--cx-text-muted)}.metrics strong{display:block;font-size:30px;margin-top:12px}.finance{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.finance article{display:flex;gap:17px}.finance svg,.credit-icon{width:42px;height:42px;padding:10px;border-radius:11px;background:var(--cx-brand-soft);color:#269cff}.credit-icon{display:grid;place-items:center;padding:0;font-weight:800}.finance strong{display:block;font-size:25px;margin-top:5px}.finance p{color:var(--cx-text-muted);font-size:12px;margin-bottom:0}.search{display:flex;align-items:center;gap:10px;background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:13px;padding:8px 10px;margin-bottom:16px}.search svg{width:18px;color:#8390a4}.search input{flex:1;border:0;padding:7px}.search button{border:0;border-radius:8px;padding:8px 18px;background:#269cff;color:#fff;font-weight:700}.table-card{background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:15px;overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;padding:13px 16px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:11px;text-transform:uppercase}td{padding:14px 16px;border-top:1px solid var(--cx-border-soft);font-size:13px}td b,td small{display:block}td small{color:var(--cx-text-muted);margin-top:3px}.status{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:11px;background:var(--cx-success-soft);color:#168750}.status.locked{background:var(--cx-danger-soft);color:#d33838}.danger,.restore{display:inline-flex;align-items:center;gap:5px;border:1px solid #f1b8b8;border-radius:8px;padding:6px 9px;background:var(--cx-surface);color:#d33838;cursor:pointer}.restore{border-color:#a9dbbf;color:#168750}.danger svg{width:13px}.mono{font-family:ui-monospace,monospace;font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis}code{background:var(--cx-brand-soft);color:var(--cx-brand-hover);padding:3px 6px;border-radius:5px}@media(max-width:900px){.shell{grid-template-columns:78px 1fr}.shell aside{width:78px}.brand div,.shell aside nav button:not(.active){font-size:0}.shell aside nav button{justify-content:center}.admin-user div{display:none}.metrics{grid-template-columns:1fr 1fr}.finance{grid-template-columns:1fr}.content{padding:20px}.shell>main>header{padding:0 20px}}.dashboard{display:grid;gap:18px;max-width:1540px;margin:auto}.welcome{position:relative;overflow:hidden;min-height:142px;padding:28px 30px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#14243b,#183a67 55%,#176ec0);display:flex;align-items:center;justify-content:space-between;box-shadow:0 16px 35px #173d7026}.welcome:after{content:"";position:absolute;width:340px;height:340px;border:70px solid #ffffff0b;border-radius:50%;right:-90px;top:-155px}.welcome span,.panel-head small{font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.72}.welcome h2{margin:8px 0 5px;font-size:24px}.welcome p{margin:0;color:#d8e9fc;font-size:13px}.health{z-index:1;min-width:190px;display:grid;grid-template-columns:12px 1fr;column-gap:8px;padding:15px 18px;border:1px solid #ffffff24;border-radius:13px;background:#ffffff12;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.health i{width:10px;height:10px;border-radius:50%;background:#54e49a;box-shadow:0 0 0 5px #54e49a20;margin-top:4px}.health b{font-size:14px}.health small{grid-column:2;color:#c9ddf3;font-size:10px;margin-top:2px}.metrics{gap:14px}.metrics .metric{position:relative;padding:18px 19px;overflow:hidden;box-shadow:0 5px 20px #1f3a5a0a}.metric>.metric-icon{float:right;width:36px;height:36px;display:grid;place-items:center;border-radius:10px}.metric>.metric-icon svg{float:none;width:18px}.metric strong{font-size:28px;margin-top:9px}.metric p{margin:4px 0 0;color:var(--cx-text-muted);font-size:11px}.metric>svg{position:absolute;width:15px;right:16px;bottom:15px;color:#a6b0be}.metric.blue .metric-icon{background:var(--cx-brand-soft);color:#269cff}.metric.green .metric-icon{background:var(--cx-success-soft);color:#16a264}.metric.purple .metric-icon{background:#f1edff;color:#7957d5}.metric.orange .metric-icon{background:var(--cx-warning-soft);color:#e89225}.operations-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:18px}.panel{background:#fff;border:1px solid var(--cx-border);border-radius:17px;padding:21px;box-shadow:0 5px 20px #1f3a5a0a}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel-head small{color:var(--cx-text-muted)}.panel-head h3{margin:4px 0 0;font-size:16px}.panel-head>svg{width:20px;color:var(--cx-text-muted)}.ledger-values{display:grid;grid-template-columns:1.2fr 1.2fr .7fr;margin:22px 0 18px;border:1px solid var(--cx-border-soft);border-radius:12px}.ledger-values div{padding:15px;border-right:1px solid var(--cx-border-soft)}.ledger-values div:last-child{border:0}.ledger-values span{display:block;font-size:11px;color:var(--cx-text-muted)}.ledger-values b{display:block;margin-top:6px;font-size:18px}.distribution-bar{display:flex;overflow:hidden;height:9px;border-radius:99px;background:#edf1f6}.distribution-bar .part{height:100%;min-width:3px}.p0{background:#269cff!important}.p1{background:#7c5ce0!important}.p2{background:#17ae79!important}.p3{background:#f1a23b!important}.legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:11px}.legend span{font-size:10px;color:#778296}.legend span>i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.legend b{color:var(--cx-text);margin-left:3px}.ledger-note{display:flex;align-items:center;gap:7px;color:var(--cx-text-muted);font-size:11px;margin:17px 0 0;padding-top:13px;border-top:1px solid var(--cx-border-soft)}.ledger-note svg{width:15px;color:#269cff}.flow{display:flex;align-items:center;justify-content:space-between;margin:25px 0}.flow>div{display:flex;align-items:center;gap:8px}.flow>div>svg{width:30px;height:30px;padding:7px;border-radius:9px;background:var(--cx-brand-soft);color:#269cff}.flow span{display:grid}.flow small{color:var(--cx-text-muted);font-size:9px}.flow>b{color:#c5ccd6}.risk{display:flex;align-items:center;gap:11px;padding:13px;border-radius:11px}.risk svg{width:19px}.risk span{display:grid}.risk small{font-size:10px;margin-top:2px}.risk.warn{background:var(--cx-warning-soft);color:#b87316}.risk.ok{background:var(--cx-success-soft);color:#178855}.bottom-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.timeline{margin-top:13px}.timeline>div{display:grid;grid-template-columns:10px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--cx-border-soft)}.timeline>div>i{width:8px;height:8px;border-radius:50%}.timeline span{display:grid}.timeline small{font-size:10px;color:var(--cx-text-muted);margin-top:2px}.timeline time{font-size:10px;color:var(--cx-text-muted)}.timeline i.blue{background:#269cff}.timeline i.purple{background:#7957d5}.timeline i.green{background:#17ae79}.quick-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--cx-border-soft);font-size:12px}.quick-row b{font-size:11px}.quick-row b i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.quick-row b.ok{color:#178855}.quick-row b.ok i{background:#1ac374}.quick-row b.warn{color:#c27c1d}.quick-row b.warn i{background:#f0a333}.quick>p{font-size:10px;line-height:1.5;color:var(--cx-text-muted);margin-bottom:0}@media(max-width:1180px){.operations-grid,.bottom-grid{grid-template-columns:1fr}.flow{justify-content:flex-start;gap:14px}.metrics{grid-template-columns:1fr 1fr}}@media(max-width:680px){.welcome{align-items:flex-start;gap:20px;flex-direction:column}.health{width:100%}.metrics,.ledger-values{grid-template-columns:1fr}.ledger-values div{border-right:0;border-bottom:1px solid var(--cx-border-soft)}.flow{display:grid;grid-template-columns:1fr}.flow>b{display:none}}.row-actions{display:flex;gap:7px}.credit-action{display:inline-flex;align-items:center;gap:5px;border:1px solid #abd8ff;border-radius:8px;padding:6px 9px;background:var(--cx-brand-soft);color:#1687df;font-weight:700;cursor:pointer}.credit-action svg,.restore svg{width:13px}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#101828a8;display:grid;place-items:center;padding:22px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.credit-modal{width:min(940px,100%);max-height:min(820px,92vh);overflow:hidden;background:var(--cx-surface);border-radius:20px;box-shadow:0 30px 90px #10182855;display:grid;grid-template-columns:1fr 1.08fr;grid-template-rows:auto auto 1fr}.credit-modal-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px;border-bottom:1px solid var(--cx-border-soft)}.credit-modal-head span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#269cff}.credit-modal-head h2{font-size:19px;margin:5px 0 2px}.credit-modal-head p{font-size:12px;color:var(--cx-text-muted);margin:0}.credit-modal-head button{width:34px;height:34px;border:1px solid #e0e5ec;border-radius:10px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.credit-modal-head svg{width:17px}.credit-balance{grid-column:1;display:grid;padding:23px 24px 20px;background:linear-gradient(135deg,#14263f,#1764a9);color:#fff}.credit-balance span{font-size:11px;color:#c9ddf3}.credit-balance strong{font-size:34px;margin:4px 0}.credit-balance strong small{font-size:13px}.credit-balance em{font-size:10px;color:#bad2eb}.adjust-form{grid-column:1;padding:20px 24px;overflow:auto}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:var(--cx-surface-secondary);border-radius:10px;padding:4px;margin-bottom:17px}.mode-switch button{border:0;background:transparent;border-radius:8px;padding:9px;font-weight:700;color:#697588;cursor:pointer}.mode-switch button.active.add{background:var(--cx-surface);color:#168855;box-shadow:0 2px 8px #12213b12}.mode-switch button.active.subtract{background:var(--cx-surface);color:#d13d3d;box-shadow:0 2px 8px #12213b12}.adjust-form label{display:grid;gap:7px;margin-top:13px;font-size:11px;font-weight:700;color:var(--cx-text)}.adjust-form input,.adjust-form textarea{border:1px solid #d9e0e9;border-radius:9px;padding:10px 11px;outline:none}.adjust-form textarea{resize:vertical;min-height:72px}.adjust-form input:focus,.adjust-form textarea:focus{outline:none;box-shadow:none}.submit-adjust{width:100%;border:0;border-radius:9px;padding:11px;color:#fff;font-weight:800;margin-top:14px;cursor:pointer}.submit-adjust.add{background:#159b60}.submit-adjust.subtract{background:#dd4747}.submit-adjust:disabled{opacity:.6}.credit-error{font-size:11px;color:#c73535;background:var(--cx-danger-soft);padding:9px;border-radius:8px;margin-top:12px}.immutable{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--cx-text-muted)}.immutable svg{width:14px;color:#269cff}.credit-history{grid-column:2;grid-row:2/4;border-left:1px solid var(--cx-border-soft);padding:22px 24px;overflow:auto}.credit-history>div:first-child{display:flex;align-items:center;justify-content:space-between}.credit-history h3{margin:0;font-size:15px}.credit-history>div>span{font-size:10px;color:var(--cx-text-muted)}.entry-list{margin-top:14px}.entry-list article{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-top:1px solid var(--cx-border-soft)}.entry-list article>i{min-width:70px;font-style:normal;font-size:12px;font-weight:800}.entry-list i.positive{color:#11945a}.entry-list i.negative{color:#d63e3e}.entry-list article>span{display:grid}.entry-list b{font-size:12px}.entry-list small{font-size:10px;color:var(--cx-text-muted);margin-top:3px}@media(max-width:720px){.credit-modal{display:block;overflow:auto}.credit-history{border-left:0;border-top:1px solid var(--cx-border-soft)}.modal-backdrop{padding:8px}}.primary.compact{width:auto;margin:0;padding:10px 16px}.plan-admin-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.plan-admin-toolbar p{color:var(--cx-text-muted)}.plan-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:16px}.plan-admin-grid article{background:var(--cx-surface);border:1px solid #dfe6ef;border-radius:16px;padding:20px}.plan-admin-grid article.inactive{opacity:.6}.plan-admin-grid article>div{display:flex;justify-content:space-between;color:#269cff;font-size:11px;font-weight:800;text-transform:uppercase}.plan-admin-grid article em{color:#168750;font-style:normal}.plan-admin-grid h2{margin:16px 0 4px;font-size:16px}.plan-admin-grid p{color:var(--cx-text-muted);min-height:36px}.plan-admin-grid strong{display:block;font-size:16px;color:var(--cx-brand)}.plan-admin-grid strong small{font-size:12px;color:var(--cx-text-muted)}.plan-admin-grid dl{display:grid;gap:7px;margin:18px 0}.plan-admin-grid dl div{display:flex}.plan-admin-grid dt{color:var(--cx-text-muted)}.plan-admin-grid dd{margin-left:auto;font-weight:700}.plan-admin-grid article>button{width:100%;padding:9px;border:1px solid #cfd8e4;border-radius:9px;background:var(--cx-surface);cursor:pointer}.plan-editor-backdrop{position:fixed;inset:0;z-index:20;background:#10182899;display:grid;place-items:center}.plan-editor{width:min(680px,calc(100% - 32px));max-height:90vh;overflow:auto;background:var(--cx-surface);border-radius:18px;padding:25px;box-shadow:0 30px 80px #10182855}.plan-editor h2{margin-top:0}.plan-editor label{display:grid;gap:6px;margin-bottom:12px;font-size:12px;font-weight:700}.plan-editor input,.plan-editor select,.plan-editor textarea{border:1px solid #d5dde8;border-radius:9px;padding:10px;font:inherit}.plan-editor textarea{min-height:70px;resize:vertical}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.plan-editor label.check{display:flex;align-items:center}.plan-editor footer{display:flex;justify-content:flex-end;gap:10px}.plan-editor footer>button:not(.primary){border:1px solid #d5dde8;border-radius:9px;background:var(--cx-surface);padding:10px 16px}.service-entitlements{margin:16px 0;padding:16px;border:1px solid var(--cx-border);border-radius:12px;background:var(--cx-surface-secondary)}.service-entitlements-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.service-entitlements-head>span:first-child{display:grid}.service-entitlements-head small{color:var(--cx-text-muted);font-weight:400;margin-top:3px}.service-tools{display:flex;gap:6px}.service-tools button{border:1px solid var(--cx-border);border-radius:7px;background:var(--cx-surface);color:#267fc7;padding:6px 9px;font-size:11px;cursor:pointer}.service-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.service-options>label{display:flex;align-items:center;gap:8px;margin:0;padding:9px;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);cursor:pointer}.service-options>label.selected{border-color:#269cff;background:var(--cx-brand-soft);box-shadow:0 0 0 1px #269cff22}.service-options>label>input{width:15px;height:15px;accent-color:#269cff}.service-options>label>span:last-child{display:grid}.service-options>label b{font-size:12px}.service-options>label small{font-size:9px;color:var(--cx-text-muted);font-weight:400}.service-mark{width:25px;height:25px;border-radius:7px;display:grid!important;place-items:center;background:#17202c;color:#fff;font-size:11px;font-weight:800}.service-claude{background:#d97757}.service-gemini{background:#4285f4}.service-perplexity{background:#1597a6}.service-copilot{background:#705cf6}.service-grok{background:#111}.service-deepseek{background:#4f6bed}.service-mistral{background:#e0632c}.service-midjourney{background:#64748b}.service-notebooklm{background:#2f6fed}.service-poe{background:#7c5cff}.service-elevenlabs{background:#222}.service-entitlements>p{margin:10px 0 0;color:var(--cx-text-muted);font-size:11px}@media(max-width:1100px){.plan-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.plan-admin-grid,.editor-grid{grid-template-columns:1fr}.service-options{grid-template-columns:1fr 1fr}}.plan-admin{min-height:100%;padding:32px 36px 44px;background:var(--cx-surface-secondary);color:var(--cx-text)}.plan-admin-toolbar{align-items:flex-end;gap:18px;margin-bottom:14px}.plan-admin-heading{flex:1;min-width:0}.plan-admin-heading h1{margin:0 0 5px;font-size:30px;line-height:1.15;letter-spacing:-.03em}.plan-admin-heading p{margin:0;color:var(--cx-text-muted);font-size:14px}.plan-admin-toolbar>.primary.compact{order:2;width:auto;margin:0;padding:12px 18px;border-radius:12px;background:#1677ff;box-shadow:0 5px 12px #1677ff2e}.plan-api-button{order:1;margin-left:auto;padding:10px 16px;border:1px solid #b7ead7;border-radius:12px;color:#15945f;background:var(--cx-success-soft);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.plan-api-button:hover{background:#eafbf4}.plan-catalog-note{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;margin:0 0 24px;padding:11px 16px;border:1px solid #dbe5f2;border-radius:14px;color:#52627a;background:var(--cx-surface);font-size:14px}.plan-catalog-note span:first-child{color:#1677ff;font-size:18px}.plan-admin-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.plan-admin-grid .plan-card{position:relative;display:flex;flex-direction:column;min-height:unset;overflow:hidden;padding:12px;border:1px solid #e4e7ec;border-radius:16px;background:var(--cx-surface);box-shadow:0 8px 24px #1018280d}.plan-admin-grid .plan-card:after{content:"";position:absolute;left:-8%;right:-8%;top:142px;height:86px;border-radius:50%;transform:rotate(-5deg);background:linear-gradient(160deg,var(--plan-wash, var(--cx-brand-soft)),transparent 70%);pointer-events:none}.plan-card>div:first-child{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#1677ff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.plan-card>div:first-child span{padding:5px 10px;border:1px solid #b9d7ff;border-radius:999px;white-space:nowrap}.plan-card>div:first-child em{padding:5px 10px;border:1px solid #ccefe1;border-radius:999px;color:#15945f;background:var(--cx-success-soft);font-size:10px;font-style:normal}.plan-card-icon{position:absolute;top:62px;right:24px;z-index:1;display:grid;width:70px;height:70px;place-items:center;border-radius:16px;color:var(--plan-accent, #1677ff);background:var(--plan-icon-bg, var(--cx-brand-soft));box-shadow:0 8px 18px #1018280f}.plan-card-title{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin:10px 0 6px}.plan-card-title .plan-card-icon{position:static;top:auto;right:auto;width:36px;height:36px;border-radius:10px;box-shadow:none;flex:0 0 auto}.plan-card-title h2{margin:0;font-size:13px}.plan-card h2{position:relative;z-index:1;margin:23px 0 5px;font-size:16px;line-height:1.2;letter-spacing:-.025em}.plan-card p{position:relative;z-index:1;min-height:20px;margin:0;color:var(--cx-text-muted);font-size:14px}.plan-card strong{position:relative;z-index:1;display:block;margin-top:20px;color:var(--cx-brand);font-size:16px;line-height:1;letter-spacing:-.02em}.plan-card strong small{margin-left:4px;color:var(--cx-text-muted);font-size:13px;font-weight:600}.plan-card dl{position:relative;z-index:1;display:grid;gap:12px;margin:22px 0 18px}.plan-card dl div{display:flex;gap:10px;font-size:14px}.plan-card dt{color:var(--cx-text-muted)}.plan-card dd{margin-left:auto;color:var(--cx-text);font-weight:700}.plan-card>button,.plan-card-actions button{position:relative;z-index:1;width:100%;margin-top:auto;padding:10px 14px;border:1px solid #dbe2ec;border-radius:12px;color:var(--cx-text);background:var(--cx-surface);font:inherit;font-size:14px;font-weight:700;cursor:pointer}.plan-card>button:hover,.plan-card-actions button:hover{border-color:#1677ff;color:#1677ff;background:var(--cx-surface-secondary)}.plan-admin-grid article>.plan-card-actions{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:8px;margin-top:auto;color:inherit;font-size:inherit;font-weight:inherit;text-transform:none}.plan-card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:0}.plan-card.inactive{opacity:.62}.plan-tone-blue{--plan-accent: #1677ff;--plan-icon-bg: #edf5ff;--plan-wash: #edf6ff}.plan-tone-purple{--plan-accent: #7a5af8;--plan-icon-bg: #f3efff;--plan-wash: #f3efff}.plan-tone-green{--plan-accent: #12b76a;--plan-icon-bg: #edfcf5;--plan-wash: #edfcf5}.plan-tone-orange{--plan-accent: #f79009;--plan-icon-bg: #fff5e8;--plan-wash: #fff5e8}.plan-tone-pink{--plan-accent: #ec4a9d;--plan-icon-bg: #fff0f7;--plan-wash: #fff0f7}[data-theme=dark] .plan-admin-grid .plan-card{border-color:var(--cx-border);box-shadow:none}[data-theme=dark] .plan-tone-blue,[data-theme=dark] .plan-tone-purple,[data-theme=dark] .plan-tone-green,[data-theme=dark] .plan-tone-orange,[data-theme=dark] .plan-tone-pink{--plan-icon-bg: color-mix(in srgb, var(--plan-accent) 16%, var(--cx-surface));--plan-wash: color-mix(in srgb, var(--plan-accent) 12%, var(--cx-surface))}[data-theme=dark] .plan-card>button,[data-theme=dark] .plan-card-actions button{border-color:var(--cx-border);background:var(--cx-surface);color:var(--cx-text)}.pack-details-editor{width:min(720px,calc(100% - 32px))}.pack-details-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.pack-details-editor>header h2,.pack-details-editor>header p{margin:0}.pack-details-editor>header p{margin-top:5px;color:var(--cx-text-muted);font-size:13px}.pack-details-editor>header>button{display:grid;width:34px;height:34px;flex:none;place-items:center;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer}.pack-details-tabs{display:flex;gap:6px;margin:20px 0 14px;overflow-x:auto}.pack-details-tabs button{position:relative;flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.pack-details-tabs button.active{border-color:var(--cx-brand);background:var(--cx-brand-soft);color:var(--cx-brand)}.pack-details-tabs i{position:absolute;top:4px;right:4px;width:5px;height:5px;border-radius:50%;background:var(--cx-border)}.pack-details-tabs i.filled{background:#12b76a}.pack-details-editor .pack-details-field{margin:0}.pack-details-field textarea{min-height:230px;line-height:1.55}.pack-details-field small{justify-self:end;color:var(--cx-text-muted);font-weight:500}.pack-details-note{margin:12px 0 18px;color:var(--cx-text-muted);font-size:12px;line-height:1.5}@media(max-width:1400px){.plan-admin-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.plan-admin{padding:28px 24px 36px}.plan-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.plan-admin{padding:22px 16px 30px}.plan-admin-toolbar{align-items:stretch;flex-wrap:wrap}.plan-admin-heading{flex-basis:100%}.plan-api-button{margin-left:0}.plan-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.asset-tabs{display:flex!important;gap:6px;margin-bottom:18px;background:#ffffff18;border:1px solid #ffffff28;border-radius:10px;padding:4px}.asset-tabs button{flex:1;border:0;border-radius:7px;padding:8px;background:transparent;color:#c9ddf3;font-weight:700;cursor:pointer}.asset-tabs button.active{background:var(--cx-surface);color:#1764a9}.entry-list article>i{min-width:105px}.credit-action{font-size:0}.credit-action:after{content:"Số dư";font-size:12px}.organization-modal{width:min(980px,96vw);max-height:92vh;overflow:auto;padding:24px;background:var(--cx-surface);border-radius:20px}.organization-modal>header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--cx-border);padding-bottom:14px}.organization-modal>header h2{margin:0}.organization-modal>header p{margin:5px 0 0;color:var(--cx-text-muted)}.organization-modal>header button{width:34px;height:34px;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface)}.organization-modal>header svg{width:16px}.org-admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.org-admin-stats>span{display:grid;gap:7px;padding:14px;border:1px solid var(--cx-border);border-radius:12px}.org-admin-stats small{color:var(--cx-text-muted)}.org-admin-actions{display:flex;justify-content:flex-end;margin-bottom:18px}.organization-modal h3{margin:20px 0 10px}.org-admin-members{border:1px solid var(--cx-border);border-radius:12px;overflow:hidden}.org-admin-members>div{display:grid;grid-template-columns:1fr 110px 100px;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--cx-border-soft)}.org-admin-members>div:first-child{border-top:0}.org-admin-members span:first-child{display:grid}.org-admin-members small{color:var(--cx-text-muted);margin-top:3px}@media(max-width:760px){.org-admin-stats{grid-template-columns:1fr 1fr}.org-admin-members>div{grid-template-columns:1fr}.organization-modal{padding:15px}}.support-toolbar{display:flex;gap:12px;align-items:center}.support-toolbar .search{flex:1;margin:0}.support-toolbar>select{padding:12px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface)}.support-admin-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:16px;margin-top:16px;height:calc(100vh - 180px)}.ticket-queue,.ticket-detail{background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:15px;overflow:auto}.ticket-queue>button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:15px;border:0;border-bottom:1px solid var(--cx-border-soft);background:var(--cx-surface);text-align:left;cursor:pointer}.ticket-queue span{display:grid;min-width:0}.ticket-queue b,.ticket-queue small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-queue small{color:var(--cx-text-muted);margin-top:4px}.ticket-queue i{font-style:normal;font-size:11px;color:var(--cx-text-muted)}.priority{font-style:normal;font-size:10px;font-weight:800;text-transform:uppercase}.priority.high,.priority.urgent{color:#dc2626}.priority.normal{color:#d97706}.ticket-detail{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.ticket-detail>header{position:static;height:auto;padding:18px 20px;border-bottom:1px solid var(--cx-border-soft)}.ticket-detail h2{margin:4px 0;font-size:19px}.ticket-detail header small,.ticket-detail header p{color:var(--cx-text-muted)}.ticket-detail header select{padding:9px;border:1px solid var(--cx-border);border-radius:9px}.admin-ticket-messages{overflow:auto;padding:20px;display:flex;flex-direction:column;gap:12px}.admin-ticket-messages article{max-width:80%;padding:11px 13px;border-radius:12px;background:#f2f5f8}.admin-ticket-messages article.admin{align-self:flex-end;background:var(--cx-brand-soft)}.admin-ticket-messages article.internal{align-self:stretch;max-width:none;background:var(--cx-warning-soft);border:1px dashed #eab308}.admin-ticket-messages small{color:var(--cx-text-muted);font-size:10px}.admin-ticket-messages p{margin:5px 0 0;white-space:pre-wrap}.ticket-detail>footer{padding:14px;border-top:1px solid var(--cx-border-soft);display:grid;grid-template-columns:1fr auto;gap:8px}.ticket-detail textarea{grid-column:1/-1;min-height:70px;padding:10px;border:1px solid var(--cx-border);border-radius:10px;resize:vertical}.ticket-detail footer label{font-size:12px;color:var(--cx-text-muted)}.ticket-detail footer button{border:0;border-radius:9px;padding:9px 15px;background:#269cff;color:#fff;font-weight:800}.ticket-empty{height:100%;display:grid;place-items:center;align-content:center;gap:10px;padding:24px;color:var(--cx-text-muted);text-align:center}.ticket-empty small{color:var(--cx-text-muted)}.ticket-empty svg{width:38px;height:38px}@media(max-width:1100px){.support-admin-layout{grid-template-columns:320px minmax(0,1fr)}}.model-admin{display:grid;grid-template-columns:minmax(220px,248px) minmax(0,1fr);gap:16px;min-height:calc(100vh - 150px)}.catalog-menus{display:inline-flex;gap:4px;padding:4px;margin-bottom:16px;border:1px solid var(--cx-border);border-radius:11px;background:var(--cx-surface)}.catalog-menus button,.catalog-menus a{border:0;border-radius:8px;background:transparent;color:var(--cx-text-muted);padding:9px 17px;font-weight:800;cursor:pointer;text-decoration:none}.catalog-menus button.active,.catalog-menus a.active{background:#269cff;color:#fff}.service-admin-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;min-height:calc(100vh - 210px)}.service-catalog,.model-catalog,.service-editor{background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:16px;overflow:hidden}.service-editor>header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--cx-border-soft)}.service-editor h2{margin:0;font-size:17px}.service-editor header p{margin:5px 0 0;color:var(--cx-text-muted);font-size:11px}.service-icon-preview{width:44px;height:44px;object-fit:contain;border:1px solid var(--cx-border);border-radius:11px;padding:7px}.service-list-head{display:flex;align-items:center;justify-content:space-between}.service-list-head button{border:0;border-radius:8px;background:#269cff;color:#fff;padding:8px 11px;font-weight:800;cursor:pointer}.service-admin-grid .service-list button,.service-admin-grid .service-list a{grid-template-columns:38px minmax(0,1fr) auto;align-items:center}.service-admin-grid .service-list button>span:nth-child(2),.service-admin-grid .service-list a>span:nth-child(2){display:grid;min-width:0}.service-admin-grid .service-list button small,.service-admin-grid .service-list a small{grid-column:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-list-icon{width:34px;height:34px;border-radius:9px;background:var(--cx-brand-soft);color:#1687df;display:grid;place-items:center;font-weight:900}.service-list-icon img{width:23px;height:23px;object-fit:contain}.service-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px}.service-form label{display:grid;gap:7px;color:var(--cx-text);font-size:12px;font-weight:700}.service-form input,.service-form textarea{width:100%;border:1px solid var(--cx-border);border-radius:9px;padding:10px 11px;outline:none}.service-form input:focus,.service-form textarea:focus{outline:none;box-shadow:none}.service-form textarea{min-height:72px;resize:vertical}.service-form .wide{grid-column:1/-1}.service-flags{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}.service-flags>label:nth-child(n+3){grid-column:1/-1}.service-flags>label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary)}.service-flags input{width:16px;margin-top:2px;accent-color:#269cff}.service-flags span{display:grid}.service-flags small{font-weight:400;color:var(--cx-text-muted);margin-top:3px}.service-editor>footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 22px;border-top:1px solid var(--cx-border-soft)}.service-editor>footer button{border-radius:9px;padding:10px 17px;font-weight:800;cursor:pointer}.save-service{border:0;background:#269cff;color:#fff}.delete-service{margin-right:auto;border:1px solid #efb5b5;background:var(--cx-surface);color:#d83838}.success{padding:11px;margin:14px 22px 0;border-radius:9px;background:var(--cx-success-soft);color:#168750}.service-catalog header,.model-catalog>header{padding:18px 20px;border-bottom:1px solid var(--cx-border-soft)}.service-catalog h2,.model-catalog h2{margin:0;font-size:16px}.service-catalog p,.model-catalog p{margin:5px 0 0;color:var(--cx-text-muted);font-size:11px}.service-list{display:grid;padding:8px}.service-list button,.service-list a{border:0;border-radius:10px;background:transparent;padding:12px;text-align:left;display:grid;grid-template-columns:1fr auto;gap:4px 10px;cursor:pointer;color:var(--cx-text);text-decoration:none}.service-list button.active,.service-list a.active{background:var(--cx-brand-soft);color:#167ccb}.service-list b{font-size:13px}.service-list small{grid-column:1;color:var(--cx-text-muted)}.service-list em{font-style:normal;font-size:10px}.service-list em.online{color:#16965c}.model-toolbar{display:flex;gap:10px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--cx-border-soft)}.model-toolbar .search{flex:1;margin:0}.model-toolbar>button,.model-action{border:0;border-radius:9px;background:#269cff;color:#fff;padding:10px 14px;font-weight:800;cursor:pointer}.model-table{padding:0 18px 18px}.model-table table{white-space:normal}.model-table th:last-child,.model-table td:last-child{text-align:right}.model-name{display:grid}.model-name small{font-family:ui-monospace,monospace}.model-price b{font-size:14px}.model-price small{color:var(--cx-text-muted)}.model-status{display:inline-flex;padding:4px 8px;border-radius:99px;background:var(--cx-success-soft);color:#168750;font-size:10px;font-weight:800}.model-status.off{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}.model-edit{border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);padding:7px 10px;cursor:pointer}.model-edit:hover{border-color:#269cff;color:#1687df}.observed-models{display:grid;gap:9px;padding:12px 18px;background:transparent;border-bottom:1px solid var(--cx-border-soft,var(--cx-border-soft));color:var(--cx-text)}.observed-models>div:first-child{display:grid;gap:3px}.observed-models small{color:var(--cx-text-muted);font-size:14px}.observed-model{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border:0;border-radius:0;background:transparent}.observed-model span{display:grid;gap:2px;min-width:0}.observed-model b{font-family:ui-monospace,monospace;font-size:14px;color:var(--cx-text)}.observed-model button{border:1px solid var(--cx-brand);border-radius:8px;background:var(--cx-brand);color:#fff;padding:7px 10px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}.observed-model-actions{display:flex;align-items:center;gap:7px}.observed-model-actions button:disabled{cursor:not-allowed;opacity:.55}.observed-model-actions .observed-ignore{border-color:var(--cx-border);background:var(--cx-surface);color:var(--cx-text-muted)}.model-modal-backdrop{position:fixed;inset:0;background:#17202c99;z-index:20;display:grid;place-items:center;padding:24px}.model-modal{width:min(620px,100%);background:var(--cx-surface);border-radius:18px;padding:24px;box-shadow:0 30px 90px #0004}.model-modal h2{margin:0 0 20px}.model-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.model-form label{display:grid;gap:7px;font-size:12px;font-weight:700}.model-form input{border:1px solid var(--cx-border);border-radius:9px;padding:10px}.model-form .wide{grid-column:1/-1}.model-checks{grid-column:1/-1;display:flex;gap:22px}.model-checks label{display:flex;align-items:center;gap:8px}.model-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.model-modal footer button{border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);padding:10px 16px;cursor:pointer}.model-modal footer button.primary-save{border-color:#269cff;background:#269cff;color:#fff;font-weight:800}@media(max-width:980px){.model-admin,.service-admin-grid{grid-template-columns:1fr}.service-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.model-form,.service-form{grid-template-columns:1fr}.model-form .wide,.service-form .wide{grid-column:auto}.service-flags,.service-list,.service-pack-credit-fields{grid-template-columns:1fr}}.service-limit-kind{display:grid;gap:10px;padding:16px;border:1px solid var(--cx-border);border-radius:12px;background:var(--cx-surface-secondary)}.service-limit-kind>b{font-size:13px}.service-limit-kind>small{color:var(--cx-text-muted);font-weight:400}.service-limit-kind-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(max(180px,(100% - 20px)/3),1fr));gap:10px}.service-limit-kind-options>label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface);font-weight:700}.service-limit-kind-options input{width:16px;margin-top:2px;accent-color:#269cff}.service-limit-kind-options span{display:grid;gap:3px}.service-limit-kind-options small{font-weight:400;color:var(--cx-text-muted)}.service-pack-credit{display:grid;gap:10px;padding:16px;border:1px solid var(--cx-border);border-radius:12px;background:var(--cx-surface-secondary)}.service-pack-credit>b{font-size:13px}.service-pack-credit>small,.service-pack-credit>p{color:var(--cx-text-muted);font-weight:400;margin:0;line-height:1.45}.service-pack-credit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-pack-credit-fields>label{display:grid;gap:7px}.service-bonus-unlocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:4px}.service-bonus-unlocks>label{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface);cursor:pointer}.service-bonus-unlocks input{width:16px;flex:none;accent-color:#269cff}.service-bonus-unlocks .service-bonus-unlock-icon{width:28px;height:28px;border-radius:8px;object-fit:contain;flex:none;display:grid;place-items:center;background:var(--cx-surface-secondary);font-size:12px;font-weight:700}.service-bonus-unlocks>label>span{display:grid;gap:2px;min-width:0}.service-bonus-unlocks b{font-size:13px;line-height:1.2}.service-bonus-unlocks small{color:var(--cx-text-muted);font-weight:400}@media(max-width:640px){.service-bonus-unlocks{grid-template-columns:1fr}}.icon-url-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px}.icon-url-row button{border:1px solid #9dcefa;border-radius:9px;background:var(--cx-brand-soft);color:#167ccb;padding:0 14px;font-weight:800;cursor:pointer}.service-navigation-editor{display:grid;gap:12px;padding:16px;border:1px solid var(--cx-border);border-radius:12px;background:var(--cx-surface-secondary)}.service-navigation-editor>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.service-navigation-editor>header div{display:grid;gap:4px}.service-navigation-editor>header b{font-size:13px;color:var(--cx-text)}.service-navigation-editor>header small{font-weight:400;color:var(--cx-text-muted);line-height:1.45}.service-navigation-editor>header button{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;border:0;border-radius:8px;background:#269cff;color:#fff;padding:9px 12px;font-weight:800;cursor:pointer}.service-navigation-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:10px;background:var(--cx-surface);color:var(--cx-text-muted);text-align:center;font-size:12px}.service-navigation-list{display:grid;gap:10px}.service-navigation-list article{display:grid;gap:10px;padding:13px;border:1px solid var(--cx-border);border-radius:11px;background:var(--cx-surface)}.service-navigation-main{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(280px,1.45fr);gap:10px}.service-navigation-meta{display:grid;grid-template-columns:minmax(150px,.7fr) 110px auto 38px;align-items:end;gap:10px}.service-navigation-meta select{width:100%;border:1px solid var(--cx-border);border-radius:9px;padding:10px 11px;background:var(--cx-surface);outline:none}.service-navigation-enabled{display:flex!important;align-items:center;gap:8px;min-height:39px;padding:0 4px}.service-navigation-enabled input{width:16px!important;accent-color:#269cff}.service-navigation-remove{display:grid;place-items:center;width:38px;height:38px;border:1px solid #f0b9b9;border-radius:9px;background:var(--cx-surface);color:#d83838;cursor:pointer}@media(max-width:760px){.service-navigation-editor>header{align-items:flex-start;flex-direction:column}.service-navigation-main,.service-navigation-meta{grid-template-columns:1fr}.service-navigation-remove{width:100%}}.model-admin{--catalog-surface: var(--cx-surface, #ffffff);--catalog-surface-muted: var(--cx-surface-secondary, #f7faff);--catalog-border: var(--cx-border-soft, #e4ebf5);--catalog-border-strong: var(--cx-border, #cfe0f2);--catalog-text: var(--cx-text, #162033);--catalog-muted: var(--cx-text-muted, #70809a);--catalog-brand: var(--cx-brand, #238cff);--catalog-brand-soft: var(--cx-brand-soft, #eaf4ff);--catalog-success: var(--cx-success, #18a66b);--catalog-success-soft: var(--cx-success-soft, #e8f8ef);display:grid;grid-template-columns:minmax(220px,248px) minmax(0,1fr);gap:16px;align-items:start;min-height:calc(100vh - 148px)}.model-admin .service-catalog,.model-admin .model-catalog{min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.model-admin .service-catalog{position:sticky;top:12px;display:flex;flex-direction:column;max-height:calc(100vh - 132px);padding:12px;border:1px solid var(--catalog-border);border-radius:14px;background:var(--catalog-surface)}.model-admin .service-catalog>header,.model-admin .model-catalog>header{flex:0 0 auto;padding:2px 2px 12px;border-bottom:1px solid var(--catalog-border);background:transparent}.model-admin .service-catalog h2,.model-admin .model-catalog h2{color:var(--catalog-text);font-size:15px;line-height:1.3;letter-spacing:-.01em}.model-admin .service-catalog p,.model-admin .model-catalog p{color:var(--catalog-muted);font-size:12px;line-height:1.4}.model-admin .service-list{display:grid;gap:4px;flex:1 1 auto;min-height:0;overflow:auto;padding:10px 2px 2px;background:transparent;scrollbar-gutter:stable}.model-admin .service-list button,.model-admin .service-list a{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:8px;min-width:0;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--catalog-text);text-align:left;text-decoration:none;transition:background .14s ease,border-color .14s ease}.model-admin .service-list button:hover,.model-admin .service-list a:hover{background:var(--catalog-surface-muted);border-color:var(--catalog-border)}.model-admin .service-list button.active,.model-admin .service-list a.active{background:var(--catalog-brand-soft);border-color:color-mix(in srgb,var(--catalog-brand) 28%,var(--catalog-border));color:var(--catalog-text)}.model-admin .service-list-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--catalog-border);border-radius:10px;background:var(--catalog-surface);color:var(--catalog-brand);overflow:hidden}.model-admin .service-list-icon img,.model-admin .service-list-icon>span{width:22px;height:22px;object-fit:contain}.model-admin .service-list-icon>span{display:grid;place-items:center;border-radius:7px;background:var(--catalog-brand-soft);color:var(--catalog-brand);font-size:12px;font-weight:800}.model-admin .service-list-copy{display:grid;gap:2px;min-width:0}.model-admin .service-list-copy b,.model-admin .service-list-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-admin .service-list-copy b{font-size:13px;font-weight:700}.model-admin .service-list-copy small{color:var(--catalog-muted);font-size:11px}.model-admin .service-list em{display:inline-flex;align-items:center;justify-content:center;width:10px;height:10px;padding:0;overflow:hidden;color:transparent;font-size:0;line-height:0;font-style:normal}.model-admin .service-list em:before{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:#a5b0bf;content:""}.model-admin .service-list em.online:before{background:var(--catalog-success)}.model-admin .model-catalog{display:flex;flex-direction:column;gap:0;min-height:0;padding:12px 14px 16px;border:1px solid var(--catalog-border);border-radius:14px;background:var(--catalog-surface)}.model-admin .model-catalog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:4px}.model-admin .model-catalog>header p{margin:4px 0 0;max-width:none;text-align:left}.model-admin .model-catalog-body{display:flex;flex-direction:column;gap:0;min-width:0}.model-admin .model-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:10px 0 12px;border-bottom:1px solid var(--catalog-border);background:var(--catalog-surface)}.model-admin .model-toolbar .search{display:flex;align-items:center;gap:8px;flex:1;min-height:40px;margin:0;padding:0 12px;border:1px solid var(--catalog-border-strong);border-radius:10px;background:var(--catalog-surface-muted)}.model-admin .model-toolbar .search svg{flex:0 0 auto;width:16px;height:16px;color:var(--catalog-muted)}.model-admin .model-toolbar .search:focus-within{border-color:color-mix(in srgb,var(--catalog-brand) 45%,var(--catalog-border-strong));background:var(--catalog-surface);box-shadow:none}.model-admin .model-toolbar input{flex:1;min-width:0;border:0;background:transparent;color:var(--catalog-text);font-size:13px;outline:none}.model-admin .model-toolbar>button{flex:0 0 auto;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--catalog-brand);color:#fff;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.model-admin .model-catalog-body>.error{margin:10px 0 0}.model-admin .model-table{padding:12px 0 4px;background:transparent}.model-admin .model-table table{width:100%;border:1px solid var(--catalog-border);border-radius:12px;border-spacing:0;border-collapse:separate;overflow:hidden;table-layout:auto}.model-admin .model-table thead th{position:sticky;top:0;z-index:1;padding:10px 12px;border-bottom:1px solid var(--catalog-border);background:var(--catalog-surface-muted);color:var(--catalog-muted);font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;text-align:left}.model-admin .model-table tbody td{padding:10px 12px;border-bottom:1px solid var(--catalog-border);color:var(--catalog-text);font-size:13px;vertical-align:middle}.model-admin .model-table tbody tr:last-child td{border-bottom:0}.model-admin .model-table tbody tr:hover td{background:var(--catalog-surface-muted)}.model-admin .model-table tbody tr.is-off td{opacity:.62}.model-admin .model-table .model-col-price,.model-admin .model-table .model-col-toggle,.model-admin .model-table .model-col-default,.model-admin .model-table .model-col-action{width:1%;white-space:nowrap}.model-admin .model-table .model-col-toggle,.model-admin .model-table .model-col-default,.model-admin .model-table .model-col-action{text-align:center}.model-admin .model-name{display:grid;gap:2px;min-width:0;max-width:320px}.model-admin .model-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-admin .model-name small,.model-admin .model-price small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--catalog-muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.model-admin .model-price b{font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}.model-admin .model-default-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:7px;background:var(--catalog-brand-soft);color:var(--catalog-brand);font-size:11px;font-weight:800;white-space:nowrap}.model-admin .model-edit{padding:7px 12px;border:1px solid var(--catalog-border-strong);border-radius:9px;background:var(--catalog-surface);color:var(--catalog-text);font-size:12px;font-weight:700;cursor:pointer}.model-admin .model-edit:hover{border-color:var(--catalog-brand);background:var(--catalog-brand-soft);color:var(--catalog-brand)}.model-admin .observed-models{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid var(--catalog-border);border-radius:12px;background:var(--catalog-surface-muted);border-bottom:1px solid var(--catalog-border)}.model-admin .observed-models>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.model-admin .observed-models>div:first-child b{font-size:13px;color:var(--catalog-text)}.model-admin .observed-models>div:first-child small{color:var(--catalog-muted);font-size:11px}.model-admin .observed-model{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--catalog-border);border-radius:10px;background:var(--catalog-surface)}.model-admin .observed-model span{display:grid;gap:2px;min-width:0}.model-admin .observed-model b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--catalog-text)}.model-admin .observed-model small{color:var(--catalog-muted);font-size:11px;line-height:1.35}.model-admin .observed-model-actions button{border-radius:8px;padding:6px 10px;font-size:12px}.model-admin .provider-counters{margin-top:10px;padding:12px;border:1px solid var(--catalog-border);border-radius:12px;background:var(--catalog-surface-muted);border-bottom:1px solid var(--catalog-border)}.model-enable-toggle{display:inline-flex;align-items:center;justify-content:center;color:var(--catalog-muted);cursor:pointer}.model-enable-toggle input{width:16px;height:16px;margin:0;accent-color:var(--catalog-brand)}.model-enable-toggle input:disabled{cursor:not-allowed}@media(max-width:980px){.model-admin .service-catalog{position:static;max-height:none}.model-admin .service-list{overflow:visible}.model-admin .model-catalog>header{display:block}}@media(max-width:640px){.model-admin .model-toolbar{align-items:stretch;flex-direction:column}.model-admin .model-toolbar>button{width:100%}.model-admin .model-table{overflow-x:auto}.model-admin .model-table table{min-width:520px;max-width:none;table-layout:auto}.model-admin .observed-model{align-items:stretch;flex-direction:column}}.model-admin.model-admin-fixed{grid-template-columns:minmax(0,1fr)}.service-mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px}.service-mode-picker>div{grid-column:1/-1}.service-mode-picker h3{margin:0;color:var(--cx-text);font-size:18px}.service-mode-picker p{margin:6px 0 0;color:var(--cx-text-muted);font-size:12px}.service-mode-picker>button{display:grid;grid-template-columns:44px 1fr auto;grid-template-rows:auto auto;column-gap:13px;row-gap:5px;text-align:left;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface);padding:18px;cursor:pointer;transition:.18s ease}.service-mode-picker>button:hover{border-color:#269cff;box-shadow:0 8px 24px #1570ef14;transform:translateY(-1px)}.service-mode-picker>button>span{grid-row:1/3;width:44px;height:44px;border-radius:12px;background:var(--cx-brand-soft);color:#1687df;display:grid;place-items:center}.service-mode-picker>button>span svg{width:21px}.service-mode-picker>button>b{font-size:14px;color:var(--cx-text)}.service-mode-picker>button>small{font-size:11px;line-height:1.5;color:var(--cx-text-muted)}.service-mode-picker>button>em{grid-column:3;grid-row:1/3;align-self:center;color:#1687df;font-size:11px;font-weight:800;font-style:normal}.service-mode-summary{display:flex!important;align-items:center;gap:12px;border:1px solid var(--cx-border);border-radius:11px;background:var(--cx-surface-secondary);padding:12px 14px}.service-mode-summary>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--cx-brand-soft);color:#1687df}.service-mode-summary>span.api{background:#eeeaff;color:#6f50d9}.service-mode-summary svg{width:18px}.service-mode-summary>div{display:grid;gap:3px;flex:1}.service-mode-summary b{font-size:13px;color:var(--cx-text)}.service-mode-summary small{font-size:11px;color:var(--cx-text-muted)}.service-mode-summary>button{border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);padding:8px 11px;color:var(--cx-text);font-weight:700;cursor:pointer}.service-api-editor{display:grid;gap:15px;padding:17px;border:1px solid var(--cx-border);border-radius:13px;background:var(--cx-surface-secondary)}.service-api-editor>header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.service-api-editor>header>div{display:grid;gap:4px}.service-api-editor>header b{font-size:14px;color:var(--cx-text)}.service-api-editor>header small{font-weight:400;color:var(--cx-text-muted);line-height:1.5}.api-state{border-radius:999px;padding:5px 9px;background:var(--cx-warning-soft);color:#b56800;font-size:10px;font-weight:800;white-space:nowrap}.api-state.active{background:var(--cx-success-soft);color:#108851}.service-api-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.service-api-grid .wide{grid-column:1/-1}.service-api-grid select{width:100%;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);padding:10px 11px}.service-api-grid label>small{font-weight:400;color:var(--cx-text-muted)}.service-api-editor>footer{display:flex;align-items:center;gap:12px}.service-api-editor>footer button{border:0;border-radius:9px;background:#269cff;color:#fff;padding:9px 13px;font-weight:800;cursor:pointer}.service-api-editor>footer button:disabled{opacity:.5;cursor:not-allowed}.service-api-editor>footer small{color:#108851;font-weight:600}@media(max-width:640px){.service-mode-picker,.service-api-grid{grid-template-columns:1fr}.service-mode-picker>div,.service-api-grid .wide{grid-column:auto}.service-mode-picker>button{grid-template-columns:44px 1fr}.service-mode-picker>button>em{display:none}}.centrix-agent-admin{display:grid;gap:14px}.centrix-agent-admin .catalog-menus{margin-bottom:0;justify-self:start}.agent-api-policy{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #cfe0f2;border-radius:13px;background:var(--cx-brand-soft);color:var(--cx-text)}.agent-api-policy>svg{width:20px;height:20px;flex:0 0 auto;color:#238cff}.agent-api-policy>div{display:grid;gap:3px}.agent-api-policy b{font-size:13px}.agent-api-policy small{color:var(--cx-text-muted);font-size:11px;line-height:1.45}.agent-api-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px;border:1px solid transparent;border-radius:13px;background:var(--cx-surface)}.agent-api-row:hover{border-color:var(--cx-border);background:var(--cx-surface-secondary)}.agent-api-row.active{border-color:#cfe4fb;background:var(--cx-brand-soft)}.service-admin-grid .service-list .agent-api-select{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;width:100%;padding:7px;border:0;background:transparent}.service-admin-grid .service-list .agent-api-select:hover{background:transparent}.service-admin-grid .service-list .agent-api-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:34px;padding:0 10px;border:1px solid #b9d9f7;border-radius:9px;background:var(--cx-surface);color:#167ccb;font-size:11px;font-weight:800;text-align:center;white-space:nowrap}.service-admin-grid .service-list .agent-api-toggle:hover{border-color:#269cff;background:var(--cx-brand-soft)}.service-admin-grid .service-list .agent-api-toggle.active{border-color:#efb5b5;background:var(--cx-danger-soft);color:#d83838}.service-admin-grid .service-list .agent-api-toggle.active:hover{background:var(--cx-danger-soft)}.service-admin-grid .service-list .agent-api-toggle:disabled{cursor:not-allowed;opacity:.55}@media(max-width:640px){.agent-api-row{grid-template-columns:1fr}.service-admin-grid .service-list .agent-api-toggle{width:100%}}.provider-counters{display:grid;gap:14px;padding:14px 18px;border-bottom:1px solid var(--cx-border-soft, var(--cx-border-soft));background:transparent}.provider-counters-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.provider-counters-head b{display:block;font-size:16px;color:var(--cx-text, var(--cx-text))}.provider-counters-head small{display:block;margin-top:4px;color:var(--cx-text-muted, var(--cx-text-muted));font-size:11px;line-height:1.45}.provider-counters-head code{font-size:10px;background:var(--cx-surface-secondary, #eef4fb);padding:1px 5px;border-radius:4px}.provider-counters-head button{border:1px solid var(--cx-border, #c5daf3);border-radius:8px;background:var(--cx-surface, #fff);color:var(--cx-brand-hover, #167ccb);padding:8px 12px;font-weight:800;cursor:pointer;white-space:nowrap}.provider-counters-block h3{margin:0 0 8px;font-size:12px;color:var(--cx-text-secondary, var(--cx-text))}.provider-counters-empty{margin:0;padding:12px;border:1px dashed var(--cx-border, #c9d7e8);border-radius:10px;background:var(--cx-surface, #fff);color:var(--cx-text-muted, var(--cx-text-muted));font-size:11px;line-height:1.5}.provider-counters-empty code{font-size:10px}.provider-counters-card{border:1px solid var(--cx-border, #d5e4f5);border-radius:12px;background:var(--cx-surface, #fff);padding:12px;margin-bottom:10px}.provider-counters-card>header{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.provider-counters-card>header b{font-size:12px;color:var(--cx-text, var(--cx-text))}.provider-counters-card>header small{color:var(--cx-text-muted, var(--cx-text-muted));font-size:10px}.provider-counters-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}.provider-counters-grid article{display:grid;gap:4px;padding:10px;border:1px solid var(--cx-border-soft, #e6edf5);border-radius:10px;background:var(--cx-surface-secondary, var(--cx-surface-secondary))}.provider-counters-grid article span{font-size:10px;color:var(--cx-text-muted, var(--cx-text-muted));font-weight:500;line-height:1.3}.provider-counters-grid article b{font-size:16px;color:var(--cx-text, var(--cx-text));font-variant-numeric:tabular-nums}.provider-counters-grid article em{font-style:normal;font-size:10px;font-weight:800}.provider-counters-table-wrap{overflow:auto;border:1px solid var(--cx-border, var(--cx-border));border-radius:12px;background:var(--cx-surface, #fff)}.provider-counters-table{width:100%;border-collapse:collapse;font-size:12px}.provider-counters-table th,.provider-counters-table td{padding:9px 11px;border-bottom:1px solid var(--cx-border-soft, var(--cx-border-soft));text-align:left;vertical-align:top}.provider-counters-table th{background:var(--cx-surface-secondary, #f5f8fc);color:var(--cx-text-muted, #526079);font-size:10px;text-transform:uppercase;letter-spacing:.02em}.provider-counters-table code{font-size:10px;word-break:break-all}.provider-counters .st-available{color:var(--cx-success, #108851)}.provider-counters .st-low{color:var(--cx-warning, #b56800)}.provider-counters .st-limited{color:var(--cx-danger, #d83838)}.provider-counters .st-unknown{color:var(--cx-text-muted, var(--cx-text-muted))}.service-form,.service-flags,.service-api-grid,.service-mode-picker,.model-form{grid-template-columns:repeat(auto-fit,minmax(max(210px,(100% - 16px)/2),1fr))}.service-navigation-main{grid-template-columns:repeat(auto-fit,minmax(max(190px,(100% - 16px)/2),1fr))}.service-navigation-editor>header{align-items:flex-start;flex-wrap:wrap;row-gap:10px}.service-navigation-editor>header>div{flex:1 1 200px;min-width:0}.service-navigation-editor>header>button{margin-left:auto}.service-navigation-meta{display:flex;flex-wrap:wrap;align-items:flex-end}.service-navigation-meta>label:first-child{flex:1 1 150px;min-width:0}.service-navigation-meta>label:nth-child(2){flex:0 1 110px}.service-navigation-meta>.service-navigation-enabled{flex:0 0 auto}.service-navigation-meta>.service-navigation-remove{flex:0 0 38px;width:38px;margin-left:auto}@media(max-width:1280px){.service-admin-grid{grid-template-columns:minmax(200px,260px) minmax(0,1fr)}.model-admin{grid-template-columns:minmax(200px,250px) minmax(0,1fr)}}@media(max-width:980px){.service-admin-grid,.model-admin{grid-template-columns:minmax(0,1fr)}.service-admin-grid .service-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}.service-api-editor{background:var(--cx-surface-secondary)}.model-modal-backdrop{align-items:center;padding:16px}.model-modal{width:min(680px,100%);max-height:min(88vh,920px);display:flex;flex-direction:column;overflow:hidden;padding:22px 22px 0}.model-modal h2{flex:none;margin:0 0 14px}.model-modal .model-form{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:8px;align-content:start}.model-modal footer{flex:none;margin:0 -22px;padding:14px 22px 18px;border-top:1px solid var(--cx-border-soft);background:var(--cx-surface)}.model-form .model-billing{grid-column:1/-1!important;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface-secondary)}.model-billing>header,.model-billing-options,.model-billing .model-promo-preview,.model-billing .model-reference-price{grid-column:1/-1}.model-billing>header{display:grid;gap:3px}.model-billing>header b{font-size:13px;color:var(--cx-text)}.model-billing>header small{color:var(--cx-text-muted);font-weight:400;line-height:1.4}.model-billing-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.model-billing-options>button{display:grid;gap:4px;margin:0;text-align:left;padding:12px;border:1px solid var(--cx-border);border-radius:12px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer}.model-billing-options>button strong{font-size:13px}.model-billing-options>button span{font-size:11px;font-weight:400;color:var(--cx-text-muted);line-height:1.35}.model-billing-options>button.is-on{border-color:#269cff;background:var(--cx-brand-soft);box-shadow:0 0 0 1px #269cff}.model-billing-turn{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--cx-text);grid-column:1/-1}.model-billing-turn input{width:100%;border:1px solid var(--cx-border);border-radius:9px;padding:10px;background:var(--cx-surface);color:var(--cx-text)}@media(max-width:560px){.model-form .model-billing,.model-billing-options{grid-template-columns:1fr}}.service-admin-grid{align-items:start}.service-admin-grid .service-catalog{position:sticky;top:12px;display:flex;flex-direction:column;max-height:calc(100vh - 132px)}.service-catalog-search{display:flex;align-items:center;gap:8px;margin:0 16px 8px;padding:0 10px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary);color:var(--cx-text-muted)}.service-catalog-search input{flex:1;min-width:0;height:36px;border:0;background:transparent;color:var(--cx-text);font:inherit;outline:none}.service-catalog-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}.service-catalog-filters button{height:28px;padding:0 10px;border:1px solid var(--cx-border);border-radius:999px;background:var(--cx-surface);color:var(--cx-text-muted);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.service-catalog-filters button.is-active{border-color:var(--cx-brand, #269cff);background:var(--cx-brand-soft, #eaf4ff);color:#167ccb}.service-catalog-empty{margin:8px 12px 16px;color:var(--cx-text-muted);font-size:12px}.service-admin-grid .service-list{flex:1 1 auto;min-height:0;overflow:auto}.service-admin-grid .service-list a{align-items:center}.service-list-copy{display:grid;min-width:0}.service-list-copy b,.service-list-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-status-pill{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:10px;font-weight:800;white-space:nowrap}.service-status-pill.live{background:var(--cx-success-soft, #e8f8ef);color:#168750}.service-status-pill.unlisted{background:#fff4e5;color:#b15d00}.service-status-pill.hidden{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}.service-editor-head{display:flex;align-items:center;gap:14px}.service-editor-head h2{margin:0}.service-editor-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 22px 0}.service-editor-tabs button{height:34px;padding:0 12px;border:1px solid var(--cx-border);border-radius:999px;background:var(--cx-surface);color:var(--cx-text-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.service-editor-tabs button.is-active{border-color:#269cff;background:#269cff;color:#fff}.service-tab-empty{margin:0;padding:18px 22px;color:var(--cx-text-muted);font-size:13px}.service-editor>footer{position:sticky;bottom:0;background:var(--cx-surface)}.service-form[hidden]{display:none!important}.service-editor .service-models-panel.model-admin{display:block;grid-template-columns:none;min-height:0;padding:8px 0 12px}.service-editor .service-models-panel .model-toolbar{padding:12px 22px}.service-editor .service-models-panel .model-table{padding:0 22px 18px}.service-editor .service-models-panel .observed-models{padding:12px 22px}.model-toolbar-filters{display:flex;flex-wrap:wrap;gap:6px}.model-toolbar-filters button{height:32px;padding:0 10px;border:1px solid var(--cx-border);border-radius:999px;background:var(--cx-surface);color:var(--cx-text-muted);font-size:11px;font-weight:800;cursor:pointer}.model-toolbar-filters button.is-active{border-color:#269cff;background:#269cff;color:#fff}.model-price-compact{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap;font-variant-numeric:tabular-nums}.model-price-compact .is-sep,.model-price-compact .is-muted,.model-price-compact small{color:var(--cx-text-muted)}.model-default-badge{display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:7px;background:var(--cx-brand-soft);color:#167ccb;font-size:11px;font-style:normal;font-weight:800}[data-theme=dark] .service-catalog-filters button.is-active,[data-theme=dark] .service-editor-tabs button.is-active{color:#fff}[data-theme=dark] .service-status-pill.unlisted{background:#3a2a12;color:#f0b56a}.shell aside nav a{display:flex;align-items:center;gap:11px;border:0;border-radius:10px;padding:11px 12px;background:transparent;color:#aebacd;cursor:pointer;text-align:left;text-decoration:none}.shell aside nav a.active{background:#269cff;color:#fff}.catalog-menus a{border:0;border-radius:8px;background:transparent;color:var(--cx-text-muted);padding:9px 17px;font-weight:800;cursor:pointer;text-decoration:none}.catalog-menus a.active{background:#269cff;color:#fff}@media(max-width:900px){.shell aside nav a:not(.active){font-size:0}.shell aside nav a{justify-content:center}}:root,[data-theme=light]{color-scheme:light;--font-ui: 14px;--font-ui-weight: 500;--font-meta: 14px;--font-page-title: 16px;--radius-shell: 32px;--radius-card: 14px;--radius-control: 10px;--cx-bg: #f5f5f7;--cx-surface: #ffffff;--cx-surface-secondary: #f4f4f6;--cx-surface-tertiary: #e0e0e5;--cx-border: #d6d6dc;--cx-border-soft: #ebebef;--cx-text: #1d1d1f;--cx-text-secondary: #424245;--cx-text-muted: #7a7a7e;--cx-brand: #31a2ff;--cx-brand-hover: #0e8dfa;--cx-brand-soft: #eaf5ff;--cx-success: #18a66a;--cx-warning: #d89318;--cx-danger: #e5484d;--cx-success-soft: #eaf8f1;--cx-warning-soft: #fff6e8;--cx-danger-soft: #fff0f0;--cx-overlay: rgba(0, 0, 0, .4);--cx-shadow: 0 20px 60px rgba(0, 0, 0, .14), 0 2px 10px rgba(0, 0, 0, .06);--surface: var(--cx-surface);--surface-2: var(--cx-surface-secondary);--surface-3: var(--cx-surface-tertiary);--border: var(--cx-border);--border-soft: var(--cx-border-soft);--border-strong: #c5c9d0;--text: var(--cx-text);--text-2: var(--cx-text-secondary);--text-3: var(--cx-text-muted);--brand: var(--cx-brand);--brand-hover: var(--cx-brand-hover);--brand-soft: var(--cx-brand-soft)}[data-theme=dark]{color-scheme:dark;--cx-bg: #1c1c1e;--cx-surface: #252527;--cx-surface-secondary: #2e2e31;--cx-surface-tertiary: #3a3a3d;--cx-border: #3d3d41;--cx-border-soft: #333336;--cx-text: #f5f5f7;--cx-text-secondary: #d2d2d7;--cx-text-muted: #a1a1a8;--cx-brand: #31a2ff;--cx-brand-hover: #5cb5ff;--cx-brand-soft: rgba(49, 162, 255, .16);--cx-success: #4fd18b;--cx-warning: #f2b84b;--cx-danger: #ff7478;--cx-success-soft: rgba(79, 209, 139, .16);--cx-warning-soft: rgba(216, 147, 24, .18);--cx-danger-soft: rgba(229, 72, 77, .16);--cx-overlay: rgba(0, 0, 0, .68);--cx-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 2px 10px rgba(0, 0, 0, .28);--surface: var(--cx-surface);--surface-2: var(--cx-surface-secondary);--surface-3: var(--cx-surface-tertiary);--border: var(--cx-border);--border-soft: var(--cx-border-soft);--border-strong: #5a5a61;--text: var(--cx-text);--text-2: var(--cx-text-secondary);--text-3: var(--cx-text-muted);--brand: var(--cx-brand);--brand-hover: var(--cx-brand-hover);--brand-soft: var(--cx-brand-soft)}html,body,#root{min-height:100%}body{background:var(--cx-bg);color:var(--cx-text);font-family:Geist,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:var(--font-ui);font-weight:var(--font-ui-weight);-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}.shell{height:100vh;min-height:0;margin:0;display:grid;grid-template-columns:272px minmax(0,1fr);overflow:hidden;border-radius:0;background:var(--cx-bg);box-shadow:none}.shell aside{position:relative;inset:auto;width:auto;min-height:0;padding:16px 10px 12px;background:var(--cx-bg);color:var(--cx-text)}.brand{display:flex;align-items:center;gap:10px;height:auto;min-height:40px;padding:4px 8px 18px}.brand>span{width:30px;height:30px;border-radius:9px;background:var(--cx-brand);box-shadow:0 5px 14px #31a2ff3d;color:#fff;font-size:15px}.brand>img{width:30px;height:30px;flex:0 0 auto;border-radius:9px;object-fit:contain;box-shadow:0 5px 14px #31a2ff3d}.admin-mark>img{width:34px;height:34px;flex:0 0 auto;border-radius:10px;object-fit:contain}.brand b{color:var(--cx-text);font-size:14px;letter-spacing:-.02em}.brand small{color:var(--cx-text-muted);font-size:10px}.shell aside nav{gap:3px;padding:8px 2px;overflow:auto}.shell aside nav a{min-height:40px;gap:10px;border-radius:10px;padding:9px 11px;color:var(--cx-text-secondary);font-size:var(--font-ui);font-weight:var(--font-ui-weight);transition:background .15s ease,color .15s ease}.shell aside nav a svg{width:17px;color:var(--cx-text-muted);stroke-width:1.8}.shell aside nav a:hover{background:var(--cx-surface);color:var(--cx-text)}.shell aside nav a:hover svg{color:var(--cx-brand)}.shell aside nav a.active{background:var(--cx-brand-soft);color:var(--cx-brand-hover);font-weight:700;box-shadow:none}.shell aside nav a.active svg{color:var(--cx-brand)}.admin-user{margin-top:auto;padding:13px 8px 2px;border-top:1px solid var(--cx-border)}.admin-user b{color:var(--cx-text);font-size:12px}.admin-user small{color:var(--cx-text-muted);font-size:10px}.admin-user em{color:var(--cx-brand-hover);font-size:9px}.admin-user{display:flex;align-items:center;gap:6px}.admin-user>div{min-width:0;flex:1}.admin-user button{color:var(--cx-text-muted)}.admin-user .theme-toggle{width:32px;height:32px;flex:none}.shell>main{grid-column:2;min-width:0;min-height:0;height:100%;margin:0;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:var(--cx-bg);box-shadow:none}.shell>main>header{flex:none;height:72px;padding:0 26px;border-bottom:1px solid var(--cx-border-soft);background:var(--cx-bg)}.shell>main>header h1{margin-bottom:3px;color:var(--cx-text);font-size:var(--font-page-title);letter-spacing:-.025em}.shell>main>header p{color:var(--cx-text-muted);font-size:var(--font-meta)}.header-actions{display:flex;align-items:center;gap:10px}.theme-toggle{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary);color:var(--cx-text-secondary);cursor:pointer}.theme-toggle:hover{border-color:color-mix(in srgb,var(--cx-brand) 40%,var(--cx-border));background:var(--cx-brand-soft);color:var(--cx-brand-hover)}.theme-toggle svg{width:16px;height:16px}.theme-toggle .theme-icon-moon,[data-theme=dark] .theme-toggle .theme-icon-sun{display:none}[data-theme=dark] .theme-toggle .theme-icon-moon{display:block}.live{border:1px solid color-mix(in srgb,var(--cx-success) 26%,var(--cx-border));background:var(--cx-success-soft);color:var(--cx-success);font-size:11px}.content{flex:1;min-height:0;overflow:auto;padding:26px 28px 42px;background:var(--cx-bg)}.welcome p{color:var(--cx-text-secondary)}.welcome:after{border-color:#31a2ff14}.health{border-color:color-mix(in srgb,var(--cx-brand) 24%,var(--cx-border));background:color-mix(in srgb,var(--cx-surface) 76%,transparent)}.metrics article,.finance article,.panel,.table-card,.service-catalog,.service-editor,.model-catalog,.model-admin,.profile-panel,.orphan-panel,.credit-history,.credit-balance,.plan-admin-grid article,.org-admin-stats>span{border-color:var(--cx-border);border-radius:14px;box-shadow:none}.metrics article,.finance article,.panel,.table-card,.service-catalog,.service-editor,.model-catalog,.model-admin,.profile-panel,.orphan-panel,.credit-history,.plan-admin-grid article,.org-admin-stats>span{background:var(--cx-surface)}.metrics small,.finance small,.panel-head small,.muted{color:var(--cx-text-muted)}.metric.blue .metric-icon,.metric.green .metric-icon,.metric.purple .metric-icon,.metric.orange .metric-icon{background:var(--cx-brand-soft);color:var(--cx-brand)}.distribution-bar{background:var(--cx-surface-tertiary)}.search{border-color:var(--cx-border);border-radius:12px;background:var(--cx-surface)}.search input{color:var(--cx-text)}.search button,.primary,.primary-save,.save-service,.submit-adjust{background:var(--cx-brand);border-color:var(--cx-brand)}.search button:hover,.primary:hover,.primary-save:hover,.save-service:hover{background:var(--cx-brand-hover)}.credit-package-grid article button,.profile-card footer button:not(.danger),.model-edit{min-height:34px;padding:7px 12px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface);color:var(--cx-text-secondary);font-size:12px;font-weight:650;cursor:pointer}.credit-package-grid article button:hover,.profile-card footer button:not(.danger):hover,.model-edit:hover{border-color:color-mix(in srgb,var(--cx-brand) 38%,var(--cx-border));background:var(--cx-brand-soft);color:var(--cx-brand-hover)}.table-card,.model-table,.profile-table,.org-admin-members{overflow:auto}th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}td{border-top-color:var(--cx-border-soft)}.status{border:1px solid transparent;background:var(--cx-success-soft);color:var(--cx-success)}.status.locked,.status.disabled,.status.unhealthy{background:var(--cx-danger-soft);color:var(--cx-danger)}.catalog-menus,.profile-tabs{display:inline-flex;align-items:center;width:max-content;max-width:100%;gap:4px;padding:4px;border:1px solid var(--cx-border-soft);border-radius:12px;background:var(--cx-surface-secondary)}.catalog-menus a,.profile-tabs a{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border-radius:8px;color:var(--cx-text-secondary);font-size:12px;text-decoration:none}.catalog-menus a.active,.profile-tabs a.active{background:var(--cx-brand-soft);color:var(--cx-brand-hover);box-shadow:0 1px 3px #31a2ff1a}.service-list,.service-form,.model-form,.credit-package-editor,.plan-editor,.organization-modal,.credit-modal{border-color:var(--cx-border);border-radius:16px;background:var(--cx-surface)}.service-list-head,.service-form,.model-form,.credit-package-editor,.plan-editor{border-color:var(--cx-border-soft)}.service-options>label.selected,.service-entitlements,.service-entitlements>p{border-color:color-mix(in srgb,var(--cx-brand) 30%,var(--cx-border));background:var(--cx-brand-soft)}.service-list-icon .service-icon-fallback{display:grid;width:23px;height:23px;place-items:center;color:var(--cx-brand-hover);font-size:13px;font-weight:800}.service-icon-preview.service-icon-fallback{display:grid;width:44px;height:44px;place-items:center;padding:7px;border:1px solid var(--cx-border);border-radius:11px;background:var(--cx-brand-soft);color:var(--cx-brand-hover);font-size:18px;font-weight:800}.support-admin-layout,.ticket-queue,.ticket-detail{border-color:var(--cx-border);border-radius:14px}.managed-profiles{display:grid;gap:18px}.profile-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.profile-metrics article{display:grid;gap:7px;min-height:82px;padding:15px 16px;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface)}.profile-metrics small{color:var(--cx-text-muted);font-size:11px;font-weight:500}.profile-metrics b{color:var(--cx-text);font-size:22px;letter-spacing:-.03em}.profile-metrics article.good b{color:var(--cx-success)}.profile-metrics article.warn b{color:var(--cx-warning)}.profile-panel{padding:18px}.profile-panel>h2,.profile-card h3,.profile-modal h2{margin:0;color:var(--cx-text);letter-spacing:-.02em}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-title p,.profile-card small,.profile-modal small{margin-top:4px;color:var(--cx-text-muted);font-size:11px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.profile-card{display:grid;gap:14px;padding:16px;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface)}.profile-card>header,.profile-card>footer,.capacity>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.profile-card dl>div{padding:9px 10px;border:1px solid var(--cx-border-soft);border-radius:10px;background:var(--cx-surface-secondary)}.profile-card dt{color:var(--cx-text-muted);font-size:10px;text-transform:uppercase}.profile-card dd{margin:4px 0 0;color:var(--cx-text-secondary);font-size:12px;font-weight:650}.profile-card footer{flex-wrap:wrap}.profile-card footer select{min-height:34px;padding:7px 9px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface);color:var(--cx-text-secondary);font-size:12px}.capacity{display:grid;gap:7px}.capacity span,.capacity b{color:var(--cx-text-secondary);font-size:11px;font-weight:650}.capacity b{color:var(--cx-brand-hover)}.capacity>i{display:block;height:7px;overflow:hidden;border-radius:999px;background:var(--cx-surface-tertiary)}.capacity>i em{display:block;height:100%;border-radius:inherit;background:var(--cx-brand)}.profile-empty{display:grid;place-items:center;gap:8px;min-height:150px;padding:24px;color:var(--cx-text-muted);text-align:center}.profile-empty svg{color:var(--cx-brand)}.profile-empty b{color:var(--cx-text)}.profile-empty p{margin:0;font-size:12px}.profile-modal-backdrop,.plan-editor-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:#1d1d1f57;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-modal{position:relative;width:min(100%,520px);display:grid;gap:14px;padding:24px;border:1px solid var(--cx-border);border-radius:18px;background:var(--cx-surface);box-shadow:0 24px 70px #0003}.profile-modal label,.profile-modal label>input,.profile-modal label>select{display:grid;gap:7px}.profile-modal label{color:var(--cx-text-secondary);font-size:12px;font-weight:650}.profile-modal input,.profile-modal select{min-height:38px;padding:8px 10px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface);color:var(--cx-text)}.modal-x{position:absolute;top:14px;right:14px;width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:9px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}@media(max-width:1100px){.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-title{flex-direction:column}}button,a,input,select,textarea{transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}button:focus-visible,a:focus-visible{outline:3px solid rgba(49,162,255,.24);outline-offset:2px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}@media(max-width:900px){.shell{height:100vh;margin:0;border-radius:0}.shell aside{padding-top:16px}.shell>main{margin:0;border-radius:0}.content{padding:20px}}@media(max-width:680px){.shell{height:100vh;margin:0;border-radius:0}.shell>main{margin:0;border-radius:0;border:0}.shell>main>header{height:64px;padding:0 18px}.content{padding:18px 14px 32px}}.login-page{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--cx-brand) 18%,transparent) 0,transparent 38%),var(--cx-bg)}.login-card{background:var(--cx-surface);border-color:var(--cx-border);box-shadow:var(--cx-shadow)}.login-card h1,.admin-mark span{color:var(--cx-text)}.login-card>p,.login-card label{color:var(--cx-text-secondary)}.login-card input,.search input{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}.admin-mark{width:100%}.admin-mark b{background:var(--cx-brand-soft);color:var(--cx-brand-hover)}.login-card .theme-toggle{margin-left:8px}.dev-code{background:var(--cx-warning-soft);color:var(--cx-warning)}.error{background:var(--cx-danger-soft);color:var(--cx-danger)}[data-theme=dark] .metrics article,[data-theme=dark] .finance article,[data-theme=dark] .table-card,[data-theme=dark] .panel,[data-theme=dark] .service-catalog,[data-theme=dark] .service-editor,[data-theme=dark] .model-catalog,[data-theme=dark] .model-modal,[data-theme=dark] .service-flags>label,[data-theme=dark] .service-navigation-editor,[data-theme=dark] .service-navigation-list article,[data-theme=dark] .service-mode-picker>button,[data-theme=dark] .service-mode-summary,[data-theme=dark] .service-api-editor,[data-theme=dark] .provider-counters-card,[data-theme=dark] .provider-counters-grid article,[data-theme=dark] .provider-counters-table-wrap,[data-theme=dark] .provider-counters-empty,[data-theme=dark] .agent-api-policy,[data-theme=dark] .agent-api-row{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .service-api-editor{background:var(--cx-surface-secondary)}[data-theme=dark] .provider-counters-head b,[data-theme=dark] .provider-counters-card>header b,[data-theme=dark] .provider-counters-grid article b,[data-theme=dark] .provider-counters-block h3,[data-theme=dark] .service-mode-picker h3,[data-theme=dark] .service-mode-picker>button>b,[data-theme=dark] .service-api-editor>header b{color:var(--cx-text)}[data-theme=dark] .provider-counters-head small,[data-theme=dark] .provider-counters-empty,[data-theme=dark] .service-mode-picker p,[data-theme=dark] .service-mode-picker>button>small,[data-theme=dark] th{color:var(--cx-text-muted)}[data-theme=dark] .provider-counters-table th,[data-theme=dark] .model-admin .model-table thead th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}[data-theme=dark] .provider-counters-head button,[data-theme=dark] .service-admin-grid .service-list .agent-api-toggle,[data-theme=dark] .model-edit,[data-theme=dark] .service-mode-summary>button{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text-secondary)}[data-theme=dark] .service-list button,[data-theme=dark] .service-list a{color:var(--cx-text)}[data-theme=dark] .service-list button.active,[data-theme=dark] .service-list a.active,[data-theme=dark] .agent-api-row.active{background:var(--cx-brand-soft);border-color:color-mix(in srgb,var(--cx-brand) 34%,var(--cx-border))}[data-theme=dark] .model-admin .service-list button.active,[data-theme=dark] .model-admin .service-list a.active{border-color:color-mix(in srgb,var(--cx-brand) 40%,var(--cx-border))}[data-theme=dark] .model-admin{--catalog-surface: var(--cx-surface);--catalog-surface-muted: var(--cx-surface-secondary);--catalog-border: var(--cx-border-soft);--catalog-border-strong: var(--cx-border);--catalog-text: var(--cx-text);--catalog-muted: var(--cx-text-muted);--catalog-brand: var(--cx-brand);--catalog-brand-soft: var(--cx-brand-soft);--catalog-success: var(--cx-success);--catalog-success-soft: var(--cx-success-soft)}[data-theme=dark] .provider-counters-head code,[data-theme=dark] .provider-counters-empty code{background:var(--cx-surface-tertiary);color:var(--cx-text-secondary)}[data-theme=dark] .users-page article,[data-theme=dark] .user-card,[data-theme=dark] .user-detail,[data-theme=dark] .user-panel,[data-theme=dark] .history-page article,[data-theme=dark] .history-card,[data-theme=dark] .history-panel,[data-theme=dark] .release-card,[data-theme=dark] .updates-panel,[data-theme=dark] .ticket-queue,[data-theme=dark] .ticket-detail,[data-theme=dark] .ticket-queue>button,[data-theme=dark] .plan-admin-grid article,[data-theme=dark] .service-options>label,[data-theme=dark] .credit-modal,[data-theme=dark] .organization-modal,[data-theme=dark] .sales-card,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .ticket-queue>button.active{background:var(--cx-brand-soft)}[data-theme=dark] .splash,[data-theme=dark] .loading{color:var(--cx-text-muted)}[data-theme=dark] .link{color:var(--cx-brand-hover)}.model-price-grid b,.model-price-grid span{white-space:nowrap}.model-sale-badge{width:max-content;border-radius:999px;padding:2px 7px;background:var(--cx-success-soft);color:var(--cx-success);font-size:11px;font-style:normal;font-weight:700}.model-reference-price,.model-promo-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--cx-border);border-radius:10px;padding:10px 12px;background:var(--cx-surface-secondary)}.model-promo-preview.is-warning{border-color:color-mix(in srgb,var(--cx-warning, #b56800) 40%,var(--cx-border));background:var(--cx-warning-soft, #fff7ed);color:var(--cx-warning, #9a3412)}.sales-admin{display:grid;gap:16px}.sales-page-hint{margin:0;padding:12px 14px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface-2);color:var(--text-3);font-size:13px;line-height:1.5}.sales-page-hint button{border:0;padding:0;background:none;color:var(--brand);font:inherit;font-weight:700;cursor:pointer}.sales-overview-block{display:grid;gap:12px}.sales-overview-block-head small{display:block;color:var(--text-3);font-size:11px;letter-spacing:.06em}.sales-overview-block-head h3{margin:4px 0 0;font-size:16px}.sales-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-filters label{display:grid;gap:6px;font-size:12px;color:var(--text-3)}.sales-filters input[type=date]{height:34px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font:inherit}.sales-presets{display:flex;gap:6px}.sales-presets button,.sales-export{height:34px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface-2);color:var(--text-2);font:inherit;cursor:pointer}.sales-presets button:hover,.sales-export:hover{border-color:var(--brand);color:var(--brand)}.sales-presets button.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.sales-pay-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.sales-pay-cards article{display:grid;align-content:start;gap:6px;padding:16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-pay-cards small{display:inline-flex;align-items:center;gap:6px;color:var(--text-3);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.sales-pay-cards small svg{width:14px;height:14px}.sales-pay-cards b{font-size:22px;letter-spacing:-.02em}.sales-pay-cards span{color:var(--text-3);font-size:12px}.sales-pay-cards article.is-cash b{color:var(--cx-success)}.sales-export{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.sales-export svg{width:15px;height:15px}.sales-admin .overview-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.sales-admin .overview-cards article{position:relative;display:grid;align-content:start;gap:6px;padding:16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-admin .overview-cards article.is-cash{border-color:color-mix(in srgb,var(--brand) 40%,var(--border-soft));background:linear-gradient(180deg,var(--brand-soft),var(--surface) 62%)}.sales-admin .overview-cards article.is-crm{border-color:color-mix(in srgb,var(--cx-success) 40%,var(--border-soft));background:linear-gradient(180deg,var(--cx-success-soft),var(--surface) 62%)}.sales-admin .overview-cards small{display:inline-flex;align-items:center;gap:6px;color:var(--text-3);font-size:12px;letter-spacing:.02em;text-transform:uppercase}.sales-admin .overview-cards small svg{width:14px;height:14px}.sales-admin .overview-cards b{font-size:24px;font-variant-numeric:tabular-nums}.sales-admin .overview-cards span{color:var(--text-3);font-size:12px;line-height:1.5}.sales-spark{display:flex;align-items:flex-end;gap:2px;height:30px;margin-top:4px}.sales-spark i{flex:1;min-width:2px;border-radius:2px 2px 0 0;background:color-mix(in srgb,var(--brand) 55%,transparent)}.sales-caps{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-caps>div:first-child{flex:1 1 320px}.sales-caps h2{margin:0 0 2px;font-size:14px}.sales-caps p{margin:0;color:var(--text-3);font-size:12px;line-height:1.5}.sales-caps label{display:grid;gap:6px;font-size:12px;color:var(--text-3)}.sales-caps input{width:92px;height:34px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font:inherit;font-variant-numeric:tabular-nums}.sales-caps>button{height:34px;padding:0 14px;border:0;border-radius:var(--radius-control);background:var(--brand);color:#fff;font:inherit;cursor:pointer}.sales-caps>button:hover{background:var(--brand-hover)}.sales-cap-message{color:var(--cx-success);font-size:12px}.sales-promotion{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(110px,.35fr) repeat(2,minmax(190px,.55fr)) auto;align-items:end;gap:12px;padding:14px 16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-promotion-copy h2{margin:0 0 2px;font-size:14px}.sales-promotion-copy p{margin:0;color:var(--text-3);font-size:12px;line-height:1.5}.sales-promotion label{display:grid;gap:6px;color:var(--text-3);font-size:12px}.sales-promotion input[type=number],.sales-promotion input[type=datetime-local]{min-width:0;width:100%;height:34px;border:1px solid var(--border);border-radius:var(--radius-control);padding:0 9px;background:var(--surface);color:var(--text);font:inherit}.sales-promotion-toggle{height:34px;display:flex!important;align-items:center;grid-auto-flow:column;white-space:nowrap}.sales-promotion>button{height:34px;border:0;border-radius:var(--radius-control);padding:0 14px;background:var(--brand);color:#fff;cursor:pointer}.sales-promotion-message{grid-column:1 / -1;color:var(--cx-success);font-size:12px}.sales-payment-offers{display:grid;gap:14px;padding:16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-payment-offers>header,.sales-offer-editor-head,.sales-offer-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.sales-payment-offers h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}.sales-payment-offers h2 svg{width:18px;height:18px;color:var(--brand)}.sales-payment-offers header p{margin:4px 0 0;color:var(--text-3);font-size:12px}.sales-payment-offers>header>button,.sales-offer-editor-footer>button{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:var(--radius-control);padding:0 13px;background:var(--brand);color:#fff;cursor:pointer}.sales-payment-offers>header>button svg{width:15px;height:15px}.sales-payment-offers-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(440px,1.28fr);gap:14px}.sales-offer-list,.sales-offer-editor{min-width:0;border:1px solid var(--border-soft);border-radius:var(--radius-card);padding:12px;background:var(--surface-2)}.sales-offer-list{display:grid;align-content:start;gap:8px}.sales-offer-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--border-soft);border-radius:var(--radius-control);padding:9px;background:var(--surface)}.sales-offer-list article.is-archived{opacity:.55}.sales-offer-logo{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:var(--surface-2);color:var(--brand)}.sales-offer-logo img{width:100%;height:100%;object-fit:contain}.sales-offer-logo svg{width:18px;height:18px}.sales-offer-list article strong,.sales-offer-list article small,.sales-offer-list article em{display:block}.sales-offer-list article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.sales-offer-list article small{margin-top:3px;color:var(--text-3);font-size:11px;line-height:1.35}.sales-offer-list article em{margin-top:4px;color:var(--cx-success);font-size:11px;font-style:normal}.sales-offer-actions{display:flex;gap:4px}.sales-offer-actions button{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-3);cursor:pointer}.sales-offer-actions svg{width:14px;height:14px}.sales-offer-empty{margin:16px;color:var(--text-3);font-size:12px;text-align:center}.sales-offer-editor{display:grid;gap:12px}.sales-offer-editor-head strong{font-size:14px}.sales-offer-enabled{display:flex;align-items:center;gap:6px;color:var(--text-3);font-size:12px}.sales-offer-locales{display:flex;gap:4px}.sales-offer-locales button{min-width:38px;height:30px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-3);cursor:pointer}.sales-offer-locales button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.sales-offer-copy-fields,.sales-offer-fields{display:grid;gap:10px}.sales-offer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-offer-editor label{display:grid;gap:5px;color:var(--text-3);font-size:12px}.sales-offer-editor input,.sales-offer-editor select,.sales-offer-editor textarea{min-width:0;width:100%;border:1px solid var(--border);border-radius:var(--radius-control);padding:8px 9px;background:var(--surface);color:var(--text);font:inherit;box-sizing:border-box}.sales-offer-editor input,.sales-offer-editor select{height:34px}.sales-service-pack-offers{margin-top:16px}.sales-offer-editor textarea{resize:vertical;line-height:1.45}.sales-offer-editor-footer span{color:var(--cx-success);font-size:12px}.sales-admin .table-card{overflow:auto;padding:16px;border:1px solid var(--border-soft);border-radius:var(--radius-card);background:var(--surface)}.sales-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.sales-tabs{display:inline-flex;padding:3px;border-radius:var(--radius-control);background:var(--surface-2)}.sales-tabs button{height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--text-3);font:inherit;cursor:pointer}.sales-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #00000014}.sales-toolbar .search{display:inline-flex;align-items:center;gap:8px;min-width:240px;flex:1 1 240px;height:34px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface)}.sales-toolbar .search svg{width:15px;height:15px;color:var(--text-3)}.sales-toolbar .search input{flex:1;border:0;background:transparent;color:var(--text);font:inherit;outline:none}.sales-toolbar select,.sales-toolbar>button{height:34px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.sales-toolbar>button:last-child{border-color:transparent;background:var(--brand);color:#fff}.sales-match{color:var(--text-3);font-size:12px;font-weight:700}.sales-chips{display:grid;gap:8px;margin:0 0 12px}.sales-chips>div{display:flex;flex-wrap:wrap;gap:8px}.sales-chips button{height:32px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-2);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.sales-chips button.is-active{border-color:var(--brand);background:var(--brand);color:#fff}.sales-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border-soft);color:var(--text-3);font-size:12.5px}.sales-pager b{color:var(--text-2)}.sales-pager>div{display:flex;align-items:center;gap:6px}.sales-pager button,.sales-pager-page{min-width:32px;height:32px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-2);font:inherit;font-size:12.5px;font-weight:700}.sales-pager button{cursor:pointer}.sales-pager button:disabled{opacity:.4;cursor:default}.sales-pager-page{display:inline-grid;place-items:center}.sales-admin table{width:100%;border-collapse:collapse}.sales-admin th,.sales-admin td{padding:12px 10px;border-bottom:1px solid var(--border-soft);text-align:left;vertical-align:top}.sales-admin th{color:var(--text-3);font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.02em}.sales-admin td small{display:block;margin-top:3px;color:var(--text-3);font-size:12px}.sales-amount{text-align:right;font-variant-numeric:tabular-nums}.sales-amount b{font-size:15px}.sales-kind,.sales-status{display:inline-block;margin:3px 4px 0 0;padding:1px 8px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:11px}.sales-kind.wallet_topup{background:var(--brand-soft);color:var(--brand)}.sales-kind.service_pack{background:var(--cx-success-soft);color:var(--cx-success)}.sales-kind.crm_pack{background:var(--brand-soft);color:var(--brand)}.sales-kind.adjustment{background:var(--cx-warning-soft);color:var(--cx-warning)}.sales-status.paid{background:var(--cx-success-soft);color:var(--cx-success)}.sales-status.pending,.sales-status.processing{background:var(--cx-warning-soft);color:var(--cx-warning)}.sales-status.failed,.sales-status.cancelled{background:var(--cx-danger-soft);color:var(--cx-danger)}.sales-status.refunded{background:var(--surface-2);color:var(--text-2)}.sales-user-link{padding:0;border:0;background:none;color:var(--brand);font:inherit;font-weight:600;text-align:left;cursor:pointer}.sales-user-link:hover{text-decoration:underline}.sales-approve{height:30px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--brand-soft);color:var(--brand);font:inherit;font-size:12px;font-weight:650;cursor:pointer}.sales-approve-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:#14141673}.sales-approve-modal{width:min(440px,100%);display:grid;gap:12px;padding:18px;border-radius:16px;background:var(--surface);box-shadow:0 18px 50px #0003}.sales-approve-modal h3,.sales-approve-modal p{margin:0}.sales-approve-modal p,.sales-approve-modal label{color:var(--text-2);font-size:13px}.sales-approve-modal textarea{width:100%;margin-top:6px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;resize:vertical}.sales-approve-modal footer{display:flex;justify-content:flex-end;gap:8px}.sales-approve-modal footer button{height:34px;padding:0 12px;border-radius:8px;font:inherit;cursor:pointer}.sales-approve-modal footer button[type=submit]{border:0;background:var(--brand);color:#fff}.sales-footnote{display:flex;gap:8px;margin:12px 0 0;color:var(--text-3);font-size:12px;line-height:1.6}.sales-footnote svg{flex:none;width:15px;height:15px;margin-top:2px}.sales-admin .error{margin-bottom:12px;padding:10px 12px;border:1px solid var(--cx-danger);border-radius:var(--radius-control);background:var(--cx-danger-soft);color:var(--cx-danger);font-size:13px}@media(max-width:1100px){.sales-admin .overview-cards,.sales-promotion{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-promotion-copy{grid-column:1 / -1}.sales-payment-offers-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.sales-admin .overview-cards{grid-template-columns:minmax(0,1fr)}.sales-export{margin-left:0}.sales-promotion{grid-template-columns:minmax(0,1fr)}.sales-promotion-copy,.sales-promotion-message{grid-column:auto}.sales-payment-offers>header{align-items:flex-start;flex-direction:column}.sales-offer-fields{grid-template-columns:minmax(0,1fr)}}.promo-admin{display:grid;gap:16px}.promo-lead{display:flex;gap:12px;padding:16px 18px;border:1px solid var(--cx-border, var(--border));border-radius:14px;background:var(--cx-surface, var(--surface))}.promo-lead svg{flex:none;color:#1687df;margin-top:2px}.promo-lead h2{margin:0;font-size:16px}.promo-lead p{margin:6px 0 0;color:var(--cx-text-muted, var(--text-3));font-size:13px;line-height:1.45}.promo-table-card,.promo-editor,.promo-fallback{padding:16px 18px;border:1px solid var(--cx-border, var(--border));border-radius:14px;background:var(--cx-surface, var(--surface))}.promo-table-card>header,.promo-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.promo-table-card h3,.promo-editor h3,.promo-fallback h3{margin:0;display:inline-flex;align-items:center;gap:6px;font-size:15px}.promo-table-card h3 svg{color:#1687df}.promo-table-card header button,.promo-editor footer .primary,.promo-fallback button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:9px;background:#269cff;color:#fff;padding:8px 12px;font-weight:800;cursor:pointer}.promo-table-card table{width:100%;border-collapse:collapse}.promo-table-card th,.promo-table-card td{padding:10px 8px;border-bottom:1px solid var(--cx-border-soft, var(--border-soft, #e4ebf5));text-align:left;vertical-align:top;font-size:13px}.promo-table-card th{color:var(--cx-text-muted, var(--text-3));font-size:11px}.promo-table-card td b{display:block}.promo-table-card td small{display:block;color:var(--cx-text-muted, var(--text-3));font-size:11px}.promo-table-card tr.is-editing{background:var(--cx-brand-soft, #eaf4ff)}.promo-table-card td button{border:1px solid var(--cx-border, var(--border));border-radius:8px;background:transparent;padding:6px;cursor:pointer}.promo-switch{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.promo-switch input{width:16px;accent-color:#269cff}.promo-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.promo-fields label,.promo-fallback label:not(.promo-switch){display:grid;gap:6px;font-size:12px;font-weight:700}.promo-fields .wide{grid-column:1 / -1}.promo-fields input,.promo-fields textarea,.promo-fields select,.promo-fallback input[type=number],.promo-fallback input[type=datetime-local]{border:1px solid var(--cx-border, var(--border));border-radius:9px;padding:9px 11px;font:inherit}.promo-editor footer{display:flex;align-items:center;gap:12px;margin-top:14px}.promo-ok{color:#168750;font-size:13px}.promo-fallback{display:grid;grid-template-columns:minmax(0,1.4fr) auto repeat(3,minmax(140px,180px)) auto;align-items:end;gap:12px}.promo-fallback p{margin:4px 0 0;color:var(--cx-text-muted, var(--text-3));font-size:12px}@media(max-width:980px){.promo-fields,.promo-fallback{grid-template-columns:1fr}}.app-updates{--au-primary: var(--cx-brand);--au-primary-hover: var(--cx-brand-hover);--au-primary-light: var(--cx-brand-soft);--au-success: var(--cx-success);--au-success-light: var(--cx-success-soft);--au-warning: var(--cx-warning);--au-warning-light: var(--cx-warning-soft);--au-danger: var(--cx-danger);--au-text: var(--cx-text);--au-text-secondary: var(--cx-text-muted);--au-border: var(--cx-border);--au-border-strong: var(--cx-border);--au-surface-muted: var(--cx-surface-secondary);display:flex;flex-direction:column;gap:14px;min-width:0;color:var(--au-text)}.au-policy{margin:-4px 0 0;padding:10px 12px;border:1px solid #f5d9a8;border-radius:10px;background:var(--au-warning-light);color:var(--au-text);font-size:12.5px;line-height:1.45}.au-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.au-summary-row{display:flex;gap:12px;flex-wrap:wrap;min-width:0}.au-summary{display:flex;align-items:center;gap:10px;width:240px;min-height:46px;padding:0 16px;border:1px solid var(--au-border);border-radius:10px;background:var(--cx-surface);color:var(--au-text);font-size:14px;font-weight:600;cursor:pointer}.au-summary span{flex:1;text-align:left}.au-summary i{width:9px;height:9px;flex:none;border-radius:50%}.au-summary.ok i{background:var(--au-success)}.au-summary.idle i{background:#98a2b3}.au-summary.warn i{background:var(--au-warning)}.au-summary svg{color:var(--au-text-secondary)}.au-summary:hover{border-color:var(--cx-brand)}.au-summary.active{border-color:var(--au-primary);background:var(--au-primary-light)}.app-updates .au-primary,.app-updates .au-ghost,.app-updates .au-danger,.app-updates .au-danger-outline,.app-updates .au-danger-text{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent}.app-updates .au-primary{background:var(--au-primary);color:#fff;box-shadow:0 1px 2px #1018280f}.app-updates .au-primary:hover:not(:disabled){background:var(--au-primary-hover)}.app-updates .au-primary:disabled,.app-updates .au-ghost:disabled{opacity:.55;cursor:not-allowed}.app-updates .au-ghost{border-color:var(--cx-border);background:var(--cx-surface);color:var(--cx-text)}.app-updates .au-ghost:hover:not(:disabled){background:var(--au-surface-muted)}.app-updates .au-ghost.small{height:30px;padding:0 12px;font-size:12px}.app-updates .au-danger{background:var(--au-danger);color:#fff}.app-updates .au-danger-outline{border-color:#f0443873;background:var(--cx-surface);color:var(--au-danger)}.app-updates .au-danger-text{border-color:transparent;background:transparent;color:var(--au-danger);padding:0 8px}.au-link{border:0;background:none;padding:0;color:var(--au-primary);font-size:12px;font-weight:600;cursor:pointer}.au-link:hover{text-decoration:underline}.app-updates button:focus-visible,.app-updates a:focus-visible{outline:2px solid var(--au-primary);outline-offset:2px}.app-updates input:focus-visible,.app-updates textarea:focus-visible,.app-updates select:focus-visible{outline:none}.au-tabs{display:flex;gap:4px;border-bottom:1px solid var(--au-border)}.au-tabs button{border:0;background:none;padding:10px 15px;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--au-text-secondary);font-size:13px;font-weight:600;cursor:pointer}.au-tabs button.active{color:var(--au-primary);border-bottom-color:var(--au-primary)}.au-matrix-scroll{overflow-x:auto;border:1px solid var(--au-border-strong);border-radius:12px;background:var(--cx-surface)}.au-matrix{min-width:940px}.au-matrix-head,.au-matrix-row{display:grid;grid-template-columns:180px repeat(4,minmax(0,1fr))}.au-matrix-head{height:40px;background:var(--au-surface-muted);border-bottom:1px solid var(--au-border-strong)}.au-matrix-corner,.au-matrix-channel{display:flex;align-items:center;font-size:12px;font-weight:600;color:var(--au-text-secondary)}.au-matrix-corner{padding:0 16px}.au-matrix-channel{justify-content:center}.au-matrix-row{border-bottom:1px solid var(--au-border-strong)}.au-matrix-row:last-child{border-bottom:0}.au-matrix-platform{display:flex;align-items:center;gap:10px;padding:0 16px;border-right:1px solid var(--au-border-strong)}.au-matrix-platform b{font-size:13.5px;font-weight:600}.au-matrix-cell{display:flex;min-width:0;padding:8px;border-right:1px solid var(--au-border-strong)}.au-matrix-cell:last-child{border-right:0}.au-release-card{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--au-border-strong);border-radius:10px;background:var(--cx-surface);text-align:left;cursor:pointer}.au-release-card:hover{border-color:var(--cx-brand);background:var(--cx-surface-secondary)}.au-release-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.au-version{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;font-weight:700;letter-spacing:-.01em}.au-badge{flex:none;padding:3px 9px;border-radius:999px;border:1px solid transparent;font-size:11px;font-weight:600;white-space:nowrap}.au-badge.ok{background:var(--au-success-light);border-color:#b6ead0;color:#067a49}.au-badge.warn{background:var(--au-warning-light);border-color:#f5d9a8;color:#b45a09}.au-badge.idle{background:var(--cx-surface-secondary);border-color:var(--au-border);color:var(--au-text-secondary)}.au-release-meta{font-size:11.5px;color:var(--au-text-secondary)}.au-rollout{display:flex;align-items:center;gap:8px}.au-rollout-track{flex:1;height:5px;border-radius:999px;background:var(--cx-surface-tertiary);overflow:hidden}.au-rollout-track i{display:block;height:100%;border-radius:999px;background:var(--au-primary)}.au-rollout em{font-size:11.5px;font-weight:600;font-style:normal;color:var(--au-text-secondary)}.au-mandatory{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:var(--au-warning)}.au-mandatory em{margin-left:auto;font-style:normal;font-weight:500;color:var(--au-text-secondary)}.au-mandatory-note{font-size:11px;color:var(--au-text-secondary)}.au-empty-cell{display:flex;flex:1;min-height:62px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px dashed #cbd5e1;border-radius:10px;font-size:12px;color:var(--au-text-secondary)}.au-table-card{border:1px solid var(--au-border-strong);border-radius:12px;background:var(--cx-surface);overflow:hidden}.au-table-filters{display:flex;gap:12px;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid var(--au-border)}.au-table-scroll{overflow-x:auto}.au-table{width:100%;border-collapse:collapse;min-width:820px}.au-table th{padding:10px 14px;background:var(--au-surface-muted);color:var(--au-text-secondary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:left}.au-table td{padding:11px 14px;border-top:1px solid var(--au-border);font-size:12.5px}.au-table-empty{text-align:center;color:var(--au-text-secondary);padding:26px 14px}.au-tester{border:1px solid var(--au-border-strong);border-radius:12px;background:var(--cx-surface);overflow:hidden}.au-tester>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--au-border)}.au-tester h2{margin:0;font-size:14px;font-weight:700}.au-collapse{border:0;background:none;color:var(--au-text-secondary);cursor:pointer;padding:4px;border-radius:6px}.au-collapse .flipped{transform:rotate(180deg)}.au-tester-body{padding:16px;display:flex;flex-direction:column;gap:12px}.au-test-form{display:grid;grid-template-columns:180px 200px 180px 210px minmax(240px,1fr) 90px;gap:12px;align-items:end}.au-test-run{width:100%}.app-updates .au-field{display:flex;min-width:0;flex-direction:column;gap:5px}.app-updates .au-field>span{font-size:12px;color:var(--au-text-secondary)}.app-updates .au-field input,.app-updates .au-field select,.app-updates .au-field textarea{width:100%;min-height:38px;padding:8px 11px;border:1px solid #d8e0ea;border-radius:8px;background:var(--cx-surface);color:var(--au-text);font-size:12px;font-family:inherit}.app-updates .au-field textarea{min-height:88px;resize:vertical}.app-updates .au-field input[aria-invalid=true]{border-color:var(--au-danger)}.au-input-affix{position:relative;display:block}.au-input-affix input{padding-right:34px}.au-input-affix button{position:absolute;top:50%;right:6px;transform:translateY(-50%);border:0;background:none;color:var(--au-text-secondary);cursor:pointer;padding:4px;border-radius:6px}.au-error{margin:0;font-size:11.5px;color:var(--au-danger);font-style:normal}.au-hint{margin:0;font-size:11.5px;color:var(--au-text-secondary);font-style:normal}.au-test-result{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}.au-test-result code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700}.au-test-result.ok svg{color:var(--au-success)}.au-test-result.none svg{color:var(--au-text-secondary)}.au-test-result.err{color:var(--au-danger)}.au-test-result b.ok{color:var(--au-success)}.au-test-result b.warn{color:var(--au-warning)}.au-json{position:relative;border:1px solid var(--au-border);border-radius:8px;background:var(--au-surface-muted)}.au-json pre{margin:0;padding:12px;overflow-x:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.65;color:#334155}.au-json-copy{position:absolute;top:8px;right:8px;border:1px solid var(--au-border);border-radius:6px;background:var(--cx-surface);color:var(--au-text-secondary);cursor:pointer;padding:5px}.au-drawer-backdrop{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end;background:#0f172a6b}.au-drawer{display:flex;width:min(480px,100%);flex-direction:column;background:var(--cx-surface);border-left:1px solid var(--au-border)}.au-drawer.wide{width:min(520px,100%)}.au-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--au-border)}.au-drawer>header h2{display:flex;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:700}.au-drawer>header button{border:0;background:none;color:var(--au-text-secondary);cursor:pointer;padding:6px;border-radius:8px}.au-drawer-body{display:flex;flex:1;flex-direction:column;gap:12px;padding:18px 20px;overflow-y:auto}.au-drawer-body h3{margin:6px 0 0;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--au-text-secondary)}.au-drawer>footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--au-border)}.au-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.au-dropzone{display:flex;min-height:140px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #cbd5e1;border-radius:12px;background:var(--au-surface-muted);color:var(--au-text-secondary);font-size:12px;cursor:pointer;text-align:center;padding:12px}.au-dropzone input{display:none}.au-dropzone b{color:var(--au-text);font-size:13px}.au-dropzone svg{color:var(--au-primary)}.au-file-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--au-border-strong);border-radius:10px}.au-file-card span{display:flex;min-width:0;flex-direction:column}.au-file-card b{font-size:13px;overflow-wrap:anywhere}.au-file-card small{font-size:11.5px;color:var(--au-text-secondary)}.au-file-card button{border:0;background:none;color:var(--au-text-secondary);cursor:pointer}.au-upload-progress{display:flex;align-items:center;gap:10px}.au-upload-progress>span{flex:1;height:6px;border-radius:999px;background:#eaecf0;overflow:hidden}.au-upload-progress>span i{display:block;height:100%;background:var(--au-primary)}.au-upload-progress small{font-size:11.5px;color:var(--au-text-secondary);white-space:nowrap}.au-upload-progress button{border:1px solid var(--au-border);border-radius:6px;background:var(--cx-surface);font-size:11.5px;padding:4px 10px;cursor:pointer}.au-warn-line{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;border:1px solid #f5d9a8;border-radius:9px;background:var(--au-warning-light);font-size:12px;color:#7a4708}.au-warn-line svg{flex:none;margin-top:1px;color:var(--au-warning)}.au-switch-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.au-switch-row input{margin-top:2px;width:16px;height:16px;accent-color:var(--au-primary)}.au-switch-row span{display:flex;flex-direction:column;gap:2px}.au-switch-row b{font-size:13px}.au-switch-row small{font-size:11.5px;color:var(--au-text-secondary)}.ann-pet-card{display:grid;gap:10px;margin:0 0 16px;border:1px solid var(--au-border, var(--color-border, #e6e6e6));border-radius:14px;padding:14px;background:var(--au-surface, #fff)}.ann-pet-card b{display:block;font-size:13px}.ann-pet-card small,.ann-pet-card p{margin:4px 0 0;color:var(--au-text-secondary, #5a5a5a);font-size:11.5px}.ann-pet-card img{width:min(160px,100%);height:120px;object-fit:contain;background:repeating-conic-gradient(#d8d8d8 0% 25%,#fff 0% 50%) 50% / 12px 12px;border-radius:10px}.ann-pet-actions{display:flex;flex-wrap:wrap;gap:8px}.ann-pet-actions label.au-ghost{position:relative;overflow:hidden;cursor:pointer}.ann-pet-actions input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.au-rollout-input{display:flex;align-items:center;gap:12px}.au-rollout-input input[type=range]{flex:1;accent-color:var(--au-primary);min-height:0}.au-rollout-input b{font-size:13px;min-width:62px;text-align:right}.app-updates .au-rollout-number{width:74px;flex:none;text-align:right}.au-slot-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;font-size:13px;color:var(--au-text-secondary)}.au-locked{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--au-warning)}.au-tech{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:12px;background:var(--au-surface-muted)}.au-tech>div{display:flex;flex-direction:column;gap:4px}.au-tech span{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--au-text-secondary)}.au-tech code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;overflow-wrap:anywhere;color:var(--au-text)}.au-tech small{font-size:11px;color:var(--au-text-secondary)}.au-tech button{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--au-border);border-radius:6px;background:var(--cx-surface);font-size:11.5px;padding:4px 9px;cursor:pointer}.au-trace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.au-trace dt{font-size:11px;color:var(--au-text-secondary)}.au-trace dd{margin:2px 0 0;font-size:12px;overflow-wrap:anywhere}.au-confirm-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:#0f172a75}.au-confirm{width:min(440px,100%);padding:20px;border-radius:14px;background:var(--cx-surface);box-shadow:0 18px 48px #1018283d}.au-confirm h3{margin:0 0 10px;font-size:16px;font-weight:700}.au-confirm-body p{margin:0 0 8px;font-size:13px;line-height:1.6;color:var(--au-text-secondary)}.au-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.au-skeleton-stack{display:flex;flex-direction:column;gap:12px}.au-skeleton{display:block;height:74px;border-radius:12px;background:linear-gradient(90deg,#eef2f6 25%,#f7fafc 37%,#eef2f6 63%);background-size:400% 100%;animation:au-shimmer 1.3s ease infinite}.au-skeleton.tall{height:340px}@keyframes au-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}@media(prefers-reduced-motion:reduce){.au-skeleton{animation:none}}.au-inline-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(240,68,56,.35);border-radius:10px;background:var(--cx-danger-soft);color:var(--au-danger);font-size:12.5px}.au-inline-error button{border:1px solid rgba(240,68,56,.45);border-radius:7px;background:transparent;color:inherit;font-size:12px;padding:5px 12px;cursor:pointer}@media(max-width:1180px){.au-test-form{grid-template-columns:repeat(3,minmax(0,1fr))}.au-test-run{grid-column:span 3}}@media(max-width:860px){.au-toolbar{align-items:stretch}.au-summary,.app-updates .au-primary{width:100%}.au-test-form{grid-template-columns:minmax(0,1fr)}.au-test-run{grid-column:auto}.au-form-grid,.au-trace{grid-template-columns:minmax(0,1fr)}.au-drawer,.au-drawer.wide{width:100%}}.desktop-runtime{display:flex;flex-direction:column;gap:14px;min-width:0;color:var(--cx-text)}.dr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dr-summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 16px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface)}.dr-summary b{display:block;font:600 14px/1.2 inherit}.dr-summary span{color:var(--cx-text-muted);font-size:12px}.desktop-runtime .primary{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--cx-brand);color:#fff;font:600 14px/1 inherit;cursor:pointer}.desktop-runtime .primary:disabled{opacity:.6;cursor:default}.dr-tabs{display:flex;flex-wrap:wrap;gap:8px}.dr-tabs button{min-height:34px;padding:0 12px;border:1px solid var(--cx-border);border-radius:999px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer;font:500 13px/1 inherit}.dr-tabs button.active{background:var(--cx-brand-soft);border-color:var(--cx-brand);color:var(--cx-brand-hover)}.dr-hint,.dr-error,.dr-ok{margin:0;font-size:13px;color:var(--cx-text-muted)}.dr-error{color:var(--cx-danger)}.dr-ok{color:var(--cx-success)}.dr-json{min-height:420px;width:100%;padding:14px;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface);color:var(--cx-text);font:500 13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}.sr-only,.users-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.users-page,.user-detail{--users-blue: var(--cx-brand);--users-blue-light: var(--cx-brand-soft);--users-green: var(--cx-success);--users-orange: var(--cx-warning);--users-red: var(--cx-danger);--users-purple: #7f56d9;--users-text: var(--cx-text);--users-muted: var(--cx-text-muted);--users-border: var(--cx-border);color:var(--users-text)}.users-page button,.users-page input,.users-page select,.user-detail button,.user-detail input,.user-detail select,.user-detail textarea{font:inherit}.users-page button:focus-visible,.user-detail button:focus-visible{outline:3px solid #1683ff2c;outline-offset:2px}.users-page input:focus-visible,.users-page select:focus-visible,.user-detail input:focus-visible,.user-detail select:focus-visible,.user-detail textarea:focus-visible{outline:none}.users-tabs{min-height:48px;margin:0 0 18px;padding:0;display:flex;align-items:end;gap:10px;background:transparent;border-bottom:1px solid var(--users-border);overflow-x:auto}.users-tabs button,.user-detail-tabs button{position:relative;min-height:42px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--cx-text-muted);font-size:12px;white-space:nowrap}.users-tabs button svg,.user-detail-tabs button svg{width:15px;height:15px}.users-tabs button.active{color:var(--users-blue);background:var(--users-blue-light);border-radius:8px 8px 0 0;font-weight:700}.users-tabs button.active:after,.user-detail-tabs button.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--users-blue)}.users-tabs button:disabled{opacity:.82;cursor:not-allowed}.users-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}.users-search{position:relative;flex:1 1 320px;max-width:390px}.users-search input,.users-toolbar select{width:100%;height:40px;border:1px solid var(--cx-border);border-radius:8px;padding:0 38px 0 12px;background:var(--cx-surface);color:var(--cx-text);font-size:14px}.users-search svg{position:absolute;top:12px;right:12px;width:16px;height:16px;color:var(--cx-text-muted)}.users-toolbar select{width:auto;min-width:138px;padding-right:30px}.users-toolbar select:disabled{color:var(--cx-text-muted);opacity:1}.users-filter,.users-add,.users-import{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text-muted);padding:0 13px;font-size:14px}.users-filter svg,.users-add svg,.users-import svg{width:15px;height:15px}.users-toolbar-spacer{flex:1 1 20px}.users-add{border-color:var(--users-blue);background:var(--users-blue);color:#fff;font-weight:650}.users-add svg:last-child{width:12px}.users-import{width:40px;padding:0}.users-add:disabled,.users-import:disabled,.users-quick button:disabled{opacity:.72;cursor:not-allowed}.users-bulk{margin:-8px 0 14px;padding:10px 14px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;border:1px solid color-mix(in srgb,var(--cx-brand) 28%,var(--cx-border));border-radius:9px;background:var(--cx-brand-soft);color:var(--cx-text);font-size:12px}.users-bulk span{color:var(--users-muted)}.users-bulk-actions{display:flex;flex-wrap:wrap;gap:6px}.users-bulk button{border:0;background:transparent;color:var(--users-blue);cursor:pointer}.users-bulk>button:last-child{margin-left:auto}.users-bulk button:disabled{opacity:.55;cursor:not-allowed}.users-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;align-items:start}.users-main{min-width:0}.users-table-card{position:relative;min-height:312px;background:var(--cx-surface);border:1px solid var(--users-border);border-radius:11px 11px 0 0}.users-table-scroll{overflow-x:auto}.users-table{min-width:930px;table-layout:auto}.users-table th{height:44px;padding:0 10px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:14px;font-weight:700;letter-spacing:.025em}.users-table th:first-child,.users-table td:first-child{width:38px;padding-right:4px;text-align:center}.users-table th:nth-child(2){min-width:226px}.users-table th:last-child,.users-table td:last-child{width:82px}.users-table td{height:72px;padding:10px;color:var(--cx-text);font-size:14px;border-top:1px solid var(--cx-border-soft)}.users-table tbody tr:hover{background:var(--cx-surface-secondary)}.users-table input[type=checkbox]{width:14px;height:14px;accent-color:var(--users-blue)}.users-identity{display:flex;align-items:center;gap:10px}.users-identity>span:last-child{min-width:0}.users-identity b{display:block;max-width:165px;overflow:hidden;text-overflow:ellipsis;color:var(--users-text);font-size:11px}.users-identity small{display:block;max-width:185px;margin-top:2px;overflow:hidden;color:var(--users-muted);font-size:9.5px;text-overflow:ellipsis}.users-avatar,.user-profile-avatar{flex:0 0 auto;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--cx-brand-soft);color:var(--users-blue);font-size:13px;font-weight:700}.users-avatar.tone-1{background:var(--cx-success-soft);color:var(--cx-success)}.users-avatar.tone-2{background:var(--cx-warning-soft);color:var(--cx-warning)}.users-avatar.tone-3{background:color-mix(in srgb,#7f56d9 18%,var(--cx-surface));color:#a78bfa}.users-avatar.tone-4{background:color-mix(in srgb,#d346b3 16%,var(--cx-surface));color:#e879c7}.users-avatar.tone-5{background:color-mix(in srgb,#0796a3 16%,var(--cx-surface));color:#2dd4bf}.users-role,.users-status{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:0 8px;border:1px solid transparent;border-radius:6px;font-size:9.5px;white-space:nowrap}.users-role.system_admin{color:var(--cx-brand-hover);background:var(--cx-brand-soft);border-color:color-mix(in srgb,var(--cx-brand) 28%,var(--cx-border))}.users-role.organization_admin{color:#a78bfa;background:color-mix(in srgb,#7f56d9 16%,var(--cx-surface));border-color:color-mix(in srgb,#7f56d9 28%,var(--cx-border))}.users-role.user{color:var(--cx-text-muted);background:var(--cx-surface-secondary);border-color:var(--cx-border)}.users-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.users-status svg{width:10px;height:10px}.users-status.active{color:var(--cx-success);background:var(--cx-success-soft);border-color:color-mix(in srgb,var(--cx-success) 28%,var(--cx-border))}.users-status.locked{color:var(--cx-danger);background:var(--cx-danger-soft);border-color:color-mix(in srgb,var(--cx-danger) 28%,var(--cx-border))}.users-status.pending{color:var(--cx-warning);background:var(--cx-warning-soft);border-color:color-mix(in srgb,var(--cx-warning) 28%,var(--cx-border))}.users-muted{color:var(--cx-text-muted)!important}.users-date{display:block;color:var(--cx-text-muted);line-height:1.45;white-space:nowrap}.users-date small{display:block;margin:0;color:var(--cx-text-muted);font-size:10px}.users-row-actions{display:flex;gap:3px}.users-row-actions>button,.users-more>button{width:31px;height:31px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:7px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.users-row-actions svg{width:14px;height:14px}.users-row-actions>button:hover,.users-more>button:hover{color:var(--users-blue);background:var(--users-blue-light)}.users-more{position:relative}.users-row-menu{position:absolute;top:35px;right:0;z-index:20;width:178px;padding:6px;border:1px solid var(--users-border);border-radius:9px;background:var(--cx-surface);box-shadow:var(--cx-shadow)}.users-row-menu button{width:100%;padding:8px;display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:var(--cx-text);font-size:11px;text-align:left;cursor:pointer}.users-row-menu button:hover{background:var(--cx-surface-secondary)}.users-row-menu button.danger{color:var(--users-red)}.users-row-menu button.success{color:var(--users-green)}.users-skeleton-row td{height:76px}.users-skeleton-row i,.user-detail-skeleton i{display:block;border-radius:7px;background:linear-gradient(90deg,var(--cx-surface-secondary),var(--cx-surface-tertiary),var(--cx-surface-secondary));background-size:200% 100%;animation:users-shimmer 1.2s infinite}.users-skeleton-row i{height:38px}@keyframes users-shimmer{to{background-position:-200% 0}}.users-state{min-height:250px;padding:44px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--users-muted);text-align:center}.users-state>svg{width:32px;color:var(--cx-brand)}.users-state b{color:var(--users-text)}.users-state p{margin:0;font-size:12px}.users-state button,.user-detail-state button{padding:8px 13px;border:1px solid color-mix(in srgb,var(--cx-brand) 28%,var(--cx-border));border-radius:7px;background:var(--cx-surface);color:var(--users-blue);cursor:pointer}.users-pagination{min-height:58px;padding:10px 7px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--users-border);border-top:0;border-radius:0 0 11px 11px;background:var(--cx-surface);color:var(--users-muted);font-size:10px}.users-pagination>div{display:flex;align-items:center;gap:8px}.users-pagination select{height:34px;padding:0 29px 0 12px;border:1px solid var(--cx-border);border-radius:7px;background:var(--cx-surface);color:var(--cx-text);font-size:10px}.users-pagination button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:7px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.users-pagination button svg{width:14px}.users-pagination button.active{color:var(--users-blue);border-color:var(--users-blue)}.users-pagination button:disabled{opacity:.38;cursor:not-allowed}.users-side{display:grid;gap:12px}.users-side-card,.user-detail-card{padding:14px;border:1px solid var(--users-border);border-radius:11px;background:var(--cx-surface)}.users-side-card h2,.user-detail-card h2,.user-info-card h2{margin:0 0 14px;color:var(--users-text);font-size:13px}.users-overview>div,.account-summary>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.users-overview article,.account-summary article{min-height:72px;padding:11px;border:1px solid var(--cx-border-soft);border-radius:8px}.users-overview span,.account-summary span{display:block;color:var(--users-muted);font-size:9.5px}.users-overview b,.account-summary b{display:block;margin-top:7px;color:var(--users-blue);font-size:21px}.users-overview .active b,.account-summary .credit b{color:var(--users-green)}.users-overview .pending b,.account-summary .sessions b{color:var(--users-orange)}.users-overview .locked b{color:var(--users-red)}.account-summary .bonus b{color:var(--users-purple)}.users-quick button{width:100%;min-height:40px;padding:0 4px;display:grid;grid-template-columns:18px 1fr 16px;align-items:center;gap:7px;border:0;border-radius:7px;background:transparent;color:var(--cx-text);font-size:10.5px;text-align:left;cursor:pointer}.users-quick button:hover{background:var(--cx-surface-secondary)}.users-quick svg{width:14px;color:var(--cx-text-muted)}.users-note p{margin:0;color:var(--users-muted);font-size:10.5px;line-height:1.6}.user-detail{min-width:0}.user-detail-back{margin:0 0 18px;padding:0;display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--users-blue);font-size:12px;cursor:pointer}.user-detail-back:hover{text-decoration:underline}.user-detail-back svg{width:15px}.user-profile-summary{min-height:145px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--users-border);border-radius:13px;background:var(--cx-surface)}.user-profile-main{min-width:0;display:flex;align-items:center;gap:22px}.user-profile-avatar{width:82px;height:82px;font-size:27px}.user-profile-main h2{margin:0;font-size:21px}.user-profile-main p{margin:8px 0 12px;color:var(--users-muted);font-size:12px}.user-profile-summary dl{width:min(315px,42%);margin:0;padding-left:22px;display:grid;gap:13px;border-left:1px solid var(--users-border)}.user-profile-summary dt{color:var(--users-muted);font-size:11px}.user-profile-summary dd{max-width:100%;margin:4px 0 0;overflow:hidden;color:var(--cx-text);font-size:12px;text-overflow:ellipsis}.user-detail-tabs{min-height:64px;margin-top:14px;display:flex;align-items:end;gap:14px;border-bottom:1px solid var(--users-border);overflow-x:auto}.user-detail-tabs button{min-height:48px}.user-detail-tabs button.active{color:var(--users-blue);font-weight:700}.user-detail-grid{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;align-items:start}.user-detail-left,.user-detail-right{min-width:0;display:grid;gap:14px}.user-detail-grid .current-plan{grid-column:1 / -1;padding:18px 20px 20px}.user-detail>.current-plan,.user-detail>.usd-wallet,.user-detail>.login-history-page{margin-top:18px}.user-info-card{padding:20px 22px;border:1px solid var(--users-border);border-radius:13px;background:var(--cx-surface)}.user-info-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.user-info-columns>div{display:grid;align-content:start;gap:13px}.detail-field{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:11px;color:var(--cx-text);font-size:11px}.detail-field>span:first-child,.email-verification>span{font-weight:550}.detail-field input,.detail-field select,.detail-field textarea{width:100%;min-width:0;height:39px;padding:0 11px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--cx-text);font-size:11px}.detail-field select{background:var(--cx-surface)}.detail-role-edit{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.detail-role-edit button{display:inline-flex;align-items:center;gap:6px;height:39px;padding:0 12px;border:0;border-radius:8px;background:var(--users-blue);color:#fff;white-space:nowrap;cursor:pointer}.detail-role-edit button svg{width:14px;height:14px}.detail-role-notice{grid-column:2;color:var(--users-muted)}.detail-readonly{position:relative}.detail-readonly input{padding-right:34px}.detail-readonly svg{position:absolute;top:12px;right:11px;width:14px;height:14px;color:var(--cx-text-muted)}.detail-note{align-items:start}.detail-note>span:first-child{padding-top:10px}.detail-note textarea{height:122px;padding:11px;resize:vertical;line-height:1.5}.detail-note small{grid-column:2;margin-top:-27px;padding-right:9px;color:var(--cx-text-muted);font-size:9px;text-align:right;pointer-events:none}.email-verification{display:grid;grid-template-columns:145px 1fr;align-items:center;gap:11px;color:var(--cx-text);font-size:11px}.email-verification>div{display:flex;align-items:center;gap:12px}.email-verification button{width:36px;height:21px;padding:2px;display:flex;align-items:center;border:0;border-radius:999px;background:var(--cx-surface-tertiary)}.email-verification button i{width:17px;height:17px;border-radius:50%;background:var(--cx-surface)}.email-verification em{padding:5px 9px;border-radius:6px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:9px;font-style:normal}.user-detail-actions{padding:14px 18px;display:grid;grid-template-columns:1.05fr 1.35fr 1.2fr 1.2fr;gap:12px;border:1px solid var(--users-border);border-radius:12px;background:var(--cx-surface)}.user-detail-actions button{min-height:40px;padding:0 11px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text-muted);font-size:10px;cursor:pointer}.user-detail-actions button svg{width:14px}.user-detail-actions button.save{color:#fff;border-color:var(--users-blue);background:var(--users-blue)}.user-detail-actions button.lock{color:var(--users-red);border-color:color-mix(in srgb,var(--cx-danger) 34%,var(--cx-border))}.user-detail-actions button.unlock{color:var(--users-green);border-color:color-mix(in srgb,var(--cx-success) 34%,var(--cx-border))}.user-detail-actions button:disabled{opacity:.55;cursor:not-allowed}.user-detail-notice{margin-bottom:-4px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--cx-success) 28%,var(--cx-border));border-radius:8px;background:var(--cx-success-soft);color:var(--cx-success);font-size:11px}.account-summary b{font-size:19px}.current-plan-empty{margin-bottom:14px;display:flex;gap:11px}.current-plan-empty>svg{width:42px;height:42px;padding:10px;border-radius:9px;background:color-mix(in srgb,#7f56d9 16%,var(--cx-surface));color:var(--users-purple)}.current-plan-empty b{font-size:12px}.current-plan-empty p,.recent-login-empty{margin:5px 0 0;color:var(--users-muted);font-size:10px;line-height:1.5}.quota-row{margin-top:11px;display:grid;grid-template-columns:145px 1fr 24px;align-items:center;gap:8px;color:var(--cx-text-muted);font-size:9.5px}.quota-row>div{height:5px;overflow:hidden;border-radius:999px;background:var(--cx-surface-tertiary)}.quota-row>div i{display:block;width:0;height:100%;border-radius:inherit;background:var(--users-blue)}.quota-row em{color:var(--cx-text-muted);font-style:normal}.recent-logins{overflow:hidden}.login-history-meta{margin:-4px 0 12px;color:var(--users-muted)}.login-device{display:inline-flex;align-items:center;gap:8px}.login-device svg{width:14px;height:14px;flex:none;color:var(--users-muted)}.login-ip{word-break:break-all;font-variant-numeric:tabular-nums}.user-detail-tab-panel{min-height:370px;margin-top:18px;display:grid;place-items:center;border:1px solid var(--users-border);border-radius:13px;background:var(--cx-surface);text-align:center}.user-detail-tab-panel>div{max-width:390px;padding:30px}.user-detail-tab-panel svg{width:36px;color:var(--users-blue)}.user-detail-tab-panel h2{margin:12px 0 6px;font-size:17px}.user-detail-tab-panel p{margin:0 0 16px;color:var(--users-muted);font-size:12px}.user-detail-tab-panel button{padding:9px 14px;border:0;border-radius:8px;background:var(--users-blue);color:#fff;cursor:pointer}.user-detail-state{min-height:420px;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--users-muted);text-align:center}.user-detail-state>svg{width:38px}.user-detail-state b{color:var(--users-text)}.user-detail-skeleton .skeleton-line{width:140px;height:18px}.user-detail-skeleton .skeleton-profile{height:145px;margin-top:18px}.user-detail-skeleton .skeleton-tabs{height:50px;margin-top:14px}.user-detail-skeleton .skeleton-panel{height:430px}@media(max-width:1280px){.users-layout,.user-detail-grid{grid-template-columns:1fr}.users-side{grid-template-columns:repeat(3,minmax(0,1fr))}.user-detail-right{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-logins{grid-column:1 / -1}}@media(max-width:1024px){.users-table-scroll{overflow-x:auto}.users-toolbar-spacer{display:none}.user-info-columns{grid-template-columns:1fr}.user-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.users-tabs{margin:0 0 16px;padding:0}.users-toolbar{align-items:stretch}.users-search,.users-toolbar select,.users-filter,.users-add{width:100%;max-width:none}.users-import{width:100%}.users-side,.user-detail-right{grid-template-columns:1fr}.users-pagination{align-items:flex-start;flex-direction:column;gap:8px}.user-profile-summary{align-items:flex-start;flex-direction:column}.user-profile-summary dl{width:100%;padding:16px 0 0;border-top:1px solid var(--users-border);border-left:0}.detail-field,.email-verification{grid-template-columns:1fr;gap:6px}.detail-note small{grid-column:1}.user-detail-actions{grid-template-columns:1fr}}.user-service-packs{container-type:inline-size;container-name:pack-panel}.pack-section-label{margin:20px 0 10px;color:var(--users-muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}.pack-empty,.pack-muted{margin:0;color:var(--users-muted)}.pack-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(max(148px,(100% - 36px) / 4),1fr));gap:10px}.pack-summary article{display:grid;gap:4px;min-width:0;padding:12px 14px;border:1px solid var(--users-border);border-radius:10px;background:var(--cx-surface-secondary)}.pack-summary span,.pack-summary small{color:var(--users-muted)}.pack-summary b{font-variant-numeric:tabular-nums}.pack-notice,.pack-error{margin:12px 0 0;padding:8px 12px;border-radius:8px}.pack-notice{background:var(--cx-success-soft);color:var(--cx-success)}.pack-error{background:var(--cx-danger-soft);color:var(--cx-danger)}.pack-grant-form,.pack-cap-form{display:grid;gap:10px 12px;align-items:end}.pack-grant-form{grid-template-columns:minmax(160px,1.4fr) 120px 110px 150px minmax(180px,1.8fr) auto}.pack-monthly-tick{grid-column:1 / -1;display:flex!important;flex-direction:row;align-items:center;gap:8px;height:39px;color:var(--users-text)}.pack-monthly-tick input{width:auto;height:auto}.pack-inline-action{margin-left:10px;height:28px;padding:0 10px;border:1px solid var(--users-border);border-radius:7px;background:var(--cx-surface);color:var(--users-text);cursor:pointer}.pack-unlock-table input[type=date]{height:34px;padding:0 8px;border:1px solid var(--users-border);border-radius:7px;background:var(--cx-surface-secondary);color:var(--users-text)}.pack-cap-form{grid-template-columns:120px 120px minmax(180px,1fr) auto}.pack-grant-form label,.pack-cap-form label{display:grid;gap:6px;min-width:0;color:var(--users-muted)}.pack-grant-form input,.pack-grant-form select,.pack-cap-form input{width:100%;min-width:0;height:39px;padding:0 11px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--users-text)}.pack-form-submit{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:39px;padding:0 14px;border:0;border-radius:8px;background:var(--users-blue);color:#fff;white-space:nowrap;cursor:pointer}.pack-form-submit svg{width:14px;height:14px}.pack-form-submit:disabled{opacity:.6;cursor:progress}.pack-unlock-chips{display:flex;flex-wrap:wrap;gap:8px}.pack-chip{display:inline-flex;align-items:baseline;gap:8px;padding:8px 12px;border:1px solid var(--users-border);border-radius:999px;background:var(--cx-surface-secondary)}.pack-chip b{font-weight:600}.pack-chip small{color:var(--users-muted)}.pack-table-wrap{overflow-x:auto;border:1px solid var(--users-border);border-radius:10px}.pack-table-wrap table{width:100%;min-width:520px;border-collapse:collapse}.pack-table-wrap th,.pack-table-wrap td{padding:10px 12px;text-align:left;vertical-align:middle}.pack-table-wrap th{height:40px;background:var(--cx-surface-secondary);color:var(--users-muted);font-weight:600;white-space:nowrap}.pack-table-wrap td{border-top:1px solid var(--cx-border-soft)}.pack-num{font-variant-numeric:tabular-nums;white-space:nowrap}.pack-num.is-plus{color:var(--users-green)}.pack-num.is-minus{color:var(--users-red)}.user-service-packs .pack-col-actions{width:1%;white-space:nowrap}.pack-lot-actions{display:inline-flex;flex-wrap:nowrap;gap:6px}.pack-lot-actions button{height:32px;padding:0 10px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface);color:var(--users-text);white-space:nowrap;cursor:pointer}.pack-lot-actions button:hover{border-color:var(--users-blue);color:var(--users-blue)}.pack-lot-actions button.danger{border-color:color-mix(in srgb,var(--users-red) 45%,var(--users-border));color:var(--users-red)}.pack-lot-actions button.danger:hover{border-color:var(--users-red);background:var(--cx-danger-soft)}@container pack-panel (max-width: 720px){.pack-grant-form,.pack-cap-form{grid-template-columns:repeat(2,minmax(0,1fr))}.pack-field-service,.pack-field-reason,.pack-form-submit{grid-column:1 / -1}}.recent-logins .pack-table-wrap table{min-width:360px}.usd-wallet-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1.1fr);gap:16px;align-items:start}.usd-wallet-balance{display:grid;gap:6px;min-height:120px;padding:16px;border:1px solid var(--users-border);border-radius:10px;background:var(--cx-surface-secondary)}.usd-wallet-balance span,.usd-wallet-balance small,.usd-hint,.usd-entry-type{color:var(--users-muted)}.usd-wallet-balance b{font-variant-numeric:tabular-nums}.usd-wallet-form{display:grid;gap:10px}.usd-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}.usd-mode-switch button{height:39px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--users-muted);cursor:pointer}.usd-mode-switch button.active.add{border-color:color-mix(in srgb,var(--users-green) 45%,var(--users-border));background:var(--cx-success-soft);color:var(--users-green)}.usd-mode-switch button.active.subtract{border-color:color-mix(in srgb,var(--users-red) 45%,var(--users-border));background:var(--cx-danger-soft);color:var(--users-red)}.usd-wallet-form label{display:grid;gap:6px;color:var(--users-muted)}.usd-wallet-form input,.usd-wallet-form textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--users-text)}.usd-wallet-form input{height:39px}.usd-wallet-form textarea{min-height:72px;resize:vertical}.usd-submit{height:39px;border:0;border-radius:8px;color:#fff;cursor:pointer}.usd-submit.add{background:var(--users-green)}.usd-submit.subtract{background:var(--users-red)}.usd-submit:disabled{opacity:.6;cursor:progress}.usd-hint{margin:0;display:flex;align-items:flex-start;gap:6px}.usd-hint svg{width:14px;height:14px;flex:none;margin-top:2px}.usd-wallet-modal{width:min(880px,100%);max-height:min(820px,92vh);overflow:auto;padding:18px 20px 20px;border:1px solid var(--users-border);border-radius:14px;background:var(--cx-surface)}.usd-wallet-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.usd-wallet-modal-head span{color:var(--users-muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}.usd-wallet-modal-head h2{margin:4px 0 2px}.usd-wallet-modal-head p{margin:0;color:var(--users-muted)}.usd-wallet-modal-head button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface);color:var(--users-muted);cursor:pointer}.usd-wallet,.usd-wallet-modal{container-type:inline-size}.usd-wallet-modal-head svg{width:16px;height:16px}@container (max-width: 640px){.usd-wallet-grid{grid-template-columns:1fr}}.promotion-segments{border:1px solid var(--border);border-radius:10px;padding:9px 10px}.promotion-segments legend{padding:0 4px;color:var(--text-3);font-size:12px}.promotion-segments>label{display:inline-flex;align-items:center;gap:6px;margin:4px 12px 4px 0;color:var(--text-2);font-size:12px}.promotion-segments>button{min-height:30px;border:0;border-radius:8px;padding:0 10px;background:var(--brand);color:#fff;cursor:pointer}.promotion-segments>small{display:block;margin-top:5px;color:var(--cx-success)}.users-add,.users-import{cursor:pointer}.users-ops-dialog{width:min(520px,100%);max-height:min(86vh,720px);overflow:auto;background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:16px;box-shadow:0 30px 90px #10182855}.users-ops-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 0}.users-ops-dialog>header h2{margin:0;font-size:16px}.users-ops-dialog>header button{border:0;background:transparent;color:var(--cx-text-muted);cursor:pointer;padding:4px}.users-ops-dialog>header svg{width:16px;height:16px}.users-ops-form{display:grid;gap:12px;padding:16px 20px 18px}.users-ops-form label{display:grid;gap:6px;font-size:12px;font-weight:700}.users-ops-form input,.users-ops-form select,.users-ops-form textarea{width:100%;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--cx-text);padding:10px 11px;font:inherit;font-weight:500}.users-ops-form textarea{min-height:120px;resize:vertical}.users-ops-check{display:flex!important;align-items:center;gap:8px;font-weight:600!important}.users-ops-check input{width:auto}.users-ops-file{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface-secondary);color:var(--cx-text);cursor:pointer}.users-ops-file svg{width:15px}.users-ops-hint,.users-ops-error,.users-ops-ok{margin:0;font-size:12px;line-height:1.5;font-weight:500}.users-ops-hint{color:var(--users-muted)}.users-ops-error{color:var(--users-red)}.users-ops-ok{color:var(--users-green)}.users-ops-form footer{display:flex;justify-content:flex-end;gap:8px}.users-ops-form footer button{height:36px;padding:0 14px;border:1px solid var(--users-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer}.users-ops-form footer button.primary{border-color:var(--users-blue);background:var(--users-blue);color:#fff;font-weight:700}.users-ops-form footer button:disabled{opacity:.6;cursor:progress}.history-page{--history-blue: var(--cx-brand);--history-green: var(--cx-success);--history-red: var(--cx-danger);--history-orange: var(--cx-warning);--history-purple: #7f56d9;--history-text: var(--cx-text);--history-muted: var(--cx-text-muted);--history-border: var(--cx-border);color:var(--history-text)}.history-page button,.history-page input,.history-page select{font:inherit}.history-page button:focus-visible,.history-modal button:focus-visible{outline:3px solid #1683ff30;outline-offset:2px}.history-page input:focus-visible,.history-page select:focus-visible{outline:none}.history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:18px}.history-stat{min-width:0;min-height:104px;padding:17px;display:flex;align-items:center;gap:15px;border:1px solid var(--cx-border);border-radius:15px;background:var(--cx-surface);box-shadow:0 5px 18px #10182808}.history-stat-icon{flex:0 0 auto;width:50px;height:50px;display:grid;place-items:center;border-radius:14px}.history-stat-icon svg{width:23px}.history-stat.blue .history-stat-icon{color:var(--history-blue);background:var(--cx-brand-soft)}.history-stat.green .history-stat-icon{color:var(--history-green);background:var(--cx-success-soft)}.history-stat.purple .history-stat-icon{color:var(--history-purple);background:color-mix(in srgb,#7f56d9 16%,var(--cx-surface))}.history-stat.red .history-stat-icon{color:var(--history-red);background:var(--cx-danger-soft)}.history-stat>div{min-width:0}.history-stat>div>span{display:block;color:var(--history-muted);font-size:10.5px}.history-stat b{display:block;margin-top:5px;color:var(--history-text);font-size:25px;line-height:1}.history-stat small{min-height:16px;margin-top:8px;display:flex;align-items:center;gap:4px;font-size:9.5px;white-space:nowrap}.history-stat small.good{color:#0b9c59}.history-stat small.bad{color:var(--history-red)}.history-stat small.neutral{color:var(--cx-text-muted)}.history-stat small svg{width:12px}.history-skeleton{display:block;border-radius:6px;background:linear-gradient(90deg,var(--cx-surface-secondary),#f9fbfc,#edf1f5);background-size:200% 100%;animation:history-shimmer 1.2s infinite}.history-stat .history-skeleton{width:74px;height:25px;margin-top:6px}@keyframes history-shimmer{to{background-position:-200% 0}}.history-filters{display:grid;grid-template-columns:minmax(280px,1.8fr) repeat(3,minmax(145px,.72fr)) minmax(160px,.78fr) auto;gap:12px;align-items:center;margin-bottom:12px}.history-search,.history-date{position:relative}.history-search input,.history-filters>select,.history-date select{width:100%;height:42px;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text);font-size:11px}.history-search input{padding:0 12px 0 38px}.history-filters>select,.history-date select{padding:0 32px 0 12px}.history-search svg{position:absolute;top:13px;left:13px;width:16px;color:var(--cx-text-muted)}.history-date svg{position:absolute;top:13px;right:12px;width:15px;color:var(--cx-text-muted);pointer-events:none}.history-filters select:disabled{opacity:1;color:var(--cx-text-muted)}.history-export{height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:var(--history-blue);color:#fff;font-size:11px;font-weight:650;white-space:nowrap}.history-export svg{width:15px}.history-export:disabled{opacity:.72;cursor:not-allowed}.history-tabs{display:flex;gap:11px;margin-bottom:12px;overflow-x:auto}.history-tabs button{min-height:31px;padding:0 16px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--cx-text-muted);font-size:11px;white-space:nowrap;cursor:pointer}.history-tabs button.active{color:var(--history-blue);border-color:#b7d9ff;background:var(--cx-brand-soft);font-weight:650}.history-panel{min-width:0;overflow:hidden;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface)}.history-panel-header{min-height:47px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf0;background:var(--cx-surface)}.history-panel-header h2{margin:0;font-size:13px}.history-panel-header>div{display:flex;align-items:center;gap:8px}.history-panel-header span{padding:4px 8px;border-radius:5px;background:var(--cx-brand-soft);color:#1683ff;font-size:9px}.history-panel-header button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--cx-text-muted);cursor:pointer}.history-panel-header button:hover{background:var(--cx-surface-secondary);color:var(--history-blue)}.history-panel-header svg{width:14px}.history-table-scroll{overflow-x:auto}.history-table{min-width:980px;table-layout:auto}.history-table th,.history-transaction-table th{height:34px;padding:0 14px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:9.5px;font-weight:650;text-transform:none}.history-table td,.history-transaction-table td{height:48px;padding:7px 14px;color:var(--cx-text);border-top:1px solid var(--cx-border-soft);font-size:10px}.history-table tbody tr:hover,.history-transaction-table tbody tr:hover{background:var(--cx-surface-secondary)}.history-user,.history-action{display:block}.history-user b,.history-action{color:var(--cx-text);font-weight:550}.history-user small,.history-action small{display:block;max-width:205px;margin-top:3px;overflow:hidden;color:var(--cx-text-muted);font-size:9px;text-overflow:ellipsis}.history-id{max-width:145px;overflow:hidden;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--cx-text-muted)!important;text-overflow:ellipsis}.history-status{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:0 8px;border:1px solid;border-radius:999px;font-size:9px;white-space:nowrap}.history-status svg{width:11px}.history-status.success{color:#079455;border-color:#bfead3;background:var(--cx-success-soft)}.history-status.warning{color:#df3f36;border-color:#ffc8c4;background:var(--cx-danger-soft)}.history-detail-button{width:31px;height:26px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:6px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.history-detail-button:hover{color:var(--history-blue);background:var(--cx-brand-soft)}.history-detail-button svg{width:14px}.history-loading-row td{height:48px}.history-loading-row .history-skeleton{height:27px}.history-state{min-height:248px;padding:35px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--history-muted);text-align:center}.history-state>svg{width:30px;color:#83b9f2}.history-state b{color:var(--history-text)}.history-state p{margin:0;font-size:11px}.history-state button{padding:7px 12px;border:1px solid #cbe1f8;border-radius:7px;background:var(--cx-surface);color:var(--history-blue);cursor:pointer}.history-pagination{position:relative;min-height:49px;padding:8px 14px;display:flex;align-items:center;justify-content:center;border-top:1px solid #e7ebf0;color:var(--history-muted);font-size:10px}.history-pagination>div{display:flex;align-items:center;gap:7px}.history-pagination button{width:28px;height:28px;display:grid;place-items:center;border:1px solid transparent;border-radius:6px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.history-pagination button.active{color:var(--history-blue);border-color:var(--history-blue);background:var(--cx-brand-soft)}.history-pagination button:disabled{color:#bdc5d0;cursor:not-allowed}.history-pagination button svg{width:13px}.history-pagination>label{position:absolute;right:48px;display:flex;align-items:center;gap:8px}.history-pagination select{height:29px;padding:0 28px 0 10px;border:1px solid var(--cx-border);border-radius:6px;background:var(--cx-surface);color:var(--cx-text-muted);font-size:9.5px}.history-bottom-grid{margin-top:14px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}.history-compact-panel{min-height:318px;display:flex;flex-direction:column}.history-transaction-table{min-width:570px}.history-transaction-table th{height:34px}.history-transaction-table td{height:43px}.history-compact-panel>footer{min-height:40px;margin-top:auto;display:flex;align-items:center;justify-content:center;gap:4px;border-top:1px solid #e7ebf0;color:var(--history-blue);font-size:10.5px}.history-compact-panel>footer svg{width:13px}.history-panel-empty{min-height:225px;display:grid;place-items:center;color:var(--history-muted);font-size:11px}.history-timeline{position:relative;min-height:220px;margin:0;padding:13px 15px 8px 24px;list-style:none}.history-timeline:before{content:"";position:absolute;top:26px;bottom:23px;left:28px;width:1px;background:#dbe7f5}.history-timeline li{position:relative;min-height:37px;display:grid;grid-template-columns:24px 128px 1fr;align-items:start;gap:8px}.history-timeline li>i{position:relative;z-index:1;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:var(--cx-brand-soft);color:var(--history-blue)}.history-timeline li.warning>i{color:var(--history-red);background:var(--cx-danger-soft)}.history-timeline li.money>i{color:var(--history-green);background:var(--cx-success-soft)}.history-timeline svg{width:11px}.history-timeline time{padding-top:4px;color:var(--cx-text-muted);font-size:8.5px;white-space:nowrap}.history-timeline span{min-width:0}.history-timeline span small,.history-timeline span b,.history-timeline span p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-timeline span small{color:var(--cx-text-muted);font-size:8.5px}.history-timeline span b{margin-top:2px;color:var(--cx-text);font-size:9.5px}.history-timeline span p{margin:2px 0 0;color:var(--cx-text-muted);font-size:8.5px}.history-modal-backdrop{position:fixed;inset:0;z-index:80;padding:22px;display:grid;place-items:center;background:#0b162c70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.history-modal{width:min(620px,100%);max-height:calc(100vh - 44px);overflow:auto;border-radius:16px;background:var(--cx-surface);box-shadow:0 30px 80px #0b162c3d}.history-modal>header{position:static;height:auto;min-height:80px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf0}.history-modal header small{color:var(--history-blue);font-size:9px;font-weight:700}.history-modal header h2{margin:4px 0 0;font-size:18px}.history-modal header button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.history-modal header svg{width:16px}.history-modal dl{margin:0;padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.history-modal dl div{min-width:0}.history-modal dt{color:var(--cx-text-muted);font-size:10px}.history-modal dd{margin:4px 0 0;overflow-wrap:anywhere;color:var(--cx-text);font-size:12px}.history-metadata{padding:0 22px 22px}.history-metadata>b{font-size:11px}.history-metadata pre{max-height:230px;overflow:auto;margin:8px 0 0;padding:13px;border-radius:9px;background:var(--cx-surface-secondary);color:var(--cx-text);font-size:10px;white-space:pre-wrap}@media(max-width:1280px){.history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.history-filters{grid-template-columns:minmax(280px,1.5fr) repeat(2,minmax(150px,.7fr))}.history-bottom-grid{grid-template-columns:1fr}}@media(max-width:820px){.history-stats{grid-template-columns:1fr;gap:12px}.history-filters{grid-template-columns:1fr}.history-export{width:100%}.history-pagination{align-items:flex-start;flex-direction:column;gap:8px}.history-pagination>label{position:static}.history-timeline li{grid-template-columns:24px 1fr}.history-timeline time{grid-column:2}.history-timeline span{grid-column:2;padding-bottom:8px}.history-modal dl{grid-template-columns:1fr}}.usage-page{display:grid;gap:16px;color:var(--cx-text, var(--text))}.usage-tabs{display:inline-flex;width:fit-content;padding:3px;border-radius:var(--radius-control, 10px);background:var(--cx-surface-2, var(--surface-2))}.usage-tabs button{height:32px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--cx-text-muted, var(--text-3));font:inherit;cursor:pointer}.usage-tabs button.active{background:var(--cx-surface, var(--surface));color:var(--cx-text, var(--text));box-shadow:0 1px 2px #00000014}.usage-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;border:1px solid var(--cx-border, var(--border-soft));border-radius:var(--radius-card, 16px);background:var(--cx-surface, var(--surface))}.usage-filters label{display:grid;gap:6px;font-size:12px;color:var(--cx-text-muted, var(--text-3))}.usage-filters input[type=date],.usage-filters select{height:34px;padding:0 10px;border:1px solid var(--cx-border, var(--border));border-radius:var(--radius-control, 10px);background:var(--cx-surface, var(--surface));color:var(--cx-text, var(--text));font:inherit}.usage-presets{display:flex;gap:6px}.usage-presets button,.usage-export,.usage-table-card header button{height:34px;padding:0 12px;border:1px solid var(--cx-border, var(--border));border-radius:var(--radius-control, 10px);background:var(--cx-surface-2, var(--surface-2));color:var(--cx-text-muted, var(--text-2));font:inherit;cursor:pointer}.usage-export{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.usage-export svg,.usage-table-card header button svg,.usage-search svg{width:15px;height:15px}.usage-search{display:inline-flex;align-items:center;gap:8px;min-width:220px;flex:1 1 220px;height:34px;padding:0 10px;border:1px solid var(--cx-border, var(--border));border-radius:var(--radius-control, 10px);background:var(--cx-surface, var(--surface))}.usage-search input{flex:1;border:0;background:transparent;color:var(--cx-text, var(--text));font:inherit;outline:none}.usage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.usage-stats article{display:flex;align-items:center;gap:12px;min-height:88px;padding:16px;border:1px solid var(--cx-border, var(--border-soft));border-radius:15px;background:var(--cx-surface, var(--surface))}.usage-stats article span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--cx-brand, #1683ff);background:var(--cx-brand-soft, #1683ff18)}.usage-stats article small{display:block;color:var(--cx-text-muted, var(--text-3));font-size:12px}.usage-stats article b{font-size:20px}.usage-skeleton{display:block;width:88px;height:18px;border-radius:6px;background:var(--cx-surface-2, var(--surface-2))}.usage-chart,.usage-table-card{padding:16px;border:1px solid var(--cx-border, var(--border-soft));border-radius:var(--radius-card, 16px);background:var(--cx-surface, var(--surface))}.usage-reconciliation{border:1px solid var(--cx-border, var(--border-soft));border-radius:var(--radius-card, 16px);background:var(--cx-surface, var(--surface));overflow:hidden}.usage-reconciliation>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.usage-reconciliation>summary::-webkit-details-marker{display:none}.usage-reconciliation>summary span:first-child{display:grid;gap:2px}.usage-reconciliation>summary small,.usage-reconciliation td small{display:block;color:var(--cx-text-muted, var(--text-3))}.usage-reconciliation-alert,.usage-reconciliation-status{display:inline-flex;align-items:center;width:fit-content;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:650}.usage-reconciliation-alert,.usage-reconciliation-status.confirmed{color:#087a45;background:#10b98124}.usage-reconciliation-status.suspicious{color:#9a6700;background:#f59e0b29}.usage-reconciliation-status.blocked_no_charge,.usage-reconciliation-status.confirmed_identity{color:#087a45;background:#10b98124}.usage-reconciliation-status.suspicious_nearby,.usage-reconciliation-status.unverified_model{color:#9a6700;background:#f59e0b29}.usage-reconciliation-policy{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--cx-border, var(--border-soft));background:var(--cx-surface-2, var(--surface-2));color:var(--cx-text-muted, var(--text-3));font-size:12px}.usage-reconciliation-policy button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--cx-border, var(--border));border-radius:8px;background:var(--cx-surface, var(--surface));color:inherit;cursor:pointer}.usage-reconciliation-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.usage-reconciliation-filters select{min-height:32px;max-width:220px;border:1px solid var(--cx-border, var(--border));border-radius:8px;background:var(--cx-surface, var(--surface));color:inherit}.usage-reconciliation-policy button svg{width:14px;height:14px}.usage-reconciliation table{width:100%;border-collapse:collapse}.usage-reconciliation th,.usage-reconciliation td{padding:10px 12px;border-top:1px solid var(--cx-border, var(--border-soft));text-align:left;vertical-align:top;font-size:12px}.usage-reconciliation td button{min-height:30px;padding:0 10px;border:1px solid var(--cx-border, var(--border));border-radius:8px;background:var(--cx-surface-2, var(--surface-2));color:inherit;cursor:pointer}.usage-reconciliation td button:disabled{opacity:.45;cursor:not-allowed}.usage-row-reversed{opacity:.68}.usage-row-reversed td:nth-last-child(2){text-decoration:line-through}.usage-chart header,.usage-table-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.usage-chart header small,.usage-table-card header small{display:block;color:var(--cx-text-muted, var(--text-3))}.usage-bars{display:flex;align-items:flex-end;gap:3px;height:120px}.usage-bars i{flex:1 1 0;min-width:4px;border-radius:4px 4px 0 0;background:var(--cx-brand, #1683ff)}.usage-split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.usage-split-4{grid-template-columns:1fr 1fr}.usage-approx{margin-left:4px;color:var(--cx-text-muted, var(--text-3));text-decoration:none}.usage-table-wrap{overflow:auto}.usage-table-card table{width:100%;border-collapse:collapse}.usage-table-card th,.usage-table-card td{padding:10px 8px;border-bottom:1px solid var(--cx-border, var(--border-soft));text-align:left;font-size:13px;vertical-align:top}.usage-table-card th{color:var(--cx-text-muted, var(--text-3));font-weight:500}.usage-user{display:grid;gap:2px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.usage-user small,.usage-table-card td small{display:block;color:var(--cx-text-muted, var(--text-3))}.usage-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.usage-pagination div{display:flex;align-items:center;gap:6px}.usage-pagination button{min-width:32px;height:32px;border:1px solid var(--cx-border, var(--border));border-radius:8px;background:var(--cx-surface, var(--surface));color:inherit;cursor:pointer}.usage-pagination button.active{border-color:var(--cx-brand, #1683ff);color:var(--cx-brand, #1683ff)}.usage-pagination button:disabled{opacity:.45;cursor:default}.usage-pagination select{height:32px;margin-left:8px}@media(max-width:960px){.usage-split{grid-template-columns:1fr}}.profile-repository-content{padding:0;background:var(--cx-bg)}.profile-repository-page{--profile-blue: var(--cx-brand);--profile-blue-dark: var(--cx-brand-hover);--profile-green: var(--cx-success);--profile-purple: #7a42e8;--profile-cyan: #0c9bd1;--profile-orange: var(--cx-warning);--profile-text: var(--cx-text);--profile-muted: var(--cx-text-muted);--profile-border: var(--cx-border);min-height:100%;background:var(--cx-bg);color:var(--profile-text)}.shell .profile-repository-header{position:static;height:104px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--cx-border-soft);background:var(--cx-bg)}.shell .profile-repository-header h1{margin:0;color:var(--profile-text);font-size:16px;line-height:1.15;font-weight:750;letter-spacing:-.035em}.shell .profile-repository-header p{margin:7px 0 0;color:var(--profile-muted);font-size:14px}.profile-api-status{min-height:40px;display:inline-flex;align-items:center;gap:10px;padding:0 18px;border:1px solid #bce9d2;border-radius:999px;background:var(--cx-success-soft);color:#079455;font-size:13px;white-space:nowrap}.profile-api-status i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px #12b76a14}.profile-api-status.checking{border-color:var(--cx-border);background:var(--cx-surface-secondary);color:var(--cx-text-muted)}.profile-api-status.offline{border-color:#f5c2c2;background:var(--cx-danger-soft);color:#d92d20}.profile-repository-body{width:100%;min-width:0;padding:18px 30px 28px}.shell .profile-repository-tabs{width:100%;min-height:48px;height:auto;display:flex;flex-wrap:wrap;align-items:center;gap:3px;padding:3px;overflow:visible;border:1px solid #eef2f6;border-radius:14px;background:var(--cx-surface-secondary)}.shell .profile-repository-tabs a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;color:var(--cx-text);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap}.shell .profile-repository-tabs a:hover{color:var(--profile-blue)}.shell .profile-repository-tabs a:not(.active){font-size:14px}.shell .profile-repository-tabs a.active{background:var(--cx-brand-soft);color:var(--profile-blue);font-weight:650;box-shadow:0 1px 3px #1683ff1a}.profile-overview{min-width:0}.profile-stats-grid{margin-top:22px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.profile-stat-card{min-width:0;min-height:108px;display:flex;align-items:center;gap:18px;padding:18px;border:1px solid var(--profile-border);border-radius:16px;background:var(--cx-surface);box-shadow:0 5px 18px #28486e0e}.profile-stat-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:16px;background:#edf5ff;color:var(--profile-blue)}.profile-stat-icon svg{width:30px;height:30px;stroke-width:1.9}.profile-stat-copy{min-width:0;display:grid;align-content:center}.profile-stat-copy small{overflow:hidden;color:var(--profile-muted);font-size:14px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.profile-stat-copy strong{margin-top:7px;color:var(--profile-blue);font-size:29px;line-height:1;font-weight:750;letter-spacing:-.035em}.profile-stat-green .profile-stat-icon{background:var(--cx-success-soft);color:var(--profile-green)}.profile-stat-green strong{color:var(--profile-green)}.profile-stat-purple .profile-stat-icon{background:#f3edff;color:var(--profile-purple)}.profile-stat-purple strong{color:var(--profile-purple)}.profile-stat-cyan .profile-stat-icon{background:#eaf9ff;color:var(--profile-cyan)}.profile-stat-cyan strong{color:var(--profile-cyan)}.profile-stat-orange .profile-stat-icon{background:var(--cx-warning-soft);color:var(--profile-orange)}.profile-stat-orange strong{color:var(--profile-orange)}.capacity-distribution-section{margin-top:34px}.capacity-distribution-heading{margin:0 0 16px}.capacity-distribution-heading h2,.capacity-distribution-section>h2{margin:0;color:var(--profile-text);font-size:16px;line-height:1.2;font-weight:750;letter-spacing:-.035em}.capacity-distribution-heading p{margin:8px 0 0;color:var(--profile-muted);font-size:13px;line-height:1.45;max-width:52rem}.capacity-distribution-card{width:100%;min-height:445px;display:flex;align-items:stretch;justify-content:center;overflow:hidden;padding:32px;border:1px solid var(--profile-border);border-radius:16px;background:var(--cx-surface);box-shadow:none}.capacity-distribution-card:has(.profile-capacity-list){min-height:0;align-items:stretch;padding:16px 18px 18px}.profile-repository-empty{width:100%;max-width:540px;min-height:379px;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}.profile-empty-illustration{position:relative;width:176px;height:132px;display:grid;place-items:center}.profile-empty-illustration:before,.profile-empty-illustration:after{content:"";position:absolute;border-radius:50%;background:#cbe3ff;box-shadow:38px -11px 0 -2px #dcecff,65px 13px 0 -3px #bfdcff,-42px 15px 0 -3px #cfe5ff}.profile-empty-illustration:before{width:7px;height:7px;left:31px;top:39px}.profile-empty-illustration:after{width:5px;height:5px;right:46px;top:23px}.profile-empty-illustration .orbit{position:absolute;width:95px;height:62px;border-top:1px dashed #d5e7fb;border-radius:50%}.profile-empty-illustration .orbit-left{left:8px;top:53px;transform:rotate(-17deg)}.profile-empty-illustration .orbit-right{right:4px;top:54px;transform:rotate(19deg)}.profile-empty-illustration>span{position:relative;z-index:1;width:96px;height:76px;display:grid;place-items:center;border-radius:16px 16px 19px 19px;background:linear-gradient(155deg,#88c3ff,#5b9ff0 55%,#a9ccff);color:#fff;box-shadow:0 18px 30px #3584e838}.profile-empty-illustration>span:before{content:"";position:absolute;top:-13px;left:12px;width:46px;height:18px;border-radius:8px 8px 2px 2px;background:#7eb8fc}.profile-empty-illustration svg{width:46px;height:46px;stroke-width:1.55}.profile-repository-empty h3{margin:7px 0 0;color:var(--profile-text);font-size:20px;font-weight:750;letter-spacing:-.025em}.profile-repository-empty p{margin:11px 0 0;color:var(--profile-muted);font-size:14px;line-height:1.55}.profile-create-button{min-height:44px;margin-top:24px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 28px;border:0;border-radius:9px;background:linear-gradient(135deg,#2d9bff,#176df0);color:#fff;font-size:14px;font-weight:700;box-shadow:0 9px 20px #1683ff38;cursor:pointer}.profile-create-button:hover{background:linear-gradient(135deg,#198cf5,#0e61df)}.profile-create-button svg{width:17px;height:17px}.profile-capacity-list{width:100%;margin:0;display:grid;align-content:start;gap:12px}.profile-service-pool{display:grid;gap:10px;padding:14px;border:1px solid var(--cx-border-soft);border-radius:14px;background:var(--cx-bg)}.profile-service-pool-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.profile-service-pool-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.profile-add-slot-btn{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:0;border-radius:9px;background:var(--profile-blue);color:#fff;font-size:13px;font-weight:700;cursor:pointer}.profile-add-slot-btn svg{width:15px;height:15px}.profile-add-slot-btn:hover:not(:disabled){background:var(--profile-blue-dark)}.profile-add-slot-btn:disabled{opacity:.45;cursor:not-allowed}.profile-service-pool-head b{font-size:15px;letter-spacing:-.02em}.profile-service-pool-head small{display:block;margin-top:4px;color:var(--profile-muted);font-size:12px;line-height:1.4}.profile-service-pool-empty{margin:0;padding:12px 14px;border-radius:10px;background:var(--cx-surface);color:var(--profile-muted);font-size:13px;line-height:1.45}.profile-stepper-field{display:grid;gap:6px;color:var(--profile-muted);font-size:11px}.profile-stepper-field.compact{grid-auto-flow:column;align-items:center;gap:10px}.profile-stepper{display:inline-flex;align-items:center;gap:6px}.profile-stepper button{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:8px;background:var(--cx-surface);color:var(--profile-text)}.profile-stepper button:hover:not(:disabled){border-color:var(--profile-blue);color:var(--profile-blue)}.profile-stepper button:disabled{opacity:.42;cursor:not-allowed}.profile-stepper svg{width:14px;height:14px}.profile-stepper strong,.profile-stepper input{min-width:2.4em;width:3.2em;height:28px;padding:0;border:0;background:transparent;text-align:center;font-size:14px;font-weight:650;color:var(--profile-text)}.profile-stepper input:focus{outline:1px solid color-mix(in srgb,var(--cx-brand) 45%,transparent);border-radius:6px}.profile-capacity-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.profile-capacity-meta small{color:var(--profile-muted);font-size:11px}.profile-capacity-row{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(320px,1fr);align-items:center;gap:28px;padding:17px 18px;border:1px solid var(--cx-border-soft);border-radius:13px;background:var(--cx-surface)}.profile-capacity-identity{min-width:0;display:flex;align-items:center;gap:12px}.profile-capacity-identity>span{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:11px;background:var(--cx-brand-soft);color:var(--profile-blue)}.profile-capacity-identity svg{width:20px;height:20px}.profile-capacity-identity div{min-width:0;display:grid}.profile-capacity-identity b,.profile-capacity-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-capacity-identity b{font-size:14px}.profile-capacity-identity small{margin-top:3px;color:var(--profile-muted);font-size:11px}.profile-capacity{min-width:0;display:grid;gap:9px}.profile-capacity>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-capacity span,.profile-capacity b{color:#475467;font-size:12px;font-weight:600}.profile-capacity b{color:var(--profile-blue-dark)}.profile-capacity>i{height:8px;display:block;overflow:hidden;border-radius:999px;background:#eaf0f7}.profile-capacity>i em{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#2e9cff,#1575ef)}.profile-repository-panel{margin-top:22px;padding:22px;border:1px solid var(--profile-border);border-radius:16px;background:var(--cx-surface);box-shadow:0 5px 18px #28486e0a}.profile-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.profile-panel-heading h2,.profile-panel-heading h3{margin:0;color:var(--profile-text);font-size:20px;letter-spacing:-.025em}.profile-panel-heading h3{font-size:16px}.profile-panel-heading p{margin:5px 0 0;color:var(--profile-muted);font-size:12px}.profile-repository-actions{display:flex;align-items:center;gap:8px}.profile-repository-actions button,.profile-card-actions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #d7e0ea;border-radius:9px;background:var(--cx-surface);color:var(--cx-text);font-size:12px;font-weight:650;cursor:pointer}.profile-repository-actions button svg{width:15px;height:15px}.profile-repository-actions .primary-action{border-color:var(--profile-blue);background:var(--profile-blue);color:#fff}.profile-repository-actions .danger,.profile-card-actions .danger{border-color:#f4bcbc;color:#d92d20}.profile-repository-actions button:disabled{opacity:.55;cursor:wait}.profile-repository-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.profile-repository-card{min-width:0;display:grid;gap:15px;padding:17px;border:1px solid var(--cx-border);border-radius:14px;background:var(--cx-surface)}.profile-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.profile-card-heading small{color:var(--profile-muted);font-size:11px}.profile-card-heading h3{margin:4px 0 0;color:var(--profile-text);font-size:16px}.profile-status-badge{padding:4px 9px;border-radius:999px;background:var(--cx-surface-secondary);color:#475467;font-size:10px;white-space:nowrap}.profile-status-badge.alive{background:var(--cx-success-soft);color:#079455}.profile-status-badge.cooldown{background:var(--cx-warning-soft);color:#c77600}.profile-status-badge.unhealthy,.profile-status-badge.disabled{background:var(--cx-danger-soft);color:#d92d20}.profile-repository-card dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-repository-card dl>div{padding:10px;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary)}.profile-repository-card dt{color:var(--profile-muted);font-size:9px;text-transform:uppercase}.profile-repository-card dd{margin:4px 0 0;color:var(--cx-text);font-size:12px;font-weight:650}.profile-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.profile-card-actions select{min-height:36px;padding:0 9px;border:1px solid #d7e0ea;border-radius:9px;background:var(--cx-surface);color:var(--cx-text);font-size:12px}.profile-repository-empty.compact{min-height:330px}.profile-orphan-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--cx-border)}.profile-count-badge{padding:5px 10px;border-radius:999px;background:var(--cx-warning-soft);color:#b86400;font-size:11px;font-weight:650}.profile-orphan-empty{padding:22px;border-radius:11px;background:var(--cx-success-soft);color:#079455;font-size:12px;font-weight:650}.profile-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--cx-border);border-radius:12px}.profile-repository-table{width:100%;border-collapse:collapse;white-space:nowrap}.profile-repository-table th{padding:12px 14px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);font-size:10px;font-weight:700;text-align:left;text-transform:uppercase}.profile-repository-table td{padding:13px 14px;border-top:1px solid var(--cx-border-soft);color:var(--cx-text);font-size:12px}.profile-table-empty,.profile-repository-error,.profile-capacity-skeleton{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}.profile-table-empty svg,.profile-repository-error>svg{width:40px;height:40px;margin-bottom:11px;color:#8ea2b8}.profile-table-empty b{color:var(--profile-text)}.profile-repository-error{width:100%;color:#b42318}.profile-repository-error>svg{color:#f04438}.profile-repository-error p{max-width:560px;margin:7px 0 15px;color:var(--cx-text-muted);font-size:12px}.profile-repository-error button{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 14px;border:1px solid #d7e0ea;border-radius:9px;background:var(--cx-surface);color:var(--cx-text);font-size:12px;font-weight:650;cursor:pointer}.profile-repository-error button svg{width:15px}.profile-skeleton{display:block;overflow:hidden;border-radius:7px;background:linear-gradient(90deg,var(--cx-surface-secondary) 25%,var(--cx-surface-secondary) 45%,#edf1f5 65%);background-size:300% 100%;animation:profile-shimmer 1.25s ease-in-out infinite}.profile-skeleton-label{width:84px;height:13px}.profile-skeleton-value{width:48px;height:28px;margin-top:9px}.profile-skeleton-illustration{width:120px;height:92px;border-radius:26px}.profile-skeleton-title{width:180px;max-width:58%;height:18px;margin-top:20px}.profile-skeleton-copy{width:310px;max-width:78%;height:12px;margin-top:12px}.profile-skeleton-bar{width:100%;height:9px;margin-top:10px}.skeleton-card .profile-skeleton-title,.skeleton-card .profile-skeleton-copy{max-width:none;margin-top:0}.profile-table-skeleton{display:grid;gap:10px}.profile-table-skeleton i{width:100%;height:42px}@keyframes profile-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.profile-repository-modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:22px;background:#10182885;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-repository-modal{position:relative;width:min(100%,520px);display:grid;gap:14px;padding:26px;border:1px solid #dfe6ee;border-radius:18px;background:var(--cx-surface);box-shadow:0 28px 80px #10182847}.profile-repository-modal h2{margin:0 42px 5px 0;color:var(--profile-text);font-size:21px}.profile-repository-modal label{display:grid;gap:7px;color:#475467;font-size:12px;font-weight:650}.profile-repository-modal input,.profile-repository-modal select{width:100%;min-height:42px;padding:8px 11px;border:1px solid #d7e0ea;border-radius:10px;background:var(--cx-surface);color:var(--cx-text)}.profile-repository-modal label small{color:var(--profile-muted);font-size:10px;font-weight:500}.profile-modal-close{position:absolute;top:16px;right:16px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #dfe6ee;border-radius:9px;background:var(--cx-surface);color:var(--cx-text-muted);cursor:pointer}.profile-modal-close svg{width:17px}.profile-modal-save{min-height:43px;margin-top:4px;border:0;border-radius:9px;background:var(--profile-blue);color:#fff;font-weight:700;cursor:pointer}.profile-modal-save:disabled{opacity:.58;cursor:not-allowed}@media(max-width:1280px){.profile-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1023px){.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-capacity-row{grid-template-columns:1fr;gap:16px}.profile-service-pool-head{align-items:flex-start}}@media(max-width:767px){.shell .profile-repository-header{min-height:126px;height:auto;padding:20px 16px;flex-direction:column;align-items:flex-start}.shell .profile-repository-header h1{font-size:23px}.shell .profile-repository-header p{font-size:12px}.profile-api-status{min-height:36px}.profile-repository-body{padding:16px 16px 24px}.shell .profile-repository-tabs{width:100%}.shell .profile-repository-tabs a{flex:0 0 auto;padding:0 12px}.profile-stats-grid{grid-template-columns:1fr;gap:12px}.profile-stat-card{min-height:94px;padding:15px}.profile-stat-icon{width:54px;height:54px;flex-basis:54px}.profile-stat-icon svg{width:25px;height:25px}.capacity-distribution-section{margin-top:28px}.capacity-distribution-heading h2,.capacity-distribution-section>h2{font-size:16px}.capacity-distribution-card{min-height:380px;padding:18px}.profile-repository-empty{min-height:342px;padding:12px}.profile-empty-illustration{transform:scale(.88)}.profile-create-button{width:100%;max-width:320px}.profile-panel-heading{flex-direction:column}.profile-repository-actions{width:100%;flex-wrap:wrap}.profile-repository-actions button{flex:1 1 180px}.profile-repository-panel{padding:16px}}@media(prefers-reduced-motion:reduce){.profile-skeleton{animation:none}}[data-theme=dark] .profile-repository-content{background:var(--cx-bg)}[data-theme=dark] .profile-repository-page{--profile-text: var(--cx-text);--profile-muted: var(--cx-text-muted);--profile-border: var(--cx-border);background:var(--cx-bg);color:var(--cx-text)}[data-theme=dark] .shell .profile-repository-header{border-bottom-color:var(--cx-border-soft);background:color-mix(in srgb,var(--cx-surface) 94%,transparent)}[data-theme=dark] .profile-api-status{border-color:color-mix(in srgb,var(--cx-success) 34%,var(--cx-border));background:var(--cx-success-soft);color:var(--cx-success)}[data-theme=dark] .profile-api-status.checking{border-color:var(--cx-border);background:var(--cx-surface-secondary);color:var(--cx-text-muted)}[data-theme=dark] .profile-api-status.offline{border-color:color-mix(in srgb,var(--cx-danger) 34%,var(--cx-border));background:var(--cx-danger-soft);color:var(--cx-danger)}[data-theme=dark] .shell .profile-repository-tabs{border-color:var(--cx-border-soft);background:var(--cx-surface-secondary)}[data-theme=dark] .shell .profile-repository-tabs a{color:var(--cx-text-secondary)}[data-theme=dark] .shell .profile-repository-tabs a.active{background:var(--cx-brand-soft);color:var(--cx-brand-hover)}[data-theme=dark] .profile-stat-card,[data-theme=dark] .profile-repository-panel,[data-theme=dark] .profile-inventory-card,[data-theme=dark] .profile-assignment-card,[data-theme=dark] .profile-table,[data-theme=dark] .profile-empty-state,[data-theme=dark] .profile-drawer,[data-theme=dark] .profile-modal{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text);box-shadow:none}[data-theme=dark] .profile-stat-icon{background:var(--cx-brand-soft)}.profile-inline-error{margin:0 0 12px;color:#b42318;font-size:13px}.profile-login-note{margin:0;color:var(--profile-muted);font-size:13px;line-height:1.45}.profile-login-actions{white-space:nowrap}.profile-login-actions button{margin-right:8px;padding:0;border:0;background:none;color:var(--profile-blue);font-size:13px;font-weight:650;cursor:pointer}.profile-login-actions button:disabled{opacity:.5;cursor:not-allowed}.profile-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.profile-modal-actions button:not(.profile-modal-save){min-height:43px;padding:0 16px;border:1px solid var(--profile-border);border-radius:9px;background:var(--cx-surface);color:var(--cx-text);cursor:pointer}.profile-table-empty span{max-width:420px;margin-top:8px;color:var(--profile-muted);font-size:13px;line-height:1.45}html,body,#root{background:var(--cx-bg);color:var(--cx-text)}body{font-family:Geist,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:var(--font-ui);font-weight:var(--font-ui-weight);line-height:1.35}.shell aside nav,.content,.profile-repository-content,.users-page,.user-detail{scrollbar-width:none}.shell aside nav::-webkit-scrollbar,.content::-webkit-scrollbar,.profile-repository-content::-webkit-scrollbar{width:0;height:0;display:none}[data-theme=dark] .shell>main{box-shadow:none}.users-page,.user-detail{--users-blue: var(--cx-brand);--users-blue-light: var(--cx-brand-soft);--users-green: var(--cx-success);--users-orange: var(--cx-warning);--users-red: var(--cx-danger);--users-purple: #7f56d9;--users-text: var(--cx-text);--users-muted: var(--cx-text-muted);--users-border: var(--cx-border);color:var(--cx-text)}.profile-repository-page{--profile-blue: var(--cx-brand);--profile-blue-dark: var(--cx-brand-hover);--profile-text: var(--cx-text);--profile-muted: var(--cx-text-muted);--profile-border: var(--cx-border)}.users-tabs,.profile-repository-content,.profile-repository-page,.shell .profile-repository-header{background:var(--cx-bg);border-color:var(--cx-border-soft);color:var(--cx-text)}.users-tabs button,.user-detail-tabs button{color:var(--cx-text-secondary)}.panel,.table-card,.metrics article,.finance article,.credit-history,.credit-balance,.plan-admin-grid article,.org-admin-stats>span,.ticket-queue,.ticket-detail,.service-catalog,.service-editor,.model-catalog,.model-modal,.credit-modal,.organization-modal,.profile-stat-card,.capacity-distribution-card,.profile-repository-panel,.release-card,.updates-panel,.history-card,.history-panel,.sales-card,.user-card,.user-panel,.user-detail,.search,.login-card{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text);box-shadow:none}.welcome{color:var(--cx-text);background:linear-gradient(135deg,var(--cx-brand-soft),var(--cx-surface));border:1px solid color-mix(in srgb,var(--cx-brand) 24%,var(--cx-border));box-shadow:none}.welcome h2,.welcome span,.panel-head h3,.legend b,.ledger-values b{color:var(--cx-text)}.welcome p,.metric p,.panel-head small,.ledger-values span,.ledger-note,.legend span,.timeline small,.timeline time,.quick>p{color:var(--cx-text-muted)}.health{border-color:color-mix(in srgb,var(--cx-brand) 28%,var(--cx-border));background:color-mix(in srgb,var(--cx-surface) 82%,transparent);color:var(--cx-text)}.health small{color:var(--cx-text-muted)}.metric.blue .metric-icon,.metric.green .metric-icon,.metric.purple .metric-icon,.metric.orange .metric-icon,.flow>div>svg,.finance svg,.credit-icon{background:var(--cx-brand-soft);color:var(--cx-brand)}.ledger-values,.ledger-values div,.timeline>div,.quick-row,.ledger-note{border-color:var(--cx-border-soft)}.risk.warn{background:var(--cx-warning-soft);color:var(--cx-warning)}.risk.ok{background:var(--cx-success-soft);color:var(--cx-success)}th,.model-admin .model-table thead th,.provider-counters-table th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}td,td small{color:var(--cx-text);border-color:var(--cx-border-soft)}td small{color:var(--cx-text-muted)}input,select,textarea,.service-form input,.service-form textarea,.model-form input,.login-card input,.search input{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}.primary,.search button,.save-service,.primary-save{background:var(--cx-brand);border-color:var(--cx-brand);color:#fff}.link{color:var(--cx-brand-hover)}code{background:var(--cx-brand-soft);color:var(--cx-brand-hover)}.splash,.loading{color:var(--cx-text-muted)}.admin-mark span,.login-card h1{color:var(--cx-text)}.login-card>p{color:var(--cx-text-muted)}.ticket-queue>button{background:var(--cx-surface);color:var(--cx-text);border-color:var(--cx-border-soft)}.ticket-queue>button.active{background:var(--cx-brand-soft)}.shell .profile-repository-tabs{background:var(--cx-surface-secondary);border-color:var(--cx-border-soft)}.shell .profile-repository-tabs a{color:var(--cx-text-secondary)}.shell .profile-repository-tabs a.active{background:var(--cx-brand-soft);color:var(--cx-brand-hover)}html[data-theme] .shell,html[data-theme] .content,html[data-theme] .login-page,html[data-theme] .profile-repository-page,html[data-theme] .app-updates,html[data-theme] .plan-admin,html[data-theme] .credit-package-grid,html[data-theme] .users-page,html[data-theme] .history-page{font-size:14px!important}html[data-theme] .shell :is(p,span,small,label,li,td,th,button,input,select,textarea,dt,dd,em,b,a,article),html[data-theme] .content :is(p,span,small,label,li,td,th,button,input,select,textarea,dt,dd,em,b,a,article),html[data-theme] .profile-repository-page :is(p,span,small,label,li,td,th,button,input,select,textarea,dt,dd,em,b,a,article),html[data-theme] .app-updates :is(p,span,small,label,li,td,th,button,input,select,textarea,dt,dd,em,b,a),html[data-theme] .plan-admin :is(p,span,small,label,li,td,th,button,input,select,textarea,dt,dd,em,b),html[data-theme] .credit-package-grid :is(p,span,small,label,button,b){font-size:14px!important;line-height:1.35}html[data-theme] .shell :is(h1,h2,h3),html[data-theme] .content :is(h1,h2,h3),html[data-theme] .login-page :is(h1,h2,h3),html[data-theme] .profile-repository-page :is(h1,h2,h3),html[data-theme] .app-updates :is(h1,h2,h3),html[data-theme] .plan-admin :is(h1,h2,h3),html[data-theme] .credit-package-grid :is(h1,h2,h3),html[data-theme] .plan-card strong,html[data-theme] .plan-admin-grid strong,html[data-theme] .credit-package-grid article strong,html[data-theme] .profile-stat-card strong,html[data-theme] .users-overview b,html[data-theme] .account-summary b,html[data-theme] .pack-summary b,html[data-theme] .usd-wallet-balance b,html[data-theme] .profile-metrics b,html[data-theme] .history-stat b,html[data-theme] .sales-admin .overview-cards b,html[data-theme] .provider-counters-grid article b,html[data-theme] .provider-counters-head b,html[data-theme] .metrics strong,html[data-theme] .finance strong{font-size:16px!important;line-height:1.35;letter-spacing:-.02em}html[data-theme] .plan-admin-grid .plan-card{min-height:unset!important}html[data-theme] .plan-admin-grid .plan-card h2{font-size:13px!important}html[data-theme] .plan-admin-grid .plan-card p,html[data-theme] .plan-admin-grid .plan-card dt,html[data-theme] .plan-admin-grid .plan-card dd,html[data-theme] .plan-admin-grid .plan-card button{font-size:12px!important}.model-admin .service-catalog,.model-admin .model-catalog,.model-admin .model-toolbar,.model-admin .model-table,.provider-counters,.observed-models,.observed-model{background:transparent!important;border-color:var(--cx-border-soft);box-shadow:none!important}.history-page{--history-blue: var(--cx-brand);--history-green: var(--cx-success);--history-red: var(--cx-danger);--history-orange: var(--cx-warning);--history-text: var(--cx-text);--history-muted: var(--cx-text-muted);--history-border: var(--cx-border);color:var(--cx-text)}.app-updates{--au-primary: var(--cx-brand);--au-primary-hover: var(--cx-brand-hover);--au-primary-light: var(--cx-brand-soft);--au-success: var(--cx-success);--au-success-light: var(--cx-success-soft);--au-warning: var(--cx-warning);--au-warning-light: var(--cx-warning-soft);--au-danger: var(--cx-danger);--au-text: var(--cx-text);--au-text-secondary: var(--cx-text-muted);--au-border: var(--cx-border);--au-border-strong: var(--cx-border);--au-surface-muted: var(--cx-surface-secondary);color:var(--cx-text)}.history-stat,.history-filters input,.history-filters select,.au-summary,.plan-admin-grid article,.service-entitlements,.service-options>label,.ticket-queue,.ticket-detail,.credit-modal,.organization-modal,.model-modal,.model-modal footer button,.service-form input,.service-form textarea,.service-api-grid select,.profile-actions button,.support-toolbar>select{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}.service-entitlements,.mode-switch,.admin-ticket-messages article,th,.users-page table thead th,.history-page table thead th,.au-table thead th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}.service-form label,.model-form label,.plan-admin-toolbar p,.plan-admin-grid p,.organization-modal>header p,.ticket-queue small,.ticket-detail header small,.ticket-detail header p,.adjust-form label{color:var(--cx-text-muted)}.service-options>label.selected,.ticket-queue>button.active,.users-tabs button.active,.user-detail-tabs button.active{background:var(--cx-brand-soft);color:var(--cx-brand-hover);border-color:color-mix(in srgb,var(--cx-brand) 34%,var(--cx-border))}[data-theme=dark] .content,[data-theme=dark] .users-page,[data-theme=dark] .user-detail,[data-theme=dark] .history-page,[data-theme=dark] .app-updates,[data-theme=dark] .profile-repository-page,[data-theme=dark] .sales-admin,[data-theme=dark] .dashboard{color:var(--cx-text)}[data-theme=dark] .history-stat,[data-theme=dark] .history-modal,[data-theme=dark] .history-card,[data-theme=dark] .history-panel,[data-theme=dark] .au-summary,[data-theme=dark] .au-drawer,[data-theme=dark] .au-table,[data-theme=dark] .au-card,[data-theme=dark] .users-tabs,[data-theme=dark] .user-card,[data-theme=dark] .user-panel,[data-theme=dark] .user-detail,[data-theme=dark] .plan-admin-grid article,[data-theme=dark] .credit-modal,[data-theme=dark] .organization-modal,[data-theme=dark] .model-modal,[data-theme=dark] .ticket-queue,[data-theme=dark] .ticket-detail,[data-theme=dark] .capacity-distribution-card,[data-theme=dark] .profile-capacity-panel .profile-empty,[data-theme=dark] .profile-stat-card,[data-theme=dark] .profile-repository-panel,[data-theme=dark] .profile-drawer,[data-theme=dark] .profile-modal,[data-theme=dark] .release-card,[data-theme=dark] .updates-panel,[data-theme=dark] .sales-card{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text);box-shadow:none}[data-theme=dark] .history-skeleton{background:linear-gradient(90deg,var(--cx-surface-secondary),var(--cx-surface-tertiary),var(--cx-surface-secondary))}[data-theme=dark] .metric.blue .metric-icon,[data-theme=dark] .metric.green .metric-icon,[data-theme=dark] .metric.purple .metric-icon,[data-theme=dark] .metric.orange .metric-icon,[data-theme=dark] .flow>div>svg,[data-theme=dark] .credit-action{background:var(--cx-brand-soft);color:var(--cx-brand);border-color:var(--cx-border)}[data-theme=dark] .admin-ticket-messages article{background:var(--cx-surface-secondary);color:var(--cx-text)}[data-theme=dark] .admin-ticket-messages article.admin{background:var(--cx-brand-soft)}[data-theme=dark] .service-options>label.selected,[data-theme=dark] .ticket-queue>button.active{background:var(--cx-brand-soft)}[data-theme=dark] .service-api-editor,[data-theme=dark] .agent-api-policy,[data-theme=dark] .service-mode-summary,[data-theme=dark] .service-flags>label{background:var(--cx-surface-secondary);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .service-mode-summary b,[data-theme=dark] .service-api-editor>header b,[data-theme=dark] .service-form label{color:var(--cx-text)}[data-theme=dark] .model-modal footer button,[data-theme=dark] .observed-ignore,[data-theme=dark] .profile-actions button,[data-theme=dark] .service-tools button,[data-theme=dark] .organization-modal>header button,[data-theme=dark] .credit-modal-head button{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text-secondary)}.sales-admin,.dashboard,.support-admin,.plan-admin,.credit-package-grid,.org-admin-stats{--line: var(--cx-border);--muted: var(--cx-text-muted);--surface: var(--cx-surface)}.login-page{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--cx-brand) 16%,transparent) 0,transparent 38%),var(--cx-bg)}.login-card,.table-card,.search,.metrics article,.finance article,.org-admin-stats>span,.org-admin-members,.plan-admin-grid article,.credit-modal,.organization-modal{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .shell header,[data-theme=dark] .content,[data-theme=dark] .dashboard,[data-theme=dark] .users-page,[data-theme=dark] .user-detail,[data-theme=dark] .history-page,[data-theme=dark] .app-updates,[data-theme=dark] .profile-repository-page,[data-theme=dark] .profile-repository-content,[data-theme=dark] .sales-admin,[data-theme=dark] .support-admin,[data-theme=dark] .centrix-agent-admin,[data-theme=dark] .model-admin,[data-theme=dark] .service-admin-grid{color:var(--cx-text);background-color:transparent}[data-theme=dark] .panel,[data-theme=dark] .table-card,[data-theme=dark] .search,[data-theme=dark] .metrics article,[data-theme=dark] .finance article,[data-theme=dark] .org-admin-stats>span,[data-theme=dark] .org-admin-members,[data-theme=dark] .plan-admin-grid article,[data-theme=dark] .plan-card,[data-theme=dark] .service-entitlements,[data-theme=dark] .service-options>label,[data-theme=dark] .credit-package-grid article,[data-theme=dark] .au-summary,[data-theme=dark] .au-release-card,[data-theme=dark] .au-drawer,[data-theme=dark] .au-table,[data-theme=dark] .history-stat,[data-theme=dark] .history-panel,[data-theme=dark] .history-modal,[data-theme=dark] .ticket-queue,[data-theme=dark] .ticket-detail,[data-theme=dark] .service-catalog,[data-theme=dark] .service-editor,[data-theme=dark] .model-catalog,[data-theme=dark] .model-modal,[data-theme=dark] .catalog-menus,[data-theme=dark] .profile-stat-card,[data-theme=dark] .profile-repository-panel,[data-theme=dark] .profile-inventory-card,[data-theme=dark] .profile-assignment-card,[data-theme=dark] .profile-drawer,[data-theme=dark] .profile-modal{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text);box-shadow:none}[data-theme=dark] .dashboard .panel,[data-theme=dark] .ledger-values,[data-theme=dark] .ledger-values div,[data-theme=dark] .timeline>div,[data-theme=dark] .quick-row,[data-theme=dark] .org-admin-members>div{border-color:var(--cx-border-soft)}[data-theme=dark] .history-table th,[data-theme=dark] .history-transaction-table th,[data-theme=dark] .users-table th,[data-theme=dark] .recent-logins th,[data-theme=dark] .au-table th,[data-theme=dark] .model-admin th,[data-theme=dark] .sales-admin th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}[data-theme=dark] .history-table td,[data-theme=dark] .history-transaction-table td,[data-theme=dark] .users-table td,[data-theme=dark] .recent-logins td,[data-theme=dark] .sales-admin td,[data-theme=dark] .model-admin td{color:var(--cx-text);border-color:var(--cx-border-soft)}[data-theme=dark] .history-table tbody tr:hover,[data-theme=dark] .history-transaction-table tbody tr:hover,[data-theme=dark] .users-table tbody tr:hover,[data-theme=dark] .au-release-card:hover,[data-theme=dark] .plan-card>button:hover,[data-theme=dark] .agent-api-row:hover{background:var(--cx-surface-secondary)}[data-theme=dark] .service-list button.active,[data-theme=dark] .service-list a.active,[data-theme=dark] .catalog-menus button.active,[data-theme=dark] .ticket-queue>button.active,[data-theme=dark] .service-options>label.selected{background:var(--cx-brand-soft);color:var(--cx-brand-hover)}[data-theme=dark] .service-list button,[data-theme=dark] .service-list a,[data-theme=dark] .history-user b,[data-theme=dark] .history-action,[data-theme=dark] .plan-admin-toolbar p,[data-theme=dark] .plan-admin-grid p,[data-theme=dark] .organization-modal>header p,[data-theme=dark] .org-admin-stats small,[data-theme=dark] .org-admin-members small,[data-theme=dark] .ticket-queue small,[data-theme=dark] .ticket-queue i,[data-theme=dark] .ticket-detail header p,[data-theme=dark] .ticket-detail header small,[data-theme=dark] .agent-api-policy,[data-theme=dark] .service-mode-picker h3,[data-theme=dark] .service-mode-picker>button>b,[data-theme=dark] .service-navigation-editor>header b{color:var(--cx-text)}[data-theme=dark] .history-user small,[data-theme=dark] .history-action small,[data-theme=dark] .service-mode-picker p,[data-theme=dark] .service-mode-picker>button>small,[data-theme=dark] .agent-api-policy small{color:var(--cx-text-muted)}[data-theme=dark] .model-status.off,[data-theme=dark] .au-badge.idle,[data-theme=dark] .quota-row>div{background:var(--cx-surface-tertiary);color:var(--cx-text-muted)}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .users-search input,[data-theme=dark] .users-toolbar select,[data-theme=dark] .users-pagination select,[data-theme=dark] .history-search input,[data-theme=dark] .history-filters select,[data-theme=dark] .detail-field input,[data-theme=dark] .detail-field select,[data-theme=dark] .detail-field textarea,[data-theme=dark] .ticket-detail header select,[data-theme=dark] .ticket-detail textarea,[data-theme=dark] .support-toolbar>select{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .danger,[data-theme=dark] .restore,[data-theme=dark] .users-filter,[data-theme=dark] .users-import,[data-theme=dark] .users-pagination button,[data-theme=dark] .users-row-actions>button,[data-theme=dark] .users-more>button{background:var(--cx-surface);border-color:var(--cx-border)}[data-theme=dark] .danger{color:var(--cx-danger)}[data-theme=dark] .restore{color:var(--cx-success)}.shell{grid-template-columns:248px minmax(0,1fr)}.shell aside{display:flex;flex-direction:column;min-height:0;padding:12px 10px 10px;border-right:1px solid var(--cx-border-soft);background:var(--cx-surface)}.brand{display:flex;align-items:center;gap:10px;padding:6px 8px 12px}.brand>div{min-width:0;flex:1}.nav-collapse{width:32px;height:32px;flex:none;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);cursor:pointer}.nav-collapse:hover{color:var(--cx-brand-hover);border-color:color-mix(in srgb,var(--cx-brand) 40%,var(--cx-border))}.nav-collapse svg{width:16px;height:16px}.shell aside nav{display:flex;flex-direction:column;gap:14px;min-height:0;flex:1;padding:0 2px 8px;overflow:auto;scrollbar-width:thin}.shell aside nav::-webkit-scrollbar{width:8px;display:block}.shell aside nav::-webkit-scrollbar-thumb{background:var(--cx-border);border-radius:99px}.nav-group{display:grid;gap:2px}.nav-group h2{margin:0 10px 4px;color:var(--cx-text-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.shell aside nav a{min-height:36px;padding:7px 10px}.shell aside nav a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell>main>header.is-compact{min-height:56px}.admin-header-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;text-align:left}.admin-breadcrumb{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px 8px;margin:0 0 4px;padding:0;color:var(--cx-text-muted);font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-breadcrumb em{font-style:normal;color:var(--cx-border)}.admin-breadcrumb b{color:var(--cx-text-secondary);font-weight:650}.admin-user-chip{display:flex;align-items:center;gap:8px;max-width:220px;padding:4px 10px 4px 4px;border:1px solid var(--cx-border-soft);border-radius:999px;background:var(--cx-surface)}.admin-user-chip>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--cx-brand-soft);color:var(--cx-brand-hover);font-size:12px;font-weight:700}.admin-user-chip div{min-width:0}.admin-user-chip b,.admin-user-chip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-chip b{font-size:12px}.admin-user-chip small{color:var(--cx-text-muted);font-size:10px}.admin-logout{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--cx-border);border-radius:10px;background:var(--cx-surface-secondary);color:var(--cx-text-muted);cursor:pointer}.admin-logout:hover{color:var(--cx-danger);border-color:color-mix(in srgb,var(--cx-danger) 35%,var(--cx-border))}.admin-logout svg{width:16px;height:16px}.shell.is-collapsed{grid-template-columns:76px minmax(0,1fr)}.shell.is-collapsed .brand>div,.shell.is-collapsed .nav-group h2,.shell.is-collapsed aside nav a span{display:none}.shell.is-collapsed .brand{justify-content:center;padding:6px 0 12px}.shell.is-collapsed .nav-collapse{margin:0 auto}.shell.is-collapsed aside nav a{justify-content:center;padding:8px}@media(max-width:900px){.shell,.shell.is-collapsed{grid-template-columns:76px minmax(0,1fr)}.brand>div,.nav-group h2,.shell aside nav a span,.admin-user-chip div{display:none}.shell aside nav a,.brand{justify-content:center}.admin-user-chip{padding:4px}}.shell>main>.content,.shell main .content{min-width:0}.shell>main>header{display:flex;align-items:center;justify-content:space-between;height:auto;min-height:64px;gap:16px;padding:10px 24px}.shell>main>header .admin-header-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left}.shell>main>header .admin-breadcrumb,.shell main header nav.admin-breadcrumb{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px 8px;flex:none;width:auto;max-width:100%;margin:0 0 4px;padding:0;overflow:hidden;text-align:left;white-space:nowrap}.shell>main>header .admin-breadcrumb span,.shell>main>header .admin-breadcrumb em,.shell>main>header .admin-breadcrumb b{display:inline;flex:none}.shell>main>header .header-actions{flex:none;margin-left:auto}.model-admin .model-toolbar,.model-admin .model-table,.model-admin .model-table table,.model-admin .observed-models,.model-admin .provider-counters{max-width:none;width:100%}.model-admin .model-table table{table-layout:auto}.model-admin .model-table .model-col-price{text-align:right}.model-admin .model-table .model-col-toggle,.model-admin .model-table .model-col-default,.model-admin .model-table .model-col-action{text-align:center;width:1%;white-space:nowrap}.model-price-grid{display:flex!important;flex-wrap:wrap;gap:4px 12px;justify-content:flex-end;align-items:center}.model-sale-badge{background:var(--cx-success-soft);color:var(--cx-success)}.model-promo-preview,.model-reference-price{border-color:var(--cx-border);background:var(--cx-surface-secondary);color:var(--cx-text)}.model-promo-preview{border-color:color-mix(in srgb,var(--cx-success) 35%,var(--cx-border));background:var(--cx-success-soft);color:var(--cx-success)}.model-promo-preview.is-warning{border-color:color-mix(in srgb,var(--cx-warning, #b56800) 40%,var(--cx-border));background:var(--cx-warning-soft, color-mix(in srgb, var(--cx-warning, #b56800) 14%, var(--cx-surface)));color:var(--cx-warning, #b56800)}.service-api-editor{border-color:var(--cx-border);background:var(--cx-surface-secondary)}.shell .profile-repository-tabs{width:100%;overflow:visible;flex-wrap:wrap}[data-theme=dark] .model-admin .service-catalog,[data-theme=dark] .model-admin .model-catalog,[data-theme=dark] .service-catalog,[data-theme=dark] .service-editor,[data-theme=dark] .model-catalog,[data-theme=dark] .model-modal{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .model-admin .model-table thead th,[data-theme=dark] .model-admin th{background:var(--cx-surface-secondary);color:var(--cx-text-muted)}[data-theme=dark] .model-admin td{color:var(--cx-text);border-color:var(--cx-border-soft)}[data-theme=dark] .model-admin .model-table tbody tr:hover td{background:var(--cx-surface-secondary)}[data-theme=dark] .model-edit{background:var(--cx-surface);border-color:var(--cx-border);color:var(--cx-text)}[data-theme=dark] .agent-api-policy,[data-theme=dark] .agent-api-row.active{background:var(--cx-brand-soft);border-color:color-mix(in srgb,var(--cx-brand) 34%,var(--cx-border));color:var(--cx-text)}.service-editor fieldset.service-form{border:0;margin:0;min-inline-size:0}.service-editor .service-draft-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 22px;border-block:1px solid var(--cx-border, #444);background:var(--cx-surface)}.service-draft-bar>div{flex:1 1 260px}.service-draft-bar strong,.service-draft-bar small{display:block}.service-draft-bar small{margin-top:5px;opacity:.75;line-height:1.5}.service-editor .service-draft-bar button{border:1px solid var(--cx-border, #444);border-radius:9px;padding:10px 17px;color:inherit;background:transparent;cursor:pointer}.service-editor .service-draft-bar .save-service{background:#269cff;color:#fff;border-color:#269cff;font-weight:800}.service-draft-bar button:disabled{opacity:.5;cursor:default}
