.licence-widget {
    margin: 1.5rem 0;
    padding: 1.2rem;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.licence-scenario-panel h3 {
    margin-top: 0;
}

.licence-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.8rem 0 1rem;
}

.licence-scenario-btn {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: white;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.licence-scenario-btn:hover,
.licence-scenario-btn.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.licence-output-card {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.licence-output-card h3 {
    margin: 0.15rem 0 0.4rem;
}

.licence-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.licence-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.licence-card {
    padding: 1rem;
    border-radius: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #334155;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.licence-card.highlight {
    transform: translateY(-3px);
    border-color: #5b5fa8;
    box-shadow: 0 14px 30px rgba(91, 95, 168, 0.18);
}

.licence-card strong {
    display: block;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.licence-meter-label {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.licence-meter {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.licence-meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5b5fa8, #e6004f);
}

.licence-card small {
    display: block;
    margin-top: 0.75rem;
    line-height: 1.45;
    color: #475569;
}
