/* Label designer — dark studio gallery + light editor. Minimal words, big visuals. */

.ldsStudio {
  background: radial-gradient(1200px 500px at 70% -10%, #10314d 0%, var(--navy) 55%);
  color: #eaf2f8;
  padding: 64px 0 72px;
}
.ldsH1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; margin: 0; letter-spacing: -0.02em; }
.ldsH1 span { color: var(--cyan); }
.ldsSub { margin: 14px 0 38px; color: #9fb4c6; font-size: 16px; }

.ldsGallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.ldsCard {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
}
.ldsCard svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .35);
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
  outline: 3px solid transparent;
  outline-offset: 3px;
  background: #fff;
}
.ldsCard:hover svg { transform: translateY(-4px); }
.ldsCard[aria-checked="true"] svg { outline-color: var(--cyan); }
.ldsCardName {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8ba1b5;
}
.ldsCard[aria-checked="true"] .ldsCardName { color: #eaf2f8; }

.ldsEditor { background: var(--wash); padding: 56px 0 72px; }
.ldsEditorGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}
.ldsPreviewCol { position: sticky; top: 24px; }
.ldsPreviewStage {
  background:
    linear-gradient(180deg, #f2f6fa 0%, #e6edf4 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(18px, 5vw, 56px);
  display: flex;
  justify-content: center;
}
.ldsPreviewCard { width: min(640px, 100%); }
.ldsPreviewCard svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(8, 31, 55, .22), 0 4px 14px rgba(8, 31, 55, .12);
}
.ldsPreviewMeta { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.ldsChip {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.ldsChip a { color: var(--blue); text-decoration: none; }

.ldsControls { display: flex; flex-direction: column; gap: 18px; }
.ldsField > span {
  display: block;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.ldsField input[type="text"], .ldsField select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
}
.ldsField input[type="text"]:focus, .ldsField select:focus { outline: 2px solid var(--cyan); border-color: transparent; }

.ldsUploadBox {
  display: block;
  border: 1.5px dashed #b9c9d8;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
  transition: border-color .15s ease;
}
.ldsUploadBox small { display: block; color: var(--muted); margin-top: 3px; letter-spacing: .04em; }
.ldsUploadBox:hover { border-color: var(--cyan); }
.ldsUploadBox.hasLogo { border-style: solid; border-color: var(--green); color: var(--green); }

.ldsChips { display: flex; flex-wrap: wrap; gap: 8px; }
.ldsChips button {
  font: inherit;
  font-size: 13.5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.ldsChips button[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.ldsSwatches { display: flex; gap: 10px; }
.ldsSwatches button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
}
.ldsSwatches button[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--cyan); }

.ldsActions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ldsActions .btn { text-align: center; }
.ldsFine { font-size: 12px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }

.ldsFoot { background: var(--navy); color: #8ba1b5; font-size: 13px; padding: 22px 0; }
.ldsFoot .wrap { display: flex; gap: 22px; align-items: center; }
.ldsFoot a { color: #b9cbdb; text-decoration: none; }

@media (max-width: 900px) {
  .ldsEditorGrid { grid-template-columns: 1fr; gap: 28px; }
  .ldsPreviewCol { position: static; }
  .ldsStudio { padding: 44px 0 52px; }
  .ldsGallery { grid-template-columns: 1fr; gap: 22px; }
}
.ldsSwatches.isDisabled { opacity: .55; }
.ldsSwatchNote { font-size: .82rem; color: #8fa0b0; }
.ldsQrHint { flex-basis: 100%; font-size: .8rem; color: #8fa0b0; margin-top: 2px; }
#lds-canvas-field { order: -1; }
.ldsPreviewCard.canvasClick { cursor: pointer; }
.ldsPreviewCard.canvasClick:hover svg { outline: 3px solid rgba(37, 99, 168, .35); outline-offset: 3px; border-radius: 6px; }
.ldsSheet { padding: 34px 0 60px; }
.ldsSheetH { color: #eaf2f8; margin: 0 0 6px; }
.ldsSheetList { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.ldsSheetItem { background: #0f2338; border: 1px solid #1e3a55; border-radius: 12px; padding: 10px; position: relative; }
.ldsSheetItem svg { width: 100%; height: auto; display: block; border-radius: 4px; background: #fff; }
.ldsSheetItem b { display: block; color: #cfe0ef; font-size: .82rem; margin-top: 8px; font-weight: 650; }
.ldsSheetItem small { color: #8fa5bd; font-size: .74rem; }
.ldsSheetItem .ldsSheetDel { position: absolute; top: 6px; right: 6px; border: 0; background: rgba(10,24,40,.85); color: #cfe0ef; border-radius: 8px; width: 24px; height: 24px; cursor: pointer; font-size: 14px; line-height: 1; }
.ldsSheetItem .ldsSheetDel:hover { background: #7a1f2b; color: #fff; }
.ldsCrop { margin-top: 10px; }
.ldsCropStage { position: relative; display: inline-block; max-width: 100%; user-select: none; touch-action: none; }
.ldsCropStage img { max-width: 100%; max-height: 190px; display: block; border-radius: 8px; border: 1px solid #2c4560; pointer-events: none; }
.ldsCropRect { position: absolute; border: 2px solid #35b7ff; background: rgba(53, 183, 255, .18); pointer-events: none; border-radius: 2px; }
.ldsSwatchMine { outline: 2px dashed rgba(53, 183, 255, .8); outline-offset: 2px; }
.ldsSwatchReset { border: 1px solid #2c4560; background: #0f2338; color: #cfe0ef; border-radius: 10px; padding: 4px 10px; font-size: .78rem; cursor: pointer; }
.ldsSwatchReset:hover { border-color: #35b7ff; }
.ldsBrand { padding: 40px 0 8px; }
.ldsBrandGrid { display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr; gap: 18px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .ldsBrandGrid { grid-template-columns: 1fr; } }
.ldsStep { margin: 0 0 8px; color: #35b7ff; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ldsEditor > .wrap:first-child { padding-top: 26px; }

/* --- SEO landing sections (index launch) --- */
.ldsLead { color: #3d4a58; font-size: 17px; margin: 14px 0 6px; max-width: 780px; }
.ldsIntro { margin: 6px 0 18px; max-width: 780px; }
.ldsCtas { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 34px; }
.ldsBrand .ldsStep { margin-top: 10px; }
.ldsSeoBlock { padding: 56px 0; background: var(--wash); border-top: 1px solid #e3eaf1; }
.ldsSeoBlock h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; }
.ldsSeoP { color: #3d4a58; max-width: 820px; margin: 0 0 24px; }
.ldsSeoLinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ldsSeoLinks a { display: block; background: #fff; border: 1px solid #dfe7ee; border-radius: 12px; padding: 16px; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.ldsSeoLinks a:hover { border-color: #35b7ff; transform: translateY(-2px); }
.ldsSeoLinks b { display: block; margin-bottom: 6px; color: #16324f; }
.ldsSeoLinks span { font-size: .88rem; color: #5c6a79; line-height: 1.45; }
.ldsSeoTeaser { margin-top: 26px; background: #0f2338; color: #cfe0ef; border-radius: 14px; padding: 18px 20px; max-width: 820px; }
.ldsSeoTeaser b { color: #eaf2f8; }
.ldsSeoTeaser p { margin: 6px 0 10px; color: #9fb4c6; }
.ldsSeoTeaser a { color: #35b7ff; text-decoration: none; font-weight: 650; }
.ldsFaq { background: #fff; }
.ldsFaq dl { max-width: 860px; margin: 18px 0 0; }
.ldsFaq dt { font-weight: 750; color: #16324f; margin: 22px 0 6px; font-size: 1.02rem; }
.ldsFaq dd { margin: 0; color: #3d4a58; line-height: 1.6; }
