:root {
  font-family:
    Google Sans Flex,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-feature-settings:
    "liga" 1,
    "calt" 1,
    "cv07" 1,
    "cv03" 1,
    "cv04" 1;
  interpolate-size: allow-keywords;
  font-variation-settings: "ROND" 100;
}
@font-face {
  font-family: "Google Sans Rounded";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(./?mortyurl=https%3A%2F%2Fklascal.github.io%2Fflex-Regular.ttf) format("truetype");
}
::view-transition-group(root) {
  animation-duration: 200ms;
}
#authorizationCode:invalid {
  background-color: #f7baba73;
  border: 1px solid #a65050;
}
#authorizationCode:invalid:focus {
  border: 3px solid #a65050;
}
#authorizationCode:invalid ~ label {
  color: #660d00;
}
#previousDay,
#nextDay {
  border: none;
  border-radius: 4rem 0.5rem 0.5rem 4rem;
  background-color: var(--primary-accent);
  z-index: 2;
  position: relative;
  padding: 0.45rem 0.5rem;
  font-family: Material Symbols Rounded;
  font-size: 20px;
}
#nextDay {
  border-radius: 0.5rem 4rem 4rem 0.5rem;
}
#dayBtn,
#weekBtn {
  padding: 0.6rem 0;
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  width: 4.44375rem;
}
#weekBtn {
  border-top-left-radius: 0.6rem;
  border-bottom-left-radius: 0.6rem;
}
#soft_burst {
  fill: var(--primary-light);
  vertical-align: middle;
}
#soft_burst ~ span {
  margin-left: 2px;
}
#field {
  background: var(--primary-background);
  position: fixed;
  width: calc(100vw - 16px);
  top: 0;
  left: 0;
  padding: 4px 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#schedule strong.date {
  text-wrap: nowrap;
  text-align: center;
}
body,
html {
  box-sizing: border-box;
  overflow-x: hidden;
  user-select: none;
  accent-color: var(--primary-light);
  background-color: var(--primary-background);
  color: #231918;
}
body {
  margin: 0 8px;
}
button,
input {
  font-family:
    Google Sans Flex,
    system-ui;
}
#weekInput {
  font-weight: 600;
  font-size: 1.125rem;
  width: 2ch;
  background: none;
  border: 0;
  text-align: center;
  height: 1.125rem;
  color: inherit;
}
dialog {
  border: 0;
  border-radius: 2.5rem;
  background-color: var(--primary-background);
  padding: 16px;
  max-width: calc(100vw - 60px);
  max-height: calc(100vh - 60px);
  animation: popIn 0.3s;
  overflow-x: hidden;
  user-select: none;
  outline: none;
  view-transition-name: dialog;
  width: 525px;
}
#scanQrCode {
  width: 250px;
}
#video {
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: var(--primary-foreground);
}
.scan-frame {
  position: absolute;
  inset: 0;
}
.scan-container {
  width: 100%;
}
.corner {
  width: 32px;
  height: 32px;
  border-width: 3px;
  border-style: solid;
  position: absolute;
  border-color: var(--primary-border);
}
.tl {
  top: 111px;
  left: 15px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 24px 0 0 0;
}
.tr {
  top: 111px;
  right: 15px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 24px 0 0;
}
.bl {
  bottom: 10px;
  left: 15px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 24px;
}
.br {
  bottom: 10px;
  right: 15px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 24px 0;
}

@keyframes popIn {
  from {
    max-height: 0px;
    padding: 0;
    opacity: 0;
    overflow: hidden;
  }
}
section div,
#submenu {
  background-color: var(--primary-foreground-faded);
  padding: 8px 10px;
  margin-bottom: 0.125rem;
  border-radius: 0.25rem;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.day section div {
  padding: 0px 10px;
}
.check {
  display: none;
  font-family: Material Symbols Rounded;
  font-size: 18px;
  line-height: 0;
  position: relative;
  top: 4px;
}
h2.date {
  margin: auto;
  color: var(--accent-text);
  fill: var(--primary-light);
  text-align: center;
  flex-direction: column;
  font-size: 1.5rem;
  font-weight: 600;
  font-variation-settings:
    "opsz" 100,
    "ROND" 100;
  padding-bottom: 2.5rem;
  gap: 0.25rem;
}
h2.date .icon {
  font-size: 2.5rem;
  color: var(--primary-light);
}
.selected .check {
  display: inline;
}
#submenu {
  padding: 10px 12px;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-size: 1rem;
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-text-light);
}
#submenu.clearButton {
  padding: 1rem;
  border-radius: 0.4rem;
  margin-bottom: 0.25rem;
  background-color: var(--primary-accent);
  color: var(--accent-text);
  display: flex;
  justify-content: center;
}
section div:first-of-type,
#submenu:first-of-type,
.clearButton:first-of-type {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
section div:last-of-type,
#submenu:last-of-type,
.clearButton:last-of-type {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  margin-bottom: 0;
}
.horizDiv {
  display: flex;
  padding: 0;
}
section .horizDiv div {
  flex: 1;
  background: none;
  border-right: 2px solid var(--primary-background);
  border-radius: 0;
  margin-bottom: 0;
}
.horizDiv div:last-of-type {
  border-right: 0;
}
#timeDiv input {
  text-align: center;
}
#week {
  font-weight: 500;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1.25rem;
  font-size: 0.875rem;
}
#warningIcon {
  vertical-align: sub;
  fill: #ff9800;
  position: relative;
}
.warning {
  position: absolute;
  bottom: 4px;
  right: 6px;
}
th {
  font-size: 16px;
  font-weight: 450;
  text-align: left;
  padding: 8px;
  background-color: var(--primary-foreground);
  border-radius: 0.4rem;
  border: 2px solid var(--primary-background);
}
kbd {
  font-family: inherit;
  border-radius: 0.4rem;
  padding: 4px 8px;
  line-height: 2;
  background-color: var(--primary-background);
  color: var(--accent-text);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 5px;
}
#shortcuts,
#shortcuts #content {
  width: 320px;
}
#clearSettings {
  padding: 1.25rem;
}
#clearSettings,
#clearSettings #content {
  width: 282px;
}
#error,
#error #content {
  width: 310px;
}
#clearSettings div,
#scanQrCode div,
#error div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
#text {
  font-weight: 500;
  color: var(--accent-text-light);
  letter-spacing: 0.1px;
}
#clearSettings h2,
#clearSettings #content,
#error h2,
#error #content {
  margin: 0;
  padding: 0;
}
#clearSettings #icon,
#scanQrCode #icon,
#error #icon {
  color: var(--accent-text);
  font-family: Material Symbols Rounded;
  font-size: 2rem;
}
hr {
  height: 0.4375rem;
  border-width: 0;
  background-color: transparent;
  margin: 0px;
}
#link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
#linkText {
  font-weight: 450;
  letter-spacing: 0.1px;
}

strong.lesuur {
  position: absolute;
  right: 13px;
}
h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 0;
  margin-left: 4px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.les p,
.les span,
strong.date,
.change {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.00625rem;
  display: inline;
  font-family:
    Google Sans Flex,
    system-ui;
  font-variation-settings:
    "opsz" 20,
    "ROND" 100;
}
.change {
  word-wrap: break-word;
}
strong.date {
  margin: 8px 10px;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  font-weight: 600;
}

.warning[style="bottom: 5px"] svg {
  width: 22px;
  margin-right: 1px;
}

p.lestijden {
  display: inline;
}

strong {
  font-weight: 600;
  letter-spacing: 0.00625rem;
  font-family: Google Sans Rounded;
}

details strong {
  font-size: inherit;
}

#schedule {
  margin-top: 2.5rem;
  height: calc(100vh - 2.5rem);
  position: relative;
}
#schedule div {
  flex: 1;
}
.weekEnabled,
.dayEnabled,
.ltrEnabled {
  display: flex;
  gap: 10px;
}
.dayEnabled {
  gap: 12px;
}
#schedule.listEnabled {
  margin-top: 3rem;
}
#schedule.ltrEnabled {
  flex-direction: column;
  gap: 0;
  margin-top: 3.75rem;
  height: calc(100vh - 3.75rem);
}
.ltrEnabled strong.date {
  margin: 6px 10px;
  transform: translateY(-1.15rem);
}
.ltrEnabled div {
  height: 3rem;
}
.ltrEnabled .day div {
  display: flex;
}
.ltrEnabled .les p {
  display: block;
}
.ltrEnabled .warning {
  bottom: 16px;
}
.les {
  height: calc(var(--height) - 2px);
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  line-height: 1.4;
  inset: 0;
  top: var(--margin);
}
#info .les {
  padding: 0px 10px;
  min-height: var(--height);
  position: relative;
  top: 0;
  pointer-events: none;
}
#info .groups {
  display: none;
}
.moreInfo {
  display: flex;
  gap: 0.4rem;
}
.dates p {
  display: block;
}
#info .dates {
  cursor: default;
  padding: 0;
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
}
dialog.right #content {
  max-height: calc(100vh - 113px);
}
#schedule section {
  position: relative;
}
section div br:not(:first-of-type) {
  display: none;
}
.ltrEnabled section div {
  width: calc(var(--height) * 3 - 22px);
  margin-bottom: 0;
  padding: 10px;
  line-height: normal;
  top: unset;
  left: calc(var(--margin) * 3);
}
.dayEnabled div {
  width: calc(100vw - 36px);
  margin-right: 1.5rem;
}
.ltrEnabled section div:first-of-type {
  border-radius: 0.25rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.ltrEnabled section div:last-of-type:not(:only-of-type) {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.ltrEnabled section div:last-of-type {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
#ltr,
#dayBtn,
#weekBtn,
.btn.closeBtn {
  background: var(--primary-accent);
  color: var(--primary-light);
}
#ltr {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
#ltr:active {
  border-radius: 0.75rem;
}
#ltr svg {
  fill: var(--accent-text);
  transition: rotate 0.2s;
  width: 1.5rem;
  height: 1.5rem;
}
#side {
  position: fixed;
  background: var(--primary-accent);
  z-index: 1;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  border-radius: 1rem;
  margin: 0.25rem;
  margin-top: 3rem;
}
.pillContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebarPresent {
  margin-left: 4.25rem;
}
b {
  font-weight: 600;
  letter-spacing: 0.1px;
}
.btn {
  background-color: #f1f1f1;
  border: 0;
  padding: 0.5rem 1rem;
  line-height: 1.5;
  border-radius: 4rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-size: 0.875rem;
}
.back:hover,
.btn:hover,
.iconBtn:hover,
#previousDay:hover,
#nextDay:hover,
#submenu:hover {
  filter: brightness(0.9);
}
dialog .btn {
  color: var(--primary-dark);
  background: var(--primary-light);
}
#ltr.btn:active,
dialog .btn:active {
  border-radius: 0.75rem;
}
#previousDay,
#nextDay,
#loadSchedule,
.pill,
.btn,
.iconBtn {
  transition: all 0.1s ease-in-out;
}
.announcement {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
button:not(:disabled) {
  cursor: pointer;
}

#icon,
.icon {
  color: black;
  font-family: Material Symbols Rounded;
  font-size: 24px;
}

.icon.iconBtn,
.tooltip.iconBtn {
  border: none;
  border-radius: 2rem;
  color: var(--accent-text);
  height: 36px;
  width: 36px;
}
.tooltip.iconBtn {
  position: fixed;
  padding: 8px 10px;
  box-shadow: 0 1px 2px var(--timeline);
  opacity: 0;
  transition: ease-in opacity 0.1s;
  font-size: 0.875rem;
  font-weight: 600;
  font-variation-settings:
    "opsz" 100,
    "ROND" 100;
  width: max-content;
  height: auto;
  max-width: calc(100% - 40px);
  pointer-events: none;
}
.tooltip[data-show] {
  opacity: 1;
}
.pill #icon {
  color: var(--accent-text);
  font-size: 18px;
  font-variation-settings:
    "FILL" 1,
    "opsz" 32;
  line-height: 1;
}

#dayBtn.selected,
#weekBtn.selected {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 2rem;
}
.themes {
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.analytics-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
}
@font-face {
  font-family: "FontWithASyntaxHighlighter";
  src: url("./?mortyurl=https%3A%2F%2Fklascal.github.io%2FFontWithASyntaxHighlighter-Regular.woff2") format("woff2");
}
code {
  font-family: "FontWithASyntaxHighlighter", monospace;
}
dialog details summary {
  cursor: pointer;
}
details {
  overflow: hidden;
  font-weight: 450;
}
summary::marker {
  font-family: inherit;
}
details::details-content {
  block-size: 0;
  opacity: 0;
  transition: all 0.2s;
  transition-behavior: allow-discrete;
}
details[open]::details-content {
  block-size: auto;
  opacity: 1;
}
.les span strong {
  font-size: 1rem;
  font-variation-settings: initial;
}
.innerSpan {
  all: unset;
  width: calc(100% - 1.2rem);
  min-height: var(--height);
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ol,
ul {
  padding-left: 21px;
  margin: 0;
}
.pill {
  border-radius: 0.75rem;
  background-color: var(--background-muted);
  padding: 0.5rem 0.8rem;
  display: flex;
  gap: 0.25rem;
  width: fit-content;
  color: var(--accent-text);
  font-weight: 600;
  letter-spacing: 0.1px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-variation-settings:
    "opsz" 100,
    "ROND" 100;
}
small {
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.1px;
  opacity: 0.78;
  font-variation-settings:
    "opsz" 20,
    "ROND" 100;
  color: var(--accent-text-light);
}
.iconBtn {
  background-color: var(--primary-accent);
}
.announcement h2 {
  margin-left: 0;
  margin-bottom: 2px;
}
li:not(:last-of-type) {
  margin-bottom: 5px;
}
::marker {
  font-weight: bold;
  color: var(--primary-light);
}
#dayBtn,
#weekBtn {
  background-color: var(--primary-accent);
}
#dayBtn span,
#weekBtn span,
#closeBtn span,
#ltr span {
  font-variation-settings:
    "opsz" 20,
    "ROND" 100;
}
dialog strong.date {
  margin-left: 12px;
}
#fontBtn {
  font-family: inherit;
  font-size: 0.875rem;
  margin-top: 16px;
  color: var(--primary-dark);
  border-radius: 0.75rem;
  background-color: var(--primary-light);
  display: none;
}
select {
  font-family: inherit;
  font-variation-settings: "opsz" 20;
  font-size: inherit;
  font-weight: 450;
  outline: none;
  border: 1px solid var(--primary-border);
  border-radius: 0.5rem;
  padding: 1rem 0.4rem;
  max-width: 100%;
  background-color: var(--primary-foreground);
}
dialog .submenu strong.date:first-of-type {
  margin-top: 0;
}
/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  .back:hover,
  .btn:hover,
  .iconBtn:hover,
  #previousDay:hover,
  #nextDay:hover,
  #submenu:hover {
    filter: brightness(1.1);
  }
  #dayBtn,
  #weekBtn,
  #ltr,
  #side,
  #previousDay,
  #nextDay,
  .btn.closeBtn {
    background-color: var(--primary-foreground);
  }
  .iconBtn,
  #clearSettings #submenu {
    background-color: var(--primary-dark);
  }
  .tooltip.iconBtn {
    box-shadow: 0 1px 2px var(--primary-background);
  }
  #warningIcon {
    fill: #e89822;
  }
  #authorizationCode:invalid {
    background-color: #ff2f2f73;
  }
  #authorizationCode:invalid ~ label {
    color: #fdd6d6;
  }
  #authorizationCode:invalid:focus {
    border: 3px solid #f48787;
  }
  body,
  html {
    color: #e1e4db;
  }

  #icon,
  .icon {
    color: #e1e4db;
  }
}
.day section .exam,
.day section .activity,
.day section .meeting {
  padding-left: 5px;
  border-left: 5px solid var(--type-color);
}
.day section .exam {
  --type-color: #e8cb22;
}

.day section .activity {
  --type-color: #268e26;
}

.day section .meeting {
  --type-color: #22abe8;
}
.cancelled {
  background-color: #fdb1b1;
  color: #4d0a00;
}
.notEnrolled,
button:disabled {
  opacity: 0.75;
  color: var(--accent-text);
}
.notEnrolled #icon {
  color: var(--accent-text);
}
.warning:has(#icon) {
  bottom: 2px;
}
.timeline {
  position: absolute;
  background-color: var(--primary-light);
  z-index: -1;
  width: 100%;
}
.weekEnabled .timeline {
  height: 2px;
  top: calc(var(--top) + 2rem);
  left: 0;
}
.ltrEnabled .timeline {
  width: 2px;
  height: calc(100vh - 3.75rem);
  left: calc(var(--top) * 3);
}
.dayEnabled .timeline {
  visibility: hidden;
  opacity: 0;
}
.subjAbbrev {
  display: none;
}
label {
  font-weight: 500;
  color: var(--accent-text-light);
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  .cancelled {
    background-color: #93000a;
    color: #fdd6d6;
  }
}
@media print {
  #field {
    display: none;
  }
  #schedule {
    margin-top: 0;
    height: 100vh;
  }
  .les {
    border: 1px solid;
  }
  * {
    background-color: transparent;
  }
  .cancelled {
    border: 1px solid #ff2f2f;
  }
  .cancelled::after {
    content: "⌧";
    color: red;
    font-weight: bold;
  }
  .notEnrolled {
    border: 1px solid;
  }
  .notEnrolled::after {
    content: "";
  }
}
#dialog #icon {
  fill: var(--primary-light);
  cursor: pointer;
  background-color: var(--primary-background-faded);
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--primary-light);
  font-family: Material Symbols Rounded;
  font-size: 24px;
  line-height: 1;
  font-variation-settings: "FILL" 1;
}
#dialog li #icon {
  font-variation-settings: "FILL" 0;
  padding: 0.4rem;
  margin-right: 0.25rem;
  display: inline-block;
  vertical-align: middle;
}
#content .submenu {
  display: none;
}
#submenus {
  padding: 1rem;
  background-color: var(--primary-accent);
  border-radius: 1.75rem;
  height: fit-content;
  padding-top: 0.75rem;
}
#submenus h2 {
  margin-bottom: 0.75rem;
}
#dialog .back {
  padding: 0.4rem;
  color: var(--accent-text);
  background-color: var(--primary-accent);
  border-radius: 2rem;
  font-family: Material Symbols Rounded;
  font-size: 24px;
  height: 24px;
  line-height: 24px;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  #submenus {
    background-color: var(--primary-darker);
  }
  #dialog .back {
    background-color: var(--primary-foreground);
  }
}
@media (max-width: 1300px) {
  #ltr {
    display: none;
  }
}
@media (max-width: 1050px) {
  .weekEnabled .les span.teachersAndGroups {
    display: none;
  }
}
@media (max-width: 1027px) {
  .weekEnabled span .long:not(:first-of-type) {
    display: none;
  }
}
@media (max-width: 805px) {
  .weekEnabled span .long:first-of-type {
    display: none;
  }
}
@media (max-width: 850px) {
  .weekEnabled .les p:not(:last-of-type),
  .weekEnabled .les span,
  .weekEnabled strong.date {
    display: block;
  }
  .weekEnabled .les .longExtraExtra {
    display: inline;
  }
  .weekEnabled .les {
    height: calc(var(--height) * 1.2 - 2px);
    top: calc(var(--margin) * 1.2);
  }
  .weekEnabled .timeline {
    top: calc(var(--top) * 1.2 + 2rem);
  }
}
@media (max-width: 810px) {
  .weekEnabled .longExtra {
    display: none;
  }
  .weekEnabled .subject {
    display: none;
  }
  .weekEnabled .subjAbbrev {
    display: inline;
  }
}
@media (max-width: 730px) {
  .weekEnabled .weekText {
    display: none;
  }
}
@media (max-width: 600px) {
  .weekEnabled {
    gap: 5px;
  }
}
@media (max-width: 572px) {
  .weekEnabled {
    gap: 2px;
  }
}
@media (max-width: 570px) {
  #submenu.selectedSubmenu {
    background-color: var(--primary-foreground-faded);
  }
  #submenus {
    display: none;
    padding: 0;
    background: none;
  }
  dialog {
    border-radius: 2rem;
  }
}
.welcome #submenus {
  display: none;
}
.welcome #container {
  grid-template-columns: auto;
}
.welcome#dialog {
  width: 292px;
}
@media (max-height: 565px) {
  #ltr {
    display: none;
  }
}
@media (max-width: 560px) {
  .weekEnabled .day section div {
    padding: 0px 8px;
  }
}
@media (max-width: 540px) {
  .weekEnabled .day section div {
    padding: 0px 6px;
  }
  .weekEnabled section div:first-of-type {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
  }
  .weekEnabled section div:last-of-type {
    border-bottom-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
  }
}
@media (max-width: 520px) {
  .weekEnabled .les .longExtraExtra {
    display: none;
  }
}
.dates p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  padding: 10px;
  word-break: break-all;
  flex: 1;
}
.createdDate {
  border-right: 2px solid var(--primary-background);
  border-bottom-left-radius: 1rem;
}
.modifiedDate {
  border-bottom-right-radius: 1rem;
}
.dates .pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}
dialog.right {
  animation: popIn 0.1s;
}
dialog.right,
dialog.right #content {
  width: min-content;
  min-width: 280px;
  max-width: 380px;
}
#customAppointments .switch {
  width: 355px;
}
#addCustomAppointment {
  position: fixed;
  bottom: 0.75rem;
  right: 0.75rem;
  border-radius: 1rem;
  background-color: var(--primary-accent);
  color: var(--accent-text);
  font-size: 0.875rem;
  padding: 0.75rem;
  align-items: center;
  font-variation-settings:
    "opsz" 100,
    "ROND" 100;
  line-height: 1;
  gap: 5px;
}
.addBtn {
  margin-left: 0.5rem;
}
#timeDiv {
  max-width: 5rem;
}
@supports (-webkit-font-smoothing: antialiased) {
  #dateDiv {
    max-width: 8.5rem;
  }
  #timeDiv {
    max-width: 5.5rem;
  }
}
@media (min-width: 500px) {
  dialog.right {
    margin: 0;
    height: -moz-available;
    height: -webkit-fill-available;
    height: stretch;
    margin-left: auto;
    max-height: none;
    border-radius: 0.8rem 0 0 0.8rem;
    position: fixed;
    top: 0;
    animation: popIn 0.3s;
    padding: 12px 16px;
  }
}
@media (max-width: 512px) {
  .weekEnabled .longExtraExtraExtra {
    display: none;
  }
}
@media (max-width: 445px) {
  #custDate {
    width: 5rem;
  }
}
@media (max-width: 395px) {
  #announcementsButton {
    display: none;
  }
}
@media (max-width: 355px) {
  #field {
    width: calc(100vw - 8px);
    padding: 4px;
  }
}
@media (max-width: 346px) {
  #dayBtn,
  #weekBtn {
    display: none;
  }
}
@media (max-width: 186px) {
  #previousDay,
  #nextDay {
    display: none;
  }
}
