#klebstar-designer-app {
  --ink: #241f2e;
  --muted: #746e7f;
  --line: #e7e2ed;
  --wash: #f6f3f8;
  --purple: #6d50d8;
  --purple-dark: #5135ba;
  --font-clean: "Nunito", "Pretendard", "Noto Sans KR", Arial, sans-serif;
  --font-rounded:
    "Fredoka", "Arial Rounded MT Bold", "Noto Sans KR", Arial, sans-serif;
  --font-hand: "Comic Sans MS", "Noto Sans KR", cursive;
  --font-bold: Impact, "Arial Black", sans-serif;
}
#klebstar-designer-app * {
  box-sizing: border-box;
}
#klebstar-designer-app {
  scroll-behavior: smooth;
  color: var(--ink);
  font-family: var(--font-clean);
  -webkit-font-smoothing: antialiased;
  background: #fff;
  margin: 0;
}
#klebstar-designer-app button,
#klebstar-designer-app input,
#klebstar-designer-app select {
  font: inherit;
}
#klebstar-designer-app button,
#klebstar-designer-app label {
  -webkit-tap-highlight-color: transparent;
}
#klebstar-designer-app button {
  color: inherit;
}
#klebstar-designer-app a {
  color: inherit;
  text-decoration: none;
}
#klebstar-designer-app .site-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  width: min(1220px, 100% - 48px);
  height: 78px;
  margin: 0 auto;
  display: flex;
}
#klebstar-designer-app .brand {
  letter-spacing: 0.09em;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 900;
  display: inline-flex;
}
#klebstar-designer-app .brand-star {
  color: #fff;
  background: var(--purple);
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
  display: grid;
}
#klebstar-designer-app .site-header nav {
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
}
#klebstar-designer-app .text-button {
  border: 1px solid var(--ink);
  cursor: pointer;
  background: 0 0;
  border-radius: 999px;
  padding: 10px 16px;
}
#klebstar-designer-app .intro {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
  width: min(1120px, 100% - 48px);
  margin: 0 auto;
  padding: 66px 0 70px;
  display: grid;
}
#klebstar-designer-app .intro-content {
  z-index: 2;
  position: relative;
}
#klebstar-designer-app .eyebrow {
  color: #278a58;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 850;
}
#klebstar-designer-app .intro h1 {
  letter-spacing: -0.065em;
  margin: 0;
  font-size: clamp(50px, 5.8vw, 76px);
  line-height: 0.98;
}
#klebstar-designer-app .intro h1 span {
  color: #0000;
  background: linear-gradient(102deg, #218a58 2%, #60aa45 52%, #d39a22 95%);
  -webkit-background-clip: text;
  background-clip: text;
}
#klebstar-designer-app .intro-copy {
  max-width: 510px;
  color: var(--muted);
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.8;
}
#klebstar-designer-app .hero-features {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
  display: flex;
}
#klebstar-designer-app .hero-features span {
  color: #5e536e;
  background: #fbf9ff;
  border: 1px solid #e5ddf5;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 14px #402a5b0d;
}
#klebstar-designer-app .intro-sample {
  background:
    radial-gradient(circle at 78% 22%, #ffdf65b8, #0000 22%),
    linear-gradient(145deg, #e7f7df 0%, #f8f5df 46%, #dff5f3 100%);
  border: 1px solid #2a8b582e;
  border-radius: 38px;
  min-height: 390px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 65px #2566412e;
}
#klebstar-designer-app .intro-sample:before,
#klebstar-designer-app .intro-sample:after {
  content: "";
  z-index: 1;
  filter: blur(2px);
  opacity: 0.7;
  border-radius: 50%;
  position: absolute;
}
#klebstar-designer-app .intro-sample:before {
  background: linear-gradient(135deg, #ffe56c, #8fd45d);
  width: 170px;
  height: 170px;
  top: -55px;
  right: -60px;
}
#klebstar-designer-app .intro-sample:after {
  background: linear-gradient(135deg, #6ed7c4, #77bb5b);
  width: 135px;
  height: 135px;
  bottom: -48px;
  left: -45px;
}
#klebstar-designer-app .intro-sample > img {
  z-index: 2;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
#klebstar-designer-app .hero-gloss-badge {
  z-index: 3;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffffd6;
  border: 1px solid #ffffffbf;
  border-radius: 16px;
  gap: 1px;
  padding: 12px 15px;
  display: grid;
  position: absolute;
  top: 18px;
  left: 18px;
  box-shadow: 0 12px 28px #341f4821;
}
#klebstar-designer-app .hero-gloss-badge b {
  color: #278a58;
  letter-spacing: 0.12em;
  font-size: 12px;
}
#klebstar-designer-app .hero-gloss-badge small {
  color: #756c80;
  font-size: 9px;
}
#klebstar-designer-app .hero-proof-badges {
  z-index: 3;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 185px);
  display: flex;
  position: absolute;
  bottom: 16px;
  left: 18px;
}
#klebstar-designer-app .hero-proof-badges span {
  color: #51485b;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffffe0;
  border: 1px solid #ffffffc7;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  font-size: 8px;
  font-weight: 850;
  display: inline-flex;
  box-shadow: 0 8px 20px #341f481f;
}
#klebstar-designer-app .hero-proof-badges i {
  color: #278a58;
  font-size: 10px;
  font-style: normal;
}
#klebstar-designer-app .sample-caption {
  z-index: 3;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #241f2ead;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
  position: absolute;
  bottom: 16px;
  right: 18px;
}
#klebstar-designer-app .designer-shell {
  background: #f7f5f8;
  border-top: 1px solid #eeeaf1;
  border-bottom: 1px solid #eeeaf1;
  padding: 34px max(24px, 50vw - 640px) 60px;
}
#klebstar-designer-app .designer-embedded-homepage .designer-shell {
  border-top: 0;
  padding-top: 28px;
}
#klebstar-designer-app .designer-embedded-homepage .mode-choice-heading {
  display: none;
}
#klebstar-designer-app .mode-choice-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 20px;
}
#klebstar-designer-app .mode-choice-heading p {
  color: var(--purple);
  letter-spacing: 0.15em;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 900;
}
#klebstar-designer-app .mode-choice-heading h2 {
  letter-spacing: -0.035em;
  margin: 0;
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.08;
}
#klebstar-designer-app .mode-choice-heading > span {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
  display: block;
}
#klebstar-designer-app .mode-tabs {
  background: #eae6ee;
  border-radius: 18px;
  grid-template-columns: 1fr 1fr;
  max-width: 780px;
  margin: 0 auto 26px;
  padding: 5px;
  display: grid;
}
#klebstar-designer-app .mode-tabs button {
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 14px;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 16px 22px;
  display: grid;
}
#klebstar-designer-app .mode-tabs button.active {
  background: #fff;
  box-shadow: 0 5px 14px #261e310f;
}
#klebstar-designer-app .draft-bar {
  background: #ffffffeb;
  border: 1px solid #ded7e6;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto 12px;
  padding: 11px 13px;
  display: flex;
  box-shadow: 0 8px 22px #2c22370d;
}
#klebstar-designer-app .draft-status {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}
#klebstar-designer-app .draft-status > span {
  color: #197451;
  background: #e4f6ee;
  border-radius: 50%;
  flex: 0 0 27px;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 11px;
  font-weight: 900;
  display: grid;
}
#klebstar-designer-app .draft-status.saving > span,
#klebstar-designer-app .draft-status.loading > span {
  color: var(--purple);
  background: #f0ebfc;
}
#klebstar-designer-app .draft-status.error > span {
  color: #b64758;
  background: #fff0f1;
}
#klebstar-designer-app .draft-status > div {
  gap: 1px;
  min-width: 0;
  display: grid;
}
#klebstar-designer-app .draft-status b {
  font-size: 11px;
}
#klebstar-designer-app .draft-status small {
  color: var(--muted);
  font-size: 9px;
}
#klebstar-designer-app .draft-actions {
  gap: 7px;
  display: flex;
}
#klebstar-designer-app .draft-actions button {
  border: 1px solid var(--line);
  color: #5f5866;
  cursor: pointer;
  background: #fff;
  border-radius: 9px;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 9px;
  font-weight: 800;
}
#klebstar-designer-app .draft-actions button:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #faf8ff;
}
#klebstar-designer-app .draft-actions input {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
}
#klebstar-designer-app .draft-message {
  color: #655a72;
  max-width: 1280px;
  margin: -4px auto 12px;
  padding: 0 4px;
  font-size: 10px;
}
#klebstar-designer-app .mode-tabs button > span {
  color: #a19aa8;
  grid-row: 1/3;
  padding-top: 3px;
  font-size: 11px;
  font-weight: 800;
}
#klebstar-designer-app .mode-tabs button.active > span {
  color: var(--purple);
}
#klebstar-designer-app .mode-tabs b {
  font-size: 14px;
}
#klebstar-designer-app .mode-tabs small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 11px;
}

#klebstar-designer-app .motif-choice[draggable="true"] {
  cursor: grab;
}

#klebstar-designer-app .motif-choice[draggable="true"]:active {
  cursor: grabbing;
}

#klebstar-designer-app .motif-category-tabs button[draggable="true"] {
  cursor: grab;
  position: relative;
}

#klebstar-designer-app .motif-category-tabs button[draggable="true"]:active {
  cursor: grabbing;
}

#klebstar-designer-app .motif-category-tabs .motif-touch-pick,
#klebstar-designer-app .motif-choice > .motif-touch-pick {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 2;
  color: #fff;
  background: #6d50d8e8;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 12px;
  line-height: 1;
  display: none !important;
  overflow: visible;
  box-shadow: 0 2px 5px #241f2e30;
}

#klebstar-designer-app .motif-category-tabs .motif-touch-pick:hover,
#klebstar-designer-app .motif-category-tabs .motif-touch-pick:focus-visible,
#klebstar-designer-app .motif-choice > .motif-touch-pick:hover,
#klebstar-designer-app .motif-choice > .motif-touch-pick:focus-visible,
#klebstar-designer-app .motif-touch-pick.selected {
  background: #38208f;
  outline: 2px solid #fff;
  box-shadow: 0 0 0 2px #6d50d8, 0 3px 7px #241f2e35;
}

#klebstar-designer-app .motif-drag-guide {
  background: linear-gradient(135deg, #f8f4ff, #f1eaff);
  border: 2px solid #8a6be3;
  border-radius: 13px;
  gap: 8px;
  padding: 10px;
  display: grid;
  box-shadow: 0 5px 14px #6d50d817;
}

#klebstar-designer-app .motif-drag-visual {
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}

#klebstar-designer-app .motif-drag-source {
  background: #fff;
  border: 2px dashed #8a6be3;
  border-radius: 10px;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}

#klebstar-designer-app .motif-drag-source img {
  object-fit: contain;
  width: 38px;
  height: 38px;
}

#klebstar-designer-app .motif-drag-motion {
  color: #6d50d8;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  display: grid;
  position: relative;
}

#klebstar-designer-app .motif-drag-motion i {
  color: #241f2e;
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  transform: translate(-3px, 3px) rotate(18deg);
}

#klebstar-designer-app .motif-drag-motion b {
  font-size: 24px;
  line-height: 0.7;
  transform: translateY(-2px);
}

#klebstar-designer-app .motif-drag-target {
  background: #fff;
  border: 2px solid #6d50d8;
  border-radius: 999px;
  flex: 0 0 93px;
  align-items: center;
  gap: 3px;
  width: 93px;
  height: 43px;
  padding: 3px 8px 3px 4px;
  display: flex;
  box-shadow: 0 3px 8px #6d50d823;
}

#klebstar-designer-app .motif-drag-target img {
  object-fit: contain;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

#klebstar-designer-app .motif-drag-target b {
  color: #392d43;
  letter-spacing: 0.02em;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 9px;
  font-weight: 850;
}

#klebstar-designer-app .motif-drag-copy {
  text-align: center;
  gap: 2px;
  display: grid;
}

#klebstar-designer-app .motif-drag-copy > b {
  color: #4e2cab;
  font-size: 11px;
  font-weight: 900;
}

#klebstar-designer-app .motif-drag-copy > span {
  color: #2f2836;
  font-size: 9px;
  font-weight: 750;
}

#klebstar-designer-app .motif-drag-copy > small {
  color: #756c7c;
  font-size: 8px;
  line-height: 1.3;
}

#klebstar-designer-app .motif-touch-selection {
  color: #342845;
  background: #f4efff;
  border: 2px solid #6d50d8;
  border-radius: 11px;
  grid-template-columns: 38px minmax(0, 1fr) 27px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  display: grid;
  box-shadow: 0 4px 12px #6d50d81f;
}

#klebstar-designer-app .motif-touch-selection > img {
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 2px;
}

#klebstar-designer-app .motif-touch-selection > span {
  min-width: 0;
  gap: 2px;
  display: grid;
}

#klebstar-designer-app .motif-touch-selection b {
  color: #4e2cab;
  font-size: 10px;
  font-weight: 900;
}

#klebstar-designer-app .motif-touch-selection small {
  color: #4e4658;
  font-size: 8px;
  line-height: 1.3;
}

#klebstar-designer-app .motif-touch-selection button {
  color: #5c5268;
  background: #fff;
  border: 1px solid #cfc3eb;
  border-radius: 50%;
  cursor: pointer;
  width: 27px;
  height: 27px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

#klebstar-designer-app .dynamic-template-sheet {
  position: relative;
}

#klebstar-designer-app .quick-motif-drop-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

#klebstar-designer-app .quick-motif-drop-target {
  position: absolute;
  display: block;
  pointer-events: auto;
  cursor: copy;
  color: transparent;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0;
  outline: 0;
}

#klebstar-designer-app .quick-motif-drop-target.drag-over {
  background: #6d50d81a;
  box-shadow: inset 0 0 0 2px #6d50d8cc;
}

#klebstar-designer-app .quick-motif-drop-target.touch-ready {
  cursor: pointer;
  background: #6d50d80d;
  box-shadow: inset 0 0 0 1.5px #6d50d899;
}

#klebstar-designer-app .quick-motif-drop-target.touch-ready:active,
#klebstar-designer-app .quick-motif-drop-target.touch-ready:hover {
  background: #6d50d824;
  box-shadow: inset 0 0 0 2px #6d50d8;
}

#klebstar-designer-app .quick-motif-drop-target.manual::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  background: #6d50d8;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #241f2e35;
}
#klebstar-designer-app .workspace {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  grid-template-columns: 330px 1fr;
  max-width: 1280px;
  min-height: 740px;
  margin: 0 auto;
  display: grid;
  overflow: hidden;
  box-shadow: 0 22px 55px #2c223714;
}
#klebstar-designer-app .controls {
  border-right: 1px solid var(--line);
  background: #fff;
  max-height: 800px;
  padding: 26px;
  overflow-y: auto;
}
#klebstar-designer-app .control-step {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding: 0 0 25px;
}
#klebstar-designer-app .step-heading {
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  display: flex;
}
#klebstar-designer-app .step-heading > span {
  width: 24px;
  height: 24px;
  color: var(--purple);
  background: #eee9fb;
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  display: grid;
}
#klebstar-designer-app .step-heading h2 {
  margin: 0;
  font-size: 15px;
}
#klebstar-designer-app .quick-controls .control-step {
  margin-bottom: 13px;
  padding-bottom: 14px;
}
#klebstar-designer-app .quick-controls .control-step:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
#klebstar-designer-app .quick-controls .step-heading {
  margin-bottom: 9px;
}
#klebstar-designer-app .quick-controls .field-label:not(.visually-hidden) {
  margin-top: 0;
}
#klebstar-designer-app .visually-hidden {
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}
#klebstar-designer-app .template-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}
#klebstar-designer-app .template-card {
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  grid-template-rows: 58px;
  place-items: center stretch;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 4px;
  display: grid;
}
#klebstar-designer-app .template-card.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  background: #fff;
}
#klebstar-designer-app .template-card > .compact-option-label {
  display: none;
}
#klebstar-designer-app .template-card b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  line-height: 1.2;
  display: block;
  overflow: hidden;
}
#klebstar-designer-app .template-card small {
  display: none;
}
#klebstar-designer-app .template-choice-thumbnail {
  background-color: #fff;
  background-image: none;
  border-radius: 7px;
  place-items: center;
  width: 100%;
  height: 58px;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .template-choice-thumbnail > svg,
#klebstar-designer-app .template-choice-thumbnail > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#klebstar-designer-app .template-choice-thumbnail .mini-grid {
  flex: none;
  width: 100%;
  height: 100%;
}
#klebstar-designer-app .template-import-note {
  background: #f8f5ff;
  border: 1px solid #dcd3f4;
  border-radius: 10px;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 11px;
  display: flex;
}
#klebstar-designer-app .template-import-note > span {
  color: var(--purple);
  font-size: 13px;
}
#klebstar-designer-app .template-import-note p {
  color: #70687a;
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}
#klebstar-designer-app .template-import-note b {
  color: var(--ink);
  margin-bottom: 2px;
  display: block;
}
#klebstar-designer-app .mini-grid {
  background: #f1eef3;
  border-radius: 5px;
  flex: 0 0 58px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  height: 42px;
  padding: 5px;
  display: grid;
}
#klebstar-designer-app .mini-grid i {
  background: #fff;
  border: 1px solid #d8d1de;
  display: block;
}
#klebstar-designer-app .mini-grid.pill i {
  border-radius: 999px;
}
#klebstar-designer-app .mini-grid.soft i {
  border-radius: 3px;
}
#klebstar-designer-app .mini-grid.round i {
  border-radius: 8px;
}
#klebstar-designer-app .mini-grid.fixed {
  background: #fff;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}
#klebstar-designer-app .mini-grid.fixed img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#klebstar-designer-app .fixed-style-summary {
  background: #faf9fb;
  border: 1px solid #ded8e5;
  border-radius: 11px;
  align-items: center;
  gap: 10px;
  padding: 11px;
  display: flex;
}
#klebstar-designer-app .fixed-style-summary > span {
  color: #1e5175;
  width: 38px;
  height: 38px;
  font-family: "Fredoka One", var(--font-rounded);
  -webkit-text-stroke: 0.5px #1e5175;
  background: #ffed00;
  border-radius: 9px;
  flex: 0 0 38px;
  place-items: center;
  font-size: 15px;
  font-weight: 400;
  display: grid;
}
#klebstar-designer-app .fixed-style-summary > div {
  gap: 2px;
  display: grid;
}
#klebstar-designer-app .fixed-style-summary b {
  font-size: 11px;
}
#klebstar-designer-app .fixed-style-summary small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}
#klebstar-designer-app .theme-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}
#klebstar-designer-app .theme-grid button {
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  grid-template-rows: 52px;
  place-items: center stretch;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 4px;
  display: grid;
}
#klebstar-designer-app .theme-grid button.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  background: #fff;
}
#klebstar-designer-app .theme-grid img {
  object-fit: contain;
  background-color: #fff;
  background-image: none;
  border-radius: 6px;
  width: 100%;
  height: 52px;
}
#klebstar-designer-app .theme-grid span {
  display: none;
}
#klebstar-designer-app .theme-grid b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  line-height: 1.2;
  display: block;
  overflow: hidden;
}
#klebstar-designer-app .theme-grid small {
  display: none;
}
#klebstar-designer-app .motif-library {
  gap: 9px;
  display: grid;
}
#klebstar-designer-app .motif-library-summary {
  background: linear-gradient(135deg, #faf8ff, #f2edff);
  border: 1px solid #d9cff6;
  border-radius: 11px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}
#klebstar-designer-app .motif-library-summary > span {
  gap: 1px;
  display: grid;
}
#klebstar-designer-app .motif-library-summary b {
  color: var(--purple-dark);
  font-size: 12px;
}
#klebstar-designer-app .motif-library-summary small {
  color: var(--muted);
  font-size: 8px;
}
#klebstar-designer-app .motif-library-summary i {
  background: var(--purple);
  color: #fff;
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
}
#klebstar-designer-app .motif-category-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 1px;
  display: grid;
  overflow: visible;
}
#klebstar-designer-app .motif-category-tabs button {
  border: 1px solid var(--line);
  cursor: pointer;
  color: #655e6c;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  aspect-ratio: 1;
  place-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 4px;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .motif-category-tabs button.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  color: var(--purple-dark);
  background: #fff;
}
#klebstar-designer-app .motif-category-tabs img {
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  width: 100%;
  height: 100%;
  padding: 0;
  transform: scale(1.08);
}
#klebstar-designer-app .motif-category-tabs span {
  display: none;
}
#klebstar-designer-app .motif-search {
  align-items: center;
  display: flex;
  position: relative;
}
#klebstar-designer-app .motif-search > span {
  z-index: 1;
  color: #8d8495;
  font-size: 14px;
  position: absolute;
  left: 10px;
}
#klebstar-designer-app .motif-search input {
  width: 100%;
  height: 37px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcd6e1;
  border-radius: 9px;
  outline: none;
  padding: 0 31px;
  font-size: 10px;
}
#klebstar-designer-app .motif-search input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #eee9fb;
}
#klebstar-designer-app .motif-search button {
  color: #746b7c;
  cursor: pointer;
  background: #f0ecf3;
  border: 0;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  position: absolute;
  right: 7px;
}
#klebstar-designer-app .motif-picker-meta {
  color: #7b7382;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  display: flex;
}
#klebstar-designer-app .motif-picker-meta b {
  color: var(--ink);
}
#klebstar-designer-app .motif-picker-meta span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#klebstar-designer-app .motif-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}
#klebstar-designer-app .motif-choice {
  border: 1px solid var(--line);
  cursor: pointer;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  color: var(--ink);
  text-align: center;
  background: #fff;
  border-radius: 10px;
  grid-template-rows: minmax(0, 1fr);
  place-items: stretch;
  padding: 4px;
  display: grid;
  position: relative;
  overflow: hidden;
}
#klebstar-designer-app .motif-choice:hover {
  background: #fcfbff;
  border-color: #bdb0e4;
}
#klebstar-designer-app .motif-choice.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  background: #fff;
}
#klebstar-designer-app .motif-choice > span:not(.motif-mix-images) {
  background: #fff;
  border-radius: 7px;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .motif-choice > span > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 0;
  transform: scale(1.08);
}
#klebstar-designer-app .motif-choice > b {
  display: none;
}
#klebstar-designer-app .motif-choice > small {
  display: none;
}
#klebstar-designer-app .motif-mix-images {
  background: #fff;
  border-radius: 7px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 2px;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .motif-mix-images img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 0;
  transform: none;
}
#klebstar-designer-app .motif-show-all {
  width: 100%;
  min-height: 36px;
  color: var(--purple-dark);
  cursor: pointer;
  background: #faf8ff;
  border: 1px solid #cfc4ec;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
}
#klebstar-designer-app .motif-empty {
  color: var(--muted);
  text-align: center;
  border: 1px dashed #d8d1e1;
  border-radius: 10px;
  padding: 16px 10px;
  font-size: 9px;
}
#klebstar-designer-app .compact-font-summary {
  padding: 7px;
}
#klebstar-designer-app .fixed-upload {
  cursor: pointer;
  background: #fbf9ff;
  border: 1px dashed #bfb2dd;
  border-radius: 11px;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  padding: 11px;
  display: flex;
  position: relative;
}
#klebstar-designer-app .fixed-upload > span {
  width: 29px;
  height: 29px;
  color: var(--purple);
  background: #ede7fb;
  border-radius: 8px;
  flex: 0 0 29px;
  place-items: center;
  font-size: 16px;
  display: grid;
}
#klebstar-designer-app .fixed-upload > div {
  gap: 1px;
  display: grid;
}
#klebstar-designer-app .fixed-upload b {
  font-size: 10px;
}
#klebstar-designer-app .fixed-upload small {
  color: var(--muted);
  font-size: 8px;
}
#klebstar-designer-app .fixed-upload input {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
}
#klebstar-designer-app .field-label {
  color: #77717f;
  margin: 14px 0 7px;
  font-size: 10px;
  font-weight: 750;
  display: block;
}
#klebstar-designer-app .name-input {
  position: relative;
}
#klebstar-designer-app .name-input input,
#klebstar-designer-app .selected-controls input:not([type="range"]),
#klebstar-designer-app select {
  background: #fff;
  border: 1px solid #dcd6e1;
  border-radius: 10px;
  outline: none;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 13px;
}
#klebstar-designer-app .name-input input:focus,
#klebstar-designer-app .selected-controls input:focus,
#klebstar-designer-app select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #eee9fb;
}
#klebstar-designer-app .name-input span {
  color: #aaa3af;
  font-size: 9px;
  position: absolute;
  top: 14px;
  right: 11px;
}
#klebstar-designer-app .character-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  display: grid;
}
#klebstar-designer-app .character-grid button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 9px;
  place-items: center;
  font-size: 18px;
  display: grid;
}
#klebstar-designer-app .character-grid button:hover,
#klebstar-designer-app .character-grid button.active {
  border-color: var(--purple);
  background: #f3effd;
}
#klebstar-designer-app .shape-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  display: grid;
}
#klebstar-designer-app .shape-grid button {
  border: 1px solid var(--line);
  height: 42px;
  color: var(--purple);
  cursor: pointer;
  background: #fff;
  border-radius: 9px;
  font-size: 22px;
}
#klebstar-designer-app .shape-grid button:hover {
  border-color: var(--purple);
  background: #f3effd;
}
#klebstar-designer-app .palette {
  align-items: center;
  gap: 8px;
  display: flex;
}
#klebstar-designer-app .palette > button {
  cursor: pointer;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 1px #d7d1db;
}
#klebstar-designer-app .palette > button.active {
  box-shadow: 0 0 0 2px var(--purple);
}
#klebstar-designer-app .custom-color {
  cursor: pointer;
  color: #777;
  border: 1px dashed #aaa2af;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 15px;
  display: grid;
}
#klebstar-designer-app .custom-color input {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
#klebstar-designer-app .add-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}
#klebstar-designer-app .add-buttons button,
#klebstar-designer-app .add-buttons label {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 13px 8px;
  font-size: 12px;
  display: flex;
}
#klebstar-designer-app .add-buttons span {
  color: var(--purple);
  font-weight: 900;
}
#klebstar-designer-app .add-buttons input {
  opacity: 0;
  width: 1px;
  position: absolute;
}
#klebstar-designer-app .add-buttons label.disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
#klebstar-designer-app .upload-rights-warning {
  background: #fffaf0;
  border: 1px solid #ecd7a0;
  border-radius: 11px;
  gap: 6px;
  margin-bottom: 12px;
  padding: 12px;
  display: grid;
}
#klebstar-designer-app .upload-rights-warning b {
  color: #70541b;
  font-size: 10px;
}
#klebstar-designer-app .upload-rights-warning p {
  color: #7c6a43;
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}
#klebstar-designer-app .upload-rights-warning label {
  color: #5e5137;
  align-items: flex-start;
  gap: 7px;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
  display: flex;
}
#klebstar-designer-app .upload-rights-warning input {
  accent-color: var(--purple);
  margin-top: 1px;
}
#klebstar-designer-app .selected-controls select {
  margin-top: 8px;
}
#klebstar-designer-app .selected-controls input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
}
#klebstar-designer-app .selection-summary {
  background: #f8f5ff;
  border: 1px solid #d9cff6;
  border-radius: 11px;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  padding: 12px;
  display: flex;
}
#klebstar-designer-app .selection-summary > span {
  background: var(--purple);
  color: #fff;
  border-radius: 9px;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
}
#klebstar-designer-app .selection-summary > div {
  gap: 2px;
  min-width: 0;
  display: grid;
}
#klebstar-designer-app .selection-summary b {
  font-size: 11px;
}
#klebstar-designer-app .selection-summary small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}
#klebstar-designer-app .mm-inspector {
  background: #fcfbff;
  border: 1px solid #ddd5ec;
  border-radius: 11px;
  margin: 0 0 13px;
  padding: 12px;
}
#klebstar-designer-app .mm-inspector-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  display: flex;
}
#klebstar-designer-app .mm-inspector-heading b {
  font-size: 10px;
}
#klebstar-designer-app .mm-inspector-heading span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 850;
}
#klebstar-designer-app .mm-input-grid {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}
#klebstar-designer-app .mm-input-grid label {
  min-width: 0;
}
#klebstar-designer-app .mm-input-grid label > span {
  color: var(--muted);
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 800;
  display: block;
}
#klebstar-designer-app .mm-input-grid label > div {
  position: relative;
}
#klebstar-designer-app .mm-input-grid input {
  font-variant-numeric: tabular-nums;
  width: 100% !important;
  height: 34px !important;
  padding: 0 28px 0 9px !important;
  font-size: 11px !important;
}
#klebstar-designer-app .mm-input-grid i {
  color: #92899c;
  pointer-events: none;
  font-size: 8px;
  font-style: normal;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
#klebstar-designer-app .mm-inspector > small {
  color: #847b8e;
  margin-top: 7px;
  font-size: 8px;
  line-height: 1.35;
  display: block;
}
#klebstar-designer-app .group-buttons,
#klebstar-designer-app .transform-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}
#klebstar-designer-app .group-buttons button,
#klebstar-designer-app .transform-buttons button {
  border: 1px solid var(--line);
  color: #554f5d;
  cursor: pointer;
  background: #fff;
  border-radius: 9px;
  min-height: 38px;
  font-size: 10px;
  font-weight: 750;
}
#klebstar-designer-app .group-buttons button {
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: flex;
}
#klebstar-designer-app .group-buttons button span {
  color: var(--purple);
  font-size: 14px;
}
#klebstar-designer-app .group-buttons button:hover:not(:disabled),
#klebstar-designer-app .group-buttons button.active,
#klebstar-designer-app .transform-buttons button:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f5f1ff;
}
#klebstar-designer-app .group-buttons button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
#klebstar-designer-app .text-style-buttons {
  grid-template-columns: repeat(3, 42px);
  gap: 7px;
  display: grid;
}
#klebstar-designer-app .text-style-buttons button {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  height: 36px;
  font-family: Arial, sans-serif;
  font-weight: 800;
}
#klebstar-designer-app .text-style-buttons button:hover,
#klebstar-designer-app .text-style-buttons button.active {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f3effd;
}
#klebstar-designer-app .text-style-buttons .italic {
  font-style: italic;
}
#klebstar-designer-app .text-style-buttons .underline {
  text-decoration: underline;
}
#klebstar-designer-app .range-label {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 5px;
  font-size: 11px;
  display: flex;
}
#klebstar-designer-app .range-label b {
  color: var(--ink);
  font-size: 10px;
}
#klebstar-designer-app .image-size-note {
  color: #70667d;
  background: #f6f2ff;
  border-radius: 8px;
  margin: 7px 0 0;
  padding: 9px 10px;
  font-size: 9px;
  line-height: 1.5;
}
#klebstar-designer-app .reset-angle {
  border: 1px solid var(--line);
  cursor: pointer;
  width: 100%;
  color: var(--muted);
  background: #fff;
  border-radius: 8px;
  margin-top: 7px;
  padding: 7px;
  font-size: 10px;
}
#klebstar-designer-app .layer-heading {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 7px;
  font-size: 11px;
  display: flex;
}
#klebstar-designer-app .layer-heading b {
  color: var(--ink);
  font-size: 10px;
}
#klebstar-designer-app .layer-buttons,
#klebstar-designer-app .position-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}
#klebstar-designer-app .layer-buttons button,
#klebstar-designer-app .position-buttons button,
#klebstar-designer-app .duplicate-button {
  border: 1px solid var(--line);
  cursor: pointer;
  color: #554f5d;
  background: #fff;
  border-radius: 9px;
  min-height: 38px;
  font-size: 10px;
  font-weight: 700;
}
#klebstar-designer-app .layer-buttons button {
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: flex;
}
#klebstar-designer-app .layer-buttons button span {
  color: var(--purple);
  font-size: 14px;
  line-height: 1;
}
#klebstar-designer-app .layer-buttons button:hover:not(:disabled),
#klebstar-designer-app .position-buttons button:hover,
#klebstar-designer-app .duplicate-button:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f7f4ff;
}
#klebstar-designer-app .layer-buttons button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
#klebstar-designer-app .position-buttons button {
  padding: 7px 5px;
  line-height: 1.25;
}
#klebstar-designer-app .page-distribution-buttons button {
  min-height: 40px;
  color: var(--purple-dark);
  background: #faf8ff;
  border-color: #cfc4ef;
}
#klebstar-designer-app .control-help {
  color: var(--muted);
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.45;
  display: block;
}
#klebstar-designer-app .alignment-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  display: grid;
}
#klebstar-designer-app .alignment-grid button {
  border: 1px solid var(--line);
  color: #5c5564;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  place-items: center;
  gap: 1px;
  min-height: 36px;
  padding: 5px 3px;
  font-size: 8px;
  font-weight: 750;
  display: grid;
}
#klebstar-designer-app .alignment-grid button span {
  color: var(--purple);
  font-size: 14px;
  line-height: 1;
}
#klebstar-designer-app .alignment-grid button:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f7f4ff;
}
#klebstar-designer-app .clipboard-buttons {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  display: grid;
}
#klebstar-designer-app .clipboard-buttons button {
  border: 1px solid var(--line);
  color: #554f5d;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  place-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 39px;
  padding: 6px 3px;
  font-size: 9px;
  font-weight: 750;
  display: grid;
}
#klebstar-designer-app .clipboard-buttons button:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f7f4ff;
}
#klebstar-designer-app .clipboard-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
#klebstar-designer-app kbd {
  color: #7b7283;
  font: 700 7px/1.3 var(--font-body);
  background: #faf9fb;
  border: 1px solid #d8d1dd;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 4px;
}
#klebstar-designer-app .duplicate-button {
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 9px;
  display: flex;
}
#klebstar-designer-app .duplicate-button span {
  color: var(--purple);
  font-size: 14px;
}
#klebstar-designer-app .delete-button {
  color: #b64758;
  cursor: pointer;
  background: #fff8f9;
  border: 1px solid #ead8dc;
  border-radius: 10px;
  width: 100%;
  margin-top: 9px;
  padding: 10px;
  font-size: 11px;
}
#klebstar-designer-app .delete-button kbd {
  color: #a14b58;
  background: #fff;
  border-color: #e9ccd2;
  margin-left: 5px;
}
#klebstar-designer-app .empty-selection {
  color: var(--muted);
  background: var(--wash);
  border-radius: 10px;
  padding: 16px;
  font-size: 12px;
}
#klebstar-designer-app .studio-tip {
  color: var(--muted);
  background: #f5f2fb;
  border-radius: 12px;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  display: flex;
}
#klebstar-designer-app .studio-tip > span {
  color: var(--purple);
  font-size: 20px;
}
#klebstar-designer-app .studio-tip p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}
#klebstar-designer-app .studio-tip b {
  color: var(--ink);
  margin-bottom: 2px;
  display: block;
}
#klebstar-designer-app .preview-panel {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

@media (width>900px) {
  #klebstar-designer-app .workspace {
    align-items: stretch;
    overflow: visible;
  }

  #klebstar-designer-app .controls {
    max-height: none;
    overflow: visible;
    border-radius: 22px 0 0 22px;
  }

  #klebstar-designer-app .preview-panel {
    position: sticky;
    top: 12px;
    align-self: start;
    width: 100%;
    height: min(800px, calc(100vh - 24px));
    min-height: 620px;
    max-height: 800px;
    border-radius: 0 22px 22px 0;
    overflow: hidden;
  }

  #klebstar-designer-app .preview-panel .paper-stage {
    min-height: 0;
  }

  #klebstar-designer-app .motif-drag-copy > b,
  #klebstar-designer-app .motif-drag-copy > small {
    font-size: 0;
  }

  #klebstar-designer-app .motif-drag-copy > b::after {
    content: "Am Computer: Motiv ziehen";
    font-size: 11px;
  }

  #klebstar-designer-app .motif-drag-copy > small::after {
    content: "Themenbild ziehen = erstes Motiv · normaler Klick = alle Sticker";
    font-size: 8px;
  }
}
#klebstar-designer-app .preview-toolbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 10px 18px;
  display: flex;
}
#klebstar-designer-app .paper-toggle {
  background: #f2eff4;
  border-radius: 9px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: flex;
}
#klebstar-designer-app .paper-toggle > span {
  color: var(--muted);
  padding: 0 8px;
  font-size: 10px;
}
#klebstar-designer-app .paper-toggle button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
}
#klebstar-designer-app .paper-toggle button.active {
  color: var(--purple);
  background: #fff;
  box-shadow: 0 2px 6px #0000000f;
}
#klebstar-designer-app .background-toggle {
  background: #f2eff4;
  border-radius: 9px;
  align-items: center;
  gap: 3px;
  padding: 3px;
  display: flex;
}
#klebstar-designer-app .background-toggle > span {
  color: var(--muted);
  padding: 0 6px;
  font-size: 9px;
}
#klebstar-designer-app .background-toggle button {
  color: #716a78;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
}
#klebstar-designer-app .background-toggle button.active {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 2px 6px #00000012;
}
#klebstar-designer-app .background-toggle i {
  border: 1px solid #cfc8d4;
  border-radius: 3px;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}
#klebstar-designer-app .background-toggle .swatch-transparent i {
  background: linear-gradient(135deg, #0000 0 43%, #d6cde0 44% 56%, #0000 57%);
}
#klebstar-designer-app .background-toggle .swatch-white i {
  background: #fff;
}
#klebstar-designer-app .background-toggle .swatch-black i {
  background: #000;
}
#klebstar-designer-app .background-toggle .swatch-checker i {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #d8d1dc 25%, #0000 25%),
    linear-gradient(-45deg, #d8d1dc 25%, #0000 25%),
    linear-gradient(45deg, #0000 75%, #d8d1dc 75%),
    linear-gradient(-45deg, #0000 75%, #d8d1dc 75%);
  background-position:
    0 0,
    0 4px,
    4px -4px,
    -4px 0;
  background-size: 8px 8px;
}
#klebstar-designer-app .transparent-output-badge {
  color: #23765a;
  white-space: nowrap;
  background: #f2fbf7;
  border: 1px solid #cfe9df;
  border-radius: 8px;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 850;
  display: inline-flex;
}
#klebstar-designer-app .transparent-output-badge:before {
  content: "✓";
  margin-right: 5px;
  font-size: 10px;
}
#klebstar-designer-app .snap-toggle {
  border: 1px solid var(--line);
  min-height: 32px;
  color: var(--muted);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
}
#klebstar-designer-app .snap-toggle span {
  color: var(--purple);
  font-size: 15px;
  line-height: 1;
}
#klebstar-designer-app .snap-toggle.active {
  color: var(--purple-dark);
  background: #f6f2ff;
  border-color: #cfc2f5;
}
#klebstar-designer-app .grid-snap-control {
  border: 1px solid var(--line);
  min-height: 32px;
  color: var(--muted);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  padding: 3px 4px 3px 8px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
}
#klebstar-designer-app .grid-snap-control select {
  width: auto;
  height: 24px;
  box-shadow: none;
  background-color: #f3f0f5;
  border: 0;
  border-radius: 6px;
  margin: 0;
  padding: 0 22px 0 6px;
  font-size: 9px;
}
#klebstar-designer-app .history-buttons {
  gap: 4px;
  display: flex;
}
#klebstar-designer-app .history-buttons button {
  border: 1px solid var(--line);
  color: #5f5868;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  min-height: 32px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 800;
}
#klebstar-designer-app .history-buttons button:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: #f7f4ff;
}
#klebstar-designer-app .history-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
#klebstar-designer-app .selection-count {
  background: var(--purple);
  color: #fff;
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 850;
}
#klebstar-designer-app .zoom-label {
  color: #918a98;
  margin-left: auto;
  font-size: 10px;
}
#klebstar-designer-app .zoom-label:before {
  content: "●";
  color: #55b59d;
  margin-right: 6px;
  font-size: 7px;
}
#klebstar-designer-app .paper-stage {
  background-color: #eeebf0;
  background-image: radial-gradient(#d9d3dd 0.7px, #0000 0.7px);
  background-size: 14px 14px;
  flex: 1;
  place-items: center;
  min-height: 610px;
  padding: 40px;
  display: grid;
  position: relative;
  overflow: auto;
}
#klebstar-designer-app .paper-sheet {
  background: #fff;
  transition:
    width 0.25s,
    height 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 11px 30px #241c2c29;
  container-type: inline-size;
}
#klebstar-designer-app .paper-sheet.a5 {
  aspect-ratio: 148/210;
  width: 370px;
}
#klebstar-designer-app .paper-sheet.a4 {
  aspect-ratio: 210/297;
  width: 520px;
}
#klebstar-designer-app .sticker-sheet {
  gap: 5px;
  padding: 19px;
  display: grid;
}
#klebstar-designer-app .sticker-cell {
  place-items: center;
  min-width: 0;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .sticker-cell.pill {
  border-radius: 999px;
}
#klebstar-designer-app .sticker-cell.soft {
  border-radius: 7px;
}
#klebstar-designer-app .sticker-cell.round {
  border-radius: 14px;
}
#klebstar-designer-app .sticker-cell.alternate {
  background: #faf8fc;
}
#klebstar-designer-app .sticker-content {
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  max-width: 94%;
  display: flex;
}
#klebstar-designer-app .sticker-content i {
  font-size: clamp(9px, 1vw, 15px);
  font-style: normal;
}
#klebstar-designer-app .sticker-content b {
  text-overflow: ellipsis;
  font-size: clamp(9px, 1.25vw, 17px);
  overflow: hidden;
}
#klebstar-designer-app .fixed-template-sheet {
  isolation: isolate;
}
#klebstar-designer-app .dynamic-template-sheet {
  background: 0 0;
}
#klebstar-designer-app .dynamic-template-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
#klebstar-designer-app .fixed-template-artwork {
  z-index: 1;
  object-fit: fill;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
#klebstar-designer-app .fixed-template-names {
  z-index: 2;
  position: absolute;
  inset: 0;
}
#klebstar-designer-app .fixed-name-slot {
  color: #000;
  font-family: "Fredoka One", var(--font-rounded);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  line-height: 0.88;
  display: inline-flex;
  position: absolute;
  transform: translate(-50%, -50%);
}
#klebstar-designer-app .fixed-name-slot.title {
  z-index: 3;
  color: #ffed00;
  -webkit-text-stroke: 0.5cqw #1e5175;
  paint-order: stroke fill;
  line-height: 1;
}
#klebstar-designer-app .fixed-name-slot.white-text {
  color: #fff;
}
#klebstar-designer-app .fixed-name-slot.white-pill {
  color: #000;
  background: #fff;
  border-radius: 999px;
}
#klebstar-designer-app .fixed-name-slot.yellow-pill {
  color: #000;
  background: #ffed00;
  border-radius: 999px;
}
#klebstar-designer-app .paper-info {
  color: #746e7d;
  letter-spacing: 0.04em;
  font-size: 9px;
  position: absolute;
  bottom: 15px;
}
#klebstar-designer-app .free-canvas {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
#klebstar-designer-app .free-canvas:not(.preview-only) {
  overflow: visible;
}
#klebstar-designer-app .free-canvas.preview-only {
  overflow: hidden;
}

/* Built-in motif picker for Freies Design. These assets belong to Klebstar,
   so they remain separate from the customer's rights-confirmed upload field. */
#klebstar-designer-app .free-builtin-motif-library {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

#klebstar-designer-app .free-builtin-motif-library > .field-label {
  display: none;
}

#klebstar-designer-app .klebstar-free-shape-original-label,
#klebstar-designer-app .shape-grid.is-collapsed {
  display: none !important;
}

/* Shape and free-motif accordions belong exclusively to Freies Design.
   The runtime class is deliberately used instead of relying on :has(), so
   selected-design mode cannot flash a stale Formen control on mobile. */
#klebstar-designer-app:not(.klebstar-free-design-active) .klebstar-free-shape-library-toggle,
#klebstar-designer-app:not(.klebstar-free-design-active) .klebstar-free-motif-library-toggle,
#klebstar-designer-app .quick-controls .klebstar-free-shape-library-toggle,
#klebstar-designer-app .quick-controls .klebstar-free-motif-library-toggle {
  display: none !important;
}

/* In Freies Design the motif library comes first. Formen sits directly below
   it, followed by the compact shape buttons. Other add controls keep their
   original order above both libraries. */
#klebstar-designer-app .klebstar-free-add-controls-order {
  display: flex !important;
  flex-direction: column;
}

#klebstar-designer-app .klebstar-free-add-controls-order > .free-builtin-motif-library {
  order: 30;
}

#klebstar-designer-app .klebstar-free-add-controls-order > .klebstar-free-shape-library-toggle {
  order: 40;
  margin-top: 12px;
}

#klebstar-designer-app .klebstar-free-add-controls-order > .klebstar-free-shape-original-label {
  order: 41;
}

#klebstar-designer-app .klebstar-free-add-controls-order > .shape-grid {
  order: 42;
  margin-top: 10px;
}

#klebstar-designer-app .free-builtin-motif-library.is-collapsed > :not(.klebstar-free-motif-library-toggle) {
  display: none !important;
}

#klebstar-designer-app .klebstar-free-motif-library-toggle,
#klebstar-designer-app .klebstar-free-shape-library-toggle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid #d9d1ea;
  border-radius: 13px;
  color: #282131;
  background: #fff;
  box-shadow: 0 3px 10px rgba(61, 42, 118, 0.07);
  text-align: left;
}

#klebstar-designer-app .klebstar-free-motif-library-toggle > span,
#klebstar-designer-app .klebstar-free-shape-library-toggle > span {
  font: 800 16px/1.2 Arial, sans-serif;
}

#klebstar-designer-app .klebstar-free-motif-library-toggle > small,
#klebstar-designer-app .klebstar-free-shape-library-toggle > small {
  margin-right: 9px;
  color: #71687d;
  font: 700 12px/1.2 Arial, sans-serif;
}

#klebstar-designer-app .klebstar-free-motif-library-toggle > b,
#klebstar-designer-app .klebstar-free-shape-library-toggle > b {
  color: #6d50d8;
  font: 900 23px/1 Arial, sans-serif;
  transform: rotate(180deg);
  transition: transform 160ms ease;
}

#klebstar-designer-app .free-builtin-motif-library.is-collapsed .klebstar-free-motif-library-toggle > b {
  transform: rotate(0deg);
}

#klebstar-designer-app .klebstar-free-shape-library-toggle[aria-expanded="false"] > b {
  transform: rotate(0deg);
}

#klebstar-designer-app .klebstar-free-motif-library-toggle:hover,
#klebstar-designer-app .klebstar-free-motif-library-toggle:focus-visible,
#klebstar-designer-app .klebstar-free-shape-library-toggle:hover,
#klebstar-designer-app .klebstar-free-shape-library-toggle:focus-visible {
  border-color: #6d50d8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(109, 80, 216, 0.12);
}

#klebstar-designer-app .free-motif-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

#klebstar-designer-app .free-motif-category-tabs button {
  position: relative;
  min-width: 0;
  padding: 5px 5px 7px;
  border: 1px solid #ded8ed;
  border-radius: 12px;
  color: #3b3445;
  background: #fff;
  font: 700 12px/1.15 Arial, sans-serif;
}

#klebstar-designer-app .free-motif-category-tabs button > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
}

#klebstar-designer-app .free-motif-category-tabs button > span:not(.motif-theme-toggle) {
  display: none !important;
}

#klebstar-designer-app .free-motif-category-tabs .motif-theme-toggle {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6d50d8;
  font: 900 17px/22px Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(61, 42, 118, 0.25);
}

#klebstar-designer-app .free-motif-category-tabs button.active {
  border: 2px solid #6d50d8;
  color: #5638bd;
  background: #f3efff;
}

#klebstar-designer-app .free-motif-panel {
  padding: 10px;
  border: 2px solid #6d50d8;
  border-radius: 16px;
  background: #fff;
}

#klebstar-designer-app .free-motif-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  max-height: 250px;
  padding: 2px;
  overflow-y: auto;
}

#klebstar-designer-app .free-motif-grid button {
  min-width: 0;
  padding: 5px;
  border: 1px solid #e4deed;
  border-radius: 11px;
  color: #4a4054;
  background: #fff;
}

#klebstar-designer-app .free-motif-grid button:hover,
#klebstar-designer-app .free-motif-grid button:focus-visible {
  border-color: #6d50d8;
  background: #f8f5ff;
}

#klebstar-designer-app .free-motif-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
}

#klebstar-designer-app .free-motif-grid span {
  display: none !important;
}

#klebstar-designer-app .text-box-controls {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5dff0;
}

#klebstar-designer-app .text-box-toggle {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d9d1ea;
  border-radius: 11px;
  color: #4a4054;
  background: #fff;
  font-weight: 800;
}

#klebstar-designer-app .text-box-toggle.active {
  border-color: #6d50d8;
  color: #fff;
  background: #6d50d8;
  box-shadow: 0 4px 12px rgba(86, 56, 189, 0.2);
}

#klebstar-designer-app .klebstar-mobile-selection-actions {
  position: absolute;
  z-index: 80;
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(109, 80, 216, 0.32);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(48, 34, 78, 0.2);
  transform: translate(-50%, -100%);
}

#klebstar-designer-app .klebstar-mobile-selection-actions button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #5638bd;
  background: #f2eeff;
  font: 900 20px/36px Arial, sans-serif;
}

#klebstar-designer-app .klebstar-mobile-selection-actions button.danger {
  color: #fff;
  background: #d94a68;
}

#klebstar-designer-app .klebstar-mobile-selection-actions button[aria-label="Waagerecht ausrichten"],
#klebstar-designer-app .klebstar-mobile-selection-actions button[aria-label*="90 Grad"] {
  font-size: 13px;
}

/* Free-design text is edited through a stable input rendered directly on the
   sheet. The controlled React input remains hidden as the state bridge. */
#klebstar-designer-app .studio-controls .selected-controls > label[for="elementText"],
#klebstar-designer-app .studio-controls .selected-controls > #elementText {
  display: none !important;
}

#klebstar-designer-app .canvas-element.klebstar-inline-editing {
  z-index: 90 !important;
  cursor: text !important;
  outline: 2px solid #6d50d8;
  outline-offset: 4px;
  scroll-margin-block: 96px;
}

#klebstar-designer-app .canvas-text-content.klebstar-inline-text-editor {
  display: inline-block;
  min-width: 3ch;
  min-height: 1em;
  outline: none;
  cursor: text;
  caret-color: currentColor;
  white-space: pre;
  -webkit-user-select: text !important;
  user-select: text !important;
  touch-action: manipulation;
}

#klebstar-designer-app .canvas-text-content.klebstar-inline-text-editor[data-empty="true"]::before {
  content: attr(data-empty-placeholder);
  opacity: 0.48;
  pointer-events: none;
}

#klebstar-designer-app .canvas-text-content.klebstar-inline-text-source {
  display: none !important;
}

#klebstar-designer-app .klebstar-inline-text-input {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: content-box;
  width: 8ch;
  min-width: 6ch;
  max-width: 42ch;
  height: 1.15em;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font: inherit;
  line-height: 1;
  text-align: center;
  text-decoration: inherit;
  letter-spacing: inherit;
  caret-color: currentColor;
  -webkit-user-select: text !important;
  user-select: text !important;
  touch-action: manipulation;
}

#klebstar-designer-app textarea.klebstar-inline-text-input {
  overflow: hidden;
  resize: none;
  white-space: pre;
}

#klebstar-designer-app .canvas-element.text {
  width: max-content;
  min-width: max-content;
  max-width: none;
}

#klebstar-designer-app .canvas-element.text .canvas-text-content {
  display: inline-block;
  white-space: pre;
  text-align: center;
}

#klebstar-designer-app .klebstar-inline-text-input::placeholder {
  color: currentColor;
  opacity: 0.48;
}

#klebstar-designer-app .free-canvas:has(.klebstar-inline-editing) .selection-transform-box {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  #klebstar-designer-app .selection-transform-box > .selection-action-bar {
    display: none !important;
  }

  #klebstar-designer-app .klebstar-mobile-selection-actions {
    display: flex !important;
  }

  #klebstar-designer-app .free-motif-category-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  #klebstar-designer-app .free-motif-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 300px;
  }

  #klebstar-designer-app .free-motif-category-tabs button > span:not(.motif-theme-toggle),
  #klebstar-designer-app .free-motif-grid button > span {
    display: none !important;
  }
}
#klebstar-designer-app .free-canvas[data-live-interaction="drag"] [data-live-moving="true"],
#klebstar-designer-app .free-canvas[data-live-interaction="drag"] .selection-transform-box {
  translate: var(--ks-drag-x, 0px) var(--ks-drag-y, 0px);
  transition: none !important;
  will-change: translate;
}
#klebstar-designer-app .free-canvas[data-live-interaction="resize"] [data-live-resizing="true"] {
  transition: none !important;
  will-change: left, top, width, height;
}
#klebstar-designer-app .free-canvas[data-live-interaction="rotate"] [data-live-rotating="true"] {
  transition: none !important;
  will-change: left, top, transform;
}
#klebstar-designer-app .selection-marquee[hidden],
#klebstar-designer-app .snap-guide[hidden] {
  display: none !important;
}
#klebstar-designer-app .paper-sheet.canvas-bg-transparent {
  background: 0 0;
}
#klebstar-designer-app .paper-sheet.canvas-bg-white {
  background: #fff;
}
#klebstar-designer-app .paper-sheet.canvas-bg-black {
  background: #000;
}
#klebstar-designer-app .paper-sheet.canvas-bg-checker {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e2dce5 25%, #0000 25%),
    linear-gradient(-45deg, #e2dce5 25%, #0000 25%),
    linear-gradient(45deg, #0000 75%, #e2dce5 75%),
    linear-gradient(-45deg, #0000 75%, #e2dce5 75%);
  background-position:
    0 0,
    0 12px,
    12px -12px,
    -12px 0;
  background-size: 24px 24px;
}
#klebstar-designer-app .safe-area-guide {
  z-index: 0;
  pointer-events: none;
  border: 1px dashed #26846294;
  border-radius: 2px;
  position: absolute;
  box-shadow: 0 0 0 1px #ffffff80;
}
#klebstar-designer-app .safe-area-guide:before {
  content: "5 mm";
  color: #27745a;
  background: #ffffffd1;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 7px;
  font-weight: 850;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 4px;
}
#klebstar-designer-app .selection-marquee {
  z-index: 999;
  pointer-events: none;
  border: 1px solid var(--purple);
  background: #6d50d81a;
  position: absolute;
  box-shadow: inset 0 0 0 1px #ffffffa6;
}
#klebstar-designer-app .snap-guide {
  z-index: 1000;
  pointer-events: none;
  background: var(--purple);
  display: block;
  position: absolute;
  box-shadow: 0 0 0 1px #ffffffb8;
}
#klebstar-designer-app .snap-guide.vertical {
  width: 1px;
  top: 0;
  bottom: 0;
  transform: translate(-0.5px);
}
#klebstar-designer-app .snap-guide.horizontal {
  height: 1px;
  left: 0;
  right: 0;
  transform: translateY(-0.5px);
}
#klebstar-designer-app .canvas-element {
  cursor: grab;
  white-space: nowrap;
  border: 0;
  border-radius: 3px;
  padding: 0;
  line-height: 1;
  position: absolute;
  transform: translate(-50%, -50%);
}
#klebstar-designer-app .canvas-element:active {
  cursor: grabbing;
}
#klebstar-designer-app .canvas-element.selected {
  outline-offset: 2px;
  outline: 1px solid #6d50d8b8;
  box-shadow: 0 0 0 3px #6d50d814;
  will-change: left, top, width, height;
}
#klebstar-designer-app .canvas-element.selected.grouped {
  outline-style: dashed;
}
#klebstar-designer-app .free-canvas:not(.preview-only) .canvas-element.selected:not(.klebstar-inline-editing) {
  outline: 0;
  box-shadow: none;
}
#klebstar-designer-app .selection-transform-box {
  z-index: 1001;
  pointer-events: none;
  border: 1px solid var(--purple);
  position: absolute;
  transform-origin: center center;
  will-change: left, top, width, height, transform;
  box-shadow: 0 0 0 1px #ffffffb8;
}
#klebstar-designer-app .resize-handle {
  pointer-events: auto;
  touch-action: none;
  border: 2px solid var(--purple);
  background: #fff;
  border-radius: 3px;
  width: 12px;
  height: 12px;
  position: absolute;
  box-shadow: 0 1px 4px #241f2e33;
}
#klebstar-designer-app .resize-handle.nw {
  cursor: nwse-resize;
  top: -7px;
  left: -7px;
}
#klebstar-designer-app .resize-handle.ne {
  cursor: nesw-resize;
  top: -7px;
  right: -7px;
}
#klebstar-designer-app .resize-handle.se {
  cursor: nwse-resize;
  bottom: -7px;
  right: -7px;
}
#klebstar-designer-app .resize-handle.sw {
  cursor: nesw-resize;
  bottom: -7px;
  left: -7px;
}
#klebstar-designer-app .resize-handle.axis {
  border-radius: 999px;
}
#klebstar-designer-app .resize-handle.axis.n,
#klebstar-designer-app .resize-handle.axis.s {
  cursor: ns-resize;
  width: 24px;
  height: 10px;
  left: 50%;
  transform: translate(-50%);
}
#klebstar-designer-app .resize-handle.axis.n {
  top: -6px;
}
#klebstar-designer-app .resize-handle.axis.s {
  bottom: -6px;
}
#klebstar-designer-app .resize-handle.axis.e,
#klebstar-designer-app .resize-handle.axis.w {
  cursor: ew-resize;
  width: 10px;
  height: 24px;
  top: 50%;
  transform: translateY(-50%);
}
#klebstar-designer-app .resize-handle.axis.e {
  right: -6px;
}
#klebstar-designer-app .resize-handle.axis.w {
  left: -6px;
}
#klebstar-designer-app .selection-action-bar {
  pointer-events: auto;
  white-space: nowrap;
  background: #fffffff7;
  border: 1px solid #d8d1e1;
  border-radius: 9px;
  gap: 3px;
  padding: 3px;
  display: flex;
  position: absolute;
  top: calc(50% + var(--ks-action-y, -25px));
  left: calc(50% + var(--ks-action-x, 0px));
  transform: translate(-50%, -50%) rotate(var(--ks-selection-counter-rotation, 0deg));
  transform-origin: center center;
  box-shadow: 0 5px 14px #251c2e2e;
}
#klebstar-designer-app .selection-action-bar button {
  color: #5b5264;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  width: 26px;
  height: 25px;
  padding: 0;
  font:
    850 14px/1 Arial,
    sans-serif;
  display: grid;
}
#klebstar-designer-app .selection-action-bar button:hover {
  color: var(--purple-dark);
  background: #f1ecfb;
}
#klebstar-designer-app .selection-action-bar button.danger {
  color: #b64758;
}
#klebstar-designer-app .selection-action-bar button.danger:hover {
  color: #9e3042;
  background: #fff0f2;
}
#klebstar-designer-app .selection-action-bar .rotation-reset-handle,
#klebstar-designer-app .selection-action-bar .rotation-quarter-handle {
  width: 32px;
  font-size: 11px;
}
#klebstar-designer-app .rotation-controls {
  z-index: 4;
  pointer-events: auto;
  width: 100px;
  height: 42px;
  display: block;
  position: absolute;
  top: calc(50% + var(--ks-rotation-y, 33px));
  left: calc(50% + var(--ks-rotation-x, 0px));
  transform: translate(-50%, -50%) rotate(var(--ks-selection-counter-rotation, 0deg));
  transform-origin: center center;
  padding: 0;
  border: 0;
  background: transparent;
}
#klebstar-designer-app .rotation-controls::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--purple);
  transform: translateX(-50%);
}
#klebstar-designer-app .rotation-controls button {
  box-sizing: border-box;
  border-radius: 999px;
}
#klebstar-designer-app .rotation-controls .rotate-drag-handle {
  width: 100px;
  height: 42px;
  padding: 0 14px;
  border: 3px solid #fff;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 0 0 2px var(--purple), 0 6px 14px #3e28743d;
  font-size: 15px;
  letter-spacing: 0.01em;
  touch-action: none;
  cursor: grab;
}
#klebstar-designer-app .rotation-controls .rotate-drag-handle:active {
  cursor: grabbing;
  background: var(--purple-dark);
}
#klebstar-designer-app .selection-action-bar .rotation-reset-handle:hover,
#klebstar-designer-app .selection-action-bar .rotation-quarter-handle:hover {
  color: var(--purple-dark);
  background: #e9e1fb;
}
#klebstar-designer-app .selection-move-handle {
  pointer-events: auto;
  touch-action: none;
  cursor: move;
  background: var(--purple);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font:
    700 14px/1 Arial,
    sans-serif;
  display: grid;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 10px #3827724d;
}
#klebstar-designer-app .selection-move-handle:active {
  cursor: grabbing;
  background: var(--purple-dark);
}
#klebstar-designer-app .canvas-element.image {
  width: 170px;
  max-width: none;
  padding: 0;
}
#klebstar-designer-app .canvas-image-content {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}
#klebstar-designer-app .canvas-element.image img {
  pointer-events: none;
  width: 100%;
  height: auto;
  display: block;
}
#klebstar-designer-app .canvas-image-tint {
  pointer-events: none;
  mix-blend-mode: color;
  position: absolute;
  inset: 0;
}
#klebstar-designer-app .canvas-text-content {
  display: inline-block;
}
#klebstar-designer-app .canvas-element.shape {
  border: 0;
  padding: 0;
}
#klebstar-designer-app .canvas-element.shape-circle {
  border-radius: 50%;
}
#klebstar-designer-app .canvas-element.shape-rounded {
  border-radius: 22%;
}
#klebstar-designer-app .canvas-element.shape-capsule {
  border-radius: 999px;
}
#klebstar-designer-app .canvas-element.shape-oval {
  border-radius: 50%;
}
#klebstar-designer-app .canvas-element.shape-tag {
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%, 8% 50%);
}
#klebstar-designer-app .canvas-element.shape-ribbon {
  clip-path: polygon(0 0, 12% 50%, 0 100%, 100% 100%, 88% 50%, 100% 0);
}
#klebstar-designer-app .canvas-element.shape-ticket {
  clip-path: polygon(0 0, 100% 0, 100% 35%, 94% 50%, 100% 65%, 100% 100%, 0 100%, 0 65%, 6% 50%, 0 35%);
}
#klebstar-designer-app .canvas-element.shape-hexagon {
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}
#klebstar-designer-app .canvas-element.shape-speech {
  clip-path: polygon(0 0, 100% 0, 100% 75%, 62% 75%, 50% 100%, 44% 75%, 0 75%);
}
#klebstar-designer-app .canvas-element.shape-triangle {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
#klebstar-designer-app .canvas-element.shape-diamond {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
#klebstar-designer-app .free-canvas.preview-only {
  pointer-events: none;
}
#klebstar-designer-app .preview-footer {
  border-top: 1px solid var(--line);
  min-height: 80px;
  display: grid;
}
#klebstar-designer-app .preview-footer-main {
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  display: flex;
}
#klebstar-designer-app .preview-product-summary {
  gap: 2px;
  margin-right: auto;
  display: grid;
}
#klebstar-designer-app .preview-footer b {
  font-size: 13px;
}
#klebstar-designer-app .preview-footer span {
  color: var(--muted);
  font-size: 9px;
}
#klebstar-designer-app .preview-price-stack {
  gap: 5px;
  width: min(228px, 34vw);
  display: grid;
}
#klebstar-designer-app .preview-final-price {
  text-align: right;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 1px 8px;
  min-width: 112px;
  display: grid;
}
#klebstar-designer-app .preview-final-price span {
  grid-column: 1/-1;
}
#klebstar-designer-app .preview-final-price b {
  color: var(--ink);
  font-size: 17px;
}
#klebstar-designer-app .preview-final-price del {
  color: #9a929f;
  font-size: 10px;
}
#klebstar-designer-app .designer-coupon {
  gap: 3px;
  margin: 0;
  display: grid;
}
#klebstar-designer-app .designer-coupon-controls {
  grid-template-columns: 1fr auto;
  display: grid;
}
#klebstar-designer-app .designer-coupon-controls input {
  min-width: 0;
  height: 29px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid #ddd7e1;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  outline: 0;
  padding: 0 9px;
  font-size: 9px;
}
#klebstar-designer-app .designer-coupon-controls input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #eee9fb;
}
#klebstar-designer-app .designer-coupon-controls button {
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 0 7px 7px 0;
  min-width: 66px;
  height: 29px;
  padding: 0 9px;
  font-size: 8px;
  font-weight: 850;
}
#klebstar-designer-app .designer-coupon-controls button:disabled {
  cursor: wait;
  opacity: 0.65;
}
#klebstar-designer-app .designer-coupon .coupon-message {
  color: var(--muted);
  text-align: right;
  margin: 0;
  font-size: 8px;
  line-height: 1.3;
}
#klebstar-designer-app .designer-coupon .coupon-message.applied {
  color: #207456;
  font-weight: 750;
}
#klebstar-designer-app .designer-coupon .coupon-message.error {
  color: #a22c2c;
}
#klebstar-designer-app .primary-button,
#klebstar-designer-app .secondary-button {
  cursor: pointer;
  border-radius: 11px;
  padding: 12px 17px;
  font-size: 11px;
  font-weight: 750;
}
#klebstar-designer-app .primary-button {
  background: var(--purple);
  color: #fff;
  border: 0;
  align-items: center;
  gap: 10px;
  display: flex;
  box-shadow: 0 7px 15px #6d50d838;
}
#klebstar-designer-app .primary-button:hover {
  background: var(--purple-dark);
}
#klebstar-designer-app .primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
#klebstar-designer-app .primary-button span {
  color: #fff;
  font-size: 13px;
}
#klebstar-designer-app .primary-button strong {
  border-left: 1px solid #ffffff40;
  padding-left: 10px;
}
#klebstar-designer-app .secondary-button {
  border: 1px solid var(--line);
  background: #fff;
}
#klebstar-designer-app .order-error {
  color: #a22c2c;
  text-align: right;
  background: #fff4f4;
  border-top: 1px solid #f1caca;
  margin: 0;
  padding: 10px 22px;
  font-size: 11px;
}
#klebstar-designer-app .price-section {
  text-align: center;
  width: min(950px, 100% - 48px);
  margin: 0 auto;
  padding: 90px 0 20px;
}
#klebstar-designer-app .price-section h2 {
  letter-spacing: -0.045em;
  margin: 0 0 10px;
  font-size: 36px;
}
#klebstar-designer-app .tax-price-intro {
  color: var(--muted);
  margin: 0 0 38px;
  font-size: 12px;
  font-weight: 700;
}
#klebstar-designer-app .price-grid {
  text-align: left;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}
#klebstar-designer-app .price-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px #2c22370f;
}
#klebstar-designer-app .price-grid article > span {
  color: var(--purple);
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 850;
  display: block;
}
#klebstar-designer-app .price-grid article > b {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  display: flex;
}
#klebstar-designer-app .price-grid em {
  color: var(--ink);
  font-size: 22px;
  font-style: normal;
}
#klebstar-designer-app .price-grid p {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.6;
}
#klebstar-designer-app .how-section {
  text-align: center;
  width: min(1050px, 100% - 48px);
  margin: 0 auto;
  padding: 90px 0 105px;
}
#klebstar-designer-app .how-section h2 {
  letter-spacing: -0.045em;
  margin: 0 0 50px;
  font-size: 36px;
}
#klebstar-designer-app .how-grid {
  text-align: left;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}
#klebstar-designer-app .how-grid article {
  border-right: 1px solid var(--line);
  padding: 10px 38px;
}
#klebstar-designer-app .how-grid article:last-child {
  border: 0;
}
#klebstar-designer-app .how-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
#klebstar-designer-app .how-grid.four article {
  padding: 10px 25px;
}
#klebstar-designer-app .how-grid span {
  color: var(--purple);
  margin-bottom: 25px;
  font-size: 11px;
  font-weight: 900;
  display: block;
}
#klebstar-designer-app .how-grid b {
  font-size: 17px;
  display: block;
}
#klebstar-designer-app .how-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
#klebstar-designer-app footer {
  border-top: 1px solid var(--line);
  color: #857e8b;
  align-items: center;
  gap: 28px;
  width: min(1220px, 100% - 48px);
  min-height: 130px;
  margin: 0 auto;
  font-size: 11px;
  display: flex;
}
#klebstar-designer-app footer .brand {
  color: var(--ink);
  font-size: 15px;
}
#klebstar-designer-app footer .brand-star {
  border-radius: 7px;
  width: 24px;
  height: 24px;
  font-size: 11px;
}
#klebstar-designer-app footer > span:last-child {
  margin-left: auto;
}
#klebstar-designer-app .checkout-overlay {
  z-index: 100;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #1e18259e;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}
#klebstar-designer-app .checkout-modal {
  background: #fff;
  border-radius: 25px;
  width: min(1050px, 100%);
  max-height: calc(100vh - 48px);
  position: relative;
  overflow: auto;
  box-shadow: 0 30px 80px #140c1e4d;
}
#klebstar-designer-app .modal-close {
  z-index: 2;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  position: absolute;
  top: 16px;
  right: 18px;
}
#klebstar-designer-app .checkout-progress {
  border-bottom: 1px solid var(--line);
  align-items: center;
  height: 70px;
  padding: 0 60px;
  display: flex;
}
#klebstar-designer-app .checkout-progress span {
  color: #9b94a1;
  background: #ece8ef;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}
#klebstar-designer-app .checkout-progress span.active,
#klebstar-designer-app .checkout-progress span.done {
  background: var(--purple);
  color: #fff;
}
#klebstar-designer-app .checkout-progress i {
  background: var(--line);
  width: 42px;
  height: 1px;
}
#klebstar-designer-app .checkout-progress small {
  color: var(--muted);
  margin-left: 14px;
  font-size: 11px;
}
#klebstar-designer-app .checkout-layout {
  grid-template-columns: 390px 1fr;
  min-height: 610px;
  display: grid;
}
#klebstar-designer-app .checkout-layout.confirmation-layout {
  grid-template-columns: minmax(330px, 390px) 1fr;
  min-height: 540px;
}
#klebstar-designer-app .prepared-order-preview {
  border-right: 1px solid var(--line);
  background: #f4f1f6;
  padding: 34px;
}
#klebstar-designer-app .prepared-preview-frame {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #ddd7e1 25%, #0000 25%),
    linear-gradient(-45deg, #ddd7e1 25%, #0000 25%),
    linear-gradient(45deg, #0000 75%, #ddd7e1 75%),
    linear-gradient(-45deg, #0000 75%, #ddd7e1 75%);
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-size: 20px 20px;
  border-radius: 15px;
  place-items: center;
  height: 430px;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .prepared-preview-frame img {
  object-fit: contain;
  filter: drop-shadow(0 8px 18px #241f2e29);
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: 92%;
  display: block;
}
#klebstar-designer-app .prepared-order-preview .order-summary-line {
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  display: flex;
}
#klebstar-designer-app .prepared-order-preview > small {
  color: #817987;
  margin-top: 7px;
  font-size: 9px;
  display: block;
}
#klebstar-designer-app .prepared-order-preview > small.prepared-coupon {
  color: #207456;
  font-weight: 750;
}
#klebstar-designer-app .order-preview {
  border-right: 1px solid var(--line);
  background: #f4f1f6;
  padding: 34px;
}
#klebstar-designer-app .order-preview-title {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  display: block;
}
#klebstar-designer-app .order-sheet-frame {
  background-color: #e8e4eb;
  background-image: radial-gradient(#d3cdd7 0.7px, #0000 0.7px);
  background-size: 13px 13px;
  border-radius: 15px;
  place-items: center;
  height: 410px;
  display: grid;
  overflow: hidden;
}
#klebstar-designer-app .order-sheet-frame .paper-sheet.a5 {
  width: 230px;
}
#klebstar-designer-app .order-sheet-frame .paper-sheet.a4 {
  width: 255px;
}
#klebstar-designer-app .order-sheet-frame .sticker-sheet {
  gap: 3px;
  padding: 11px;
}
#klebstar-designer-app .order-sheet-frame .sticker-content {
  gap: 2px;
}
#klebstar-designer-app .order-sheet-frame .sticker-content i {
  font-size: 8px;
}
#klebstar-designer-app .order-sheet-frame .sticker-content b {
  font-size: 9px;
}
#klebstar-designer-app .order-sheet-frame .canvas-element {
  transform-origin: 50%;
  padding: 2px;
}
#klebstar-designer-app .order-preview .order-summary-line {
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  display: flex;
}
#klebstar-designer-app .order-summary-line span {
  color: var(--muted);
  font-size: 12px;
}
#klebstar-designer-app .order-summary-line b {
  font-size: 18px;
}
#klebstar-designer-app .order-preview > small {
  color: #96909c;
  margin-top: 7px;
  font-size: 9px;
  display: block;
}
#klebstar-designer-app .order-preview > small.background-summary {
  color: #655a72;
  margin-top: 11px;
  font-weight: 750;
}
#klebstar-designer-app .checkout-form {
  padding: 45px 50px 38px;
}
#klebstar-designer-app .checkout-form .eyebrow,
#klebstar-designer-app .success-screen .eyebrow {
  margin-bottom: 9px;
}
#klebstar-designer-app .checkout-form h2,
#klebstar-designer-app .success-screen h2 {
  letter-spacing: -0.04em;
  margin: 0;
  font-size: 28px;
}
#klebstar-designer-app .form-note {
  color: var(--muted);
  margin: 8px 0 26px;
  font-size: 12px;
}
#klebstar-designer-app .confirmation-copy {
  flex-direction: column;
  justify-content: center;
  display: flex;
}
#klebstar-designer-app .confirmation-copy .form-note {
  max-width: 510px;
  font-size: 13px;
  line-height: 1.65;
}
#klebstar-designer-app .confirmation-checklist {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
#klebstar-designer-app .confirmation-checklist li {
  border: 1px solid var(--line);
  color: #5f5866;
  border-radius: 11px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}
#klebstar-designer-app .confirmation-checklist span {
  color: #207456;
  background: #e4f5ed;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 900;
  display: grid;
}
#klebstar-designer-app .form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 13px 12px;
  display: grid;
}
#klebstar-designer-app .checkout-label {
  color: #67616d;
  gap: 6px;
  font-size: 10px;
  font-weight: 750;
  display: grid;
}
#klebstar-designer-app .checkout-label.wide {
  grid-column: span 2;
}
#klebstar-designer-app .checkout-label input,
#klebstar-designer-app .checkout-label select {
  width: 100%;
  height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcd6e1;
  border-radius: 9px;
  outline: none;
  padding: 0 11px;
  font-size: 12px;
}
#klebstar-designer-app .checkout-label input:focus,
#klebstar-designer-app .checkout-label select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #eee9fb;
}
#klebstar-designer-app .checkout-form > .checkout-label {
  margin-top: 13px;
}
#klebstar-designer-app .checkout-next {
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
}
#klebstar-designer-app .checkout-next:hover {
  background: var(--purple-dark);
}
#klebstar-designer-app .checkout-next span {
  font-size: 17px;
}
#klebstar-designer-app .checkout-order-actions {
  grid-template-columns: minmax(145px, 0.72fr) minmax(210px, 1.28fr);
  gap: 9px;
  margin-top: 24px;
  display: grid;
}
#klebstar-designer-app .checkout-order-actions.three-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#klebstar-designer-app .checkout-order-actions .checkout-next {
  margin-top: 0;
}
#klebstar-designer-app .checkout-cart-action {
  border: 1px solid var(--purple);
  min-height: 48px;
  color: var(--purple);
  cursor: pointer;
  background: #fff;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 850;
}
#klebstar-designer-app .checkout-cart-action:hover {
  background: #f7f4ff;
}
#klebstar-designer-app .admin-png-download {
  width: 100%;
  min-height: 46px;
  color: #315c4b;
  cursor: pointer;
  background: #eef7f1;
  border: 1px solid #9bc3ad;
  border-radius: 11px;
  margin-top: 16px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 850;
}
#klebstar-designer-app .admin-png-download:hover {
  background: #e1f1e7;
  border-color: #6d9f82;
}
#klebstar-designer-app .checkout-cart-action:disabled,
#klebstar-designer-app .checkout-next:disabled {
  opacity: 0.58;
  cursor: wait;
}
#klebstar-designer-app .modal-order-error {
  color: #a22c2c;
  background: #fff0f0;
  border-radius: 9px;
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 10px;
}
#klebstar-designer-app .back-button {
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin-bottom: 24px;
  padding: 0;
  font-size: 10px;
}
#klebstar-designer-app .test-badge {
  color: #7e6418;
  background: #fff6dc;
  border-radius: 9px;
  margin: 18px 0;
  padding: 10px 12px;
  font-size: 10px;
}
#klebstar-designer-app .test-badge b {
  margin-right: 5px;
}
#klebstar-designer-app .payment-options {
  gap: 8px;
  display: grid;
}
#klebstar-designer-app .payment-option {
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  background: #fff;
  border-radius: 11px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 15px;
  display: flex;
}
#klebstar-designer-app .payment-option.selected {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  background: #faf8ff;
}
#klebstar-designer-app .payment-option i {
  color: var(--purple);
  font-style: normal;
}
#klebstar-designer-app .payment-option span {
  gap: 2px;
  display: grid;
}
#klebstar-designer-app .payment-option b {
  font-size: 12px;
}
#klebstar-designer-app .payment-option small {
  color: var(--muted);
  font-size: 9px;
}
#klebstar-designer-app .delivery-summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 3px;
  margin-top: 17px;
  padding: 13px;
  display: grid;
}
#klebstar-designer-app .delivery-summary b {
  margin-bottom: 3px;
  font-size: 10px;
}
#klebstar-designer-app .delivery-summary span {
  color: var(--muted);
  font-size: 10px;
}
#klebstar-designer-app .total-line {
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
  display: flex;
}
#klebstar-designer-app .total-line b {
  font-size: 22px;
}
#klebstar-designer-app .secure-note {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 9px;
  display: block;
}
#klebstar-designer-app .success-screen {
  text-align: center;
  grid-column: 1/-1;
  width: min(620px, 100%);
  margin: auto;
  padding: 48px 50px;
}
#klebstar-designer-app .success-icon {
  color: #238765;
  background: #e3f6ee;
  border-radius: 50%;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  font-size: 27px;
  font-weight: 800;
  display: grid;
}
#klebstar-designer-app .success-screen > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}
#klebstar-designer-app .cart-design-browser {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
  display: grid;
}
#klebstar-designer-app .cart-design-browser > button {
  border: 1px solid var(--line);
  cursor: pointer;
  width: 36px;
  height: 42px;
  color: var(--purple);
  background: #fff;
  border-radius: 10px;
  font-size: 24px;
}
#klebstar-designer-app .cart-design-browser > button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
#klebstar-designer-app .cart-design-browser > div {
  border: 1px solid var(--line);
  text-align: left;
  background: #f8f6fa;
  border-radius: 14px;
  grid-template-columns: 95px 1fr;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 10px;
  display: grid;
}
#klebstar-designer-app .cart-design-browser img {
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  width: 95px;
  height: 92px;
}
#klebstar-designer-app .cart-design-browser span {
  gap: 5px;
  display: grid;
}
#klebstar-designer-app .cart-design-browser b {
  font-size: 11px;
}
#klebstar-designer-app .cart-design-browser small {
  color: var(--muted);
  font-size: 9px;
}
#klebstar-designer-app .cart-success-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  display: flex;
}
#klebstar-designer-app .cart-success-actions > * {
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  padding: 10px 15px;
  font-size: 10px;
  font-weight: 850;
  display: inline-flex;
}
#klebstar-designer-app .cart-success-actions .secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
#klebstar-designer-app .cart-success-actions .primary {
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
}
#klebstar-designer-app .order-number {
  background: #f5f2f7;
  border-radius: 12px;
  gap: 5px;
  margin: 22px 0 12px;
  padding: 16px;
  display: grid;
}
#klebstar-designer-app .order-number span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
}
#klebstar-designer-app .order-number b {
  letter-spacing: 0.05em;
  font-size: 20px;
}
#klebstar-designer-app .mail-preview {
  border: 1px solid var(--line);
  text-align: left;
  border-radius: 12px;
  gap: 13px;
  padding: 14px;
  display: flex;
}
#klebstar-designer-app .mail-preview > span {
  color: var(--purple);
  font-size: 19px;
}
#klebstar-designer-app .mail-preview b {
  font-size: 11px;
}
#klebstar-designer-app .mail-preview p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.5;
}
#klebstar-designer-app .order-preview.compact {
  border: 1px solid var(--line);
  text-align: left;
  background: #fff;
  border-radius: 12px;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  display: grid;
}
#klebstar-designer-app .order-preview.compact .order-preview-title,
#klebstar-designer-app .order-preview.compact > small {
  display: none;
}
#klebstar-designer-app .order-preview.compact .order-sheet-frame {
  grid-row: span 2;
  height: 82px;
}
#klebstar-designer-app .order-preview.compact .order-sheet-frame .paper-sheet {
  width: 50px;
}
#klebstar-designer-app .order-preview.compact .order-summary-line {
  padding: 0;
}
#klebstar-designer-app .order-preview.compact .sticker-content i {
  font-size: 2px;
}
#klebstar-designer-app .order-preview.compact .sticker-content b {
  font-size: 3px;
}
@media (width<=900px) {
  #klebstar-designer-app .site-header nav a {
    display: none;
  }
  #klebstar-designer-app .intro {
    grid-template-columns: 1fr;
    padding: 52px 0;
  }
  #klebstar-designer-app .intro-sample {
    min-height: 370px;
  }
  #klebstar-designer-app .workspace {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  #klebstar-designer-app .controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: none;
    order: 3;
  }
  #klebstar-designer-app .preview-panel {
    position: static;
    min-height: 0;
    display: contents;
  }
  #klebstar-designer-app .preview-toolbar {
    order: 1;
  }
  #klebstar-designer-app .paper-stage {
    order: 2;
    height: clamp(340px, 50svh, 480px);
    min-height: 0;
    padding: 16px;
  }
  #klebstar-designer-app .preview-footer {
    order: 4;
  }
  #klebstar-designer-app .paper-stage > .paper-sheet.a5 {
    width: min(320px, 62vw);
  }
  #klebstar-designer-app .paper-stage > .paper-sheet.a4 {
    width: min(360px, 68vw);
  }
  #klebstar-designer-app .motif-category-tabs span.motif-touch-pick,
  #klebstar-designer-app .motif-choice > span.motif-touch-pick {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 3;
    color: #fff;
    background: #6d50d8e8;
    border: 1px solid #fff;
    border-radius: 50%;
    place-items: center;
    width: 21px;
    height: 21px;
    font-size: 0;
    line-height: 1;
    display: grid !important;
    overflow: visible;
    box-shadow: 0 2px 5px #241f2e30;
  }
  #klebstar-designer-app .motif-category-tabs span.motif-touch-pick::before,
  #klebstar-designer-app .motif-choice > span.motif-touch-pick::before {
    content: "+";
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
  }
  #klebstar-designer-app .how-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  #klebstar-designer-app .how-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 10px;
  }
  #klebstar-designer-app .how-grid.four {
    grid-template-columns: 1fr 1fr;
  }
  #klebstar-designer-app .how-grid.four article:nth-child(2) {
    border-right: 0;
  }
  #klebstar-designer-app .checkout-layout {
    grid-template-columns: 310px 1fr;
  }
  #klebstar-designer-app .order-preview {
    padding: 25px;
  }
  #klebstar-designer-app .checkout-form {
    padding: 38px 32px;
  }
}
@media (width<=560px) {
  #klebstar-designer-app .site-header {
    width: calc(100% - 30px);
  }
  #klebstar-designer-app .site-header nav {
    gap: 0;
  }
  #klebstar-designer-app .text-button {
    padding: 8px 11px;
    font-size: 11px;
  }
  #klebstar-designer-app .intro {
    width: calc(100% - 36px);
  }
  #klebstar-designer-app .intro h1 {
    font-size: 51px;
  }
  #klebstar-designer-app .intro-copy {
    font-size: 14px;
  }
  #klebstar-designer-app .hero-features {
    gap: 6px;
  }
  #klebstar-designer-app .hero-features span {
    padding: 7px 9px;
    font-size: 9px;
  }
  #klebstar-designer-app .intro-sample {
    border-radius: 26px;
    min-height: 300px;
  }
  #klebstar-designer-app .hero-proof-badges {
    justify-content: center;
    max-width: none;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  #klebstar-designer-app .hero-proof-badges span {
    padding: 6px 8px;
    font-size: 7px;
  }
  #klebstar-designer-app .sample-caption {
    display: none;
  }
  #klebstar-designer-app .designer-shell {
    padding: 22px 12px 40px;
  }
  #klebstar-designer-app .mode-tabs button {
    padding: 12px 10px;
  }
  #klebstar-designer-app .mode-tabs small {
    display: none;
  }
  #klebstar-designer-app .draft-bar {
    flex-direction: column;
    align-items: stretch;
  }
  #klebstar-designer-app .draft-actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  #klebstar-designer-app .workspace {
    border-radius: 16px;
  }
  #klebstar-designer-app .controls {
    padding: 20px;
  }
  #klebstar-designer-app .preview-toolbar {
    flex-wrap: wrap;
    gap: 9px;
    min-height: 50px;
    padding: 7px 10px;
  }
  #klebstar-designer-app .background-toggle {
    display: none;
  }
  #klebstar-designer-app .transparent-output-badge {
    display: none;
  }
  #klebstar-designer-app .grid-snap-control {
    flex: 1;
    justify-content: space-between;
  }
  #klebstar-designer-app .selection-action-bar {
    top: -34px;
  }
  #klebstar-designer-app .zoom-label {
    display: none;
  }
  #klebstar-designer-app .paper-stage {
    height: clamp(320px, 50svh, 430px);
    min-height: 0;
    padding: 10px;
  }
  #klebstar-designer-app .paper-stage > .paper-sheet.a5 {
    width: min(245px, 72vw);
  }
  #klebstar-designer-app .paper-stage > .paper-sheet.a4 {
    width: min(265px, 76vw);
  }
  #klebstar-designer-app .motif-drag-guide {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 7px;
  }
  #klebstar-designer-app .motif-drag-visual {
    gap: 3px;
  }
  #klebstar-designer-app .motif-drag-source {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  #klebstar-designer-app .motif-drag-source img {
    width: 27px;
    height: 27px;
  }
  #klebstar-designer-app .motif-drag-motion {
    flex-basis: 20px;
    width: 20px;
  }
  #klebstar-designer-app .motif-drag-motion i {
    font-size: 14px;
  }
  #klebstar-designer-app .motif-drag-motion b {
    font-size: 17px;
  }
  #klebstar-designer-app .motif-drag-target {
    flex-basis: 55px;
    gap: 1px;
    width: 55px;
    height: 30px;
    padding: 2px 4px 2px 2px;
  }
  #klebstar-designer-app .motif-drag-target img {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }
  #klebstar-designer-app .motif-drag-target b {
    font-size: 6px;
  }
  #klebstar-designer-app .motif-drag-copy {
    text-align: left;
  }
  #klebstar-designer-app .motif-drag-copy > b {
    font-size: 0;
  }
  #klebstar-designer-app .motif-drag-copy > b::after {
    content: "Am Handy: Motiv auswählen";
    font-size: 9px;
  }
  #klebstar-designer-app .motif-drag-copy > span {
    font-size: 0;
    line-height: 1.25;
  }
  #klebstar-designer-app .motif-drag-copy > span::after {
    content: "+ tippen, dann Sticker antippen.";
    font-size: 8px;
  }
  #klebstar-designer-app .motif-drag-copy > small {
    display: none;
  }
  #klebstar-designer-app .preview-footer {
    flex-wrap: wrap;
  }
  #klebstar-designer-app .preview-footer-main {
    flex-wrap: wrap;
    width: 100%;
  }
  #klebstar-designer-app .preview-product-summary {
    width: 100%;
  }
  #klebstar-designer-app .preview-price-stack {
    width: min(220px, 62vw);
    margin-left: auto;
  }
  #klebstar-designer-app .preview-final-price {
    margin-left: auto;
  }
  #klebstar-designer-app .designer-coupon-controls {
    width: 100%;
  }
  #klebstar-designer-app .preview-footer .primary-button,
  #klebstar-designer-app .preview-footer .secondary-button {
    flex: 1;
  }
  #klebstar-designer-app .price-grid {
    grid-template-columns: 1fr;
  }
  #klebstar-designer-app .price-section h2 {
    font-size: 30px;
  }
  #klebstar-designer-app .how-section {
    padding: 68px 0;
  }
  #klebstar-designer-app .how-grid.four {
    grid-template-columns: 1fr;
  }
  #klebstar-designer-app footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
  }
  #klebstar-designer-app footer > span:last-child {
    width: 100%;
    margin-left: 0;
  }
  #klebstar-designer-app .checkout-overlay {
    padding: 0;
    display: block;
    overflow: hidden;
  }
  #klebstar-designer-app .checkout-modal {
    overscroll-behavior: contain;
    border-radius: 0;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    display: flex;
    overflow: hidden;
  }
  #klebstar-designer-app .checkout-progress {
    padding: 0 22px;
  }
  #klebstar-designer-app .checkout-layout {
    flex-direction: column;
    flex: 1;
    min-height: 0;
    display: flex;
    overflow-y: auto;
  }
  #klebstar-designer-app .checkout-layout.confirmation-layout {
    grid-template-rows: minmax(225px, 46dvh) minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    display: grid;
    overflow: hidden;
  }
  #klebstar-designer-app .order-preview {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  #klebstar-designer-app .prepared-order-preview {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-height: 0;
    padding: 12px 16px 10px;
    display: grid;
  }
  #klebstar-designer-app .prepared-order-preview .order-preview-title {
    margin: 0 44px 7px 0;
    font-size: 11px;
  }
  #klebstar-designer-app .prepared-preview-frame {
    border-radius: 11px;
    height: auto;
    min-height: 0;
  }
  #klebstar-designer-app .prepared-preview-frame img {
    object-fit: contain;
    width: auto;
    max-width: 96%;
    height: auto;
    max-height: clamp(135px, 46dvh - 90px, 300px);
  }
  #klebstar-designer-app .prepared-order-preview .order-summary-line {
    padding-top: 7px;
  }
  #klebstar-designer-app .prepared-order-preview .order-summary-line span {
    font-size: 10px;
  }
  #klebstar-designer-app .prepared-order-preview .order-summary-line b {
    font-size: 15px;
  }
  #klebstar-designer-app .prepared-order-preview > small {
    margin-top: 3px;
  }
  #klebstar-designer-app .order-sheet-frame {
    height: 210px;
  }
  #klebstar-designer-app .order-sheet-frame .paper-sheet.a5 {
    width: 125px;
  }
  #klebstar-designer-app .order-sheet-frame .paper-sheet.a4 {
    width: 140px;
  }
  #klebstar-designer-app .checkout-form {
    padding: 28px 20px 35px;
  }
  #klebstar-designer-app .checkout-form.confirmation-copy {
    height: 100%;
    min-height: 0;
    padding: 16px 16px calc(10px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    display: block;
    overflow-y: auto;
  }
  #klebstar-designer-app .confirmation-copy .eyebrow {
    margin: 0 0 5px;
    font-size: 8px;
  }
  #klebstar-designer-app .checkout-form.confirmation-copy h2 {
    padding-right: 34px;
    font-size: 22px;
  }
  #klebstar-designer-app .confirmation-copy .form-note {
    margin: 6px 0 10px;
    font-size: 10px;
    line-height: 1.45;
  }
  #klebstar-designer-app .confirmation-checklist {
    gap: 5px;
  }
  #klebstar-designer-app .confirmation-checklist li {
    gap: 7px;
    padding: 7px 9px;
    font-size: 9px;
  }
  #klebstar-designer-app .confirmation-checklist span {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  #klebstar-designer-app .confirmation-copy .total-line {
    margin-top: 10px;
    font-size: 11px;
  }
  #klebstar-designer-app .confirmation-copy .total-line b {
    font-size: 17px;
  }
  #klebstar-designer-app .form-grid {
    grid-template-columns: 1fr;
  }
  #klebstar-designer-app .checkout-label.wide {
    grid-column: auto;
  }
  #klebstar-designer-app .checkout-order-actions {
    grid-template-columns: 1fr;
  }
  #klebstar-designer-app .checkout-order-actions.three-actions {
    z-index: 3;
    bottom: calc(-10px - env(safe-area-inset-bottom));
    padding: 9px 4px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 11px -4px 0;
    position: sticky;
    box-shadow: 0 -9px 18px #241f2e14;
  }
  #klebstar-designer-app .three-actions .checkout-next {
    grid-column: 1/-1;
  }
  #klebstar-designer-app .checkout-order-actions .checkout-next,
  #klebstar-designer-app .checkout-order-actions .checkout-cart-action {
    height: 43px;
    min-height: 43px;
    padding: 0 8px;
    font-size: 9px;
  }
  #klebstar-designer-app .confirmation-copy .secure-note {
    margin: 7px 4px 0;
    font-size: 8px;
    line-height: 1.4;
  }
  #klebstar-designer-app .success-screen {
    padding: 70px 20px 30px;
  }
  #klebstar-designer-app .cart-design-browser {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
  }
  #klebstar-designer-app .cart-design-browser > button {
    width: 30px;
  }
  #klebstar-designer-app .cart-design-browser > div {
    grid-template-columns: 70px 1fr;
    gap: 9px;
  }
  #klebstar-designer-app .cart-design-browser img {
    width: 70px;
    height: 72px;
  }
  #klebstar-designer-app .cart-success-actions,
  #klebstar-designer-app .success-screen .order-preview.compact {
    display: grid;
  }
}
@media print {
  @page {
    margin: 0;
    size: auto;
  }
  #klebstar-designer-app body * {
    visibility: hidden !important;
  }
  #klebstar-designer-app .paper-stage,
  #klebstar-designer-app .paper-stage * {
    visibility: visible !important;
  }
  #klebstar-designer-app .paper-stage {
    place-items: center;
    padding: 0;
    display: grid;
    position: fixed;
    inset: 0;
    overflow: visible;
    background: #fff !important;
  }
  #klebstar-designer-app .paper-sheet {
    box-shadow: none;
    width: auto !important;
    height: auto !important;
  }
  #klebstar-designer-app .paper-sheet.a5 {
    width: 148mm !important;
    height: 210mm !important;
  }
  #klebstar-designer-app .paper-sheet.a4 {
    width: 210mm !important;
    height: 297mm !important;
  }
  #klebstar-designer-app .paper-sheet.canvas-bg-transparent,
  #klebstar-designer-app .paper-sheet.canvas-bg-white,
  #klebstar-designer-app .paper-sheet.canvas-bg-black,
  #klebstar-designer-app .paper-sheet.canvas-bg-checker {
    background: 0 0 !important;
  }
  #klebstar-designer-app .paper-info {
    display: none;
  }
  #klebstar-designer-app .canvas-element.selected {
    box-shadow: none;
    border-color: #0000;
    outline: 0;
  }
  #klebstar-designer-app .safe-area-guide,
  #klebstar-designer-app .selection-transform-box {
    display: none;
  }
}
/*$vite$:1*/
