:root {
  /**
   * List item bullets
   *
   * To allow proper list wrapping, we have to overwrite the default bullet styles and
   * insert ::before content to look/behave like a bullet.
   * 
   * See https://yoksel.github.io/url-encoder/ for a handy URL encoder from SVG. I've
   * created basic SVG versions of standard list styles in Firefox to use here. One has
   * to be careful of the sizing and bounding box here; for re-scaled or poorly sized
   * SVGs, they appear to render _very_ inconsistently. The below settings appear
   * uniform on my machine.
   *
   * Note the radius=2.65 (and not some integer); 2 is too small, and 3 is a bit too
   * large. 2.5 renders oddly (almost looks sharp)...this number was selected purely
   * based on how it looks.
   */
  --list-item-1: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='2.65' fill='black' /%3E%3C/svg%3E%0A");
  --list-item-2: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='2.65' stroke='black' fill='none' stroke-width='0.5' /%3E%3C/svg%3E%0A");
  --list-item-3: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='5.0' height='5.0' x='2.0' y='2.0' fill='black' /%3E%3C/svg%3E%0A");
}
:root ::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
:root ::-webkit-scrollbar-track {
  background: transparent;
}
:root ::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 6px;
  width: 0;
  height: 0;
}
:root :hover::-webkit-scrollbar-thumb {
  width: 4px;
  background: var(--palette-accent-border-color);
}

[x-cloak] {
  display: none !important;
}

/* simulate basic padding by giving some default size to gutters. Rest of the space all
 * goes to the body-container.
 */
.page-container {
  --side-margin: 1em;
  --article-width: min(110rem,95vw);
  --rel-left: 1;
  --rel-right: 1;
  display: grid;
  min-height: 100vh;
  min-width: calc(100vw - 2rem);
  margin: 0 var(--side-margin);
  grid-template-columns: calc((100vw - var(--article-width)) * var(--rel-left) / (var(--rel-left) + var(--rel-right))) 1fr calc((100vw - var(--article-width)) * var(--rel-right) / (var(--rel-left) + var(--rel-right)));
}

[data-width=full] .page-container {
  --side-margin: 0;
  --article-width: 100vw;
}

[data-width=narrow] .page-container {
  --article-width: 50rem;
}

.mid-container {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 0 1fr 0;
}

.body-container {
  --side-margin: 1em;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  margin: 0 var(--side-margin);
}

[data-width=full] .body-container {
  --side-margin: 0em;
}

.body-container {
  transition: all 0.1s;
  /****************/
  /* BODY -> MAIN */
  /****************/
}
.body-container > header {
  position: relative;
  border-bottom: 1px solid var(--palette-border-color);
  box-shadow: 0px 20px 9px -17px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 10000 !important;
  background: var(--palette-bg-color);
}
.body-container > header #style-controller > div {
  padding-left: 0;
  padding-right: 0;
}
.body-container > footer {
  border-top: 4px double;
}
.body-container > header nav .nav-menu,
.body-container > footer nav .nav-menu {
  display: flex;
  gap: 1em;
  height: 1em;
  padding: 0.5em 0;
}
.body-container > header nav .nav-menu .right,
.body-container > footer nav .nav-menu .right {
  display: flex;
  gap: 1em;
}
.body-container > header nav .nav-menu > *,
.body-container > header nav .nav-menu > .right > *,
.body-container > footer nav .nav-menu > *,
.body-container > footer nav .nav-menu > .right > * {
  font-size: 12px !important;
  letter-spacing: 2px;
  text-decoration: none;
}
[data-header-style=dynamic] .body-container > header,
[data-header-style=dynamic] .body-container > footer {
  border: 1px solid var(--palette-border-color);
  background: var(--palette-accent-light-bg-color);
  border-color: var(--palette-accent-border-color);
}
[data-header-style=dynamic] .body-container > header nav .nav-menu,
[data-header-style=dynamic] .body-container > footer nav .nav-menu {
  height: unset;
  padding: 0.5em 1em;
}
[data-header-style=dynamic] .body-container > header nav > *,
[data-header-style=dynamic] .body-container > header nav > .right > *,
[data-header-style=dynamic] .body-container > footer nav > *,
[data-header-style=dynamic] .body-container > footer nav > .right > * {
  letter-spacing: unset;
}
[data-header-style=dynamic] .body-container > header {
  border-top: 0;
}
[data-header-style=dynamic] .body-container > header #style-controller > div {
  padding-left: 1.2em;
  padding-right: 1.2em;
}
[data-header-style=dynamic] .body-container > footer {
  border-bottom: 0;
}
[data-header-style=dynamic][data-width=full] .body-container > header nav .nav-menu,
[data-header-style=dynamic][data-width=full] .body-container > footer nav .nav-menu {
  padding: 0.5em 2em;
}
[data-header-style=dynamic][data-width=full] .body-container > header,
[data-header-style=dynamic][data-width=full] .body-container > footer {
  border-left: 0;
  border-right: 0;
}
.body-container > main {
  min-width: 0;
  margin: 0 calc(2em - var(--side-margin) * 2);
  margin-bottom: 1em;
  /*display: grid;
  grid-auto-columns: minmax(0,1fr);*/
}

/**************/
/* CONTAINERS */
/**************/
.row, .col,
.row-2, .row-3 {
  display: grid;
  grid-gap: 1em;
}

.row, .row-2, .row-3 {
  grid-row-gap: 0;
}

.row {
  grid-auto-flow: column;
}

.row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col {
  grid-auto-flow: row;
}

.col > details:not(:first-child) {
  margin-top: 0;
}

@media only screen and (max-width: 750px) {
  header > nav > .nav-menu > a:nth-child(1n+4) {
    display: none;
  }
  footer > nav > .nav-menu > .right {
    display: none !important;
  }
  .row, .row-2 {
    display: block;
  }
}
.full-grid {
  max-height: 100vh;
  max-width: 100vw;
}

.full-grid > * {
  overflow: scroll;
}

/************/
/* HEADINGS */
/************/
h1.sol, h2.sol, h3.sol, h4.sol, h5.sol, h6.sol {
  margin: 0.8em 0 0;
  border: 0;
  border-bottom: 1px solid;
}

h1.dot, h2.dot, h3.dot, h4.dot, h5.dot, h6.dot {
  margin: 0.8em 0 0;
  border-bottom: 1px dotted;
}

h1.nob, h2.nob, h3.nob, h4.nob, h5.nob, h6.nob {
  margin: 0.8em 0 0;
}

/* row headings */
.post-col > h1 {
  margin-bottom: 0.2em;
  font-size: 1.7em;
}

/**********/
/* IMAGES */
/**********/
img {
  display: block;
  /*max-width: 95%;*/
  max-width: calc(100% - 2rem - 2px);
  max-height: min(30vh, 30rem);
  padding: 0.5rem;
  /*margin: auto;*/
  margin: 0.5rem auto;
  border: 1px solid var(--palette-accent-border-color);
  background: var(--palette-accent-bg-color);
}

.image-group {
  display: inline-flex;
  justify-content: center;
  margin: 2em auto;
}
.image-group figure {
  margin: auto 1em;
  flex: min-content;
}

/***********/
/* FIGURES */
/***********/
figure {
  border: 1px solid var(--palette-accent-border-color);
  margin: 2em 3em;
  background: var(--palette-accent-light-bg-color);
  display: flow-root;
}

figure.right {
  max-width: min(50%, 20rem);
  float: right;
  clear: right;
  margin: 1em 0 1em 2em;
}

figcaption {
  padding: 1em;
  font-style: italic;
  border-top: 1px solid var(--palette-accent-border-color);
  font-size: 0.88em;
}
figcaption > p {
  margin: 0;
}

li figure {
  max-width: min(95%, 60rem);
  margin: 2em auto;
  float: none;
}

/******************/
/* TABLE VARIANTS */
/******************/
table.right-left-col tr > td:first-child {
  text-align: right;
  font-size: 0.85em;
  white-space: nowrap;
  color: var(--palette-accent-light-text-color);
}

table.nostyle,
table.slim-accent {
  border: 0;
  font-size: revert;
}
table.nostyle tr,
table.slim-accent tr {
  border-bottom: 0;
}
table.nostyle th, table.nostyle td,
table.slim-accent th,
table.slim-accent td {
  padding: 0.15em 0.2em;
  line-height: 1em;
}
table.nostyle th:hover, table.nostyle td:hover,
table.slim-accent th:hover,
table.slim-accent td:hover {
  border: 0;
}
table.nostyle th:hover,
table.nostyle td:hover,
table.slim-accent th:hover,
table.slim-accent td:hover {
  background: none;
  color: none;
}

table.slim-accent {
  background: var(--palette-accent-light-bg-color);
  margin-top: 0.5em;
}
table.slim-accent th, table.slim-accent td {
  line-height: 1.25em;
  padding: 0.3em 0.5em;
}
table.slim-accent tr {
  border-bottom: 1px solid var(--palette-accent-border-color);
}
table.slim-accent tr td:first-child {
  text-align: right;
  font-size: 0.85em;
  white-space: nowrap;
  font-weight: bold;
}
table.slim-accent tr td:last-child {
  font-size: 0.95em;
  font-style: italic;
}
table.slim-accent tr:last-child {
  border-bottom: 0;
}

table.dot tr {
  border-bottom: 1px dotted;
}

table.display {
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
}
table.display thead tr th {
  text-align: left;
  border-bottom: 1px solid var(--palette-accent-border-color);
}
table.display tbody tr td {
  border-bottom: 1px solid var(--palette-accent-light-border-color);
}
table.display tbody tr:nth-child(even) td {
  background: var(--palette-accent-bg-color);
}

/**************/
/* DIFF TABLE */
/**************/
table.diff {
  font-family: Courier;
  border: 1px solid;
  width: 100%;
  word-wrap: anywhere;
}
table.diff tr {
  border-bottom: 0;
}
table.diff th, table.diff td {
  line-height: 1em;
  padding: 0.2em;
}

details table.diff {
  margin-top: 0.6em;
}

td.diff_header {
  text-align: right;
  word-wrap: normal;
}

.diff_header {
  background-color: #e0e0e0;
}

.diff_next {
  background-color: #c0c0c0;
}

.diff_add {
  background-color: #aaffaa;
}

.diff_chg {
  background-color: #ffff77;
}

.diff_sub {
  background-color: #ffaaaa;
}

/*****************/
/* DISPLAY TABLE */
/*****************/
.dtable .row {
  /* set left index width*/
  grid-template-columns: 0.2fr;
  /* evenly split remaining space in implicit grid */
  grid-auto-columns: 1fr;
}

/***************/
/* EXTRA LISTS */
/***************/
/* current workaround for nested spans in lists;
 * simply restores the unwanted match for wrapped nested spans
 * with both a parent and child holding a link, breaking the 
 * list chain and matching the generic rule 
 */
/*
span[id^="block-s@"] > ul > li:first-of-type {
    margin-top: 0.5em !important;
}
*/
/*:not(li) > ul > li:first-of-type,
:not(li) > ol > li:first-of-type {
    margin-top: 0 !important;
}*/
ul, ol {
  padding-left: 0;
}

li {
  margin-top: 0.5em;
  display: flow-root;
  padding-left: 1.8em;
  position: relative;
}
li > p, li > div > p {
  margin: 0;
}
li > div > p:not(:first-child) {
  margin-top: 0.5em;
}
li::before {
  position: absolute;
  left: 0.6rem;
}

ul > li::before {
  content: var(--list-item-1);
  top: -0.05rem;
}
ul > li :not(ol) > li::before {
  content: var(--list-item-2);
}
ul > li :not(ol) > li :not(ol) > li::before {
  content: var(--list-item-3);
}

ol li {
  counter-increment: list-item;
}
ol li::before {
  content: counter(list-item, decimal) ".";
}

ol[type=a] li::before {
  content: counter(list-item, lower-alpha) ".";
}

ol[type=i] li::before {
  content: counter(list-item, lower-roman) ".";
}

.flat-list li {
  margin-top: 0;
  padding-left: 0;
}
.flat-list li::before {
  content: "";
}

ul.post-list li {
  margin-top: 0.5em;
}

/* slimmer margin/padding */
ul.slim-list {
  margin: 0.8em 0;
  padding-left: 1.3em;
  list-style-type: circle;
}

.slim-list > li {
  margin-top: 0.25em;
}

/* flat to the left: no padding, no style type */
ul.flat-list {
  list-style-type: none;
  margin: 0.8em 0;
  padding-left: 0;
}

/*
ul.table-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul.table-list li {
    border-bottom: 1px solid;
    padding: 0.25rem 0;
}
ul.table-list li:last-child {
    border-bottom: 0;
}
ul.table-list a {
    text-decoration: none !important;
}*/
/********/
/* LOGO */
/********/
#logo {
  width: 23px;
  margin-top: 5px;
}

#logo:hover {
  background-size: 0% !important;
}

#pre-nav-items, #post-nav-items {
  /*position: fixed;
  right: 22px;
  top: 27px;*/
  margin-left: 1.1em;
  float: right;
}

/*************/
/* LINK TYPE */
/*************/
.note-type-label {
  padding: 0.1em 0.4em;
  font-size: 0.65em;
  border-radius: 2px;
  position: relative;
  float: right;
  top: 2px;
  font-style: italic;
}

/****************/
/* GRID DIVIDER */
/****************/
.gap-bar {
  margin-right: 50%;
  margin-top: 0.9em;
  display: none;
  border-right: none;
}

.gap-bar:hover {
  border-right: 4px double;
}

/**********/
/* SELECT */
/**********/
select.simple {
  background: none;
  border: 1px dotted;
  padding: 0;
}

/********/
/* TABS */
/********/
.tabs > .tab-nav {
  display: flex;
  gap: 1em;
  z-index: 1;
  padding-top: 1em;
  font-size: 0.7rem;
  /* active styles */
}
.tabs > .tab-nav button {
  border: 0;
  /*border-top     : 1px solid var(--palette-accent-border-color);*/
  border-bottom: 1px solid var(--palette-accent-border-color);
  padding: 0;
  border-radius: 0;
  font-family: inherit;
  background: none;
  transition: 0s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  text-align: left;
  color: var(--palette-accent-text-color);
}
.tabs > .tab-nav button:not([active]) {
  font-style: italic;
}
.tabs > .tab-nav button[active] {
  /*background  : var(--palette-accent-bg-color);*/
  font-weight: bold;
  border-color: black;
  color: black;
  flex: auto;
}
.tabs > .tab-nav button:hover {
  color: black;
  transition: 0s;
}
.tabs > .tab-nav button:not([active]):hover {
  /*border-left  : 1px dotted !important;
  border-right : 1px dotted !important;*/
}
.tabs > .tab-content:not([active]) {
  display: none;
}
.tabs .tabs .tab-nav {
  padding-top: 2px;
}
.tabs .tabs .tab-nav button {
  border-top: 0;
}

.tabs.expanding > .tab-nav {
  display: flex;
  /* active styles */
}
.tabs.expanding > .tab-nav button:not([active]) {
  font-style: italic;
  width: min-content;
}
.tabs.expanding > .tab-nav button[active] {
  /*background  : var(--palette-accent-bg-color);*/
  font-weight: bold;
  border-color: black;
  color: black;
  width: 100%;
}

.tabs-old > .tab-nav {
  display: grid;
  grid-gap: 0;
  grid-auto-flow: column;
  padding: 0.5rem 0 0em 0;
  z-index: 1;
  background: var(--palette-accent-bg-color);
  /* active styles */
}
.tabs-old > .tab-nav button {
  border: 0;
  border-bottom: 1px solid;
  border-radius: 0;
  font-family: inherit;
  background: none;
  transition: 0s;
  text-transform: uppercase;
  font-weight: bold;
}
.tabs-old > .tab-nav button[active] {
  border-top: 1px solid;
  border-bottom: 1px dotted;
  background: var(--palette-accent-border-color);
}
.tabs-old > .tab-nav button:hover {
  color: #000;
  transition: 0s;
}
.tabs-old > .tab-nav button:not([active]):hover {
  border-top: 1px dotted !important;
  border-left: 1px dotted !important;
  border-right: 1px dotted !important;
}
.tabs-old > .tab-content:not([active]) {
  display: none;
}

/***********/
/* WINDOWS */
/***********/
.free-win {
  background-color: var(--palette-accent-bg-color);
  border: 1px solid;
  margin-bottom: 0;
  padding: 0;
  top: 2em;
  width: 30vw;
  height: 30vh;
  overflow: hidden;
  position: absolute;
  resize: both;
}

.free-win-topbar {
  text-align: center;
  font-weight: bold;
  padding: 0.35em;
  border-bottom: 1px solid;
  z-index: 100;
}

.free-win-title {
  overflow-wrap: break-word;
}

.free-win-title,
.free-win-stick {
  z-index: 200;
}

/************/
/* CHECKBOX */
/************/
input[type=checkbox]:before {
  background-color: green;
}

input[type=checkbox]:checked {
  background-color: green;
}

/**********/
/* SEARCH */
/**********/
.search-bar {
  padding: 0.4em 0.6em;
  display: flex;
  gap: 0.35em;
  align-items: baseline;
}
.search-bar > span {
  white-space: nowrap;
}
.search-bar > input {
  background: transparent;
  width: 100%;
  height: 12px;
  border: 0;
  padding: 0.2em 0.1em;
  font-family: unset;
  border-bottom: 1px solid;
}
.search-bar > input:focus-visible {
  outline: none !important;
}

input.shadow {
  box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.12);
  display: block;
}

.block-wrapper div > p:first-child {
  margin-top: 0;
}

.block-wrapper div > p:last-child {
  margin-bottom: 0;
}

/********************/
/* LYRICS CONTAINER */
/********************/
figcaption > audio {
  width: 100%;
  display: block;
}

.rabbit-lyrics {
  font-family: jkp-mono;
}

/**************/
/* CONTAINERS */
/**************/
/* fixed height scrollables; use mh-x for custom spec */
[class*=mh-] {
  overflow: scroll;
}

.mh-25 {
  max-height: 25vh;
}

.mh-50 {
  max-height: 50vh;
}

.mh-75 {
  max-height: 75vh;
}

.fixed-scroll {
  overflow: auto;
  height: calc(100vh - 2rem - 2px);
}

.fixed-scroll::-webkit-scrollbar {
  display: none;
}

.hide-scroll {
  scrollbar-width: none;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

.thin-scroll {
  scrollbar-width: thin;
}

.dynamic-blur-before::before,
.dynamic-blur-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1em;
  backdrop-filter: blur(3px);
  z-index: 1000000;
}

.dynamic-blur-before::before {
  top: 0;
}

.dynamic-blur-after::after {
  bottom: 0;
  border-top: 1px dotted;
}

/**************/
/* HIGHLIGHTS */
/**************/
mark {
  color: var(--palette-blue-fg);
  background: var(--palette-blue-bg);
}

/************/
/* CAROUSEL */
/************/
.carousel {
  /*position: absolute;
  height: 300px;*/
  height: 75px;
  width: 100%;
  top: 60px;
  display: -webkit-box;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 6px 0;
  scrollbar-width: thin;
}

.carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.carousel.active {
  cursor: grabbing;
}

.carousel.expanded {
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.75);
  padding-left: 10%;
  padding-top: 18vh;
}

.inner-carousel-wrapper {
  display: inline-grid;
  width: 100%;
}

figure > .inner-carousel-wrapper {
  width: 96% !important;
  padding: 2%;
  display: grid;
}

.carousel img {
  pointer-events: none;
  padding: 0 !important;
  max-width: none;
  max-height: 100%;
  user-select: none;
  margin: 0;
  border: 0;
}

.carousel.expanded > .card {
  width: 50em;
  height: auto;
}

.carousel .card {
  display: flex;
  /*height: 280px;*/
  height: 100%;
  /*border-radius: 10px;*/
  box-shadow: -10px 0px 30px -22px #000;
  /*   margin-left: -50px; */
  /*transition: 0.4s ease-out;*/
  position: relative;
  left: 0px;
  border: 1px solid var(--palette-accent-border-color);
}

/*.carousel .card:first-child {
    margin-left: 0;
    left: 0 ;
}*/
.carousel .card:not(:first-child) {
  /*margin-left: -1%;*/
  margin-left: -5px;
}

.carousel .card:not(:first-child) {
  transform: rotate(2deg);
}

.carousel .card:hover {
  transform: translateY(-4px);
  /*transition: 0.4s ease-out;*/
  border: 1px solid var(--palette-border-color);
  z-index: 100;
}

.carousel .card:hover ~ .card {
  position: relative;
  /*left: 1%;*/
  left: 5px;
  /*transition: 0.3s ease-out;*/
}

.carousel .card.expanded:before {
  content: "";
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: -1;
  left: 0;
  top: 0;
  box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.4);
}

.carousel .card.expanded:hover {
  transition: 0s;
}

.carousel .card.expanded {
  position: absolute;
  z-index: 100;
  transform: none;
  max-width: min(50vw, 50vh);
  max-height: min(50vw, 50vh);
}

:root {
  --details-marker-closed: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0 0, 8 4, 0 8'/%3E%3C/svg%3E%0A");
  --details-marker-opened: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0 0, 8 0, 4 8'/%3E%3C/svg%3E%0A");
}

/*****************/
/* DETAILS/TASKS */
/*****************/
details:not(.nomarker) > summary::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: scale(0.88);
  mask-image: var(--details-marker-closed);
  -webkit-mask: var(--details-marker-closed);
  margin-right: 1px;
  background-color: currentColor;
  flex-shrink: 0;
  margin-top: 1px;
}
details[open]:not(.nomarker) > summary::before {
  mask-image: var(--details-marker-opened);
  -webkit-mask: var(--details-marker-opened);
}

details[open] > summary,
div.section > summary {
  border-bottom: 1px solid;
  margin-bottom: 0.5em;
}

div.section,
details {
  margin-top: 0.75em;
  background: var(--palette-details-bg);
  padding: 0.8em 1.2em;
  border-radius: 0px;
  /* Details style variants */
  /* sticky heuristics; move padding to summary basically */
  /*& details.sticky-child {
      margin-top: 0;
  }*/
  /* Task variants (in-doc and outside) */
  /* note that the height over the outer details ensures no overflow management is required;
   * the overflow is managed by the internal div, taking on the scrolling responsibility
   *
   * also: this outer height is just a default one that accounts for the headers/footers in
   * most page items for the site. You should be able to set the height manually in specific
   * use cases (say you want only a half cut of the page) and the inner div should adjust
   * given it's a) percentage-based, and b) accounts for a known summary height and bottom
   * padding.
   */
  /* these tiny bottom pixels ensure the summary items don't leak into the main div and chop
   * off width. Tends to be okay as padding, softening up those rough edges where we have
   * forms and buttons and so on in the summary.
   */
  /* prevent pointer-events on summary element itself, but allow pass through to children */
  /* flat style */
  /*details.flat {
      border-radius: 0;
      padding: 0;
      background: none;
      border: 1px solid;
      box-shadow: 2px 2px #ddd;
  }
  details.flat > summary {
      padding: 0.5rem 0.8rem 0.4rem 0.8rem;
      margin: 0;
      list-style-type: none;
  }
  details[open].flat > summary {
      background: var(--accent-bg);
      border-bottom: 1px solid black;
  }
  details.flat > .flat-wrap {
      padding: 0.5rem 0.8rem 0.4rem 0.8rem;
  }

  details.flat.dark > summary {
      background: black;
      color: white;
  }
  details.flat.dark > summary > * {
      color: white;
  }*/
}
div.section > summary,
details > summary {
  font-weight: bold;
  word-wrap: break-word;
  display: flex;
  gap: 0.5em;
  align-items: center;
  padding: 1px 0;
  list-style-type: none;
}
div.section > summary > div,
details > summary > div {
  display: flex;
  gap: 0.25em;
}
div.section > summary > div.right,
details > summary > div.right {
  margin-left: auto;
}
div.section.sol-top,
details.sol-top {
  border-top: 1px solid;
}
div.section.nosize[open],
details.nosize[open] {
  margin-bottom: 0.5em;
}
div.section.listing > *:not(summary),
details.listing > *:not(summary) {
  margin-left: 1em;
}
div.section[open].listing,
details[open].listing {
  margin-bottom: 0.5em;
}
div.section.summary-nobot > summary,
details.summary-nobot > summary {
  margin-bottom: 0;
}
div.section.sticky-child,
details.sticky-child {
  padding-top: 0;
}
div.section.sticky-child > summary,
details.sticky-child > summary {
  padding-top: 1em;
}
div.section.sticky-child.slim > summary, div.section.sticky-child.nopad > summary,
details.sticky-child.slim > summary,
details.sticky-child.nopad > summary {
  padding-top: 0.2em;
}
div.section.sticky-child.nosize > summary,
details.sticky-child.nosize > summary {
  padding-top: 1px;
}
div.section.nostyle,
details.nostyle {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
div.section.nostyle > summary,
details.nostyle > summary {
  border: 0;
  font-weight: normal;
}
div.section.nosummary > summary,
details.nosummary > summary {
  border: 0;
  margin: 0;
}
div.section.inv-summary > summary,
details.inv-summary > summary {
  display: none;
}
div.section.nomarker > summary,
details.nomarker > summary {
  list-style-type: none;
}
div.section.tasks,
details.tasks {
  background: var(--base-task-details-bg);
}
div.section.fixed-summary,
details.fixed-summary {
  height: calc(100vh - 11em);
}
div.section.fixed-summary > summary,
details.fixed-summary > summary {
  margin-bottom: 1px;
  padding-bottom: 1px;
}
div.section.fixed-summary > div,
details.fixed-summary > div {
  height: calc(100% - 19px);
  overflow: scroll;
}
div.section.noclose > summary,
details.noclose > summary {
  pointer-events: none;
}
div.section.noclose > summary > *,
details.noclose > summary > * {
  pointer-events: all;
}
.flex-pack div.section, .flex-list div.section,
.flex-pack details,
.flex-list details {
  margin-top: 0 !important;
  position: relative;
}
div.section.flat,
details.flat {
  padding: 0;
}
div.section.flat > summary,
details.flat > summary {
  padding: 0.5em 0.6em;
}
div.section.flat > div,
details.flat > div {
  padding: 0 0.6em 0.5em;
}

.box {
  border-radius: 2px;
  font-size: 10px;
  padding: 1px 4px;
  position: relative;
  /*margin-right: 0.4em;*/
  --default-box: 0,0,0,0.3;
}

.flex-pack,
.flex-list {
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.flex-pack {
  display: flex;
  flex-wrap: wrap;
}

.flex-list {
  display: flex;
  flex-direction: column;
}

/* don't actually want the vertical flex fill in list mode; just
 * set inline-block for the members
 */
.flex-pack > *,
.flex-list > * {
  display: flow-root;
  flex: auto;
  flex-basis: auto;
}

.flex-row, .flex-col {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-row > *,
.flex-col > * {
  /*flex: auto;*/
}

.flex-pack > .fp-lvl-1 {
  flex: 35rem;
}

.flex-pack > .fp-lvl-2 {
  /* set according to dynamic flex on lvl 1 of flex pack, should be (close to) a
   * multiple of the multiplicate factor BUT slightly smaller to allow fitting with
   * non-zero padding
   */
  flex: 16rem;
}

.flex-pack details:not([open]) {
  flex: auto !important;
}

.flex-grow {
  flex-grow: 1;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
}

.lds-ripple div {
  position: absolute;
  border: 2px solid #000;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 9px;
    left: 9px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 9px;
    left: 9px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 9px;
    left: 9px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 18px;
    height: 18px;
    opacity: 0;
  }
}
/* pulser */
.spinner {
  width: 20px;
  height: 20px;
  background-color: #000;
  display: inline-block;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
/* chase dots */
.sk-chase {
  width: 1em;
  height: 1em;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
  display: inline-block;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
  content: "";
  display: block;
  width: 25%;
  height: 25%;
  background-color: #000;
  border-radius: 100%;
  animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
  animation-delay: -1s;
}

.sk-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
  animation-delay: -1s;
}

.sk-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes sk-chase {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes sk-chase-dot {
  80%, 100% {
    transform: rotate(360deg);
  }
}
@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4);
  }
  100%, 0% {
    transform: scale(1);
  }
}
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    /*box-shadow: 0 0 0 0 rgba(var(--palette-red-rgb), 0.7);*/
    box-shadow: 0 0 0 0 var(--palette-red-fg);
  }
  20% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(var(--palette-red-rgb), 0);
  }
  50% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(var(--palette-red-rgb), 0);
  }
}
.blob {
  background: black;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(0, 0, 0);
  margin: 0 8px;
  height: 8px;
  width: 8px;
  transform: scale(1);
  /*float:right;*/
  display: inline-block;
}

.blob.red {
  background: var(--palette-red);
  box-shadow: 0 0 0 0 var(--palette-red);
  animation: pulse-red 5s infinite;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 4s linear infinite;
  -moz-animation: rotating 4s linear infinite;
  -ms-animation: rotating 4s linear infinite;
  -o-animation: rotating 4s linear infinite;
  animation: rotating 4s linear infinite;
}

/**
 * Global modifiers for site-wide elements
 */
.sol {
  border: 1px solid !important;
}

.dot {
  border: 1px dotted !important;
}

.sol-top {
  border-top: 1px solid !important;
}

.dot-top {
  border-top: 1px dotted !important;
}

.sol-bot {
  border-bottom: 1px solid !important;
}

.dot-bot {
  border-bottom: 1px dotted !important;
}

.sharp {
  border-radius: 0px !important;
}

.clear {
  background: none !important;
}

.shadow {
  box-shadow: 2px 2px #ddd;
}

.full-margin {
  margin-top: 1em !important;
}

.half-margin {
  margin-top: 0.5em !important;
}

.full-pad, .pad {
  padding: 1em 1.2em !important;
}

.half-pad {
  padding: 0.5em 0.6em !important;
}

.nopad {
  padding: 0 !important;
}

.slim {
  padding: 0.4em 0.6em !important;
}

.full-gap {
  gap: 1em !important;
}

.half-gap {
  gap: 0.5em !important;
}

.zero-gap {
  gap: 0 !important;
}

.nomargin {
  margin: 0 !important;
}

.nosize {
  margin: 0 !important;
  padding: 0 !important;
}

.small-title {
  font-size: 0.7rem !important;
  letter-spacing: 1px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
}

.accent {
  color: var(--palette-accent-text-color) !important;
  border-color: var(--palette-accent-border-color) !important;
  background-color: var(--palette-accent-bg-color) !important;
}

.light-accent {
  color: var(--palette-accent-light-text-color) !important;
  border-color: var(--palette-accent-light-border-color) !important;
  background-color: var(--palette-accent-light-bg-color) !important;
}

.dark-accent {
  color: var(--palette-accent-dark-text-color) !important;
  border-color: var(--palette-accent-dark-border-color) !important;
  background-color: var(--palette-accent-dark-bg-color) !important;
}

.hl-bold b {
  color: var(--palette-blue) !important;
}

.right {
  float: right !important;
  margin-left: auto !important;
}

.mono {
  font-family: jkp-mono;
  font-style: italic;
  line-height: 1.36em;
}

/*# sourceMappingURL=page.css.map */
