:root{--page:#f6f3ec;--paper:#fcf9f3;--ink:#32291f;--ink-2:#786451;--shade:#f2e6d3;--rule:#dec6a6;--red:#b63e35;--red-soft:#f8ecdf;--jade:#2f7149;--jade-soft:#edf1df;--gold:#cb7a43;--blue:#94502b;--focus:#9d342d;--sans:"Jiri Text","PingFang TC","PingFang SC",sans-serif;--serif:"Jiri Title","Songti TC","Songti SC",serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.reference-shell{margin:0;background:var(--page);color:var(--ink);font:400 16px/1.65 var(--sans);min-width:1180px}body.reference-shell :is(button,input,select,textarea){font-family:var(--sans);color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:#a23b2d}img{max-width:100%;height:auto;vertical-align:middle}button,input,select{border-radius:3px}[hidden]{display:none!important}h1,h2,h3,h4,h5,p,figure,ul,ol,dl,dd{margin:0}ul,ol{padding:0}h1,h2,h3,h4,h5{font-family:var(--serif);font-weight:700}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}.w,.reference-main.wrap{width:1040px;max-width:1040px;margin-left:auto;margin-right:auto;padding:0}.sr-only,.home-heading,.reference-shell:has(.hl-daily)>.reference-main>.page-heading,.reference-shell:has(.hl-year-page)>.reference-main>.page-heading{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;padding:0!important;margin:-1px!important;border:0!important}.skip-link{position:fixed;top:-100px;left:15px;z-index:500;background:#fff8e8;color:#952f24;padding:10px}.skip-link:focus{top:10px}
.brand-topline{height:9px;background:#b43b2f;border-bottom:3px solid #d9ac6a}.site-header{background:#fffdf8;border-bottom:1px solid #ead8bc}.site-masthead{height:132px;display:flex;gap:28px;align-items:center}.site-brand{display:flex;gap:11px;align-items:center;width:244px;flex-shrink:0}.site-brand img{width:57px;height:66px;object-fit:contain}.site-brand>span{display:flex;flex-direction:column;gap:2px}.site-brand strong{font:700 39px/1.35 var(--serif);letter-spacing:3px;color:#a63b28;white-space:nowrap}.site-brand small{font-size:11px;letter-spacing:1.5px;color:#856749;white-space:nowrap}.site-lookup{width:330px;flex-shrink:0}.site-lookup form{display:flex;height:40px;border:1px solid #c99762;background:#fff;overflow:hidden;border-radius:3px}.site-lookup input{min-width:0;flex:1;padding:6px 12px;border:0;background:transparent;font-size:15px;outline:none}.site-lookup button{border:0;border-left:1px solid #c99762;background:#f1dfc1;padding:0 15px;color:#854020;font-size:15px}.site-header-meta{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:11px;white-space:nowrap;color:#816c55}.site-settings{position:relative;z-index:60}.site-settings summary{cursor:pointer;list-style:none;color:#9d492b}.site-settings summary::-webkit-details-marker{display:none}.site-settings>div{position:absolute;right:0;top:100%;margin-top:10px;width:300px;padding:16px;background:#fffdf7;border:1px solid #d9bb8d;box-shadow:0 3px 9px #654b2822}.site-settings .locale-controls{display:grid;gap:12px;font-size:14px}.site-settings label{display:flex;justify-content:space-between;gap:10px;align-items:center}.site-settings select{width:190px;max-width:190px;height:32px;background:white;border:1px solid #d4bf9c;padding:3px 6px;font-size:14px}.site-quick-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;flex:1;min-width:0}.site-quick-tools a{display:flex;flex-direction:column;align-items:center;gap:6px;white-space:nowrap;font-size:13px}.site-quick-tools img{width:52px;height:52px;object-fit:contain}.site-nav{background:#cb7a43}.site-nav>.w{display:grid;grid-template-columns:repeat(8,1fr)}.site-nav a{height:43px;line-height:43px;text-align:center;font-size:16px;color:#fff8ec;font-weight:600;letter-spacing:.5px}.site-nav a.active,.site-nav a:hover{background:#b63e35;color:#fff}
.reference-main{min-height:50vh}.reference-main .breadcrumb{height:37px;min-height:37px;padding:7px 1px;margin:0;background:none;font-size:13px;color:#85705c}.breadcrumb ol{display:flex;gap:9px;align-items:center;list-style:none}.breadcrumb li{list-style:none;display:flex;gap:9px;align-items:center}.breadcrumb li+li:before{content:'›';color:#aa8b68}.reference-shell .page-heading:not(.home-heading){background:#fcf9f3;padding:18px 20px;margin:0}.reference-shell .page-heading .eyebrow{display:none}.reference-shell .page-heading h1{font:700 29px/1.5 var(--serif);letter-spacing:.5px}.content-layout{display:block}.content-layout.reading-layout{display:grid;grid-template-columns:minmax(0,700px) 320px;gap:20px}.page-body{min-width:0}.reference-shell .prose{padding:20px;background:#fcf9f3;font-size:16px;line-height:1.9}.reference-shell .prose h2{font:700 24px/1.5 var(--serif);margin:22px 0 12px}.reference-shell .prose h3{font:700 20px/1.5 var(--serif);margin:18px 0 10px}.reference-shell .prose p{margin-bottom:15px}.reference-shell .prose :is(ul,ol){padding-left:22px;margin:10px 0}.reference-shell .prose li{list-style:disc}.reference-shell .prose a{color:#9f3a2d}.reference-shell .reading-sidebar{background:#fcf9f3;padding:18px;font-size:14px}.reference-shell .reading-sidebar .eyebrow{font-size:12px}.reference-shell .reading-sidebar nav a{font-size:15px;line-height:1.7}.reference-shell .reading-sidebar section{border:0;margin-bottom:25px}.reference-shell .reading-sidebar p{font-size:14px}.reference-shell .reading-sidebar .sidebar-calendar p{font-size:28px}
.reference-tools{padding:20px;background:#fcf9f3}.reference-tools .tool-intro .lead{font-family:var(--serif);font-size:23px}.reference-tools input,.reference-tools select,.reference-tools textarea{background:#fffdf8;color:#33291e;border:1px solid #d6bd99;border-radius:3px;padding:7px 8px;font-size:14px;min-height:34px}.reference-tools .form-row{padding:12px 0;gap:15px}.reference-tools .btn{background:#b63e35;color:#fff8ec;min-height:36px;font-size:15px;padding:7px 15px;border:1px solid #a83b2d;border-radius:3px}.reference-tools .btn:not(.primary){background:#fbf3e4;color:#694b2e;border-color:#d8c2a1}.reference-tools .tool-tabs a{color:#6e5842;font-size:15px;padding:10px;border-bottom:1px solid #d6ae7f}.reference-tools .tool-tabs a[aria-current=page]{background:#b63e35;color:#fff}.reference-tools .section-visual{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#fcf9f3}.reference-tools .section-visual>div{padding:20px;background:#fcf9f3;color:#32291f}.reference-tools .section-visual :is(p,.lead){color:#32291f}.reference-tools .section-visual .eyebrow{color:#a13e2a}.reference-tools .section-visual img{background:#fcf9f3}.reference-tools .nine-grid{background:#dfc6a0;gap:1px}.reference-tools .palace-cell{background:#fcf9f3;border:1px solid #e3c79d;border-radius:2px;min-height:130px}.reference-tools .palace-cell.center{background:#f8eacb}.reference-tools .dayun-strip button{background:#fcf9f3;border:1px solid #dec4a0;border-radius:2px}.reference-tools .dayun-strip button[aria-pressed=true]{background:#b63e35;color:#fff}.reference-tools .dayun-strip button[aria-pressed=true] *{color:inherit}.reference-tools table th{background:#cb7a43;color:#fff}.reference-tools table :is(th,td){border:1px solid #e3cfb2}.reference-tools .panel h2{font:700 24px/1.5 var(--serif)}.reference-tools .panel{border:0;box-shadow:none}.reference-shell .hl-scope{background:#fcf9f3}.reference-shell .hl-scope button,.reference-shell .hl-scope input,.reference-shell .hl-scope select{border-radius:3px}
.calendar-tools{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:20px;background:#fcf9f3}.calendar-tools>a{display:flex;align-items:center;gap:12px;min-height:100px}.calendar-tools>a+a{border-left:1px solid #e3cba8;padding-left:20px}.calendar-tools img{width:64px;height:64px;flex-shrink:0}.calendar-tools span{display:grid;gap:7px}.calendar-tools strong{font:700 19px/1.45 var(--serif)}.calendar-tools small{font-size:12px;color:#806347}.calendar-tools b{color:#a53e29;font-size:12px;white-space:nowrap;margin-left:auto}.reference-calendar-search{display:flex;width:700px;height:48px;margin:10px auto 0;background:#fffdf8}.reference-calendar-search input{min-width:0;flex:1;border:1px solid #dbc4a3;padding:0 12px;background:transparent;font-size:16px}.reference-calendar-search button{width:116px;background:#b63e35;color:white;border:0;font-size:17px}.reference-hot-dates{display:flex;justify-content:center;gap:23px;font-size:14px;padding:12px 0 25px;color:#7c634a}
.site-footer{margin-top:25px;background:#cb7a43;color:#fff7e9;border-top:4px solid #b36a3b}.site-footer>.w{display:flex;align-items:center;gap:45px;min-height:175px;padding:26px 0}.site-footer .footer-brand{display:flex;align-items:center;gap:13px;min-width:210px}.footer-brand strong{font:700 31px var(--serif);letter-spacing:3px}.footer-brand img{width:45px;height:52px;background:#fff8e9}.footer-links{flex:1;font-size:13px}.footer-links nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:14px}.footer-links a:hover{color:#ffe0a3}.footer-links p{font-size:11px;opacity:.95}.site-utility{position:fixed;right:max(18px,calc((100vw - 1180px)/2));bottom:25px;display:grid;z-index:25;border:1px solid #d0b17d;background:#fff7e7}.site-utility>a,.site-utility>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;width:48px;min-height:56px;border:0;border-bottom:1px solid #ead4b1;background:transparent;font-size:11px;color:#9e482c;border-radius:0}.site-utility>button:last-of-type{border-bottom:0}.site-utility img{width:24px;height:24px}.reference-share-note{position:absolute;right:58px;top:62px;white-space:nowrap;padding:7px 10px;border:1px solid #dbbd8f;background:#fffaf0;color:#714b2f;font-size:12px}
@media(max-width:760px){.reference-shell .reference-main .reading-layout{grid-template-columns:minmax(0,700px) 320px}.reference-tools .birth-form>.form-row{grid-template-columns:repeat(4,minmax(0,1fr))}.reference-tools .section-visual{grid-template-columns:1fr 1fr}.reference-tools .flying-layout,.reference-tools .natal-layout{grid-template-columns:1fr 1fr}}
@media print{.site-header,.site-nav,.site-footer,.site-utility,.breadcrumb{display:none!important}body.reference-shell{min-width:0}.w,.reference-main.wrap{width:100%;max-width:none}}
