/* Editable directly; no build step. */
svg {
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
[data-more] {
  display: flex;
  margin: 22px auto 0;
}
button:disabled {
  pointer-events: none;
}
.native-dialog {
  margin: 0;
  color: var(--text);
  padding: 0;
  border: 0;
}
.native-dialog::backdrop {
  background: #0b252b88;
  backdrop-filter: blur(4px);
}
.native-dialog:not([open]) {
  display: none;
}
.native-dialog[open] {
  display: block;
}
.native-dialog.drawer[open] {
  display: flex;
}
.native-dialog.drawer .dialog-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.native-dialog.drawer .detail-summary,
.native-dialog.drawer .tabs {
  flex-shrink: 0;
}
.native-dialog.drawer .detail-body {
  min-height: 0;
}
.native-dialog .modal-header p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 5px;
}
.native-dialog.drawer {
  left: auto;
  right: 0;
  top: 0;
  transform: none;
  margin: 0;
}
.dialog-content:empty {
  min-height: 140px;
}
.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
}
.native-volume {
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  padding: 14px 4px 0;
  overflow-x: auto;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 47px,
    var(--line) 48px,
    transparent 49px
  );
}
.bar-column {
  flex: 1;
  min-width: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bar-column strong {
  font-size: 13.5px;
  color: var(--muted);
}
.bar-column > span {
  font-size: 14.5px;
  min-height: 20px;
}
.bar-track {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.native-bar {
  width: 38px;
  max-width: 85%;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  animation: bar-enter 0.35s ease-out;
  transform-origin: bottom;
}
@keyframes bar-enter {
  from {
    transform: scaleY(0.1);
  }
  to {
    transform: scaleY(1);
  }
}
.native-donut {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.native-donut > div {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.native-donut strong {
  font-size: 28px;
  font-weight: 750;
}
.native-donut span {
  font-size: 12.5px;
  color: var(--muted);
}
div.metric {
  cursor: default;
}
.table-wrap:focus-visible {
  outline: 2px solid var(--accent);
}
.native-dialog .form-grid {
  min-width: 0;
}
.native-dialog .field {
  min-width: 0;
}
.bulk-list {
  max-height: 40vh;
  overflow: auto;
}
.bulk-row select {
  min-width: 0;
}
.file-error {
  color: #b24047;
}
.native-dialog .pdf-canvas {
  min-height: 350px;
}
.native-dialog .pdf-toolbar {
  position: sticky;
  top: 77px;
  z-index: 1;
}
.pdf-canvas canvas {
  display: block;
  margin: 0 auto;
}
.theme-preview {
  margin-top: 20px;
}
.refresh-error {
  margin-bottom: 20px;
}
:root[data-density="compact"] .finance-table td {
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (max-width: 700px) {
  .native-volume {
    gap: 8px;
  }
  .native-donut {
    width: 135px;
    height: 135px;
  }
  .native-donut > div {
    width: 96px;
    height: 96px;
  }
  .native-dialog.drawer {
    width: 100%;
    max-height: 100dvh;
  }
  .native-dialog .pdf-toolbar {
    top: 70px;
  }
  .native-dialog .modal-body {
    padding: 18px;
  }
  .native-dialog .form-grid {
    grid-template-columns: 1fr;
  }
  .distribution {
    flex-wrap: wrap;
  }
  .native-bar {
    max-width: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .native-bar {
    animation: none;
  }
}
