.pdf-editor-compact-chrome{z-index:1200;isolation:isolate;background:color-mix(in srgb, var(--card) 94%, transparent);color:var(--card-foreground);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:100%;min-height:calc(44px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-left:env(safe-area-inset-left,0px);border-bottom:1px solid var(--border);flex:none;position:relative}.pdf-editor-compact-track{align-items:center;min-width:0;height:44px;display:flex;overflow:hidden}.pdf-editor-compact-close,.pdf-editor-compact-track-control{flex:none;align-self:stretch;width:44px;min-width:44px;height:44px;min-height:44px}.pdf-editor-compact-close>*{border-radius:0;width:100%;min-width:44px;height:100%;min-height:44px}.pdf-editor-compact-location-control{flex:1;min-width:0;height:44px;overflow:hidden}.pdf-editor-compact-location-control>*{width:100%;min-width:0}.pdf-editor-compact-location-control button[role=combobox]{width:100%;min-width:44px;max-width:none;min-height:44px}.pdf-editor-compact-panel{z-index:1;border-color:var(--border);background:color-mix(in srgb, var(--card) 96%, transparent);min-width:0;color:var(--card-foreground);box-shadow:var(--app-popover-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overscroll-behavior:contain;max-height:min(18rem, calc(var(--pdf-editor-compact-viewport-height,100dvh) - 45px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));padding-right:env(safe-area-inset-right,0px);padding-left:env(safe-area-inset-left,0px);border-bottom-width:1px;flex-direction:column;display:flex;position:absolute;top:100%;left:0;right:0;overflow:hidden}.pdf-editor-compact-chrome[data-orientation=landscape][data-panel=tools] .pdf-editor-compact-panel{border-left-width:1px;width:min(22rem,100%);padding-left:0;left:auto}.pdf-editor-compact-panel-content{flex:0 auto;min-width:0;min-height:0;overflow:hidden}.pdf-editor-compact-pages-content{align-items:center;min-width:0;min-height:132px;display:flex}.pdf-editor-compact-panel-content[data-panel-content=pages]{overscroll-behavior:contain;overflow-y:auto}.pdf-editor-compact-page-previews{flex:1;min-width:0;overflow:hidden}.pdf-editor-compact-pages-navigation{width:44px;box-shadow:inset 1px 0 var(--border);flex:none}.pdf-editor-compact-pages-navigation .pdf-editor-compact-page-navigation{width:44px;min-height:132px}.pdf-editor-compact-panel-content[data-panel-content=tools]{overscroll-behavior:contain;display:flex;overflow:hidden}.pdf-editor-compact-tool-tray{background:var(--card);flex-direction:column;flex:1;gap:0;min-width:0;min-height:0;display:flex}.pdf-editor-compact-tool-tray>:not([hidden])~:not([hidden]){margin-top:0}.pdf-editor-compact-category-row{border-bottom:1px solid var(--border);flex:none;align-items:center;height:44px;display:flex}.pdf-editor-compact-categories{background:0 0;border-radius:0;flex:1;min-width:0;height:44px;padding:0;display:flex}.pdf-editor-compact-category{height:44px;box-shadow:none;border-radius:0;flex:1;gap:4px;padding:0 4px;font-size:12px}.pdf-editor-compact-category[aria-selected=true]{color:var(--foreground);background:var(--accent);box-shadow:inset 0 -2px var(--primary)}.pdf-editor-compact-tray-toggle{border-radius:0;flex:none;width:44px;height:44px}.pdf-editor-compact-tray-toggle[aria-pressed=true]{color:var(--primary);background:var(--accent)}.pdf-editor-compact-attention{background:var(--app-status-warning-foreground);border-radius:50%;flex:none;width:5px;height:5px}.pdf-editor-compact-tool-tray .pdf-editor-compact-action-panels{overscroll-behavior:contain;scrollbar-width:thin;flex:0 auto;min-height:0;overflow:auto}.pdf-editor-compact-category-panel{min-width:0;margin:0}.pdf-editor-compact-work-content{flex-direction:column;min-width:0;display:flex}.pdf-editor-compact-work-navigation{border-top:1px solid var(--border);min-width:0;padding:2px 4px}.pdf-editor-compact-work-navigation [role=combobox]{max-width:none}.pdf-editor-compact-action-row{align-items:center;gap:4px;width:max-content;min-width:100%;min-height:44px;padding:2px 4px;display:flex}.pdf-editor-compact-action-row>[role=group]{flex:none}.pdf-editor-compact-tool-tray[data-expanded=true] .pdf-editor-compact-action-panels{max-height:144px}.pdf-editor-compact-tool-tray[data-expanded=true] .pdf-editor-compact-action-row{flex-wrap:wrap;width:100%}.pdf-editor-compact-tool-tray[data-expanded=true] .pdf-editor-compact-action-row>[role=group]{flex-wrap:wrap;flex:0 auto}.pdf-editor-compact-tool-tray[data-category=work] .pdf-editor-compact-action-panels{max-height:144px}[data-toolbar-surface=compact-tools] button{min-width:44px;min-height:44px}[data-toolbar-surface=compact-tools] [data-pdf-toolbar-split-button],[data-toolbar-surface=compact-tools] [data-pdf-toolbar-split-primary]{width:44px;height:44px}[data-toolbar-surface=compact-tools] [data-pdf-toolbar-split-menu-trigger]{width:18px;min-width:18px;height:18px;min-height:18px}[data-pdf-editor-layout=compact-portrait] [data-pdf-editor-viewport] [data-pdf-viewport-surface],[data-pdf-editor-layout=compact-landscape] [data-pdf-editor-viewport] [data-pdf-viewport-surface]{inset:3px max(3px, env(safe-area-inset-right,0px)) max(3px, env(safe-area-inset-bottom,0px)) max(3px, env(safe-area-inset-left,0px))!important}.pdf-viewport-controls-overlay{max-width:calc(100% - 22px);top:10px;left:10px}.pdf-viewport-controls-overlay[data-has-leading-zoom-control=true]{max-width:calc(100% - 68px);left:56px}[data-pdf-editor-layout=compact-portrait] .pdf-viewport-controls-overlay,[data-pdf-editor-layout=compact-landscape] .pdf-viewport-controls-overlay{top:13px;left:calc(max(3px, env(safe-area-inset-left,0px)) + 10px);max-width:calc(100% - max(3px, env(safe-area-inset-left,0px)) - 14px)}[data-pdf-editor-layout=compact-portrait] .pdf-viewport-controls-overlay[data-has-leading-zoom-control=true],[data-pdf-editor-layout=compact-landscape] .pdf-viewport-controls-overlay[data-has-leading-zoom-control=true]{left:calc(max(3px, env(safe-area-inset-left,0px)) + 60px);max-width:calc(100% - max(3px, env(safe-area-inset-left,0px)) - 64px)}.leaflet-container{isolation:isolate}.leaflet-container *{cursor:inherit!important}[data-pdf-editor-viewport] .leaflet-control-zoom.leaflet-bar{-webkit-user-select:none;user-select:none;overflow:hidden;border:1px solid var(--border)!important;box-shadow:var(--app-popover-shadow)!important;border-radius:.5rem!important}[data-pdf-editor-viewport] .leaflet-control-zoom a{font-size:1.125rem;font-weight:500;border-bottom-color:var(--border)!important;background:var(--card)!important;width:32px!important;height:32px!important;color:var(--card-foreground)!important;cursor:default!important;line-height:32px!important}[data-pdf-editor-viewport] .pdf-leaflet-zoom-icon{vertical-align:middle;pointer-events:none;width:18px;height:18px;display:inline-block}[data-pdf-editor-layout^=compact-] [data-pdf-editor-viewport] .leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}[data-pdf-editor-viewport] .leaflet-control-zoom a:hover,[data-pdf-editor-viewport] .leaflet-control-zoom a:focus-visible{background:var(--accent)!important;color:var(--accent-foreground)!important}[data-pdf-editor-viewport] .leaflet-control-zoom a:focus-visible{z-index:1;outline:2px solid var(--ring);outline-offset:-2px;position:relative}[data-pdf-editor-viewport] .leaflet-control-zoom a.leaflet-disabled{opacity:.65;background:var(--muted)!important;color:var(--muted-foreground)!important;cursor:default!important}[data-pdf-editor-viewport] [data-pdf-in-file-search-trigger]{border-color:var(--border)!important;background:var(--card)!important;color:var(--card-foreground)!important}[data-pdf-editor-layout^=compact-] [data-pdf-editor-viewport] [data-pdf-in-file-search-trigger]{min-width:44px;min-height:44px}[data-pdf-editor-viewport] [data-pdf-in-file-search-trigger]:hover,[data-pdf-editor-viewport] [data-pdf-in-file-search-trigger]:focus-visible{background:var(--accent)!important;color:var(--accent-foreground)!important}[data-pdf-editor-control-chrome],.titan-context-menu,.titan-ctx-container,.titan-note-cloud{-webkit-user-select:none;user-select:none}[data-pdf-editor-control-chrome] :is(input,textarea,[contenteditable=true]),.titan-context-menu :is(input,textarea,[contenteditable=true]),.titan-note-thread-body,.titan-note-thread-editor{-webkit-user-select:text;user-select:text}.titan-context-menu .leaflet-popup-content-wrapper{background:var(--popover);box-shadow:var(--app-popover-shadow);border:1px solid var(--border);border-radius:8px;padding:0;overflow:hidden}.titan-context-menu .leaflet-popup-content{padding:0;min-width:140px!important;margin:0!important}.titan-context-menu .leaflet-popup-tip-container{display:none}.titan-context-menu .leaflet-popup-close-button{display:none!important}.titan-ctx-container{flex-direction:column;padding:3px;display:flex}.titan-ctx-btn{width:100%;color:var(--popover-foreground);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:5px;padding:6px 12px;font-size:12.5px;font-weight:500;line-height:1.1;transition:background .1s;display:block}.titan-ctx-btn:hover{background:var(--accent)}.titan-ctx-btn:disabled,.titan-ctx-btn:disabled:hover,.titan-ctx-btn:disabled:active{color:var(--muted-foreground);cursor:not-allowed;opacity:.45;background:0 0}.titan-ctx-btn:active{background:var(--muted)}.titan-ctx-btn--danger{color:var(--app-status-danger-foreground)}.titan-ctx-btn--danger:hover,.titan-ctx-btn--danger:active{background:var(--app-status-danger-surface)}.titan-ctx-sep{background:var(--border);height:1px;margin:2px 6px}.titan-note-marker{filter:drop-shadow(0 1px 2px #0f172a33);outline:none;transition:filter .12s;overflow:visible}.titan-note-marker-icon{background:0 0;border:0;line-height:0}.titan-note-marker-bg{fill:var(--popover);stroke:var(--border);stroke-width:1.7px}.titan-note-marker-accent{fill:var(--titan-note-marker-accent,var(--primary))}.titan-note-marker-line{stroke:var(--muted-foreground);stroke-width:1.65px;stroke-linecap:round}.titan-note-marker-badge{fill:var(--popover);stroke:var(--titan-note-marker-accent,var(--primary));stroke-width:1.35px}.titan-note-marker-badge-text{fill:var(--foreground);pointer-events:none;font-family:system-ui,sans-serif;font-size:4.8px;font-weight:700}.titan-note-marker:not(.titan-note-marker--static):hover,.titan-note-marker:not(.titan-note-marker--static):focus{filter:drop-shadow(0 0 .5px var(--primary)) drop-shadow(0 2px 5px #2563eb59)}.titan-note-marker:not(.titan-note-marker--static):hover .titan-note-marker-bg,.titan-note-marker:not(.titan-note-marker--static):focus .titan-note-marker-bg{fill:var(--accent);stroke:var(--primary)}.titan-note-marker:not(.titan-note-marker--static):hover .titan-note-marker-line,.titan-note-marker:not(.titan-note-marker--static):focus .titan-note-marker-line{stroke:var(--accent-foreground)}.titan-note-cloud .leaflet-popup-content-wrapper{background:var(--popover);border:1px solid var(--border);box-shadow:var(--app-popover-shadow);border-radius:8px;padding:0;overflow:hidden}.titan-note-cloud .leaflet-popup-content{padding:0;margin:0!important}.titan-note-cloud .leaflet-popup-tip-container{display:none}.titan-note-cloud .leaflet-popup-tip{background:var(--popover);border:1px solid var(--border)}.pdf-navigation-highlight{filter:drop-shadow(0 0 6px #008cff)drop-shadow(0 0 12px #008cff)}.titan-arrowhead-marker{pointer-events:none;background:0 0;border:0}.titan-page-annotation-svg-overlay{pointer-events:none;transform-origin:0 0}.pdf-document-scene-root,.pdf-document-scene-root *,.titan-page-annotation-svg-overlay,[data-pdf-annotation-interaction-target]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.pdf-document-scene-root img,.pdf-document-scene-root canvas{-webkit-user-drag:none}.pdf-scene-compositor-retained>.pdf-document-scene-root{will-change:transform}.pdf-scene-zoom-transition>.pdf-document-scene-root{transition:transform .25s cubic-bezier(0,0,.25,1)}.pdf-document-scene-root :is(input,textarea,[contenteditable=true]),.titan-page-annotation-svg-overlay :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.titan-note-thread{width:min(340px,100vw - 32px);min-width:min(240px,100vw - 32px);max-width:340px;color:var(--popover-foreground);padding:8px;font-family:system-ui,sans-serif;position:relative}.titan-note-thread-header{z-index:2;align-items:center;gap:4px;display:flex;position:absolute;top:6px;right:6px}.titan-note-thread-icon-btn{width:22px;height:22px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:5px;font-size:16px;font-weight:700;line-height:1}.titan-note-thread-icon-btn:hover{background:var(--accent);color:var(--accent-foreground)}.titan-note-thread-list{flex-direction:column;gap:6px;max-height:min(46vh,360px);padding-right:0;display:flex;overflow-y:auto}.titan-note-thread-item{border-radius:6px;gap:4px;padding:6px;display:grid}.titan-note-thread-meta{min-height:16px;color:var(--muted-foreground);align-items:baseline;gap:6px;padding-right:34px;font-size:11.5px;line-height:1.25;display:flex}.titan-note-thread-meta strong{color:var(--popover-foreground);font-size:12px;font-weight:600}.titan-note-thread-index{color:var(--muted-foreground);white-space:nowrap;font-size:11px}.titan-note-thread-body{width:100%;color:var(--popover-foreground);font:inherit;overflow-wrap:anywhere;text-align:left;white-space:pre-wrap;background:0 0;border:0;border-radius:5px;padding:4px 6px;font-size:12.5px;line-height:1.35}.titan-note-thread-body--editable{cursor:text}.titan-note-thread-body--editable:hover{background:var(--accent)}.titan-note-thread-item--editing{border:1px solid var(--ring);background:var(--accent);border-radius:6px;gap:6px;padding:7px}.titan-note-thread-editor{border:1px solid var(--border);resize:none;background:var(--background);width:100%;min-height:64px;color:var(--foreground);font:inherit;border-radius:5px;outline:none;padding:6px;font-size:12.5px;line-height:1.35}.titan-note-thread-editor-footer{align-items:center;gap:6px;display:flex}.titan-note-thread-spacer{flex:1}.titan-note-thread-secondary,.titan-note-thread-primary,.titan-note-thread-delete,.titan-note-thread-menu-item{cursor:pointer;border:1px solid #0000;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:600;line-height:1.1}.titan-note-thread-secondary{background:var(--secondary);color:var(--muted-foreground)}.titan-note-thread-primary{background:var(--primary);color:var(--primary-foreground)}.titan-note-thread-delete,.titan-note-thread-menu-item--danger{color:var(--app-status-danger-foreground);background:0 0}.titan-note-thread-menu{border:1px solid var(--border);background:var(--popover);min-width:112px;box-shadow:var(--app-popover-shadow);border-radius:6px;padding:3px;position:absolute;top:26px;right:0}.titan-note-thread-menu-item{text-align:left;width:100%}.titan-note-thread-secondary:hover,.titan-note-thread-delete:hover,.titan-note-thread-menu-item:hover{background:var(--accent)}.titan-note-thread-primary:hover{background:var(--primary);opacity:.92}.leaflet-marker-icon.titan-position-handle{cursor:grab;touch-action:none;background:0 0;border:0;place-items:center;display:grid}.titan-position-handle__visual{box-sizing:border-box;pointer-events:none;background:var(--primary);border:2px solid var(--background);width:12px;height:12px;box-shadow:0 1px 4px var(--app-overlay-scrim);border-radius:50%;display:block}.titan-position-handle:active{cursor:grabbing}.titan-position-handle--move{cursor:move}.titan-position-handle--move .titan-position-handle__visual{background:var(--app-status-info);width:14px;height:14px}.titan-image-position-control-marker{background:0 0;border:0}.titan-image-position-control{border:1px solid var(--border);background:var(--popover);box-shadow:var(--app-popover-shadow);border-radius:7px;align-items:center;display:inline-flex;overflow:hidden}.titan-image-position-control button{border:0;border-right:1px solid var(--border);width:32px;height:26px;color:var(--popover-foreground);cursor:pointer;background:0 0;justify-content:center;align-items:center;display:inline-flex}.titan-image-position-control button:last-child{border-right:0}.titan-image-position-control button:hover{background:var(--accent)}.titan-image-position-control svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}
