:root {
    --feature-primary: #4f7ff1;
    --feature-primary-dark: #315fc9;
    --feature-ink: #17324d;
    --feature-muted: #718096;
    --feature-border: #e7edf5;
    --feature-surface: #ffffff;
    --feature-bg: #f3f7fc;
    --feature-nav-height: 72px;
}

.feature-original-tabbar {
    display: none !important;
}

.feature-tabbar {
    position: fixed;
    z-index: 998;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: var(--feature-nav-height);
    box-sizing: content-box;
    padding: 5px 8px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--feature-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(32, 61, 103, 0.08);
    backdrop-filter: blur(16px);
}

.feature-tabbar * {
    box-sizing: border-box;
}

.feature-tab-item {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 6px 2px 3px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #a7afbd;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.feature-tab-item.is-active {
    color: var(--feature-primary);
}

.feature-tab-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
}

.feature-tab-icon svg,
.feature-page-header svg,
.feature-service-avatar svg,
.feature-composer svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-tab-label {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.feature-tab-item.is-center {
    padding-top: 0;
}

.feature-tab-item.is-center .feature-tab-icon {
    width: 48px;
    height: 48px;
    margin-top: -27px;
    padding: 11px;
    border: 5px solid #f3f7fc;
    border-radius: 50%;
    background: linear-gradient(145deg, #75a1ff, var(--feature-primary));
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 127, 241, 0.28);
}

.feature-tab-item.is-center .feature-tab-label {
    margin-top: 1px;
}

.feature-unread {
    position: absolute;
    top: 0;
    left: calc(50% + 9px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 10px;
    background: #f05252;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 13px;
    text-align: center;
}

.myContainer .header .info1 {
    position: relative;
}

.feature-credit-pill {
    position: absolute;
    right: 0;
    top: 44px;
    bottom: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(145deg, #6b97f6, var(--feature-primary));
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(79, 127, 241, 0.22);
}

.feature-credit-pill > span:first-child {
    color: #ffd866;
}

.feature-about-item {
    display: flex !important;
    width: 100%;
    align-items: center;
    padding: 16px 12px !important;
    cursor: pointer;
}

.feature-operation-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    color: #111;
    margin-right: 10px;
}

.feature-operation-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-about-item .user-operation-title {
    color: #000;
    font-size: 13px;
}

.feature-overlay-host > :not(.feature-page) {
    display: none !important;
}

.feature-page {
    position: fixed;
    z-index: 920;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--feature-bg);
    color: var(--feature-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-overflow-scrolling: touch;
}

.feature-page * {
    box-sizing: border-box;
}

.feature-page button,
.feature-page textarea,
.feature-page input {
    font: inherit;
}

.feature-page-header {
    position: sticky;
    z-index: 5;
    top: 0;
    display: grid;
    min-height: 54px;
    align-items: center;
    grid-template-columns: 44px 1fr 44px;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid rgba(222, 230, 241, 0.9);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
}

.feature-page-header h1 {
    grid-column: 2;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 54px;
    text-align: center;
}

.feature-back {
    display: grid;
    width: 40px;
    height: 40px;
    grid-column: 1;
    grid-row: 1;
    margin-left: 4px;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--feature-ink);
    cursor: pointer;
}

.feature-back svg {
    width: 24px;
    height: 24px;
}

.feature-card {
    border: 1px solid rgba(226, 234, 245, 0.86);
    border-radius: 16px;
    background: var(--feature-surface);
    box-shadow: 0 7px 22px rgba(32, 61, 103, 0.06);
}

.feature-credit-content,
.feature-about-content {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 18px 16px 36px;
}

.feature-score-card {
    padding: 26px 20px 23px;
    border-radius: 22px;
    background: linear-gradient(145deg, #4778e8 0%, #719cf9 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 36px rgba(60, 101, 198, 0.24);
}

.feature-score-ring {
    --score: 0;
    --score-color: #a9c5ff;
    position: relative;
    display: grid;
    width: 154px;
    height: 154px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(255, 255, 255, 0.22) 0);
}

.feature-score-ring.is-excellent {
    --score-color: #8ff0bd;
}

.feature-score-ring.is-good {
    --score-color: #d9e8ff;
}

.feature-score-ring.is-attention {
    --score-color: #ffd884;
}

.feature-score-ring.is-restricted {
    --score-color: #ff9fa5;
}

.feature-score-ring::before {
    position: absolute;
    inset: 10px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: linear-gradient(145deg, #5585ed, #6c98f6);
}

.feature-score-ring > div {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.feature-score-ring strong {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.feature-score-ring span {
    margin-top: 7px;
    font-size: 13px;
    opacity: 0.9;
}

.feature-score-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.feature-score-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.65;
}

.feature-benefits,
.feature-score-help {
    margin-top: 14px;
    padding: 18px;
}

.feature-benefits h3,
.feature-score-help h3 {
    margin: 0 0 14px;
    color: var(--feature-ink);
    font-size: 16px;
}

.feature-benefits > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #edf1f6;
}

.feature-benefits > div > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: #edf3ff;
    color: var(--feature-primary);
    font-weight: 800;
}

.feature-benefits p {
    display: flex;
    margin: 0;
    flex-direction: column;
    gap: 4px;
}

.feature-benefits strong {
    font-size: 14px;
}

.feature-benefits small,
.feature-score-help p {
    color: var(--feature-muted);
    font-size: 13px;
    line-height: 1.6;
}

.feature-score-help p {
    margin: 0;
}

.feature-service-page {
    display: flex;
    padding-bottom: calc(var(--feature-nav-height) + 11px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    flex-direction: column;
}

.feature-service-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 16px 0;
    padding: 10px 0 12px;
    border-bottom: 1px solid var(--feature-border);
}

.feature-service-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 7px;
    place-items: center;
    border: 1px solid #cbd9ec;
    border-radius: 50%;
    background: #fff;
    color: var(--feature-primary);
}

.feature-service-summary {
    min-width: 0;
}

.feature-service-note {
    margin: 0;
    color: #39495b;
    font-size: 13px;
    line-height: 1.4;
}

.feature-service-state {
    display: block;
    margin-top: 3px;
    color: #7b8798;
    font-size: 11px;
}

.feature-service-state.is-open {
    color: #43815f;
}

.feature-external-service {
    margin-left: auto;
    padding: 8px 11px;
    border: 0;
    border-radius: 12px;
    background: var(--feature-primary);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.feature-message-list {
    display: flex;
    min-height: 0;
    padding: 14px;
    overflow-y: auto;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    overscroll-behavior: contain;
}

.feature-empty-chat {
    display: flex;
    width: 82%;
    margin: auto;
    padding: 16px;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--feature-muted);
    text-align: center;
}

.feature-empty-chat strong {
    color: var(--feature-ink);
    font-size: 15px;
}

.feature-empty-chat span {
    font-size: 12px;
    line-height: 1.6;
}

.feature-message-row {
    display: flex;
    width: 100%;
}

.feature-message-row.is-user {
    justify-content: flex-end;
}

.feature-message-bubble {
    max-width: 78%;
    padding: 10px 12px 7px;
    border: 1px solid #e1e6ed;
    border-radius: 4px 12px 12px;
    background: #fff;
}

.feature-message-row.is-user .feature-message-bubble {
    border-color: transparent;
    border-radius: 12px 4px 12px 12px;
    background: var(--feature-primary);
    color: #fff;
}

.feature-message-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.feature-message-bubble small {
    display: block;
    margin-top: 5px;
    color: #94a0b0;
    font-size: 10px;
    text-align: right;
}

.feature-message-row.is-user .feature-message-bubble small {
    color: rgba(255, 255, 255, 0.78);
}

.feature-attachment {
    display: block;
    max-width: 100%;
    margin: 6px 0 2px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid #dce6f5;
    border-radius: 10px;
    background: #f5f8fd;
    color: #4265a6;
    font-size: 12px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.feature-message-image {
    display: block;
    max-width: 100%;
    max-height: 260px;
    margin: 6px 0;
    border-radius: 10px;
    object-fit: contain;
}

.feature-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--feature-border);
    background: #fff;
}

.feature-attach,
.feature-send {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 9px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.feature-attach {
    background: #edf3fc;
    color: #63758d;
}

.feature-attach input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.feature-send {
    background: var(--feature-primary);
    color: #fff;
}

.feature-send:disabled {
    opacity: 0.55;
}

.feature-input-wrap {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.feature-message-input {
    width: 100%;
    min-height: 40px;
    max-height: 90px;
    padding: 10px 12px;
    resize: none;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    outline: 0;
    background: #f8fafc;
    color: var(--feature-ink);
    font-size: 14px;
    line-height: 18px;
}

.feature-message-input:focus {
    border-color: #9cb8f6;
    background: #fff;
}

.feature-file-name {
    max-width: 100%;
    margin: 3px 5px 0;
    overflow: hidden;
    color: var(--feature-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-about-content {
    padding-top: 14px;
}

.feature-about-section {
    padding: 17px 16px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #fff;
}

.feature-about-section + .feature-about-section {
    margin-top: 12px;
}

.feature-about-section h2 {
    margin: 0 0 12px;
    color: #182433;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.feature-company-name {
    margin: 0;
    color: #39495b;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.feature-license-frame {
    padding: 6px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fafafa;
}

.feature-license-frame img {
    display: block;
    width: 100%;
    max-height: 460px;
    border-radius: 4px;
    object-fit: contain;
}

.feature-license-empty {
    margin: 0;
    padding: 26px 12px;
    border: 1px dashed #d6dce5;
    border-radius: 8px;
    color: #8a96a5;
    font-size: 13px;
    text-align: center;
}

.feature-rich-text {
    margin-top: 14px;
    color: #39495b;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.feature-rich-text > :first-child {
    margin-top: 0;
}

.feature-rich-text > :last-child {
    margin-bottom: 0;
}

.feature-rich-text img {
    max-width: 100%;
    height: auto;
}

.feature-rich-text h1,
.feature-rich-text h2,
.feature-rich-text h3,
.feature-rich-text h4 {
    margin: 1em 0 0.55em;
    color: #182433;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.feature-rich-text p,
.feature-rich-text ul,
.feature-rich-text ol,
.feature-rich-text blockquote {
    margin: 0.7em 0;
}

.feature-rich-text ul,
.feature-rich-text ol {
    padding-left: 1.5em;
}

.feature-rich-text blockquote {
    padding-left: 12px;
    border-left: 3px solid #d8e0eb;
    color: #607083;
}

.feature-rich-text table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.feature-rich-text th,
.feature-rich-text td {
    padding: 7px 9px;
    border: 1px solid #dfe4eb;
    text-align: left;
}

.feature-toast {
    position: fixed;
    z-index: 2000;
    top: 50%;
    left: 50%;
    max-width: min(80vw, 320px);
    padding: 11px 16px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: rgba(20, 32, 50, 0.9);
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
}

@media (min-width: 481px) {
    html.mobile-canvas-desktop .feature-tabbar,
    html.mobile-canvas-desktop .feature-page {
        right: var(--mobile-canvas-gutter) !important;
        left: var(--mobile-canvas-gutter) !important;
        width: auto !important;
    }
}

@media (max-width: 360px) {
    .feature-tabbar {
        padding-right: 2px;
        padding-left: 2px;
    }

    .feature-tab-label {
        font-size: 11px;
    }

    .feature-service-banner {
        margin-right: 10px;
        margin-left: 10px;
    }

    .feature-message-list {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-page *,
    .feature-tabbar * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Reference-aligned account area.  All selectors are namespaced so the
 * existing task, order and finance pages keep their original styles. */
.myContainer[data-sgc-my-source="1"] {
    display: none !important;
}

.sgc-my-shell {
    position: fixed;
    z-index: 930;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 465px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px 12px calc(92px + env(safe-area-inset-bottom, 0px));
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    background:
        radial-gradient(ellipse at 15% 18%, rgba(255, 255, 255, .72) 0 3%, transparent 3.5%),
        radial-gradient(ellipse at 88% 36%, rgba(255, 255, 255, .58) 0 4%, transparent 4.5%),
        linear-gradient(145deg, #fff8f1 0%, #edf8fb 48%, #f8fbff 100%);
    color: #15253a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-overflow-scrolling: touch;
}

.sgc-my-shell * {
    box-sizing: border-box;
}

.sgc-my-shell input,
.sgc-my-shell textarea {
    -webkit-user-select: text;
    user-select: text;
}

@media (min-width: 481px) {
    .sgc-my-shell {
        right: auto;
        left: var(--mobile-canvas-gutter, calc((100vw - 480px) / 2));
        width: var(--mobile-canvas-width, 480px);
        max-width: 465px;
        margin-right: 0;
        margin-left: 0;
    }
}

.sgc-my-card {
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(68, 101, 127, .08);
}

.sgc-my-hero {
    position: relative;
    display: flex;
    min-height: 136px;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 22px 20px;
    background: linear-gradient(135deg, #ff765f 0%, #ff4168 100%);
    color: #fff;
}

.sgc-my-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.sgc-my-orb-large {
    top: -24px;
    right: -12px;
    width: 118px;
    height: 118px;
    background: rgba(255, 205, 153, .72);
}

.sgc-my-orb-small {
    right: -32px;
    bottom: -48px;
    width: 144px;
    height: 144px;
    border: 18px solid rgba(255, 143, 138, .30);
}

.sgc-my-avatar-wrap {
    position: relative;
    z-index: 1;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
}

.sgc-my-avatar-wrap img {
    display: block;
    width: 76px;
    height: 76px;
    border: 3px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    object-fit: cover;
}

.sgc-my-crown {
    position: absolute;
    right: -3px;
    bottom: -2px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #3a2a1f;
    color: #ffdd67;
    font-size: 13px;
    line-height: 1;
}

.sgc-my-identity {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.sgc-my-identity strong {
    overflow: hidden;
    font-size: 22px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sgc-my-identity > span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}

.sgc-my-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}

.sgc-my-pills span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 10px;
    border-radius: 13px;
    background: rgba(77, 29, 28, .86);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.sgc-my-pills span + span {
    background: rgba(255, 255, 255, .22);
}

.sgc-my-identifiers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.4;
}

.sgc-my-identifiers b {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.sgc-my-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #4f7ff1;
    cursor: pointer;
}

.sgc-my-account {
    margin-top: 14px;
    padding: 16px;
}

.sgc-my-account h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #15253a;
    font-size: 16px;
    line-height: 1.3;
}

.sgc-my-account h2 span {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #ff5d4b;
}

.sgc-my-account h2 svg,
.sgc-my-menu-icon svg,
.sgc-my-menu-chevron svg,
.sgc-my-logout svg,
.sgc-my-ledger-icon svg,
.sgc-my-security-item svg,
.sgc-my-upload-action svg,
.sgc-my-back svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sgc-my-balance {
    padding: 13px 14px 14px;
    border-radius: 9px;
    background: linear-gradient(110deg, #fff1ed, #ffe9ef);
}

.sgc-my-balance small,
.sgc-my-ledger-balance small {
    display: block;
    color: #7c8fa5;
    font-size: 12px;
}

.sgc-my-balance strong {
    display: block;
    margin-top: 2px;
    color: #ff4960;
    font-size: 26px;
    line-height: 1.25;
}

.sgc-my-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.sgc-my-actions button,
.sgc-my-save {
    min-height: 44px;
    border: 0;
    border-radius: 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.sgc-my-actions button:first-child {
    background: #30231c;
}

.sgc-my-actions button:last-child,
.sgc-my-save {
    background: linear-gradient(110deg, #ff765f, #ff4168);
    box-shadow: 0 8px 18px rgba(255, 81, 99, .18);
}

.sgc-my-menu {
    margin-top: 14px;
    overflow: hidden;
}

.sgc-my-menu-item,
.sgc-my-security-item {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: transparent;
    color: #15253a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sgc-my-menu-item:last-child,
.sgc-my-security-item:last-child {
    border-bottom: 0;
}

.sgc-my-menu-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    color: #ff5d4b;
}

.sgc-my-menu-label,
.sgc-my-security-item > span:nth-child(2) {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 600;
}

.sgc-my-menu-chevron {
    display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    color: #9aa8b7;
}

.sgc-my-logout {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    margin-right: 0;
    margin-left: 0;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 93, 75, .16);
    border-radius: 12px;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    color: #ff574d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sgc-my-logout[data-authenticated="false"] {
    background: linear-gradient(110deg, #ff765f, #ff4168);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 81, 99, .18);
}

.sgc-my-logout[data-authenticated="true"] {
    background: linear-gradient(180deg, #fff, #fff7f6);
    border-color: rgba(255, 93, 75, .24);
    color: #e9574f;
    box-shadow: 0 6px 16px rgba(89, 53, 47, .06);
}

.sgc-my-logout:hover {
    border-color: rgba(255, 93, 75, .42);
    box-shadow: 0 8px 20px rgba(89, 53, 47, .1);
}

.sgc-my-logout[data-authenticated="false"]:hover {
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(255, 81, 99, .24);
}

.sgc-my-logout:active {
    transform: translateY(1px);
}

.sgc-my-logout:focus-visible {
    outline: 3px solid rgba(79, 127, 241, .32);
    outline-offset: 2px;
}

.sgc-my-logout > span:first-child {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
}

.sgc-my-status {
    margin: 10px 4px 0;
    color: #d4584b;
    font-size: 12px;
    text-align: center;
}

.sgc-my-subpage {
    padding-top: 0;
}

.sgc-my-subpage-header {
    display: grid;
    min-height: 58px;
    align-items: center;
    grid-template-columns: 42px 1fr 42px;
}

.sgc-my-subpage-header h1 {
    margin: 0;
    color: #102138;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.sgc-my-back {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #ff5d4b;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(68, 101, 127, .07);
}

.sgc-my-back svg {
    width: 22px;
    height: 22px;
}

.sgc-my-header-spacer {
    width: 42px;
    height: 1px;
}

.sgc-my-subpage-content {
    padding-top: 2px;
}

.sgc-my-notice {
    margin: 0 0 12px;
    padding: 13px 14px;
    border: 1px solid #ffcfc6;
    border-radius: 10px;
    background: rgba(255, 250, 247, .86);
    color: #df5b4d;
    font-size: 13px;
    line-height: 1.55;
}

.sgc-my-profile-form {
    padding: 16px;
}

.sgc-my-form-field,
.sgc-my-upload-field {
    position: relative;
    display: block;
    margin-bottom: 14px;
}

.sgc-my-form-label {
    display: block;
    margin: 0 0 7px 2px;
    color: #263b55;
    font-size: 13px;
    font-weight: 700;
}

.sgc-my-form-label em {
    color: #ff4f5e;
    font-style: normal;
}

.sgc-my-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #e3eaf1;
    border-radius: 9px;
    outline: 0;
    background: #f8fafc;
    color: #1c2d42;
    font-size: 14px;
}

.sgc-my-input:focus {
    border-color: #ff7b6b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 111, 94, .12);
}

.sgc-my-input::placeholder {
    color: #a4b2c2;
}

.sgc-my-upload-field {
    min-height: 53px;
    padding: 0 10px 0 13px;
    border: 1px solid #e3eaf1;
    border-radius: 9px;
    background: #f8fafc;
}

.sgc-my-upload-field .sgc-my-form-label {
    margin: 0;
    padding-top: 8px;
}

.sgc-my-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.sgc-my-upload-action {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    min-width: 60px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 16px;
    background: #33251d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
}

.sgc-my-upload-action span:first-child {
    display: inline-grid;
    width: 14px;
    height: 14px;
    place-items: center;
}

.sgc-my-upload-name {
    display: block;
    overflow: hidden;
    padding: 4px 70px 8px 0;
    color: #a4b2c2;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The compiled page contains generic label rules, so use an explicit force
 * class as well as the semantic hidden attribute for channel-only fields. */
.sgc-payment-field-hidden,
.sgc-my-qr-field[hidden],
.sgc-my-qr-preview[hidden],
.sgc-my-qr-remove[hidden] {
    display: none !important;
}

.sgc-my-qr-optional {
    margin-left: 5px;
    color: #8a99ab;
    font-size: 11px;
    font-weight: 400;
}

.sgc-my-qr-upload .sgc-my-upload-action {
    border: 0;
    cursor: pointer;
    font: inherit;
    pointer-events: auto;
}

.sgc-my-qr-upload .sgc-my-upload-action:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.sgc-my-qr-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    padding: 9px;
    border: 1px solid #e8edf3;
    border-radius: 9px;
    background: #fff;
}

.sgc-my-qr-preview-image {
    display: block;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f7fa;
}

.sgc-my-qr-preview-text {
    overflow: hidden;
    color: #617288;
    font-size: 12px;
    line-height: 1.5;
    text-overflow: ellipsis;
}

.sgc-my-qr-remove {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #65758a;
    font-size: 12px;
    cursor: pointer;
}

.sgc-my-upload-name.is-error {
    color: #d9554a;
}

.sgc-my-form-feedback {
    min-height: 20px;
    margin: 2px 2px 8px;
    color: #73849a;
    font-size: 12px;
    line-height: 1.5;
}

.sgc-my-form-feedback.is-error {
    color: #d9554a;
}

.sgc-my-form-feedback.is-success {
    color: #1f9a6b;
}

.sgc-my-save {
    display: block;
    width: 100%;
}

.sgc-my-save:disabled {
    cursor: wait;
    opacity: .65;
}

.sgc-my-ledger-balance {
    position: relative;
    min-height: 91px;
    margin-bottom: 14px;
    padding: 15px 17px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff765f, #ff4168);
    color: #fff;
}

.sgc-my-ledger-balance small {
    color: rgba(255, 255, 255, .9);
}

.sgc-my-ledger-balance strong {
    display: block;
    margin-top: 4px;
    font-size: 26px;
    line-height: 1.15;
}

.sgc-my-ledger-icon {
    position: absolute;
    top: 30px;
    right: 17px;
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
}

.sgc-my-filters {
    display: flex;
    gap: 7px;
    padding: 7px 8px;
    overflow-x: auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, .88);
    scrollbar-width: none;
}

.sgc-my-filters::-webkit-scrollbar {
    display: none;
}

.sgc-my-filters button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 18px;
    background: #f5f7fa;
    color: #6e829b;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.sgc-my-filters button.is-active {
    border-bottom: 2px solid #ff5264;
    background: #fff4f1;
    color: #e94e4e;
    font-weight: 700;
}

.sgc-my-task-status {
    display: flex;
    gap: 6px;
    margin-top: 7px;
    padding: 0 4px;
}

.sgc-my-task-status[hidden] {
    display: none;
}

.sgc-my-task-status button {
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f6f8fa;
    color: #7d8da1;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.sgc-my-task-status button.is-active {
    border-color: #ffd0c5;
    background: #fff6f3;
    color: #e85a4c;
}

.sgc-my-record-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
}

.sgc-my-record-summary > div {
    min-width: 0;
    padding: 3px 8px;
    border-right: 1px solid #edf0f4;
}

.sgc-my-record-summary > div:last-child {
    border-right: 0;
}

.sgc-my-record-summary small,
.sgc-my-record-summary strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sgc-my-record-summary small {
    color: #8a98a9;
    font-size: 11px;
}

.sgc-my-record-summary strong {
    margin-top: 4px;
    color: #263b55;
    font-size: 14px;
}

.sgc-my-record-summary strong.is-positive { color: #e95055; }
.sgc-my-record-summary strong.is-negative { color: #53677e; }

.sgc-my-transaction-list,
.sgc-my-message-list,
.sgc-my-about,
.sgc-my-security {
    margin-top: 12px;
    padding: 13px;
}

.sgc-my-empty {
    margin: 0;
    padding: 28px 10px;
    color: #8da0b5;
    font-size: 13px;
    text-align: center;
}

.sgc-my-empty.is-error {
    color: #d9554a;
}

.sgc-my-transaction {
    display: flex;
    min-height: 0;
    margin-bottom: 9px;
    padding: 13px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(68, 101, 127, .045);
}

.sgc-my-transaction:last-child {
    margin-bottom: 0;
}

.sgc-my-transaction-head {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sgc-my-transaction-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.sgc-my-transaction-title strong {
    overflow: hidden;
    color: #263b55;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sgc-my-transaction-mark {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 7px;
    background: #fff0eb;
    color: #e95b4e;
    font-size: 11px;
    font-weight: 700;
}

.sgc-my-transaction-status {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 10px;
    background: #f4f6f9;
    color: #76879a;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.sgc-my-transaction-status.is-pending,
.sgc-my-transaction-status.is-processing { background: #fff5e5; color: #b87520; }
.sgc-my-transaction-status.is-success,
.sgc-my-transaction-status.is-completed,
.sgc-my-transaction-status.is-approved { background: #ebf7f0; color: #3c815d; }
.sgc-my-transaction-status.is-failed,
.sgc-my-transaction-status.is-rejected,
.sgc-my-transaction-status.is-cancelled { background: #fff0f0; color: #d45858; }

.sgc-my-transaction-main {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sgc-my-transaction-main strong {
    color: #15253a;
    font-size: 18px;
    font-weight: 700;
}

.sgc-my-transaction-main time,
.sgc-my-message time {
    color: #9aa8b7;
    font-size: 11px;
}

.sgc-my-transaction-amount {
    flex: 0 0 auto;
}

.sgc-my-transaction-amount.is-positive {
    color: #f05a58;
}

.sgc-my-transaction-amount.is-negative {
    color: #53677e;
}

.sgc-my-transaction-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #f0f2f5;
}

.sgc-my-transaction-meta > div { min-width: 0; }
.sgc-my-transaction-meta dt { color: #9aa8b7; font-size: 10px; }
.sgc-my-transaction-meta dd {
    overflow: hidden;
    margin: 2px 0 0;
    color: #61758d;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sgc-my-message {
    padding: 10px 2px;
    border-bottom: 1px solid #edf0f4;
}

.sgc-my-message:last-child {
    border-bottom: 0;
}

.sgc-my-message strong {
    color: #263b55;
    font-size: 14px;
}

.sgc-my-message p {
    margin: 6px 0;
    color: #61758d;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.sgc-my-about h2 {
    margin: 0 0 12px;
    color: #263b55;
    font-size: 17px;
}

.sgc-my-about-content {
    color: #61758d;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.sgc-my-about-content img {
    max-width: 100%;
    height: auto;
}

.sgc-my-security {
    padding: 0;
    overflow: hidden;
}

.sgc-my-security > .sgc-my-security-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 18px;
    min-width: 0;
    min-height: 64px;
    gap: 12px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.sgc-my-security > .sgc-my-security-item > .sgc-my-menu-label {
    min-width: 0;
    line-height: 22px;
}

.sgc-my-security > .sgc-my-security-item:active {
    background: #fff6f3;
}

.sgc-my-security > .sgc-my-security-item:focus-visible {
    outline: 2px solid #ff5d4b;
    outline-offset: -3px;
}

.sgc-my-security-item > .sgc-my-menu-icon {
    color: #ff5d4b;
}

.sgc-my-subview .feature-tabbar {
    display: none !important;
}

.sgc-my-tabbar,
.sgc-my-active .feature-tabbar {
    z-index: 940;
    border-top-color: #f1e7e5;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(124, 74, 75, .10);
}

.sgc-my-active .feature-tab-item {
    color: #96a4b5;
}

.sgc-my-active .feature-tab-item.is-active {
    color: #ff5363;
}

.sgc-my-active .feature-tab-item.is-center .feature-tab-icon {
    border-color: #fff8f1;
    background: linear-gradient(145deg, #ff765f, #ff4168);
    box-shadow: 0 8px 20px rgba(255, 81, 99, .28);
}

@media (max-width: 360px) {
    .sgc-my-shell {
        padding-right: 9px;
        padding-left: 9px;
    }

    .sgc-my-hero {
        gap: 10px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .sgc-my-avatar-wrap,
    .sgc-my-avatar-wrap img {
        width: 68px;
        height: 68px;
    }

    .sgc-my-record-summary {
        gap: 2px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .sgc-my-record-summary > div {
        padding-right: 5px;
        padding-left: 5px;
    }
}
