.quarry-window-titlebar,.quarry-window-caption{display:none}@media(display-mode:window-controls-overlay){:root{--quarry-titlebar-left: env(titlebar-area-x, 0px);--quarry-titlebar-top: env(titlebar-area-y, 0px);--quarry-titlebar-width: env(titlebar-area-width, 100vw);--quarry-titlebar-height: env(titlebar-area-height, 32px);--quarry-titlebar-bottom: calc(var(--quarry-titlebar-top) + var(--quarry-titlebar-height));--quarry-sticky-top-inset: var(--quarry-titlebar-bottom);--quarry-titlebar-right: max(0px, calc(100vw - var(--quarry-titlebar-left) - var(--quarry-titlebar-width)));--quarry-toolbar-control-height: clamp(1.625rem, calc(var(--quarry-titlebar-height) - .375rem), 2rem);--quarry-toolbar-background: var(--color-background, #fff);--quarry-toolbar-inset: clamp(.875rem, 2vw, 2rem)}body:not(:has(.quarry-window-toolbar:not([inert],[inert] *))) #app{padding-top:var(--quarry-titlebar-bottom)}body:not(:has(.quarry-window-toolbar:not([inert],[inert] *))) .quarry-window-titlebar{position:fixed;z-index:10001;inset:0 0 auto;display:grid;place-items:center;height:var(--quarry-titlebar-bottom);padding:var(--quarry-titlebar-top) var(--quarry-titlebar-right) 0 var(--quarry-titlebar-left);background:var(--quarry-toolbar-background);color:var(--color-text, #1a1a1a);font:600 var(--text-xs, .75rem) / 1.2 var(--font-ui, system-ui)}.quarry-window-toolbar>.shell{--shell-header-height: var(--writer-header-height)}#app .quarry-window-toolbar>.shell>.shell-brand{position:sticky;top:0;width:100%;height:var(--quarry-titlebar-bottom);align-items:stretch;margin:0;padding:var(--quarry-titlebar-top) calc(var(--quarry-titlebar-right) + var(--quarry-toolbar-inset)) 0 calc(var(--quarry-titlebar-left) + var(--quarry-toolbar-inset));gap:.75rem;background:var(--quarry-toolbar-background);container:quarry-toolbar / inline-size}#app .quarry-window-toolbar>.shell--full-bleed>.shell-brand{position:absolute}#app .quarry-window-toolbar .floating-view-dock{display:none}#app .practice-shell--distraction-free>.shell>.shell-brand{height:0;margin:0;padding:0}#app .quarry-window-toolbar .writer-workspace-shell__sidebar{--writer-sidebar-scroll-offset: 0px;height:calc(100dvh - var(--quarry-titlebar-bottom) - .75rem);margin-top:.25rem;top:calc(var(--quarry-titlebar-bottom) + .25rem)}#app .quarry-window-toolbar .shell-brand__left{flex:1 1 0;gap:clamp(.625rem,1.6cqi,1.5rem)}#app .quarry-window-toolbar .shell-brand__right,#app .quarry-window-toolbar .wordmark{flex:none}#app .quarry-window-toolbar .wordmark{min-width:var(--quarry-toolbar-control-height);min-height:var(--quarry-toolbar-control-height);justify-content:center}#app .quarry-window-toolbar .wordmark-image{height:min(25px,var(--quarry-toolbar-control-height));translate:0 2px}#app .quarry-window-toolbar :is(.writer-project-browser-button,.world-mode-switch__trigger){position:relative;isolation:isolate;border:0;border-radius:9px;background:transparent;box-shadow:none}#app .quarry-window-toolbar :is(.writer-project-browser-button,.world-mode-switch__trigger):before{content:"";position:absolute;inset:.25rem .125rem;z-index:-1;border:1px solid var(--color-border);border-radius:inherit;background:var(--color-surface);pointer-events:none}#app .quarry-window-toolbar .writer-project-browser-button{width:2.25rem;height:var(--quarry-toolbar-control-height)}#app .quarry-window-toolbar .writer-project-browser-button.is-active:before{background:var(--writer-nav-active-surface)}#app .quarry-window-toolbar .world-mode-switch__trigger{min-height:var(--quarry-toolbar-control-height);padding-inline:.8125rem}#app .quarry-window-toolbar .world-mode-switch__trigger>.lucide-pencil-line{translate:0 -1px}#app .quarry-window-toolbar .world-mode-switch__trigger>span{translate:0 -.5px}#app .quarry-window-toolbar :is(.writer-project-browser-button,.world-mode-switch__trigger):hover:before{border-color:color-mix(in srgb,var(--color-accent) 35%,var(--color-border))}#app .quarry-window-toolbar .world-mode-switch__trigger[aria-expanded=true]:before{border-color:var(--color-accent)}#app .quarry-window-toolbar :is(.writer-header-controls,.writer-header-utilities){gap:clamp(.75rem,2cqi,1.75rem)}#app .quarry-window-toolbar :is(.appearance-chip,.connect-chip,.ambience-audio-toggle--nav){height:var(--quarry-toolbar-control-height);min-height:0;padding-block:0;gap:.45rem;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--color-text-muted);box-shadow:none;font:600 .8rem / 1.3 var(--font-ui);transition:background-color .15s ease,color .15s ease}#app .quarry-window-toolbar :is(.appearance-chip,.connect-chip,.ambience-audio-toggle--nav):hover{border-color:transparent;background:color-mix(in srgb,var(--color-accent-soft) 20%,var(--color-surface));color:var(--color-text);filter:none;transform:none}#app .quarry-window-toolbar :is(.appearance-chip,.connect-chip,.ambience-audio-toggle--nav,.writer-project-browser-button,.world-mode-switch__trigger):focus-visible{outline:2px solid var(--color-accent);outline-offset:1px}#app .quarry-window-toolbar .ambience-audio-toggle--nav{width:var(--quarry-toolbar-control-height)}#app .quarry-window-toolbar .ambience-audio-toggle--nav.is-playing{color:var(--color-accent)}#app .quarry-window-toolbar .ambience-audio-toggle--nav svg{width:15px;height:15px}#app .quarry-window-toolbar :is(.appearance-chip,.connect-chip) svg{transform:none}#app .quarry-window-toolbar .writer-header-controls :is(.dock-item,.header-overflow,.overflow-chip){width:var(--quarry-toolbar-control-height);height:var(--quarry-toolbar-control-height)}@media(min-width:1051px){#app .quarry-window-toolbar .appearance-chip{padding-inline:1rem}}@media(max-width:1050px){#app .quarry-window-toolbar :is(.appearance-chip-wrap,.appearance-chip,.connect-chip){width:var(--quarry-toolbar-control-height)}#app .quarry-window-toolbar .appearance-chip-wrap{height:var(--quarry-toolbar-control-height)}}.quarry-window-caption{display:block;align-self:stretch;align-content:center;flex:1 1 0;min-width:1.5rem;overflow:hidden;padding-inline:.25rem;color:var(--color-text-muted);font:600 var(--text-xs) / 1.2 var(--font-ui);text-align:center;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto}.quarry-window-titlebar,.quarry-window-caption{-webkit-app-region:drag;app-region:drag;window-drag:move;user-select:none}@container quarry-toolbar (max-width: 450px){#app .quarry-window-toolbar .shell-brand__left{gap:.5rem}#app .quarry-window-toolbar .world-mode-switch__trigger{padding-inline:.5rem}.quarry-window-toolbar .world-mode-switch__trigger>span{display:none}#app .quarry-window-toolbar .world-mode-switch__trigger>svg:first-child{display:block}#app .quarry-window-toolbar :is(.writer-header-controls,.writer-header-utilities){gap:.625rem}}@media(max-width:560px){#app .quarry-window-toolbar>.shell>.shell-brand{gap:.5rem}}@container quarry-toolbar (max-width: 360px){#app .quarry-window-toolbar .shell-brand__left{flex:1 0 auto;gap:.375rem}#app .quarry-window-toolbar .world-mode-switch__trigger{min-width:var(--quarry-toolbar-control-height);justify-content:center;padding-inline:0}.quarry-window-toolbar .world-mode-switch__trigger>svg:last-child{display:none}#app .quarry-window-toolbar :is(.writer-header-controls,.writer-header-utilities){gap:.25rem}.quarry-window-caption{min-width:0;padding-inline:0}}@container quarry-toolbar (max-width: 268px){#app .quarry-window-toolbar .wordmark{display:none}.quarry-window-toolbar .overflow-menu{right:calc(-1 * var(--quarry-titlebar-right))}}}
