/* Floating Applications view, with independently drawn application artwork. */
.desktop:has(.apps-panel:not([hidden])) .window,.desktop:has(.apps-panel:not([hidden])) .desktop-icons,.desktop:has(.apps-panel:not([hidden])) .desktop-widgets{visibility:hidden;pointer-events:none}
.apps-panel{position:fixed;inset:44px 0 100px;z-index:3500;display:flex;align-items:center;flex-direction:column;gap:12px;transform:none;width:auto;max-height:none;border:0;border-radius:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;padding:0;overflow:visible;pointer-events:none}
.apps-backdrop{position:fixed;inset:28px 0 88px;z-index:-1;background:#090a113b;backdrop-filter:blur(12px) saturate(.65);-webkit-backdrop-filter:blur(12px) saturate(.65);pointer-events:auto}
.apps-search-capsule{position:relative;display:flex;align-items:center;gap:13px;width:min(520px,calc(100vw - 32px));height:76px;min-height:76px;padding:0 24px;border:1px solid #ffffff12;border-radius:44px;background:linear-gradient(125deg,#111214c9,#090b0dea);backdrop-filter:blur(36px);-webkit-backdrop-filter:blur(36px);box-shadow:0 12px 30px #0003,inset 0 1px 0 #ffffff06;pointer-events:auto;color:#a9aaad}
.apps-search-capsule:focus-within{border-color:#ffffff26}
.apps-overview{display:grid;place-items:center;width:31px;height:35px;flex-shrink:0;border-radius:10px;color:#8f9093}
.apps-overview .symbol{width:27px;height:27px;stroke-width:1.8}
.apps-search-capsule input{border:0;background:none;flex:1;min-width:0;font-size:21px;letter-spacing:-.55px;line-height:1.4;color:#e7e7ea;user-select:text}
.apps-search-capsule input::placeholder{color:#96979b;opacity:1}
.apps-search-capsule input::-webkit-search-cancel-button{width:14px;height:14px}
.apps-more{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:50%;color:#a2a3a7}
.apps-more:hover,.apps-overview:hover{background:#ffffff0c;color:#e2e3e6}
.apps-options{position:absolute;right:12px;top:68px;z-index:3;width:210px;padding:6px;border:1px solid #ffffff25;border-radius:13px;background:#26262bef;box-shadow:0 15px 40px #0008;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px)}
.apps-options button{display:block;width:100%;text-align:left;padding:8px 12px;border-radius:7px;color:#e8e8ec;font-size:12px}
.apps-options button:hover,.apps-options button:focus-visible{background:#ffffff14}
.apps-options [aria-checked=true]:after{content:'✓';float:right;color:#aaaebc}
.apps-options-divider{height:1px;background:#ffffff15;margin:5px}
.apps-library{width:min(845px,calc(100vw - 32px));max-height:540px;min-height:0;flex:1;display:flex;flex-direction:column;padding:17px 19px 0;border:1px solid #ffffff25;border-radius:32px;background:linear-gradient(130deg,#37373bdb,#252528ed 65%,#343439ed);backdrop-filter:blur(46px) saturate(.5);-webkit-backdrop-filter:blur(46px) saturate(.5);box-shadow:0 24px 70px #0007,inset 0 1px 0 #ffffff08;overflow:hidden;pointer-events:auto}
.apps-categories{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;scrollbar-width:none;white-space:nowrap;padding:0 0 14px;mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent)}
.apps-categories::-webkit-scrollbar{display:none}
.apps-category{padding:4px 10px;border-radius:11px;flex-shrink:0;background:#ffffff0c;color:#bcbcc1;font-size:13px;font-weight:600;line-height:1.25;transition:background .12s,color .12s}
.apps-category:hover{background:#ffffff17;color:#f1f1f3}
.apps-category[aria-pressed=true]{background:#ffffff24;color:#f5f5f7;box-shadow:inset 0 1px 0 #ffffff12}
.apps-category:focus-visible{outline-offset:-2px}
.apps-library-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff20 transparent;padding:7px 0 15px;mask-image:linear-gradient(#000 calc(100% - 10px),transparent);-webkit-mask-image:linear-gradient(#000 calc(100% - 10px),transparent)}
.launcher-icon-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:17px 9px}
.apps-pinned{padding:7px 0 16px;margin-bottom:17px;border-bottom:1px solid #ffffff23}
.launcher-icon-grid .apps-tile{display:flex;min-width:0;align-items:center;flex-direction:column;gap:7px;padding:3px 2px 0;border-radius:12px;color:#f4f4f5;font-size:12px;font-weight:500;line-height:1.4;cursor:pointer;outline-offset:3px}
.launcher-icon-grid .apps-tile img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 4px 5px #0005);transition:transform .16s,filter .16s;pointer-events:none}
.launcher-icon-grid .apps-tile span{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;letter-spacing:-.1px;text-shadow:0 1px 2px #0005}
.launcher-icon-grid .apps-tile:hover img{transform:translateY(-3px) scale(1.045);filter:drop-shadow(0 7px 7px #0006)}
.launcher-icon-grid .apps-tile:active img{transform:scale(.96)}
.apps-result-count{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.apps-empty{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;gap:12px;padding:45px 15px 65px;color:#babac1;text-align:center;line-height:1.5}
.apps-empty strong{color:#e3e3e8;font-size:15px}
.apps-empty p{font-size:12px}
.apps-empty button{background:#ffffff12;border:1px solid #ffffff14;padding:7px 12px;border-radius:8px;font-size:12px;color:#ededf0}
/* Artwork is shared with the Dock, Finder, and Spotlight. */
.dock-icon img{filter:drop-shadow(0 2px 2px #0003)}
@media(min-height:850px){.apps-panel{top:calc((100dvh - 650px)/2);bottom:auto;height:630px}}
@media(max-width:760px){.apps-panel{inset:43px 0 91px}.apps-search-capsule{height:68px;min-height:68px}.apps-library{width:calc(100vw - 28px);padding:15px 15px 0;border-radius:28px}.launcher-icon-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:17px 8px}.launcher-icon-grid .apps-tile img{width:58px;height:58px}.launcher-icon-grid .apps-tile{font-size:11px}.apps-category{font-size:12px}.apps-options{top:60px}}
@media(max-width:600px){.apps-panel{gap:11px}.apps-search-capsule{width:calc(100vw - 28px);height:63px;min-height:63px;padding:0 19px;gap:11px}.apps-search-capsule input{font-size:20px}.apps-overview .symbol{width:24px;height:24px}.apps-library{max-height:none;padding:14px 12px 0;border-radius:25px}.launcher-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 7px}.launcher-icon-grid .apps-tile img{width:57px;height:57px}.launcher-icon-grid .apps-tile{font-size:10px}.apps-pinned{margin-bottom:16px;padding-bottom:16px}.apps-categories{gap:7px;padding-bottom:12px}.apps-category{font-size:11px}.apps-options{top:56px}}
@media(max-width:380px){.launcher-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.launcher-icon-grid .apps-tile{font-size:11px}}
@media(max-height:560px){.apps-panel{inset:36px 0 85px;gap:8px}.apps-search-capsule{height:54px;min-height:54px}.apps-library{padding-top:12px}.apps-categories{padding-bottom:8px}.apps-pinned{padding:0 0 11px;margin-bottom:11px}.launcher-icon-grid .apps-tile img{width:48px;height:48px}.launcher-icon-grid{row-gap:12px}.apps-options{top:49px}}
@media(prefers-reduced-motion:reduce){.launcher-icon-grid .apps-tile:hover img{transform:none}}
