:root { --navy: #102d33; --navy-soft: #173d3c; --paper: #fffaf0; --cream: #f5eddf; --ink: #17312f; --muted: #63716b; --line: rgba(23, 49, 47, .17); --lime: #d9ee86; --ochre: #e7b54d; --orange: #dc7856; --sky: #d8edf1; }
.dashboard-page { min-height: 100dvh; color: var(--ink); background: linear-gradient(120deg, #f7f2e8, #eaf0eb 47%, #eef2ec); }
.dashboard-shell { width: min(calc(100% - 32px), 1200px); margin: 0 auto; padding: 106px 0 38px; }
.glass-nav { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; z-index: 100; display: flex; width: min(calc(100% - 32px), 1280px); min-height: 58px; align-items: center; gap: 12px; padding: 8px 12px 8px 18px; transform: translateX(-50%); border: 1px solid rgba(240,214,157,.62); border-radius: 999px; color: #fffaf0; background: rgba(7,29,34,.76); box-shadow: 0 14px 32px rgba(4,20,22,.24); }
@supports (backdrop-filter: blur(12px)) { .glass-nav { background: rgba(7,29,34,.66); backdrop-filter: blur(16px) saturate(118%); } }
.glass-brand { display: inline-flex; min-width: 0; align-items: center; gap: 8px; color: #fffaf0; font-size: .82rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.glass-brand > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--ochre); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; }
.glass-links { display: flex; min-width: 0; gap: 3px; margin-left: auto; }
.glass-links a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 10px; border-radius: 999px; color: rgba(255,248,233,.9); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.glass-links a i { margin-left: 4px; color: #ecd08a; font-size: .52rem; font-style: normal; }
.glass-links a:hover, .glass-links a.is-current { color: #fff9e8; background: rgba(240,214,157,.18); }
.course-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 28px; align-items: end; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.section-label { margin: 0; color: #735d2b; font-size: .64rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.course-heading h1 { margin: 0; color: var(--navy); font-size: clamp(1.6rem, 3.2vw, 2.45rem); letter-spacing: -.045em; line-height: 1.05; }
.course-heading h1 span { color: #54736b; font-size: .72em; font-weight: 650; }
.course-heading > p:last-child { grid-column: 1 / -1; margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.course-summary-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin: 16px 0; }
.summary-card { min-height: 112px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.5); }
.summary-card.current-card { color: #fdf8ec; border-color: var(--navy); background: var(--navy); }
.summary-card p { margin: 0 0 7px; color: #67736d; font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.summary-card.current-card p { color: #e7d9a9; }
.summary-card strong { display: block; font-size: 1.3rem; line-height: 1.05; }
.summary-card.current-card strong { color: var(--lime); font-size: 2.1rem; }
.summary-card span { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.summary-card.current-card span { color: rgba(255,250,240,.8); }
.schedule-panel { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.66); }
.schedule-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.schedule-heading h2 { margin: 3px 0 0; color: var(--navy); font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.1; }
.next-class { margin: 0; color: #425d56; font-size: .78rem; font-weight: 750; text-align: right; }
.schedule-key { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; margin: 14px 0 12px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.schedule-key span:not(:last-child) { display: inline-flex; align-items: center; gap: 5px; font-weight: 750; }
.schedule-key span:not(:last-child)::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ochre); }
.schedule-key .key-current::before { background: var(--orange); box-shadow: 0 0 0 3px rgba(220,120,86,.18); }
.calendar-viewport { overflow-x: auto; padding-bottom: 4px; }
.course-calendar-grid { display: grid; grid-template-columns: 100px repeat(20, 38px); min-width: 860px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-corner, .calendar-date, .calendar-section, .calendar-cell { min-height: 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-corner { display: flex; align-items: center; padding-left: 9px; color: var(--muted); font-size: .6rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.calendar-date { display: grid; place-content: center; gap: 1px; color: #6b7671; font-size: .57rem; line-height: 1; text-align: center; }
.calendar-date b { color: var(--ink); font-size: .64rem; }
.calendar-section { display: flex; align-items: center; padding-left: 9px; color: var(--navy); font-size: .69rem; font-weight: 800; }
.calendar-section.is-current { color: #aa4b31; background: rgba(220,120,86,.1); }
.calendar-cell { display: grid; place-items: center; background: rgba(255,255,255,.42); }
.calendar-cell.is-planned span { width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); }
.calendar-cell.is-current span { background: var(--orange); box-shadow: 0 0 0 4px rgba(220,120,86,.17); }
.calendar-cell.is-today { box-shadow: inset 0 0 0 2px var(--navy); }
.study-tools { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; margin-top: 16px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.study-tools h2 { max-width: 29ch; margin: 4px 0 0; color: var(--navy); font-size: 1.25rem; letter-spacing: -.035em; line-height: 1.15; }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 7px 11px; align-items: center; min-height: 84px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.5); text-decoration: none; transition: transform .18s ease, background .18s ease; }
.tool-list a:hover { transform: translateY(-2px); background: var(--lime); }
.tool-list span { align-self: start; color: #6d796d; font-size: .62rem; font-weight: 850; }
.tool-list strong { font-size: 1rem; }
.tool-list small { grid-column: 2; color: var(--muted); font-size: .67rem; }
.tool-list b { grid-column: 3; grid-row: 1 / span 2; font-size: 1.25rem; }
.site-footer { padding: 17px 16px; color: rgba(255,250,240,.76); background: var(--navy); font-size: .7rem; text-align: center; }
.site-footer span { padding: 0 5px; color: var(--ochre); }
@media (max-width: 720px) { .dashboard-shell { padding-top: 91px; } .glass-nav { top: max(8px, env(safe-area-inset-top)); width: min(calc(100% - 16px), 1280px); min-height: 50px; padding: 5px 7px 5px 11px; } .glass-brand { font-size: .72rem; } .glass-brand > span { width: 26px; height: 26px; } .glass-links { overflow-x: auto; } .glass-links a { min-height: 34px; padding: 0 7px; font-size: .58rem; } .course-heading { grid-template-columns: 1fr; gap: 6px; } .course-summary-grid, .study-tools { grid-template-columns: 1fr; } .summary-card { min-height: 88px; } .summary-card.current-card strong { font-size: 1.7rem; } .schedule-heading { align-items: start; flex-direction: column; gap: 8px; } .next-class { text-align: left; } .tool-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .glass-brand strong { display: none; } .course-summary-grid { grid-template-columns: 1fr 1fr; } .summary-card:first-child { grid-column: 1 / -1; } .tool-list { grid-template-columns: 1fr; } }
