/* V5 phase 1: global mode identity; all study views remain one shared data model. */
/* Neutral button base: component surfaces below override this low-specificity reset. */
:where(.free-screen,.insights-screen,.mode-switch) button{appearance:none;-webkit-appearance:none;border:0;font:inherit;color:inherit;background:transparent}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mode-switch{display:flex;align-items:center;gap:4px;margin-left:auto;padding:5px;border:1px solid var(--accent-strong);border-radius:99px;background:var(--glass);box-shadow:inset 0 1px 0 #ffffff08}
.mode-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 17px;background:transparent;color:var(--muted);border-radius:99px;font-size:12px;font-weight:650;letter-spacing:.04em;transition:background .18s,color .18s,box-shadow .18s}
.mode-switch button[aria-pressed="true"]{background:var(--green);color:var(--ink);box-shadow:0 3px 14px #0003}
.mode-switch button:hover{color:var(--text)}.mode-switch button[aria-pressed="true"]:hover{color:var(--ink)}
[data-modes][hidden]{display:none!important}
body[data-study-mode="free"]{--bg:#0a1717;--surface:#122423;--surface-2:#17302d;--glass:rgba(13,34,32,.8);--raised:#1a3833;--line:#29453f;--accent:rgba(94,234,212,.18);--accent-strong:rgba(94,234,212,.35);--text:#eef7f4;--muted:#a2bbb3;--green:#6ce5ca;--ink:#082b25;background-color:var(--bg);background-image:radial-gradient(ellipse at 80% 5%,#16443a66,transparent 55%),radial-gradient(ellipse at 0 65%,#16423c33,transparent 60%)}
body[data-study-mode="free"] .sidebar{background-color:#0d201ddd;background-image:radial-gradient(220px 160px at 50% 0%,#5eead411,transparent 70%);border-color:var(--accent)}
body[data-study-mode="free"] .sidebar nav .active{background:#5eead414;border-color:var(--accent-strong)}
body[data-study-mode="free"] #quick-nav .active{background:#5eead414;border-color:var(--accent-strong)}
body[data-study-mode="free"] .brand-mark{background:var(--green);box-shadow:0 4px 30px #5eead416}
body[data-study-mode="free"] #ambient{color:var(--green);opacity:.4}
body[data-study-mode="free"] footer,body[data-study-mode="free"] .about,body[data-study-mode="free"] .history-card{background-color:var(--glass);border-color:var(--line)}
body[data-study-mode="free"] .hist-chapter::before,body[data-study-mode="free"] .hist-node{border-color:var(--accent-strong)}
.free-screen{--free-line:rgba(123,208,184,.16);--free-accent:var(--green)}
.free-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.3fr 1fr;gap:10px;padding:clamp(26px,4vw,48px);border:1px solid var(--accent);border-radius:28px;background:radial-gradient(ellipse at 85% 20%,#2e867a33,transparent 60%),linear-gradient(140deg,#16383188,#11292155);box-shadow:0 24px 64px #0003,inset 0 1px 0 #ffffff09;overflow:hidden}
.free-hero .eyebrow,.free-section .eyebrow,.free-intro .eyebrow,.free-subject-header .eyebrow,.free-topics .eyebrow{color:var(--green);font-size:10px;letter-spacing:.17em}
.free-hero h1{font-size:clamp(37px,4vw,58px);letter-spacing:-.055em;margin:15px 0 24px;line-height:1.1;font-weight:650}
.free-title-dot{color:var(--green)}
.free-question{font-size:clamp(23px,2.5vw,34px);line-height:1.25;letter-spacing:-.04em;font-weight:500;margin:0 0 14px}
.free-description{max-width:350px;font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:25px}
.free-continue{display:inline-flex;gap:22px;align-items:center;padding:13px 20px;border-radius:13px;box-shadow:0 6px 28px #5eead412}
.free-plan-note{font-size:11px;color:var(--muted);margin:17px 0 0;line-height:1.5}
.free-hero-art{position:relative;min-width:0;display:grid;place-items:center;min-height:300px;align-self:center}
.free-orbit{position:absolute;width:88%;aspect-ratio:1;border:1px solid #8eebd61c;border-radius:50%;transform:rotate(-25deg) scaleY(.72)}
.orbit-two{width:108%;transform:rotate(30deg) scaleY(.66)}
.free-book{display:grid;place-items:center;width:clamp(110px,14vw,160px);aspect-ratio:1;border:1px solid #91ead94d;border-radius:34px;background:linear-gradient(145deg,#85e8cf33,#234d4844);backdrop-filter:blur(10px);box-shadow:0 30px 45px #0003,inset 0 1px 0 #fff2;transform:rotate(-9deg);color:#9af1db}
.free-book svg{width:48%;height:48%}.free-spark{position:absolute;color:var(--green);font-size:28px}.spark-one{top:12%;right:10%}.spark-two{bottom:14%;left:9%;font-size:19px;color:var(--muted)}
.free-art-word{position:absolute;top:5%;left:2%;font-size:11px;letter-spacing:.1em;color:#abddcd;transform:rotate(-8deg)}.word-two{top:auto;left:auto;bottom:4%;right:0;transform:rotate(5deg)}
.free-resume{display:flex;align-items:center;gap:16px;width:100%;text-align:left;margin-top:14px;padding:18px 22px;border-radius:18px;background:var(--glass);border:1px solid var(--accent);box-shadow:inset 0 1px 0 #ffffff06}
.free-resume-icon{display:grid;place-items:center;width:42px;height:42px;background:#5eead40c;border:1px solid var(--accent);border-radius:13px;color:var(--green);font-size:22px;flex-shrink:0}
.free-resume small{display:block;color:var(--muted);font-size:9px;letter-spacing:.11em;margin-bottom:4px}.free-resume strong{font-size:14px;font-weight:550;overflow-wrap:anywhere}.free-resume strong span{color:var(--muted);font-weight:400}.free-resume-time{margin-left:auto;color:var(--green);font-size:14px;white-space:nowrap}
.free-section{margin-top:36px}.free-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.free-section-heading h2{font-size:22px;letter-spacing:-.04em;margin:7px 0 0;font-weight:550}.free-section-heading .text-button{font-size:12px;white-space:nowrap}
.free-recent-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.free-subject{display:flex;align-items:flex-start;gap:16px;text-align:left;padding:24px;border-radius:22px;border:1px solid var(--accent);background:linear-gradient(150deg,#a1f1d909,transparent 70%),var(--glass);box-shadow:0 15px 35px #0002,inset 0 1px 0 #fff1;min-width:0;position:relative;flex-wrap:wrap;transition:transform .18s,border-color .18s,background .18s}
.free-subject:hover,.free-resume:hover,.free-session:hover{border-color:var(--accent-strong);background-color:var(--raised)}.free-subject:hover{transform:translateY(-3px)}
.free-symbol{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#6dd8b611;border:1px solid #6dd8b62b;color:#9fe4c7;font-size:23px;flex-shrink:0}
[data-subject-tone="1"]{color:#d3cda0;background:#c7b98710;border-color:#c7b98730}[data-subject-tone="2"]{color:#96cce1;background:#85bacd10;border-color:#85bacd30}[data-subject-tone="3"]{color:#a5ddb0}[data-subject-tone="4"]{color:#e2b49c;background:#d89e8110;border-color:#d89e8130}[data-subject-tone="5"]{color:#acced1}[data-subject-tone="6"]{color:#c4b5da;background:#b498cc10;border-color:#b498cc30}
.free-subject-copy{flex:1;min-width:0;padding-top:2px}.free-subject-copy strong{display:block;font-size:18px;font-weight:550;letter-spacing:-.02em;overflow-wrap:anywhere}.free-subject-copy>span{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.free-subject-foot{display:flex;justify-content:space-between;gap:12px;width:100%;padding-top:20px;margin-top:2px;border-top:1px solid var(--free-line);color:var(--muted);font-size:11px}.free-subject-foot>span{color:var(--green);font-weight:550}.free-subject-foot small{font-size:11px}
.free-subject.is-compact{align-items:center;padding:18px;gap:12px;border-radius:17px;flex-wrap:nowrap}.is-compact .free-symbol{width:42px;height:42px;font-size:20px}.is-compact .free-subject-copy strong{font-size:14px}.is-compact .free-subject-copy>span{font-size:11px;margin-top:4px}.free-arrow{color:var(--muted);flex-shrink:0}
.free-session-list{border:1px solid var(--accent);border-radius:22px;background:var(--glass);padding:10px 24px;box-shadow:inset 0 1px 0 #fff1}
.free-date{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}.free-session{display:flex;align-items:center;gap:14px;width:100%;background:transparent;border:1px solid transparent;border-bottom:1px solid var(--free-line);padding:17px 0;text-align:left;border-radius:0;transition:background .18s,border-color .18s}.free-session-wrap:last-child .free-session{border-bottom:0;margin-bottom:8px}.free-session-mark{width:25px;font-size:19px;color:var(--green);flex-shrink:0}.free-session-copy{flex:1;min-width:0}.free-session-copy strong{display:block;font-size:14px;font-weight:550}.free-session-copy>span{display:block;color:var(--muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.free-session-time{font-size:14px;color:var(--text);white-space:nowrap}.free-session-time small{display:block;font-size:10px;color:var(--muted);margin-top:5px;text-align:right}
.free-empty{padding:35px 15px;text-align:center}.free-empty>span{font-size:35px;color:var(--green)}.free-empty h3{font-size:18px;font-weight:550;margin:14px 0 8px}.free-empty p{font-size:13px;color:var(--muted);line-height:1.7;max-width:400px;margin:auto}
.free-intro h1{font-size:clamp(38px,4vw,52px);margin-bottom:14px}.free-intro>p:last-child{max-width:520px;font-size:15px;line-height:1.7}.free-catalog-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:0 0 23px}.free-catalog-note>span{color:var(--green);font-size:19px}
.free-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.free-back{font-size:12px;padding-left:0;margin-bottom:26px}.free-subject-header{display:flex;gap:20px;align-items:center;margin-bottom:28px}.free-subject-header>.free-symbol{width:74px;height:74px;border-radius:23px;font-size:34px}.free-subject-header h1{margin:6px 0 0;font-size:clamp(32px,4vw,48px);letter-spacing:-.05em}
.free-subject-overview{display:grid;grid-template-columns:.8fr 1.6fr;gap:18px}.free-total,.free-soon{border:1px solid var(--accent);border-radius:22px;padding:28px;background:var(--glass)}.free-total{display:flex;flex-direction:column;justify-content:center;gap:13px}.free-total>span{font-size:12px;color:var(--muted)}.free-total strong{font-size:35px;letter-spacing:-.04em;font-weight:550;color:var(--green)}.free-total small{font-size:12px;color:var(--muted)}.free-soon{display:flex;gap:20px}.free-mini-icon{width:40px;flex-shrink:0;color:var(--green)}.free-mini-icon svg{width:100%}.free-soon h2{font-size:19px;font-weight:550;margin-bottom:8px}.free-soon p{font-size:13px;color:var(--muted);line-height:1.7}.free-soon button{opacity:.6;font-size:12px;cursor:not-allowed}
.free-topics{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px dashed var(--line);border-radius:20px;padding:25px;margin-top:20px;background:#6be5c803}.free-topics h2{font-size:17px;font-weight:500;margin:9px 0}.free-topics p:last-child{font-size:12px;color:var(--muted);line-height:1.7;max-width:440px;margin:0}.free-soon-tag{font-size:10px;white-space:nowrap;border:1px solid var(--line);border-radius:99px;padding:7px 12px;color:var(--muted)}
.free-screen{animation:free-arrive .28s ease both}@keyframes free-arrive{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1250px){.free-recent-subjects{grid-template-columns:repeat(4,minmax(0,1fr))}.free-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:699px){.topbar{gap:6px}.mode-switch{padding:3px}.mode-switch button{min-height:38px;padding:7px 12px;font-size:10px}.topbar-ic{display:none}.free-hero{grid-template-columns:1fr;padding:27px 25px;border-radius:24px}.free-hero h1{font-size:42px;margin-bottom:18px}.free-question{font-size:25px}.free-description{max-width:260px}.free-hero-art{position:absolute;right:-30px;top:45px;width:170px;min-height:190px;opacity:.26;z-index:-1}.free-book{width:85px;border-radius:24px}.free-art-word,.free-spark{display:none}.free-hero-copy{position:relative;z-index:1}.free-resume{padding:15px;gap:10px}.free-resume strong span{display:block;font-size:11px;margin-top:5px}.free-resume-time{font-size:12px}.free-resume-icon{width:34px;height:38px;font-size:18px}.free-section-heading h2{font-size:20px}.free-section-heading .eyebrow{font-size:9px}.free-section{margin-top:28px}.free-recent-subjects{gap:9px}.free-subject.is-compact{padding:14px 12px;gap:9px}.is-compact .free-symbol{width:30px;height:36px;font-size:18px}.is-compact .free-subject-copy strong{font-size:12px}.is-compact .free-subject-copy>span{font-size:10px}.is-compact .free-arrow{display:none}.free-session-list{padding:7px 16px}.free-session{gap:10px}.free-session-copy strong{font-size:13px}.free-session-copy>span{font-size:11px}.free-session-time{font-size:12px}.free-session-time small{font-size:9px}.free-session .free-arrow{display:none}.free-subject-grid{grid-template-columns:1fr;gap:12px}.free-subject{padding:22px}.free-subject-overview{grid-template-columns:1fr}.free-total{padding:24px}.free-total strong{font-size:32px}.free-soon{padding:22px;gap:16px}.free-topics{padding:22px;align-items:flex-start}.free-subject-header{gap:15px}.free-subject-header>.free-symbol{width:58px;height:58px;border-radius:18px;font-size:28px}}
@media(prefers-reduced-motion:reduce){.free-screen{animation:none}.free-subject,.free-session,.mode-switch button{transition:none}.free-subject:hover{transform:none}}
html.reduce-motion .free-screen{animation:none}html.reduce-motion .free-subject,html.reduce-motion .free-session,html.reduce-motion .mode-switch button{transition:none}html.reduce-motion .free-subject:hover{transform:none}

@media(max-width:699px){body[data-study-mode="free"] #quick-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Phase 2: derived topics and session notes; Home layout remains unchanged. */
.free-subject-header>div{min-width:0}.free-subject-header h1{overflow-wrap:anywhere}.free-last-study{color:var(--muted);font-size:12px;margin:12px 0 0}
.free-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.free-topic{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;text-align:left;border:1px solid var(--accent);border-radius:22px;padding:25px;background:linear-gradient(145deg,#6ce5ca0c,transparent),var(--glass);transition:transform .18s,border-color .18s,background .18s}.free-topic:hover{transform:translateY(-3px);border-color:var(--accent-strong);background-color:var(--raised)}.free-topic-mark{color:var(--green);font-size:26px}.free-topic strong{font-size:20px;font-weight:550;letter-spacing:-.025em;overflow-wrap:anywhere}.free-topic-duration{color:var(--green);font-size:17px}.free-topic small{font-size:11px;color:var(--muted);line-height:1.6}.free-topic-open{font-size:12px;color:var(--green);display:flex;justify-content:space-between;width:100%;border-top:1px solid var(--free-line);padding-top:15px;margin-top:auto}
.free-topic-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.free-topic-overview>div{display:flex;flex-direction:column;gap:12px;padding:23px;border-radius:18px;border:1px solid var(--accent);background:var(--glass);min-width:0}.free-topic-overview span{font-size:12px;color:var(--muted)}.free-topic-overview strong{font-size:20px;font-weight:550;overflow-wrap:anywhere;color:var(--green)}.free-topic-session{align-items:flex-start}.free-topic-session:hover{background:transparent;border-color:transparent;border-bottom-color:var(--free-line)}.free-session-note,.free-note-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:var(--muted);font-size:13px;margin:9px 0 0}.free-notes{display:grid;gap:12px}.free-note{border:1px solid var(--accent);border-radius:20px;background:var(--glass);padding:23px}.free-note .free-date{margin:0 0 12px}.free-note h3{font-size:16px;font-weight:550;overflow-wrap:anywhere}.free-note-text{margin-top:12px}.free-topic-page .free-session-copy strong{overflow-wrap:anywhere}
@media(max-width:699px){.free-topic-grid{grid-template-columns:1fr}.free-topic{padding:22px}.free-topic-overview{gap:8px;grid-template-columns:1fr 1fr}.free-topic-overview>div{padding:18px}.free-topic-overview>div:last-child{grid-column:1/-1}.free-topic-overview strong{font-size:18px}.free-subject-header h1{font-size:32px}.free-topic-session{flex-wrap:wrap}.free-topic-session .free-session-copy{flex-basis:calc(100% - 40px)}.free-topic-session .free-session-time{padding-left:35px}.free-topic-session .free-session-time small{display:inline;margin-left:12px}.free-note{padding:20px}}
@media(prefers-reduced-motion:reduce){.free-topic{transition:none}.free-topic:hover{transform:none}}html.reduce-motion .free-topic{transition:none}html.reduce-motion .free-topic:hover{transform:none}

.free-plan-note{overflow-wrap:anywhere}.free-resume>span:nth-child(2){min-width:0;flex:1}

/* Free study shares the global V4.1 timer and floating-clearance measurements. */
.free-live{padding:26px;border:1px solid var(--accent-strong);border-radius:22px;background:var(--glass);min-width:0}.free-live .eyebrow{font-size:9px;line-height:1.7;color:var(--green)}.free-live h2{font-size:18px;overflow-wrap:anywhere}.free-live h2>span{font-weight:400;color:var(--muted)}.free-live-clock{display:flex;align-items:baseline;gap:14px;margin:22px 0}.free-live-clock strong{color:var(--green);font-size:clamp(28px,4vw,38px);font-variant-numeric:tabular-nums;letter-spacing:-.04em}.free-live-clock>span{font-size:11px;color:var(--muted)}.free-live-controls,.free-note-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.free-live button{min-height:44px;font-size:12px}.free-notes-label{display:block;font-size:12px;color:var(--muted);margin:24px 0 10px}.free-live textarea{width:100%;min-width:0;resize:vertical;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);padding:14px;line-height:1.7;font-family:inherit;font-size:13px}.free-note-actions{margin-top:12px;justify-content:space-between}.free-note-actions label{font-size:11px;display:flex;align-items:center;gap:8px}.free-note-error{font-size:12px;color:#f0b9a8;line-height:1.7}.free-note-conflict{border:1px solid var(--line);border-radius:12px;padding:15px;margin-top:12px}.free-note-conflict h3{font-size:14px}.free-now{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px;border:1px solid var(--accent-strong);border-radius:20px;margin-top:14px;background:var(--glass)}.free-now>div{min-width:0}.free-now strong{display:block;font-size:16px;overflow-wrap:anywhere}.free-now [data-timer-text]{display:block;color:var(--green);font-size:22px;margin-top:10px}.free-round{flex-basis:100%;text-align:left;margin-left:35px;font-size:11px}.free-topic-session{flex-wrap:wrap}.free-soon:has([data-free-start]) button{opacity:1;cursor:pointer}.free-soon:has([data-free-start]) button:disabled{opacity:.6;cursor:wait}.free-soon:has([data-free-start]) p[role=alert]{color:#f0b9a8}body[data-study-mode=free] .timer-dock{border-color:var(--accent-strong);background:#122d28ee}
@media(max-width:699px){.free-live{padding:22px}.free-now{align-items:flex-start;flex-direction:column}.free-live-controls button{flex:1}.free-note-actions{align-items:flex-start;flex-direction:column}.free-live-clock strong{font-size:30px}.free-live-clock{flex-wrap:wrap}}

.free-soon button:not(:disabled){opacity:1;cursor:pointer}

body.has-timer-dock .free-live :is(button,textarea,input){scroll-margin-block:20px calc(var(--timer-dock-height,0px) + var(--update-clearance,0px) + 90px)}

.free-subject-overview:has(.free-live){align-items:start}

/* V5 phase 4: shared History/Progress, same confirmed source. */
.insights-screen{max-width:1060px;margin:auto}.insight-filters{display:flex;flex-wrap:wrap;gap:18px;align-items:end}.insight-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.insight-chips button{padding:10px 17px;min-height:44px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface)}.insight-chips button[aria-pressed=true]{color:var(--text);border-color:var(--accent-strong);background:var(--accent)}.insight-selects{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.insight-select{display:grid;gap:7px;font-size:12px;color:var(--muted);min-width:150px}.insight-select select{width:100%;min-height:44px;max-width:240px}.insight-result{color:var(--muted);font-size:13px;margin:0 0 24px}.insight-day{font-size:13px;margin:28px 0 12px;color:var(--muted)}.insight-session{display:flex;width:100%;text-align:left;gap:14px;align-items:center;margin-bottom:10px;padding:20px}.insight-symbol{color:var(--accent);font-size:22px}.insight-session-copy{display:grid;gap:6px;min-width:0;flex:1}.insight-session-copy>span:not(.origin-badge){color:var(--muted);font-size:13px;overflow-wrap:anywhere}.insight-session-time{display:grid;gap:6px;text-align:right;max-width:40%;flex-shrink:0}.insight-session-time small{color:var(--muted);font-size:11px}.origin-badge{display:inline-flex;justify-self:start;font-size:10px;font-weight:600;padding:4px 9px;border-radius:999px;width:fit-content;border:1px solid #a4ba7038;color:#d3e69d;background:#a4ba7012}.origin-free{border-color:#73d6bd40;color:#8de2cc;background:#73d6bd12}.insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.insight-metrics article{display:grid;gap:14px;padding:20px}.insight-metrics article>span{font-size:12px;color:var(--muted)}.insight-metrics strong{font-size:clamp(18px,2.5vw,27px);overflow-wrap:anywhere}.insight-breakdown{padding:24px;margin:24px 0}.insight-breakdown h2{font-size:18px}.insight-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.insight-mode-grid>div{display:grid;gap:8px}.insight-mode-grid span,.insight-mode-grid small{font-size:12px;color:var(--muted)}.insight-mode-grid strong{font-size:23px}.insight-subject{padding:22px;margin:14px 0}.insight-subject-link{display:flex;gap:12px;align-items:center;width:100%;text-align:left;color:var(--text);min-height:44px}.insight-subject-link>span:last-child{margin-left:auto;font-size:13px;color:var(--muted)}.insight-topics{display:grid;gap:0;margin-top:16px;border-top:1px solid var(--line)}.insight-topics button{display:flex;gap:16px;justify-content:space-between;align-items:center;text-align:left;min-height:48px;padding:12px 0;color:var(--text);border-bottom:1px solid var(--line)}.insight-topics button>span:first-child{overflow-wrap:anywhere;min-width:0}.insight-topics button>span:last-child{font-size:12px;color:var(--muted);flex-shrink:0}.insight-detail-card{padding:26px}.insight-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 28px}.insight-detail dt{font-size:12px;color:var(--muted)}.insight-detail dd{margin:8px 0 0;overflow-wrap:anywhere}.insight-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:var(--muted)}.insight-empty{padding:28px}.history-week-details{margin-top:32px}.history-week-details>summary{cursor:pointer;min-height:44px;padding:16px;color:var(--muted)}.insight-weekly-context{margin-top:48px;border-top:1px solid var(--line);padding-top:24px}
.insight-subject-link{padding:8px;border-radius:8px}.insight-topics button{padding-inline:8px;border-radius:8px}.insight-subject-link:is(:hover,:focus-visible),.insight-topics button:is(:hover,:focus-visible){background:var(--accent)}
@media(max-width:767px){.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-mode-grid{grid-template-columns:1fr;gap:18px}.insight-mode-grid>div{grid-template-columns:minmax(0,1fr) auto}.insight-mode-grid small{grid-column:1/-1}.insight-subject-link{flex-wrap:wrap}.insight-subject-link>span:last-child{margin-left:0;width:100%}.insight-topics button{align-items:flex-start}.insight-topics button>span:last-child{max-width:45%;text-align:right}.insight-session{padding:16px;gap:10px}.insight-session-time{max-width:34%}.insight-session-time small{overflow-wrap:anywhere}.insight-symbol{display:none}.insight-selects{width:100%}.insight-select{flex:1;min-width:120px}.insight-detail dl{grid-template-columns:1fr}.insight-detail-card{padding:20px}}
