:root{--touch-target-min:44px;--safe-top:env(safe-area-inset-top, 0px);--safe-bottom:env(safe-area-inset-bottom, 0px);--safe-left:env(safe-area-inset-left, 0px);--safe-right:env(safe-area-inset-right, 0px);--app-vh:1vh}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html.touch-device,html.touch-device body{-webkit-tap-highlight-color:transparent;touch-action:manipulation;overscroll-behavior:none}html.touch-device .canvas-wrapper,html.touch-device .maintenance-canvas,html.touch-device .storage-canvas{touch-action:none}html.touch-device input,html.touch-device select,html.touch-device textarea{font-size:16px!important}html.touch-device .app-container,html.touch-device .canvas-wrapper,html.touch-device .home-wrapper{height:calc(var(--app-vh,1vh) * 100)}html.touch-device .card-action-btn,html.touch-device .close-icon-btn,html.touch-device .header-action-btn,html.touch-device .icon-btn,html.touch-device .nav-action-btn,html.touch-device .session-dock-icon-btn,html.touch-device .settings-icon-btn,html.touch-device .zoom-controls button,html.touch-device button{min-width:var(--touch-target-min);min-height:var(--touch-target-min)}html.touch-device .card-actions,html.touch-device .doc-card-actions{opacity:1!important}@media (max-width:480px){.dock-center-wrapper,.floating-dock-bottom-left,.floating-dock-top-left,.floating-dock-top-right,.zoom-controls{position:fixed}.floating-dock-top-left{left:var(--safe-left,8px);top:calc(var(--safe-top,8px) + 8px);min-width:0;max-width:calc(100vw - 16px)}.phase-nav{flex-direction:row;flex-wrap:wrap;gap:4px;padding:6px}.phase-btn{flex:1 1 45%;text-align:center;font-size:.7rem;padding:8px 6px}.floating-dock-bottom-left{left:var(--safe-left,8px);bottom:calc(var(--safe-bottom,8px) + 8px);grid-template-columns:repeat(4,1fr);max-width:calc(100vw - 16px)}.dock-center-wrapper{width:calc(100vw - 16px);bottom:calc(var(--safe-bottom,8px) + 8px);gap:6px}.selected-node-pill{display:none}.floating-dock-top-right{right:var(--safe-right,8px);top:calc(var(--safe-top,8px) + 8px)}.zoom-controls{right:var(--safe-right,8px);bottom:calc(var(--safe-bottom,8px) + 90px)}.session-header-dock{min-width:0;width:calc(100vw - 24px);top:var(--safe-top,8px);padding:8px 14px}.session-header-dock h1{font-size:.85rem}.app-modal-content,.cp-panel,.modal-content,.smo-panel,.storage-modal-content{width:calc(100vw - 24px)!important;max-width:100%!important}#auth-modal .modal-content{width:calc(100vw - 32px)}.quick-add-slide-panel{width:100vw!important;min-width:0!important;max-width:100vw!important}.acquisition-header{flex-wrap:wrap;padding:8px 10px}.header-search{min-width:0;flex:1 1 100%;order:3}.cards-grid.grid-view{grid-template-columns:1fr}.storage-control-panel{width:100vw;position:fixed;right:0;top:0;height:100%;z-index:var(--z-modal)}.maintenance-left-panel,.maintenance-right-panel{position:relative;width:100%;left:0;top:0}.maintenance-content{flex-direction:column;overflow-y:auto}}@media (min-width:481px) and (max-width:768px){.floating-dock-top-left{min-width:260px;max-width:320px}.cards-grid.grid-view{grid-template-columns:repeat(2,1fr)}.quick-add-slide-panel{width:60vw!important;min-width:320px!important}.storage-control-panel{width:clamp(240px,40vw,320px)}}@media (min-width:769px) and (max-width:1024px){.cards-grid.grid-view{grid-template-columns:repeat(2,1fr)}.maintenance-left-panel,.maintenance-right-panel{width:clamp(220px,24vw,320px)}.cp-panel,.smo-panel{width:80vw}}@media (max-height:420px) and (orientation:landscape){.floating-dock-top-left,.floating-dock-top-right{transform:scale(.85);transform-origin:top left}.floating-dock-top-right{transform-origin:top right}.dock-center-wrapper{bottom:6px}}@media (prefers-reduced-motion:reduce){html.touch-device *{animation-duration:0s!important;animation-iteration-count:1!important;transition-duration:0s!important}}html.touch-device .node-strength-indicator,html.touch-device .stretchy-handle{stroke-width:3px}html.touch-device .node-group{cursor:default}