.guide-visuals { --viz-green: #397b51; --viz-red: #bb4546; --viz-blue: #3d76b4; --viz-orange: #d46a27; display: grid; gap: 16px; min-width: 0; align-content: start; }
.guide-viz-card { margin: 0; padding: 20px; min-width: 0; border: 1px solid #e0d5c2; border-radius: 14px; background: #fffdf7; box-shadow: 0 3px 0 #eee3d3; }
.guide-viz-card figcaption { margin: 0 0 16px; color: #493c2e; font-size: 16px; font-weight: 750; line-height: 1.4; }
.guide-viz-note { margin: 14px 0 0; color: #72614e; font-size: 14px; line-height: 1.55; }
.guide-viz-comparison-wrap { min-width: 0; }
.guide-viz-comparison { width: 100%; border-collapse: separate; border-spacing: 0 7px; table-layout: fixed; font-size: 14px; line-height: 1.5; }
.guide-viz-comparison :where(th, td) { padding: 8px; overflow-wrap: anywhere; text-align: left; vertical-align: middle; }
.guide-viz-comparison thead th { padding-top: 0; color: #785c3c; font-size: 12px; }
.guide-viz-comparison tbody :where(th, td) { background: #f5eddf; border-block: 1px solid #dfd2bd; color: #594834; }
.guide-viz-comparison tbody :where(th, td):first-child { border-left: 1px solid #dfd2bd; border-radius: 7px 0 0 7px; }
.guide-viz-comparison tbody td:last-child { border-right: 1px solid #dfd2bd; border-radius: 0 7px 7px 0; }
.guide-viz-result { display: inline-block; padding: 5px 7px; border: 1px solid #b8a68b; border-radius: 6px; color: #5f503c; background: #e9e0ce; font-size: 13px; font-weight: 750; }
.guide-viz-result[data-tone="positive"] { color: #fff; background: #28673e; border-color: #28673e; }
.guide-viz-result[data-tone="negative"] { color: #fff; background: #a3343e; border-color: #a3343e; }
.guide-viz-result[data-tone="unknown"] { color: #fff; background: #245e94; border-color: #245e94; border-style: dashed; }
.guide-viz-result[data-tone="focus"] { color: #fff; background: #99481f; border-color: #99481f; }
.guide-viz-bars { display: grid; gap: 14px; }
.guide-viz-bar__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; line-height: 1.4; }
.guide-viz-bar__meta span { overflow-wrap: anywhere; }
.guide-viz-bar__meta strong { color: #3b653f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.guide-viz-bar__track { position: relative; height: 16px; margin-top: 7px; border-radius: 5px; background: #ede8dc; overflow: hidden; }
.guide-viz-bar__fill, .guide-viz-bar__possible { display: block; position: absolute; inset-block: 0; border-radius: 3px; background: var(--viz-green); }
.guide-viz-bar__fill { animation: guide-viz-grow .35s ease-out; transform-origin: left; }
.guide-viz-bar[data-tone="negative"] .guide-viz-bar__fill { background: var(--viz-red); }
.guide-viz-bar[data-tone="negative"] strong { color: #a93234; }
.guide-viz-bar[data-tone="neutral"] .guide-viz-bar__fill { background: #9b8d77; }
.guide-viz-bar[data-tone="focus"] .guide-viz-bar__fill { background: var(--viz-orange); }
.guide-viz-bar[data-tone="focus"] strong { color: #aa4918; }
.guide-viz-bar[data-tone="unknown"] strong { color: #3266a2; }
.suggestions-guide .guide-viz-bar[data-tone="unknown"] .guide-viz-bar__fill { background: var(--viz-blue); }
.suggestions-guide .guide-viz-stack > [data-tone="neutral"], .suggestions-guide .guide-viz-stack-legend [data-tone="neutral"] i { background: #9b8d77; }
.guide-viz-bar__possible { background: repeating-linear-gradient(135deg,#6592c5 0 4px,#d9e7f6 4px 8px); }
.guide-viz-zero { position: absolute; width: 2px; height: 100%; background: #675541; z-index: 2; }
.guide-viz-scale { display: flex; justify-content: space-between; margin-top: 10px; color: #796a57; font-size: 12px; }
.guide-viz-key { margin: 12px 0 0; color: #3266a2; font-size: 13px; line-height: 1.4; }
.guide-viz-stack { display: flex; height: 34px; overflow: hidden; border-radius: 7px; background: #ede8dc; }
.guide-viz-stack > span { display: grid; place-items: center; min-width: 0; color: white; font-size: 12px; font-weight: 750; white-space: nowrap; background: var(--viz-green); }
.guide-viz-stack > [data-tone="negative"] { background: var(--viz-red); }
.guide-viz-stack > [data-tone="unknown"] { background: var(--viz-blue); }
.guide-viz-stack > [data-tone="focus"] { background: #b65722; }
.guide-viz-stack-legend { display: grid; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.guide-viz-stack-legend li { display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; align-items: center; color: #65533e; font-size: 14px; }
.guide-viz-stack-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--viz-green); }
.guide-viz-stack-legend [data-tone="negative"] i { background: var(--viz-red); }
.guide-viz-stack-legend [data-tone="unknown"] i { background: var(--viz-blue); }
.guide-viz-stack-legend [data-tone="focus"] i { background: #b65722; }
.guide-viz-flow { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guide-viz-flow li { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #ded4c3; border-radius: 9px; background: #f7f1e7; }
.guide-viz-flow li + li::before { position: absolute; content: "↓"; left: 23px; top: -14px; color: #b9a589; line-height: 1; }
.guide-viz-flow strong { display: block; color: #51412e; font-size: 14px; line-height: 1.4; }
.guide-viz-flow div > span { display: block; color: #75634c; font-size: 13px; line-height: 1.4; margin-top: 2px; }
.guide-viz-flow__marker { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #e5dac8; color: #745e40; font-weight: 750; }
.guide-viz-flow [data-tone="positive"] { border-color: #bdd6be; background: #edf5e9; }
.guide-viz-flow [data-tone="positive"] .guide-viz-flow__marker { background: #397b51; color: white; }
.guide-viz-flow [data-tone="negative"] { border-color: #e1b7b5; background: #fff0ed; }
.guide-viz-flow [data-tone="negative"] .guide-viz-flow__marker { background: var(--viz-red); color: white; }
.guide-viz-flow [data-tone="unknown"] { border-color: #bed1e4; background: #eef5fc; }
.guide-viz-flow [data-tone="unknown"] .guide-viz-flow__marker { background: var(--viz-blue); color: white; }
.guide-viz-flow .is-current { box-shadow: inset 4px 0 0 var(--viz-orange), 0 0 0 2px #e6b275; }
.guide-viz-seats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; padding-top: 10px; }
.guide-viz-seats > span { display: grid; place-items: center; height: 40px; border: 1px solid #bdd6be; border-radius: 8px; background: #edf5e9; color: #397b51; font-weight: 750; }
.guide-viz-seats > [data-tone="negative"] { border-color: #e1b7b5; background: #fff0ed; color: #bb4546; }
.guide-viz-seats > .is-current { background: #d46a27; border-color: #b5531a; color: white; transform: translateY(-7px); box-shadow: 0 4px 0 #ead2b2; }
.guide-viz-seats-caption { margin: 17px 0 0; color: #70563a; font-size: 14px; }
.guide-viz-card svg { display: block; width: 100%; height: auto; overflow: visible; }
.guide-viz-curve-band { fill: #dfeeda; }
.guide-viz-grid { stroke: #e1d9cc; stroke-width: 1; }
.guide-viz-axis-label { fill: #78654d; font: 12px var(--font, sans-serif); }
.guide-viz-curve { fill: none; stroke: #397b51; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.guide-viz-marker-line { stroke: #d46a27; stroke-width: 1.5; stroke-dasharray: 4 4; }
.guide-viz-marker { fill: #d46a27; stroke: #fffdf7; stroke-width: 3; }
.guide-viz-marker-label { fill: #ac4c1b; font: 700 13px var(--font, sans-serif); }
.guide-viz-reference { stroke: #3d76b4; stroke-width: 1.5; stroke-dasharray: 5 4; }
.guide-viz-curve-reading { margin: 9px 0 0; color: #a84a1d; font-size: 14px; font-weight: 650; }
@keyframes guide-viz-grow { from { transform: scaleX(.3); opacity: .4; } to { transform: scaleX(1); opacity: 1; } }
@media(max-width:560px) { .guide-viz-card { padding: 16px; } .guide-viz-bar__meta { flex-wrap: wrap; gap: 3px 8px; } .guide-viz-seats { gap: 3px; } .guide-viz-seats > span { height: 34px; } .guide-viz-stack > span { font-size: 11px; } }
.algorithm-motion-paused .guide-viz-bar__fill { animation: none; }
@media(prefers-reduced-motion:reduce) { .guide-viz-bar__fill { animation: none; } }
