*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;background:#fff;color:#222;font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}main{max-width:900px;margin:auto;padding:28px 24px 60px}h1{font-size:25px;line-height:1.4;margin:0 0 12px}h2{font-size:20px;line-height:1.5;margin:0 0 14px}h3{font-size:16px;margin:22px 0 8px}p{margin:8px 0}a{color:#24588d;text-underline-offset:3px}button,input,select,textarea{font:inherit}button{min-height:42px;padding:8px 14px;border:1px solid #bfc6cd;border-radius:4px;background:#fff;color:#222;cursor:pointer}button:hover{background:#f4f5f6}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;min-height:44px;border:1px solid #bfc6cd;border-radius:4px;background:#fff;color:#222;padding:10px}textarea{resize:vertical}label{display:block;font-weight:500}label input,label select,label textarea{margin-top:6px;font-weight:400}small,.muted,.hint{color:#666;font-size:13px}.hint{margin-bottom:14px}small{display:block}.notice,.advice{background:#f5f6f7;padding:12px 14px;border-left:3px solid #a2aab1;margin:14px 0;font-size:13px}.advice:empty{display:none}nav{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0 20px;font-size:14px}header{border-bottom:1px solid #ddd;padding-bottom:8px}.identity{margin:22px 0}.identity select{max-width:430px;margin:8px 0}.inline{display:flex;gap:8px;margin:8px 0}.inline input{flex:1;min-width:0}.inline button{white-space:nowrap}section{padding:26px 0;border-top:1px solid #ddd}#direction{border-top:0;padding-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.form-grid label,.single-field{font-size:14px}.route-option{display:block;border:1px solid #d3d6da;border-radius:4px;padding:14px;margin:10px 0;cursor:pointer;font-weight:400}.route-option:has(input:checked){border-color:#315f8c;background:#f6f9fc}.route-title{display:flex;gap:10px;align-items:flex-start;font-weight:600}.route-title input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin-top:4px;accent-color:#315f8c}.route-option p{margin:6px 0 0 28px;font-size:13px}.route-option .route-cost{color:#666}.route-option b{font-weight:600}details{margin:12px 0;font-size:13px}summary{cursor:pointer;min-height:32px;padding:4px 0;color:#3e5061}details ul{padding-left:21px}details li{margin:6px 0}.route-days{margin-bottom:16px}.route-days h3{margin-top:12px}.place-row{padding:14px 0;border-bottom:1px solid #e4e6e8}.place-head{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.place-head h4{font-size:15px;margin:0}.place-head select{width:110px;min-width:110px;padding:8px;min-height:42px;font-size:14px}.place-row p{font-size:13px;margin:4px 0}.place-row .meta{font-size:12px;color:#666}.place-description{flex:1}.place-row details{margin:4px 0 0}.place-row details p{font-size:13px}.place-row details img{display:block;width:min(420px,100%);height:auto;max-height:330px;object-fit:contain;margin:12px 0 5px}.place-row details a{margin-right:12px}.more{margin:14px 0 22px}.table-wrap{overflow:auto;margin:14px 0}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th,td{border:1px solid #d9dde1;padding:12px;vertical-align:top}thead th{background:#f4f5f6;font-weight:500}tbody th{width:27%;font-weight:600}tbody td{width:36.5%}.food-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:10px 0 18px}.food-option{font-size:14px;font-weight:400;display:flex;gap:9px;align-items:flex-start;padding:6px 0}.food-option input,.check input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin-top:4px;accent-color:#315f8c}.food-option small{font-size:12px}.single-field{max-width:430px;margin-top:15px}.check{display:flex;gap:9px;font-size:13px;font-weight:400;margin:16px 0}.actions{display:flex;gap:16px;align-items:center;margin:14px 0}.primary{background:#285b8b;border-color:#285b8b;color:#fff;min-width:160px}.primary:hover{background:#214c75}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading h2{margin-bottom:0}#mySummary{font-size:14px}#mySummary ul{padding-left:20px}#submitStatus{font-size:14px;white-space:pre-line}.error{color:#a33127}.success{color:#255b38}#groupSeats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.seat-result{padding:12px;border:1px solid #ddd;border-radius:4px;font-size:13px}.seat-result p{margin:3px 0}.consensus-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eee;padding:8px 0;font-size:13px}#consensus{margin-bottom:18px}.source-item{border-bottom:1px solid #eee;padding:10px 0}.source-item p{font-size:12px}.sources{border-top:1px solid #ddd;padding-top:20px}.sources p{font-size:12px}dialog{width:min(650px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #bbb;border-radius:5px;padding:24px}dialog::backdrop{background:#0006}.close{float:right;margin:0 0 12px 16px}dialog h2{font-size:21px}dialog h4{margin:18px 0 5px}dialog p{font-size:14px}dialog a{display:block;font-size:13px;margin:8px 0}dialog img{max-width:100%;max-height:350px;object-fit:contain}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #315f8c;outline-offset:3px}[hidden]{display:none!important}body:has(dialog[open]){overflow:hidden}@media(max-width:600px){main{padding:20px 16px 45px}h1{font-size:22px}h2{font-size:18px}body{font-size:14px}nav{gap:17px;font-size:13px}.form-grid{grid-template-columns:1fr;gap:12px}input,select,textarea{font-size:16px}.route-option{padding:12px}.route-option p{font-size:13px}.place-head{gap:12px}.place-head select{width:100px;min-width:100px;font-size:16px;padding:7px}.place-head h4{font-size:15px}.place-row .meta{font-size:12px}.food-grid{grid-template-columns:1fr;gap:2px}table,thead,tbody,tr,th,td{display:block;width:100%!important}thead{display:none}tbody tr{border:1px solid #d9dde1;margin-bottom:12px}tbody th,tbody td{border:none;padding:9px 12px}tbody th{background:#f4f5f6}tbody td+td{border-top:1px solid #eee}tbody td:first-of-type:before{content:'游玩与交通：';font-weight:600}tbody td:last-of-type:before{content:'吃饭：';font-weight:600}.actions{gap:10px}.actions .muted{font-size:12px}#groupSeats{grid-template-columns:1fr}.consensus-row{font-size:12px;gap:12px}section{padding:23px 0}.advice{font-size:13px}.single-field{max-width:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Restrained travel-planning theme: content and question order stay unchanged. */
:root{--page:#f3f2ec;--surface:#fff;--ink:#273d36;--accent:#326455;--line:#dce3da;--muted:#66726a}
body{background:var(--page);color:var(--ink)}
main{max-width:960px;padding:30px 24px 56px}
header{background:#e6ede4;border:1px solid #d4dfd1;border-radius:14px;padding:25px 27px 17px;box-shadow:0 2px 5px #293d2f05}
h1{color:#203f33;letter-spacing:-.4px;font-size:26px}header>p{font-size:14px;line-height:1.8}header>.muted{font-size:13px;color:#647566}
nav{gap:8px;margin:18px 0 0}nav a{padding:7px 14px;background:#ffffffb3;border:1px solid #d0dbce;border-radius:7px;color:#345b4a;text-decoration:none;min-height:39px;font-size:13px;display:flex;align-items:center;gap:6px}nav a:hover{background:#fff}#countTop{font-size:11px;background:#dbe7d7;border-radius:4px;padding:0 5px}
a{color:#326755}small,.muted,.hint{color:var(--muted)}
.identity{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 23px;margin:18px 0;box-shadow:0 2px 6px #293d2f03}.identity>label{font-size:14px}.identity small{font-size:12px}
section,#direction{padding:23px 25px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:18px 0;box-shadow:0 2px 6px #293d2f03}
h2{font-size:20px;color:#2c4c3d;padding-bottom:13px;border-bottom:1px solid #e7ece4;margin-bottom:17px}h3{color:#3c5746}#places>h3{display:inline-block;background:#edf2e9;border-radius:5px;padding:3px 11px;font-size:14px;margin-top:21px}#places>h3+p{margin-top:4px}
input,select,textarea{border-color:#ccd7cb;background:#fcfdfa;border-radius:7px}input:focus,select:focus,textarea:focus{border-color:#5c856b;background:#fff}.form-grid{gap:16px 20px}.form-grid label{color:#3e5146}
button{border-color:#c6d1c3;color:#355546;border-radius:7px;background:#f9fbf7}button:hover{background:#edf3e9}.primary{background:var(--accent);border-color:var(--accent);color:#fff;border-radius:7px;box-shadow:0 2px 4px #24433512}.primary:hover{background:#254f43}
.route-option{background:#fcfdfb;border-color:#dce3d7;border-radius:9px;padding:16px;margin:12px 0}.route-option:hover{border-color:#b3c7af;background:#f7faf4}.route-option:has(input:checked){border-color:#648b66;background:#f0f6ec;box-shadow:inset 3px 0 0 #648b66}.route-title{color:#344e3b}.route-title input,.food-option input,.check input{accent-color:var(--accent)}.route-option .route-cost{color:#73786a}
.notice,.advice{background:#f8f3e7;border-color:#c5ad73;border-radius:0 7px 7px 0;color:#675d45;padding:12px 15px;font-size:13px}.advice p{margin:3px 0}summary{color:#496552}summary:hover{color:#203f33}.more{background:#f6f8f3;border:1px solid #e0e7da;border-radius:7px;padding:8px 12px}
.place-row{border-bottom-color:#e5eadf;padding:15px 0}.place-row:last-child{border-bottom:0}.place-head h4{color:#344d3b}.place-row .meta{color:#78806e}.place-head select{background:#f5f8f0;border-color:#d8e2ce}.place-head select:has(option[value="love"]:checked){color:#2c633f;background:#edf5e7;border-color:#7ca16e}.place-head select:has(option[value="no"]:checked){background:#f3f1ec;color:#827a6e}
.table-wrap{border-radius:8px;overflow:hidden;border:1px solid #dce3d6}table{background:white}th,td{border-color:#e1e7dc}thead th{background:#edf2e7;color:#476045}tbody th{background:#fafbf7;color:#3f5843}tbody th small{font-size:11px;margin-top:5px;color:#7a8474}
.food-grid{gap:9px 13px}.food-option{border:1px solid #e1e6da;border-radius:7px;padding:10px 12px;background:#fafcf7;line-height:1.6}.food-option:has(input:checked){border-color:#8ca781;background:#eff5e9}.food-option small{font-size:11px;color:#7c8373;margin-top:3px}.food-option input{margin-top:3px}.single-field{margin-top:18px}
#submit{background:#f7faf4;border-color:#d1dfc8}#submit h2{border-color:#dbe6d2}#mySummary{color:#41533e;font-size:13px}.check{color:#55634f}.actions{margin:18px 0 12px}.section-heading h2{border:0;padding:0}#groupSeats{gap:12px}.seat-result{border-color:#dde5d7;background:#f9fbf6;border-radius:8px}.consensus-row{border-color:#e3e9dc}.sources{margin:20px 5px 0;border-color:#d8dfd2;color:#75806f;padding-top:14px}.source-item{border-color:#e0e6d9}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#557e60}
@media(max-width:600px){main{padding:14px 12px 30px}header{padding:19px 18px 16px;border-radius:11px}h1{font-size:21px;letter-spacing:-.3px}header>p{font-size:13px}header>.muted{font-size:12px}nav{gap:6px;margin-top:14px}nav a{padding:6px 10px;font-size:12px;min-height:35px}.identity{padding:16px 18px;margin:14px 0;border-radius:10px}section,#direction{padding:19px 18px;margin:14px 0;border-radius:10px}h2{font-size:18px;padding-bottom:11px;margin-bottom:15px}.route-option{padding:13px 12px}.route-option p{margin-left:27px}.route-title{font-size:14px}.route-option p{font-size:12px}.hint{font-size:12px}.advice{font-size:12px;padding:11px 12px}.place-head{gap:10px}.place-head select{width:95px;min-width:95px}.place-row p{font-size:12px}.place-row .meta{font-size:11px}.more{padding:7px 10px}.table-wrap{border:0;overflow:visible}tbody tr{border:1px solid #dce3d6;border-radius:8px;overflow:hidden;margin-bottom:12px}tbody tr:last-child{margin-bottom:0}tbody th{background:#edf2e7;padding:12px}tbody td{padding:10px 12px;font-size:12px}tbody td+td{border-top-color:#e8ecdf}.food-grid{gap:8px}.food-option{padding:10px 11px;font-size:13px}.food-option small{font-size:11px}.sources{margin:20px 6px 0}.actions{flex-wrap:wrap}.actions .primary{flex:1}.check{font-size:12px}}
