/* Page-plan visual system: original diagrams, route data card, licensed photo figures, prefilled enquiry */
.viz { min-width: 0; max-width: 100%; margin: 0; padding: 1.4rem 1.5rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.viz + .viz { margin-top: 1.4rem; }
.viz-head { margin-bottom: 1.1rem; }
.viz-kicker { margin: 0 0 .2rem; color: var(--teal-dark); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.viz-title { margin: 0; color: var(--navy-950); font-size: 1.14rem; font-weight: 800; line-height: 1.3; }
.viz-sub { margin: 1.1rem 0 .6rem; color: var(--navy-900); font-size: .86rem; font-weight: 800; }
.viz-note { margin: .8rem 0 0; color: var(--ink-soft); font-size: .86rem; }
.viz figcaption, .viz > figcaption { margin-top: 1rem; padding-top: .75rem; border-top: 1px dashed var(--border); color: var(--gray-500); font-size: .8rem; line-height: 1.5; }
.viz-ico { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.viz-ico-sm { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: .35rem; }
.viz-grid2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.6rem; align-items: start; }
.viz-legend { margin: .5rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.viz-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin: 0 .25rem 0 .6rem; }
.viz-legend .lg:first-child { margin-left: 0; }
.lg.in, .hf-table td.in { background: var(--teal); }
.lg.out { background: var(--gray-100); border: 1px solid var(--border-dark); }
.viz-grid2 > *, .media-row > *, .media-row--rev > *, .rdc-facts > *, .rdc > * { min-width: 0; }
/* handover flow */
.hf-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.hf-node { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: .85rem .8rem; border-radius: 12px; background: linear-gradient(160deg, #0a2d49, #0f4466); color: #eaf6f8; }
.hf-node .viz-ico { color: #5ce9d5; }
.hf-node strong { font-size: .9rem; color: #fff; }
.hf-node span { font-size: .76rem; color: #b7d8df; line-height: 1.35; }
.hf-node:not(:last-child)::after { content: ""; position: absolute; right: -.52rem; top: 50%; width: .45rem; height: .45rem; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
.hf-terms { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.hf-terms li { padding: .6rem .75rem; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: var(--teal-soft); font-size: .86rem; }
.hf-terms strong { display: block; color: var(--navy-950); }
.hf-terms span { color: var(--ink-soft); }
.viz .table-wrap, .port-table, .oc-table { position: relative; }
.hf-table td { position: relative; }
.hf-table table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.hf-table th, .hf-table td { padding: .45rem .4rem; border-bottom: 1px solid var(--border); text-align: center; }
.hf-table thead th { white-space: normal; line-height: 1.25; font-size: .72rem; vertical-align: bottom; }
.hf-table tbody th { text-align: left; color: var(--navy-950); font-weight: 700; white-space: normal; }
.hf-table td.out { background: var(--gray-50); }
.hf-table td.in { border-left: 2px solid #fff; }
/* battery config */
.bc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.bc-card { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--gray-25); }
.bc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-900); color: #5ce9d5; }
.bc-card strong { color: var(--navy-950); }
.bc-card span { color: var(--ink-soft); font-size: .86rem; }
.bc-card em { font-style: normal; font-size: .76rem; font-weight: 700; color: #065c62; background: var(--teal-soft); border-radius: 6px; padding: .2rem .45rem; width: fit-content; }
.bc-card .text-link { margin-top: auto; font-size: .85rem; }
.bc-conds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.bc-cond { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 10px; font-size: .84rem; }
.bc-cond strong { display: block; color: var(--navy-950); }
.bc-cond span { color: var(--ink-soft); }
.bc-cond-0 { background: #eaf6ef; color: var(--ok); }
.bc-cond-1 { background: var(--amber-soft); color: var(--warn); }
.bc-cond-2 { background: #fdecea; color: #a1321f; }
/* document checklist */
.dc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; margin: 0; padding: 0; list-style: none; }
.dc-grid li { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 10px; background: var(--gray-50); font-size: .85rem; }
.dc-grid .viz-ico { color: var(--teal-dark); width: 22px; height: 22px; }
.dc-grid strong { display: block; color: var(--navy-950); }
.dc-grid span { display: block; color: var(--ink-soft); }
.dc-grid .who { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
.dc-country { margin-top: .4rem; }
.dc-dl { margin: 1rem 0 0; }
.btn-sm { padding: .55rem .9rem; font-size: .86rem; }
/* quote segments */
.qs-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.qs-seg { padding: .8rem .75rem .9rem; background: var(--white); border-right: 1px solid var(--border); }
.qs-seg:last-child { border-right: 0; }
.qs-top { display: flex; align-items: center; gap: .45rem; margin: -.8rem -.75rem .6rem; padding: .6rem .75rem; color: #fff; font-size: .88rem; }
.qs-0 .qs-top { background: #0a2d49; } .qs-1 .qs-top { background: #0f4466; } .qs-2 .qs-top { background: #15547e; } .qs-3 .qs-top { background: #087172; } .qs-4 .qs-top { background: #0e8b8c; }
.qs-top .viz-ico { width: 20px; height: 20px; color: #bff5ec; }
.qs-seg ul { margin: 0; padding-left: 1rem; color: var(--ink-soft); font-size: .8rem; display: grid; gap: .25rem; }
.qs-matrix table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.qs-matrix th, .qs-matrix td { padding: .5rem .55rem; border-bottom: 1px solid var(--border); text-align: center; }
.qs-matrix tbody th { text-align: left; white-space: nowrap; color: var(--navy-950); }
.qs-matrix thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
td.ic-S { background: #e3eef8; color: var(--navy-800); font-weight: 700; }
td.ic-B { background: var(--teal-soft); color: #065c62; font-weight: 700; }
td.ic-C { background: var(--amber-soft); color: var(--warn); font-size: .72rem; }
/* destination scope chain */
.ds-chain { display: flex; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.ds-chain li { flex: 1 1 0; position: relative; display: flex; flex-direction: column; gap: .25rem; padding: .85rem .9rem; border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: 10px; background: var(--gray-25); font-size: .84rem; }
.ds-chain li .viz-ico { color: var(--teal-dark); }
.ds-chain strong { color: var(--navy-950); }
.ds-chain span { color: var(--ink-soft); }
.ds-chain li:not(:last-child)::after { content: ""; position: absolute; right: -.55rem; top: 1.4rem; width: .45rem; height: .45rem; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
/* process flow */
.viz-flow { padding: 1.1rem 1.2rem .9rem; }
.pf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; counter-reset: pf; }
.pf li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: .8rem; border-radius: 12px; background: var(--gray-50); font-size: .82rem; }
.pf li .viz-ico { color: var(--teal-dark); }
.pf strong { color: var(--navy-950); font-size: .92rem; }
.pf span { color: var(--ink-soft); }
.pf .pf-n { position: absolute; top: .6rem; right: .7rem; font-size: .72rem; font-weight: 800; color: var(--gray-500); }
/* passages strip */
.ps { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.ps li { position: relative; padding: .38rem .7rem; border-radius: 999px; background: var(--gray-100); color: var(--navy-900); font-size: .84rem; font-weight: 650; }
.ps li.end { background: var(--navy-900); color: #fff; }
.ps li:not(:last-child)::after { content: "→"; margin-left: .45rem; color: var(--teal); }
/* route data card */
.rdc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.rdc > div { padding: 1rem 1.1rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rdc dt { display: flex; align-items: center; gap: .4rem; margin: 0 0 .3rem; color: var(--teal-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rdc dt .viz-ico { width: 18px; height: 18px; }
.rdc dd { margin: 0; color: var(--navy-950); font-size: .93rem; line-height: 1.45; }
.rdc dd small { display: block; color: var(--ink-soft); font-size: .8rem; }
.rdc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.rdc-fact { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: linear-gradient(160deg, #0a2d49, #0f4466); color: #d7ecf0; }
.rdc-fact h3 { margin: 0 0 .45rem; color: #fff; font-size: 1rem; }
.rdc-fact p { margin: 0; font-size: .88rem; line-height: 1.5; }
.rdc-fact .viz-kicker { color: #5ce9d5; }
.start-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.start-chips li { padding: .3rem .65rem; border: 1px solid var(--border-dark); border-radius: 999px; font-size: .8rem; color: var(--navy-900); background: var(--white); }
.start-label { margin: 1rem 0 0; font-size: .82rem; font-weight: 800; color: var(--navy-900); }
/* photos */
.photo-fig { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); box-shadow: var(--shadow-sm); }
.photo-fig img { display: block; width: 100%; height: auto; }
.photo-fig figcaption { padding: .6rem .85rem .7rem; background: var(--white); color: var(--gray-500); font-size: .76rem; line-height: 1.45; }
.photo-fig .photo-credit { display: block; margin-top: .15rem; }
.photo-fig a { color: var(--gray-700); }
.media-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.6rem; align-items: start; }
.media-row--rev { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
/* mini map */
.mm-svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.mm-sea { fill: #082e4a; }
.mm-land { fill: #21596d; stroke: #6fa6b5; stroke-opacity: .75; stroke-width: .8; }
.mm-dot { fill: #eafffb; stroke: #5ce9d5; stroke-width: 2.5; }
.mm-num { font: 800 9px var(--font); text-anchor: middle; fill: #06243a; }
.mm-lab { font: 700 12px var(--font); fill: #fff; paint-order: stroke; stroke: #06243a; stroke-width: 3px; }
.mm-fig { margin: 0; }
.mm-fig figcaption { margin-top: .5rem; color: var(--gray-500); font-size: .78rem; }
.port-table td, .port-table th { font-size: .88rem; }
.port-table .num { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .75rem; font-weight: 800; }
/* origin comparison (China page) */
.oc-table td, .oc-table th { font-size: .86rem; vertical-align: top; }
/* prefilled enquiry */
.rq-form { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.rq-form h3 { margin: 0 0 .3rem; color: var(--navy-950); }
.rq-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.rq-form label { display: block; margin: .7rem 0 .25rem; font-size: .84rem; font-weight: 700; color: var(--navy-900); }
.rq-form input, .rq-form select, .rq-form textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--border-dark); border-radius: 8px; font: inherit; font-size: .92rem; background: var(--white); }
.rq-form input[readonly] { background: var(--gray-50); color: var(--navy-900); }
.rq-form .form-consent { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; }
.rq-form .form-consent input { width: auto; margin-top: .25rem; }
.rq-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-form button { margin-top: 1rem; }
.rq-note { margin: .6rem 0 0; color: var(--gray-500); font-size: .8rem; }
@media (max-width: 1040px) {
  .hf-flow, .pf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-node:nth-child(3)::after { display: none; }
  .qs-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qs-seg:nth-child(3) { border-right: 0; }
  .qs-seg:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 800px) {
  .viz { padding: 1.1rem 1rem .9rem; }
  .viz-grid2, .media-row, .media-row--rev, .rdc-facts { grid-template-columns: minmax(0, 1fr); }
  .hf-flow, .pf, .bc-cards, .bc-conds, .dc-grid, .qs-bar, .rdc { grid-template-columns: minmax(0, 1fr); }
  .hf-node::after { display: none !important; }
  .qs-seg { border-right: 0; border-bottom: 1px solid var(--border); }
  .ds-chain { flex-direction: column; }
  .ds-chain li::after { display: none; }
  .rq-form .form-row { grid-template-columns: 1fr; }
  .hf-table table, .qs-matrix table { font-size: .72rem; }
}

/* row headers inside diagram tables: light, readable (base styles.css paints every th navy) */
.hf-table tbody th, .qs-matrix tbody th, .port-table tbody th, .oc-table tbody th { background: var(--gray-50); color: var(--navy-950); font-size: .82rem; letter-spacing: 0; }
.port-table tbody th, .oc-table tbody th { white-space: normal; }
.port-table th, .port-table td, .oc-table th, .oc-table td { padding: .7rem .8rem; }
/* photo cards + photo heroes (main pages) */
.card-photo { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.card-photo picture img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .card-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-photo .card-body h3 { margin: 0; }
.card-photo .card-body p { margin: 0; }
.card-photo .card-link { margin-top: auto; padding-top: .5rem; }
.photo-credit-line { display: block; color: var(--gray-500); font-size: .72rem; line-height: 1.4; }
.photo-credit-line a { color: var(--gray-700); }
.hero--photo { background: var(--navy-950); }
.hero-photo, .page-hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img, .page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,31,51,.97) 0%, rgba(7,31,51,.88) 45%, rgba(7,31,51,.45) 78%, rgba(7,31,51,.3) 100%); }
.hero-photo-note { position: absolute; right: 1rem; bottom: .6rem; z-index: 2; margin: 0; color: rgba(255,255,255,.62); font-size: .7rem; }
.hero-photo-note a { color: rgba(255,255,255,.8); }
.page-hero--visual .hero-photo-note { right: 1rem; bottom: .5rem; }
.home-map { margin: 0; padding: 1rem; border-radius: var(--radius); background: #082e4a; }
.home-map svg { display: block; width: 100%; height: auto; }
.home-map figcaption { margin-top: .5rem; color: rgba(255,255,255,.7); font-size: .78rem; }
.origin-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.origin-chips a { display: inline-block; padding: .38rem .75rem; border: 1px solid var(--border-dark); border-radius: 999px; background: var(--white); color: var(--navy-900); font-size: .86rem; font-weight: 650; text-decoration: none; }
.origin-chips a:hover { border-color: var(--teal); color: var(--teal-dark); }
.section-dark .viz { color: var(--ink); }
.mode-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.mode-compare > li { padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: 12px; background: var(--gray-25); }
.mode-compare .mc-box { display: flex; gap: 4px; height: 46px; margin-bottom: .8rem; padding: 5px; border: 2px solid var(--navy-800); border-radius: 6px; background: #fff; }
.mode-compare .mc-box span { flex: 1; border-radius: 3px; background: var(--teal); }
.mode-compare .mc-box span.o { background: #9fb3c8; }
.mode-compare .mc-box span.e { background: transparent; border: 1px dashed var(--border-dark); }
.mode-compare strong { display: block; color: var(--navy-950); }
.mode-compare ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .88rem; display: grid; gap: .25rem; }
@media (max-width: 800px) { .mode-compare { grid-template-columns: minmax(0, 1fr); } .hero-photo-note { position: static; padding: 0 1.25rem 1rem; } }
.home-map .rm-svg--china { max-height: 560px; }
.media-row--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 800px) { .media-row--even { grid-template-columns: minmax(0, 1fr); } }
/* compact variants used on route pages (shared explanations live on hub / guide pages) */
.hf-terms--row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bc-card--sm { flex-direction: row; align-items: center; gap: .75rem; padding: .7rem .8rem; }
.bc-card--sm .bc-ico { width: 40px; height: 40px; flex: none; }
.bc-card--sm div:last-child { display: flex; flex-direction: column; gap: .25rem; }
.viz-battery--sm .bc-cond { padding: .5rem .7rem; align-items: center; }
.dc-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.dc-chips li { padding: .35rem .65rem; border-radius: 8px; background: var(--gray-50); color: var(--navy-900); font-size: .84rem; }
.dc-chips .viz-ico-sm { color: var(--teal-dark); }
.viz-docs--sm .check-list { margin: 0 0 .4rem; }
.viz-battery--sm .bc-cards { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.viz-battery--sm .bc-conds { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.viz-battery--sm .bc-card--sm div:last-child { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }

/* ---- plan v2: dense country maps, tall port tables ---- */
.ports-stack { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.ports-stack .mm-fig { max-width: 820px; }
.port-table--tall { max-height: 34rem; overflow: auto; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 12px; }
.port-table--tall thead th { position: sticky; top: 0; z-index: 1; }

/* ---- plan v2: configuration schematics, package positions, customs split, icon cards ---- */
.cf-fig { margin: 0; padding: 1rem; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 16px; background: linear-gradient(160deg, #f3f8fa, #fff); }
.cf-fig figcaption { margin-top: .6rem; color: var(--gray-600, #4b5563); font-size: .85rem; line-height: 1.5; }
.cf-fig--sm { padding: .8rem 1rem .4rem; border: 0; border-radius: 0; background: linear-gradient(160deg, #eef6f8, #fff); }
.cf-svg { display: block; width: 100%; height: auto; max-height: 320px; }
.cf-box { fill: #f6efe3; stroke: #8a6a3d; stroke-width: 2.2; }
.cf-flap { fill: #efe3cf; stroke: #8a6a3d; stroke-width: 2; }
.cf-div { fill: none; stroke: #b99a6b; stroke-width: 1.4; stroke-dasharray: 5 4; }
.cf-cell { fill: #0f3b57; stroke: #06243a; stroke-width: 1.5; }
.cf-cell--in { fill: #0f3b57; }
.cf-term { fill: #5ce9d5; }
.cf-bolt { fill: none; stroke: #5ce9d5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cf-dev { fill: #dfe7ec; stroke: #36556a; stroke-width: 2.2; }
.cf-screen { fill: #9fb6c4; }
.cf-btn { fill: #36556a; }
.cf-inner { fill: #fff; stroke: #36556a; stroke-width: 1.6; stroke-dasharray: 6 4; }
.card-media-img .cf-fig--sm { height: 100%; display: grid; align-items: center; }
.viz-pack .pk-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem; align-items: center; }
@media (max-width: 760px) { .viz-pack .pk-grid { grid-template-columns: minmax(0, 1fr); } }
.pk-svg { display: block; width: 100%; height: auto; max-height: 300px; }
.pk-top { fill: #efe3cf; stroke: #8a6a3d; stroke-width: 2; } .pk-side { fill: #e6d6bc; stroke: #8a6a3d; stroke-width: 2; }
.pk-face { fill: #f6efe3; stroke: #8a6a3d; stroke-width: 2.2; } .pk-tape { stroke: #b99a6b; stroke-width: 10; opacity: .5; }
.pk-zone { fill: rgba(15,59,87,.06); stroke: #0f3b57; stroke-width: 1.6; stroke-dasharray: 5 4; }
.pk-n { font: 800 15px var(--font, sans-serif); fill: #0f3b57; text-anchor: middle; }
.pk-legend { margin: 0; padding-left: 1.4rem; display: grid; gap: .55rem; }
.pk-legend li strong { display: block; color: var(--navy-950, #071f33); font-size: .93rem; }
.pk-legend li span { color: var(--gray-600, #4b5563); font-size: .85rem; }
.cs-split { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .cs-split { grid-template-columns: minmax(0, 1fr); } }
.cs-col { border: 1px solid var(--gray-200, #e5e7eb); border-radius: 14px; padding: 1rem; background: #fff; }
.cs-col ul { margin: .6rem 0 0; padding-left: 1.1rem; font-size: .9rem; color: var(--gray-700, #374151); }
.card-ico { display: flex; align-items: center; justify-content: center; height: 132px; background: linear-gradient(160deg, #eef6f8, #fff); border-bottom: 1px solid var(--gray-200, #e5e7eb); }
.card-ico .viz-ico { width: 54px; height: 54px; stroke: #0f3b57; stroke-width: 1.4; fill: none; }
.card-media .card-media-img picture, .card-media .card-media-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-credit-line { display: block; margin-top: .5rem; font-size: .72rem; color: var(--gray-500, #6b7280); }
.photo-credit-line a { color: inherit; }
.about-layout-fig.photo-fig img { aspect-ratio: auto; }
.page-hero--plain { background: linear-gradient(135deg, #071f33, #0f3b57); }
.viz + .viz, .viz + .cf-fig, .viz + .grid-2, .grid-2 + .viz { margin-top: 1.6rem; }
.about-photo { position: sticky; top: 110px; }
@media (max-width: 900px) { .about-photo { position: static; } }
.media-row .port-table--tall { max-height: none; }

/* ---- plan v3: generated illustration rows ---- */
.gen-row { display: grid; gap: 1.2rem; margin-top: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gen-row--1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.gen-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .gen-row, .gen-row--3 { grid-template-columns: minmax(0, 1fr); } }
.gen-fig img { width: 100%; height: auto; display: block; }
.prose .gen-fig { margin-top: 1.2rem; }

/* ---- carrier logo wall (official logos, grayscale until hover/focus) ---- */
.cl-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.cl-item { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: .8rem 1rem; background: #fff; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 12px; }
.cl-item img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.cl-item:hover img, .cl-item:focus-within img { filter: none; opacity: 1; }
.cl-item--text span { font-weight: 800; font-size: .95rem; color: var(--navy-950, #071f33); text-align: center; letter-spacing: .01em; }
.cl-item--more { background: transparent; border-style: dashed; }
.cl-wall--sm { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; }
.cl-wall--sm .cl-item { min-height: 58px; padding: .55rem .7rem; }
.cl-wall--sm .cl-item img { max-height: 28px; }
.cl-wall--sm .cl-item--text span { font-size: .84rem; }
.cl-note { margin-top: .9rem; color: var(--gray-600, #4b5563); font-size: .84rem; line-height: 1.5; }
.cl-strip { margin-top: 1.4rem; padding: 1rem 1.1rem; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 14px; background: var(--gray-50, #f8fafc); }
.cl-strip-title { margin: 0 0 .7rem; font-weight: 800; color: var(--navy-950, #071f33); }

/* ---- Cloudflare deploy: WhatsApp + enquiry form states ---- */
.wa-ico { width: 1.25em; height: 1.25em; flex: none; }
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 95; display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem .7rem .9rem; border-radius: 999px; background: #0f7a45; color: #fff; font-size: .9rem; font-weight: 720;
  line-height: 1; text-decoration: none; box-shadow: 0 10px 28px rgba(7,31,51,.28); }
.wa-float .wa-ico { width: 22px; height: 22px; }
.wa-float:hover { background: #0b6338; color: #fff; }
.wa-float:focus-visible { outline: 3px solid #0b1f33; outline-offset: 3px; }
@media (max-width: 800px) {
  .wa-float { right: 1rem; bottom: 4.5rem; width: 50px; height: 50px; padding: 0; justify-content: center; }
  .wa-float .wa-ico { width: 26px; height: 26px; }
  .wa-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 8.5rem; }
}
@media print { .wa-float { display: none; } }
.footer-wa { margin-top: .9rem; }
.footer-wa a { display: inline-flex; align-items: center; gap: .45rem; color: #9ce3df; font-weight: 650; }
.wa-alt { display: flex; align-items: center; gap: .45rem; margin: .9rem 0 0; font-size: .92rem; color: var(--gray-700, #3b4a5a); }
.wa-alt .wa-ico { color: #0f7a45; }
.wa-alt a { font-weight: 700; color: #0f7a45; }
.wa-contact { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.3rem 1.4rem; border: 1px solid #cfe7da;
  border-radius: 14px; background: #f1faf5; }
.wa-contact h3 { margin: 0 0 .35rem; }
.wa-contact p { margin: 0 0 .9rem; }
.wa-contact-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #0f7a45; color: #fff; }
.wa-contact-ico .wa-ico { width: 26px; height: 26px; }
.btn-wa { display: inline-flex; align-items: center; gap: .5rem; background: #0f7a45; color: #fff; border-color: #0f7a45; }
.btn-wa:hover { background: #0b6338; color: #fff; }
.ts-slot { margin: .4rem 0 .8rem; }
.ts-slot:empty { display: none; }
.form-status { margin: .9rem 0 0; padding: .8rem 1rem; border-radius: 10px; font-size: .93rem; line-height: 1.45; }
.form-status.is-info { background: #eef4fa; color: #0b1f33; }
.form-status.is-ok { background: #e6f5ee; color: #0f5132; border: 1px solid #b7e0c8; }
.form-status.is-err { background: #fdecea; color: #842029; border: 1px solid #f3c1bd; }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }

/* no-JS note under the Turnstile slot */
.nojs-note { margin: .5rem 0 .75rem; font-size: .9rem; color: #5b3a00; background: #fff6e0; border-left: 3px solid #e0a100; padding: .5rem .75rem; border-radius: 4px; }

/* desktop: keep the footer legal line clear of the floating WhatsApp button */
@media (min-width: 801px) { .site-footer { padding-bottom: 4.5rem; } }

/* /image-credits/ */
.ic-page { max-width: 1100px; }
.ic-table { font-size: .9rem; }
.ic-table td { vertical-align: top; }
.ic-table td:first-child { width: 132px; }
.ic-table img { display: block; max-width: 120px; height: auto; border-radius: 4px; }
.ic-table .ic-title { color: #5c6b7a; font-size: .82rem; word-break: break-word; }
.ic-table a { word-break: break-word; }
