@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  color-scheme: dark;
  --paper: #090c11;
  --ink: #edf1f8;
  --muted: #98a3b5;
  --line: #28303b;
  --orange: #c7f58c;
  --orange-pale: #263420;
  --green: #c7f58c;
  --green-pale: #203028;
  --white: #111720;
  --surface: #111720;
  --raised: #18212c;
  --accent: #b9d9ff;
  --font: "Space Grotesk", sans-serif;
  --read-scale: 1;
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f3f6fb;
  --ink: #162030;
  --muted: #56657a;
  --line: #cdd6e2;
  --orange: #35690b;
  --orange-pale: #e2efce;
  --green: #35690b;
  --green-pale: #e4efdf;
  --white: #fff;
  --surface: #fff;
  --raised: #e9eff7;
  --accent: #275eb6;
}
:root[data-font="large"] {
  --read-scale: 1.18;
}
body {
  background: var(--paper);
  font-family: var(--font);
}
::selection {
  background: #b9d9ff;
  color: #111720;
}
.app-shell {
  grid-template-columns: 218px minmax(0, 1fr);
}
.sidebar {
  background: var(--paper);
  border-color: var(--line);
  padding: 32px 20px;
}
.brand {
  font-family: "Space Grotesk";
  font-weight: 600;
  letter-spacing: -2px;
  font-size: 38px;
}
.brand img {
  filter: grayscale(1) brightness(1.6);
  border-radius: 12px;
}
.brand span {
  display: none;
}
.brand-caption {
  font:
    8px/1.6 "IBM Plex Mono",
    monospace;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-top: 18px;
}
.sidebar nav {
  gap: 8px;
}
.nav-item {
  font: 12px "Space Grotesk";
  padding: 13px 12px;
  border-radius: 7px;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.nav-item:hover {
  background: var(--raised);
  color: var(--ink);
  transform: translateX(2px);
}
.nav-item.active {
  background: var(--raised);
  color: var(--ink);
  box-shadow: inset 2px 0 var(--accent);
}
.nav-count {
  background: var(--line);
  color: var(--accent);
}
.sidebar-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: auto;
}
.sidebar-note .little-star {
  color: var(--accent);
}
.sidebar-note p {
  font-family: "Space Grotesk";
  font-size: 22px;
  letter-spacing: -1px;
}
.local-note {
  border-color: var(--line);
  font-size: 10px;
  color: var(--muted);
}
.topbar {
  border-color: var(--line);
  font: 9px "IBM Plex Mono";
  letter-spacing: 0.6px;
  background: var(--paper);
}
.avatar {
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--line);
}
main {
  max-width: 1500px;
  padding-top: 22px;
}
.eyebrow,
.tag,
.card-head,
.timeline-caption,
.next-bottom > span,
.calendar-legend {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}
.eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.hero {
  position: relative;
  min-height: 370px;
  border-bottom: 1px solid var(--line);
  padding: 42px 0 52px;
  margin-bottom: 30px;
  overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: -1px -1px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 15%, transparent 90%);
  pointer-events: none;
}
.hero > div:first-child {
  position: relative;
  z-index: 2;
  width: 64%;
}
.hero h1 {
  font-family: "Space Grotesk";
  font-weight: 400;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -5px;
  line-height: 1.01;
  margin: 25px 0;
}
.hero h1 em,
.studio-head h1 em,
.page-heading h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.hero p {
  font-size: calc(14px * var(--read-scale));
  line-height: 1.7;
  max-width: 440px;
  color: var(--muted);
}
.hero .status-dot {
  background: #c7f58c;
  box-shadow: 0 0 12px #c7f58c80;
}
.mission-sculpture {
  position: absolute;
  right: 15px;
  top: 60px;
  width: 300px;
  height: 280px;
  perspective: 1000px;
  pointer-events: none;
}
.floating-tile {
  position: absolute;
  width: 132px;
  height: 180px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  box-shadow: 0 28px 50px #0005;
  animation: float-card 8s ease-in-out infinite;
}
.floating-tile small,
.floating-tile span {
  font: 8px "IBM Plex Mono";
  letter-spacing: 0.3px;
}
.floating-tile b {
  font-size: 66px;
  font-weight: 400;
  margin: auto 0;
}
.tile-blue {
  background: linear-gradient(130deg, #d0e6ff, #81adf2);
  color: #163256;
  left: 15px;
  top: 20px;
  transform: rotate(-14deg);
  animation-delay: -2s;
}
.tile-lime {
  background: linear-gradient(130deg, #e1ffb9, #a4cf6b);
  color: #304218;
  right: 0;
  top: 57px;
  transform: rotate(13deg);
  animation-delay: -4s;
}
.tile-glass {
  background: #151d2ed9;
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid #ffffff30;
  width: 130px;
  height: 105px;
  left: 92px;
  top: 142px;
  transform: rotate(-5deg);
  animation-delay: -6s;
}
.tile-glass b {
  font-size: 45px;
}
.sculpture-orbit {
  border: 1px solid #86a2c655;
  position: absolute;
  width: 340px;
  height: 210px;
  left: -30px;
  top: 18px;
  border-radius: 50%;
  transform: rotate(-34deg);
}
@keyframes float-card {
  50% {
    translate: 0 -12px;
    rotate: 3deg;
  }
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}
.section-title h2 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.8px;
}
.desk-grid {
  gap: 18px;
}
.recovery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.recovery-card h2 {
  font-weight: 400;
  font-size: 35px;
}
.recovery-card textarea {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  font-size: calc(15px * var(--read-scale));
}
.next-card {
  border: 1px solid #a5c6f055;
  border-radius: 12px;
  background: linear-gradient(145deg, #1c2d46, #101a2a);
  color: #eaf3ff;
  padding: 30px;
  min-height: 350px;
}
.next-card h2 {
  font-weight: 400;
  font-size: 35px;
  letter-spacing: -1.5px;
  max-width: 330px;
}
.next-card p {
  color: #b5c8e0;
  font-size: calc(14px * var(--read-scale));
  line-height: 1.7;
}
.next-card .tag {
  background: #ffffff12;
  color: #c4defd;
  border: 1px solid #a5c6f044;
}
.next-card .eyebrow {
  color: #b5c8e0;
}
.circle-detail {
  border-color: #87bbff20;
}
.round-arrow {
  background: #c7f58c;
  color: #1d2a10;
  transition: transform 0.25s;
}
.round-arrow:hover {
  transform: rotate(45deg);
}
.primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 3px 0 #ffffff10;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.primary:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px #84b8f322;
}
.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
}
.secondary:hover {
  border-color: var(--accent);
  background: var(--raised);
}
.time-pills button {
  border-color: var(--line);
  color: var(--muted);
}
.time-pills button.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.tag {
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--muted);
}
.assignment-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
  margin: 24px 0;
}
.assignment-icon {
  background: var(--raised);
  color: var(--accent);
}
.day {
  border-color: var(--line);
  background: transparent;
}
.day.today {
  background: var(--raised);
}
.day-label {
  color: var(--muted);
}
.day-label b {
  font-family: "Space Grotesk";
  font-weight: 400;
}
.day.today .day-label b {
  color: var(--accent);
}
.day-session {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  font-size: 11px;
}
.day-session.empty {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.day-session span {
  color: var(--muted);
}
.new-assignment {
  border-color: var(--line);
  color: var(--accent);
}
.task-row {
  border-color: var(--line);
}
.check {
  border-color: var(--line);
  color: var(--muted);
}
.task-row.done .check {
  background: var(--green-pale);
  color: var(--green);
}
.notice {
  background: var(--green-pale);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
}
.notice.warning {
  background: var(--orange-pale);
  color: var(--ink);
  border-left-color: var(--orange);
}
.error {
  color: #ff9d9d;
}
.hint,
.subtext,
.field {
  font-size: calc(13px * var(--read-scale));
  line-height: 1.7;
}
.hint,
.subtext {
  color: var(--muted);
}
.field input,
.field textarea,
.field select,
input,
select,
textarea {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  font-size: calc(14px * var(--read-scale));
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 35px 120px #0008;
  border-radius: 14px;
}
dialog::backdrop {
  background: #020711bd;
  backdrop-filter: blur(8px);
}
.modal-header {
  background: var(--surface);
}
.modal-header h2 {
  font-weight: 400;
  letter-spacing: -1.4px;
}
.modal-header .close {
  background: var(--raised);
  border-radius: 50%;
  color: var(--ink);
}
.metric {
  border-color: var(--line);
}
.metric b {
  color: var(--ink);
  font-weight: 400;
}
.metric span {
  color: var(--muted);
}
#toast {
  background: var(--ink);
  color: var(--paper);
}
footer {
  border-color: var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono";
  font-size: 8px;
}
.studio-head {
  padding: 30px 0 40px;
}
.studio-head h1 {
  font-weight: 400;
  font-size: clamp(43px, 5vw, 70px);
  letter-spacing: -3px;
}
.orbit-art > span {
  color: var(--accent);
}
.orbit-ring {
  border-color: var(--line);
}
.orbit-art i {
  background: var(--orange);
}
.studio-progress {
  background: var(--line);
}
.studio-progress i {
  background: var(--accent);
}
.studio-nav {
  border-color: var(--line);
}
.studio-nav > button {
  color: var(--muted);
}
.studio-nav > button.active {
  color: var(--ink);
  border-color: var(--accent);
}
.studio-status {
  color: var(--muted);
}
.studio-status.working {
  color: var(--accent);
}
.paper-panel,
.mentor-panel,
.mission-card,
.slide-editor,
.slide-editor:first-child {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  border-radius: 10px;
}
.studio-body textarea,
.studio-body select,
.studio-body input {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}
.mission-card input:not([type="number"]),
.slide-editor > input,
.mission-card textarea {
  background: transparent;
  color: var(--ink);
}
.mission-card textarea {
  color: var(--muted);
}
.mission-actions input[type="number"] {
  background: var(--paper);
  border-color: var(--line);
}
.mission-number {
  font-family: "IBM Plex Mono";
  font-size: 17px;
  color: var(--accent);
}
.agent-card {
  border-color: var(--line);
}
.agent-card p,
.studio-head p {
  color: var(--muted);
}
.agent-card b {
  color: var(--ink);
}
.rubric-chip {
  background: var(--raised);
  color: var(--accent);
}
.source-list a {
  border-color: var(--line);
}
.source-list small,
.source-list span {
  color: var(--muted);
}
.mentor-panel {
  background: var(--raised);
}
.mentor-empty,
.mentor-empty span {
  color: var(--accent);
}
.chat-message,
.val-handoff {
  border-color: var(--line);
}
.chat-message.student {
  background: var(--paper);
}
.chat-message p {
  color: var(--ink);
}
.focus-clock span {
  font-family: "Space Grotesk";
  font-weight: 400;
}
.report-editor {
  background: var(--surface) !important;
  color: var(--ink) !important;
  font-family: "Space Grotesk" !important;
}
.calendar-connect {
  background: var(--raised);
  border-color: var(--line);
}
.engine-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 10px;
  margin-bottom: 20px;
}
.engine-card p {
  line-height: 1.7;
  color: var(--muted);
}
.engine-card h3 {
  font-size: 25px;
  font-weight: 400;
}
.engine-options summary {
  padding: 15px 0;
  cursor: pointer;
}
.engine-options #local-ai-status {
  color: var(--accent);
  font-family: "IBM Plex Mono";
  font-size: 12px;
}
.course-card,
.document-card,
.learning-summary,
.readiness-panel,
.exam-panel,
.topic-card,
.guide-banner,
.practice-card,
.material-card {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.course-card.active {
  background: var(--raised);
  border-color: var(--accent);
}
.readiness-number,
.learning-summary b {
  color: var(--accent);
}
.topic-row,
.readiness-row {
  border-color: var(--line);
}
.progress-track {
  background: var(--line);
}
.progress-track i {
  background: var(--accent);
}
.source-excerpt {
  background: var(--raised);
  color: var(--ink);
  border-color: var(--line);
}
.profile-control {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin: 22px 0;
  background: var(--surface);
}
.profile-control b {
  font-size: 12px;
  display: block;
  font-weight: 500;
}
.profile-control small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.profile-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  flex: none;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-preview {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 25px 0;
}
.profile-preview .profile-avatar {
  width: 80px;
  height: 80px;
  font-size: 35px;
  border-radius: 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-heading {
  padding: 40px 0;
}
.page-heading h1 {
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 20px 0;
}
.page-heading p {
  color: var(--muted);
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-motif {
  font-size: 130px;
  color: var(--accent);
  position: relative;
  line-height: 1;
}
.calendar-motif i {
  position: absolute;
  font-size: 45px;
  right: 0;
  bottom: 0;
  color: var(--orange);
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.calendar-toolbar > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.calendar-toolbar strong {
  font-size: 13px;
  font-weight: 400;
}
.calendar-toolbar .primary,
.calendar-toolbar .secondary {
  padding: 12px;
  font-size: 11px;
}
.icon-button {
  width: 32px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.view-switch {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px;
}
.view-switch button {
  padding: 9px;
  font-size: 11px;
  border-radius: 4px;
  color: var(--muted);
}
.view-switch button.active {
  background: var(--accent);
  color: var(--paper);
}
.calendar-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 22px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  background: var(--surface);
  min-width: 750px;
}
.calendar-grid.day {
  grid-template-columns: 1fr;
  min-width: 0;
}
.calendar-day {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 150px;
  padding: 8px;
}
.calendar-grid.week .calendar-day {
  min-height: 430px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 80px;
}
.calendar-day header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  background: var(--surface);
  padding: 8px 0;
}
.calendar-day header small {
  font: 9px "IBM Plex Mono";
  text-transform: uppercase;
  color: var(--muted);
}
.calendar-day header button {
  font-size: 17px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  color: var(--ink);
}
.calendar-day.is-today header button {
  background: var(--accent);
  color: var(--paper);
}
.calendar-day.outside-month {
  opacity: 0.55;
}
.calendar-event {
  background: color-mix(in srgb, var(--event-color) 14%, var(--surface));
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--event-color) 35%, transparent);
  border-left: 2px solid var(--event-color);
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  width: 100%;
  border-radius: 5px;
  padding: 10px 7px;
  margin: 7px 0;
  overflow: hidden;
}
.calendar-event small {
  font: 8px "IBM Plex Mono";
  text-transform: uppercase;
  color: var(--event-color);
}
.calendar-event strong {
  font-size: 11px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.calendar-event span {
  font-size: 9px;
  color: var(--muted);
}
.calendar-event.compact {
  padding: 6px;
  gap: 4px;
}
.calendar-event.compact strong {
  font-size: 10px;
}
.deadline-event,
.budget-event {
  padding: 9px;
  border-radius: 4px;
  font-size: 10px;
  margin: 8px 0;
  line-height: 1.6;
  background: var(--raised);
  color: var(--muted);
}
.deadline-event {
  border-left: 2px solid #f1b8cf;
}
.budget-event {
  border-left: 2px solid #b6d8fb;
}
.budget-event small {
  display: block;
  font-size: 8px;
}
.calendar-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 9px;
  color: var(--muted);
}
.calendar-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.calendar-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.calendar-legend > span:last-child {
  margin-left: auto;
}
.calendar-empty {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
.calendar-empty > span {
  font-size: 50px;
  color: var(--accent);
}
.event-types {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.event-types label {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  text-transform: capitalize;
  font-size: 12px;
  cursor: pointer;
}
.event-types input {
  accent-color: var(--accent);
}
.connection-card {
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.connection-card p {
  color: var(--muted);
  line-height: 1.7;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  font-size: 13px;
}
.settings-grid select {
  width: 100%;
  padding: 13px;
  border-radius: 5px;
  margin: 10px 0;
  border: 1px solid var(--line);
}
@media (min-width: 1450px) {
  main {
    padding-left: 60px;
    padding-right: 60px;
  }
  .mission-sculpture {
    right: 40px;
    width: 360px;
  }
  .floating-tile {
    width: 150px;
    height: 195px;
  }
  .tile-glass {
    height: 110px;
    left: 120px;
  }
}
@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding: 26px 14px;
  }
  .hero h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .mission-sculpture {
    right: -35px;
    scale: 0.8;
  }
  .hero > div:first-child {
    width: 74%;
  }
  .hero {
    min-height: 330px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    padding: 18px 20px 65px;
  }
  .brand {
    font-size: 30px;
  }
  .sidebar nav {
    top: 62px;
  }
  .profile-control {
    position: absolute;
    right: 20px;
    top: 12px;
    margin: 0;
    padding: 5px;
    border: 0;
    background: transparent;
  }
  .profile-control > span:last-child {
    display: none;
  }
  .profile-avatar {
    width: 34px;
    height: 34px;
  }
  .sidebar-note {
    display: none;
  }
  .hero {
    padding: 28px 0 34px;
    min-height: 360px;
  }
  .hero > div:first-child {
    width: 100%;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -3px;
    margin: 22px 0;
  }
  .hero p {
    max-width: 70%;
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 8px;
    max-width: 230px;
  }
  .mission-sculpture {
    scale: 0.5;
    transform-origin: right bottom;
    top: 82px;
    right: -15px;
    opacity: 0.9;
  }
  .hero h1 {
    position: relative;
    z-index: 3;
  }
  .next-card,
  .recovery-card {
    padding: 25px;
  }
  .next-card h2,
  .recovery-card h2 {
    font-size: 30px;
  }
  .studio-head h1 {
    font-size: 44px;
    letter-spacing: -2.6px;
  }
  .studio-head {
    padding-top: 20px;
  }
  .page-heading {
    padding: 20px 0;
  }
  .page-heading h1 {
    font-size: 47px;
  }
  .calendar-motif {
    font-size: 80px;
  }
  .calendar-toolbar strong {
    font-size: 11px;
  }
  .calendar-toolbar {
    gap: 12px;
  }
  .calendar-grid {
    min-width: 700px;
  }
  .calendar-grid.month {
    min-width: 600px;
  }
  .calendar-legend > span:last-child {
    margin-left: 0;
  }
  .studio-body .section-title h2 {
    max-width: 280px;
  }
  .settings-grid .paper-panel {
    padding: 24px;
  }
  .topbar {
    font-size: 7px;
  }
  .profile-preview .profile-avatar {
    width: 60px;
    height: 60px;
  }
  .calendar-scroll {
    margin-top: 15px;
  }
  .hero > div:first-child p {
    max-width: 65%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-tile {
    animation: none;
  }
  .primary,
  .round-arrow,
  .nav-item {
    transition: none;
  }
}
/* Legacy timeline and study controls share the new theme tokens. */
.timeline {
  background: var(--surface);
}
.day.today {
  background: var(--raised);
}
.day-session {
  border-color: var(--accent);
}
:root[data-theme="light"] .calendar-event small {
  color: var(--ink);
}
.file-button:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.brand {
  gap: 8px;
  font-size: 27px;
  letter-spacing: -1.5px;
  align-items: center;
}
.brand img {
  width: 35px;
  height: 44px;
  object-fit: contain;
  filter: none;
  border-radius: 0;
  background: #fff;
  mix-blend-mode: screen;
}
.brand .wordmark {
  font-weight: 400;
  white-space: nowrap;
}
.brand .wordmark span {
  display: inline;
  font-weight: 700;
  font-size: inherit;
  vertical-align: baseline;
  color: var(--ink);
  letter-spacing: -1.5px;
}
:root:not([data-theme="light"]) .brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}
:root[data-theme="light"] .brand img {
  mix-blend-mode: multiply;
}
@media (max-width: 760px) {
  .brand {
    font-size: 26px;
  }
  .brand img {
    width: 27px;
    height: 35px;
  }
}
/* Owner-supplied final Re-Strive lockup. */
.brand {
  justify-content: center;
  margin: -12px 0 0;
  padding: 0;
}
.brand img,
:root:not([data-theme="light"]) .brand img,
:root[data-theme="light"] .brand img {
  width: 150px;
  height: 160px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  background: #070808;
  border-radius: 8px;
}
.brand-caption {
  text-align: center;
  margin-top: 8px;
}
.sidebar nav {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .brand {
    justify-content: flex-start;
    margin: 0;
  }
  .brand img,
  :root:not([data-theme="light"]) .brand img,
  :root[data-theme="light"] .brand img {
    width: 58px;
    height: 60px;
  }
  .sidebar {
    min-height: 123px;
  }
  .sidebar nav {
    top: 73px;
    margin-top: 0;
  }
  .profile-control {
    top: 22px;
  }
}
@media (max-width: 760px) {
  .hero > div:first-child p {
    max-width: 58%;
  }
  .mission-sculpture {
    top: 125px;
    scale: 0.45;
  }
}
