:root{--lh-safe-bottom:env(safe-area-inset-bottom)}.lh-mobile-backdrop,[data-testid=practice-problem-header]{display:none}.lh-connection-notice{z-index:90;top:max(12px, env(safe-area-inset-top));border:1px solid var(--border);background:var(--card);max-width:440px;color:var(--foreground);font:14px/1.5 var(--font-prose);border-radius:12px;margin:auto;padding:12px 16px;position:fixed;left:12px;right:12px;box-shadow:0 8px 30px #0006}.lh-connection-link{color:var(--foreground);text-underline-offset:3px;white-space:nowrap;text-decoration:underline}.lh-update-notice{top:auto;bottom:max(12px, var(--lh-safe-bottom));flex-wrap:wrap;align-items:center;gap:16px;display:flex}.lh-update-notice>span{flex:auto}.lh-update-notice>button{min-height:32px}@media (max-width:767px),(pointer:coarse) and (max-width:1023px){:root{--lh-screen-height:100dvh}html,body{overscroll-behavior:none;width:100%;height:100%;overflow:hidden}html{-webkit-text-size-adjust:100%}.lh-app-frame{left:0;right:0;top:var(--lh-viewport-top,0px);height:var(--lh-viewport-height,var(--lh-screen-height));padding:env(safe-area-inset-top) env(safe-area-inset-right) var(--lh-safe-bottom) env(safe-area-inset-left);position:fixed;overflow:hidden}.lh-app-frame .h-dvh{height:100%}.lh-app-frame>main{height:100%;overflow:hidden}.lh-sidebar{z-index:45;left:env(safe-area-inset-left);top:env(safe-area-inset-top);bottom:var(--lh-safe-bottom);background:var(--background);max-width:calc(100% - 48px);position:absolute}.lh-sidebar>div{width:100%}.lh-sidebar[aria-hidden=true]{visibility:hidden}.lh-mobile-backdrop{z-index:44;background:#0009;border:0;width:100%;height:100%;display:block;position:absolute;inset:0}button,[role=button],input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:44px}button[aria-label],a[aria-label],button[data-slot=button]{min-width:44px}button[role=switch]{width:44px;min-width:0;height:26px;min-height:0}button[role=switch]:after{content:"";position:absolute;inset:-10px -2px}button[role=switch]>span{width:20px;height:20px;top:2px;translate:2px}button[role=switch][aria-checked=true]>span{translate:20px}[data-testid=scratchpad-problem-toggle]{min-height:0}[data-testid=practice-problem-header]{display:flex}[data-testid=practice-dock-statement]{display:none}button,a,input,textarea,select,[data-file-path-input]{touch-action:manipulation}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select,[data-file-path-input]{font-size:16px!important}textarea,[data-file-path-input]{min-width:0;line-height:1.5}.lh-input{min-height:48px;max-height:min(192px,30dvh)}.lh-closed-toggle{width:44px;height:44px}.lh-wco-gutter{flex-shrink:0;gap:8px;height:auto;min-height:56px;padding-inline:12px}.lh-wco-gutter .font-title{font-size:22px}.lh-prose{overflow-wrap:anywhere}.lh-prose pre,.lh-prose table,.katex-display{max-width:100%;overflow-x:auto}[data-testid=settings-dialog],[data-testid=setup-dialog]{width:calc(100% - 16px);max-width:640px;max-height:calc(var(--lh-viewport-height,var(--lh-screen-height)) - env(safe-area-inset-top) - var(--lh-safe-bottom) - 16px);border-radius:16px}[data-testid=settings-backdrop],[data-testid=setup-backdrop]{top:var(--lh-viewport-top,0px);height:var(--lh-viewport-height,var(--lh-screen-height));padding-top:env(safe-area-inset-top);padding-bottom:var(--lh-safe-bottom);bottom:auto}[data-testid=settings-dialog]{height:100%}[data-testid=settings-dialog]>div{flex-direction:column}[data-testid=settings-nav]{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;gap:4px;width:100%;padding:8px;overflow-x:auto}[data-testid=settings-nav]>button{white-space:nowrap;flex-shrink:0}[data-testid=settings-content]{overscroll-behavior:contain;min-height:0}[data-testid=settings-content]>div>section{padding:16px}[data-testid=setup-dialog]>header{padding-inline:16px}[data-testid=setup-dialog]>header h2{font-size:22px}[data-testid=setup-dialog]>div{min-height:0;padding-inline:16px;overflow-y:auto}[data-testid=setup-stage-keys]{padding:0}[data-testid=setup-stage-pickers] [class*=min-w-40]{min-width:0}[data-lh-menu]{overscroll-behavior:contain;max-width:calc(100vw - 16px)}[data-testid=stats-bar]{flex-wrap:wrap;gap:4px 8px;padding-inline:2px}[data-testid=stats-bar]>[data-testid=model-control]{flex-basis:100%}[data-testid=stats-dictation]{flex-basis:190px}[data-testid=home-mode-switch]{max-width:100%}[data-testid=home-mode-switch]>button{padding-inline:10px}[data-dock-viewport]{max-height:min(70dvh, calc(var(--lh-viewport-height,var(--lh-screen-height)) - 100px));overflow-y:auto}.lh-home-dock{padding-bottom:8px}.lh-graph-actions{flex-wrap:wrap;justify-content:flex-end}.lh-graph-actions input{min-width:0}[data-testid=graph-chrome-search]{width:min(224px,100%)}}@media (display-mode:standalone){html{min-height:min(100lvh, calc(100% + env(safe-area-inset-top)))}:root{--lh-safe-bottom:max(0px, calc(env(safe-area-inset-bottom) - (100lvh - 100dvh)))}}:root.lh-standalone{min-height:min(100lvh, calc(100% + env(safe-area-inset-top)));--lh-safe-bottom:max(0px, calc(env(safe-area-inset-bottom) - (100lvh - 100dvh)))}:root.lh-keyboard-open .lh-app-frame{padding-bottom:0}@media (pointer:coarse){.lh-keyboard-hint{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
