﻿/* 
   OpenOcta Official Style Restoration
   Faithful 1:1 CSS for Unified Dashboard
*/

:root {
    --c-primary: #121317;
    --c-regular: #45474A;
    --c-secondary: #777A7E;
    --c-white: #FFFFFF;
    --c-green: #24BA51;
    --c-red: #E12828;
    --bg-grey: #F7F9FB;
    --primary-gradient: linear-gradient(135deg, #24BA51 0%, #1a9e43 100%);
    --nav-height: 60px;
}

/* View Switching */
.view-section {
    display: none !important;
}

.view-section.active {
    display: block !important;
}

/* Specific overrides for flex/grid views if needed */
#docs-view.active {
    display: flex !important;
}

#skills-view.active {
    display: block !important;
}

/* ===========================
   Markdown Body - GitHub Style
   =========================== */
.markdown-body {
    color: #24292e;
    font-size: 16px;
    line-height: 1.75;
    word-wrap: break-word;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Headings */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #121317;
}

.markdown-body h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #eaecef;
    margin-top: 0;
}

.markdown-body h2 {
    font-size: 1.5em;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #eaecef;
}

.markdown-body h3 {
    font-size: 1.25em;
}

.markdown-body h4 {
    font-size: 1.1em;
}

.markdown-body h5 {
    font-size: 0.95em;
}

.markdown-body h6 {
    font-size: 0.9em;
    color: #6a737d;
}

/* Paragraphs */
.markdown-body p {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Links */
.markdown-body a {
    color: #0366d6;
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
    color: #024ea3;
}

/* Images & Videos */
.markdown-body img,
.markdown-body video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    border: 1px solid #e1e4e8;
}

/* Lists */
.markdown-body ul,
.markdown-body ol {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-body li {
    margin-bottom: 6px;
    line-height: 1.75;
}

.markdown-body li+li {
    margin-top: 4px;
}

.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ul,
.markdown-body ol ol {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Blockquotes */
.markdown-body blockquote {
    padding: 12px 20px;
    margin: 0 0 16px 0;
    color: #6a737d;
    border-left: 4px solid #24BA51;
    background: #f6fff9;
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.markdown-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Inline code */
.markdown-body code {
    padding: 0.2em 0.45em;
    margin: 0 2px;
    font-size: 87%;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    color: #e8476a;
    white-space: nowrap;
}

/* Code blocks */
.markdown-body pre {
    position: relative;
    padding: 18px 20px;
    overflow: auto;
    font-size: 87%;
    line-height: 1.6;
    background-color: #1e2330;
    color: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.markdown-body pre code {
    background: none;
    padding: 0;
    border: none;
    color: inherit;
    font-size: inherit;
    white-space: pre;
    border-radius: 0;
}

/* Tables */
.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
}

.markdown-body table th,
.markdown-body table td {
    padding: 10px 16px;
    border: 1px solid #e1e4e8;
    text-align: left;
    vertical-align: top;
}

.markdown-body table th {
    background: #f6f8fa;
    font-weight: 600;
    color: #121317;
    font-size: 14px;
}

.markdown-body table tr:nth-child(even) {
    background-color: #fafbfc;
}

.markdown-body table tr:hover {
    background-color: #f0f9f3;
}

/* Horizontal Rule */
.markdown-body hr {
    height: 2px;
    padding: 0;
    margin: 28px 0;
    background-color: #eaecef;
    border: 0;
    border-radius: 2px;
}

/* Strong / Em */
.markdown-body strong {
    font-weight: 600;
    color: #121317;
}

.markdown-body em {
    font-style: italic;
}

/* Strikethrough */
.markdown-body del {
    color: #6a737d;
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica Neue, Helvetica, -apple-system, BlinkMacSystemFont, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-primary);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities (from official lib.scss) */
.df {
    display: flex;
}

.flex-v {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.ai-c {
    align-items: center;
}

.jc-c {
    justify-content: center;
}

.jc-sb {
    justify-content: space-between;
}

.m-lr-auto {
    margin-left: auto;
    margin-right: auto;
}

.ta-c {
    text-align: center;
}

.ta-l {
    text-align: left;
}

.oh {
    overflow: hidden;
}

.pos-r {
    position: relative;
}

.z0 {
    z-index: 0;
}

.db {
    display: block;
}

.dn {
    display: none !important;
}

.cp {
    cursor: pointer;
}

.trans {
    transition: all 0.3s;
}

.ell {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.c-primary {
    color: var(--c-primary);
}

.c-regular {
    color: var(--c-regular);
}

.c-secondary {
    color: var(--c-secondary);
}

.c-white {
    color: var(--c-white);
}

.c-green {
    color: var(--c-green);
}

.c-red {
    color: var(--c-red);
}

.bg-grey {
    background-color: var(--bg-grey);
}

.fw-700 {
    font-weight: 700;
}

.container {
    width: 1200px;
}

/* Header / Navbar */
.navbar {
    height: var(--nav-height);
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EEEFF1;
    overflow: visible;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    height: var(--nav-height);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.h-100 {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Hide mobile elements on desktop by default */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav-panel {
    display: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-brand img {
    height: 28px;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    height: var(--nav-height);
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: var(--nav-height);
}

.nav-item:hover,
.nav-item.active {
    color: var(--c-green);
}

.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* View Sections */
.view-section {
    display: none;
    width: 100%;
}

.view-section.active {
    display: block;
}

/* Official Home Page Sections */

/* QR Code Popups and Floating */
.docs-tree ul {
    list-style: none;
    padding-left: 15px;
}

.docs-tree>ul {
    padding-left: 0;
}

.doc-tree-item {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    color: var(--c-regular);
    transition: all 0.2s;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.doc-tree-item:hover {
    background: #f5f5f5;
    color: var(--c-green);
}

.doc-tree-item.active {
    background: #e9f7ee;
    color: var(--c-green);
    font-weight: 600;
}

.doc-tree-item.level-0 {
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
}

.doc-tree-item.level-1 {
    padding-left: 20px;
}

.doc-tree-item.level-2 {
    padding-left: 35px;
}

.doc-tree-folder {
    font-weight: bold;
    color: var(--c-primary);
}

/* Permission Control Classes */
.admin-only {
    display: none !important;
}

body.is-admin .admin-only {
    display: flex !important;
}

/* Add Document Button should also be admin only */
#add-doc-btn {
    display: none !important;
}

body.is-admin #add-doc-btn {
    display: block !important;
}

.doc-item-actions {
    margin-left: auto;
    gap: 8px;
    align-items: center;
}

.doc-tree-item:hover .doc-item-actions.admin-only {
    /* Only show on hover if it's already displayed by admin class */
    opacity: 1;
}

body:not(.is-admin) .doc-item-actions {
    display: none !important;
}

.action-icon {
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 2px 4px;
    border-radius: 4px;
}

.action-icon:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.action-icon.delete:hover {
    color: #dc3545;
}

.action-icon.add:hover {
    color: var(--c-green);
}

.official-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.official-input:focus {
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(36, 186, 81, 0.1);
}

.banner-qrcode-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #EEEFF1;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.qrcode-trigger:hover .banner-qrcode-popup {
    display: block;
}

.banner-qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 40px;
    border: 8px solid transparent;
    border-top-color: #fff;
}

.banner-qrcode-popup .qrcode-img {
    width: 160px;
    height: 160px;
}

.banner-qrcode-popup .qrcode-tit {
    margin-top: 8px;
    font-size: 14px;
    color: var(--c-primary);
}

.consult-qrcode-floating {
    padding: 8px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #EEEFF1;
    box-shadow: 0px 4px 10px 0px rgba(119, 122, 126, 0.14);
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.consult-qrcode-floating .consult-qrcode-img {
    width: 128px;
    height: 128px;
}

.consult-qrcode-floating .consult-qrcode-tit {
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: var(--c-regular);
}

.consult-qrcode-floating span {
    display: block;
}

/* Banner */
.banner-wrap {
    height: 576px;
    background: #fff;
}

.banner-cont {
    width: 1200px;
    height: 100%;
}

.banner-wrap .title {
    font-size: 56px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 24px;
}

.banner-wrap .sub-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 32px;
}

.banner-wrap .desc {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 32px;
}

.btn-primary-official {
    display: inline-flex;
    align-items: center;
    background: var(--c-green);
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-secondary-official {
    display: inline-flex;
    align-items: center;
    border: 1px solid #EEEFF1;
    color: var(--c-primary);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    margin-left: 16px;
}

.banner-wrap .image-cont img {
    width: 440px;
    height: auto;
}

/* News Bar */
.home-news-wrap {
    width: 100%;
    height: 50px;
    background: linear-gradient(92deg, #F4F5F6 0%, #F0F4FA 100%);
}

.home-news-wrap .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.news-icon {
    margin-right: 8px;
    width: 16px;
}

/* Product Docs / Advantages */
.product-docs-wrap {
    padding: 120px 0 84px;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 64px;
}

.doc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: flex-start;
}

.doc-item {
    width: calc((100% - 36px) / 2);
    padding: 40px;
    border-radius: 10px;
    background-color: var(--bg-grey);
    transition: transform 0.2s;
}

.doc-item:hover {
    transform: scale(1.02);
}

.doc-item-img {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.doc-item-tit {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

.doc-item-desc {
    font-size: 16px;
    line-height: 28px;
    color: var(--c-secondary);
    white-space: pre-line;
}

/* Resource Grid */
.resource-section-item .doc-item {
    width: calc((100% - 36px * 3) / 4);
    text-align: center;
}

.resource-section-item .doc-item-img {
    margin: 0 auto 24px;
}

/* Download Section */
.download-wrap {
    padding: 120px 0 84px;
}

.system-item {
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    background: var(--bg-grey);
    margin-bottom: 36px;
    position: relative;
}

.system-item-tit {
    gap: 10px;
    margin-bottom: 20px;
}

.system-item-tit img {
    width: 24px;
}

.system-item-tit-text {
    font-size: 20px;
    font-weight: bold;
}

.system-item-desc {
    font-family: monospace;
    background: #eee;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
}

/* Apply Banner */
.apply-wrap {
    padding: 120px 0;
}

.apply-container {
    height: 264px;
    background: #0E3A1F url('/assets/home/apply_bg.webp') center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.apply-wrap .title {
    font-size: 37px;
    font-weight: bold;
    margin-bottom: 28px;
}

/* 
   Skill Dashboard Styles (Legacy Integrated)
   Ensuring it looks consistent but secondary
*/
.skills-header {
    background: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.skills-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.search-container {
    max-width: 600px;
    margin: 40px auto;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 50px;
    border-radius: 30px;
    border: 1px solid #eee;
    font-size: 16px;
    background: #f9f9f9;
}

.dashboard-container {
    display: flex;
    width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding-bottom: 100px;
}

/* Full-width override for Docs */
#docs-view.dashboard-container {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
    padding-bottom: 0;
    height: calc(100vh - var(--nav-height));
}

#docs-view .sidebar {
    width: 320px;
    border-right: 1px solid #EEEFF1;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-grey);
}

#docs-view .content-area {
    height: 100%;
    overflow-y: auto;
    padding: 60px 80px;
    background: #fff;
}

#docs-view .markdown-body {
    max-width: 900px;
    margin: 0 auto;
}

.sidebar {
    width: 240px;
}

.sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

#category-list {
    list-style: none;
}

#category-list li {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.2s;
}

#category-list li.active,
#category-list li:hover {
    background: var(--c-green);
    color: #fff;
}

.skills-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.skill-card {
    background: #fff;
    border: 1px solid #EEEFF1;
    padding: 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {

    .container,
    .nav-container,
    .banner-cont,
    .dashboard-container {
        width: 100%;
        padding: 0 24px;
    }

    .banner-wrap {
        height: auto;
        padding: 60px 0;
    }

    .banner-cont {
        flex-direction: column;
        text-align: center;
    }

    .banner-wrap .image-cont {
        display: none;
    }

    .doc-item {
        width: 100%;
    }

    .resource-section-item .doc-item {
        width: calc(50% - 18px);
    }
}

@media screen and (max-width: 768px) {
    .banner-wrap .title {
        font-size: 32px;
    }

    .banner-wrap .sub-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .apply-wrap .title {
        font-size: 24px;
        text-align: center;
    }

    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Docs view mobile - content must be scrollable and visible */
    #docs-view.dashboard-container {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    #docs-view .sidebar {
        width: 100% !important;
        height: auto !important;
        max-height: 40vh !important;
        overflow-y: auto !important;
        border-right: none !important;
        border-bottom: 1px solid #EEEFF1 !important;
        position: static !important;
        background: #fff !important;
        flex-shrink: 0 !important;
    }

    #docs-view .content-area {
        width: 100% !important;
        height: auto !important;
        min-height: 60vh !important;
        overflow-y: visible !important;
        padding: 20px 16px !important;
        flex: 1 !important;
    }

    .consult-qrcode-floating {
        /* Keep visible on mobile, but make it smaller */
        display: block;
        transform: scale(0.85);
        transform-origin: bottom right;
        right: 15px;
        bottom: 15px;
        padding: 10px;
    }

    .modal-content {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .resource-section-item .doc-list {
        flex-direction: column;
    }

    .resource-section-item .doc-item {
        width: 100%;
    }
}

/* Editor Improvements */
#docs-editor-container {
    flex-direction: column;
}

.EasyMDEContainer {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.editor-toolbar {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.CodeMirror {
    flex: 1;
    height: auto !important;
    border: none !important;
    background: #fafbfc !important;
}

#docs-editor-preview {
    background: #fff;
    border-left: 1px solid #e1e4e8;
}


/* Strict Visibility for Editor */
#docs-editor-container:not(.dn) {
    display: flex !important;
    flex-direction: column;
}

/* Mobile Priority Styles - COMPREHENSIVE OVERRIDE AT THE END */
@media screen and (max-width: 992px) {

    /* Hide Desktop Navigation Elements */
    .navbar nav,
    .navbar .nav-menu,
    .navbar .nav-actions,
    header nav,
    .nav-item {
        display: none !important;
    }

    /* Adjust Navigation Container */
    .navbar .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 20px !important;
        height: var(--nav-height) !important;
    }

    /* Show Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        gap: 5px !important;
        cursor: pointer !important;
        z-index: 1100 !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        background-color: var(--c-primary) !important;
        transition: 0.3s !important;
        pointer-events: none !important;
    }

    /* Mobile Navigation Panel */
    .mobile-nav-panel {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: #FFFFFF !important;
        z-index: 1099 !important;
        flex-direction: column !important;
        padding: 20px !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        overflow-y: auto !important;
    }

    .mobile-nav-panel.active {
        display: flex !important;
    }

    .mobile-nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }

    .mobile-nav-item {
        padding: 15px 10px !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        color: var(--c-primary) !important;
        border-bottom: 1px solid #f0f0f0 !important;
        cursor: pointer !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .mobile-nav-item.active {
        color: var(--c-green) !important;
        background: #f9fffb !important;
    }

    .mobile-nav-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px 0 !important;
        margin-bottom: 40px !important;
    }

    .mobile-nav-footer .btn-secondary-official,
    .mobile-nav-footer .btn-primary-official {
        margin: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
    }

    /* Docs View mobile fix - disable fixed height so content is visible */
    #docs-view.dashboard-container {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    #docs-view .sidebar {
        width: 100% !important;
        height: auto !important;
        max-height: 40vh !important;
        overflow-y: auto !important;
        border-right: none !important;
        border-bottom: 1px solid #EEEFF1 !important;
        position: static !important;
        background: #fff !important;
        flex-shrink: 0 !important;
    }

    #docs-view .content-area {
        width: 100% !important;
        height: auto !important;
        min-height: 50vh !important;
        overflow-y: visible !important;
        padding: 20px 16px !important;
        flex: 1 !important;
    }
}