/* Tyfit Daily Check-in / Goal Tracking Premium Theme */
body[data-page^="checkin"],
body[data-page="daily-checkin"] {
    --checkin-primary: #6C63FF;
    --checkin-primary-2: #8B7CFF;
    --checkin-bg-soft: #F7F5FF;
    --checkin-bg-soft-2: #F4F1FF;
    --checkin-bg-soft-3: #EEEAFE;
    --checkin-text: #17172F;
    --checkin-muted: #667085;
    --checkin-green: #2ECC71;
    --checkin-yellow: #FFB800;
    --checkin-red: #FF5E7D;
    --checkin-border: rgba(108, 99, 255, 0.16);
    --checkin-card-shadow: 0 14px 35px rgba(108, 99, 255, 0.08);
    --checkin-soft-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

body[data-page^="checkin"] .tyfit-main-inner,
body[data-page="daily-checkin"] .tyfit-main-inner {
    padding-bottom: 112px;
}

.checkin-shell {
    display: grid;
    gap: 18px;
}

.checkin-hidden {
    display: none !important;
}

.checkin-hero-card {
    background: linear-gradient(135deg, var(--checkin-bg-soft) 0%, #FFFFFF 60%, var(--checkin-bg-soft-3) 100%);
    border: 1px solid var(--checkin-border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--checkin-card-shadow);
    position: relative;
    overflow: hidden;
}

.checkin-hero-card::after {
    content: "";
    position: absolute;
    right: -72px;
    top: -86px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, rgba(108, 99, 255, 0) 72%);
    pointer-events: none;
}

.checkin-eyebrow {
    margin: 0;
    color: #4C46B8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.checkin-title-row {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.checkin-title,
.checkin-greeting {
    margin: 0;
    color: var(--checkin-text);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.checkin-subtitle {
    margin: 8px 0 0;
    max-width: 760px;
    color: var(--checkin-muted);
    font-size: 15px;
    line-height: 1.5;
}

.checkin-secondary-btn,
.checkin-pill-btn {
    border: 1px solid var(--checkin-border);
    border-radius: 999px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.checkin-secondary-btn {
    color: #4D45CD;
    background: rgba(108, 99, 255, 0.07);
    border-color: rgba(108, 99, 255, 0.22);
}

.checkin-pill-btn {
    color: #444B5B;
    background: #FFFFFF;
}

.checkin-secondary-btn:hover,
.checkin-pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(108, 99, 255, 0.16);
}

.checkin-toolbar-card,
.checkin-panel,
.checkin-summary-card,
.checkin-success-card {
    background: #FFFFFF;
    border: 1px solid var(--checkin-border);
    border-radius: 22px;
    box-shadow: var(--checkin-card-shadow);
}

.checkin-toolbar-card {
    padding: 14px;
    display: grid;
    gap: 8px;
}

/* Two-line admin toolbar */
.checkin-admin-toolbar-row {
    display: grid;
    gap: 8px;
}

.checkin-admin-toolbar-head {
    display: flex;
    align-items: center;
}

.checkin-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(108, 99, 255, 0.11);
    border: 1px solid rgba(108, 99, 255, 0.22);
    color: #4D45CD;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    line-height: 1;
}

.checkin-admin-badge i {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

/* Purple-tinted select control */
.checkin-admin-user-select {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: #F3F1FF;
    border: 1px solid #DDD8FF;
}

.checkin-admin-contact-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: rgba(108, 99, 255, 0.58);
}

.checkin-admin-user-select select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #4B3FC7;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    padding: 0;
    line-height: 1.3;
}

.checkin-admin-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(108, 99, 255, 0.72);
    pointer-events: none;
}

.checkin-selected-date {
    margin: 0;
    color: #5E5693;
    font-size: 12px;
    font-weight: 400;
}

.checkin-goal-settings-btn {
    height: 36px;
    min-height: 36px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 14px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.86);
    color: rgba(108, 99, 255, 0.82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 580;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.checkin-goal-settings-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.1;
    color: rgba(108, 99, 255, 0.82);
}

.checkin-goal-settings-btn:hover {
    background: #FFFFFF;
    border-color: rgba(108, 99, 255, 0.18);
    color: #3F4560;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.045);
}

.checkin-goal-settings-btn:active {
    transform: translateY(1px) scale(0.98);
}

.checkin-goal-settings-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    filter: grayscale(0.08);
    box-shadow: none;
}

.checkin-user-select-wrap {
    display: grid;
    gap: 6px;
}

.checkin-user-select-wrap label {
    margin: 0;
    color: #5A5E73;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.checkin-select-control {
    position: relative;
}

.checkin-select-control select {
    width: 100%;
    min-height: 44px;
    padding: 10px 38px 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--checkin-border);
    background: #FFFFFF;
    color: #272743;
    font-size: 14px;
    font-weight: 600;
    appearance: none;
}

.checkin-select-control i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #726F95;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.checkin-goals-table-wrap {
    overflow: auto;
}

.checkin-goals-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.checkin-goals-table th {
    font-size: 11px;
    color: #6C7188;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
    padding: 0 14px;
}

.checkin-goals-table td {
    background: #FFFFFF;
    border-top: 1px solid var(--checkin-border);
    border-bottom: 1px solid var(--checkin-border);
    padding: 14px;
    color: #282545;
    font-size: 14px;
}

.checkin-goals-table td:first-child {
    border-left: 1px solid var(--checkin-border);
    border-radius: 16px 0 0 16px;
}

.checkin-goals-table td:last-child {
    border-right: 1px solid var(--checkin-border);
    border-radius: 0 16px 16px 0;
}

.checkin-goal-actions {
    display: inline-flex;
    gap: 8px;
}

.checkin-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background: rgba(108, 99, 255, 0.08);
    color: #5A52EA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkin-icon-btn.danger {
    color: #D93E62;
    border-color: rgba(255, 94, 125, 0.26);
    background: rgba(255, 94, 125, 0.1);
}

.checkin-mobile-goal-list {
    display: none;
    gap: 12px;
}

.checkin-goal-card {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1px solid rgba(108, 99, 255, 0.14);
    box-shadow: var(--checkin-soft-shadow);
    padding: 14px;
    display: grid;
    gap: 8px;
}

.checkin-goal-card h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1F2242;
}

.checkin-goal-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.checkin-goal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.checkin-tag {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
}

.checkin-tag--diet {
    color: #5A52EA;
    background: rgba(108, 99, 255, 0.15);
}

.checkin-tag--activity {
    color: #3759C9;
    background: rgba(80, 137, 255, 0.14);
}

.checkin-tag--supplement {
    color: #6E43C6;
    background: rgba(142, 106, 255, 0.14);
}

.checkin-tag--lifestyle {
    color: #117A65;
    background: rgba(46, 204, 113, 0.14);
}

.checkin-date-scroll,
.checkin-summary-calendar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
}

.checkin-date-scroll::-webkit-scrollbar,
.checkin-summary-calendar::-webkit-scrollbar {
    display: none;
}

.checkin-date-pill,
.checkin-summary-day {
    min-width: 74px;
    border-radius: 16px;
    border: 1px solid var(--checkin-border);
    background: #FFFFFF;
    color: #5E5A84;
    padding: 10px 8px 8px;
    display: grid;
    gap: 1px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    position: relative;
}

.checkin-date-pill strong {
    font-size: 16px;
    color: #262445;
    font-weight: 600;
}

.checkin-date-pill.is-active,
.checkin-summary-day.is-active {
    background: linear-gradient(135deg, #6C63FF 0%, #8B7CFF 100%);
    color: #F4F3FF;
    border-color: transparent;
}

.checkin-date-pill.is-active strong {
    color: #FFFFFF;
}

.checkin-date-dot,
.checkin-summary-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #6C63FF;
    margin: 2px auto 0;
}

.checkin-date-pill.is-active .checkin-date-dot,
.checkin-summary-day.is-active .checkin-summary-day-dot {
    background: #FFFFFF;
}

.checkin-progress-card {
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.checkin-progress-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/status/goal_card_glow.svg") right -18px top -16px / 270px auto no-repeat;
    opacity: 0.44;
    pointer-events: none;
}

.checkin-progress-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 114px 1fr;
    gap: 16px;
    align-items: center;
}

.checkin-ring-wrap {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.checkin-score-label {
    margin: 0;
    color: #5A5E73;
    font-size: 12px;
    font-weight: 600;
}

.checkin-ring {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    position: relative;
    background: conic-gradient(var(--checkin-primary) 0deg, rgba(108, 99, 255, 0.14) 0deg);
}

.checkin-ring::before {
    content: "";
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--checkin-border);
    position: absolute;
}

.checkin-ring-value {
    position: relative;
    z-index: 1;
    color: #2F2B56;
    font-size: 22px;
    font-weight: 800;
}

.checkin-metric-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.checkin-metric {
    border: 1px solid var(--checkin-border);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    background: #FFFFFF;
}

.checkin-metric strong {
    display: block;
    font-size: 20px;
    color: #262445;
}

.checkin-metric span {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

.checkin-group {
    display: grid;
    gap: 10px;
}

.checkin-group-panel {
    padding: 14px;
}

.checkin-group-title {
    margin: 0;
    color: #312E81;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.checkin-group-title i {
    width: 16px;
    height: 16px;
}

.checkin-goal-row {
    background: #FFFFFF;
    border: 1px solid rgba(108, 99, 255, 0.14);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 12px;
}

.checkin-goal-row-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.checkin-goal-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.12);
    color: #5A51F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkin-goal-text h4 {
    margin: 0;
    color: #1F2242;
    font-size: 15px;
    font-weight: 700;
}

.checkin-goal-text p {
    margin: 2px 0 0;
    color: #667085;
    font-size: 12px;
}

.checkin-goal-menu-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid var(--checkin-border);
    background: rgba(108, 99, 255, 0.08);
    color: #5750E5;
}

.checkin-status-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.checkin-status-btn {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(120, 126, 146, 0.25);
    background: #FFFFFF;
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.checkin-status-btn i {
    width: 15px;
    height: 15px;
}

.checkin-status-btn.is-active {
    box-shadow: 0 10px 18px rgba(31, 41, 55, 0.08);
    transform: translateY(-1px);
}

.checkin-status-btn[data-status="done"].is-active {
    background: #EAFBF1;
    border-color: rgba(46, 204, 113, 0.5);
    color: #1C8B4F;
}

.checkin-status-btn[data-status="partial"].is-active {
    background: #FFF7E5;
    border-color: rgba(255, 184, 0, 0.5);
    color: #B57C00;
}

.checkin-status-btn[data-status="missed"].is-active {
    background: #FFF0F2;
    border-color: rgba(255, 94, 125, 0.52);
    color: #CC3559;
}

.checkin-goal-extra {
    display: none;
}

.checkin-goal-extra.is-open {
    display: block;
}

.checkin-goal-extra textarea,
.checkin-goal-extra input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--checkin-border);
    background: #FFFFFF;
    color: #252648;
    font-size: 13px;
    padding: 10px 12px;
}

.checkin-goal-extra textarea {
    min-height: 78px;
    resize: vertical;
}

.checkin-empty-card {
    background: #FFFFFF;
    border: 1px dashed rgba(108, 99, 255, 0.35);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.checkin-empty-card h3 {
    margin: 0;
    color: #232447;
    font-size: 24px;
}

.checkin-empty-card p {
    margin: 0;
    color: #667085;
    max-width: 520px;
}

.checkin-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(108, 99, 255, 0.12);
    color: #5A51F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkin-sticky-submit {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 38px rgba(108, 99, 255, 0.16);
}

.checkin-sticky-submit .checkin-secondary-btn,
.checkin-cta-primary {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #6C63FF 0%, #8B7CFF 100%);
    border-color: transparent;
    box-shadow: 0 16px 24px rgba(108, 99, 255, 0.24);
}

.checkin-sheet-backdrop,
.checkin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 39, 0.35);
    backdrop-filter: blur(4px);
    z-index: 2100;
}

.checkin-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.checkin-action-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2101;
    border-radius: 22px 22px 0 0;
    background: #FFFFFF;
    border: 1px solid var(--checkin-border);
    box-shadow: 0 -14px 35px rgba(17, 24, 39, 0.14);
    padding: 18px;
    display: grid;
    gap: 10px;
}

.checkin-action-sheet h4 {
    margin: 0;
    color: #262445;
    font-size: 16px;
    font-weight: 700;
}

.checkin-sheet-option {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--checkin-border);
    background: rgba(108, 99, 255, 0.08);
    color: #4F49C6;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
}

.checkin-modal {
    width: min(100%, 860px);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid var(--checkin-border);
    box-shadow: 0 28px 56px rgba(17, 24, 39, 0.16);
    padding: 18px;
    display: grid;
    gap: 14px;
}

.checkin-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.checkin-modal-title-wrap {
    display: grid;
    gap: 3px;
}

.checkin-modal-head h3 {
    margin: 0;
    color: #1D2144;
    font-size: 25px;
    font-weight: 800;
}

.checkin-modal-subtitle {
    margin: 0;
    color: #667085;
    font-size: 12px;
}

.checkin-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkin-span-2 {
    grid-column: 1 / -1;
}

.checkin-form-field {
    display: grid;
    gap: 6px;
}

.checkin-form-field label {
    margin: 0;
    color: #565E70;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.checkin-form-field input,
.checkin-form-field select,
.checkin-form-field textarea {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--checkin-border);
    background: #FFFFFF;
    color: #252648;
    font-size: 15px;
    padding: 10px 12px;
}

.checkin-form-field textarea {
    min-height: 86px;
    resize: vertical;
}

@media (max-width: 767px) {
    .checkin-modal-overlay {
        padding: 10px;
    }

    .checkin-modal {
        width: min(100%, 640px);
        max-height: calc(100svh - 20px);
        border-radius: 22px;
        padding: 16px;
    }

    .checkin-modal-grid {
        grid-template-columns: 1fr;
    }

    .checkin-form-field input,
    .checkin-form-field select,
    .checkin-form-field textarea,
    .checkin-note-actual-input-wrap input,
    .checkin-note-modal textarea {
        font-size: 16px;
        min-height: 48px;
        border-radius: 16px;
    }

    .checkin-note-actual-input-wrap input {
        padding: 0 12px;
    }

    .checkin-note-modal textarea {
        min-height: 108px;
        padding: 12px;
    }

    .checkin-sticky-submit {
        left: 10px;
        right: 10px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        max-width: none;
        padding: 8px;
        border-radius: 20px;
    }
}

.checkin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.checkin-modal-cancel-btn,
.checkin-modal-save-btn {
    min-width: 132px;
    min-height: 44px;
    border-radius: 14px;
}

/* ===== Success Page Premium Theme ===== */
.checkin-success-page {
    min-height: 100vh;
    background: #FAFAFD;
    color: #111827;
    padding: 18px 16px 96px;
}

.tyfit-confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.success-content {
    width: min(100%, 460px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.success-hero {
    position: relative;
    min-height: 238px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #E7E4FF;
    background: #F3EEFF;
    box-shadow: 0 18px 40px rgba(108, 99, 255, 0.08);
}

.success-hero-image {
    width: 100%;
    height: 100%;
    min-height: 238px;
    object-fit: cover;
    display: block;
}

.success-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0) 42%, rgba(17, 24, 39, 0.36) 100%);
}

.success-check-pin,
.success-icon-circle {
    background: #FFFFFF;
    color: #22C55E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(34, 197, 94, 0.18);
}

.success-check-pin {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
}

.success-check-pin svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

.success-title-block {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 2px 8px 4px;
}

.success-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 20px;
}

.success-icon-circle svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.4;
}

.success-title {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.success-subtitle {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.today-summary-card {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(108, 99, 255, 0.14);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 35px rgba(108, 99, 255, 0.08);
    padding: 20px;
    margin-bottom: 5px;
}

.summary-card-title {
    grid-column: 1 / -1;
    margin: 0px;
    font-size: 15px;
    font-weight: 500;
    color: #242648;
    text-align: left;
}

.summary-ring-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.summary-ring {
    width: 112px;
    height: 112px;
}

.summary-ring text {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.summary-ring-value {
    font-size: 22px;
    font-weight: 600;
    fill: #2F2B56;
    transform: translateY(5px);
}

.summary-ring-label {
    font-size: 10px;
    fill: #5A5E73;
    font-weight: 500;
    transform: translateY(3px);
}

.summary-divider {
    width: 1px;
    height: 100%;
    background: rgba(108, 99, 255, 0.12);
}

.summary-counts-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
}

.summary-count {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.count-icon.done {
    background: #22A861;
    color: #FFFFFF;
}

.count-icon.partial {
    background: #FFB800;
    color: #FFFFFF;
}

.count-icon.missed {
    background: #FF5E7D;
    color: #FFFFFF;
}

.count-icon i {
    width: 8px;
    height: 8px;
}

.count-icon svg {
    width: 15px;
    height: 15px;
}

.count-number {
    font-size: 13px;
    color: #17172F;
    font-weight: 400;
}

.count-number strong {
    font-weight: 450;
    color: #262445;
}

body[data-page="checkin-success"] .today-summary-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    grid-template-columns: none;
    align-items: stretch;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid #E7E4FF;
    box-shadow: 0 18px 40px rgba(108,99,255,0.08);
    margin-bottom: 0;
}

body[data-page="checkin-success"] .summary-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body[data-page="checkin-success"] .summary-card-title {
    grid-column: auto;
    margin: 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

body[data-page="checkin-success"] .summary-card-head span,
body[data-page="checkin-success"] .summary-insight-text {
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

body[data-page="checkin-success"] .summary-card-head span {
    flex-shrink: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: #F3EEFF;
    color: #6C63FF;
}

body[data-page="checkin-success"] .summary-progress-layout {
    display: grid;
    grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

body[data-page="checkin-success"] .summary-ring-label {
    fill: #667085;
    font-weight: 700;
}

body[data-page="checkin-success"] .count-icon.done {
    background: #22C55E;
}

body[data-page="checkin-success"] .count-icon.partial {
    background: #F59E0B;
}

body[data-page="checkin-success"] .count-icon.missed {
    background: #EF4444;
}

body[data-page="checkin-success"] .count-number {
    font-size: 13px;
    color: #667085;
    font-weight: 700;
}

body[data-page="checkin-success"] .count-number strong {
    color: #111827;
}

body[data-page="checkin-success"] .summary-insight-text {
    margin: -4px 0 0;
}

.success-motivation-card,
.success-streak-card,
.success-next-card,
.success-journey-card {
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid #E7E4FF;
    box-shadow: 0 18px 40px rgba(108,99,255,0.08);
}

.success-motivation-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.success-motivation-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    background: #ECFDF3;
}

.success-motivation-card h2,
.success-next-card h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.success-motivation-card p,
.success-next-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.success-streak-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.success-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.success-card-head span {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.success-card-head strong {
    display: block;
    margin-top: 4px;
    color: #111827;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.success-best-streak {
    padding: 8px 10px;
    border-radius: 999px;
    background: #F3EEFF;
    color: #6C63FF !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.success-week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.success-week-day {
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    color: #98A2B3;
}

.success-week-day svg {
    width: 14px;
    height: 14px;
}

.success-week-day.is-done {
    background: rgba(34, 197, 94, .14);
    color: #22C55E;
}

.success-week-day.is-partial {
    background: rgba(245, 158, 11, .16);
    color: #F59E0B;
}

.success-next-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    cursor: pointer;
}

.success-next-card > svg {
    width: 22px;
    height: 22px;
    color: #6C63FF;
}

.success-next-card span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #F3EEFF;
    color: #6C63FF;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.success-journey-card {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.success-journey-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.success-journey-main strong {
    color: #111827;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.success-journey-main span,
.success-journey-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.success-buttons {
    display: grid;
    gap: 10px;
    margin-top: 2px;
}

.success-btn {
    min-height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.success-btn.primary {
    background: linear-gradient(135deg, #6C63FF 0%, #8B7CFF 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 16px 24px rgba(108, 99, 255, 0.24);
}

.success-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(108, 99, 255, 0.32);
}

.success-btn.secondary {
    background: #FFFFFF;
    color: #4D45CD;
    border: 1px solid rgba(108, 99, 255, 0.22);
}

.success-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108, 99, 255, 0.16);
}

.success-btn i {
    width: 18px;
    height: 18px;
}

@media (max-width: 767px) {
    .success-journey-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .success-journey-main strong {
        font-size: 25px;
    }
    .success-title {
        font-size: 26px;
    }
}

@media (max-width: 1023px) {
    .checkin-success-page {
        padding: 0 0 96px;
    }

    .success-content {
        width: 100%;
        max-width: none;
        position: relative;
        gap: 12px;
    }

    .success-hero {
        width: 100%;
        min-height: 286px;
        border-radius: 0;
        border: 0;
        margin: 0;
        box-shadow: none;
    }

    .success-hero-image {
        min-height: 286px;
    }

    .success-title-block {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        min-height: 286px;
        z-index: 4;
        display: grid;
        place-content: center;
        justify-items: center;
        padding: 18px 20px;
    }

    .success-title,
    .success-subtitle {
        color: #FFFFFF;
        text-shadow: 0 8px 22px rgba(17, 24, 39, 0.38);
    }

    body[data-page="checkin-success"] .today-summary-card {
        position: relative;
        z-index: 5;
        display: grid;
        gap: 16px;
        padding: 18px;
        border-radius: 24px;
        background: #FFFFFF;
        border: 1px solid #E7E4FF;
        box-shadow: 0 18px 40px rgba(108,99,255,0.08);
        margin-top: -56px;
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    body[data-page="checkin-success"] .summary-progress-layout {
        display: grid;
        grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1fr);
        gap: 18px;
        align-items: center;
    }

    body[data-page="checkin-success"] .summary-ring-section,
    body[data-page="checkin-success"] .summary-counts-section {
        min-width: 0;
    }

    .success-motivation-card {
        grid-template-columns: 48px minmax(0, 1fr) 56px;
        align-items: center;
        gap: 12px;
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(135deg, #F4FCF7 0%, #EDF9F2 100%);
        border-color: rgba(34, 197, 94, 0.2);
        box-shadow: 0 10px 24px rgba(34, 197, 94, 0.08);
    }

    .success-motivation-star {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: #E8F8EE;
        color: #16A34A;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .success-motivation-star svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.2;
    }

    .success-motivation-copy h2 {
        margin-bottom: 4px;
    }

    .success-motivation-leaf {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        object-fit: contain;
        background: #ECFDF3;
    }

    .success-streak-card,
    .success-journey-card,
    .success-buttons {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .checkin-success-page {
        padding-top: 28px;
    }
}

@media (max-width: 480px) {
    .success-hero {
        min-height: 208px;
    }

    .success-hero-image {
        min-height: 208px;
    }

    body[data-page="checkin-success"] .summary-progress-layout {
        gap: 12px;
        grid-template-columns: 104px minmax(0, 1fr);
    }

    body[data-page="checkin-success"] .summary-ring {
        width: 98px;
        height: 98px;
    }

    body[data-page="checkin-success"] .summary-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .success-card-head {
        flex-direction: column;
        gap: 8px;
    }
}

/* Screenshot-matched check-in success screen */
body[data-page="checkin-success"] {
    background: #F8F9FF;
}

body[data-page="checkin-success"] .checkin-success-page {
    min-height: 100vh;
    padding: 0 0 18px;
    background:
        radial-gradient(520px 420px at 50% 0%, rgba(240, 236, 255, 0.78), rgba(248, 249, 255, 0) 68%),
        #F8F9FF;
    overflow-x: hidden;
}

body[data-page="checkin-success"] .success-content {
    width: min(100%, 430px);
    margin: 0 auto;
    gap: 0;
    padding: 0 18px 16px;
}

.success-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 8px 8px 0;
    color: #050816;
    font-size: 14px;
    font-weight: 700;
}

.success-status-bar span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.success-status-bar svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

body[data-page="checkin-success"] .success-hero {
    min-height: 370px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    display: grid;
    justify-items: center;
    align-content: start;
    padding-top: 20px;
}

body[data-page="checkin-success"] .success-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22C55E, #17B864);
    color: #FFFFFF;
    box-shadow:
        0 0 0 12px rgba(34, 197, 94, 0.1),
        0 0 0 24px rgba(34, 197, 94, 0.045),
        0 16px 30px rgba(34, 197, 94, 0.2);
    z-index: 2;
}

body[data-page="checkin-success"] .success-icon-circle svg {
    width: 42px;
    height: 42px;
    stroke-width: 3;
}

body[data-page="checkin-success"] .success-title {
    margin-top: 30px;
    color: #070B22;
    font-size: clamp(23px, 5.9vw, 27px);
    line-height: 1.12;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
    z-index: 2;
}

body[data-page="checkin-success"] .success-subtitle {
    margin-top: 8px;
    color: #4D587C;
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 600;
    text-align: center;
    text-shadow: none;
    z-index: 2;
}

.success-mountain-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 202px;
    bottom: auto;
    height: 170px;
    overflow: hidden;
    border: 1px solid rgba(231, 228, 255, .72);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 18px 38px rgba(49, 57, 108, .13);
}

body[data-page="checkin-success"] .success-hero-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    filter: saturate(1.04) contrast(1.01);
}

.success-mountain-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 82px;
    background: linear-gradient(180deg, rgba(248, 249, 255, 0), rgba(248, 249, 255, .82) 96%);
}

body[data-page="checkin-success"] .success-check-pin {
    display: none;
}

body[data-page="checkin-success"] .success-check-pin svg {
    width: 22px;
    height: 22px;
    rotate: 45deg;
    stroke-width: 3;
}

body[data-page="checkin-success"] .today-summary-card,
body[data-page="checkin-success"] .success-motivation-card,
body[data-page="checkin-success"] .success-streak-card,
body[data-page="checkin-success"] .success-next-card {
    position: relative;
    z-index: 5;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(231, 228, 255, .78);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 34px rgba(49, 57, 108, .09);
}

body[data-page="checkin-success"] .today-summary-card {
    margin-top: -10px;
    padding: 17px 14px 15px;
    gap: 16px;
}

body[data-page="checkin-success"] .summary-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

body[data-page="checkin-success"] .summary-card-title {
    color: #070B22;
    font-size: 16px;
    font-weight: 700;
}

body[data-page="checkin-success"] .summary-card-head > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6C63FF;
    background: transparent;
    padding: 0;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

body[data-page="checkin-success"] .summary-card-head svg {
    width: 17px;
    height: 17px;
}

.success-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.success-summary-item {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 0 6px;
    border-right: 1px solid #E3E6F3;
}

.success-summary-item:last-child {
    border-right: 0;
}

.success-summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-summary-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.5;
}

.success-summary-icon.is-calories { background: #F0EAFF; color: #6C63FF; }
.success-summary-icon.is-diet { background: #EAFBF0; color: #22C55E; }
.success-summary-icon.is-workouts { background: #FFF7E8; color: #F59E0B; }
.success-summary-icon.is-weight { background: #F0EAFF; color: #7C63FF; }

.success-summary-item strong {
    color: #070B22;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.success-summary-item em {
    color: #586285;
    font-size: 11.5px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

body[data-page="checkin-success"] .success-motivation-card {
    margin-top: 12px;
    min-height: 92px;
    grid-template-columns: 44px minmax(0, 1fr) 54px;
    gap: 12px;
    padding: 14px 13px;
    background: linear-gradient(135deg, #F0FFF6, #F7FFF9);
    border-color: rgba(34, 197, 94, .16);
    overflow: hidden;
}

body[data-page="checkin-success"] .success-motivation-star {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22C55E, #16B862);
    color: #FFFFFF;
}

body[data-page="checkin-success"] .success-motivation-star svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body[data-page="checkin-success"] .success-motivation-copy h2 {
    margin: 0 0 6px;
    color: #16803E;
    font-size: 14.5px;
    line-height: 1.18;
    font-weight: 700;
}

body[data-page="checkin-success"] .success-motivation-copy p {
    color: #4D587C;
    font-size: 12.8px;
    line-height: 1.42;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-motivation-leaf {
    width: 68px;
    height: 68px;
    object-fit: contain;
    opacity: .22;
    background: transparent;
    border-radius: 0;
    transform: translateX(10px) scale(1.15);
}

body[data-page="checkin-success"] .success-streak-card {
    margin-top: 14px;
    padding: 17px 15px;
}

body[data-page="checkin-success"] .success-streak-card h2,
body[data-page="checkin-success"] .success-next-section h2 {
    margin: 0 0 15px;
    color: #070B22;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
}

.success-streak-layout {
    display: grid;
    grid-template-columns: 100px 1px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
}

.success-streak-left {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
}

.success-streak-left span {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #EAF8F0;
    color: #22C55E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-streak-left span svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.success-streak-left strong {
    color: #070B22;
    font-size: 28px;
    line-height: .9;
    font-weight: 700;
}

.success-streak-left em {
    color: #22C55E;
    font-size: 13px;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
}

.success-streak-divider {
    width: 1px;
    height: 64px;
    background: #DDE2F0;
}

.success-week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.success-week-day {
    display: grid;
    justify-items: center;
    gap: 7px;
    aspect-ratio: auto;
    background: transparent;
    color: #5B6486;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
}

.success-week-day i {
    width: 27px;
    height: 27px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EEF0F8;
    color: #9AA3BF;
}

.success-week-day i svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.success-week-day.is-done i,
.success-week-day.is-partial i {
    background: #22C55E;
    color: #FFFFFF;
    box-shadow: 0 8px 16px rgba(34, 197, 94, .18);
}

.success-week-day.is-missed i {
    border: 1.5px solid #CBD1E4;
    background: #FFFFFF;
    color: #A5ADC6;
}

.success-streak-right p {
    margin: 12px 0 0;
    color: #586285;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

.success-streak-right p strong {
    color: #6C63FF;
}

.success-next-section {
    margin-top: 20px;
}

body[data-page="checkin-success"] .success-next-card {
    min-height: 90px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 16px 14px;
    text-decoration: none;
    color: inherit;
}

.success-next-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #F0EAFF;
    color: #6C63FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-next-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.5;
}

body[data-page="checkin-success"] .success-next-card strong {
    display: block;
    margin-bottom: 7px;
    color: #070B22;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
}

body[data-page="checkin-success"] .success-next-card p {
    color: #4D587C;
    font-size: 13px;
    line-height: 1.42;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-next-card > svg {
    color: #6C63FF;
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

body[data-page="checkin-success"] .success-buttons {
    width: 100%;
    margin-top: 18px;
    gap: 10px;
}

body[data-page="checkin-success"] .success-btn {
    min-height: 52px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
}

body[data-page="checkin-success"] .success-btn.primary {
    justify-content: center;
    background: linear-gradient(135deg, #5C35FF, #9A5CFF);
    box-shadow: 0 18px 34px rgba(108, 99, 255, .26);
}

body[data-page="checkin-success"] .success-btn.primary svg {
    position: absolute;
    right: 22px;
}

body[data-page="checkin-success"] .success-btn.secondary {
    color: #6C43FF;
    border: 1.5px solid rgba(108, 99, 255, .38);
    background: rgba(255, 255, 255, .86);
}

.success-bottom-nav {
    margin-top: 16px;
    min-height: 88px;
    padding: 13px 11px 9px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 -4px 28px rgba(20, 30, 80, .09);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
}

.success-bottom-nav a {
    min-width: 0;
    color: #68708F;
    text-decoration: none;
    display: grid;
    justify-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.success-bottom-nav svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.success-bottom-nav .is-active {
    color: #6C43FF;
}

.success-bottom-nav .is-active > span:first-child {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5C35FF, #8B7CFF);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-bottom-nav .is-active svg {
    width: 18px;
    height: 18px;
    stroke-width: 3;
}

.success-home-indicator {
    width: 134px;
    height: 5px;
    border-radius: 999px;
    background: #000000;
    margin: -14px auto 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    body[data-page="checkin-success"] .success-content {
        width: min(100%, 430px);
    }
}

@media (max-width: 390px) {
    body[data-page="checkin-success"] .success-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    body[data-page="checkin-success"] .success-hero {
        margin-left: 0;
        margin-right: 0;
        min-height: 356px;
    }

    .success-mountain-wrap {
        left: 0;
        right: 0;
        top: 198px;
        height: 158px;
        border-radius: 24px;
    }

    .success-summary-item {
        padding: 0 5px;
    }

    .success-summary-icon {
        width: 44px;
        height: 44px;
    }

    .success-summary-item strong {
        font-size: 17px;
    }

    .success-summary-item em {
        font-size: 11px;
    }

    .success-streak-layout {
        grid-template-columns: 98px 1px minmax(0, 1fr);
        gap: 13px;
    }

    .success-week-row {
        gap: 5px;
    }

    .success-week-day i {
        width: 27px;
        height: 27px;
    }

    body[data-page="checkin-success"] .summary-card-head {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
}

/* Responsive success screen refinements */
body[data-page="checkin-success"] {
    background: #FAFAFD;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="checkin-success"] .checkin-success-page {
    min-height: 100vh;
    padding: 0 20px 112px;
    background:
        radial-gradient(760px 520px at 72% -8%, rgba(139, 124, 255, 0.16), rgba(250, 250, 253, 0) 62%),
        radial-gradient(560px 360px at 18% 0%, rgba(34, 197, 94, 0.08), rgba(250, 250, 253, 0) 58%),
        #FAFAFD;
    overflow-x: hidden;
}

body[data-page="checkin-success"] .success-content {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    color: #111827;
}

body[data-page="checkin-success"] .success-hero {
    grid-column: 1 / -1;
    position: relative;
    justify-self: center;
    width: 100vw;
    min-height: clamp(380px, 42vw, 500px);
    margin: 0 calc(50% - 50vw);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,247,255,.9));
    box-shadow: 0 18px 40px rgba(108, 99, 255, .08);
    overflow: hidden;
}

body[data-page="checkin-success"] .success-hero-copy {
    position: relative;
    z-index: 9;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    margin-top: 50px;
}

body[data-page="checkin-success"] .success-icon-circle {
    width: 68px;
    height: 68px;
    box-shadow:
        0 0 0 12px rgba(34, 197, 94, 0.12),
        0 0 0 28px rgba(34, 197, 94, 0.075),
        0 0 0 46px rgba(34, 197, 94, 0.035),
        0 18px 36px rgba(34, 197, 94, 0.22);
}

body[data-page="checkin-success"] .success-icon-circle svg {
    width: 38px;
    height: 38px;
}

body[data-page="checkin-success"] .success-title {
    margin: 28px 0 0;
    font-size: clamp(25px, 3.2vw, 38px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .34);
}

body[data-page="checkin-success"] .success-subtitle {
    margin: 9px 0 0;
    max-width: 36ch;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, .88);
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .34);
}

body[data-page="checkin-success"] .success-mountain-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1;
}

body[data-page="checkin-success"] .success-hero-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center 15%;
}

body[data-page="checkin-success"] .success-mountain-wrap::after {
    inset: 0;
    height: auto;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 18%),
        rgba(0, 0, 0, .50);
    pointer-events: none;
}

body[data-page="checkin-success"] .today-summary-card,
body[data-page="checkin-success"] .success-motivation-card,
body[data-page="checkin-success"] .success-streak-card,
body[data-page="checkin-success"] .success-next-card {
    border: 1px solid rgba(231, 228, 255, .86);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(108, 99, 255, .08);
}

body[data-page="checkin-success"] .today-summary-card {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 720px);
    margin: -110.5px auto 0;
    padding: 20px;
    z-index: 11;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 18px;
    align-items: center;
}

body[data-page="checkin-success"] .summary-card-title {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #242648;
    text-align: left;
}

body[data-page="checkin-success"] .summary-ring {
    width: 100px;
    height: 100px;
}

body[data-page="checkin-success"] .summary-ring text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="checkin-success"] .summary-ring-value {
    font-weight: 500;
}

body[data-page="checkin-success"] .summary-ring-label,
body[data-page="checkin-success"] .count-number {
    font-weight: 400;
}

body[data-page="checkin-success"] .count-number strong {
    font-weight: 500;
}

body[data-page="checkin-success"] .success-motivation-card {
    display: none !important;
}

body[data-page="checkin-success"] .success-motivation-copy h2,
body[data-page="checkin-success"] .success-streak-card h2,
body[data-page="checkin-success"] .success-next-section h2,
body[data-page="checkin-success"] .success-next-card strong {
    font-weight: 500;
}

body[data-page="checkin-success"] .success-motivation-copy p,
body[data-page="checkin-success"] .success-next-card p,
body[data-page="checkin-success"] .success-streak-right p {
    font-weight: 400;
}

body[data-page="checkin-success"] .success-streak-right p {
    margin-top: 8px;
}

body[data-page="checkin-success"] .success-streak-card {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 180px at 8% 0%, rgba(255, 181, 71, .20), rgba(255, 255, 255, 0) 70%),
        linear-gradient(135deg, #FFFFFF 0%, #FFFCF7 44%, #F8F7FF 100%);
}

body[data-page="checkin-success"] .success-streak-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(132px, 168px) 1px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    z-index: 1;
}

body[data-page="checkin-success"] .success-streak-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -100px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(108, 99, 255, .08);
    pointer-events: none;
}

body[data-page="checkin-success"] .success-streak-card h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: 15px;
}

body[data-page="checkin-success"] .success-streak-left span {
    background:
        radial-gradient(circle at 50% 36%, rgba(255,255,255,.92) 0 18%, rgba(255,255,255,0) 19%),
        linear-gradient(145deg, #FFF6E2 0%, #FFD36A 46%, #FF7A00 100%);
    color: #F97316;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), inset 0 -9px 18px rgba(255, 122, 0, .16), 0 10px 20px rgba(249, 115, 22, .20);
}

body[data-page="checkin-success"] .success-streak-left {
    padding: 8px 10px;
    border: 1px solid rgba(255, 159, 28, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px rgba(255, 159, 28, .06);
}

body[data-page="checkin-success"] .success-streak-left span svg {
    width: 23px;
    height: 23px;
    stroke: #EA580C;
    fill: #FB923C;
    stroke-width: 2.2;
    filter: drop-shadow(0 1px 2px rgba(194, 65, 12, .20));
}

body[data-page="checkin-success"] .success-streak-left span {
    width: 44px;
    height: 44px;
}

body[data-page="checkin-success"] .success-streak-left strong {
    font-size: 26px;
}

body[data-page="checkin-success"] .success-streak-left em {
    font-size: 12px;
}

body[data-page="checkin-success"] .success-streak-left strong,
body[data-page="checkin-success"] .success-streak-left em {
    font-weight: 500;
}

body[data-page="checkin-success"] .success-streak-left em {
    color: #FF7A00;
}

body[data-page="checkin-success"] .success-week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(30px, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(231, 228, 255, .72);
    border-radius: 18px;
    background: rgba(255, 255, 255, .58);
    align-items: start;
}

body[data-page="checkin-success"] .success-week-day {
    min-width: 0;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #667085;
    font-size: 10.5px;
    font-weight: 500;
}

body[data-page="checkin-success"] .success-week-day i {
    width: 24px;
    height: 24px;
    border: 1px solid #E7E4FF;
    background: #FFFFFF;
    color: #98A2B3;
    box-shadow: 0 7px 16px rgba(108, 99, 255, .08);
}

body[data-page="checkin-success"] .success-week-day.is-done i {
    border-color: rgba(34, 197, 94, .18);
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #FFFFFF;
    box-shadow: 0 10px 18px rgba(34, 197, 94, .18);
}

body[data-page="checkin-success"] .success-week-day.is-partial i {
    border-color: rgba(245, 158, 11, .22);
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #FFFFFF;
    box-shadow: 0 10px 18px rgba(245, 158, 11, .16);
}

body[data-page="checkin-success"] .success-week-day.is-missed i {
    border-color: #E4E7EC;
    background: #FFFFFF;
    color: #B8C0D4;
}

body[data-page="checkin-success"] .success-next-section {
    grid-column: 1 / 2;
    margin: 0;
}

body[data-page="checkin-success"] .success-next-card {
    min-height: 112px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border-color: rgba(108, 99, 255, .18);
    background:
        radial-gradient(240px 120px at 100% 0%, rgba(108, 99, 255, .13), rgba(255,255,255,0) 70%),
        linear-gradient(135deg, #FFFFFF 0%, #F8F7FF 100%);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body[data-page="checkin-success"] .success-next-card:hover {
    transform: translateY(-2px);
    border-color: rgba(108, 99, 255, .28);
    box-shadow: 0 22px 44px rgba(108, 99, 255, .12);
}

body[data-page="checkin-success"] .success-next-icon {
    background: linear-gradient(135deg, #F0EAFF, #E9E5FF);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 20px rgba(108,99,255,.12);
}

body[data-page="checkin-success"] .success-next-card > svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 10px 22px rgba(108, 99, 255, .12);
}

body[data-page="checkin-success"] .success-next-card strong {
    font-size: 16px;
}

body[data-page="checkin-success"] .success-buttons {
    grid-column: 2 / 3;
    align-self: end;
    margin: 0;
    gap: 12px;
}

body[data-page="checkin-success"] .success-btn {
    min-height: 52px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

body[data-page="checkin-success"] .success-status-bar,
body[data-page="checkin-success"] .success-bottom-nav,
body[data-page="checkin-success"] .success-home-indicator {
    display: none;
}

@media (max-width: 900px) {
    body[data-page="checkin-success"] .checkin-success-page {
        padding: 0 16px 112px;
    }

    body[data-page="checkin-success"] .success-content {
        width: min(100%, 640px);
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body[data-page="checkin-success"] .success-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 400px;
        padding: 0;
    }

    body[data-page="checkin-success"] .success-hero-copy {
        justify-items: center;
        text-align: center;
    }

    body[data-page="checkin-success"] .success-subtitle {
        max-width: none;
    }

    body[data-page="checkin-success"] .success-mountain-wrap {
        height: 100%;
        bottom: auto;
    }

    body[data-page="checkin-success"] .today-summary-card,
    body[data-page="checkin-success"] .success-motivation-card,
    body[data-page="checkin-success"] .success-streak-card,
    body[data-page="checkin-success"] .success-next-section,
    body[data-page="checkin-success"] .success-buttons {
        grid-column: 1 / -1;
    }

    body[data-page="checkin-success"] .today-summary-card {
        justify-self: stretch;
        width: 100%;
        margin: -106.5px 0 0;
    }
}

@media (max-width: 480px) {
    body[data-page="checkin-success"] .checkin-success-page {
        padding: 0 14px 104px;
    }

    body[data-page="checkin-success"] .success-content {
        width: min(100%, 430px);
    }

    body[data-page="checkin-success"] .success-hero {
        min-height: 342px;
        padding: 0;
        border-radius: 0;
    }

    body[data-page="checkin-success"] .success-title {
        font-size: 24px;
    }

    body[data-page="checkin-success"] .success-subtitle {
        font-size: 13px;
    }

    body[data-page="checkin-success"] .success-mountain-wrap {
        height: 100%;
        padding: 0;
        border-radius: 0;
        bottom: auto;
    }

    body[data-page="checkin-success"] .success-hero-image,
    body[data-page="checkin-success"] .success-mountain-wrap::after {
        border-radius: 0;
    }

    body[data-page="checkin-success"] .today-summary-card {
        margin-top: -106.5px;
    }

    body[data-page="checkin-success"] .success-streak-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body[data-page="checkin-success"] .success-streak-divider {
        display: none;
    }

    body[data-page="checkin-success"] .success-streak-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    body[data-page="checkin-success"] .success-streak-left span {
        grid-row: auto;
    }

    body[data-page="checkin-success"] .success-streak-left em {
        align-self: end;
        margin-left: -6px;
    }

    body[data-page="checkin-success"] .success-week-row {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
        padding: 7px;
    }

    body[data-page="checkin-success"] .success-week-day i {
        width: 22px;
        height: 22px;
    }

    body[data-page="checkin-success"] .success-week-day {
        padding: 0;
        border-radius: 0;
    }
}

.checkin-cta-secondary {
    min-height: 52px;
    border-radius: 18px;
    padding-left: 18px;
    padding-right: 18px;
    color: #4E4A73;
}

.checkin-summary-calendar-card,
.checkin-summary-list-card,
.checkin-overall-card,
.checkin-coach-note-card {
    padding: 14px;
}

.checkin-overall-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.checkin-overall-title {
    margin: 0;
    color: #5F6281;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 11px;
    font-weight: 700;
}

.checkin-overall-head h3 {
    margin: 0;
    color: #242644;
    font-size: 34px;
    font-weight: 800;
}

.checkin-summary-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkin-summary-list {
    display: grid;
    gap: 10px;
}

.checkin-summary-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--checkin-border);
    border-radius: 18px;
    background: #FFFFFF;
    padding: 12px;
}

.checkin-summary-copy h4 {
    margin: 0;
    color: #242648;
    font-size: 15px;
    font-weight: 700;
}

.checkin-summary-copy p {
    margin: 2px 0 0;
    color: #667085;
    font-size: 12px;
}

.checkin-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
}

.checkin-status-badge i {
    width: 14px;
    height: 14px;
}

.checkin-status-badge.done {
    color: #1C8B4F;
    background: #EAFBF1;
    border-color: rgba(46, 204, 113, 0.45);
}

.checkin-status-badge.partial {
    color: #B57C00;
    background: #FFF7E5;
    border-color: rgba(255, 184, 0, 0.45);
}

.checkin-status-badge.missed {
    color: #C8375A;
    background: #FFF0F2;
    border-color: rgba(255, 94, 125, 0.48);
}

.checkin-week-strip {
    display: none;
    gap: 10px;
    margin-top: 6px;
}

.checkin-week-item {
    border: 1px solid var(--checkin-border);
    border-radius: 14px;
    background: #FFFFFF;
    min-width: 98px;
    padding: 10px;
    text-align: center;
}

.checkin-week-item strong {
    display: block;
    font-size: 20px;
    color: #262648;
}

.checkin-week-item span {
    color: #667085;
    font-size: 12px;
}

.checkin-coach-note-card h3 {
    margin: 0;
    color: #242649;
    font-size: 18px;
}

.checkin-coach-note-hint {
    margin: 3px 0 10px;
    color: #667085;
    font-size: 12px;
}

.checkin-coach-note-card textarea {
    width: 100%;
    min-height: 110px;
    border-radius: 14px;
    border: 1px solid var(--checkin-border);
    background: #FFFFFF;
    color: #252648;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
}

.checkin-coach-note-actions {
    margin-top: 10px;
}

.checkin-floating-add {
    position: fixed;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 70;
}

.checkin-floating-add .checkin-secondary-btn {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    padding: 0;
}

@media (max-width: 1023px) {
    .checkin-title-row {
        display: grid;
    }

    .checkin-modal {
        max-height: min(94dvh, 920px);
    }
}

@media (max-width: 767px) {
    .checkin-hero-card {
        border-radius: 24px;
        padding: 20px;
    }

    .checkin-goals-table-wrap {
        display: none;
    }

    .checkin-mobile-goal-list {
        display: grid;
    }

    .checkin-progress-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .checkin-metric-list,
    .checkin-summary-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .checkin-modal-grid {
        grid-template-columns: 1fr;
    }

    .checkin-span-2 {
        grid-column: auto;
    }

    .checkin-modal-actions {
        justify-content: stretch;
    }

    .checkin-modal-cancel-btn,
    .checkin-modal-save-btn {
        flex: 1;
        min-width: 0;
    }

    body[data-page="checkin-goals"] .checkin-modal-overlay {
        padding: 14px;
        align-items: center;
        justify-content: center;
    }

    body[data-page="checkin-goals"] .checkin-modal {
        width: min(100%, 500px);
        border-radius: 24px;
        max-height: 90dvh;
    }
}

@media (min-width: 768px) {
    .checkin-hero-card {
        padding: 32px;
    }
}

@media (min-width: 1024px) {
    body[data-page^="checkin"] .tyfit-main-inner,
    body[data-page="daily-checkin"] .tyfit-main-inner {
        padding-bottom: 36px;
    }

    .checkin-sticky-submit {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        justify-items: end;
    }

    .checkin-sticky-submit .checkin-secondary-btn {
        width: auto;
        min-width: 240px;
    }

    .checkin-week-strip {
        display: flex;
    }

    .checkin-floating-add {
        display: none;
    }
}

/* Premium redesign overrides */
body[data-page^="checkin"],
body[data-page="daily-checkin"] {
    --checkin-primary: #6C63FF;
    --checkin-primary-strong: #8B7CFF;
    --checkin-text: #17172F;
    --checkin-muted: #667085;
    --checkin-border: rgba(108, 99, 255, 0.16);
    --checkin-shadow: 0 14px 35px rgba(108, 99, 255, 0.08);
}

.checkin-hero-card {
    border-radius: 28px;
    background: linear-gradient(135deg, #F7F5FF 0%, #FFFFFF 60%, #EEEAFE 100%);
}

.checkin-subtitle {
    color: var(--checkin-muted);
}

.checkin-toolbar-card,
.checkin-panel,
.checkin-summary-card,
.checkin-success-card {
    background: #FFFFFF;
    border: 1px solid var(--checkin-border);
    box-shadow: var(--checkin-shadow);
}

.checkin-selected-date {
    margin: 0;
    color: #5E5693;
    font-size: 12px;
    font-weight: 400;
}

.checkin-group-panel,
.checkin-summary-calendar-card,
.checkin-summary-list-card,
.checkin-overall-card,
.checkin-coach-note-card {
    padding: 14px;
}

.checkin-group-title {
    color: #312E81;
    font-size: 11px;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checkin-status-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.checkin-status-btn {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(148, 141, 197, 0.38);
    background: #FFFFFF;
    color: #667085;
    padding: 0 10px;
    gap: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.checkin-status-btn i {
    width: 15px;
    height: 15px;
}

.checkin-status-btn::before {
    display: none;
}

.checkin-status-btn[data-status="done"].is-active {
    background: #EAFBF1;
    border-color: rgba(46, 204, 113, 0.5);
    color: #1C8B4F;
}

.checkin-status-btn[data-status="partial"].is-active {
    background: #FFF7E5;
    border-color: rgba(255, 184, 0, 0.5);
    color: #B57C00;
}

.checkin-status-btn[data-status="missed"].is-active {
    background: #FFF0F2;
    border-color: rgba(255, 94, 125, 0.52);
    color: #CC3559;
}

.checkin-date-pill,
.checkin-summary-day {
    border-radius: 16px;
}

.checkin-date-dot,
.checkin-summary-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #6C63FF;
    margin: 2px auto 0;
}

.checkin-date-pill.is-active .checkin-date-dot,
.checkin-summary-day.is-active .checkin-summary-day-dot {
    background: #FFFFFF;
}

.checkin-ring-wrap {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.checkin-score-label {
    margin: 0;
    color: #5A5E73;
    font-size: 12px;
    font-weight: 600;
}

.checkin-empty-card {
    background: #FFFFFF;
    border: 1px dashed rgba(108, 99, 255, 0.35);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.checkin-empty-card h3 {
    margin: 0;
    color: #232447;
    font-size: 22px;
}

.checkin-empty-card p {
    margin: 0;
    color: #667085;
}

.checkin-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(108, 99, 255, 0.12);
    color: #5A51F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkin-sticky-submit .checkin-secondary-btn,
.checkin-cta-primary {
    min-height: 52px;
    border-radius: 18px;
    color: #FFFFFF;
    border-color: transparent;
    background: linear-gradient(135deg, #6C63FF 0%, #8B7CFF 100%);
    box-shadow: 0 16px 24px rgba(108, 99, 255, 0.24);
}



.checkin-cta-secondary {
    min-height: 52px;
    border-radius: 18px;
    padding: 10px 18px;
}

.checkin-overall-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.checkin-overall-title {
    margin: 0;
    color: #5F6281;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.checkin-overall-head h3 {
    margin: 0;
    color: #242644;
    font-size: 34px;
    font-weight: 800;
}

.checkin-summary-copy h4 {
    margin: 0;
    color: #242648;
    font-size: 15px;
    font-weight: 700;
}

.checkin-summary-copy p {
    margin: 2px 0 0;
    color: #667085;
    font-size: 12px;
}

.checkin-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.checkin-status-badge.done {
    color: #1C8B4F;
    background: #EAFBF1;
    border: 1px solid rgba(46, 204, 113, 0.45);
}

.checkin-status-badge.partial {
    color: #B57C00;
    background: #FFF7E5;
    border: 1px solid rgba(255, 184, 0, 0.45);
}

.checkin-status-badge.missed {
    color: #C8375A;
    background: #FFF0F2;
    border: 1px solid rgba(255, 94, 125, 0.48);
}

.checkin-coach-note-card h3 {
    margin: 0;
    color: #242649;
    font-size: 18px;
}

.checkin-coach-note-hint {
    margin: 4px 0 10px;
    color: #667085;
    font-size: 12px;
}

.checkin-coach-note-card textarea {
    width: 100%;
    min-height: 110px;
    border-radius: 14px;
    border: 1px solid rgba(108, 99, 255, 0.22);
    padding: 12px;
    color: #252648;
}

.checkin-coach-note-actions {
    margin-top: 10px;
}

.checkin-tag--diet {
    color: #5A52EA;
    background: rgba(108, 99, 255, 0.15);
}

.checkin-tag--activity {
    color: #3759C9;
    background: rgba(80, 137, 255, 0.14);
}

.checkin-tag--supplement {
    color: #6E43C6;
    background: rgba(142, 106, 255, 0.14);
}

.checkin-tag--lifestyle {
    color: #117A65;
    background: rgba(46, 204, 113, 0.14);
}

@media (max-width: 767px) {
    .checkin-span-2 {
        grid-column: auto;
    }

    body[data-page="checkin-goals"] .checkin-modal-overlay {
        padding: 14px;
        align-items: center;
        justify-content: center;
    }

    body[data-page="checkin-goals"] .checkin-modal {
        width: min(100%, 500px);
        max-width: none;
        max-height: 90dvh;
        border-radius: 24px;
    }
}

body[data-page="daily-checkin"] .checkin-hero-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

body[data-page="daily-checkin"] .checkin-toolbar-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

body[data-page="daily-checkin"] .checkin-hero-card::after {
    display: none;
}

body[data-page="daily-checkin"] .checkin-title-row {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

body[data-page="daily-checkin"] .checkin-title-row > div {
    display: grid;
    justify-items: center;
}

body[data-page="daily-checkin"] .checkin-subtitle {
    margin-left: auto;
    margin-right: auto;
}

body[data-page="daily-checkin"] .checkin-sticky-submit {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    margin-top: 8px;
}

body[data-page="daily-checkin"] .checkin-group {
    gap: 10px;
    margin-bottom: 28px;
}

body[data-page="daily-checkin"] .checkin-group-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #17172F;
    margin: 0 2px 10px;
    gap: 8px;
}

body[data-page="daily-checkin"] .checkin-group-title i {
    width: 18px;
    height: 18px;
    color: #6C63FF;
    stroke-width: 2;
}

body[data-page="daily-checkin"] .checkin-goal-list-card {
    background: #FFFFFF;
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.045);
}

body[data-page="daily-checkin"] .checkin-goal-row-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    min-height: 68px;
}

body[data-page="daily-checkin"] .checkin-goal-row-compact {
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

body[data-page="daily-checkin"] .checkin-goal-row-compact:last-child {
    border-bottom: none;
}

body[data-page="daily-checkin"] .checkin-goal-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

body[data-page="daily-checkin"] .checkin-goal-title-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

body[data-page="daily-checkin"] .checkin-goal-title-line h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #17172F;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[data-page="daily-checkin"] .checkin-goal-comment-btn {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(108, 99, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    padding: 0;
}

body[data-page="daily-checkin"] .checkin-goal-comment-btn i {
    width: 12px;
    height: 12px;
    stroke-width: 1.8;
}

body[data-page="daily-checkin"] .checkin-goal-comment-btn.has-note {
    color: #6C63FF;
}

body[data-page="daily-checkin"] .checkin-goal-comment-btn .note-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #6C63FF;
    position: absolute;
    right: 1px;
    top: 1px;
}

body[data-page="daily-checkin"] .checkin-goal-target {
    margin: 3px 0 0;
    font-size: 13.5px;
    color: #667085;
    line-height: 1.2;
}

body[data-page="daily-checkin"] .checkin-goal-note-preview {
    margin: 2px 0 0;
    font-size: 12px;
    color: #8A8FA3;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[data-page="daily-checkin"] .checkin-status-circles {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

body[data-page="daily-checkin"] .checkin-status-circle-dot {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    border-style: dotted;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

body[data-page="daily-checkin"] .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-dot svg {
    width: 13x;
    height: 13px;
    opacity: 1;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="done"] .checkin-status-circle-dot {
    border-color: #2ECC71;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="done"] .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="done"] .checkin-status-circle-dot svg {
    color: #2ECC71;
    stroke: #2ECC71;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="partial"] .checkin-status-circle-dot {
    border-color: #FFB800;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="partial"] .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="partial"] .checkin-status-circle-dot svg {
    color: #FFB800;
    stroke: #FFB800;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="missed"] .checkin-status-circle-dot {
    border-color: #FF5E7D;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="missed"] .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-btn:not(.is-active)[data-status="missed"] .checkin-status-circle-dot svg {
    color: #FF5E7D;
    stroke: #FF5E7D;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn.is-active[data-status="done"] .checkin-status-circle-dot {
    background: rgba(34, 184, 106, 0.82);
    border-style: solid;
    box-shadow: 0 1px 4px rgba(34, 184, 106, 0.14);
}

body[data-page="daily-checkin"] .checkin-status-circle-btn.is-active[data-status="partial"] .checkin-status-circle-dot {
    background: rgba(255, 184, 0, 0.82);
    border-style: solid;
    box-shadow: 0 1px 4px rgba(255, 184, 0, 0.14);
}

body[data-page="daily-checkin"] .checkin-status-circle-btn.is-active[data-status="missed"] .checkin-status-circle-dot {
    background: rgba(255, 94, 125, 0.82);
    border-style: solid;
    box-shadow: 0 1px 4px rgba(255, 94, 125, 0.14);
}

body[data-page="daily-checkin"] .checkin-status-circle-btn.is-active .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-btn.is-active .checkin-status-circle-dot svg {
    opacity: 1;
    color: #FFFFFF;
    stroke: #FFFFFF;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="done"] .checkin-status-circle-dot i {
    width: 9px;
    height: 9px;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="partial"] .checkin-status-circle-dot i,
body[data-page="daily-checkin"] .checkin-status-circle-btn[data-status="missed"] .checkin-status-circle-dot i {
    width: 9px;
    height: 9px;
}

body[data-page="daily-checkin"] .checkin-note-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 39, 0.35);
    backdrop-filter: blur(4px);
    z-index: 2200;
}

body[data-page="daily-checkin"] .checkin-note-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    max-width: calc(100vw - 24px);
    background: #FFFFFF;
    border: 1px solid rgba(108, 99, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 28px 56px rgba(17, 24, 39, 0.16);
    padding: 16px;
    box-sizing: border-box;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    z-index: 2201;
    display: grid;
    gap: 12px;
}

body[data-page="daily-checkin"] .checkin-note-modal h4 {
    margin: 0;
    color: #1D2144;
    font-size: 18px;
    font-weight: 800;
}

body[data-page="daily-checkin"] .checkin-note-modal-body {
    display: grid;
    gap: 12px;
}

body[data-page="daily-checkin"] .checkin-note-modal label {
    display: block;
    margin: 0 0 6px;
    color: #565E70;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body[data-page="daily-checkin"] .checkin-note-actual-input-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

body[data-page="daily-checkin"] .checkin-note-actual-input-wrap input,
body[data-page="daily-checkin"] .checkin-note-modal textarea {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background: #FFFFFF;
    color: #252648;
    font-size: 16px;
    padding: 10px 12px;
}

body[data-page="daily-checkin"] .checkin-note-modal textarea {
    min-height: 90px;
    resize: vertical;
}

body[data-page="daily-checkin"] #goalActualUnit {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

body[data-page="daily-checkin"] .checkin-note-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 767px) {
    body[data-page="daily-checkin"] .checkin-goal-row-compact {
        padding: 13px 14px;
    }

    body[data-page="daily-checkin"] .checkin-status-circles {
        gap: 10px;
    }

    body[data-page="daily-checkin"] .checkin-status-circle-btn {
        width: 38px;
        height: 38px;
    }

    body[data-page="daily-checkin"] .checkin-status-circle-dot {
        width: 30px;
        height: 30px;
    }

    body[data-page="daily-checkin"] .checkin-note-modal {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: min(92vw, 360px);
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
        padding: 14px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
}

/* ── 2026 Premium Daily Check-in Layout Redesign ────────────── */

/* ── 1. Greeting Section ─────────────────────────────────────── */
body[data-page="daily-checkin"] .checkin-greeting-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 0;
}

body[data-page="daily-checkin"] .checkin-greeting-left {
    flex: 1;
    min-width: 0;
}

body[data-page="daily-checkin"] .checkin-greeting {
    margin: 0;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 600;
    color: #17172F;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

body[data-page="daily-checkin"] .checkin-subtitle {
    margin: 5px 0 0;
    font-size: 13.5px;
    color: #667085;
    line-height: 1.4;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.checkin-manage-goals-pill {
    height: 36px;
    border-radius: 500px;
    border: 1.5px solid rgba(108, 99, 255, 0.28);
    background: #FFFFFF;
    color: #4D45CD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.07);
    cursor: pointer;
}

.checkin-manage-goals-pill i,
.checkin-manage-goals-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.checkin-manage-goals-pill:hover {
    background: rgba(108, 99, 255, 0.07);
    border-color: rgba(108, 99, 255, 0.44);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.14);
    transform: translateY(-1px);
}

/* ── 2. Today's Progress Card — compact refinements ──────────── */
body[data-page="daily-checkin"] .today-summary-card {
    transition: box-shadow 0.2s ease;
}

body[data-page="daily-checkin"] .summary-ring {
    width: 100px;
    height: 100px;
}

/* ── 3. Calendar Section ─────────────────────────────────────── */
body[data-page="daily-checkin"] .checkin-calendar-section {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(108, 99, 255, 0.13);
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.05);
}

body[data-page="daily-checkin"] .checkin-week-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0 0;
}

.checkin-week-pill {
    height: 36px;
    border-radius: 14px;
    border: 1px solid rgba(108, 99, 255, 0.1);
    background: rgba(255, 255, 255, 0.86);
    color: #565B74;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    font-size: 11.5px;
    font-weight: 580;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.checkin-week-pill i,
.checkin-week-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(108, 99, 255, 0.82);
}

.checkin-week-pill:hover {
    background: #FFFFFF;
    border-color: rgba(108, 99, 255, 0.18);
    color: #3F4560;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.045);
    transform: translateY(-1px);
}

.checkin-week-pill:active {
    transform: translateY(1px) scale(0.98);
}

body[data-page="daily-checkin"] .checkin-selected-date {
    margin: 0 5px;
    font-size: 12px;
    font-weight: 500;
    color: #667085;
    text-align: right;
    flex-shrink: 0;
}

body[data-page="daily-checkin"] .checkin-goal-settings-btn {
    flex-shrink: 0;
    margin-left: auto;
}

body[data-page="daily-checkin"] .checkin-floating-action {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(104px + env(safe-area-inset-bottom));
    z-index: 94;
}

body[data-page="daily-checkin"] .checkin-floating-settings-btn {
    width: 58px;
    height: 58px;
}

body[data-page="daily-checkin"] .checkin-floating-settings-btn svg {
    width: 24px;
    height: 24px;
}

/* ── Date dot — explicit rule to ensure visibility ──────────── */
body[data-page="daily-checkin"] .checkin-date-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22A861;
    margin: 3px auto 0;
    display: block;
}

body[data-page="daily-checkin"] .checkin-date-pill.is-active .checkin-date-dot {
    background: #FFFFFF;
}

/* ── Compact date strip pills — 7-column centered grid ──────── */
body[data-page="daily-checkin"] .checkin-date-scroll {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow-x: visible;
    gap: 6px;
    padding: 2px 0 4px;
}

body[data-page="daily-checkin"] .checkin-date-pill {
    min-width: 0;
    width: 100%;
    padding: 7px 4px 6px;
    border-radius: 13px;
    font-size: 10px;
    letter-spacing: 0.01em;
    transition: all 0.18s ease;
    text-align: center;
}

body[data-page="daily-checkin"] .checkin-date-pill strong {
    font-size: 13px;
}

body[data-page="daily-checkin"] .checkin-date-pill.is-active {
    /* box-shadow: 0 8px 18px rgba(108, 99, 255, 0.22); */
}

body[data-page="daily-checkin"] .checkin-date-pill:not(.is-active):hover {
    border-color: rgba(108, 99, 255, 0.28);
    background: rgba(108, 99, 255, 0.04);
    transform: translateY(-1px);
}

body[data-page="daily-checkin"] .checkin-date-pill:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

/* ── 4. Goal Groups — hover + transition polish ──────────────── */
body[data-page="daily-checkin"] .checkin-group-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #17172F;
    margin: 5px 10px;
}

body[data-page="daily-checkin"] .checkin-group-title i,
body[data-page="daily-checkin"] .checkin-group-title i svg {
    color: rgba(108, 99, 255, 1);
    stroke: rgba(108, 99, 255, 1);
}

body[data-page="daily-checkin"] .checkin-goal-list-card {
    transition: box-shadow 0.2s ease;
}

body[data-page="daily-checkin"] .checkin-goal-row-compact {
    transition: background 0.15s ease;
}

body[data-page="daily-checkin"] .checkin-goal-row-compact:hover {
    background: rgba(108, 99, 255, 0.022);
}

body[data-page="daily-checkin"] .checkin-status-circle-btn {
    transition: transform 0.15s ease;
}

body[data-page="daily-checkin"] .checkin-status-circle-btn:hover {
    transform: scale(1.08);
}

body[data-page="daily-checkin"] .checkin-status-circle-dot {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

/* ── 5. Submit button ────────────────────────────────────────── */
body[data-page="daily-checkin"] .checkin-sticky-submit {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    margin-top: 4px;
    margin-bottom: 28px;
}

body[data-page="daily-checkin"] .checkin-sticky-submit .checkin-secondary-btn {
    transition: all 0.2s ease;
}

body[data-page="daily-checkin"] .checkin-sticky-submit .checkin-secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(108, 99, 255, 0.32);
}

/* ── Mobile overflow fix — prevent page-level zoom-out ──────── */
body[data-page="daily-checkin"] .tyfit-main {
    overflow-x: hidden;
}

body[data-page="daily-checkin"] .tyfit-main-inner {
    overflow-x: hidden;
}

body[data-page="daily-checkin"] .checkin-shell {
    overflow-x: hidden;
}

body[data-page="daily-checkin"] .checkin-top-progress-layout {
    display: contents;
}

/* Force grid children to honour available width */
body[data-page="daily-checkin"] .summary-ring-section,
body[data-page="daily-checkin"] .summary-counts-section {
    min-width: 0;
}

body[data-page="daily-checkin"] .summary-counts-section {
    align-items: flex-start;
}

body[data-page="daily-checkin"] .summary-count {
    justify-content: flex-start;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 480px) {
    body[data-page="daily-checkin"] .checkin-greeting-section {
        flex-wrap: wrap;
        gap: 10px;
    }

    body[data-page="daily-checkin"] .checkin-greeting {
        font-size: 20px;
    }

    body[data-page="daily-checkin"] .checkin-group {
        margin-bottom: 18px;
    }

    body[data-page="daily-checkin"] .checkin-sticky-submit {
        left: 0;
        right: 0;
        max-width: none;
        margin: 8px 0 0;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
    }

    body[data-page="daily-checkin"] .checkin-sticky-submit .checkin-secondary-btn {
        width: 100%;
        min-width: 0;
    }

    .checkin-manage-goals-pill span {
        display: inline;
    }
}

@media (max-width: 1023.98px) {
    body[data-page="daily-checkin"] .checkin-sticky-submit {
        display: none !important;
    }
}

@media (min-width: 768px) {
    body[data-page="daily-checkin"] .checkin-top-progress-layout {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 14px;
        align-items: stretch;
        margin-top: 4px;
    }

    body[data-page="daily-checkin"] .checkin-calendar-section,
    body[data-page="daily-checkin"] .today-summary-card {
        height: 100%;
        min-height: 118px;
        margin-bottom: 0;
    }

    body[data-page="daily-checkin"] .checkin-calendar-section {
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }

    body[data-page="daily-checkin"] .checkin-date-scroll {
        width: 100%;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        align-items: center;
        gap: 7px;
        padding: 0;
    }

    body[data-page="daily-checkin"] .today-summary-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 14px;
        align-content: center;
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-card-title,
    body[data-page="daily-checkin"] .today-summary-card .summary-divider {
        display: none;
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-ring-section {
        align-items: center;
        justify-content: center;
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-ring {
        width: 76px;
        height: 76px;
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-ring-value {
        font-size: 19px;
        transform: translateY(6px);
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-ring-label {
        font-size: 8.5px;
        transform: translateY(3px);
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-counts-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding-left: 0;
    }

    body[data-page="daily-checkin"] .today-summary-card .summary-count {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    body[data-page="daily-checkin"] .today-summary-card .count-icon {
        width: 25px;
        height: 25px;
    }

    body[data-page="daily-checkin"] .today-summary-card .count-icon svg {
        width: 13px;
        height: 13px;
    }

    body[data-page="daily-checkin"] .today-summary-card .count-number {
        display: grid;
        gap: 1px;
        color: #667085;
        font-size: 10px;
        line-height: 1.1;
        font-weight: 550;
    }

    body[data-page="daily-checkin"] .today-summary-card .count-number strong {
        color: #17172F;
        font-size: 15px;
        font-weight: 620;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    body[data-page="daily-checkin"] .checkin-sticky-submit {
        justify-items: stretch;
        width: 100%;
        max-width: none;
    }

    body[data-page="daily-checkin"] .checkin-sticky-submit .checkin-secondary-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ── Week Calendar Picker ───────────────────────────────────── */
body[data-page="daily-checkin"] .checkin-week-calendar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 39, 0.34);
    backdrop-filter: blur(4px);
    z-index: 2250;
}

body[data-page="daily-checkin"] .checkin-week-calendar {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 380px);
    background: #FFFFFF;
    border: 1px solid rgba(108, 99, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 28px 56px rgba(17, 24, 39, 0.16);
    padding: 14px;
    z-index: 2251;
    display: grid;
    gap: 10px;
}

body[data-page="daily-checkin"] .checkin-week-calendar-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
}

body[data-page="daily-checkin"] .checkin-week-calendar-head h4 {
    margin: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #1D2144;
}

body[data-page="daily-checkin"] .checkin-week-calendar-nav {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.22);
    background: #FFFFFF;
    color: #4D45CD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

body[data-page="daily-checkin"] .checkin-week-calendar-nav:hover {
    background: rgba(108, 99, 255, 0.1);
}

body[data-page="daily-checkin"] .checkin-week-calendar-nav i,
body[data-page="daily-checkin"] .checkin-week-calendar-nav svg {
    width: 16px;
    height: 16px;
}

body[data-page="daily-checkin"] .checkin-week-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

body[data-page="daily-checkin"] .checkin-week-calendar-weekdays span {
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    color: #8A8FA3;
    text-transform: uppercase;
}

body[data-page="daily-checkin"] .checkin-week-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #FFFFFF;
    color: #262445;
    font-size: 12px;
    font-weight: 400;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    transition: all 0.2s ease;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day:hover {
    border-color: rgba(108, 99, 255, 0.26);
    background: rgba(108, 99, 255, 0.05);
}

body[data-page="daily-checkin"] .checkin-week-calendar-day.is-outside {
    color: #B7BAC9;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day.is-selected {
    background: linear-gradient(135deg, #6C63FF 0%, #8B7CFF 100%);
    color: #FFFFFF;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day.is-disabled {
    opacity: 0.4;
    color: #B7BAC9;
    cursor: not-allowed;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day.is-disabled:hover {
    border-color: transparent;
    background: #FFFFFF;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22A861;
    display: block;
}

body[data-page="daily-checkin"] .checkin-week-calendar-day.is-selected .checkin-week-calendar-day-dot {
    background: #FFFFFF;
}

@media (max-width: 767px) {
    body[data-page="daily-checkin"] .checkin-week-calendar {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: min(92vw, 380px);
        max-width: 380px;
        border-radius: 18px;
        padding-bottom: 14px;
        max-height: calc(100dvh - 36px);
        overflow: hidden;
    }
}

/* Check-in success page reset: restored premium mountain result layout. */
body[data-page="checkin-success"] {
    --success-primary: #6C63FF;
    --success-primary-2: #8B7CFF;
    --success-bg: #FAFAFD;
    --success-border: #E7E4FF;
    --success-text: #101331;
    --success-muted: #667085;
    background: var(--success-bg);
    color: var(--success-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="checkin-success"],
body[data-page="checkin-success"] * {
    box-sizing: border-box;
}

body[data-page="checkin-success"] .checkin-success-page {
    min-height: 100vh;
    padding: 0 10px 104px;
    overflow-x: hidden;
    background:
        radial-gradient(520px 340px at 24% 0%, rgba(139, 124, 255, .13), transparent 64%),
        linear-gradient(180deg, #FFFFFF 0%, #FAF9FF 100%);
}

body[data-page="checkin-success"] .success-content {
    width: min(100%, 760px);
    max-width: calc(100vw - 20px);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

body[data-page="checkin-success"] .success-hero {
    position: relative;
    width: 100vw;
    min-height: 390px;
    margin: 0 calc(50% - 50vw);
    padding: 0 18px 34px;
    display: grid;
    place-items: start center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #FAF9FF;
    box-shadow: none;
}

body[data-page="checkin-success"] .success-hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: -36%;
    right: -36%;
    top: 176px;
    height: calc(100% - 148px);
    border-radius: 50% 50% 0 0 / 13% 13% 0 0;
    background:
        radial-gradient(420px 150px at 50% 0%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
        linear-gradient(180deg, rgba(255,255,255,.98), #FAF9FF 78%);
    pointer-events: none;
}

body[data-page="checkin-success"] .success-mountain-wrap {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 230px;
    z-index: 1;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[data-page="checkin-success"] .success-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 0;
    filter: saturate(1.07) brightness(1.03);
}

body[data-page="checkin-success"] .success-mountain-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 52%, rgba(250,249,255,.38) 100%),
        rgba(30,16,72,.04);
    pointer-events: none;
}

body[data-page="checkin-success"] .success-hero-copy {
    position: relative;
    z-index: 4;
    width: min(100%, 620px);
    margin-top: 132px;
    display: grid;
    justify-items: center;
    text-align: center;
}

body[data-page="checkin-success"] .success-icon-circle {
    width: 92px;
    height: 92px;
    border: 7px solid rgba(255,255,255,.94);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 38px rgba(108,99,255,.13), inset 0 0 0 1px rgba(231,228,255,.72);
    position: relative;
    z-index: 3;
}

body[data-page="checkin-success"] .success-icon-circle img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    display: block;
}

body[data-page="checkin-success"] .success-icon-circle svg {
    display: none;
}

body[data-page="checkin-success"] .success-streak-pill {
    min-height: 32px;
    margin-top: -15px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5B21E8;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(231,228,255,.96);
    box-shadow: 0 12px 24px rgba(108,99,255,.14);
    position: relative;
    z-index: 5;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-title {
    max-width: 300px;
    margin: 20px 0 0;
    color: #101331;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 600;
    text-shadow: none;
}

body[data-page="checkin-success"] .success-subtitle {
    max-width: 292px;
    margin: 10px 0 0;
    color: #5F6684;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    text-shadow: none;
}

body[data-page="checkin-success"] .success-xp-card,
body[data-page="checkin-success"] .today-summary-card,
body[data-page="checkin-success"] .success-streak-card,
body[data-page="checkin-success"] .success-activity-card,
body[data-page="checkin-success"] .success-mini-note {
    max-width: 100%;
    border: 1px solid rgba(231,228,255,.92);
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 30px rgba(108,99,255,.075);
}

body[data-page="checkin-success"] .success-xp-card {
    width: 70%;
    min-width: 270px;
    min-height: 66px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(120px 80px at 14% 50%, rgba(108,99,255,.10), transparent 64%),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(253,252,255,.94));
}

body[data-page="checkin-success"] .success-xp-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--success-primary);
    background:
        radial-gradient(circle at 34% 28%, rgba(255,255,255,.92), transparent 34%),
        linear-gradient(145deg, #F5F1FF, #FFFFFF);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(108,99,255,.10);
}

body[data-page="checkin-success"] .success-xp-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.05;
    fill: rgba(108,99,255,.28);
    filter: drop-shadow(0 0 7px rgba(139,124,255,.28)) drop-shadow(0 5px 9px rgba(108,99,255,.12));
}

body[data-page="checkin-success"] .success-xp-card span {
    display: block;
    color: var(--success-primary);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

body[data-page="checkin-success"] .success-xp-card strong {
    display: block;
    margin-top: 5px;
    color: #101331;
    font-size: 23px;
    line-height: 1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-xp-sparkle {
    position: absolute;
    z-index: -1;
    width: 9px;
    height: 9px;
    color: #8B7CFF;
    opacity: .42;
}

body[data-page="checkin-success"] .success-xp-sparkle::before,
body[data-page="checkin-success"] .success-xp-sparkle::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 999px;
    background: currentColor;
}

body[data-page="checkin-success"] .success-xp-sparkle::before { width: 100%; height: 2px; }
body[data-page="checkin-success"] .success-xp-sparkle::after { width: 2px; height: 100%; }
body[data-page="checkin-success"] .sparkle-one { left: 30%; top: 22%; transform: rotate(45deg); }
body[data-page="checkin-success"] .sparkle-two { right: 12%; top: 26%; width: 7px; height: 7px; transform: rotate(20deg); }
body[data-page="checkin-success"] .sparkle-three { left: 45%; bottom: 18%; width: 6px; height: 6px; color: #C4B5FD; transform: rotate(45deg); }

body[data-page="checkin-success"] .today-summary-card.success-climb-card {
    width: 100%;
    min-height: 208px;
    margin: 0;
    padding: 16px 14px;
    display: grid;
    grid-template-columns: 96px 1px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

body[data-page="checkin-success"] .summary-card-title {
    display: none;
}

body[data-page="checkin-success"] .summary-ring-section {
    display: grid;
    place-items: center;
}

body[data-page="checkin-success"] .summary-ring {
    width: 92px;
    height: 92px;
    display: block;
}

body[data-page="checkin-success"] .summary-ring text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="checkin-success"] .summary-ring-value {
    fill: #101331;
    font-size: 21px;
    font-weight: 600;
}

body[data-page="checkin-success"] .summary-ring-label {
    fill: #4B5577;
    font-size: 8.8px;
    font-weight: 500;
}

body[data-page="checkin-success"] .summary-divider {
    width: 1px;
    height: 92px;
    background: #E3E1F4;
}

body[data-page="checkin-success"] .success-climb-main {
    min-width: 0;
    overflow: hidden;
}

body[data-page="checkin-success"] .success-climb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body[data-page="checkin-success"] .success-climb-head h2 {
    margin: 0;
    color: #101331;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-climb-head span {
    display: none;
}

body[data-page="checkin-success"] .success-trail-visual {
    height: 58px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

body[data-page="checkin-success"] .success-trail-track {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 0;
    background: transparent;
}

body[data-page="checkin-success"] .success-trail-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

body[data-page="checkin-success"] .success-trail-line path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

body[data-page="checkin-success"] .success-trail-line.is-base path {
    stroke: #E7E2FF;
    stroke-width: 8;
}

body[data-page="checkin-success"] .success-trail-line.is-fill path {
    stroke: #6C63FF;
    stroke-width: 9;
}

body[data-page="checkin-success"] .success-trail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    overflow: hidden;
    background: transparent;
    filter: drop-shadow(0 7px 11px rgba(108,99,255,.20));
    transition: width .5s ease;
}

body[data-page="checkin-success"] .success-hiker {
    position: absolute;
    left: var(--trail-progress, 0%);
    bottom: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #5B21B6;
    transform: translateX(-50%);
    z-index: 5;
    filter: drop-shadow(0 4px 7px rgba(91,33,232,.22));
    transition: left .5s ease;
}

body[data-page="checkin-success"] .success-hiker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body[data-page="checkin-success"] .success-hiker svg {
    display: none;
}

body[data-page="checkin-success"] .success-summit {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #7C63FF;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(231,228,255,.82);
    box-shadow: 0 8px 18px rgba(108,99,255,.10);
    opacity: .82;
}

body[data-page="checkin-success"] .success-summit svg {
    width: 58%;
    height: 58%;
    stroke-width: 2.3;
    fill: rgba(108,99,255,.12);
}

body[data-page="checkin-success"] .success-xp-progress-row {
    margin-top: 2px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #6B6F8D;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-xp-progress-row strong {
    color: var(--success-primary);
    font-weight: 600;
}

body[data-page="checkin-success"] .summary-counts-section {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #E7E4FF;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

body[data-page="checkin-success"] .summary-count {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

body[data-page="checkin-success"] .count-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    flex-shrink: 0;
}

body[data-page="checkin-success"] .count-icon.done { color: #FFFFFF; background: linear-gradient(135deg, #22C55E, #16A34A); }
body[data-page="checkin-success"] .count-icon.partial { color: #FFFFFF; background: linear-gradient(135deg, #F59E0B, #FB923C); }
body[data-page="checkin-success"] .count-icon.missed { color: #FFFFFF; background: linear-gradient(135deg, #EF4444, #FB7185); }

body[data-page="checkin-success"] .count-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

body[data-page="checkin-success"] .count-number {
    color: #EF4444;
    font-size: 10px;
    line-height: 1.18;
    font-weight: 600;
}

body[data-page="checkin-success"] .summary-count:nth-child(1) .count-number { color: #16A34A; }
body[data-page="checkin-success"] .summary-count:nth-child(2) .count-number { color: #F97316; }

body[data-page="checkin-success"] .count-number strong {
    display: block;
    color: #101331;
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-streak-card {
    min-height: 76px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.94);
    overflow: hidden;
}

body[data-page="checkin-success"] .success-streak-fire {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #FFF5E7, #FFFFFF);
    box-shadow: inset 0 0 0 1px rgba(255,168,54,.16), 0 12px 22px rgba(249,115,22,.11);
    flex-shrink: 0;
}

body[data-page="checkin-success"] .success-streak-fire img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    display: block;
}

body[data-page="checkin-success"] .success-streak-card strong {
    display: block;
    color: #101331;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-streak-card p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
}

body[data-page="checkin-success"] .success-activity-card {
    padding: 16px 10px;
    overflow: hidden;
}

body[data-page="checkin-success"] .success-activity-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

body[data-page="checkin-success"] .success-activity-head h2,
body[data-page="checkin-success"] .success-activity-head span {
    margin: 0;
    color: var(--success-primary);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

body[data-page="checkin-success"] .success-week-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

body[data-page="checkin-success"] .success-week-day {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #374151;
}

body[data-page="checkin-success"] .success-week-day em {
    font-style: normal;
    color: #29314F;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

body[data-page="checkin-success"] .success-week-day strong {
    color: #303B5D;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-week-day i {
    width: 36px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: end center;
    padding-bottom: 9px;
    border: 1px solid #E7E4FF;
    background: linear-gradient(180deg, #F7F5FF, #FFFFFF);
    box-shadow: inset 0 -16px 24px rgba(108,99,255,.04), 0 10px 18px rgba(108,99,255,.06);
    color: #A7A2C9;
}

body[data-page="checkin-success"] .success-week-day i svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.3;
}

body[data-page="checkin-success"] .success-week-day.is-done i svg {
    width: 27px;
    height: 27px;
    padding: 5px;
    border-radius: 999px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

body[data-page="checkin-success"] .success-activity-legend {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #667085;
    font-size: 11px;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-activity-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body[data-page="checkin-success"] .legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    display: inline-block;
    background: #CBD5E1;
}

body[data-page="checkin-success"] .legend-dot.is-complete { background: #22C55E; }
body[data-page="checkin-success"] .legend-dot.is-partial { background: #6C63FF; }
body[data-page="checkin-success"] .legend-dot.is-missed { background: #A7ADBF; }
body[data-page="checkin-success"] .legend-dot.is-today { border: 3px solid #B9AEFF; background: transparent; }

body[data-page="checkin-success"] .success-mini-note {
    min-height: 60px;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #F1EAFF, #FFFFFF);
}

body[data-page="checkin-success"] .success-mini-note span {
    width: 68px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--success-primary);
}

body[data-page="checkin-success"] .success-mini-note img {
    width: 68px;
    height: 100%;
    object-fit: contain;
    display: block;
}

body[data-page="checkin-success"] .success-mini-note p {
    margin: 0;
    color: #5C6383;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

body[data-page="checkin-success"] .success-btn {
    min-height: 50px;
    border-radius: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-btn.primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #651FFF 0%, #6C63FF 54%, #7C3AED 100%);
    box-shadow: 0 14px 28px rgba(108,99,255,.28);
}

body[data-page="checkin-success"] .success-btn.secondary {
    min-height: 34px;
    color: #5B21E8;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body[data-page="checkin-success"] .tyfit-confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

body[data-page="checkin-success"] .success-motivation-card,
body[data-page="checkin-success"] .success-next-section,
body[data-page="checkin-success"] .success-check-pin {
    display: none !important;
}

@media (min-width: 901px) {
    body[data-page="checkin-success"] .checkin-success-page {
        padding-bottom: 46px;
    }

    body[data-page="checkin-success"] .success-content {
        width: min(100%, 980px);
        max-width: 980px;
    }

    body[data-page="checkin-success"] .success-hero {
        width: min(100%, 980px);
        min-height: 430px;
        margin: 0 auto;
        border-radius: 0 0 42px 42px;
    }

    body[data-page="checkin-success"] .success-mountain-wrap {
        height: 300px;
    }

    body[data-page="checkin-success"] .success-hero::before {
        top: 238px;
    }

    body[data-page="checkin-success"] .success-hero-copy {
        margin-top: 188px;
    }

    body[data-page="checkin-success"] .today-summary-card.success-climb-card {
        grid-template-columns: 128px 1px minmax(0, 1fr);
        padding: 24px;
        gap: 22px;
    }

    body[data-page="checkin-success"] .summary-ring {
        width: 116px;
        height: 116px;
    }

    body[data-page="checkin-success"] [data-tyfit-bottom-nav],
    body[data-page="checkin-success"] .tyfit-mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 390px) {
    body[data-page="checkin-success"] .success-xp-card {
        width: 74%;
        min-width: 258px;
    }

    body[data-page="checkin-success"] .today-summary-card.success-climb-card {
        grid-template-columns: 90px 1px minmax(0, 1fr);
        padding: 14px 12px;
    }

    body[data-page="checkin-success"] .summary-ring {
        width: 86px;
        height: 86px;
    }
}

/* Final polish: cleaner typography + stronger hero curvature */
body[data-page="checkin-success"] .success-hero::before {
    top: 150px;
    height: calc(100% - 108px);
    border-radius: 50% 50% 0 0 / 22% 22% 0 0;
    background:
        radial-gradient(520px 190px at 50% 2%, rgba(255,255,255,.96), rgba(255,255,255,0) 72%),
        linear-gradient(180deg, rgba(255,255,255,.99), #FAF9FF 82%);
}

body[data-page="checkin-success"] .success-icon-circle {
    background: linear-gradient(145deg, #F9F8FF, #F0EEFF);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 16px 34px rgba(108,99,255,.14),
        inset 0 0 0 1px rgba(108,99,255,.10);
}

body[data-page="checkin-success"] .success-title {
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body[data-page="checkin-success"] .success-subtitle {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, .90);
}

body[data-page="checkin-success"] .success-xp-card strong {
    font-size: 21px;
    font-weight: 600;
}

body[data-page="checkin-success"] .summary-ring-value {
    font-size: 20px;
    font-weight: 600;
}

body[data-page="checkin-success"] .summary-ring-label {
    font-size: 8.5px;
    font-weight: 500;
}

body[data-page="checkin-success"] .count-number {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
}

body[data-page="checkin-success"] .count-number strong {
    font-size: 16px;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-streak-card strong {
    font-size: 17px;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-streak-card p,
body[data-page="checkin-success"] .success-mini-note p {
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
}

body[data-page="checkin-success"] .success-activity-head h2,
body[data-page="checkin-success"] .success-activity-head span,
body[data-page="checkin-success"] .success-activity-legend,
body[data-page="checkin-success"] .success-week-day {
    font-weight: 500;
}

body[data-page="checkin-success"] .success-btn {
    font-size: 13.5px;
    font-weight: 600;
}

/* Success page targeted refinements: reference-aligned curve, trail, metrics and calendar */
body[data-page="checkin-success"] .checkin-success-page,
body[data-page="checkin-success"] .checkin-success-page *,
body[data-page="checkin-success"] .checkin-success-page *::before,
body[data-page="checkin-success"] .checkin-success-page *::after {
    box-sizing: border-box;
}

body[data-page="checkin-success"] {
    overflow-x: hidden;
}

body[data-page="checkin-success"] .success-content {
    width: min(100%, 620px);
    max-width: 620px;
    gap: 12px;
    padding: 0 10px 86px;
}

body[data-page="checkin-success"] .success-hero {
    min-height: 374px;
    padding-bottom: 22px;
}

body[data-page="checkin-success"] .success-mountain-wrap {
    height: 214px;
}

body[data-page="checkin-success"] .success-hero-image {
    object-position: center 38%;
}

body[data-page="checkin-success"] .success-hero::before {
    left: -42%;
    right: -42%;
    top: 154px;
    height: 252px;
    border-radius: 50% 50% 0 0 / 34% 34% 0 0;
    background:
        radial-gradient(620px 210px at 50% -5%, rgba(255,255,255,.98), rgba(255,255,255,.76) 58%, rgba(255,255,255,0) 73%),
        linear-gradient(180deg, rgba(255,255,255,.985), #FAF9FF 84%);
}

body[data-page="checkin-success"] .success-hero-copy {
    margin-top: 126px;
}

body[data-page="checkin-success"] .success-icon-circle {
    width: 92px;
    height: 92px;
    border: 6px solid rgba(255,255,255,.96);
}

body[data-page="checkin-success"] .success-icon-circle img {
    width: 76%;
    height: 76%;
}

body[data-page="checkin-success"] .success-streak-pill {
    min-height: 30px;
    margin-top: -13px;
    padding: 0 17px;
    font-size: 13px;
    font-weight: 650;
}

body[data-page="checkin-success"] .success-title {
    margin-top: 24px;
    max-width: 340px;
    color: #101331;
    font-size: clamp(23px, 5.6vw, 31px);
    line-height: 1.08;
    font-weight: 650;
}

body[data-page="checkin-success"] .success-subtitle {
    max-width: 330px;
    margin-top: 9px;
    color: #5C6383;
    font-size: 13px;
    line-height: 1.38;
    font-weight: 500 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body[data-page="checkin-success"] .success-xp-card {
    min-height: 62px;
    padding: 11px 18px;
    grid-template-columns: 52px 1fr;
    gap: 12px;
}

body[data-page="checkin-success"] .success-xp-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
}

body[data-page="checkin-success"] .success-xp-icon svg {
    width: 31px;
    height: 31px;
}

body[data-page="checkin-success"] .success-xp-card span {
    font-size: 9.5px;
    letter-spacing: .01em;
}

body[data-page="checkin-success"] .success-xp-card strong {
    font-size: 21px;
}

body[data-page="checkin-success"] .today-summary-card.success-climb-card {
    min-height: 196px;
    padding: 15px 14px 13px;
    grid-template-columns: 92px 1px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

body[data-page="checkin-success"] .summary-ring {
    width: 90px;
    height: 90px;
}

body[data-page="checkin-success"] .summary-ring circle {
    stroke-width: 10;
}

body[data-page="checkin-success"] .summary-ring-value {
    font-size: 20px;
}

body[data-page="checkin-success"] .summary-ring-label {
    font-size: 8.4px;
}

body[data-page="checkin-success"] .summary-divider {
    height: 92px;
}

body[data-page="checkin-success"] .success-climb-head h2 {
    font-size: 15px;
    font-weight: 650;
}

body[data-page="checkin-success"] .success-trail-visual {
    height: 62px;
    margin-top: 5px;
    overflow: visible;
}

body[data-page="checkin-success"] .success-trail-track {
    inset: 0 12px 0 0;
    overflow: visible;
}

body[data-page="checkin-success"] .success-trail-line .trail-area {
    stroke: none;
}

body[data-page="checkin-success"] .success-trail-line .trail-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

body[data-page="checkin-success"] .success-trail-line.is-base .trail-area {
    fill: rgba(108,99,255,.055);
}

body[data-page="checkin-success"] .success-trail-line.is-base .trail-line {
    stroke: #E4DFFF;
    stroke-width: 4;
}

body[data-page="checkin-success"] .success-trail-line.is-fill .trail-area {
    fill: rgba(108,99,255,.16);
}

body[data-page="checkin-success"] .success-trail-line.is-fill .trail-line {
    stroke: #651FFF;
    stroke-width: 4;
}

body[data-page="checkin-success"] .success-trail-fill {
    filter: drop-shadow(0 6px 10px rgba(108,99,255,.16));
}

body[data-page="checkin-success"] .success-hiker {
    width: 38px;
    height: 38px;
    bottom: 18px;
    transform: translate(-48%, 0);
    filter: drop-shadow(0 5px 8px rgba(91,33,232,.28));
}

body[data-page="checkin-success"] .success-summit {
    right: -2px;
    bottom: 24px;
    width: 27px;
    height: 27px;
    opacity: .92;
}

body[data-page="checkin-success"] .success-xp-progress-row {
    margin-top: -2px;
    font-size: 11.5px;
}

body[data-page="checkin-success"] .summary-counts-section {
    margin-top: 11px;
    padding-top: 12px;
    gap: 0;
}

body[data-page="checkin-success"] .summary-count {
    gap: 8px;
    position: relative;
}

body[data-page="checkin-success"] .summary-count + .summary-count::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: #E0DDF3;
}

body[data-page="checkin-success"] .count-icon {
    width: 28px;
    height: 28px;
}

body[data-page="checkin-success"] .count-icon svg {
    width: 14px;
    height: 14px;
}

body[data-page="checkin-success"] .count-number {
    font-size: 9.8px;
    font-weight: 600;
}

body[data-page="checkin-success"] .count-number strong {
    font-size: 16px;
}

body[data-page="checkin-success"] .success-streak-card {
    min-height: 68px;
    padding: 11px 18px;
    gap: 12px;
}

body[data-page="checkin-success"] .success-streak-fire {
    width: 46px;
    height: 46px;
}

body[data-page="checkin-success"] .success-streak-card strong {
    font-size: 16px;
    font-weight: 650;
}

body[data-page="checkin-success"] .success-streak-card p {
    font-size: 12px;
}

body[data-page="checkin-success"] .success-activity-card {
    padding: 15px 10px 14px;
}

body[data-page="checkin-success"] .success-activity-head {
    padding: 0 4px;
    margin-bottom: 14px;
}

body[data-page="checkin-success"] .success-activity-head h2,
body[data-page="checkin-success"] .success-activity-head span {
    font-size: 10.5px;
    font-weight: 700;
}

body[data-page="checkin-success"] .success-week-row {
    gap: 6px;
}

body[data-page="checkin-success"] .success-week-day {
    gap: 5px;
}

body[data-page="checkin-success"] .success-week-day em {
    font-size: 8.2px;
    font-weight: 650;
}

body[data-page="checkin-success"] .success-week-day strong {
    font-size: 12.5px;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-week-day i {
    width: 40px;
    max-width: 100%;
    height: 56px;
    border-radius: 17px;
    padding-bottom: 8px;
    background: linear-gradient(180deg, #F9F7FF, #FFFFFF);
    box-shadow: inset 0 -14px 20px rgba(108,99,255,.045), 0 9px 18px rgba(108,99,255,.055);
}

body[data-page="checkin-success"] .success-week-day.is-today i {
    border-color: #C7BEFF;
    background: linear-gradient(180deg, #F3EFFF, #FFFFFF);
}

body[data-page="checkin-success"] .success-week-day i svg {
    width: 22px;
    height: 22px;
}

body[data-page="checkin-success"] .success-week-day i img {
    width: 25px;
    height: 18px;
    object-fit: contain;
    opacity: .48;
    filter: grayscale(.2);
}

body[data-page="checkin-success"] .success-week-day.is-done i svg {
    width: 25px;
    height: 25px;
    padding: 5px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 8px 15px rgba(34,197,94,.18);
}

body[data-page="checkin-success"] .success-week-day.is-partial i svg {
    color: #6C63FF;
    fill: rgba(108,99,255,.18);
}

body[data-page="checkin-success"] .success-week-day.is-today:not(.is-done):not(.is-partial) i::after {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 5px solid #B9AEFF;
    box-sizing: border-box;
}

body[data-page="checkin-success"] .success-week-day.is-today:not(.is-done):not(.is-partial) i img {
    display: none;
}

body[data-page="checkin-success"] .success-activity-legend {
    margin-top: 13px;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
}

body[data-page="checkin-success"] .success-mini-note {
    min-height: 58px;
    padding: 10px 18px;
}

body[data-page="checkin-success"] .success-mini-note p {
    font-size: 12.5px;
}

body[data-page="checkin-success"] .success-btn.primary {
    min-height: 48px;
}

/* Climb trail: screenshot-matched terrain, hiker and summit endpoint */
body[data-page="checkin-success"] .success-trail-visual {
    height: 72px;
    margin-top: 0;
    overflow: visible;
}

body[data-page="checkin-success"] .success-trail-track {
    inset: 0 0 0 0;
    overflow: visible;
}

body[data-page="checkin-success"] .success-trail-line.is-base .trail-area {
    fill: rgba(108,99,255,.06);
}

body[data-page="checkin-success"] .success-trail-line.is-base .trail-line {
    stroke: #E8E4FF;
    stroke-width: 4;
}

body[data-page="checkin-success"] .success-trail-line.is-fill .trail-area {
    fill: rgba(108,99,255,.24);
}

body[data-page="checkin-success"] .success-trail-line.is-fill .trail-line {
    stroke: #5B21E8;
    stroke-width: 4;
}

body[data-page="checkin-success"] .success-trail-fill {
    filter: drop-shadow(0 6px 10px rgba(108,99,255,.18));
}

body[data-page="checkin-success"] .success-hiker {
    width: 44px;
    height: 52px;
    bottom: 10px;
    transform: translate(-50%, 0);
    filter: drop-shadow(0 5px 8px rgba(91,33,232,.28));
}

body[data-page="checkin-success"] .success-summit {
    position: absolute;
    right: -18px;
    bottom: 1px;
    width: 86px;
    height: 68px;
    display: grid;
    place-items: end center;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: .82;
    pointer-events: none;
}

body[data-page="checkin-success"] .success-summit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Simplified animated XP progress bar */
body[data-page="checkin-success"] .success-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

body[data-page="checkin-success"] .success-mountain-wrap {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
}

body[data-page="checkin-success"] .success-hero-image {
    width: 100vw !important;
    max-width: none !important;
}

body[data-page="checkin-success"] .success-trail-visual {
    height: 48px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    overflow: visible;
}

body[data-page="checkin-success"] .success-xp-bar-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #F0EDFF 0%, #E8E4FF 100%);
    box-shadow:
        inset 0 1px 2px rgba(76,29,149,.08),
        0 8px 18px rgba(108,99,255,.08);
}

body[data-page="checkin-success"] .success-xp-bar-track::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0));
    pointer-events: none;
}

body[data-page="checkin-success"] .success-xp-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(135deg, #6C63FF 0%, #7C3AED 52%, #A78BFA 100%);
    box-shadow:
        0 0 18px rgba(108,99,255,.34),
        inset 0 1px 0 rgba(255,255,255,.32);
}

body[data-page="checkin-success"] .success-trail-line,
body[data-page="checkin-success"] .success-trail-fill svg,
body[data-page="checkin-success"] .success-hiker,
body[data-page="checkin-success"] .success-summit {
    display: none !important;
}

@media (min-width: 700px) {
    body[data-page="checkin-success"] .success-content {
        width: min(100%, 760px);
        max-width: 760px;
    }

    body[data-page="checkin-success"] .success-hero {
        min-height: 404px;
    }

    body[data-page="checkin-success"] .success-mountain-wrap {
        height: 248px;
    }

    body[data-page="checkin-success"] .success-hero::before {
        top: 195px;
        height: 250px;
        border-radius: 50% 50% 0 0 / 28% 28% 0 0;
    }

    body[data-page="checkin-success"] .success-hero-copy {
        margin-top: 158px;
    }
}

@media (min-width: 901px) {
    body[data-page="checkin-success"] .success-content {
        width: min(100%, 980px);
        max-width: 980px;
        padding-inline: 20px;
        gap: 14px;
    }

    body[data-page="checkin-success"] .success-hero {
        min-height: 424px;
        width: min(100%, 980px);
    }

    body[data-page="checkin-success"] .success-mountain-wrap {
        height: 286px;
    }

    body[data-page="checkin-success"] .success-hero::before {
        top: 224px;
        height: 260px;
    }

    body[data-page="checkin-success"] .success-hero-copy {
        margin-top: 185px;
    }

    body[data-page="checkin-success"] .today-summary-card.success-climb-card {
        grid-template-columns: 124px 1px minmax(0, 1fr);
        padding: 22px;
        gap: 22px;
    }

    body[data-page="checkin-success"] .summary-ring {
        width: 112px;
        height: 112px;
    }

    body[data-page="checkin-success"] .success-week-day i {
        width: 50px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    html:has(body[data-page="checkin-success"]),
    body[data-page="checkin-success"] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body[data-page="checkin-success"] .success-content {
        width: 100vw;
        max-width: 100vw;
        padding-inline: 9px;
        gap: 11px;
        overflow: hidden;
    }

    body[data-page="checkin-success"] .success-hero {
        width: 100vw;
        max-width: 100vw;
        min-height: 366px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    body[data-page="checkin-success"] .success-xp-card,
    body[data-page="checkin-success"] .today-summary-card,
    body[data-page="checkin-success"] .success-streak-card,
    body[data-page="checkin-success"] .success-activity-card,
    body[data-page="checkin-success"] .success-mini-note,
    body[data-page="checkin-success"] .success-buttons {
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    body[data-page="checkin-success"] .success-hero-copy {
        margin-top: 126px;
    }

    body[data-page="checkin-success"] .today-summary-card.success-climb-card {
        grid-template-columns: 86px 1px minmax(0, 1fr);
        gap: 9px;
        padding: 13px 11px;
    }

    body[data-page="checkin-success"] .summary-ring {
        width: 84px;
        height: 84px;
    }

    body[data-page="checkin-success"] .success-climb-head h2 {
        font-size: 14px;
    }

    body[data-page="checkin-success"] .success-trail-track {
        inset-right: 6px;
    }

    body[data-page="checkin-success"] .success-week-row {
        gap: 4px;
    }

    body[data-page="checkin-success"] .success-week-day i {
        height: 52px;
        border-radius: 15px;
    }
}
