/* (c) Innings2, generated by Mathigon Studio */
@charset "UTF-8";
x-relation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 680px;
  margin: 1.5em auto;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
x-relation .item {
  background: #f5f5f6;
  border: 1px solid #ccc;
  padding: 3px 12px;
  margin: 6px 0;
  border-radius: 4px;
}
x-relation .item.active {
  background: #e1e1e1;
}
x-relation .item img, x-relation .item svg, x-relation .item object {
  width: 100%;
  pointer-events: none;
}
x-relation .domain, x-relation .range {
  width: 33.333%;
}
x-relation .domain .item {
  cursor: pointer;
}
x-relation svg.connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
x-relation .connections line {
  stroke: #656073;
  stroke-width: 4px;
  stroke-linecap: round;
}
x-relation .line_red {
  stroke: #cd0e66 !important;
  stroke-width: 4px;
  stroke-linecap: round;
}
x-relation .line_green {
  stroke: #22ab24 !important;
  stroke-width: 4px;
  stroke-linecap: round;
}

x-quiz {
  display: block;
}
x-quiz .quizcard {
  width: 100%;
}
x-quiz .question {
  display: none;
  font-size: 1.2em;
}
x-quiz .question .correct_answer {
  display: none;
}
x-quiz .question .answers {
  margin-top: 40px;
  list-style: none;
}
x-quiz .question .answers li {
  padding: 0;
  margin: 0px;
  border: 1px solid rgba(33, 36, 44, 0.64);
  border-right: 0px;
  border-left: 0px;
  padding: 5px;
}
x-quiz .question .answers li:hover {
  background-color: #e5e5e5;
}
x-quiz .question .answers li.active {
  background-color: #e5e5e5;
}
x-quiz .question .hint {
  margin-top: 20px;
  font-size: 0.9em;
  color: #555;
}
x-quiz .nav {
  height: 40px;
  position: relative;
}
x-quiz .dots {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
x-quiz .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(24, 24, 36, 0.2);
  float: left;
  margin: 4px;
  transition: background 0.2s;
}
html[theme=dark] x-quiz .dot {
  background: rgba(255, 255, 255, 0.4);
}
x-quiz .dot.on {
  background: rgba(0, 0, 0, 0.8);
}
html[theme=dark] x-quiz .dot.on {
  background: white;
}

x-buckets {
  display: block;
  margin: 1.5em 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: #333;
  width: 100%;
}
x-buckets .inputs, x-buckets .bucket {
  position: relative;
}
x-buckets .inputs > *, x-buckets .bucket > * {
  position: absolute;
}
x-buckets .inputs {
  z-index: 1;
  width: 100%;
  min-height: 50px;
}
x-buckets .buckets {
  display: flex;
  margin: 0 -8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
x-buckets .input {
  cursor: move;
  background: rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
  padding: 5px 12px;
  margin: 6px 0;
  border-radius: 4px;
  width: 180px;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  transition: left 0.2s, top 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
x-buckets .input.touch-device {
  /* Increase tap target size on touch devices */
  padding: 8px 12px;
}
x-buckets .inputs .input {
  background: #c5c2cc;
}
x-buckets .input.error {
  background: #e9b0cb;
  color: #cd0e66;
}
x-buckets .input.correct {
  background: #b6dfb7;
  color: #22ab24;
}
x-buckets .input.active {
  z-index: 10; /* Ensure active items appear on top */
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
  color: inherit;
}
x-buckets .bucket {
  width: 200px;
  border-radius: 8px;
  margin: 6px;
  position: relative;
  padding-bottom: 6px;
  background: #3a3645;
  transition: box-shadow 0.2s;
}
x-buckets .bucket .title {
  text-align: center;
  font-weight: 600;
  margin-top: 8px;
  color: white;
}
x-buckets .bucket.active {
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.4);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  x-buckets .bucket {
    width: 180px; /* Slightly smaller buckets on tablets */
    margin: 4px;
  }
  x-buckets .input {
    width: 160px; /* Slightly smaller input items */
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  x-buckets .buckets {
    margin: 0 -4px;
  }
  x-buckets .bucket {
    width: calc(50% - 8px); /* Half width minus margins on mobile */
    min-width: 140px; /* Ensure minimum readable width */
    margin: 4px;
  }
  x-buckets .bucket .title {
    font-size: 14px;
    margin-top: 6px;
  }
  x-buckets .input {
    width: 140px; /* Smaller input items on mobile */
    font-size: 14px;
    padding: 6px 8px;
    margin: 4px 0;
  }
  x-buckets .input.active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); /* Smaller shadow on mobile */
  }
}
/* Extra small devices */
@media (max-width: 360px) {
  x-buckets .bucket {
    width: 100%; /* Full width on very small devices */
    max-width: 260px;
    margin: 4px auto;
  }
  x-buckets .input {
    width: 130px;
    font-size: 13px;
  }
}
.days input, .data_timer input {
  background: white;
  padding: 4px 8px;
  margin: -4px -4px 8px;
  border-radius: 4px;
  width: 120px;
}

.cen {
  text-align: center; /* Center the SVG horizontally */
  display: flex;
  justify-content: center; /* Center the SVG vertically */
  align-items: center;
}

.number-b {
  display: inline-block;
  text-align: center;
  line-height: 30px;
  min-width: 20px;
  padding: 0 5px;
  border-radius: 20px;
  background: #cd0e66;
  color: white;
  position: relative;
}
.number-b.blue {
  background: #0f82f2;
}
.number-b.green {
  background: #22ab24;
}
.number-b.yellow {
  background: #fd8c00;
}
.number-b.red {
  background: #cd0e66;
}
.number-b.l-blue {
  background: rgba(15, 130, 242, 0.4);
}
.number-b.l-green {
  background: rgba(34, 171, 36, 0.4);
}
.number-b.l-yellow {
  background: rgba(253, 140, 0, 0.4);
}
.number-b.l-blue-green {
  background: linear-gradient(to bottom right, rgba(15, 130, 242, 0.4) 50%, rgba(34, 171, 36, 0.4) 50%);
}
.number-b.small {
  padding: 0;
  width: 24px;
  line-height: 24px;
  font-size: 1em;
  margin: -6px 1px;
}
.number-b.blue.cross {
  position: relative;
  background: rgba(15, 130, 242, 0.3);
}
.number-b.cross:after {
  content: "";
  width: 150%;
  height: 2px;
  background: #c00;
  position: absolute;
  left: -25%;
  top: 50%;
  transform: rotate(-45deg);
  margin-top: -1px;
}
.number-b.l:before, .number-b.l:after {
  content: " ";
  display: block;
  position: absolute;
  width: 310px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l:before {
  transform: rotate(90deg);
  top: 182px;
  right: -140px;
}
.number-b.l:after {
  transform: rotate(180deg);
  top: 335px;
  left: 17px;
}
.number-b.l1:before, .number-b.l1:after {
  content: " ";
  display: block;
  position: absolute;
  width: 42px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l1:before {
  transform: rotate(90deg);
  top: 48px;
  right: -5px;
}
.number-b.l1:after {
  transform: rotate(180deg);
  top: 67px;
  left: 14px;
}
.number-b.l2:before, .number-b.l2:after {
  content: " ";
  display: block;
  position: absolute;
  width: 77px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l2:before {
  transform: rotate(90deg);
  top: 66px;
  right: -24px;
}
.number-b.l2:after {
  transform: rotate(180deg);
  top: 106px;
  left: 13px;
}
.number-b.l3:before, .number-b.l3:after {
  content: " ";
  display: block;
  position: absolute;
  width: 118px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l3:before {
  transform: rotate(90deg);
  top: 86px;
  right: -43px;
}
.number-b.l3:after {
  transform: rotate(180deg);
  top: 143px;
  left: 13px;
}
.number-b.l4:before, .number-b.l4:after {
  content: " ";
  display: block;
  position: absolute;
  width: 156px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l4:before {
  transform: rotate(90deg);
  top: 105px;
  right: -63px;
}
.number-b.l4:after {
  transform: rotate(180deg);
  top: 181px;
  left: 13px;
}
.number-b.l5:before, .number-b.l5:after {
  content: " ";
  display: block;
  position: absolute;
  width: 193px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l5:before {
  transform: rotate(90deg);
  top: 124px;
  right: -81px;
}
.number-b.l5:after {
  transform: rotate(180deg);
  top: 220px;
  left: 12px;
}
.number-b.l6:before, .number-b.l6:after {
  content: " ";
  display: block;
  position: absolute;
  width: 232px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l6:before {
  transform: rotate(90deg);
  top: 144px;
  right: -101px;
}
.number-b.l6:after {
  transform: rotate(180deg);
  top: 257px;
  left: 14px;
}
.number-b.l7:before, .number-b.l7:after {
  content: " ";
  display: block;
  position: absolute;
  width: 273px;
  height: 5px;
  background: #c5c2cc;
}
.number-b.l7:before {
  transform: rotate(90deg);
  top: 163px;
  right: -121px;
}
.number-b.l7:after {
  transform: rotate(180deg);
  top: 297px;
  left: 16px;
}

.gap {
  height: 10px;
}

.height1 {
  height: 0px;
}

.height2 {
  height: 50px;
}

x-sortable-horizontal, x-exchange-digits {
  display: block;
  margin: 1.5em;
  max-height: 160px;
  position: relative;
}
x-sortable-horizontal > *, x-exchange-digits > * {
  background: #0f82f2;
  border-radius: 4px;
  color: white;
  cursor: grab;
  left: 0;
  top: 0;
  padding: 8px 28px 8px 20px;
  position: absolute;
  transition: opacity 0.1s, box-shadow 0.1s;
}
x-sortable-horizontal > *:active, x-exchange-digits > *:active {
  cursor: grabbing;
  z-index: 100;
}
x-sortable-horizontal > *:after, x-exchange-digits > *:after {
  content: "…";
  position: absolute;
  right: 0;
  transform: rotate(90deg);
  top: 7px;
}
x-sortable-horizontal:active > *, x-exchange-digits:active > * {
  opacity: 0.6;
}
x-sortable-horizontal > *:active, x-exchange-digits > *:active {
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
x-sortable-horizontal.solved > *, x-sortable-horizontal.solved:active > *, x-sortable-horizontal.solved > *:active, x-exchange-digits.solved > *, x-exchange-digits.solved:active > *, x-exchange-digits.solved > *:active {
  background: none;
  padding: 7px 27px 7px 19px;
  border: 1px solid #0f82f2;
  cursor: default;
  color: inherit;
  opacity: 1;
  box-shadow: none;
}
x-sortable-horizontal.solved > *:after, x-sortable-horizontal.solved:active > *:after, x-sortable-horizontal.solved > *:active:after, x-exchange-digits.solved > *:after, x-exchange-digits.solved:active > *:after, x-exchange-digits.solved > *:active:after {
  display: none;
}

.in-put {
  border: solid skyblue !important;
  margin: 0;
  padding: 0;
  width: 80px !important;
}

x-step td {
  text-align: left;
}

.m-l {
  margin-left: 100px;
}

.ten {
  display: block;
  width: 70px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border: 2px solid black;
  border-radius: 85px;
  display: flex;
  color: #000;
  margin-bottom: 2px;
}
.ten:after {
  content: "||||||||||";
}

.seven {
  display: block;
  width: 80px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border-radius: 85px;
  display: flex;
  color: #000;
}
.seven:after {
  content: "|||||||";
}

.three {
  display: flex;
  width: 80px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border-radius: 85px;
  display: flex;
  color: #000;
}
.three:after {
  content: "|||";
}

.one {
  display: flex;
  width: 80px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border-radius: 85px;
  display: flex;
  color: #000;
}
.one:after {
  content: "|";
}

.two {
  display: flex;
  width: 80px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border-radius: 85px;
  display: flex;
  color: #000;
}
.two:after {
  content: "||";
}

.four {
  display: flex;
  width: 80px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border-radius: 85px;
  display: flex;
  color: #000;
}
.four:after {
  content: "||||";
}

.five {
  display: block;
  width: 70px;
  height: 30px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  border: 2px solid black;
  border-radius: 85px;
  display: flex;
  color: #000;
  margin-bottom: 2px;
}
.five:after {
  content: "|||||";
}

.five-diagonal-cross {
  position: relative;
  width: 50px;
  font-size: 24px;
  height: 50px;
  background: linear-gradient(to bottom right, transparent 46%, black 46%, black 55%, transparent 55%);
}
.five-diagonal-cross:after {
  content: "||||";
}

.input-container {
  background-color: aliceblue;
  text-align: center;
  max-width: 150px;
}

.input-container-small {
  background-color: rgb(224, 237, 182);
  margin: 10px 10px 10px 25px;
  text-align: center;
  max-width: 100px;
  border-radius: 15px;
}

x-picker .item {
  border: 4px solid #ecd1ff;
  border-radius: 8px;
  cursor: pointer;
  margin: 4px;
  position: relative;
  transition: border 0.2s, opacity 0.2s;
  width: 150px;
}

x-picker .item.correct {
  border-color: #22ab24;
  cursor: default;
}