/* ==========================================================================
   Idearikastamo
   Yhteinen käyttöliittymä vaiheille 1–4
   ========================================================================== */


/* ==========================================================================
   1. Perusasetukset
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at top left,
            #1f2937 0,
            #0f172a 38%,
            #020617 100%
        );

    color: #f8fafc;

    min-height: 100vh;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ==========================================================================
   2. Sivun perusrakenne
   ========================================================================== */

.page {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 40px 18px 80px;
}

.shell {
    width: 100%;
}


/* ==========================================================================
   3. Sivun yläosa
   ========================================================================== */

.eyebrow {
    margin: 0 0 10px;

    color: #94a3b8;

    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 18px;

    max-width: 1000px;

    font-size: clamp(2.5rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.lead {
    margin: 0 0 32px;

    max-width: 850px;

    color: #cbd5e1;

    font-size: 1.05rem;
    line-height: 1.65;
}


/* ==========================================================================
   4. Idean tunniste
   ========================================================================== */

.idea-identifier-wrapper {
    position: relative;

    display: inline-block;

    margin: 0 0 22px;
}

.idea-identifier {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    padding: 6px 10px;

    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;

    background: rgba(15, 23, 42, 0.55);

    color: #94a3b8;

    font-size: 0.82rem;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.idea-identifier:hover {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(148, 163, 184, 0.42);
}

.idea-identifier-label {
    letter-spacing: 0.08em;
}

.idea-identifier-code {
    color: #e2e8f0;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;

    letter-spacing: 0.04em;
}

.idea-identifier-details {
    margin-top: 8px;
    padding: 14px;

    max-width: 620px;

    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;

    background: rgba(15, 23, 42, 0.97);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.24);
}

.idea-identifier-details-row {
    margin-bottom: 12px;
}

.idea-identifier-details-label {
    display: block;

    margin-bottom: 5px;

    color: #94a3b8;

    font-size: 0.78rem;
}

.idea-identifier-details code {
    display: block;

    color: #e2e8f0;

    font-size: 0.85rem;

    overflow-wrap: anywhere;
}

.idea-identifier-details input {
    width: 100%;

    padding: 8px 10px;

    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 6px;

    background: #020617;
    color: #e2e8f0;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;

    font-size: 0.85rem;
}

.idea-identifier-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.idea-identifier-actions button {
    padding: 7px 10px;

    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 6px;

    background: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;

    font-size: 0.82rem;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.idea-identifier-actions button:hover {
    background: rgba(51, 65, 85, 0.96);
    border-color: rgba(148, 163, 184, 0.42);
}

.idea-copy-message {
    margin-top: 10px;

    color: #94a3b8;

    font-size: 0.8rem;
}


/* ==========================================================================
   5. Vaihepolku
   ========================================================================== */

.process-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin: 24px 0 32px;
}

.process-step {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 13px;

    border: 1px solid #26354d;
    border-radius: 999px;

    background: rgba(15, 23, 42, 0.55);
    color: #8fa4c1;

    font-size: 0.95rem;
    line-height: 1;

    text-decoration: none;
}

.process-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #22314a;
    color: #a9bdd8;

    font-size: 0.8rem;
    font-weight: 700;
}

.process-step.active {
    border-color: #3b82f6;

    background: rgba(37, 99, 235, 0.16);
    color: #ffffff;
}

.process-step.active .step-number {
    background: #2563eb;
    color: #ffffff;
}

.process-step.completed {
    color: #b7c6da;
    border-color: #33445f;
}

.process-step.clickable {
    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.process-step.clickable:hover {
    border-color: #3b82f6;

    background: rgba(59, 130, 246, 0.10);
    color: #ffffff;
}

.step-arrow {
    color: #52637c;

    font-size: 1rem;
}


/* ==========================================================================
   6. Yleiset kortit
   ========================================================================== */

.section,
.card {
    background: rgba(15, 23, 42, 0.78);

    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;

    padding: 24px;

    margin-bottom: 22px;

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.16);
}

.section h2,
.card h2 {
    margin: 0 0 18px;

    color: #e2e8f0;

    font-size: 1.35rem;
    font-weight: 650;
}

.section-intro {
    margin: 0;

    color: #cbd5e1;

    line-height: 1.65;
}

.summary-text {
    color: #e5e7eb;

    font-size: 1.05rem;
    line-height: 1.75;

    white-space: pre-line;
}

.idea-box {
    margin-top: 18px;
    padding: 20px;

    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;

    background: rgba(30, 41, 59, 0.58);

    color: #cbd5e1;

    line-height: 1.7;

    white-space: pre-line;
}


/* ==========================================================================
   7. Kaksipalstaiset näkymät
   ========================================================================== */

.two-columns {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 22px;
}


/* ==========================================================================
   8. Analyysilistat
   ========================================================================== */

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.analysis-item {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 14px;

    padding: 17px 18px;

    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 14px;

    background: rgba(30, 41, 59, 0.5);
}

.analysis-item h3 {
    margin: 0 0 6px;

    font-size: 1rem;
    font-weight: 600;
}

.analysis-item p {
    margin: 0;

    color: #cbd5e1;

    line-height: 1.6;
}


/* ==========================================================================
   9. Väripallot
   ========================================================================== */

.dot {
    width: 10px;
    height: 10px;

    margin-top: 6px;

    border-radius: 999px;

    background: #94a3b8;
}

.dot-positive,
.risk-low {
    background: #22c55e;
}

.dot-warning,
.risk-medium {
    background: #f59e0b;
}

.dot-critical,
.risk-high {
    background: #ef4444;
}

.dot-neutral {
    background: #60a5fa;
}


/* ==========================================================================
   10. Päätösvalmius
   ========================================================================== */

.decision-readiness {
    border-width: 1px;
}

.decision-readiness.yes {
    border-color: rgba(34, 197, 94, 0.5);
}

.decision-readiness.partial {
    border-color: rgba(245, 158, 11, 0.5);
}

.decision-readiness.no {
    border-color: rgba(239, 68, 68, 0.5);
}

.decision-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 14px;
}

.decision-header h2 {
    margin: 0;
}

.decision-status {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 0.85rem;
    font-weight: 700;
}

.decision-status.yes {
    background: rgba(34, 197, 94, 0.13);
    color: #86efac;
}

.decision-status.partial {
    background: rgba(245, 158, 11, 0.13);
    color: #fcd34d;
}

.decision-status.no {
    background: rgba(239, 68, 68, 0.13);
    color: #fca5a5;
}

.decision-dot {
    width: 9px;
    height: 9px;

    border-radius: 999px;
}

.decision-status.yes .decision-dot {
    background: #22c55e;
}

.decision-status.partial .decision-dot {
    background: #f59e0b;
}

.decision-status.no .decision-dot {
    background: #ef4444;
}

.blocking-issues {
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.blocking-issues h3 {
    margin: 0 0 12px;

    font-size: 1rem;
}

.blocking-issues ul {
    margin: 0;
    padding-left: 22px;

    color: #cbd5e1;
}

.blocking-issues li + li {
    margin-top: 7px;
}


/* ==========================================================================
   11. Kokonaisarvio
   ========================================================================== */

.conclusion {
    border-color: rgba(96, 165, 250, 0.35);
}

.next-step {
    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.next-step strong {
    display: block;

    margin-bottom: 6px;

    color: #93c5fd;
}


/* ==========================================================================
   12. Lomake-elementit
   ========================================================================== */

textarea {
    width: 100%;
    min-height: 200px;

    padding: 20px 22px;

    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;

    background: rgba(2, 6, 23, 0.84);
    color: #e2e8f0;

    font-size: 1rem;
    line-height: 1.6;

    resize: vertical;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

textarea::placeholder {
    color: #64748b;
}

textarea:focus,
input:focus {
    outline: none;

    border-color: rgba(59, 130, 246, 0.65);

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.12);
}


/* ==========================================================================
   13. Tilastokortit
   ========================================================================== */

.stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 24px;
}

.stat {
    padding: 18px;

    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;

    background: rgba(30, 41, 59, 0.58);
}

.stat-label {
    color: #94a3b8;

    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-value {
    margin-top: 8px;

    color: #f8fafc;

    font-size: 1.8rem;
    font-weight: 700;
}


/* ==========================================================================
   14. Painikkeet
   ========================================================================== */

.actions,
.step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
}

.actions {
    justify-content: space-between;
}

.step-actions {
    justify-content: space-between;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 11px 18px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    border: 1px solid #2563eb;

    background: #2563eb;
    color: #ffffff;
}

.button-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.button-secondary {
    border: 1px solid rgba(148, 163, 184, 0.25);

    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
}

.button-secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.45);
}

.button-light {
    border: 1px solid #e2e8f0;

    background: #e2e8f0;
    color: #020617;
}

.button-light:hover {
    background: #f8fafc;
    border-color: #f8fafc;
}


/* ==========================================================================
   15. Spinner
   ========================================================================== */

.spinner {
    display: none;

    width: 16px;
    height: 16px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;

    animation: idearikastamo-spin 0.7s linear infinite;
}

@keyframes idearikastamo-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   16. Etusivu
   ========================================================================== */

.brand {
    margin-bottom: 36px;
}

.brand-label {
    color: #e2e8f0;

    font-size: 0.95rem;
    font-weight: 600;
}

.card h1 {
    margin: 0 0 18px;

    color: #f8fafc;

    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.intro-text {
    margin: 0 0 20px;

    color: #cbd5e1;

    font-size: 1rem;
    line-height: 1.65;
}

.idea-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;

    padding: 11px 18px;

    border: 1px solid #2563eb;
    border-radius: 10px;

    background: #2563eb;
    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        opacity 0.15s ease;
}

.idea-submit-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.idea-submit-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.idea-submit-button.is-loading .spinner {
    display: inline-block;
}

.process {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-top: 28px;
}

.process-item {
    display: flex;
    gap: 14px;

    padding: 18px 16px;

    border: 1px solid #263247;
    border-radius: 14px;

    background: rgba(15, 23, 42, 0.45);
}

.number {
    flex: 0 0 auto;

    color: #60a5fa;

    font-size: 0.9rem;
    font-weight: 700;
}

.process-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.process-content strong {
    color: #f8fafc;

    font-size: 0.95rem;
}

.process-content span {
    color: #94a3b8;

    font-size: 0.9rem;
    line-height: 1.45;
}

.error-message {
    margin-top: 10px;

    color: #fca5a5;

    font-size: 0.9rem;
}


/* ==========================================================================
   17. Vaihe 2 – Lähtötietojen tarkastus
   ========================================================================== */

.idea-original {
    margin-bottom: 26px;
    padding: 22px 24px;

    border: 1px solid rgba(148, 163, 184, 0.22);
    border-left: 4px solid #38bdf8;
    border-radius: 16px;

    background: rgba(15, 23, 42, 0.72);
}

.idea-original-label {
    margin-bottom: 14px;

    color: #9fb4d1;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.idea-original-text {
    color: #e2e8f0;

    font-size: 1rem;
    line-height: 1.7;
}

.refine-card {
    margin-bottom: 26px;
    padding: 24px 26px;

    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;

    background: rgba(15, 23, 42, 0.78);
}

.refine-label {
    margin-bottom: 12px;

    color: #9fb4d1;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.refine-card textarea {
    min-height: 170px;

    margin: 0;
}

.refine-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 16px;
}

.refine-hint {
    color: #7186a5;

    font-size: 0.88rem;
    line-height: 1.5;
}

.form-error {
    margin-top: 10px;

    color: #fca5a5;

    font-size: 0.9rem;
}

.refine-save-button.is-loading .spinner {
    display: inline-block;
}

.refine-save-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 26px;
    margin-bottom: 30px;
}

.grid .card {
    margin: 0;
    padding: 24px;

    min-width: 0;
}

.grid .card ul {
    margin: 18px 0 0;
    padding-left: 22px;

    color: #e2e8f0;

    line-height: 1.65;
}

.grid .card li + li {
    margin-top: 7px;
}

.status {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status.fact {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
}

.status.assumption {
    background: rgba(245, 158, 11, 0.14);
    color: #fcd34d;
}

.status.missing {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

#missingInfo {
    margin-top: 16px;
}

.missing-item {
    padding-left: 14px;

    border-left: 3px solid rgba(148, 163, 184, 0.35);

    color: #cbd5e1;

    line-height: 1.6;
}

.missing-item + .missing-item {
    margin-top: 13px;
}

.missing-critical {
    border-left-color: #ef4444;
    color: #fecaca;
}

.missing-important {
    border-left-color: #f59e0b;
    color: #fde68a;
}

.missing-additional {
    border-left-color: #64748b;
    color: #94a3b8;
}

.missing-more {
    margin-top: 18px;
    padding: 0;

    border: 0;

    background: transparent;
    color: #93c5fd;

    font-size: 0.88rem;

    cursor: pointer;
}

.missing-more:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.continue-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    margin-top: 28px;
    padding: 22px 24px;

    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;

    background: rgba(15, 23, 42, 0.65);
}

.continue-text {
    max-width: 720px;

    color: #94a3b8;

    font-size: 0.92rem;
    line-height: 1.6;
}

.continue-section form {
    flex: 0 0 auto;
}

.continue-button {
    white-space: nowrap;
}

.continue-button.is-loading .spinner {
    display: inline-block;
}

.continue-button:disabled {
    cursor: wait;
    opacity: 0.75;
}


/* ==========================================================================
   18. Metatiedot
   ========================================================================== */

.meta {
    margin-top: 24px;

    color: #64748b;

    font-size: 0.84rem;
    line-height: 1.6;
}


/* ==========================================================================
   19. Responsiivisuus
   ========================================================================== */

@media (max-width: 900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .continue-section {
        align-items: stretch;
        flex-direction: column;
    }

    .continue-section form {
        width: 100%;
    }

    .continue-button {
        width: 100%;
    }
}

@media (max-width: 850px) {

    .process {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {

    .page {
        padding-top: 28px;
    }

    h1 {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }

    .lead {
        font-size: 1rem;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .decision-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .section,
    .card {
        padding: 22px;
    }

    .step-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 700px) {

    .process-steps {
        gap: 7px;

        margin-top: 20px;
        margin-bottom: 26px;
    }

    .process-step {
        padding: 8px 10px;

        font-size: 0.88rem;
    }

    .process-step .step-number {
        width: 22px;
        height: 22px;

        font-size: 0.75rem;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 600px) {

    .card {
        padding: 22px 18px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .idea-submit-button {
        width: 100%;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .idea-original,
    .refine-card,
    .grid .card,
    .continue-section {
        padding: 20px;
    }

    .refine-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .refine-actions .button {
        width: 100%;
    }
}


/* ==========================================================================
   20. Kielivalinta
   ========================================================================== */

.language-select {
    position: relative;

    display: flex;
    align-items: center;
    gap: 10px;

    margin: 26px 0 14px;
}

.language-select label {
    margin: 0;

    color: #e2e8f0;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;
}

.language-select select {
    appearance: none;
    -webkit-appearance: none;

    min-width: 145px;
    height: 40px;

    padding: 0 38px 0 14px;

    border: 1px solid #334155;
    border-radius: 8px;

    background-color: #111827;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #94a3b8 50%
        ),
        linear-gradient(
            135deg,
            #94a3b8 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 17px) 17px,
        calc(100% - 12px) 17px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    color: #f8fafc;

    font-size: 0.95rem;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.language-select select:hover {
    border-color: #475569;
    background-color: #172033;
}

.language-select select:focus {
    outline: none;

    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.15);
}

.language-info {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 1px solid #475569;
    border-radius: 50%;

    background: transparent;
    color: #94a3b8;

    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}

.language-info:hover {
    color: #f8fafc;
    border-color: #64748b;

    background: rgba(255, 255, 255, 0.04);
}

.language-info:focus {
    outline: none;

    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.15);
}

.language-info-text {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;

    width: min(420px, calc(100vw - 40px));

    padding: 12px 14px;

    border: 1px solid #334155;
    border-radius: 10px;

    background: #0f172a;
    color: #cbd5e1;

    font-size: 0.9rem;
    line-height: 1.45;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35);
}


/* ==========================================================================
   21. Pienet näytöt
   ========================================================================== */

@media (max-width: 520px) {

    .stats {
        grid-template-columns: 1fr;
    }

    .idea-identifier-details {
        max-width: calc(100vw - 36px);
    }

    .language-select {
        flex-wrap: wrap;
        gap: 8px;
    }

    .language-select label {
        white-space: normal;
    }

    .language-info-text {
        width: calc(100vw - 40px);
    }
}