:root .erasmus-shell {
  --e-ink: #16364a;
  --e-muted: #647582;
  --e-line: #e3e5df;
  --e-accent: #156f72;
  color: var(--e-ink);
  background: #f7f7f1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  font-family: "Plus Jakarta Sans", sans-serif;
}
:root .erasmus-shell * {
  box-sizing: border-box;
}
:root .erasmus-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: #fffdf8;
  border-right: 1px solid var(--e-line);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
:root .erasmus-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--e-ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
}
:root .erasmus-logo svg {
  width: 39px;
  height: 39px;
}
:root .erasmus-logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 600;
}
:root .erasmus-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--e-accent);
}
:root .erasmus-sidebar nav,
:root .erasmus-mobile-navigation {
  display: grid;
  gap: 4px;
}
:root .erasmus-sidebar nav button,
:root .erasmus-mobile-navigation button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  color: var(--e-muted);
  cursor: pointer;
}
:root .erasmus-sidebar nav button span,
:root .erasmus-mobile-navigation button span {
  flex: 1;
}
:root .erasmus-sidebar nav button small,
:root .erasmus-mobile-navigation button small {
  color: #68727c;
  font-size: 9px;
  background: #eeefea;
  border-radius: 4px;
  padding: 3px 4px;
  white-space: nowrap;
}
:root .erasmus-sidebar nav button.is-active,
:root .erasmus-mobile-navigation button.is-active {
  background: #e4f0eb;
  color: #155853;
  font-weight: 800;
}
:root .erasmus-sidebar nav button.is-coming:hover {
  background: #f0f1eb;
}
:root .erasmus-nav-dot {
  flex: 0 0 5px !important;
  width: 5px;
  height: 5px;
  background: #a0a9ad;
  border-radius: 50%;
  margin: 0 7px;
}
:root .erasmus-sidebar-note {
  margin-top: auto;
  padding: 16px;
  background: #edf4ef;
  border-radius: 14px;
  font-size: 12px;
}
:root .erasmus-sidebar-note strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 14px;
}
:root .erasmus-sidebar-note p {
  margin: 0;
  color: var(--e-muted);
  line-height: 1.6;
}
:root .erasmus-account-button {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
  font-size: 13px;
}
:root .erasmus-content {
  max-width: 1260px;
  width: 100%;
  min-width: 0;
  padding: 0 48px 24px;
  margin: auto;
}
:root .erasmus-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 12px;
  border-bottom: 1px solid var(--e-line);
  margin-bottom: 42px;
}
:root .erasmus-product-label,
:root .erasmus-topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}
:root .erasmus-product-label small {
  font-size: 10px;
  font-weight: 500;
  color: var(--e-muted);
  border: 1px solid var(--e-line);
  padding: 4px 7px;
  border-radius: 6px;
}
:root .erasmus-topbar button {
  display: flex;
  gap: 7px;
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--e-ink);
  font-size: 12px;
  min-height: 44px;
}
:root .erasmus-topbar b {
  background: var(--e-accent);
  color: white;
  padding: 2px 5px;
  border-radius: 8px;
}
:root .erasmus-mobile-menu {
  display: none !important;
}
:root .erasmus-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3.4vw, 51px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 15px 0;
}
:root .erasmus-hero h1 em {
  font-weight: 400;
  color: var(--e-accent);
}
:root .erasmus-hero > p {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--e-muted);
}
:root .erasmus-source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 30px;
  font-size: 11px;
  color: var(--e-muted);
}
:root .erasmus-source-meta a {
  color: var(--e-accent);
  display: flex;
  gap: 7px;
  align-items: center;
}
:root .erasmus-search-panel {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 16px;
  background: #fffdf8;
  padding: 22px;
  border: 1px solid #cdded7;
  border-top: 3px solid var(--e-accent);
  border-radius: 16px;
}
:root .erasmus-shell label,
:root .erasmus-dialog label {
  display: grid;
  min-width: 0;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
:root .erasmus-shell input,
:root .erasmus-shell select,
:root .erasmus-shell textarea,
:root .erasmus-dialog input,
:root .erasmus-dialog select,
:root .erasmus-dialog textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8ded9;
  border-radius: 8px;
  padding: 11px 12px;
  font:
    400 13px "Plus Jakarta Sans",
    sans-serif;
  background: white;
  color: #16364a;
  min-height: 44px;
}
/* Keep native select behaviour; only replace the edge-hugging browser arrow. */
:root .erasmus-shell select,
:root .erasmus-dialog select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23156f72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px 18px;
}
:root .erasmus-shell select:hover,
:root .erasmus-dialog select:hover,
:root .erasmus-search-input:hover {
  border-color: #9dbab0;
}
:root .erasmus-search-input:focus-within {
  border-color: var(--e-accent);
  box-shadow: 0 0 0 3px #156f7214;
}
:root .erasmus-search-input svg {
  flex-shrink: 0;
  color: var(--e-accent);
}
@media (forced-colors: active) {
  :root .erasmus-shell select,
  :root .erasmus-dialog select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
:root .erasmus-shell textarea,
:root .erasmus-dialog textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
:root .erasmus-search-input {
  display: flex;
  align-items: center;
  border: 1px solid #d8ded9;
  border-radius: 8px;
  background: white;
  padding-left: 12px;
}
:root .erasmus-search-input input {
  border: 0;
}
:root .erasmus-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 18px;
  gap: 16px;
}
:root .erasmus-list-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.3px;
}
:root .erasmus-list-heading button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--e-accent);
  cursor: pointer;
  min-height: 44px;
}
:root .erasmus-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
:root .erasmus-university-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fffdf8;
  border: 1px solid var(--e-line);
  border-radius: 14px;
  padding: 22px;
  min-height: 208px;
  cursor: pointer;
  color: var(--e-ink);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
:root .erasmus-university-card:hover {
  border-color: var(--e-accent);
  transform: translateY(-2px);
}
:root .erasmus-card-country {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--e-accent);
  text-transform: uppercase;
  font-weight: 800;
}
:root .erasmus-university-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 14px 0 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
:root .erasmus-university-card p {
  font-size: 11px;
  color: var(--e-muted);
  margin: 0 0 18px;
}
:root .erasmus-university-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  border-top: 1px solid var(--e-line);
  padding-top: 13px;
  margin-top: auto;
}
:root .erasmus-university-card footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
:root .erasmus-university-card footer > svg {
  box-sizing: content-box;
  flex-shrink: 0;
  padding: 7px;
  margin: -7px 0 -7px 4px;
  border-radius: 50%;
  background: #eaf2ec;
  color: var(--e-accent);
}
:root .erasmus-primary,
:root .erasmus-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 11px 16px;
  min-height: 44px;
  font:
    700 12px "Plus Jakarta Sans",
    sans-serif;
  cursor: pointer;
  text-decoration: none;
}
:root .erasmus-primary {
  border: 1px solid #156f72;
  background: #156f72;
  color: white;
}
:root .erasmus-secondary {
  border: 1px solid #d8ded9;
  background: #fffdf8;
  color: #16364a;
}
:root .erasmus-load-more {
  display: flex;
  margin: 28px auto;
}
:root .erasmus-back {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  border: 0;
  background: none;
  color: var(--e-accent);
  padding: 0;
  min-height: 44px;
  cursor: pointer;
  margin-top: -22px;
}
:root .erasmus-destination-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}
:root .erasmus-destination-hero h1 {
  font:
    700 clamp(28px, 3vw, 44px)/1.25 "Playfair Display",
    serif;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
:root .erasmus-destination-hero > svg {
  flex-shrink: 0;
  color: #87aca0;
}
:root .erasmus-destination-hero p {
  font-size: 12px;
  color: var(--e-muted);
}
:root .erasmus-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--e-line);
  margin-bottom: 28px;
}
:root .erasmus-tabs button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--e-muted);
  font-size: 13px;
  cursor: pointer;
}
:root .erasmus-tabs button[aria-current] {
  color: var(--e-accent);
  border-bottom-color: var(--e-accent);
  font-weight: 700;
}
:root .erasmus-channel-intro h2 {
  font-size: 22px;
  font-weight: 750;
  margin: 0 0 8px;
}
:root .erasmus-channel-intro p,
:root .erasmus-information > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--e-muted);
}
:root .erasmus-composer {
  background: #eaf2ec;
  border: 1px solid #d4e3da;
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}
:root .erasmus-composer form,
:root .erasmus-answers form,
:root .erasmus-dialog form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
/* Isolate this release from the older member app's three-column composer. */
:root .erasmus-shell .erasmus-composer form {
  grid-template-columns: minmax(0, 1fr);
}
:root .erasmus-shell .erasmus-composer button {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 44px;
  align-self: start;
}
:root .erasmus-shell .erasmus-composer form > label:first-child {
  width: min(100%, 320px);
}
:root .erasmus-shell .erasmus-composer select {
  height: 44px;
  min-height: 44px;
}
:root .erasmus-shell .erasmus-composer textarea {
  min-height: 120px;
  max-height: 280px;
}
:root .erasmus-composer small {
  font-size: 11px;
  color: var(--e-muted);
}
:root .erasmus-composer form .erasmus-primary,
:root .erasmus-answers form .erasmus-primary {
  justify-self: start;
}
:root .erasmus-question-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
:root .erasmus-question {
  background: #fffdf8;
  border: 1px solid var(--e-line);
  border-radius: 14px;
  padding: 24px;
  margin: 16px 0;
  scroll-margin-top: 24px;
}
:root .erasmus-question.is-focused {
  border-color: var(--e-accent);
  box-shadow: 0 0 0 2px #156f721a;
}
:root .erasmus-question-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--e-muted);
}
:root .erasmus-shell .erasmus-question-meta > span:not(.erasmus-tag) {
  padding: 0;
  background: transparent;
  color: var(--e-muted);
  font-size: 11px;
  font-weight: 500;
}
:root .erasmus-tag {
  font-size: 10px;
  background: #eaf2ec;
  color: #285c54;
  border-radius: 5px;
  padding: 5px 8px;
  display: inline-block;
}
:root .erasmus-question h3 {
  font-size: 17px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
:root .erasmus-question-faculty {
  font-size: 11px;
  color: var(--e-muted);
}
:root .erasmus-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}
:root .erasmus-question-actions button {
  display: flex;
  gap: 6px;
  align-items: center;
  background: none;
  border: 0;
  color: var(--e-muted);
  font-size: 11px;
  min-height: 38px;
  cursor: pointer;
}
:root .erasmus-question-actions button[aria-pressed="true"] {
  color: var(--e-accent);
  font-weight: 800;
}
:root .erasmus-answers {
  border-top: 1px solid var(--e-line);
  margin-top: 16px;
  padding-top: 16px;
}
:root .erasmus-answer {
  background: #f4f6f0;
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
}
:root .erasmus-answer strong {
  font-size: 12px;
}
:root .erasmus-answer small {
  display: block;
  font-size: 10px;
  color: var(--e-muted);
  margin-top: 5px;
}
:root .erasmus-answer p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
:root .erasmus-empty,
:root .erasmus-signin-prompt {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed #c9d6cd;
  border-radius: 14px;
  margin: 24px 0;
}
:root .erasmus-empty > svg,
:root .erasmus-signin-prompt > svg {
  margin: auto;
  color: var(--e-accent);
}
:root .erasmus-empty p,
:root .erasmus-signin-prompt p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--e-muted);
  max-width: 520px;
  margin: 16px auto;
}
:root .erasmus-coming-screen {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
:root .erasmus-coming-screen h1 {
  font:
    700 40px "Playfair Display",
    serif;
  margin: 20px 0 0;
}
:root .erasmus-information article {
  background: #fffdf8;
  padding: 20px;
  margin: 14px 0;
  border: 1px solid var(--e-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
:root .erasmus-information h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}
:root .erasmus-catalog-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--e-muted);
  padding: 24px 0;
  margin-top: 24px;
}
:root .erasmus-catalog-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
:root .erasmus-footer {
  border-top: 1px solid var(--e-line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 10px;
  color: var(--e-muted);
}
:root .erasmus-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
:root .erasmus-footer a {
  color: inherit;
}
:root .erasmus-error {
  background: #fff1e8;
  border: 1px solid #e4b19c;
  color: #783b24;
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  margin-top: 20px;
}
:root .erasmus-error button {
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
:root .erasmus-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  width: min(850px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  border: 0;
  border-radius: 16px;
  padding: 24px;
  background: #fffdf8;
  color: #16364a;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 30px 100px #0e273855;
}
:root .erasmus-dialog::backdrop {
  background: #0e27386b;
}
:root .erasmus-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
:root .erasmus-dialog h2 {
  margin: 0;
  font-size: 20px;
}
:root .erasmus-dialog > header button {
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}
:root .erasmus-dialog .travel-auth {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  margin: 20px -8px 0;
}
:root .erasmus-dialog .auth-visual {
  display: none;
}
:root .erasmus-dialog .auth-panel {
  width: 100%;
  padding: 20px;
}
:root .erasmus-auth-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
}
:root .erasmus-auth-dialog > header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 20px;
  border-bottom: 1px solid #e8e8df;
  background: #fffdf8;
}
:root .erasmus-auth-dialog > header h2 {
  font-size: 14px;
  font-weight: 600;
}
:root .erasmus-auth-dialog > header button {
  min-width: 44px;
  min-height: 44px;
  color: inherit;
}
:root .erasmus-auth-dialog .travel-auth {
  margin: 0;
  background: transparent;
}
:root .erasmus-auth-dialog .auth-panel {
  padding: 20px 28px 24px;
}
:root .erasmus-auth-dialog .auth-card {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
:root .erasmus-auth-dialog .auth-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
:root .erasmus-auth-dialog .auth-card h2 {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.2;
}
:root .erasmus-auth-dialog .auth-card > p {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}
:root .erasmus-auth-dialog .modal-form {
  gap: 12px;
  margin-top: 0;
}
:root .erasmus-auth-dialog .modal-form .auth-legal-consent {
  min-height: 0;
}
:root .erasmus-auth-dialog .modal-form .auth-legal-consent > span {
  font-size: 12px;
  line-height: 1.5;
}
:root .erasmus-auth-dialog .auth-switch {
  margin-top: 12px;
  padding-top: 8px;
}
@media (max-height: 800px) {
  :root .erasmus-auth-dialog > header {
    padding-block: 8px;
  }
  :root .erasmus-auth-dialog .auth-panel {
    padding-block: 16px;
  }
  :root .erasmus-auth-dialog .auth-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  :root .erasmus-auth-dialog .auth-card h2 {
    margin-top: 8px;
  }
  :root .erasmus-auth-dialog .modal-form {
    gap: 10px;
  }
  :root .erasmus-auth-dialog .auth-switch {
    margin-top: 8px;
    padding-top: 4px;
  }
}
@media (max-width: 760px) {
  :root .erasmus-dialog.erasmus-auth-dialog {
    padding: 0;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  :root .erasmus-auth-dialog .auth-panel {
    padding: 18px 20px 20px;
  }
  :root .erasmus-auth-dialog .modal-form input:not([type="checkbox"]) {
    font-size: 16px !important;
  }
}
:root .erasmus-account-settings {
  display: grid;
  gap: 18px;
}
:root .erasmus-dialog:has(.erasmus-account-settings) {
  width: min(560px, calc(100vw - 32px));
}
:root .erasmus-account-settings details {
  border-top: 1px solid #e3e5df;
  padding-top: 18px;
  font-size: 12px;
}
:root .erasmus-account-settings small {
  font-size: 11px;
  color: #647582;
}
:root .erasmus-danger {
  border: 1px solid #ac514a;
  border-radius: 8px;
  color: #8e3934;
  padding: 12px;
  background: #fff4ef;
  cursor: pointer;
}
:root .erasmus-notifications {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
:root .erasmus-notifications > button:not(.erasmus-secondary) {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f5ef;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}
:root .erasmus-notifications small {
  display: block;
  margin-top: 8px;
  color: #647582;
}
:root .erasmus-shell button:disabled,
:root .erasmus-dialog button:disabled {
  opacity: 0.55;
  cursor: wait;
}
:root .erasmus-shell :focus-visible,
:root .erasmus-dialog :focus-visible {
  outline: 3px solid #ee8b60;
  outline-offset: 3px;
}
@media (max-width: 1150px) {
  :root .erasmus-content {
    padding: 0 28px 24px;
  }
  :root .erasmus-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root .erasmus-search-panel {
    grid-template-columns: 1fr 1fr;
  }
  :root .erasmus-search-panel > label:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  :root .erasmus-shell {
    grid-template-columns: 1fr;
  }
  :root .erasmus-shell :is(input, select, textarea), :root .erasmus-dialog :is(input, select, textarea) {
    font-size: 16px;
  }
  :root .erasmus-sidebar {
    display: none;
  }
  :root .erasmus-mobile-menu {
    display: flex !important;
  }
  :root .erasmus-content {
    padding: 0 18px 24px;
  }
  :root .erasmus-topbar {
    min-height: 66px;
    margin-bottom: 28px;
  }
  :root .erasmus-product-label small {
    display: none;
  }
  :root .erasmus-topbar > div {
    gap: 10px;
  }
  :root .erasmus-topbar button span {
    display: none;
  }
  :root .erasmus-search-panel,
  :root .erasmus-question-filters {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  :root .erasmus-search-panel > label:first-child {
    grid-column: auto;
  }
  :root .erasmus-hero h1 {
    font-size: 34px;
  }
  :root .erasmus-cards {
    grid-template-columns: 1fr;
  }
  :root .erasmus-university-card {
    min-height: 175px;
    padding: 20px;
  }
  :root .erasmus-information article {
    flex-direction: column;
    align-items: flex-start;
  }
  :root .erasmus-destination-hero > svg {
    display: none;
  }
  :root .erasmus-tabs {
    gap: 14px;
  }
  :root .erasmus-tabs button {
    font-size: 12px;
  }
  :root .erasmus-question {
    padding: 18px;
  }
  :root .erasmus-dialog {
    padding: 20px;
  }
  :root .erasmus-dialog .travel-auth {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root .erasmus-shell * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

:root .erasmus-push-settings {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #dde7e3;
  border-radius: 14px;
  background: #f3f7f4;
}
:root .erasmus-push-settings h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 750;
}
:root .erasmus-push-settings p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
}
:root .erasmus-push-settings .erasmus-muted {
  font-size: 12px;
  color: #566875;
}
:root .erasmus-push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
:root .erasmus-push-actions button {
  min-height: 44px;
}

/* Shared visual rhythm for the Erasmus release. */
:root .erasmus-sidebar {
  height: 100dvh;
  gap: 20px;
}
:root .erasmus-sidebar nav button,
:root .erasmus-mobile-navigation button {
  min-height: 44px;
  border: 1px solid transparent;
}
:root .erasmus-sidebar nav button.is-active,
:root .erasmus-mobile-navigation button.is-active {
  border-color: #d4e6df;
}
:root .erasmus-sidebar nav button small,
:root .erasmus-mobile-navigation button small {
  border-radius: 6px;
  padding: 4px 6px;
}
:root .erasmus-content {
  margin: 0 auto;
}
:root .erasmus-topbar button {
  min-width: 44px;
  padding: 8px 10px;
  border-radius: 10px;
}
:root .erasmus-topbar button:hover {
  background: #eaf0ea;
}
:root .erasmus-topbar b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
}
:root .erasmus-search-panel,
:root .erasmus-university-card,
:root .erasmus-question,
:root .erasmus-information article {
  box-shadow: 0 2px 8px #16364a04;
}
:root .erasmus-search-panel {
  box-shadow: 0 4px 18px #16364a06;
}
:root .erasmus-source-meta > span:first-child {
  padding: 4px 9px;
  border-radius: 6px;
  background: #e4eee7;
  color: #285c54;
  font-weight: 700;
}
:root .erasmus-source-meta {
  align-items: center;
}
:root .erasmus-source-meta a {
  font-weight: 600;
  text-underline-offset: 4px;
}
:root .erasmus-source-meta a:hover {
  text-decoration: underline;
}
:root .erasmus-tabs button[aria-current] {
  border-bottom-width: 3px;
}
:root .erasmus-university-card:hover {
  box-shadow: 0 6px 18px #16364a0c;
}
:root .erasmus-search-panel label,
:root .erasmus-question-filters label {
  gap: 9px;
  color: #425d6a;
}
:root .erasmus-primary,
:root .erasmus-secondary {
  border-radius: 10px;
  line-height: 1.5;
  padding: 11px 18px;
}
:root .erasmus-primary:hover:not(:disabled) {
  background: #105b5e;
  border-color: #105b5e;
}
:root .erasmus-secondary:hover:not(:disabled) {
  background: #eef4f0;
  border-color: #b9cdc4;
}
:root .erasmus-destination-hero {
  padding: 24px 0;
}
:root .erasmus-tabs button {
  min-height: 48px;
}
:root .erasmus-dialog {
  border: 1px solid #e3e7e1;
  border-radius: 20px;
}
:root .erasmus-dialog > header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e3e7e1;
}
:root .erasmus-dialog > header h2 {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
}
:root .erasmus-dialog > header button {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  color: #425d6a;
}
:root .erasmus-dialog > header button:hover {
  background: #edf2ee;
}
:root .erasmus-dialog > p,
:root .erasmus-account-settings p {
  font-size: 13px;
  line-height: 1.7;
  color: #566875;
}
:root .erasmus-auth-dialog > header {
  margin-bottom: 0;
  padding-bottom: 12px;
}
:root .erasmus-auth-dialog > header h2 {
  font-size: 14px;
  font-weight: 600;
}
:root .erasmus-notification-dialog {
  width: min(660px, calc(100vw - 32px));
}
:root .erasmus-notification-dialog .erasmus-notifications {
  gap: 10px;
  margin-top: 16px;
}
:root .erasmus-notifications > button:not(.erasmus-secondary) {
  border: 1px solid #dbe6df;
  padding: 16px;
  border-radius: 12px;
  background: #f0f6f2;
  line-height: 1.6;
}
:root .erasmus-notifications > button > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
:root .erasmus-notifications > button > svg {
  flex-shrink: 0;
  color: #156f72;
}
:root .erasmus-notifications > button.is-unread > span {
  font-weight: 700;
}
:root .erasmus-notifications > button.is-read {
  background: #fafbf8;
  border-color: #e3e7e1;
}
:root .erasmus-notifications small {
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
}
:root .erasmus-notifications > button:not(.erasmus-secondary):hover {
  border-color: #aecbc0;
  background: #e8f2ec;
}
@media (max-height: 800px) {
  :root .erasmus-auth-dialog > header {
    padding-bottom: 8px;
  }
}
@media (max-width: 760px) {
  :root .erasmus-dialog {
    border-radius: 16px;
  }
  :root .erasmus-push-settings {
    padding: 16px;
  }
  :root .erasmus-push-actions {
    flex-direction: column;
  }
  :root .erasmus-push-actions button {
    width: 100%;
  }
  :root .erasmus-notification-dialog > header h2 {
    font-size: 17px;
  }
}
