:root {
  font-family:
    "DM Sans",
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: #263449;
  background: #f5f5f2;
  font-synthesis: none;
  font-size: 14px;
  --navy: #172c4b;
  --navy-soft: #e9edf3;
  --muted: #7a8490;
  --line: #e6e8e9;
  --white: #fff;
  --green: #347b62;
  --green-light: #edf6ef;
  --danger: #ac4040;
  --radius: 12px;
  --shadow: 0 3px 14px #24303e06;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #a6bfdf;
  outline-offset: 3px;
}
a {
  color: inherit;
}
p {
  line-height: 1.75;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin-bottom: 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.2px;
  font-weight: 600;
  margin-bottom: 8px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
input,
select,
textarea {
  width: 100%;
  background: #fff;
  color: #263449;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #9aa2aa;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #b7c0cb;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #8399b3;
  box-shadow: 0 0 0 3px #e9edf480;
  outline: none;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: #f4f5f6;
  color: #667381;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
select {
  padding-right: 26px;
}
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--navy);
}
input[type="file"] {
  font-size: 12px;
  padding: 9px;
}
input[type="file"]::file-selector-button {
  border: 0;
  background: var(--navy-soft);
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 5px;
  margin-right: 10px;
  font: inherit;
  font-weight: 500;
}
pre,
code {
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  margin: 0;
}
code {
  overflow-wrap: anywhere;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
[hidden] {
  display: none !important;
}
.button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  line-height: 1.35;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: white;
  color: #344258;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.button:hover:not(:disabled) {
  background: #f6f7f8;
  border-color: #b8c2cd;
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 2px 3px #172c4b12;
}
.button.primary:hover:not(:disabled) {
  background: #233f63;
  border-color: #233f63;
}
.button.danger {
  background: #ad4545;
  border-color: #ad4545;
  color: white;
}
.button.danger:hover:not(:disabled) {
  background: #903636;
}
.button.text-button,
.button.danger-text,
.button.icon-button {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.button.text-button {
  color: #315575;
  padding: 7px 8px;
  min-height: 30px;
}
.button.text-button:hover:not(:disabled) {
  background: #eff3f7;
  border-color: transparent;
}
.button.danger-text {
  color: var(--danger);
  padding: 7px 8px;
  min-height: 30px;
}
.button.danger-text:hover:not(:disabled) {
  background: #fff0ed;
  border-color: transparent;
}
.button.icon-button {
  padding: 7px;
  min-width: 32px;
  min-height: 32px;
}
.button.icon-button:hover:not(:disabled) {
  background: #edf0f3;
  border-color: transparent;
}
.button.demo-button {
  background: #f0f2ed;
  border-color: #d8e1d1;
  color: #426245;
  width: 100%;
  min-height: 44px;
}
.button.demo-button:hover:not(:disabled) {
  background: #e8eee2;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.button-row.compact {
  gap: 2px;
}
.full-width {
  width: 100%;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.15px;
  line-height: 1.3;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 500;
  background: #f0f1f2;
  color: #79818a;
}
.badge.brand {
  background: #eaf0f7;
  color: #496383;
}
.badge.success {
  background: #eaf5ee;
  color: #3a7b58;
}
.badge.demo {
  background: #f7eedb;
  color: #956b2d;
}
.badge.neutral {
  background: #f1f2f3;
  color: #74808b;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow,
.overline {
  color: #8190a0;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 9px;
}
.field-hint {
  font-size: 11px;
  line-height: 1.65;
  color: #84909c;
  margin: 7px 0 0;
}
.required {
  color: #b15d49;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > label {
  font-size: 12px;
  font-weight: 500;
  color: #566274;
}
.field .field-hint {
  margin-top: -1px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.span-two {
  grid-column: span 2;
}
.form-section-title {
  font-size: 13px;
  margin: 24px 0 15px;
  padding-top: 21px;
  border-top: 1px solid #edf0f1;
  color: #435267;
}
.notice {
  border: 1px solid #e0e8f0;
  background: #f4f7fb;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 12px;
  color: #62758a;
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice.demo {
  background: #fbf6e9;
  color: #927647;
  border-color: #eee2c3;
}
.notice.danger {
  background: #fff0ed;
  color: #9b4848;
  border-color: #efd3cd;
}
.notice.success {
  background: #eff7f0;
  color: #41754e;
  border-color: #d9eadb;
}
.notice p:last-child {
  margin-bottom: 0;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #576374;
  line-height: 1.6;
}
.checkbox-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.section-toolbar select {
  max-width: 310px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 23px;
  box-shadow: var(--shadow);
}
.panel.no-padding {
  padding: 0;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.panel-heading.padded {
  padding: 23px 25px;
  margin-bottom: 0;
}
.panel-heading h2 {
  font-size: 16px;
  margin-bottom: 5px;
}
.panel-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
.data-table th {
  background: #f8f9fa;
  color: #85909d;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 17px 18px;
  border-bottom: 1px solid #eef0f2;
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fcfcfc;
}
.data-table td strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.data-table td small {
  font-size: 10px;
  color: #939da7;
  display: block;
  margin-top: 5px;
  max-width: 300px;
  overflow-wrap: anywhere;
}
.data-table td .badge {
  font-size: 10px;
}
.data-table .button {
  font-size: 11px;
}
.data-table td:last-child {
  white-space: nowrap;
}
.data-table .button-row {
  flex-wrap: nowrap;
}
.inline-edit-form {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.inline-edit-form > .field {
  flex: 1;
  min-width: 200px;
}
.inline-edit-form > .button {
  margin-top: 23px;
}
.inline-edit-form > div:last-child:not(.field) {
  width: 100%;
}
.inline-edit-form > div:last-child:empty {
  display: none;
}
.inline-edit-form .notice {
  margin-bottom: 0;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 236px;
  background: #fcfcfa;
  border-right: 1px solid #e7e8e5;
  padding: 29px 21px 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -0.6px;
  color: var(--navy);
  font-weight: 400;
}
.brand-lockup strong {
  font-weight: 700;
}
.brand-symbol {
  width: 37px;
  height: 39px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-symbol .icon {
  width: 21px;
  height: 21px;
}
.workspace-box {
  margin-top: 37px;
  margin-bottom: 29px;
  border: 1px solid #e4e7e8;
  background: white;
  border-radius: 9px;
  padding: 12px;
}
.workspace-box .overline {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #a0a6ad;
  display: block;
  margin-bottom: 5px;
}
.workspace-box select {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 17px 0 0;
  min-height: 30px;
  font-size: 12px;
  font-weight: 500;
  color: #42516a;
}
.role-label {
  font-size: 10px;
  color: #94a09e;
  display: block;
  margin-top: 3px;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #80909a;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 8px;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #f0f2f3;
  color: #42566a;
}
.nav-item.active {
  background: #eaf0f5;
  color: #234c74;
}
.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 35px 9px 25px;
  font-size: 10px;
  color: #7a888f;
}
.small-dot {
  width: 6px;
  height: 6px;
  background: #87a78a;
  border-radius: 50%;
  display: inline-block;
  margin-top: 5px;
  flex-shrink: 0;
}
.sidebar-note strong {
  font-size: 10px;
  color: #879484;
  font-weight: 500;
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 5px;
  margin-bottom: 0;
  color: #a5adb1;
}
.user-block {
  border-top: 1px solid #e7e9e8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 21px 0;
  min-width: 0;
}
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ebece4;
  color: #818973;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-details {
  min-width: 0;
  flex: 1;
}
.user-details strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-details span {
  font-size: 9px;
  color: #9ba3a8;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}
.user-block > .button {
  color: #a0a9b1;
}
.main-content {
  flex: 1;
  margin-left: 236px;
  min-width: 0;
  padding: 43px 44px 50px;
}
.page-content {
  max-width: 1540px;
  margin: 0 auto;
  animation: page-in 0.2s ease-out;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
}
.page-description {
  font-size: 12px;
  color: #8b929a;
  margin: 0;
  max-width: 640px;
}
.heading-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}
.collection-overview {
  background: white;
  border: 1px solid var(--line);
  padding: 23px 27px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.collection-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.collection-icon {
  background: #f2f4f4;
  border: 1px solid #e8eaea;
  border-radius: 10px;
  color: #889697;
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.collection-icon .icon {
  width: 24px;
  height: 24px;
}
.collection-heading > div:last-child {
  min-width: 0;
}
.collection-heading select {
  font-size: 16px;
  font-weight: 600;
  border: 0;
  padding: 0 24px 0 0;
  min-height: 27px;
  background: transparent;
  max-width: 340px;
}
.collection-heading .muted {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: #99a2a7;
}
.stats-row {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.stat {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 0 26px;
  border-left: 1px solid #eceeef;
}
.stat:first-child {
  border: 0;
}
.stat strong {
  font-weight: 500;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #3c526a;
}
.stat span {
  font-size: 10px;
  color: #94a0ab;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.search-control {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-control > .icon {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 17px;
  height: 17px;
  color: #99a5ae;
  pointer-events: none;
}
.search-control input {
  padding-left: 41px;
  min-height: 42px;
  font-size: 12px;
  box-shadow: 0 1px 2px #00000001;
}
.filter-bar > select {
  width: auto;
  min-width: 133px;
  font-size: 11px;
  min-height: 42px;
  color: #758190;
}
.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #9aa2a8;
  margin: 0 1px 15px;
  gap: 10px;
}
.result-meta > span:first-child {
  color: #7c8791;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  border: 1px solid #e3e6e7;
  border-radius: 12px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #ced6df;
  box-shadow: 0 6px 20px #24303e0a;
}
.photo {
  aspect-ratio: 1.75;
  overflow: hidden;
  position: relative;
  background: #f0f1ef;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.product-card:hover > .photo img {
  transform: scale(1.025);
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(145deg, #f2f3f1, #e8eceb);
  color: #adb8ba;
}
.photo-placeholder > .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.2;
}
.photo-placeholder > span {
  font-size: 10px;
  color: #9da9ad;
}
.photo-badges {
  position: absolute;
  top: 13px;
  left: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.photo-badges .badge {
  backdrop-filter: blur(10px);
  font-size: 9px;
  padding: 5px 8px;
  box-shadow: 0 1px 5px #00000005;
}
.photo-badges .badge.success {
  background: #ffffffeb;
  color: #498363;
}
.photo-badges .badge.demo {
  background: #fef5e6e8;
}
.image-count {
  position: absolute;
  bottom: 10px;
  right: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  background: #1c2c3c66;
  color: white;
  font-size: 9px;
  padding: 4px 6px;
  backdrop-filter: blur(4px);
}
.image-count .icon {
  width: 12px;
  height: 12px;
}
.product-card-body {
  padding: 17px 19px 0;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.card-meta > span:first-child {
  font-size: 9px;
  letter-spacing: 0.2px;
  color: #9aabb5;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta .badge {
  font-size: 8px;
  padding: 4px 6px;
  background: #f5f7f8;
  color: #8d9ba9;
}
.product-card h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.15px;
  min-height: 24px;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.product-price {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #254561;
  margin-bottom: 17px;
  min-height: 25px;
}
.card-attributes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: 12px;
  row-gap: 7px;
  margin: 0 0 17px;
  font-size: 10px;
  min-height: 63px;
}
.card-attributes dt {
  color: #a0a8b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-attributes dd {
  margin: 0;
  color: #6a7886;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card-footer {
  border-top: 1px solid #edf0f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 9px 0;
}
.record-id {
  font-size: 8px;
  letter-spacing: 0.3px;
  color: #aeb7be;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 48%;
}
.product-card-footer .button {
  font-size: 9px;
  min-height: 28px;
  padding: 6px;
}
.product-card-footer .icon {
  width: 12px;
  height: 12px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  font-size: 11px;
  color: #939da7;
}
.pagination .button {
  font-size: 11px;
}
.products-section {
  min-height: 220px;
}
.template-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #eef1eb;
  border: 1px solid #e0e6db;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 27px;
  overflow: hidden;
}
.template-intro .badge {
  background: #e2e9dd;
  color: #67805c;
  font-size: 9px;
}
.template-intro h2 {
  font-size: 21px;
  margin: 14px 0 10px;
  color: #425c43;
}
.template-intro p {
  font-size: 12px;
  color: #7d8f76;
  max-width: 620px;
  margin-bottom: 0;
}
.template-intro-mark {
  color: #bfcdb6;
  width: 98px;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  flex-shrink: 0;
}
.template-intro-mark .icon {
  width: 90px;
  height: 90px;
  stroke-width: 0.65;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.template-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px 21px 0;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.template-card:hover {
  transform: translateY(-2px);
  border-color: #cdd6de;
}
.template-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.template-id {
  font-size: 10px;
  color: #96a0a8;
  letter-spacing: 1px;
}
.template-card-top .badge {
  font-size: 9px;
}
.template-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 500;
}
.template-record {
  color: #93a0a9;
  font-size: 10px;
  margin-bottom: 17px;
  min-height: 36px;
}
.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 54px;
  align-content: flex-start;
  margin-bottom: 18px;
}
.field-tags span {
  font-size: 9px;
  padding: 5px 7px;
  background: #f7f8f9;
  color: #87949e;
  border: 1px solid #eef0f2;
  border-radius: 5px;
}
.template-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0f1;
  padding: 10px 0;
}
.template-card-footer .muted {
  font-size: 9px;
}
.template-card-footer .button {
  font-size: 10px;
}
.template-summary {
  margin-bottom: 18px;
}
.template-summary p {
  font-size: 12px;
  color: #7d8892;
  margin: 13px 0;
}
.template-create {
  margin-top: 25px;
}
.template-create .checkbox-field {
  margin-top: 16px;
}
.field-table th:nth-child(n + 3),
.field-table td:nth-child(n + 3) {
  text-align: center;
}
.field-table td:last-child .button-row {
  justify-content: center;
}
.code-block {
  background: #f7f9fb;
  border: 1px solid #e5ebf0;
  border-radius: 8px;
  margin: 14px 0;
  overflow: hidden;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid #e7edf1;
}
.code-heading > span {
  font-size: 10px;
  color: #8190a0;
}
.code-heading .button {
  font-size: 9px;
  min-height: 22px;
  padding: 4px 7px;
}
.code-block pre {
  padding: 15px;
  color: #45617d;
  font-size: 11px;
  line-height: 1.75;
}
.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 19px;
}
.endpoint-list p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #778899;
}
.endpoint-list strong {
  font-weight: 500;
  min-width: 76px;
}
.endpoint-list code {
  font-size: 10px;
  color: #748aa0;
}
.preview-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.preview-filter-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.3fr 35px;
  gap: 10px;
  align-items: center;
}
.preview-filter-row input,
.preview-filter-row select {
  font-size: 11px;
}
.filter-value {
  min-width: 0;
}
.preview-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
}
.preview-results {
  margin-top: 20px;
}
.preview-results:empty {
  display: none;
}
.preview-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 11px;
  color: #8794a2;
}
.preview-results > p {
  font-size: 12px;
  color: #748495;
}
.message-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  padding: 20px;
  background: #eef1ed;
  border-radius: 10px;
}
.message-preview {
  background: #fff;
  overflow: hidden;
  border: 1px solid #e2e8dd;
  border-radius: 10px;
  align-self: start;
  box-shadow: 0 2px 7px #33443306;
}
.message-preview-label {
  padding: 10px 13px;
  color: #91a18d;
  letter-spacing: 1.2px;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.message-preview-label .badge {
  font-size: 8px;
}
.message-preview .photo {
  aspect-ratio: 1.7;
}
.message-preview-text {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.9;
  padding: 16px;
  color: #536051;
  overflow-wrap: anywhere;
}
.message-preview .field-hint {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 10px;
}
.response-details {
  margin-top: 18px;
  border: 1px solid #e7ebef;
  border-radius: 8px;
  background: #fafbfc;
}
.response-details summary {
  padding: 13px 15px;
  font-size: 11px;
  color: #70849a;
  cursor: pointer;
}
.response-details pre {
  padding: 0 16px 16px;
  font-size: 10px;
  color: #748392;
  max-height: 400px;
  overflow: auto;
}
.workspace-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}
.workspace-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #eef2f4;
  border-radius: 12px;
  color: #7c90a5;
}
.workspace-avatar .icon {
  width: 28px;
  height: 28px;
}
.workspace-summary h2 {
  font-size: 18px;
  margin-bottom: 7px;
}
.workspace-summary p {
  margin: 0;
  font-size: 11px;
  color: #94a0a9;
}
.workspace-summary > .badge {
  margin-left: auto;
}
.settings-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-notes .notice {
  font-size: 11px;
}
.dialog {
  width: 620px;
  max-width: calc(100vw - 36px);
  max-height: calc(100dvh - 64px);
  padding: 0;
  border: 1px solid #e4e8ed;
  border-radius: 14px;
  box-shadow: 0 30px 90px #172c4b35;
  background: #fff;
  color: inherit;
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog.wide {
  width: 880px;
}
.dialog::backdrop {
  background: #182b4866;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 27px 19px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dialog-header h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.dialog-header p {
  font-size: 11px;
  color: #8b96a1;
  margin: 0;
  line-height: 1.75;
}
.dialog-header > .button {
  color: #99a6b0;
  margin-right: -6px;
  margin-top: -4px;
}
.dialog-body {
  padding: 24px 27px;
}
.dialog-body .form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.dialog-body > .notice:first-child {
  margin-bottom: 20px;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #edf0f2;
  flex-wrap: wrap;
}
.dialog-actions > .danger-text:first-child {
  margin-right: auto;
}
.dialog-actions > .button {
  font-size: 11px;
}
.confirmation-text {
  font-size: 13px;
  color: #76828d;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fcfdfe;
}
.gallery-controls {
  padding: 16px;
}
.gallery-controls .field {
  gap: 6px;
  margin-bottom: 13px;
}
.gallery-controls label {
  font-size: 10px;
}
.gallery-controls input:not([type="checkbox"]),
.gallery-controls select {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 9px;
}
.gallery-controls .form-grid {
  gap: 10px;
}
.gallery-controls .button-row {
  justify-content: flex-end;
  margin-top: 12px;
}
.gallery-controls .button {
  font-size: 10px;
  min-height: 30px;
  padding: 6px 10px;
}
.gallery-controls .checkbox-field {
  margin-top: 3px;
}
.upload-form {
  margin-top: 23px;
}
.upload-form .form-section-title {
  border-top: 1px solid #edf0f2 !important;
  padding-top: 22px !important;
}
.csv-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.mini-panel {
  background: #f7f9fa;
  border: 1px solid #e5eaed;
  border-radius: 9px;
  padding: 19px;
}
.mini-panel h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.mini-panel p {
  font-size: 11px;
  color: #8795a0;
}
.mini-panel .button {
  font-size: 10px;
}
.csv-preview > .button {
  margin-top: 10px;
}
.import-errors {
  font-size: 11px;
  color: #9b5c56;
  line-height: 1.9;
  padding-left: 20px;
  max-height: 260px;
  overflow: auto;
}
.notifications {
  position: fixed;
  bottom: 24px;
  right: 27px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  max-width: min(450px, calc(100vw - 34px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #dce7dd;
  border-radius: 9px;
  box-shadow: 0 6px 35px #203f4822;
  font-size: 12px;
  line-height: 1.65;
  color: #57775d;
  animation: toast-in 0.2s ease-out;
  pointer-events: auto;
}
.toast.error {
  color: #a0524e;
  border-color: #edd0cd;
}
.toast .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.clipboard-fallback {
  position: fixed;
  left: -10000px;
  top: 0;
}
.empty-state {
  text-align: center;
  background: #ffffffaa;
  border: 1px dashed #dce2e5;
  border-radius: 12px;
  padding: 50px 25px;
  color: #86929d;
  width: 100%;
  grid-column: 1/-1;
}
.empty-state .empty-icon {
  margin: 0 auto 19px;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f3f3;
  border-radius: 14px;
  color: #9eafb1;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.3;
}
.empty-state h3 {
  font-size: 15px;
  color: #657585;
  font-weight: 500;
  margin-bottom: 9px;
}
.empty-state p {
  font-size: 12px;
  max-width: 450px;
  margin: 0 auto 19px;
  color: #99a3ab;
}
.empty-state > .button {
  font-size: 11px;
}
.panel > .empty-state {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 70px 20px;
  color: #97a3ae;
  font-size: 12px;
  min-height: 200px;
}
.loading-mark {
  width: 19px;
  height: 19px;
  border: 2px solid #e3e8ec;
  border-top-color: #7997b0;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.boot-state {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: #7b8c9c;
  font-size: 13px;
  padding: 35px;
}
.boot-state p {
  margin: 0;
}
.error-state {
  text-align: center;
  background: #fff;
  border: 1px solid #ebdedb;
  border-radius: 12px;
  padding: 45px 30px;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}
.error-state h3 {
  font-size: 17px;
  color: #986763;
}
.error-state p {
  font-size: 12px;
  color: #9f8580;
  line-height: 1.8;
}
.error-state .button {
  margin-top: 8px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fafbf8;
}
.auth-story {
  background: #1d324d;
  padding: 48px 64px;
  color: #dae1e8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.auth-story::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff0a;
  border-radius: 50%;
  bottom: -330px;
  left: 35%;
  box-shadow:
    0 0 0 70px #ffffff02,
    0 0 0 140px #ffffff02;
}
.auth-story .brand-lockup {
  color: #f2f4f7;
  font-size: 21px;
}
.auth-story .brand-symbol {
  background: #ffffff12;
  color: #e4ebf3;
  border: 1px solid #ffffff12;
}
.auth-story-copy {
  margin: auto 0;
  padding: 70px 0;
}
.auth-story-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #95acbe;
  margin-bottom: 25px;
}
.auth-story-copy h2 {
  font-size: 36px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -1px;
  color: #eff3f5;
  margin-bottom: 25px;
}
.auth-story-copy > p:last-child {
  font-size: 13px;
  line-height: 2;
  color: #97aabb;
  max-width: 380px;
}
.auth-features {
  display: flex;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #8aa1b3;
  padding-bottom: 6px;
}
.auth-features span {
  border-left: 1px solid #68849a55;
  padding-left: 13px;
}
.auth-features span:first-child {
  border: 0;
  padding-left: 0;
}
.auth-panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  max-width: 490px;
  width: 100%;
  margin: auto;
  padding: 45px 46px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-heading {
  margin-bottom: 15px;
}
.auth-heading .badge {
  font-size: 8px;
  letter-spacing: 1.4px;
  padding: 6px 9px;
  margin-bottom: 21px;
}
.auth-heading h1 {
  font-size: 27px;
  margin-bottom: 12px;
  font-weight: 600;
}
.auth-heading p {
  color: #94a0a9;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.auth-form .field > label {
  font-size: 11px;
}
.auth-form input {
  min-height: 45px;
  background: #fff;
  font-size: 12px;
}
.auth-form > .button {
  margin-top: 1px;
  min-height: 45px;
  font-size: 12px;
}
.auth-form > .notice {
  margin-bottom: 0;
}
.auth-secondary {
  margin-top: 26px;
  border-top: 1px solid #e5e9e6;
  padding-top: 24px;
  text-align: center;
}
.auth-secondary:empty {
  display: none;
}
.auth-secondary .field-hint {
  font-size: 9px;
  margin-top: 11px;
}
.auth-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.auth-links .button {
  font-size: 10px;
  color: #8a9aaa;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1660px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .template-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .main-content {
    padding-left: 50px;
    padding-right: 50px;
  }
  .product-card h3 {
    font-size: 15px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 218px;
    padding-left: 17px;
    padding-right: 17px;
  }
  .main-content {
    margin-left: 218px;
    padding: 35px 30px;
  }
  .product-grid,
  .template-grid {
    gap: 17px;
  }
  .product-card-body {
    padding: 15px 15px 0;
  }
  .stat {
    padding: 0 17px;
    min-width: 78px;
  }
  .collection-overview {
    padding: 21px;
  }
  .collection-heading select {
    font-size: 14px;
    max-width: 275px;
  }
  .product-card h3 {
    font-size: 13px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 12px;
  }
  .page-description {
    max-width: 480px;
  }
  .auth-story {
    padding: 45px;
  }
  .auth-story-copy h2 {
    font-size: 31px;
  }
  .auth-panel {
    padding: 40px;
  }
}
@media (max-width: 1070px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .heading-actions {
    padding-top: 0;
  }
  .collection-overview {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .stats-row {
    width: 100%;
    border-top: 1px solid #edf0f0;
    padding-top: 19px;
  }
  .stat {
    flex: 1;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar > .search-control {
    flex-basis: 100%;
  }
  .filter-bar > select {
    flex: 1;
  }
  .settings-notes {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story-copy h2 {
    font-size: 28px;
  }
  .auth-panel {
    padding: 35px;
  }
  .template-intro-mark {
    width: 66px;
  }
  .template-intro-mark .icon {
    width: 65px;
    height: 65px;
  }
}
@media (max-width: 780px) {
  .sidebar {
    width: 78px;
    padding: 25px 11px 0;
    align-items: center;
  }
  .sidebar .brand-lockup > span:last-child,
  .workspace-box,
  .nav-item:not(.active) ~ .sidebar-note,
  .sidebar-note,
  .user-details {
    display: none;
  }
  .sidebar .brand-lockup {
    gap: 0;
  }
  .sidebar .brand-symbol {
    width: 40px;
    height: 42px;
  }
  .main-nav {
    margin-top: 42px;
    gap: 12px;
    width: 100%;
  }
  .nav-item {
    font-size: 0;
    gap: 0;
    padding: 13px;
    justify-content: center;
    min-height: 45px;
  }
  .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .user-block {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    width: 100%;
    gap: 10px;
  }
  .avatar {
    width: 29px;
    height: 29px;
  }
  .main-content {
    margin-left: 78px;
    padding: 29px 24px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .product-grid {
    gap: 16px;
  }
  .collection-overview {
    padding: 20px;
  }
  .product-card h3 {
    font-size: 13px;
  }
  .product-price {
    font-size: 19px;
  }
  .result-meta > span:last-child {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px 32px;
  }
  .auth-story-copy {
    padding: 35px 0 18px;
  }
  .auth-story-copy h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .auth-story-copy h2 br {
    display: none;
  }
  .auth-story-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .auth-story-copy > p:last-child {
    max-width: 530px;
    font-size: 12px;
    margin-bottom: 0;
  }
  .auth-features {
    display: none;
  }
  .auth-panel {
    max-width: 510px;
    padding: 35px;
  }
  .auth-heading .badge {
    display: none;
  }
  .auth-heading h1 {
    font-size: 25px;
  }
  .workspace-summary {
    gap: 13px;
    flex-wrap: wrap;
  }
  .workspace-summary > .badge {
    margin-left: 69px;
  }
  .dialog {
    max-height: calc(100dvh - 32px);
  }
  .dialog-header {
    padding: 20px;
  }
  .dialog-body {
    padding: 21px;
  }
  .notifications {
    right: 16px;
    bottom: 16px;
  }
  .message-preview-list {
    grid-template-columns: 1fr;
  }
  .preview-filter-row {
    grid-template-columns: 1fr 1fr 35px;
  }
  .preview-filter-row > .filter-value {
    grid-column: 1/3;
    grid-row: 2;
  }
  .preview-filter-row > .button {
    grid-column: 3;
    grid-row: 1/3;
  }
  .preview-filter-row select {
    font-size: 11px;
  }
  .template-intro {
    padding: 24px;
  }
  .template-intro h2 {
    font-size: 18px;
  }
  .template-intro p {
    font-size: 11px;
  }
  .template-intro-mark {
    display: none;
  }
  .panel {
    padding: 21px;
  }
  .panel-heading.padded {
    padding: 21px;
  }
  .endpoint-list p {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 540px) {
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 65px;
    padding: 0 6px;
    background: #fffffff5;
    backdrop-filter: blur(10px);
    border: 0;
    border-top: 1px solid #e1e5e8;
    display: block;
  }
  .sidebar > .brand-lockup,
  .sidebar > .user-block {
    display: none;
  }
  .main-nav {
    flex-direction: row;
    width: 100%;
    margin: 0;
    gap: 0;
    height: 64px;
    justify-content: space-around;
    align-items: center;
  }
  .nav-item {
    flex-direction: column;
    font-size: 8px;
    gap: 5px;
    padding: 8px 5px;
    min-height: 49px;
    min-width: 58px;
    border-radius: 8px;
    flex: 1;
  }
  .nav-item .icon {
    width: 18px;
    height: 18px;
  }
  .nav-item.active {
    background: #edf2f7;
  }
  .main-content {
    margin-left: 0;
    padding: 25px 17px 94px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-description {
    font-size: 11px;
    line-height: 1.85;
  }
  .heading-actions {
    margin-top: 3px;
    width: 100%;
  }
  .heading-actions .button {
    font-size: 11px;
    flex: 1;
  }
  .eyebrow {
    font-size: 8px;
  }
  .collection-overview {
    padding: 18px;
    margin-bottom: 20px;
    gap: 17px;
  }
  .collection-heading {
    gap: 13px;
  }
  .collection-icon {
    width: 40px;
    height: 40px;
  }
  .collection-heading select {
    font-size: 14px;
    max-width: 270px;
  }
  .stat {
    padding: 0 13px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat span {
    font-size: 9px;
  }
  .filter-bar {
    gap: 9px;
    margin-bottom: 13px;
  }
  .filter-bar > select {
    font-size: 10px;
    min-width: 110px;
  }
  .search-control input {
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .product-card {
    border-radius: 10px;
  }
  .product-card-body {
    padding: 11px 11px 0;
  }
  .product-card h3 {
    font-size: 11px;
    min-height: 36px;
    margin-bottom: 7px;
    line-height: 1.7;
  }
  .product-price {
    font-size: 15px;
    letter-spacing: -0.45px;
    margin-bottom: 12px;
  }
  .photo {
    aspect-ratio: 1.35;
  }
  .photo-badges {
    top: 8px;
    left: 8px;
    right: 8px;
    align-items: flex-start;
  }
  .photo-badges .badge {
    font-size: 7px;
    padding: 4px 5px;
    border-radius: 4px;
  }
  .photo-badges .badge.demo {
    display: none;
  }
  .image-count {
    font-size: 8px;
    right: 7px;
    bottom: 7px;
    padding: 3px 5px;
  }
  .image-count .icon {
    width: 10px;
    height: 10px;
  }
  .card-meta {
    margin-bottom: 7px;
    gap: 3px;
  }
  .card-meta > span:first-child {
    font-size: 8px;
    max-width: 58%;
  }
  .card-meta .badge {
    font-size: 7px;
    padding: 3px 4px;
  }
  .card-attributes {
    font-size: 8px;
    column-gap: 5px;
    row-gap: 6px;
    margin-bottom: 11px;
    min-height: 58px;
  }
  .product-card-footer {
    gap: 4px;
    padding: 7px 0;
  }
  .product-card-footer .record-id {
    display: none;
  }
  .product-card-footer .button-row {
    justify-content: space-between;
    width: 100%;
  }
  .product-card-footer .button {
    font-size: 9px;
    padding: 5px 6px;
  }
  .photo-placeholder > .icon {
    width: 25px;
    height: 25px;
  }
  .photo-placeholder > span {
    font-size: 8px;
  }
  .pagination {
    font-size: 10px;
  }
  .pagination .button {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 33px;
  }
  .notice {
    font-size: 10px;
    padding: 11px 12px;
    margin-bottom: 17px;
  }
  .template-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .template-card {
    padding: 19px 20px 0;
  }
  .template-card-top {
    margin-bottom: 13px;
  }
  .template-record {
    min-height: 0;
  }
  .field-tags {
    min-height: 0;
    margin-bottom: 19px;
  }
  .template-card h3 {
    font-size: 16px;
  }
  .template-intro {
    padding: 20px;
  }
  .template-intro h2 {
    font-size: 17px;
    line-height: 1.7;
  }
  .template-intro p {
    font-size: 10px;
  }
  .section-toolbar {
    gap: 10px;
  }
  .section-toolbar select {
    font-size: 12px;
    min-width: 0;
    flex: 1;
  }
  .section-toolbar .button {
    font-size: 10px;
    padding: 10px;
  }
  .panel {
    padding: 17px;
    border-radius: 10px;
  }
  .panel-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .panel-heading.padded {
    padding: 17px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .panel-heading > .button {
    font-size: 10px;
    padding: 8px;
    min-height: 34px;
  }
  .data-table th {
    font-size: 9px;
    padding: 12px;
  }
  .data-table td {
    font-size: 10px;
    padding: 14px 12px;
  }
  .data-table td strong {
    font-size: 10px;
    max-width: 160px;
    overflow-wrap: anywhere;
  }
  .data-table td small {
    font-size: 9px;
    max-width: 160px;
  }
  .data-table .button {
    font-size: 9px;
  }
  .field-table {
    min-width: 550px;
  }
  .dialog {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }
  .dialog-header {
    padding: 18px 17px;
  }
  .dialog-header h2 {
    font-size: 17px;
  }
  .dialog-header p {
    font-size: 10px;
  }
  .dialog-body {
    padding: 19px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .span-two {
    grid-column: auto;
  }
  .field > label {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 12px;
  }
  .field-hint {
    font-size: 10px;
  }
  .checkbox-list {
    gap: 13px;
  }
  .checkbox-field {
    font-size: 11px;
  }
  .dialog-actions {
    gap: 7px;
  }
  .dialog-actions > .button {
    font-size: 10px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card .photo {
    aspect-ratio: 1.8;
  }
  .gallery-controls .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .csv-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .inline-edit-form {
    gap: 10px;
  }
  .inline-edit-form > .field {
    min-width: 100%;
    flex-basis: 100%;
  }
  .inline-edit-form > .button {
    margin-top: 0;
  }
  .code-heading {
    padding: 8px 11px;
  }
  .code-block pre {
    font-size: 10px;
    padding: 12px;
  }
  .code-heading > span {
    font-size: 9px;
  }
  .code-heading .button {
    font-size: 9px;
  }
  .endpoint-list p {
    font-size: 10px;
  }
  .endpoint-list code {
    font-size: 9px;
  }
  .preview-form-actions > .button {
    font-size: 10px;
  }
  .preview-summary {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .message-preview-list {
    padding: 12px;
  }
  .message-preview-text {
    font-size: 11px;
    padding: 13px;
  }
  .workspace-summary h2 {
    font-size: 15px;
  }
  .workspace-summary p {
    font-size: 10px;
  }
  .workspace-avatar {
    width: 43px;
    height: 43px;
  }
  .workspace-summary > .badge {
    margin-left: 56px;
    font-size: 9px;
  }
  .notifications {
    bottom: 80px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }
  .toast {
    font-size: 11px;
    padding: 12px 15px;
  }
  .auth-story {
    padding: 24px 26px;
  }
  .auth-story .brand-lockup {
    font-size: 19px;
  }
  .auth-story-copy {
    padding: 26px 0 5px;
  }
  .auth-story-copy h2 {
    font-size: 24px;
    line-height: 1.6;
  }
  .auth-story-copy h2 br {
    display: block;
  }
  .auth-story-copy > p:last-child {
    font-size: 11px;
  }
  .auth-panel {
    padding: 30px 27px;
  }
  .auth-heading h1 {
    font-size: 23px;
  }
  .auth-heading p {
    font-size: 11px;
  }
  .empty-state {
    padding: 37px 19px;
  }
  .empty-state h3 {
    font-size: 14px;
  }
  .empty-state p {
    font-size: 11px;
  }
}
.photo img.image-loading {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
