/* Extra layouts for Start and Study. Colors, fonts, panels, buttons and page
   spacing come from PRO's style.css; this file does not define another theme. */
.simple-mode { font-size:13px; }
.simple-mode .header-actions { margin-left:auto; }
.mode-main { width:100%; }
.simple-mode h1, .simple-mode h2 { font-size:14px; font-weight:600; }
.simple-mode h3 { font-size:16px; font-weight:800; }
.simple-mode p { color:var(--text-muted); font-size:13px; line-height:1.5; }
.simple-mode .mode-description { margin-bottom:12px; }
.mode-description h1 { color:var(--cyan); margin-bottom:6px; }
.eyebrow { font-size:10px!important; font-weight:700; letter-spacing:.5px; color:var(--text-muted)!important; }
.market-overview { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.market-overview h2 { margin:6px 0; }
.market-counts { display:flex; gap:24px; flex-shrink:0; }
.market-counts div { display:flex; flex-direction:column; text-align:center; }
.market-counts strong { font-size:16px; font-weight:800; font-variant-numeric:tabular-nums; }
.market-counts span { color:var(--text-muted); font-size:10px; }
.positive { color:var(--green); }
.negative { color:var(--red); }
.muted { color:var(--text-muted); }
.connection { white-space:nowrap; }
.connection[data-live=false] { color:var(--text-muted); border-color:var(--border); background:var(--bg-card); }
.start-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:12px; align-items:start; }
.start-sidebar { display:grid; gap:12px; }
.simple-mode button, .simple-mode input, .simple-mode select { font-family:inherit; }
.simple-mode button, .simple-mode a.primary { cursor:pointer; }
.simple-mode .primary, .simple-mode .secondary { width:fit-content; text-decoration:none; line-height:normal; }
.simple-mode .collection-tabs { display:flex; flex-wrap:wrap; gap:6px; }
.collection-tabs button { white-space:nowrap; }
.collection-tabs button span { font-size:10px; color:var(--text-main); }
.collection-rule { margin:10px 0; font-size:12px!important; }
.search-row { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:12px; color:var(--text-muted); font-size:12px; }
.search-row label { display:grid; gap:5px; width:270px; max-width:100%; }
.simple-mode input[type=search] { background:#11172c; color:var(--text-main); padding:9px 10px; border:1px solid var(--border); border-radius:8px; font-size:13px; width:100%; outline:none; }
.simple-mode input[type=search]:focus { border-color:var(--cyan); }
.coin-grid, .study-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.coin-card { display:flex; flex-direction:column; min-width:0; }
.card-top, .coin-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.coin-card h3 { color:var(--cyan); }
.coin-card h3 span { display:block; font-size:10px; font-weight:500; color:var(--text-muted); }
.coin-price { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:10px 0 2px; }
.coin-price strong { font-size:15px; font-weight:800; font-variant-numeric:tabular-nums; }
.direction-tag { font-size:10px; font-weight:700; border:1px solid var(--border); padding:3px 6px; border-radius:6px; }
.favorite-button { font-size:18px; border:0; color:var(--text-muted); background:transparent; padding:2px 3px; }
.favorite-button[aria-pressed=true] { color:var(--yellow); }
.mini-chart { height:90px; display:flex; align-items:center; justify-content:center; margin:6px 0; }
.mini-chart svg { width:100%; height:82px; }
.mini-chart p { font-size:11px; }
.chart-caption { display:flex; justify-content:space-between; gap:8px; font-size:10px; color:var(--text-muted); margin-bottom:8px; }
.reason-block { border-top:1px solid var(--border); padding-top:10px; margin-top:10px; }
.reason-block h4 { font-size:11px; margin-bottom:6px; font-weight:700; color:var(--green); }
.reason-block.concerns h4 { color:var(--yellow); }
.reason-block ul { list-style:none; display:grid; gap:6px; font-size:12px; line-height:1.5; color:var(--text-muted); }
.card-actions { margin-top:auto; padding-top:12px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.text-link { color:var(--cyan); font-size:12px; text-decoration:none; }
.simple-mode #show-more { margin:12px auto; }
.simple-mode [hidden] { display:none!important; }
.empty-state { grid-column:1/-1; padding:16px; border:1px solid var(--border); border-radius:12px; background:var(--bg-panel); text-align:center; }
.notifications h2 { margin:6px 0 8px; }
.notifications > p { font-size:12px; }
.check-row { display:flex; gap:8px; align-items:center; font-size:12px; color:var(--text-muted); margin:10px 0; cursor:pointer; }
.simple-mode input[type=checkbox] { accent-color:var(--cyan); width:16px; height:16px; flex-shrink:0; }
.notifications fieldset { margin:12px 0; padding:0 10px; border:1px solid var(--border); border-radius:8px; }
.notifications legend { font-size:11px; color:var(--text-muted); padding:0 5px; }
.small-text { font-size:11px!important; margin-top:8px!important; }
.notification-feed { list-style:none; margin-top:12px; display:grid; gap:6px; font-size:12px; }
.notification-feed li { padding:6px 10px; background:var(--bg-card); border-radius:6px; border-left:3px solid var(--cyan); }
.notification-feed button { background:transparent; color:var(--cyan); padding:0; border:0; font-size:12px; }
.notification-feed time { display:block; color:var(--text-muted); font-size:10px; margin:4px 0; }
.notification-feed p { font-size:11px; }
.learning-link { display:block; text-decoration:none; color:var(--text-main); }
.learning-link h2 { margin:8px 0; }
.learning-link p { font-size:12px; }
.learning-link strong { display:block; color:var(--cyan); font-size:12px; margin-top:10px; }
.mode-footer { border-top:1px solid var(--border); padding:12px 0; margin-top:12px; font-size:11px; line-height:1.5; color:var(--text-muted); }
.study-progress { white-space:nowrap; }
.study-progress strong { font-size:13px; }
.study-progress span { font-size:12px; }
.study-progress progress { width:70px; height:6px; accent-color:var(--cyan); }
.study-guide { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.study-guide h2 { margin-bottom:6px; }
.study-guide > div { flex:1; }
.study-guide .primary { flex-shrink:0; }
.step-number { color:var(--cyan); font-weight:800; font-size:13px; white-space:nowrap; }
.study-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
.study-card { display:flex; flex-direction:column; min-width:0; }
.study-card h2 { margin:10px 0; }
.study-card > p { font-size:13px; }
.lesson-number { font-size:11px; color:var(--text-muted); }
.study-card.is-read { border-color:rgba(16,185,129,.4); }
.study-card details { margin:12px 0; font-size:13px; }
.study-card summary { color:var(--cyan); cursor:pointer; }
.study-card details p { margin-top:8px; font-size:13px; }
.lesson-limit { padding:10px; background:var(--yellow-bg); border-left:2px solid var(--yellow); margin-top:10px; }
.lesson-limit strong { font-size:11px; color:var(--yellow); }
.study-card .read-toggle { margin-top:auto; align-self:flex-start; }
.sample-metrics { display:flex; gap:6px; margin-bottom:12px; padding:10px 6px; background:var(--bg-card); border:1px solid var(--border); border-radius:6px; }
.sample-metrics div { display:flex; flex:1; flex-direction:column; text-align:center; gap:5px; }
.sample-metrics span { color:var(--text-muted); font-size:10px; }
.sample-metrics strong { font-size:12px; color:var(--cyan); }
.coin-dialog { position:fixed; margin:auto; background:var(--bg-panel); color:var(--text-main); border:1px solid var(--border); border-radius:12px; padding:16px; width:min(850px,calc(100vw - 20px)); max-height:90vh; overflow:auto; }
.coin-dialog::backdrop { background:rgba(0,0,0,.8); }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.dialog-heading h2 { margin:6px 0; }
.detail-chart-svg { width:100%; height:auto; background:var(--bg-main); border-radius:6px; }
.detail-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0; }
.detail-stats div { padding:10px; border:1px solid var(--border); border-radius:8px; background:var(--bg-card); }
.detail-stats span { display:block; color:var(--text-muted); font-size:11px; }
.detail-stats strong { font-size:13px; }
.coin-dialog .primary { margin-top:12px; }
.simple-mode :focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
@media(min-width:1800px) { .coin-grid, .study-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1240px) { .coin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:960px) { .start-layout { grid-template-columns:1fr; }.coin-grid, .study-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.start-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .market-overview { flex-direction:column; align-items:flex-start; }.market-counts { width:100%; justify-content:space-between; gap:12px; }.coin-grid, .study-grid, .start-sidebar { grid-template-columns:1fr; }.study-guide { flex-wrap:wrap; }.study-guide > div { flex-basis:75%; }.detail-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
