.ll-page { padding: 40px 0 64px; }
.ll-hero { text-align: center; margin-bottom: 30px; }
.ll-kicker { color: #4f6ef7; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.ll-hero h1 { margin: 8px 0 12px; font-size: 2rem; }
.ll-hero > p:last-child { max-width: 740px; margin: auto; color: #687386; line-height: 1.75; }
.ll-workbench { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.ll-panel { border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; background: var(--color-card-bg, #fff); padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ll-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ll-panel h2 { font-size: 1rem; margin: 0; }
.ll-badge { background: #f0f3f8; color: #60708b; border-radius: 20px; padding: 4px 10px; font: .78rem Consolas, monospace; }
.ll-code { position: relative; margin: 0; padding: 14px 8px; max-height: 340px; overflow: auto; background: #101418; color: #d4deed; border-radius: 10px; font: .8rem/1.85 Consolas, "Microsoft YaHei", monospace; }
.ll-code-line { display: flex; gap: 12px; padding: 2px 8px; border-left: 3px solid transparent; white-space: pre; }
.ll-code-line.active { background: #4f6ef738; border-left-color: #7b96ff; }
.ll-ln { color: #728096; flex: 0 0 2ch; text-align: right; user-select: none; }
.ll-code .ll-code-source { display: block; flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.ll-token-comment { color: #8ab98a; }
.ll-token-keyword { color: #c792ea; }
.ll-token-type { color: #82d9d0; }
.ll-token-string { color: #ecc48d; }
.ll-token-number, .ll-token-constant { color: #f6a96b; }
.ll-token-function { color: #82b7ff; }
.ll-token-preprocessor { color: #ff90ac; }
.ll-token-operator { color: #a9c9ed; }
.ll-code-guide { margin-top: 32px; padding: 24px; border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; background: var(--color-card-bg, #fff); min-width: 0; }
.ll-guide-header h2 { margin: 8px 0 12px; font-size: 1.4rem; }
.ll-guide-header > p:last-child, .ll-guide-note { color: #687386; font-size: .85rem; line-height: 1.8; }
.ll-guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.ll-guide-nav a { padding: 6px 12px; border-radius: 6px; background: #f1f5ff; color: #46629f; font-size: .85rem; text-decoration: none; }
.ll-guide-section { margin-top: 24px; scroll-margin-top: 90px; }
.ll-guide-section h3 { margin: 0 0 12px; font-size: 1rem; }
.ll-guide-code { max-height: none; }
.ll-guide-note { margin: 20px 0 0; }
@media (max-width: 480px) { .ll-code-guide { padding: 14px; } }
.ll-controls, .ll-inputs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; }
.ll-controls .btn { padding: 8px 12px; font-size: .8rem; }
.ll-controls label, .ll-inputs label { display: flex; align-items: center; gap: 6px; }
.ll-inputs input { width: 92px; border: 1px solid #dce2ec; border-radius: 6px; padding: 8px; font: inherit; }
.ll-controls input[type=range] { width: 100px; accent-color: #4f6ef7; }
.ll-message { margin: 0; min-height: 60px; background: #f1f5ff; color: #334778; padding: 12px; border-radius: 8px; font-size: .84rem; line-height: 1.7; }
.ll-message.error { background: #fff0f3; color: #b03057; }
.ll-log { margin: 0; padding: 12px; min-height: 80px; max-height: 160px; overflow: auto; background: #0c1210; color: #9fe6a8; border-radius: 10px; font: .8rem/1.7 Consolas, monospace; white-space: pre-wrap; }
.ll-pointers { display: flex; flex-wrap: wrap; gap: 8px; font: .8rem Consolas, monospace; }
.ll-pointers span { background: #f0e9ff; color: #7250b5; padding: 6px 8px; border-radius: 6px; }
.ll-graph { min-height: 250px; padding: 20px 14px; border: 1px solid #dce2ec; border-radius: 10px; background: #f6f8fc; }
.ll-chain { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 12px 4px; }
.ll-chain-title { margin: 10px 0 0; font-size: .78rem; color: #687386; }
.ll-node { flex: 0 0 114px; border: 2px solid #c0cdeb; background: #fff; border-radius: 10px; overflow: hidden; font: .8rem Consolas, monospace; transition: background .2s; }
.ll-node strong { display: block; background: #e5ecff; padding: 6px 10px; color: #46629f; font-size: .72rem; }
.ll-node b { display: block; padding: 10px; color: #253652; text-align: center; overflow-wrap: anywhere; }
.ll-node small { display: block; padding: 6px; border-top: 1px dashed #cbd6ec; color: #657591; }
.ll-node.current { border-color: #f0b53e; background: #fff4d7; }
.ll-node.new { border-color: #5eba83; background: #e8f8ed; }
.ll-node.removed { border-color: #df83a2; background: #ffedf3; }
.ll-arrow { flex-shrink: 0; color: #8296bc; font-size: 24px; }
.ll-null { flex-shrink: 0; font: .8rem Consolas, monospace; color: #8796ad; }
.ll-stats, .ll-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8rem; color: #687386; }
.ll-stats strong { color: #29364c; overflow-wrap: anywhere; }
.ll-order { margin: 0; border-radius: 8px; padding: 12px; background: #f1f5ff; color: #46629f; font: .85rem/1.7 Consolas, monospace; overflow-wrap: anywhere; }
.ll-legend span { display: flex; align-items: center; gap: 6px; }
.ll-dot { width: 12px; height: 12px; border-radius: 3px; }
.ll-dot.current { background: #f0b53e; } .ll-dot.new { background: #5eba83; } .ll-dot.removed { background: #df83a2; }
.ll-explain { border-top: 1px dashed #dce2ec; padding-top: 12px; font-size: .84rem; line-height: 1.75; color: #687386; }
.ll-explain h3 { font-size: .9rem; margin: 0 0 8px; } .ll-explain p { margin: 0 0 8px; }
.ll-page button:disabled { opacity: .45; cursor: not-allowed; }
.ll-page :focus-visible { outline: 3px solid #7b96ff; outline-offset: 3px; }
@media (max-width: 960px) { .ll-workbench { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ll-panel { padding: 12px; } .ll-hero h1 { font-size: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .ll-node { transition: none; } }
