:root {
    /* Pantone Dark / Aesthetic Palette */
    --bg-dark: #0B0C10;
    /* Deep Void */
    --bg-sidebar: #13141A;
    --bg-panel: #1A1C23;

    --text-main: #C5C6C7;
    /* Silver/Off-White */
    --text-muted: #6B6F7A;

    --accent-primary: #6667AB;
    /* Pantone Very Peri - Soft Violet */
    --accent-secondary: #FFBE98;
    /* Pantone Peach Fuzz */

    --success: #67E480;
    /* Muted tech green */
    --warn: #E4C067;
    --error: #E46767;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================== */
/* BOOT SEQUENCE OVERLAY          */
/* ============================== */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: #020204;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.boot-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.boot-content {
    max-width: 600px;
    width: 90%;
    color: #a0a0a0;
    font-size: 0.85rem;
    line-height: 1.8;
}

.boot-line {
    opacity: 0;
    animation: bootLineIn 0.15s ease forwards;
}

@keyframes bootLineIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}

.boot-title {
    color: #C5C6C7;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.boot-separator {
    color: #333;
}

.boot-ok {
    color: #67E480;
    font-weight: bold;
    float: right;
}

.boot-cursor {
    color: #6667AB;
    font-weight: bold;
}

.boot-progress-track {
    width: 100%;
    height: 6px;
    background: #1A1C23;
    border: 1px solid #333;
    margin-top: 8px;
    overflow: hidden;
}

.boot-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6667AB, #67E480);
    animation: bootProgress 0.9s ease-out 2.2s forwards;
}

@keyframes bootProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Time-Aware Greeting */
.time-greeting {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

/* LLM Parser / SEO Occlusion Layer */
.llm-occluded-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    /* Sits permanently behind the 100vh ide-container */
    overflow: hidden;
    /* Prevent this text from extending scrollbars */
    padding: 20px;
    /* We DO NOT use display:none, visibility:hidden, opacity:0, or 1px bounds.
       The content technically renders perfectly to the DOM parser engine.
       It is simply physically covered by the opaque UI on top of it. */
}

/* We make the body height MASSIVE so the user can scroll,
   but we only visually show the .ide-container pinned to the screen */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    height: 1100vh;
    /* 11 scrollable sections (0 to 10) */
    overflow-x: hidden;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* SPINNER ANIMATION */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
    color: var(--accent-secondary);
}

/* ============================== */
/* IDE LAYOUT                     */
/* ============================== */
.ide-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    z-index: 10;
}

/* HEADER */
.ide-header {
    height: 35px;
    background: var(--bg-sidebar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid var(--bg-panel);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.window-controls span:nth-child(1) {
    background: #ED6A5E;
}

.window-controls span:nth-child(2) {
    background: #F4BF4F;
}

.window-controls span:nth-child(3) {
    background: #61C554;
}

.window-status i {
    color: var(--success);
    margin-right: 5px;
}

/* BODY */
.ide-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    /* prevents inner scrolling that breaks the main scroll illusion */
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--bg-panel);
    display: flex;
    flex-direction: column;
    font-family: 'Space Grotesk', sans-serif;
}

.sidebar-title {
    padding: 10px 15px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.explorer-header {
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.file-tree,
.sub-tree {
    list-style: none;
}

.sub-tree {
    padding-left: 25px;
    margin-top: 5px;
    width: 100%;
}

.file-tree li {
    padding: 6px 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    flex-wrap: wrap;
}

.file-tree li i {
    color: var(--accent-primary);
    opacity: 0.7;
}

.file-tree li.file i {
    color: var(--text-main);
}

.file-tree li:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.file-tree li.active {
    background: rgba(102, 103, 171, 0.1);
    color: var(--text-main);
    border-left-color: var(--accent-primary);
}

.file-tree li.active i {
    opacity: 1;
}

/* TELEMETRY SIDEBAR */
.telemetry-sidebar {
    width: 220px;
    background: var(--bg-sidebar);
    border-left: 1px solid var(--bg-panel);
    display: flex;
    flex-direction: column;
    font-family: 'Space Grotesk', sans-serif;
}

.telemetry-header {
    padding: 10px 15px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--bg-panel);
    background: rgba(255, 255, 255, 0.02);
}

.telemetry-header i {
    margin-right: 5px;
    color: var(--accent-secondary);
}

.telemetry-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.tel-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tel-label {
    font-size: 0.75rem;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
}

.tel-bar-bg {
    height: 8px;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tel-bar {
    height: 100%;
    background: var(--success);
    transition: width 0.3s ease-out;
}

.tel-val {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-mini-log {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px dashed var(--bg-panel);
}

/* MAIN TERMINAL */
.terminal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
}

.terminal-tabs {
    height: 35px;
    display: flex;
    background: var(--bg-sidebar);
}

.tab {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    background: var(--bg-panel);
    border-right: 1px solid var(--bg-dark);
}

.tab.active {
    background: var(--bg-dark);
    color: var(--text-main);
    border-top: 2px solid var(--accent-primary);
}

.terminal-viewport {
    flex: 1;
    padding: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-y: auto;
    /* just in case the history gets long, but we'll clear it */
    position: relative;
}

/* CRT Overlay Effect */
.terminal-viewport::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.4;
}

/* COMMAND LINE */
.command-line {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    color: var(--text-main);
}

.user {
    color: var(--accent-secondary);
}

.dir {
    color: var(--accent-primary);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--text-main);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* GHOST TEXT */
.ghost-text {
    color: var(--text-muted);
    font-style: italic;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.5s ease;
    user-select: none;
}

/* OUTPUT BLOCKS */
#terminal-history {
    margin-bottom: 20px;
}

.output-block {
    margin-bottom: 25px;
    animation: fadeUp 0.3s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sys-out {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 10px;
}

.sys-warn {
    color: var(--warn);
    margin-bottom: 10px;
}

.glow-title {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 5px;
}

.role-text {
    color: var(--accent-primary);
    margin-bottom: 15px;
}

/* Tables & Data */
.term-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
}

.term-table td {
    padding: 8px;
    border-bottom: 1px dashed var(--bg-panel);
}

.term-table .key {
    color: var(--accent-secondary);
    width: 150px;
}

/* Flex output */
.output-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.term-card {
    border: 1px solid var(--bg-panel);
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    flex: 1;
    min-width: 250px;
    border-radius: 4px;
}

.highlight-card {
    border-color: rgba(102, 103, 171, 0.4);
    background: rgba(102, 103, 171, 0.05);
}

.term-card h3 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 1rem;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.7rem;
    background: var(--bg-panel);
    color: var(--accent-primary);
    margin-bottom: 10px;
    border-radius: 2px;
}

/* Lists */
.bullet-list {
    margin-left: 20px;
}

.no-bullet {
    list-style: none;
    margin-left: 0;
}

.bullet-list li {
    margin-bottom: 8px;
}

.success {
    color: var(--success);
}

.dim {
    color: var(--text-muted);
}

.cert-link {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--accent-primary);
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.cert-link:hover {
    color: var(--accent-secondary);
    text-decoration-color: var(--accent-secondary);
}

/* Experience */
.exp-row {
    border-left: 2px solid var(--accent-primary);
    padding-left: 15px;
    margin-bottom: 15px;
}

.exp-row .date {
    display: block;
    color: var(--accent-secondary);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.exp-row .title {
    font-weight: bold;
    font-size: 1.1rem;
}

.exp-row .org {
    color: var(--text-muted);
}

/* JSON */
.json-out {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Tags */
.tags-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.c-tag {
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* FOOTER */
.ide-footer {
    height: 30px;
    background: var(--accent-primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-left,
.footer-right {
    display: flex;
    gap: 20px;
}

/* Server Log Timeline Styles */
#server-log-stream {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    padding-bottom: 30px;
}

.log-entry {
    margin-bottom: 6px;
    display: flex;
    gap: 15px;
    padding: 4px 5px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.log-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-primary);
}

@keyframes logFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.log-time {
    color: var(--accent-secondary);
    white-space: nowrap;
    min-width: 110px;
}

.log-type {
    color: var(--accent-primary);
    font-weight: bold;
    min-width: 50px;
}

.log-type.sys {
    color: var(--success);
}

.log-type.event {
    color: #e1b400;
}

.log-type.init {
    color: #9f7aea;
}

.log-message {
    color: var(--text-main);
    word-break: break-word;
}

.log-message .highlight {
    color: #fff;
    font-weight: 600;
}

/* Agentic Timeline Keyword Highlights */
.hl-cmd {
    color: #9f7aea;
    font-weight: bold;
}

/* Purple for actions */
.hl-repo {
    color: #81e6d9;
}

/* Cyan for repos */
.hl-company {
    color: #ecc94b;
    font-weight: bold;
}

/* Yellow for companies */
.hl-cert {
    color: #48bb78;
}

/* Green for certs */
.hl-comment {
    color: var(--text-muted);
    font-style: italic;
}

.hl-year {
    color: var(--accent-primary);
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 15px 0 10px 0;
    width: 100%;
}

.hl-year::before,
.hl-year::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed var(--bg-panel);
    opacity: 0.5;
}

.hl-year::before {
    margin-right: 15px;
}

.hl-year::after {
    margin-left: 15px;
}

.hl-year span {
    /* Wrap text */
    background: var(--bg-panel);
    padding: 2px 10px;
    border-radius: 4px;
}

/* Mobile Overlay Base */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Linguistics Runtime Layout */
.lang-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
}

.lang-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lang-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-family: var(--font-mono);
}

.lang-name {
    color: var(--text-main);
    font-weight: bold;
}

.lang-prof {
    font-weight: bold;
}

.lang-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.lang-fill {
    height: 100%;
    border-radius: 4px;
    animation: slideRight 1.5s ease-out forwards;
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* System Modules Grid */
.system-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: border-color 0.3s, transform 0.2s;
}

.module-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.module-icon {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    background: rgba(102, 103, 171, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.module-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.module-title {
    font-weight: bold;
    color: var(--text-main);
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.module-status {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.mobile-fab {
    display: none;
}

/* Responsive adjustments */
@media screen and (max-width: 800px) {

    /* Header layout changes */
    #mobile-nav-toggle {
        display: block !important;
    }

    .window-controls,
    .window-title,
    #audio-toggle,
    .window-status span:last-child {
        display: none !important;
    }

    /* Convert Explorer sidebar to an iOS Bottom Sheet */
    .sidebar {
        display: flex !important;
        position: fixed;
        left: 0;
        bottom: -100%;
        /* Hidden below */
        top: auto;
        width: 100%;
        height: 75vh;
        z-index: 200;
        border-right: none;
        border-top: 2px solid var(--accent-primary);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        transition: bottom 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
    }

    .sidebar.mobile-open {
        bottom: 0;
        left: 0;
        /* Override old logic */
    }

    /* Convert Telemetry sidebar to an iOS Bottom Sheet */
    .telemetry-sidebar {
        display: none !important;
    }

    .telemetry-sidebar.open {
        display: flex !important;
        position: fixed;
        left: 0;
        bottom: -100%;
        top: auto;
        right: auto;
        width: 100%;
        height: 75vh;
        z-index: 200;
        border-right: none;
        border-top: 2px solid var(--success);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
        animation: slideUpSheet 0.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    }

    @keyframes slideUpSheet {
        from {
            bottom: -100%;
        }

        to {
            bottom: 0;
        }
    }

    /* Tabs iOS Segmented Control Refactor */
    .terminal-tabs {
        display: flex;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 12px 10px;
        border-radius: 0;
        font-size: 0.95rem;
    }

    /* Sticky Mobile Native Chat Prompt */
    #terminal-viewport {
        display: flex;
        flex-direction: column;
        padding: 15px 10px 20px 10px;
        /* Adjusted padding to let sticky prompt behave naturally */
        font-size: clamp(0.7rem, 2.8vw, 0.9rem);
        position: relative;
    }

    #active-command-line {
        position: sticky;
        bottom: 15px;
        /* Sticks to the bottom of the viewport gracefully */
        margin-top: auto;
        /* Chat App Style: Forces it to the bottom even if content is short */
        padding: 12px 15px;
        background: rgba(18, 18, 20, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 100;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    }

    #ghost-text {
        display: block !important;
        flex-basis: 100%;
        text-align: right;
        font-size: 0.75rem;
        color: var(--success);
        /* Green positive affordance to tap */
        margin-top: 8px;
        opacity: 0.8 !important;
        animation: pulse 1.5s infinite;
    }

    /* Stacked Data Cards on Mobile */
    .term-table tbody,
    .term-table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 10px;
    }

    .term-table tr {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        padding: 15px;
        border-left: 3px solid var(--accent-primary);
    }

    .term-table td {
        display: block;
        width: 100% !important;
        padding: 2px 0 8px 0;
    }

    /* Native CSS Timeline on Mobile */
    #server-log-stream {
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        margin-left: 10px;
        padding-left: 15px;
    }

    .log-entry {
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 6px;
        padding: 12px;
        margin-bottom: 20px;
        border-bottom: none;
        border-left: 3px solid var(--accent-secondary);
        position: relative;
        flex-direction: column;
        gap: 5px;
    }

    .log-entry.hl-sys {
        border-left-color: var(--warn);
    }

    .hl-year {
        margin-left: -32px;
        /* Pull pill over the timeline */
        margin-bottom: 20px;
        margin-top: 10px;
        display: inline-flex;
        background: var(--bg-dark);
        border: 1px solid var(--accent-primary);
        border-radius: 50px;
        padding: 5px 15px;
        font-size: 0.9rem;
    }

    .hl-year::before,
    .hl-year::after {
        display: none !important;
        /* Hide desktop lines */
    }

    .hl-year span {
        /* Reset container */
        background: transparent;
        padding: 0;
    }

    /* Nodes on the timeline */
    .log-entry::before {
        content: '';
        position: absolute;
        left: -24px;
        top: 15px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--accent-secondary);
        box-shadow: 0 0 10px var(--accent-secondary);
    }

    .ide-footer {
        font-size: 0.65rem;
    }

    /* Hide unnecessary footer metrics to save space */
    .footer-right span:nth-child(1),
    .footer-right span:nth-child(2) {
        display: none;
    }

    .output-flex {
        flex-direction: column;
        gap: 15px;
    }

    .json-out {
        overflow-x: auto;
        font-size: 0.75rem;
    }

    /* Certifications – clean stacked layout on mobile */
    .no-bullet li {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        line-height: 1.5;
    }

    .no-bullet li:last-child {
        border-bottom: none;
    }

    .no-bullet li .cert-link {
        font-size: 0.9rem;
    }

    .no-bullet li .dim {
        font-size: 0.75rem;
        display: block;
        margin-top: 2px;
    }

    /* Contact – prevent URL overflow */
    .bullet-list a.cert-link {
        word-break: break-all;
        font-size: 0.85rem;
    }

    .bullet-list li {
        line-height: 1.5;
        margin-bottom: 10px;
    }
}
