/* 业主协同事项发布页（web/own_matters.js）。只用壳令牌：--sh-*、语义色 --ok/--warn/--bad；
   字阶 13/16/20/24、圆角 8/12/16/999、间距 4 的倍数；不另造组件。 */
.omp { max-width: 960px; margin: 0 auto; padding: 24px; font-size: 16px; line-height: 24px; color: var(--sh-ink); }
.omp .om-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.om-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--sh-line); }
.om-head h1 { font-size: 24px; line-height: 32px; font-weight: 700; margin: 0; }
.om-head .om-sentence { font-size: 16px; color: var(--sh-ink2); margin: 0; }
.om-head .om-sentence b { color: var(--sh-ink); }
.om-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.om-stat { display: flex; flex-direction: column; }
.om-stat-n { font-size: 20px; font-weight: 700; line-height: 28px; }
.om-stat-n.om-bump { color: var(--sh-blue); }
.om-stat-l { font-size: 13px; line-height: 20px; color: var(--sh-ink2); }

.om-sec { margin-top: 24px; }
.om-sec h2 { font-size: 16px; line-height: 24px; font-weight: 700; margin: 0 0 12px; }
.om-note, .om-muted { font-size: 13px; line-height: 20px; color: var(--sh-ink2); margin: 12px 0 0; }
.om-warn { font-size: 13px; line-height: 20px; color: var(--warn, #b54708); margin: 12px 0 0; }
.om-body { white-space: pre-wrap; word-break: break-word; margin: 0; }

.om-filter { display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.om-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--sh-ink2); }
.om-filter select { min-height: 40px; }

.om-table-wrap { overflow-x: auto; }
.om-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.om-table th { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--sh-ink2); text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--sh-line); white-space: nowrap; }
.om-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sh-line); vertical-align: top; }
.om-cell-t { font-weight: 600; }
.om-cell-m { display: block; font-size: 13px; line-height: 20px; color: var(--sh-ink2); }

.om-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.om-chip.ok { color: var(--ok, #067647); background: var(--ok-bg, #ecfdf3); }
.om-chip.warn { color: var(--warn, #b54708); background: var(--warn-bg, #fffaeb); }
.om-chip.muted { color: var(--sh-ink2); background: var(--sh-blue-soft, #f0f5f9); }

.om-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-surface); color: var(--sh-ink); font-size: 16px; line-height: 24px; cursor: pointer; }
.om-btn.primary { background: var(--sh-blue); border-color: var(--sh-blue); color: #fff; }
.om-btn:disabled { opacity: .5; cursor: not-allowed; }
.om-btn.small { min-height: 32px; padding: 4px 12px; font-size: 13px; line-height: 20px; }
.om-link { background: none; border: 0; padding: 0; color: var(--sh-blue); font-size: 16px; line-height: 24px; cursor: pointer; white-space: nowrap; }
.om-link:disabled { opacity: .5; cursor: not-allowed; }

.om-empty { padding: 48px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.om-empty .om-ico { width: 24px; height: 24px; color: var(--sh-ink2); }
.om-empty b { font-size: 16px; }
.om-empty span { font-size: 13px; color: var(--sh-ink2); }

.om-errbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bad-bg, #fef3f2); color: var(--bad, #b42318); border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 20px; margin-top: 16px; }
.om-banner { background: var(--sh-blue-soft, #f0f5f9); border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 20px; margin-bottom: 16px; }
.om-err { font-size: 13px; line-height: 20px; color: var(--bad, #b42318); margin-top: 4px; }

.om-skel { padding: 8px 0; }
.om-skel i { display: block; height: 20px; border-radius: 8px; background: var(--sh-blue-soft, #f0f5f9); margin: 12px 0; animation: om-breathe 1.4s ease-in-out infinite alternate; }
.om-slow { font-size: 13px; color: var(--sh-ink2); margin: 8px 0 0; }
@keyframes om-breathe { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .om-skel i { animation: none; } }

.om-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--sh-ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 16px; line-height: 24px; z-index: 1200; white-space: nowrap; }

.om-drawer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 24px 12px; border-bottom: 1px solid var(--sh-line); }
.om-drawer-bar h2 { font-size: 20px; line-height: 28px; margin: 0; }
.om-drawer-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.om-drawer-foot { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; flex-wrap: wrap; }
.om-kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 0; }
.om-kv dt { color: var(--sh-ink2); font-size: 13px; }
.om-kv dd { margin: 0; }

.om-f { display: flex; flex-direction: column; gap: 4px; }
.om-f > span { font-size: 13px; line-height: 20px; color: var(--sh-ink2); }
.om-f input[type="text"], .om-f textarea, .om-f select { min-height: 40px; padding: 8px 12px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-surface); color: var(--sh-ink); font-size: 16px; line-height: 24px; font-family: inherit; }
.om-f textarea { resize: vertical; }
.om-check { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; }
.om-check input { width: 20px; height: 20px; }

.om-orgq { display: flex; gap: 8px; }
.om-orgq input { flex: 1; min-height: 40px; padding: 8px 12px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-surface); color: var(--sh-ink); font-size: 16px; line-height: 24px; }
.om-orglist { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.om-org { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 8px 12px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-surface); color: var(--sh-ink); font-size: 16px; line-height: 24px; cursor: pointer; }
.om-org[aria-pressed="true"] { border-color: var(--sh-blue); background: var(--sh-blue-soft, #f0f5f9); }
.om-org .c { font-size: 13px; color: var(--sh-ink2); }
.om-picked { font-size: 13px; line-height: 20px; margin: 8px 0 0; }

@media (max-width: 640px) {
  .omp { padding: 16px; }
  .om-kv { grid-template-columns: 96px 1fr; }
  .om-drawer-body { padding: 16px; }
}
