/* ===================== CÀI ĐẶT (.st-) ===================== */
.st-root { display: flex; height: 100%; background: var(--bg); min-height: 0; }
.st-nav { width: 240px; flex: none; padding: 20px 12px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; background: var(--bg-elev); overflow-y: auto; }
.st-nav__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-md); font-weight: 600; color: var(--text-2); text-align: left; }
.st-nav__item:hover { background: var(--hover); color: var(--text); }
.st-nav__item.is-active { background: var(--accent-soft); color: var(--accent); }
.st-scroll { flex: 1; overflow-y: auto; min-width: 0; }
.st-pane { max-width: 680px; margin: 0 auto; padding: 24px 20px 48px; display: flex; flex-direction: column; gap: 18px; }
.st-title { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.02em; }
.st-sec h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin: 0 0 8px 6px; }
.st-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.st-row + .st-row, .st-card > .st-item + .st-item { border-top: 1px solid var(--border); }
.st-row__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-row__txt small { color: var(--text-3); font-size: var(--fs-sm); }
.st-row__ctl { flex: none; }
.st-hero { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.st-hero__txt { flex: 1; display: flex; flex-direction: column; min-width: 160px; }
.st-hero__txt small { color: var(--text-3); }
.st-seg { display: inline-flex; padding: 3px; background: var(--surface-2); border-radius: var(--r-pill); }
.st-seg button { padding: 6px 14px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.st-seg button.is-on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-1); }
.st-swatches { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.st-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; transition: transform var(--dur-fast); }
.st-swatch:hover { transform: scale(1.12); }
.st-swatch.is-on { outline: 3px solid var(--text); outline-offset: 2px; }
.st-walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; padding: 14px; }
.st-wall { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--text-2); padding: 6px; border-radius: var(--r-md); border: 2px solid transparent; }
.st-wall.is-on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.st-wall__prev { width: 100%; height: 64px; border-radius: var(--r-sm); background-color: var(--surface-2); border: 1px solid var(--border); }
.st-wall[data-w="dots"] .st-wall__prev { background-image: radial-gradient(var(--border-strong) 1.2px, transparent 1.4px); background-size: 12px 12px; }
.st-wall[data-w="grid"] .st-wall__prev { background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 14px 14px; }
.st-wall[data-w="waves"] .st-wall__prev { background-image: repeating-radial-gradient(circle at 0 100%, transparent 0 10px, var(--border) 10px 11px); }
.st-wall[data-w="aurora"] .st-wall__prev { background-image: linear-gradient(135deg, hsl(var(--accent-h) calc(var(--accent-s) * 0.8) 70% / .45), hsl(calc(var(--accent-h) + 70) calc(var(--accent-s) * 0.8) 70% / .45)); }
.st-time, .st-input { padding: 8px 10px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); outline: 0; width: 100%; }
.st-time { width: auto; } .st-input:focus, .st-time:focus { border-color: var(--accent); }
.st-note { padding: 12px 16px; color: var(--text-3); font-size: var(--fs-sm); line-height: 1.5; }
.st-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.st-item code { padding: 2px 8px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-family: var(--mono); }
.st-item__txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.st-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.st-add { padding: 10px 16px 14px; }
.st-form { display: flex; flex-direction: column; gap: 12px; }
.st-badge { padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--fs-xs); }
.st-about { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 10px; }
.st-about__logo { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; color: var(--accent-text); background: linear-gradient(135deg, var(--accent-2), var(--accent-strong)); box-shadow: var(--shadow-3); }
.st-about p { max-width: 460px; color: var(--text-2); line-height: 1.6; }
.st-about__feat { display: flex; gap: 10px; color: var(--accent); flex-wrap: wrap; justify-content: center; }
.st-about__feat span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); }
@media (max-width: 760px) {
  .st-root { flex-direction: column; }
  .st-nav { width: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; }
  .st-nav__item { flex: none; padding: 8px 12px; }
  .st-pane { padding: 16px 12px 40px; }
}
