:root{--ink:#152f39;--muted:#75858b;--line:#e2e9e9;--paper:#f5f8f8;--teal:#087f73;--lime:#bfdf73;--navy:#102f39;--radius:16px}*{box-sizing:border-box}body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:var(--paper);color:var(--ink);font-size:14px}button,input,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #73b7df;outline-offset:3px}a{color:inherit;text-decoration:none}.app{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}aside{background:linear-gradient(160deg,#143944,#0a232d);color:white;padding:32px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700;padding:0 10px 45px;letter-spacing:-.4px}.brand small{display:block;font-size:12px;font-weight:400;color:#9eb5ba;letter-spacing:1px;margin-top:6px}.brandmark{width:42px;height:44px;border-radius:13px;background:var(--lime);color:#143944;display:grid;place-content:center;font-size:27px;position:relative}.brandmark span{position:absolute;right:5px;bottom:5px}.nav-label,.smallcaps{font-size:12px;letter-spacing:1.5px;color:#88a3aa}.nav-label{padding:0 14px 13px}nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:14px;padding:15px 17px;border-radius:9px;color:#adc4c8}.nav-item:hover{background:#ffffff0a;color:white}.nav-item.active{background:#ffffff12;color:white;box-shadow:inset 3px 0 var(--lime)}.nav-item.active svg{color:var(--lime)}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;border:1px solid #ffffff16;border-radius:12px;padding:16px;display:grid;gap:10px;background:#ffffff05}.sidebar-bottom strong{font-size:14px}.sidebar-bottom .muted{font-size:12px;color:#9ab1b8}.sidebar-foot{border-top:1px solid #ffffff14;padding-top:13px;margin-top:4px;color:#c8dab8;font-size:12px;display:flex;justify-content:space-between}.sidebar-foot span{color:#8ca3aa}main{min-width:0}header{height:80px;padding:0 36px;border-bottom:1px solid var(--line);background:#ffffffbf;display:flex;justify-content:space-between;align-items:center}.breadcrumb{display:flex;gap:15px;align-items:center;color:var(--muted)}.breadcrumb b{font-weight:500;color:var(--ink)}.breadcrumb span{color:#bdc8cb}.header-right{display:flex;gap:12px;align-items:center;font-size:13px}.demo{font-size:12px;padding:5px 10px;background:#eef4e3;color:#607a30;border-radius:5px;margin-right:12px}.avatar{width:32px;height:32px;background:#e5efed;display:grid;place-items:center;color:var(--teal);font-size:11px;font-weight:700;border-radius:50%}#menu{display:none}.content{padding:30px 36px 20px;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--teal);font-weight:700}h1{font-size:28px;letter-spacing:-.7px;margin:9px 0}p{color:var(--muted);line-height:1.65;margin:0}button.primary{background:var(--teal);color:white;border:1px solid var(--teal);padding:11px 17px;border-radius:8px;box-shadow:0 3px 6px #087f7312;white-space:nowrap}button.primary:hover{background:#07685f}.secondary{padding:9px 14px;background:white;border:1px solid var(--line);border-radius:7px;color:var(--ink)}.secondary:hover{background:#f1f6f5}.filters{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;color:var(--muted)}.filters>div{display:flex;gap:10px;align-items:center}.filters label{margin-right:5px}.filters>span{font-size:12px}select,input{background:#fff;border:1px solid #dbe4e5;padding:10px 12px;border-radius:7px;color:var(--ink);min-width:0}.hero{border-radius:var(--radius);padding:25px 28px;background:linear-gradient(108deg,#123e46,#0d605a);color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:280px;height:280px;border:1px solid #c1df7330;border-radius:50%;right:140px;top:-160px;box-shadow:0 0 0 44px #c1df7307,0 0 0 88px #c1df7305;pointer-events:none}.hero .eyebrow{color:#c9e895}.hero h2{font-size:23px;margin:10px 0}.hero p{color:#b7d2d1;font-size:14px;max-width:610px}.hero-summary{min-width:200px;border-left:1px solid #ffffff20;padding-left:28px;z-index:1}.hero-summary strong{font-size:36px;font-weight:600;display:block;margin:7px 0;letter-spacing:-1px}.hero-summary small{color:#c4ded8}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.chips span{background:#ffffff0d;border:1px solid #ffffff23;border-radius:5px;padding:5px 9px;font-size:12px;color:#e3efec}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.kpi{padding:21px}.kpi-head{display:flex;justify-content:space-between;align-items:center;color:#657c83}.kpi-head .icon{color:#5a8f88}.kpi-value{font-size:31px;letter-spacing:-1px;font-weight:650;margin:16px 0 10px;font-variant-numeric:tabular-nums}.kpi-foot{font-size:12px;color:var(--muted)}.up{color:var(--teal);font-weight:500}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:20px;margin-bottom:22px}.panel{padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.panel-head h2{font-size:16px;font-weight:650;margin:0 0 6px}.panel-head p{font-size:12px}.legend{display:flex;gap:15px;font-size:12px;color:var(--muted)}.legend span:before{content:"";display:inline-block;width:8px;height:8px;background:var(--teal);margin-right:6px;border-radius:50%}.legend span:last-child:before{background:var(--lime)}.chart{width:100%;height:230px;display:block;overflow:visible}.chart text{font-family:inherit;font-size:12px;fill:#839398}.activity{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f1}.activity:last-child{border:0}.activity-icon{font-size:12px;background:#edf5f1;color:var(--teal);border-radius:8px;width:32px;height:32px;flex-shrink:0;display:grid;place-items:center}.activity strong{display:block;font-size:13px;font-weight:500}.activity small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.5}.activity time{font-size:11px;color:#9aa7ab;white-space:nowrap;margin-left:auto;padding-top:3px}.text-button{border:0;padding:5px 0;color:var(--teal);background:none;font-size:13px}.table-card{overflow:hidden}.table-title{padding:22px 22px 12px;display:flex;justify-content:space-between;gap:12px;align-items:center}.table-title h2{font-size:16px;margin:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f9fbfb;color:#819197;font-size:12px;font-weight:500;padding:14px 20px;border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #edf1f2;font-size:13px}tbody tr:last-child td{border:0}tbody tr:hover{background:#fbfdfc}.customer{display:flex;gap:10px;align-items:center}.logo{width:34px;height:34px;display:grid;place-items:center;background:#e6f2ee;color:#19786f;border-radius:9px;font-weight:700;font-size:12px}.customer strong{display:block;font-weight:600}.customer small,.sub{display:block;color:var(--muted);font-size:11px;margin-top:4px}.badge{padding:5px 8px;border-radius:5px;font-size:12px;display:inline-block;background:#eaf5ef;color:#217660}.badge.test{background:#eef1fa;color:#6074a1}.badge.warning{background:#fff5df;color:#a07929}.badge.paused{background:#f2f3f3;color:#8a9598}.quota{width:130px}.quota>div{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:6px}.meter{height:4px;background:#eaf0ef;border-radius:4px;overflow:hidden}.meter i{display:block;height:100%;background:var(--teal);border-radius:4px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.toolbar input{width:270px}.toolbar>div{display:flex;gap:8px;align-items:center}.empty{padding:50px 20px;text-align:center;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.product{padding:24px}.product-top{display:flex;justify-content:space-between;align-items:center}.product-symbol{width:46px;height:46px;border-radius:13px;background:#e7f2ef;color:var(--teal);display:grid;place-items:center;font-weight:750;font-size:17px}.product h2{font-size:19px;margin:20px 0 8px}.product p{font-size:13px;min-height:44px}.product-info{border-top:1px solid var(--line);margin-top:22px;padding-top:15px;display:flex;justify-content:space-between}.product-info small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.product-info strong{font-size:15px;font-weight:600}.notice{font-size:12px;color:var(--muted);padding:15px 0;line-height:1.8}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.metric-grid>div{background:#f6f9f8;padding:18px;border-radius:9px}.metric-grid small{display:block;color:var(--muted);font-size:12px}.metric-grid strong{display:block;margin-top:10px;font-size:24px;font-weight:600}.bar-row{display:grid;grid-template-columns:100px 1fr 65px;align-items:center;gap:12px;padding:15px 0;font-size:13px}.bar-row .meter{height:8px}.bar-row strong{text-align:right;font-size:13px}.billing-info{background:#edf5f2;border:1px solid #dcebe4;padding:14px 18px;border-radius:10px;margin-bottom:20px;color:#55736a;font-size:13px}footer{display:flex;justify-content:space-between;gap:15px;color:#94a1a5;font-size:11px;padding-top:25px;margin-top:6px;border-top:1px solid var(--line)}dialog{border:0;border-radius:18px;padding:28px;width:620px;max-width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #0b283a30}dialog::backdrop{background:#0a242c70;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:23px}.dialog-head h2{margin:8px 0 0;font-size:23px}.icon-button{border:0;background:none;font-size:26px;color:var(--muted);align-self:flex-start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{display:grid;gap:8px;font-size:13px}.full{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.check-row{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:9px;margin-bottom:10px}.check-row input{accent-color:var(--teal);width:18px;height:18px}.check-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-grid>div{background:#f5f8f8;padding:16px;border-radius:10px}.detail-grid small{color:var(--muted);display:block;margin-bottom:8px}.detail-grid strong{font-size:17px;overflow-wrap:anywhere}.error{color:#bc453f;font-size:13px;margin-top:14px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:#153d42;color:white;padding:13px 22px;border-radius:9px;box-shadow:0 8px 30px #123b4430;opacity:0;pointer-events:none;transition:.2s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1600px){.content{padding-top:38px}.hero{padding:32px}.chart{height:270px}.kpi{padding:25px}}@media(max-width:1150px){.app{grid-template-columns:200px minmax(0,1fr)}.content{padding:25px 22px}.brand{font-size:16px;padding-left:0}.kpi-value{font-size:26px}.kpi{padding:17px}.dashboard-grid{grid-template-columns:1fr}.activity{padding:12px 0}.product-grid{grid-template-columns:1fr}.product p{min-height:0}}@media(max-width:760px){.app{display:block}aside{position:fixed;width:232px;z-index:10;left:-240px;transition:.2s;height:100dvh}aside.open{left:0;box-shadow:0 0 0 100vmax #0c253f55}header{height:65px;padding:0 18px}.header-right>span:last-child{display:none}.demo{margin:0}#menu{display:block;border:0;background:none;font-size:18px;color:var(--ink);padding:4px}.content{padding:24px 16px}.page-heading{align-items:flex-start}.page-heading p{font-size:13px}h1{font-size:25px}.eyebrow{font-size:10px}.page-heading .primary{font-size:12px;padding:10px}.filters{align-items:flex-start;flex-direction:column}.filters>div{gap:7px;width:100%;flex-wrap:wrap}.filters label{font-size:12px}.filters select{font-size:12px;padding:9px}.kpis{grid-template-columns:1fr 1fr;gap:12px}.kpi-value{font-size:25px}.kpi-head{font-size:12px}.hero{display:block;padding:23px}.hero-summary{border-left:0;border-top:1px solid #ffffff20;padding:18px 0 0;margin-top:18px}.hero-summary strong{font-size:32px}.hero h2{font-size:21px}.hero p{font-size:13px}.toolbar{align-items:stretch;flex-direction:column}.toolbar input{width:100%}.toolbar>div{flex-wrap:wrap}.panel{padding:18px}.legend{font-size:11px;gap:8px}.form-grid{grid-template-columns:1fr}.metric-grid{gap:10px}.chart{height:210px}.bar-row{grid-template-columns:85px 1fr 62px;gap:8px;font-size:12px}footer{flex-direction:column;line-height:1.8}.detail-grid{grid-template-columns:1fr}.activity time{font-size:10px}dialog{padding:22px}}
.endpoint{font-family:monospace;overflow-wrap:anywhere;font-size:12px;margin-top:12px;min-height:0!important}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}button:disabled{opacity:.6;cursor:wait}dialog strong{overflow-wrap:anywhere}@media(max-width:760px){.product-grid{grid-template-columns:1fr}}
[hidden]{display:none!important}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top right,#dceee6,transparent 60%),#f5f8f8}.login-card{background:white;border:1px solid var(--line);padding:38px;width:440px;max-width:100%;border-radius:20px;box-shadow:0 24px 80px #12394315}.login-card>.brandmark{margin-bottom:22px}.login-card h1{font-size:25px;margin:12px 0}.login-card form{display:grid;gap:18px;margin:25px 0 16px}.login-card label{display:grid;gap:8px}.login-card small{display:block;color:var(--muted);line-height:1.8}.login-card input{width:100%}.header-right{flex-wrap:wrap}.check-row .user-toggle{margin-left:auto}@media(max-width:760px){header{height:auto;min-height:80px;padding:12px;gap:10px;flex-wrap:wrap}.header-right{gap:10px}.header-right .avatar{display:none}.header-right #logout{display:block}.login-card{padding:25px}}
.product-pick{text-align:left;color:var(--ink);font:inherit;transition:border-color .15s,box-shadow .15s}.product-pick:hover{border-color:#83b9af}.product-pick.selected{border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}.product-filters{display:flex;align-items:end;gap:12px;padding:20px;margin-bottom:20px;flex-wrap:wrap}.product-filters label,.log-filters label{display:grid;gap:8px;font-size:13px}.product-filters label:first-child{flex:1;min-width:180px}.product-description{margin-bottom:22px}.product-description dl,.log-detail{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;margin:0;line-height:1.7}.product-description dt,.log-detail dt{color:var(--muted)}.product-description dd,.log-detail dd{margin:0;overflow-wrap:anywhere}.product-section{margin-bottom:20px}.log-filters{display:flex;align-items:end;gap:12px;padding:10px 22px 20px;flex-wrap:wrap}.log-filters label:nth-child(2){flex:1;max-width:420px}.request-id{font-family:monospace;font-size:12px;max-width:250px;overflow-wrap:anywhere;white-space:normal}.pagination{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);gap:12px;color:var(--muted);font-size:13px}.pagination>div{display:flex;gap:8px}.inside{padding:12px 22px}@media(max-width:760px){.product-filters{padding:15px;display:grid;grid-template-columns:1fr 1fr}.product-filters label{min-width:0!important}.product-filters label:first-child{grid-column:1/-1}.product-filters label:nth-child(2){grid-column:1/-1}.product-description dl,.log-detail{grid-template-columns:1fr;gap:5px}.product-description dd,.log-detail dd{margin-bottom:10px}.pagination{flex-wrap:wrap}.log-filters{padding:15px}.log-filters label{width:100%}}

.country-group{margin-bottom:26px}.country-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:0 2px}.country-heading h2{font-size:20px;margin:0 0 5px}.country-usage{display:flex;gap:22px;font-size:13px;color:var(--muted)}.country-usage strong{color:var(--ink);margin-left:7px;font-variant-numeric:tabular-nums}.country-group .product-grid{margin-bottom:0}@media(max-width:760px){.country-heading{align-items:flex-start;flex-direction:column;gap:10px}.country-usage{flex-wrap:wrap;gap:12px}}

.token-balance{display:inline-block}.token-overdue{color:#b42318}.token-overdue strong{font-size:inherit;font-weight:600}.token-overdue .sub{color:#b42318;font-size:12px;font-weight:400}.token-overdue-text{color:#b42318!important;font-weight:600}

.customer-group{margin-bottom:20px}.customer-group .table-title{padding-bottom:18px}.customer-group h2{font-size:19px}.api-products{white-space:normal;max-width:360px;margin-top:8px;line-height:1.6}

.account-call-chart{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.account-call-chart .panel-head{align-items:flex-start}.account-call-chart .chart{height:auto;min-height:180px}

.account-trend-row>td{padding:0 22px 22px;background:#f9fbfb;white-space:normal}.account-trend-row .account-call-chart{margin:0;padding:22px 0 0;border:0;max-width:960px}.account-trend-row .chart{width:100%;max-height:310px}.account-trend-row:hover{background:transparent}

.account-trend-row>td{background:#fff}.account-trend-row .account-call-chart{max-width:1100px}.trend-header{display:flex;justify-content:space-between;align-items:center;padding:0 0 16px;border-bottom:1px solid var(--line)}.trend-header h2{font-size:15px;margin:0 0 6px;font-weight:600}.trend-header p,.trend-total small{font-size:12px;color:var(--muted)}.trend-total{text-align:right}.trend-total strong{display:block;font-size:22px;font-variant-numeric:tabular-nums;margin-top:4px}.trend-total strong small{font-weight:400}.trend-plot{display:block;width:100%;max-height:340px;margin:16px 0 0;overflow:visible}.trend-plot text{font-size:11px;fill:#65717d;font-family:inherit}.trend-grid{stroke:#e7ebef;stroke-dasharray:3 3}.trend-bar{fill:#dbe3eb}.trend-line{fill:none;stroke:#355a74;stroke-width:2;pointer-events:none}.trend-dot{fill:#355a74}.trend-day{cursor:pointer;outline:none}.trend-hit-area{fill:transparent;stroke:transparent}.trend-day:hover .trend-hit-area,.trend-day:focus-visible .trend-hit-area,.trend-day[aria-pressed=true] .trend-hit-area{fill:#355a740a;stroke:#688ca7;stroke-dasharray:3 3}.trend-day[aria-pressed=true] .trend-dot{r:5;fill:#173c59}.trend-plot .trend-value{font-size:11px;fill:#283d4d;font-weight:600}.trend-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:12px 0 18px;border-bottom:1px solid var(--line)}.trend-footer i{display:inline-block;width:9px;height:9px;background:#dbe3eb;margin-right:7px}.trend-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 12px}.trend-detail-head h3{font-size:14px;margin:0}.trend-detail-head span{font-size:12px;color:var(--muted)}.trend-day-logs .notice{margin-top:16px}.trend-day-logs table{font-size:12px}.trend-day-logs th,.trend-day-logs td{padding:11px 10px}.trend-day-logs .pagination{padding:14px 0}.trend-day-logs button:disabled{cursor:default}@media(max-width:760px){.trend-detail-head{align-items:flex-start;flex-direction:column}.account-trend-row>td{padding:0 12px 16px}}

/* API documentation workspace */
.api-docs td:first-child{min-width:160px}.api-docs td:nth-child(2){min-width:90px}.api-docs td:nth-child(3){min-width:105px}
.api-doc-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.api-doc-summary strong{font-size:20px}.api-doc-summary span{display:block;color:var(--muted);font-size:12px;margin-top:7px}.api-doc-layout{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:22px}.api-doc-list{display:block;position:sticky;top:18px;height:auto;max-height:calc(100vh - 36px);overflow:auto;background:white;color:var(--ink);padding:18px;border:1px solid var(--line);border-radius:var(--radius);width:auto;left:auto}.api-doc-list label{font-size:12px;color:var(--muted);display:block;margin-bottom:8px}.api-doc-list input,.api-doc-list select{width:100%;margin-bottom:16px;min-width:0}.api-doc-products h3{font-size:12px;color:var(--muted);margin:20px 8px 8px;font-weight:500}.api-doc-pick{display:block;width:100%;border:1px solid transparent;background:none;text-align:left;color:var(--ink);border-radius:8px;padding:12px 10px;line-height:1.6;margin-bottom:5px}.api-doc-pick:hover{background:#f5f9f7}.api-doc-pick.selected{background:#eaf5ef;border-color:#b8dcd0}.api-doc-pick strong{display:block;font-size:13px}.api-doc-pick small{color:var(--muted);font-size:11px}.api-doc-content{min-width:0}.api-doc-header h2{font-size:22px;margin:9px 0}.api-doc-header p,.api-doc-section p,.api-doc-section li{line-height:1.9}.api-doc-section{margin-top:20px;scroll-margin-top:20px}.api-doc-section>h2{font-size:19px;margin:0 0 16px}.api-docs table{white-space:normal;font-size:12px}.api-docs th,.api-docs td{padding:12px 13px;vertical-align:top;overflow-wrap:anywhere}.api-docs th{white-space:nowrap}.api-docs td:first-child{min-width:160px}.api-docs code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.api-docs pre{background:#102f39;color:#deebe9;border-radius:10px;padding:18px;overflow:auto;max-height:480px;line-height:1.8;tab-size:2}.api-docs pre code{white-space:pre;overflow-wrap:normal}.api-code-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.api-code-head h3{font-size:14px;margin:20px 0 6px}.api-example{min-width:0}.api-doc-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--teal)}.api-endpoint{display:flex;align-items:center;gap:12px;background:#f3f7f6;padding:14px;border-radius:9px;flex-wrap:wrap}.api-endpoint>span{font-size:11px;font-weight:700;color:var(--teal)}.api-endpoint>code{flex:1;min-width:0;word-break:break-word}.api-docs details{margin-top:18px}.api-docs summary{cursor:pointer;color:var(--teal);font-size:12px;padding:8px 0}.api-doc-section li{margin-bottom:12px}.api-doc-section ul{padding-left:20px}.api-docs .table-scroll{margin-bottom:18px}
@media(max-width:1150px){.api-doc-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}.api-docs .panel{padding:20px}.api-doc-list{padding:12px}}@media(max-width:900px){.api-doc-layout{grid-template-columns:1fr}.api-doc-list{position:static;max-height:360px;box-shadow:none;z-index:auto}.api-doc-products{display:grid;grid-template-columns:1fr 1fr;gap:5px}.api-doc-products h3{grid-column:1/-1;margin-top:8px}.api-doc-list input,.api-doc-list select{margin-bottom:10px}.api-doc-summary{align-items:flex-start;flex-wrap:wrap}.api-docs td{min-width:110px}.api-docs td:last-child{min-width:200px}.api-docs .panel{padding:18px}.api-endpoint>code{flex-basis:70%}}@media(max-width:480px){.api-doc-products{grid-template-columns:1fr}.api-docs pre{padding:12px}.api-doc-summary span{line-height:1.8}}

.api-doc-download{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-bottom:20px}.api-doc-download strong{font-size:16px}.api-doc-download p{font-size:13px;color:var(--muted);line-height:1.8;margin:8px 0}.api-doc-download-url{display:block;color:var(--teal);font-family:monospace;font-size:12px;overflow-wrap:anywhere}.api-doc-download>.primary{white-space:nowrap;text-align:center}.api-doc-download>div{min-width:0}@media(max-width:760px){.api-doc-download{align-items:stretch;flex-direction:column;gap:18px;padding:18px}}

.service-balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.service-balance-grid .kpi-value{overflow-wrap:anywhere}.service-balance-grid .kpi-value small{font-size:16px}

.service-balance-module{margin-bottom:28px}.service-balance-module>.table-title{padding-left:0;padding-right:0}.service-balance-module h3{margin:0;font-size:18px}

/* PAT unified call log layout. */
#patLogFilters .primary{margin-top:16px}
.pat-log-table td small{display:block;margin-top:4px;color:var(--muted,#71838b)}
.pat-log-table td:nth-child(3){max-width:240px;white-space:normal;overflow-wrap:anywhere}

/* Product coverage and marketplace. */
.coverage-overview{overflow:hidden;margin-bottom:34px;border-color:#dce7e3;box-shadow:0 3px 12px #153d4203}
.coverage-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 30px 22px;border-bottom:1px solid #edf2ef}
.coverage-heading h2{font-size:23px;letter-spacing:-.5px;font-weight:600;margin:9px 0 6px}
.coverage-heading p{font-size:12px;color:#81918d}
.coverage-heading .eyebrow,.catalog-heading .eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600}
.coverage-totals{display:flex;flex-shrink:0;gap:30px}
.coverage-totals>div{display:grid;gap:5px;min-width:66px}
.coverage-totals>div+div{border-left:1px solid #e4ece8;padding-left:30px}
.coverage-totals strong{font-size:32px;line-height:1.15;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.coverage-totals span{font-size:11px;color:#81918d}
.coverage-body{display:grid;grid-template-columns:minmax(0,1fr) 245px}
.coverage-map{min-width:0;padding:17px 22px 15px;background:radial-gradient(ellipse at 50% 45%,#f6faf7,#fcfdfc 75%);display:flex;flex-direction:column;justify-content:center}
.world-map{width:100%;height:auto;display:block;overflow:visible;margin:auto 0}
.map-country{stroke:#fcfdfc;stroke-width:.7;stroke-linejoin:round}
.map-country:not(.covered){fill:#e4ebe8}
.map-country.covered{cursor:pointer;transition:filter .15s,stroke .15s}
.map-country.covered:hover,.map-country.covered:focus-visible,.map-country.covered.active{filter:brightness(.88);stroke:#145b4e;stroke-width:1.3;outline:none}
.map-marker{cursor:pointer;outline:none;pointer-events:bounding-box}
.map-marker>path{stroke:#93b6a9;stroke-width:.9;fill:none;stroke-dasharray:2 2}
.map-dot-halo{fill:#127e6530;stroke:none}
.map-dot{fill:#08745e;stroke:white;stroke-width:1}
.map-marker rect{fill:#fff;stroke:#e1ebe5;stroke-width:.8;filter:drop-shadow(0 2px 3px #153d420a)}
.map-marker text{fill:#456259;font-family:inherit;font-size:10px;font-weight:550;pointer-events:none}
.map-marker:hover rect,.map-marker:focus-visible rect,.map-marker.active rect{fill:#eaf5ef;stroke:#4c9d83;stroke-width:1.2}
.map-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#82968d;margin-top:10px}
.map-scale{display:flex;align-items:center;gap:7px}
.map-scale>span:first-child{margin-right:6px}
.map-scale i{width:64px;height:5px;border-radius:3px}
.coverage-markets{padding:20px;border-left:1px solid #edf2ef;display:flex;flex-direction:column;gap:4px}
.coverage-list-heading{display:flex;justify-content:space-between;font-size:10px;color:#91a099;padding:0 7px 9px;letter-spacing:.3px}
.coverage-market{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;padding:10px 7px;border-radius:9px;text-align:left;color:var(--ink);transition:background .15s,border-color .15s}
.coverage-market:hover{background:#f5f9f6}
.coverage-market.active{background:#eef7f1;border-color:#e0eee6}
.market-flag{display:grid;place-items:center;width:32px;height:32px;background:#f5f8f6;border-radius:9px;font-size:10px;font-weight:600;color:#60806f;flex-shrink:0}
.market-name{display:grid;gap:4px;min-width:0;flex:1}
.market-name strong{font-weight:550;font-size:12px}
.market-name small{font-size:9px;color:#91a099}
.market-count{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:#366354}
.market-arrow{font-size:13px;color:#90a69b;padding-left:1px}
.coverage-note{font-size:9px;color:#99a79f;padding:11px 7px 0;margin-top:auto}
.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px}
.catalog-heading h2{font-size:21px;font-weight:600;letter-spacing:-.4px;margin:7px 0 0}
.catalog-search{position:relative;display:flex;align-items:center;width:260px;max-width:100%}
.catalog-search-icon{position:absolute;left:13px;width:16px;height:16px;pointer-events:none;fill:none;stroke:#91a29a;stroke-width:1.5;stroke-linecap:round}
.catalog-search input{width:100%;font-size:12px;padding:11px 12px 11px 36px;border-color:#dfe8e3;background:#fff;border-radius:8px}
.catalog-search input::placeholder{color:#96a39d}
.country-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid #dfe8e3;scrollbar-width:thin}
.country-tab{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;padding:12px 14px 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:#7c8c84;font-size:12px;border-radius:5px 5px 0 0;transition:color .15s,background .15s}
.country-tab:hover{color:#2c6b54;background:#edf4ee}
.country-tab.active{color:#126b52;border-bottom-color:#157b5d;font-weight:600}
.country-tab>span:last-child{background:#e9eeeb;color:#88968e;font-size:10px;font-weight:500;min-width:20px;border-radius:5px;padding:2px 5px}
.country-tab.active>span:last-child{background:#dfeee5;color:#217254}
.country-tab .tab-flag{font-size:9px;letter-spacing:.3px;color:#8ca094}
.catalog-caption{display:flex;justify-content:space-between;gap:12px;padding:17px 1px;color:#8d9b94;font-size:11px}
.catalog-caption>span:first-child{color:#687e72}
.catalog-divider{margin:0 9px;color:#c1ccc5}
.marketplace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:0}
.marketplace-product{position:relative;display:flex;flex-direction:column;padding:20px;border-radius:12px;box-shadow:0 2px 8px #153d4202;transition:border-color .15s,box-shadow .15s,transform .15s}
.marketplace-product:hover{border-color:#b3cfc0;box-shadow:0 6px 20px #153d4208;transform:translateY(-2px)}
.marketplace-product.selected{border-color:#428d70;box-shadow:0 0 0 1px #428d70}
.marketplace-product .product-top{gap:8px;margin-bottom:18px}
.marketplace-product .product-symbol{width:36px;height:36px;border:1px solid #dceae1;border-radius:10px;background:#f1f7f3;color:#38795f;font-size:12px;font-weight:650;letter-spacing:.5px}
.marketplace-status{display:flex;align-items:center;gap:5px;font-size:10px;color:#708378;text-align:right;line-height:1.5}
.marketplace-status i{width:5px;height:5px;border-radius:50%;background:#609d79;flex-shrink:0}
.marketplace-status.pending{color:#aa8c54}
.marketplace-status.pending i{background:#c1a069}
.product-country{font-size:10px;color:#82968a;letter-spacing:.3px;margin-bottom:8px}
.product-country>span{color:#a2b0a7}
.marketplace-product h3{font-size:15px;line-height:1.6;font-weight:600;letter-spacing:-.2px;margin:0 0 3px;overflow-wrap:anywhere}
.product-english{font-size:10px;color:#9aa89f;line-height:1.6;margin-bottom:12px}
.marketplace-product>p{font-size:12px;line-height:1.8;color:#85958a;min-height:44px;margin:0 0 17px}
.marketplace-product .product-info{align-items:center;gap:15px;margin-top:auto;padding-top:14px;border-color:#edf2ee}
.marketplace-product .product-info>div{flex:1}
.marketplace-product .product-info small{font-size:10px;color:#96a59b;margin-bottom:5px}
.marketplace-product .product-info strong{font-size:16px;letter-spacing:-.3px;font-weight:550;font-variant-numeric:tabular-nums}
.product-open{display:grid;place-items:center;width:27px;height:27px;border:1px solid #e6eee8;border-radius:50%;font-size:14px;color:#799789}
.selected .product-open,.marketplace-product:hover .product-open{background:#edf6f0;color:#287554;border-color:#d9e8de}
.catalog-empty{grid-column:1/-1;text-align:center;padding:48px 20px}
.catalog-empty strong{font-size:14px;font-weight:550}.catalog-empty p{font-size:12px;margin:8px 0 14px}
.product-detail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;border-top:1px solid #dfe8e3;margin:32px 0 18px;padding-top:25px}
.product-detail-heading h2{font-size:18px;font-weight:600;margin:0;flex-shrink:0}
.product-detail-heading>span{font-size:11px;color:#8b9c91;text-align:right;line-height:1.8}
@media(min-width:1600px){.coverage-map{padding:20px 30px}.coverage-body{grid-template-columns:minmax(0,1fr) 280px}.coverage-markets{padding:22px 26px}.coverage-market{padding-top:13px;padding-bottom:13px}}
@media(max-width:1200px){.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.coverage-body{grid-template-columns:minmax(0,1fr) 208px}.coverage-heading{padding:24px}.coverage-map{padding:12px}.coverage-markets{padding:17px 12px}.country-tab{padding-left:10px;padding-right:10px;gap:5px}.coverage-totals{gap:20px}.coverage-totals>div+div{padding-left:20px}}
@media(max-width:900px){.coverage-body{grid-template-columns:1fr}.coverage-markets{border-left:0;border-top:1px solid #edf2ef;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:14px 18px}.coverage-list-heading,.coverage-note{grid-column:1/-1}.coverage-list-heading{padding-bottom:4px}.coverage-list-heading>span:last-child{display:none}.market-name small{font-size:8px}.coverage-heading h2{font-size:21px}.map-footer{padding:0 7px 5px}}
@media(max-width:600px){.coverage-overview{margin-bottom:26px}.coverage-heading{padding:20px 18px;gap:15px;align-items:flex-start}.coverage-heading h2{font-size:18px;letter-spacing:-.5px}.coverage-heading p{font-size:11px;max-width:150px}.coverage-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.coverage-totals{gap:10px;padding-top:10px}.coverage-totals>div{min-width:35px;gap:6px}.coverage-totals>div+div{padding-left:10px}.coverage-totals strong{font-size:26px}.coverage-totals span{font-size:9px}.coverage-map{padding:15px 8px 9px}.map-footer{font-size:8px;gap:5px;margin-top:12px}.map-scale{gap:4px}.map-scale i{width:40px}.map-scale>span:first-child{margin-right:3px}.coverage-markets{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px 10px;gap:4px 8px}.coverage-market{gap:8px;padding:8px 5px}.market-flag{width:27px;height:27px;font-size:9px}.market-name strong{font-size:11px}.market-count{font-size:14px}.coverage-note{padding-top:7px}.catalog-heading{gap:12px;margin-bottom:14px}.catalog-heading h2{font-size:19px}.catalog-heading .eyebrow{font-size:8px;letter-spacing:1px}.catalog-search{width:185px}.catalog-search input{font-size:11px}.country-tabs{gap:2px}.country-tab{padding:11px 10px 12px}.catalog-caption{font-size:10px;padding-top:15px;padding-bottom:15px}.catalog-caption>span:last-child{display:none}.marketplace-grid{grid-template-columns:1fr;gap:12px}.marketplace-product{padding:20px}.marketplace-product>p{min-height:0}.product-detail-heading{align-items:flex-start;margin-top:26px;padding-top:20px;flex-direction:column;gap:7px}.product-detail-heading>span{text-align:left}}
@media(prefers-reduced-motion:reduce){.marketplace-product,.coverage-market,.country-tab,.map-country.covered{transition:none}.marketplace-product:hover{transform:none}}

/* Data source attribution and product revenue annotations. */
.provider-summary{display:block;margin:4px 0 16px;padding:10px 12px;border-radius:8px;background:#f0f6f4;font-size:12px;line-height:1.7;overflow-wrap:anywhere;color:var(--teal)}.provider-table td,.provider-rules td{overflow-wrap:anywhere;white-space:pre-wrap}.provider-table table{min-width:680px}.provider-rules table{min-width:820px}.provider-rules td{max-width:320px}.provider-rules td:last-child{white-space:nowrap}.provider-rules .text-button+.text-button{margin-left:14px}.provider-table td:nth-child(2){max-width:420px;white-space:pre-wrap}textarea{font:inherit;padding:11px;border:1px solid var(--line);border-radius:8px;resize:vertical;width:100%;box-sizing:border-box}.form-grid [hidden]{display:none!important}.form-grid.full{grid-column:1/-1}.form-grid>label{min-width:0}#providerRuleForm input{min-width:0;width:100%}

/* AXIOM/PAT forest alignment */
:root{--forest:#173F35}
aside{background:var(--forest)}
.hero{background:var(--forest)}
.legend span:first-child:before{background:var(--forest)}
.trend-line{stroke:var(--forest)}
.trend-dot{fill:var(--forest)}
.trend-day[aria-pressed=true] .trend-dot{fill:var(--forest)}

/* === Clients Management Compact Hierarchy & Quota Drawer (2026-12-01) === */
.clients-table { width: 100%; border-collapse: collapse; }
.clients-table th { white-space: nowrap; padding: 11px 14px; font-size: 12px; font-weight: 600; color: #526a71; letter-spacing: .01em; }
.clients-table td { vertical-align: middle; padding: 14px 14px; border-top: 1px solid #e6efef; }
.clients-table .client-row-master { background: #f6fbf9; box-shadow: inset 3px 0 0 #087f73; }
.clients-table .client-row-master:hover { background: #eef8f5; }
.clients-table .client-row-legacy { background: #ffffff; }
.clients-table .client-section-row td { background: #f6f9f9; padding: 7px 14px; font-size: 12px; color: #647980; font-weight: 500; border-top: 1px solid #e1eaea; border-bottom: 1px solid #e1eaea; }
.clients-table .customer { display: flex; align-items: flex-start; gap: 10px; }
.clients-table .logo { width: 32px; height: 32px; flex-shrink: 0; border-radius: 7px; font-size: 11px; font-weight: 700; display: grid; place-items: center; background: #e6f2ef; color: #087f73; margin-top: 1px; }
.clients-table .logo.logo-master { background: #087f73; color: #ffffff; box-shadow: 0 2px 6px rgba(8,127,115,.22); }
.clients-table .acct-meta { min-width: 0; }
.clients-table .acct-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.clients-table .acct-title strong { font-size: 14px; font-weight: 600; color: #152f39; }
.clients-table .acct-title .badge { padding: 1px 7px; font-size: 11px; line-height: 1.5; border-radius: 4px; }
.clients-table .acct-meta small { display: block; color: #6e8188; font-size: 12px; margin-top: 3px; line-height: 1.4; }
.clients-table .acct-prods-line { margin-top: 6px; }
.prod-count-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: 11.5px; color: #365c57; background: #edf5f3; border: 1px solid #d5e6e2; border-radius: 5px; line-height: 1.5; max-width: 310px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, border-color .15s, color .15s; }
.prod-count-chip:hover { background: #dff0ec; border-color: #9ecfc5; color: #087f73; }
.metric-main { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; line-height: 1.3; }
.metric-main strong { font-size: 14px; font-weight: 600; color: #152f39; font-variant-numeric: tabular-nums; }
.metric-cap { font-size: 12.5px; color: #75858b; font-variant-numeric: tabular-nums; }
.metric-inline { margin: 0; font-size: 12px; color: #75858b; }
.metric-sub { margin-top: 3px; font-size: 11.5px; color: #75858b; }
.mini-bar { height: 5px; background: #e5efef; border-radius: 99px; overflow: hidden; margin: 6px 0 3px; max-width: 196px; }
.mini-bar-fill { display: block; height: 100%; border-radius: 99px; background: #0c8b7e; transition: width .2s ease; }
.mini-bar-fill.warn { background: #d9822b; }
.mini-bar-fill.danger { background: #d64545; }
.quota-summary-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.q-chip { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 4px; font-size: 11.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.q-chip.ok { background: #edf6ef; color: #226349; border: 1px solid #cbe2d3; }
.q-chip.warn { background: #fff6e5; color: #9a5b13; border: 1px solid #efd5a3; }
.q-chip.danger { background: #fef0f0; color: #b93838; border: 1px solid #f4c7c7; }
.chip-toggle { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 5px; font-size: 11.5px; font-weight: 500; color: #2d555e; background: #ffffff; border: 1px solid #d4e1e2; line-height: 1.5; white-space: nowrap; transition: all .15s; }
.chip-toggle:hover { border-color: #087f73; color: #087f73; background: #f2faf8; }
.quota-drawer-row > td { padding: 12px 18px 16px !important; background: #f7fbfa !important; border-top: 1px dashed #d6e4e2; }
.quota-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.quota-drawer-head strong { font-size: 13px; color: #152f39; }
.quota-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.quota-card { background: #ffffff; border: 1px solid #e1ebeb; border-radius: 8px; padding: 9px 11px; border-left: 3px solid #96c7bf; }
.quota-card.warn { border-left-color: #d9822b; }
.quota-card.danger { border-left-color: #d64545; background: #fffafa; }
.quota-card.unlimited { border-left-color: #087f73; }
.quota-card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 5px; }
.quota-card-name { font-size: 12.5px; font-weight: 600; color: #17343e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quota-country { font-size: 11px; color: #677d84; background: #f1f6f6; padding: 1px 6px; border-radius: 4px; flex-shrink: 0; }
.quota-card-nums { display: flex; align-items: baseline; gap: 4px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.quota-card-nums strong { color: #152f39; font-weight: 600; }
.quota-card-nums span { color: #7a8d93; font-size: 11.5px; }
.quota-rem { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 500; color: #226349; }
.quota-rem.warn { color: #9a5b13; }
.quota-rem.danger { color: #b93838; }
.quota-card .mini-bar { margin: 5px 0 0; max-width: none; height: 4px; }
.muted-dash { color: #a7b7bc; font-size: 13px; font-weight: 400; }
.action-group { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.action-pill { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; font-size: 12px; font-weight: 500; line-height: 1.2; border-radius: 6px; border: 1px solid #d5e2e3; background: #ffffff; color: #1c404a; white-space: nowrap; transition: all .15s; }
.action-pill:hover { border-color: #087f73; color: #087f73; background: #f2faf8; }
.action-pill.primary-soft { background: #eaf6f3; border-color: #b7ddd4; color: #076d63; font-weight: 600; }
.action-pill.primary-soft:hover { background: #087f73; border-color: #087f73; color: #ffffff; }
.action-pill.active { background: #143944; border-color: #143944; color: #ffffff; }
.action-pill.subtle { color: #5b7279; border-color: #e2ebeb; background: #fafcfc; }
.action-pill.subtle:hover { color: #152f39; border-color: #c5d6d8; background: #f1f6f6; }
