/* Shared image navigation: six direct workspaces and one custom collection. */
.image-custom-sources[hidden],.image-custom-overlay[hidden]{display:none!important}
.image-custom-section{flex-shrink:0;min-width:0}
.image-custom-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:7px 8px;border:0;border-radius:10px;background:transparent;color:#496373;text-align:left;cursor:pointer}
.image-custom-toggle strong{font-size:12px;font-weight:500;line-height:1.4}
.image-custom-icon{display:grid;place-items:center;width:19px;height:19px;flex-shrink:0;color:#7895a4}
.image-custom-icon svg{width:19px;height:19px}
.image-custom-chevron{display:grid;place-items:center;margin-left:auto;transition:transform .2s ease}
.image-custom-chevron svg,.image-custom-group>svg{width:12px;height:12px;flex-shrink:0}
.image-custom-section.is-expanded>.image-custom-toggle .image-custom-chevron{transform:rotate(90deg)}
.image-custom-toggle:hover{background:#ffffff35}
.image-custom-toggle.has-current-tool{color:#006deb;background:#ffffff60}
.image-custom-expand{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .22s ease,opacity .18s ease,visibility .22s}
.image-custom-section.is-expanded>.image-custom-expand{grid-template-rows:1fr;opacity:1;visibility:visible}
.image-custom-groups{overflow:hidden;min-height:0}
.image-custom-group{display:flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 29px);min-height:34px;margin-left:29px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#5d7180;font-size:12px;text-align:left;cursor:pointer}
.image-custom-group:hover,.image-custom-group[aria-expanded=true]{background:#ffffff80;color:#126bc8}
.image-custom-group.is-current-group{color:#006deb}
.image-custom-toggle:focus-visible,.image-custom-group:focus-visible,.image-custom-menu button:focus-visible{outline:2px solid #3888e8;outline-offset:-2px}
.image-custom-home{grid-column:1 / -1;text-align:left;border:1px solid #ffffffc9;border-radius:16px;background:#ffffff60;box-shadow:0 3px 12px #59768d05}
.image-custom-home>.image-custom-toggle{gap:15px;min-height:61px;padding:13px 17px;border-radius:16px;color:#455366}
.image-custom-home .image-custom-icon{width:34px;height:34px;border-radius:11px;background:#e8eff680;color:#7c9bac}
.image-custom-home .image-custom-groups{padding-left:29px;padding-right:10px}
.image-custom-home .image-custom-group:last-child{margin-bottom:10px}
.lg-shell .lg-home-grid .image-custom-section button:hover{translate:none;box-shadow:none}
.image-custom-overlay{position:fixed;z-index:10900;padding:5px;max-height:calc(100dvh - 16px);overflow:auto;border:1px solid #ffffffce;border-radius:12px;background:#f5f8fbee;box-shadow:0 10px 36px #263e6126,0 2px 7px #263e6114;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);animation:image-custom-appear .13s ease-out}
.image-custom-menu{display:grid;gap:2px}
.image-custom-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#455366;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;text-align:left;cursor:pointer}
.image-custom-menu button span{font-size:12px;font-weight:500}
.image-custom-menu button>svg{width:17px;height:17px;flex-shrink:0;color:#7c95ac}
.image-custom-menu button:hover,.image-custom-menu button:focus-visible{background:#e0ebf6;color:#176bc6}
.image-custom-menu button.active{background:#dbe9f8;color:#006deb}
.image-custom-menu button:disabled{opacity:.45;cursor:default}
.lg-dark .image-custom-toggle,.lg-dark .image-custom-group{color:#c1d4e1}
.lg-dark .image-custom-toggle:hover,.lg-dark .image-custom-group:hover,.lg-dark .image-custom-group[aria-expanded=true]{background:#b5d0ef17;color:#ddeaff}
.lg-dark .image-custom-toggle.has-current-tool,.lg-dark .image-custom-group.is-current-group{color:#87bdf8}
.lg-dark .image-custom-home{background:#7893b21a;border-color:#afc6e21f}
.lg-dark .image-custom-home .image-custom-icon{background:#7893b21a;color:#a6bdd2}
.lg-dark .image-custom-overlay{background:#263547f2;border-color:#afc6e233;box-shadow:0 10px 36px #06111f66}
.lg-dark .image-custom-menu button{color:#d0dce9}
.lg-dark .image-custom-menu button:hover,.lg-dark .image-custom-menu button:focus-visible,.lg-dark .image-custom-menu button.active{background:#557ca73d;color:#a1cdff}
@keyframes image-custom-appear{from{opacity:0;transform:translateX(-3px)}to{opacity:1;transform:translateX(0)}}
@media(max-height:780px){.image-custom-home>.image-custom-toggle{min-height:48px;padding:8px 14px}}
@media(prefers-reduced-motion:reduce){.image-custom-expand,.image-custom-chevron{transition:none}.image-custom-overlay{animation:none}}
