/* V1-M10f.3b: Seaice page shell parity with Ocean's Atmosphere-style map/sidebar.
 * Map is geographic context from the existing inactive Atmosphere page only.
 * No Seaice mesh selection, model execution, or Ocean/Atmosphere state mutation. */
#v2-module-home:has(#v2-seaice-workspace:not([hidden])) {
    padding: 0; overflow: hidden; background: transparent; pointer-events: none;
}
#v2-module-home:has(#v2-seaice-workspace:not([hidden])) .v2-home-wrap {
    width: 100%; max-width: none; margin: 0; padding: 0;
}
#v2-module-home:has(#v2-seaice-workspace:not([hidden])) #v2-seaice-workspace {
    position: fixed; top: 0; bottom: 0; left: 0; transform: none;
    display: flex; flex-direction: row; align-items: stretch;
    width: clamp(320px, 22.5vw, 460px); max-width: 100vw; height: 100dvh;
    margin: 0; padding: 0; overflow: visible;
    background: #fff; color: #263a50; border: 0; border-right: 1px solid #becbd9;
    border-radius: 0; box-shadow: 2px 0 10px rgba(0, 0, 0, .17);
    pointer-events: auto; font: 12px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
#v2-seaice-workspace #v2-seaice-page-rail {
    flex: 0 0 40px; width: 40px; height: 100%; display: flex; flex-direction: column;
    background: #fff; border-right: 1px solid #e0e7ef;
}
#v2-seaice-workspace #v2-seaice-page-rail button {
    flex: 0 0 40px; display: block; width: 40px; height: 40px; padding: 0; margin: 0;
    border: 0; border-radius: 0; background: #fff; color: #35516b;
    text-align: center; cursor: pointer; font-size: 16px; line-height: 40px;
}
#v2-seaice-workspace #v2-seaice-page-rail #v2-seaice-page-config {
    background: #0074d9; color: #fff;
}
#v2-seaice-workspace #v2-seaice-page-rail #v2-seaice-page-home {
    margin-top: auto; border-top: 1px solid #e0e7ef;
}
#v2-seaice-workspace #v2-seaice-page-rail button:hover { background: #e7f1fb; color: #034a86; }
#v2-seaice-workspace #v2-seaice-page-rail #v2-seaice-page-config:hover { background: #0869b5; color: #fff; }
#v2-seaice-workspace #v2-seaice-sidebar-column {
    flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; min-height: 0;
    background: #fff;
}
#v2-seaice-workspace #v2-seaice-sidebar-header {
    display: flex; align-items: center; gap: 6px; height: 40px; min-height: 40px;
    padding: 0 11px; background: #0074d9; color: #fff;
}
#v2-seaice-workspace #v2-seaice-sidebar-header h2 {
    color: #fff; font-size: 15px; margin: 0; font-weight: 650;
}
#v2-seaice-workspace #v2-seaice-sidebar-header span {
    border: 1px solid #c0d5e6; border-radius: 3px; background: #fff;
    color: #26507a; padding: 0 3px; font-size: 9px; font-weight: 700;
}
#v2-seaice-workspace #v2-seaice-sidebar-scroll {
    flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain;
    padding: 11px 9px 18px; background: #fff;
}
#v2-seaice-workspace #v2-seaice-sidebar-scroll > header {
    padding: 0 0 12px; background: transparent; border: 0;
}
#v2-seaice-workspace #v2-seaice-sidebar-scroll > header .v2-home-eyebrow {
    color: #527393; letter-spacing: .06em; font-size: 9px;
}
#v2-seaice-workspace #v2-seaice-sidebar-scroll > header h2 {
    margin: 6px 0; font-size: 13px; color: #26394c; font-weight: 750;
}
#v2-seaice-workspace #v2-seaice-sidebar-scroll > header p { font-size: 11px; color: #687b8d; }
#v2-seaice-workspace .v2-seaice-controls {
    display: block; margin: 0 0 10px; padding: 10px 8px; background: #f4f7fa;
    border: 1px solid #dce4ed; border-radius: 5px;
}
#v2-seaice-workspace .v2-seaice-controls label { display: block; font-size: 11px; }
#v2-seaice-workspace .v2-seaice-controls select {
    display: block; width: 100%; max-width: none; margin-top: 5px;
    padding: 7px 8px; font-size: 12px;
}
#v2-seaice-workspace #v2-seaice-status {
    margin: 0 0 8px; padding: 7px; font-size: 11px; line-height: 1.45;
    background: #f0f6fc; border-left: 3px solid #1680d1;
}
#v2-seaice-workspace #v2-seaice-summary {
    padding: 3px 2px; font-size: 11px; line-height: 1.5; font-weight: 600;
}
#v2-seaice-workspace .v2-seaice-editor-launcher {
    margin: 10px 0 0; padding: 10px 9px; border-radius: 5px;
}
#v2-seaice-workspace .v2-seaice-editor-launcher h3 { font-size: 12px; }
#v2-seaice-workspace .v2-seaice-editor-launcher p { font-size: 11px; }
#v2-seaice-workspace #v2-seaice-editor-open { width: 100%; padding: 9px; }
#v2-seaice-workspace .v2-seaice-inventories {
    grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 0;
}
#v2-seaice-workspace .v2-seaice-inventories > section { padding: 9px; border-radius: 5px; }
#v2-seaice-workspace .v2-seaice-inventories h3 { font-size: 11px; margin-bottom: 4px; }
#v2-seaice-workspace .v2-seaice-inventories pre { font-size: 10px; max-height: 110px; }
#v2-seaice-workspace .v2-seaice-sidebar-footer { padding: 8px 0; border-top: 1px solid #e0e7ef; }
#v2-seaice-workspace .v2-seaice-sidebar-footer #v2-seaice-back { width: 100%; border-radius: 5px; padding: 8px; font-size: 11px; }
#v2-seaice-workspace .v2-seaice-sidebar-footer p { color: #61778c; font-size: 10px; margin: 8px 0 0; }
#v2-seaice-workspace #v2-seaice-editor-backdrop,
#v2-seaice-workspace #v2-seaice-editor-dialog { pointer-events: auto; }
#v2-module-home:has(#v2-seaice-editor-dialog:not([hidden])) { pointer-events: auto; }
@media (max-width: 650px) {
    #v2-module-home:has(#v2-seaice-workspace:not([hidden])) #v2-seaice-workspace { width: 100vw; }
}
