/* Switch to Zoho hub (/zoho-migration/) only. Loaded via `extra: p-migrate`. Every class is scoped with .pmh- */

/* ---------- hero ---------- */
.pmh-hero__grid { align-items: start; }
.pmh-sub { margin: 14px 0 0; font: 600 clamp(18px, 1rem + .4vw, 21px)/1.45 var(--f-display); color: #082238; max-width: 40ch; }
.pmh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pmh-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #DCE7EF; font: 600 13.5px/1.2 var(--f-body); color: #1E293B; }
.pmh-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #00A3D9, #3FB97A); }

/* picker card */
.pmh-pick { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: rgba(255,255,255,.9); border: 1px solid #DCE7EF; box-shadow: 0 46px 90px -56px rgba(8,34,56,.65); backdrop-filter: blur(8px); }
.pmh-pick__q { margin: 0 0 14px; font: 700 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #0A6FA8; }
.pmh-pick__ends { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; }
.pmh-end { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.pmh-end__lab { font: 600 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.pmh-mark { --c: #0A6FA8; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: #fff; font: 800 22px/1 var(--f-display); letter-spacing: -.02em; box-shadow: 0 16px 30px -18px rgba(8,34,56,.7); transition: background 300ms, transform 300ms; }
.pmh-mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pmh-mark.is-swap { transform: scale(.88) rotate(-6deg); }
.pmh-select { width: 100%; max-width: 200px; height: 44px; padding: 0 30px 0 12px; border-radius: 12px; border: 1.5px solid #CFE2EE; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A6FA8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; font: 600 15px/1 var(--f-body); color: #082238; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pmh-select:focus-visible { outline: none; border-color: #00A3D9; box-shadow: 0 0 0 4px rgba(0,163,217,.18); }
.pmh-end__ic { width: 64px; height: 64px; padding: 10px; box-sizing: border-box; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 16px 30px -18px rgba(8,34,56,.5); }
.pmh-end__name { font: 700 16px/1.2 var(--f-display); color: #082238; min-height: 44px; display: grid; place-items: center; }

.pmh-route { width: 100%; height: auto; overflow: visible; }
.pmh-route__base { fill: none; stroke: #DCE7EF; stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.pmh-route__line { fill: none; stroke: #00A3D9; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.pmh-route.is-draw .pmh-route__line { animation: pmh-draw 1100ms cubic-bezier(.6,.05,.3,1) both; }
@keyframes pmh-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.pmh-route__pin { fill: #fff; stroke: #0A6FA8; stroke-width: 3; }
.pmh-route__pin--end { stroke: #3FB97A; }
.pmh-route__box rect { fill: #FFB81C; stroke: #082238; stroke-width: 1.5; }
.pmh-route__box path { fill: none; stroke: #082238; stroke-width: 1.5; }
.pmh-route__box { offset-path: path("M14 96 C 70 96, 70 24, 110 24 S 150 96, 206 96"); offset-distance: 100%; offset-rotate: 0deg; }
.pmh-route.is-draw .pmh-route__box { animation: pmh-carry 1100ms cubic-bezier(.6,.05,.3,1) both; }
@keyframes pmh-carry { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.pmh-res { margin-top: 18px; padding: 18px; border-radius: 18px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.pmh-res__tag { display: inline-block; margin: 0 0 8px; padding: 5px 10px; border-radius: 999px; font: 700 12px/1 var(--f-body); letter-spacing: .04em; background: #FFF4D6; color: #8A5A00; }
.pmh-res__tag.is-live { background: #DDF5E8; color: #166B42; }
.pmh-res__t { margin: 0; font: 700 21px/1.25 var(--f-display); letter-spacing: -.02em; color: #082238; }
.pmh-res__p { margin: 6px 0 14px; font-size: 15px; line-height: 1.55; color: #334155; }
.pmh-res__go { white-space: normal; text-align: left; }

.pmh-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.pmh-quick span { font: 600 13px/1 var(--f-body); color: #64748B; margin-right: 2px; }
.pmh-quick button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #DCE7EF; background: #fff; font: 600 13px/1 var(--f-body); color: #082238; cursor: pointer; transition: border-color 200ms, background 200ms; }
.pmh-quick button:hover { border-color: #00A3D9; }
.pmh-quick button[aria-pressed="true"] { background: #082238; border-color: #082238; color: #fff; }

/* ---------- shared section head ---------- */
.pmh-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.pmh-head .pg-answer { margin: 0; }

/* ---------- routes grid ---------- */
.pmh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pmh-dest { --c: #0A6FA8; --bg: #E6F3FB; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 50px -44px rgba(8,34,56,.6); }
.pmh-dest header { display: flex; gap: 14px; align-items: flex-start; }
.pmh-dest header img { flex: none; width: 48px; height: 48px; padding: 8px; box-sizing: border-box; border-radius: 14px; background: var(--bg); }
.pmh-dest h3 { margin: 0; font: 700 19px/1.25 var(--f-display); letter-spacing: -.02em; color: #082238; }
.pmh-dest header p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: #475569; }
.pmh-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pmh-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: #082238; text-decoration: none; font: 600 15px/1.2 var(--f-body); transition: transform 200ms, box-shadow 200ms; }
.pmh-links a i { font-style: normal; color: var(--c); }
.pmh-links a b { color: var(--c); }
.pmh-links a::after { content: "Read plan"; margin-left: auto; font: 600 12px/1 var(--f-body); color: #64748B; }
.pmh-links a:hover { transform: translateX(3px); box-shadow: inset 3px 0 0 var(--c); }
.pmh-too { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px dashed #E2E8F0; }
.pmh-too span { width: 100%; font: 700 11.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #64748B; margin-bottom: 2px; }
.pmh-too button, .pmh-small button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px dashed #CBD5E1; background: #fff; font: 600 13px/1 var(--f-body); color: #1E293B; cursor: pointer; transition: border-color 200ms, background 200ms, color 200ms; }
.pmh-too button::after, .pmh-small button::after { content: "+"; font-weight: 700; color: #0A6FA8; }
.pmh-too button:hover, .pmh-small button:hover { border-style: solid; border-color: #FFB81C; background: #FFF8E6; }
.pmh-too button:focus-visible, .pmh-small button:focus-visible, .pmh-quick button:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }
.pmh-dest--more { grid-column: 1 / -1; background: #F3F7F9; }
.pmh-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.pmh-small li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; }
.pmh-small img { flex: none; width: 24px; height: 24px; }
.pmh-small b { flex: 1; min-width: 0; font: 600 14px/1.2 var(--f-body); color: #082238; }
.pmh-small button { flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmh-note { margin: 22px 0 0; font-size: 15px; color: #475569; }

/* ---------- method: six legs on a route line ---------- */
.pmh-legs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pmh-legs::before { content: ""; position: absolute; left: 20px; right: 20px; top: 21px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #0A6FA8, #00A3D9, #00B2A9, #3FB97A, #FFB81C, #1D3F8F); opacity: .35; }
.pmh-legs li { position: relative; padding-top: 60px; }
.pmh-legs__n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--c); font: 800 17px/1 var(--f-display); color: #082238; box-shadow: 0 10px 20px -14px rgba(8,34,56,.6); }
.pmh-legs h3 { margin: 0 0 8px; font: 700 18px/1.25 var(--f-display); color: #082238; }
.pmh-legs p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #475569; }

/* ---------- packages (dark band) ---------- */
.pmh-head--light .pg-answer { color: #C9DCEA; }
.pmh-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pmh-size { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #E2EEF6; }
.pmh-size--mid { background: rgba(255,255,255,.11); border-color: rgba(95,211,243,.5); }
.pmh-size__tag { margin: 0 0 10px; font: 700 12.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #5FD3F3; }
.pmh-size h3, .pmh-assess h3 { margin: 0 0 14px; font: 700 20px/1.3 var(--f-display); letter-spacing: -.02em; color: #fff; }
.pmh-size ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pmh-size li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.pmh-size li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 5px; border-left: 2px solid #3FB97A; border-bottom: 2px solid #3FB97A; transform: rotate(-45deg); }
.pmh-size__fee { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; line-height: 1.5; color: #FFD675; }
.pmh-assess { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; margin-top: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: linear-gradient(135deg, rgba(255,184,28,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,184,28,.45); }
.pmh-assess .pmh-size__tag { color: #FFD675; }
.pmh-assess__copy p:last-of-type { margin: 0; font-size: 15.5px; line-height: 1.6; color: #D6E4EE; }
.pmh-assess__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: pmha; }
.pmh-assess__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; font-size: 14px; line-height: 1.45; color: #C9DCEA; counter-increment: pmha; }
.pmh-assess__list li::before { content: counter(pmha); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #FFB81C; color: #082238; font: 800 13px/1 var(--f-display); }
.pmh-assess__list b { color: #fff; font-size: 15px; }
.pmh-assess__go { margin-top: 20px; }

/* ---------- pace ---------- */
.pmh-pace__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pmh-pace__col { padding: 24px; border-radius: 22px; border: 1px solid #E2E8F0; background: #fff; }
.pmh-pace__col h3 { margin: 0 0 12px; font: 700 19px/1.2 var(--f-display); color: #082238; }
.pmh-pace__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pmh-pace__col li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; color: #334155; }
.pmh-pace__col li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 800 14px/1 var(--f-body); }
.pmh-pace__col--go { border-top: 4px solid #3FB97A; }
.pmh-pace__col--go li::before { content: "+"; background: #DDF5E8; color: #166B42; }
.pmh-pace__col--slow { border-top: 4px solid #FFB81C; }
.pmh-pace__col--slow li::before { content: "–"; background: #FFF4D6; color: #8A5A00; }

/* ---------- why ---------- */
.pmh-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pmh-why__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; }
.pmh-why__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pmh-why__list li { padding: 16px 18px; border-radius: 16px; background: #F3F7F9; border-left: 4px solid #00A3D9; font-size: 15.5px; line-height: 1.55; color: #334155; }
.pmh-why__list li:last-child { border-left-color: #FFB81C; background: #FFF8E6; }
.pmh-why__list b { color: #082238; }

/* ---------- how it starts ---------- */
.pmh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pmh-steps li { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.pmh-steps span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: #E6F3FB; font: 800 15px/1 var(--f-display); color: #0A6FA8; }
.pmh-steps b { display: block; font: 700 17px/1.3 var(--f-display); color: #082238; }
.pmh-steps p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: #475569; }
.pmh-start__next { margin: 20px 0 0; font-size: 15px; color: #475569; }
.pmh-start__next a { font-weight: 600; color: #0A6FA8; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pmh-legs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .pmh-legs::before { display: none; }
  .pmh-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pmh-head, .pmh-why__grid, .pmh-assess { grid-template-columns: minmax(0, 1fr); }
  .pmh-grid, .pmh-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pmh-grid, .pmh-sizes, .pmh-pace__grid, .pmh-small, .pmh-steps, .pmh-legs { grid-template-columns: minmax(0, 1fr); }
  .pmh-pick__ends { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 4px; }
  .pmh-mark, .pmh-end__ic { width: 52px; height: 52px; border-radius: 16px; }
  .pmh-end__name { font-size: 14px; }
  .pmh-select { font-size: 14px; padding-left: 8px; }
  .pmh-links a::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pmh-route.is-draw .pmh-route__line, .pmh-route.is-draw .pmh-route__box { animation: none; }
  .pmh-mark { transition: none; }
}
.pmh-dest--ask { justify-content: space-between; background: transparent; border: 2px dashed #CFE2EE; box-shadow: none; }
.pmh-dest--ask .btn { align-self: flex-start; }
/* catch-all card sits last, across the full row */
.pmh-dest--ask { grid-column: 1 / -1; }
@media (min-width: 761px) { .pmh-dest--ask { flex-direction: row; align-items: center; gap: 24px; } .pmh-dest--ask .btn { align-self: center; flex: none; } }

/* ===== Migration request modal ===== */
.pmh-modal{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;}
.pmh-modal[hidden]{display:none;}
.pmh-modal__overlay{position:absolute;inset:0;background:rgba(8,34,56,.55);cursor:pointer;}
.pmh-modal__card{position:relative;background:#fff;border-radius:16px;padding:clamp(24px,5vw,48px);width:min(520px,calc(100vw - 32px));box-shadow:0 24px 64px rgba(8,34,56,.22);max-height:90vh;overflow-y:auto;}
.pmh-modal__close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:18px;cursor:pointer;color:#6B7280;line-height:1;padding:4px 8px;border-radius:6px;}
.pmh-modal__close:hover{background:#F3F4F6;}
.pmh-modal__from{font:600 12px/1 var(--f-body);color:#1D3F8F;text-transform:uppercase;letter-spacing:.07em;margin:0 0 10px;}
.pmh-modal__t{font:700 clamp(22px,3vw,28px)/1.2 var(--f-head,var(--f-body));color:#082238;margin:0 0 8px;}
.pmh-modal__sub{font-size:15px;line-height:1.5;color:#6B7280;margin:0 0 24px;}
.pmh-modal__row{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;}
.pmh-modal__row label{font:600 14px/1 var(--f-body);color:#082238;}
.pmh-modal__row label span{color:#C8321F;}
.pmh-modal__row input{border:1.5px solid #D1D5DB;border-radius:8px;padding:11px 14px;font:16px/1.4 var(--f-body);color:#082238;outline:none;transition:border-color .15s;width:100%;box-sizing:border-box;}
.pmh-modal__row input:focus{border-color:#1D3F8F;}
.pmh-modal__row input.is-err{border-color:#C8321F;}
.pmh-modal__err{font-size:14px;color:#C8321F;margin:-8px 0 12px;}
.pmh-modal__submit{width:100%;justify-content:center;margin-top:8px;}
.pmh-modal__ok{font:600 16px/1.5 var(--f-body);color:#15803D;text-align:center;margin:16px 0 0;}
