:root {
    --senzing-royal: #003D89;
    --senzing-scarlet: #F43014;
    --senzing-cyan: #03D8FF;
    --senzing-black: #1A1A1C;
    --senzing-gold: #FFC60D;
    --senzing-green: #8DC435;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1A1A1C;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --header-height: 60px;
    --sidebar-width: 19%;
    --sidebar-max-width: 280px;
    --sidebar-min-width: 200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    width: 100%;
}
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}

/* Consistent scrollbar width in both themes */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Accessibility: Focus indicators */
*:focus {
    outline: 2px solid var(--senzing-cyan);
    outline-offset: 2px;
}
a:focus, button:focus {
    outline: 2px solid var(--senzing-cyan);
    outline-offset: 2px;
}

.site-header {
    background-color: #000000;
    color: white;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--senzing-scarlet);
    width: 100%;
}
.header-container {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-width: 0;
}
.logo { flex-shrink: 0; min-width: 0; }
.logo a { display: flex; align-items: center; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 0;
}
.theme-toggle {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--senzing-cyan);
    color: var(--senzing-cyan);
}
[data-theme="dark"] .theme-toggle {
    border-color: var(--senzing-cyan);
    color: var(--senzing-cyan);
}
.main-container { 
    display: flex; 
    max-width: 100%; 
    margin: 0 auto; 
    min-width: 0; 
    width: 100%;
    position: relative;
}

.sidebar {
    width: var(--sidebar-width);
    max-width: var(--sidebar-max-width);
    min-width: var(--sidebar-min-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 12px;
    position: sticky;
    top: var(--header-height);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 1;
    scrollbar-gutter: stable;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--senzing-royal);
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.sidebar-title a {
    color: inherit;
    text-decoration: none;
}

.sidebar-title a:visited {
    color: var(--senzing-royal);
}

.sidebar-title a:hover {
    color: var(--senzing-cyan);
}

.sidebar-menu { list-style: none; }
.sidebar-menu li { margin-bottom: 4px; }

.sidebar-section {
    margin-bottom: 8px;
}

.sidebar-section-header {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.sidebar-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--senzing-royal);
}

.sidebar-toggle i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.sidebar-section.expanded > .sidebar-section-header .sidebar-toggle i {
    transform: rotate(90deg);
}

.sidebar-section-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 14px;
}

.sidebar-section-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--senzing-royal);
}

.sidebar-section-link:visited {
    color: var(--text-primary);
}

.sidebar-section.active > .sidebar-section-header .sidebar-section-link {
    background-color: var(--senzing-royal);
    color: white;
}

.sidebar-section.active > .sidebar-section-header .sidebar-section-link:visited {
    color: white;
}

/* Prevent nested sections from inheriting active styling */
.sidebar-submenu .sidebar-section > .sidebar-section-header .sidebar-section-link {
    background-color: transparent;
    color: var(--text-primary);
}

.sidebar-submenu .sidebar-section.active > .sidebar-section-header .sidebar-section-link {
    background-color: var(--senzing-royal);
    color: white;
}

.sidebar-submenu {
    list-style: none;
    margin-left: 28px;
    margin-top: 0;
    padding-left: 12px;
    border-left: 2px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
}

.sidebar-section.expanded > .sidebar-submenu {
    max-height: 2000px;
    opacity: 1;
    margin-top: 4px;
}

.sidebar-submenu li {
    margin-bottom: 2px;
}
.sidebar-submenu a {
    display: block;
    padding: 6px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 13px;
    background-color: transparent;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.sidebar-submenu a:hover {
    background-color: var(--bg-tertiary);
    color: var(--senzing-royal);
}
.sidebar-submenu li.active > a {
    background-color: var(--senzing-royal);
    color: white;
    font-weight: 500;
}
.content { 
    flex: 1; 
    padding: 12px; 
    max-width: 65%;
    overflow-wrap: break-word; 
    word-wrap: break-word; 
    min-width: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}
.breadcrumb { 
    margin-bottom: 24px; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.breadcrumb ol { 
    list-style: none; 
    display: flex; 
    gap: 8px; 
    font-size: 14px;
    flex-wrap: wrap;
}
.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-secondary);
}
.breadcrumb a { 
    color: var(--senzing-royal); 
    text-decoration: none;
    word-break: break-word;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .active { 
    color: var(--text-secondary);
    word-break: break-word;
}
.doc-content h1 {
    font-size: 36px;
    font-weight: 500;
    color: var(--senzing-black);
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}
.doc-content .lead {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content-body h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--senzing-black);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--senzing-scarlet);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content-body h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--senzing-royal);
    margin-top: 32px;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Heading anchor links */
.doc-content > h1,
.doc-list > h1,
.home-content h1,
.content-body h1,
.content-body h2,
.content-body h3 {
    position: relative;
}

.heading-anchor {
    display: inline-block;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
    color: var(--senzing-royal);
    font-size: 0.75em;
    padding: 4px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

.heading-anchor:hover {
    background-color: var(--bg-secondary);
    color: var(--senzing-cyan);
}

.doc-content > h1:hover .heading-anchor,
.doc-list > h1:hover .heading-anchor,
.home-content h1:hover .heading-anchor,
.content-body h1:hover .heading-anchor,
.content-body h2:hover .heading-anchor,
.content-body h3:hover .heading-anchor {
    opacity: 1;
}

.heading-anchor i {
    display: inline-block;
}

/* Dark theme heading anchor */
[data-theme="dark"] .heading-anchor {
    color: var(--senzing-cyan);
}

[data-theme="dark"] .heading-anchor:hover {
    background-color: var(--bg-secondary);
    color: var(--senzing-gold);
}

.content-body p { 
    margin-bottom: 16px; 
    overflow-wrap: break-word; 
    word-wrap: break-word;
    max-width: 100%;
}
.content-body ul, .content-body ol { 
    margin-bottom: 16px; 
    padding-left: 24px;
    max-width: 100%;
}
.content-body li { 
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.content-body a img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-body a img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.content-body table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}
.content-body table thead {
    background-color: var(--bg-secondary);
    display: table-header-group;
}
.content-body table tbody {
    display: table-row-group;
}
.content-body table tr {
    display: table-row;
}
.content-body table th,
.content-body table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
    display: table-cell;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content-body table th {
    font-weight: 500;
    color: var(--senzing-royal);
}
.content-body table img {
    margin: 8px 0;
}
.content-body code {
    background-color: #e1e4e8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}
.content-body pre {
    background-color: #000000;
    color: var(--senzing-cyan);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 24px;
    position: relative;
    max-width: 100%;
    white-space: pre;
}
.content-body pre code { 
    background-color: transparent !important; 
    padding: 0; 
    color: inherit;
    word-break: normal;
    white-space: pre;
}
.content-body pre code * {
    background-color: transparent !important;
}
.content-body pre * {
    background-color: transparent !important;
}

/* Enable wrapping for command/shell/bash code blocks */
.content-body pre code.language-command,
.content-body pre code.language-bash,
.content-body pre code.language-shell,
.content-body pre code.language-console,
.content-body pre code.language-terminal {
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
}

.copy-code-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.copy-code-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.content-body a:not(.linkbox-link) { 
    color: var(--senzing-royal); 
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content-body a:not(.linkbox-link):hover { 
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.doc-card {
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--senzing-royal);
    transition: all 0.3s;
    min-width: 0;
}
.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 137, 0.1);
    border-left-color: var(--senzing-scarlet);
}
.doc-card h3 { 
    font-size: 20px; 
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.doc-card h3 a { 
    color: var(--senzing-black); 
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.doc-card h3 a:hover { color: var(--senzing-royal); }
.doc-card p { 
    color: var(--text-secondary); 
    font-size: 14px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Doc card with icon layout */
.doc-card-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.doc-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 8px;
    background-color: var(--bg-tertiary);
    color: var(--senzing-royal);
    margin-top: 4px;
}

.doc-card-content {
    flex: 1;
    min-width: 0;
}

.doc-card-with-icon h3 {
    margin-top: 0;
}

/* Icon color variants based on common use cases */
.doc-card[data-icon-type="warning"] .doc-card-icon {
    color: #ff9800;
    background-color: #fff3e0;
}

.doc-card[data-icon-type="danger"] .doc-card-icon,
.doc-card[data-icon-type="breaking"] .doc-card-icon {
    color: var(--senzing-scarlet);
    background-color: #ffebee;
}

.doc-card[data-icon-type="new"] .doc-card-icon,
.doc-card[data-icon-type="success"] .doc-card-icon {
    color: var(--senzing-green);
    background-color: #e8f5e9;
}

.doc-card[data-icon-type="info"] .doc-card-icon {
    color: var(--senzing-cyan);
    background-color: #e3f2fd;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}
.page-navigation a {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    max-width: 45%;
    min-width: 0;
}
.page-navigation a:hover { background-color: var(--bg-secondary); }
.page-navigation .prev { align-items: flex-start; }
.page-navigation .next { align-items: flex-end; text-align: right; }
.nav-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.nav-title { 
    font-size: 16px; 
    font-weight: 500; 
    color: var(--senzing-royal);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.toc {
    width: 16%;
    max-width: 240px;
    min-width: 180px;
    padding: 24px 0 24px 24px;
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
}
.toc-wrapper {
    position: sticky;
    top: 24px;
}
.toc-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.toc-list {
    list-style: none;
    border-left: 2px solid var(--border-color);
}
.toc-item {
    margin-bottom: 4px;
}
.toc-link {
    display: block;
    padding: 4px 0 4px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    margin-left: -2px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.toc-link:hover {
    color: var(--senzing-royal);
}
.toc-link.active {
    color: var(--senzing-royal);
    border-left-color: var(--senzing-royal);
    font-weight: 500;
}
.toc-level-3 {
    padding-left: 12px;
}
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}
.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-nav { 
    display: flex; 
    gap: 24px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}
.footer-nav a:hover { color: var(--senzing-royal); }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}
.mobile-menu-toggle:hover {
    color: var(--senzing-cyan);
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Linkbox Styles */
.linkbox {
    display: block;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 100%;
}

.linkbox:hover {
    border-color: var(--senzing-royal);
    box-shadow: 0 4px 12px rgba(0, 61, 137, 0.1);
    transform: translateY(-2px);
}

.linkbox-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.linkbox-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
}

.linkbox-content {
    flex: 1;
    min-width: 0;
}

.linkbox-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.linkbox-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.linkbox-description code {
    font-size: 13px;
    padding: 2px 4px;
}

.linkbox-arrow {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.linkbox:hover .linkbox-arrow {
    transform: translateX(4px);
}

/* Linkbox Style Variants */
.linkbox-info {
    border-left: 4px solid var(--senzing-royal);
}

.linkbox-info .linkbox-icon {
    color: var(--senzing-royal);
}

.linkbox-tip {
    border-left: 4px solid var(--senzing-green);
}

.linkbox-tip .linkbox-icon {
    color: var(--senzing-green);
}

.linkbox-warning {
    border-left: 4px solid #ff9800;
}

.linkbox-warning .linkbox-icon {
    color: #ff9800;
}

.linkbox-danger {
    border-left: 4px solid var(--senzing-scarlet);
}

.linkbox-danger .linkbox-icon {
    color: var(--senzing-scarlet);
}

/* Expand/Collapse Block Styling */
.expand-block {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.expand-summary {
    padding: 16px;
    background-color: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    user-select: none;
    list-style: none;
}

.expand-summary::-webkit-details-marker {
    display: none;
}

.expand-icon {
    transition: transform 0.2s ease;
    color: var(--senzing-royal);
    flex-shrink: 0;
}

.expand-block[open] .expand-icon {
    transform: rotate(90deg);
}

.expand-title {
    flex: 1;
}

.expand-content {
    padding: 20px;
    background-color: var(--bg-primary);
}

/* Ensure code blocks inside expand maintain proper formatting */
.expand-content pre {
    margin-top: 0;
    margin-bottom: 0;
    white-space: pre;
}

.expand-content > *:first-child {
    margin-top: 0;
}

.expand-content > *:last-child {
    margin-bottom: 0;
}

/* Breakpoint for narrow desktop/tablet landscape - hamburger menu at ~150% zoom */
@media (max-width: 960px) {
    .mobile-menu-toggle { display: block; }
    .main-container { 
        display: block;
        width: 100%;
        overflow-x: hidden;
    }
    .sidebar {
        position: fixed;
        left: 0;
        top: var(--header-height);
        width: 280px;
        max-width: 280px;
        min-width: 280px;
        height: calc(100vh - var(--header-height));
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    }
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    .content { 
        padding: 24px 32px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 1280px) {
    /* Hide TOC at this width to give more space to content */
    .toc { display: none; }
    .content { max-width: 80%; }
}

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 22%;
        --sidebar-max-width: 240px;
        --sidebar-min-width: 180px;
    }
    .content { padding: 24px 32px; max-width: 100%; }
    .header-container { padding: 0 16px; }
    .doc-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --sidebar-width: 200px;
        --sidebar-max-width: 200px;
        --sidebar-min-width: 200px;
    }
    .content {
        padding: 20px 24px;
    }
    .header-search {
        max-width: 250px;
    }
    .doc-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Mobile breakpoint - switch to mobile layout */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    .logo-text {
        font-size: 24px;
    }
    .header-search {
        flex: 1;
        max-width: 300px;
        margin: 0 12px;
    }
    .theme-toggle {
        padding: 8px 12px;
        font-size: 13px;
    }
    .theme-toggle i {
        font-size: 14px;
    }
    .theme-toggle span { display: none; }
    .content { 
        padding: 16px;
    }
    .doc-content h1 {
        font-size: 28px;
    }
    .content-body h2 {
        font-size: 24px;
        margin-top: 32px;
    }
    .content-body h3 {
        font-size: 20px;
        margin-top: 24px;
    }
    .breadcrumb ol {
        font-size: 13px;
    }
    .doc-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .page-navigation {
        flex-direction: column;
        gap: 12px;
    }
    .page-navigation a {
        max-width: 100%;
    }
    .sidebar-submenu {
        margin-left: 16px;
        padding-left: 8px;
    }
    .sidebar-toggle,
    .sidebar-section-link,
    .sidebar-submenu a {
        padding: 10px 12px;
        font-size: 15px;
    }
    .content-body img {
        margin: 16px 0;
    }
    .site-footer {
        margin-top: 32px;
        padding: 32px 0;
    }
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: left;
        padding: 0 16px;
        align-items: flex-start;
    }
    .footer-nav {
        width: 100%;
        justify-content: center;
    }
    .linkbox {
        margin: 1rem 0;
    }
    .linkbox-link {
        padding: 16px;
        gap: 12px;
    }
    .linkbox-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .linkbox-title {
        font-size: 16px;
    }
    .linkbox-description {
        font-size: 13px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    .logo-reg {
        font-size: 10px;
    }
    .header-search {
        max-width: 200px;
    }
    .header-search-input {
        font-size: 13px;
        padding: 6px 10px 6px 32px;
    }
    .content {
        padding: 12px;
    }
    .doc-content h1 {
        font-size: 24px;
    }
    .content-body h2 {
        font-size: 20px;
    }
    .content-body h3 {
        font-size: 18px;
    }
    .breadcrumb ol {
        font-size: 12px;
    }
    .linkbox-link {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .linkbox-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .linkbox-arrow {
        display: none;
    }
}
