/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --spacing: .25rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  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;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    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;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

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

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

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

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

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

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

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

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

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

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

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .h-full {
    height: 100%;
  }

  .w-full {
    width: 100%;
  }

  .flex-1 {
    flex: 1;
  }

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

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

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

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

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

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

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

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

  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }

  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }

  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .overflow-hidden {
    overflow: hidden;
  }

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

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

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

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

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

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

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

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --bg: #f0f2f6;
  --surface: #fff;
  --card: #fff;
  --card-2: #f8fafc;
  --hover: #f3f4f6;
  --active: #fef2f2;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --border-light: #f3f4f6;
  --text: #111827;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --sb-bg: #fff;
  --sb-bg-2: #f8fafc;
  --sb-hover: #0000000a;
  --sb-active: #dc2626;
  --sb-active-h: #b91c1c;
  --sb-border: #e5e7eb;
  --sb-text: #111827;
  --sb-text-2: #4b5563;
  --sb-text-3: #9ca3af;
  --accent: #dc2626;
  --accent-h: #b91c1c;
  --accent-dim: #dc262614;
  --accent-glow: #dc262633;
  --accent-border: #dc262647;
  --blue: #2563eb;
  --blue-dim: #2563eb14;
  --blue-border: #2563eb40;
  --blue-glow: #2563eb26;
  --green: #16a34a;
  --green-dim: #16a34a14;
  --green-border: #16a34a40;
  --amber: #d97706;
  --amber-dim: #d9770614;
  --amber-border: #d9770640;
  --cyan: #0891b2;
  --cyan-dim: #0891b214;
  --cyan-border: #0891b240;
  --red: #dc2626;
  --red-dim: #dc262614;
  --red-border: #dc262640;
  --purple: #7c3aed;
  --purple-dim: #7c3aed14;
  --purple-border: #7c3aed40;
  --gold: #d97706;
  --gold-bright: #f59e0b;
  --gold-dim: #d9770614;
  --gold-border: #d9770640;
  --teal: #0891b2;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --sidebar-w: 244px;
  --topbar-h: 56px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
}

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

html, body {
  background: var(--bg);
  height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

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

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

.grad-blue {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.grad-red, .gold-gradient {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.obs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 1px 3px #0000000f;
}

.obs-card-hover:hover {
  border-color: var(--border-strong);
  transition: all .15s;
  box-shadow: 0 2px 8px #00000014;
}

.badge {
  letter-spacing: .01em;
  border-radius: 4px;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
}

.badge-gold {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge-red {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid var(--red-border);
}

.badge-blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}

.badge-teal, .badge-cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}

.badge-green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.badge-amber {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.badge-purple {
  background: var(--purple-dim);
  color: var(--purple);
  border: 1px solid var(--purple-border);
}

.badge-muted {
  background: var(--hover);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.badge-admin {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
}

.btn-primary {
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px var(--accent-glow);
  border: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: all .18s;
  display: inline-flex;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-h);
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: var(--font-body);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.btn-ghost:hover {
  background: var(--hover);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-icon {
  border-radius: var(--r-sm);
  cursor: pointer;
  width: 30px;
  height: 30px;
  color: var(--text-3);
  background: none;
  border: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: all .15s;
  display: flex;
}

.btn-icon:hover {
  background: var(--hover);
  color: var(--text-2);
}

.stat-pill {
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--border);
  cursor: default;
  flex-direction: column;
  gap: 0;
  min-width: 88px;
  padding: 5px 12px;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  box-shadow: 0 1px 3px #0000000d;
}

.stat-pill:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px #00000014;
}

.stat-pill .s-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-pill .s-value {
  font-family: var(--font-display);
  color: var(--text);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.sidebar-dark {
  background: var(--sb-bg);
  border-right: 1px solid var(--sb-border);
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  flex-shrink: 0;
  position: relative;
}

.sidebar-dark .conv-item {
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--sb-text-2);
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  transition: background .12s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.sidebar-dark .conv-item:hover {
  background: var(--sb-hover);
  color: var(--sb-text);
}

.sidebar-dark .conv-item.active {
  background: var(--sb-active);
  color: #fff;
}

.sidebar-dark .conv-item.active .conv-icon {
  color: #fffc;
}

.sidebar-dark .conv-icon {
  color: var(--sb-text-3);
  flex-shrink: 0;
}

.sidebar-dark .conv-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  font-size: 12.5px;
  overflow: hidden;
}

.sidebar-dark .conv-menu-btn {
  opacity: 0;
  color: var(--sb-text-2);
  transition: opacity .12s;
}

.sidebar-dark .conv-item:hover .conv-menu-btn {
  opacity: 1;
}

.sidebar-dark .conv-item.active .conv-menu-btn {
  opacity: 0;
}

.sidebar-dark .conv-item.active:hover .conv-menu-btn {
  opacity: 1;
  color: #fffc;
}

.sidebar-dark .folder-header {
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--sb-text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 700;
  transition: background .12s;
  display: flex;
}

.sidebar-dark .folder-header:hover {
  background: var(--sb-hover);
  color: var(--sb-text-2);
}

.sidebar-dark .btn-icon {
  color: var(--sb-text-3);
}

.sidebar-dark .btn-icon:hover {
  background: var(--sb-hover);
  color: var(--sb-text-2);
}

.status-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
}

.status-online {
  background: #16a34a;
  box-shadow: 0 0 0 3px #16a34a2e;
}

.status-offline {
  background: #dc2626;
  box-shadow: 0 0 0 3px #dc262626;
}

.quick-query {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 100px;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 500;
  transition: all .18s;
  display: inline-flex;
  box-shadow: 0 1px 3px #0000000d;
}

.quick-query:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
  background: #fef2f2;
}

.query-pill {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 100px;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 500;
  transition: all .18s;
  display: inline-flex;
}

.query-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: #fef2f2;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.data-table th {
  background: var(--card-2);
  color: var(--text-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  position: sticky;
  top: 0;
}

.data-table td {
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  padding: 7px 14px;
}

.data-table tbody tr:hover td {
  background: var(--hover);
}

@keyframes dot-bounce {
  0%, 80%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.typing-dot {
  animation: 1.4s ease-in-out infinite dot-bounce;
}

.typing-dot:nth-child(2) {
  animation-delay: .18s;
}

.typing-dot:nth-child(3) {
  animation-delay: .36s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

.anim-up {
  animation: .25s fadeUp;
}

.anim-right {
  animation: .25s fadeRight;
}

.anim-left {
  animation: .25s fadeLeft;
}

.anim-in {
  animation: .2s fadeIn;
}

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

.prose-content p {
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.75;
}

.prose-content ul {
  margin-bottom: 8px;
  padding-left: 18px;
  list-style: outside;
}

.prose-content ol {
  margin-bottom: 8px;
  padding-left: 18px;
  list-style: decimal;
}

.prose-content li {
  color: var(--text-2);
  margin-bottom: 3px;
}

.prose-content strong {
  color: var(--text);
  font-weight: 700;
}

.prose-content em {
  color: var(--text-2);
  font-style: italic;
}

.prose-content code {
  font-family: var(--font-mono);
  background: var(--hover);
  color: var(--accent);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
}

.prose-content pre {
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-mono);
  color: #e2e8f0;
  background: #1a1d2e;
  border-radius: 8px;
  margin: 8px 0;
  padding: 14px;
  overflow-x: auto;
}

.prose-content pre code {
  color: #94d8fb;
  background: none;
  padding: 0;
}

.prose-content h1, .prose-content h2, .prose-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 700;
}

.prose-content a {
  color: var(--accent);
  text-decoration: underline;
}

.prose-content a:hover {
  color: var(--accent-h);
}

.no-data-card {
  border-radius: var(--r);
  background: #fef2f2;
  border: 1px solid #fca5a5;
  padding: 16px;
}

.model-option {
  cursor: pointer;
  background: none;
  transition: background .12s;
}

.model-option:hover {
  background: var(--hover);
}

.model-option.selected {
  background: #fef2f2;
}

.modal-backdrop {
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  background: #1118278c;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  box-shadow: 0 24px 60px #0000002e, 0 0 0 1px #0000000a;
}

.upload-zone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--r);
  text-align: center;
  cursor: pointer;
  background: var(--card-2);
  margin-top: 12px;
  padding: 24px 16px;
  transition: all .2s;
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--accent-border);
  background: #fef2f2;
}

.mesh-bg {
  background-color: var(--bg);
}

.chart-container img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.ctx-menu {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  z-index: 300;
  min-width: 172px;
  padding: 4px;
  position: fixed;
  box-shadow: 0 8px 24px #00000026, 0 2px 6px #00000014;
}

.ctx-item {
  border-radius: var(--r-sm);
  width: 100%;
  color: var(--text-2);
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  transition: background .1s;
  display: flex;
}

.ctx-item:hover {
  background: var(--hover);
  color: var(--text);
}

.ctx-item.danger {
  color: var(--red);
}

.ctx-item.danger:hover {
  background: #fef2f2;
}

.ctx-divider {
  background: var(--border-light);
  height: 1px;
  margin: 3px 0;
}

.ctx-section-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  padding: 4px 10px 2px;
  font-size: 10px;
  font-weight: 700;
}

.messages-area {
  flex: 1;
  padding: 28px 32px;
  overflow-y: auto;
}

.input-area {
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  padding: 14px 32px 20px;
}

.hamburger-btn {
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  width: 34px;
  height: 34px;
  color: var(--text-2);
  background: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: none;
}

.sidebar-close-btn, .mobile-sidebar-overlay {
  display: none;
}

@media (max-width: 768px) {
  .sidebar-dark {
    z-index: 50;
    height: 100vh;
    min-width: unset;
    transition: transform .25s;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 4px 0 24px #0000001f;
  }

  .sidebar-dark.sidebar-open {
    transform: translateX(0);
  }

  .mobile-sidebar-overlay {
    z-index: 49;
    background: #0006;
    animation: .2s fadeIn;
    display: block;
    position: fixed;
    inset: 0;
  }

  .hamburger-btn, .sidebar-close-btn {
    display: flex;
  }

  .messages-area {
    padding: 16px;
  }

  .input-area {
    padding: 10px 12px 16px;
  }

  .stat-pill {
    min-width: 68px;
    padding: 4px 8px;
  }

  .stat-pill .s-label {
    font-size: 9px;
  }

  .stat-pill .s-value {
    font-size: 12px;
  }

  html, body {
    overflow-x: hidden;
  }

  .input-hint-text, .chart-btn-label {
    display: none;
  }

  .chart-type-btn {
    padding: 5px 8px !important;
  }

  .user-bubble {
    max-width: calc(100vw - 80px) !important;
  }

  .assistant-content {
    max-width: 100% !important;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/*# sourceMappingURL=app_globals_71f961d1.css.map*/