/* The old site's orange emotion curve, translated into the quieter current design. */
.emotion-trend{margin:58px auto 0;max-width:1080px;scroll-margin-top:118px}
.emotion-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}
.emotion-heading .section-label{margin-bottom:10px;font-size:12px;letter-spacing:.025em}
.emotion-heading h3{font-size:28px;letter-spacing:-.035em;line-height:1.4}
.emotion-intro{font-size:14px;line-height:1.85;color:var(--secondary);margin-top:12px;max-width:680px}
.emotion-surface{border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) 286px;overflow:hidden}
.emotion-chart-wrap{min-width:0;padding:27px 26px 18px;align-self:center}
.emotion-plot{width:100%;height:250px;touch-action:pan-y;cursor:crosshair;border-radius:2px}
.emotion-svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.emotion-svg text{font-family:var(--font);font-size:11px;fill:#7a7e85;font-weight:400}
.emotion-svg .emotion-y-label{font-size:11px;fill:#636970}
.emotion-svg .emotion-x-label.is-selected{fill:var(--accent-ink);font-weight:550}
.emotion-grid-line{stroke:#e5e7ea;stroke-width:1;stroke-dasharray:3 4}
.emotion-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.emotion-selected-line{stroke:#aab0b6;stroke-width:1;stroke-dasharray:3 5}
.emotion-selected-halo{fill:#ff782f;fill-opacity:.12}
.emotion-selected-point{fill:#ff782f;stroke:#fff;stroke-width:2.5}
.emotion-low-point{fill:#fff;stroke:#e56c30;stroke-width:1.8}
.emotion-chart-caption{display:flex;justify-content:space-between;gap:15px;margin-top:13px;font-size:11px;color:#797e85;line-height:1.6}
.emotion-chart-caption>span:first-child{display:flex;align-items:center;gap:7px}
.emotion-chart-caption i{display:inline-block;width:16px;height:2px;background:var(--accent)}
.emotion-day-detail{border-left:1px solid #e5e7ea;padding:29px 26px;background:#fafbfc;min-width:0}
.emotion-day-top{display:flex;gap:14px;justify-content:space-between;align-items:center;font-size:12px;color:var(--secondary)}
.emotion-day-top time{font-variant-numeric:tabular-nums;font-size:16px;color:var(--ink)}
.emotion-day-context{font-size:12px;color:var(--secondary);margin-top:7px}
.emotion-state{display:inline-flex;gap:6px;align-items:center;color:#676b71;font-size:12px;white-space:nowrap}
.emotion-state:before{content:"";width:5px;height:5px;border-radius:50%;background:#909ba4}
.emotion-day-detail[data-state=low] .emotion-state{color:#b45425}
.emotion-day-detail[data-state=low] .emotion-state:before{background:var(--accent)}
.emotion-day-detail[data-state=positive] .emotion-state:before{background:#71887a}
.emotion-day-detail h4{font-size:18px;line-height:1.65;letter-spacing:-.02em;font-weight:550;margin:18px 0 10px}
.emotion-day-detail>p{font-size:13px;line-height:1.9;color:var(--secondary);margin:0;min-height:75px}
.emotion-question{border-top:1px solid #e1e4e7;padding-top:15px;margin-top:20px}
.emotion-question>span{font-size:11px;color:#848990}
.emotion-question p{font-size:13px;line-height:1.8;margin-top:7px;color:#42474d}
.emotion-footnote{display:flex;justify-content:space-between;gap:20px;margin-top:13px;color:#7a7e85;font-size:11px;line-height:1.7}
@media(max-width:1100px){.emotion-surface{grid-template-columns:minmax(0,1fr) 255px}.emotion-day-detail{padding:26px 23px}.emotion-chart-wrap{padding:24px 22px 18px}}
@media(max-width:850px){.emotion-surface{grid-template-columns:1fr}.emotion-day-detail{border-left:0;border-top:1px solid #e5e7ea;display:grid;grid-template-columns:1fr 1fr;gap:0 30px;padding:23px 25px}.emotion-day-top,.emotion-day-context{grid-column:1}.emotion-day-detail h4{grid-column:1;margin:12px 0 7px}.emotion-day-detail>p{grid-column:1;min-height:0}.emotion-question{grid-column:2;grid-row:1/5;align-self:center;margin:0;padding:9px 0 9px 28px;border-top:0;border-left:1px solid #e1e4e7}.emotion-heading h3{font-size:26px}.emotion-heading{align-items:center}}
@media(max-width:600px){.emotion-trend{margin-top:42px}.emotion-heading{display:block;margin-bottom:21px}.emotion-heading h3{font-size:24px}.emotion-intro{font-size:14px;margin-top:10px}.emotion-date{margin-top:17px;text-align:left}.emotion-chart-wrap{padding:20px 17px 16px}.emotion-plot{height:224px}.emotion-chart-caption{font-size:11px;gap:10px;flex-wrap:wrap}.emotion-day-detail{display:block;padding:21px 22px}.emotion-day-top{justify-content:flex-start;gap:20px}.emotion-day-detail h4{font-size:17px;margin-top:11px}.emotion-question{border-left:0;border-top:1px solid #e1e4e7;margin-top:15px;padding:12px 0 0}.emotion-footnote{display:block;font-size:11px}.emotion-footnote>span+span{display:none}}

.emotion-plot:focus-visible{outline:2px solid #c7774d;outline-offset:4px}

.emotion-date{text-align:right;flex-shrink:0;color:var(--secondary);font-size:12px;line-height:1.7;padding-bottom:4px}
.emotion-date time{display:block;color:var(--ink);font-size:15px;font-weight:500;margin-bottom:3px}
.emotion-rhythm{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:var(--secondary)}
.emotion-rhythm b{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums;margin-right:5px}
.emotion-rhythm>span:nth-child(2){color:#a2a6ab}
@media(max-width:600px){.emotion-date{margin-top:17px;text-align:left;display:flex;gap:10px;align-items:center;padding:0}.emotion-date time{margin:0;font-size:13px}.emotion-rhythm{gap:10px;font-size:12px}}
