.account-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 2%, rgb(16 185 129 / 7%), transparent 28rem),
        #f3f7f5;
}
.account-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 68px;
    padding: 0 max(22px, calc((100% - 1120px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(203 218 211 / 80%);
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(14px);
}
.account-header img { width: 168px; display: block; }
.account-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #36594d;
    background: #f2f7f5;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: color .15s ease, background .15s ease, transform .15s ease;
}
.account-back-link:hover { color: #065f46; background: #e5f2ed; transform: translateX(-1px); }
.account-main { width: min(1060px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 90px; }
.account-login { max-width: 520px; margin: 26px auto 0; padding: 34px; border: 1px solid #d5e1dc; border-radius: 18px; background: #fff; box-shadow: 0 20px 55px rgba(11,45,34,.09); }
.account-login h1, .account-title-row h1 { margin: 5px 0 10px; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.account-login > p { color: #5b6c65; line-height: 1.6; }
.account-login form { display: grid; gap: 10px; margin-top: 26px; }
.account-login label { font-size: 12px; font-weight: 800; }
.account-login input { min-height: 50px; padding: 10px 13px; border: 1px solid #bccdc6; border-radius: 8px; }
.account-help, .account-status { margin: 0; color: #63756d; font-size: 12px; }
.account-status.error, .account-help.error, .account-error { color: #a11f1f; }
.account-status.success { color: #047857; }
.account-title-row {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
    padding: 30px 32px;
    border: 1px solid #0b5d49;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #063c31 0%, #075e48 62%, #0a7458 100%);
    box-shadow: 0 18px 42px rgb(6 78 59 / 16%);
}
.account-title-row::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgb(255 255 255 / 3%), 0 0 0 84px rgb(255 255 255 / 2%);
    pointer-events: none;
}
.account-title-copy { position: relative; z-index: 1; }
.account-title-row .eyebrow { color: #8ce3c3; }
.account-title-row h1 { color: #fff; }
.account-title-row p:last-child { max-width: 620px; margin: 0; color: #d8eee6; line-height: 1.55; }
.account-signout-form { position: relative; z-index: 1; margin: 0; }
.account-signout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgb(255 255 255 / 42%);
    border-radius: 9px;
    color: #fff;
    background: rgb(255 255 255 / 10%);
    box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
    font: 800 13px/1 "Inter Variable", Inter, Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.account-signout-button:hover { border-color: #fff; background: rgb(255 255 255 / 18%); transform: translateY(-1px); }
.account-signout-button:focus-visible { outline: 3px solid rgba(167,243,208,.42); outline-offset: 2px; }
.account-notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 10px; font-size: 13px; }
.account-notice.success { color: #075e48; background: #dcf8ed; border: 1px solid #91e6c7; }
.account-notice.error { color: #8a2020; background: #fff0f0; border: 1px solid #efb4b4; }
.account-retention-warning, .account-download-deadline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    color: #704214;
    background: #fffbf2;
    border: 1px solid #ead7ad;
    border-radius: 12px;
}
.account-retention-warning::before, .account-download-deadline::before {
    content: "?";
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    color: #8a5315;
    background: #f7e8c7;
    font-size: 17px;
    font-weight: 900;
}
.account-retention-warning { margin: 0 0 18px; padding: 14px 16px; }
.account-retention-warning strong { font-size: 13px; }
.account-retention-warning span, .account-download-deadline span { color: #88643b; line-height: 1.45; }
.account-processing-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #83d7bc;
    border-radius: 12px;
    color: #164e3e;
    background: linear-gradient(110deg, #e8faf3, #f5fcf9);
    box-shadow: 0 5px 18px rgba(7,128,95,.06);
}
.account-processing-notice div { display: grid; gap: 4px; }
.account-processing-notice strong { color: #075e48; font-size: 14px; }
.account-processing-notice span { font-size: 13px; line-height: 1.5; }
.account-processing-icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #075e48; background: #c9f2e3; font-size: 17px !important; }
.account-download-deadline { margin-top: 18px; padding: 12px 14px; font-size: 12px; }
.account-download-deadline.expired { color: #7f1d1d; background: #fef2f2; border-color: #fca5a5; }
.account-download-deadline.expired::before { content: "!"; color: #991b1b; background: #fee2e2; }
.account-empty { padding: 48px; border: 1px dashed #b9ccc4; border-radius: 16px; text-align: center; background: #fff; box-shadow: 0 10px 32px rgb(15 23 42 / 4%); }
.account-empty p { margin-bottom: 24px; color: #61726b; }
.account-empty .primary-button { display: inline-flex; text-decoration: none; }
.account-report-list { display: grid; gap: 20px; }
.account-report-card {
    overflow: hidden;
    padding: 26px;
    border: 1px solid #d2e0da;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(11,45,34,.07);
}
.account-report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; }
.account-report-summary { min-width: 0; }
.account-report-top h2 { overflow-wrap: anywhere; margin: 12px 0 7px; font-size: clamp(19px, 2.4vw, 23px); letter-spacing: -.025em; }
.account-report-summary > p { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; color: #697b73; font-size: 11px; }
.account-report-summary > p span { padding: 4px 8px; border-radius: 6px; background: #f2f6f4; }
.account-status-chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #6a5717; background: #fff4c7; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.account-status-chip.ready { color: #076348; background: #d9f8eb; }
.account-progress { flex: 0 0 230px; padding: 12px 14px; border-radius: 12px; text-align: right; background: #f5f9f7; }
.account-progress strong { display: block; color: #047857; font-size: 28px; line-height: 1.15; }
.account-progress span, .account-progress small { display: block; color: #6a7b74; font-size: 11px; }
.account-progress .account-progress-label { margin-bottom: 2px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-progress-bar { display: block; width: 100%; height: 9px; margin: 7px 0; overflow: hidden; border: 0; border-radius: 999px; background: #dfe9e4; appearance: none; }
.account-progress-bar::-webkit-progress-bar { border-radius: 999px; background: #dfe9e4; }
.account-progress-bar::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #10b981, #047857); }
.account-progress-bar::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #10b981, #047857); }
.account-progress small { margin-top: 4px; color: #8a6a18; white-space: nowrap; }
.account-report-video {
    display: grid;
    grid-template-columns: minmax(280px, 390px) 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #dce7e2;
    border-radius: 14px;
    background: linear-gradient(120deg, #f3f8f6, #f9fbfa);
}
.account-report-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #09241d; box-shadow: 0 7px 20px rgb(9 36 29 / 15%); }
.account-report-video strong, .account-report-video span { display: block; }
.account-report-video strong { margin-bottom: 7px; color: #123b2f; font-size: 16px; }
.account-report-video span { max-width: 430px; color: #64766e; font-size: 12px; line-height: 1.55; }
.account-report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #e3ebe7; color: #6a7a73; font-size: 11px; }
.account-report-actions .primary-button, .account-report-actions .secondary-button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 42px; margin: 0; padding: 10px 15px; border-radius: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.account-report-actions .primary-button { box-shadow: 0 5px 14px rgb(4 120 87 / 18%); }
.account-report-actions .secondary-button { color: #075e48; border: 1px solid #a8c4b9; background: #fff; }
.account-report-actions .secondary-button:hover { border-color: #047857; background: #edf7f3; }
.account-report-actions > span { flex: 1 1 100%; margin-top: 3px; }
@media (max-width: 760px) {
    .account-main { padding-top: 24px; }
    .account-title-row { padding: 25px; }
    .account-report-top, .account-report-actions { align-items: stretch; flex-direction: column; }
    .account-progress { width: 100%; flex-basis: auto; text-align: left; }
    .account-report-video { grid-template-columns: 1fr; }
    .account-report-actions .primary-button, .account-report-actions .secondary-button { width: 100%; }
}
@media (max-width: 520px) {
    .account-header { height: 62px; padding: 0 16px; }
    .account-header img { width: 148px; }
    .account-back-link { padding: 7px 9px; font-size: 0; }
    .account-back-link span { font-size: 16px; }
    .account-main { width: min(100% - 22px, 1060px); }
    .account-login { padding: 24px; }
    .account-title-row { flex-direction: column; }
    .account-signout-form, .account-signout-button { width: 100%; }
    .account-retention-warning { grid-template-columns: 1fr; }
    .account-retention-warning::before { display: none; }
    .account-report-card { padding: 18px; border-radius: 14px; }
}
