/* Public class achievements: calm reading, clear places, chronological activity. */
.class-profile-page { --profile-navy: #18394f; --profile-muted: #596d7b; --profile-line: #dde5e9; background: #f5f7f8; color: #213849; }
.class-profile-page [hidden] { display: none !important; }
.class-profile-page .topbar { background: #fff; }
.class-profile { padding-bottom: 56px; }
.class-breadcrumb { display: flex; align-items: center; gap: 12px; padding: 26px 0 20px; color: #667c8a; font-size: .81rem; }
.class-breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; color: #305e77; text-decoration: none; font-weight: 650; }
.class-breadcrumb a:hover { text-decoration: underline; }
.class-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 36px; padding: 42px 44px; border: 1px solid #23495e; border-radius: 24px; background: #18394f; color: #fff; overflow: hidden; }
.class-hero::before { position: absolute; top: -170px; right: 110px; width: 620px; height: 620px; border: 1px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.class-hero::after { position: absolute; bottom: -310px; right: 270px; width: 520px; height: 520px; border: 1px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.class-hero__copy { position: relative; min-width: 0; z-index: 1; }
.class-hero__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #c2d7df; font-size: .67rem; font-weight: 730; letter-spacing: .12em; }
.class-hero__labels > span:last-child { padding: 5px 10px; border: 1px solid #446176; border-radius: 6px; font-size: .71rem; letter-spacing: .03em; color: #e3eef1; }
.class-hero h1 { margin: 20px 0 8px; font-size: clamp(2.8rem, 6.4vw, 5.5rem); letter-spacing: -.055em; font-weight: 760; line-height: 1.08; overflow-wrap: anywhere; }
.class-hero h1 > span { font-size: .35em; font-weight: 550; color: #c1d7df; letter-spacing: -.025em; }
.class-hero__tagline { margin: 0; color: #edf4f7; font-size: 1.13rem; font-weight: 530; letter-spacing: -.015em; }
.class-hero__details { display: flex; flex-direction: column; gap: 5px; margin-top: 20px; color: #bfd3dc; font-size: .81rem; line-height: 1.5; }
.class-hero__jump { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 9px 16px; margin-top: 24px; color: #f2fafb; background: #ffffff0c; border: 1px solid #648294; border-radius: 9px; font-size: .83rem; font-weight: 650; text-decoration: none; }
.class-hero__jump:hover { background: #ffffff17; }
.class-place { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; color: #4f4528; border-radius: 17px; background: #f9edcb; text-align: center; }
.class-place__icon { width: 38px; height: 38px; color: #877044; margin-bottom: 8px; }
.class-place__label { font-size: .57rem; font-weight: 800; letter-spacing: .1em; }
.class-place__number { font-size: clamp(4rem, 8vw, 6rem); font-weight: 760; line-height: 1.05; letter-spacing: -.06em; margin: 3px 0 0; }
.class-place__caption { font-size: 1rem; font-weight: 650; }
.class-place__count { margin-top: 5px; color: #6c6043; font-size: .77rem; }
.class-place small { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e1d3ae; color: #74623f; font-size: .69rem; line-height: 1.5; }
.class-place--pending { background: #e8f0f4; color: #395467; }
.class-place--pending .class-place__icon, .class-place--pending .class-place__count { color: #5e788a; }
.class-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 32px; }
.class-metrics article { display: flex; align-items: center; gap: 16px; padding: 23px 26px; min-width: 0; border: 1px solid var(--profile-line); border-radius: 14px; background: #fff; }
.class-metrics article > div { min-width: 0; }
.class-metric-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; color: #367e70; background: #ecf5ef; font-weight: 720; font-size: 1.25rem; }
.class-metric-icon--gold { color: #91732e; background: #fbf4de; }
.class-metric-icon--blue { color: #3c6b86; background: #eaf2f8; }
.class-metrics strong { display: block; font-size: 2rem; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.class-metrics strong small { font-size: .88rem; font-weight: 500; letter-spacing: 0; color: #7e8e99; }
.class-metrics [data-school-rank] { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.class-metrics [data-school-rank] > small { flex: 0 0 auto; line-height: 1; }
.class-metrics article > div > span { display: block; margin-top: 7px; color: var(--profile-muted); font-size: .8rem; line-height: 1.4; }
.class-source-note { padding: 18px 22px; margin-bottom: 28px; border: 1px solid #d8e2e7; border-left: 3px solid #80a5b5; border-radius: 10px; background: #edf3f6; font-size: .83rem; line-height: 1.6; }
.class-source-note p { color: #566a77; margin: 5px 0 0; }
.class-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 32px; }
.class-activity { min-width: 0; scroll-margin-top: 24px; }
.class-eyebrow { display: block; color: #648090; font-size: .62rem; font-weight: 760; letter-spacing: .1em; }
.class-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.class-section-heading h2 { margin: 6px 0 7px; font-size: 1.8rem; letter-spacing: -.035em; line-height: 1.25; }
.class-section-heading p { margin: 0; color: var(--profile-muted); font-size: .83rem; line-height: 1.55; }
.class-activity__year { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #d8e3e7; border-radius: 7px; color: #587183; font-size: .72rem; }
.activity-controls { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 10px 14px; margin-bottom: 24px; padding: 16px 18px; border: 1px solid var(--profile-line); border-radius: 12px; background: #fff; }
.activity-controls label { display: grid; min-width: 0; gap: 6px; }
.activity-controls label > span { color: #567181; font-size: .72rem; font-weight: 640; }
.activity-controls input, .activity-controls select { margin: 0; min-height: 44px; width: 100%; border-color: #d5e0e5; border-radius: 8px; color: #254457; font-size: .82rem; }
.activity-controls__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; grid-column: 1 / -1; font-size: .7rem; color: #758794; }
.activity-controls__status button { color: #30657a; padding: 4px 0; font-size: .72rem; font-weight: 650; background: none; border: 0; cursor: pointer; }
.activity-no-results { padding: 28px; border: 1px dashed #cadbe3; border-radius: 12px; background: #fff; text-align: center; font-size: .9rem; }
.activity-no-results p { color: var(--profile-muted); margin: 8px 0 0; font-size: .81rem; }
.activity-month { margin-bottom: 27px; }
.activity-month h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; color: #3e6276; font-size: .85rem; font-weight: 720; letter-spacing: -.01em; }
.activity-month h3::after { content: ""; height: 1px; background: #dce5e9; flex: 1; }
.activity-month__events { display: grid; gap: 12px; margin-left: 5px; padding-left: 24px; border-left: 1px solid #cadbe1; }
.activity-entry { position: relative; min-width: 0; }
.activity-entry__dot { position: absolute; left: -29px; top: 27px; width: 9px; height: 9px; border: 2px solid #f5f7f8; border-radius: 50%; outline: 1px solid #74a59d; background: #74a59d; }
.activity-entry__dot--adjustment { background: #c7a374; outline-color: #c7a374; }
.activity-entry__card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 21px 23px; border: 1px solid var(--profile-line); border-radius: 12px; background: #fff; }
.activity-entry__body { min-width: 0; }
.activity-entry time, .activity-entry__date { display: block; color: #788995; font-size: .72rem; }
.activity-entry h4 { margin: 6px 0 0; font-size: .98rem; line-height: 1.5; font-weight: 680; letter-spacing: -.015em; overflow-wrap: anywhere; }
.activity-entry__total { margin: 8px 0 0; color: #7b8d97; font-size: .7rem; }
.activity-entry__total strong { color: #647d8b; font-weight: 650; }
.activity-points { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 76px; padding: 11px 12px; border-radius: 10px; color: #287a5d; background: #edf6f0; }
.activity-points strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }
.activity-points > span { font-size: .65rem; margin-top: 2px; }
.activity-points--negative { color: #896137; background: #fbf2e6; }
.activity-points--zero { color: #627682; background: #f0f4f6; }
.activity-end { display: flex; align-items: center; gap: 12px; margin: 3px 0 0; color: #80929d; font-size: .71rem; line-height: 1.5; }
.activity-end > span { color: #afbec6; }
.class-sidebar { display: grid; gap: 18px; min-width: 0; padding-top: 3px; }
.class-sidebar > article { min-width: 0; padding: 24px; border: 1px solid var(--profile-line); border-radius: 14px; background: #fff; }
.class-sidebar h2, .class-sidebar h3 { line-height: 1.45; letter-spacing: -.02em; overflow-wrap: anywhere; }
.class-sidebar h2 { font-size: 1.14rem; margin: 11px 0 10px; }
.class-sidebar h3 { font-size: .92rem; margin: 0 0 9px; }
.class-sidebar p { color: var(--profile-muted); font-size: .8rem; line-height: 1.65; margin: 0 0 12px; }
.class-sidebar p:last-child { margin-bottom: 0; }
.class-sidebar .class-next-step { color: #285146; border-color: #cfe3d8; background: #edf6f0; }
.class-next-step .class-eyebrow { color: #5b8271; }
.class-next-step > p { color: #527365; }
.class-next-step > a { display: inline-flex; align-items: center; gap: 12px; min-height: 38px; margin-top: 9px; color: #397660; font-size: .78rem; font-weight: 670; text-decoration: none; }
.class-next-step > a:hover { text-decoration: underline; }
.class-next-step__points { display: block; margin: 6px 0 10px; font-size: 2.5rem; font-weight: 750; letter-spacing: -.04em; line-height: 1.25; }
.class-next-step__points small { font-size: .87rem; font-weight: 600; letter-spacing: 0; }
.class-next-step__star { display: block; margin-top: 10px; font-size: 2rem; color: #d4a951; }
.class-highlight__points { display: block; margin: 14px 0 10px; color: #375e72; font-size: 1.65rem; letter-spacing: -.02em; }
.class-highlight__points small { font-size: .74rem; font-weight: 550; }
.class-highlight time { display: block; color: #7b8f9c; font-size: .71rem; }
.class-rating-help p { font-size: .76rem; }
.class-share .copy-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.class-share input { min-width: 0; margin: 0; min-height: 42px; border-radius: 8px; font-size: .73rem; color: #718693; }
.class-share .button { min-height: 42px; border-radius: 8px; font-size: .78rem; box-shadow: none; }
.class-empty { display: flex; flex-direction: column; align-items: center; padding: 48px 30px; text-align: center; background: #fff; border: 1px solid var(--profile-line); border-radius: 15px; }
.class-empty > span { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; color: #81a6b3; background: #edf4f7; border-radius: 18px; font-size: 2rem; }
.class-empty h3 { margin: 10px 0; font-size: 1.25rem; letter-spacing: -.025em; }
.class-empty p { max-width: 380px; font-size: .87rem; color: var(--profile-muted); line-height: 1.6; }
.class-empty .class-empty__encouragement { color: #718894; font-size: .8rem; }
.class-profile-page :is(a, button, input, select):focus-visible { outline: 3px solid #6ab5ce; outline-offset: 4px; }
@media (max-width: 1000px) {
    .class-hero { padding: 32px; gap: 24px; grid-template-columns: minmax(0, 1fr) 210px; }
    .class-metrics article { padding: 20px; gap: 12px; }
    .class-metric-icon { flex-basis: 36px; width: 36px; height: 36px; }
    .class-content { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
    .class-sidebar > article { padding: 20px; }
    .activity-controls { grid-template-columns: minmax(0, 1fr); }
    .activity-entry__card { padding: 18px; gap: 16px; }
}
@media (max-width: 760px) {
    .class-hero { grid-template-columns: minmax(0, 1fr) 175px; padding: 26px; }
    .class-hero__tagline { font-size: .95rem; }
    .class-hero__details { font-size: .77rem; }
    .class-place { padding: 18px 12px; }
    .class-place__label { font-size: .5rem; }
    .class-place__number { font-size: 4.5rem; }
    .class-metrics { gap: 10px; }
    .class-metrics article { align-items: flex-start; padding: 18px 14px; }
    .class-metric-icon { display: none; }
    .class-metrics strong { font-size: 1.6rem; }
    .class-metrics article > div > span { font-size: .7rem; }
    .class-content { grid-template-columns: minmax(0, 1fr); }
    .class-sidebar { grid-template-columns: 1fr 1fr; gap: 14px; }
    .class-activity { scroll-margin-top: 20px; }
    .activity-controls { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (max-width: 480px) {
    .class-profile-page .shell { width: calc(100% - 28px); }
    .class-breadcrumb { padding: 15px 0; font-size: .74rem; flex-wrap: wrap; gap: 8px; }
    .class-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 25px 24px; border-radius: 18px; }
    .class-hero__labels { font-size: .58rem; gap: 9px; }
    .class-hero h1 { font-size: 3.4rem; margin-top: 16px; }
    .class-hero__details { margin-top: 15px; }
    .class-hero__jump { margin-top: 18px; }
    .class-place { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; text-align: left; align-items: center; justify-items: start; padding: 18px 20px; }
    .class-place__icon { display: none; }
    .class-place__label { grid-row: 1; grid-column: 1; font-size: .56rem; }
    .class-place__number { grid-column: 2; grid-row: 1 / 4; font-size: 4.2rem; margin: 0 0 0 16px; }
    .class-place__caption { grid-column: 1; grid-row: 2; font-size: .9rem; }
    .class-place__count { grid-column: 1; grid-row: 3; margin-top: 0; font-size: .72rem; }
    .class-place small { grid-column: 1 / -1; grid-row: 4; font-size: .67rem; width: 100%; }
    .class-metrics { margin: 14px 0 26px; gap: 8px; }
    .class-metrics article { padding: 14px 11px; border-radius: 10px; }
    .class-metrics strong { font-size: 1.45rem; }
    .class-metrics strong small { font-size: .7rem; white-space: nowrap; }
    .class-metrics article > div > span { font-size: .64rem; line-height: 1.5; }
    .class-section-heading { align-items: flex-start; }
    .class-section-heading h2 { font-size: 1.55rem; }
    .class-section-heading p { font-size: .78rem; }
    .class-activity__year { display: none; }
    .activity-controls { grid-template-columns: minmax(0, 1fr); padding: 15px; }
    .activity-controls input, .activity-controls select { font-size: 16px; }
    .activity-month__events { padding-left: 17px; }
    .activity-entry__dot { left: -22px; }
    .activity-entry__card { gap: 12px; padding: 17px 14px; align-items: flex-start; }
    .activity-entry h4 { font-size: .88rem; }
    .activity-entry__total { font-size: .67rem; line-height: 1.5; }
    .activity-entry time, .activity-entry__date { font-size: .68rem; }
    .activity-points { min-width: 59px; padding: 9px 8px; }
    .activity-points strong { font-size: 1.25rem; }
    .activity-points > span { font-size: .59rem; }
    .class-sidebar { grid-template-columns: minmax(0, 1fr); }
    .class-next-step__points { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .class-profile-page, .class-profile-page * { scroll-behavior: auto !important; transition: none !important; }
}

.class-score-breakdown { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: -6px 0 26px; padding: 0 4px; font-size: .78rem; color: #5d7586; }
.class-score-breakdown > span { display: flex; align-items: baseline; gap: 10px; }
.class-score-breakdown strong { color: #254b63; font-variant-numeric: tabular-nums; }
.class-place__count > small { display: block; margin-top: 7px; }
.activity-entry__kind { display: block; margin: 7px 0; color: #497888; font-size: .66rem; font-weight: 600; }

.activity-entry__edit { display: inline-block; margin: 5px 0; color: #427387; font-size: .7rem; text-underline-offset: 3px; }
