#cyp-app-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 960px;
    margin: 20px auto;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cyp-hero-card {
    padding: 48px 32px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #1e293b;
}

.cyp-badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.cyp-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.cyp-badge-accent {
    background: #10b981;
    color: #064e3b;
}

.cyp-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a7f3d0;
    font-weight: 700;
}

.cyp-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin: 8px 0 12px 0;
    color: #ffffff;
    line-height: 1.2;
}

.cyp-hero-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cyp-chip-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cyp-chip {
    font-size: 13px;
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 6px;
    color: #e2e8f0;
}

.cyp-grid-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px;
}

@media (max-width: 768px) {
    .cyp-grid-body { grid-template-columns: 1fr; }
}

.cyp-panel {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #334155;
}

.cyp-panel h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #f1f5f9;
}

.cyp-field {
    margin-bottom: 16px;
}

.cyp-field label {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
}

.cyp-field input, .cyp-field select {
    width: 100%;
    padding: 10px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #f8fafc;
    font-size: 14px;
}

.cyp-primary-btn, .cyp-secondary-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cyp-primary-btn { background: #10b981; color: #064e3b; margin-top: 8px; }
.cyp-primary-btn:hover { background: #059669; color: #ffffff; }

.cyp-secondary-btn { background: #3b82f6; color: #ffffff; margin-top: 16px; }
.cyp-secondary-btn:hover { background: #2563eb; }

.cyp-stat-box {
    text-align: center;
    background: #0f172a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #334155;
    margin-bottom: 16px;
}

.cyp-stat-label { font-size: 12px; color: #94a3b8; text-transform: uppercase; }
.cyp-stat-value { font-size: 32px; font-weight: 800; color: #10b981; margin-top: 4px; }

.cyp-metric-group { margin-bottom: 16px; }
.cyp-metric { display: flex; justify-space-between; padding: 8px 0; border-bottom: 1px solid #334155; font-size: 14px; }

.cyp-guidance {
    background: #0f172a;
    border-left: 4px solid #10b981;
    padding: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #cbd5e1;
}

/* MANDATORY A4 PRINT MODAL ARCHITECTURE */
#experience-a4-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
}

.a4-modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.cyp-print-btn { background: #10b981; color: #ffffff; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.cyp-close-btn { background: #ef4444; color: #ffffff; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; }

.a4-page-sheet {
    width: 210mm;
    min-height: 297mm;
    background: #ffffff;
    color: #1e293b;
    padding: 20mm;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.a4-header h1 { font-size: 20px; margin: 0; color: #0f172a; }
.a4-header p { font-size: 12px; color: #64748b; margin: 4px 0 0 0; }
.a4-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.a4-table td { padding: 8px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.a4-footer { margin-top: 40px; font-size: 11px; color: #94a3b8; text-align: center; border-top: 1px solid #e2e8f0; padding-top: 12px; }

@media print {
    @page { size: A4 portrait; margin: 0; }
    body > * { display: none !important; }
    body > #experience-a4-modal {
        display: block !important;
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: auto !important;
        background: none !important; padding: 0 !important; margin: 0 !important;
        overflow: visible !important;
    }
    .a4-modal-actions { display: none !important; }
    .a4-page-sheet {
        width: 210mm !important;
        min-height: 297mm !important;
        padding: 15mm 20mm !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        border: none !important;
        display: block !important;
        visibility: visible !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
    }
    .a4-page-sheet * { visibility: visible !important; }
}