/* Shared Vista desktop and account controls. */
.session-leaving body{visibility:hidden}
.admin-service-window iframe.service-frame{display:block;flex:1;width:100%;min-height:0;border:0;background:#fff}
body[data-account]{--taskbar-height:52px}
body[data-account] #desktop{overflow:hidden}
body[data-account] .desktop-icons{left:14px;top:18px;right:auto;bottom:auto;display:grid;grid-auto-flow:column;grid-auto-columns:88px;grid-template-columns:none;grid-template-rows:repeat(var(--desktop-rows,6),88px);gap:5px 8px;width:max-content;max-width:calc(100% - 28px);overflow:visible;align-content:start;scrollbar-width:none}
body[data-account] .desktop-icon{width:88px;min-height:0;height:88px;padding:5px 2px;gap:5px;justify-content:flex-start}
body[data-account] .desktop-icon svg{width:47px;height:47px;flex-shrink:0}
body[data-account] .desktop-icon span{font-size:11px;line-height:1.2;max-width:86px;white-space:normal;min-height:0}
body[data-account] .desktop-icons::-webkit-scrollbar{display:none}
.desktop-pages{position:absolute;bottom:9px;left:15px;display:flex;align-items:center;gap:11px;padding:4px 6px;background:#fdf4fa88;border:1px solid #fff8;border-radius:5px;font-size:11px}
.desktop-pages button{background:#fff6;border:1px solid #c8a6bb;border-radius:3px;padding:3px 8px}
body[data-account] .taskbar{height:52px;padding-top:0;gap:7px}
body[data-account] .task-buttons{min-width:40px;flex:1}
body[data-account] .task-button{min-width:37px;max-width:145px;padding:4px 7px}
body[data-account] .system-tray{padding-left:5px;margin-left:0;gap:3px;min-width:0}
body[data-account] .taskbar-stats{position:static;display:flex;align-items:center;justify-content:flex-start;overflow:visible;height:100%;margin:0;padding:0 3px;border:0;border-left:1px solid #fff4;background:none;flex-shrink:0;white-space:nowrap}
body[data-account] .taskbar-stat{display:block;padding:3px 6px;min-width:43px;line-height:1.25;text-align:center}
body[data-account] .taskbar-stat span{display:block;font-size:9px;color:#62465d}
body[data-account] .taskbar-stat strong{display:block;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
body[data-account] #clock-button{min-width:80px;padding:4px 7px}
.tray-drive{display:flex;gap:2px;align-items:center;padding:7px 4px;border:1px solid transparent;border-radius:4px;color:#674b60}
.tray-drive:hover,.tray-drive[aria-expanded=true]{background:#fff5!important;border-color:#fff8}
.tray-drive svg{width:24px;height:24px;filter:drop-shadow(0 1px 1px #fff6)}
.tray-caret{font-size:13px;line-height:1}
.drive-popup{position:fixed;right:14px;bottom:59px;width:330px;max-width:calc(100vw - 28px);max-height:calc(100vh - 82px);padding:9px;overflow:auto;z-index:20000}
.drive-popup>header{display:flex;align-items:center;gap:8px;padding:5px 7px 10px;font-size:13px;text-shadow:0 1px #fff}
.drive-popup>header svg{width:25px;height:25px}
.drive-popup>header button{margin-left:auto;background:none;padding:2px 5px;font-size:17px}
.drive-list{border:1px solid #ceb8c8;border-radius:4px;background:linear-gradient(#fffdfc,#f7eff6);padding:5px 11px}
.drive-row{padding:10px 0;border-bottom:1px solid #eadfe7}
.drive-row:last-child{border-bottom:0}
.drive-row>div:first-child{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:7px}
.drive-row svg{width:22px;height:22px}
.drive-row strong{font-weight:500;flex:1;overflow-wrap:anywhere}
.drive-row .drive-percent{font-variant-numeric:tabular-nums;font-size:11px}
.drive-meter{height:11px;border:1px solid #cbbac5;border-radius:3px;background:#e9e1e7;box-shadow:inset 0 1px 3px #0001;overflow:hidden}
.drive-meter i{display:block;height:100%;background:linear-gradient(#d8ece9,#90bdbc 49%,#6ba29f 50%,#b8d8c8);transition:width .25s}
.drive-meter[data-full=true] i{background:linear-gradient(#f1becd,#c26788)}
.drive-meter[data-unavailable=true]{background:repeating-linear-gradient(135deg,#eae3e9 0,#eae3e9 5px,#f5f0f4 5px,#f5f0f4 10px);box-shadow:none;opacity:.7}
.drive-meter[data-unavailable=true] i{display:none}
.drive-row small{display:block;margin-top:6px;font-size:10px;color:#866b7e}
.tray-more-stats{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px solid #fff7;margin:9px 0 0;padding:8px 3px 2px}
.tray-more-stats span{font-size:9px;color:#75586b}
.tray-more-stats strong{display:block;font-size:11px;font-weight:500;margin-top:3px}
.session-control{display:flex!important;align-items:center;gap:7px;text-decoration:none}
.session-control svg{width:22px;height:22px}
.start-right .session-control{margin-top:5px;border:1px solid #b392a7;border-radius:4px;padding:7px 8px;background:linear-gradient(#fff9,#ead1e080);box-shadow:inset 0 1px #fffa;font-size:11px;color:#62445a;text-shadow:0 1px #fffd}
.start-right .session-control:hover{background:linear-gradient(#fff,#e8cbdf)}
body[data-account] .quick-launch{gap:2px}
@media(max-width:1080px){body[data-account] .taskbar-stat{padding-left:4px;padding-right:4px;min-width:39px}body[data-account] .taskbar-stat[data-stat=uptime]{display:none}.tray-more-stats{display:grid}body[data-account] .connection-icon{display:none}}
@media(max-width:820px){body[data-account] .taskbar-stat[data-stat=swap],body[data-account] .taskbar-stat[data-stat=vms]{display:none}body[data-account] .quick-launch{display:none}body[data-account] .taskbar{gap:4px}body[data-account] .task-button span{display:none}}
@media(max-width:650px){body[data-account] .taskbar-stat[data-stat=temp-cpu],body[data-account] .taskbar-stat[data-stat=igpu],body[data-account] .taskbar-stat[data-stat=rtx]{display:none}body[data-account] .start-orb{margin-left:7px}body[data-account] .task-divider,body[data-account] #tray-volume{display:none}body[data-account] #clock-button{min-width:71px;font-size:10px}body[data-account] .task-buttons{gap:3px}.tray-drive{padding-left:2px;padding-right:2px}.drive-popup{right:7px;max-width:calc(100vw - 14px)}}

@media(max-width:400px){body[data-account] .start-orb{width:46px;height:46px;margin-left:5px;padding:5px}body[data-account] .start-orb>img{width:32px;height:32px}body[data-account] .taskbar-stat{min-width:34px;padding:2px}body[data-account] #clock-button{min-width:62px;padding-left:3px;padding-right:3px}body[data-account] .tray-drive svg{width:20px;height:20px}body[data-account] .task-buttons{min-width:32px}body[data-account] .task-button{min-width:32px;padding:3px}}
