/* Shared research and audit presentation. */
@font-face {
  font-family: "Noto Sans SC";
  src: url("/research/font.29ca93c0c312.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --ink: #10251f;
  --muted: #6d7d77;
  --line: #dfe7e3;
  --line-strong: #cdd9d4;
  --forest: #0b382e;
  --forest-deep: #061f1a;
  --green: #0c8a67;
  --green-soft: #e8f6f1;
  --mint: #b8ead7;
  --blue: #3578c6;
  --red: #c85353;
  --amber: #a87516;
  --purple: #8356b8;
  --shadow: 0 1px 2px rgba(10, 36, 29, .04), 0 12px 36px rgba(19, 54, 44, .06);
  --shadow-hover: 0 16px 38px rgba(16, 66, 52, .11);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-ui); font-size: 14px; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(12, 138, 103, .22); outline-offset: 2px; }
.topbar { position: sticky; z-index: 50; top: 0; height: 70px; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 clamp(20px, 4vw, 68px); color: white; background: rgba(6, 31, 26, .96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.brand { min-width: max-content; display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(184,234,215,.58); border-radius: 11px; color: var(--mint); background: rgba(255,255,255,.06); font: 760 12px var(--mono); letter-spacing: .08em; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 17px; letter-spacing: .01em; }
.brand-copy small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .14em; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 14px; font-weight: 650; transition: .18s ease; }
.button:hover { border-color: #aac4ba; transform: translateY(-1px); }
.button:disabled { cursor: default; opacity: .45; transform: none; }
.button.primary { min-height: 46px; padding: 0 21px; color: white; background: var(--green); border-color: var(--green); box-shadow: 0 10px 24px rgba(12,138,103,.2); }
.button.primary:hover { background: #087557; }
.button.subtle { background: var(--surface-soft); }
.button.ghost { background: transparent; border-color: transparent; }
.button.danger { color: #a74545; }
.error-banner { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; padding: 13px 16px; color: #8a3f3f; background: #fcecec; border: 1px solid #f0c8c8; border-radius: 12px; font-size: 14px; }

.dashboard { max-width: 1660px; margin: 0 auto; padding: 26px clamp(16px, 2.4vw, 40px) 54px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dashboard > .error-banner { margin-top: 14px; }

.metric-grid { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr 1fr; gap: 14px; margin: 17px 0; }
.dot { width: 6px; height: 6px; display: inline-block; margin: 0 4px 1px 8px; border-radius: 50%; }
.dot:first-child { margin-left: 0; }
.dot.positive { background: var(--green); }
.dot.negative { background: var(--red); }
.dot.neutral { background: var(--amber); }
.dot.active { background: var(--blue); }

.filter-card { padding: 22px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.section-heading h1, .section-heading h2 { margin: 5px 0 2px; font-size: 25px; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.search-field { min-width: min(360px, 100%); height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 13px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 11px; }
.search-field svg { color: #82918c; }
.search-field input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.filters { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)) auto; align-items: end; gap: 10px; }
.filters label > span{ display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 12px; font-weight: 650; }
.filters input, .filters select { width: 100%; height: 46px; padding: 0 11px; color: #30453e; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; outline: 0; font-size: 14px; }
.filters input:focus, .filters select:focus { border-color: #80bba6; background: white; }
.button.reset { height: 46px; color: var(--green); background: var(--green-soft); border-color: #cfe8df; }

.workspace-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); align-items: start; gap: 17px; margin-top: 17px; }
.trade-panel { position: sticky; top: 87px; min-width: 0; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 18px 13px; border-bottom: 1px solid var(--line); }
.panel-header div { display: flex; align-items: baseline; gap: 7px; }
.panel-header span { font-size: 16px; font-weight: 700; }
.panel-header strong { color: var(--green); font: 700 10px var(--mono); font-size: 12px; }
.panel-header small { color: var(--muted); font-size: 12px; }
.trade-list { max-height: calc(100vh - 236px); min-height: 350px; display: grid; align-content: start; gap: 9px; overflow-y: auto; padding: 12px; background: #f8faf9; }
.trade-card-shell { min-width: 0; }
.trade-card { width: 100%; display: block; padding: 13px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 13px; text-align: left; transition: .18s ease; }
.trade-card:hover { border-color: #afc9bf; box-shadow: 0 8px 22px rgba(20, 65, 52, .07); transform: translateY(-1px); }
.trade-card.selected { background: #f3fbf8; border-color: #60ad92; box-shadow: inset 3px 0 0 var(--green), 0 8px 22px rgba(12, 138, 103, .08); }
.trade-card-top { display: flex; align-items: center; gap: 7px; }
.trade-number { color: #90a09a; font: 650 9px var(--mono); font-size: 11px; }
.direction-pill { margin-left: auto; padding: 3px 7px; color: var(--blue); background: #edf4fc; border-radius: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.direction-pill.short { color: var(--purple); background: #f3eef8; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a7b1ad; }
.status-dot.positive { background: var(--green); }
.status-dot.negative { background: var(--red); }
.status-dot.active { background: var(--blue); box-shadow: 0 0 0 3px #e4eef9; }
.status-dot.neutral { background: var(--amber); }
.trade-card-main { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; }
.trade-card-main strong { font: 760 19px var(--mono); letter-spacing: -.04em; font-size: 21px; }
.trade-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.trade-card-meta time { font-family: var(--mono); }
.trade-card-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #edf1ef; }
.trade-card-result > span { font-size: 12px; font-weight: 700; }
.trade-card-result > span.positive { color: var(--green); }
.trade-card-result > span.negative { color: var(--red); }
.trade-card-result > span.active { color: var(--blue); }
.trade-card-result > span.neutral { color: var(--amber); }
.trade-card-result > strong { font: 700 11px var(--mono); font-size: 14px; }
.r-positive { color: var(--green) !important; }
.r-negative { color: var(--red) !important; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: white; border-top: 1px solid var(--line); }
.pagination > span { color: var(--muted); font-size: 12px; }
.pagination div { display: flex; gap: 6px; }
.pagination button { width: 31px; height: 31px; display: grid; place-items: center; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; }
.pagination button:disabled { cursor: default; opacity: .35; }

.detail-column { min-width: 0; display: grid; gap: 17px; }
.detail-empty { min-height: 510px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 50px; text-align: center; }
.empty-icon { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 18px; color: var(--green); background: var(--green-soft); border-radius: 20px; }
.detail-empty strong { font-size: 18px; }
.detail-empty p { max-width: 410px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.detail-hero { overflow: hidden; padding: 22px; }
.detail-title { display: flex; align-items: center; gap: 13px; }
.pair-icon { width: 47px; height: 47px; display: grid; flex: 0 0 auto; place-items: center; color: white; background: linear-gradient(145deg, #0b6f54, #0f3f34); border-radius: 14px; font: 740 17px var(--mono); }
.detail-title > div:nth-child(2) > span { display: flex; align-items: center; gap: 9px; }
@media (max-width: 900px) {
  .detail-title { flex-wrap: wrap; }
}
.detail-title strong { font: 760 25px var(--mono); letter-spacing: -.04em; }
.detail-title em { padding: 4px 8px; color: var(--blue); background: #edf4fc; border-radius: 6px; font-size: 12px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.detail-title em.short { color: var(--purple); background: #f3eef8; }
.detail-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.detail-verdict { float: right; display: flex; align-items: flex-end; flex-direction: column; gap: 6px; margin-top: -47px; }
.status-pill { padding: 6px 10px; color: #65736e; background: #eef1f0; border-radius: 8px; font-size: 12px; font-weight: 700; }
.status-pill.positive { color: #087657; background: #e5f5ef; }
.status-pill.negative { color: #a94444; background: #faeaea; }
.status-pill.active { color: #2f6dad; background: #eaf2fa; }
.status-pill.neutral { color: #8a6216; background: #fbf1dc; }
.detail-verdict small { color: var(--muted); font: 9px var(--mono);
  font-size: 12px; }
.detail-verdict .trade-id { user-select: all; overflow-wrap: anywhere; text-align: right; }
.detail-metrics span, .detail-metrics strong { display: block; }
.detail-metrics span { color: var(--muted); font-size: 11px; }

.chart-card { overflow: hidden; }
.chart-header { display: flex; align-items: center; gap: 22px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chart-heading { display: block; }
.chart-heading strong, .chart-heading small { display: block; }
.chart-heading strong { font-size: 15px; }
.chart-heading small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.chart-layout { min-height: 430px; position: relative; }
.chart-scroll { min-width: 0; overflow-x: auto; background: white; }
.market-chart { width: 100%; min-width: 720px; height: auto; display: block; }
.chart-controls { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:10px 18px; color:var(--muted); font-size:12px; }
.chart-controls label { display:flex; align-items:center; gap:6px; cursor:pointer; }
.chart-controls input { width:auto; }
.chart-background { fill: #fbfdfc; }
.chart-grid { stroke: #e8eeeb; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-axis { stroke: #7d8e87; stroke-width: 1.4; }
.axis-tick { stroke: #7d8e87; stroke-width: 1.2; }
.axis-label { fill: #82918b; font: 9px var(--mono); font-size: 11px; }
.candle-wick { stroke: currentColor; stroke-width: 1; }
.candle-body { fill: currentColor; }
.candle-up { color: #17a879; }
.candle-down { color: #dc6666; }
.price-level { cursor: pointer; }
.price-level-line { stroke: currentColor; stroke-width: 1.35; stroke-dasharray: 6 4; opacity: .72; }
.price-level-point { fill: white; stroke: currentColor; stroke-width: 2; }
.price-level-point.actual-fill { fill:currentColor; stroke:white; stroke-width:1.5; }
.price-level-point.ended-plan { fill:#fff; stroke-dasharray:2 2; }
.level-stop-loss .price-level-line { stroke-dasharray:none; stroke-width:1.8; opacity:.9; }
.price-tag-box { fill: currentColor; opacity: .92; }
.price-level.selected .price-tag-box { opacity: 1; }
.price-tag-text { fill: #fff; font: 700 10px var(--mono); pointer-events: none; }
.price-tag-link { stroke: currentColor; stroke-width: 1; opacity: .45; pointer-events: none; }
.price-level.selected .price-level-line { stroke-width: 2; opacity: 1; }
.price-level.level-entry { color: var(--blue); }
.price-level.level-entry-average { color: #58758a; }
.price-level.level-planned-take-profit { color: var(--amber); }
.price-level.level-take-profit { color: var(--green); }
.price-level.level-stop-loss { color: var(--red); }
.price-level.level-exit { color: var(--purple); }
.trade-boundary { pointer-events: none; }
.trade-boundary line { stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 5 5; opacity: .72; }
.trade-boundary text { fill: currentColor; stroke: white; stroke-width: 4px; paint-order: stroke; font: 700 10px var(--mono); }
.trade-boundary.boundary-entry { color: var(--blue); }
.trade-boundary.boundary-end { color: var(--purple); }
.selected-evidence { position:relative; margin:0 18px 16px; padding:14px; background:white; border:1px solid var(--line); border-radius:10px; }
.evidence-close { float:right; border:0; background:transparent; font-size:20px; cursor:pointer; }
.selected-evidence > span, .selected-evidence > strong, .selected-evidence > small { display: block; }
.selected-evidence > span { color: var(--muted); font-size: 10px; font-weight: 700; }
.selected-evidence > strong { margin-top: 4px; font-size: 13px; }
.selected-evidence > p, .selected-evidence > small { margin: 5px 0 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.selected-evidence dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; }
.selected-evidence dl div { padding: 5px; background: #f1f5f3; border-radius: 5px; }
.selected-evidence dt { color: var(--muted); font-size: 9px; }
.selected-evidence dd { margin: 2px 0 0; font: 700 7px var(--mono); font-size: 10px; }
.chart-empty { min-height: 390px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px; color: var(--muted); text-align: center; }
.chart-empty strong { color: var(--ink); font-size: 17px; }
.chart-empty p { margin: 9px 0; font-size: 12px; }
.chart-empty small { font: 8px var(--mono);
  font-size: 12px; }

.audit-card { overflow: hidden; }
.tabs { display: flex; align-items: stretch; min-height: 54px; padding: 0 14px; overflow-x: auto; background: white; border-bottom: 1px solid var(--line); }
.tabs > button { padding: 0 13px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 650; white-space: nowrap; }
.tabs > button:hover { color: var(--ink); }
.tabs > button.active { color: var(--green); border-bottom-color: var(--green); }
.tabs button b { margin-left: 4px; color: var(--green); font: 700 8px var(--mono); font-size: 10px; }
.tab-panel { min-height: 260px; padding: 14px; background: #f7f9f8; }
.execution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.execution-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  grid-template-areas:
    "entry side"
    "take-profit take-profit";
  align-items: start;
}
.entry-section { grid-area: entry; align-self: start; }
.execution-side-column { grid-area: side; display: grid; gap: 12px; }
.take-profit-section { grid-area: take-profit; }
.inner-card { min-width: 0; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.inner-card > header { min-height: 34px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.inner-card > header small, .inner-card > header strong { display: block; }
.inner-card > header small { color: var(--green); font: 700 7px var(--mono); letter-spacing: .1em; font-size: 10px; }
.inner-card > header strong { margin-top: 3px; font-size: 14px; }
.inner-card > header > span { color: var(--muted); font-size: 11px; }
.action-section > header { margin-bottom: 12px; }
.entry-columns { display: grid; grid-template-columns: 1fr; align-items: start; gap: 10px; }
.entry-column { min-width: 0; padding: 10px; background: #f7f9f8; border: 1px solid #e2e9e5; border-radius: 10px; }
.entry-column > header { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.entry-column > header strong { color: #52645d; font-size: 12px; }
.entry-column > header span { color: var(--muted); font-size: 10px; }
.entry-record-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, .58fr) minmax(0, 1fr); gap: 6px; padding: 0 8px 5px; color: var(--muted); font-size: 10px; line-height: 1.25; }
.actual-entry-column .entry-record-head, .entry-record-card.actual { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, .58fr) minmax(0, .66fr) minmax(0, 1.15fr); }
.entry-record-head span:not(:first-child) { padding-left: 6px; border-left: 1px solid transparent; }
.entry-record-list { display: grid; gap: 7px; }
.entry-record-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, .58fr) minmax(0, 1fr); align-items: center; gap: 6px; padding: 9px 8px; background: white; border: 1px solid #e0e7e4; border-radius: 9px; }
.entry-record-card.actual { border-color: #c9e1d8; }
.entry-record-identity, .entry-record-field { min-width: 0; }
.entry-record-identity { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.entry-record-identity > span:first-child { min-width: 21px; padding: 3px 5px; color: #365148; background: #e9f1ed; border-radius: 5px; font-size: 10px; font-weight: 800; text-align: center; white-space: nowrap; }
.entry-record-identity time { color: #41564e; font: 700 11px/1.35 var(--mono); white-space: nowrap; }
.entry-record-field { padding-left: 6px; border-left: 1px solid #e4eae7; }
.entry-record-field strong { display: block; }
.entry-after-fill { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 4px; }
.entry-after-fill span { white-space:nowrap; color:var(--muted); font:11px/1.35 var(--mono); }
.entry-after-fill i { font-style:normal; color:var(--line-strong); }
.entry-record-field strong { margin-top: 0; font: 700 11px/1.35 var(--mono); overflow-wrap: anywhere; }
.entry-record-primary strong { color: var(--green); font-size: 17px; }
.entry-record-spread strong { color: var(--ink); font-size: 10px; line-height: 1.35; }
.entry-record-spread.spread-favorable strong { color: var(--green); }
.entry-record-spread.spread-adverse strong { color: var(--red); }
.exit-action-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.exit-section .exit-action-list { grid-template-columns: 1fr; }
.exit-action-list article { min-width: 0; display: grid; grid-template-columns: 28px minmax(100px, 1.25fr) minmax(85px, .75fr) minmax(72px, .6fr); align-items: center; gap: 9px; padding: 10px; background: var(--surface-soft); border: 1px solid #e5ebe8; border-radius: 9px; }
.action-index { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--green); border-radius: 50%; font: 700 8px var(--mono); font-size: 10px; }
.exit-action-list small, .exit-action-list strong { display: block; }
.exit-action-list small { color: var(--muted); font-size: 10px; }
.exit-action-list strong { margin-top: 4px; font: 700 10px var(--mono); overflow-wrap: anywhere; font-size: 12px; }
.exit-action-list .exit-primary strong { color: var(--green); font-size: 15px; }
.exit-action-list time { grid-column: 2 / -1; color: var(--muted); font: 8px var(--mono); font-size: 10px; }
.empty-line { margin: 0; padding: 16px; color: var(--muted); background: var(--surface-soft); border-radius: 8px; font-size: 12px; text-align: center; }
.risk-action-list { display: grid; gap: 7px; }
.risk-action-list article { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 64px; padding: 10px 11px; background: var(--surface-soft); border: 1px solid #e5ebe8; border-left: 3px solid var(--line-strong); border-radius: 9px; }
.risk-action-list .stop-action-card { border-left-color: #dfa1a1; }
.risk-action-list .stop-action-card .action-index { background: var(--red); }
.risk-action-list .breakeven-action-card { border-left-color: #9dd2bd; }
.risk-action-copy { min-width: 0; }
.risk-action-copy > strong { display: block; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.risk-action-copy > span { display: block; margin-top: 5px; color: var(--muted); font: 8px/1.35 var(--mono); font-size: 10px; }
.risk-action-price { min-width: 76px; padding-left: 11px; border-left: 1px solid #dfe7e3; text-align: right; }
.risk-action-price small, .risk-action-price strong { display: block; }
.risk-action-price small { color: var(--muted); font-size: 10px; }
.risk-action-price strong { margin-top: 5px; color: var(--green); font: 720 15px var(--mono); font-size: 17px; }
.stop-action-card .risk-action-price strong { color: var(--red); }
.take-profit-rows { display: grid; gap: 16px; }
.take-profit-row { min-width: 0; }
.take-profit-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.take-profit-row-heading strong { color: #52645d; font-size: 12px; }
.take-profit-row-heading span { color: var(--muted); font-size: 10px; }
.take-profit-card-grid { display: grid; grid-template-columns: repeat(100, minmax(0, 1fr)); align-items: stretch; min-height: 120px; padding: 5px 1px; background: #f5f8f6; border: 1px solid #e2e9e5; border-radius: 11px; }
.actual-track { background: white; border-color: #e2e9e5; }
.tp-card { grid-column: span var(--allocation-columns); min-width: 0; min-height: 108px; margin-inline: 4px; padding: 12px; overflow: hidden; background: white; border: 1px solid #e1e8e5; border-radius: 9px; }
.tp-card.completed { background: var(--green-soft); border-color: #b8decf; }
.actual-track .tp-card.actual { background: var(--green-soft); border-color: #b8decf; }
.tp-card span, .tp-card strong, .tp-card small { display: block; }
.tp-card span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.tp-card strong { margin: 6px 0; color: var(--green); font: 720 12px var(--mono); overflow-wrap: anywhere; font-size: 15px; }
.tp-card p { margin: 0 0 3px; color: var(--ink); font-size: 10px; font-weight: 700; }
.tp-card small { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.message-list { display: grid; gap: 10px; }
.message-card { padding: 13px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.message-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.message-card > header strong, .message-card > header small { display: block; }
.message-card > header strong { font: 700 9px var(--mono); font-size: 12px; }
.message-card > header small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.message-card > header > span { color: var(--green); font: 700 7px var(--mono); font-size: 10px; }
.message-card q { display: block; margin: 10px 0; padding: 10px 12px; color: #4d6159; background: #f7faf8; border-left: 3px solid #86bfa9; border-radius: 0 8px 8px 0; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.message-missing { margin: 10px 0; padding: 9px 11px; color: #80601e; background: #fbf1dc; border-radius: 8px; font-size: 12px; }

@media (max-width: 1380px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
}

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .workspace-grid { grid-template-columns: 300px minmax(0, 1fr); }
}

@media (max-width: 1040px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .trade-panel { position: static; }
  .trade-list { max-height: 420px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-layout { display: block; }
}

@media (max-width: 860px) {
  .dashboard { padding-inline: 12px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: stretch; flex-direction: column; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .execution-grid { grid-template-columns: 1fr; }
  .execution-grid {
    grid-template-areas:
      "entry"
      "side"
      "take-profit";
  }
}

@media (max-width: 620px) {
  .topbar { height: 62px; padding: 0 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy small { display: none; }
  .topbar { grid-template-columns: 1fr auto; gap: 10px; }
  .dashboard { padding-top: 14px; }
  .metric-grid { grid-template-columns: 1fr; gap: 9px; }
  .filter-card { padding: 17px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .trade-list { grid-template-columns: 1fr; }
  .detail-hero { padding: 17px; }
  .detail-title strong { font-size: 27px; }
  .detail-verdict { float: none; align-items: flex-start; margin: 14px 0 0 60px; }
  .market-chart { min-width: 650px; }
  .tabs { padding: 0 8px; }
  .tabs > button { min-height: 48px; padding: 0 10px; }
  .tab-panel { padding: 9px; }
  .entry-columns { grid-template-columns: 1fr; }
  .exit-action-list { grid-template-columns: 1fr; }
  .take-profit-row { overflow-x: auto; }
  .take-profit-card-grid { min-width: 620px; }
  .risk-action-list article { grid-template-columns: 24px minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Compact audit overview and filtering. */
@media (min-width: 1200px) {
  .metric-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
}
.filter-card { padding: 14px 18px; }
.filter-card .section-heading { align-items: center; margin-bottom: 10px; gap: 12px; }
.filter-card h1 { margin: 0; font-size: 18px; }
.filter-card .search-field { height: 36px; min-width: 0; width: 280px; flex: 1; }
.filter-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.filter-actions .reset { min-height: 36px; flex-shrink: 0; white-space: nowrap; }
.filter-actions .search-field input { min-width: 0; }
.filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filters select, .button.reset { height: 36px; }
.trade-panel .panel-header { gap: 8px; padding: 12px; flex-wrap: wrap; }
.trade-sort select, .trade-sort button { min-height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: var(--ink); font-size: 12px; padding: 3px 5px; }
.trade-sort button { cursor: pointer; }
.trade-sort button:disabled { opacity: .4; cursor: default; }
@media (max-width: 700px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* New API controls; audit layout above is reused from the previous website. */
body{background:#f6f7f3}
.research-topbar{min-height:68px;padding:12px clamp(20px,4vw,64px);display:flex;gap:22px;align-items:center;position:relative;z-index:5;border-top:5px solid var(--forest);border-bottom:1px solid var(--line);background:#fff;box-shadow:0 6px 18px rgba(16,54,44,.07)}
.research-topbar h1{font-size:22px;margin:0}
.research-title{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.channel-tabs{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;padding:4px;border-radius:12px;background:var(--green-soft);border:1px solid #cfe8df}
.channel-tabs-label{padding:0 6px 0 8px;color:var(--green);font-size:12px;font-weight:700}
.channel-tab{padding:6px 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--forest);font:inherit;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}
.channel-tab:hover{background:#fff;border-color:#cfe8df}
.channel-tab.active{background:var(--green);border-color:var(--green);color:#fff;cursor:default}
.channel-tabs.single{padding:0;background:none;border:0}.channel-tabs.single .channel-tab{padding:4px 12px;background:var(--green-soft);border-color:#cfe8df;color:var(--forest)}
.board-brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:3px;color:var(--forest);text-decoration:none;white-space:nowrap}.board-brand::before{content:"姆";display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#12a585,#0b4f43);color:#fff;font-size:17px;font-weight:700;letter-spacing:0;box-shadow:0 4px 10px #087f6b40,inset 0 1px 0 #ffffff40}.board-brand:hover{color:var(--green)}.board-nav{display:flex;gap:4px;margin-left:8px;padding-left:20px;border-left:1px solid var(--line)}.board-nav a{padding:8px 14px;border-radius:9px;color:var(--muted);text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}.board-nav a:hover{background:var(--surface-soft);color:var(--ink)}.board-nav .active,.board-nav .active:hover{background:var(--green-soft);color:var(--green)}
@media(max-width:850px){.board-nav{margin-left:0;padding-left:0;border-left:0;gap:2px}.board-brand{font-size:18px;letter-spacing:2px}.board-brand::before{width:28px;height:28px;font-size:15px}}@media(max-width:500px){.board-nav{width:100%;justify-content:space-between}}
.research-tools{display:flex;gap:8px;align-items:center}.research-tools select{max-width:260px}
.research-tools select,.settings-row input,.settings-row select{padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font:inherit}
.research-tools .button{min-height:35px}.research-dashboard{padding-top:18px}.run-settings{margin:0 0 14px;padding:0 16px}.run-settings>summary{padding:12px 0;cursor:pointer;color:var(--muted);font-size:12px}
.settings-row{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:14px 0}.settings-row label{display:grid;gap:5px;color:var(--muted);font-size:11px}.settings-row input{max-width:210px}.settings-row .button.primary{min-height:38px;font-size:12px}
.job-row{display:flex;gap:12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.job-row small{overflow-wrap:anywhere;color:var(--muted)}
.notice-banner{margin:0 0 14px;padding:12px 16px;background:var(--green-soft);border:1px solid #c8e4d8;border-radius:10px;color:var(--green);font-size:12px}
.filter-card h2{font-size:22px;margin:0}.search-field{min-width:280px}.search-submit{border:0;background:none;color:var(--green);font-size:12px;white-space:nowrap}
.workspace-grid{grid-template-columns:clamp(280px,23vw,350px) minmax(0,1fr)}.trade-panel{top:18px}.trade-list{max-height:calc(100vh - 160px)}
.trade-card-meta{font-size:10px;gap:4px}.trade-card-result>strong{font-size:12px}.trade-card-main strong{font-size:21px}
.detail-metrics{clear:both;margin-top:20px;display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:10px;overflow-x:auto}.detail-metrics article{min-width:0;min-height:96px;padding:15px 13px;background:#f8faf7;border:1px solid #e4ebe4;border-radius:11px}.detail-metrics strong{white-space:nowrap;font-size:clamp(13px,1.05vw,18px);line-height:1.5;margin-top:10px;font-variant-numeric:tabular-nums}
.chart-layout{min-height:430px}.market-chart{min-width:720px}
.price-level.level-planned-entry{color:var(--blue)}.price-level.level-breakeven{color:#ac7900}
.execution-grid{grid-template-columns:minmax(0,1.25fr) minmax(290px,.85fr)}.entry-record-identity{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.entry-record-identity time{font-size:9px;white-space:nowrap}.entry-record-field strong{font-size:10px}.entry-record-primary strong{font-size:16px}.entry-after-fill span{font-size:9px}
.take-profit-card-grid{display:grid;grid-template-columns:repeat(1000,minmax(0,1fr));gap:0;padding:5px;min-height:0}.tp-card{margin:3px;min-width:0;min-height:100px;overflow-wrap:anywhere}.action-index{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--green);font-size:12px;font-weight:700}
.exit-action-list article{grid-template-columns:24px minmax(65px,1fr) minmax(80px,1fr) minmax(60px,.7fr);gap:7px}.exit-action-list strong{font-size:11px}.risk-action-copy>span{line-height:1.6}.risk-action-price{min-width:65px}.risk-action-price strong{font-size:15px}
.message-text,.embed{white-space:pre-wrap;line-height:1.8;font-size:13px}.message-text{margin:14px 0}.embed{border-left:3px solid #86bfa9;border-radius:0 8px 8px 0;background:#f7faf8;padding:12px 16px;margin:10px 0}.embed p{margin:5px 0}
.history-list{display:grid;gap:10px}.history-card{padding:15px;background:white;border:1px solid var(--line);border-radius:11px}.history-card>header{display:flex;justify-content:space-between;gap:15px;font-size:13px}.history-card time{color:var(--muted);font-size:11px}.history-card p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.history-card summary{font-size:12px;color:var(--muted);cursor:pointer}
pre{padding:14px;background:#f0f4f1;border-radius:8px;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}td,th{padding:10px;border-bottom:1px solid var(--line);text-align:left}.button:disabled{cursor:default;opacity:.45}
@media(max-width:1120px){.workspace-grid{grid-template-columns:270px minmax(0,1fr)}.execution-grid{grid-template-columns:1fr;grid-template-areas:'entry' 'side' 'take-profit'}}
@media(max-width:850px){.workspace-grid{grid-template-columns:1fr}.trade-panel{position:static}.trade-list{max-height:340px;grid-template-columns:repeat(2,minmax(0,1fr))}.research-topbar{flex-wrap:wrap;gap:12px}.research-tools{flex-wrap:wrap}.filter-card .section-heading{align-items:stretch}.search-field{min-width:0}.detail-verdict{float:right;margin-top:-47px}.take-profit-card-grid{min-width:0}}
@media(max-width:600px){.research-dashboard{padding:14px 10px}.research-topbar{padding:10px 14px}.research-topbar h1{font-size:18px}.research-tools{width:100%}.research-tools select{flex:1;max-width:none}.trade-list{grid-template-columns:1fr}.detail-metrics article{min-width:0}.detail-verdict{float:none;align-items:flex-start;margin:12px 0 0 60px}.history-card>header{flex-wrap:wrap}.job-row{flex-wrap:wrap}.settings-row input{max-width:100%}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-record-head{font-size:8px}.entry-record-primary strong{font-size:13px}.entry-record-card{padding:7px 5px;gap:3px}.entry-record-field{padding-left:3px}.entry-record-field strong{font-size:9px}.entry-record-primary strong{font-size:13px}.entry-record-identity time{font-size:8px}.actual-entry-column .entry-record-head,.entry-record-card.actual{grid-template-columns:1.2fr .9fr .6fr .7fr 1fr}.tabs>button{padding:0 9px;font-size:12px}.inner-card{padding:10px}}
.message-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:14px 0}.message-images a{display:block;min-width:0}.message-images img{display:block;width:100%;max-height:480px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}

.automatic-protection-label{display:block;color:#946713;font-size:10px;margin:4px 0}

/* Keep execution and source evidence visible together during review. */
.audit-layout{min-width:0}.audit-layout.with-evidence{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:14px;align-items:start}.evidence-panel{min-width:0;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;padding:14px}.evidence-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px}.evidence-panel .message-list{padding:0}.evidence-panel .message-card{padding:12px}.parsed-actions{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.parsed-actions h4{font-size:12px;margin:0 0 10px;color:var(--green)}.parsed-action{padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fbf9;margin-top:8px}.parsed-action>header{display:flex;justify-content:space-between;gap:10px;font-size:12px}.parsed-action>header small{color:var(--muted);white-space:nowrap}.parsed-fields{margin:10px 0;font-size:12px}.parsed-fields>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;margin:7px 0}.parsed-fields dt{color:var(--muted)}.parsed-fields dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.parsed-result,.history-purpose{font-size:11px;color:var(--muted);line-height:1.7}.parsed-action details{font-size:11px}.parsed-action pre{white-space:pre-wrap;overflow-wrap:anywhere}.with-evidence .execution-grid{grid-template-columns:1fr;grid-template-areas:'entry' 'side' 'take-profit'}.with-evidence .tabs{flex-wrap:wrap}.comparing{grid-template-columns:240px minmax(0,1fr)}
@media(max-width:1200px){.comparing{grid-template-columns:1fr}.comparing>.trade-panel{position:static}.comparing .trade-list{max-height:220px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.audit-layout.with-evidence{grid-template-columns:1fr}.evidence-panel{position:static;max-height:65vh}.comparing .trade-list{grid-template-columns:repeat(2,minmax(0,1fr))}.parsed-fields>div{grid-template-columns:75px minmax(0,1fr)}}

.audit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:13px}.audit-toolbar button{border:1px solid var(--line);border-radius:7px;padding:9px 12px;background:#eff8f3;color:var(--green);cursor:pointer;font-weight:600}.audit-toolbar button.active{background:#dcefe5}

.entry-column{overflow-x:auto}.entry-record-head,.entry-record-card{min-width:480px}.actual-entry-column .entry-record-head,.entry-record-card.actual{grid-template-columns:minmax(150px,1.5fr) .8fr .65fr .7fr 1fr}.planned-entry-column .entry-record-head,.planned-entry-column .entry-record-card{grid-template-columns:minmax(150px,1.5fr) .8fr .65fr 1fr}

.image-preview-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.image-preview-dialog{border:0;border-radius:12px;padding:44px 16px 16px;background:#142524;max-width:96vw;max-height:94vh;overflow:auto;box-shadow:0 12px 60px #0008}
.image-preview-dialog::backdrop{background:rgba(0,0,0,.72)}
.image-preview-dialog>img{display:block;max-width:calc(96vw - 32px);max-height:calc(94vh - 60px);object-fit:contain;margin:auto}
.image-preview-close{position:absolute;right:8px;top:4px;background:transparent;border:0;color:white;font-size:30px;cursor:pointer;width:38px;height:36px}

.price-level.level-entry-average .price-level-line{stroke-dasharray:none;stroke-width:2;opacity:.95}

.chart-card .chart-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px}
@media(max-width:600px){.chart-card .chart-header{padding:14px}}

.conditional-exit-card{padding:16px;border:1px solid var(--line,#dbe5df);border-radius:10px;background:var(--soft,#f6f9f7);margin-top:12px}.conditional-exit-card p{margin:8px 0;color:var(--muted,#6d8079)}
.protection-toggle{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink);white-space:nowrap;cursor:pointer}.protection-badge{margin-left:6px;padding:1px 6px;border-radius:999px;background:#e6f4ef;color:#0b6b59;font-size:11px;font-weight:600;white-space:nowrap}
.allocation-badge{background:#eef0fb;color:#3a4aa0}.allocation-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 14px;padding:12px 16px;font-size:13px;color:var(--muted)}.allocation-note strong{color:var(--ink)}.allocation-flag{padding:1px 8px;border-radius:999px;background:#fff4e0;color:#946713;font-size:11px;font-weight:600}
.protection-compare{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;color:var(--muted)}.variant-switch{display:inline-flex;border:1px solid var(--line);border-radius:8px;padding:3px;gap:3px;background:white}.variant-switch button{background:transparent;color:var(--muted);border:0;border-radius:5px;padding:6px 12px;font-size:12px;cursor:pointer}.variant-switch button.active{background:#087f6b;color:white}

community-invite{display:contents}
.community-invite{position:relative;margin-left:auto;--invite-bg:#0b382e}
.community-invite summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 18px 6px;border-radius:12px;background:linear-gradient(135deg,#0f4a3d,#0b382e 60%,#082a23);color:#fff;box-shadow:0 1px 0 #ffffff1a inset,0 4px 14px #0b382e33;transition:transform .15s,box-shadow .15s}
.community-invite summary::-webkit-details-marker{display:none}
.community-invite summary:hover,.community-invite[open] summary{transform:translateY(-1px);box-shadow:0 1px 0 #ffffff26 inset,0 8px 22px #0b382e4d}
.community-invite summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.community-invite strong{font-size:14px;letter-spacing:2px;line-height:1.2}
.invite-platforms{display:flex;align-items:center;gap:6px;color:#cfe9df}
.invite-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:24px;height:20px;padding:0;border-radius:6px;background:#f4faf7;color:#17231f;box-shadow:0 1px 2px #0000001f}.invite-chip svg{width:14px;height:14px}.invite-chip b{font-size:11px;line-height:1;letter-spacing:.5px}.chip-discord{color:#5865f2}.chip-discord b,.chip-telegram b{color:#17231f}.chip-telegram{color:#229ed9;--invite-bg:#f4faf7}
.invite-feishu{background:#f4faf7 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAAAwCAMAAADTuOPqAAABWVBMVEVHcEwAAAAAAAAzcP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzcP8AAAAAAAAAAAA4cP8AAAAA17cA1rkAAAAycP8Az78QQJ8wcP8UPJsA368A1roA1rkTPZwgQJ8TPZoAAAA0cP8AAAA0cP80cP8A1bkAAAAzcP8A1LgwcP8zcP81cP8VOpoA1roA17cTPJsycP8ycP8TPJoA1bo0cP80cP8zcP81cP8zcP8QOpoTPZwXQqUUPJoSPJkOXqEA1boA1rsTPJoA1rkzcP8SO5kzcP8A1rsAAAATPZoA2roA1rYSPZsSPJoA1bcA1rkYQJ8A17sA1boSPJsA17cA1rgoYNwtZ+w1cP8xbfg0cP8AAAATPJozcP8A1rkDw7UXQ6cRUJ4SRpwvavIvafIhU8YbSbMOY6InXdkZRq0EubMFr7ErY+YdTLkKf6gQWaACzLcfUMAtZuwxbfiNBknVAAAAc3RSTlMAgJ/fQCDv379gfxDvkDDPIHAg36BgECAgQBDv758Q31DPr0CAgI+/kBCgMDC/QL9wf+/PcL+Qn1AwUJDPgJCfr69Qr3Cfj19gMHCPb4DPIEAwf2BwYJ9g36//////////////////////////////////4mOcpwAAA7JJREFUWIXF2Plf0zAUAPDs6NqxbnXIEES3cQjIqSiH933ft64BVEBUvP//H2ybhqXre0lapnu/sI2m+X5e8pKmhPAYXMdj5PZR0tvoPyzhXekxjvRflehe9lpHHkl093qNI9dHUNzjXtukE+/Ev+qzL+vF5MF0x5QVW4SiqezSanlhijdpGol1ytS1wMgkw7FvmG7wTNrUwThT0aoDZwSNLOxiVKdKXVdwpBy0KqI6ZGRVqStIcaU+PVwpuE2hhPWCzbunclzVMaNRELo1nFZWvNiE86wxVRHdvBwXi0wbZ/gYUafCtbCaIOQZuBr741qfG/ainhBnmJ0dKnFeTUwdgu/7AsL9vHxtyWWxtHjziT4utIkTSYZjNZEnNIfopmO0r5/caCye18Rxm1iCVQmuVC4EDSmqm1fQXLdxRA/HbRX4KrFaA3KB/4eiuv7ItPseo7nuOYUtxClsEZxQQgxH7Vmw0UKbtvEDsF1S2cKuHLlNgaP0FNhqf9ptvAdsDaUt7IrNoyx6lQpHT0Ot+E4B2lzVhPOiGLDGmA7bICK4criIRHD0BjTxFiS242pbiCspdCJuAMTBZTGN2nQSR/IBymBdirpKXohgTprscwB1/E+GiAOHdnBk/csH0KaTuPDxp0JiOkuyyPGoRnAU2C3uIzatxJFS0Iu/9HbodHBWFEftWNUOIzatxIUPUVUS06XBxWbeQ5immThCgunEFpGMqBtLhaP0VptXf4DZNBPH8uUQURccsyqWEOwZVfzFxHA0VwvvPHcRs+kmLtzdS4IOOLp0PAnzxGYhXMirP0dp7gVNG6kEuDzZ10HHqjjOkuB83t0GbmsM6eJYRZT5t3wROhkkxVH68dcmZtt8pW1jk05x/kJwZRznxe4ObHutbws3sLz0mjguyHdGivPStx1P385b/UHl5zz0iAzijGxLB+fF7+3PEdqencTGj8g8dX13pLjI2pxX4/z87X5jwM3tPUrfJLKFe7/JCqESbhc6OP8HDVwQW1tbf/y/E8lsvEPHX0IqZgt6cIJxzQS4MBLbiME2ADNbnGSfYisdhGMHtWS2s4lt8TOgBMcvNcvsoiQ0ezyFjdcEj/jro/hSwmNK3zaarE7bkWnTCsCrLRw3a+vaVk6mtHlLMX/3YEHnQxxHhmb00pZuSHk0y5bjlOGdYsB/W4at07WckmanqYQuRW1UTptIP6LdiPEZdO4tH2xAuxNrM/HhtVdrvU2aEENrE++Wc34O7dzo6koNeTn2v+IvlferAm92dS0AAAAASUVORK5CYII=) 5px center/auto 14px no-repeat}
.invite-platforms small{font-size:11px;color:#9cc9b9;padding-left:7px;border-left:1px solid #ffffff2e}
.invite-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:250px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 32px #1f352a29;display:grid;gap:4px}
.invite-menu::before{content:"";position:absolute;inset:-10px 0 auto;height:10px}
.invite-menu a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:9px;color:var(--ink,#17231f);text-decoration:none;transition:background .15s}
.invite-menu a:hover,.invite-menu a:focus-visible{background:#f1f6f3}
.invite-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:#fff;flex:none}
.invite-icon svg{width:19px;height:19px}
.invite-discord .invite-icon{background:#5865f2;--invite-bg:#5865f2}
.invite-telegram .invite-icon{background:#229ed9;--invite-bg:#229ed9}
.invite-text{display:grid;flex:1}.invite-text b{font-size:14px}.invite-text small{font-size:12px;color:var(--muted)}
.invite-arrow{color:var(--muted);font-size:15px}
@media(max-width:850px){.community-invite summary{padding:6px 12px}}
.board-slogan{margin:0 0 0 auto;font-size:15px;font-weight:600;letter-spacing:1px;color:var(--forest);white-space:nowrap}
.board-slogan strong{color:var(--green);font-weight:800}
.board-slogan+.community-invite{margin-left:0}
@media(max-width:1000px){.board-slogan{display:none}.board-slogan+.community-invite{margin-left:auto}}
