:root {
  --ink: #142033;
  --moss: #1e3a5f;
  --leaf: #2d4f7a;
  --gold: #a8884a;
  --cream: #eef2f7;
  --paper: #f4f6f9;
  --line: #c5ced8;
  --muted: #5a6572;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, .brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}
a { color: var(--moss); }
.bare { background: radial-gradient(1200px 600px at 10% -10%, #d4e2f4, var(--cream)); }
.door {
  max-width: 28rem;
  margin: 0 auto;
  padding: 12vh 1.4rem 3rem;
}
.door.slim { padding-top: 18vh; }
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .28rem;
  margin: .5rem 0 0;
  max-width: 100%;
  flex: 1;
  align-content: stretch;
}
.week-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: .15rem .1rem;
  font: inherit;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .02rem;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  min-height: 2.15rem;
  height: 100%;
  color: var(--ink);
}
.week-chip.is-on { border-color: var(--moss); background: #e8eef6; }
.week-chip span { color: var(--muted); font-weight: 600; }
.week-chip em { font-style: normal; }
.week-chip .week-n { font-style: normal; }
.week-nights {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.week-nights li {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-size: 13px;
  padding: .2rem 0;
  border-top: 1px solid var(--line);
}
.week-nights li.is-in { font-weight: 600; }
.week-nights li.is-out { color: var(--muted); }
.week-nights li.is-now { background: #eef3f8; margin: 0 -.4rem; padding: .2rem .4rem; border-radius: 8px; }
.week-nights li.is-makeup { background: #eef4fb; }
.week-nights li { cursor: pointer; align-items: center; }
.week-label { min-width: 0; }
.week-status {
  min-width: 7.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: .28rem .45rem;
  cursor: pointer;
  color: inherit;
}
.week-nights li.is-in .week-status { color: var(--ink); }
.week-tally { margin: .45rem 0 0; }
.report-weeks { margin-bottom: 1rem; }
.report-table th.report-week,
.report-table td.report-mark {
  text-align: center;
  min-width: 3.4rem;
}
.report-table th.report-week.is-now { color: var(--moss); }
.report-table td.report-mark.is-in { font-weight: 700; }
.report-table td.report-mark.is-makeup { font-weight: 700; color: #355a7a; }
.report-table td.report-mark.is-absent { color: var(--muted); }
.report-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.5rem;
  margin-bottom: 1.5rem;
}
.report-doc > h1 {
  margin: 0;
  font-size: 1.7rem;
}
.report-doc > h2 {
  margin: 1.15rem 0 .55rem;
  font-size: 1.05rem;
}
.report-kicker {
  margin: .2rem 0 .9rem;
  color: var(--muted);
  font-size: .95rem;
}
.report-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
  gap: .85rem;
  max-width: 46rem;
}
.report-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  min-height: 5.4rem;
  padding: 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.report-card:hover,
.report-card:focus-visible {
  border-color: var(--moss);
  background: #e8eef6;
  box-shadow: 0 8px 22px rgba(20, 32, 51, .08);
  outline: none;
}
.report-ico {
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: #e8eef6;
  color: var(--moss);
  display: grid;
  place-items: center;
}
.report-card:hover .report-ico,
.report-card:focus-visible .report-ico {
  background: #fff;
}
.report-ico svg { width: 1.35rem; height: 1.35rem; display: block; }
.report-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.report-card span span {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}
.paper { background: #c8cdd3; overflow-x: hidden; }
.paper-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  max-width: min(100%, 8.5in);
  margin: 0 auto;
  padding: .7rem .85rem;
}
.paper-bar a { color: var(--ink); font-weight: 600; }
.paper-bar .btn-hero { width: auto; padding: .45rem 1rem; }
.paper-sheet {
  width: min(100%, 8.5in);
  min-height: 0;
  margin: 0 auto 1.4rem;
  padding: 1rem .85rem 1.3rem;
  background: #fff;
  color: #1a241c;
  box-sizing: border-box;
}
.paper-wide .paper-sheet {
  width: min(100%, 11in);
}
.paper-head { margin: 0 0 .7rem; }
.paper-head h1 { margin: 0; font-size: 1.7rem; }
.yearbook-sec {
  margin: .85rem 0 .45rem;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  break-after: avoid;
}
.yearbook {
  list-style: none;
  margin: 0 0 .35rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .4rem;
}
.yearbook li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  break-inside: avoid;
  page-break-inside: avoid;
}
.yearbook-pic {
  width: 100%;
  max-width: 1.2in;
  aspect-ratio: 10 / 11;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  background: #d5dbe2;
  display: block;
  margin-bottom: .28rem;
}
.yearbook-pic.is-empty { box-shadow: inset 0 0 0 1px #c3ccd6; }
.yearbook-first {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yearbook-last {
  font-size: 12px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yearbook-role {
  margin-top: .08rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5b6b7a;
}
.att-roster-head { display: none; }
.att-roster {
  list-style: none;
  margin: 0 0 .7rem;
  padding: 0;
}
.att-person {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: .2rem .7rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.att-face {
  grid-row: 1 / 3;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #d5dbe2;
  display: block;
}
.att-face.is-empty { box-shadow: inset 0 0 0 1px #c3ccd6; }
.att-name {
  font-size: 1.05rem;
  line-height: 1.25;
}
.att-phone,
.att-email {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  word-break: break-word;
}
.att-lessons .is-pending { background: #fff; color: transparent; }
.att-lessons {
  grid-column: 1 / -1;
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--att-n, 5), minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.att-lessons li {
  min-width: 0;
  padding: .4rem .12rem;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.att-lessons li:last-child { border-right: 0; }
.att-lessons li span {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .08rem;
}
.att-lessons .is-in { background: #e4eef6; color: var(--ink); }
.att-lessons .is-makeup { background: #eef4fb; color: #355a7a; }
.att-lessons .is-out,
.att-lessons .is-absent { color: var(--muted); }
.log-entry {
  margin: 0 0 1.15rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}
.log-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.log-entry h2 { margin: 0 0 .15rem; font-size: 1.05rem; }
.log-subject { margin: .35rem 0 .45rem; }
.comms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comms-table th,
.comms-table td {
  padding: .4rem .45rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.comms-table th {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.comms-body { margin: 0 0 .75rem; }
.comms-table td:last-child { width: 5.2rem; }
.comms-table td:nth-child(2) { width: 8.2rem; }
.comms-table tr.is-failed td:last-child,
.comms-table tr.is-skipped td:last-child { color: var(--muted); }
.att-wrap { overflow-x: auto; }
.att-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.att-table th, .att-table td {
  padding: .35rem .4rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}
.att-table thead th {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: bottom;
}
.att-table thead th span {
  display: block;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-top: .1rem;
}
.att-table thead th.is-now { color: var(--moss); }
.att-table tbody th {
  text-align: left;
  font-weight: 600;
  padding-left: 0;
}
.att-table .att-role th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f4f7fa;
  padding: .55rem .4rem .4rem 0;
  border-bottom: 1px solid var(--line);
}
.att-table td.is-in { font-weight: 700; }
.att-table td.is-makeup { font-weight: 700; color: #355a7a; }
.att-table td.is-absent { color: transparent; }
.print-only { display: none; }
@page { size: letter portrait; margin: .5in .45in; }
@media print {
  .nav, .nav-bar, .nav-backdrop, .print-hide, .paper-bar { display: none !important; }
  .print-only { display: inline; }
  .app { display: block; }
  .main { padding: 0; }
  html, body.paper { background: #fff !important; }
  .paper-sheet {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none;
  }
  .yearbook { grid-template-columns: repeat(5, 1fr); }
  .yearbook-pic { width: 1.2in; max-width: none; height: 1.32in; aspect-ratio: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .att-table td.is-absent { color: #bbb; }
  .att-roster-wrap .yearbook-sec ~ .yearbook-sec {
    break-before: page;
    page-break-before: always;
  }
  .att-roster-wrap .yearbook-sec { break-after: avoid; page-break-after: avoid; }
}
@media print, (min-width: 861px) {
  .att-roster-head {
    display: grid;
    grid-template-columns: 2.1rem 9rem 7.4rem minmax(0, 1fr);
    gap: .35rem .45rem;
    align-items: end;
    padding: 0 0 .35rem;
    margin: 0 0 .15rem;
    border-bottom: 0;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
  }
  .att-roster-head .att-lessons {
    display: grid;
    grid-template-columns: repeat(var(--att-n, 5), minmax(0, 1fr));
    gap: 0;
    margin: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-bottom: 0;
    background: #f4f7fa;
  }
  .att-roster-head .att-lessons span {
    text-align: center;
    padding: .3rem .1rem;
    border-right: 1px solid var(--line);
  }
  .att-roster-head .att-lessons span:last-child { border-right: 0; }
  .att-roster-head .is-now { color: var(--moss); }
  .att-person {
    display: grid;
    grid-template-columns: 2.1rem 9rem 7.4rem minmax(0, 1fr);
    align-items: center;
    padding: .4rem 0;
    gap: .35rem .45rem;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .att-face {
    grid-row: auto;
    width: 2.1rem;
    height: 2.1rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .att-name { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .att-phone,
  .att-email {
    font-size: 12px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .att-lessons {
    grid-column: auto;
    align-self: stretch;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(var(--att-n, 5), minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-top: 0;
  }
  .att-roster .att-person:first-child .att-lessons { border-top: 1px solid var(--line); }
  .att-lessons li {
    min-width: 0;
    padding: .35rem .08rem;
    background: #fff;
    border-radius: 0;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .att-lessons li:last-child { border-right: 0; }
  .att-lessons li span { display: none; }
  .att-lessons .is-pending { background: #fff; }
  .att-lessons .is-in,
  .att-lessons .is-makeup { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--moss);
  margin: 0 0 .6rem;
}
.door h1 { font-size: 3rem; margin: 0 0 .4rem; letter-spacing: -0.03em; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.6rem; }
.lede-sm { color: var(--muted); font-size: .95rem; }
.door-form label, .compose label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 1rem;
}
input, select, textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.btn-hero {
  width: 100%;
  border: 0;
  background: var(--moss);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .95rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.btn-hero:disabled { opacity: .45; }
.btn-hero.ghost-hero {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.choice-pair { display: flex; flex-direction: column; gap: .7rem; }
.name-hits { display: flex; flex-direction: column; gap: .65rem; margin-top: .4rem; }
.name-hit {
  width: 100%;
  min-height: 4.1rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.1rem;
  cursor: pointer;
  line-height: 1.2;
}
.name-hit:hover, .name-hit:focus { border-color: var(--moss); background: #e8eef6; }
.name-hit small { display: block; margin-top: .2rem; font-size: 13px; font-weight: 600; color: var(--muted); }
.last4-label { margin: 1rem 0 1.1rem; }
#last4 {
  display: block;
  width: 100%;
  margin-top: .45rem;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: .35em;
  padding: 1rem .4rem;
}
.err { color: #9b2c2c; font-weight: 600; }
.hint { color: var(--muted); }
.foot { margin-top: 2.5rem; font-size: 13px; }
.desk-line {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.4;
}
.desk-card h1 { font-size: 2.2rem; }
.desk-card p { font-size: 1.15rem; margin: .4rem 0 0; color: var(--ink); }
.nojs-join { display: none; }
.format-set {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
}
.format-set legend { font-weight: 700; margin-bottom: .5rem; }
.radio-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .55rem;
  font-size: 1.05rem;
  margin: .4rem 0;
}
.desk-hint {
  margin: .35rem 0 .55rem;
  color: var(--muted);
  font-size: 13px;
}
.find-wrap { display: block; flex: 1 1 12rem; min-width: 0; max-width: none; margin: 0; }
.board-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .45rem;
  margin: 0 0 .55rem;
}
.desk-find {
  width: 100%;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0 .75rem;
  font-size: 16px;
  border-radius: 999px;
}
.guest-tag {
  display: flex;
  flex: 1 1 16rem;
  gap: .35rem;
  min-width: 0;
  align-items: stretch;
}
.guest-tag input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0 .85rem;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.guest-tag button {
  flex: none;
  width: auto;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 15px;
  white-space: nowrap;
}
.guest-box {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: .6rem;
  background: rgba(20, 32, 51, .4);
}
.guest-box[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.guest-sheet {
  width: min(100%, 26rem);
  margin: 0;
  padding: 1rem .95rem 1.1rem;
  border-radius: 18px 18px 12px 12px;
  background: #fff8ef;
  color: var(--ink);
  box-shadow: 0 -10px 32px rgba(12, 22, 36, .2);
}
.guest-sheet h2 {
  margin: 0 0 .25rem;
  font-size: 1.25rem;
}
.guest-keep {
  margin: .7rem 0 0;
  padding: 0;
  border: 0;
}
.guest-keep legend {
  margin: 0 0 .4rem;
  font-size: 14px;
  font-weight: 700;
}
.guest-choice {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  margin: 0 0 .3rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.guest-choice:has(input:checked) {
  border-color: #c4a35a;
  background: #f7f0e2;
}
.guest-choice input { width: 1.1rem; height: 1.1rem; accent-color: #8b6914; }
.guest-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: .75rem 0 .35rem;
  font-size: 14px;
  font-weight: 700;
}
.guest-group select {
  min-height: 44px;
  padding: 0 .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-weight: 500;
}
.guest-sheet-acts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .8rem;
}
.guest-sheet-acts .btn-hero {
  width: 100%;
  max-width: none;
  min-height: 44px;
}
@media (min-width: 861px) {
  .guest-box {
    align-items: center;
    padding: 1.2rem;
  }
  .guest-sheet {
    border-radius: 18px;
    padding: 1.15rem 1.2rem 1.2rem;
  }
  .guest-sheet-acts {
    flex-direction: row;
  }
  .guest-sheet-acts .btn-hero { width: auto; min-width: 8.5rem; }
}
.done-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
}
.done-card a.join {
  display: block;
  text-align: center;
  margin-top: 1rem;
  text-decoration: none;
}
.done-card .teacher-note {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.done-card .change-pic {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.teacher-note {
  margin: 0 0 1.1rem;
}
.teacher-kicker {
  margin: 0 0 .25rem;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.teacher-body {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}
.teacher-body a { word-break: break-word; }
.change-pic {
  margin-top: .4rem;
}
.change-pic summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  cursor: pointer;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
  list-style: none;
}
.change-pic summary::-webkit-details-marker { display: none; }
.change-pic .welcome-photo {
  margin-top: .8rem;
  overflow: hidden;
  min-width: 0;
}
.change-pic .cam-live,
.change-pic .photo-preview {
  width: 8.5rem;
  height: 8.5rem;
}
.change-pic-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
}
.change-pic-actions .btn-hero { width: 100%; }
.teacher-note-form {
  margin: 0;
  max-width: none;
  display: contents;
}
.pane-head {
  display: flex;
  align-items: center;
  gap: .45rem;
  height: 2.15rem;
  min-height: 2.15rem;
  margin: 0;
}
.note-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.note-head .btn-hero {
  width: auto;
  height: 2.15rem;
  padding: 0 .8rem;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
.note-fold { display: none; }
.note-head .note-file-hint {
  margin: 0;
  font-weight: 600;
  color: var(--moss);
  min-height: 1em;
}
.note-file-pick {
  margin-left: auto;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  padding: 0 .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.note-file-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.note-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}
.note-body.has-files {
  grid-template-columns: minmax(0, 1fr) auto;
}
.note-drop {
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 8.5rem;
  height: 100%;
}
.teacher-note-form.is-drop .note-drop {
  border-color: var(--moss);
  background: #eef3f8;
}
.teacher-note-form textarea {
  width: 100%;
  min-height: 8.5rem;
  height: 100%;
  margin: 0;
  padding: .65rem .7rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  resize: none;
}
.teacher-note-form textarea:focus {
  outline: none;
}
.teacher-note-form.is-saved .note-drop {
  border-color: var(--moss);
}
.note-files-wrap .note-files,
.note-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.done-card .note-files {
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: .45rem;
}
.note-file {
  display: flex;
  align-items: flex-start;
  gap: .3rem;
  max-width: 16rem;
}
.note-file.is-image img {
  display: block;
  max-width: 160px;
  max-height: 9.5rem;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: contain;
  background: #eef2f7;
}
.done-card .note-file.is-image img {
  max-width: min(100%, 360px);
  max-height: 240px;
}
.note-file-link {
  display: grid;
  gap: .15rem;
  min-width: 0;
  flex: 1;
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  max-width: 14rem;
}
.note-file-kind {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.note-file-title,
.note-file-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  margin: 0;
}
.note-file-del {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #1a2d4a;
  color: #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.door.class-night { padding-top: 1.1rem; }
.class-night .lede-sm { margin: 0 0 .35rem; }
.class-night h1 { font-size: 2.4rem; line-height: 1.15; }
.zoom-url {
  margin: .85rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  word-break: break-all;
}
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.app.nav-hidden { grid-template-columns: 0 1fr; }
.app.nav-hidden .nav { overflow: hidden; padding: 0; border: 0; visibility: hidden; }
.nav-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem; }
.nav-hide, .nav-show {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: .28rem .65rem;
  cursor: pointer;
}
.nav-hide { background: #1a2d4a; color: #dce6f0; border-color: #2c4568; }
.nav-bar { display: none; }
.app.nav-hidden .nav-bar { display: flex; margin: 0 0 .8rem; }
.nav-backdrop[hidden] { display: none; }
.nav-show { display: none; margin: 0; }
.app.nav-hidden .nav-show { display: inline-flex; }
.nav {
  background: var(--ink);
  color: #dce6f0;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.brand { font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.nav a {
  color: #dce6f0;
  text-decoration: none;
  padding: .55rem .7rem;
  border-radius: 10px;
}
.nav a.on, .nav a:hover { background: #1a2d4a; }
.nav a.muted { opacity: .65; margin-top: auto; }
.nav-sub {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin: -.15rem 0 .2rem .55rem;
}
.nav-sub a {
  font-size: .92rem;
  padding: .35rem .65rem;
  opacity: .9;
}
.main { padding: 1.6rem 1.8rem 3rem; }
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}
.page-head h1 { margin: 0; font-size: 1.9rem; }
.page-head .btn-hero {
  width: auto;
  padding: .55rem 1rem;
  font-size: .95rem;
  white-space: nowrap;
}
.stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .6rem .85rem;
  min-width: 7rem;
}
.stats strong { display: block; font-size: 1.3rem; }
.filters, .view-as { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; align-items: center; }
.filter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .15rem;
}
.chip-n { font-weight: 600; opacity: .8; }
.chip, .view-as a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: 13px;
  font-weight: 600;
}
.chip.is-on, .view-as a.is-on { background: var(--moss); color: #fff; border-color: var(--moss); }
button.chip { font: inherit; cursor: pointer; }
.view-as { font-size: 13px; color: var(--muted); align-items: center; }
.dash-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fold {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 0 0 1rem;
}
.fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.1rem;
  padding: .7rem 1rem;
  font-weight: 700;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: '';
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: rotate(45deg);
  flex: none;
}
.fold[open] > summary::after { transform: rotate(-135deg); margin-top: .35rem; }
.fold-meta {
  margin-left: auto;
  margin-right: .4rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}
.fold-body { padding: 0 1rem 1.1rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.card h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.count { font-family: Outfit, sans-serif; font-size: 14px; color: var(--muted); }
.roster { width: 100%; border-collapse: collapse; font-size: 14px; }
.roster th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.roster td, .roster th { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.roster .check-col { width: 3.2rem; padding-right: .55rem; vertical-align: middle; }
.roster .check-col input { width: 1.05rem; height: 1.05rem; margin: 0; }
.check-all {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.compose textarea { width: 100%; min-height: 8rem; margin-bottom: .8rem; }
.compose-mail {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.compose-mail h2 { margin-bottom: .35rem; }
.compose-label {
  display: block;
  margin: .15rem 0 .35rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.compose input[type="text"],
.compose input[type="email"] {
  width: 100%;
  margin-bottom: .7rem;
}
.compose .hi-first {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: start;
  width: max-content;
  gap: .45rem;
  margin: 0 0 .7rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.compose .hi-first input { width: 1.05rem; height: 1.05rem; margin: 0; }
.compose code {
  font-size: .92em;
  background: #eef3f8;
  padding: .05rem .28rem;
  border-radius: 4px;
}
@media (min-width: 861px) {
  .dash-page { max-width: 42rem; }
  .dash-page .compose .btn-hero {
    width: auto;
    min-width: 11rem;
    padding: .7rem 1.55rem;
  }
  .dash-page .compose input[type="email"] { max-width: 22rem; }
  .dash-page .compose input[type="text"] { max-width: 32rem; }
}
.flash {
  background: #dce6f2;
  border: 1px solid #b7c6d8;
  padding: .85rem 1.05rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.flash.is-busy {
  background: #fff3b0;
  border-color: #e0c240;
  color: #5a4a00;
}
.flash.is-ok {
  background: #1fd65a;
  border-color: #12a344;
  color: #063816;
  box-shadow: 0 0 0 3px rgba(31, 214, 90, .35);
}
.send-log { margin-bottom: 1rem; }
.send-tally {
  margin: 0 0 .7rem;
  font-weight: 700;
  color: var(--moss);
}
.send-body {
  margin: 0 0 .8rem;
  padding: .7rem .8rem;
  background: #f4f6f9;
  border-radius: 10px;
  white-space: pre-wrap;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.send-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 22rem;
  overflow: auto;
}
.send-log-list li {
  padding: .45rem .65rem;
  margin: 0 0 .35rem;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.send-log-list .send-name { font-weight: 800; }
.send-log-list li.is-accepted {
  background: #c8f7d4;
  color: #063816;
}
.send-log-list li.is-accepted .send-name { color: #087a32; }
.send-log-list li.is-failed,
.send-log-list li.is-skipped {
  background: #ffd0d0;
  color: #6e0c0c;
}
.send-log-list li.is-failed .send-name,
.send-log-list li.is-skipped .send-name { color: #c40d0d; }
.text-archive {
  margin: .7rem 0 0;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}
.text-archive summary {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  font-weight: 600;
}
.text-archive .send-body { margin-top: .7rem; }
.text-archive .send-log-list { margin-top: .6rem; }
.inline-form { display: flex; gap: .6rem; }
.inline-form select { flex: 1; }
.inline-form .btn-hero { width: auto; padding: .85rem 1.2rem; }
.desk-search { display: block; max-width: 22rem; margin: 0 0 1rem; font-size: 13px; font-weight: 600; }
.desk-search input { width: 100%; margin-top: .35rem; }
.desk-flash {
  background: #dce6f2;
  border: 1px solid #b7c6d8;
  padding: .7rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.desk-live li { grid-template-columns: 1fr auto auto; }
.row-actions { display: flex; gap: .3rem; }
.act {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .28rem .65rem;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.act[data-act="zoom"] { color: #1d4ed8; }
.act[data-act="tag"] { color: var(--moss); }
.desk-row.is-in .act { opacity: .85; }
.board { padding: 1.2rem 1.4rem 2rem; }
.board-top {
  display: grid;
  grid-template-columns: minmax(17rem, 24rem) minmax(0, 1fr) 200px;
  grid-template-rows: 2.15rem minmax(10.5rem, auto);
  gap: .4rem 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.board-top .meta-head { grid-column: 1; grid-row: 1; min-width: 0; }
.board-top .note-head { grid-column: 2; grid-row: 1; }
.board-top .qr-head { grid-column: 3; grid-row: 1; justify-content: flex-end; }
.board-top .board-meta {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.board-top .note-body { grid-column: 2; grid-row: 2; }
.board-top .qr-wrap { grid-column: 3; grid-row: 2; }
.board-top h1,
.board-top .night-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.15;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-top .eyebrow {
  margin: 0;
  flex: none;
}
.night-when {
  letter-spacing: .08em;
  text-transform: none;
  font-weight: 600;
  color: var(--muted);
}
.night-wrap { display: block; margin-top: .35rem; }
.night-pick {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 0 1.1rem 0 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236b6458' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right .15rem center;
}
.night-pick:focus { outline: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.tally { color: var(--muted); font-size: 1.05rem; margin: .35rem 0 0; }
.tally strong { color: var(--moss); font-size: 1.4rem; }
.tally-box {
  margin: .45rem 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.tally-box p { margin: 0 0 .1rem; }
.tally-box strong { color: var(--moss); font-size: 1.15rem; }
.tally-rest { color: var(--muted); font-size: 13px; }
.print-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .85rem;
  margin: 0;
}
.print-dock #tagWait { font-weight: 700; color: var(--moss); }
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .4rem .4rem .35rem;
}
.qr-wrap p { margin: .3rem 0 0; font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.qr-wrap .qr-url { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); word-break: break-all; }
.qr-head .print-qr { width: 100%; }
.quiet-check {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.quiet-check input { margin: 0; }
.print-next, .print-qr {
  border: 0;
  background: var(--moss);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  height: 2.15rem;
  padding: 0 .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tag-queue {
  margin: 0 0 .65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.tag-queue[hidden] { display: none !important; }
.tag-queue > summary.print-next {
  list-style: none;
  width: auto;
  min-height: 2.4rem;
  height: auto;
  margin: .4rem;
  padding: .35rem .9rem;
}
.tag-queue > summary.print-next::-webkit-details-marker { display: none; }
.tag-queue-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 0 .55rem .65rem;
}
.tag-queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.tag-queue-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .35rem;
  align-items: center;
}
.tag-queue-list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 2.5rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tag-queue-list label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-queue-list input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  flex: none;
}
.tag-one, .tag-skip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0 .75rem;
  cursor: pointer;
}
.tag-one { background: var(--moss); color: #fff; border-color: var(--moss); }
.tag-queue #printPicked { align-self: start; }
.print-qr {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.print-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden;
}
#qr { width: 132px; height: 132px; margin: 0 auto; }
#qr img, #qr canvas { width: 132px !important; height: 132px !important; }
.board-sections { display: flex; flex-direction: column; gap: 1rem; }
.board-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.board-sec.is-room {
  padding: .75rem .85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.board-sec[data-role="in_person"] {
  background: #eef3f8;
  border-color: #b7c6d8;
}
.board-sec[data-role="zoom"] {
  background: #eef3f9;
  border-color: #b7c6d8;
}
.board .group-pane { margin: 0; }
.board .group-cols { margin-top: .45rem; }
.board .group-col { min-height: 5.5rem; }
.board .g-live { display: flex; flex-direction: column; gap: .28rem; }
.board .g-live li,
.board-sec.is-in .g-live li {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 0;
}
.main .board { padding: 0; }
.board-sec[hidden] { display: none; }
.board-sec.is-wait { border-top: 1px solid var(--line); padding-top: .55rem; }
.board-sec.is-wait > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
}
.board-sec.is-wait > summary::-webkit-details-marker { display: none; }
.board-sec.is-wait > summary h2 {
  margin: 0;
  justify-content: center;
}
.board-sec.is-wait > summary .sec-count {
  position: absolute;
  right: 0;
  top: 0;
}
.board-sec.is-wait > summary h2::before {
  content: '▸ ';
  font-size: .85em;
  color: var(--muted);
}
.board-sec.is-wait[open] > summary h2::before { content: '▾ '; }
.board-sec.is-wait .live { margin-top: .45rem; }
.board-sec h2 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.board-sec.is-room .sec-title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.board-sec.is-room .sec-count {
  min-width: 4.6rem;
  text-align: right;
}
.sec-count { font-family: Outfit, sans-serif; font-size: 12px; font-weight: 600; color: var(--muted); }
.live {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.live li {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: .32rem .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  transition: background .3s, border-color .3s;
}
.live li[hidden] { display: none !important; }
.guest-hold[hidden] { display: none !important; }
.guest-hold:not([hidden]) { margin: 0 0 .45rem; }
.board-sec.is-in .live:not(.guest-hold),
.board-sec.is-wait .live {
  display: block;
  column-width: 10.75rem;
  column-gap: .25rem;
  column-fill: balance;
}
.board-sec.is-in .live:not(.guest-hold) li,
.board-sec.is-wait .live li {
  width: 100%;
  max-width: none;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: .22rem .42rem;
  font-size: 13px;
  margin: 0 0 .25rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.board-sec.is-wait .live li {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  padding: .2rem .4rem;
  font-size: 12px;
}
.board .live .nm,
.board .g-card .nm {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.board-sec.is-wait .pin {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.board-sec.is-wait .face {
  width: 22px;
  height: 22px;
}
.live li.is-find {
  outline: 2px solid var(--moss);
  outline-offset: 1px;
}
.live li.role-pl,
.g-card.role-pl {
  background: #d7e4f4;
  border-color: #9bb6d4;
}
.live li.role-pm,
.g-card.role-pm {
  background: #eef6ef;
  border-color: #c3dcc6;
}
.live li.role-student,
.g-card.role-student {
  background: #fbf6e6;
  border-color: #e4d7a8;
}
.live li.is-in.role-pl { background: #c5d8ee; }
.live li.is-in.role-pm { background: #dff0e1; }
.live li.is-in.role-student { background: #f6edc9; }
.live .nm, .g-card .nm { font-weight: 600; }
.live .rl,
.g-card .rl {
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--muted);
  min-width: 1.4rem;
  text-align: right;
  flex-shrink: 0;
}
.live li.role-pl .rl, .g-card.role-pl .rl { color: #355a7a; }
.live li.role-pm .rl, .g-card.role-pm .rl { color: #3f7a52; }
.live li.role-student .rl, .g-card.role-student .rl { color: #8a6d28; }
.live li.is-guest .rl, .g-card.is-guest .rl { color: #6b4ea0; }
.group-wrap { display: flex; flex-direction: column; gap: .55rem; }
.group-block h3 {
  margin: 0 0 .25rem;
  font-size: .92rem;
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.groups-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .4rem .85rem;
}
.board.is-staff .live li { cursor: pointer; }
.name-menu {
  position: fixed;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 10.5rem;
  padding: .3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(26, 36, 28, .12);
}
.name-menu[hidden] { display: none; }
.name-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: .5rem .7rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.name-menu button.is-now { background: #e8eef6; }
.board-sec.is-over { outline: 2px dashed var(--moss); outline-offset: 2px; background: #e8eef6; }
.name-menu button[data-act="send_zoom"] { color: #1d4ed8; }
.name-menu button[data-act="undo"] { color: var(--muted); font-weight: 500; }
.name-menu-groups {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .35rem .4rem .2rem;
  border-top: 1px solid var(--line);
  margin-top: .2rem;
}
.name-menu-groups[hidden] { display: none; }
.name-menu-groups p {
  flex: 1 1 100%;
  margin: 0 0 .15rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.name-menu-groups button {
  padding: .28rem .5rem;
  font-size: 12px;
}
.board.is-staff .g-card { cursor: grab; }
.board.is-staff .g-card.is-drag { cursor: grabbing; }
.board-note {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: #dce6f0;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 21;
  max-width: calc(100% - 2rem);
}
.board-note[hidden] { display: none; }
.board-note-act {
  border: 0;
  background: #dce6f0;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 999px;
  cursor: pointer;
}
.board-note-act:disabled { opacity: .55; cursor: default; }
.desk-live { grid-template-columns: 1fr; max-width: 42rem; }
.desk-live li { grid-template-columns: minmax(0, 1fr) auto auto; }
.print-dock { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.group-desk { display: flex; flex-direction: column; gap: 1.4rem; }
.group-pane {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.15rem;
}
.group-pane-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .7rem;
  margin-bottom: .35rem;
}
.group-pane-top h2 { margin: 0; margin-right: auto; }
.group-pane-top label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 13px;
  font-weight: 600;
}
.group-n { width: 4.4rem; padding: .45rem .55rem; }
.group-pane-top .btn-hero { width: auto; padding: .45rem .9rem; font-size: 13px; }
.group-lock {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 32, 51, .45);
}
.group-lock[hidden] { display: none; }
.group-lock-card {
  width: min(100%, 22rem);
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.group-lock-card p {
  margin: 0 0 .75rem;
  font-weight: 600;
  line-height: 1.4;
}
.group-lock-card label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 13px;
  font-weight: 600;
}
.group-lock-card input {
  min-height: 2.75rem;
  padding: 0 .75rem;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.group-lock-acts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .85rem;
}
.group-lock-acts .btn-hero { min-height: 2.75rem; }
.group-math { margin: 0 0 .7rem; }
.group-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: .55rem;
}
.group-col {
  position: relative;
  min-height: 8rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: .5rem;
  background: #f4f6f9;
}
.group-hide {
  position: absolute;
  top: .2rem;
  right: .2rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.group-hide:hover { background: #dce6f0; color: var(--ink); }
.group-hide[hidden] { display: none; }
.group-col h3 { padding-right: 1.4rem; }
.group-col.is-over { border-color: var(--moss); background: #e8eef6; }
.group-col h3 {
  margin: 0 0 .4rem;
  font-size: .92rem;
  display: flex;
  justify-content: space-between;
  gap: .4rem;
}
.g-live { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .28rem; }
.g-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem;
  align-items: center;
  padding: .28rem .42rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: element;
}
.g-card * { pointer-events: none; }
.g-card.is-drag { opacity: .45; }
.g-card.is-pick { outline: 2px solid var(--moss); outline-offset: 1px; }
.contact-card { padding: .55rem .4rem .7rem; overflow: visible; }
.roster-page { display: flex; flex-direction: column; }
.roster-phone-hint {
  margin: .35rem 0 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
}
.roster-head {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: .65rem;
}
.roster-head h1 { font-size: 1.45rem; }
.roster-head .lede-sm { display: none; }
.roster-pull { order: 8; margin: .4rem 0 0; }
.roster-pull .btn-hero {
  width: 100%;
  white-space: normal;
}
.roster-tools {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  padding: .1rem 0 .45rem;
  margin: 0 0 .35rem;
}
.roster-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.roster-cols { display: none; }
.roster-list .contact-row {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: .85rem;
  row-gap: .15rem;
  width: 100%;
  min-width: 0;
  padding: .85rem .9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  align-items: start;
}
.roster-list .contact-row[hidden] { display: none !important; }
.roster-list .face,
.roster-list .face-empty {
  grid-row: 1 / 3;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-top: .1rem;
}
.roster-list .nm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  min-width: 0;
}
.roster-list .nm-link {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.roster-list .need-photo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a5a12;
  background: #f7e7c6;
  border-radius: 999px;
  padding: .12rem .45rem;
}
.roster-list .need-photo:empty { display: none; }
.roster-card {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
}
.roster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .45rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.roster-meta .roster-group-lbl:empty { display: none; }
.roster-meta span + span::before {
  content: '·';
  margin-right: .4rem;
  color: #b7c0b4;
}
.roster-status-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6a3a3a;
  background: #f3dede;
  border-radius: 999px;
  padding: .12rem .45rem;
}
.roster-status-lbl[hidden] { display: none !important; }
.roster-reach {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  min-width: 0;
}
.roster-call,
.roster-mail {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  color: var(--moss);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.roster-mail { font-size: 14px; }
.roster-call.is-empty,
.roster-mail.is-empty {
  color: var(--muted);
  font-weight: 500;
  pointer-events: none;
}
.roster-list .col-phone,
.roster-list .col-email,
.roster-list .col-role,
.roster-list .col-format,
.roster-list .col-status,
.roster-list .col-group { display: none; }
.contact-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.desk-search {
  position: static;
  max-width: none;
  margin: 0 0 .45rem;
}
.desk-search input {
  min-height: 2.75rem;
  font-size: 16px;
}
.roster-filter-fold { margin: 0; }
.roster-filter-fold .contact-filters {
  flex-wrap: wrap;
  overflow: visible;
  margin: 0;
}
.contact-phone, .contact-email { font-size: 13px; font-weight: 500; }
.contact-email { word-break: break-all; }
.roster-list select {
  width: 100%;
  max-width: 13rem;
  padding: .4rem .55rem;
  border-radius: 10px;
}
@media (min-width: 861px) {
  .paper-bar {
    max-width: 8.5in;
    padding: .7rem 0;
  }
  .paper-sheet {
    width: 8.5in;
    min-height: 11in;
    padding: .55in .5in .6in;
  }
  .paper-wide .paper-sheet {
    width: 11in;
    min-height: 8.5in;
  }
  .yearbook { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .roster-page {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 1rem;
  }
  .roster-head {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 1.2rem;
  }
  .roster-head h1 { font-size: 1.9rem; }
  .roster-head .lede-sm {
    display: block;
    max-width: 38rem;
  }
  .roster-phone-hint { display: none; }
  .roster-pull {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    margin: 0 0 1.2rem;
  }
  .roster-pull .btn-hero {
    width: auto;
    white-space: nowrap;
  }
  .roster-page > .flash { grid-column: 1 / -1; }
  .contact-desk { grid-column: 1 / -1; }
  .roster-tools {
    position: static;
    padding: 0;
    margin: 0;
    background: none;
  }
  .desk-search { margin: 0 0 1rem; }
  .desk-search input {
    min-height: 0;
    font-size: inherit;
  }
  .roster-status-lbl { display: none; }
  .contact-card {
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .roster-card { display: none; }
  .roster-filter-fold {
    background: none;
    border: 0;
    margin: 0 0 1rem;
  }
  .roster-filter-fold > summary { display: none; }
  .roster-filter-fold .fold-body { display: block; padding: 0; }
  .desk-search {
    position: static;
    max-width: 22rem;
    padding: 0;
    background: none;
  }
  .roster-list {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    width: max-content;
    max-width: 100%;
  }
  .roster-cols {
    display: grid;
    width: max-content;
    max-width: 100%;
    grid-template-columns: 2.1rem 12.5rem 6.6rem 10.25rem 16.5rem 9.1rem 8.4rem auto;
    gap: .35rem .55rem;
    padding: .15rem .45rem .4rem;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
  }
  .roster-cols .col-name { grid-column: 1 / 3; }
  .roster-cols.has-groups,
  .roster-list.has-groups .contact-row {
    grid-template-columns: 2.1rem 12.5rem 6.6rem 10.25rem 16.5rem 9.1rem 8.4rem auto auto;
  }
  .roster-list .contact-row {
    display: grid;
    width: max-content;
    max-width: 100%;
    grid-template-columns: 2.1rem 12.5rem 6.6rem 10.25rem 16.5rem 9.1rem 8.4rem auto;
    grid-template-rows: auto;
    gap: .35rem .55rem;
    align-items: center;
    padding: .4rem .45rem;
    margin: 0;
    border-radius: 10px;
  }
  .roster-list .face,
  .roster-list .face-empty {
    grid-row: auto;
    width: 28px;
    height: 28px;
    margin-top: 0;
  }
  .roster-list .nm-wrap { display: contents; }
  .roster-list .nm-link {
    font-size: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .roster-list .need-photo {
    display: inline-block;
    white-space: nowrap;
    background: #f7e7c6;
    padding: .12rem .4rem;
    color: #8a5a12;
  }
  .roster-list .need-photo:empty {
    display: block;
    visibility: hidden;
  }
  .roster-list .col-phone,
  .roster-list .col-email { position: relative; overflow: hidden; }
  .roster-list .col-email > :not(input),
  .roster-list .col-phone > :not(input) { display: none !important; }
  .roster-cols .col-email,
  .roster-cols .col-role,
  .roster-cols .col-format,
  .roster-cols .col-status,
  .roster-list .col-phone,
  .roster-list .col-email,
  .roster-list .col-role,
  .roster-list .col-format,
  .roster-list .col-status { display: block; }
  .roster-list.has-groups .col-group,
  .roster-cols.has-groups .col-group { display: block; }
  .roster-list .contact-phone-in,
  .roster-list .contact-email-in,
  .roster-list select {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: .45rem .55rem;
  }
}
.contact-row.role-pl { background: #e6eef7; }
.contact-row.role-pm { background: #f3f8f4; }
.contact-row.role-student { background: #fbf8ee; }
.contact-row.is-dropped { opacity: .72; }
.contact-status { white-space: nowrap; }
.status-switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  user-select: none;
}
.status-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.status-track {
  position: relative;
  width: 2.4rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #c5ced8;
  flex: none;
  transition: background .15s ease;
}
.status-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 32, 51, .25);
  transition: transform .15s ease;
}
.status-switch input:checked + .status-track { background: var(--moss); }
.status-switch input:checked + .status-track::after { transform: translateX(1.15rem); }
.status-text {
  min-width: 4.4rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.status-switch input:checked ~ .status-text { color: var(--moss); }
.contact-filters { margin-bottom: .6rem; }
.nm-link { color: inherit; text-decoration: none; }
.nm-link:hover { text-decoration: underline; }
.person-back { margin: 0 0 .6rem; }
.person-line { margin: .2rem 0; }
.person-desk .contact-table label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: 12px;
  font-weight: 600;
}
.person-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: .75rem 1rem;
}
.person-form label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: 12px;
  font-weight: 600;
}
.person-form input,
.person-form select,
.contact-phone-in,
.contact-email-in {
  width: 100%;
  padding: .5rem .65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.contact-phone-in, .contact-email-in { min-width: 9rem; }
.level-sessions {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.level-sessions li {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.class-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.class-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.class-card.is-in { border-color: #7a93b3; background: #eef3f8; }
.class-card.is-out { opacity: .88; }
.class-meta, .class-role { font-size: 13px; color: var(--muted); font-weight: 600; }
.class-card.timing-current.is-in { border-color: var(--leaf); }
@media (max-width: 860px) {
  .app, .app.nav-hidden { grid-template-columns: 1fr; }
  .main { padding: .7rem .75rem 2.2rem; }
  .yearbook-pic { max-width: none; }
  .paper-bar { padding: .55rem .15rem; }
  .paper-bar .btn-hero { padding: .55rem 1.1rem; }
  .nav-bar {
    display: flex;
    align-items: center;
    margin: 0 0 .65rem;
  }
  .nav-show {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    font-size: 14px;
    padding: .4rem .75rem;
  }
  .nav {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(16.5rem, 86vw);
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1.1rem 1rem 1.4rem;
    transform: translateX(-110%);
    visibility: visible !important;
    overflow: auto;
    transition: transform .2s ease;
  }
  .app.nav-hidden .nav { overflow: auto; padding: 1.1rem 1rem 1.4rem; border-right: 0; }
  .app.nav-open .nav { transform: none; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(26, 36, 28, .4);
  }
  .nav-backdrop[hidden] { display: none; }
  .desk-hint { display: none; }
  .board-rooms { grid-template-columns: 1fr; }
  .board-tools { grid-template-columns: 1fr; }
  .board-tools .print-dock { justify-content: flex-start; }
  .find-wrap, .guest-tag { flex: 1 1 100%; }
  .board-sec.is-in .live:not(.guest-hold),
  .board-sec.is-wait .live { column-width: 10.75rem; }
  .board { padding: 0 0 1.4rem; }
  .board-top {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: .55rem;
    margin-bottom: .7rem;
  }
  .board-top .qr-head { grid-column: 1; grid-row: 1; justify-content: center; }
  .board-top .qr-wrap {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 13.5rem);
    margin: 0 auto;
    flex: none;
    padding: .45rem .45rem .4rem;
  }
  .board-top .meta-head { grid-column: 1; grid-row: 3; height: auto; min-height: 0; flex-wrap: wrap; }
  .board-top .board-meta { grid-column: 1; grid-row: 4; }
  .board-top .note-head { grid-column: 1; grid-row: 5; }
  .board-top .note-body { grid-column: 1; grid-row: 6; }
  .note-body.has-files { grid-template-columns: 1fr; }
  #qr { width: 156px; height: 156px; }
  #qr img, #qr canvas { width: 156px !important; height: 156px !important; }
  .board-top h1,
  .board-top .night-title {
    font-size: 1.05rem;
    line-height: 1.25;
    max-width: none;
  }
  .week-strip {
    max-width: none;
    gap: .2rem;
    margin: .4rem 0 .1rem;
  }
  .week-chip {
    min-width: 0;
    padding: .14rem .1rem;
    border-radius: 7px;
  }
  .week-chip span { display: none; }
  .tally { font-size: .95rem; margin: .25rem 0 0; }
  .tally strong { font-size: 1.15rem; }
  .tally-box { font-size: 13px; }
  .find-wrap { max-width: none; margin: 0; }
  .board .group-cols { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .desk-live li { grid-template-columns: minmax(0, 1fr) auto; }
  .row-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

.welcome-ask {
  margin: 1.1rem 0 .7rem;
  font-weight: 600;
}
.welcome-photo {
  margin: 0 0 1rem;
  padding: 1.1rem;
  border: 2px dashed var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.cam-stage {
  display: flex;
  justify-content: center;
  margin: 0 0 .7rem;
}
.cam-live, .photo-preview {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  background: #142033;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
}
.cam-live { transform: scaleX(-1); }
.cam-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .7rem 0;
}
.cam-actions .btn-hero { width: 100%; }
.file-fallback {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: .85rem 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
.file-fallback input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  font-size: 0;
  cursor: pointer;
}
.later-link {
  display: inline-block;
  margin-top: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.photo-cta {
  font-weight: 600;
  color: var(--moss);
  margin: 0;
}
.photo-preview {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
}
.comms-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0 0 1.1rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
}
.comms-row input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; }
.face {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #c5ced8;
  flex: none;
}
.face-lg { width: 88px; height: 88px; }
.face-empty { display: inline-block; }
.face-later { box-shadow: 0 0 0 2px var(--gold); }
.need-photo {
  display: inline-block;
  margin-left: .35rem;
  padding: .08rem .4rem;
  border-radius: 999px;
  background: #f4e7c2;
  color: #6a5318;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.contact-table td.nm {
  vertical-align: middle;
}
.nm-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  min-width: 0;
}
.nm-inner .nm-link {
  min-width: 0;
  overflow-wrap: anywhere;
}
.person-face {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  margin: 0 0 1rem;
}
.photo-upload {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  align-items: flex-end;
  margin-top: .4rem;
}
.photo-upload .btn-hero { width: auto; padding: .55rem 1rem; font-size: 14px; }
.g-card {
  grid-template-columns: auto 1fr auto;
}

@media (max-width: 860px) {
  .contact-desk .desk-search { max-width: none; }
  .contact-filters {
    flex-wrap: wrap;
    overflow: visible;
    margin: 0;
  }
  .contact-filters .chip {
    min-height: 2.4rem;
    padding: .45rem .8rem;
  }
}
.note-file.is-audio,
.note-file.is-video {
  flex-direction: column;
  max-width: min(100%, 22rem);
}
.note-file-name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.note-file audio,
.note-file video,
.night-media audio,
.night-media video {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}
.note-file video,
.night-media video {
  max-height: 16rem;
  background: #0c1624;
}
.note-media-links {
  display: grid;
  gap: .55rem;
  margin-top: .55rem;
  min-width: 0;
  width: 100%;
}
.note-media-links label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.note-media-links input {
  min-height: 2.75rem;
  padding: .35rem .55rem;
  font-size: 13px;
}
.audio-drop {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  padding: .7rem .75rem;
  border: 1.5px dashed #c5ced8;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
}
.audio-drop.is-over,
.audio-drop.has-audio {
  border-color: #2d4f7a;
  background: #eef4fb;
}
.audio-drop-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.audio-drop-body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 2.75rem;
}
.audio-drop-hint,
.audio-drop-name {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}
.audio-drop-hint { color: var(--muted); }
.audio-drop-body audio {
  width: 100%;
  max-width: 100%;
}
.audio-drop-clear {
  min-height: 44px;
  padding: 0 .9rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--moss);
  font: inherit;
  font-weight: 600;
  align-self: flex-start;
}
.audio-wave {
  width: 100%;
  margin-top: .2rem;
  user-select: none;
}
.audio-wave-status {
  margin: 0 0 .35rem;
  font-size: 12px;
  color: var(--muted);
}
.audio-wave-stage {
  position: relative;
  width: 100%;
  min-height: 5.5rem;
  touch-action: none;
}
.audio-wave-canvas {
  display: block;
  width: 100%;
  height: 5.5rem;
  border-radius: 10px;
  background: #d7e2ee;
}
.audio-wave-sel {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(45, 79, 122, .22);
  pointer-events: none;
}
.audio-wave-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: #c4a35a;
  pointer-events: none;
}
.audio-wave-h {
  position: absolute;
  top: -4px;
  z-index: 2;
  width: 44px;
  height: calc(5.5rem + 8px);
  margin-left: -22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: ew-resize;
}
.audio-wave-h::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 4px;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  border-radius: 4px;
  background: #0c1624;
}
.audio-wave-h.is-start::after { background: #1e3a5f; }
.audio-wave-h.is-end::after { background: #a8884a; }
.audio-trim-times {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .45rem;
}
.audio-trim-times label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.audio-trim-times input {
  min-height: 44px;
  padding: .35rem .55rem;
  font-size: 16px;
}
.audio-trim-acts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.audio-trim-acts .btn-hero {
  min-height: 44px;
  flex: 1 1 8rem;
}
.media-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #0c1624;
}
.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.bare.is-night,
body.bare:has(.pray-home) {
  background: #0c1624;
  color: #f3efe6;
}
.night-home {
  width: min(100%, 26rem);
  margin: 0 auto;
  padding: .7rem 1rem 2.2rem;
  overflow: visible;
}
.night-home.has-zoom {
  padding-bottom: 5.4rem;
}
.night-brand {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: .4rem;
  margin: .1rem 0 .2rem;
}
.night-mark {
  display: block;
  grid-column: 2;
  width: min(100%, 16rem);
  height: auto;
  margin: 0 auto;
}
.night-account { position: relative; justify-self: end; }
.night-account-btn {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 999px;
  overflow: hidden;
  background: #122033;
  cursor: pointer;
  list-style: none;
}
.night-account-btn::-webkit-details-marker { display: none; }
.night-account-btn .face,
.night-account-btn .face-empty {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.night-account-sheet {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 8;
  width: min(calc(100vw - 2rem), 20rem);
  padding: .7rem;
  background: #122033;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.night-account-menu {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.night-account-menu button,
.night-account-menu a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: #0c1624;
  color: #f3efe6;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.night-account-form .pray-field { color: #c5d0dc; }
.night-account-form input {
  width: 100%;
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: #0c1624;
  color: #f3efe6;
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
}
.night-account[open] .night-account-sheet { display: block; }
.night-who {
  text-align: center;
  margin: 0 0 .75rem;
  font-size: 12px;
  color: #c5d0dc;
  padding: 0 .6rem;
  overflow-wrap: anywhere;
}
.night-flash {
  margin: 0 0 .7rem;
  padding: .65rem .75rem;
  border-radius: .75rem;
  background: #18263a;
  border: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}
.night-flash.is-ok { border-color: rgba(196,163,90,.45); color: #f3efe6; }
.night-kicker {
  margin: 0 0 .4rem;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c4a35a;
  font-weight: 600;
}
.night-beads {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .35rem .2rem;
  margin: 0 0 .55rem;
}
.night-bead {
  min-height: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .14rem;
  text-decoration: none;
  color: inherit;
}
.night-bead i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.28);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: #c5d0dc;
}
.night-bead small {
  font-size: 8px;
  color: #c5d0dc;
}
.night-bead.was i { background: #2f5d8a; border-color: #2f5d8a; color: #fff; }
.night-bead.miss i { background: #3a2f1a; border-color: #c4a35a; color: #c4a35a; }
.night-bead.next i { background: #c4a35a; border-color: #c4a35a; color: #1a1408; }
.night-bead.on i { box-shadow: 0 0 0 2px #f3efe6; }
.night-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .4rem;
  margin: 0 0 .7rem;
  align-items: center;
}
.night-arrow {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: #f3efe6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.night-arrow.is-now { color: #c4a35a; }
.night-arrow.is-off { opacity: .35; }
.night-card {
  background: #18263a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .95rem;
  padding: .85rem .85rem 1rem;
}
.night-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin: 0 0 .45rem;
}
.night-card-top .night-kicker { margin: 0; }
.night-attend {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 1.85rem;
  padding: 0 .6rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  color: #f3efe6;
}
.night-attend.is-dot {
  width: 1.85rem;
  height: 1.85rem;
  min-width: 1.85rem;
  padding: 0;
}
.night-attend.is-in { background: #2f5d8a; border-color: #2f5d8a; }
.night-attend.is-makeup { background: #3a2f1a; border-color: #c4a35a; color: #c4a35a; }
.night-attend.is-missed { color: #c4a35a; border-color: #c4a35a; }
.night-attend.is-upcoming { opacity: .7; }
.night-native { width: 100%; }
.night-card h1 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 .25rem;
  color: #f3efe6;
}
.night-meta,
.night-card .teacher-body,
.night-check p,
.night-hint {
  color: #c5d0dc;
}
.night-card .teacher-body {
  margin: .55rem 0 .7rem;
  font-size: 1.02rem;
}
.night-check {
  margin: .55rem 0 .7rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.night-media { margin-top: .35rem; }
.night-media .night-kicker { margin-top: .65rem; }
.night-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin-top: .85rem;
  align-items: start;
}
.night-acts .btn-hero,
.night-listen > summary.btn-hero {
  min-height: 2.75rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.night-listen > summary.btn-hero::-webkit-details-marker { display: none; }
.night-listen { min-width: 0; }
.night-listen[open],
.night-read[open] { grid-column: 1 / -1; display: grid; gap: .45rem; }
.night-listen[open] > summary.btn-hero { justify-self: end; width: auto; min-width: 42%; }
.night-read > summary.btn-hero {
  min-height: 2.75rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
}
.night-read > summary.btn-hero::-webkit-details-marker { display: none; }
.night-player { min-width: 0; }
.night-frame {
  min-width: 0;
  border-radius: .75rem;
  overflow: hidden;
  background: #101b2b;
  border: 1px solid rgba(255,255,255,.1);
}
.night-frame.is-doc {
  height: min(70vh, 34rem);
  min-height: 18rem;
}
.night-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.night-graphic { margin: .35rem 0 0; }
.night-graphic > summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
}
.night-graphic > summary::-webkit-details-marker { display: none; }
.night-graphic > summary img {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: contain;
  background: #101b2b;
  border-radius: .75rem;
}
.night-graphic[open] > summary img { display: none; }
.night-frame.is-pic img {
  display: block;
  width: 100%;
  height: auto;
}
.night-acts.is-one { grid-template-columns: 1fr; }
.night-acts.is-one .night-listen > summary.btn-hero,
.night-acts.is-one > .btn-hero { justify-self: end; width: min(100%, 11rem); }
.media-frame.is-drive { padding-top: 42%; min-height: 8rem; }
.night-home .note-files {
  margin-top: .55rem;
}
.night-home .note-file {
  max-width: 100%;
}
.night-home .note-file-link,
.night-home .btn-hero {
  color: inherit;
}
.night-home .note-file-link {
  background: #101b2b;
  border-color: rgba(255,255,255,.14);
  color: #f3efe6;
  max-width: 100%;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}
.night-zoom {
  position: sticky;
  bottom: .55rem;
  z-index: 8;
  margin-top: .85rem;
  padding: 0;
  background: transparent;
}
.night-zoom .btn-hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.night-readme {
  max-height: min(68vh, 36rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #122033;
  color: #e8eef5;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: 1rem .95rem 1.35rem;
  font-size: 1.02rem;
  line-height: 1.55;
}
.night-readme h2 {
  margin: 0 0 .2rem;
  color: #c4a35a;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
}
.night-readme .byline {
  margin: 0 0 .85rem;
  color: #c5d0dc;
  font-size: .92rem;
}
.night-readme h3 {
  margin: 1rem 0 .35rem;
  color: #f3efe6;
  font-size: 1.02rem;
  line-height: 1.3;
}
.night-readme p {
  margin: 0 0 .7rem;
}
.night-readme ul {
  margin: 0 0 .8rem;
  padding: 0 0 0 1.1rem;
}
.night-readme li {
  margin: 0 0 .45rem;
}
.night-readme .blank {
  display: inline-block;
  min-width: 4.4rem;
  height: .7em;
  margin: 0 .12rem;
  border-bottom: 1.5px solid #c4a35a;
  vertical-align: baseline;
}
.night-home .btn-hero.is-wait {
  background: #2a3544;
  color: #8b97a6;
  cursor: not-allowed;
  pointer-events: none;
}
.night-makeup { margin-top: .85rem; }
.night-hint { margin: .4rem 0 0; font-size: 12px; }
.night-zoom-hint {
  text-align: center;
  width: 100%;
  color: #c4a35a;
}
.night-pic {
  margin-top: .85rem;
  padding: .75rem .85rem;
  background: #18263a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .95rem;
}
.night-pic summary { color: #c5d0dc; }
.night-home .btn-hero {
  background: #c4a35a;
  color: #1a1408;
  border: 0;
}
.night-home .btn-hero.ghost-hero,
.night-home a.btn-hero.ghost-hero {
  background: transparent;
  color: #f3efe6;
  border: 1px solid rgba(255,255,255,.2);
}
.night-pray-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 1rem 0 0;
  text-decoration: none;
}
.pray-home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-bottom: .45rem;
  box-sizing: border-box;
}
.pray-home h1 {
  font-family: Fraunces, Georgia, serif;
  margin: .1rem 0 .25rem;
  font-size: 1.85rem;
}
.pray-home .night-who { margin-bottom: .45rem; font-size: 14px; }
.pray-door {
  min-height: 100svh;
  justify-content: center;
  padding-top: 8vh;
  padding-bottom: 3rem;
}
.pray-door .pray-mark {
  width: min(72%, 16rem);
  margin-bottom: .85rem;
}
.pray-door-form {
  margin-top: .85rem;
}
.pray-door-form label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: #c5d0dc;
}
.pray-door-form input {
  width: 100%;
  min-height: 2.75rem;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.16);
  background: #122033;
  color: #f3efe6;
}
.pray-door .btn-hero { margin-top: .2rem; }
.nojs-pray { display: none; }
.pray-id .hint { color: #c5d0dc; }
.pray-id .err { color: #f3c1c1; }
.pray-id .name-hit {
  background: #122033;
  color: #f3efe6;
  border-color: rgba(255,255,255,.16);
}
.pray-id .name-hit small { color: #c4a35a; }
.pray-id .choice-pair { margin-top: .85rem; }
.pray-id .btn-hero.ghost-hero {
  background: transparent;
  color: #f3efe6;
  border: 1px solid rgba(255,255,255,.22);
}
.pray-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .7rem;
  margin-top: .35rem;
  min-height: 0;
}
.pray-field,
.pray-urgent legend {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 15px;
  font-weight: 600;
  color: #c5d0dc;
}
.pray-field textarea {
  width: 100%;
  min-height: 2.75rem;
  max-height: 12rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: #122033;
  color: #f3efe6;
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
}
.pray-done {
  min-height: 100svh;
  justify-content: center;
  text-align: center;
}
.pray-submit {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-top: .35rem;
  padding: .55rem 0 calc(.45rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(12, 22, 36, 0), #0c1624 .4rem);
}
.pray-urgent {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.pray-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.pray-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: #122033;
  color: #f3efe6;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.pray-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pray-choice:has(input:checked) {
  border-color: #c4a35a;
  background: #2a2416;
  color: #c4a35a;
}
.pray-choice:has(input:focus-visible) {
  outline: 2px solid #c4a35a;
  outline-offset: 2px;
}
.pray-form .btn-hero {
  width: 100%;
  min-height: 3.2rem;
  font-size: 1.15rem;
}
.pray-back {
  display: block;
  text-align: center;
  margin: .15rem 0 0;
  padding: .7rem .4rem;
  color: #c5d0dc;
  text-decoration: none;
  font-weight: 600;
}

.pray-skin {
  background: #0c1624;
  color: #f3efe6;
  margin: -1.6rem -1.8rem -3rem;
  padding: 1rem 1.2rem 2.2rem;
  min-height: calc(100vh - 2rem);
}
.pray-mark {
  display: block;
  width: min(72%, 20rem);
  height: auto;
  margin: 0 auto .55rem;
}
html.is-phone .pray-mark { width: min(56%, 12rem); }
@media (max-width: 860px) {
  .pray-mark { width: min(56%, 12rem); }
}
.pray-skin .page-head h1,
.pray-skin .page-head .lede-sm { color: #f3efe6; }
.pray-skin .eyebrow { color: #c4a35a; }
.pray-skin .flash { background: #18263a; color: #f3efe6; border-color: rgba(255,255,255,.14); }
.pray-skin .btn-hero.ghost-hero,
.pray-only-bar .btn-hero.ghost-hero {
  background: transparent;
  color: #f3efe6;
  border: 1px solid rgba(255,255,255,.22);
}
.pray-tools {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: none;
}
.pray-tools .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2.75rem;
  padding: 0 .95rem;
  line-height: 1.1;
}
.pray-dense-btn { display: none; }
.pray-reach-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  margin-top: .2rem;
  padding: .3rem .75rem;
  border: 1px solid #c4a35a;
  border-radius: 999px;
  background: transparent;
  color: #c4a35a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.pray-set .pray-reach-via {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.pray-set .pray-choice {
  flex-direction: column;
  gap: .15rem;
  min-height: 3.4rem;
  padding: .45rem .5rem;
  background: #f4f6f9;
  color: var(--ink);
  border-color: var(--line);
  text-align: center;
}
.pray-set .pray-choice small {
  display: block;
  max-width: 100%;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.pray-set .pray-choice:has(input:checked) {
  border-color: #c4a35a;
  background: #2a2416;
  color: #c4a35a;
}
.pray-set .pray-choice:has(input:checked) small { color: #d8c392; }
.pray-set .pray-choice.is-off {
  opacity: .4;
  pointer-events: none;
}
.pray-reach-box { z-index: 200; }
.pray-gear {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: #122033;
  color: #f3efe6;
  cursor: pointer;
}
.pray-gear svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.pray-only-acts {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pray-only-acts .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2.5rem;
  padding: 0 .8rem;
  font-size: 13px;
  line-height: 1.1;
}
.pray-only-acts a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 .55rem;
}
body.prayer-only .pray-page-head .pray-tools { display: none; }

.pray-set-box {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 4.2rem .8rem 1rem;
  background: rgba(20, 32, 51, .35);
  pointer-events: auto;
}
.pray-set-box[hidden],
.pray-show[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.pray-set-box .pray-set { margin: 0; pointer-events: auto; }
.pray-set-acts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.pray-set-acts .btn-hero { max-width: none; }

.pray-show {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 220;
  display: flex;
  flex-direction: column;
  background: #0c1624;
  color: #f3efe6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow: hidden;
}
.pray-show[hidden] { display: none; }
html.pray-show-on,
html.pray-show-on body {
  overflow: hidden;
  overscroll-behavior: none;
}
html.pray-show-on .ipad-bar { visibility: hidden; }
.pray-show,
.pray-show * {
  letter-spacing: 0;
  word-spacing: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.pray-show-bar,
.pray-show-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-shrink: 0;
  background: #122033;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pray-show-bar {
  flex-wrap: wrap;
  padding: max(.55rem, env(safe-area-inset-top, 0px)) .75rem .55rem;
}
.pray-show-nav {
  display: flex;
  flex-wrap: nowrap;
  border-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom, 0px));
}
.pray-show .btn-hero.ghost-hero {
  background: transparent;
  color: #f3efe6;
  border: 1px solid rgba(255,255,255,.22);
}
.pray-show .eyebrow {
  color: #c4a35a;
  letter-spacing: .08em;
  line-height: 1.35;
  margin: 0 0 .4rem;
}
.pray-show-bar .btn-hero,
.pray-show-nav .btn-hero {
  width: auto;
  min-height: 2.75rem;
  padding: .45rem .45rem;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.pray-show-nav .btn-hero {
  flex: 1 1 0;
  min-width: 0;
}
.pray-show-bar .btn-hero {
  width: auto;
  flex: 0 1 auto;
}
.pray-show-count {
  margin: 0;
  font-weight: 700;
  color: #c5d0dc;
  white-space: nowrap;
  line-height: 1.3;
}
.pray-show-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: .9rem 1rem 1.1rem;
  box-sizing: border-box;
}
.pray-show-face-wrap {
  flex: 0 0 auto;
}
.pray-show-face-wrap .face,
.pray-show-face-wrap .face-empty {
  display: block;
  width: min(38vw, 8.5rem);
  height: min(38vw, 8.5rem);
  border-radius: 50%;
  object-fit: cover;
}
.pray-show-copy {
  width: min(100%, 40rem);
  text-align: center;
  min-width: 0;
}
.pray-show-copy h2 {
  margin: .1rem 0 .5rem;
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: none;
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  line-height: 1.25;
  color: #f3efe6;
}
.pray-show-need {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.02rem, 3.6vw, 1.2rem);
  line-height: 1.5;
  color: #f3efe6;
}
.pray-show-praise {
  margin: .7rem 0 0;
  font-family: Outfit, system-ui, sans-serif;
  line-height: 1.45;
  color: #c5d0dc;
}
@media (min-width: 861px) {
  .pray-show-bar {
    padding: .7rem 1.2rem;
  }
  .pray-show-nav {
    padding: .7rem 1.2rem;
  }
  .pray-show-bar .btn-hero,
  .pray-show-nav .btn-hero {
    min-width: 8.5rem;
    padding: .45rem 1rem;
    font-size: 15px;
  }
  .pray-show-nav .btn-hero { flex: 0 1 auto; }
  .pray-show-stage {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    padding: 2rem 2.4rem;
  }
  .pray-show-face-wrap .face,
  .pray-show-face-wrap .face-empty {
    width: min(28vw, 15rem);
    height: min(28vw, 15rem);
  }
  .pray-show-copy { text-align: left; }
  .pray-show-copy h2 { font-size: clamp(1.8rem, 2.4vw, 2.35rem); }
  .pray-show-need { font-size: clamp(1.15rem, 1.4vw, 1.4rem); }
  .pray-set-box { padding: 5rem 1.4rem 1rem; }
  .pray-set-acts { flex-direction: row; }
  .pray-set-acts .btn-hero { width: auto; min-width: 8.5rem; }
}

.pray-desk {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pray-grid {
  display: grid;
  grid-template-columns: 15.5rem 7.6rem minmax(14rem, 1fr) 16rem 8.2rem;
  align-items: stretch;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.pray-head {
  padding: .7rem .85rem;
  background: #f4f6f9;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pray-row { display: contents; }
.pray-row > * {
  padding: .85rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.pray-row:last-of-type > * { border-bottom: 0; }
.pray-row.is-urgent .pray-c-who { box-shadow: inset 3px 0 0 #c4a35a; }
.pray-row.is-open-card { box-shadow: inset 3px 0 0 #c4a35a; }
.pray-row.is-done > * { background: #fafbfc; }
.pray-pane[hidden] { display: none; }
.pray-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  margin: 0;
  padding: 1.1rem .95rem;
  color: #c5d0dc;
  background: #122033;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.pray-empty strong {
  font-size: 1.05rem;
  color: #f3efe6;
  line-height: 1.3;
}
.pray-empty p { margin: 0; max-width: 28rem; }
.pray-empty .btn-hero {
  width: auto;
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .55rem 1.1rem;
}
.pray-c-who {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: .6rem;
}
.pray-c-who .face { width: 40px; height: 40px; grid-row: 1 / span 2; }
.pray-who-copy { min-width: 0; }
.pray-c-who strong { display: block; font-size: 14px; line-height: 1.25; }
.pray-c-who span { display: block; margin-top: .15rem; font-size: 12px; color: var(--muted); }
.pray-c-who .pray-reach-open { grid-column: 2; justify-self: start; }
.pray-contact { display: none; }
.pray-c-when {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.pray-c-when b { display: block; color: var(--ink); font-weight: 650; }
.pray-c-when span { display: block; }
.pray-c-req p { margin: 0 0 .4rem; line-height: 1.45; }
.pray-c-req p:last-child { margin-bottom: 0; }
.pray-contact { color: var(--muted); font-size: 12px; }
.pray-thread {
  list-style: none;
  margin: .55rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.pray-thread:empty { display: none; }
.pray-thread li {
  margin: 0;
  padding: .45rem .55rem;
  background: #f4f6f9;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
}
.pray-thread b {
  display: block;
  color: #5c6b7c;
  font-size: 11px;
  font-weight: 700;
}
.pray-thread span { display: block; margin-top: .2rem; color: #142033; }
.pray-reach-dest {
  margin: 0;
  color: #5c6b7c;
  font-size: 12px;
  line-height: 1.4;
}
.pray-reach-dest span { display: block; }
.pray-reach-acts { flex-direction: column; }
.pray-note {
  display: block;
  width: 100%;
  min-height: 4.6rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
}
.pray-c-ans {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
}
.pray-hide,
.pray-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: .3rem .55rem;
  border: 0;
  background: none;
  color: #8a5a3a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pray-delete { color: #9a3b3b; }
.pray-tools .btn-hero.is-on,
.pray-only-acts .btn-hero.is-on {
  border-color: #c4a35a;
  color: #c4a35a;
}
.pray-switch { min-height: 2.75rem; }
.pray-switch .status-track { width: 2.9rem; height: 1.65rem; }
.pray-switch .status-track::after { width: 1.3rem; height: 1.3rem; }
.pray-switch input:checked + .status-track::after { transform: translateX(1.25rem); }

.pray-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  width: 100%;
  max-width: 36rem;
  padding: 1rem 1.1rem 1.15rem;
  background: #fff;
  color: #142033;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-sizing: border-box;
}
.pray-set h2,
.pray-set .lede-sm,
.pray-set-row label { color: #142033; }
.pray-set h2 { margin: 0; font-size: 1.1rem; }
.pray-set .lede-sm { color: #3d4a5c; }
.pray-set-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
}
.pray-set-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.pray-set-row textarea,
.pray-set-row input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
}
.pray-set-row textarea { min-height: 7.5rem; resize: vertical; }
.pray-set-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.pray-set .btn-hero { width: 100%; max-width: 14rem; min-height: 2.75rem; }

@media (max-width: 860px) {
  .pray-head { display: none; }
  .pray-grid {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .pray-row {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .9rem .95rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .pray-row > * {
    padding: 0;
    border: 0;
  }
  .pray-row.is-urgent { box-shadow: inset 3px 0 0 #c4a35a; }
  .pray-set { max-width: none; }
  .pray-set .btn-hero { max-width: none; }
  .pray-page-head { flex-direction: column; align-items: stretch; }
  .pray-tools { justify-content: flex-end; }
  .pray-set-box {
    align-items: flex-end;
    justify-content: center;
    padding: .6rem;
  }
  .pray-set-box .pray-set { width: 100%; max-width: none; }
}

html.is-phone .pray-head { display: none; }
html.is-phone .pray-grid {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: transparent;
  border: 0;
  overflow: visible;
}
html.is-phone .pray-row {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .9rem .95rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
html.is-phone .pray-row > * { padding: 0; border: 0; }
html.is-phone .pray-set { max-width: none; }
html.is-phone .pray-set .btn-hero { max-width: none; }
@media (orientation: portrait) {
  html.is-ipad .pray-head { display: none; }
  html.is-ipad .pray-grid {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    background: transparent;
    border: 0;
    overflow: visible;
  }
  html.is-ipad .pray-row {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .9rem .95rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  html.is-ipad .pray-row > * { padding: 0; border: 0; }
  html.is-ipad .pray-set { max-width: none; }
}

body.prayer-only {
  background: #0c1624;
  color: #f3efe6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.pray-only-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .7rem 1rem;
  background: #122033;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #f3efe6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.pray-only-bar strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.25;
}
.pray-only-bar a { color: #c4a35a; }
.pray-only-desk-tools {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pray-desk-back {
  width: auto;
  min-height: 2.75rem;
  padding: 0 .8rem;
  font-size: 13px;
}
.pray-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #f3efe6;
  text-decoration: none;
}
.pray-out svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pray-only-main { padding: .7rem 1rem 2rem; max-width: 78rem; margin: 0 auto; }
.pray-dock { display: none; }
html.is-phone .pray-dock,
html.is-ipad .pray-dock {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  margin: 0;
  padding: .28rem .2rem calc(.28rem + env(safe-area-inset-bottom, 0px));
  background: #122033;
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -8px 24px rgba(6, 12, 20, .35);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.is-desk .pray-dock {
  bottom: 3.55rem;
  padding-bottom: .28rem;
}
body.prayer-only .pray-dock { bottom: 0; padding-bottom: calc(.28rem + env(safe-area-inset-bottom, 0px)); }
.pray-dock-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 3.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  padding: .2rem .1rem;
  border: 0;
  background: none;
  border-radius: 0;
  color: #9aa8b8;
  text-decoration: none;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  cursor: pointer;
}
.pray-dock-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pray-dock-btn.on,
.pray-dock-btn[aria-pressed="true"] {
  color: #f3efe6;
}
.pray-dock-btn.on svg,
.pray-dock-btn[aria-pressed="true"] svg { stroke-width: 2; }
.pray-dock-btn:disabled { opacity: .4; }
.pray-dock .pray-dense-btn,
html.is-phone .pray-dock .pray-dense-btn,
html.is-ipad .pray-dock .pray-dense-btn {
  display: flex;
  flex-direction: column;
}
html.is-phone .pray-only-desk-tools,
html.is-ipad .pray-only-desk-tools { display: none; }
html.is-phone body.prayer-only .pray-only-main,
html.is-ipad body.prayer-only .pray-only-main {
  padding-bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
}
html.is-phone .pray-page-head .pray-tools .btn-hero,
html.is-ipad .pray-page-head .pray-tools .btn-hero { display: none; }
html.is-phone .pray-skin,
html.is-ipad .pray-skin {
  padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
}
html.is-desk.is-phone .pray-skin,
html.is-desk.is-ipad .pray-skin {
  padding-bottom: calc(9.2rem + env(safe-area-inset-bottom, 0px));
}
body.prayer-only .pray-skin {
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
}
html.is-desk .pray-skin {
  margin: -.45rem -.7rem;
  padding: .85rem .85rem 5.4rem;
}
html.is-phone .pray-dense-btn { display: inline-flex; }
@media (orientation: portrait) {
  html.is-ipad .pray-dense-btn { display: inline-flex; }
}
@media (max-width: 860px) {
  .pray-dense-btn { display: inline-flex; }
}
html.is-phone .pray-desk.is-dense .pray-head,
html.is-phone .pray-desk.is-dense .pray-c-when,
html.is-phone .pray-desk.is-dense .pray-c-notes,
html.is-phone .pray-desk.is-dense .pray-c-ans,
html.is-phone .pray-desk.is-dense .pray-thread,
html.is-phone .pray-desk.is-dense .pray-who-copy span { display: none; }
html.is-phone .pray-desk.is-dense .pray-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
html.is-phone .pray-desk.is-dense .pray-row {
  display: grid;
  grid-template-columns: 36px minmax(3.2rem, 5rem) minmax(0, 1fr) 3.4rem;
  align-items: center;
  column-gap: .4rem;
  padding: .4rem .5rem;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
html.is-phone .pray-desk.is-dense .pray-row > * { padding: 0; border: 0; }
html.is-phone .pray-desk.is-dense .pray-c-who { display: contents; }
html.is-phone .pray-desk.is-dense .pray-c-who .face {
  width: 36px;
  height: 36px;
  grid-column: 1;
  grid-row: 1;
}
html.is-phone .pray-desk.is-dense .pray-who-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
html.is-phone .pray-desk.is-dense .pray-who-copy strong {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
  font-size: 13px;
}
html.is-phone .pray-desk.is-dense .pray-c-req {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}
html.is-phone .pray-desk.is-dense .pray-contact { display: none; }
html.is-phone .pray-desk.is-dense .pray-c-req p:not(.pray-contact) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}
html.is-phone .pray-desk.is-dense .pray-reach-open {
  grid-column: 4;
  grid-row: 1;
  justify-self: stretch;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 2.75rem;
  max-width: 3.4rem;
  padding: .25rem .3rem;
  background: #0c1624;
  color: #f3efe6;
  border-color: #0c1624;
  white-space: normal;
  line-height: 1.1;
  text-align: center;
}
html.is-phone .pray-desk.is-dense .pray-row:last-of-type { border-bottom: 0; }
@media (max-width: 860px) {
  .pray-desk.is-dense .pray-head,
  .pray-desk.is-dense .pray-c-when,
  .pray-desk.is-dense .pray-c-notes,
  .pray-desk.is-dense .pray-c-ans,
  .pray-desk.is-dense .pray-thread,
  .pray-desk.is-dense .pray-who-copy span { display: none; }
  .pray-desk.is-dense .pray-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  .pray-desk.is-dense .pray-row {
    display: grid;
    grid-template-columns: 36px minmax(3.2rem, 5rem) minmax(0, 1fr) 3.4rem;
    align-items: center;
    column-gap: .4rem;
    padding: .4rem .5rem;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    cursor: pointer;
  }
  .pray-desk.is-dense .pray-row > * { padding: 0; border: 0; }
  .pray-desk.is-dense .pray-c-who { display: contents; }
  .pray-desk.is-dense .pray-c-who .face {
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1;
  }
  .pray-desk.is-dense .pray-who-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .pray-desk.is-dense .pray-who-copy strong {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
    font-size: 13px;
  }
  .pray-desk.is-dense .pray-c-req {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
  }
  .pray-desk.is-dense .pray-contact { display: none; }
  .pray-desk.is-dense .pray-c-req p:not(.pray-contact) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
  }
  .pray-desk.is-dense .pray-reach-open {
    grid-column: 4;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 2.75rem;
    max-width: 3.4rem;
    padding: .25rem .3rem;
    background: #0c1624;
    color: #f3efe6;
    border-color: #0c1624;
    white-space: normal;
    line-height: 1.1;
    text-align: center;
  }
  .pray-desk.is-dense .pray-row:last-of-type { border-bottom: 0; }
}

.ipad-bar { display: none; }

html.is-desk .app,
html.is-desk .app.nav-hidden {
  grid-template-columns: 1fr;
}
html.is-desk .nav,
html.is-desk .nav-bar,
html.is-desk .nav-hide,
html.is-desk .nav-show,
html.is-desk .nav-backdrop {
  display: none !important;
}
html.is-desk .main {
  padding: .45rem .7rem calc(5.1rem + env(safe-area-inset-bottom, 0px));
}
html.is-desk .ipad-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  padding: .28rem .2rem calc(.28rem + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(20, 32, 51, .06);
}
html.is-desk .ipad-bar a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 3.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  padding: .2rem .1rem;
  border: 0;
  background: none;
  border-radius: 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: none;
}
html.is-desk .ipad-bar a svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.is-desk .ipad-bar a.on {
  background: none;
  color: #1a2d4a;
  box-shadow: none;
}
html.is-desk .ipad-bar a.on svg { stroke-width: 2; }
html.is-desk .board {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 0;
}
html.is-desk .board-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.4rem;
  grid-template-rows: auto auto auto;
  gap: .3rem .7rem;
  align-items: start;
  margin: 0;
  padding: .7rem .75rem .65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
html.is-desk .board-top .meta-head {
  grid-column: 1;
  grid-row: 1;
  height: auto;
  min-height: 0;
  align-items: baseline;
  gap: .45rem;
}
html.is-desk .board-top .board-meta {
  grid-column: 1;
  grid-row: 2;
  height: auto;
}
html.is-desk .board-top .qr-head {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  height: auto;
  min-height: 0;
}
html.is-desk .board-top .qr-wrap {
  grid-column: 2;
  grid-row: 2;
  height: auto;
  width: 6.4rem;
  margin: 0;
  padding: .25rem;
  border: 0;
  background: transparent;
  flex: none;
}
html.is-desk .board-top .note-head {
  grid-column: 1 / -1;
  grid-row: 3;
  height: auto;
  min-height: 2.2rem;
  flex-wrap: wrap;
  cursor: pointer;
}
html.is-desk .board-top .note-body {
  grid-column: 1 / -1;
  grid-row: 4;
  height: auto;
}
html.is-desk .class-note.is-folded .note-body { display: none; }
html.is-desk .note-head { cursor: default; }
html.is-desk .note-fold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex: none;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 .9rem 0 .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
html.is-desk .note-fold-ico {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #1a2d4a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}
html.is-desk .note-fold-ico::before { content: '▸'; }
html.is-desk .class-note:not(.is-folded) .note-fold-ico::before { content: '▾'; }
html.is-desk .board-top .night-title {
  white-space: normal;
  font-size: 1.25rem;
  max-width: none;
}
html.is-desk .week-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: start;
  gap: .2rem .28rem;
  max-width: 19rem;
  height: auto;
  flex: none;
  margin: .1rem 0 0;
}
html.is-desk .week-chip {
  width: 2.15rem;
  min-width: 2.15rem;
  height: auto;
  min-height: 2.55rem;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  gap: .12rem;
}
html.is-desk .week-chip.is-on { background: none; }
html.is-desk .week-chip .week-l { display: none; }
html.is-desk .week-chip em { display: none; }
html.is-desk .week-chip span {
  display: block;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}
html.is-desk .week-chip strong {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #f4f6f9;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
html.is-desk .week-chip.is-on strong {
  background: #c4a35a;
  border-color: #c4a35a;
  color: #1a1408;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #c4a35a;
}
html.is-desk .note-body.has-files {
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
}
html.is-desk .note-drop,
html.is-desk .teacher-note-form textarea {
  min-height: 4.2rem;
  height: auto;
}
html.is-desk .qr-head .print-qr {
  min-height: 2rem;
  height: auto;
  padding: .2rem .3rem;
  font-size: 11px;
  background: none;
  border: 0;
  color: var(--moss);
}
html.is-desk #qr { width: 88px; height: 88px; }
html.is-desk #qr img,
html.is-desk #qr canvas { width: 88px !important; height: 88px !important; }
html.is-desk .qr-wrap .qr-url { display: none; }
html.is-desk .board-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .45rem .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
html.is-desk .find-wrap,
html.is-desk .guest-tag {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
}
html.is-desk .desk-find,
html.is-desk .guest-tag input,
html.is-desk .guest-tag button {
  min-height: 2.5rem;
  height: 2.5rem;
}
html.is-desk .board-sections { gap: .55rem; }
html.is-desk .board-rooms { grid-template-columns: 1fr 1fr; }
html.is-desk .board-sec.is-room { padding: .55rem .6rem .7rem; }
html.is-desk .board .foot { display: none; }

@media (orientation: landscape) {
  html.is-desk .week-strip { max-width: 28rem; }
  html.is-desk .board-rooms { grid-template-columns: 1fr 1fr; }
}
@media (orientation: portrait) {
  html.is-desk .board-tools { flex-wrap: wrap; }
  html.is-desk .find-wrap { flex: 1 1 100%; }
  html.is-desk .guest-tag { flex: 1 1 100%; }
}

html.is-ipad .board-top {
  grid-template-columns: minmax(0, 1fr) auto 6.4rem;
  grid-template-rows: auto auto;
}
html.is-ipad .board-top .meta-head { grid-column: 1; grid-row: 1; }
html.is-ipad .board-top .qr-head { grid-column: 3; grid-row: 1; }
html.is-ipad .board-top .board-meta { grid-column: 1 / 3; grid-row: 2; }
html.is-ipad .board-top .qr-wrap { grid-column: 3; grid-row: 2; }
html.is-ipad .class-note.is-folded .note-head {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  height: auto;
  justify-content: flex-end;
}
html.is-ipad .class-note.is-folded .note-head > span,
html.is-ipad .class-note.is-folded .note-head .note-file-hint,
html.is-ipad .class-note.is-folded .note-head .note-file-pick,
html.is-ipad .class-note.is-folded .note-head #saveNoteBtn {
  display: none;
}
html.is-ipad .class-note:not(.is-folded) .note-head {
  grid-column: 1 / -1;
  grid-row: 3;
}
html.is-ipad .board-top .note-body {
  grid-column: 1 / -1;
  grid-row: 4;
}
html.is-ipad .note-fold {
  min-height: 2rem;
  padding: 0 .65rem 0 .4rem;
  font-size: 12px;
}
html.is-ipad .note-fold-ico {
  width: 1.1rem;
  height: 1.1rem;
}
html.is-ipad .week-strip {
  display: flex;
  flex-wrap: nowrap;
  max-width: none;
  width: 100%;
  justify-content: space-between;
  gap: .08rem;
  margin: 0;
}
html.is-ipad .week-chip {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
  max-width: 2.15rem;
}
html.is-ipad .board-tools {
  flex-wrap: nowrap;
}
html.is-ipad .find-wrap,
html.is-ipad .guest-tag {
  flex: 1 1 0;
}

html.is-phone .board-rooms { grid-template-columns: 1fr; }
html.is-phone .note-body.has-files { grid-template-columns: 1fr; }
html.is-phone .board-tools { flex-wrap: wrap; }
html.is-phone .find-wrap,
html.is-phone .guest-tag { flex: 1 1 100%; }
html.is-phone .week-strip {
  max-width: 19.5rem;
  gap: .22rem .32rem;
}
html.is-phone .week-chip {
  width: 2.4rem;
  min-width: 2.4rem;
  min-height: 2.75rem;
}
html.is-phone .week-chip strong {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 11px;
}
html.is-phone .ipad-bar a {
  min-height: 3.15rem;
  padding: .15rem .08rem;
  font-size: 9px;
}
html.is-phone .main { padding: .4rem .6rem calc(5.2rem + env(safe-area-inset-bottom, 0px)); }
html.is-phone .board-top {
  padding: .65rem .65rem .6rem;
  gap: .25rem .5rem;
}
@media (orientation: landscape) {
  html.is-phone .board-rooms { grid-template-columns: 1fr 1fr; }
  html.is-phone .board-tools { flex-wrap: nowrap; }
  html.is-phone .find-wrap,
  html.is-phone .guest-tag { flex: 1 1 0; }
}
