/* Assessment evaluation review operational workspace.
 * No-build, app-scoped styles. Keep this file independent from utility CSS.
 */
.evaluation-review-cockpit {
    --erc-ink: #142033;
    --erc-text: #344256;
    --erc-muted: #66758a;
    --erc-line: #d8e1eb;
    --erc-line-strong: #bdcad8;
    --erc-surface: #ffffff;
    --erc-surface-soft: #f5f8fb;
    --erc-surface-blue: #edf6fb;
    --erc-navy: #173f5f;
    --erc-blue: #1c7fa8;
    --erc-green: #22834f;
    --erc-green-soft: #eaf8f0;
    --erc-amber: #a9650c;
    --erc-amber-soft: #fff6e7;
    --erc-red: #b43a3a;
    --erc-red-soft: #fff0f0;
    --erc-purple: #77519a;
    --erc-shadow: 0 8px 22px rgba(31, 50, 73, .08);
    color: var(--erc-text);
    display: grid;
    gap: 10px;
    min-width: 0;
}

.evaluation-review-cockpit *,
.evaluation-review-cockpit *::before,
.evaluation-review-cockpit *::after {
    box-sizing: border-box;
}

.erc-commandbar,
.erc-queue,
.erc-dossier,
.erc-decision {
    background: var(--erc-surface);
    border: 1px solid var(--erc-line);
    border-radius: 12px;
    min-width: 0;
}

.erc-commandbar {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(420px, 1.85fr);
    gap: 10px 18px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(31, 50, 73, .04);
}

.erc-commandbar__title {
    min-width: 0;
}

.erc-eyebrow {
    color: var(--erc-blue);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.erc-commandbar h2,
.erc-dossier-header h3,
.erc-panel-heading h3,
.erc-section-heading h4,
.erc-evidence-card h5,
.erc-score-card h5,
.erc-dialog h3 {
    color: var(--erc-ink);
    overflow-wrap: anywhere;
}

.erc-commandbar h2 {
    font-size: 19px;
    line-height: 1.2;
    margin: 2px 0 3px;
}

.erc-commandbar__title p,
.erc-panel-heading p,
.erc-section-heading p,
.erc-dossier-header p {
    color: var(--erc-muted);
    font-size: 11.5px;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
}

.erc-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.erc-summary-card {
    appearance: none;
    background: var(--erc-surface-soft);
    border: 1px solid var(--erc-line);
    border-radius: 9px;
    color: var(--erc-muted);
    cursor: pointer;
    min-height: 52px;
    padding: 7px 9px;
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.erc-summary-card:hover,
.erc-summary-card:focus-visible {
    border-color: var(--erc-blue);
    outline: none;
    transform: translateY(-1px);
}

.erc-summary-card.is-active {
    background: var(--erc-surface-blue);
    border-color: #9fc9dc;
    box-shadow: inset 3px 0 var(--erc-blue);
}

.erc-summary-card span {
    display: block;
    font-size: 9.5px;
    font-weight: 750;
    line-height: 1.25;
}

.erc-summary-card strong {
    color: var(--erc-ink);
    display: block;
    font-size: 20px;
    line-height: 1.15;
    margin-top: 3px;
}

.erc-filters {
    align-items: end;
    border-top: 1px solid var(--erc-line);
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 1.8fr) minmax(145px, .8fr) minmax(160px, .9fr) 92px auto;
    padding-top: 10px;
}

.erc-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.erc-field > span,
.erc-field > label {
    color: var(--erc-muted);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.erc-field input[type="search"],
.erc-field input[type="text"],
.erc-field select,
.erc-field textarea {
    background: #fff;
    border: 1px solid var(--erc-line-strong);
    border-radius: 8px;
    color: var(--erc-ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.45;
    min-height: 36px;
    outline: none;
    padding: 7px 9px;
    width: 100%;
}

.erc-field select {
    padding-right: 30px;
}

.erc-field textarea {
    min-height: 116px;
    resize: vertical;
}

.erc-field input:focus,
.erc-field select:focus,
.erc-field textarea:focus {
    border-color: var(--erc-blue);
    box-shadow: 0 0 0 3px rgba(28, 127, 168, .12);
}

.erc-field small {
    color: var(--erc-muted);
    font-size: 10.5px;
    line-height: 1.45;
}

.erc-field-error {
    color: var(--erc-red);
    display: block;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.erc-button {
    align-items: center;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 11.5px;
    font-weight: 750;
    gap: 6px;
    justify-content: center;
    line-height: 1.2;
    min-height: 35px;
    padding: 7px 11px;
    text-align: center;
    text-decoration: none;
}

.erc-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(28, 127, 168, .17);
    outline: none;
}

.erc-button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.erc-button--primary {
    background: var(--erc-navy);
    border-color: var(--erc-navy);
    color: #fff;
}

.erc-button--primary:hover:not(:disabled) {
    background: #0e304d;
}

.erc-button--soft {
    background: var(--erc-surface-soft);
    border-color: var(--erc-line);
    color: var(--erc-ink);
}

.erc-button--soft:hover:not(:disabled) {
    background: #eaf0f6;
}

.erc-button--warning {
    background: var(--erc-amber);
    border-color: var(--erc-amber);
    color: #fff;
}

.erc-button--warning:hover:not(:disabled) {
    background: #8b5207;
}

.erc-alert {
    align-items: center;
    border-radius: 9px;
    display: flex;
    font-size: 11.5px;
    gap: 8px;
    padding: 9px 12px;
}

.erc-alert--success {
    background: var(--erc-green-soft);
    border: 1px solid #bce4cc;
    color: #17663d;
}

.erc-workspace {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(245px, .76fr) minmax(0, 2.15fr) minmax(290px, .92fr);
    min-width: 0;
}

.erc-workspace.is-loading {
    opacity: .72;
    pointer-events: none;
}

.erc-queue,
.erc-decision {
    max-height: calc(100vh - 176px);
    overflow: auto;
    position: sticky;
    top: 162px;
}

.erc-dossier {
    min-height: 620px;
    overflow: clip;
}

.erc-panel-heading {
    align-items: flex-start;
    border-bottom: 1px solid var(--erc-line);
    display: flex;
    gap: 9px;
    justify-content: space-between;
    padding: 10px 11px;
}

.erc-panel-heading--decision {
    align-items: center;
    background: linear-gradient(135deg, #fff, var(--erc-surface-soft));
}

.erc-count-pill,
.erc-token,
.erc-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 4px 7px;
}

.erc-count-pill,
.erc-token {
    background: var(--erc-surface-soft);
    border: 1px solid var(--erc-line);
    color: var(--erc-muted);
}

.erc-status.is-success {
    background: var(--erc-green-soft);
    color: var(--erc-green);
}

.erc-status.is-warning {
    background: var(--erc-amber-soft);
    color: var(--erc-amber);
}

.erc-status.is-danger {
    background: var(--erc-red-soft);
    color: var(--erc-red);
}

.erc-status.is-neutral {
    background: #edf1f5;
    color: var(--erc-muted);
}

.erc-queue__list {
    display: grid;
}

.erc-queue-card {
    align-items: flex-start;
    appearance: none;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--erc-line);
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 9px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 10px 11px;
    text-align: left;
    width: 100%;
}

.erc-queue-card:hover,
.erc-queue-card:focus-visible {
    background: #f8fbfd;
    outline: none;
}

.erc-queue-card.is-selected {
    background: var(--erc-surface-blue);
    box-shadow: inset 3px 0 var(--erc-blue);
}

.erc-avatar {
    align-items: center;
    background: linear-gradient(145deg, #dfeef6, #c9dce8);
    border: 1px solid #b7ccd9;
    border-radius: 10px;
    color: var(--erc-navy);
    display: inline-flex;
    flex: none;
    font-size: 10.5px;
    font-weight: 850;
    height: 34px;
    justify-content: center;
    letter-spacing: .04em;
    width: 34px;
}

.erc-avatar--large {
    border-radius: 12px;
    font-size: 14px;
    height: 46px;
    width: 46px;
}

.erc-queue-card__body {
    display: block;
    min-width: 0;
}

.erc-queue-card__topline,
.erc-queue-card__meta,
.erc-queue-card__footer {
    align-items: flex-start;
    display: flex;
    gap: 6px;
    justify-content: space-between;
    min-width: 0;
}

.erc-queue-card__topline strong {
    color: var(--erc-ink);
    font-size: 12px;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
}

.erc-queue-card__topline .erc-status {
    flex: none;
}

.erc-queue-card__context,
.erc-queue-card__institution {
    color: var(--erc-muted);
    display: block;
    font-size: 10.5px;
    line-height: 1.4;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.erc-queue-card__institution {
    color: var(--erc-blue);
    font-weight: 700;
}

.erc-queue-card__meta {
    color: var(--erc-muted);
    font-size: 9.5px;
    line-height: 1.35;
    margin-top: 7px;
}

.erc-progress {
    background: #e4eaf0;
    border-radius: 999px;
    display: block;
    height: 5px;
    margin-top: 7px;
    overflow: hidden;
    width: 100%;
}

.erc-progress > i {
    background: linear-gradient(90deg, var(--erc-blue), #46a47b);
    display: block;
    height: 100%;
}

.erc-progress--large {
    height: 7px;
    margin-top: 0;
}

.erc-queue-card__footer {
    color: var(--erc-muted);
    font-size: 9px;
    line-height: 1.35;
    margin-top: 4px;
}

.erc-pagination {
    border-top: 1px solid var(--erc-line);
    padding: 8px 10px;
}

.erc-dossier-header {
    align-items: flex-start;
    background: linear-gradient(135deg, #fff, #f6fafc);
    border-bottom: 1px solid var(--erc-line);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 11px 13px;
}

.erc-dossier-header__identity {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.erc-dossier-header h3 {
    font-size: 17px;
    line-height: 1.25;
    margin: 2px 0 3px;
}

.erc-dossier-header__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.erc-context-strip {
    background: var(--erc-surface-soft);
    border-bottom: 1px solid var(--erc-line);
    display: grid;
    grid-template-columns: 1.35fr 1.1fr .65fr .55fr .7fr;
}

.erc-context-strip > div {
    border-right: 1px solid var(--erc-line);
    min-width: 0;
    padding: 8px 10px;
}

.erc-context-strip > div:last-child {
    border-right: 0;
}

.erc-context-strip span,
.erc-context-strip strong {
    display: block;
    overflow-wrap: anywhere;
}

.erc-context-strip span {
    color: var(--erc-muted);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.erc-context-strip strong {
    color: var(--erc-ink);
    font-size: 11px;
    line-height: 1.35;
    margin-top: 2px;
}

.erc-tabs {
    background: #fff;
    border-bottom: 1px solid var(--erc-line);
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0 9px;
}

.erc-tab {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--erc-muted);
    cursor: pointer;
    min-width: 112px;
    padding: 9px 10px 7px;
    text-align: left;
}

.erc-tab:hover,
.erc-tab:focus-visible {
    color: var(--erc-navy);
    outline: none;
}

.erc-tab.is-active {
    border-bottom-color: var(--erc-blue);
    color: var(--erc-navy);
}

.erc-tab strong,
.erc-tab small {
    display: block;
}

.erc-tab strong {
    font-size: 11.5px;
    line-height: 1.3;
}

.erc-tab small {
    color: var(--erc-muted);
    font-size: 9px;
    line-height: 1.3;
    margin-top: 1px;
}

.erc-tab-panel {
    background: #fbfcfd;
    min-height: 470px;
    padding: 10px;
}

.erc-section {
    background: #fff;
    border: 1px solid var(--erc-line);
    border-radius: 10px;
    min-width: 0;
    padding: 11px;
}

.erc-section + .erc-section {
    margin-top: 9px;
}

.erc-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 9px;
}

.erc-section-heading h4 {
    font-size: 13px;
    line-height: 1.3;
    margin: 1px 0 2px;
}

.erc-general-notes {
    background: var(--erc-surface-soft);
    border: 1px solid var(--erc-line);
    border-left: 3px solid var(--erc-blue);
    border-radius: 0 8px 8px 0;
    color: var(--erc-text);
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    padding: 10px 11px;
    white-space: pre-wrap;
}

.erc-general-notes.is-missing {
    background: var(--erc-amber-soft);
    border-color: #efd4a8;
    border-left-color: var(--erc-amber);
    color: #774c11;
}

.erc-evidence-list,
.erc-score-grid {
    display: grid;
    gap: 8px;
}

.erc-evidence-card,
.erc-score-card {
    background: #fff;
    border: 1px solid var(--erc-line);
    border-radius: 9px;
    min-width: 0;
    padding: 10px;
}

.erc-evidence-card > header,
.erc-score-card > header {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.erc-evidence-card h5,
.erc-score-card h5 {
    font-size: 12px;
    line-height: 1.4;
    margin: 2px 0 0;
}

.erc-evidence-meta {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0;
}

.erc-evidence-meta > div {
    background: var(--erc-surface-soft);
    border-radius: 7px;
    min-width: 0;
    padding: 6px 7px;
}

.erc-evidence-meta dt,
.erc-score-card dt {
    color: var(--erc-muted);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.erc-evidence-meta dd,
.erc-score-card dd {
    color: var(--erc-ink);
    font-size: 10.5px;
    line-height: 1.45;
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.erc-evidence-copy {
    border-top: 1px solid var(--erc-line);
    margin-top: 7px;
    padding-top: 7px;
}

.erc-evidence-copy strong {
    color: var(--erc-ink);
    font-size: 10px;
}

.erc-evidence-copy p,
.erc-evidence-card blockquote {
    color: var(--erc-text);
    font-size: 11px;
    line-height: 1.55;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.erc-evidence-card blockquote {
    background: #f8f4fb;
    border-left: 3px solid var(--erc-purple);
    border-radius: 0 7px 7px 0;
    color: #5c4271;
    margin-top: 8px;
    padding: 7px 9px;
}

.erc-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.erc-score-card.is-missing {
    background: #fffaf2;
    border-color: #e8c892;
}

.erc-score-card__number {
    color: var(--erc-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.erc-score-card__score {
    background: var(--erc-surface-blue);
    border: 1px solid #c6dfe9;
    border-radius: 999px;
    color: var(--erc-navy);
    font-size: 12px;
    font-weight: 850;
    padding: 4px 8px;
}

.erc-score-card__aspect {
    color: var(--erc-muted);
    font-size: 10.5px;
    line-height: 1.4;
    margin: 3px 0 7px;
    overflow-wrap: anywhere;
}

.erc-score-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.erc-score-card dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.erc-score-card dl > div {
    border-top: 1px solid var(--erc-line);
    padding-top: 7px;
}

.erc-ai-section > .assessment-ai-assistance-panel,
.erc-ai-section > [data-assessment-ai-assistance] {
    margin-bottom: 10px;
}

.erc-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 5px;
}

.erc-timeline li {
    display: grid;
    gap: 9px;
    grid-template-columns: 14px minmax(0, 1fr);
    min-height: 48px;
    position: relative;
}

.erc-timeline li:not(:last-child)::before {
    background: var(--erc-line);
    content: "";
    height: 100%;
    left: 6px;
    position: absolute;
    top: 13px;
    width: 2px;
}

.erc-timeline__dot {
    background: var(--erc-blue);
    border: 3px solid #e5f2f7;
    border-radius: 50%;
    height: 14px;
    position: relative;
    width: 14px;
    z-index: 1;
}

.erc-timeline strong,
.erc-timeline span,
.erc-timeline time {
    display: block;
}

.erc-timeline strong {
    color: var(--erc-ink);
    font-size: 11.5px;
}

.erc-timeline span,
.erc-timeline time {
    color: var(--erc-muted);
    font-size: 10px;
    line-height: 1.45;
}

.erc-timeline__empty {
    color: var(--erc-muted);
    display: block !important;
    font-size: 11px;
    min-height: 0 !important;
}

.erc-readiness-score {
    align-items: center;
    background: var(--erc-amber-soft);
    border: 1px solid #e7c98f;
    border-radius: 50%;
    color: var(--erc-amber);
    display: inline-flex;
    flex: none;
    font-size: 12px;
    font-weight: 850;
    height: 43px;
    justify-content: center;
    width: 43px;
}

.erc-readiness-score.is-ready {
    background: var(--erc-green-soft);
    border-color: #a9d8bd;
    color: var(--erc-green);
}

.erc-decision__body {
    padding: 10px;
}

.erc-decision__completion {
    color: var(--erc-muted);
    font-size: 10px;
    margin: 5px 0 10px;
}

.erc-checklist,
.erc-warnings {
    border-top: 1px solid var(--erc-line);
    margin-top: 10px;
    padding-top: 10px;
}

.erc-checklist h4,
.erc-warnings h4 {
    color: var(--erc-ink);
    font-size: 10px;
    letter-spacing: .05em;
    margin: 0 0 7px;
    text-transform: uppercase;
}

.erc-check {
    align-items: center;
    border: 1px solid var(--erc-line);
    border-radius: 8px;
    display: grid;
    gap: 7px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    margin-top: 5px;
    padding: 7px;
}

.erc-check.is-passed {
    background: #f6fcf8;
    border-color: #cee7d8;
}

.erc-check.is-failed {
    background: #fff9ef;
    border-color: #ead3a9;
}

.erc-check__icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 10px;
    font-weight: 850;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.erc-check.is-passed .erc-check__icon {
    background: var(--erc-green-soft);
    color: var(--erc-green);
}

.erc-check.is-failed .erc-check__icon {
    background: var(--erc-amber-soft);
    color: var(--erc-amber);
}

.erc-check__label strong,
.erc-check__label small {
    display: block;
    overflow-wrap: anywhere;
}

.erc-check__label strong {
    color: var(--erc-ink);
    font-size: 10.5px;
    line-height: 1.35;
}

.erc-check__label small,
.erc-check__count {
    color: var(--erc-muted);
    font-size: 8.5px;
    line-height: 1.35;
}

.erc-check__count {
    font-weight: 750;
    white-space: nowrap;
}

.erc-warnings {
    background: var(--erc-amber-soft);
    border: 1px solid #efd3a0;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px;
}

.erc-warnings h4 {
    color: #78501b;
}

.erc-warnings p {
    color: #78501b;
    font-size: 10px;
    line-height: 1.45;
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.erc-acknowledgement {
    align-items: flex-start;
    background: var(--erc-surface-soft);
    border: 1px solid var(--erc-line);
    border-radius: 8px;
    color: var(--erc-text);
    display: flex;
    font-size: 10.5px;
    gap: 7px;
    line-height: 1.45;
    margin-top: 9px;
    padding: 8px;
}

.erc-acknowledgement input {
    accent-color: var(--erc-navy);
    flex: none;
    margin-top: 2px;
}

.erc-decision-actions {
    display: grid;
    gap: 6px;
    margin-top: 9px;
}

.erc-decision-actions .erc-button {
    width: 100%;
}

.erc-decision-actions > small,
.erc-decision__no-action {
    color: var(--erc-muted);
    font-size: 9.5px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.erc-empty-state {
    align-items: center;
    color: var(--erc-muted);
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 6px;
    justify-content: center;
    min-height: 180px;
    padding: 18px;
    text-align: center;
}

.erc-empty-state strong {
    color: var(--erc-ink);
    font-size: 12px;
}

.erc-empty-state--inline {
    background: var(--erc-surface-soft);
    border: 1px dashed var(--erc-line-strong);
    border-radius: 8px;
    min-height: 120px;
}

.erc-empty-state--dossier {
    min-height: 540px;
}

.erc-dialog {
    background: transparent;
    border: 0;
    max-width: 480px;
    padding: 0;
    width: calc(100% - 28px);
}

.erc-dialog::backdrop {
    background: rgba(10, 22, 36, .62);
    backdrop-filter: blur(2px);
}

.erc-dialog__content {
    background: #fff;
    border: 1px solid var(--erc-line);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(10, 22, 36, .32);
    padding: 17px;
}

.erc-dialog h3 {
    font-size: 17px;
    margin: 0 0 6px;
}

.erc-dialog p {
    color: var(--erc-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
}

.erc-dialog__actions {
    border-top: 1px solid var(--erc-line);
    display: flex;
    gap: 7px;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 12px;
}

@media (max-width: 1450px) {
    .erc-workspace {
        grid-template-columns: minmax(235px, .76fr) minmax(0, 2fr);
    }

    .erc-decision {
        grid-column: 1 / -1;
        max-height: none;
        position: static;
    }

    .erc-decision__body {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr) minmax(280px, .9fr);
    }

    .erc-decision__body > .erc-progress {
        grid-column: 1;
        grid-row: 1;
    }

    .erc-decision__body > .erc-decision__completion {
        grid-column: 1;
        grid-row: 2;
    }

    .erc-checklist {
        grid-column: 1;
        grid-row: 3 / span 5;
        margin-top: 0;
    }

    .erc-warnings {
        grid-column: 2;
        grid-row: 1;
    }

    .erc-decision__body > .erc-field {
        grid-column: 2;
        grid-row: 2 / span 3;
    }

    .erc-decision__body > .erc-acknowledgement,
    .erc-decision__body > .erc-field-error {
        grid-column: 2;
    }

    .erc-decision-actions {
        align-content: start;
        grid-column: 3;
        grid-row: 1 / span 7;
        margin-top: 0;
    }
}

@media (max-width: 1120px) {
    .erc-commandbar {
        grid-template-columns: 1fr;
    }

    .erc-summary {
        grid-column: 1;
    }

    .erc-filters {
        grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(140px, .8fr)) 90px auto;
    }

    .erc-context-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .erc-context-strip > div:nth-child(3) {
        border-right: 0;
    }

    .erc-context-strip > div:nth-child(n + 4) {
        border-top: 1px solid var(--erc-line);
    }

    .erc-decision__body {
        grid-template-columns: 1fr 1fr;
    }

    .erc-decision__body > .erc-progress,
    .erc-decision__body > .erc-decision__completion,
    .erc-checklist,
    .erc-warnings,
    .erc-decision__body > .erc-field,
    .erc-decision__body > .erc-acknowledgement,
    .erc-decision__body > .erc-field-error {
        grid-row: auto;
    }

    .erc-decision-actions {
        grid-column: 1 / -1;
        grid-row: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .erc-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erc-field--search {
        grid-column: 1 / -1;
    }

    .erc-workspace {
        grid-template-columns: 1fr;
    }

    .erc-queue,
    .erc-decision {
        max-height: none;
        position: static;
    }

    .erc-queue__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erc-queue-card {
        border-right: 1px solid var(--erc-line);
    }

    .erc-score-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .erc-commandbar,
    .erc-section,
    .erc-decision__body {
        padding: 9px;
    }

    .erc-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erc-filters,
    .erc-queue__list,
    .erc-decision__body,
    .erc-decision-actions {
        grid-template-columns: 1fr;
    }

    .erc-field--search {
        grid-column: auto;
    }

    .erc-dossier-header {
        align-items: stretch;
        flex-direction: column;
    }

    .erc-dossier-header__actions {
        justify-content: flex-start;
    }

    .erc-context-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erc-context-strip > div,
    .erc-context-strip > div:nth-child(3) {
        border-right: 1px solid var(--erc-line);
    }

    .erc-context-strip > div:nth-child(even) {
        border-right: 0;
    }

    .erc-context-strip > div:nth-child(n + 3) {
        border-top: 1px solid var(--erc-line);
    }

    .erc-evidence-meta {
        grid-template-columns: 1fr;
    }

    .erc-decision__body > *,
    .erc-checklist,
    .erc-warnings,
    .erc-decision-actions {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .erc-dialog__actions {
        flex-direction: column-reverse;
    }

    .erc-dialog__actions .erc-button {
        width: 100%;
    }
}
