/* 资料与核验模板。所有规则只作用于 eeat 类，不改变原有工具页。 */
.eeat-page {
    color: var(--yy-text, #241c15);
    padding: 24px 0 46px;
}

.eeat-page .eeat-container {
    max-width: 1060px;
    min-width: 0;
}

.eeat-sheet {
    min-width: 0;
    padding: clamp(20px, 4vw, 44px);
    border: 1px solid var(--yy-track-line, #e6d7b4);
    border-radius: 8px;
    background: var(--yy-paper, #fffdf7);
    box-shadow: 0 3px 16px rgba(74, 42, 0, .035);
}

.eeat-heading {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--yy-track-line, #e6d7b4);
    margin-bottom: 26px;
}

.eeat-heading h1 {
    margin: 0;
    color: var(--yy-primary-dark, #a65a00);
    font-family: "yy-kai", "Kaiti SC", "STKaiti", KaiTi, serif;
    font-size: clamp(26px, 4.5vw, 34px);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.eeat-intro {
    max-width: 48em;
    margin-top: 14px;
    color: var(--yy-muted, #6b5d4f);
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.eeat-intro p {
    margin: 0;
}

.eeat-document {
    min-width: 0;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.eeat-document > :first-child {
    margin-top: 0;
}

.eeat-document > :last-child {
    margin-bottom: 0;
}

.eeat-document h2,
.eeat-document h3 {
    color: var(--yy-primary-dark, #a65a00);
    line-height: 1.5;
    scroll-margin-top: 96px;
}

.eeat-document h2 {
    margin: 34px 0 14px;
    font-size: 22px;
}

.eeat-document h3 {
    margin: 26px 0 10px;
    font-size: 18px;
}

.eeat-document p,
.eeat-document ul,
.eeat-document ol,
.eeat-document dl {
    margin: 0 0 18px;
}

.eeat-document ul,
.eeat-document ol {
    padding-left: 1.5em;
}

.eeat-document li + li {
    margin-top: 6px;
}

.eeat-document dt {
    font-weight: 700;
}

.eeat-document dd {
    margin: 4px 0 16px;
}

.eeat-document a {
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

.eeat-document a:focus-visible,
.eeat-document summary:focus-visible,
.eeat-table-wrap:focus-visible {
    outline: 3px solid #205ca5;
    outline-offset: 3px;
    box-shadow: none;
}

.eeat-document blockquote {
    padding: 14px 18px;
    margin: 20px 0;
    border-left: 3px solid var(--yy-control-border, #b87823);
    background: #fff6e6;
}

.eeat-document blockquote > :last-child {
    margin-bottom: 0;
}

.eeat-document pre,
.eeat-document code {
    font-size: .9em;
}

.eeat-document pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 14px;
    margin: 18px 0;
    border: 1px solid var(--yy-track-line, #e6d7b4);
    border-radius: 4px;
    background: #fff8ee;
}

.eeat-note {
    margin: 22px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--yy-control-border, #b87823);
    border-radius: 0 5px 5px 0;
    background: #fff6e6;
    color: var(--yy-text, #241c15);
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.eeat-note p {
    margin: 6px 0 0;
}

.eeat-status {
    margin-top: 0;
    margin-bottom: 26px;
}

.eeat-pending-field {
    display: block;
    padding: 10px 14px;
    margin: 12px 0 18px;
    border: 1px dashed var(--yy-control-border, #b87823);
    border-radius: 4px;
    background: #fffaf0;
    color: #6b5131;
    font-size: 14px;
    line-height: 1.85;
}

.eeat-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--yy-track-line, #e6d7b4);
    border-radius: 5px;
    -webkit-overflow-scrolling: touch;
}

.eeat-table {
    width: 100%;
    min-width: 540px;
    margin: 0;
    border-collapse: collapse;
    background: var(--yy-paper, #fffdf7);
    font-size: 14px;
    line-height: 1.8;
}

.eeat-table caption {
    padding: 12px 14px;
    color: var(--yy-text, #241c15);
    font-weight: 700;
    text-align: left;
    caption-side: top;
    background: #fff8ee;
}

.eeat-table th,
.eeat-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--yy-track-line, #e6d7b4);
    border-right: 1px solid var(--yy-track-line, #e6d7b4);
    text-align: left;
    vertical-align: top;
}

.eeat-table th {
    background: #fbf3e1;
    font-weight: 700;
}

.eeat-table tr > :last-child {
    border-right: 0;
}

.eeat-table tbody tr:last-child > * {
    border-bottom: 0;
}

.eeat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.eeat-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--yy-control-border, #b87823);
    border-radius: 5px;
    background: var(--yy-paper, #fffdf7);
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
}

.eeat-actions a:hover {
    background: #fff6e6;
}

.eeat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 24px 0;
}

.eeat-grid > * {
    min-width: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--yy-track-line, #e6d7b4);
}

.eeat-grid h2,
.eeat-grid h3 {
    margin-top: 0;
}

.eeat-grid p:last-child {
    margin-bottom: 0;
}

.eeat-record {
    padding: 20px 0 20px 20px;
    margin: 22px 0;
    border-left: 3px solid var(--yy-track-line, #e6d7b4);
}

.eeat-record h2,
.eeat-record h3 {
    margin-top: 0;
}

.eeat-record > :last-child {
    margin-bottom: 0;
}

.eeat-document details {
    margin: 18px 0;
    border-top: 1px solid var(--yy-track-line, #e6d7b4);
    border-bottom: 1px solid var(--yy-track-line, #e6d7b4);
}

.eeat-document summary {
    padding: 12px 4px;
    min-height: 44px;
    color: var(--yy-primary-dark, #a65a00);
    font-weight: 700;
    cursor: pointer;
}

.eeat-document details > :not(summary) {
    margin: 4px 0 16px;
}

@media (max-width: 600px) {
    .eeat-page {
        padding-top: 18px;
    }

    .eeat-sheet {
        padding: 22px 18px;
    }

    .eeat-heading {
        margin-bottom: 20px;
    }

    .eeat-document {
        font-size: 15px;
    }

    .eeat-document h2 {
        font-size: 20px;
    }

    .eeat-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .eeat-grid > * {
        padding: 18px 0;
    }

    .eeat-note,
    .eeat-pending-field {
        padding: 12px 14px;
    }

    .eeat-actions a {
        flex: 1 1 130px;
    }
}
