:root {
  --blue-5: #339af0;
  --border-size-1: 1px;
  --border-size-2: 2px;
  --border-size-3: 5px;
  --ease-2: cubic-bezier(.25, 0, .4, 1);
  --font-lineheight-1: 1.25;
  --font-lineheight-3: 1.5;
  --font-mono: Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,monospace;
  --font-sans: system-ui, sans-serif;
  --font-size-0: .75rem;
  --font-size-1: 1rem;
  --font-size-2: 1.1rem;
  --font-size-3: 1.25rem;
  --font-size-4: 1.5rem;
  --font-size-5: 2rem;
  --font-size-6: 2.5rem;
  --font-size-8: 3.5rem;
  --font-weight-7: 700;
  --font-weight-9: 900;
  --grape-2: #eebefa;
  --grape-5: #cc5de8;
  --grape-7: #ae3ec9;
  --grape-8: #9c36b5;
  --grape-9: #862e9c;
  --gray-0: #f8f9fa;
  --gray-2: #e9ecef;
  --gray-3: #dee2e6;
  --gray-4: #ced4da;
  --gray-5: #adb5bd;
  --gray-6: #868e96;
  --gray-7: #495057;
  --gray-8: #343a40;
  --gray-9: #212529;
  --green-1: #d3f9d8;
  --green-9: #2b8a3e;
  --indigo-2: #bac8ff;
  --indigo-7: #4263eb;
  --orange-8: #e8590c;
  --radius-2: 5px;
  --red-2: #ffc9c9;
  --red-3: #ffa8a8;
  --red-5: #ff6b6b;
  --red-6: #fa5252;
  --red-7: #f03e3e;
  --red-8: #e03131;
  --red-9: #c92a2a;
  --shadow-4:
    0 -2px 5px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
    0 1px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
    0 2px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
    0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
    0 9px 9px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
    0 16px 16px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%));
  --shadow-6:
    0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
    0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
    0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
    0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
    0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
    0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)),
    0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));
  --size-1: 0.25rem;
  --size-2: 0.5rem;
  --size-3: 1rem;
  --size-4: 1.25rem;
  --size-5: 1.5rem;
  --size-6: 1.75rem;
  --size-7: 2rem;
  --size-8: 3rem;
  --size-10: 5rem;
  --size-13: 15rem;
  --size-content-1: 20ch;
  --size-content-2: 45ch;
  --size-content-3: 60ch;
  --size-header-1: 20ch;
  --size-header-2: 25ch;
  --size-header-3: 35ch;
  --size-fluid-3: clamp(1.5rem, 3vw, 2rem);
}


:where(html) {
  --link: var(--indigo-7);
  --link-visited: var(--grape-7);
  --text-1: var(--gray-9);
  --text-2: var(--gray-7);
  --surface-1: var(--gray-0);
  --surface-2: var(--gray-2);
  --surface-3: var(--gray-3);
  --surface-4: var(--gray-4);
  --scrollthumb-color: var(--gray-7);
  -webkit-text-size-adjust: none;
  accent-color: var(--brand, var(--link));
  background-color: var(--surface-1);
  block-size: 100%;
  caret-color: var(--brand, var(--link));
  color: var(--text-2);
  color-scheme: light;
  font-family: var(--font-sans);
  line-height: var(--font-lineheight-3);
  scrollbar-color: var(--scrollthumb-color) transparent
}

@media (dynamic-range:high) {
  @supports (color(display-p3 0 0 0)) {
    :where(html) {
      --link: color(display-p3 .1 .4 1);
      --link-visited: color(display-p3 .6 .2 1)
    }
  }
}

:where(html) :where(dialog) {
  background-color: var(--surface-1)
}

:where(html) :where(button) {
  --_highlight: var(--_highlight-light);
  --_bg: var(--_bg-light);
  --_ink-shadow: var(--_ink-shadow-light)
}

:where(html) :where(button) :where([type=reset]) {
  --_text: var(--red-6);
  --_border: var(--red-3)
}

:where(html) :where(button, button[type], input[type=button], input[type=submit], input[type=reset])[disabled] {
  --_text: var(--gray-6)
}

:where(html) :where(textarea, select, input:not(button, button[type], input[type=button], input[type=submit], input[type=reset])) {
  background-color: var(--surface-2)
}

:where(h1, h2, h3, h4, h5, h6, dt) {
  color: var(--text-1)
}

:where(a[href]) {
  color: var(--brand, var(--link))
}

:where(a[href]):visited {
  color: var(--link-visited)
}

:focus-visible {
  outline-color: var(--brand, var(--link))
}

*,
:after,
:before {
  box-sizing: border-box
}

:where(:not(dialog)) {
  margin: 0
}

:where(:not(fieldset, progress, meter)) {
  background-origin: border-box;
  background-repeat: no-repeat;
  border-style: solid;
  border-width: 0
}

@media (prefers-reduced-motion:no-preference) {
  :where(html) {
    scroll-behavior: smooth
  }
}

@media (prefers-reduced-motion:no-preference) {
  :where(:focus-visible) {
    transition: outline-offset 145ms var(--ease-2)
  }

  :where(:not(:active):focus-visible) {
    transition-duration: .25s
  }
}

:where(:not(:active):focus-visible) {
  outline-offset: 5px
}

:where(body) {
  min-block-size: 100%
}

:where(h1, h2, h3, h4, h5, h6) {
  font-weight: var(--font-weight-9);
  line-height: var(--font-lineheight-1)
}

:where(h1) {
  font-size: var(--font-size-8);
  max-inline-size: var(--size-header-1)
}

:where(h2) {
  font-size: var(--font-size-6);
  max-inline-size: var(--size-header-2)
}

:where(h3) {
  font-size: var(--font-size-5)
}

:where(h4) {
  font-size: var(--font-size-4)
}

:where(h5) {
  font-size: var(--font-size-3)
}

:where(h3, h4, h5, h6, dt) {
  max-inline-size: var(--size-header-3)
}

:where(p, ul, ol, dl, h6) {
  font-size: var(--font-size-2)
}

:where(a, u, ins, abbr) {
  text-underline-offset: 1px
}

@supports (-moz-appearance:none) {
  :where(a, u, ins, abbr) {
    text-underline-offset: 2px
  }
}

:where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  touch-action: manipulation
}

:where(a) {
  margin-block: calc(var(--size-1)*-1);
  margin-inline: calc(var(--size-1)*-1);
  padding-block: var(--size-1);
  padding-inline: var(--size-1)
}

:where(a):where([href]) {
  text-decoration-color: var(--indigo-2)
}

:where(a):where([href]):where(:visited) {
  text-decoration-color: var(--grape-2)
}

:where(a):where(:not(:hover)) {
  text-decoration: inherit
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block
}

:where(img, svg, video) {
  block-size: auto;
  max-inline-size: 100%
}

:where(input, button, textarea, select),
:where(input[type=file])::-webkit-file-upload-button {
  color: inherit;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit
}

:where(input, textarea) {
  padding-block: var(--size-1);
  padding-inline: var(--size-2)
}

:where(select) {
  padding-block: .75ch;
  padding-inline: 1.25ch 0
}

:where(textarea, select, input:not(button, button[type], input[type=button], input[type=submit], input[type=reset])) {
  background-color: var(--surface-2);
  border-radius: var(--radius-2)
}

:where(textarea) {
  resize: block
}

:where(input[type=checkbox], input[type=radio]) {
  block-size: var(--size-3);
  inline-size: var(--size-3)
}

:where(svg) {
  stroke: none;
  fill: currentColor
}

:where(svg):where(:not([fill])) {
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

:where(svg):where(:not([width])) {
  inline-size: var(--size-10)
}

:where(code, kbd, samp, pre) {
  font-family: var(--font-mono)
}

:where(:not(pre)>code, kbd) {
  white-space: nowrap
}

:where(pre) {
  max-inline-size: max-content;
  min-inline-size: 0;
  white-space: pre
}

:where(:not(pre)>code) {
  background: var(--surface-2);
  border-radius: var(--radius-2);
  padding: var(--size-1) var(--size-2)
}

:where(kbd, var) {
  border-color: var(--surface-4);
  border-radius: var(--radius-2);
  border-width: var(--border-size-1);
  padding: var(--size-1) var(--size-2)
}

:where(mark) {
  border-radius: var(--radius-2);
  padding-inline: var(--size-1)
}

:where(ol, ul) {
  padding-inline-start: var(--size-8)
}

:where(li) {
  padding-inline-start: var(--size-2)
}

:where(li, dd, figcaption) {
  max-inline-size: var(--size-content-2)
}

:where(p) {
  max-inline-size: var(--size-content-3)
}

:where(dt, summary) {
  font-weight: var(--font-weight-7)
}

:where(dt:not(:first-of-type)) {
  margin-block-start: var(--size-5)
}

:where(small) {
  font-size: max(.5em, var(--font-size-0));
  max-inline-size: var(--size-content-1)
}

:where(hr) {
  background-color: var(--surface-3);
  height: var(--border-size-2);
  margin-block: var(--size-fluid-5)
}

:where(figure) {
  display: grid;
  gap: var(--size-2);
  place-items: center
}

:where(figure)>:where(figcaption) {
  font-size: var(--font-size-1)
}

:where(blockquote, :not(blockquote)>cite) {
  border-inline-start-width: var(--border-size-3)
}

:where(blockquote) {
  display: grid;
  gap: var(--size-3);
  max-inline-size: var(--size-content-2);
  padding-block: var(--size-3);
  padding-inline: var(--size-4)
}

:where(:not(blockquote)>cite) {
  padding-inline-start: var(--size-2)
}

:where(summary) {
  background: var(--surface-3);
  border-radius: var(--radius-2);
  margin: calc(var(--size-2)*-1) calc(var(--size-3)*-1);
  padding: var(--size-2) var(--size-3)
}

:where(details) {
  background: var(--surface-2);
  border-radius: var(--radius-2);
  padding-block: var(--size-2);
  padding-inline: var(--size-3)
}

:where(details[open]>summary) {
  border-end-end-radius: 0;
  border-end-start-radius: 0;
  margin-bottom: var(--size-2)
}

:where(fieldset) {
  border: var(--border-size-1) solid var(--surface-4);
  border-radius: var(--radius-2)
}

:where(del) {
  background: var(--red-9);
  color: var(--red-2)
}

:where(ins) {
  background: var(--green-9);
  color: var(--green-1)
}

:where(abbr) {
  text-decoration-color: var(--blue-5)
}

:where(dialog) {
  background-color: var(--surface-1);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-6);
  color: inherit
}

:where(dialog)::backdrop {
  backdrop-filter: blur(25px)
}

:where(html[\:has\(dialog\[open\]\)]) {
  overflow: hidden
}

:where(html:has(dialog[open])) {
  overflow: hidden
}

:where(menu) {
  display: flex;
  gap: var(--size-3);
  padding-inline-start: 0
}

:where(sup) {
  font-size: .5em
}
/*


 */
form.full {
  margin: var(--size-10) auto;
  width: 100%;
}

@media (width >= 768px) {
  form.full {
    width: var(--size-content-2);
  }
}

form > div,
fieldset > div {
  margin-bottom: var(--size-5);
}

fieldset {
  margin-bottom: var(--size-6);
}

label {
  font-weight: bold;
}

input[type="button"],
input[type="submit"] {
  background-color: var(--grape-7);
  border-radius: var(--size-2);
  border: var(--border-size-2) solid var(--grape-9);
  color: white;
  display: block;
  font-size: var(--font-size-2);
  padding: var(--size-1) var(--size-3);
  margin-top: var(--size-8);
  margin-bottom: var(--size-8);
}

@media (width >= 480px) {
  input[type="button"],
  input[type="submit"] {
    font-size: var(--font-size-3);
  }
}

input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: var(--grape-5);
  border-color: var(--grape-8);
}

input[type="button"].delete,
input[type="submit"].delete {
  background-color: var(--red-7);
  border-color: var(--red-9);
}

input[type="button"].delete:hover,
input[type="submit"].delete:hover {
  background-color: var(--red-5);
  border-color: var(--red-8);
}

input[type="button"].secondary,
input[type="submit"].secondary {
  background-color: var(--gray-7);
  border-color: var(--gray-9);
}

input[type="button"].secondary:hover,
input[type="submit"].secondary:hover {
  background-color: var(--gray-5);
  border-color: var(--gray-8);
}

input[type="text"] {
  display: block;
  padding: var(--size-2);
  font-size: var(--font-size-3);
  border: var(--border-size-2) solid var(--gray-5);
  border-radius: var(--size-2);
  width: 100%;
}

label {
  display: block;
  margin-bottom: var(--size-2);
}

select {
  -webkit-appearance: none;
  font-size: var(--font-size-3);
  width: 100%;
  padding: var(--size-2);
  box-sizing: border-box;
  margin: 0;
  border: var(--border-size-2) solid var(--gray-5);
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: var(--size-2);
}

@media (width >= 480px) {
  select {
    min-width: var(--size-content-1);
  }
}

:root {
  --checkbox-color: var(--gray-8);
  --checkbox-disabled: var(--gray-4);
}

.checkbox {
  display: grid;
  grid-template-columns: var(--size-4) auto;
  gap: var(--size-3);
  align-items: top;
}

.checkbox + .checkbox {
  margin-top: var(--size-4);
}

.checkbox--disabled {
  color: var(--checkbox-disabled);
  cursor: not-allowed;
}

input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: inherit;
  /* Not removed via appearance */
  margin: 0.25em 0 0 0;

  font: inherit;
  color: currentColor;
  width: var(--font-size-4);
  height: var(--font-size-4);
  border: var(--border-size-2) solid currentColor;
  border-radius: var(--size-2);
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: var(--font-size-2);
  height: var(--font-size-2);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--checkbox-color);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}

input[type="checkbox"]:disabled {
  --checkbox-color: var(--checkbox-disabled);

  color: var(--checkbox-disabled);
  cursor: not-allowed;
}

.field-note {
  font-size: var(--font-size-2);
  font-weight: normal;
  font-style: italic;
}

.error {
  color: var(--red-8);
  font-size: var(--font-size-2);
  margin-top: var(--size-3);
}

.button-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.button-controls form {
  margin-left: var(--size-3);
}

.button-controls input[type="button"],
.button-controls input[type="submit"] {
  margin-top: var(--size-2);
  margin-bottom: 0;
}

.google-login-button {
  align-items: center;
  background-color: #4285f4;
  box-shadow: var(--shadow-4);
  color: white;
  display: flex;
  margin-bottom: var(--size-8);
  margin-top: var(--size-8);
  padding: 1px;
}

.google-icon {
  background-color: white;
  padding: 15px;
}

.google-icon svg {
  height: 18px;
  width: 18px;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

.google-login-text {
  font-family: "Roboto", sans-serif;
  font-size: var(--font-size-1);
  padding: var(--size-1) var(--size-3);
}
/*


 */
.home-page {
  text-align: center;
}

.home-page img.logo {
  height: var(--size-13);
  margin: var(--size-10) auto 0 auto;
  display: block;
}

.home-page p,
.home-page h1,
.home-page input {
  margin-left: auto;
  margin-right: auto;
}
/*


 */
.rule-summaries {
  list-style: none;
  padding: 0;
}

.direction {
  font-weight: normal;
}

.color-swatch {
  color: white;
  padding: var(--size-1) var(--size-2);
  border-radius: var(--size-2);
}

.sync-diagram {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.sync-diagram .calendar {
  width: 30%;
}
.sync-diagram .arrow {
  width: 8%;
}

.sync-diagram .calendar h4 {
  text-align: center;
}

.sync-diagram img {
  width: 100%;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* latin-ext */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/lexend-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/lexend-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-size: var(--font-size-3);
  font-family: Lexend, var(--font-sans);
}

@media (width >= 480px) {
  body {
    font-size: var(--font-size-4);
  }
}

.container {
  max-width: var(--size-content-3);
  margin: var(--size-7) auto var(--size-7) auto;
  padding: 0 var(--size-7) 0 var(--size-7);
}

header {
  padding: var(--size-3) 0 var(--size-3) 0;
  display: flex;
  justify-content: space-between;
}

header > div {
  white-space: nowrap;
}

header img {
  height: var(--size-4);
  display: inline-block;
}

header nav {
  position: relative;
  min-width: 15ch;
  text-align: right;
}

header nav:hover,
header nav:focus-within {
  background: white;
  cursor: pointer;
}

header nav ul {
  background: white;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  transition: all 0.5s ease;
  right: 0;
  display: none;
  width: 100%;
  padding: var(--size-1);
}

header nav:hover > ul,
header nav:focus-within > ul,
header nav:hover,
header nav ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}

header nav ul li {
  text-align: right;
  width: 100%;
  padding: var(--size-1);
  list-style-type: none;
}

h1,
h2,
p,
li {
  max-inline-size: initial;
}

h1 {
  margin-top: var(--size-10);
  margin-bottom: var(--size-5);
  text-align: center;
  font-size: var(--font-size-5);
}

h2 {
  margin-top: var(--size-8);
  margin-bottom: var(--size-2);
  font-size: var(--font-size-4);
}

@media (width >= 480px) {
  h1 {
    font-size: var(--font-size-6);
  }

  h2 {
    font-size: var(--font-size-5);
  }
}

h4 {
  margin-top: var(--size-3);
  margin-bottom: var(--size-2);
}

p {
  margin-bottom: var(--size-2);
}

hr {
  margin-block: var(--size-fluid-3);
}

.box {
  box-shadow: var(--shadow-4);
  background: white;
  border-radius: var(--size-2);
  padding: var(--size-3);
  margin-block: var(--size-4);
}

.box h2 {
  margin-top: 0;
}

footer {
  border-top: var(--border-size-2) solid var(--gray-5);
  margin-top: var(--size-10);
  padding-top: var(--size-4);
  padding-bottom: var(--size-10);
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer > ul {
  display: flex;
  justify-content: space-between;
  gap: var(--size-4);
  align-items: flex-start;
}

footer > ul > li {
  width: 100%;
}

footer ul ul > li {
  text-align: center;
}

footer li {
  font-size: var(--font-size-1);
  padding: var(--size-1);
}

@media (width >= 480px) {
  footer li {
    font-size: var(--font-size-2);
  }
}

.warn {
  color: var(--orange-8);
}
