/*
Please read: https://github.com/antfu/unocss/blob/main/packages/reset/tailwind-compat.md
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/

html {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  /*will affect the button style of most component libraries, so disable it*/
  /*https://github.com/unocss/unocss/issues/2127*/
  /*background-color: transparent; !* 2 *!*/
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}

/* src/player/index.css */
*,
::before,
::after {
  --un-rotate:0;
  --un-rotate-x:0;
  --un-rotate-y:0;
  --un-rotate-z:0;
  --un-scale-x:1;
  --un-scale-y:1;
  --un-scale-z:1;
  --un-skew-x:0;
  --un-skew-y:0;
  --un-translate-x:0;
  --un-translate-y:0;
  --un-translate-z:0;
  --un-pan-x: ;
  --un-pan-y: ;
  --un-pinch-zoom: ;
  --un-scroll-snap-strictness:proximity;
  --un-ordinal: ;
  --un-slashed-zero: ;
  --un-numeric-figure: ;
  --un-numeric-spacing: ;
  --un-numeric-fraction: ;
  --un-border-spacing-x:0;
  --un-border-spacing-y:0;
  --un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);
  --un-ring-shadow:0 0 rgb(0 0 0 / 0);
  --un-shadow-inset: ;
  --un-shadow:0 0 rgb(0 0 0 / 0);
  --un-ring-inset: ;
  --un-ring-offset-width:0px;
  --un-ring-offset-color:#fff;
  --un-ring-width:0px;
  --un-ring-color:rgb(147 197 253 / 0.5);
  --un-blur: ;
  --un-brightness: ;
  --un-contrast: ;
  --un-drop-shadow: ;
  --un-grayscale: ;
  --un-hue-rotate: ;
  --un-invert: ;
  --un-saturate: ;
  --un-sepia: ;
  --un-backdrop-blur: ;
  --un-backdrop-brightness: ;
  --un-backdrop-contrast: ;
  --un-backdrop-grayscale: ;
  --un-backdrop-hue-rotate: ;
  --un-backdrop-invert: ;
  --un-backdrop-opacity: ;
  --un-backdrop-saturate: ;
  --un-backdrop-sepia: ;
}
::backdrop {
  --un-rotate:0;
  --un-rotate-x:0;
  --un-rotate-y:0;
  --un-rotate-z:0;
  --un-scale-x:1;
  --un-scale-y:1;
  --un-scale-z:1;
  --un-skew-x:0;
  --un-skew-y:0;
  --un-translate-x:0;
  --un-translate-y:0;
  --un-translate-z:0;
  --un-pan-x: ;
  --un-pan-y: ;
  --un-pinch-zoom: ;
  --un-scroll-snap-strictness:proximity;
  --un-ordinal: ;
  --un-slashed-zero: ;
  --un-numeric-figure: ;
  --un-numeric-spacing: ;
  --un-numeric-fraction: ;
  --un-border-spacing-x:0;
  --un-border-spacing-y:0;
  --un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);
  --un-ring-shadow:0 0 rgb(0 0 0 / 0);
  --un-shadow-inset: ;
  --un-shadow:0 0 rgb(0 0 0 / 0);
  --un-ring-inset: ;
  --un-ring-offset-width:0px;
  --un-ring-offset-color:#fff;
  --un-ring-width:0px;
  --un-ring-color:rgb(147 197 253 / 0.5);
  --un-blur: ;
  --un-brightness: ;
  --un-contrast: ;
  --un-drop-shadow: ;
  --un-grayscale: ;
  --un-hue-rotate: ;
  --un-invert: ;
  --un-saturate: ;
  --un-sepia: ;
  --un-backdrop-blur: ;
  --un-backdrop-brightness: ;
  --un-backdrop-contrast: ;
  --un-backdrop-grayscale: ;
  --un-backdrop-hue-rotate: ;
  --un-backdrop-invert: ;
  --un-backdrop-opacity: ;
  --un-backdrop-saturate: ;
  --un-backdrop-sepia: ;
}
[type=text],
[type=email],
[type=url],
[type=password],
[type=number],
[type=date],
[type=datetime-local],
[type=month],
[type=search],
[type=tel],
[type=time],
[type=week],
[multiple],
textarea,
select {
  appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --un-shadow: 0 0 #0000;
}
[type=text]:focus,
[type=email]:focus,
[type=url]:focus,
[type=password]:focus,
[type=number]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=month]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=time]:focus,
[type=week]:focus,
[multiple]:focus,
textarea:focus,
select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --un-ring-inset: var(--un-empty, );
  --un-ring-offset-width: 0px;
  --un-ring-offset-color: #fff;
  --un-ring-color: #2563eb;
  --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);
  --un-ring-shadow: var(--un-ring-inset) 0 0 0 calc(1px + var(--un-ring-offset-width)) var(--un-ring-color);
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
  border-color: #2563eb;
}
input::placeholder,
textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-date-and-time-value {
  min-height: 1.5em;
}
::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  print-color-adjust: exact;
}
[multiple] {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  print-color-adjust: unset;
}
[type=checkbox],
[type=radio] {
  appearance: none;
  padding: 0;
  print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --un-shadow: 0 0 #0000;
}
[type=checkbox] {
  border-radius: 0;
}
[type=radio] {
  border-radius: 100%;
}
[type=checkbox]:focus,
[type=radio]:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --un-ring-inset: var(--un-empty, );
  --un-ring-offset-width: 2px;
  --un-ring-offset-color: #fff;
  --un-ring-color: #2563eb;
  --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);
  --un-ring-shadow: var(--un-ring-inset) 0 0 0 calc(2px + var(--un-ring-offset-width)) var(--un-ring-color);
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
[type=checkbox]:checked,
[type=radio]:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type=checkbox]:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
[type=radio]:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
[type=checkbox]:checked:hover,
[type=checkbox]:checked:focus,
[type=radio]:checked:hover,
[type=radio]:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type=checkbox]:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type=checkbox]:indeterminate:hover,
[type=checkbox]:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type=file] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}
[type=file]:focus {
  outline: 1px solid ButtonText, 1px auto -webkit-focus-ring-color;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.visible {
  visibility: visible;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.inset-0 {
  inset: 0;
}
[start~="[round.id]"] {
  inset-inline-start: round.id;
}
.-top-2 {
  top: -0.5rem;
}
.bottom-0 {
  bottom: 0;
}
.bottom-7 {
  bottom: 1.75rem;
}
.left-0 {
  left: 0;
}
.left-1\/2 {
  left: 50%;
}
.right-0 {
  right: 0;
}
.top-0 {
  top: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.grid,
[grid=""] {
  display: grid;
}
.grid-cols-25 {
  grid-template-columns: repeat(25, minmax(0, 1fr));
}
[rows~="1"] {
  grid-template-rows: repeat(1, minmax(0, 1fr));
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-1\/2 {
  margin-left: 50%;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.ms {
  margin-inline-start: 1rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.inline {
  display: inline;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.hidden {
  display: none;
}
.h-12 {
  height: 3rem;
}
.h-2 {
  height: 0.5rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.min-h-screen {
  min-height: 100vh;
}
.w-12 {
  width: 3rem;
}
.w-128 {
  width: 32rem;
}
.w-2\/3 {
  width: 66.6666666667%;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-8\.5 {
  width: 2.125rem;
}
.w-9 {
  width: 2.25rem;
}
.w-92 {
  width: 23rem;
}
.w-full {
  width: 100%;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-col {
  flex-direction: column;
}
.table {
  display: table;
}
.-translate-x-1\/2 {
  --un-translate-x:-50%;
  transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));
}
.transform {
  transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.resize-none {
  resize: none;
}
.appearance-none {
  -webkit-appearance: none;
  appearance: none;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --un-space-x-reverse:0;
  margin-left: calc(0.25rem * calc(1 - var(--un-space-x-reverse)));
  margin-right: calc(0.25rem * var(--un-space-x-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --un-space-y-reverse:0;
  margin-top: calc(0.5rem * calc(1 - var(--un-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--un-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --un-space-y-reverse:0;
  margin-top: calc(1.5rem * calc(1 - var(--un-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--un-space-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.b,
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-l {
  border-left-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-300 {
  --un-border-opacity:1;
  border-color: rgb(209 213 219 / var(--un-border-opacity));
}
.border-gray-400 {
  --un-border-opacity:1;
  border-color: rgb(156 163 175 / var(--un-border-opacity));
}
.border-transparent {
  border-color: transparent;
}
.focus\:border-empirica-500:focus {
  --un-border-opacity:1;
  border-color: rgb(35 127 225 / var(--un-border-opacity));
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.border-dashed {
  border-style: dashed;
}
.border-none {
  border-style: none;
}
.bg-empirica-50 {
  --un-bg-opacity:1;
  background-color: rgb(251 252 254 / var(--un-bg-opacity));
}
.bg-empirica-500 {
  --un-bg-opacity:1;
  background-color: rgb(35 127 225 / var(--un-bg-opacity));
}
.bg-empirica-600 {
  --un-bg-opacity:1;
  background-color: rgb(25 102 184 / var(--un-bg-opacity));
}
.bg-gray-100 {
  --un-bg-opacity:1;
  background-color: rgb(243 244 246 / var(--un-bg-opacity));
}
.bg-gray-200 {
  --un-bg-opacity:1;
  background-color: rgb(229 231 235 / var(--un-bg-opacity));
}
.bg-gray-200\/50 {
  background-color: rgb(229 231 235 / 0.5);
}
.bg-gray-300 {
  --un-bg-opacity:1;
  background-color: rgb(209 213 219 / var(--un-bg-opacity));
}
.bg-gray-400 {
  --un-bg-opacity:1;
  background-color: rgb(156 163 175 / var(--un-bg-opacity));
}
.bg-gray-500 {
  --un-bg-opacity:1;
  background-color: rgb(107 114 128 / var(--un-bg-opacity));
}
.bg-green-100 {
  --un-bg-opacity:1;
  background-color: rgb(220 252 231 / var(--un-bg-opacity));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --un-bg-opacity:1;
  background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.hover\:bg-empirica-700:hover {
  --un-bg-opacity:1;
  background-color: rgb(18 75 135 / var(--un-bg-opacity));
}
.hover\:bg-gray-200:hover {
  --un-bg-opacity:1;
  background-color: rgb(229 231 235 / var(--un-bg-opacity));
}
.hover\:bg-gray-300:hover {
  --un-bg-opacity:1;
  background-color: rgb(209 213 219 / var(--un-bg-opacity));
}
.bg-opacity-50 {
  --un-bg-opacity:0.5;
}
.bg-opacity-75 {
  --un-bg-opacity:0.75;
}
.fill-current {
  fill: currentColor;
}
.stroke-current {
  stroke: currentColor;
}
[stroke~="#838383"] {
  --un-stroke-opacity:1;
  stroke: rgb(131 131 131 / var(--un-stroke-opacity));
}
[stroke~=none] {
  stroke: none;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-2 {
  padding: 0.5rem;
}
.px,
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-2\.5 {
  padding-left: 0.625rem;
}
.pr-2\.5 {
  padding-right: 0.625rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-justify {
  text-align: justify;
}
.align-bottom {
  vertical-align: bottom;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-empirica-200 {
  --un-text-opacity:1;
  color: rgb(188 216 246 / var(--un-text-opacity));
}
.text-empirica-500 {
  --un-text-opacity:1;
  color: rgb(35 127 225 / var(--un-text-opacity));
}
.text-gray-200 {
  --un-text-opacity:1;
  color: rgb(229 231 235 / var(--un-text-opacity));
}
.text-gray-400 {
  --un-text-opacity:1;
  color: rgb(156 163 175 / var(--un-text-opacity));
}
.text-gray-500 {
  --un-text-opacity:1;
  color: rgb(107 114 128 / var(--un-text-opacity));
}
.text-gray-700 {
  --un-text-opacity:1;
  color: rgb(55 65 81 / var(--un-text-opacity));
}
.text-gray-900 {
  --un-text-opacity:1;
  color: rgb(17 24 39 / var(--un-text-opacity));
}
.text-green-600 {
  --un-text-opacity:1;
  color: rgb(22 163 74 / var(--un-text-opacity));
}
.text-white {
  --un-text-opacity:1;
  color: rgb(255 255 255 / var(--un-text-opacity));
}
.group:hover .group-hover\:text-gray-800 {
  --un-text-opacity:1;
  color: rgb(31 41 55 / var(--un-text-opacity));
}
.hover\:text-empirica-500:hover {
  --un-text-opacity:1;
  color: rgb(35 127 225 / var(--un-text-opacity));
}
.hover\:text-empirica-600:hover {
  --un-text-opacity:1;
  color: rgb(25 102 184 / var(--un-text-opacity));
}
.placeholder\:text-gray-300::placeholder {
  --un-text-opacity:1;
  color: rgb(209 213 219 / var(--un-text-opacity));
}
.font-black {
  font-weight: 900;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.leading-6 {
  line-height: 1.5rem;
}
.font-mono {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
}
.shadow {
  --un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.shadow-sm {
  --un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.shadow-xl {
  --un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / 0.1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / 0.1));
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.focus-visible\:outline-2:focus-visible {
  outline-width: 2px;
}
.focus-visible\:outline-empirica-500:focus-visible {
  --un-outline-color-opacity:1;
  outline-color: rgb(35 127 225 / var(--un-outline-color-opacity));
}
.focus-visible\:outline-offset-2:focus-visible {
  outline-offset: 2px;
}
.focus-visible\:outline:focus-visible {
  outline-style: solid;
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.ring-1 {
  --un-ring-width:1px;
  --un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);
  --un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.ring-2 {
  --un-ring-width:2px;
  --un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);
  --un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.focus\:ring-2:focus {
  --un-ring-width:2px;
  --un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);
  --un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);
  box-shadow:
    var(--un-ring-offset-shadow),
    var(--un-ring-shadow),
    var(--un-shadow);
}
.ring-offset-2 {
  --un-ring-offset-width:2px;
}
.focus\:ring-offset-2:focus {
  --un-ring-offset-width:2px;
}
.ring-empirica-500 {
  --un-ring-opacity:1;
  --un-ring-color:rgb(35 127 225 / var(--un-ring-opacity));
}
.ring-gray-200 {
  --un-ring-opacity:1;
  --un-ring-color:rgb(229 231 235 / var(--un-ring-opacity));
}
.focus\:ring-empirica-500:focus {
  --un-ring-opacity:1;
  --un-ring-color:rgb(35 127 225 / var(--un-ring-opacity));
}
.ring-inset {
  --un-ring-inset:inset;
}
.focus\:ring-inset:focus {
  --un-ring-inset:inset;
}
.backdrop-blur-md {
  --un-backdrop-blur:blur(12px);
  -webkit-backdrop-filter: var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);
  backdrop-filter: var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);
}
.filter {
  filter: var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);
}
.transition {
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.placeholder-gray-400::placeholder {
  --un-placeholder-opacity:1;
  color: rgb(156 163 175 / var(--un-placeholder-opacity));
}
@media (min-width: 640px) {
  .sm\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  .sm\:my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .sm\:mt-24 {
    margin-top: 6rem;
  }
  .sm\:mt-5 {
    margin-top: 1.25rem;
  }
  .sm\:mt-6 {
    margin-top: 1.5rem;
  }
  .sm\:block {
    display: block;
  }
  .sm\:inline-block {
    display: inline-block;
  }
  .sm\:h-screen {
    height: 100vh;
  }
  .sm\:max-w-lg {
    max-width: 32rem;
  }
  .sm\:max-w-md {
    max-width: 28rem;
  }
  .sm\:w-full {
    width: 100%;
  }
  .sm\:rounded-lg {
    border-radius: 0.5rem;
  }
  .sm\:p-0 {
    padding: 0;
  }
  .sm\:p-6 {
    padding: 1.5rem;
  }
  .sm\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:align-middle {
    vertical-align: middle;
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:leading-6 {
    line-height: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
/*# sourceMappingURL=player.css.map */ *,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}.container{width:100%;}@media (min-width: 640px){.container{max-width:640px;}}@media (min-width: 768px){.container{max-width:768px;}}@media (min-width: 1024px){.container{max-width:1024px;}}@media (min-width: 1280px){.container{max-width:1280px;}}@media (min-width: 1536px){.container{max-width:1536px;}}.visible{visibility:visible;}.relative{position:relative;}.grid{display:grid;}.my{margin-top:1rem;margin-bottom:1rem;}.me{margin-inline-end:1rem;}.mt-1{margin-top:0.25rem;}.mt-3{margin-top:0.75rem;}.mt-6{margin-top:1.5rem;}.mt-8{margin-top:2rem;}.block{display:block;}.h-screen{height:100vh;}.min-h-0{min-height:0;}.min-h-screen{min-height:100vh;}.min-w-\[40rem\]{min-width:40rem;}.min-w-\[46rem\]{min-width:46rem;}.w-full{width:100%;}.flex{display:flex;}.flex-1{flex:1 1 0%;}.flex-col{flex-direction:column;}.border-collapse,[border-collapse=""]{border-collapse:collapse;}.table-fixed,[table-fixed=""]{table-layout:fixed;}.cursor-pointer{cursor:pointer;}.appearance-none{-webkit-appearance:none;appearance:none;}.justify-center{justify-content:center;}.gap-x-1{column-gap:0.25rem;}.gap-y-2{row-gap:0.5rem;}.space-y-6>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(1.5rem * var(--un-space-y-reverse));}.overflow-auto{overflow:auto;}.overflow-x-auto{overflow-x:auto;}.break-normal{overflow-wrap:normal;word-break:normal;}.border{border-width:1px;}.border-gray-300{--un-border-opacity:1;border-color:rgb(209 213 219 / var(--un-border-opacity));}.border-transparent{border-color:transparent;}.focus\:border-empirica-500:focus{--un-border-opacity:1;border-color:rgb(79 122 110 / var(--un-border-opacity));}.rounded-md{border-radius:0.375rem;}.bg-empirica-50{--un-bg-opacity:1;background-color:rgb(244 247 245 / var(--un-bg-opacity));}.bg-empirica-500{--un-bg-opacity:1;background-color:rgb(79 122 110 / var(--un-bg-opacity));}.bg-empirica-600{--un-bg-opacity:1;background-color:rgb(61 104 96 / var(--un-bg-opacity));}.bg-gray-50{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity));}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));}.hover\:bg-empirica-700:hover{--un-bg-opacity:1;background-color:rgb(46 80 73 / var(--un-bg-opacity));}.px-1{padding-left:0.25rem;padding-right:0.25rem;}.px-2{padding-left:0.5rem;padding-right:0.5rem;}.px-3{padding-left:0.75rem;padding-right:0.75rem;}.px-4{padding-left:1rem;padding-right:1rem;}.py-12{padding-top:3rem;padding-bottom:3rem;}.py-2{padding-top:0.5rem;padding-bottom:0.5rem;}.py-3{padding-top:0.75rem;padding-bottom:0.75rem;}.py-8{padding-top:2rem;padding-bottom:2rem;}.pb-2{padding-bottom:0.5rem;}.pl-3{padding-left:0.75rem;}.pr-2{padding-right:0.5rem;}.text-center{text-align:center;}.text-left{text-align:left;}.align-top{vertical-align:top;}.text-\[28px\]{font-size:28px;}.text-3xl{font-size:1.875rem;line-height:2.25rem;}.text-sm,[text-sm=""]{font-size:0.875rem;line-height:1.25rem;}.text-xs{font-size:0.75rem;line-height:1rem;}.text-empirica-200{--un-text-opacity:1;color:rgb(208 221 216 / var(--un-text-opacity));}.text-empirica-500{--un-text-opacity:1;color:rgb(79 122 110 / var(--un-text-opacity));}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity));}.text-gray-700{--un-text-opacity:1;color:rgb(55 65 81 / var(--un-text-opacity));}.text-gray-900{--un-text-opacity:1;color:rgb(17 24 39 / var(--un-text-opacity));}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity));}.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}.hover\:text-empirica-500:hover{--un-text-opacity:1;color:rgb(79 122 110 / var(--un-text-opacity));}.hover\:text-empirica-600:hover{--un-text-opacity:1;color:rgb(61 104 96 / var(--un-text-opacity));}.font-extrabold{font-weight:800;}.font-medium{font-weight:500;}.font-normal{font-weight:400;}.font-semibold{font-weight:600;}.leading-9{line-height:2.25rem;}.leading-tight{line-height:1.25;}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.focus-visible\:outline-empirica-500:focus-visible{--un-outline-color-opacity:1;outline-color:rgb(79 122 110 / var(--un-outline-color-opacity));}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px;}.focus\:ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.focus\:ring-offset-2:focus{--un-ring-offset-width:2px;}.ring-empirica-500{--un-ring-opacity:1;--un-ring-color:rgb(79 122 110 / var(--un-ring-opacity));}.focus\:ring-empirica-500:focus{--un-ring-opacity:1;--un-ring-color:rgb(79 122 110 / var(--un-ring-opacity));}.placeholder-gray-400::placeholder{--un-placeholder-opacity:1;color:rgb(156 163 175 / var(--un-placeholder-opacity));}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto;}.sm\:max-w-md{max-width:28rem;}.sm\:w-full{width:100%;}.sm\:rounded-lg{border-radius:0.5rem;}.sm\:px-10{padding-left:2.5rem;padding-right:2.5rem;}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem;}.sm\:text-sm{font-size:0.875rem;line-height:1.25rem;}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem;}} :root {
  --chat-bg:           #f4f7f5;
  --chat-border:       #d0ddd8;
  --chat-text:         #2a3830;
  --chat-subtle:       #6a8e80;
  --chat-user-msg:     #2d5a3d;
  --chat-user-text:    #f0f5f1;
  --chat-asst-msg:     #dde8e4;
  --chat-asst-text:    #2a3830;
  --chat-accent:       #3d6860;
  --chat-accent-hover: #2e5049;
  --chat-radius:       10px;
  --page-bg:           #8fad9f;
  --font:              'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: var(--chat-bg);
  font-family: var(--font);
  color: var(--chat-text);
}

@layer utilities {
  /* Chrome, Safari, Edge, Opera */
  input.number-arrows-none::-webkit-outer-spin-button,
  input.number-arrows-none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  input.number-arrows-none[type="number"] {
    -moz-appearance: textfield;
  }
}

/* ------------------------------------------------------------------ */
/* Task page: writing on the left, chat on the right                    */
/* ------------------------------------------------------------------ */

.task-page {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background: var(--page-bg);
  padding: 1.25rem;
  box-sizing: border-box;
}

.task-layout {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font);
  color: var(--chat-text);
}

.task-header,
.writing-panel,
.chat-wrapper {
  background: var(--chat-bg);
  border-radius: 14px;
  border: 1px solid var(--chat-border);
  box-shadow: 0 12px 40px rgba(30, 50, 40, 0.18), 0 2px 8px rgba(30, 50, 40, 0.10);
}

.task-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  flex-shrink: 0;
}

.task-timer {
  font-size: 0.93rem;
  color: var(--chat-subtle);
  white-space: nowrap;
}

.task-timer strong {
  font-size: 1.3rem;
  color: var(--chat-text);
  font-variant-numeric: tabular-nums;
  margin-left: 0.4rem;
}

.task-status {
  flex: 1;
  font-size: 0.93rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--chat-accent);
  color: #f2f0ed;
  border: 1px solid var(--chat-accent);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover:not(:disabled) { background: var(--chat-accent-hover); }
/* Clearly grey when it can't be clicked yet (e.g. consent boxes unticked). */
.btn:disabled,
.btn:disabled:hover {
  background: #c9d1ce;
  border-color: #c9d1ce;
  color: #6f7c77;
  cursor: not-allowed;
}
.btn:focus-visible { outline: 2px solid var(--chat-accent); outline-offset: 2px; }

.btn-secondary {
  background: transparent;
  color: var(--chat-accent);
}

.btn-secondary:hover:not(:disabled) { background: var(--chat-asst-msg); }

.task-panels {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

/* Control condition: no chat, so one centred column. */
.task-panels-single {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.writing-panel {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  min-height: 0;
}

.writing-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* The task's instructions, in the Instructions pop-up. */
.instructions-text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--chat-text);
  text-align: left;
}

.instructions-text p { margin-bottom: 0.75rem !important; }
.instructions-text ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 0.75rem; }
.instructions-text li { margin-bottom: 0.25rem; }

.writing-textarea {
  flex: 1;
  min-height: 12rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--chat-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--chat-text);
  background: #fff;
  resize: none;
  outline: none;
}

.writing-textarea:focus { border-color: var(--chat-accent); }
.writing-textarea:disabled { opacity: 0.7; cursor: not-allowed; }

.word-count {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--chat-subtle);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.word-count-met { color: var(--chat-accent); font-weight: 600; }
.word-count-over { color: #a33a2b; font-weight: 600; }

.word-count-warning {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: #a33a2b;
  text-align: right;
}

.chat-panel { min-height: 0; }

/* The technical-difficulties notice, always shown under the task header. */
.task-notice {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  background: var(--chat-asst-msg);
  border: 1px solid var(--chat-border);
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--chat-text);
}

/* Narrow screens: stack the two panels and let the page scroll. */
@media (max-width: 900px) {
  .task-page { height: auto; min-height: 100%; }
  .task-header { flex-wrap: wrap; gap: 0.75rem; }
  .task-panels { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(460px, auto); }
}

/* Task pop-ups (Instructions, the 5-minutes-left warning) */
.presence-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.presence-box {
  background: var(--chat-bg);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  max-width: 26rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(30, 50, 40, 0.3);
}

.presence-box h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; }

/* The task's Instructions pop-up: wider, scrolls if the screen is short. */
.instructions-box {
  max-width: 44rem;
  max-height: 85vh;
  overflow-y: auto;
  text-align: left;
}
.presence-box p { font-size: 0.93rem; line-height: 1.55; margin-bottom: 1.25rem; }

/* ------------------------------------------------------------------ */
/* Other screens (consent, intro, debrief, endings): one card on the    */
/* same sage background as the task page                                */
/* ------------------------------------------------------------------ */

.screen {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  background: var(--page-bg);
  font-family: var(--font);
  color: var(--chat-text);
}

.card {
  width: 100%;
  max-width: 40rem;
  padding: 2rem 2.25rem;
  background: var(--chat-bg);
  border-radius: 14px;
  border: 1px solid var(--chat-border);
  box-shadow: 0 12px 40px rgba(30, 50, 40, 0.18), 0 2px 8px rgba(30, 50, 40, 0.10);
}

.card h1 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.card p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.9rem; }
.card-center { text-align: center; }
.card-subtle { color: var(--chat-subtle); }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.card-wide { max-width: 52rem; }

/* The welcome page before the task: as wide as the survey, larger text
   (2026-11-10). */
.welcome-card p { font-size: 1.1rem; line-height: 1.7; }

/* "Time left" on the demographics and survey pages, like the task's timer. */
.page-timer {
  text-align: right;
  font-size: 0.93rem;
  color: var(--chat-subtle);
  margin-bottom: 0.5rem;
}
.page-timer strong {
  font-size: 1.3rem;
  color: var(--chat-text);
  font-variant-numeric: tabular-nums;
  margin-left: 0.4rem;
}

/* Consent page: the information sheet scrolls in its own box, with the
   tick boxes below it. */
.consent-scroll {
  max-height: 55vh;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid var(--chat-border);
  border-radius: 8px;
}

.consent-scroll:focus-visible { outline: 2px solid var(--chat-accent); outline-offset: 2px; }

.consent-text h2 { font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.consent-text h3 { font-size: 0.97rem; font-weight: 600; margin: 0.9rem 0 0.4rem; }
.consent-text p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.7rem; }
.consent-text ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 0.7rem; }
.consent-text ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 0.7rem; }
.consent-text li { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.35rem; }
.consent-text a { color: var(--chat-accent); text-decoration: underline; word-break: break-all; }
/* Links in the text of any card (consent, debrief): green and underlined,
   so they look clickable. Buttons styled as links (.btn) are left alone. */
.card a:not(.btn) { color: var(--chat-accent); text-decoration: underline; overflow-wrap: anywhere; }
.card a:not(.btn):hover { color: var(--chat-accent-hover); }
.card > .consent-text { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--chat-border); }

.consent-heading { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.consent-boxes { display: flex; flex-direction: column; gap: 0.6rem; }

.consent-box {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-box input {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.consent-hint { margin-top: 0.75rem; font-size: 0.88rem !important; }

/* Tick boxes and round options everywhere (consent, questionnaires, Likert
   scales). Empirica's player.css draws them itself and fills them with its
   `color`, a fixed blue (#2563eb), with a blue focus ring; this sets both to
   the Continue button's green. Same selectors as player.css, loaded after
   it, so these win. */
[type="checkbox"],
[type="radio"] {
  color: var(--chat-accent);
  border-color: var(--chat-subtle);
  cursor: pointer;
}

[type="checkbox"]:focus,
[type="radio"]:focus {
  --un-ring-color: var(--chat-accent);
}

/* Questionnaires */
.question {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--chat-border);
}

.question-title { font-size: 0.97rem; font-weight: 600; line-height: 1.5; padding: 0; }
.question-hint { font-size: 0.88rem !important; color: var(--chat-subtle); margin: 0.2rem 0 0.4rem !important; }
.question-missing .question-title { color: #a33a2b; }
.question-error { font-size: 0.88rem !important; color: #a33a2b; margin-top: 0.5rem !important; }

.options { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.6rem; }

.option {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.45;
  cursor: pointer;
}

.option input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--chat-accent); }

.text-input {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--chat-border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--chat-text);
}

.text-input:focus { outline: none; border-color: var(--chat-accent); }
.text-input-short { width: 8rem; }
.inline-input { display: flex; align-items: center; gap: 0.6rem; }
.inline-input .text-input { margin-top: 0.6rem; }
.inline-input span { margin-top: 0.6rem; font-size: 0.93rem; }

/* Post-task survey */
.survey-part {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--chat-border);
}

.survey-part-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.survey-block { margin-top: 1rem; }
.survey-textarea { resize: vertical; line-height: 1.55; }


.placeholder {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--chat-subtle);
  border-radius: 8px;
  color: var(--chat-subtle);
  font-style: italic;
}

/* The completion code at the end of the debrief. */
.debrief-code {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--chat-border);
}

.end-code {
  font-size: 1.5rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.6rem 1rem;
  border: 1px dashed var(--chat-accent);
  border-radius: 8px;
  display: inline-block;
  user-select: all;
}

.end-link { margin-top: 0.5rem; }

/* Dev bar (dev mode only) */
.dev-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: #fefce8;
  border-bottom: 1px solid #fde047;
  font-family: var(--font);
  font-size: 0.75rem;
}

.dev-bar-label { font-weight: 600; color: #854d0e; margin-right: 0.4rem; }

.dev-bar button {
  padding: 0.15rem 0.5rem;
  border: 1px solid #fde047;
  border-radius: 4px;
  background: #fff;
  color: #854d0e;
  cursor: pointer;
}

.dev-bar button:hover:not(:disabled) { background: #fef9c3; }
.dev-bar button:disabled { opacity: 0.5; cursor: not-allowed; }
.dev-bar button.dev-current { background: #fde047; font-weight: 600; opacity: 1; }
.task-layout > .dev-bar { border: 1px solid #fde047; border-radius: 8px; flex-shrink: 0; }
.card > .dev-bar { border: 1px solid #fde047; border-radius: 8px; margin-bottom: 1.25rem; }
.end-warning { color: #a33a2b; }

/* ------------------------------------------------------------------ */
/* Chat component                                                       */
/* ------------------------------------------------------------------ */

.chat-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-header {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--chat-border);
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--chat-border);
  border-radius: 2px;
}

.chat-welcome {
  text-align: center;
  color: var(--chat-subtle);
  padding: 2rem;
  font-size: 0.93rem;
  line-height: 1.6;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--chat-radius);
  line-height: 1.55;
  font-size: 0.93rem;
  white-space: pre-wrap;
  word-break: break-word;
  animation: chatFadeIn 0.18s ease;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-message.user {
  background: var(--chat-user-msg);
  color: var(--chat-user-text);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-message.assistant {
  background: var(--chat-asst-msg);
  color: var(--chat-asst-text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-message.assistant.error {
  background: #f5e1dc;
  color: #7a2d20;
}

.chat-message.assistant.typing {
  color: var(--chat-subtle);
  font-style: italic;
}

.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--chat-border);
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  background: var(--chat-bg);
}

.chat-textarea {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--chat-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
  resize: none;
  color: var(--chat-text);
  background: var(--chat-bg);
  line-height: 1.5;
}

.chat-textarea:focus { border-color: var(--chat-accent); }
.chat-textarea:disabled { opacity: 0.6; cursor: not-allowed; }

.chat-send-btn {
  padding: 0.7rem 1.4rem;
  background: var(--chat-accent);
  color: #f2f0ed;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.chat-send-btn:hover:not(:disabled) { background: var(--chat-accent-hover); }
.chat-send-btn:disabled { opacity: 0.45; cursor: not-allowed; }
