@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  color-scheme: dark;
  --bg: #070910;
  --panel: #101522;
  --panel-2: #141a2a;
  --line: rgba(173, 190, 225, 0.13);
  --text: #f3f6ff;
  --muted: #8290a8;
  --lime: #68e6b1;
  --lime-soft: rgba(104, 230, 177, 0.11);
  --cyan: #65c7ff;
  --violet: #9c7dff;
  --pink: #ff79b7;
  --red: #ff7185;
  --gold: #f2be6b;
  --sidebar: 238px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Manrope", Arial, sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.landing { min-height: 100vh; overflow: hidden; background: #030404; padding: 24px 4.5vw 16px; display: flex; flex-direction: column; }
.public-nav, .public-footer-row, .featured-trade-head { display: flex; justify-content: space-between; align-items: center; color: rgba(242,247,244,.52); font: 500 9px/1 "DM Mono", monospace; letter-spacing: .18em; }
.public-nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.public-nav > :last-child { justify-self: end; }
.public-wordmark { color: #f2f7f4; font-weight: 700; }
.public-tabs { display: flex; justify-content: flex-end; gap: 18px; }
.public-tab { color: rgba(242,247,244,.46); border: 0; background: transparent; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .18em; padding: 4px 0; transition: .18s; }
.public-tab:hover, .public-tab.active { color: #f2f7f4; text-shadow: 0 0 18px rgba(242,247,244,.18); }
.public-masthead { max-width: 820px; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.7vw, 26px); text-align: center; }
.public-site-title { color: rgba(248,249,247,.94); font: 500 clamp(23px, 2.1vw, 34px)/1 "Playfair Display", Georgia, serif; letter-spacing: -.035em; margin: 0; text-shadow: 0 0 11px rgba(231,245,238,.20), 0 0 28px rgba(186,247,131,.10); }
.title-rabbit { width: auto; height: clamp(58px, 5.25vw, 85px); object-fit: contain; opacity: .92; filter: drop-shadow(0 0 18px rgba(255,255,255,.16)); }
.title-rabbit-left { transform: translateY(2px); }
.title-rabbit-right { transform: translateY(2px); }
.public-tagline { width: min(920px, 80vw); color: rgba(242,247,244,.68); font: 500 clamp(12px, .95vw, 15px)/1.55 "DM Mono", monospace; letter-spacing: .055em; text-align: center; margin: 20px auto 0; }
.public-layout { width: min(1400px, 100%); margin: 0 auto; padding: 30px 0 24px; }
.public-page { display: none; }
.public-page.active { display: block; }
.public-heatmap { margin: 0 0 24px; }
.public-heatmap-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 12px; }
.public-heatmap-head .public-overline { margin: 0; }
.heatmap-scale { display: grid; gap: 7px; color: rgba(242,247,244,.48); font: 500 9px/1 "DM Mono", monospace; letter-spacing: .12em; }
.heatmap-scale-row { display: grid; grid-template-columns: 44px repeat(5, 14px) 52px; align-items: center; justify-content: end; gap: 6px; }
.heatmap-loss-row { color: rgba(255,113,133,.82); }
.heatmap-scale-row span:first-child { justify-self: end; }
.heatmap-loss-row i { grid-column: 2; }
.heatmap-scale i { display: block; box-sizing: border-box; width: 14px; min-width: 14px; max-width: 14px; height: 14px; min-height: 14px; max-height: 14px; border: 1px solid rgba(242,247,244,.16); }
.heatmap-wrap { --heat-gap: 4px; --heat-cell: min(14px, calc((100vw - 180px - (51 * var(--heat-gap))) / 52)); width: min(100%, calc((52 * var(--heat-cell)) + (51 * var(--heat-gap)) + 44px)); margin: 0 auto; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; overflow: hidden; }
.heatmap-days { display: grid; grid-template-rows: repeat(6, var(--heat-cell)); gap: var(--heat-gap); color: rgba(242,247,244,.45); font: 500 9px/var(--heat-cell) "DM Mono", monospace; letter-spacing: .08em; text-align: right; margin-top: calc(13px + var(--heat-gap)); }
.heatmap-body { min-width: 0; }
.heatmap-months { display: grid; grid-template-columns: repeat(52, var(--heat-cell)); gap: var(--heat-gap); margin-bottom: var(--heat-gap); color: rgba(242,247,244,.62); font: 500 9px/13px "DM Mono", monospace; letter-spacing: .04em; }
.heatmap-months span { min-width: 34px; }
.heatmap-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, var(--heat-cell)); grid-auto-columns: var(--heat-cell); gap: var(--heat-gap); overflow: hidden; padding-bottom: 2px; }
.heat-cell { display: block; width: var(--heat-cell); height: var(--heat-cell); border: 1px solid rgba(255,255,255,.58); box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.heat-cell.has-trade-image { outline: 1px solid rgba(186,247,131,.85); outline-offset: 1px; cursor: pointer; }
.heat-l0 { background: #000; }
.heat-l1 { background: #414141; }
.heat-l2 { background: #7b7b7b; }
.heat-l3 { background: #bcbcbc; }
.heat-l4 { background: #fff; }
.heat-loss { background: #ff4d68; }
.public-statement { width: 100%; margin: 0 auto 64px; padding: 0; color: rgba(242,247,244,.86); text-align: center; border: 0; background: transparent; box-shadow: none; }
.public-statement p { margin: 0; font: 500 clamp(12px, .95vw, 15px)/1.55 "DM Mono", monospace; letter-spacing: .055em; }
.public-statement p + p { margin-top: 21px; }
.public-signoff { color: rgba(242,247,244,.92); font: 500 clamp(12px, .95vw, 15px)/1.55 "DM Mono", monospace !important; letter-spacing: .055em; }
.public-signoff span { color: #fff; font-style: italic; }
.public-overline { color: rgba(242,247,244,.64); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .2em; margin: 0 0 22px; }
.about-portrait { width: min(430px, 76vw); margin: -22px auto 54px; }
.about-portrait img { display: block; width: 100%; height: auto; opacity: .86; filter: grayscale(1) contrast(1.04); -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0,0,0,.82) 70%, rgba(0,0,0,.36) 86%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0,0,0,.82) 70%, rgba(0,0,0,.36) 86%, transparent 100%); }
.public-intro h1 { max-width: 980px; color: #f5f6f5; font-size: clamp(50px, 6.8vw, 104px); font-weight: 700; line-height: .96; letter-spacing: -.085em; margin: 0; }
.public-description { color: rgba(242,247,244,.56); font-size: 15px; letter-spacing: .01em; margin: 25px 0 0; }
.public-scoreboard { border-top: 1px solid rgba(242,247,244,.25); border-bottom: 1px solid rgba(242,247,244,.25); display: grid; grid-template-columns: repeat(3, 1fr); }
.public-metric { min-height: 116px; border-right: 1px solid rgba(242,247,244,.18); display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; }
.public-metric:last-child { border-right: 0; }
.public-metric span, .featured-trade-head { color: rgba(242,247,244,.51); font: 500 9px/1.3 "DM Mono", monospace; letter-spacing: .15em; }
.public-metric strong { color: #f5f6f5; font-size: clamp(23px, 2.5vw, 36px); font-weight: 600; letter-spacing: -.07em; margin-top: 15px; }
.public-metric small { color: rgba(242,247,244,.46); font: 500 10px/1.2 "DM Mono", monospace; letter-spacing: .03em; margin-top: 8px; }
.featured-trade { margin: 30px 0 0; }
.featured-trade-head { border-bottom: 1px solid rgba(242,247,244,.25); font-size: 10px; padding-bottom: 11px; }
.featured-trade-details { border-bottom: 1px solid rgba(242,247,244,.25); display: grid; grid-template-columns: repeat(6, 1fr); }
.featured-trade-details article { min-height: 72px; border-right: 1px solid rgba(242,247,244,.18); display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; }
.featured-trade-details article:last-child { border-right: 0; }
.featured-trade-details span { color: rgba(242,247,244,.45); font: 500 8px/1.2 "DM Mono", monospace; letter-spacing: .16em; }
.featured-trade-details .loss-label { color: #ff4d68; font-weight: 500; }
.featured-trade-details strong { color: rgba(242,247,244,.9); font-size: clamp(14px, 1.15vw, 19px); font-weight: 600; letter-spacing: -.04em; margin-top: 10px; }
.featured-trade-details strong.loss-red { color: #ff4d68 !important; }
.featured-trade-image { position: relative; min-height: clamp(230px, 29vh, 360px); aspect-ratio: 16 / 5.4; background: #060707; overflow: hidden; }
.featured-trade-image.has-image { min-height: 0; aspect-ratio: auto; background: transparent; }
.featured-trade-image img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; object-position: center; filter: saturate(.88) contrast(1.04); }
.featured-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; background: linear-gradient(115deg, #060707, #0a0c0b); }
.featured-empty::before, .featured-empty::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(242,247,244,.06); }
.featured-empty::before { top: 36%; }
.featured-empty::after { top: 66%; }
.featured-empty span { width: 78px; height: 1px; background: rgba(242,247,244,.42); }
.featured-empty p { color: rgba(242,247,244,.39); font: 500 9px/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.public-footer { margin-top: auto; border-top: 1px solid rgba(242,247,244,.25); padding-top: 12px; }
.public-disclosure { width: 100%; color: rgba(242,247,244,.42); font: 500 8px/1.45 "DM Mono", monospace; letter-spacing: .08em; margin: 10px 0 0; text-transform: uppercase; white-space: nowrap; }
.public-enter { color: rgba(242,247,244,.78); border: 0; background: transparent; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .2em; padding: 7px 0; transition: .2s; }
.public-enter span { color: rgba(242,247,244,.34); font-size: 8px; }
.public-enter:hover { color: #fff; letter-spacing: .26em; }
.brand { color: var(--text); display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: #0b1714; background: var(--lime); border-radius: 10px; font-size: 12px; letter-spacing: -.1em; }
.private-pill, .eyebrow, .landing-footer, .table-label { color: var(--muted); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .16em; }
.private-pill { border: 1px solid var(--line); border-radius: 100px; padding: 10px 15px; }
.landing-copy { margin: auto 0; max-width: 840px; }
.eyebrow { color: var(--lime); margin: 0 0 15px; }
.primary-button { display: inline-flex; align-items: center; gap: 18px; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--cyan), #78e6d0); color: #09131e; padding: 14px 18px; font-weight: 800; transition: .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(101,199,255,.22); }
.primary-button.compact { padding: 12px 15px; font-size: 12px; }

.app { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; background: radial-gradient(circle at 76% 0%, rgba(88,77,180,.13), transparent 31%), radial-gradient(circle at 20% 86%, rgba(38,142,155,.08), transparent 34%), #070910; }
.admin-app { display: block; background: #030404 !important; color: #f2f7f4; }
.admin-workspace { grid-column: auto; width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.admin-topbar { border: 0; border-radius: 0; background: transparent; backdrop-filter: none; padding: 26px 0 16px; }
.admin-app .topbar.admin-topbar { background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.admin-page-content { padding: 34px 0 56px; }
.admin-card { max-width: 900px; margin: 0 auto; }
.admin-form { display: grid; gap: 18px; }
.public-admin-card { border: 1px solid rgba(242,247,244,.30); border-radius: 0; background: #030404; box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 34px 90px rgba(255,255,255,.035); }
.public-admin-card::before { display: none; }
.admin-app .card,
.admin-app .metric,
.admin-app .admin-card,
.admin-app .public-admin-card {
  color: #f2f7f4 !important;
  background: #030404 !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.admin-app .public-admin-card { padding: 32px 34px !important; }
.admin-app .card::before,
.admin-app .metric::after,
.admin-app .public-admin-card::before {
  display: none !important;
}
.admin-app .card-header h3,
.admin-app .topbar h2 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.04em;
}
.admin-app .eyebrow,
.admin-app .table-label {
  color: rgba(255,255,255,.72);
}
.admin-drop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.admin-dropzone { min-height: 110px; display: grid; place-items: center; margin: 20px 0 0; color: rgba(242,247,244,.72); border: 1px dashed rgba(255,255,255,.62); background: radial-gradient(circle at center, rgba(255,255,255,.055), transparent 60%); }
.admin-dropzone strong { display: block; color: #fff; font: 500 24px/1.1 "Playfair Display", Georgia, serif; letter-spacing: -.03em; margin-bottom: 12px; text-shadow: 0 0 24px rgba(255,255,255,.16); }
.admin-dropzone span { display: block; color: rgba(242,247,244,.48); font: 500 9px/1.4 "DM Mono", monospace; letter-spacing: .10em; text-transform: uppercase; }
.admin-dropzone.dragging { border-color: #fff; background: radial-gradient(circle at center, rgba(255,255,255,.13), rgba(255,255,255,.02) 66%); color: #fff; }
.admin-load-actions { justify-content: space-between; }
.admin-image-preview { width: 100%; min-height: 0; aspect-ratio: 1475 / 914; display: block; color: rgba(242,247,244,.42); border: 1px solid rgba(242,247,244,.22); background: #050505; overflow: hidden; }
.admin-image-preview.has-image { width: 100%; min-height: 0 !important; height: auto !important; max-height: none !important; aspect-ratio: 1475 / 914 !important; background: #050505; overflow: hidden !important; }
.admin-image-preview.hidden { display: none !important; }
.admin-image-preview img { display: block; width: 100%; max-width: 100%; height: 100% !important; max-height: none !important; object-fit: contain; object-position: center; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: linear-gradient(180deg, rgba(15,19,33,.98), rgba(8,11,19,.98)); border-right: 1px solid rgba(173,190,225,.12); padding: 24px 16px; display: flex; flex-direction: column; box-shadow: 14px 0 45px rgba(0,0,0,.18); }
.sidebar-brand { padding: 0 8px 34px; }
.sidebar-brand .brand-mark { color: #0c1120; background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 24px rgba(101,199,255,.24); }
.sidebar-brand span:last-child { color: #eaf0ff; }
.sidebar-nav { display: grid; gap: 3px; }
.nav-item { width: 100%; display: flex; gap: 12px; align-items: center; border: 1px solid transparent; border-radius: 8px; color: #8491a8; background: transparent; padding: 11px 12px; text-align: left; font-size: 13px; transition: .18s; }
.nav-item:hover { color: #dfe7fb; background: rgba(118,137,187,.07); }
.nav-item.active { color: #aee8ff; border-color: rgba(101,199,255,.13); background: linear-gradient(90deg, rgba(101,199,255,.13), rgba(156,125,255,.07)); box-shadow: inset 2px 0 0 var(--cyan); }
.sidebar-bottom { margin-top: auto; }
.profile { margin-top: 20px; border-top: 1px solid var(--line); padding: 18px 5px 0; display: flex; gap: 10px; align-items: center; }
.profile-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: rgba(156,125,255,.15); border: 1px solid rgba(156,125,255,.25); color: #c8baff; border-radius: 50%; font-size: 12px; }
.profile small, .profile strong { display: block; font-size: 11px; }
.profile small { color: var(--muted); padding-top: 3px; }
.workspace { grid-column: 2; min-width: 0; }
.topbar { min-height: 91px; border-bottom: 1px solid rgba(173,190,225,.11); padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; background: rgba(8,11,19,.42); backdrop-filter: blur(16px); }
.topbar h2 { margin: 0; font-size: 24px; letter-spacing: -.06em; }
.topbar-actions, .select-wrap { display: flex; align-items: center; gap: 10px; }
.select-wrap span { color: var(--muted); font-size: 11px; }
select, input, textarea { color: var(--text); background: rgba(18,25,42,.92); border: 1px solid rgba(173,190,225,.15); border-radius: 7px; padding: 10px 11px; outline: none; transition: .18s; }
select:focus, input:focus, textarea:focus { border-color: rgba(101,199,255,.55); box-shadow: 0 0 0 3px rgba(101,199,255,.08); }
textarea { resize: vertical; min-height: 100px; width: 100%; }
.page-content { padding: 24px 30px 42px; }
.grid { display: grid; gap: 14px; }
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.two-col { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); margin-top: 14px; }
.metric, .card { position: relative; border: 1px solid rgba(173,190,225,.14); background: linear-gradient(145deg, rgba(19,25,42,.95), rgba(10,14,25,.94)); border-radius: 11px; box-shadow: 0 16px 34px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025); }
.metric { padding: 17px; min-height: 112px; overflow: hidden; }
.metric::after { content: ""; position: absolute; width: 92px; height: 92px; right: -35px; top: -46px; border-radius: 50%; background: rgba(101,199,255,.20); filter: blur(28px); }
.metric:nth-child(2)::after { background: rgba(156,125,255,.28); }
.metric:nth-child(3)::after { background: rgba(242,190,107,.25); }
.metric:nth-child(4)::after { background: rgba(255,113,133,.23); }
.metric:nth-child(5)::after { background: rgba(255,121,183,.21); }
.metric p, .section-label { color: var(--muted); font: 10px "DM Mono", monospace; letter-spacing: .14em; margin: 0; }
.metric strong { display: block; font-size: 22px; margin: 16px 0 8px; letter-spacing: -.06em; }
.metric small, .muted { color: var(--muted); font-size: 11px; }
.positive { color: var(--lime) !important; }
.negative { color: var(--red) !important; }
.card { padding: 18px; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(101,199,255,.035), transparent 35%, rgba(156,125,255,.035)); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.card h3 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.card h3 small { color: var(--muted); font-weight: 500; margin-left: 8px; }
.chart { width: 100%; height: 180px; display: block; }
.chart-grid { stroke: rgba(173,190,225,.10); stroke-width: 1; }
.chart-line { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(101,199,255,.42)); }
.chart-area { fill: url(#chartFill); opacity: .28; }
.chart-label { fill: var(--muted); font: 10px "DM Mono", monospace; }
.progress-list { display: grid; gap: 14px; }
.progress-row { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 100px; background: rgba(255,255,255,.07); }
.progress-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(101,199,255,.42); }
.trade-table { width: 100%; border-collapse: collapse; }
.trade-table th { color: var(--muted); font: 10px "DM Mono", monospace; letter-spacing: .08em; padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.trade-table td { padding: 13px 8px; color: #bdcbc7; font-size: 12px; border-bottom: 1px solid rgba(208,235,221,.06); }
.trade-table tr:last-child td { border-bottom: 0; }
.symbol { color: var(--text); font-weight: 800; }
.tag { display: inline-block; color: #aee8ff; background: rgba(101,199,255,.11); border-radius: 100px; padding: 4px 7px; font-size: 10px; }
.tag.gold { color: var(--gold); background: rgba(231,189,115,.10); }
.tag.red { color: var(--red); background: rgba(255,120,120,.12); }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-label { color: var(--muted); font: 9px "DM Mono", monospace; padding: 4px 0; text-align: center; }
.calendar-day { min-height: 48px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; background: rgba(255,255,255,.015); }
.calendar-day.gain { color: #7ef0bf; background: linear-gradient(145deg, rgba(104,230,177,.14), rgba(101,199,255,.06)); border-color: rgba(104,230,177,.25); }
.calendar-day.loss { color: var(--red); background: linear-gradient(145deg, rgba(255,113,133,.12), rgba(255,121,183,.04)); border-color: rgba(255,113,133,.22); }
.calendar-day strong { display: block; margin-top: 7px; font-size: 10px; }
.rule-list { display: grid; gap: 10px; }
.rule { border: 1px solid var(--line); background: rgba(255,255,255,.018); border-radius: 7px; padding: 11px; display: flex; justify-content: space-between; align-items: center; color: #c2cbe0; font-size: 12px; }
.rule-status { color: var(--lime); }
.page-tools { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 14px; }
.page-tools input { min-width: 240px; }
.empty { color: var(--muted); text-align: center; padding: 34px; }
.journal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 14px; }
.journal-days { display: grid; gap: 6px; align-content: start; }
.journal-day { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(19,25,42,.95), rgba(10,14,25,.94)); color: var(--muted); padding: 12px; border-radius: 7px; text-align: left; }
.journal-day.active, .journal-day:hover { border-color: rgba(101,199,255,.42); color: #aee8ff; box-shadow: 0 0 18px rgba(101,199,255,.08); }
.journal-day strong, .journal-day small { display: block; }
.journal-day small { margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.field.full { grid-column: 1 / -1; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check { display: flex; gap: 8px; color: #bdcbc7; font-size: 12px; }
.screenshot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.screenshot-grid img { width: 112px; height: 76px; border: 1px solid var(--line); border-radius: 7px; object-fit: cover; }
.modal-backdrop { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(0,0,0,.78); padding: 20px; }
.modal { width: min(560px, 100%); background: #030404; border: 1px solid rgba(255,255,255,.35); border-radius: 0; padding: 22px; box-shadow: 0 26px 110px rgba(0,0,0,.70), 0 0 80px rgba(255,255,255,.06); }
.image-modal { width: min(1100px, 94vw); }
.image-modal img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid rgba(242,247,244,.12); border-radius: 8px; background: #050505; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: -.04em; margin: 0; }
.modal .muted { color: rgba(242,247,244,.58); }
.modal .field { color: rgba(242,247,244,.58); }
.modal input { background: #030404; border-color: rgba(255,255,255,.34); color: #fff; }
.icon-button { color: rgba(242,247,244,.64); background: transparent; border: 0; font-size: 18px; }
.dropzone { margin: 14px 0; border: 1px dashed rgba(101,199,255,.35); border-radius: 9px; padding: 28px; color: var(--muted); text-align: center; background: rgba(101,199,255,.035); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.secondary-button { border: 1px solid var(--line); color: #c2cbe0; background: rgba(255,255,255,.018); border-radius: 8px; padding: 11px 14px; }
.admin-app .secondary-button, .modal .secondary-button { border-color: rgba(255,255,255,.36); color: rgba(242,247,244,.78); background: transparent; border-radius: 0; }
.admin-app .primary-button, .modal .primary-button { color: #030404; background: #fff; border-radius: 0; box-shadow: none; }
.admin-app input { background: #030404; border-color: rgba(255,255,255,.28); color: #fff; }
.admin-app .field { color: rgba(242,247,244,.62); }
.admin-app .muted { color: rgba(242,247,244,.58); }
.toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 9; display: grid; gap: 8px; }
.toast { color: #122019; background: var(--lime); border-radius: 8px; padding: 12px 15px; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.heatmap-tooltip { position: fixed; z-index: 20; width: 236px; pointer-events: none; color: #d9dfd9; background: #070909; border: 1px solid rgba(255,255,255,.20); border-radius: 9px; padding: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.50); backdrop-filter: none; -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
.heatmap-tooltip, .heatmap-tooltip * { text-shadow: none !important; filter: none !important; box-shadow: none; }
.tooltip-date { color: #dfe5df; font: 500 13px/1.2 "DM Mono", monospace; letter-spacing: .02em; margin-bottom: 10px; }
.tooltip-row { display: flex; justify-content: space-between; color: rgba(242,247,244,.74); font: 500 11px/1.35 "DM Mono", monospace; letter-spacing: .06em; margin-top: 6px; }
.tooltip-row strong, .tooltip-row strong.positive, .tooltip-row strong.negative, .tooltip-pnl { color: #dfe5df !important; font-weight: 500; text-shadow: none !important; }
.tooltip-pnl.gain { color: #65d99f !important; }
.tooltip-pnl.loss { color: #ff7185 !important; }
.tooltip-thumb { display: block; width: 100%; max-height: 128px; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; margin-top: 11px; }
.tooltip-hint, .tooltip-empty { color: rgba(242,247,244,.72); font: 500 10px/1.45 "DM Mono", monospace; letter-spacing: .05em; margin-top: 9px; text-transform: uppercase; }

@media (max-width: 1050px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .sidebar { display: none; }
  .workspace { grid-column: 1; }
  .admin-workspace { width: calc(100% - 28px); }
  .admin-drop-grid { grid-template-columns: 1fr; }
  .topbar { padding: 18px; align-items: flex-start; gap: 14px; flex-direction: column; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .page-content { padding: 14px 14px 86px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric { padding: 13px; min-height: 98px; }
  .metric strong { font-size: 19px; }
  .journal-layout { grid-template-columns: 1fr; }
  .journal-days { display: flex; overflow-x: auto; }
  .journal-day { min-width: 150px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .page-tools { align-items: stretch; flex-direction: column; }
  .page-tools input { width: 100%; }
  .card { padding: 14px; overflow-x: auto; }
  .trade-table { min-width: 660px; }
  .landing { padding: 21px 18px 17px; }
  .public-nav { grid-template-columns: auto 1fr; gap: 10px; }
  .public-masthead { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .public-site-title { font-size: 25px; }
  .title-rabbit { height: 58px; }
  .public-wordmark, .public-tabs { grid-row: 2; margin-top: 16px; }
  .public-tabs { gap: 12px; }
  .public-tagline { width: 100%; font-size: 11px; margin-top: 22px; }
  .public-layout { padding: 58px 0 28px; }
  .public-heatmap-head { align-items: flex-start; flex-direction: column; }
  .heatmap-wrap { --heat-gap: 3px; --heat-cell: min(12px, calc((100vw - 78px - (51 * var(--heat-gap))) / 52)); grid-template-columns: 30px 1fr; margin: 0 auto; }
  .heatmap-days { margin-top: calc(12px + var(--heat-gap)); }
  .public-statement { width: min(100%, 560px); margin-bottom: 38px; text-align: center; }
  .public-statement p { font-size: 15px; line-height: 1.62; }
  .public-scoreboard { grid-template-columns: repeat(2, 1fr); }
  .public-metric { min-height: 108px; padding: 15px 11px; border-bottom: 1px solid rgba(242,247,244,.18); }
  .public-metric:nth-child(2) { border-right: 0; }
  .public-metric:nth-child(3), .public-metric:nth-child(4) { border-bottom: 0; }
  .public-metric strong { font-size: 23px; }
  .featured-trade { margin-top: 34px; }
  .featured-trade-details { grid-template-columns: repeat(2, 1fr); }
  .featured-trade-details article { min-height: 72px; padding: 12px 10px; border-bottom: 1px solid rgba(242,247,244,.18); }
  .featured-trade-details article:nth-child(2), .featured-trade-details article:nth-child(4) { border-right: 0; }
  .featured-trade-details article:nth-child(3), .featured-trade-details article:nth-child(4), .featured-trade-details article:nth-child(5) { border-bottom: 0; }
  .featured-trade-image { min-height: 175px; aspect-ratio: 16 / 8; }
  .featured-trade-image.has-image { min-height: 0; aspect-ratio: auto; }
  .public-description { font-size: 13px; }
  .public-footer-row { align-items: flex-start; gap: 12px; flex-direction: column; }
  .public-disclosure { white-space: normal; }
}
