.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(--tile-print); color: #fff; }
.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-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: var(--focus-line); outline-offset: 2px; border-radius: 3px; }
@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-st.is-bad { color: var(--red); }
.rb-st.is-bad::before { background: var(--red); }
.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 td.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 td.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; flex-wrap: wrap; 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-sub { display: flex; align-items: center; gap: 7px; margin-left: 10px; color: var(--muted); font-size: 13px; }
.rd-rec-sub::before { content: ""; flex: none; width: 7px; height: 7px; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid var(--dim); }
.rd-rec-sub.is-on::before { border: 0; background: var(--t500); }
.rd-rec-sub:empty::before { content: none; }
.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; }
.rd-pol > .ei { width: 34px; height: 34px; border-radius: 10px; }
.rd-pol > .ei-logo img { padding: 6px; }
.rd-pol > .ei-fill img { padding: 0; }
.rd-pol > .ei-none::before { width: 18px; height: 18px; }
.lv-tile svg { width: 15px; height: 15px; }
:root {
  --rd-grain: var(--acc-grain);
  --rd-bloom: radial-gradient(62% 130% at 100% 100%, var(--acc-green));
  --rd-bloom-red: radial-gradient(62% 150% at 100% 100%, var(--acc-red));
  --rd-rise: cubic-bezier(.22, .8, .2, 1);
}
.rd-set, .rd-del, .rk-card { position: relative; isolation: isolate; overflow: hidden; background-color: var(--bg-raised); }
.rd-set::before, .rd-del::before, .rk-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--rd-bloom); transform-origin: 100% 100%; }
.rd-del::before { background: var(--rd-bloom-red); }
.rd-set::after, .rd-del::after, .rk-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--rd-grain) 0 0 / 160px 160px; }
.rd-set { box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.rd-set-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; min-height: 70px;
  padding: 14px 20px; }
.rd-set-row + .rd-set-row { border-top: 1px solid var(--line-soft); }
.rd-set-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--t500); transform: scaleY(0); transition: transform 0.2s var(--rd-rise); }
.rd-set-row::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(220, 247, 236, 0.9), rgba(220, 247, 236, 0) 58%); transition: opacity 0.2s ease; }
.rd-set > .rd-set-row:hover::after { opacity: 1; }
.rd-set > .rd-set-row:is(:hover, :focus-within)::before { transform: none; }
.rd-set-row.is-fresh::after { animation: rd-fresh 1.4s ease-out; }
@keyframes rd-fresh { from { opacity: 1; } to { opacity: 0; } }
.rd-set-t { flex: 1 1 160px; min-width: 0; }
.rd-set-h { display: flex; align-items: center; gap: 2px; }
.rd-set-k { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--text); }
.rd-set-sub { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.rd-set-c { flex: none; display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .rd-set-t { flex-basis: 100%; } }
.rd-key { display: inline-block; padding: 6px 9px; border-radius: 8px; background-color: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/1.2 var(--font-mono); letter-spacing: 0.04em; color: var(--text); }
.rd-key-sub { display: flex; align-items: center; gap: 7px; }
.rd-key-sub::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--t500); }
.rd-key-sub.is-bad { color: var(--red); }
.rd-key-sub.is-bad::before { background: var(--red); }
.rd-key-sub:has(> :empty)::before { content: none; }
.rd-page .rd-del { margin-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  .rd-set-row::before, .rd-set-row::after { transition: none; }
  .rd-set-row.is-fresh::after { animation: none; }
}
@media (min-width: 601px) { .modal-card.rk-card { max-width: 560px; } }
.rk-slip { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 18px; padding: 5px 15px; border-radius: 13px;
  background: var(--rd-grain) 0 0 / 160px 160px, #F7F9F8; box-shadow: inset 0 0 0 1px rgba(14, 26, 43, 0.16); cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease; }
.rk-slip:hover { box-shadow: inset 0 0 0 1px rgba(14, 26, 43, 0.34); }
.rk-slip:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(14, 26, 43, 0.34), var(--focus-ring); }
.rk-slip.is-copied { background-color: var(--t50); box-shadow: inset 0 0 0 1.5px var(--t400); }
.rk-key { flex: 1 1 auto; min-width: 0; padding: 6px 0; font: 600 13px/1.55 var(--font-mono); color: var(--text);
  overflow-wrap: normal; word-break: normal; }
.rk-hint { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.2 var(--font-ui); color: var(--t750);
  opacity: 0; transform: translateX(4px); transition: opacity 0.18s ease, transform 0.3s var(--rd-rise); }
.rk-slip:is(:hover, :focus-visible, .is-copied) .rk-hint { opacity: 1; transform: none; }
@media (hover: none) { .rk-hint { opacity: 1; transform: none; } }
.rk-hint > .cp-ic { width: 14px; height: 14px; margin-left: 0; }
.rk-key > span { display: inline-block; }
.rk-key > .rk-pre { font-weight: 400; }
.rk-key > .rk-g:not(:last-child) { margin-right: 0.36em; }
.rk-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rk-card .modal-h > span { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .rk-slip, .rk-hint { transition: none; } }
.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; }
}
.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; }
