:root {
  --canvas: #f5f8f7;
  --paper: #ffffff;
  --ink: #1e2d3b;
  --muted: #647789;
  --line: #d9e2df;
  --line-strong: #b9cac5;
  --green: #0aa174;
  --green-dark: #0a304d;
  --red: #b84a42;
  --amber: #d29724;
  --teal-soft: #e8f6f1;
  --amber-soft: #fff5dc;
  --red-soft: #fbeceb;
  --brand-navy: #0a304d;
  --brand-navy-soft: #edf4f7;
  --brand-green-rgb: 10, 161, 116;
  --brand-navy-rgb: 10, 48, 77;
  --brand-amber-rgb: 210, 151, 36;
  --shadow: 0 16px 40px rgba(10, 48, 77, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(var(--brand-green-rgb), 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(184, 74, 66, 0.04) 0 1px, transparent 1px 100%),
    var(--canvas);
  background-size: 52px 52px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.detail-nav-btn small{display:block;color:#9498a8;font-size:8px}.insurance-conversion-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:20px 24px;color:#fff;background:#2f2369;border-radius:18px}.insurance-conversion-banner b,.insurance-conversion-banner small{display:block}.insurance-conversion-banner>div>b{font-size:18px}.insurance-conversion-banner>div>small{margin-top:3px;color:#c4bcec;font-size:10px}.insurance-conversion-banner p{margin:8px 0 0;color:#e4e0f6;font-size:12px}.insurance-conversion-banner>a{display:flex;min-width:170px;min-height:46px;flex-direction:column;align-items:center;justify-content:center;color:#2f2369;background:#fff;border-radius:24px;font-size:12px}.insurance-conversion-banner>a small{margin-top:2px;color:#7d7794;font-size:8px}@media(max-width:700px){.insurance-conversion-banner{display:block;margin:12px;padding:18px}.insurance-conversion-banner>a{margin-top:15px}}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-link {
  flex: 0 1 auto;
}

.brand-logo {
  display: block;
  width: clamp(196px, 18vw, 260px);
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--green-dark);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 700;
}

.page-shell {
  width: min(1480px, calc(100vw - 48px));
  margin: 26px auto 48px;
}

.query-band {
  padding: 8px 24px;
  background:
    linear-gradient(135deg, rgba(var(--brand-green-rgb), 0.13), transparent 44%),
    linear-gradient(315deg, rgba(var(--brand-amber-rgb), 0.14), transparent 38%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.query-copy h1 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
}

.query-copy p {
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(420px, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.filter-rail,
.country-section,
.detail-panel,
.tools-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.06);
}

.filter-rail,
.detail-panel,
.tools-panel {
  position: sticky;
  top: 88px;
}

.filter-rail {
  padding: 16px;
}

.filter-block + .filter-block {
  margin-top: 22px;
}

.filter-title {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-stack {
  display: grid;
  gap: 8px;
}

.filter-button,
.chip,
.icon-button {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 11px;
  color: var(--ink);
  text-align: left;
}

.filter-button span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.filter-button.is-active,
.chip.is-active {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.45);
  font-weight: 800;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 11px;
  color: var(--ink);
}

.data-note {
  margin-top: 24px;
  padding: 12px;
  background: var(--amber-soft);
  border: 1px solid rgba(var(--brand-amber-rgb), 0.35);
  border-radius: 8px;
}

.data-note strong,
.data-note span {
  display: block;
}

.data-note strong {
  color: #7a5100;
  font-size: 13px;
}

.data-note span {
  margin-top: 6px;
  color: #6f5c30;
  font-size: 12px;
  line-height: 1.7;
}

.country-section {
  min-width: 0;
  padding: 16px;
}

.country-filter-bar {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fbfdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.country-filter-bar .filter-block + .filter-block {
  margin-top: 0;
}

.country-filter-bar .filter-block {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.inline-filter-stack {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.inline-chip-wrap {
  display: grid;
  gap: 8px;
}

.type-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-filter-stack .filter-button {
  min-width: 0;
  padding: 0 8px;
}

.inline-filter-stack .filter-button span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-toolbar h2,
.section-toolbar p {
  margin: 0;
}

.section-toolbar h2 {
  font-size: 18px;
}

.section-toolbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green-dark);
  font-size: 20px;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}

.country-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 218px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.country-card:hover,
.country-card.is-selected {
  border-color: rgba(var(--brand-green-rgb), 0.55);
  box-shadow: 0 12px 28px rgba(var(--brand-navy-rgb), 0.12);
  transform: translateY(-1px);
}

.country-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.country-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.flag {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #f2f4f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
}

.country-name strong,
.country-name small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-name strong {
  font-size: 17px;
}

.country-name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.region-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #7a5100;
  background: var(--amber-soft);
  border: 1px solid rgba(var(--brand-amber-rgb), 0.35);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.country-card p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: var(--green-dark);
  background: var(--teal-soft);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.verify-date {
  color: var(--muted);
  font-size: 12px;
}

.official-link,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 8px;
  font-weight: 800;
}

.official-link {
  padding: 0 12px;
  color: #ffffff;
  background: var(--green);
}

.detail-panel {
  min-height: 620px;
  padding: 18px;
}

.tools-panel {
  padding: 16px;
}

.auth-notice {
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.06);
}

.auth-notice.is-highlighted {
  border-color: rgba(var(--brand-green-rgb), 0.65);
  box-shadow: 0 0 0 3px rgba(var(--brand-green-rgb), 0.12), 0 12px 28px rgba(var(--brand-navy-rgb), 0.06);
}

.auth-notice .tools-panel-inline {
  position: static;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-notice .tool-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.auth-notice .tools-header {
  min-height: 22px;
  padding-bottom: 5px;
}

.auth-notice .tools-header h2 {
  font-size: 15px;
}

.auth-notice .tool-card {
  min-height: 34px;
  padding: 5px 8px;
}

.auth-notice .tool-card strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.auth-notice .tool-card span {
  display: none;
}

.tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.tools-header h2 {
  margin: 0;
  font-size: 18px;
}

.tools-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.tool-card {
  display: grid;
  align-content: center;
  min-height: 86px;
  padding: 12px;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.tool-card:hover {
  border-color: rgba(var(--brand-green-rgb), 0.45);
  box-shadow: 0 12px 28px rgba(var(--brand-navy-rgb), 0.1);
  transform: translateY(-1px);
}

.tool-card strong,
.tool-card span {
  display: block;
}

.tool-card strong {
  font-size: 16px;
}

.tool-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.detail-page-shell {
  width: min(1240px, calc(100vw - 48px));
  margin: 26px auto 48px;
}

.detail-page-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  color: var(--muted);
  text-align: center;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.detail-title .flag {
  width: 44px;
  height: 44px;
  font-size: 26px;
}

.detail-title h1,
.detail-title h2,
.detail-title p {
  margin: 0;
}

.detail-title h1,
.detail-title h2 {
  font-size: 22px;
}

.detail-title p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #7a1f18;
  background: var(--red-soft);
  border: 1px solid rgba(184, 74, 66, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.detail-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.detail-side-column {
  align-self: start;
  position: sticky;
  top: 88px;
}

.detail-section:last-child {
  border-bottom: 0;
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.section-title-row h3 {
  margin: 0;
}

.detail-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.policy-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.policy-status.visa_required {
  color: #7a1f18;
  background: var(--red-soft);
  border-color: rgba(184, 74, 66, 0.28);
}

.policy-status.visa_free {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.32);
}

.policy-status.visa_on_arrival,
.policy-status.evisa,
.policy-status.conditional,
.policy-status.transit,
.policy-status.unknown {
  color: #7a5100;
  background: var(--amber-soft);
  border-color: rgba(var(--brand-amber-rgb), 0.35);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.policy-grid div {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 82px;
  padding: 11px 12px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-grid .policy-card-primary {
  background:
    linear-gradient(135deg, rgba(var(--brand-green-rgb), 0.16), rgba(255, 255, 255, 0.55)),
    #edf7f3;
  border-color: rgba(var(--brand-green-rgb), 0.42);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-green-rgb), 0.08);
}

.policy-grid .policy-card-primary.policy-tone-red {
  background:
    linear-gradient(135deg, rgba(184, 74, 66, 0.18), rgba(255, 255, 255, 0.55)),
    var(--red-soft);
  border-color: rgba(184, 74, 66, 0.46);
  box-shadow: inset 0 0 0 1px rgba(184, 74, 66, 0.08);
}

.policy-grid .policy-card-primary.policy-tone-amber {
  background:
    linear-gradient(135deg, rgba(var(--brand-amber-rgb), 0.22), rgba(255, 255, 255, 0.55)),
    var(--amber-soft);
  border-color: rgba(var(--brand-amber-rgb), 0.5);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-amber-rgb), 0.1);
}

.policy-grid .policy-card-primary.policy-tone-neutral {
  background: #f8faf7;
  border-color: var(--line);
  box-shadow: none;
}

.policy-grid span,
.policy-grid b {
  display: block;
}

.policy-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.policy-grid b {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.policy-grid .policy-card-primary b {
  color: var(--green-dark);
  font-size: 17px;
}

.policy-grid .policy-card-primary.policy-tone-red b {
  color: #7a1f18;
}

.policy-grid .policy-card-primary.policy-tone-amber b {
  color: #7a5100;
}

.policy-grid .policy-card-primary.policy-tone-neutral b {
  color: var(--ink);
}

.policy-notes {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.source-row {
  margin-top: 12px;
}

.inline-source {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.fee-list {
  display: grid;
  gap: 10px;
}

.fee-item {
  padding: 11px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fee-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fee-main strong {
  font-size: 13px;
  line-height: 1.45;
}

.fee-main span {
  flex: 0 0 auto;
  max-width: 45%;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
}

.fee-item dl {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
}

.fee-item dl div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
}

.fee-item dt,
.fee-item dd,
.fee-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.fee-item dt {
  font-weight: 800;
}

.fee-empty {
  padding: 12px;
  background: #f8faf7;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fact {
  min-height: 76px;
  padding: 11px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fact span,
.fact b {
  display: block;
}

.fact span {
  color: var(--muted);
  font-size: 12px;
}

.fact b {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.4;
}

.link-grid {
  display: grid;
  gap: 10px;
}

.primary-link {
  min-height: 44px;
  color: #ffffff;
  background: var(--green);
}

.secondary-link {
  min-height: 42px;
  padding: 0 12px;
  color: var(--green-dark);
  background: #ffffff;
  border: 1px solid var(--line-strong);
}

.link-kind {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.warning-box {
  padding: 12px;
  color: #7a1f18;
  background: var(--red-soft);
  border: 1px solid rgba(184, 74, 66, 0.28);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.empty-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  color: var(--green);
  background: var(--teal-soft);
  border-radius: 8px;
  font-size: 30px;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
}

/* 1.2 visa detail page, inspired by Atlys-style visa landing pages. */
.visa-detail-body {
  color: #111827;
  background:
    radial-gradient(circle at 50% 0%, rgba(64, 83, 244, .07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 44%, #eef2ff 100%);
}

.visa-detail-body .detail-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  padding: 0 48px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(230, 232, 238, .95);
  backdrop-filter: blur(18px);
}

.visa-detail-body .brand-logo {
  width: 178px;
}

.detail-center-nav,
.detail-right-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-center-nav {
  justify-content: center;
}

.detail-right-nav {
  justify-content: flex-end;
}

.detail-nav-btn,
.detail-search-btn,
.detail-account,
.detail-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #111827;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.detail-nav-btn.is-active,
.detail-nav-btn:hover,
.detail-search-btn:hover {
  background: #f0f2f8;
}

.detail-search-btn {
  gap: 8px;
  background: #f5f6fa;
  border: 1px solid #e6e8ee;
}

.detail-account {
  width: 42px;
  padding: 0;
  color: #ffffff;
  background: #111827;
}

.detail-page-shell {
  width: min(1180px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.atlys-detail-page {
  color: #111827;
}

.atlys-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 560px;
  padding: 74px 72px;
  text-align: center;
  border: 1px solid rgba(222, 226, 232, .9);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, .30), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 36px 100px rgba(15, 23, 42, .10);
}

.atlys-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 12, 24, .08) 0%, rgba(6, 12, 24, .16) 52%, rgba(6, 12, 24, .36) 100%),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .42), transparent 38%);
}

.atlys-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 28px;
  pointer-events: none;
}

.atlys-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.04);
  animation: heroVideoLike 18s ease-in-out infinite alternate;
  will-change: transform;
}

.atlys-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

.atlys-hero-media:has(.atlys-hero-video) {
  animation: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .atlys-hero-media {
    animation: none;
    transform: none;
  }

  .atlys-hero-video {
    display: none;
  }
}

@keyframes heroVideoLike {
  from {
    transform: scale(1.04) translate3d(-1.2%, -1%, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.2%, 1%, 0);
  }
}

.atlys-hero-copy {
  position: relative;
  z-index: 2;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(820px, 100%);
  min-width: 0;
}

.detail-breadcrumb {
  display: none;
}

.detail-guarantee-pill {
  display: none;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 5px 14px 5px 6px;
  color: #344054;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  font-size: 13px;
  font-weight: 850;
}

.guarantee-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: #18b26b;
  border-radius: 50%;
  font-size: 13px;
}

.country-flag-row {
  display: none;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 5px 12px 5px 6px;
  color: #526072;
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 999px;
  font-weight: 800;
}

.country-flag-row .flag,
.apply-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f4f8;
  font-size: 18px;
}

.atlys-hero h1 {
  max-width: 720px;
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(58px, 7vw, 106px);
  line-height: .95;
  letter-spacing: 0;
  font-weight: 950;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.atlys-hero p {
  display: none;
}

.apply-primary-link,
.apply-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.apply-primary-link {
  color: #ffffff;
  background: #111827;
}

.apply-secondary-link {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

/*
.atlys-hero p {
  max-width: 650px;
  margin: 0;
  color: #5f6b85;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
}
*/

.hero-actions {
  display: none;
}

.hero-trust-row {
  display: none;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.application-layout h2 {
  max-width: 660px;
}

.application-layout p {
  margin: 14px 0 0;
  color: #5f6b85;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

.document-preview {
  margin-top: 22px;
}

.inline-apply-card {
  position: sticky;
  top: 102px;
}

/*
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.atlys-primary-action,
.atlys-secondary-action,
.apply-primary-link,
.apply-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.atlys-primary-action,
.apply-primary-link {
  color: #ffffff;
  background: #111827;
}

.atlys-secondary-action,
.apply-secondary-link {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust-row span {
  min-height: 32px;
  padding: 7px 12px;
  color: #4053f4;
  background: rgba(64, 83, 244, .08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}
*/

.atlys-apply-card,
.side-apply-panel,
.side-info-panel,
.atlys-section {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e5e8ef;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.atlys-apply-card {
  align-self: center;
  padding: 24px;
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .14);
}

.apply-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f4;
}

.resume-application {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  color: #111827;
  background: #ffe66f;
  border: 0;
  border-radius: 16px;
  box-shadow: inset 0 -2px 0 rgba(17, 24, 39, .08);
  font-size: 15px;
  font-weight: 950;
}

.travel-window {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
}

.travel-window > span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.travel-window strong,
.travel-window small {
  display: block;
}

.travel-window strong {
  color: #101828;
  font-size: 20px;
  font-weight: 950;
}

.travel-window small {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.apply-card-head strong,
.apply-card-head small {
  display: block;
}

.apply-card-head strong {
  color: #101828;
  font-size: 18px;
}

.apply-card-head small {
  margin-top: 3px;
  color: #667085;
  font-weight: 700;
}

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

.apply-stat-grid div {
  min-height: 88px;
  padding: 13px;
  background: #f7f8fb;
  border: 1px solid #edf0f4;
  border-radius: 18px;
}

.apply-stat-grid span,
.fact-list span,
.requirement-card span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.apply-stat-grid strong,
.fact-list b,
.requirement-card strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.apply-card-note {
  margin-top: 16px;
  padding: 14px;
  color: #455267;
  background: #f0f5ff;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750;
}

.apply-card-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.apply-primary-link,
.apply-secondary-link {
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
}

.atlys-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.atlys-main-column {
  display: grid;
  gap: 20px;
}

.atlys-section {
  padding: 34px;
  border-radius: 30px;
}

.section-kicker {
  margin-bottom: 10px;
  color: #4053f4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.atlys-section h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.atlys-section > p {
  margin: 14px 0 0;
  color: #5f6b85;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.requirement-card {
  min-height: 112px;
  padding: 18px;
  background: #f7f8fb;
  border: 1px solid #e8ecf2;
  border-radius: 20px;
}

.requirement-card.policy-tone-red {
  background: #fff5f5;
  border-color: #ffd6d6;
}

.requirement-card.policy-tone-green {
  background: #effaf5;
  border-color: #cfeedd;
}

.requirement-card.policy-tone-amber,
.requirement-card.policy-tone-neutral {
  background: #fff8e8;
  border-color: #f7e6b2;
}

.requirements-section {
  background: #ffffff;
}

.visa-info-title h2,
.visa-info-title h3,
.rejection-title h2,
.rejection-title h3 {
  margin: 0;
  color: #111827;
  letter-spacing: 0;
}

.visa-info-title h2,
.rejection-title h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 950;
}

.visa-info-title h3,
.rejection-title h3 {
  margin-top: 12px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.2;
  font-weight: 950;
}

.blue-rule {
  width: 68px;
  height: 3px;
  margin: 28px 0;
  background: #4053f4;
  border-radius: 999px;
}

.blue-rule.small {
  margin: 20px 0 0 42px;
}

.visa-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 44px;
  margin-top: 6px;
}

.visa-info-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.visa-info-item > div {
  min-width: 0;
  overflow: hidden;
}

.visa-info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 950;
}

.visa-blue {
  color: #4053f4;
  background: #dbe7ff;
}

.visa-cyan {
  color: #0c92da;
  background: #def4ff;
}

.visa-green {
  color: #0aa66a;
  background: #dff4ec;
}

.visa-amber {
  color: #b26a00;
  background: #fff0cc;
}

.visa-purple {
  color: #4f3df4;
  background: #e9e7ff;
}

.visa-indigo {
  color: #4053f4;
  background: #e2e9ff;
}

.visa-info-item p {
  display: block;
  max-width: 100%;
  margin: 0 0 5px;
  overflow: hidden;
  color: #697386;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
  white-space: nowrap;
}

.visa-info-item strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.guaranteed-block {
  margin-top: 32px;
}

.guaranteed-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.guaranteed-heading > span {
  width: 20px;
  height: 20px;
  margin-top: 8px;
  background: #756dff;
  border: 5px solid #d9ddff;
  border-radius: 50%;
}

.guaranteed-heading h2,
.guaranteed-heading h3 {
  margin: 0;
  color: #111827;
  letter-spacing: 0;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 950;
}

.guaranteed-heading h3 {
  margin-top: 12px;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 46px 0 0 28px;
  padding: 26px 28px;
  border: 1.5px solid #8890ff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(64, 83, 244, .13);
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: -58px;
  left: -20px;
  width: 1px;
  height: 104px;
  background: #d8ddea;
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 34px;
  width: 34px;
  height: 14px;
  background: #e6e8ff;
  border-radius: 999px;
}

.timeline-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: #5e6af7;
  border-radius: 8px;
  font-weight: 950;
}

.timeline-card strong,
.timeline-card b {
  display: block;
  color: #111827;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 950;
}

.timeline-card button {
  margin-top: 10px;
  padding: 0;
  color: #4053f4;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.document-steps,
.apply-steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.document-step,
.apply-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e8ecf2;
  border-radius: 24px;
}

.document-step > span,
.apply-step > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #111827;
  background: #ffe66f;
  border-radius: 50%;
  font-weight: 950;
}

.document-step strong,
.apply-step strong {
  display: block;
  color: #101828;
  font-size: 17px;
  font-weight: 900;
}

.apply-step em {
  margin-left: 6px;
  font-style: normal;
  font-weight: 900;
}

.document-step p,
.apply-step p {
  margin: 6px 0 0;
  color: #667085;
  line-height: 1.65;
  font-weight: 650;
}

.fee-section .detail-section {
  padding: 0;
  border: 0;
}

.fee-section .detail-section h3 {
  display: none;
}

.fee-section .fee-list {
  margin-top: 22px;
}

.fee-section .fee-item {
  border-radius: 20px;
  background: #f8fafc;
}

.faq-section {
  display: grid;
  gap: 12px;
}

.rejection-section {
  background: #ffffff;
}

.rejection-title p,
.rejection-title span {
  display: block;
  margin: 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.rejection-title span {
  margin-top: 8px;
}

.rejection-list {
  display: grid;
  margin-top: 28px;
}

.rejection-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.rejection-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.rejection-item > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #111827;
  border: 1.5px solid #111827;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 950;
}

.rejection-item strong {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 950;
}

.rejection-item strong em {
  margin-left: 6px;
  font-style: normal;
}

.rejection-item p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}

.faq-item {
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
}

.faq-item summary {
  cursor: pointer;
  color: #101828;
  font-weight: 900;
}

.faq-item summary strong,
.faq-item summary span {
  display: block;
}

.faq-item summary span {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.faq-item p {
  margin: 12px 0 0;
  color: #667085;
  line-height: 1.7;
  font-weight: 650;
}

.atlys-warning {
  padding: 18px 20px;
  color: #8a3a35;
  background: #fff5f5;
  border: 1px solid #ffd6d6;
  border-radius: 20px;
  font-weight: 750;
}

.atlys-side-column {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 16px;
}

.side-apply-panel,
.side-info-panel {
  padding: 20px;
  background: #ffffff;
  border-radius: 24px;
}

.side-apply-panel h3,
.side-info-panel h3 {
  margin: 0 0 14px;
  color: #101828;
  font-size: 18px;
}

.side-apply-panel .link-grid {
  display: grid;
  gap: 10px;
}

.side-apply-panel .primary-link,
.side-apply-panel .secondary-link {
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
}

.side-apply-panel .primary-link {
  color: #ffffff;
  background: #13a475;
  border: 1px solid #13a475;
}

.side-apply-panel .secondary-link {
  color: #0f2f3f;
  background: #ffffff;
  border: 1px solid #b8d1c8;
}

.side-apply-panel .link-kind {
  margin-left: auto;
  color: #526072;
  font-size: 12px;
  font-weight: 850;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.fact-list div {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
}

.side-info-panel .tag-row {
  gap: 8px;
}

.detail-breadcrumb {
  display: inline-flex;
  width: fit-content;
  color: #526072;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.detail-guarantee-pill,
.country-flag-row,
.hero-actions,
.hero-trust-row {
  display: flex;
}

.detail-guarantee-pill {
  margin-top: 18px;
}

.atlys-hero p {
  display: block;
  max-width: 660px;
  margin: 0;
  color: #5f6b85;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 650;
}

.atlys-hero .hero-country-en {
  max-width: none;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 950;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .30);
}

.hero-service-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 0 28px;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .70);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
  font-size: 16px;
  font-weight: 950;
  text-decoration: none;
}

.hero-service-entry span,
.hero-service-entry em {
  font-style: normal;
}

.hero-service-entry em {
  margin-left: 8px;
  color: #475467;
  font-size: 13px;
}

.hero-service-entry::after {
  content: "↗";
  margin-left: 8px;
}

.hero-appointment-watch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: min(760px, calc(100% - 40px));
  min-height: 72px;
  margin-top: 12px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(8, 18, 34, .62);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.hero-appointment-watch[hidden] { display: none; }
.hero-appointment-label { padding: 0 13px; color: #bdf7dc; border-right: 1px solid rgba(255, 255, 255, .20); font-size: 11px; font-weight: 950; white-space: nowrap; }
.hero-appointment-label::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: #20c970; border-radius: 50%; }
.hero-appointment-viewport { height: 68px; overflow: hidden; }
.hero-appointment-item { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; overflow: hidden; color: #ffffff; font-size: 11px; text-decoration: none; white-space: nowrap; }
.hero-appointment-item strong, .hero-appointment-item em, .hero-appointment-item time { overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.hero-appointment-item strong { flex: 0 0 auto; }
.hero-appointment-item em { flex: 1 1 auto; }
.hero-appointment-item time { flex: 0 0 auto; color: #bdf7dc; font-weight: 950; }

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.atlys-primary-action,
.atlys-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.atlys-primary-action {
  color: #ffffff;
  background: #111827;
}

.atlys-secondary-action {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

.hero-trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust-row span {
  min-height: 32px;
  padding: 7px 12px;
  color: #4053f4;
  background: rgba(64, 83, 244, .08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.hero-application-card {
  align-self: center;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #e5e8ef;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .14);
}

.hero-card-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f5;
}

.hero-card-head > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #f2f4f8;
  border-radius: 50%;
  font-size: 18px;
}

.hero-card-head strong,
.hero-card-head small {
  display: block;
}

.hero-card-head strong {
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.hero-card-head small {
  margin-top: 4px;
  color: #667085;
  line-height: 1.45;
  font-weight: 700;
}

.hero-document-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  color: #111827;
  background: #ffe66f;
  border: 0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 950;
}

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

.hero-card-grid div {
  min-height: 92px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
}

.hero-card-grid span,
.hero-card-grid small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.hero-card-grid strong {
  display: block;
  margin-top: 7px;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.hero-application-card > p {
  display: block;
  margin-top: 14px;
  padding: 14px;
  color: #40506a;
  background: #eef4ff;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.fee-guarantee-panel {
  padding: 8px;
  background: #e9ecff;
  border: 1px solid #dfe3ff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.fee-summary-card {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d9dce8;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.wechat-consult-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  color: #ffffff;
  background: #07a968;
  border: 1px solid #07965f;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 169, 104, .2);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wechat-consult-button:hover {
  background: #078c59;
  box-shadow: 0 12px 28px rgba(7, 140, 89, .25);
  transform: translateY(-1px);
}

.wechat-consult-button:focus-visible {
  outline: 3px solid rgba(7, 169, 104, .28);
  outline-offset: 3px;
}

.fee-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.fee-summary-row p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  white-space: nowrap;
}

.fee-summary-row em {
  margin-left: 5px;
  color: #111827;
  font-style: normal;
}

.fee-summary-row strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.fee-summary-divider {
  height: 1px;
  margin: 10px 0;
  background: #d8dde8;
}

.fee-summary-row.total p,
.fee-summary-row.total strong {
  font-size: 14px;
}

.fee-start-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  color: #ffffff;
  background: #5757f5;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(87, 87, 245, .28);
  font-size: 13px;
  font-weight: 900;
}

.fee-start-button em {
  margin-left: 5px;
  font-style: normal;
}

.process-section {
  background: #ffffff;
}

.process-step:last-child .process-card > strong em {
  display: block;
  margin-top: 6px;
}

.process-title h2,
.process-title h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  font-weight: 950;
}

.process-title h3 {
  margin-top: 8px;
}

.process-section .apply-steps {
  position: relative;
  gap: 12px;
  margin-top: 28px;
  padding-left: 46px;
}

.process-section .apply-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 22px;
  left: 17px;
  width: 2px;
  background: #d9e2f0;
}

.process-step {
  position: relative;
}

.process-dot {
  position: absolute;
  top: 17px;
  left: -46px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #4053f4;
  background: #fff;
  border: 2px solid #cbd6e5;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.process-card {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce2ec;
  border-radius: 8px;
}

.process-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.process-card summary::-webkit-details-marker {
  display: none;
}

.process-card[open] summary {
  border-bottom: 1px solid #e5eaf1;
}

.process-summary-copy {
  min-width: 0;
}

.process-step-label {
  display: block;
  color: #4053f4;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 950;
}

.process-step-label em {
  margin-left: 5px;
  font-style: normal;
}

.process-summary-copy > strong {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 950;
}

.process-summary-copy > strong em {
  margin-left: 6px;
  font-style: normal;
}

.process-duration {
  color: #718096;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.process-card-body {
  padding: 16px 20px 20px;
}

.process-card-body p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}

.process-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-height: 40px;
  max-height: 44px;
  margin-top: 14px;
  padding: 2px 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.process-links a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: #2f55a0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
}

.process-subtimeline {
  display: grid;
  gap: 0;
  margin-top: 26px;
  padding: 20px 26px;
  border: 1px solid #dce2ec;
  border-radius: 16px;
}

.process-subtimeline div {
  position: relative;
  padding: 0 0 18px 28px;
}

.process-subtimeline div:last-child {
  padding-bottom: 0;
}

.process-subtimeline div::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: -8px;
  left: 4px;
  width: 2px;
  background: #5e6af7;
}

.process-subtimeline div:last-child::before {
  display: none;
}

.process-subtimeline div > span {
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #5e6af7;
  border-radius: 50%;
}

.process-subtimeline p {
  margin: 0 0 6px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.process-subtimeline small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.process-subtimeline b {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 7px;
  color: #ffffff;
  background: #21a66f;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 950;
}

.filter-button:hover,
.chip:hover,
.icon-button:hover,
.ghost-link:hover,
.secondary-link:hover {
  border-color: rgba(var(--brand-green-rgb), 0.45);
  color: var(--green-dark);
}

.canada-tool-shell {
  width: min(1560px, calc(100vw - 48px));
  margin: 24px auto 48px;
}

.tool-workbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-workbar h1,
.tool-workbar p {
  margin: 0;
}

.tool-workbar h1 {
  font-size: 24px;
  line-height: 1.15;
}

.tool-workbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.primary-command,
.secondary-command,
.icon-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.primary-command,
.secondary-command {
  min-height: 40px;
  padding: 0 15px;
}

.primary-command {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.secondary-command {
  color: var(--green-dark);
  background: #ffffff;
  border-color: var(--line-strong);
}

.primary-command:disabled,
.secondary-command:disabled {
  cursor: wait;
  opacity: 0.62;
}

.icon-command {
  width: 34px;
  height: 34px;
  color: var(--green-dark);
  background: #ffffff;
}

.danger-command {
  color: #7a1f18;
}

.canada-layout {
  display: grid;
  grid-template-columns: 250px minmax(620px, 1fr) 300px;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.canada-panel,
.form-band {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.06);
}

.tool-rail,
.result-panel {
  position: sticky;
  top: 88px;
}

.canada-panel {
  padding: 15px;
}

.tool-section + .tool-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tool-section h2 {
  margin: 0 0 10px;
  font-size: 14px;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.segmented-control label {
  display: block;
  cursor: pointer;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.segmented-control input:checked + span {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.45);
}

.import-box {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 10px;
  color: var(--green-dark);
  background: var(--teal-soft);
  border: 1px dashed rgba(var(--brand-green-rgb), 0.45);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.import-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.import-command {
  width: 100%;
  margin-top: 8px;
}

.template-download {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 8px;
  color: var(--green-dark);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.import-status {
  margin-top: 8px;
  padding: 8px 9px;
  color: var(--muted);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.import-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.passport-preview {
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.passport-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  color: var(--ink);
  background: #f8faf7;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.passport-preview-head small {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-preview-body {
  display: grid;
  place-items: center;
  min-height: 168px;
  max-height: 240px;
  background: #f2f5f1;
}

.passport-preview-body img,
.passport-preview-body iframe,
.passport-preview-body object {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.passport-preview-body img {
  object-fit: contain;
}

.passport-preview-message {
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.passport-result {
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.passport-result:empty {
  display: none;
}

.passport-result div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
}

.passport-result div:last-child {
  border-bottom: 0;
}

.passport-result dt,
.passport-result dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.passport-result dt {
  color: var(--muted);
  font-weight: 800;
}

.passport-result dd {
  color: var(--ink);
  word-break: break-word;
}

.form-canvas {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.form-band {
  padding: 16px;
}

.bilingual-review .band-title {
  align-items: center;
}

.review-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.review-table th,
.review-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.45;
}

.review-table th {
  color: var(--muted);
  background: #f7faf6;
  font-size: 11px;
  font-weight: 800;
}

.review-table td:first-child {
  width: 240px;
}

.review-table td:first-child strong,
.review-table td:first-child span,
.review-table td:first-child code {
  display: block;
}

.review-table td:first-child strong {
  color: var(--green-dark);
  font-size: 11px;
}

.review-table td:first-child code {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.review-draft-input {
  width: 100%;
  min-height: 54px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  font: inherit;
}

.band-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.band-title h2 {
  margin: 0;
  font-size: 17px;
}

.field-grid {
  display: grid;
  gap: 10px;
}

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.field textarea {
  min-height: 66px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(var(--brand-green-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--brand-green-rgb), 0.12);
}

.wide-field {
  grid-column: span 2;
}

.full-field {
  grid-column: 1 / -1;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.table-toolbar h3 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dynamic-table {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.dynamic-row {
  padding: 12px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.row-head strong {
  font-size: 13px;
}

.subform-details {
  margin-top: 14px;
  padding: 12px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subform-details summary {
  cursor: pointer;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.subform-details .field-grid {
  margin-top: 12px;
}

.status-list {
  display: grid;
  gap: 8px;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 0 9px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.status-item b {
  font-size: 11px;
}

.status-item.is-ok {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.32);
}

.status-item.is-warn {
  color: #7a5100;
  background: var(--amber-soft);
  border-color: rgba(var(--brand-amber-rgb), 0.35);
}

.status-item.is-bad {
  color: #7a1f18;
  background: var(--red-soft);
  border-color: rgba(184, 74, 66, 0.28);
}

.template-path {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  width: fit-content;
  margin: 0 5px 5px 0;
  padding: 0 7px;
  color: var(--green-dark);
  background: var(--teal-soft);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.dependency-grid {
  display: grid;
  gap: 6px;
}

.result-status {
  min-height: 42px;
  padding: 11px;
  color: var(--green-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(var(--brand-green-rgb), 0.32);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.issue-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li,
.inline-empty,
.file-item {
  padding: 9px 10px;
  color: var(--muted);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.issue-list .issue-ok {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.32);
}

.file-list {
  display: grid;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-wrap: anywhere;
}

.file-item b {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 11px;
}

.file-download-link {
  color: inherit;
  text-decoration: none;
}

.file-download-link:hover {
  color: var(--green-dark);
  background: var(--teal-soft);
  border-color: rgba(var(--brand-green-rgb), 0.38);
}

.download-link {
  margin-top: 10px;
  width: 100%;
}

.uk-evisa-shell {
  width: min(1320px, calc(100vw - 48px));
  margin: 24px auto 48px;
}

.uk-evisa-workbar {
  align-items: center;
}

.uk-evisa-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.uk-evisa-panel {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.06);
}

.uk-evisa-panel .field-grid {
  gap: 9px;
}

.two-col-grid {
  grid-template-columns: 1fr 1fr;
}

.uk-email-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: var(--teal-soft);
  border: 1px solid rgba(var(--brand-green-rgb), 0.28);
  border-radius: 8px;
}

.uk-email-box span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.uk-email-box strong {
  min-height: 28px;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 14px;
  line-height: 1.35;
}

.uk-evisa-page .compact-command {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.uk-code-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.compact-title {
  margin-bottom: 9px;
}

.uk-code-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.uk-code-result {
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.uk-flow-panel {
  padding: 0;
  overflow: hidden;
}

.uk-flow-panel > .band-title {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.uk-step-list {
  display: grid;
}

.uk-step-group {
  padding: 14px 16px;
}

.uk-step-group + .uk-step-group {
  border-top: 1px solid var(--line);
}

.uk-step-group h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 14px;
}

.uk-step-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 32px;
  padding: 7px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.uk-step-item input {
  margin-top: 2px;
}

.uk-step-item:has(input:checked) span {
  color: var(--muted);
  text-decoration: line-through;
}

.uk-summary-list {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.uk-summary-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}

.uk-summary-list div:last-child {
  border-bottom: 0;
}

.uk-summary-list dt,
.uk-summary-list dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.uk-summary-list dt {
  color: var(--muted);
  font-weight: 800;
}

.uk-summary-list dd {
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 11px;
}

.uk-reference-box {
  margin-top: 14px;
  padding: 12px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.uk-reference-box h2 {
  margin: 0 0 8px;
  font-size: 14px;
}

.uk-reference-box ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 154px minmax(360px, 1fr);
  }

  .inline-filter-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .canada-layout {
    grid-template-columns: 220px minmax(520px, 1fr);
  }

  .detail-panel,
  .tools-panel {
    grid-column: 1 / -1;
    position: static;
    min-height: auto;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-side-column {
    position: static;
  }

  .result-panel {
    grid-column: 1 / -1;
    position: static;
  }

  .uk-evisa-grid {
    grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 1fr);
  }

  .uk-output-panel {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  .topbar {
    padding: 0 16px;
  }

  .page-shell {
    width: min(100vw - 24px, 760px);
    margin-top: 14px;
  }

  .detail-page-shell {
    width: min(100vw - 24px, 760px);
    margin-top: 14px;
  }

  .canada-tool-shell {
    width: min(100vw - 24px, 760px);
    margin-top: 14px;
  }

  .uk-evisa-shell {
    width: min(100vw - 24px, 760px);
    margin-top: 14px;
  }

  .tool-workbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .tool-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
  }

  .tool-actions a,
  .tool-actions button {
    min-width: 0;
    flex: 1 1 140px;
    white-space: normal;
  }

  .query-band {
    padding: 8px 14px;
  }

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

  .filter-rail {
    position: static;
  }

  .tools-panel {
    position: static;
  }

  .auth-notice .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canada-layout {
    grid-template-columns: 1fr;
  }

  .uk-evisa-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .uk-evisa-panel,
  .uk-evisa-panel .field-grid {
    width: 100%;
    min-width: 0;
  }

  .tool-rail {
    position: static;
  }

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

  .country-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .inline-filter-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand small,
  .ghost-link {
    display: none;
  }

  .brand-logo {
    width: min(196px, 54vw);
  }

  .query-copy h1 {
    font-size: 28px;
  }

  .fact-grid,
  .policy-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

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

  .wide-field {
    grid-column: span 1;
  }

  .two-col-grid,
  .uk-code-actions {
    grid-template-columns: 1fr;
  }

  .tool-actions {
    grid-template-columns: 1fr;
  }

  .fee-main {
    display: grid;
  }

  .fee-main span {
    max-width: none;
    text-align: left;
  }
}

body.canada-page {
  --canvas: #f5f8f7;
  --paper: #ffffff;
  --ink: #1e2d3b;
  --muted: #647789;
  --line: #d9e2df;
  --line-strong: #b9cac5;
  --green: #0aa174;
  --green-dark: #0a304d;
  --blue: #0a304d;
  --blue-soft: #edf4f7;
  --amber: #d29724;
  --teal-soft: #e8f6f1;
  --shadow: none;
  color: var(--ink);
  background: var(--canvas);
}

.canada-page .topbar {
  min-height: 78px;
  padding: 0 20px;
  background: #ffffff;
  border-bottom: 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  backdrop-filter: none;
}

.canada-page .brand-logo {
  width: clamp(190px, 18vw, 248px);
}

.canada-page .brand-mark {
  width: 38px;
  height: 38px;
  background: var(--green);
  border-radius: 4px;
}

.canada-page .brand strong {
  color: #303133;
  font-size: 17px;
}

.canada-page .brand small {
  color: #909399;
}

.canada-page .top-actions {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0;
}

.canada-page .ghost-link {
  min-height: 78px;
  padding: 0 18px;
  color: #303133;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
}

.canada-page .ghost-link:hover {
  color: var(--blue);
  background: #f8fafc;
  border-color: transparent;
}

.canada-page .canada-tool-shell {
  width: min(1040px, calc(100vw - 80px));
  margin: 46px auto 56px;
}

.canada-page .tool-workbar {
  min-height: 52px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: none;
}

.canada-page .eyebrow {
  color: var(--green);
}

.canada-page .tool-workbar h1 {
  color: #303133;
  font-size: 18px;
  font-weight: 700;
}

.canada-page .tool-workbar p {
  margin-top: 3px;
  color: #909399;
  font-size: 12px;
}

.canada-page .tool-actions {
  gap: 8px;
}

.canada-page .primary-command,
.canada-page .secondary-command,
.canada-page .icon-command {
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.canada-page .primary-command,
.canada-page .secondary-command {
  min-height: 30px;
  padding: 0 15px;
}

.canada-page .primary-command {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.canada-page .secondary-command {
  color: #606266;
  background: #ffffff;
  border-color: var(--line);
}

.canada-page .secondary-command:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.canada-page .icon-command {
  width: 30px;
  height: 30px;
  color: var(--blue);
  border-color: var(--line);
}

.canada-page .danger-command {
  color: #f56c6c;
}

.canada-page .canada-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.canada-page .canada-panel,
.canada-page .form-band {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
}

.canada-page .tool-rail,
.canada-page .result-panel {
  position: static;
  top: auto;
}

.canada-page .tool-rail.canada-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(120px, 0.34fr) minmax(150px, 0.42fr) minmax(180px, 0.5fr);
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.canada-page .tool-section {
  min-width: 0;
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.canada-page .tool-section + .tool-section {
  margin-top: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.canada-page .import-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.canada-page .import-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.canada-page .tool-section h2 {
  margin-bottom: 10px;
  color: #303133;
  font-size: 14px;
  font-weight: 700;
}

.canada-page .import-box {
  min-height: 30px;
  padding: 6px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px dashed rgba(0, 148, 232, 0.55);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.canada-page .import-box:hover {
  border-color: var(--blue);
}

.canada-page .template-download {
  min-height: 30px;
  margin-top: 0;
  color: #ffffff;
  background: var(--amber);
  border-color: var(--amber);
  border-radius: 3px;
}

.canada-page .import-status,
.canada-page .status-item,
.canada-page .issue-list li,
.canada-page .inline-empty,
.canada-page .file-item {
  background: #fafafa;
  border-color: var(--line);
  border-radius: 4px;
}

.canada-page .import-divider {
  display: none;
}

.canada-page .import-command {
  width: 100%;
  margin-top: 0;
}

.canada-page .import-section .import-status {
  min-height: 30px;
  margin-top: 0;
  padding: 5px 8px;
}

.canada-page .segmented-control {
  gap: 7px;
}

.canada-page .segmented-control span {
  min-height: 30px;
  padding: 0 10px;
  border-color: var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.canada-page .segmented-control input:checked + span {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(0, 148, 232, 0.55);
}

.canada-page .passport-preview,
.canada-page .passport-result,
.canada-page .review-table-wrap {
  border-color: var(--line);
  border-radius: 4px;
}

.canada-page .import-section .passport-preview,
.canada-page .import-section .passport-result {
  grid-column: 1 / -1;
}

.canada-page .passport-preview-head {
  background: #fafafa;
}

.canada-page .passport-preview-body {
  min-height: 150px;
  max-height: 220px;
  background: #f7f8fa;
}

.canada-page .passport-preview-body img,
.canada-page .passport-preview-body iframe,
.canada-page .passport-preview-body object {
  height: 200px;
}

.canada-page .passport-result div {
  grid-template-columns: 72px minmax(0, 1fr);
}

.canada-page .form-canvas {
  gap: 0;
}

.canada-page .canada-tabs {
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 41px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.canada-page .canada-tabs span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 110px;
  padding: 0 20px;
  color: #606266;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.canada-page .canada-tabs span:first-child {
  color: var(--blue);
  background: #ffffff;
  box-shadow: inset 0 2px 0 var(--blue);
}

.canada-page .form-band {
  padding: 18px 24px;
  border-radius: 0;
  border-bottom: 0;
}

.canada-page .form-band:first-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.canada-page .form-band:last-child {
  border-bottom: 1px solid var(--line);
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.canada-page .band-title {
  margin-bottom: 12px;
}

.canada-page .band-title h2 {
  color: #303133;
  font-size: 16px;
  font-weight: 700;
}

.canada-page .field-grid {
  column-gap: 18px;
  row-gap: 12px;
}

.canada-page .compact-grid {
  grid-template-columns: 1fr;
}

.canada-page .field {
  gap: 5px;
}

.canada-page .field span {
  color: #606266;
  font-size: 12px;
  font-weight: 700;
}

.canada-page .field input,
.canada-page .field select,
.canada-page .field textarea,
.canada-page .review-draft-input {
  min-height: 30px;
  padding: 5px 10px;
  color: #303133;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}

.canada-page .field textarea {
  min-height: 58px;
}

.canada-page .field input:focus,
.canada-page .field select:focus,
.canada-page .field textarea:focus,
.canada-page .review-draft-input:focus {
  border-color: var(--blue);
  box-shadow: none;
}

.canada-page .wide-field {
  grid-column: 1 / -1;
}

.canada-page .bilingual-field {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.canada-page .bilingual-field .field-title {
  grid-column: auto;
  align-self: center;
  color: #3f4752;
  line-height: 1.35;
}

.canada-page .bilingual-field .field-title::after {
  content: ":";
}

.canada-page .bilingual-caption {
  display: none;
}

.canada-page .bilingual-field .zh-field,
.canada-page .bilingual-field .en-field {
  width: 100%;
  min-width: 0;
}

.canada-page .bilingual-field .zh-field {
  background: #fff9ec;
  border-color: #ead8b8;
}

.canada-page .bilingual-field .en-field {
  background: #f3f8ff;
  border-color: #cfdbea;
}

.canada-page .bilingual-field.is-missing .field-title {
  color: #b42318;
}

.canada-page .bilingual-field.is-missing .zh-field {
  background: #fff1f1;
  border-color: #d92d20;
}

.canada-page .bilingual-field.is-translating .en-field {
  border-color: rgba(14, 165, 233, 0.55);
  background: #f8fcff;
}

.canada-page .table-toolbar {
  margin-top: 14px;
  padding-top: 12px;
  border-top-color: var(--line);
}

.canada-page .table-toolbar h3 {
  color: #606266;
  font-size: 13px;
  line-height: 1.45;
}

.canada-page .dynamic-table {
  gap: 8px;
}

.canada-page .travel-date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.canada-page .date-range-field {
  grid-column: 1 / -1;
}

.canada-page .date-range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.canada-page .date-range-single,
.canada-page .date-range-part {
  width: 100%;
}

.canada-page .date-range-separator {
  color: #68707d;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.canada-page .conditional-detail-panel {
  margin: -4px 0 4px;
}

.canada-page #backgroundSurveySection > .field-grid > .bilingual-field {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.5fr) minmax(0, 0.5fr);
  align-items: center;
}

.canada-page #backgroundSurveySection > .field-grid > .bilingual-field .field-title {
  align-self: center;
  line-height: 1.45;
}

.canada-page .dynamic-row,
.canada-page .subform-details {
  background: #fafafa;
  border-color: var(--line);
  border-radius: 4px;
}

.canada-page .subform-details summary {
  color: var(--blue);
}

.canada-page .review-table {
  min-width: 760px;
}

.canada-page .review-table th {
  color: #606266;
  background: #fafafa;
}

.canada-page .review-table td:first-child strong,
.canada-page .status-item.is-ok,
.canada-page .issue-list .issue-ok,
.canada-page .result-status {
  color: var(--green-dark);
}

.canada-page .result-panel.canada-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.canada-page .result-panel .tool-section {
  min-height: 100%;
}

.canada-page .template-section .status-list {
  gap: 6px;
}

.canada-page .template-section .template-path,
.canada-page .template-section .mini-pill,
.canada-page .template-section .dependency-grid {
  display: none;
}

.canada-page .result-status {
  background: #f0fbf8;
  border-color: rgba(0, 191, 148, 0.32);
  border-radius: 4px;
}

.canada-page .primary-link {
  min-height: 30px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 3px;
}

@media (max-width: 1120px) {
  .canada-page .canada-tool-shell {
    width: min(100vw - 32px, 960px);
    margin-top: 24px;
  }

  .canada-page .tool-rail.canada-panel {
    grid-template-columns: minmax(420px, 1fr) minmax(120px, 0.34fr) minmax(150px, 0.42fr) minmax(180px, 0.5fr);
  }

  .canada-page .result-panel.canada-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canada-page .result-panel .tool-section:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .canada-page .tool-rail.canada-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canada-page .import-section,
  .canada-page .template-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .canada-page .topbar {
    padding: 0 14px;
  }

  .canada-page .canada-tool-shell {
    width: min(100vw - 20px, 720px);
    margin-top: 14px;
  }

  .canada-page .tool-workbar {
    display: grid;
  }

  .canada-page .tool-actions,
  .canada-page .tool-actions button {
    width: 100%;
  }

  .canada-page .tool-rail.canada-panel,
  .canada-page .result-panel.canada-panel,
  .canada-page .compact-grid {
    grid-template-columns: 1fr;
  }

  .canada-page .import-section,
  .canada-page .template-section,
  .canada-page .wide-field,
  .canada-page .result-panel .tool-section:last-child {
    grid-column: span 1;
  }

  .canada-page .form-band {
    padding: 16px 14px;
  }
}

body.canada-page {
  --canvas: #f5f8f7;
  --paper: #ffffff;
  --ink: #1e2d3b;
  --muted: #647789;
  --line: #d9e2df;
  --line-strong: #b9cac5;
  --green: #0aa174;
  --green-dark: #0a304d;
  --blue: #0a304d;
  --blue-soft: #edf4f7;
  --amber: #d29724;
  --teal-soft: #e8f6f1;
  --brand-green-rgb: 10, 161, 116;
  --brand-navy-rgb: 10, 48, 77;
  background: var(--canvas);
}

.canada-page .hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.canada-page [hidden] {
  display: none !important;
}

.canada-page .canada-tool-shell {
  width: min(1250px, calc(100vw - 48px));
  margin: 0 auto 48px;
}

.canada-page .canada-order-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-top: 0;
}

.canada-page .canada-order-list {
  display: grid;
  gap: 0;
  align-content: start;
  min-height: calc(100vh - 70px);
  padding-right: 10px;
  overflow: visible;
}

.canada-page .order-detail-left {
  min-height: 171px;
}

.canada-page .order-upload-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding: 10px;
}

.canada-page .order-detail-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  color: var(--ink);
  font-size: 15px;
}

.canada-page .order-detail-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.canada-page .order-info {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.canada-page .meta-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.canada-page .side-settings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.canada-page .side-settings .segmented-control {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
}

.canada-page .path-picker-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.canada-page .order-list-table {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 10px;
}

.canada-page .header-buttons {
  display: grid;
  gap: 8px;
}

.canada-page .order-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.canada-page .side-import-status-row {
  grid-template-columns: 1fr;
  padding: 0;
  background: transparent;
  border-top: 0;
}

.canada-page .compact-command {
  min-height: 30px;
  padding: 0 8px;
  text-align: center;
  white-space: nowrap;
}

.canada-page .applicant-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.canada-page .applicant-table th,
.canada-page .applicant-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.canada-page .applicant-table th {
  color: var(--muted);
  background: #f8faf7;
  font-weight: 800;
}

.canada-page .applicant-table tr:last-child td {
  border-bottom: 0;
}

.canada-page .applicant-table .is-active td {
  background: var(--teal-soft);
}

.canada-page .applicant-table strong,
.canada-page .applicant-table span {
  display: block;
}

.canada-page .applicant-table strong {
  color: var(--ink);
  font-size: 12px;
}

.canada-page .applicant-table span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.canada-page .side-tool-block {
  display: grid;
  gap: 8px;
}

.canada-page .side-tool-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.canada-page .canada-detail-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.canada-page .canada-ai-bar {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.canada-page .ai-entra-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 10px 16px;
  color: var(--green-dark);
  background: var(--teal-soft);
}

.canada-page .ai-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.canada-page .ai-copy strong {
  color: var(--green-dark);
  font-size: 14px;
}

.canada-page .ai-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.canada-page .ai-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.canada-page .import-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.canada-page .detail-settings {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  padding: 12px;
}

.canada-page .detail-settings .segmented-control {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.canada-page .canada-tabs {
  position: sticky;
  top: 70px;
  z-index: 10;
  min-height: 54px;
  height: auto;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: stretch;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.canada-page .canada-tabs span {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px;
  align-items: center;
  min-width: 0;
  padding: 8px 6px;
  color: #606266;
  background: #f8fbfd;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.canada-page .canada-tabs span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: inherit;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}

.canada-page .canada-tabs span b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
}

.canada-page .canada-tabs span em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.canada-page .canada-tabs span:first-child:not(.is-active) {
  color: #606266;
  box-shadow: none;
}

.canada-page .canada-tabs span.is-active {
  color: var(--green-dark);
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--green);
}

.canada-page .canada-tabs span.is-active b {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.canada-page .canada-tabs span.is-complete {
  color: var(--green-dark);
  background: #eefaf5;
}

.canada-page .canada-tabs span.is-complete b {
  color: #ffffff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.canada-page .form-band {
  border-radius: 0;
}

.canada-page .step-panel-hidden {
  display: none !important;
}

.canada-page .form-band > .band-title {
  min-height: 38px;
  margin: -18px -24px 16px;
  padding: 8px 14px;
  color: #0094e8;
  background: #eaf8ff;
  border-bottom: 1px solid #d8edf7;
}

.canada-page .form-band > .band-title h2 {
  color: #0094e8;
  font-size: 16px;
}

.canada-page .form-band:last-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.canada-page .result-panel.canada-panel {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr) minmax(180px, 0.9fr) minmax(230px, auto);
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.canada-page .step-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.canada-page .step-save-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.canada-page .step-save-status.is-error {
  color: #b42318;
}

.canada-page .step-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.canada-page .translation-review {
  border-bottom: 1px solid var(--line);
}

.canada-page .translation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.canada-page .translation-status {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.canada-page .translation-review .review-table-wrap {
  border-radius: 4px;
}

.canada-page .translation-review .review-draft-input {
  min-height: 42px;
}

.canada-page .result-panel .tool-section {
  padding: 0;
  border: 0;
}

.canada-page .final-action-panel {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.canada-page .primary-command {
  background: var(--green);
  border-color: var(--green);
}

.canada-page .secondary-command {
  color: var(--green-dark);
}

.canada-page .template-download {
  color: #ffffff;
  background: var(--amber);
  border-color: var(--amber);
}

@media (max-width: 1240px) {
  .canada-page .canada-tool-shell {
    width: min(100vw - 32px, 1120px);
  }

  .canada-page .canada-order-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .canada-page .canada-order-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 14px;
  }

  .canada-page .canada-order-list {
    min-height: 0;
    padding-right: 0;
  }

  .canada-page .detail-settings,
  .canada-page .result-panel.canada-panel {
    grid-template-columns: 1fr;
  }

  .canada-page .final-action-panel {
    justify-content: stretch;
  }

  .canada-page .final-action-panel button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .canada-page .ai-entra-content,
  .canada-page .ai-actions,
  .canada-page .final-action-panel {
    display: grid;
  }

  .canada-page .order-btns,
  .canada-page .import-status-row {
    grid-template-columns: 1fr;
  }
}

/* Country-first appointment calendar */
.appointment-calendar-shell {
  padding-top: 38px;
}

.appointment-calendar-heading h1 {
  font-size: clamp(38px, 4vw, 54px);
}

.appointment-filter-band {
  margin-top: 26px;
}

.appointment-results-head > div,
.appointment-country-toggle {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 100px 100px minmax(210px, 1.6fr) 130px 34px;
  gap: 14px;
}

.appointment-country-group + .appointment-country-group {
  border-top: 1px solid #eaecf0;
}

.appointment-country-toggle {
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 10px 22px;
  color: #101828;
  background: #ffffff;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.appointment-country-toggle:hover,
.appointment-country-group.is-open .appointment-country-toggle {
  background: #f8f9ff;
}

.appointment-country-toggle > span {
  display: grid;
  gap: 3px;
}

.appointment-country-toggle b,
.appointment-country-toggle strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-country-name strong {
  font-size: 17px;
}

.appointment-country-toggle small {
  color: #667085;
  font-size: 10px;
  font-weight: 750;
}

.appointment-country-chevron {
  place-items: center;
  width: 28px;
  height: 28px;
  color: #5357ee;
  background: #eef0ff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.appointment-country-centers[hidden] {
  display: none;
}

.appointment-country-centers {
  padding: 0 18px 12px 42px;
  background: #f8f9fc;
  border-top: 1px solid #eaecf0;
}

.appointment-center-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(190px, 1.1fr) minmax(280px, 1.8fr) 126px;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 10px 4px;
  border-bottom: 1px solid #e4e7ec;
}

.appointment-center-row:last-child {
  border-bottom: 0;
}

.appointment-center-name {
  display: grid;
  gap: 4px;
}

.appointment-center-name strong {
  font-size: 13px;
}

.appointment-center-name span {
  color: #667085;
  font-size: 10px;
}

.appointment-center-types {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.appointment-center-types span,
.appointment-center-types small {
  padding: 4px 7px;
  color: #344054;
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .appointment-results-head {
    display: none;
  }

  .appointment-country-toggle {
    grid-template-columns: minmax(140px, 1fr) 76px 76px minmax(150px, 1fr) 110px 30px;
    gap: 8px;
  }

  .appointment-center-row {
    grid-template-columns: 1fr 1fr;
  }

  .appointment-source-time {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .appointment-country-toggle {
    grid-template-columns: minmax(0, 1fr) 62px 28px;
  }

  .appointment-country-toggle > span:nth-child(3),
  .appointment-country-cities,
  .appointment-country-earliest {
    display: none;
  }

  .appointment-country-centers {
    padding-left: 14px;
  }

  .appointment-center-row {
    grid-template-columns: 1fr;
  }
}

.share-shell,
.collect-shell {
  width: min(1180px, calc(100vw - 48px));
}

.share-page-card,
.collect-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.share-page-head,
.collect-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--teal-soft), #ffffff 70%);
  border-bottom: 1px solid var(--line);
}

.share-page-head p,
.collect-head p {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.share-page-head h1,
.collect-head h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.collect-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(430px, 1fr);
  gap: 20px;
  padding: 20px;
}

.share-settings,
.collect-form {
  display: grid;
  gap: 14px;
}

.share-settings label,
.collect-field {
  display: grid;
  gap: 6px;
}

.share-settings label span,
.collect-field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.share-settings input,
.share-settings select,
.collect-field input,
.collect-field select,
.collect-field textarea,
.share-link-box input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.collect-field textarea {
  min-height: 90px;
  padding-top: 10px;
  resize: vertical;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--green-dark);
}

.share-qr-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.share-poster {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 580px;
  padding: 24px;
  color: #0b2431;
  background:
    linear-gradient(135deg, rgba(var(--brand-green-rgb), 0.12), rgba(250, 253, 250, 0.96) 42%),
    #ffffff;
  border: 1px solid rgba(var(--brand-green-rgb), 0.18);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(var(--brand-navy-rgb), 0.12);
}

.share-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--brand-green-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-green-rgb), 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 55%);
  pointer-events: none;
}

.poster-brand,
.poster-copy,
.poster-checklist,
.poster-qr-row {
  position: relative;
  z-index: 1;
}

.poster-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 240px;
  min-height: 48px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(var(--brand-green-rgb), 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(var(--brand-navy-rgb), 0.08);
}

.poster-brand img {
  display: block;
  width: min(200px, 42vw);
  height: auto;
}

.poster-copy {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.poster-copy span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.poster-copy strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.poster-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.poster-checklist {
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--brand-green-rgb), 0.14);
  border-radius: 8px;
}

.poster-checklist span {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.poster-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.poster-checklist li {
  position: relative;
  min-height: 24px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.poster-checklist li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.poster-qr-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(245, 248, 247, 0.95);
  border: 1px solid rgba(var(--brand-green-rgb), 0.16);
  border-radius: 8px;
}

.poster-contact {
  display: grid;
  gap: 8px;
}

.poster-contact strong {
  color: var(--ink);
  font-size: 16px;
}

.poster-contact span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.share-preview-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-preview-card strong {
  color: var(--green-dark);
  font-size: 16px;
}

.share-preview-card span {
  color: var(--muted);
  font-size: 12px;
}

.qr-frame {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 12px;
  background: #ffffff;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.qr-frame img {
  width: min(100%, 150px);
  height: auto;
}

.qr-frame span {
  color: var(--muted);
  font-size: 13px;
}

.share-link-box {
  display: grid;
  gap: 6px;
}

.share-link-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.submit-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.submit-status[data-type="success"] {
  color: var(--green-dark);
  font-weight: 800;
}

.submit-status[data-type="error"] {
  color: var(--red);
  font-weight: 800;
}

.collect-head {
  align-items: center;
}

.customer-only-note {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--green-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(var(--brand-green-rgb), 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.collect-form {
  padding: 20px;
}

.collect-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.collect-field-wide {
  grid-column: 1 / -1;
}

.collect-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.collect-form.is-unavailable {
  min-height: 148px;
  align-content: center;
}

.collect-form.is-unavailable .collect-submit-row {
  justify-content: flex-start;
  padding: 0;
}

.collect-card.is-unavailable {
  width: min(720px, 100%);
  margin-inline: auto;
}

.collect-card.is-unavailable .submit-status {
  width: 100%;
  padding: 16px 18px;
  background: var(--red-soft);
  border: 1px solid rgba(184, 74, 66, .2);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .share-layout,
  .collect-field-grid {
    grid-template-columns: 1fr;
  }

  .collect-submit-row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 1080px) {
  .atlys-hero,
  .atlys-content-grid {
    grid-template-columns: 1fr;
  }

  .atlys-side-column {
    position: static;
  }

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

@media (max-width: 720px) {
  .visa-detail-body .detail-topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 18px;
  }

  .detail-center-nav {
    display: none;
  }

  .detail-search-btn,
  .detail-lang {
    display: none;
  }

  .visa-detail-body .brand-logo {
    width: 148px;
  }

  .detail-page-shell {
    width: min(100% - 24px, 1180px);
    padding: 18px 0 44px;
  }

  .atlys-hero,
  .atlys-section {
    padding: 22px;
    border-radius: 22px;
  }

  .atlys-hero h1 {
    font-size: 44px;
  }

  .atlys-hero p {
    font-size: 15px;
  }

  .apply-stat-grid,
  .requirement-grid,
  .visa-info-grid {
    grid-template-columns: 1fr;
  }

  .visa-info-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .timeline-card {
    margin-left: 0;
  }

  .hero-actions,
  .atlys-primary-action,
  .atlys-secondary-action {
    width: 100%;
  }

  .document-step,
  .apply-step {
    grid-template-columns: 34px 1fr;
  }

  .document-step > span,
  .apply-step > span {
    width: 34px;
    height: 34px;
  }
}
/* CLSVISA assistance intake */
.assistance-page {
  min-height: 100vh;
  color: #111827;
  background: #f5f7fb;
}

.assistance-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  justify-content: space-between;
  min-height: 78px;
  padding-inline: clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

.assistance-security {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.assistance-security::before {
  content: "●";
  margin-right: 8px;
  color: #18b87a;
  font-size: 9px;
}

.assistance-exit {
  color: #344054;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.assistance-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.assistance-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 840px;
  margin-bottom: 26px;
}

.assistance-progress-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: #dfe3ed;
  border-radius: 999px;
}

.assistance-progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  background: #5357ee;
  border-radius: inherit;
  transition: width .28s ease;
}

.assistance-progress p {
  flex: 0 0 auto;
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.assistance-layout {
  display: grid;
  grid-template-columns: minmax(0, 840px) 290px;
  gap: 28px;
  align-items: start;
}

.assistance-form-panel {
  min-height: 630px;
  padding: clamp(32px, 5vw, 64px);
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.assistance-eyebrow,
.assistance-summary-kicker {
  display: block;
  color: #5357ee;
  font-size: 12px;
  font-weight: 950;
}

.assistance-step h1 {
  max-width: 660px;
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.assistance-intro {
  margin: 14px 0 34px;
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.assistance-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.assistance-choice,
.assistance-count {
  position: relative;
  min-width: 0;
}

.assistance-choice input,
.assistance-count input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.assistance-choice span,
.assistance-count span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 12px;
  background: #f7f8fb;
  border: 1px solid #dfe3eb;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.assistance-choice input:checked + span,
.assistance-count input:checked + span {
  color: #3438c9;
  background: #f0f1ff;
  border-color: #5357ee;
  box-shadow: inset 0 0 0 1px #5357ee;
}

.assistance-count-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.assistance-count span {
  min-height: 76px;
  font-size: 22px;
}

.assistance-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.assistance-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.assistance-field-wide {
  grid-column: 1 / -1;
}

.assistance-field span {
  color: #475467;
  font-size: 13px;
  font-weight: 850;
}

.assistance-field input,
.assistance-field select,
.assistance-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: #101828;
  background: #ffffff;
  border: 1px solid #cfd5df;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.assistance-field textarea {
  min-height: 96px;
  padding-block: 14px;
  resize: vertical;
}

.assistance-field input:focus,
.assistance-field select:focus,
.assistance-field textarea:focus {
  border-color: #5357ee;
  box-shadow: 0 0 0 3px rgba(83, 87, 238, .12);
}

.assistance-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 38px;
}

.assistance-back,
.assistance-next {
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.assistance-back {
  color: #344054;
  background: #eef1f6;
}

.assistance-next {
  min-width: 170px;
  margin-left: auto;
  color: #ffffff;
  background: #5357ee;
  box-shadow: 0 12px 26px rgba(83, 87, 238, .24);
}

.assistance-next:disabled {
  opacity: .55;
  cursor: wait;
}

.assistance-status {
  min-height: 22px;
  margin: 20px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.assistance-status[data-type="error"] {
  color: #c93636;
}

.assistance-summary {
  position: sticky;
  top: 108px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .07);
}

.assistance-country-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 18px 0 22px;
}

.assistance-country-line > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #f2f4f8;
  border-radius: 50%;
  font-size: 24px;
}

.assistance-country-line strong,
.assistance-country-line small {
  display: block;
}

.assistance-country-line strong {
  font-size: 18px;
}

.assistance-country-line small {
  margin-top: 3px;
  color: #667085;
}

.assistance-summary dl {
  margin: 0;
  border-top: 1px solid #eaecf0;
}

.assistance-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eaecf0;
}

.assistance-summary dt {
  color: #667085;
}

.assistance-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.assistance-summary > p {
  margin: 18px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
}

.assistance-review {
  display: grid;
  border-top: 1px solid #e4e7ec;
}

.assistance-review > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid #e4e7ec;
}

.assistance-review span {
  color: #667085;
}

.assistance-review strong {
  overflow-wrap: anywhere;
}

.assistance-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  color: #475467;
  line-height: 1.6;
  font-weight: 750;
}

.assistance-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #5357ee;
}

.assistance-success {
  display: grid;
  place-items: center;
  min-height: 440px;
  text-align: center;
}

.assistance-success > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: #16aa73;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 950;
}

.assistance-success h1 {
  margin-top: 22px;
}

.assistance-success p {
  margin: 8px 0 0;
  color: #667085;
}

.assistance-success a {
  margin-top: 26px;
  color: #5357ee;
  font-weight: 900;
}

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

  .assistance-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .assistance-topbar {
    min-height: 66px;
    padding-inline: 16px;
  }

  .assistance-security {
    display: none;
  }

  .assistance-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
  }

  .assistance-form-panel {
    min-height: 0;
    padding: 26px 18px;
  }

  .assistance-choice-grid,
  .assistance-field-grid {
    grid-template-columns: 1fr;
  }

  .assistance-field-wide {
    grid-column: auto;
  }

  .assistance-count-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assistance-review > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .assistance-actions {
    position: sticky;
    bottom: 0;
    padding: 12px 0;
    background: #ffffff;
  }
}
/* Country document checklist */
.documents-page {
  min-height: 100vh;
  color: #111827;
  background: #f5f7fb;
}

.documents-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  justify-content: space-between;
  min-height: 78px;
  padding-inline: clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

.documents-back-link {
  color: #344054;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.documents-back-link::before {
  content: "←";
  margin-right: 7px;
}

.documents-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.documents-heading {
  max-width: 820px;
}

.documents-kicker {
  color: #5357ee;
  font-size: 12px;
  font-weight: 950;
}

.documents-heading > p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.65;
}

.documents-heading > p:first-of-type {
  color: #475467;
  font-size: 18px;
  font-weight: 900;
}

.documents-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.documents-purpose-filter,
.documents-identity-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 64px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
}

.documents-purpose-filter > div,
.documents-identity-filter > div {
  display: grid;
  flex: 0 0 124px;
  gap: 3px;
}

.documents-purpose-filter > div span,
.documents-identity-filter > div span {
  color: #5357ee;
  font-size: 10px;
  font-weight: 950;
}

.documents-purpose-filter > div strong,
.documents-identity-filter > div strong {
  font-size: 15px;
}

.documents-purpose-tabs {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.documents-purpose-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  color: #475467;
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.documents-purpose-tabs button.is-active {
  color: #ffffff;
  background: #111827;
  border-color: #111827;
}

.documents-identity-filter {
  margin-top: 10px;
}

.documents-identity-filter > div {
  flex-basis: 124px;
}

.documents-identity-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.documents-identity-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  color: #475467;
  background: #f6f7fa;
  border: 1px solid #e1e5ee;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.documents-identity-tabs button.is-active {
  color: #ffffff;
  background: #5357ee;
  border-color: #5357ee;
}

.documents-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.documents-content-column {
  min-width: 0;
}

.documents-main {
  margin-top: 10px;
  padding: clamp(26px, 4vw, 46px);
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .07);
}

.documents-main-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #eaecf0;
}

.documents-main-head h2,
.documents-main-head p {
  margin: 0;
}

.documents-main-head h2 {
  font-size: 28px;
}

.documents-main-head p {
  margin-top: 6px;
  color: #667085;
  font-size: 14px;
}

.documents-print {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  color: #344054;
  background: #f2f4f7;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.documents-list {
  display: grid;
}

.document-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #eaecf0;
  cursor: pointer;
}

.document-item:last-child {
  border-bottom: 0;
}

.document-item input {
  position: absolute;
  opacity: 0;
}

.document-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: transparent;
  background: #ffffff;
  border: 1px solid #cfd5df;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 950;
}

.document-item input:checked + .document-check {
  color: #ffffff;
  background: #5357ee;
  border-color: #5357ee;
}

.document-number {
  padding-top: 4px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 900;
}

.document-copy {
  min-width: 0;
}

.document-copy strong,
.document-copy em,
.document-copy small {
  display: block;
}

.document-copy strong {
  font-size: 17px;
}

.document-copy em {
  margin-top: 3px;
  color: #5357ee;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.document-copy small {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.documents-readiness {
  position: sticky;
  top: 108px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .07);
}

.documents-readiness > span {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.documents-readiness > strong {
  display: block;
  margin-top: 10px;
  font-size: 38px;
}

.documents-readiness-track {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  background: #e4e7ec;
  border-radius: 999px;
}

.documents-readiness-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #18b87a;
  border-radius: inherit;
  transition: width .2s ease;
}

.documents-readiness > p {
  margin: 13px 0 22px;
  color: #667085;
  font-size: 13px;
}

.documents-assist {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #ffffff;
  background: #5357ee;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(83, 87, 238, .22);
}

.documents-readiness > small {
  display: block;
  margin-top: 15px;
  color: #667085;
  line-height: 1.55;
}

.documents-readiness .wechat-consult-button {
  margin-top: 18px;
}

.documents-error {
  color: #b42318;
  font-weight: 800;
}

.fee-start-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

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

  .documents-readiness {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .documents-topbar {
    min-height: 66px;
    padding-inline: 16px;
  }

  .documents-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 32px;
  }

  .documents-main {
    padding: 24px 18px;
  }

  .documents-identity-filter {
    display: grid;
  }

  .documents-purpose-filter {
    display: grid;
  }

  .documents-main-head {
    display: grid;
  }

  .document-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
  }

  .document-number {
    display: none;
  }
}

@media print {
  .documents-topbar,
  .documents-purpose-tabs,
  .documents-print,
  .documents-readiness {
    display: none;
  }

  .documents-shell {
    width: 100%;
    padding: 0;
  }

  .documents-layout {
    display: block;
  }

  .documents-main {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* Visa appointment calendar */
.appointment-calendar-page {
  min-height: 100vh;
  color: #101828;
  background: #f5f7fb;
}

.calendar-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  padding-inline: clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e6e8ee;
  backdrop-filter: blur(18px);
}

.calendar-topbar .center-nav,
.calendar-topbar .right-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-topbar .center-nav {
  justify-content: center;
}

.calendar-topbar .right-nav {
  justify-content: flex-end;
}

.calendar-topbar .nav-btn,
.calendar-topbar .account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #101828;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease;
}

.calendar-topbar .nav-btn:hover,
.calendar-topbar .nav-btn.is-active,
.calendar-topbar .account-btn:hover {
  background: #f0f2f8;
  transform: translateY(-1px);
}

.calendar-topbar .account-btn {
  width: 42px;
  padding: 0;
  color: #fff;
  background: #111827;
}

.calendar-topbar .nav-language {
  cursor: default;
}

.calendar-topbar .nav-language:hover {
  background: transparent;
  transform: none;
}

.calendar-back {
  justify-self: end;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.calendar-back::before {
  content: "←";
  margin-right: 6px;
}

.appointment-calendar-shell {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.appointment-calendar-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.appointment-calendar-heading > div:first-child {
  max-width: 760px;
}

.appointment-calendar-kicker {
  color: #5357ee;
  font-size: 11px;
  font-weight: 950;
}

.appointment-calendar-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.appointment-calendar-heading p {
  margin: 14px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.appointment-calendar-heading .appointment-source-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.appointment-source-note a {
  color: #344054;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.appointment-source-note span {
  padding-left: 12px;
  border-left: 1px solid #d0d5dd;
}

.canada-page .order-detail-header h1 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.appointment-sync-state {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 216px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
}

.appointment-sync-state > span {
  width: 10px;
  height: 10px;
  background: #18b87a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(24, 184, 122, .12);
}

.appointment-sync-state > span.is-error {
  background: #f79009;
  box-shadow: 0 0 0 5px rgba(247, 144, 9, .12);
}

.appointment-sync-state div {
  display: grid;
  gap: 3px;
}

.appointment-sync-state small {
  color: #667085;
}

.appointment-sync-state strong {
  font-size: 13px;
}

.appointment-filter-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 10px;
  margin-top: 36px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.appointment-filter-band label {
  display: grid;
  gap: 6px;
  padding: 7px 12px;
  background: #f7f8fb;
  border: 1px solid #eaecf0;
  border-radius: 6px;
}

.appointment-filter-band label span {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.appointment-filter-band select {
  width: 100%;
  min-height: 28px;
  color: #101828;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.appointment-filter-band button {
  min-width: 74px;
  color: #344054;
  background: #eef1f6;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.appointment-overview {
  display: grid;
  grid-template-columns: repeat(3, 150px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: 20px;
  border-bottom: 1px solid #dfe3eb;
}

.appointment-overview div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px 18px 0;
}

.appointment-overview span,
.appointment-overview p {
  color: #667085;
  font-size: 12px;
}

.appointment-overview strong {
  font-size: 24px;
}

.appointment-overview p {
  justify-self: end;
  margin: 0;
}

.appointment-results {
  margin-top: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .06);
}

.appointment-results-head > div,
.appointment-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 2fr 190px;
  gap: 22px;
}

.appointment-results-head {
  padding: 0 24px;
  color: #667085;
  background: #f6f7fa;
  border-bottom: 1px solid #e1e5ee;
  font-size: 11px;
  font-weight: 900;
}

.appointment-results-head > div {
  align-items: center;
  min-height: 44px;
}

.appointment-row {
  align-items: center;
  min-height: 112px;
  padding: 18px 24px;
  border-bottom: 1px solid #eaecf0;
}

.appointment-row:last-child {
  border-bottom: 0;
}

.appointment-row:hover {
  background: #fafbff;
}

.appointment-place,
.appointment-type-copy,
.appointment-source-time {
  display: grid;
  gap: 4px;
}

.appointment-place span {
  color: #5357ee;
  font-size: 12px;
  font-weight: 900;
}

.appointment-place strong,
.appointment-type-copy strong,
.appointment-source-time strong {
  font-size: 15px;
}

.appointment-place small,
.appointment-type-copy span,
.appointment-source-time span,
.appointment-source-time small {
  color: #667085;
  font-size: 11px;
}

.appointment-date-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.appointment-date-list time,
.appointment-no-date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  color: #344054;
  background: #f1f3f7;
  border: 1px solid #e1e5ee;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
}

.appointment-date-list time.is-first {
  color: #06734e;
  background: #eaf9f2;
  border-color: #bfead8;
}

.appointment-date-list small {
  color: #667085;
  font-size: 10px;
}

.appointment-source-time {
  justify-items: end;
  text-align: right;
}

.appointment-loading,
.appointment-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 240px;
  color: #667085;
}

.appointment-empty strong {
  color: #101828;
  font-size: 18px;
}

.calendar-footer {
  padding: 26px;
  color: #667085;
  border-top: 1px solid #e1e5ee;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .calendar-topbar {
    grid-template-columns: 1fr auto;
  }

  .calendar-topbar .center-nav {
    display: none;
  }

  .appointment-filter-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-filter-band button {
    min-height: 44px;
  }

  .appointment-results-head {
    display: none;
  }

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

  .appointment-source-time {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .appointment-calendar-shell {
    width: min(100% - 24px, 1260px);
    padding-top: 30px;
  }

  .appointment-calendar-heading,
  .appointment-overview {
    display: grid;
  }

  .appointment-sync-state {
    margin-top: 20px;
  }

  .appointment-filter-band,
  .appointment-row {
    grid-template-columns: 1fr;
  }

  .appointment-overview p {
    justify-self: start;
    padding-bottom: 15px;
  }
}

.appointment-calendar-shell { padding-top: 38px; }
.appointment-calendar-heading h1 { font-size: clamp(38px, 4vw, 54px); }
.appointment-filter-band { margin-top: 26px; }
.appointment-results-head > div { grid-template-columns: minmax(150px, 1.2fr) 100px 100px minmax(210px, 1.6fr) 130px 34px; gap: 14px; }

@media (max-width: 640px) {
  .appointment-calendar-shell { padding-top: 30px; }
}

/* CLSVISA shared product shell */
body {
  background-color: #f5f7fb;
}

.topbar {
  min-height: 64px;
  padding-inline: clamp(20px, 3vw, 48px);
}

.topbar .brand-logo {
  width: 150px;
}

.visa-detail-body {
  background: #f5f7fb;
}

.visa-detail-body .detail-topbar {
  min-height: 64px;
  padding-inline: clamp(20px, 3vw, 48px);
}

.visa-detail-body .detail-topbar .brand-logo {
  width: 150px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(64, 83, 244, .28);
  outline-offset: 2px;
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: .58;
}

.site-footer-global {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 14px 24px;
  color: #667085;
  background: #ffffff;
  border-top: 1px solid #e1e5ee;
  font-size: 12px;
}

.site-footer-global a {
  color: #344054;
  font-weight: 800;
}

.site-footer-global a:hover {
  color: #0a304d;
}

@media (max-width: 640px) {
  .topbar {
    min-height: 60px;
    padding-inline: 14px;
  }

  .topbar .brand-logo {
    width: 132px;
  }

  .visa-detail-body .detail-topbar {
    min-height: 60px;
    padding-inline: 14px;
  }

  .visa-detail-body .detail-topbar .brand-logo {
    width: 132px;
  }

  .site-footer-global {
    display: grid;
    gap: 5px;
    text-align: center;
  }

  .appointment-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .appointment-overview div {
    min-width: 0;
    padding: 10px 8px 12px 0;
  }

  .appointment-overview p {
    grid-column: 1 / -1;
    padding: 8px 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
