html,
body {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #3f2414;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.48;
    -webkit-text-size-adjust: 100%;
}

body {
    box-sizing: border-box;
    min-height: 100%;
    padding: 8px 12px 18px;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

main,
article,
section {
    display: block;
}

h1,
h2,
h3,
h4 {
    color: #3f2414;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
}

h2 {
    margin: 15px 0 6px;
    font-size: 16px;
    font-weight: 800;
}

h3 {
    margin: 12px 0 5px;
    font-size: 14px;
    font-weight: 800;
}

h4 {
    margin: 10px 0 4px;
    font-size: 13px;
    font-weight: 800;
}

p {
    margin: 0 0 9px;
    overflow-wrap: anywhere;
}

ul,
ol {
    margin: 0 0 11px 18px;
    padding: 0;
}

li {
    margin: 4px 0;
    padding-left: 1px;
    overflow-wrap: anywhere;
}

li > ul,
li > ol {
    margin-top: 4px;
    margin-bottom: 6px;
}

a {
    color: #7b3a18;
    font-weight: 700;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

strong,
b {
    font-weight: 800;
}

em,
i {
    color: #5e351d;
}

small {
    color: #7a542f;
    font-size: 12px;
}

hr {
    height: 1px;
    margin: 14px 0;
    border: 0;
    background: rgba(126, 78, 35, 0.34);
}

blockquote {
    margin: 0 0 11px;
    padding: 8px 10px;
    border-left: 3px solid rgba(126, 78, 35, 0.55);
    background: rgba(255, 244, 213, 0.42);
    color: #4d2a17;
}

table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    border-collapse: collapse;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

th,
td {
    padding: 6px 7px;
    border: 1px solid rgba(126, 78, 35, 0.35);
    text-align: left;
    vertical-align: top;
}

th {
    background: rgba(255, 244, 213, 0.58);
    font-weight: 800;
}

.placeholder-note {
    margin: 0 0 14px;
    padding: 10px 11px;
    background: rgba(255, 244, 213, 0.86);
    border: 1px solid rgba(142, 82, 35, 0.5);
    border-radius: 8px;
    color: #5e351d;
    font-weight: 700;
}

.updated,
.effective-date,
.last-updated,
.date {
    color: #7a542f;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-note,
.notice,
.summary {
    margin: 0 0 12px;
    padding: 9px 10px;
    background: rgba(255, 244, 213, 0.55);
    border: 1px solid rgba(142, 82, 35, 0.36);
    border-radius: 7px;
    color: #4d2a17;
}

body.public-document {
    background: #fff;
    color: #2f241d;
    padding: 24px 16px 40px;
}

.document-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.document-header {
    margin: 0 0 24px;
    text-align: center;
}

.document-logo {
    display: block;
    width: min(240px, 72vw);
    height: auto;
    margin: 0 auto 18px;
}

.public-document h1 {
    margin-bottom: 18px;
    color: #2f241d;
    font-size: 30px;
    text-align: center;
}

.public-document h2 {
    margin-top: 28px;
    color: #2f241d;
    font-size: 21px;
}

.public-document h3 {
    margin-top: 20px;
    color: #2f241d;
    font-size: 17px;
}

.public-document p,
.public-document li {
    font-size: 16px;
}

.contact-block {
    padding: 14px 16px;
    border: 1px solid rgba(126, 78, 35, 0.25);
    border-radius: 8px;
    background: #fffaf0;
}

.how-to-document.public-document {
    background: #f7e9cb;
}

.support-document.public-document {
    background:
        linear-gradient(180deg, rgba(255, 248, 232, 0.86) 0%, rgba(247, 233, 203, 0.95) 52%, rgba(234, 251, 255, 0.7) 100%),
        #f7e9cb;
}

.how-to-document .document-shell {
    max-width: 920px;
}

.how-to-document .document-header,
.support-document .document-header {
    margin: 0 auto 24px;
    padding: 20px 18px 22px;
    border: 1px solid rgba(126, 78, 35, 0.24);
    border-radius: 14px;
    background: #fff8e8;
    box-shadow: 0 12px 28px rgba(62, 33, 14, 0.12);
}

.how-to-document .document-header p,
.support-document .document-header p {
    max-width: 680px;
    margin: 0 auto;
    color: #56331d;
    font-size: 17px;
}

.how-to-document .quick-start {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(126, 78, 35, 0.26);
    border-radius: 10px;
    background: #fffaf0;
}

.how-to-document .quick-start ol {
    margin-bottom: 0;
}

.support-document .document-shell {
    max-width: 920px;
    min-width: 0;
}

.support-document .support-home-link {
    margin-top: 12px;
    font-size: 15px;
}

.support-contact-card,
.support-info-card {
    max-width: 100%;
    min-width: 0;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid rgba(126, 78, 35, 0.26);
    border-radius: 10px;
    background: #fffaf0;
    box-shadow: 0 10px 22px rgba(62, 33, 14, 0.08);
}

.support-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-color: rgba(12, 122, 104, 0.3);
}

.support-contact-card > * {
    min-width: 0;
}

.support-contact-card h2,
.support-info-card h2,
.faq-section h2 {
    margin-top: 0;
}

.support-kicker {
    margin: 0 0 4px;
    color: #0c7a68;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.support-email-button {
    display: inline-block;
    min-width: 138px;
    padding: 11px 14px;
    border: 2px solid #fff0a4;
    border-radius: 8px;
    color: #2f241d;
    background: linear-gradient(180deg, #fff6a8 0%, #ffd95a 48%, #f08d20 100%);
    box-shadow: 0 8px 18px rgba(62, 33, 14, 0.16);
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.support-email-button:hover,
.support-email-button:focus-visible {
    filter: brightness(1.03);
    outline: 2px solid rgba(12, 122, 104, 0.5);
    outline-offset: 2px;
}

.support-check-list {
    margin-bottom: 0;
}

.support-check-list li {
    margin: 6px 0;
}

.faq-section {
    margin: 0 0 20px;
}

.faq-section details {
    max-width: 100%;
    min-width: 0;
    margin: 0 0 9px;
    border: 1px solid rgba(126, 78, 35, 0.24);
    border-radius: 10px;
    background: #fffaf0;
    box-shadow: 0 7px 16px rgba(62, 33, 14, 0.06);
    overflow: hidden;
}

.faq-section summary {
    display: list-item;
    padding: 13px 15px;
    color: #3f2414;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.faq-section summary:hover,
.faq-section summary:focus-visible {
    background: rgba(255, 217, 90, 0.24);
    outline: 0;
}

.faq-section details[open] summary {
    border-bottom: 1px solid rgba(126, 78, 35, 0.18);
    background: rgba(255, 244, 213, 0.66);
}

.faq-section details > div {
    padding: 12px 15px 14px;
}

.faq-section details p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .support-document .document-header {
        padding: 16px 12px 18px;
    }

    .support-contact-card {
        display: block;
    }

    .support-email-button {
        width: 100%;
        min-width: 0;
        margin-top: 7px;
    }
}

.how-to-document .icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.how-to-document .icon-card {
    min-height: 116px;
    padding: 12px 10px;
    border: 1px solid rgba(126, 78, 35, 0.23);
    border-radius: 10px;
    background: #fffaf0;
    text-align: center;
}

.how-to-document .icon-card img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.how-to-document .icon-card strong {
    display: block;
    margin-bottom: 4px;
}

.how-to-document .icon-card span {
    display: block;
    color: #5e351d;
    font-size: 13px;
    line-height: 1.35;
}

.how-to-document .media-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 14px;
    align-items: center;
    margin: 0 0 16px;
}

.how-to-document .media-row.reverse {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.how-to-document .media-panel {
    padding: 12px;
    border: 1px solid rgba(126, 78, 35, 0.22);
    border-radius: 10px;
    background: #fffaf0;
}

.how-to-document .media-panel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7px;
}

.how-to-document .button-art {
    max-width: 190px;
    margin: 8px auto 0;
}

.how-to-document .inline-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: -5px;
}

.how-to-document .small-art {
    display: inline-block;
    width: auto;
    max-width: 118px;
    height: 42px;
    object-fit: contain;
    vertical-align: middle;
}

html.app-surface,
html.app-surface body.how-to-document {
    background: transparent;
}

html.app-surface body.how-to-document {
    padding: 8px 12px 18px;
    color: #3f2414;
}

html.app-surface .how-to-document .document-header {
    display: none;
}

html.app-surface .how-to-document .document-shell {
    max-width: none;
}

html.app-surface .how-to-document h1 {
    display: none;
}

html.app-surface .how-to-document h2 {
    margin-top: 15px;
    font-size: 16px;
}

html.app-surface .how-to-document p,
html.app-surface .how-to-document li {
    font-size: 14px;
}

html.app-surface .how-to-document .quick-start,
html.app-surface .how-to-document .icon-card,
html.app-surface .how-to-document .media-panel,
html.app-surface .support-document .support-contact-card,
html.app-surface .support-document .support-info-card,
html.app-surface .support-document .faq-section details {
    border-color: rgba(126, 78, 35, 0.24);
    background: #fff4d5;
    box-shadow: none;
}

html.app-surface .how-to-document .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.app-surface .how-to-document .media-row,
html.app-surface .how-to-document .media-row.reverse {
    display: block;
}

html.app-surface .how-to-document .media-panel {
    margin: 0 0 10px;
    padding: 8px;
}

html.app-surface .how-to-document .bingo-card-art {
    width: 58%;
    max-width: 190px;
    margin: 0 auto;
}

@media (max-width: 420px) {
    body {
        padding: 7px 10px 16px;
        font-size: 13px;
        line-height: 1.44;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 15px;
    }

    body.public-document {
        padding: 18px 14px 32px;
    }

    .document-header {
        margin-bottom: 18px;
    }

    .public-document h1 {
        font-size: 24px;
        text-align: left;
    }

    .public-document h2 {
        font-size: 19px;
    }

    .public-document h3 {
        font-size: 16px;
    }

    .public-document p,
    .public-document li {
        font-size: 15px;
    }

    .how-to-document .document-header {
        padding: 16px 12px 18px;
    }

    .support-document .document-header {
        padding: 16px 12px 18px;
    }

    .support-contact-card {
        display: block;
    }

    .support-email-button {
        width: 100%;
        margin-top: 7px;
    }

    .faq-section summary {
        padding: 12px;
        font-size: 15px;
    }

    .faq-section details > div {
        padding: 11px 12px 13px;
    }

    .how-to-document .icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-to-document .media-row,
    .how-to-document .media-row.reverse {
        display: block;
    }

    .how-to-document .media-panel {
        margin: 0 0 10px;
    }

    .how-to-document .bingo-card-art {
        width: 68%;
        max-width: 220px;
        margin: 0 auto;
    }
}
