@font-face {
  font-family: Vazirmatn;
  src: url(/assets/vazirmatn.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #18283a;
  background: #f7f7f3;
  color-scheme: light;
  --navy: #10243c;
  --gold: #b17a22;
  --line: #e1e5e8;
  --muted: #627080;
  --surface: #fff;
  --bg: #f7f7f3;
  --ink: #18283a;
  --danger: #a33232;
  --success: #206548;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  min-height: 44px;
  transition:
    transform 150ms var(--ease),
    background-color 150ms var(--ease),
    border-color 150ms var(--ease);
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9a681b;
  outline-offset: 3px;
}
input,
select,
textarea {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid #bcc5cd;
  border-radius: 9px;
  padding: 11px 12px;
  min-height: 46px;
  max-width: 100%;
  width: 100%;
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 82px;
  line-height: 1.7;
}
input[type='checkbox'],
input[type='radio'] {
  min-height: 20px;
  width: 20px;
  accent-color: var(--navy);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
}
form {
  display: grid;
  gap: 18px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.6;
}
h2 {
  font-size: 22px;
  line-height: 1.7;
}
h3 {
  font-size: 17px;
  line-height: 1.8;
}
p {
  line-height: 1.9;
}
small,
.small {
  font-size: 12px;
  line-height: 1.9;
}
.subtle {
  color: var(--muted);
}
.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.gold {
  background: #e9c781;
  border-color: #e9c781;
  color: #30220c;
}
.danger {
  color: var(--danger);
  border-color: #e4b7b7;
}
.plain {
  background: transparent;
  border-color: transparent;
}
.wide {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 20px;
}
.check-label {
  flex-direction: row;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #f5ebd6;
  color: #785215;
  font-size: 12px;
  width: fit-content;
  line-height: 1.8;
}
.pill.green {
  background: #e7f3ec;
  color: var(--success);
}
.pill.red {
  background: #f9eaea;
  color: var(--danger);
}
.pill.gray {
  background: #edf0f3;
  color: #485667;
}
.entry {
  max-width: 480px;
  padding: 44px 24px 24px;
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.entry-brand {
  text-align: center;
  display: grid;
  gap: 9px;
  justify-items: center;
}
.entry-brand img {
  object-fit: contain;
  border-radius: 13px;
  background: #fff;
}
.entry-brand > p:first-of-type {
  font-size: 18px;
  font-weight: 700;
}
.entry-brand h1 {
  font-size: 27px;
}
.entry-brand .subtle {
  font-size: 12px;
  line-height: 2;
}
.entry-form {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.entry-form h2 {
  font-size: 22px;
}
.password-field {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.password-field input {
  padding-left: 65px;
}
.password-field button {
  position: absolute;
  left: 5px;
  padding: 6px 9px;
  min-height: 36px;
  font-size: 12px;
}
.entry-foot {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  padding: 28px 16px 20px;
  position: sticky;
  top: 0;
  height: 100svh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  font-size: 18px;
}
.brand img {
  background: #fff;
  object-fit: contain;
  border-radius: 8px;
}
.brand small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav button {
  text-align: right;
  border-color: transparent;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.sidebar nav button[aria-current='page'] {
  background: var(--navy);
  color: white;
}
.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.sidebar-foot button {
  text-align: right;
}
.workspace {
  min-width: 0;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 34px;
}
.topbar {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar p {
  font-weight: 650;
  margin-top: 5px;
}
.context {
  display: flex;
  gap: 12px;
  align-items: end;
}
.context label {
  font-size: 11px;
}
.context input,
.context select {
  min-height: 40px;
  padding: 8px;
  font-size: 13px;
  width: 165px;
}
main {
  padding: 30px 0 44px;
  min-height: calc(100svh - 180px);
  outline: none;
}
main > section {
  display: grid;
  gap: 26px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.hero {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 3px solid #c7943f;
}
.hero .subtle {
  color: #d2dce6;
}
.hero .pill {
  background: #31405a;
  color: #f4d394;
  margin-top: 15px;
}
.hero img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
}
.hero h2 {
  font-size: 28px;
}
.hero p {
  font-size: 13px;
  margin-top: 8px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.service > p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}
.service button {
  align-self: start;
  font-size: 13px;
}
.service:nth-child(4n + 1) {
  border-top: 3px solid #9eb9bd;
}
.service:nth-child(4n + 2) {
  border-top: 3px solid #d9b775;
}
.service:nth-child(4n + 3) {
  border-top: 3px solid #b5b4cc;
}
.service:nth-child(4n) {
  border-top: 3px solid #bbcdba;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.summary strong {
  font-size: 24px;
  color: var(--navy);
}
progress {
  height: 9px;
  max-width: 220px;
  width: 100%;
  accent-color: var(--gold);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.empty {
  padding: 36px 22px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed #bbc6cb;
  border-radius: 14px;
  color: var(--muted);
  line-height: 2;
}
.parts {
  display: grid;
  gap: 12px;
}
.part {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.part-time {
  display: grid;
  gap: 5px;
  align-content: start;
}
.part-time strong {
  font-size: 17px;
}
.part-time span {
  font-size: 13px;
  direction: ltr;
  text-align: right;
  color: var(--muted);
}
.part-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.part-body p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-controls {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.report-controls legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.choice:first-of-type:has(input:checked) {
  background: #edf0f3;
  border-color: #8996a2;
}
.choice {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 9px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
}
.choice:has(input:checked) {
  background: #edf4f0;
  border-color: #458366;
}
.choice.cross:has(input:checked) {
  background: #fbefec;
  border-color: #b65946;
}
.choice input {
  width: 17px;
  min-height: 17px;
}
.report-detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}
.report-detail label {
  font-size: 12px;
}
.report-detail textarea {
  min-height: 46px;
  height: 46px;
}
.part-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.part-editor label:last-child {
  grid-column: 1/-1;
}
.personal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.exam-list {
  display: grid;
  gap: 14px;
}
.exam {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.exam .stack {
  gap: 8px;
}
.score {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  min-width: 660px;
  width: 100%;
  font-size: 13px;
  text-align: right;
}
th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  background: #f4f5f4;
}
td {
  overflow-wrap: anywhere;
}
td .actions {
  flex-wrap: nowrap;
}
td button {
  font-size: 11px;
  padding: 7px 10px;
  min-height: 36px;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.form-panel {
  max-width: 650px;
}
.form-panel p {
  font-size: 13px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
#notice {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(90%, 600px);
  pointer-events: none;
}
#notice:empty {
  display: none;
}
#notice:not(:empty) {
  padding: 15px 18px;
  border: 1px solid #c5d6cc;
  border-radius: 12px;
  background: #f0f8f3;
  color: #1a5135;
  box-shadow: 0 6px 30px #10243c1a;
}
#notice[data-error='true'] {
  border-color: #d7b0a9;
  background: #fff3ef;
  color: #852d21;
}
.skip {
  position: fixed;
  top: -100px;
  right: 20px;
  z-index: 200;
  background: white;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  width: min(600px, calc(100% - 28px));
  max-height: 90svh;
  color: var(--ink);
  background: var(--surface);
}
dialog::backdrop {
  background: #10243c66;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.dialog-head button {
  font-size: 26px;
  padding: 3px 13px;
}
dialog[open] {
  animation: appear 170ms var(--ease);
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[hidden] {
  display: none !important;
}
@media (hover: hover) and (pointer: fine) {
  button:hover:not(:disabled) {
    border-color: #9daab5;
    background: #eff2f4;
  }
  .primary:hover:not(:disabled) {
    background: #203b59;
    color: white;
  }
  .gold:hover:not(:disabled) {
    background: #e0b966;
  }
  .sidebar nav button:hover:not([aria-current='page']) {
    background: #f1f3f3;
  }
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .workspace {
    padding: 0 22px;
  }
  .sidebar {
    padding: 24px 12px;
  }
  .brand {
    font-size: 16px;
  }
  .part {
    grid-template-columns: 120px 1fr;
  }
  .context input,
  .context select {
    width: 140px;
  }
}
@media (max-width: 760px) {
  .app {
    display: block;
  }
  .sidebar {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small {
    font-size: 9px;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .sidebar nav button {
    min-width: max-content;
    min-height: 40px;
    padding: 8px 13px;
    font-size: 12px;
  }
  .sidebar-foot {
    position: absolute;
    left: 12px;
    top: 13px;
    font-size: 10px;
    gap: 0;
  }
  .sidebar-foot #identity {
    display: none;
  }
  .sidebar-foot button {
    font-size: 11px;
    padding: 6px;
    min-height: 36px;
  }
  .workspace {
    padding: 0 16px;
  }
  .topbar {
    min-height: 110px;
    align-items: start;
    padding: 16px 0;
    flex-direction: column;
    gap: 13px;
  }
  .topbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .topbar p {
    margin: 0;
    font-size: 12px;
  }
  .context {
    width: 100%;
    gap: 12px;
  }
  .context label {
    flex: 1;
    min-width: 0;
  }
  .context input,
  .context select {
    width: 100%;
    min-height: 40px;
    font-size: 14px;
  }
  main {
    padding: 23px 0 30px;
  }
  main > section {
    gap: 22px;
  }
  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 19px;
  }
  .hero {
    padding: 24px 20px;
    gap: 15px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero img {
    display: none;
  }
  .hero p {
    font-size: 12px;
  }
  .grid {
    gap: 12px;
  }
  .service {
    padding: 18px 14px;
    border-radius: 13px;
    gap: 9px;
  }
  .service h3 {
    font-size: 15px;
  }
  .service p {
    font-size: 12px;
  }
  .service button {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .part {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .part-time {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .part-time strong {
    font-size: 15px;
  }
  .part-time span {
    font-size: 12px;
  }
  .part-editor {
    grid-template-columns: 1fr;
  }
  .part-editor label:last-child {
    grid-column: auto;
  }
  .report-detail {
    grid-template-columns: 1fr;
  }
  .report-detail textarea {
    min-height: 70px;
  }
  .part-body .split {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading .primary {
    padding: 9px 12px;
    font-size: 12px;
  }
  .exam {
    align-items: start;
    padding: 18px;
    flex-wrap: wrap;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .entry {
    padding: 32px 20px 24px;
    gap: 24px;
  }
  .entry-form {
    padding: 24px 20px;
  }
  .entry-brand h1 {
    font-size: 25px;
  }
  .entry-brand img {
    width: 80px;
    height: 80px;
  }
  footer {
    font-size: 10px;
  }
  .summary strong {
    font-size: 21px;
  }
  .choice {
    padding: 9px 8px;
  }
  .dialog-head h2 {
    font-size: 19px;
  }
  dialog {
    padding: 20px;
  }
  .actions {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
:root[data-theme='dark'] {
  --surface: #142639;
  --bg: #0d1c2d;
  --ink: #eef3f7;
  --muted: #b4c3d0;
  --line: #33465a;
  background: var(--bg);
  color: var(--ink);
}
:root[data-theme='dark'] .hero {
  background: #1d344f;
}
:root[data-theme='dark'] th {
  background: #21384e;
}
:root[data-theme='dark'] input,
:root[data-theme='dark'] select,
:root[data-theme='dark'] textarea {
  border-color: #667d90;
}
:root[data-theme='dark'] .primary {
  background: #e9c781;
  color: #17283a;
  border-color: #e9c781;
}
:root[data-theme='dark'] .summary strong,
:root[data-theme='dark'] .score {
  color: #e9c781;
}
:root[data-theme='dark'] .pill {
  background: #3d3426;
  color: #f4d496;
}
:root[data-theme='dark'] .sidebar nav button[aria-current='page'] {
  background: #e9c781;
  color: #142639;
}
:root[data-theme='dark'] .choice:has(input:checked) {
  color: #143c2b;
}
:root[data-theme='dark'] .choice.cross:has(input:checked) {
  color: #63261c;
}

@media (hover: hover) and (pointer: fine) {
  :root[data-theme='dark'] button:hover:not(:disabled) {
    background: #243d55;
    color: var(--ink);
  }
  :root[data-theme='dark'] .primary:hover:not(:disabled) {
    background: #f1d49d;
    color: #17283a;
  }
  :root[data-theme='dark'] .sidebar nav button:hover:not([aria-current='page']) {
    background: #243d55;
    color: var(--ink);
  }
}

/* Weekly mentor agenda: one week selector and a continuous reading surface. */
.supervision,
.supervision-list {
  display: grid;
  gap: 16px;
}
.supervision > label {
  max-width: 460px;
}
.supervision-row {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.supervision-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 6px;
  overflow-x: auto;
}
.supervision-row h3,
.agenda-day-title,
.agenda-part h3,
.plan-author {
  overflow-wrap: anywhere;
}
.supervision-day {
  display: grid;
  gap: 10px;
  align-content: start;
  text-align: start;
  padding: 12px 8px;
  min-width: 90px;
  font-size: 11px;
}
.supervision-day strong {
  font-size: 14px;
}
.supervision-day small {
  overflow-wrap: anywhere;
  color: var(--muted);
}
::selection {
  background: #e9c781;
  color: #10243c;
}
.week-navigator {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.week-toolbar,
.week-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.week-toolbar h2 {
  font-size: 20px;
}
.week-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  padding: 9px;
  white-space: nowrap;
}
.week-today {
  color: #8b601c;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.week-day {
  min-width: 0;
  padding: 14px 6px 9px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}
.week-day[aria-current='date'] {
  border-color: var(--gold);
}
.week-day[aria-pressed='true'] {
  background: #10243c;
  color: #fff;
  border-color: #10243c;
  box-shadow: 0 5px 12px #10243c18;
}
.week-day-name {
  font-size: 12px;
}
.week-day-short {
  display: none;
}
.week-day-number {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 750;
}
.week-day-count {
  font-size: 11px;
}
.week-day-today {
  font-size: 10px;
  color: #8b601c;
  line-height: 1;
}
.week-day[aria-pressed='true'] .week-day-today {
  color: #f4d394;
}
.week-day-progress {
  height: 4px;
  width: 32px;
  accent-color: #378260;
}
.week-overview-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.week-overview-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.week-overview-note svg {
  width: 17px;
  height: 17px;
}
.agenda-heading {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.agenda-day-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
}
.agenda-heading h2 {
  font-size: 21px;
}
.plan-author {
  color: var(--muted);
  font-size: 13px;
}
.agenda-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.agenda-parts {
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: clip;
}
.agenda-part {
  grid-template-columns: 118px minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  padding: 26px;
}
.agenda-part:last-child {
  border-bottom: 0;
}
.agenda-part .part-time {
  gap: 8px;
  padding-block: 2px;
  font-variant-numeric: tabular-nums;
}
.agenda-part .part-time strong {
  font-size: 14px;
  color: #8b601c;
}
.agenda-part .part-time small {
  font-size: 11px;
}
.agenda-part .slot-clock {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
.agenda-part .part-body {
  gap: 10px;
}
.agenda-part .part-body h3 {
  font-size: 18px;
}
.agenda-part .part-body .section-heading {
  gap: 8px;
}
.agenda-part .report-controls {
  padding-top: 10px;
}
.agenda-part.is-unassigned {
  align-items: center;
  padding-block: 18px;
  background: color-mix(in srgb, var(--bg) 50%, var(--surface));
}
.agenda-part.is-unassigned .part-time small {
  display: none;
}
.report-disclosure {
  font-size: 12px;
  color: var(--muted);
}
.report-disclosure summary {
  cursor: pointer;
  width: fit-content;
  padding-block: 8px;
  min-height: 40px;
  align-content: center;
  text-underline-offset: 4px;
}
.report-disclosure summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.report-disclosure[open] .report-detail {
  margin-top: 8px;
}
.program-actions {
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.program-actions button {
  margin-inline-start: auto;
}
@media (hover: hover) and (pointer: fine) {
  .week-day:hover:not([aria-pressed='true']) {
    border-color: var(--gold);
    background: var(--bg);
  }
  .week-day[aria-pressed='true']:hover {
    background: #203b59;
    color: #fff;
  }
  .report-disclosure summary:hover {
    color: var(--ink);
    text-decoration: underline;
  }
}
@media (max-width: 1100px) {
  .week-toolbar {
    flex-wrap: wrap;
  }
  .week-controls {
    margin-inline-start: auto;
  }
}
@media (max-width: 760px) {
  .week-navigator {
    padding: 18px 12px 14px;
    gap: 18px;
    border-radius: 14px;
  }
  .week-toolbar {
    padding-inline: 4px;
    gap: 14px;
  }
  .week-toolbar h2 {
    font-size: 18px;
  }
  .week-controls {
    width: 100%;
    margin: 0;
  }
  .week-controls button {
    padding-inline: 10px;
  }
  .week-days {
    gap: 4px;
  }
  .week-day {
    padding: 12px 2px 8px;
    gap: 9px;
    border-radius: 9px;
  }
  .week-day-name {
    display: none;
  }
  .week-day-short {
    display: inline;
    font-size: 12px;
  }
  .week-day-number {
    font-size: 23px;
  }
  .week-day-count {
    font-size: 9px;
    white-space: nowrap;
  }
  .week-day-progress {
    width: 24px;
    gap: 2px;
  }
  .week-overview-note {
    padding-inline: 4px;
    font-size: 10px;
    gap: 8px;
  }
  .agenda-heading h2 {
    font-size: 18px;
  }
  .plan-author {
    font-size: 12px;
  }
  .agenda-part {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px;
    gap: 14px;
  }
  .agenda-part .part-time {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .agenda-part .part-time small {
    margin-inline-start: auto;
  }
  .agenda-part .part-body h3 {
    font-size: 17px;
  }
  .agenda-part .report-controls {
    gap: 5px;
  }
  .agenda-part .choice {
    padding-inline: 7px;
    gap: 5px;
    font-size: 11px;
  }
  .agenda-part.is-unassigned {
    gap: 6px;
    padding-block: 14px;
  }
  .program-actions {
    padding: 14px;
    gap: 12px;
  }
  .program-actions button {
    width: 100%;
  }
}
:root[data-theme='dark'] .week-today,
:root[data-theme='dark'] .week-day-today,
:root[data-theme='dark'] .agenda-part .part-time strong {
  color: #e9c781;
}
:root[data-theme='dark'] .week-day[aria-pressed='true'] {
  background: #e9c781;
  border-color: #e9c781;
  color: #10243c;
}
:root[data-theme='dark'] .week-day[aria-pressed='true'] .week-day-today {
  color: #553609;
}
@media (hover: hover) and (pointer: fine) {
  :root[data-theme='dark'] .week-day[aria-pressed='true']:hover {
    background: #f1d49d;
    color: #10243c;
  }
}
