@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/be-vietnam-pro-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/be-vietnam-pro-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/be-vietnam-pro-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/be-vietnam-pro-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/be-vietnam-pro-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/be-vietnam-pro-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url('../fonts/jetbrains-mono-400-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url('../fonts/jetbrains-mono-400-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}

:root {
    --bg: #FFFFFF;
    --surf: #FFFFFF;
    --band: #F4F7FB;
    --tint: #FDF7F9;
    --field: #FFFFFF;
    --line: #ECEFF3;
    --line-2: #E7EAEF;
    --line-3: #DDE2E9;
    --line-pink: #F2E3E8;
    --ink: #172948;
    --ink-2: #2C3A52;
    --ink-3: #3F4A5C;
    --ink-4: #4D586A;
    --mut: #657286;
    --rose: #BD496A;
    --navy: #172948;
    --hdr: rgba(255, 255, 255, 0.92);
    --info-fg: #0A718B;
    --info-bg: #E2F1F4;
    --success-fg: #137549;
    --success-bg: #E3F0EA;
    --warning-fg: #9B5411;
    --warning-bg: #F5EBE3;
    --danger-fg: #B42318;
    --danger-bg: #F6E5E3;
    --pink: var(--tuetran-primary, #FB7B9B);
    --on-pink: #172948;
    --font-body: var(--site-font, 'Be Vietnam Pro'), system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --pad-x: 40px;
    --main-pad: 56px 40px 72px;
    --row-gap: 48px;
    --hero-gap: 12px;
    --h1: var(--tuetran-h1-size, 38px);
    --h1-lh: 49.4px;
    --h2: var(--tuetran-h2-size, 24px);
    --h2-lh: 31.2px;
    --lead: 16px;
    --lead-lh: 26.4px;
    --card-pad: 28px;
    --foot-pad: 28px 40px;
    --legal-h: auto;
    --float-edge: 24px;
    --page-h1: 34px;
    --page-h1-lh: 44.2px;
    --big-num: 96px;
    --text-pad-top: 64px;
    --text-pad-bottom: 96px;
    --section-gap: 40px;
}

:root[data-theme="dark"] {
    --bg: #0B1324;
    --surf: #14213B;
    --band: #0F1A31;
    --tint: #101A30;
    --field: #0F1A31;
    --line: #1E2D4B;
    --line-2: #2B3F66;
    --line-3: #34497A;
    --line-pink: #2E3A5E;
    --ink: #EAF0FA;
    --ink-2: #D0DBEC;
    --ink-3: #BCC9DE;
    --ink-4: #A9B9D3;
    --mut: #9FB0CC;
    --rose: #E88CA6;
    --navy: #0F1C3A;
    --hdr: rgba(11, 19, 36, 0.9);
    --info-fg: #66BAD5;
    --info-bg: #234261;
    --success-fg: #5EBB8F;
    --success-bg: #1E4151;
    --warning-fg: #F0A85A;
    --warning-bg: #3E404B;
    --danger-fg: #F1938A;
    --danger-bg: #3E3A52;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0B1324;
        --surf: #14213B;
        --band: #0F1A31;
        --tint: #101A30;
        --field: #0F1A31;
        --line: #1E2D4B;
        --line-2: #2B3F66;
        --line-3: #34497A;
        --line-pink: #2E3A5E;
        --ink: #EAF0FA;
        --ink-2: #D0DBEC;
        --ink-3: #BCC9DE;
        --ink-4: #A9B9D3;
        --mut: #9FB0CC;
        --rose: #E88CA6;
        --navy: #0F1C3A;
        --hdr: rgba(11, 19, 36, 0.9);
        --info-fg: #66BAD5;
        --info-bg: #234261;
        --success-fg: #5EBB8F;
        --success-bg: #1E4151;
        --warning-fg: #F0A85A;
        --warning-bg: #3E404B;
        --danger-fg: #F1938A;
        --danger-bg: #3E3A52;
    }
}

@media (max-width: 1199px) {
    :root {
        --pad-x: 20px;
        --main-pad: 32px 20px 56px;
        --row-gap: 32px;
        --hero-gap: 10px;
        --h1: 24px;
        --h1-lh: 31.2px;
        --h2: 20px;
        --h2-lh: 26px;
        --card-pad: 24px;
        --foot-pad: 24px 76px 28px;
        --legal-h: 44px;
        --float-edge: 20px;
        --page-h1: 24px;
        --page-h1-lh: 31.2px;
        --text-pad-top: 48px;
        --text-pad-bottom: 80px;
        --section-gap: 32px;
    }
}

@media (max-width: 699px) {
    :root {
        --main-pad: 24px 20px 48px;
        --hero-gap: 8px;
        --h1: 22px;
        --h1-lh: 28.6px;
        --h2: 18px;
        --h2-lh: 23.4px;
        --lead: 15px;
        --lead-lh: 24.75px;
        --card-pad: 20px;
        --foot-pad: 24px 60px 28px;
        --page-h1: 22px;
        --page-h1-lh: 28.6px;
        --big-num: 72px;
        --text-pad-top: 36px;
        --text-pad-bottom: 64px;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: var(--tuetran-body-size, 16px);
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--ink);
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--navy); }

.page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.page > main { flex: 1; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--hdr);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo { display: flex; align-items: center; height: 34px; color: var(--ink); }
.site-logo img { display: block; flex: none; }
.site-logo__name { font-weight: 600; }

.home { background: var(--band); }
.home__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--main-pad);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    grid-template-areas: "hero form" "steps form" "act act";
    grid-template-rows: auto 1fr auto;
    column-gap: 56px;
    row-gap: var(--row-gap);
    align-items: start;
}
@media (max-width: 1199px) {
    .home__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "hero" "form" "steps" "act";
        grid-template-rows: auto;
    }
}

.home-hero { grid-area: hero; display: flex; flex-direction: column; gap: var(--hero-gap); min-width: 0; }
.home-eyebrow { font-family: var(--font-mono); font-size: 13px; line-height: 19.5px; letter-spacing: 0.14em; font-weight: 500; color: var(--rose); }
.home-title { margin: 0; font-size: var(--h1); line-height: var(--h1-lh); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.home-lead { margin: 0; font-size: var(--lead); line-height: var(--lead-lh); color: var(--ink-3); }
.home-lead__short { display: none; }
@media (max-width: 699px) {
    .home-lead__full { display: none; }
    .home-lead__short { display: inline; }
}

.bill-form {
    grid-area: form;
    justify-self: end;
    width: 520px;
    max-width: 100%;
    min-width: 0;
    background: var(--surf);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: var(--card-pad);
}
@media (max-width: 1199px) {
    .bill-form { justify-self: stretch; width: 100%; }
}
.bill-form__form, .bill-form__fields { display: flex; flex-direction: column; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bill-form__form { gap: 20px; }
.bill-form__fields:disabled { opacity: 0.6; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-group { display: flex; flex-direction: column; gap: 10px; }
.field__label { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--ink-2); }
.field__hint { font-size: 13px; line-height: 19.5px; color: var(--mut); }
.field__control { position: relative; }
.field__input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-3);
    border-radius: 10px;
    background: var(--field);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    outline: none;
}
.field__input::placeholder { color: var(--mut); opacity: 1; }
.field__input:focus { border-color: var(--pink); }
.field__input--code { letter-spacing: 0.04em; text-transform: uppercase; }
.field__input--amount { padding-right: 44px; font-variant-numeric: tabular-nums; }
.field__input--date { padding-right: 44px; }
.field__input--select { padding-right: 40px; appearance: none; -webkit-appearance: none; }
.field__input--area { height: 96px; padding: 12px 14px; line-height: 24px; resize: none; }
.field__suffix { position: absolute; right: 14px; top: 0; height: 48px; display: flex; align-items: center; font-size: 16px; color: var(--mut); }
.field__icon { position: absolute; right: 12px; top: 0; width: 28px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--mut); pointer-events: none; }
.field__icon--chevron { right: 14px; width: 20px; }
.date-field__native { position: absolute; right: 0; top: 0; width: 1px; height: 48px; opacity: 0; pointer-events: none; }
.has-error .field__input { border-color: var(--danger-fg); }
.has-error .field__hint { color: var(--danger-fg); }

.bill-quote {
    background: var(--tint);
    border: 1px solid var(--line-pink);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 21px;
    color: var(--ink-3);
}
.bill-quote[hidden] { display: none; }
.bill-quote strong { font-weight: 700; color: var(--ink); }
.bill-quote--danger { background: var(--danger-bg); border-color: transparent; color: var(--danger-fg); }
.bill-notice { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 21px; }
.bill-notice--warning { background: var(--warning-bg); color: var(--warning-fg); }
.bill-notice--danger { background: var(--danger-bg); color: var(--danger-fg); }

.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 699px) {
    .method-grid { grid-template-columns: minmax(0, 1fr); }
}
.method {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line-3);
    background: var(--field);
    border-radius: 10px;
    cursor: pointer;
    min-width: 0;
}
.method__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.method__dot { flex: none; width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid var(--line-3); display: flex; align-items: center; justify-content: center; }
.method__dot::after { content: ''; width: 8px; height: 8px; border-radius: 999px; background: transparent; }
.method__text { font-size: 15px; line-height: 21px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.method:has(.method__input:checked) { border-color: var(--pink); background: var(--tint); }
.method:has(.method__input:checked) .method__dot { border-color: var(--pink); }
.method:has(.method__input:checked) .method__dot::after { background: var(--pink); }
.method:has(.method__input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }

.bill-pickup { display: none; flex-direction: column; gap: 20px; }
.bill-form:has(input[name="collection_method"][value="pickup"]:checked) .bill-pickup { display: flex; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 699px) {
    .pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.bill-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--pink);
    color: var(--on-pink);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.bill-button:hover { opacity: 0.9; color: var(--on-pink); }
.bill-button[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.bill-button--plain { background: transparent; border: 1px solid var(--line-3); color: var(--ink); }
.bill-button--plain:hover { color: var(--ink); border-color: var(--pink); }
.bill-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bill-sent { display: flex; flex-direction: column; gap: 14px; }
.bill-sent__title { margin: 0; font-size: var(--h2); line-height: var(--h2-lh); font-weight: 600; color: var(--ink); }
.bill-sent__line { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-3); }

.home-steps { grid-area: steps; display: flex; flex-direction: column; gap: 20px; min-width: 0; align-self: start; }
.section-title { margin: 0; font-size: var(--h2); line-height: var(--h2-lh); font-weight: 600; color: var(--ink); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.step__number {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--tint);
    border: 1px solid var(--line-pink);
    color: var(--rose);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step__title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.step__text { font-size: 14px; line-height: 21px; color: var(--mut); }
@media (max-width: 699px) {
    .steps { grid-template-columns: minmax(0, 1fr); }
    .step { flex-direction: row; gap: 14px; }
}

.activity {
    grid-area: act;
    min-width: 0;
    background: var(--surf);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
}
.activity .section-title { margin-bottom: 8px; }
.activity-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 140px; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.activity-row:first-child { border-top: 0; }
.activity-row__code { font-family: var(--font-mono); font-size: 14px; line-height: 21px; color: var(--ink-2); white-space: nowrap; }
.activity-row__ago { justify-self: end; font-size: 13px; line-height: 19.5px; color: var(--mut); white-space: nowrap; }
.chip { justify-self: start; font-size: 13px; line-height: 19.5px; font-weight: 500; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.chip--info { background: var(--info-bg); color: var(--info-fg); }
.chip--success { background: var(--success-bg); color: var(--success-fg); }
.activity__total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; line-height: 21px; color: var(--mut); }
@media (max-width: 1199px) {
    .activity-row { grid-template-columns: minmax(0, 1fr) 140px 120px; }
}
@media (max-width: 699px) {
    .activity-row { grid-template-columns: minmax(0, 1fr) 108px 84px; gap: 10px; }
    .activity-row__code { font-size: 13px; }
}

.text-page__grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--text-pad-top) var(--pad-x) var(--text-pad-bottom);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1200px) {
    .text-page__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr); }
    .text-page__article { grid-column: 2; }
}
.text-page__article { min-width: 0; display: flex; flex-direction: column; }
.text-title { margin: 0; font-size: var(--page-h1); line-height: var(--page-h1-lh); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.text-updated { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; line-height: 20px; color: var(--mut); }
.text-page__article > p { margin: 0; font-size: 16px; line-height: 26.4px; color: var(--ink-3); }
.text-page__article > [data-k="text-intro"] { margin-top: 24px; }
.doc-section { margin-top: var(--section-gap); display: flex; flex-direction: column; gap: 14px; }
.doc-section h2 { margin: 0; font-size: var(--h2); line-height: var(--h2-lh); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.doc-section p { margin: 0; font-size: 16px; line-height: 26.4px; color: var(--ink-3); }
.doc-section ul, .doc-section ol { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 26.4px; color: var(--ink-3); }
.doc-section li { padding-left: 2px; }

.page > main:has(.notice) { display: flex; align-items: center; background: var(--band); }
.notice {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 96px var(--pad-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.notice-code { font-family: var(--font-mono); font-size: var(--big-num); line-height: 1; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); }
.notice-title { margin: 24px 0 0; font-size: var(--page-h1); line-height: var(--page-h1-lh); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.notice-text { margin: 12px 0 0; font-size: 16px; line-height: 26.4px; color: var(--ink-3); }
.notice-button {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    background: var(--pink);
    color: var(--on-pink);
    font-size: 16px;
    font-weight: 600;
}
.notice-button:hover { opacity: 0.9; color: var(--on-pink); }
@media (max-width: 699px) {
    .notice-button { width: 100%; }
}

.site-footer { border-top: 1px solid var(--line); background: var(--surf); }
.site-footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--foot-pad);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer-menu__item { display: inline-flex; align-items: center; min-height: var(--legal-h); font-size: 14px; line-height: 21px; color: var(--ink-4); }
.footer-menu__item:hover { color: var(--ink); }
.footer-copyright { font-size: 13px; line-height: 19.5px; color: var(--mut); }

[class*="group-bottom-"] { bottom: var(--float-edge) !important; right: var(--float-edge) !important; gap: 10px !important; flex-direction: column !important; z-index: 41 !important; }
[class*="group-bottom-"] .floating-widget-btn { width: 44px; height: 44px; border-radius: 999px; }
[class*="group-bottom-"] .floating-widget-theme {
    background-color: var(--surf) !important;
    border: 1px solid var(--line-3);
    color: var(--ink-3);
    box-shadow: 0 14px 30px -14px rgba(23, 41, 72, 0.4);
}
[class*="group-bottom-"] .floating-widget-theme:hover { border-color: #FB7B9B; color: var(--rose); }
[class*="group-bottom-"] a[href^="https://zalo.me"] { box-shadow: 0 14px 30px -12px rgba(0, 104, 255, 0.55); }
[class*="group-bottom-"] a[href^="https://zalo.me"]:hover { background-color: #0055D4 !important; }
[class*="group-bottom-"] a[href^="tel:"] { color: var(--on-pink); box-shadow: 0 14px 30px -12px rgba(251, 123, 155, 0.6); }
[class*="group-bottom-"] a[href^="tel:"]:hover { color: var(--on-pink); }

[class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-sun { display: none !important; }
[class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-moon { display: block !important; }
html[data-theme="dark"] [class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-sun { display: block !important; }
html[data-theme="dark"] [class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-moon { display: none !important; }
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) [class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-sun { display: block !important; }
    html:not([data-theme="light"]) [class*="group-bottom-"] .floating-widget-theme .floating-widget-theme-moon { display: none !important; }
}

.site-nav { display: flex; align-items: center; gap: 24px; min-width: 0; }
.site-nav__item { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.site-nav__item:hover, .site-nav__item[aria-current="page"] { color: var(--rose); }
@media (max-width: 699px) {
    .site-header__inner { gap: 12px; }
    .site-nav { gap: 12px; }
    .site-nav__item { font-size: 13px; }
}

.account { background: var(--band); }
.account__inner {
    max-width: calc(840px + 2 * var(--pad-x));
    margin: 0 auto;
    padding: var(--main-pad);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.account__inner--narrow { max-width: calc(680px + 2 * var(--pad-x)); }
.account__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--hero-gap); min-width: 0; }
.account__code { font-family: var(--font-mono); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.account__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.account__actions > * { flex: 1 1 220px; min-width: 0; }
.account__actions form { display: flex; }
.account__actions .bill-button { height: auto; min-height: 48px; padding: 12px 16px; text-align: center; }

.panel {
    background: var(--surf);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.panel__form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel__lead { margin: 0; font-size: 14px; line-height: 21px; color: var(--mut); }
.panel__empty { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-3); }
.bill-notice--success { background: var(--success-bg); color: var(--success-fg); }

.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.track__step { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.track__dot { display: block; height: 4px; border-radius: 2px; background: var(--line-3); }
.track__step.is-done .track__dot { background: var(--pink); }
.track__label { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--mut); }
.track__step.is-done .track__label { color: var(--ink); }
.track__time { font-size: 12px; line-height: 18px; color: var(--mut); }
@media (max-width: 699px) {
    .track { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .track__step { flex-direction: row; align-items: center; gap: 12px; }
    .track__dot { flex: none; width: 12px; height: 12px; border-radius: 999px; }
    .track__time { margin-left: auto; }
}

.facts { margin: 0; display: flex; flex-direction: column; }
.facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.facts__row:first-child { border-top: 0; padding-top: 0; }
.facts__row:last-child { padding-bottom: 0; }
.facts__row dt { margin: 0; color: var(--mut); }
.facts__row dd { margin: 0; text-align: right; font-weight: 500; color: var(--ink); }
.facts__row--total dd { font-size: 18px; font-weight: 700; }
.facts__mono { font-family: var(--font-mono); }

.pay {
    background: var(--surf);
    border: 1px solid var(--line-pink);
    border-radius: 16px;
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.bill-sent .pay { background: var(--tint); padding: 16px; border-radius: 12px; }
.pay.is-received { background: var(--success-bg); border-color: transparent; color: var(--success-fg); font-size: 15px; line-height: 22px; font-weight: 500; }
.pay__title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.pay__body { display: flex; align-items: flex-start; gap: 20px; min-width: 0; }
.pay__qr { flex: none; width: 176px; padding: 8px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 12px; }
.pay__qr svg { display: block; width: 100%; height: auto; }
.pay__rows { margin: 0; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pay__row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.pay__row:first-child { border-top: 0; padding-top: 0; }
.pay__label { font-size: 13px; line-height: 19.5px; color: var(--mut); }
.pay__value { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pay__value--wrap { white-space: normal; overflow-wrap: anywhere; }
.pay__value--mono { font-family: var(--font-mono); font-size: 14px; }
.pay__copy { border: 1px solid var(--line-3); background: var(--field); color: var(--ink-3); font: inherit; font-size: 13px; line-height: 19.5px; padding: 3px 10px; border-radius: 8px; cursor: pointer; }
.pay__copy:hover { border-color: var(--pink); color: var(--ink); }
.pay__hint { margin: 0; font-size: 13px; line-height: 19.5px; color: var(--mut); }
.pay__wait { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 19.5px; color: var(--info-fg); }
.pay__wait::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--info-fg); }
.bill-sent .pay__body { flex-direction: column; align-items: stretch; }
.bill-sent .pay__qr { align-self: center; }
.bill-sent .pay__row, .pay__row--stacked { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
.bill-sent .pay__label { grid-column: 1 / -1; }
.bill-sent .pay__copy { grid-row: 2; grid-column: 2; }
@media (max-width: 699px) {
    .pay__body { flex-direction: column; align-items: stretch; }
    .pay__qr { align-self: center; width: 200px; }
    .pay__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
    .pay__label { grid-column: 1 / -1; }
    .pay__copy { grid-row: 2; grid-column: 2; }
}

.list { display: flex; flex-direction: column; }
.list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.list__row:first-child { border-top: 0; padding-top: 0; }
.list__row:last-child { padding-bottom: 0; }
.list__row--form { grid-template-columns: minmax(0, 1fr) auto auto; margin: 0; }
.list__code { font-family: var(--font-mono); font-size: 14px; line-height: 21px; color: var(--ink-2); }
.list__amount { font-size: 14px; line-height: 21px; color: var(--ink-3); }
.list__button { border: 0; background: transparent; color: var(--danger-fg); font: inherit; font-size: 13px; line-height: 19.5px; padding: 4px 0; cursor: pointer; }
@media (max-width: 699px) {
    .list__row { grid-template-columns: minmax(0, 1fr) auto; }
    .list__row .chip { grid-column: 1 / -1; }
}
