html[data-rcm-experience] body.task-login {
  transition: background-color 160ms ease, color 160ms ease;
}

html[data-rcm-experience] body {
  transition: background-color 160ms ease, color 160ms ease;
}

#rcm-experience-selector {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rcm-experience-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.rcm-experience-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rcm-experience-description {
  margin: 10px 0 0;
  line-height: 1.5;
  color: #5f6368;
}

.rcm-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.rcm-experience-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(32, 33, 36, 0.14);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.rcm-experience-card:hover,
.rcm-experience-card.is-active {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.rcm-experience-badge {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rcm-experience-subtitle {
  color: #667085;
  font-size: 0.88rem;
}

html[data-rcm-experience="roundcube-classic"] body {
  background: linear-gradient(180deg, #f4f7fb 0%, #e8edf5 100%);
}

html[data-rcm-experience="roundcube-classic"] #login-form,
html[data-rcm-experience="roundcube-classic"] #layout-menu,
html[data-rcm-experience="roundcube-classic"] #layout-content,
html[data-rcm-experience="roundcube-classic"] #layout,
html[data-rcm-experience="roundcube-classic"] .listing tbody tr.selected,
html[data-rcm-experience="roundcube-classic"] .listing li.selected,
html[data-rcm-experience="roundcube-classic"] .records-table tr.selected {
  border-radius: 16px;
}

html[data-rcm-experience="roundcube-classic"] .button.mainaction.submit,
html[data-rcm-experience="roundcube-classic"] .button.create {
  background: #2563eb;
}

html[data-rcm-experience="roundcube-classic"] #layout-menu,
html[data-rcm-experience="roundcube-classic"] .popupmenu,
html[data-rcm-experience="roundcube-classic"] .box,
html[data-rcm-experience="roundcube-classic"] #login-form {
  box-shadow: 0 12px 28px rgba(36, 54, 79, 0.12);
}

html[data-rcm-experience="roundcube-modern"] body {
  background: linear-gradient(180deg, #f5f8f7 0%, #edf3f1 100%);
}

html[data-rcm-experience="roundcube-modern"] .button.mainaction.submit,
html[data-rcm-experience="roundcube-modern"] .button.create {
  background: #0f766e;
}

html[data-rcm-experience="roundcube-modern"] #layout-content,
html[data-rcm-experience="roundcube-modern"] #layout-menu,
html[data-rcm-experience="roundcube-modern"] #login-form,
html[data-rcm-experience="roundcube-modern"] .box,
html[data-rcm-experience="roundcube-modern"] .popupmenu {
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(26, 54, 50, 0.14);
}

html[data-rcm-experience="gmail-classic"] body {
  background: linear-gradient(180deg, #f7f8f9 0%, #eef1f3 100%);
}

html[data-rcm-experience="gmail-classic"] .button.mainaction.submit,
html[data-rcm-experience="gmail-classic"] .button.create {
  background: #1a73e8;
}

html[data-rcm-experience="gmail-classic"] #layout-content,
html[data-rcm-experience="gmail-classic"] .box,
html[data-rcm-experience="gmail-classic"] .listing,
html[data-rcm-experience="gmail-classic"] .popupmenu {
  border-radius: 14px;
}

html[data-rcm-experience="gmail-classic"] #layout-menu {
  border-radius: 0 14px 14px 0;
}

html[data-rcm-experience="gmail-classic"] .listing tbody tr td,
html[data-rcm-experience="gmail-classic"] .listing li {
  border-bottom: 1px solid rgba(60, 64, 67, 0.12);
}

html[data-rcm-experience="gmail-modern"] body {
  background: linear-gradient(180deg, #f9fbff 0%, #edf3fb 100%);
}

html[data-rcm-experience="gmail-modern"] .button.mainaction.submit,
html[data-rcm-experience="gmail-modern"] .button.create {
  background: #0b57d0;
}

html[data-rcm-experience="gmail-modern"] #layout-content,
html[data-rcm-experience="gmail-modern"] .box,
html[data-rcm-experience="gmail-modern"] .listing,
html[data-rcm-experience="gmail-modern"] .popupmenu {
  border-radius: 22px;
}

html[data-rcm-experience="gmail-modern"] #layout-menu,
html[data-rcm-experience="gmail-modern"] #layout-content,
html[data-rcm-experience="gmail-modern"] #login-form,
html[data-rcm-experience="gmail-modern"] .box {
  box-shadow: 0 20px 52px rgba(65, 84, 118, 0.14);
}

html[data-rcm-experience="yahoo-classic"] body {
  background: linear-gradient(180deg, #f6f1ff 0%, #eee6ff 100%);
}

html[data-rcm-experience="yahoo-classic"] .button.mainaction.submit,
html[data-rcm-experience="yahoo-classic"] .button.create {
  background: #5f0fbd;
}

html[data-rcm-experience="yahoo-classic"] #layout-content,
html[data-rcm-experience="yahoo-classic"] #layout-menu,
html[data-rcm-experience="yahoo-classic"] #login-form,
html[data-rcm-experience="yahoo-classic"] .box,
html[data-rcm-experience="yahoo-classic"] .popupmenu {
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(86, 45, 135, 0.14);
}

html[data-rcm-experience="yahoo-modern"] body {
  background: radial-gradient(circle at top left, #f0e5ff 0%, #f7f4ff 42%, #f5f1ff 100%);
}

html[data-rcm-experience="yahoo-modern"] .button.mainaction.submit,
html[data-rcm-experience="yahoo-modern"] .button.create {
  background: #7d2cff;
}

html[data-rcm-experience="yahoo-modern"] #layout-content,
html[data-rcm-experience="yahoo-modern"] .box,
html[data-rcm-experience="yahoo-modern"] .listing,
html[data-rcm-experience="yahoo-modern"] .popupmenu {
  border-radius: 24px;
}

html[data-rcm-experience="yahoo-modern"] #layout-menu,
html[data-rcm-experience="yahoo-modern"] #layout-content,
html[data-rcm-experience="yahoo-modern"] #login-form,
html[data-rcm-experience="yahoo-modern"] .box {
  box-shadow: 0 24px 64px rgba(85, 48, 122, 0.18);
}

@media (max-width: 640px) {
  .rcm-experience-grid {
    grid-template-columns: 1fr;
  }
}
