body {
    display: flex;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#sidebar {
    width: 280px;
    border-right: 1px solid #ccc;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* ── OpenNTF logo ── */
#sidebar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

#sidebar-logo img {
    width: 140px;
    height: auto;
    display: block;
}

#sidebar h3 {
    margin-top: 0;
    font-size: 18px;
    color: #00467f;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
}

#search-wrap {
    position: relative;
    margin-bottom: 10px;
}

#class-search {
    width: 100%;
    padding: 8px 28px 8px 8px;  /* right padding makes room for the × */
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #999;
    line-height: 1;
    padding: 2px 4px;
    display: none;   /* hidden until there is text */
}

#search-clear:hover { color: #333; }

#class-list {
    list-style: none;
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

#class-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

/* ── Control strip — four equal-width buttons filling the sidebar ── */
#control-strip {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 6px;
    position: relative;
}

/* Every direct child — plain buttons AND the dropdown wrapper — gets equal flex */
#control-strip > button,
#control-strip > .strip-dropdown {
    flex: 1;
}

#control-strip > button {
    padding: 6px 4px;
    font-size: 12px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #eee;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#control-strip > button:hover {
    background: #ffcc00;
    border-color: #c89b00;
}

/* Filter toggle matches the three buttons exactly */
#control-strip .strip-dropdown-toggle {
    width: 100%;
    padding: 6px 4px;
    font-size: 12px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#paper-container {
    flex-grow: 1;
    background-image: url('../world-light.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #f8f9fa;  /* fallback */
}

.scrollable {
    max-height: 160px;
    overflow-y: auto;
}

.collapsed {
    display: none;
}

/* Dialog */
#dialog {
    position: fixed;
    top: 80px;
    right: 40px;
    width: 320px;
    max-height: calc(100vh - 120px);
    background: white;
    border: 1px solid #ccc;
    padding: 12px;
    display: none;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    overflow-y: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    transition: width 0.2s ease;
}

#dialog.expanded {
    width: 50vw;
}

#dialog-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 6px;
}

#dialog-expand, #dialog-close {
    background: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    padding: 2px 6px;
    color: #666;
}

#dialog-expand:hover, #dialog-close:hover {
    background: #f0f0f0;
    color: #333;
}

body.retro-mode #dialog-expand,
body.retro-mode #dialog-close {
    border-color: #ccc;
    color: #666;
    background: none;
}

body.retro-mode #dialog-expand:hover,
body.retro-mode #dialog-close:hover {
    background: #f0f0f0;
    color: #333;
}


/* zoom-control — now in #zoom-widget on canvas */

/* ── About modal overlay ── */
#about-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

#about-overlay.open { display: block; }

/* ── About modal ── */
#about-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 28px 28px 22px;
    z-index: 1001;
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#about-modal.open { display: block; }

#about-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

#about-close:hover { color: #000; }

#about-logo {
    margin-bottom: 12px;
}

#about-logo img {
    width: 100px;
    height: auto;
}

#about-modal h2 {
    font-size: 18px;
    font-weight: bold;
    color: #00467f;
    margin-bottom: 6px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 6px;
}

.about-tagline {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 10px 0 4px;
}

#about-modal hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 14px 0;
}

#about-modal h3 {
    font-size: 13px;
    font-weight: bold;
    color: #00467f;
    margin-bottom: 10px;
}

#about-modal p {
    font-size: 12px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: left;
}

#about-modal a {
    color: #00467f;
    text-decoration: none;
}

#about-modal a:hover { text-decoration: underline; }

.about-footer {
    text-align: center !important;
    font-size: 12px;
    color: #888;
    margin-bottom: 0 !important;
}


/* ════════════════════════════════════════════════════════════════════════════
   EASTER EGG — "Old School" poster theme (c. 2000 Lotus/IBM era)
   Triggered by the Konami code: ↑↑↓↓←→←→BA
   Toggle back with the same sequence, or click the 🏠 Home button label.
   ════════════════════════════════════════════════════════════════════════════ */

/* Gear SVG background — dark semi-transparent cogs on deep cobalt blue,
   recreating the large mechanical gear watermarks from the original poster  */
body.retro-mode {
    background: #0052a3;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340'%3E%3Cg fill='%23003d82' opacity='0.55'%3E%3Cpath d='M170 60 a110 110 0 1 1 -0.1 0 Z M170 95 a75 75 0 1 0 0.1 0 Z'/%3E%3Cpath d='M162 50h16v20h-16z M162 270h16v20h-16z M50 162h20v16H50z M270 162h20v16H270z'/%3E%3Cpath d='M113 63l8 14-14 8-8-14z M219 255l8 14-14 8-8-14z M63 219l14-8 8 14-14 8z M255 113l14-8 8 14-14 8z'/%3E%3Cpath d='M113 277l8-14-14-8-8 14z M219 85l8-14-14-8-8 14z M63 121l14 8 8-14-14-8z M255 227l14 8 8-14-14-8z'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%23003d82' opacity='0.35'%3E%3Cpath d='M100 30 a70 70 0 1 1 -0.1 0 Z M100 58 a42 42 0 1 0 0.1 0 Z'/%3E%3Cpath d='M94 22h12v16H94z M94 162h12v16H94z M22 94h16v12H22z M162 94h16v12H162z'/%3E%3Cpath d='M60 38l6 10-10 6-6-10z M134 146l6 10-10 6-6-10z M38 134l10-6 6 10-10 6z M146 60l10-6 6 10-10 6z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 340px 340px, 200px 200px;
    background-position: -40px -40px, 160px 120px;
}

/* Sidebar — deep navy, Lotus-era typography */
body.retro-mode #sidebar {
    background: #003d82;
    border-right: 3px solid #ffcc00;
    box-shadow: 3px 0 12px rgba(0,0,0,0.5);
    color: #fff;
}

body.retro-mode #sidebar h3 {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.5px;
}

body.retro-mode #sidebar-logo img {
    /* Boost contrast on the dark background with a soft glow */
    filter: drop-shadow(0 0 6px rgba(255,204,0,0.4));
}

body.retro-mode #class-search {
    background: #002d6b;
    border-color: #ffcc00;
    color: #fff;
}

body.retro-mode #class-search::placeholder { color: #7aacdf; }

body.retro-mode #class-list li {
    border-bottom-color: #004db3;
    color: #d0e8ff;
}

body.retro-mode #class-list li:hover {
    background: #ffcc00;
    color: #000;
    font-weight: bold;
}

/* Toolbar — yellow buttons like the poster card headers */
body.retro-mode #toolbar button {
    background: #ffcc00;
    border: 1px solid #c89b00;
    color: #000;
    font-weight: bold;
}

body.retro-mode #toolbar button:hover {
    background: #ffe033;
}

/* Zoom widget retro overrides — see end of file */

/* Graph canvas — the iconic deep blue */
body.retro-mode #paper-container {
    background-image: url('../world-connected.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #001830;  /* fallback if image hasn't loaded */
}

/* Class nodes — golden yellow cards with black header text, red method text */
body.retro-mode .joint-cell .node-header {
    fill: #f5a800 !important;
    stroke: #c89b00 !important;
}

body.retro-mode .joint-cell text.node-title {
    fill: #000 !important;
    font-weight: bold !important;
    font-style: italic !important;
}

body.retro-mode .joint-cell .node-body {
    fill: #ffcc00 !important;
    stroke: #c89b00 !important;
}

/* Links — white connector lines like the poster */
body.retro-mode .joint-link .connection {
    stroke: #ffffff !important;
    stroke-width: 1.5px !important;
}

body.retro-mode .joint-link .marker-target {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Toast notification when the easter egg fires */
#retro-toast {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

#retro-toast.show { display: block; }

/* ── Strip dropdown menus ── */
.strip-dropdown {
    position: relative;
}

.strip-dropdown-toggle {
    padding: 4px 6px;
    font-size: 11px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #eee;
    color: #333;
    white-space: nowrap;
}

.strip-dropdown-toggle:hover,
.strip-dropdown.open .strip-dropdown-toggle {
    background: #ffcc00;
    border-color: #c89b00;
}

.strip-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    list-style: none;
    padding: 3px 0;
    min-width: 140px;
    z-index: 500;
}

.strip-dropdown.open .strip-dropdown-menu {
    display: block;
}

.strip-dropdown-menu li button {
    width: 100%;
    padding: 6px 12px;
    text-align: left;
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    white-space: nowrap;
}

.strip-dropdown-menu li button:hover {
    background: #fff8dc;
}

.strip-dropdown-menu li button.active {
    font-weight: bold;
    color: #00467f;
}

/* btn-about — now in #about-widget on canvas */

/* ── Search highlight ring — smooth stroke transition on matched nodes ── */
.joint-cell .ls-body {
    transition: stroke 0.15s ease, stroke-width 0.15s ease;
}

/* ── Map legend ── */
#map-legend {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #333;
    z-index: 400;
    min-width: 220px;
    max-width: 260px;
}

#legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 12px;
    color: #00467f;
    border-bottom: 1px solid #eee;
    cursor: default;
}

#legend-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: #888;
    padding: 0 2px;
    line-height: 1;
}

#legend-toggle:hover { color: #333; }

#legend-body {
    padding: 8px 10px;
}

#legend-body.collapsed { display: none; }

.legend-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend-divider {
    border-top: 1px solid #eee;
    margin: 7px 0;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.legend-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 20px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
    border: 1px solid #bbb;
}

.legend-backend {
    background: #ffcc00;
    color: #000;
}

.legend-ui {
    background: #00467f;
    color: #fff;
}

.legend-key {
    background: #ffcc00;
    color: #333333;
    border: 1px solid #bbb;
    font-size: 18px;
    font-weight: bold;
}

.legend-arrow {
    width: 60px;
    height: 16px;
    flex-shrink: 0;
}

.legend-label-row {
    align-items: flex-start;
}

.legend-label-pill {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 10px;
    font-family: monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Zoom widget (canvas, bottom-left) ── */
#zoom-widget {
    position: fixed;
    bottom: 18px;
    left: calc(280px + 18px);   /* sidebar width + gap */
    background: rgba(255,255,255,0.96);
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #333;
    z-index: 400;
    min-width: 130px;
    padding-bottom: 6px;
}

#zoom-widget-header {
    padding: 6px 10px;
    font-weight: bold;
    font-size: 12px;
    color: #00467f;
    border-bottom: 1px solid #eee;
}

#zoom-control {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px 4px;
}

#zoom-control button {
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #eee;
    flex-shrink: 0;
}

#zoom-control button:hover { background: #ffcc00; border-color: #c89b00; }

#zoom-level {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: text;
    padding: 3px 0;
}

#zoom-level:focus {
    background: #fff;
    border-color: #00467f;
    outline: none;
}

/* #zoom-widget #btn-home removed — Home button is back in the control strip */

/* ── About widget (canvas, top-right) ── */
#about-widget {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 400;
}

#about-widget #btn-about {
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    color: #00467f;
    font-weight: bold;
}

#about-widget #btn-about:hover {
    background: #ffcc00;
    border-color: #c89b00;
}

/* ── Retro overrides for canvas widgets ── */
body.retro-mode #zoom-widget,
body.retro-mode #about-widget #btn-about {
    background: rgba(0,61,130,0.95);
    border-color: #ffcc00;
    color: #fff;
}

body.retro-mode #zoom-widget-header { color: #ffcc00; border-bottom-color: #004db3; }
body.retro-mode #zoom-level { background: #002d6b; border-color: #ffcc00; color: #ffcc00; }
body.retro-mode #search-clear { color: #7aacdf; }
body.retro-mode #search-clear:hover { color: #ffcc00; }
body.retro-mode #zoom-control button,
body.retro-mode #zoom-widget #btn-home { background: #ffcc00; border-color: #c89b00; color: #000; }
body.retro-mode #zoom-control button:hover,
body.retro-mode #zoom-widget #btn-home:hover { background: #ffe033; }
body.retro-mode #about-widget #btn-about { color: #ffcc00; }
body.retro-mode #about-widget #btn-about:hover { background: #ffcc00; color: #000; }

/* ── Filter dropdown group labels ── */
.filter-group-label {
    padding: 5px 12px 3px;
    font-size: 10px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: default;
}

/* ── Dialog syntax block ── */
.dialog-syntax {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-left: 3px solid #00467f;
    border-radius: 3px;
    padding: 8px 10px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 6px 0 10px;
    color: #333;
}


/* ── Search scope toggle ── */
#search-scope {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.scope-btn {
    flex: 1;
    padding: 4px 0;
    font-size: 11px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #eee;
    color: #555;
}

.scope-btn:hover {
    background: #e0e0e0;
}

.scope-btn.active {
    background: #00467f;
    color: #fff;
    border-color: #00467f;
}

/* ── Member search results in sidebar ── */
.member-class-group {
    border-bottom: 2px solid #ffcc00;
    padding: 6px 10px 4px;
    background: #fafafa;
    font-weight: bold;
    font-size: 12px;
    color: #00467f;
    cursor: pointer;
}

.member-class-group:hover {
    background: #fff8e0;
}

.member-result {
    padding: 4px 10px 4px 20px;
    font-size: 11px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-result:hover {
    background: #fff8e0;
}

.member-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    flex-shrink: 0;
    color: #fff;
}

.member-badge.prop   { background: #888; }
.member-badge.method { background: #00467f; }
.member-badge.event  { background: #c0392b; }

/* Retro overrides */
body.retro-mode .scope-btn { background: #002d6b; border-color: #004db3; color: #7aacdf; }
body.retro-mode .scope-btn:hover { background: #003d82; }
body.retro-mode .scope-btn.active { background: #ffcc00; color: #000; border-color: #ffcc00; }
body.retro-mode .member-class-group { background: #002d6b; color: #ffcc00; border-bottom-color: #ffcc00; }
body.retro-mode .member-class-group:hover { background: #003d82; }
body.retro-mode .member-result { border-bottom-color: #003d82; }
body.retro-mode .member-result:hover { background: #003d82; }

/* ── Links panel (canvas, corner-positioned dynamically) ── */
#links-panel {
    position: fixed;
    background: rgba(255,255,255,0.96);
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #333;
    z-index: 400;
    min-width: 220px;
    max-width: 380px;
    display: none;
}

#links-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0 6px 0 0;
}

#links-panel-title {
    padding: 6px 6px 6px 10px;
    font-weight: bold;
    font-size: 12px;
    color: #00467f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

#links-panel-expand {
    background: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    padding: 2px 5px;
    color: #666;
    flex-shrink: 0;
}

#links-panel-expand:hover {
    background: #f0f0f0;
    color: #333;
}

#links-panel.expanded {
    max-width: 560px;
    width: 560px;
}

#links-panel-body {
    padding: 4px 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.links-panel-section {
    padding: 4px 10px 2px;
    font-size: 10px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.links-panel-item {
    padding: 3px 10px 3px 16px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.links-panel-item:hover {
    background: #fff8e0;
    color: #00467f;
}

/* Retro overrides */
body.retro-mode #links-panel {
    background: rgba(0,61,130,0.95);
    border-color: #ffcc00;
    color: #fff;
}

body.retro-mode #links-panel-title { color: #ffcc00; }
body.retro-mode #links-panel-header { border-bottom-color: #004db3; }
body.retro-mode #links-panel-expand { border-color: #ffcc00; color: #ffcc00; background: none; }
body.retro-mode #links-panel-expand:hover { background: #ffcc00; color: #000; }
body.retro-mode .links-panel-section { color: #7aacdf; }
body.retro-mode .links-panel-item:hover { background: #003d82; color: #ffcc00; }

/* ── Links panel member rows ── */
.links-panel-class {
    font-weight: bold;
    color: #00467f;
    padding: 5px 10px 2px;
    cursor: pointer;
    border-top: 1px solid #eee;
}

.links-panel-class:first-of-type { border-top: none; }

.links-panel-class:hover { background: #fff8e0; }

.links-panel-member {
    padding: 2px 10px 2px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}

.links-panel-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    color: #fff;
    flex-shrink: 0;
}

.links-panel-badge.prop   { background: #888; }
.links-panel-badge.method { background: #00467f; }

.links-panel-member-name {
    font-size: 11px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

.links-panel-syntax {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 10px;
    color: #666;
    background: #f5f5f5;
    border-left: 2px solid #00467f;
    padding: 1px 5px;
    border-radius: 2px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* Retro overrides */
body.retro-mode .links-panel-class { color: #ffcc00; border-top-color: #004db3; }
body.retro-mode .links-panel-class:hover { background: #003d82; }
body.retro-mode .links-panel-member-name { color: #e0e0ff; }
body.retro-mode .links-panel-syntax { background: #002d6b; border-left-color: #ffcc00; color: #7aacdf; }