/* Quiet homepage accents; direction colours stay separate from profit/loss. */
html[data-theme] body #journalWorkspace{
 --jr-surface:#f6faf8;--jr-text:#17352c;--jr-muted:#516b60;--jr-line:#c3d8d0;
 --jr-mint:#176e59;--jr-mint-soft:#e8f4ee;--jr-mint-line:#b4d8c9;
 --jr-purple:#715396;--jr-purple-soft:#f0ebf7;--jr-purple-line:#d3c4e5;
 --jr-blue:#3c6289;--jr-blue-soft:#edf2f8;--jr-loss:#a34761;
}
html[data-theme=dark] body #journalWorkspace{
 --jr-surface:#161d24;--jr-text:#e5edf2;--jr-muted:#a7b7c4;--jr-line:#303d47;
 --jr-mint:#86dcca;--jr-mint-soft:#17292c;--jr-mint-line:#345b57;
 --jr-purple:#c6a8e4;--jr-purple-soft:#262233;--jr-purple-line:#51405f;
 --jr-blue:#a3c5e5;--jr-blue-soft:#1b2733;--jr-loss:#e6a0b2;
}
html[data-theme] body #journalWorkspace .journalHeading{background:linear-gradient(115deg,var(--jr-mint-soft),var(--jr-surface) 62%,var(--jr-purple-soft));border-color:var(--jr-line);box-shadow:inset 0 1px #ffffff08}
html[data-theme] body #journalWorkspace .journalHeading :is(p,.eyebrow){color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .journalHeading :is(em,.eyebrow){color:var(--jr-mint)}
html[data-theme] body #journalWorkspace :is(.stats>div,.journalPanel,.insightCard){background:var(--jr-surface);border-color:var(--jr-line);box-shadow:inset 0 1px #ffffff07}
html[data-theme] body #journalWorkspace .stats>div:first-child{background:linear-gradient(135deg,var(--jr-blue-soft),var(--jr-surface))}
html[data-theme] body #journalWorkspace .stats>div:nth-child(2),html[data-theme] body #journalWorkspace .stats>div:nth-child(3){background:linear-gradient(135deg,var(--jr-mint-soft),var(--jr-surface))}
html[data-theme] body #journalWorkspace .stats>div:nth-child(4){background:linear-gradient(135deg,var(--jr-purple-soft),var(--jr-surface))}
html[data-theme] body #journalWorkspace .stats span{color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .stats strong{color:var(--jr-text)}
html[data-theme] body #journalWorkspace .stats>div:first-child strong{color:var(--jr-blue)}
html[data-theme] body #journalWorkspace .stats>div:nth-child(3) strong{color:var(--jr-mint)}
html[data-theme] body #journalWorkspace .stats>div:nth-child(4) strong{color:var(--jr-purple)}
html[data-theme] body #journalWorkspace .tradeRow{background:var(--jr-surface);border-color:var(--jr-line);border-radius:12px}
html[data-theme] body #journalWorkspace .tradeRow[data-side=Long]{background:var(--jr-mint-soft);border-color:var(--jr-mint-line)}
html[data-theme] body #journalWorkspace .tradeRow[data-side=Short]{background:var(--jr-purple-soft);border-color:var(--jr-purple-line)}
html[data-theme] body #journalWorkspace .tradeRow strong{color:var(--jr-text)}
html[data-theme] body #journalWorkspace :is(.tradeRow small,.tradeNote,.tradeNote p){color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .tradeSide{display:inline-flex;align-items:center;gap:7px;margin-top:5px;font-size:12px;font-weight:600;color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .tradeSide:before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:currentColor}
html[data-theme] body #journalWorkspace .tradeRow[data-side=Long] .tradeSide{color:var(--jr-mint)}
html[data-theme] body #journalWorkspace .tradeRow[data-side=Short] .tradeSide{color:var(--jr-purple)}
html[data-theme] body #journalWorkspace .directionResult[data-side=Long]{background:var(--jr-mint-soft);border-color:var(--jr-mint-line)}
html[data-theme] body #journalWorkspace .directionResult[data-side=Short]{background:var(--jr-purple-soft);border-color:var(--jr-purple-line)}
html[data-theme] body #journalWorkspace .directionResult[data-side=Long]>strong{color:var(--jr-mint)}
html[data-theme] body #journalWorkspace .directionResult[data-side=Short]>strong{color:var(--jr-purple)}
html[data-theme] body #journalWorkspace .directionResult :is(p,small){color:var(--jr-muted)}
html[data-theme] body #journalWorkspace :is(.insightGuide,.personalReview){background:linear-gradient(125deg,var(--jr-mint-soft),var(--jr-surface) 70%);border-color:var(--jr-mint-line)}
html[data-theme] body #journalWorkspace .insightCard h3{color:var(--jr-text)}
html[data-theme] body #journalWorkspace .insightCard>p{color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .insightCard .insightTip{background:var(--jr-mint-soft);border-color:var(--jr-mint-line);border-left:3px solid var(--jr-mint-line);color:var(--jr-text)}
html[data-theme] body #journalWorkspace :is(.insightTipLabel,.insightExpandable>summary:after){color:var(--jr-mint)}
html[data-theme] body #journalWorkspace .positive{color:var(--jr-mint)!important}
html[data-theme] body #journalWorkspace .negative{color:var(--jr-loss)!important}
html[data-theme] body #journalWorkspace :is(.primary,button[aria-pressed=true]){background:#3ff5c4!important;color:#09271d!important;border-color:#3ff5c4!important}
html[data-theme] body #journalWorkspace :is(.primary,button[aria-pressed=true]):hover:not(:disabled){background:#71f7d3!important;color:#09271d!important}
/* Compact review: one action first, deeper analysis on demand. */
html[data-theme] body #journalWorkspace .insightsHeading{max-width:none;margin-bottom:14px}
html[data-theme] body #journalWorkspace .insightsHeading h2{font-size:22px}
html[data-theme] body #journalWorkspace .insightsHeading>p{font-size:13px;margin:6px 0 0}
html[data-theme] body #journalWorkspace .insightsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
html[data-theme] body #journalWorkspace .insightCard{padding:15px 17px;border-radius:12px;min-width:0}
html[data-theme] body #journalWorkspace .insightCard>summary{min-height:26px;gap:12px;flex-wrap:wrap}
html[data-theme] body #journalWorkspace .insightCard>summary h3{font-size:15px;letter-spacing:-.02em;flex:1;min-width:120px;line-height:1.5}
html[data-theme] body #journalWorkspace .insightCard>summary:after{font-size:20px;line-height:1;order:3}
html[data-theme] body #journalWorkspace .insightCard[open]>summary{margin-bottom:12px}
html[data-theme] body #journalWorkspace .insightCard .insightEvidence{font-size:13px;line-height:1.6;margin:0 0 12px}
html[data-theme] body #journalWorkspace .personalReview:not([open]){background:var(--jr-surface);border-color:var(--jr-line)}
html[data-theme] body #journalWorkspace .reviewPriorityLabel{font-size:10px;font-weight:700;letter-spacing:.08em;background:var(--jr-mint-soft);color:var(--jr-mint);padding:4px 7px;border-radius:5px}
html[data-theme] body #journalWorkspace .insightCard .insightTip{font-size:13px;line-height:1.6;padding:10px 12px!important;margin:10px 0 0!important;border-radius:8px;border-width:0 0 0 3px}
html[data-theme] body #journalWorkspace .insightTipLabel{font-size:10px;margin-bottom:4px}
html[data-theme] body #journalWorkspace .reviewExamples{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}
html[data-theme] body #journalWorkspace .reviewExamples>small{flex-basis:100%;font-size:11px;color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .reviewExamples button{font-size:12px;min-height:36px;padding:7px 10px}
html[data-theme] body #journalWorkspace .directionComparison{gap:10px;margin:0}
html[data-theme] body #journalWorkspace .directionResult{padding:13px 15px;border-radius:9px}
html[data-theme] body #journalWorkspace .directionResult>strong{font-size:14px}
html[data-theme] body #journalWorkspace .directionAverage{display:block;font-size:23px;font-weight:600;letter-spacing:-.035em;color:var(--jr-text);margin:6px 0 2px;font-variant-numeric:tabular-nums}
html[data-theme] body #journalWorkspace .directionResult>small{font-size:11px}
html[data-theme] body #journalWorkspace .directionResult>p{font-size:12px;margin:8px 0 0}
html[data-theme] body #journalWorkspace :is(.reviewExplanation,.reviewBasis){font-size:12px;color:var(--jr-muted);margin-top:12px}
html[data-theme] body #journalWorkspace :is(.reviewExplanation,.reviewBasis)>summary{cursor:pointer;min-height:30px;padding:5px 0;color:var(--jr-muted)}
html[data-theme] body #journalWorkspace :is(.reviewExplanation,.reviewBasis) p{font-size:12px;line-height:1.7;margin:7px 0 0;color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .insightGuide{grid-column:auto;background:var(--jr-surface)}
html[data-theme] body #journalWorkspace .reviewCount{font-size:11px;color:var(--jr-muted)}
html[data-theme] body #journalWorkspace .reviewMarketTableWrap{width:100%;overflow-x:auto;margin:12px 0}
html[data-theme] body #journalWorkspace .reviewMarketTable{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
html[data-theme] body #journalWorkspace .reviewMarketTable :is(th,td){text-align:right;padding:9px 7px;border-bottom:1px solid var(--jr-line);white-space:nowrap}
html[data-theme] body #journalWorkspace .reviewMarketTable th{font-size:11px;color:var(--jr-muted);font-weight:500}
html[data-theme] body #journalWorkspace .reviewMarketTable :is(th,td):first-child{text-align:left;padding-left:0;color:var(--jr-text)}
html[data-theme] body #journalWorkspace .reviewSmallSample{display:block;font-size:10px;color:var(--jr-muted);font-weight:400}
@media(max-width:700px){html[data-theme] body #journalWorkspace .insightsGrid{grid-template-columns:1fr}html[data-theme] body #journalWorkspace .insightCard{padding:13px;border-radius:11px}html[data-theme] body #journalWorkspace .insightCard>summary h3{font-size:14px}html[data-theme] body #journalWorkspace .directionComparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html[data-theme] body #journalWorkspace .directionResult{padding:10px;min-width:0}html[data-theme] body #journalWorkspace .directionAverage{font-size:19px;overflow-wrap:anywhere}html[data-theme] body #journalWorkspace .reviewExamples button{min-height:44px}html[data-theme] body #journalWorkspace .reviewMarketTable :is(th,td){padding:9px 5px}}
