/* 阿勒泰秋冬旅行导览：放大阅读层级，分离功能页面，让逐日编辑与地图保持同一份数据。 */
:root{--sidebar-width:248px;--paper:#f8f5ed;--season-paper:#edf2e9;--trip-paper:#faf1e1;--snow-paper:#eaf1f2;--ink:#233f34;--line:#d5dfd2}
html{font-size:16px;scroll-behavior:smooth}
body{font-size:17px;line-height:1.75;background:var(--paper);color:var(--ink)}
body[data-page=seasons]{background:var(--season-paper)}
body[data-page=planner],body[data-page=trips]{background:var(--trip-paper)}
body[data-season=snow]{--season-paper:#eaf1f2;--trip-paper:#f2f3ee}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ae762f;outline-offset:3px}
textarea{box-sizing:border-box;resize:vertical;width:100%;line-height:1.7;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fffefa;color:var(--ink)}
[hidden]{display:none!important}
.wrap{width:min(1380px,calc(100% - 56px))}
body .sidebar-link{font-size:16px;min-height:46px;padding:11px 15px;line-height:1.5}
body .sidebar-group-label{font-size:13px;letter-spacing:.5px;color:#abc0b0}
body .sidebar-brand small,body .sidebar-footer p{font-size:14px;letter-spacing:1px}
body .sidebar-latitude{font-size:12px}
body .shell-header{height:auto;min-height:82px;gap:16px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
body .global-search{min-height:44px;height:auto}
body .global-search input{font-size:16px;min-height:42px}
body .global-search button{font-size:14px;min-height:36px}
body .shell-breadcrumb{font-size:16px;white-space:normal}
body .shell-breadcrumb>span,body .shell-status{font-size:14px;color:#566c54}
body .shell-context,body .global-search kbd{font-size:13px}
body .page-intro h1{font-size:clamp(28px,2.7vw,40px);line-height:1.4}
body .page-intro p,body .home-paths-title p,body .task-card p,body .destination-body>p{font-size:17px;line-height:1.85}
body .page-intro{padding-top:36px;padding-bottom:28px}
body .eyebrow{font-size:13px;letter-spacing:1.5px;line-height:1.8}
body .home-source-note,body .hero-footnote,body .photo-caption,body .quick-intro small{font-size:14px;line-height:1.8}
body .task-card{background:#fffdf7;border-color:#d7dfd1}
body .task-card:nth-child(2){background:#edf2e8}
body .task-card:nth-child(3){background:#f5e8d4}
body .task-card h3{font-size:23px}
body .quick-intro b,body .quick-field,body .button{font-size:16px}
body .button{min-height:44px;line-height:1.6;white-space:normal}
body .text-link,body .plan-tools button,body .plan-tools a{font-size:15px;line-height:1.7;min-height:36px}
body .page-section .planner-form label,body .planner-form legend{font-size:16px;line-height:1.7}
body .planner-form input,body .planner-form select{font-size:17px;min-height:46px}
body .planner-form{position:static;padding:24px}
body .planner-form .spot-option{font-size:16px;min-height:44px}
body .planner-layout{grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start}
body .planner-presets{align-items:flex-start;gap:20px}
body .route-templates span,body .route-templates button span{font-size:14px;line-height:1.8}
body .field-note,body .page-section .field-note{font-size:14px!important;line-height:1.8;color:#5c705b}
body .card-top p,body .day-meta,body .subtle-pill{font-size:14px;line-height:1.7}
body .page-section .card-top p,body .page-section .weather-intro p,body .plan-alert p{font-size:15px;line-height:1.85}
body .guide-panel .dialog-page>p,body .guide-panel .dialog-page .detail-section p{font-size:17px;line-height:1.9}
body .page-section .decision-card p,body .decision-card p{font-size:17px;line-height:1.85}
body .decision-foot,body .weather-intro p,body .weather-credit{font-size:14px}
body .season-label b{font-size:16px}body .season-label small{font-size:14px}
body .destination-name h3{font-size:25px}
body .destination-tags span,body .destination-tag,body .destination-bottom{font-size:14px}
body .detail-main>p,body .detail-section p,body .highlight p,body .guide-panel .detail-section p,body .guide-panel .method-grid p,body .source-reader .doc-text{font-size:17px;line-height:1.9}
body .reader-note,body .doc-tools,body .source-links a,body .source-links button,body .check-group label,body .search-result p{font-size:16px;line-height:1.8}
body .guide-panel .check-group label{font-size:16px;min-height:44px}
body .source-card small,body .guide-timetable small,body .reader-sidebar a,body .footer-bottom,body .footer-brand p{font-size:14px;line-height:1.8}
body .plan-output{overflow:hidden;background:#fffdf7}
body .plan-header{padding:28px}
body .plan-header h3{font-size:26px;line-height:1.5}
body .plan-header>p{font-size:15px;line-height:1.8}
body .plan-tools{display:flex;gap:10px;flex-wrap:wrap}
body .plan-tools button{padding:8px 11px;border:1px solid #d6dfd0;background:#f5f6ef;border-radius:7px}
body .plan-tools button:hover{background:#e7eddf}
body .plan-tabs{overflow:auto;gap:4px;padding:0 20px;display:flex}
body .plan-tabs button{font-size:16px;min-height:50px;white-space:nowrap;padding:13px 16px;flex-shrink:0}
body .plan-content{padding:24px}
.journey-save{color:#5e7458!important;font-size:14px!important;margin-top:14px}
.journey-settings,.day-edit{border-top:1px solid var(--line);padding-top:15px;margin-top:16px}
.journey-settings summary,.day-edit summary,.activity-edit summary{cursor:pointer;color:#2e6048;font-size:15px;min-height:36px;padding:3px 0}
.journey-settings form,.day-edit form,.activity-edit form{display:grid;gap:14px;margin:14px 0 6px}
.journey-settings label,.day-edit label,.activity-edit label{display:grid;gap:7px;font-size:15px;line-height:1.7}
.journey-settings input,.journey-settings select,.day-edit input,.activity-edit input,.activity-edit select{min-height:44px;width:100%;padding:9px 11px;background:#fffefa;border:1px solid var(--line);border-radius:7px;box-sizing:border-box;min-width:0}
.journey-settings .form-row,.activity-edit .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.editor-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.danger{color:#9b4433!important}
.schedule-note{font-size:15px;line-height:1.8;background:#f3eedf;border-radius:9px;padding:15px 18px;margin-bottom:24px;color:#655b40}
.journey-day{background:#fffefa;border:1px solid #d9e0d1;border-radius:14px;padding:24px;margin-bottom:26px;scroll-margin-top:100px}
.journey-day-head{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:20px;align-items:start}
.journey-day-head h4{font-size:23px;line-height:1.55;margin:10px 0}
.journey-day-head p{font-size:15px;color:#64745d;line-height:1.8}
.journey-day-head figure{margin:0}.journey-day-head img{width:100%;height:112px;object-fit:cover;border-radius:10px}
.journey-day-head figcaption{font-size:12px;color:#68785e;line-height:1.7;margin-top:6px}
.stay-chip{display:inline-block;border:1px solid #e4d9bf;border-radius:7px;background:#f6ecd7;padding:5px 10px;font-size:14px;margin-top:10px}
.day-decision{border-left:3px solid #bd985a;background:#f6f2e7;padding:14px 16px;margin:20px 0;font-size:14px;line-height:1.8}
.day-decision p{margin:4px 0}.day-decision a{color:#3e654c;text-decoration:underline;text-underline-offset:4px}
.day-weather{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;font-size:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.weather-risk{font-size:14px;padding:10px;background:#faecda;color:#815531;line-height:1.8}
.activities{padding-top:8px}
.activity-card{display:grid;grid-template-columns:105px minmax(0,1fr);gap:18px;padding:22px 0;border-bottom:1px solid #e2e7db;scroll-margin-top:100px}
.activity-time{font-size:13px;color:#677961;display:flex;flex-direction:column;gap:5px}
.activity-time b{font-size:17px;color:#2b5b43}.activity-time small{font-size:12px;line-height:1.8}
.activity-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.activity-title h5{font-size:18px;line-height:1.7;margin:0;color:#2a4536}
.activity-body p{font-size:16px;line-height:1.9;margin:8px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.activity-links{display:flex;gap:12px;flex-wrap:wrap;font-size:14px;color:#687860}
.activity-links a{color:#3f6b4b;text-decoration:underline;text-underline-offset:4px}
.activity-edit{margin-top:10px}.activity-edit[open]{background:#f1f3e9;padding:14px;border-radius:9px}
.is-selected{background:#f7f0dc;box-shadow:0 0 0 8px #f7f0dc;border-radius:8px}
.day-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}
.day-note{background:#eef2e7;border-radius:9px;padding:14px 16px;margin-top:15px;font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.validation-errors{margin:20px 24px;background:#fae5dc;border-left:4px solid #a45136;padding:16px;color:#7b372c;font-size:15px;line-height:1.8}
.validation-errors p{margin:6px 0}
.map-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px;margin-bottom:20px}.map-heading h3{font-size:24px}.map-heading p{font-size:15px;line-height:1.8}.map-heading label{display:grid;gap:7px;font-size:14px}.map-heading select{max-width:100%;min-height:44px;border:1px solid var(--line);padding:8px;border-radius:8px;background:#fffefa;font-size:15px}
.map-frame{border:1px solid #d3dfcd;border-radius:15px;overflow:hidden}.map-frame svg{display:block;width:100%;height:auto}.map-point{cursor:pointer}.map-point:focus{outline:none}.map-point:focus circle{stroke:#c38432;stroke-width:5px}
.map-stop-list{display:grid;gap:12px;margin:22px 0}.map-stop-list>div{display:flex;flex-wrap:wrap;align-items:center;gap:15px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;font-size:14px}.map-stop-list a{color:#3c664c}.map-stop-list b{background:#e4ebda;display:inline-flex;width:26px;height:26px;border-radius:50%;align-items:center;justify-content:center;margin-right:7px}
body .cost-table{width:100%;font-size:15px;line-height:1.8}body .cost-table th,body .cost-table td{padding:15px 10px;white-space:normal}body .cost-explain{font-size:15px;line-height:1.9}
.journey-checklist{display:grid;gap:14px;margin:24px 0}.journey-checklist label{display:flex;gap:12px;align-items:flex-start;font-size:16px;min-height:44px}.journey-checklist input{width:20px;height:20px;flex-shrink:0;margin-top:4px;accent-color:#315f46}
.spot-gallery{margin-top:30px;padding-top:28px;border-top:1px solid var(--line)}.spot-gallery h3{font-size:24px}.spot-gallery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.spot-gallery figure{margin:0;background:#edf1e5;border-radius:12px;overflow:hidden}.spot-gallery img{width:100%;height:220px;object-fit:cover;display:block}.spot-gallery figcaption{padding:12px;font-size:14px;line-height:1.7}
.import-control{display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding:18px;background:#fffdf5;border:1px dashed #8ba17b;border-radius:10px;margin-bottom:20px;font-size:16px}.import-control input{max-width:100%;font-size:15px}.image-unavailable{min-height:80px;background:#edf0e3;color:#5b7051;font-size:14px}
.online-map{height:380px;max-width:100%;border-radius:12px;overflow:hidden;margin-bottom:20px;border:1px solid var(--line)}
.source-image-missing{display:flex;align-items:center;justify-content:center;min-height:100px;border:1px dashed #a7b59b;border-radius:10px;background:#f0f1e5;color:#66745d;padding:18px;font-size:15px;line-height:1.9;text-align:center}
.ai-assistant{margin:6px 24px 28px;padding:20px;border:1px solid #c9d7c5;border-radius:12px;background:#eff3e9}.ai-assistant summary{font-size:17px;font-weight:600;cursor:pointer;line-height:1.7}.ai-assistant p{font-size:15px;line-height:1.85;margin:12px 0}.ai-assistant label{font-size:15px;display:grid;gap:8px;margin-bottom:15px}.ai-diff{padding:14px 0;border-bottom:1px solid var(--line)}.ai-diff p{font-size:16px;line-height:1.9;white-space:pre-wrap}
@container(max-width:1050px){body .planner-layout{grid-template-columns:1fr}body .planner-form{position:static}.planner-form .spot-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){body .shell-status{display:none}body .shell-breadcrumb>span{display:none}body .planner-layout{grid-template-columns:1fr}}
@media(max-width:900px){:root{--sidebar-width:248px}body{padding-left:0}body .global-search{width:min(440px,62%);min-width:160px}body .shell-header{padding-left:18px;padding-right:18px}.wrap{width:calc(100% - 36px)}body .hero{margin:18px 18px 0}.journey-day{padding:20px}body .plan-content{padding:18px}body .planner-layout{grid-template-columns:1fr}}
@media(max-width:600px){body{font-size:16px}body .shell-header{gap:10px;min-height:74px}body .shell-breadcrumb{font-size:14px}body .global-search{min-width:0;flex:1;width:auto;padding-left:10px}body .global-search input{font-size:15px}body .global-search kbd,body .global-search button span{display:none}body .global-search button{padding:6px}body .page-intro h1{font-size:29px}body .page-intro p{font-size:16px}body .plan-header{padding:22px}body .plan-header h3{font-size:24px}body .plan-tools button{font-size:14px;min-height:42px}body .plan-tabs{padding:0 10px}body .plan-tabs button{font-size:15px;padding:12px}.journey-day-head{grid-template-columns:1fr}.journey-day-head figure{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center}.journey-day-head img{height:75px}.journey-day-head h4{font-size:21px}.activity-card{grid-template-columns:1fr;gap:10px}.activity-time{flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px}.activity-time small{font-size:13px}.activity-title h5{font-size:18px}.journey-settings .form-row,.activity-edit .form-row{grid-template-columns:1fr}.day-actions{gap:12px}.day-actions .button{width:100%}.spot-gallery>div{grid-template-columns:1fr}.ai-assistant{margin:0 18px 22px;padding:16px}body .cost-table{font-size:14px}.planner-form .spot-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{body{padding-left:0!important;background:#fff;font-size:12pt}.site-sidebar,.shell-header,.ai-assistant,.plan-tools,.plan-tabs,.journey-settings,.activity-edit,.day-edit,.day-actions,.day-weather button,.activity-title button,.import-control,.plan-dirty{display:none!important}body .plan-output{overflow:visible}.journey-day{break-inside:auto;border:1px solid #ccc}.activity-card{break-inside:avoid}.journey-day-head figure{display:none}body .wrap{width:100%}body .plan-content{padding:0}.plan-header{padding:0 0 16px!important}.activity-body p{font-size:11pt}.day-decision{font-size:10pt}}
