:root {
  --type-xs: 11px;
  --type-sm: 12px;
  --type-base: 14px;
  --type-title: 20px;
  --type-display: 28px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--type-base);
  color: #17243a;
  background: #f4f7fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --ink: #17243a;
  --muted: #77859a;
  --subtle: #9aa6b7;
  --line: #e8edf5;
  --surface: #ffffff;
  --bg: #f4f7fc;
  --green: #138a62;
  --green-bg: #eaf7f1;
  --red: #bd4a4a;
  --red-bg: #fff0ef;
  --shadow: 0 12px 34px rgba(30, 54, 91, .055);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.console-body { min-width: 360px; }
.console-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 27px 17px 20px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; margin-bottom: 50px; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain; }
.brand-copy, .login-brand > div { display: grid; gap: 2px; }
.brand-copy strong, .login-brand strong { font: 800 var(--type-base) Inter, sans-serif; letter-spacing: -.35px; }
.brand-copy small, .login-brand small { color: #9aa6b7; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1.45px; }
.nav-label { padding: 0 12px; margin-bottom: 10px; color: #a0aaba; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1.3px; }
.sidebar-nav { display: grid; gap: 6px; }
.nav-item { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 12px; color: #6e7c91; font-size: var(--type-base); font-weight: 600; border-radius: 10px; transition: color .15s, background .15s; }
.nav-item:hover { color: var(--blue); background: #f5f8ff; }
.nav-item.selected { color: var(--blue); background: #edf3ff; }
.nav-icon { width: 18px; text-align: center; font-size: var(--type-title); line-height: 1; }
.sidebar-bottom { margin-top: auto; padding: 14px 11px 2px; display: flex; align-items: center; gap: 9px; color: #8491a4; font-size: var(--type-sm); border-top: 1px solid #f0f3f8; }
.sidebar-dot { width: 7px; height: 7px; border-radius: 50%; background: #25ad7b; box-shadow: 0 0 0 4px #e8f7f1; }
.console-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { min-height: 104px; padding: 22px clamp(24px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line); }
.breadcrumb { margin-bottom: 7px; color: #8a97a9; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1.2px; }
.breadcrumb span { padding: 0 6px; color: #c1cad7; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: 'Manrope', 'DM Sans', sans-serif; letter-spacing: -.45px; }
.topbar h1 { font-size: var(--type-title); font-weight: 800; }
.signout-button { padding: 9px 12px; color: #6f7c90; background: transparent; border: 1px solid #e4eaf3; border-radius: 9px; font-size: var(--type-sm); font-weight: 600; }
.signout-button:hover { color: var(--blue); background: #fff; border-color: #cddafa; }
.signout-button span { padding-left: 5px; color: #95a2b5; }
.page-content { width: min(100%, 1450px); margin: 0 auto; padding: 38px clamp(24px, 4vw, 58px) 28px; flex: 1; }
.page-footer { padding: 15px clamp(24px, 4vw, 58px) 22px; color: #9aa6b7; font-size: var(--type-xs); }
.page-footer span { padding: 0 5px; color: #c6cfdb; }
.page-intro { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.page-intro h2 { margin: 6px 0 5px; font-size: var(--type-title); font-weight: 800; }
.page-intro p { color: var(--muted); font-size: var(--type-base); line-height: 1.6; }
.compact-intro { align-items: center; }
.eyebrow { color: #91a0b5; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1.35px; }
.quiet-button, .primary-button { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #dfe7f3; border-radius: 9px; color: #53657e; background: #fff; font-size: var(--type-sm); font-weight: 700; transition: .15s ease; }
.quiet-button:hover { color: var(--blue); border-color: #c8d8fb; background: #fafdff; }
.primary-button { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 7px 15px rgba(37, 99, 235, .16); }
.primary-button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.metric-card { min-height: 142px; padding: 19px 20px; background: var(--surface); border: 1px solid #e9eef6; border-radius: 14px; box-shadow: var(--shadow); }
.metric-top { display: flex; align-items: center; gap: 9px; }
.metric-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; font-size: var(--type-base); font-weight: 700; }
.blue-icon { color: #3471e6; background: #edf3ff; }
.violet-icon { color: #8063d5; background: #f2efff; }
.sky-icon { color: #3686bb; background: #eaf6fc; }
.green-icon { color: #1c9870; background: #e9f7f1; }
.metric-label { color: #8a98ac; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1px; }
.metric-value { margin-top: 14px; font: 800 var(--type-display) Inter, sans-serif; letter-spacing: -.7px; color: #1a2941; }
.metric-denominator { margin-left: 4px; color: #a0acbc; font-size: var(--type-base); font-weight: 600; }
.metric-compact { font-size: var(--type-title); }
.metric-caption { margin-top: 4px; color: #94a0b0; font-size: var(--type-sm); }
.panel { overflow: hidden; background: var(--surface); border: 1px solid #e7edf5; border-radius: 14px; box-shadow: var(--shadow); }
.panel-heading { min-height: 76px; padding: 17px 21px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf1f6; }
.panel-heading h2 { margin-top: 3px; font-size: var(--type-base); font-weight: 800; }
.text-link { color: var(--blue); font-size: var(--type-sm); font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--blue-hover); }
.text-link span { padding-left: 3px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead th { height: 40px; padding: 0 18px; color: #9aa6b7; background: #fbfcfe; font-size: var(--type-xs); font-weight: 700; letter-spacing: .8px; white-space: nowrap; }
tbody td { height: 62px; padding: 9px 18px; color: #52627a; border-top: 1px solid #f0f3f7; font-size: var(--type-sm); white-space: nowrap; }
tbody tr:hover { background: #fcfdff; }
.node-name { display: inline-flex; align-items: center; gap: 10px; color: #283851; }
.node-mark { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; color: #426fc7; background: #edf3ff; border-radius: 9px; font: 700 var(--type-sm) Inter, sans-serif; text-transform: uppercase; }
.node-name strong { font-size: var(--type-sm); font-weight: 700; }
.endpoint-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; color: #78879b; }
.node-metric-cell { min-width: 120px; color: #66758a; line-height: 1.45; white-space: normal; }
.node-metric-cell span { display: block; }
.mono, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--type-sm); }
.muted-cell { color: #8c99aa; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; font-size: var(--type-xs); font-weight: 700; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-chip.online { color: var(--green); background: var(--green-bg); }
.status-chip.offline { color: var(--red); background: var(--red-bg); }
.bottom-note { margin-top: 17px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #6b7e9a; background: #edf3fc; border: 1px solid #e4ebf6; border-radius: 10px; }
.bottom-note p { font-size: var(--type-sm); line-height: 1.5; }
.note-mark { width: 16px; height: 16px; flex: 0 0 auto; display: grid; place-items: center; color: #5179bf; background: #dce8fb; border-radius: 50%; font: 700 var(--type-xs) Georgia, serif; }
.count-pill { padding: 7px 11px; color: #61748f; background: #fff; border: 1px solid #e2e9f3; border-radius: 99px; font-size: var(--type-xs); font-weight: 700; }
.nodes-table { min-width: 1100px; }
.node-edit-link { min-height: 31px; padding: 0 10px; }
.node-actions { text-align: right; }
.node-name-link { display: inline-flex; border-radius: 9px; }
.node-name-link:hover .node-name strong { color: var(--blue); }
.node-name-link:focus-visible { outline: 2px solid #83a8ef; outline-offset: 3px; }
.history-toolbar { margin-bottom: 16px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.history-range-list { display: flex; flex-wrap: wrap; gap: 7px; }
.history-range { min-height: 32px; padding: 0 11px; }
.history-range.selected { color: var(--blue); border-color: #c8d8fb; background: #edf3ff; }
.history-grid { display: grid; gap: 16px; }
.history-card { min-width: 0; padding-bottom: 12px; }
.history-card .panel-heading { min-height: 65px; }
.history-card .panel-heading h2 { margin-top: 3px; }
.history-caption { padding: 12px 21px 0; color: var(--muted); font-size: var(--type-sm); }
.history-legend { display: flex; gap: 12px; color: #75849a; font-size: var(--type-xs); }
.history-legend span::before { content: ""; width: 8px; height: 8px; margin-right: 5px; display: inline-block; border-radius: 50%; }
.upload-legend::before { background: #3981e8; }
.download-legend::before { background: #20a57a; }
.history-chart-wrap { position: relative; width: 100%; height: 255px; padding: 13px 17px 16px; }
.history-chart { width: 100%; height: 100%; display: block; }
.danger-button { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #c55353; border: 1px solid #c55353; border-radius: 9px; font-size: var(--type-sm); font-weight: 700; transition: .15s ease; }
.danger-button:hover { background: #a83f3f; border-color: #a83f3f; }
.node-editor { margin-top: 18px; }
.node-form-body { padding: 20px 21px 22px; }
.node-form { display: grid; gap: 18px; }
.node-form-body > .node-form-actions { margin-top: 18px; }
.node-form-grid { display: grid; grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr); gap: 16px; }
.node-form-grid label { min-width: 0; display: grid; align-content: start; gap: 8px; color: #53627a; font-size: var(--type-sm); font-weight: 700; }
.node-form-grid input { width: 100%; height: 39px; min-width: 0; padding: 0 11px; color: #27364d; background: #fff; border: 1px solid #dfe6f0; border-radius: 8px; outline: none; font-size: var(--type-sm); font-weight: 400; }
.node-form-grid input:focus { border-color: #83a8ef; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.node-form-grid input[readonly] { color: #7c899b; background: #f2f4f7; border-color: #d9e0e9; cursor: not-allowed; }
.node-form-grid input[readonly]:focus { border-color: #d9e0e9; box-shadow: none; }
.node-form-grid input::placeholder { color: #a0abba; }
.node-form-grid small { color: #8b98aa; font-size: var(--type-xs); font-weight: 400; line-height: 1.5; }
.node-form-actions { display: flex; align-items: center; gap: 9px; }
.node-form-error { margin-bottom: 16px; padding: 10px 12px; color: #aa4444; background: #fff0ef; border: 1px solid #f9d9d6; border-radius: 8px; font-size: var(--type-sm); line-height: 1.5; }
.users-table tbody td { height: 58px; }
.uuid-cell { color: #4f607a; font-size: var(--type-sm); letter-spacing: .15px; }
.table-toolbar { min-height: 66px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf1f6; }
.search-box { width: min(100%, 330px); height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 8px; color: #93a0b2; border: 1px solid #e2e8f1; border-radius: 8px; }
.search-box span { font-size: var(--type-title); line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: none; color: #34445d; background: transparent; font-size: var(--type-base); }
.search-box input::placeholder { color: #a0abba; }
.empty-state { min-height: 235px; padding: 44px 20px; display: grid; align-content: center; justify-items: center; text-align: center; }
.empty-mark { width: 42px; height: 42px; margin-bottom: 12px; display: grid; place-items: center; color: #5b80c5; background: #eef4ff; border-radius: 13px; font-size: var(--type-title); }
.empty-state strong { color: #40516b; font: 700 var(--type-base) Inter, sans-serif; }
.empty-state p { max-width: 390px; margin-top: 6px; color: #8b98aa; font-size: var(--type-sm); line-height: 1.6; }
.empty-state code { color: #637899; }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: radial-gradient(ellipse at 50% 0, #e5efff 0, #f4f7fc 46%, #f4f7fc 100%); }
.login-wrap { width: min(100%, 390px); }
.login-card { padding: 31px; background: rgba(255,255,255,.94); border: 1px solid rgba(224,232,244,.95); border-radius: 17px; box-shadow: 0 22px 60px rgba(43, 69, 112, .11); }
.login-brand { display: flex; align-items: center; gap: 11px; }
.login-intro { margin: 37px 0 23px; }
.login-intro h1 { margin-top: 7px; color: #1a2941; font-size: var(--type-display); font-weight: 800; }
.login-intro p { margin-top: 7px; color: #7c899b; font-size: var(--type-base); }
.login-form { display: grid; gap: 9px; }
.login-form label { color: #53627a; font-size: var(--type-sm); font-weight: 700; }
.login-form input { width: 100%; height: 43px; padding: 0 12px; color: #27364d; background: #fff; border: 1px solid #dfe6f0; border-radius: 8px; outline: none; font-size: var(--type-base); transition: border-color .15s, box-shadow .15s; }
.login-form input:focus { border-color: #83a8ef; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.login-submit { width: 100%; min-height: 42px; margin-top: 10px; }
.login-submit span { font-size: var(--type-base); }
.login-message { margin: -7px 0 17px; padding: 10px 11px; color: #aa4444; background: #fff0ef; border: 1px solid #f9d9d6; border-radius: 8px; font-size: var(--type-sm); line-height: 1.5; }
.login-message.notice { color: #596f91; background: #eef4ff; border-color: #dce8fd; }
.login-footnote { margin-top: 27px; padding-top: 15px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #98a4b4; border-top: 1px solid #edf1f6; font-size: var(--type-xs); }
.lock-icon { color: #7d91ad; font-size: var(--type-sm); }
.login-caption { margin-top: 19px; color: #9ba8b9; text-align: center; font-size: var(--type-xs); font-weight: 700; letter-spacing: 1.5px; }
.login-caption span { padding: 0 4px; color: #c4cddb; }
.uuid-link { display: inline-flex; padding: 5px 0; color: #496eb6; border-radius: 4px; }
.uuid-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.user-notice { margin: 0 0 15px; padding: 12px 14px; color: #245c48; background: #eaf7f1; border: 1px solid #d9efe5; border-radius: 9px; font-size: var(--type-sm); line-height: 1.5; overflow-wrap: anywhere; }
.user-editor { margin-top: 18px; }
.user-form-body { padding: 20px 21px 22px; }
.user-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.user-form label { min-width: 0; display: grid; align-content: start; gap: 8px; color: #53627a; font-size: var(--type-sm); font-weight: 700; }
.user-form input, .user-form select { width: 100%; height: 39px; min-width: 0; padding: 0 11px; color: #27364d; background: #fff; border: 1px solid #dfe6f0; border-radius: 8px; outline: none; font-size: var(--type-sm); font-weight: 400; }
.user-form input:focus, .user-form select:focus { border-color: #83a8ef; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.user-form input[readonly] { color: #7c899b; background: #f2f4f7; border-color: #d9e0e9; cursor: not-allowed; }
.user-form small { color: #8b98aa; font-size: var(--type-xs); font-weight: 400; line-height: 1.5; }
.user-form .node-form-actions { grid-column: 1 / -1; }
.users-table { min-width: 1160px; }
.user-edit-link { min-height: 31px; padding: 0 10px; }
.application-body { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(ellipse at 50% 0, #e5efff 0, #f4f7fc 48%, #f4f7fc 100%); }
.application-card { width: min(100%, 470px); padding: 34px; display: grid; justify-items: start; gap: 15px; background: rgba(255,255,255,.96); border: 1px solid #e2e9f3; border-radius: 17px; box-shadow: 0 22px 60px rgba(43,69,112,.1); }
.application-card .brand-mark { margin-bottom: 13px; }
.application-card h1 { color: #1a2941; font-size: var(--type-display); font-weight: 800; }
.application-card p { margin: -5px 0 3px; color: #77859a; font-size: var(--type-base); line-height: 1.7; }

.home-body { min-width: 360px; min-height: 100vh; background: radial-gradient(ellipse at 72% 37%, #e8f0ff 0, #f4f7fc 43%, #f4f7fc 100%); }
.home-shell { min-height: 100vh; display: flex; flex-direction: column; }
.home-topbar { width: min(100%, 1180px); min-height: 92px; margin: 0 auto; padding: 16px clamp(22px, 5vw, 62px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-brand { display: inline-flex; align-items: center; gap: 12px; }
.home-brand .brand-mark { width: 43px; height: 43px; }
.home-admin-link { padding: 10px 12px; color: #62738d; border: 1px solid #e0e7f2; border-radius: 9px; background: rgba(255,255,255,.68); font-size: var(--type-sm); font-weight: 700; }
.home-admin-link:hover { color: var(--blue); border-color: #cddafa; background: #fff; }
.home-admin-link span { margin-left: 5px; color: #95a2b5; }
.home-main { width: min(100%, 1180px); margin: auto; padding: 30px clamp(22px, 5vw, 62px) 50px; flex: 1; display: grid; align-items: center; }
.home-hero { min-height: 430px; padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: clamp(24px, 4vw, 48px); overflow: hidden; background: rgba(255,255,255,.82); border: 1px solid #e5ebf5; border-radius: 22px; box-shadow: 0 24px 70px rgba(43,69,112,.08); }
.home-copy { position: relative; z-index: 1; }
.home-copy h1 { margin-top: 13px; color: #1a2941; font-size: var(--type-display); font-weight: 800; line-height: 1.14; letter-spacing: -.7px; }
.home-copy h1 span { color: #456fbd; }
.home-copy > p { max-width: 470px; margin-top: 17px; color: #77859a; font-size: var(--type-base); line-height: 1.75; }
.home-cta { margin-top: 24px; min-height: 42px; }
.home-cta span { font-size: var(--type-base); }
.home-access-note { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: #6b7e9a; }
.home-access-note p { font-size: var(--type-sm); line-height: 1.5; }
.home-art { --orbit-outer: 260px; --orbit-middle: 220px; --orbit-inner: 180px; min-height: 300px; position: relative; display: grid; place-items: center; }
.home-art-glow { width: 128px; aspect-ratio: 1; position: absolute; border-radius: 50%; background: linear-gradient(145deg, #edf3ff, #dfeaff); box-shadow: inset 0 0 0 1px rgba(111,148,213,.13), 0 22px 48px rgba(64,103,174,.13); }
.home-art-logo { width: 64px; aspect-ratio: 1; position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(37,60,99,.12)); }
.home-orbit { position: absolute; border: 1px solid rgba(103,139,204,.18); border-radius: 50%; }
.home-orbit-outer { width: var(--orbit-outer); aspect-ratio: 1; }
.home-orbit-inner { width: var(--orbit-middle); aspect-ratio: 1; border-style: dashed; }
.home-orbit-mid { width: var(--orbit-inner); aspect-ratio: 1; border-style: dotted; }
.home-member { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #526783; background: rgba(255,255,255,.96); border: 1px solid #e1e9f5; border-radius: 99px; box-shadow: 0 5px 14px rgba(47,72,112,.09); font-size: var(--type-xs); font-weight: 700; }
.home-member-dot { width: 7px; height: 7px; border-radius: 50%; background: #5685e8; }
.dot-blue { background: #5685e8; }
.dot-green { background: #35a77e; }
.dot-violet { background: #8a70d5; }
.home-member-outer { top: calc(50% - 110px); left: 50%; z-index: 3; transform: translateX(-50%); }
.home-member-middle { top: 50%; left: calc(50% + 90px); z-index: 2; transform: translateY(-50%); }
.home-member-inner { top: calc(50% + 64px); left: calc(50% - 64px); z-index: 4; }
.home-footer { width: min(100%, 1180px); margin: 0 auto; padding: 18px clamp(22px, 5vw, 62px) 24px; color: #9aa6b7; font-size: var(--type-xs); }
.home-footer span { padding: 0 5px; color: #c6cfdb; }

.usage-body { min-width: 360px; min-height: 100vh; background: radial-gradient(ellipse at 50% 0, #eaf1ff 0, #f4f7fc 36%, #f4f7fc 100%); }
.usage-shell { min-height: 100vh; display: flex; flex-direction: column; }
.usage-topbar { min-height: 78px; padding: 14px clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); }
.usage-access { padding: 7px 10px; color: #738198; background: #f5f7fb; border: 1px solid #e8edf5; border-radius: 99px; font-size: var(--type-xs); font-weight: 700; }
.usage-main { width: min(100%, 1120px); margin: 0 auto; padding: 43px clamp(20px, 5vw, 58px) 25px; flex: 1; }
.usage-intro { margin-bottom: 23px; }
.usage-intro h1 { margin-top: 7px; color: #1a2941; font-size: var(--type-display); font-weight: 800; }
.usage-intro p { margin-top: 8px; color: var(--muted); font-size: var(--type-base); }
.usage-uuid { margin-left: 4px; color: #4c6180; overflow-wrap: anywhere; }
.usage-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.usage-metrics .metric-card { min-height: 135px; }
.usage-total-card .metric-caption span { padding: 0 4px; color: #c2cbd8; }
.usage-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.usage-history-card { min-width: 0; }
.usage-history-card .panel-heading { min-height: 68px; }
.usage-history-empty { margin-bottom: 22px; }
.usage-panel .panel-heading { min-height: 72px; }
.usage-table { min-width: 860px; }
.usage-table tbody td { height: 62px; }
.status-chip.pending { color: #7b899b; background: #f1f4f8; }
.status-chip.pending i { background: #9aa6b7; }
.usage-note { margin-top: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #6b7e9a; background: #edf3fc; border: 1px solid #e4ebf6; border-radius: 10px; }
.usage-note p { font-size: var(--type-sm); line-height: 1.6; }
.usage-footer { padding: 14px clamp(20px, 5vw, 64px) 21px; color: #9aa6b7; text-align: center; font-size: var(--type-xs); }
.usage-footer span { padding: 0 5px; color: #c6cfdb; }

@media (max-width: 1050px) {
  .console-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node-form-grid { grid-template-columns: minmax(0, 1fr); }
  .user-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .console-shell { display: block; }
  .sidebar { position: static; height: auto; padding: 14px 16px 11px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 0 13px; padding: 0 2px; }
  .nav-label, .sidebar-bottom { display: none; }
  .sidebar-nav { display: flex; gap: 5px; overflow-x: auto; }
  .nav-item { height: 36px; padding: 0 10px; gap: 7px; white-space: nowrap; font-size: var(--type-base); }
  .nav-icon { font-size: var(--type-base); }
  .topbar { min-height: 78px; padding: 15px 18px; }
  .topbar h1 { font-size: var(--type-title); }
  .page-content { padding: 24px 16px; }
  .page-footer { padding: 10px 18px 17px; }
  .page-intro { align-items: start; }
  .page-intro h2 { font-size: var(--type-title); }
  .metric-grid { gap: 10px; }
  .metric-card { min-height: 124px; padding: 14px; }
  .metric-value { font-size: var(--type-title); }
  .metric-compact { font-size: var(--type-title); }
  .login-card { padding: 25px 22px; }
  .node-form-body { padding: 16px; }
  .node-form-grid { gap: 14px; }
  .history-toolbar { align-items: flex-start; flex-direction: column; }
  .history-card .panel-heading { align-items: flex-start; flex-wrap: wrap; }
  .history-chart-wrap { height: 220px; padding: 10px 12px 13px; }
  .user-form-body { padding: 16px; }
  .user-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .user-form label:first-child { grid-column: auto; }
  .user-form .node-form-actions { flex-wrap: wrap; }
  .application-card { padding: 26px 22px; }
  .home-topbar { min-height: 75px; }
  .home-main { padding: 20px 16px 25px; }
  .home-hero { min-height: 0; padding: 28px 22px 20px; grid-template-columns: 1fr; gap: 10px; }
  .home-copy h1 { font-size: var(--type-display); }
  .home-art { min-height: 235px; }
  .home-art { --orbit-outer: 220px; --orbit-middle: 190px; --orbit-inner: 160px; }
  .home-art-glow { width: 112px; }
  .home-member-outer { top: calc(50% - 90px); }
  .home-member-middle { left: calc(50% + 75px); }
  .home-member-inner { top: calc(50% + 56px); left: calc(50% - 56px); }
  .home-footer { padding: 14px 18px 18px; }
  .usage-topbar { min-height: 68px; padding: 11px 16px; }
  .usage-main { padding: 28px 16px 21px; }
  .usage-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .usage-monthly-card { grid-column: 1 / -1; }
  .usage-metrics .metric-card { min-height: 122px; padding: 13px; }
  .usage-metrics .metric-value { font-size: var(--type-title); }
  .usage-metrics .metric-compact { font-size: var(--type-title); }
  .usage-history-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .usage-footer { padding: 10px 16px 17px; }
}
@media (max-width: 430px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 117px; }
  .metric-label { font-size: var(--type-xs); letter-spacing: .7px; }
  .metric-caption { font-size: var(--type-xs); }
  .page-intro { display: block; }
  .page-intro > .quiet-button, .page-intro > .count-pill { margin-top: 13px; }
}
