:root {
    --v1-primary: #4f46e5;
    --v1-primary-light: #eef2ff;
    --v1-success: #16a34a;
    --v1-danger: #dc2626;
    --v1-warning: #f59e0b;
    --v1-gray-50: #f9fafb;
    --v1-gray-100: #f3f4f6;
    --v1-gray-200: #e5e7eb;
    --v1-gray-300: #d1d5db;
    --v1-gray-500: #6b7280;
    --v1-gray-600: #4b5563;
    --v1-gray-700: #374151;
    --v1-gray-900: #111827;
    --v1-radius: 10px;
    --v1-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --v1-shadow-lg: 0 4px 12px rgba(0,0,0,.1);
}

/* Page wrapper */
.v1-page {  min-height: 100vh; }
/* Ownership V1: white page chrome, clearer header-to-body spacing, no grey stat/chart tiles */
.v1-page-ownership { background: #fff; }
.v1-page-ownership .v1-section-body { padding: 28px 20px 20px; }
.v1-page-compliance { background: #fff; }
.v1-page-compliance .v1-section-body { padding: 28px 20px 20px; }

/* Live compliance (/compliance/{slug}/{cin}) — aligned with V1 documents theme */
.v1-page-livecompliance { background: #fff; }
.v1-page-livecompliance .v1-main-content { padding-bottom: 36px; }
.v1-page-livecompliance .v1-section {
    margin-bottom: 18px;
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--v1-shadow);
}
.v1-page-livecompliance .v1-section-header {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--v1-gray-900);
    background: linear-gradient(180deg, var(--v1-gray-50) 0%, #fff 100%);
    border-bottom: 1px solid var(--v1-gray-200);
}
.v1-page-livecompliance .v1-section-header .fa {
    margin-right: 8px;
    color: var(--v1-primary);
    opacity: 0.9;
}
.v1-page-livecompliance .v1-section-body {
    padding: 20px 18px 22px;
}
.v1-live-compliance-intro {
    margin: 0 0 18px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--v1-gray-600);
    background: var(--v1-gray-50);
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
}
.v1-live-compliance-empty {
    max-width: 100%;
    padding: 22px 20px;
    text-align: center;
    border: 1px dashed var(--v1-gray-300);
    border-radius: var(--v1-radius);
    background: var(--v1-gray-50);
}
.v1-live-compliance-empty__icon {
    font-size: 28px;
    color: var(--v1-primary);
    opacity: 0.85;
    margin-bottom: 10px;
}
.v1-live-compliance-empty__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--v1-gray-900);
    margin: 0 0 8px;
}
.v1-live-compliance-empty__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--v1-gray-600);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.v1-live-compliance-subsection {
    margin-top: 18px;
}
.v1-live-compliance-subsection:first-child {
    margin-top: 0;
}
.v1-live-compliance-subsection__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v1-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.v1-live-compliance-gst-layout .lc-gst-row {
    align-items: flex-start;
    margin: 0 -8px;
}
.v1-live-compliance-gst-layout .lc-gst-left-col {
    padding: 0 8px !important;
}
.v1-live-compliance-gst-layout .lc-gst-right-col {
    padding: 0 8px !important;
}
.v1-live-compliance-gst-layout .lc-gst-left-scroll {
    max-height: 720px;
    min-height: 280px;
    overflow-y: auto;
    padding: 4px 6px 4px 2px;
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    background: var(--v1-gray-50);
}
.v1-live-compliance-gst-layout .lc-gst-left-scroll::-webkit-scrollbar { width: 6px; }
.v1-live-compliance-gst-layout .lc-gst-left-scroll::-webkit-scrollbar-thumb {
    background: var(--v1-gray-300);
    border-radius: 3px;
}
.v1-live-compliance-gst-panel {
    min-height: 200px;
    padding: 14px 16px;
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    background: #fff;
}
@media (max-width: 991px) {
    .v1-live-compliance-gst-layout .lc-gst-left-scroll {
        max-height: none;
        min-height: 0;
        margin-bottom: 14px;
    }
}
/* GST nav cards — theme primary (overrides inline blues in partial) */
.v1-page-livecompliance .gst-master-card--selected {
    border-color: var(--v1-primary) !important;
    background: linear-gradient(135deg, var(--v1-primary-light) 0%, #fff 100%) !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.18), var(--v1-shadow-lg) !important;
}
.v1-page-livecompliance .gst-master-card:hover {
    border-color: var(--v1-gray-400);
}
/* EPFO cards */
.v1-page-livecompliance .lc-epfo-card--selected {
    border-color: var(--v1-primary) !important;
    background: linear-gradient(135deg, var(--v1-primary-light) 0%, #fff 100%) !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.18), var(--v1-shadow-lg) !important;
}
.v1-page-livecompliance .lc-epfo-fy-tab.active {
    background: var(--v1-primary) !important;
    border-color: var(--v1-primary) !important;
    color: #fff !important;
}
.v1-page-livecompliance .lc-auditor-body .ar-remarks-sec { margin-top: 0; }
.v1-page-livecompliance .lc-auditor-body .auditor-resig-sec + .ar-remarks-sec { margin-top: 16px; }
.v1-page-livecompliance .lc-auditor-body .v1-live-compliance-subsection + .v1-live-compliance-subsection {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--v1-gray-200);
}

.v1-compliance-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.v1-compliance-summary-card {
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 14px 16px;
    background: var(--v1-gray-50);
}
.v1-compliance-summary-card h4 {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--v1-gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.v1-compliance-summary-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--v1-gray-900);
}
.v1-compliance-summary-muted {
    font-weight: 500 !important;
    color: var(--v1-gray-500) !important;
}
.v1-ownership-asof {
    text-align: center;
    margin: 0 0 20px;
    padding-top: 4px;
    color: var(--v1-gray-600);
    font-size: 13px;
}
.v1-ownership-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.v1-ownership-stat-card {
    background: #fff;
    border: 1px solid var(--v1-gray-200);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.v1-ownership-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.v1-ownership-chart-card {
    background: #fff;
    border: 1px solid var(--v1-gray-200);
    border-radius: 8px;
    padding: 20px;
}
.v1-ownership-pattern-tfoot { background: #fff; font-weight: 600; border-top: 2px solid var(--v1-gray-200); }
.v1-ownership-pattern-tfoot td { border-top: 1px solid var(--v1-gray-100); }
.v1-full-width .v1-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    width: 100%;
}
.v1-container {  }

/* ====================== HERO HEADER ====================== */
.v1-hero-header {
    background: #fff;
    border-bottom: 1px solid var(--v1-gray-200);
    padding: 24px 0 20px;
}
.v1-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.v1-hero-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    position: relative;
}
.v1-hero-logo img {
    position: absolute;
    inset: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid var(--v1-gray-200);
    object-fit: contain;
    background: #fff;
}
.v1-hero-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--v1-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--v1-primary);
}
.v1-hero-info {
    flex: 1;
    min-width: 0;
}
.v1-company-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--v1-gray-900);
    margin: 0;
    line-height: 1.3;
}
.v1-company-title-section {
    font-weight: 600;
    color: var(--v1-gray-500);
}
.v1-hero-desc {
    font-size: 13px;
    color: var(--v1-gray-500);
    margin: 4px 0 0;
    line-height: 1.5;
}
.v1-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--v1-gray-500);
}
.v1-hero-meta i { margin-right: 3px; }
.v1-hero-meta > span { white-space: nowrap; }
.v1-hero-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    align-items: flex-start;
}
.v1-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--v1-gray-200);
    border-radius: 6px;
    background: #fff;
    color: var(--v1-gray-700);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.v1-hero-btn:hover { border-color: var(--v1-primary); color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-hero-btn i { font-size: 13px; }
.v1-hero-btn-primary {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}
.v1-hero-btn-primary:hover { background: #d97706; border-color: #d97706; color: #fff; }

a.v1-hero-btn-secondary {
    text-decoration: none;
}
.v1-hero-btn-secondary {
    background: #fff;
    color: var(--v1-primary);
    border-color: var(--v1-primary);
}
.v1-hero-btn-secondary:hover {
    background: var(--v1-primary-light);
    color: var(--v1-primary);
    border-color: var(--v1-primary);
}

/* ====================== COMPACT STICKY HEADER ====================== */
.v1-compact-header {
    position: fixed;
    top: var(--v1-main-header-h, 60px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transform: translateY(calc(-100% - var(--v1-main-header-h, 60px)));
    transition: transform .3s ease;
}
.v1-compact-header.visible { transform: translateY(0); }
.v1-compact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 12px;
}
.v1-compact-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.v1-compact-logo-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.v1-compact-logo-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--v1-primary, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}
.v1-compact-logo {
    position: absolute;
    inset: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--v1-gray-200);
    object-fit: contain;
    background: #fff;
}
.v1-compact-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--v1-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v1-compact-ext {
    color: var(--v1-gray-400);
    font-size: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.v1-compact-ext:hover { color: var(--v1-primary); }
.v1-compact-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.v1-compact-actions .v1-hero-btn { padding: 5px 8px; }
.v1-compact-actions .v1-hero-btn span { display: none; }
.v1-compact-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--v1-gray-200);
}
.v1-compact-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--v1-gray-500);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all .2s;
}
.v1-compact-nav a:hover { color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-compact-nav a.active { color: var(--v1-primary); border-bottom-color: var(--v1-primary); font-weight: 600; }
.v1-compact-accent {
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* ====================== NAV TABS BAR ====================== */
.v1-nav-tabs-bar {
    background: #fff;
    border-bottom: 1px solid var(--v1-gray-200);
    position: sticky;
    top: var(--v1-main-header-h, 60px);
    z-index: 100;
}
.v1-compact-header.visible ~ .v1-nav-tabs-bar { display: none; }
.v1-nav-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.v1-nav-tabs a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--v1-gray-500);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all .2s;
}
.v1-nav-tabs a:hover { color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-nav-tabs a.active { color: var(--v1-primary); border-bottom-color: var(--v1-primary); font-weight: 600; }
.v1-nav-tabs a.v1-nav-tab--locked,
.v1-compact-nav a.v1-nav-tab--locked {
    color: var(--v1-gray-500);
    background: var(--v1-gray-50);
    cursor: pointer;
}
.v1-nav-tabs a.v1-nav-tab--locked:hover,
.v1-compact-nav a.v1-nav-tab--locked:hover {
    color: var(--v1-primary);
    background: var(--v1-primary-light);
}
.v1-nav-tab-lock {
    font-size: 10px;
    margin-right: 4px;
    opacity: .7;
    vertical-align: middle;
}

/* ====================== SIDEBAR TOGGLE (MOBILE) ====================== */
.v1-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 300;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--v1-primary);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79,70,229,.4);
    align-items: center;
    justify-content: center;
}
.v1-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 149;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(2px);
}
.v1-sidebar-overlay.open { display: block; }

/* ====================== LAYOUT (SIDEBAR + MAIN) ====================== */
.v1-layout {
    display: flex;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}
.v1-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid var(--v1-gray-200);
    padding: 16px 0;
    scrollbar-width: thin;
}
.v1-sidebar::-webkit-scrollbar { width: 4px; }
.v1-sidebar::-webkit-scrollbar-thumb { background: var(--v1-gray-200); border-radius: 4px; }
.v1-main-content {
    flex: 1;
    min-width: 0;
    padding-bottom: 40px;
}
.v1-main-content > .v1-container { padding-top: 0; }

/* Sidebar group */
.v1-sidebar-group { margin-bottom: 8px; }
.v1-sidebar-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--v1-gray-900);
    cursor: pointer;
    user-select: none;
    transition: background .15s;
}
.v1-sidebar-group-header:hover { background: var(--v1-gray-50); }
.v1-sidebar-group-header i {
    font-size: 10px;
    color: var(--v1-gray-400);
    transition: transform .25s;
}
.v1-sidebar-group-header.open i { transform: rotate(180deg); }
.v1-sidebar-group-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

/* Sidebar links */
.v1-sidebar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--v1-gray-500);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all .15s;
}
.v1-sidebar-link:hover { color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-sidebar-link.active {
    color: var(--v1-primary);
    font-weight: 600;
    border-left-color: var(--v1-primary);
    background: var(--v1-primary-light);
}
.v1-sidebar-indicator { display: none; }

/* Sidebar page links */
.v1-sidebar-pages {
    border-top: 1px solid var(--v1-gray-100);
    margin-top: 8px;
    padding-top: 8px;
}
.v1-sidebar-page-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--v1-gray-700);
    text-decoration: none;
    transition: all .15s;
}
.v1-sidebar-page-link:hover { color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-sidebar-page-link i { font-size: 10px; color: var(--v1-gray-400); }

/* Breadcrumb */
.v1-breadcrumb { padding: 12px 0; font-size: 13px; color: var(--v1-gray-500); }
.v1-breadcrumb a { color: var(--v1-primary); text-decoration: none; }
.v1-breadcrumb a:hover { text-decoration: underline; }
.v1-breadcrumb .sep { margin: 0 6px; }

/* Old header (kept for other pages) */
.v1-header { background: #fff; border-radius: var(--v1-radius); box-shadow: var(--v1-shadow); padding: 24px; margin-bottom: 0; }
.v1-header-flex { display: flex; align-items: flex-start; gap: 20px; }
.v1-logo { width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--v1-gray-200); object-fit: contain; background: #fff; }
.v1-logo-placeholder { width: 72px; height: 72px; border-radius: 12px; background: var(--v1-primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: var(--v1-primary); }

/* Badges */
.v1-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.v1-badge-active { background: #dcfce7; color: #166534; }
.v1-badge-inactive { background: #fef2f2; color: #991b1b; }
.v1-badge-listed { background: #dbeafe; color: #1e40af; }
.v1-badge-compliant { background: #f0fdf4; color: #166534; }
.v1-badge-success { background: #dcfce7; color: #166534; }
.v1-badge-warning { background: #fef3c7; color: #92400e; }
.v1-badge-danger { background: #fef2f2; color: #991b1b; }
.v1-badge-info { background: #eff6ff; color: #1d4ed8; }

/* Social icons row */
.v1-social-row { display: flex; gap: 10px; margin-top: 10px; }
.v1-social-row a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--v1-gray-100); color: var(--v1-gray-700); font-size: 14px; text-decoration: none; transition: all .2s; }
.v1-social-row a:hover { background: var(--v1-primary); color: #fff; }

.v1-social-links { display: flex; gap: 12px; }
.v1-social-links a { font-size: 24px; color: var(--v1-gray-500); transition: color .2s; text-decoration: none; }
.v1-social-links a:hover { color: var(--v1-primary); }

/* Old nav (for other pages) */
.v1-nav { background: #fff; border-top: 1px solid var(--v1-gray-200); border-radius: 0 0 var(--v1-radius) var(--v1-radius); box-shadow: var(--v1-shadow); margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v1-nav-list { display: flex; list-style: none; margin: 0; padding: 0; min-width: max-content; }
.v1-nav-list li a { display: block; padding: 12px 18px; font-size: 13px; font-weight: 500; color: var(--v1-gray-500); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: all .2s; }
.v1-nav-list li a:hover { color: var(--v1-primary); background: var(--v1-primary-light); }
.v1-nav-list li a.active { color: var(--v1-primary); border-bottom-color: var(--v1-primary); font-weight: 600; }
.v1-nav-list li a i { margin-right: 5px; }

/* Content area */
.v1-content { padding-bottom: 40px; }

/* Section cards */
.v1-section { background: #fff; border-radius: var(--v1-radius); box-shadow: var(--v1-shadow); margin-bottom: 20px; overflow: hidden; }
.v1-section-warning { border-left: 4px solid #dc2626; }
.v1-section-header { margin: 0; padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--v1-gray-900); border-bottom: 1px solid var(--v1-gray-100); display: flex; align-items: center; gap: 8px; }
.v1-section-header i { color: var(--v1-primary); }
.v1-section-body { padding: 20px; }

/* About text */
.v1-about-text { font-size: 14px; line-height: 1.7; color: var(--v1-gray-700); margin: 0; }
.v1-about-text.truncated { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v1-read-more-btn { background: none; border: none; color: var(--v1-primary); cursor: pointer; font-size: 13px; padding: 4px 0; font-weight: 500; }

/* ====================== KEY METRICS 5x3 GRID ====================== */
.v1-ki-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.v1-ki-card {
    background: #fff;
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 14px 16px;
}
.v1-ki-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--v1-gray-500); letter-spacing: 0.3px; }
.v1-ki-value { font-size: 15px; font-weight: 700; color: var(--v1-gray-900); margin-top: 4px; }
.v1-ki-sub { font-size: 11px; color: var(--v1-gray-500); margin-top: 3px; }
.v1-ki-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; margin-left: 6px; }
.v1-ki-badge.positive { color: #16a34a; }
.v1-ki-badge.negative { color: #dc2626; }
/* Row 3 of Key Metrics: hidden until View More */
.v1-ki-grid.v1-ki-row3 { display: none; }
.v1-ki-grid.v1-ki-row3.show { display: grid; }
.v1-ki-toggle { text-align: right; padding: 8px 0 0; }
.v1-ki-toggle a { font-size: 12px; color: var(--v1-primary); cursor: pointer; text-decoration: none; font-weight: 500; }
/* Teaser: label visible, value line is blurred dummy (Key Metrics) */
.v1-ki-blur-dummy {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    opacity: 0.88;
    margin-top: 2px;
}
.v1-ki-card--teaser .v1-ki-label { color: var(--v1-gray-500); }

/* ====================== ABOUT 2-COLUMN ====================== */
.v1-about-2col { display: flex; gap: 24px; }
.v1-about-left { flex: 3; min-width: 0; }
.v1-about-right { flex: 2; min-width: 0; }
.v1-data-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); overflow: hidden; }
.v1-data-card-header { background: var(--v1-gray-900); color: #fff; padding: 0; }
.v1-data-card-body { padding: 0; }
.v1-data-card .v1-field { padding: 8px 16px; margin: 0; border-bottom: 1px solid var(--v1-gray-100); font-size: 12px; }
.v1-data-card .v1-field:last-child { border-bottom: none; }
.v1-data-card .v1-field-label { font-size: 12px; color: var(--v1-gray-500); min-width: 110px; }
.v1-data-card .v1-field-value { font-size: 12px; font-weight: 600; color: var(--v1-gray-900); }
.v1-data-card-highlight { background: #eef6ff; padding: 12px 16px; }
.v1-data-card-highlight .v1-pan-lei-teaser {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
}
.v1-data-card-highlight .v1-field { border-bottom: none; padding: 4px 0; }
.v1-contact-list { list-style: none; padding: 0; margin: 0; }
.v1-contact-list li { display: flex; gap: 12px; padding: 6px 0; font-size: 13px; color: var(--v1-gray-700); border-bottom: 1px solid var(--v1-gray-100); }
.v1-contact-list li:last-child { border-bottom: none; }
.v1-contact-label { color: var(--v1-gray-500); font-weight: 500; min-width: 100px; font-size: 13px; }
.v1-industry-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }

/* ====================== FINANCIAL PERFORMANCE ====================== */
.v1-fin-row { display: flex; gap: 16px; margin-bottom: 16px; }
.v1-fin-chart-card { flex: 1; border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 12px; min-width: 0; }
.v1-fin-chart-compact { padding: 10px; }
.v1-fin-chart-compact canvas { max-height: 240px; }
.v1-fin-chart-title { font-size: 13px; font-weight: 600; color: var(--v1-gray-900); margin-bottom: 8px; }
.v1-fin-growth { display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: var(--v1-gray-500); }
.v1-fin-growth span { font-weight: 600; }
.v1-fin-growth .positive { color: #16a34a; }
.v1-fin-growth .negative { color: #dc2626; }
.v1-fin-matrix-wrap { overflow-x: auto; }
.v1-fin-matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.v1-fin-matrix thead th { padding: 8px 12px; text-align: right; font-weight: 600; color: var(--v1-gray-500); background: var(--v1-gray-50); border-bottom: 2px solid var(--v1-gray-200); font-size: 12px; white-space: nowrap; }
.v1-fin-matrix thead th:first-child { text-align: left; color: var(--v1-primary); }
.v1-fin-matrix tbody td { padding: 8px 12px; border-bottom: 1px solid var(--v1-gray-100); color: var(--v1-gray-700); text-align: right; white-space: nowrap; }
.v1-fin-matrix tbody td:first-child { text-align: left; font-weight: 600; color: var(--v1-gray-900); }
.v1-fin-matrix tbody tr:hover { background: var(--v1-gray-50); }
.v1-fin-note { font-size: 11px; color: var(--v1-gray-500); margin-top: 6px; }

/* ====================== SHAREHOLDING ====================== */
.v1-sh-row { display: flex; gap: 24px; align-items: flex-start; }
.v1-sh-chart { flex: 1; min-width: 0; }
.v1-sh-chart-title { font-size: 13px; font-weight: 600; color: var(--v1-gray-700); margin-bottom: 8px; }
.v1-sh-table-wrap { flex: 3; min-width: 0; }
.v1-sh-table-title { font-size: 13px; font-weight: 600; color: var(--v1-gray-700); margin-bottom: 8px; }
.v1-subs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.v1-sub-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 12px; display: flex; align-items: center; gap: 10px; }
.v1-sub-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--v1-gray-100); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--v1-gray-500); flex-shrink: 0; }
.v1-sub-info { flex: 1; min-width: 0; }
.v1-sub-name { font-size: 12px; font-weight: 600; color: var(--v1-gray-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v1-sub-pct { font-size: 11px; color: var(--v1-primary); font-weight: 600; margin-top: 2px; }

/* ====================== CHARGES 2-COLUMN ====================== */
.v1-charges-row { display: flex; gap: 24px; }
.v1-charges-left { flex: 2; min-width: 0; max-width: 280px; }
.v1-charges-right { flex: 3; min-width: 0; }
.v1-charges-legend { margin-top: 12px; }
.v1-charges-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--v1-gray-700); padding: 3px 0; }
.v1-charges-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* V1 charges page: filters, collapsed rows, charts stack */
.v1-charges-filters { margin-bottom: 16px; padding: 12px 14px; background: var(--v1-gray-50, #f8f9fa); border: 1px solid var(--v1-border, #e5e7eb); border-radius: 8px; }
.v1-charges-filters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px 14px; align-items: end; }
.v1-charges-filter-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--v1-gray-700, #374151); }
.v1-charges-filter-input { padding: 6px 8px; border: 1px solid var(--v1-border, #e5e7eb); border-radius: 6px; font-size: 13px; background: #fff; }
.v1-charges-filters-actions { margin-top: 10px; }
#v1ChargesTable:not(.v1-charges-expanded) tbody tr.v1-charge-row-extra { display: none; }

@media (max-width: 768px) {
    .v1-charges-charts-row { grid-template-columns: 1fr !important; }
}
.v1-progress-bar { display: flex; height: 32px; border-radius: 6px; overflow: hidden; margin-bottom: 16px; font-size: 12px; font-weight: 600; color: #fff; }
.v1-progress-open { background: #1e3a5f; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.v1-progress-closed { background: #2980b9; display: flex; align-items: center; padding: 0 10px; flex: 1; justify-content: flex-end; white-space: nowrap; }
.v1-progress-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--v1-gray-500); margin-bottom: 6px; }
.v1-lender-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.v1-lender-table thead th { padding: 8px 10px; text-align: left; font-weight: 600; color: var(--v1-gray-500); background: var(--v1-gray-50); border-bottom: 2px solid var(--v1-gray-200); font-size: 12px; }
.v1-lender-table tbody td { padding: 10px; border-bottom: 1px solid var(--v1-gray-100); color: var(--v1-gray-700); vertical-align: top; }
.v1-lender-name { font-weight: 600; color: var(--v1-gray-900); }
.v1-lender-date { font-size: 11px; color: var(--v1-gray-500); }

/* Existing layout classes kept */
.v1-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.v1-metric-card {
    background: var(--v1-gray-50);
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 16px;
    text-align: center;
    position: relative;
}
.v1-metric-value { font-size: 22px; font-weight: 700; }
.v1-metric-label { font-size: 12px; color: var(--v1-gray-500); margin-top: 4px; }
.v1-metric-sub { font-size: 11px; color: var(--v1-gray-500); margin-top: 6px; }
.v1-metric-pct {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}
.v1-metric-pct.positive { background: #dcfce7; color: #166534; }
.v1-metric-pct.negative { background: #fef2f2; color: #991b1b; }

/* Data fields */
.v1-field { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--v1-gray-100); font-size: 13px; }
.v1-field:last-child { border-bottom: none; }
.v1-field-label { color: var(--v1-gray-500); font-weight: 500; min-width: 140px; }
.v1-field-value { color: var(--v1-gray-900); font-weight: 500; text-align: right; word-break: break-word; }
.v1-field-value.empty { color: var(--v1-gray-300); font-style: italic; }
.v1-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.v1-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

/* Stat cards (legacy) */
.v1-stat-card { background: #fff; border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 16px; text-align: center; }
.v1-stat-value { font-size: 24px; font-weight: 700; }
.v1-stat-label { font-size: 12px; color: var(--v1-gray-500); margin-top: 2px; }
.v1-stat-sub { font-size: 11px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--v1-gray-100); }
.v1-link-btn { background: none; border: none; color: var(--v1-primary); cursor: pointer; font-size: 14px; text-decoration: underline; padding: 4px 8px; font-weight: 600; }
.v1-link-btn:hover { opacity: 0.85; }

/* Ratio toggle */
.v1-toggle-group { display: flex; gap: 0; margin-bottom: 16px; border: 1px solid var(--v1-gray-200); border-radius: 8px; overflow: hidden; width: fit-content; }
.v1-toggle-btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: var(--v1-gray-50);
    color: var(--v1-gray-500);
    cursor: pointer;
    transition: all .2s;
}
.v1-toggle-btn.active { background: var(--v1-primary); color: #fff; }
.v1-toggle-btn:hover:not(.active) { background: var(--v1-gray-200); }

/* Ratio table */
.v1-ratio-table-wrap { overflow-x: auto; }
.v1-ratio-table { min-width: 900px; }

/* Ratio two-box layout (chart + insights) */
.v1-ratio-row { display: flex; gap: 20px; margin-bottom: 0; }
.v1-ratio-chart-box { flex: 1; min-width: 0; }
.v1-ratio-insights-box {
    flex: 1;
    min-width: 0;
    background: var(--v1-gray-50);
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 16px;
}
.v1-ratio-insights-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v1-gray-900);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--v1-gray-200);
}
.v1-ratio-insight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--v1-gray-100);
    font-size: 13px;
}
.v1-ratio-insight-item:last-child { border-bottom: none; }
.v1-ratio-insight-label {
    color: var(--v1-gray-500);
    font-weight: 500;
    min-width: 120px;
}
.v1-ratio-insight-value {
    font-weight: 700;
    color: var(--v1-gray-900);
}
.v1-ratio-insight-value.positive { color: #16a34a; }
.v1-ratio-insight-value.negative { color: #dc2626; }

/* Tables */
.v1-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.v1-table thead th { padding: 10px 12px; text-align: left; font-weight: 600; color: var(--v1-gray-500); background: var(--v1-gray-50); border-bottom: 2px solid var(--v1-gray-200); font-size: 12px; white-space: nowrap; }
.v1-table tbody td { padding: 10px 12px; border-bottom: 1px solid var(--v1-gray-100); color: var(--v1-gray-700); white-space: nowrap; }
.v1-table tbody tr:hover { background: var(--v1-gray-50); }

/* Chart containers */
.v1-chart-container-sm { max-width: 400px; margin: 0 auto; }

/* Director grid */
.v1-directors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.v1-director-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); transition: box-shadow .2s; }
.v1-director-card:hover { box-shadow: var(--v1-shadow-lg); }
a.v1-director-card { text-decoration: none; color: inherit; cursor: pointer; }
a.v1-director-card:hover .v1-director-name { color: var(--v1-primary); }
.v1-director-card--stacked { flex-direction: column; align-items: stretch; gap: 0; }
.v1-director-card--stacked:hover { box-shadow: var(--v1-shadow-lg); }
.v1-director-card-main { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
a.v1-director-card-main:hover .v1-director-name { color: var(--v1-primary); }
.v1-director-card-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--v1-gray-200);
}
.v1-director-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--v1-gray-300);
    color: var(--v1-gray-700);
    background: #fff;
    cursor: pointer;
    line-height: 1.2;
    box-sizing: border-box;
    font-family: inherit;
}
.v1-director-card-cta:hover { border-color: var(--v1-primary); color: var(--v1-primary); }
.v1-director-card-cta-primary {
    border-color: var(--v1-primary);
    background: var(--v1-primary-light, #eef2ff);
    color: var(--v1-primary);
}
.v1-director-card-cta-primary:hover { background: var(--v1-primary); color: #fff; }
.v1-table-past-contact-cell { vertical-align: middle; white-space: nowrap; }
.v1-director-card-cta--table { font-size: 11px; padding: 5px 10px; }
.v1-people-profile-link { color: var(--v1-primary); font-weight: 600; text-decoration: none; }
.v1-people-profile-link:hover { text-decoration: underline; }
span.v1-people-profile-link { cursor: default; }
span.v1-people-profile-link:hover { text-decoration: none; }
/* Past directors: locked preview — obscured name, still hints primary accent */
.v1-people-name-blur {
    display: inline-block;
    max-width: 100%;
    color: var(--v1-primary);
    font-weight: 600;
    filter: blur(6px);
    user-select: none;
    -webkit-user-select: none;
}
.v1-director-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--v1-primary-light); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--v1-primary); overflow: hidden; flex-shrink: 0; }
.v1-director-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v1-director-avatar--table-sized { width: 32px; height: 32px; font-size: 13px; }

/* Ownership tables: inline initials + pager */
.v1-table-name-with-initial { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.v1-table-initial-circle {
    width: 32px; height: 32px; border-radius: 50%; background: var(--v1-primary-light);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--v1-primary); flex-shrink: 0;
}
a.v1-table-entity-link { font-weight: 600; color: var(--v1-primary); text-decoration: none; }
a.v1-table-entity-link:hover { text-decoration: underline; }

.v1-table-pager {
    display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px;
    margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--v1-gray-200);
    font-size: 13px; color: var(--v1-gray-600);
}
.v1-table-pager-meta { flex: 1; min-width: 140px; text-align: center; }
.v1-table-pager-btn {
    border: 1px solid var(--v1-gray-300); background: #fff; border-radius: 6px;
    padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--v1-gray-700); cursor: pointer;
}
.v1-table-pager-btn:hover:not(:disabled) { border-color: var(--v1-primary); color: var(--v1-primary); }
.v1-table-pager-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.v1-director-info { flex: 1; min-width: 0; }
.v1-director-name { font-size: 14px; font-weight: 600; color: var(--v1-gray-900); }
.v1-director-meta { font-size: 12px; color: var(--v1-gray-500); margin-top: 2px; }

/* Risk cards (compliance alerts) */
.v1-risk-card { border-radius: var(--v1-radius); padding: 16px; border: 1px solid var(--v1-gray-200); }
.v1-risk-card.low { background: #f0fdf4; border-color: #bbf7d0; }
.v1-risk-card.medium { background: #fefce8; border-color: #fde68a; }
.v1-risk-card.high { background: #fef2f2; border-color: #fecaca; }
.v1-risk-title { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--v1-gray-500); margin-bottom: 4px; }
.v1-risk-value { font-size: 14px; font-weight: 600; color: var(--v1-gray-900); }
.v1-risk-sub { font-size: 12px; color: var(--v1-gray-500); margin-top: 4px; }

/* EPFO card */
.v1-epfo-headline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
  margin-bottom: 16px; padding: 12px 16px; border-radius: 8px;
  background: var(--v1-gray-50, #f9fafb);
  border: 1px solid var(--v1-gray-200);
}
.v1-epfo-headline-k { font-size: 14px; color: var(--v1-gray-600); }
.v1-epfo-headline-val { font-size: 24px; font-weight: 700; color: var(--v1-gray-900); }
.v1-epfo-headline-asof { font-size: 12px; color: var(--v1-gray-500); margin-left: auto; }

/* EPFO: details (left) + compact chart (right) */
.v1-epfo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 992px) {
  .v1-epfo-split { grid-template-columns: 1fr; }
}
.v1-epfo-split-details { min-width: 0; }
.v1-epfo-split-details .v1-epfo-card:last-child { margin-bottom: 0; }
.v1-epfo-split-visual { min-width: 0; }
.v1-epfo-chart-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 220px;
  margin: 0;
}
.v1-epfo-chart-wrap canvas {
  display: block;
  max-height: 100%;
}
.v1-epfo-table-compact { margin-top: 10px; }
.v1-epfo-split-table { margin-top: 0; font-size: 12px; }
.v1-epfo-split-table th, .v1-epfo-split-table td { padding: 6px 8px; white-space: nowrap; }
.v1-epfo-split-table th:first-child, .v1-epfo-split-table td:first-child { position: sticky; left: 0; background: var(--v1-white, #fff); z-index: 1; }

.v1-epfo-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 16px; margin-bottom: 12px; }
.v1-epfo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.v1-epfo-table-wrap { overflow-x: auto; margin-top: 16px; }

/* Credit rating card */
.v1-rating-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 16px; margin-bottom: 12px; }
.v1-rating-header { display: flex; justify-content: space-between; align-items: center; }

/* News grid */
.v1-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.v1-news-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); overflow: hidden; transition: box-shadow .2s; }
.v1-news-card:hover { box-shadow: var(--v1-shadow-lg); }
.v1-news-img { height: 140px; overflow: hidden; background: var(--v1-gray-100); }
.v1-news-img img { width: 100%; height: 100%; object-fit: cover; }
.v1-news-content { padding: 14px; }
.v1-news-headline { font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--v1-gray-900); line-height: 1.4; }
.v1-news-headline a { color: inherit; text-decoration: none; }
.v1-news-headline a:hover { color: var(--v1-primary); }
.v1-news-desc { font-size: 12px; color: var(--v1-gray-500); margin: 0 0 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v1-news-meta { font-size: 11px; color: var(--v1-gray-500); display: flex; gap: 12px; }

/* Product grid */
.v1-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.v1-product-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); overflow: hidden; transition: box-shadow .2s; }
.v1-product-card:hover { box-shadow: var(--v1-shadow-lg); }
.v1-product-img { height: 120px; overflow: hidden; background: var(--v1-gray-100); display: flex; align-items: center; justify-content: center; }
.v1-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v1-product-info { padding: 10px; }
.v1-product-name { font-size: 13px; font-weight: 600; color: var(--v1-gray-900); }
.v1-product-name a { color: inherit; text-decoration: none; }
.v1-product-name a:hover { color: var(--v1-primary); }
.v1-product-meta { font-size: 11px; color: var(--v1-gray-500); margin-top: 2px; }
.v1-product-price { font-size: 13px; font-weight: 600; color: var(--v1-primary); margin-top: 4px; }

/* Deal cards */
.v1-deal-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 14px; margin-bottom: 12px; }
.v1-deal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.v1-deal-body { font-size: 13px; color: var(--v1-gray-700); }
.v1-deal-investors { font-size: 12px; color: var(--v1-gray-500); margin-top: 8px; }

/* Similar companies grid */
.v1-similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.v1-similar-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 12px; }

/* Timeline */
.v1-timeline { position: relative; padding-left: 20px; }
.v1-timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--v1-gray-200); }
.v1-timeline-item { position: relative; padding: 6px 0; font-size: 13px; color: var(--v1-gray-700); }
.v1-timeline-dot { position: absolute; left: -20px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--v1-primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--v1-gray-200); }
.v1-name-history-teaser { display: inline-block; max-width: 100%; }

.v1-blur-content { filter: blur(4px); pointer-events: none; position: relative; }

/* Charge cards */
.v1-charge-card { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); padding: 14px; margin-bottom: 10px; }
.v1-charge-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.v1-charge-id { font-size: 12px; color: var(--v1-gray-500); font-family: monospace; }

/* Court flags */
.v1-court-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.v1-court-card { border-radius: var(--v1-radius); padding: 16px; text-align: center; border: 1px solid var(--v1-gray-200); }
.v1-court-card.present { background: #fef2f2; border-color: #fecaca; }
.v1-court-card.absent { background: var(--v1-gray-50); }
.v1-court-icon { font-size: 24px; margin-bottom: 6px; }
.v1-court-name { font-size: 13px; font-weight: 600; color: var(--v1-gray-700); }
.v1-court-status { font-size: 11px; margin-top: 4px; color: var(--v1-gray-500); }

/* FAQ */
.v1-faq { margin-top: 30px; }
.v1-faq-item { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); margin-bottom: 8px; overflow: hidden; }
.v1-faq-q { padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--v1-gray-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.v1-faq-q:hover { background: var(--v1-gray-50); }
.v1-faq-a { padding: 0 18px 14px; font-size: 13px; color: var(--v1-gray-500); line-height: 1.6; display: none; }
.v1-faq-item.open .v1-faq-a { display: block; }

/* Empty state */
.v1-empty { text-align: center; padding: 40px 20px; color: var(--v1-gray-500); }
.v1-empty-icon { font-size: 36px; margin-bottom: 10px; }

/* Locked overlay (legacy) */
.v1-locked { position: relative; }
.v1-locked::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.7); backdrop-filter: blur(3px); border-radius: var(--v1-radius); }
.v1-lock-msg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; }

/* ====================== RESPONSIVE ====================== */

/* Sidebar collapse at 1024px */
@media (max-width: 1024px) {
    .v1-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 150;
        transform: translateX(-100%);
        transition: transform .3s ease;
        height: 100vh;
        box-shadow: none;
    }
    .v1-sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0,0,0,.15);
    }
    .v1-sidebar-toggle { display: flex; }
    .v1-layout { padding: 0 16px; }
    .v1-main-content { width: 100%; }
    .v1-hero-actions span { display: none; }
    .v1-hero-btn { padding: 7px 8px; }
}

/* Header stack + content at 768px */
@media (max-width: 768px) {
    .v1-hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .v1-hero-actions { width: 100%; flex-wrap: wrap; }
    .v1-hero-actions span { display: none; }
    .v1-hero-btn { padding: 6px 8px; }
    .v1-company-title { font-size: 18px; }
    .v1-compact-actions .v1-hero-btn:not(.v1-hero-btn-primary) { display: none; }
    .v1-compact-name { font-size: 14px; }
    .v1-nav-tabs a { padding: 8px 12px; font-size: 12px; }
    .v1-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .v1-details-grid { grid-template-columns: 1fr; }
    .v1-field-grid { grid-template-columns: 1fr; }
    .v1-directors-grid { grid-template-columns: 1fr; }
    .v1-news-grid { grid-template-columns: 1fr; }
    .v1-product-grid { grid-template-columns: repeat(2, 1fr); }
    .v1-similar-grid { grid-template-columns: 1fr; }
    .v1-field { flex-direction: column; gap: 2px; }
    .v1-field-value { text-align: left; }
    .v1-stat-value { font-size: 20px; }
    .v1-metric-value { font-size: 18px; }
    .v1-header-flex { flex-direction: column; align-items: center; text-align: center; }
    .v1-social-row { justify-content: center; }
    .v1-ki-grid { grid-template-columns: repeat(2, 1fr); }
    .v1-about-2col { flex-direction: column; }
    .v1-fin-row { flex-direction: column; }
    .v1-sh-row { flex-direction: column; }
    .v1-subs-grid { grid-template-columns: repeat(2, 1fr); }
    .v1-charges-row { flex-direction: column; }
    .v1-ratio-row { flex-direction: column; }
    .v1-charges-left { max-width: none; }
}

@media (max-width: 480px) {
    .v1-container { padding: 0 10px; }
    .v1-section-body { padding: 14px; }
    .v1-page-ownership .v1-section-body { padding: 22px 14px 14px; }
    .v1-page-compliance .v1-section-body { padding: 22px 14px 14px; }
    .v1-court-grid { grid-template-columns: repeat(2, 1fr); }
    .v1-metrics-grid { grid-template-columns: 1fr; }
    .v1-product-grid { grid-template-columns: 1fr; }
    .v1-ki-grid { grid-template-columns: 1fr; }
    .v1-subs-grid { grid-template-columns: 1fr; }
    .v1-hero-header { padding: 16px 0 12px; }
    .v1-hero-logo { width: 40px; height: 40px; }
    .v1-hero-logo img { width: 40px; height: 40px; }
    .v1-hero-logo-placeholder { width: 40px; height: 40px; font-size: 18px; }
    .v1-compact-nav a { padding: 6px 10px; font-size: 11px; }
}

/* ----- V1 compliance (ROC page): tables + GST / EPFO layout ----- */
.v1-compliance-table-wrap {
    overflow-x: auto;
    margin-top: 4px;
}
.v1-page-compliance-roc .v1-compliance-roc-h4 {
    font-size: 14px;
    margin: 0 0 10px;
    font-weight: 600;
    color: var(--v1-gray-700);
}
.v1-compliance-roc-muted {
    font-size: 13px;
    color: var(--v1-gray-600);
    margin: 0;
}
.v1-compliance-roc-gst-grid {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 900px) {
    .v1-compliance-roc-gst-grid { grid-template-columns: 1fr; }
}
.v1-compliance-roc-gst-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.v1-compliance-roc-gst-nav li {
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    margin-bottom: 8px;
    padding: 10px 12px;
    background: var(--v1-gray-50);
}
.v1-compliance-roc-gst-link {
    font-weight: 600;
    color: var(--v1-primary);
    text-decoration: none;
    display: block;
}
.v1-compliance-roc-gst-sub {
    font-size: 12px;
    color: var(--v1-gray-600);
    display: block;
    margin-top: 4px;
}
.v1-compliance-roc-gst-card {
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fff;
}
.v1-compliance-roc-gst-title { margin: 0 0 6px; font-size: 15px; }
.v1-compliance-roc-meta { margin: 0 0 10px; font-size: 12px; color: var(--v1-gray-600); }
.v1-compliance-roc-epfo-est { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--v1-gray-200); }
.v1-compliance-roc-epfo-est:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.v1-compliance-roc-epfo-title { margin: 0 0 6px; font-size: 15px; }
.v1-compliance-roc-epfo-meta { font-size: 12px; color: var(--v1-gray-600); margin-bottom: 8px; }
.v1-compliance-roc-pre {
    background: var(--v1-gray-50);
    border: 1px solid var(--v1-gray-200);
    border-radius: 8px;
    padding: 12px;
    font-size: 11px;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Live Compliance V2 page chrome (mirrors .v1-page-compliance) */
.v1-page-livecompliance { background: #fff; }
.v1-page-livecompliance .v1-section-body { padding: 28px 20px 20px; }

/* V1 Competition (peer comparison) - compact chrome + table */
.v1-page-competition { background: #fff; }
.v1-page-competition .v1-breadcrumb { padding-top: 8px; }
.v1-competition-detail { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--v1-gray-700); }
/* Empty / unavailable data (competition, charts) */
.v1-data-unavailable {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 8px 8px 4px;
}
.v1-data-unavailable--chart {
    border: 1px dashed var(--v1-gray-300);
    border-radius: var(--v1-radius);
    background: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
    padding: 28px 20px 32px;
    max-width: 100%;
}
.v1-data-unavailable--in-table { text-align: center; max-width: 480px; margin: 0 auto; }
.v1-data-unavailable__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--v1-primary-light);
    color: var(--v1-primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 22px;
}
.v1-data-unavailable__title {
    font-size: 16px; font-weight: 600; color: var(--v1-gray-900);
    margin: 0 0 10px; line-height: 1.3;
}
.v1-data-unavailable__text {
    font-size: 14px; color: var(--v1-gray-600);
    line-height: 1.55; margin: 0 0 8px;
}
.v1-data-unavailable__hint {
    font-size: 13px; color: var(--v1-gray-500);
    line-height: 1.5; margin: 12px 0 0; font-style: italic;
}
.v1-competition-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v1-competition-table-wrap .v1-table { margin: 0; }
.v1-competition-table-wrap .v1-table { font-size: 12px; }
.v1-competition-table-wrap .v1-table thead th { font-size: 11px; }
.v1-competition-chart-wrap { position: relative; height: 280px; max-width: 100%; margin: 0; }
.v1-competition-chart-wrap--bar {
  position: relative;
  min-height: 360px;
  height: 400px;
  max-width: 100%;
  width: 100%;
  margin: 0;
}
.v1-competition-chart-wrap--bar canvas {
  display: block;
  max-width: 100%;
}
@media (max-width: 640px) {
  .v1-competition-chart-wrap--bar { min-height: 300px; height: 360px; }
}
.v1-td-wrap { white-space: normal; max-width: 200px; line-height: 1.35; }
.v1-table th.v1-th-numeric, .v1-table td.v1-td-numeric { text-align: right; font-variant-numeric: tabular-nums; }
.v1-table td.v1-td-cin { font-size: 12px; color: var(--v1-gray-600); }
.v1-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ----- V1 Documents: sidebar layout, search, categories, pager, table, empty states ----- */
.v1-page-documents { background: #fff; }
.v1-page-documents .v1-main-content { padding-bottom: 32px; }
.v1-page-documents .v1-breadcrumb { padding-top: 8px; }
.v1-documents-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: 24px;
    align-items: start;
}
.v1-documents-sidebar {
    border: 1px solid var(--v1-gray-200);
    border-radius: var(--v1-radius);
    padding: 16px 14px;
    background: var(--v1-gray-50, #f9fafb);
}
.v1-documents-sidebar__head { margin-bottom: 14px; }
.v1-documents-sidebar__title {
    font-size: 15px; font-weight: 700; color: var(--v1-gray-900); margin: 0 0 4px;
}
.v1-documents-sidebar__total {
    margin: 0; font-size: 13px; color: var(--v1-gray-600);
}
.v1-documents-sidebar__total span { font-weight: 600; color: var(--v1-gray-900); }
.v1-documents-sidebar__year { margin-bottom: 14px; }
.v1-documents-sidebar__year label {
    display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; color: var(--v1-gray-500); margin-bottom: 6px;
}
.v1-documents-sidebar__select {
    width: 100%; padding: 8px 10px; border: 1px solid var(--v1-gray-200);
    border-radius: 8px; font-size: 13px; background: #fff; color: var(--v1-gray-900);
}
.v1-documents-sidebar__loading {
    font-size: 13px; color: var(--v1-gray-500); padding: 8px 0;
}
.v1-documents-sidebar__empty-text {
    margin: 0; font-size: 13px; color: var(--v1-gray-600); line-height: 1.45;
}
.v1-documents-category-nav {
    display: flex; flex-direction: column; gap: 6px;
}
.v1-documents-cat-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; text-align: left;
    padding: 10px 12px; border-radius: 8px;
    border: 1px solid var(--v1-gray-200); background: #fff;
    font-size: 13px; font-weight: 500; color: var(--v1-gray-800);
    cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.v1-documents-cat-btn:hover {
    border-color: var(--v1-primary); color: var(--v1-primary);
}
.v1-documents-cat-btn.is-active {
    border-color: var(--v1-primary); background: var(--v1-primary-light, #eef2ff);
    color: var(--v1-gray-900); box-shadow: 0 0 0 1px var(--v1-primary);
}
.v1-documents-cat-btn__label { flex: 1; min-width: 0; line-height: 1.3; }
.v1-documents-cat-btn__badge {
    flex-shrink: 0; font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 999px; background: var(--v1-gray-100); color: var(--v1-gray-700);
}
.v1-documents-cat-btn.is-active .v1-documents-cat-btn__badge {
    background: #fff; color: var(--v1-primary);
}
.v1-documents-main { min-width: 0; }
.v1-documents-main-toolbar { margin-bottom: 16px; }
.v1-documents-search-row {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.v1-documents-search-field { flex: 1; min-width: 200px; }
.v1-documents-search-field label {
    display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; color: var(--v1-gray-500); margin-bottom: 6px;
}
.v1-documents-search-field input[type="search"] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--v1-gray-200);
    border-radius: 8px; font-size: 14px; background: #fff;
}
.v1-documents-search-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.v1-documents-tabs--pageronly {
    border-bottom: none; padding-bottom: 0; margin-bottom: 12px;
    justify-content: flex-end;
}
.v1-documents-selection-bar {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: var(--v1-gray-50, #f9fafb);
    border: 1px solid var(--v1-gray-200, #e5e7eb);
    border-radius: var(--v1-radius, 8px);
}
.v1-documents-selection-bar.is-visible {
    display: flex;
}
.v1-documents-selection-bar__count { font-size: 14px; font-weight: 600; color: var(--v1-gray-900); }
.v1-documents-selection-bar__hint {
    font-size: 13px; color: var(--v1-gray-600); line-height: 1.45; flex: 1; min-width: 200px;
}
.v1-documents-th-dl { width: 48px; text-align: center; }
.v1-documents-dl-cell { text-align: center; vertical-align: middle; }
.v1-documents-dl-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    border: none; background: var(--v1-primary-light, #eef2ff); color: var(--v1-primary);
    cursor: pointer; font-size: 15px; transition: filter .15s;
}
.v1-documents-dl-icon:hover { filter: brightness(0.95); }
.v1-documents-dl-icon:disabled { opacity: 0.55; cursor: not-allowed; }
.v1-documents-section .v1-section-header {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.v1-documents-count { font-weight: 500; color: var(--v1-gray-500); font-size: 14px; }
.v1-documents-body { padding: 20px; }
.v1-documents-intro {
    margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: var(--v1-gray-600);
}
.v1-documents-filters {
    margin-bottom: 20px; padding: 16px; background: var(--v1-gray-50);
    border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius);
}
.v1-documents-filters__row {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
}
.v1-documents-filters__group {
    flex: 1; min-width: 160px;
}
.v1-documents-filters__group label {
    display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; color: var(--v1-gray-500); margin-bottom: 6px;
}
.v1-documents-filters__group input {
    width: 100%; padding: 8px 10px; border: 1px solid var(--v1-gray-200);
    border-radius: 8px; font-size: 13px; color: var(--v1-gray-900); background: #fff;
}
.v1-documents-filters__group input:focus {
    outline: none; border-color: var(--v1-primary); box-shadow: 0 0 0 3px var(--v1-primary-light);
}
.v1-documents-filters__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.v1-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 16px; font-size: 13px; font-weight: 600; border-radius: 8px;
    border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.v1-btn--primary {
    background: var(--v1-primary); color: #fff; border-color: var(--v1-primary);
}
.v1-btn--primary:hover { filter: brightness(0.95); }
.v1-btn--ghost {
    background: #fff; color: var(--v1-gray-700); border-color: var(--v1-gray-200);
}
.v1-btn--ghost:hover { background: var(--v1-gray-50); }
.v1-documents-tabs {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--v1-gray-200);
    padding-bottom: 2px;
}
.v1-documents-tabs__left { display: flex; flex-wrap: wrap; gap: 0; }
.v1-documents-tab {
    padding: 10px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; border: none; background: transparent; color: var(--v1-gray-500);
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}
.v1-documents-tab:hover { color: var(--v1-primary); }
.v1-documents-tab.active {
    color: var(--v1-gray-900); border-bottom-color: var(--v1-primary);
}
.v1-documents-pager {
    display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--v1-gray-600);
}
.v1-documents-pager__btn { color: var(--v1-primary); user-select: none; }
.v1-documents-pager__btn:hover { text-decoration: underline; }
.v1-documents-pager__btn--hidden { display: none !important; }
.v1-documents-pager__info { color: var(--v1-gray-500); font-weight: 500; }
.v1-documents-table-wrap { position: relative; }
.v1-documents-table { font-size: 13px; }
.v1-documents-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--v1-gray-500); }
.v1-documents-type-badge {
    display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--v1-gray-100);
    font-size: 12px; color: var(--v1-gray-700);
}
.v1-documents-dl { text-decoration: none; }
.v1-documents-dl--btn {
    border: none;
    cursor: pointer;
    font: inherit;
    display: inline-block;
    text-align: center;
}
.v1-documents-dl--btn:disabled { opacity: 0.6; cursor: not-allowed; }
.v1-documents-th-select { width: 40px; text-align: center; }
.v1-documents-select-cell { width: 40px; text-align: center; vertical-align: middle; }
.v1-documents-select-cell .v1-doc-select { width: 18px; height: 18px; cursor: pointer; }
.v1-documents-bulk-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: var(--v1-gray-50, #f9fafb);
    border: 1px solid var(--v1-gray-200, #e5e7eb);
    border-radius: var(--v1-radius, 8px);
}
.v1-documents-bulk-bar__hint {
    font-size: 13px;
    color: var(--v1-gray-600);
    line-height: 1.45;
    max-width: 520px;
}

.v1-documents-download-progress {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}
.v1-documents-download-progress.is-visible {
    display: flex;
}
.v1-documents-download-progress__panel {
    width: min(420px, calc(100vw - 32px));
    padding: 20px 22px;
    border-radius: var(--v1-radius, 10px);
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}
.v1-documents-download-progress__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--v1-gray-900, #111827);
    margin: 0 0 14px;
}
.v1-documents-download-progress__track {
    height: 10px;
    border-radius: 999px;
    background: var(--v1-gray-100, #f3f4f6);
    overflow: hidden;
}
.v1-documents-download-progress__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--v1-primary, #4f46e5), #6366f1);
    transition: width 0.15s ease-out;
    width: 0%;
}
.v1-documents-download-progress.is-indeterminate .v1-documents-download-progress__fill {
    width: 35% !important;
    animation: v1-documents-progress-indeterminate 1.1s ease-in-out infinite;
}
@keyframes v1-documents-progress-indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(320%); }
}
.v1-documents-download-progress__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--v1-gray-600);
}
.v1-documents-download-progress__meta #v1-documents-download-progress-pct,
.v1-documents-download-progress__meta #v1-report-download-progress-pct {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.v1-documents-na { color: var(--v1-gray-300); }
.v1-documents-empty {
    text-align: center; padding: 40px 20px; max-width: 480px; margin: 0 auto;
}
.v1-documents-empty--filter { max-width: 100%; padding: 24px; border: 1px dashed var(--v1-gray-200); border-radius: var(--v1-radius); margin-top: 12px; }
.v1-documents-empty__icon {
    width: 52px; height: 52px; border-radius: 50%; background: var(--v1-primary-light);
    color: var(--v1-primary); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 20px;
}
.v1-documents-empty__title { font-size: 16px; font-weight: 600; color: var(--v1-gray-900); margin: 0 0 8px; }
.v1-documents-empty__text { font-size: 14px; color: var(--v1-gray-600); line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
    .v1-documents-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .v1-documents-filters__row { flex-direction: column; }
    .v1-documents-tabs { flex-direction: column; align-items: stretch; }
    .v1-documents-pager { justify-content: center; }
    .v1-documents-search-row { flex-direction: column; align-items: stretch; }
}

/* -- V1 section paywall (Get company data) + standalone access popup -- */
.v1-section--locked .v1-section-body.v1-section-lock,
.v1-section-locked .v1-section-body.v1-section-lock {
    position: relative;
    min-height: 200px;
    padding-bottom: 24px;
}
.v1-section-lock .v1-section-lock-dummy {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
    opacity: 0.92;
    margin: -4px 0 0;
}
.v1-section-lock-overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    /* Light veil so users can read most of the dummy data behind the lock */
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(249,250,251,0.48) 100%);
    backdrop-filter: blur(0.5px);
}
.v1-section-lock-icon {
    font-size: 28px;
    color: var(--v1-primary);
    margin-bottom: 10px;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.95)) drop-shadow(0 0 1px rgba(255,255,255,0.8));
}
.v1-section-lock-msg {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--v1-gray-800);
    margin: 0 0 14px;
    font-weight: 500;
    text-shadow: 0 0 10px #fff, 0 0 20px rgba(255,255,255,0.9);
}
.v1-section-lock-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #141f2e 0%, #1a2332 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20, 31, 46, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v1-section-lock-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 31, 46, 0.35);
}
a.v1-section-lock-cta.v1-section-lock-cta--login,
a.v1-section-lock-cta.v1-section-lock-cta--login:visited {
    text-decoration: none;
    color: #fff;
}
a.v1-section-lock-cta.v1-section-lock-cta--login:hover {
    color: #fff;
}
.v1-locked-metric-grid .v1-ki-value,
.v1-locked-dummy-table td {
    font-family: ui-monospace, monospace;
    letter-spacing: 0.08em;
}

/* Legacy-equivalent #popup (from _headerNav) - scoping avoids Bootstrap .btn conflict */
.popupRequestScreenBy {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 15px;
}
.popup-contentBy {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 850px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
    animation: v1PopupSlideIn 0.25s ease-out;
}
@keyframes v1PopupSlideIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.popupRequestScreenBy .popup-header {
    background: linear-gradient(135deg, #141f2e 0%, #1a2332 100%);
    color: #fff;
    padding: 14px 20px;
    position: relative;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.popupRequestScreenBy .popup-header-content { padding-right: 35px; }
.popupRequestScreenBy .popup-title {
    font-size: 18px; font-weight: 600; margin: 0; color: #fff; letter-spacing: -0.3px;
}
.popupRequestScreenBy .popup-header .close {
    position: absolute; top: 12px; right: 15px; font-size: 24px; color: #fff; cursor: pointer;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.15);
    line-height: 1; font-weight: 300;
    transition: background 0.2s ease, transform 0.2s ease;
}
.popupRequestScreenBy .popup-header .close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }
.popupRequestScreenBy .popup-body-horizontal {
    display: flex; padding: 20px; gap: 15px; align-items: stretch;
}
.popupRequestScreenBy .section {
    background: #fff; border-radius: 8px; padding: 18px; border: 1.5px solid #e5e7eb;
    flex: 1; display: flex; flex-direction: column; position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.popupRequestScreenBy .premium-section {
    border-color: #141f2e;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}
.popupRequestScreenBy .section-badge {
    position: absolute; top: -8px; right: 15px;
    background: linear-gradient(135deg, #141f2e, #1a2332);
    color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 10px; font-weight: 600;
    box-shadow: 0 2px 6px rgba(20, 31, 46, 0.3);
}
.popupRequestScreenBy .section-header { margin-bottom: 12px; }
.popupRequestScreenBy .section-title {
    font-size: 15px; font-weight: 600; color: #111827; margin: 0 0 8px;
    display: flex; align-items: center; gap: 6px;
}
.popupRequestScreenBy .section-title i { color: #141f2e; font-size: 16px; }
.popupRequestScreenBy .price-container { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.popupRequestScreenBy .price-old { font-size: 13px; color: #9ca3af; text-decoration: line-through; font-weight: 500; }
.popupRequestScreenBy .price-new { font-size: 22px; font-weight: 700; color: #141f2e; line-height: 1; }
.popupRequestScreenBy .price-new-small { font-size: 18px; font-weight: 700; color: #141f2e; }
.popupRequestScreenBy .price-discount {
    background: #fede59; color: #111827; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 700;
}
.popupRequestScreenBy .features-list-compact,
.popupRequestScreenBy .benefits-list-compact { margin: 12px 0; flex-grow: 1; }
.popupRequestScreenBy .features-list-compact .feature-item,
.popupRequestScreenBy .benefits-list-compact .benefit-item {
    display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 11px; color: #374151;
}
.popupRequestScreenBy .features-list-compact .feature-item i { color: #10b981; font-size: 12px; }
.popupRequestScreenBy .benefits-list-compact .benefit-item i { color: #141f2e; font-size: 12px; }
.popupRequestScreenBy .btn-primary,
.popupRequestScreenBy .btn-secondary {
    width: 100%; padding: 10px 16px; border: none; border-radius: 6px; font-size: 13px; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px;
    transition: 0.2s ease;
}
.popupRequestScreenBy .btn-primary {
    background: linear-gradient(135deg, #141f2e 0%, #1a2332 100%);
    color: #fff; box-shadow: 0 2px 6px rgba(20, 31, 46, 0.2);
}
.popupRequestScreenBy .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20, 31, 46, 0.3); }
.popupRequestScreenBy .btn-secondary {
    background: #fff; color: #141f2e; border: 1.5px solid #141f2e;
}
.popupRequestScreenBy .btn-secondary:hover { background: #141f2e; color: #fff; transform: translateY(-1px); }
.popupRequestScreenBy .price-note { text-align: center; font-size: 10px; color: #6b7280; margin: 8px 0 0; }
.popupRequestScreenBy .section-divider-vertical {
    display: flex; align-items: center; justify-content: center; width: 30px; flex-shrink: 0; position: relative;
}
.popupRequestScreenBy .section-divider-vertical::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #e5e7eb; transform: translateX(-50%);
}
.popupRequestScreenBy .section-divider-vertical span {
    background: #fff; padding: 4px 6px; color: #6b7280; font-weight: 600; font-size: 11px; position: relative; z-index: 1;
}
@media (max-width: 768px) {
    .popupRequestScreenBy .popup-contentBy { max-width: 95%; }
    .popupRequestScreenBy .popup-body-horizontal { flex-direction: column; padding: 15px; }
    .popupRequestScreenBy .section-divider-vertical { width: 100%; height: 20px; }
    .popupRequestScreenBy .section-divider-vertical::before { left: 0; right: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
    .popupRequestScreenBy .popup-title { font-size: 16px; }
}

/* -- V1 paywall: rich dummy (bars, donut, flags) -- */
.v1-lock-fp-chart { min-height: 0; }
.v1-lock-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    height: 170px;
    padding: 0 2px 6px;
    margin-top: 4px;
    border-bottom: 1px solid var(--v1-gray-200);
}
.v1-lock-bar {
    flex: 1 1 0;
    min-width: 0;
    max-width: 14%;
    background: #3b82f6;
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 4px;
}
.v1-lock-bars--pl .v1-lock-bar { background: #0d9488; }
.v1-lock-bars--pl .v1-lock-bar--neg { background: #dc2626; }
.v1-lock-bar span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    color: var(--v1-gray-600);
    white-space: nowrap;
}
.v1-lock-xaxis { font-size: 10px; color: var(--v1-gray-500); text-align: center; margin: 6px 0 4px; }
.v1-lock-xaxis--5 { font-size: 10px; color: var(--v1-gray-500); text-align: center; margin-top: 6px; }
.v1-lock-mtx th:first-child, .v1-lock-mtx td:first-child { font-weight: 600; color: var(--v1-primary); }

.v1-lock-r3-legend { font-size: 11px; color: var(--v1-gray-600); margin-bottom: 6px; }
.v1-lock-r3-legend .c1 { color: #8b5cf6; }
.v1-lock-r3-legend .c2 { color: #22c55e; }
.v1-lock-r3-legend .c3 { color: #f59e0b; }
.v1-lock-r3-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 6px;
    height: 180px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--v1-gray-200);
    margin-top: 4px;
}
.v1-lock-r3-group {
    display: flex;
    flex: 1;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}
.v1-lock-mbar { flex: 1; min-width: 0; border-radius: 2px 2px 0 0; min-height: 4px; }
.v1-lock-ratio-chart { min-width: 0; flex: 1.1; }
/* Locked Financial Ratios: dummy line chart */
.v1-lock-fr-sub {
    font-size: 11px;
    color: var(--v1-gray-500);
    margin: 0 0 8px;
}
.v1-lock-fr-dummy-graph {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-height: 200px;
    border: 1px solid var(--v1-gray-200);
    border-radius: 8px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    padding: 8px 8px 4px;
}
.v1-lock-fr-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 38px;
    font-size: 9px;
    color: var(--v1-gray-500);
    text-align: right;
    padding: 4px 0 18px;
    line-height: 1.2;
}
.v1-lock-fr-plot {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 180px;
}
.v1-lock-fr-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 200px;
}
@media (max-width: 768px) {
    .v1-lock-fr-dummy-graph { min-height: 0; flex-direction: column; }
    .v1-lock-fr-yaxis {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        padding: 0 0 4px;
        text-align: center;
    }
}

.v1-sh-row--lock { flex-wrap: wrap; align-items: flex-start; }
.v1-sh-chart--lock { flex: 1; min-width: 240px; }
.v1-lock-donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.v1-lock-donut {
    width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%;
    background: conic-gradient(
        #1e3a8a 0% 33%,
        #3b82f6 33% 56%,
        #7dd3fc 56% 74%,
        #22c55e 74% 95%,
        #f97316 95% 100%
    );
    position: relative;
}
.v1-lock-donut::after {
    content: '';
    position: absolute; inset: 28%;
    background: #fff; border-radius: 50%;
}
.v1-lock-donut-legend { list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--v1-gray-700); }
.v1-lock-donut-legend li { display: flex; align-items: center; gap: 6px; margin: 4px 0; }
.v1-lock-donut-legend .sw { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.v1-lock-donut-legend .c1 { background: #1e3a8a; }
.v1-lock-donut-legend .c2 { background: #3b82f6; }
.v1-lock-donut-legend .c3 { background: #7dd3fc; }
.v1-lock-donut-legend .c4 { background: #22c55e; }
.v1-lock-donut-legend .c5 { background: #f97316; }
.v1-lock-subs-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--v1-gray-100); }
.v1-lock-subs-title { font-size: 14px; color: var(--v1-gray-900); }
.v1-subs-grid--lock { margin-top: 12px; }
.v1-court-grid--lockdummy { flex-wrap: wrap; }
.v1-lock-flag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.v1-lock-flag-pill {
    display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: #fff1f2; color: #7f1d1d; border: 1px solid #fecdd3;
}
.v1-lock-flagged-divider { border-bottom: 1px solid var(--v1-gray-200); margin-top: 10px; }
.v1-epfo-card--lockdummy { border: 1px solid var(--v1-gray-200); border-radius: var(--v1-radius); }

/* -- V1 shell: share, screening CTA, loaders (legacy _headerNav parity) -- */
.v1-header-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.v1-header-actions-wrap--compact { gap: 4px; }
.v1-share-container--shell { position: relative; }
.v1-share-container--shell .v1-share-btn {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    padding: 8px 12px; border-radius: 6px; border: 1px solid var(--v1-gray-200, #e5e7eb);
    background: #fff; color: #141f2e; font-size: 14px; font-weight: 500;
}
.v1-header-actions-wrap--compact .v1-share-container--shell .v1-share-btn { padding: 6px 8px; }
.v1-share-container--shell .v1-share-menu {
    display: none; position: absolute; right: 0; top: 100%; margin-top: 4px; z-index: 200;
    min-width: 200px; background: #fff; border: 1px solid var(--v1-gray-200, #e5e7eb);
    border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px 0;
}
.v1-share-container--shell .v1-share-menu--open { display: block; }
.v1-share-container--shell .v1-share-menu a,
.v1-share-container--shell .v1-share-menu .v1-copy-link {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #1f2937; font-size: 13px;
    text-decoration: none; cursor: pointer;
}
.v1-share-container--shell .v1-share-menu a:hover { background: #f3f4f6; }
.v1-hero-btn-screening { background: #fede59 !important; border-color: #eab308 !important; color: #1f2937 !important; }
/* Disabled = screening queued / in progress: L→R highlight sweep + soft ring */
.v1-hero-btn.v1-hero-btn-screening:disabled {
    cursor: progress;
    position: relative;
    overflow: hidden;
    border-color: #ca8a04 !important;
    color: #1f2937 !important;
    background: #fede59 !important;
    animation: v1-screening-in-progress-ring 2s ease-in-out infinite;
}
.v1-hero-btn.v1-hero-btn-screening:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 28%,
        rgba(255, 255, 255, 0.92) 50%,
        rgba(255, 255, 255, 0.25) 72%,
        transparent 100%
    );
    transform: translateX(-115%);
    animation: v1-screening-highlight-ltr 2.1s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    pointer-events: none;
    z-index: 0;
}
.v1-hero-btn.v1-hero-btn-screening:disabled > * {
    position: relative;
    z-index: 1;
}
.v1-hero-btn.v1-hero-btn-screening:disabled:hover {
    border-color: #ca8a04 !important;
    color: #1f2937 !important;
    background: #fede59 !important;
}
.v1-hero-btn.v1-hero-btn-screening:disabled i {
    display: inline-block;
    animation: v1-screening-in-progress-icon 1.4s ease-in-out infinite;
    transform-origin: 50% 55%;
}
@keyframes v1-screening-highlight-ltr {
    0% { transform: translateX(-115%); }
    100% { transform: translateX(290%); }
}
@keyframes v1-screening-in-progress-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.45);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
    }
}
@keyframes v1-screening-in-progress-icon {
    0%, 100% { transform: rotate(-6deg) scale(1); }
    50% { transform: rotate(6deg) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    .v1-hero-btn.v1-hero-btn-screening:disabled {
        animation: none;
        box-shadow: none;
    }
    .v1-hero-btn.v1-hero-btn-screening:disabled::after {
        animation: none;
        opacity: 0;
    }
    .v1-hero-btn.v1-hero-btn-screening:disabled i {
        animation: none;
    }
}
.v1-screening-button-wrap { display: inline-flex; align-items: center; gap: 4px; }
.v1-screening-gif,
.v1-screening-queued { width: 32px; height: 32px; vertical-align: middle; }
.v1-screening-queued { object-fit: cover; border-radius: 6px; }
/* Full width of .v1-container; legacy track order used 4% horizontal padding on .top */
.v1-track-order-v1 { width: 100%; margin: 0; padding: 0; }
/* Title row: override legacy 4% but keep same inset as content (replaces old justify-between + Expected Arrival) */
.v1-track-order-v1 .top { padding: 12px 12px 8px 12px !important; }
.v1-track-order-v1 .track-order-inbox-msg {
    font-size: 13px;
    color: var(--v1-gray-600, #4b5563);
    line-height: 1.5;
    margin: 0;
    padding: 8px 12px 16px 12px !important;
    border-top: 1px solid var(--v1-gray-200, #e5e7eb);
}
.v1-track-order-v1 .track-order-inbox-msg .track-order-screening-id { color: var(--v1-primary, #4f46e5); }
.v1-track-order-v1 .track-order-toggle-btn {
    color: var(--v1-gray-500, #6b7280);
}
.v1-track-order-v1 .track-order-toggle-btn:hover,
.v1-track-order-v1 .track-order-toggle-btn:focus {
    background: var(--v1-gray-100, #f3f4f6) !important;
    color: var(--v1-primary, #4f46e5);
    outline: none;
}
.v1-track-order-v1 .track-order--collapsed .top {
    border-bottom: none !important;
    padding-bottom: 12px !important;
}

/* -- V1 modals (buy, screening, loaders, toast) -- */
.v1-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.v1-modal__panel {
    position: relative;
    max-width: 100%;
    background: #fff;
    border-radius: var(--v1-radius);
    box-shadow: var(--v1-shadow-lg);
    border: 1px solid var(--v1-gray-200);
    max-height: 90vh;
    overflow: auto;
}
.v1-modal__panel--wide { max-width: 920px; width: 100%; }
.v1-modal__panel--loader {
    min-width: 220px;
    text-align: center;
    padding: 28px 32px 24px;
    border: none;
}
.v1-modal__panel--notify {
    min-width: 280px;
    max-width: 400px;
    text-align: center;
    padding: 28px 24px 24px;
    border: none;
}
.v1-loader-spinner img { max-width: 64px; height: auto; display: block; margin: 0 auto 8px; }
.v1-loader-text { margin: 0; font-size: 14px; color: var(--v1-gray-600); }
.v1-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 12px;
    border-bottom: 1px solid var(--v1-gray-100);
}
.v1-modal__title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v1-gray-900);
    text-rendering: optimizeLegibility;
}
.v1-modal__subtitle { margin: 0; font-size: 14px; color: var(--v1-gray-600); }
.v1-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--v1-gray-100);
    color: var(--v1-gray-700);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.v1-modal__close:hover { background: var(--v1-gray-200); }
.v1-modal__body { padding: 0 24px 24px; }
.v1-buy-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}
@media (max-width: 800px) {
    .v1-buy-grid { grid-template-columns: 1fr; }
    .v1-buy-or { min-height: 0 !important; padding: 12px 0 !important; }
}
.v1-buy-card {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.v1-buy-card--primary { background: linear-gradient(180deg, var(--v1-primary-light) 0%, #fff 32%); }
.v1-buy-card--soft { background: var(--v1-gray-50); }
.v1-buy-card__badge {
    align-self: flex-start;
    background: var(--v1-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
}
.v1-buy-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v1-gray-900);
}
.v1-buy-card__title i { color: var(--v1-primary); margin-right: 6px; }
.v1-buy-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.v1-buy-card__price-old { font-size: 14px; color: var(--v1-gray-500); text-decoration: line-through; }
.v1-buy-card__price-new { font-size: 26px; font-weight: 800; color: var(--v1-gray-900); }
.v1-buy-card__discount {
    background: #ecfdf5;
    color: var(--v1-success);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.v1-buy-list { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--v1-gray-700); }
.v1-buy-list li { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; }
.v1-buy-list i { color: var(--v1-success); margin-top: 2px; }
.v1-buy-list--soft { color: var(--v1-gray-600); }
.v1-buy-lede { margin: 0; font-size: 14px; color: var(--v1-gray-600); }
.v1-buy-or {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    background: var(--v1-gray-100);
    color: var(--v1-gray-500);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 4px;
}
.v1-buy-or span {
    background: #fff;
    border: 1px solid var(--v1-gray-200);
    border-radius: 999px;
    padding: 6px 10px;
}
.v1-buy-footnote { margin: 4px 0 0; font-size: 11px; color: var(--v1-gray-500); }
.v1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.v1-btn--primary {
    background: var(--v1-primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25);
}
.v1-btn--primary:hover { background: #4338ca; color: #fff; }
.v1-btn--secondary {
    background: #fff;
    color: var(--v1-primary);
    border-color: var(--v1-primary);
}
.v1-btn--secondary:hover { background: var(--v1-primary-light); }
.v1-btn--ghost { background: var(--v1-gray-100); color: var(--v1-gray-800); border-color: var(--v1-gray-200); }
.v1-btn--ghost:hover { background: var(--v1-gray-200); }
.v1-screen-card { padding: 0; }
.v1-screen-card__head { text-align: center; padding: 24px 24px 8px; }
.v1-screen-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--v1-primary-light); color: var(--v1-primary); font-size: 20px; margin-bottom: 10px;
}
.v1-screen-card__title { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--v1-gray-900); }
.v1-screen-card__company { margin: 6px 0 0; font-size: 15px; color: var(--v1-gray-600); }
.v1-screen-card__body { padding: 8px 24px 8px; }
.v1-screen-credit {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 8px;
    background: var(--v1-primary-light);
    border: 1px solid #e0e7ff;
}
.v1-screen-credit__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--v1-gray-600); }
.v1-screen-credit__value { font-size: 22px; font-weight: 800; color: var(--v1-primary); }
.v1-screen-hint { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--v1-gray-600); }
.v1-screen-hint i { color: var(--v1-primary); margin-right: 4px; }
.v1-screen-card__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 24px 24px; }
.v1-screen-card__actions .v1-btn { flex: 1; min-width: 140px; }
.v1-notify__icon { font-size: 40px; margin-bottom: 8px; }
.v1-notify__icon.success { color: var(--v1-success); }
.v1-notify__icon.error { color: var(--v1-danger); }
.v1-notify__title { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: var(--v1-gray-900); }
.v1-notify__title.success { color: var(--v1-gray-900); }
.v1-notify__title.error { color: var(--v1-danger); }
.v1-notify__msg { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--v1-gray-600); }

/* -- Export format modal (company report PDF / Excel) -- */
/* Fixed width + flex: 0 0 auto; single light surface (header + body) for a standard dialog look. */
#reportFormatModal.v1-report-export-modal .v1-report-export-modal__panel {
    flex: 0 0 auto;
    align-self: center;
    width: min(480px, calc(100vw - 32px));
    max-width: min(480px, calc(100vw - 32px));
    padding: 0;
    overflow: hidden;
    border-radius: var(--v1-radius);
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}
.v1-report-export-modal__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: inherit;
    background: #fff;
}
/* Must not use bare <header> in modals: templatemo-host-cloud.css sets header{position:fixed;width:100%;z-index:99999} */
.v1-report-export-modal__header {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 18px 20px 14px;
    margin: 0;
    background: #fff !important;
    border-bottom: 1px solid var(--v1-gray-200);
    box-sizing: border-box;
}
.v1-report-export-modal__header-main {
    flex: 1;
    min-width: 0;
}
.v1-report-export-modal__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--v1-gray-900);
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.v1-report-export-modal__close {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 -6px 0 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--v1-gray-500);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.v1-report-export-modal__close:hover {
    background: var(--v1-gray-100);
    color: var(--v1-gray-800);
}
.v1-report-export-modal__close:focus-visible {
    outline: 2px solid var(--v1-primary);
    outline-offset: 2px;
}
.v1-report-export-modal__close i,
.v1-report-export-modal__close .fa {
    color: inherit;
    opacity: 1;
    line-height: 1;
}
.v1-report-export-modal__body {
    padding: 20px 20px 22px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.v1-report-export-modal__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 420px) {
    .v1-report-export-modal__choices {
        grid-template-columns: 1fr;
    }
}
.v1-report-export-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 14px;
    text-align: left;
    border-radius: var(--v1-radius);
    border: 1px solid var(--v1-gray-200);
    background: var(--v1-gray-50);
    cursor: pointer;
    font: inherit;
    color: var(--v1-gray-900);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.v1-report-export-option:hover {
    border-color: var(--v1-gray-300);
    background: #fff;
    box-shadow: var(--v1-shadow);
}
.v1-report-export-option:focus-visible {
    outline: 2px solid var(--v1-primary);
    outline-offset: 2px;
}
.v1-report-export-option--pdf:hover {
    border-color: rgba(220, 38, 38, 0.35);
}
.v1-report-export-option--excel:hover {
    border-color: rgba(22, 163, 74, 0.4);
}
.v1-report-export-option__icon {
    font-size: 22px;
    color: var(--v1-primary);
}
.v1-report-export-option--pdf .v1-report-export-option__icon {
    color: var(--v1-danger);
}
.v1-report-export-option--excel .v1-report-export-option__icon {
    color: var(--v1-success);
}
.v1-report-export-option__label {
    font-size: 15px;
    font-weight: 700;
}
.v1-report-export-option__hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--v1-gray-500);
    line-height: 1.35;
}
.v1-report-export-modal__footer {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}
.v1-report-export-modal__cancel {
    min-width: 120px;
}
