:root {
  color-scheme: light;
  --ink: #202923;
  --muted: #738078;
  --subtle: #9aa39d;
  --line: #e6eae6;
  --paper: #f5f7f4;
  --card: #fff;
  --sidebar: #202a24;
  --sidebar-muted: #9ca89f;
  --green: #bfe6a9;
  --green-deep: #4e8058;
  --green-wash: #eff7eb;
  --amber: #d9a443;
  --red: #bb5f59;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--paper); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 248px; flex-direction: column; padding: 25px 15px 14px; color: #f2f5f1; background: var(--sidebar); }
.brand { display: flex; align-items: center; height: 34px; margin: 0 8px 31px; gap: 10px; }
.brand-mark { display: inline-flex; width: 25px; height: 24px; align-items: flex-end; justify-content: center; gap: 3px; }
.brand-mark span { width: 5px; border-radius: 8px 8px 2px 2px; background: var(--green); transform: skew(-13deg); }
.brand-mark span:nth-child(1) { height: 12px; opacity: .72; }
.brand-mark span:nth-child(2) { height: 21px; }
.brand-mark span:nth-child(3) { height: 16px; opacity: .86; }
.brand-name { font-size: 23px; font-weight: 730; letter-spacing: -1.5px; }
.brand-period { color: var(--green); }
.brand-edition { margin-left: auto; padding: 4px 6px; border: 1px solid #4b5a4e; border-radius: 4px; color: #bdc7bf; font-size: 8px; font-weight: 700; letter-spacing: 1.15px; }

.server-switcher { display: flex; width: 100%; min-height: 61px; align-items: center; padding: 9px 10px; gap: 10px; text-align: left; border: 1px solid #435047; border-radius: 8px; color: #f4f6f3; background: #29352d; cursor: pointer; }
.server-switcher:hover { border-color: #69796d; background: #303d34; }
.server-avatar { display: grid; width: 35px; height: 35px; flex: none; place-items: center; border-radius: 8px; color: #233027; background: #cde8be; font-size: 15px; font-weight: 700; }
.server-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.switcher-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.switcher-copy small { color: #9ba89e; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.switcher-copy strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.chevron { width: 14px; height: 14px; flex: none; fill: none; stroke: #adbbb0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.server-menu { position: absolute; top: 132px; right: 15px; left: 15px; z-index: 4; overflow: hidden; max-height: 360px; overflow-y: auto; padding: 5px; border: 1px solid #dfe5de; border-radius: 9px; color: var(--ink); background: #fff; box-shadow: 0 14px 35px #111a1426; }
.server-option { display: flex; width: 100%; align-items: center; padding: 9px; gap: 9px; border: 0; border-radius: 6px; text-align: left; background: transparent; cursor: pointer; }
.server-option:hover, .server-option.selected { background: #f0f5ed; }
.server-option img, .server-option .server-avatar { width: 30px; height: 30px; border-radius: 7px; }
.server-option span:last-child { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.server-option .server-avatar { font-size: 12px; }

.primary-nav { overflow-y: auto; flex: 1; margin-top: 26px; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #46544a transparent; }
.nav-label { margin: 0 11px 10px; color: #829086; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; }
.nav-label-spaced { margin-top: 27px; }
.nav-item { position: relative; display: flex; min-height: 39px; align-items: center; margin: 2px 0; padding: 0 11px; gap: 11px; border-radius: 6px; color: #bdc7bf; font-size: 12px; font-weight: 520; transition: background .16s ease, color .16s ease; }
.nav-item:hover { color: white; background: #29362d; }
.nav-item.active { color: #f3f7f1; background: #354338; }
.nav-item.active::before { position: absolute; top: 9px; bottom: 9px; left: -15px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); content: ""; }
.nav-item.active .nav-icon { color: var(--green); }
.nav-icon { display: block; width: 17px; height: 17px; flex: none; color: #93a097; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.premium-mini { margin-left: auto; padding: 3px 5px; border: 1px solid #546151; border-radius: 4px; color: #ccdda9; font-size: 8px; font-weight: 750; letter-spacing: .8px; }
.sidebar-bottom { padding-top: 12px; border-top: 1px solid #3a463d; }
.bot-status { display: flex; align-items: center; padding: 7px 8px 12px; gap: 9px; }
.status-pip { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #75bf7a; box-shadow: 0 0 0 3px #75bf7a1c; }
.bot-status span:last-child, .profile-copy { display: flex; flex-direction: column; gap: 3px; }
.bot-status strong { color: #dce6dc; font-size: 10px; font-weight: 600; }
.bot-status small { color: #87958b; font-size: 9px; }
.profile-button { display: flex; width: 100%; align-items: center; padding: 9px 7px 7px; gap: 9px; border: 0; border-radius: 6px; text-align: left; color: #f4f6f3; background: transparent; cursor: pointer; }
.profile-button:hover { background: #29352d; }
.profile-button img, .user-initial { width: 31px; height: 31px; flex: none; border-radius: 50%; object-fit: cover; }
.user-initial { display: grid; place-items: center; color: #29352d; background: #cde8be; font-size: 12px; font-weight: 700; }
.profile-copy { min-width: 0; flex: 1; }
.profile-copy strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { color: #93a096; font-size: 9px; }
.profile-menu-dots { padding: 0 7px; color: #a6b2a9; font-size: 18px; letter-spacing: 1px; }

.main-area { min-height: 100vh; margin-left: 248px; padding: 0 43px 20px; }
.topbar { display: flex; height: 67px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ebe7; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #929b94; font-size: 11px; }
.crumb-slash { color: #c1c8c2; }
.breadcrumbs strong { color: #47544b; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.sync-label { display: flex; align-items: center; gap: 8px; color: #758179; font-size: 10px; }
.sync-label .status-pip { width: 6px; height: 6px; }
.topbar-divider { width: 1px; height: 18px; background: #dfe4df; }
.help-link { color: #66746b; font-size: 10px; }
.help-link:hover { color: #293b2d; }
.help-link span { margin-left: 3px; color: #98a49b; }
.page-content { width: min(100%, 1180px); margin: 0 auto; padding: 30px 0 40px; }
.page-footer { display: flex; width: min(100%, 1180px); justify-content: space-between; margin: auto; padding: 15px 0 0; border-top: 1px solid #e6eae6; color: #a3aca5; font-size: 9px; }
.page-footer span:first-child { font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.notice-area { position: fixed; top: 78px; right: 28px; z-index: 50; display: flex; max-width: min(400px, calc(100vw - 35px)); flex-direction: column; gap: 8px; }
.toast { padding: 12px 15px; border: 1px solid #dce5d9; border-radius: 7px; color: #314333; background: #fbfff9; box-shadow: 0 8px 24px #21312214; font-size: 12px; animation: toast-in .18s ease-out; }
.toast.error { border-color: #edd4d0; color: #7f3935; background: #fff9f8; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; gap: 20px; }
.page-heading h1 { margin: 5px 0 5px; font-size: clamp(23px, 2.1vw, 30px); font-weight: 620; letter-spacing: -1.1px; }
.page-heading p { margin: 0; color: #7b877f; font-size: 12px; line-height: 1.55; }
.eyebrow { margin: 0; color: #728078; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.date-label { display: flex; align-items: center; padding: 9px 11px; gap: 7px; border: 1px solid #e0e5df; border-radius: 6px; color: #748078; background: #fff; font-size: 10px; white-space: nowrap; }
.date-label::before { color: #7c9880; content: "◷"; font-size: 14px; }

.server-banner { position: relative; display: grid; min-height: 153px; grid-template-columns: 1fr auto; overflow: hidden; align-items: center; padding: 26px 28px; border: 1px solid #dae3d7; border-radius: 10px; background: #edf4e9; }
.server-banner::after { position: absolute; top: -115px; right: 130px; width: 320px; height: 320px; border: 1px solid #dce7d7; border-radius: 50%; content: ""; box-shadow: 0 0 0 30px #e5eee066, 0 0 0 65px #e5eee04f; pointer-events: none; }
.banner-copy { position: relative; z-index: 1; }
.banner-kicker { display: flex; align-items: center; gap: 7px; color: #70826f; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.banner-kicker span { width: 6px; height: 6px; border-radius: 50%; background: #82b575; }
.server-banner h1 { margin: 10px 0 7px; color: #2d3c30; font-size: clamp(24px, 2.5vw, 34px); font-weight: 610; letter-spacing: -1.25px; }
.server-banner p { margin: 0; color: #718074; font-size: 12px; }
.banner-server { position: relative; z-index: 1; display: flex; align-items: center; padding: 12px 14px; gap: 11px; border: 1px solid #d7e1d2; border-radius: 8px; background: #f8fbf6d9; }
.banner-server-avatar { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.banner-server-initial { display: grid; place-items: center; color: #425946; background: #d9e8d2; font-size: 17px; font-weight: 650; }
.banner-server-copy { display: flex; flex-direction: column; gap: 5px; }
.banner-server-copy small { color: #879289; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.banner-server-copy strong { max-width: 170px; overflow: hidden; color: #425047; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.premium-chip { display: inline-flex; align-items: center; padding: 4px 7px; gap: 5px; border: 1px solid #e8ddc5; border-radius: 4px; color: #8a744a; background: #fcf7ec; font-size: 8px; font-weight: 750; letter-spacing: .6px; }
.premium-chip::before { content: "✦"; font-size: 10px; }
.premium-chip.free { border-color: #dfe6dc; color: #778277; background: #f5f8f3; }
.premium-chip.free::before { content: "●"; font-size: 7px; }

.section-row { display: flex; align-items: center; justify-content: space-between; margin: 29px 0 12px; }
.section-row h2 { margin: 0; color: #344139; font-size: 13px; font-weight: 640; letter-spacing: -.1px; }
.section-row p { margin: 4px 0 0; color: #919a93; font-size: 10px; }
.text-link { color: #5a7860; font-size: 10px; font-weight: 600; }
.text-link:hover { color: #324c37; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.metric-card { min-height: 103px; padding: 15px 16px 13px; border: 1px solid #e5e9e4; border-radius: 8px; background: var(--card); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #87928a; font-size: 10px; }
.metric-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; color: #56735b; background: #eff5ed; }
.data-icon { display: block; width: 16px; height: 16px; color: currentColor; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.metric-card strong { display: block; margin-top: 9px; color: #2b372e; font-size: 24px; font-weight: 630; letter-spacing: -.8px; }
.metric-caption { display: block; margin-top: 3px; color: #9aa39c; font-size: 9px; }

.overview-lower { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(255px, .92fr); align-items: start; gap: 15px; }
.panel { border: 1px solid #e5e9e4; border-radius: 8px; background: #fff; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px 13px; border-bottom: 1px solid #edf0ed; }
.panel-heading h2 { margin: 0; color: #38443b; font-size: 12px; font-weight: 650; }
.panel-heading p { margin: 4px 0 0; color: #939c95; font-size: 9px; }
.module-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 2px 8px 5px; }
.module-row { display: flex; min-height: 63px; align-items: center; padding: 9px 8px; gap: 10px; border-bottom: 1px solid #f0f2f0; }
.module-row:nth-last-child(-n+2) { border-bottom: 0; }
.module-icon { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 8px; color: #59725e; background: #f0f5ee; }
.module-icon .data-icon { width: 17px; height: 17px; }
.module-copy { min-width: 0; flex: 1; }
.module-copy strong { display: block; overflow: hidden; color: #3e4941; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.module-copy small { display: block; margin-top: 4px; color: #969f98; font-size: 9px; }
.module-state { margin-left: auto; padding: 4px 6px; border-radius: 4px; color: #687b6b; background: #f1f6ef; font-size: 8px; font-weight: 650; white-space: nowrap; }
.module-state.off { color: #909992; background: #f4f5f4; }
.activity-list { padding: 2px 15px 3px; }
.activity-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: start; padding: 12px 0; gap: 9px; border-bottom: 1px solid #f0f2f0; }
.activity-item:last-child { border-bottom: 0; }
.activity-bullet { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #71816f; background: #f1f5ef; }
.activity-bullet .data-icon { width: 13px; height: 13px; }
.activity-copy strong { display: block; color: #49554c; font-size: 9px; font-weight: 630; }
.activity-copy small { display: block; margin-top: 4px; color: #98a199; font-size: 9px; line-height: 1.45; }
.activity-time { color: #a0a8a1; font-size: 8px; white-space: nowrap; }
.empty-state { padding: 24px 10px; color: #929b94; font-size: 10px; line-height: 1.6; text-align: center; }
.empty-state strong { display: block; margin-bottom: 5px; color: #59665c; font-size: 11px; font-weight: 600; }

.settings-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(245px, .75fr); align-items: start; gap: 15px; }
.settings-card { padding: 20px; }
.settings-card + .settings-card { margin-top: 13px; }
.settings-card h2 { margin: 0; color: #344139; font-size: 13px; font-weight: 640; }
.settings-card > p { margin: 6px 0 19px; color: #869189; font-size: 10px; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { color: #526056; font-size: 10px; font-weight: 620; }
.field-hint { color: #98a19a; font-size: 9px; line-height: 1.45; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; top: 50%; right: 12px; color: #87938a; content: "⌄"; pointer-events: none; transform: translateY(-58%); }
select, input[type="number"], input[type="text"], textarea { width: 100%; min-height: 38px; padding: 9px 11px; border: 1px solid #e1e6e0; border-radius: 6px; outline: none; color: #3f4c42; background: #fff; font-size: 10px; transition: border-color .14s ease, box-shadow .14s ease; }
select { padding-right: 30px; appearance: none; }
select:focus, input:focus, textarea:focus { border-color: #90b58d; box-shadow: 0 0 0 3px #dcebd966; }
textarea { min-height: 92px; resize: vertical; }
.form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid #edf0ed; }
.saved-at { color: #9ba49d; font-size: 9px; }
.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 13px; gap: 7px; border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 630; cursor: pointer; transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.button:active { transform: translateY(1px); }
.button-dark { color: #f4f8f2; background: #34473a; }
.button-dark:hover { background: #27382d; }
.button-light { border-color: #e0e6df; color: #58655b; background: #fff; }
.button-light:hover { background: #f7f9f6; }
.button-green { color: #314334; background: #d9ebd1; }
.button-green:hover { background: #cde4c3; }
.button-wide { width: 100%; min-height: 45px; font-size: 12px; }
.button svg { width: 15px; height: 15px; fill: currentColor; }
.button[disabled] { opacity: .55; cursor: progress; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 15px; border-bottom: 1px solid #f0f2f0; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-copy strong { display: block; color: #4c594f; font-size: 10px; font-weight: 610; }
.toggle-copy small { display: block; margin-top: 4px; color: #98a19a; font-size: 9px; line-height: 1.45; }
.switch { position: relative; width: 34px; height: 19px; flex: none; padding: 0; border: 0; border-radius: 11px; background: #d8ded8; cursor: pointer; transition: background .14s ease; }
.switch::after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #28342b26; content: ""; transition: transform .14s ease; }
.switch[aria-checked="true"] { background: #78a778; }
.switch[aria-checked="true"]::after { transform: translateX(15px); }
.switch:focus-visible { outline: 3px solid #cce3c6; outline-offset: 2px; }
.role-grid { display: grid; max-height: 250px; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-y: auto; padding: 5px; gap: 4px; border: 1px solid #e5e9e4; border-radius: 6px; background: #fbfcfa; }
.role-option { display: flex; min-width: 0; align-items: center; padding: 7px 8px; gap: 8px; border-radius: 5px; color: #5a675d; font-size: 9px; cursor: pointer; }
.role-option:hover { background: #f0f5ed; }
.role-option input { flex: none; accent-color: #6e9b70; }
.role-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-option.unavailable { color: #9ba39c; cursor: default; }
.role-option.unavailable:hover { background: transparent; }

.side-note { padding: 17px; border: 1px solid #e3e8e1; border-radius: 8px; background: #f9fbf8; }
.side-note h3 { margin: 0 0 8px; color: #455249; font-size: 11px; font-weight: 630; }
.side-note p { margin: 0; color: #859087; font-size: 10px; line-height: 1.65; }
.side-note + .side-note { margin-top: 11px; }
.side-note.accent { border-color: #dce6d8; background: #eff6eb; }
.side-note.accent h3 { color: #405744; }
.side-note.accent p { color: #718372; }
.side-note .premium-chip { margin-bottom: 10px; }

.module-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.detail-card { min-height: 150px; padding: 17px; border: 1px solid #e5e9e4; border-radius: 8px; background: #fff; }
.detail-card .module-icon { margin-bottom: 16px; }
.detail-card h2 { margin: 0 0 7px; color: #39453c; font-size: 12px; font-weight: 630; }
.detail-card p { min-height: 31px; margin: 0 0 14px; color: #879189; font-size: 10px; line-height: 1.55; }
.detail-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid #f0f2f0; }
.premium-gate { padding: 29px; border: 1px solid #e7e1d2; border-radius: 9px; background: #fbf8f0; }
.premium-gate h2 { margin: 13px 0 6px; color: #4f4839; font-size: 18px; font-weight: 620; letter-spacing: -.4px; }
.premium-gate p { max-width: 520px; margin: 0; color: #857c6b; font-size: 11px; line-height: 1.65; }
.premium-gate .premium-chip { margin-top: 15px; }
.giveaway-list { display: flex; flex-direction: column; }
.giveaway-item { display: flex; align-items: center; padding: 12px 0; gap: 11px; border-bottom: 1px solid #f0f2f0; }
.giveaway-item:last-child { border-bottom: 0; }
.giveaway-icon { display: grid; width: 31px; height: 31px; flex: none; place-items: center; border-radius: 8px; color: #897246; background: #f9f3e7; }
.giveaway-icon .data-icon { width: 15px; height: 15px; }
.giveaway-copy { flex: 1; }
.giveaway-copy strong { color: #4b574e; font-size: 10px; font-weight: 600; }
.giveaway-copy small { display: block; margin-top: 4px; color: #96a098; font-size: 9px; }
.guide-list { display: flex; flex-direction: column; }
.guide-step { display: grid; grid-template-columns: 26px 1fr; align-items: start; padding: 14px 0; gap: 11px; border-bottom: 1px solid #edf0ed; }
.guide-step:last-child { border-bottom: 0; }
.guide-number { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #dce5d9; border-radius: 50%; color: #607565; background: #f6faf4; font-size: 10px; font-weight: 650; }
.guide-step strong { display: block; margin-top: 1px; color: #48544b; font-size: 10px; font-weight: 630; }
.guide-step p { margin: 5px 0 0; color: #8a948c; font-size: 9px; line-height: 1.6; }
.code-chip { display: inline-block; margin-top: 7px; padding: 5px 7px; border-radius: 4px; color: #55635a; background: #f0f3ef; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }

.loading-panel { display: flex; min-height: 280px; align-items: center; justify-content: center; gap: 10px; color: #7c8980; font-size: 11px; }
.loader { width: 16px; height: 16px; border: 2px solid #dce5d9; border-top-color: #628266; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.login-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(400px, .92fr) minmax(400px, 1.08fr); background: #f6f7f5; }
.login-card { display: flex; max-width: 470px; flex-direction: column; justify-content: center; justify-self: center; padding: 50px 32px; }
.brand-mark-large { width: 34px; height: 32px; margin-bottom: 48px; gap: 4px; }
.brand-mark-large span { width: 7px; }
.brand-mark-large span:nth-child(1) { height: 15px; }
.brand-mark-large span:nth-child(2) { height: 28px; }
.brand-mark-large span:nth-child(3) { height: 21px; }
.login-card .eyebrow { color: #78857b; }
.login-card h1 { margin: 15px 0 12px; color: #28372d; font-size: clamp(35px, 4vw, 49px); font-weight: 610; letter-spacing: -2.4px; line-height: 1.06; }
.login-copy { max-width: 350px; margin: 0 0 28px; color: #7a867d; font-size: 13px; line-height: 1.65; }
.login-card .button { gap: 10px; }
.login-card .button svg { width: 18px; height: 18px; }
.login-footnote { display: flex; align-items: center; margin: 15px 0 0; gap: 7px; color: #909a92; font-size: 9px; }
.secure-dot { width: 6px; height: 6px; border-radius: 50%; background: #76a87a; }
.login-aside { position: relative; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 30px 34px; color: #dce6dd; background: #27352c; }
.login-aside::before { position: absolute; top: 20%; right: -15%; width: 80%; aspect-ratio: 1; border: 1px solid #435246; border-radius: 50%; content: ""; box-shadow: 0 0 0 60px #33423766, 0 0 0 130px #33423742; }
.login-aside::after { position: absolute; top: 36%; right: 7%; width: 54%; height: 1px; background: linear-gradient(90deg, transparent, #5f715f, transparent); content: ""; transform: rotate(-24deg); }
.aside-caption { z-index: 1; display: flex; align-items: center; gap: 9px; color: #9ead9f; font-size: 9px; font-weight: 650; letter-spacing: 1.2px; }
.live-indicator { width: 6px; height: 6px; border-radius: 50%; background: #a9d298; box-shadow: 0 0 0 4px #a9d29820; }
.aside-quote { position: relative; z-index: 1; align-self: center; width: min(480px, 80%); margin-top: -30px; }
.quote-rule { width: 30px; height: 2px; margin-bottom: 25px; background: #c2dfaf; }
.aside-quote p { margin: 0 0 24px; color: #e5ece5; font-size: clamp(25px, 3vw, 39px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.3; }
.aside-quote em { color: #c2dfaf; font-style: normal; }
.aside-quote span { color: #91a194; font-size: 8px; font-weight: 650; letter-spacing: 1.5px; }
.aside-version { z-index: 1; color: #829085; font-size: 8px; font-weight: 600; letter-spacing: .95px; }
.aside-version span { margin: 0 5px; color: #b7c9b4; }

@media (max-width: 1100px) {
  .main-area { padding-right: 27px; padding-left: 27px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { width: 66px; align-items: center; padding: 18px 9px 12px; }
  .brand { margin: 0 0 24px; }
  .brand-name, .brand-edition, .server-switcher .switcher-copy, .server-switcher .chevron, .nav-label, .bot-status span:last-child, .profile-copy, .profile-menu-dots { display: none; }
  .server-switcher { width: 45px; height: 47px; min-height: 47px; justify-content: center; padding: 5px; }
  .server-avatar { width: 34px; height: 34px; }
  .server-menu { top: 105px; left: 70px; width: 230px; }
  .primary-nav { width: 100%; margin-top: 20px; }
  .nav-label { display: none; }
  .nav-label-spaced { display: block; height: 1px; margin: 13px 4px; background: #435047; font-size: 0; }
  .nav-item { width: 44px; height: 42px; min-height: 42px; justify-content: center; margin: 3px 0; padding: 0; font-size: 0; }
  .nav-item.active::before { left: -9px; }
  .nav-icon { width: 19px; height: 19px; }
  .premium-mini { position: absolute; top: 1px; right: -2px; padding: 2px 3px; font-size: 6px; }
  .sidebar-bottom { width: 100%; }
  .bot-status { justify-content: center; padding: 7px 0 12px; }
  .profile-button { justify-content: center; padding: 8px 0; }
  .main-area { margin-left: 66px; padding-right: 22px; padding-left: 22px; }
  .overview-lower, .settings-layout { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .main-area { padding-right: 15px; padding-left: 15px; }
  .topbar { height: 57px; }
  .topbar-right { gap: 9px; }
  .help-link, .topbar-divider { display: none; }
  .breadcrumbs { gap: 7px; font-size: 10px; }
  .page-content { padding-top: 22px; }
  .server-banner { min-height: 174px; grid-template-columns: 1fr; align-content: start; padding: 19px; }
  .server-banner::after { top: -85px; right: -130px; }
  .banner-server { width: fit-content; margin-top: 15px; padding: 7px 9px; }
  .banner-server-avatar { width: 30px; height: 30px; }
  .banner-server-copy small { display: none; }
  .metric-grid { gap: 9px; }
  .metric-card { min-height: 94px; padding: 12px; }
  .metric-card strong { font-size: 21px; }
  .module-list { grid-template-columns: 1fr; }
  .module-row:nth-last-child(-n+2) { border-bottom: 1px solid #f0f2f0; }
  .module-row:last-child { border-bottom: 0; }
  .module-detail-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .date-label { display: none; }
  .page-footer { gap: 10px; flex-direction: column; }
  .login-screen { grid-template-columns: 1fr; }
  .login-card { min-height: 69vh; padding: 35px 27px; }
  .brand-mark-large { margin-bottom: 34px; }
  .login-aside { min-height: 31vh; padding: 20px 25px; }
  .aside-quote { width: 90%; margin: 45px 0 34px; }
  .aside-quote p { font-size: 22px; }
  .aside-version { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
