.mobile-toggles,.mobile-toggle-btn,.panel-overlay,.header-menu-btn,.canvas-toolbar .close-btn,.chat-panel .close-btn,.app-sidebar .close-btn{display:none}.panel-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;z-index:99;opacity:0;pointer-events:none;transition:opacity .3s ease}.panel-overlay.visible{opacity:1;pointer-events:auto}@media screen and (max-width: 1400px){.canvas-toolbar{width:240px!important}.chat-panel{width:340px!important}.research-sidebar{width:280px!important}div[style*="gridTemplateColumns: 'repeat(4, 1fr)'"],div[style*="grid-template-columns: repeat(4, 1fr)"]{grid-template-columns:repeat(2,1fr)!important}}@media screen and (max-width: 1200px){.app-sidebar{width:70px!important}.panel-overlay{display:block}.chat-panel{position:absolute!important;left:0;top:0;bottom:0;width:380px!important;z-index:100;transform:translate(-100%);transition:transform .3s ease;box-shadow:4px 0 20px #0000004d}.chat-panel.open{transform:translate(0)}.chat-panel .close-btn{display:flex!important}.mobile-toggles{display:flex!important;bottom:24px;right:24px}.mobile-toggle-btn{display:flex!important}.canvas-layout>div:first-child{position:relative}.canvas-toolbar{width:220px!important}}@media screen and (max-width: 1024px){.app-sidebar{width:70px!important}.app-root>div:last-child{padding:0}.canvas-toolbar{width:200px!important}.chat-panel{width:350px!important}div[style*="gridTemplateColumns: '2fr 1fr'"],div[style*="grid-template-columns: 2fr 1fr"]{grid-template-columns:1fr!important}}@media screen and (max-width: 900px){.canvas-toolbar{position:fixed!important;top:0;right:0;bottom:0;width:280px!important;z-index:100;transform:translate(100%);transition:transform .3s ease;box-shadow:-4px 0 20px #0000004d}.canvas-toolbar.open{transform:translate(0)}.canvas-toolbar .close-btn{display:flex!important}.chat-panel{width:320px!important}}@media screen and (max-width: 768px){.app-root{flex-direction:column!important;position:relative;overflow-x:hidden}.mobile-toggles{display:flex!important;position:fixed;bottom:20px;right:12px;flex-direction:column;gap:8px;z-index:1001}.mobile-toggle-btn{width:48px;height:48px;border-radius:50%;background-color:#20b2aa;border:none;color:#fff;display:flex!important;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #0000004d;transition:transform .2s ease,background-color .2s ease}.mobile-toggle-btn:active{transform:scale(.95)}.mobile-toggle-btn.active{background-color:#1a9690}.panel-overlay{z-index:998}.app-root>div:last-child>div:first-child>div:last-child{display:none!important}.app-root>div:last-child>div:first-child{padding:0 12px!important;height:50px!important;justify-content:flex-start!important}.app-root>div:last-child>div:first-child>div:first-child>span:first-child{display:none!important}.page-header{flex-wrap:wrap}.page-actions{width:100%}.page-actions button{flex:1;justify-content:center}.page-container{padding:16px!important}.governance-grid{grid-template-columns:1fr!important}.research-layout{flex-direction:column!important}.research-sidebar{width:100%!important;border-right:none!important;border-bottom:1px solid #333434;max-height:none!important;position:relative!important;transform:none!important}.research-results{flex:1;padding:16px!important}.research-results>div>div{flex-direction:column!important}.research-results>div>div>div:last-child{flex-direction:row!important;width:100%;margin-top:12px}.research-results>div>div>div:last-child button{flex:1}.app-sidebar{position:fixed!important;top:0;left:0;bottom:0;width:280px!important;height:100%!important;z-index:1000;transform:translate(-100%);transition:transform .3s ease;flex-direction:column!important;border-right:1px solid #333434!important;box-shadow:4px 0 20px #0000004d}.app-sidebar.open{transform:translate(0)}.app-sidebar>div:first-child{display:flex!important}.app-sidebar nav{display:flex!important;flex-direction:column!important;padding:12px!important;flex:1;overflow-y:auto}.app-sidebar nav button{flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;padding:12px 16px!important;margin-bottom:4px!important;font-size:14px!important;min-width:auto;width:100%}.app-sidebar nav button span{display:inline!important}.app-sidebar>button:last-child{display:flex!important;margin:12px!important}.canvas-toolbar{display:flex!important;position:fixed!important;top:0;right:0;bottom:0;width:300px!important;max-width:85vw;height:100%!important;z-index:1000;transform:translate(100%);transition:transform .3s ease;box-shadow:-4px 0 20px #0000004d;overflow-y:auto}.canvas-toolbar.open{transform:translate(0)}.canvas-toolbar .close-btn{display:flex!important}.chat-panel{position:fixed!important;left:0;right:0;bottom:0;width:100%!important;height:70vh!important;max-height:70vh!important;z-index:999;transform:translateY(100%);transition:transform .3s ease;border-right:none!important;border-top:1px solid #333434;border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #0000004d}.chat-panel.open{transform:translateY(0)}.chat-panel:before{content:"";position:absolute;top:8px;left:50%;transform:translate(-50%);width:40px;height:4px;background-color:#6b6b6b;border-radius:2px}.chat-panel>div:first-child{padding-top:20px!important}.app-root>div:last-child{width:100%;padding-bottom:0}.app-root>div:last-child>div:first-child{padding:0 12px!important;height:50px!important;flex-wrap:wrap;gap:8px}.header-menu-btn{display:flex!important;padding:8px;margin-right:8px}.app-root>div:last-child>div:first-child>div:first-child span:first-child{display:none}.app-root select{font-size:12px!important;padding:6px 8px!important}.canvas-layout{flex-direction:column!important;height:100%}.workspace-panel{flex:1!important;width:100%!important;min-height:100%}.doc-wrapper{padding:16px!important}.doc-page{padding:24px!important;min-height:auto!important;max-width:100%!important}div[style*="grid-template-columns: 1fr 1fr"],div[style*="grid-template-columns: 2fr 1fr"],div[style*="grid-template-columns: 1fr 2fr"],div[style*="grid-template-columns: 3fr 1fr"],div[style*="gridTemplateColumns: '2fr 1fr'"],div[style*="gridTemplateColumns: 'repeat(4, 1fr)'"],div[style*="grid-template-columns: repeat(4"]{grid-template-columns:1fr!important}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}div[style*="width: '320px'"],div[style*="width: '280px'"],div[style*="width: '300px'"],div[style*="width: '400px'"]{width:100%!important;min-width:100%!important}div[style*="borderRadius: '16px'"],div[style*="borderRadius: '12px'"]{border-radius:8px!important}div[style*="overflow: 'auto'"],div[style*="overflow-y: 'auto'"]{-webkit-overflow-scrolling:touch}div[style*="display: 'flex'"][style*="gap: '4px'"]{flex-wrap:wrap;padding:8px 12px!important}div[style*="position: 'fixed'"][style*="inset: '0'"]>div{width:95%!important;max-width:95%!important;max-height:90vh!important;margin:5vh auto}.canvas-layout>div:first-child>div:first-child{overflow-x:auto;padding:8px 12px!important;-webkit-overflow-scrolling:touch}.canvas-layout>div:first-child>div:first-child button{padding:8px 12px!important;font-size:12px!important;white-space:nowrap}}@media screen and (max-width: 480px){.app-root>div:last-child>div:first-child{padding:0 8px!important;justify-content:flex-start!important}.app-root select option{font-size:11px}body{font-size:14px}button{padding:8px 12px!important;font-size:13px!important}div[style*="padding: '24px'"]{padding:16px!important}div[style*="padding: '20px'"]{padding:12px!important}div[style*="grid-template-columns: repeat(4"]{grid-template-columns:1fr!important}input[type=text],input[type=search],textarea,select{width:100%!important;box-sizing:border-box}.mobile-toggle-btn{width:44px;height:44px}.mobile-toggles{bottom:16px;right:8px;gap:6px}.app-sidebar,.canvas-toolbar{width:100%!important;max-width:100%}.chat-panel{height:80vh!important;max-height:80vh!important}.chat-panel>div:first-child{padding:16px 12px 10px!important}.chat-panel>div:last-child{padding:10px!important}.doc-page{padding:16px!important}.doc-wrapper{padding:8px!important}.chat-panel>div:first-child>span:last-child{display:none!important}.workspace-panel>div>div:first-child{padding:6px!important}.canvas-layout>div:first-child>div:first-child button span{display:none!important}.page-container{padding:12px!important}.page-header h2{font-size:18px!important}.page-actions{flex-direction:column!important}.page-actions button{width:100%!important}}@media (hover: none) and (pointer: coarse){button,a,select{min-height:44px;min-width:44px}nav button{margin:4px!important}button:hover{background-color:inherit}}@media screen and (max-width: 768px) and (orientation: landscape){.app-sidebar{width:70px!important;height:100%!important;flex-direction:column!important;position:fixed;left:0;top:0;bottom:0}.app-sidebar nav{flex-direction:column!important}.app-root>div:last-child{margin-left:70px;padding-bottom:0}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){div[style*="border:"]{border-width:.5px!important}}@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}@media print{.app-sidebar{display:none!important}.app-root>div:last-child>div:first-child{display:none!important}.app-root{display:block!important}button{display:none!important}}
