/* How ElliottCount works (guide.html): one source for the guide page and the guide under the public free charts in index.html (Deej, 4 Dec 2026). Everything is scoped to .guide. */
/* Base text, as pages.css gives the guide page, so the copy inside index.html looks the same */
.guide { font-size: 16px; line-height: 1.65; }
.guide a { color: var(--accent); }
.guide .lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.guide table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 4px; }
.guide td, .guide th { text-align: left; padding: 8px; border-top: 1px solid var(--line); vertical-align: top; }
.guide .lead { margin-bottom: 18px; }
.guide .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 800; font-size: 13px; line-height: 1; flex: none; }
.guide .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.guide .steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.guide .steps svg { width: 34px; height: 34px; flex: none; }
.guide .steps b { display: block; font-size: 15px; }
.guide .steps span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.guide .screen { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.guide .mock { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; position: relative; }
.guide .mock .co { position: absolute; box-shadow: 0 0 0 3px var(--panel); }
.guide .ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.guide .ph h2 { margin: 0; font-size: 16px; }
.guide .ph h2 small { color: var(--muted); font-weight: 500; }
.guide .tfs { display: flex; gap: 4px; align-items: center; }
.guide .tfs .n { margin-right: 4px; }
.guide .tfs i { font-style: normal; font-size: 12px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); white-space: nowrap; }
.guide .tfs i.on { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 700; }
.guide .mock svg.chart { width: 100%; height: auto; display: block; margin: 6px 0 2px; }
.guide .mock svg.chart text.cn { stroke: none; }
.guide .mock svg.chart text { paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
.guide .det { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.guide .det > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; position: relative; line-height: 1.45; }
.guide .det em { display: block; font-style: normal; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.guide .det .full { grid-column: 1 / -1; }
.guide .t { color: var(--target); font-weight: 700; }
.guide .b { color: var(--break); font-weight: 700; }
.guide .w { color: var(--wave); font-weight: 700; }
.guide .c { color: var(--abc); font-weight: 700; }
.guide .f { color: var(--fib); font-weight: 700; }
.guide .keys { display: grid; gap: 8px; }
.guide .keys details, .guide .more details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 16px; }
.guide .keys summary { list-style: none; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; }
.guide .keys summary::-webkit-details-marker, .guide .more summary::-webkit-details-marker { display: none; }
.guide .keys summary b { display: block; font-size: 15px; }
.guide .keys summary span.d { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.guide .keys summary .tx { flex: 1; }
.guide summary::after { content: "+"; color: var(--accent); font-weight: 800; margin-left: auto; padding-left: 8px; }
.guide details[open] > summary::after { content: "−"; }
.guide .keys .body, .guide .more .body { padding: 0 14px 12px 46px; font-size: 14.5px; line-height: 1.55; }
.guide .more .body { padding-left: 14px; }
.guide .body p { margin: 0 0 8px; }
.guide .body p:last-child { margin: 0; }
.guide .body table { font-size: 14px; }
.guide .more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; align-items: start; }
.guide .more summary { list-style: none; cursor: pointer; display: flex; padding: 11px 14px; font-weight: 600; font-size: 15px; }
.guide .honest { margin-top: 20px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; }
.guide .honest b { color: var(--accent); }
.guide .cta { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.guide .cta h2 { margin: 0; font-size: 17px; }
.guide .cta p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.guide .cta .btns { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.guide .cta .btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.guide .cta .btn.freebtn { background: var(--up); border-color: var(--up); color: #04120b; }
.guide .cta .btn.freebtn:hover { filter: brightness(1.08); }
:root[data-theme="light"] .guide .cta .btn.freebtn { background: #047857; border-color: #047857; color: #fff; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .guide .cta .btn.freebtn { background: #047857; border-color: #047857; color: #fff; } }
:root:is([data-theme="retro"], [data-theme="amber"], [data-theme="dos"]) .guide .cta .btn.freebtn { color: #000; text-shadow: none; }
@media (max-width: 760px) { .guide .cta { flex-direction: column; align-items: stretch; } .guide .cta .btns .btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 760px) { .guide .screen, .guide .steps, .guide .more { grid-template-columns: 1fr; } .guide .ph h2 small { display: block; } .guide .keys .body { padding-left: 14px; } }
.guide .tfs svg.trend { display: inline-block; width: 14px; height: 14px; vertical-align: -3px; } .guide .tfs .up { color: var(--up); } .guide .tfs .down { color: var(--down); } .guide .tfs i.on svg.trend { color: inherit; }   /* trend arrows, as on the live charts (Deej, 4 Dec 2026) */
