/* Windowly demo: stable preview and responsive centered panel. */
.windowly-demo{position:relative;z-index:1;min-width:0;width:100%;font-family:inherit;transform:translateX(0);transform-origin:center;transition:width .48s cubic-bezier(.22,.8,.24,1),transform .48s cubic-bezier(.22,.8,.24,1),filter .48s ease}
.demo-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 2px 12px;color:#59616c;font-size:12px}
.demo-caption>span{display:flex;align-items:center;gap:7px}.demo-live-dot{height:7px;width:7px;border-radius:50%;background:#3983ed}
.demo-caption-actions{display:flex;align-items:center;gap:10px}
.demo-caption button{cursor:pointer;font:inherit}
.demo-reset{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:3px;padding:6px;font-size:12px}
.demo-close{border:1px solid #d9dbe0;border-radius:9px;background:#fff;color:#111;padding:7px 12px;font-size:12px;font-weight:700;box-shadow:0 5px 16px #00000014}
.demo-shell{position:relative;border:1px solid #414246;border-radius:15px;overflow:hidden;background:#1e1e1f;color:#ececed;box-shadow:0 24px 60px #15223826}
.windowly-demo .demo-shell{aspect-ratio:16/10;transition:aspect-ratio .48s cubic-bezier(.22,.8,.24,1),box-shadow .48s ease,border-radius .48s ease}
.windowly-demo .demo-layout{height:calc(100% - 35px)}
.windowly-demo.is-expanded{position:fixed;z-index:100;display:flex;flex-direction:column;transform-origin:top left;transition:none;padding:12px;background:#f7f7f5;border:1px solid #ddd;border-radius:20px;box-shadow:0 24px 90px #17223440}
.windowly-demo.is-expanded .demo-shell{aspect-ratio:auto!important;flex:1;min-height:0;box-shadow:none}
.windowly-demo.is-expanded .demo-layout{height:calc(100% - 35px);min-height:0}
.windowly-demo.is-expanded .demo-content{min-height:0}
.windowly-demo.is-expanded .demo-subtitle{font-size:11px;line-height:1.5;color:#a7a7af;margin:0 0 15px}
.windowly-demo.is-expanded .demo-layout-desktop .demo-content{height:100%;overflow:auto}
.demo-shell button{font:inherit;cursor:pointer;color:inherit}
.demo-shell button:focus-visible,.demo-caption button:focus-visible{outline:2px solid #83baff;outline-offset:3px}
.demo-titlebar{height:35px;display:flex;align-items:center;gap:12px;padding:0 12px;background:#252526;color:#a5a5aa;font-size:11px}
.demo-traffic{display:flex;gap:6px}.demo-traffic i{width:9px;height:9px;background:#ff5f57;border-radius:50%}.demo-traffic i:nth-child(2){background:#febc2e}.demo-traffic i:nth-child(3){background:#28c840}
.demo-badge{margin-left:auto;font-size:9px;letter-spacing:1px;color:#919199}
.demo-layout{display:grid;grid-template-columns:135px minmax(0,1fr);height:440px}
.demo-sidebar{border-right:1px solid #323235;display:flex;flex-direction:column;padding:18px 8px;gap:6px}
.demo-brand{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;padding:0 4px 20px}
.demo-sidebar button{border:0;background:none;text-align:left;display:flex;align-items:center;gap:9px;padding:12px 8px;border-radius:8px;font-size:11px;min-height:42px}
.demo-sidebar button[aria-pressed=true]{background:#262e3b;color:#579dff}
.demo-nav-icon{font-size:22px;width:19px;display:flex;justify-content:center;flex:none}
.demo-sidebar small{font-size:10px;color:#929298;line-height:1.5;margin-top:auto;padding:14px 4px 0}
.demo-windows-icon{width:34px;height:34px;display:grid;grid-template-columns:1fr 1fr;gap:3px;flex:none}.demo-windows-icon i{background:currentColor}.demo-nav-icon .demo-windows-icon{width:16px;height:16px;gap:2px}
.demo-content{position:relative;margin:0;padding:22px 20px;overflow-y:auto;overscroll-behavior:contain;min-width:0;scrollbar-width:thin;scrollbar-color:#49494f transparent}
.demo-content h2{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:0 0 7px;color:#f0f0f2;outline:none}
.hero .demo-content p{font-size:11px;line-height:1.5;color:#a7a7af;margin:0 0 15px}
.demo-content h3{font-size:13px;margin:20px 0 12px;color:#dddde0}
.demo-open-windows{width:100%;display:flex;align-items:center;gap:13px;background:#242b35;border:1px solid #303e54;border-radius:13px;padding:22px 15px;text-align:left}
.demo-open-windows>.demo-windows-icon{color:#569afa}.demo-open-windows strong{font-size:18px;display:block;line-height:1.25}.demo-open-windows small{font-size:10px;display:block;color:#a7a7af;margin-top:5px}.demo-open-windows b{margin-left:auto;color:#fff;background:#367ce3;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex:none}
.demo-intro-overlay{-webkit-appearance:none;appearance:none;position:absolute;z-index:20;inset:35px 0 0;width:auto;height:auto;margin:0;border:0;border-radius:0;background:linear-gradient(145deg,#07101bc4,#0b1723a8);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;padding:24px;cursor:pointer;color:#fff;text-align:center;line-height:normal}
.demo-intro-overlay:hover .demo-intro-prompt,.demo-intro-overlay:focus-visible .demo-intro-prompt{transform:translateY(-3px) scale(1.025);box-shadow:0 22px 55px #000a,0 0 0 6px #4c9cff40}
.demo-intro-prompt{width:min(300px,85%);display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 26px;border:2px solid #a9d2ff;border-radius:18px;background:linear-gradient(145deg,#398cf4,#1769d4);box-shadow:0 18px 45px #0009,0 0 0 4px #368bff35;transition:transform .2s ease,box-shadow .2s ease;animation:demo-intro-pulse 1.5s ease-in-out infinite}
.demo-intro-prompt strong{font-size:18px;line-height:1.15;letter-spacing:-.02em}
.demo-intro-prompt>span:last-child{font-size:12px;line-height:1.35;color:#e8f3ff}
.demo-mouse{position:relative;width:20px;height:28px;border:2px solid #fff;border-radius:11px;flex:none;box-shadow:0 0 0 1px #ffffff30}
.demo-mouse:before{content:"";position:absolute;top:4px;left:50%;width:3px;height:7px;border-radius:2px;background:#fff;transform:translateX(-50%);animation:demo-wheel-click 1.05s ease-in-out infinite}
.demo-mouse:after{content:"";position:absolute;right:-8px;top:-7px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;animation:demo-click-ring 1.05s ease-out infinite}
@keyframes demo-intro-pulse{50%{box-shadow:0 22px 55px #000a,0 0 0 8px #4c9cff35}}
@keyframes demo-wheel-click{50%{transform:translate(-50%,3px);opacity:.45}}
@keyframes demo-click-ring{0%{transform:scale(.35);opacity:0}35%{opacity:1}100%{transform:scale(1.7);opacity:0}}
.demo-file-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:8px 0;text-align:left}.demo-file-link>span:first-child{color:#438cff;font-size:30px}.demo-file-link>span:last-child{margin-left:auto;color:#999}.demo-file-link strong,.demo-file-row strong{font-size:12px;display:block}.demo-file-link small,.demo-file-row small{font-size:10px;color:#929298;display:block;margin-top:4px}
.demo-section-title{display:flex;justify-content:space-between;align-items:center}.demo-section-title button{background:none;border:0;color:#579dff;font-size:10px}
.demo-app-card{border:1px solid #343438;border-radius:11px;padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.demo-app-card>strong{font-size:13px}.hero .demo-app-card p{font-size:10px;margin:0}
.demo-primary{background:#357fe9;border:0;border-radius:7px;padding:10px 12px;font-size:11px!important;min-height:38px}.demo-primary:hover{background:#468ff7}.demo-primary:disabled{background:#263d31;color:#97d6ad;cursor:default}
.demo-empty{text-align:center;padding:35px 8px}.demo-empty>span{font-size:40px;color:#717782}.demo-empty .demo-primary{display:inline-block}
.demo-back{background:#333338;border:1px solid #45454d;border-radius:7px;padding:8px 10px;margin-bottom:14px;font-size:11px!important}
.demo-workspace{width:100%;height:auto;display:block;border-radius:7px;border:1px solid #45454d}.hero .demo-content .demo-scene-note{font-size:10px;margin:12px 0 0}
.demo-file-row{display:flex;align-items:center;gap:10px;padding:18px 10px;border:1px solid #38383f;border-radius:9px;margin:22px 0}.demo-file-row>span:first-child{font-size:28px;color:#6aa4ff}.demo-transfer{font-size:11px;color:#aaaab1;line-height:1.5;margin-top:20px}
.demo-footnote{font-size:11px;line-height:1.5;color:#737983;padding:12px 2px 0}.demo-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.demo-layout{display:flex;flex-direction:column;height:490px}.windowly-demo .demo-shell{aspect-ratio:16/11}.windowly-demo.is-expanded .demo-shell{aspect-ratio:16/12}.windowly-demo .demo-layout{height:calc(100% - 35px)}.demo-sidebar{flex-direction:row;gap:3px;padding:7px;border-right:0;border-bottom:1px solid #323235}.demo-brand,.demo-sidebar small{display:none}.demo-sidebar button{flex:1;justify-content:center;flex-direction:column;gap:4px;padding:7px 3px;font-size:10px}.demo-nav-icon{font-size:20px;height:22px;align-items:center}.demo-content{padding:18px 15px;flex:1}.demo-content h2{font-size:24px}.demo-open-windows{padding:18px 14px}.demo-intro-overlay{inset:35px 0 0;padding:16px}.demo-intro-prompt{padding:18px 16px}.demo-intro-prompt strong{font-size:16px}.demo-reset,.demo-close{font-size:11px}}
@media(prefers-reduced-motion:reduce){.demo-intro-prompt,.demo-mouse:before,.demo-mouse:after{animation:none}}
.demo-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.demo-catalog-grid .demo-app-card{padding:12px;min-width:0}.demo-catalog-grid .demo-primary{font-size:10px!important;text-align:left}.demo-catalog-grid strong{overflow-wrap:anywhere}
.demo-desktop{position:relative;min-height:290px;border-radius:9px;overflow:hidden;background:radial-gradient(ellipse at 78% 60%,#429be8 0,transparent 42%),radial-gradient(ellipse at 35% 85%,#2563dd 0,transparent 52%),linear-gradient(145deg,#081b50,#1259b5 60%,#72c5f4);padding:14px 10px 55px}
.demo-desktop-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 5px}.demo-desktop-shortcuts button{background:transparent;border:1px solid transparent;border-radius:5px;padding:7px 2px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;font-size:10px;color:white;text-shadow:0 1px 3px #10264a}.demo-desktop-shortcuts button:hover{background:#ffffff25;border-color:#ffffff40}.demo-desktop-shortcuts img{object-fit:contain}.demo-desktop-plus{font-size:32px;line-height:36px}.demo-taskbar{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:10px;padding:9px;background:#e7f2ffe8;color:#123a69;font-size:9px}.demo-taskbar button{border:0;border-radius:4px;background:#ffffffa0;padding:6px;color:#154a8c;font-size:10px}.demo-taskbar .demo-windows-icon{width:17px;height:17px;gap:2px}.demo-taskbar>span{margin-left:auto}
.demo-layout.demo-layout-desktop{display:block;height:auto}
.demo-layout-desktop .demo-sidebar{display:none}
.demo-layout-desktop .demo-content{padding:0;overflow:hidden;margin:0}
.demo-real-desktop{position:relative;width:100%;line-height:0}
.demo-real-desktop>img{display:block;width:100%;height:auto}
.demo-desktop-return{position:absolute;top:12px;right:12px;background:#202020d9;border:1px solid #ffffff50;border-radius:7px;padding:9px 12px;color:#fff;font-size:11px!important;line-height:1.2}
.demo-desktop-hotspot{position:absolute;background:transparent;border:1px solid transparent;border-radius:4px;padding:0}
.demo-desktop-hotspot:hover{background:#ffffff20;border-color:#ffffff80}
.demo-hotspot-powerbi{left:0;top:20.8%;width:5.7%;height:9%}
.demo-hotspot-start{left:29.7%;top:95.5%;width:2.6%;height:3.5%}
.demo-app-preview{background:#f4f5f7;color:#20242b;display:flex;flex-direction:column}
.demo-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#252526;color:#eee;font-size:12px;line-height:1.3}
.demo-preview-toolbar button{background:#353539;border:1px solid #55555b;border-radius:6px;padding:8px;font-size:11px;flex-shrink:0}
.demo-preview-viewport{position:relative;overflow:hidden;width:100%;line-height:0;background:#fff}
.demo-preview-image{display:block;width:100%;height:auto;margin:0}
/* Show only each application's client window; preserve the original assets. */
.demo-preview-powerbi{aspect-ratio:1038/666}
.demo-preview-powerbi img{position:absolute;width:139.499%;max-width:none;left:-21.291%;top:-33.183%}
.demo-preview-arcgis{aspect-ratio:1126/622}
.demo-preview-arcgis img{position:absolute;width:128.597%;max-width:none;left:-18.65%;top:-36.817%}
.demo-preview-visio{aspect-ratio:558/303}
.demo-preview-visio img{position:absolute;width:112.903%;max-width:none;left:-6.093%;top:-25.743%}
.demo-preview-project{aspect-ratio:839/562}
.demo-preview-project img{position:absolute;width:104.291%;max-width:none;left:-2.145%;top:-3.203%}
.demo-preview-note{padding:10px 12px;font-size:10px;line-height:1.4;color:#535965;background:#f4f5f7}
.demo-preview-note a{color:#155bb4;text-decoration:underline}
.demo-start-menu{position:absolute;bottom:6%;left:20%;right:20%;padding:18px;background:#f0f4fcf5;box-shadow:0 8px 30px #0004;border:1px solid #fff8;border-radius:9px;color:#252a32;line-height:1.4;font-size:12px}
.demo-start-menu>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.demo-start-menu button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;border:0;border-radius:5px;padding:8px 2px;background:transparent;overflow-wrap:anywhere}
.demo-start-menu button:hover{background:#fff}
@media(max-width:600px){.demo-preview-toolbar{font-size:10px;gap:5px;padding:8px}.demo-preview-toolbar button{font-size:10px}.demo-start-menu{left:10%;right:10%;padding:12px}}

/* Compact entry hint, consistent app icons. */
.demo-intro-prompt{width:auto;max-width:90%;flex-direction:row;gap:14px;padding:16px 22px;border:1px solid #92bff8;border-radius:999px;animation:none;box-shadow:0 8px 28px #0004}
.demo-intro-prompt strong{font-size:15px;line-height:1.3}
.demo-mouse{width:18px;height:25px}
.demo-app-card>img{object-fit:contain;flex:none}
.demo-primary{white-space:nowrap}
