.m-billed { margin-top: 22px; }
.m-billed[hidden] { display: none; }
.m-billed .m-top > thead .c-card { width: 104px; }
.m-billed .m-top > thead .c-count { width: 170px; }
.m-billed-row { cursor: default; }
.m-billed-row > .c-card { color: var(--muted); }
.m-billed-row .m-words small { display: none; }
.m-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.m-tools .lib-search { flex: 1 1 260px; max-width: 420px; }
@media (max-width: 560px) { .m-tools .lib-search { flex-basis: 100%; max-width: none; } }
.m-kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--dim);
  font-family: var(--font-mono); font-size: 11px; pointer-events: none; }
.work .tbl.m-top { display: table; width: 100%; table-layout: fixed; overflow: visible; }
.m-top > thead th, .m-top > tbody > tr > td { min-width: 0; }
.m-top > thead .c-type { width: 96px; }
.m-top > thead .c-count { width: 120px; }
.m-top > tbody > .m-row > td { padding-top: 12px; padding-bottom: 12px; vertical-align: middle; }
.m-top .c-count { text-align: right; font-variant-numeric: tabular-nums; }
.m-top > tbody > .m-row > .c-count { font-weight: 600; }
.m-top > tbody > .m-row > .c-count.is-none { font-weight: 400; color: var(--dim); }
.m-row > .c-type { color: var(--muted); }
.m-row { cursor: pointer; }
.m-card { margin-top: 14px; overflow: hidden; container: mtbl / inline-size; }
.m-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.m-ico { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
  background: var(--t50); color: var(--t800); }
.m-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; }
.m-name b { display: block; font-weight: 600; font-size: 13.5px; }
.m-name small { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.m-words { min-width: 0; }
.m-ico-policy, .m-ico-benchmark { background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); }
.m-link { display: block; font-weight: 600; font-size: 13.5px; color: var(--text); text-decoration: none; }
.m-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.m-link:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 3px; }
.m-empty td { padding: 14px; text-align: center; color: var(--dim); cursor: default; white-space: normal; }
.m-empty .empty-note { background: none; }
@container mtbl (max-width: 599px) {
  .m-ico { width: 24px; height: 24px; }
  .m-name :is(b, .m-link) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-name > span { min-width: 0; }
  .work .tbl.m-top, .m-top > thead, .m-top > tbody, .m-top > tbody > tr:not(.m-row), .m-top > tbody > tr:not(.m-row) > td {
    display: block; }
  .m-top > thead > tr, .m-top > tbody > .m-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .m-top > thead .c-count { width: auto; }
  .m-top > tbody > .m-row > td { display: flex; align-items: center; min-width: 0; padding-left: 14px; padding-right: 14px; }
  .m-top > tbody > .m-row > .c-count { justify-content: flex-end; }
  .m-top > thead .c-type, .m-top > tbody > .m-row > .c-type { display: none; }
  .m-billed .m-top > thead :is(.c-type, .c-card), .m-top > tbody > .m-row > .c-card { display: none; }
  .m-billed .m-top > thead .c-count { width: auto; }
  .m-billed-row .m-words small { display: block; }
  .m-top > thead th { padding-left: 14px; padding-right: 14px; }
}
.d-none { margin: 0; padding: 14px 16px; font-size: 13px; color: var(--dim); list-style: none; }
.lv-conn { padding: 14px 16px; border-radius: var(--r-card); box-shadow: var(--sh-card); background: var(--bg-raised); }
.lv-conn + .lv-conn { margin-top: 14px; }
.lv-head { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; font-size: 13px; font-weight: 400;
  font-variant-numeric: tabular-nums; }
.lv-head > b { flex: none; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.lv-meta { min-width: 0; color: var(--dim); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lv-cams { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.lv-cams[hidden] { display: none; }
.lv-cam { margin: 0; }
.lv-cam img { display: block; width: 100%; height: auto; border-radius: 8px; background: #0E1A2B; }
.lv-cam figcaption { margin-top: 4px; font-size: 11.5px; color: var(--dim); }
.lv-k { margin: 14px 0 6px; font-size: 12px; font-weight: 500; color: var(--dim); }
.lv-k[hidden], .lv-rows[hidden] { display: none; }
.lv-rows { list-style: none; margin: 0; padding: 0; }
.lv-rows li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 4px 0;
  border-top: 1px solid var(--line-soft); font-size: 12px; }
.lv-rows li:first-child { border-top: 0; }
.lv-step { color: var(--dim); font-variant-numeric: tabular-nums; }
.lv-rows code { font-family: var(--font-mono); font-size: 11.5px; overflow-wrap: anywhere; color: var(--text); }
.rb-st { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.rb-st::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.rb-st.is-on { color: var(--text); }
.rb-st.is-on::before { background: #2BA471; }
.rb-row .m-link { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-top > thead .c-status { width: 214px; }
.m-top > thead .c-seen { width: 120px; }
.m-top > thead .c-rec { width: 84px; }
.m-top .c-rec { color: var(--text); }
.m-top .c-rec.is-off { color: var(--dim); }
.m-top .c-pols { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-top .rb-pol { display: inline; font-weight: 500; }
.m-top .c-seen { color: var(--muted); }
.rb-none { color: var(--dim); }
.rb-row .rb-sub { display: none; }
@container mtbl (max-width: 719px) {
  .m-top > thead .c-status { width: 130px; }
  .rb-st-n { display: none; }
}
@container mtbl (max-width: 599px) {
  .m-top > thead .c-pols, .m-top > thead .c-rec, .m-top > thead .c-seen, .m-top > tbody > .rb-row > :is(.c-pols, .c-rec, .c-seen) { display: none; }
  .m-top > thead .c-status { width: auto; text-align: right; }
  .m-top > tbody > .rb-row > .c-status { justify-content: flex-end; }
  .rb-st-n { display: none; }
  .rb-row .rb-key { display: none; }
  .rb-row .rb-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rb-row .rb-sub:empty { display: none; }
}
.rd-title { margin: 0; font: inherit; letter-spacing: inherit; overflow-wrap: anywhere; }
.rd-seen { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.rd-seen[hidden], .rd-head .st[hidden] { display: none; }
.rd-rec-head { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.rd-rec-l { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 2px; white-space: nowrap; }
.rd-rec-head > .sel.sel-block { width: auto; }
.rd-rec-err { margin: 6px 0 0; }
.rd-rec-err[hidden] { display: none; }
.rd-page .sec-h { margin: 28px 0 12px; }
.rd-page .tab-panel > .sec-h:first-child { margin-top: 0; }
.rd-page .sec-h h2 { font-size: 17px; font-weight: 650; letter-spacing: -0.012em; }
.rd-page .xp-i[hidden] { display: none; }
.rd-tile { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft);
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); }
.rd-tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lv-tile { width: 28px; height: 28px; border-radius: 8px; }
.lv-tile svg { width: 15px; height: 15px; }
.rd-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; }
.rd-row + .rd-row { border-top: 1px solid var(--line-soft); }
.rd-row-t { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.rd-row-t b { font-size: 13.5px; font-weight: 600; }
.rd-row-sub { color: var(--muted); font-size: 12.5px; }
.rd-row-sub[hidden] { display: none; }
.rd-key { font-family: var(--font-mono); letter-spacing: 0.02em; }
.rd-page .rd-del { margin-top: 28px; }
@media (max-width: 560px) { .rd-row { flex-wrap: wrap; } }
.rd-pols { container: rdpols / inline-size; }
.rd-pol-rows { list-style: none; margin: 0; padding: 0; }
.rd-pol-rows[hidden] { display: none; }
.rd-pol { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 6px 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.rd-pol-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rd-pol-txt .m-link { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rd-pol-kind { color: var(--dim); font-size: 12px; }
.rd-pol-rm.copy { height: 30px; padding: 0 12px; font-size: 12.5px; }
.rd-pol-empty { border-radius: 0; border-bottom: 1px solid var(--line-soft); background: none; }
.rd-add { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--head); }
.rd-add-ico { flex: none; width: 34px; height: 34px; box-sizing: border-box; border: 1.5px dashed var(--t300); border-radius: 10px;
  display: grid; place-items: center; color: var(--t750); background: var(--bg-raised); }
.rd-add-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.rd-add > :not(.rd-add-ico) { flex: 0 1 300px; min-width: 0; }
@container rdpols (max-width: 479px) {
  .rd-pol { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rd-pol > .st { grid-column: 2; grid-row: 2; justify-self: start; }
  .rd-pol > .rd-pol-rm { grid-column: 3; grid-row: 1 / span 2; }
  .rd-add > :not(.rd-add-ico) { flex: 1 1 auto; }
}
.empty-note[data-ico="policy"] { --empty-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5-8 4.5-8-4.5L12 3z'/%3E%3Cpath d='M4 12l8 4.5 8-4.5M4 16.5L12 21l8-4.5'/%3E%3C/svg%3E"); }
.tp-bar { position: sticky; top: 8px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--bg-raised);
  box-shadow: var(--sh-card), 0 10px 22px -16px rgba(14, 26, 43, 0.45); }
.tp-who { flex: 1 1 160px; min-width: 0; display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px;
  font-weight: 500; }
.tp-who::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(14, 26, 43, 0.45); }
.tp-who:empty::before { content: none; }
.tp-said { order: 9; flex: 1 1 100%; min-width: 0; margin: 2px 0 0; color: var(--red); font-size: 12.5px; overflow-wrap: anywhere; }
.tp-said:empty { display: none; }
.tp-who[data-state="yours"] { color: var(--t800); font-weight: 600; }
.tp-who[data-state="yours"]::before { background: var(--t500); box-shadow: 0 0 0 3px var(--t100); }
.tp-who:is([data-state="human"], [data-state="stopped"]) { color: var(--text); }
.tp-who[data-state="human"]::before { background: var(--text); box-shadow: none; }
.tp-who[data-state="stopped"]::before { border-radius: 2px; background: var(--text); box-shadow: none; }
@media (max-width: 560px) { .tp-who { flex-basis: 100%; } .tp-bar .btn { flex: 1 1 0; } }
.tp-view { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; min-height: 220px;
  padding: 10px; border-radius: var(--r-card); background: #0E1A2B; }
.tp-cam { margin: 0; min-width: 0; }
.tp-cam video { display: block; width: 100%; height: auto; border-radius: 10px; background: #000; }
.tp-cam figcaption { margin: 6px 2px 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.62); overflow-wrap: anywhere; }
.tp-none { grid-column: 1 / -1; align-self: center; display: flex; align-items: center; justify-content: center; gap: 2px;
  margin: 0; padding: 40px 16px; color: rgba(255, 255, 255, 0.8); font-size: 13.5px; text-align: center; }
.tp-none[hidden] { display: none; }
.tp-none .xp-i { color: rgba(255, 255, 255, 0.55); }
.tp-none .xp-i:hover, .tp-none .xp-i:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.12); }
.tp-read { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.tp-read > div { min-width: 0; padding: 14px 16px; }
.tp-read > div + div { box-shadow: inset 1px 0 0 var(--line-soft); }
.tp-read dt { color: var(--dim); font-size: 12px; }
.tp-read dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .tp-read { grid-template-columns: minmax(0, 1fr); }
  .tp-read > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 14px; }
  .tp-read > div + div { box-shadow: inset 0 1px 0 var(--line-soft); }
  .tp-read dd { margin: 0; font-size: 15px; }
}
.rb-pols-t td { vertical-align: middle; }
.rb-pols-t .c-name { min-width: 0; }
.rb-pols-t .m-link { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.work .tbl.rb-pols-t { display: table; width: 100%; table-layout: fixed; }
.rb-plain.m-link:hover { text-decoration: none; }
.rb-code-h { margin-top: 14px; color: var(--muted); font-size: 12px; font-weight: 500; }
.rb-code { margin: 6px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
