@import "https://lite.mybe.ing/OpenSans/OpenSans.css";
:root {
  --background-primary: #fdfeff;
  --background-secondary: #eef0f0;
  --background-gradient-1: #f6eaec;
  --background-gradient-2: #eaecf6;
  --background-gradient-3: #f6f6ea;
  --background-hover: rgba(50 51 52 / 0.075);
  --background-active: rgba(50 51 52 / 0.1);
  --background-input: rgba(50 51 52 / 0.075);
  --background-input-solid: #eeeff0;
  --font-primary: #2d2e2f;
  --font-secondary: #3d3e3f;
  --font-tertiary: #5d5e5f;
  --theme-color: #206ac0;
  --theme-color-opaque: rgba(32 106 192 / 0.075);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background-primary: #2d2e2f;
    --background-secondary: #3d3e3f;
    --background-gradient-1: #261a1c;
    --background-gradient-2: #1a1c26;
    --background-gradient-3: #26261a;
    --background-hover: rgba(255 255 255 / 0.05);
    --background-active: rgba(255 255 255 / 0.075);
    --background-input: rgba(250 251 252 / 0.075);
    --background-input-solid: #3d3e3e;
    --font-primary: #fdfeff;
    --font-secondary: #edeeef;
    --font-tertiary: #cdcecf;
    --theme-color: #206ac0;
  }
  body header img {
    filter: invert(1);
    -webkit-filter: invert(1);
  }
}
* {
  position: relative;
  top: 0px;
  left: 0px;
  width: auto;
  height: auto;
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 12pt;
  line-height: 1.75;
  border: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--font-primary);
}
html {
  width: 100%;
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  background: var(--background-primary);
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: auto;
  cursor: default;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  white-space: break-spaces;
  font-size: 18pt;
}

body header {
  position: sticky;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(63px + env(safe-area-inset-top));
  background: linear-gradient(to bottom, var(--background-primary), transparent);
  z-index: 2;
  padding: calc(env(safe-area-inset-top)) calc(env(safe-area-inset-right) + 12px) 0px calc(env(safe-area-inset-left) + 12px);
  flex-shrink: 0;
}
body header img {
  width: 45px;
  height: 45px;
}
body header div {
  display: flex;
  align-items: center;
  gap: 3px;
}

body main {
  display: flex;
  padding: 27px calc(50% - 600px);
  width: 100%;
}
body main nav {
  position: sticky;
  flex: 300px 0 0;
  padding: 90px 12px;
  height: min-content;
  display: flex;
}
body main nav ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}
body main nav ol li {
  display: flex;
  width: 100%;
}
body main nav ol li label {
  width: 100%;
  min-height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  color: var(--font-primary);
  fill: var(--font-primary);
  font-size: 12pt;
  margin: 0px 0px 3px 0px;
  transition-duration: 0.15s;
  -webkit-transition-duration: 0.15s;
  gap: 9px;
}
body main nav ol li label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
body main nav ol li label input {
  position: absolute;
  width: 0px;
  height: 0px;
  opacity: 0;
  background-color: transparent;
  outline: none;
  border: none;
}
body main nav ol li label:hover {
  background-color: var(--background-hover);
}
body main nav ol li label:active {
  background-color: var(--background-active);
}
body main nav ol li label:focus-visible {
  background-color: var(--background-hover);
}
body main nav ol li label:has(input:checked) {
  background-color: var(--background-input-solid);
}
body main nav ol li:has(label.dropping) {
  box-shadow: 0px 1px 0px var(--theme-color);
}
body main article {
  display: flex;
  flex-direction: column;
  flex: 3 1 0;
  padding: 63px 0px;
}
body main article div#word-count {
  height: 27px;
  display: flex;
  align-items: center;
  padding: 0px 9px;
  color: var(--font-tertiary);
}
body main article div.text-input {
  display: grid;
  width: 100%;
  overflow: hidden;
  margin: 0px;
  transition-duration: 0.15s;
  -webkit-transition-duration: 0.15s;
}
body main article div.text-input::after {
  content: attr(data-value) " ";
  white-space: pre-wrap;
  visibility: hidden;
}
body main article div.text-input textarea, body main article div.text-input::after {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0px 9px;
  color: var(--font-secondary);
  font-size: 18pt;
  font-weight: 400;
  z-index: 1;
  grid-area: 1 / 1 / 2 / 2;
  resize: none;
  line-height: 1.5;
  box-sizing: border-box;
}

body main article div.text-input textarea#title, body main article div.text-input:has(textarea#title)::after {
  font-size: 24pt;
  padding: 0px 9px 18px 9px;
}

body.reading main article div.text-input {
  display: none;
}

body main article section {
  display: none;
  flex-direction: column;
  width: 100%;
}
body.reading main article section {
  display: flex;
}
body main article section h1 {
  font-size: 30pt;
  font-weight: 600;
  line-height: 1.33;
  color: var(--font-primary);
  margin: 0px 0px 36px 0px;
}
body main article section h2 {
  font-size: 24pt;
  font-weight: 600;
  padding: 0px 0px 9px 0px;
  margin: 36px 0px 0px 0px;
  border-bottom: 1px solid var(--background-active);
  line-height: 1.33;
  color: var(--font-primary);
}
body main article section h3 {
  font-size: 18pt;
  font-weight: 600;
  margin: 18px 0px 0px 0px;
  line-height: 1.33;
  color: var(--font-primary);
}
body main article section h4 {
  font-size: 15pt;
  font-weight: 600;
  margin: 18px 0px 0px 0px;
  line-height: 1.33;
  color: var(--font-primary);
}
body main article section p {
  font-size: 15pt;
  font-weight: 400;
  margin: 18px 0px 0px 0px;
  line-height: 1.5;
  color: var(--font-secondary);
}
body main article section h1:has(+ .quote) {
  margin: 0px;
}
body main article section p.quote {
  font-size: 18pt;
  font-weight: 400;
  margin: 18px 0px 0px 0px;
  line-height: 1.33;
  color: var(--font-tertiary);
}
body main article section h1 + p.quote {
  margin: 18px 0px 36px 0px;
}

body button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  min-width: 45px;
  padding: 0px 21px;
  border-radius: 12px;
  cursor: pointer;
  background-color: transparent;
  color: var(--font-primary);
  overflow: hidden;
  outline: none;
  transition-duration: 0.075s;
  -webkit-transition-duration: 0.075s;
  margin: 0px;
  flex-shrink: 0;
}
body button[data-small="true"] {
  height: 36px;
  justify-content: flex-start;
  width: 100%;
}
body button svg {
  fill: var(--font-primary);
  padding: 12px;
  width: 45px;
  height: 45px;
  transition-duration: 0.075s;
  -webkit-transition-duration: 0.075s;
  display: none;
}
body button[data-small="true"] svg {
  padding: 9px;
  width: 36px;
  height: 36px;
}
body button[data-has-icon="true"] svg {
  display: block;
}
body button[data-has-icon="true"] {
  padding: 0px 21px 0px 0px;
}
body button[data-has-icon="true"][data-show-text="false"] {
  padding: 0px;
}
body button[data-priority="1"] {
  background-color: var(--theme-color);
  color: #ffffff;
}
body button[data-priority="1"] svg {
  fill: #ffffff;
}
body button[data-priority="1"] span {
  color: #ffffff;
}
body button[data-priority="2"] {
  background-color: var(--background-secondary);
}
body button[data-priority="3"] {
  box-shadow: inset 0px 0px 0px 1px var(--background-input);
  background-color: var(--background-primary);
}
body button div.shadow {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition-duration: 0.075s;
  -webkit-transition-duration: 0.075s;
}
body button:hover div.shadow {
  background-color: var(--background-hover);
}
@media (hover: none) {
  body button:hover div.shadow {
    background-color: transparent;
  }
}
body button:focus-visible div.shadow {
  background-color: var(--background-hover);
}
body button:active div.shadow {
  background-color: var(--background-active);
}
body button:active {
  box-shadow: inset 0px 0px 9px 0px var(--background-hover);
}
body button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
body button:disabled:hover div.shadow {
  background-color: transparent;
}
body button:disabled:active div.shadow {
  background-color: transparent;
}
body button:disabled:active {
  box-shadow: none;
}
body button[data-loading="true"] {
  color: transparent;
}
body button[data-loading="true"] svg {
  fill: transparent;
}
body button[data-show-text="false"] span {
  opacity: 0;
  width: 0px;
  height: 0px;
  font-size: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
}

body div.drop-down ol {
  display: flex;
  flex-direction: column;
  list-style: none;
  width: 300px;
  height: auto;
  min-height: 36px;
  background-color: var(--background-primary);
  position: absolute;
  top: 54px;
  left: unset;
  right: 0px;
  border: 1px solid var(--background-hover);
  border-radius: 12px;
  box-shadow: 0px 0px 6px 0px var(--background-input);
  transition-duration: 0.075s;
  -webkit-transition-duration: 0.075s;
  padding: 12px;
}
body div.drop-down ol[inert] {
  top: 45px;
  opacity: 0;
}
body div.drop-down ol li {
  display: flex;
}

@media print {
  @page {
    size: 8.5in 11in;
    margin: 1in;
  }
  body header,
  body main nav,
  body main article div#word-count {
    display: none;
  }
  body main,
  body main article {
    padding: 0px;
  }
  body main {
    width: 6.5in;
  }
  body main article section h1 {
    font-size: 24pt;
    margin: 0px 0px 24px 0px;
  }
  body main article section h1:has(+ p.quote) {
    margin: 0px;
  }
  body main article section p.quote {
    font-size: 15pt;
    font-weight: 400;
    margin: 9px 0px 0px 0px;
    line-height: 1.33;
    color: var(--font-tertiary);
  }
  body main article section h1 + p.quote {
    margin: 9px 0px 24px 0px;
  }
  body main article section h2 {
    font-size: 18pt;
    margin: 24px 0px 0px 0px;
  }
  body main article section h3 {
    font-size: 15pt;
    margin: 9px 0px 0px 0px;
  }
  body main article section h4,
  body main article section p {
    font-size: 12pt;
    margin: 9px 0px 0px 0px;
  }
}