/*
Theme Name: Sick Kids
Theme URI: https://sickkids.johnwarne.com/
Description: Theme for the sickest of kids
Author: John Warne
Author URI: https://johnwarne.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column
Text Domain: sick-kids
*/
/* Normalize https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css */
* {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
}

body {
  margin: 0;
}

main {
  display: block;
}

a {
  background-color: transparent;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

textarea {
  overflow: auto;
}

[hidden] {
  display: none;
}

/* Variables */
:root {
  color-scheme: light dark;
  --color-red: var(--color-red-500);
  --color-red-50: #fff2f1;
  --color-red-100: #ffe0df;
  --color-red-200: #ffc7c5;
  --color-red-300: #ffa19d;
  --color-red-400: #ff6a64;
  --color-red-500: #ff5049;
  --color-red-600: #ed1d15;
  --color-red-700: #c8140d;
  --color-red-800: #a5150f;
  --color-red-900: #881814;
  --color-red-950: #4b0704;
  --color-orange: var(--color-orange-500);
  --color-orange-50: #fff8f2;
  --color-orange-100: #ffebd9;
  --color-orange-200: #ffd8b3;
  --color-orange-300: #ffb380;
  --color-orange-400: #ff8c4d;
  --color-orange-500: #ff6a1f;
  --color-orange-600: #e53d00;
  --color-orange-700: #b32e00;
  --color-orange-800: #8a2400;
  --color-orange-900: #6c1e00;
  --color-orange-950: #3a0d00;
  --color-yellow: var(--color-yellow-500);
  --color-yellow-50: #fffdf2;
  --color-yellow-100: #fff9d9;
  --color-yellow-200: #fff2b3;
  --color-yellow-300: #ffe680;
  --color-yellow-400: #ffd94d;
  --color-yellow-500: #ffcc1f;
  --color-yellow-600: #e6b800;
  --color-yellow-700: #b38f00;
  --color-yellow-800: #8a6f00;
  --color-yellow-900: #6c5700;
  --color-yellow-950: #3a2d00;
  --color-green: var(--color-green-500);
  --color-green-50: #eefbf5;
  --color-green-100: #d6f5e5;
  --color-green-200: #b0eacf;
  --color-green-300: #7dd8b4;
  --color-green-400: #47c093;
  --color-green-500: #28b485;
  --color-green-600: #178462;
  --color-green-700: #126a51;
  --color-green-800: #115441;
  --color-green-900: #0f4537;
  --color-green-950: #080d0c;
  --color-blue: var(--color-blue-500);
  --color-blue-50: #E4F7F8;
  --color-blue-100: #CCEEF2;
  --color-blue-200: #9CD7E5;
  --color-blue-300: #6CB9D8;
  --color-blue-400: #3B94CB;
  --color-blue-500: #2A669F;
  --color-blue-600: #234B83;
  --color-blue-700: #1B3366;
  --color-blue-800: #14204A;
  --color-blue-900: #0C102E;
  --color-blue-950: #06070f;
  --color-purple: var(--color-purple-500);
  --color-purple-50: #faf7fd;
  --color-purple-100: #f2ecfb;
  --color-purple-200: #e8ddf7;
  --color-purple-300: #d6c2f0;
  --color-purple-400: #bd9ae6;
  --color-purple-500: #a373d9;
  --color-purple-600: #854ac4;
  --color-purple-700: #7842ae;
  --color-purple-800: #663a8f;
  --color-purple-900: #533073;
  --color-purple-950: #0d090f;
  --color-grey-lightest: #faf9f9;
  --color-grey-lighter: #e4e2e2;
  --color-grey-light: #c8c6c6;
  --color-grey: var(--color-grey-500);
  --color-grey-50: #E8E9ED;
  --color-grey-100: #DDDEE4;
  --color-grey-200: #C6C9D3;
  --color-grey-300: #AFB3C1;
  --color-grey-400: #989DAF;
  --color-grey-500: #81879D;
  --color-grey-600: #6B728A;
  --color-grey-700: #52586A;
  --color-grey-800: #3A3E4B;
  --color-grey-900: #21242B;
  --color-grey-950: #15171B;
  /* Theme colors */
  --theme-color-primary: var(--color-blue);
  --theme-color-warning: var(--color-yellow-600);
  --theme-color-danger: var(--color-red-600);
  --theme-color-bg: white;
  --theme-color-text: var(--color-grey-900);
  --theme-color-button-text: var(--color-grey-800);
  --theme-color-button-text-active: var(--color-grey-50);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-blue-600);
  --theme-color-button-bg-disabled: var(--color-blue-300);
  --theme-color-field-labels: var(--theme-color-button-text);
  --theme-color-fieldset-bg: var(--color-grey-50);
  --theme-color-fieldset-border: var(--color-grey-300);
  --theme-color-input-border: var(--theme-color-primary);
  --theme-color-input-bg: white;
  --theme-color-input-bg-active: white;
  --theme-color-log-separator: var(--color-grey-200);
  --theme-color-log-bg-hover: var(--color-grey-100);
  --theme-color-stat-bg: var(--theme-color-bg);
  --theme-color-icon-bg: var(--theme-color-fieldset-bg);
  --theme-color-primary: var(--color-blue-500);
  --theme-color-warning: var(--color-orange-300);
  --theme-color-danger: var(--color-red);
  --theme-color-bg: var(--color-grey-950);
  --theme-color-text: var(--color-grey-400);
  --theme-color-button-text: var(--color-grey-50);
  --theme-color-button-text-active: var(--color-grey-950);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-blue-700);
  --theme-color-button-bg-disabled: var(--color-blue-300);
  --theme-color-field-labels: var(--theme-color-button-text);
  --theme-color-fieldset-bg: var(--color-grey-900);
  --theme-color-fields-border: var(--color-grey-800);
  --theme-color-input-border: var(--theme-color-primary);
  --theme-color-input-bg: var(--color-grey-950);
  --theme-color-input-bg-active: var(--color-grey-950);
  --theme-color-log-separator: var(--color-grey-900);
  --theme-color-log-bg-hover: var(--color-grey-900);
  --theme-color-stat-bg: var(--color-grey-950);
  --theme-color-icon-bg: var(--theme-color-fieldset-bg);
  /* Transitions */
  --transition: 0.15s;
}

/* Brinley */
body #app.brinley {
  --theme-color-primary: var(--color-purple-600);
  --theme-color-button-text: var(--color-purple-900);
  --theme-color-button-text-active: var(--color-purple-50);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-purple-700);
  --theme-color-button-bg-disabled: var(--color-purple-300);
  --theme-color-fieldset-bg: var(--color-purple-50);
  --theme-color-fieldset-border: var(--color-purple-400);
  --theme-color-input-border: var(--color-purple-400);
  --theme-color-log-separator: var(--color-grey-300);
  --theme-color-log-bg-hover: var(--color-purple-200);
  --theme-color-primary: var(--color-purple-500);
  --theme-color-bg: var(--color-grey-950);
  --theme-color-button-text: var(--color-purple-300);
  --theme-color-button-text-active: var(--color-purple-950);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-purple-700);
  --theme-color-button-bg-disabled: var(--color-purple-300);
  --theme-color-field-labels: var(--color-grey-400);
  --theme-color-fieldset-bg: var(--color-grey-900);
  --theme-color-fieldset-border: var(--color-grey-800);
  --theme-color-input-border: var(--theme-color-fieldset-border);
  --theme-color-input-bg: var(--color-grey-950);
  --theme-color-input-bg-active: var(--color-grey-950);
  --theme-color-log-separator: var(--color-grey-800);
  --theme-color-log-bg-hover: var(--color-purple-900);
}

/* Micah */
body #app.micah {
  --theme-color-primary: var(--color-green-600);
  --theme-color-button-text: var(--color-green-900);
  --theme-color-button-text-active: var(--color-green-50);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-green-700);
  --theme-color-button-bg-disabled: var(--color-green-300);
  --theme-color-fieldset-bg: var(--color-green-50);
  --theme-color-fieldset-border: var(--color-blue-300);
  --theme-color-input-border: var(--color-green-400);
  --theme-color-log-separator: var(--color-grey-300);
  --theme-color-log-bg-hover: var(--color-green-100);
  --theme-color-primary: var(--color-green-500);
  --theme-color-bg: var(--color-grey-950);
  --theme-color-button-text: var(--color-green-300);
  --theme-color-button-text-active: var(--color-green-950);
  --theme-color-button-bg: var(--theme-color-primary);
  --theme-color-button-bg-hover: var(--color-green-700);
  --theme-color-button-bg-disabled: var(--color-green-300);
  --theme-color-field-labels: var(--color-grey-400);
  --theme-color-fieldset-bg: var(--color-grey-900);
  --theme-color-fieldset-border: var(--color-grey-800);
  --theme-color-input-border: var(--theme-color-fieldset-border);
  --theme-color-input-bg: var(--color-grey-950);
  --theme-color-input-bg-active: var(--color-grey-950);
  --theme-color-log-separator: var(--color-grey-800);
  --theme-color-log-bg-hover: var(--color-green-900);
}

/* Dark mode */
@media screen and (prefers-color-scheme: dark) {
  body #app {
    --theme-color-primary: var(--color-blue-500);
    --theme-color-warning: var(--color-orange-300);
    --theme-color-danger: var(--color-red);
    --theme-color-bg: var(--color-grey-950);
    --theme-color-text: var(--color-grey-400);
    --theme-color-button-text: var(--color-grey-50);
    --theme-color-button-text-active: var(--color-grey-950);
    --theme-color-button-bg: var(--theme-color-primary);
    --theme-color-button-bg-hover: var(--color-blue-700);
    --theme-color-button-bg-disabled: var(--color-blue-300);
    --theme-color-field-labels: var(--color-grey-400);
    --theme-color-fieldset-bg: var(--color-grey-900);
    --theme-color-fields-border: var(--color-grey-800);
    --theme-color-input-border: var(--theme-color-primary);
    --theme-color-input-bg: var(--color-grey-950);
    --theme-color-input-bg-active: var(--color-grey-950);
    --theme-color-log-separator: var(--color-grey-900);
    --theme-color-log-bg-hover: var(--color-grey-900);
    --theme-color-stat-bg: var(--color-grey-950);
    --theme-color-icon-bg: var(--theme-color-fieldset-bg);
  }
  body #app.brinley {
    --theme-color-primary: var(--color-purple-500);
    --theme-color-bg: var(--color-grey-950);
    --theme-color-button-text: var(--color-purple-300);
    --theme-color-button-text-active: var(--color-purple-950);
    --theme-color-button-bg: var(--theme-color-primary);
    --theme-color-button-bg-hover: var(--color-purple-700);
    --theme-color-button-bg-disabled: var(--color-purple-300);
    --theme-color-field-labels: var(--color-grey-400);
    --theme-color-fieldset-bg: var(--color-grey-900);
    --theme-color-fieldset-border: var(--color-grey-800);
    --theme-color-input-border: var(--theme-color-fieldset-border);
    --theme-color-input-bg: var(--color-grey-950);
    --theme-color-input-bg-active: var(--color-grey-950);
    --theme-color-log-separator: var(--color-grey-800);
    --theme-color-log-bg-hover: var(--color-purple-900);
  }
  body #app.micah {
    --theme-color-primary: var(--color-green-500);
    --theme-color-bg: var(--color-grey-950);
    --theme-color-button-text: var(--color-green-300);
    --theme-color-button-text-active: var(--color-green-950);
    --theme-color-button-bg: var(--theme-color-primary);
    --theme-color-button-bg-hover: var(--color-green-700);
    --theme-color-button-bg-disabled: var(--color-green-300);
    --theme-color-field-labels: var(--color-grey-400);
    --theme-color-fieldset-bg: var(--color-grey-900);
    --theme-color-fieldset-border: var(--color-grey-800);
    --theme-color-input-border: var(--theme-color-fieldset-border);
    --theme-color-input-bg: var(--color-grey-950);
    --theme-color-input-bg-active: var(--color-grey-950);
    --theme-color-log-separator: var(--color-grey-800);
    --theme-color-log-bg-hover: var(--color-green-900);
  }
}
html {
  min-height: calc(100% + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background-color: var(--theme-color-bg);
}
@media screen and (max-width: 767px) {
  html {
    margin-top: 0 !important;
  }
}

body {
  margin: 0;
  padding: 0;
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT", "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif;
  font-weight: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--theme-color-text);
  background-color: var(--theme-color-bg);
}
body.child-logs-on-screen:after {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: env(safe-area-inset-top);
  background-color: var(--theme-color-bg);
  z-index: 2;
}
body #app {
  width: 100vw;
  min-height: 100vh;
  padding: 30px 15px;
  color: var(--theme-color-text);
  background-color: var(--theme-color-bg);
}
@media screen and (min-width: 768px) {
  body #app {
    padding: 15px calc((100vw - 500px) / 2);
  }
}
body #app[v-cloak] {
  display: none;
}
body #app form .child-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-bottom: 1em;
}
body #app form .child-selector > label {
  padding: 0.75em 1em;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  border: 1px solid var(--theme-color-fieldset-border);
  border-radius: 4px 0 0 4px;
  cursor: pointer;
  transition: all 0.2s;
}
body #app form .child-selector > label > input {
  display: none;
}
body #app form .child-selector > label > input:checked ~ .child {
  display: block;
}
body #app form .child-selector > label + label {
  border-left: 0;
  border-radius: 0 4px 4px 0;
}
body #app form .child-selector > label.active, body #app form .child-selector > label:hover, body #app form .child-selector > label:focus {
  color: var(--theme-color-button-text-active);
  background-color: var(--theme-color-button-bg);
}
body #app form .all-fields {
  margin-top: 2em;
  padding: 0 15px 15px;
  background-color: var(--theme-color-fieldset-bg);
  border: 1px solid var(--theme-color-fieldset-border);
  border-radius: 4px;
}
body #app form .all-fields > h3 {
  display: none;
  margin: 0 0 0.5em;
}
body #app form .fields {
  --gap: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap);
}
body #app form .fields .form-group {
  --width: 1 / 3;
  --number-of-gaps: 2;
  width: calc((100% - var(--gap) * var(--number-of-gaps)) * var(--width));
}
body #app form .fields .form-group.temperature, body #app form .fields .form-group.oxygen {
  --width: 3 / 8;
  --number-of-gaps: 2;
}
body #app form .fields .form-group.more-fields-toggle {
  --width: 2 / 8;
  --number-of-gaps: 2;
}
body #app form .fields .form-group.albuterol, body #app form .fields .form-group.flovent, body #app form .fields .form-group.nebulizer, body #app form .fields .form-group.antibiotic {
  --width: 1 / 4;
  --number-of-gaps: 3;
}
body #app form .fields .form-group.date, body #app form .fields .form-group.notes {
  --width: 1;
  --number-of-gaps: 0;
}
body #app form .fields .form-group.date {
  max-height: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s;
}
body #app form .fields .form-group.date.active {
  max-height: 86px;
  padding-top: 1em;
  opacity: 1;
}
body #app form .fields .form-group.more-fields-toggle {
  display: flex;
  align-items: flex-end;
}
body #app form .fields .form-group.more-fields-toggle > button {
  width: 100%;
  height: 50px;
  padding: 0.5em 0.5em;
  line-height: 1;
  color: var(--theme-color-button-text);
  background-color: var(--theme-color-fieldset-bg);
  border: 1px solid var(--theme-color-input-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
body #app form .fields .form-group.more-fields-toggle > button:hover, body #app form .fields .form-group.more-fields-toggle > button:focus {
  color: var(--theme-color-button-text-active);
  background-color: var(--theme-color-button-bg);
}
body #app form .fields .form-group label {
  display: flex;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--theme-color-field-labels);
  cursor: pointer;
}
body #app form .fields .form-group input,
body #app form .fields .form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.25em 0.75em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--theme-color-button-text);
  background-color: var(--theme-color-input-bg);
  border: 1px solid var(--theme-color-input-border);
  border-radius: 4px;
  transition: all 0.2s;
}
body #app form .fields .form-group input:hover, body #app form .fields .form-group input:focus,
body #app form .fields .form-group textarea:hover,
body #app form .fields .form-group textarea:focus {
  background-color: var(--theme-color-input-bg-active);
  border-color: var(--theme-color-primary);
  box-shadow: inset 0 0 0 2px var(--theme-color-primary);
  outline: none;
}
body #app form .fields .form-group input[type=datetime-local],
body #app form .fields .form-group textarea[type=datetime-local] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
body #app form .fields .form-group input[type=datetime-local]::-webkit-calendar-picker-indicator,
body #app form .fields .form-group textarea[type=datetime-local]::-webkit-calendar-picker-indicator {
  display: none;
}
body #app form .fields .form-group .input-and-increment {
  display: flex;
  align-items: stretch;
}
body #app form .fields .form-group .input-and-increment > input {
  flex: 1;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  border-radius: 4px 0 0 4px;
}
body #app form .fields .form-group .input-and-increment .increment-decrement {
  display: flex;
  flex-direction: column;
}
body #app form .fields .form-group .input-and-increment .increment-decrement > button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 50%;
  padding: 0;
  font-size: 1em;
  line-height: 1;
  color: var(--theme-color-button-text);
  background-color: transparent;
  border: 1px solid var(--theme-color-input-border);
  border-left: 0;
  border-radius: 0 4px 0 0;
  cursor: pointer;
  transition: all 0.2s;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
body #app form .fields .form-group .input-and-increment .increment-decrement > button:hover, body #app form .fields .form-group .input-and-increment .increment-decrement > button:focus {
  color: var(--theme-color-button-text-active);
  background-color: var(--theme-color-primary);
}
body #app form .fields .form-group .input-and-increment .increment-decrement > button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
body #app form .fields .form-group .input-and-increment .increment-decrement > button + button {
  border-top: 0;
  border-radius: 0 0 4px 0;
}
body #app form .fields .form-group textarea {
  line-height: 1.3;
  resize: vertical;
}
body #app form .fields .form-group input::-webkit-outer-spin-button,
body #app form .fields .form-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body #app form .fields.more-fields {
  grid-template-columns: repeat(3, 1fr);
  max-height: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s;
}
body #app form .fields.more-fields.active {
  max-height: 350px;
  padding-top: 1em;
  opacity: 1;
}
body #app form .form-actions {
  display: flex;
  flex-direction: row-reverse;
  gap: 1em;
  margin-top: 1em;
}
body #app form .form-actions button.cancel-edit,
body #app form .form-actions button.delete-log,
body #app form .form-actions button[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  justify-content: center;
  /* width: 100%; */
  flex: 1;
  padding: 0.75em 1em;
  font-weight: bold;
  line-height: 1;
  color: var(--theme-color-button-text-active);
  background-color: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
body #app form .form-actions button.cancel-edit:hover, body #app form .form-actions button.cancel-edit:focus,
body #app form .form-actions button.delete-log:hover,
body #app form .form-actions button.delete-log:focus,
body #app form .form-actions button[type=submit]:hover,
body #app form .form-actions button[type=submit]:focus {
  color: var(--theme-color-primary);
  background-color: transparent;
  border-color: var(--theme-color-primary);
}
body #app form .form-actions button.cancel-edit:disabled,
body #app form .form-actions button.delete-log:disabled,
body #app form .form-actions button[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
body #app form .form-actions button.cancel-edit {
  flex: 0;
  font-weight: normal;
  color: var(--theme-color-primary);
  background-color: transparent;
  border: 1px solid transparent;
  transition: all var(--transition);
}
body #app form .form-actions button.cancel-edit:hover, body #app form .form-actions button.cancel-edit:focus {
  border-color: var(--theme-color-primary);
}
body #app form .form-actions button.delete-log {
  color: var(--theme-color-danger);
  background-color: transparent;
  border-color: var(--theme-color-danger);
}
body #app form .form-actions button.delete-log:hover, body #app form .form-actions button.delete-log:focus {
  color: var(--theme-color-button-text-active);
  background-color: var(--theme-color-danger);
  border-color: var(--theme-color-danger);
}
body #app p.error {
  margin-top: 1em;
  color: var(--theme-color-danger);
  text-align: center;
}
body #app p.error > a {
  color: var(--theme-color-danger);
  text-decoration: underline;
}
body #app .child-logs {
  margin-top: 3em;
}
body #app .child-logs .day {
  position: relative;
}
body #app .child-logs .day + .day {
  margin-top: 3em;
}
body #app .child-logs .day h3 {
  position: sticky;
  top: calc(env(safe-area-inset-top) - 1px);
  margin: 0;
  padding: 0.6em 0 0.5em;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  background-color: var(--theme-color-bg);
  border-bottom: 1px solid var(--theme-color-input-border);
  /* box-shadow: 0 0 20px 15px var(--theme-color-bg); */
  z-index: 2;
}
body #app .child-logs .day .day-logs {
  position: relative;
  display: grid;
  font-size: 14px;
  z-index: 1;
}
body #app .child-logs .day .day-logs .log {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.7em;
  margin-top: -1px;
  line-height: 1.3;
  cursor: pointer;
  transition: all var(--transition);
}
body #app .child-logs .day .day-logs .log.editing {
  margin-inline: -15px;
  padding-inline: 15px;
  background-color: var(--theme-color-log-bg-hover);
  z-index: 3;
}
@media screen and (min-width: 768px) {
  body #app .child-logs .day .day-logs .log.editing {
    margin-inline: -1.2em;
    padding-inline: 1.2em;
  }
}
body #app .child-logs .day .day-logs .log.editing .stats {
  box-shadow: inset 0 -1px 0 var(--theme-color-log-bg-hover);
}
body #app .child-logs .day .day-logs .log time {
  min-width: 64px;
  padding-top: 1.8em;
  text-transform: lowercase;
}
body #app .child-logs .day .day-logs .log .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  padding: 1.5em 0;
  box-shadow: inset 0 -1px 0 var(--theme-color-log-separator);
}
body #app .child-logs .day .day-logs .log .stats .stat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 13px;
  line-height: 1;
  background-color: var(--theme-color-stat-bg);
  box-shadow: 0 0 0 1px var(--theme-color-input-border);
  border-radius: 4px;
}
body #app .child-logs .day .day-logs .log .stats .stat > span.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  line-height: 1.2;
  background-color: var(--theme-color-icon-bg);
  border-radius: 4px 0 0 4px;
}
body #app .child-logs .day .day-logs .log .stats .stat > span.icon > svg {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}
body #app .child-logs .day .day-logs .log .stats .stat > span.icon.inhaler > svg {
  width: 1em;
  height: 1em;
}
body #app .child-logs .day .day-logs .log .stats .stat span:not(.icon) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
}
body #app .child-logs .day .day-logs .log .stats .stat span:not(.icon).label {
  display: none;
}
body #app .child-logs .day .day-logs .log .stats .stat.severity-medium:after, body #app .child-logs .day .day-logs .log .stats .stat.severity-high:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: 0 0 0 1px var(--theme-color-warning);
  border-radius: 4px;
  opacity: 0.2;
}
body #app .child-logs .day .day-logs .log .stats .stat.severity-medium > span.icon, body #app .child-logs .day .day-logs .log .stats .stat.severity-high > span.icon {
  position: relative;
}
body #app .child-logs .day .day-logs .log .stats .stat.severity-medium > span.icon:before, body #app .child-logs .day .day-logs .log .stats .stat.severity-high > span.icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color-warning);
  opacity: 0.2;
}
body #app .child-logs .day .day-logs .log .stats .stat.severity-high:after {
  border-color: var(--theme-color-danger);
}
body #app .child-logs .day .day-logs .log .stats .stat.severity-high > span.icon:before {
  background-color: var(--theme-color-danger);
  opacity: 0.25;
}
body #app .child-logs .day .day-logs .log .stats .stat + .notes {
  margin-top: 0.5em;
}
body #app .child-logs .day .day-logs .log .stats .notes {
  flex-basis: 100%;
  margin: 0.3em 0 0;
}
body #app .child-logs .day .day-logs .log .stats .notes > p {
  margin: 0;
  padding: 0;
}
body #app .child-logs .day .day-logs .log .stats .notes > ul {
  display: grid;
  gap: 0.7em;
  margin: 0;
  padding: 0 0 0 1em;
}
body #app .child-logs .day .day-logs .log .stats .notes > ul > li {
  margin: 0;
  padding: 0 0 0 0.2em;
}
body #app .child-logs .day .day-logs .log:last-of-type .stats {
  box-shadow: none;
}
@media screen and (max-width: 767px) {
  body #wpadminbar {
    display: none;
  }
}