@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+TC:wght@400;500;600;700&display=swap');
:root{--paper:#f7f6f2;--white:#fff;--ink:#1e2623;--muted:#717a73;--line:#e4e6df;--green:#315e4c;--green-dark:#234637;--green-pale:#eaf0eb;--gold:#bd9254;--night:#eef0f0;--mono:'DM Mono',ui-monospace,monospace;--sans:'Noto Sans TC',system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.65}button,input,select{font:inherit;color:inherit}button{cursor:pointer}.topbar{height:74px;max-width:1440px;padding:0 48px;margin:auto;display:flex;align-items:center;border-bottom:1px solid #e9e8e1}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{width:38px;height:38px;border:1px solid #c9d6cd;border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:22px}.brand strong{font-size:15px;letter-spacing:.12em;display:block;line-height:1.2}.brand small{display:block;font:9px var(--mono);letter-spacing:.11em;color:#818982;margin-top:4px}.topnav{display:flex;gap:32px;margin-left:auto;margin-right:32px}.topnav a{color:#666f69;text-decoration:none;font-size:12px}.topnav a:hover{color:var(--green)}.live-badge{font-size:11px;color:#69756e;display:flex;align-items:center;gap:7px}.live-badge i{width:7px;height:7px;background:#6fa780;border-radius:50%;box-shadow:0 0 0 3px #e6eee7}.shell{max-width:1360px;padding:0 40px;margin:auto}.hero{min-height:346px;display:grid;grid-template-columns:1.35fr .65fr;align-items:center;padding:49px 2.5% 44px;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.hero:after{content:'';position:absolute;right:15%;top:10%;width:270px;height:270px;border-radius:50%;background:radial-gradient(circle,#edf0e8 0,#edf0e8 38%,transparent 39%);opacity:.64;z-index:-1}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--green);font:10px var(--mono);letter-spacing:.13em;text-transform:uppercase;margin:0 0 18px}.eyebrow-line{width:25px;height:1px;background:#b5c0b6;display:inline-block}.eyebrow.muted{color:#79827b;margin-bottom:9px}.hero h1{font-size:clamp(32px,4vw,51px);line-height:1.35;letter-spacing:.02em;margin:0 0 15px;font-weight:600}.hero h1 em{color:var(--green);font-style:normal}.hero-intro{max-width:570px;font-size:13px;color:#717972;line-height:1.95;margin:0}.hero-facts{display:flex;gap:26px;margin-top:24px;color:#79827b;font-size:11px}.hero-facts span{padding-right:22px;border-right:1px solid #daddd5}.hero-facts span:last-child{border:0}.hero-facts b{font:16px var(--mono);color:var(--green);margin-right:4px}.compass-art{justify-self:center;width:215px;height:215px;border:1px solid #d9ddd5;border-radius:50%;position:relative;color:#637269;background:rgba(255,255,255,.35)}.compass-ring{position:absolute;border-radius:50%;inset:12px;border:1px solid #e0e3dc}.ring-inner{inset:40px;border-style:dashed;border-color:#d1d9d0}.compass-cross{position:absolute;inset:30px;background:repeating-conic-gradient(from 0deg,transparent 0deg 14deg,#e0e4dd 14.5deg 15deg);clip-path:circle(50%)}.compass-axis{position:absolute;background:#cbd5cb}.axis-n{width:1px;height:100%;left:50%}.axis-e{height:1px;width:100%;top:50%}.compass-label{position:absolute;font-size:12px;font-weight:600;background:var(--paper);padding:0 5px}.north{top:4px;left:calc(50% - 11px);color:var(--green)}.east{right:4px;top:calc(50% - 11px)}.south{bottom:4px;left:calc(50% - 11px)}.west{left:4px;top:calc(50% - 11px)}.compass-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:#eaf0eb;border:1px solid #cedacf;color:var(--green);display:grid;place-items:center;font-size:18px}.compass-caption{position:absolute;left:50%;bottom:-26px;transform:translateX(-50%);white-space:nowrap;font:8px var(--mono);letter-spacing:.12em;color:#959c95}.workbench{padding:43px 0 48px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 19px}.section-heading h2,.results-topline h2{font-size:21px;line-height:1.4;margin:0;font-weight:600;letter-spacing:.02em}.ref-chip{color:#7d6542;background:#f1eadf;border:1px solid #eadfcd;border-radius:30px;padding:6px 11px;font-size:10px}.workspace-grid{display:grid;grid-template-columns:355px minmax(0,1fr);gap:17px;align-items:start}.settings-card,.results-card{background:var(--white);border:1px solid #e8e9e3;border-radius:12px;box-shadow:0 5px 18px rgba(35,48,40,.025)}.settings-card{padding:22px 21px 19px}.form-section{position:relative}.section-label{display:flex;align-items:center;gap:10px;margin-bottom:16px}.section-label>div{display:flex;flex-direction:column}.section-label strong{font-size:13px}.section-label small{color:#8a918c;font-size:10px}.step-no{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#edf2ee;color:var(--green);font:10px var(--mono)}.field-label{display:block;font-size:11px;color:#525b55;margin:0 0 6px}.field-label>span{color:#9aa09b;margin-left:5px;font-size:10px}.search-row{display:grid;grid-template-columns:1fr 38px;gap:7px}.search-row input,.period-fields input,.coord-grid input,.timezone-content select{width:100%;height:37px;border:1px solid #e2e5df;border-radius:6px;background:#fff;padding:0 10px;outline:none}.search-row input:focus,.period-fields input:focus,.coord-grid input:focus,.timezone-content select:focus{border-color:#8eaa97;box-shadow:0 0 0 2px #edf3ee}.icon-button{border:1px solid #dfe4de;border-radius:6px;background:#f6f8f5;color:var(--green);font-size:23px;line-height:1}.suggestions{position:relative;z-index:5;background:#fff;border:1px solid #e3e5df;border-radius:6px;margin-top:4px;box-shadow:0 8px 16px rgba(30,38,35,.08);overflow:hidden}.suggestions button{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f1ed;padding:9px 11px;font-size:11px}.suggestions button:hover{background:#f5f7f4}.suggestions small{display:block;color:#8b938d;font-size:9px;margin-top:2px}.coord-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.coord-grid label>span{display:block;font-size:10px;color:#616b64;margin-bottom:5px}.coord-grid label small{color:#9ba19c}.coord-grid input{font:12px var(--mono)}.timezone-box{display:flex;gap:9px;align-items:center;background:#f6f8f5;border:1px solid #e8ebe5;border-radius:7px;margin-top:12px;padding:9px}.timezone-icon{width:27px;height:27px;display:grid;place-items:center;color:var(--green);background:#e8efe9;border-radius:50%;font-size:16px}.timezone-content{flex:1;min-width:0}.timezone-content label{display:block;font-size:10px;font-weight:600}.timezone-content label small{font-weight:400;color:#858e87;margin-left:3px}.timezone-content select{height:31px;margin-top:4px;font-size:10px;padding:0 7px}.timezone-offset{font:9px var(--mono);color:#79837b;margin-top:2px}.confirm-zone{align-self:flex-end;display:flex;align-items:center;gap:4px;color:#69736c;font-size:9px;padding-bottom:3px;white-space:nowrap}.confirm-zone input{accent-color:var(--green);width:13px;height:13px;margin:0}.field-hint{font-size:9px;color:#969d97;line-height:1.65;margin:8px 0 0}.form-divider{height:1px;background:#eceee9;margin:19px 0}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mode-option{display:flex;align-items:center;gap:8px;text-align:left;padding:8px;border:1px solid #e7e9e4;border-radius:7px;background:#fff;transition:.15s}.mode-option:hover{border-color:#b7c8bb}.mode-option.selected{background:#f0f5f1;border-color:#a6bbab;box-shadow:inset 0 0 0 1px #e0ebe2}.mode-icon{width:31px;height:31px;border-radius:6px;display:grid;place-items:center;flex:0 0 auto;background:#f3f4ef;color:#6e7d71;font:8px var(--mono)}.selected .mode-icon{background:#dfeae1;color:var(--green)}.mode-option b,.mode-option small{display:block}.mode-option b{font-size:10px;font-weight:600}.mode-option small{font-size:9px;color:#8b938d;margin-top:1px}.period-fields{display:grid;grid-template-columns:82px 1fr;gap:7px 9px;align-items:center;margin-top:14px}.period-fields .field-label{margin:0}.period-fields input,.period-fields select{height:34px;border:1px solid #e3e6df;border-radius:6px;background:#fff;padding:0 8px;font-size:11px}.period-fields input[type=number]{font-family:var(--mono)}.period-fields select{width:100%}#date-label,#date,#term-label,#term{display:none}.period-fields.mode-date #date-label,.period-fields.mode-date #date,.period-fields.mode-term #term-label,.period-fields.mode-term #term{display:block}.primary-button{width:100%;height:43px;border:0;border-radius:6px;background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 14px;margin-top:17px;font-size:12px;font-weight:600;transition:.15s}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{opacity:.58;cursor:wait}.primary-button span:last-child{font-size:18px}.progress{min-height:17px;color:#758078;font-size:9px;margin-top:7px}.results-card{padding:22px 22px 13px;min-width:0}.results-topline{display:flex;justify-content:space-between;align-items:center;gap:12px}.share-button{border:1px solid #e2e6df;background:#fff;color:#657068;border-radius:6px;padding:7px 10px;font-size:10px;white-space:nowrap}.share-button:hover{background:#f7f8f6;color:var(--green)}.share-button span{color:var(--green);font-size:14px;margin-right:4px}.result-meta{display:flex;flex-wrap:wrap;gap:7px 15px;margin-top:8px;color:#7f8881;font-size:10px}.result-meta span{display:inline-flex;align-items:center;gap:5px}.result-meta strong{color:#46524a;font-weight:500}.result-meta .mono{font-family:var(--mono)}.sun-summary{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 0}.sun-pill{display:flex;gap:8px;align-items:center;background:#f6f7f4;border:1px solid #eaede7;border-radius:5px;padding:6px 9px;font-size:10px;color:#737c76}.sun-pill b{font:11px var(--mono);color:#45554b}.export-bar{display:flex;align-items:center;gap:12px;margin:17px 0 10px;padding:9px 0;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb}.export-label{font-size:10px;color:#858d87}.export-actions{display:flex;gap:7px}.export-actions button{display:flex;align-items:center;gap:5px;border:1px solid #e7e9e4;border-radius:5px;background:#fff;padding:5px 8px;font-size:10px}.export-actions button:hover{background:#f7f8f6}.file-icon{width:16px;height:16px;border-radius:3px;display:grid;place-items:center;color:#fff;font:9px var(--mono)}.file-icon.pdf{background:#b65e54}.file-icon.word{background:#477ab1}.file-icon.excel{background:#53866c}.export-status{font-size:9px;color:#6b7f70;margin-left:auto}.table-wrap{overflow:auto;max-height:485px;min-height:190px;border:1px solid #edf0eb;border-radius:5px;scrollbar-color:#d6ddd5 transparent;scrollbar-width:thin}table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-size:10px;line-height:1.4}thead{position:sticky;top:0;z-index:2}th{background:#f4f6f2;color:#58635c;font-size:9px;font-weight:600;text-align:left;white-space:nowrap;padding:9px 9px;border-bottom:1px solid #e7eae4}td{white-space:nowrap;padding:8px 9px;border-bottom:1px solid #f0f1ed;color:#4f5852;font:10px var(--mono)}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fafbf9}td:first-child,th:first-child{position:sticky;left:0;background:#f8f9f6;z-index:1;color:#334238;font-family:var(--sans);font-weight:600}thead th:first-child{z-index:3;background:#edf1eb}tr.night-row td{background:#f3f4f4;color:#8b918d}tr.night-row td:first-child{background:#eef0ef}.day-tag{font:9px var(--sans);color:#788279}.night-tag{color:#909692;font:9px var(--sans)}.table-footer{display:flex;align-items:center;justify-content:space-between;color:#8c948e;font-size:9px;padding:9px 1px 3px}.pagination{display:flex;align-items:center;gap:8px}.pagination button{border:1px solid #e3e7e1;background:#fff;border-radius:4px;width:25px;height:24px;color:#607065}.pagination button:disabled{color:#b9bfba;background:#f8f9f7;cursor:default}.pagination span{font:9px var(--mono);min-width:44px;text-align:center}.legend{display:flex;gap:14px;flex-wrap:wrap;color:#919992;font-size:9px;padding:6px 1px 1px}.legend span{display:flex;align-items:center;gap:5px}.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;background:#fff;border:1px solid #e1e5df}.legend i.legend-night{background:#e9eceb}.method-section{padding:43px 0 26px}.method-title{max-width:620px}.method-title h2{font-size:24px;margin:0 0 8px;font-weight:600}.method-title>p:last-child{font-size:12px;color:#78817a;line-height:1.8;margin:0}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:22px}.method-card{padding:18px 18px 17px;background:#fff;border:1px solid #e8e9e3;border-radius:8px}.method-index{font:9px var(--mono);letter-spacing:.08em;color:#a07e4d}.method-card h3{font-size:13px;margin:9px 0 6px;font-weight:600}.method-card p{font-size:10px;color:#737c75;line-height:1.9;margin:0}.method-note{display:grid;grid-template-columns:100px 1fr;gap:12px;background:#f0eee7;border-radius:7px;padding:12px 15px;margin-top:12px}.method-note span{color:#7b684a;font-size:10px;font-weight:600}.method-note p{color:#75776f;font-size:9px;line-height:1.8;margin:0}.page-footer{display:flex;justify-content:space-between;padding:22px 0 4px;margin-top:20px;border-top:1px solid var(--line);font-size:9px;color:#929991}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:10px 15px;background:#27392f;color:white;border-radius:6px;font-size:11px;box-shadow:0 8px 20px #1e262333;transition:.2s;z-index:99}.toast.show{opacity:1;transform:translate(-50%,0)}.pdf-export{position:fixed;left:-12000px;top:0;width:1150px;padding:20px;background:white;color:#222;font-family:var(--sans);z-index:-1}.pdf-export h1{font-size:18px;margin:0 0 7px}.pdf-export .export-metadata{font-size:10px;color:#555;margin-bottom:12px}.pdf-export table{width:100%;min-width:0;table-layout:auto;font-size:8px}.pdf-export th,.pdf-export td{padding:4px 5px;white-space:nowrap;font-size:8px}.pdf-export tr{page-break-inside:avoid}.pdf-export th:first-child,.pdf-export td:first-child{position:static;background:#f4f6f2}
@media(max-width:1100px){.shell{padding:0 24px}.topbar{padding:0 26px}.workspace-grid{grid-template-columns:320px minmax(0,1fr);gap:12px}.settings-card{padding:19px 16px}.results-card{padding:20px 16px}}@media(max-width:820px){.shell{padding:0 17px}.topbar{height:64px;padding:0 18px}.topnav{gap:15px;margin-right:18px}.hero{grid-template-columns:1fr .45fr;min-height:310px;padding:37px 1%}.compass-art{transform:scale(.82)}.workspace-grid{grid-template-columns:1fr}.settings-card{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.settings-card .form-divider{display:none}.settings-card .form-section:nth-of-type(2){border-left:1px solid #eceee9;padding-left:18px}.settings-card .primary-button,.settings-card .progress{grid-column:1/-1}.results-card{padding:20px}.table-wrap{max-height:440px}}@media(max-width:560px){.topbar{padding:0 15px}.topnav{display:none}.live-badge{margin-left:auto;font-size:9px}.shell{padding:0 13px}.hero{grid-template-columns:1fr;min-height:0;padding:34px 3% 31px}.hero h1{font-size:34px}.hero-intro{font-size:12px}.hero-facts{gap:13px}.hero-facts span{padding-right:11px}.compass-art{position:absolute;width:138px;height:138px;right:-25px;top:34px;opacity:.23;transform:none}.ring-inner{inset:25px}.compass-center{width:32px;height:32px}.compass-caption{font-size:6px}.compass-label{font-size:9px}.workbench{padding:30px 0 32px}.section-heading{align-items:flex-end}.section-heading h2,.results-topline h2{font-size:18px}.ref-chip{font-size:8px;padding:5px 7px}.settings-card{display:block;padding:17px 14px}.settings-card .form-section:nth-of-type(2){border:0;padding:0}.settings-card .form-divider{display:block}.results-card{padding:16px 12px}.results-topline{align-items:flex-start}.share-button{font-size:9px;padding:6px 7px}.export-bar{gap:7px;flex-wrap:wrap}.export-label{width:100%}.export-actions{gap:5px}.export-status{margin-left:auto}.result-meta{gap:4px 10px}.table-wrap{max-height:390px;min-height:170px}.method-section{padding:31px 0 18px}.method-title h2{font-size:21px}.method-grid{grid-template-columns:1fr;gap:8px;margin-top:16px}.method-card{padding:15px}.method-note{grid-template-columns:1fr;gap:4px}.page-footer{flex-direction:column;gap:5px;font-size:8px}}

/* Keep the temporary PDF sheet in the capture viewport; it is removed immediately after export. */
.pdf-export{position:fixed!important;left:0!important;top:0!important;z-index:999999!important}
