#left_menu {
    display: none;
}

#content {
    margin-left: 0;
}

.dbstudio_gate {
    margin: 20px 0;
}

.dbstudio_toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 10px;
}

.dbstudio_theme_switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
    font: 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.dbstudio_theme_switch a {
    padding: 4px 11px;
    border-radius: 999px;
    color: inherit;
    opacity: 0.72;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.dbstudio_theme_switch a:hover {
    background: rgba(148, 163, 184, 0.22);
    color: inherit;
    opacity: 1;
    text-decoration: none;
}

.dbstudio_theme_switch a.active {
    background: linear-gradient(135deg, #0ea5e9, #7c3aed);
    color: #ffffff;
    opacity: 1;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.30);
}

.dbstudio_theme_switch a:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.dbstudio_frame_wrap {
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 500px;
    border: 1px solid #ccc;
    background: #fff;
}

.dbstudio_frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
