:root {
    --navy: #0b1b31;
    --navy-soft: #152a47;
    --paper: #f7f8f9;
    --surface: #ffffff;
    --surface-soft: #f1f3f5;
    --ink: #172338;
    --slate: #5e6979;
    --muted: #8b94a0;
    --rule: #d8dde3;
    --rule-dark: #aab3bf;
    --teal: #078f89;
    --teal-soft: #e8f6f4;
    --red: #e3463b;
    --red-soft: #fff1ef;
    --blue: #285dcc;
    --working: #506d8f;
    --focus: #2c69d1;
    --shadow-dock: 0 -10px 34px rgba(11, 27, 49, .11);
    --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.has-workspace { padding-bottom: 92px; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 12px;
    padding: 10px 14px;
    background: white;
    color: var(--navy);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--focus), white 12%);
    outline-offset: 3px;
}

/* 顶部使用效果图中的深色阅卷工具栏。 */
.masthead {
    position: relative;
    z-index: 60;
    background: var(--navy);
    color: white;
}

.masthead__inner {
    width: calc(100% - 44px);
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__mark {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: square;
}

.brand__name { font-size: 24px; font-weight: 760; letter-spacing: -.02em; }
.brand__descriptor { padding-left: 15px; border-left: 1px solid rgba(255,255,255,.28); color: #c9d3df; font-size: 13px; }
.masthead__note { color: #d3dce7; font-size: 13px; }
.masthead__counter { display: none; font-variant-numeric: tabular-nums; }

/* 桌面流程区兼作本批次工具条。 */
.process {
    position: relative;
    z-index: 40;
    height: 96px;
    border-bottom: 1px solid var(--rule);
    background: var(--surface);
}

.process__list {
    width: min(720px, calc(100% - 420px));
    min-height: 96px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.process__step {
    position: relative;
    color: #626b79;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 690;
}

.process__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 54px);
    width: calc(100% - 108px);
    height: 1px;
    background: #b7bdc6;
}

.process__step span {
    width: 31px;
    height: 31px;
    border: 1px solid var(--rule-dark);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: white;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.process__step.is-current { color: var(--navy); }
.process__step.is-current span { border-color: var(--blue); background: var(--blue); color: white; }
.process__step.is-complete { color: var(--navy); }
.process__step.is-complete span { border-color: var(--teal); background: var(--teal); color: white; }

.process__upload {
    position: absolute;
    top: 17px;
    left: 22px;
    width: 310px;
    min-height: 62px;
    padding: 0 22px;
    border: 1px dashed #aeb7c2;
    border-radius: 3px;
    background: white;
    color: #4c5868;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-weight: 620;
    cursor: pointer;
}

.process__upload svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.process__upload:hover { color: var(--blue); border-color: var(--blue); }
body:not(.has-workspace) .process__upload { display: none; }

main { width: min(1440px, calc(100% - 44px)); margin: 0 auto; }
body.has-workspace main { width: 100%; max-width: none; }

/* 上传页保持安静，让真实学生名单成为可信证据。 */
.intake {
    padding: clamp(58px, 7vw, 104px) 0 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    grid-template-areas: "lead roster" "drop roster";
    gap: 30px 48px;
    align-items: start;
}

.intake__lead { grid-area: lead; max-width: 680px; }
.section-kicker { margin: 0 0 9px; color: var(--teal); font-size: 14px; font-weight: 760; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 13px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.intake__lead > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--slate); font-size: 18px; }

.dropzone {
    grid-area: drop;
    min-height: 186px;
    padding: 28px;
    border: 1px dashed var(--rule-dark);
    border-radius: 5px;
    background: white;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    box-shadow: 0 12px 30px rgba(11, 27, 49, .07);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.dropzone.is-dragging { border-color: var(--teal); background: var(--teal-soft); transform: translateY(-2px); }
.dropzone.is-busy { opacity: .62; pointer-events: none; }
.dropzone__icon { width: 56px; color: var(--navy); fill: none; stroke: currentColor; stroke-width: 2; }
.dropzone__copy { display: grid; gap: 5px; }
.dropzone__copy strong { font-size: 19px; }
.dropzone__copy span { color: var(--slate); font-size: 14px; }

.button {
    min-height: 43px;
    padding: 0 18px;
    border: 1px solid #9da8b5;
    border-radius: 5px;
    background: white;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.button:hover { border-color: var(--navy); }
.button:active { transform: translateY(1px); }
.button:disabled, .button.is-disabled { opacity: .42; cursor: not-allowed; pointer-events: none; }
.button--primary { border-color: var(--navy); background: var(--navy); color: white; }
.button--primary:hover { border-color: var(--navy-soft); background: var(--navy-soft); }
.button--quiet { background: white; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-label-mobile { display: none; }

.roster { grid-area: roster; padding: 28px; border-top: 3px solid var(--navy); background: #eef1f4; }
.roster__summary { display: flex; align-items: center; gap: 16px; }
.roster__count { font-size: 48px; line-height: 1; font-weight: 780; font-variant-numeric: tabular-nums; }
.roster__summary div { display: grid; gap: 2px; }
.roster__summary span:last-child { color: var(--slate); font-size: 13px; }
.roster__names { margin: 24px 0 20px; padding: 18px 0; border-block: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 15px; }
.roster__names span { font-size: 14px; }
.roster > p { margin: 0; color: var(--slate); font-size: 13px; }

/* 工作台：视觉上直接进入接触表，冗余的“大标题仪表盘”只保留给读屏状态。 */
.workspace { padding: 17px 22px 32px; }
.workspace__header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.batch-meter { display: none; }

.result-section { margin: 0 0 18px; }
.result-section + .result-section { margin-top: 12px; }
.result-section__heading {
    min-height: 39px;
    margin-bottom: 11px;
    padding: 0 7px 8px;
    border-bottom: 1px solid var(--rule-dark);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}
.result-section__heading h2 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.result-section__heading h2 b { font: inherit; }
.result-section__heading p { margin: 0; color: var(--slate); font-size: 13px; }
.result-section--review .result-section__heading { border-color: var(--red); }
.result-section--review .result-section__heading h2 { color: var(--red); }
.result-section--ready .result-section__heading { border-color: var(--teal); }
.result-section--ready .result-section__heading h2 { color: var(--teal); }

.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 15px; }

.result-item {
    position: relative;
    min-width: 0;
    height: 104px;
    padding-left: 42px;
    border: 1px solid #e1e4e8;
    background: white;
    display: grid;
    grid-template-columns: 118px minmax(180px, 222px) minmax(0, 1fr);
    overflow: hidden;
}
.result-item[data-status="review"], .result-item[data-status="error"] { border-color: #f1cac6; }
.result-item__number {
    position: absolute;
    z-index: 2;
    top: 35px;
    left: 11px;
    min-width: 25px;
    height: 27px;
    padding: 0 6px;
    border-radius: 3px;
    background: #e1e4e7;
    color: #435064;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.result-item__photo {
    height: 86px;
    margin: 8px 7px 8px 0;
    padding: 0;
    border: 1px solid #cfd4da;
    background: #eceff1;
    cursor: zoom-in;
    overflow: hidden;
}
.result-item__photo img { width: 100%; height: 100%; object-fit: contain; }

.name-proof {
    position: relative;
    min-width: 0;
    height: 86px;
    margin: 8px 8px 8px 0;
    padding: 4px 7px;
    border: 1px solid #cbd1d8;
    background: #fbfbfa;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.name-proof::before, .name-proof::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 9px;
    height: 9px;
    border-color: var(--teal);
    pointer-events: none;
}
.name-proof::before { top: 5px; left: 5px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.name-proof::after { right: 5px; bottom: 5px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); }
.name-proof img { width: 100%; height: 100%; object-fit: contain; filter: contrast(1.04); }
.name-proof__pending { width: 100%; color: var(--slate); font-size: 12px; text-align: center; }

.result-item__form { position: relative; min-width: 0; padding: 8px 10px 7px 8px; overflow: hidden; }
.result-item__topline { margin: 0; }
.field-label { display: none; }
.status {
    position: absolute;
    top: 12px;
    right: 10px;
    color: var(--working);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.status::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.status--ready { color: var(--teal); }
.status--ready::before { background: var(--teal); box-shadow: inset 0 0 0 2px white; }
.status--review, .status--error { color: var(--red); }
.status--review::before, .status--error::before { background: var(--red); box-shadow: inset 0 0 0 2px white; }
.status--processing::before { background: var(--working); animation: pulse 1.2s ease-in-out infinite; }

.name-input {
    width: calc(100% - 76px);
    max-width: 175px;
    height: 37px;
    padding: 0 10px;
    border: 1px solid #c7cdd5;
    border-radius: 3px;
    background: white;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
}
.name-input[aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.confidence { margin-top: 7px; color: var(--slate); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.candidate-list { display: none; }
.reason { width: calc(100% - 170px); margin: 4px 0 0; color: var(--slate); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reason--error { color: #a72e25; }
.result-item__actions { position: absolute; right: 9px; bottom: 8px; display: flex; gap: 6px; }
.result-item__actions .button { min-height: 29px; padding: 0 9px; border-radius: 3px; font-size: 11px; }

.download-dock {
    position: fixed;
    z-index: 55;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 82px;
    padding: 13px 42px;
    border: 1px solid var(--rule);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-dock);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.download-dock__count { display: flex; align-items: baseline; gap: 18px; color: #3e4959; }
.download-dock__count span { font-size: 15px; }
.download-dock__count strong { color: var(--teal); font-size: 27px; font-weight: 650; font-variant-numeric: tabular-nums; }
.download-dock__count b { font: inherit; }
.download-dock__actions { display: flex; gap: 14px; }
.download-dock__actions .button { min-width: 190px; min-height: 49px; }

.mobile-review { display: none; }

.photo-dialog { width: min(920px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 8px; background: #081321; box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.photo-dialog::backdrop { background: rgba(5,12,22,.74); }
.photo-dialog img { width: 100%; max-height: calc(100vh - 28px); object-fit: contain; }
.photo-dialog__close { position: fixed; z-index: 2; top: 24px; right: 24px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(8,18,31,.82); color: white; font-size: 30px; line-height: 1; cursor: pointer; }

.toast { position: fixed; z-index: 120; right: 24px; bottom: 104px; max-width: 380px; padding: 13px 16px; border-radius: 5px; background: var(--navy); color: white; box-shadow: 0 8px 26px rgba(11,27,49,.22); font-size: 14px; }

@keyframes pulse { 50% { opacity: .3; transform: scale(.72); } }

@media (max-width: 1180px) and (min-width: 641px) {
    .process__list { margin-left: 370px; width: calc(100% - 390px); }
    .result-grid { grid-template-columns: 1fr; }
    .result-item { grid-template-columns: 128px minmax(210px, 280px) minmax(0, 1fr); }
}

@media (max-width: 820px) {
    main { width: min(100% - 28px, 720px); }
    .intake { grid-template-columns: 1fr; grid-template-areas: "lead" "drop" "roster"; padding-top: 48px; }
    .dropzone { grid-template-columns: auto 1fr; }
    .dropzone .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 640px) {
    body.has-workspace { padding-bottom: calc(252px + env(safe-area-inset-bottom)); background: white; }

    .masthead { position: sticky; top: 0; }
    .masthead__inner { width: 100%; min-height: 66px; padding: 0 16px; }
    .brand { gap: 9px; }
    .brand__mark { width: 33px; height: 33px; }
    .brand__name { font-size: 24px; }
    .brand__descriptor, .masthead__note { display: none; }
    .masthead__counter {
        position: absolute;
        top: 50%;
        left: 50%;
        display: none;
        color: white;
        font-size: 17px;
        font-weight: 650;
        transform: translate(-50%, -50%);
    }
    body.has-workspace .masthead__counter { display: block; }

    .process { height: 57px; }
    .process__list { width: 100%; min-height: 57px; }
    .process__step { gap: 5px; font-size: 12px; }
    .process__step span { width: 23px; height: 23px; font-size: 11px; }
    .process__step:not(:last-child)::after { left: calc(50% + 42px); width: calc(100% - 84px); }

    body.has-workspace .process { z-index: 80; height: 0; border: 0; }
    body.has-workspace .process__list { display: none; }
    .process__upload {
        position: fixed;
        z-index: 80;
        top: 11px;
        right: 12px;
        left: auto;
        width: 44px;
        min-height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: white;
        justify-content: center;
    }
    .process__upload span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .process__upload svg { width: 26px; }

    main, body.has-workspace main { width: 100%; }
    .intake { width: calc(100% - 24px); margin: 0 auto; padding: 38px 0 52px; gap: 24px; }
    h1 { font-size: 37px; }
    .intake__lead > p:last-child { font-size: 16px; }
    .dropzone { min-height: 248px; padding: 25px 18px; grid-template-columns: 1fr; text-align: center; }
    .dropzone__icon { margin: 0 auto; }
    .roster { padding: 22px; }
    .roster__count { font-size: 42px; }

    .workspace { padding: 0; }
    .result-section { margin: 0; }
    .result-section__heading { display: none; }
    .result-grid { display: block; }
    .result-item {
        display: none;
        height: auto;
        min-height: 0;
        padding: 0;
        border: 0;
        background: white;
        overflow: visible;
        scroll-margin-top: 66px;
    }
    .result-item.is-mobile-active { display: block; }
    .result-section:not(.has-mobile-active) { display: none; }
    .result-item__number {
        top: 12px;
        left: 13px;
        min-width: 30px;
        height: 30px;
        border-radius: 3px;
        background: rgba(11,27,49,.91);
        color: white;
    }
    .result-item__photo {
        width: 100%;
        height: clamp(340px, 50vh, 520px);
        margin: 0;
        border: 0;
        border-bottom: 1px solid var(--rule);
        background: #ebeae6;
    }
    .result-item__photo img { object-fit: contain; }

    .name-proof {
        width: calc(100% - 24px);
        height: 194px;
        margin: 32px 12px 0;
        padding: 11px 16px;
        border: 1px solid #cfd5da;
        background: #f8f8f6;
        overflow: visible;
    }
    .name-proof::before, .name-proof::after { width: 19px; height: 19px; }
    .name-proof::before { top: 8px; left: 8px; border-width: 4px 0 0 4px; border-style: solid; }
    .name-proof::after { right: 8px; bottom: 8px; border-width: 0 4px 4px 0; border-style: solid; }
    .name-proof img { object-fit: cover; }

    .result-item__form { padding: 27px 14px 28px; overflow: visible; }
    .result-item__topline { position: relative; margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; }
    .field-label { display: block; color: var(--ink); font-size: 19px; font-weight: 740; }
    .status { position: static; font-size: 13px; }
    .name-input { width: 100%; max-width: none; height: 63px; padding: 0 16px; border-color: #8e9aaa; border-radius: 5px; font-size: 30px; font-weight: 650; }
    .confidence { margin-top: 9px; font-size: 13px; }
    .candidate-list { min-height: 42px; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 9px; }
    .candidate { min-height: 42px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 5px; background: white; color: #4e5a6b; font-size: 14px; cursor: pointer; }
    .candidate::before { content: "候选："; color: var(--muted); }
    .candidate:hover { border-color: var(--teal); }
    .reason { width: 100%; min-height: 22px; margin: 0 0 16px; font-size: 13px; white-space: normal; overflow: visible; }
    .result-item__actions { position: static; display: grid; grid-template-columns: 1.15fr .9fr; gap: 10px; }
    .result-item__actions .button { min-height: 56px; padding: 0 10px; border-radius: 5px; font-size: 16px; }
    .result-item__actions .button--primary { order: -1; border-color: var(--teal); background: var(--teal); }
    .result-item__actions .button--primary:hover { border-color: #057b76; background: #057b76; }
    .button-label-desktop { display: none; }
    .button-label-mobile { display: inline; }

    .download-dock { display: none; }
    .mobile-review {
        position: fixed;
        z-index: 70;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 11px 12px calc(11px + env(safe-area-inset-bottom));
        border-top: 1px solid #c8ced5;
        background: rgba(250,251,252,.985);
        box-shadow: var(--shadow-dock);
        display: block;
    }
    .mobile-review__summary {
        position: relative;
        margin-bottom: 9px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--slate);
        font-size: 13px;
    }
    .mobile-review__summary::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 90px;
        left: 92px;
        height: 2px;
        background: linear-gradient(90deg, var(--teal) var(--ready-ratio, 0%), #d4d9df var(--ready-ratio, 0%));
        transform: translateY(-50%);
    }
    .mobile-review__summary span { position: relative; z-index: 1; background: #fafbfc; }
    .mobile-review__summary span:first-child { color: var(--teal); font-weight: 700; }
    .mobile-review__summary span:last-child { color: var(--red); }
    .mobile-review__queue-label { padding-top: 8px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--slate); font-size: 12px; }
    .mobile-review__queue-label strong { color: var(--ink); font-size: 13px; }
    .mobile-review__index { margin: 8px 0 10px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
    .mobile-review__index::-webkit-scrollbar { display: none; }
    .mobile-index-button {
        position: relative;
        flex: 0 0 48px;
        min-width: 48px;
        height: 76px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--slate);
        cursor: pointer;
    }
    .mobile-index-button__number { display: block; height: 20px; font-size: 12px; font-variant-numeric: tabular-nums; }
    .mobile-index-button__thumb { width: 34px; height: 43px; margin: 0 auto; padding: 2px; border: 1px solid var(--rule); border-radius: 3px; background: #eef0f2; display: block; overflow: hidden; }
    .mobile-index-button__thumb img { width: 100%; height: 100%; object-fit: cover; }
    .mobile-index-button i { position: absolute; right: 2px; bottom: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--working); box-shadow: 0 0 0 2px #fafbfc; }
    .mobile-index-button i::after { content: ""; position: absolute; inset: 4px; border-bottom: 1.5px solid white; border-right: 1.5px solid white; transform: rotate(45deg) translate(-1px,-1px); }
    .mobile-index-button[data-status="ready"] i { background: var(--teal); }
    .mobile-index-button[data-status="review"] i, .mobile-index-button[data-status="error"] i { background: var(--red); }
    .mobile-index-button[data-status="review"] i::after, .mobile-index-button[data-status="error"] i::after { content: "!"; inset: auto; left: 5px; top: -1px; color: white; font-style: normal; font-size: 11px; font-weight: 800; transform: none; border: 0; }
    .mobile-index-button.is-active .mobile-index-button__thumb { border: 2px solid var(--teal); padding: 1px; }
    .mobile-index-button.is-active[data-status="review"] .mobile-index-button__thumb, .mobile-index-button.is-active[data-status="error"] .mobile-index-button__thumb { border-color: var(--red); }
    .mobile-review__actions { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9px; }
    .mobile-review__actions .button { min-height: 49px; }

    .toast { right: 12px; bottom: calc(262px + env(safe-area-inset-bottom)); left: 12px; max-width: none; }
}

@media (max-width: 380px) {
    body.has-workspace { padding-bottom: calc(244px + env(safe-area-inset-bottom)); }
    .result-item__photo { height: 335px; }
    .name-proof { height: 170px; }
    .result-item__actions { grid-template-columns: 1fr; }
    .result-item__actions .button { min-height: 50px; }
    .mobile-review__summary::before { right: 78px; left: 82px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
