/* ============================== */
    /* RESOURCES PAGE-SPECIFIC STYLES */
    /* ============================== */

    /* HERO */
    .hero {
        position: relative;
        min-height: 420px;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
        background: var(--black);
    }

    .hero-bg {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: #2a2a2a;
        z-index: 0;
    }

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.50) 50%, rgba(0,0,0,0.30) 100%);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 10;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 72px 48px 52px;
        width: 100%;
    }

    .hero-eyebrow {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: var(--red);
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 44px;
        font-weight: 800;
        line-height: 1.1;
        color: white;
        max-width: 620px;
        margin-bottom: 20px;
    }

    .hero-sub {
        font-size: 17px;
        color: rgba(255,255,255,0.8);
        max-width: 560px;
        line-height: 1.7;
    }

    /* ANCHOR NAV */
    .anchor-nav {
        display: flex;
        justify-content: center;
        gap: 24px;
        padding: 16px 30px;
        background: white;
        border-bottom: 1px solid var(--light-gray);
        position: sticky;
        top: 72px;
        z-index: 100;
        flex-wrap: wrap;
    }

    .anchor-nav a {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--mid-gray);
        text-decoration: none;
        padding-bottom: 4px;
        border-bottom: 2px solid transparent;
        transition: all 0.2s;
    }

    .anchor-nav a:hover,
    .anchor-nav a.active {
        color: var(--red);
        border-bottom-color: var(--red);
    }

    /* SECTION COMMON */
    .section-category {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: var(--red);
        margin-bottom: 10px;
    }

    .content-section {
        padding: 64px 48px;
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .content-section.alt-bg {
        background: var(--bg-gray);
        max-width: 100%;
    }

    .content-section.alt-bg .section-inner {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .content-section.dark-bg {
        background: var(--black);
        max-width: 100%;
        color: white;
    }

    .content-section.dark-bg .section-inner {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .content-section h2 {
        font-size: 32px;
        font-weight: 800;
        color: var(--black);
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .content-section p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--dark-gray);
        margin-bottom: 16px;
    }

    .section-intro {
        max-width: 680px;
        margin-bottom: 48px;
    }

    /* CERTIFICATIONS */
    /* ================================ */
    /* QUALITY SECTION - PHOTO + TEXT   */
    /* ================================ */
    .quality-section-wrap {
        background: #0d0d0d;
        padding: 72px 0;
        overflow: hidden;
    }

    .quality-section-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 48px;
    }

    .quality-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
    }

    .quality-text-side .section-category { color: var(--red); }

    .quality-text-side h2 {
        color: #fff;
        font-size: 34px;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 16px;
        padding-bottom: 0;
    }
    .quality-text-side h2::after { display: none; }

    .quality-lead {
        color: rgba(255,255,255,0.6) !important;
        font-size: 16px !important;
        margin-bottom: 28px !important;
    }

    .cert-strip {
        display: flex;
        gap: 12px;
        margin-bottom: 32px;
    }

    .cert-badge {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        padding: 12px 18px;
        text-align: center;
        flex: 1;
        transition: border-color 0.3s;
    }

    .cert-badge:hover {
        border-color: rgba(255,0,43,0.4);
    }

    .cert-badge-name {
        display: block;
        font-size: 18px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 2px;
    }

    .cert-badge-label {
        display: block;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--red);
    }

    .quality-checklist {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .quality-check {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: rgba(255,255,255,0.75);
        line-height: 1.5;
    }

    .quality-check svg {
        width: 20px;
        height: 20px;
        stroke: var(--red);
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .quality-photo-side {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }

    .quality-photo-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        min-height: 380px;
        border-radius: 16px;
    }

    /* ================================ */
    /* CALCULATOR / FEATURE CARDS       */
    /* ================================ */
    .cert-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 32px;
    }

    .feature-card {
        background: white;
        border: 1px solid var(--light-gray);
        border-radius: 12px;
        padding: 24px 22px;
        transition: box-shadow 0.2s, transform 0.2s;
    }

    .feature-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

    .feature-card h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--black);
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.6;
        color: var(--dark-gray);
        margin-bottom: 0;
    }

    /* TECHNICAL DATA */
    .tech-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        margin-top: 32px;
    }

    .tech-card {
        background: white;
        border: 1px solid var(--light-gray);
        border-radius: 12px;
        padding: 36px 32px;
        position: relative;
        transition: box-shadow 0.2s;
    }

    .tech-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    .tech-card-logo {
        height: 36px;
        width: auto;
        display: block;
        margin-bottom: 16px;
    }

    .tech-card h3 {
        font-size: 20px;
        font-weight: 800;
        color: var(--black);
        margin-bottom: 12px;
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        border: 0;
    }

    .tech-card p {
        font-size: 14px;
        line-height: 1.7;
        color: var(--dark-gray);
        margin-bottom: 16px;
    }

    .tech-specs {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .tech-specs li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid var(--light-gray);
        font-size: 14px;
        color: var(--dark-gray);
    }

    .tech-specs li:last-child { border-bottom: none; }

    .tech-specs li strong {
        color: var(--black);
        font-weight: 600;
    }

    .tech-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        font-size: 14px;
        font-weight: 600;
        color: var(--red);
        text-decoration: none;
        transition: gap 0.2s;
    }

    .tech-link:hover { gap: 12px; }

    .tech-link svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* DOWNLOAD BUTTON */
    .download-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
        padding: 14px 28px;
        background: var(--black);
        color: white;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.2s;
    }
    .download-btn:hover { background: #333; }
    .download-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

    /* DOWNLOAD CARDS */
    .download-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 32px;
    }

    .download-card {
        background: white;
        border: 1px solid var(--light-gray);
        border-radius: 12px;
        padding: 28px 24px;
        display: flex;
        flex-direction: column;
        transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    }

    .download-card:hover {
        border-color: var(--red);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

    .download-card-icon {
        width: 48px;
        height: 48px;
        background: rgba(204,51,51,0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        flex-shrink: 0;
    }

    .download-card-icon svg {
        width: 24px;
        height: 24px;
        stroke: var(--red);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .download-card h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--black);
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .download-card p {
        font-size: 13px;
        line-height: 1.6;
        color: var(--dark-gray);
        margin-bottom: 16px;
        flex-grow: 1;
    }

    .download-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--red);
        text-decoration: none;
        transition: gap 0.2s;
    }

    .download-link:hover { gap: 10px; }

    .download-link svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* FAQ ACCORDION */
    .faq-category-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 28px;
        padding-bottom: 16px;
        border-bottom: 2px solid var(--red);
    }

    .faq-category-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(204,51,51,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .faq-category-icon svg {
        width: 24px;
        height: 24px;
        stroke: var(--red);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .faq-category-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: var(--red);
    }

    .faq-category-count {
        font-size: 12px;
        font-weight: 500;
        color: var(--mid-gray);
        letter-spacing: 0;
        text-transform: none;
        margin-top: 2px;
    }

    .expand-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        padding: 6px 14px;
        font-size: 11px;
        font-weight: 600;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        color: var(--mid-gray);
        background: none;
        border: 1px solid var(--light-gray);
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .expand-toggle:hover {
        color: var(--red);
        border-color: var(--red);
    }

    .faq-item {
        border-bottom: 1px solid var(--light-gray);
    }

    .faq-item:last-child { border-bottom: none; }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 22px 0;
        cursor: pointer;
        user-select: none;
        gap: 20px;
    }

    .faq-question:hover h4 { color: var(--red); }

    .faq-question h4 {
        font-size: 16px;
        font-weight: 700;
        color: var(--black);
        line-height: 1.4;
        transition: color 0.2s;
    }

    .faq-question[aria-expanded="true"] h4 { color: var(--red); }

    .faq-toggle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px solid var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s;
    }

    .faq-toggle svg {
        width: 14px;
        height: 14px;
        stroke: var(--dark-gray);
        stroke-width: 2.5;
        fill: none;
        transition: transform 0.3s;
    }

    .faq-item.open .faq-toggle {
        background: var(--red);
        border-color: var(--red);
    }

    .faq-item.open .faq-toggle svg {
        stroke: white;
        transform: rotate(45deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .faq-answer-inner {
        padding: 0 0 24px;
    }

    .faq-answer-inner p {
        font-size: 15px;
        line-height: 1.75;
        color: var(--dark-gray);
        margin-bottom: 12px;
    }

    .faq-answer-inner p:last-child { margin-bottom: 0; }
    .faq-answer-inner strong { color: var(--black); }

    .highlight-box {
        padding: 18px 22px;
        border-radius: 6px;
        margin-top: 14px;
        margin-bottom: 4px;
    }

    .highlight-box.red {
        background: rgba(204,51,51,0.05);
        border-left: 4px solid var(--red);
    }

    .highlight-box p {
        font-size: 14px;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 0;
    }

    /* TRAINING SECTION */
    .training-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }

    .training-text h2 {
        color: white;
        margin-bottom: 16px;
    }

    .training-text p {
        color: rgba(255,255,255,0.8);
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .training-features {
        list-style: none;
        margin: 0 0 28px;
        padding: 0;
    }

    .training-features li {
        font-size: 14px;
        color: rgba(255,255,255,0.85);
        padding: 8px 0;
        padding-left: 24px;
        position: relative;
    }

    .training-features li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 14px;
        width: 8px;
        height: 8px;
        background: var(--red);
        border-radius: 50%;
    }

    .training-visual {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        overflow: hidden;
        text-align: center;
    }

    .training-visual > img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
    }

    .training-visual h3 {
        font-size: 18px;
        font-weight: 700;
        color: white;
        margin-bottom: 8px;
        padding: 24px 32px 0;
    }

    .training-visual p {
        font-size: 14px;
        color: rgba(255,255,255,0.6);
        margin-bottom: 0;
        padding: 0 32px 24px;
    }

    /* INLINE CTA */
    .inline-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 700;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.2s;
        background: var(--red);
        color: white;
        border: none;
        cursor: pointer;
    }

    .inline-cta:hover { background: var(--red-dark); }

    .inline-cta svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .inline-cta.secondary {
        background: transparent;
        border: 2px solid rgba(255,255,255,0.3);
    }

    .inline-cta.secondary:hover {
        border-color: white;
        background: transparent;
    }

    /* CONTACT STRIP */
    .contact-strip {
        background: var(--black);
        padding: 28px 48px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
    }

    .contact-strip-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact-strip-text {
        font-size: 16px;
        font-weight: 700;
        color: white;
    }

    .contact-strip-links {
        display: flex;
        gap: 32px;
    }

    .contact-strip-item {
        font-size: 14px;
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: color 0.2s;
    }

    .contact-strip-item strong {
        color: white;
        font-weight: 700;
    }

    .contact-strip-item:hover { color: white; }

    /* CTA BANNER */
    .cta-banner {
        background: var(--black);
        padding: 60px 48px;
        text-align: center;
    }

    .cta-banner h2 {
        font-size: 28px;
        font-weight: 800;
        color: white;
        margin-bottom: 8px;
    }

    .cta-banner p {
        font-size: 15px;
        color: rgba(255,255,255,0.75);
        margin-bottom: 28px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 700;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.2s;
    }

    .cta-btn.primary {
        background: var(--red);
        color: white;
        border: 2px solid var(--red);
    }

    .cta-btn.primary:hover {
        background: var(--red-dark);
        border-color: var(--red-dark);
    }

    .cta-btn.secondary {
        background: transparent;
        color: white;
        border: 2px solid rgba(255,255,255,0.3);
    }

    .cta-btn.secondary:hover { border-color: white; }

    .cta-btn svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
        .hero h1 { font-size: 32px; }
        .hero-content { padding: 60px 24px 40px; }
        .content-section { padding: 48px 24px; }
        .stat-banner { grid-template-columns: repeat(2, 1fr); }
        .cert-grid { grid-template-columns: 1fr; }
        .quality-section-wrap { padding: 48px 0; }
        .quality-section-inner { padding: 0 24px; }
        .quality-layout { grid-template-columns: 1fr; gap: 32px; }
        .quality-photo-side img { min-height: 240px; }
        .cert-strip { flex-wrap: wrap; }
        .feature-grid { grid-template-columns: 1fr; }
        .tech-grid { grid-template-columns: 1fr; }
        .download-grid { grid-template-columns: 1fr; }
        .training-content { grid-template-columns: 1fr; }
        .contact-strip { flex-direction: column; gap: 16px; text-align: center; }
        .contact-strip-inner { flex-direction: column; gap: 16px; text-align: center; }
        .contact-strip-links { flex-direction: column; gap: 12px; }
        .anchor-nav { gap: 12px; padding: 12px 16px; top: 72px; }
        .anchor-nav a { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }
    }

    @media (max-width: 600px) {
        .hero h1 { font-size: 28px; }
        .stat-banner { grid-template-columns: 1fr 1fr; }
        .download-grid { grid-template-columns: 1fr; }
        .cta-buttons { flex-direction: column; align-items: center; }
    }

    /* ===== DATASHEET BROWSER ===== */
    .ds-browser { max-width: 1100px; margin: 0 auto; }
    .ds-info { font-size: 13px; color: var(--mid-gray); line-height: 1.6; margin-bottom: 24px; padding: 16px 20px; background: #FAFAFA; border-left: 3px solid var(--red); border-radius: 0 4px 4px 0; }
    .ds-info strong { color: var(--dark); }
    .ds-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; align-items: flex-end; }
    .ds-filter-group { display: flex; flex-direction: column; gap: 4px; }
    .ds-filter-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--mid-gray); }
    .ds-filter-group select, .ds-filter-group input { padding: 8px 12px; border: 1px solid #D8D8D8; border-radius: 4px; font-size: 14px; font-family: inherit; background: #fff; min-width: 140px; }
    .ds-filter-group input[type="number"] { width: 120px; }
    .ds-filter-group select:focus, .ds-filter-group input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(255,0,43,0.1); }
    .ds-count { font-size: 13px; color: var(--mid-gray); margin-bottom: 12px; }
    .ds-count strong { color: var(--dark); }
    .ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .ds-table thead { position: sticky; top: 0; z-index: 2; }
    .ds-table th { background: #1a1a1a; color: #ffffff; padding: 10px 12px; text-align: center; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; cursor: pointer; user-select: none; }
    .ds-table th:hover { background: #333333; }
    .ds-table th.sort-asc::after { content: " \25B2"; font-size: 9px; }
    .ds-table th.sort-desc::after { content: " \25BC"; font-size: 9px; }
    .ds-table td { padding: 8px 12px; text-align: center; border-bottom: 1px solid #ECECEC; white-space: nowrap; }
    .ds-table tbody tr:hover { background: #FFF5F6; }
    .ds-table td:first-child { text-align: left; font-weight: 600; }
    .ds-table .ds-series { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; }
    .ds-table .ds-pro { background: #1a5fa0; color: #fff; }
    .ds-table .ds-helix { background: #d97706; color: #fff; }
    .ds-actions { display: flex; gap: 8px; justify-content: center; }
    .ds-actions a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; transition: all 0.15s; }
    .ds-actions a.ds-view { background: #F0F0F0; color: var(--dark); }
    .ds-actions a.ds-view:hover { background: var(--red); color: #fff; }
    .ds-actions a.ds-dl { background: #F0F0F0; color: var(--dark); }
    .ds-actions a.ds-dl:hover { background: var(--dark); color: #fff; }
    .ds-actions svg { width: 16px; height: 16px; }
    .ds-empty { text-align: center; padding: 40px 20px; color: var(--mid-gray); font-size: 15px; }
    @media (max-width: 768px) {
        .ds-filters { flex-direction: column; }
        .ds-filter-group select, .ds-filter-group input { width: 100%; }
        .ds-filter-group select, .ds-filter-group input { font-size: 16px !important; }
        .ds-table { font-size: 12px; }
        .ds-table th, .ds-table td { padding: 6px 8px; }
    }

    /* DATASHEET MODAL */
    .ds-modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); z-index:9999; align-items:center; justify-content:center; }
    .ds-modal-overlay.active { display:flex; }
    .ds-modal { background:#fff; border-radius:12px; width:90vw; max-width:820px; height:90vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.3); }
    .ds-modal iframe { zoom:0.82; }
    .ds-modal-header { display:flex; align-items:center; justify-content:space-between; padding:16px 24px; border-bottom:1px solid var(--light-gray); flex-shrink:0; }
    .ds-modal-header h3 { font-size:16px; font-weight:700; color:var(--black); margin:0; }
    .ds-modal-close { width:36px; height:36px; border:none; background:var(--bg-gray); border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.2s; }
    .ds-modal-close:hover { background:var(--red); color:#fff; }
    .ds-modal-close svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
    .ds-modal iframe { flex:1; border:none; border-radius:0 0 12px 12px; }
    .ds-modal-actions { display:flex; gap:12px; }
    .ds-modal-actions a { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; font-size:13px; font-weight:600; font-family:inherit; border-radius:6px; text-decoration:none; transition:all 0.2s; }
    .ds-modal-actions .ds-modal-dl { background:var(--black); color:#fff; }
    .ds-modal-actions .ds-modal-dl:hover { background:#333; }
    .ds-modal-actions .ds-modal-dl svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }