/* HF4: preserve Nebula; give each task a clear place and bounded width. */
[hidden]{display:none!important}
.sidebar .nav{gap:5px}
.sidebar .nav-item{min-height:46px}
.sidebar .nebula-more{margin-top:5px}
.sidebar .nebula-more summary{font-size:.82rem;padding:12px 14px}
.fx25-destination{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;min-height:72px;min-width:0}
.fx25-destination strong{font-size:.94rem}
.fx25-destination small{color:#a5b9d2;font-size:.78rem;line-height:1.4}
.fx25-destination[aria-current="page"]{border-color:#7ddfff;background:rgba(78,97,170,.22)}
.fx25-destination[data-page="admin"]{grid-column:1/-1;border-color:rgba(91,230,191,.45)}
.collection-scope-tabs{flex-wrap:wrap;gap:8px}
.collection-scope-tabs button{min-height:42px}
.collection-view-switch [role="tab"]{min-height:44px}
.v495-account-dashboard{max-width:1120px;margin-inline:auto}
.main:has(.page[data-page-panel="settings"].active)>.fx492-context,.main:has(#adminPage.active)>.fx492-context{display:none!important}
.page.account-v453-page .account-v453-title{padding:12px 4px 16px;margin-bottom:12px!important;gap:16px}
.page.account-v453-page .account-v453-title h1{font-size:clamp(26px,3vw,34px)!important;line-height:1.2}
.page.account-v453-page .account-v453-title>div>p:last-child{font-size:14px;line-height:1.55;max-width:600px}
.v495-account-details .account-v453-section-head{display:none}
.v495-account-details #fxExperienceAccount{margin-top:18px;padding:18px}
.v495-account-v2 .v495-account-open,.v495-account-v2 .v495-quick-actions .btn{font-size:12px;min-height:42px}
.v495-account-v2 .v495-account-help{font-size:12px!important}
.v495-account-v2 .v495-account-card{padding:20px!important;min-height:0!important}
.v495-account-v2 .v495-card-heading{gap:12px;flex-wrap:wrap}
.v495-account-v2 .v495-card-heading>div{min-width:120px;flex:1}
.v495-account-v2 .v495-card-heading h2{font-size:1.06rem!important;line-height:1.3}
.v495-account-v2 .v495-account-help{line-height:1.55}
.v495-account-v2 .v495-card-line{gap:12px;min-width:0}
.v495-account-v2 .v495-card-line b{overflow-wrap:anywhere;text-align:right}
.v495-account-advanced{max-width:980px;margin:0 auto 16px!important;align-items:center;gap:12px;flex-wrap:wrap;scroll-margin-top:90px}
.account-v453-shell.v495-account-details{max-width:980px;margin-inline:auto}
.account-v453-shell.v495-account-details .account-v453-hero-grid{grid-template-columns:1fr}
.fx4-data-tools{display:grid;gap:12px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid rgba(140,169,213,.2)}
.fx4-data-tools .btn{justify-self:start;white-space:normal;text-align:left;min-height:44px}
.fx4-admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;margin:0 0 22px;background:rgba(5,15,35,.8);border:1px solid rgba(127,155,229,.3);border-radius:16px}
.fx4-admin-tabs button{border:0;background:transparent;color:#b8c8e3;min-height:46px;padding:10px;border-radius:11px;font:inherit;font-size:.87rem;font-weight:650;cursor:pointer}
.fx4-admin-tabs button[aria-selected="true"]{background:linear-gradient(115deg,rgba(67,164,224,.28),rgba(142,92,240,.35));color:#fff;box-shadow:inset 0 0 0 1px rgba(153,179,255,.45)}
.fx4-admin-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;min-width:0}
.fx4-admin-panel>.integrity-center,.fx4-admin-panel>.integrity-advanced,.fx4-admin-panel>.fx8-admin-advanced,.fx4-admin-panel>.fx8-admin-log,.fx4-admin-panel>#fxArtworkModeration{grid-column:1/-1}
.fx4-admin-panel>.panel,.fx4-admin-panel>.admin-task-card{margin:0!important;min-width:0}
.fx4-admin-panel .admin-task-row{flex-wrap:wrap}
.fx4-admin-panel .btn{white-space:normal;min-height:44px}
.fx4-admin-panel h2{font-size:1.15rem;line-height:1.35}
.fx4-admin-panel p{line-height:1.6;overflow-wrap:anywhere}
.fx4-admin-panel input,.fx4-admin-panel select{max-width:100%;min-width:0}
.fx4-admin-panel .admin-console{max-height:55dvh;overflow:auto}
.fx4-admin-tabs button:focus-visible,.collection-view-switch button:focus-visible,.fx25-destination:focus-visible{outline:2px solid #88e8ff;outline-offset:3px}
@media(min-width:901px) and (max-height:800px){.sidebar{overflow-y:auto}.sidebar .nav-item{padding-block:9px!important;min-height:42px}.sidebar-footer{margin-top:12px!important}}
@media(max-width:1100px){.fx4-admin-panel{grid-template-columns:1fr}.v495-account-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){
 .mobile-tabs.fx492-mobile-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .mobile-tabs [data-page="settings"]{display:none!important}
 .mobile-tabs button{min-width:0;min-height:48px}
 .mobile-tabs .fx492-scan-tab:not(.active){background:transparent!important;color:#b8c8e3!important;box-shadow:none!important}
 .mobile-tabs #fx25MobileMore.active{color:#d2c2ff;background:rgba(119,86,226,.15)}
 .fx4-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}
 .fx4-admin-panel{gap:14px}.fx4-admin-panel .admin-task-card{padding:18px!important}
 .v495-account-v2 .v495-account-card{padding:17px!important}
 .v495-account-advanced{scroll-margin-top:75px}
 #adminPage .admin-hero{padding:20px!important;margin-bottom:18px!important}
 #adminPage .admin-hero h1{font-size:1.6rem!important;line-height:1.2}
 #adminPage .admin-hero p{font-size:.9rem}
}
@media(max-width:600px){.v495-account-v2{grid-template-columns:1fr!important}.fx25-navigator{padding:18px!important}#fx25Destinations{gap:8px}.fx25-destination{padding:12px!important}.fx25-destination small{font-size:.75rem}.fx4-admin-tabs button{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.fx4-admin-tabs button{transition:none}}
