@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600&family=Noto+Serif+TC:wght@500;600&display=swap');
:root{--pine:#173e38;--ink:#243e36;--paper:#f6f2e7;--gold:#9c7943;--line:#d8d5c6;--muted:#5b6a60}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 'Noto Sans TC','Microsoft JhengHei',sans-serif}button,input{font:inherit}a{color:inherit;text-underline-offset:5px}button,a,input{touch-action:manipulation}button{cursor:pointer;min-height:50px;border:1px solid var(--line);border-radius:7px;padding:10px 18px;background:transparent;color:var(--pine)}button:disabled{opacity:.42;cursor:default}:focus-visible{outline:3px solid #ae7d37;outline-offset:4px}.masthead{background:var(--pine);color:#f4e5c0;display:flex;align-items:center;justify-content:space-between;padding:20px max(28px,calc((100vw - 1120px)/2));border-bottom:3px solid #b99862}.brand{text-decoration:none;font:600 30px 'Noto Serif TC','Microsoft JhengHei',serif;display:flex;gap:22px;align-items:center}.brand span{font:16px 'Noto Sans TC',sans-serif;letter-spacing:.12em}.masthead>span{font-size:16px}main{max-width:1120px;margin:auto;padding:0 28px}nav{display:flex;gap:28px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line);font-size:16px}nav a{min-height:48px;display:inline-flex;align-items:center;text-decoration:none}.intro{padding:48px 0 32px}.eyebrow{color:var(--gold);font-size:15px;letter-spacing:.16em;margin:0 0 12px}h1,h2,legend,.date-day{font-family:'Noto Serif TC','Microsoft JhengHei',serif}h1{font-size:46px;line-height:1.35;letter-spacing:.04em;margin:0 0 18px;font-weight:600}.intro>p:not(.eyebrow){margin:0;color:var(--muted)}.mobile{display:none}.local{display:inline-block;font-size:14px;margin-top:16px;border:1px solid #c9bb9d;padding:3px 10px;border-radius:20px;color:#796242}form{background:#fffcf5;border:1px solid var(--line);padding:28px;border-radius:12px;box-shadow:0 8px 26px #173e3807}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:23px;font-weight:600;margin-bottom:18px;padding:0}legend>span{font:16px Georgia,serif;color:var(--gold);margin-right:10px}.activities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.activities label{display:flex;align-items:flex-start;gap:9px;cursor:pointer;padding:16px 11px;min-height:96px;border:1px solid var(--line);border-radius:7px;background:#f7f6ef}.activities label:has(input:checked){background:#e7ede4;border:2px solid var(--pine);padding:15px 10px}.activities input{accent-color:var(--pine);width:18px;height:18px;flex:none;margin:6px 0 0}.activities small{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:7px}.range{margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}.range-fields{display:flex;gap:18px;align-items:flex-end}.range-fields label{flex:1;min-width:0;font-size:16px}.range-fields input{display:block;min-height:52px;width:100%;min-width:0;margin-top:7px;padding:9px 12px;border:1px solid #a9b5a5;border-radius:6px;background:#fffdf8;color:var(--ink)}.to{padding-bottom:13px;color:var(--gold)}.primary{background:var(--pine);color:#f9ebca;border-color:var(--pine);display:flex;gap:28px;align-items:center;justify-content:space-between;min-height:52px}.primary:hover{background:#28594f}.muted{color:var(--muted);font-size:14px;margin:14px 0 0}#error{color:#903e32;font-size:16px;margin-bottom:0}#results{padding-top:38px}.results-head{display:flex;justify-content:space-between;align-items:center;gap:20px}h2{font-size:28px;line-height:1.5;margin:0}.results-head p:not(.eyebrow){margin:6px 0 0;color:var(--muted);font-size:16px}#count{font-size:16px;color:var(--gold);white-space:nowrap}.matching-note{font-size:16px;padding:14px 0 20px;border-bottom:1px solid var(--line);margin:12px 0 0;color:var(--muted)}#stale{background:#eee3c9;padding:12px;font-size:16px}details.date-row{border-bottom:1px solid var(--line)}.date-row>summary{list-style:none;display:flex;align-items:center;gap:22px;padding:21px 0;cursor:pointer;min-height:90px}.date-row>summary::-webkit-details-marker{display:none}.date-block{min-width:165px}.date-day{font-size:24px;display:block;line-height:1.4}.weekday{font-size:14px;color:var(--muted)}.statuses{display:flex;gap:9px;flex:1;flex-wrap:wrap}.badge{display:inline-block;padding:5px 12px;border-radius:5px;font-size:16px;background:#e9e7df;color:#535f55;border:1px solid #d2d2c6}.badge.yi{background:#e3ecdf;color:#254e36;border-color:#bacbb1}.badge.ji{background:#f1e3dd;color:#894334;border-color:#d9baae}.badge.both{background:#eee1cd;color:#79532f;border-color:#d6bd97}.expand{font-size:14px;color:var(--muted);white-space:nowrap}.expand:after{content:' ＋';font-size:22px;color:var(--gold)}details[open] .expand:after{content:' −'}.day-details{padding:6px 22px 23px;margin-bottom:18px;border-left:3px solid #c2a16d;background:#f0eee3}.day-details h3{font-size:17px;margin:0 0 8px}.lists{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:18px}.term-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}.term-list li{padding:3px 9px;border:1px solid #d7dacb;border-radius:4px;font-size:18px;background:#faf8f0}.term-list .matched{background:#dde8d7;border:2px solid #54754b;padding:2px 8px;font-weight:600}.ji-list .matched{background:#f1ded6;border-color:#a05f4d}.raw-note{font-size:14px;color:var(--muted);padding-top:16px;margin:0}.pagination{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:22px}.pagination span{font-size:14px;color:var(--muted)}.empty{display:flex;align-items:center;gap:24px;margin:38px 0 20px;padding:24px 0}.empty>span{font:58px 'Noto Serif TC',serif;color:#a78f64;border:1px solid #cdbd9b;width:90px;height:104px;display:grid;place-items:center}.empty h2{font-size:24px}.empty p{margin:8px 0;color:var(--muted);font-size:16px}footer{border-top:1px solid var(--line);margin-top:46px;padding:25px 0 32px;display:flex;justify-content:space-between;gap:30px}footer>span{font-family:'Noto Serif TC',serif;white-space:nowrap}footer p{font-size:13px;color:var(--muted);margin:0;max-width:600px}[hidden]{display:none!important}
@media(max-width:700px){body{font-size:18px}.masthead{padding:17px 20px}.brand{font-size:27px;gap:13px}.brand span{font-size:12px;letter-spacing:0}.masthead>span{display:none}main{padding:0 20px}nav{gap:16px;padding:8px 0;font-size:16px}.intro{padding:30px 0 26px}h1{font-size:34px;line-height:1.5}.mobile{display:block}.intro>p:not(.eyebrow){font-size:18px}.eyebrow{font-size:14px}form{padding:22px 16px}.activities{grid-template-columns:repeat(2,minmax(0,1fr))}.activities label{min-height:100px;padding:13px 10px}.activities label:has(input:checked){padding:12px 9px}.activities small{font-size:14px}.activities label:nth-child(2) small{font-size:13px}.range{margin-top:24px;padding-top:22px}legend{font-size:22px}.range-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.range-fields label{font-size:18px}.range-fields input{font-size:18px;min-height:52px;max-width:100%}.to{display:none}.primary{margin-top:4px;width:100%;min-height:54px}.muted{font-size:16px}.results-head{align-items:flex-start;gap:12px}.results-head h2{font-size:26px}.matching-note{font-size:16px}.date-row>summary{flex-wrap:wrap;gap:10px 16px;padding:18px 0}.date-block{min-width:0;flex:1}.date-day{font-size:24px}.weekday{font-size:16px}.statuses{flex-basis:100%;order:3}.badge{font-size:17px}.expand{font-size:16px}.day-details{padding:8px 12px 20px}.lists{grid-template-columns:1fr;gap:22px}.day-details h3{font-size:18px}.raw-note{font-size:16px}.pagination{gap:8px;flex-wrap:wrap}.pagination button{padding:10px 12px;min-height:48px;font-size:17px}.pagination span{font-size:14px;order:3;width:100%;text-align:center}.empty{gap:16px}.empty>span{width:60px;height:85px;font-size:42px;flex:none}.empty p{font-size:18px}.empty h2{font-size:23px}footer{display:block}footer p{font-size:15px;margin-top:12px}button{min-height:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Five approved visual refinements; query logic and data unchanged. */
body{font-size:18px}.intro{padding:24px 0 22px}.intro .eyebrow{font-size:16px;margin-bottom:7px}h1{font-size:38px;margin-bottom:8px;line-height:1.35}.intro>p:not(.eyebrow){font-size:18px}.activities label{position:relative;align-items:center;min-height:70px;padding:16px 12px;border-color:#c8b990;background:#f9f5e9;font-weight:500}.activities label>span{white-space:nowrap}.activities input{margin:0;accent-color:#9b473b}.activities label:has(input:checked){background:#173e38;color:#fff0cf;border:2px solid #b89858;padding:15px 11px;box-shadow:inset 0 0 0 2px #173e38,0 3px 8px #173e3812}.activities label:has(input:checked):after{content:'';position:absolute;right:9px;top:8px;width:5px;height:5px;border-radius:50%;background:#b45d48}.activities label:not(:has(input:checked)):hover{border-color:#9c7943}.activities input:checked{accent-color:#d0ae6f}.range{margin-top:24px;padding-top:20px}.eyebrow,.masthead>span,.brand span,.range-fields label,.muted,#error,.results-head p:not(.eyebrow),#count,.matching-note,.weekday,.expand,.raw-note,.pagination span,.empty p,footer p{font-size:16px}.query-notes{margin-top:20px;border-top:1px solid var(--line);font-size:16px}.query-notes>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:10px;color:var(--muted);padding:10px 0}.query-notes>summary:after{content:'＋';color:var(--gold)}.query-notes[open]>summary:after{content:'−'}.query-notes>div{padding:0 0 10px;color:var(--muted)}.query-notes p{margin:8px 0 14px}.query-notes dl{margin:0}.query-notes dl>div{display:grid;grid-template-columns:100px 1fr;gap:16px;border-top:1px solid #e3dfd1;padding:9px 0}.query-notes dt{font-weight:600;color:var(--pine)}.query-notes dd{margin:0}.results-head{border-left:3px solid #b89858;padding-left:16px}.date-day{font-size:28px;color:var(--pine)}.weekday{color:#526153}.badge{font-size:18px;padding:6px 14px;font-weight:500}.badge.yi{background:#e1ebda;color:#264a34;border-color:#aabd9f}.badge.ji{background:#f3dfd6;color:#903f31;border-color:#d4ac9c}.badge:not(.yi):not(.ji):not(.both){background:#ece9dd;color:#56604e}.date-block{min-width:180px}.expand{color:#66705e}.day-details h3{font-size:18px}footer{margin-top:32px}.matching-note{padding-bottom:16px}
@media(max-width:700px){.masthead{padding:14px 20px}.brand span{font-size:16px;letter-spacing:0}.brand{gap:12px;font-size:26px}.intro{padding:20px 0 20px}.intro .eyebrow{font-size:16px;margin-bottom:6px}h1{font-size:32px;line-height:1.4;margin-bottom:8px}.intro>p:not(.eyebrow){font-size:18px}form{padding:20px 16px}.activities{gap:10px}.activities label{min-height:64px;padding:13px 10px;gap:8px;font-size:18px}.activities label:has(input:checked){padding:12px 9px}.activities label>span{white-space:nowrap}.range{margin-top:20px;padding-top:18px}.range-fields label{font-size:18px}.muted,.raw-note,footer p,.pagination span{font-size:16px}.query-notes dl>div{grid-template-columns:1fr;gap:4px}.results-head{padding-left:12px}.date-block{min-width:0}.date-day{font-size:26px}.badge{font-size:18px;padding:6px 11px}.date-row>summary{padding:18px 0}.statuses{gap:8px}.weekday{font-size:18px}.expand{font-size:16px}.brand{flex-wrap:wrap}.brand span{white-space:nowrap}.empty>span{font-size:42px}.empty p{font-size:18px}}
