

[data-panel="svc-home"] .dsh-card {
  display: flex;
  flex-direction: column;
}

#svc-chart {
  position: relative;
  margin: 0 -4px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#svc-chart .ch-body { flex: 1; min-height: 158px; max-height: 420px; }
#svc-chart .ch-plot { min-height: 0; }

#svc-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fl-group,
.fl-row {
  display: grid;
  grid-template-columns: minmax(88px, 148px) minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
}

.fl-group {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(214, 225, 245, 0.6);
}

.fl-group + .fl-rows + .fl-group { margin-top: 15px; }

.fl-group em {
  grid-column: 2 / -1;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
  color: rgba(214, 225, 245, 0.3);
}

.fl-rows { padding-top: 2px; }

.fl-row {
  width: 100%;
  min-height: 32px;
  padding: 0 6px;
  margin-inline: -6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out);
}

.fl-row:hover { background: rgba(150, 180, 255, 0.07); }
.fl-row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.fl-name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-hi);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fl-bar {
  display: flex;
  gap: 2px;
  min-width: 0;
}

.fl-seg {
  flex: 1;
  height: 11px;
  border-radius: 1px;
  background: rgba(190, 210, 255, 0.085);
}

.fl-seg.on { background: #4a7bff; }
.fl-row.is-off .fl-seg.on { background: var(--bad); }

.fl-when {
  font-size: 0.73rem;
  text-align: right;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

.fl-empty {
  padding: 10px 0 4px;
  font-size: 0.82rem;
  color: var(--text-low);
}

[data-panel="svc-home"] .dsh-card:has(> #fl-rows) { container-type: inline-size; }

@container (max-width: 340px) {
  .fl-group {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 7px;
  }

  .fl-group em { grid-column: 1; text-align: left; }

  .fl-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 3px 12px;
    padding: 8px 6px 10px;
  }

  .fl-bar { grid-column: 1 / -1; margin-top: 3px; }
  .fl-when { grid-column: 2; grid-row: 1; }
}

.fl-row.is-extra { display: none; }
#fl-rows.is-full .fl-row.is-extra { display: grid; }

.fl-more {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 9px 6px 2px;
  border: 0;
  border-top: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-low);
  font: inherit;
  font-size: 0.76rem;
  text-align: center;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-out);
}

.fl-more:hover { color: var(--text-hi); }
.fl-more:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.pn-tools-end { margin-left: auto; }

.lic-who {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-hi);
}

.lic-machine {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.71rem;
  letter-spacing: -0.01em;
  color: var(--text-low);
}

.lic-code {
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.79rem;
  letter-spacing: 0.01em;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

.lic-when { font-size: 0.82rem; }

.lic-origin {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.69rem;
  color: var(--text-low);
}

.lic-unnamed {
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(150, 180, 255, 0.3);
  background: none;
  color: var(--text-low);
  font: inherit;
  font-size: 0.83rem;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-out);
}

.lic-unnamed:hover { color: var(--text-hi); border-bottom-color: var(--accent); }
.lic-unnamed:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (max-width: 760px) {

  [data-panel="svc-licenses"] .pn-table-rows tbody td[data-label="Code"] {
    gap: 10px;
  }

  [data-panel="svc-licenses"] .pn-table-rows tbody td[data-label="Code"] .lic-code {
    margin-left: auto;
  }

  [data-panel="svc-licenses"] .pn-table-rows tbody td[data-label="Last contact"] {
    flex-wrap: wrap;
  }

  [data-panel="svc-licenses"] .lic-origin {
    flex: 1 0 100%;
    margin-top: 2px;
    text-align: right;
  }
}

.rn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.rn-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 2px 2px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(214, 225, 245, 0.55);
}

.rn-list > .rn-group:first-child { margin-top: 0; }
.rn-group b { font-weight: 400; color: rgba(214, 225, 245, 0.3); }

.rn {
  --rn-rytm: 7px;
  --rn-luz: 5px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--rn-rytm) 14px;
  padding: 12px 15px 11px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

.rn.is-waiting {
  border-color: rgba(251, 191, 92, 0.34);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(251, 191, 92, 0.07), transparent 60%),
    var(--glass-bg);
}

.rn-machine {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}

.rn-machine b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: inherit;
}

.rn-os {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(42, 91, 255, 0.3);
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(42, 91, 255, 0.2), rgba(42, 91, 255, 0.06));
  color: #7d9dff;
  cursor: help;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rn-os svg { width: 13px; height: 13px; }

.rn-os:hover {
  border-color: rgba(42, 91, 255, 0.55);
  background:
    linear-gradient(160deg, rgba(42, 91, 255, 0.34), rgba(42, 91, 255, 0.12));
  color: #a8c0ff;
}

@media (prefers-reduced-motion: reduce) { .rn-os { transition: none; } }

.rn-state {
  grid-column: 2;
  padding: 2px 9px;
  border: 1px solid color-mix(in srgb, var(--st, #8fa5cc) 34%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--st, #8fa5cc) 12%, transparent);
  font-size: 0.71rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--st, var(--text-mid));
}

.rn-when {
  grid-column: 3;
  font-size: 0.74rem;
  text-align: right;
  color: var(--text-low);
  font-variant-numeric: tabular-nums;
}

.rn-facts {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.55;
  color: var(--text-low);
}

.rn-facts b { font-weight: 500; color: var(--text-mid); }
.rn-facts i { font-style: normal; color: rgba(214, 225, 245, 0.3); }

.rn-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding-left: 9px;
  border-left: 2px solid var(--border-mid);
  font-size: 0.75rem;
  color: var(--text-mid);
}

.rn-log-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 2px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: #7d9dff;
  cursor: pointer;
  transition: color 0.15s ease;
}

.rn-log-link svg { width: 13px; height: 13px; transition: transform 0.15s ease; }
.rn-log-link:hover { color: #a8c0ff; }

.rn-log-link:hover svg { transform: translateX(2px); }
.rn-log-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .rn-log-link, .rn-log-link svg { transition: none; }
  .rn-log-link:hover svg { transform: none; }
}

.rn-acts .rn-log-link { margin-right: 4px; }

.rn-acts .btn.btn-icon,
.rn-lib-row .btn.btn-icon { border-radius: 8px; }

.rn-acts .btn.btn-icon .ic,
.rn-lib-row .btn.btn-icon .ic { width: 16px; height: 16px; }

.rn-acts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: var(--rn-luz);
}

.rn-form {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.rn-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 2px;
  cursor: pointer;
  color: var(--text-mid);
  transition: color 0.14s ease;
}

.rn-check:hover { color: var(--text-hi); }

.rn-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.rn-check-box {
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(150, 180, 255, 0.3);
  border-radius: 6px;
  background: rgba(6, 10, 22, 0.6);
  color: #fff;
  transition: background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.rn-check-box svg {
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.rn-check input:checked + .rn-check-box {
  border-color: transparent;
  background:
    radial-gradient(120% 120% at 30% 18%, rgba(120, 160, 255, 0.65), transparent 60%),
    linear-gradient(180deg, #3f6bff, #2347e0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 9px -4px rgba(42, 91, 255, 0.75);
}

.rn-check input:checked + .rn-check-box svg { opacity: 1; transform: scale(1); }
.rn-check input:checked ~ span:last-child { color: var(--text-hi); }

.rn-check input:focus-visible + .rn-check-box {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rn-check, .rn-check-box, .rn-check-box svg { transition: none; }
}

.rn-form label, .rn-run {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-mid);
}

@media (max-width: 560px) {
  .rn { grid-template-columns: minmax(0, 1fr) auto; --rn-rytm: 6px; gap: var(--rn-rytm) 10px; }

  .rn-machine { grid-column: 1; grid-row: 1; }
  .rn-when { grid-column: 2; grid-row: 1; text-align: right; }
  .rn-state { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}

#svc-log-modal > div { max-width: 940px; }

.rn-log-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px 12px;
  border-bottom: 1px solid var(--border-soft);
}

.rn-log-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-hi);
}

.rn-lib-head {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}

.rn-log-sub {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--text-low);
}

.rn-log-tally {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.74rem;
  color: var(--text-low);
}

.rn-log-tally b {
  margin-right: 5px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--st, var(--text-mid));
  font-variant-numeric: tabular-nums;
}

.rn-log-chip {
  display: inline-flex;
  align-items: baseline;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.rn-log-chip:hover {
  color: var(--text-hi);
  border-bottom-color: color-mix(in srgb, var(--st) 45%, transparent);
}

.rn-log-chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.rn-log-chip.is-here {
  color: var(--text-hi);
  border-bottom-color: var(--st);
}

.rn-log-count { display: inline-flex; align-items: baseline; padding: 0 0 2px; }

@media (prefers-reduced-motion: reduce) { .rn-log-chip { transition: none; } }

.rn-log-out {
  flex: 1;
  margin: 0;
  padding: 12px 18px 16px;
  overflow: auto;
  background: rgba(3, 5, 14, 0.5);
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 4;
}

.rn-log-out:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.rn-log-l {
  display: block;
  color: rgba(214, 225, 245, 0.62);
}

.rn-log-l.is-hit {
  background: rgba(120, 160, 255, 0.16);
  box-shadow: inset 3px 0 0 var(--accent);
  margin: 0 -18px;
  padding: 0 18px;
}

@media (max-width: 640px) {
  .rn-log-l.is-hit { margin: 0 -15px; padding: 0 15px; }
}

.rn-log-l.is-ok { color: var(--ok); }
.rn-log-l.is-warn { color: var(--warn); }

.rn-log-l.is-bad {
  color: var(--bad);
  margin: 0 -18px;
  padding: 0 18px;
  background: rgba(251, 138, 138, 0.09);
}

@media (max-width: 640px) {
  .rn-log-bar { padding: 13px 15px 11px; }
  .rn-log-tally { padding: 9px 15px; }
  .rn-log-out { padding: 11px 15px 14px; font-size: 0.66rem; }
  .rn-log-l.is-bad { margin: 0 -15px; padding: 0 15px; }
}

.rn-lib-acts { display: flex; gap: 7px; }

.rn-lib-plus { position: relative; overflow: hidden; cursor: pointer; }
.rn-lib-plus input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rn-lib-plus.is-busy { pointer-events: none; opacity: 0.55; }

.rn-lib-note {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.75rem;
  color: var(--text-low);
}

.rn-lib-note:empty { display: none; }
.rn-lib-note.is-bad { color: var(--bad); }
.rn-lib-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 18px;
  overflow: auto;
}

.rn-lib-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 12px;
  padding: 11px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  background: var(--glass-bg);
}

.rn-lib-name {
  grid-column: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-hi);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-lib-row .actions-row { grid-column: 2; grid-row: 1 / span 2; }

.rn-lib-meta {
  grid-column: 1;
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.55;
  color: var(--text-low);
}

.rn-lib-meta code {
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.71rem;
  color: var(--text-mid);
}

.rn-lib-meta i { font-style: normal; color: rgba(214, 225, 245, 0.3); }

.rn-lib-star {
  flex: none;
  width: 13px;
  height: 13px;
  margin-left: 7px;
  color: #6f95ff;
  vertical-align: -1px;
}

.rn-lib-row .btn.is-on { color: var(--accent); border-color: rgba(42, 91, 255, 0.45); }

.rn-lib-used {
  flex: none;
  display: inline-flex;
  margin-left: 7px;
  color: var(--warn);
  cursor: help;
}

.rn-lib-used svg { width: 13px; height: 13px; }

.rn-lib-row.is-editing .actions-row { display: none; }

.rn-lib-edit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.rn-lib-edit input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 120px;
  min-width: 0;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  background: rgba(10, 14, 30, 0.7);
  color: var(--text-hi);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.14s ease;
}

.rn-lib-edit input:focus {
  outline: none;
  border-color: rgba(120, 160, 255, 0.36);
}

@media (max-width: 560px) {
  .rn-lib-note { padding: 9px 15px; }
  .rn-lib-list { padding: 12px 15px 15px; }
}

.pn-table-run tbody td:first-child {
  border-left: 3px solid color-mix(in srgb, var(--ok) 45%, transparent);
}

.pn-table-run tbody tr.is-bad td:first-child { border-left-color: var(--warn); }

.pn-table-run tbody tr { cursor: pointer; }
.pn-table-run tbody tr:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.pn-table-run tbody td { padding: 9px 16px; }
.pn-table-run thead th { padding: 10px 16px; }

.run-machine {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}

.run-machine b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: inherit; }

.run-os { flex: none; display: inline-flex; color: rgba(125, 157, 255, 0.62); }
.run-os svg { width: 12px; height: 12px; }

.run-spec {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(214, 225, 245, 0.52);
}

.run-spec i { font-style: normal; color: rgba(214, 225, 245, 0.22); }

.run-state { font-size: 0.74rem; font-weight: 500; color: var(--st, var(--text-mid)); }
.run-when { font-size: 0.74rem; color: var(--text-low); font-variant-numeric: tabular-nums; }

.run-diag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: rgba(125, 157, 255, 0.7);
  transition: color 0.14s ease, background 0.14s ease;
}

.run-diag svg { width: 14px; height: 14px; }
.run-diag:hover { color: #a8c0ff; background: rgba(42, 91, 255, 0.14); }
.run-diag:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .run-diag { transition: none; } }

@media (min-width: 761px) {
  .pn-table-run { table-layout: fixed; }
  .pn-table-run th:nth-child(1) { width: 21%; }
  .pn-table-run th:nth-child(3) { width: 92px; }
  .pn-table-run th:nth-child(4) { width: 88px; }
  .pn-table-run th:nth-child(5) { width: 58px; }
  .pn-table-run tbody td { overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 760px) {
  .pn-table-run tbody td:first-child { border-left: 0; }
  .pn-table-run tbody tr { position: relative; }

  .pn-table-run tbody tr::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 15px;
    width: 3px;
    height: 14px;
    border-radius: 1.5px;
    background: color-mix(in srgb, var(--ok) 55%, transparent);
  }

  .pn-table-run tbody tr.is-bad::before { background: var(--warn); }

  .pn-table-run tbody tr:has(td.pn-empty)::before { display: none; }

  .pn-table-run tbody td { padding: 6px 0; }
}

.rn-log-hw {
  border-bottom: 1px solid var(--border-soft);
}

.rn-log-hw summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(214, 225, 245, 0.5);
  cursor: pointer;
  list-style: none;
  transition: color 0.14s ease;
}

.rn-log-hw summary::-webkit-details-marker { display: none; }
.rn-log-hw summary:hover { color: var(--text-mid); }
.rn-log-hw summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.rn-log-hw summary::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
}

.rn-log-hw[open] summary::before { transform: rotate(45deg); }

.rn-log-hw dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0 18px 13px;
}

.rn-log-hw div { min-width: 0; }

.rn-log-hw dt {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(214, 225, 245, 0.45);
}

.rn-log-hw dd {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.73rem;
  line-height: 1.4;
  color: var(--text-mid);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .rn-log-hw summary { padding: 10px 15px; }
  .rn-log-hw dl { padding: 0 15px 12px; gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .rn-log-hw summary, .rn-log-hw summary::before { transition: none; }
}

.rn-log-out,
.rn-lib-list,
.sr-form {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 150, 215, 0.34) transparent;
}

.rn-log-out::-webkit-scrollbar,
.rn-lib-list::-webkit-scrollbar,
.sr-form::-webkit-scrollbar { width: 10px; height: 10px; }

.rn-log-out::-webkit-scrollbar-track,
.rn-lib-list::-webkit-scrollbar-track,
.sr-form::-webkit-scrollbar-track { background: transparent; }

.rn-log-out::-webkit-scrollbar-thumb,
.rn-lib-list::-webkit-scrollbar-thumb,
.sr-form::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(120, 150, 215, 0.34);
  background-clip: content-box;
}

.rn-log-out::-webkit-scrollbar-thumb:hover,
.rn-lib-list::-webkit-scrollbar-thumb:hover,
.sr-form::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 180, 255, 0.55);
  background-clip: content-box;
}

.rn-log-out::-webkit-scrollbar-button,
.rn-lib-list::-webkit-scrollbar-button,
.sr-form::-webkit-scrollbar-button { display: none; }

.rn-log-out::-webkit-scrollbar-corner,
.rn-lib-list::-webkit-scrollbar-corner,
.sr-form::-webkit-scrollbar-corner { background: transparent; }

.rn-note-edit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: calc(var(--rn-rytm) + var(--rn-luz));
  margin-top: 0;
}

.rn-note-edit textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid var(--border-mid);
  border-radius: 9px;
  background: rgba(10, 14, 30, 0.7);
  color: var(--text-hi);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.14s ease;
}

.rn-note-edit textarea:focus {
  outline: none;
  border-color: rgba(120, 160, 255, 0.36);
}

.rn-note-edit textarea::placeholder { color: rgba(214, 225, 245, 0.32); }

.rn-note-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }

.rn-note-acts .btn.btn-icon { border-radius: 8px; }
.rn-note-acts .btn.btn-icon .ic { width: 16px; height: 16px; }

.rn-note-left {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-low);
  font-variant-numeric: tabular-nums;
}

.rn-note-left.is-bad { color: var(--warn); }

.fi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--fi-min, 186px), 1fr));
  gap: 12px;
}

.fi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.16s var(--ease-out);
}

.fi-card:hover { border-color: rgba(120, 160, 255, 0.3); }
.fi-card:hover .fi-face { background: var(--fi-face-hi); }

.fi-face {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 16 / 10;
  background: var(--tile-bg);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.16s var(--ease-out);
}

:root { --fi-face-hi:
  radial-gradient(135% 135% at 25% 12%, rgba(110, 150, 255, 0.26), transparent 64%),
  linear-gradient(180deg, rgba(22, 32, 64, 0.86), rgba(12, 18, 40, 0.92)); }

.fi-glyph {
  width: 34px;
  height: 34px;
  color: rgba(150, 185, 255, 0.72);
  stroke-width: 1.6;
}

.fi-ext {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  color: rgba(182, 206, 255, 0.82);
}

.fi-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 84px;
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: var(--r-card);
  border: 1px dashed rgba(150, 180, 255, 0.22);
  background: rgba(120, 160, 255, 0.03);
  color: var(--text-low);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s var(--ease-out), background 0.16s var(--ease-out),
              color 0.16s var(--ease-out);
}

.fi-drop b {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
}

.fi-drop-hint { font-size: 0.74rem; line-height: 1.35; }

.fi-drop-plus {
  display: grid;
  place-items: center;
  flex: none;
  color: rgba(150, 185, 255, 0.72);
  transition: color 0.16s var(--ease-out);
}

.fi-drop-plus svg { width: 21px; height: 21px; }

.fi-drop:hover,
.fi-drop:focus-visible {
  border-color: rgba(120, 160, 255, 0.42);
  background: rgba(120, 160, 255, 0.06);
  color: var(--text-mid);
}

.fi-drop:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.fi-drop:hover .fi-drop-plus,
.fi-drop:focus-visible .fi-drop-plus { color: #cfe0ff; }

.fi-drop.is-over {
  border-color: rgba(120, 160, 255, 0.6);
  border-style: solid;
  background: rgba(42, 91, 255, 0.12);
  color: var(--text-hi);
}

.fi-drop.is-over .fi-drop-plus { color: #dce8ff; }

.fi-drop.is-busy {
  pointer-events: none;
  border-style: solid;
  border-color: rgba(150, 180, 255, 0.3);
  color: var(--text-mid);
}

.fi-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px 11px;
}

.fi-name,
.fi-who,
.fi-nums { margin: 0; }

.fi-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.32;
  color: var(--text-hi);
}

.fi-who {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 0.7rem;
  color: var(--text-low);
}

.fi-who svg { flex: none; width: 11px; height: 11px; }
.fi-who b {
  min-width: 0;
  overflow: hidden;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fi-nums {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: rgba(214, 225, 245, 0.5);
}

.fi-nums i { font-style: normal; color: rgba(214, 225, 245, 0.24); }

.fi-acts {
  display: flex;
  gap: 3px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 9px;
}

.fi-grid > .pn-empty,
.sr-grid > .pn-empty { grid-column: 1 / -1; }

.fi-total {
  margin-block: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-low);
}

@media (max-width: 560px) { .fi-grid { --fi-min: 148px; gap: 10px; } }

@media (max-width: 560px) {
  .fi-drop { min-height: 68px; padding: 12px 14px; }
  .fi-drop-hint { display: none; }
}
@media (max-width: 380px) { .fi-grid { --fi-min: 118px; gap: 8px; } }

@media (max-width: 380px) {
  .fi-body { padding: 9px 10px; }
  .fi-glyph { width: 28px; height: 28px; }
  .fi-total.pn-tools-end { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fi-card, .fi-face { transition: none; }
}

.sr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--sr-min, 194px), 1fr));
  gap: 12px;
}

.sr-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.16s var(--ease-out);
}

.sr-card:hover { border-color: rgba(120, 160, 255, 0.3); }
.sr-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.sr-face {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--tile-bg);
  border-bottom: 1px solid var(--border-soft);
}

.sr-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.sr-noicon { display: none; color: rgba(150, 180, 255, 0.34); }
.sr-noicon svg { width: 30px; height: 30px; }
.sr-icon.is-gone { display: none; }
.sr-icon.is-gone ~ .sr-noicon { display: block; }
.sr-card.is-noicon .sr-noicon { display: block; }

.sr-flag {
  position: absolute;
  top: 7px;
  right: 9px;
  display: inline-flex;
  color: var(--warn);
}

.sr-flag svg { width: 13px; height: 13px; }

.sr-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px 12px;
}

.sr-title {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.28;
  color: var(--text-hi);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-pub {
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-low);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.42;
  color: var(--text-mid);
}

.sr-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: rgba(214, 225, 245, 0.5);
}

.sr-star { flex: none; width: 11px; height: 11px; color: rgba(150, 180, 255, 0.6); }
.sr-meta i { font-style: normal; color: rgba(214, 225, 245, 0.24); }

.sr-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px 12px;
  border-bottom: 1px solid var(--border-soft);
}

.sr-mt {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-hi);
}

.sr-ms {
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-weight: var(--fw-mono);
  font-size: 0.7rem;
  color: var(--text-low);
}

#svc-store-modal > div {
  max-width: 700px;
  max-height: min(94vh, 880px);
  max-height: min(94dvh, 880px);
}

.sr-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 13px 18px 12px;
}

.sr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.sr-field { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }

.sr-field label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-mid);
}

.sr-field label i {
  font-style: normal;
  font-weight: 400;
  color: var(--text-low);
}

.sr-count {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-low);
}

.sr-count.is-full { color: var(--warn); }

.sr-field input,
.sr-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-mid);
  border-radius: 9px;
  background: rgba(10, 14, 30, 0.7);
  color: var(--text-hi);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.45;
  transition: border-color 0.14s ease;
}

.sr-field input { height: 34px; }
.sr-field textarea { min-height: 66px; resize: vertical; }

.sr-field input:focus,
.sr-field textarea:focus {
  outline: none;
  border-color: rgba(120, 160, 255, 0.36);
}

.sr-field input::placeholder,
.sr-field textarea::placeholder { color: rgba(214, 225, 245, 0.32); }

.sr-field input:disabled {
  color: var(--text-low);
  background: rgba(10, 14, 30, 0.4);
  cursor: not-allowed;
}

.sr-ikona {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(10, 14, 30, 0.45);
}

.sr-ikona-pod {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--tile-border);
  background: var(--tile-bg);
}

.sr-ikona-pod img,
.sr-ikona-pod svg { display: block; }

.sr-ikona-pod img { width: 34px; height: 34px; object-fit: contain; }
.sr-ikona-pod svg { width: 20px; height: 20px; color: rgba(150, 180, 255, 0.34); }

.sr-ikona-pod .sr-noicon { display: block; }

.sr-ikona > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.sr-ikona b { font-size: 0.72rem; font-weight: 500; color: var(--text-mid); }
.sr-ikona .sr-hint { margin: 0; }
.sr-ikona button { align-self: flex-start; }

.sr-hint {
  margin: -4px 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-low);
}

.sr-picks { display: flex; flex-wrap: wrap; gap: 6px; }

.sr-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sr-pick span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-mid);
  background: rgba(10, 14, 30, 0.6);
  color: var(--text-low);
  font-size: 0.7rem;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.sr-pick:hover span { border-color: rgba(120, 160, 255, 0.3); color: var(--text-mid); }

.sr-pick input:checked + span {
  border-color: rgba(120, 160, 255, 0.5);
  background: rgba(42, 91, 255, 0.2);
  color: #dbe6ff;
}

.sr-pick input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.sr-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--border-soft);
}

.sr-danger { margin-right: auto; }
.sr-danger:hover { color: var(--bad); border-color: rgba(251, 138, 138, 0.36); }

@media (max-width: 560px) {
  .sr-grid { --sr-min: 150px; gap: 10px; }

  .sr-grid { grid-template-columns: 1fr; gap: 8px; }

  .sr-card {
    position: relative;
    flex-direction: row;
    align-items: stretch;
  }

  .sr-face {
    position: static;
    aspect-ratio: auto;
    width: 66px;
    border-bottom: 0;
    border-right: 1px solid var(--border-soft);
  }

  .sr-icon { width: 34px; height: 34px; }
  .sr-noicon svg { width: 22px; height: 22px; }

  .sr-flag { top: 8px; right: 9px; }

  .sr-body {
    justify-content: center;
    gap: 1px;
    padding: 9px 12px;
    padding-right: 30px;
  }

  .sr-desc { display: none; }
  .sr-meta { margin-top: 4px; }

  [data-panel="svc-store"] .pn-tools .pn-field:has(#svc-store-q) {
    flex: 1 0 100%;
  }

  [data-panel="svc-store"] .pn-tools .btn-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 380px) {
  .sr-face { width: 58px; }
  .sr-icon { width: 40px; height: 40px; }
  .sr-body { padding: 9px 10px 10px; }
  .sr-desc { display: none; }
}

@media (max-width: 560px) {
  .sr-two { grid-template-columns: 1fr; }
  .sr-form { padding: 14px; }
  .sr-foot { padding: 12px 14px 14px; }
}

.sr-num { position: relative; display: block; min-width: 0; }

.sr-num input[type="number"] {
  padding-right: 32px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.sr-num input[type="number"]::-webkit-outer-spin-button,
.sr-num input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sr-num-btns {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 24px;
  overflow: hidden;
  border-left: 1px solid var(--border-soft);
  border-radius: 0 8px 8px 0;
}

.sr-num-btns button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(150, 180, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.sr-num-btns button + button { border-top: 1px solid var(--border-soft); }
.sr-num-btns button:hover { background: rgba(95, 135, 255, 0.16); color: var(--text-hi); }
.sr-num-btns button:active { background: rgba(95, 135, 255, 0.26); }
.sr-num-btns .ic { width: 11px; height: 11px; }

.sr-num input:disabled ~ .sr-num-btns { display: none; }

@media (prefers-reduced-motion: reduce) {
  .sr-card, .sr-field input, .sr-field textarea, .sr-pick span,
  .sr-num-btns button {
    transition: none;
  }
}

.up-skel .sk-ver { width: 46px; height: 13px; }
.up-skel .sk-a { width: 64px; height: 13px; }
.up-skel .sk-b { width: 46px; height: 11px; margin-top: 12px; }
.up-skel .sk-dot { width: 9px; height: 9px; border-radius: 50%; }
.up-skel .sk-act { width: 30px; height: 30px; border-radius: 9px; }

.up-skel .sk-acts {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .up-skel .sk-acts { justify-content: flex-start; }
}

@media (max-width: 760px) {
  [data-panel="svc-updates"] .pn-refresh {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  [data-panel="svc-updates"] .rl-drop .pn-action-icon {
    flex: 0 0 42px;
    height: 42px;
    min-height: 42px;
  }

  [data-panel="svc-updates"] .rl-pick-face { min-height: 44px; }

  [data-panel="svc-updates"] .actions-row .btn.btn-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  [data-panel="svc-updates"] .pn-table-rows tbody td.u-actions .actions-row {
    gap: 12px;
  }
}

.tk-msg {
  flex: none;
  max-height: 190px;
  padding: 11px 13px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
}

.tk-hw {
  border: 1px solid var(--border-soft);
  border-radius: 9px;
}

.tk-hw summary { padding: 9px 13px; }

.tk-hw dl {
  padding: 0 13px 11px;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.sr-field .sr-count { white-space: nowrap; }

.st-warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid rgba(240, 186, 96, 0.26);
  border-left-width: 3px;
  border-radius: 10px;
  background: rgba(150, 108, 40, 0.13);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 228, 186, 0.88);
}

.st-warn .ic {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #ffd08a;
}

.st-h3 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-hi);
}

.st-sec + .st-sec { margin-top: 20px; }

.st-log {
  border: 0;
  border-radius: 0;
  background: none;
}

.st-log .pn-table th:first-child,
.st-log .pn-table td:first-child { padding-left: 0; }
.st-log .pn-table th:last-child,
.st-log .pn-table td:last-child { padding-right: 0; }

.st-log .pn-table thead th {
  border-bottom: 1px solid var(--border-mid);
}

@media (max-width: 760px) {
  .st-log .pn-table td:first-child,
  .st-log .pn-table td:last-child { padding-left: 16px; padding-right: 16px; }
}

.sr-form .sel-menu {
  max-height: 244px;
  overflow-y: auto;
}

.sr-form .sel.is-open .sel-menu {
  position: static;
  margin-top: 6px;
  transform: none;
}

.sk-tile {
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.sk-tile > i {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--tile-bg);
  border-bottom: 1px solid var(--border-soft);
}

.sk-tile > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 12px 14px;
}

.sk-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.sk-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 2px;
}

.sk-lines .sk { height: 9px; }

.svc-bad { color: var(--bad); font-weight: 500; }

.pn-table-rows thead th:last-child:has(.pn-vh) { width: 1%; }

.rl-sha { font-family: var(--font-mono); font-weight: var(--fw-mono); font-size: 0.8rem; color: var(--text-mid); }

.rl-res-row { display: flex; align-items: center; gap: 11px; }
.rl-res-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  background: rgba(150, 180, 255, 0.05);
  color: #a9c0ff;
}
.rl-res-ic .ic { width: 17px; height: 17px; }
.rl-res-tx { display: flex; flex-direction: column; min-width: 0; }

.wp-group + .wp-group { margin-top: 22px; }
.wp-head { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; }
.wp-head .rn-group { margin: 0; }
.wp-head-acts { display: flex; gap: 3px; margin-left: auto; }

.fi-grid.wp-grid { --fi-min: 210px; }
.wp-face { aspect-ratio: 16 / 9; overflow: hidden; }
.wp-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-warn { display: inline-flex; vertical-align: -2px; color: var(--warn); }
.wp-warn svg { width: 13px; height: 13px; }

#svc-wp-modal > div { max-width: 520px; }
.wp-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-tile);
  border: 1px solid var(--border-soft);
  background: var(--tile-bg);
}

@media (pointer: coarse) {
  [data-panel="svc-wallpapers"] .btn.btn-icon.btn-sm,
  #svc-wp-modal .btn.btn-icon.btn-sm { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
  [data-panel="svc-wallpapers"] .rn-lib-edit input { height: 40px; }
}
