:root {
  --brand-navy: #133a5e;
  --brand-blue: #1d5f91;
  --brand-cyan: #4cb8c4;
  --brand-ink: #1f2937;
  --brand-muted: #667085;
  --brand-border: rgba(19, 58, 94, 0.12);
  --brand-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 30px rgba(19, 58, 94, 0.12);
}

body.skin-blue {
  background:
    radial-gradient(circle at top left, rgba(76, 184, 196, 0.2), transparent 34%),
    linear-gradient(180deg, #f6fbff 0%, #edf4f8 52%, #f7f2eb 100%);
  color: var(--brand-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.header {
  box-shadow: 0 10px 30px rgba(19, 58, 94, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.skin-blue .header .logo,
.skin-blue .navbar {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.skin-blue .header .logo {
  color: var(--brand-white);
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.topbar-copy {
  color: rgba(255, 255, 255, 0.88);
}

.topbar-copy strong {
  display: block;
  font-size: 15px;
}

.topbar-copy span {
  display: block;
  font-size: 12px;
  opacity: 0.82;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.topbar-chip,
.topbar-link {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--brand-white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  padding: 10px 16px;
}

.topbar-chip {
  background: rgba(255, 255, 255, 0.08);
}

.topbar-link {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.topbar-link:hover,
.topbar-link:focus {
  background: rgba(255, 255, 255, 0.24);
  color: var(--brand-white);
  text-decoration: none;
}

.skin-blue .left-side {
  background: #b69cf8;
}

.sidebar {
  padding: 8px;
}

.sidebar-reference {
  min-height: calc(100vh - 16px);
}

.sidebar-shell {
  background: #2d2d2d;
  border-radius: 12px;
  color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 16px);
  padding: 18px 10px 10px;
}

.sidebar-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 8px;
}

.sidebar-brand-ref {
  align-items: center;
  color: #ffffff;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.sidebar-brand-ref strong {
  font-size: 16px;
  font-weight: 700;
}

.sidebar-brand-mark {
  align-items: center;
  color: #c8b5ff;
  display: inline-flex;
  font-size: 15px;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.sidebar-head-toggle {
  background: transparent;
  border: none;
  color: #8e8e8e;
  font-size: 15px;
  padding: 6px;
}

.sidebar-search {
  align-items: center;
  background: #353535;
  border-radius: 8px;
  color: #8f8f8f;
  display: flex;
  gap: 10px;
  margin: 0 2px 18px;
  padding: 10px 12px;
}

.sidebar-search input {
  background: transparent;
  border: none;
  color: #f2f2f2;
  font-size: 13px;
  outline: none;
  width: 100%;
}

.sidebar-search input::placeholder {
  color: #8f8f8f;
}

.sidebar-menu-ref {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu-ref > li {
  margin-bottom: 6px;
}

.sidebar-menu-ref > li > a {
  align-items: center;
  border-radius: 8px;
  color: #d4d4d4;
  display: flex;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-menu-ref > li > a:before {
  display: none;
}

.sidebar-menu-icon {
  align-items: center;
  color: #ececec;
  display: inline-flex;
  flex: 0 0 18px;
  font-size: 14px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.sidebar-menu-copy {
  display: flex;
  flex: 1;
  min-width: 0;
}

.sidebar-menu-label {
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.sidebar-menu-ref > li.active > a,
.sidebar-menu-ref > li > a:hover,
.sidebar-menu-ref > li > a:focus {
  background: #393939;
  color: #ffffff;
  text-decoration: none;
}

.sidebar-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 10px 6px 14px;
}

.sidebar-spacer {
  flex: 1;
  min-height: 28px;
}

.sidebar-menu-support > li > a {
  color: #cfcfcf;
}

.sidebar-menu-badge {
  background: #b69cf8;
  border-radius: 6px;
  color: #2d2d2d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
}

.sidebar-profile {
  align-items: center;
  background: #393939;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  margin: 12px 2px 0;
  padding: 10px;
}

.sidebar-profile-avatar {
  align-items: center;
  background: linear-gradient(135deg, #7f7f7f, #505050);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 11px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.sidebar-profile-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.sidebar-profile-copy strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-profile-copy span {
  color: #909090;
  font-size: 10px;
}

.sidebar-profile-more {
  color: #8c8c8c;
  font-size: 12px;
}

.content {
  padding: 28px 24px;
}

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

.compact-hero {
  align-items: stretch;
  background: linear-gradient(135deg, rgba(19, 58, 94, 0.98), rgba(29, 95, 145, 0.92));
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  color: #ffffff;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.9fr);
  padding: 22px;
}

.compact-kicker {
  color: rgba(255, 255, 255, 0.68);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.compact-hero-main h1 {
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 8px;
}

.compact-hero-main p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

.compact-hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compact-note-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
}

.compact-note-card span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.compact-note-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.compact-note-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.compact-sync-btn {
  align-items: center;
  background: #ffb347;
  border-radius: 14px;
  color: #2d2d2d;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
}

.compact-sync-btn:hover,
.compact-sync-btn:focus {
  color: #2d2d2d;
  text-decoration: none;
}

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

.compact-summary-card,
.compact-panel,
.compact-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.compact-summary-card {
  padding: 16px;
}

.compact-summary-card span {
  color: var(--brand-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.compact-summary-card strong {
  color: var(--brand-navy);
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.compact-summary-card small {
  color: var(--brand-muted);
  display: block;
  font-size: 12px;
  line-height: 1.6;
}

.compact-section,
.compact-panel {
  padding: 18px;
}

.compact-section-head {
  margin-bottom: 14px;
}

.compact-section-head h3 {
  color: var(--brand-navy);
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 21px;
  margin: 0 0 4px;
}

.compact-section-head p {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

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

.quick-action-card {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  color: var(--brand-navy);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 108px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
}

.quick-action-card:hover,
.quick-action-card:focus {
  color: var(--brand-navy);
  text-decoration: none;
}

.quick-action-icon {
  align-items: center;
  background: rgba(19, 58, 94, 0.07);
  border-radius: 16px;
  display: inline-flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.quick-action-icon img {
  max-height: 26px;
  max-width: 26px;
}

.quick-action-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.compact-dual-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.compact-finder-row {
  margin-bottom: 8px;
}

.compact-highlight-panel {
  background: linear-gradient(135deg, #f8fbfd, #f2f7fa);
}

.compact-highlight-list {
  display: grid;
  gap: 12px;
}

.compact-highlight-list > div {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(19, 58, 94, 0.08);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.compact-highlight-list span {
  color: var(--brand-muted);
  font-size: 12px;
}

.compact-highlight-list strong {
  color: var(--brand-navy);
  font-size: 15px;
}

.compact-report-mobile {
  display: none;
}

.compact-report-item {
  background: linear-gradient(180deg, #ffffff, #f7fbfc);
  border: 1px solid rgba(19, 58, 94, 0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 14px;
}

.compact-report-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.compact-report-top strong {
  color: var(--brand-navy);
  font-size: 15px;
}

.compact-report-top span {
  color: var(--brand-muted);
  font-size: 11px;
}

.compact-report-values {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-report-values small {
  color: var(--brand-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.compact-report-values b {
  color: var(--brand-navy);
  font-size: 12px;
  line-height: 1.4;
}

.compact-report-table-shell {
  margin-top: 4px;
}

.dashboard-refresh {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-panel {
  background:
    radial-gradient(circle at top right, rgba(76, 184, 196, 0.24), transparent 35%),
    linear-gradient(135deg, rgba(19, 58, 94, 0.98), rgba(29, 95, 145, 0.94));
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  color: var(--brand-white);
  padding: 28px;
}

.hero-grid,
.promo-grid,
.report-grid,
.login-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-kicker,
.soft-badge,
.promo-item .promo-meta,
.login-showcase .login-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.hero-title,
.surface-card .section-title h3,
.login-showcase h1,
.login-brand h2 {
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
}

.hero-title {
  font-size: 34px;
  line-height: 1.12;
  margin: 0 0 12px;
  max-width: 520px;
}

.hero-text,
.surface-card .section-title p,
.promo-item p,
.login-showcase p {
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--brand-white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  padding: 12px 18px;
  text-decoration: none;
}

.action-pill.primary {
  background: linear-gradient(135deg, #ffb347, #ff8c61);
  border-color: transparent;
  color: #1f2937;
}

.action-pill.secondary,
.glass-card {
  background: rgba(255, 255, 255, 0.08);
}

.action-pill:hover,
.action-pill:focus,
.service-tile:hover,
.service-tile:focus,
.sync-banner .btn-sync:hover,
.sync-banner .btn-sync:focus {
  text-decoration: none;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
}

.glass-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  opacity: 0.74;
  text-transform: uppercase;
}

.hero-highlight strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

.hero-highlight span,
.mini-metric span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.mini-metric {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 14px;
}

.surface-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.surface-card .section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.surface-card .section-title h3 {
  color: var(--brand-navy);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.surface-card .section-title p,
.hero-text,
.promo-item p,
.login-showcase p,
.login-note {
  color: var(--brand-muted);
}

.soft-badge {
  background: rgba(76, 184, 196, 0.16);
  border-radius: 999px;
  color: var(--brand-blue);
  padding: 8px 12px;
}

.stat-grid,
.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.service-tile,
.promo-item,
.report-card,
.finder-card,
.login-point,
.login-panel {
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  border: 1px solid var(--brand-border);
  border-radius: 22px;
}

.stat-card {
  padding: 18px;
}

.stat-icon,
.service-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(29, 95, 145, 0.12), rgba(76, 184, 196, 0.18));
  border-radius: 18px;
  color: var(--brand-blue);
  display: inline-flex;
  justify-content: center;
}

.stat-icon {
  font-size: 20px;
  height: 46px;
  width: 46px;
}

.stat-card h4 {
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 8px;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--brand-navy);
  display: block;
  font-size: 26px;
}

.stat-card span {
  color: var(--brand-muted);
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.service-tile {
  color: var(--brand-ink);
  min-height: 190px;
  padding: 20px 18px;
  text-decoration: none;
}

.service-icon {
  height: 68px;
  margin-bottom: 18px;
  width: 68px;
}

.service-icon img {
  max-height: 34px;
  max-width: 34px;
}

.service-tile h4 {
  color: var(--brand-navy);
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.service-tile p {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.service-tag {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sync-banner {
  align-items: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 179, 71, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 20px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px 20px;
}

.sync-banner strong {
  color: #8a4b05;
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.sync-banner span {
  color: #9a670e;
  display: block;
  font-size: 13px;
}

.sync-banner .btn-sync {
  background: #8a4b05;
  border-radius: 999px;
  color: #fff8ef;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  text-decoration: none;
}

.promo-spotlight .carousel,
.promo-spotlight .carousel-inner,
.promo-spotlight .item,
.promo-spotlight img {
  border-radius: 24px;
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-item {
  padding: 18px;
}

.promo-item .promo-meta {
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.promo-item h4 {
  color: var(--brand-navy);
  font-size: 17px;
  margin: 0 0 8px;
}

.report-card,
.finder-card {
  padding: 20px;
}

.finder-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.finder-row .input-group {
  flex: 1;
}

.finder-card .form-control,
.login-panel .form-control {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 58, 94, 0.14);
  border-radius: 14px;
  box-shadow: none;
  height: 46px;
  padding: 10px 14px;
}

.finder-card .btn-search,
.btn-login-refresh {
  align-items: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border: none;
  border-radius: 14px;
  color: var(--brand-white);
  display: inline-flex;
  justify-content: center;
}

.finder-card .btn-search {
  height: 46px;
  min-width: 50px;
}

.finder-hint {
  color: var(--brand-muted);
  font-size: 12px;
  margin-top: 12px;
}

.table-shell {
  overflow-x: auto;
}

.report-table > thead > tr > th {
  background: rgba(19, 58, 94, 0.06);
  border-bottom: none;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 12px;
  text-transform: uppercase;
}

.report-table > tbody > tr > td,
.report-table > tfoot > tr > td {
  border-top: 1px solid rgba(19, 58, 94, 0.08);
  padding: 14px 12px;
  vertical-align: middle;
}

.report-table .amount {
  color: var(--brand-navy);
  font-weight: 700;
}

.count-pill {
  background: rgba(19, 58, 94, 0.08);
  border-radius: 999px;
  color: var(--brand-blue);
  display: inline-flex;
  font-weight: 700;
  min-width: 42px;
  padding: 6px 10px;
}

.report-table tfoot tr {
  background: rgba(19, 58, 94, 0.06);
  font-weight: 700;
}

.login-refresh {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(76, 184, 196, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.18), transparent 30%),
    linear-gradient(180deg, #f4fbff 0%, #edf4f9 45%, #f7f0e8 100%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 18px;
}

.login-layout {
  max-width: 1080px;
  width: 100%;
}

.login-showcase {
  color: var(--brand-navy);
  padding: 24px 8px 24px 0;
}

.login-showcase .login-kicker {
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.login-showcase h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 16px;
}

.login-showcase p {
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 540px;
}

.login-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.login-point {
  min-width: 180px;
  padding: 16px 18px;
}

.login-point strong {
  color: var(--brand-blue);
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.login-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 22px 60px rgba(19, 58, 94, 0.16);
  overflow: hidden;
  padding: 30px;
}

.login-brand {
  text-align: center;
}

.login-brand img {
  margin-bottom: 16px;
  max-height: 64px;
}

.login-brand h2 {
  color: var(--brand-navy);
  font-size: 28px;
  margin: 0 0 6px;
}

.login-brand p {
  color: var(--brand-muted);
  margin: 0 0 24px;
}

.login-panel .form-group {
  margin-bottom: 16px;
}

.login-panel .form-control {
  height: 52px;
  padding: 12px 16px;
}

.btn-login-refresh {
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  height: 52px;
  width: 100%;
}

.login-note {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 1199px) {
  .compact-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-dual-grid,
  .compact-hero {
    grid-template-columns: 1fr;
  }

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

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .promo-grid,
  .report-grid,
  .login-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .content {
    padding: 20px 16px;
  }

  .topbar-shell {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .topbar-copy {
    width: 100%;
  }

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

@media (max-width: 767px) {
  .header {
    position: relative;
  }

  .skin-blue .header .logo {
    font-size: 18px;
    width: 100%;
  }

  .skin-blue .navbar {
    min-height: auto;
  }

  .navbar-right {
    float: none !important;
    width: 100%;
  }

  .topbar-shell,
  .topbar-actions,
  .finder-row,
  .sync-banner {
    flex-direction: column;
  }

  .topbar-shell {
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px 14px;
  }

  .topbar-copy strong {
    font-size: 14px;
  }

  .topbar-copy span {
    font-size: 11px;
    line-height: 1.5;
  }

  .topbar-chip,
  .topbar-link,
  .finder-card .btn-search,
  .sync-banner .btn-sync {
    justify-content: center;
    width: 100%;
  }

  .sidebar {
    padding: 8px;
  }

  .left-side {
    padding-top: 0;
  }

  .sidebar-reference,
  .sidebar-shell {
    min-height: auto;
  }

  .sidebar-shell {
    border-radius: 0;
    padding: 14px 8px 8px;
  }

  .sidebar-head {
    margin-bottom: 14px;
  }

  .sidebar-search {
    margin-bottom: 14px;
    padding: 9px 10px;
  }

  .sidebar-menu-icon {
    font-size: 14px;
    height: 16px;
    width: 16px;
  }

  .content {
    padding: 14px 12px 18px;
  }

  .dashboard-compact {
    gap: 14px;
  }

  .compact-hero {
    border-radius: 18px;
    gap: 14px;
    padding: 16px;
  }

  .compact-hero-main h1 {
    font-size: 27px;
  }

  .compact-hero-main p {
    font-size: 13px;
  }

  .compact-summary-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-summary-card,
  .compact-panel,
  .compact-section {
    border-radius: 16px;
  }

  .compact-summary-card {
    padding: 14px;
  }

  .compact-summary-card strong {
    font-size: 18px;
  }

  .compact-section,
  .compact-panel {
    padding: 14px;
  }

  .compact-section-head {
    margin-bottom: 12px;
  }

  .compact-section-head h3 {
    font-size: 18px;
  }

  .quick-action-grid {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-action-card {
    border-radius: 14px;
    gap: 8px;
    min-height: 88px;
    padding: 12px 8px;
  }

  .quick-action-icon {
    border-radius: 14px;
    height: 42px;
    width: 42px;
  }

  .quick-action-icon img {
    max-height: 22px;
    max-width: 22px;
  }

  .quick-action-label {
    font-size: 11px;
  }

  .compact-dual-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .compact-highlight-list > div {
    padding: 10px 12px;
  }

  .compact-highlight-list strong {
    font-size: 14px;
  }

  .compact-report-mobile {
    display: block;
  }

  .compact-report-table-shell {
    display: none;
  }

  .compact-report-item {
    border-radius: 14px;
    margin-bottom: 10px;
    padding: 12px;
  }

  .compact-report-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }

  .compact-report-values {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .surface-card,
  .report-card,
  .finder-card,
  .login-panel {
    border-radius: 18px;
    padding: 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-text,
  .surface-card .section-title p,
  .promo-item p {
    font-size: 13px;
  }

  .stat-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid,
  .report-grid,
  .hero-grid {
    gap: 14px;
  }

  .surface-card .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }

  .surface-card .section-title h3 {
    font-size: 20px;
  }

  .service-tile {
    min-height: auto;
    padding: 16px;
  }

  .service-icon {
    height: 54px;
    margin-bottom: 14px;
    width: 54px;
  }

  .service-tile h4 {
    font-size: 18px;
  }

  .promo-item,
  .sync-banner {
    padding: 14px;
  }

  .report-table > thead > tr > th,
  .report-table > tbody > tr > td,
  .report-table > tfoot > tr > td {
    font-size: 12px;
    padding: 10px 8px;
  }

  .login-showcase {
    padding: 0;
  }

  .login-showcase h1 {
    font-size: 36px;
  }

  .login-panel {
    padding: 24px 20px;
  }
}
