: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: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f0ad57; color: #19120b; font-size: 23px; font-weight: 850; }
.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; } }
