:root {
  --mos-navy: #172d3d;
  --mos-navy-deep: #112534;
  --mos-teal: #11afc0;
  --mos-teal-dark: #0798aa;
  --mos-teal-soft: #e6f8fa;
  --mos-orange: #ff742c;
  --mos-lime: #72c442;
  --mos-blue: #319ed8;
  --mos-ink: #142638;
  --mos-muted: #748699;
  --mos-line: #dfe8ef;
  --mos-bg: #f3f7f9;
  --mos-card: #ffffff;
  --blue: var(--mos-teal);
  --bg: var(--mos-bg);
}

body.admin-body {
  color: var(--mos-ink);
  background: var(--mos-bg);
}

.admin-shell {
  grid-template-columns: 250px minmax(0, 1fr);
  background: var(--mos-bg);
}

.admin-shell > aside.admin-sidebar {
  color: #fff;
  background: var(--mos-navy);
  box-shadow: none;
}

.admin-shell > aside .admin-brand {
  height: 90px;
  padding: 9px 10px 7px 14px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.admin-shell > aside .admin-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-shell > aside .admin-brand-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-shell > aside .admin-brand-info > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mos-teal);
  box-shadow: 0 9px 24px rgba(17, 175, 192, .28);
  font-size: 25px;
  font-weight: 700;
}

.admin-shell > aside .admin-brand strong {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell > aside .admin-brand small {
  min-width: 0;
  margin-top: 0;
  color: #91a9b9;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.admin-shell > aside > nav {
  padding: 12px 0;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

.admin-shell > aside > nav > small,
.admin-shell > aside > nav > small.admin-applications-label,
.admin-shell > aside > nav > small.admin-development-label {
  display: block;
  padding: 0 8px 6px;
  color: #7892a4 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.admin-shell > aside > nav > small.admin-development-label,
.admin-shell > aside > nav > small.admin-applications-label {
  padding-top: 12px;
}

.admin-shell > aside > nav > a,
.admin-shell > aside > nav > a:hover,
.admin-shell > aside > nav > a.active,
.admin-shell > aside > nav > a.active:hover,
.admin-shell > aside > nav > a.admin-application-link,
.admin-shell > aside > nav > a.admin-application-link:hover,
.admin-shell > aside > nav > a.admin-application-link.active,
.admin-shell > aside > nav > a.admin-application-link.active:hover,
.admin-shell > aside > nav > a[href="/mos/web-home"],
.admin-shell > aside > nav > a[href="/mos/studio"] {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  height: 37px;
  min-height: 37px;
  margin: 0 0 1px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #afc1cc;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.admin-shell > aside > nav > a:hover,
.admin-shell > aside > nav > a.admin-application-link:hover,
.admin-shell > aside > nav > a[href="/mos/web-home"]:hover,
.admin-shell > aside > nav > a[href="/mos/studio"]:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.admin-shell > aside > nav > a.active,
.admin-shell > aside > nav > a.active:hover,
.admin-shell > aside > nav > a.admin-application-link.active,
.admin-shell > aside > nav > a.admin-application-link.active:hover {
  color: #fff;
  background: var(--mos-teal);
  box-shadow: 0 9px 23px rgba(7, 152, 170, .22);
}

.admin-shell > aside > nav > a.active::before {
  display: none;
}

.admin-shell > aside > nav > a > i.material-symbols-outlined,
.admin-shell > aside > nav > a.admin-application-link > i.material-symbols-outlined,
.admin-shell > aside > nav > a[href="/mos/member"] > i,
.admin-shell > aside > nav > a[href="/mos/web-home"] > i,
.admin-shell > aside > nav > a[href="/mos/studio"] > i {
  width: 20px;
  flex: 0 0 20px;
  color: #91a9b9;
  font-family: "Material Symbols Outlined", "Material Symbols", sans-serif;
  font-size: 19px;
  font-weight: 400;
  text-align: center;
}

.admin-shell > aside > nav > a[href="/mos/member"] > i {
  font-size: 19px;
}

.admin-shell > aside > nav > a[href="/mos/member"] > i::before {
  display: none;
}

.admin-shell > aside > nav > a:hover > i.material-symbols-outlined,
.admin-shell > aside > nav > a.active > i.material-symbols-outlined,
.admin-shell > aside > nav > a.active > i {
  color: #fff;
}

.admin-shell > aside > nav > a[href="/mos/web-home"] > span,
.admin-shell > aside > nav > a[href="/mos/studio"] > span,
.admin-shell > aside > nav > a.admin-application-link > span {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell > aside .admin-user {
  min-height: 73px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-template-rows: 32px 40px;
  column-gap: 6px;
  background: var(--mos-navy-deep);
}

.admin-shell > aside .admin-user::after {
  display: none;
}

.admin-shell > aside .admin-user > .admin-user-identity {
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
  padding: 0 0 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.admin-shell > aside .admin-user strong {
  max-width: 105px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell > aside .admin-user small {
  max-width: 70px;
  margin: 0;
  color: #8098a7;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell > aside .admin-user small::before,
.admin-shell > aside .admin-user small::after {
  content: none;
}

.admin-shell > aside .admin-user > .admin-user-tools {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  padding: 1px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  display: flex;
  align-items: center;
  gap: 1px;
  background: rgba(255, 255, 255, .035);
}

.admin-shell > aside .admin-user .admin-user-tools > a,
.admin-shell > aside .admin-user > .admin-logout button {
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #8fa6b4;
  background: transparent;
  text-decoration: none;
}

.admin-shell > aside .admin-user .admin-user-tools > a:hover,
.admin-shell > aside .admin-user .admin-user-tools > a.active,
.admin-shell > aside .admin-user > .admin-logout button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.admin-shell > aside .admin-user .admin-user-tools > a.active {
  color: #fff;
  background: var(--mos-teal);
}

.admin-shell > aside .admin-user > .admin-logout {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin: 5px 8px 0 0;
}

.admin-shell > aside .admin-user .admin-user-tools i,
.admin-shell > aside .admin-user > .admin-logout i {
  font-size: 19px;
}

.admin-shell > aside .admin-user .admin-user-tools span {
  display: none;
}

.admin-shell > aside .admin-sidebar-tools {
  min-height: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  background: transparent;
}

.admin-shell > aside .admin-sidebar-tools > a {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #8fa6b4;
  text-decoration: none;
}

.admin-shell > aside .admin-sidebar-tools > a:hover,
.admin-shell > aside .admin-sidebar-tools > a.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.admin-shell > aside .admin-sidebar-tools > a.active {
  background: var(--mos-teal);
}

.admin-shell > aside .admin-sidebar-tools i {
  font-size: 18px;
}

.admin-shell > aside .admin-sidebar-tools span {
  display: none;
}

.admin-shell > aside.admin-sidebar-limited .admin-brand {
  height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.app-access-bar {
  min-height: 54px;
  padding: 8px 25px;
  border-bottom: 1px solid var(--mos-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fbfc;
}

.app-access-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-access-summary > strong {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #42586a;
  font-size: 11px;
  font-weight: 750;
}

.app-access-summary > strong .material-symbols-outlined {
  color: var(--mos-teal-dark);
  font-size: 17px;
}

.app-access-badges {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.app-access-badges > span {
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #cce7ea;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #087f8d;
  background: #ecf9fa;
  font-size: 10px;
  font-weight: 700;
}

.app-access-badges > span.fixed {
  color: #435769;
  border-color: #dce5eb;
  background: #fff;
}

.app-access-badges > small {
  color: #8a9aa8;
  font-size: 10px;
}

.app-access-open {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #9ed7dc;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #087f8d;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.app-access-open:hover {
  color: #fff;
  border-color: var(--mos-teal-dark);
  background: var(--mos-teal-dark);
}

.app-access-open .material-symbols-outlined {
  font-size: 18px;
}

.app-access-modal .modal-card {
  width: min(560px, 100%);
}

.app-access-modal .modal-body {
  max-height: min(520px, calc(100vh - 230px));
  overflow-y: auto;
}

.app-access-notice {
  margin-bottom: 14px;
  padding: 12px 13px;
  border: 1px solid #cde9ec;
  border-radius: 9px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #476272;
  background: #f1fbfc;
}

.app-access-notice > span {
  flex: 0 0 auto;
  color: var(--mos-teal-dark);
  font-size: 19px;
}

.app-access-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.app-access-notice strong {
  color: #153d4a;
}

.app-access-modal .app-access-option {
  min-height: 52px;
  margin: 0 0 7px;
  padding: 9px 12px;
  border: 1px solid #dfe8ef;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mos-ink);
  background: #fff;
  cursor: pointer;
}

.app-access-modal .app-access-option:has(input:checked) {
  border-color: #96d5db;
  background: #eefafb;
}

.app-access-modal .app-access-option.fixed {
  cursor: default;
  opacity: .78;
}

.app-access-modal .app-access-option > input {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: 0 0 17px;
  margin: 0;
  padding: 0;
  accent-color: var(--mos-teal-dark);
  box-shadow: none;
}

.app-access-modal .app-access-option > span {
  min-width: 0;
}

.app-access-modal .app-access-option strong,
.app-access-modal .app-access-option small {
  display: block;
}

.app-access-modal .app-access-option strong {
  font-size: 12px;
}

.app-access-modal .app-access-option small {
  margin-top: 2px;
  color: #8192a1;
  font-size: 10px;
  font-weight: 500;
}

.app-access-modal form > footer > span {
  margin-right: auto;
  color: #087f8d;
  font-size: 11px;
}

.app-access-empty {
  margin: 10px 0 0;
  color: #8192a1;
  font-size: 11px;
}

.admin-shell > main > section.application-runtime-section {
  padding-top: 34px;
}

.admin-shell > main {
  background: var(--mos-bg);
}

.admin-shell > main > header.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 67px;
  padding: 0 28px 0 32px;
  border-bottom: 1px solid var(--mos-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.admin-topbar-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-topbar-title h1 {
  overflow: hidden;
  margin: 0;
  color: var(--mos-ink);
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-topbar-title p {
  margin: 3px 0 0;
  color: #8a9aa8;
  font-size: 10px !important;
}

.admin-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--mos-line);
  border-radius: 9px;
  color: #536879;
  background: #fff;
}

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

.admin-public-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--mos-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #607789;
  background: #fff;
  font-size: 18px;
  text-decoration: none;
}

.admin-public-link:hover {
  border-color: #a8dce2;
  color: var(--mos-teal-dark);
  background: #f1fbfc;
}

.admin-site-id {
  padding: 6px 9px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  color: #607789;
  background: #f7fafb;
  font: 10px/1.2 monospace;
}

.admin-account-summary {
  padding-left: 14px;
  border-left: 1px solid var(--mos-line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-account-summary > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mos-navy);
  font-size: 11px;
  font-weight: 800;
}

.admin-account-summary strong,
.admin-account-summary small {
  display: block;
  white-space: nowrap;
}

.admin-account-summary strong {
  color: #243746;
  font-size: 11px;
  font-weight: 750;
}

.admin-account-summary small {
  margin-top: 3px;
  color: #8b99a5;
  font-size: 9px;
}

.admin-topbar-logout {
  margin: 0 0 0 2px;
}

.admin-topbar-logout button {
  width: auto;
  height: 34px;
  padding: 0 11px 0 9px;
  border: 1px solid var(--mos-line);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6f8393;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-topbar-logout button:hover {
  border-color: #a8dce2;
  color: var(--mos-teal-dark);
  background: #f1fbfc;
}

.admin-topbar-logout i {
  font-size: 18px;
}

.admin-shell > main > section {
  min-height: calc(100vh - 67px);
  padding: 32px 34px 44px;
  background: var(--mos-bg);
}

/* Dashboard */
.dashboard-page {
  width: min(1460px, 100%);
  margin: 0 auto;
}

.dashboard-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-heading > div > small,
.member-page-head > div > small,
.settings-page-head small {
  color: var(--mos-teal-dark) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.dashboard-heading h2,
.member-page-head h2,
.settings-page-head h2 {
  margin: 6px 0 5px;
  color: var(--mos-ink) !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  letter-spacing: -.7px;
}

.dashboard-heading p,
.member-page-head p,
.settings-page-head p {
  margin: 0;
  color: var(--mos-muted) !important;
  font-size: 12px !important;
}

.dashboard-heading time {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #506578;
  font-size: 11px;
}

.dashboard-heading time > span {
  color: #718799;
  font-size: 16px;
}

.dashboard-heading time small {
  color: #96a4af;
}

.dashboard-stats {
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: transparent !important;
}

.dashboard-stat {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  padding: 22px 23px;
  border: 1px solid var(--mos-line);
  border-radius: 15px;
  color: var(--mos-ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 59, 75, .05);
  text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease;
}

.dashboard-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(35, 59, 75, .09);
}

.dashboard-stat::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -34px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--stat-soft);
}

.dashboard-stat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-stat header > span {
  color: #6d8192;
  font-size: 11px;
  font-weight: 750;
}

.dashboard-stat header i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--stat-color);
  background: var(--stat-icon);
  font-size: 20px;
  font-style: normal;
}

.dashboard-stat > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -1.2px;
}

.dashboard-stat > strong small {
  margin-left: 3px;
  font-size: 12px;
  letter-spacing: 0;
}

.dashboard-stat p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #91a0ac;
  font-size: 10px;
}

.dashboard-stat.tone-teal { --stat-color: #0aa4b5; --stat-icon: #e4f8fa; --stat-soft: #e3f7f9; }
.dashboard-stat.tone-lime { --stat-color: #65b63a; --stat-icon: #edf9e8; --stat-soft: #edf8e8; }
.dashboard-stat.tone-blue { --stat-color: #2e9ddd; --stat-icon: #e9f5fc; --stat-soft: #e8f4fb; }
.dashboard-stat.tone-orange { --stat-color: #ff6b28; --stat-icon: #fff0e8; --stat-soft: #ffefe7; }

.dashboard-traffic-panel {
  margin-bottom: 20px;
}

.dashboard-traffic-panel > header {
  padding: 16px 22px;
}

.dashboard-traffic-panel > header h3 {
  font-size: 17px;
}

.dashboard-traffic-panel > header p {
  margin-top: 6px;
  font-size: 12px;
}

.traffic-header-state {
  display: flex;
  align-items: center;
  gap: 13px;
}

.traffic-header-state > span {
  color: #8b9aa6;
  font-size: 11px;
}

.traffic-header-state button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d8e5ea;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #56707e;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}

.traffic-header-state button:hover {
  border-color: #a8dce2;
  color: var(--mos-teal-dark);
  background: #f5fcfd;
}

.traffic-header-state button:disabled {
  opacity: .52;
  cursor: wait;
}

.traffic-header-state i {
  font-size: 15px;
}

.traffic-message {
  min-height: 178px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #718795;
  background: linear-gradient(135deg, #fbfefe, #f6fafc);
}

.traffic-message[hidden],
.traffic-content[hidden] {
  display: none !important;
}

.traffic-message i {
  color: var(--mos-teal);
  font-size: 20px;
}

.traffic-message strong {
  font-size: 13px;
}

.traffic-message.error i {
  color: #e26847;
}

.traffic-content {
  padding: 18px;
  background: #fbfdfe;
}

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

.traffic-summary > div {
  min-height: 88px;
  padding: 15px 17px 14px 58px;
  border: 1px solid #e1ebef;
  border-radius: 11px;
  position: relative;
  background: #fff;
}

.traffic-summary i {
  position: absolute;
  left: 16px;
  top: 17px;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
  font-size: 17px;
}

.traffic-summary span,
.traffic-summary strong,
.traffic-summary small {
  display: block;
}

.traffic-summary span {
  color: #788c99;
  font-size: 12px;
  font-weight: 750;
}

.traffic-summary strong {
  margin-top: 5px;
  color: var(--mos-ink);
  font-size: 24px;
  letter-spacing: -.5px;
}

.traffic-summary small {
  margin-top: 3px;
  color: #9aa8b2;
  font-size: 11px;
}

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

.traffic-chart-card,
.traffic-files {
  border: 1px solid #e1ebef;
  border-radius: 11px;
  background: #fff;
}

.traffic-chart-card > header,
.traffic-files > header {
  min-height: 56px;
  padding: 12px 15px;
  border-bottom: 1px solid #edf2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic-chart-card > header strong,
.traffic-chart-card > header span,
.traffic-files > header strong,
.traffic-files > header span {
  display: block;
}

.traffic-chart-card > header strong,
.traffic-files > header strong {
  color: var(--mos-ink);
  font-size: 14px;
}

.traffic-chart-card > header span,
.traffic-files > header span {
  margin-top: 3px;
  color: #93a1ab;
  font-size: 11px;
}

.traffic-chart-card > header em,
.traffic-files > header em {
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .4px;
}

.traffic-bars {
  height: 174px;
  min-width: 0;
  margin: 13px 15px 0;
  padding: 25px 1px 0;
  border-bottom: 1px solid #cfdce2;
  display: grid;
  align-items: end;
  gap: 4px;
  position: relative;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 36px, #eef3f5 37px);
}

.traffic-bars.daily {
  grid-template-columns: repeat(7, minmax(12px, 1fr));
  gap: 10px;
  padding-right: 66px;
}

.traffic-bars.monthly {
  grid-template-columns: repeat(12, minmax(8px, 1fr));
  gap: 7px;
}

.traffic-bars > span {
  height: calc(var(--traffic-level, 0) * 100%);
  min-height: 0;
  border-radius: 4px 4px 1px 1px;
  position: relative;
  background: linear-gradient(180deg, #15b9c8, #087e91);
  outline: 0;
  transition: filter .15s ease, transform .15s ease;
}

.traffic-bars.monthly > span {
  background: linear-gradient(180deg, #46b6e7, #287dbc);
}

.traffic-bars > span:hover,
.traffic-bars > span:focus-visible {
  z-index: 2;
  filter: saturate(1.2) brightness(1.05);
  transform: scaleX(1.2);
}

.traffic-bars > span > b {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  z-index: 4;
  width: max-content;
  max-width: 230px;
  padding: 6px 8px;
  border-radius: 6px;
  display: none;
  transform: translateX(-50%);
  color: #fff;
  background: #153645;
  box-shadow: 0 5px 14px rgba(22, 54, 69, .18);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.traffic-bars > span:hover > b,
.traffic-bars > span:focus-visible > b {
  display: block;
}

.traffic-y-axis {
  position: absolute;
  inset: 25px 0 0 auto;
  z-index: 1;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.traffic-y-axis i {
  padding-left: 4px;
  color: #738894;
  background: rgba(255, 255, 255, .88);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.traffic-chart-axis {
  padding: 7px 15px 13px;
  display: flex;
  justify-content: space-between;
  color: #99a7b1;
  font-size: 10px;
}

.traffic-chart-axis span:nth-child(2) {
  color: #6d818f;
}

.traffic-month-usage {
  min-height: 207px;
  padding: 29px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.traffic-month-numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.traffic-month-numbers strong {
  color: var(--mos-ink);
  font-size: 30px;
  letter-spacing: -.8px;
}

.traffic-month-numbers span {
  color: #8194a0;
  font-size: 14px;
  font-weight: 700;
}

.traffic-month-progress {
  height: 13px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8f0f3;
  box-shadow: inset 0 1px 2px rgba(37, 69, 83, .08);
}

.traffic-month-progress i {
  width: 0;
  height: 100%;
  border-radius: inherit;
  display: block;
  background: linear-gradient(90deg, #12acbd, #2d91d0);
  box-shadow: 0 2px 7px rgba(13, 151, 172, .24);
  transition: width .45s ease;
}

.traffic-month-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #80929e;
  font-size: 11px;
}

.traffic-month-meta b {
  color: var(--mos-teal-dark);
  font-size: 13px;
}

.traffic-month-usage > p {
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px solid #edf2f4;
  color: #9aa8b1;
  font-size: 11px;
}

.traffic-point-usage {
  min-height: 207px;
  padding: 23px 24px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.traffic-point-numbers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}

.traffic-point-numbers > div:last-child {
  padding-left: 18px;
  border-left: 1px solid #e5ecef;
  text-align: right;
}

.traffic-point-numbers small {
  display: block;
  margin-bottom: 4px;
  color: #8194a0;
  font-size: 11px;
  font-weight: 700;
}

.traffic-point-numbers strong,
.traffic-point-numbers span {
  display: block;
  color: var(--mos-ink);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.7px;
}

.traffic-point-numbers span {
  color: var(--mos-teal-dark);
  font-size: 20px;
}

.traffic-point-meta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  color: #80929e;
  font-size: 10px;
}

.traffic-point-meta span {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f4f8fa;
  text-align: center;
}

.traffic-point-meta b {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #234353;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic-point-usage > p {
  margin: 13px 0 0;
  color: #8b9ba5;
  font-size: 10px;
  line-height: 1.55;
}

.traffic-point-usage > p.warning {
  color: #c0523f;
  font-weight: 700;
}

.traffic-files {
  margin-top: 12px;
}

.traffic-files > div > div {
  min-height: 39px;
  padding: 8px 15px;
  border-bottom: 1px solid #eef3f5;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.traffic-files > div > div:last-child {
  border-bottom: 0;
}

.traffic-files > div > div > b {
  color: #8fa1ad;
  font-size: 10px;
}

.traffic-files a {
  min-width: 0;
  overflow: hidden;
  color: #3f5969;
  text-decoration: none;
}

.traffic-files a:hover {
  color: var(--mos-teal-dark);
  text-decoration: underline;
}

.traffic-files code {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic-files > div > div > span {
  color: #728694;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.traffic-files-empty {
  margin: 0;
  padding: 22px;
  color: #8da0ac;
  font-size: 11px;
  text-align: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  gap: 18px;
}

.dashboard-panel {
  overflow: hidden;
  border: 1px solid var(--mos-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 59, 75, .045);
}

.dashboard-panel > header {
  min-height: 69px;
  padding: 16px 20px;
  border-bottom: 1px solid #e8eef2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-panel > header h3 {
  margin: 0;
  color: var(--mos-ink);
  font-size: 14px;
}

.dashboard-panel > header p {
  margin: 4px 0 0;
  color: #8b9aa6;
  font-size: 10px;
}

.dashboard-panel > header > a {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--mos-teal-dark);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-panel > header > a span {
  font-size: 15px;
}

.dashboard-quick-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-quick-grid > a {
  min-height: 76px;
  padding: 14px;
  border: 1px solid #e4ebf0;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  color: var(--mos-ink);
  text-decoration: none;
}

.dashboard-quick-grid > a:hover {
  border-color: #b9e4e8;
  background: #f5fcfd;
}

.dashboard-quick-grid > a > i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
  font-size: 20px;
  font-style: normal;
}

.dashboard-quick-grid strong,
.dashboard-quick-grid span {
  display: block;
}

.dashboard-quick-grid strong {
  font-size: 12px;
}

.dashboard-quick-grid span {
  margin-top: 4px;
  color: #8a9aa6;
  font-size: 9px;
}

.dashboard-quick-grid em {
  color: #9babb6;
  font-size: 17px;
  font-style: normal;
}

.dashboard-status-list {
  padding: 8px 20px 14px;
}

.dashboard-status-list > div {
  min-height: 50px;
  border-bottom: 1px solid #edf1f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-status-list > div:last-child {
  border-bottom: 0;
}

.dashboard-status-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64798a;
  font-size: 10px;
}

.dashboard-status-list i {
  color: var(--mos-teal-dark);
  font-size: 17px;
  font-style: normal;
}

.dashboard-status-list strong {
  font-size: 12px;
}

.dashboard-app-panel {
  grid-column: 1 / -1;
}

.dashboard-app-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-app-list > a {
  min-height: 84px;
  padding: 15px 17px;
  border-right: 1px solid #edf1f4;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  color: var(--mos-ink);
  text-decoration: none;
}

.dashboard-app-list > a:last-child {
  border-right: 0;
}

.dashboard-app-list > a:hover {
  background: #f7fbfc;
}

.dashboard-app-list > a > span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
  font-size: 18px;
}

.dashboard-app-list strong,
.dashboard-app-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-app-list strong {
  font-size: 11px;
}

.dashboard-app-list small {
  margin-top: 4px;
  color: #91a0ab;
  font: 9px monospace;
}

.dashboard-app-list em {
  color: #9cafba;
  font-size: 17px;
  font-style: normal;
}

.dashboard-empty {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8294a1;
}

.dashboard-empty > span {
  font-size: 28px;
}

.dashboard-empty strong {
  margin: 8px 0;
  font-size: 11px;
}

.dashboard-empty a {
  color: var(--mos-teal-dark);
  font-size: 10px;
}

/* Member and settings */
.member-page-head,
.settings-page-head {
  margin-bottom: 22px;
}

.primary,
.member-search-bar button,
.add-group-member-button {
  border-color: var(--mos-teal) !important;
  border-radius: 9px !important;
  color: #fff !important;
  background: var(--mos-teal) !important;
  box-shadow: 0 7px 17px rgba(17, 175, 192, .18) !important;
}

.primary:hover,
.member-search-bar button:hover,
.add-group-member-button:hover {
  border-color: var(--mos-teal-dark) !important;
  background: var(--mos-teal-dark) !important;
}

.member-workspace {
  gap: 18px;
}

.admin-shell .group-sidebar,
.group-users,
.settings-panel,
.group-summary article {
  border-color: var(--mos-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(35, 59, 75, .045) !important;
}

.admin-shell .group-sidebar nav a.active,
.admin-shell .group-sidebar nav a.active:hover {
  color: #087f8d !important;
  background: var(--mos-teal-soft) !important;
}

.group-sidebar nav a.active .group-avatar,
.selected-group > span {
  color: #fff !important;
  background: var(--mos-teal) !important;
}

.group-sidebar header > span,
.group-user-count,
.member-page-head > div > small,
.settings-page-head small,
.selected-group small,
.settings-icon {
  color: var(--mos-teal-dark) !important;
}

.group-sidebar header > span,
.group-user-name > span,
.settings-icon,
.group-users-empty > span {
  color: var(--mos-teal-dark) !important;
  background: var(--mos-teal-soft) !important;
}

.member-search-bar,
.group-users th,
.group-sidebar > footer,
.setting-status {
  background: #f7fafb !important;
}

.member-search-bar {
  padding: 10px 18px !important;
}

.group-user-header-actions {
  flex-wrap: nowrap;
}

.member-inline-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-inline-search label {
  position: relative;
  display: block;
}

.member-inline-search label > span {
  position: absolute;
  top: 50%;
  left: 9px;
  z-index: 1;
  color: #91a4b2;
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.member-inline-search input {
  width: 220px;
  height: 34px;
  padding: 0 10px 0 31px;
  border: 1px solid #d7e1ed;
  border-radius: 8px;
  outline: 0;
  color: var(--mos-ink);
  background: #fff;
  font-size: 10px;
}

.member-inline-search input:focus {
  border-color: var(--mos-teal);
  box-shadow: 0 0 0 3px rgba(17, 175, 192, .1);
}

.member-inline-search button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--mos-teal);
  border-radius: 8px;
  color: #fff;
  background: var(--mos-teal);
  font-size: 10px;
  font-weight: 700;
}

.member-inline-search button:hover {
  border-color: var(--mos-teal-dark);
  background: var(--mos-teal-dark);
}

.member-inline-search > a {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #748699;
  text-decoration: none;
}

.member-inline-search > a:hover {
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
}

.member-inline-search > a span {
  font-size: 17px;
}

@media (max-width: 1100px) {
  .group-users > header {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .group-user-header-actions {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .group-user-header-actions {
    flex-wrap: wrap;
  }

  .member-inline-search {
    order: 3;
    width: 100%;
  }

  .member-inline-search label {
    flex: 1;
  }

  .member-inline-search input {
    width: 100%;
  }
}

.member-search-bar input:focus,
.settings-panel input:focus,
.settings-panel select:focus,
.settings-panel textarea:focus {
  border-color: var(--mos-teal) !important;
  box-shadow: 0 0 0 3px rgba(17, 175, 192, .1) !important;
}

.toggle-switch.on {
  background: var(--mos-teal) !important;
}

.settings-panel > header,
.group-users > header {
  background: #fff !important;
}

.settings-panel {
  margin-bottom: 16px;
}

.settings-icon {
  border-radius: 10px !important;
}

/* Generated application shell */
.admin-shell > main > section > .app-head-tools {
  min-height: 40px;
  margin: 0 0 10px;
  display: flex;
  justify-content: flex-end;
}

.app-head-tools > span {
  color: #7b8d9a !important;
}

.app-settings-open {
  width: auto !important;
  height: 36px !important;
  padding: 0 12px !important;
  border-color: #cbdde4 !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  gap: 6px;
  color: var(--mos-teal-dark) !important;
  font-size: 11px;
  font-weight: 700;
}

.app-settings-open:hover {
  border-color: var(--mos-teal) !important;
  background: var(--mos-teal-soft) !important;
}

.app-runtime-settings,
#appRuntimeContent {
  border-radius: 14px;
}

.app-runtime-settings fieldset,
.app-runtime-settings fieldset:last-child {
  border-left-color: var(--mos-teal) !important;
  border-radius: 9px;
  background: #f5fafb !important;
}

.app-runtime-settings input:not([type="checkbox"]):focus,
.app-runtime-settings textarea:focus,
.app-runtime-settings select:focus {
  border-color: var(--mos-teal) !important;
  box-shadow: inset 0 0 0 1px var(--mos-teal) !important;
}

.app-runtime-settings input[type="checkbox"] {
  accent-color: var(--mos-teal) !important;
}

.app-runtime-settings-foot button {
  border-color: var(--mos-teal) !important;
  border-radius: 8px !important;
  background: var(--mos-teal) !important;
}

/* Login */
.login-shell .visual {
  background: var(--mos-navy);
}

.login-shell .brand > span {
  color: #fff;
  background: var(--mos-teal);
}

.login-shell .brand em,
.login-shell .visual > footer {
  color: #91cbd2;
}

.login-shell .hero p {
  color: #b9cbd5;
}

.login-shell .icon {
  color: var(--mos-teal-dark);
  background: var(--mos-teal-soft);
}

.login-shell .overline,
.login-shell .signup-row button {
  color: var(--mos-teal-dark);
}

.login-card input:focus,
.modal-body input:focus {
  border-color: var(--mos-teal);
  box-shadow: 0 0 0 3px rgba(17, 175, 192, .11);
}

.remember-login input {
  accent-color: var(--mos-teal);
}

/* Modals */
.modal-card {
  border-radius: 14px;
}

.modal-card header small,
.modal-body label b {
  color: var(--mos-teal-dark);
}

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

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

  .dashboard-app-list > a {
    border-bottom: 1px solid #edf1f4;
  }
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell > aside.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(290px, 84vw);
    display: flex;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }

  .admin-body.admin-menu-open .admin-shell > aside.admin-sidebar {
    transform: translateX(0);
  }

  .admin-body.admin-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(14, 33, 46, .46);
  }

  .admin-menu-toggle {
    display: grid;
    place-items: center;
  }

  .admin-shell > main > header.admin-topbar {
    padding: 0 16px;
  }

  .admin-account-summary > div,
  .admin-site-id {
    display: none;
  }

  .admin-account-summary {
    padding-left: 10px;
  }

  .admin-shell > main > section {
    padding: 24px 18px 34px;
  }

  .admin-shell > main > section.application-runtime-section {
    padding-top: 18px;
  }

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

  .traffic-chart-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-app-panel {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .admin-public-link {
    display: none;
  }

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

  .dashboard-heading time {
    align-self: flex-start;
  }

  .dashboard-stats,
  .dashboard-quick-grid,
  .dashboard-app-list {
    grid-template-columns: 1fr;
  }

  .traffic-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-traffic-panel > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .traffic-header-state {
    width: 100%;
    justify-content: space-between;
  }

  .traffic-content {
    padding: 12px;
  }

  .traffic-files > div > div {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .traffic-files > div > div > span {
    grid-column: 2;
  }

  .dashboard-stat {
    min-height: 142px;
  }

  .dashboard-app-list > a {
    border-right: 0;
  }

  .member-workspace {
    grid-template-columns: 1fr !important;
  }

  .app-access-bar {
    padding: 10px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .app-access-summary {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .app-access-open {
    align-self: flex-end;
  }
}

/* Dashboard monthly plan: separate billing periods from calendar traffic analytics. */
.traffic-plan { margin: 18px; padding: 20px; border: 1px solid #dce9eb; border-radius: 12px; background: #fff; }
.traffic-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.traffic-plan-heading h4 { margin: 0; color: var(--mos-ink); font-size: 16px; }
.traffic-plan-heading p { margin: 5px 0 0; color: #657d89; font-size: 12px; }
.traffic-plan-charge { flex-shrink: 0; padding: 9px 15px; border-radius: 8px; background: var(--mos-teal-dark); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.traffic-plan-charge:hover { filter: brightness(.92); }
.traffic-plan-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.traffic-plan-metrics > div { min-width: 0; padding: 15px; background: #f5f9fa; border-radius: 9px; }
.traffic-plan-metrics span, .traffic-plan-metrics strong, .traffic-plan-metrics small { display: block; }
.traffic-plan-metrics span { color: #617b87; font-size: 12px; }
.traffic-plan-metrics strong { margin: 8px 0; color: var(--mos-ink); font-size: 25px; font-weight: 750; overflow-wrap: anywhere; }
.traffic-plan-metrics > div:first-child strong { color: var(--mos-teal-dark); }
.traffic-plan-metrics small { color: #6c808b; font-size: 11px; line-height: 1.6; }
.traffic-plan-metrics .traffic-plan-date { font-size: 20px; }
.traffic-plan-progress-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #567480; font-size: 12px; }
.traffic-plan .traffic-month-progress { margin-top: 8px; height: 10px; }
.traffic-plan-details { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: #607b87; font-size: 11px; }
.traffic-plan-details b { font-weight: 500; }
.traffic-plan-notice { margin: 16px 0 0; color: #376d61; font-size: 12px; line-height: 1.7; }
.traffic-plan-notice.warning { color: #936025; }
.traffic-plan-rules { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #e8eff1; color: #71838d; font-size: 11px; line-height: 1.8; }
.traffic-chart-grid-single { grid-template-columns: minmax(0,1fr); }
@media (max-width: 1200px) { .traffic-plan-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) {
  .traffic-plan { margin: 12px; padding: 14px; }
  .traffic-plan-heading { align-items: flex-start; }
  .traffic-plan-heading p { line-height: 1.7; }
  .traffic-plan-metrics { gap: 8px; }
  .traffic-plan-metrics > div { padding: 12px; }
  .traffic-plan-metrics strong { font-size: 22px; }
  .traffic-plan-metrics .traffic-plan-date { font-size: 17px; }
}
@media (max-width: 380px) { .traffic-plan-metrics { grid-template-columns: minmax(0,1fr); } }
