:root{--background:#EFE6D2;--paper-2:#E7DCC4;--paper-3:#D9CBAE;--paper-hi:#F6F0E2;--foreground:#1B1712;--ink-2:#574D3E;--rule:#BFAE8C;--accent:#9E2B20;--brass:#A9812F;--brass-2:#D8B866;--sage:#56704F;--display:var(--font-display),"IM Fell English",Georgia,serif;--ui:var(--font-ui),"Barlow Condensed","Arial Narrow",system-ui,sans-serif;--body:var(--font-body),Alegreya,Georgia,"Times New Roman",serif;--shadow:0 1px 0 rgba(255,255,255,.55) inset,0 6px 18px -8px rgba(48,30,8,.35),0 1px 2px rgba(48,30,8,.18);--frame:inset 0 0 0 1px var(--paper-hi),inset 0 0 0 4px var(--paper-2),inset 0 0 0 5px rgba(169,129,47,.45);color-scheme:light}body,html{max-width:100vw;overflow-x:hidden}body{color:var(--foreground);background:var(--background);background-image:radial-gradient(ellipse at 50% -10%,rgba(255,250,235,.55),transparent 60%),radial-gradient(ellipse at 50% 120%,rgba(90,60,20,.18),transparent 55%),url(/paper.png);background-size:auto,auto,256px 256px;background-attachment:fixed,fixed,scroll;font-family:var(--body);font-size:1.06rem;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;padding:0;margin:0}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:var(--display);font-weight:400;letter-spacing:.005em}h1{font-size:2.35rem;line-height:1.05}h1:after{content:"";display:block;width:4.5rem;height:10px;margin-top:.55rem;background:linear-gradient(var(--accent),var(--accent)) 0 /100% 2px no-repeat,radial-gradient(circle,var(--brass) 2.5px,transparent 3px) 100% /10px 10px no-repeat}h2{letter-spacing:.01em}.tg-top{max-width:34rem;margin:0 auto;padding:.9rem max(1.25rem,env(safe-area-inset-left,0px)) 0;justify-content:space-between}.tg-mark,.tg-top{display:flex;align-items:center}.tg-mark{gap:.55rem;font-family:var(--ui);font-weight:600;font-size:.95rem;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-2)}.tg-mark svg{width:28px;height:28px;color:var(--foreground)}.tg-world{position:fixed;inset:0;z-index:0;background:#EFE6D2 url(/paper.png)}.tg-credit{position:fixed;z-index:14;right:max(10px,env(safe-area-inset-right,0px));top:calc(env(safe-area-inset-top, 0px) + 226px);font:9px Georgia,serif;color:rgba(59,46,30,.55);writing-mode:vertical-rl;letter-spacing:.04em}.tg-mapbtns{position:fixed;z-index:15;right:max(12px,env(safe-area-inset-right,0px));top:calc(env(safe-area-inset-top, 0px) + 64px);display:flex;flex-direction:column;align-items:flex-end;gap:8px}.tg-mapbtns button{width:44px!important;height:44px!important;border-radius:50%!important;border:1px solid rgba(110,80,30,.55)!important;background:radial-gradient(circle at 40% 30%,#FBF5E6,#E6D8B8)!important;box-shadow:0 0 0 3px rgba(242,235,220,.7),0 4px 10px rgba(30,20,5,.35)!important}.tg-mapbtns button:last-child:not(:first-child){width:auto!important;border-radius:999px!important;padding:0 14px!important;font:600 13px var(--ui)!important;letter-spacing:.12em;text-transform:uppercase}.tg-rose{z-index:14;right:max(10px,env(safe-area-inset-right,0px));top:calc(env(safe-area-inset-top, 0px) + 170px);opacity:.8;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(30,20,5,.25))}.tg-menubtn,.tg-rose{position:fixed;width:52px;height:52px}.tg-menubtn{z-index:30;left:max(12px,env(safe-area-inset-left,0px));top:calc(env(safe-area-inset-top, 0px) + 64px);border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#1B1712;border:1px solid rgba(110,80,30,.6);background:radial-gradient(circle at 40% 30%,#FBF5E6,#E1D1AC);box-shadow:0 0 0 3px rgba(242,235,220,.75),0 0 0 4px rgba(169,129,47,.6),0 6px 14px rgba(30,20,5,.4)}.tg-menubtn svg{width:30px;height:30px}.tg-hudwrap{position:fixed;z-index:20;top:calc(env(safe-area-inset-top, 0px) + 66px);left:50%;transform:translateX(-50%);max-width:calc(100vw - 140px);gap:6px}.tg-hud,.tg-hudwrap{display:flex;flex-direction:column;align-items:center}.tg-hud{max-width:100%;padding:.35rem 1.1rem .4rem;border-radius:12px;cursor:pointer;color:#1B1712;border:1px solid rgba(110,80,30,.5);background:linear-gradient(#FBF5E6,#EADDBE);box-shadow:inset 0 0 0 3px rgba(251,245,230,.9),inset 0 0 0 4px rgba(169,129,47,.45),0 6px 14px rgba(30,20,5,.35)}.tg-hud-v{font-family:var(--display);font-weight:400;font-size:1.3rem;line-height:1.1}.tg-hud-k,.tg-hud-v{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tg-hud-k{font-family:var(--ui);font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#6B5A3E}.tg-hud-sky{font-family:var(--body);font-style:italic;font-size:.85rem;color:#574D3E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;border-top:1px solid rgba(169,129,47,.35);margin-top:2px;padding-top:1px}.tg-alert{font-family:var(--ui);font-weight:700;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#FBF5E6;padding:.3rem .85rem;border-radius:6px;cursor:pointer;border:1px solid #5e1810;background:repeating-linear-gradient(-45deg,#9E2B20 0 10px,#85251B 10px 20px);box-shadow:0 0 0 2px rgba(216,184,102,.85),0 5px 12px rgba(30,20,5,.4)}.tg-plan{cursor:pointer;filter:drop-shadow(0 1px 1px rgba(60,40,20,.25))}@media (prefers-reduced-motion:no-preference){.tg-flicker{animation:tg-flick 1.6s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}}@keyframes tg-flick{0%{opacity:.75;transform:scale(.94)}50%{opacity:1;transform:scale(1.04)}to{opacity:.85;transform:scale(.98)}}.tg-floors{position:fixed;z-index:15;left:max(12px,env(safe-area-inset-left,0px));top:calc(env(safe-area-inset-top, 0px) + 322px);display:flex;flex-direction:column;gap:4px;padding:4px;border-radius:12px;background:rgba(242,235,220,.92);border:1px solid rgba(110,80,30,.5);box-shadow:0 5px 12px rgba(30,20,5,.3)}.tg-floors button{font:600 .78rem var(--ui);letter-spacing:.12em;text-transform:uppercase;color:#3B2E1E;padding:.4rem .7rem;border:0;border-radius:8px;background:none;cursor:pointer}.tg-floors button[aria-pressed=true]{background:#2A2117;color:#F2EBDC}.tg-rail{position:fixed;z-index:16;left:max(12px,env(safe-area-inset-left,0px));top:calc(env(safe-area-inset-top, 0px) + 128px);display:flex;flex-direction:column;gap:8px}.tg-rail a,.tg-rail button{width:54px;height:54px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;overflow:hidden;text-decoration:none;cursor:pointer;color:#1B1712;border:1px solid rgba(110,80,30,.55);background:linear-gradient(#FBF5E6,#E6D8B8);box-shadow:0 0 0 2px rgba(242,235,220,.7),0 4px 10px rgba(30,20,5,.35);font:600 .62rem var(--ui);letter-spacing:.12em;text-transform:uppercase;padding:0}.tg-rail span{font-family:var(--ui);font-weight:600;font-size:.6rem;line-height:1;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.tg-rail svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.tg-rail .tg-rail-talk{color:#FBF5E6;border-color:#5E1810;background:linear-gradient(#B23A2C,#85251B)}.tg-sunband{position:fixed;z-index:22;left:0;right:0;top:0;height:calc(env(safe-area-inset-top, 0px) + 50px);padding-top:env(safe-area-inset-top,0);pointer-events:none;border-bottom:1px solid rgba(169,129,47,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -8px 12px -10px rgba(30,20,5,.4),0 3px 10px rgba(30,20,5,.25);transition:background 3s;overflow:hidden}.tg-sunband:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,250,235,.55) 20%,rgba(255,250,235,.55) 80%,transparent)}.tg-sunband-in{position:relative;height:50px;width:min(46rem,calc(100% - 2 * max(14px, env(safe-area-inset-left, 0px))));margin:0 auto}.tg-sunband-in>svg.arc{position:absolute;left:0;right:0;top:0;width:100%;height:32px}.tg-sunband-in>b{position:absolute;top:15px;font-family:var(--display);font-weight:400;font-size:13px;line-height:1;opacity:.8}.tg-sunband-in>.orb{position:absolute;width:22px;height:22px;transform:translate(-50%,-50%);transition:left 60s linear,top 60s linear;filter:drop-shadow(0 0 4px rgba(255,230,160,.6))}.tg-sunband-in>.star{position:absolute;width:2px;height:2px;border-radius:50%;background:#F4EBD0;opacity:.7}.tg-sunband-row{position:absolute;left:0;right:0;bottom:5px;display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;grid-gap:10px;gap:10px;white-space:nowrap}.tg-sunband-row span{font-family:var(--ui);font-weight:600;font-size:11.5px;line-height:1;letter-spacing:.1em;text-transform:uppercase;opacity:.85}.tg-sunband-row span:last-child{text-align:right}.tg-sunband-row strong{font-family:var(--display);font-style:italic;font-weight:400;font-size:15px;line-height:1;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis}.tg-actionbar{position:fixed;z-index:27;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom, 0px) + 10px);width:min(36rem,calc(100vw - 20px));gap:.5rem;padding:.55rem .6rem .6rem;border-radius:16px;color:#1B1712;border:1px solid rgba(110,80,30,.55);background:linear-gradient(#FBF5E6,#EADDBE);box-shadow:inset 0 0 0 3px rgba(251,245,230,.85),inset 0 0 0 4px rgba(169,129,47,.4),0 8px 20px rgba(30,20,5,.4)}.tg-ab-main,.tg-actionbar{display:flex;align-items:center;text-align:left;font:inherit}.tg-ab-main{flex:1 1;min-width:0;gap:.7rem;border:0;background:none;padding:0;cursor:pointer;color:inherit}.tg-ab-stop{flex:none;font-family:var(--ui);font-weight:700;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;padding:.55rem .8rem;border-radius:10px;cursor:pointer;color:#7A2A1E;border:1px solid rgba(122,42,30,.45);background:rgba(255,250,240,.7)}.tg-ab-ask{flex:none;display:flex;gap:6px;align-items:center}.tg-ab-yes{color:#FBF5E6;background:linear-gradient(#B23A2C,#85251B);border-color:#5E1810}.tg-ab-no{font-family:var(--ui);font-weight:600;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;border:0;background:none;color:#6B5A3E;cursor:pointer;padding:.4rem}.tg-ab-icon{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#2A2117;color:#F2EBDC}.tg-ab-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tg-ab-sleep{background:#222C55}.tg-ab-walk{background:#56704F}.tg-ab-work{background:#8A5A1E}.tg-ab-idle{background:#6B5A3E}.tg-ab-text{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:3px}.tg-ab-task{font-family:var(--display);font-size:1.05rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-ab-task em{font-style:normal;font-size:.7rem;letter-spacing:.14em;color:#8A5A1E}.tg-ab-task em,.tg-ab-time{font-family:var(--ui);font-weight:600;text-transform:uppercase}.tg-ab-time{font-size:.72rem;letter-spacing:.12em;color:#6B5A3E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-ab-bar{height:4px;border-radius:2px;background:rgba(110,80,30,.18);overflow:hidden}.tg-ab-bar i{display:block;height:100%;background:linear-gradient(90deg,#A9812F,#D8B866);transition:width 1s}.tg-ab-go{flex:none;font:600 1.6rem var(--display);color:#8A5A1E;padding-right:2px}.tg-sheet{bottom:calc(env(safe-area-inset-bottom, 0px) + 78px)!important;border-radius:20px!important}.tg-tall .tg-credit,.tg-tall .tg-floors,.tg-tall .tg-mapbtns,.tg-tall .tg-rose{visibility:hidden}.tg-chooser{position:fixed;z-index:61;min-width:200px;max-width:220px;display:flex;flex-direction:column;padding:6px;border-radius:12px;background:var(--background) url(/paper.png);border:1px solid rgba(110,80,30,.5);box-shadow:0 10px 24px rgba(30,20,5,.4);animation:tg-rise .15s ease-out both}.tg-chooser button{text-align:left;font-family:var(--display);font-size:1.05rem;padding:.5rem .65rem;border:0;border-radius:8px;background:none;color:var(--foreground);cursor:pointer}.tg-chooser button+button{border-top:1px solid var(--rule);border-radius:0}.tg-chooser button:focus-visible,.tg-chooser button:hover{background:rgba(169,129,47,.15)}.tg-sky{position:fixed;inset:0;z-index:5;pointer-events:none}.tg-sky>*{position:absolute;inset:0;width:100%;height:100%}.tg-sky-light{transition:opacity 2s}.tg-sky-dawn .tg-sky-light{background:linear-gradient(180deg,rgba(255,160,120,.32),rgba(255,215,170,.1) 55%,transparent)}.tg-sky-dusk .tg-sky-light{background:linear-gradient(180deg,rgba(90,50,110,.34),rgba(225,120,60,.2) 55%,rgba(70,30,40,.18))}.tg-sky-night .tg-sky-light{background:radial-gradient(ellipse at 50% 30%,rgba(34,52,120,.42),rgba(8,12,40,.7) 90%)}.tg-sky-lid{background:linear-gradient(rgba(70,76,82,.55),rgba(120,126,130,.35));transition:opacity 2s}.tg-sky-fog{background:radial-gradient(ellipse at 20% 40%,rgba(245,243,236,.85),transparent 55%),radial-gradient(ellipse at 75% 65%,rgba(245,243,236,.8),transparent 50%),rgba(240,238,230,.35);filter:blur(8px)}@media (prefers-reduced-motion:no-preference){.tg-sky-fog{animation:tg-fog 40s ease-in-out infinite alternate}}@keyframes tg-fog{0%{transform:translateX(-4%)}to{transform:translateX(4%)}}.tg-sky-flash{background:#F6F4FF;opacity:0;mix-blend-mode:screen;transition:opacity .06s}.tg-menu{position:fixed;inset:0;z-index:60;background:rgba(20,14,6,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.tg-menu nav{position:absolute;left:max(12px,env(safe-area-inset-left,0px));top:calc(env(safe-area-inset-top, 0px) + 126px);width:min(19rem,calc(100vw - 24px));display:flex;flex-direction:column;padding:.9rem .6rem;border-radius:14px;background:var(--background) url(/paper.png);color:var(--foreground);box-shadow:var(--frame),0 16px 40px rgba(0,0,0,.45);animation:tg-rise .2s ease-out both}.tg-menu a.tg-menu-quiet{font-family:var(--body);font-size:.95rem;color:var(--ink-2);margin-top:.4rem;border-top:1px solid var(--rule);border-radius:0;padding-top:.75rem}.tg-menu-title{font-family:var(--ui);font-weight:600;font-size:.78rem;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-2);padding:0 .8rem .4rem}.tg-menu a,.tg-menu button{font:inherit;font-family:var(--display);font-size:1.35rem;text-align:left;padding:.55rem .8rem;border:0;background:none;color:inherit;border-radius:8px;cursor:pointer}.tg-menu a:focus-visible,.tg-menu a:hover,.tg-menu button:focus-visible,.tg-menu button:hover{background:rgba(169,129,47,.15)}.tg-actions{position:fixed;z-index:18;left:50%;transform:translateX(-50%);width:min(34rem,calc(100vw - 32px));display:flex;flex-direction:column;align-items:center;gap:.5rem;pointer-events:none;transition:bottom .28s cubic-bezier(.2,.8,.2,1)}.tg-actions>*{pointer-events:auto}.tg-actrow{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}.tg-act{font-family:var(--ui);font-weight:600;font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;padding:.6rem 1.1rem;border-radius:999px;cursor:pointer;color:#1B1712;border:1px solid rgba(110,80,30,.6);background:linear-gradient(#FBF5E6,#E1D1AC);box-shadow:0 0 0 2px rgba(242,235,220,.7),0 5px 12px rgba(30,20,5,.35)}.tg-act-main{color:#FBF5E6;border-color:#5E1810;background:linear-gradient(#B23A2C,#85251B);box-shadow:inset 0 1px 0 rgba(255,220,200,.35),0 0 0 2px rgba(216,184,102,.8),0 6px 14px rgba(30,20,5,.4)}.tg-act:disabled{opacity:.6}.tg-toast{max-height:38vh;overflow-y:auto;white-space:pre-wrap;padding:.85rem 1rem;border-radius:12px;font-size:.98rem;color:var(--foreground);box-shadow:var(--frame),0 10px 24px rgba(30,20,5,.4);cursor:pointer}.tg-sheet,.tg-toast{background:var(--background) url(/paper.png)}.tg-sheet{position:fixed;z-index:25;left:0;right:0;bottom:0;display:flex;flex-direction:column;border-radius:20px 20px 0 0;border-top:1px solid rgba(169,129,47,.6);box-shadow:inset 0 1px 0 var(--paper-hi),0 -12px 34px -10px rgba(30,20,5,.55);transition:height .28s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom,0)}.tg-sheet.tg-dragging{transition:none}.tg-sheet-close{position:absolute;top:8px;right:max(10px,env(safe-area-inset-right,0px));width:34px;height:34px;border-radius:50%;border:1px solid var(--rule);background:var(--paper-2);color:var(--foreground);font-size:.95rem;cursor:pointer;z-index:2}.tg-grip{flex:none;height:28px;display:grid;place-items:center;cursor:-webkit-grab;cursor:grab;touch-action:none}.tg-grip span{width:46px;height:5px;border-radius:3px;background:var(--rule);box-shadow:0 1px 0 var(--paper-hi)}.tg-sheet-in{flex:1 1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.tg-sheet-in main{min-height:0;padding-block:.25rem 3rem}@media (min-width:900px){.tg-sheet{left:50%;right:auto;width:min(46rem,calc(100vw - 48px));transform:translateX(-50%);border:1px solid rgba(169,129,47,.6);border-bottom:0;box-shadow:var(--frame),0 -14px 40px rgba(30,20,5,.4)}.tg-actions{width:min(34rem,calc(100vw - 48px))}}@keyframes tg-rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:no-preference){main>*{animation:tg-rise .35s ease-out both}main>:nth-child(2){animation-delay:.04s}main>:nth-child(3){animation-delay:.08s}main>:nth-child(4){animation-delay:.12s}main>:nth-child(n+5){animation-delay:.16s}}.tg-fleuron{display:flex;justify-content:center;color:var(--rule);margin:.25rem 0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}