/* V2-M9f.3c5: Modal-side Ocean namelist selectors and source-backed help.
 * Presentation is isolated to Ocean; V1 Atmosphere and model state untouched. */
#v2-ocean-workspace #v2-ocean-editor-dialog-body {
    flex: 1 1 auto;
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
#v2-ocean-workspace #v2-ocean-editor-dialog-body > #v2-ocean-editor-dialog-content {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav {
    display: flex;
    flex: 0 0 58px;
    flex-direction: column;
    width: 58px;
    min-width: 58px;
    min-height: 0;
    padding: 0;
    margin: 0;
    background: #f6f8fb;
    border-right: 1px solid #dce4ed;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav button {
    flex: 0 0 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 5px 2px;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #e3e9ef;
    color: #34485c;
    background: transparent;
    box-shadow: none;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav button i {
    font-size: 17px;
    line-height: 20px;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav button[aria-pressed="true"] {
    color: #fff;
    background: #0074d9;
    box-shadow: inset 3px 0 #004e96;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav button:hover:not(:disabled) {
    color: #fff;
    background: #176dab;
    border-color: #e3e9ef;
}
#v2-ocean-workspace #v2-ocean-dialog-mode-nav button:focus-visible {
    outline: 3px solid #ffbf48;
    outline-offset: -3px;
}
#v2-ocean-workspace #v2-ocean-editor-dialog-content .v2-ocean-option-metadata {
    color: #586e82;
    font-size: 12px;
}
#v2-ocean-workspace #v2-ocean-editor-dialog-content .v2-ocean-option-description {
    grid-column: 1 / -1;
    margin: 5px 0 1px;
    padding: 9px 12px;
    border-left: 3px solid #2b80c7;
    border-radius: 3px;
    background: #f0f6fc;
    color: #29445f;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
}
#v2-ocean-workspace #v2-ocean-editor-dialog-content .v2-ocean-option-possible-values,
#v2-ocean-workspace #v2-ocean-editor-dialog-content .v2-ocean-option-native-default {
    grid-column: 1 / -1;
    margin: 1px 0 0;
    color: #52667c;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@media (max-width: 650px) {
    #v2-ocean-workspace #v2-ocean-dialog-mode-nav {
        flex-basis: 46px;
        width: 46px;
        min-width: 46px;
    }
    #v2-ocean-workspace #v2-ocean-dialog-mode-nav button {
        flex-basis: 52px;
        height: 52px;
        font-size: 8px;
    }
    #v2-ocean-workspace #v2-ocean-dialog-mode-nav button i { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    #v2-ocean-workspace #v2-ocean-dialog-mode-nav button { transition: none; }
}
