
:root{--bg:#f5f6fa;--ink:#202939;--muted:#8290a4;--line:#e9edf3;--purple:#6355e8;--green:#2b9b7a;--orange:#b78228;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,select{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b4adff;outline-offset:3px}a{text-decoration:none;color:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100vh;display:flex}.sidebar{width:228px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 18px 18px;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 10px;font-size:20px;font-weight:700;letter-spacing:1px}.brand-symbol{background:var(--purple);color:white;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:24px;font-weight:800;letter-spacing:-3px;padding-right:3px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;color:#9aa3b1;font-weight:400;margin-top:4px}.workspace-label{display:flex;align-items:center;gap:8px;padding:13px 12px;background:#f8f9fc;border:1px solid var(--line);border-radius:9px;margin:29px 0 21px;font-size:12px}.online-dot{width:6px;height:6px;background:#68b79b;border-radius:50%;display:inline-block}.workspace-tag{margin-left:auto;font-size:10px;border:1px solid #e1e6ef;border-radius:4px;padding:2px 5px;color:#8390a0}.nav-section{font-size:10px;letter-spacing:1.5px;color:#a1a9b8;margin:22px 13px 8px}.nav-link{display:flex;align-items:center;gap:12px;border-radius:8px;padding:12px 14px;margin:3px 0;font-size:13px;color:#69758a}.nav-link:hover{background:#f5f5fc}.nav-link.active{color:var(--purple);background:#eeecfd;font-weight:600}.nav-icon{font-size:18px;width:19px;text-align:center;line-height:1}.nav-count{margin-left:auto;background:#e4e0fc;border-radius:5px;padding:2px 5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.environment{font-size:11px;display:flex;gap:7px;align-items:center}.sidebar-bottom p{font-size:10px;color:#9ba4b3;margin:8px 0}.reset-btn{background:none;padding:3px 0;color:#8a85b6;font-size:11px}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:19px;margin-top:19px;font-size:12px}.profile small{display:block;color:#9aa4b4;font-size:10px;margin-top:5px}.avatar{display:inline-grid;place-items:center;background:#edeafb;color:#7766bc;border:1px solid #e1ddf8;border-radius:50%;width:33px;height:33px;font-size:12px}.avatar.small{width:29px;height:29px}.main-shell{margin-left:228px;width:calc(100% - 228px)}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb{color:#9ca6b5;font-size:12px}.breadcrumb span{margin:0 12px;color:#c2c9d3}.breadcrumb strong{color:#536078;font-weight:500}.topbar-right{display:flex;gap:20px;align-items:center}.date{font-size:11px;color:#8c98a9}.demo-pill{background:#f2f0ff;color:#8172d9;font-size:9px;font-weight:700;letter-spacing:1px;padding:4px 7px;border-radius:4px}.icon-btn{background:none;color:#8b94a5;font-size:22px}#mobile-menu{display:none}main{padding:30px 34px 42px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:2px;color:#9aa4b6;margin-bottom:8px}.page-heading h1{font-size:25px;font-weight:650;margin:0;letter-spacing:-.5px}.page-heading p{font-size:12px;color:#8a96a8;margin:10px 0 0;line-height:1.7}.heading-actions{display:flex;gap:10px;align-items:center}.btn{padding:10px 15px;border-radius:7px;background:#fff;border:1px solid #e1e6ee;color:#637088;font-size:12px;display:inline-flex;align-items:center;gap:7px}.btn:hover{border-color:#b1a8ed}.btn.primary{background:var(--purple);color:#fff;border-color:var(--purple)}.btn.danger{color:#be5a65}.note{display:flex;gap:10px;align-items:center;border:1px solid #e2dff6;background:#f0eefb;color:#8073b1;font-size:11px;padding:11px 15px;border-radius:8px;margin-bottom:23px;line-height:1.7}.note strong{font-weight:500}.note span:last-child{margin-left:auto;white-space:nowrap;color:#9b91bf}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 20px}.metric-top{display:flex;justify-content:space-between;align-items:center;color:#8b97a8;font-size:12px}.metric-icon{padding:7px;border-radius:8px;background:#f1effd;color:#8579dd;font-size:16px}.metric-value{font-size:28px;letter-spacing:-.8px;margin:12px 0 9px;font-weight:650;line-height:1}.metric-value small{font-size:12px;color:#8f9aab;margin-left:5px;font-weight:400;letter-spacing:0}.metric-bottom{color:#9ba4b1;font-size:10px}.metric-bottom b{font-weight:500;color:var(--green);margin-right:6px}.grid-main{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:20px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 0}.card-head h2{font-size:14px;margin:0;font-weight:600}.card-head p{font-size:10px;color:#99a2b1;margin:7px 0}.subtle{font-size:11px;color:#a0a8b6}.card-body{padding:20px 23px}.legend{display:flex;gap:17px;font-size:10px;color:#8b96a6}.legend i{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:5px}.chart{position:relative;height:205px;margin:22px 20px 0 34px}.chart svg{width:100%;height:180px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;font-size:9px;color:#9da8b8;margin:10px 0}.chart-y{position:absolute;left:-31px;top:0;height:180px;display:flex;flex-direction:column;justify-content:space-between;color:#a4aebc;font-size:9px}.chart-summary{display:flex;padding:19px 24px;border-top:1px solid var(--line);gap:30px;margin-top:20px;font-size:10px;color:#98a2b2}.chart-summary strong{display:block;font-size:16px;color:#4a566d;margin-top:7px;font-weight:600}.todo{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #f0f2f6}.todo:last-child{border-bottom:0}.todo-icon{background:#fef5e6;color:#c8984c;width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.todo:nth-child(2) .todo-icon{background:#eeeffd;color:#8777cc}.todo:nth-child(3) .todo-icon{background:#eaf5f1;color:#5b9c88}.todo-text{flex:1;font-size:12px}.todo-text small{display:block;font-size:10px;color:#99a3b3;margin-top:6px}.todo-num{font-size:18px;font-weight:600;color:#555f73}.text-link{background:none;color:var(--purple);padding:4px 0;font-size:11px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.product-card{padding:20px 21px}.product-title{display:flex;gap:11px;align-items:center}.product-logo{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#eeeaff;color:#8572e3;font-size:18px}.product-title strong{font-size:13px}.product-title small{display:block;color:#98a3b4;margin-top:5px;font-size:10px}.status{font-size:10px;border-radius:5px;display:inline-flex;align-items:center;padding:4px 7px;background:#edf7f2;color:#529a7f;white-space:nowrap}.status.warn{background:#fff5e5;color:#b68e42}.status.gray{background:#f0f2f6;color:#8d98aa}.status.purple{background:#f0edfc;color:#8a77c1}.product-title .status{margin-left:auto}.product-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:#9aa4b3}.product-stats b{display:block;color:#4b576e;font-size:16px;margin-top:7px;font-weight:600}.section-title{display:flex;justify-content:space-between;align-items:center;margin:27px 0 13px}.section-title h2{font-size:14px;font-weight:600;margin:0}.toolbar{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search{position:relative}.search input{padding:9px 12px 9px 31px;border:1px solid #e2e7ef;border-radius:6px;width:230px;background:#fff;font-size:12px;outline:none}.search input:focus{border-color:#b1a8ed}.search span{position:absolute;left:11px;top:10px;color:#a4adba}.toolbar select{padding:8px 28px 8px 11px;border:1px solid #e2e7ef;border-radius:6px;background:white;color:#748198;font-size:12px}.toolbar .count{margin-left:auto;font-size:11px;color:#9aa5b5}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:12px}th{padding:13px 20px;color:#939db0;background:#fafbfe;font-size:10px;font-weight:500;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #eff2f7;color:#64728a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcff}.cell-main{color:#36435c;font-weight:500}.cell-sub{font-size:10px;color:#a2acba;margin-top:5px}.table-avatar{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eeedf7;color:#9385b4;margin-right:10px}.pill{display:inline-block;padding:3px 7px;border-radius:4px;background:#f3f2fc;color:#8b80ba;font-size:10px;margin:0 3px 3px 0}.table-footer{padding:15px 22px;border-top:1px solid var(--line);font-size:10px;color:#9ba6b7;display:flex;justify-content:space-between;align-items:center}.page-num{background:#eeecfb;color:#8274cf;border-radius:5px;padding:6px 10px}.empty{padding:50px;text-align:center;color:#9aA5b8}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:22px}.resource-preview{height:150px;background:linear-gradient(140deg,#ece8df,#d2caba);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.resource-preview::before{content:"";width:65px;height:95px;border-radius:6px 6px 16px 16px;background:linear-gradient(100deg,#6a7c70,#a8b4a3);box-shadow:15px 20px 30px #4c5c5435;transform:rotate(-10deg)}.resource-preview.scene{background:linear-gradient(150deg,#d5e2e8,#929da9)}.resource-preview.scene::before{width:160px;height:100px;background:linear-gradient(45deg,#a8b5c2,#61758c);border-radius:70% 10% 0 0;transform:rotate(0)}.resource-preview.poster{background:linear-gradient(135deg,#e7dbf1,#bca5d5)}.resource-preview.poster::before{width:80px;height:100px;background:#f9f2ef;border-radius:2px;transform:rotate(7deg)}.resource-preview .preview-tag{position:absolute;bottom:12px;left:12px;color:#fff;background:#33333330;padding:4px 7px;border-radius:4px;font-size:9px}.resource-info{padding:15px}.resource-info strong{font-size:12px}.resource-info p{font-size:10px;color:#9aa4b3;margin:7px 0 12px}.resource-actions{display:flex;justify-content:space-between;align-items:center}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan-card{padding:25px}.plan-card.featured{border-color:#b7aef5}.plan-card h3{font-size:17px;margin:13px 0 8px}.plan-card p{font-size:11px;color:#99a4b3}.plan-price{font-size:30px;color:#46516a;margin:24px 0}.plan-price small{font-size:11px;color:#99a4b3}.plan-capacity{padding:14px;border-radius:7px;background:#f7f7fc;font-size:12px;line-height:2;color:#69758d}.plan-card ul{padding:0;list-style:none;font-size:11px;line-height:2.8;color:#8e99ad}.plan-card li::before{content:'✓';color:#8d7ee0;margin-right:10px}.plan-card .btn{width:100%;justify-content:center}.finance-note{font-size:11px;line-height:1.8;color:#8893a7;padding:18px 22px;background:#fafbfe;border-bottom:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:13px;padding:0;width:min(610px,calc(100% - 32px));max-height:86vh;color:var(--ink);box-shadow:0 25px 100px #29324630}dialog::backdrop{background:#20263860;backdrop-filter:blur(3px)}.modal-heading{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-heading h2{font-size:17px;margin:0}.modal-content{padding:24px 25px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-item label{font-size:10px;color:#95a0b3;display:block;margin-bottom:8px}.detail-item div{font-size:13px;color:#58657b}.modal-footer{padding:16px 25px;background:#fafbfe;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{font-size:11px;color:#7d89a0;display:block}.form-grid input,.form-grid select{display:block;margin-top:8px;width:100%;padding:10px;border:1px solid #dfe4ee;border-radius:6px;outline:none}.form-grid .full{grid-column:1/-1}.dialog-note{background:#f5f3fc;padding:12px;border-radius:6px;font-size:11px;color:#8a7ea6;line-height:1.8;margin-top:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#34324d;color:#fff;padding:13px 20px;border-radius:8px;font-size:12px;z-index:100;display:none}.activity-row{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center;font-size:12px}.activity-row small{display:block;color:#98a3b5;margin-top:5px;font-size:10px}.activity-row time{margin-left:auto;font-size:10px;color:#99a3b1}.access-card{padding:22px}.access-card ul{font-size:12px;line-height:2.5;color:#8490a5;padding-left:18px}.mini-label{font-size:10px;color:#a1aabc;letter-spacing:.7px}.danger-text{color:#b57980}#toast.show{display:block}
[hidden]{display:none!important}#login-root{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 20%,#eeebfc,transparent 55%),#f5f6fa}.login-card{background:#fff;border:1px solid #e3e5f1;border-radius:16px;box-shadow:0 20px 70px #42405b0c;padding:38px;width:min(440px,100%)}.login-card .brand{padding:0;margin-bottom:32px}.login-card h1{font-size:22px;margin:12px 0}.login-card p{font-size:12px;color:#939eb0;line-height:1.8;margin-bottom:24px}.login-card label{display:block;font-size:12px;color:#6c7890;margin:16px 0}.login-card input{display:block;width:100%;padding:12px;border:1px solid #e0e4ef;border-radius:7px;margin-top:8px;outline:none}.login-card input:focus{border-color:#a49aef}.login-card button{width:100%;justify-content:center}.login-message{font-size:11px;color:#b97785;min-height:22px}.form-grid select[multiple]{min-height:105px}.sidebar{overflow-y:auto}.finance-tabs{display:flex;gap:22px;border-bottom:1px solid #e2e5ef;margin-bottom:22px;overflow:auto}.finance-tab{padding:12px 2px;background:transparent;color:#919bb0;font-size:12px;border-bottom:2px solid transparent;white-space:nowrap}.finance-tab.selected{color:var(--purple);border-color:var(--purple)}
@media(min-width:1500px){main{padding:36px 44px}.chart{height:240px}.chart svg{height:215px}.chart-y{height:215px}}
@media(max-width:1100px){.sidebar{width:200px}.main-shell{margin-left:200px;width:calc(100% - 200px)}main{padding:25px 22px}.grid-main{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:15px}.product-grid{gap:10px}.product-card{padding:16px}.resource-grid{grid-template-columns:repeat(2,1fr)}.topbar{padding:0 22px}}
@media(max-width:760px){.sidebar{width:228px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 80px #24243a30}.main-shell{margin:0;width:100%}#mobile-menu{display:block}.topbar{height:60px;padding:0 18px}.date{display:none}.topbar-right{gap:12px}.breadcrumb{margin-right:auto;margin-left:12px}main{padding:23px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:22px}.heading-actions{width:100%}.metrics{grid-template-columns:repeat(2,1fr)}.metric-value{font-size:25px}.product-grid,.plan-grid{grid-template-columns:1fr}.product-stats{margin-top:14px}.resource-grid{grid-template-columns:1fr}.note span:last-child{display:none}.note{align-items:flex-start}.card-head{padding:18px 16px 0}.card-body{padding:15px 16px}.toolbar{padding:15px}.toolbar .search{width:100%}.search input{width:100%}.toolbar .count{margin-left:0}.chart-summary{gap:22px}.detail-grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-content{padding:20px}.topbar .demo-pill{display:none}}
.modal-footer{flex-wrap:wrap}#resource-upload-form input[type=file]{display:block;width:100%;padding:20px 0}
#permission-finance label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;width:100%;font-size:13px;line-height:1.6}
#permission-finance input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0;padding:0;accent-color:var(--purple)}

.user-page th:last-child,.user-page td:last-child{position:sticky;right:0;background:#fff;box-shadow:-4px 0 8px #28304a08}.user-page td:nth-child(2){max-width:210px;white-space:normal;overflow-wrap:anywhere}.user-page td:first-child{max-width:190px;white-space:normal}.user-page td:first-child .cell-sub{white-space:normal}
.user-page th:first-child,.user-page td:first-child{min-width:150px}.user-page th:nth-child(2),.user-page td:nth-child(2){min-width:180px}

.filter-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 22px;background:#eeecfd;color:var(--purple);border-top:1px solid #e2ddfa;font-size:12px}.filter-summary span{padding:4px 8px;background:#fff;border-radius:6px}.filter-summary .btn{margin-left:auto;font-size:12px}

.product-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 22px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:12px}.product-tabs strong{font-size:12px;color:#69758a;margin-right:6px}.product-tab{display:flex;align-items:center;gap:8px;background:#f5f6fa;color:#69758a;border:1px solid transparent;border-radius:8px;padding:10px 16px;font-weight:500}.product-tab:hover{background:#eeecfd;color:var(--purple)}.product-tab.active{background:var(--purple);color:#fff}.product-tab span{font-size:11px;background:#ffffff80;border-radius:5px;padding:2px 6px;color:#5c50ba}.product-tab.active span{background:#ffffff25;color:white}.product-tabs small{margin-left:auto;color:#8994a8;font-size:11px}@media(max-width:760px){.product-tabs{padding:12px;gap:8px}.product-tabs strong{width:100%}.product-tab{padding:9px 12px}.product-tabs small{width:100%;margin-left:0}}

.product-picker-search{display:grid;gap:8px;font-size:12px}.product-picker-search input{padding:12px;border:1px solid var(--line);border-radius:8px;width:100%}#product-picker-results{max-height:340px;overflow:auto;margin-top:16px}.product-picker-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#f6f5fc;border-radius:8px;margin:8px 0;text-align:left}.product-picker-option span{color:var(--purple);font-size:12px}
.monitor-chart{display:flex;align-items:flex-end;gap:6px;min-height:125px;overflow-x:auto}.monitor-chart>div{flex:1;min-width:22px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:#8792aa}.monitor-chart i{display:block;width:100%;background:#7565ea;border-radius:4px 4px 0 0}.monitor-chart strong{font-weight:500}
.service-accounts td:first-child{min-width:150px;max-width:190px;white-space:normal;overflow-wrap:anywhere}.service-accounts th:last-child,.service-accounts td:last-child{position:sticky;right:0;min-width:100px;background:#fff;box-shadow:-6px 0 10px #25294308}.service-accounts th:last-child{background:#f8faff}.service-accounts td:last-child .text-link{display:block;margin:5px 0}
.access-chart{gap:2px;overflow:visible;min-height:140px;padding:12px 0}.access-chart>div{min-width:0;gap:8px}.access-chart strong{font-size:11px}.access-chart small{width:42px;text-align:center;font-size:10px}.access-chart i{min-height:2px}
/* Usage log layout: scoped to the log page, preserving the console theme. */
.usage-log-page{--usage-muted:#667085;min-width:0}.usage-heading{align-items:flex-start;gap:16px;margin-bottom:16px}.usage-heading h1{font-size:25px;line-height:1.3}.usage-heading p{color:var(--usage-muted);font-size:13px;line-height:1.6;margin-top:8px}.usage-heading .btn{flex:none;min-height:38px;margin-top:20px}.usage-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--usage-muted);margin-bottom:16px;position:relative}.usage-environment{background:#eeecfd;color:#6355e8;font-weight:600;border-radius:6px;padding:5px 8px}.usage-context details{margin-left:auto}.usage-context summary{cursor:pointer;color:#6355e8}.usage-context details>div{max-width:420px;padding:12px 16px;line-height:1.8;background:#fff;border:1px solid #e1e6ee;border-radius:8px;position:absolute;right:0;top:34px;z-index:5;box-shadow:0 8px 28px #20293915}.usage-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:18px 16px 16px}.usage-field{flex:0 1 136px;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--usage-muted)}.usage-product{flex-basis:150px}.usage-search{flex:1 1 240px}.usage-field input,.usage-field select{width:100%;min-width:0;height:38px;border:1px solid #dfe4ee;border-radius:7px;background:#fff;padding:8px 10px;font-size:13px;color:#202939;outline:none}.usage-field input:focus,.usage-field select:focus{border-color:#6355e8;box-shadow:0 0 0 2px #6355e815}.usage-query{min-height:38px;justify-content:center;min-width:64px}.usage-draft-notice{flex:1 0 100%;color:#8a6520;font-size:12px}.usage-draft-notice[hidden]{display:none}.usage-results-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #e9edf3;border-bottom:1px solid #e9edf3;background:#fafbfe;font-size:12px;color:var(--usage-muted)}.usage-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.usage-active-filters strong{color:#36435c;font-weight:600}.usage-product-context{padding:4px 8px;border:1px solid #e1e6ee;border-radius:6px;background:#fff;color:#36435c}.usage-filter-chip{max-width:300px;background:#eeecfd;border:1px solid #ded9fa;border-radius:6px;padding:5px 8px;color:#5146b8;display:inline-flex;gap:8px;align-items:center;font-size:12px}.usage-filter-chip>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-result-count{white-space:nowrap;color:#475467;font-size:13px}.usage-result-count strong{font-size:16px;color:#202939}.usage-table-wrap{overflow-x:auto}.usage-table{width:100%;table-layout:fixed;min-width:1000px;white-space:normal}.usage-table th{font-size:12px;color:#667085;padding:13px 12px;font-weight:500}.usage-table td{font-size:13px;padding:16px 12px;vertical-align:top;color:#475467;overflow-wrap:anywhere}.usage-table .cell-main{color:#202939;line-height:1.5}.usage-table .cell-sub{color:#667085;font-size:12px;line-height:1.5;margin-top:5px}.usage-task-id{display:flex;gap:6px;align-items:center;min-width:0}.usage-task-id code{font:12px/1.5 ui-monospace,Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475467}.usage-copy{background:none;color:#6355e8;font-size:11px;flex:none;padding:3px}.usage-origin{display:inline-block;color:#667085;background:#f3f4f8;border-radius:4px;padding:3px 5px;font-size:10px;margin-top:6px}.usage-result-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#667085;margin-top:6px}.usage-task-status{padding:3px 6px;border-radius:5px;background:#f0f2f6;color:#667085}.usage-task-status.success{background:#eaf6ef;color:#27734f}.usage-task-status.warn{background:#fff5e4;color:#936113}.usage-task-status.danger{background:#fceeee;color:#a44148}.usage-charge,.usage-cost{font-size:13px;color:#202939;font-weight:600;line-height:1.5}.usage-table th:last-child,.usage-action-cell{position:sticky;right:0;background:#fff;box-shadow:-5px 0 9px #20293908;text-align:right;white-space:nowrap}.usage-table th:last-child{background:#fafbfe}.usage-table tbody tr:hover .usage-action-cell{background:#fcfcff}.usage-action-cell .text-link{font-size:13px;padding:4px 0;min-height:30px}.usage-pagination{padding:14px 16px;border-top:1px solid #e9edf3;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667085;font-size:12px}.usage-pagination nav{display:flex;gap:12px;align-items:center}.usage-empty{padding:40px 20px;text-align:center;color:#667085;font-size:13px}.usage-empty strong{color:#475467}.usage-empty p{line-height:1.7}.usage-copy-fallback{width:100%;padding:10px;box-sizing:border-box}.execution-settings{margin-top:24px}.execution-settings>summary{cursor:pointer;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 23px;color:#36435c;font-size:14px;list-style:disclosure-closed}.execution-settings>summary::before{content:'▸';color:#6355e8}.execution-settings[open]>summary::before{content:'▾'}.execution-settings>summary span{font-size:12px;color:#667085}.execution-settings .card-head{padding-bottom:16px}
@media(max-width:1000px){.usage-table{min-width:920px}.usage-filter-chip{max-width:240px}}
@media(max-width:760px){.usage-heading{flex-wrap:nowrap}.usage-heading h1{font-size:23px}.usage-heading .btn{margin-top:16px;padding:8px 10px;font-size:12px}.usage-context{gap:8px}.usage-context>span:nth-child(2){flex:1 1 200px;font-size:11px}.usage-context details{margin-left:0}.usage-context details>div{left:0;right:auto;max-width:100%;top:100%}.usage-toolbar{padding:16px;gap:12px}.usage-field{flex:1 1 calc(50% - 12px)}.usage-search{order:-1;flex:1 0 100%}.usage-query{flex:1 1 calc(50% - 12px)}.usage-results-bar{align-items:flex-start}.usage-result-count{width:100%}.usage-filter-chip{max-width:240px}.usage-table-wrap{overflow:visible}.usage-table{display:block;min-width:0;table-layout:auto}.usage-table colgroup,.usage-table thead{display:none}.usage-table tbody{display:grid;gap:12px;padding:12px}.usage-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;border:1px solid #e9edf3;border-radius:8px;padding:12px;min-width:0}.usage-table td{display:block;padding:6px 0;border:0;min-width:0;font-size:13px}.usage-table td::before{content:attr(data-label);display:block;color:#667085;font-size:11px;margin-bottom:5px}.usage-table td:first-child{grid-column:1/-1}.usage-table .usage-action-cell{position:static;box-shadow:none;background:none;text-align:right;align-self:end}.usage-table .usage-action-cell::before{display:none}.usage-table tbody tr:hover .usage-action-cell{background:none}.usage-task-id code{font-size:13px}.usage-copy{min-height:30px}.usage-pagination{flex-wrap:wrap}.usage-pagination nav{width:100%;justify-content:space-between}.execution-settings>summary{padding:16px}.usage-heading .eyebrow{font-size:9px;letter-spacing:1px}}
.usage-origin{font-size:12px}.usage-result-line{font-size:12px}
@media(max-width:760px){.usage-table td::before{font-size:12px}.usage-copy{min-height:36px;padding:6px;font-size:12px}.usage-action-cell .text-link{min-height:40px;padding:8px 12px;border:1px solid #e1e6ee;border-radius:6px}}
@media(max-width:760px){.usage-table tr{position:relative}.usage-table td:first-child{padding-right:72px}.usage-table .usage-action-cell{position:absolute;right:12px;top:12px;padding:0}}
@media(min-width:761px){.usage-table{min-width:760px}}
.resource-graph .card-head p{margin:6px 0 0}.graph-toolbar{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.graph-toolbar label{font-size:13px}.graph-toolbar input{display:block;min-width:280px;margin-top:8px;padding:10px;border:1px solid var(--border,#e4e8f0);border-radius:8px}.graph-scroll{overflow:auto;background:radial-gradient(#e5e4f3 1px,transparent 1px);background-size:20px 20px;border-block:1px solid #edf0f7}.graph-canvas{position:relative;width:1060px;min-width:1060px;margin:auto}.graph-column-title{position:absolute;top:14px;font-weight:600;color:#657089;width:240px}.graph-column-title span{float:right}.graph-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.graph-lines path{fill:none;stroke:#b6aef5;stroke-width:2}.graph-lines path.muted{opacity:.12}.graph-lines .graph-hit{stroke:transparent;stroke-width:14;cursor:pointer;pointer-events:stroke}.graph-hit:hover,.graph-hit:focus{stroke:#6350ed!important;stroke-width:5!important;outline:none}.graph-node{position:absolute;width:240px;height:145px;text-align:left;padding:14px;border:1px solid #d9d5f6;border-radius:12px;background:white;box-shadow:0 3px 12px #30226508;cursor:pointer;transition:opacity .15s}.graph-node strong{display:block;font-size:14px;max-height:36px;overflow:hidden;padding-right:28px;color:#263044}.graph-node small{display:block;font-size:11px;color:#7b8497;margin-top:6px}.graph-icon{position:absolute;right:12px;top:12px;color:#6a55ed;background:#f2efff;padding:5px 8px;border-radius:8px}.graph-node.dim{opacity:.3}.graph-node[aria-pressed=true]{outline:2px solid #6550ee;outline-offset:2px}.graph-node.low{border-color:#e7aa55}.graph-stock{font-size:13px;margin-top:10px;font-weight:600}.graph-progress{height:5px;border-radius:5px;background:#efedf8;margin-top:7px;overflow:hidden}.graph-progress i{display:block;background:#7158f0;height:100%}.low .graph-progress i{background:#d28c36}.graph-node-metrics{display:flex;gap:12px;margin-top:12px;font-size:11px;color:#7b8497}.graph-node-metrics b{display:block;font-size:16px;color:#2c3347;margin-top:3px}.graph-legend{padding:14px 24px;display:flex;gap:24px;font-size:12px;color:#7d8596}.graph-detail{padding:24px;border-top:1px solid #e9eaf3}.graph-detail-resource{padding:12px 0 24px;border-bottom:1px solid #edf0f7}.graph-detail h2{font-size:18px}.graph-detail h3{font-size:15px}.graph-detail .monitor-chart{margin-top:24px}.graph-node:focus-visible{outline:2px solid #6550ee}@media(max-width:760px){.graph-toolbar{align-items:stretch;flex-direction:column}.graph-toolbar input{min-width:0;width:100%}.graph-legend{flex-wrap:wrap;gap:8px}.graph-detail{padding:16px}}
.graph-line-label{font-size:11px;fill:#6151bd;text-anchor:middle;paint-order:stroke;stroke:#faf9ff;stroke-width:5px;pointer-events:none}
.graph-edge-button{position:absolute;width:180px;padding:4px 8px;border:1px solid #e0dbf8;background:#faf9ff;border-radius:6px;color:#796bb7;font-size:10px;text-align:left;cursor:pointer}.graph-edge-button.dim{opacity:.2}.graph-edge-button:hover,.graph-edge-button:focus-visible{border-color:#6550ee;color:#6550ee;outline:1px solid #6550ee}
.graph-source-switch{display:flex;gap:12px;margin:20px 0}.graph-canvas{width:900px;min-width:900px}.graph-node{width:180px;height:115px;padding:10px}.graph-node strong{font-size:12px;padding-right:20px}.graph-node small{font-size:10px;margin-top:4px;line-height:1.3}.graph-node-metrics{margin-top:8px;gap:10px}.graph-node-metrics b{font-size:14px}.graph-stock{font-size:11px;margin-top:7px}.graph-icon{font-size:11px;right:8px;top:8px;padding:3px 5px}.graph-edge-button{width:200px;font-size:10px}.graph-pagination{display:flex;justify-content:flex-end;gap:8px;align-items:center;padding:10px 24px;font-size:12px;color:#7c8597}.graph-column-title{width:180px}
.balance-refresh-state{display:grid;gap:6px;padding:14px 16px;margin:12px 0;border-radius:10px;background:#fff8ea;border:1px solid #eadcb7;font-size:13px}.balance-refresh-state small{color:#7d8596}.balance-refresh-state.ok{background:#edf8f3;border-color:#c6e4d5}.balance-node-state{color:#a87929!important}.graph-resource{height:123px}

/* Keep compact resource text within its node; complete context is in details. */
.graph-resource{height:140px;box-sizing:border-box;overflow:hidden}.graph-resource strong{white-space:nowrap;text-overflow:ellipsis;line-height:17px}.graph-resource small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:13px}.graph-resource .graph-stock{line-height:15px;overflow-wrap:anywhere;margin-top:6px}.graph-resource .balance-node-state{margin-top:4px}

.user-detail{font-size:14px}.user-detail-note{color:#8791a5;font-size:12px;margin:0 0 12px}.user-detail-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.user-profile-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.user-profile-summary>strong{font-size:20px}.user-profile-summary>span{font-size:12px;color:#8791a5}.user-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;background:#f7f7fc;border-radius:12px;margin-top:16px}.user-balance-card{border:1px solid #e7e8f2;border-radius:12px;padding:16px;margin-bottom:12px;overflow-wrap:anywhere}.user-balance-card>strong,.user-balance-card>span{display:block}.user-balance-card>span{font-size:12px;color:#8791a5;margin-top:6px}.user-balance-card .user-balance-card{border:0;padding:12px 0 0;margin:0}.user-balance-number{font-size:24px;font-weight:600;margin:10px 0}.user-balance-number small{font-size:12px;font-weight:400;color:#8791a5}.user-history{border-top:1px solid #ececf4;padding:12px 0;margin-top:16px}.user-history>summary{cursor:pointer;color:#7162ce;font-size:13px}.user-detail [hidden]{display:none!important}.user-detail .table-wrap{max-width:100%}.user-detail .detail-item{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.user-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.user-detail .detail-grid{grid-template-columns:1fr}}

.order-id{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-test-tag{display:inline-block;padding:2px 6px;margin-left:6px;border-radius:4px;background:#f1effc;color:#8171c4;font-size:11px}.order-list-row .order-amount{font-size:18px;font-weight:650;white-space:nowrap;color:#273044;font-variant-numeric:tabular-nums}.order-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.order-actions .order-action{padding:7px 11px;font-size:12px}.order-list-row td{padding-top:16px;padding-bottom:16px}

.conversion-funnel{display:grid;gap:16px;margin:20px 0}.conversion-funnel strong{display:block;font-size:15px}.conversion-funnel i{display:block;height:18px;background:#7562ec;border-radius:5px;margin-top:8px}.conversion-funnel>div{background:#faf9ff;padding:12px;border-radius:8px}

.conversion-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end}.conversion-filters label{display:grid;gap:6px;font-size:13px}.conversion-filters select,.conversion-filters input{border:1px solid #e4e7f0;border-radius:8px;padding:10px;background:white}.conversion-filters p{flex-basis:100%;margin:4px 0 0}

.margin-flow{display:grid;gap:16px;margin-top:20px}.margin-flow-row{display:grid;grid-template-columns:1fr 30px 1fr 30px 1fr;gap:10px;align-items:center}.margin-node{min-width:0;text-align:left;padding:16px;border:1px solid #e4e1f4;background:#faf9ff;border-radius:12px;overflow-wrap:anywhere}.margin-node strong,.margin-node span,.margin-node small{display:block;margin-top:6px}.margin-node strong{font-size:16px;color:#273044}.margin-node span,.margin-node small{font-size:12px;color:#7b8497}.margin-node.selected{border-color:#6855e8;box-shadow:0 0 0 2px #e7e2ff}.margin-arrow{text-align:center;color:#8171da;font-size:24px}.margin-trend{display:grid;gap:14px}.margin-trend i{display:block;height:10px;min-width:0;border-radius:4px;margin:5px 0}.margin-trend .income{background:#7562ec}.margin-trend .cost{background:#df9d4b}.margin-trend small{color:#8791a5}@media(max-width:700px){.margin-flow-row{grid-template-columns:1fr}.margin-arrow{transform:rotate(90deg)}}

.work-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.work-gallery figure{margin:0}.work-gallery img{display:block;width:100%;height:200px;object-fit:contain;background:#f4f3fa;border-radius:10px}.work-gallery figcaption{font-size:12px;color:#8791a5;margin-top:8px}.work-timeline{border-left:2px solid #e6e1fb;padding-left:18px}.work-timeline article{padding:16px 0;border-bottom:1px solid #ecebf3}.work-timeline p{font-size:13px;overflow-wrap:anywhere}.work-timeline summary{font-size:13px;color:#7162ce;cursor:pointer;margin:10px 0}

.journey-paths{display:grid;gap:16px;margin-top:16px}.journey-path{display:flex;gap:20px;align-items:center;padding:16px;background:#f8f7ff;border-radius:12px;flex-wrap:wrap}.journey-path strong{padding:10px 20px;background:white;border:1px solid #e4e0f7;border-radius:8px}.journey-path span{color:#8171da}
/* General pricing configuration, consistent with the existing card/dialog style. */
.billing-model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.billing-component{border:1px solid var(--border,#e8eaf2);border-radius:14px;padding:18px;margin:16px 0;min-width:0}.billing-component legend{font-weight:600;padding:0 8px}.billing-component textarea{width:100%;box-sizing:border-box}.billing-tiers{grid-column:1/-1}.billing-advanced{margin:20px 0;border-top:1px solid #e8eaf2;padding-top:16px}.billing-advanced summary{cursor:pointer;font-weight:600;margin-bottom:16px}.billing-component [hidden]{display:none!important}.billing-advanced .form-grid{margin-top:16px}.tabbar{display:flex;gap:8px;margin-bottom:20px}.tabbar .tab{padding:12px 20px;border:1px solid #e8eaf2;border-radius:10px;background:white;color:#657089;cursor:pointer}.tabbar .tab.active{background:#6251ec;color:white}.billing-component .form-grid{align-items:start}@media(max-width:640px){.billing-model-grid{grid-template-columns:1fr}.billing-component{padding:12px}.billing-tiers{grid-column:auto}}
