@font-face {
  font-family: "Fjalla One";
  src: url("assets/FjallaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #233e34;
  --muted: #6f7c72;
  --line: #dfe4db;
  --green: #255b43;
  --paper: #f6f7f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px "DM Sans",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  background: white;
  border: 1px solid #ccd5c9;
  border-radius: 5px;
  padding: 10px 14px;
}
button:hover {
  background: #edf2e8;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bc8d34;
  outline-offset: 3px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 4%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-left: 12px;
}
.mark {
  font-size: 25px;
  background: var(--green);
  color: #f3edce;
  border-radius: 8px;
  padding: 2px 9px;
}
#mine {
  font-size: 12px;
}
#mycount {
  padding: 2px 6px;
  background: #e9eee2;
  border-radius: 20px;
  margin-left: 6px;
}
main {
  max-width: 1600px;
  padding: 39px 4% 45px;
  margin: auto;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin: 0 0 12px;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
}
p {
  line-height: 1.6;
}
.intro p:last-child {
  color: var(--muted);
  margin: 0;
}
.demo-label {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 11px;
  white-space: nowrap;
}
.sheet {
  background: white;
  border: 1px solid #d1dacb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px #28412006;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  padding: 9px 12px;
  font-size: 12px;
  background: none;
}
.tabs button.active {
  background: var(--green);
  color: white;
}
.filters {
  display: flex;
  align-items: center;
  gap: 16px;
}
select,
input {
  border: 1px solid #cbd5c5;
  border-radius: 4px;
  padding: 10px;
  background: white;
  color: var(--ink);
}
.filters select {
  font-size: 12px;
  padding: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.check input {
  accent-color: var(--green);
}
.sheet-caption {
  background: #fafbf7;
  padding: 10px 19px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.lock {
  color: var(--green);
  margin-right: 5px;
}
.table-wrap {
  overflow: auto;
  max-height: 650px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1040px;
  text-align: left;
}
th {
  position: sticky;
  top: 0;
  background: #ecf0e7;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid #ced7c6;
  font-weight: 600;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid #e6eadf;
  padding: 18px 16px;
  font-size: 12px;
  vertical-align: middle;
}
th,
td {
  border-right: 1px solid #edf0e8;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcf6;
}
.number {
  width: 40px;
  text-align: center;
  color: #97a08f;
  font-size: 10px;
  padding: 12px;
}
.day {
  white-space: nowrap;
  width: 112px;
  font-weight: 500;
}
.day small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
  font-weight: 400;
}
.job {
  font-weight: 600;
  min-width: 205px;
}
.job small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}
.time {
  white-space: nowrap;
  font-size: 11px;
}
.coverage {
  min-width: 160px;
}
.coverage strong {
  font-weight: 600;
}
.coverage small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: #967030;
}
.coverage.covered small {
  color: #3f6b3b;
}
.track {
  height: 4px;
  background: #e8ecdf;
  border-radius: 4px;
  margin-top: 8px;
  width: 115px;
  overflow: hidden;
}
.track span {
  display: block;
  height: 100%;
  background: #b58c43;
}
.covered .track span {
  background: #6b8f58;
}
.people {
  min-width: 220px;
  max-width: 290px;
}
.people button {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  font-size: 11px;
  line-height: 1.7;
  color: #4c6652;
}
.people button:hover {
  text-decoration: underline;
}
.people .empty {
  color: var(--muted);
  font-size: 11px;
}
.join {
  font-size: 11px;
  white-space: nowrap;
  background: #f1f5eb;
  border-color: #c9d7bf;
  color: var(--green);
  padding: 8px 12px;
}
.sheet-bottom {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 5px 1px 12px;
}
.amber {
  background: #b58c43;
}
.green {
  background: #6b8f58;
}
.privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 22px 4%;
  font-size: 10px;
  color: var(--muted);
}
footer button {
  border: 0;
  background: none;
  font-size: 10px;
  padding: 0;
  margin-left: 14px;
  text-decoration: underline;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink);
  width: 550px;
  max-width: calc(100% - 24px);
  max-height: 90vh;
  padding: 28px;
}
dialog::backdrop {
  background: #163b2e66;
  backdrop-filter: blur(2px);
}
.close {
  float: right;
  border: 0;
  background: none;
  padding: 0 4px;
  font-size: 19px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 8px 0 14px;
}
h3 {
  font-size: 13px;
  margin-top: 23px;
}
.sub {
  font-size: 12px;
  color: var(--muted);
}
.summary {
  background: #f0f3e9;
  border-radius: 5px;
  padding: 14px;
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}
.roster {
  max-height: 145px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 24px;
}
.person {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 12px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.person:last-child {
  border: 0;
}
.person span:last-child {
  color: var(--muted);
}
form label:not(.check) {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0 7px;
}
form input:not([type="checkbox"]),
form select {
  width: 100%;
}
.times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #19442f;
}
.full {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
}
.consent {
  padding: 14px;
  background: #f3f5ed;
  margin-top: 20px;
  align-items: flex-start;
  line-height: 1.6;
}
.consent input {
  margin-top: 4px;
}
.error {
  font-size: 12px;
  color: #a23f29;
}
.success {
  font-size: 30px;
  color: var(--green);
}
.manage-card {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.manage-card p {
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 13px 22px;
  border-radius: 7px;
  display: none;
  z-index: 10;
  font-size: 12px;
}
@media (max-width: 700px) {
  .brand small {
    display: none;
  }
  header {
    padding: 18px;
  }
  main {
    padding: 28px 16px;
  }
  .intro {
    display: block;
  }
  h1 {
    font-size: 28px;
  }
  .demo-label {
    display: inline-block;
    margin-top: 16px;
  }
  .toolbar {
    padding: 12px;
  }
  .tabs button {
    padding: 8px 9px;
  }
  .sheet-caption span:first-child {
    max-width: 250px;
  }
  .sheet-caption {
    line-height: 1.5;
  }
  .table-wrap {
    max-height: 65vh;
  }
  footer {
    flex-direction: column;
  }
  .privacy {
    text-align: left;
  }
  dialog {
    padding: 22px;
  }
  .sheet-bottom {
    gap: 12px;
    font-size: 9px;
  }
}

.job-title {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
}
.job-title:hover {
  background: none;
  text-decoration: underline;
}

/* The same roster becomes a compact day-by-day board on smaller screens. */
.day-divider,
.mobile-label {
  display: none;
}
@media (max-width: 900px) {
  .volunteer-main {
    padding: 25px 16px 32px;
  }
  .volunteer-main .intro {
    display: block;
    margin-bottom: 22px;
  }
  .volunteer-main h1 {
    font-size: 28px;
    line-height: 1.15;
    max-width: 330px;
  }
  .volunteer-main .intro p:last-child {
    font-size: 14px;
    line-height: 1.6;
  }
  .volunteer-main .demo-label {
    display: inline-block;
    margin-top: 13px;
    font-size: 10px;
  }
  .volunteer-sheet {
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .volunteer-sheet .toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--paper);
    margin: 0 -16px;
    padding: 10px 16px 13px;
    border-bottom: 1px solid #d5ddce;
    display: block;
  }
  .volunteer-sheet .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 2px 0 10px;
    overflow: visible;
  }
  .volunteer-sheet .tabs::-webkit-scrollbar {
    display: none;
  }
  .volunteer-sheet .tabs button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
  }
  .volunteer-sheet .tabs button.active {
    background: var(--green);
    border-color: var(--green);
  }
  .volunteer-sheet .filters {
    justify-content: space-between;
    gap: 12px;
  }
  .volunteer-sheet .filters select {
    min-height: 44px;
    font-size: 14px;
    max-width: 48%;
    padding: 10px 12px;
  }
  .volunteer-sheet .check {
    min-height: 44px;
    font-size: 12px;
    gap: 8px;
  }
  .volunteer-sheet .check input {
    width: 18px;
    height: 18px;
    margin: 0;
  }
  .volunteer-sheet .sheet-caption {
    background: none;
    padding: 13px 0 0;
    display: block;
    font-size: 11px;
  }
  .volunteer-sheet .sheet-caption > span:first-child {
    display: none;
  }
  .volunteer-sheet .table-wrap {
    overflow: visible;
    max-height: none;
  }
  .volunteer-sheet table,
  .volunteer-sheet tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .volunteer-sheet thead {
    display: none;
  }
  .volunteer-sheet .day-divider {
    display: block;
    margin: 24px 0 11px;
  }
  .volunteer-sheet .day-divider th {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    padding: 0;
    border: 0;
    text-transform: none;
    font-size: 16px;
    letter-spacing: -0.3px;
    font-weight: 700;
    white-space: normal;
  }
  .volunteer-sheet .day-divider th span {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0;
  }
  .volunteer-sheet .shift-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "job action" "time time" "coverage coverage";
    background: #fff;
    border: 1px solid #d6decf;
    border-radius: 8px;
    padding: 17px 16px;
    gap: 0 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px #28412003;
  }
  .volunteer-sheet td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
    max-width: none;
  }
  .volunteer-sheet .number,
  .volunteer-sheet .day {
    display: none;
  }
  .volunteer-sheet .job {
    grid-area: job;
  }
  .volunteer-sheet .job-title {
    font-size: 17px;
    line-height: 1.35;
    min-height: 30px;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  .volunteer-sheet .job small {
    font-size: 11px;
    margin-top: 3px;
  }
  .volunteer-sheet .time {
    grid-area: time;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    white-space: normal;
  }
  .volunteer-sheet .coverage {
    grid-area: coverage;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #e9ede2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .volunteer-sheet .coverage strong {
    font-size: 12px;
    font-weight: 600;
  }
  .volunteer-sheet .mobile-label {
    display: inline;
    font-weight: 400;
    color: var(--muted);
    margin-right: 4px;
  }
  .volunteer-sheet .coverage small {
    font-size: 11px;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    max-width: 135px;
    line-height: 1.4;
  }
  .volunteer-sheet .track {
    width: 100%;
    height: 5px;
    margin: 0;
    grid-column: 1/-1;
    grid-row: 2;
  }
  .volunteer-sheet .people {
    grid-area: people;
    align-self: center;
    overflow-wrap: anywhere;
  }
  .volunteer-sheet .people button {
    font-size: 13px;
    line-height: 1.6;
    min-height: 44px;
  }
  .volunteer-sheet .people .empty {
    font-size: 12px;
    line-height: 1.5;
    display: block;
  }
  .volunteer-sheet td:last-child {
    grid-area: action;
    align-self: start;
  }
  .volunteer-sheet .join {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 12px;
    background: var(--green);
    color: #fff;
    border-color: var(--green);
  }
  .volunteer-sheet .sheet-bottom {
    border: 0;
    display: block;
    padding: 10px 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
  }
  .volunteer-sheet .sheet-bottom > span:last-child {
    display: none;
  }
  .volunteer-main .privacy {
    font-size: 11px;
    text-align: left;
    line-height: 1.7;
    margin: 14px 0 0;
  }
  #modal {
    width: 550px;
    max-width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
    border-radius: 12px;
  }
  #modal input:not([type="checkbox"]),
  #modal select {
    font-size: 16px;
    min-height: 48px;
  }
  #modal .close {
    min-width: 44px;
    min-height: 44px;
    margin: -12px -9px 0 0;
    display: grid;
    place-items: center;
  }
  #modal .roster {
    max-height: 130px;
  }
  #modal .primary {
    min-height: 48px;
    font-size: 15px;
  }
  #modal .person {
    font-size: 12px;
  }
  #modal .times {
    gap: 12px;
  }
  #toast {
    width: max-content;
    max-width: calc(100% - 32px);
    text-align: center;
    bottom: 20px;
  }
}
@media (max-width: 380px) {
  .volunteer-main h1 {
    font-size: 26px;
  }
  .volunteer-sheet .shift-row {
    padding: 15px 13px;
    gap: 0 9px;
  }
  .volunteer-sheet .coverage {
    grid-template-columns: 1fr;
  }
  .volunteer-sheet .coverage small {
    max-width: none;
    grid-row: 2;
    grid-column: 1;
    text-align: left;
  }
  .volunteer-sheet .track {
    grid-row: 3;
  }
  header {
    padding: 16px;
  }
  .brand {
    font-size: 24px;
  }
  #mine {
    padding: 10px;
    font-size: 11px;
    min-height: 44px;
  }
}

@media (max-width: 900px) {
  .volunteer-sheet .people button > span:last-child {
    font-size: 11px;
    color: var(--muted);
  }
  #modal .sub {
    font-size: 13px;
  }
  #modal form label:not(.check) {
    font-size: 13px;
  }
}

/* Brent community branding: original bear artwork, white paper, familiar type. */
:root {
  --ink: #1b1e2f;
  --muted: #596258;
  --line: #dfe5db;
  --green: #36752f;
  --paper: #fff;
}
body {
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
header {
  background: #fff;
}
.brent-brand {
  gap: 14px;
  letter-spacing: 0;
  font-size: 19px;
  line-height: 1.3;
}
.brent-brand img {
  width: 88px;
  height: auto;
  flex: none;
}
.brent-brand > span {
  display: block;
  min-width: 0;
}
.brent-brand small {
  display: block;
  margin: 3px 0 0;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
h1,
h2 {
  font-family: "Fjalla One", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
.volunteer-main .intro h1 {
  font-size: 34px;
  line-height: 1.25;
  max-width: 760px;
}
.intro p:last-child {
  font-size: 15px;
}
.demo-label {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
}
.sheet {
  box-shadow: none;
  border-radius: 4px;
}
.task-options {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px;
  margin: 22px 0 0;
  min-width: 0;
}
.task-options legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0 5px;
}
.task-options legend span {
  font-weight: 400;
  color: var(--muted);
}
.task-options .sub {
  margin: 0 0 10px;
}
form .task-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.task-choice input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  accent-color: var(--green);
}
.task-choice small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .volunteer-main .intro h1 {
    font-size: 29px;
    max-width: none;
    line-height: 1.25;
  }
  .volunteer-sheet .toolbar {
    background: white;
  }
  .volunteer-sheet .shift-row {
    box-shadow: none;
    border-radius: 4px;
  }
  .volunteer-main .demo-label {
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  #mine {
    min-height: 44px;
  }
  .volunteer-sheet .filters select {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  header {
    padding: 16px;
    gap: 10px;
  }
  .brent-brand {
    font-size: 14px;
    gap: 8px;
    max-width: calc(100% - 112px);
  }
  .brent-brand img {
    width: 50px;
    height: auto;
  }
  .brent-brand small {
    display: block;
    font-size: 10px;
    line-height: 1.35;
    margin: 2px 0 0;
  }
  #mine {
    font-size: 12px;
    padding: 10px;
    white-space: nowrap;
  }
  .volunteer-main .intro h1 {
    font-size: 27px;
  }
  .task-options {
    padding: 12px;
  }
}

dialog {
  background: #fff;
}

@media (max-width: 900px) {
  .volunteer-sheet .sheet-bottom {
    display: none;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .volunteer-sheet .tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* One event heading, with PTA ownership and practical details underneath. */
.event-header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.event-bear {
  width: 72px;
  height: auto;
}
.event-heading {
  min-width: 0;
}
.event-heading h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 8px;
  max-width: 800px;
}
.event-heading p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 2px 0;
}
.volunteer-main .intro {
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .event-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 20px 16px;
  }
  .event-bear {
    width: 56px;
    grid-column: 1;
    grid-row: 1;
  }
  .event-header #mine {
    grid-column: 2;
    grid-row: 1;
  }
  .event-heading {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .event-heading h1 {
    font-size: 28px;
  }
  .event-heading p {
    font-size: 13px;
  }
}

#management select,
#management input:not([type="checkbox"]) {
  font-size: 16px;
  min-height: 44px;
}
#management button {
  min-height: 44px;
  margin: 4px 0;
}
