:root {
  --bg: #0b1324;
  --panel: rgba(18, 29, 50, 0.9);
  --line: rgba(132, 154, 190, 0.22);
  --text: #f3f8ff;
  --muted: #94a5bd;
  --green: #18c96f;
  --blue: #45c7ff;
  --danger: #ff6978;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  background:
    linear-gradient(rgba(87, 119, 169, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 119, 169, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 12%, rgba(33, 217, 120, 0.14), transparent 24rem),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.login-page {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 100vh;
  padding: 28px 20px 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  margin-left: clamp(0px, 7vw, 92px);
  color: #eef7ff;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #2d78ff, #5ee5ff);
  box-shadow: 0 0 28px rgba(73, 201, 255, 0.42);
}

.login-hero {
  width: min(520px, 100%);
  margin-top: 94px;
  text-align: center;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  border: 1px solid rgba(148, 165, 189, 0.38);
  border-radius: 999px;
  padding: 6px 14px;
  color: #53f09c;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.version-pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.login-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  font-weight: 950;
}

.login-hero h1 span {
  margin-left: 10px;
  color: var(--green);
}

.login-hero p {
  margin: 0;
  color: #aebbd0;
  font-size: 18px;
  line-height: 1.75;
}

.login-card {
  align-self: start;
  width: min(448px, 100%);
  margin-top: clamp(120px, 22vh, 220px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 36px 36px;
  background: var(--panel);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  border: 0;
  padding: 0 0 16px;
  color: #8393aa;
  font: inherit;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.tab.active {
  color: #f7fbff;
}

.tab.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

label {
  display: block;
  margin-bottom: 18px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: #9cadc4;
  font-size: 13px;
}

input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(151, 175, 211, 0.28);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  background: rgba(43, 59, 83, 0.7);
  outline: none;
}

select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(151, 175, 211, 0.28);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  background: rgba(43, 59, 83, 0.7);
  outline: none;
}

textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid rgba(151, 175, 211, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  background: rgba(43, 59, 83, 0.7);
  outline: none;
}

textarea:focus {
  border-color: rgba(33, 217, 120, 0.75);
  box-shadow: 0 0 0 3px rgba(33, 217, 120, 0.12);
}

input:focus {
  border-color: rgba(33, 217, 120, 0.75);
  box-shadow: 0 0 0 3px rgba(33, 217, 120, 0.12);
}

.hint,
.message {
  min-height: 22px;
  margin: 0 0 10px;
  color: #8395ad;
  font-size: 13px;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: #56ec9b;
}

.submit-button,
.apply-button,
.logout-button,
.table-title button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  font: inherit;
  font-weight: 900;
  background: linear-gradient(135deg, #17b85e, #1fd575);
  cursor: pointer;
}

.submit-button {
  width: 100%;
  margin-top: 8px;
}

.apply-panel h2 {
  margin: 0 0 12px;
  color: #f7fbff;
  font-size: 26px;
  text-align: center;
}

.apply-panel p {
  margin: 0 0 24px;
  color: #aab8cc;
  line-height: 1.8;
}

.apply-contact-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 28px auto 24px;
  place-items: center;
  border: 1px solid rgba(35, 209, 126, 0.4);
  border-radius: 16px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  background: rgba(27, 124, 82, 0.78);
}

.wechat-card {
  margin-top: 24px;
  border: 1px solid rgba(151, 175, 211, 0.22);
  border-radius: 12px;
  padding: 20px 18px;
  background: rgba(43, 59, 83, 0.55);
}

.wechat-card span,
.wechat-card small {
  display: block;
  color: #8e9fb7;
}

.wechat-card strong {
  display: block;
  margin: 12px 0;
  color: #57f39e;
  font-size: 28px;
  letter-spacing: 0;
}

.back-login-button {
  display: block;
  margin: 24px auto 0;
  border: 0;
  color: #aebbd0;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  width: min(560px, 100%);
  margin-top: 64px;
  text-align: center;
}

.feature-strip article {
  color: #8797ad;
}

.feature-strip span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #c8d4e6;
  background: rgba(255, 255, 255, 0.04);
}

.feature-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #f1f6ff;
}

.feature-strip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 256px 1fr;
  color: #101d31;
  background: #f4f7fb;
}

.dashboard-sidebar {
  display: flex;
  position: sticky;
  top: 0;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px 14px;
  background: #0d1728;
}

.dashboard-sidebar .brand {
  justify-self: auto;
  margin: 0 10px 34px;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
  overflow: auto;
  padding-bottom: 18px;
}

.dashboard-nav a {
  display: block;
  border-radius: 8px;
  padding: 14px 16px;
  color: #9cabbd;
  font-weight: 800;
}

.dashboard-nav a.active {
  color: white;
  background: #18b65c;
}

.app-tree {
  display: grid;
  gap: 4px;
  margin: -4px 0 8px;
}

.app-tree-item {
  display: grid;
  gap: 2px;
}

.dashboard-nav a.nav-level-2 {
  margin-left: 14px;
  padding: 10px 14px;
  color: #c6d5e6;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-nav a.nav-level-2.active {
  color: #fff;
  background: rgba(24, 182, 92, 0.32);
}

.app-sub-tree {
  display: grid;
  gap: 2px;
}

.dashboard-nav a.nav-level-3 {
  margin-left: 34px;
  padding: 8px 12px;
  color: #8fa3bb;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
}

.dashboard-nav a.nav-level-3.active,
.dashboard-nav a.nav-level-3:hover {
  color: #55e99a;
  background: rgba(255, 255, 255, 0.05);
}

.logout-button {
  margin: auto 10px 0;
  color: #d7e3f2;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-main {
  padding: 38px 32px 60px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-header p,
.dashboard-header h1 {
  margin: 0;
}

.dashboard-header p {
  color: #607087;
  font-size: 20px;
}

.dashboard-header h1 {
  margin-top: 8px;
  font-size: 36px;
}

.dashboard-header span {
  border-radius: 999px;
  padding: 8px 14px;
  color: #12994d;
  font-weight: 900;
  background: #e8fbef;
}

.dashboard-header .app-switcher {
  width: min(320px, 100%);
  margin: 0;
}

.dashboard-header .app-switcher span {
  display: block;
  margin-bottom: 8px;
  border-radius: 0;
  padding: 0;
  color: #607087;
  font-size: 13px;
  background: transparent;
}

.dashboard-header .app-switcher select {
  color: #101d31;
  background: white;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.stat-grid article,
.data-table {
  border: 1px solid rgba(25, 48, 78, 0.08);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 34px rgba(16, 31, 54, 0.07);
}

.stat-grid article {
  padding: 22px;
}

.stat-grid span {
  display: block;
  margin-bottom: 12px;
  color: #798aa0;
}

.stat-grid strong {
  font-size: 32px;
}

.data-table {
  overflow: hidden;
}

.import-card {
  margin-bottom: 26px;
  border: 1px solid rgba(25, 48, 78, 0.08);
  border-radius: 14px;
  padding: 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(16, 31, 54, 0.07);
}

.import-card label span {
  color: #607087;
  font-weight: 800;
}

.import-card input,
.import-card textarea {
  color: #101d31;
  background: #f8fafc;
}

.import-submit {
  width: min(260px, 100%);
}

.vip-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.import-card h2 {
  margin: 0 0 18px;
}

.import-card select {
  color: #101d31;
  background: #f8fafc;
}

.app-rule-card p {
  margin: 0 0 14px;
  color: #607087;
  line-height: 1.8;
}

.app-rule-card code {
  border-radius: 6px;
  padding: 3px 6px;
  color: #12994d;
  background: #e8fbef;
}

.app-create-table {
  margin-bottom: 26px;
}

.app-create-form {
  padding: 22px 24px 24px;
}

.app-create-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.app-create-fields label {
  margin-bottom: 0;
}

.app-create-fields label span {
  color: #607087;
  font-weight: 800;
}

.app-create-fields input {
  color: #101d31;
  background: #f8fafc;
}

.app-create-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.app-create-actions .message {
  flex: 1;
  margin: 0;
}

.app-create-actions .submit-button {
  margin-top: 0;
}

.table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #edf1f5;
}

.table-title h2 {
  margin: 0;
}

.table-title button {
  min-height: 38px;
  color: #12994d;
  background: #e8fbef;
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #edf1f5;
}

.app-row-button {
  width: 100%;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: white;
  cursor: pointer;
}

.app-row-button:hover {
  background: #f8fafc;
}

.app-table .table-row {
  grid-template-columns: 1fr 0.8fr 0.9fr 1.2fr 1fr 0.6fr 1fr;
}

.app-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.app-manage-button {
  border: 1px solid #c9f6dc;
  border-radius: 8px;
  padding: 7px 12px;
  color: #0f9f51;
  font-weight: 900;
  background: #e9fbf0;
  cursor: pointer;
}

.app-manage-button:hover {
  border-color: #74e7a3;
  background: #d8f8e6;
}

.app-delete-button {
  border: 1px solid #ffd7dd;
  border-radius: 8px;
  padding: 7px 12px;
  color: #d9304c;
  font-weight: 900;
  background: #fff4f6;
  cursor: pointer;
}

.app-delete-button:hover {
  border-color: #ff9aaa;
  background: #ffe8ec;
}

.detail-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid #dfe7f0;
}

.detail-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 14px 18px;
  color: #607087;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.detail-tabs button.active {
  border-color: #23c875;
  color: #071a33;
}

.detail-panel {
  display: none;
}

.detail-panel.active {
  display: block;
}

.permission-workbench {
  overflow: hidden;
  border: 1px solid rgba(25, 48, 78, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(10, 30, 60, 0.08);
}

.permission-workbench .table-title p {
  margin: 8px 0 0;
  color: #607087;
  font-size: 14px;
}

.permission-heading,
.permission-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(260px, 1fr) minmax(320px, 1.4fr) 120px;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
}

.permission-heading {
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  color: #71829a;
  font-size: 13px;
  font-weight: 900;
  background: #f7f9fc;
}

.permission-row {
  border-bottom: 1px solid #edf1f5;
}

.permission-row strong {
  color: #071a33;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.permission-row span {
  color: #607087;
  line-height: 1.7;
}

.permission-mode-select {
  min-height: 40px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  padding: 0 12px;
  color: #101d31;
  background: #fff;
}

.permission-save-button {
  border: 1px solid #d8f8e6;
  border-radius: 8px;
  padding: 9px 14px;
  color: #0f9f51;
  font-weight: 900;
  background: #e9fbf0;
  cursor: pointer;
}

.permission-save-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.database-workbench {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  height: calc(100vh - 240px);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(25, 48, 78, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(10, 30, 60, 0.08);
}

.collection-sidebar {
  border-right: 1px solid #edf1f5;
  background: #fbfcfe;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #edf1f5;
}

.collection-toolbar h2 {
  margin: 0;
  font-size: 18px;
}

.collection-toolbar div {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  color: #0f9f51;
  font-size: 20px;
  font-weight: 900;
  background: #fff;
  cursor: pointer;
}

.collection-search {
  width: calc(100% - 32px);
  margin: 14px 16px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  padding: 12px;
}

.collection-list {
  padding: 10px 12px 18px;
}

.collection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px 12px;
  color: #24364f;
  font: inherit;
  font-weight: 800;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.collection-item:hover,
.collection-item.active {
  background: #e9fbf0;
}

.collection-item em {
  border-radius: 999px;
  padding: 3px 8px;
  color: #0f9f51;
  font-style: normal;
  background: #fff;
}

.record-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(420px, 1fr);
  flex: 1;
  min-height: 0;
}

.record-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid #edf1f5;
}

#recordRows {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.record-page-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.record-heading,
.sync-heading {
  grid-template-columns: 1fr;
}

.record-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.record-tools input {
  width: min(340px, 42vw);
  height: 38px;
  border-color: #dbe5f0;
  color: #101d31;
  background: #fff;
}

.record-id-item {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  padding: 16px 20px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.record-id-item span {
  display: block;
  overflow: hidden;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.record-id-item:hover,
.record-id-item.active {
  background: #f8fafc;
}

.record-id-item.active {
  border-left: 3px solid #23c875;
  padding-left: 17px;
}

.record-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  border-top: 1px solid #edf1f5;
  background: #fff;
}

.record-pager button {
  width: 38px;
  height: 34px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  color: #43546b;
  font: inherit;
  font-weight: 900;
  background: #f8fafc;
  cursor: pointer;
}

.record-pager button:disabled {
  color: #b6c1cf;
  cursor: not-allowed;
  opacity: 0.62;
}

.record-pager span {
  min-width: 58px;
  color: #607087;
  font-weight: 900;
  text-align: center;
}

.record-context-menu {
  position: fixed;
  z-index: 1000;
  min-width: 120px;
  border: 1px solid #ffd7dd;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 27, 46, 0.18);
}

.record-context-menu button {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  color: #d9304c;
  font: inherit;
  font-weight: 900;
  text-align: left;
  background: #fff4f6;
  cursor: pointer;
}

.record-context-menu button:hover {
  background: #ffe6eb;
}

.record-context-menu button + button {
  margin-top: 4px;
}

.record-context-menu button:not(.danger) {
  border: 1px solid #d8f8e6;
  color: #0f9f51;
  background: #e9fbf0;
}

.record-context-menu button:not(.danger):hover {
  background: #d8f8e6;
}

.record-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fbfcfe;
}

.record-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid #edf1f5;
  padding: 0 22px;
}

.record-detail-title h3 {
  margin: 0;
  font-size: 16px;
}

.record-detail-title span {
  overflow: hidden;
  max-width: 58%;
  color: #607087;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.json-viewer {
  flex: 1;
  min-height: 0;
  margin: 0;
  overflow: auto;
  padding: 22px;
  color: #213149;
  font-size: 13px;
  line-height: 1.65;
  background: #fbfcfe;
  white-space: pre-wrap;
  word-break: break-word;
}

.sync-heading {
  grid-template-columns: 0.8fr 1fr 1fr 0.8fr 1fr auto;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.heading {
  color: #7a8ca4;
  font-size: 13px;
  font-weight: 900;
  background: #f8fafc;
}

.table-row em {
  border-radius: 8px;
  padding: 6px 10px;
  color: #0f9f51;
  font-style: normal;
  font-weight: 900;
  background: #e9fbf0;
}

.empty-row {
  padding: 42px 24px;
  color: #7a8ca4;
  text-align: center;
}

.empty-row code {
  border-radius: 6px;
  padding: 3px 6px;
  color: #12994d;
  background: #e8fbef;
}

.empty-row.compact {
  padding: 20px 0;
  text-align: left;
}

.back-link {
  border-radius: 8px;
  padding: 10px 14px;
  color: #12994d;
  font-weight: 900;
  background: #e8fbef;
}

.analytics-card {
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(25, 48, 78, 0.08);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 34px rgba(16, 31, 54, 0.07);
}

.analytics-card .table-title p {
  margin: 8px 0 0;
  color: #8a9aae;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 24px 34px;
}

.core-grid article {
  border-right: 1px solid #e8edf3;
  text-align: center;
}

.core-grid article:last-child {
  border-right: 0;
}

.core-grid span,
.core-grid small {
  display: block;
  color: #8a9aae;
}

.core-grid strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 28px;
}

.core-grid b {
  color: #16b764;
}

.source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px 32px 38px;
}

.source-grid h3 {
  margin: 0 0 18px;
  font-size: 15px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  color: #607087;
}

.bar-row div {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #edf2f7;
}

.bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #23c875;
}

.bar-row b {
  color: #16b764;
}

.storage-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 12px;
  color: #607087;
}

.storage-item strong {
  color: #101d31;
}

.line-chart {
  position: relative;
  height: 320px;
  margin: 24px 32px 34px;
  border-bottom: 1px solid #dfe6ee;
  background:
    linear-gradient(#eef2f6 1px, transparent 1px) 0 0 / 100% 64px,
    white;
}

.line-chart svg {
  width: 100%;
  height: 280px;
}

.line {
  fill: none;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.line.today {
  stroke: #20c987;
}

.line.yesterday {
  stroke: #f3d226;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #8a9aae;
  font-size: 13px;
}

.today-dot,
.yesterday-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.today-dot {
  background: #20c987;
}

.yesterday-dot {
  background: #f3d226;
}

@media (max-width: 900px) {
  .feature-strip,
  .stat-grid,
  .app-create-fields,
  .vip-tool-grid,
  .core-grid,
  .source-grid,
  .database-workbench,
  .record-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .permission-heading,
  .permission-row {
    grid-template-columns: 1fr;
  }

  .collection-sidebar,
  .record-list {
    border-right: 0;
    border-bottom: 1px solid #edf1f5;
  }

  .core-grid article {
    border-right: 0;
    border-bottom: 1px solid #e8edf3;
    padding: 18px 0;
  }

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

  .dashboard-sidebar {
    position: static;
    min-height: auto;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-create-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .login-page {
    padding: 22px 16px 42px;
  }

  .brand {
    margin-left: 0;
  }

  .login-hero {
    margin-top: 54px;
  }

  .login-card {
    margin-top: 38px;
    padding: 26px 22px;
  }

  .dashboard-main {
    padding: 26px 18px 44px;
  }
}
