/* Scoped to the Visit Japan guide; existing page styling is retained. */
#vj-open { text-align:left; width:100%; cursor:pointer; font:inherit; }
#vj-open:focus-visible { outline:3px solid #1e3557; outline-offset:4px; }
.vj-card-cta { display:inline-flex; align-items:center; gap:10px; margin-top:16px; padding:12px 18px; min-height:48px; border-radius:10px; background:#1e3557; color:#fff; font-size:16px; font-weight:700; box-shadow:0 4px 10px #1e355726; }
#vj-open:hover .vj-card-cta, #vj-open:focus-visible .vj-card-cta { background:#2e4b72; }
.vj-dialog { padding:0; border:0; border-radius:20px; width:min(1180px, calc(100vw - 48px)); max-width:none; height:min(900px, calc(100dvh - 48px)); max-height:none; color:#333; background:#f7f6f2; overflow:hidden; margin:auto; box-shadow:0 24px 90px #0004; font-family:'Noto Sans KR',sans-serif; }
.vj-dialog::backdrop { background:rgba(17,31,52,.7); }
.vj-dialog[open] { display:flex; flex-direction:column; }
.vj-dialog *, .vj-dialog *::before, .vj-dialog *::after { box-sizing:border-box; }
.vj-dialog button,.vj-dialog a { touch-action:manipulation; }
.vj-dialog button:focus-visible,.vj-dialog a:focus-visible,.vj-dialog summary:focus-visible { outline:3px solid #b69a62; outline-offset:3px; }
.vj-header { flex:none; padding:20px 24px 14px; background:#1e3557; color:white; }
.vj-heading-row { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.vj-header h2 { font-size:24px; font-weight:700; margin:0; }
.vj-kicker { font-size:12px; color:#d3ddec; margin:0 0 4px; }
.vj-close { background:transparent; border:1px solid #ffffff66; color:white; border-radius:8px; padding:10px 14px; min-height:44px; font-weight:700; white-space:nowrap; }
.vj-progress-row { display:flex; justify-content:space-between; margin-top:14px; font-size:13px; }
.vj-progress { width:100%; height:5px; border:0; display:block; margin-top:8px; accent-color:#d3b77f; border-radius:9px; overflow:hidden; }
.vj-progress::-webkit-progress-bar { background:#ffffff30; }
.vj-progress::-webkit-progress-value { background:#d3b77f; }
.vj-layout { display:flex; flex:1; min-height:0; }
.vj-sidebar { width:270px; flex:none; overflow:auto; border-right:1px solid #e0e4e9; padding:20px 14px; background:#fff; overscroll-behavior:contain; }
.vj-sidebar summary { pointer-events:none; list-style:none; font-size:14px; font-weight:700; color:#1e3557; padding:0 10px 12px; }
.vj-sidebar summary::-webkit-details-marker { display:none; }
.vj-step-list { list-style:none; margin:0; padding:0; }
.vj-step-list button { display:flex; text-align:left; align-items:flex-start; gap:10px; width:100%; border:0; background:transparent; border-radius:10px; padding:10px; color:#555; font-size:13px; line-height:1.55; min-height:44px; }
.vj-step-list button:hover { background:#f3f6fa; }
.vj-step-list button[aria-current=step] { background:#eaf1f8; color:#1e3557; font-weight:700; }
.vj-step-number { flex:none; width:24px; height:24px; border:1px solid #d8e0eb; border-radius:50%; display:grid; place-items:center; font-size:12px; }
[aria-current=step] .vj-step-number { background:#1e3557; border-color:#1e3557; color:white; }
.vj-content { flex:1; min-width:0; overflow:auto; padding:24px 28px 32px; overscroll-behavior:contain; }
.vj-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.vj-action { display:inline-flex; justify-content:center; align-items:center; gap:6px; min-height:44px; padding:10px 14px; border:1px solid #c6d1df; border-radius:8px; background:white; color:#1e3557; font-size:14px; font-weight:700; text-decoration:none; cursor:pointer; }
.vj-action:hover { background:#edf2f8; }
.vj-primary { background:#1e3557; border-color:#1e3557; color:#fff; }
.vj-primary:hover { background:#2e4b72; color:#fff; }
.vj-label { color:#5e83a5; font-size:13px; font-weight:700; margin:0 0 6px; }
.vj-step-title { color:#1e3557; font-size:25px; line-height:1.5; font-weight:700; margin:0 0 18px; outline-offset:4px; }
.vj-note { padding:14px 16px; background:#fff8e9; border:1px solid #ead8b2; border-radius:10px; font-size:14px; line-height:1.8; margin:0 0 20px; }
.vj-note strong { display:block; color:#806132; margin-bottom:4px; }
.vj-instructions { padding:18px 20px; background:white; border:1px solid #e2e6ec; border-radius:12px; margin:0 0 20px; line-height:1.85; font-size:16px; overflow-wrap:anywhere; }
.vj-instructions h4,.vj-values h4 { font-size:15px; font-weight:700; color:#1e3557; margin:0 0 12px; }
.vj-instructions ol { list-style:decimal; padding-left:24px; margin:8px 0; }
.vj-instructions li+li { margin-top:8px; }
.vj-screen-info { border-top:1px solid #e4e8ef; padding-top:12px; margin-top:14px; font-size:14px; color:#555; }
.vj-screen-info p { margin:8px 0; }
.vj-values { margin-bottom:20px; border:1px solid #d9e3ed; border-radius:12px; padding:18px; background:#edf3f8; font-size:14px; line-height:1.7; }
.vj-values p { margin:0 0 12px; }
.vj-value-row { display:grid; grid-template-columns:minmax(95px, .8fr) minmax(0, 1.4fr) auto; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid #d9e3ed; }
.vj-value-row:last-child { border-bottom:0; }
.vj-value-row b { color:#1e3557; overflow-wrap:anywhere; }
.vj-copy { background:white; border:1px solid #bbcbdc; border-radius:7px; padding:8px 12px; min-height:44px; color:#1e3557; font-weight:700; }
.vj-flights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.vj-flight { padding:12px; background:white; border:1px solid #d9e3ed; border-radius:8px; }
.vj-flight strong { color:#1e3557; display:block; font-size:16px; margin-bottom:6px; }
.vj-flight span { display:block; }
.vj-copy-status { color:#1e3557; font-size:14px; min-height:24px; margin:0 0 10px; }
.vj-image-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.vj-image-bar h4 { font-size:15px; color:#1e3557; font-weight:700; margin:0; }
.vj-page-image { display:block; width:100%; height:auto; border:1px solid #e1e5eb; background:white; }
#vj-step > figure { margin:0 0 24px; }
.vj-image-caption { font-size:13px; color:#637083; line-height:1.7; margin:10px 0 0; }
.vj-footer { flex:none; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 24px; background:#fff; border-top:1px solid #dde3eb; }
.vj-footer p { font-size:12px; color:#687586; margin:0; text-align:center; }
.vj-footer button { min-width:100px; }
.vj-footer button:disabled { opacity:.4; cursor:default; }
.vj-error { color:#a93825; background:#fff3ef; border-radius:8px; padding:12px; margin-bottom:16px; }
.vj-hidden { display:none !important; }
.vj-zoom .vj-header { padding:14px 20px; }
.vj-zoom h2 { font-size:18px; }
.vj-zoom-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 20px; border-bottom:1px solid #dce1e8; background:white; }
.vj-zoom-controls button { min-height:44px; border:1px solid #c6d1df; padding:8px 12px; border-radius:8px; color:#1e3557; background:white; }
.vj-zoom-viewport { flex:1; min-height:0; overflow:auto; background:#dae1e9; overscroll-behavior:contain; }
.vj-zoom-viewport img { display:block; width:calc(100% * var(--vj-scale, 1)); max-width:none; height:auto; }
.vj-zoom-tip { font-size:13px; padding:8px 20px; margin:0; background:white; color:#5c697a; }
@media(max-width:767px) {
 .vj-dialog { width:100vw; height:100dvh; border-radius:0; }
 .vj-header { padding:14px 16px 12px; }
 .vj-header h2 { font-size:20px; }
 .vj-kicker { font-size:11px; }
 .vj-layout { display:block; overflow:auto; overscroll-behavior:contain; }
 .vj-sidebar { width:100%; overflow:visible; border-right:0; border-bottom:1px solid #e0e4e9; padding:0 16px; }
 .vj-sidebar summary { pointer-events:auto; cursor:pointer; list-style:revert; padding:13px 0; font-size:15px; }
 .vj-sidebar summary::-webkit-details-marker { display:revert; }
 .vj-step-list { padding-bottom:12px; }
 .vj-step-list button { font-size:15px; min-height:48px; }
 .vj-content { overflow:visible; padding:20px 16px 24px; }
 .vj-links { margin-bottom:20px; }
 .vj-links .vj-primary { width:100%; }
 .vj-action { font-size:14px; padding:10px 12px; }
 .vj-step-title { font-size:22px; }
 .vj-note { font-size:15px; }
 .vj-instructions { padding:16px; }
 .vj-values { padding:14px; }
 .vj-flights { grid-template-columns:1fr; }
 .vj-flight { display:grid; grid-template-columns:80px 1fr; gap:4px; }
 .vj-flight strong { grid-row:span 4; }
 .vj-value-row { grid-template-columns:minmax(0,1fr) auto; }
 .vj-value-row>span { grid-column:1; }
 .vj-value-row>b { grid-column:1; }
 .vj-value-row>button { grid-column:2; grid-row:span 2; }
 .vj-footer { padding:12px 16px calc(12px + env(safe-area-inset-bottom)); }
 .vj-footer button { min-width:80px; }
 .vj-footer p { max-width:140px; }
 .vj-zoom-controls { padding:10px 16px; }
}
