:root {
  --ivory: #faf8f4;
  --paper: #fff;
  --lilac: #efedf7;
  --rose: #eee5df;
  --sage: #dde8dd;
  --iris: #5b60c7;
  --indigo: #3b3f8f;
  --ink: #353746;
  --muted: #666878;
  --line: #deddea;
  --success: #4e7659;
  --warning: #9a6631;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ivory); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); line-height: 1.5; }
button, input, select { font: inherit; }
button { color: inherit; }
button:not(:disabled) { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 24px; padding: 10px 15px; border-radius: 0 0 8px 8px; color: white; background: var(--indigo); }
.skip-link:focus { top: 0; }
.eyebrow { margin: 0 0 13px; color: var(--iris); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.demo-pill { display: inline-flex; width: fit-content; margin-bottom: 24px; padding: 7px 11px; border-radius: 999px; color: var(--indigo); background: var(--lilac); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.demo-pill-light { margin: 0 0 13px; color: white; background: rgba(255,255,255,.14); }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); }
.login-branding { position: relative; min-height: 100vh; overflow: hidden; padding: 40px clamp(40px, 6vw, 92px) 60px; background: linear-gradient(145deg, var(--ivory) 20%, var(--lilac) 100%); }
.login-branding::before { content: ""; position: absolute; width: 720px; height: 720px; right: -340px; top: -290px; border: 1px solid rgba(91,96,199,.2); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.18), 0 0 0 140px rgba(255,255,255,.12); }
.portal-brand { position: relative; z-index: 2; display: block; width: min(310px, 70%); }
.login-copy { position: relative; z-index: 2; max-width: 650px; margin-top: clamp(90px, 13vh, 145px); }
.login-copy h1 { max-width: 620px; margin: 0 0 24px; color: var(--indigo); font-family: var(--serif); font-size: clamp(50px, 5.6vw, 82px); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
.login-copy > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; }
.login-art { position: absolute; right: -45px; bottom: -80px; width: min(37vw, 470px); }
.login-art span { position: absolute; inset: 10% 9%; border: 1px solid rgba(91,96,199,.24); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.2), 0 0 0 62px rgba(255,255,255,.11); }
.login-art img { position: relative; z-index: 1; filter: drop-shadow(0 25px 26px rgba(59,63,143,.15)); transform: rotate(-7deg); }
.login-panel { display: grid; min-height: 100vh; place-items: center; padding: 56px clamp(34px, 6vw, 88px); background: var(--paper); }
.login-card { width: min(100%, 440px); }
.login-card h2 { margin: 0 0 12px; color: var(--indigo); font-family: var(--serif); font-size: 45px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.login-intro { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.login-card label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 700; }
.login-card input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: var(--ivory); transition: border .2s, box-shadow .2s; }
.login-card input:focus { border-color: var(--iris); box-shadow: 0 0 0 3px rgba(91,96,199,.12); }
.login-card input::placeholder { color: #a1a1ad; }
.password-label { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; }
.password-label label { margin-bottom: 7px; }
.password-field { position: relative; }
.password-field input { padding-right: 60px; }
.password-toggle { position: absolute; right: 8px; top: 50%; padding: 8px; border: 0; color: var(--iris); background: transparent; font-size: 11px; font-weight: 700; transform: translateY(-50%); }
.primary-button, .secondary-button, .outline-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 18px; padding: 11px 19px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { width: 100%; margin-top: 25px; border: 1px solid var(--indigo); color: white; background: var(--indigo); }
.primary-button:not(:disabled):hover, .secondary-button:hover, .outline-button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(59,63,143,.13); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; }
.primary-button.small { width: auto; min-height: 42px; margin: 0; padding: 9px 17px; }
.secondary-button, .outline-button { border: 1px solid rgba(91,96,199,.45); color: var(--indigo); background: white; }
.text-button { padding: 0; border: 0; color: var(--iris); background: transparent; font-size: 11px; font-weight: 700; }
.form-status { min-height: 21px; margin: 9px 0 0; color: var(--warning); font-size: 12px; }
.demo-entry { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0; }
.demo-entry::before, .demo-entry::after { content: ""; height: 1px; background: var(--line); }
.demo-entry span { grid-column: 2; color: #9b9ba6; font-size: 11px; }
.demo-entry .secondary-button { grid-column: 1 / -1; width: 100%; }
.privacy-note { margin: 0 0 22px; color: var(--muted); font-size: 11px; }
.back-link { color: var(--iris); font-size: 12px; font-weight: 700; }

.dashboard-view { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f7f6f2; }
.portal-sidebar { position: sticky; z-index: 20; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 27px 20px 24px; color: #eeeefe; background: var(--indigo); }
.sidebar-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.14); color: white; font-family: var(--serif); font-size: 19px; line-height: .95; }
.sidebar-brand img { width: 44px; filter: brightness(0) invert(1); }
.sidebar-course { display: grid; gap: 4px; margin: 25px 8px 20px; }
.sidebar-course span { color: #bdbee9; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-course strong { color: white; font-size: 12px; }
.portal-nav { display: grid; gap: 5px; }
.nav-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 12px 13px; border: 0; border-radius: 9px; color: #d5d5f5; background: transparent; text-align: left; font-size: 12px; font-weight: 600; }
.nav-item span { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: 11px; }
.nav-item b { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: var(--indigo); background: white; font-size: 9px; }
.nav-item:hover, .nav-item.is-active { color: white; background: rgba(255,255,255,.12); }
.sidebar-footer { margin-top: auto; padding: 20px 8px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sidebar-footer button { display: block; padding: 0; border: 0; color: #d5d5f5; background: transparent; font-size: 11px; }
.portal-shell { min-width: 0; }
.portal-header { display: flex; min-height: 84px; align-items: center; justify-content: flex-end; gap: 15px; padding: 0 clamp(28px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.87); }
.portal-header > div:nth-child(2) { text-align: right; }
.portal-header p { margin: 0; color: var(--muted); font-size: 10px; }
.portal-header strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.student-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: white; background: var(--iris); font-size: 11px; font-weight: 700; }
.mobile-menu { display: none; }
.demo-banner { margin: 20px clamp(28px, 4vw, 58px) 0; padding: 11px 15px; border: 1px solid #d5d4eb; border-radius: 10px; color: var(--muted); background: var(--lilac); font-size: 11px; }
.demo-banner strong { color: var(--indigo); }
.portal-main { max-width: 1240px; margin: 0 auto; padding: 39px clamp(28px, 4vw, 58px) 70px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading h1 { margin: 0; color: var(--indigo); font-family: var(--serif); font-size: clamp(42px, 4.4vw, 62px); font-weight: 500; letter-spacing: -.04em; line-height: .95; }
.section-heading > div > p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.summary-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 15px; }
.summary-card, .panel, .activity-card, .class-card { border: 1px solid #e2e0e8; border-radius: 3px 24px 3px 24px; background: white; }
.summary-card { min-height: 145px; padding: 23px; }
.summary-card > span, .card-top span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.summary-card > strong { display: block; margin: 17px 0 5px; color: var(--indigo); font-family: var(--serif); font-size: 25px; font-weight: 500; }
.summary-card p { margin: 0; color: var(--muted); font-size: 11px; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top strong { color: var(--indigo); font-family: var(--serif); font-size: 25px; font-weight: 500; }
.progress-track { height: 7px; margin: 25px 0 12px; overflow: hidden; border-radius: 999px; background: var(--lilac); }
.progress-track span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--iris), #888cdf); }
.next-class-card { background: var(--sage); }
.pending-card { color: white; background: var(--indigo); }
.pending-card > span, .pending-card p { color: #d4d5f5; }
.pending-card > strong { color: white; }
.pending-card button { margin-top: 6px; padding: 0; border: 0; color: white; background: transparent; font-size: 11px; font-weight: 700; }
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; margin-top: 15px; }
.panel { padding: 27px; }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; }
.panel-heading span { color: var(--iris); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.panel-heading h2, .activity-card h2, .table-heading h2 { margin: 8px 0 0; color: var(--indigo); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.panel-heading time { display: grid; flex: 0 0 58px; height: 58px; place-items: center; border: 1px solid var(--iris); border-radius: 50%; color: var(--indigo); font-family: var(--serif); font-size: 15px; }
.upcoming-panel > p { margin: 18px 0 25px; color: var(--muted); font-size: 12px; }
.panel-actions { display: flex; align-items: center; gap: 22px; }
.timeline { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 12px; padding-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; width: 1px; top: 12px; bottom: -2px; left: 5px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }.timeline li:last-child::before { display: none; }
.timeline i { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 4px; border: 2px solid white; border-radius: 50%; background: #c9c8d5; box-shadow: 0 0 0 1px #c9c8d5; }
.timeline .is-done i { background: var(--iris); box-shadow: 0 0 0 1px var(--iris); }
.timeline div { display: grid; gap: 2px; }.timeline strong { font-size: 12px; }.timeline span { color: var(--muted); font-size: 10px; }

.activity-list, .class-list { display: grid; gap: 15px; }
.activity-card { padding: 27px; }
.activity-card.is-pending { border-color: #c8c7e7; background: linear-gradient(135deg, white, #faf9fe); }
.activity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.activity-meta time { margin-left: auto; }
.status { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.status-pending { color: #855326; background: #f6e8d7; }.status-review { color: var(--indigo); background: var(--lilac); }.status-done { color: var(--success); background: #e3eee4; }.status-open { color: #855326; background: #f6e8d7; }
.activity-card h2 { margin-top: 18px; }
.activity-card > p { max-width: 720px; margin: 11px 0 21px; color: var(--muted); font-size: 12px; }
.activity-upload { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px 18px; align-items: center; padding: 18px; border: 1px dashed #b8b8d9; border-radius: 13px; background: var(--lilac); }
.activity-upload label { cursor: pointer; }.activity-upload label strong, .activity-upload label span { display: block; }.activity-upload label strong { color: var(--indigo); font-size: 12px; }.activity-upload label span { color: var(--muted); font-size: 10px; }
.activity-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.activity-upload > p { margin: 0; color: var(--muted); font-size: 10px; }.activity-upload .primary-button { grid-row: 1 / 3; grid-column: 2; }.activity-upload .activity-status { grid-column: 1 / -1; min-height: 0; color: var(--success); }

.finance-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 3px 24px 3px 24px; background: var(--line); }
.finance-summary div { min-height: 110px; padding: 22px; background: white; }.finance-summary span, .finance-summary strong { display: block; }.finance-summary span { color: var(--muted); font-size: 10px; }.finance-summary strong { margin-top: 14px; color: var(--indigo); font-family: var(--serif); font-size: 24px; font-weight: 500; }.finance-summary .paid-text { color: var(--success); }
.finance-panel { padding: 0; overflow: hidden; }
.table-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 27px; border-bottom: 1px solid var(--line); }.table-heading h2 { margin: 0; }.table-heading span { color: var(--muted); font-size: 10px; }
.payment-row { display: grid; grid-template-columns: .7fr 1fr 1fr 1fr .8fr; align-items: center; gap: 14px; padding: 17px 27px; border-bottom: 1px solid #eeeef3; font-size: 11px; }.payment-row button { justify-self: end; padding: 5px 0; border: 0; border-bottom: 1px solid #aaa9d0; color: var(--iris); background: transparent; font-size: 10px; font-weight: 700; }.payment-head { color: var(--muted); background: #faf9fc; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.finance-note { margin: 0; padding: 17px 27px; color: var(--muted); background: var(--lilac); font-size: 10px; }

.learning-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.learning-tab { min-height: 48px; padding: 10px 15px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.learning-tab:hover, .learning-tab.is-active { color: white; background: var(--indigo); }
.learning-panel { min-width: 0; }
.learning-panel h2 { margin: 0; color: var(--indigo); font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.intro-hero { position: relative; overflow: hidden; padding: 36px; border-radius: 3px 32px 3px 32px; color: white; background: linear-gradient(120deg, var(--indigo), var(--iris)); }
.intro-hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: -105px; bottom: -190px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.06), 0 0 0 74px rgba(255,255,255,.04); }
.intro-hero .eyebrow { color: #d9daf7; }
.intro-hero h2 { position: relative; z-index: 1; max-width: 620px; color: white; font-size: 40px; }
.intro-hero > p:last-child { position: relative; z-index: 1; max-width: 760px; margin: 17px 0 0; color: #e8e8fa; font-size: 13px; }
.intro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 15px; }
.intro-grid article { display: grid; min-height: 176px; grid-template-columns: 49px 1fr; gap: 15px; padding: 23px; border: 1px solid var(--line); border-radius: 3px 22px 3px 22px; background: white; }
.intro-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--indigo); background: var(--lilac); font-size: 8px; font-weight: 700; letter-spacing: .05em; }
.intro-grid h3 { margin: 1px 0 8px; color: var(--indigo); font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1; }
.intro-grid strong { font-size: 11px; }
.intro-grid p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.intro-note { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: baseline; margin-top: 15px; padding: 18px 22px; border-left: 3px solid var(--iris); background: var(--lilac); }
.intro-note strong { color: var(--indigo); font-size: 11px; }
.intro-note p { margin: 0; color: var(--muted); font-size: 11px; }

.calendar-toolbar, .catalog-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 22px; }
.calendar-toolbar .eyebrow, .catalog-toolbar .eyebrow { margin-bottom: 8px; }
.calendar-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.calendar-filters button { padding: 8px 13px; border: 1px solid #c9c8e3; border-radius: 999px; color: var(--indigo); background: white; font-size: 9px; font-weight: 700; }
.calendar-filters button.is-active { border-color: var(--indigo); color: white; background: var(--indigo); }
.calendar-list { display: grid; gap: 18px; }
.calendar-month { overflow: hidden; border: 1px solid var(--line); border-radius: 3px 24px 3px 24px; background: white; }
.calendar-month h3 { margin: 0; padding: 16px 21px; color: var(--indigo); background: var(--lilac); font-family: var(--serif); font-size: 22px; font-weight: 500; text-transform: capitalize; }
.calendar-event { display: grid; grid-template-columns: 62px 105px 1fr auto; gap: 16px; align-items: center; min-height: 78px; padding: 13px 21px; border-top: 1px solid #eeeef3; }
.calendar-event:first-of-type { border-top: 0; }
.event-date { display: grid; width: 50px; height: 50px; place-items: center; align-content: center; border: 1px solid #c5c5e4; border-radius: 50%; color: var(--indigo); line-height: 1; }
.event-date strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.event-date span { margin-top: 3px; font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.event-mode { width: fit-content; padding: 5px 8px; border-radius: 999px; color: var(--indigo); background: var(--lilac); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calendar-event.is-presencial .event-mode { color: var(--success); background: #e5eee5; }
.event-title { display: grid; gap: 3px; }
.event-title strong { color: var(--ink); font-size: 12px; }
.event-title small, .event-time { color: var(--muted); font-size: 9px; }
.event-time { white-space: nowrap; font-weight: 700; }

.catalog-controls { display: flex; gap: 8px; }
.catalog-controls input, .catalog-controls select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: white; font-size: 10px; }
.catalog-controls input { width: 210px; padding: 0 13px; }
.catalog-controls select { min-width: 130px; padding: 0 31px 0 12px; }
.catalog-controls input:focus, .catalog-controls select:focus { border-color: var(--iris); box-shadow: 0 0 0 3px rgba(91,96,199,.1); }
.catalog-summary { margin: -7px 0 17px; color: var(--muted); font-size: 10px; }
.empty-state { margin: 0; padding: 30px; border: 1px dashed #c8c7df; border-radius: 14px; color: var(--muted); background: white; text-align: center; font-size: 12px; }
.class-card { overflow: hidden; }
.class-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 25px; border: 0; background: white; text-align: left; }
.class-toggle > span { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 2px 15px; }.class-toggle i { display: grid; grid-row: 1 / 3; width: 38px; height: 38px; place-items: center; border: 1px solid #bbbce3; border-radius: 50%; color: var(--iris); font-family: var(--serif); font-size: 15px; font-style: normal; }.class-toggle b { color: var(--indigo); font-family: var(--serif); font-size: 20px; font-weight: 500; }.class-toggle small { color: var(--muted); font-size: 10px; }.class-toggle em { color: var(--iris); font-size: 21px; font-style: normal; }
.class-card.is-open .class-toggle { background: var(--lilac); }
.class-content { padding: 7px 25px 18px; background: var(--lilac); }
.resource-section-label { margin: 10px 0 2px; color: var(--iris); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resource { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(91,96,199,.15); }.resource-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--indigo); background: white; font-size: 9px; font-weight: 700; }.resource-icon.video { color: white; background: var(--iris); }.resource div { display: grid; }.resource strong { font-size: 11px; }.resource small { color: var(--muted); font-size: 9px; }.resource button { padding: 6px 0; border: 0; border-bottom: 1px solid #aaa9d0; color: var(--iris); background: transparent; font-size: 10px; font-weight: 700; }.locked { color: var(--muted); font-size: 9px; }
.practice-video { margin-bottom: 17px; }
.practice-lock, .journal-pending { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; margin: 8px 0 16px; padding: 18px; border: 1px solid rgba(91,96,199,.18); border-radius: 3px 18px 3px 18px; background: rgba(255,255,255,.76); }
.practice-lock > span, .journal-pending > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: white; background: var(--indigo); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.practice-lock strong, .journal-pending strong { color: var(--indigo); font-family: var(--serif); font-size: 18px; font-weight: 500; }
.practice-lock p, .journal-pending p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.journal-outline { margin: 14px 0 7px; padding: 19px; border: 1px dashed #bdbde0; border-radius: 13px; background: rgba(255,255,255,.45); }
.journal-outline > strong { color: var(--indigo); font-family: var(--serif); font-size: 18px; font-weight: 500; }
.journal-outline > p { margin: 8px 0 10px; color: var(--iris); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.journal-outline ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.journal-outline li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; }
.journal-outline li b { color: var(--ink); font-size: 10px; }
.journal-outline li span { color: var(--muted); font-size: 9px; }
.journal-card { overflow: hidden; margin: 10px 0 7px; border: 1px solid rgba(91,96,199,.2); border-radius: 3px 24px 3px 24px; background: white; }
.journal-header { position: relative; display: flex; align-items: center; gap: 15px; overflow: hidden; padding: 23px 25px; color: white; background: linear-gradient(120deg, var(--indigo), var(--iris)); }
.journal-header::after { content: ""; position: absolute; width: 150px; height: 150px; right: -72px; top: -98px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.05); }
.journal-header > span { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: var(--serif); font-size: 16px; }
.journal-header p { margin: 0 0 2px; color: #dedffa; font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.journal-header h3 { margin: 0; color: white; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.journal-introduction { margin: 22px 24px 0; padding: 22px; border-radius: 3px 18px 3px 18px; color: white; background: var(--indigo); }
.journal-introduction > span { color: #cfd0f4; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.journal-introduction h4 { margin: 8px 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.journal-introduction p { margin: 0; color: #ececfa; font-size: 11px; }
.journal-synthesis { margin: 16px 24px 22px; padding: 18px 20px; border-left: 3px solid var(--iris); background: var(--sage); }
.journal-synthesis span { color: var(--indigo); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.journal-synthesis p { margin: 7px 0 0; color: var(--ink); font-size: 11px; }
.journal-weeks { display: grid; border-top: 1px solid var(--line); }
.journal-week { background: white; }
.journal-week + .journal-week { border-top: 1px solid var(--line); }
.journal-week summary { display: grid; grid-template-columns: 38px 1fr 20px; gap: 13px; align-items: center; padding: 18px 24px; list-style: none; cursor: pointer; }
.journal-week summary::-webkit-details-marker { display: none; }
.journal-week summary > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #bfc0e3; border-radius: 50%; color: var(--iris); font-family: var(--serif); font-size: 13px; }
.journal-week summary div { display: grid; gap: 2px; }
.journal-week summary strong { color: var(--indigo); font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.1; }
.journal-week summary small { color: var(--muted); font-size: 9px; }
.journal-week summary i { color: var(--iris); font-size: 18px; font-style: normal; }
.journal-week[open] summary { background: var(--ivory); }
.journal-week[open] summary i { transform: rotate(45deg); }
.journal-week-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 5px 24px 24px; background: var(--ivory); }
.journal-topic { padding: 15px; border: 1px solid #e5e3ec; border-radius: 3px 13px 3px 13px; background: white; }
.journal-topic:last-child:nth-child(odd) { grid-column: 1 / -1; }
.journal-topic h5 { margin: 0 0 6px; color: var(--iris); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.journal-topic p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.journal-topic p + p { margin-top: 10px; }
.music-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #eceaf2; }
.music-links a { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #d7d6e8; border-radius: 999px; color: var(--indigo); background: var(--lilac); font-size: 10px; font-weight: 700; transition: border-color .2s, color .2s, background .2s, transform .2s; }
.music-links a:hover { border-color: var(--indigo); color: white; background: var(--indigo); transform: translateY(-1px); }
.music-links a:focus-visible { outline: 3px solid rgba(91,96,199,.22); outline-offset: 2px; }
.music-links a span { font-size: 13px; line-height: 1; }
.music-links a i { font-size: 9px; font-style: normal; }
.journal-image-upload { margin-top: 14px; padding-top: 13px; border-top: 1px solid #eceaf2; }
.journal-image-upload > label { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px; border: 1px dashed #b8b9db; border-radius: 3px 11px 3px 11px; color: var(--indigo); background: var(--lilac); cursor: pointer; transition: border-color .2s, background .2s; }
.journal-image-upload > label:hover { border-color: var(--iris); background: #e8e6f4; }
.journal-image-upload > input:focus-visible + label { outline: 3px solid rgba(91,96,199,.22); outline-offset: 2px; }
.journal-image-upload > label > span:first-child { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: white; background: var(--iris); font-size: 19px; line-height: 1; }
.journal-image-upload > label > span:last-child { display: grid; gap: 2px; }
.journal-image-upload label strong { font-size: 10px; }
.journal-image-upload label small, .journal-image-preview small { color: var(--muted); font-size: 8px; }
.journal-image-preview { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--ivory); }
.journal-image-preview img { width: 58px; height: 58px; border-radius: 7px; object-fit: cover; }
.journal-image-preview div { display: grid; min-width: 0; gap: 2px; }
.journal-image-preview strong { overflow: hidden; color: var(--ink); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.journal-image-preview button { padding: 6px 8px; border: 0; color: var(--iris); background: transparent; font-size: 9px; font-weight: 700; }
.journal-image-preview button:hover { color: var(--indigo); text-decoration: underline; }
.journal-upload-note { margin-top: 7px !important; color: #858695 !important; font-size: 8px !important; }
.toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; max-width: 380px; padding: 14px 18px; border-radius: 12px; color: white; background: var(--ink); box-shadow: 0 14px 36px rgba(40,41,58,.22); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 901px) and (max-width: 1100px) {
  .login-view { grid-template-columns: 1fr minmax(400px, .82fr); }
  .login-branding { padding-inline: 48px; }.login-copy h1 { font-size: 58px; }.login-art { width: 380px; opacity: .58; }
  .dashboard-view { grid-template-columns: 220px 1fr; }.portal-sidebar { padding-inline: 14px; }.portal-main { padding-inline: 34px; }.summary-grid { grid-template-columns: 1.2fr 1fr; }.pending-card { grid-column: 1 / -1; min-height: 115px; }.content-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }.intro-grid article { min-height: 0; }.calendar-event { grid-template-columns: 58px 95px 1fr; }.event-time { grid-column: 3; }.catalog-toolbar { align-items: flex-start; flex-direction: column; }.catalog-controls { width: 100%; }.catalog-controls label:first-child { flex: 1; }.catalog-controls input { width: 100%; }
}

@media (max-width: 900px) {
  .login-view { grid-template-columns: 1fr; }.login-branding { min-height: 510px; padding: 28px 30px 45px; }.login-copy { margin-top: 75px; }.login-copy h1 { max-width: 650px; font-size: clamp(48px, 9vw, 72px); }.login-art { right: -65px; bottom: -120px; width: 380px; opacity: .42; }.login-panel { min-height: auto; padding: 60px 30px 74px; }
  .dashboard-view { grid-template-columns: 1fr; }.portal-sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; transform: translateX(-100%); transition: transform .25s ease; }.portal-sidebar.is-open { transform: translateX(0); box-shadow: 18px 0 35px rgba(38,40,88,.2); }.portal-header { justify-content: space-between; }.mobile-menu { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; border: 1px solid var(--iris); border-radius: 50%; background: white; }.mobile-menu span { display: block; width: 16px; height: 1px; background: var(--indigo); }.portal-header > div:nth-child(2) { margin-left: auto; }
  .summary-grid { grid-template-columns: 1fr 1fr; }.progress-card { grid-column: 1 / -1; }.content-grid { grid-template-columns: 1fr; }.finance-summary { grid-template-columns: 1fr 1fr; }.payment-head { display: none; }.payment-row { grid-template-columns: 1fr 1fr; gap: 8px 14px; }.payment-row button { justify-self: start; }.activity-meta time { width: 100%; margin-left: 0; }
  .intro-grid { grid-template-columns: 1fr; }.intro-grid article { min-height: 0; }.calendar-event { grid-template-columns: 58px 95px 1fr; }.event-time { grid-column: 3; }.catalog-toolbar { align-items: flex-start; flex-direction: column; }.catalog-controls { width: 100%; }.catalog-controls label:first-child { flex: 1; }.catalog-controls input { width: 100%; }
}

@media (max-width: 600px) {
  .login-branding { min-height: 440px; padding: 24px 20px 34px; }.portal-brand { width: 220px; }.login-copy { margin-top: 65px; }.login-copy h1 { font-size: clamp(42px, 12.5vw, 56px); }.login-copy > p:last-child { font-size: 14px; }.login-art { width: 300px; }.login-panel { padding: 50px 20px 65px; }.login-card h2 { font-size: 39px; }
  .portal-header { min-height: 72px; padding-inline: 20px; }.portal-header p { display: none; }.demo-banner { margin: 15px 20px 0; }.portal-main { padding: 31px 20px 60px; }.section-heading { align-items: flex-start; flex-direction: column; }.section-heading h1 { font-size: 45px; }.summary-grid { grid-template-columns: 1fr; }.progress-card { grid-column: auto; }.content-grid { margin-top: 12px; }.panel, .activity-card { padding: 22px; }.panel-actions { align-items: flex-start; flex-direction: column; }.finance-summary { grid-template-columns: 1fr 1fr; }.finance-summary div { min-height: 94px; padding: 17px; }.finance-summary strong { font-size: 20px; }.table-heading { align-items: flex-start; flex-direction: column; padding: 21px; }.payment-row { padding: 16px 21px; }.finance-note { padding-inline: 21px; }.activity-upload { grid-template-columns: 1fr; }.activity-upload .primary-button { grid-row: auto; grid-column: auto; width: 100%; }.class-toggle { padding: 19px; }.class-toggle b { font-size: 18px; }.class-content { padding-inline: 19px; }.resource { grid-template-columns: 42px 1fr; }.resource > button, .resource > .locked { grid-column: 2; justify-self: start; }.toast { right: 20px; left: 20px; bottom: 20px; }
  .learning-tabs { grid-template-columns: 1fr; }.learning-tab { min-height: 42px; }.intro-hero { padding: 27px 22px; }.intro-hero h2 { font-size: 32px; }.intro-grid article { padding: 20px; }.intro-note { grid-template-columns: 1fr; gap: 5px; }.calendar-toolbar { align-items: flex-start; flex-direction: column; }.calendar-event { grid-template-columns: 51px 1fr; gap: 10px 13px; padding-inline: 16px; }.event-mode { grid-column: 2; grid-row: 1; align-self: end; }.event-title { grid-column: 2; }.event-time { grid-column: 2; }.catalog-controls { flex-direction: column; }.catalog-controls label, .catalog-controls select { width: 100%; }.class-toggle > span { grid-template-columns: 36px 1fr; }.class-toggle i { width: 34px; height: 34px; }.class-toggle b { line-height: 1.08; }
  .practice-lock, .journal-pending { grid-template-columns: 44px 1fr; padding: 15px; }.practice-lock > span, .journal-pending > span { width: 42px; height: 42px; }.journal-outline li { grid-template-columns: 1fr; gap: 2px; padding-bottom: 6px; }.journal-header { padding: 20px; }.journal-introduction, .journal-synthesis { margin-right: 17px; margin-left: 17px; }.journal-week summary { grid-template-columns: 35px 1fr 16px; padding: 16px 17px; }.journal-week-content { grid-template-columns: 1fr; padding: 4px 17px 18px; }.journal-topic:last-child:nth-child(odd) { grid-column: auto; }.music-links a { flex: 1 1 calc(50% - 7px); justify-content: center; }.journal-image-preview { grid-template-columns: 52px minmax(0, 1fr); }.journal-image-preview img { width: 52px; height: 52px; }.journal-image-preview button { grid-column: 2; justify-self: start; padding: 2px 0; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
