/* [project]/app/globals.css [app-client] (css) */
*, :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: rgba(59, 130, 246, .5);
  --tw-ring-offset-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-ring-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-shadow-colored: 0 0 rgba(0, 0, 0, 0);
  --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: rgba(59, 130, 246, .5);
  --tw-ring-offset-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-ring-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-shadow: 0 0 rgba(0, 0, 0, 0);
  --tw-shadow-colored: 0 0 rgba(0, 0, 0, 0);
  --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: ;
}

*, :before, :after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

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

html, :host {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family: IBM Plex Sans, -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  line-height: 1.5;
}

body {
  line-height: inherit;
  margin: 0;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

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

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

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

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-family: IBM Plex Mono, JetBrains Mono, ui-monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

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

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button {
  -webkit-appearance: button;
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
}

input:where([type="button"]) {
  -webkit-appearance: button;
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
}

input:where([type="reset"]) {
  -webkit-appearance: button;
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
}

input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

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

progress {
  vertical-align: baseline;
}

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

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

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

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 {
  margin: 0;
  padding: 0;
  list-style: none;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

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

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

:disabled {
  cursor: default;
}

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

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

[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;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
}

.inset-0 {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.bottom-\[10\%\] {
  bottom: 10%;
}

.bottom-\[15\%\] {
  bottom: 15%;
}

.left-0 {
  left: 0;
}

.left-3 {
  left: .75rem;
}

.left-4 {
  left: 1rem;
}

.left-8 {
  left: 2rem;
}

.left-\[10\%\] {
  left: 10%;
}

.left-\[40\%\] {
  left: 40%;
}

.left-\[45\%\] {
  left: 45%;
}

.right-0 {
  right: 0;
}

.right-1\.5 {
  right: .375rem;
}

.right-2\.5 {
  right: .625rem;
}

.right-3 {
  right: .75rem;
}

.right-4 {
  right: 1rem;
}

.right-\[15\%\] {
  right: 15%;
}

.right-\[5\%\] {
  right: 5%;
}

.top-0 {
  top: 0;
}

.top-1\.5 {
  top: .375rem;
}

.top-1\/2 {
  top: 50%;
}

.top-8 {
  top: 2rem;
}

.top-\[15\%\] {
  top: 15%;
}

.top-\[20\%\] {
  top: 20%;
}

.top-\[55\%\] {
  top: 55%;
}

.top-\[60\%\] {
  top: 60%;
}

.top-full {
  top: 100%;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-50 {
  z-index: 50;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-1 {
  margin-top: .25rem;
  margin-bottom: .25rem;
}

.my-3 {
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.-mb-px {
  margin-bottom: -1px;
}

.mb-1 {
  margin-bottom: .25rem;
}

.mb-1\.5 {
  margin-bottom: .375rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-2 {
  margin-bottom: .5rem;
}

.mb-2\.5 {
  margin-bottom: .625rem;
}

.mb-3 {
  margin-bottom: .75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: .25rem;
}

.ml-1\.5 {
  margin-left: .375rem;
}

.ml-2 {
  margin-left: .5rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-2 {
  margin-right: .5rem;
}

.mt-0\.5 {
  margin-top: .125rem;
}

.mt-1 {
  margin-top: .25rem;
}

.mt-1\.5 {
  margin-top: .375rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-2 {
  margin-top: .5rem;
}

.mt-3 {
  margin-top: .75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-\[7px\] {
  margin-top: 7px;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-1 {
  height: .25rem;
}

.h-1\.5 {
  height: .375rem;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: .5rem;
}

.h-2\.5 {
  height: .625rem;
}

.h-3 {
  height: .75rem;
}

.h-3\.5 {
  height: .875rem;
}

.h-4 {
  height: 1rem;
}

.h-48 {
  height: 12rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-7 {
  height: 1.75rem;
}

.h-72 {
  height: 18rem;
}

.h-8 {
  height: 2rem;
}

.h-80 {
  height: 20rem;
}

.h-9 {
  height: 2.25rem;
}

.h-96 {
  height: 24rem;
}

.h-\[18px\] {
  height: 18px;
}

.h-full {
  height: 100%;
}

.max-h-64 {
  max-height: 16rem;
}

.max-h-96 {
  max-height: 24rem;
}

.max-h-\[300px\] {
  max-height: 300px;
}

.max-h-\[600px\] {
  max-height: 600px;
}

.min-h-screen {
  min-height: 100vh;
}

.w-1\.5 {
  width: .375rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.w-2 {
  width: .5rem;
}

.w-2\.5 {
  width: .625rem;
}

.w-20 {
  width: 5rem;
}

.w-3 {
  width: .75rem;
}

.w-3\.5 {
  width: .875rem;
}

.w-4 {
  width: 1rem;
}

.w-40 {
  width: 10rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-56 {
  width: 14rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-7 {
  width: 1.75rem;
}

.w-72 {
  width: 18rem;
}

.w-8 {
  width: 2rem;
}

.w-80 {
  width: 20rem;
}

.w-9 {
  width: 2.25rem;
}

.w-96 {
  width: 24rem;
}

.w-\[18px\] {
  width: 18px;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0;
}

.min-w-\[1000px\] {
  min-width: 1000px;
}

.min-w-\[120px\] {
  min-width: 120px;
}

.min-w-\[140px\] {
  min-width: 140px;
}

.min-w-\[180px\] {
  min-width: 180px;
}

.min-w-\[200px\] {
  min-width: 200px;
}

.min-w-\[36px\] {
  min-width: 36px;
}

.min-w-\[600px\] {
  min-width: 600px;
}

.min-w-\[640px\] {
  min-width: 640px;
}

.min-w-\[700px\] {
  min-width: 700px;
}

.min-w-\[800px\] {
  min-width: 800px;
}

.min-w-\[900px\] {
  min-width: 900px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-\[120px\] {
  max-width: 120px;
}

.max-w-\[200px\] {
  max-width: 200px;
}

.max-w-\[80\%\] {
  max-width: 80%;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-none {
  max-width: none;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0, .shrink-0 {
  flex-shrink: 0;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  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 bounce {
  0%, 100% {
    animation-timing-function: cubic-bezier(.8, 0, 1, 1);
    transform: translateY(-25%);
  }

  50% {
    animation-timing-function: cubic-bezier(0, 0, .2, 1);
    transform: none;
  }
}

.animate-bounce {
  animation: 1s infinite bounce;
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: 2s cubic-bezier(.4, 0, .6, 1) infinite pulse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: 1s linear infinite spin;
}

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

.cursor-pointer {
  cursor: pointer;
}

.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.resize-none {
  resize: none;
}

.list-inside {
  list-style-position: inside;
}

.list-decimal {
  list-style-type: decimal;
}

.appearance-none {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

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

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

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

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

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0\.5 {
  gap: .125rem;
}

.gap-1 {
  gap: .25rem;
}

.gap-1\.5 {
  gap: .375rem;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: .75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
  column-gap: 1rem;
}

.gap-y-1 {
  row-gap: .25rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.25rem * var(--tw-space-y-reverse));
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.375rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.75rem * var(--tw-space-y-reverse));
}

.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.875rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.875rem * 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));
}

.self-center {
  align-self: center;
}

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: .25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: .5rem;
}

.rounded-md {
  border-radius: .375rem;
}

.rounded-xl {
  border-radius: .75rem;
}

.rounded-r-lg {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

.rounded-t {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-dashed {
  border-style: dashed;
}

.border-\[\#2c2a25\] {
  --tw-border-opacity: 1;
  border-color: rgba(44, 42, 37, var(--tw-border-opacity, 1));
}

.border-\[\#d9d6cf\] {
  --tw-border-opacity: 1;
  border-color: rgba(217, 214, 207, var(--tw-border-opacity, 1));
}

.border-\[\#e8e6e1\] {
  --tw-border-opacity: 1;
  border-color: rgba(232, 230, 225, var(--tw-border-opacity, 1));
}

.border-\[\#f5f4f0\] {
  --tw-border-opacity: 1;
  border-color: rgba(245, 244, 240, var(--tw-border-opacity, 1));
}

.border-accent-blue {
  border-color: #194f81;
  border-color: color(display-p3 .160163 .306538 .490948);
  border-color: lab(32.253% -3.43981 -33.6552);
}

.border-accent-green {
  border-color: #09672e;
  border-color: color(display-p3 .176425 .396973 .205674);
  border-color: lab(37.6918% -36.456 24.3006);
}

.border-accent-purple {
  border-color: #434582;
  border-color: color(display-p3 .265162 .27028 .494088);
  border-color: lab(31.5268% 12.8168 -35.2569);
}

.border-border {
  border-color: #dbd7d2;
  border-color: color(display-p3 .854476 .842664 .824591);
  border-color: lab(86.0938% .692189 2.96071);
}

.border-danger-border {
  border-color: rgba(164, 59, 56, .2);
  border-color: color(display-p3 .595512 .258408 .2365 / .2);
  border-color: lab(40.6069% 44.0896 26.0737 / .2);
}

.border-edge {
  border-color: #dbd7d2;
  border-color: color(display-p3 .854476 .842664 .824591);
  border-color: lab(86.0938% .692189 2.96071);
}

.border-edge-light {
  border-color: #e8e4df;
  border-color: color(display-p3 .90597 .894027 .875753);
  border-color: lab(90.7338% .691295 2.96011);
}

.border-emerald-500\/20 {
  border-color: rgba(16, 185, 129, .2);
}

.border-green-200 {
  --tw-border-opacity: 1;
  border-color: rgba(187, 247, 208, var(--tw-border-opacity, 1));
}

.border-primary {
  border-color: #7c2524;
  border-color: color(display-p3 .446876 .171296 .156198);
  border-color: lab(29.1992% 37.8517 22.6944);
}

.border-transparent {
  border-color: rgba(0, 0, 0, 0);
}

.border-violet-500 {
  --tw-border-opacity: 1;
  border-color: rgba(139, 92, 246, var(--tw-border-opacity, 1));
}

.border-violet-500\/20 {
  border-color: rgba(139, 92, 246, .2);
}

.border-violet-500\/30 {
  border-color: rgba(139, 92, 246, .3);
}

.border-violet-500\/40 {
  border-color: rgba(139, 92, 246, .4);
}

.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgba(254, 240, 138, var(--tw-border-opacity, 1));
}

.border-l-accent-amber {
  border-left-color: #9e6200;
  border-left-color: color(display-p3 .605475 .385731 -.0335109);
  border-left-color: lab(47.4193% 24.0531 76.5117);
}

.border-l-accent-blue {
  border-left-color: #194f81;
  border-left-color: color(display-p3 .160163 .306538 .490948);
  border-left-color: lab(32.253% -3.43981 -33.6552);
}

.border-l-accent-green {
  border-left-color: #09672e;
  border-left-color: color(display-p3 .176425 .396973 .205674);
  border-left-color: lab(37.6918% -36.456 24.3006);
}

.border-l-accent-purple {
  border-left-color: #434582;
  border-left-color: color(display-p3 .265162 .27028 .494088);
  border-left-color: lab(31.5268% 12.8168 -35.2569);
}

.border-l-accent-red {
  border-left-color: #a43b38;
  border-left-color: color(display-p3 .595512 .258408 .2365);
  border-left-color: lab(40.6069% 44.0896 26.0737);
}

.border-l-border {
  border-left-color: #dbd7d2;
  border-left-color: color(display-p3 .854476 .842664 .824591);
  border-left-color: lab(86.0938% .692189 2.96071);
}

.border-l-danger {
  border-left-color: #a43b38;
  border-left-color: color(display-p3 .595512 .258408 .2365);
  border-left-color: lab(40.6069% 44.0896 26.0737);
}

.border-l-primary {
  border-left-color: #7c2524;
  border-left-color: color(display-p3 .446876 .171296 .156198);
  border-left-color: lab(29.1992% 37.8517 22.6944);
}

.border-t-transparent {
  border-top-color: rgba(0, 0, 0, 0);
}

.bg-\[\#2c2a25\] {
  --tw-bg-opacity: 1;
  background-color: rgba(44, 42, 37, var(--tw-bg-opacity, 1));
}

.bg-\[\#f5f4f0\] {
  --tw-bg-opacity: 1;
  background-color: rgba(245, 244, 240, var(--tw-bg-opacity, 1));
}

.bg-\[\#fafaf8\] {
  --tw-bg-opacity: 1;
  background-color: rgba(250, 250, 248, var(--tw-bg-opacity, 1));
}

.bg-\[oklch\(0\.55_0\.15_150\)\] {
  background-color: #05893e;
  background-color: color(display-p3 .235749 .527377 .27564);
  background-color: lab(49.6613% -45.6133 30.4579);
}

.bg-\[oklch\(0\.60_0\.15_70\)\] {
  background-color: #b17000;
  background-color: color(display-p3 .678404 .438128 -.0106872);
  background-color: lab(53.2002% 25.643 81.037);
}

.bg-\[var\(--ink-faint\)\] {
  background-color: var(--ink-faint);
}

.bg-accent-amber {
  background-color: #9e6200;
  background-color: color(display-p3 .605475 .385731 -.0335109);
  background-color: lab(47.4193% 24.0531 76.5117);
}

.bg-accent-blue {
  background-color: #194f81;
  background-color: color(display-p3 .160163 .306538 .490948);
  background-color: lab(32.253% -3.43981 -33.6552);
}

.bg-accent-green {
  background-color: #09672e;
  background-color: color(display-p3 .176425 .396973 .205674);
  background-color: lab(37.6918% -36.456 24.3006);
}

.bg-accent-purple {
  background-color: #434582;
  background-color: color(display-p3 .265162 .27028 .494088);
  background-color: lab(31.5268% 12.8168 -35.2569);
}

.bg-accent-red {
  background-color: #a43b38;
  background-color: color(display-p3 .595512 .258408 .2365);
  background-color: lab(40.6069% 44.0896 26.0737);
}

.bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(245, 158, 11, var(--tw-bg-opacity, 1));
}

.bg-amber-500\/10 {
  background-color: rgba(245, 158, 11, .1);
}

.bg-amber-500\/20 {
  background-color: rgba(245, 158, 11, .2);
}

.bg-black\/70 {
  background-color: rgba(0, 0, 0, .7);
}

.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(219, 234, 254, var(--tw-bg-opacity, 1));
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgba(239, 246, 255, var(--tw-bg-opacity, 1));
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(59, 130, 246, var(--tw-bg-opacity, 1));
}

.bg-canvas {
  background-color: #fdfaf4;
  background-color: color(display-p3 .989659 .979279 .959789);
  background-color: lab(98.2832% .458986 3.0148);
}

.bg-canvas-200 {
  background-color: #f7f3ec;
  background-color: color(display-p3 .966327 .952517 .928701);
  background-color: lab(95.964% .69648 3.74838);
}

.bg-canvas-300 {
  background-color: #f4efe9;
  background-color: color(display-p3 .953241 .939466 .915712);
  background-color: lab(94.804% .696808 3.74858);
}

.bg-cyan-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(6, 182, 212, var(--tw-bg-opacity, 1));
}

.bg-danger-dim {
  background-color: rgba(164, 59, 56, .06);
  background-color: color(display-p3 .595512 .258408 .2365 / .06);
  background-color: lab(40.6069% 44.0896 26.0737 / .06);
}

.bg-emerald-400 {
  --tw-bg-opacity: 1;
  background-color: rgba(52, 211, 153, var(--tw-bg-opacity, 1));
}

.bg-emerald-500\/10 {
  background-color: rgba(16, 185, 129, .1);
}

.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgba(5, 150, 105, var(--tw-bg-opacity, 1));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity, 1));
}

.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(220, 252, 231, var(--tw-bg-opacity, 1));
}

.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgba(74, 222, 128, var(--tw-bg-opacity, 1));
}

.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgba(240, 253, 244, var(--tw-bg-opacity, 1));
}

.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(34, 197, 94, var(--tw-bg-opacity, 1));
}

.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(99, 102, 241, var(--tw-bg-opacity, 1));
}

.bg-lime-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(132, 204, 22, var(--tw-bg-opacity, 1));
}

.bg-neutral-400\/20 {
  background-color: rgba(163, 163, 163, .2);
}

.bg-neutral-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(115, 115, 115, var(--tw-bg-opacity, 1));
}

.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(255, 237, 213, var(--tw-bg-opacity, 1));
}

.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(249, 115, 22, var(--tw-bg-opacity, 1));
}

.bg-orange-600\/20 {
  background-color: rgba(234, 88, 12, .2);
}

.bg-pink-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(236, 72, 153, var(--tw-bg-opacity, 1));
}

.bg-primary, .bg-primary-400 {
  background-color: #7c2524;
  background-color: color(display-p3 .446876 .171296 .156198);
  background-color: lab(29.1992% 37.8517 22.6944);
}

.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(243, 232, 255, var(--tw-bg-opacity, 1));
}

.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(254, 226, 226, var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgba(254, 242, 242, var(--tw-bg-opacity, 1));
}

.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(239, 68, 68, var(--tw-bg-opacity, 1));
}

.bg-surface-2 {
  background-color: #f4efe9;
  background-color: color(display-p3 .953241 .939466 .915712);
  background-color: lab(94.804% .696808 3.74858);
}

.bg-surface-3 {
  background-color: #f1ece6;
  background-color: color(display-p3 .940189 .92645 .902758);
  background-color: lab(93.644% .697106 3.74881);
}

.bg-surface-4 {
  background-color: #ede9e2;
  background-color: color(display-p3 .927171 .913468 .889838);
  background-color: lab(92.484% .697464 3.74901);
}

.bg-teal-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(20, 184, 166, var(--tw-bg-opacity, 1));
}

.bg-text-muted {
  background-color: #75716d;
  background-color: color(display-p3 .456377 .441829 .428811);
  background-color: lab(47.785% 1.35595 2.6678);
}

.bg-transparent {
  background-color: rgba(0, 0, 0, 0);
}

.bg-violet-400 {
  --tw-bg-opacity: 1;
  background-color: rgba(167, 139, 250, var(--tw-bg-opacity, 1));
}

.bg-violet-400\/60 {
  background-color: rgba(167, 139, 250, .6);
}

.bg-violet-500 {
  --tw-bg-opacity: 1;
  background-color: rgba(139, 92, 246, var(--tw-bg-opacity, 1));
}

.bg-violet-500\/10 {
  background-color: rgba(139, 92, 246, .1);
}

.bg-violet-500\/5 {
  background-color: rgba(139, 92, 246, .05);
}

.bg-violet-600 {
  --tw-bg-opacity: 1;
  background-color: rgba(124, 58, 237, var(--tw-bg-opacity, 1));
}

.bg-violet-600\/20 {
  background-color: rgba(124, 58, 237, .2);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, .2);
}

.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgba(254, 249, 195, var(--tw-bg-opacity, 1));
}

.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgba(254, 252, 232, var(--tw-bg-opacity, 1));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-accent-blue {
  --tw-gradient-from: #194f81 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

@supports (color: color(display-p3 0 0 0)) {
  .from-accent-blue {
    --tw-gradient-from: color(display-p3 .160163 .306538 .490948) var(--tw-gradient-from-position);
  }
}

@supports (color: lab(0% 0 0)) {
  .from-accent-blue {
    --tw-gradient-from: lab(32.253% -3.43981 -33.6552) var(--tw-gradient-from-position);
  }
}

.from-emerald-500 {
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(16, 185, 129, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-emerald-600 {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(5, 150, 105, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary {
  --tw-gradient-from: #7c2524 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

@supports (color: color(display-p3 0 0 0)) {
  .from-primary {
    --tw-gradient-from: color(display-p3 .446876 .171296 .156198) var(--tw-gradient-from-position);
  }
}

@supports (color: lab(0% 0 0)) {
  .from-primary {
    --tw-gradient-from: lab(29.1992% 37.8517 22.6944) var(--tw-gradient-from-position);
  }
}

.from-violet-500 {
  --tw-gradient-from: #8b5cf6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(139, 92, 246, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-violet-500\/5 {
  --tw-gradient-from: rgba(139, 92, 246, .05) var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(139, 92, 246, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-violet-600 {
  --tw-gradient-from: #7c3aed var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(124, 58, 237, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-accent-blue {
  --tw-gradient-to: #194f81 var(--tw-gradient-to-position);
}

@supports (color: color(display-p3 0 0 0)) {
  .to-accent-blue {
    --tw-gradient-to: color(display-p3 .160163 .306538 .490948) var(--tw-gradient-to-position);
  }
}

@supports (color: lab(0% 0 0)) {
  .to-accent-blue {
    --tw-gradient-to: lab(32.253% -3.43981 -33.6552) var(--tw-gradient-to-position);
  }
}

.to-fuchsia-500 {
  --tw-gradient-to: #d946ef var(--tw-gradient-to-position);
}

.to-fuchsia-500\/5 {
  --tw-gradient-to: rgba(217, 70, 239, .05) var(--tw-gradient-to-position);
}

.to-fuchsia-600 {
  --tw-gradient-to: #c026d3 var(--tw-gradient-to-position);
}

.to-primary-400 {
  --tw-gradient-to: #7c2524 var(--tw-gradient-to-position);
}

@supports (color: color(display-p3 0 0 0)) {
  .to-primary-400 {
    --tw-gradient-to: color(display-p3 .446876 .171296 .156198) var(--tw-gradient-to-position);
  }
}

@supports (color: lab(0% 0 0)) {
  .to-primary-400 {
    --tw-gradient-to: lab(29.1992% 37.8517 22.6944) var(--tw-gradient-to-position);
  }
}

.to-teal-500 {
  --tw-gradient-to: #14b8a6 var(--tw-gradient-to-position);
}

.to-teal-600 {
  --tw-gradient-to: #0d9488 var(--tw-gradient-to-position);
}

.p-0\.5 {
  padding: .125rem;
}

.p-1 {
  padding: .25rem;
}

.p-1\.5 {
  padding: .375rem;
}

.p-12 {
  padding: 3rem;
}

.p-2 {
  padding: .5rem;
}

.p-2\.5 {
  padding: .625rem;
}

.p-3 {
  padding: .75rem;
}

.p-3\.5 {
  padding: .875rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-1\.5 {
  padding-left: .375rem;
  padding-right: .375rem;
}

.px-16 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.px-2 {
  padding-left: .5rem;
  padding-right: .5rem;
}

.px-2\.5 {
  padding-left: .625rem;
  padding-right: .625rem;
}

.px-3 {
  padding-left: .75rem;
  padding-right: .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: .125rem;
  padding-bottom: .125rem;
}

.py-1 {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.py-1\.5 {
  padding-top: .375rem;
  padding-bottom: .375rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.py-2\.5 {
  padding-top: .625rem;
  padding-bottom: .625rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-3 {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.py-3\.5 {
  padding-top: .875rem;
  padding-bottom: .875rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-2 {
  padding-bottom: .5rem;
}

.pb-3 {
  padding-bottom: .75rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pl-1 {
  padding-left: .25rem;
}

.pl-10 {
  padding-left: 2.5rem;
}

.pl-12 {
  padding-left: 3rem;
}

.pl-2 {
  padding-left: .5rem;
}

.pl-3 {
  padding-left: .75rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pr-2\.5 {
  padding-right: .625rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pr-9 {
  padding-right: 2.25rem;
}

.pt-2 {
  padding-top: .5rem;
}

.pt-3 {
  padding-top: .75rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-\[\'IBM_Plex_Mono\'\] {
  font-family: IBM Plex Mono;
}

.font-\[\'IBM_Plex_Sans\'\] {
  font-family: IBM Plex Sans;
}

.font-\[\'Instrument_Serif\'\] {
  font-family: Instrument Serif;
}

.font-mono {
  font-family: IBM Plex Mono, JetBrains Mono, ui-monospace, monospace;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.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: .875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.italic {
  font-style: italic;
}

.leading-\[1\.1\] {
  line-height: 1.1;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.tracking-\[-0\.03em\] {
  letter-spacing: -.03em;
}

.tracking-tight {
  letter-spacing: -.025em;
}

.tracking-wide {
  letter-spacing: .025em;
}

.tracking-wider {
  letter-spacing: .05em;
}

.text-\[\#2c2a25\] {
  --tw-text-opacity: 1;
  color: rgba(44, 42, 37, var(--tw-text-opacity, 1));
}

.text-\[\#4a4843\] {
  --tw-text-opacity: 1;
  color: rgba(74, 72, 67, var(--tw-text-opacity, 1));
}

.text-\[\#8a8578\] {
  --tw-text-opacity: 1;
  color: rgba(138, 133, 120, var(--tw-text-opacity, 1));
}

.text-\[\#b5b1a8\] {
  --tw-text-opacity: 1;
  color: rgba(181, 177, 168, var(--tw-text-opacity, 1));
}

.text-accent-amber {
  color: #9e6200;
  color: color(display-p3 .605475 .385731 -.0335109);
  color: lab(47.4193% 24.0531 76.5117);
}

.text-accent-blue {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
}

.text-accent-green {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.text-accent-purple {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
}

.text-accent-red {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgba(251, 191, 36, var(--tw-text-opacity, 1));
}

.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgba(245, 158, 11, var(--tw-text-opacity, 1));
}

.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgba(96, 165, 250, var(--tw-text-opacity, 1));
}

.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgba(29, 78, 216, var(--tw-text-opacity, 1));
}

.text-danger {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.text-danger-light {
  color: #8c3432;
  color: color(display-p3 .507664 .227562 .207589);
  color: lab(35.0104% 37.7494 22.1378);
}

.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgba(52, 211, 153, var(--tw-text-opacity, 1));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgba(209, 213, 219, var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgba(156, 163, 175, var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgba(55, 65, 81, var(--tw-text-opacity, 1));
}

.text-green-300 {
  --tw-text-opacity: 1;
  color: rgba(134, 239, 172, var(--tw-text-opacity, 1));
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgba(22, 163, 74, var(--tw-text-opacity, 1));
}

.text-green-700 {
  --tw-text-opacity: 1;
  color: rgba(21, 128, 61, var(--tw-text-opacity, 1));
}

.text-ink {
  color: #1f1915;
  color: color(display-p3 .117561 .100248 .0846923);
  color: lab(9.49156% 2.1475 4.0348);
}

.text-ink-muted {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.text-ink-secondary {
  color: #413c38;
  color: color(display-p3 .252217 .235879 .221242);
  color: lab(25.7396% 1.72691 3.35711);
}

.text-ink-tertiary {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.text-neutral-400 {
  --tw-text-opacity: 1;
  color: rgba(163, 163, 163, var(--tw-text-opacity, 1));
}

.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgba(234, 88, 12, var(--tw-text-opacity, 1));
}

.text-orange-700 {
  --tw-text-opacity: 1;
  color: rgba(194, 65, 12, var(--tw-text-opacity, 1));
}

.text-primary-300 {
  color: #a03f3c;
  color: color(display-p3 .582517 .271639 .24853);
  color: lab(40.7137% 40.8721 23.8738);
}

.text-primary-400 {
  color: #7c2524;
  color: color(display-p3 .446876 .171296 .156198);
  color: lab(29.1992% 37.8517 22.6944);
}

.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgba(126, 34, 206, var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgba(185, 28, 28, var(--tw-text-opacity, 1));
}

.text-text-muted {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.text-text-primary {
  color: #1f1915;
  color: color(display-p3 .117561 .100248 .0846923);
  color: lab(9.49156% 2.1475 4.0348);
}

.text-text-secondary {
  color: #413c38;
  color: color(display-p3 .252217 .235879 .221242);
  color: lab(25.7396% 1.72691 3.35711);
}

.text-text-tertiary {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.text-violet-300 {
  --tw-text-opacity: 1;
  color: rgba(196, 181, 253, var(--tw-text-opacity, 1));
}

.text-violet-400 {
  --tw-text-opacity: 1;
  color: rgba(167, 139, 250, var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}

.text-white\/70 {
  color: rgba(255, 255, 255, .7);
}

.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgba(161, 98, 7, var(--tw-text-opacity, 1));
}

.underline {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.decoration-violet-400\/30 {
  -webkit-text-decoration-color: rgba(167, 139, 250, .3);
  text-decoration-color: rgba(167, 139, 250, .3);
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.placeholder-text-muted::placeholder {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.accent-violet-600 {
  accent-color: #7c3aed;
}

.opacity-0 {
  opacity: 0;
}

.opacity-20 {
  opacity: .2;
}

.opacity-25 {
  opacity: .25;
}

.opacity-30 {
  opacity: .3;
}

.opacity-50 {
  opacity: .5;
}

.opacity-60 {
  opacity: .6;
}

.opacity-75 {
  opacity: .75;
}

.opacity-80 {
  opacity: .8;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(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 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.shadow-emerald-500\/20 {
  --tw-shadow-color: rgba(16, 185, 129, .2);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-violet-500\/20 {
  --tw-shadow-color: rgba(139, 92, 246, .2);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline {
  outline-style: solid;
}

.ring-2 {
  --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(2px + 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 rgba(0, 0, 0, 0));
}

.ring-canvas-200 {
  --tw-ring-color: #f7f3ec;
}

@supports (color: color(display-p3 0 0 0)) {
  .ring-canvas-200 {
    --tw-ring-color: color(display-p3 .966327 .952517 .928701);
  }
}

@supports (color: lab(0% 0 0)) {
  .ring-canvas-200 {
    --tw-ring-color: lab(95.964% .69648 3.74838);
  }
}

.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-md {
  --tw-backdrop-blur: blur(12px);
  -webkit-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);
  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 {
  transition-property: color, background-color, border-color, -webkit-text-decoration-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.transition-all {
  transition-property: all;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.transition-colors {
  transition-property: color, background-color, border-color, -webkit-text-decoration-color, text-decoration-color, fill, stroke;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.transition-shadow {
  transition-property: box-shadow;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.transition-transform {
  transition-property: transform;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.duration-150 {
  transition-duration: .15s;
}

.duration-200 {
  transition-duration: .2s;
}

.duration-300 {
  transition-duration: .3s;
}

.duration-500 {
  transition-duration: .5s;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, .2, 1);
}

*, :before, :after {
  box-sizing: border-box;
}

html, body, #root, #__next {
  height: 100%;
  margin: 0;
}

:root {
  --bg: #fdfaf4;
  --bg-sub: #f7f3ec;
  --surface: #fffefd;
  --surface-2: #f4efe9;
  --rule: #dbd7d2;
  --rule-soft: #e8e4df;
  --ink: #1f1915;
  --ink-2: #413c38;
  --ink-mute: #75716d;
  --ink-faint: #a8a3a0;
  --accent: #7c2524;
  --accent-soft: rgba(124, 37, 36, .1);
  --accent-2: #a03f3c;
  --font-display: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --font-sans: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
}

@supports (color: color(display-p3 0 0 0)) {
  :root {
    --bg: color(display-p3 .989659 .979279 .959789);
    --bg-sub: color(display-p3 .966327 .952517 .928701);
    --surface: color(display-p3 1.00209 .996886 .987113);
    --surface-2: color(display-p3 .953241 .939466 .915712);
    --rule: color(display-p3 .854476 .842664 .824591);
    --rule-soft: color(display-p3 .90597 .894027 .875753);
    --ink: color(display-p3 .117561 .100248 .0846923);
    --ink-2: color(display-p3 .252217 .235879 .221242);
    --ink-mute: color(display-p3 .456377 .441829 .428811);
    --ink-faint: color(display-p3 .657232 .641665 .62774);
    --accent: color(display-p3 .446876 .171296 .156198);
    --accent-soft: color(display-p3 .446876 .171296 .156198 / .1);
    --accent-2: color(display-p3 .582517 .271639 .24853);
  }
}

@supports (color: lab(0% 0 0)) {
  :root {
    --bg: lab(98.2832% .458986 3.0148);
    --bg-sub: lab(95.964% .69648 3.74838);
    --surface: lab(99.7799% .22462 1.5043);
    --surface-2: lab(94.804% .696808 3.74858);
    --rule: lab(86.0938% .692189 2.96071);
    --rule-soft: lab(90.7338% .691295 2.96011);
    --ink: lab(9.49156% 2.1475 4.0348);
    --ink-2: lab(25.7396% 1.72691 3.35711);
    --ink-mute: lab(47.785% 1.35595 2.6678);
    --ink-faint: lab(67.5053% 1.34924 2.66335);
    --accent: lab(29.1992% 37.8517 22.6944);
    --accent-soft: lab(29.1992% 37.8517 22.6944 / .1);
    --accent-2: lab(40.7137% 40.8721 23.8738);
  }
}

body {
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: IBM Plex Sans, -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

input {
  font: inherit;
  color: inherit;
}

.app {
  --bg: #fdfaf4;
  --bg-sub: #f7f3ec;
  --surface: #fffefd;
  --surface-2: #f4efe9;
  --rule: #dbd7d2;
  --rule-soft: #e8e4df;
  --ink: #1f1915;
  --ink-2: #413c38;
  --ink-mute: #75716d;
  --ink-faint: #a8a3a0;
  --ink-blue: #23588a;
  --ink-amber: #9e6200;
  --ink-green: #236436;
  --accent: #7c2524;
  --accent-soft: rgba(124, 37, 36, .1);
  --accent-2: #a03f3c;
  --font-display: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --font-sans: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --sidebar-w: 280px;
  --pad: 40px;
  --gap: 24px;
  grid-template-columns: var(--sidebar-w) 1fr;
  height: 100vh;
  display: grid;
  overflow: hidden;
}

@supports (color: color(display-p3 0 0 0)) {
  .app {
    --bg: color(display-p3 .989659 .979279 .959789);
    --bg-sub: color(display-p3 .966327 .952517 .928701);
    --surface: color(display-p3 1.00209 .996886 .987113);
    --surface-2: color(display-p3 .953241 .939466 .915712);
    --rule: color(display-p3 .854476 .842664 .824591);
    --rule-soft: color(display-p3 .90597 .894027 .875753);
    --ink: color(display-p3 .117561 .100248 .0846923);
    --ink-2: color(display-p3 .252217 .235879 .221242);
    --ink-mute: color(display-p3 .456377 .441829 .428811);
    --ink-faint: color(display-p3 .657232 .641665 .62774);
    --ink-blue: color(display-p3 .192505 .339913 .526665);
    --ink-amber: color(display-p3 .594823 .391907 .0651143);
    --ink-green: color(display-p3 .210631 .387892 .229539);
    --accent: color(display-p3 .446876 .171296 .156198);
    --accent-soft: color(display-p3 .446876 .171296 .156198 / .1);
    --accent-2: color(display-p3 .582517 .271639 .24853);
  }
}

@supports (color: lab(0% 0 0)) {
  .app {
    --bg: lab(98.2832% .458986 3.0148);
    --bg-sub: lab(95.964% .69648 3.74838);
    --surface: lab(99.7799% .22462 1.5043);
    --surface-2: lab(94.804% .696808 3.74858);
    --rule: lab(86.0938% .692189 2.96071);
    --rule-soft: lab(90.7338% .691295 2.96011);
    --ink: lab(9.49156% 2.1475 4.0348);
    --ink-2: lab(25.7396% 1.72691 3.35711);
    --ink-mute: lab(47.785% 1.35595 2.6678);
    --ink-faint: lab(67.5053% 1.34924 2.66335);
    --ink-blue: lab(35.7624% -4.01481 -33.7291);
    --ink-amber: lab(47.4747% 21.8849 64.6543);
    --ink-green: lab(37.46% -30.1831 19.8887);
    --accent: lab(29.1992% 37.8517 22.6944);
    --accent-soft: lab(29.1992% 37.8517 22.6944 / .1);
    --accent-2: lab(40.7137% 40.8721 23.8738);
  }
}

.app.accent-oxblood {
  --accent: #7c2524;
  --accent-soft: rgba(124, 37, 36, .1);
  --accent-2: #a03f3c;
}

@supports (color: color(display-p3 0 0 0)) {
  .app.accent-oxblood {
    --accent: color(display-p3 .446876 .171296 .156198);
    --accent-soft: color(display-p3 .446876 .171296 .156198 / .1);
    --accent-2: color(display-p3 .582517 .271639 .24853);
  }
}

@supports (color: lab(0% 0 0)) {
  .app.accent-oxblood {
    --accent: lab(29.1992% 37.8517 22.6944);
    --accent-soft: lab(29.1992% 37.8517 22.6944 / .1);
    --accent-2: lab(40.7137% 40.8721 23.8738);
  }
}

.app.accent-ink {
  --accent: #222e42;
  --accent-soft: rgba(34, 46, 66, .1);
  --accent-2: #3d4e69;
}

@supports (color: color(display-p3 0 0 0)) {
  .app.accent-ink {
    --accent: color(display-p3 .142697 .179371 .25236);
    --accent-soft: color(display-p3 .142697 .179371 .25236 / .1);
    --accent-2: color(display-p3 .25228 .302392 .401395);
  }
}

@supports (color: lab(0% 0 0)) {
  .app.accent-ink {
    --accent: lab(18.5843% -.502676 -14.3513);
    --accent-soft: lab(18.5843% -.502676 -14.3513 / .1);
    --accent-2: lab(32.4638% -.868365 -18.0005);
  }
}

.app.accent-forest {
  --accent: #00512a;
  --accent-soft: rgba(0, 81, 42, .1);
  --accent-2: #156f41;
}

@supports (color: color(display-p3 0 0 0)) {
  .app.accent-forest {
    --accent: color(display-p3 .111628 .312738 .176887);
    --accent-soft: color(display-p3 .111628 .312738 .176887 / .1);
    --accent-2: color(display-p3 .204792 .429523 .271156);
  }
}

@supports (color: lab(0% 0 0)) {
  .app.accent-forest {
    --accent: lab(29.363% -32.2878 16.7087);
    --accent-soft: lab(29.363% -32.2878 16.7087 / .1);
    --accent-2: lab(41.1017% -35.2513 18.2014);
  }
}

.app.accent-graphite {
  --accent: #353230;
  --accent-soft: rgba(53, 50, 48, .1);
  --accent-2: #575552;
}

@supports (color: color(display-p3 0 0 0)) {
  .app.accent-graphite {
    --accent: color(display-p3 .205287 .197348 .190242);
    --accent-soft: color(display-p3 .205287 .197348 .190242 / .1);
    --accent-2: color(display-p3 .340796 .332146 .324407);
  }
}

@supports (color: lab(0% 0 0)) {
  .app.accent-graphite {
    --accent: lab(21.1105% .848785 1.66824);
    --accent-soft: lab(21.1105% .848785 1.66824 / .1);
    --accent-2: lab(36.1908% .843272 1.66459);
  }
}

.app.density-compact {
  --pad: 28px;
  --gap: 16px;
  font-size: 13px;
}

.app.density-comfortable {
  --pad: 40px;
  --gap: 24px;
  font-size: 14px;
}

.app.density-roomy {
  --pad: 56px;
  --gap: 32px;
  font-size: 15px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-faint);
}

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

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--rule);
  flex-direction: column;
  height: 100vh;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.brand {
  border-bottom: 1px solid var(--rule-soft);
  align-items: center;
  gap: 10px;
  padding: 20px 20px 12px;
  display: flex;
}

.brand-mark {
  color: var(--ink-mute);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.brand-name-italic {
  color: var(--accent);
  font-style: italic;
}

.brand-sub, .brand-tag {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
  font-size: 11px;
}

.sidebar-search {
  margin: 12px 16px;
  position: relative;
}

.sidebar-search input {
  background: var(--bg-sub);
  border: 1px solid var(--rule);
  width: 100%;
  color: var(--ink);
  border-radius: 6px;
  outline: none;
  padding: 7px 10px 7px 30px;
  font-size: 12.5px;
  transition: border-color .15s, box-shadow .15s;
}

.sidebar-search input::placeholder {
  color: var(--ink-faint);
}

.sidebar-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.sidebar-search .search-icon {
  width: 14px;
  height: 14px;
  color: var(--ink-faint);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
}

.sidebar-search .search-shortcut {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  background: var(--surface-2);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 10px;
  line-height: 1.4;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.primary-nav {
  padding: 8px 12px;
}

.primary-nav a, .primary-nav button {
  color: var(--ink-2);
  text-align: left;
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 450;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.primary-nav a:hover, .primary-nav button:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.primary-nav a.active, .primary-nav button.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.primary-nav .nav-icon {
  opacity: .6;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.primary-nav a.active .nav-icon, .primary-nav button.active .nav-icon {
  opacity: 1;
}

.primary-nav .nav-badge {
  font-family: var(--font-mono);
  color: var(--ink-mute);
  background: var(--surface-2);
  text-align: center;
  border-radius: 8px;
  min-width: 20px;
  margin-left: auto;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 500;
}

.tree {
  flex: 1;
  padding: 4px 12px 16px;
  overflow-y: auto;
}

.tree-section {
  margin-bottom: 4px;
}

.tree-heading {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: background .12s;
  display: flex;
}

.tree-heading:hover {
  background: var(--bg-sub);
}

.tree-heading .tree-count {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
}

.tree-heading .tree-chevron {
  width: 12px;
  height: 12px;
  color: var(--ink-faint);
  transition: transform .15s;
}

.tree-heading.open .tree-chevron {
  transform: rotate(90deg);
}

.tree-items {
  padding: 2px 0 4px 8px;
}

.tree-item {
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12.5px;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.tree-item:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.tree-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.tree-item .tree-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
}

.tree-item .tree-dot.status-open {
  background: #05893e;
  background: color(display-p3 .235749 .527377 .27564);
  background: lab(49.6613% -45.6133 30.4579);
}

.tree-item .tree-dot.status-upcoming {
  background: #b17000;
  background: color(display-p3 .678404 .438128 -.0106872);
  background: lab(53.2002% 25.643 81.037);
}

.tree-item .tree-dot.status-allotment {
  background: #2266a4;
  background: color(display-p3 .210728 .394453 .625735);
  background: lab(41.4353% -4.04441 -40.3761);
}

.tree-item .tree-dot.status-listed {
  background: var(--ink-faint);
}

.tree-item .tree-ticker {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  margin-left: auto;
  font-size: 10px;
}

.user-foot {
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-2);
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
  display: flex;
}

.user-foot .user-avatar {
  background: var(--surface-2);
  width: 28px;
  height: 28px;
  color: var(--ink-mute);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.user-foot .user-name {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  overflow: hidden;
}

.user-foot .user-role {
  color: var(--ink-faint);
  font-size: 11px;
}

.main {
  background: var(--bg);
  scroll-behavior: smooth;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.view {
  max-width: 1200px;
  padding: var(--pad);
  margin: 0 auto;
}

.view-wide {
  max-width: 1400px;
}

.view-narrow {
  max-width: 860px;
}

.breadcrumb {
  color: var(--ink-faint);
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 12px;
  display: flex;
}

.breadcrumb a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .12s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .breadcrumb-sep {
  color: var(--rule);
  font-size: 10px;
}

.breadcrumb .breadcrumb-current {
  color: var(--ink-2);
  font-weight: 500;
}

.display-header {
  margin-bottom: var(--gap);
}

.display-header .display-eyebrow {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
}

.display-header h1 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
}

.display-header .display-sub {
  color: var(--ink-mute);
  max-width: 640px;
  font-size: 15px;
  line-height: 1.5;
}

.display-header .display-meta {
  color: var(--ink-faint);
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  display: flex;
}

.display-header .display-meta .meta-dot {
  background: var(--rule);
  border-radius: 50%;
  width: 3px;
  height: 3px;
}

.kpi-row {
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: var(--gap);
  border-radius: 8px;
  gap: 1px;
  display: flex;
  overflow: hidden;
}

.kpi {
  background: var(--surface);
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
}

.kpi-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
}

.kpi-value {
  font-family: var(--font-mono);
  letter-spacing: -.02em;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.kpi-value.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.kpi-value.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.kpi-delta {
  font-family: var(--font-mono);
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
}

.kpi-delta.up {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.kpi-delta.down {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.panel-header {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  display: flex;
}

.panel-title {
  color: var(--ink);
  letter-spacing: -.01em;
  font-size: 13px;
  font-weight: 600;
}

.panel-subtitle {
  color: var(--ink-faint);
  font-size: 11px;
}

.panel-actions {
  align-items: center;
  gap: 6px;
  display: flex;
}

.panel-body {
  padding: 16px 20px;
}

.panel-body.flush {
  padding: 0;
}

.panel-footer {
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-faint);
  padding: 10px 20px;
  font-size: 12px;
}

.panel-grid {
  gap: var(--gap);
  display: grid;
}

.panel-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.panel-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.panel-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.panel-grid.cols-2-1 {
  grid-template-columns: 2fr 1fr;
}

.panel-grid.cols-1-2 {
  grid-template-columns: 1fr 2fr;
}

.panel-grid.cols-3-1 {
  grid-template-columns: 3fr 1fr;
}

.bar-group {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.bar-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.bar-label {
  color: var(--ink-2);
  white-space: nowrap;
  min-width: 80px;
  font-size: 12px;
}

.bar-track {
  background: var(--bg-sub);
  border-radius: 3px;
  flex: 1;
  height: 6px;
  overflow: hidden;
}

.bar-fill {
  background: var(--accent);
  border-radius: 3px;
  height: 100%;
  transition: width .5s cubic-bezier(.16, 1, .3, 1);
}

.bar-fill.green {
  background: #21763c;
  background: color(display-p3 .233208 .454446 .258918);
  background: lab(43.5038% -36.3107 24.0307);
}

.bar-fill.amber {
  background: #b17000;
  background: color(display-p3 .667497 .444367 .0922556);
  background: lab(53.2548% 23.4859 68.6512);
}

.bar-fill.blue {
  background: #32669a;
  background: color(display-p3 .246841 .396463 .587024);
  background: lab(41.6029% -4.80826 -33.8448);
}

.bar-fill.red {
  background: #a43b38;
  background: color(display-p3 .595512 .258408 .2365);
  background: lab(40.6069% 44.0896 26.0737);
}

.bar-value {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  min-width: 48px;
  font-size: 12px;
  font-weight: 500;
}

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

.sector-item {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  display: flex;
}

.sector-item:last-child {
  border-bottom: none;
}

.sector-name {
  color: var(--ink-2);
}

.sector-count {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 12px;
}

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

.feed-item {
  border-bottom: 1px solid var(--rule-soft);
  gap: 12px;
  padding: 10px 0;
  display: flex;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 4px;
}

.feed-dot.green {
  background: #21763c;
  background: color(display-p3 .233208 .454446 .258918);
  background: lab(43.5038% -36.3107 24.0307);
}

.feed-dot.amber {
  background: #b17000;
  background: color(display-p3 .667497 .444367 .0922556);
  background: lab(53.2548% 23.4859 68.6512);
}

.feed-dot.blue {
  background: #32669a;
  background: color(display-p3 .246841 .396463 .587024);
  background: lab(41.6029% -4.80826 -33.8448);
}

.feed-dot.red {
  background: #a43b38;
  background: color(display-p3 .595512 .258408 .2365);
  background: lab(40.6069% 44.0896 26.0737);
}

.feed-dot.mute {
  background: var(--ink-faint);
}

.feed-content {
  flex: 1;
  min-width: 0;
}

.feed-title {
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
}

.feed-body {
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.45;
}

.feed-time {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  white-space: nowrap;
  margin-top: 2px;
  font-size: 11px;
}

.tag {
  white-space: nowrap;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  display: inline-flex;
}

.tag.tag-green {
  color: #115629;
  color: color(display-p3 .156422 .332205 .177874);
  color: lab(31.6494% -30.3033 20.1071);
  background: rgba(33, 118, 60, .1);
  background: color(display-p3 .233208 .454446 .258918 / .1);
  background: lab(43.5038% -36.3107 24.0307 / .1);
}

.tag.tag-amber {
  color: #8b5600;
  color: color(display-p3 .523736 .340641 .0367506);
  color: lab(41.6945% 20.2857 60.6361);
  background: rgba(177, 112, 0, .1);
  background: color(display-p3 .667497 .444367 .0922556 / .1);
  background: lab(53.2548% 23.4859 68.6512 / .1);
}

.tag.tag-blue {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(50, 102, 154, .1);
  background: color(display-p3 .246841 .396463 .587024 / .1);
  background: lab(41.6029% -4.80826 -33.8448 / .1);
}

.tag.tag-red {
  color: #8c3432;
  color: color(display-p3 .507664 .227562 .207589);
  color: lab(35.0104% 37.7494 22.1378);
  background: rgba(164, 59, 56, .1);
  background: color(display-p3 .595512 .258408 .2365 / .1);
  background: lab(40.6069% 44.0896 26.0737 / .1);
}

.tag.tag-mute {
  background: var(--surface-2);
  color: var(--ink-mute);
}

.tag.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.tags {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.ledger {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.ledger thead {
  z-index: 2;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.ledger th {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-sub);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
}

.ledger th.right, .ledger td.right {
  text-align: right;
}

.ledger th.center, .ledger td.center {
  text-align: center;
}

.ledger td {
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  vertical-align: middle;
  padding: 10px 12px;
}

.ledger tr:last-child td {
  border-bottom: none;
}

.ledger tbody tr {
  transition: background .1s;
}

.ledger tbody tr:hover {
  background: var(--bg-sub);
}

.ledger tbody tr.active {
  background: var(--accent-soft);
}

.ledger .ledger-company {
  color: var(--ink);
  font-weight: 500;
}

.ledger .ledger-ticker {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 11px;
}

.ledger .ledger-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}

.ledger .ledger-num.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.ledger .ledger-num.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.company-view {
  gap: var(--gap);
  flex-direction: column;
  display: flex;
}

.company-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.company-title-group {
  flex: 1;
  min-width: 0;
}

.company-ticker {
  font-family: var(--font-mono);
  color: var(--ink-mute);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
}

.company-name {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.company-industry {
  color: var(--ink-mute);
  font-size: 13px;
}

.company-status-group {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

.company-price-band {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}

.company-price-label {
  color: var(--ink-faint);
  font-size: 11px;
}

.prose {
  color: var(--ink-2);
  max-width: 720px;
  font-size: 14.5px;
  line-height: 1.7;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 32px 0 12px;
  font-size: 24px;
  font-weight: 400;
}

.prose h3 {
  color: var(--ink);
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul, .prose ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 4px;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent-soft);
  text-decoration-color: var(--accent-soft);
  transition: -webkit-text-decoration-color .15s, text-decoration-color .15s;
}

.prose a:hover {
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
}

.prose code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  color: var(--accent);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .875em;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink-2);
  border-radius: 0 4px 4px 0;
  margin: 16px 0;
  padding: 12px 16px;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 24px 0;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 13px;
}

.prose table th, .prose table td {
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  padding: 6px 10px;
}

.prose table th {
  color: var(--ink);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.section-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  display: grid;
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color .15s, background .15s;
}

.section-card:hover, .section-card.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.section-card .section-icon {
  width: 18px;
  height: 18px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.section-card.active .section-icon, .section-card:hover .section-icon {
  color: var(--accent);
}

.section-card .section-label {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.section-card.active .section-label, .section-card:hover .section-label {
  color: var(--accent);
}

.section-card .section-kind {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
}

.section-reader {
  gap: var(--gap);
  grid-template-columns: 200px 1fr;
  align-items: start;
  display: grid;
}

.section-toc {
  top: var(--pad);
  position: -webkit-sticky;
  position: sticky;
}

.section-toc-item {
  color: var(--ink-mute);
  border-left: 2px solid rgba(0, 0, 0, 0);
  margin-bottom: 2px;
  padding: 4px 10px;
  font-size: 12px;
  text-decoration: none;
  transition: color .12s, border-color .12s;
  display: block;
}

.section-toc-item:hover {
  color: var(--ink-2);
}

.section-toc-item.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}

.section-content {
  min-width: 0;
}

.pipeline {
  gap: 16px;
  padding-bottom: 16px;
  display: flex;
  overflow-x: auto;
}

.pipeline-column {
  flex-direction: column;
  flex-shrink: 0;
  min-width: 280px;
  max-width: 320px;
  display: flex;
}

.pipeline-column-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 4px;
  display: flex;
}

.pipeline-column-title {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 600;
}

.pipeline-column-count {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 500;
}

.pipeline-cards {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  display: flex;
}

.pipeline-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}

.pipeline-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(26, 21, 18, .06);
  box-shadow: 0 2px 8px color(display-p3 .0972025 .0831133 .0704608 / .06);
  box-shadow: 0 2px 8px lab(7.20476% 1.68892 2.90778 / .06);
}

.pipeline-card .pc-name {
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
}

.pipeline-card .pc-meta {
  color: var(--ink-mute);
  align-items: center;
  gap: 8px;
  font-size: 11px;
  display: flex;
}

.pipeline-card .pc-gmp {
  font-family: var(--font-mono);
  font-weight: 500;
}

.pipeline-card .pc-gmp.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.pipeline-card .pc-gmp.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.ai-view {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.ai-header {
  border-bottom: 1px solid var(--rule);
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  display: flex;
}

.ai-messages {
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 16px 20px;
  display: flex;
  overflow-y: auto;
}

.ai-msg {
  border-radius: 8px;
  max-width: 85%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.ai-msg.user {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

.ai-msg.assistant {
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}

.ai-input {
  border-top: 1px solid var(--rule);
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.ai-input input {
  background: var(--bg-sub);
  border: 1px solid var(--rule);
  border-radius: 6px;
  outline: none;
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .15s;
}

.ai-input input:focus {
  border-color: var(--accent);
}

.ai-input button {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  transition: background .15s;
}

.ai-input button:hover {
  background: var(--accent-2);
}

.chart-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
}

.chart-container.square {
  aspect-ratio: 1;
}

.chart-container.wide {
  aspect-ratio: 21 / 9;
}

.chart-empty {
  color: var(--ink-faint);
  background: var(--bg-sub);
  border: 1px dashed var(--rule);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  display: flex;
}

.chart-legend {
  color: var(--ink-mute);
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  font-size: 11px;
  display: flex;
}

.chart-legend-item {
  align-items: center;
  gap: 5px;
  display: flex;
}

.chart-legend-dot {
  border-radius: 2px;
  width: 8px;
  height: 8px;
}

.sparkline {
  align-items: flex-end;
  gap: 1px;
  height: 20px;
  display: inline-flex;
}

.sparkline-bar {
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  width: 3px;
  transition: height .3s;
}

.sparkline-bar.positive {
  background: #21763c;
  background: color(display-p3 .233208 .454446 .258918);
  background: lab(43.5038% -36.3107 24.0307);
}

.sparkline-bar.negative {
  background: #a43b38;
  background: color(display-p3 .595512 .258408 .2365);
  background: lab(40.6069% 44.0896 26.0737);
}

.chart-wrap {
  width: 100%;
  overflow: hidden;
}

.chart-wrap svg.chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-axis-labels {
  justify-content: space-between;
  padding: 6px 0 0;
  font-size: 10px;
  display: flex;
}

.hbar-row {
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  display: flex;
}

.hbar-row + .hbar-row {
  border-top: 1px solid var(--rule-soft);
}

.hbar-label {
  color: var(--ink-2);
  letter-spacing: .01em;
  flex: 0 0 72px;
  font-size: 13px;
  font-weight: 500;
}

.hbar-track {
  background: var(--bg-sub);
  border-radius: 4px;
  flex: 1;
  height: 18px;
  position: relative;
  overflow: hidden;
}

.hbar-fill {
  border-radius: 4px;
  min-width: 2px;
  height: 100%;
  transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.hbar-1x {
  background: var(--ink-faint);
  opacity: .5;
  z-index: 1;
  width: 1.5px;
  position: absolute;
  top: 0;
  bottom: 0;
}

.hbar-value {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--ink);
  flex: 0 0 56px;
  font-size: 13px;
  font-weight: 600;
}

.hbar-value.is-faint {
  color: var(--ink-faint);
  font-weight: 400;
}

.stack-bar {
  border-radius: 5px;
  gap: 2px;
  height: 22px;
  display: flex;
  overflow: hidden;
}

.stack-seg {
  min-width: 4px;
  transition: width .4s;
}

.stack-legend {
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 10px 0 0;
  font-size: 12px;
  display: flex;
}

.stack-legend-item {
  align-items: center;
  gap: 6px;
  display: flex;
}

.stack-swatch {
  border-radius: 2px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  display: inline-block;
}

.legend-item {
  color: var(--ink-mute);
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: flex;
}

.legend-swatch {
  border-radius: 2px;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.scatter-pt circle {
  transition: r .15s;
}

.scatter-pt:hover circle {
  r: 7;
  fill-opacity: 1;
}

.filter-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.filter-btn {
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: border-color .12s, color .12s, background .12s;
}

.filter-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink-2);
}

.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.tab-bar {
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--gap);
  gap: 0;
  display: flex;
}

.tab {
  color: var(--ink-mute);
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  margin-bottom: -1px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: color .12s, border-color .12s;
}

.tab:hover {
  color: var(--ink-2);
}

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab .tab-count {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  margin-left: 5px;
  font-size: 10px;
  font-weight: 500;
}

.tab.active .tab-count {
  color: var(--accent);
}

.open-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 16px;
  display: grid;
}

.open-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}

.open-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(26, 21, 18, .08);
  box-shadow: 0 4px 16px color(display-p3 .0972025 .0831133 .0704608 / .08);
  box-shadow: 0 4px 16px lab(7.20476% 1.68892 2.90778 / .08);
}

.open-card-header {
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px 12px;
  display: flex;
}

.open-card-name {
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 500;
}

.open-card-ticker {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 11px;
}

.open-card-price {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  font-size: 16px;
  font-weight: 500;
}

.open-card-price-label {
  color: var(--ink-faint);
  text-align: right;
  font-size: 10px;
}

.open-card-body {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 16px;
  display: grid;
}

.open-card-stat {
  flex-direction: column;
  display: flex;
}

.open-card-stat-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
}

.open-card-stat-value {
  font-family: var(--font-mono);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.open-card-footer {
  border-top: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 11px;
  display: flex;
}

.open-card-dates {
  color: var(--ink-mute);
}

.open-card-gmp {
  font-family: var(--font-mono);
  font-weight: 500;
}

.open-card-gmp.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.open-card-gmp.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.gmp-movers {
  flex-direction: column;
  display: flex;
}

.gmp-mover {
  border-bottom: 1px solid var(--rule-soft);
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  display: flex;
}

.gmp-mover:last-child {
  border-bottom: none;
}

.gmp-mover-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  text-align: center;
  width: 20px;
  font-size: 11px;
  font-weight: 500;
}

.gmp-mover-name {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.gmp-mover-value {
  font-family: var(--font-mono);
  text-align: right;
  font-size: 13px;
  font-weight: 500;
}

.gmp-mover-value.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.gmp-mover-value.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.gmp-mover-pct {
  font-family: var(--font-mono);
  text-align: right;
  min-width: 48px;
  font-size: 11px;
  font-weight: 500;
}

.gmp-mover-pct.positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.gmp-mover-pct.negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.upcoming-cards {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  display: grid;
}

.upcoming-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}

.upcoming-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(26, 21, 18, .06);
  box-shadow: 0 2px 8px color(display-p3 .0972025 .0831133 .0704608 / .06);
  box-shadow: 0 2px 8px lab(7.20476% 1.68892 2.90778 / .06);
}

.upcoming-card-name {
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}

.upcoming-card-meta {
  color: var(--ink-mute);
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  display: flex;
}

.upcoming-card-row {
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 12px;
  display: flex;
}

.upcoming-card-row-label {
  color: var(--ink-mute);
}

.upcoming-card-row-value {
  font-family: var(--font-mono);
  color: var(--ink-2);
  font-weight: 500;
}

.overview-grid {
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.overview-row {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  display: flex;
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  color: var(--ink-mute);
}

.overview-value {
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

.overview-value.mono {
  font-family: var(--font-mono);
}

.ratio-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  display: grid;
}

.ratio-card {
  background: var(--bg-sub);
  text-align: center;
  border-radius: 6px;
  padding: 12px 14px;
}

.ratio-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
}

.ratio-value {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}

.ratio-value.na {
  color: var(--ink-faint);
  font-size: 14px;
}

.ratio-benchmark {
  color: var(--ink-faint);
  margin-top: 2px;
  font-size: 10px;
}

.peers-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.peers-table th {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
}

.peers-table td {
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  padding: 8px 10px;
}

.peers-table tbody tr:hover {
  background: var(--bg-sub);
}

.peers-table .peer-name {
  color: var(--ink);
  font-weight: 500;
}

.peers-table .peer-num {
  font-family: var(--font-mono);
  font-size: 12px;
}

.pos-list, .neg-list {
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.pos-list li, .neg-list li {
  color: var(--ink-2);
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
}

.pos-list li:before {
  content: "+";
  font-family: var(--font-mono);
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 600;
}

.neg-list li:before {
  content: "-";
  font-family: var(--font-mono);
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 600;
}

.ledger-tight {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.ledger-tight th {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
}

.ledger-tight td {
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  padding: 6px 8px;
}

.ledger-tight th.right, .ledger-tight td.right {
  text-align: right;
}

.ledger-tight .mono {
  font-family: var(--font-mono);
}

.suggest-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  display: grid;
}

.suggest-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .15s;
}

.suggest-card:hover {
  border-color: var(--accent);
}

.suggest-card-name {
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
}

.suggest-card-meta {
  color: var(--ink-mute);
  font-size: 11px;
}

.mono {
  font-family: var(--font-mono);
}

.serif {
  font-family: var(--font-display);
}

.sans {
  font-family: var(--font-sans);
}

.text-ink {
  color: var(--ink);
}

.text-ink-2 {
  color: var(--ink-2);
}

.text-ink-mute {
  color: var(--ink-mute);
}

.text-ink-faint {
  color: var(--ink-faint);
}

.text-accent {
  color: var(--accent);
}

.text-positive {
  color: #09672e;
  color: color(display-p3 .176425 .396973 .205674);
  color: lab(37.6918% -36.456 24.3006);
}

.text-negative {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.text-amber {
  color: #9e6200;
  color: color(display-p3 .594823 .391907 .0651143);
  color: lab(47.4747% 21.8849 64.6543);
}

.text-blue {
  color: #23588a;
  color: color(display-p3 .192505 .339913 .526665);
  color: lab(35.7624% -4.01481 -33.7291);
}

.bg-surface {
  background: var(--surface);
}

.bg-sub {
  background: var(--bg-sub);
}

.bg-accent-soft {
  background: var(--accent-soft);
}

.border-rule {
  border-color: var(--rule);
}

.border-rule-soft {
  border-color: var(--rule-soft);
}

.rule {
  border-top: 1px solid var(--rule);
}

.rule-soft {
  border-top: 1px solid var(--rule-soft);
}

.status-badge {
  letter-spacing: .02em;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.status-badge.open {
  color: #115629;
  color: color(display-p3 .156422 .332205 .177874);
  color: lab(31.6494% -30.3033 20.1071);
  background: rgba(33, 118, 60, .1);
  background: color(display-p3 .233208 .454446 .258918 / .1);
  background: lab(43.5038% -36.3107 24.0307 / .1);
}

.status-badge.upcoming {
  color: #8b5600;
  color: color(display-p3 .523736 .340641 .0367506);
  color: lab(41.6945% 20.2857 60.6361);
  background: rgba(177, 112, 0, .1);
  background: color(display-p3 .667497 .444367 .0922556 / .1);
  background: lab(53.2548% 23.4859 68.6512 / .1);
}

.status-badge.allotment {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(50, 102, 154, .1);
  background: color(display-p3 .246841 .396463 .587024 / .1);
  background: lab(41.6029% -4.80826 -33.8448 / .1);
}

.status-badge.listed {
  background: var(--surface-2);
  color: var(--ink-mute);
}

.status-dot {
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.status-dot.open {
  background: #05893e;
  background: color(display-p3 .235749 .527377 .27564);
  background: lab(49.6613% -45.6133 30.4579);
}

.status-dot.upcoming {
  background: #b17000;
  background: color(display-p3 .678404 .438128 -.0106872);
  background: lab(53.2002% 25.643 81.037);
}

.status-dot.allotment {
  background: #2266a4;
  background: color(display-p3 .210728 .394453 .625735);
  background: lab(41.4353% -4.04441 -40.3761);
}

.status-dot.listed {
  background: var(--ink-faint);
}

.pulse-dot {
  background: #05893e;
  background: color(display-p3 .235749 .527377 .27564);
  background: lab(49.6613% -45.6133 30.4579);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: relative;
}

.pulse-dot:after {
  content: "";
  border: 1.5px solid rgba(5, 137, 62, .4);
  border: 1.5px solid color(display-p3 .235749 .527377 .27564 / .4);
  border: 1.5px solid lab(49.6613% -45.6133 30.4579 / .4);
  border-radius: 50%;
  animation: 2s ease-out infinite pulse-ring;
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
}

@keyframes pulse-ring {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.empty-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  display: flex;
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.empty-state-title {
  color: var(--ink-2);
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
}

.empty-state-body {
  color: var(--ink-mute);
  max-width: 320px;
  font-size: 13px;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg-sub) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: 1.5s ease-in-out infinite skeleton-shimmer;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 14px;
  margin-bottom: 6px;
}

.skeleton-title {
  width: 60%;
  height: 24px;
  margin-bottom: 8px;
}

.skeleton-block {
  height: 120px;
}

.tooltip {
  position: relative;
}

.tooltip-content {
  background: var(--ink);
  color: var(--surface);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  transition: opacity .15s;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
}

.tooltip-content:after {
  content: "";
  border: 4px solid rgba(0, 0, 0, 0);
  border-top-color: var(--ink);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.tooltip:hover .tooltip-content {
  opacity: 1;
}

.btn {
  white-space: nowrap;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .12s, border-color .12s, color .12s;
  display: inline-flex;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--rule);
}

.btn-secondary:hover {
  background: var(--bg-sub);
  border-color: var(--ink-faint);
  color: var(--ink);
}

.btn-ghost {
  color: var(--ink-mute);
  background: none;
  border: 1px solid rgba(0, 0, 0, 0);
}

.btn-ghost:hover {
  background: var(--bg-sub);
  color: var(--ink-2);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 6px;
}

.btn-icon.sm {
  width: 26px;
  height: 26px;
  padding: 4px;
}

.input {
  background: var(--surface);
  border: 1px solid var(--rule);
  width: 100%;
  color: var(--ink);
  border-radius: 5px;
  outline: none;
  padding: 7px 12px;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}

.input::placeholder {
  color: var(--ink-faint);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.input.error {
  border-color: #a43b38;
  border-color: color(display-p3 .595512 .258408 .2365);
  border-color: lab(40.6069% 44.0896 26.0737);
}

.input-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.input-base {
  background: var(--surface, #fffefd);
  border: 1px solid var(--rule, #dbd7d2);
  width: 100%;
  color: var(--ink, #1f1915);
  border-radius: 6px;
  outline: none;
  padding: 7px 12px;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}

@supports (color: color(display-p3 0 0 0)) {
  .input-base {
    background: var(--surface, color(display-p3 1.00209 .996886 .987113));
    border: 1px solid var(--rule, color(display-p3 .854476 .842664 .824591));
    color: var(--ink, color(display-p3 .117561 .100248 .0846923));
  }
}

@supports (color: lab(0% 0 0)) {
  .input-base {
    background: var(--surface, lab(99.7799% .22462 1.5043));
    border: 1px solid var(--rule, lab(86.0938% .692189 2.96071));
    color: var(--ink, lab(9.49156% 2.1475 4.0348));
  }
}

.input-base::-moz-placeholder {
  color: var(--ink-faint, #a8a3a0);
}

@supports (color: color(display-p3 0 0 0)) {
  .input-base::placeholder {
    color: var(--ink-faint, color(display-p3 .657232 .641665 .62774));
  }
}

@supports (color: lab(0% 0 0)) {
  .input-base::placeholder {
    color: var(--ink-faint, lab(67.5053% 1.34924 2.66335));
  }
}

.input-base::placeholder {
  color: var(--ink-faint, #a8a3a0);
}

@supports (color: color(display-p3 0 0 0)) {
  .input-base::placeholder {
    color: var(--ink-faint, color(display-p3 .657232 .641665 .62774));
  }
}

@supports (color: lab(0% 0 0)) {
  .input-base::placeholder {
    color: var(--ink-faint, lab(67.5053% 1.34924 2.66335));
  }
}

.input-base:focus {
  border-color: var(--accent, #7c2524);
  box-shadow: 0 0 0 2px var(--accent-soft, rgba(124, 37, 36, .1));
}

@supports (color: color(display-p3 0 0 0)) {
  .input-base:focus {
    border-color: var(--accent, color(display-p3 .446876 .171296 .156198));
    box-shadow: 0 0 0 2px var(--accent-soft, color(display-p3 .446876 .171296 .156198 / .1));
  }
}

@supports (color: lab(0% 0 0)) {
  .input-base:focus {
    border-color: var(--accent, lab(29.1992% 37.8517 22.6944));
    box-shadow: 0 0 0 2px var(--accent-soft, lab(29.1992% 37.8517 22.6944 / .1));
  }
}

.card-base {
  background: var(--surface, #fffefd);
  border: 1px solid var(--rule, #dbd7d2);
  border-radius: 10px;
}

@supports (color: color(display-p3 0 0 0)) {
  .card-base {
    background: var(--surface, color(display-p3 1.00209 .996886 .987113));
    border: 1px solid var(--rule, color(display-p3 .854476 .842664 .824591));
  }
}

@supports (color: lab(0% 0 0)) {
  .card-base {
    background: var(--surface, lab(99.7799% .22462 1.5043));
    border: 1px solid var(--rule, lab(86.0938% .692189 2.96071));
  }
}

.text-gradient-vivid {
  background: linear-gradient(135deg, #7c2524, #a03f3c);
  background: linear-gradient(135deg, color(display-p3 .446876 .171296 .156198), color(display-p3 .582517 .271639 .24853));
  background: linear-gradient(135deg, lab(29.1992% 37.8517 22.6944), lab(40.7137% 40.8721 23.8738));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.mesh-gradient {
  background: radial-gradient(80% 60% at 20% 40%, rgba(124, 37, 36, .05) 0%, rgba(0, 0, 0, 0) 70%), radial-gradient(60% 80% at 80% 60%, rgba(0, 114, 119, .04) 0%, rgba(0, 0, 0, 0) 70%), #fdfaf4;
  background: radial-gradient(80% 60% at 20% 40%, color(display-p3 .446876 .171296 .156198 / .05) 0%, rgba(0, 0, 0, 0) 70%), radial-gradient(60% 80% at 80% 60%, color(display-p3 .123428 .445102 .470973 / .04) 0%, rgba(0, 0, 0, 0) 70%), color(display-p3 .989659 .979279 .959789);
  background: radial-gradient(80% 60% at 20% 40%, lab(29.1992% 37.8517 22.6944 / .05) 0%, rgba(0, 0, 0, 0) 70%), radial-gradient(60% 80% at 80% 60%, lab(42.9598% -31.1952 -12.7726 / .04) 0%, rgba(0, 0, 0, 0) 70%), lab(98.2832% .458986 3.0148);
}

.grid-bg {
  background-image: linear-gradient(rgba(219, 215, 210, .3) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(90deg, rgba(219, 215, 210, .3) 1px, rgba(0, 0, 0, 0) 1px);
  background-image: linear-gradient(color(display-p3 .854476 .842664 .824591 / .3) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(90deg, color(display-p3 .854476 .842664 .824591 / .3) 1px, rgba(0, 0, 0, 0) 1px);
  background-image: linear-gradient(lab(86.0938% .692189 2.96071 / .3) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(90deg, lab(86.0938% .692189 2.96071 / .3) 1px, rgba(0, 0, 0, 0) 1px);
  background-size: 40px 40px;
}

.orbital-glow {
  filter: blur(60px);
  border-radius: 50%;
  animation: 12s ease-in-out infinite orbital-float;
  position: absolute;
}

@keyframes orbital-float {
  0%, 100% {
    transform: translate(0)scale(1);
  }

  33% {
    transform: translate(15px, -20px)scale(1.05);
  }

  66% {
    transform: translate(-10px, 15px)scale(.95);
  }
}

.noise-overlay {
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.beam-line {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(124, 37, 36, .3), rgba(0, 0, 0, 0));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), color(display-p3 .446876 .171296 .156198 / .3), rgba(0, 0, 0, 0));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), lab(29.1992% 37.8517 22.6944 / .3), rgba(0, 0, 0, 0));
  height: 1px;
}

.shadow-glow-sm {
  box-shadow: 0 0 12px rgba(124, 37, 36, .15);
  box-shadow: 0 0 12px color(display-p3 .446876 .171296 .156198 / .15);
  box-shadow: 0 0 12px lab(29.1992% 37.8517 22.6944 / .15);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(124, 37, 36, .25);
  box-shadow: 0 0 20px color(display-p3 .446876 .171296 .156198 / .25);
  box-shadow: 0 0 20px lab(29.1992% 37.8517 22.6944 / .25);
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.animate-pulse-slow {
  animation: 3s ease-in-out infinite pulse-slow;
}

.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  width: 100%;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2388867f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
  border-radius: 5px;
  outline: none;
  padding: 7px 32px 7px 12px;
  font-size: 13px;
  transition: border-color .15s;
}

.select:focus {
  border-color: var(--accent);
}

.modal-backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 100;
  background: rgba(26, 21, 18, .4);
  background: color(display-p3 .0972025 .0831133 .0704608 / .4);
  background: lab(7.20476% 1.68892 2.90778 / .4);
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(26, 21, 18, .15);
  box-shadow: 0 24px 80px color(display-p3 .0972025 .0831133 .0704608 / .15);
  box-shadow: 0 24px 80px lab(7.20476% 1.68892 2.90778 / .15);
}

.modal-header {
  border-bottom: 1px solid var(--rule-soft);
  padding: 18px 22px 14px;
}

.modal-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.modal-body {
  padding: 18px 22px;
}

.modal-footer {
  border-top: 1px solid var(--rule-soft);
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px;
  display: flex;
}

.command-palette {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  flex-direction: column;
  width: 560px;
  max-height: 420px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(26, 21, 18, .2);
  box-shadow: 0 24px 80px color(display-p3 .0972025 .0831133 .0704608 / .2);
  box-shadow: 0 24px 80px lab(7.20476% 1.68892 2.90778 / .2);
}

.command-palette-input {
  border-bottom: 1px solid var(--rule);
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  display: flex;
}

.command-palette-input input {
  color: var(--ink);
  background: none;
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
}

.command-palette-input input::placeholder {
  color: var(--ink-faint);
}

.command-palette-list {
  flex: 1;
  padding: 6px;
  overflow-y: auto;
}

.command-palette-item {
  cursor: pointer;
  color: var(--ink-2);
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  transition: background .1s;
  display: flex;
}

.command-palette-item:hover, .command-palette-item.active {
  background: var(--bg-sub);
  color: var(--ink);
}

.command-palette-item .cp-icon {
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.command-palette-item .cp-shortcut {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  margin-left: auto;
  font-size: 10px;
}

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: var(--gap) 0;
}

.divider-soft {
  border-top-color: var(--rule-soft);
}

.divider-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.divider-label:before, .divider-label:after {
  content: "";
  border-top: 1px solid var(--rule);
  flex: 1;
}

.toast {
  background: var(--ink);
  color: var(--surface);
  z-index: 200;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  animation: .3s cubic-bezier(.16, 1, .3, 1) toast-in;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 8px 32px rgba(26, 21, 18, .2);
  box-shadow: 0 8px 32px color(display-p3 .0972025 .0831133 .0704608 / .2);
  box-shadow: 0 8px 32px lab(7.20476% 1.68892 2.90778 / .2);
}

@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.success {
  background: #085023;
  background: color(display-p3 .13471 .310303 .157588);
  background: lab(29.3244% -30.3636 20.2195);
}

.toast.error {
  background: #8c3432;
  background: color(display-p3 .507664 .227562 .207589);
  background: lab(35.0104% 37.7494 22.1378);
}

.toast.warning {
  background: #9e6200;
  background: color(display-p3 .594823 .391907 .0651143);
  background: lab(47.4747% 21.8849 64.6543);
}

.sub-bars {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.sub-bar-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.sub-bar-cat {
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-width: 48px;
  font-size: 11px;
  font-weight: 500;
}

.sub-bar-track {
  background: var(--bg-sub);
  border-radius: 3px;
  flex: 1;
  height: 16px;
  position: relative;
  overflow: hidden;
}

.sub-bar-fill {
  border-radius: 3px;
  height: 100%;
  transition: width .5s cubic-bezier(.16, 1, .3, 1);
}

.sub-bar-fill.qib {
  background: #32669a;
  background: color(display-p3 .246841 .396463 .587024);
  background: lab(41.6029% -4.80826 -33.8448);
}

.sub-bar-fill.nii {
  background: #9e6200;
  background: color(display-p3 .594823 .391907 .0651143);
  background: lab(47.4747% 21.8849 64.6543);
}

.sub-bar-fill.retail {
  background: #21763c;
  background: color(display-p3 .233208 .454446 .258918);
  background: lab(43.5038% -36.3107 24.0307);
}

.sub-bar-fill.total {
  background: var(--accent);
}

.sub-bar-fill.emp {
  background: #7b63a3;
  background: color(display-p3 .466452 .392789 .6236);
  background: lab(46.4526% 20.1002 -31.3484);
}

.sub-bar-val {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  min-width: 44px;
  font-size: 12px;
  font-weight: 500;
}

.daywise-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.daywise-table th {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule);
  text-align: right;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
}

.daywise-table th:first-child {
  text-align: left;
}

.daywise-table td {
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  color: var(--ink-2);
  text-align: right;
  padding: 6px 8px;
  font-weight: 500;
}

.daywise-table td:first-child {
  font-family: var(--font-sans);
  text-align: left;
  color: var(--ink);
  font-weight: 500;
}

.anchor-list {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.anchor-item {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 12.5px;
  display: flex;
}

.anchor-item:last-child {
  border-bottom: none;
}

.anchor-name {
  color: var(--ink-2);
}

.anchor-amount {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 500;
}

.fin-chart {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.fin-row {
  align-items: center;
  gap: 12px;
  display: flex;
}

.fin-label {
  color: var(--ink-2);
  min-width: 60px;
  font-size: 12px;
  font-weight: 500;
}

.fin-bars {
  flex: 1;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  display: flex;
}

.fin-bar {
  border-radius: 3px 3px 0 0;
  flex: 1;
  transition: height .4s cubic-bezier(.16, 1, .3, 1);
  position: relative;
}

.fin-bar.fy24 {
  background: var(--surface-2);
}

.fin-bar.fy25 {
  background: var(--ink-faint);
}

.fin-bar.fy26 {
  background: var(--accent);
}

.fin-bar-label {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  white-space: nowrap;
  font-size: 9px;
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.fin-value {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  min-width: 56px;
  font-size: 12px;
  font-weight: 500;
}

.gmp-chart {
  background: var(--bg-sub);
  border-radius: 6px;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.gmp-chart-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.gmp-chart svg {
  width: 100%;
  height: 100%;
}

.gmp-chart .gmp-area {
  fill: var(--accent-soft);
}

.gmp-chart .gmp-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5px;
}

.gmp-chart-labels {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  justify-content: space-between;
  font-size: 9px;
  display: flex;
  position: absolute;
  bottom: 4px;
  left: 8px;
  right: 8px;
}

.gmp-chart-value {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  top: 8px;
  right: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

@media (max-width: 1200px) {
  .app {
    --sidebar-w: 240px;
    --pad: 28px;
  }

  .panel-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .app {
    --sidebar-w: 220px;
    --pad: 24px;
    --gap: 20px;
  }

  .overview-grid, .section-reader {
    grid-template-columns: 1fr;
  }

  .section-toc {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
    display: flex;
    position: static;
  }

  .section-toc-item {
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    border-left: none;
    padding: 4px 8px;
  }

  .section-toc-item.active {
    border-bottom-color: var(--accent);
    border-left-color: rgba(0, 0, 0, 0);
  }
}

@media (max-width: 768px) {
  .app {
    --pad: 16px;
    --gap: 16px;
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .sidebar.mobile-open {
    z-index: 90;
    width: 280px;
    max-width: 85vw;
    animation: .25s cubic-bezier(.16, 1, .3, 1) forwards slide-in-left;
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 16px 0 48px rgba(26, 21, 18, .2);
    box-shadow: 16px 0 48px color(display-p3 .0972025 .0831133 .0704608 / .2);
    box-shadow: 16px 0 48px lab(7.20476% 1.68892 2.90778 / .2);
  }

  .mobile-overlay {
    z-index: 89;
    background: rgba(26, 21, 18, .3);
    background: color(display-p3 .0972025 .0831133 .0704608 / .3);
    background: lab(7.20476% 1.68892 2.90778 / .3);
    animation: .2s forwards fade-in;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .main {
    padding-top: 0;
  }

  .view {
    padding-top: 56px;
  }

  .display-header h1 {
    font-size: 28px;
  }

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

  .kpi {
    padding: 12px 16px;
  }

  .panel-grid.cols-2, .panel-grid.cols-3, .panel-grid.cols-4, .panel-grid.cols-2-1, .panel-grid.cols-1-2, .panel-grid.cols-3-1, .open-cards, .upcoming-cards, .suggest-grid {
    grid-template-columns: 1fr;
  }

  .section-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

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

  .pipeline {
    flex-direction: column;
  }

  .pipeline-column {
    min-width: 100%;
    max-width: 100%;
  }

  .company-header {
    flex-direction: column;
    gap: 12px;
  }

  .company-name {
    font-size: 28px;
  }

  .company-status-group {
    align-items: flex-start;
  }

  .tab-bar {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0;
    overflow-x: auto;
  }

  .tab-bar::-webkit-scrollbar {
    display: none;
  }

  .tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .filter-row {
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .ledger {
    font-size: 12px;
  }

  .ledger th, .ledger td {
    padding: 6px 8px;
  }

  .panel-body.flush {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .ledger, .ledger-tight, .peers-table, .daywise-table {
    min-width: 480px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .chart-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .hbar-label {
    flex: 0 0 56px;
    font-size: 12px;
  }

  .hbar-value {
    flex: 0 0 48px;
    font-size: 12px;
  }

  .ai-view {
    height: calc(100vh - 56px);
  }

  .ai-header, .ai-input {
    padding: 12px 16px;
  }

  .ai-input input {
    font-size: 14px;
  }

  .ai-msg {
    max-width: 92%;
    font-size: 13px;
  }

  .breadcrumb {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .gmp-mover {
    padding: 8px 0;
  }

  .gmp-mover-name {
    font-size: 12.5px;
  }

  .command-palette {
    width: calc(100% - 32px);
  }

  .modal {
    max-width: calc(100% - 24px);
  }

  .stack-legend {
    gap: 10px;
  }

  .pipeline-card {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .app {
    --pad: 12px;
    --gap: 12px;
  }

  .display-header h1 {
    font-size: 22px;
  }

  .display-sub {
    font-size: 13px;
  }

  .kpi-value {
    font-size: 18px;
  }

  .kpi-row {
    gap: 0;
  }

  .kpi {
    padding: 10px 12px;
  }

  .company-name {
    font-size: 22px;
  }

  .company-ticker {
    font-size: 11px;
  }

  .open-card-body {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .open-card-header {
    padding: 12px;
  }

  .open-card-name {
    font-size: 14px;
  }

  .ratio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ratio-card {
    padding: 10px;
  }

  .bar-label {
    min-width: 60px;
    font-size: 11px;
  }

  .hbar-label {
    flex: 0 0 46px;
    font-size: 11px;
  }

  .hbar-value {
    flex: 0 0 42px;
    font-size: 11px;
  }

  .hbar-row {
    gap: 8px;
  }

  .panel-header, .panel-body {
    padding: 12px 14px;
  }

  .panel-title {
    font-size: 13px;
  }

  .section-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .ai-msg {
    max-width: 95%;
    padding: 10px 12px;
    font-size: 12.5px;
  }

  .suggest-card {
    padding: 12px;
  }

  .suggest-card-name {
    font-size: 12.5px;
  }

  .suggest-card-meta {
    font-size: 11px;
  }

  .upcoming-card {
    padding: 12px;
  }

  .upcoming-card-name {
    font-size: 13.5px;
  }

  .tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .breadcrumb {
    gap: 4px;
    font-size: 11px;
  }

  .view {
    padding-top: 52px;
  }
}

.mobile-menu-btn {
  z-index: 91;
  background: var(--surface);
  border: 1px solid var(--rule);
  width: 40px;
  height: 40px;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  transition: background .15s, color .15s, box-shadow .15s;
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  box-shadow: 0 2px 12px rgba(26, 21, 18, .1);
  box-shadow: 0 2px 12px color(display-p3 .0972025 .0831133 .0704608 / .1);
  box-shadow: 0 2px 12px lab(7.20476% 1.68892 2.90778 / .1);
}

.mobile-menu-btn:hover {
  background: var(--bg-sub);
  color: var(--ink);
  box-shadow: 0 2px 16px rgba(26, 21, 18, .15);
  box-shadow: 0 2px 16px color(display-p3 .0972025 .0831133 .0704608 / .15);
  box-shadow: 0 2px 16px lab(7.20476% 1.68892 2.90778 / .15);
}

.mobile-menu-btn:active {
  transform: scale(.95);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

@media print {
  .app {
    height: auto;
    display: block;
    overflow: visible;
  }

  .sidebar, .mobile-menu-btn {
    display: none !important;
  }

  .main {
    overflow: visible;
  }

  .panel {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .kpi-row {
    border: 1px solid #ccc;
  }

  .kpi {
    border-right: 1px solid #eee;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12px;
  }

  .view {
    max-width: 100%;
    padding: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-12px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(12px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: .4s cubic-bezier(.16, 1, .3, 1) forwards fade-in;
}

.animate-fade-in-up {
  animation: .4s cubic-bezier(.16, 1, .3, 1) forwards fade-in-up;
}

.animate-slide-in-left {
  animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slide-in-left;
}

.animate-slide-in-right {
  animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slide-in-right;
}

.stagger > :first-child {
  animation-delay: 0s;
}

.stagger > :nth-child(2) {
  animation-delay: 40ms;
}

.stagger > :nth-child(3) {
  animation-delay: 80ms;
}

.stagger > :nth-child(4) {
  animation-delay: .12s;
}

.stagger > :nth-child(5) {
  animation-delay: .16s;
}

.stagger > :nth-child(6) {
  animation-delay: .2s;
}

.stagger > :nth-child(7) {
  animation-delay: .24s;
}

.stagger > :nth-child(8) {
  animation-delay: .28s;
}

.stagger > :nth-child(9) {
  animation-delay: .32s;
}

.stagger > :nth-child(10) {
  animation-delay: .36s;
}

.stagger > :nth-child(11) {
  animation-delay: .4s;
}

.stagger > :nth-child(12) {
  animation-delay: .44s;
}

@property --num {
  syntax: "<integer>";
  inherits: false;
  initial-value: 0;
}

.counter-animate {
  counter-reset: num var(--num);
  transition: --num 1s cubic-bezier(.16, 1, .3, 1);
}

.counter-animate:after {
  content: counter(num);
}

.reveal {
  opacity: 0;
  transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
  transform: translateY(12px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (forced-colors: active) {
  .panel, .open-card, .upcoming-card, .pipeline-card, .section-card, .suggest-card, .status-badge {
    border: 1px solid canvastext;
  }

  .bar-fill, .sub-bar-fill {
    forced-color-adjust: none;
  }
}

.ipo-topnav {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  display: flex;
}

.ipo-topnav-left {
  align-items: center;
  gap: 0;
  display: flex;
}

.ipo-topnav-right {
  align-items: center;
  display: flex;
}

.ipo-brand-link {
  align-items: center;
  gap: 8px;
  padding-right: 20px;
  text-decoration: none;
  display: flex;
}

.ipo-brand-icon {
  color: var(--accent);
  display: flex;
}

.ipo-brand-text {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  font-size: 18px;
  line-height: 1;
}

.ipo-brand-italic {
  color: var(--accent);
  font-style: italic;
}

.ipo-nav-divider {
  background: var(--rule);
  width: 1px;
  height: 24px;
  margin: 0 16px;
}

.ipo-nav-links {
  align-items: center;
  gap: 2px;
  display: flex;
}

.ipo-nav-item {
  color: var(--ink-mute);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 450;
  text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}

.ipo-nav-item:hover {
  color: var(--ink);
  background: var(--bg-sub);
}

.ipo-nav-item.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}

.ipo-nav-indicator {
  background: var(--accent);
  border-radius: 2px;
  width: 20px;
  height: 2px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.ipo-signin-btn {
  color: var(--ink-2);
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}

.ipo-signin-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink);
  background: var(--bg-sub);
}

.detail-breadcrumb {
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12.5px;
  display: flex;
}

.detail-breadcrumb-link {
  color: var(--ink-mute);
  font-weight: 450;
  text-decoration: none;
  transition: color .15s;
}

.detail-breadcrumb-link:hover {
  color: var(--accent);
}

.detail-breadcrumb-current {
  color: var(--ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
  font-weight: 500;
  overflow: hidden;
}

.detail-hero {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .02);
  box-shadow: 0 1px 3px color(display-p3 0 0 0 / .04), 0 4px 16px color(display-p3 0 0 0 / .02);
  box-shadow: 0 1px 3px lab(0% 0 0 / .04), 0 4px 16px lab(0% 0 0 / .02);
}

.detail-hero:before {
  content: "";
  background: linear-gradient(90deg, var(--accent), #a03f3c, #9e6200);
  opacity: .8;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@supports (color: color(display-p3 0 0 0)) {
  .detail-hero:before {
    background: linear-gradient(90deg, var(--accent), color(display-p3 .582517 .271639 .24853), color(display-p3 .605475 .385731 -.0335109));
  }
}

@supports (color: lab(0% 0 0)) {
  .detail-hero:before {
    background: linear-gradient(90deg, var(--accent), lab(40.7137% 40.8721 23.8738), lab(47.4193% 24.0531 76.5117));
  }
}

.detail-hero-inner {
  padding: 28px 32px 24px;
}

.detail-hero-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  display: flex;
}

.detail-hero-identity {
  align-items: center;
  gap: 18px;
  min-width: 0;
  display: flex;
}

.detail-hero-name {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.detail-hero-meta {
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.detail-hero-exchange {
  color: var(--ink-mute);
  letter-spacing: .01em;
  font-size: 12.5px;
  font-weight: 500;
}

.detail-hero-dot {
  background: var(--ink-faint);
  border-radius: 50%;
  width: 3px;
  height: 3px;
}

.detail-hero-type {
  color: var(--ink-faint);
  font-size: 12.5px;
}

.detail-hero-badges {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.detail-status-badge {
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 100px;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.detail-status-dot {
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 2s ease-in-out infinite pulse-dot;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.8);
  }
}

.detail-category-badge {
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
}

.detail-metrics-strip {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  display: grid;
  overflow: hidden;
}

.detail-metric-pill {
  padding: 16px 18px;
  transition: background .15s;
  position: relative;
}

.detail-metric-pill:not(:last-child):after {
  content: "";
  background: var(--rule-soft);
  width: 1px;
  height: 60%;
  position: absolute;
  top: 20%;
  right: 0;
}

.detail-metric-pill:hover {
  background: var(--bg-sub);
}

.detail-metric-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 600;
}

.detail-metric-value {
  letter-spacing: -.02em;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.detail-tab-bar {
  border-bottom: 2px solid var(--rule);
  background: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  gap: 0;
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 0;
  display: flex;
  overflow: visible;
}

.detail-tab {
  color: var(--ink-mute);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 450;
  transition: color .15s;
  position: relative;
}

.detail-tab:hover {
  color: var(--ink);
}

.detail-tab.active {
  color: var(--accent);
  font-weight: 600;
}

.detail-tab-underline {
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  height: 2.5px;
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
}

.detail-sections {
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
  display: flex;
}

.detail-section {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 28px;
  transition: box-shadow .2s;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  box-shadow: 0 1px 2px color(display-p3 0 0 0 / .03);
  box-shadow: 0 1px 2px lab(0% 0 0 / .03);
}

.detail-section:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  box-shadow: 0 2px 8px color(display-p3 0 0 0 / .05);
  box-shadow: 0 2px 8px lab(0% 0 0 / .05);
}

.detail-section-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
}

.detail-grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.detail-prose {
  max-width: 740px;
}

.detail-prose p {
  color: var(--ink-2);
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
}

.detail-prose p:last-child {
  margin-bottom: 0;
}

.detail-kv-list {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.detail-kv-row {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  transition: background .1s;
  display: flex;
}

.detail-kv-row:last-child {
  border-bottom: none;
}

.detail-kv-row:hover {
  background: rgba(0, 0, 0, .01);
  background: color(display-p3 0 0 0 / .01);
  background: lab(0% 0 0 / .01);
  border-radius: 4px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.detail-kv-label {
  color: var(--ink-mute);
  font-size: 13px;
}

.detail-kv-value {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 550;
}

.detail-kv-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  display: grid;
}

.detail-kv-grid .detail-kv-row {
  border-bottom: 1px solid var(--rule-soft);
}

.detail-timeline {
  flex-direction: column;
  display: flex;
}

.detail-timeline-item {
  gap: 16px;
  min-height: 40px;
  display: flex;
}

.detail-timeline-track {
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  width: 16px;
  padding-top: 5px;
  display: flex;
}

.detail-timeline-dot {
  background: var(--bg);
  border: 2px solid var(--rule);
  z-index: 1;
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transition: all .2s;
}

.detail-timeline-dot.active {
  background: #007834;
  background: color(display-p3 .174028 .468023 .22057);
  background: lab(43.8463% -45.8172 30.856);
  border-color: #007834;
  border-color: color(display-p3 .174028 .468023 .22057);
  border-color: lab(43.8463% -45.8172 30.856);
  box-shadow: 0 0 0 3px rgba(0, 120, 52, .15);
  box-shadow: 0 0 0 3px color(display-p3 .174028 .468023 .22057 / .15);
  box-shadow: 0 0 0 3px lab(43.8463% -45.8172 30.856 / .15);
}

.detail-timeline-line {
  background: var(--rule-soft);
  border-radius: 1px;
  flex: 1;
  width: 2px;
  margin: 3px 0;
}

.detail-timeline-content {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0 12px;
  display: flex;
}

.detail-timeline-label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 450;
}

.detail-timeline-value {
  font-family: var(--font-mono);
  color: var(--ink);
  background: var(--bg-sub);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12.5px;
  font-weight: 500;
}

.detail-table-wrap {
  border-radius: 8px;
  margin: 0 -4px;
  padding: 0 4px;
  overflow-x: auto;
}

.detail-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.detail-table th {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-sub);
  border-bottom: 2px solid var(--rule);
  text-align: left;
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
}

.detail-table th:first-child {
  border-radius: 6px 0 0;
}

.detail-table th:last-child {
  border-radius: 0 6px 0 0;
}

.detail-table td {
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  vertical-align: middle;
  padding: 11px 14px;
}

.detail-table tr:last-child td {
  border-bottom: none;
}

.detail-table tbody tr {
  transition: background .1s;
}

.detail-table tbody tr:hover {
  background: rgba(0, 0, 0, .016);
  background: color(display-p3 0 0 0 / .015);
  background: lab(0% 0 0 / .015);
}

.detail-table tr.total-row {
  background: rgba(50, 102, 154, .04);
  background: color(display-p3 .246841 .396463 .587024 / .04);
  background: lab(41.6029% -4.80826 -33.8448 / .04);
  font-weight: 600;
}

.detail-table tr.total-row td {
  border-top: 2px solid var(--rule);
  border-bottom: none;
}

.detail-table tr.highlight-row {
  background: rgba(50, 102, 154, .04);
  background: color(display-p3 .246841 .396463 .587024 / .04);
  background: lab(41.6029% -4.80826 -33.8448 / .04);
}

.detail-ipo-tag {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  vertical-align: middle;
  background: rgba(25, 79, 129, .1);
  background: color(display-p3 .160163 .306538 .490948 / .1);
  background: lab(32.253% -3.43981 -33.6552 / .1);
  border-radius: 4px;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  display: inline-block;
}

.detail-sub-bars {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.detail-sub-bar {
  align-items: center;
  gap: 14px;
  display: flex;
}

.detail-sub-bar-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-shrink: 0;
  width: 36px;
  font-size: 11px;
  font-weight: 600;
}

.detail-sub-bar-track {
  background: var(--bg-sub);
  border-radius: 100px;
  flex: 1;
  height: 8px;
  overflow: hidden;
}

.detail-sub-bar-fill {
  border-radius: 100px;
  min-width: 3px;
  height: 100%;
  transition: width .8s cubic-bezier(.22, 1, .36, 1);
}

.detail-sub-bar-value {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  flex-shrink: 0;
  width: 55px;
  font-size: 13px;
  font-weight: 600;
}

.detail-sub-total {
  border-top: 1px solid var(--rule-soft);
  background: rgba(0, 88, 36, .03);
  background: color(display-p3 .118281 .340715 .153494 / .03);
  background: lab(31.877% -36.6537 24.6848 / .03);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding: 14px 16px;
  display: flex;
}

.detail-docs {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.detail-doc-link {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .2s, transform .15s;
  display: flex;
}

.detail-doc-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft), 0 4px 12px rgba(0, 0, 0, .04);
  transform: translateY(-1px);
}

@supports (color: color(display-p3 0 0 0)) {
  .detail-doc-link:hover {
    box-shadow: 0 0 0 2px var(--accent-soft), 0 4px 12px color(display-p3 0 0 0 / .04);
  }
}

@supports (color: lab(0% 0 0)) {
  .detail-doc-link:hover {
    box-shadow: 0 0 0 2px var(--accent-soft), 0 4px 12px lab(0% 0 0 / .04);
  }
}

.detail-doc-icon {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.detail-doc-empty {
  color: var(--ink-faint);
  padding: 8px 0;
  font-size: 13px;
}

.detail-lm-row {
  border-bottom: 1px solid var(--rule-soft);
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  display: flex;
}

.detail-lm-row:last-child {
  border-bottom: none;
}

.detail-lm-name {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .12s;
}

.detail-lm-name:hover {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
}

.detail-tag-list {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.detail-tag {
  background: var(--bg-sub);
  color: var(--ink-2);
  border: 1px solid var(--rule-soft);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 450;
  transition: border-color .15s, background .15s;
}

.detail-tag:hover {
  border-color: var(--rule);
  background: var(--surface);
}

.detail-list-items {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.detail-list-item {
  color: var(--ink-2);
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  display: flex;
}

.detail-list-bullet {
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  display: inline-block;
}

.detail-check-icon {
  color: #115629;
  color: color(display-p3 .156422 .332205 .177874);
  color: lab(31.6494% -30.3033 20.1071);
  background: rgba(9, 103, 46, .1);
  background: color(display-p3 .176425 .396973 .205674 / .1);
  background: lab(37.6918% -36.456 24.3006 / .1);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: inline-flex;
}

.detail-check-icon:after {
  content: "✓";
  font-size: 10px;
  font-weight: 700;
}

.detail-warn-icon {
  color: #8c3432;
  color: color(display-p3 .507664 .227562 .207589);
  color: lab(35.0104% 37.7494 22.1378);
  background: rgba(181, 74, 70, .1);
  background: color(display-p3 .659151 .316846 .290573 / .1);
  background: lab(46.4168% 43.9955 25.6171 / .1);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: inline-flex;
}

.detail-warn-icon:after {
  content: "!";
  font-size: 10px;
  font-weight: 700;
}

.detail-sentiment-items {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.detail-sentiment-item {
  border-left: 3px solid var(--accent);
  background: rgba(0, 0, 0, .016);
  background: color(display-p3 0 0 0 / .015);
  background: lab(0% 0 0 / .015);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.detail-sentiment-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 600;
  display: block;
}

.detail-sentiment-item p {
  color: var(--ink-2);
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
}

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

.detail-news-item {
  border-bottom: 1px solid var(--rule-soft);
  padding: 14px 0;
  transition: background .1s;
}

.detail-news-item:last-child {
  border-bottom: none;
}

.detail-news-item:hover {
  background: rgba(0, 0, 0, .01);
  background: color(display-p3 0 0 0 / .01);
  background: lab(0% 0 0 / .01);
  border-radius: 6px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.detail-news-title {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color .12s;
  display: block;
}

.detail-news-title:hover {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
}

.detail-news-desc {
  color: var(--ink-mute);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
}

.detail-news-meta {
  color: var(--ink-faint);
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
  display: flex;
}

.detail-empty-msg {
  color: var(--ink-faint);
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  font-style: italic;
}

.detail-llm-status {
  color: var(--ink-mute);
  background: rgba(158, 98, 0, .06);
  background: color(display-p3 .605475 .385731 -.0335109 / .06);
  background: lab(47.4193% 24.0531 76.5117 / .06);
  border: 1px solid rgba(158, 98, 0, .15);
  border: 1px solid color(display-p3 .605475 .385731 -.0335109 / .15);
  border: 1px solid lab(47.4193% 24.0531 76.5117 / .15);
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 12.5px;
  display: flex;
}

.detail-llm-dot {
  background: #9e6200;
  background: color(display-p3 .605475 .385731 -.0335109);
  background: lab(47.4193% 24.0531 76.5117);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1.5s ease-in-out infinite pulse-dot;
}

.detail-synced {
  text-align: center;
  color: var(--ink-faint);
  letter-spacing: .01em;
  padding: 24px 0;
  font-size: 11px;
}

.detail-refresh-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 100px;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
  display: inline-flex;
}

.detail-refresh-btn:hover {
  color: var(--ink);
  background: var(--bg-sub);
  border-color: var(--ink-faint);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  box-shadow: 0 2px 6px color(display-p3 0 0 0 / .06);
  box-shadow: 0 2px 6px lab(0% 0 0 / .06);
}

.detail-refresh-btn:disabled {
  opacity: .5;
  cursor: wait;
}

.detail-refresh-btn svg.spin {
  animation: .8s linear infinite refresh-spin;
}

@keyframes refresh-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.detail-refresh-toast {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .06);
  background: color(display-p3 .118281 .340715 .153494 / .06);
  background: lab(31.877% -36.6537 24.6848 / .06);
  border: 1px solid rgba(0, 88, 36, .15);
  border: 1px solid color(display-p3 .118281 .340715 .153494 / .15);
  border: 1px solid lab(31.877% -36.6537 24.6848 / .15);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
}

@media (max-width: 768px) {
  .detail-hero-inner {
    padding: 20px 18px 16px;
  }

  .detail-hero-top {
    flex-direction: column;
    gap: 14px;
  }

  .detail-hero-name {
    font-size: 22px;
  }

  .detail-hero-badges {
    flex-wrap: wrap;
  }

  .detail-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-metric-pill:nth-child(3):after {
    display: none;
  }

  .detail-tab-bar {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .detail-tab {
    padding: 12px 16px;
    font-size: 13px;
  }

  .detail-grid-2, .detail-kv-grid {
    grid-template-columns: 1fr;
  }

  .detail-section {
    border-radius: 10px;
    padding: 18px 16px;
  }

  .detail-timeline-value {
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .detail-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-metric-pill:nth-child(2):after, .detail-metric-pill:nth-child(4):after {
    display: none;
  }

  .detail-hero-name {
    font-size: 20px;
  }
}

.doc-hero-section {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
  box-shadow: 0 1px 3px color(display-p3 0 0 0 / .03);
  box-shadow: 0 1px 3px lab(0% 0 0 / .03);
}

.doc-hero-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.doc-hero-title {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 400;
}

.doc-hero-subtitle {
  color: var(--ink-mute);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.doc-hero-badge-row {
  flex-shrink: 0;
  gap: 8px;
  display: flex;
}

.doc-availability-badge {
  letter-spacing: .01em;
  white-space: nowrap;
  border-radius: 100px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.doc-availability-badge.available {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .08);
  background: color(display-p3 .118281 .340715 .153494 / .08);
  background: lab(31.877% -36.6537 24.6848 / .08);
}

.doc-availability-badge.available:before {
  content: "";
  background: #007834;
  background: color(display-p3 .174028 .468023 .22057);
  background: lab(43.8463% -45.8172 30.856);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.doc-availability-badge.unavailable {
  color: var(--ink-faint);
  background: var(--bg-sub);
}

.doc-cards-grid {
  gap: 16px;
  display: grid;
}

.doc-cards-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.doc-cards-grid.one-col {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .doc-cards-grid.two-col {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  transition: border-color .2s, box-shadow .25s, transform .2s;
  display: flex;
}

.doc-card-active {
  background: var(--surface);
}

.doc-card-active:hover {
  border-color: rgba(25, 79, 129, .4);
  border-color: color(display-p3 .160163 .306538 .490948 / .4);
  border-color: lab(32.253% -3.43981 -33.6552 / .4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(25, 79, 129, .08);
  box-shadow: 0 4px 20px color(display-p3 .160163 .306538 .490948 / .08);
  box-shadow: 0 4px 20px lab(32.253% -3.43981 -33.6552 / .08);
}

.doc-card-disabled {
  background: var(--bg-sub);
  opacity: .6;
}

.doc-card-header {
  align-items: center;
  gap: 12px;
  display: flex;
}

.doc-card-icon {
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.doc-card-icon.drhp {
  color: #004f8b;
  color: color(display-p3 .119388 .303294 .527931);
  color: lab(32.0502% -2.01271 -40.1671);
  background: rgba(4, 101, 175, .08);
  background: color(display-p3 .16861 .39113 .664367 / .08);
  background: lab(41.2342% -2.64815 -46.8883 / .08);
}

.doc-card-icon.rhp {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 120, 53, .08);
  background: color(display-p3 .195767 .463601 .233813 / .08);
  background: lab(43.7335% -42.6217 28.5221 / .08);
}

.doc-card-title-block {
  flex: 1;
}

.doc-card-name {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.doc-card-full-name {
  color: var(--ink-faint);
  margin-top: 1px;
  font-size: 11px;
  display: block;
}

.doc-card-status-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.doc-card-status-dot.active {
  background: #008a3b;
  background: color(display-p3 .163626 .540813 .234017);
  background: lab(49.9978% -55.2448 37.5695);
  box-shadow: 0 0 0 3px rgba(0, 138, 59, .15);
  box-shadow: 0 0 0 3px color(display-p3 .163626 .540813 .234017 / .15);
  box-shadow: 0 0 0 3px lab(49.9978% -55.2448 37.5695 / .15);
}

.doc-card-description {
  color: var(--ink-mute);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
}

.doc-card-meta {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.doc-meta-tag {
  color: var(--ink-mute);
  background: var(--bg-sub);
  letter-spacing: .01em;
  border-radius: 4px;
  align-items: center;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 500;
  display: inline-flex;
}

.doc-card-cta {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .07);
  background: color(display-p3 .160163 .306538 .490948 / .07);
  background: lab(32.253% -3.43981 -33.6552 / .07);
  border: 1px solid rgba(25, 79, 129, .1);
  border: 1px solid color(display-p3 .160163 .306538 .490948 / .1);
  border: 1px solid lab(32.253% -3.43981 -33.6552 / .1);
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, box-shadow .2s, transform .15s;
  display: flex;
}

.doc-card-cta:hover {
  background: rgba(25, 79, 129, .12);
  background: color(display-p3 .160163 .306538 .490948 / .12);
  background: lab(32.253% -3.43981 -33.6552 / .12);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(25, 79, 129, .12);
  box-shadow: 0 2px 8px color(display-p3 .160163 .306538 .490948 / .12);
  box-shadow: 0 2px 8px lab(32.253% -3.43981 -33.6552 / .12);
}

.doc-card-unavailable {
  background: var(--bg-sub);
  color: var(--ink-faint);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
}

.doc-analytics-intro {
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.4;
}

.doc-snapshot-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

@media (max-width: 768px) {
  .doc-snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .doc-snapshot-grid {
    grid-template-columns: 1fr;
  }
}

.doc-snapshot-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 18px 16px 22px;
  transition: box-shadow .2s, transform .15s;
  position: relative;
  overflow: hidden;
}

.doc-snapshot-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  box-shadow: 0 2px 8px color(display-p3 0 0 0 / .04);
  box-shadow: 0 2px 8px lab(0% 0 0 / .04);
}

.doc-snapshot-indicator {
  border-radius: 0 3px 3px 0;
  width: 3px;
  height: calc(100% - 16px);
  position: absolute;
  top: 8px;
  left: 0;
}

.doc-snapshot-label {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
}

.doc-snapshot-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.doc-snapshot-sub {
  color: var(--ink-faint);
  font-size: 11.5px;
  font-family: var(--font-mono);
  margin-top: 6px;
}

.doc-comparison-banner {
  background: rgba(25, 79, 129, .04);
  background: color(display-p3 .160163 .306538 .490948 / .04);
  background: lab(32.253% -3.43981 -33.6552 / .04);
  border: 1px solid rgba(25, 79, 129, .12);
  border: 1px solid color(display-p3 .160163 .306538 .490948 / .12);
  border: 1px solid lab(32.253% -3.43981 -33.6552 / .12);
  border-radius: 10px;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
}

.doc-comparison-icon {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.doc-comparison-text strong {
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 13px;
  display: block;
}

.doc-comparison-text p {
  color: var(--ink-mute);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.doc-comparison-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

@media (max-width: 640px) {
  .doc-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.doc-comparison-item {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  transition: border-color .15s;
  display: flex;
}

.doc-comparison-item:hover {
  border-color: var(--rule);
}

.doc-comparison-item-icon {
  background: currentColor;
  background: oklch(0% 0 0 / .04);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.doc-comparison-item-title {
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
}

.doc-comparison-item-desc {
  color: var(--ink-faint);
  font-size: 11.5px;
  line-height: 1.4;
}

.doc-risk-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.doc-risk-item {
  color: var(--ink-2);
  background: rgba(158, 98, 0, .03);
  background: color(display-p3 .605475 .385731 -.0335109 / .03);
  background: lab(47.4193% 24.0531 76.5117 / .03);
  border: 1px solid rgba(158, 98, 0, .1);
  border: 1px solid color(display-p3 .605475 .385731 -.0335109 / .1);
  border: 1px solid lab(47.4193% 24.0531 76.5117 / .1);
  border-radius: 10px;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  transition: background .15s, border-color .15s;
  display: flex;
}

.doc-risk-item:hover {
  background: rgba(158, 98, 0, .05);
  background: color(display-p3 .605475 .385731 -.0335109 / .05);
  background: lab(47.4193% 24.0531 76.5117 / .05);
  border-color: rgba(158, 98, 0, .15);
  border-color: color(display-p3 .605475 .385731 -.0335109 / .15);
  border-color: lab(47.4193% 24.0531 76.5117 / .15);
}

.doc-risk-number {
  color: #794900;
  color: color(display-p3 .464431 .284599 -.0527681);
  color: lab(35.8566% 20.8863 63.181);
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(158, 98, 0, .1);
  background: color(display-p3 .605475 .385731 -.0335109 / .1);
  background: lab(47.4193% 24.0531 76.5117 / .1);
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-top: 1px;
  display: flex;
}

.doc-risk-text {
  flex: 1;
}

.doc-strength-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.doc-strength-item {
  color: var(--ink-2);
  background: rgba(0, 88, 36, .03);
  background: color(display-p3 .118281 .340715 .153494 / .03);
  background: lab(31.877% -36.6537 24.6848 / .03);
  border: 1px solid rgba(0, 88, 36, .1);
  border: 1px solid color(display-p3 .118281 .340715 .153494 / .1);
  border: 1px solid lab(31.877% -36.6537 24.6848 / .1);
  border-radius: 10px;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  transition: background .15s, border-color .15s;
  display: flex;
}

.doc-strength-item:hover {
  background: rgba(0, 88, 36, .05);
  background: color(display-p3 .118281 .340715 .153494 / .05);
  background: lab(31.877% -36.6537 24.6848 / .05);
  border-color: rgba(0, 88, 36, .15);
  border-color: color(display-p3 .118281 .340715 .153494 / .15);
  border-color: lab(31.877% -36.6537 24.6848 / .15);
}

.doc-strength-check {
  color: #00591f;
  color: color(display-p3 .0635069 .34876 .126318);
  color: lab(32.0982% -43.1519 29.6192);
  background: rgba(0, 88, 36, .1);
  background: color(display-p3 .118281 .340715 .153494 / .1);
  background: lab(31.877% -36.6537 24.6848 / .1);
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: flex;
}

.doc-promoter-tags {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.doc-empty-state {
  text-align: center;
  background: var(--bg-sub);
  border: 2px dashed var(--rule);
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  padding: 56px 32px;
  display: flex;
}

.doc-empty-icon {
  color: var(--ink-faint);
  opacity: .4;
  margin-bottom: 16px;
}

.doc-empty-title {
  font-family: var(--font-display);
  color: var(--ink-mute);
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.doc-empty-desc {
  color: var(--ink-faint);
  max-width: 420px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .doc-hero-header {
    flex-direction: column;
    gap: 12px;
  }

  .doc-hero-badge-row {
    flex-wrap: wrap;
  }
}

.lm-page-header {
  margin-bottom: 24px;
}

.lm-page-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.lm-page-subtitle {
  color: var(--ink-mute);
  margin: 0;
  font-size: 14px;
}

.lm-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  display: flex;
}

.lm-tab-group {
  border: 1px solid var(--rule);
  background: var(--rule-soft);
  border-radius: 8px;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.lm-tab {
  color: var(--ink-mute);
  background: var(--surface);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 450;
  transition: color .15s, background .15s;
  display: flex;
}

.lm-tab:first-child {
  border-right: 1px solid var(--rule-soft);
}

.lm-tab:hover {
  color: var(--ink);
}

.lm-tab.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .06);
  background: color(display-p3 .265162 .27028 .494088 / .06);
  background: lab(31.5268% 12.8168 -35.2569 / .06);
  font-weight: 500;
}

.lm-tab.active.registrar {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .06);
  background: color(display-p3 .160163 .306538 .490948 / .06);
  background: lab(32.253% -3.43981 -33.6552 / .06);
}

.lm-tab-count {
  font-family: var(--font-mono);
  background: var(--bg-sub);
  color: var(--ink-faint);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 500;
}

.lm-tab.active .lm-tab-count {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .12);
  background: color(display-p3 .265162 .27028 .494088 / .12);
  background: lab(31.5268% 12.8168 -35.2569 / .12);
}

.lm-tab.active.registrar .lm-tab-count {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .12);
  background: color(display-p3 .160163 .306538 .490948 / .12);
  background: lab(32.253% -3.43981 -33.6552 / .12);
}

.lm-search-icon {
  color: var(--ink-faint);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.lm-search-input {
  width: 240px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  outline: none;
  padding: 8px 14px 8px 36px;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}

.lm-search-input::placeholder {
  color: var(--ink-faint);
}

.lm-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.lm-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.lm-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 10px;
  padding: 20px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  position: relative;
}

.lm-card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 27, 27, .06);
  box-shadow: 0 4px 16px color(display-p3 .103957 .103957 .103957 / .06);
  box-shadow: 0 4px 16px lab(9.52% -.00000745058 0 / .06);
}

.lm-card-top {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  display: flex;
}

.lm-card-avatar {
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.lm-avatar-purple {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(75, 77, 139, .1);
  background: color(display-p3 .296257 .303209 .5299 / .1);
  background: lab(35.041% 12.3583 -35.3242 / .1);
}

.lm-avatar-blue {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .1);
  background: color(display-p3 .160163 .306538 .490948 / .1);
  background: lab(32.253% -3.43981 -33.6552 / .1);
}

.lm-card-info {
  flex: 1;
  min-width: 0;
}

.lm-card-name {
  color: var(--ink);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
}

.lm-card-cats {
  gap: 6px;
  margin-top: 4px;
  display: flex;
}

.lm-card-cat {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
}

.lm-card-cat.registrar {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
}

.lm-card-stats {
  border-top: 1px solid var(--rule-soft);
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  display: flex;
}

.lm-card-stat {
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.lm-card-stat-label {
  color: var(--ink-mute);
}

.lm-card-stat-value {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}

.lm-card-arrow {
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity .18s, transform .18s;
  position: absolute;
  top: 20px;
  right: 16px;
}

.lm-card:hover .lm-card-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.lm-empty {
  text-align: center;
  color: var(--ink-faint);
  grid-column: 1 / -1;
  padding: 48px 0;
  font-size: 13px;
}

.lm-entity-header {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px 28px;
  display: flex;
}

.lm-entity-avatar {
  border-radius: 14px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
}

.lm-entity-info {
  min-width: 0;
}

.lm-entity-name {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.lm-entity-meta {
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.lm-entity-type {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .08);
  background: color(display-p3 .265162 .27028 .494088 / .08);
  background: lab(31.5268% 12.8168 -35.2569 / .08);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

.lm-entity-type.registrar {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
}

.lm-entity-count {
  color: var(--ink-mute);
  font-size: 13px;
}

.lm-ipo-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.lmd-header {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 28px;
}

.lmd-header-top {
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  display: flex;
}

.lmd-kpi-strip {
  border-top: 1px solid var(--rule-soft);
  align-items: center;
  gap: 0;
  padding-top: 20px;
  display: flex;
  overflow-x: auto;
}

.lmd-kpi {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0 24px;
  display: flex;
}

.lmd-kpi-value {
  font-family: var(--font-mono);
  color: var(--ink);
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
}

.lmd-kpi-label {
  color: var(--ink-mute);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 11px;
  font-weight: 500;
}

.lmd-kpi-divider {
  background: var(--rule-soft);
  flex-shrink: 0;
  width: 1px;
  height: 36px;
}

.lmd-charts-row {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  display: grid;
}

.lmd-charts-single {
  grid-template-columns: 1fr;
}

.lmd-chart-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px 24px;
}

.lmd-chart-wide {
  grid-column: 1 / -1;
}

.lmd-chart-title {
  color: var(--ink);
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
}

.lmd-chart-title svg {
  color: var(--ink-mute);
  flex-shrink: 0;
}

.lmd-chart-empty {
  text-align: center;
  color: var(--ink-faint);
  padding: 24px 0;
  font-size: 13px;
}

.lmd-bar-chart {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.lmd-bar-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.lmd-bar-label {
  color: var(--ink-mute);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
  width: 80px;
  font-size: 12px;
  overflow: hidden;
}

.lmd-bar-track {
  background: var(--bg-sub);
  border-radius: 4px;
  flex: 1;
  height: 20px;
  overflow: hidden;
}

.lmd-bar-fill {
  border-radius: 4px;
  min-width: 2px;
  height: 100%;
}

.lmd-bar-value {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  flex-shrink: 0;
  width: 48px;
  font-size: 12px;
  font-weight: 600;
}

.lmd-donut-wrap {
  align-items: center;
  gap: 20px;
  display: flex;
}

.lmd-donut-svg {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.lmd-donut-total {
  font-family: var(--font-mono);
  fill: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.lmd-donut-label {
  fill: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 8px;
  font-weight: 600;
}

.lmd-donut-legend {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.lmd-donut-legend-item {
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.lmd-donut-dot {
  border-radius: 3px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.lmd-donut-legend-label {
  color: var(--ink);
  font-weight: 500;
}

.lmd-donut-legend-value {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 11px;
}

.lmd-top-list {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.lmd-top-item {
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.lmd-top-item:hover {
  background: var(--bg-sub);
}

.lmd-top-item:last-child {
  border-bottom: none;
}

.lmd-top-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  flex-shrink: 0;
  width: 24px;
  font-size: 11px;
  font-weight: 600;
}

.lmd-top-info {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.lmd-top-name {
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.lmd-top-meta {
  color: var(--ink-faint);
  align-items: center;
  gap: 8px;
  font-size: 11px;
  display: flex;
}

.lmd-top-tag {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4b4d8b;
  color: color(display-p3 .296257 .303209 .5299);
  color: lab(35.041% 12.3583 -35.3242);
  background: rgba(75, 77, 139, .08);
  background: color(display-p3 .296257 .303209 .5299 / .08);
  background: lab(35.041% 12.3583 -35.3242 / .08);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
}

.lmd-top-value {
  font-family: var(--font-mono);
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}

.lmd-sub-value {
  color: #00591f;
  color: color(display-p3 .0635069 .34876 .126318);
  color: lab(32.0982% -43.1519 29.6192);
}

.lmd-ipo-section {
  margin-top: 24px;
}

.lmd-ipo-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.lmd-section-title {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.lmd-sort-group {
  align-items: center;
  gap: 6px;
  display: flex;
}

.lmd-sort-label {
  color: var(--ink-mute);
  margin-right: 4px;
  font-size: 12px;
}

.lmd-sort-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 450;
  transition: all .15s;
  display: flex;
}

.lmd-sort-btn:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
}

.lmd-sort-btn.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .06);
  background: color(display-p3 .265162 .27028 .494088 / .06);
  background: lab(31.5268% 12.8168 -35.2569 / .06);
  border-color: rgba(67, 69, 130, .2);
  border-color: color(display-p3 .265162 .27028 .494088 / .2);
  border-color: lab(31.5268% 12.8168 -35.2569 / .2);
  font-weight: 500;
}

.lmd-table-wrap {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}

.lmd-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.lmd-th {
  text-align: left;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-sub);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
}

.lmd-th-name {
  min-width: 200px;
}

.lmd-th-num {
  text-align: right;
}

.lmd-tr {
  cursor: pointer;
  transition: background .15s;
}

.lmd-tr:hover {
  background: var(--bg-sub);
}

.lmd-tr:not(:last-child) {
  border-bottom: 1px solid var(--rule-soft);
}

.lmd-td {
  vertical-align: middle;
  padding: 12px 16px;
}

.lmd-td-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  width: 40px;
  font-size: 12px;
}

.lmd-td-name {
  min-width: 200px;
}

.lmd-td-company {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.lmd-td-company-name {
  color: var(--ink);
  font-weight: 500;
}

.lmd-td-sector {
  color: var(--ink-faint);
  font-size: 11px;
}

.lmd-td-num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
}

.lmd-td-action {
  text-align: right;
  width: 70px;
}

.lmd-cat-badge {
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
}

.lmd-cat-badge.sme {
  color: #4b4d8b;
  color: color(display-p3 .296257 .303209 .5299);
  color: lab(35.041% 12.3583 -35.3242);
  background: rgba(75, 77, 139, .08);
  background: color(display-p3 .296257 .303209 .5299 / .08);
  background: lab(35.041% 12.3583 -35.3242 / .08);
}

.lmd-cat-badge.mainline {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
}

.lmd-status-badge {
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
}

.lmd-status-badge.listed, .lmd-status-badge.closed {
  color: #40639c;
  color: color(display-p3 .282031 .383907 .594276);
  color: lab(41.3303% 1.05423 -35.4233);
  background: rgba(64, 99, 156, .08);
  background: color(display-p3 .282031 .383907 .594276 / .08);
  background: lab(41.3303% 1.05423 -35.4233 / .08);
}

.lmd-status-badge.open, .lmd-status-badge.current {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .08);
  background: color(display-p3 .118281 .340715 .153494 / .08);
  background: lab(31.877% -36.6537 24.6848 / .08);
}

.lmd-status-badge.upcoming, .lmd-status-badge.forthcoming {
  color: #8e5400;
  color: color(display-p3 .544388 .328027 -.0980596);
  color: lab(41.5778% 24.705 79.644);
  background: rgba(142, 84, 0, .08);
  background: color(display-p3 .544388 .328027 -.0980596 / .08);
  background: lab(41.5778% 24.705 79.644 / .08);
}

.lmd-sub-badge {
  color: #00591f;
  color: color(display-p3 .0635069 .34876 .126318);
  color: lab(32.0982% -43.1519 29.6192);
  font-weight: 600;
}

.lmd-view-link {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.lmd-view-link:hover {
  color: #312e76;
  color: color(display-p3 .190458 .181441 .447813);
  color: lab(22.877% 19.0765 -41.9718);
}

.lmd-pagination {
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}

.lmd-page-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 450;
  transition: all .15s;
  display: flex;
}

.lmd-page-btn:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--ink-faint);
}

.lmd-page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.lmd-page-numbers {
  align-items: center;
  gap: 2px;
  display: flex;
}

.lmd-page-num {
  min-width: 34px;
  height: 34px;
  color: var(--ink-mute);
  cursor: pointer;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 450;
  transition: all .15s;
  display: flex;
}

.lmd-page-num:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.lmd-page-num.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .1);
  background: color(display-p3 .265162 .27028 .494088 / .1);
  background: lab(31.5268% 12.8168 -35.2569 / .1);
  border-color: rgba(67, 69, 130, .2);
  border-color: color(display-p3 .265162 .27028 .494088 / .2);
  border-color: lab(31.5268% 12.8168 -35.2569 / .2);
  font-weight: 600;
}

.lmd-page-ellipsis {
  color: var(--ink-faint);
  padding: 0 4px;
  font-size: 13px;
}

.lmd-page-info {
  text-align: center;
  color: var(--ink-faint);
  margin-top: 8px;
  padding-bottom: 24px;
  font-size: 12px;
}

.lm-sort-label {
  color: var(--ink-mute);
  font-size: 12px;
}

.lm-sort-select {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 6px;
  outline: none;
  padding: 6px 10px;
  font-size: 12px;
}

.lm-view-btn {
  background: var(--surface);
  cursor: pointer;
  width: 32px;
  height: 30px;
  color: var(--ink-faint);
  border: none;
  justify-content: center;
  align-items: center;
  transition: all .15s;
  display: flex;
}

.lm-results-info {
  color: var(--ink-faint);
  margin-bottom: 12px;
  font-size: 12px;
}

.lm-search-clear {
  background: var(--bg-sub);
  cursor: pointer;
  width: 18px;
  height: 18px;
  color: var(--ink-mute);
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: color .15s, background .15s;
  display: flex;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.lm-search-clear:hover {
  color: var(--ink);
  background: var(--rule);
}

.lm-stat-value {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.lm-top5-title {
  color: var(--ink);
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.lm-top5-bar-row {
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  text-decoration: none;
  transition: opacity .15s;
  display: flex;
}

.lm-top5-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  flex-shrink: 0;
  width: 26px;
  font-size: 11px;
  font-weight: 600;
}

.lm-top5-count {
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  width: 36px;
  font-size: 12px;
  font-weight: 600;
}

.lm-table-wrap {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}

.lm-th {
  text-align: left;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-sub);
  border-bottom: 1px solid var(--rule);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
}

.lm-th-rank {
  width: 40px;
}

.lm-th-name {
  min-width: 200px;
}

.lm-th-action {
  text-align: right;
  width: 90px;
}

.lm-td {
  vertical-align: middle;
  padding: 10px 14px;
  font-size: 13px;
}

.lm-td-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 12px;
}

.lm-td-num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
}

.lm-table-view-btn {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.lm-table-view-btn:hover {
  color: #312e76;
  color: color(display-p3 .190458 .181441 .447813);
  color: lab(22.877% 19.0765 -41.9718);
}

@media (max-width: 1024px) {
  .detail-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid-2, .detail-kv-grid {
    grid-template-columns: 1fr;
  }

  .lm-grid, .lm-ipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lmd-charts-row {
    grid-template-columns: 1fr;
  }

  .lmd-kpi-strip {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lmd-kpi-divider {
    display: none;
  }

  .lmd-kpi {
    background: var(--bg-sub);
    border-radius: 8px;
    min-width: calc(33% - 12px);
    padding: 8px 16px;
  }

  .lm-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .detail-hero-top {
    flex-direction: column;
  }

  .detail-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-tab-bar {
    overflow-x: auto;
  }

  .detail-tab {
    padding: 12px 14px;
    font-size: 12px;
  }

  .lm-grid, .lm-ipo-grid {
    grid-template-columns: 1fr;
  }

  .lm-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .lm-search-input {
    width: 100%;
  }

  .lmd-ipo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .lmd-sort-group {
    flex-wrap: wrap;
  }

  .lmd-table-wrap {
    overflow-x: auto;
  }

  .lmd-donut-wrap {
    flex-direction: column;
    align-items: center;
  }

  .lmd-pagination {
    flex-wrap: wrap;
  }

  .lm-stats-row {
    grid-template-columns: 1fr;
  }

  .lmd-kpi {
    min-width: calc(50% - 12px);
  }

  .ipo-nav-divider, .ipo-nav-links {
    display: none;
  }

  .ipo-topnav {
    padding: 0 16px;
  }
}

.ipo-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  border-radius: 10px;
  flex-direction: column;
  padding: 20px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  display: flex;
}

.ipo-card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 27, 27, .06);
  box-shadow: 0 4px 16px color(display-p3 .103957 .103957 .103957 / .06);
  box-shadow: 0 4px 16px lab(9.52% -.00000745058 0 / .06);
}

.ipo-card-top {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  display: flex;
}

.ipo-card-badges {
  align-items: center;
  gap: 6px;
  display: flex;
}

.ipo-card-badge {
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
}

.ipo-card-name {
  color: var(--ink);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
}

.ipo-card-sector {
  letter-spacing: .02em;
  color: #005356;
  color: color(display-p3 .0799977 .323374 .342948);
  color: lab(31.1679% -24.9561 -10.218);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(0, 83, 86, .08);
  background: color(display-p3 .0799977 .323374 .342948 / .08);
  background: lab(31.1679% -24.9561 -10.218 / .08);
  border: 1px solid rgba(0, 83, 86, .15);
  border: 1px solid color(display-p3 .0799977 .323374 .342948 / .15);
  border: 1px solid lab(31.1679% -24.9561 -10.218 / .15);
  border-radius: 4px;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  display: inline-block;
  overflow: hidden;
}

.ipo-card-metrics {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  margin-bottom: 14px;
  display: flex;
}

.ipo-card-metric {
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.ipo-card-metric-label {
  color: var(--ink-mute);
}

.ipo-card-metric-value {
  color: var(--ink);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
  font-weight: 500;
  overflow: hidden;
}

.ipo-card-metric-value.mono {
  font-family: var(--font-mono);
}

.ipo-card-footer {
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-faint);
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-size: 11px;
  display: flex;
}

.ipo-card-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.ipo-list-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.ipo-list-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.ipo-list-subtitle {
  color: var(--ink-mute);
  margin: 0;
  font-size: 14px;
}

.ipo-list-action {
  color: var(--accent);
  background: var(--accent-soft);
  white-space: nowrap;
  border: 1px solid rgba(124, 37, 36, .15);
  border: 1px solid color(display-p3 .446876 .171296 .156198 / .15);
  border: 1px solid lab(29.1992% 37.8517 22.6944 / .15);
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  display: inline-flex;
}

.ipo-list-action:hover {
  border-color: var(--accent);
  background: rgba(124, 37, 36, .15);
  background: color(display-p3 .446876 .171296 .156198 / .15);
  background: lab(29.1992% 37.8517 22.6944 / .15);
}

.ipo-list-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}

.ipo-list-filters {
  align-items: center;
  gap: 12px;
  display: flex;
}

.ipo-list-category-group {
  gap: 4px;
  display: flex;
}

.ipo-list-category-btn {
  color: var(--ink-mute);
  cursor: pointer;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: color .15s, background .15s;
}

.ipo-list-category-btn:hover {
  color: var(--ink-2);
  background: var(--bg-sub);
}

.ipo-list-category-btn.active {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
  font-weight: 500;
}

.ipo-list-lm-btn {
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  background: var(--surface);
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: border-color .15s, color .15s;
  display: inline-flex;
}

.ipo-list-lm-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink-2);
}

.ipo-list-lm-btn.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .06);
  background: color(display-p3 .265162 .27028 .494088 / .06);
  background: lab(31.5268% 12.8168 -35.2569 / .06);
  border-color: rgba(67, 69, 130, .25);
  border-color: color(display-p3 .265162 .27028 .494088 / .25);
  border-color: lab(31.5268% 12.8168 -35.2569 / .25);
}

.ipo-list-lm-dropdown {
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  width: 280px;
  max-height: 256px;
  margin-top: 4px;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(27, 27, 27, .1);
  box-shadow: 0 8px 24px color(display-p3 .103957 .103957 .103957 / .1);
  box-shadow: 0 8px 24px lab(9.52% -.00000745058 0 / .1);
}

.ipo-list-lm-option {
  text-align: left;
  width: 100%;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 5px;
  align-items: center;
  padding: 7px 10px;
  font-size: 12px;
  transition: background .12s;
  display: flex;
}

.ipo-list-lm-option:hover {
  background: var(--bg-sub);
}

.ipo-list-lm-option.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .06);
  background: color(display-p3 .265162 .27028 .494088 / .06);
  background: lab(31.5268% 12.8168 -35.2569 / .06);
}

.ipo-list-filter-badge {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .08);
  background: color(display-p3 .265162 .27028 .494088 / .08);
  background: lab(31.5268% 12.8168 -35.2569 / .08);
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

@media (max-width: 1024px) {
  .ipo-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ipo-card-grid {
    grid-template-columns: 1fr;
  }

  .ipo-list-header {
    flex-direction: column;
    gap: 12px;
  }

  .ipo-list-controls, .ipo-list-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .ipo-list-lm-dropdown {
    width: 100%;
  }
}

.ipof-presets {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.ipof-preset-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.ipof-preset-btn:hover {
  color: var(--ink-2);
  border-color: var(--ink-faint);
  background: var(--bg-sub);
}

.ipof-preset-btn.active {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .08);
  background: color(display-p3 .118281 .340715 .153494 / .08);
  background: lab(31.877% -36.6537 24.6848 / .08);
  border-color: rgba(0, 88, 36, .25);
  border-color: color(display-p3 .118281 .340715 .153494 / .25);
  border-color: lab(31.877% -36.6537 24.6848 / .25);
}

.ipof-controls-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.ipof-search-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  position: relative;
}

.ipof-search-icon {
  color: var(--ink-faint);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.ipof-search-input {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  outline: none;
  padding: 7px 12px 7px 34px;
  font-family: inherit;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}

.ipof-search-input:focus {
  border-color: rgba(25, 79, 129, .4);
  border-color: color(display-p3 .160163 .306538 .490948 / .4);
  border-color: lab(32.253% -3.43981 -33.6552 / .4);
  box-shadow: 0 0 0 3px rgba(25, 79, 129, .08);
  box-shadow: 0 0 0 3px color(display-p3 .160163 .306538 .490948 / .08);
  box-shadow: 0 0 0 3px lab(32.253% -3.43981 -33.6552 / .08);
}

.ipof-search-input::placeholder {
  color: var(--ink-faint);
}

.ipof-status-group {
  gap: 4px;
  display: flex;
}

.ipof-status-btn {
  color: var(--ink-mute);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
}

.ipof-status-btn:hover {
  color: var(--ink-2);
  background: var(--bg-sub);
}

.ipof-status-btn.active {
  border-color: currentColor;
  font-weight: 600;
}

.ipof-filter-toggle {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.ipof-filter-toggle:hover {
  border-color: var(--ink-faint);
  color: var(--ink-2);
}

.ipof-filter-toggle.active {
  color: #7c2524;
  color: color(display-p3 .446876 .171296 .156198);
  color: lab(29.1992% 37.8517 22.6944);
  background: rgba(124, 37, 36, .06);
  background: color(display-p3 .446876 .171296 .156198 / .06);
  background: lab(29.1992% 37.8517 22.6944 / .06);
  border-color: rgba(124, 37, 36, .25);
  border-color: color(display-p3 .446876 .171296 .156198 / .25);
  border-color: lab(29.1992% 37.8517 22.6944 / .25);
}

.ipof-filter-count {
  color: #fff;
  background: #7c2524;
  background: color(display-p3 .446876 .171296 .156198);
  background: lab(29.1992% 37.8517 22.6944);
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.ipof-sort-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.ipof-sort-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink-2);
}

.ipof-dropdown {
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  min-width: 180px;
  max-height: 300px;
  margin-top: 4px;
  padding: 6px;
  position: absolute;
  top: 100%;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(27, 27, 27, .12);
  box-shadow: 0 8px 24px color(display-p3 .103957 .103957 .103957 / .12);
  box-shadow: 0 8px 24px lab(9.52% -.00000745058 0 / .12);
}

.ipof-dropdown-option {
  text-align: left;
  width: 100%;
  color: var(--ink-2);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
  transition: background .12s;
  display: flex;
}

.ipof-dropdown-option:hover {
  background: var(--bg-sub);
}

.ipof-dropdown-option.active {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .06);
  background: color(display-p3 .160163 .306538 .490948 / .06);
  background: lab(32.253% -3.43981 -33.6552 / .06);
  font-weight: 500;
}

.ipof-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
  display: flex;
  overflow: visible;
}

.ipof-panel-row {
  flex-wrap: wrap;
  gap: 24px;
  display: flex;
  position: relative;
  overflow: visible;
}

.ipof-panel-group {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
  position: relative;
  overflow: visible;
}

.ipof-panel-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
}

.ipof-pill-group {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.ipof-pill {
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  transition: all .12s;
}

.ipof-pill:hover {
  color: var(--ink-2);
  border-color: var(--ink-faint);
}

.ipof-pill.active {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
  border-color: rgba(25, 79, 129, .25);
  border-color: color(display-p3 .160163 .306538 .490948 / .25);
  border-color: lab(32.253% -3.43981 -33.6552 / .25);
}

.ipof-lm-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  max-width: 320px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
  overflow: hidden;
}

.ipof-lm-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink-2);
}

.ipof-lm-btn.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .06);
  background: color(display-p3 .265162 .27028 .494088 / .06);
  background: lab(31.5268% 12.8168 -35.2569 / .06);
  border-color: rgba(67, 69, 130, .25);
  border-color: color(display-p3 .265162 .27028 .494088 / .25);
  border-color: lab(31.5268% 12.8168 -35.2569 / .25);
}

.ipof-clear-btn {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
  cursor: pointer;
  background: rgba(164, 59, 56, .06);
  background: color(display-p3 .595512 .258408 .2365 / .06);
  background: lab(40.6069% 44.0896 26.0737 / .06);
  border: 1px solid rgba(164, 59, 56, .2);
  border: 1px solid color(display-p3 .595512 .258408 .2365 / .2);
  border: 1px solid lab(40.6069% 44.0896 26.0737 / .2);
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.ipof-clear-btn:hover {
  background: rgba(164, 59, 56, .12);
  background: color(display-p3 .595512 .258408 .2365 / .12);
  background: lab(40.6069% 44.0896 26.0737 / .12);
}

.ipof-badges-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  display: flex;
}

.ipof-badge {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .08);
  background: color(display-p3 .160163 .306538 .490948 / .08);
  background: lab(32.253% -3.43981 -33.6552 / .08);
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.ipof-badge-clear {
  color: inherit;
  cursor: pointer;
  opacity: .6;
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 14px;
  line-height: 1;
  transition: opacity .12s;
}

.ipof-badge-clear:hover {
  opacity: 1;
}

.ipof-clear-all-link {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
  cursor: pointer;
  text-underline-offset: 2px;
  background: none;
  border: none;
  padding: 0 4px;
  font-size: 11px;
  text-decoration: underline;
}

.ipof-clear-all-link:hover {
  color: #9b1e22;
  color: color(display-p3 .55701 .165505 .157618);
  color: lab(34.5744% 50.677 31.8589);
}

.ipof-results-bar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 2px;
  display: flex;
}

.ipof-results-count {
  color: var(--ink-mute);
  font-size: 12px;
}

.ipof-page-indicator {
  color: var(--ink-faint);
  font-size: 12px;
}

.ipof-pagination {
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 28px 0 16px;
  display: flex;
}

.ipof-page-btn {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.ipof-page-btn:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--ink-faint);
  background: var(--bg-sub);
}

.ipof-page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.ipof-page-num {
  min-width: 36px;
  padding: 7px 4px;
}

.ipof-page-num.active {
  color: #fff;
  background: #194f81;
  background: color(display-p3 .160163 .306538 .490948);
  background: lab(32.253% -3.43981 -33.6552);
  border-color: #194f81;
  border-color: color(display-p3 .160163 .306538 .490948);
  border-color: lab(32.253% -3.43981 -33.6552);
}

.ipof-page-numbers {
  align-items: center;
  gap: 4px;
  display: flex;
}

.ipof-page-ellipsis {
  width: 36px;
  color: var(--ink-faint);
  justify-content: center;
  align-items: center;
  font-size: 14px;
  display: inline-flex;
}

.ipof-page-nav {
  min-width: 100px;
}

@media (max-width: 1024px) {
  .ipof-panel-row {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .ipof-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ipof-search-wrap {
    max-width: none;
  }

  .ipof-status-group {
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .ipof-presets {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .ipof-pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .ipof-page-nav {
    min-width: auto;
    padding: 7px 10px;
  }

  .ipof-page-numbers {
    order: -1;
    justify-content: center;
    width: 100%;
    margin-bottom: 4px;
  }
}

.ipof-lm-dropdown {
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  width: 380px;
  margin-top: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(27, 27, 27, .14);
  box-shadow: 0 12px 36px color(display-p3 .103957 .103957 .103957 / .14);
  box-shadow: 0 12px 36px lab(9.52% -.00000745058 0 / .14);
}

.ipof-lm-dropdown-search {
  border-bottom: 1px solid var(--rule-soft);
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  display: flex;
}

.ipof-lm-dropdown-search-input {
  color: var(--ink);
  background: none;
  border: none;
  outline: none;
  flex: 1;
  font-size: 13px;
}

.ipof-lm-dropdown-search-input::placeholder {
  color: var(--ink-faint);
}

.ipof-lm-dropdown-list {
  max-height: 340px;
  padding: 4px;
  overflow-y: auto;
}

.ipof-lm-dropdown-list::-webkit-scrollbar {
  width: 5px;
}

.ipof-lm-dropdown-list::-webkit-scrollbar-track {
  background: none;
}

.ipof-lm-dropdown-list::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 10px;
}

.ipof-lm-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.ipof-lm-count {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  background: var(--bg-sub);
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 500;
}

.ipof-lm-empty {
  text-align: center;
  color: var(--ink-faint);
  padding: 24px 12px;
  font-size: 12px;
}

.ipof-date-row {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.ipof-date-presets {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.ipof-date-inputs {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.ipof-date-field {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.ipof-date-label {
  color: var(--ink-faint);
  letter-spacing: .03em;
  font-size: 10px;
  font-weight: 500;
}

.ipof-date-input {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  outline: none;
  min-width: 140px;
  padding: 6px 10px;
  transition: border-color .15s, box-shadow .15s;
}

.ipof-date-input:focus {
  border-color: #194f81;
  border-color: color(display-p3 .160163 .306538 .490948);
  border-color: lab(32.253% -3.43981 -33.6552);
  box-shadow: 0 0 0 2px rgba(25, 79, 129, .12);
  box-shadow: 0 0 0 2px color(display-p3 .160163 .306538 .490948 / .12);
  box-shadow: 0 0 0 2px lab(32.253% -3.43981 -33.6552 / .12);
}

.ipof-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .5;
  transition: opacity .15s;
}

.ipof-date-input::-webkit-calendar-picker-indicator:hover {
  opacity: .8;
}

.ipof-date-separator {
  align-items: center;
  padding-bottom: 4px;
  display: flex;
}

.ipof-date-clear {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
  cursor: pointer;
  background: rgba(164, 59, 56, .06);
  background: color(display-p3 .595512 .258408 .2365 / .06);
  background: lab(40.6069% 44.0896 26.0737 / .06);
  border: 1px solid rgba(164, 59, 56, .2);
  border: 1px solid color(display-p3 .595512 .258408 .2365 / .2);
  border: 1px solid lab(40.6069% 44.0896 26.0737 / .2);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 1px;
  transition: all .15s;
  display: flex;
}

.ipof-date-clear:hover {
  background: rgba(164, 59, 56, .12);
  background: color(display-p3 .595512 .258408 .2365 / .12);
  background: lab(40.6069% 44.0896 26.0737 / .12);
}

@media (max-width: 768px) {
  .ipof-date-inputs {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .ipof-date-separator {
    display: none;
  }

  .ipof-date-input {
    width: 100%;
  }

  .ipof-lm-dropdown {
    width: calc(100vw - 48px);
    max-width: 380px;
  }
}

.lm-stats-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  display: grid;
}

.lm-stat-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  display: flex;
}

.lm-stat-icon {
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.lm-stat-icon-purple {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(75, 77, 139, .1);
  background: color(display-p3 .296257 .303209 .5299 / .1);
  background: lab(35.041% 12.3583 -35.3242 / .1);
}

.lm-stat-icon-green {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .1);
  background: color(display-p3 .118281 .340715 .153494 / .1);
  background: lab(31.877% -36.6537 24.6848 / .1);
}

.lm-stat-icon-blue {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  background: rgba(25, 79, 129, .1);
  background: color(display-p3 .160163 .306538 .490948 / .1);
  background: lab(32.253% -3.43981 -33.6552 / .1);
}

.lm-stat-value {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.lm-stat-label {
  color: var(--ink-mute);
  margin-top: 2px;
  font-size: 12px;
}

.lm-top5-section {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin-bottom: 24px;
  padding: 20px 24px;
}

.lm-top5-title {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
}

.lm-top5-bars {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.lm-top5-bar-row {
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  text-decoration: none;
  transition: opacity .15s;
  display: flex;
}

.lm-top5-bar-row:hover {
  opacity: .8;
}

.lm-top5-rank {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  text-align: right;
  flex-shrink: 0;
  width: 24px;
  font-size: 11px;
  font-weight: 600;
}

.lm-top5-name {
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  width: 200px;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
}

.lm-top5-bar-wrap {
  background: var(--bg-sub);
  border-radius: 4px;
  flex: 1;
  height: 22px;
  overflow: hidden;
}

.lm-top5-bar-fill {
  background: linear-gradient(90deg, rgba(75, 77, 139, .25), rgba(75, 77, 139, .5));
  background: linear-gradient(90deg, color(display-p3 .296257 .303209 .5299 / .25), color(display-p3 .296257 .303209 .5299 / .5));
  background: linear-gradient(90deg, lab(35.041% 12.3583 -35.3242 / .25), lab(35.041% 12.3583 -35.3242 / .5));
  border-radius: 4px;
  min-width: 4px;
  height: 100%;
}

.lm-top5-count {
  font-family: var(--font-mono);
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  text-align: right;
  flex-shrink: 0;
  width: 32px;
  font-size: 13px;
  font-weight: 600;
}

.lm-controls-left {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.lm-sort-group {
  align-items: center;
  gap: 6px;
  display: flex;
}

.lm-sort-label {
  color: var(--ink-faint);
  white-space: nowrap;
  font-size: 11px;
}

.lm-sort-select {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3e%3c/svg%3e");
  background-position: right 6px center;
  background-repeat: no-repeat;
  background-size: 14px;
  border-radius: 6px;
  outline: none;
  padding: 6px 28px 6px 10px;
  font-size: 12px;
  transition: border-color .15s;
}

.lm-sort-select:focus {
  border-color: #434582;
  border-color: color(display-p3 .265162 .27028 .494088);
  border-color: lab(31.5268% 12.8168 -35.2569);
}

.lm-view-toggle {
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: flex;
  overflow: hidden;
}

.lm-view-btn {
  background: var(--surface);
  color: var(--ink-faint);
  cursor: pointer;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  transition: all .15s;
  display: flex;
}

.lm-view-btn:first-child {
  border-right: 1px solid var(--rule-soft);
}

.lm-view-btn:hover {
  color: var(--ink-mute);
}

.lm-view-btn.active {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .08);
  background: color(display-p3 .265162 .27028 .494088 / .08);
  background: lab(31.5268% 12.8168 -35.2569 / .08);
}

.lm-search-wrap {
  position: relative;
}

.lm-search-clear {
  width: 20px;
  height: 20px;
  color: var(--ink-faint);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all .15s;
  display: flex;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.lm-search-clear:hover {
  background: var(--bg-sub);
  color: var(--ink-mute);
}

.lm-results-info {
  color: var(--ink-faint);
  margin-bottom: 14px;
  padding: 0 2px;
  font-size: 12px;
}

.lm-card-rank-badge {
  font-family: var(--font-mono);
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  background: rgba(67, 69, 130, .08);
  background: color(display-p3 .265162 .27028 .494088 / .08);
  background: lab(31.5268% 12.8168 -35.2569 / .08);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  top: 12px;
  right: 12px;
}

.lm-card-bar {
  background: var(--bg-sub);
  border-radius: 3px;
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
}

.lm-card-bar-fill {
  background: linear-gradient(90deg, rgba(75, 77, 139, .3), rgba(75, 77, 139, .6));
  background: linear-gradient(90deg, color(display-p3 .296257 .303209 .5299 / .3), color(display-p3 .296257 .303209 .5299 / .6));
  background: linear-gradient(90deg, lab(35.041% 12.3583 -35.3242 / .3), lab(35.041% 12.3583 -35.3242 / .6));
  border-radius: 3px;
  height: 100%;
  transition: width .5s;
}

.lm-table-wrap {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 10px;
  overflow-x: auto;
}

.lm-table {
  border-collapse: collapse;
  width: 100%;
}

.lm-th {
  text-align: left;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-sub);
  white-space: nowrap;
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 600;
}

.lm-th-rank {
  text-align: center;
  width: 48px;
}

.lm-th-num {
  text-align: right;
}

.lm-th-action {
  width: 120px;
}

.lm-tr {
  transition: background .12s;
}

.lm-tr:hover {
  background: var(--bg-sub);
}

.lm-tr:not(:last-child) {
  border-bottom: 1px solid var(--rule-soft);
}

.lm-td {
  color: var(--ink);
  vertical-align: middle;
  padding: 12px 16px;
  font-size: 13px;
}

.lm-td-rank {
  text-align: center;
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 500;
}

.lm-td-name {
  align-items: center;
  gap: 10px;
  display: flex;
}

.lm-table-avatar {
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.lm-table-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}

.lm-table-link:hover {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
}

.lm-td-num {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 500;
}

.lm-td-action {
  text-align: right;
}

.lm-table-view-btn {
  color: #434582;
  color: color(display-p3 .265162 .27028 .494088);
  color: lab(31.5268% 12.8168 -35.2569);
  border-radius: 5px;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
  display: inline-flex;
}

.lm-table-view-btn:hover {
  background: rgba(67, 69, 130, .08);
  background: color(display-p3 .265162 .27028 .494088 / .08);
  background: lab(31.5268% 12.8168 -35.2569 / .08);
}

@media (max-width: 768px) {
  .lm-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lm-top5-name {
    width: 120px;
  }

  .lm-controls-left {
    flex-direction: column;
    align-items: stretch;
  }

  .lm-sort-group {
    order: 1;
  }

  .lm-view-toggle {
    display: none;
  }
}

.ipo-mobile-hamburger {
  width: 36px;
  height: 36px;
  color: var(--ink-2);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  transition: background .15s, color .15s;
  display: none;
}

.ipo-mobile-hamburger:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.ipo-user-name {
  color: var(--ink, #e8e6e3);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.ipo-mobile-nav-overlay {
  z-index: 49;
  background: rgba(26, 21, 18, .3);
  background: color(display-p3 .0972025 .0831133 .0704608 / .3);
  background: lab(7.20476% 1.68892 2.90778 / .3);
  animation: .2s forwards fade-in;
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.ipo-mobile-nav-drawer {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  padding: 8px;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), opacity .2s;
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  transform: translateY(-10px);
  box-shadow: 0 8px 32px rgba(26, 21, 18, .12);
  box-shadow: 0 8px 32px color(display-p3 .0972025 .0831133 .0704608 / .12);
  box-shadow: 0 8px 32px lab(7.20476% 1.68892 2.90778 / .12);
}

.ipo-mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ipo-mobile-nav-list {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.ipo-mobile-nav-item {
  color: var(--ink-mute);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 450;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.ipo-mobile-nav-item:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.ipo-mobile-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.ipo-mobile-nav-item.logout {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.ipo-mobile-nav-item.logout:hover {
  background: rgba(164, 59, 56, .06);
  background: color(display-p3 .595512 .258408 .2365 / .06);
  background: lab(40.6069% 44.0896 26.0737 / .06);
}

.ipo-mobile-nav-divider {
  background: var(--rule-soft);
  height: 1px;
  margin: 6px 0;
}

@media (max-width: 768px) {
  .ipo-mobile-hamburger {
    display: flex;
  }

  .ipo-mobile-nav-overlay, .ipo-mobile-nav-drawer {
    display: block;
  }

  .ipo-user-name, .ipo-user-chevron {
    display: none;
  }

  .ipo-brand-link {
    padding-right: 8px;
  }

  .ipo-list-header {
    flex-direction: column;
    gap: 12px;
  }

  .ipo-list-title {
    font-size: 24px;
  }

  .ipof-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ipof-search-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .ipof-status-group {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .ipof-status-group::-webkit-scrollbar {
    display: none;
  }

  .ipof-panel-row {
    flex-direction: column;
    gap: 14px;
  }

  .ipof-panel {
    padding: 14px;
  }

  .ipof-presets {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .ipof-presets::-webkit-scrollbar {
    display: none;
  }

  .ipof-preset-btn {
    flex-shrink: 0;
  }

  .ipof-date-row {
    flex-direction: column;
    gap: 10px;
  }

  .ipof-date-presets {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .ipof-date-presets::-webkit-scrollbar {
    display: none;
  }

  .ipof-date-inputs {
    flex-wrap: wrap;
  }

  .ipof-lm-btn {
    width: 100%;
    max-width: 100%;
  }

  .ipof-pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .ipof-page-numbers {
    gap: 2px;
  }

  .ipof-page-nav {
    padding: 6px 10px;
    font-size: 12px;
  }

  .detail-breadcrumb {
    font-size: 12px;
  }

  .detail-hero-top {
    flex-direction: column;
  }

  .detail-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-tab-bar {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overflow-x: auto;
  }

  .detail-tab-bar::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .ipo-topnav {
    height: 48px;
    padding: 0 10px;
  }

  .ipo-mobile-nav-drawer {
    top: 48px;
  }

  .ipo-brand-text {
    font-size: 15px;
  }

  .ipo-mobile-hamburger {
    width: 32px;
    height: 32px;
    margin-right: 4px;
  }

  .view {
    padding: var(--pad) 12px;
  }

  .ipo-list-title {
    font-size: 20px;
  }

  .ipo-list-subtitle {
    font-size: 12px;
  }

  .ipo-list-action, .ipof-preset-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .ipof-filter-toggle, .ipof-sort-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .ipo-card {
    padding: 14px;
  }

  .ipo-card-name {
    font-size: 14px;
  }

  .ipof-results-bar {
    padding: 8px 0;
    font-size: 11px;
  }

  .ipof-page-btn {
    min-width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .ipof-page-nav span, .ipof-page-nav {
    font-size: 11px;
  }

  .detail-metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .detail-hero-name {
    font-size: 22px;
  }

  .detail-kv-grid {
    grid-template-columns: 1fr;
  }

  .lmd-kpi {
    min-width: 100%;
  }
}

.ipo-chat-fab {
  z-index: 40;
  color: #fff;
  cursor: pointer;
  letter-spacing: .01em;
  background: #7c2524;
  background: color(display-p3 .446876 .171296 .156198);
  background: lab(29.1992% 37.8517 22.6944);
  border: none;
  border-radius: 28px;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: .875rem;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 4px 16px rgba(124, 37, 36, .35), 0 1px 4px rgba(41, 11, 10, .15);
  box-shadow: 0 4px 16px color(display-p3 .446876 .171296 .156198 / .35), 0 1px 4px color(display-p3 .145711 .050899 .0434344 / .15);
  box-shadow: 0 4px 16px lab(29.1992% 37.8517 22.6944 / .35), 0 1px 4px lab(6.7751% 15.4115 6.4105 / .15);
}

.ipo-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 37, 36, .4), 0 2px 8px rgba(41, 11, 10, .2);
  box-shadow: 0 8px 24px color(display-p3 .446876 .171296 .156198 / .4), 0 2px 8px color(display-p3 .145711 .050899 .0434344 / .2);
  box-shadow: 0 8px 24px lab(29.1992% 37.8517 22.6944 / .4), 0 2px 8px lab(6.7751% 15.4115 6.4105 / .2);
}

.ipo-chat-fab:active {
  transform: translateY(0);
}

.ipo-chat-fab svg {
  flex-shrink: 0;
}

.ipo-chat-backdrop {
  display: none;
}

@media (max-width: 640px) {
  .ipo-chat-backdrop {
    z-index: 44;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(14, 10, 7, .4);
    background: color(display-p3 .0537162 .0406078 .0296046 / .4);
    background: lab(3.03542% .975616 1.60148 / .4);
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

.ipo-chat-drawer {
  z-index: 45;
  background: var(--surface);
  border-left: 1px solid var(--rule);
  flex-direction: column;
  width: 440px;
  max-width: 100vw;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  box-shadow: -8px 0 32px rgba(26, 21, 18, .12);
  box-shadow: -8px 0 32px color(display-p3 .0972025 .0831133 .0704608 / .12);
  box-shadow: -8px 0 32px lab(7.20476% 1.68892 2.90778 / .12);
}

@media (max-width: 640px) {
  .ipo-chat-drawer {
    width: 100vw;
  }

  .ipo-chat-fab-label {
    display: none;
  }

  .ipo-chat-fab {
    border-radius: 50%;
    padding: 16px;
  }
}

.ipo-chat-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 14px 16px;
  display: flex;
}

.ipo-chat-header-left {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.ipo-chat-header-icon {
  color: #7c2524;
  color: color(display-p3 .446876 .171296 .156198);
  color: lab(29.1992% 37.8517 22.6944);
  background: rgba(124, 37, 36, .1);
  background: color(display-p3 .446876 .171296 .156198 / .1);
  background: lab(29.1992% 37.8517 22.6944 / .1);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.ipo-chat-header-title {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 260px;
  font-size: .875rem;
  font-weight: 600;
  overflow: hidden;
}

.ipo-chat-header-docs {
  gap: 6px;
  margin-top: 2px;
  display: flex;
}

.ipo-chat-doc-badge {
  color: var(--ink-mute);
  letter-spacing: .02em;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 500;
  display: inline-flex;
}

.ipo-chat-doc-badge[data-available="true"] {
  color: #006829;
  color: color(display-p3 .134075 .405599 .179903);
  color: lab(37.9176% -42.8445 28.9641);
}

.ipo-chat-doc-badge[data-available="false"] {
  color: var(--ink-faint);
}

.ipo-chat-doc-dot {
  background: var(--ink-faint);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.ipo-chat-doc-badge[data-available="true"] .ipo-chat-doc-dot {
  background: #007834;
  background: color(display-p3 .174028 .468023 .22057);
  background: lab(43.8463% -45.8172 30.856);
}

.ipo-chat-doc-loading {
  color: var(--ink-faint);
  font-size: .7rem;
  font-style: italic;
}

.ipo-chat-close {
  width: 32px;
  height: 32px;
  color: var(--ink-mute);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: background .15s, color .15s;
  display: flex;
}

.ipo-chat-close:hover {
  background: var(--bg-sub);
  color: var(--ink);
}

.ipo-chat-messages {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 16px;
  display: flex;
  overflow-y: auto;
}

.ipo-chat-empty {
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  display: flex;
}

.ipo-chat-empty-icon {
  color: rgba(124, 37, 36, .5);
  color: color(display-p3 .446876 .171296 .156198 / .5);
  color: lab(29.1992% 37.8517 22.6944 / .5);
  margin-bottom: 4px;
}

.ipo-chat-empty-title {
  color: var(--ink);
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
}

.ipo-chat-empty-desc {
  color: var(--ink-mute);
  max-width: 300px;
  margin: 0 0 12px;
  font-size: .8rem;
}

.ipo-chat-presets {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 380px;
  display: flex;
}

.ipo-chat-preset-chip {
  color: var(--ink-2);
  background: var(--bg-sub);
  border: 1px solid var(--rule-soft);
  cursor: pointer;
  text-align: left;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background .15s, border-color .15s, color .15s;
}

.ipo-chat-preset-chip:hover {
  color: #65201e;
  color: color(display-p3 .36387 .143128 .129405);
  color: lab(23.6033% 31.5073 18.7032);
  background: rgba(124, 37, 36, .06);
  background: color(display-p3 .446876 .171296 .156198 / .06);
  background: lab(29.1992% 37.8517 22.6944 / .06);
  border-color: rgba(124, 37, 36, .25);
  border-color: color(display-p3 .446876 .171296 .156198 / .25);
  border-color: lab(29.1992% 37.8517 22.6944 / .25);
}

.ipo-chat-preset-chip:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ipo-chat-msg {
  gap: 8px;
  max-width: 100%;
  display: flex;
}

.ipo-chat-msg-user {
  justify-content: flex-end;
}

.ipo-chat-msg-assistant {
  justify-content: flex-start;
}

.ipo-chat-msg-avatar {
  color: #7c2524;
  color: color(display-p3 .446876 .171296 .156198);
  color: lab(29.1992% 37.8517 22.6944);
  background: rgba(124, 37, 36, .1);
  background: color(display-p3 .446876 .171296 .156198 / .1);
  background: lab(29.1992% 37.8517 22.6944 / .1);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  display: flex;
}

.ipo-chat-msg-body {
  min-width: 0;
  max-width: 85%;
}

.ipo-chat-msg-user .ipo-chat-msg-body {
  max-width: 80%;
}

.ipo-chat-msg-content {
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: .82rem;
  line-height: 1.55;
}

.ipo-chat-msg-user .ipo-chat-msg-content {
  color: #fff;
  background: #7c2524;
  background: color(display-p3 .446876 .171296 .156198);
  background: lab(29.1992% 37.8517 22.6944);
  border-bottom-right-radius: 4px;
}

.ipo-chat-msg-assistant .ipo-chat-msg-content {
  background: var(--bg-sub);
  border-bottom-left-radius: 4px;
}

.ipo-chat-msg-meta {
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-left: 4px;
  display: flex;
}

.ipo-chat-msg-sources {
  color: var(--ink-faint);
  font-size: .68rem;
  font-weight: 500;
}

.ipo-chat-confidence {
  letter-spacing: .01em;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: .68rem;
  font-weight: 600;
}

.ipo-chat-confidence-high {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .08);
  background: color(display-p3 .118281 .340715 .153494 / .08);
  background: lab(31.877% -36.6537 24.6848 / .08);
}

.ipo-chat-confidence-medium {
  color: #8e5400;
  color: color(display-p3 .544388 .328027 -.0980596);
  color: lab(41.5778% 24.705 79.644);
  background: rgba(142, 84, 0, .08);
  background: color(display-p3 .544388 .328027 -.0980596 / .08);
  background: lab(41.5778% 24.705 79.644 / .08);
}

.ipo-chat-confidence-low {
  color: #9c433f;
  color: color(display-p3 .569338 .283954 .260278);
  color: lab(40.8193% 37.6624 21.7546);
  background: rgba(156, 67, 63, .08);
  background: color(display-p3 .569338 .283954 .260278 / .08);
  background: lab(40.8193% 37.6624 21.7546 / .08);
}

.ipo-chat-citations {
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding-left: 4px;
  display: flex;
}

.ipo-chat-citation {
  background: rgba(35, 88, 138, .06);
  background: color(display-p3 .192505 .339913 .526665 / .06);
  background: lab(35.7624% -4.01481 -33.7291 / .06);
  border-left: 2px solid rgba(35, 88, 138, .3);
  border-left: 2px solid color(display-p3 .192505 .339913 .526665 / .3);
  border-left: 2px solid lab(35.7624% -4.01481 -33.7291 / .3);
  border-radius: 0 6px 6px 0;
  flex-direction: column;
  padding: 4px 8px;
  font-size: .7rem;
  display: flex;
}

.ipo-chat-citation-section {
  color: #124a7b;
  color: color(display-p3 .138607 .28452 .46735);
  color: lab(29.9106% -3.00425 -33.6042);
  font-weight: 600;
}

.ipo-chat-citation-excerpt {
  color: var(--ink-mute);
  margin-top: 1px;
  font-style: italic;
}

.ipo-chat-followups {
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  display: flex;
}

.ipo-chat-followup-chip {
  color: #124a7b;
  color: color(display-p3 .138607 .28452 .46735);
  color: lab(29.9106% -3.00425 -33.6042);
  cursor: pointer;
  text-align: left;
  background: rgba(35, 88, 138, .06);
  background: color(display-p3 .192505 .339913 .526665 / .06);
  background: lab(35.7624% -4.01481 -33.7291 / .06);
  border: 1px solid rgba(35, 88, 138, .15);
  border: 1px solid color(display-p3 .192505 .339913 .526665 / .15);
  border: 1px solid lab(35.7624% -4.01481 -33.7291 / .15);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background .15s, border-color .15s;
}

.ipo-chat-followup-chip:hover {
  background: rgba(35, 88, 138, .12);
  background: color(display-p3 .192505 .339913 .526665 / .12);
  background: lab(35.7624% -4.01481 -33.7291 / .12);
  border-color: rgba(35, 88, 138, .3);
  border-color: color(display-p3 .192505 .339913 .526665 / .3);
  border-color: lab(35.7624% -4.01481 -33.7291 / .3);
}

.ipo-chat-followup-chip:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ipo-chat-typing {
  background: var(--bg-sub);
  border-radius: 14px 14px 14px 4px;
  gap: 4px;
  padding: 10px 14px;
  display: flex;
}

.ipo-chat-typing span {
  background: var(--ink-faint);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1.2s ease-in-out infinite ipo-chat-bounce;
}

.ipo-chat-typing span:nth-child(2) {
  animation-delay: .15s;
}

.ipo-chat-typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes ipo-chat-bounce {
  0%, 60%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

.ipo-chat-markdown {
  word-break: break-word;
}

.ipo-chat-markdown h3, .ipo-chat-markdown h4 {
  margin-bottom: 2px;
}

.ipo-chat-markdown p {
  margin: 2px 0;
}

.ipo-chat-input-area {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  flex-shrink: 0;
  padding: 12px 16px;
}

.ipo-chat-input-row {
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.ipo-chat-textarea {
  resize: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--bg-sub);
  border-radius: 12px;
  outline: none;
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .82rem;
  line-height: 1.45;
  transition: border-color .15s;
}

.ipo-chat-textarea:focus {
  border-color: rgba(124, 37, 36, .4);
  border-color: color(display-p3 .446876 .171296 .156198 / .4);
  border-color: lab(29.1992% 37.8517 22.6944 / .4);
}

.ipo-chat-textarea::placeholder {
  color: var(--ink-faint);
}

.ipo-chat-textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ipo-chat-send {
  color: #fff;
  cursor: pointer;
  background: #7c2524;
  background: color(display-p3 .446876 .171296 .156198);
  background: lab(29.1992% 37.8517 22.6944);
  border: none;
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: background .15s, transform .1s;
  display: flex;
}

.ipo-chat-send:hover:not(:disabled) {
  background: #6c1517;
  background: color(display-p3 .386986 .113836 .105882);
  background: lab(23.385% 37.9736 23.5817);
  transform: scale(1.04);
}

.ipo-chat-send:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.ipo-chat-footer {
  text-align: center;
  color: var(--ink-faint);
  letter-spacing: .02em;
  margin-top: 6px;
  font-size: .65rem;
}

.ipo-chat-doc-badge[data-progress="true"] .ipo-chat-doc-dot {
  background: #0e5794;
  background: color(display-p3 .154112 .337182 .564316);
  background: lab(35.5745% -2.86636 -40.2468);
  animation: 1.5s ease-in-out infinite ipo-chat-pulse;
}

@keyframes ipo-chat-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.ipo-chat-loading-spinner {
  border: 3px solid var(--rule);
  border-top-color: oklch(40% .12 25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: .8s linear infinite ipo-chat-spin;
}

@keyframes ipo-chat-spin {
  to {
    transform: rotate(360deg);
  }
}

.ipo-chat-analysis-cards {
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  margin-top: 14px;
  display: flex;
}

.ipo-chat-analysis-card {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 10px;
  padding: 14px;
  transition: border-color .3s;
}

.ipo-chat-analysis-card[data-status="completed"] {
  background: rgba(0, 88, 36, .03);
  background: color(display-p3 .118281 .340715 .153494 / .03);
  background: lab(31.877% -36.6537 24.6848 / .03);
  border-color: rgba(0, 88, 36, .35);
  border-color: color(display-p3 .118281 .340715 .153494 / .35);
  border-color: lab(31.877% -36.6537 24.6848 / .35);
}

.ipo-chat-analysis-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.ipo-chat-analysis-doc-label {
  color: var(--ink);
  align-items: center;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
}

.ipo-chat-analyze-btn {
  color: #fff;
  cursor: pointer;
  background: #822b2a;
  background: color(display-p3 .471084 .193841 .176606);
  background: lab(31.524% 37.8087 22.4439);
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 9px 16px;
  font-size: .8rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.ipo-chat-analyze-btn:hover:not(:disabled) {
  background: #751f1f;
  background: color(display-p3 .422812 .148587 .135968);
  background: lab(26.874% 37.8978 22.9952);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(124, 37, 36, .25);
  box-shadow: 0 2px 8px color(display-p3 .446876 .171296 .156198 / .25);
  box-shadow: 0 2px 8px lab(29.1992% 37.8517 22.6944 / .25);
}

.ipo-chat-analyze-btn:active:not(:disabled) {
  transform: translateY(0);
}

.ipo-chat-analyze-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ipo-chat-btn-spinner {
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: .7s linear infinite ipo-chat-spin;
}

.ipo-chat-analysis-progress {
  margin: 8px 0 2px;
}

.ipo-chat-mini-progress-bar {
  background: var(--bg-sub);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}

.ipo-chat-mini-progress-fill {
  background: #0e5794;
  background: color(display-p3 .154112 .337182 .564316);
  background: lab(35.5745% -2.86636 -40.2468);
  border-radius: 2px;
  height: 100%;
  transition: width .6s ease-out;
}

.ipo-chat-mini-progress-info {
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  display: flex;
}

.ipo-chat-mini-progress-label {
  color: #0e5794;
  color: color(display-p3 .154112 .337182 .564316);
  color: lab(35.5745% -2.86636 -40.2468);
  font-size: .7rem;
  font-weight: 500;
}

.ipo-chat-analysis-stats {
  color: var(--ink-mute);
  font-size: .68rem;
}

.ipo-chat-analysis-done {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 500;
  display: flex;
}

.ipo-chat-status-badge {
  letter-spacing: .01em;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .65rem;
  font-weight: 500;
}

.ipo-chat-status-badge[data-status="completed"] {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .1);
  background: color(display-p3 .118281 .340715 .153494 / .1);
  background: lab(31.877% -36.6537 24.6848 / .1);
}

.ipo-chat-status-badge[data-status="not_started"] {
  background: var(--bg-sub);
  color: var(--ink-mute);
}

.ipo-chat-status-badge[data-status="pending"], .ipo-chat-status-badge[data-status="extracting_text"], .ipo-chat-status-badge[data-status="segmented"], .ipo-chat-status-badge[data-status="segmenting_sections"], .ipo-chat-status-badge[data-status="extracting_data"], .ipo-chat-status-badge[data-status="generating_variants"] {
  color: #0e5794;
  color: color(display-p3 .154112 .337182 .564316);
  color: lab(35.5745% -2.86636 -40.2468);
  background: rgba(14, 87, 148, .1);
  background: color(display-p3 .154112 .337182 .564316 / .1);
  background: lab(35.5745% -2.86636 -40.2468 / .1);
}

.ipo-chat-status-badge[data-status="failed"] {
  color: #a83634;
  color: color(display-p3 .608337 .244099 .224143);
  color: lab(40.499% 47.3146 28.368);
  background: rgba(168, 54, 52, .1);
  background: color(display-p3 .608337 .244099 .224143 / .1);
  background: lab(40.499% 47.3146 28.368 / .1);
}

.doc-analysis-root {
  position: relative;
}

.doc-analysis-doc-tabs {
  background: var(--bg-sub);
  border-radius: 10px;
  gap: 2px;
  margin-bottom: 16px;
  padding: 3px;
  display: flex;
}

.doc-analysis-doc-tab {
  color: var(--ink-mute);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
  display: flex;
}

.doc-analysis-doc-tab.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.doc-analysis-doc-tab:hover:not(.active) {
  color: var(--ink);
}

.doc-analysis-doc-tab-icon {
  align-items: center;
  display: flex;
}

.doc-analysis-doc-tab-icon.drhp {
  color: #0e5794;
  color: color(display-p3 .154112 .337182 .564316);
  color: lab(35.5745% -2.86636 -40.2468);
}

.doc-analysis-doc-tab-icon.rhp {
  color: #60438d;
  color: color(display-p3 .360085 .266018 .535862);
  color: lab(34.4148% 25.771 -37.2332);
}

.doc-analysis-badge-check {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  align-items: center;
  display: flex;
}

.doc-analysis-loading {
  color: var(--ink-mute);
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 40px;
  font-size: 13px;
  display: flex;
}

.doc-analysis-loading-spinner {
  border: 2px solid var(--rule-soft);
  border-top-color: oklch(45% .12 25);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .8s linear infinite spin;
}

.doc-analysis-loading-spinner.small {
  border-width: 1.5px;
  width: 14px;
  height: 14px;
}

.doc-analysis-empty {
  text-align: center;
  padding: 40px 20px;
}

.doc-analysis-empty-icon {
  color: var(--ink-faint);
  opacity: .5;
  margin-bottom: 12px;
}

.doc-analysis-empty h3 {
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.doc-analysis-empty p {
  color: var(--ink-mute);
  max-width: 400px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.5;
}

.doc-analysis-trigger-card {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 24px;
}

.doc-analysis-trigger-header {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}

.doc-analysis-trigger-icon {
  color: #8c3432;
  color: color(display-p3 .507664 .227562 .207589);
  color: lab(35.0104% 37.7494 22.1378);
  background: rgba(140, 52, 50, .08);
  background: color(display-p3 .507664 .227562 .207589 / .08);
  background: lab(35.0104% 37.7494 22.1378 / .08);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.doc-analysis-trigger-title {
  color: var(--ink);
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.doc-analysis-trigger-desc {
  color: var(--ink-mute);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.doc-analysis-trigger-features {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  gap: 20px;
  margin-bottom: 20px;
  padding: 12px 0;
  display: flex;
}

.doc-analysis-trigger-feature {
  color: var(--ink-mute);
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  display: flex;
}

.doc-analysis-feature-num {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #8c3432;
  color: color(display-p3 .507664 .227562 .207589);
  color: lab(35.0104% 37.7494 22.1378);
}

.doc-analysis-trigger-btn {
  color: #fff;
  cursor: pointer;
  background: #822b2a;
  background: color(display-p3 .471084 .193841 .176606);
  background: lab(31.524% 37.8087 22.4439);
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.doc-analysis-trigger-btn:hover:not(:disabled) {
  background: #751f1f;
  background: color(display-p3 .422812 .148587 .135968);
  background: lab(26.874% 37.8978 22.9952);
  transform: translateY(-1px);
}

.doc-analysis-trigger-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.doc-analysis-processing {
  background: var(--bg);
  border: 1px solid rgba(142, 84, 0, .2);
  border: 1px solid color(display-p3 .544388 .328027 -.0980596 / .2);
  border: 1px solid lab(41.5778% 24.705 79.644 / .2);
  border-radius: 12px;
  padding: 20px;
}

.doc-analysis-processing-header {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.doc-analysis-processing-spinner {
  border: 2.5px solid rgba(142, 84, 0, .2);
  border: 2.5px solid color(display-p3 .544388 .328027 -.0980596 / .2);
  border: 2.5px solid lab(41.5778% 24.705 79.644 / .2);
  border-top-color: oklch(50% .14 70);
  border-radius: 50%;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  animation: 1s linear infinite spin;
}

.doc-analysis-status-badge {
  letter-spacing: .02em;
  border-radius: 20px;
  margin-left: auto;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}

.doc-analysis-pipeline-steps {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.doc-analysis-step {
  background: var(--bg-sub);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  display: flex;
}

.doc-analysis-step.done {
  background: rgba(0, 88, 36, .04);
  background: color(display-p3 .118281 .340715 .153494 / .04);
  background: lab(31.877% -36.6537 24.6848 / .04);
}

.doc-analysis-step.current {
  background: rgba(142, 84, 0, .06);
  background: color(display-p3 .544388 .328027 -.0980596 / .06);
  background: lab(41.5778% 24.705 79.644 / .06);
  border: 1px solid rgba(142, 84, 0, .15);
  border: 1px solid color(display-p3 .544388 .328027 -.0980596 / .15);
  border: 1px solid lab(41.5778% 24.705 79.644 / .15);
}

.doc-analysis-step-indicator {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  display: flex;
}

.doc-analysis-step-pulse {
  background: #8e5400;
  background: color(display-p3 .544388 .328027 -.0980596);
  background: lab(41.5778% 24.705 79.644);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: 1.5s ease-in-out infinite pulse-dot;
}

.doc-analysis-step-dot {
  background: var(--rule);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.doc-analysis-step-label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.doc-analysis-step-desc {
  color: var(--ink-faint);
  font-size: 11px;
}

.doc-analysis-progress-stats {
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-mute);
  font-size: 11px;
  font-family: var(--font-mono);
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
}

.doc-analysis-failed {
  text-align: center;
  background: rgba(168, 54, 52, .03);
  background: color(display-p3 .608337 .244099 .224143 / .03);
  background: lab(40.499% 47.3146 28.368 / .03);
  border: 1px solid rgba(168, 54, 52, .1);
  border: 1px solid color(display-p3 .608337 .244099 .224143 / .1);
  border: 1px solid lab(40.499% 47.3146 28.368 / .1);
  border-radius: 12px;
  padding: 30px 20px;
}

.doc-analysis-failed-icon {
  margin-bottom: 4px;
}

.doc-analysis-retry-btn {
  color: #a83634;
  color: color(display-p3 .608337 .244099 .224143);
  color: lab(40.499% 47.3146 28.368);
  cursor: pointer;
  background: none;
  border: 1px solid rgba(168, 54, 52, .3);
  border: 1px solid color(display-p3 .608337 .244099 .224143 / .3);
  border: 1px solid lab(40.499% 47.3146 28.368 / .3);
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
}

.doc-analysis-retry-btn:hover {
  background: rgba(168, 54, 52, .06);
  background: color(display-p3 .608337 .244099 .224143 / .06);
  background: lab(40.499% 47.3146 28.368 / .06);
}

.doc-analysis-completed {
  margin-top: 0;
}

.doc-analysis-completed-header {
  margin-bottom: 16px;
}

.doc-analysis-completed-title-row {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  display: flex;
}

.doc-analysis-completed-title {
  color: var(--ink);
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.doc-analysis-completed-meta {
  color: var(--ink-mute);
  margin: 4px 0 0;
  font-size: 12px;
}

.doc-analysis-confidence {
  text-align: center;
  flex-shrink: 0;
}

.doc-analysis-confidence-ring {
  background: conic-gradient(var(--conf-color) var(--conf-pct), var(--rule-soft) 0);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
  position: relative;
}

.doc-analysis-confidence-ring:before {
  content: "";
  background: var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
}

.doc-analysis-confidence-value {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--conf-color);
  position: relative;
}

.doc-analysis-confidence-label {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 3px;
  font-size: 9px;
  display: block;
}

.doc-analysis-view-tabs {
  background: var(--bg-sub);
  border-radius: 8px;
  gap: 2px;
  padding: 2px;
  display: flex;
}

.doc-analysis-view-tab {
  color: var(--ink-mute);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: flex;
}

.doc-analysis-view-tab.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.doc-analysis-view-tab:hover:not(.active) {
  color: var(--ink);
}

.doc-analysis-overview {
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  display: flex;
}

.doc-analysis-overview-card {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: 16px;
}

.doc-analysis-card-title {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
}

.doc-analysis-coverage-bar-wrap {
  margin-bottom: 12px;
}

.doc-analysis-coverage-bar {
  background: var(--rule-soft);
  border-radius: 3px;
  height: 6px;
  margin-bottom: 4px;
  overflow: hidden;
}

.doc-analysis-coverage-fill {
  background: #005824;
  background: color(display-p3 .118281 .340715 .153494);
  background: lab(31.877% -36.6537 24.6848);
  border-radius: 3px;
  height: 100%;
  transition: width .5s;
}

.doc-analysis-coverage-label {
  color: var(--ink-mute);
  font-size: 11px;
  font-family: var(--font-mono);
}

.doc-analysis-section-chips {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.doc-analysis-section-chip {
  border: 1px solid var(--rule-soft);
  color: var(--ink-mute);
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 10px;
  display: flex;
}

.doc-analysis-section-chip-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.doc-analysis-section-chip-label {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 120px;
  overflow: hidden;
}

.doc-analysis-key-extractions {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  display: grid;
}

.doc-analysis-key-extraction {
  background: var(--bg-sub);
  border-radius: 8px;
  padding: 10px 12px;
}

.doc-analysis-key-extraction-header {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  display: flex;
}

.doc-analysis-key-extraction-name {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.doc-analysis-key-extraction-pages {
  color: var(--ink-faint);
  font-size: 10px;
  font-family: var(--font-mono);
}

.doc-analysis-key-extraction-data {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.doc-analysis-kv-row {
  gap: 8px;
  font-size: 10px;
  line-height: 1.4;
  display: flex;
}

.doc-analysis-kv-key {
  color: var(--ink-faint);
  text-transform: capitalize;
  flex-shrink: 0;
  min-width: 60px;
}

.doc-analysis-kv-value {
  color: var(--ink);
  font-family: var(--font-mono);
  word-break: break-all;
}

.doc-analysis-variants-summary {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.doc-analysis-variant-summary-card {
  background: var(--bg-sub);
  border-left: 3px solid;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.doc-analysis-variant-icon {
  flex-shrink: 0;
  font-size: 18px;
}

.doc-analysis-variant-name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.doc-analysis-variant-desc {
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.3;
}

.doc-analysis-variant-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
}

.doc-analysis-sections {
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  display: flex;
}

.doc-analysis-section-row {
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  transition: box-shadow .2s;
  overflow: hidden;
}

.doc-analysis-section-row.expanded {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.doc-analysis-section-header {
  cursor: pointer;
  background: none;
  border: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  transition: background .15s;
  display: flex;
}

.doc-analysis-section-header:hover {
  background: var(--bg-sub);
}

.doc-analysis-section-left {
  align-items: center;
  gap: 8px;
  display: flex;
}

.doc-analysis-section-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.doc-analysis-section-name {
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}

.doc-analysis-section-right {
  align-items: center;
  gap: 10px;
  display: flex;
}

.doc-analysis-section-pages, .doc-analysis-section-chars {
  color: var(--ink-faint);
  font-size: 10px;
  font-family: var(--font-mono);
}

.doc-analysis-section-status {
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
}

.doc-analysis-section-status.extracted {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .08);
  background: color(display-p3 .118281 .340715 .153494 / .08);
  background: lab(31.877% -36.6537 24.6848 / .08);
}

.doc-analysis-section-status.pending {
  color: var(--ink-faint);
  background: var(--bg-sub);
}

.doc-analysis-section-status.error {
  color: #a83634;
  color: color(display-p3 .608337 .244099 .224143);
  color: lab(40.499% 47.3146 28.368);
  background: rgba(168, 54, 52, .08);
  background: color(display-p3 .608337 .244099 .224143 / .08);
  background: lab(40.499% 47.3146 28.368 / .08);
}

.doc-analysis-section-chevron {
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform .2s;
}

.doc-analysis-section-chevron.rotated {
  transform: rotate(180deg);
}

.doc-analysis-section-body {
  border-top: 1px solid var(--rule-soft);
  overflow: hidden;
}

.doc-analysis-section-detail {
  padding: 0;
}

.doc-analysis-section-meta-bar {
  background: var(--bg-sub);
  color: var(--ink-faint);
  font-size: 10px;
  font-family: var(--font-mono);
  gap: 16px;
  padding: 8px 14px;
  display: flex;
}

.doc-analysis-extracted-data {
  max-height: 400px;
  padding: 12px 14px;
  overflow-y: auto;
}

.doc-analysis-json-field {
  border-bottom: 1px solid var(--rule-soft);
  padding: 3px 0;
}

.doc-analysis-json-field:last-child {
  border-bottom: none;
}

.doc-analysis-json-key {
  color: #0e5794;
  color: color(display-p3 .154112 .337182 .564316);
  color: lab(35.5745% -2.86636 -40.2468);
  text-transform: capitalize;
  min-width: 100px;
  margin-right: 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.doc-analysis-json-string {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.doc-analysis-json-number {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
  font-size: 11px;
  font-family: var(--font-mono);
}

.doc-analysis-json-null {
  color: var(--ink-faint);
  font-size: 11px;
  font-style: italic;
}

.doc-analysis-json-array {
  padding: 4px 0;
}

.doc-analysis-json-array-item {
  gap: 6px;
  padding: 2px 0;
  display: flex;
}

.doc-analysis-json-array-idx {
  color: var(--ink-faint);
  font-size: 10px;
  font-family: var(--font-mono);
  min-width: 20px;
}

.doc-analysis-json-object {
  padding: 4px 0;
}

.doc-analysis-json-more {
  color: var(--ink-faint);
  padding: 4px 0;
  font-size: 10px;
  font-style: italic;
}

.doc-analysis-variants {
  margin-top: 16px;
}

.doc-analysis-variant-tabs {
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 4px;
  display: flex;
  overflow-x: auto;
}

.doc-analysis-variant-tab {
  border: 1px solid var(--rule-soft);
  color: var(--ink-mute);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: all .15s;
  display: flex;
}

.doc-analysis-variant-tab.active {
  border-color: var(--variant-color);
  background: color-mix(in oklch, var(--variant-color) 6%, transparent);
  color: var(--ink);
}

.doc-analysis-variant-tab:hover:not(.active) {
  border-color: var(--rule);
  color: var(--ink);
}

.doc-analysis-variant-tab-icon {
  font-size: 14px;
}

.doc-analysis-variant-tab-check {
  align-items: center;
  display: flex;
}

.doc-analysis-variant-content {
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  overflow: hidden;
}

.doc-analysis-variant-data {
  flex-direction: column;
  gap: 0;
  padding: 20px;
  display: flex;
}

.variant-section {
  border-bottom: 1px solid var(--rule-soft);
  padding: 16px 0;
}

.variant-section:first-child {
  padding-top: 0;
}

.variant-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.variant-section-title {
  font-family: var(--font-display);
  color: var(--ink);
  text-transform: capitalize;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.variant-section-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.variant-section-body {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.variant-empty {
  color: var(--ink-faint);
  font-size: 12px;
}

.variant-empty-state {
  text-align: center;
  padding: 24px 16px;
}

.variant-empty-state p {
  color: var(--ink-mute);
  margin: 0 0 4px;
  font-size: 13px;
}

.variant-empty-state .variant-empty-hint {
  color: var(--ink-faint);
  font-size: 11px;
}

.variant-inline-value {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.variant-number {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.variant-bool {
  border-radius: 100px;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 550;
  display: inline-flex;
}

.variant-bool.yes {
  color: #005824;
  color: color(display-p3 .118281 .340715 .153494);
  color: lab(31.877% -36.6537 24.6848);
  background: rgba(0, 88, 36, .06);
  background: color(display-p3 .118281 .340715 .153494 / .06);
  background: lab(31.877% -36.6537 24.6848 / .06);
}

.variant-bool.no {
  color: #a83634;
  color: color(display-p3 .608337 .244099 .224143);
  color: lab(40.499% 47.3146 28.368);
  background: rgba(168, 54, 52, .06);
  background: color(display-p3 .608337 .244099 .224143 / .06);
  background: lab(40.499% 47.3146 28.368 / .06);
}

.variant-md-para {
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
}

.variant-md-para:last-child {
  margin-bottom: 0;
}

.variant-md-para strong {
  color: var(--ink);
  font-weight: 650;
}

.variant-md-heading {
  color: var(--ink);
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 650;
}

.variant-md-heading:first-child {
  margin-top: 0;
}

.variant-md-list {
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  display: flex;
}

.variant-md-list:last-child {
  margin-bottom: 0;
}

.variant-md-list li {
  color: var(--ink);
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
}

.variant-md-list li:before {
  content: "";
  background: var(--accent);
  opacity: .5;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 9px;
  left: 2px;
}

.variant-md-list li strong {
  color: var(--ink);
  font-weight: 650;
}

.variant-string-list {
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.variant-string-list li {
  color: var(--ink);
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
}

.variant-string-list li:before {
  content: "";
  background: var(--accent);
  opacity: .45;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 9px;
  left: 2px;
}

.variant-string-list li strong {
  font-weight: 600;
}

.variant-string-list .variant-more, .variant-card-list .variant-more-card {
  color: var(--ink-faint);
  font-size: 11px;
  font-style: italic;
}

.variant-metrics-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  display: grid;
}

.variant-metric-card {
  background: var(--bg-sub);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  display: flex;
}

.variant-metric-label {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 11px;
  font-weight: 500;
}

.variant-metric-value {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.variant-card-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.variant-obj-card {
  background: var(--bg-sub);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  display: flex;
}

.variant-obj-row {
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.variant-obj-key {
  min-width: 110px;
  color: var(--ink-mute);
  text-transform: capitalize;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
}

.variant-obj-val {
  color: var(--ink);
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
}

.variant-kv-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  display: grid;
}

.variant-kv-item {
  background: var(--bg-sub);
  border-radius: 6px;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px;
  display: flex;
}

.variant-kv-key {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
  font-weight: 600;
}

.variant-kv-value {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.variant-nested-sections {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.variant-nested-block {
  background: var(--bg-sub);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  padding: 10px 12px;
}

.variant-nested-label {
  color: var(--ink);
  text-transform: capitalize;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 650;
}

.variant-nested-content {
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 768px) {
  .doc-analysis-variant-data {
    padding: 14px;
  }

  .variant-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .variant-kv-grid {
    grid-template-columns: 1fr;
  }

  .variant-obj-row {
    flex-direction: column;
    gap: 2px;
  }

  .variant-obj-key {
    min-width: unset;
  }
}

.doc-analysis-toast {
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
  text-align: center;
  border-radius: 8px;
  max-width: 500px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

@media (max-width: 640px) {
  .doc-analysis-doc-tabs {
    flex-direction: column;
  }

  .doc-analysis-trigger-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .doc-analysis-trigger-feature {
    flex-direction: row;
    gap: 8px;
  }

  .doc-analysis-section-right {
    flex-wrap: wrap;
    gap: 6px;
  }

  .doc-analysis-section-chars {
    display: none;
  }

  .doc-analysis-key-extractions {
    grid-template-columns: 1fr;
  }

  .doc-analysis-variant-tabs {
    flex-wrap: wrap;
  }
}

.ipo-chat-unanalyzed-banner {
  background: rgba(149, 104, 0, .06);
  background: color(display-p3 .560433 .414926 .0974097 / .06);
  background: lab(47.7757% 13.3452 59.47 / .06);
  border: 1px solid rgba(149, 104, 0, .18);
  border: 1px solid color(display-p3 .560433 .414926 .0974097 / .18);
  border: 1px solid lab(47.7757% 13.3452 59.47 / .18);
  border-radius: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
}

.ipo-chat-unanalyzed-compact {
  border-radius: 8px;
  margin: 12px 0 4px;
  padding: 10px 12px;
}

.ipo-chat-unanalyzed-header {
  color: #734d00;
  color: color(display-p3 .442765 .301733 -.0761259);
  color: lab(36.1006% 14.5663 66.6432);
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.ipo-chat-unanalyzed-compact .ipo-chat-unanalyzed-header {
  margin-bottom: 8px;
}

.ipo-chat-unanalyzed-title {
  color: #4f3500;
  color: color(display-p3 .313918 .202707 -.0618783);
  color: lab(24.4935% 12.516 47.241);
  letter-spacing: .01em;
  font-size: .78rem;
  font-weight: 600;
}

.ipo-chat-unanalyzed-items {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.ipo-chat-unanalyzed-item {
  background: var(--bg);
  border: 1px solid rgba(149, 104, 0, .1);
  border: 1px solid color(display-p3 .560433 .414926 .0974097 / .1);
  border: 1px solid lab(47.7757% 13.3452 59.47 / .1);
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  display: flex;
}

.ipo-chat-unanalyzed-doc-label {
  color: var(--ink);
  letter-spacing: .03em;
  font-size: .75rem;
  font-weight: 600;
}

.ipo-chat-unanalyzed-trigger {
  color: #fff;
  cursor: pointer;
  letter-spacing: .01em;
  background: #a10033;
  background: color(display-p3 .576596 .110496 .210768);
  background: lab(34.1825% 58.1876 21.1163);
  border: none;
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.ipo-chat-unanalyzed-trigger:hover:not(:disabled) {
  background: #8e0027;
  background: color(display-p3 .533839 -.0871864 .14398);
  background: lab(28.136% 64.5363 25.0545);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(161, 0, 51, .25);
  box-shadow: 0 2px 6px color(display-p3 .576596 .110496 .210768 / .25);
  box-shadow: 0 2px 6px lab(34.1825% 58.1876 21.1163 / .25);
}

.ipo-chat-unanalyzed-trigger:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.ipo-chat-unanalyzed-hint {
  color: var(--ink-mute);
  text-align: center;
  margin-top: 8px;
  font-size: .68rem;
  line-height: 1.4;
}

.ipo-chat-unanalyzed-progress {
  align-items: center;
  gap: 8px;
  min-width: 120px;
  display: flex;
}

.ipo-chat-unanalyzed-progress-bar {
  background: rgba(14, 87, 148, .12);
  background: color(display-p3 .154112 .337182 .564316 / .12);
  background: lab(35.5745% -2.86636 -40.2468 / .12);
  border-radius: 2px;
  flex: 1;
  min-width: 48px;
  height: 4px;
  overflow: hidden;
}

.ipo-chat-unanalyzed-progress-fill {
  background: #0e5794;
  background: color(display-p3 .154112 .337182 .564316);
  background: lab(35.5745% -2.86636 -40.2468);
  border-radius: 2px;
  height: 100%;
  transition: width .6s;
}

.ipo-chat-unanalyzed-progress-text {
  color: #0e5794;
  color: color(display-p3 .154112 .337182 .564316);
  color: lab(35.5745% -2.86636 -40.2468);
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 500;
}

.marker\:font-medium ::marker {
  font-weight: 500;
}

.marker\:text-text-muted ::marker {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.marker\:font-medium::marker {
  font-weight: 500;
}

.marker\:text-text-muted::marker {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.placeholder\:text-ink-muted::placeholder {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.placeholder\:text-text-muted::placeholder {
  color: #75716d;
  color: color(display-p3 .456377 .441829 .428811);
  color: lab(47.785% 1.35595 2.6678);
}

.first\:mt-0:first-child {
  margin-top: 0;
}

.last\:mb-0:last-child {
  margin-bottom: 0;
}

.last\:border-0:last-child {
  border-width: 0;
}

.last\:pb-0:last-child {
  padding-bottom: 0;
}

.hover\:border-\[\#2c2a25\]:hover {
  --tw-border-opacity: 1;
  border-color: rgba(44, 42, 37, var(--tw-border-opacity, 1));
}

.hover\:border-\[\#b5b1a8\]:hover {
  --tw-border-opacity: 1;
  border-color: rgba(181, 177, 168, var(--tw-border-opacity, 1));
}

.hover\:border-edge-light:hover {
  border-color: #e8e4df;
  border-color: color(display-p3 .90597 .894027 .875753);
  border-color: lab(90.7338% .691295 2.96011);
}

.hover\:border-emerald-500\/30:hover {
  border-color: rgba(16, 185, 129, .3);
}

.hover\:border-violet-500\/30:hover {
  border-color: rgba(139, 92, 246, .3);
}

.hover\:border-violet-500\/50:hover {
  border-color: rgba(139, 92, 246, .5);
}

.hover\:bg-canvas-300:hover {
  background-color: #f4efe9;
  background-color: color(display-p3 .953241 .939466 .915712);
  background-color: lab(94.804% .696808 3.74858);
}

.hover\:bg-danger-dim:hover {
  background-color: rgba(164, 59, 56, .06);
  background-color: color(display-p3 .595512 .258408 .2365 / .06);
  background-color: lab(40.6069% 44.0896 26.0737 / .06);
}

.hover\:bg-emerald-500\/20:hover {
  background-color: rgba(16, 185, 129, .2);
}

.hover\:bg-emerald-500\/5:hover {
  background-color: rgba(16, 185, 129, .05);
}

.hover\:bg-surface-3:hover {
  background-color: #f1ece6;
  background-color: color(display-p3 .940189 .92645 .902758);
  background-color: lab(93.644% .697106 3.74881);
}

.hover\:bg-surface-4:hover {
  background-color: #ede9e2;
  background-color: color(display-p3 .927171 .913468 .889838);
  background-color: lab(92.484% .697464 3.74901);
}

.hover\:bg-violet-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(139, 92, 246, var(--tw-bg-opacity, 1));
}

.hover\:bg-violet-500\/10:hover {
  background-color: rgba(139, 92, 246, .1);
}

.hover\:bg-violet-500\/20:hover {
  background-color: rgba(139, 92, 246, .2);
}

.hover\:bg-violet-500\/5:hover {
  background-color: rgba(139, 92, 246, .05);
}

.hover\:bg-violet-600\/30:hover {
  background-color: rgba(124, 58, 237, .3);
}

.hover\:from-emerald-500:hover {
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(16, 185, 129, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:from-violet-500:hover {
  --tw-gradient-from: #8b5cf6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(139, 92, 246, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-fuchsia-500:hover {
  --tw-gradient-to: #d946ef var(--tw-gradient-to-position);
}

.hover\:to-teal-500:hover {
  --tw-gradient-to: #14b8a6 var(--tw-gradient-to-position);
}

.hover\:text-\[\#2c2a25\]:hover {
  --tw-text-opacity: 1;
  color: rgba(44, 42, 37, var(--tw-text-opacity, 1));
}

.hover\:text-accent-blue:hover {
  color: #194f81;
  color: color(display-p3 .160163 .306538 .490948);
  color: lab(32.253% -3.43981 -33.6552);
}

.hover\:text-accent-red:hover {
  color: #a43b38;
  color: color(display-p3 .595512 .258408 .2365);
  color: lab(40.6069% 44.0896 26.0737);
}

.hover\:text-ink:hover {
  color: #1f1915;
  color: color(display-p3 .117561 .100248 .0846923);
  color: lab(9.49156% 2.1475 4.0348);
}

.hover\:text-ink-secondary:hover {
  color: #413c38;
  color: color(display-p3 .252217 .235879 .221242);
  color: lab(25.7396% 1.72691 3.35711);
}

.hover\:text-primary-300:hover {
  color: #a03f3c;
  color: color(display-p3 .582517 .271639 .24853);
  color: lab(40.7137% 40.8721 23.8738);
}

.hover\:text-text-primary:hover {
  color: #1f1915;
  color: color(display-p3 .117561 .100248 .0846923);
  color: lab(9.49156% 2.1475 4.0348);
}

.hover\:text-text-secondary:hover {
  color: #413c38;
  color: color(display-p3 .252217 .235879 .221242);
  color: lab(25.7396% 1.72691 3.35711);
}

.hover\:text-violet-300:hover {
  --tw-text-opacity: 1;
  color: rgba(196, 181, 253, var(--tw-text-opacity, 1));
}

.hover\:text-violet-400:hover {
  --tw-text-opacity: 1;
  color: rgba(167, 139, 250, var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.hover\:decoration-violet-300\/50:hover {
  -webkit-text-decoration-color: rgba(196, 181, 253, .5);
  text-decoration-color: rgba(196, 181, 253, .5);
}

.hover\:opacity-90:hover {
  opacity: .9;
}

.focus\:border-accent-blue:focus {
  border-color: #194f81;
  border-color: color(display-p3 .160163 .306538 .490948);
  border-color: lab(32.253% -3.43981 -33.6552);
}

.focus\:border-primary:focus {
  border-color: #7c2524;
  border-color: color(display-p3 .446876 .171296 .156198);
  border-color: lab(29.1992% 37.8517 22.6944);
}

.focus\:outline-none:focus {
  outline-offset: 2px;
  outline: 2px solid rgba(0, 0, 0, 0);
}

.focus\:ring-1:focus {
  --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 rgba(0, 0, 0, 0));
}

.focus\:ring-2:focus {
  --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(2px + 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 rgba(0, 0, 0, 0));
}

.focus\:ring-\[3px\]:focus {
  --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(3px + 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 rgba(0, 0, 0, 0));
}

.focus\:ring-emerald-500\/50:focus {
  --tw-ring-color: rgba(16, 185, 129, .5);
}

.focus\:ring-violet-500\/50:focus {
  --tw-ring-color: rgba(139, 92, 246, .5);
}

.disabled\:transform-none:disabled {
  transform: none;
}

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

.disabled\:opacity-30:disabled {
  opacity: .3;
}

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

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

.group:focus-within .group-focus-within\:text-primary-400 {
  color: #7c2524;
  color: color(display-p3 .446876 .171296 .156198);
  color: lab(29.1992% 37.8517 22.6944);
}

.group:hover .group-hover\:block {
  display: block;
}

.group:hover .group-hover\:text-\[\#2c2a25\] {
  --tw-text-opacity: 1;
  color: rgba(44, 42, 37, var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:text-black {
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

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

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

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

  .sm\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

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

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

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

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

@media (min-width: 1024px) {
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-\[40\%\] {
    width: 40%;
  }

  .lg\:w-\[60\%\] {
    width: 60%;
  }

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

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

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

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

  .lg\:grid-cols-\[220px_1fr\] {
    grid-template-columns: 220px 1fr;
  }

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

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:p-6 {
    padding: 1.5rem;
  }

  .lg\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lg\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }

  .lg\:pl-64 {
    padding-left: 16rem;
  }
}

@media (min-width: 1280px) {
  .xl\:px-24 {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .xl\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

.\[\&_h2\]\:text-sm h2 {
  font-size: .875rem;
  line-height: 1.25rem;
}

.\[\&_h3\]\:text-xs h3, .\[\&_li\]\:text-xs li {
  font-size: .75rem;
  line-height: 1rem;
}

.\[\&_p\]\:mb-2 p {
  margin-bottom: .5rem;
}

.\[\&_p\]\:text-xs p {
  font-size: .75rem;
  line-height: 1rem;
}

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