:root {
  --paper: #f5efe5;
  --sand: #e8dcc7;
  --ink: #15231d;
  --muted: #5d685f;
  --panel: rgba(255, 250, 242, 0.88);
  --line: rgba(21, 35, 29, 0.12);
  --forest: #22493b;
  --forest-soft: #2f6653;
  --olive: #8ea06f;
  --danger: #a44731;
  --warning: #b67c24;
  --success: #2d6c54;
  --shadow: 0 24px 60px rgba(31, 45, 39, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(142, 160, 111, 0.3), transparent 28%),
    radial-gradient(circle at bottom right, rgba(34, 73, 59, 0.18), transparent 30%),
    linear-gradient(180deg, #f6f1e8 0%, #efe6d8 100%);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hidden {
  display: none !important;
}

.shell {
  width: min(1360px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 8px 22px;
}

.topbar h1,
.hero-card h2,
.login-card h2,
.panel h3,
.dialog-header h3,
.account-card h4,
.target-card h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--forest-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.topbar-actions,
.hero-actions,
.card-actions,
.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.health-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.health-pill[data-state="ok"],
.status-chip[data-tone="success"] {
  color: var(--success);
  border-color: rgba(45, 108, 84, 0.18);
  background: rgba(45, 108, 84, 0.08);
}

.health-pill[data-state="error"],
.status-chip[data-tone="danger"] {
  color: var(--danger);
  border-color: rgba(164, 71, 49, 0.18);
  background: rgba(164, 71, 49, 0.08);
}

.status-chip[data-tone="warning"] {
  color: var(--warning);
  border-color: rgba(182, 124, 36, 0.18);
  background: rgba(182, 124, 36, 0.08);
}

.ghost-button,
.primary-button,
.small-ghost-button,
.small-primary-button,
.icon-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  font: inherit;
}

.ghost-button,
.small-ghost-button {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(34, 73, 59, 0.12);
}

.ghost-button {
  min-height: 40px;
  padding: 10px 16px;
}

.small-ghost-button,
.small-primary-button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.primary-button,
.small-primary-button {
  color: #f8f3ea;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  box-shadow: 0 14px 30px rgba(34, 73, 59, 0.18);
}

.icon-button {
  width: 36px;
  height: 36px;
  color: var(--forest);
  background: rgba(34, 73, 59, 0.08);
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-panel,
.dashboard {
  width: 100%;
}

.login-card,
.hero-card,
.panel,
.metric-card,
.account-card,
.target-card,
.notice,
.qr-dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card {
  width: min(540px, 100%);
  margin: 70px auto 0;
  padding: 32px;
  border-radius: 30px;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(21, 35, 29, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
}

input:focus,
select:focus {
  outline: 2px solid rgba(34, 73, 59, 0.18);
  border-color: rgba(34, 73, 59, 0.32);
}

.notice {
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.notice[data-type="info"] {
  color: var(--forest);
}

.notice[data-type="success"] {
  color: var(--success);
}

.notice[data-type="warning"] {
  color: var(--warning);
}

.notice[data-type="danger"] {
  color: var(--danger);
}

.hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}

.hero-card h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border-radius: 24px;
}

.metric-card p,
.metric-card span {
  margin: 0;
}

.metric-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.metric-card strong {
  font-size: 30px;
  line-height: 1.1;
}

.metric-card span {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
}

.metric-card[data-tone="success"] {
  background: linear-gradient(180deg, rgba(45, 108, 84, 0.12), rgba(255, 250, 242, 0.88));
}

.metric-card[data-tone="warning"] {
  background: linear-gradient(180deg, rgba(182, 124, 36, 0.12), rgba(255, 250, 242, 0.88));
}

.metric-card[data-tone="danger"] {
  background: linear-gradient(180deg, rgba(164, 71, 49, 0.12), rgba(255, 250, 242, 0.88));
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.panel {
  padding: 24px;
  border-radius: 28px;
}

.panel-header {
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-actions,
.admin-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-search {
  width: min(420px, 100%);
}

.admin-search input {
  min-height: 40px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-summary-item {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(21, 35, 29, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
}

.admin-summary-item span,
.admin-summary-item small {
  color: var(--muted);
  font-size: 12px;
}

.admin-summary-item strong {
  font-size: 24px;
  line-height: 1.1;
}

.admin-summary-item[data-tone="success"] strong {
  color: var(--success);
}

.admin-summary-item[data-tone="warning"] strong {
  color: var(--warning);
}

.admin-summary-item[data-tone="danger"] strong {
  color: var(--danger);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: rgba(32, 121, 97, 0.32);
  background: rgba(32, 121, 97, 0.1);
  color: var(--primary);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 0 0 12px;
}

.filter-row label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-row select {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-bar.hidden {
  display: none;
}

.pagination-bar button {
  min-height: 34px;
  padding: 0 12px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 13px;
}

.data-table th {
  padding: 0 12px 4px;
  color: var(--muted);
  text-align: left;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.data-table td {
  padding: 12px;
  border-top: 1px solid rgba(21, 35, 29, 0.08);
  border-bottom: 1px solid rgba(21, 35, 29, 0.08);
  background: rgba(255, 255, 255, 0.46);
  vertical-align: top;
}

.data-table td:first-child {
  border-left: 1px solid rgba(21, 35, 29, 0.08);
  border-radius: 16px 0 0 16px;
}

.data-table td:last-child {
  border-right: 1px solid rgba(21, 35, 29, 0.08);
  border-radius: 0 16px 16px 0;
}

.data-table td > span,
.data-table td > strong {
  display: block;
}

.status-chip[data-tone="neutral"] {
  color: var(--muted);
  border-color: rgba(93, 104, 95, 0.18);
  background: rgba(93, 104, 95, 0.08);
}

.admin-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 16px;
  align-items: start;
}

.admin-detail {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(21, 35, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.36);
}

.admin-detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-detail h4,
.admin-mini-section h5 {
  margin: 0;
}

.admin-mini-section {
  display: grid;
  gap: 10px;
}

.proxy-add-form,
.proxy-config-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.proxy-add-form {
  grid-template-columns: minmax(260px, 1.4fr) minmax(120px, 0.8fr) minmax(120px, 0.7fr) minmax(180px, 0.9fr) max-content;
  align-items: end;
  padding: 12px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #f8fafc;
}

.proxy-add-form input,
.proxy-add-form select,
.proxy-add-form .primary-button {
  min-height: 38px;
  padding: 8px 12px;
}

.proxy-add-form .primary-button {
  min-width: 86px;
}

.proxy-add-form label,
.proxy-config-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.proxy-config-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.proxy-config-form .checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.proxy-config-form .primary-button {
  align-self: end;
  min-height: 48px;
}

.account-list,
.target-list,
.cdk-list {
  display: grid;
  gap: 14px;
}

.account-card,
.target-card,
.cdk-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
}

.account-meta,
.target-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.account-role,
.target-brand {
  margin: 0 0 8px;
  color: var(--forest-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.kv-grid div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.kv-grid dt,
.kv-grid dd {
  margin: 0;
}

.kv-grid dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.kv-grid dd {
  font-size: 14px;
  font-weight: 600;
}

.target-copy h4,
.target-copy p {
  margin: 0;
}

.target-image {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 35, 29, 0.08);
}

.cdk-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cdk-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cdk-form .primary-button {
  align-self: end;
  min-height: 48px;
}

.dashboard.admin-mode .hero-card {
  padding: 18px 22px;
  border-radius: 22px;
}

.dashboard.admin-mode .metric-card {
  min-height: 112px;
  padding: 16px;
  border-radius: 20px;
}

.dashboard.admin-mode .panel {
  padding: 20px;
}

#admin-cdk-panel .panel-header {
  margin-bottom: 12px;
}

#admin-cdk-panel .cdk-form {
  grid-template-columns: 140px 130px 150px max-content;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}

#admin-cdk-panel .cdk-form input,
#admin-cdk-panel .cdk-form select,
#admin-cdk-panel .cdk-form .primary-button {
  min-height: 38px;
  padding: 8px 12px;
}

#admin-cdk-panel .data-table {
  min-width: 720px;
}

#admin-cdk-panel .data-table td {
  padding: 8px 10px;
}

.cdk-code-inline {
  display: inline-block;
  max-width: 280px;
  color: var(--forest);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cdk-card {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.42);
}

.cdk-code {
  margin: 0 0 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--forest);
  overflow-wrap: anywhere;
}

.cdk-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.empty-block {
  padding: 20px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(21, 35, 29, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.35);
}

.empty-block.compact {
  min-height: 180px;
  display: grid;
  place-items: center;
}

.qr-dialog {
  width: min(920px, calc(100vw - 28px));
  padding: 0;
  border-radius: 30px;
}

.qr-dialog::backdrop {
  background: rgba(17, 25, 22, 0.46);
}

.dialog-header,
.dialog-body {
  padding: 22px 24px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.dialog-body {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 18px;
}

.qr-preview {
  min-height: 320px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr-preview img {
  max-width: 100%;
  display: block;
}

.dialog-json {
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: #17211d;
  color: #f5efe5;
  font-size: 12px;
  line-height: 1.6;
  overflow: auto;
}

body.dashboard-active {
  background: #f4f6f8;
}

body.dashboard-active .shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.dashboard-active .topbar {
  display: none;
}

body.dashboard-active .page {
  display: block;
}

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background: #f4f6f8;
}

.dashboard.hidden {
  display: none !important;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 10px;
  border-right: 1px solid #e4e8ee;
  background: #ffffff;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.04);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid #edf0f4;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f6f5b, #18a2b8);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-brand strong,
.sidebar-brand small {
  display: block;
}

.sidebar-brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.sidebar-brand small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-nav-button {
  min-height: 42px;
  padding: 0 14px;
  color: #263238;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.sidebar-nav-button:hover {
  color: #0f766e;
  background: #edfafa;
  transform: none;
}

.sidebar-nav-button.active {
  color: #0f766e;
  background: #e1f7f5;
  font-weight: 700;
}

.workspace-main {
  min-width: 0;
  padding: 22px 24px 36px;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  margin-bottom: 18px;
}

.workspace-toolbar h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.dashboard-actions {
  justify-content: flex-end;
}

.workspace-section {
  display: grid;
  gap: 16px;
}

.workspace-section.hidden {
  display: none !important;
}

.workspace-section.panel {
  display: block;
}

body.dashboard-active .login-panel {
  display: none;
}

body.dashboard-active .notice,
body.dashboard-active .hero-card,
body.dashboard-active .panel,
body.dashboard-active .metric-card,
body.dashboard-active .account-card,
body.dashboard-active .target-card {
  border-color: #e3e8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  backdrop-filter: none;
}

body.dashboard-active .hero-card {
  padding: 18px 20px;
}

body.dashboard-active .hero-card h2 {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
}

body.dashboard-active .panel {
  padding: 18px;
}

body.dashboard-active .panel h3,
body.dashboard-active .dialog-header h3,
body.dashboard-active .account-card h4,
body.dashboard-active .target-card h4 {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.dashboard-active .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.dashboard-active .metric-card {
  min-height: 104px;
  padding: 16px;
}

body.dashboard-active .metric-card strong {
  font-size: 26px;
}

body.dashboard-active .ghost-button,
body.dashboard-active .primary-button,
body.dashboard-active .small-ghost-button,
body.dashboard-active .small-primary-button,
body.dashboard-active .health-pill,
body.dashboard-active .status-chip {
  border-radius: 8px;
}

body.dashboard-active .primary-button,
body.dashboard-active .small-primary-button {
  background: #1f6f5b;
  box-shadow: 0 8px 18px rgba(31, 111, 91, 0.16);
}

body.dashboard-active .ghost-button,
body.dashboard-active .small-ghost-button {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #d9e1ea;
}

body.dashboard-active input,
body.dashboard-active select {
  border-radius: 8px;
  background: #ffffff;
}

body.dashboard-active .admin-summary-item,
body.dashboard-active .admin-detail,
body.dashboard-active .kv-grid div,
body.dashboard-active .empty-block {
  border-radius: 8px;
  background: #f8fafc;
}

body.dashboard-active .data-table {
  border-spacing: 0;
}

body.dashboard-active .data-table td {
  border-top: 1px solid #edf0f4;
  border-bottom: 0;
  background: #ffffff;
}

body.dashboard-active .data-table td:first-child,
body.dashboard-active .data-table td:last-child {
  border-radius: 0;
}

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.dashboard-active .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .admin-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 20px, 100%);
    padding-top: 14px;
  }

  .topbar,
  .hero-card,
  .account-meta,
    .target-main,
    .dialog-body,
  .panel-header,
  .admin-detail-title {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar-actions,
  .hero-actions,
  .card-actions,
  .panel-actions,
  .admin-search {
    flex-wrap: wrap;
  }

  .stats-grid,
  .kv-grid,
  .cdk-form,
  .cdk-card,
  .admin-summary,
  .proxy-add-form,
  .proxy-config-form {
    grid-template-columns: 1fr;
  }

  .cdk-meta {
    justify-items: start;
  }

  .target-image {
    width: 100%;
    height: 220px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: sticky;
    z-index: 5;
    top: 0;
    height: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid #e4e8ee;
  }

  .sidebar-brand {
    padding-bottom: 10px;
  }

  .sidebar-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sidebar-nav-button {
    min-width: 96px;
    text-align: center;
  }

  .workspace-main {
    padding: 16px 12px 24px;
  }

  .workspace-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.dashboard-active .stats-grid {
    grid-template-columns: 1fr;
  }
}
