@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";
.dq-calc-fab{right:calc(1rem + env(safe-area-inset-right));bottom:calc(1rem + env(safe-area-inset-bottom) + var(--dock-h,0px));z-index:1200;border:1px solid var(--surface-border);background:var(--surface-glass);width:48px;height:48px;color:var(--foreground);cursor:pointer;opacity:.9;touch-action:manipulation;border-radius:50%;place-items:center;font-size:1.35rem;transition:opacity .15s,border-color .15s,transform .15s;display:grid;position:fixed;box-shadow:0 6px 20px #00000040}.dq-calc-fab:hover{opacity:1;border-color:var(--accent-light)}.dq-calc-pill{right:calc(1rem + env(safe-area-inset-right));bottom:calc(1rem + env(safe-area-inset-bottom) + var(--dock-h,0px));z-index:1200;border:1px solid var(--surface-border);background:var(--card-bg);color:var(--foreground);border-radius:999px;align-items:center;gap:.15rem;padding:.2rem .35rem .2rem .25rem;animation:.16s ease-out popIn;display:inline-flex;position:fixed;box-shadow:0 10px 28px #00000047}.dq-calc-pill-restore{max-width:190px;min-height:36px;color:var(--foreground);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation;background:0 0;border:none;border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .55rem;font-size:.85rem;font-weight:700;display:inline-flex}.dq-calc-pill-restore:hover{background:var(--surface-hover)}.dq-calc-pill-val{text-overflow:ellipsis;white-space:nowrap;color:var(--accent-light);overflow:hidden}.dq-calc-pill-close{width:28px;height:28px;color:var(--muted);cursor:pointer;touch-action:manipulation;background:0 0;border:none;border-radius:50%;place-items:center;font-size:.85rem;display:grid}.dq-calc-pill-close:hover{background:var(--surface-hover);color:var(--foreground)}.dq-calc{right:calc(1rem + env(safe-area-inset-right));bottom:calc(1rem + env(safe-area-inset-bottom) + var(--dock-h,0px));z-index:1200;width:min(344px,100vw - 1.5rem);max-height:calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1px solid var(--surface-border);background:var(--card-bg);color:var(--foreground);translate:var(--calc-tx,0px) var(--calc-ty,0px);border-radius:18px;flex-direction:column;gap:.35rem;padding:.55rem;animation:.18s ease-out popIn;display:flex;position:fixed;overflow-y:auto;box-shadow:0 14px 40px #00000057}.dq-calc-spacer{height:560px}.dq-calc-head{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;align-items:center;gap:.4rem;padding:.05rem .05rem .1rem;display:flex}.dq-calc.is-dragging .dq-calc-head{cursor:grabbing}.dq-calc-grip{color:var(--muted);letter-spacing:.04em;align-items:center;gap:.25rem;padding-left:.15rem;font-size:.75rem;font-weight:700;display:inline-flex}.dq-calc-angle{background:var(--input-bg);border:1px solid var(--surface-border);border-radius:10px;flex:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:.2rem;padding:.2rem;display:inline-grid}.dq-calc-angle button{min-height:26px;color:var(--muted);font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:none;border-radius:7px;padding:0 .6rem;font-size:.78rem;font-weight:600}.dq-calc-angle button[aria-checked=true]{background:rgba(var(--accent-rgb), .28);color:var(--foreground)}.dq-calc-head-actions{align-items:center;gap:.15rem;margin-left:auto;display:inline-flex}.dq-calc-min,.dq-calc-close{width:30px;height:30px;color:var(--muted);cursor:pointer;touch-action:manipulation;background:0 0;border:none;border-radius:9px;place-items:center;font-size:.95rem;font-weight:700;display:grid}.dq-calc-min:hover,.dq-calc-close:hover{background:var(--surface-hover);color:var(--foreground)}.dq-calc-vars{align-items:center;gap:.25rem;display:flex}.dq-calc-vars button{border:1px solid var(--surface-border);background:var(--input-bg);min-height:27px;color:var(--foreground);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:8px;align-items:center;gap:.2rem;padding:0 .48rem;font-size:.75rem;font-weight:700;display:inline-flex}.dq-calc-vars button:hover{background:var(--surface-hover);border-color:var(--accent-light)}.dq-calc-vars button.is-sto[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.dq-calc-vars button.is-const[aria-expanded=true]{background:rgba(var(--accent-rgb), .22);border-color:var(--accent-light);color:var(--accent-light)}.dq-calc-vars button.is-var.has-val{border-color:rgba(var(--accent-rgb), .65);color:var(--accent-light)}.dq-calc-vars-note{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:.7rem;overflow:hidden}.dq-calc-consts{border:1px solid var(--surface-border);background:var(--input-bg);border-radius:10px;flex-wrap:wrap;gap:.25rem;padding:.35rem;display:flex}.dq-calc-consts button{border:1px solid var(--surface-border);background:var(--surface-glass);min-height:26px;color:var(--foreground);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:7px;align-items:baseline;gap:.25rem;padding:.1rem .45rem;font-size:.74rem;font-weight:600;display:inline-flex}.dq-calc-consts button small{color:var(--muted);font-size:.66rem;font-weight:500}.dq-calc-consts button:hover{background:var(--surface-hover);border-color:var(--accent-light)}.dq-calc-history{overscroll-behavior:contain;flex-direction:column;gap:.08rem;max-height:5.8rem;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.dq-calc-history li{justify-content:space-between;align-items:center;gap:.25rem;display:flex}.dq-calc-history button{color:var(--muted);font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.35rem;padding:.15rem .3rem;font-size:.76rem;display:flex}.dq-calc-history button:hover{background:var(--surface-hover)}.dq-calc-hist-expr{flex:0 auto;min-width:0}.dq-calc-history .dq-mf{flex:1;justify-content:flex-start;min-width:0;font-size:.78rem;overflow:hidden}.dq-calc-hist-edit{border:1px solid var(--surface-border);color:var(--accent-light);opacity:.75;border-radius:999px;flex-shrink:0;padding:0 .35rem;font-size:.66rem;line-height:1.4}.dq-calc-hist-expr:hover .dq-calc-hist-edit{opacity:1}.dq-calc-hist-value{white-space:nowrap;flex-shrink:0;font-weight:600;color:var(--foreground)!important}.dq-calc-input{border:1px solid var(--surface-border);background:var(--input-bg);cursor:text;border-radius:10px;min-height:3.1rem;padding:.5rem .65rem;font-size:1.12rem}.dq-calc-input:focus-visible{outline:2px solid var(--accent-light);outline-offset:1px}.dq-mf{font-variant-numeric:tabular-nums;white-space:nowrap;justify-content:flex-end;align-items:center;display:flex;overflow:auto hidden}.dq-mf-row{align-items:center;min-height:1.15em;display:inline-flex}.dq-mf-row.is-empty{border:1px dashed var(--muted);opacity:.75;border-radius:3px;min-width:.65em;min-height:.95em}.dq-mf-ch{white-space:pre;padding:0 .02em}.dq-mf-frac{flex-direction:column;align-items:stretch;margin:0 .15em;font-size:.9em;display:inline-flex}.dq-mf-num,.dq-mf-den{justify-content:center;padding:.05em .2em;display:flex}.dq-mf-num{border-bottom:1.5px solid}.dq-mf-frac.is-icon{margin:0;font-size:.72rem;line-height:1}.dq-mf-root{align-items:stretch;display:inline-flex}.dq-mf-radical{align-items:center;font-size:1.05em;display:flex}.dq-mf-radicand{border-top:1.5px solid;align-items:center;padding:.1em .1em 0;display:inline-flex}.dq-mf-sup{font-size:.7em;line-height:1;position:relative;top:-.55em}.dq-mf-caret{border-left:2px solid var(--accent-light);width:0;height:1.1em;margin:0 -1px;animation:1.1s step-end infinite dqBlink;display:inline-block}@keyframes dqBlink{50%{opacity:0}}.dq-mf-placeholder{color:var(--muted);margin-left:.4rem;font-size:.85rem}.dq-calc-result{align-items:center;gap:.35rem;min-height:1.85rem;display:flex}.dq-calc-mode-pill{border:1px solid var(--surface-border);background:var(--surface-glass);min-height:25px;color:var(--muted);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:999px;flex-shrink:0;padding:0 .5rem;font-size:.72rem;font-weight:700}.dq-calc-mode-pill:hover{border-color:var(--accent-light);color:var(--foreground)}.dq-calc-result-val{text-align:right;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:1.08rem;font-weight:700;overflow:hidden}.dq-calc-result-val button{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--accent-light);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;overflow:hidden}.dq-calc-result-val .is-bad{color:var(--muted)}.dq-calc-actions{flex-shrink:0;align-items:center;gap:.25rem;display:inline-flex}.dq-calc-act-btn{border:1px solid var(--surface-border);background:var(--surface-glass);min-height:25px;color:var(--foreground);font:inherit;cursor:pointer;touch-action:manipulation;white-space:nowrap;border-radius:8px;padding:0 .48rem;font-size:.72rem;font-weight:600}.dq-calc-act-btn:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent-light)}.dq-calc-act-btn:disabled{opacity:.4;cursor:default}.dq-calc-act-btn.is-insert{background:rgba(var(--accent-rgb), .16);border-color:rgba(var(--accent-rgb), .48);color:var(--accent-light)}.dq-calc-keys{grid-template-columns:repeat(6,minmax(0,1fr));gap:.26rem;display:grid}.dq-calc-keys button{border:1px solid var(--surface-border);background:var(--input-bg);min-height:33px;color:var(--foreground);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:9px;justify-content:center;align-items:center;padding:0 .15rem;font-size:.9rem;font-weight:600;display:inline-flex}.dq-calc-keys button:hover{background:var(--surface-hover)}.dq-calc-keys button.is-fn{color:var(--accent-light);font-size:.75rem}.dq-calc-keys button.is-op{background:var(--surface-glass)}.dq-calc-keys button.is-eq{background:var(--primary-bg);border-color:var(--primary-bg);color:var(--primary-fg)}.dq-calc-keys button.is-nav{background:var(--surface-glass);color:var(--muted)}.dq-calc-keys button.is-wide{grid-column:span 2}.dq-calc-keys button.is-tall{grid-row:span 2}.dq-calc-keys button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.lc-row.dq-calc-launch{border:1px solid color-mix(in srgb, var(--accent) 50%, var(--surface-border));background:color-mix(in srgb, var(--accent) 10%, transparent);margin-bottom:.25rem;padding:.65rem .75rem}.lc-row.dq-calc-launch:hover,.lc-row.dq-calc-launch:focus-visible{background:color-mix(in srgb, var(--accent) 18%, var(--surface-hover));border-color:var(--accent-light)}.dq-calc-launch-preview{color:var(--accent-light);font-variant-numeric:tabular-nums;font-weight:700}@media (max-width:420px){.dq-calc{width:calc(100vw - 1rem);padding:.45rem;right:.5rem}.dq-calc-keys button{min-height:31px;font-size:.85rem}.dq-calc-keys button.is-fn{font-size:.72rem}}@media (prefers-reduced-motion:reduce){.dq-calc,.dq-calc-pill,.dq-mf-caret{animation:none}}@media print{.dq-calc,.dq-calc-fab,.dq-calc-pill{display:none!important}}
.tk-footer-btn{color:var(--muted);font:inherit;opacity:.7;cursor:pointer;background:0 0;border:0;min-height:44px;padding:.5rem .75rem;font-size:.8rem}.tk-footer-btn:hover,.tk-footer-btn:focus-visible{opacity:1;text-decoration:underline}.tk-backdrop{z-index:1000;overscroll-behavior:contain;background:#00000080;justify-content:center;align-items:flex-end;height:100dvh;display:flex;position:fixed;top:0;left:0;right:0}.tk-sheet{background:var(--background);width:100%;max-width:560px;min-height:0;max-height:calc(100% - 8px);color:var(--foreground);border:1px solid var(--surface-border);text-align:left;border-radius:18px 18px 0 0;flex-direction:column;display:flex;overflow:hidden}@media (min-width:640px){.tk-backdrop{align-items:center}.tk-sheet{border-radius:18px;max-height:86%}}.tk-head{border-bottom:1px solid var(--surface-border);justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.tk-tabs{gap:.25rem;display:flex}.tk-tabs button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;min-height:40px;padding:.5rem .75rem;font-weight:600}.tk-tabs button.is-on{background:var(--card-bg);color:var(--foreground)}.tk-close{color:var(--muted);cursor:pointer;background:0 0;border:0;width:44px;height:44px;font-size:1.1rem}.tk-head{flex:none}.tk-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;gap:.8rem;min-height:0;padding:.9rem;display:flex;overflow-y:auto}.tk-form{flex-direction:column;flex:auto;min-height:0;display:flex}.tk-foot{padding:.6rem .9rem max(env(safe-area-inset-bottom), 12px);border-top:1px solid var(--surface-border);background:var(--background);flex:none;display:flex}.tk-foot .tk-btn{flex:1}.tk-sheet>.tk-body{padding-bottom:max(env(safe-area-inset-bottom), 12px)}.tk-kinds{flex-wrap:wrap;gap:.4rem;display:flex}.tk-kinds button{background:var(--card-bg);color:var(--foreground);border:1px solid var(--surface-border);font:inherit;cursor:pointer;border-radius:999px;min-height:40px;padding:.45rem .85rem;font-size:.9rem}.tk-kinds button.is-on{border-color:var(--primary-bg);background:var(--primary-bg);color:var(--primary-fg);font-weight:700}.tk-text{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--surface-border);background:var(--input-bg);color:var(--foreground);resize:none;field-sizing:content;border-radius:12px;min-height:6rem;max-height:36vh;padding:.7rem;font-size:16px}.tk-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tk-btn{font:inherit;border:1px solid var(--surface-border);background:var(--card-bg);min-height:44px;color:var(--foreground);cursor:pointer;border-radius:12px;padding:.6rem 1rem;font-weight:600}.tk-btn-quiet{background:0 0}.tk-btn-primary{background:var(--primary-bg);border-color:var(--primary-bg);color:var(--primary-fg)}.tk-btn:disabled{opacity:.55;cursor:default}.tk-file{color:var(--muted);align-items:center;gap:.3rem;font-size:.85rem;display:inline-flex}.tk-file button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:.4rem}.tk-included{color:var(--muted);margin:0;font-size:.82rem}.tk-link{color:var(--accent-light);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.tk-details{background:var(--card-bg);border:1px solid var(--surface-border);border-radius:12px;gap:.45rem;margin:0;padding:.7rem;font-size:.8rem;display:grid}.tk-details dt{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;font-weight:700}.tk-details dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.tk-error{color:var(--danger);margin:0;font-size:.9rem}.tk-ok{color:var(--success-light);margin:0}.tk-muted{color:var(--muted);margin:0;font-size:.85rem}.tk-ticket{border:1px solid var(--surface-border);background:var(--card-bg);border-radius:12px;gap:.4rem;padding:.75rem;display:grid}.tk-ticket-top{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tk-msg{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.tk-status{border:1px solid var(--surface-border);border-radius:999px;padding:.15rem .6rem;font-size:.75rem;font-weight:700}.tk-status.is-open{color:var(--warning);border-color:var(--warning)}.tk-status.is-in_progress{color:var(--info);border-color:var(--info)}.tk-status.is-done{color:var(--success-light);border-color:var(--success)}.tk-reply{border-left:3px solid var(--accent-light);padding-left:.7rem}.tk-reply p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.2rem 0 0}.tk-reply.is-you{border-left-color:var(--muted)}.tk-follow{gap:.5rem;display:grid}.tk-file-thumb{object-fit:cover;border:1px solid var(--surface-border);border-radius:6px;width:2.4rem;height:2.4rem}.tk-hint{color:var(--muted);margin:0;font-size:.8rem}.rd-feedback,.nt-feedback{justify-content:center;width:100%;margin-top:.9rem}.tk-links{flex-wrap:wrap;gap:.35rem;display:flex}.tk-linkchip{font:inherit;color:var(--foreground);border:1px solid var(--surface-border);text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border-radius:999px;max-width:100%;min-height:36px;padding:.3rem .7rem;font-size:.8rem}.tk-linkchip span{color:var(--muted);font-weight:700}.tk-tl{border-left:2px solid var(--surface-border);gap:.6rem;margin:0;padding:0 0 0 .85rem;list-style:none;display:grid}.tk-ev{min-width:0;font-size:.85rem;position:relative}.tk-ev:before{content:"";background:var(--accent-light);border-radius:50%;width:10px;height:10px;position:absolute;top:.3rem;left:calc(-.85rem - 6px)}.tk-ev.is-you:before{background:var(--muted)}.tk-ev.is-commit:before{background:var(--success)}.tk-ev-head{flex-wrap:wrap;align-items:baseline;gap:.1rem .5rem;display:flex}.tk-ev-head time{color:var(--muted);font-size:.75rem}.tk-ev p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.2rem 0 0}
:root,[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#2b303b;--foreground:#eceff4;--muted:#a3adbf;--accent:#5e81ac;--accent-rgb:94, 129, 172;--accent-light:#88c0d0;--accent-gradient:var(--accent);--primary-bg:#88c0d0;--primary-bg-hover:#9fcfdc;--primary-fg:#1d2a33;--surface-glass:#323845;--surface-border:#434c5e;--surface-hover:#3a4150;--nav-bg:#2b303b;--input-bg:#262b35;--card-bg:#2f3542;--danger:#e0707a;--danger-rgb:224, 112, 122;--success:#a3be8c;--success-rgb:163, 190, 140;--success-light:#b8cfa4;--warning:#e09c85;--info:#81a1c1;--font-sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";--habit-1:#3987e5;--habit-2:#d95926;--habit-3:#199e70;--habit-4:#c98500;--habit-5:#d55181;--habit-6:#008300;--habit-7:#9085e9;--habit-8:#e66767}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#eceff4;--foreground:#2e3440;--muted:#5c667a;--accent:#4c6f99;--accent-rgb:76, 111, 153;--accent-light:#3e5f88;--accent-gradient:var(--accent);--primary-bg:#4c6f99;--primary-bg-hover:#42628a;--primary-fg:#fff;--surface-glass:#fff;--surface-border:#d8dee9;--surface-hover:#f4f6f9;--nav-bg:#eceff4;--input-bg:#eef2f6;--card-bg:#f6f8fb;--danger:#b23a46;--danger-rgb:178, 58, 70;--success:#4a7a3a;--success-rgb:74, 122, 58;--success-light:#3f6b30;--warning:#b0562c;--info:#3b6ea5;--habit-1:#2a78d6;--habit-2:#eb6834;--habit-3:#1baf7a;--habit-4:#eda100;--habit-5:#e87ba4;--habit-6:#008300;--habit-7:#6250d6;--habit-8:#e34948}*{box-sizing:border-box;margin:0;padding:0}html{transition:background-color .3s,color .3s}body{background-color:var(--background);color:var(--foreground);font-family:var(--font-sans);min-height:100vh;line-height:1.6;transition:background-color .3s;overflow-x:hidden}h1,h2,h3,h4,h5,h6{letter-spacing:-.02em;font-weight:600;line-height:1.2}h1{color:var(--foreground);font-size:clamp(2rem,5vw,3rem)}h2{margin-bottom:1rem;font-size:clamp(1.4rem,3vw,2rem)}p{color:var(--foreground);margin-bottom:1rem}a{color:inherit;text-decoration:none;transition:color .2s}a:hover{color:var(--accent-light)}.glass-panel{background:var(--surface-glass);border:1px solid var(--surface-border);border-radius:12px;padding:2rem;transition:border-color .2s}.glass-nav{z-index:100;background:var(--nav-bg);border-bottom:1px solid var(--surface-border);align-items:center;gap:.6rem;padding:.6rem 1.5rem;transition:background .3s;display:flex;position:sticky;top:0}.nav-logo{color:var(--foreground);white-space:nowrap;flex-shrink:0;font-size:1.05rem;font-weight:700}.nav-pins{flex-wrap:nowrap;flex:1;align-items:center;gap:.2rem;min-width:0;margin-left:.6rem;display:flex}.nav-pins-list{flex-wrap:nowrap;align-items:center;gap:.2rem;min-width:0;display:flex;overflow:hidden}.nav-link{color:var(--foreground);white-space:nowrap;border-radius:8px;flex-shrink:0;padding:.3rem .65rem;font-size:.93rem;transition:background .15s,color .15s}.nav-link:hover{background:var(--surface-hover);color:var(--foreground)}.nav-link[aria-current=page],.nav-pins-more.is-current{color:var(--accent-light);background:rgba(var(--accent-rgb), .16);font-weight:600}.nav-pins-more{cursor:pointer;color:var(--muted);background:0 0;border:none;font-family:inherit;font-weight:600}.nav-search,.nav-all,.nav-theme{border:1px solid var(--surface-border);background:var(--surface-glass);height:2.15rem;color:var(--foreground);cursor:pointer;border-radius:9px;flex-shrink:0;align-items:center;gap:.45rem;padding:0 .65rem;font-size:.88rem;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.nav-search:hover,.nav-all:hover,.nav-theme:hover{background:var(--surface-hover);border-color:var(--accent-light)}.nav-search-text{color:var(--muted);white-space:nowrap}.nav-search kbd{border:1px solid var(--surface-border);font:inherit;color:var(--muted);border-radius:4px;padding:0 .35rem;font-size:.72rem}.nav-all{font-weight:600}.nav-theme-moon,[data-theme=light] .nav-theme-sun{display:none}[data-theme=light] .nav-theme-moon{display:inline}@media (max-width:1180px){.nav-search-text,.nav-search kbd{display:none}}.nav-group{position:relative}.nav-menu{z-index:120;min-width:190px;padding-top:.6rem;position:absolute;top:100%;left:-.75rem}.nav-menu.is-right{left:auto;right:0}.nav-menu-panel{background:var(--background);border:1px solid var(--surface-border);border-radius:12px;padding:.3rem 0;box-shadow:0 10px 30px #00000040}.nav-menu-panel>a,.nav-menu-panel>button{width:100%;color:var(--foreground);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:0;align-items:center;gap:.6rem;padding:.55rem .9rem;font-size:.95rem;text-decoration:none;display:flex}.nav-menu-panel>a:hover,.nav-menu-panel>button:hover{background:var(--surface-hover)}.nav-menu-panel>a[aria-current=page]{color:var(--accent-light);font-weight:600}.nav-menu-note{color:var(--muted);border-bottom:1px solid var(--surface-border);margin:0 0 .3rem;padding:.3rem .9rem .6rem;font-size:.85rem}.nav-account{background:var(--surface-glass);border:1px solid var(--surface-border);color:var(--foreground);font:inherit;cursor:pointer;border-radius:999px;flex-shrink:0;align-items:center;gap:.45rem;padding:.35rem .55rem;font-size:.9rem;line-height:1;display:inline-flex}.nav-account:hover{background:var(--surface-hover)}.nav-account.is-signed-in{padding:.25rem .75rem .25rem .25rem}.nav-avatar{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:1.6rem;height:1.6rem;font-size:.85rem;font-weight:700;display:inline-grid}.nav-account-name{text-overflow:ellipsis;white-space:nowrap;max-width:9rem;overflow:hidden}.section-bar{scrollbar-width:none;border-bottom:1px solid var(--surface-border);background:color-mix(in srgb, var(--surface-glass) 55%, var(--background));gap:.3rem;padding:.45rem 1.5rem;display:flex;overflow-x:auto}.section-bar::-webkit-scrollbar{display:none}.section-bar a{color:var(--muted);white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:.35rem;padding:.28rem .7rem;font-size:.86rem;font-weight:500;display:inline-flex}.section-bar a:hover{color:var(--foreground);background:var(--surface-hover)}.section-bar a[aria-current=page]{color:var(--primary-fg);background:var(--primary-bg);font-weight:600}@media (min-width:1100px){.section-bar{justify-content:safe center}}.site-dock{display:none}.nav-discovery{left:50%;bottom:calc(1.25rem + var(--dock-h,0px));z-index:300;border:1px solid color-mix(in srgb, var(--habit-7) 50%, var(--surface-border));background:var(--background);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;border-radius:999px;max-width:calc(100vw - 2rem);padding:.5rem .95rem;font-size:.84rem;font-weight:600;animation:.35s cubic-bezier(.3,1.5,.6,1) navDiscovery;position:fixed;overflow:hidden;transform:translate(-50%);box-shadow:0 10px 28px #00000059}@keyframes navDiscovery{0%{opacity:0;transform:translate(-50%,12px)scale(.94)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.nav-discovery{animation:none}}@media print{.nav-discovery{display:none}.site-dock,.section-bar{display:none!important}}.signin-backdrop{z-index:200;background:#0000008c;justify-content:center;align-items:flex-start;padding:12vh 1rem 1rem;display:flex;position:fixed;inset:0}.signin-card{background:var(--background);border:1px solid var(--surface-border);border-radius:16px;flex-direction:column;gap:.75rem;width:100%;max-width:380px;padding:1.5rem;display:flex}.signin-card h2{margin:0;font-size:1.35rem}.signin-sub,.signin-foot{color:var(--muted);margin:0;font-size:.85rem;line-height:1.45}.signin-foot{text-align:center}.signin-error{color:var(--danger);margin:0;font-size:.85rem}.signin-card .btn{width:100%}input,textarea,button,select{font-family:inherit;font-size:1rem}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{background:var(--input-bg);border:1px solid var(--surface-border);width:100%;color:var(--foreground);border-radius:8px;outline:none;padding:.75rem 1rem;transition:border-color .2s,box-shadow .2s}select:not([multiple]):not([size]){appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3adbf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right .6rem center!important;background-repeat:no-repeat!important;background-size:.7rem!important;padding-right:1.8rem!important}[data-theme=light] select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235c667a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}[data-theme=light] .party-root select:not([multiple]):not([size]),[data-theme=light] [data-rd-theme=night] select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3adbf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}select option{background-color:var(--background);color:var(--foreground)}:where(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--accent);cursor:pointer}:where(input[type=checkbox],input[type=radio]){flex-shrink:0;width:1.1rem;height:1.1rem}input.switch{appearance:none;border:1px solid var(--surface-border);background:var(--surface-border);cursor:pointer;border-radius:999px;flex-shrink:0;width:42px;height:24px;margin:0;padding:0;transition:background-color .2s,border-color .2s;position:relative}input.switch:after{content:"";background:var(--muted);border-radius:50%;width:18px;height:18px;transition:transform .2s,background-color .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}input.switch:checked{background:var(--accent);border-color:var(--accent)}input.switch:checked:after{background:#fff;transform:translate(18px)}input.switch:focus{border-color:var(--surface-border);box-shadow:none}input.switch:checked:focus{border-color:var(--accent)}input.switch:focus-visible{outline:2px solid var(--accent-light);outline-offset:2px}input.switch:disabled{opacity:.5;cursor:default}input:focus,textarea:focus,select:focus{border-color:var(--accent-light);box-shadow:0 0 0 2px rgba(var(--accent-rgb), .3)}.btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-primary{background:var(--primary-bg);color:var(--primary-fg)}.btn-primary:hover{background:var(--primary-bg-hover);color:var(--primary-fg)}.btn-primary:disabled{opacity:.55;cursor:default}.btn-secondary{background:var(--surface-glass);color:var(--foreground);border:1px solid var(--surface-border)}.btn-secondary:hover{background:var(--surface-hover)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes popIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.animate-fade-in{animation:.5s cubic-bezier(.16,1,.3,1) backwards fadeIn}.site-popup-backdrop{z-index:2000;-webkit-backdrop-filter:blur(4px);background:#0000008c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.site-popup-card{background:linear-gradient(var(--surface-glass), var(--surface-glass)), var(--background);border:1px solid var(--surface-border);border-radius:16px;width:min(520px,96vw);padding:1.5rem;box-shadow:0 20px 45px #00000059}.site-popup-card h3{color:var(--foreground);margin:0 0 .8rem;font-size:1.1rem}.site-popup-card p{color:var(--muted);margin:0 0 1.2rem;line-height:1.5}.site-popup-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.site-popup-danger{color:#fff;cursor:pointer;background:#b23a46;border:none;border-radius:8px;padding:.75rem 1.25rem;font-weight:600}.site-popup-danger:hover{filter:brightness(1.07)}.container{max-width:1200px;margin:0 auto;padding:2rem}.grid{gap:2rem;display:grid}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}main{min-height:calc(100vh - 120px)}.markdown-body h1,.markdown-body h2,.markdown-body h3{color:var(--foreground);-webkit-text-fill-color:var(--foreground);margin:1.5rem 0 .75rem}.markdown-body p{color:var(--foreground)}.markdown-body code{background:var(--card-bg);border-radius:4px;padding:.15rem .4rem;font-size:.9em}.markdown-body pre{background:var(--card-bg);border-radius:8px;padding:1rem;overflow-x:auto}.markdown-body ul,.markdown-body ol{color:var(--foreground);padding-left:1.5rem}@media (max-width:600px){.blog-row-img{flex:100%!important;width:100%!important;height:170px!important}}.glass-panel.post-body{overflow-wrap:break-word;padding:clamp(1.1rem,5vw,2.5rem);line-height:1.8}.post-body img{border-radius:10px;max-width:100%;height:auto}.post-figure{text-align:center;margin:1.25rem 0;display:block}.post-figure img{margin:0 auto;display:block}.post-caption{color:var(--muted);margin-top:.45rem;font-size:.85rem;line-height:1.5;display:block}.post-body pre,.post-body table{max-width:100%;overflow-x:auto}.markdown-body blockquote{border-left:3px solid var(--accent);opacity:.8;padding-left:1rem}.markdown-body a{color:var(--accent-light)}@media (max-width:768px){.nav-pins{margin:0}.nav-pins>*,:is(body:has(.site-dock) .nav-all,body:has(.site-dock) .nav-theme),.nav-account-name{display:none}.nav-account.is-signed-in{padding:.25rem}.glass-nav{padding:.55rem 1rem}.section-bar{padding:.4rem 1rem}body:has(.site-dock){--dock-h:calc(58px + env(safe-area-inset-bottom));padding-bottom:var(--dock-h)}body.arcade-playing{--dock-h:0px!important;padding-bottom:0!important}body.arcade-playing .site-dock{display:none!important}.site-dock{z-index:90;padding:.3rem .4rem calc(.3rem + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--nav-bg) 94%, transparent);border-top:1px solid var(--surface-border);-webkit-backdrop-filter:blur(10px);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:.15rem;display:grid;position:fixed;bottom:0;left:0;right:0}.site-dock a,.site-dock button{min-width:0;height:2.9rem;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:.12rem;padding:.1rem;font-size:.66rem;font-weight:600;display:flex}.site-dock a>span:first-child,.site-dock button>span:first-child{filter:grayscale(.6);opacity:.85;font-size:1.15rem;line-height:1}.site-dock a>span:last-child,.site-dock button>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.site-dock a[aria-current=page]{color:var(--foreground);background:rgba(var(--accent-rgb), .16)}.site-dock a[aria-current=page]>span:first-child{filter:none;opacity:1}.container{padding:1rem}.glass-panel{padding:1.25rem}.grid{gap:1rem}h2{font-size:1.4rem}.btn{padding:.6rem 1.1rem;font-size:.9rem}div[style*="max-height: 600px"]{max-height:250px!important}.grid[style*=minmax\(280px]{grid-template-columns:1fr 1fr!important}.blog-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width:700px){.section-bar.is-wide-only{display:none}}@media (max-width:420px){.glass-nav{gap:.4rem;padding:.55rem .75rem}}@media (max-width:600px){.blog-tiles{grid-template-columns:minmax(0,1fr)!important}}@media (max-width:480px){h1{font-size:1.75rem}.grid[style*=minmax\(280px],.grid[style*=minmax\(300px]{grid-template-columns:1fr!important}}@media (hover:hover) and (pointer:fine){.snake-dpad{display:none!important}}@media (max-width:640px){.library-grid{grid-template-columns:minmax(0,1fr)!important;gap:1rem!important}}@media (min-width:641px) and (max-width:960px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.progress{background:var(--input-bg);border:1px solid var(--surface-border);border-radius:999px;height:8px;position:relative;overflow:hidden}.progress>div{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--accent-light));height:100%;transition:width .4s}.progress.is-indeterminate>div{width:35%;animation:1.2s ease-in-out infinite progressSlide;position:absolute}@keyframes progressSlide{0%{left:-35%}to{left:100%}}@media (prefers-reduced-motion:reduce){.progress.is-indeterminate>div{animation-duration:3s}}.progress-label{justify-content:space-between;gap:.75rem;margin-bottom:.4rem;font-size:.85rem;display:flex}.progress-label span:last-child{color:var(--muted);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.home-screen-steps{flex-direction:column;gap:.45rem;margin:0;padding-left:1.3rem;line-height:1.45;display:flex}.home-screen-card{max-height:calc(100dvh - 2rem);overflow-y:auto}.signin-backdrop:has(.home-screen-card){padding-top:max(1rem,4vh)}.hs-picker{flex-direction:column;gap:.45rem;display:flex}.hs-preview{align-items:center;gap:.8rem;display:flex}.hs-preview img{border-radius:16px;flex-shrink:0;box-shadow:0 2px 8px #0000004d}.hs-preview div{flex-direction:column;gap:.1rem;min-width:0;display:flex}.hs-preview span{color:var(--muted);font-size:.82rem}.hs-reset{color:var(--accent-light);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:.82rem;text-decoration:underline}.hs-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:.35rem 0 0;font-size:.72rem;font-weight:700}.hs-colors{grid-template-columns:repeat(6,minmax(0,1fr));gap:.4rem;display:grid}.hs-colors button{aspect-ratio:1;cursor:pointer;border:2px solid #0000;border-radius:50%;min-height:36px}.hs-symbols{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:.35rem;display:grid}.hs-symbols button{aspect-ratio:1;cursor:pointer;border:2px solid #0000;border-radius:10px;place-items:center;min-height:44px;padding:0;display:grid}.hs-colors button[aria-pressed=true],.hs-symbols button[aria-pressed=true]{border-color:var(--foreground);box-shadow:0 0 0 2px var(--background) inset}.hs-colors button:disabled,.hs-symbols button:disabled{cursor:wait}html body .lc-backdrop .lc-panel .rm-room>header.rm-head{display:flex!important}
