
.economy-login-brand p {
    max-width: 680px;
    margin: 0;
    color: #215180;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.55;
}

.economy-login-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.economy-login-badges span {
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: #24446b;
    box-shadow: 0 12px 28px rgba(20,78,130,0.12);
    padding: 11px 14px;
    font-weight: 1000;
}

.economy-login-card {
    display: grid;
    align-content: center;
    padding: clamp(20px, 3vw, 34px);
}

.economy-login-form {
    display: grid;
    gap: 14px;
}

.economy-login-form h2 {
    margin: 6px 0 0;
    color: #14355f;
    font-size: 30px;
    line-height: 1.16;
}

.economy-login-field {
    display: grid;
    gap: 7px;
    color: #24425f;
    font-weight: 1000;
}

.economy-login-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cdd9e8;
    border-radius: 8px;
    background: #fff;
    color: #14355f;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    padding: 14px;
}

.economy-login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #315276;
    font-weight: 900;
}

.economy-login-submit {
    min-height: 54px;
    justify-content: center;
    font-size: 17px;
}

.economy-login-admin-entry {
    display: grid;
    gap: 8px;
    margin-top: 2px;
    padding-top: 13px;
    border-top: 1px solid rgba(49, 82, 118, 0.16);
}

.economy-login-admin-entry span {
    color: #176444;
    font-size: 12px;
    font-weight: 1000;
}

.economy-login-admin-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.economy-login-admin-button {
    min-height: 46px;
    border: 1px solid #bfd2e8;
    border-radius: 8px;
    background: #f8fbff;
    color: #14355f;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}

.economy-login-admin-button.secondary {
    background: #ffffff;
    color: #35516a;
    border-color: rgba(49, 82, 118, 0.2);
}

.economy-login-admin-button:hover {
    border-color: #7fb3e8;
    background: #edf7ff;
}

.economy-login-message {
    min-height: 22px;
    border-radius: 8px;
    color: #5f7694;
    font-weight: 900;
    line-height: 1.45;
}

.economy-login-message[data-tone="success"] {
    color: #126541;
}

.economy-login-message[data-tone="warn"] {
    color: #a23327;
}

.economy-login-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.economy-login-class-grid button {
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px;
    color: #14355f;
    font: inherit;
    font-weight: 900;
    text-align: left;
}

.economy-login-class-grid button.is-active {
    border-color: #f4c95d;
    background: #fff6c7;
    color: #8a4a00;
}

[data-course-step="wallet"] .economy-dashboard-content {
    gap: 12px;
}

[data-course-step="wallet"] .economy-course-activity {
    padding: 0;
}

[data-course-step="wallet"] .economy-dashboard-pig-note {
    display: none;
}

.economy-home-student-menu {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(37,99,235,0.14);
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 28px rgba(20,78,130,0.1);
}

.economy-home-student-menu-head {
    display: grid;
    gap: 5px;
}

.economy-home-student-menu-head h3,
.economy-home-student-menu-head p {
    margin: 0;
}

.economy-home-student-menu-head h3 {
    color: #14355f;
    font-size: 20px;
    font-weight: 1000;
}

.economy-home-student-menu-head p {
    color: #5f7694;
    font-size: 13px;
    font-weight: 800;
}

.economy-home-student-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.economy-home-student-menu-card {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 5px 10px;
    padding: 12px;
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 8px;
    background: #f8fbff;
    color: #14355f;
    text-decoration: none;
}

.economy-home-student-menu-card:hover {
    border-color: rgba(37,99,235,0.35);
    background: #eff6ff;
}

.economy-home-student-menu-card span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e2fbef;
    font-size: 20px;
}

.economy-home-student-menu-card strong,
.economy-home-student-menu-card small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.economy-home-student-menu-card strong {
    font-size: 15px;
    font-weight: 1000;
    line-height: 1.25;
}

.economy-home-student-menu-card small {
    color: #5f7694;
    font-size: 12px;
    font-weight: 900;
}

.economy-home-mission-strip {
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 8px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 12px 28px rgba(20,78,130,0.14);
    padding: 20px;
}

.economy-home-mission-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: start;
}

.economy-home-mission-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 8px;
}

.economy-home-mission-copy .economy-wallet-card-icon {
    grid-row: 1;
}

.economy-home-mission-list {
    display: grid;
    gap: 9px;
}

.economy-home-mission-list button {
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
    color: #14355f;
    display: grid;
    grid-template-columns: minmax(78px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.economy-home-mission-list strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 1000;
}

.economy-home-mission-list span {
    color: #176444;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.economy-home-mission-more {
    background: #eef6ff !important;
    border-color: rgba(37,99,235,0.22) !important;
}

.economy-wallet-level-line {
    position: relative;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow: none;
    color: #4a2b12;
    display: block;
    min-height: clamp(186px, 14.6vw, 236px);
    padding: 0;
}

.economy-wallet-level-title {
    position: absolute;
    left: 6.6%;
    top: 25.8%;
    width: 22.4%;
    height: 44%;
    display: grid;
    gap: clamp(3px, 0.35vw, 6px);
    justify-items: center;
    align-content: center;
    min-width: 0;
    min-height: 0;
    padding: 0 clamp(12px, 1.2vw, 20px);
    text-align: center;
}

.economy-wallet-level-title h3,
.economy-wallet-level-main p {
    margin: 0;
}

.economy-wallet-level-title span {
    color: #5b3717;
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1.1;
}

.economy-wallet-level-title h3 {
    color: #3b2311;
    font-size: clamp(22px, 1.9vw, 31px);
    line-height: 1.08;
    font-weight: 1000;
}

.economy-wallet-level-main {
    position: absolute;
    left: 43.3%;
    top: 19.5%;
    width: 21%;
    height: 61%;
    min-width: 0;
    display: grid;
    gap: clamp(7px, 0.7vw, 11px);
    justify-items: center;
    align-content: center;
    padding: 0;
    text-align: center;
}

.economy-wallet-level-main .economy-dashboard-level-menu {
    justify-self: center;
    max-width: 100%;
}

.economy-wallet-level-main .economy-dashboard-level-menu summary {
    min-height: auto;
    padding: 0 6px;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #5c2e0a;
    font-size: clamp(22px, 1.95vw, 30px);
    line-height: 1.06;
    gap: 6px;
    text-shadow: 0 2px 0 rgba(255,245,208,0.9);
}

.economy-wallet-level-main .economy-dashboard-level-menu[open] summary {
    outline: 3px solid rgba(124,58,18,0.18);
    outline-offset: 3px;
}

.economy-wallet-level-main .economy-dashboard-level-summary {
    white-space: nowrap;
    overflow-wrap: normal;
    font-weight: 1000;
}

.economy-wallet-level-main .economy-dashboard-level-popover {
    left: 0;
    right: auto;
    text-align: left;
}

.economy-wallet-level-main p {
    display: grid;
    gap: 1px;
    min-height: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #ffe9ae;
    font-size: clamp(10px, 0.78vw, 12px);
    font-weight: 1000;
    line-height: 1.05;
    max-width: min(100%, 170px);
    padding: 0 4px;
    text-shadow: 0 2px 0 rgba(83, 40, 9, 0.65);
    transform: translate(clamp(-16px, -1vw, -10px), clamp(24px, 1.85vw, 30px));
    white-space: normal;
}

.economy-wallet-level-main p span,
.economy-wallet-level-main p strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.economy-wallet-level-main p strong {
    font-size: clamp(11px, 0.88vw, 13px);
}

.economy-wallet-level-actions {
    position: absolute;
    left: 65.1%;
    top: 29.5%;
    width: 27.7%;
    height: 48%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;
    gap: clamp(5px, 0.75vw, 11px);
    min-width: 0;
    padding: 0;
}

.economy-wallet-token-chip {
    min-width: 0;
    min-height: 0;
    border-radius: 8px;
    background: transparent;
    border: 0;
    display: grid;
    align-content: end;
    justify-items: center;
    gap: clamp(2px, 0.3vw, 4px);
    padding: clamp(36px, 3.2vw, 52px) 4px clamp(12px, 1.1vw, 18px);
    color: #3b2311;
    font-weight: 1000;
    white-space: normal;
    font: inherit;
    cursor: pointer;
    text-align: center;
}

.economy-wallet-token-chip:hover,
.economy-wallet-token-chip:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124,58,18,0.16);
}

.economy-wallet-token-chip span,
.economy-wallet-switch-button span {
    color: #5b3717;
    font-size: clamp(10px, 0.75vw, 12px);
    font-weight: 1000;
    line-height: 1.1;
}

.economy-wallet-token-chip strong {
    color: #2f1d0f;
    font-size: clamp(20px, 1.52vw, 27px);
    line-height: 1.05;
    font-weight: 1000;
    overflow-wrap: anywhere;
    white-space: nowrap;
}

.economy-wallet-switch-button strong {
    color: #2f1d0f;
    font-size: clamp(17px, 1.25vw, 23px);
    line-height: 1.05;
    font-weight: 1000;
    overflow-wrap: anywhere;
    white-space: nowrap;
}

.economy-wallet-switch-button {
    min-width: 0;
    min-height: 0;
    box-shadow: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #3b2311;
    display: grid;
    align-content: end;
    justify-items: center;
    gap: clamp(2px, 0.3vw, 4px);
    padding: clamp(36px, 3.2vw, 52px) 4px clamp(12px, 1.1vw, 18px);
    text-align: center;
}

.economy-wallet-switch-button:hover,
.economy-wallet-switch-button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124,58,18,0.16);
}

.economy-wallet-home-shell {
    position: relative;
    isolation: isolate;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: none;
}

.economy-wallet-home-shell::before {
    content: none;
}

.economy-wallet-home-shell-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.economy-wallet-card-icon {
    width: clamp(30px, 2.3vw, 36px);
    height: clamp(30px, 2.3vw, 36px);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    align-self: start;
    filter: drop-shadow(0 4px 5px rgba(91, 52, 15, 0.2));
}

.economy-wallet-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.economy-wallet-home-shell .economy-home-mission-strip,
.economy-wallet-home-shell .economy-wallet-notice-card,
.economy-wallet-home-shell .economy-wallet-avatar-card,
.economy-wallet-home-shell .economy-wallet-info-card,
.economy-wallet-home-shell .economy-wallet-parent-message-card,
.economy-wallet-home-shell .economy-wallet-timetable-card,
.economy-wallet-home-shell .economy-home-student-menu {
    border-color: rgba(142, 92, 38, .18);
    background: rgba(255, 252, 242, .84);
    box-shadow: 0 12px 24px rgba(94, 57, 20, .12);
}

.economy-wallet-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 12px;
    align-items: start;
}

.economy-wallet-main-column,
.economy-wallet-side-column {
    min-width: 0;
    display: grid;
    gap: 12px;
    align-content: start;
}

.economy-wallet-top-grid,
.economy-wallet-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 8px;
    align-items: stretch;
}

.economy-wallet-bottom-grid.is-single {
    grid-template-columns: 1fr;
}

.economy-wallet-bottom-grid .economy-home-mission-strip {
    grid-template-columns: 1fr;
    align-content: start;
}

.economy-wallet-notice-card {
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 8px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 12px 28px rgba(20,78,130,0.14);
    padding: 20px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.economy-wallet-notice-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.economy-wallet-notice-head,
.economy-wallet-info-head,
.economy-wallet-parent-message-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: stretch;
    align-items: start;
    gap: 8px 10px;
}

.economy-wallet-notice-head > a,
.economy-wallet-notice-head > button,
.economy-wallet-info-head > a,
.economy-wallet-info-head > button,
.economy-wallet-info-head > span:not(.economy-wallet-card-icon),
.economy-wallet-parent-message-head > a,
.economy-wallet-parent-message-head > button {
    grid-column: 3;
    align-self: start;
}

.economy-wallet-notice-head h3 {
    margin: 5px 0 0;
    color: #14355f;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 1000;
}

.economy-wallet-notice-head a,
.economy-wallet-notice-head button,
.economy-wallet-notice-more-row {
    color: #176444;
    font-size: 13px;
    font-weight: 1000;
    text-decoration: none;
    white-space: nowrap;
}

.economy-wallet-notice-head button,
.economy-wallet-notice-more-row {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.economy-wallet-notice-head button:disabled {
    cursor: default;
    opacity: .45;
}

.economy-wallet-notice-list {
    display: grid;
    gap: 9px;
}

.economy-wallet-notice-item {
    appearance: none;
    width: 100%;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
    color: #14355f;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
    font: inherit;
    padding: 12px;
    text-align: left;
    text-decoration: none;
}
