[v-cloak] {
    display: none;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.dashed-box {
    border: 1px dashed #000; /* Set the border width and color */
    width: 300px; /* Set the width of the box */
    margin: 14px;
    padding: 4px;
}

.documentation-main {
    border-left:2px dashed #126fcc;
    min-height: 70vh;    
    overflow:auto;
}

.docSectionElement {
    margin: 1.4em;
}

.doc_url {
    background-color: white;
    border: 1px dashed;
    border-color: pink;
    border-radius: 12px 12px;
    padding: 2px 2px 2px 4px;
    margin: 4px;
    width: 94%;
    font-weight: bold;
    font-size: 1.4em;
}

.ukcdb-search-button {    
    background-color: #0c5eb0;
    border-radius: 10px;
}

.subtab-container-button-container {
    margin-bottom: 10px;
    display: flex; 
    flex-wrap: wrap;
}

.button-wrapper {
  
    flex: 0 0 calc(100% / 5); 
    box-sizing: border-box; 
    padding: 5px; 
    
    display: flex; 
}

    .button-wrapper button {
        width: 100%;
    }

.search-subtab-button {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.active-subtab {
    background-color: #0c5eb0 !important;
    color: white !important; 
}

.search-subtab-button-outline {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: #0c5eb0;
    border-color: #0c5eb0;
    background-color: white;
    border-radius: 10px;
    white-space: normal; 
    overflow-wrap: break-word; 
    text-align: center; 
    padding: 4px;
}


.search-subtab-button-download {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: white;
    border-color: purple;
    background-color: purple;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    padding: 4px;
}

    .search-subtab-button-download:hover {
        background-color: black;
        color: white;
        border-color: #888;
    }
     

.send-feedback-button {
    width: 100%;
    background-color: #e0af0b;
    border-radius: 10px;
    color: black;
    font-weight: bold;
}

.ukcdb-viewfinancials-button {
    width: 50%;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.ukcdb-details-panel {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 14px; 
}

.ukcdb-advanced-search-panel {
    background: var(--purple);
    background-size: cover;
    background-position: center;
    padding-top: 10px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px #0c0c0c21;
    font-size: 9pt;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.scrollable-content {
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin; 
    scrollbar-color: lightgray transparent; 
}


/* FILTER BADGES */
/* FILTER BADGES */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f3f3f3;
    padding: 6px 10px;
    border-radius: 12px;
    margin: 4px;
    animation: bounceIn 0.4s ease-out;
    font-weight:bold;
}


/* Enhancements for VueJS dynamic values */
.filter-value {
    font-weight: 900;
    color: #e0b000;
    margin-left: 4px;
    margin-right:4px;
}

/* CLEAR FILTER BUTTON */
.clearFilterButton {
    color: #bbb;
    background-color: transparent;
    border: 1px solid #bbb;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    transition: all 0.2s ease-in-out;
}

    .clearFilterButton:hover {
        background-color: #888;
        color: white;
        border-color: #888;
    }
     

/* END OF FILTER BADGES*/


.closeCompanyTabButton {
    color: #ffffff;
    border-color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    font-size: 12px; 
    font-weight: bold;
    cursor: pointer;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left:4px;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease-in-out;
    padding: 2px;
    line-height: 1;
}

    .closeCompanyTabButton:hover {
        background-color: red;
        color: white;
        border-color: red;
    }




/* END OF FILTER BADGES*/

.ukcdb-advanced-search-panel-text-entry {
    font-size: 9pt;
}

.ukcdb-advanced-search-panel-text-entry::placeholder {
        font-size: 9pt;
    }

.ukcdb-filter-label-text {
    color: white;
}

.ukcdb-savedsearches-table
{
    color:white;
}
.ukcdb-savedsearch-result-number {
    background-color: white;
    border-radius: 14px;
    color: var(--purple);
    font-size: 8pt;
    text-align: center;
    padding: 4px;
    display: block;
    margin-bottom: 6px;
    width:24px;
    height:24px;
}

.ukcdb-result-number { 
    background-color: #4a4a4a;
    border-radius: 20px;
    color: white;
    height: 20px;
    font-size: 8pt;
    text-align: center;
    padding: 2px;
    margin-top: 4px;
    min-width: 20px;
    max-width: 40px;
}

.toggle-advanced-search-button {
    cursor: pointer;
    background-color: white;
    color: #126fcc;
    margin-right: 2em;
    margin-left:0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* .toggle-advanced-search-button:hover {
        background-color: #3e95ed;
    }*/

.filter-value-label {
    color: white;
    margin: 1px;
}

/*This is for the multiselect input box*/
.multiselect__input2 {
    font-size: 9pt;
    border: none;
}

.multiselect__single2 {
    font-size: 9pt;
    border: none;
}



/*transitions*/

.slide-fade-enter-active,
.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(0.5, 0, 0.3, 1);
    max-height: 80px; 
    overflow: hidden;
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateY(-30px);
    opacity: 0;
    max-height: 0;
}

.slide-fade-enter-to,
.slide-fade-leave-from {
    transform: translateY(0);
    opacity: 1;
    max-height: 80px; 
}


.bounce-enter-active {
    animation: bounce-in 0.6s;
}

.bounce-enter {
    opacity: 0;
}

@keyframes bounce-in {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    20% {
        transform: translateY(-20px);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(5px);
    }
}

 


.spinning-ring-white {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

    .spinning-ring-white div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        margin: 4px;
        margin-left:auto;
        margin-right:auto;
        border: 4px solid white;
        text-align:center;
        border-radius: 50%;
        animation: spinning-ring 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: white transparent transparent transparent;
    }


.docs-mainheading {
    font-size: 22pt;
    font-weight: 600;
    margin-bottom: 20px;
}

.docs-subheading {
    font-size: 16pt;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

.docs-text {
    font-size: 12pt;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight:normal;
}

.docs-active{
    font-weight:bold;
    color:red;
}

.code-block {
    background-color: #e7e7e7;
    color: #2f2f2f;
    font-family: Courier New, Courier, monospace;
    font-size: 11pt;
    display: inline-block;
    padding: 4px;
    border-radius: 8px;
}
.hidden {
    display: none;
}


.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background: white;
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .autocomplete-results li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .autocomplete-results li:hover {
            background-color: #f0f0f0;
        }

.autocomplete-spinner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
}

.spinner {
    animation: spin 1s linear infinite;
    width: 100%;
    height: 100%;
}

.path {
    stroke: #555;
    stroke-linecap: round;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
.autocomplete-company-number {
    font-weight: bold;
    background-color: rgb(33, 150, 243);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    margin-right: 8px;
    font-size:0.8em;
}

.multiselect:focus-within,
.multiselect__input:focus,
.multiselect__tags:focus-within,
.multiselect__option--highlight {
    outline: none !important;
    box-shadow: none !important; /* Remove any related box-shadows */
    border-color: transparent !important; /* Remove any related borders */
}

/* Also specifically target the dropdown content wrapper */
.multiselect__content-wrapper:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* If there's an active selected label, sometimes it might get focus too */
.multiselect__single:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

/*
    IMPORTANT ACCESSIBILITY NOTE:
    You are removing the default focus indicator. This is bad for keyboard users.
    You MUST add an alternative visual cue if you use the above.
    Example:
*/
.multiselect:focus-within,
.multiselect__input:focus,
.multiselect__tags:focus-within,
.multiselect__option--highlight {
    /* ... (outline: none etc. as above) ... */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5) !important; /* Custom focus ring */
    transition: box-shadow 0.2s ease-in-out; /* Smooth transition */
}


*:focus {
    outline: none;
}

/* Director Monitoring Styles */
.subscription-status {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-label {
    font-weight: bold;
    margin-right: 10px;
}

.status-text {
    font-weight: bold;
}

.text-warning-dark {
    color: #856404; /* Darker amber color for better readability */
}

.notification-settings {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.directors-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

/* Notification Controls Box */
.notification-controls-box {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    min-width: 280px;
    font-size: 0.8rem;
    margin-left: auto;
}

.notification-toggle {
    margin-bottom: 4px;
}

.notification-toggle .form-label {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* Bootstrap form-switch styling - using default Bootstrap classes */

.subscription-status {
    font-size: 0.75rem;
    margin-top: 1px;
    text-align: center;
}

.directors-controls .form-label.small {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #495057;
}

.directors-controls .form-select-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.directors-controls .status-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.directors-count {
    text-align: center;
    margin: 20px 0;
}

.directors-count .badge {
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    border: 2px solid #007bff;
}

.directors-count .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    transition: all 0.3s ease;
}

.directors-list {
    max-height: 600px;
    overflow-y: auto;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s ease;
}

.director-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.director-item.selected {
    background: #e3f2fd;
    border-color: #2196f3;
}

.director-checkbox {
    margin-right: 15px;
}

.director-info {
    flex: 1;
    margin-right: 20px;
}

.director-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.director-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.director-company,
.director-address,
.director-dob {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.director-company i,
.director-address i,
.director-dob i {
    margin-right: 8px;
    width: 16px;
    color: #999;
}

.director-status {
    margin-right: 20px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-resigned {
    background: #f8d7da;
    color: #721c24;
}

.director-actions {
    display: flex;
    gap: 10px;
}

/* Compact Director Layout */
.director-item-compact {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.3s ease;
}

.director-item-compact:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.director-item-compact.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.director-item-compact.selected:hover {
    background: #bbdefb;
}

.director-row {
    display: grid;
    grid-template-columns: 30px 200px 250px 200px 150px auto;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.director-name-section {
    display: flex;
    align-items: center;
}

.director-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.director-company-section,
.director-address-section,
.director-dob-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.director-icon {
    color: #6c757d;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.director-text {
    font-size: 14px;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.director-actions-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
}

.empty-state h4 {
    color: #666;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin-bottom: 25px;
}

.spinning-ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.spinning-ring div {
    display: none; /* Hide the inner div to prevent double spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Director Monitoring Steps */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.step-box {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-box:hover {
    transform: translateY(-2px);
}

.step-number {
    background: #5ea8ff;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 15px auto;
    border: 2px solid #5ea8ff;
}

.step-content h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.step-content p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.step-arrow {
    color: #007bff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.advanced-matching-box {
    background: rgba(94, 168, 255, 0.1);
    color: #2c3e50;
    border: 2px solid rgba(94, 168, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.advanced-matching-box h6 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.advanced-matching-box p {
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Steps */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }
    
    .step-box {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .step-box {
        padding: 15px;
    }
    
    .step-content h6 {
        font-size: 14px;
    }
    
    .step-content p {
        font-size: 13px;
    }
}

/* Director Import Tab Styles */
.import-directors-tab {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tab-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.tab-header p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #3498db;
    background-color: #ecf0f1;
}

.upload-area.dragover {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.upload-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.file-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}

.file-input-group label {
    white-space: nowrap;
    font-weight: 500;
    color: #2c3e50;
}

.file-input-group input[type="file"] {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.upload-content i {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.upload-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.upload-content p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.file-limit {
    font-size: 12px;
    color: #e74c3c;
    font-weight: 500;
}

.file-preview {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.file-name {
    font-weight: 500;
    color: #2c3e50;
}

.file-size {
    color: #7f8c8d;
    font-size: 14px;
}

.company-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count-label {
    color: #7f8c8d;
}

.count-value {
    font-weight: 500;
    color: #27ae60;
}

.action-buttons {
    display: none;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.directors-selection {
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.selection-header h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.selection-controls {
    margin-bottom: 20px;
}

.selection-controls .form-control {
    width: 100%;
    margin-bottom: 15px;
}

.selection-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.left-actions, .right-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.selected-count {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.directors-list {
    max-height: none;
    overflow: visible;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
    margin-top: 35px;
    margin-bottom: 20px;
}

/* Style for directors already being monitored */
.director-already-added {
    background-color: #f8f9fa !important;
    color: #6c757d;
    opacity: 0.7;
}

.director-already-added:hover {
    background-color: #e9ecef !important;
}

.director-already-added input[type="checkbox"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style for directors that were just imported */
.director-imported {
    background-color: #d4edda !important;
    border-left: 4px solid #28a745;
}

.director-imported:hover {
    background-color: #c3e6cb !important;
}

.director-imported input[type="checkbox"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Company grouping styles */
.company-group {
    margin-bottom: 2rem;
}

.company-header {
    background-color: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-sequence {
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.company-details h5 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
}

.company-details p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* Compact company header styling */
.company-header-compact {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.company-info-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-sequence-compact {
    background-color: #007bff;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.company-details-compact h5 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
}

.company-number-inline {
    color: #666;
    font-weight: 400;
    font-size: 0.9em;
}

/* Director content styling */
.director-content {
    background: white;
    border: none;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.director-content:hover {
    background-color: #f8f9fa;
}

.director-content:last-child {
    border-bottom: none;
}

.director-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
}

.director-content .director-info {
    flex: 1;
}

.director-content .director-name {
    color: #333;
    margin: 0 0 4px 0;
    font-weight: 500;
    font-size: 0.95em;
    text-shadow: none;
}

.director-content .director-dob,
.director-content .director-address {
    color: #666;
    font-size: 0.85em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.director-content .director-actions {
    margin-left: auto;
}

.director-content .director-name-line {
    display: grid;
    grid-template-columns: 200px 120px 1fr;
    gap: 15px;
    align-items: start;
}

.director-content .director-name-line h5 {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Flat directors list */
.directors-list-flat {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.directors-list-flat .director-content:first-child {
    border-top: none;
}

.directors-list-flat .director-content:last-child {
    border-bottom: none;
}

/* Issue row styling */
.director-content.director-issue-row {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.director-content.director-issue-row.director-invalid {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.director-issue-message {
    font-style: italic;
    color: #6c757d;
}

.director-issue-message p {
    margin: 0;
    font-size: 0.9em;
}

/* Import progress styling */
.import-loading-content p strong {
    color: #126fcc;
    font-size: 1.05em;
}

.import-loading-content .progress {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.import-loading-content .progress-bar {
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f2f6;
    transition: background-color 0.2s ease;
}

.director-item:hover {
    background-color: #f8f9fa;
}

.director-item:last-child {
    border-bottom: none;
}

.director-checkbox {
    margin-right: 12px;
}

.director-info {
    flex: 1;
}

.director-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2px;
}

.director-company {
    font-size: 14px;
    color: #7f8c8d;
}

.director-status {
    margin-left: 10px;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-resigned {
    background-color: #f8d7da;
    color: #721c24;
}

.upload-progress {
    margin-top: 20px;
    display: none;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #7f8c8d;
}

.upload-results {
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    display: none;
}

.results-header h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.result-item i {
    margin-right: 10px;
    font-size: 18px;
}

.result-item.success i {
    color: #27ae60;
}

.result-item.error i {
    color: #e74c3c;
}

.result-text {
    color: #2c3e50;
}

.results-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.director-row-clickable {
    cursor: pointer;
}

/* Vue.js controlled visibility classes */
.show-section {
    display: block !important;
}

.show-flex {
    display: flex !important;
}

/* Vue transition bounce effect */
.bounce-enter-active {
    animation: bounce-in 0.5s;
}

.bounce-leave-active {
    animation: bounce-out 0.3s;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce-out {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

/* Responsive Design for Import Tab */
@media (max-width: 768px) {
    .upload-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .file-input-group {
        flex-direction: column;
        align-items: stretch;
        min-width: auto;
    }
    
    .file-input-group input[type="file"] {
        width: 100%;
    }
    
    .selection-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .left-actions, .right-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .selected-count {
        order: -1;
        margin-bottom: 10px;
    }
}

/* Director Monitoring BETA badge - twice default size (for status area) */
.director-monitoring-beta-badge {
    font-size: 1.5em;
    padding: 0.4em 0.75em;
    vertical-align: middle;
}

/* Smaller BETA badge next to page headings (avoid 1.5em of h1 size) */
.director-monitoring-beta-badge-in-heading {
    font-size: 0.5em;
    padding: 0.35em 0.6em;
    vertical-align: middle;
}

/* Monitored Directors - App Blue Theme */
.monitored-directors-list {
    max-height: none;
    overflow: visible;
}

.director-card {
    background: #ffffff;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.director-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #6c757d;
}

.director-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 6px 20px rgba(0,123,255,0.2);
}

.director-header {
    padding: 12px 16px;
    background: #6c757d;
    color: white;
    position: relative;
}

.director-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.director-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.director-info {
    flex: 1;
}

.director-name-line {
    display: grid;
    grid-template-columns: 1fr 200px 300px auto;
    align-items: center;
    gap: 20px;
    min-height: 40px;
}

.director-name {
    margin: 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 1;
}

.director-dob {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 2;
}

.director-address {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 3;
}

.director-dob i,
.director-address i {
    color: rgba(255,255,255,0.8);
    width: 14px;
    text-align: center;
}

.director-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.director-actions .btn-outline-danger {
    background-color: white;
    border-color: #dc3545;
    color: #dc3545;
    font-weight: 600;
}

.director-actions .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.director-appointments {
    padding: 12px 16px;
    background: #fafbfc;
}

.appointments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.appointments-header:hover {
    background: #dee2e6;
}

.appointments-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #495057;
}

.appointments-summary i {
    color: #007bff;
}

.appointments-count {
    font-size: 14px;
}

.appointments-toggle {
    color: #6c757d;
    transition: transform 0.2s ease;
}

.appointments-list {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-item {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.appointment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #6c757d;
}


.appointment-item:last-child {
    margin-bottom: 0;
}

/* Custom style for "Open in App" button */
.appointment-actions .btn-outline-primary {
    border-color: #0c5eb0;
    color: #0c5eb0;
}

.appointment-actions .btn-outline-primary:hover {
    background-color: #0c5eb0;
    border-color: #0c5eb0;
    color: white;
}

.director-appointment-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.director-appointment-number {
    font-weight: 700;
    color: #495057;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.director-appointment-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 120px;
    justify-content: center;
}

.status-current-appointment {
    background: #28a745;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-appointed {
    background: #28a745;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-resigned {
    background: #dc3545;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-updated {
    background: #ffc107;
    color: #212529;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-likely-dissolved,
.status-company-likely-dissolved {
    background: #dc3545;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

/* Import Loading Overlay */
.import-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.import-loading-content {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.import-loading-content h4 {
    color: #007bff;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.import-loading-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 14px;
}

.import-loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.import-loading-content .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.import-loading-content .progress-bar {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 4px;
}

/* Ensure directors-selection has relative positioning for overlay */
.directors-selection {
    position: relative;
}

/* Appointment Type Badges */
.appointment-badges {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.badge-current-appointment {
    background: #28a745;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.badge-likely-dissolved {
    background: #dc3545;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Director Monitoring Specific Styles */
/* Import Directors – total directors badge above list */
.directors-total-badge {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196F3;
    border-radius: 10px;
    font-weight: 600;
}
.directors-total-badge .directors-total-label {
    color: #1565c0;
    font-size: 1rem;
    margin-right: 8px;
}
.directors-total-badge .directors-total-count {
    font-size: 1.5rem;
    color: #0d47a1;
    min-width: 2.5rem;
    text-align: center;
}
.directors-total-badge .directors-total-hint {
    font-weight: 400;
}

.directors-count-badge {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: default;
}

.directors-count-badge:hover {
    color: #2c3e50 !important;
    background: none !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}
/* Disable hover effects on Directors button */
.directors-count .btn[style*="cursor: default"]:hover {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.director-appointment-company-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
}


.director-appointment-company-info strong {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    display: inline;
}

.director-appointment-company-number {
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    white-space: nowrap;
}

.appointment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 80px;
    justify-content: flex-start;
}

.appointment-actions .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.appointment-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.appointment-date {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 140px;
    justify-content: flex-start;
}

.appointment-date .date-label {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
}

.appointment-date i {
    color: #6c757d;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .director-appointment-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .director-appointment-company-info {
        min-width: auto;
        width: 100%;
    }
    
    .appointment-actions {
        width: 100%;
        justify-content: flex-start;
        min-height: auto;
    }
    
    .appointment-date {
        min-height: auto;
    }
    
    .director-appointment-number,
    .director-appointment-status,
    .appointment-date {
        white-space: normal;
    }
}

.no-appointments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    font-size: 16px;
}

.no-appointments i {
    margin-right: 8px;
    color: #6c757d;
    font-size: 18px;
}

/* Styles moved from Vue templates */
.search-placeholder {
    background: #e7f1ff;
    border: 1px solid #b6d4fe;
    color: #0c4a8a;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.feature-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.directors-dropdown {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-top: 10px;
    padding: 15px;
}

.directors-list {
    max-height: 300px;
    overflow-y: auto;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.director-item:last-child {
    border-bottom: none;
}

.director-info {
    flex: 1;
    min-width: 0;
}

.director-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.director-name strong {
    color: #2c3e50;
    word-break: break-word;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.director-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: #6c757d;
}

.director-address,
.director-dob {
    display: flex;
    align-items: center;
    gap: 5px;
}

.director-address i,
.director-dob i {
    font-size: 10px;
    width: 12px;
}

.director-actions {
    margin-left: 15px;
    flex-shrink: 0;
}

.director-actions .btn {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 80px;
}

@media (max-width: 768px) {
    .director-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .director-actions {
        margin-left: 0;
        align-self: center;
    }
    
    .director-details {
        flex-direction: column;
    }
}

/* SIC code selector modal – match app fonts and left-menu style (blue text, white background) */
.sic-selector-modal {
    font-size: 1rem;
    max-width: min(1560px, 95vw); /* 50% wider than 1040px, never full page */
}
.sic-selector-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
}
.sic-selector-modal-title {
    font-size: 1.1rem;
}
.sic-selector-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    font-size: 1rem;
}
.sic-selector-fixed-top {
    flex-shrink: 0;
}
.sic-selector-search-row {
    flex: 1 1 auto;
}
.sic-selector-search-row .sic-selector-search {
    flex: 1 1 auto;
    min-width: 0;
}
.sic-selector-search {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}
.sic-selector-search-hint {
    font-size: 0.9rem;
    color: #6c757d;
}
.sic-selector-company-name-toggle {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.45rem 0.6rem;
    color: #1f2937;
    font-size: 0.9rem;
    gap: 0.75rem;
}
.sic-selector-company-name-toggle-label {
    flex: 1 1 auto;
    min-width: 0;
}
.sic-selector-company-name-toggle small {
    color: #4b5563;
}
.sic-selector-clear-all-btn {
    background: #7f1d1d;
    color: #ffffff;
    border: 1px solid #7f1d1d;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    align-self: center;
}
.sic-selector-clear-all-btn:hover:not(:disabled) {
    background: #991b1b;
    border-color: #991b1b;
    color: #ffffff;
}
.sic-selector-clear-all-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.sic-selector-chips-wrap {
    min-height: 2.5rem;
}
.sic-selector-selected-summary {
    min-height: 2.15rem;
}
.sic-selector-selected-summary-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-width: 0;
}
.sic-selector-selected-preview-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.32rem;
    min-width: 0;
    padding-bottom: 2px;
}
.sic-selector-selected-preview-row.is-expanded {
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
}
.sic-selector-selected-preview-chip {
    background: #ffffff;
    color: #334155;
    border: 1px solid #c9d9ef;
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.15;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
}
.sic-selector-selected-preview-code {
    color: #0e4f95;
    font-weight: 700;
}
.sic-selector-selected-preview-desc {
    color: #475569;
    font-weight: 500;
}
.sic-selector-selected-preview-more-btn {
    border: 1px solid #c9d9ef;
    background: #ffffff;
    color: #334155;
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.sic-selector-selected-toggle {
    white-space: nowrap;
    font-size: 0.76rem;
    font-weight: 600;
}
.sic-selector-chips-empty {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
}
/* Selected codes: same style as home/search filter badges – grey rectangle, rounded corners, description dark grey, code yellow */
.sic-selector-chip.filter-badge {
    background-color: #f3f3f3;
    padding: 6px 10px;
    border-radius: 12px;
    margin: 2px 4px 2px 0;
    font-weight: bold;
}
.sic-selector-chip-code.filter-value {
    color: #e0b000;
    margin-right: 4px;
}
.sic-selector-chip-desc {
    color: #343a40;
    font-weight: normal;
    margin-right: 4px;
}
.sic-selector-chip-remove {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

/* SIC filters on home selected-filters bar */
.sic-home-filter-badge {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    background: transparent;
    border: none;
    padding: 0;
}
.sic-home-filter-container {
    border: 1px solid #d7e4f6;
    border-radius: 10px;
    padding: 6px 8px;
    background: #ffffff;
    width: 100%;
}
.sic-home-preview-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.sic-home-filter-chip {
    display: flex;
    align-items: center;
    gap: 0.24rem;
    background: #ffffff;
    border: 1px solid #c9d9ef;
    border-radius: 999px;
    padding: 0.12rem 0.46rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #334155;
    width: 100%;
    min-width: 0;
}
.sic-home-filter-code {
    color: #0e4f95;
    font-weight: 700;
    flex: 0 0 auto;
}
.sic-home-filter-desc {
    color: #4b5563;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sic-home-chip-remove {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 12px;
    margin-left: 4px;
    flex: 0 0 auto;
}
.sic-home-more-btn,
.sic-home-clear-all-btn {
    border: 1px solid #c9d9ef;
    background: #ffffff;
    color: #334155;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
}
.sic-home-clear-all-btn {
    border: 1px solid #cf9ca3;
    color: #8c1f2d;
}
.sic-home-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.sic-modal-chip-remove,
.sic-home-chip-remove {
    color: #7a8797;
    border-color: #c3cfdf;
    background-color: #ffffff;
}
.sic-selector-chip-remove:hover {
    color: #343a40;
}
.sic-selector-max-hint {
    font-size: 0.9rem;
    color: #856404;
}
.sic-selector-panels {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.sic-selector-full-list {
    display: flex;
}
.sic-selector-section-list {
    width: 220px;
    overflow-y: auto;
    min-height: 0;
    background: #f8f9fa;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}
.sic-selector-division-list {
    width: 220px;
    overflow-y: auto;
    min-height: 0;
    background: #f8f9fa;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}
.sic-selector-section-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    background: white;
    color: #126fcc;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.15s ease;
}
.sic-selector-section-item:last-child {
    border-bottom: none;
}
.sic-selector-section-item:hover:not(.sic-selector-section-item-disabled) {
    background: #f0f7ff;
}
.sic-selector-section-item-active {
    background: #126fcc !important;
    color: white !important;
}
.sic-selector-section-item-active .sic-selector-section-icon {
    background: white;
    color: #126fcc;
}
.sic-selector-section-item-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.sic-selector-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border-radius: 50%;
    background: #e8f0fe;
    color: #126fcc;
    font-size: 1rem;
    margin-right: 0.5rem;
}
.sic-selector-section-label {
    flex: 1;
    text-align: left;
}
.sic-selector-codes-panel {
    font-size: 1rem;
    min-height: 0;
}
.sic-selector-codes-scroll {
    min-height: 0;
}
.sic-selector-codes-empty {
    font-size: 0.95rem;
    color: #6c757d;
    padding: 1rem;
}
.sic-selector-codes-header {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
}
.sic-selector-codes-header .sic-selector-actions .btn-link {
    font-size: 0.875rem;
    font-weight: normal;
}
.sic-selector-codes-header .sic-selector-actions .btn-link:disabled {
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: none;
}
.sic-selector-max-msg {
    font-size: 0.8rem;
}
.sic-selector-code-row {
    font-size: 0.95rem;
    cursor: pointer;
    background: white;
    color: #212529;
}
.sic-selector-code-row:hover:not(:disabled) {
    background: #f8f9fa;
}
.sic-selector-code-row-selected {
    background: #126fcc !important;
    color: white !important;
}
.sic-selector-code-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border: 2px solid #adb5bd;
    border-radius: 2px;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.sic-selector-code-row-selected .sic-selector-code-checkbox {
    border-color: white;
    background: rgba(255,255,255,0.3);
}
.sic-selector-code-code {
    font-weight: 600;
    color: #6c757d;
    margin-right: 0.5rem;
    min-width: 3.5rem;
}
.sic-selector-code-row-selected .sic-selector-code-code {
    color: rgba(255,255,255,0.95);
}
.sic-selector-code-label {
    font-size: 0.95rem;
}
.sic-selector-save-btn {
    background-color: #004085;
    font-size: 1rem;
}
.sic-selector-tabs {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem !important;
}
.sic-selector-tab-btn {
    appearance: none;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
    min-width: 130px;
    text-align: center;
    padding: 0.4rem 1rem;
    box-shadow: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease-in-out, border-color 0.18s ease-in-out, color 0.18s ease-in-out;
}
.sic-selector-tab-btn:hover {
    color: #004085;
    background: #cfe2ff;
    border-color: #9ec5fe;
}
.sic-selector-tab-btn:focus,
.sic-selector-tab-btn:active {
    outline: none;
    box-shadow: none;
}
.sic-selector-tab-btn-active {
    background: #126fcc;
    border-color: #126fcc;
    color: #ffffff !important;
}
.sic-selector-tab-btn-active:hover {
    color: #ffffff;
    background: #126fcc;
    border-color: #126fcc;
}
.sic-selector-by-topic {
    min-height: 0;
}
.sic-selector-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.75rem;
}
.sic-selector-topic-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.62rem 0.68rem;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    text-align: left;
    min-height: 98px;
    height: 100%;
    transition: border-color 0.15s, background-color 0.15s;
}
.sic-selector-topic-tile-main {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.sic-selector-topic-tile:hover {
    border-color: #004085;
    background: #f8f9fa;
}
.sic-selector-topic-tile-icon {
    font-size: 1.16rem;
    line-height: 1;
    margin-bottom: 0;
}
.sic-selector-topic-tile-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.25;
    text-align: left;
    display: block;
}
.sic-selector-topic-tile-count {
    font-size: 0.74rem;
    color: #6c757d;
    text-align: left;
    margin-top: 0.34rem;
    margin-left: 1.62rem;
}
.sic-selector-topic-tile-selected {
    border-color: #004085;
    background-color: #e7f1ff;
}
.sic-selector-topic-tile-partial {
    border-color: #004085;
    background-color: #f0f4ff;
}

/* Shared modal refresh for SIC + financial filter popup */
.ukcdb-modern-modal {
    border: 1px solid #d8e6ff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(16, 52, 103, 0.12);
}

.ukcdb-modern-modal .modal-header {
    border-bottom: 1px solid #e4edfb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1rem;
}

.sic-selector-modal-title,
.financial-filter-modal-title {
    color: #126fcc;
    border: 1px solid #cfe0ff;
    background: #ebf3ff;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-weight: 600;
}

.modal-close-pill {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    border: 1px solid #b9d3ff;
    background: #dbe9ff;
    color: #126fcc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-close-pill:hover {
    background: #cde0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(18, 111, 204, 0.18);
}

.modal-close-pill:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(18, 111, 204, 0.2);
}

/* Financial popup polish */
#xbrlConceptFilterContainer .modal-dialog {
    max-width: min(860px, 92vw);
}

.financial-filter-modal-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fbfdff;
}

.financial-filter-row {
    border: 1px solid #e3ebf8;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    background: #ffffff;
}

.financial-filter-label {
    font-weight: 600;
    color: #126fcc;
    margin-bottom: 0.45rem;
}

.financial-filter-input {
    font-size: 0.95rem;
    border-radius: 8px;
    border-color: #d5e3fb;
    padding: 0.35rem 0.5rem;
}

.financial-filter-input:focus {
    border-color: #91b7ef;
    box-shadow: 0 0 0 0.18rem rgba(18, 111, 204, 0.15);
}

.financial-filter-save-btn {
    background: #004a99;
    border-color: #004a99;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
}

.financial-filter-save-btn:hover {
    background: #005cc0;
    border-color: #005cc0;
}

/* SIC selector mobile responsiveness (desktop layout unchanged) */
@media (max-width: 767.98px) {
    .sic-selector-modal {
        max-width: 100vw;
        margin: 0.35rem;
    }

    .sic-selector-modal .modal-content {
        max-height: calc(100vh - 0.7rem);
    }

    .sic-selector-full-list {
        flex-direction: column;
        gap: 0.5rem;
        min-height: 0;
        overflow: hidden;
    }

    .sic-selector-section-list,
    .sic-selector-division-list {
        width: 100%;
        max-height: 22vh;
    }

    .sic-selector-panels {
        overflow-y: auto;
    }

    .sic-selector-codes-panel {
        min-height: 34vh;
    }

    .sic-selector-search-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sic-selector-search-row .sic-selector-save-btn {
        width: 100%;
    }

    .sic-selector-company-name-toggle {
        flex-wrap: wrap;
    }
}

/* Financial filter launcher cards */
.more-filters-button {
    border-radius: 14px;
    border: 1px solid #d5e5ff;
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    color: #145fae;
    font-weight: 500;
    font-size: 0.76rem;
    line-height: 1.22;
    padding: 8px 10px;
    height: 88px;
    box-shadow: 0 5px 14px rgba(12, 55, 110, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.more-filters-button i {
    font-size: 15px;
    color: #126fcc;
}

.more-filters-button:hover {
    color: #0d4f94;
    border-color: #a9c9f4;
    background: linear-gradient(180deg, #fafdff 0%, #e9f3ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(12, 55, 110, 0.1);
}

.people-graph-tab { padding: 4px 0 24px; }
.people-graph-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.people-graph-field { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; }
.people-graph-field label { font-size: 0.8rem; font-weight: 600; color: #374151; margin-bottom: 3px; }
.people-graph-field-small { flex: 0 1 130px; }
.people-graph-field-button { flex: 0 0 auto; }
.people-graph-search-btn { min-width: 100px; justify-content: center; padding: 0 18px; height: 40px; }
/* Same look as the Find Companies box in the left panel */
.people-graph-tab .form-control { height: 40px; font-size: 0.9rem; border-color: #c7dafb; border-radius: 10px; }
.people-graph-tab .form-control:focus { border-color: #8db7f1; box-shadow: 0 0 0 3px rgba(42, 119, 216, 0.14); }
.people-graph-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.people-graph-top-main { flex: 1 1 520px; min-width: 0; }
.people-graph-history { flex: 0 0 260px; margin-left: auto; border: 1px solid #dce7f8; border-radius: 10px; background: #f8fbff; text-align: left; }
.people-graph-history-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; font-size: 0.8rem; font-weight: 700; color: #0d315f; border-bottom: 1px solid #dce7f8; }
.people-graph-history-clear { border: 0; background: none; color: #2a77d8; font-size: 0.75rem; font-weight: 600; cursor: pointer; padding: 0; }
.people-graph-history-clear:hover { text-decoration: underline; }
.people-graph-history-list { list-style: none; margin: 0; padding: 0; max-height: 150px; overflow-y: auto; }
.people-graph-history-item { display: flex; align-items: center; border-top: 1px solid #eef3fb; }
.people-graph-history-item:first-child { border-top: 0; }
.people-graph-history-run { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 6px; padding: 5px 4px 5px 10px; border: 0; background: none; text-align: left; cursor: pointer; font-size: 0.82rem; color: #184a8d; }
.people-graph-history-run:hover { background: #eef5ff; }
.people-graph-history-kind { flex: 0 0 auto; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; color: #5a6b85; }
.people-graph-history-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people-graph-history-x { flex: 0 0 auto; border: 0; background: none; color: #5a6b85; font-size: 1.1rem; line-height: 1; padding: 2px 9px; cursor: pointer; }
.people-graph-history-x:hover { color: #b42318; }
.people-graph-sample { max-width: 640px; margin: 14px auto 0; text-align: center; }
.people-graph-sample svg { width: 100%; height: auto; }
.people-graph-sample-caption { font-size: 0.8rem; color: #6b7280; }
.people-graph-note { font-size: 0.82rem; color: #6b7280; margin: 10px 0 8px; max-width: 900px; }
.people-graph-message { padding: 8px 12px; border-radius: 6px; background: #eff6ff; color: #1e3a8a; font-size: 0.9rem; margin-bottom: 10px; }
.people-graph-message-error { background: #fef2f2; color: #991b1b; }
.people-graph-candidates { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.people-graph-candidates-head { background: #126fcc; color: #fff; font-weight: 600; padding: 8px 12px; font-size: 0.9rem; }
.people-graph-candidate { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-top: 1px solid #f1f5f9; background: #fff; cursor: pointer; }
.people-graph-candidate:hover, .people-graph-candidate:focus { background: #f0f7ff; outline: none; }
.people-graph-candidate-name { font-weight: 600; color: #126fcc; min-width: 200px; }
.people-graph-candidate-born, .people-graph-candidate-count, .people-graph-candidate-places { font-size: 0.85rem; color: #374151; }
.people-graph-candidate-places { color: #6b7280; }
.people-graph-candidate-psc { font-size: 0.75rem; background: #fef3c7; color: #92400e; border-radius: 10px; padding: 1px 8px; }
.people-graph-area { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.people-graph-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; }
.people-graph-count { font-size: 0.8rem; color: #6b7280; margin-left: auto; }
.people-graph-body { display: flex; min-height: 560px; }
.people-graph-canvas-wrap { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; position: relative; }
.people-graph-explore { position: absolute; z-index: 5; transform: translate(-50%, -100%); max-width: 260px; padding: 4px 10px; font-size: 12px; line-height: 1.3; color: #2a77d8; background: #eef5ff; border: 1px solid #2a77d8; border-radius: 4px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.people-graph-actions-col { position: absolute; top: 10px; right: 10px; z-index: 6; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 190px; }
.people-graph-fs-btn { height: 42px; padding: 0 14px; font-size: 14px; justify-content: center; white-space: nowrap; }
.people-graph-legend-wrap { position: absolute; left: 10px; bottom: 10px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.people-graph-legend.people-graph-legend-pop { flex-direction: column; flex-wrap: nowrap; gap: 5px; padding: 10px 12px; background: rgba(255,255,255,.97); border: 1px solid #c9d9f1; border-radius: 10px; box-shadow: 0 4px 14px rgba(17, 56, 114, 0.15); text-align: left; }
.people-graph-legend-btn { background: #fff; }
/* "Show" card under the map buttons: the links, plus Open company / Open in new tab / Start from here, for the selected card */
.people-graph-show { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; background: rgba(255,255,255,.96); border: 1px solid #c9d9f1; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.people-graph-show-title { font-size: 12px; font-weight: 700; color: #0d315f; }
/* Full screen: "New search" button (top left, first in the filter column) and the search row it opens across the top of the map */
.people-graph-fs-new { width: 100%; height: 38px; justify-content: center; font-size: 13px; }
.pg-fs-search { position: absolute; top: 0; left: 0; right: 0; z-index: 40; padding: 12px 14px 6px; background: #fff; border-bottom: 1px solid #c9d9f1; box-shadow: 0 10px 24px rgba(17, 56, 114, 0.16); text-align: left; }
.pg-fs-search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #0d315f; }
.pg-fs-search-enter-active, .pg-fs-search-leave-active { transition: opacity 0.25s ease, transform 0.25s ease; }
.pg-fs-search-enter-from, .pg-fs-search-leave-to { opacity: 0; transform: translateY(-12px); }
@media (prefers-reduced-motion: reduce) { .pg-fs-search-enter-active, .pg-fs-search-leave-active { transition: none; } }
/* "How we matched them": the reasons behind a possible-relative line, as labelled chips */
.pg-match { margin: 8px 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #faf8ff; font-size: 0.82rem; color: #374151; }
.pg-match-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #5b21b6; margin-bottom: 6px; }
.pg-match-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 8px; }
.pg-match-compact .pg-match-title { margin-bottom: 3px; }
.pg-match-rules { margin: 0 0 8px; padding-left: 18px; }
.pg-match-rules li { margin: 2px 0; }
.pg-match-caution { font-size: 0.78rem; color: #6b7280; }
.pg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; line-height: 1.5; }
.pg-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.pg-chip-surname { background: #ede9fe; color: #5b21b6; }
.pg-chip-address { background: #e0f2fe; color: #075985; }
.pg-chip-company { background: #e4efff; color: #184a8d; }
.pg-chip-age { background: #f1f5f9; color: #475569; }
.pg-chip-other { background: #f3f4f6; color: #374151; }
.people-graph-show-list { display: flex; flex-direction: column; gap: 10px; }
.people-graph-show-item { display: flex; flex-direction: column; gap: 4px; }
.people-graph-show-item .people-graph-show-text { padding: 0 2px; }
/* the button column is a little wider so the guidance text under each button reads easily, and scrolls on a short window */
.people-graph-actions-col { width: 230px; max-height: calc(100% - 20px); overflow-y: auto; overflow-x: hidden; padding-right: 2px; }
/* Options that do not apply in the ownership tree view fold away (and unfold again) instead of popping in and out */
.pg-collapse-enter-active, .pg-collapse-leave-active { transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease, transform 0.3s ease, padding 0.3s ease; overflow: hidden; }
.pg-collapse-enter-from, .pg-collapse-leave-to { opacity: 0; max-height: 0; margin-top: 0; margin-bottom: -6px; padding-top: 0; padding-bottom: 0; transform: translateY(-6px); }
.pg-collapse-enter-to, .pg-collapse-leave-from { opacity: 1; max-height: 120px; }
.pg-collapse-leave-active { position: relative; }
.pg-collapse-card-enter-active, .pg-collapse-card-leave-active { transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease, transform 0.35s ease, padding 0.35s ease; overflow: hidden; }
.pg-collapse-card-enter-from, .pg-collapse-card-leave-to { opacity: 0; max-height: 0; margin-top: 0; margin-bottom: -12px; padding-top: 0; padding-bottom: 0; transform: translateY(-8px); }
.pg-collapse-card-enter-to, .pg-collapse-card-leave-from { opacity: 1; max-height: 420px; }
@media (prefers-reduced-motion: reduce) { .pg-collapse-enter-active, .pg-collapse-leave-active, .pg-collapse-card-enter-active, .pg-collapse-card-leave-active { transition: none; } }
.people-graph-show-text { font-size: 11.5px; line-height: 1.35; color: #5a6b85; text-align: left; }
.people-graph-show-btn { width: 100%; min-height: 34px; height: auto; padding: 6px 10px; justify-content: flex-start; font-size: 12.5px; line-height: 1.2; white-space: normal; text-align: left; }
.people-graph-show-btn .people-graph-help-icon { margin-left: auto; }
.people-graph-show-sep { height: 1px; background: #e3eaf5; margin: 2px 0; }
.people-graph-view-toggle { display: flex; gap: 6px; }
.people-graph-view-toggle .people-graph-fs-btn { flex: 1 1 0; width: auto; padding: 0 8px; }
.people-graph-help-wrap { position: relative; display: flex; flex-direction: column; }
.people-graph-help-wrap .people-graph-fs-btn { width: 100%; }
.people-graph-help-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 700; line-height: 1; cursor: help; }
.people-graph-help-icon:hover, .people-graph-help-icon:focus { background: #2a77d8; border-color: #2a77d8; color: #fff; outline: none; }
.people-graph-help-popup { position: absolute; top: calc(100% + 6px); right: 0; z-index: 8; width: 250px; padding: 10px 12px; background: #fff; border: 1px solid #c7dafb; border-radius: 10px; box-shadow: 0 6px 18px rgba(17, 56, 114, 0.18); font-size: 12.5px; line-height: 1.4; color: #1f3551; text-align: left; }
.people-graph-help-popup strong { display: block; color: #0d315f; margin-bottom: 3px; }
.people-graph-start { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.people-graph-start .people-graph-mode, .people-graph-start .people-graph-search { margin-bottom: 10px; }
.people-graph-search-company { flex: 1 1 360px; align-items: center; }
.people-graph-search-person { flex: 1 1 100%; }
.people-graph-filter-col { position: absolute; top: 10px; left: 10px; z-index: 6; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.people-graph-area { margin-top: 14px; position: relative; overflow: hidden; }
/* Slide-out company panel: enters from the right edge of the map area */
.pg-company-panel { position: absolute; top: 0; bottom: 0; right: 0; z-index: 30; width: min(900px, 96%); display: flex; flex-direction: column; background: #fff; border-left: 1px solid #c9d9f1; box-shadow: -10px 0 28px rgba(17, 56, 114, 0.18); transform: translateX(105%); visibility: hidden; transition: transform 0.35s cubic-bezier(0.25, 0.9, 0.35, 1), visibility 0s linear 0.35s; text-align: left; }
.pg-company-panel.is-open { transform: translateX(0); visibility: visible; transition: transform 0.35s cubic-bezier(0.25, 0.9, 0.35, 1), visibility 0s; }
.pg-cp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; border-bottom: 1px solid #e3eaf5; }
.pg-cp-name { font-size: 1rem; font-weight: 700; color: #0d315f; line-height: 1.25; }
.pg-cp-number { font-size: 0.78rem; color: #5a6b85; }
.pg-cp-close { border: 0; background: #eef5ff; color: #184a8d; width: 28px; height: 28px; border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.pg-cp-close:hover { background: #dbeafe; }
.pg-cp-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; border-bottom: 1px solid #eef3fb; }
.pg-cp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 14px; font-size: 0.85rem; }
.pg-cp-body { overflow-x: hidden; }
.pg-cp-body .company-card { margin-bottom: 10px; padding: 12px; }
/* The company page's grid breaks on the screen width; in the panel it should follow the panel's width instead */
.pg-cp-body .company-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; margin: 0; }
.pg-cp-body .company-card-grid > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; }
.pg-cp-body .company-kv { gap: 12px; }
.pg-cp-body .company-kv-value { text-align: right; min-width: 0; overflow-wrap: anywhere; }
/* Balance sheet: wider panel, numbers right-aligned in tidy columns, scrolls sideways only if there are many years */
.pg-cp-body .table { font-size: 0.78rem; display: block; overflow-x: auto; }
.pg-cp-body .table td { white-space: nowrap; }
.pg-cp-body .table td.text-center { text-align: right !important; font-variant-numeric: tabular-nums; padding-left: 18px; }
.pg-cp-empty { padding: 10px 0; color: #5a6b85; font-size: 0.85rem; }
.pg-cp-source { margin-top: 6px; font-size: 0.74rem; color: #8a97ab; }
.pg-cp-loading { padding: 12px 0; color: #5a6b85; font-size: 0.85rem; }
.pg-cp-foot { padding: 10px 14px; border-top: 1px solid #e3eaf5; background: #f8fbff; }
@media (prefers-reduced-motion: reduce) { .pg-company-panel, .pg-company-panel.is-open { transition: none; } }
.people-graph-canvas-count { font-size: 11px; line-height: 1.2; color: #6b7280; text-align: left; margin-top: -4px; padding-left: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.people-graph-area.people-graph-fullscreen { margin-top: 0; }
.people-graph-field-button { flex-direction: row; gap: 8px; }
.people-graph-clear-btn { min-width: 80px; color: #b42318; border-color: #f3c3c3; }
.people-graph-clear-btn:hover { background: #fff5f5; }
.people-graph-filters { display: flex; flex-direction: column; gap: 6px; padding: 8px 12px; background: rgba(255,255,255,.95); border: 1px solid #c9d9f1; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.1); font-size: 13px; font-weight: 600; color: #1d4f93; text-align: left; }
.people-graph-filters label { display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.people-graph-explore-close { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: none; box-sizing: border-box; padding: 5px 6px 5px 12px; border-radius: 10px; color: #5a6b85; background: #f4f6fa; border-color: #9fb0c8; text-align: left; }
.people-graph-explore-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people-graph-explore-x { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #c4cfde; color: #5a6b85; font-size: 14px; line-height: 1; }
.people-graph-explore-close:hover .people-graph-explore-x { color: #b42318; border-color: #e2a8a3; }
.people-graph-explore:hover { background: #d8ebff; }
.people-graph-canvas { flex: 1 1 auto; min-height: 560px; background: #fafafa; cursor: grab; position: relative; }
.people-graph-labels { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 3; }
.pg-lbl { position: absolute; left: 0; top: 0; width: 190px; padding: 3px 6px 4px; border-radius: 8px; background: rgba(255,255,255,.9); text-align: center; transform-origin: 50% 0; line-height: 1.25; font-family: inherit; }
.pg-lbl-name { font-size: 12px; font-weight: 600; color: #1f2937; word-break: break-word; }
.pg-lbl-centre .pg-lbl-name { font-size: 13.5px; font-weight: 700; color: #0d315f; }
.pg-lbl-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 3px; }
.pg-lbl-pill { padding: 0 7px; border-radius: 9px; font-size: 10px; font-weight: 600; line-height: 1.5; }
.pg-pill-role { background: #e4efff; color: #184a8d; }
.pg-pill-owner { background: #ffedd5; color: #9a3412; }
.pg-pill-ended { background: #f1f5f9; color: #64748b; }
.pg-pill-status { background: #fee2e2; color: #991b1b; }
.pg-lbl-dates { margin-top: 2px; font-size: 10.5px; color: #5a6b85; }
.pg-lbl-info { margin-top: 2px; font-size: 10.5px; color: #6b7280; }
.pg-lbl-info::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 4px; vertical-align: -2px; background-repeat: no-repeat; background-size: contain; }
.pg-info-date::before { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.pg-info-born::before { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.pg-info-place::before { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 22s7-6.5 7-12a7 7 0 0 0-14 0c0 5.500 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.500'/%3E%3C/svg%3E"); }
.pg-lbl-card { width: 224px; box-sizing: border-box; padding: 9px 10px 9px 56px; text-align: left; background: #fff; border-radius: 10px; }
.pg-lbl-card::before { content: ""; position: absolute; left: 48px; top: 9px; bottom: 9px; width: 1px; background: #e3eaf5; }
.pg-lbl-icon { position: absolute; left: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.pg-lbl-card .pg-lbl-name { font-size: 12.5px; overflow-wrap: anywhere; }
.pg-lbl-card .pg-lbl-pills { justify-content: flex-start; }
.pg-lbl-card.pg-lbl-sel { box-shadow: none; }
.pg-lbl-ants { display: none; position: absolute; left: -3px; top: -3px; width: calc(100% + 6px); height: calc(100% + 6px); overflow: visible; pointer-events: none; }
.pg-lbl-sel .pg-lbl-ants { display: block; }
.pg-lbl-ants rect { fill: none; stroke: #2a77d8; stroke-opacity: 0.7; stroke-width: 1.5; stroke-dasharray: 6 6; animation: pg-ants 3.6s linear infinite; }
@keyframes pg-ants { to { stroke-dashoffset: -12; } }
@media (prefers-reduced-motion: reduce) { .pg-lbl-ants rect { animation: none; } }
.pg-lbl-ghost { padding: 0 4px; background: none; }
.pg-lbl-ghost .pg-lbl-name { font-size: 10px; font-weight: 500; color: #6b7280; }
.pg-lbl-sel { box-shadow: 0 0 0 2px #2a77d8; }
.people-graph-canvas.pg-over-ele { cursor: pointer; }
.people-graph-canvas.pg-grabbing { cursor: grabbing; }
.people-graph-canvas, .people-graph-panel, .people-graph-candidates, .people-graph-note { text-align: left; }
.people-graph-canvas canvas { left: 0; }
.people-graph-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 6px 10px; font-size: 0.75rem; color: #4b5563; border-top: 1px solid #f1f5f9; }
.people-graph-legend span { display: inline-flex; align-items: center; gap: 5px; }
.people-graph-key { display: inline-block; width: 12px; height: 12px; }
.people-graph-key-person { border-radius: 50%; background: #7c3aed; }
.people-graph-key-company { border-radius: 3px; background: #2a77d8; }
.people-graph-key-corporate { background: #b45309; transform: rotate(45deg) scale(0.8); }
.people-graph-line { display: inline-block; width: 22px; border-top: 2px solid #2a77d8; }
.people-graph-line-likely { border-top-style: dashed; }
.people-graph-line-possible { border-top-style: dotted; }
.people-graph-line-resigned { border-top-color: #c08497; }
.people-graph-panel { flex: 0 0 320px; border-left: 1px solid #e5e7eb; padding: 12px; max-height: 640px; overflow-y: auto; font-size: 0.88rem; }
.people-graph-panel-empty { color: #6b7280; }
.people-graph-panel-title { color: #126fcc; font-weight: 700; margin-bottom: 6px; word-break: break-word; }
.people-graph-panel-meta { color: #374151; margin-bottom: 8px; }
.people-graph-btn-small { font-size: 12px; padding: 6px 10px; }
.people-graph-btn-danger { background: #ffffff; border-color: #f3c3c3; color: #b42318; box-shadow: none; }
.people-graph-btn-danger:hover, .people-graph-btn-danger:focus { background: #fff5f5; border-color: #eaa5a5; color: #912018; }
.people-graph-facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 10px; margin: 0 0 10px; font-size: 0.85rem; }
.people-graph-facts dt { font-weight: 600; color: #6b7280; margin: 0; }
.people-graph-facts dd { margin: 0; color: #1f2937; word-break: break-word; }
.people-graph-fact-note { font-size: 0.74rem; color: #9ca3af; }
.people-graph-status { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 10px; padding: 0 8px; }
.people-graph-status-on { background: #e4efff; color: #184a8d; }
.people-graph-status-off { background: #f3f4f6; color: #4b5563; }
body.people-graph-noscroll { overflow: hidden; }
.people-graph-area.people-graph-fullscreen { position: fixed; inset: 0; z-index: 1060; border-radius: 0; border: 0; display: flex; flex-direction: column; }
.people-graph-fullscreen .people-graph-body { flex: 1 1 auto; min-height: 0; }
.people-graph-fullscreen .people-graph-canvas { min-height: 0; }
.people-graph-fullscreen .people-graph-panel { max-height: none; }
.people-graph-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.people-graph-confidence { display: inline-block; font-size: 0.78rem; font-weight: 600; border-radius: 10px; padding: 1px 9px; margin-bottom: 6px; }
.people-graph-confidence-strong { background: #e4efff; color: #184a8d; }
.people-graph-confidence-likely { background: #fef9c3; color: #854d0e; }
.people-graph-confidence-possible { background: #fee2e2; color: #991b1b; }
.people-graph-signals { font-size: 0.8rem; color: #6b7280; margin-bottom: 6px; }
.people-graph-roles { list-style: none; padding: 0; margin: 0; }
.people-graph-roles li { padding: 5px 0 5px 8px; border-left: 3px solid #2a77d8; margin-bottom: 4px; word-break: break-word; }
.people-graph-roles li.people-graph-role-past { border-left-color: #c08497; color: #6b7280; }
.people-graph-controls, .people-graph-link-role { font-size: 0.78rem; color: #6b7280; }
.people-graph-link-conf { font-size: 0.75rem; color: #92400e; }
.people-graph-links-head { font-weight: 600; color: #374151; margin: 4px 0; }
.people-graph-trail { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; padding: 7px 10px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; font-size: 0.85rem; text-align: left; }
.people-graph-trail-label { color: #6b7280; }
.people-graph-trail-sep { color: #9ca3af; }
.people-graph-trail-step { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.people-graph-trail-current { font-weight: 600; color: #1f2937; padding: 1px 4px; }
.people-graph-related { border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px; margin-bottom: 10px; background: #fafafa; }
.people-graph-related-note { font-size: 0.78rem; color: #6b7280; margin-bottom: 6px; }
.people-graph-related-failed { color: #991b1b; }
.people-graph-related-person { display: flex; flex-direction: column; width: 100%; text-align: left; border: 0; border-top: 1px solid #e5e7eb; background: transparent; padding: 6px 2px; cursor: pointer; }
.people-graph-related-person:hover, .people-graph-related-person:focus { background: #f0f7ff; outline: none; }
.people-graph-related-name { font-weight: 600; color: #126fcc; }
.people-graph-related-meta { font-size: 0.78rem; color: #4b5563; }
.search-placeholder-compact { margin-bottom: 14px; }
.search-placeholder-text { font-size: 1rem; font-weight: 500; }
.searchfeature-shell .section-title { font-size: 1.15rem; }
.connections-promo { display: flex; align-items: center; gap: 22px; border: 1px solid #dce7f8; border-radius: 16px; background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); padding: 16px 20px; margin-bottom: 18px; text-align: left; }
.connections-promo-graphic { flex: 0 1 460px; min-width: 0; border: 0; background: #ffffff; border-radius: 12px; padding: 6px; cursor: pointer; box-shadow: 0 4px 14px rgba(17, 56, 114, 0.08); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.connections-promo-graphic:hover, .connections-promo-graphic:focus { box-shadow: 0 10px 24px rgba(17, 56, 114, 0.16); transform: translateY(-1px); outline: none; }
.connections-promo-graphic svg { display: block; width: 100%; height: auto; }
.connections-promo-text { flex: 1 1 260px; min-width: 0; }
.connections-promo-title { color: #0d315f; font-weight: 700; margin-bottom: 6px; }
.connections-promo-text p { color: #5a6b85; font-size: 14px; margin-bottom: 12px; }
.connections-promo-btn { white-space: normal; text-align: left; }
@media (max-width: 767.98px) {
    .connections-promo { flex-direction: column; align-items: stretch; padding: 12px; }
    .connections-promo-graphic { flex: 0 0 auto; }
}
.people-graph-heading { color: #126fcc; font-weight: 700; margin: 0 0 8px; text-align: left; }
.people-graph-mode { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.people-graph-mode-label { font-size: 0.8rem; font-weight: 600; color: #374151; margin-right: 2px; }
.people-graph-field-wide { flex: 1 1 320px; max-width: 560px; }
.people-graph-count-full { color: #b42318; font-weight: 600; }
.people-graph-branches { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; padding: 6px 10px; border-bottom: 1px solid #e5e7eb; background: #fbfdff; font-size: 0.8rem; text-align: left; }
.people-graph-branch { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; border: 1px solid #bfdbfe; background: #eff6ff; color: #1e3a8a; border-radius: 12px; padding: 1px 4px 1px 9px; }
.people-graph-branch-root { background: #f8fafc; border-color: #e5e7eb; color: #374151; padding-right: 9px; }
.people-graph-branch-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.people-graph-branch-close { border: 0; background: transparent; color: #1e3a8a; font-size: 1rem; line-height: 1; padding: 0 4px; border-radius: 50%; cursor: pointer; }
.people-graph-branch-close:hover, .people-graph-branch-close:focus { background: #dbeafe; outline: none; }
.people-graph-branch-close:disabled { opacity: 0.4; cursor: default; }
.people-graph-key-address { background: #0369a1; border-radius: 2px 6px 6px 2px; }
.people-graph-line-shared { border-top: 4px solid #2563eb; }
.people-graph-line-address { border-top: 2px dashed #0369a1; }
.people-graph-line-control { border-top: 3px solid #b45309; }
.people-graph-line-ownership { border-top: 2px solid #c2410c; position: relative; }
.people-graph-line-ownership::after { content: ""; position: absolute; right: -2px; top: -6px; border-left: 7px solid #c2410c; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.people-graph-line-related { border-top: 2px dotted #7c3aed; }
.people-graph-line-ghost { border-top: 1px solid #9ca3af; opacity: 0.6; }
.people-graph-key-person, .people-graph-key-owner, .people-graph-key-company { width: 14px; height: 14px; border-radius: 0; background-color: transparent; background-repeat: no-repeat; background-size: contain; background-position: center; }
.people-graph-key-person { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c3aed'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E"); }
.people-graph-key-owner { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c2410c'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E"); }
.people-graph-key-company { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a77d8'%3E%3Cpath fill-rule='evenodd' d='M3 22V2h12v20zM6 5h2v2H6zm4 0h2v2h-2zM6 9h2v2H6zm4 0h2v2h-2zM6 13h2v2H6zm4 0h2v2h-2zM7.5 17h3v5h-3z'/%3E%3Cpath fill-rule='evenodd' d='M16 22V9h5v13zm1.5-10h2v2h-2zm0 4h2v2h-2z'/%3E%3C/svg%3E"); }
.people-graph-confidence-shared { background: #dbeafe; color: #1e40af; }
.people-graph-confidence-address { background: #e0f2fe; color: #075985; }
.people-graph-confidence-control { background: #ffedd5; color: #9a3412; margin-right: 4px; }
.people-graph-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.people-graph-tag { font-size: 0.75rem; background: #f3f4f6; color: #374151; border-radius: 10px; padding: 1px 8px; }
.people-graph-warning { font-size: 0.8rem; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 6px; padding: 6px 8px; margin-bottom: 10px; }
.people-graph-overdue { display: inline-block; font-size: 0.72rem; font-weight: 600; background: #fee2e2; color: #991b1b; border-radius: 10px; padding: 0 7px; }
.people-graph-related-row { display: flex; align-items: center; gap: 6px; border-top: 1px solid #e5e7eb; }
.people-graph-related-row .people-graph-related-person { border-top: 0; flex: 1 1 auto; min-width: 0; }
.people-graph-related-map { flex: 0 0 auto; white-space: nowrap; }
.people-graph-roles li.people-graph-link-shared { border-left-color: #2563eb; }
.people-graph-roles li.people-graph-link-address { border-left-color: #0369a1; }
.people-graph-roles li.people-graph-link-control { border-left-color: #b45309; }
.people-graph-roles li.people-graph-link-related { border-left-color: #7c3aed; }
@media (max-width: 767.98px) {
    .people-graph-body { flex-direction: column; min-height: 0; }
    .people-graph-canvas { min-height: 420px; }
    .people-graph-panel { flex: 1 1 auto; border-left: 0; border-top: 1px solid #e5e7eb; max-height: none; }
    .people-graph-field, .people-graph-field-small { flex: 1 1 140px; }
    .people-graph-count { margin-left: 0; }
    .people-graph-branch-text { max-width: 200px; }
}
@media (max-width: 767.98px) {
    .people-graph-fullscreen .people-graph-body { overflow-y: auto; }
    .people-graph-fullscreen .people-graph-canvas { min-height: 55vh; }
}

/* Connections tab buttons use the portal's active blue (#2a77d8), like the tabs and pills elsewhere */
.people-graph-tab .modern-btn-primary { background: #2a77d8; border-color: #2a77d8; color: #fff; box-shadow: 0 6px 14px rgba(42, 119, 216, 0.22); }
.people-graph-tab .modern-btn-primary:hover, .people-graph-tab .modern-btn-primary:focus { background: #1f66c0; border-color: #1f66c0; color: #fff; }
