:root{color-scheme:light;--bg:#f8f7f2;--paper:#fffefb;--line:#dedbd1;--ink:#262a35;--sub:#696c71;--rust:#a6482c;--pale:#f2e2d7;--serif:"Iowan Old Style",Baskerville,"Palatino Linotype",Georgia,serif;--sans:"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button,a,select{cursor:pointer}button{background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b66a3e;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);line-height:1.12;font-weight:500}h1{font-size:clamp(2.1rem,3vw,3rem);letter-spacing:-.045em}h2{font-size:clamp(1.65rem,2.1vw,2.1rem);letter-spacing:-.034em}h3{font-size:1.4rem;letter-spacing:-.02em}p{color:var(--sub)}small{display:block;font-size:.875rem;color:var(--sub)}.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.rail{position:sticky;top:0;height:100dvh;background:#f3f1e9;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:10px;padding:28px 18px 32px}.brand img{width:44px;height:44px}.brand b{font:600 1.38rem/1.1 var(--serif);letter-spacing:-.04em}.brand small{font-size:.77rem;color:#8d6756;letter-spacing:.08em;margin-top:3px}.rail nav{padding:0 14px;overflow-y:auto}.rail-label,.kicker{font-size:.73rem;line-height:1.3;letter-spacing:.13em;font-weight:700;text-transform:uppercase}.rail-label{padding:0 13px;margin:13px 0 9px;color:#76736d}.rail-label.second{margin-top:28px}.nav-item{display:flex;align-items:center;gap:13px;padding:11px 14px;margin:3px 0;border-radius:7px;font-size:.96rem;font-weight:500;color:#555861;min-height:45px}.nav-item.active{background:#ecdfd3;color:#924025;font-weight:650}.nav-item:hover,.user:hover{background:#eee9df}.nav-item.active:hover{background:#ebdacc}.rail-foot{margin-top:auto;padding:22px 20px 16px}.tradition,.user,.profile-main,.row,.actions,.heading,.section-head,.top,.top-right,.top-right>span,.date-tag,.hero-label,.hero-button,.kicker,.sunline,.sunline span,.chat-head,.chat-head>div,.dialog-title,.tool-card,.language{display:flex;align-items:center}.tradition{gap:12px;color:#956446;padding:15px 2px;border-bottom:1px solid var(--line)}.tradition strong,.user strong{display:block;font-size:.87rem;font-weight:600}.tradition small,.user small{font-size:.75rem}.user{gap:11px;margin-top:11px;padding:6px 2px;border-radius:6px;overflow-wrap:anywhere}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e6daca;color:#764932;font-size:.85rem;font-weight:650;flex:none}.work{min-width:0}.top{height:64px;border-bottom:1px solid var(--line);padding:0 clamp(22px,3.3vw,55px);justify-content:space-between;gap:15px}.crumb,.top-right{font-size:.86rem;color:var(--sub)}.crumb i{font-style:normal;color:#b3aaa0;margin:0 10px}.crumb b{font-weight:550;color:var(--ink)}.top-right,.top-right>span,.date-tag,.hero-label,.kicker,.language{gap:7px}.top-right{gap:16px}.vline{height:16px;border-left:1px solid var(--line)}.language{font-size:.84rem;font-weight:600}.language b{color:#aaa39a;font-weight:400}.hamb,.scrim{display:none}main:not(.boot){width:min(1320px,100%);margin:0 auto;padding:30px clamp(22px,3.3vw,55px) 56px}.heading,.section-head,.row,.dialog-title,.chat-head{justify-content:space-between;gap:12px}.heading{margin-bottom:22px;flex-wrap:wrap}.heading p{margin-top:7px}.date-tag{font-size:.87rem;color:#626467;white-space:nowrap}.hero{isolation:isolate;background:#1d2034 url('/sky.jpg') center center/cover no-repeat;border-radius:15px;min-height:250px;display:flex;align-items:center;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#171b2c55,transparent 64%);z-index:-1}.hero-content{padding:28px clamp(24px,3vw,46px);color:#fff9e9;max-width:58%}.hero-label{font-size:.74rem;letter-spacing:.14em;color:#efc58d;font-weight:650}.hero h2{font-size:clamp(2.35rem,3.8vw,4.2rem);line-height:1.05;margin:11px 0 9px;letter-spacing:-.045em}.hero p{font-size:.99rem;line-height:1.56;color:#eee8de;max-width:425px}.hero-button,.primary,.secondary,.chips button,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;border-radius:7px;font-size:.9rem;min-height:40px;padding:9px 15px}.hero-button{background:#f7e9d2;color:#302b2a;margin-top:19px}.hero-button:hover{background:#fff6e5}.primary{background:var(--rust);color:#fffaf3;border:1px solid var(--rust)}.primary:hover{background:#873a24}.secondary,.chips button{background:var(--paper);border:1px solid #d7d4ca}.secondary:hover,.chips button:hover,.tool-card:hover{background:#f5f0e7;border-color:#bdad99}.section{margin-top:29px}.section-head{margin-bottom:15px;align-items:flex-end}.kicker{color:#a65a3c;margin-bottom:6px;gap:7px}.section-head .text-link,.text-link,.linkbutton{font-size:.88rem;color:var(--rust);font-weight:600}.text-link:hover,.linkbutton:hover{text-decoration:underline}.card,.almanac-box,.tool-card{background:var(--paper);border:1px solid var(--line);border-radius:12px}.limbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:21px 6px}.limb{padding:0 clamp(10px,1.5vw,26px);border-right:1px solid var(--line)}.limb:last-child{border:0}.instrument,.tool-art,.empty-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%}.peach{--tone:#9f543a;--wash:#f6e5d8}.lilac{--tone:#756187;--wash:#ede7f1}.mint{--tone:#4c705f;--wash:#e3ece2}.wheat{--tone:#987233;--wash:#f4ebd6}.blue{--tone:#526987;--wash:#e6ebf0}.instrument,.tool-art{color:var(--tone);background:var(--wash)}.limb small{margin:9px 0 1px;font-size:.85rem}.limb strong{font:600 clamp(1.03rem,1.45vw,1.42rem)/1.2 var(--serif);overflow-wrap:anywhere}.sunline{flex-wrap:wrap;gap:20px;padding:11px 20px;background:#faf8f2;border-top:1px solid var(--line);border-radius:0 0 12px 12px;color:#6c6960;font-size:.83rem}.sunline span{gap:7px}.sunline svg{color:#a87940}.sunline b{font-weight:600;color:#4e4d49}.location{margin-left:auto}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-card{padding:18px 14px;gap:13px;min-width:0;transition:background .15s}.tool-art{width:48px;height:48px;flex:none;border-radius:11px}.tool-card h3{font-size:1.27rem}.tool-card small{font-size:.81rem;margin-top:4px}.card.report,.empty,.inline-form{padding:clamp(18px,2.4vw,32px)}.card.report>p,.card.report>h3,.card.report>details{margin-top:13px}.empty{text-align:center;padding-block:52px}.empty p{max-width:490px;margin:10px auto 16px}.empty-icon{background:#f1e5d6;color:#a36a46;width:60px;height:60px;margin-bottom:12px}.actions{gap:10px;flex-wrap:wrap}.profile-list,.fields,.reading-list,.sources{display:grid;gap:15px}.prof{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;margin:10px 0}.profile-main{gap:14px}.form-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.danger{color:#a33222;margin-right:auto}.inline-form,.two{display:grid;align-items:end;gap:16px}.inline-form{grid-template-columns:1fr 1fr auto}.two{grid-template-columns:1fr 1fr}label{display:grid;gap:6px;font-size:.9rem;font-weight:600}input,select,textarea{width:100%;min-width:0;outline:0;border:1px solid #d3cfc5;border-radius:6px;background:#fffefa;padding:10px 11px;font-size:1rem;font-weight:400}select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23756c61' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}button:disabled{cursor:wait;opacity:.55}.notice,.footnote{font-size:.88rem;line-height:1.55}.notice{background:#f3ede1;color:#6c5436;padding:10px 14px;border-radius:7px}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:18px 0}.facts>div{background:#f6f4ed;border-radius:7px;padding:12px}.facts strong{font-family:var(--serif);font-size:1.2rem}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:18px 0;overflow-x:auto}.tabs button{padding:9px;font-size:.89rem;white-space:nowrap}.tabs .selected{color:var(--rust);box-shadow:inset 0 -2px currentColor}.chart-body{display:grid;grid-template-columns:minmax(240px,1fr) minmax(250px,1fr);gap:22px;align-items:center}.rasi-grid{display:grid;grid-template:repeat(4,1fr)/repeat(4,1fr);aspect-ratio:1;border:1px solid #b6a487;background:#f8f1df}.rasi-cell,.rasi-center{border:1px solid #c9bda5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3px}.rasi-cell small{font-size:.75rem}.rasi-cell b{font-size:.82rem;color:#8a4932}.rasi-center{grid-area:2/2/4/4}.rasi-center img{width:36%}.rasi-center strong{font:1.5rem var(--serif)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.87rem}td,th{padding:8px 5px;border-bottom:1px solid var(--line)}th{color:var(--sub);font-weight:600}.reading-list{margin-top:12px}.reading-list article{border-bottom:1px solid var(--line);padding:9px 0 13px}.reading-list h3{text-transform:capitalize}.reading-list p{margin-top:5px}.status{font-size:.79rem;padding:3px 9px;border-radius:5px;background:#f1e7d8;color:#705632}.status.good{background:#e2ebe2;color:#3b624c}.sources{margin-top:12px;gap:7px}.sources a{color:#805336;font-size:.9rem}.sources a:hover{text-decoration:underline}summary{cursor:pointer}.chat-card{overflow:hidden}.chat-head{padding:15px 20px;border-bottom:1px solid var(--line)}.chat-head>div{gap:10px}.chat-head select{max-width:220px}.chat-card>.notice{margin:15px 20px 0}.thread{min-height:270px;max-height:52vh;overflow-y:auto;padding:22px}.welcome{text-align:center;padding:20px 0}.welcome img{width:52px}.welcome h2,.welcome p{margin:8px 0}.chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:19px}.chips button{font-size:.85rem;color:#744b36}.composer{display:flex;align-items:flex-end;gap:10px;padding:14px;border-top:1px solid var(--line);background:#f9f7f0}.composer textarea{resize:vertical}.bubble{padding:12px 16px;background:#f4f1e8;border-radius:10px;max-width:92%;width:fit-content;margin-bottom:12px}.bubble.user{background:#e9e6f0;margin-left:auto}.bubble p{white-space:pre-wrap;color:var(--ink);margin-top:4px}.bubble small{font-weight:600;color:#785b45}.loading{font-style:italic}dialog{padding:0;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);width:min(520px,92vw);max-height:90dvh}dialog::backdrop{background:#19202666}.dialog-inner{padding:24px}.dialog-title{margin-bottom:16px}.icon-btn{padding:6px}.form-error{color:#9b352b}.form-error:empty{display:none}.fields[hidden]{display:none}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,18px);max-width:90vw;border-radius:8px;background:#2c3333;color:white;padding:11px 18px;z-index:10;font-size:.92rem;opacity:0;pointer-events:none;transition:.15s}#toast.show{opacity:1;transform:translate(-50%,0)}.boot,.entry{min-height:100dvh;display:grid;align-content:center;justify-content:center;text-align:center}.boot img,.entry img{width:70px;margin:0 auto 10px}.entry section{margin:20px;padding:35px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.entry p{margin:12px 0 18px}
@media(min-width:1600px){.hero{min-height:295px}}
@media(max-width:1120px){.layout{grid-template-columns:205px minmax(0,1fr)}.brand{padding-inline:13px;gap:6px}.brand b{font-size:1.22rem}.brand img{width:38px}.rail nav{padding-inline:9px}.tool-card{align-items:flex-start;flex-direction:column}.tool-grid{gap:9px}.hero-content{max-width:65%}.inline-form{grid-template-columns:1fr 1fr}.inline-form>.primary{grid-column:1/-1;justify-self:start}}
@media(max-width:800px){.layout{display:block}.rail{position:fixed;left:0;top:0;width:240px;transform:translateX(-102%);transition:transform .18s}.mobile-open .rail{transform:translateX(0)}.mobile-open .scrim{display:block;position:fixed;inset:0;background:#20202a55;z-index:2}.hamb{display:inline-grid;place-items:center;margin-right:2px}.top{height:55px;justify-content:flex-start;padding:0 17px}.top-right{margin-left:auto}.hero-content{max-width:62%}.hero{min-height:240px}.chart-body{grid-template-columns:1fr 1fr}}
@media(max-width:600px){main:not(.boot){padding:21px 15px 35px}.heading{align-items:flex-start;margin-bottom:16px}.date-tag{font-size:.76rem}.top-right>span,.vline{display:none}.hero{min-height:235px;background-position:62% 50%}.hero:before{background:linear-gradient(90deg,#191a2ad9 0%,#191a2a9c 48%,transparent 90%)}.hero-content{padding:22px;max-width:83%}.hero h2{font-size:2.5rem}.hero p{font-size:.92rem}.section{margin-top:24px}.section-head{gap:8px}.section-head .text-link{font-size:.78rem}.kicker{font-size:.7rem}.limbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 0;padding:15px 2px}.limb:nth-child(3){border:0}.limb strong{font-size:1.05rem}.limb small{margin-top:6px}.sunline{padding:10px;font-size:.76rem;gap:10px}.location{display:none!important}.tool-grid{grid-template-columns:1fr}.tool-card{flex-direction:row;align-items:center;padding:13px 15px}.tool-art{width:42px;height:42px}.chart-body,.two,.inline-form{grid-template-columns:1fr}.inline-form>.primary{justify-self:stretch}.prof,.chat-head{align-items:flex-start;flex-wrap:wrap}.chat-head select{max-width:100%}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}.thread{padding:13px;max-height:48vh}.composer{align-items:stretch}.composer button{align-self:flex-end}.dialog-inner{padding:19px}.brand{padding:22px 16px}.rail-label.second{margin-top:17px}.rail-foot{padding-top:10px}.hero-button{margin-top:14px}.footnote{overflow-wrap:anywhere}}

.service-row,.key-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #deded4;padding:.85rem 0}.service-row input{width:1.2rem;height:1.2rem;accent-color:#275545}.service-row:last-of-type{margin-bottom:1rem}.key-row small{display:block;color:#59665e;margin-top:.25rem}.entry .fields{text-align:left;margin:1.2rem 0}.entry .fields label{display:grid;gap:.4rem}.entry small{display:block;color:#766338}.entry section{max-width:30rem;width:100%}.fields textarea{width:100%;font:inherit;padding:.75rem;border:1px solid #c9cec4;border-radius:.5rem}.entry .form-error:empty{display:none}
.admin-stats{margin:0 0 1rem}.admin-stats .facts{padding:1rem 1.2rem;background:#eef2e9;border-radius:12px}.admin-tabs{margin:1rem 0}.report[hidden]{display:none}.entry{background:linear-gradient(110deg,rgba(238,243,239,.88),rgba(249,246,236,.96)),url('/sky.jpg') center/cover}.entry .text-link{display:inline-flex;margin-top:.5rem}
.day-navigation{display:flex;flex-wrap:wrap;gap:.5rem;flex-basis:100%}
