/* Docty desktop: restrained glass chrome around live, isolated workspaces. */
body.os-signed{background:radial-gradient(ellipse at 85% 15%,#c6f2f6 0,transparent 43%),radial-gradient(ellipse at 8% 85%,#e2e9fa 0,transparent 44%),#edf5f8;min-height:100dvh}
.os-signed .topbar{height:70px;max-width:none;padding:14px 28px;border-bottom:1px solid #ffffffc0;background:#ffffffb8;backdrop-filter:blur(20px)}
.os-signed .brand img{width:178px}.os-signed .product-name{font-size:16px}.os-signed .secure-label{font-size:14px}.os-signed main{max-width:none;padding:14px 24px 92px}
.os-signed .site-footer{display:none}.os-signed .home-heading{margin:0 0 18px;min-height:64px}.os-signed .home h1{font-size:26px;margin:4px 0;letter-spacing:-.8px}.os-signed .home-heading .muted{display:none}.os-signed .eyebrow{font-size:12px;letter-spacing:1px;margin:4px 0}.os-signed .profile{background:#ffffffa8;padding:8px 14px;border:1px solid #ffffff;border-radius:18px}.os-signed .profile .avatar{width:36px;height:36px;border-radius:12px}.os-signed .profile strong{font-size:14px}
.os-signed .stats,.os-signed .workspace-columns>aside{display:none}.os-signed .workspace-columns{display:block;max-width:1040px;margin:48px auto}.os-signed .section-heading{margin-bottom:24px}.os-signed .section-heading h2{font-size:23px}.os-signed .apps{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px}
.os-signed .app-card{position:relative;background:#ffffffbd;border:1px solid #ffffff;border-radius:24px;box-shadow:0 8px 30px #193f5910;padding:22px;transition:transform .18s,box-shadow .18s}.os-signed .app-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #193f5920}.os-signed .app-card .app-icon{width:52px;height:52px;margin-bottom:18px;border-radius:17px;background:linear-gradient(140deg,#008dbc,#02b9d0);color:white;box-shadow:0 5px 12px #008dbc25}.os-signed .app-card:nth-child(2n) .app-icon{background:linear-gradient(140deg,#7464cf,#9b8ce9)}.os-signed .app-card:nth-child(3n) .app-icon{background:linear-gradient(140deg,#db176a,#ff658f)}.os-signed .app-card p{min-height:0;font-size:14px;margin:10px 0}.os-signed .app-card strong{font-size:17px}.app-open{width:100%;text-align:left;background:none;border:0;color:inherit;padding:0}.app-open:disabled{cursor:default}.app-external{display:inline-block;margin-top:16px;font-size:13px;text-decoration:none;color:#426b7c}.app-external:hover{text-decoration:underline}
.os-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;background:#ffffffaa;border:1px solid #ffffff;border-radius:16px;box-shadow:0 3px 15px #16405208}.os-modes{display:flex;gap:5px}.os-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;background:transparent;border:1px solid transparent;border-radius:10px;color:#254c60;text-decoration:none;font-size:14px;white-space:nowrap}.os-button:hover{background:#e7f2f7}.os-button[aria-pressed=true]{background:#123e53;color:white;box-shadow:0 2px 8px #123e5320}.os-button:disabled{opacity:.4;cursor:not-allowed}
.os-stage{position:relative;height:calc(100dvh - 274px);min-height:340px;margin-top:14px;isolation:isolate}.os-window{position:absolute;display:flex;flex-direction:column;background:white;border:1px solid #b7cdd8;border-radius:15px;box-shadow:0 12px 30px #17374720;overflow:hidden;min-width:0}.os-window.is-active{box-shadow:0 24px 60px #17374733,0 0 0 1px #7dbace;border-color:#82bacb}.os-titlebar{display:flex;align-items:center;gap:9px;height:46px;min-height:46px;padding:5px 8px 5px 12px;background:linear-gradient(#fff,#f0f6f8);border-bottom:1px solid #dbe8ee;user-select:none}.os-window-icon{background:#e1f2f8;color:#0088b0;border-radius:7px;padding:5px;font-size:12px;font-weight:750}.os-window-title{flex:1;min-width:0;border:0;background:none;text-align:left;color:#254454;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:grab;touch-action:none;align-self:stretch}.os-window-title:active{cursor:grabbing}.os-window-controls{display:flex;gap:2px}.os-window-controls .os-button{font-size:20px;padding:2px;width:34px;min-height:30px;border-radius:7px}.os-close:hover{background:#ffe3eb!important;color:#bd1650}
.os-window iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:#f6fafc}.os-window-hint{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 12px;color:#67828f;font-size:12px;background:#fafcfd;border-bottom:1px solid #edf3f6}.os-window-hint a{flex-shrink:0}.os-resize{position:absolute;right:0;bottom:0;width:28px;height:28px;border:0;border-radius:10px 0 0 0;background:#e8f4f8e8;color:#007fa5;cursor:nwse-resize;touch-action:none}.os-dragging iframe{pointer-events:none}.os-divider{position:absolute;top:0;bottom:0;width:10px;z-index:100000;cursor:col-resize;touch-action:none;border-radius:8px}.os-divider:after{content:'';position:absolute;top:43%;left:3px;width:4px;height:50px;background:#85abbc;border-radius:5px}.os-divider:hover,.os-divider:focus-visible{background:#c6e6f0}
.os-dock{position:fixed;bottom:17px;left:50%;transform:translateX(-50%);z-index:11000;max-width:calc(100vw - 32px);display:flex;gap:7px;padding:8px;background:#ffffffe6;border:1px solid white;border-radius:21px;box-shadow:0 12px 44px #173a5830;backdrop-filter:blur(24px);overflow-x:auto}.os-dock-app,.os-dock-launcher{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:44px;border:0;background:transparent;padding:5px 10px;border-radius:13px;color:#254c60;font-size:14px}.os-dock-app:hover,.os-dock-launcher:hover{background:#e5f2f8}.os-dock-app[aria-pressed=true]{background:#dff1f8}.os-dock-app:after{content:'';position:absolute;bottom:0;left:calc(50% - 3px);height:3px;width:6px;border-radius:3px;background:#0795be}.os-dock-app.is-minimized:after{background:#90a5af}.os-dock-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#0a8fb7;color:white;font-size:12px;font-weight:700}.os-dock-launcher{font-size:24px;border-right:1px solid #dce8ed;border-radius:12px 0 0 12px}.os-status{position:fixed;bottom:0;left:10px;margin:0;font-size:12px;color:#456b7b;padding:2px;pointer-events:none}
.os-running .workspace-columns{display:none}.os-running.os-launcher-open .workspace-columns{display:block;position:fixed;z-index:10000;top:180px;left:50%;transform:translateX(-50%);width:min(900px,calc(100vw - 40px));max-height:calc(100dvh - 270px);overflow:auto;margin:0;padding:28px;border:1px solid #fff;border-radius:25px;background:#eff8fcf7;box-shadow:0 24px 90px #123e5355;backdrop-filter:blur(30px)}
.os-signed #home-error{margin:8px 0;font-size:13px;padding:8px 12px}.os-running #home-error{max-height:60px;overflow:auto}
@media(max-width:1100px){.os-dock-name{display:none}.os-dock-app{padding:5px 8px}.os-signed .workspace-columns{margin:30px auto}.os-signed .secure-label{display:none}}
@media(max-width:760px){.os-signed .topbar{height:60px;padding:10px 14px;gap:10px}.os-signed .brand{gap:8px}.os-signed .brand img{width:135px}.os-signed .product-name{font-size:14px;padding-left:8px}.os-signed main{padding:10px 10px 86px}.os-signed .home-heading{display:flex;min-height:50px;margin-bottom:10px}.os-signed .home h1{font-size:20px}.os-signed .profile{margin:0;padding:5px;background:none;border:0}.os-signed .profile>div{display:none}.os-signed .eyebrow{font-size:11px;letter-spacing:0}.os-toolbar{padding:5px}.os-button{font-size:13px;padding:6px 8px}.os-modes>button:first-child{display:none}.os-stage{height:calc(100dvh - 240px);min-height:320px;margin-top:8px}.os-window{border-radius:12px}.os-titlebar{gap:5px;padding-left:8px}.os-window-controls .os-button{width:28px}.os-window-controls>button:nth-child(3){display:none}.os-window-hint{font-size:11px}.os-signed .apps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.os-signed .app-card{padding:16px;border-radius:19px}.os-signed .app-card strong{font-size:15px}.os-signed .app-card p{font-size:13px}.os-signed .workspace-columns{margin:26px 5px}.os-running.os-launcher-open .workspace-columns{top:150px;padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 240px)}.os-status{display:none}.os-dock{bottom:12px;padding:6px}.os-dock-name{display:none}}
/* Header-integrated tabs reserve space instead of covering app content. */
.os-signed .topbar{height:78px;gap:20px;padding:10px 20px}
.os-signed .secure-label{display:none}
.os-signed .topbar .home-heading{flex:1;min-width:0;min-height:0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.os-signed .topbar .home-heading h1{font-size:18px;letter-spacing:-.3px;margin:0}
.os-signed .topbar .eyebrow{font-size:11px;letter-spacing:0;margin:0}
.os-signed .topbar .profile{min-width:0;max-width:360px;margin:0}
.os-signed .topbar .profile>div{min-width:0}
.os-signed .topbar .profile strong,.os-signed .topbar .profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.os-signed main{height:calc(100dvh - 78px);min-height:360px;padding:10px 16px 12px;box-sizing:border-box}
.os-signed .home{height:100%;display:flex;flex-direction:column;min-height:0}
.os-toolbar{flex-shrink:0;flex-wrap:wrap;gap:8px;padding:6px}
.os-toolbar>.os-button{flex-shrink:0}
.os-modes{margin-left:auto;flex-shrink:0}
.os-dock{position:static;transform:none;flex:1;min-width:100px;max-width:none;margin:0;padding:2px;gap:4px;border:0;border-radius:12px;box-shadow:none;backdrop-filter:none;background:transparent}
.os-dock-launcher{display:none}
.os-dock-name{display:inline}
.os-dock-app{min-height:40px;cursor:grab}
.os-dock-app.is-dragging{opacity:.45}
.os-dock-app.is-drop-target{outline:2px solid #0795be;outline-offset:-2px;background:#dff1f8}
.os-dock-app:focus-visible{outline:2px solid #0795be;outline-offset:-2px}
.os-stage{height:auto;min-height:0;flex:1;margin-top:8px}
.os-signed .workspace-columns{overflow:auto}
.os-running.os-launcher-open .workspace-columns{top:150px;max-height:calc(100dvh - 180px)}
.os-status{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1200px){.os-dock{flex-basis:calc(100% - 110px)}.os-modes{width:100%;justify-content:flex-end}.os-signed .topbar .home-heading>div:first-child{display:none}.os-signed .topbar .home-heading{justify-content:flex-end}}
@media(max-width:760px){.os-signed .topbar{height:68px;padding:8px 12px;gap:8px}.os-signed .topbar .profile{padding:0}.os-signed main{height:calc(100dvh - 68px);padding:8px;min-height:360px}.os-signed .topbar .home-heading{min-height:0}.os-dock{padding:2px}.os-dock-name{display:inline}.os-modes{overflow-x:auto;justify-content:flex-start}.os-stage{min-height:0}.os-running.os-launcher-open .workspace-columns{top:180px;max-height:calc(100dvh - 200px)}}
@media(prefers-reduced-motion:reduce){.os-signed *{transition:none!important}}
