*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
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 */
}

::before,
::after {
  --tw-content: '';
}

/*
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.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
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]) {
  -webkit-text-decoration: underline dotted;
          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. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
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-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: 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,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  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;
}

/*
Reset default styling for dialogs.
*/
dialog {
  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::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

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]:where(:not([hidden="until-found"])) {
  display: none;
}
.panel {
  border-radius: 18px;
  border-width: 1px;
  border-color: var(--line);
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface) / var(--tw-bg-opacity, 1));
  --tw-shadow: var(--shadow-panel);
  --tw-shadow-colored: var(--shadow-panel);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-2 {
  inset: 0.5rem;
}
.bottom-0 {
  bottom: 0px;
}
.top-0\.5 {
  top: 0.125rem;
}
.z-50 {
  z-index: 50;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-ml-1\.5 {
  margin-left: -0.375rem;
}
.-mr-1\.5 {
  margin-right: -0.375rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[18px\] {
  height: 18px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-40 {
  width: 10rem;
}
.w-5 {
  width: 1.25rem;
}
.w-56 {
  width: 14rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[18px\] {
  width: 18px;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-\[55\%\] {
  max-width: 55%;
}
.max-w-full {
  max-width: 100%;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.translate-x-0\.5 {
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-\[18px\] {
  --tw-translate-x: 18px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.auto-cols-fr {
  grid-auto-columns: minmax(0, 1fr);
}
.grid-flow-col {
  grid-auto-flow: column;
}
.flex-col {
  flex-direction: column;
}
.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-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-line > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--line);
}
.overflow-hidden {
  overflow: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 18px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 10px;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 14px;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-\[color\:var\(--line-input\)\] {
  border-color: var(--line-input);
}
.border-accent {
  --tw-border-opacity: 1;
  border-color: rgb(var(--accent) / var(--tw-border-opacity, 1));
}
.border-accent-text {
  --tw-border-opacity: 1;
  border-color: rgb(var(--accent-text) / var(--tw-border-opacity, 1));
}
.border-accent\/30 {
  border-color: rgb(var(--accent) / 0.3);
}
.border-accent\/40 {
  border-color: rgb(var(--accent) / 0.4);
}
.border-danger\/25 {
  border-color: rgb(var(--danger) / 0.25);
}
.border-danger\/30 {
  border-color: rgb(var(--danger) / 0.3);
}
.border-line {
  border-color: var(--line);
}
.border-line-strong {
  border-color: var(--line-strong);
}
.border-positive\/25 {
  border-color: rgb(var(--positive) / 0.25);
}
.border-warning\/25 {
  border-color: rgb(var(--warning) / 0.25);
}
.border-warning\/30 {
  border-color: rgb(var(--warning) / 0.3);
}
.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--accent) / var(--tw-bg-opacity, 1));
}
.bg-accent-soft {
  background-color: var(--accent-soft);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-canvas\/80 {
  background-color: rgb(var(--canvas) / 0.8);
}
.bg-canvas\/95 {
  background-color: rgb(var(--canvas) / 0.95);
}
.bg-content {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--content) / var(--tw-bg-opacity, 1));
}
.bg-danger\/10 {
  background-color: rgb(var(--danger) / 0.1);
}
.bg-danger\/90 {
  background-color: rgb(var(--danger) / 0.9);
}
.bg-elevate\/\[0\.03\] {
  background-color: rgb(var(--elevate-rgb) / 0.03);
}
.bg-elevate\/\[0\.04\] {
  background-color: rgb(var(--elevate-rgb) / 0.04);
}
.bg-elevate\/\[0\.05\] {
  background-color: rgb(var(--elevate-rgb) / 0.05);
}
.bg-elevate\/\[0\.06\] {
  background-color: rgb(var(--elevate-rgb) / 0.06);
}
.bg-elevate\/\[0\.08\] {
  background-color: rgb(var(--elevate-rgb) / 0.08);
}
.bg-positive\/10 {
  background-color: rgb(var(--positive) / 0.1);
}
.bg-surface {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface) / var(--tw-bg-opacity, 1));
}
.bg-surface-raised {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-raised) / var(--tw-bg-opacity, 1));
}
.bg-warning\/10 {
  background-color: rgb(var(--warning) / 0.1);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-1 {
  padding: 0.25rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-2xs {
  font-size: 0.6875rem;
  line-height: 1rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[8px\] {
  font-size: 8px;
}
.text-\[9px\] {
  font-size: 9px;
}
.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-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}
.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}
.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-accent-text {
  --tw-text-opacity: 1;
  color: rgb(var(--accent-text) / var(--tw-text-opacity, 1));
}
.text-canvas {
  --tw-text-opacity: 1;
  color: rgb(var(--canvas) / var(--tw-text-opacity, 1));
}
.text-content {
  --tw-text-opacity: 1;
  color: rgb(var(--content) / var(--tw-text-opacity, 1));
}
.text-content-faint {
  --tw-text-opacity: 1;
  color: rgb(var(--content-faint) / var(--tw-text-opacity, 1));
}
.text-content-muted {
  --tw-text-opacity: 1;
  color: rgb(var(--content-muted) / var(--tw-text-opacity, 1));
}
.text-danger {
  --tw-text-opacity: 1;
  color: rgb(var(--danger) / var(--tw-text-opacity, 1));
}
.text-positive {
  --tw-text-opacity: 1;
  color: rgb(var(--positive) / var(--tw-text-opacity, 1));
}
.text-warning {
  --tw-text-opacity: 1;
  color: rgb(var(--warning) / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-80 {
  opacity: 0.8;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-accent\/20 {
  --tw-ring-color: rgb(var(--accent) / 0.2);
}
.ring-line {
  --tw-ring-color: var(--line);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  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;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-150 {
  transition-duration: 150ms;
}

/* Inter, the same self-hosted variable file the site ships (src/app/fonts). Copied into dist/fonts
   by build.mjs so the extension never asks a font CDN for anything. */
@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Inter Variable";
  color-scheme: dark;

  --canvas: 8 9 10;
  --surface: 14 15 17;
  --surface-raised: 19 20 23;
  --surface-overlay: 25 26 30;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  /* a11y (1.4.11): the boundary of a FORM CONTROL must reach 3:1, because on a light theme an
     input's fill (--surface) sits at 1.03:1 against the page (--canvas) — the border is the
     only thing saying "you can type here". Deliberately a separate token rather than raising
     --line: that one also draws row dividers and card edges, which are decoration and do not
     need 3:1. Heavying those would redraw the whole site to fix a form problem. */
  --line-input: rgba(255, 255, 255, 0.38);
  --content: 237 238 240;
  /* a11y (1.4.3) 2026-08-05: muted #9A9DA6 cleared 4.5:1 on the plain surfaces but dropped
     to ~4.4:1 once an elevate tint was under it. #A8ACB5 holds 5.37:1 at every tint. */
  /* a11y (1.4.3): 172/176/185, not 168/172/181. The old value measured 4.493 against the
     heaviest elevate tint on /create — a miss by seven thousandths, which is still a miss.
     This is the smallest step that clears 4.5 there (4.70) and it costs nothing elsewhere:
     against the ordinary surface it only moves 8.6 to 8.8, well past where anyone could see
     a difference. Rounding a threshold in our own favour is how a conformance claim quietly
     stops being true. */
  --content-muted: 172 176 185;
  /* a11y (1.4.3): faint was #6B6E76 (≈3.4–3.9:1), then #82858D — which cleared 4.5:1 on the
     four base surfaces but NOT on `bg-elevate/[a]` panels stacked on top of them, where it
     bottomed out at 3.79:1. Those tints are everywhere (352 uses; /0.06 alone is 126), so
     "passes on the base surface" was never the real test. #9B9FA9 is the lightest value that
     holds 4.5:1 across every surface × every tint alpha in use (worst case 4.61:1). */
  --content-faint: 155 159 169;
  --accent: 30 107 79;
  --accent-hover: 38 124 92;
  --accent-soft: rgba(30, 107, 79, 0.16);
  --accent-ring: rgba(30, 107, 79, 0.45);
  /* a11y (1.4.3): the brand forest-green (#1E6B4F) used as TEXT/links on dark
     surfaces is only ≈2.7–3.0:1. accent-text is a lighter forest green (#2B966E,
     4.71–5.40:1) for foregrounds; bg-accent fills keep the brand green. */
  --accent-text: 43 150 110;
  --positive: 63 185 80;
  --warning: 214 162 30;
  /* a11y (1.4.3) 2026-08-05: danger was #E5484D, which reads 4.44:1 on bg-surface-overlay
     and only 3.80:1 as text on its OWN `bg-danger/10`|`/15` tint — the exact combination
     used by Badge, Countdown and the status timeline, i.e. error text on an error panel.
     #F0777A holds 5.04:1 in the worst of those. */
  --danger: 240 119 122;
  /* Indigo INFO tone — deliberately not the brand accent. Ben picked this shade for the
     credits picker's offer/reassurance chrome (banner, Best value pill, footer check).
     It is an informational highlight only: it must never become a second brand accent or
     leak onto buttons, links, or anything the forest-green accent owns. --info-text is the
     lighter tint that clears contrast on dark surfaces. */
  --info: 99 102 241;
  --info-text: 129 140 248;
  /* Neutral elevation/hover tint base. White in dark, near-black in light, so
     `bg-elevate/[0.06]` lightens on dark and darkens on light at the same
     strength. */
  --elevate-rgb: 255 255 255;

  /* Neutral grey lift (was a purple accent glow) — keeps the page Apple-grey, not
     tinted. */
  --surface-grad: radial-gradient(
    1200px 600px at 50% -10%,
    rgba(255, 255, 255, 0.022),
    transparent 60%
  );
  --shadow-panel: 0 1px 0 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-pop: 0 12px 40px rgba(0, 0, 0, 0.55);
  --scrollbar-thumb: rgba(255, 255, 255, 0.12);
  --scrollbar-thumb-hover: rgba(255, 255, 255, 0.2);
  /* Tokenised so the viewer stage + logo swap work in all three states (dark / OS-light /
     explicit-light) from one rule each, instead of a pile of [data-theme="light"] selectors
     that a follow-OS light visitor would never match. */
  --viewer-stage: #08090a;
  --logo-dark: inline-block;
  --logo-light: none;
}

/* LIGHT — copy 1 of 2: OS prefers light and no explicit choice. Keep byte-identical to the
   :root[data-theme="light"] block below. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --canvas: 246 247 249;
    --surface: 255 255 255;
    --surface-raised: 243 244 246;
    --surface-overlay: 255 255 255;
    --line: rgba(17, 20, 24, 0.1);
    --line-strong: rgba(17, 20, 24, 0.16);
    --line-input: rgba(17, 20, 24, 0.48);
    --content: 23 25 30;
    --content-muted: 71 76 85;
    --content-faint: 88 94 104;
    --accent: 24 92 66;
    --accent-hover: 18 77 55;
    --accent-soft: rgba(24, 92, 66, 0.12);
    --accent-ring: rgba(24, 92, 66, 0.4);
    --accent-text: 24 92 66;
    --positive: 16 112 46;
    --warning: 122 83 7;
    --danger: 184 35 44;
    --info: 99 102 241;
    --info-text: 79 70 229;
    --elevate-rgb: 17 20 24;
    --surface-grad: radial-gradient(1200px 600px at 50% -10%, rgba(17, 20, 24, 0.022), transparent 60%);
    --shadow-panel: 0 1px 3px rgba(17, 20, 24, 0.05), 0 12px 28px rgba(17, 20, 24, 0.08);
    --shadow-pop: 0 12px 40px rgba(17, 20, 24, 0.16);
    --scrollbar-thumb: rgba(17, 20, 24, 0.18);
    --scrollbar-thumb-hover: rgba(17, 20, 24, 0.28);
    --viewer-stage: #eceef3;
    --logo-dark: none;
    --logo-light: inline-block;
  }
}

/* LIGHT — copy 2 of 2: explicit choice. This is also the block the contrast regression test
   reads as "the light palette" (it takes the LAST `--token: R G B` match), so every triplet
   token must appear here. The a11y comments live on this copy only. */
:root[data-theme="light"] {
  color-scheme: light;

  --canvas: 246 247 249;
  --surface: 255 255 255;
  --surface-raised: 243 244 246;
  --surface-overlay: 255 255 255;
  --line: rgba(17, 20, 24, 0.1);
  --line-strong: rgba(17, 20, 24, 0.16);
  --line-input: rgba(17, 20, 24, 0.48); /* a11y (1.4.11), see the dark block above */
  --content: 23 25 30;
  /* a11y (1.4.3) 2026-08-05: darkened from #585E68 so the muted→faint step survives the
     faint change below and the two tones stay tellable apart. Holds 6.11:1 at every tint. */
  --content-muted: 71 76 85;
  /* a11y (1.4.3): faint was #848A94, then #6A707A — which cleared 4.5:1 on the base surfaces
     but fell to 3.63:1 on `bg-elevate` tints, and failed at EVERY tint alpha in use over
     canvas (4.38 at the lightest 0.03). This is the light theme's worst contrast defect.
     #585E68 holds 4.62:1 across every surface × tint combination. */
  --content-faint: 88 94 104;
  --accent: 24 92 66;
  --accent-hover: 18 77 55;
  --accent-soft: rgba(24, 92, 66, 0.12);
  --accent-ring: rgba(24, 92, 66, 0.4);
  /* a11y: light accent (#185C42) already passes as text (7.2–7.9:1); accent-text
     mirrors it so the same class works in both themes. */
  --accent-text: 24 92 66;
  /* a11y (1.4.3): was #168038 — as text on a bg-positive/10 tint (the savings chips/off
     badge) that was only ~4.35:1. #10702E clears 4.5:1 on the tint (5.0–5.4:1) and the
     darker token darkens the tint too. Dark-theme positive already passes (~6.8:1). */
  --positive: 16 112 46;
  /* a11y (1.4.3): warning was #A8740C (≈3.7–4.1:1) — fails as text. #8C6008
     clears 4.5:1 (5.03 raised → 5.54 white). */
  /* a11y (1.4.3) 2026-08-05: #8C6008 cleared 4.5:1 on flat surfaces but fell to 4.13:1 as
     text on its own `bg-warning/15` tint. #7A5307 holds 5.01:1 in the worst case. */
  --warning: 122 83 7;
  /* a11y (1.4.3) 2026-08-05: same tint problem as dark — #C72A33 was 3.99:1 on its own
     tint. #B8232C holds 4.53:1. */
  --danger: 184 35 44;
  /* Light theme keeps the same indigo for tints, but text/icons drop to indigo-600 so
     they clear 4.5:1 on white (indigo-500 as text on white is only ~3.6:1). */
  --info: 99 102 241;
  --info-text: 79 70 229;
  --elevate-rgb: 17 20 24;

  --surface-grad: radial-gradient(
    1200px 600px at 50% -10%,
    rgba(17, 20, 24, 0.022),
    transparent 60%
  );
  --shadow-panel: 0 1px 3px rgba(17, 20, 24, 0.05),
    0 12px 28px rgba(17, 20, 24, 0.08);
  --shadow-pop: 0 12px 40px rgba(17, 20, 24, 0.16);
  --scrollbar-thumb: rgba(17, 20, 24, 0.18);
  --scrollbar-thumb-hover: rgba(17, 20, 24, 0.28);
  --viewer-stage: #eceef3;
  --logo-dark: none;
  --logo-light: inline-block;
}

* {
  border-color: var(--line);
}

/* The 3D viewer stage. The transparent WebGL canvas composites over this backdrop; in light
   mode the scene's grid/labels/material retheme too (#13). Driven by --viewer-stage so it
   follows all three theme states (dark / OS-light / explicit-light). */
.viewer-stage {
  background-color: var(--viewer-stage);
}

/* Theme-aware brand logo. When a light-optimized logo is supplied (logoConfig.ts) the dark
   lockup shows in dark and the light one in light; otherwise the single logo renders in both.
   --logo-dark / --logo-light carry the per-theme display so one rule each covers every state. */
.theme-dark-logo {
  display: var(--logo-dark);
}
.theme-light-logo {
  display: var(--logo-light);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: rgb(var(--canvas) / 1);
  color: rgb(var(--content) / 1);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Same keyboard-focus floor the site uses (globals.css): every focusable element shows a ring. */
body :focus-visible {
  outline: 2px solid rgb(var(--content));
  outline-offset: 2px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.placeholder\:text-content-faint::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--content-faint) / var(--tw-text-opacity, 1));
}

.placeholder\:text-content-faint::placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--content-faint) / var(--tw-text-opacity, 1));
}

.hover\:bg-content\/90:hover {
  background-color: rgb(var(--content) / 0.9);
}

.hover\:bg-danger:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--danger) / var(--tw-bg-opacity, 1));
}

.hover\:bg-elevate\/\[0\.05\]:hover {
  background-color: rgb(var(--elevate-rgb) / 0.05);
}

.hover\:bg-elevate\/\[0\.06\]:hover {
  background-color: rgb(var(--elevate-rgb) / 0.06);
}

.hover\:bg-surface-overlay:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-overlay) / var(--tw-bg-opacity, 1));
}

.hover\:text-content:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--content) / var(--tw-text-opacity, 1));
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-40:disabled {
  opacity: 0.4;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

@media (min-width: 640px) {

  .sm\:items-center {
    align-items: center;
  }
}
