.xmp-account-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 20px 72px;
    color: #26211d;
}

.xmp-login-shell {
    max-width: 760px;
}

.xmp-account-card {
    border: 1px solid #e5ddd1;
    border-radius: 8px;
    background: rgba(255, 253, 248, .94);
    box-shadow: 0 18px 50px rgba(78, 60, 36, .08);
    padding: 28px;
}

.xmp-account-card + .xmp-account-card {
    margin-top: 18px;
}

.xmp-account-card h1,
.xmp-account-card h2 {
    margin: 0;
    color: #26211d;
    letter-spacing: 0;
}

.xmp-account-card h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
}

.xmp-account-card h2 {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.25;
}

.xmp-account-eyebrow {
    margin: 0 0 10px;
    color: #b38952;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.xmp-account-desc,
.xmp-account-muted {
    color: #71675d;
    line-height: 1.8;
}

.xmp-account-desc {
    max-width: 720px;
    margin: 16px 0 0;
    font-size: 17px;
}

.xmp-account-muted {
    margin: 18px 0 0;
    font-size: 14px;
}

.xmp-account-message {
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid #d8e6dc;
    border-radius: 8px;
    background: #f6fbf7;
    color: #2f5d45;
    line-height: 1.7;
}

.xmp-account-message.is-error {
    border-color: #f1c7c7;
    background: #fff7f7;
    color: #a33a3a;
}

.xmp-login-form {
    display: grid;
    gap: 17px;
    margin-top: 26px;
}

.xmp-login-form label {
    display: grid;
    gap: 8px;
    color: #2b2520;
    font-weight: 800;
}

.xmp-login-form input[type="text"],
.xmp-login-form input[type="password"],
.xmp-login-form input[type="tel"],
.xmp-phone-change-form input[type="tel"],
.xmp-phone-change-form input[type="text"] {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    background: #fff;
    padding: 10px 13px;
    color: #25201c;
    font-size: 16px;
    line-height: 1.5;
}

.xmp-login-form input:focus {
    border-color: #b38952;
    outline: 2px solid rgba(179, 137, 82, .16);
}

.xmp-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.xmp-code-row .xmp-button {
    min-width: 132px;
    padding-inline: 16px;
}

.xmp-sms-message {
    min-height: 24px;
    margin: 0;
    color: #2f5d45;
    font-weight: 800;
    line-height: 1.6;
}

.xmp-sms-message.is-error {
    color: #a33a3a;
}

.xmp-checkbox-line {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    align-items: center;
    color: #675c52 !important;
    font-weight: 700 !important;
}

.xmp-checkbox-line input {
    width: 18px;
    height: 18px;
}

.xmp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid #1f2933;
    border-radius: 6px;
    background: #1f2933;
    color: #fff !important;
    cursor: pointer;
    font-weight: 900;
    padding: 0 22px;
    text-decoration: none !important;
}

.xmp-button:hover {
    background: #111820;
    color: #fff !important;
}

.xmp-button-secondary {
    border-color: #d8d2c8;
    background: #fff;
    color: #302923 !important;
}

.xmp-button-secondary:hover {
    border-color: #b38952;
    background: #fffaf0;
    color: #302923 !important;
}

.xmp-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.xmp-logout-form {
    margin: 0;
}

.xmp-account-hero {
    margin-bottom: 20px;
}

.xmp-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.xmp-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.xmp-summary-table th,
.xmp-summary-table td {
    border-top: 1px solid #eee5da;
    padding: 13px 0;
    line-height: 1.65;
    text-align: left;
    vertical-align: top;
}

.xmp-summary-table tr:first-child th,
.xmp-summary-table tr:first-child td {
    border-top: 0;
}

.xmp-summary-table th {
    width: 34%;
    color: #8a7b6e;
    font-weight: 800;
    padding-right: 18px;
}

.xmp-summary-table td {
    color: #2d2722;
}

.xmp-course-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #4f473f;
    line-height: 1.7;
}

.xmp-phone-change-form {
    display: grid;
    gap: 16px;
}

.xmp-phone-change-form label {
    display: grid;
    gap: 8px;
    color: #2b2520;
    font-weight: 800;
}

.xmp-phone-code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.xmp-phone-code-grid .xmp-button {
    width: 100%;
}

.xmp-account-card a {
    color: #2f5d45;
    font-weight: 800;
}

@media (max-width: 720px) {
    .xmp-account-shell {
        padding: 34px 16px 50px;
    }

    .xmp-account-card {
        padding: 22px 18px;
    }

    .xmp-account-card h1 {
        font-size: 34px;
    }

    .xmp-account-card h2 {
        font-size: 21px;
    }

    .xmp-account-desc {
        font-size: 16px;
    }

    .xmp-account-grid {
        grid-template-columns: 1fr;
    }

    .xmp-action-row,
    .xmp-button {
        width: 100%;
    }

    .xmp-code-row,
    .xmp-phone-code-grid {
        grid-template-columns: 1fr;
    }

    .xmp-logout-form {
        width: 100%;
    }

    .xmp-summary-table th,
    .xmp-summary-table td {
        display: block;
        width: 100%;
        padding: 10px 0 0;
    }

    .xmp-summary-table th {
        border-top: 1px solid #eee5da;
        padding-right: 0;
    }

    .xmp-summary-table td {
        border-top: 0;
        padding-bottom: 10px;
    }
}
