/* CPCF Manual V2 — wayfinding / field manual */
.wf { background: #f7f3e8; color: var(--cpcf-ink); }
.wf-head { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(201,162,39,.18), transparent 34%), linear-gradient(135deg, #0d4a31 0%, #092f20 64%, #061f15 100%); color: #fff; }
.wf-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px); background-size: 44px 44px; opacity: .7; }
.wf-head-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 54px 20px 44px; box-sizing: border-box; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.wf-kicker { margin: 0 0 18px; color: var(--cpcf-gold); font-size: 11px; letter-spacing: .18em; font-weight: 700; }
.wf-title { margin: 0; font-family: var(--cpcf-font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: .08em; font-weight: 700; }
.wf-lead { max-width: 620px; margin: 0; color: rgba(247,242,231,.76); font-size: 15px; line-height: 1.9; }
.wf-head-fact { flex: 0 0 auto; border-left: 1px solid rgba(201,162,39,.45); padding-left: 26px; text-align: right; }
.wf-head-fact span { display: block; font-family: var(--cpcf-font-display); font-size: 48px; line-height: 1; }
.wf-head-fact small { display: block; max-width: 230px; margin-top: 9px; color: var(--cpcf-gold); font-size: 11px; line-height: 1.6; letter-spacing: .04em; }
.wf-tabs { position: relative; z-index: 2; background: #fffdf7; border-bottom: 1px solid var(--cpcf-line); }
.wf-tabs-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; overflow-x: auto; box-sizing: border-box; }
.wf-tabs a { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 14px 18px; color: #6e7b70; font-size: 11px; border-bottom: 2px solid transparent; }
.wf-tabs a b { color: #b9a273; font-family: var(--cpcf-font-display); font-weight: 400; font-size: 14px; }
.wf-tabs a:hover { color: var(--cpcf-green); }
.wf-tabs a.is-active { color: #08291d; border-bottom-color: #c9a227; font-weight: 700; }
.wf-tabs a.is-active b { color: #0e6b43; }
.wf-wrap { max-width: 1280px; margin: 0 auto; padding: 26px 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 28px; align-items: start; box-sizing: border-box; }
.wf-main { min-width: 0; }
.wf-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; color: var(--cpcf-muted); font-size: 10px; }
.wf-breadcrumb a { color: var(--cpcf-green); }
.wf-intro { max-width: 840px; margin: 0 0 22px; color: #4c5a50; font-size: 12px; line-height: 1.9; }
.wf-sec { margin: 0 0 28px; }
.wf-sec-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--cpcf-line); padding-bottom: 9px; margin-bottom: 14px; }
.wf-sec-head b { color: #c9a227; font-family: var(--cpcf-font-display); font-size: 16px; font-weight: 400; }
.wf-sec-head h2 { margin: 0; font-family: var(--cpcf-font-display); font-size: 24px; }
.wf-sec-head span { margin-left: auto; color: var(--cpcf-muted); font-size: 9px; }
.wf-alert { margin: 14px 0 20px; padding: 11px 14px; border-left: 3px solid #c9a227; background: #fffdf7; color: #58675b; font-size: 10px; line-height: 1.8; }

/* Map */
.wf-map { position: relative; border: 1px solid #244638; background: #08291d; overflow: hidden; }
.wf-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(216,180,90,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(216,180,90,.08) 1px, transparent 1px); background-size: 34px 34px; }
.wf-map-top { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 9px 13px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 9px; }
.wf-map-top span:last-child { color: #d8b45a; }
.wf-map-canvas { position: relative; height: 500px; }
.wf-hall { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(216,180,90,.55); background: rgba(255,255,255,.035); color: #f2e6c8; }
.wf-hall b { font-family: var(--cpcf-font-display); font-size: 30px; font-weight: 400; line-height: 1; }
.wf-hall small { margin-top: 6px; color: rgba(255,255,255,.5); font-size: 9px; }
.wf-hall-login { left: 17%; right: 17%; top: 5%; height: 11%; border-style: dashed; background: rgba(216,180,90,.08); }
.wf-hall-a1 { left: 6%; top: 21%; width: 28%; height: 30%; }
.wf-hall-a2 { left: 6%; top: 56%; width: 28%; height: 30%; }
.wf-hall-a3 { left: 37%; top: 21%; width: 25%; height: 30%; }
.wf-hall-a4 { left: 37%; top: 56%; width: 25%; height: 30%; }
.wf-hall-service { right: 6%; top: 21%; width: 22%; height: 30%; background: rgba(255,255,255,.06); }
.wf-hall-food { right: 6%; top: 56%; width: 22%; height: 30%; background: rgba(255,255,255,.06); }
.wf-map-line { position: absolute; left: 34%; top: 16%; bottom: 13%; border-left: 2px dashed #c9a227; }
.wf-map-line::after { content: "主通道"; position: absolute; left: 6px; top: 44%; color: #d8b45a; font-size: 8px; letter-spacing: .12em; background: #08291d; padding: 3px 5px; }
.wf-poi { position: absolute; padding: 3px 6px; background: #c9a227; color: #08291d; font-size: 8px; font-weight: 700; }
.wf-poi.entrance { left: 2%; top: 6%; }
.wf-poi.cargo { left: 2%; top: 18%; background: #f2e6c8; }
.wf-poi.parking { right: 2%; bottom: 4%; background: #7d6b45; color: #fff; }
.wf-map-legend { position: relative; display: flex; flex-wrap: wrap; gap: 9px 16px; padding: 10px 13px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 9px; }
.wf-map-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border: 1px solid rgba(216,180,90,.5); vertical-align: -1px; }
.wf-map-legend i.gold { background: #c9a227; border-color: #c9a227; }
.wf-map-note { position: relative; padding: 9px 13px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 9px; line-height: 1.7; }
.wf-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #d8cfb9; border: 1px solid #d8cfb9; margin-top: 12px; }
.wf-route { background: #fffdf7; padding: 13px; }
.wf-route b { color: #c9a227; font-family: var(--cpcf-font-display); font-size: 14px; font-weight: 400; }
.wf-route h3 { margin: 3px 0 4px; font-size: 12px; }
.wf-route p { margin: 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.7; }

/* Board rows */
.wf-board { border-top: 1px solid var(--cpcf-line); }
.wf-board-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 84px; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--cpcf-line); align-items: start; }
.wf-board-row > b { color: #b08b32; font-family: var(--cpcf-font-display); font-size: 17px; font-weight: 400; line-height: 1.3; white-space: nowrap; }
.wf-board-row h3 { margin: 0 0 4px; font-size: 14px; }
.wf-board-row p { margin: 0 0 5px; color: var(--cpcf-muted); font-size: 10px; line-height: 1.7; }
.wf-checklist { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0; padding: 0; list-style: none; }
.wf-checklist li { color: #556356; font-size: 9px; }
.wf-checklist li::before { content: "□"; margin-right: 4px; color: #c9a227; }
.wf-status { display: inline-block; padding: 2px 5px; border: 1px solid #d8c89f; color: #927638; font-size: 8px; text-align: center; white-space: nowrap; }
.wf-details { border-bottom: 1px solid var(--cpcf-line); }
.wf-details summary { padding: 10px 0; color: #34483b; font-size: 11px; cursor: pointer; list-style: none; }
.wf-details summary::-webkit-details-marker { display: none; }
.wf-details summary::before { content: "+"; display: inline-block; width: 15px; color: #c9a227; }
.wf-details[open] summary::before { content: "−"; }
.wf-details p { margin: 0 0 10px 15px; color: var(--cpcf-muted); font-size: 10px; line-height: 1.8; }

/* Build */
.wf-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #d8cfb9; border: 1px solid #d8cfb9; }
.wf-type { background: #fffdf7; padding: 15px; }
.wf-type b { color: #c9a227; font-family: var(--cpcf-font-display); font-size: 16px; font-weight: 400; }
.wf-type h3 { margin: 4px 0 4px; font-size: 14px; }
.wf-type p { margin: 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.7; }
.wf-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.wf-table th, .wf-table td { border: 1px solid var(--cpcf-line); padding: 8px 9px; vertical-align: top; text-align: left; }
.wf-table th { background: #08291d; color: #fff; font-weight: 400; }
.wf-table td:first-child { color: var(--cpcf-ink); font-weight: 700; white-space: nowrap; }
.wf-table td { color: var(--cpcf-muted); line-height: 1.65; }

/* Logistics */
.wf-logi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d8cfb9; border-bottom: 1px solid #d8cfb9; background: #fffdf7; }
.wf-logi-step { position: relative; padding: 15px 12px; border-left: 1px solid #e4dac4; }
.wf-logi-step:first-child { border-left: 0; }
.wf-logi-step b { display: block; color: #c9a227; font-family: var(--cpcf-font-display); font-size: 15px; font-weight: 400; }
.wf-logi-step h3 { margin: 3px 0 4px; font-size: 12px; }
.wf-logi-step p { margin: 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.65; }
.wf-index { border-top: 1px solid var(--cpcf-line); }
.wf-index-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 120px; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--cpcf-line); }
.wf-index-row b { color: #c9a227; font-family: var(--cpcf-font-display); font-weight: 400; font-size: 13px; }
.wf-index-row h3 { margin: 0 0 2px; font-size: 12px; }
.wf-index-row p { margin: 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.65; }
.wf-index-row em { color: #8b7b58; font-style: normal; font-size: 8px; text-align: right; }

/* Zones */
.wf-zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #d8cfb9; border: 1px solid #d8cfb9; }
.wf-zone { position: relative; min-height: 112px; background: #fffdf7; padding: 13px; }
.wf-zone:nth-child(4n+1) { background: #08291d; color: #fff; }
.wf-zone:nth-child(4n+1) h3 { color: #fff; }
.wf-zone:nth-child(4n+1) p, .wf-zone:nth-child(4n+1) em { color: rgba(255,255,255,.55); }
.wf-zone > b { color: #c9a227; font-family: var(--cpcf-font-display); font-size: 15px; font-weight: 400; }
.wf-zone h3 { margin: 3px 0 4px; font-size: 14px; }
.wf-zone p { margin: 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.65; }
.wf-zone em { position: absolute; right: 11px; bottom: 10px; color: #9a8a66; font-style: normal; font-size: 8px; }

/* Rail */
.wf-rail { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.wf-rail-card { border: 1px solid var(--cpcf-line); background: #fffdf7; padding: 16px; }
.wf-rail-card.dark { background: #08291d; color: #fff; border-color: #08291d; }
.wf-rail-card.dark h3 { color: #fff; }
.wf-rail-card.dark p { color: rgba(255,255,255,.55); }
.wf-rail-card h3 { margin: 0 0 7px; font-family: var(--cpcf-font-display); font-size: 17px; }
.wf-rail-card p { margin: 0 0 8px; color: var(--cpcf-muted); font-size: 9px; line-height: 1.75; }
.wf-rail-meta { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--cpcf-line); color: var(--cpcf-muted); font-size: 9px; }
.wf-rail-card.dark .wf-rail-meta { border-top-color: rgba(255,255,255,.15); }
.wf-rail-meta b { color: #c9a227; font-weight: 400; }
.wf-btn { display: flex; justify-content: center; align-items: center; min-height: 34px; padding: 6px 10px; background: #c9a227; color: #08291d; font-size: 10px; font-weight: 700; }
.wf-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.wf-note { margin: 14px 0 0; color: var(--cpcf-muted); font-size: 9px; line-height: 1.7; }

@media (max-width: 1000px) {
    .wf-wrap { grid-template-columns: 1fr; padding-top: 18px; }
    .wf-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }

    .wf-map-canvas { height: 420px; }
}
@media (max-width: 700px) {
    .wf-head-inner { padding: 28px 18px 24px; }
    .wf-head-fact { display: none; }
    .wf-title { font-size: 40px; }
    .wf-tabs-inner { padding: 0 12px; }
    .wf-tabs a { padding: 11px 12px; }
    .wf-wrap { padding: 16px 14px 44px; }
    .wf-map-canvas { height: 340px; }
    .wf-hall b { font-size: 19px; }
    .wf-hall small { font-size: 7px; }
    .wf-hall-a1, .wf-hall-a2 { width: 30%; left: 4%; height: 27%; }
    .wf-hall-a3, .wf-hall-a4 { width: 29%; left: 36%; height: 27%; }
    .wf-hall-a2, .wf-hall-a4 { top: 58%; }
    .wf-hall-service, .wf-hall-food { width: 28%; right: 3%; height: 27%; }
    .wf-hall-food { top: 58%; }
    .wf-hall-login { left: 8%; right: 8%; top: 4%; height: 10%; }
    .wf-map-line { left: 34%; top: 15%; }
    .wf-poi { font-size: 7px; }
    .wf-routes, .wf-logi, .wf-types { grid-template-columns: 1fr 1fr; }
    .wf-logi-step:nth-child(3) { border-left: 0; }
    .wf-zones { grid-template-columns: 1fr 1fr; }
    .wf-board-row { grid-template-columns: 74px minmax(0, 1fr); }
    .wf-board-row .wf-status { grid-column: 2; justify-self: start; }
    .wf-index-row { grid-template-columns: 28px minmax(0, 1fr); }
    .wf-index-row em { grid-column: 2; text-align: left; }
    .wf-rail { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .wf-zones, .wf-routes, .wf-logi, .wf-types { grid-template-columns: 1fr; }
    .wf-logi-step { border-left: 0; border-top: 1px solid #e4dac4; }
    .wf-logi-step:first-child { border-top: 0; }
}

@media (max-width: 600px) {
    .wf-tabs-inner { padding: 0 6px; }
    .wf-tabs a { flex: 1 1 0; min-width: 0; justify-content: center; gap: 4px; padding: 10px 5px; font-size: 10px; }
    .wf-tabs a b { font-size: 12px; }
}