.country-row.active,
.country-row:hover {
  background: #4b421f;
  box-shadow: inset 3px 0 #f7c843;
}
.detail-tabs button.active {
  color: #f8d562;
  border-bottom-color: #f8d562;
}
.filters button.selected {
  background: #54471d;
  border-color: #f3c745;
  color: #fff;
}
.filters button:hover {
  border-color: #f3c745;
}
.detail-body {
  min-height: 190px;
}
.detail-body p {
  color: #c7d4e7;
}
.intro-card {
  padding: 18px 20px;
  border: 1px solid #354963;
  border-radius: 14px;
  background: linear-gradient(120deg, #202227, #202227);
  margin-bottom: 18px;
}
.intro-card h3 {
  margin: 0 0 8px;
}
.intro-card p {
  margin: 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.facts-grid > div {
  min-width: 0;
  border: 1px solid #314460;
  background: #202227;
  border-radius: 12px;
  padding: 14px;
}
.facts-grid small {
  display: block;
  color: #91a9c8;
  margin-bottom: 8px;
}
.facts-grid strong {
  display: block;
  overflow-wrap: anywhere;
}
.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.place-list span {
  padding: 10px 13px;
  background: #202227;
  border: 1px solid #3a5679;
  border-radius: 11px;
  color: #e1edfa;
}
.consultant-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px;
  background: #202227;
  border: 1px solid #e5bd43;
  border-radius: 15px;
  margin-top: 22px;
}
.consultant-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5cd59;
  color: #18213a;
  font-size: 23px;
  font-weight: 800;
}
.consultant-card strong {
  font-size: 16px;
}
.consultant-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #bfcbe0;
}
.consultant-action,
.visa-chat form button {
  border: 0;
  border-radius: 10px;
  padding: 11px 15px;
  background: #f2c94c;
  color: #18213a;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.consultant-action:hover,
.visa-chat form button:hover {
  background: #ffe17a;
}
.operator-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: #8da4bf;
}
.operator-note a:hover {
  text-decoration: underline;
  color: #f9d66b;
}
.visa-chat {
  border: 1px solid #526581;
  border-radius: 18px;
  width: min(430px, calc(100vw - 24px));
  max-height: min(680px, 90vh);
  padding: 0;
  background: #202227;
  color: #eef4ff;
  box-shadow: 0 22px 75px #0009;
}
.visa-chat::backdrop {
  background: #202227b0;
}
.chat-head {
  padding: 16px 18px;
  background: #202227;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-head strong,
.chat-head small {
  display: block;
}
.chat-head small {
  color: #a9bdd7;
  margin-top: 3px;
}
.chat-close {
  border: 0;
  background: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}
.chat-messages {
  height: 270px;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.chat-messages > p {
  color: #a9bdd7;
}
.chat-bubble {
  border-radius: 12px;
  padding: 9px 12px;
  max-width: 90%;
  background: #202227;
  align-self: flex-start;
}
.chat-bubble.visitor {
  background: #202227;
  align-self: flex-end;
}
.chat-bubble small {
  color: #a8b9cf;
}
.chat-bubble p {
  margin: 4px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.visa-chat form {
  padding: 15px;
  border-top: 1px solid #35435b;
}
.visa-chat label {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.visa-chat textarea {
  width: 100%;
  box-sizing: border-box;
  background: #202227;
  color: white;
  border: 1px solid #3c5070;
  border-radius: 9px;
  padding: 10px;
  font: inherit;
  resize: vertical;
}
.chat-status {
  font-size: 12px;
  color: #f4ce68;
  min-height: 18px;
  margin: 4px 0 8px;
}
.visa-chat form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 650px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .consultant-card {
    grid-template-columns: 42px 1fr;
  }
  .consultant-action {
    grid-column: 1/-1;
  }
  .detail-tabs {
    margin-inline: -6px;
  }
  .detail-tabs button {
    padding: 12px 11px;
  }
}

.detail-tabs {
  flex-wrap: wrap;
  overflow: visible;
  gap: 4px;
}
.detail-tabs button {
  font-size: 14px;
}
.detail-body {
  font-size: 16px;
  line-height: 1.65;
}
.detail-body li {
  margin-bottom: 10px;
}
.document-list {
  padding-left: 24px;
}
.consultant-card p,
.visa-chat label {
  font-size: 14px;
}
.detail-tabs button:focus-visible,
.consultant-action:focus-visible {
  outline: 2px solid #f7c843;
  outline-offset: 3px;
}

.consultant-card {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px 20px;
  padding: 22px;
  background: linear-gradient(120deg, #202227, #202227);
  border: 1px solid #f2c94c;
  border-radius: 18px;
}
.consultant-avatar {
  width: 88px;
  height: 88px;
  grid-row: 1/3;
  align-self: center;
  background-image: url('visa-consultant-portrait-source.png');
  background-size: 483% auto;
  background-position: 5% 46%;
  border: 2px solid #f2c94c;
  box-sizing: border-box;
}
.consultant-copy {
  min-width: 0;
}
.consultant-copy > strong {
  font-size: 20px;
  line-height: 1.3;
}
.consultant-copy p {
  font-size: 15px;
  line-height: 1.5;
}
.consultant-country {
  display: block;
  color: #91a9c8;
  font-size: 14px;
  margin-top: 5px;
}
.consultant-price {
  border-left: 1px solid #354963;
  padding-left: 20px;
  align-self: start;
}
.consultant-price span {
  display: block;
  color: #bfcbe0;
  font-size: 14px;
}
.consultant-price strong {
  display: block;
  color: #f2c94c;
  font-size: 26px;
  white-space: nowrap;
  margin-top: 5px;
}
.consultant-contacts {
  grid-column: 2/4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.consultant-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #f2c94c;
  border-radius: 10px;
  padding: 11px 15px;
  color: #eef4ff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.consultant-phone:hover {
  background: #202227;
}
.consultant-phone span {
  color: #f2c94c;
}
.consultant-action {
  font-size: 16px;
  min-height: 44px;
}
.consultant-phone:focus-visible {
  outline: 2px solid #f2c94c;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .consultant-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px;
    gap: 14px;
  }
  .consultant-avatar {
    width: 64px;
    height: 64px;
    grid-row: 1;
  }
  .consultant-copy > strong {
    font-size: 18px;
  }
  .consultant-price {
    grid-column: 1/3;
    border-left: 0;
    padding: 0;
    border-top: 1px solid #354963;
    padding-top: 12px;
  }
  .consultant-contacts {
    grid-column: 1/3;
    flex-direction: column;
  }
  .consultant-action {
    grid-column: auto;
    width: 100%;
  }
  .consultant-phone {
    width: 100%;
    box-sizing: border-box;
  }
}
.consultant-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 14px;
  color: #c5d4e8;
}
.consultant-rating > span,
.review-score {
  color: #f2c94c;
}
.consultant-rating strong {
  font-size: 14px;
}
.consultant-rating button {
  border: 0;
  background: none;
  color: #f2c94c;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
  padding: 5px;
}
.consultant-reviews {
  max-height: 85vh;
  overflow: auto;
}
.reviews-summary,
.reviews-list {
  padding: 16px 22px;
}
.reviews-list:empty {
  display: none;
}
.consultant-review {
  border-top: 1px solid #354963;
  padding: 16px 0;
}
.consultant-review strong {
  display: inline-block;
  margin-right: 14px;
}
.consultant-review small {
  display: block;
  color: #91a9c8;
  margin-top: 7px;
  font-size: 14px;
}
.consultant-review p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
  font-size: 16px;
}
.consultant-reviews select {
  width: 100%;
  background: #202227;
  color: #eef4ff;
  border: 1px solid #49617f;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  margin: 8px 0 16px;
}
.consultant-reviews form > p {
  font-size: 14px;
  line-height: 1.5;
}
.consultant-reviews form label {
  display: block;
}
/* Larger country guide typography and prominent pre-arrival actions. */
.content {
  font-size: 1.125rem;
  line-height: 1.65;
}
.heading p,
.finder input {
  font-size: 1.125rem;
}
.country-row strong {
  font-size: 1.125rem;
}
.country-row small,
.status,
.list-head span,
.eyebrow,
.source-badge small {
  font-size: 1rem;
}
.country-row {
  flex-wrap: wrap;
}
.search-label,
.filters button,
.detail-tabs button {
  font-size: 1.0625rem;
}
.detail-tabs button {
  padding: 14px 16px;
  white-space: normal;
  text-align: left;
}
.detail-body,
.detail-summary {
  font-size: 1.25rem;
  line-height: 1.75;
}
.detail-body h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 18px;
}
.detail-body p,
.detail-body ul,
.detail-body ol {
  color: #e2ebf9;
}
.detail-body .meta,
.caution,
.operator-note {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #bfcee4;
}
.facts-grid small {
  font-size: 1.0625rem;
}
.facts-grid strong {
  font-size: 1.25rem;
}
.consultant-copy p,
.consultant-country,
.consultant-price span,
.consultant-rating,
.consultant-rating strong {
  font-size: 1.0625rem;
}
.consultant-phone,
.consultant-action {
  font-size: 1.125rem;
}
.arrival-alert {
  margin: 8px 0 24px;
  padding: 24px;
  border: 2px solid #f2c94c;
  border-left-width: 7px;
  border-radius: 16px;
  background: linear-gradient(120deg, #202227, #202227);
  box-shadow: 0 8px 28px #0003;
}
.arrival-alert h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #ffe28b;
  margin: 0 0 10px;
}
.arrival-alert p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #f3f6fc;
  margin: 0 0 20px;
}
.arrival-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arrival-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.arrival-primary {
  background: #f2c94c;
  color: #142139;
}
.arrival-primary:hover {
  background: #ffe383;
}
.arrival-download {
  border: 2px solid #f2c94c;
  color: #ffe28b;
  background: #202227;
}
.arrival-download:hover {
  background: #202227;
}
.arrival-actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.detail-body a {
  color: #ffe28b;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
@media (max-width: 560px) {
  .heading p {
    font-size: 1.125rem;
  }
  .status {
    font-size: 1rem;
  }
  .arrival-alert {
    padding: 18px;
  }
  .arrival-alert h3 {
    font-size: 1.375rem;
  }
  .detail-body,
  .detail-summary {
    font-size: 1.1875rem;
  }
  .detail-tabs button {
    font-size: 1.0625rem;
  }
  .consultant-contacts {
    min-width: 0;
  }
  .consultant-action {
    white-space: normal;
  }
}
.edited-country-text p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.country-editor {
  display: grid;
  gap: 12px;
  max-width: 950px;
  background: #202227;
  border: 1px solid #354963;
  border-radius: 16px;
  padding: 24px;
}
.country-editor[hidden] {
  display: none;
}
.country-editor input,
.country-editor select,
.country-editor textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #49617f;
  border-radius: 9px;
  background: #202227;
  color: #eef4ff;
  font: inherit;
  box-sizing: border-box;
}
.country-editor textarea {
  line-height: 1.7;
  resize: vertical;
}
.country-editor button {
  justify-self: start;
  padding: 14px 20px;
  background: #f2c94c;
  color: #142139;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.country-editor button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.country-editor a {
  color: #ffe28b;
  text-decoration: underline;
}
.country-editor p {
  font-size: 1rem;
  color: #bfcee4;
}
#editorStatus {
  color: #ffe28b;
}
.country-list-item {
  position: relative;
}
.country-list-item:has(.country-edit-icon) .country-row {
  padding-right: 45px;
}
.country-edit-icon {
  position: absolute;
  right: 6px;
  top: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffe28b;
  background: #202227;
  border: 1px solid #a78b3b;
  border-radius: 8px;
  font-size: 25px;
}
.country-edit-icon:hover {
  background: #55471e;
}
.country-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.country-edit-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #ffe28b;
  border: 1px solid #a78b3b;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 1rem;
  font-weight: 700;
}
.country-edit-link:hover {
  background: #55471e;
}
.country-edit-icon:focus-visible,
.country-edit-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.inline-country-editor {
  width: min(900px, calc(100vw - 24px));
  max-height: 90vh;
  overflow: auto;
  padding: 0;
  background: #202227;
  color: #eef4ff;
  border: 1px solid #f2c94c;
  border-radius: 16px;
  box-shadow: 0 20px 70px #0009;
}
.inline-country-editor::backdrop {
  background: #202227bd;
}
.inline-country-editor h2 {
  font-size: 1.4rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.inline-country-editor .country-editor {
  max-width: none;
  border: 0;
  border-radius: 0;
  padding: 20px;
}
.inline-editor-status {
  padding: 0 20px;
  color: #ffe28b;
  font-size: 1rem;
}
.inline-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.country-edit-link {
  background: #202227;
  cursor: pointer;
  font-family: inherit;
}
.country-list-item .country-edit-icon {
  cursor: pointer;
  font-family: inherit;
}
.country-list-item .country-row {
  padding-right: 48px;
}
.detail-tabs button {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.edited-country-text {
  min-width: 0;
}
.edited-country-text h3 {
  overflow-wrap: anywhere;
}
.country-list-item .country-row {
  padding-right: 12px;
}
