/* Commercial member, mypage and classroom layer. */
:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-page,
.product-ui-site .textbook-account-page,
.product-ui-site .auth-page {
    background:
        radial-gradient(circle at 86% 8%, rgba(52, 120, 234, 0.065), transparent 24%),
        #f6f8fb;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head {
    margin: 0 -20px;
    padding: 40px 20px 36px;
    border-bottom: 1px solid var(--ui-border-soft);
    background:
        radial-gradient(circle at 74% 20%, rgba(52, 120, 234, 0.1), transparent 25%),
        linear-gradient(135deg, #fff 0%, #f3f7fd 56%, #eef6fb 100%);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head::after {
    background-image:
        linear-gradient(rgba(37, 99, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 216, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head-inner {
    width: min(1180px, 100%);
    align-items: flex-start;
    text-align: left;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head h1 {
    color: var(--ui-brand-950);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head nav {
    color: var(--ui-ink-muted);
    font-size: 12px;
    font-weight: 700;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-shell {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-main {
    min-width: 0;
}

@media (min-width: 1280px) {
    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-main {
        width: calc(100% + 40px);
    }
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side {
    position: sticky;
    top: 96px;
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--ui-border-soft);
    border-radius: var(--ui-radius-lg);
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side > h2 {
    min-height: 74px;
    margin: 0;
    padding: 24px 20px;
    background: var(--ui-brand-950);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block,
:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block.secondary,
:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block.buyer-identifier-menu {
    margin: 0;
    padding: 7px;
    border: 0;
    border-radius: 0;
    background: #fff;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block + .mypage-menu-block {
    border-top: 1px solid var(--ui-border-soft);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side a {
    position: relative;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    color: #475467;
    font-size: 13px;
    font-weight: 750;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block a + a {
    border-top: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side a:hover {
    background: var(--ui-surface-soft);
    color: var(--ui-brand-800);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side a.active {
    background: var(--ui-brand-50);
    color: var(--ui-brand-800);
    font-weight: 850;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side a.active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 11px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) :is(
    .mypage-history-panel,
    .material-order-history,
    .settlement-panel,
    .referrer-account-panel,
    .buyer-identifier-card,
    .member-info-panel,
    .member-sub-panel
) {
    border: 1px solid var(--ui-border-soft);
    border-radius: var(--ui-radius-lg);
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .settlement-panel > * {
    min-width: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-panel {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    padding: 24px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-panel > * {
    min-width: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid var(--ui-border-soft);
    border-radius: 14px;
    background: var(--ui-surface-soft);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter :is(input, select) {
    min-height: 42px;
    border: 1px solid var(--ui-border);
    border-radius: 10px;
    background-color: #fff;
    color: var(--ui-ink-strong);
    font-family: var(--ui-font-sans);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter :is(input, select):focus {
    border-color: var(--ui-brand-500);
    box-shadow: var(--ui-focus);
    outline: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter button {
    min-height: 42px;
    border: 1px solid var(--ui-brand-600);
    border-radius: 10px;
    background: var(--ui-brand-600);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(37, 99, 216, 0.17);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter .mypage-date-row button[aria-pressed="true"] {
    border-color: var(--ui-brand-950);
    background: var(--ui-brand-950);
    box-shadow: 0 8px 20px rgba(11, 31, 69, 0.26), inset 0 0 0 2px rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-filter .mypage-date-row button:focus-visible {
    outline: 3px solid rgba(37, 99, 216, 0.24);
    outline-offset: 2px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-table-top {
    margin-bottom: 12px;
    color: var(--ui-ink-muted);
    font-size: 13px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--ui-border-soft);
    border-radius: 14px;
    background: #fff;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .download-history-table {
    min-width: 900px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table {
    border-collapse: separate;
    border-spacing: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table th {
    height: 48px;
    padding: 12px 10px;
    border-color: var(--ui-border-soft);
    background: var(--ui-surface-soft);
    color: var(--ui-ink-muted);
    font-size: 12px;
    font-weight: 850;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table td {
    padding: 14px 10px;
    border-color: var(--ui-border-soft);
    color: var(--ui-ink);
    font-size: 13px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table tbody tr:hover td {
    background: #f8fbff;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) :is(.mypage-empty, .referrer-account-empty) {
    min-height: 260px;
    padding: 60px 24px;
    border: 1px dashed #cad6e6;
    border-radius: 16px;
    background: var(--ui-surface-soft);
    color: var(--ui-ink-muted);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) :is(
    .history-file-link,
    .payment-refund-request-btn,
    .cash-detail-btn,
    .settlement-request-btn,
    .mypage-saved-pay
) {
    border-radius: 9px;
    font-family: var(--ui-font-sans);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-saved-actions {
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--ui-border-soft);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-saved-actions button {
    min-height: 44px;
    border-radius: 10px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-download-actions {
    margin-top: 12px;
    padding: 14px 16px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-selection-count {
    color: var(--ui-ink-muted);
    font-size: 13px;
    font-weight: 750;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-selection-count strong {
    color: var(--service-action);
    font-size: 15px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-download-selected {
    min-width: 190px;
    border: 0;
    background: var(--service-action);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--service-action) 24%, transparent);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-download-selected:hover:not(:disabled) {
    background: var(--service-action-hover);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-download-selected:disabled {
    background: #cbd5e1;
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .profile-required-alert {
    border: 1px solid var(--ui-feedback-success-border);
    border-radius: 12px;
    background: var(--ui-feedback-success-bg);
    color: var(--ui-feedback-success-text);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) :is(.settlement-request-dialog, .cash-detail-dialog, .mypage-unsaved-box, .mypage-toast-box) {
    overflow: hidden;
    border: 1px solid var(--ui-border-soft);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(11, 31, 69, 0.26);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) :is(.settlement-request-submit, .primary-btn, .member-save-btn) {
    border: 1px solid var(--ui-brand-600);
    border-radius: 11px;
    background: var(--ui-brand-600);
    color: #fff;
    box-shadow: 0 9px 22px rgba(37, 99, 216, 0.2);
}

:is(.korean-mypage, .english-mypage, .academy-mypage).mypage-profile-section .member-view-container {
    width: min(1040px, calc(100% - 40px));
    padding-top: 44px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-panel {
    overflow: hidden;
    padding: 26px;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-field-group {
    overflow: hidden;
    border: 1px solid var(--ui-border-soft);
    border-radius: 14px;
    background: #fff;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-row {
    border-color: var(--ui-border-soft);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-label {
    background: var(--ui-surface-soft);
    color: #475467;
    font-size: 13px;
    font-weight: 800;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-value :is(input, select, textarea),
:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-password-grid input {
    min-height: 44px;
    border: 1px solid var(--ui-border);
    border-radius: 10px;
    font-family: var(--ui-font-sans);
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-value :is(input, select, textarea):focus,
:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-password-grid input:focus {
    border-color: var(--ui-brand-500);
    box-shadow: var(--ui-focus);
    outline: 0;
}

:is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-management-grid {
    gap: 18px;
    margin-top: 18px;
}

.product-ui-site .auth-page {
    min-height: calc(100vh - 72px);
    padding: 70px 20px 88px;
}

.product-ui-site .auth-card {
    border: 1px solid var(--ui-border-soft);
    border-radius: var(--ui-radius-xl);
    box-shadow: 0 24px 68px rgba(16, 36, 72, 0.13);
}

.product-ui-site .auth-card-header h1 {
    color: var(--ui-brand-950);
    letter-spacing: -0.05em;
}

.product-ui-site .auth-form input,
.product-ui-site .auth-form select {
    border-color: var(--ui-border);
    border-radius: var(--ui-radius-md);
}

.product-ui-site .auth-submit-btn {
    border-radius: var(--ui-radius-md);
    background: var(--ui-brand-600);
    box-shadow: 0 10px 24px rgba(37, 99, 216, 0.2);
}

.product-ui-site .auth-submit-btn:disabled,
.product-ui-site .auth-submit-btn:disabled:hover {
    background: #d7dee8;
    color: #7b8798;
    box-shadow: none;
    cursor: not-allowed;
}

.product-ui-site .phone-verification-row,
.product-ui-site .phone-code-row {
    grid-template-columns: minmax(0, 1fr) 138px;
    align-items: stretch;
}

.product-ui-site .phone-code-send-btn,
.product-ui-site .phone-code-verify-btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    border-radius: var(--ui-radius-md);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .product-ui-site .phone-verification-row,
    .product-ui-site .phone-code-row {
        grid-template-columns: 1fr;
    }
}

.product-ui-site .signup-category-options {
    border-color: var(--ui-border);
    border-radius: var(--ui-radius-md);
    background: #fff;
    box-shadow: none;
}

.product-ui-site .signup-category-option input:checked + span {
    background: var(--ui-brand-600);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 216, 0.18);
}

.product-ui-site .classroom-tab-shell {
    overflow: hidden;
    border: 1px solid var(--ui-border-soft);
    border-radius: var(--ui-radius-xl);
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}

.product-ui-site .classroom-type-tabs {
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--ui-border-soft);
    background: var(--ui-surface-soft);
}

.product-ui-site .classroom-type-tab,
.product-ui-site .classroom-filter-chip {
    border-radius: 10px;
}

.product-ui-site .classroom-type-tab.active,
.product-ui-site .classroom-filter-chip.active {
    background: var(--ui-brand-600);
    color: #fff;
    box-shadow: 0 7px 16px rgba(37, 99, 216, 0.18);
}

.product-ui-site .classroom-card {
    border: 0;
    box-shadow: none;
}

.product-ui-site .video-item {
    border: 1px solid var(--ui-border-soft);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ui-shadow-xs);
    transition: border-color var(--ui-transition), box-shadow var(--ui-transition), transform var(--ui-transition);
}

.product-ui-site .video-item:hover {
    border-color: #bfd1ec;
    box-shadow: var(--ui-shadow-sm);
    transform: translateY(-1px);
}

.product-ui-site .empty-classroom {
    min-height: 280px;
    border: 1px dashed #cad6e6;
    border-radius: 16px;
    background: var(--ui-surface-soft);
}

@media (max-width: 860px) {
    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-shell {
        grid-template-columns: 1fr;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side {
        position: static;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side > h2 {
        min-height: 58px;
        padding: 18px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-menu-block {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-side a {
        flex: 0 0 auto;
    }
}

@media (max-width: 640px) {
    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-page {
        padding: 0 14px 56px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head {
        margin: 0 -14px;
        padding: 28px 14px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-hero-head h1 {
        font-size: 28px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-legacy-shell {
        width: 100%;
        margin-top: 20px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-panel,
    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-panel {
        padding: 16px;
        border-radius: 16px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table-wrap {
        overflow-x: auto;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .mypage-history-table {
        min-width: 720px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .settlement-summary-table {
        min-width: 0;
        table-layout: fixed;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage).mypage-profile-section .member-view-container {
        width: calc(100% - 28px);
        padding-top: 28px;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-row {
        grid-template-columns: 1fr;
    }

    :is(.korean-mypage, .english-mypage, .academy-mypage):not(.cash-payment-page) .member-info-label {
        padding-bottom: 0;
        background: #fff;
    }

    .product-ui-site .auth-page {
        padding: 42px 14px 64px;
    }

    .product-ui-site .auth-card {
        border-radius: 20px;
    }
}

@media (min-width: 641px) and (max-width: 860px) {
    :is(.korean-mypage, .english-mypage, .academy-mypage) .mypage-hero-head {
        margin-right: 0 !important;
        margin-left: 0 !important;
        border-radius: 18px;
    }
}

/* Self-service profile editor */
body.mypage-profile-section .member-view-container {
    width: min(1120px, calc(100% - 40px));
    padding: 48px 0 72px;
}

body.mypage-profile-section .member-view-heading {
    margin-bottom: 24px;
    text-align: left;
}

body.mypage-profile-section .member-view-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #2463d4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

body.mypage-profile-section .member-view-heading .member-view-title {
    margin: 0;
    color: #10213a;
    font-size: clamp(30px, 3vw, 40px);
    letter-spacing: -.04em;
}

body.mypage-profile-section .member-view-heading p {
    margin: 10px 0 0;
    color: #65748b;
    font-size: 15px;
}

body.mypage-profile-section .profile-editor {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid #dbe5f2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(43, 65, 96, .09);
}

body.mypage-profile-section .profile-editor .profile-identity-card {
    display: flex;
    align-items: center;
    min-height: 130px;
    padding: 22px 26px;
    border: 1px solid #dbe6f5;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
}

body.mypage-profile-section .profile-editor .member-photo-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

body.mypage-profile-section .profile-editor .profile-photo-cell {
    display: grid;
    grid-template-columns: 80px minmax(120px, auto) 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
}

body.mypage-profile-section .profile-editor :is(.member-avatar, .member-profile-image) {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

body.mypage-profile-section .profile-editor .profile-identity-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    order: 2;
}

body.mypage-profile-section .profile-editor .profile-identity-copy strong {
    color: #10213a;
    font-size: 21px;
}

body.mypage-profile-section .profile-editor .profile-identity-copy span,
body.mypage-profile-section .profile-editor .profile-identity-copy small {
    color: #64748b;
}

body.mypage-profile-section .profile-editor .profile-photo-actions {
    order: 3;
    justify-self: end;
}

body.mypage-profile-section .profile-editor .member-field-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
    border: 1px solid #e0e8f3;
    border-radius: 18px;
    background: #fff;
}

body.mypage-profile-section .profile-editor .member-info-row {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.mypage-profile-section .profile-editor .profile-field-full,
body.mypage-profile-section .profile-editor .consent-row {
    grid-column: 1 / -1;
}

body.mypage-profile-section .profile-editor .member-info-label {
    display: block;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    clip: auto;
    color: #33445c;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
}

body.mypage-profile-section .profile-editor .member-info-value {
    width: 100%;
    padding: 0;
}

body.mypage-profile-section .profile-editor :is(input[type="text"], input[type="tel"], input[type="email"], select) {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cad7e7;
    border-radius: 11px;
    color: #17243a;
    background: #fff;
    font-size: 14px;
    font-weight: 650;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.mypage-profile-section .profile-editor :is(input, select):focus {
    border-color: #2c6be8;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(44, 107, 232, .13);
}

body.mypage-profile-section .profile-editor input[readonly] {
    color: #77869a;
    background: #f5f7fa;
}

body.mypage-profile-section .profile-account-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body.mypage-profile-section .profile-account-types label {
    cursor: pointer;
}

body.mypage-profile-section .profile-account-types input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

body.mypage-profile-section .profile-account-types label > span {
    display: flex;
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 13px 16px;
    border: 1px solid #d5dfec;
    border-radius: 13px;
    background: #fafcff;
    transition: all .18s ease;
}

body.mypage-profile-section .profile-account-types label:has(input:checked) > span {
    border-color: #2c6be8;
    color: #174fab;
    background: #edf4ff;
    box-shadow: inset 0 0 0 1px #2c6be8;
}

body.mypage-profile-section .profile-account-types small {
    color: #718096;
    font-size: 12px;
}

body.mypage-profile-section .profile-account-type-note {
    margin: 9px 2px 0;
    color: #718096;
    font-size: 12px;
}

body.mypage-profile-section .profile-editor [hidden] {
    display: none !important;
}

body.mypage-profile-section .mypage-phone-input-row,
body.mypage-profile-section .mypage-phone-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 134px;
    gap: 10px;
}

body.mypage-profile-section .mypage-phone-code-row {
    margin-top: 10px;
}

body.mypage-profile-section .mypage-phone-verification button {
    min-height: 46px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #2867df;
    font-weight: 800;
}

body.mypage-profile-section .mypage-phone-verification button:disabled {
    color: #9dacbf;
    background: #e7edf5;
    cursor: not-allowed;
}

body.mypage-profile-section .mypage-phone-status {
    margin: 9px 2px 0;
    color: #51627a;
    font-size: 12px;
    font-weight: 700;
}

body.mypage-profile-section .mypage-phone-help {
    display: block;
    margin: 7px 2px 0;
    color: #60748e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

body.mypage-profile-section .mypage-phone-status::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #f59e0b;
}

body.mypage-profile-section .mypage-phone-status.is-success {
    color: #13834f;
}

body.mypage-profile-section .mypage-phone-status.is-success::before {
    background: #20b86b;
}

body.mypage-profile-section .mypage-phone-status.is-error {
    color: #d43d4f;
}

body.mypage-profile-section .mypage-phone-status.is-error::before {
    background: #e84c5c;
}

body.mypage-profile-section .profile-editor .member-consent-group {
    background: #f8fafc;
}

body.mypage-profile-section .profile-editor .consent-value {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

body.mypage-profile-section .profile-editor .member-meta-group {
    padding: 16px 22px;
    background: #f8fafc;
}

body.mypage-profile-section .profile-editor .member-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

body.mypage-profile-section .profile-editor .member-save-btn {
    min-width: 168px;
    min-height: 48px;
    border-radius: 12px;
}

@media (max-width: 720px) {
    body.mypage-profile-section .member-view-container {
        width: calc(100% - 28px);
        padding-top: 28px;
    }

    body.mypage-profile-section .profile-editor {
        padding: 16px;
        border-radius: 18px;
    }

    body.mypage-profile-section .profile-editor .profile-photo-cell {
        grid-template-columns: 64px 1fr;
        gap: 14px;
    }

    body.mypage-profile-section .profile-editor :is(.member-avatar, .member-profile-image) {
        width: 64px;
        height: 64px;
    }

    body.mypage-profile-section .profile-editor .profile-photo-actions {
        grid-column: 1 / -1;
        justify-self: start;
    }

    body.mypage-profile-section .profile-editor .member-field-group,
    body.mypage-profile-section .profile-account-types {
        grid-template-columns: 1fr;
    }

    body.mypage-profile-section .profile-editor .profile-field-half {
        grid-column: 1 / -1;
    }

    body.mypage-profile-section .mypage-phone-input-row,
    body.mypage-profile-section .mypage-phone-code-row {
        grid-template-columns: 1fr;
    }
}
