.incident-container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-size: 0.95rem;
    color: #1A1A1A;
}

/* Input panel */

.incident-panel {
    background: #FDF6EC;
    border: 1px solid rgba(42,10,10,0.2);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.incident-header {
    background: rgba(42,10,10,0.06);
    border-bottom: 1px solid rgba(42,10,10,0.2);
    padding: 0.75rem 1rem;
}

.incident-header h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #2A0A0A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.incident-subtext {
    font-size: 0.72rem;
    color: rgba(26,26,26,0.55);
    font-style: italic;
    margin: 0;
}

.incident-body {
    padding: 1.25rem 1rem;
}

.field-group {
    margin-bottom: 1rem;
}

.field-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #2A0A0A;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.field-group input[type=text],
.field-group input[type=email],
.field-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(42,10,10,0.3);
    background: #FDF6EC;
    font-size: 0.9rem;
    color: #1A1A1A;
    border-radius: var(--radius);
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
}

.field-group input[type=text]:focus,
.field-group input[type=email]:focus,
.field-group textarea:focus {
    outline: 2px solid #2A0A0A;
    outline-offset: 1px;
    border-color: #2A0A0A;
}

.form-hint {
    font-size: 0.72rem;
    color: rgba(26,26,26,0.55);
    margin: 0.4rem 0 0;
}

/* Buttons */

.proc-btn {
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(42,10,10,0.4);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

.proc-btn-primary {
    background: #2A0A0A;
    color: #FDF6EC;
    border-color: #2A0A0A;
}

.proc-btn-primary:hover {
    background: rgba(42,10,10,0.8);
}

.proc-btn-secondary {
    background: #FDF6EC;
    color: #2A0A0A;
    border-color: rgba(42,10,10,0.3);
}

.proc-btn-secondary:hover {
    background: rgba(42,10,10,0.08);
}

/* Translation output panel */

.translation-output-panel {
    background: #FDF6EC;
    border: 1px solid rgba(42,10,10,0.2);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.translation-output-header {
    background: rgba(42,10,10,0.06);
    border-bottom: 1px solid rgba(42,10,10,0.2);
    padding: 0.75rem 1rem;
}

.translation-output-header h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #2A0A0A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.translation-output-header p {
    font-size: 0.72rem;
    color: rgba(26,26,26,0.55);
    font-style: italic;
    margin: 0;
}

/* Translation table */

.translation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.translation-table thead tr {
    background: rgba(42,10,10,0.04);
    border-bottom: 2px solid rgba(42,10,10,0.2);
}

.translation-table th {
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2A0A0A;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

.translation-table td {
    padding: 0.85rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(42,10,10,0.1);
    line-height: 1.55;
}

.translation-table tbody tr:last-child td {
    border-bottom: none;
}

.translation-table tbody tr:hover {
    background: rgba(42,10,10,0.03);
}

.col-submitted {
    width: 22%;
    font-style: italic;
    color: rgba(26,26,26,0.65);
    font-size: 0.82rem;
    word-break: break-word;
}

.col-official {
    width: 45%;
    color: #1A1A1A;
}

.col-subtext {
    width: 33%;
    color: rgba(26,26,26,0.55);
    font-size: 0.82rem;
    font-style: italic;
}

.no-matches {
    padding: 1.5rem 1rem !important;
    color: rgba(26,26,26,0.45);
    font-style: italic;
    font-size: 0.88rem;
    text-align: center;
}

/* Operational record */

.pir-operational-record {
    background: rgba(42,10,10,0.03);
    border: 1px solid rgba(42,10,10,0.2);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.pir-or-header {
    background: rgba(42,10,10,0.06);
    border-bottom: 1px solid rgba(42,10,10,0.2);
    padding: 0.6rem 1rem;
}

.pir-or-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2A0A0A;
    margin: 0;
}

.pir-or-body {
    padding: 0.75rem 1rem;
}

.pir-or-description {
    font-size: 0.9rem;
    color: #1A1A1A;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    white-space: pre-wrap;
    word-break: break-word;
}

.pir-or-note {
    font-size: 0.72rem;
    color: rgba(26,26,26,0.45);
    font-style: italic;
    margin: 0.6rem 0 0;
    border-top: 1px solid rgba(42,10,10,0.12);
    padding-top: 0.6rem;
}

/* Responsive */

@media (max-width: 680px) {
    .translation-table thead {
        display: none;
    }

    .translation-table tbody tr {
        display: block;
        border-bottom: 2px solid rgba(42,10,10,0.15);
        padding: 0.5rem 0;
    }

    .translation-table tbody tr td {
        display: block;
        width: auto !important;
        border-bottom: none;
        padding: 0.35rem 1rem;
    }

    .col-submitted::before {
        content: 'As submitted: ';
        display: block;
        font-weight: 700;
        font-style: normal;
        color: #2A0A0A;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.2rem;
    }

    .col-official::before {
        content: 'Official language: ';
        display: block;
        font-weight: 700;
        color: #2A0A0A;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.2rem;
    }

    .col-subtext::before {
        content: 'Underlying qualifier: ';
        display: block;
        font-weight: 700;
        font-style: normal;
        color: #2A0A0A;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.2rem;
    }
}