.dashboard-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(241, 200, 76, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(43, 118, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #eef3fb 0%, #e6edf8 46%, #dde6f4 100%);
  color: #17305e;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.dashboard-shell {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 104px 18px 36px;
  display: grid;
  gap: 22px;
}

.dashboard-hero,
.dashboard-section,
.dashboard-panel {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(25, 58, 117, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 54px rgba(15, 35, 76, 0.08);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 18px;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(10, 34, 74, 0.96), rgba(18, 64, 123, 0.92)),
    radial-gradient(circle at top right, rgba(241, 200, 76, 0.18), transparent 40%);
  color: #f8fbff;
}

.dashboard-kicker,
.dashboard-section-kicker,
.dashboard-side-kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-kicker,
.dashboard-side-kicker {
  color: rgba(241, 246, 255, 0.72);
}

.dashboard-hero h1,
.dashboard-section h2,
.dashboard-panel h2 {
  margin: 0;
}

.dashboard-hero h1 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.dashboard-description {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(239, 245, 255, 0.82);
}

.dashboard-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(241, 200, 76, 0.18);
  border: 1px solid rgba(241, 200, 76, 0.32);
  color: #fff9d3;
  font-size: 0.84rem;
  font-weight: 700;
}

.dashboard-badge-soft {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(244, 248, 255, 0.88);
}

.dashboard-hero-side {
  display: grid;
  gap: 14px;
}

.dashboard-side-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-side-card-muted {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-side-card strong {
  font-size: 1.3rem;
  line-height: 1.2;
}

.dashboard-side-card span {
  color: rgba(241, 246, 255, 0.76);
  font-size: 0.9rem;
}

.dashboard-section,
.dashboard-panel {
  padding: 22px;
}

.dashboard-section-head,
.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.dashboard-section-head h2,
.dashboard-panel-head h2 {
  font-size: 1.22rem;
  color: #16305e;
}

.dashboard-panel-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: #35548d;
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.dashboard-center-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 18px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(19, 48, 98, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dashboard-center-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 35, 76, 0.12);
}

.dashboard-center-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -28px auto;
  width: 94px;
  height: 94px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-center-card.operation {
  background: linear-gradient(135deg, #eef6ff 0%, #dfefff 100%);
}

.dashboard-center-card.reports {
  background: linear-gradient(135deg, #eef7f2 0%, #dbefe6 100%);
}

.dashboard-center-card.analysis {
  background: linear-gradient(135deg, #fff5e8 0%, #ffe9cf 100%);
}

.dashboard-center-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-center-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #17305e;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 48, 94, 0.1);
}

.dashboard-center-open {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #17305e;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-center-card strong {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.2;
}

.dashboard-center-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #42608f;
}

.dashboard-center-card small {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  color: #506d9c;
  font-weight: 700;
}

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

.dashboard-webtools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.dashboard-webtool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(19, 48, 98, 0.08);
  border-radius: 22px;
  background: linear-gradient(135deg, #f9fbff 0%, #eef4ff 100%);
  color: #17305e;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dashboard-webtool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 35, 76, 0.12);
  border-color: rgba(19, 48, 98, 0.14);
}

.dashboard-webtool-card.is-qnb {
  background: linear-gradient(135deg, rgba(242, 239, 255, 0.98), rgba(235, 242, 255, 0.98));
}

.dashboard-webtool-card.is-continental {
  background: linear-gradient(135deg, rgba(255, 243, 227, 0.98), rgba(255, 248, 236, 0.98));
}

.dashboard-webtool-icon {
  flex: 0 0 auto;
  min-width: 56px;
  height: 56px;
  padding: 0 12px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 48, 94, 0.08);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.dashboard-webtool-card.is-qnb .dashboard-webtool-icon {
  color: #4f2f98;
}

.dashboard-webtool-card.is-continental .dashboard-webtool-icon {
  color: #b96d07;
}

.dashboard-webtool-copy {
  display: grid;
  gap: 6px;
}

.dashboard-webtool-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-webtool-copy small {
  color: #5c7197;
  font-size: 0.82rem;
  line-height: 1.45;
}

.dashboard-webtool-modal[hidden] {
  display: none;
}

.dashboard-webtool-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.dashboard-webtool-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 31, 0.58);
  backdrop-filter: blur(6px);
}

.dashboard-webtool-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 28px));
  height: min(84vh, 920px);
  margin: 6vh auto 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(25, 58, 117, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 68px rgba(10, 24, 49, 0.28);
}

.dashboard-webtool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-webtool-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-webtool-link,
.dashboard-webtool-close {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 48, 94, 0.12);
  background: #eef4ff;
  color: #17305e;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dashboard-webtool-close {
  background: #17305e;
  color: #f7fbff;
}

.dashboard-webtool-note {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f6f9ff;
  color: #567094;
  font-size: 0.84rem;
  line-height: 1.5;
}

.dashboard-webtool-frame-shell {
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(19, 48, 98, 0.08);
  background: #ffffff;
}

.dashboard-webtool-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #ffffff;
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(19, 48, 98, 0.08);
  background: #f9fbff;
}

.dashboard-stat-card span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7ea4;
}

.dashboard-stat-card strong {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.dashboard-stat-card small {
  color: #5f7298;
  line-height: 1.45;
}

.dashboard-stat-card.tone-blue strong {
  color: #285fca;
}

.dashboard-stat-card.tone-gold strong {
  color: #b07b00;
}

.dashboard-stat-card.tone-red strong {
  color: #c93b47;
}

.dashboard-stat-card.tone-green strong {
  color: #12805c;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 18px;
}

.dashboard-users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.dashboard-user-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(22, 48, 94, 0.08);
  background: #f9fbff;
}

.dashboard-user-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-user-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #16305e;
}

.dashboard-user-role {
  font-size: 0.78rem;
  color: #6780a5;
  font-weight: 700;
}

.dashboard-user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-user-badge.is-online {
  background: rgba(18, 128, 92, 0.14);
  color: #12805c;
}

.dashboard-user-badge.is-offline {
  background: rgba(101, 122, 159, 0.14);
  color: #5f7298;
}

.dashboard-user-meta {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: #587093;
}

.dashboard-user-meta strong {
  color: #17305e;
}

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

.dashboard-list-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 54, 106, 0.08);
  background: #f9fbff;
}

.dashboard-list-item.is-urgent {
  background: linear-gradient(135deg, rgba(255, 243, 244, 0.96), rgba(255, 247, 248, 0.98));
  border-color: rgba(201, 59, 71, 0.18);
}

.dashboard-list-item.is-today {
  background: linear-gradient(135deg, rgba(255, 249, 235, 0.98), rgba(255, 252, 243, 0.98));
  border-color: rgba(176, 123, 0, 0.2);
}

.dashboard-list-item.is-note {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.dashboard-list-top,
.dashboard-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-list-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #16305e;
}

.dashboard-list-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #36548e;
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-list-item.is-urgent .dashboard-list-badge {
  background: rgba(201, 59, 71, 0.12);
  color: #a32e39;
}

.dashboard-list-item.is-today .dashboard-list-badge {
  background: rgba(176, 123, 0, 0.14);
  color: #906000;
}

.dashboard-list-detail {
  margin: 0;
  color: #4d628c;
  line-height: 1.6;
}

.dashboard-list-meta {
  font-size: 0.78rem;
  color: #667aa1;
  font-weight: 700;
}

.dashboard-empty {
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(26, 58, 112, 0.18);
  background: rgba(255, 255, 255, 0.6);
  color: #67799f;
}

@media (max-width: 1080px) {
  .dashboard-shell {
    padding-top: 92px;
    padding-left: 14px;
    padding-right: 14px;
  }

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

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

  .dashboard-webtool-dialog {
    width: min(1180px, calc(100vw - 18px));
    height: min(86vh, 900px);
    margin-top: 4vh;
  }
}

@media (max-width: 720px) {
  .dashboard-shell {
    gap: 14px;
    padding-top: 86px;
    padding-bottom: 24px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-hero,
  .dashboard-section,
  .dashboard-panel {
    border-radius: 22px;
    padding: 18px;
  }

  .dashboard-stats-grid,
  .dashboard-centers-grid,
  .dashboard-webtools-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-webtool-dialog {
    width: calc(100vw - 12px);
    height: calc(100vh - 20px);
    margin-top: 10px;
    padding: 16px;
    border-radius: 22px;
  }

  .dashboard-webtool-head {
    flex-direction: column;
    align-items: stretch;
  }
}
