/* V1-M10f.3c: Seaice follows Ocean's Atmosphere sidebar isolation.
 * Keep the original V1 map mounted and its sidebar state untouched. */
body:has(#v2-module-home:not([hidden]) #v2-seaice-workspace:not([hidden])) #studio-sidebar,
body:has(#v2-module-home:not([hidden]) #v2-seaice-workspace:not([hidden])) #sidebar-reopen {
    visibility: hidden !important;
    pointer-events: none !important;
}
/* Match Ocean's 40px left configuration rail and status presentation. */
#v2-seaice-workspace #v2-seaice-page-rail button[data-seaice-preset] {
    display: flex; align-items: center; justify-content: center;
    color: #31516d; background: #fff; border-bottom: 1px solid #e3e7eb;
    font-size: 17px;
}
#v2-seaice-workspace #v2-seaice-page-rail button[data-seaice-preset][aria-pressed="true"] {
    background: #0074d9; color: #fff; box-shadow: inset 3px 0 #004d87;
}
#v2-seaice-workspace #v2-seaice-page-rail button[data-seaice-preset]:disabled {
    opacity: .6; cursor: not-allowed;
}
#v2-seaice-workspace #v2-seaice-sidebar-header { padding: 0 11px; }
#v2-seaice-workspace #v2-seaice-sidebar-scroll > header .v2-home-eyebrow { font-size: 9px; }
/* Remove bulky inventory boxes from the primary sidebar while retaining them
 * as accessible, optional, source-only reference views. */
#v2-seaice-workspace #v2-seaice-source-reference { margin: 12px 0; }
#v2-seaice-workspace #v2-seaice-source-reference > summary {
    padding: 8px 4px; font-size: 11px; font-weight: 650;
    color: #1d5482; cursor: pointer;
}
#v2-seaice-workspace #v2-seaice-source-reference:not([open]) .v2-seaice-inventories { display: none; }
#v2-seaice-workspace #v2-seaice-about {
    margin: 12px 0 24px; padding: 13px; border-radius: 8px;
    border: 1px solid #d8e3ed; background: #f6f9fc;
    color: #243a52; font-size: 12px; line-height: 1.55;
}
#v2-seaice-workspace #v2-seaice-about h3 { margin: 0 0 8px; font-size: 14px; color: #243a52; }
#v2-seaice-workspace #v2-seaice-about p { margin: 6px 0 10px; }
#v2-seaice-workspace #v2-seaice-editor-open { background: #0074d9; }
/* Preserve modal overlay and avoid painting the inactive Atmosphere sidebar
 * over Seaice's backdrop. Browser map remains a neutral geographic reference. */
#v2-module-home:has(#v2-seaice-editor-dialog:not([hidden])) { pointer-events: auto; }
