/* [project]/apps/web/src/app/globals.css [app-client] (css) */
@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;
    --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 {
  .table {
    display: table;
  }
}

:root {
  --canvas: #f7f8fa;
  --surface: #fff;
  --surface-muted: #f1f3f5;
  --surface-raised: #fcfcfd;
  --ink: #15181d;
  --text: #2b3038;
  --text-muted: #667085;
  --text-faint: #98a2b3;
  --line: #d9dee7;
  --line-soft: #e8ebf0;
  --primary: #1f5e4d;
  --primary-hover: #184c3f;
  --primary-soft: #e4f2ed;
  --focus: #365cce;
  --info: #2f6bca;
  --warning: #c6801a;
  --market-up: #d84a4a;
  --market-up-soft: #fceaea;
  --market-down: #2563c7;
  --market-down-soft: #eaf1ff;
  --market-flat: #697386;
  --factor-positive: #12805c;
  --factor-positive-soft: #e7f5ef;
  --factor-negative: #b42318;
  --factor-negative-soft: #fee4e2;
  --shadow-level-1: 0 1px 2px #1018280f;
  --shadow-level-2: 0 8px 24px #1018281a;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--canvas);
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
  font-family: Pretendard, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

button, input, textarea {
  font: inherit;
}

.numeric {
  font-variant-numeric: tabular-nums;
  font-family: Roboto Mono, JetBrains Mono, SFMono-Regular, Consolas, monospace;
}

.app-shell {
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  border-right: 1px solid var(--line-soft);
  background: var(--surface);
  height: 100vh;
  padding: 18px 14px;
  position: sticky;
  top: 0;
}

.brand {
  color: var(--ink);
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
}

.brand-mark {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
}

.nav-list {
  gap: 4px;
  display: grid;
}

.nav-item {
  height: 38px;
  color: var(--text-muted);
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 14px;
  display: flex;
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 650;
}

.main {
  min-width: 0;
}

.topbar {
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #f7f8faeb;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 10px 24px;
  display: flex;
  position: sticky;
  top: 0;
}

.search {
  border: 1px solid var(--line);
  background: var(--surface);
  width: min(520px, 100%);
  height: 36px;
  color: var(--text-muted);
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  display: flex;
}

.search input {
  width: 100%;
  color: var(--text);
  background: none;
  border: 0;
  outline: 0;
}

.content {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 24px 32px;
  display: grid;
}

.panel {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  border-radius: 8px;
}

.panel-header {
  border-bottom: 1px solid var(--line-soft);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  display: flex;
}

.panel-title {
  color: var(--ink);
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.panel-body {
  padding: 16px;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.metric-label {
  color: var(--text-muted);
  font-size: 12px;
}

.metric-value {
  color: var(--ink);
  margin-top: 6px;
  font-size: 22px;
  font-weight: 750;
}

.metric-change {
  margin-top: 4px;
  font-size: 12px;
}

.up {
  color: var(--market-up);
}

.down {
  color: var(--market-down);
}

.flat {
  color: var(--market-flat);
}

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

.table th {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-muted);
  height: 36px;
  color: var(--text-muted);
  text-align: left;
  font-size: 12px;
  font-weight: 650;
}

.table th, .table td {
  padding: 0 12px;
}

.table td {
  border-bottom: 1px solid var(--line-soft);
  height: 42px;
}

.table tr:last-child td {
  border-bottom: 0;
}

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

.badge {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
}

.badge.positive {
  background: var(--factor-positive-soft);
  color: var(--factor-positive);
}

.badge.negative {
  background: var(--factor-negative-soft);
  color: var(--factor-negative);
}

.badge.neutral {
  background: var(--surface-muted);
  color: var(--text-muted);
}

.badge.warning {
  color: var(--warning);
  background: #fff3dc;
}

.chart {
  background: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    var(--surface-raised);
  background-size: 100% 64px, 72px 100%;
  border-radius: 6px;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.chart-caption {
  color: var(--text-muted);
  gap: 8px;
  font-size: 12px;
  display: flex;
  position: absolute;
  top: 12px;
  left: 12px;
}

.feed {
  gap: 12px;
  display: grid;
}

.feed-item {
  border-bottom: 1px solid var(--line-soft);
  gap: 6px;
  padding-bottom: 12px;
  display: grid;
}

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

.feed-title {
  color: var(--ink);
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  display: inline-flex;
}

.link-title {
  text-decoration: none;
}

.link-title:hover {
  color: var(--primary);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.meta {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.briefing {
  gap: 12px;
  display: grid;
}

.briefing-summary {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.mini-metrics {
  border: 1px solid var(--line-soft);
  background: var(--surface-raised);
  border-radius: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  display: grid;
}

.mini-value {
  color: var(--ink);
  margin-top: 4px;
  font-size: 15px;
  font-weight: 750;
}

.sentiment-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  display: grid;
}

.sentiment-copy p {
  color: var(--ink);
  margin: 8px 0 10px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

.sentiment-bars {
  align-content: start;
  gap: 14px;
  display: grid;
}

.sentiment-meter {
  gap: 8px;
  display: grid;
}

.sentiment-row {
  color: var(--ink);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: flex;
}

.stacked-bar {
  background: var(--surface-muted);
  border-radius: 999px;
  height: 10px;
  display: flex;
  overflow: hidden;
}

.bar-positive {
  background: var(--factor-positive);
}

.bar-neutral {
  background: var(--market-flat);
}

.bar-negative {
  background: var(--factor-negative);
}

.theme-list {
  border-top: 1px solid var(--line-soft);
  grid-column: 1 / -1;
  display: grid;
}

.theme-item {
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  display: grid;
}

.theme-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.theme-date {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.theme-item p {
  color: var(--text);
  margin: 5px 0 7px;
  font-size: 13px;
  line-height: 1.55;
}

.checklist {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.checklist li {
  color: var(--text);
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
}

.button {
  background: var(--primary);
  color: #fff;
  border: 1px solid #0000;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

@media (max-width: 1199px) {
  .app-shell {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .brand span, .nav-item span {
    display: none;
  }

  .sidebar {
    padding-inline: 12px;
  }

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

  .span-3, .span-4, .span-5, .span-7, .span-8 {
    grid-column: span 12;
  }
}

@media (max-width: 767px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
    position: static;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .content {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .span-3, .span-4, .span-5, .span-7, .span-8, .span-12 {
    grid-column: span 1;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .chart {
    height: 260px;
  }

  .sentiment-layout {
    grid-template-columns: 1fr;
  }

  .theme-list {
    grid-column: auto;
  }

  .theme-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-h.css.map*/