/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.22_@babel+core@7.29.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.22_@babel+core@7.29.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&family=JetBrains+Mono:wght@400;500&display=swap");

*, ::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: Inter, -apple-system, system-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: JetBrains Mono, ui-monospace, 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;
}
.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;
  }
}
.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;
}
.pointer-events-auto{
  pointer-events: auto;
}
.visible{
  visibility: visible;
}
.invisible{
  visibility: hidden;
}
.collapse{
  visibility: collapse;
}
.fixed{
  position: fixed;
}
.inset-0{
  inset: 0px;
}
.bottom-4{
  bottom: 1rem;
}
.right-4{
  right: 1rem;
}
.z-50{
  z-index: 50;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-5{
  margin-bottom: 1.25rem;
}
.ml-2{
  margin-left: 0.5rem;
}
.ml-auto{
  margin-left: auto;
}
.mr-1{
  margin-right: 0.25rem;
}
.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;
}
.mt-6{
  margin-top: 1.5rem;
}
.mt-8{
  margin-top: 2rem;
}
.mt-\[1px\]{
  margin-top: 1px;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.ml-1{
  margin-left: 0.25rem;
}
.block{
  display: block;
}
.inline-block{
  display: inline-block;
}
.inline{
  display: inline;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.table{
  display: table;
}
.grid{
  display: grid;
}
.contents{
  display: contents;
}
.h-1{
  height: 0.25rem;
}
.h-1\.5{
  height: 0.375rem;
}
.h-10{
  height: 2.5rem;
}
.h-3\.5{
  height: 0.875rem;
}
.h-4{
  height: 1rem;
}
.h-5{
  height: 1.25rem;
}
.h-6{
  height: 1.5rem;
}
.h-9{
  height: 2.25rem;
}
.h-\[3px\]{
  height: 3px;
}
.h-full{
  height: 100%;
}
.max-h-\[calc\(100dvh-2rem\)\]{
  max-height: calc(100dvh - 2rem);
}
.min-h-screen{
  min-height: 100vh;
}
.min-h-\[calc\(100vh-48px\)\]{
  min-height: calc(100vh - 48px);
}
.w-1{
  width: 0.25rem;
}
.w-1\.5{
  width: 0.375rem;
}
.w-10{
  width: 2.5rem;
}
.w-16{
  width: 4rem;
}
.w-3\.5{
  width: 0.875rem;
}
.w-4{
  width: 1rem;
}
.w-5{
  width: 1.25rem;
}
.w-6{
  width: 1.5rem;
}
.w-9{
  width: 2.25rem;
}
.w-\[3px\]{
  width: 3px;
}
.w-full{
  width: 100%;
}
.min-w-0{
  min-width: 0px;
}
.max-w-52{
  max-width: 13rem;
}
.max-w-\[360px\]{
  max-width: 360px;
}
.max-w-\[380px\]{
  max-width: 380px;
}
.max-w-\[440px\]{
  max-width: 440px;
}
.max-w-lg{
  max-width: 32rem;
}
.max-w-md{
  max-width: 28rem;
}
.max-w-sm{
  max-width: 24rem;
}
.max-w-xl{
  max-width: 36rem;
}
.max-w-2xl{
  max-width: 42rem;
}
.flex-1{
  flex: 1 1 0%;
}
.shrink-0{
  flex-shrink: 0;
}
.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;
}
.cursor-not-allowed{
  cursor: not-allowed;
}
.cursor-pointer{
  cursor: pointer;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.place-items-center{
  place-items: center;
}
.items-start{
  align-items: flex-start;
}
.items-center{
  align-items: center;
}
.items-baseline{
  align-items: baseline;
}
.justify-end{
  justify-content: flex-end;
}
.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;
}
.gap-4{
  gap: 1rem;
}
.gap-5{
  gap: 1.25rem;
}
.gap-6{
  gap: 1.5rem;
}
.gap-8{
  gap: 2rem;
}
.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-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));
}
.overflow-hidden{
  overflow: hidden;
}
.overflow-y-auto{
  overflow-y: auto;
}
.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.break-all{
  word-break: break-all;
}
.rounded-2xl{
  border-radius: 1rem;
}
.rounded-\[5px\]{
  border-radius: 5px;
}
.rounded-full{
  border-radius: 9999px;
}
.rounded-r1{
  border-radius: 6px;
}
.rounded-r2{
  border-radius: 10px;
}
.rounded-r3{
  border-radius: 14px;
}
.rounded-sm{
  border-radius: 0.125rem;
}
.border{
  border-width: 1px;
}
.border-dashed{
  border-style: dashed;
}
.border-b1{
  border-color: var(--b1);
}
.border-b2{
  border-color: var(--b2);
}
.border-lemon{
  border-color: var(--lemon);
}
.border-slate-200{
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.bg-amber{
  background-color: var(--amber);
}
.bg-b1{
  background-color: var(--b1);
}
.bg-b2{
  background-color: var(--b2);
}
.bg-bg{
  background-color: var(--bg);
}
.bg-bg-deep{
  background-color: var(--bg-deep);
}
.bg-black\/60{
  background-color: rgb(0 0 0 / 0.6);
}
.bg-green{
  background-color: var(--green);
}
.bg-indigo{
  background-color: var(--indigo);
}
.bg-lemon{
  background-color: var(--lemon);
}
.bg-lemon-dim{
  background-color: var(--lemon-dim);
}
.bg-red{
  background-color: var(--red);
}
.bg-s1{
  background-color: var(--s1);
}
.bg-s2{
  background-color: var(--s2);
}
.bg-s3{
  background-color: var(--s3);
}
.bg-t3{
  background-color: var(--t3);
}
.bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.p-0\.5{
  padding: 0.125rem;
}
.p-4{
  padding: 1rem;
}
.p-6{
  padding: 1.5rem;
}
.p-3{
  padding: 0.75rem;
}
.px-1{
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.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-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.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-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.px-3\.5{
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.py-12{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.pb-8{
  padding-bottom: 2rem;
}
.pt-4{
  padding-top: 1rem;
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.font-mono{
  font-family: JetBrains Mono, ui-monospace, Menlo, monospace;
}
.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-\[10\.5px\]{
  font-size: 10.5px;
}
.text-\[10px\]{
  font-size: 10px;
}
.text-\[11\.5px\]{
  font-size: 11.5px;
}
.text-\[11px\]{
  font-size: 11px;
}
.text-\[12\.5px\]{
  font-size: 12.5px;
}
.text-\[12px\]{
  font-size: 12px;
}
.text-\[13px\]{
  font-size: 13px;
}
.text-\[14px\]{
  font-size: 14px;
}
.text-\[15px\]{
  font-size: 15px;
}
.text-\[16px\]{
  font-size: 16px;
}
.text-\[28px\]{
  font-size: 28px;
}
.text-\[9\.5px\]{
  font-size: 9.5px;
}
.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;
}
.text-\[24px\]{
  font-size: 24px;
}
.font-bold{
  font-weight: 700;
}
.font-medium{
  font-weight: 500;
}
.font-semibold{
  font-weight: 600;
}
.uppercase{
  text-transform: uppercase;
}
.leading-6{
  line-height: 1.5rem;
}
.leading-none{
  line-height: 1;
}
.leading-relaxed{
  line-height: 1.625;
}
.leading-snug{
  line-height: 1.375;
}
.leading-4{
  line-height: 1rem;
}
.leading-5{
  line-height: 1.25rem;
}
.tracking-\[0\.06em\]{
  letter-spacing: 0.06em;
}
.tracking-\[0\.16em\]{
  letter-spacing: 0.16em;
}
.tracking-tight{
  letter-spacing: -0.025em;
}
.tracking-tightish{
  letter-spacing: -0.01em;
}
.tracking-wider{
  letter-spacing: 0.05em;
}
.tracking-\[0\.08em\]{
  letter-spacing: 0.08em;
}
.text-amber{
  color: var(--amber);
}
.text-bg{
  color: var(--bg);
}
.text-green{
  color: var(--green);
}
.text-indigo{
  color: var(--indigo);
}
.text-lemon{
  color: var(--lemon);
}
.text-red{
  color: var(--red);
}
.text-slate-500{
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-700{
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-slate-950{
  --tw-text-opacity: 1;
  color: rgb(2 6 23 / var(--tw-text-opacity, 1));
}
.text-t1{
  color: var(--t1);
}
.text-t2{
  color: var(--t2);
}
.text-t3{
  color: var(--t3);
}
.accent-lemon{
  accent-color: var(--lemon);
}
.shadow-lg{
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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);
}
.outline-none{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.\!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) !important;
}
.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);
}
.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-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;
}

/*
 * Fixle v2 design system — ported from the claude.ai/design "Fixle v2" project (`v2/styles.css`).
 *
 * Why real CSS classes rather than Tailwind utilities for the component layer: the design's
 * character lives in things utilities express badly or not at all — the gradient-clipped score
 * numeral, the working-row border pulse, the sliding indeterminate progress bar, the blink dots,
 * the toast and modal entrances. Hand-translating 700 lines of that into utility strings is where
 * fidelity quietly leaks out, and the previous pass proved it: the shell lost its rail icons, its
 * command bar, and every animation. Keeping the design's own class names means a diff against
 * `v2/styles.css` is a real diff. Tailwind utilities are still used freely for one-off layout.
 */

:root {
  --bg: #0c0d10;
  --bg-deep: #08090b;
  --s1: #131519;
  --s2: #181a1f;
  --s3: #1e2028;
  --b1: #1f2128;
  --b2: #2a2d38;
  --t1: #ececef;
  --t2: #9196a1;
  --t3: #5b5f6e;
  --lemon: #fbbf24;
  --lemon-dim: rgba(251, 191, 36, 0.1);
  --indigo: #818cf8;
  --indigo-dim: rgba(129, 140, 248, 0.1);
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.08);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.1);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.1);
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r1: 6px;
  --r2: 10px;
  --r3: 14px;
}

body {
  background: var(--bg-deep);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* The mock relies on these being inherited; Tailwind's preflight doesn't do it. */
button,
input {
  font-family: inherit;
}

/* ---------- APP SHELL ---------- */
.app {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 48px 1fr;
  grid-template-areas: "topbar topbar" "rail main";
  background: var(--bg);
  overflow: hidden;
}
/* Right-rail variant. The mock nests the agent panel inside `.dash`; the portal composes it at the
   shell level so report and skill screens can opt out of it entirely. */
.app.has-right {
  grid-template-columns: 200px 1fr 320px;
  grid-template-areas: "topbar topbar topbar" "rail main right";
}

.topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--b1);
  gap: 12px;
  z-index: 10;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.03em;
  width: 184px;
  flex-shrink: 0;
  color: var(--t1);
}
.wordmark svg {
  flex-shrink: 0;
}

.site-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: 999px;
  padding: 4px 12px 4px 6px;
  transition: border-color 120ms;
  max-width: 320px;
}
.site-pill:hover {
  border-color: var(--b2);
}
.site-favicon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.site-url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lemon-dim);
  color: var(--lemon);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.ib {
  width: 30px;
  height: 30px;
  border-radius: var(--r1);
  border: 0;
  background: transparent;
  color: var(--t3);
  display: grid;
  place-items: center;
  transition: all 80ms;
}
.ib:hover {
  background: var(--s1);
  color: var(--t2);
}
.cmdk-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  border-radius: var(--r1);
  border: 1px solid var(--b1);
  background: var(--s1);
  color: var(--t3);
  font-size: 12px;
  transition: border-color 100ms;
}
.cmdk-trigger:hover {
  border-color: var(--b2);
  color: var(--t2);
}
.kbd {
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--bg);
  border: 1px solid var(--b1);
  color: var(--t3);
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  margin-left: 4px;
  flex-shrink: 0;
}

/* RAIL */
.rail {
  grid-area: rail;
  border-right: 1px solid var(--b1);
  padding: 12px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail-group {
  margin-bottom: 14px;
}
.rail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--t3);
  padding: 4px 10px 4px;
  text-transform: uppercase;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--t3);
  font-size: 12.5px;
  transition: all 80ms;
  position: relative;
  border: 1px solid transparent;
  font-weight: 450;
}
.nav-item:hover {
  color: var(--t2);
  background: var(--s1);
}
.nav-item.active {
  color: var(--t1);
  background: var(--s1);
  border-color: var(--b1);
}
.nav-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.nav-item.active svg {
  opacity: 1;
}
/* Not in the mock — it renders a demo nav where every item is equally clickable. A button with no
   engine capability behind it must not look identical to one that works. */
.nav-item.unavailable {
  opacity: 0.45;
}
.nav-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--bg);
}
.rail-bottom {
  margin-top: auto;
}

.mobile-nav {
  display: none;
}

.main {
  grid-area: main;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ---------- DASHBOARD ---------- */
.score-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px 0;
  min-width: 0;
  overflow: hidden;
}
.score-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.score-num {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* No score yet: a gradient-clipped em-dash reads as a rendering glitch, so opt out. */
.score-num.empty {
  background: none;
  -webkit-text-fill-color: var(--t3);
  color: var(--t3);
}
.score-label {
  font-size: 12px;
  color: var(--t3);
  font-weight: 500;
}
.score-empty-copy {
  max-width: 300px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--t3);
}
.score-sep {
  width: 1px;
  height: 32px;
  background: var(--b1);
}
.metrics-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-label {
  font-size: 11px;
  color: var(--t3);
  font-weight: 500;
}
.metric-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric-bar {
  width: 80px;
  height: 3px;
  background: var(--b1);
  border-radius: 2px;
  overflow: hidden;
}
.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.metric-val {
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--t2);
  font-family: var(--mono);
}

.changes-strip {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
}
.change-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--s1);
  border: 1px solid var(--b1);
  font-size: 11.5px;
  color: var(--t2);
  white-space: nowrap;
  flex-shrink: 0;
}
.change-delta {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--green);
  font-size: 11px;
}

/* QUEUE */
.queue-area {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 8px 0;
  z-index: 2;
}
.queue-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.queue-actions {
  display: flex;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--r1);
  border: 1px solid var(--b1);
  background: var(--s1);
  color: var(--t1);
  font-size: 11.5px;
  font-weight: 500;
  transition: all 80ms;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  background: var(--s2);
  border-color: var(--b2);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--lemon);
  color: var(--bg);
  border-color: transparent;
  font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
  background: #fcc73d;
}
.btn-sm {
  padding: 3px 8px;
  font-size: 11px;
}

.lane-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  margin-top: 4px;
}
.lane-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.lane-name {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t3);
}
.lane-count {
  font-size: 10px;
  color: var(--t3);
  font-family: var(--mono);
  background: var(--s1);
  padding: 0 5px;
  border-radius: 3px;
  border: 1px solid var(--b1);
}

.fix-row {
  display: grid;
  grid-template-columns: 4px 1fr auto auto;
  gap: 0 12px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--r1);
  transition: background 80ms;
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
  background: transparent;
}
.fix-row:hover {
  background: var(--s1);
}
.fix-row.working {
  background: var(--s1);
  border-color: var(--b1);
  position: relative;
}
.fix-row.working::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r1);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.15);
  animation: pulse-border 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-border {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.1);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35);
  }
}
.fix-sev-bar {
  width: 3px;
  height: 28px;
  border-radius: 2px;
  align-self: center;
}
.fix-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.fix-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--t1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fix-sub {
  font-size: 11px;
  color: var(--t3);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fix-status {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 7px;
  border-radius: 4px;
}
.fix-action {
  white-space: nowrap;
}

.working-bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--b1);
  overflow: hidden;
  position: relative;
  margin-top: 4px;
}
.working-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lemon);
  width: 30%;
  animation: slide-bar 1.4s ease-in-out infinite;
}
@keyframes slide-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(430%);
  }
}
.working-step {
  font-size: 11px;
  color: var(--t2);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.blink-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lemon);
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* AGENT PANEL */
.agent-panel {
  grid-area: right;
  border-left: 1px solid var(--b1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-deep);
  height: 100%;
}
.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--b1);
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lemon);
}
.agent-status .blink-dot {
  width: 6px;
  height: 6px;
}
.agent-task {
  padding: 10px 16px;
  font-size: 11.5px;
  color: var(--t2);
  line-height: 1.5;
  border-bottom: 1px solid var(--b1);
}

.mini-browser {
  margin: 12px;
  border: 1px solid var(--b1);
  border-radius: var(--r2);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-deep);
}
.mini-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--s1);
  border-bottom: 1px solid var(--b1);
}
.traffic-dots {
  display: flex;
  gap: 4px;
}
.traffic-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.td-r {
  background: #5c3838;
}
.td-y {
  background: #5c5438;
}
.td-g {
  background: #385c3d;
}
.mini-url-bar {
  flex: 1;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--t3);
  background: var(--bg);
  border: 1px solid var(--b1);
  border-radius: 4px;
  padding: 2px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mini-viewport {
  height: 200px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.decisions {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
.decisions-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t3);
  margin-bottom: 8px;
}
.tl {
  display: flex;
  flex-direction: column;
}
.tl-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  padding: 6px 0;
  position: relative;
}
.tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: -2px;
  width: 1px;
  background: var(--b1);
}
.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 3px;
  position: relative;
  z-index: 1;
  border: 2px solid var(--bg-deep);
}
.tl-dot.done {
  background: var(--green);
}
.tl-dot.active {
  background: var(--lemon);
  box-shadow: 0 0 0 3px var(--lemon-dim);
}
.tl-dot.pending {
  background: var(--b2);
}
.tl-dot.failed {
  background: var(--red);
}
.tl-text {
  font-size: 11px;
  color: var(--t2);
  font-family: var(--mono);
  line-height: 1.45;
}
.tl-text strong {
  color: var(--t1);
  font-weight: 500;
}
.tl-time {
  font-size: 10px;
  color: var(--t3);
  font-family: var(--mono);
}

.agent-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--b1);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--s1);
}
.agent-footer svg {
  color: var(--lemon);
  flex-shrink: 0;
}
.agent-footer-text {
  font-size: 11px;
  color: var(--t2);
  font-family: var(--mono);
}
.agent-footer-text strong {
  color: var(--green);
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 60px;
  right: 24px;
  background: var(--s2);
  border: 1px solid var(--b2);
  border-radius: var(--r2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 100;
  animation: toast-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
  max-width: min(420px, calc(100vw - 48px));
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.toast-icon.error {
  background: var(--red-dim);
  color: var(--red);
}
.toast-msg {
  font-weight: 500;
}
.toast-sub {
  font-size: 11px;
  color: var(--t2);
  margin-top: 1px;
}

/* MODAL */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 11, 0.75);
  display: grid;
  place-items: center;
  z-index: 50;
  animation: fade-in 150ms;
  padding: 16px;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.modal {
  width: 92vw;
  max-width: 1100px;
  height: 80vh;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: var(--r3);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  animation: modal-in 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--b1);
}
.modal-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.modal-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
}
.modal-left {
  border-right: 1px solid var(--b1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-right {
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-foot {
  border-top: 1px solid var(--b1);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.diff-block {
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: var(--r1);
  padding: 10px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  overflow-x: auto;
}
.diff-del {
  background: var(--red-dim);
  color: var(--red);
  padding: 1px 6px;
  border-radius: 3px;
}
.diff-add {
  background: var(--green-dim);
  color: var(--green);
  padding: 1px 6px;
  border-radius: 3px;
  margin-top: 2px;
}

/* EMPTY / FIRST-RUN */
.empty-wrap {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 320px;
  gap: 32px;
  padding: 40px 32px;
  overflow-y: auto;
}
.empty-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}
.empty-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lemon);
}
.empty-h {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 520px;
}
.empty-p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.6;
  max-width: 520px;
}
.empty-input-row {
  display: flex;
  align-items: center;
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: var(--r2);
  padding: 4px;
  max-width: 480px;
}
.empty-input-row:focus-within {
  border-color: var(--b2);
}
.empty-input-row input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--t1);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 13px;
  min-width: 0;
}
.empty-input-row input::-moz-placeholder {
  color: var(--t3);
}
.empty-input-row input::placeholder {
  color: var(--t3);
}
.empty-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.empty-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.step-card {
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: var(--r2);
  padding: 14px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--b2);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--t3);
  font-variant-numeric: tabular-nums;
}
.step-h {
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 2px;
}
.step-p {
  font-size: 11.5px;
  color: var(--t2);
  line-height: 1.45;
}

.ghost-table {
  margin-top: 24px;
  border-top: 1px dashed var(--b1);
  padding-top: 16px;
}
.ghost-row {
  display: grid;
  grid-template-columns: 1fr 60px 80px 80px;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--b1);
  font-size: 11.5px;
  opacity: 0.3;
  align-items: center;
}
.ghost-row.head {
  opacity: 1;
  color: var(--t3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.spacer {
  flex: 1;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--b1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--b2);
}

/* Quality floor the mock doesn't cover: keyboard focus stays visible, and the pulse/slide/blink
   loops stop for anyone who asked their OS to reduce motion. */
:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Loading skeletons.
 *
 * Every route in the (app) group is an async server component and NONE had a `loading.tsx`, so a
 * user on a slow Supabase round-trip — or on the first-run redirect chain — sat looking at an
 * unstyled blank tab until the whole server render resolved. No spinner, no branding, nothing to
 * distinguish "loading" from "broken". These give Next.js's streaming boundary something honest to
 * show, shaped like the content that's coming so the layout doesn't jump when it arrives.
 */
.skel {
  background: linear-gradient(90deg, var(--s2) 25%, var(--s3) 50%, var(--s2) 75%);
  background-size: 200% 100%;
  animation: skel-sweep 1.4s ease-in-out infinite;
  border-radius: var(--r1);
}
@keyframes skel-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* `prefers-reduced-motion` above stops the sweep; without a static fill the bar would look empty. */
@media (prefers-reduced-motion: reduce) {
  .skel {
    background: var(--s2);
  }
}
.skel-text {
  height: 12px;
}
.skel-card {
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: var(--r2);
  padding: 16px;
}
/* Screen-reader announcement for a purely visual skeleton. */
.skel-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Below ~1100px the 320px agent panel starves the queue, so drop it. */
@media (max-width: 1100px) {
  .app.has-right {
    grid-template-columns: 200px 1fr;
    grid-template-areas: "topbar topbar" "rail main";
  }
  .app.has-right > .agent-panel {
    display: none;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .empty-wrap {
    grid-template-columns: 1fr;
  }
}

/*
 * Phone shell. Keeping the 200px desktop rail at 390px left less than half the viewport for the
 * actual page. The native <details> menu remains keyboard-operable without client-side nav state.
 */
@media (max-width: 720px) {
  .app,
  .app.has-right {
    height: 100dvh;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: "topbar" "rail" "main";
  }

  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 8px 12px;
    gap: 8px;
  }
  .topbar > .spacer {
    display: none;
  }
  .wordmark {
    width: auto;
  }
  .topbar-right {
    grid-column: 3;
    margin-left: 0;
  }
  .site-pill {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }
  .site-url {
    flex: 1;
    min-width: 0;
  }

  .rail {
    display: none;
  }
  .mobile-nav {
    display: block;
    grid-area: rail;
    position: relative;
    border-bottom: 1px solid var(--b1);
    background: var(--bg);
    z-index: 8;
  }
  .mobile-nav summary {
    min-height: 44px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: var(--t1);
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary::after {
    content: "⌄";
    color: var(--t3);
    transition: transform 120ms ease;
  }
  .mobile-nav details[open] summary::after {
    transform: rotate(180deg);
  }
  .mobile-nav-current {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
  }
  .mobile-nav-current span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-nav-prompt {
    margin-left: auto;
    font-size: 11px;
    color: var(--t3);
  }
  .mobile-nav-panel {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    padding: 8px;
    background: var(--bg);
    border-bottom: 1px solid var(--b2);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }
  .mobile-nav-panel .rail-group {
    margin-bottom: 8px;
  }
  .mobile-nav-panel .nav-item {
    min-height: 40px;
    padding: 8px 10px;
  }

  .score-strip {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 16px 0;
  }
  .score-sep {
    display: none;
  }
  .metrics-row {
    width: 100%;
    gap: 14px;
  }
  .metric {
    min-width: 120px;
  }
  .queue-area {
    padding-inline: 16px;
  }
  .toast {
    right: 16px;
    left: 16px;
    bottom: 60px;
    max-width: none;
  }
  .empty-wrap {
    padding: 28px 16px;
  }
  .empty-input-row {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .empty-input-row input {
    min-width: calc(100% - 32px);
  }
  .empty-input-row .btn {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }
  .ghost-row {
    grid-template-columns: minmax(0, 1fr) 54px 54px;
  }
  .ghost-row > :nth-child(3) {
    display: none;
  }
}
.placeholder\:text-t3::-moz-placeholder{
  color: var(--t3);
}
.placeholder\:text-t3::placeholder{
  color: var(--t3);
}
.hover\:border-b2:hover{
  border-color: var(--b2);
}
.hover\:border-lemon:hover{
  border-color: var(--lemon);
}
.hover\:bg-s2:hover{
  background-color: var(--s2);
}
.hover\:text-t1:hover{
  color: var(--t1);
}
.hover\:text-t2:hover{
  color: var(--t2);
}
.hover\:underline:hover{
  text-decoration-line: underline;
}
.hover\:opacity-80:hover{
  opacity: 0.8;
}
.hover\:opacity-90:hover{
  opacity: 0.9;
}
.focus\:border-b2:focus{
  border-color: var(--b2);
}
.focus\:border-lemon:focus{
  border-color: var(--lemon);
}
.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\:p-6{
    padding: 1.5rem;
  }
}
@media (min-width: 768px){

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

