/* =========================================================
   CVEWORKS - CVE SEARCH
   Light / Red / White visual identity
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f7f7f8;
    color: #202124;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
}

.header-content {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #c90000;
    color: #ffffff;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-name {
    color: #202124;
}

.logo-name span {
    color: #c90000;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    color: #5f6368;
    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.navigation a:hover {
    color: #c90000;
}


/* =========================================================
   HERO
========================================================= */

.page-hero {
    padding: 70px 0 55px;
}

.page-heading {
    width: 100%;
    margin-bottom: 35px;
    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 18px;
    padding: 9px 16px;

    color: #c90000;

    background: #ffffff;

    border: 1px solid #f3bcbc;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.page-heading h1 {
    margin-bottom: 12px;

    color: #202124;

    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.page-heading h1 span {
    color: #d71920 !important;
}

.page-heading p {
    max-width: 700px;
    margin: 0 auto;

    color: #5f6368;

    font-size: 17px;
}


/* =========================================================
   SEARCH PANEL
========================================================= */

.search-panel {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #f1aaaa;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);
}

.search-panel label {
    display: block;

    margin-bottom: 9px;

    color: #202124;

    font-size: 13px;
    font-weight: 700;
}

.search-row {
    width: 100%;
}

.search-row input {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    background: #ffffff;

    border: 1px solid #cfd1d4;
    border-radius: 8px;

    color: #202124;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-row input::placeholder {
    color: #9aa0a6;
}

.search-row input:focus {
    border-color: #c90000;

    box-shadow:
        0 0 0 3px rgba(201, 0, 0, 0.09);
}


/* =========================================================
   BUTTONS
========================================================= */

.button-row {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 14px;
}

.primary-button,
.secondary-button {
    min-height: 44px;

    padding: 0 19px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.primary-button {
    background: #c90000;
    border: 1px solid #c90000;
    color: #ffffff;
}

.primary-button:hover {
    background: #a90000;
    border-color: #a90000;
}

.secondary-button {
    background: #ffffff;
    border: 1px solid #cfd1d4;
    color: #3c4043;
}

.secondary-button:hover:not(:disabled) {
    border-color: #c90000;
    color: #c90000;
}

.secondary-button:disabled {
    cursor: not-allowed;

    background: #f1f1f2;
    color: #9aa0a6;

    opacity: 0.7;
}


/* =========================================================
   SEARCH EXAMPLES
========================================================= */

.search-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 7px;

    margin-top: 17px;

    color: #80868b;

    font-size: 12px;
}

.example-button {
    padding: 4px 8px;

    background: #f7f7f8;

    border: 1px solid #e1e2e4;
    border-radius: 5px;

    color: #5f6368;

    font-size: 12px;
}

.example-button:hover {
    background: #ffffff;

    border-color: #c90000;

    color: #c90000;
}


/* =========================================================
   RESULTS
========================================================= */

.results-section {
    padding: 55px 0 70px;
}

.results-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}

.results-toolbar h2 {
    margin-bottom: 4px;

    color: #202124;

    font-size: 25px;
    line-height: 1.25;

    letter-spacing: -0.5px;
}

.results-toolbar p {
    color: #777b80;

    font-size: 14px;
}


/* =========================================================
   SORT CONTROLS
========================================================= */

.sort-controls {
    display: flex;
    gap: 10px;

    flex-shrink: 0;
}

.sort-box {
    min-width: 145px;

    padding: 10px;

    background: #ffffff;

    border: 1px solid #dedfe1;
    border-radius: 8px;
}

.sort-box label {
    display: block;

    margin-bottom: 4px;

    color: #777b80;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-box select {
    width: 100%;

    padding: 0;

    background: transparent;

    border: 0;

    color: #202124;

    font-size: 13px;
    font-weight: 700;

    outline: none;
}


/* =========================================================
   RESULT LIST
========================================================= */

.results-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   CVE CARD
========================================================= */

.cve-card {
    padding: 22px 24px;

    background: #ffffff;

    border: 1px solid #f1aaaa;
    border-radius: 10px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.cve-card:hover {
    border-color: #c90000;

    box-shadow:
        0 7px 24px rgba(0, 0, 0, 0.06);

    transform: translateY(-1px);
}

.cve-card:focus {
    outline: 3px solid rgba(201, 0, 0, 0.12);
    outline-offset: 2px;
}

.cve-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.cve-id {
    display: inline-block;

    color: #c90000;

    font-size: 17px;
    font-weight: 800;

    letter-spacing: -0.2px;
}

.cve-id:hover {
    text-decoration: underline;
}

.cve-date {
    margin-top: 3px;

    color: #8a8e92;

    font-size: 12px;
}

.cve-score {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    min-width: 60px;
}

.cve-score strong {
    color: #202124;

    font-size: 23px;
    line-height: 1;

    letter-spacing: -0.5px;
}

.cve-score span {
    margin-top: 3px;

    color: #8a8e92;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.cve-summary {
    margin-top: 16px;

    color: #4f5357;

    font-size: 14px;
    line-height: 1.65;
}

.cve-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 17px;
    padding-top: 15px;

    border-top: 1px solid #eeeeef;
}

.cve-arrow {
    color: #7a7e82;

    font-size: 12px;
    font-weight: 700;
}

.cve-card:hover .cve-arrow {
    color: #c90000;
}


/* =========================================================
   SEVERITY
========================================================= */

.severity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 82px;

    padding: 5px 10px;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}

.severity-critical {
    color: #b00000;
}

.severity-high {
    color: #c45a00;
}

.severity-medium {
    color: #9a7200;
}

.severity-low {
    color: #26703d;
}

.severity-none {
    color: #5f6368;
}

.severity-unknown {
    color: #7a7e82;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 30px;
}

.page-button {
    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    background: #ffffff;

    border: 1px solid #dcdde0;
    border-radius: 6px;

    color: #55595d;

    font-size: 12px;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.page-button:hover:not(:disabled) {
    border-color: #c90000;
    color: #c90000;
}

.page-button.active {
    background: #c90000;
    border-color: #c90000;
    color: #ffffff;
}

.page-button:disabled {
    cursor: not-allowed;

    color: #b2b4b7;

    background: #f2f2f3;
}

.page-ellipsis {
    padding: 0 3px;

    color: #8a8e92;

    font-size: 13px;
}


/* =========================================================
   TODAY
========================================================= */

.today-section {
    padding: 70px 0 80px;

    background: #ffffff;

    border-top: 1px solid #e6e6e8;
}

.today-header {
    margin-bottom: 28px;
}

.today-header h2 {
    margin-bottom: 5px;

    color: #202124;

    font-size: 29px;
    line-height: 1.2;

    letter-spacing: -0.7px;
}

.today-header p {
    color: #777b80;

    font-size: 13px;
}


/* =========================================================
   TODAY SUMMARY
========================================================= */

.today-summary {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 40px;
}

.today-summary-box {
    padding: 22px;

    background: #f8f8f9;

    border: 1px solid #f1aaaa;
    border-radius: 10px;
}

.today-summary-box span {
    display: block;

    margin-bottom: 6px;

    color: #777b80;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.today-summary-box strong {
    color: #202124;

    font-size: 30px;
    line-height: 1;
}

.today-summary-box.total {
    background: #fff8f8;

    border-color: #efd6d6;
}

.today-summary-box.total strong {
    color: #c90000;
}


/* =========================================================
   TODAY CATEGORY
========================================================= */

.today-category {
    margin-top: 35px;
}

.today-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}

.today-category-heading > div {
    display: flex;
    align-items: center;

    gap: 9px;
}

.today-category-heading h3 {
    color: #202124;

    font-size: 18px;
    font-weight: 800;
}

.today-category-heading > span:last-child {
    color: #85898d;

    font-size: 12px;
}

.severity-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.severity-dot.critical {
    background: #c90000;
}

.severity-dot.high {
    background: #d66a00;
}


/* =========================================================
   TODAY LIST
========================================================= */

.today-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.daily-card {
    padding: 18px;

    background: #f9f9fa;

    border: 1px solid #efb4b4;
    border-radius: 9px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.daily-card:hover {
    background: #ffffff;

    border-color: #c90000;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.05);
}

.daily-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.daily-id {
    color: #c90000;

    font-size: 14px;
    font-weight: 800;
}

.daily-id:hover {
    text-decoration: underline;
}

.daily-score {
    color: #202124;

    font-size: 18px;
    font-weight: 800;
}

.daily-description {
    display: -webkit-box;

    margin-top: 10px;

    overflow: hidden;

    color: #5f6368;

    font-size: 13px;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.daily-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 13px;
    padding-top: 12px;

    border-top: 1px solid #e5e5e6;

    color: #85898d;

    font-size: 11px;
    font-weight: 700;
}

.severity-text {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.6px;
}


/* =========================================================
   EMPTY / LOADING / ERROR
========================================================= */

.empty-state,
.loading-card,
.error-card {
    padding: 35px;

    background: #ffffff;

    border: 1px solid #f1aaaa;
    border-radius: 10px;

    text-align: center;

    color: #777b80;

    font-size: 14px;
}

.error-card {
    border-color: #ebcaca;

    background: #fff8f8;

    color: #9e0000;
}

.error-card strong {
    display: block;

    margin-bottom: 5px;

    color: #c90000;
}

.error-card p {
    color: #777b80;
}


/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-section {
    padding: 55px 0 80px;
}

.back-link {
    display: inline-block;

    margin-bottom: 25px;

    color: #c90000;

    font-size: 13px;
    font-weight: 700;
}

.back-link:hover {
    text-decoration: underline;
}

.detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 15px;
}

.detail-header h1 {
    color: #202124;

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;

    letter-spacing: -1.2px;
}

.detail-score {
    display: flex;
    align-items: center;

    gap: 12px;
}

.detail-score strong {
    color: #202124;

    font-size: 38px;
    line-height: 1;
}

.detail-score span {
    color: #8a8e92;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;
}

.detail-meta span {
    padding: 7px 10px;

    background: #f1f1f2;

    border: 1px solid #e2e2e4;
    border-radius: 5px;

    color: #666a6e;

    font-size: 11px;
}


/* =========================================================
   DETAIL BOXES
========================================================= */

.detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, 1fr);

    gap: 14px;

    margin-top: 14px;

    width: 100%;
    max-width: 100%;
    min-width: 0;
}


.detail-grid > .detail-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.detail-box {
    min-width: 0;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #f1aaaa;
    border-radius: 10px;
}

.detail-box.full {
    margin-top: 14px;
}

.detail-box h2 {
    margin-bottom: 16px;

    color: #202124;

    font-size: 17px;
    font-weight: 800;
}

.detail-box p {
    color: #55595d;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   CVSS METRICS
========================================================= */

.metric-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
    min-width: 0;
}

.metric-grid > div {
    min-width: 0;

    padding: 13px;

    background: #f7f7f8;

    border: 1px solid #efb4b4;
    border-radius: 7px;
}

.metric-grid span {
    display: block;

    margin-bottom: 4px;

    color: #85898d;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.metric-grid strong {
    color: #202124;

    font-size: 15px;
}

.vector-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 13px;

    overflow: hidden;
}

.vector-box span {
    display: block;

    margin-bottom: 6px;

    color: #85898d;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.vector-box code {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 11px;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    background: #f4f4f5;

    border: 1px solid #efb4b4;
    border-radius: 6px;

    color: #55595d;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 11px;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}


/* =========================================================
   CWE
========================================================= */

.cwe-list {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;

    gap: 7px;
}

.cwe-tag {
    display: inline-flex;

    max-width: 100%;

    padding: 7px 9px;

    background: #f7f7f8;

    border: 1px solid #efb4b4;
    border-radius: 5px;

    color: #55595d;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 11px;
    font-weight: 700;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.muted {
    color: #888c90;

    font-size: 13px;
}


/* =========================================================
   SOFTWARE
========================================================= */

.software-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeef;
}

.software-row:first-child {
    padding-top: 0;
}

.software-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.software-row > div:first-child {
    display: flex;
    flex-direction: column;
}

.software-row strong {
    color: #303236;

    font-size: 13px;
}

.software-row span {
    color: #85898d;

    font-size: 11px;
}

.software-version {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 4px;
}

.affected-version {
    padding: 5px 8px;

    background: #fff5f5;

    border: 1px solid #efd4d4;
    border-radius: 4px;

    color: #a90000 !important;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 10px !important;
}

.fixed-version {
    color: #26703d !important;

    font-size: 11px !important;
    font-weight: 700;
}

.empty-data {
    color: #85898d;

    font-size: 13px;
}


/* =========================================================
   LONG CONTENT SAFETY
========================================================= */

.software-row,
.software-row > div:first-child,
.references-list,
.references-list a,
.mitre-technique-name,
.mitre-source,
.mitre-tactic {
    min-width: 0;
}

.software-row strong,
.software-row span,
.references-list a strong,
.references-list a span,
.detail-box p,
.cve-summary,
.daily-description,
.empty-data {
    overflow-wrap: anywhere;
}

.affected-version {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   REMEDIATION
========================================================= */

.remediation-box {
    background: #fffdf8;

    border-color: #e9e0c9;
}

.remediation-box p {
    color: #66605a;
}


/* =========================================================
   REFERENCES
========================================================= */

.references-list {
    display: flex;
    flex-direction: column;
}

.references-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    border-bottom: 1px solid #eeeeef;
}

.references-list a:last-child {
    border-bottom: 0;
}

.references-list a strong {
    color: #c90000;

    font-size: 12px;
}

.references-list a span {
    color: #85898d;

    font-size: 11px;

    text-align: right;
}

.references-list a:hover strong {
    text-decoration: underline;
}


/* =========================================================
   DETAIL SOURCE
========================================================= */

.detail-source {
    margin-top: 18px;

    color: #85898d;

    font-size: 11px;
}

.detail-source a {
    color: #c90000;

    font-weight: 700;
}

.detail-source a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #ffffff;

    border-top: 1px solid #e4e4e6;
}

.footer-content {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;

    padding: 50px 0;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #202124;

    font-size: 18px;
    font-weight: 800;
}

.footer-logo > span:last-child span {
    color: #c90000;
}

.footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #c90000;
    color: #ffffff;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
}

.footer-brand p {
    margin-top: 12px;

    color: #85898d;

    font-size: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.footer-column strong {
    margin-bottom: 4px;

    color: #303236;

    font-size: 12px;
}

.footer-column a {
    color: #85898d;

    font-size: 12px;
}

.footer-column a:hover {
    color: #c90000;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top: 1px solid #eeeeef;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 0;

    color: #92969a;

    font-size: 11px;
}

.footer-bottom-inner a {
    color: #c90000;
}

.footer-bottom-inner a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .sort-controls {
        width: 100%;
    }

    .sort-box {
        flex: 1;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header-content {
        height: 64px;
    }

    .navigation {
        gap: 16px;
    }

    .page-hero {
        padding: 48px 0 40px;
    }

    .page-heading h1 {
        font-size: 38px;
    }

    .search-panel {
        padding: 20px;
    }

    .button-row {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .sort-controls {
        flex-direction: column;
    }

    .sort-box {
        width: 100%;
    }

    .today-summary {
        grid-template-columns: 1fr;
    }

    .today-list {
        grid-template-columns: 1fr;
    }

    .detail-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-score {
        align-items: center;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .software-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .software-version {
        align-items: flex-start;
    }

    .references-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .references-list a span {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .navigation a {
        font-size: 12px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .cve-card {
        padding: 18px;
    }

    .cve-card-top {
        gap: 10px;
    }

    .cve-summary {
        font-size: 13px;
    }

    .cve-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .today-category-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .detail-box {
        padding: 19px;
    }

}
/* =========================================================
   SECURITY INTELLIGENCE PANELS
   Added for CVE_Search
========================================================= */

.intelligence-panel {
    margin-top: 18px;
    padding: 24px;

    background: #ffffff;

    border: 1px solid #f1aaaa;
    border-radius: 12px;
}

.intelligence-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.intelligence-heading .section-label {
    margin-bottom: 10px;
}

.intelligence-heading h2 {
    color: #171717;

    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.25px;
}

.data-note {
    padding-top: 4px;

    color: #8a8e92;

    font-size: 11px;
}

.signal-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;
}

.signal-card {
    min-width: 0;
    min-height: 104px;

    padding: 16px 14px;

    background: #fafafa;

    border: 1px solid #efb4b4;
    border-radius: 9px;
}

.signal-card > span,
.characteristic-card > span {
    display: block;

    margin-bottom: 8px;

    color: #777b80;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.25px;
}

.signal-card strong {
    display: block;

    color: #111111;

    font-size: 20px;
    line-height: 1.15;
}

.signal-card small {
    display: block;

    margin-top: 5px;

    color: #7b7f84;

    font-size: 10px;
    line-height: 1.35;
}

.signal-positive {
    color: #c90000 !important;
}

.epss-percentile {
    margin-top: 12px;
    padding-top: 12px;

    border-top: 1px solid #ececee;

    color: #777b80;

    font-size: 11px;
}

.epss-percentile strong {
    color: #202124;
}

.characteristic-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.characteristic-card {
    min-height: 68px;

    padding: 14px;

    background: #fafafa;

    border: 1px solid #efb4b4;
    border-radius: 8px;
}

.characteristic-card strong {
    display: block;

    color: #111111;

    font-size: 13px;
    line-height: 1.35;

    text-transform: uppercase;
}

.mitre-heading {
    align-items: flex-start;
}

.mitre-external {
    color: #c90000;

    font-size: 11px;
    font-weight: 800;
}

.mitre-external:hover {
    text-decoration: underline;
}

.mitre-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.mitre-row {
    display: grid;
    align-items: center;

    grid-template-columns:
        70px minmax(0, 1.6fr) minmax(145px, .8fr) minmax(150px, .9fr);

    gap: 14px;

    padding: 16px;

    background: #fafafa;

    border: 1px solid #efb4b4;
    border-radius: 8px;
}

.mitre-row:hover {
    background: #ffffff;
    border-color: #c90000;
}

.mitre-technique-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 0 9px;

    color: #c90000;
    background: #fff7f7;

    border: 1px solid #efb4b4;
    border-radius: 5px;

    font-size: 10px;
    font-weight: 800;
}

.mitre-technique-name {
    color: #202124;

    font-size: 13px;
}

.mitre-tactic {
    display: flex;
    flex-direction: column;
}

.mitre-tactic small {
    color: #8a8e92;

    font-size: 9px;
    font-weight: 800;
}

.mitre-tactic strong {
    color: #202124;

    font-size: 11px;
}

.mitre-source {
    color: #8a8e92;

    font-size: 10px;
    text-align: right;
}

.mitre-empty {
    padding: 18px;

    background: #fafafa;

    border: 1px solid #ececee;
    border-radius: 8px;

    color: #777b80;

    font-size: 12px;
}

.mitre-disclaimer {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #ececee;

    color: #777b80;

    font-size: 10px;
    line-height: 1.55;
}


/* Fixed / Remediated Version was intentionally removed.
   NVD upper-version boundaries are retained only as
   affected-range limits and are not presented as a
   guaranteed vendor remediation version. */


@media (max-width: 980px) {

    .signal-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .mitre-row {
        grid-template-columns:
            70px minmax(0, 1fr) minmax(130px, .8fr);
    }

    .mitre-source {
        grid-column: 1 / -1;

        text-align: left;
    }

}


@media (max-width: 680px) {

    .intelligence-panel {
        padding: 18px;
    }

    .intelligence-heading {
        flex-direction: column;

        gap: 8px;
    }

    .signal-grid,
    .characteristic-grid {
        grid-template-columns:
            1fr;
    }

    .signal-card {
        min-height: auto;
    }

    .mitre-row {
        grid-template-columns:
            1fr;

        gap: 8px;
    }

    .mitre-technique-id {
        width: fit-content;
    }

    .mitre-source {
        grid-column: auto;
    }

}
