/* v1.16 — Investor Directory + Create Invoice assist */
html.v116-route main { display: none !important; }
.v116 { display: block; }
.v116-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.v116-eye { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #2563eb); margin: 0 0 4px; }
.v116-hd h1 { font-size: 26px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.v116-hd p.t-muted { margin: 4px 0 0; font-size: 14px; }
.v116-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.v116-st { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.v116-st span { font-size: 12.5px; }
.v116-st b { font-size: 22px; font-variant-numeric: tabular-nums; }
.v116-st small { font-size: 12px; font-weight: 500; opacity: .7; }
.v116-bar { display: flex; gap: 10px; padding: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.v116-bar .v116-q { flex: 1 1 260px; }
.v116-bar .v116-sort { flex: 0 0 180px; }
.v116-list { padding: 0; overflow: hidden; }
.v116-list.busy { opacity: .6; }
.v116-th, .v116-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 12px 18px; }
.v116-th { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .6; border-bottom: 1px solid var(--line, rgba(15,23,42,.08)); }
.v116-tr { border-bottom: 1px solid var(--line, rgba(15,23,42,.06)); cursor: pointer; transition: background .12s; }
.v116-tr:last-child { border-bottom: 0; }
.v116-tr:hover, .v116-tr:focus-visible { background: rgba(37,99,235,.05); outline: none; }
.v116-tr > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.v116-tr > span:nth-child(2) { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px; }
.v116-tr small { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v116-who { flex-direction: row !important; align-items: center; gap: 12px !important; }
.v116-who > span { display: flex; flex-direction: column; min-width: 0; }
.v116-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v116-av { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; background: rgba(37,99,235,.12); color: var(--accent, #2563eb); }
.v116-av.lg { width: 48px; height: 48px; font-size: 16px; }
.v116-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,.14); color: #047857; }
html.dark .v116-tag, html.theme-dark .v116-tag { color: #6ee7b7; }
.v116-link { color: var(--accent, #2563eb); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-decoration: none; }
.v116-link:hover { text-decoration: underline; }
.v116-link:disabled { opacity: .4; cursor: default; text-decoration: none; }
.v116-empty { padding: 36px 18px; text-align: center; font-size: 14px; }
.v116-pg { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 16px 0; font-size: 13.5px; }
.v116-pg:empty { display: none; }
/* profile drawer */
.v116-dr { position: fixed; inset: 0; z-index: 60; }
.v116-dr[hidden] { display: none; }
.v116-dr-bg { position: absolute; inset: 0; background: rgba(15,23,42,.35); backdrop-filter: blur(2px); }
.v116-dr-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); overflow-y: auto; padding: 22px; border-radius: 0 !important; display: flex; flex-direction: column; gap: 16px; animation: v116in .18s ease-out; }
@keyframes v116in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.v116-dr-h { display: flex; align-items: center; gap: 14px; }
.v116-dr-h > div { flex: 1; min-width: 0; }
.v116-dr-h h2 { font-size: 19px; font-weight: 700; margin: 0; }
.v116-dr-h p { margin: 2px 0 0; font-size: 13px; }
.v116-x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(100,116,139,.12); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.v116-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.v116-dl div { min-width: 0; }
.v116-dl dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.v116-dl dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.v116-nf { align-self: flex-start; }
.v116-h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.v116-il { display: flex; flex-direction: column; gap: 8px; }
.v116-ii { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, rgba(15,23,42,.1)); color: inherit; text-decoration: none; transition: border-color .12s, background .12s; }
.v116-ii:hover { border-color: var(--accent, #2563eb); background: rgba(37,99,235,.04); }
.v116-ii.off { opacity: .55; }
.v116-ii.off b { text-decoration: line-through; }
.v116-ii > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.v116-ii small { font-size: 12px; }
.v116-ia { text-align: right; font-variant-numeric: tabular-nums; }
/* create-invoice assist */
.v116-as { margin-bottom: 12px; border-radius: 16px; border: 1px solid rgba(37,99,235,.28); background: rgba(37,99,235,.06); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; animation: v116fade .2s ease-out; }
@keyframes v116fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.v116-as-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v116-as-t { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.v116-as-t small { font-size: 12.5px; }
.v116-warn { color: #b45309; font-weight: 600; }
html.dark .v116-warn, html.theme-dark .v116-warn { color: #fbbf24; }
.v116-as-dup { padding: 10px 12px; border-radius: 12px; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4); color: #92400e; font-size: 13.5px; line-height: 1.45; }
html.dark .v116-as-dup, html.theme-dark .v116-as-dup { color: #fcd34d; }
.v116-fill { white-space: nowrap; }
@media (max-width: 760px) {
  .v116-stats { grid-template-columns: 1fr 1fr; }
  .v116-stats .v116-st:last-child { grid-column: span 2; }
  .v116-th { display: none; }
  .v116-tr { grid-template-columns: 1fr auto; row-gap: 6px; }
  .v116-tr > span:nth-child(1) { grid-column: 1 / -1; }
  .v116-tr > span:nth-child(4) { display: none; }
  .v116-dl { grid-template-columns: 1fr; }
}
