.mst-bi-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    color: #57606a;
    font-size: 14px;
}

.mst-bi-breadcrumb a {
    color: #0969da;
    text-decoration: none;
}

.mst-bi-company {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 28px;
    background: #fff;
}

.mst-bi-company__header {
    padding: 22px;
    background: #f6f8fa;
    border-bottom: 1px solid #d8dee4;
}

.mst-bi-company__header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
}

.mst-bi-company__eyebrow {
    margin: 0 0 8px;
    color: #57606a;
    font-weight: 700;
}

.mst-bi-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.mst-bi-company__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #d8dee4;
    background: #fff;
}

.mst-bi-company__tabs a {
    padding: 14px 18px;
    border-bottom: 3px solid transparent;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
}

.mst-bi-company__tabs a:hover,
.mst-bi-company__tabs a:focus {
    border-bottom-color: #0969da;
    color: #0969da;
}

.mst-bi-company__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding: 22px;
    background: #f6f8fa;
}

.mst-bi-company__main {
    display: grid;
    gap: 22px;
}

.mst-bi-company__panel,
.mst-bi-sidebox {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    background: #fff;
}

.mst-bi-company__panel {
    padding: 22px;
}

.mst-bi-company__panel h2,
.mst-bi-sidebox h2 {
    margin: 0 0 18px;
    color: #0759c7;
    font-size: 20px;
    line-height: 1.3;
}

.mst-bi-company__aside {
    display: grid;
    align-content: start;
    gap: 16px;
}

.mst-bi-sidebox {
    padding: 18px;
}

.mst-bi-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
}

.mst-bi-field {
    display: grid;
    grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eaeef2;
}

.mst-bi-field dt,
.mst-bi-field-list dt {
    color: #475569;
    font-weight: 600;
}

.mst-bi-field dd,
.mst-bi-field-list dd {
    margin: 0;
    color: #0f172a;
}

.mst-bi-field-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.mst-bi-field-list div {
    display: grid;
    gap: 4px;
}

.mst-bi-muted {
    color: #94a3b8 !important;
    font-style: italic;
}

.mst-bi-data-table th {
    width: auto;
}

.mst-bi-action {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid #c8d8f8;
    border-radius: 6px;
    background: #fff;
    color: #0759c7;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.mst-bi-related-info {
    white-space: normal;
}

.mst-bi-table-wrap {
    overflow-x: auto;
}

.mst-bi-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.mst-bi-table th,
.mst-bi-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #d8dee4;
    text-align: left;
    vertical-align: top;
}

.mst-bi-table th {
    width: 260px;
    background: #fbfcfd;
    font-weight: 700;
    color: #24292f;
}

.mst-bi-related {
    margin: 28px 0;
}

.mst-bi-related h2 {
    font-size: 22px;
    margin: 0 0 14px;
}

.mst-bi-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mst-bi-related__item,
.mst-bi-list__item {
    display: block;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    text-decoration: none;
}

.mst-bi-related__item strong,
.mst-bi-related__item span {
    display: block;
}

.mst-bi-related__item span,
.mst-bi-list__meta {
    color: #57606a;
    font-size: 14px;
}

.mst-bi-search__form {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
}

.mst-bi-search__form input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d8dee4;
    border-radius: 6px;
}

.mst-bi-search__form button {
    padding: 10px 16px;
    border: 1px solid #0969da;
    border-radius: 6px;
    background: #0969da;
    color: #fff;
    cursor: pointer;
}

.mst-bi-list {
    display: grid;
    gap: 12px;
}

.mst-bi-location__header {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ef4444;
}

.mst-bi-location__header h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.3;
    color: #374151;
}

.mst-bi-list__item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.mst-bi-list__item p {
    margin: 6px 0 0;
}

.mst-bi-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-section {
    max-width: 1180px;
    margin: 24px auto;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.faq-section h2 {
    margin: 0 0 14px;
    font-size: 22px;
    color: #0f172a;
}

.faq-list .faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-list .faq-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.faq-question {
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 24px;
    display: flex;
    align-items: center;
    line-height: 1.45;
}

.faq-question::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230073aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.faq-question.active::before {
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    color: #005580;
}

.faq-answer {
    display: none;
    padding: 10px 0;
    color: #666;
    line-height: 1.5;
}

.faq-answer p {
    margin: 0 0 10px;
}

.faq-answer ul {
    counter-reset: num 0;
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.faq-answer li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 12px;
    min-height: 28px;
    color: #444;
    line-height: 1.6;
}

.faq-answer li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border: 1.5px solid #0073aa;
    color: #0073aa;
    border-radius: 50%;
    font-weight: 300;
    font-size: 13px;
    font-family: inherit;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
    z-index: 1;
}

.faq-answer li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 11px;
    top: calc(0.4em + 22px);
    width: 0;
    height: calc(100% - 22px + 12px);
    border-left: 1.5px solid #0073aa;
    z-index: 0;
}

.faq-answer li:hover {
    color: #005580;
}

/* Match the portal visual system */
.faq-section {
    max-width: 1180px;
    margin: 24px auto 26px;
    padding: 22px 24px;
    border: 1px solid var(--border, #e3eaf6);
    border-radius: var(--radius, 8px);
    background: var(--card, #fff);
    box-shadow: var(--shadow, 0 2px 12px rgba(10, 37, 86, .07));
}

.faq-section h2 {
    margin: 0 0 16px;
    color: var(--ink, #061640);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.faq-list .faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border, #e3eaf6);
    border-radius: var(--radius, 8px);
    background: var(--soft, #f5f8fe);
    overflow: hidden;
}

.faq-list .faq-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border, #e3eaf6);
}

.faq-question {
    margin: 0;
    padding: 14px 18px 14px 42px;
    color: var(--ink, #061640);
    font-size: 15px;
    font-weight: 800;
}

.faq-question::before {
    left: 16px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057d9' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.faq-question:hover,
.faq-answer li:hover {
    color: var(--blue, #0057d9);
}

.faq-answer {
    padding: 0 18px 16px 42px;
    border-top: 1px solid var(--border, #e3eaf6);
    background: #fff;
    color: var(--muted, #667293);
    line-height: 1.65;
}

.faq-answer p {
    margin: 12px 0 0;
}

.faq-answer li {
    color: var(--ink, #061640);
}

.faq-answer li::before {
    content: "\2713";
    border-color: var(--blue, #0057d9);
    color: var(--blue, #0057d9);
}

.faq-answer li:not(:last-child)::after {
    border-left-color: var(--blue, #0057d9);
}

@media (max-width: 780px) {
    .mst-bi-company__header {
        padding: 18px;
    }

    .mst-bi-company__header h1 {
        font-size: 22px;
    }

    .mst-bi-company__body,
    .mst-bi-field-grid {
        grid-template-columns: 1fr;
    }

    .mst-bi-company__body,
    .mst-bi-company__panel,
    .mst-bi-sidebox {
        padding: 16px;
    }

    .mst-bi-company__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .mst-bi-company__tabs a {
        flex: 0 0 auto;
        padding: 12px 14px;
        white-space: nowrap;
    }

    .mst-bi-field {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .mst-bi-table th,
    .mst-bi-table td {
        display: block;
        width: auto;
        padding: 12px 14px;
    }

    .mst-bi-table th {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .mst-bi-related__grid {
        grid-template-columns: 1fr;
    }

    .mst-bi-search__form {
        flex-direction: column;
    }
}
