.desktop-shell{position:fixed;inset:76px 12px 62px 250px;z-index:1200;background:#e8eef5;border:1px solid #bccadd;border-radius:12px;box-shadow:0 12px 45px #172d4540;display:flex;flex-direction:column;overflow:hidden}
.desktop-shell[hidden],.desktop-dock[hidden],.work-window[hidden]{display:none!important}
.desktop-toolbar{padding:10px 12px;display:flex;gap:8px;align-items:end;flex-wrap:wrap;background:#fff;border-bottom:1px solid #cbd7e5}.desktop-toolbar label{margin:0;font-size:12px}.desktop-toolbar select{max-width:190px;padding:5px;font-size:13px}.desktop-toolbar button{padding:7px 10px;font-size:13px}.desktop-toolbar strong{margin-right:auto;align-self:center}
.desktop-canvas{flex:1;min-height:0;position:relative;overflow:auto;padding:8px}.work-window{position:absolute;display:flex;flex-direction:column;width:min(920px,92%);height:90%;min-width:320px;min-height:240px;max-width:100%;max-height:100%;resize:both;overflow:hidden;background:white;border:1px solid #b6c5d8;border-radius:9px;box-shadow:0 7px 24px #19395826}.work-active{border:2px solid #377ee0}.work-titlebar{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#e9f2ff;padding:7px 10px;cursor:move;touch-action:none}.work-titlebar strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-titlebar>div{display:flex;gap:4px}.work-titlebar button{font-size:13px;padding:3px 7px;white-space:nowrap}.work-window iframe{width:100%;flex:1;min-height:0;border:0;background:white}.work-status{font-size:12px;padding:0 10px;margin:0;background:#fff4d9;color:#634b16}.work-status:empty{display:none}.work-maximized{inset:0!important;width:100%!important;height:100%!important;resize:none}.desktop-tiled{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(260px,1fr);gap:8px}.desktop-tiled .work-window{position:relative;inset:auto!important;width:100%!important;height:100%!important;min-width:0;min-height:0;resize:none}.desktop-dragging iframe{pointer-events:none}
.desktop-dock{position:fixed;bottom:0;left:240px;right:0;z-index:1400;display:flex;gap:6px;overflow-x:auto;align-items:center;padding:7px 10px;background:#102b50;margin:0;box-shadow:0 -2px 10px #16334c30}.desktop-dock button{width:auto;min-width:160px;max-width:280px;margin:0;padding:7px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#173b68;background:#eaf1fa}.desktop-dock button.active{background:#377ee0;color:white}
.work-child-toolbar{position:sticky;top:0;z-index:10;display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:white;border-bottom:1px solid #cbd7e5;padding:8px 0}.work-child-toolbar strong{font-size:14px;margin-right:auto}.work-child-toolbar label{margin:0;font-size:12px}.work-child-toolbar select{max-width:180px;padding:5px;font-size:13px}.work-child-toolbar button{font-size:12px;padding:6px 8px}.work-child-toolbar [data-work-child-stale]{width:100%;background:#fff4d9;padding:6px;font-size:13px}.work-child-toolbar [hidden]{display:none!important}
.desktop-child #workspace-sidebar,.desktop-child #menu-toggle,.desktop-child #opencompanytab,.desktop-child #workspace-home,.desktop-child #workspace-windows,.desktop-child #pilot-signout,.desktop-child .workspace-header>label,.desktop-child #firm-brand-contact{display:none!important}.desktop-child #workspace-main{margin-left:0;padding:0 14px 32px;max-width:none}.desktop-child .workspace-header{position:static;padding:10px 0;gap:8px}.desktop-child .workspace-header .workspace-search{flex:1;min-width:180px}.desktop-child .modalback{padding:10px}.desktop-child .modal{max-height:calc(100vh - 20px)}
.workspace-stale{padding:10px 12px;margin:12px 0;background:#fff4d9;border-radius:8px;display:flex;gap:12px;align-items:center;justify-content:space-between}.workspace-stale[hidden]{display:none!important}
@media(max-width:900px){.desktop-shell{left:8px;right:8px;top:60px}.desktop-dock{left:0}.desktop-toolbar strong{width:100%}.desktop-toolbar label{flex:1}.desktop-toolbar select{max-width:100%;width:100%}}
@media(max-width:600px){.desktop-tiled{grid-template-columns:1fr}.work-window{left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:0;resize:none}.work-titlebar strong{max-width:45%}.desktop-toolbar{gap:6px}.work-child-toolbar label{width:100%}}
@media print{.desktop-shell,.desktop-dock,.work-child-toolbar,.workspace-stale{display:none!important}}
