.app-theme-toggle{flex-direction:column;gap:.45rem;padding:.15rem .65rem;display:flex}.app-theme-toggle__label{color:var(--text-subtle);letter-spacing:.08em;text-transform:uppercase;font-size:.65rem;font-weight:600}.app-theme-toggle__button{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);cursor:pointer;box-sizing:border-box;border-radius:10px;align-items:center;gap:.55rem;margin:0;padding:.55rem .6rem;font-size:.875rem;font-weight:600;display:flex}.app-theme-toggle__button:hover{background:var(--surface-hover);border-color:var(--border-strong)}.app-theme-toggle__button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.app-theme-toggle__switch{background:var(--border-strong);border-radius:999px;flex-shrink:0;width:2.35rem;height:1.3rem;margin-left:auto;transition:background .15s;position:relative}.app-theme-toggle__switch.is-on{background:var(--primary)}.app-theme-toggle__knob{background:var(--surface);width:1rem;height:1rem;box-shadow:0 1px 2px color-mix(in srgb, var(--text) 18%, transparent);border-radius:999px;transition:transform .15s;position:absolute;top:2px;left:2px}.app-theme-toggle__switch.is-on .app-theme-toggle__knob{transform:translate(1.05rem)}.app-theme-toggle__hint{color:var(--text-subtle);margin:0;padding:0 .15rem;font-size:.7rem;line-height:1.3}.app-sidebar{z-index:20;flex:0 0 var(--sidebar-width);width:var(--sidebar-width);border-right:1px solid var(--border-muted);background:var(--sidebar);box-sizing:border-box;align-self:flex-start;height:100svh;max-height:100svh;margin:0;padding:0;position:sticky;top:0;overflow:hidden}.app-sidebar__inner{box-sizing:border-box;flex-direction:column;height:100%;min-height:0;padding:1.5rem .75rem 1.25rem;display:flex;overflow:hidden}.app-sidebar__brand{flex-direction:column;gap:.15rem;margin-bottom:.35rem;padding:0 .65rem 1.25rem;display:flex}.app-sidebar__brand-link{color:var(--text);letter-spacing:-.01em;font-size:1rem;font-weight:650;line-height:1.25;text-decoration:none}.app-sidebar__brand-link:hover{color:var(--primary)}.app-sidebar__brand-sub{color:var(--text-subtle);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:500}.app-sidebar__nav{flex-direction:column;flex:1;gap:1.35rem;min-height:0;display:flex;overflow:auto}.app-sidebar__footer{border-top:1px solid var(--border-muted);flex-direction:column;flex-shrink:0;gap:.15rem;margin-top:auto;padding-top:.85rem;display:flex}.app-sidebar__version{color:var(--text-subtle);font-variant-numeric:tabular-nums;letter-spacing:.02em;text-align:center;word-break:break-all;margin:0;padding:0 .65rem .35rem;font-size:.65rem;line-height:1.35}.app-sidebar__group{flex-direction:column;gap:.1rem;display:flex}.app-sidebar__group-label{color:var(--text-subtle);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .4rem;padding:0 .65rem;font-size:.65rem;font-weight:600}.app-sidebar__link,.app-sidebar__link:visited{color:var(--text-muted);border-radius:8px;padding:.55rem .65rem;font-size:.9rem;font-weight:500;line-height:1.3;text-decoration:none;transition:background .12s,color .12s;display:block}.app-sidebar__tree-link{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.app-sidebar__link:hover{color:var(--text);background:var(--surface-hover)}.app-sidebar__link.active{color:var(--text);background:var(--surface-active);font-weight:600}.app-sidebar__tree-link.is-current-plan{color:var(--text)}.app-sidebar__tree-link.is-current-plan:not(.active){background:color-mix(in srgb, var(--primary) 10%, transparent)}.app-sidebar__backdrop{display:none}@media (width<=1023px){.app-sidebar{z-index:50;width:min(16.5rem,86vw);height:100svh;max-height:100svh;box-shadow:none;flex:none;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.app-sidebar__footer{padding-bottom:max(.25rem, env(safe-area-inset-bottom,0px))}.app-sidebar.is-open{box-shadow:8px 0 28px var(--overlay);transform:translate(0)}.app-sidebar__backdrop{z-index:45;background:var(--overlay);cursor:pointer;border:0;display:block;position:fixed;inset:0}}@media (width>=1024px){html[data-sidebar-open=false]{--sidebar-width:0px}html[data-sidebar-open=false] .app-sidebar{pointer-events:none;opacity:0;border-right:none;flex:0 0 0;width:0;min-width:0;overflow:hidden}}
