/* ---------- Home ---------- */
.hero-face { padding-bottom: 46px; }
.home-moods { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.home-moods .ec-libbtn { padding: 0 8px; }
.home-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; align-items: start; }
.home-lower .grid-4 { grid-template-columns: 1fr 1fr; }
.home-recent { padding: 6px 8px 10px; }
.home-ev { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 13px; }
.home-ev:hover { background: var(--surface-2); }
.home-ev i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.home-ev .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.robot-card .art { color: var(--text); }
.robot-card .chip { font-size: 11px; height: 21px; }

/* ---------- Help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.help-card { display: flex; flex-direction: column; gap: 10px; }
.help-badge { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--accent); }
.help-badge svg { width: 26px; height: 26px; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.faq-item summary { cursor: pointer; padding: 13px 0; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.faq-item summary::before { content: '+'; color: var(--accent); font-weight: 700; width: 14px; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { padding: 0 0 14px 22px; margin: 0; }

/* ---------- Settings ---------- */
.set-wrap { max-width: 920px; display: flex; flex-direction: column; gap: 16px; }
.set-sec .panel-head svg { width: 18px; height: 18px; color: var(--accent); }
.set-body { display: flex; flex-direction: column; gap: 4px; }
.set-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row b { font-size: 13.5px; }
.theme-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.theme-pick { border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 14px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.theme-pick.on { border-color: var(--accent); box-shadow: var(--glow); }
.tp-prev { height: 64px; border-radius: 9px; position: relative; overflow: hidden; margin-bottom: 4px; border: 1px solid var(--line); }
.tp-prev i { position: absolute; border-radius: 4px; }
.tp-prev i:nth-child(1) { left: 0; top: 0; bottom: 0; width: 26%; }
.tp-prev i:nth-child(2) { left: 32%; top: 12px; right: 10px; height: 14px; }
.tp-prev i:nth-child(3) { left: 32%; top: 34px; width: 34%; height: 18px; background: #22d3ee !important; }
.tp-light { background: #eef2f8; } .tp-light i:nth-child(1) { background: #e2e8f1; } .tp-light i:nth-child(2) { background: #fff; }
.tp-dark { background: #0a0e16; } .tp-dark i:nth-child(1) { background: #0f1520; } .tp-dark i:nth-child(2) { background: #192334; }
.tp-black { background: #000; } .tp-black i:nth-child(1) { background: #07080a; } .tp-black i:nth-child(2) { background: #101318; }
.tp-system { background: linear-gradient(135deg, #eef2f8 50%, #0a0e16 50%); } .tp-system i:nth-child(1) { background: rgba(127,127,127,.25); } .tp-system i:nth-child(2) { background: rgba(127,127,127,.3); }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatch.on { box-shadow: 0 0 0 2px var(--text); }

/* ---------- Audit ---------- */
.au-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.au-charts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.au-charts .panel-body { min-height: 190px; }
.au-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.au-filters .input { height: 32px; }
.au-table-wrap { max-height: 520px; overflow: auto; }
.au-mod { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.au-mod i { width: 8px; height: 8px; border-radius: 50%; }
.au-lvl { font-family: 'JetBrains Mono'; font-size: 10.5px; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text-2); }
.au-lvl.success { background: rgba(52,211,153,.15); color: var(--green); }
.au-lvl.warn { background: rgba(251,191,36,.15); color: var(--amber); }
.au-lvl.error { background: rgba(248,113,113,.15); color: var(--red); }
.au-time { font-family: 'JetBrains Mono'; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.au-spark { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 8px; }
.au-spark div { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.au-spark div:hover::after { content: attr(data-l); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10px; background: var(--surface-3); padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
.au-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); margin-top: 4px; }
.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut-legend { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.donut-legend span { display: flex; align-items: center; gap: 6px; }
.donut-legend i { width: 9px; height: 9px; border-radius: 3px; }
.au-wide .bar-row { grid-template-columns: 170px 1fr 70px; }
