:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #080b10; color: #f4f0e8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% -10%, #283143 0, transparent 38%), #080b10; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.agent-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 50px; }
.agent-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.agent-brand > div { display: grid; gap: 2px; }
.agent-brand strong { font-size: 20px; letter-spacing: .02em; }
.agent-brand small { color: #9da6b4; }
.agent-mark { display: block; width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.agent-brand button { margin-left: auto; }
.eyebrow { color: #e7ac65; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
h1, h2, p { margin-top: 0; }
h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
p { color: #9da6b4; line-height: 1.6; }
.login-card { width: min(440px, 100%); margin: 9vh auto 0; padding: 30px; border: 1px solid #2b3442; border-radius: 20px; background: #111720; box-shadow: 0 24px 80px #0006; }
.login-card form { display: grid; gap: 17px; margin-top: 25px; }
label { display: grid; gap: 7px; color: #c3c9d2; font-size: 13px; }
input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #354051; border-radius: 9px; background: #0b1119; color: #f4f0e8; }
button, .agent-heading > button { min-height: 42px; padding: 10px 16px; border: 1px solid #3b4655; border-radius: 9px; background: #1a2330; color: #f4f0e8; }
.login-card button { border: 0; background: #f0ad57; color: #19120b; font-weight: 800; }
.error { min-height: 22px; margin: 15px 0 0; color: #ff9c93; }
.agent-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.agent-heading p { margin: 0; }
.link-card, .users-card { padding: 20px; border: 1px solid #293443; border-radius: 15px; background: #111720; }
.link-card label > div { display: flex; gap: 9px; }
.link-card input { flex: 1; }
.link-card p { margin: 12px 0 0; font-size: 12px; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.metrics article { display: grid; gap: 8px; padding: 17px; border: 1px solid #293443; border-radius: 13px; background: #111720; }
.metrics span, .revenue span { color: #9da6b4; font-size: 12px; }
.metrics strong { color: #f2b468; font-size: 29px; }
.metrics small { color: #788493; line-height: 1.4; }
.revenue { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.revenue > div { display: grid; flex: 1; min-width: 220px; gap: 7px; padding: 17px; border: 1px solid #3b4c3f; border-radius: 13px; background: #101c17; }
.revenue strong { color: #9ae1b3; font-size: 21px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title h2 { margin: 0 0 5px; font-size: 18px; }
.section-title p { margin: 0; font-size: 12px; }
.section-title > span { color: #9da6b4; font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 12px 10px; border-bottom: 1px solid #273140; text-align: left; vertical-align: top; }
th { color: #8f9aa9; font-weight: 600; }
td code { color: #e8b77a; overflow-wrap: anywhere; }
td small { display: block; margin-top: 4px; color: #778493; }
.empty { padding: 22px; text-align: center; }
.data-note { margin-top: 16px; font-size: 12px; }
#notice { min-height: 24px; margin-top: 15px; color: #e7ac65; text-align: center; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .agent-shell { width: min(100% - 20px, 1180px); padding-top: 16px; } .agent-heading { align-items: flex-start; flex-direction: column; } .link-card label > div { flex-direction: column; } .metrics { gap: 8px; } .metrics article { padding: 13px; } .metrics strong { font-size: 24px; } .login-card { padding: 22px; } }

select { min-height: 42px; padding: 8px 34px 8px 11px; border: 1px solid #354051; border-radius: 9px; background: #0b1119; color: #f4f0e8; font: inherit; }
.agent-language { margin-left: auto; display: block; }
.agent-language + button { margin-left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.trend-card { margin-bottom: 18px; }
.period-buttons { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.period-buttons button { min-width: 48px; min-height: 36px; padding: 7px 12px; }
.period-buttons button.active { border-color: #e7ac65; background: #e7ac65; color: #19120b; }
.period-note { margin: -6px 0 14px; font-size: 12px; }
.trend-chart { display: grid; gap: 16px; }
.trend-chart svg { display: block; width: 100%; min-width: 560px; height: auto; }
.trend-chart-scroll { overflow-x: auto; }
.chart-grid { stroke: #273140; stroke-width: 1; }
.chart-axis { fill: #8f9aa9; font-size: 11px; }
.trend-currency-wrap { display: flex; justify-content: flex-end; margin: 12px 0; }
.trend-currency-wrap[hidden] { display: none; }
#trend-table { margin-top: 14px; }
#trend-table td:not(:first-child), #trend-table th:not(:first-child) { text-align: right; white-space: nowrap; }
@media (max-width: 700px) { .agent-brand { flex-wrap: wrap; } .agent-language { margin-left: auto; } .trend-card .section-title { align-items: flex-start; flex-direction: column; } }

.dimension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dimension-grid section { min-width: 0; }
.dimension-grid h3 { margin: 0 0 10px; font-size: 15px; }
.dimension-bar { width: min(160px, 100%); height: 8px; overflow: hidden; border-radius: 999px; background: #e5e9ef; }
.dimension-bar i { display: block; height: 100%; border-radius: inherit; background: #4d8ba8; }
@media (max-width: 760px) { .dimension-grid { grid-template-columns: 1fr; } }
