:root {
  --navy-950: #0a1e2c;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --blue: #2c7da0;
  --teal: #3caea3;
  --mint: #dff6f2;
  --amber: #f3b562;
  --paper: #f7f9fb;
  --white: #ffffff;
  --ink: #193247;
  --muted: #718096;
  --line: #e6edf2;
  --shadow: 0 14px 36px rgba(16, 42, 67, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 250px; min-height: 100vh; padding: 28px 20px 22px; background: var(--navy-950); color: #ecf7f8; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px 13px 13px 4px; display: grid; place-items: center; background: var(--teal); color: var(--navy-950); font-weight: 900; font-size: 12px; letter-spacing: -.05em; box-shadow: 0 5px 16px rgba(60, 174, 163, .25); }
.brand strong { display: block; font-size: 14px; letter-spacing: .01em; }
.brand span { display: block; color: #94b5bd; font-size: 11px; margin-top: 3px; }
.sidebar-rule { height: 1px; background: rgba(255,255,255,.1); margin: 36px 4px 28px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); text-transform: uppercase; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.sidebar-eyebrow { color: #6e929d; padding: 0 10px; }
.main-nav { display: grid; gap: 8px; margin-top: 12px; }
.nav-link { padding: 13px 13px; border-radius: 10px; display: flex; align-items: center; gap: 12px; color: #a9c1c8; font-size: 13px; font-weight: 650; transition: background .2s, color .2s; }
.nav-link:hover { background: rgba(255,255,255,.06); color: white; }
.nav-link.active { color: #102a43; background: #dff6f2; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.nav-icon { width: 18px; font-size: 19px; line-height: 1; opacity: .85; }
.sidebar-bottom { margin-top: auto; padding: 18px 4px 0; border-top: 1px solid rgba(255,255,255,.1); }
.security-note { display: flex; align-items: center; gap: 8px; color: #87a9b1; font-size: 11px; margin-bottom: 18px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(60,174,163,.12); }
.user-chip { display: flex; align-items: center; gap: 9px; color: #deedef; font-size: 12px; margin-bottom: 17px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #294e67; color: #d9fbf5; font-size: 11px; font-weight: 800; }
.logout-button { width: 100%; padding: 0; border: 0; background: transparent; color: #88a6af; font-size: 11px; text-align: left; display: flex; justify-content: space-between; }
.logout-button:hover { color: white; }
.main-content { flex: 1; min-width: 0; padding: 0 42px 56px; }
.topbar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.topbar .eyebrow { margin-bottom: 4px; }
.topbar-date { margin: 0; color: var(--muted); font-size: 12px; }
.topbar-badge { display: flex; align-items: center; gap: 9px; border: 1px solid #dcebe9; padding: 8px 12px; border-radius: 999px; color: #4a777c; background: #fbfffe; font-size: 11px; font-weight: 700; }
.page-heading { max-width: 1210px; margin: 0 auto 30px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.page-heading h1 { margin: 0; color: var(--navy-900); font-size: clamp(29px, 3vw, 42px); letter-spacing: -.045em; line-height: 1.08; }
.heading-copy { color: var(--muted); max-width: 620px; margin: 12px 0 0; font-size: 13px; line-height: 1.65; }
.heading-actions { padding-bottom: 2px; }
.secondary-button, .primary-button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 9px; font-size: 12px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.secondary-button { padding: 12px 15px; border: 1px solid #dce7ed; color: var(--navy-800); background: white; }
.secondary-button:hover, .primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,42,67,.12); }
.metrics-grid { max-width: 1210px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.metric-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px 16px; box-shadow: 0 5px 16px rgba(16,42,67,.025); }
.metric-card.accent-card { color: white; background: var(--navy-800); border-color: var(--navy-800); }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.accent-card .metric-label { color: #b0d5d7; }
.metric-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.12); color: #b9efdf; font-weight: 800; }
.metric-icon.muted { background: #eef5f7; color: var(--blue); }
.metric-value { margin: 18px 0 4px; font-size: 34px; letter-spacing: -.06em; line-height: 1; color: var(--navy-900); font-weight: 800; }
.accent-card .metric-value { color: white; }
.metric-value span { color: var(--muted); font-size: 15px; margin-left: 3px; letter-spacing: -.01em; }
.accent-card .metric-value span { color: #9cc7ca; }
.metric-foot { min-height: 17px; color: var(--muted); font-size: 11px; }
.accent-card .metric-foot { color: #b0cbd0; }
.progress-track { height: 5px; overflow: hidden; border-radius: 99px; background: #edf2f4; margin-top: 15px; }
.accent-card .progress-track { background: rgba(255,255,255,.14); }
.progress-track span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--teal); transition: width .3s; }
.today-panel, .calendar-panel, .upcoming-panel, .content-note { max-width: 1210px; margin: 0 auto 24px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.today-panel { padding: 24px; }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.section-heading-row h2, .calendar-header h2 { margin: 0; color: var(--navy-900); font-size: 20px; letter-spacing: -.035em; }
.day-goal { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 9px; }
.day-goal strong { color: var(--navy-800); }
.today-sessions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.today-discipline { min-width: 0; padding: 14px; border-radius: 11px; background: #f7fafb; border: 1px solid #edf2f4; }
.today-discipline.is-complete { border-color: #cbece5; background: #f4fcfa; }
.discipline-day-head { min-height: 64px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.discipline-day-head strong { display: block; overflow: hidden; color: var(--navy-900); text-overflow: ellipsis; font-size: 13px; line-height: 1.35; }
.discipline-day-progress { flex: 0 0 auto; padding: 4px 6px; border-radius: 5px; color: var(--muted); background: white; font-size: 10px; font-weight: 800; }
.today-discipline.is-complete .discipline-day-progress { color: #167a73; background: #eafaf6; }
.day-lesson-list { margin-top: 7px; border-top: 1px solid #e6eef0; }
.day-lesson-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0 2px; color: var(--navy-800); font-size: 11px; }
.lesson-label { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 800; }
.lesson-label .session-number { width: auto; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; font-size: 10px; white-space: nowrap; }
.lesson-number-badge { background: var(--navy-900); }
.day-lesson-row.is-complete .lesson-label { color: #167a73; }
.today-session { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 11px; background: #f7fafb; border: 1px solid #edf2f4; }
.today-session.is-complete { border-color: #cbece5; background: #f4fcfa; }
.session-number { flex: 0 0 auto; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: var(--navy-900); color: #d9f9f2; font-weight: 800; font-size: 13px; }
.is-complete .session-number { background: var(--teal); color: var(--navy-950); }
.session-info { min-width: 0; flex: 1; }
.session-info strong { display: block; overflow: hidden; color: var(--navy-900); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.session-kicker, .session-detail { display: block; color: var(--muted); font-size: 10px; }
.session-kicker { margin-bottom: 3px; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.session-detail { margin-top: 5px; }
.complete-button { flex: 0 0 auto; border: 1px solid #d8e6ea; border-radius: 7px; padding: 8px 10px; background: white; color: var(--navy-800); font-size: 10px; font-weight: 800; }
.complete-button:hover { border-color: var(--teal); color: #187f78; }
.complete-button.completed { border-color: #bde7df; color: #188379; background: #eafaf6; }
.calendar-panel { padding: 24px 24px 26px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; }
.calendar-controls { display: flex; align-items: center; gap: 7px; }
.calendar-controls a { display: grid; place-items: center; width: 31px; height: 31px; color: var(--navy-800); border: 1px solid var(--line); border-radius: 7px; font-weight: 800; }
.calendar-controls a:hover { border-color: var(--teal); color: #14857c; }
.calendar-controls .today-control { width: auto; padding: 0 11px; color: var(--muted); font-size: 10px; font-weight: 800; }
.calendar-legend { display: flex; align-items: center; gap: 18px; margin: 18px 0 11px; color: var(--muted); font-size: 10px; }
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.complete-dot { background: var(--teal); }.pending-dot { background: var(--amber); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { padding: 0 4px 8px; color: #97a8b2; text-transform: uppercase; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.calendar-weekdays span { padding-left: 7px; }
.calendar-days { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day { min-width: 0; min-height: 180px; padding: 8px 7px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.calendar-day.outside { background: #fbfcfd; }.calendar-day.today-cell { background: #f1fbf9; box-shadow: inset 0 3px 0 var(--teal); }
.day-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--navy-900); font-size: 11px; font-weight: 800; }
.outside .day-number { color: #b7c2c9; }.day-number small { color: var(--muted); font-size: 9px; font-weight: 700; }
.calendar-session-form { margin: 3px 0; }.calendar-session { width: 100%; min-width: 0; display: flex; align-items: center; gap: 4px; padding: 4px 3px; overflow: hidden; border: 0; border-radius: 5px; text-align: left; color: var(--navy-800); background: #fff6e9; font-size: 9px; }
.calendar-session:hover { filter: brightness(.97); }.calendar-session.completed { color: #176f69; background: #e5f8f4; }.calendar-session-slot { flex: 0 0 auto; min-width: 22px; height: 14px; padding: 0 3px; display: grid; place-items: center; border-radius: 4px; color: white; background: var(--amber); font-size: 8px; font-weight: 900; }.completed .calendar-session-slot { background: var(--teal); }
.calendar-session-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }.calendar-session-check { margin-left: auto; flex: 0 0 auto; font-size: 10px; font-weight: 900; }
.upcoming-panel { padding: 23px 24px 20px; }.muted-note { color: var(--muted); font-size: 11px; }.upcoming-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 12px; margin-top: 19px; }.upcoming-item { display: grid; grid-template-columns: 45px 50px minmax(0, 1fr); align-items: center; gap: 7px; padding: 11px 10px; background: #f8fafb; border-radius: 8px; font-size: 10px; }.upcoming-date { color: var(--blue); font-weight: 800; }.upcoming-slot { color: var(--muted); font-size: 9px; }.upcoming-item strong { min-width: 0; overflow: hidden; color: var(--navy-900); text-overflow: ellipsis; white-space: nowrap; }.upcoming-lesson { grid-column: 3; color: var(--muted); margin-top: -5px; }.empty-state { color: var(--muted); font-size: 12px; }
.flash-stack { display: grid; gap: 8px; margin-bottom: 17px; }.flash { border-radius: 8px; padding: 11px 13px; font-size: 11px; line-height: 1.45; }.flash.error { color: #9c4b3d; background: #fff0ed; border: 1px solid #f6d5cf; }.flash.success { color: #16746e; background: #eafaf6; border: 1px solid #c5ece4; }
.compact-heading { align-items: start; }.content-callout { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 9px; background: #eef9f7; border: 1px solid #d4efea; color: var(--navy-800); }.callout-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--teal); font-size: 12px; }.content-callout strong, .content-callout small { display: block; }.content-callout strong { font-size: 11px; }.content-callout small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.discipline-grid { max-width: 1210px; margin: 0 auto 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.discipline-card { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 5px 16px rgba(16,42,67,.025); }.discipline-card.discipline-done { background: #f7fcfb; border-color: #c9ebe5; }.discipline-card-top, .discipline-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.discipline-index { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; }.discipline-status { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }.discipline-done .discipline-status { color: #168278; }.discipline-card h2 { min-height: 43px; margin: 21px 0 18px; color: var(--navy-900); font-size: 17px; line-height: 1.3; letter-spacing: -.03em; }.discipline-progress-row { color: var(--muted); font-size: 10px; margin-bottom: 7px; }.discipline-progress-row strong { color: var(--navy-800); }.discipline-button { width: 100%; margin-top: 18px; padding: 10px; border: 1px solid #dce7eb; border-radius: 7px; background: white; color: var(--navy-800); font-size: 10px; font-weight: 800; }.discipline-button:hover, .discipline-button.done { border-color: #bde7df; background: #eafaf6; color: #167a73; }.content-note { display: flex; align-items: flex-start; gap: 11px; padding: 15px 17px; box-shadow: none; background: #fffaf2; border-color: #f4e5cb; }.note-icon { flex: 0 0 auto; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: white; font-size: 12px; font-weight: 900; }.content-note p { margin: 1px 0; color: #7d6a53; font-size: 11px; line-height: 1.55; }.content-note strong { color: #685337; }

.login-page { min-height: 100vh; overflow: hidden; position: relative; background: var(--navy-950); }.login-page::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, black, transparent 75%); }.login-layout { position: relative; z-index: 1; max-width: 1140px; min-height: 100vh; margin: auto; padding: 48px 30px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }.login-brand { margin-bottom: 82px; }.login-brand .brand-mark { background: var(--amber); }.login-intro { color: white; }.light-eyebrow { color: #76c6bf; }.login-intro h1 { margin: 17px 0 22px; font-size: clamp(40px, 5vw, 69px); letter-spacing: -.07em; line-height: .98; }.login-intro h1 em { color: #78d2c7; font-style: normal; }.login-copy { max-width: 490px; color: #9bb6bd; font-size: 14px; line-height: 1.75; }.login-stats { display: flex; gap: 35px; margin-top: 48px; }.login-stats div { padding-left: 14px; border-left: 2px solid rgba(120,210,199,.55); }.login-stats strong { display: block; color: #f4c17b; font-size: 24px; letter-spacing: -.05em; }.login-stats span { color: #789ba4; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; font-weight: 700; }.login-panel { max-width: 425px; justify-self: end; width: 100%; padding: 33px; border-radius: 17px; background: rgba(255,255,255,.98); box-shadow: 0 25px 80px rgba(0,0,0,.23); }.login-panel-head { display: flex; justify-content: space-between; align-items: center; }.access-pill { color: #28746f; background: #e7f8f4; padding: 6px 9px; border-radius: 99px; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; font-weight: 900; }.lock-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: #eff9f7; font-size: 19px; transform: rotate(90deg); }.login-panel h2 { margin: 28px 0 8px; color: var(--navy-900); font-size: 26px; letter-spacing: -.05em; }.panel-copy { margin: 0 0 27px; color: var(--muted); font-size: 12px; }.login-form { display: grid; gap: 8px; }.login-form label { margin-top: 9px; color: var(--navy-800); font-size: 11px; font-weight: 800; }.input-wrap { position: relative; }.input-wrap input { width: 100%; border: 1px solid #dce7eb; border-radius: 8px; padding: 13px 40px 13px 37px; outline: none; background: #fbfcfd; color: var(--navy-900); font-size: 12px; }.input-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(60,174,163,.12); }.input-icon { position: absolute; z-index: 1; left: 13px; top: 12px; color: #7ba6ac; }.password-toggle { position: absolute; right: 9px; top: 8px; border: 0; color: #7ba6ac; background: transparent; font-size: 12px; }.primary-button { padding: 14px 16px; color: var(--navy-950); background: var(--teal); }.login-submit { width: 100%; margin-top: 22px; }.login-security { display: flex; align-items: center; gap: 8px; margin: 23px 0 0; color: #93a2a8; font-size: 10px; }.login-security .status-dot { width: 6px; height: 6px; }.login-orbit { position: absolute; border: 1px solid rgba(108,201,190,.16); border-radius: 50%; }.orbit-one { width: 570px; height: 570px; left: -245px; bottom: -245px; }.orbit-two { width: 820px; height: 820px; left: -365px; bottom: -365px; }
.blocked-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: var(--navy-950); }.blocked-card { max-width: 430px; padding: 39px; border-radius: 16px; background: white; box-shadow: 0 25px 70px rgba(0,0,0,.25); text-align: center; }.blocked-mark { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 16px; color: white; background: #d96c5c; font-weight: 900; }.blocked-card h1 { margin: 0 0 12px; color: var(--navy-900); letter-spacing: -.05em; }.blocked-card p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.65; }.blocked-rule { height: 1px; margin: 23px 0 16px; background: var(--line); }.blocked-card small { display: block; color: #96a1a6; font-size: 11px; line-height: 1.5; }.inline-button { margin-top: 17px; }

@media (max-width: 1050px) { .main-content { padding-left: 26px; padding-right: 26px; }.login-layout { gap: 45px; }.discipline-grid { grid-template-columns: repeat(2, 1fr); }.today-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { width: auto; min-height: auto; padding: 17px 18px; flex-direction: row; align-items: center; gap: 20px; }.sidebar-rule, .sidebar-eyebrow, .sidebar-bottom { display: none; }.main-nav { display: flex; margin: 0 0 0 auto; gap: 2px; }.nav-link { padding: 9px; }.nav-link span:last-child { display: none; }.nav-icon { font-size: 18px; }.main-content { padding: 0 15px 36px; }.topbar { min-height: 76px; margin-bottom: 26px; }.topbar-badge { display: none; }.page-heading { display: block; margin-bottom: 22px; }.heading-actions { margin-top: 17px; }.metrics-grid { grid-template-columns: 1fr; gap: 9px; }.metric-card { padding: 15px; }.today-sessions { grid-template-columns: 1fr; }.today-panel, .calendar-panel, .upcoming-panel { padding: 17px; }.section-heading-row { align-items: flex-start; }.day-goal { white-space: nowrap; font-size: 10px; }.calendar-panel { overflow: hidden; }.calendar-grid { min-width: 650px; }.calendar-days { overflow-x: auto; }.calendar-legend { flex-wrap: wrap; }.upcoming-list { grid-template-columns: 1fr; }.discipline-grid { grid-template-columns: 1fr; }.discipline-card h2 { min-height: auto; }.content-callout { margin-top: 17px; }.login-layout { display: block; padding: 28px 20px; }.login-intro { display: none; }.login-panel { max-width: 425px; margin: 11vh auto 0; padding: 28px 22px; }.login-page::before { mask-image: none; opacity: .2; } }
