/* VoltPlaca - estilos gerais */

:root {
  --bg: #0f1420;
  --bg-soft: #161d2e;
  --panel: #1c2438;
  --panel-2: #232c44;
  --border: #2c3652;
  --text: #eef1f8;
  --text-muted: #9aa4bd;
  --accent: #f4a11a;
  --accent-strong: #ffb703;
  --accent-2: #2dd4bf;
  --danger: #ef4444;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.screen {
  min-height: 100vh;
}

/* ---------- Capa ---------- */

#screen-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #1b2540 0%, #0f1420 60%);
  padding: 16px;
}

.cover-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  max-width: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 161, 26, 0.25), transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.cover-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.logo-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease;
}
.logo-button:active {
  transform: scale(0.94);
}

.logo-svg {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 8px 18px rgba(244, 161, 26, 0.35));
}
.logo-small {
  width: 64px;
  height: 64px;
}

.cover-title {
  margin: 18px 0 4px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cover-brand {
  margin: 2px 0 10px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cover-tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cover-hint {
  margin-top: 28px;
  font-size: 0.75rem;
  color: #5c6785;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- App shell ---------- */

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15, 20, 32, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.app-header-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-header-title {
  font-weight: 800;
  font-size: 1.05rem;
}
.app-header-company {
  display: none;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow-x: auto;
}

.breadcrumb-link {
  background: none;
  border: none;
  color: var(--accent-2);
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}

.icon-button {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}
.icon-button:hover {
  border-color: var(--accent);
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.icon-muted {
  color: var(--text-muted);
}

.dropdown {
  position: absolute;
  right: 12px;
  top: 62px;
  z-index: 20;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px;
}
.dropdown-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
}
.dropdown-item:hover {
  background: var(--panel-2);
}
.dropdown-item-danger {
  color: #ff8686;
}

.app-body {
  display: flex;
  align-items: flex-start;
}

.app-main {
  flex: 1;
  min-width: 0;
  padding: 16px;
  padding-bottom: 60px;
  max-width: 720px;
  margin: 0 auto;
}

/* Barra lateral: escondida por padrao (celular). So aparece em telas
   largas o suficiente pra sobrar espaco de verdade — daí o app deixa de
   parecer um site de celular esticado e vira um painel de trabalho. */
.app-sidebar {
  display: none;
}

@media (min-width: 960px) {
  .app-header-company {
    display: inline;
  }
  .app-sidebar {
    display: flex;
    flex-direction: column;
    width: 260px;
    flex-shrink: 0;
    height: calc(100vh - 65px);
    position: sticky;
    top: 65px;
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    overflow-y: auto;
  }
  .app-main {
    max-width: 900px;
    margin: 0;
    padding: 28px 40px;
  }
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.sidebar-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sidebar-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.sidebar-row:hover {
  background: var(--panel);
}
.sidebar-row.active {
  background: var(--panel-2);
}
.sidebar-row.active > .sidebar-row-name {
  color: var(--accent-strong);
  font-weight: 700;
}
.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 20px;
  flex-shrink: 0;
  font-size: 0.7rem;
}
.sidebar-row-name {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 7px 4px;
  font-size: 0.85rem;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-children {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-left: 14px;
  border-left: 1px dashed var(--border);
  padding-left: 4px;
}

/* ---------- Busca ---------- */

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.search-result-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
}
.search-result-row:hover {
  border-color: var(--accent);
}
.search-result-path {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.search-result-name {
  font-weight: 700;
}

/* ---------- Categorias (estilo Instagram) ---------- */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.categories-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.categories-strip.dragging {
  cursor: grabbing;
  user-select: none;
}
.categories-strip::-webkit-scrollbar {
  height: 6px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  flex: 0 0 auto;
  width: 84px;
}

.category-photo-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-2));
}
.category-photo,
.category-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-2);
  border: 3px solid var(--bg);
}
.category-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0 4px;
  color: var(--accent-strong);
}
.category-edit {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}
.category-name {
  font-size: 0.78rem;
  text-align: center;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Pagina de no / sanfona ---------- */

.node-header {
  margin-bottom: 14px;
}
.node-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.node-title {
  margin: 0;
  font-size: 1.3rem;
}
.node-banner {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-left: calc(var(--depth, 0) * 14px);
  overflow: hidden;
}
.acc-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  cursor: pointer;
}
.acc-chevron {
  color: var(--accent);
  width: 16px;
  text-align: center;
}
.acc-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acc-row-head {
  flex-wrap: nowrap;
}
.acc-edit-btn {
  flex: none;
}
.acc-edit-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 6px;
}
.acc-edit-btn:hover {
  color: var(--accent);
}
.acc-row-body {
  padding: 0 12px 12px;
  border-top: 1px solid var(--border);
}
.acc-children {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}
.loading {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 10px 0;
}

/* ---------- Plaquinha de motor ---------- */

.nameplate {
  background: linear-gradient(160deg, #3a4358 0%, #232b3d 45%, #1a2130 100%);
  border: 1px solid #454f68;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 10px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
}
.nameplate-head {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 8px;
}
.nameplate-subhead {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent-2);
  font-weight: 800;
  margin: 14px 0 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.nameplate-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nameplate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.nameplate-label {
  font-size: 0.72rem;
  color: #c7cee2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nameplate-value {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nameplate-row-actions {
  display: flex;
  gap: 4px;
}
.icon-mini-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.icon-mini-button:hover {
  border-color: var(--accent);
}

/* ---------- Botoes / chips ---------- */

.chip-button {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  cursor: pointer;
}
.chip-button:hover {
  border-color: var(--accent);
}
.chip-button-ghost {
  background: none;
  margin-top: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #1a1204;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary:hover {
  filter: brightness(1.05);
}

.icon-mini-button-danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ff8686;
}
.is-hidden-node {
  opacity: 0.5;
}

.btn-danger {
  background: none;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  margin-top: 4px;
}

.link-button {
  background: none;
  border: none;
  color: var(--accent-2);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
}
.link-button-danger {
  color: #ff8686;
}

/* ---------- Modais ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}

.modal-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-card-wide {
  max-width: 520px;
}

.modal-back {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 0 10px;
}
.modal-back:hover {
  color: var(--accent);
}

.modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.modal-card h2 {
  margin: 0 0 6px;
  text-align: left;
}
.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.form h3 {
  margin: 14px 0 -2px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.field-hint {
  margin: 0;
  font-size: 0.72rem;
  color: #7c86a3;
  line-height: 1.3;
}
.field-hint.section-hint {
  margin-bottom: 8px;
}

.photo-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
}
.photo-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.banner-preview {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.toggle-label {
  padding: 8px 0;
}
.toggle-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #22c55e;
  cursor: pointer;
}

.cropper-viewport {
  position: relative;
  overflow: hidden;
  margin: 10px auto 0;
  background: #000;
  touch-action: none;
  cursor: grab;
  width: 260px;
  height: 260px;
  border-radius: 50%;
}
.cropper-viewport.wide {
  width: 100%;
  max-width: 320px;
  height: 110px;
  border-radius: var(--radius-md);
}
.cropper-viewport.dragging {
  cursor: grabbing;
}
.cropper-viewport img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.avatar-preview {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.avatar-small {
  width: 28px;
  height: 28px;
}
.header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.field-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field-block:last-child {
  margin-bottom: 0;
}
.field-block-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form input[type="text"],
.form input[type="password"],
.form input[type="number"] {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.form input:focus {
  border-color: var(--accent);
}
.form-inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.form-inline input {
  flex: 1;
  min-width: 120px;
}
label.checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.password-field {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}
.password-field input {
  border: none !important;
  background: none !important;
  flex: 1;
}
.eye-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
}

.form-error {
  color: #ff8686;
  font-size: 0.82rem;
  margin: 0;
}
.form-success {
  color: #7ee0a4;
  font-size: 0.82rem;
  margin: 0;
}
.security-question {
  font-size: 0.88rem;
}

/* ---------- Admin: lista de usuarios ---------- */

.user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  flex-wrap: wrap;
}
.user-row-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.user-row-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.user-row-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-admin {
  background: rgba(244, 161, 26, 0.18);
  color: var(--accent-strong);
}
.badge-warn {
  background: rgba(239, 68, 68, 0.15);
  color: #ff8686;
}
.badge-info {
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent-2);
}
.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}
.badge-ok {
  background: rgba(45, 212, 191, 0.15);
  color: #7ee0a4;
}
.badge-nok {
  background: rgba(239, 68, 68, 0.15);
  color: #ff8686;
}

/* ---------- Historico de inspecao ---------- */

.inspection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}
.inspection-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}
.inspection-card-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.inspection-date {
  font-weight: 800;
  color: var(--accent-strong);
}
.inspection-executor {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.inspection-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.inspection-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ---------- Editor completo da plaquinha ---------- */

.custom-field-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.custom-field-row input {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.9rem;
  min-width: 0;
}
.custom-field-row input:first-child {
  flex: 1;
}
.custom-field-row input:nth-child(2) {
  flex: 1.2;
}

/* ---------- Aviso de nova versao ---------- */

.update-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--accent-strong);
  color: #1a1204;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}
.update-banner button {
  background: #1a1204;
  color: var(--accent-strong);
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.82rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}

/* ---------- Responsivo ---------- */

@media (max-width: 480px) {
  .modal-card {
    padding: 18px;
  }
  .nameplate-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label actions"
      "value actions";
    row-gap: 2px;
  }
  .nameplate-label {
    grid-area: label;
  }
  .nameplate-value {
    grid-area: value;
    white-space: normal;
    word-break: break-word;
  }
  .nameplate-row-actions {
    grid-area: actions;
    align-self: center;
  }
}
