.account-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.password-editor {
  max-width: 520px;
}
.topbar > span:first-child {
  min-width: 0;
  line-height: 1.5;
}
.logout {
  border: 0;
  background: transparent;
  text-align: left;
}
.mobile-logout {
  display: none;
}
.login-page {
  min-height: 100dvh;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(ellipse at top, #e8eee6 0, transparent 65%), var(--paper);
}
.login-content {
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 60px 0;
}
.login-content h1 {
  font: 32px/1.3 Georgia, serif;
  margin: 12px 0 30px;
}
.login-form {
  display: grid;
  gap: 23px;
}
.password-visibility {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-weight: normal;
  color: var(--muted);
  font-size: 12px;
}
.password-visibility input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--forest);
}
.login-page footer {
  font-family: Georgia, serif;
  font-style: italic;
}
@media (max-width: 800px) {
  .mobile-logout {
    display: block;
  }
}
.table-scroll {
  position: relative;
}
:root {
  --ink: #252d29;
  --muted: #758079;
  --forest: #254d3d;
  --forest-dark: #19382b;
  --sage: #eaf1ec;
  --line: #e1e6e1;
  --paper: #f6f7f4;
  --white: #fff;
  --rust: #ae5d43;
  --danger: #a63737;
  font-family: "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  letter-spacing: 0;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
input,
select,
textarea {
  max-width: 100%;
  border: 1px solid #d5ddd6;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  min-height: 42px;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #54856b;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #54856b;
  outline-offset: 3px;
}
input[readonly],
textarea[readonly] {
  background: #f4f6f3;
  color: #526058;
}
textarea {
  resize: vertical;
  overflow-wrap: anywhere;
}
input::placeholder {
  color: #939c95;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  stroke-width: 1.6;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 16px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  font-weight: 600;
}
small {
  font-size: 11px;
}
.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 38px 23px 24px;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.12;
}
.brand strong {
  font-weight: normal;
}
.brand-dot,
.public-brand > span {
  color: var(--rust);
}
.brand-mark {
  height: 45px;
  width: 40px;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg {
  width: 37px;
  height: 37px;
  stroke-width: 1.3;
}
.nav-caption {
  font-size: 9px;
  color: #8c958f;
  margin: 56px 10px 18px;
  font-weight: 600;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 5px;
  color: #69736c;
  font-size: 13px;
}
.nav-item.selected {
  background: var(--sage);
  color: var(--forest);
  font-weight: bold;
}
.nav-item:hover {
  background: #f1f5f0;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: var(--forest);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 0 10px 21px;
}
.connection > span,
.status-dot {
  background: #679172;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.account {
  border-top: 1px solid var(--line);
  padding: 21px 5px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #68736b;
  min-width: 0;
}
.account span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logout {
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 15px 5px 0;
  color: var(--muted);
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  gap: 12px;
}
.slash {
  margin: 0 14px;
  color: #c7cfc8;
}
.topbar-brand {
  font-size: 9px;
  color: #859087;
}
main#main {
  padding: 42px 44px 24px;
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 9px;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 12px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}
.button.primary {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}
.button.primary:hover {
  background: var(--forest-dark);
}
.button.secondary {
  color: #56665b;
  background: #fff;
  border-color: #dbe1db;
}
.button.secondary:hover {
  background: #eff3ed;
}
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 38px;
}
.stat {
  padding: 24px 23px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.stat > span:first-child {
  font-size: 11px;
  color: #68756b;
}
.stat strong {
  font-size: 35px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 13px;
}
.stat-detail {
  font-size: 10px;
  color: #8b958c;
  display: flex;
  gap: 6px;
  align-items: center;
}
.stat-detail svg {
  width: 13px;
  height: 13px;
}
.field-photo {
  position: relative;
  min-height: 157px;
  background: #455e4a;
  overflow: hidden;
}
.field-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center 42%;
}
.field-photo:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.field-photo > span {
  position: absolute;
  bottom: 19px;
  left: 19px;
  color: #fff;
  font:
    italic 20px/1.25 Georgia,
    serif;
  z-index: 1;
}
.register {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.section-title {
  padding: 23px 24px 0;
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title h2 > span {
  font-size: 10px;
  color: #697a6c;
  background: #eef2ec;
  padding: 4px 7px;
  border-radius: 4px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
}
.search {
  position: relative;
  flex: 1;
}
.search > svg {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #859187;
  width: 16px;
  height: 16px;
}
.search input {
  padding-left: 37px;
  font-size: 11px;
  min-width: 100px;
}
.filters select {
  width: 155px;
  font-size: 11px;
}
.filters .button {
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #f7f9f5;
}
th {
  font-size: 9px;
  font-weight: normal;
  color: #899189;
  padding: 13px 20px;
  border-top: 1px solid #edf0ea;
  border-bottom: 1px solid #edf0ea;
}
td {
  padding: 20px;
  font-size: 12px;
  border-bottom: 1px solid #edf0ea;
}
td:last-child {
  padding-left: 0;
  padding-right: 14px;
}
.tag-id {
  display: flex;
  gap: 11px;
  align-items: center;
}
.tag-id > span:last-child,
.cell-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tag-id strong {
  font-size: 12px;
  font-weight: 600;
}
.tag-id small,
.cell-stack small {
  font-size: 9px;
  color: #929b94;
}
.tag-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 38px;
  flex-shrink: 0;
  background: #f0f3ed;
  border: 1px solid #e8ede5;
  border-radius: 5px;
  color: #6b816f;
}
.destination {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
}
.destination svg {
  width: 13px;
  height: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 4px;
  background: #f0f1ed;
  color: #868b7f;
  font-size: 10px;
  white-space: nowrap;
}
.badge > span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #a7ad9c;
}
.badge.active {
  background: #eaf2e9;
  color: #507d54;
}
.badge.active > span {
  background: #67936b;
}
.icon-button {
  width: 33px;
  height: 33px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #839087;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #edf2eb;
  color: var(--forest);
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 15px 23px;
  color: #8c958c;
  font-size: 10px;
  align-items: center;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.empty {
  padding: 45px 22px 49px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
}
.empty > svg {
  height: 32px;
  width: 32px;
  margin-bottom: 4px;
  color: #86a18b;
}
.empty h3 {
  color: #506056;
  font-family: Georgia, serif;
  font-size: 23px;
}
.empty p {
  font-size: 12px;
  line-height: 1.6;
}
.empty .button {
  margin-top: 5px;
}
footer {
  padding: 25px 44px 22px;
  display: flex;
  justify-content: space-between;
  color: #929b91;
  font-size: 10px;
  gap: 15px;
}
footer > span {
  font-family: Georgia, serif;
  font-style: italic;
}
.back-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 25px;
}
.back-link svg {
  width: 14px;
  height: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 36px;
}
.editor {
  min-width: 0;
}
.form-section {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: grid;
  gap: 21px;
}
.form-section h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 2px;
}
.form-section h2 svg {
  color: #8b9b8e;
  width: 18px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.mode-field {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.mode-field legend {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 14px;
}
.radio-option {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-weight: normal;
}
.radio-option input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--forest);
}
.state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.state-row h2 {
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.switch {
  display: inline-flex;
  position: relative;
  width: 42px;
  height: 24px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  width: 42px;
  height: 24px;
  min-height: 24px;
  opacity: 0;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}
.switch > span {
  background: #c9d1c7;
  width: 42px;
  height: 24px;
  border-radius: 20px;
  transition: background 0.15s;
}
.switch > span:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch input:checked + span {
  background: var(--forest);
}
.switch input:checked + span:after {
  transform: translateX(18px);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.physical-tag {
  background: var(--forest);
  color: #e8eede;
  border-radius: 7px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 23px;
  gap: 24px;
  min-height: 230px;
  position: relative;
}
.physical-tag:before {
  content: "";
  width: 30px;
  height: 4px;
  background: #183628;
  border: 1px solid #547060;
  border-radius: 4px;
}
.physical-brand {
  font-size: 10px;
}
.physical-tag > svg {
  width: 38px;
  height: 38px;
  stroke-width: 1;
}
.physical-tag strong {
  font-size: 25px;
  font-weight: normal;
}
.physical-tag > span:last-child {
  font-size: 7px;
  color: #acc3ae;
}
.nfc-data {
  margin-top: 27px;
  display: grid;
  gap: 17px;
}
.nfc-data h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.nfc-data label {
  font-size: 11px;
  color: var(--muted);
}
.nfc-data input,
.nfc-data textarea {
  font-size: 11px;
  min-height: 36px;
  line-height: 1.5;
}
.mono {
  font-family: Consolas, monospace;
}
.link-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.audit {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 7px;
  margin: 7px 0 0;
  font-size: 10px;
  line-height: 1.5;
}
.audit dt {
  color: #939c95;
}
.audit dd {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fbede7;
  border: 1px solid #ead3c9;
  color: #8c4937;
  padding: 15px 17px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.notice svg {
  flex-shrink: 0;
}
.notice.success {
  background: #edf4e9;
  border-color: #d8e6d2;
  color: #4e7246;
}
.master-create {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  max-width: 620px;
  margin: 0 0 35px;
}
.master-create label {
  flex: 1;
}
.master-list {
  padding: 10px 24px 15px;
}
.master-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.master-row:last-child {
  border-bottom: 0;
}
.master-row form:first-of-type {
  display: flex;
  gap: 15px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.master-row input {
  border-color: transparent;
  background: transparent;
  padding-left: 4px;
}
.master-row input:focus {
  background: white;
  border-color: var(--line);
}
.danger:hover {
  color: var(--danger);
  background: #faeeeb;
}
.public-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse at top, #e8eee6 0, transparent 65%), var(--paper);
}
.public-brand {
  font:
    25px Georgia,
    serif;
}
.public-content {
  margin: auto;
  max-width: 520px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 70px 0;
  gap: 24px;
}
.public-content h1 {
  font:
    36px/1.25 Georgia,
    serif;
}
.public-content p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 370px;
}
.public-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  background: #e4ece1;
  border-radius: 50%;
  color: var(--forest);
}
.public-icon svg {
  height: 32px;
  width: 32px;
}
.public-page footer {
  font:
    italic 13px Georgia,
    serif;
  padding: 20px 0;
}
.embed-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
.embed-shell header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.embed-shell iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: white;
  min-height: 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--forest-dark);
  color: #fff;
  padding: 13px 21px;
  border-radius: 5px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 10;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1450px) {
  .destination {
    max-width: 250px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 30px;
  }
  .topbar {
    padding: 0 28px;
  }
  main#main {
    padding: 32px 28px 20px;
  }
  .stat {
    padding: 22px 16px;
  }
  .stat-detail {
    font-size: 9px;
  }
  .overview {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .field-photo {
    display: none;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 25px;
  }
  .filters {
    padding: 20px 16px;
  }
  .filters .button {
    font-size: 0;
    gap: 0;
    padding: 10px;
  }
  .section-title {
    padding-left: 16px;
  }
}
@media (max-width: 800px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 20px 22px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 23px;
  }
  .brand br {
    display: none;
  }
  .brand strong {
    margin-left: 5px;
  }
  .brand-mark svg {
    height: 30px;
    width: 30px;
  }
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    margin-top: 22px;
  }
  .nav-item {
    padding: 10px;
    font-size: 12px;
  }
  .nav-dot {
    display: none;
  }
  .nav-item svg {
    width: 17px;
    height: 17px;
  }
  .topbar {
    height: 45px;
    padding: 0 22px;
    font-size: 9px;
  }
  .topbar-brand {
    display: none;
  }
  main#main {
    padding: 27px 22px 20px;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  h1 {
    font-size: 30px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 25px;
  }
  footer {
    padding: 25px 22px;
  }
  .overview {
    margin-bottom: 26px;
  }
  .stat {
    padding: 20px 14px;
  }
  .stat strong {
    font-size: 31px;
  }
  .stat-detail {
    font-size: 8px;
  }
  .stat-detail svg {
    display: none;
  }
  .physical-tag {
    padding: 20px;
    gap: 20px;
    min-height: 220px;
  }
  .field-photo {
    display: none;
  }
}
@media (max-width: 580px) {
  .sidebar {
    padding: 18px 16px 12px;
  }
  .sidebar nav {
    gap: 4px;
    justify-content: space-between;
    margin-top: 17px;
  }
  .nav-item {
    font-size: 11px;
    padding: 9px 8px;
    gap: 7px;
  }
  .topbar {
    padding: 0 16px;
  }
  main#main {
    padding: 25px 16px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
  }
  .page-heading > .button {
    margin-top: 0;
    min-height: 38px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .overview {
    border-radius: 5px;
  }
  .stat {
    padding: 18px 11px;
    gap: 12px;
  }
  .stat > span:first-child {
    font-size: 9px;
    line-height: 1.5;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat-detail {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
  }
  .stat strong .status-dot {
    width: 5px;
    height: 5px;
  }
  .filters {
    flex-wrap: wrap;
    padding: 16px 13px;
    gap: 8px;
  }
  .search {
    flex-basis: 100%;
  }
  .filters select {
    flex: 1;
    width: auto;
  }
  .filters .button {
    font-size: 11px;
    gap: 8px;
  }
  .section-title {
    padding: 20px 14px 0;
  }
  .section-title h2 {
    font-size: 14px;
  }
  .pagination {
    padding: 13px;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }
  .tag-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 100%;
  }
  .physical-tag {
    max-width: 290px;
    width: 100%;
    margin: auto;
  }
  .nfc-data {
    margin-top: 30px;
  }
  .two-columns {
    gap: 15px;
  }
  .two-columns label {
    font-size: 12px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .button {
    flex: 1;
  }
  .master-create {
    gap: 9px;
  }
  .master-create .button {
    padding: 10px 13px;
  }
  .master-list {
    padding-left: 13px;
    padding-right: 13px;
  }
  .master-row {
    gap: 8px;
  }
  .master-row form:first-of-type {
    gap: 5px;
  }
  .master-row .tag-symbol {
    display: none;
  }
  .master-row input {
    font-size: 12px;
  }
  .public-content h1 {
    font-size: 30px;
  }
  .embed-shell header {
    padding: 13px 12px;
    flex-wrap: wrap;
  }
  .embed-shell .public-brand {
    font-size: 20px;
  }
  .embed-shell .button {
    font-size: 10px;
    padding: 8px;
  }
  .embed-shell .button svg {
    width: 14px;
    height: 14px;
  }
  footer {
    padding: 20px 16px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main#main {
    animation: appear 0.3s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
