/* The certificate form used on the homepage and in the result preview. */
.ea-sheet { position: relative; overflow: hidden; background: #fff; --s: .4534; }
.sheet-hero { width: 100%; height: 300px; }
.sheet-result { width: 100%; height: 260px; }
.sheet-thumb { width: 150px; height: 110px; --s: .18892; }
.sheet-mini { width: 110px; height: 80px; --s: .13854; }
.ea-scaler { position: absolute; top: 0; left: 0; width: 794px; transform: scale(var(--s)); transform-origin: top left; }
.ea-watermark {
    position: absolute;
    left: 50%;
    top: 300px;
    transform: translate(-50%, -50%) rotate(-24deg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 150px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(10, 92, 51, .08);
    pointer-events: none;
}
.ea {
    --ea-frame: #eead3f;
    --ea-fill: #fcdc91;
    --ea-line: #7a7a7a;
    --ea-grey: #e8e8e8;
    width: 100%;
    max-width: 794px;
    padding: 24px;
    background: #fff;
    color: #000;
    font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    user-select: none;
    text-align: left;
    letter-spacing: normal;
}
.ea-box { margin-bottom: 14px; overflow: hidden; border: 7px solid var(--ea-frame); border-radius: 16px; background: #fff; }
.ea-title { padding: 3px 15px; }
.ea-title-main { font-size: 2.6rem; font-weight: 700; line-height: 46px; letter-spacing: -.01em; }
.ea-title-type { margin-left: 6px; font-size: 22px; font-weight: 600; }
.ea-title-law { margin-top: -8px; font-size: 12px; }
.ea-grey { display: inline-block; min-width: 40px; min-height: 12px; padding: 0 .25rem; background: var(--ea-grey); line-height: 21px; vertical-align: middle; }
.ea-head { display: flex; align-items: center; margin-bottom: 8px; }
.ea-head-bar { display: flex; flex: 1; align-items: center; justify-content: space-between; height: 40px; margin-right: 1rem; padding: 7px 10px; border-radius: 7px; background: var(--ea-fill); font-size: 14px; font-weight: 600; }
.ea-page-no { width: 40px; height: 40px; border: 5px solid var(--ea-frame); border-radius: 100%; background: var(--ea-fill); text-align: center; font-size: 24px; font-weight: 800; line-height: 30px; }
.ea-section { padding: 6px 8px; background: var(--ea-fill); font-size: 1rem; font-weight: 700; }
.ea-section.ea-section-sub { font-size: 14px; }
.ea table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ea-line); }
.ea td, .ea th { padding: 1px 4px 1px 5px; border: 1px solid var(--ea-line); font-size: 12px; line-height: 16px; vertical-align: top; }
.ea th { font-weight: 600; text-align: center; vertical-align: bottom; }
.ea tr td:first-child, .ea tr th:first-child { border-left: 0; }
.ea tr td:last-child, .ea tr th:last-child { border-right: 0; }
.ea tr:last-child td { border-bottom: 0; }
.ea tbody tr:first-child td { border-top: 0; }
.ea td.ea-lab { width: 27%; background: var(--ea-fill); }
.ea td.ea-num { text-align: right; }
.ea sup, .ea sub { font-size: 75%; line-height: 0; }
.ea-grid-12 { display: grid; grid-template-columns: 1fr 2fr; }
.ea-grid-111 { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ea-text { padding: 6px 8px; font-size: 12px; line-height: 16px; }
.ea-text p { margin: 0 0 4px; }
.ea-check { display: inline-block; margin-right: 4px; }
.ea-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ea-sig-box { display: flex; flex-direction: column; justify-content: space-between; min-height: 70px; padding: 8px 12px; border: 7px solid var(--ea-frame); border-radius: 16px; background: #fff; font-size: 12px; }
.ea-sig-val { display: flex; flex: 1; align-items: center; justify-content: center; color: #555; font-style: italic; text-align: center; }
.ea-sig-cap { display: flex; justify-content: space-between; color: #000; font-weight: 600; }
.ea-scale-wrap { position: relative; padding: 10px 14px 6px; }
.ea-scale-top { margin-bottom: 4px; text-align: right; font-size: 12px; }
.ea-scale-top b { display: inline-block; min-width: 48px; padding: 0 .25rem; background: var(--ea-grey); text-align: center; }
.ea-scale { position: relative; height: 70px; margin: 30px 0 34px; }
.ea-scale-bar { position: absolute; top: 24px; left: 0; right: 0; height: 22px; border-radius: 4px; background: linear-gradient(90deg, #1a9850 0%, #1a9850 12%, #66bd63 22%, #a6d96a 32%, #ffffbf 44%, #fee08b 56%, #fdae61 68%, #f46d43 80%, #d73027 92%, #a50026 100%); }
.ea-scale-letters { position: absolute; top: 24px; left: 0; right: 0; display: grid; grid-template-columns: repeat(9, 1fr); height: 22px; }
.ea-scale-letters span { border-left: 1px solid rgba(0, 0, 0, .55); text-align: center; font-size: 13px; font-weight: 700; line-height: 22px; }
.ea-scale-letters span:first-child { border-left: 0; }
.ea-scale-ticks { position: absolute; top: 48px; left: 0; right: 0; display: grid; grid-template-columns: repeat(9, 1fr); font-size: 11px; }
.ea-scale-ticks span { transform: translate(-2px); }
.ea-marker { position: absolute; top: -26px; display: flex; flex-direction: column; align-items: center; transform: translate(-50%); }
.ea-marker-val { white-space: nowrap; font-size: 12px; font-weight: 700; }
.ea-marker-lab { white-space: nowrap; font-size: 11px; }
.ea-marker-arrow { width: 0; height: 0; border-top: 16px solid #000; border-left: 9px solid transparent; border-right: 9px solid transparent; }
.ea-marker-letter { position: absolute; top: 20px; transform: translate(-50%); font-size: 26px; font-weight: 800; line-height: 30px; text-shadow: 0 0 3px #fff; }
.ea-marker-bottom { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%); }
.ea-marker-bottom .ea-marker-arrow { border-top: 0; border-bottom: 16px solid #000; }
.ea-kpi { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-top: 1px solid var(--ea-line); background: var(--ea-fill); font-size: 14px; font-weight: 700; }
.ea-kpi small { font-size: 11px; font-weight: 500; }
.ea-kpi b { padding: 2px 8px; background: var(--ea-grey); font-size: 14px; }
.ea-grid-11 { display: grid; grid-template-columns: 1fr 1fr; }
.ea-compare { padding: 10px 14px 70px; }
.ea-compare-bar { position: relative; height: 14px; margin-top: 2px; border-radius: 3px; background: linear-gradient(90deg, #1a9850 0%, #1a9850 12%, #66bd63 22%, #a6d96a 32%, #ffffbf 44%, #fee08b 56%, #fdae61 68%, #f46d43 80%, #d73027 92%, #a50026 100%); }
.ea-compare-labels { position: relative; height: 58px; }
.ea-compare-labels span { position: absolute; top: 4px; transform: translateX(-50%) rotate(55deg); transform-origin: left top; white-space: nowrap; font-size: 9px; line-height: 10px; }
.ea-compare-labels span::before { content: ""; position: absolute; left: -4px; top: -4px; width: 1px; height: 4px; background: #000; transform: rotate(-55deg); transform-origin: top; }
