html {
  font-size: 14px;
}

:root {
  --site-header-offset: 4.25rem;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-offset);
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: var(--site-header-offset);
}

body > .container {
  flex: 1 0 auto;
  padding-top: 1rem;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2000;
}

.site-topbar__inner {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  min-height: 4.25rem;
  overflow: hidden;
}

.site-topbar__brand {
  flex: 0 0 auto;
  margin-right: .25rem;
  white-space: nowrap;
}

.site-topbar__links {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: .2rem;
  min-width: 0;
  overflow-x: auto;
  padding: .35rem 0;
  scrollbar-width: thin;
  white-space: nowrap;
}

.site-topbar__links .nav-link {
  border-radius: .35rem;
  padding: .35rem .65rem;
}

.site-topbar__links .nav-link.active {
  background: #eef6ed;
  border-radius: .35rem;
  box-shadow: inset 0 -2px 0 #24412d;
  color: #24412d !important;
  font-weight: 800;
}

.site-topbar__account {
  flex: 0 0 auto;
}

.site-topbar__account .navbar-nav {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: .1rem .25rem;
}

.site-topbar__account .nav-link {
  white-space: nowrap;
}

.feedback-toast {
  box-shadow: 0 .85rem 2.2rem rgba(22, 38, 30, .22);
  cursor: pointer;
  left: 50%;
  margin: 0;
  max-width: min(92vw, 640px);
  min-width: min(92vw, 320px);
  opacity: 0;
  padding-right: 2.7rem;
  position: fixed;
  text-align: center;
  top: 50%;
  transform: translate(-50%, calc(-50% + var(--feedback-toast-offset, 0rem))) scale(.96);
  transition: opacity .18s ease, transform .18s ease;
  width: max-content;
  z-index: 3000;
}

.feedback-toast--visible {
  opacity: 1;
  transform: translate(-50%, calc(-50% + var(--feedback-toast-offset, 0rem))) scale(1);
}

.feedback-toast--hiding {
  opacity: 0;
  transform: translate(-50%, calc(-50% + var(--feedback-toast-offset, 0rem))) scale(.98);
}

.feedback-toast__close {
  align-items: center;
  background: #b42318;
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 1.45rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: .55rem;
  top: .5rem;
  width: 1.45rem;
}

.feedback-toast__close:hover {
  background: #8f1d14;
}

.feedback-toast__close:focus-visible {
  outline: 3px solid rgba(180, 35, 24, .35);
  outline-offset: 2px;
}

.login-info-box-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  margin-top: -.75rem;
}

.login-info-box {
  background: #f6f7f4;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: #2f3b33;
  font-size: .9rem;
  line-height: 1.35;
  max-height: 220px;
  min-height: 140px;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: .75rem;
  white-space: pre-wrap;
  width: min(320px, 100%);
}

img {
  height: auto;
  max-width: 100%;
}

.home-hero {
  align-items: center;
  background-image: linear-gradient(90deg, rgba(20, 31, 22, .72), rgba(20, 31, 22, .28)), url('/images/isakatorp-home.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #111d13;
  color: #fff;
  display: flex;
  left: 50%;
  margin-left: -50vw;
  min-height: calc(100vh - 150px);
  min-height: calc(100svh - 150px);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
  position: relative;
  width: 100vw;
}

.home-hero__content {
  max-width: 680px;
}

.home-hero h1 {
  color: rgba(244, 247, 241, .86);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: .95;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .75), 0 1px 2px rgba(0, 0, 0, .85);
}

.home-hero p {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  margin-bottom: 1.75rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.swedish-joke-box {
  align-items: flex-start;
  background: rgba(255, 255, 255, .34);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 1.4rem 1.4rem 1.4rem .35rem;
  box-shadow: 0 .45rem 1.1rem rgba(0, 0, 0, .1);
  color: #213529;
  display: flex;
  gap: .85rem;
  justify-content: space-between;
  margin-top: 1.4rem;
  max-width: min(100%, 424px);
  padding: .8rem;
  position: relative;
}

.swedish-joke-box::after {
  border-color: rgba(255, 255, 255, .34) transparent transparent rgba(255, 255, 255, .34);
  border-style: solid;
  border-width: .65rem .55rem 0 0;
  bottom: -.6rem;
  content: "";
  height: 0;
  left: 1.1rem;
  position: absolute;
  width: 0;
}

.swedish-joke-box strong {
  display: block;
  margin-bottom: .25rem;
}

.swedish-joke-box p {
  font-size: .98rem;
  line-height: 1.35;
  margin: 0;
  text-shadow: none;
}

.swedish-joke-box .btn {
  flex: 0 0 auto;
  font-weight: 700;
  opacity: .76;
  white-space: nowrap;
}

.information-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.number-stepper {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
}

.number-stepper__input {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.number-stepper__input::-webkit-inner-spin-button,
.number-stepper__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-stepper__buttons {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}

.number-stepper__button {
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #ced4da;
  color: #212529;
  display: inline-flex;
  font-size: .75rem;
  justify-content: center;
  line-height: 1;
  min-height: 1.2rem;
  padding: 0;
}

.number-stepper__button:first-child {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: .375rem;
}

.number-stepper__button:last-child {
  border-bottom-right-radius: .375rem;
  border-top-right-radius: 0;
}

.number-stepper__button:hover,
.number-stepper__button:focus-visible {
  background: #e9ecef;
}

.booking-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.booking-header h1,
.booking-list-section h2,
.booking-form-panel h2 {
  margin-bottom: .25rem;
}

.booking-month-nav {
  align-items: center;
  display: flex;
  gap: .75rem;
  white-space: nowrap;
}

.booking-month-nav strong {
  color: #24412d;
  font-size: 1.1rem;
  min-width: 9rem;
  text-align: center;
}

.booking-month-nav__button {
  align-items: center;
  background: #24412d;
  border: 2px solid #24412d;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: .45rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: .6rem .95rem;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.booking-month-nav__button:hover,
.booking-month-nav__button:focus-visible {
  background: #172c20;
  border-color: #172c20;
  box-shadow: 0 .45rem 1rem rgba(22, 38, 30, .22);
  color: #fff;
  transform: translateY(-1px);
}

.booking-month-nav__button:active {
  transform: translateY(0);
}

.booking-shell {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.booking-calendar-panel,
.booking-form-panel,
.booking-list-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.booking-calendar-panel {
  overflow: hidden;
}

.booking-weekdays,
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.booking-weekdays {
  background: #f6f7f4;
  border-bottom: 1px solid #dee2e6;
}

.booking-weekdays span {
  color: #526156;
  font-size: .9rem;
  font-weight: 700;
  padding: .75rem .5rem;
  text-align: center;
}

.booking-day {
  aspect-ratio: 1 / .78;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  color: #212529;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  justify-content: space-between;
  min-height: 96px;
  padding: .55rem;
  position: relative;
  text-align: left;
  user-select: none;
}

.booking-day:nth-child(7n) {
  border-right: 0;
}

.booking-day:hover {
  background: #eef6ed;
}

.booking-day:focus-visible {
  outline: 3px solid #258cfb;
  outline-offset: -3px;
}

.booking-day.is-muted {
  background: #f8f9fa;
  color: #8a918b;
}

.booking-day.is-today .booking-day__number {
  background: #214c32;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 1.85rem;
  justify-content: center;
  line-height: 1.85rem;
  width: 1.85rem;
}

.booking-day.is-booked {
  background: #fff4e5;
}

.booking-day.is-blocked {
  background: #f3d9dc;
  color: #7a1f2b;
  cursor: not-allowed;
}

.booking-day.is-maintenance {
  background: #fff0a8;
  color: #5b4300;
  cursor: default;
}

.booking-day.is-past {
  background: #f1f3f2;
  color: #8a918b;
  cursor: not-allowed;
}

.booking-day.is-past.is-booked {
  background: #fff4e5;
  color: #8a4b0f;
}

.booking-day.is-past.is-booked .booking-day__number {
  color: #5f3709;
}

.booking-day.is-blocked.is-admin-selectable {
  cursor: pointer;
}

.booking-day.is-selected {
  background: #dcefe1;
  box-shadow: inset 0 0 0 2px #3d7d4f;
}

.booking-day__number {
  font-weight: 700;
}

.booking-day__status {
  color: #8a4b0f;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
}

.booking-day__booker-name,
.booking-day__booker-email {
  display: block;
  overflow-wrap: anywhere;
}

.booking-day__booking + .booking-day__booking {
  margin-top: .45rem;
}

.booking-day__booker-email {
  color: inherit;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-day__cancel-form {
  position: absolute;
  right: .35rem;
  top: .35rem;
}

.booking-day__cancel {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #b42318;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 700;
  height: 1.45rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-transform: uppercase;
  width: 1.45rem;
}

.booking-day__cancel:hover,
.booking-day__cancel:focus-visible {
  background: #f3d9dc;
  color: #8f1d14;
}

.booking-day.is-blocked .booking-day__status {
  color: #7a1f2b;
}

.booking-day__maintenance {
  display: grid;
  gap: .35rem;
}

.booking-day__maintenance-item {
  display: grid;
  gap: .25rem;
}

.booking-day__maintenance-item strong,
.booking-day__maintenance-item span {
  display: block;
  font-size: .78rem;
  line-height: 1.15;
}

.booking-day__maintenance-item strong {
  color: #5b4300;
}

.booking-day__maintenance-item span {
  color: #745400;
  font-weight: 700;
}

.booking-day__maintenance-item form {
  margin: 0;
}

.booking-day__maintenance-item .btn {
  font-size: .72rem;
  line-height: 1.1;
  padding: .12rem .35rem;
  width: fit-content;
}

.booking-day__blocked-reason {
  display: block;
  overflow-wrap: anywhere;
}

.booking-day__blocked-reason + .booking-day__blocked-reason {
  margin-top: .25rem;
}

.booking-history-months {
  background: #f6f7f4;
  border-bottom: 1px solid #dee2e6;
  padding: .75rem 1rem;
}

.booking-history-months summary {
  cursor: pointer;
  font-weight: 700;
}

.booking-history-months__links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}

.booking-form-panel {
  padding: 1rem;
}

.booking-price-estimate {
  background: #f6f7f4;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .85rem;
}

.booking-price-estimate h3 {
  font-size: 1rem;
  margin-bottom: .6rem;
}

.booking-price-estimate dl {
  display: grid;
  gap: .35rem;
  margin: 0;
}

.booking-price-estimate dl > div {
  align-items: baseline;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.booking-price-estimate dt {
  color: #526156;
  font-weight: 600;
}

.booking-price-estimate dd {
  margin: 0;
  text-align: right;
}

.booking-price-estimate__total {
  border-top: 1px solid #dee2e6;
  font-weight: 700;
  margin-top: .25rem;
  padding-top: .45rem;
}

.booking-price-overview p {
  margin-bottom: 0;
  white-space: pre-wrap;
}

.booking-list {
  display: grid;
  gap: .75rem;
}

.booking-list-item {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .85rem 1rem;
}

.booking-list-item span {
  color: #6c757d;
  display: block;
}

.booking-list-email {
  display: block;
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.masked-email-link {
  overflow-wrap: anywhere;
}

.booking-list-item p {
  margin: .35rem 0 0;
}

.history-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.history-header h1,
.history-page h2 {
  margin-bottom: .25rem;
}

.history-summary-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.history-summary-item {
  background: #f6f7f4;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: .85rem 1rem;
}

.history-summary-item span,
.history-summary-item strong {
  display: block;
}

.history-summary-item span {
  color: #526156;
  font-size: .9rem;
}

.history-summary-item strong {
  font-size: 1.35rem;
}

.history-section-header {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.history-section-header p {
  color: #526156;
  margin: 0;
}

.history-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
}

.history-year-tab {
  border: 1px solid #cbd4cf;
  border-radius: 999px;
  color: #214c32;
  font-weight: 700;
  padding: .35rem .75rem;
  text-decoration: none;
}

.history-year-tab:hover,
.history-year-tab.is-selected {
  background: #214c32;
  border-color: #214c32;
  color: #fff;
}

.history-table-scroll {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow-x: auto;
}

.history-table {
  margin-bottom: 0;
  min-width: 780px;
}

.history-table th {
  background: #f6f7f4;
  color: #526156;
  white-space: nowrap;
}

.history-table td {
  vertical-align: middle;
}

.history-table td:first-child,
.history-table td:nth-child(2) {
  min-width: 150px;
}

.history-booker-table td:first-child,
.history-booker-table th:first-child {
  min-width: 118px;
  width: 118px;
}

.history-rank-award {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 .35rem .9rem rgba(35, 45, 38, .1);
  display: inline-flex;
  gap: .25rem;
  min-height: 2.25rem;
  justify-content: center;
  padding: .22rem .62rem .22rem .45rem;
  white-space: nowrap;
}

.history-rank-award__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.history-rank-award__label {
  font-size: .82rem;
  font-weight: 800;
}

.history-rank-row--gold td {
  background: rgba(255, 244, 207, .72);
}

.history-rank-row--silver td {
  background: rgba(238, 241, 243, .74);
}

.history-rank-row--bronze td {
  background: rgba(246, 226, 209, .68);
}

.history-rank-row--gold td:first-child,
.history-rank-row--silver td:first-child,
.history-rank-row--bronze td:first-child {
  box-shadow: inset .24rem 0 var(--history-rank-color);
}

.history-rank-row--gold {
  --history-rank-color: #d19a00;
}

.history-rank-row--silver {
  --history-rank-color: #8f9aa3;
}

.history-rank-row--bronze {
  --history-rank-color: #b46b32;
}

.history-rank-award--gold {
  background: #fff0b8;
  border-color: #e5b41f;
  color: #5d4100;
}

.history-rank-award--silver {
  background: #eef1f3;
  border-color: #b9c2ca;
  color: #35424b;
}

.history-rank-award--bronze {
  background: #f5dcc8;
  border-color: #c78654;
  color: #603514;
}

.history-rank-cell > span:not(.history-rank-award) {
  align-items: center;
  background: #f6f7f4;
  border-radius: 999px;
  color: #526156;
  display: inline-flex;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.booking-edit {
  margin-top: .85rem;
}

.booking-edit summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
}

.booking-edit summary::-webkit-details-marker {
  display: none;
}

.booking-edit form {
  margin-top: .85rem;
}

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-page section,
.admin-page .admin-booking-blocks,
.admin-page .admin-section-group {
  scroll-margin-top: var(--site-header-offset);
}

.admin-section-group {
  --admin-section-accent: #7f9f80;
  --admin-section-tint: #f6faf5;
  background: linear-gradient(90deg, var(--admin-section-tint), rgba(255, 255, 255, 0) 78%);
  border-top: 2px solid var(--admin-section-accent);
  display: grid;
  gap: 1rem;
  margin-left: -.75rem;
  margin-right: -.75rem;
  padding: 1.1rem .75rem .2rem;
}

.admin-section-group--drift {
  --admin-section-accent: #5f9f73;
  --admin-section-tint: #f1f8f3;
}

.admin-section-group--bookings {
  --admin-section-accent: #5d8fc9;
  --admin-section-tint: #f1f6fc;
}

.admin-section-group--communication {
  --admin-section-accent: #b89142;
  --admin-section-tint: #fbf7ec;
}

.admin-section-group--content {
  --admin-section-accent: #9a7ab8;
  --admin-section-tint: #f7f2fb;
}

.admin-section-group--blocks {
  --admin-section-accent: #c46f63;
  --admin-section-tint: #fcf3f1;
}

.admin-section-group__header {
  align-items: center;
  display: flex;
  gap: .75rem;
  margin-bottom: -.2rem;
}

.admin-section-group__header::after {
  border-top: 1px solid color-mix(in srgb, var(--admin-section-accent) 35%, white);
  content: "";
  flex: 1 1 auto;
}

.admin-section-group__header h2 {
  color: var(--admin-section-accent);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.admin-bookmarks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.admin-bookmarks a {
  background: #f4f7f2;
  border: 1px solid #cfd8ce;
  border-radius: 999px;
  color: #24412d;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.1;
  padding: .28rem .5rem;
  text-decoration: none;
}

.admin-bookmarks a:hover,
.admin-bookmarks a:focus-visible {
  background: #e6f0e4;
  border-color: #8eaa8f;
  color: #172d1f;
}

.admin-bookmarks a.is-active {
  background: #24412d;
  border-color: #24412d;
  color: #fff;
}

.admin-bookmarks a.is-active:hover,
.admin-bookmarks a.is-active:focus-visible {
  background: #172d1f;
  border-color: #172d1f;
  color: #fff;
}

.back-to-top {
  background: rgba(33, 76, 50, .92);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 .65rem 1.4rem rgba(18, 32, 23, .24);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  padding: .55rem .85rem;
  position: fixed;
  right: 1rem;
  text-decoration: none;
  z-index: 2500;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #172d1f;
  color: #fff;
}

.admin-email-mode-panel {
  align-items: center;
  border: 3px solid;
  border-radius: 8px;
  box-shadow: 0 .45rem 1.1rem rgba(38, 55, 43, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.admin-email-mode-panel--prod {
  background: #edf7f0;
  border-color: #248246;
}

.admin-email-mode-panel--test {
  background: #fff1f0;
  border-color: #b42318;
}

.admin-email-mode-panel h2 {
  font-size: 1.25rem;
  margin: 0 0 .25rem;
}

.admin-email-mode-panel p {
  color: #2f3b34;
  font-weight: 700;
  margin: 0;
}

.admin-email-mode-panel form {
  margin: 0;
}

.admin-email-mode-panel .alert {
  flex-basis: 100%;
  margin: 0;
}

.email-mode-switch {
  background: #1f2933;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
  color: #fff;
  display: grid;
  font-weight: 900;
  grid-template-columns: 1fr 1fr;
  letter-spacing: .04em;
  min-width: 220px;
  padding: .35rem;
}

.email-mode-switch__option {
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1rem;
}

.email-mode-switch--test .email-mode-switch__option--active {
  background: #b42318;
}

.email-mode-switch--prod .email-mode-switch__option--active {
  background: #248246;
}

.email-mode-switch:hover {
  filter: brightness(.96);
}

.email-mode-switch:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
}

.admin-email-panel textarea {
  min-height: 260px;
}

.admin-email-panel textarea.monthly-overview-header-text {
  min-height: 140px;
}

.admin-broadcast-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.admin-broadcast-header h2 {
  margin-bottom: .25rem;
}

.admin-broadcast-header p {
  color: #526156;
  margin: 0 0 1rem;
}

.admin-monthly-overview-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-monthly-overview-header h2 {
  margin-bottom: .25rem;
}

.admin-monthly-overview-header p {
  color: #526156;
  margin: 0;
}

.admin-monthly-overview-toggle-form {
  flex: 0 0 auto;
  margin: 0;
}

.monthly-overview-toggle {
  align-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 .35rem .85rem rgba(38, 55, 43, .18);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .35rem .85rem .35rem .4rem;
  transition: box-shadow .15s ease, filter .15s ease, transform .15s ease;
}

.monthly-overview-toggle:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.monthly-overview-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
}

.monthly-overview-toggle--enabled {
  background: #248246;
}

.monthly-overview-toggle--disabled {
  background: #b42318;
}

.monthly-overview-toggle__track {
  background: rgba(255, 255, 255, .25);
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  height: 1.75rem;
  position: relative;
  width: 3.25rem;
}

.monthly-overview-toggle__knob {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 .1rem .35rem rgba(22, 38, 30, .32);
  height: 1.35rem;
  left: .2rem;
  position: absolute;
  top: .2rem;
  transition: transform .18s ease;
  width: 1.35rem;
}

.monthly-overview-toggle--enabled .monthly-overview-toggle__knob {
  transform: translateX(1.5rem);
}

.monthly-overview-toggle__text {
  min-width: 3.7rem;
  text-align: left;
}

.admin-monthly-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.admin-send-pdf-button {
  box-shadow: 0 .35rem .85rem rgba(36, 130, 70, .18);
  font-weight: 700;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.admin-send-pdf-button:hover {
  box-shadow: 0 .45rem 1rem rgba(36, 130, 70, .25);
}

.admin-info-box-panel textarea {
  min-height: 120px;
}

.admin-price-panel textarea {
  min-height: 220px;
}

.admin-text-formatting-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .4rem;
}

.admin-text-formatting-toolbar .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2rem;
  min-width: 2rem;
  padding: .2rem .45rem;
}

.admin-text-formatting-toolbar__separator {
  border-left: 1px solid #dee2e6;
  height: 1.6rem;
  margin: 0 .15rem;
}

.admin-booking-form-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.admin-booking-date-picker {
  margin-bottom: 1rem;
  position: relative;
}

.admin-block-date-grid,
.admin-period-date-picker {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-block-date-grid .mb-3 {
  margin-bottom: 0 !important;
}

.admin-period-date-picker {
  grid-column: span 2;
  margin-bottom: 0;
}

.admin-period-date-picker .admin-booking-calendar-popover,
.admin-period-date-picker .admin-booking-date-error {
  grid-column: 1 / -1;
}

.admin-booking-date-picker input[type="date"][readonly] {
  background-color: #fff;
  cursor: pointer;
}

.admin-booking-date-picker input[type="date"][readonly]::-webkit-calendar-picker-indicator {
  display: none;
}

.admin-booking-calendar-popover {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, .16);
  left: 0;
  margin-top: .35rem;
  max-width: calc(100vw - 2rem);
  padding: .85rem;
  position: absolute;
  top: 100%;
  width: min(96vw, 460px);
  z-index: 20;
}

.admin-booking-calendar-header,
.admin-booking-calendar-weekdays,
.admin-booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-booking-calendar-header {
  align-items: center;
  gap: .5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: .65rem;
}

.admin-booking-calendar-header strong {
  text-align: center;
  text-transform: capitalize;
}

.admin-booking-calendar-weekdays {
  color: #526156;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .3rem;
  text-align: center;
}

.admin-booking-calendar-grid {
  gap: .25rem;
}

.admin-booking-calendar-day {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: #212529;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.admin-booking-calendar-day:hover,
.admin-booking-calendar-day:focus-visible {
  background: #eef6ed;
  border-color: #3d7d4f;
}

.admin-booking-calendar-day.is-muted {
  background: #f8f9fa;
  color: #8a918b;
}

.admin-booking-calendar-day.is-booked {
  background: #f3d9dc;
  border-color: #d8a4ab;
  color: #7a1f2b;
  cursor: not-allowed;
}

.admin-booking-calendar-day.is-booked:hover {
  background: #f3d9dc;
  border-color: #d8a4ab;
}

.admin-booking-calendar-day.is-selected {
  background: #dcefe1;
  border-color: #3d7d4f;
  box-shadow: inset 0 0 0 1px #3d7d4f;
}

.admin-booking-calendar-help,
.admin-booking-date-error {
  font-size: .9rem;
  margin: .65rem 0 0;
}

.admin-booking-calendar-help {
  color: #526156;
}

.admin-booking-blocks {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.admin-booking-blocks__feedback {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-period-form {
  align-items: end;
  display: grid;
  flex: 1 1 auto;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
}

.admin-role-list {
  display: grid;
  gap: .5rem;
}

.admin-profile-list-details {
  margin-top: 1rem;
}

.admin-profile-list-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  list-style: none;
}

.admin-profile-list-summary::-webkit-details-marker {
  display: none;
}

.admin-profile-list-summary span:first-child {
  font-size: 1rem;
  font-weight: 700;
}

.admin-profile-list-summary__button::before {
  content: "Vis";
}

.admin-profile-list-details[open] .admin-profile-list-summary {
  margin-bottom: .75rem;
}

.admin-profile-list-details[open] .admin-profile-list-summary__button::before {
  content: "Skjul";
}

.collapsible-list-details {
  margin-top: 1rem;
}

.collapsible-list-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  list-style: none;
}

.collapsible-list-summary::-webkit-details-marker {
  display: none;
}

.collapsible-list-summary span:first-child {
  font-size: 1rem;
  font-weight: 700;
}

.collapsible-list-summary__button::before {
  content: "Vis";
}

.collapsible-list-details[open] .collapsible-list-summary {
  margin-bottom: .75rem;
}

.collapsible-list-details[open] .collapsible-list-summary__button::before {
  content: "Skjul";
}

.admin-profile-create-form {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.admin-profile-create-grid {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(90px, .45fr) minmax(105px, auto) minmax(115px, auto) auto;
}

.admin-profile-create-grid .mb-3 {
  margin-bottom: 0 !important;
}

.admin-profile-create-check {
  min-height: 38px;
}

.admin-role-row {
  align-items: end;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: .75rem;
}

.admin-profile-edit-form {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(170px, 1fr) minmax(220px, 1.2fr) minmax(90px, .45fr) minmax(105px, auto) minmax(115px, auto) auto;
}

.admin-profile-edit-form .form-label {
  margin-bottom: .35rem;
}

.admin-profile-delete-form {
  align-self: end;
}

.admin-role-person {
  min-width: 0;
}

.admin-role-person strong,
.admin-role-person span {
  display: block;
  overflow-wrap: anywhere;
}

.admin-role-person span {
  color: #6c757d;
  font-size: .95rem;
}

.admin-role-check {
  align-items: center;
  display: flex;
  gap: .45rem;
  margin-bottom: 0;
}

.messages-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.message-compose-panel textarea {
  min-height: 130px;
}

.message-list {
  display: grid;
  gap: 1rem;
}

.message-item {
  align-items: flex-start;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.message-item__content {
  min-width: 0;
  width: 100%;
}

.message-item__header,
.message-item__meta {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
}

.message-item__header span,
.message-item__meta {
  color: #6c757d;
  font-size: .95rem;
}

.message-item__body {
  margin: .75rem 0 0;
}

.message-item__body p {
  margin: 0 0 .5rem;
}

.message-item__body p:last-child {
  margin-bottom: 0;
}

.message-item__actions {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}

.message-edit {
  margin-top: 0;
}

.message-edit summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
}

.message-edit summary::-webkit-details-marker {
  display: none;
}

.message-edit form {
  margin-top: .85rem;
  max-width: 720px;
}

.message-delete-form {
  margin: 0;
}

.diverse-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.diverse-section {
  --diverse-accent: #6f8f72;
  --diverse-tint: #f5faf4;
  background: linear-gradient(90deg, var(--diverse-tint), #fff 82%);
  border: 1px solid #dee2e6;
  border-left: .35rem solid var(--diverse-accent);
  border-radius: 8px;
  padding: 1rem;
}

.diverse-section--accounts {
  --diverse-accent: #5d8fc9;
  --diverse-tint: #f1f6fc;
}

.diverse-section--maintenance {
  --diverse-accent: #6f9a64;
  --diverse-tint: #f2f8f0;
}

.diverse-section--contribution {
  --diverse-accent: #b89142;
  --diverse-tint: #fbf7ec;
}

.diverse-section--shares {
  --diverse-accent: #607d9b;
  --diverse-tint: #f1f6fa;
}

.diverse-section--meeting {
  --diverse-accent: #9a7ab8;
  --diverse-tint: #f7f2fb;
}

.diverse-under-construction {
  border-radius: 8px;
  margin: 0;
}

.diverse-section__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.diverse-section__header h2 {
  margin: 0 0 .25rem;
}

.diverse-section__header p,
.maintenance-weekend-item__header p {
  color: #526156;
  margin: 0;
}

.diverse-rich-text p {
  margin-bottom: .65rem;
}

.diverse-rich-text p:last-child {
  margin-bottom: 0;
}

.diverse-document-columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.diverse-document-columns h3 {
  font-size: 1.05rem;
  margin-bottom: .65rem;
}

.accounting-year-list,
.maintenance-weekend-list {
  display: grid;
  gap: .85rem;
}

.accounting-year {
  border-top: 1px solid rgba(82, 97, 86, .22);
  padding-top: .75rem;
}

.accounting-year:first-child {
  border-top: 0;
  padding-top: 0;
}

.accounting-year h3,
.accounting-year h4 {
  color: var(--diverse-accent);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.accounting-report-list {
  display: grid;
  gap: .45rem;
}

.accounting-report-item {
  align-items: center;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.accounting-report-item a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.accounting-report-item form,
.maintenance-weekend-item__actions form {
  margin: 0;
}

.diverse-admin-details {
  margin-top: 1rem;
}

.diverse-admin-details summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
}

.diverse-admin-details summary::-webkit-details-marker {
  display: none;
}

.diverse-admin-form {
  border-top: 1px solid rgba(82, 97, 86, .22);
  margin-top: .85rem;
  padding-top: .85rem;
}

.diverse-form-grid {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(100px, .45fr) minmax(180px, .9fr) minmax(240px, 1.4fr) auto;
}

.diverse-form-grid .mb-3 {
  margin-bottom: 0 !important;
}

.diverse-date-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.maintenance-weekend-item {
  align-items: flex-start;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .9rem;
}

.maintenance-weekend-item__content {
  min-width: 0;
}

.maintenance-weekend-item__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.maintenance-weekend-item__header h3,
.maintenance-weekend-item__header h4 {
  font-size: 1.1rem;
  margin: 0 0 .2rem;
}

.maintenance-weekend-item__header span {
  background: #eef6ed;
  border: 1px solid #cfd8ce;
  border-radius: 999px;
  color: #24412d;
  flex: 0 0 auto;
  font-size: .85rem;
  font-weight: 700;
  padding: .25rem .55rem;
}

.maintenance-weekend-item__note {
  margin-top: .75rem;
}

.maintenance-day-counts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .6rem;
}

.maintenance-day-counts span {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 999px;
  color: #34483b;
  font-size: .85rem;
  padding: .18rem .55rem;
}

.maintenance-signups {
  margin-top: .75rem;
}

.maintenance-signups strong {
  display: block;
  margin-bottom: .25rem;
}

.maintenance-signups ul {
  display: grid;
  gap: .45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.maintenance-signups li {
  background: #f4f7f2;
  border: 1px solid #d9e2d8;
  border-radius: 8px;
  padding: .45rem .55rem;
}

.maintenance-signup-person {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .55rem;
  margin-bottom: .2rem;
}

.maintenance-signup-person strong {
  color: #1f3527;
}

.maintenance-signup-email {
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.maintenance-signups li span {
  color: #526156;
  font-size: .9rem;
}

.maintenance-signup-note {
  color: #34483b;
  font-size: .9rem;
  margin-top: .3rem;
}

.admin-maintenance-signups {
  margin-top: .85rem;
}

.admin-maintenance-signups > strong {
  display: block;
  margin-bottom: .35rem;
}

.admin-maintenance-signup-list {
  display: grid;
  gap: .4rem;
}

.admin-maintenance-signup-row {
  align-items: center;
  background: #f4f7f2;
  border: 1px solid #d9e2d8;
  border-radius: 8px;
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(150px, 1.1fr) minmax(140px, 1fr) auto;
  padding: .45rem .55rem;
}

.admin-maintenance-signup-row div:first-child {
  min-width: 0;
}

.admin-maintenance-signup-row strong,
.admin-maintenance-signup-row a {
  display: block;
  overflow-wrap: anywhere;
}

.admin-maintenance-signup-row span {
  color: #526156;
  font-size: .9rem;
}

.admin-signup-note-button {
  justify-self: end;
}

.maintenance-weekend-item__actions {
  align-items: flex-end;
  display: flex;
  flex: 0 0 min(100%, 320px);
  flex-direction: column;
  gap: .45rem;
}

.maintenance-signup-form {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 8px;
  padding: .75rem;
  width: 100%;
}

.maintenance-day-options {
  display: grid;
  gap: .35rem;
  margin-bottom: .65rem;
}

.maintenance-signup-form textarea {
  min-height: 5.4rem;
}

.share-owner-list {
  margin-top: .25rem;
}

.share-owner-top-three {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: .9rem;
}

.share-owner-top-card {
  align-items: center;
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 8px;
  display: grid;
  gap: .55rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: .75rem;
}

.share-owner-top-card > div {
  min-width: 0;
}

.share-owner-top-card strong,
.share-owner-top-card a {
  display: block;
  overflow-wrap: anywhere;
}

.share-owner-top-card > span:last-child {
  color: #34483b;
  font-weight: 800;
  grid-column: 1 / -1;
}

.share-owner-table {
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 8px;
  overflow: hidden;
}

.share-owner-table__header,
.share-owner-table__row {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(90px, .45fr) minmax(140px, 1fr) minmax(180px, 1.2fr) minmax(70px, .35fr);
  padding: .55rem .7rem;
}

.share-owner-table__header {
  background: rgba(184, 145, 66, .14);
  color: #51401d;
  font-weight: 800;
}

.share-owner-table__row {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(82, 97, 86, .14);
}

.share-owner-table__row--gold {
  background: rgba(255, 244, 207, .72);
  box-shadow: inset .24rem 0 #d19a00;
}

.share-owner-table__row--silver {
  background: rgba(238, 241, 243, .74);
  box-shadow: inset .24rem 0 #8f9aa3;
}

.share-owner-table__row--bronze {
  background: rgba(246, 226, 209, .68);
  box-shadow: inset .24rem 0 #b46b32;
}

.share-owner-rank-cell > span:not(.history-rank-award) {
  align-items: center;
  background: #f6f7f4;
  border-radius: 999px;
  color: #526156;
  display: inline-flex;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.share-owner-table__row a {
  overflow-wrap: anywhere;
}

.admin-maintenance-booking-check {
  align-items: center;
  background: #f2f8f0;
  border: 1px solid #cfd8ce;
  border-radius: 8px;
  color: #24412d;
  display: flex;
  gap: .55rem;
  margin-bottom: 1rem;
  padding: .65rem .75rem .65rem calc(.75rem + 20px);
}

.admin-maintenance-period-check {
  align-items: center;
  align-self: end;
  display: flex;
  gap: .4rem;
  margin: 0;
  min-height: 2.35rem;
  padding-left: 20px;
  white-space: nowrap;
}

.admin-maintenance-booking-check .form-check-input,
.admin-maintenance-period-check .form-check-input {
  float: none;
  margin-left: 0;
}

.admin-diverse-panel {
  display: grid;
  gap: 1.25rem;
}

.admin-diverse-block {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

.admin-diverse-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.admin-diverse-block h3 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

.admin-share-counts-form {
  display: grid;
  gap: .85rem;
}

.admin-share-counts-table {
  border: 1px solid rgba(82, 97, 86, .18);
  border-radius: 8px;
  overflow: hidden;
}

.admin-share-counts-header,
.admin-share-counts-row {
  align-items: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.2fr) minmax(90px, .35fr);
  padding: .55rem .7rem;
}

.admin-share-counts-header {
  background: rgba(96, 125, 155, .14);
  color: #2d4050;
  font-weight: 800;
}

.admin-share-counts-row {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(82, 97, 86, .14);
}

.admin-share-counts-row strong,
.admin-share-counts-row a {
  overflow-wrap: anywhere;
}

.admin-share-counts-row input {
  max-width: 7rem;
}

.admin-diverse-empty {
  color: #526156;
  margin-top: .85rem;
}

.development-email-preview-frame {
  border: 0;
  display: block;
  height: min(58vh, 620px);
  width: 100%;
}

.development-email-preview-list {
  display: grid;
  gap: 1rem;
}

.development-email-preview-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.development-email-preview-item__header {
  align-items: center;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  padding: .75rem 1rem;
}

.development-email-preview-item__header h3 {
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  .booking-header,
  .booking-month-nav,
  .booking-list-item,
  .history-section-header,
  .admin-email-mode-panel,
  .admin-monthly-overview-header,
  .message-item,
  .diverse-section__header,
  .maintenance-weekend-item,
  .maintenance-weekend-item__header {
    align-items: stretch;
    flex-direction: column;
  }

  .share-owner-table__header,
  .share-owner-table__row,
  .admin-share-counts-header,
  .admin-share-counts-row {
    grid-template-columns: 1fr;
  }

  .share-owner-top-three {
    grid-template-columns: 1fr;
  }

  .email-mode-switch {
    min-width: 0;
    width: 100%;
  }

  .history-year-tabs {
    justify-content: flex-start;
  }

  .booking-shell {
    grid-template-columns: 1fr;
  }

  .booking-month-nav__button {
    width: 100%;
  }

  .booking-weekdays span {
    font-size: .78rem;
    padding: .55rem .15rem;
  }

  .booking-day {
    gap: .18rem;
    min-height: 74px;
    padding: .38rem .26rem;
  }

  .booking-day__number {
    font-size: .92rem;
  }

  .booking-day.is-today .booking-day__number {
    height: 1.55rem;
    line-height: 1.55rem;
    width: 1.55rem;
  }

  .booking-day__status {
    font-size: .68rem;
    line-height: 1.12;
  }

  .booking-day__booker-name {
    display: -webkit-box;
    font-size: .66rem;
    line-height: 1.08;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .booking-day__booker-email {
    display: none;
  }

  .booking-day__booking + .booking-day__booking {
    margin-top: .18rem;
  }

  .booking-day__cancel-form {
    right: .18rem;
    top: .18rem;
  }

  .booking-day__cancel {
    font-size: .95rem;
    height: 1.25rem;
    width: 1.25rem;
  }

  .admin-booking-blocks,
  .admin-booking-form-grid,
  .admin-block-date-grid,
  .admin-period-date-picker,
  .admin-period-form,
  .admin-profile-edit-form,
  .admin-profile-create-grid,
  .admin-role-row,
  .admin-maintenance-signup-row,
  .diverse-form-grid,
  .diverse-date-grid,
  .diverse-document-columns,
  .history-summary-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-weekend-item__actions {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .booking-day {
    min-height: 86px;
    padding: .4rem;
  }
}
