@font-face {
  font-family: "Inter";
  src: url("/node_modules/@fontsource/inter/files/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("/node_modules/@fontsource/inter/files/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "DM Sans";
  src: url("/node_modules/@fontsource/dm-sans/files/dm-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  src: url("/node_modules/@fontsource/montserrat/files/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/node_modules/@fontsource/playfair-display/files/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Lora";
  src: url("/node_modules/@fontsource/lora/files/lora-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Bebas Neue";
  src: url("/node_modules/@fontsource/bebas-neue/files/bebas-neue-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/node_modules/@fontsource/cormorant-garamond/files/cormorant-garamond-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/node_modules/@fontsource/source-serif-4/files/source-serif-4-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
}

.pro-card-controls {
  display: grid;
  gap: 0;
  margin: -8px -8px 0;
}

.pro-card-project-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px 10px;
  padding: 0 8px 16px;
  border-bottom: 1px solid #d9d1c4;
}

.pro-card-project-head > span {
  color: #9b7a3b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pro-card-project-head > input {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 5px 2px;
  color: #172d2a;
  background: transparent;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.pro-card-project-head > input:focus {
  border-bottom-color: #b99a5c;
  outline: 0;
}

.pro-card-project-head > div {
  display: flex;
  grid-column: 1 / -1;
  gap: 7px;
}

.pro-card-project-head button,
.pro-card-project-head label {
  min-height: 29px;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  color: #46545a;
  background: #fff;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
}

.pro-card-project-head label input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.pro-card-tool-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid #d8d0c3;
  border-radius: 4px;
  overflow: hidden;
  background: #d8d0c3;
}

.pro-card-tool-rail button {
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  color: #677178;
  background: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .03em;
  cursor: pointer;
}

.pro-card-tool-rail button[aria-pressed="true"] {
  color: #fff;
  background: #1d433b;
}

.pro-card-tool-rail svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.pro-card-panel-content {
  min-height: 350px;
  padding: 20px 8px 8px;
}

.pro-panel-section,
.pro-selection-inspector {
  display: grid;
  gap: 14px;
}

.pro-selection-inspector {
  margin-bottom: 20px;
  border: 1px solid #c8b273;
  border-radius: 4px;
  padding: 13px;
  background: #fffbf0;
}

.pro-selection-inspector > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pro-selection-inspector > header span,
.pro-panel-heading span {
  display: block;
  color: #9a7a3d;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pro-selection-inspector > header strong,
.pro-panel-heading strong {
  display: block;
  margin-top: 3px;
  color: #172d2a;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 16px;
  line-height: 1.05;
}

.pro-selection-inspector > header button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #d8cdbd;
  border-radius: 50%;
  color: #98483f;
  background: #fff;
  cursor: pointer;
}

.pro-selection-inspector > header svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pro-selection-inspector label,
.pro-panel-section label {
  display: grid;
  gap: 5px;
}

.pro-selection-inspector label > span,
.pro-panel-section label > span {
  color: #536068;
  font-size: 8px;
  font-weight: 900;
}

.pro-selection-inspector input:not([type="color"]):not([type="range"]),
.pro-selection-inspector select,
.pro-selection-inspector textarea,
.pro-panel-section input:not([type="color"]):not([type="file"]),
.pro-panel-section select {
  width: 100%;
  min-height: 35px;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  padding: 8px 9px;
  color: #263238;
  background: #fff;
  font: inherit;
  font-size: 9px;
}

.pro-selection-inspector textarea {
  resize: vertical;
}

.pro-selection-inspector input[type="color"],
.pro-panel-section input[type="color"] {
  width: 100%;
  height: 35px;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  padding: 3px;
  background: #fff;
}

.pro-selection-inspector output {
  min-height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d0c4;
  border-radius: 3px;
  color: #28674f;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}

.pro-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.pro-field-grid label.wide,
.pro-selection-inspector label.wide,
.pro-panel-section label.wide {
  grid-column: 1 / -1;
}

.pro-segmented,
.pro-align-actions,
.pro-distribute-actions {
  display: flex;
  gap: 5px;
}

.pro-segmented button,
.pro-align-actions button,
.pro-distribute-actions button {
  min-height: 29px;
  flex: 1;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  padding: 5px;
  color: #536068;
  background: #fff;
  font-size: 7px;
  font-weight: 900;
  text-transform: capitalize;
  cursor: pointer;
}

.pro-segmented button[aria-pressed="true"] {
  border-color: #1d433b;
  color: #fff;
  background: #1d433b;
}

.pro-distribute-actions {
  flex-direction: column;
}

.pro-ai-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.pro-ai-actions button {
  min-height: 34px;
  border: 1px solid #1d433b;
  border-radius: 3px;
  color: #fff;
  background: #1d433b;
  font-size: 7.5px;
  font-weight: 900;
  cursor: pointer;
}

.pro-ai-actions button.is-processing::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 6px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: pro-card-spin 0.75s linear infinite;
}

@keyframes pro-card-spin {
  to {
    transform: rotate(360deg);
  }
}

.pro-replace-image {
  min-height: 34px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  border: 1px dashed #9f8c6b;
  border-radius: 3px;
  color: #536068;
  background: #fff;
  font-size: 7.5px;
  font-weight: 900;
  cursor: pointer;
}

.pro-replace-image svg {
  width: 14px;
  height: 14px;
  fill: #a7803d;
}

.pro-replace-image input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.pro-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.pro-panel-heading small {
  color: #788188;
  font-size: 8px;
  white-space: nowrap;
}

.pro-design-collection-trigger {
  min-width: 0;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.pro-design-collection-trigger em {
  display: block;
  margin-top: 5px;
  color: #536068;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #c2ad82;
  text-underline-offset: 3px;
}

.pro-design-collection-trigger:hover strong,
.pro-design-collection-trigger:focus-visible strong {
  color: #9a5b31;
}

.pro-design-collection-trigger:focus-visible {
  border-radius: 2px;
  outline: 2px solid #1d433b;
  outline-offset: 4px;
}

.pro-template-search input {
  padding-left: 12px !important;
}

.pro-template-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.pro-template-filters select:first-child {
  grid-column: 1 / -1;
}

.pro-blank-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.pro-blank-actions button,
.pro-load-more {
  min-height: 34px;
  border: 1px solid #1d433b;
  border-radius: 3px;
  color: #1d433b;
  background: transparent;
  font-size: 7.5px;
  font-weight: 900;
  cursor: pointer;
}

.pro-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pro-template-grid > button {
  min-width: 0;
  border: 1px solid #d8d0c3;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.pro-template-grid > button:hover,
.pro-template-grid > button[aria-pressed="true"] {
  border-color: #1d433b;
  box-shadow: 0 0 0 2px #1d433b;
}

.pro-template-thumb {
  height: 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7px;
  background: #e6e2da;
}

.pro-template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 7px rgba(23, 31, 35, .14));
}

.pro-template-thumb.portrait img {
  width: 60%;
}

.pro-template-grid > button > span:last-child {
  display: block;
  padding: 8px;
}

.pro-template-grid strong,
.pro-template-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-template-grid strong {
  color: #263238;
  font-size: 7.5px;
}

.pro-template-grid small {
  margin-top: 3px;
  color: #8a9195;
  font-size: 6.5px;
}

.pro-template-library-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 18, 31, .78);
  backdrop-filter: blur(8px);
}

.pro-template-library-dialog {
  width: min(1180px, calc(100vw - 36px));
  height: min(820px, calc(100vh - 36px));
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #c9a84f;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(2, 13, 23, .42);
}

.pro-template-library-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d8d0c3;
  padding: 22px 26px;
  color: #f9f2df;
  background: linear-gradient(135deg, #07182d, #142d3f);
}

.pro-template-library-dialog > header span,
.pro-template-library-kicker {
  display: block;
  color: #dfc778;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pro-template-library-dialog > header h3 {
  margin: 4px 0 0;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.pro-template-library-dialog > header p {
  max-width: 670px;
  margin: 7px 0 0;
  color: #c6d0da;
  font-size: 11px;
  line-height: 1.45;
}

.pro-template-library-dialog > header button {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  font-size: 25px;
  cursor: pointer;
}

.pro-template-library-dialog > header button:hover,
.pro-template-library-dialog > header button:focus-visible {
  border-color: #dfc778;
  background: rgba(255, 255, 255, .16);
  outline: 0;
}

.pro-template-library-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 245px;
}

.pro-template-library-filters,
.pro-template-library-preview {
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  background: #f7f2e8;
}

.pro-template-library-filters {
  border-right: 1px solid #ddd4c6;
}

.pro-template-library-filters > strong {
  display: block;
  margin-bottom: 15px;
  color: #172d2a;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 18px;
}

.pro-template-library-filters label {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.pro-template-library-filters label > span,
.pro-template-library-blank > span {
  color: #657076;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pro-template-library-filters input,
.pro-template-library-filters select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfc5b6;
  border-radius: 3px;
  padding: 0 10px;
  color: #172d2a;
  background: #fff;
  font: inherit;
  font-size: 10px;
}

.pro-template-library-filters input:focus,
.pro-template-library-filters select:focus {
  border-color: #1d433b;
  outline: 2px solid rgba(29, 67, 59, .14);
}

.pro-template-library-clear {
  width: 100%;
  min-height: 36px;
  border: 1px solid #9c8d77;
  border-radius: 3px;
  color: #536068;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.pro-template-library-clear:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.pro-template-library-blank {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  border-top: 1px solid #d8d0c3;
  padding-top: 16px;
}

.pro-template-library-blank button {
  min-height: 36px;
  border: 1px solid #1d433b;
  border-radius: 3px;
  color: #1d433b;
  background: #fff;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.pro-template-library-results {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 20px;
  background: #fffdf8;
}

.pro-template-library-results > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pro-template-library-results > header strong,
.pro-template-library-results > header span {
  display: block;
}

.pro-template-library-results > header strong {
  color: #172d2a;
  font-size: 12px;
}

.pro-template-library-results > header span {
  margin-top: 3px;
  color: #7b8489;
  font-size: 9px;
}

.pro-template-library-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  align-content: start;
  gap: 11px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px 6px 20px 3px;
  scrollbar-color: #9d8a69 #eee8dc;
}

.pro-template-library-grid > button {
  position: relative;
  min-width: 0;
  min-height: 136px;
  overflow: hidden;
  border: 1px solid #d8d0c3;
  border-radius: 5px;
  padding: 0;
  color: #263238;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.pro-template-library-grid > button:hover,
.pro-template-library-grid > button:focus-visible,
.pro-template-library-grid > button[aria-pressed="true"] {
  border-color: #1d433b;
  outline: 0;
  box-shadow: 0 0 0 2px #1d433b;
}

.pro-template-library-grid > button[aria-current="true"]::after {
  content: "Current";
  position: absolute;
  top: 7px;
  right: 7px;
  border-radius: 999px;
  padding: 4px 7px;
  color: #fff;
  background: #9a6d24;
  font-size: 7px;
  font-weight: 900;
}

.pro-template-library-thumb {
  height: 94px;
  display: grid;
  place-items: center;
  padding: 9px;
  background: #e8e3da;
}

.pro-template-library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(23, 31, 35, .16));
}

.pro-template-library-thumb.portrait img {
  width: 58%;
}

.pro-template-library-grid > button > span:last-child {
  display: block;
  padding: 9px;
}

.pro-template-library-grid strong,
.pro-template-library-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-template-library-grid strong {
  font-size: 8px;
}

.pro-template-library-grid small {
  margin-top: 3px;
  color: #7b8489;
  font-size: 7px;
  text-transform: capitalize;
}

.pro-template-library-preview {
  border-left: 1px solid #ddd4c6;
}

.pro-template-library-preview-art {
  height: 150px;
  display: grid;
  place-items: center;
  margin: 11px 0 15px;
  border-radius: 5px;
  padding: 15px;
  background: #e4dfd6;
}

.pro-template-library-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(23, 31, 35, .2));
}

.pro-template-library-preview-art.portrait img {
  width: 57%;
}

.pro-template-library-preview h4 {
  margin: 0;
  color: #172d2a;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 20px;
  line-height: 1.05;
}

.pro-template-library-preview > p {
  margin: 6px 0 15px;
  color: #6e787d;
  font-size: 9px;
  text-transform: capitalize;
}

.pro-template-library-preview ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.pro-template-library-preview li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #536068;
  font-size: 9px;
}

.pro-template-library-preview li svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: #2f765f;
}

.pro-template-library-preview > button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: #1d433b;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.pro-template-library-preview > button:disabled {
  color: #657076;
  background: #ddd8ce;
  cursor: default;
}

.pro-template-library-preview > small {
  display: block;
  margin-top: 8px;
  color: #7b8489;
  font-size: 8px;
  line-height: 1.45;
}

.pro-template-library-empty {
  grid-column: 1 / -1;
  min-height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px dashed #cfc5b6;
  border-radius: 5px;
  padding: 20px;
  color: #6e787d;
  text-align: center;
  font-size: 9px;
}

.pro-template-library-empty strong {
  color: #172d2a;
  font-size: 12px;
}

.pro-add-text-grid {
  display: grid;
  gap: 7px;
}

.pro-add-text-grid button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d5cdbf;
  border-radius: 3px;
  padding: 10px 12px;
  color: #172d2a;
  background: #fff;
  cursor: pointer;
}

.pro-add-text-grid button:first-child strong {
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 17px;
}

.pro-add-text-grid span {
  color: #899096;
  font-size: 7px;
}

.pro-panel-section h4 {
  margin: 4px 0 -4px;
  color: #6d757b;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pro-font-list {
  display: grid;
  gap: 6px;
}

.pro-font-list button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8d0c3;
  border-radius: 3px;
  padding: 8px 10px;
  color: #172d2a;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.pro-font-list small {
  color: #9a8252;
  font: 7px Inter, sans-serif;
}

.pro-upload-drop {
  min-height: 110px;
  display: grid !important;
  place-items: center;
  align-content: center;
  gap: 6px !important;
  border: 1px dashed #9e8e74;
  border-radius: 4px;
  color: #1d433b;
  background: #fbf8f1;
  text-align: center;
  cursor: pointer;
}

.pro-upload-drop.compact {
  min-height: 75px;
}

.pro-upload-drop svg {
  width: 23px;
  height: 23px;
  fill: #ad8845;
}

.pro-upload-drop strong {
  font-size: 9px;
}

.pro-upload-drop small {
  color: #879096;
  font-size: 7px;
}

.pro-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.pro-photo-frame-grid,
.pro-shape-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.pro-photo-frame-grid button,
.pro-shape-actions button {
  min-height: 70px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid #d8d0c3;
  border-radius: 3px;
  color: #566169;
  background: #fff;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.pro-photo-frame-grid button > span {
  width: 36px;
  height: 28px;
  display: block;
  background: linear-gradient(135deg, #caa55b, #294b70);
}

.pro-photo-frame-grid .mask-rounded {
  border-radius: 8px;
}

.pro-photo-frame-grid .mask-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.pro-photo-frame-grid .mask-arch {
  border-radius: 20px 20px 2px 2px;
}

.pro-photo-frame-grid .mask-diamond {
  width: 25px;
  height: 25px;
  transform: rotate(45deg);
}

.pro-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pro-upload-grid button {
  min-width: 0;
  border: 1px solid #d8d0c3;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.pro-upload-grid img {
  width: 100%;
  height: 82px;
  display: block;
  object-fit: cover;
}

.pro-upload-grid span {
  display: block;
  overflow: hidden;
  padding: 7px;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-empty-assets {
  grid-column: 1 / -1;
  border: 1px dashed #d2cabd;
  padding: 28px 16px;
  color: #7e878c;
  font-size: 8px;
  text-align: center;
}

.pro-shape-actions span {
  display: block;
  border: 2px solid #a78343;
}

.pro-shape-actions .shape-square {
  width: 28px;
  height: 22px;
}

.pro-shape-actions .shape-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.pro-shape-actions .shape-line {
  width: 31px;
  height: 0;
}

.pro-element-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pro-element-grid button {
  min-width: 0;
  min-height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid #d8d0c3;
  border-radius: 3px;
  color: #1d433b;
  background: #fff;
  cursor: pointer;
}

.pro-element-grid svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pro-element-grid span {
  width: 100%;
  overflow: hidden;
  padding: 0 3px;
  color: #778087;
  font-size: 5.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-qr-guidance {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  border: 1px solid #cfe0d8;
  border-radius: 4px;
  padding: 12px;
  color: #27664e;
  background: #f3faf6;
}

.pro-qr-guidance > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #398064;
}

.pro-qr-guidance svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pro-qr-guidance strong,
.pro-qr-guidance small {
  display: block;
}

.pro-qr-guidance strong {
  font-size: 8px;
}

.pro-qr-guidance small {
  margin-top: 3px;
  color: #6c8178;
  font-size: 7px;
  line-height: 1.4;
}

.pro-background-picker {
  grid-template-columns: 1fr 55px;
  align-items: center;
}

.pro-palette-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.pro-palette-swatches button {
  aspect-ratio: 1;
  border: 1px solid rgba(23, 38, 45, .2);
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
}

.pro-orientation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.pro-orientation-actions button {
  min-height: 38px;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  color: #536068;
  background: #fff;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.pro-orientation-actions button[aria-pressed="true"] {
  color: #fff;
  background: #1d433b;
}

.pro-finish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pro-finish-grid button {
  min-height: 86px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #d8d0c3;
  border-radius: 4px;
  color: #4c5960;
  background: #fff;
  font-size: 8px;
  cursor: pointer;
}

.pro-finish-grid button[aria-pressed="true"] {
  border-color: #1d433b;
  box-shadow: 0 0 0 2px #1d433b;
}

.pro-finish-grid span {
  width: 46px;
  height: 27px;
  display: block;
  border-radius: 3px;
  background: #e5e0d5;
}

.pro-finish-grid .finish-spot-uv {
  background: linear-gradient(135deg, #171717 48%, #575757 49%, #171717 55%);
}

.pro-finish-grid .finish-gold-foil {
  background: linear-gradient(135deg, #8c651d, #f3d77b 45%, #a57420 55%, #f5dd8b);
}

.pro-finish-grid .finish-silver-foil {
  background: linear-gradient(135deg, #707a82, #f0f2f3 45%, #8a949b 55%, #fff);
}

.pro-panel-note {
  margin: 0 !important;
  color: #788188 !important;
  font-size: 7.5px !important;
  line-height: 1.5;
}

.pro-card-alert {
  margin: 12px 8px 0;
}

.pro-card-editor {
  display: grid;
  gap: 14px;
}

.pro-card-editor-toolbar,
.pro-card-preflight,
.pro-card-export-bar,
.pro-card-proof-area,
.pro-card-layers-panel {
  border: 1px solid #d6cec1;
  border-radius: 4px;
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(7, 26, 47, .05);
}

.pro-card-editor-toolbar {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
}

.pro-card-history-actions,
.pro-card-view-actions,
.pro-card-side-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pro-card-view-actions {
  justify-content: flex-end;
}

.pro-card-editor-toolbar button {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d2c9bc;
  border-radius: 3px;
  color: #526068;
  background: #fff;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.pro-card-editor-toolbar button:disabled {
  cursor: default;
  opacity: .36;
}

.pro-card-editor-toolbar button[aria-pressed="true"] {
  border-color: #1d433b;
  color: #fff;
  background: #1d433b;
}

.pro-card-editor-toolbar svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.pro-card-history-actions span,
.pro-card-view-actions output {
  color: #798289;
  font-size: 7.5px;
}

.pro-card-side-switch button:first-child,
.pro-card-side-switch button:last-child {
  min-width: 54px;
  padding: 0 10px;
  text-transform: uppercase;
}

.pro-card-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
}

.pro-card-proof-area {
  min-width: 0;
  overflow: hidden;
}

.pro-card-proof-meta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid #ddd5c8;
}

.pro-card-proof-meta span,
.pro-card-proof-meta strong {
  font-size: 8px;
}

.pro-card-proof-meta span {
  color: #9a7a3d;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pro-card-proof-meta strong {
  color: #677178;
}

.pro-card-canvas-viewport {
  min-height: 535px;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 55px;
  background-color: #dad7d0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.25) 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.pro-card-canvas-shell {
  position: relative;
  flex: 0 0 auto;
  transition: transform .24s ease, filter .18s ease;
}

.pro-card-canvas-shell.is-flipping {
  filter: blur(2px);
  transform: perspective(900px) rotateY(88deg);
}

.pro-card-canvas-shell .canvas-container {
  border: 1px dashed #a9463c;
  background: #fff;
  box-shadow: 0 26px 45px rgba(7, 26, 47, .22);
}

.pro-card-canvas-shell::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  content: "";
}

.pro-card-canvas-shell[data-stock="uncoated"]::after {
  background-image: radial-gradient(rgba(71, 57, 42, .13) .4px, transparent .7px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: .32;
}

.pro-card-canvas-shell[data-stock="cotton"]::after {
  background-image: repeating-linear-gradient(17deg, rgba(90, 72, 50, .07) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
  opacity: .22;
}

.pro-card-canvas-shell[data-stock="kraft"]::after {
  background: rgba(157, 111, 58, .24);
  mix-blend-mode: multiply;
}

.pro-card-canvas-shell[data-stock="recycled"]::after {
  background-image:
    radial-gradient(rgba(41, 44, 39, .18) .45px, transparent .7px),
    radial-gradient(rgba(109, 75, 44, .12) .4px, transparent .65px);
  background-position: 0 0, 5px 7px;
  background-size: 9px 9px, 12px 12px;
  mix-blend-mode: multiply;
  opacity: .28;
}

.pro-card-canvas-shell[data-finish="spot-uv"] {
  filter: contrast(1.02) saturate(1.02);
}

.pro-card-canvas-shell[data-finish="gold-foil"]::before,
.pro-card-canvas-shell[data-finish="silver-foil"]::before {
  position: absolute;
  z-index: 5;
  top: 6px;
  right: 6px;
  border-radius: 2px;
  padding: 4px 6px;
  color: #172d2a;
  background: linear-gradient(135deg, #b5842b, #f5de88, #a77521);
  box-shadow: 0 3px 8px rgba(0,0,0,.14);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .08em;
  content: "FOIL PROOF";
}

.pro-card-canvas-shell[data-finish="silver-foil"]::before {
  background: linear-gradient(135deg, #7c858c, #f4f6f7, #9aa2a7);
}

.pro-card-side-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #ddd5c8;
}

.pro-card-side-thumbnails button {
  width: 112px;
  border: 1px solid #d1c8bb;
  border-radius: 4px;
  padding: 5px;
  color: #69737a;
  background: #fff;
  cursor: pointer;
}

.pro-card-side-thumbnails button[aria-pressed="true"] {
  border-color: #1d433b;
  box-shadow: 0 0 0 2px #1d433b;
}

.pro-card-side-thumbnails span {
  height: 50px;
  display: block;
  border-radius: 2px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.pro-card-side-thumbnails strong {
  display: block;
  margin-top: 5px;
  font-size: 7px;
}

.pro-card-layers-panel {
  min-width: 0;
  overflow: hidden;
}

.pro-card-layers-panel > header {
  min-height: 49px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-bottom: 1px solid #ddd5c8;
}

.pro-card-layers-panel > header > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1d433b;
}

.pro-card-layers-panel > header svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pro-card-layers-panel > header strong,
.pro-card-layers-panel > header small {
  display: block;
}

.pro-card-layers-panel > header strong {
  font-size: 9px;
}

.pro-card-layers-panel > header small {
  color: #8b9297;
  font-size: 6.5px;
}

.pro-card-layer-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 7px;
  border-bottom: 1px solid #e1dbd1;
}

.pro-card-layer-actions button {
  min-width: 0;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #d5cdc0;
  border-radius: 3px;
  color: #5d686f;
  background: #fff;
  font-size: 5.5px;
  font-weight: 900;
  cursor: pointer;
}

.pro-card-layer-actions svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.pro-card-layer-list {
  max-height: 520px;
  overflow-y: auto;
}

.pro-layer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px 25px;
  align-items: center;
  border-bottom: 1px solid #ece7de;
}

.pro-layer-row.is-selected {
  background: #fff6dc;
}

.pro-layer-select {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 7px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.pro-layer-type {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #1d433b;
  background: #e8f0ed;
}

.pro-layer-type svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.pro-layer-select strong,
.pro-layer-select small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-layer-select strong {
  color: #344147;
  font-size: 7px;
}

.pro-layer-select small {
  margin-top: 2px;
  color: #969b9e;
  font-size: 5.8px;
}

.pro-layer-row > button:not(.pro-layer-select) {
  width: 24px;
  height: 25px;
  border: 0;
  color: #657077;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.pro-empty-layers {
  padding: 28px 12px;
  color: #858d91;
  font-size: 7.5px;
  line-height: 1.5;
  text-align: center;
}

.pro-card-preflight {
  overflow: hidden;
}

.pro-card-preflight > header {
  min-height: 58px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
}

.pro-card-preflight > header > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #338062;
}

.pro-card-preflight.status-review > header > span,
.pro-card-preflight.status-blocked > header > span {
  background: #bd7d2b;
}

.pro-card-preflight.status-blocked > header > span {
  background: #a9483f;
}

.pro-card-preflight svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pro-card-preflight small,
.pro-card-preflight strong {
  display: block;
}

.pro-card-preflight small {
  color: #997a40;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pro-card-preflight strong {
  margin-top: 3px;
  font-size: 9px;
}

.pro-card-preflight > header b {
  border: 1px solid currentColor;
  border-radius: 20px;
  padding: 4px 7px;
  color: #338062;
  font-size: 6.5px;
}

.pro-card-preflight.status-review > header b {
  color: #ad6d20;
}

.pro-card-preflight.status-blocked > header b {
  color: #a9483f;
}

.pro-card-preflight > p {
  margin: 0 !important;
  border-top: 1px solid #e4ded4;
  padding: 10px 55px;
  color: #68737a !important;
  font-size: 7.5px !important;
}

.pro-preflight-issues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #e4ded4;
}

.pro-preflight-issues button {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  border: 0;
  border-right: 1px solid #e8e2d8;
  border-bottom: 1px solid #e8e2d8;
  padding: 9px 12px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.pro-preflight-issues strong,
.pro-preflight-issues span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-preflight-issues strong {
  font-size: 7.5px;
}

.pro-preflight-issues span {
  color: #7f878c;
  font-size: 6.5px;
}

.pro-preflight-issues b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #a9483f;
  font-size: 6.5px;
}

.pro-card-export-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
}

.pro-card-export-bar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pro-card-ready-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #338062;
}

.pro-card-ready-mark svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pro-card-export-bar strong,
.pro-card-export-bar small {
  display: block;
}

.pro-card-export-bar strong {
  font-size: 9px;
}

.pro-card-export-bar small {
  margin-top: 3px;
  color: #7e878c;
  font-size: 7px;
}

.pro-card-export-bar .button {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 7px;
  white-space: nowrap;
}

.pro-card-export-bar .button svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pro-finish-export {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6d777d;
  font-size: 6.5px;
}

.pro-finish-export input {
  width: 13px;
  height: 13px;
}

@media (max-width: 1120px) {
  .pro-card-editor-grid {
    grid-template-columns: minmax(0, 1fr) 165px;
  }

  .pro-card-canvas-viewport {
    min-height: 480px;
    padding: 35px;
  }

  .pro-card-layers-panel {
    font-size: 90%;
  }
}

@media (max-width: 820px) {
  .pro-template-library-body {
    display: block;
    overflow-y: auto;
  }

  .pro-template-library-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #ddd4c6;
  }

  .pro-template-library-filters > strong,
  .pro-template-library-filters .wide,
  .pro-template-library-clear,
  .pro-template-library-blank {
    grid-column: 1 / -1;
  }

  .pro-template-library-results {
    height: 590px;
  }

  .pro-template-library-preview {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 0 20px;
    overflow: visible;
    border-top: 1px solid #ddd4c6;
    border-left: 0;
  }

  .pro-template-library-preview-art {
    grid-row: 1 / 8;
    margin: 0;
  }

  .pro-template-library-preview > :not(.pro-template-library-preview-art) {
    grid-column: 2;
  }

  .pro-card-tool-rail {
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    overflow-x: auto;
  }

  .pro-card-editor-grid {
    grid-template-columns: 1fr;
  }

  .pro-card-layers-panel {
    max-height: 330px;
  }

  .pro-card-layer-list {
    max-height: 250px;
  }

  .pro-card-canvas-viewport {
    min-height: 520px;
  }

  .pro-card-export-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pro-card-export-bar > div:last-child {
    width: 100%;
    flex-wrap: wrap;
  }

  .pro-card-export-bar .button {
    flex: 1;
  }
}

@media (max-width: 580px) {
  .pro-template-library-overlay {
    padding: 0;
  }

  .pro-template-library-dialog {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .pro-template-library-dialog > header {
    padding: 17px 16px;
  }

  .pro-template-library-dialog > header p {
    display: none;
  }

  .pro-template-library-dialog > header button {
    width: 40px;
    height: 40px;
  }

  .pro-template-library-filters {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .pro-template-library-filters > * {
    grid-column: 1 !important;
  }

  .pro-template-library-results {
    height: 68vh;
    padding: 16px 12px;
  }

  .pro-template-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .pro-template-library-preview {
    display: block;
    padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
  }

  .pro-template-library-preview-art {
    height: 190px;
    margin: 11px 0 15px;
  }

  .pro-card-tool-rail {
    position: sticky;
    top: 0;
    z-index: 8;
    grid-template-columns: repeat(9, 72px);
    overflow-x: auto;
    box-shadow: 0 5px 18px rgba(24, 42, 40, .12);
  }

  .pro-card-tool-rail button {
    min-height: 54px;
  }

  .pro-card-panel-content {
    min-height: 0;
    max-height: 48vh;
    position: relative;
    z-index: 7;
    overflow-y: auto;
    margin: 10px -8px 0;
    border: 1px solid #d8d0c3;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    padding: 29px 12px calc(18px + env(safe-area-inset-bottom));
    background: #fffdf8;
    box-shadow: 0 -12px 28px rgba(21, 42, 38, .15);
    overscroll-behavior: contain;
  }

  .pro-card-panel-content::before {
    content: "";
    width: 42px;
    height: 4px;
    position: absolute;
    top: 10px;
    left: 50%;
    border-radius: 999px;
    background: #b9b1a5;
    transform: translateX(-50%);
  }

  .pro-selection-inspector input,
  .pro-selection-inspector select,
  .pro-selection-inspector button,
  .pro-card-editor-toolbar button,
  .pro-card-layer-actions button {
    min-height: 42px;
  }

  .pro-template-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pro-card-editor-toolbar {
    grid-template-columns: 1fr auto;
  }

  .pro-card-side-switch {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .pro-card-view-actions {
    justify-content: flex-end;
  }

  .pro-card-history-actions span {
    display: none;
  }

  .pro-card-canvas-viewport {
    min-height: 350px;
    justify-content: start;
    padding: 24px 12px;
  }

  .pro-card-proof-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .pro-card-side-thumbnails button {
    width: 94px;
  }

  .pro-preflight-issues {
    grid-template-columns: 1fr;
  }

  .pro-card-export-bar > div {
    width: 100%;
  }

  .pro-card-export-bar > div:last-child {
    align-items: stretch;
    flex-direction: column;
  }

  .pro-card-export-bar .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pro-card-canvas-shell {
    transition: none;
  }
}
