/* Shared styles for the 1.3.0 feature pages. Module-specific styles live in assets/mod-<name>.css. */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); border-bottom-color: var(--nod, #2BD47D); }
.spark { display: block; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sunken); color: var(--muted); white-space: nowrap; }
.pill.pos { background: var(--st-approved-t); color: var(--st-approved-x); }
.pill.neg { background: var(--st-changes-t); color: var(--st-changes-x); }
.pill.neu { background: var(--sunken); color: var(--muted); }
.pill.info { background: var(--st-waiting-t); color: var(--st-waiting-x); }
.pill.warn { background: var(--st-scheduled-t); color: var(--st-scheduled-x); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .grow { flex: 1; min-width: 180px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .split, .grid-3 { grid-template-columns: 1fr; } }
.list-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.board-col { background: var(--sunken); border-radius: 14px; padding: 10px; display: grid; gap: 8px; min-height: 120px; align-content: start; }
.board-col > h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding: 4px 6px; display: flex; justify-content: space-between; }
.board-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: grab; display: grid; gap: 6px; }
.board-card.dragging { opacity: .5; }
.board-col.over { outline: 2px dashed var(--nod, #2BD47D); outline-offset: -4px; }
.meter { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: var(--nod, #2BD47D); }
.hbar { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--sunken); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note-box { background: var(--lilac); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.public { background: var(--bg); min-height: 100vh; }
.dash > *, .split > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
[dir=rtl] .pill, [dir=rtl] .chip, [dir=rtl] .kpi b, [dir=rtl] .kpi span, [dir=rtl] .kpi em, [dir=rtl] .hbar > :last-child { unicode-bidi: plaintext; }
/* Long languages: when the top bar would overflow, the menu shows icons only (set by app.js). */
.topbar.nav-compact .mainnav > a span, .topbar.nav-compact .navgroup > summary span { display: none; }
.topbar.nav-compact .mainnav > a, .topbar.nav-compact .navgroup > summary { padding: 8px 10px; }
.topbar.nav-compact2 .new-post-btn span { display: none; }
